v20180525

package
v1.0.926 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 21, 2024 License: Apache-2.0 Imports: 7 Imported by: 18

Documentation

Index

Constants

View Source
const (

	// CAM签名/鉴权错误。
	AUTHFAILURE = "AuthFailure"

	// 操作失败。
	FAILEDOPERATION = "FailedOperation"

	// 获取用户认证信息失败。
	FAILEDOPERATION_ACCOUNTCOMMON = "FailedOperation.AccountCommon"

	// 账户未通过认证。
	FAILEDOPERATION_ACCOUNTUSERNOTAUTHENTICATED = "FailedOperation.AccountUserNotAuthenticated"

	// 伸缩组资源创建报错。
	FAILEDOPERATION_ASCOMMON = "FailedOperation.AsCommon"

	// CVM未知错误。
	FAILEDOPERATION_CVMUNEXPECTEDERROR = "FailedOperation.CVMUnexpectedError"

	// 无该接口CAM权限。
	FAILEDOPERATION_CAMNOAUTH = "FailedOperation.CamNoAuth"

	// 集群禁止删除。
	FAILEDOPERATION_CLUSTERFORBIDDENTODELETE = "FailedOperation.ClusterForbiddenToDelete"

	// 集群未找到。
	FAILEDOPERATION_CLUSTERNOTFOUND = "FailedOperation.ClusterNotFound"

	// 集群状态错误。
	FAILEDOPERATION_CLUSTERSTATE = "FailedOperation.ClusterState"

	// 集群节点版本过低。
	FAILEDOPERATION_CLUSTERUPGRADENODEVERSION = "FailedOperation.ClusterUpgradeNodeVersion"

	// 内部Client错误。
	FAILEDOPERATION_COMPONENTCLIENTCOMMON = "FailedOperation.ComponentClientCommon"

	// 内部HTTP客户端错误。
	FAILEDOPERATION_COMPONENTCLIENTHTTP = "FailedOperation.ComponentClientHttp"

	// 内部HTTP解包失败。
	FAILEDOPERATION_COMPONENTCLIENTUNPACK = "FailedOperation.ComponentClientUnpack"

	// 请求(http请求)其他云服务失败。
	FAILEDOPERATION_COMPONENTCLINETHTTP = "FailedOperation.ComponentClinetHttp"

	// 创建CLS客户端失败。
	FAILEDOPERATION_CREATECLSCLIENT = "FailedOperation.CreateClsClient"

	// 创建CLS采集配置失败。
	FAILEDOPERATION_CREATECLSCONFIG = "FailedOperation.CreateClsConfig"

	// 创建CLS索引失败。
	FAILEDOPERATION_CREATECLSINDEX = "FailedOperation.CreateClsIndex"

	// 创建CLS日志集失败。
	FAILEDOPERATION_CREATECLSLOGSET = "FailedOperation.CreateClsLogSet"

	// 创建CLS机器组失败。
	FAILEDOPERATION_CREATECLSMACHINEGROUP = "FailedOperation.CreateClsMachineGroup"

	// 创建 CLS 主题失败。
	FAILEDOPERATION_CREATECLSTOPIC = "FailedOperation.CreateClsTopic"

	// cvm创建节点报错。
	FAILEDOPERATION_CVMCOMMON = "FailedOperation.CvmCommon"

	// 存在云服务器在CVM侧查询不到。
	FAILEDOPERATION_CVMNUMBERNOTMATCH = "FailedOperation.CvmNumberNotMatch"

	// CVM 和 VPC ID 不匹配。
	FAILEDOPERATION_CVMVPCIDNOTMATCH = "FailedOperation.CvmVpcidNotMatch"

	// db错误。
	FAILEDOPERATION_DB = "FailedOperation.Db"

	// 记录未找到。
	FAILEDOPERATION_DBRECORDNOTFOUND = "FailedOperation.DbRecordNotFound"

	// 获得安全组配额失败。
	FAILEDOPERATION_DFWGETUSGQUOTA = "FailedOperation.DfwGetUSGQuota"

	// 集群关闭 VPC-CNI 模式失败。
	FAILEDOPERATION_DISABLEVPCCNIFAILED = "FailedOperation.DisableVPCCNIFailed"

	// 开启 VPC-CNI 模式失败。
	FAILEDOPERATION_ENABLEVPCCNIFAILED = "FailedOperation.EnableVPCCNIFailed"

	// 获取CLS采集配置失败。
	FAILEDOPERATION_GETCLSCONFIG = "FailedOperation.GetClsConfig"

	// 获取CLS采集配置绑定的机器组失败。
	FAILEDOPERATION_GETCLSCONFIGMACHINEGROUPS = "FailedOperation.GetClsConfigMachineGroups"

	// 获取CLS索引配置失败。
	FAILEDOPERATION_GETCLSINDEX = "FailedOperation.GetClsIndex"

	// 查询主题集失败。
	FAILEDOPERATION_GETCLSLOGSET = "FailedOperation.GetClsLogSet"

	// 获取CLS机器组失败。
	FAILEDOPERATION_GETCLSMACHINEGROUP = "FailedOperation.GetClsMachineGroup"

	// 获取CLS机器组绑定的采集配置失败。
	FAILEDOPERATION_GETCLSMACHINEGROUPCONFIGS = "FailedOperation.GetClsMachineGroupConfigs"

	// 获取CLS日志主题失败。
	FAILEDOPERATION_GETCLSTOPIC = "FailedOperation.GetClsTopic"

	// Kubernetes client建立失败。
	FAILEDOPERATION_K8SCLIENTBUILDERROR = "FailedOperation.K8sClientBuildError"

	// 通过配置文件创建集群Client错误。
	FAILEDOPERATION_KUBECLIENTCONF = "FailedOperation.KubeClientConf"

	// 连接用户Kubernetes集群失败。
	FAILEDOPERATION_KUBECLIENTCONNECTION = "FailedOperation.KubeClientConnection"

	// KubernetesAPI错误。
	FAILEDOPERATION_KUBECOMMON = "FailedOperation.KubeCommon"

	// Kubernetes client建立失败。
	FAILEDOPERATION_KUBERNETESCLIENTBUILDERROR = "FailedOperation.KubernetesClientBuildError"

	// 创建集群Client出错。
	FAILEDOPERATION_KUBERNETESCREATEOPERATIONERROR = "FailedOperation.KubernetesCreateOperationError"

	// Kubernetes Delete 操作错误。
	FAILEDOPERATION_KUBERNETESDELETEOPERATIONERROR = "FailedOperation.KubernetesDeleteOperationError"

	// 获取Kubernetes资源失败。
	FAILEDOPERATION_KUBERNETESGETOPERATIONERROR = "FailedOperation.KubernetesGetOperationError"

	// Kubernetes未知错误。
	FAILEDOPERATION_KUBERNETESINTERNAL = "FailedOperation.KubernetesInternal"

	// 获取Kubernetes资源列表失败。
	FAILEDOPERATION_KUBERNETESLISTOPERATIONERROR = "FailedOperation.KubernetesListOperationError"

	// Kubernetes patch 操作失败。
	FAILEDOPERATION_KUBERNETESPATCHOPERATIONERROR = "FailedOperation.KubernetesPatchOperationError"

	// 底层调用CLB未知错误。
	FAILEDOPERATION_LBCOMMON = "FailedOperation.LbCommon"

	// 获取集群认证信息失败。
	FAILEDOPERATION_MARKETGETAUTHFAILED = "FailedOperation.MarketGetAuthFailed"

	// 操作应用Release失败。
	FAILEDOPERATION_MARKETRELEASEOPERATION = "FailedOperation.MarketReleaseOperation"

	// 修改CLS采集配置失败。
	FAILEDOPERATION_MODIFYCLSCONFIG = "FailedOperation.ModifyClsConfig"

	// 修改CLS索引失败。
	FAILEDOPERATION_MODIFYCLSINDEX = "FailedOperation.ModifyClsIndex"

	// 修改CLS日志主题失败。
	FAILEDOPERATION_MODIFYCLSTOPIC = "FailedOperation.ModifyClsTopic"

	// 网络扩展错误。
	FAILEDOPERATION_NETWORKSCALEERROR = "FailedOperation.NetworkScaleError"

	// 节点存在辅助网卡
	FAILEDOPERATION_NODEEXISTSSECONDARYNETWORKINTERFACE = "FailedOperation.NodeExistsSecondaryNetworkInterface"

	// 镜像OS不支持。
	FAILEDOPERATION_OSNOTSUPPORT = "FailedOperation.OsNotSupport"

	// 参数错误。
	FAILEDOPERATION_PARAM = "FailedOperation.Param"

	// gpe错误。
	FAILEDOPERATION_POLICYSERVERCOMMONERROR = "FailedOperation.PolicyServerCommonError"

	// 超过配额限制。
	FAILEDOPERATION_QUOTAMAXCLSLIMIT = "FailedOperation.QuotaMaxClsLimit"

	// 超过配额限制。
	FAILEDOPERATION_QUOTAMAXNODLIMIT = "FailedOperation.QuotaMaxNodLimit"

	// 安全组配额不足。
	FAILEDOPERATION_QUOTAUSGLIMIT = "FailedOperation.QuotaUSGLimit"

	// 子账户RBAC权限不足。
	FAILEDOPERATION_RBACFORBIDDEN = "FailedOperation.RBACForbidden"

	// 记录没有发现。
	FAILEDOPERATION_RECORDNOTFOUND = "FailedOperation.RecordNotFound"

	// tag错误
	FAILEDOPERATION_TAGCOMMON = "FailedOperation.TagCommon"

	// 已有相同任务执行中。
	FAILEDOPERATION_TASKALREADYRUNNING = "FailedOperation.TaskAlreadyRunning"

	// 任务当前所处状态不支持此操作。
	FAILEDOPERATION_TASKLIFESTATEERROR = "FailedOperation.TaskLifeStateError"

	// 询价错误。
	FAILEDOPERATION_TRADECOMMON = "FailedOperation.TradeCommon"

	// 不可预知的错误。
	FAILEDOPERATION_UNEXPECTEDERROR = "FailedOperation.UnexpectedError"

	// VPC未知错误。
	FAILEDOPERATION_VPCUNEXPECTEDERROR = "FailedOperation.VPCUnexpectedError"

	// VPC报错。
	FAILEDOPERATION_VPCCOMMON = "FailedOperation.VpcCommon"

	// 未发现vpc记录。
	FAILEDOPERATION_VPCRECODRNOTFOUND = "FailedOperation.VpcRecodrNotFound"

	// 白名单错误。
	FAILEDOPERATION_WHITELISTUNEXPECTEDERROR = "FailedOperation.WhitelistUnexpectedError"

	// 内部错误。
	INTERNALERROR = "InternalError"

	// 获取用户认证信息失败。
	INTERNALERROR_ACCOUNTCOMMON = "InternalError.AccountCommon"

	// 账户未通过认证。
	INTERNALERROR_ACCOUNTUSERNOTAUTHENTICATED = "InternalError.AccountUserNotAuthenticated"

	// 伸缩组资源创建报错。
	INTERNALERROR_ASCOMMON = "InternalError.AsCommon"

	// 没有权限。
	INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth"

	// CIDR和其他集群CIDR冲突。
	INTERNALERROR_CIDRCONFLICTWITHOTHERCLUSTER = "InternalError.CidrConflictWithOtherCluster"

	// CIDR和其他路由冲突。
	INTERNALERROR_CIDRCONFLICTWITHOTHERROUTE = "InternalError.CidrConflictWithOtherRoute"

	// CIDR和vpc冲突。
	INTERNALERROR_CIDRCONFLICTWITHVPCCIDR = "InternalError.CidrConflictWithVpcCidr"

	// CIDR和全局路由冲突。
	INTERNALERROR_CIDRCONFLICTWITHVPCGLOBALROUTE = "InternalError.CidrConflictWithVpcGlobalRoute"

	// CIDR无效。
	INTERNALERROR_CIDRINVALI = "InternalError.CidrInvali"

	// CIDR掩码无效。
	INTERNALERROR_CIDRMASKSIZEOUTOFRANGE = "InternalError.CidrMaskSizeOutOfRange"

	// CIDR不在路由表之内。
	INTERNALERROR_CIDROUTOFROUTETABLE = "InternalError.CidrOutOfRouteTable"

	// 集群未找到。
	INTERNALERROR_CLUSTERNOTFOUND = "InternalError.ClusterNotFound"

	// 集群状态错误。
	INTERNALERROR_CLUSTERSTATE = "InternalError.ClusterState"

	// 集群节点版本过低。
	INTERNALERROR_CLUSTERUPGRADENODEVERSION = "InternalError.ClusterUpgradeNodeVersion"

	// 执行命令超时。
	INTERNALERROR_CMDTIMEOUT = "InternalError.CmdTimeout"

	// 内部HTTP客户端错误。
	INTERNALERROR_COMPONENTCLIENTHTTP = "InternalError.ComponentClientHttp"

	// 请求(http请求)其他云服务失败。
	INTERNALERROR_COMPONENTCLINETHTTP = "InternalError.ComponentClinetHttp"

	// 容器未找到。
	INTERNALERROR_CONTAINERNOTFOUND = "InternalError.ContainerNotFound"

	// 创建集群失败。
	INTERNALERROR_CREATEMASTERFAILED = "InternalError.CreateMasterFailed"

	// cvm创建节点报错。
	INTERNALERROR_CVMCOMMON = "InternalError.CvmCommon"

	// cvm不存在。
	INTERNALERROR_CVMNOTFOUND = "InternalError.CvmNotFound"

	// 存在云服务器在CVM侧查询不到。
	INTERNALERROR_CVMNUMBERNOTMATCH = "InternalError.CvmNumberNotMatch"

	// cvm状态不正常。
	INTERNALERROR_CVMSTATUS = "InternalError.CvmStatus"

	// db错误。
	INTERNALERROR_DB = "InternalError.Db"

	// DB错误。
	INTERNALERROR_DBAFFECTIVEDROWS = "InternalError.DbAffectivedRows"

	// 记录未找到。
	INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound"

	// 获得当前安全组总数失败。
	INTERNALERROR_DFWGETUSGCOUNT = "InternalError.DfwGetUSGCount"

	// 获得安全组配额失败。
	INTERNALERROR_DFWGETUSGQUOTA = "InternalError.DfwGetUSGQuota"

	// 不支持空集群。
	INTERNALERROR_EMPTYCLUSTERNOTSUPPORT = "InternalError.EmptyClusterNotSupport"

	// 下一跳地址已关联CIDR。
	INTERNALERROR_GATEWAYALREADYASSOCIATEDCIDR = "InternalError.GatewayAlreadyAssociatedCidr"

	// 镜像未找到。
	INTERNALERROR_IMAGEIDNOTFOUND = "InternalError.ImageIdNotFound"

	// 初始化master失败。
	INTERNALERROR_INITMASTERFAILED = "InternalError.InitMasterFailed"

	// 余额不足。
	INTERNALERROR_INSUFFICIENTBALANCE = "InternalError.InsufficientBalance"

	// 无效CIDR。
	INTERNALERROR_INVALIDPRIVATENETWORKCIDR = "InternalError.InvalidPrivateNetworkCidr"

	// 连接用户Kubernetes集群失败。
	INTERNALERROR_KUBECLIENTCONNECTION = "InternalError.KubeClientConnection"

	// 创建集群Client出错。
	INTERNALERROR_KUBECLIENTCREATE = "InternalError.KubeClientCreate"

	// KubernetesAPI错误。
	INTERNALERROR_KUBECOMMON = "InternalError.KubeCommon"

	// kubernetes client建立失败。
	INTERNALERROR_KUBERNETESCLIENTBUILDERROR = "InternalError.KubernetesClientBuildError"

	// 创建Kubernetes资源失败。
	INTERNALERROR_KUBERNETESCREATEOPERATIONERROR = "InternalError.KubernetesCreateOperationError"

	// 删除Kubernetes资源失败。
	INTERNALERROR_KUBERNETESDELETEOPERATIONERROR = "InternalError.KubernetesDeleteOperationError"

	// 获取Kubernetes资源失败。
	INTERNALERROR_KUBERNETESGETOPERATIONERROR = "InternalError.KubernetesGetOperationError"

	// Kubernetes未知错误。
	INTERNALERROR_KUBERNETESINTERNAL = "InternalError.KubernetesInternal"

	// 获取Kubernetes资源列表失败。
	INTERNALERROR_KUBERNETESLISTOPERATIONERROR = "InternalError.KubernetesListOperationError"

	// Kubernetes Patch操作失败。
	INTERNALERROR_KUBERNETESPATCHOPERATIONERROR = "InternalError.KubernetesPatchOperationError"

	// 底层调用CLB未知错误。
	INTERNALERROR_LBCOMMON = "InternalError.LbCommon"

	// 获取集群认证信息失败。
	INTERNALERROR_MARKETGETAUTHFAILED = "InternalError.MarketGetAuthFailed"

	// 应用市场服务操作错误。
	INTERNALERROR_MARKETINTERNALSERVERERROR = "InternalError.MarketInternalServerError"

	// 操作应用Release失败。
	INTERNALERROR_MARKETRELEASEOPERATION = "InternalError.MarketReleaseOperation"

	// 无支付权限。
	INTERNALERROR_NOPAYMENTACCESS = "InternalError.NoPaymentAccess"

	// 未实名认证。
	INTERNALERROR_NOTVERIFIED = "InternalError.NotVerified"

	// 镜像OS不支持。
	INTERNALERROR_OSNOTSUPPORT = "InternalError.OsNotSupport"

	// Param。
	INTERNALERROR_PARAM = "InternalError.Param"

	// Pod未找到。
	INTERNALERROR_PODNOTFOUND = "InternalError.PodNotFound"

	// 集群不支持当前操作。
	INTERNALERROR_PUBLICCLUSTEROPNOTSUPPORT = "InternalError.PublicClusterOpNotSupport"

	// 超过配额限制。
	INTERNALERROR_QUOTAMAXCLSLIMIT = "InternalError.QuotaMaxClsLimit"

	// 超过配额限制。
	INTERNALERROR_QUOTAMAXNODLIMIT = "InternalError.QuotaMaxNodLimit"

	// 超过配额限制。
	INTERNALERROR_QUOTAMAXRTLIMIT = "InternalError.QuotaMaxRtLimit"

	// 安全组配额不足。
	INTERNALERROR_QUOTAUSGLIMIT = "InternalError.QuotaUSGLimit"

	// 资源已存在。
	INTERNALERROR_RESOURCEEXISTALREADY = "InternalError.ResourceExistAlready"

	// 路由表非空。
	INTERNALERROR_ROUTETABLENOTEMPTY = "InternalError.RouteTableNotEmpty"

	// 路由表不存在。
	INTERNALERROR_ROUTETABLENOTFOUND = "InternalError.RouteTableNotFound"

	// 已有相同任务执行中。
	INTERNALERROR_TASKALREADYRUNNING = "InternalError.TaskAlreadyRunning"

	// 创建任务失败。
	INTERNALERROR_TASKCREATEFAILED = "InternalError.TaskCreateFailed"

	// 任务当前所处状态不支持此操作。
	INTERNALERROR_TASKLIFESTATEERROR = "InternalError.TaskLifeStateError"

	// 任务未找到。
	INTERNALERROR_TASKNOTFOUND = "InternalError.TaskNotFound"

	// 计费错误。
	INTERNALERROR_TRADECOMMON = "InternalError.TradeCommon"

	// 账户余额不足。
	INTERNALERROR_TRADEINSUFFICIENTBALANCE = "InternalError.TradeInsufficientBalance"

	// 内部错误。
	INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal"

	// 未知的内部错误。
	INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"

	// VPC未知错误。
	INTERNALERROR_VPCUNEXPECTEDERROR = "InternalError.VPCUnexpectedError"

	// VPC报错。
	INTERNALERROR_VPCCOMMON = "InternalError.VpcCommon"

	// 对等连接不存在。
	INTERNALERROR_VPCPEERNOTFOUND = "InternalError.VpcPeerNotFound"

	// 未发现vpc记录。
	INTERNALERROR_VPCRECODRNOTFOUND = "InternalError.VpcRecodrNotFound"

	// VstationError。
	INTERNALERROR_VSTATIONERROR = "InternalError.VstationError"

	// 白名单未知错误。
	INTERNALERROR_WHITELISTUNEXPECTEDERROR = "InternalError.WhitelistUnexpectedError"

	// 参数错误。
	INVALIDPARAMETER = "InvalidParameter"

	// 弹性伸缩组创建参数错误。
	INVALIDPARAMETER_ASCOMMONERROR = "InvalidParameter.AsCommonError"

	// CIDR掩码超出范围(集群CIDR范围 最小值: 10 最大值: 24)。
	INVALIDPARAMETER_CIDRMASKSIZEOUTOFRANGE = "InvalidParameter.CIDRMaskSizeOutOfRange"

	// CIDR和其他集群CIDR冲突。
	INVALIDPARAMETER_CIDRCONFLICTWITHOTHERCLUSTER = "InvalidParameter.CidrConflictWithOtherCluster"

	// 创建的路由与已存在的其他路由产生冲突。
	INVALIDPARAMETER_CIDRCONFLICTWITHOTHERROUTE = "InvalidParameter.CidrConflictWithOtherRoute"

	// CIDR和vpc的CIDR冲突。
	INVALIDPARAMETER_CIDRCONFLICTWITHVPCCIDR = "InvalidParameter.CidrConflictWithVpcCidr"

	// 创建的路由与VPC下已存在的全局路由产生冲突。
	INVALIDPARAMETER_CIDRCONFLICTWITHVPCGLOBALROUTE = "InvalidParameter.CidrConflictWithVpcGlobalRoute"

	// CIDR无效。
	INVALIDPARAMETER_CIDRINVALI = "InvalidParameter.CidrInvali"

	// 参数错误,CIDR不符合规范。
	INVALIDPARAMETER_CIDRINVALID = "InvalidParameter.CidrInvalid"

	// CIDR不在路由表之内。
	INVALIDPARAMETER_CIDROUTOFROUTETABLE = "InvalidParameter.CidrOutOfRouteTable"

	// 集群ID不存在。
	INVALIDPARAMETER_CLUSTERNOTFOUND = "InvalidParameter.ClusterNotFound"

	// 下一跳地址已关联CIDR。
	INVALIDPARAMETER_GATEWAYALREADYASSOCIATEDCIDR = "InvalidParameter.GatewayAlreadyAssociatedCidr"

	// 无效的私有CIDR网段。
	INVALIDPARAMETER_INVALIDPRIVATENETWORKCIDR = "InvalidParameter.InvalidPrivateNetworkCIDR"

	// 镜像OS不支持。
	INVALIDPARAMETER_OSNOTSUPPORT = "InvalidParameter.OsNotSupport"

	// 参数错误。
	INVALIDPARAMETER_PARAM = "InvalidParameter.Param"

	// Prometheus未关联本集群。
	INVALIDPARAMETER_PROMCLUSTERNOTFOUND = "InvalidParameter.PromClusterNotFound"

	// Prometheus实例不存在。
	INVALIDPARAMETER_PROMINSTANCENOTFOUND = "InvalidParameter.PromInstanceNotFound"

	// 资源未找到。
	INVALIDPARAMETER_RESOURCENOTFOUND = "InvalidParameter.ResourceNotFound"

	// 路由表非空。
	INVALIDPARAMETER_ROUTETABLENOTEMPTY = "InvalidParameter.RouteTableNotEmpty"

	// 子网不合法。
	INVALIDPARAMETER_SUBNETINVALIDERROR = "InvalidParameter.SubnetInvalidError"

	// 子网不存在。
	INVALIDPARAMETER_SUBNETNOTEXIST = "InvalidParameter.SubnetNotExist"

	// 超过配额限制。
	LIMITEXCEEDED = "LimitExceeded"

	// 缺少参数错误。
	MISSINGPARAMETER = "MissingParameter"

	// 操作被拒绝。
	OPERATIONDENIED = "OperationDenied"

	// 集群处于删除保护中,禁止删除。
	OPERATIONDENIED_CLUSTERINDELETIONPROTECTION = "OperationDenied.ClusterInDeletionProtection"

	// 资源被占用。
	RESOURCEINUSE = "ResourceInUse"

	// 存在运行中的Pod。
	RESOURCEINUSE_EXISTRUNNINGPOD = "ResourceInUse.ExistRunningPod"

	// 资源已存在。
	RESOURCEINUSE_RESOURCEEXISTALREADY = "ResourceInUse.ResourceExistAlready"

	// 所选子网已存在。
	RESOURCEINUSE_SUBNETALREADYEXIST = "ResourceInUse.SubnetAlreadyExist"

	// 资源不足。
	RESOURCEINSUFFICIENT = "ResourceInsufficient"

	// CVM资源不足。
	RESOURCEINSUFFICIENT_SPECIFIEDINSTANCETYPE = "ResourceInsufficient.SpecifiedInstanceType"

	// 资源不存在。
	RESOURCENOTFOUND = "ResourceNotFound"

	// 伸缩组不存在。
	RESOURCENOTFOUND_ASASGNOTEXIST = "ResourceNotFound.AsAsgNotExist"

	// 集群不存在。
	RESOURCENOTFOUND_CLUSTERNOTFOUND = "ResourceNotFound.ClusterNotFound"

	// 用户Kubernetes集群中未找到指定资源。
	RESOURCENOTFOUND_KUBERESOURCENOTFOUND = "ResourceNotFound.KubeResourceNotFound"

	// 未找到该kubernetes资源。
	RESOURCENOTFOUND_KUBERNETESRESOURCENOTFOUND = "ResourceNotFound.KubernetesResourceNotFound"

	// 资源未找到。
	RESOURCENOTFOUND_NOTFOUND = "ResourceNotFound.NotFound"

	// 找不到对应路由表。
	RESOURCENOTFOUND_ROUTETABLENOTFOUND = "ResourceNotFound.RouteTableNotFound"

	// 资源不可用。
	RESOURCEUNAVAILABLE = "ResourceUnavailable"

	// 集群状态异常。
	RESOURCEUNAVAILABLE_CLUSTERINABNORMALSTAT = "ResourceUnavailable.ClusterInAbnormalStat"

	// 集群状态不支持该操作。
	RESOURCEUNAVAILABLE_CLUSTERSTATE = "ResourceUnavailable.ClusterState"

	// Eks Container Instance状态不支持改操作。
	RESOURCEUNAVAILABLE_EKSCONTAINERSTATUS = "ResourceUnavailable.EksContainerStatus"

	// 节点池状态不正常。
	RESOURCEUNAVAILABLE_NODEPOOLSTATENOTNORMAL = "ResourceUnavailable.NodePoolStateNotNormal"

	// 资源售罄。
	RESOURCESSOLDOUT = "ResourcesSoldOut"

	// 未授权操作。
	UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

	// 无该接口CAM权限。
	UNAUTHORIZEDOPERATION_CAMNOAUTH = "UnauthorizedOperation.CamNoAuth"

	// 未知参数错误。
	UNKNOWNPARAMETER = "UnknownParameter"

	// 操作不支持。
	UNSUPPORTEDOPERATION = "UnsupportedOperation"

	// AS伸缩关闭导致无法开启CA。
	UNSUPPORTEDOPERATION_CAENABLEFAILED = "UnsupportedOperation.CaEnableFailed"

	// 集群不支持添加 ClusterCIDR。
	UNSUPPORTEDOPERATION_CLUSTERNOTSUITADDCLUSTERCIDR = "UnsupportedOperation.ClusterNotSuitAddClusterCIDR"

	// 集群不支持开启 VPC-CNI 模式。
	UNSUPPORTEDOPERATION_CLUSTERNOTSUITENABLEVPCCNI = "UnsupportedOperation.ClusterNotSuitEnableVPCCNI"

	// 非白名单用户。
	UNSUPPORTEDOPERATION_NOTINWHITELIST = "UnsupportedOperation.NotInWhitelist"

	// 不支持安装虚拟节点。
	UNSUPPORTEDOPERATION_NOTSUPPORTINSTALLVIRTUALKUBELET = "UnsupportedOperation.NotSupportInstallVirtualKubelet"
)
View Source
const APIVersion = "2018-05-25"

Variables

This section is empty.

Functions

This section is empty.

Types

type AcquireClusterAdminRoleRequest

type AcquireClusterAdminRoleRequest struct {
	*tchttp.BaseRequest

	// 集群ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
}

func NewAcquireClusterAdminRoleRequest

func NewAcquireClusterAdminRoleRequest() (request *AcquireClusterAdminRoleRequest)

func (*AcquireClusterAdminRoleRequest) FromJsonString

func (r *AcquireClusterAdminRoleRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*AcquireClusterAdminRoleRequest) ToJsonString

func (r *AcquireClusterAdminRoleRequest) ToJsonString() string

type AcquireClusterAdminRoleRequestParams added in v1.0.426

type AcquireClusterAdminRoleRequestParams struct {
	// 集群ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
}

Predefined struct for user

type AcquireClusterAdminRoleResponse

type AcquireClusterAdminRoleResponse struct {
	*tchttp.BaseResponse
	Response *AcquireClusterAdminRoleResponseParams `json:"Response"`
}

func NewAcquireClusterAdminRoleResponse

func NewAcquireClusterAdminRoleResponse() (response *AcquireClusterAdminRoleResponse)

func (*AcquireClusterAdminRoleResponse) FromJsonString

func (r *AcquireClusterAdminRoleResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*AcquireClusterAdminRoleResponse) ToJsonString

func (r *AcquireClusterAdminRoleResponse) ToJsonString() string

type AcquireClusterAdminRoleResponseParams added in v1.0.426

type AcquireClusterAdminRoleResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type AddClusterCIDRRequest added in v1.0.214

type AddClusterCIDRRequest struct {
	*tchttp.BaseRequest

	// 集群ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// 增加的ClusterCIDR
	ClusterCIDRs []*string `json:"ClusterCIDRs,omitnil,omitempty" name:"ClusterCIDRs"`

	// 是否忽略ClusterCIDR与VPC路由表的冲突
	IgnoreClusterCIDRConflict *bool `json:"IgnoreClusterCIDRConflict,omitnil,omitempty" name:"IgnoreClusterCIDRConflict"`
}

func NewAddClusterCIDRRequest added in v1.0.214

func NewAddClusterCIDRRequest() (request *AddClusterCIDRRequest)

func (*AddClusterCIDRRequest) FromJsonString added in v1.0.214

func (r *AddClusterCIDRRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*AddClusterCIDRRequest) ToJsonString added in v1.0.214

func (r *AddClusterCIDRRequest) ToJsonString() string

type AddClusterCIDRRequestParams added in v1.0.426

type AddClusterCIDRRequestParams struct {
	// 集群ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// 增加的ClusterCIDR
	ClusterCIDRs []*string `json:"ClusterCIDRs,omitnil,omitempty" name:"ClusterCIDRs"`

	// 是否忽略ClusterCIDR与VPC路由表的冲突
	IgnoreClusterCIDRConflict *bool `json:"IgnoreClusterCIDRConflict,omitnil,omitempty" name:"IgnoreClusterCIDRConflict"`
}

Predefined struct for user

type AddClusterCIDRResponse added in v1.0.214

type AddClusterCIDRResponse struct {
	*tchttp.BaseResponse
	Response *AddClusterCIDRResponseParams `json:"Response"`
}

func NewAddClusterCIDRResponse added in v1.0.214

func NewAddClusterCIDRResponse() (response *AddClusterCIDRResponse)

func (*AddClusterCIDRResponse) FromJsonString added in v1.0.214

func (r *AddClusterCIDRResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*AddClusterCIDRResponse) ToJsonString added in v1.0.214

func (r *AddClusterCIDRResponse) ToJsonString() string

type AddClusterCIDRResponseParams added in v1.0.426

type AddClusterCIDRResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type AddExistedInstancesRequest

type AddExistedInstancesRequest struct {
	*tchttp.BaseRequest

	// 集群ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// 实例列表,不支持竞价实例
	InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" name:"InstanceIds"`

	// 实例额外需要设置参数信息(默认值)
	InstanceAdvancedSettings *InstanceAdvancedSettings `json:"InstanceAdvancedSettings,omitnil,omitempty" name:"InstanceAdvancedSettings"`

	// 增强服务。通过该参数可以指定是否开启云安全、云监控等服务。若不指定该参数,则默认开启云监控、云安全服务。
	EnhancedService *EnhancedService `json:"EnhancedService,omitnil,omitempty" name:"EnhancedService"`

	// 节点登录信息(目前仅支持使用Password或者单个KeyIds)
	LoginSettings *LoginSettings `json:"LoginSettings,omitnil,omitempty" name:"LoginSettings"`

	// 重装系统时,可以指定修改实例的HostName(集群为HostName模式时,此参数必传,规则名称除不支持大写字符外与[CVM创建实例](https://cloud.tencent.com/document/product/213/15730)接口HostName一致)
	HostName *string `json:"HostName,omitnil,omitempty" name:"HostName"`

	// 实例所属安全组。该参数可以通过调用 DescribeSecurityGroups 的返回值中的sgId字段来获取。若不指定该参数,则绑定默认安全组。(目前仅支持设置单个sgId)
	SecurityGroupIds []*string `json:"SecurityGroupIds,omitnil,omitempty" name:"SecurityGroupIds"`

	// 节点池选项
	NodePool *NodePoolOption `json:"NodePool,omitnil,omitempty" name:"NodePool"`

	// 校验规则相关选项,可配置跳过某些校验规则。目前支持GlobalRouteCIDRCheck(跳过GlobalRouter的相关校验),VpcCniCIDRCheck(跳过VpcCni相关校验)
	SkipValidateOptions []*string `json:"SkipValidateOptions,omitnil,omitempty" name:"SkipValidateOptions"`

	// 参数InstanceAdvancedSettingsOverride数组用于定制化地配置各台instance,与InstanceIds顺序对应。当传入InstanceAdvancedSettingsOverrides数组时,将覆盖默认参数InstanceAdvancedSettings;当没有传入参数InstanceAdvancedSettingsOverrides时,InstanceAdvancedSettings参数对每台instance生效。参数InstanceAdvancedSettingsOverride数组的长度应与InstanceIds数组一致;当长度大于InstanceIds数组长度时将报错;当长度小于InstanceIds数组时,没有对应配置的instance将使用默认配置。
	InstanceAdvancedSettingsOverrides []*InstanceAdvancedSettings `json:"InstanceAdvancedSettingsOverrides,omitnil,omitempty" name:"InstanceAdvancedSettingsOverrides"`

	// 节点镜像
	ImageId *string `json:"ImageId,omitnil,omitempty" name:"ImageId"`
}

func NewAddExistedInstancesRequest

func NewAddExistedInstancesRequest() (request *AddExistedInstancesRequest)

func (*AddExistedInstancesRequest) FromJsonString

func (r *AddExistedInstancesRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*AddExistedInstancesRequest) ToJsonString

func (r *AddExistedInstancesRequest) ToJsonString() string

type AddExistedInstancesRequestParams added in v1.0.426

type AddExistedInstancesRequestParams struct {
	// 集群ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// 实例列表,不支持竞价实例
	InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" name:"InstanceIds"`

	// 实例额外需要设置参数信息(默认值)
	InstanceAdvancedSettings *InstanceAdvancedSettings `json:"InstanceAdvancedSettings,omitnil,omitempty" name:"InstanceAdvancedSettings"`

	// 增强服务。通过该参数可以指定是否开启云安全、云监控等服务。若不指定该参数,则默认开启云监控、云安全服务。
	EnhancedService *EnhancedService `json:"EnhancedService,omitnil,omitempty" name:"EnhancedService"`

	// 节点登录信息(目前仅支持使用Password或者单个KeyIds)
	LoginSettings *LoginSettings `json:"LoginSettings,omitnil,omitempty" name:"LoginSettings"`

	// 重装系统时,可以指定修改实例的HostName(集群为HostName模式时,此参数必传,规则名称除不支持大写字符外与[CVM创建实例](https://cloud.tencent.com/document/product/213/15730)接口HostName一致)
	HostName *string `json:"HostName,omitnil,omitempty" name:"HostName"`

	// 实例所属安全组。该参数可以通过调用 DescribeSecurityGroups 的返回值中的sgId字段来获取。若不指定该参数,则绑定默认安全组。(目前仅支持设置单个sgId)
	SecurityGroupIds []*string `json:"SecurityGroupIds,omitnil,omitempty" name:"SecurityGroupIds"`

	// 节点池选项
	NodePool *NodePoolOption `json:"NodePool,omitnil,omitempty" name:"NodePool"`

	// 校验规则相关选项,可配置跳过某些校验规则。目前支持GlobalRouteCIDRCheck(跳过GlobalRouter的相关校验),VpcCniCIDRCheck(跳过VpcCni相关校验)
	SkipValidateOptions []*string `json:"SkipValidateOptions,omitnil,omitempty" name:"SkipValidateOptions"`

	// 参数InstanceAdvancedSettingsOverride数组用于定制化地配置各台instance,与InstanceIds顺序对应。当传入InstanceAdvancedSettingsOverrides数组时,将覆盖默认参数InstanceAdvancedSettings;当没有传入参数InstanceAdvancedSettingsOverrides时,InstanceAdvancedSettings参数对每台instance生效。参数InstanceAdvancedSettingsOverride数组的长度应与InstanceIds数组一致;当长度大于InstanceIds数组长度时将报错;当长度小于InstanceIds数组时,没有对应配置的instance将使用默认配置。
	InstanceAdvancedSettingsOverrides []*InstanceAdvancedSettings `json:"InstanceAdvancedSettingsOverrides,omitnil,omitempty" name:"InstanceAdvancedSettingsOverrides"`

	// 节点镜像
	ImageId *string `json:"ImageId,omitnil,omitempty" name:"ImageId"`
}

Predefined struct for user

type AddExistedInstancesResponse

type AddExistedInstancesResponse struct {
	*tchttp.BaseResponse
	Response *AddExistedInstancesResponseParams `json:"Response"`
}

func NewAddExistedInstancesResponse

func NewAddExistedInstancesResponse() (response *AddExistedInstancesResponse)

func (*AddExistedInstancesResponse) FromJsonString

func (r *AddExistedInstancesResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*AddExistedInstancesResponse) ToJsonString

func (r *AddExistedInstancesResponse) ToJsonString() string

type AddExistedInstancesResponseParams added in v1.0.426

type AddExistedInstancesResponseParams struct {
	// 失败的节点ID
	// 注意:此字段可能返回 null,表示取不到有效值。
	FailedInstanceIds []*string `json:"FailedInstanceIds,omitnil,omitempty" name:"FailedInstanceIds"`

	// 成功的节点ID
	// 注意:此字段可能返回 null,表示取不到有效值。
	SuccInstanceIds []*string `json:"SuccInstanceIds,omitnil,omitempty" name:"SuccInstanceIds"`

	// 超时未返回出来节点的ID(可能失败,也可能成功)
	// 注意:此字段可能返回 null,表示取不到有效值。
	TimeoutInstanceIds []*string `json:"TimeoutInstanceIds,omitnil,omitempty" name:"TimeoutInstanceIds"`

	// 失败的节点的失败原因
	// 注意:此字段可能返回 null,表示取不到有效值。
	FailedReasons []*string `json:"FailedReasons,omitnil,omitempty" name:"FailedReasons"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type AddNodeToNodePoolRequest

type AddNodeToNodePoolRequest struct {
	*tchttp.BaseRequest

	// 集群id
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// 节点池id
	NodePoolId *string `json:"NodePoolId,omitnil,omitempty" name:"NodePoolId"`

	// 节点id
	InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" name:"InstanceIds"`
}

func NewAddNodeToNodePoolRequest

func NewAddNodeToNodePoolRequest() (request *AddNodeToNodePoolRequest)

func (*AddNodeToNodePoolRequest) FromJsonString

func (r *AddNodeToNodePoolRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*AddNodeToNodePoolRequest) ToJsonString

func (r *AddNodeToNodePoolRequest) ToJsonString() string

type AddNodeToNodePoolRequestParams added in v1.0.426

type AddNodeToNodePoolRequestParams struct {
	// 集群id
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// 节点池id
	NodePoolId *string `json:"NodePoolId,omitnil,omitempty" name:"NodePoolId"`

	// 节点id
	InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" name:"InstanceIds"`
}

Predefined struct for user

type AddNodeToNodePoolResponse

type AddNodeToNodePoolResponse struct {
	*tchttp.BaseResponse
	Response *AddNodeToNodePoolResponseParams `json:"Response"`
}

func NewAddNodeToNodePoolResponse

func NewAddNodeToNodePoolResponse() (response *AddNodeToNodePoolResponse)

func (*AddNodeToNodePoolResponse) FromJsonString

func (r *AddNodeToNodePoolResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*AddNodeToNodePoolResponse) ToJsonString

func (r *AddNodeToNodePoolResponse) ToJsonString() string

type AddNodeToNodePoolResponseParams added in v1.0.426

type AddNodeToNodePoolResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type AddVpcCniSubnetsRequest

type AddVpcCniSubnetsRequest struct {
	*tchttp.BaseRequest

	// 集群ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// 为集群容器网络增加的子网列表
	SubnetIds []*string `json:"SubnetIds,omitnil,omitempty" name:"SubnetIds"`

	// 集群所属的VPC的ID
	VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"`

	// 是否同步添加 vpc 网段到 ip-masq-agent-config 的 NonMasqueradeCIDRs 字段,默认 false 会同步添加
	SkipAddingNonMasqueradeCIDRs *bool `json:"SkipAddingNonMasqueradeCIDRs,omitnil,omitempty" name:"SkipAddingNonMasqueradeCIDRs"`
}

func NewAddVpcCniSubnetsRequest

func NewAddVpcCniSubnetsRequest() (request *AddVpcCniSubnetsRequest)

func (*AddVpcCniSubnetsRequest) FromJsonString

func (r *AddVpcCniSubnetsRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*AddVpcCniSubnetsRequest) ToJsonString

func (r *AddVpcCniSubnetsRequest) ToJsonString() string

type AddVpcCniSubnetsRequestParams added in v1.0.426

type AddVpcCniSubnetsRequestParams struct {
	// 集群ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// 为集群容器网络增加的子网列表
	SubnetIds []*string `json:"SubnetIds,omitnil,omitempty" name:"SubnetIds"`

	// 集群所属的VPC的ID
	VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"`

	// 是否同步添加 vpc 网段到 ip-masq-agent-config 的 NonMasqueradeCIDRs 字段,默认 false 会同步添加
	SkipAddingNonMasqueradeCIDRs *bool `json:"SkipAddingNonMasqueradeCIDRs,omitnil,omitempty" name:"SkipAddingNonMasqueradeCIDRs"`
}

Predefined struct for user

type AddVpcCniSubnetsResponse

type AddVpcCniSubnetsResponse struct {
	*tchttp.BaseResponse
	Response *AddVpcCniSubnetsResponseParams `json:"Response"`
}

func NewAddVpcCniSubnetsResponse

func NewAddVpcCniSubnetsResponse() (response *AddVpcCniSubnetsResponse)

func (*AddVpcCniSubnetsResponse) FromJsonString

func (r *AddVpcCniSubnetsResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*AddVpcCniSubnetsResponse) ToJsonString

func (r *AddVpcCniSubnetsResponse) ToJsonString() string

type AddVpcCniSubnetsResponseParams added in v1.0.426

type AddVpcCniSubnetsResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type Addon added in v1.0.684

type Addon struct {
	// addon名称
	AddonName *string `json:"AddonName,omitnil,omitempty" name:"AddonName"`

	// addon的版本
	AddonVersion *string `json:"AddonVersion,omitnil,omitempty" name:"AddonVersion"`

	// addon的参数,是一个json格式的base64转码后的字符串
	// 注意:此字段可能返回 null,表示取不到有效值。
	RawValues *string `json:"RawValues,omitnil,omitempty" name:"RawValues"`

	// addon的状态
	// 注意:此字段可能返回 null,表示取不到有效值。
	Phase *string `json:"Phase,omitnil,omitempty" name:"Phase"`

	// addon失败的原因
	// 注意:此字段可能返回 null,表示取不到有效值。
	Reason *string `json:"Reason,omitnil,omitempty" name:"Reason"`
}

type AnnotationValue added in v1.0.826

type AnnotationValue struct {
	// 注释键
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// 注释值
	Value *string `json:"Value,omitnil,omitempty" name:"Value"`
}

type AppChart added in v1.0.302

type AppChart struct {
	// chart名称
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// chart的标签
	// 注意:此字段可能返回 null,表示取不到有效值。
	Label *string `json:"Label,omitnil,omitempty" name:"Label"`

	// chart的版本
	LatestVersion *string `json:"LatestVersion,omitnil,omitempty" name:"LatestVersion"`
}

type AutoScalingGroupRange

type AutoScalingGroupRange struct {
	// 伸缩组最小实例数
	MinSize *int64 `json:"MinSize,omitnil,omitempty" name:"MinSize"`

	// 伸缩组最大实例数
	MaxSize *int64 `json:"MaxSize,omitnil,omitempty" name:"MaxSize"`
}

type AutoUpgradeClusterLevel added in v1.0.369

type AutoUpgradeClusterLevel struct {
	// 是否开启自动变配集群等级
	IsAutoUpgrade *bool `json:"IsAutoUpgrade,omitnil,omitempty" name:"IsAutoUpgrade"`
}

type AutoscalingAdded

type AutoscalingAdded struct {
	// 正在加入中的节点数量
	Joining *int64 `json:"Joining,omitnil,omitempty" name:"Joining"`

	// 初始化中的节点数量
	Initializing *int64 `json:"Initializing,omitnil,omitempty" name:"Initializing"`

	// 正常的节点数量
	Normal *int64 `json:"Normal,omitnil,omitempty" name:"Normal"`

	// 节点总数
	Total *int64 `json:"Total,omitnil,omitempty" name:"Total"`
}

type BackupStorageLocation added in v1.0.644

type BackupStorageLocation struct {
	// 备份仓库名称
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// 存储仓库所属地域,比如COS广州(ap-guangzhou)
	StorageRegion *string `json:"StorageRegion,omitnil,omitempty" name:"StorageRegion"`

	// 存储服务提供方,默认腾讯云
	// 注意:此字段可能返回 null,表示取不到有效值。
	Provider *string `json:"Provider,omitnil,omitempty" name:"Provider"`

	// 对象存储桶名称,如果是COS必须是tke-backup-前缀开头
	// 注意:此字段可能返回 null,表示取不到有效值。
	Bucket *string `json:"Bucket,omitnil,omitempty" name:"Bucket"`

	// 对象存储桶路径
	// 注意:此字段可能返回 null,表示取不到有效值。
	Path *string `json:"Path,omitnil,omitempty" name:"Path"`

	// 存储仓库状态
	// 注意:此字段可能返回 null,表示取不到有效值。
	State *string `json:"State,omitnil,omitempty" name:"State"`

	// 详细状态信息
	// 注意:此字段可能返回 null,表示取不到有效值。
	Message *string `json:"Message,omitnil,omitempty" name:"Message"`

	// 最后一次检查时间
	// 注意:此字段可能返回 null,表示取不到有效值。
	LastValidationTime *string `json:"LastValidationTime,omitnil,omitempty" name:"LastValidationTime"`
}

type CUDNN added in v1.0.486

type CUDNN struct {
	// cuDNN的版本
	// 注意:此字段可能返回 null,表示取不到有效值。
	Version *string `json:"Version,omitnil,omitempty" name:"Version"`

	// cuDNN的名字
	// 注意:此字段可能返回 null,表示取不到有效值。
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// cuDNN的Doc名字
	// 注意:此字段可能返回 null,表示取不到有效值。
	DocName *string `json:"DocName,omitnil,omitempty" name:"DocName"`

	// cuDNN的Dev名字
	// 注意:此字段可能返回 null,表示取不到有效值。
	DevName *string `json:"DevName,omitnil,omitempty" name:"DevName"`
}

type CancelClusterReleaseRequest added in v1.0.554

type CancelClusterReleaseRequest struct {
	*tchttp.BaseRequest

	// 应用ID
	ID *string `json:"ID,omitnil,omitempty" name:"ID"`

	// 集群ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// 集群类型
	ClusterType *string `json:"ClusterType,omitnil,omitempty" name:"ClusterType"`
}

func NewCancelClusterReleaseRequest added in v1.0.554

func NewCancelClusterReleaseRequest() (request *CancelClusterReleaseRequest)

func (*CancelClusterReleaseRequest) FromJsonString added in v1.0.554

func (r *CancelClusterReleaseRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CancelClusterReleaseRequest) ToJsonString added in v1.0.554

func (r *CancelClusterReleaseRequest) ToJsonString() string

type CancelClusterReleaseRequestParams added in v1.0.554

type CancelClusterReleaseRequestParams struct {
	// 应用ID
	ID *string `json:"ID,omitnil,omitempty" name:"ID"`

	// 集群ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// 集群类型
	ClusterType *string `json:"ClusterType,omitnil,omitempty" name:"ClusterType"`
}

Predefined struct for user

type CancelClusterReleaseResponse added in v1.0.554

type CancelClusterReleaseResponse struct {
	*tchttp.BaseResponse
	Response *CancelClusterReleaseResponseParams `json:"Response"`
}

func NewCancelClusterReleaseResponse added in v1.0.554

func NewCancelClusterReleaseResponse() (response *CancelClusterReleaseResponse)

func (*CancelClusterReleaseResponse) FromJsonString added in v1.0.554

func (r *CancelClusterReleaseResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CancelClusterReleaseResponse) ToJsonString added in v1.0.554

func (r *CancelClusterReleaseResponse) ToJsonString() string

type CancelClusterReleaseResponseParams added in v1.0.554

type CancelClusterReleaseResponseParams struct {
	// 应用信息
	// 注意:此字段可能返回 null,表示取不到有效值。
	Release *PendingRelease `json:"Release,omitnil,omitempty" name:"Release"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type Capabilities added in v1.0.254

type Capabilities struct {
	// 启用安全能力项列表
	// 注意:此字段可能返回 null,表示取不到有效值。
	Add []*string `json:"Add,omitnil,omitempty" name:"Add"`

	// 禁用安全能力向列表
	// 注意:此字段可能返回 null,表示取不到有效值。
	Drop []*string `json:"Drop,omitnil,omitempty" name:"Drop"`
}

type CbsVolume added in v1.0.254

type CbsVolume struct {
	// cbs volume 数据卷名称
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// 腾讯云cbs盘Id
	CbsDiskId *string `json:"CbsDiskId,omitnil,omitempty" name:"CbsDiskId"`
}

type CheckEdgeClusterCIDRRequest added in v1.0.412

type CheckEdgeClusterCIDRRequest struct {
	*tchttp.BaseRequest

	// 集群的vpc-id
	VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"`

	// 集群的pod CIDR
	PodCIDR *string `json:"PodCIDR,omitnil,omitempty" name:"PodCIDR"`

	// 集群的service CIDR
	ServiceCIDR *string `json:"ServiceCIDR,omitnil,omitempty" name:"ServiceCIDR"`
}

func NewCheckEdgeClusterCIDRRequest added in v1.0.412

func NewCheckEdgeClusterCIDRRequest() (request *CheckEdgeClusterCIDRRequest)

func (*CheckEdgeClusterCIDRRequest) FromJsonString added in v1.0.412

func (r *CheckEdgeClusterCIDRRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CheckEdgeClusterCIDRRequest) ToJsonString added in v1.0.412

func (r *CheckEdgeClusterCIDRRequest) ToJsonString() string

type CheckEdgeClusterCIDRRequestParams added in v1.0.426

type CheckEdgeClusterCIDRRequestParams struct {
	// 集群的vpc-id
	VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"`

	// 集群的pod CIDR
	PodCIDR *string `json:"PodCIDR,omitnil,omitempty" name:"PodCIDR"`

	// 集群的service CIDR
	ServiceCIDR *string `json:"ServiceCIDR,omitnil,omitempty" name:"ServiceCIDR"`
}

Predefined struct for user

type CheckEdgeClusterCIDRResponse added in v1.0.412

type CheckEdgeClusterCIDRResponse struct {
	*tchttp.BaseResponse
	Response *CheckEdgeClusterCIDRResponseParams `json:"Response"`
}

func NewCheckEdgeClusterCIDRResponse added in v1.0.412

func NewCheckEdgeClusterCIDRResponse() (response *CheckEdgeClusterCIDRResponse)

func (*CheckEdgeClusterCIDRResponse) FromJsonString added in v1.0.412

func (r *CheckEdgeClusterCIDRResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CheckEdgeClusterCIDRResponse) ToJsonString added in v1.0.412

func (r *CheckEdgeClusterCIDRResponse) ToJsonString() string

type CheckEdgeClusterCIDRResponseParams added in v1.0.426

type CheckEdgeClusterCIDRResponseParams struct {
	// 返回码,具体如下
	// -1 内部错误
	// 0 没冲突
	// 1 vpc 和 serviceCIDR 冲突
	// 2 vpc 和 podCIDR 冲突
	// 3 serviceCIDR  和 podCIDR 冲突
	ConflictCode *int64 `json:"ConflictCode,omitnil,omitempty" name:"ConflictCode"`

	// CIDR冲突描述信息。
	ConflictMsg *string `json:"ConflictMsg,omitnil,omitempty" name:"ConflictMsg"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type CheckInstancesUpgradeAbleRequest

type CheckInstancesUpgradeAbleRequest struct {
	*tchttp.BaseRequest

	// 集群ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// 节点列表,空为全部节点
	InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" name:"InstanceIds"`

	// 升级类型,枚举值:reset(重装升级,支持大版本和小版本),hot(原地滚动小版本升级),major(原地滚动大版本升级)
	UpgradeType *string `json:"UpgradeType,omitnil,omitempty" name:"UpgradeType"`

	// 分页Offset
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 分页Limit
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// 过滤
	Filter []*Filter `json:"Filter,omitnil,omitempty" name:"Filter"`
}

func NewCheckInstancesUpgradeAbleRequest

func NewCheckInstancesUpgradeAbleRequest() (request *CheckInstancesUpgradeAbleRequest)

func (*CheckInstancesUpgradeAbleRequest) FromJsonString

func (r *CheckInstancesUpgradeAbleRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CheckInstancesUpgradeAbleRequest) ToJsonString

func (r *CheckInstancesUpgradeAbleRequest) ToJsonString() string

type CheckInstancesUpgradeAbleRequestParams added in v1.0.426

type CheckInstancesUpgradeAbleRequestParams struct {
	// 集群ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// 节点列表,空为全部节点
	InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" name:"InstanceIds"`

	// 升级类型,枚举值:reset(重装升级,支持大版本和小版本),hot(原地滚动小版本升级),major(原地滚动大版本升级)
	UpgradeType *string `json:"UpgradeType,omitnil,omitempty" name:"UpgradeType"`

	// 分页Offset
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 分页Limit
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// 过滤
	Filter []*Filter `json:"Filter,omitnil,omitempty" name:"Filter"`
}

Predefined struct for user

type CheckInstancesUpgradeAbleResponse

type CheckInstancesUpgradeAbleResponse struct {
	*tchttp.BaseResponse
	Response *CheckInstancesUpgradeAbleResponseParams `json:"Response"`
}

func NewCheckInstancesUpgradeAbleResponse

func NewCheckInstancesUpgradeAbleResponse() (response *CheckInstancesUpgradeAbleResponse)

func (*CheckInstancesUpgradeAbleResponse) FromJsonString

func (r *CheckInstancesUpgradeAbleResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CheckInstancesUpgradeAbleResponse) ToJsonString

func (r *CheckInstancesUpgradeAbleResponse) ToJsonString() string

type CheckInstancesUpgradeAbleResponseParams added in v1.0.426

type CheckInstancesUpgradeAbleResponseParams struct {
	// 集群master当前小版本
	ClusterVersion *string `json:"ClusterVersion,omitnil,omitempty" name:"ClusterVersion"`

	// 集群master对应的大版本目前最新小版本
	LatestVersion *string `json:"LatestVersion,omitnil,omitempty" name:"LatestVersion"`

	// 可升级节点列表
	// 注意:此字段可能返回 null,表示取不到有效值。
	UpgradeAbleInstances []*UpgradeAbleInstancesItem `json:"UpgradeAbleInstances,omitnil,omitempty" name:"UpgradeAbleInstances"`

	// 总数
	// 注意:此字段可能返回 null,表示取不到有效值。
	Total *int64 `json:"Total,omitnil,omitempty" name:"Total"`

	// 不可升级原因
	// 注意:此字段可能返回 null,表示取不到有效值。
	UnavailableVersionReason []*UnavailableReason `json:"UnavailableVersionReason,omitnil,omitempty" name:"UnavailableVersionReason"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type Client

type Client struct {
	common.Client
}

func NewClient

func NewClient(credential common.CredentialIface, region string, clientProfile *profile.ClientProfile) (client *Client, err error)

func NewClientWithSecretId

func NewClientWithSecretId(secretId, secretKey, region string) (client *Client, err error)

Deprecated

func (*Client) AcquireClusterAdminRole

func (c *Client) AcquireClusterAdminRole(request *AcquireClusterAdminRoleRequest) (response *AcquireClusterAdminRoleResponse, err error)

AcquireClusterAdminRole 通过此接口,可以获取集群的tke:admin的ClusterRole,即管理员角色,可以用于CAM侧高权限的用户,通过CAM策略给予子账户此接口权限,进而可以通过此接口直接获取到kubernetes集群内的管理员角色。

可能返回的错误码:

FAILEDOPERATION_COMPONENTCLIENTHTTP = "FailedOperation.ComponentClientHttp"
FAILEDOPERATION_KUBERNETESCREATEOPERATIONERROR = "FailedOperation.KubernetesCreateOperationError"
FAILEDOPERATION_KUBERNETESGETOPERATIONERROR = "FailedOperation.KubernetesGetOperationError"
INTERNALERROR = "InternalError"
INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth"
INTERNALERROR_KUBERNETESCLIENTBUILDERROR = "InternalError.KubernetesClientBuildError"
INTERNALERROR_KUBERNETESCREATEOPERATIONERROR = "InternalError.KubernetesCreateOperationError"
INTERNALERROR_KUBERNETESGETOPERATIONERROR = "InternalError.KubernetesGetOperationError"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INTERNALERROR_WHITELISTUNEXPECTEDERROR = "InternalError.WhitelistUnexpectedError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCENOTFOUND_CLUSTERNOTFOUND = "ResourceNotFound.ClusterNotFound"
RESOURCEUNAVAILABLE_CLUSTERSTATE = "ResourceUnavailable.ClusterState"
UNAUTHORIZEDOPERATION_CAMNOAUTH = "UnauthorizedOperation.CamNoAuth"
UNSUPPORTEDOPERATION_NOTINWHITELIST = "UnsupportedOperation.NotInWhitelist"

func (*Client) AcquireClusterAdminRoleWithContext added in v1.0.324

func (c *Client) AcquireClusterAdminRoleWithContext(ctx context.Context, request *AcquireClusterAdminRoleRequest) (response *AcquireClusterAdminRoleResponse, err error)

AcquireClusterAdminRole 通过此接口,可以获取集群的tke:admin的ClusterRole,即管理员角色,可以用于CAM侧高权限的用户,通过CAM策略给予子账户此接口权限,进而可以通过此接口直接获取到kubernetes集群内的管理员角色。

可能返回的错误码:

FAILEDOPERATION_COMPONENTCLIENTHTTP = "FailedOperation.ComponentClientHttp"
FAILEDOPERATION_KUBERNETESCREATEOPERATIONERROR = "FailedOperation.KubernetesCreateOperationError"
FAILEDOPERATION_KUBERNETESGETOPERATIONERROR = "FailedOperation.KubernetesGetOperationError"
INTERNALERROR = "InternalError"
INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth"
INTERNALERROR_KUBERNETESCLIENTBUILDERROR = "InternalError.KubernetesClientBuildError"
INTERNALERROR_KUBERNETESCREATEOPERATIONERROR = "InternalError.KubernetesCreateOperationError"
INTERNALERROR_KUBERNETESGETOPERATIONERROR = "InternalError.KubernetesGetOperationError"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INTERNALERROR_WHITELISTUNEXPECTEDERROR = "InternalError.WhitelistUnexpectedError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCENOTFOUND_CLUSTERNOTFOUND = "ResourceNotFound.ClusterNotFound"
RESOURCEUNAVAILABLE_CLUSTERSTATE = "ResourceUnavailable.ClusterState"
UNAUTHORIZEDOPERATION_CAMNOAUTH = "UnauthorizedOperation.CamNoAuth"
UNSUPPORTEDOPERATION_NOTINWHITELIST = "UnsupportedOperation.NotInWhitelist"

func (*Client) AddClusterCIDR added in v1.0.214

func (c *Client) AddClusterCIDR(request *AddClusterCIDRRequest) (response *AddClusterCIDRResponse, err error)

AddClusterCIDR 给GR集群增加可用的ClusterCIDR(开白才能使用此功能,如需要请联系我们)

可能返回的错误码:

FAILEDOPERATION_DB = "FailedOperation.Db"
INTERNALERROR_KUBECLIENTCREATE = "InternalError.KubeClientCreate"
INTERNALERROR_KUBECOMMON = "InternalError.KubeCommon"
INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_CIDRMASKSIZEOUTOFRANGE = "InvalidParameter.CIDRMaskSizeOutOfRange"
INVALIDPARAMETER_CIDRCONFLICTWITHOTHERCLUSTER = "InvalidParameter.CidrConflictWithOtherCluster"
INVALIDPARAMETER_CIDRCONFLICTWITHOTHERROUTE = "InvalidParameter.CidrConflictWithOtherRoute"
INVALIDPARAMETER_CIDRCONFLICTWITHVPCCIDR = "InvalidParameter.CidrConflictWithVpcCidr"
INVALIDPARAMETER_CIDRCONFLICTWITHVPCGLOBALROUTE = "InvalidParameter.CidrConflictWithVpcGlobalRoute"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
UNSUPPORTEDOPERATION_CLUSTERNOTSUITADDCLUSTERCIDR = "UnsupportedOperation.ClusterNotSuitAddClusterCIDR"

func (*Client) AddClusterCIDRWithContext added in v1.0.324

func (c *Client) AddClusterCIDRWithContext(ctx context.Context, request *AddClusterCIDRRequest) (response *AddClusterCIDRResponse, err error)

AddClusterCIDR 给GR集群增加可用的ClusterCIDR(开白才能使用此功能,如需要请联系我们)

可能返回的错误码:

FAILEDOPERATION_DB = "FailedOperation.Db"
INTERNALERROR_KUBECLIENTCREATE = "InternalError.KubeClientCreate"
INTERNALERROR_KUBECOMMON = "InternalError.KubeCommon"
INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_CIDRMASKSIZEOUTOFRANGE = "InvalidParameter.CIDRMaskSizeOutOfRange"
INVALIDPARAMETER_CIDRCONFLICTWITHOTHERCLUSTER = "InvalidParameter.CidrConflictWithOtherCluster"
INVALIDPARAMETER_CIDRCONFLICTWITHOTHERROUTE = "InvalidParameter.CidrConflictWithOtherRoute"
INVALIDPARAMETER_CIDRCONFLICTWITHVPCCIDR = "InvalidParameter.CidrConflictWithVpcCidr"
INVALIDPARAMETER_CIDRCONFLICTWITHVPCGLOBALROUTE = "InvalidParameter.CidrConflictWithVpcGlobalRoute"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
UNSUPPORTEDOPERATION_CLUSTERNOTSUITADDCLUSTERCIDR = "UnsupportedOperation.ClusterNotSuitAddClusterCIDR"

func (*Client) AddExistedInstances

func (c *Client) AddExistedInstances(request *AddExistedInstancesRequest) (response *AddExistedInstancesResponse, err error)

AddExistedInstances 添加已经存在的实例到集群

可能返回的错误码:

FAILEDOPERATION_CLUSTERNOTFOUND = "FailedOperation.ClusterNotFound"
FAILEDOPERATION_CLUSTERSTATE = "FailedOperation.ClusterState"
FAILEDOPERATION_COMPONENTCLIENTHTTP = "FailedOperation.ComponentClientHttp"
FAILEDOPERATION_CVMCOMMON = "FailedOperation.CvmCommon"
FAILEDOPERATION_NETWORKSCALEERROR = "FailedOperation.NetworkScaleError"
FAILEDOPERATION_NODEEXISTSSECONDARYNETWORKINTERFACE = "FailedOperation.NodeExistsSecondaryNetworkInterface"
FAILEDOPERATION_PARAM = "FailedOperation.Param"
FAILEDOPERATION_QUOTAMAXNODLIMIT = "FailedOperation.QuotaMaxNodLimit"
INTERNALERROR = "InternalError"
INTERNALERROR_CLUSTERNOTFOUND = "InternalError.ClusterNotFound"
INTERNALERROR_CLUSTERSTATE = "InternalError.ClusterState"
INTERNALERROR_CVMCOMMON = "InternalError.CvmCommon"
INTERNALERROR_DB = "InternalError.Db"
INTERNALERROR_DBAFFECTIVEDROWS = "InternalError.DbAffectivedRows"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_QUOTAMAXNODLIMIT = "InternalError.QuotaMaxNodLimit"
INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER = "InvalidParameter"
LIMITEXCEEDED = "LimitExceeded"

func (*Client) AddExistedInstancesWithContext added in v1.0.324

func (c *Client) AddExistedInstancesWithContext(ctx context.Context, request *AddExistedInstancesRequest) (response *AddExistedInstancesResponse, err error)

AddExistedInstances 添加已经存在的实例到集群

可能返回的错误码:

FAILEDOPERATION_CLUSTERNOTFOUND = "FailedOperation.ClusterNotFound"
FAILEDOPERATION_CLUSTERSTATE = "FailedOperation.ClusterState"
FAILEDOPERATION_COMPONENTCLIENTHTTP = "FailedOperation.ComponentClientHttp"
FAILEDOPERATION_CVMCOMMON = "FailedOperation.CvmCommon"
FAILEDOPERATION_NETWORKSCALEERROR = "FailedOperation.NetworkScaleError"
FAILEDOPERATION_NODEEXISTSSECONDARYNETWORKINTERFACE = "FailedOperation.NodeExistsSecondaryNetworkInterface"
FAILEDOPERATION_PARAM = "FailedOperation.Param"
FAILEDOPERATION_QUOTAMAXNODLIMIT = "FailedOperation.QuotaMaxNodLimit"
INTERNALERROR = "InternalError"
INTERNALERROR_CLUSTERNOTFOUND = "InternalError.ClusterNotFound"
INTERNALERROR_CLUSTERSTATE = "InternalError.ClusterState"
INTERNALERROR_CVMCOMMON = "InternalError.CvmCommon"
INTERNALERROR_DB = "InternalError.Db"
INTERNALERROR_DBAFFECTIVEDROWS = "InternalError.DbAffectivedRows"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_QUOTAMAXNODLIMIT = "InternalError.QuotaMaxNodLimit"
INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER = "InvalidParameter"
LIMITEXCEEDED = "LimitExceeded"

func (*Client) AddNodeToNodePool

func (c *Client) AddNodeToNodePool(request *AddNodeToNodePoolRequest) (response *AddNodeToNodePoolResponse, err error)

AddNodeToNodePool 将集群内节点移入节点池

可能返回的错误码:

FAILEDOPERATION_COMPONENTCLIENTHTTP = "FailedOperation.ComponentClientHttp"
FAILEDOPERATION_CVMCOMMON = "FailedOperation.CvmCommon"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"

func (*Client) AddNodeToNodePoolWithContext added in v1.0.324

func (c *Client) AddNodeToNodePoolWithContext(ctx context.Context, request *AddNodeToNodePoolRequest) (response *AddNodeToNodePoolResponse, err error)

AddNodeToNodePool 将集群内节点移入节点池

可能返回的错误码:

FAILEDOPERATION_COMPONENTCLIENTHTTP = "FailedOperation.ComponentClientHttp"
FAILEDOPERATION_CVMCOMMON = "FailedOperation.CvmCommon"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"

func (*Client) AddVpcCniSubnets

func (c *Client) AddVpcCniSubnets(request *AddVpcCniSubnetsRequest) (response *AddVpcCniSubnetsResponse, err error)

AddVpcCniSubnets 针对VPC-CNI模式的集群,增加集群容器网络可使用的子网

可能返回的错误码:

FAILEDOPERATION_VPCRECODRNOTFOUND = "FailedOperation.VpcRecodrNotFound"
INTERNALERROR = "InternalError"
INTERNALERROR_DB = "InternalError.Db"
INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound"
INTERNALERROR_KUBECOMMON = "InternalError.KubeCommon"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INTERNALERROR_VPCRECODRNOTFOUND = "InternalError.VpcRecodrNotFound"
INVALIDPARAMETER_CLUSTERNOTFOUND = "InvalidParameter.ClusterNotFound"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"

func (*Client) AddVpcCniSubnetsWithContext added in v1.0.324

func (c *Client) AddVpcCniSubnetsWithContext(ctx context.Context, request *AddVpcCniSubnetsRequest) (response *AddVpcCniSubnetsResponse, err error)

AddVpcCniSubnets 针对VPC-CNI模式的集群,增加集群容器网络可使用的子网

可能返回的错误码:

FAILEDOPERATION_VPCRECODRNOTFOUND = "FailedOperation.VpcRecodrNotFound"
INTERNALERROR = "InternalError"
INTERNALERROR_DB = "InternalError.Db"
INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound"
INTERNALERROR_KUBECOMMON = "InternalError.KubeCommon"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INTERNALERROR_VPCRECODRNOTFOUND = "InternalError.VpcRecodrNotFound"
INVALIDPARAMETER_CLUSTERNOTFOUND = "InvalidParameter.ClusterNotFound"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"

func (*Client) CancelClusterRelease added in v1.0.554

func (c *Client) CancelClusterRelease(request *CancelClusterReleaseRequest) (response *CancelClusterReleaseResponse, err error)

CancelClusterRelease 在应用市场中取消安装失败的应用

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_MARKETGETAUTHFAILED = "FailedOperation.MarketGetAuthFailed"
FAILEDOPERATION_MARKETRELEASEOPERATION = "FailedOperation.MarketReleaseOperation"
INTERNALERROR = "InternalError"
INTERNALERROR_MARKETGETAUTHFAILED = "InternalError.MarketGetAuthFailed"
INTERNALERROR_MARKETINTERNALSERVERERROR = "InternalError.MarketInternalServerError"
INTERNALERROR_MARKETRELEASEOPERATION = "InternalError.MarketReleaseOperation"
INTERNALERROR_PARAM = "InternalError.Param"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
MISSINGPARAMETER = "MissingParameter"
UNKNOWNPARAMETER = "UnknownParameter"

func (*Client) CancelClusterReleaseWithContext added in v1.0.554

func (c *Client) CancelClusterReleaseWithContext(ctx context.Context, request *CancelClusterReleaseRequest) (response *CancelClusterReleaseResponse, err error)

CancelClusterRelease 在应用市场中取消安装失败的应用

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_MARKETGETAUTHFAILED = "FailedOperation.MarketGetAuthFailed"
FAILEDOPERATION_MARKETRELEASEOPERATION = "FailedOperation.MarketReleaseOperation"
INTERNALERROR = "InternalError"
INTERNALERROR_MARKETGETAUTHFAILED = "InternalError.MarketGetAuthFailed"
INTERNALERROR_MARKETINTERNALSERVERERROR = "InternalError.MarketInternalServerError"
INTERNALERROR_MARKETRELEASEOPERATION = "InternalError.MarketReleaseOperation"
INTERNALERROR_PARAM = "InternalError.Param"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
MISSINGPARAMETER = "MissingParameter"
UNKNOWNPARAMETER = "UnknownParameter"

func (*Client) CheckEdgeClusterCIDR added in v1.0.412

func (c *Client) CheckEdgeClusterCIDR(request *CheckEdgeClusterCIDRRequest) (response *CheckEdgeClusterCIDRResponse, err error)

CheckEdgeClusterCIDR 检查边缘计算集群的CIDR是否冲突

可能返回的错误码:

FAILEDOPERATION_VPCCOMMON = "FailedOperation.VpcCommon"
INTERNALERROR = "InternalError"
INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth"
INTERNALERROR_CIDRCONFLICTWITHOTHERCLUSTER = "InternalError.CidrConflictWithOtherCluster"
INTERNALERROR_CIDRCONFLICTWITHOTHERROUTE = "InternalError.CidrConflictWithOtherRoute"
INTERNALERROR_CIDRCONFLICTWITHVPCCIDR = "InternalError.CidrConflictWithVpcCidr"
INTERNALERROR_CIDRCONFLICTWITHVPCGLOBALROUTE = "InternalError.CidrConflictWithVpcGlobalRoute"
INTERNALERROR_CIDRINVALI = "InternalError.CidrInvali"
INTERNALERROR_CIDRMASKSIZEOUTOFRANGE = "InternalError.CidrMaskSizeOutOfRange"
INTERNALERROR_CMDTIMEOUT = "InternalError.CmdTimeout"
INTERNALERROR_INVALIDPRIVATENETWORKCIDR = "InternalError.InvalidPrivateNetworkCidr"
INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal"
INTERNALERROR_VPCCOMMON = "InternalError.VpcCommon"
INTERNALERROR_VPCPEERNOTFOUND = "InternalError.VpcPeerNotFound"
INTERNALERROR_VPCRECODRNOTFOUND = "InternalError.VpcRecodrNotFound"
INTERNALERROR_VSTATIONERROR = "InternalError.VstationError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
INVALIDPARAMETER_ROUTETABLENOTEMPTY = "InvalidParameter.RouteTableNotEmpty"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) CheckEdgeClusterCIDRWithContext added in v1.0.412

func (c *Client) CheckEdgeClusterCIDRWithContext(ctx context.Context, request *CheckEdgeClusterCIDRRequest) (response *CheckEdgeClusterCIDRResponse, err error)

CheckEdgeClusterCIDR 检查边缘计算集群的CIDR是否冲突

可能返回的错误码:

FAILEDOPERATION_VPCCOMMON = "FailedOperation.VpcCommon"
INTERNALERROR = "InternalError"
INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth"
INTERNALERROR_CIDRCONFLICTWITHOTHERCLUSTER = "InternalError.CidrConflictWithOtherCluster"
INTERNALERROR_CIDRCONFLICTWITHOTHERROUTE = "InternalError.CidrConflictWithOtherRoute"
INTERNALERROR_CIDRCONFLICTWITHVPCCIDR = "InternalError.CidrConflictWithVpcCidr"
INTERNALERROR_CIDRCONFLICTWITHVPCGLOBALROUTE = "InternalError.CidrConflictWithVpcGlobalRoute"
INTERNALERROR_CIDRINVALI = "InternalError.CidrInvali"
INTERNALERROR_CIDRMASKSIZEOUTOFRANGE = "InternalError.CidrMaskSizeOutOfRange"
INTERNALERROR_CMDTIMEOUT = "InternalError.CmdTimeout"
INTERNALERROR_INVALIDPRIVATENETWORKCIDR = "InternalError.InvalidPrivateNetworkCidr"
INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal"
INTERNALERROR_VPCCOMMON = "InternalError.VpcCommon"
INTERNALERROR_VPCPEERNOTFOUND = "InternalError.VpcPeerNotFound"
INTERNALERROR_VPCRECODRNOTFOUND = "InternalError.VpcRecodrNotFound"
INTERNALERROR_VSTATIONERROR = "InternalError.VstationError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
INVALIDPARAMETER_ROUTETABLENOTEMPTY = "InvalidParameter.RouteTableNotEmpty"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) CheckInstancesUpgradeAble

func (c *Client) CheckInstancesUpgradeAble(request *CheckInstancesUpgradeAbleRequest) (response *CheckInstancesUpgradeAbleResponse, err error)

CheckInstancesUpgradeAble 检查给定节点列表中哪些是可升级的

可能返回的错误码:

FAILEDOPERATION_KUBECLIENTCONNECTION = "FailedOperation.KubeClientConnection"
FAILEDOPERATION_KUBECOMMON = "FailedOperation.KubeCommon"
FAILEDOPERATION_POLICYSERVERCOMMONERROR = "FailedOperation.PolicyServerCommonError"
INTERNALERROR = "InternalError"
INTERNALERROR_DB = "InternalError.Db"
INTERNALERROR_KUBECLIENTCONNECTION = "InternalError.KubeClientConnection"
INTERNALERROR_KUBECOMMON = "InternalError.KubeCommon"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCENOTFOUND_CLUSTERNOTFOUND = "ResourceNotFound.ClusterNotFound"

func (*Client) CheckInstancesUpgradeAbleWithContext added in v1.0.324

func (c *Client) CheckInstancesUpgradeAbleWithContext(ctx context.Context, request *CheckInstancesUpgradeAbleRequest) (response *CheckInstancesUpgradeAbleResponse, err error)

CheckInstancesUpgradeAble 检查给定节点列表中哪些是可升级的

可能返回的错误码:

FAILEDOPERATION_KUBECLIENTCONNECTION = "FailedOperation.KubeClientConnection"
FAILEDOPERATION_KUBECOMMON = "FailedOperation.KubeCommon"
FAILEDOPERATION_POLICYSERVERCOMMONERROR = "FailedOperation.PolicyServerCommonError"
INTERNALERROR = "InternalError"
INTERNALERROR_DB = "InternalError.Db"
INTERNALERROR_KUBECLIENTCONNECTION = "InternalError.KubeClientConnection"
INTERNALERROR_KUBECOMMON = "InternalError.KubeCommon"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCENOTFOUND_CLUSTERNOTFOUND = "ResourceNotFound.ClusterNotFound"

func (*Client) CreateBackupStorageLocation added in v1.0.644

func (c *Client) CreateBackupStorageLocation(request *CreateBackupStorageLocationRequest) (response *CreateBackupStorageLocationResponse, err error)

CreateBackupStorageLocation 创建备份仓库,指定了存储仓库类型(如COS)、COS桶地区、名称等信息,当前最多允许创建100个仓库, 注意此接口当前是全局接口,多个地域的TKE集群如果要备份到相同的备份仓库中,不需要重复创建备份仓库

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
LIMITEXCEEDED = "LimitExceeded"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNKNOWNPARAMETER = "UnknownParameter"

func (*Client) CreateBackupStorageLocationWithContext added in v1.0.644

func (c *Client) CreateBackupStorageLocationWithContext(ctx context.Context, request *CreateBackupStorageLocationRequest) (response *CreateBackupStorageLocationResponse, err error)

CreateBackupStorageLocation 创建备份仓库,指定了存储仓库类型(如COS)、COS桶地区、名称等信息,当前最多允许创建100个仓库, 注意此接口当前是全局接口,多个地域的TKE集群如果要备份到相同的备份仓库中,不需要重复创建备份仓库

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
LIMITEXCEEDED = "LimitExceeded"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNKNOWNPARAMETER = "UnknownParameter"

func (*Client) CreateCLSLogConfig added in v1.0.816

func (c *Client) CreateCLSLogConfig(request *CreateCLSLogConfigRequest) (response *CreateCLSLogConfigResponse, err error)

CreateCLSLogConfig 创建日志采集配置

可能返回的错误码:

FAILEDOPERATION_CLUSTERSTATE = "FailedOperation.ClusterState"
FAILEDOPERATION_COMPONENTCLIENTCOMMON = "FailedOperation.ComponentClientCommon"
FAILEDOPERATION_COMPONENTCLIENTHTTP = "FailedOperation.ComponentClientHttp"
FAILEDOPERATION_COMPONENTCLIENTUNPACK = "FailedOperation.ComponentClientUnpack"
FAILEDOPERATION_CREATECLSCLIENT = "FailedOperation.CreateClsClient"
FAILEDOPERATION_CREATECLSCONFIG = "FailedOperation.CreateClsConfig"
FAILEDOPERATION_CREATECLSINDEX = "FailedOperation.CreateClsIndex"
FAILEDOPERATION_CREATECLSLOGSET = "FailedOperation.CreateClsLogSet"
FAILEDOPERATION_CREATECLSMACHINEGROUP = "FailedOperation.CreateClsMachineGroup"
FAILEDOPERATION_CREATECLSTOPIC = "FailedOperation.CreateClsTopic"
FAILEDOPERATION_GETCLSCONFIG = "FailedOperation.GetClsConfig"
FAILEDOPERATION_GETCLSCONFIGMACHINEGROUPS = "FailedOperation.GetClsConfigMachineGroups"
FAILEDOPERATION_GETCLSINDEX = "FailedOperation.GetClsIndex"
FAILEDOPERATION_GETCLSLOGSET = "FailedOperation.GetClsLogSet"
FAILEDOPERATION_GETCLSMACHINEGROUP = "FailedOperation.GetClsMachineGroup"
FAILEDOPERATION_GETCLSMACHINEGROUPCONFIGS = "FailedOperation.GetClsMachineGroupConfigs"
FAILEDOPERATION_GETCLSTOPIC = "FailedOperation.GetClsTopic"
FAILEDOPERATION_K8SCLIENTBUILDERROR = "FailedOperation.K8sClientBuildError"
FAILEDOPERATION_KUBECLIENTCONNECTION = "FailedOperation.KubeClientConnection"
FAILEDOPERATION_KUBECOMMON = "FailedOperation.KubeCommon"
FAILEDOPERATION_KUBERNETESCLIENTBUILDERROR = "FailedOperation.KubernetesClientBuildError"
FAILEDOPERATION_KUBERNETESCREATEOPERATIONERROR = "FailedOperation.KubernetesCreateOperationError"
FAILEDOPERATION_KUBERNETESGETOPERATIONERROR = "FailedOperation.KubernetesGetOperationError"
FAILEDOPERATION_KUBERNETESINTERNAL = "FailedOperation.KubernetesInternal"
FAILEDOPERATION_MODIFYCLSCONFIG = "FailedOperation.ModifyClsConfig"
FAILEDOPERATION_MODIFYCLSINDEX = "FailedOperation.ModifyClsIndex"
FAILEDOPERATION_MODIFYCLSTOPIC = "FailedOperation.ModifyClsTopic"
INTERNALERROR_COMPONENTCLIENTHTTP = "InternalError.ComponentClientHttp"
INTERNALERROR_COMPONENTCLINETHTTP = "InternalError.ComponentClinetHttp"
INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"

func (*Client) CreateCLSLogConfigWithContext added in v1.0.816

func (c *Client) CreateCLSLogConfigWithContext(ctx context.Context, request *CreateCLSLogConfigRequest) (response *CreateCLSLogConfigResponse, err error)

CreateCLSLogConfig 创建日志采集配置

可能返回的错误码:

FAILEDOPERATION_CLUSTERSTATE = "FailedOperation.ClusterState"
FAILEDOPERATION_COMPONENTCLIENTCOMMON = "FailedOperation.ComponentClientCommon"
FAILEDOPERATION_COMPONENTCLIENTHTTP = "FailedOperation.ComponentClientHttp"
FAILEDOPERATION_COMPONENTCLIENTUNPACK = "FailedOperation.ComponentClientUnpack"
FAILEDOPERATION_CREATECLSCLIENT = "FailedOperation.CreateClsClient"
FAILEDOPERATION_CREATECLSCONFIG = "FailedOperation.CreateClsConfig"
FAILEDOPERATION_CREATECLSINDEX = "FailedOperation.CreateClsIndex"
FAILEDOPERATION_CREATECLSLOGSET = "FailedOperation.CreateClsLogSet"
FAILEDOPERATION_CREATECLSMACHINEGROUP = "FailedOperation.CreateClsMachineGroup"
FAILEDOPERATION_CREATECLSTOPIC = "FailedOperation.CreateClsTopic"
FAILEDOPERATION_GETCLSCONFIG = "FailedOperation.GetClsConfig"
FAILEDOPERATION_GETCLSCONFIGMACHINEGROUPS = "FailedOperation.GetClsConfigMachineGroups"
FAILEDOPERATION_GETCLSINDEX = "FailedOperation.GetClsIndex"
FAILEDOPERATION_GETCLSLOGSET = "FailedOperation.GetClsLogSet"
FAILEDOPERATION_GETCLSMACHINEGROUP = "FailedOperation.GetClsMachineGroup"
FAILEDOPERATION_GETCLSMACHINEGROUPCONFIGS = "FailedOperation.GetClsMachineGroupConfigs"
FAILEDOPERATION_GETCLSTOPIC = "FailedOperation.GetClsTopic"
FAILEDOPERATION_K8SCLIENTBUILDERROR = "FailedOperation.K8sClientBuildError"
FAILEDOPERATION_KUBECLIENTCONNECTION = "FailedOperation.KubeClientConnection"
FAILEDOPERATION_KUBECOMMON = "FailedOperation.KubeCommon"
FAILEDOPERATION_KUBERNETESCLIENTBUILDERROR = "FailedOperation.KubernetesClientBuildError"
FAILEDOPERATION_KUBERNETESCREATEOPERATIONERROR = "FailedOperation.KubernetesCreateOperationError"
FAILEDOPERATION_KUBERNETESGETOPERATIONERROR = "FailedOperation.KubernetesGetOperationError"
FAILEDOPERATION_KUBERNETESINTERNAL = "FailedOperation.KubernetesInternal"
FAILEDOPERATION_MODIFYCLSCONFIG = "FailedOperation.ModifyClsConfig"
FAILEDOPERATION_MODIFYCLSINDEX = "FailedOperation.ModifyClsIndex"
FAILEDOPERATION_MODIFYCLSTOPIC = "FailedOperation.ModifyClsTopic"
INTERNALERROR_COMPONENTCLIENTHTTP = "InternalError.ComponentClientHttp"
INTERNALERROR_COMPONENTCLINETHTTP = "InternalError.ComponentClinetHttp"
INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"

func (*Client) CreateCluster

func (c *Client) CreateCluster(request *CreateClusterRequest) (response *CreateClusterResponse, err error)

CreateCluster 创建集群

可能返回的错误码:

FAILEDOPERATION_ACCOUNTCOMMON = "FailedOperation.AccountCommon"
FAILEDOPERATION_ACCOUNTUSERNOTAUTHENTICATED = "FailedOperation.AccountUserNotAuthenticated"
FAILEDOPERATION_CAMNOAUTH = "FailedOperation.CamNoAuth"
FAILEDOPERATION_COMPONENTCLIENTHTTP = "FailedOperation.ComponentClientHttp"
FAILEDOPERATION_CVMCOMMON = "FailedOperation.CvmCommon"
FAILEDOPERATION_CVMNUMBERNOTMATCH = "FailedOperation.CvmNumberNotMatch"
FAILEDOPERATION_CVMVPCIDNOTMATCH = "FailedOperation.CvmVpcidNotMatch"
FAILEDOPERATION_DBRECORDNOTFOUND = "FailedOperation.DbRecordNotFound"
FAILEDOPERATION_DFWGETUSGQUOTA = "FailedOperation.DfwGetUSGQuota"
FAILEDOPERATION_NODEEXISTSSECONDARYNETWORKINTERFACE = "FailedOperation.NodeExistsSecondaryNetworkInterface"
FAILEDOPERATION_OSNOTSUPPORT = "FailedOperation.OsNotSupport"
FAILEDOPERATION_PARAM = "FailedOperation.Param"
FAILEDOPERATION_QUOTAMAXCLSLIMIT = "FailedOperation.QuotaMaxClsLimit"
FAILEDOPERATION_QUOTAMAXNODLIMIT = "FailedOperation.QuotaMaxNodLimit"
FAILEDOPERATION_QUOTAUSGLIMIT = "FailedOperation.QuotaUSGLimit"
FAILEDOPERATION_TRADECOMMON = "FailedOperation.TradeCommon"
FAILEDOPERATION_VPCCOMMON = "FailedOperation.VpcCommon"
FAILEDOPERATION_VPCRECODRNOTFOUND = "FailedOperation.VpcRecodrNotFound"
FAILEDOPERATION_WHITELISTUNEXPECTEDERROR = "FailedOperation.WhitelistUnexpectedError"
INTERNALERROR = "InternalError"
INTERNALERROR_ACCOUNTCOMMON = "InternalError.AccountCommon"
INTERNALERROR_ACCOUNTUSERNOTAUTHENTICATED = "InternalError.AccountUserNotAuthenticated"
INTERNALERROR_ASCOMMON = "InternalError.AsCommon"
INTERNALERROR_CIDRCONFLICTWITHOTHERCLUSTER = "InternalError.CidrConflictWithOtherCluster"
INTERNALERROR_CIDRCONFLICTWITHOTHERROUTE = "InternalError.CidrConflictWithOtherRoute"
INTERNALERROR_CIDRCONFLICTWITHVPCCIDR = "InternalError.CidrConflictWithVpcCidr"
INTERNALERROR_CIDRCONFLICTWITHVPCGLOBALROUTE = "InternalError.CidrConflictWithVpcGlobalRoute"
INTERNALERROR_CIDRINVALI = "InternalError.CidrInvali"
INTERNALERROR_CIDRMASKSIZEOUTOFRANGE = "InternalError.CidrMaskSizeOutOfRange"
INTERNALERROR_COMPONENTCLINETHTTP = "InternalError.ComponentClinetHttp"
INTERNALERROR_CREATEMASTERFAILED = "InternalError.CreateMasterFailed"
INTERNALERROR_CVMCOMMON = "InternalError.CvmCommon"
INTERNALERROR_CVMNUMBERNOTMATCH = "InternalError.CvmNumberNotMatch"
INTERNALERROR_CVMSTATUS = "InternalError.CvmStatus"
INTERNALERROR_DB = "InternalError.Db"
INTERNALERROR_DBAFFECTIVEDROWS = "InternalError.DbAffectivedRows"
INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound"
INTERNALERROR_DFWGETUSGCOUNT = "InternalError.DfwGetUSGCount"
INTERNALERROR_DFWGETUSGQUOTA = "InternalError.DfwGetUSGQuota"
INTERNALERROR_INITMASTERFAILED = "InternalError.InitMasterFailed"
INTERNALERROR_INVALIDPRIVATENETWORKCIDR = "InternalError.InvalidPrivateNetworkCidr"
INTERNALERROR_OSNOTSUPPORT = "InternalError.OsNotSupport"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_PUBLICCLUSTEROPNOTSUPPORT = "InternalError.PublicClusterOpNotSupport"
INTERNALERROR_QUOTAMAXCLSLIMIT = "InternalError.QuotaMaxClsLimit"
INTERNALERROR_QUOTAMAXNODLIMIT = "InternalError.QuotaMaxNodLimit"
INTERNALERROR_QUOTAUSGLIMIT = "InternalError.QuotaUSGLimit"
INTERNALERROR_TASKCREATEFAILED = "InternalError.TaskCreateFailed"
INTERNALERROR_TRADECOMMON = "InternalError.TradeCommon"
INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INTERNALERROR_VPCCOMMON = "InternalError.VpcCommon"
INTERNALERROR_VPCRECODRNOTFOUND = "InternalError.VpcRecodrNotFound"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_CIDRMASKSIZEOUTOFRANGE = "InvalidParameter.CIDRMaskSizeOutOfRange"
INVALIDPARAMETER_CIDRCONFLICTWITHOTHERCLUSTER = "InvalidParameter.CidrConflictWithOtherCluster"
INVALIDPARAMETER_CIDRCONFLICTWITHOTHERROUTE = "InvalidParameter.CidrConflictWithOtherRoute"
INVALIDPARAMETER_CIDRCONFLICTWITHVPCCIDR = "InvalidParameter.CidrConflictWithVpcCidr"
INVALIDPARAMETER_CIDRCONFLICTWITHVPCGLOBALROUTE = "InvalidParameter.CidrConflictWithVpcGlobalRoute"
INVALIDPARAMETER_CIDRINVALI = "InvalidParameter.CidrInvali"
INVALIDPARAMETER_CIDRINVALID = "InvalidParameter.CidrInvalid"
INVALIDPARAMETER_INVALIDPRIVATENETWORKCIDR = "InvalidParameter.InvalidPrivateNetworkCIDR"
LIMITEXCEEDED = "LimitExceeded"
RESOURCEINSUFFICIENT_SPECIFIEDINSTANCETYPE = "ResourceInsufficient.SpecifiedInstanceType"

func (*Client) CreateClusterEndpoint

func (c *Client) CreateClusterEndpoint(request *CreateClusterEndpointRequest) (response *CreateClusterEndpointResponse, err error)

CreateClusterEndpoint 创建集群访问端口

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_KUBECLIENTCONNECTION = "FailedOperation.KubeClientConnection"
INTERNALERROR = "InternalError"
INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth"
INTERNALERROR_CLUSTERSTATE = "InternalError.ClusterState"
INTERNALERROR_DB = "InternalError.Db"
INTERNALERROR_EMPTYCLUSTERNOTSUPPORT = "InternalError.EmptyClusterNotSupport"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
RESOURCEINUSE = "ResourceInUse"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCEUNAVAILABLE_CLUSTERSTATE = "ResourceUnavailable.ClusterState"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) CreateClusterEndpointVip

func (c *Client) CreateClusterEndpointVip(request *CreateClusterEndpointVipRequest) (response *CreateClusterEndpointVipResponse, err error)

CreateClusterEndpointVip 创建托管集群外网访问端口(不再维护,准备下线)请使用新接口:CreateClusterEndpoint

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth"
INTERNALERROR_CLUSTERNOTFOUND = "InternalError.ClusterNotFound"
INTERNALERROR_CLUSTERSTATE = "InternalError.ClusterState"
INTERNALERROR_CVMCOMMON = "InternalError.CvmCommon"
INTERNALERROR_CVMNOTFOUND = "InternalError.CvmNotFound"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER = "InvalidParameter"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
RESOURCEINUSE = "ResourceInUse"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCEUNAVAILABLE_CLUSTERSTATE = "ResourceUnavailable.ClusterState"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) CreateClusterEndpointVipWithContext added in v1.0.324

func (c *Client) CreateClusterEndpointVipWithContext(ctx context.Context, request *CreateClusterEndpointVipRequest) (response *CreateClusterEndpointVipResponse, err error)

CreateClusterEndpointVip 创建托管集群外网访问端口(不再维护,准备下线)请使用新接口:CreateClusterEndpoint

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth"
INTERNALERROR_CLUSTERNOTFOUND = "InternalError.ClusterNotFound"
INTERNALERROR_CLUSTERSTATE = "InternalError.ClusterState"
INTERNALERROR_CVMCOMMON = "InternalError.CvmCommon"
INTERNALERROR_CVMNOTFOUND = "InternalError.CvmNotFound"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER = "InvalidParameter"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
RESOURCEINUSE = "ResourceInUse"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCEUNAVAILABLE_CLUSTERSTATE = "ResourceUnavailable.ClusterState"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) CreateClusterEndpointWithContext added in v1.0.324

func (c *Client) CreateClusterEndpointWithContext(ctx context.Context, request *CreateClusterEndpointRequest) (response *CreateClusterEndpointResponse, err error)

CreateClusterEndpoint 创建集群访问端口

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_KUBECLIENTCONNECTION = "FailedOperation.KubeClientConnection"
INTERNALERROR = "InternalError"
INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth"
INTERNALERROR_CLUSTERSTATE = "InternalError.ClusterState"
INTERNALERROR_DB = "InternalError.Db"
INTERNALERROR_EMPTYCLUSTERNOTSUPPORT = "InternalError.EmptyClusterNotSupport"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
RESOURCEINUSE = "ResourceInUse"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCEUNAVAILABLE_CLUSTERSTATE = "ResourceUnavailable.ClusterState"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) CreateClusterInstances

func (c *Client) CreateClusterInstances(request *CreateClusterInstancesRequest) (response *CreateClusterInstancesResponse, err error)

CreateClusterInstances 扩展(新建)集群节点

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_ACCOUNTCOMMON = "FailedOperation.AccountCommon"
FAILEDOPERATION_CLUSTERNOTFOUND = "FailedOperation.ClusterNotFound"
FAILEDOPERATION_CLUSTERSTATE = "FailedOperation.ClusterState"
FAILEDOPERATION_CVMCOMMON = "FailedOperation.CvmCommon"
FAILEDOPERATION_DB = "FailedOperation.Db"
FAILEDOPERATION_NETWORKSCALEERROR = "FailedOperation.NetworkScaleError"
FAILEDOPERATION_PARAM = "FailedOperation.Param"
FAILEDOPERATION_QUOTAMAXNODLIMIT = "FailedOperation.QuotaMaxNodLimit"
INTERNALERROR = "InternalError"
INTERNALERROR_ACCOUNTCOMMON = "InternalError.AccountCommon"
INTERNALERROR_ACCOUNTUSERNOTAUTHENTICATED = "InternalError.AccountUserNotAuthenticated"
INTERNALERROR_CLUSTERNOTFOUND = "InternalError.ClusterNotFound"
INTERNALERROR_CLUSTERSTATE = "InternalError.ClusterState"
INTERNALERROR_COMPONENTCLINETHTTP = "InternalError.ComponentClinetHttp"
INTERNALERROR_CVMCOMMON = "InternalError.CvmCommon"
INTERNALERROR_CVMNOTFOUND = "InternalError.CvmNotFound"
INTERNALERROR_DB = "InternalError.Db"
INTERNALERROR_DBAFFECTIVEDROWS = "InternalError.DbAffectivedRows"
INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound"
INTERNALERROR_IMAGEIDNOTFOUND = "InternalError.ImageIdNotFound"
INTERNALERROR_OSNOTSUPPORT = "InternalError.OsNotSupport"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_QUOTAMAXCLSLIMIT = "InternalError.QuotaMaxClsLimit"
INTERNALERROR_QUOTAMAXNODLIMIT = "InternalError.QuotaMaxNodLimit"
INTERNALERROR_QUOTAMAXRTLIMIT = "InternalError.QuotaMaxRtLimit"
INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INTERNALERROR_VPCCOMMON = "InternalError.VpcCommon"
INTERNALERROR_VPCPEERNOTFOUND = "InternalError.VpcPeerNotFound"
INTERNALERROR_VPCRECODRNOTFOUND = "InternalError.VpcRecodrNotFound"
INVALIDPARAMETER = "InvalidParameter"
MISSINGPARAMETER = "MissingParameter"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT_SPECIFIEDINSTANCETYPE = "ResourceInsufficient.SpecifiedInstanceType"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) CreateClusterInstancesWithContext added in v1.0.324

func (c *Client) CreateClusterInstancesWithContext(ctx context.Context, request *CreateClusterInstancesRequest) (response *CreateClusterInstancesResponse, err error)

CreateClusterInstances 扩展(新建)集群节点

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_ACCOUNTCOMMON = "FailedOperation.AccountCommon"
FAILEDOPERATION_CLUSTERNOTFOUND = "FailedOperation.ClusterNotFound"
FAILEDOPERATION_CLUSTERSTATE = "FailedOperation.ClusterState"
FAILEDOPERATION_CVMCOMMON = "FailedOperation.CvmCommon"
FAILEDOPERATION_DB = "FailedOperation.Db"
FAILEDOPERATION_NETWORKSCALEERROR = "FailedOperation.NetworkScaleError"
FAILEDOPERATION_PARAM = "FailedOperation.Param"
FAILEDOPERATION_QUOTAMAXNODLIMIT = "FailedOperation.QuotaMaxNodLimit"
INTERNALERROR = "InternalError"
INTERNALERROR_ACCOUNTCOMMON = "InternalError.AccountCommon"
INTERNALERROR_ACCOUNTUSERNOTAUTHENTICATED = "InternalError.AccountUserNotAuthenticated"
INTERNALERROR_CLUSTERNOTFOUND = "InternalError.ClusterNotFound"
INTERNALERROR_CLUSTERSTATE = "InternalError.ClusterState"
INTERNALERROR_COMPONENTCLINETHTTP = "InternalError.ComponentClinetHttp"
INTERNALERROR_CVMCOMMON = "InternalError.CvmCommon"
INTERNALERROR_CVMNOTFOUND = "InternalError.CvmNotFound"
INTERNALERROR_DB = "InternalError.Db"
INTERNALERROR_DBAFFECTIVEDROWS = "InternalError.DbAffectivedRows"
INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound"
INTERNALERROR_IMAGEIDNOTFOUND = "InternalError.ImageIdNotFound"
INTERNALERROR_OSNOTSUPPORT = "InternalError.OsNotSupport"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_QUOTAMAXCLSLIMIT = "InternalError.QuotaMaxClsLimit"
INTERNALERROR_QUOTAMAXNODLIMIT = "InternalError.QuotaMaxNodLimit"
INTERNALERROR_QUOTAMAXRTLIMIT = "InternalError.QuotaMaxRtLimit"
INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INTERNALERROR_VPCCOMMON = "InternalError.VpcCommon"
INTERNALERROR_VPCPEERNOTFOUND = "InternalError.VpcPeerNotFound"
INTERNALERROR_VPCRECODRNOTFOUND = "InternalError.VpcRecodrNotFound"
INVALIDPARAMETER = "InvalidParameter"
MISSINGPARAMETER = "MissingParameter"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT_SPECIFIEDINSTANCETYPE = "ResourceInsufficient.SpecifiedInstanceType"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) CreateClusterNodePool

func (c *Client) CreateClusterNodePool(request *CreateClusterNodePoolRequest) (response *CreateClusterNodePoolResponse, err error)

CreateClusterNodePool 创建节点池

可能返回的错误码:

FAILEDOPERATION_ASCOMMON = "FailedOperation.AsCommon"
FAILEDOPERATION_COMPONENTCLIENTHTTP = "FailedOperation.ComponentClientHttp"
FAILEDOPERATION_POLICYSERVERCOMMONERROR = "FailedOperation.PolicyServerCommonError"
FAILEDOPERATION_UNEXPECTEDERROR = "FailedOperation.UnexpectedError"
INTERNALERROR_ASCOMMON = "InternalError.AsCommon"
INTERNALERROR_COMPONENTCLIENTHTTP = "InternalError.ComponentClientHttp"
INTERNALERROR_DB = "InternalError.Db"
INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER_OSNOTSUPPORT = "InvalidParameter.OsNotSupport"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCENOTFOUND_ASASGNOTEXIST = "ResourceNotFound.AsAsgNotExist"
RESOURCEUNAVAILABLE_CLUSTERSTATE = "ResourceUnavailable.ClusterState"

func (*Client) CreateClusterNodePoolWithContext added in v1.0.324

func (c *Client) CreateClusterNodePoolWithContext(ctx context.Context, request *CreateClusterNodePoolRequest) (response *CreateClusterNodePoolResponse, err error)

CreateClusterNodePool 创建节点池

可能返回的错误码:

FAILEDOPERATION_ASCOMMON = "FailedOperation.AsCommon"
FAILEDOPERATION_COMPONENTCLIENTHTTP = "FailedOperation.ComponentClientHttp"
FAILEDOPERATION_POLICYSERVERCOMMONERROR = "FailedOperation.PolicyServerCommonError"
FAILEDOPERATION_UNEXPECTEDERROR = "FailedOperation.UnexpectedError"
INTERNALERROR_ASCOMMON = "InternalError.AsCommon"
INTERNALERROR_COMPONENTCLIENTHTTP = "InternalError.ComponentClientHttp"
INTERNALERROR_DB = "InternalError.Db"
INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER_OSNOTSUPPORT = "InvalidParameter.OsNotSupport"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCENOTFOUND_ASASGNOTEXIST = "ResourceNotFound.AsAsgNotExist"
RESOURCEUNAVAILABLE_CLUSTERSTATE = "ResourceUnavailable.ClusterState"

func (*Client) CreateClusterRelease added in v1.0.550

func (c *Client) CreateClusterRelease(request *CreateClusterReleaseRequest) (response *CreateClusterReleaseResponse, err error)

CreateClusterRelease 集群创建应用

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_MARKETGETAUTHFAILED = "FailedOperation.MarketGetAuthFailed"
FAILEDOPERATION_MARKETRELEASEOPERATION = "FailedOperation.MarketReleaseOperation"
INTERNALERROR = "InternalError"
INTERNALERROR_MARKETGETAUTHFAILED = "InternalError.MarketGetAuthFailed"
INTERNALERROR_MARKETINTERNALSERVERERROR = "InternalError.MarketInternalServerError"
INTERNALERROR_MARKETRELEASEOPERATION = "InternalError.MarketReleaseOperation"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
MISSINGPARAMETER = "MissingParameter"
UNKNOWNPARAMETER = "UnknownParameter"

func (*Client) CreateClusterReleaseWithContext added in v1.0.550

func (c *Client) CreateClusterReleaseWithContext(ctx context.Context, request *CreateClusterReleaseRequest) (response *CreateClusterReleaseResponse, err error)

CreateClusterRelease 集群创建应用

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_MARKETGETAUTHFAILED = "FailedOperation.MarketGetAuthFailed"
FAILEDOPERATION_MARKETRELEASEOPERATION = "FailedOperation.MarketReleaseOperation"
INTERNALERROR = "InternalError"
INTERNALERROR_MARKETGETAUTHFAILED = "InternalError.MarketGetAuthFailed"
INTERNALERROR_MARKETINTERNALSERVERERROR = "InternalError.MarketInternalServerError"
INTERNALERROR_MARKETRELEASEOPERATION = "InternalError.MarketReleaseOperation"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
MISSINGPARAMETER = "MissingParameter"
UNKNOWNPARAMETER = "UnknownParameter"

func (*Client) CreateClusterRoute

func (c *Client) CreateClusterRoute(request *CreateClusterRouteRequest) (response *CreateClusterRouteResponse, err error)

CreateClusterRoute 创建集群路由

可能返回的错误码:

FAILEDOPERATION_VPCCOMMON = "FailedOperation.VpcCommon"
INTERNALERROR_CIDRCONFLICTWITHOTHERROUTE = "InternalError.CidrConflictWithOtherRoute"
INTERNALERROR_CIDROUTOFROUTETABLE = "InternalError.CidrOutOfRouteTable"
INTERNALERROR_CVMNOTFOUND = "InternalError.CvmNotFound"
INTERNALERROR_DB = "InternalError.Db"
INTERNALERROR_GATEWAYALREADYASSOCIATEDCIDR = "InternalError.GatewayAlreadyAssociatedCidr"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_ROUTETABLENOTFOUND = "InternalError.RouteTableNotFound"
INTERNALERROR_VPCCOMMON = "InternalError.VpcCommon"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_CIDRCONFLICTWITHOTHERROUTE = "InvalidParameter.CidrConflictWithOtherRoute"
INVALIDPARAMETER_CIDROUTOFROUTETABLE = "InvalidParameter.CidrOutOfRouteTable"
INVALIDPARAMETER_GATEWAYALREADYASSOCIATEDCIDR = "InvalidParameter.GatewayAlreadyAssociatedCidr"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
RESOURCENOTFOUND_ROUTETABLENOTFOUND = "ResourceNotFound.RouteTableNotFound"

func (*Client) CreateClusterRouteTable

func (c *Client) CreateClusterRouteTable(request *CreateClusterRouteTableRequest) (response *CreateClusterRouteTableResponse, err error)

CreateClusterRouteTable 创建集群路由表

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INTERNALERROR_CIDRCONFLICTWITHOTHERCLUSTER = "InternalError.CidrConflictWithOtherCluster"
INTERNALERROR_CIDRCONFLICTWITHOTHERROUTE = "InternalError.CidrConflictWithOtherRoute"
INTERNALERROR_CIDRCONFLICTWITHVPCCIDR = "InternalError.CidrConflictWithVpcCidr"
INTERNALERROR_CIDRCONFLICTWITHVPCGLOBALROUTE = "InternalError.CidrConflictWithVpcGlobalRoute"
INTERNALERROR_DB = "InternalError.Db"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_QUOTAMAXRTLIMIT = "InternalError.QuotaMaxRtLimit"
INTERNALERROR_RESOURCEEXISTALREADY = "InternalError.ResourceExistAlready"
INTERNALERROR_VPCCOMMON = "InternalError.VpcCommon"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_CIDRCONFLICTWITHOTHERROUTE = "InvalidParameter.CidrConflictWithOtherRoute"
INVALIDPARAMETER_CIDRCONFLICTWITHVPCCIDR = "InvalidParameter.CidrConflictWithVpcCidr"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
RESOURCEINUSE_RESOURCEEXISTALREADY = "ResourceInUse.ResourceExistAlready"

func (*Client) CreateClusterRouteTableWithContext added in v1.0.324

func (c *Client) CreateClusterRouteTableWithContext(ctx context.Context, request *CreateClusterRouteTableRequest) (response *CreateClusterRouteTableResponse, err error)

CreateClusterRouteTable 创建集群路由表

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INTERNALERROR_CIDRCONFLICTWITHOTHERCLUSTER = "InternalError.CidrConflictWithOtherCluster"
INTERNALERROR_CIDRCONFLICTWITHOTHERROUTE = "InternalError.CidrConflictWithOtherRoute"
INTERNALERROR_CIDRCONFLICTWITHVPCCIDR = "InternalError.CidrConflictWithVpcCidr"
INTERNALERROR_CIDRCONFLICTWITHVPCGLOBALROUTE = "InternalError.CidrConflictWithVpcGlobalRoute"
INTERNALERROR_DB = "InternalError.Db"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_QUOTAMAXRTLIMIT = "InternalError.QuotaMaxRtLimit"
INTERNALERROR_RESOURCEEXISTALREADY = "InternalError.ResourceExistAlready"
INTERNALERROR_VPCCOMMON = "InternalError.VpcCommon"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_CIDRCONFLICTWITHOTHERROUTE = "InvalidParameter.CidrConflictWithOtherRoute"
INVALIDPARAMETER_CIDRCONFLICTWITHVPCCIDR = "InvalidParameter.CidrConflictWithVpcCidr"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
RESOURCEINUSE_RESOURCEEXISTALREADY = "ResourceInUse.ResourceExistAlready"

func (*Client) CreateClusterRouteWithContext added in v1.0.324

func (c *Client) CreateClusterRouteWithContext(ctx context.Context, request *CreateClusterRouteRequest) (response *CreateClusterRouteResponse, err error)

CreateClusterRoute 创建集群路由

可能返回的错误码:

FAILEDOPERATION_VPCCOMMON = "FailedOperation.VpcCommon"
INTERNALERROR_CIDRCONFLICTWITHOTHERROUTE = "InternalError.CidrConflictWithOtherRoute"
INTERNALERROR_CIDROUTOFROUTETABLE = "InternalError.CidrOutOfRouteTable"
INTERNALERROR_CVMNOTFOUND = "InternalError.CvmNotFound"
INTERNALERROR_DB = "InternalError.Db"
INTERNALERROR_GATEWAYALREADYASSOCIATEDCIDR = "InternalError.GatewayAlreadyAssociatedCidr"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_ROUTETABLENOTFOUND = "InternalError.RouteTableNotFound"
INTERNALERROR_VPCCOMMON = "InternalError.VpcCommon"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_CIDRCONFLICTWITHOTHERROUTE = "InvalidParameter.CidrConflictWithOtherRoute"
INVALIDPARAMETER_CIDROUTOFROUTETABLE = "InvalidParameter.CidrOutOfRouteTable"
INVALIDPARAMETER_GATEWAYALREADYASSOCIATEDCIDR = "InvalidParameter.GatewayAlreadyAssociatedCidr"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
RESOURCENOTFOUND_ROUTETABLENOTFOUND = "ResourceNotFound.RouteTableNotFound"

func (*Client) CreateClusterVirtualNode added in v1.0.575

func (c *Client) CreateClusterVirtualNode(request *CreateClusterVirtualNodeRequest) (response *CreateClusterVirtualNodeResponse, err error)

CreateClusterVirtualNode 创建按量计费超级节点

可能返回的错误码:

INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
INVALIDPARAMETER_SUBNETINVALIDERROR = "InvalidParameter.SubnetInvalidError"
RESOURCEINUSE_SUBNETALREADYEXIST = "ResourceInUse.SubnetAlreadyExist"
RESOURCEUNAVAILABLE_NODEPOOLSTATENOTNORMAL = "ResourceUnavailable.NodePoolStateNotNormal"
UNSUPPORTEDOPERATION_NOTINWHITELIST = "UnsupportedOperation.NotInWhitelist"
UNSUPPORTEDOPERATION_NOTSUPPORTINSTALLVIRTUALKUBELET = "UnsupportedOperation.NotSupportInstallVirtualKubelet"

func (*Client) CreateClusterVirtualNodePool added in v1.0.575

func (c *Client) CreateClusterVirtualNodePool(request *CreateClusterVirtualNodePoolRequest) (response *CreateClusterVirtualNodePoolResponse, err error)

CreateClusterVirtualNodePool 创建超级节点池

可能返回的错误码:

INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
INVALIDPARAMETER_SUBNETINVALIDERROR = "InvalidParameter.SubnetInvalidError"
INVALIDPARAMETER_SUBNETNOTEXIST = "InvalidParameter.SubnetNotExist"
RESOURCEINUSE_SUBNETALREADYEXIST = "ResourceInUse.SubnetAlreadyExist"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE_CLUSTERSTATE = "ResourceUnavailable.ClusterState"
UNAUTHORIZEDOPERATION_CAMNOAUTH = "UnauthorizedOperation.CamNoAuth"
UNSUPPORTEDOPERATION_NOTSUPPORTINSTALLVIRTUALKUBELET = "UnsupportedOperation.NotSupportInstallVirtualKubelet"

func (*Client) CreateClusterVirtualNodePoolWithContext added in v1.0.575

func (c *Client) CreateClusterVirtualNodePoolWithContext(ctx context.Context, request *CreateClusterVirtualNodePoolRequest) (response *CreateClusterVirtualNodePoolResponse, err error)

CreateClusterVirtualNodePool 创建超级节点池

可能返回的错误码:

INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
INVALIDPARAMETER_SUBNETINVALIDERROR = "InvalidParameter.SubnetInvalidError"
INVALIDPARAMETER_SUBNETNOTEXIST = "InvalidParameter.SubnetNotExist"
RESOURCEINUSE_SUBNETALREADYEXIST = "ResourceInUse.SubnetAlreadyExist"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE_CLUSTERSTATE = "ResourceUnavailable.ClusterState"
UNAUTHORIZEDOPERATION_CAMNOAUTH = "UnauthorizedOperation.CamNoAuth"
UNSUPPORTEDOPERATION_NOTSUPPORTINSTALLVIRTUALKUBELET = "UnsupportedOperation.NotSupportInstallVirtualKubelet"

func (*Client) CreateClusterVirtualNodeWithContext added in v1.0.575

func (c *Client) CreateClusterVirtualNodeWithContext(ctx context.Context, request *CreateClusterVirtualNodeRequest) (response *CreateClusterVirtualNodeResponse, err error)

CreateClusterVirtualNode 创建按量计费超级节点

可能返回的错误码:

INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
INVALIDPARAMETER_SUBNETINVALIDERROR = "InvalidParameter.SubnetInvalidError"
RESOURCEINUSE_SUBNETALREADYEXIST = "ResourceInUse.SubnetAlreadyExist"
RESOURCEUNAVAILABLE_NODEPOOLSTATENOTNORMAL = "ResourceUnavailable.NodePoolStateNotNormal"
UNSUPPORTEDOPERATION_NOTINWHITELIST = "UnsupportedOperation.NotInWhitelist"
UNSUPPORTEDOPERATION_NOTSUPPORTINSTALLVIRTUALKUBELET = "UnsupportedOperation.NotSupportInstallVirtualKubelet"

func (*Client) CreateClusterWithContext added in v1.0.324

func (c *Client) CreateClusterWithContext(ctx context.Context, request *CreateClusterRequest) (response *CreateClusterResponse, err error)

CreateCluster 创建集群

可能返回的错误码:

FAILEDOPERATION_ACCOUNTCOMMON = "FailedOperation.AccountCommon"
FAILEDOPERATION_ACCOUNTUSERNOTAUTHENTICATED = "FailedOperation.AccountUserNotAuthenticated"
FAILEDOPERATION_CAMNOAUTH = "FailedOperation.CamNoAuth"
FAILEDOPERATION_COMPONENTCLIENTHTTP = "FailedOperation.ComponentClientHttp"
FAILEDOPERATION_CVMCOMMON = "FailedOperation.CvmCommon"
FAILEDOPERATION_CVMNUMBERNOTMATCH = "FailedOperation.CvmNumberNotMatch"
FAILEDOPERATION_CVMVPCIDNOTMATCH = "FailedOperation.CvmVpcidNotMatch"
FAILEDOPERATION_DBRECORDNOTFOUND = "FailedOperation.DbRecordNotFound"
FAILEDOPERATION_DFWGETUSGQUOTA = "FailedOperation.DfwGetUSGQuota"
FAILEDOPERATION_NODEEXISTSSECONDARYNETWORKINTERFACE = "FailedOperation.NodeExistsSecondaryNetworkInterface"
FAILEDOPERATION_OSNOTSUPPORT = "FailedOperation.OsNotSupport"
FAILEDOPERATION_PARAM = "FailedOperation.Param"
FAILEDOPERATION_QUOTAMAXCLSLIMIT = "FailedOperation.QuotaMaxClsLimit"
FAILEDOPERATION_QUOTAMAXNODLIMIT = "FailedOperation.QuotaMaxNodLimit"
FAILEDOPERATION_QUOTAUSGLIMIT = "FailedOperation.QuotaUSGLimit"
FAILEDOPERATION_TRADECOMMON = "FailedOperation.TradeCommon"
FAILEDOPERATION_VPCCOMMON = "FailedOperation.VpcCommon"
FAILEDOPERATION_VPCRECODRNOTFOUND = "FailedOperation.VpcRecodrNotFound"
FAILEDOPERATION_WHITELISTUNEXPECTEDERROR = "FailedOperation.WhitelistUnexpectedError"
INTERNALERROR = "InternalError"
INTERNALERROR_ACCOUNTCOMMON = "InternalError.AccountCommon"
INTERNALERROR_ACCOUNTUSERNOTAUTHENTICATED = "InternalError.AccountUserNotAuthenticated"
INTERNALERROR_ASCOMMON = "InternalError.AsCommon"
INTERNALERROR_CIDRCONFLICTWITHOTHERCLUSTER = "InternalError.CidrConflictWithOtherCluster"
INTERNALERROR_CIDRCONFLICTWITHOTHERROUTE = "InternalError.CidrConflictWithOtherRoute"
INTERNALERROR_CIDRCONFLICTWITHVPCCIDR = "InternalError.CidrConflictWithVpcCidr"
INTERNALERROR_CIDRCONFLICTWITHVPCGLOBALROUTE = "InternalError.CidrConflictWithVpcGlobalRoute"
INTERNALERROR_CIDRINVALI = "InternalError.CidrInvali"
INTERNALERROR_CIDRMASKSIZEOUTOFRANGE = "InternalError.CidrMaskSizeOutOfRange"
INTERNALERROR_COMPONENTCLINETHTTP = "InternalError.ComponentClinetHttp"
INTERNALERROR_CREATEMASTERFAILED = "InternalError.CreateMasterFailed"
INTERNALERROR_CVMCOMMON = "InternalError.CvmCommon"
INTERNALERROR_CVMNUMBERNOTMATCH = "InternalError.CvmNumberNotMatch"
INTERNALERROR_CVMSTATUS = "InternalError.CvmStatus"
INTERNALERROR_DB = "InternalError.Db"
INTERNALERROR_DBAFFECTIVEDROWS = "InternalError.DbAffectivedRows"
INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound"
INTERNALERROR_DFWGETUSGCOUNT = "InternalError.DfwGetUSGCount"
INTERNALERROR_DFWGETUSGQUOTA = "InternalError.DfwGetUSGQuota"
INTERNALERROR_INITMASTERFAILED = "InternalError.InitMasterFailed"
INTERNALERROR_INVALIDPRIVATENETWORKCIDR = "InternalError.InvalidPrivateNetworkCidr"
INTERNALERROR_OSNOTSUPPORT = "InternalError.OsNotSupport"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_PUBLICCLUSTEROPNOTSUPPORT = "InternalError.PublicClusterOpNotSupport"
INTERNALERROR_QUOTAMAXCLSLIMIT = "InternalError.QuotaMaxClsLimit"
INTERNALERROR_QUOTAMAXNODLIMIT = "InternalError.QuotaMaxNodLimit"
INTERNALERROR_QUOTAUSGLIMIT = "InternalError.QuotaUSGLimit"
INTERNALERROR_TASKCREATEFAILED = "InternalError.TaskCreateFailed"
INTERNALERROR_TRADECOMMON = "InternalError.TradeCommon"
INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INTERNALERROR_VPCCOMMON = "InternalError.VpcCommon"
INTERNALERROR_VPCRECODRNOTFOUND = "InternalError.VpcRecodrNotFound"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_CIDRMASKSIZEOUTOFRANGE = "InvalidParameter.CIDRMaskSizeOutOfRange"
INVALIDPARAMETER_CIDRCONFLICTWITHOTHERCLUSTER = "InvalidParameter.CidrConflictWithOtherCluster"
INVALIDPARAMETER_CIDRCONFLICTWITHOTHERROUTE = "InvalidParameter.CidrConflictWithOtherRoute"
INVALIDPARAMETER_CIDRCONFLICTWITHVPCCIDR = "InvalidParameter.CidrConflictWithVpcCidr"
INVALIDPARAMETER_CIDRCONFLICTWITHVPCGLOBALROUTE = "InvalidParameter.CidrConflictWithVpcGlobalRoute"
INVALIDPARAMETER_CIDRINVALI = "InvalidParameter.CidrInvali"
INVALIDPARAMETER_CIDRINVALID = "InvalidParameter.CidrInvalid"
INVALIDPARAMETER_INVALIDPRIVATENETWORKCIDR = "InvalidParameter.InvalidPrivateNetworkCIDR"
LIMITEXCEEDED = "LimitExceeded"
RESOURCEINSUFFICIENT_SPECIFIEDINSTANCETYPE = "ResourceInsufficient.SpecifiedInstanceType"

func (*Client) CreateECMInstances added in v1.0.412

func (c *Client) CreateECMInstances(request *CreateECMInstancesRequest) (response *CreateECMInstancesResponse, err error)

CreateECMInstances 创建边缘计算ECM机器

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth"
INVALIDPARAMETER = "InvalidParameter"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
RESOURCEINUSE = "ResourceInUse"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) CreateECMInstancesWithContext added in v1.0.412

func (c *Client) CreateECMInstancesWithContext(ctx context.Context, request *CreateECMInstancesRequest) (response *CreateECMInstancesResponse, err error)

CreateECMInstances 创建边缘计算ECM机器

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth"
INVALIDPARAMETER = "InvalidParameter"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
RESOURCEINUSE = "ResourceInUse"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) CreateEKSCluster

func (c *Client) CreateEKSCluster(request *CreateEKSClusterRequest) (response *CreateEKSClusterResponse, err error)

CreateEKSCluster 创建弹性集群

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
RESOURCEINUSE = "ResourceInUse"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_CAMNOAUTH = "UnauthorizedOperation.CamNoAuth"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) CreateEKSClusterWithContext added in v1.0.324

func (c *Client) CreateEKSClusterWithContext(ctx context.Context, request *CreateEKSClusterRequest) (response *CreateEKSClusterResponse, err error)

CreateEKSCluster 创建弹性集群

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
RESOURCEINUSE = "ResourceInUse"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_CAMNOAUTH = "UnauthorizedOperation.CamNoAuth"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) CreateEKSContainerInstances added in v1.0.254

func (c *Client) CreateEKSContainerInstances(request *CreateEKSContainerInstancesRequest) (response *CreateEKSContainerInstancesResponse, err error)

CreateEKSContainerInstances 创建容器实例

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth"
INTERNALERROR_CMDTIMEOUT = "InternalError.CmdTimeout"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal"
INVALIDPARAMETER = "InvalidParameter"

func (*Client) CreateEKSContainerInstancesWithContext added in v1.0.324

func (c *Client) CreateEKSContainerInstancesWithContext(ctx context.Context, request *CreateEKSContainerInstancesRequest) (response *CreateEKSContainerInstancesResponse, err error)

CreateEKSContainerInstances 创建容器实例

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth"
INTERNALERROR_CMDTIMEOUT = "InternalError.CmdTimeout"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal"
INVALIDPARAMETER = "InvalidParameter"

func (*Client) CreateEdgeCVMInstances added in v1.0.476

func (c *Client) CreateEdgeCVMInstances(request *CreateEdgeCVMInstancesRequest) (response *CreateEdgeCVMInstancesResponse, err error)

CreateEdgeCVMInstances 创建边缘容器CVM机器

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth"
INVALIDPARAMETER = "InvalidParameter"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
RESOURCEINUSE = "ResourceInUse"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) CreateEdgeCVMInstancesWithContext added in v1.0.476

func (c *Client) CreateEdgeCVMInstancesWithContext(ctx context.Context, request *CreateEdgeCVMInstancesRequest) (response *CreateEdgeCVMInstancesResponse, err error)

CreateEdgeCVMInstances 创建边缘容器CVM机器

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth"
INVALIDPARAMETER = "InvalidParameter"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
RESOURCEINUSE = "ResourceInUse"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) CreateEdgeLogConfig added in v1.0.450

func (c *Client) CreateEdgeLogConfig(request *CreateEdgeLogConfigRequest) (response *CreateEdgeLogConfigResponse, err error)

CreateEdgeLogConfig 创建边缘集群日志采集配置

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) CreateEdgeLogConfigWithContext added in v1.0.450

func (c *Client) CreateEdgeLogConfigWithContext(ctx context.Context, request *CreateEdgeLogConfigRequest) (response *CreateEdgeLogConfigResponse, err error)

CreateEdgeLogConfig 创建边缘集群日志采集配置

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) CreateEksLogConfig added in v1.0.816

func (c *Client) CreateEksLogConfig(request *CreateEksLogConfigRequest) (response *CreateEksLogConfigResponse, err error)

CreateEksLogConfig 为弹性集群创建日志采集配置

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
FAILEDOPERATION_COMPONENTCLIENTCOMMON = "FailedOperation.ComponentClientCommon"
FAILEDOPERATION_COMPONENTCLIENTUNPACK = "FailedOperation.ComponentClientUnpack"
FAILEDOPERATION_CREATECLSTOPIC = "FailedOperation.CreateClsTopic"
FAILEDOPERATION_GETCLSTOPIC = "FailedOperation.GetClsTopic"
FAILEDOPERATION_KUBERNETESCLIENTBUILDERROR = "FailedOperation.KubernetesClientBuildError"
FAILEDOPERATION_KUBERNETESCREATEOPERATIONERROR = "FailedOperation.KubernetesCreateOperationError"
FAILEDOPERATION_KUBERNETESGETOPERATIONERROR = "FailedOperation.KubernetesGetOperationError"
INTERNALERROR = "InternalError"
INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) CreateEksLogConfigWithContext added in v1.0.816

func (c *Client) CreateEksLogConfigWithContext(ctx context.Context, request *CreateEksLogConfigRequest) (response *CreateEksLogConfigResponse, err error)

CreateEksLogConfig 为弹性集群创建日志采集配置

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
FAILEDOPERATION_COMPONENTCLIENTCOMMON = "FailedOperation.ComponentClientCommon"
FAILEDOPERATION_COMPONENTCLIENTUNPACK = "FailedOperation.ComponentClientUnpack"
FAILEDOPERATION_CREATECLSTOPIC = "FailedOperation.CreateClsTopic"
FAILEDOPERATION_GETCLSTOPIC = "FailedOperation.GetClsTopic"
FAILEDOPERATION_KUBERNETESCLIENTBUILDERROR = "FailedOperation.KubernetesClientBuildError"
FAILEDOPERATION_KUBERNETESCREATEOPERATIONERROR = "FailedOperation.KubernetesCreateOperationError"
FAILEDOPERATION_KUBERNETESGETOPERATIONERROR = "FailedOperation.KubernetesGetOperationError"
INTERNALERROR = "InternalError"
INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) CreateImageCache added in v1.0.363

func (c *Client) CreateImageCache(request *CreateImageCacheRequest) (response *CreateImageCacheResponse, err error)

CreateImageCache 创建镜像缓存的接口。创建过程中,请勿删除EKSCI实例和云盘,否则镜像缓存将创建失败。

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"

func (*Client) CreateImageCacheWithContext added in v1.0.363

func (c *Client) CreateImageCacheWithContext(ctx context.Context, request *CreateImageCacheRequest) (response *CreateImageCacheResponse, err error)

CreateImageCache 创建镜像缓存的接口。创建过程中,请勿删除EKSCI实例和云盘,否则镜像缓存将创建失败。

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"

func (*Client) CreatePrometheusAlertPolicy added in v1.0.401

func (c *Client) CreatePrometheusAlertPolicy(request *CreatePrometheusAlertPolicyRequest) (response *CreatePrometheusAlertPolicyResponse, err error)

CreatePrometheusAlertPolicy 创建告警策略

可能返回的错误码:

FAILEDOPERATION_COMPONENTCLIENTCOMMON = "FailedOperation.ComponentClientCommon"
FAILEDOPERATION_COMPONENTCLIENTUNPACK = "FailedOperation.ComponentClientUnpack"
FAILEDOPERATION_KUBECLIENTCONF = "FailedOperation.KubeClientConf"
FAILEDOPERATION_KUBECOMMON = "FailedOperation.KubeCommon"
INTERNALERROR = "InternalError"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
INVALIDPARAMETER_PROMCLUSTERNOTFOUND = "InvalidParameter.PromClusterNotFound"
INVALIDPARAMETER_PROMINSTANCENOTFOUND = "InvalidParameter.PromInstanceNotFound"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) CreatePrometheusAlertPolicyWithContext added in v1.0.401

func (c *Client) CreatePrometheusAlertPolicyWithContext(ctx context.Context, request *CreatePrometheusAlertPolicyRequest) (response *CreatePrometheusAlertPolicyResponse, err error)

CreatePrometheusAlertPolicy 创建告警策略

可能返回的错误码:

FAILEDOPERATION_COMPONENTCLIENTCOMMON = "FailedOperation.ComponentClientCommon"
FAILEDOPERATION_COMPONENTCLIENTUNPACK = "FailedOperation.ComponentClientUnpack"
FAILEDOPERATION_KUBECLIENTCONF = "FailedOperation.KubeClientConf"
FAILEDOPERATION_KUBECOMMON = "FailedOperation.KubeCommon"
INTERNALERROR = "InternalError"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
INVALIDPARAMETER_PROMCLUSTERNOTFOUND = "InvalidParameter.PromClusterNotFound"
INVALIDPARAMETER_PROMINSTANCENOTFOUND = "InvalidParameter.PromInstanceNotFound"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) CreatePrometheusAlertRule added in v1.0.218

func (c *Client) CreatePrometheusAlertRule(request *CreatePrometheusAlertRuleRequest) (response *CreatePrometheusAlertRuleResponse, err error)

CreatePrometheusAlertRule 创建告警规则

可能返回的错误码:

INTERNALERROR = "InternalError"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
INVALIDPARAMETER_PROMINSTANCENOTFOUND = "InvalidParameter.PromInstanceNotFound"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) CreatePrometheusAlertRuleWithContext added in v1.0.324

func (c *Client) CreatePrometheusAlertRuleWithContext(ctx context.Context, request *CreatePrometheusAlertRuleRequest) (response *CreatePrometheusAlertRuleResponse, err error)

CreatePrometheusAlertRule 创建告警规则

可能返回的错误码:

INTERNALERROR = "InternalError"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
INVALIDPARAMETER_PROMINSTANCENOTFOUND = "InvalidParameter.PromInstanceNotFound"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) CreatePrometheusClusterAgent added in v1.0.432

func (c *Client) CreatePrometheusClusterAgent(request *CreatePrometheusClusterAgentRequest) (response *CreatePrometheusClusterAgentResponse, err error)

CreatePrometheusClusterAgent 与云监控融合的2.0实例关联集群

可能返回的错误码:

FAILEDOPERATION_COMPONENTCLIENTCOMMON = "FailedOperation.ComponentClientCommon"
FAILEDOPERATION_COMPONENTCLIENTHTTP = "FailedOperation.ComponentClientHttp"
FAILEDOPERATION_COMPONENTCLIENTUNPACK = "FailedOperation.ComponentClientUnpack"
INTERNALERROR = "InternalError"
INTERNALERROR_DB = "InternalError.Db"
INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
INVALIDPARAMETER_PROMINSTANCENOTFOUND = "InvalidParameter.PromInstanceNotFound"

func (*Client) CreatePrometheusClusterAgentWithContext added in v1.0.432

func (c *Client) CreatePrometheusClusterAgentWithContext(ctx context.Context, request *CreatePrometheusClusterAgentRequest) (response *CreatePrometheusClusterAgentResponse, err error)

CreatePrometheusClusterAgent 与云监控融合的2.0实例关联集群

可能返回的错误码:

FAILEDOPERATION_COMPONENTCLIENTCOMMON = "FailedOperation.ComponentClientCommon"
FAILEDOPERATION_COMPONENTCLIENTHTTP = "FailedOperation.ComponentClientHttp"
FAILEDOPERATION_COMPONENTCLIENTUNPACK = "FailedOperation.ComponentClientUnpack"
INTERNALERROR = "InternalError"
INTERNALERROR_DB = "InternalError.Db"
INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
INVALIDPARAMETER_PROMINSTANCENOTFOUND = "InvalidParameter.PromInstanceNotFound"

func (*Client) CreatePrometheusConfig added in v1.0.432

func (c *Client) CreatePrometheusConfig(request *CreatePrometheusConfigRequest) (response *CreatePrometheusConfigResponse, err error)

CreatePrometheusConfig 创建prometheus配置

可能返回的错误码:

FAILEDOPERATION_COMPONENTCLIENTHTTP = "FailedOperation.ComponentClientHttp"
FAILEDOPERATION_KUBECOMMON = "FailedOperation.KubeCommon"
INTERNALERROR = "InternalError"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_CLUSTERNOTFOUND = "InvalidParameter.ClusterNotFound"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
INVALIDPARAMETER_PROMCLUSTERNOTFOUND = "InvalidParameter.PromClusterNotFound"
RESOURCEINUSE_RESOURCEEXISTALREADY = "ResourceInUse.ResourceExistAlready"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) CreatePrometheusConfigWithContext added in v1.0.432

func (c *Client) CreatePrometheusConfigWithContext(ctx context.Context, request *CreatePrometheusConfigRequest) (response *CreatePrometheusConfigResponse, err error)

CreatePrometheusConfig 创建prometheus配置

可能返回的错误码:

FAILEDOPERATION_COMPONENTCLIENTHTTP = "FailedOperation.ComponentClientHttp"
FAILEDOPERATION_KUBECOMMON = "FailedOperation.KubeCommon"
INTERNALERROR = "InternalError"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_CLUSTERNOTFOUND = "InvalidParameter.ClusterNotFound"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
INVALIDPARAMETER_PROMCLUSTERNOTFOUND = "InvalidParameter.PromClusterNotFound"
RESOURCEINUSE_RESOURCEEXISTALREADY = "ResourceInUse.ResourceExistAlready"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) CreatePrometheusDashboard

func (c *Client) CreatePrometheusDashboard(request *CreatePrometheusDashboardRequest) (response *CreatePrometheusDashboardResponse, err error)

CreatePrometheusDashboard 创建grafana监控面板

可能返回的错误码:

FAILEDOPERATION_COMPONENTCLIENTHTTP = "FailedOperation.ComponentClientHttp"
FAILEDOPERATION_COMPONENTCLIENTUNPACK = "FailedOperation.ComponentClientUnpack"
FAILEDOPERATION_KUBECOMMON = "FailedOperation.KubeCommon"
INTERNALERROR = "InternalError"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_CLUSTERNOTFOUND = "InvalidParameter.ClusterNotFound"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
INVALIDPARAMETER_PROMINSTANCENOTFOUND = "InvalidParameter.PromInstanceNotFound"

func (*Client) CreatePrometheusDashboardWithContext added in v1.0.324

func (c *Client) CreatePrometheusDashboardWithContext(ctx context.Context, request *CreatePrometheusDashboardRequest) (response *CreatePrometheusDashboardResponse, err error)

CreatePrometheusDashboard 创建grafana监控面板

可能返回的错误码:

FAILEDOPERATION_COMPONENTCLIENTHTTP = "FailedOperation.ComponentClientHttp"
FAILEDOPERATION_COMPONENTCLIENTUNPACK = "FailedOperation.ComponentClientUnpack"
FAILEDOPERATION_KUBECOMMON = "FailedOperation.KubeCommon"
INTERNALERROR = "InternalError"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_CLUSTERNOTFOUND = "InvalidParameter.ClusterNotFound"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
INVALIDPARAMETER_PROMINSTANCENOTFOUND = "InvalidParameter.PromInstanceNotFound"

func (*Client) CreatePrometheusGlobalNotification added in v1.0.403

func (c *Client) CreatePrometheusGlobalNotification(request *CreatePrometheusGlobalNotificationRequest) (response *CreatePrometheusGlobalNotificationResponse, err error)

CreatePrometheusGlobalNotification 创建全局告警通知渠道

可能返回的错误码:

INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
INVALIDPARAMETER_PROMINSTANCENOTFOUND = "InvalidParameter.PromInstanceNotFound"

func (*Client) CreatePrometheusGlobalNotificationWithContext added in v1.0.403

func (c *Client) CreatePrometheusGlobalNotificationWithContext(ctx context.Context, request *CreatePrometheusGlobalNotificationRequest) (response *CreatePrometheusGlobalNotificationResponse, err error)

CreatePrometheusGlobalNotification 创建全局告警通知渠道

可能返回的错误码:

INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
INVALIDPARAMETER_PROMINSTANCENOTFOUND = "InvalidParameter.PromInstanceNotFound"

func (*Client) CreatePrometheusRecordRuleYaml added in v1.0.432

func (c *Client) CreatePrometheusRecordRuleYaml(request *CreatePrometheusRecordRuleYamlRequest) (response *CreatePrometheusRecordRuleYamlResponse, err error)

CreatePrometheusRecordRuleYaml 以Yaml的方式创建聚合规则

可能返回的错误码:

FAILEDOPERATION_COMPONENTCLIENTUNPACK = "FailedOperation.ComponentClientUnpack"
FAILEDOPERATION_KUBECOMMON = "FailedOperation.KubeCommon"
INTERNALERROR = "InternalError"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_CLUSTERNOTFOUND = "InvalidParameter.ClusterNotFound"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
INVALIDPARAMETER_PROMINSTANCENOTFOUND = "InvalidParameter.PromInstanceNotFound"
UNKNOWNPARAMETER = "UnknownParameter"

func (*Client) CreatePrometheusRecordRuleYamlWithContext added in v1.0.432

func (c *Client) CreatePrometheusRecordRuleYamlWithContext(ctx context.Context, request *CreatePrometheusRecordRuleYamlRequest) (response *CreatePrometheusRecordRuleYamlResponse, err error)

CreatePrometheusRecordRuleYaml 以Yaml的方式创建聚合规则

可能返回的错误码:

FAILEDOPERATION_COMPONENTCLIENTUNPACK = "FailedOperation.ComponentClientUnpack"
FAILEDOPERATION_KUBECOMMON = "FailedOperation.KubeCommon"
INTERNALERROR = "InternalError"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_CLUSTERNOTFOUND = "InvalidParameter.ClusterNotFound"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
INVALIDPARAMETER_PROMINSTANCENOTFOUND = "InvalidParameter.PromInstanceNotFound"
UNKNOWNPARAMETER = "UnknownParameter"

func (*Client) CreatePrometheusTemp added in v1.0.401

func (c *Client) CreatePrometheusTemp(request *CreatePrometheusTempRequest) (response *CreatePrometheusTempResponse, err error)

CreatePrometheusTemp 创建一个云原生Prometheus模板

可能返回的错误码:

INTERNALERROR = "InternalError"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"

func (*Client) CreatePrometheusTempWithContext added in v1.0.401

func (c *Client) CreatePrometheusTempWithContext(ctx context.Context, request *CreatePrometheusTempRequest) (response *CreatePrometheusTempResponse, err error)

CreatePrometheusTemp 创建一个云原生Prometheus模板

可能返回的错误码:

INTERNALERROR = "InternalError"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"

func (*Client) CreatePrometheusTemplate

func (c *Client) CreatePrometheusTemplate(request *CreatePrometheusTemplateRequest) (response *CreatePrometheusTemplateResponse, err error)

CreatePrometheusTemplate 创建一个云原生Prometheus模板实例

可能返回的错误码:

INTERNALERROR = "InternalError"
INTERNALERROR_PARAM = "InternalError.Param"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"

func (*Client) CreatePrometheusTemplateWithContext added in v1.0.324

func (c *Client) CreatePrometheusTemplateWithContext(ctx context.Context, request *CreatePrometheusTemplateRequest) (response *CreatePrometheusTemplateResponse, err error)

CreatePrometheusTemplate 创建一个云原生Prometheus模板实例

可能返回的错误码:

INTERNALERROR = "InternalError"
INTERNALERROR_PARAM = "InternalError.Param"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"

func (*Client) CreateReservedInstances added in v1.0.759

func (c *Client) CreateReservedInstances(request *CreateReservedInstancesRequest) (response *CreateReservedInstancesResponse, err error)

CreateReservedInstances 预留券实例的购买会预先扣除本次实例购买所需金额,在调用本接口前请确保账户余额充足。

可能返回的错误码:

INTERNALERROR_INSUFFICIENTBALANCE = "InternalError.InsufficientBalance"
INTERNALERROR_NOPAYMENTACCESS = "InternalError.NoPaymentAccess"
INTERNALERROR_NOTVERIFIED = "InternalError.NotVerified"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_TRADECOMMON = "InternalError.TradeCommon"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"

func (*Client) CreateReservedInstancesWithContext added in v1.0.759

func (c *Client) CreateReservedInstancesWithContext(ctx context.Context, request *CreateReservedInstancesRequest) (response *CreateReservedInstancesResponse, err error)

CreateReservedInstances 预留券实例的购买会预先扣除本次实例购买所需金额,在调用本接口前请确保账户余额充足。

可能返回的错误码:

INTERNALERROR_INSUFFICIENTBALANCE = "InternalError.InsufficientBalance"
INTERNALERROR_NOPAYMENTACCESS = "InternalError.NoPaymentAccess"
INTERNALERROR_NOTVERIFIED = "InternalError.NotVerified"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_TRADECOMMON = "InternalError.TradeCommon"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"

func (*Client) CreateTKEEdgeCluster added in v1.0.412

func (c *Client) CreateTKEEdgeCluster(request *CreateTKEEdgeClusterRequest) (response *CreateTKEEdgeClusterResponse, err error)

CreateTKEEdgeCluster 创建边缘计算集群

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
RESOURCEINUSE = "ResourceInUse"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) CreateTKEEdgeClusterWithContext added in v1.0.412

func (c *Client) CreateTKEEdgeClusterWithContext(ctx context.Context, request *CreateTKEEdgeClusterRequest) (response *CreateTKEEdgeClusterResponse, err error)

CreateTKEEdgeCluster 创建边缘计算集群

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
RESOURCEINUSE = "ResourceInUse"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DeleteAddon added in v1.0.684

func (c *Client) DeleteAddon(request *DeleteAddonRequest) (response *DeleteAddonResponse, err error)

DeleteAddon 删除一个addon

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
RESOURCEINUSE = "ResourceInUse"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DeleteAddonWithContext added in v1.0.684

func (c *Client) DeleteAddonWithContext(ctx context.Context, request *DeleteAddonRequest) (response *DeleteAddonResponse, err error)

DeleteAddon 删除一个addon

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
RESOURCEINUSE = "ResourceInUse"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DeleteBackupStorageLocation added in v1.0.644

func (c *Client) DeleteBackupStorageLocation(request *DeleteBackupStorageLocationRequest) (response *DeleteBackupStorageLocationResponse, err error)

DeleteBackupStorageLocation 删除备份仓库

可能返回的错误码:

INVALIDPARAMETER = "InvalidParameter"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNKNOWNPARAMETER = "UnknownParameter"

func (*Client) DeleteBackupStorageLocationWithContext added in v1.0.644

func (c *Client) DeleteBackupStorageLocationWithContext(ctx context.Context, request *DeleteBackupStorageLocationRequest) (response *DeleteBackupStorageLocationResponse, err error)

DeleteBackupStorageLocation 删除备份仓库

可能返回的错误码:

INVALIDPARAMETER = "InvalidParameter"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNKNOWNPARAMETER = "UnknownParameter"

func (*Client) DeleteCluster

func (c *Client) DeleteCluster(request *DeleteClusterRequest) (response *DeleteClusterResponse, err error)

DeleteCluster 删除集群(YUNAPI V3版本)

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_CAMNOAUTH = "FailedOperation.CamNoAuth"
FAILEDOPERATION_CLUSTERFORBIDDENTODELETE = "FailedOperation.ClusterForbiddenToDelete"
FAILEDOPERATION_CLUSTERNOTFOUND = "FailedOperation.ClusterNotFound"
FAILEDOPERATION_CLUSTERSTATE = "FailedOperation.ClusterState"
FAILEDOPERATION_COMPONENTCLIENTCOMMON = "FailedOperation.ComponentClientCommon"
FAILEDOPERATION_COMPONENTCLIENTHTTP = "FailedOperation.ComponentClientHttp"
FAILEDOPERATION_CVMCOMMON = "FailedOperation.CvmCommon"
FAILEDOPERATION_PARAM = "FailedOperation.Param"
FAILEDOPERATION_TAGCOMMON = "FailedOperation.TagCommon"
FAILEDOPERATION_VPCCOMMON = "FailedOperation.VpcCommon"
INTERNALERROR = "InternalError"
INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth"
INTERNALERROR_CLUSTERNOTFOUND = "InternalError.ClusterNotFound"
INTERNALERROR_CLUSTERSTATE = "InternalError.ClusterState"
INTERNALERROR_COMPONENTCLINETHTTP = "InternalError.ComponentClinetHttp"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_PUBLICCLUSTEROPNOTSUPPORT = "InternalError.PublicClusterOpNotSupport"
INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal"
INVALIDPARAMETER = "InvalidParameter"
OPERATIONDENIED_CLUSTERINDELETIONPROTECTION = "OperationDenied.ClusterInDeletionProtection"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"

func (*Client) DeleteClusterAsGroups

func (c *Client) DeleteClusterAsGroups(request *DeleteClusterAsGroupsRequest) (response *DeleteClusterAsGroupsResponse, err error)

DeleteClusterAsGroups 删除集群伸缩组

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_CLUSTERNOTFOUND = "FailedOperation.ClusterNotFound"
FAILEDOPERATION_CLUSTERSTATE = "FailedOperation.ClusterState"
FAILEDOPERATION_PARAM = "FailedOperation.Param"
INTERNALERROR = "InternalError"
INTERNALERROR_ACCOUNTUSERNOTAUTHENTICATED = "InternalError.AccountUserNotAuthenticated"
INTERNALERROR_ASCOMMON = "InternalError.AsCommon"
INTERNALERROR_CLUSTERNOTFOUND = "InternalError.ClusterNotFound"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_PUBLICCLUSTEROPNOTSUPPORT = "InternalError.PublicClusterOpNotSupport"
INTERNALERROR_QUOTAMAXCLSLIMIT = "InternalError.QuotaMaxClsLimit"
INTERNALERROR_QUOTAMAXNODLIMIT = "InternalError.QuotaMaxNodLimit"
INTERNALERROR_QUOTAMAXRTLIMIT = "InternalError.QuotaMaxRtLimit"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_ASCOMMONERROR = "InvalidParameter.AsCommonError"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
LIMITEXCEEDED = "LimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCENOTFOUND = "ResourceNotFound"
UNKNOWNPARAMETER = "UnknownParameter"

func (*Client) DeleteClusterAsGroupsWithContext added in v1.0.324

func (c *Client) DeleteClusterAsGroupsWithContext(ctx context.Context, request *DeleteClusterAsGroupsRequest) (response *DeleteClusterAsGroupsResponse, err error)

DeleteClusterAsGroups 删除集群伸缩组

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_CLUSTERNOTFOUND = "FailedOperation.ClusterNotFound"
FAILEDOPERATION_CLUSTERSTATE = "FailedOperation.ClusterState"
FAILEDOPERATION_PARAM = "FailedOperation.Param"
INTERNALERROR = "InternalError"
INTERNALERROR_ACCOUNTUSERNOTAUTHENTICATED = "InternalError.AccountUserNotAuthenticated"
INTERNALERROR_ASCOMMON = "InternalError.AsCommon"
INTERNALERROR_CLUSTERNOTFOUND = "InternalError.ClusterNotFound"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_PUBLICCLUSTEROPNOTSUPPORT = "InternalError.PublicClusterOpNotSupport"
INTERNALERROR_QUOTAMAXCLSLIMIT = "InternalError.QuotaMaxClsLimit"
INTERNALERROR_QUOTAMAXNODLIMIT = "InternalError.QuotaMaxNodLimit"
INTERNALERROR_QUOTAMAXRTLIMIT = "InternalError.QuotaMaxRtLimit"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_ASCOMMONERROR = "InvalidParameter.AsCommonError"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
LIMITEXCEEDED = "LimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCENOTFOUND = "ResourceNotFound"
UNKNOWNPARAMETER = "UnknownParameter"

func (*Client) DeleteClusterEndpoint

func (c *Client) DeleteClusterEndpoint(request *DeleteClusterEndpointRequest) (response *DeleteClusterEndpointResponse, err error)

DeleteClusterEndpoint 删除集群访问端口

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INTERNALERROR_ACCOUNTUSERNOTAUTHENTICATED = "InternalError.AccountUserNotAuthenticated"
INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth"
INTERNALERROR_CLUSTERNOTFOUND = "InternalError.ClusterNotFound"
INTERNALERROR_CLUSTERSTATE = "InternalError.ClusterState"
INTERNALERROR_CVMCOMMON = "InternalError.CvmCommon"
INTERNALERROR_CVMNOTFOUND = "InternalError.CvmNotFound"
INTERNALERROR_DB = "InternalError.Db"
INTERNALERROR_KUBECOMMON = "InternalError.KubeCommon"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER = "InvalidParameter"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
RESOURCEINUSE = "ResourceInUse"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DeleteClusterEndpointVip

func (c *Client) DeleteClusterEndpointVip(request *DeleteClusterEndpointVipRequest) (response *DeleteClusterEndpointVipResponse, err error)

DeleteClusterEndpointVip 删除托管集群外网访问端口(老的方式,仅支持托管集群外网端口)

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth"
INTERNALERROR_DB = "InternalError.Db"
INTERNALERROR_DBAFFECTIVEDROWS = "InternalError.DbAffectivedRows"
INTERNALERROR_DFWGETUSGCOUNT = "InternalError.DfwGetUSGCount"
INTERNALERROR_DFWGETUSGQUOTA = "InternalError.DfwGetUSGQuota"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
RESOURCEINUSE = "ResourceInUse"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DeleteClusterEndpointVipWithContext added in v1.0.324

func (c *Client) DeleteClusterEndpointVipWithContext(ctx context.Context, request *DeleteClusterEndpointVipRequest) (response *DeleteClusterEndpointVipResponse, err error)

DeleteClusterEndpointVip 删除托管集群外网访问端口(老的方式,仅支持托管集群外网端口)

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth"
INTERNALERROR_DB = "InternalError.Db"
INTERNALERROR_DBAFFECTIVEDROWS = "InternalError.DbAffectivedRows"
INTERNALERROR_DFWGETUSGCOUNT = "InternalError.DfwGetUSGCount"
INTERNALERROR_DFWGETUSGQUOTA = "InternalError.DfwGetUSGQuota"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
RESOURCEINUSE = "ResourceInUse"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DeleteClusterEndpointWithContext added in v1.0.324

func (c *Client) DeleteClusterEndpointWithContext(ctx context.Context, request *DeleteClusterEndpointRequest) (response *DeleteClusterEndpointResponse, err error)

DeleteClusterEndpoint 删除集群访问端口

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INTERNALERROR_ACCOUNTUSERNOTAUTHENTICATED = "InternalError.AccountUserNotAuthenticated"
INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth"
INTERNALERROR_CLUSTERNOTFOUND = "InternalError.ClusterNotFound"
INTERNALERROR_CLUSTERSTATE = "InternalError.ClusterState"
INTERNALERROR_CVMCOMMON = "InternalError.CvmCommon"
INTERNALERROR_CVMNOTFOUND = "InternalError.CvmNotFound"
INTERNALERROR_DB = "InternalError.Db"
INTERNALERROR_KUBECOMMON = "InternalError.KubeCommon"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER = "InvalidParameter"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
RESOURCEINUSE = "ResourceInUse"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DeleteClusterInstances

func (c *Client) DeleteClusterInstances(request *DeleteClusterInstancesRequest) (response *DeleteClusterInstancesResponse, err error)

DeleteClusterInstances 删除集群中的实例

可能返回的错误码:

FAILEDOPERATION_ASCOMMON = "FailedOperation.AsCommon"
FAILEDOPERATION_CLUSTERNOTFOUND = "FailedOperation.ClusterNotFound"
FAILEDOPERATION_CLUSTERSTATE = "FailedOperation.ClusterState"
FAILEDOPERATION_DBRECORDNOTFOUND = "FailedOperation.DbRecordNotFound"
FAILEDOPERATION_PARAM = "FailedOperation.Param"
INTERNALERROR = "InternalError"
INTERNALERROR_ASCOMMON = "InternalError.AsCommon"
INTERNALERROR_CLUSTERNOTFOUND = "InternalError.ClusterNotFound"
INTERNALERROR_CLUSTERSTATE = "InternalError.ClusterState"
INTERNALERROR_DB = "InternalError.Db"
INTERNALERROR_DBAFFECTIVEDROWS = "InternalError.DbAffectivedRows"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_PUBLICCLUSTEROPNOTSUPPORT = "InternalError.PublicClusterOpNotSupport"
INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal"
INVALIDPARAMETER = "InvalidParameter"
LIMITEXCEEDED = "LimitExceeded"

func (*Client) DeleteClusterInstancesWithContext added in v1.0.324

func (c *Client) DeleteClusterInstancesWithContext(ctx context.Context, request *DeleteClusterInstancesRequest) (response *DeleteClusterInstancesResponse, err error)

DeleteClusterInstances 删除集群中的实例

可能返回的错误码:

FAILEDOPERATION_ASCOMMON = "FailedOperation.AsCommon"
FAILEDOPERATION_CLUSTERNOTFOUND = "FailedOperation.ClusterNotFound"
FAILEDOPERATION_CLUSTERSTATE = "FailedOperation.ClusterState"
FAILEDOPERATION_DBRECORDNOTFOUND = "FailedOperation.DbRecordNotFound"
FAILEDOPERATION_PARAM = "FailedOperation.Param"
INTERNALERROR = "InternalError"
INTERNALERROR_ASCOMMON = "InternalError.AsCommon"
INTERNALERROR_CLUSTERNOTFOUND = "InternalError.ClusterNotFound"
INTERNALERROR_CLUSTERSTATE = "InternalError.ClusterState"
INTERNALERROR_DB = "InternalError.Db"
INTERNALERROR_DBAFFECTIVEDROWS = "InternalError.DbAffectivedRows"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_PUBLICCLUSTEROPNOTSUPPORT = "InternalError.PublicClusterOpNotSupport"
INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal"
INVALIDPARAMETER = "InvalidParameter"
LIMITEXCEEDED = "LimitExceeded"

func (*Client) DeleteClusterNodePool

func (c *Client) DeleteClusterNodePool(request *DeleteClusterNodePoolRequest) (response *DeleteClusterNodePoolResponse, err error)

DeleteClusterNodePool 删除节点池

可能返回的错误码:

FAILEDOPERATION_RECORDNOTFOUND = "FailedOperation.RecordNotFound"
INTERNALERROR_DB = "InternalError.Db"
INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DeleteClusterNodePoolWithContext added in v1.0.324

func (c *Client) DeleteClusterNodePoolWithContext(ctx context.Context, request *DeleteClusterNodePoolRequest) (response *DeleteClusterNodePoolResponse, err error)

DeleteClusterNodePool 删除节点池

可能返回的错误码:

FAILEDOPERATION_RECORDNOTFOUND = "FailedOperation.RecordNotFound"
INTERNALERROR_DB = "InternalError.Db"
INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DeleteClusterRoute

func (c *Client) DeleteClusterRoute(request *DeleteClusterRouteRequest) (response *DeleteClusterRouteResponse, err error)

DeleteClusterRoute 删除集群路由

可能返回的错误码:

FAILEDOPERATION_PARAM = "FailedOperation.Param"
FAILEDOPERATION_VPCCOMMON = "FailedOperation.VpcCommon"
INTERNALERROR = "InternalError"
INTERNALERROR_DB = "InternalError.Db"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_ROUTETABLENOTFOUND = "InternalError.RouteTableNotFound"
INTERNALERROR_VPCCOMMON = "InternalError.VpcCommon"
INVALIDPARAMETER = "InvalidParameter"

func (*Client) DeleteClusterRouteTable

func (c *Client) DeleteClusterRouteTable(request *DeleteClusterRouteTableRequest) (response *DeleteClusterRouteTableResponse, err error)

DeleteClusterRouteTable 删除集群路由表

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INTERNALERROR_DB = "InternalError.Db"
INTERNALERROR_ROUTETABLENOTEMPTY = "InternalError.RouteTableNotEmpty"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_ROUTETABLENOTEMPTY = "InvalidParameter.RouteTableNotEmpty"

func (*Client) DeleteClusterRouteTableWithContext added in v1.0.324

func (c *Client) DeleteClusterRouteTableWithContext(ctx context.Context, request *DeleteClusterRouteTableRequest) (response *DeleteClusterRouteTableResponse, err error)

DeleteClusterRouteTable 删除集群路由表

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INTERNALERROR_DB = "InternalError.Db"
INTERNALERROR_ROUTETABLENOTEMPTY = "InternalError.RouteTableNotEmpty"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_ROUTETABLENOTEMPTY = "InvalidParameter.RouteTableNotEmpty"

func (*Client) DeleteClusterRouteWithContext added in v1.0.324

func (c *Client) DeleteClusterRouteWithContext(ctx context.Context, request *DeleteClusterRouteRequest) (response *DeleteClusterRouteResponse, err error)

DeleteClusterRoute 删除集群路由

可能返回的错误码:

FAILEDOPERATION_PARAM = "FailedOperation.Param"
FAILEDOPERATION_VPCCOMMON = "FailedOperation.VpcCommon"
INTERNALERROR = "InternalError"
INTERNALERROR_DB = "InternalError.Db"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_ROUTETABLENOTFOUND = "InternalError.RouteTableNotFound"
INTERNALERROR_VPCCOMMON = "InternalError.VpcCommon"
INVALIDPARAMETER = "InvalidParameter"

func (*Client) DeleteClusterVirtualNode added in v1.0.575

func (c *Client) DeleteClusterVirtualNode(request *DeleteClusterVirtualNodeRequest) (response *DeleteClusterVirtualNodeResponse, err error)

DeleteClusterVirtualNode 删除超级节点

可能返回的错误码:

INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
RESOURCEINUSE_EXISTRUNNINGPOD = "ResourceInUse.ExistRunningPod"
RESOURCEUNAVAILABLE_CLUSTERSTATE = "ResourceUnavailable.ClusterState"

func (*Client) DeleteClusterVirtualNodePool added in v1.0.575

func (c *Client) DeleteClusterVirtualNodePool(request *DeleteClusterVirtualNodePoolRequest) (response *DeleteClusterVirtualNodePoolResponse, err error)

DeleteClusterVirtualNodePool 删除超级节点池

可能返回的错误码:

FAILEDOPERATION_RECORDNOTFOUND = "FailedOperation.RecordNotFound"
INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
RESOURCEINUSE_EXISTRUNNINGPOD = "ResourceInUse.ExistRunningPod"
RESOURCEUNAVAILABLE_CLUSTERSTATE = "ResourceUnavailable.ClusterState"

func (*Client) DeleteClusterVirtualNodePoolWithContext added in v1.0.575

func (c *Client) DeleteClusterVirtualNodePoolWithContext(ctx context.Context, request *DeleteClusterVirtualNodePoolRequest) (response *DeleteClusterVirtualNodePoolResponse, err error)

DeleteClusterVirtualNodePool 删除超级节点池

可能返回的错误码:

FAILEDOPERATION_RECORDNOTFOUND = "FailedOperation.RecordNotFound"
INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
RESOURCEINUSE_EXISTRUNNINGPOD = "ResourceInUse.ExistRunningPod"
RESOURCEUNAVAILABLE_CLUSTERSTATE = "ResourceUnavailable.ClusterState"

func (*Client) DeleteClusterVirtualNodeWithContext added in v1.0.575

func (c *Client) DeleteClusterVirtualNodeWithContext(ctx context.Context, request *DeleteClusterVirtualNodeRequest) (response *DeleteClusterVirtualNodeResponse, err error)

DeleteClusterVirtualNode 删除超级节点

可能返回的错误码:

INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
RESOURCEINUSE_EXISTRUNNINGPOD = "ResourceInUse.ExistRunningPod"
RESOURCEUNAVAILABLE_CLUSTERSTATE = "ResourceUnavailable.ClusterState"

func (*Client) DeleteClusterWithContext added in v1.0.324

func (c *Client) DeleteClusterWithContext(ctx context.Context, request *DeleteClusterRequest) (response *DeleteClusterResponse, err error)

DeleteCluster 删除集群(YUNAPI V3版本)

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_CAMNOAUTH = "FailedOperation.CamNoAuth"
FAILEDOPERATION_CLUSTERFORBIDDENTODELETE = "FailedOperation.ClusterForbiddenToDelete"
FAILEDOPERATION_CLUSTERNOTFOUND = "FailedOperation.ClusterNotFound"
FAILEDOPERATION_CLUSTERSTATE = "FailedOperation.ClusterState"
FAILEDOPERATION_COMPONENTCLIENTCOMMON = "FailedOperation.ComponentClientCommon"
FAILEDOPERATION_COMPONENTCLIENTHTTP = "FailedOperation.ComponentClientHttp"
FAILEDOPERATION_CVMCOMMON = "FailedOperation.CvmCommon"
FAILEDOPERATION_PARAM = "FailedOperation.Param"
FAILEDOPERATION_TAGCOMMON = "FailedOperation.TagCommon"
FAILEDOPERATION_VPCCOMMON = "FailedOperation.VpcCommon"
INTERNALERROR = "InternalError"
INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth"
INTERNALERROR_CLUSTERNOTFOUND = "InternalError.ClusterNotFound"
INTERNALERROR_CLUSTERSTATE = "InternalError.ClusterState"
INTERNALERROR_COMPONENTCLINETHTTP = "InternalError.ComponentClinetHttp"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_PUBLICCLUSTEROPNOTSUPPORT = "InternalError.PublicClusterOpNotSupport"
INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal"
INVALIDPARAMETER = "InvalidParameter"
OPERATIONDENIED_CLUSTERINDELETIONPROTECTION = "OperationDenied.ClusterInDeletionProtection"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"

func (*Client) DeleteECMInstances added in v1.0.412

func (c *Client) DeleteECMInstances(request *DeleteECMInstancesRequest) (response *DeleteECMInstancesResponse, err error)

DeleteECMInstances 删除ECM实例

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth"
INVALIDPARAMETER = "InvalidParameter"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
RESOURCEINUSE = "ResourceInUse"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DeleteECMInstancesWithContext added in v1.0.412

func (c *Client) DeleteECMInstancesWithContext(ctx context.Context, request *DeleteECMInstancesRequest) (response *DeleteECMInstancesResponse, err error)

DeleteECMInstances 删除ECM实例

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth"
INVALIDPARAMETER = "InvalidParameter"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
RESOURCEINUSE = "ResourceInUse"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DeleteEKSCluster

func (c *Client) DeleteEKSCluster(request *DeleteEKSClusterRequest) (response *DeleteEKSClusterResponse, err error)

DeleteEKSCluster 删除弹性集群(yunapiv3)

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
RESOURCEINUSE = "ResourceInUse"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_CAMNOAUTH = "UnauthorizedOperation.CamNoAuth"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DeleteEKSClusterWithContext added in v1.0.324

func (c *Client) DeleteEKSClusterWithContext(ctx context.Context, request *DeleteEKSClusterRequest) (response *DeleteEKSClusterResponse, err error)

DeleteEKSCluster 删除弹性集群(yunapiv3)

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
RESOURCEINUSE = "ResourceInUse"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_CAMNOAUTH = "UnauthorizedOperation.CamNoAuth"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DeleteEKSContainerInstances added in v1.0.254

func (c *Client) DeleteEKSContainerInstances(request *DeleteEKSContainerInstancesRequest) (response *DeleteEKSContainerInstancesResponse, err error)

DeleteEKSContainerInstances 删除容器实例,可批量删除

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth"
INTERNALERROR_CONTAINERNOTFOUND = "InternalError.ContainerNotFound"
INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal"
INVALIDPARAMETER = "InvalidParameter"
LIMITEXCEEDED = "LimitExceeded"
RESOURCENOTFOUND = "ResourceNotFound"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DeleteEKSContainerInstancesWithContext added in v1.0.324

func (c *Client) DeleteEKSContainerInstancesWithContext(ctx context.Context, request *DeleteEKSContainerInstancesRequest) (response *DeleteEKSContainerInstancesResponse, err error)

DeleteEKSContainerInstances 删除容器实例,可批量删除

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth"
INTERNALERROR_CONTAINERNOTFOUND = "InternalError.ContainerNotFound"
INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal"
INVALIDPARAMETER = "InvalidParameter"
LIMITEXCEEDED = "LimitExceeded"
RESOURCENOTFOUND = "ResourceNotFound"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DeleteEdgeCVMInstances added in v1.0.412

func (c *Client) DeleteEdgeCVMInstances(request *DeleteEdgeCVMInstancesRequest) (response *DeleteEdgeCVMInstancesResponse, err error)

DeleteEdgeCVMInstances 删除边缘容器CVM实例

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth"
INVALIDPARAMETER = "InvalidParameter"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
RESOURCEINUSE = "ResourceInUse"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DeleteEdgeCVMInstancesWithContext added in v1.0.412

func (c *Client) DeleteEdgeCVMInstancesWithContext(ctx context.Context, request *DeleteEdgeCVMInstancesRequest) (response *DeleteEdgeCVMInstancesResponse, err error)

DeleteEdgeCVMInstances 删除边缘容器CVM实例

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth"
INVALIDPARAMETER = "InvalidParameter"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
RESOURCEINUSE = "ResourceInUse"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DeleteEdgeClusterInstances added in v1.0.412

func (c *Client) DeleteEdgeClusterInstances(request *DeleteEdgeClusterInstancesRequest) (response *DeleteEdgeClusterInstancesResponse, err error)

DeleteEdgeClusterInstances 删除边缘计算实例

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth"
INVALIDPARAMETER = "InvalidParameter"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
RESOURCEINUSE = "ResourceInUse"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCENOTFOUND_CLUSTERNOTFOUND = "ResourceNotFound.ClusterNotFound"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DeleteEdgeClusterInstancesWithContext added in v1.0.412

func (c *Client) DeleteEdgeClusterInstancesWithContext(ctx context.Context, request *DeleteEdgeClusterInstancesRequest) (response *DeleteEdgeClusterInstancesResponse, err error)

DeleteEdgeClusterInstances 删除边缘计算实例

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth"
INVALIDPARAMETER = "InvalidParameter"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
RESOURCEINUSE = "ResourceInUse"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCENOTFOUND_CLUSTERNOTFOUND = "ResourceNotFound.ClusterNotFound"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DeleteImageCaches added in v1.0.363

func (c *Client) DeleteImageCaches(request *DeleteImageCachesRequest) (response *DeleteImageCachesResponse, err error)

DeleteImageCaches 批量删除镜像缓存

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DeleteImageCachesWithContext added in v1.0.363

func (c *Client) DeleteImageCachesWithContext(ctx context.Context, request *DeleteImageCachesRequest) (response *DeleteImageCachesResponse, err error)

DeleteImageCaches 批量删除镜像缓存

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DeletePrometheusAlertPolicy added in v1.0.401

func (c *Client) DeletePrometheusAlertPolicy(request *DeletePrometheusAlertPolicyRequest) (response *DeletePrometheusAlertPolicyResponse, err error)

DeletePrometheusAlertPolicy 删除2.0实例告警策略

可能返回的错误码:

FAILEDOPERATION_COMPONENTCLIENTCOMMON = "FailedOperation.ComponentClientCommon"
INTERNALERROR = "InternalError"
INTERNALERROR_PARAM = "InternalError.Param"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_PROMINSTANCENOTFOUND = "InvalidParameter.PromInstanceNotFound"

func (*Client) DeletePrometheusAlertPolicyWithContext added in v1.0.401

func (c *Client) DeletePrometheusAlertPolicyWithContext(ctx context.Context, request *DeletePrometheusAlertPolicyRequest) (response *DeletePrometheusAlertPolicyResponse, err error)

DeletePrometheusAlertPolicy 删除2.0实例告警策略

可能返回的错误码:

FAILEDOPERATION_COMPONENTCLIENTCOMMON = "FailedOperation.ComponentClientCommon"
INTERNALERROR = "InternalError"
INTERNALERROR_PARAM = "InternalError.Param"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_PROMINSTANCENOTFOUND = "InvalidParameter.PromInstanceNotFound"

func (*Client) DeletePrometheusAlertRule added in v1.0.218

func (c *Client) DeletePrometheusAlertRule(request *DeletePrometheusAlertRuleRequest) (response *DeletePrometheusAlertRuleResponse, err error)

DeletePrometheusAlertRule 删除告警规则

可能返回的错误码:

FAILEDOPERATION_COMPONENTCLIENTHTTP = "FailedOperation.ComponentClientHttp"
INTERNALERROR = "InternalError"
INTERNALERROR_PARAM = "InternalError.Param"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_PROMINSTANCENOTFOUND = "InvalidParameter.PromInstanceNotFound"

func (*Client) DeletePrometheusAlertRuleWithContext added in v1.0.324

func (c *Client) DeletePrometheusAlertRuleWithContext(ctx context.Context, request *DeletePrometheusAlertRuleRequest) (response *DeletePrometheusAlertRuleResponse, err error)

DeletePrometheusAlertRule 删除告警规则

可能返回的错误码:

FAILEDOPERATION_COMPONENTCLIENTHTTP = "FailedOperation.ComponentClientHttp"
INTERNALERROR = "InternalError"
INTERNALERROR_PARAM = "InternalError.Param"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_PROMINSTANCENOTFOUND = "InvalidParameter.PromInstanceNotFound"

func (*Client) DeletePrometheusClusterAgent added in v1.0.432

func (c *Client) DeletePrometheusClusterAgent(request *DeletePrometheusClusterAgentRequest) (response *DeletePrometheusClusterAgentResponse, err error)

DeletePrometheusClusterAgent 解除TMP实例的集群关联

可能返回的错误码:

FAILEDOPERATION_DBRECORDNOTFOUND = "FailedOperation.DbRecordNotFound"
FAILEDOPERATION_KUBECLIENTCONF = "FailedOperation.KubeClientConf"
FAILEDOPERATION_KUBECOMMON = "FailedOperation.KubeCommon"
INTERNALERROR = "InternalError"
INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_CLUSTERNOTFOUND = "InvalidParameter.ClusterNotFound"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
INVALIDPARAMETER_PROMCLUSTERNOTFOUND = "InvalidParameter.PromClusterNotFound"
INVALIDPARAMETER_PROMINSTANCENOTFOUND = "InvalidParameter.PromInstanceNotFound"

func (*Client) DeletePrometheusClusterAgentWithContext added in v1.0.432

func (c *Client) DeletePrometheusClusterAgentWithContext(ctx context.Context, request *DeletePrometheusClusterAgentRequest) (response *DeletePrometheusClusterAgentResponse, err error)

DeletePrometheusClusterAgent 解除TMP实例的集群关联

可能返回的错误码:

FAILEDOPERATION_DBRECORDNOTFOUND = "FailedOperation.DbRecordNotFound"
FAILEDOPERATION_KUBECLIENTCONF = "FailedOperation.KubeClientConf"
FAILEDOPERATION_KUBECOMMON = "FailedOperation.KubeCommon"
INTERNALERROR = "InternalError"
INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_CLUSTERNOTFOUND = "InvalidParameter.ClusterNotFound"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
INVALIDPARAMETER_PROMCLUSTERNOTFOUND = "InvalidParameter.PromClusterNotFound"
INVALIDPARAMETER_PROMINSTANCENOTFOUND = "InvalidParameter.PromInstanceNotFound"

func (*Client) DeletePrometheusConfig added in v1.0.432

func (c *Client) DeletePrometheusConfig(request *DeletePrometheusConfigRequest) (response *DeletePrometheusConfigResponse, err error)

DeletePrometheusConfig 删除Prometheus配置,如果目标不存在,将返回成功

可能返回的错误码:

FAILEDOPERATION_KUBECOMMON = "FailedOperation.KubeCommon"
INTERNALERROR = "InternalError"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER_CLUSTERNOTFOUND = "InvalidParameter.ClusterNotFound"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
INVALIDPARAMETER_PROMCLUSTERNOTFOUND = "InvalidParameter.PromClusterNotFound"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DeletePrometheusConfigWithContext added in v1.0.432

func (c *Client) DeletePrometheusConfigWithContext(ctx context.Context, request *DeletePrometheusConfigRequest) (response *DeletePrometheusConfigResponse, err error)

DeletePrometheusConfig 删除Prometheus配置,如果目标不存在,将返回成功

可能返回的错误码:

FAILEDOPERATION_KUBECOMMON = "FailedOperation.KubeCommon"
INTERNALERROR = "InternalError"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER_CLUSTERNOTFOUND = "InvalidParameter.ClusterNotFound"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
INVALIDPARAMETER_PROMCLUSTERNOTFOUND = "InvalidParameter.PromClusterNotFound"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DeletePrometheusRecordRuleYaml added in v1.0.432

func (c *Client) DeletePrometheusRecordRuleYaml(request *DeletePrometheusRecordRuleYamlRequest) (response *DeletePrometheusRecordRuleYamlResponse, err error)

DeletePrometheusRecordRuleYaml 删除聚合实例

可能返回的错误码:

FAILEDOPERATION_KUBECOMMON = "FailedOperation.KubeCommon"
INTERNALERROR = "InternalError"
INTERNALERROR_PARAM = "InternalError.Param"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
INVALIDPARAMETER_PROMINSTANCENOTFOUND = "InvalidParameter.PromInstanceNotFound"

func (*Client) DeletePrometheusRecordRuleYamlWithContext added in v1.0.432

func (c *Client) DeletePrometheusRecordRuleYamlWithContext(ctx context.Context, request *DeletePrometheusRecordRuleYamlRequest) (response *DeletePrometheusRecordRuleYamlResponse, err error)

DeletePrometheusRecordRuleYaml 删除聚合实例

可能返回的错误码:

FAILEDOPERATION_KUBECOMMON = "FailedOperation.KubeCommon"
INTERNALERROR = "InternalError"
INTERNALERROR_PARAM = "InternalError.Param"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
INVALIDPARAMETER_PROMINSTANCENOTFOUND = "InvalidParameter.PromInstanceNotFound"

func (*Client) DeletePrometheusTemp added in v1.0.401

func (c *Client) DeletePrometheusTemp(request *DeletePrometheusTempRequest) (response *DeletePrometheusTempResponse, err error)

DeletePrometheusTemp 删除一个云原生Prometheus配置模板

可能返回的错误码:

FAILEDOPERATION_COMPONENTCLIENTCOMMON = "FailedOperation.ComponentClientCommon"
FAILEDOPERATION_KUBECOMMON = "FailedOperation.KubeCommon"
INTERNALERROR = "InternalError"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
INVALIDPARAMETER_RESOURCENOTFOUND = "InvalidParameter.ResourceNotFound"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DeletePrometheusTempSync added in v1.0.401

func (c *Client) DeletePrometheusTempSync(request *DeletePrometheusTempSyncRequest) (response *DeletePrometheusTempSyncResponse, err error)

DeletePrometheusTempSync 解除模板同步,这将会删除目标中该模板所生产的配置,针对V2版本实例

可能返回的错误码:

FAILEDOPERATION_COMPONENTCLIENTCOMMON = "FailedOperation.ComponentClientCommon"
FAILEDOPERATION_COMPONENTCLIENTHTTP = "FailedOperation.ComponentClientHttp"
FAILEDOPERATION_DBRECORDNOTFOUND = "FailedOperation.DbRecordNotFound"
FAILEDOPERATION_KUBECOMMON = "FailedOperation.KubeCommon"
INTERNALERROR = "InternalError"
INTERNALERROR_DB = "InternalError.Db"
INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
INVALIDPARAMETER_RESOURCENOTFOUND = "InvalidParameter.ResourceNotFound"

func (*Client) DeletePrometheusTempSyncWithContext added in v1.0.401

func (c *Client) DeletePrometheusTempSyncWithContext(ctx context.Context, request *DeletePrometheusTempSyncRequest) (response *DeletePrometheusTempSyncResponse, err error)

DeletePrometheusTempSync 解除模板同步,这将会删除目标中该模板所生产的配置,针对V2版本实例

可能返回的错误码:

FAILEDOPERATION_COMPONENTCLIENTCOMMON = "FailedOperation.ComponentClientCommon"
FAILEDOPERATION_COMPONENTCLIENTHTTP = "FailedOperation.ComponentClientHttp"
FAILEDOPERATION_DBRECORDNOTFOUND = "FailedOperation.DbRecordNotFound"
FAILEDOPERATION_KUBECOMMON = "FailedOperation.KubeCommon"
INTERNALERROR = "InternalError"
INTERNALERROR_DB = "InternalError.Db"
INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
INVALIDPARAMETER_RESOURCENOTFOUND = "InvalidParameter.ResourceNotFound"

func (*Client) DeletePrometheusTempWithContext added in v1.0.401

func (c *Client) DeletePrometheusTempWithContext(ctx context.Context, request *DeletePrometheusTempRequest) (response *DeletePrometheusTempResponse, err error)

DeletePrometheusTemp 删除一个云原生Prometheus配置模板

可能返回的错误码:

FAILEDOPERATION_COMPONENTCLIENTCOMMON = "FailedOperation.ComponentClientCommon"
FAILEDOPERATION_KUBECOMMON = "FailedOperation.KubeCommon"
INTERNALERROR = "InternalError"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
INVALIDPARAMETER_RESOURCENOTFOUND = "InvalidParameter.ResourceNotFound"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DeletePrometheusTemplate

func (c *Client) DeletePrometheusTemplate(request *DeletePrometheusTemplateRequest) (response *DeletePrometheusTemplateResponse, err error)

DeletePrometheusTemplate 删除一个云原生Prometheus配置模板

可能返回的错误码:

INTERNALERROR = "InternalError"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
INVALIDPARAMETER_RESOURCENOTFOUND = "InvalidParameter.ResourceNotFound"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DeletePrometheusTemplateSync

func (c *Client) DeletePrometheusTemplateSync(request *DeletePrometheusTemplateSyncRequest) (response *DeletePrometheusTemplateSyncResponse, err error)

DeletePrometheusTemplateSync 取消模板同步,这将会删除目标中该模板所生产的配置

可能返回的错误码:

FAILEDOPERATION_COMPONENTCLIENTHTTP = "FailedOperation.ComponentClientHttp"
FAILEDOPERATION_DBRECORDNOTFOUND = "FailedOperation.DbRecordNotFound"
INTERNALERROR = "InternalError"
INTERNALERROR_DB = "InternalError.Db"
INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
INVALIDPARAMETER_RESOURCENOTFOUND = "InvalidParameter.ResourceNotFound"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DeletePrometheusTemplateSyncWithContext added in v1.0.324

func (c *Client) DeletePrometheusTemplateSyncWithContext(ctx context.Context, request *DeletePrometheusTemplateSyncRequest) (response *DeletePrometheusTemplateSyncResponse, err error)

DeletePrometheusTemplateSync 取消模板同步,这将会删除目标中该模板所生产的配置

可能返回的错误码:

FAILEDOPERATION_COMPONENTCLIENTHTTP = "FailedOperation.ComponentClientHttp"
FAILEDOPERATION_DBRECORDNOTFOUND = "FailedOperation.DbRecordNotFound"
INTERNALERROR = "InternalError"
INTERNALERROR_DB = "InternalError.Db"
INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
INVALIDPARAMETER_RESOURCENOTFOUND = "InvalidParameter.ResourceNotFound"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DeletePrometheusTemplateWithContext added in v1.0.324

func (c *Client) DeletePrometheusTemplateWithContext(ctx context.Context, request *DeletePrometheusTemplateRequest) (response *DeletePrometheusTemplateResponse, err error)

DeletePrometheusTemplate 删除一个云原生Prometheus配置模板

可能返回的错误码:

INTERNALERROR = "InternalError"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
INVALIDPARAMETER_RESOURCENOTFOUND = "InvalidParameter.ResourceNotFound"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DeleteReservedInstances added in v1.0.759

func (c *Client) DeleteReservedInstances(request *DeleteReservedInstancesRequest) (response *DeleteReservedInstancesResponse, err error)

DeleteReservedInstances 预留券实例如符合退还规则,可通过本接口主动退还。

可能返回的错误码:

INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_TRADECOMMON = "InternalError.TradeCommon"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
RESOURCENOTFOUND_NOTFOUND = "ResourceNotFound.NotFound"

func (*Client) DeleteReservedInstancesWithContext added in v1.0.759

func (c *Client) DeleteReservedInstancesWithContext(ctx context.Context, request *DeleteReservedInstancesRequest) (response *DeleteReservedInstancesResponse, err error)

DeleteReservedInstances 预留券实例如符合退还规则,可通过本接口主动退还。

可能返回的错误码:

INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_TRADECOMMON = "InternalError.TradeCommon"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
RESOURCENOTFOUND_NOTFOUND = "ResourceNotFound.NotFound"

func (*Client) DeleteTKEEdgeCluster added in v1.0.412

func (c *Client) DeleteTKEEdgeCluster(request *DeleteTKEEdgeClusterRequest) (response *DeleteTKEEdgeClusterResponse, err error)

DeleteTKEEdgeCluster 删除边缘计算集群

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
RESOURCEINUSE = "ResourceInUse"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DeleteTKEEdgeClusterWithContext added in v1.0.412

func (c *Client) DeleteTKEEdgeClusterWithContext(ctx context.Context, request *DeleteTKEEdgeClusterRequest) (response *DeleteTKEEdgeClusterResponse, err error)

DeleteTKEEdgeCluster 删除边缘计算集群

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
RESOURCEINUSE = "ResourceInUse"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeAddon added in v1.0.684

func (c *Client) DescribeAddon(request *DescribeAddonRequest) (response *DescribeAddonResponse, err error)

DescribeAddon 获取addon列表

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
RESOURCEINUSE = "ResourceInUse"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeAddonValues added in v1.0.684

func (c *Client) DescribeAddonValues(request *DescribeAddonValuesRequest) (response *DescribeAddonValuesResponse, err error)

DescribeAddonValues 获取一个addon的参数

可能返回的错误码:

RESOURCEUNAVAILABLE = "ResourceUnavailable"

func (*Client) DescribeAddonValuesWithContext added in v1.0.684

func (c *Client) DescribeAddonValuesWithContext(ctx context.Context, request *DescribeAddonValuesRequest) (response *DescribeAddonValuesResponse, err error)

DescribeAddonValues 获取一个addon的参数

可能返回的错误码:

RESOURCEUNAVAILABLE = "ResourceUnavailable"

func (*Client) DescribeAddonWithContext added in v1.0.684

func (c *Client) DescribeAddonWithContext(ctx context.Context, request *DescribeAddonRequest) (response *DescribeAddonResponse, err error)

DescribeAddon 获取addon列表

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
RESOURCEINUSE = "ResourceInUse"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeAvailableClusterVersion

func (c *Client) DescribeAvailableClusterVersion(request *DescribeAvailableClusterVersionRequest) (response *DescribeAvailableClusterVersionResponse, err error)

DescribeAvailableClusterVersion 获取集群可以升级的所有版本

可能返回的错误码:

INTERNALERROR = "InternalError"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCENOTFOUND_CLUSTERNOTFOUND = "ResourceNotFound.ClusterNotFound"
RESOURCEUNAVAILABLE_CLUSTERINABNORMALSTAT = "ResourceUnavailable.ClusterInAbnormalStat"

func (*Client) DescribeAvailableClusterVersionWithContext added in v1.0.324

func (c *Client) DescribeAvailableClusterVersionWithContext(ctx context.Context, request *DescribeAvailableClusterVersionRequest) (response *DescribeAvailableClusterVersionResponse, err error)

DescribeAvailableClusterVersion 获取集群可以升级的所有版本

可能返回的错误码:

INTERNALERROR = "InternalError"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCENOTFOUND_CLUSTERNOTFOUND = "ResourceNotFound.ClusterNotFound"
RESOURCEUNAVAILABLE_CLUSTERINABNORMALSTAT = "ResourceUnavailable.ClusterInAbnormalStat"

func (*Client) DescribeAvailableTKEEdgeVersion added in v1.0.412

func (c *Client) DescribeAvailableTKEEdgeVersion(request *DescribeAvailableTKEEdgeVersionRequest) (response *DescribeAvailableTKEEdgeVersionResponse, err error)

DescribeAvailableTKEEdgeVersion 边缘计算支持版本和k8s版本

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
RESOURCEINUSE = "ResourceInUse"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeAvailableTKEEdgeVersionWithContext added in v1.0.412

func (c *Client) DescribeAvailableTKEEdgeVersionWithContext(ctx context.Context, request *DescribeAvailableTKEEdgeVersionRequest) (response *DescribeAvailableTKEEdgeVersionResponse, err error)

DescribeAvailableTKEEdgeVersion 边缘计算支持版本和k8s版本

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
RESOURCEINUSE = "ResourceInUse"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeBackupStorageLocations added in v1.0.644

func (c *Client) DescribeBackupStorageLocations(request *DescribeBackupStorageLocationsRequest) (response *DescribeBackupStorageLocationsResponse, err error)

DescribeBackupStorageLocations 查询备份仓库信息

可能返回的错误码:

INVALIDPARAMETER = "InvalidParameter"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeBackupStorageLocationsWithContext added in v1.0.644

func (c *Client) DescribeBackupStorageLocationsWithContext(ctx context.Context, request *DescribeBackupStorageLocationsRequest) (response *DescribeBackupStorageLocationsResponse, err error)

DescribeBackupStorageLocations 查询备份仓库信息

可能返回的错误码:

INVALIDPARAMETER = "InvalidParameter"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeClusterAsGroupOption

func (c *Client) DescribeClusterAsGroupOption(request *DescribeClusterAsGroupOptionRequest) (response *DescribeClusterAsGroupOptionResponse, err error)

DescribeClusterAsGroupOption 集群弹性伸缩配置

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_CLUSTERNOTFOUND = "FailedOperation.ClusterNotFound"
FAILEDOPERATION_CLUSTERSTATE = "FailedOperation.ClusterState"
FAILEDOPERATION_PARAM = "FailedOperation.Param"
INTERNALERROR = "InternalError"
INTERNALERROR_ACCOUNTUSERNOTAUTHENTICATED = "InternalError.AccountUserNotAuthenticated"
INTERNALERROR_ASCOMMON = "InternalError.AsCommon"
INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth"
INTERNALERROR_CLUSTERNOTFOUND = "InternalError.ClusterNotFound"
INTERNALERROR_CLUSTERSTATE = "InternalError.ClusterState"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeClusterAsGroupOptionWithContext added in v1.0.324

func (c *Client) DescribeClusterAsGroupOptionWithContext(ctx context.Context, request *DescribeClusterAsGroupOptionRequest) (response *DescribeClusterAsGroupOptionResponse, err error)

DescribeClusterAsGroupOption 集群弹性伸缩配置

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_CLUSTERNOTFOUND = "FailedOperation.ClusterNotFound"
FAILEDOPERATION_CLUSTERSTATE = "FailedOperation.ClusterState"
FAILEDOPERATION_PARAM = "FailedOperation.Param"
INTERNALERROR = "InternalError"
INTERNALERROR_ACCOUNTUSERNOTAUTHENTICATED = "InternalError.AccountUserNotAuthenticated"
INTERNALERROR_ASCOMMON = "InternalError.AsCommon"
INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth"
INTERNALERROR_CLUSTERNOTFOUND = "InternalError.ClusterNotFound"
INTERNALERROR_CLUSTERSTATE = "InternalError.ClusterState"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeClusterAsGroups

func (c *Client) DescribeClusterAsGroups(request *DescribeClusterAsGroupsRequest) (response *DescribeClusterAsGroupsResponse, err error)

DescribeClusterAsGroups 集群关联的伸缩组列表

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_CLUSTERNOTFOUND = "FailedOperation.ClusterNotFound"
FAILEDOPERATION_CLUSTERSTATE = "FailedOperation.ClusterState"
FAILEDOPERATION_PARAM = "FailedOperation.Param"
INTERNALERROR = "InternalError"
INTERNALERROR_ACCOUNTUSERNOTAUTHENTICATED = "InternalError.AccountUserNotAuthenticated"
INTERNALERROR_ASCOMMON = "InternalError.AsCommon"
INTERNALERROR_CLUSTERNOTFOUND = "InternalError.ClusterNotFound"
INTERNALERROR_CLUSTERSTATE = "InternalError.ClusterState"
INTERNALERROR_DB = "InternalError.Db"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_PODNOTFOUND = "InternalError.PodNotFound"
INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal"
INTERNALERROR_VPCCOMMON = "InternalError.VpcCommon"
INTERNALERROR_VPCPEERNOTFOUND = "InternalError.VpcPeerNotFound"
INTERNALERROR_VPCRECODRNOTFOUND = "InternalError.VpcRecodrNotFound"

func (*Client) DescribeClusterAsGroupsWithContext added in v1.0.324

func (c *Client) DescribeClusterAsGroupsWithContext(ctx context.Context, request *DescribeClusterAsGroupsRequest) (response *DescribeClusterAsGroupsResponse, err error)

DescribeClusterAsGroups 集群关联的伸缩组列表

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_CLUSTERNOTFOUND = "FailedOperation.ClusterNotFound"
FAILEDOPERATION_CLUSTERSTATE = "FailedOperation.ClusterState"
FAILEDOPERATION_PARAM = "FailedOperation.Param"
INTERNALERROR = "InternalError"
INTERNALERROR_ACCOUNTUSERNOTAUTHENTICATED = "InternalError.AccountUserNotAuthenticated"
INTERNALERROR_ASCOMMON = "InternalError.AsCommon"
INTERNALERROR_CLUSTERNOTFOUND = "InternalError.ClusterNotFound"
INTERNALERROR_CLUSTERSTATE = "InternalError.ClusterState"
INTERNALERROR_DB = "InternalError.Db"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_PODNOTFOUND = "InternalError.PodNotFound"
INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal"
INTERNALERROR_VPCCOMMON = "InternalError.VpcCommon"
INTERNALERROR_VPCPEERNOTFOUND = "InternalError.VpcPeerNotFound"
INTERNALERROR_VPCRECODRNOTFOUND = "InternalError.VpcRecodrNotFound"

func (*Client) DescribeClusterAuthenticationOptions added in v1.0.264

func (c *Client) DescribeClusterAuthenticationOptions(request *DescribeClusterAuthenticationOptionsRequest) (response *DescribeClusterAuthenticationOptionsResponse, err error)

DescribeClusterAuthenticationOptions 查看集群认证配置

可能返回的错误码:

INTERNALERROR = "InternalError"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER = "InvalidParameter"
OPERATIONDENIED = "OperationDenied"
RESOURCEUNAVAILABLE_CLUSTERSTATE = "ResourceUnavailable.ClusterState"

func (*Client) DescribeClusterAuthenticationOptionsWithContext added in v1.0.324

func (c *Client) DescribeClusterAuthenticationOptionsWithContext(ctx context.Context, request *DescribeClusterAuthenticationOptionsRequest) (response *DescribeClusterAuthenticationOptionsResponse, err error)

DescribeClusterAuthenticationOptions 查看集群认证配置

可能返回的错误码:

INTERNALERROR = "InternalError"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER = "InvalidParameter"
OPERATIONDENIED = "OperationDenied"
RESOURCEUNAVAILABLE_CLUSTERSTATE = "ResourceUnavailable.ClusterState"

func (*Client) DescribeClusterCommonNames

func (c *Client) DescribeClusterCommonNames(request *DescribeClusterCommonNamesRequest) (response *DescribeClusterCommonNamesResponse, err error)

DescribeClusterCommonNames 获取指定子账户在RBAC授权模式中对应kube-apiserver客户端证书的CommonName字段,如果没有客户端证书,将会签发一个,此接口有最大传入子账户数量上限,当前为50

可能返回的错误码:

INTERNALERROR = "InternalError"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INTERNALERROR_WHITELISTUNEXPECTEDERROR = "InternalError.WhitelistUnexpectedError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCENOTFOUND_CLUSTERNOTFOUND = "ResourceNotFound.ClusterNotFound"
RESOURCEUNAVAILABLE_CLUSTERSTATE = "ResourceUnavailable.ClusterState"
UNAUTHORIZEDOPERATION_CAMNOAUTH = "UnauthorizedOperation.CamNoAuth"
UNSUPPORTEDOPERATION_NOTINWHITELIST = "UnsupportedOperation.NotInWhitelist"

func (*Client) DescribeClusterCommonNamesWithContext added in v1.0.324

func (c *Client) DescribeClusterCommonNamesWithContext(ctx context.Context, request *DescribeClusterCommonNamesRequest) (response *DescribeClusterCommonNamesResponse, err error)

DescribeClusterCommonNames 获取指定子账户在RBAC授权模式中对应kube-apiserver客户端证书的CommonName字段,如果没有客户端证书,将会签发一个,此接口有最大传入子账户数量上限,当前为50

可能返回的错误码:

INTERNALERROR = "InternalError"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INTERNALERROR_WHITELISTUNEXPECTEDERROR = "InternalError.WhitelistUnexpectedError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCENOTFOUND_CLUSTERNOTFOUND = "ResourceNotFound.ClusterNotFound"
RESOURCEUNAVAILABLE_CLUSTERSTATE = "ResourceUnavailable.ClusterState"
UNAUTHORIZEDOPERATION_CAMNOAUTH = "UnauthorizedOperation.CamNoAuth"
UNSUPPORTEDOPERATION_NOTINWHITELIST = "UnsupportedOperation.NotInWhitelist"

func (*Client) DescribeClusterControllers added in v1.0.193

func (c *Client) DescribeClusterControllers(request *DescribeClusterControllersRequest) (response *DescribeClusterControllersResponse, err error)

DescribeClusterControllers 用于查询Kubernetes的各个原生控制器是否开启

可能返回的错误码:

INTERNALERROR_KUBECLIENTCREATE = "InternalError.KubeClientCreate"
INTERNALERROR_KUBECOMMON = "InternalError.KubeCommon"
INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"

func (*Client) DescribeClusterControllersWithContext added in v1.0.324

func (c *Client) DescribeClusterControllersWithContext(ctx context.Context, request *DescribeClusterControllersRequest) (response *DescribeClusterControllersResponse, err error)

DescribeClusterControllers 用于查询Kubernetes的各个原生控制器是否开启

可能返回的错误码:

INTERNALERROR_KUBECLIENTCREATE = "InternalError.KubeClientCreate"
INTERNALERROR_KUBECOMMON = "InternalError.KubeCommon"
INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"

func (*Client) DescribeClusterEndpointStatus

func (c *Client) DescribeClusterEndpointStatus(request *DescribeClusterEndpointStatusRequest) (response *DescribeClusterEndpointStatusResponse, err error)

DescribeClusterEndpointStatus 查询集群访问端口状态(独立集群开启内网/外网访问,托管集群支持开启内网访问)

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_KUBECLIENTCONNECTION = "FailedOperation.KubeClientConnection"
FAILEDOPERATION_KUBERNETESINTERNAL = "FailedOperation.KubernetesInternal"
INTERNALERROR = "InternalError"
INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth"
INTERNALERROR_CLUSTERNOTFOUND = "InternalError.ClusterNotFound"
INTERNALERROR_CLUSTERSTATE = "InternalError.ClusterState"
INTERNALERROR_KUBECLIENTCONNECTION = "InternalError.KubeClientConnection"
INTERNALERROR_KUBECOMMON = "InternalError.KubeCommon"
INTERNALERROR_KUBERNETESINTERNAL = "InternalError.KubernetesInternal"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INTERNALERROR_VPCCOMMON = "InternalError.VpcCommon"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
RESOURCEINUSE = "ResourceInUse"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeClusterEndpointStatusWithContext added in v1.0.324

func (c *Client) DescribeClusterEndpointStatusWithContext(ctx context.Context, request *DescribeClusterEndpointStatusRequest) (response *DescribeClusterEndpointStatusResponse, err error)

DescribeClusterEndpointStatus 查询集群访问端口状态(独立集群开启内网/外网访问,托管集群支持开启内网访问)

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_KUBECLIENTCONNECTION = "FailedOperation.KubeClientConnection"
FAILEDOPERATION_KUBERNETESINTERNAL = "FailedOperation.KubernetesInternal"
INTERNALERROR = "InternalError"
INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth"
INTERNALERROR_CLUSTERNOTFOUND = "InternalError.ClusterNotFound"
INTERNALERROR_CLUSTERSTATE = "InternalError.ClusterState"
INTERNALERROR_KUBECLIENTCONNECTION = "InternalError.KubeClientConnection"
INTERNALERROR_KUBECOMMON = "InternalError.KubeCommon"
INTERNALERROR_KUBERNETESINTERNAL = "InternalError.KubernetesInternal"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INTERNALERROR_VPCCOMMON = "InternalError.VpcCommon"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
RESOURCEINUSE = "ResourceInUse"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeClusterEndpointVipStatus

func (c *Client) DescribeClusterEndpointVipStatus(request *DescribeClusterEndpointVipStatusRequest) (response *DescribeClusterEndpointVipStatusResponse, err error)

DescribeClusterEndpointVipStatus 查询集群开启端口流程状态(仅支持托管集群外网端口)

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INTERNALERROR_ACCOUNTUSERNOTAUTHENTICATED = "InternalError.AccountUserNotAuthenticated"
INTERNALERROR_ASCOMMON = "InternalError.AsCommon"
INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth"
INTERNALERROR_DB = "InternalError.Db"
INTERNALERROR_DBAFFECTIVEDROWS = "InternalError.DbAffectivedRows"
INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound"
INTERNALERROR_DFWGETUSGCOUNT = "InternalError.DfwGetUSGCount"
INTERNALERROR_DFWGETUSGQUOTA = "InternalError.DfwGetUSGQuota"
INTERNALERROR_IMAGEIDNOTFOUND = "InternalError.ImageIdNotFound"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_ASCOMMONERROR = "InvalidParameter.AsCommonError"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
OPERATIONDENIED = "OperationDenied"
RESOURCEINUSE = "ResourceInUse"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeClusterEndpointVipStatusWithContext added in v1.0.324

func (c *Client) DescribeClusterEndpointVipStatusWithContext(ctx context.Context, request *DescribeClusterEndpointVipStatusRequest) (response *DescribeClusterEndpointVipStatusResponse, err error)

DescribeClusterEndpointVipStatus 查询集群开启端口流程状态(仅支持托管集群外网端口)

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INTERNALERROR_ACCOUNTUSERNOTAUTHENTICATED = "InternalError.AccountUserNotAuthenticated"
INTERNALERROR_ASCOMMON = "InternalError.AsCommon"
INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth"
INTERNALERROR_DB = "InternalError.Db"
INTERNALERROR_DBAFFECTIVEDROWS = "InternalError.DbAffectivedRows"
INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound"
INTERNALERROR_DFWGETUSGCOUNT = "InternalError.DfwGetUSGCount"
INTERNALERROR_DFWGETUSGQUOTA = "InternalError.DfwGetUSGQuota"
INTERNALERROR_IMAGEIDNOTFOUND = "InternalError.ImageIdNotFound"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_ASCOMMONERROR = "InvalidParameter.AsCommonError"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
OPERATIONDENIED = "OperationDenied"
RESOURCEINUSE = "ResourceInUse"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeClusterEndpoints added in v1.0.450

func (c *Client) DescribeClusterEndpoints(request *DescribeClusterEndpointsRequest) (response *DescribeClusterEndpointsResponse, err error)

DescribeClusterEndpoints 获取集群的访问地址,包括内网地址,外网地址,外网域名,外网访问安全策略

可能返回的错误码:

FAILEDOPERATION_COMPONENTCLIENTHTTP = "FailedOperation.ComponentClientHttp"
FAILEDOPERATION_KUBECOMMON = "FailedOperation.KubeCommon"
FAILEDOPERATION_KUBERNETESCLIENTBUILDERROR = "FailedOperation.KubernetesClientBuildError"
INTERNALERROR = "InternalError"
INTERNALERROR_COMPONENTCLIENTHTTP = "InternalError.ComponentClientHttp"
INTERNALERROR_KUBECLIENTCONNECTION = "InternalError.KubeClientConnection"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
RESOURCENOTFOUND_CLUSTERNOTFOUND = "ResourceNotFound.ClusterNotFound"
RESOURCENOTFOUND_KUBERESOURCENOTFOUND = "ResourceNotFound.KubeResourceNotFound"
RESOURCEUNAVAILABLE_CLUSTERINABNORMALSTAT = "ResourceUnavailable.ClusterInAbnormalStat"
UNAUTHORIZEDOPERATION_CAMNOAUTH = "UnauthorizedOperation.CamNoAuth"

func (*Client) DescribeClusterEndpointsWithContext added in v1.0.450

func (c *Client) DescribeClusterEndpointsWithContext(ctx context.Context, request *DescribeClusterEndpointsRequest) (response *DescribeClusterEndpointsResponse, err error)

DescribeClusterEndpoints 获取集群的访问地址,包括内网地址,外网地址,外网域名,外网访问安全策略

可能返回的错误码:

FAILEDOPERATION_COMPONENTCLIENTHTTP = "FailedOperation.ComponentClientHttp"
FAILEDOPERATION_KUBECOMMON = "FailedOperation.KubeCommon"
FAILEDOPERATION_KUBERNETESCLIENTBUILDERROR = "FailedOperation.KubernetesClientBuildError"
INTERNALERROR = "InternalError"
INTERNALERROR_COMPONENTCLIENTHTTP = "InternalError.ComponentClientHttp"
INTERNALERROR_KUBECLIENTCONNECTION = "InternalError.KubeClientConnection"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
RESOURCENOTFOUND_CLUSTERNOTFOUND = "ResourceNotFound.ClusterNotFound"
RESOURCENOTFOUND_KUBERESOURCENOTFOUND = "ResourceNotFound.KubeResourceNotFound"
RESOURCEUNAVAILABLE_CLUSTERINABNORMALSTAT = "ResourceUnavailable.ClusterInAbnormalStat"
UNAUTHORIZEDOPERATION_CAMNOAUTH = "UnauthorizedOperation.CamNoAuth"

func (*Client) DescribeClusterExtraArgs added in v1.0.799

func (c *Client) DescribeClusterExtraArgs(request *DescribeClusterExtraArgsRequest) (response *DescribeClusterExtraArgsResponse, err error)

DescribeClusterExtraArgs 查询集群自定义参数

可能返回的错误码:

INTERNALERROR = "InternalError"
INTERNALERROR_CLUSTERNOTFOUND = "InternalError.ClusterNotFound"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCENOTFOUND_CLUSTERNOTFOUND = "ResourceNotFound.ClusterNotFound"

func (*Client) DescribeClusterExtraArgsWithContext added in v1.0.799

func (c *Client) DescribeClusterExtraArgsWithContext(ctx context.Context, request *DescribeClusterExtraArgsRequest) (response *DescribeClusterExtraArgsResponse, err error)

DescribeClusterExtraArgs 查询集群自定义参数

可能返回的错误码:

INTERNALERROR = "InternalError"
INTERNALERROR_CLUSTERNOTFOUND = "InternalError.ClusterNotFound"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCENOTFOUND_CLUSTERNOTFOUND = "ResourceNotFound.ClusterNotFound"

func (*Client) DescribeClusterInspectionResultsOverview added in v1.0.657

func (c *Client) DescribeClusterInspectionResultsOverview(request *DescribeClusterInspectionResultsOverviewRequest) (response *DescribeClusterInspectionResultsOverviewResponse, err error)

DescribeClusterInspectionResultsOverview 查询用户单个Region下的所有集群巡检结果概览信息

可能返回的错误码:

FAILEDOPERATION_KUBERNETESCLIENTBUILDERROR = "FailedOperation.KubernetesClientBuildError"
FAILEDOPERATION_KUBERNETESLISTOPERATIONERROR = "FailedOperation.KubernetesListOperationError"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeClusterInspectionResultsOverviewWithContext added in v1.0.657

func (c *Client) DescribeClusterInspectionResultsOverviewWithContext(ctx context.Context, request *DescribeClusterInspectionResultsOverviewRequest) (response *DescribeClusterInspectionResultsOverviewResponse, err error)

DescribeClusterInspectionResultsOverview 查询用户单个Region下的所有集群巡检结果概览信息

可能返回的错误码:

FAILEDOPERATION_KUBERNETESCLIENTBUILDERROR = "FailedOperation.KubernetesClientBuildError"
FAILEDOPERATION_KUBERNETESLISTOPERATIONERROR = "FailedOperation.KubernetesListOperationError"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeClusterInstances

func (c *Client) DescribeClusterInstances(request *DescribeClusterInstancesRequest) (response *DescribeClusterInstancesResponse, err error)

DescribeClusterInstances 查询集群下节点实例信息

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_DB = "FailedOperation.Db"
INTERNALERROR = "InternalError"
INTERNALERROR_DB = "InternalError.Db"
INTERNALERROR_DBAFFECTIVEDROWS = "InternalError.DbAffectivedRows"
INTERNALERROR_INITMASTERFAILED = "InternalError.InitMasterFailed"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_PUBLICCLUSTEROPNOTSUPPORT = "InternalError.PublicClusterOpNotSupport"
INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal"
INVALIDPARAMETER_CLUSTERNOTFOUND = "InvalidParameter.ClusterNotFound"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
RESOURCEUNAVAILABLE_CLUSTERSTATE = "ResourceUnavailable.ClusterState"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeClusterInstancesWithContext added in v1.0.324

func (c *Client) DescribeClusterInstancesWithContext(ctx context.Context, request *DescribeClusterInstancesRequest) (response *DescribeClusterInstancesResponse, err error)

DescribeClusterInstances 查询集群下节点实例信息

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_DB = "FailedOperation.Db"
INTERNALERROR = "InternalError"
INTERNALERROR_DB = "InternalError.Db"
INTERNALERROR_DBAFFECTIVEDROWS = "InternalError.DbAffectivedRows"
INTERNALERROR_INITMASTERFAILED = "InternalError.InitMasterFailed"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_PUBLICCLUSTEROPNOTSUPPORT = "InternalError.PublicClusterOpNotSupport"
INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal"
INVALIDPARAMETER_CLUSTERNOTFOUND = "InvalidParameter.ClusterNotFound"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
RESOURCEUNAVAILABLE_CLUSTERSTATE = "ResourceUnavailable.ClusterState"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeClusterKubeconfig

func (c *Client) DescribeClusterKubeconfig(request *DescribeClusterKubeconfigRequest) (response *DescribeClusterKubeconfigResponse, err error)

DescribeClusterKubeconfig 获取集群的kubeconfig文件,不同子账户获取自己的kubeconfig文件,该文件中有每个子账户自己的kube-apiserver的客户端证书,默认首次调此接口时候创建客户端证书,时效20年,未授予任何权限,如果是集群所有者或者主账户,则默认是cluster-admin权限。

可能返回的错误码:

FAILEDOPERATION_COMPONENTCLIENTHTTP = "FailedOperation.ComponentClientHttp"
FAILEDOPERATION_KUBECOMMON = "FailedOperation.KubeCommon"
FAILEDOPERATION_KUBERNETESCLIENTBUILDERROR = "FailedOperation.KubernetesClientBuildError"
FAILEDOPERATION_UNEXPECTEDERROR = "FailedOperation.UnexpectedError"
INTERNALERROR = "InternalError"
INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth"
INTERNALERROR_COMPONENTCLIENTHTTP = "InternalError.ComponentClientHttp"
INTERNALERROR_DB = "InternalError.Db"
INTERNALERROR_KUBECLIENTCONNECTION = "InternalError.KubeClientConnection"
INTERNALERROR_KUBERNETESCLIENTBUILDERROR = "InternalError.KubernetesClientBuildError"
INTERNALERROR_KUBERNETESCREATEOPERATIONERROR = "InternalError.KubernetesCreateOperationError"
INTERNALERROR_KUBERNETESDELETEOPERATIONERROR = "InternalError.KubernetesDeleteOperationError"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INTERNALERROR_WHITELISTUNEXPECTEDERROR = "InternalError.WhitelistUnexpectedError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_CLUSTERNOTFOUND = "InvalidParameter.ClusterNotFound"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCENOTFOUND_CLUSTERNOTFOUND = "ResourceNotFound.ClusterNotFound"
RESOURCENOTFOUND_KUBERNETESRESOURCENOTFOUND = "ResourceNotFound.KubernetesResourceNotFound"
RESOURCEUNAVAILABLE_CLUSTERINABNORMALSTAT = "ResourceUnavailable.ClusterInAbnormalStat"
UNAUTHORIZEDOPERATION_CAMNOAUTH = "UnauthorizedOperation.CamNoAuth"

func (*Client) DescribeClusterKubeconfigWithContext added in v1.0.324

func (c *Client) DescribeClusterKubeconfigWithContext(ctx context.Context, request *DescribeClusterKubeconfigRequest) (response *DescribeClusterKubeconfigResponse, err error)

DescribeClusterKubeconfig 获取集群的kubeconfig文件,不同子账户获取自己的kubeconfig文件,该文件中有每个子账户自己的kube-apiserver的客户端证书,默认首次调此接口时候创建客户端证书,时效20年,未授予任何权限,如果是集群所有者或者主账户,则默认是cluster-admin权限。

可能返回的错误码:

FAILEDOPERATION_COMPONENTCLIENTHTTP = "FailedOperation.ComponentClientHttp"
FAILEDOPERATION_KUBECOMMON = "FailedOperation.KubeCommon"
FAILEDOPERATION_KUBERNETESCLIENTBUILDERROR = "FailedOperation.KubernetesClientBuildError"
FAILEDOPERATION_UNEXPECTEDERROR = "FailedOperation.UnexpectedError"
INTERNALERROR = "InternalError"
INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth"
INTERNALERROR_COMPONENTCLIENTHTTP = "InternalError.ComponentClientHttp"
INTERNALERROR_DB = "InternalError.Db"
INTERNALERROR_KUBECLIENTCONNECTION = "InternalError.KubeClientConnection"
INTERNALERROR_KUBERNETESCLIENTBUILDERROR = "InternalError.KubernetesClientBuildError"
INTERNALERROR_KUBERNETESCREATEOPERATIONERROR = "InternalError.KubernetesCreateOperationError"
INTERNALERROR_KUBERNETESDELETEOPERATIONERROR = "InternalError.KubernetesDeleteOperationError"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INTERNALERROR_WHITELISTUNEXPECTEDERROR = "InternalError.WhitelistUnexpectedError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_CLUSTERNOTFOUND = "InvalidParameter.ClusterNotFound"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCENOTFOUND_CLUSTERNOTFOUND = "ResourceNotFound.ClusterNotFound"
RESOURCENOTFOUND_KUBERNETESRESOURCENOTFOUND = "ResourceNotFound.KubernetesResourceNotFound"
RESOURCEUNAVAILABLE_CLUSTERINABNORMALSTAT = "ResourceUnavailable.ClusterInAbnormalStat"
UNAUTHORIZEDOPERATION_CAMNOAUTH = "UnauthorizedOperation.CamNoAuth"

func (*Client) DescribeClusterLevelAttribute added in v1.0.378

func (c *Client) DescribeClusterLevelAttribute(request *DescribeClusterLevelAttributeRequest) (response *DescribeClusterLevelAttributeResponse, err error)

DescribeClusterLevelAttribute 获取集群规模

可能返回的错误码:

INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"

func (*Client) DescribeClusterLevelAttributeWithContext added in v1.0.378

func (c *Client) DescribeClusterLevelAttributeWithContext(ctx context.Context, request *DescribeClusterLevelAttributeRequest) (response *DescribeClusterLevelAttributeResponse, err error)

DescribeClusterLevelAttribute 获取集群规模

可能返回的错误码:

INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"

func (*Client) DescribeClusterLevelChangeRecords added in v1.0.378

func (c *Client) DescribeClusterLevelChangeRecords(request *DescribeClusterLevelChangeRecordsRequest) (response *DescribeClusterLevelChangeRecordsResponse, err error)

DescribeClusterLevelChangeRecords 查询集群变配记录

可能返回的错误码:

INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"

func (*Client) DescribeClusterLevelChangeRecordsWithContext added in v1.0.378

func (c *Client) DescribeClusterLevelChangeRecordsWithContext(ctx context.Context, request *DescribeClusterLevelChangeRecordsRequest) (response *DescribeClusterLevelChangeRecordsResponse, err error)

DescribeClusterLevelChangeRecords 查询集群变配记录

可能返回的错误码:

INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"

func (*Client) DescribeClusterNodePoolDetail

func (c *Client) DescribeClusterNodePoolDetail(request *DescribeClusterNodePoolDetailRequest) (response *DescribeClusterNodePoolDetailResponse, err error)

DescribeClusterNodePoolDetail 查询节点池详情

可能返回的错误码:

INTERNALERROR_CLUSTERNOTFOUND = "InternalError.ClusterNotFound"
INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
RESOURCENOTFOUND_CLUSTERNOTFOUND = "ResourceNotFound.ClusterNotFound"

func (*Client) DescribeClusterNodePoolDetailWithContext added in v1.0.324

func (c *Client) DescribeClusterNodePoolDetailWithContext(ctx context.Context, request *DescribeClusterNodePoolDetailRequest) (response *DescribeClusterNodePoolDetailResponse, err error)

DescribeClusterNodePoolDetail 查询节点池详情

可能返回的错误码:

INTERNALERROR_CLUSTERNOTFOUND = "InternalError.ClusterNotFound"
INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
RESOURCENOTFOUND_CLUSTERNOTFOUND = "ResourceNotFound.ClusterNotFound"

func (*Client) DescribeClusterNodePools

func (c *Client) DescribeClusterNodePools(request *DescribeClusterNodePoolsRequest) (response *DescribeClusterNodePoolsResponse, err error)

DescribeClusterNodePools 查询节点池列表

可能返回的错误码:

INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
RESOURCENOTFOUND_CLUSTERNOTFOUND = "ResourceNotFound.ClusterNotFound"

func (*Client) DescribeClusterNodePoolsWithContext added in v1.0.324

func (c *Client) DescribeClusterNodePoolsWithContext(ctx context.Context, request *DescribeClusterNodePoolsRequest) (response *DescribeClusterNodePoolsResponse, err error)

DescribeClusterNodePools 查询节点池列表

可能返回的错误码:

INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
RESOURCENOTFOUND_CLUSTERNOTFOUND = "ResourceNotFound.ClusterNotFound"

func (*Client) DescribeClusterPendingReleases added in v1.0.554

func (c *Client) DescribeClusterPendingReleases(request *DescribeClusterPendingReleasesRequest) (response *DescribeClusterPendingReleasesResponse, err error)

DescribeClusterPendingReleases 在应用市场中查询正在安装中的应用列表

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_MARKETGETAUTHFAILED = "FailedOperation.MarketGetAuthFailed"
FAILEDOPERATION_MARKETRELEASEOPERATION = "FailedOperation.MarketReleaseOperation"
INTERNALERROR = "InternalError"
INTERNALERROR_MARKETGETAUTHFAILED = "InternalError.MarketGetAuthFailed"
INTERNALERROR_MARKETINTERNALSERVERERROR = "InternalError.MarketInternalServerError"
INTERNALERROR_MARKETRELEASEOPERATION = "InternalError.MarketReleaseOperation"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
MISSINGPARAMETER = "MissingParameter"
UNAUTHORIZEDOPERATION_CAMNOAUTH = "UnauthorizedOperation.CamNoAuth"
UNKNOWNPARAMETER = "UnknownParameter"

func (*Client) DescribeClusterPendingReleasesWithContext added in v1.0.554

func (c *Client) DescribeClusterPendingReleasesWithContext(ctx context.Context, request *DescribeClusterPendingReleasesRequest) (response *DescribeClusterPendingReleasesResponse, err error)

DescribeClusterPendingReleases 在应用市场中查询正在安装中的应用列表

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_MARKETGETAUTHFAILED = "FailedOperation.MarketGetAuthFailed"
FAILEDOPERATION_MARKETRELEASEOPERATION = "FailedOperation.MarketReleaseOperation"
INTERNALERROR = "InternalError"
INTERNALERROR_MARKETGETAUTHFAILED = "InternalError.MarketGetAuthFailed"
INTERNALERROR_MARKETINTERNALSERVERERROR = "InternalError.MarketInternalServerError"
INTERNALERROR_MARKETRELEASEOPERATION = "InternalError.MarketReleaseOperation"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
MISSINGPARAMETER = "MissingParameter"
UNAUTHORIZEDOPERATION_CAMNOAUTH = "UnauthorizedOperation.CamNoAuth"
UNKNOWNPARAMETER = "UnknownParameter"

func (*Client) DescribeClusterReleaseDetails added in v1.0.554

func (c *Client) DescribeClusterReleaseDetails(request *DescribeClusterReleaseDetailsRequest) (response *DescribeClusterReleaseDetailsResponse, err error)

DescribeClusterReleaseDetails 查询通过应用市场安装的某个应用详情

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_MARKETGETAUTHFAILED = "FailedOperation.MarketGetAuthFailed"
FAILEDOPERATION_MARKETRELEASEOPERATION = "FailedOperation.MarketReleaseOperation"
INTERNALERROR = "InternalError"
INTERNALERROR_MARKETGETAUTHFAILED = "InternalError.MarketGetAuthFailed"
INTERNALERROR_MARKETINTERNALSERVERERROR = "InternalError.MarketInternalServerError"
INTERNALERROR_MARKETRELEASEOPERATION = "InternalError.MarketReleaseOperation"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
MISSINGPARAMETER = "MissingParameter"
UNAUTHORIZEDOPERATION_CAMNOAUTH = "UnauthorizedOperation.CamNoAuth"
UNKNOWNPARAMETER = "UnknownParameter"

func (*Client) DescribeClusterReleaseDetailsWithContext added in v1.0.554

func (c *Client) DescribeClusterReleaseDetailsWithContext(ctx context.Context, request *DescribeClusterReleaseDetailsRequest) (response *DescribeClusterReleaseDetailsResponse, err error)

DescribeClusterReleaseDetails 查询通过应用市场安装的某个应用详情

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_MARKETGETAUTHFAILED = "FailedOperation.MarketGetAuthFailed"
FAILEDOPERATION_MARKETRELEASEOPERATION = "FailedOperation.MarketReleaseOperation"
INTERNALERROR = "InternalError"
INTERNALERROR_MARKETGETAUTHFAILED = "InternalError.MarketGetAuthFailed"
INTERNALERROR_MARKETINTERNALSERVERERROR = "InternalError.MarketInternalServerError"
INTERNALERROR_MARKETRELEASEOPERATION = "InternalError.MarketReleaseOperation"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
MISSINGPARAMETER = "MissingParameter"
UNAUTHORIZEDOPERATION_CAMNOAUTH = "UnauthorizedOperation.CamNoAuth"
UNKNOWNPARAMETER = "UnknownParameter"

func (*Client) DescribeClusterReleaseHistory added in v1.0.554

func (c *Client) DescribeClusterReleaseHistory(request *DescribeClusterReleaseHistoryRequest) (response *DescribeClusterReleaseHistoryResponse, err error)

DescribeClusterReleaseHistory 查询集群在应用市场中某个已安装应用的版本历史

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_MARKETGETAUTHFAILED = "FailedOperation.MarketGetAuthFailed"
FAILEDOPERATION_MARKETRELEASEOPERATION = "FailedOperation.MarketReleaseOperation"
INTERNALERROR = "InternalError"
INTERNALERROR_MARKETGETAUTHFAILED = "InternalError.MarketGetAuthFailed"
INTERNALERROR_MARKETINTERNALSERVERERROR = "InternalError.MarketInternalServerError"
INTERNALERROR_MARKETRELEASEOPERATION = "InternalError.MarketReleaseOperation"
INTERNALERROR_PARAM = "InternalError.Param"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
MISSINGPARAMETER = "MissingParameter"
UNAUTHORIZEDOPERATION_CAMNOAUTH = "UnauthorizedOperation.CamNoAuth"
UNKNOWNPARAMETER = "UnknownParameter"

func (*Client) DescribeClusterReleaseHistoryWithContext added in v1.0.554

func (c *Client) DescribeClusterReleaseHistoryWithContext(ctx context.Context, request *DescribeClusterReleaseHistoryRequest) (response *DescribeClusterReleaseHistoryResponse, err error)

DescribeClusterReleaseHistory 查询集群在应用市场中某个已安装应用的版本历史

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_MARKETGETAUTHFAILED = "FailedOperation.MarketGetAuthFailed"
FAILEDOPERATION_MARKETRELEASEOPERATION = "FailedOperation.MarketReleaseOperation"
INTERNALERROR = "InternalError"
INTERNALERROR_MARKETGETAUTHFAILED = "InternalError.MarketGetAuthFailed"
INTERNALERROR_MARKETINTERNALSERVERERROR = "InternalError.MarketInternalServerError"
INTERNALERROR_MARKETRELEASEOPERATION = "InternalError.MarketReleaseOperation"
INTERNALERROR_PARAM = "InternalError.Param"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
MISSINGPARAMETER = "MissingParameter"
UNAUTHORIZEDOPERATION_CAMNOAUTH = "UnauthorizedOperation.CamNoAuth"
UNKNOWNPARAMETER = "UnknownParameter"

func (*Client) DescribeClusterReleases added in v1.0.554

func (c *Client) DescribeClusterReleases(request *DescribeClusterReleasesRequest) (response *DescribeClusterReleasesResponse, err error)

DescribeClusterReleases 查询集群在应用市场中已安装应用列表

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_MARKETGETAUTHFAILED = "FailedOperation.MarketGetAuthFailed"
FAILEDOPERATION_MARKETRELEASEOPERATION = "FailedOperation.MarketReleaseOperation"
INTERNALERROR = "InternalError"
INTERNALERROR_MARKETGETAUTHFAILED = "InternalError.MarketGetAuthFailed"
INTERNALERROR_MARKETINTERNALSERVERERROR = "InternalError.MarketInternalServerError"
INTERNALERROR_MARKETRELEASEOPERATION = "InternalError.MarketReleaseOperation"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
MISSINGPARAMETER = "MissingParameter"
UNAUTHORIZEDOPERATION_CAMNOAUTH = "UnauthorizedOperation.CamNoAuth"
UNKNOWNPARAMETER = "UnknownParameter"

func (*Client) DescribeClusterReleasesWithContext added in v1.0.554

func (c *Client) DescribeClusterReleasesWithContext(ctx context.Context, request *DescribeClusterReleasesRequest) (response *DescribeClusterReleasesResponse, err error)

DescribeClusterReleases 查询集群在应用市场中已安装应用列表

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_MARKETGETAUTHFAILED = "FailedOperation.MarketGetAuthFailed"
FAILEDOPERATION_MARKETRELEASEOPERATION = "FailedOperation.MarketReleaseOperation"
INTERNALERROR = "InternalError"
INTERNALERROR_MARKETGETAUTHFAILED = "InternalError.MarketGetAuthFailed"
INTERNALERROR_MARKETINTERNALSERVERERROR = "InternalError.MarketInternalServerError"
INTERNALERROR_MARKETRELEASEOPERATION = "InternalError.MarketReleaseOperation"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
MISSINGPARAMETER = "MissingParameter"
UNAUTHORIZEDOPERATION_CAMNOAUTH = "UnauthorizedOperation.CamNoAuth"
UNKNOWNPARAMETER = "UnknownParameter"

func (*Client) DescribeClusterRouteTables

func (c *Client) DescribeClusterRouteTables(request *DescribeClusterRouteTablesRequest) (response *DescribeClusterRouteTablesResponse, err error)

DescribeClusterRouteTables 查询集群路由表

可能返回的错误码:

INTERNALERROR_DB = "InternalError.Db"

func (*Client) DescribeClusterRouteTablesWithContext added in v1.0.324

func (c *Client) DescribeClusterRouteTablesWithContext(ctx context.Context, request *DescribeClusterRouteTablesRequest) (response *DescribeClusterRouteTablesResponse, err error)

DescribeClusterRouteTables 查询集群路由表

可能返回的错误码:

INTERNALERROR_DB = "InternalError.Db"

func (*Client) DescribeClusterRoutes

func (c *Client) DescribeClusterRoutes(request *DescribeClusterRoutesRequest) (response *DescribeClusterRoutesResponse, err error)

DescribeClusterRoutes 查询集群路由

可能返回的错误码:

FAILEDOPERATION_DB = "FailedOperation.Db"
INTERNALERROR_DB = "InternalError.Db"
INTERNALERROR_PARAM = "InternalError.Param"
INVALIDPARAMETER = "InvalidParameter"

func (*Client) DescribeClusterRoutesWithContext added in v1.0.324

func (c *Client) DescribeClusterRoutesWithContext(ctx context.Context, request *DescribeClusterRoutesRequest) (response *DescribeClusterRoutesResponse, err error)

DescribeClusterRoutes 查询集群路由

可能返回的错误码:

FAILEDOPERATION_DB = "FailedOperation.Db"
INTERNALERROR_DB = "InternalError.Db"
INTERNALERROR_PARAM = "InternalError.Param"
INVALIDPARAMETER = "InvalidParameter"

func (*Client) DescribeClusterSecurity

func (c *Client) DescribeClusterSecurity(request *DescribeClusterSecurityRequest) (response *DescribeClusterSecurityResponse, err error)

DescribeClusterSecurity 集群的密钥信息

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_COMPONENTCLIENTHTTP = "FailedOperation.ComponentClientHttp"
FAILEDOPERATION_COMPONENTCLIENTUNPACK = "FailedOperation.ComponentClientUnpack"
FAILEDOPERATION_DB = "FailedOperation.Db"
FAILEDOPERATION_DBRECORDNOTFOUND = "FailedOperation.DbRecordNotFound"
FAILEDOPERATION_KUBECOMMON = "FailedOperation.KubeCommon"
FAILEDOPERATION_LBCOMMON = "FailedOperation.LbCommon"
INTERNALERROR = "InternalError"
INTERNALERROR_ACCOUNTUSERNOTAUTHENTICATED = "InternalError.AccountUserNotAuthenticated"
INTERNALERROR_COMPONENTCLIENTHTTP = "InternalError.ComponentClientHttp"
INTERNALERROR_DB = "InternalError.Db"
INTERNALERROR_DBAFFECTIVEDROWS = "InternalError.DbAffectivedRows"
INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound"
INTERNALERROR_KUBECOMMON = "InternalError.KubeCommon"
INTERNALERROR_LBCOMMON = "InternalError.LbCommon"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER_CIDRINVALID = "InvalidParameter.CidrInvalid"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
RESOURCEINUSE = "ResourceInUse"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCENOTFOUND_CLUSTERNOTFOUND = "ResourceNotFound.ClusterNotFound"
RESOURCENOTFOUND_KUBERESOURCENOTFOUND = "ResourceNotFound.KubeResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCEUNAVAILABLE_CLUSTERINABNORMALSTAT = "ResourceUnavailable.ClusterInAbnormalStat"
RESOURCEUNAVAILABLE_CLUSTERSTATE = "ResourceUnavailable.ClusterState"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_CAMNOAUTH = "UnauthorizedOperation.CamNoAuth"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeClusterSecurityWithContext added in v1.0.324

func (c *Client) DescribeClusterSecurityWithContext(ctx context.Context, request *DescribeClusterSecurityRequest) (response *DescribeClusterSecurityResponse, err error)

DescribeClusterSecurity 集群的密钥信息

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_COMPONENTCLIENTHTTP = "FailedOperation.ComponentClientHttp"
FAILEDOPERATION_COMPONENTCLIENTUNPACK = "FailedOperation.ComponentClientUnpack"
FAILEDOPERATION_DB = "FailedOperation.Db"
FAILEDOPERATION_DBRECORDNOTFOUND = "FailedOperation.DbRecordNotFound"
FAILEDOPERATION_KUBECOMMON = "FailedOperation.KubeCommon"
FAILEDOPERATION_LBCOMMON = "FailedOperation.LbCommon"
INTERNALERROR = "InternalError"
INTERNALERROR_ACCOUNTUSERNOTAUTHENTICATED = "InternalError.AccountUserNotAuthenticated"
INTERNALERROR_COMPONENTCLIENTHTTP = "InternalError.ComponentClientHttp"
INTERNALERROR_DB = "InternalError.Db"
INTERNALERROR_DBAFFECTIVEDROWS = "InternalError.DbAffectivedRows"
INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound"
INTERNALERROR_KUBECOMMON = "InternalError.KubeCommon"
INTERNALERROR_LBCOMMON = "InternalError.LbCommon"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER_CIDRINVALID = "InvalidParameter.CidrInvalid"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
RESOURCEINUSE = "ResourceInUse"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCENOTFOUND_CLUSTERNOTFOUND = "ResourceNotFound.ClusterNotFound"
RESOURCENOTFOUND_KUBERESOURCENOTFOUND = "ResourceNotFound.KubeResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCEUNAVAILABLE_CLUSTERINABNORMALSTAT = "ResourceUnavailable.ClusterInAbnormalStat"
RESOURCEUNAVAILABLE_CLUSTERSTATE = "ResourceUnavailable.ClusterState"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_CAMNOAUTH = "UnauthorizedOperation.CamNoAuth"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeClusterStatus added in v1.0.336

func (c *Client) DescribeClusterStatus(request *DescribeClusterStatusRequest) (response *DescribeClusterStatusResponse, err error)

DescribeClusterStatus 查看集群状态列表

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_CAMNOAUTH = "FailedOperation.CamNoAuth"
FAILEDOPERATION_COMPONENTCLIENTHTTP = "FailedOperation.ComponentClientHttp"
FAILEDOPERATION_COMPONENTCLIENTUNPACK = "FailedOperation.ComponentClientUnpack"
FAILEDOPERATION_COMPONENTCLINETHTTP = "FailedOperation.ComponentClinetHttp"
FAILEDOPERATION_PARAM = "FailedOperation.Param"
INTERNALERROR = "InternalError"
INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth"
INTERNALERROR_COMPONENTCLINETHTTP = "InternalError.ComponentClinetHttp"
INTERNALERROR_CVMCOMMON = "InternalError.CvmCommon"
INTERNALERROR_CVMNOTFOUND = "InternalError.CvmNotFound"
INTERNALERROR_DB = "InternalError.Db"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal"
INVALIDPARAMETER = "InvalidParameter"
MISSINGPARAMETER = "MissingParameter"
UNKNOWNPARAMETER = "UnknownParameter"

func (*Client) DescribeClusterStatusWithContext added in v1.0.336

func (c *Client) DescribeClusterStatusWithContext(ctx context.Context, request *DescribeClusterStatusRequest) (response *DescribeClusterStatusResponse, err error)

DescribeClusterStatus 查看集群状态列表

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_CAMNOAUTH = "FailedOperation.CamNoAuth"
FAILEDOPERATION_COMPONENTCLIENTHTTP = "FailedOperation.ComponentClientHttp"
FAILEDOPERATION_COMPONENTCLIENTUNPACK = "FailedOperation.ComponentClientUnpack"
FAILEDOPERATION_COMPONENTCLINETHTTP = "FailedOperation.ComponentClinetHttp"
FAILEDOPERATION_PARAM = "FailedOperation.Param"
INTERNALERROR = "InternalError"
INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth"
INTERNALERROR_COMPONENTCLINETHTTP = "InternalError.ComponentClinetHttp"
INTERNALERROR_CVMCOMMON = "InternalError.CvmCommon"
INTERNALERROR_CVMNOTFOUND = "InternalError.CvmNotFound"
INTERNALERROR_DB = "InternalError.Db"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal"
INVALIDPARAMETER = "InvalidParameter"
MISSINGPARAMETER = "MissingParameter"
UNKNOWNPARAMETER = "UnknownParameter"

func (*Client) DescribeClusterVirtualNode added in v1.0.575

func (c *Client) DescribeClusterVirtualNode(request *DescribeClusterVirtualNodeRequest) (response *DescribeClusterVirtualNodeResponse, err error)

DescribeClusterVirtualNode 查看超级节点列表

可能返回的错误码:

FAILEDOPERATION_KUBERNETESLISTOPERATIONERROR = "FailedOperation.KubernetesListOperationError"
INTERNALERROR_KUBERNETESLISTOPERATIONERROR = "InternalError.KubernetesListOperationError"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
RESOURCEUNAVAILABLE_CLUSTERSTATE = "ResourceUnavailable.ClusterState"
UNAUTHORIZEDOPERATION_CAMNOAUTH = "UnauthorizedOperation.CamNoAuth"

func (*Client) DescribeClusterVirtualNodePools added in v1.0.575

func (c *Client) DescribeClusterVirtualNodePools(request *DescribeClusterVirtualNodePoolsRequest) (response *DescribeClusterVirtualNodePoolsResponse, err error)

DescribeClusterVirtualNodePools 查看超级节点池列表

可能返回的错误码:

INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCENOTFOUND_CLUSTERNOTFOUND = "ResourceNotFound.ClusterNotFound"
RESOURCEUNAVAILABLE_CLUSTERSTATE = "ResourceUnavailable.ClusterState"
UNAUTHORIZEDOPERATION_CAMNOAUTH = "UnauthorizedOperation.CamNoAuth"

func (*Client) DescribeClusterVirtualNodePoolsWithContext added in v1.0.575

func (c *Client) DescribeClusterVirtualNodePoolsWithContext(ctx context.Context, request *DescribeClusterVirtualNodePoolsRequest) (response *DescribeClusterVirtualNodePoolsResponse, err error)

DescribeClusterVirtualNodePools 查看超级节点池列表

可能返回的错误码:

INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCENOTFOUND_CLUSTERNOTFOUND = "ResourceNotFound.ClusterNotFound"
RESOURCEUNAVAILABLE_CLUSTERSTATE = "ResourceUnavailable.ClusterState"
UNAUTHORIZEDOPERATION_CAMNOAUTH = "UnauthorizedOperation.CamNoAuth"

func (*Client) DescribeClusterVirtualNodeWithContext added in v1.0.575

func (c *Client) DescribeClusterVirtualNodeWithContext(ctx context.Context, request *DescribeClusterVirtualNodeRequest) (response *DescribeClusterVirtualNodeResponse, err error)

DescribeClusterVirtualNode 查看超级节点列表

可能返回的错误码:

FAILEDOPERATION_KUBERNETESLISTOPERATIONERROR = "FailedOperation.KubernetesListOperationError"
INTERNALERROR_KUBERNETESLISTOPERATIONERROR = "InternalError.KubernetesListOperationError"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
RESOURCEUNAVAILABLE_CLUSTERSTATE = "ResourceUnavailable.ClusterState"
UNAUTHORIZEDOPERATION_CAMNOAUTH = "UnauthorizedOperation.CamNoAuth"

func (*Client) DescribeClusters

func (c *Client) DescribeClusters(request *DescribeClustersRequest) (response *DescribeClustersResponse, err error)

DescribeClusters 查询集群列表

可能返回的错误码:

FAILEDOPERATION_UNEXPECTEDERROR = "FailedOperation.UnexpectedError"
INTERNALERROR = "InternalError"
INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth"
INTERNALERROR_DB = "InternalError.Db"
INTERNALERROR_DBAFFECTIVEDROWS = "InternalError.DbAffectivedRows"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_PUBLICCLUSTEROPNOTSUPPORT = "InternalError.PublicClusterOpNotSupport"
INTERNALERROR_QUOTAMAXCLSLIMIT = "InternalError.QuotaMaxClsLimit"
INTERNALERROR_QUOTAMAXNODLIMIT = "InternalError.QuotaMaxNodLimit"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
LIMITEXCEEDED = "LimitExceeded"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION_CAMNOAUTH = "UnauthorizedOperation.CamNoAuth"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeClustersWithContext added in v1.0.324

func (c *Client) DescribeClustersWithContext(ctx context.Context, request *DescribeClustersRequest) (response *DescribeClustersResponse, err error)

DescribeClusters 查询集群列表

可能返回的错误码:

FAILEDOPERATION_UNEXPECTEDERROR = "FailedOperation.UnexpectedError"
INTERNALERROR = "InternalError"
INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth"
INTERNALERROR_DB = "InternalError.Db"
INTERNALERROR_DBAFFECTIVEDROWS = "InternalError.DbAffectivedRows"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_PUBLICCLUSTEROPNOTSUPPORT = "InternalError.PublicClusterOpNotSupport"
INTERNALERROR_QUOTAMAXCLSLIMIT = "InternalError.QuotaMaxClsLimit"
INTERNALERROR_QUOTAMAXNODLIMIT = "InternalError.QuotaMaxNodLimit"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
LIMITEXCEEDED = "LimitExceeded"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION_CAMNOAUTH = "UnauthorizedOperation.CamNoAuth"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeECMInstances added in v1.0.412

func (c *Client) DescribeECMInstances(request *DescribeECMInstancesRequest) (response *DescribeECMInstancesResponse, err error)

DescribeECMInstances 获取ECM实例相关信息

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth"
INVALIDPARAMETER = "InvalidParameter"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
RESOURCEINUSE = "ResourceInUse"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeECMInstancesWithContext added in v1.0.412

func (c *Client) DescribeECMInstancesWithContext(ctx context.Context, request *DescribeECMInstancesRequest) (response *DescribeECMInstancesResponse, err error)

DescribeECMInstances 获取ECM实例相关信息

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth"
INVALIDPARAMETER = "InvalidParameter"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
RESOURCEINUSE = "ResourceInUse"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeEKSClusterCredential

func (c *Client) DescribeEKSClusterCredential(request *DescribeEKSClusterCredentialRequest) (response *DescribeEKSClusterCredentialResponse, err error)

DescribeEKSClusterCredential 获取弹性容器集群的接入认证信息

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth"
INVALIDPARAMETER = "InvalidParameter"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
RESOURCEINUSE = "ResourceInUse"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_CAMNOAUTH = "UnauthorizedOperation.CamNoAuth"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeEKSClusterCredentialWithContext added in v1.0.324

func (c *Client) DescribeEKSClusterCredentialWithContext(ctx context.Context, request *DescribeEKSClusterCredentialRequest) (response *DescribeEKSClusterCredentialResponse, err error)

DescribeEKSClusterCredential 获取弹性容器集群的接入认证信息

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth"
INVALIDPARAMETER = "InvalidParameter"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
RESOURCEINUSE = "ResourceInUse"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_CAMNOAUTH = "UnauthorizedOperation.CamNoAuth"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeEKSClusters

func (c *Client) DescribeEKSClusters(request *DescribeEKSClustersRequest) (response *DescribeEKSClustersResponse, err error)

DescribeEKSClusters 查询弹性集群列表

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth"
INVALIDPARAMETER = "InvalidParameter"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
RESOURCEINUSE = "ResourceInUse"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_CAMNOAUTH = "UnauthorizedOperation.CamNoAuth"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeEKSClustersWithContext added in v1.0.324

func (c *Client) DescribeEKSClustersWithContext(ctx context.Context, request *DescribeEKSClustersRequest) (response *DescribeEKSClustersResponse, err error)

DescribeEKSClusters 查询弹性集群列表

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth"
INVALIDPARAMETER = "InvalidParameter"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
RESOURCEINUSE = "ResourceInUse"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_CAMNOAUTH = "UnauthorizedOperation.CamNoAuth"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeEKSContainerInstanceEvent added in v1.0.254

func (c *Client) DescribeEKSContainerInstanceEvent(request *DescribeEKSContainerInstanceEventRequest) (response *DescribeEKSContainerInstanceEventResponse, err error)

DescribeEKSContainerInstanceEvent 查询容器实例的事件

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
LIMITEXCEEDED = "LimitExceeded"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeEKSContainerInstanceEventWithContext added in v1.0.324

func (c *Client) DescribeEKSContainerInstanceEventWithContext(ctx context.Context, request *DescribeEKSContainerInstanceEventRequest) (response *DescribeEKSContainerInstanceEventResponse, err error)

DescribeEKSContainerInstanceEvent 查询容器实例的事件

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
LIMITEXCEEDED = "LimitExceeded"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeEKSContainerInstanceRegions added in v1.0.249

func (c *Client) DescribeEKSContainerInstanceRegions(request *DescribeEKSContainerInstanceRegionsRequest) (response *DescribeEKSContainerInstanceRegionsResponse, err error)

DescribeEKSContainerInstanceRegions 查询容器实例支持的地域

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INTERNALERROR_ACCOUNTUSERNOTAUTHENTICATED = "InternalError.AccountUserNotAuthenticated"
INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth"
INTERNALERROR_DB = "InternalError.Db"
INTERNALERROR_PARAM = "InternalError.Param"
INVALIDPARAMETER = "InvalidParameter"

func (*Client) DescribeEKSContainerInstanceRegionsWithContext added in v1.0.324

func (c *Client) DescribeEKSContainerInstanceRegionsWithContext(ctx context.Context, request *DescribeEKSContainerInstanceRegionsRequest) (response *DescribeEKSContainerInstanceRegionsResponse, err error)

DescribeEKSContainerInstanceRegions 查询容器实例支持的地域

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INTERNALERROR_ACCOUNTUSERNOTAUTHENTICATED = "InternalError.AccountUserNotAuthenticated"
INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth"
INTERNALERROR_DB = "InternalError.Db"
INTERNALERROR_PARAM = "InternalError.Param"
INVALIDPARAMETER = "InvalidParameter"

func (*Client) DescribeEKSContainerInstances added in v1.0.254

func (c *Client) DescribeEKSContainerInstances(request *DescribeEKSContainerInstancesRequest) (response *DescribeEKSContainerInstancesResponse, err error)

DescribeEKSContainerInstances 查询容器实例

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_RBACFORBIDDEN = "FailedOperation.RBACForbidden"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DescribeEKSContainerInstancesWithContext added in v1.0.324

func (c *Client) DescribeEKSContainerInstancesWithContext(ctx context.Context, request *DescribeEKSContainerInstancesRequest) (response *DescribeEKSContainerInstancesResponse, err error)

DescribeEKSContainerInstances 查询容器实例

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_RBACFORBIDDEN = "FailedOperation.RBACForbidden"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DescribeEdgeAvailableExtraArgs added in v1.0.412

func (c *Client) DescribeEdgeAvailableExtraArgs(request *DescribeEdgeAvailableExtraArgsRequest) (response *DescribeEdgeAvailableExtraArgsResponse, err error)

DescribeEdgeAvailableExtraArgs 查询边缘容器集群可用的自定义参数

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"

func (*Client) DescribeEdgeAvailableExtraArgsWithContext added in v1.0.412

func (c *Client) DescribeEdgeAvailableExtraArgsWithContext(ctx context.Context, request *DescribeEdgeAvailableExtraArgsRequest) (response *DescribeEdgeAvailableExtraArgsResponse, err error)

DescribeEdgeAvailableExtraArgs 查询边缘容器集群可用的自定义参数

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"

func (*Client) DescribeEdgeCVMInstances added in v1.0.412

func (c *Client) DescribeEdgeCVMInstances(request *DescribeEdgeCVMInstancesRequest) (response *DescribeEdgeCVMInstancesResponse, err error)

DescribeEdgeCVMInstances 获取边缘容器CVM实例相关信息

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth"
INVALIDPARAMETER = "InvalidParameter"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
RESOURCEINUSE = "ResourceInUse"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeEdgeCVMInstancesWithContext added in v1.0.412

func (c *Client) DescribeEdgeCVMInstancesWithContext(ctx context.Context, request *DescribeEdgeCVMInstancesRequest) (response *DescribeEdgeCVMInstancesResponse, err error)

DescribeEdgeCVMInstances 获取边缘容器CVM实例相关信息

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth"
INVALIDPARAMETER = "InvalidParameter"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
RESOURCEINUSE = "ResourceInUse"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeEdgeClusterExtraArgs added in v1.0.412

func (c *Client) DescribeEdgeClusterExtraArgs(request *DescribeEdgeClusterExtraArgsRequest) (response *DescribeEdgeClusterExtraArgsResponse, err error)

DescribeEdgeClusterExtraArgs 查询边缘集群自定义参数

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INTERNALERROR_CLUSTERNOTFOUND = "InternalError.ClusterNotFound"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCENOTFOUND_CLUSTERNOTFOUND = "ResourceNotFound.ClusterNotFound"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeEdgeClusterExtraArgsWithContext added in v1.0.412

func (c *Client) DescribeEdgeClusterExtraArgsWithContext(ctx context.Context, request *DescribeEdgeClusterExtraArgsRequest) (response *DescribeEdgeClusterExtraArgsResponse, err error)

DescribeEdgeClusterExtraArgs 查询边缘集群自定义参数

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INTERNALERROR_CLUSTERNOTFOUND = "InternalError.ClusterNotFound"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCENOTFOUND_CLUSTERNOTFOUND = "ResourceNotFound.ClusterNotFound"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeEdgeClusterInstances added in v1.0.412

func (c *Client) DescribeEdgeClusterInstances(request *DescribeEdgeClusterInstancesRequest) (response *DescribeEdgeClusterInstancesResponse, err error)

DescribeEdgeClusterInstances 查询边缘计算集群的节点信息

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth"
INVALIDPARAMETER = "InvalidParameter"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
RESOURCEINUSE = "ResourceInUse"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeEdgeClusterInstancesWithContext added in v1.0.412

func (c *Client) DescribeEdgeClusterInstancesWithContext(ctx context.Context, request *DescribeEdgeClusterInstancesRequest) (response *DescribeEdgeClusterInstancesResponse, err error)

DescribeEdgeClusterInstances 查询边缘计算集群的节点信息

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth"
INVALIDPARAMETER = "InvalidParameter"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
RESOURCEINUSE = "ResourceInUse"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeEdgeClusterUpgradeInfo added in v1.0.510

func (c *Client) DescribeEdgeClusterUpgradeInfo(request *DescribeEdgeClusterUpgradeInfoRequest) (response *DescribeEdgeClusterUpgradeInfoResponse, err error)

DescribeEdgeClusterUpgradeInfo 可以查询边缘集群升级信息,包含可以升级的组件,当前升级状态和升级错误信息

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
MISSINGPARAMETER = "MissingParameter"
UNKNOWNPARAMETER = "UnknownParameter"

func (*Client) DescribeEdgeClusterUpgradeInfoWithContext added in v1.0.510

func (c *Client) DescribeEdgeClusterUpgradeInfoWithContext(ctx context.Context, request *DescribeEdgeClusterUpgradeInfoRequest) (response *DescribeEdgeClusterUpgradeInfoResponse, err error)

DescribeEdgeClusterUpgradeInfo 可以查询边缘集群升级信息,包含可以升级的组件,当前升级状态和升级错误信息

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
MISSINGPARAMETER = "MissingParameter"
UNKNOWNPARAMETER = "UnknownParameter"

func (*Client) DescribeEdgeLogSwitches added in v1.0.452

func (c *Client) DescribeEdgeLogSwitches(request *DescribeEdgeLogSwitchesRequest) (response *DescribeEdgeLogSwitchesResponse, err error)

DescribeEdgeLogSwitches 获取事件、审计和日志的状态

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_RBACFORBIDDEN = "FailedOperation.RBACForbidden"
INTERNALERROR = "InternalError"
INTERNALERROR_KUBERNETESCLIENTBUILDERROR = "InternalError.KubernetesClientBuildError"
INTERNALERROR_KUBERNETESGETOPERATIONERROR = "InternalError.KubernetesGetOperationError"
INTERNALERROR_PARAM = "InternalError.Param"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeEdgeLogSwitchesWithContext added in v1.0.452

func (c *Client) DescribeEdgeLogSwitchesWithContext(ctx context.Context, request *DescribeEdgeLogSwitchesRequest) (response *DescribeEdgeLogSwitchesResponse, err error)

DescribeEdgeLogSwitches 获取事件、审计和日志的状态

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_RBACFORBIDDEN = "FailedOperation.RBACForbidden"
INTERNALERROR = "InternalError"
INTERNALERROR_KUBERNETESCLIENTBUILDERROR = "InternalError.KubernetesClientBuildError"
INTERNALERROR_KUBERNETESGETOPERATIONERROR = "InternalError.KubernetesGetOperationError"
INTERNALERROR_PARAM = "InternalError.Param"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeEksContainerInstanceLog added in v1.0.254

func (c *Client) DescribeEksContainerInstanceLog(request *DescribeEksContainerInstanceLogRequest) (response *DescribeEksContainerInstanceLogResponse, err error)

DescribeEksContainerInstanceLog 查询容器实例中容器日志

可能返回的错误码:

INTERNALERROR = "InternalError"
INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth"
INTERNALERROR_CONTAINERNOTFOUND = "InternalError.ContainerNotFound"
INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCEUNAVAILABLE_EKSCONTAINERSTATUS = "ResourceUnavailable.EksContainerStatus"

func (*Client) DescribeEksContainerInstanceLogWithContext added in v1.0.324

func (c *Client) DescribeEksContainerInstanceLogWithContext(ctx context.Context, request *DescribeEksContainerInstanceLogRequest) (response *DescribeEksContainerInstanceLogResponse, err error)

DescribeEksContainerInstanceLog 查询容器实例中容器日志

可能返回的错误码:

INTERNALERROR = "InternalError"
INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth"
INTERNALERROR_CONTAINERNOTFOUND = "InternalError.ContainerNotFound"
INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCEUNAVAILABLE_EKSCONTAINERSTATUS = "ResourceUnavailable.EksContainerStatus"

func (*Client) DescribeEnableVpcCniProgress

func (c *Client) DescribeEnableVpcCniProgress(request *DescribeEnableVpcCniProgressRequest) (response *DescribeEnableVpcCniProgressResponse, err error)

DescribeEnableVpcCniProgress 本接口用于查询开启vpc-cni模式的任务进度

可能返回的错误码:

FAILEDOPERATION_ENABLEVPCCNIFAILED = "FailedOperation.EnableVPCCNIFailed"
INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"

func (*Client) DescribeEnableVpcCniProgressWithContext added in v1.0.324

func (c *Client) DescribeEnableVpcCniProgressWithContext(ctx context.Context, request *DescribeEnableVpcCniProgressRequest) (response *DescribeEnableVpcCniProgressResponse, err error)

DescribeEnableVpcCniProgress 本接口用于查询开启vpc-cni模式的任务进度

可能返回的错误码:

FAILEDOPERATION_ENABLEVPCCNIFAILED = "FailedOperation.EnableVPCCNIFailed"
INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"

func (*Client) DescribeEncryptionStatus added in v1.0.681

func (c *Client) DescribeEncryptionStatus(request *DescribeEncryptionStatusRequest) (response *DescribeEncryptionStatusResponse, err error)

DescribeEncryptionStatus 查询etcd数据是否进行加密

可能返回的错误码:

FAILEDOPERATION_ENABLEVPCCNIFAILED = "FailedOperation.EnableVPCCNIFailed"
INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"

func (*Client) DescribeEncryptionStatusWithContext added in v1.0.681

func (c *Client) DescribeEncryptionStatusWithContext(ctx context.Context, request *DescribeEncryptionStatusRequest) (response *DescribeEncryptionStatusResponse, err error)

DescribeEncryptionStatus 查询etcd数据是否进行加密

可能返回的错误码:

FAILEDOPERATION_ENABLEVPCCNIFAILED = "FailedOperation.EnableVPCCNIFailed"
INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"

func (*Client) DescribeExistedInstances

func (c *Client) DescribeExistedInstances(request *DescribeExistedInstancesRequest) (response *DescribeExistedInstancesResponse, err error)

DescribeExistedInstances 查询已经存在的节点,判断是否可以加入集群

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_ASCOMMON = "FailedOperation.AsCommon"
FAILEDOPERATION_CLUSTERNOTFOUND = "FailedOperation.ClusterNotFound"
FAILEDOPERATION_CLUSTERSTATE = "FailedOperation.ClusterState"
FAILEDOPERATION_CVMCOMMON = "FailedOperation.CvmCommon"
FAILEDOPERATION_DB = "FailedOperation.Db"
FAILEDOPERATION_PARAM = "FailedOperation.Param"
INTERNALERROR = "InternalError"
INTERNALERROR_ACCOUNTUSERNOTAUTHENTICATED = "InternalError.AccountUserNotAuthenticated"
INTERNALERROR_ASCOMMON = "InternalError.AsCommon"
INTERNALERROR_CLUSTERNOTFOUND = "InternalError.ClusterNotFound"
INTERNALERROR_CLUSTERSTATE = "InternalError.ClusterState"
INTERNALERROR_CREATEMASTERFAILED = "InternalError.CreateMasterFailed"
INTERNALERROR_CVMCOMMON = "InternalError.CvmCommon"
INTERNALERROR_CVMNOTFOUND = "InternalError.CvmNotFound"
INTERNALERROR_DB = "InternalError.Db"
INTERNALERROR_DBAFFECTIVEDROWS = "InternalError.DbAffectivedRows"
INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound"
INTERNALERROR_IMAGEIDNOTFOUND = "InternalError.ImageIdNotFound"
INTERNALERROR_INITMASTERFAILED = "InternalError.InitMasterFailed"
INTERNALERROR_INVALIDPRIVATENETWORKCIDR = "InternalError.InvalidPrivateNetworkCidr"
INTERNALERROR_OSNOTSUPPORT = "InternalError.OsNotSupport"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal"
INTERNALERROR_VPCCOMMON = "InternalError.VpcCommon"
INTERNALERROR_VPCRECODRNOTFOUND = "InternalError.VpcRecodrNotFound"
INVALIDPARAMETER = "InvalidParameter"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
RESOURCEINUSE = "ResourceInUse"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeExistedInstancesWithContext added in v1.0.324

func (c *Client) DescribeExistedInstancesWithContext(ctx context.Context, request *DescribeExistedInstancesRequest) (response *DescribeExistedInstancesResponse, err error)

DescribeExistedInstances 查询已经存在的节点,判断是否可以加入集群

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_ASCOMMON = "FailedOperation.AsCommon"
FAILEDOPERATION_CLUSTERNOTFOUND = "FailedOperation.ClusterNotFound"
FAILEDOPERATION_CLUSTERSTATE = "FailedOperation.ClusterState"
FAILEDOPERATION_CVMCOMMON = "FailedOperation.CvmCommon"
FAILEDOPERATION_DB = "FailedOperation.Db"
FAILEDOPERATION_PARAM = "FailedOperation.Param"
INTERNALERROR = "InternalError"
INTERNALERROR_ACCOUNTUSERNOTAUTHENTICATED = "InternalError.AccountUserNotAuthenticated"
INTERNALERROR_ASCOMMON = "InternalError.AsCommon"
INTERNALERROR_CLUSTERNOTFOUND = "InternalError.ClusterNotFound"
INTERNALERROR_CLUSTERSTATE = "InternalError.ClusterState"
INTERNALERROR_CREATEMASTERFAILED = "InternalError.CreateMasterFailed"
INTERNALERROR_CVMCOMMON = "InternalError.CvmCommon"
INTERNALERROR_CVMNOTFOUND = "InternalError.CvmNotFound"
INTERNALERROR_DB = "InternalError.Db"
INTERNALERROR_DBAFFECTIVEDROWS = "InternalError.DbAffectivedRows"
INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound"
INTERNALERROR_IMAGEIDNOTFOUND = "InternalError.ImageIdNotFound"
INTERNALERROR_INITMASTERFAILED = "InternalError.InitMasterFailed"
INTERNALERROR_INVALIDPRIVATENETWORKCIDR = "InternalError.InvalidPrivateNetworkCidr"
INTERNALERROR_OSNOTSUPPORT = "InternalError.OsNotSupport"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal"
INTERNALERROR_VPCCOMMON = "InternalError.VpcCommon"
INTERNALERROR_VPCRECODRNOTFOUND = "InternalError.VpcRecodrNotFound"
INVALIDPARAMETER = "InvalidParameter"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
RESOURCEINUSE = "ResourceInUse"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeExternalClusterSpec added in v1.0.257

func (c *Client) DescribeExternalClusterSpec(request *DescribeExternalClusterSpecRequest) (response *DescribeExternalClusterSpecResponse, err error)

DescribeExternalClusterSpec 获取导入第三方集群YAML定义

可能返回的错误码:

INTERNALERROR = "InternalError"
INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth"
INTERNALERROR_DB = "InternalError.Db"
INTERNALERROR_KUBERNETESCLIENTBUILDERROR = "InternalError.KubernetesClientBuildError"
INTERNALERROR_KUBERNETESCREATEOPERATIONERROR = "InternalError.KubernetesCreateOperationError"
INTERNALERROR_KUBERNETESDELETEOPERATIONERROR = "InternalError.KubernetesDeleteOperationError"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INTERNALERROR_WHITELISTUNEXPECTEDERROR = "InternalError.WhitelistUnexpectedError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_CLUSTERNOTFOUND = "InvalidParameter.ClusterNotFound"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
RESOURCENOTFOUND_CLUSTERNOTFOUND = "ResourceNotFound.ClusterNotFound"
RESOURCENOTFOUND_KUBERNETESRESOURCENOTFOUND = "ResourceNotFound.KubernetesResourceNotFound"
RESOURCEUNAVAILABLE_CLUSTERSTATE = "ResourceUnavailable.ClusterState"
UNAUTHORIZEDOPERATION_CAMNOAUTH = "UnauthorizedOperation.CamNoAuth"

func (*Client) DescribeExternalClusterSpecWithContext added in v1.0.324

func (c *Client) DescribeExternalClusterSpecWithContext(ctx context.Context, request *DescribeExternalClusterSpecRequest) (response *DescribeExternalClusterSpecResponse, err error)

DescribeExternalClusterSpec 获取导入第三方集群YAML定义

可能返回的错误码:

INTERNALERROR = "InternalError"
INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth"
INTERNALERROR_DB = "InternalError.Db"
INTERNALERROR_KUBERNETESCLIENTBUILDERROR = "InternalError.KubernetesClientBuildError"
INTERNALERROR_KUBERNETESCREATEOPERATIONERROR = "InternalError.KubernetesCreateOperationError"
INTERNALERROR_KUBERNETESDELETEOPERATIONERROR = "InternalError.KubernetesDeleteOperationError"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INTERNALERROR_WHITELISTUNEXPECTEDERROR = "InternalError.WhitelistUnexpectedError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_CLUSTERNOTFOUND = "InvalidParameter.ClusterNotFound"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
RESOURCENOTFOUND_CLUSTERNOTFOUND = "ResourceNotFound.ClusterNotFound"
RESOURCENOTFOUND_KUBERNETESRESOURCENOTFOUND = "ResourceNotFound.KubernetesResourceNotFound"
RESOURCEUNAVAILABLE_CLUSTERSTATE = "ResourceUnavailable.ClusterState"
UNAUTHORIZEDOPERATION_CAMNOAUTH = "UnauthorizedOperation.CamNoAuth"

func (*Client) DescribeExternalNodeSupportConfig added in v1.0.799

func (c *Client) DescribeExternalNodeSupportConfig(request *DescribeExternalNodeSupportConfigRequest) (response *DescribeExternalNodeSupportConfigResponse, err error)

DescribeExternalNodeSupportConfig 查看开启第三方节点池配置信息

可能返回的错误码:

INTERNALERROR_CLUSTERSTATE = "InternalError.ClusterState"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE_CLUSTERSTATE = "ResourceUnavailable.ClusterState"
UNSUPPORTEDOPERATION_NOTINWHITELIST = "UnsupportedOperation.NotInWhitelist"

func (*Client) DescribeExternalNodeSupportConfigWithContext added in v1.0.799

func (c *Client) DescribeExternalNodeSupportConfigWithContext(ctx context.Context, request *DescribeExternalNodeSupportConfigRequest) (response *DescribeExternalNodeSupportConfigResponse, err error)

DescribeExternalNodeSupportConfig 查看开启第三方节点池配置信息

可能返回的错误码:

INTERNALERROR_CLUSTERSTATE = "InternalError.ClusterState"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE_CLUSTERSTATE = "ResourceUnavailable.ClusterState"
UNSUPPORTEDOPERATION_NOTINWHITELIST = "UnsupportedOperation.NotInWhitelist"

func (*Client) DescribeIPAMD added in v1.0.799

func (c *Client) DescribeIPAMD(request *DescribeIPAMDRequest) (response *DescribeIPAMDResponse, err error)

DescribeIPAMD 获取eniipamd组件信息

可能返回的错误码:

FAILEDOPERATION_ENABLEVPCCNIFAILED = "FailedOperation.EnableVPCCNIFailed"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"

func (*Client) DescribeIPAMDWithContext added in v1.0.799

func (c *Client) DescribeIPAMDWithContext(ctx context.Context, request *DescribeIPAMDRequest) (response *DescribeIPAMDResponse, err error)

DescribeIPAMD 获取eniipamd组件信息

可能返回的错误码:

FAILEDOPERATION_ENABLEVPCCNIFAILED = "FailedOperation.EnableVPCCNIFailed"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"

func (*Client) DescribeImageCaches added in v1.0.363

func (c *Client) DescribeImageCaches(request *DescribeImageCachesRequest) (response *DescribeImageCachesResponse, err error)

DescribeImageCaches 查询镜像缓存信息接口

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"

func (*Client) DescribeImageCachesWithContext added in v1.0.363

func (c *Client) DescribeImageCachesWithContext(ctx context.Context, request *DescribeImageCachesRequest) (response *DescribeImageCachesResponse, err error)

DescribeImageCaches 查询镜像缓存信息接口

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"

func (*Client) DescribeImages

func (c *Client) DescribeImages(request *DescribeImagesRequest) (response *DescribeImagesResponse, err error)

DescribeImages 获取镜像信息

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth"
INTERNALERROR_COMPONENTCLINETHTTP = "InternalError.ComponentClinetHttp"
INTERNALERROR_DB = "InternalError.Db"
INTERNALERROR_DBAFFECTIVEDROWS = "InternalError.DbAffectivedRows"
INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound"
INTERNALERROR_IMAGEIDNOTFOUND = "InternalError.ImageIdNotFound"
INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
INVALIDPARAMETER_ROUTETABLENOTEMPTY = "InvalidParameter.RouteTableNotEmpty"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
RESOURCEINUSE = "ResourceInUse"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeImagesWithContext added in v1.0.324

func (c *Client) DescribeImagesWithContext(ctx context.Context, request *DescribeImagesRequest) (response *DescribeImagesResponse, err error)

DescribeImages 获取镜像信息

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth"
INTERNALERROR_COMPONENTCLINETHTTP = "InternalError.ComponentClinetHttp"
INTERNALERROR_DB = "InternalError.Db"
INTERNALERROR_DBAFFECTIVEDROWS = "InternalError.DbAffectivedRows"
INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound"
INTERNALERROR_IMAGEIDNOTFOUND = "InternalError.ImageIdNotFound"
INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
INVALIDPARAMETER_ROUTETABLENOTEMPTY = "InvalidParameter.RouteTableNotEmpty"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
RESOURCEINUSE = "ResourceInUse"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeLogSwitches added in v1.0.807

func (c *Client) DescribeLogSwitches(request *DescribeLogSwitchesRequest) (response *DescribeLogSwitchesResponse, err error)

DescribeLogSwitches 查询集群日志(审计、事件、普通日志)开关列表

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_COMPONENTCLIENTUNPACK = "FailedOperation.ComponentClientUnpack"
FAILEDOPERATION_KUBERNETESLISTOPERATIONERROR = "FailedOperation.KubernetesListOperationError"
FAILEDOPERATION_RBACFORBIDDEN = "FailedOperation.RBACForbidden"
INTERNALERROR = "InternalError"
INTERNALERROR_KUBERNETESCLIENTBUILDERROR = "InternalError.KubernetesClientBuildError"
INTERNALERROR_KUBERNETESGETOPERATIONERROR = "InternalError.KubernetesGetOperationError"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"

func (*Client) DescribeLogSwitchesWithContext added in v1.0.807

func (c *Client) DescribeLogSwitchesWithContext(ctx context.Context, request *DescribeLogSwitchesRequest) (response *DescribeLogSwitchesResponse, err error)

DescribeLogSwitches 查询集群日志(审计、事件、普通日志)开关列表

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_COMPONENTCLIENTUNPACK = "FailedOperation.ComponentClientUnpack"
FAILEDOPERATION_KUBERNETESLISTOPERATIONERROR = "FailedOperation.KubernetesListOperationError"
FAILEDOPERATION_RBACFORBIDDEN = "FailedOperation.RBACForbidden"
INTERNALERROR = "InternalError"
INTERNALERROR_KUBERNETESCLIENTBUILDERROR = "InternalError.KubernetesClientBuildError"
INTERNALERROR_KUBERNETESGETOPERATIONERROR = "InternalError.KubernetesGetOperationError"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"

func (*Client) DescribePodDeductionRate added in v1.0.759

func (c *Client) DescribePodDeductionRate(request *DescribePodDeductionRateRequest) (response *DescribePodDeductionRateResponse, err error)

DescribePodDeductionRate 查询各个规格的 Pod 的抵扣率

可能返回的错误码:

INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"

func (*Client) DescribePodDeductionRateWithContext added in v1.0.759

func (c *Client) DescribePodDeductionRateWithContext(ctx context.Context, request *DescribePodDeductionRateRequest) (response *DescribePodDeductionRateResponse, err error)

DescribePodDeductionRate 查询各个规格的 Pod 的抵扣率

可能返回的错误码:

INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"

func (*Client) DescribePodsBySpec added in v1.0.759

func (c *Client) DescribePodsBySpec(request *DescribePodsBySpecRequest) (response *DescribePodsBySpecResponse, err error)

DescribePodsBySpec 查询可以用预留券抵扣的 Pod 信息。

可能返回的错误码:

INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"

func (*Client) DescribePodsBySpecWithContext added in v1.0.759

func (c *Client) DescribePodsBySpecWithContext(ctx context.Context, request *DescribePodsBySpecRequest) (response *DescribePodsBySpecResponse, err error)

DescribePodsBySpec 查询可以用预留券抵扣的 Pod 信息。

可能返回的错误码:

INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"

func (*Client) DescribePostNodeResources added in v1.0.759

func (c *Client) DescribePostNodeResources(request *DescribePostNodeResourcesRequest) (response *DescribePostNodeResourcesResponse, err error)

DescribePostNodeResources 包括 Pod 资源统计和绑定的预留券资源统计。

可能返回的错误码:

INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal"

func (*Client) DescribePostNodeResourcesWithContext added in v1.0.759

func (c *Client) DescribePostNodeResourcesWithContext(ctx context.Context, request *DescribePostNodeResourcesRequest) (response *DescribePostNodeResourcesResponse, err error)

DescribePostNodeResources 包括 Pod 资源统计和绑定的预留券资源统计。

可能返回的错误码:

INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal"

func (*Client) DescribePrometheusAgentInstances

func (c *Client) DescribePrometheusAgentInstances(request *DescribePrometheusAgentInstancesRequest) (response *DescribePrometheusAgentInstancesResponse, err error)

DescribePrometheusAgentInstances 获取关联目标集群的实例列表

可能返回的错误码:

FAILEDOPERATION_COMPONENTCLIENTUNPACK = "FailedOperation.ComponentClientUnpack"
INTERNALERROR = "InternalError"
INTERNALERROR_DB = "InternalError.Db"
INTERNALERROR_PARAM = "InternalError.Param"
INVALIDPARAMETER = "InvalidParameter"

func (*Client) DescribePrometheusAgentInstancesWithContext added in v1.0.324

func (c *Client) DescribePrometheusAgentInstancesWithContext(ctx context.Context, request *DescribePrometheusAgentInstancesRequest) (response *DescribePrometheusAgentInstancesResponse, err error)

DescribePrometheusAgentInstances 获取关联目标集群的实例列表

可能返回的错误码:

FAILEDOPERATION_COMPONENTCLIENTUNPACK = "FailedOperation.ComponentClientUnpack"
INTERNALERROR = "InternalError"
INTERNALERROR_DB = "InternalError.Db"
INTERNALERROR_PARAM = "InternalError.Param"
INVALIDPARAMETER = "InvalidParameter"

func (*Client) DescribePrometheusAgents

func (c *Client) DescribePrometheusAgents(request *DescribePrometheusAgentsRequest) (response *DescribePrometheusAgentsResponse, err error)

DescribePrometheusAgents 获取被关联集群列表

可能返回的错误码:

FAILEDOPERATION_COMPONENTCLIENTUNPACK = "FailedOperation.ComponentClientUnpack"
INTERNALERROR = "InternalError"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"

func (*Client) DescribePrometheusAgentsWithContext added in v1.0.324

func (c *Client) DescribePrometheusAgentsWithContext(ctx context.Context, request *DescribePrometheusAgentsRequest) (response *DescribePrometheusAgentsResponse, err error)

DescribePrometheusAgents 获取被关联集群列表

可能返回的错误码:

FAILEDOPERATION_COMPONENTCLIENTUNPACK = "FailedOperation.ComponentClientUnpack"
INTERNALERROR = "InternalError"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"

func (*Client) DescribePrometheusAlertHistory

func (c *Client) DescribePrometheusAlertHistory(request *DescribePrometheusAlertHistoryRequest) (response *DescribePrometheusAlertHistoryResponse, err error)

DescribePrometheusAlertHistory 获取告警历史

可能返回的错误码:

FAILEDOPERATION_COMPONENTCLIENTHTTP = "FailedOperation.ComponentClientHttp"
FAILEDOPERATION_COMPONENTCLIENTUNPACK = "FailedOperation.ComponentClientUnpack"
FAILEDOPERATION_KUBECOMMON = "FailedOperation.KubeCommon"
INTERNALERROR = "InternalError"
INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_CLUSTERNOTFOUND = "InvalidParameter.ClusterNotFound"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
INVALIDPARAMETER_PROMINSTANCENOTFOUND = "InvalidParameter.PromInstanceNotFound"

func (*Client) DescribePrometheusAlertHistoryWithContext added in v1.0.324

func (c *Client) DescribePrometheusAlertHistoryWithContext(ctx context.Context, request *DescribePrometheusAlertHistoryRequest) (response *DescribePrometheusAlertHistoryResponse, err error)

DescribePrometheusAlertHistory 获取告警历史

可能返回的错误码:

FAILEDOPERATION_COMPONENTCLIENTHTTP = "FailedOperation.ComponentClientHttp"
FAILEDOPERATION_COMPONENTCLIENTUNPACK = "FailedOperation.ComponentClientUnpack"
FAILEDOPERATION_KUBECOMMON = "FailedOperation.KubeCommon"
INTERNALERROR = "InternalError"
INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_CLUSTERNOTFOUND = "InvalidParameter.ClusterNotFound"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
INVALIDPARAMETER_PROMINSTANCENOTFOUND = "InvalidParameter.PromInstanceNotFound"

func (*Client) DescribePrometheusAlertPolicy added in v1.0.401

func (c *Client) DescribePrometheusAlertPolicy(request *DescribePrometheusAlertPolicyRequest) (response *DescribePrometheusAlertPolicyResponse, err error)

DescribePrometheusAlertPolicy 获取2.0实例告警策略列表

可能返回的错误码:

FAILEDOPERATION_COMPONENTCLIENTCOMMON = "FailedOperation.ComponentClientCommon"
FAILEDOPERATION_COMPONENTCLIENTHTTP = "FailedOperation.ComponentClientHttp"
FAILEDOPERATION_COMPONENTCLIENTUNPACK = "FailedOperation.ComponentClientUnpack"
FAILEDOPERATION_KUBECLIENTCONF = "FailedOperation.KubeClientConf"
FAILEDOPERATION_KUBECOMMON = "FailedOperation.KubeCommon"
INTERNALERROR = "InternalError"
INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
INVALIDPARAMETER_PROMCLUSTERNOTFOUND = "InvalidParameter.PromClusterNotFound"
INVALIDPARAMETER_PROMINSTANCENOTFOUND = "InvalidParameter.PromInstanceNotFound"

func (*Client) DescribePrometheusAlertPolicyWithContext added in v1.0.401

func (c *Client) DescribePrometheusAlertPolicyWithContext(ctx context.Context, request *DescribePrometheusAlertPolicyRequest) (response *DescribePrometheusAlertPolicyResponse, err error)

DescribePrometheusAlertPolicy 获取2.0实例告警策略列表

可能返回的错误码:

FAILEDOPERATION_COMPONENTCLIENTCOMMON = "FailedOperation.ComponentClientCommon"
FAILEDOPERATION_COMPONENTCLIENTHTTP = "FailedOperation.ComponentClientHttp"
FAILEDOPERATION_COMPONENTCLIENTUNPACK = "FailedOperation.ComponentClientUnpack"
FAILEDOPERATION_KUBECLIENTCONF = "FailedOperation.KubeClientConf"
FAILEDOPERATION_KUBECOMMON = "FailedOperation.KubeCommon"
INTERNALERROR = "InternalError"
INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
INVALIDPARAMETER_PROMCLUSTERNOTFOUND = "InvalidParameter.PromClusterNotFound"
INVALIDPARAMETER_PROMINSTANCENOTFOUND = "InvalidParameter.PromInstanceNotFound"

func (*Client) DescribePrometheusAlertRule

func (c *Client) DescribePrometheusAlertRule(request *DescribePrometheusAlertRuleRequest) (response *DescribePrometheusAlertRuleResponse, err error)

DescribePrometheusAlertRule 获取告警规则列表

可能返回的错误码:

FAILEDOPERATION_COMPONENTCLIENTHTTP = "FailedOperation.ComponentClientHttp"
FAILEDOPERATION_COMPONENTCLIENTUNPACK = "FailedOperation.ComponentClientUnpack"
FAILEDOPERATION_DB = "FailedOperation.Db"
FAILEDOPERATION_KUBECOMMON = "FailedOperation.KubeCommon"
INTERNALERROR = "InternalError"
INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_CLUSTERNOTFOUND = "InvalidParameter.ClusterNotFound"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
INVALIDPARAMETER_PROMINSTANCENOTFOUND = "InvalidParameter.PromInstanceNotFound"

func (*Client) DescribePrometheusAlertRuleWithContext added in v1.0.324

func (c *Client) DescribePrometheusAlertRuleWithContext(ctx context.Context, request *DescribePrometheusAlertRuleRequest) (response *DescribePrometheusAlertRuleResponse, err error)

DescribePrometheusAlertRule 获取告警规则列表

可能返回的错误码:

FAILEDOPERATION_COMPONENTCLIENTHTTP = "FailedOperation.ComponentClientHttp"
FAILEDOPERATION_COMPONENTCLIENTUNPACK = "FailedOperation.ComponentClientUnpack"
FAILEDOPERATION_DB = "FailedOperation.Db"
FAILEDOPERATION_KUBECOMMON = "FailedOperation.KubeCommon"
INTERNALERROR = "InternalError"
INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_CLUSTERNOTFOUND = "InvalidParameter.ClusterNotFound"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
INVALIDPARAMETER_PROMINSTANCENOTFOUND = "InvalidParameter.PromInstanceNotFound"

func (*Client) DescribePrometheusClusterAgents added in v1.0.401

func (c *Client) DescribePrometheusClusterAgents(request *DescribePrometheusClusterAgentsRequest) (response *DescribePrometheusClusterAgentsResponse, err error)

DescribePrometheusClusterAgents 获取TMP实例关联集群列表

可能返回的错误码:

FAILEDOPERATION_COMPONENTCLIENTCOMMON = "FailedOperation.ComponentClientCommon"
FAILEDOPERATION_COMPONENTCLIENTUNPACK = "FailedOperation.ComponentClientUnpack"
FAILEDOPERATION_DB = "FailedOperation.Db"
FAILEDOPERATION_KUBECOMMON = "FailedOperation.KubeCommon"
INTERNALERROR = "InternalError"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"

func (*Client) DescribePrometheusClusterAgentsWithContext added in v1.0.401

func (c *Client) DescribePrometheusClusterAgentsWithContext(ctx context.Context, request *DescribePrometheusClusterAgentsRequest) (response *DescribePrometheusClusterAgentsResponse, err error)

DescribePrometheusClusterAgents 获取TMP实例关联集群列表

可能返回的错误码:

FAILEDOPERATION_COMPONENTCLIENTCOMMON = "FailedOperation.ComponentClientCommon"
FAILEDOPERATION_COMPONENTCLIENTUNPACK = "FailedOperation.ComponentClientUnpack"
FAILEDOPERATION_DB = "FailedOperation.Db"
FAILEDOPERATION_KUBECOMMON = "FailedOperation.KubeCommon"
INTERNALERROR = "InternalError"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"

func (*Client) DescribePrometheusConfig added in v1.0.432

func (c *Client) DescribePrometheusConfig(request *DescribePrometheusConfigRequest) (response *DescribePrometheusConfigResponse, err error)

DescribePrometheusConfig 拉取Prometheus配置

可能返回的错误码:

FAILEDOPERATION_COMPONENTCLIENTHTTP = "FailedOperation.ComponentClientHttp"
FAILEDOPERATION_COMPONENTCLIENTUNPACK = "FailedOperation.ComponentClientUnpack"
FAILEDOPERATION_DB = "FailedOperation.Db"
FAILEDOPERATION_KUBECLIENTCONF = "FailedOperation.KubeClientConf"
FAILEDOPERATION_KUBECOMMON = "FailedOperation.KubeCommon"
INTERNALERROR = "InternalError"
INTERNALERROR_DB = "InternalError.Db"
INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER_CLUSTERNOTFOUND = "InvalidParameter.ClusterNotFound"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
INVALIDPARAMETER_PROMCLUSTERNOTFOUND = "InvalidParameter.PromClusterNotFound"
INVALIDPARAMETER_PROMINSTANCENOTFOUND = "InvalidParameter.PromInstanceNotFound"

func (*Client) DescribePrometheusConfigWithContext added in v1.0.432

func (c *Client) DescribePrometheusConfigWithContext(ctx context.Context, request *DescribePrometheusConfigRequest) (response *DescribePrometheusConfigResponse, err error)

DescribePrometheusConfig 拉取Prometheus配置

可能返回的错误码:

FAILEDOPERATION_COMPONENTCLIENTHTTP = "FailedOperation.ComponentClientHttp"
FAILEDOPERATION_COMPONENTCLIENTUNPACK = "FailedOperation.ComponentClientUnpack"
FAILEDOPERATION_DB = "FailedOperation.Db"
FAILEDOPERATION_KUBECLIENTCONF = "FailedOperation.KubeClientConf"
FAILEDOPERATION_KUBECOMMON = "FailedOperation.KubeCommon"
INTERNALERROR = "InternalError"
INTERNALERROR_DB = "InternalError.Db"
INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER_CLUSTERNOTFOUND = "InvalidParameter.ClusterNotFound"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
INVALIDPARAMETER_PROMCLUSTERNOTFOUND = "InvalidParameter.PromClusterNotFound"
INVALIDPARAMETER_PROMINSTANCENOTFOUND = "InvalidParameter.PromInstanceNotFound"

func (*Client) DescribePrometheusGlobalConfig added in v1.0.432

func (c *Client) DescribePrometheusGlobalConfig(request *DescribePrometheusGlobalConfigRequest) (response *DescribePrometheusGlobalConfigResponse, err error)

DescribePrometheusGlobalConfig 获得实例级别抓取配置

可能返回的错误码:

FAILEDOPERATION_COMPONENTCLIENTHTTP = "FailedOperation.ComponentClientHttp"
FAILEDOPERATION_KUBECOMMON = "FailedOperation.KubeCommon"
INTERNALERROR = "InternalError"
INTERNALERROR_DB = "InternalError.Db"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_CLUSTERNOTFOUND = "InvalidParameter.ClusterNotFound"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
INVALIDPARAMETER_PROMINSTANCENOTFOUND = "InvalidParameter.PromInstanceNotFound"

func (*Client) DescribePrometheusGlobalConfigWithContext added in v1.0.432

func (c *Client) DescribePrometheusGlobalConfigWithContext(ctx context.Context, request *DescribePrometheusGlobalConfigRequest) (response *DescribePrometheusGlobalConfigResponse, err error)

DescribePrometheusGlobalConfig 获得实例级别抓取配置

可能返回的错误码:

FAILEDOPERATION_COMPONENTCLIENTHTTP = "FailedOperation.ComponentClientHttp"
FAILEDOPERATION_KUBECOMMON = "FailedOperation.KubeCommon"
INTERNALERROR = "InternalError"
INTERNALERROR_DB = "InternalError.Db"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_CLUSTERNOTFOUND = "InvalidParameter.ClusterNotFound"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
INVALIDPARAMETER_PROMINSTANCENOTFOUND = "InvalidParameter.PromInstanceNotFound"

func (*Client) DescribePrometheusGlobalNotification added in v1.0.403

func (c *Client) DescribePrometheusGlobalNotification(request *DescribePrometheusGlobalNotificationRequest) (response *DescribePrometheusGlobalNotificationResponse, err error)

DescribePrometheusGlobalNotification 查询全局告警通知渠道

可能返回的错误码:

FAILEDOPERATION_COMPONENTCLIENTCOMMON = "FailedOperation.ComponentClientCommon"
FAILEDOPERATION_COMPONENTCLIENTHTTP = "FailedOperation.ComponentClientHttp"
FAILEDOPERATION_KUBECLIENTCONF = "FailedOperation.KubeClientConf"
FAILEDOPERATION_KUBECOMMON = "FailedOperation.KubeCommon"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
INVALIDPARAMETER_PROMCLUSTERNOTFOUND = "InvalidParameter.PromClusterNotFound"
INVALIDPARAMETER_PROMINSTANCENOTFOUND = "InvalidParameter.PromInstanceNotFound"

func (*Client) DescribePrometheusGlobalNotificationWithContext added in v1.0.403

func (c *Client) DescribePrometheusGlobalNotificationWithContext(ctx context.Context, request *DescribePrometheusGlobalNotificationRequest) (response *DescribePrometheusGlobalNotificationResponse, err error)

DescribePrometheusGlobalNotification 查询全局告警通知渠道

可能返回的错误码:

FAILEDOPERATION_COMPONENTCLIENTCOMMON = "FailedOperation.ComponentClientCommon"
FAILEDOPERATION_COMPONENTCLIENTHTTP = "FailedOperation.ComponentClientHttp"
FAILEDOPERATION_KUBECLIENTCONF = "FailedOperation.KubeClientConf"
FAILEDOPERATION_KUBECOMMON = "FailedOperation.KubeCommon"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
INVALIDPARAMETER_PROMCLUSTERNOTFOUND = "InvalidParameter.PromClusterNotFound"
INVALIDPARAMETER_PROMINSTANCENOTFOUND = "InvalidParameter.PromInstanceNotFound"

func (*Client) DescribePrometheusInstance added in v1.0.218

func (c *Client) DescribePrometheusInstance(request *DescribePrometheusInstanceRequest) (response *DescribePrometheusInstanceResponse, err error)

DescribePrometheusInstance 获取实例详细信息

可能返回的错误码:

FAILEDOPERATION_COMPONENTCLIENTHTTP = "FailedOperation.ComponentClientHttp"
FAILEDOPERATION_COMPONENTCLIENTUNPACK = "FailedOperation.ComponentClientUnpack"
FAILEDOPERATION_KUBECOMMON = "FailedOperation.KubeCommon"
INTERNALERROR = "InternalError"
INTERNALERROR_DB = "InternalError.Db"
INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_CLUSTERNOTFOUND = "InvalidParameter.ClusterNotFound"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
INVALIDPARAMETER_PROMINSTANCENOTFOUND = "InvalidParameter.PromInstanceNotFound"

func (*Client) DescribePrometheusInstanceInitStatus added in v1.0.432

func (c *Client) DescribePrometheusInstanceInitStatus(request *DescribePrometheusInstanceInitStatusRequest) (response *DescribePrometheusInstanceInitStatusResponse, err error)

DescribePrometheusInstanceInitStatus 获取2.0实例初始化任务状态

可能返回的错误码:

FAILEDOPERATION_COMPONENTCLIENTCOMMON = "FailedOperation.ComponentClientCommon"
INTERNALERROR = "InternalError"
INTERNALERROR_DB = "InternalError.Db"
INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_TASKNOTFOUND = "InternalError.TaskNotFound"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"

func (*Client) DescribePrometheusInstanceInitStatusWithContext added in v1.0.432

func (c *Client) DescribePrometheusInstanceInitStatusWithContext(ctx context.Context, request *DescribePrometheusInstanceInitStatusRequest) (response *DescribePrometheusInstanceInitStatusResponse, err error)

DescribePrometheusInstanceInitStatus 获取2.0实例初始化任务状态

可能返回的错误码:

FAILEDOPERATION_COMPONENTCLIENTCOMMON = "FailedOperation.ComponentClientCommon"
INTERNALERROR = "InternalError"
INTERNALERROR_DB = "InternalError.Db"
INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_TASKNOTFOUND = "InternalError.TaskNotFound"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"

func (*Client) DescribePrometheusInstanceWithContext added in v1.0.324

func (c *Client) DescribePrometheusInstanceWithContext(ctx context.Context, request *DescribePrometheusInstanceRequest) (response *DescribePrometheusInstanceResponse, err error)

DescribePrometheusInstance 获取实例详细信息

可能返回的错误码:

FAILEDOPERATION_COMPONENTCLIENTHTTP = "FailedOperation.ComponentClientHttp"
FAILEDOPERATION_COMPONENTCLIENTUNPACK = "FailedOperation.ComponentClientUnpack"
FAILEDOPERATION_KUBECOMMON = "FailedOperation.KubeCommon"
INTERNALERROR = "InternalError"
INTERNALERROR_DB = "InternalError.Db"
INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_CLUSTERNOTFOUND = "InvalidParameter.ClusterNotFound"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
INVALIDPARAMETER_PROMINSTANCENOTFOUND = "InvalidParameter.PromInstanceNotFound"

func (*Client) DescribePrometheusInstancesOverview added in v1.0.401

func (c *Client) DescribePrometheusInstancesOverview(request *DescribePrometheusInstancesOverviewRequest) (response *DescribePrometheusInstancesOverviewResponse, err error)

DescribePrometheusInstancesOverview 获取与云监控融合实例列表

可能返回的错误码:

FAILEDOPERATION_COMPONENTCLIENTCOMMON = "FailedOperation.ComponentClientCommon"
FAILEDOPERATION_COMPONENTCLIENTUNPACK = "FailedOperation.ComponentClientUnpack"
INTERNALERROR = "InternalError"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"

func (*Client) DescribePrometheusInstancesOverviewWithContext added in v1.0.401

func (c *Client) DescribePrometheusInstancesOverviewWithContext(ctx context.Context, request *DescribePrometheusInstancesOverviewRequest) (response *DescribePrometheusInstancesOverviewResponse, err error)

DescribePrometheusInstancesOverview 获取与云监控融合实例列表

可能返回的错误码:

FAILEDOPERATION_COMPONENTCLIENTCOMMON = "FailedOperation.ComponentClientCommon"
FAILEDOPERATION_COMPONENTCLIENTUNPACK = "FailedOperation.ComponentClientUnpack"
INTERNALERROR = "InternalError"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"

func (*Client) DescribePrometheusOverviews

func (c *Client) DescribePrometheusOverviews(request *DescribePrometheusOverviewsRequest) (response *DescribePrometheusOverviewsResponse, err error)

DescribePrometheusOverviews 获取实例列表

可能返回的错误码:

FAILEDOPERATION_COMPONENTCLIENTUNPACK = "FailedOperation.ComponentClientUnpack"
FAILEDOPERATION_DB = "FailedOperation.Db"
INTERNALERROR = "InternalError"
INTERNALERROR_DB = "InternalError.Db"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"

func (*Client) DescribePrometheusOverviewsWithContext added in v1.0.324

func (c *Client) DescribePrometheusOverviewsWithContext(ctx context.Context, request *DescribePrometheusOverviewsRequest) (response *DescribePrometheusOverviewsResponse, err error)

DescribePrometheusOverviews 获取实例列表

可能返回的错误码:

FAILEDOPERATION_COMPONENTCLIENTUNPACK = "FailedOperation.ComponentClientUnpack"
FAILEDOPERATION_DB = "FailedOperation.Db"
INTERNALERROR = "InternalError"
INTERNALERROR_DB = "InternalError.Db"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"

func (*Client) DescribePrometheusRecordRules added in v1.0.401

func (c *Client) DescribePrometheusRecordRules(request *DescribePrometheusRecordRulesRequest) (response *DescribePrometheusRecordRulesResponse, err error)

DescribePrometheusRecordRules 获取聚合规则列表,包含关联集群内crd资源创建的record rule

可能返回的错误码:

FAILEDOPERATION_COMPONENTCLIENTCOMMON = "FailedOperation.ComponentClientCommon"
FAILEDOPERATION_COMPONENTCLIENTHTTP = "FailedOperation.ComponentClientHttp"
FAILEDOPERATION_COMPONENTCLIENTUNPACK = "FailedOperation.ComponentClientUnpack"
FAILEDOPERATION_KUBECLIENTCONF = "FailedOperation.KubeClientConf"
FAILEDOPERATION_KUBECOMMON = "FailedOperation.KubeCommon"
INTERNALERROR = "InternalError"
INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_PROMCLUSTERNOTFOUND = "InvalidParameter.PromClusterNotFound"
INVALIDPARAMETER_PROMINSTANCENOTFOUND = "InvalidParameter.PromInstanceNotFound"

func (*Client) DescribePrometheusRecordRulesWithContext added in v1.0.401

func (c *Client) DescribePrometheusRecordRulesWithContext(ctx context.Context, request *DescribePrometheusRecordRulesRequest) (response *DescribePrometheusRecordRulesResponse, err error)

DescribePrometheusRecordRules 获取聚合规则列表,包含关联集群内crd资源创建的record rule

可能返回的错误码:

FAILEDOPERATION_COMPONENTCLIENTCOMMON = "FailedOperation.ComponentClientCommon"
FAILEDOPERATION_COMPONENTCLIENTHTTP = "FailedOperation.ComponentClientHttp"
FAILEDOPERATION_COMPONENTCLIENTUNPACK = "FailedOperation.ComponentClientUnpack"
FAILEDOPERATION_KUBECLIENTCONF = "FailedOperation.KubeClientConf"
FAILEDOPERATION_KUBECOMMON = "FailedOperation.KubeCommon"
INTERNALERROR = "InternalError"
INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_PROMCLUSTERNOTFOUND = "InvalidParameter.PromClusterNotFound"
INVALIDPARAMETER_PROMINSTANCENOTFOUND = "InvalidParameter.PromInstanceNotFound"

func (*Client) DescribePrometheusTargets

func (c *Client) DescribePrometheusTargets(request *DescribePrometheusTargetsRequest) (response *DescribePrometheusTargetsResponse, err error)

DescribePrometheusTargets 获取targets信息

可能返回的错误码:

FAILEDOPERATION_COMPONENTCLIENTHTTP = "FailedOperation.ComponentClientHttp"
INTERNALERROR = "InternalError"
INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_CLUSTERNOTFOUND = "InvalidParameter.ClusterNotFound"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
INVALIDPARAMETER_PROMCLUSTERNOTFOUND = "InvalidParameter.PromClusterNotFound"
INVALIDPARAMETER_PROMINSTANCENOTFOUND = "InvalidParameter.PromInstanceNotFound"

func (*Client) DescribePrometheusTargetsWithContext added in v1.0.324

func (c *Client) DescribePrometheusTargetsWithContext(ctx context.Context, request *DescribePrometheusTargetsRequest) (response *DescribePrometheusTargetsResponse, err error)

DescribePrometheusTargets 获取targets信息

可能返回的错误码:

FAILEDOPERATION_COMPONENTCLIENTHTTP = "FailedOperation.ComponentClientHttp"
INTERNALERROR = "InternalError"
INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_CLUSTERNOTFOUND = "InvalidParameter.ClusterNotFound"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
INVALIDPARAMETER_PROMCLUSTERNOTFOUND = "InvalidParameter.PromClusterNotFound"
INVALIDPARAMETER_PROMINSTANCENOTFOUND = "InvalidParameter.PromInstanceNotFound"

func (*Client) DescribePrometheusTemp added in v1.0.401

func (c *Client) DescribePrometheusTemp(request *DescribePrometheusTempRequest) (response *DescribePrometheusTempResponse, err error)

DescribePrometheusTemp 拉取模板列表,默认模板将总是在最前面

可能返回的错误码:

FAILEDOPERATION_COMPONENTCLIENTUNPACK = "FailedOperation.ComponentClientUnpack"
INTERNALERROR_DB = "InternalError.Db"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"

func (*Client) DescribePrometheusTempSync added in v1.0.401

func (c *Client) DescribePrometheusTempSync(request *DescribePrometheusTempSyncRequest) (response *DescribePrometheusTempSyncResponse, err error)

DescribePrometheusTempSync 获取模板关联实例信息,针对V2版本实例

可能返回的错误码:

INTERNALERROR = "InternalError"
INTERNALERROR_DB = "InternalError.Db"
INTERNALERROR_PARAM = "InternalError.Param"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
INVALIDPARAMETER_RESOURCENOTFOUND = "InvalidParameter.ResourceNotFound"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DescribePrometheusTempSyncWithContext added in v1.0.401

func (c *Client) DescribePrometheusTempSyncWithContext(ctx context.Context, request *DescribePrometheusTempSyncRequest) (response *DescribePrometheusTempSyncResponse, err error)

DescribePrometheusTempSync 获取模板关联实例信息,针对V2版本实例

可能返回的错误码:

INTERNALERROR = "InternalError"
INTERNALERROR_DB = "InternalError.Db"
INTERNALERROR_PARAM = "InternalError.Param"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
INVALIDPARAMETER_RESOURCENOTFOUND = "InvalidParameter.ResourceNotFound"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DescribePrometheusTempWithContext added in v1.0.401

func (c *Client) DescribePrometheusTempWithContext(ctx context.Context, request *DescribePrometheusTempRequest) (response *DescribePrometheusTempResponse, err error)

DescribePrometheusTemp 拉取模板列表,默认模板将总是在最前面

可能返回的错误码:

FAILEDOPERATION_COMPONENTCLIENTUNPACK = "FailedOperation.ComponentClientUnpack"
INTERNALERROR_DB = "InternalError.Db"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"

func (*Client) DescribePrometheusTemplateSync

func (c *Client) DescribePrometheusTemplateSync(request *DescribePrometheusTemplateSyncRequest) (response *DescribePrometheusTemplateSyncResponse, err error)

DescribePrometheusTemplateSync 获取模板同步信息

可能返回的错误码:

INTERNALERROR = "InternalError"
INTERNALERROR_DB = "InternalError.Db"
INTERNALERROR_PARAM = "InternalError.Param"
INVALIDPARAMETER_RESOURCENOTFOUND = "InvalidParameter.ResourceNotFound"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DescribePrometheusTemplateSyncWithContext added in v1.0.324

func (c *Client) DescribePrometheusTemplateSyncWithContext(ctx context.Context, request *DescribePrometheusTemplateSyncRequest) (response *DescribePrometheusTemplateSyncResponse, err error)

DescribePrometheusTemplateSync 获取模板同步信息

可能返回的错误码:

INTERNALERROR = "InternalError"
INTERNALERROR_DB = "InternalError.Db"
INTERNALERROR_PARAM = "InternalError.Param"
INVALIDPARAMETER_RESOURCENOTFOUND = "InvalidParameter.ResourceNotFound"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DescribePrometheusTemplates

func (c *Client) DescribePrometheusTemplates(request *DescribePrometheusTemplatesRequest) (response *DescribePrometheusTemplatesResponse, err error)

DescribePrometheusTemplates 拉取模板列表,默认模板将总是在最前面

可能返回的错误码:

FAILEDOPERATION_COMPONENTCLIENTUNPACK = "FailedOperation.ComponentClientUnpack"
FAILEDOPERATION_DB = "FailedOperation.Db"
INTERNALERROR_DB = "InternalError.Db"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"

func (*Client) DescribePrometheusTemplatesWithContext added in v1.0.324

func (c *Client) DescribePrometheusTemplatesWithContext(ctx context.Context, request *DescribePrometheusTemplatesRequest) (response *DescribePrometheusTemplatesResponse, err error)

DescribePrometheusTemplates 拉取模板列表,默认模板将总是在最前面

可能返回的错误码:

FAILEDOPERATION_COMPONENTCLIENTUNPACK = "FailedOperation.ComponentClientUnpack"
FAILEDOPERATION_DB = "FailedOperation.Db"
INTERNALERROR_DB = "InternalError.Db"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"

func (*Client) DescribeRIUtilizationDetail added in v1.0.759

func (c *Client) DescribeRIUtilizationDetail(request *DescribeRIUtilizationDetailRequest) (response *DescribeRIUtilizationDetailResponse, err error)

DescribeRIUtilizationDetail 预留实例用量查询

可能返回的错误码:

INTERNALERROR = "InternalError"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"

func (*Client) DescribeRIUtilizationDetailWithContext added in v1.0.759

func (c *Client) DescribeRIUtilizationDetailWithContext(ctx context.Context, request *DescribeRIUtilizationDetailRequest) (response *DescribeRIUtilizationDetailResponse, err error)

DescribeRIUtilizationDetail 预留实例用量查询

可能返回的错误码:

INTERNALERROR = "InternalError"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"

func (*Client) DescribeRegions

func (c *Client) DescribeRegions(request *DescribeRegionsRequest) (response *DescribeRegionsResponse, err error)

DescribeRegions 获取容器服务支持的所有地域

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_COMPONENTCLIENTHTTP = "FailedOperation.ComponentClientHttp"
INTERNALERROR = "InternalError"
INTERNALERROR_ACCOUNTUSERNOTAUTHENTICATED = "InternalError.AccountUserNotAuthenticated"
INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth"
INTERNALERROR_DB = "InternalError.Db"
INTERNALERROR_DBAFFECTIVEDROWS = "InternalError.DbAffectivedRows"
INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound"
INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
RESOURCEINUSE = "ResourceInUse"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeRegionsWithContext added in v1.0.324

func (c *Client) DescribeRegionsWithContext(ctx context.Context, request *DescribeRegionsRequest) (response *DescribeRegionsResponse, err error)

DescribeRegions 获取容器服务支持的所有地域

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_COMPONENTCLIENTHTTP = "FailedOperation.ComponentClientHttp"
INTERNALERROR = "InternalError"
INTERNALERROR_ACCOUNTUSERNOTAUTHENTICATED = "InternalError.AccountUserNotAuthenticated"
INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth"
INTERNALERROR_DB = "InternalError.Db"
INTERNALERROR_DBAFFECTIVEDROWS = "InternalError.DbAffectivedRows"
INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound"
INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
RESOURCEINUSE = "ResourceInUse"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeReservedInstances added in v1.0.759

func (c *Client) DescribeReservedInstances(request *DescribeReservedInstancesRequest) (response *DescribeReservedInstancesResponse, err error)

DescribeReservedInstances 查询预留实例列表

可能返回的错误码:

INTERNALERROR = "InternalError"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"

func (*Client) DescribeReservedInstancesWithContext added in v1.0.759

func (c *Client) DescribeReservedInstancesWithContext(ctx context.Context, request *DescribeReservedInstancesRequest) (response *DescribeReservedInstancesResponse, err error)

DescribeReservedInstances 查询预留实例列表

可能返回的错误码:

INTERNALERROR = "InternalError"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"

func (*Client) DescribeResourceUsage added in v1.0.378

func (c *Client) DescribeResourceUsage(request *DescribeResourceUsageRequest) (response *DescribeResourceUsageResponse, err error)

DescribeResourceUsage 获取集群资源使用量

可能返回的错误码:

FAILEDOPERATION_UNEXPECTEDERROR = "FailedOperation.UnexpectedError"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_CLUSTERNOTFOUND = "InvalidParameter.ClusterNotFound"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE_CLUSTERSTATE = "ResourceUnavailable.ClusterState"

func (*Client) DescribeResourceUsageWithContext added in v1.0.378

func (c *Client) DescribeResourceUsageWithContext(ctx context.Context, request *DescribeResourceUsageRequest) (response *DescribeResourceUsageResponse, err error)

DescribeResourceUsage 获取集群资源使用量

可能返回的错误码:

FAILEDOPERATION_UNEXPECTEDERROR = "FailedOperation.UnexpectedError"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_CLUSTERNOTFOUND = "InvalidParameter.ClusterNotFound"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE_CLUSTERSTATE = "ResourceUnavailable.ClusterState"

func (*Client) DescribeRouteTableConflicts

func (c *Client) DescribeRouteTableConflicts(request *DescribeRouteTableConflictsRequest) (response *DescribeRouteTableConflictsResponse, err error)

DescribeRouteTableConflicts 查询路由表冲突列表

可能返回的错误码:

FAILEDOPERATION_PARAM = "FailedOperation.Param"
FAILEDOPERATION_VPCRECODRNOTFOUND = "FailedOperation.VpcRecodrNotFound"
INTERNALERROR = "InternalError"
INTERNALERROR_CIDRMASKSIZEOUTOFRANGE = "InternalError.CidrMaskSizeOutOfRange"
INTERNALERROR_INVALIDPRIVATENETWORKCIDR = "InternalError.InvalidPrivateNetworkCidr"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal"
INTERNALERROR_VPCRECODRNOTFOUND = "InternalError.VpcRecodrNotFound"
INVALIDPARAMETER = "InvalidParameter"

func (*Client) DescribeRouteTableConflictsWithContext added in v1.0.324

func (c *Client) DescribeRouteTableConflictsWithContext(ctx context.Context, request *DescribeRouteTableConflictsRequest) (response *DescribeRouteTableConflictsResponse, err error)

DescribeRouteTableConflicts 查询路由表冲突列表

可能返回的错误码:

FAILEDOPERATION_PARAM = "FailedOperation.Param"
FAILEDOPERATION_VPCRECODRNOTFOUND = "FailedOperation.VpcRecodrNotFound"
INTERNALERROR = "InternalError"
INTERNALERROR_CIDRMASKSIZEOUTOFRANGE = "InternalError.CidrMaskSizeOutOfRange"
INTERNALERROR_INVALIDPRIVATENETWORKCIDR = "InternalError.InvalidPrivateNetworkCidr"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal"
INTERNALERROR_VPCRECODRNOTFOUND = "InternalError.VpcRecodrNotFound"
INVALIDPARAMETER = "InvalidParameter"

func (*Client) DescribeSupportedRuntime added in v1.0.900

func (c *Client) DescribeSupportedRuntime(request *DescribeSupportedRuntimeRequest) (response *DescribeSupportedRuntimeResponse, err error)

DescribeSupportedRuntime 根据K8S版本获取可选运行时版本

可能返回的错误码:

FAILEDOPERATION_POLICYSERVERCOMMONERROR = "FailedOperation.PolicyServerCommonError"
INTERNALERROR_DB = "InternalError.Db"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
RESOURCEINUSE = "ResourceInUse"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNKNOWNPARAMETER = "UnknownParameter"

func (*Client) DescribeSupportedRuntimeWithContext added in v1.0.900

func (c *Client) DescribeSupportedRuntimeWithContext(ctx context.Context, request *DescribeSupportedRuntimeRequest) (response *DescribeSupportedRuntimeResponse, err error)

DescribeSupportedRuntime 根据K8S版本获取可选运行时版本

可能返回的错误码:

FAILEDOPERATION_POLICYSERVERCOMMONERROR = "FailedOperation.PolicyServerCommonError"
INTERNALERROR_DB = "InternalError.Db"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
RESOURCEINUSE = "ResourceInUse"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNKNOWNPARAMETER = "UnknownParameter"

func (*Client) DescribeTKEEdgeClusterCredential added in v1.0.412

func (c *Client) DescribeTKEEdgeClusterCredential(request *DescribeTKEEdgeClusterCredentialRequest) (response *DescribeTKEEdgeClusterCredentialResponse, err error)

DescribeTKEEdgeClusterCredential 获取边缘计算集群的认证信息

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
RESOURCEINUSE = "ResourceInUse"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeTKEEdgeClusterCredentialWithContext added in v1.0.412

func (c *Client) DescribeTKEEdgeClusterCredentialWithContext(ctx context.Context, request *DescribeTKEEdgeClusterCredentialRequest) (response *DescribeTKEEdgeClusterCredentialResponse, err error)

DescribeTKEEdgeClusterCredential 获取边缘计算集群的认证信息

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
RESOURCEINUSE = "ResourceInUse"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeTKEEdgeClusterStatus added in v1.0.412

func (c *Client) DescribeTKEEdgeClusterStatus(request *DescribeTKEEdgeClusterStatusRequest) (response *DescribeTKEEdgeClusterStatusResponse, err error)

DescribeTKEEdgeClusterStatus 获取边缘计算集群的当前状态以及过程信息

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
RESOURCEINUSE = "ResourceInUse"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeTKEEdgeClusterStatusWithContext added in v1.0.412

func (c *Client) DescribeTKEEdgeClusterStatusWithContext(ctx context.Context, request *DescribeTKEEdgeClusterStatusRequest) (response *DescribeTKEEdgeClusterStatusResponse, err error)

DescribeTKEEdgeClusterStatus 获取边缘计算集群的当前状态以及过程信息

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
RESOURCEINUSE = "ResourceInUse"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeTKEEdgeClusters added in v1.0.412

func (c *Client) DescribeTKEEdgeClusters(request *DescribeTKEEdgeClustersRequest) (response *DescribeTKEEdgeClustersResponse, err error)

DescribeTKEEdgeClusters 查询边缘集群列表

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth"
INVALIDPARAMETER = "InvalidParameter"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
RESOURCEINUSE = "ResourceInUse"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeTKEEdgeClustersWithContext added in v1.0.412

func (c *Client) DescribeTKEEdgeClustersWithContext(ctx context.Context, request *DescribeTKEEdgeClustersRequest) (response *DescribeTKEEdgeClustersResponse, err error)

DescribeTKEEdgeClusters 查询边缘集群列表

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth"
INVALIDPARAMETER = "InvalidParameter"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
RESOURCEINUSE = "ResourceInUse"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeTKEEdgeExternalKubeconfig added in v1.0.412

func (c *Client) DescribeTKEEdgeExternalKubeconfig(request *DescribeTKEEdgeExternalKubeconfigRequest) (response *DescribeTKEEdgeExternalKubeconfigResponse, err error)

DescribeTKEEdgeExternalKubeconfig 获取边缘计算外部访问的kubeconfig

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
RESOURCEINUSE = "ResourceInUse"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeTKEEdgeExternalKubeconfigWithContext added in v1.0.412

func (c *Client) DescribeTKEEdgeExternalKubeconfigWithContext(ctx context.Context, request *DescribeTKEEdgeExternalKubeconfigRequest) (response *DescribeTKEEdgeExternalKubeconfigResponse, err error)

DescribeTKEEdgeExternalKubeconfig 获取边缘计算外部访问的kubeconfig

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
RESOURCEINUSE = "ResourceInUse"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeTKEEdgeScript added in v1.0.361

func (c *Client) DescribeTKEEdgeScript(request *DescribeTKEEdgeScriptRequest) (response *DescribeTKEEdgeScriptResponse, err error)

DescribeTKEEdgeScript 获取边缘脚本链接,此接口用于添加第三方节点,通过下载脚本从而将节点添加到边缘集群。

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
RESOURCEINUSE = "ResourceInUse"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeTKEEdgeScriptWithContext added in v1.0.361

func (c *Client) DescribeTKEEdgeScriptWithContext(ctx context.Context, request *DescribeTKEEdgeScriptRequest) (response *DescribeTKEEdgeScriptResponse, err error)

DescribeTKEEdgeScript 获取边缘脚本链接,此接口用于添加第三方节点,通过下载脚本从而将节点添加到边缘集群。

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
RESOURCEINUSE = "ResourceInUse"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeVersions added in v1.0.228

func (c *Client) DescribeVersions(request *DescribeVersionsRequest) (response *DescribeVersionsResponse, err error)

DescribeVersions 获取集群版本信息

可能返回的错误码:

FAILEDOPERATION_COMPONENTCLIENTHTTP = "FailedOperation.ComponentClientHttp"
FAILEDOPERATION_COMPONENTCLINETHTTP = "FailedOperation.ComponentClinetHttp"
INTERNALERROR = "InternalError"
INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth"
INTERNALERROR_COMPONENTCLINETHTTP = "InternalError.ComponentClinetHttp"
INTERNALERROR_DB = "InternalError.Db"
INTERNALERROR_DBAFFECTIVEDROWS = "InternalError.DbAffectivedRows"
INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
INVALIDPARAMETER_ROUTETABLENOTEMPTY = "InvalidParameter.RouteTableNotEmpty"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
RESOURCEINUSE = "ResourceInUse"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeVersionsWithContext added in v1.0.324

func (c *Client) DescribeVersionsWithContext(ctx context.Context, request *DescribeVersionsRequest) (response *DescribeVersionsResponse, err error)

DescribeVersions 获取集群版本信息

可能返回的错误码:

FAILEDOPERATION_COMPONENTCLIENTHTTP = "FailedOperation.ComponentClientHttp"
FAILEDOPERATION_COMPONENTCLINETHTTP = "FailedOperation.ComponentClinetHttp"
INTERNALERROR = "InternalError"
INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth"
INTERNALERROR_COMPONENTCLINETHTTP = "InternalError.ComponentClinetHttp"
INTERNALERROR_DB = "InternalError.Db"
INTERNALERROR_DBAFFECTIVEDROWS = "InternalError.DbAffectivedRows"
INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
INVALIDPARAMETER_ROUTETABLENOTEMPTY = "InvalidParameter.RouteTableNotEmpty"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
RESOURCEINUSE = "ResourceInUse"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeVpcCniPodLimits added in v1.0.217

func (c *Client) DescribeVpcCniPodLimits(request *DescribeVpcCniPodLimitsRequest) (response *DescribeVpcCniPodLimitsResponse, err error)

DescribeVpcCniPodLimits 本接口查询当前用户和地域在指定可用区下的机型可支持的最大 TKE VPC-CNI 网络模式的 Pod 数量

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth"
INTERNALERROR_DB = "InternalError.Db"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
MISSINGPARAMETER = "MissingParameter"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeVpcCniPodLimitsWithContext added in v1.0.324

func (c *Client) DescribeVpcCniPodLimitsWithContext(ctx context.Context, request *DescribeVpcCniPodLimitsRequest) (response *DescribeVpcCniPodLimitsResponse, err error)

DescribeVpcCniPodLimits 本接口查询当前用户和地域在指定可用区下的机型可支持的最大 TKE VPC-CNI 网络模式的 Pod 数量

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth"
INTERNALERROR_DB = "InternalError.Db"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
MISSINGPARAMETER = "MissingParameter"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DisableClusterAudit added in v1.0.401

func (c *Client) DisableClusterAudit(request *DisableClusterAuditRequest) (response *DisableClusterAuditResponse, err error)

DisableClusterAudit 关闭集群审计

可能返回的错误码:

FAILEDOPERATION_DB = "FailedOperation.Db"
FAILEDOPERATION_KUBERNETESPATCHOPERATIONERROR = "FailedOperation.KubernetesPatchOperationError"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
RESOURCENOTFOUND_CLUSTERNOTFOUND = "ResourceNotFound.ClusterNotFound"

func (*Client) DisableClusterAuditWithContext added in v1.0.401

func (c *Client) DisableClusterAuditWithContext(ctx context.Context, request *DisableClusterAuditRequest) (response *DisableClusterAuditResponse, err error)

DisableClusterAudit 关闭集群审计

可能返回的错误码:

FAILEDOPERATION_DB = "FailedOperation.Db"
FAILEDOPERATION_KUBERNETESPATCHOPERATIONERROR = "FailedOperation.KubernetesPatchOperationError"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
RESOURCENOTFOUND_CLUSTERNOTFOUND = "ResourceNotFound.ClusterNotFound"

func (*Client) DisableClusterDeletionProtection added in v1.0.301

func (c *Client) DisableClusterDeletionProtection(request *DisableClusterDeletionProtectionRequest) (response *DisableClusterDeletionProtectionResponse, err error)

DisableClusterDeletionProtection 关闭集群删除保护

可能返回的错误码:

INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DisableClusterDeletionProtectionWithContext added in v1.0.324

func (c *Client) DisableClusterDeletionProtectionWithContext(ctx context.Context, request *DisableClusterDeletionProtectionRequest) (response *DisableClusterDeletionProtectionResponse, err error)

DisableClusterDeletionProtection 关闭集群删除保护

可能返回的错误码:

INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DisableEncryptionProtection added in v1.0.681

func (c *Client) DisableEncryptionProtection(request *DisableEncryptionProtectionRequest) (response *DisableEncryptionProtectionResponse, err error)

DisableEncryptionProtection 关闭加密信息保护

可能返回的错误码:

INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DisableEncryptionProtectionWithContext added in v1.0.681

func (c *Client) DisableEncryptionProtectionWithContext(ctx context.Context, request *DisableEncryptionProtectionRequest) (response *DisableEncryptionProtectionResponse, err error)

DisableEncryptionProtection 关闭加密信息保护

可能返回的错误码:

INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DisableEventPersistence added in v1.0.401

func (c *Client) DisableEventPersistence(request *DisableEventPersistenceRequest) (response *DisableEventPersistenceResponse, err error)

DisableEventPersistence 关闭事件持久化功能

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_CLUSTERNOTFOUND = "FailedOperation.ClusterNotFound"
FAILEDOPERATION_GETCLSCONFIG = "FailedOperation.GetClsConfig"
FAILEDOPERATION_GETCLSTOPIC = "FailedOperation.GetClsTopic"
FAILEDOPERATION_KUBERNETESDELETEOPERATIONERROR = "FailedOperation.KubernetesDeleteOperationError"
FAILEDOPERATION_KUBERNETESPATCHOPERATIONERROR = "FailedOperation.KubernetesPatchOperationError"
FAILEDOPERATION_RBACFORBIDDEN = "FailedOperation.RBACForbidden"
INTERNALERROR = "InternalError"
INTERNALERROR_ACCOUNTUSERNOTAUTHENTICATED = "InternalError.AccountUserNotAuthenticated"
INTERNALERROR_KUBERNETESCLIENTBUILDERROR = "InternalError.KubernetesClientBuildError"
INTERNALERROR_KUBERNETESDELETEOPERATIONERROR = "InternalError.KubernetesDeleteOperationError"
INTERNALERROR_KUBERNETESGETOPERATIONERROR = "InternalError.KubernetesGetOperationError"
INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"

func (*Client) DisableEventPersistenceWithContext added in v1.0.401

func (c *Client) DisableEventPersistenceWithContext(ctx context.Context, request *DisableEventPersistenceRequest) (response *DisableEventPersistenceResponse, err error)

DisableEventPersistence 关闭事件持久化功能

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_CLUSTERNOTFOUND = "FailedOperation.ClusterNotFound"
FAILEDOPERATION_GETCLSCONFIG = "FailedOperation.GetClsConfig"
FAILEDOPERATION_GETCLSTOPIC = "FailedOperation.GetClsTopic"
FAILEDOPERATION_KUBERNETESDELETEOPERATIONERROR = "FailedOperation.KubernetesDeleteOperationError"
FAILEDOPERATION_KUBERNETESPATCHOPERATIONERROR = "FailedOperation.KubernetesPatchOperationError"
FAILEDOPERATION_RBACFORBIDDEN = "FailedOperation.RBACForbidden"
INTERNALERROR = "InternalError"
INTERNALERROR_ACCOUNTUSERNOTAUTHENTICATED = "InternalError.AccountUserNotAuthenticated"
INTERNALERROR_KUBERNETESCLIENTBUILDERROR = "InternalError.KubernetesClientBuildError"
INTERNALERROR_KUBERNETESDELETEOPERATIONERROR = "InternalError.KubernetesDeleteOperationError"
INTERNALERROR_KUBERNETESGETOPERATIONERROR = "InternalError.KubernetesGetOperationError"
INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"

func (*Client) DisableVpcCniNetworkType added in v1.0.214

func (c *Client) DisableVpcCniNetworkType(request *DisableVpcCniNetworkTypeRequest) (response *DisableVpcCniNetworkTypeResponse, err error)

DisableVpcCniNetworkType 提供给附加了VPC-CNI能力的Global-Route集群关闭VPC-CNI

可能返回的错误码:

FAILEDOPERATION_DISABLEVPCCNIFAILED = "FailedOperation.DisableVPCCNIFailed"
FAILEDOPERATION_KUBECOMMON = "FailedOperation.KubeCommon"
INTERNALERROR_KUBECLIENTCREATE = "InternalError.KubeClientCreate"
INTERNALERROR_KUBECOMMON = "InternalError.KubeCommon"
INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"

func (*Client) DisableVpcCniNetworkTypeWithContext added in v1.0.324

func (c *Client) DisableVpcCniNetworkTypeWithContext(ctx context.Context, request *DisableVpcCniNetworkTypeRequest) (response *DisableVpcCniNetworkTypeResponse, err error)

DisableVpcCniNetworkType 提供给附加了VPC-CNI能力的Global-Route集群关闭VPC-CNI

可能返回的错误码:

FAILEDOPERATION_DISABLEVPCCNIFAILED = "FailedOperation.DisableVPCCNIFailed"
FAILEDOPERATION_KUBECOMMON = "FailedOperation.KubeCommon"
INTERNALERROR_KUBECLIENTCREATE = "InternalError.KubeClientCreate"
INTERNALERROR_KUBECOMMON = "InternalError.KubeCommon"
INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"

func (*Client) DrainClusterVirtualNode added in v1.0.575

func (c *Client) DrainClusterVirtualNode(request *DrainClusterVirtualNodeRequest) (response *DrainClusterVirtualNodeResponse, err error)

DrainClusterVirtualNode 驱逐超级节点

可能返回的错误码:

INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DrainClusterVirtualNodeWithContext added in v1.0.575

func (c *Client) DrainClusterVirtualNodeWithContext(ctx context.Context, request *DrainClusterVirtualNodeRequest) (response *DrainClusterVirtualNodeResponse, err error)

DrainClusterVirtualNode 驱逐超级节点

可能返回的错误码:

INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) EnableClusterAudit added in v1.0.401

func (c *Client) EnableClusterAudit(request *EnableClusterAuditRequest) (response *EnableClusterAuditResponse, err error)

EnableClusterAudit 开启集群审计

可能返回的错误码:

FAILEDOPERATION_COMPONENTCLIENTUNPACK = "FailedOperation.ComponentClientUnpack"
FAILEDOPERATION_CREATECLSCLIENT = "FailedOperation.CreateClsClient"
FAILEDOPERATION_CREATECLSINDEX = "FailedOperation.CreateClsIndex"
FAILEDOPERATION_CREATECLSMACHINEGROUP = "FailedOperation.CreateClsMachineGroup"
FAILEDOPERATION_CREATECLSTOPIC = "FailedOperation.CreateClsTopic"
FAILEDOPERATION_DB = "FailedOperation.Db"
FAILEDOPERATION_GETCLSINDEX = "FailedOperation.GetClsIndex"
FAILEDOPERATION_GETCLSMACHINEGROUP = "FailedOperation.GetClsMachineGroup"
FAILEDOPERATION_KUBERNETESCREATEOPERATIONERROR = "FailedOperation.KubernetesCreateOperationError"
FAILEDOPERATION_KUBERNETESDELETEOPERATIONERROR = "FailedOperation.KubernetesDeleteOperationError"
FAILEDOPERATION_KUBERNETESPATCHOPERATIONERROR = "FailedOperation.KubernetesPatchOperationError"
FAILEDOPERATION_MODIFYCLSINDEX = "FailedOperation.ModifyClsIndex"
INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
RESOURCENOTFOUND_CLUSTERNOTFOUND = "ResourceNotFound.ClusterNotFound"

func (*Client) EnableClusterAuditWithContext added in v1.0.401

func (c *Client) EnableClusterAuditWithContext(ctx context.Context, request *EnableClusterAuditRequest) (response *EnableClusterAuditResponse, err error)

EnableClusterAudit 开启集群审计

可能返回的错误码:

FAILEDOPERATION_COMPONENTCLIENTUNPACK = "FailedOperation.ComponentClientUnpack"
FAILEDOPERATION_CREATECLSCLIENT = "FailedOperation.CreateClsClient"
FAILEDOPERATION_CREATECLSINDEX = "FailedOperation.CreateClsIndex"
FAILEDOPERATION_CREATECLSMACHINEGROUP = "FailedOperation.CreateClsMachineGroup"
FAILEDOPERATION_CREATECLSTOPIC = "FailedOperation.CreateClsTopic"
FAILEDOPERATION_DB = "FailedOperation.Db"
FAILEDOPERATION_GETCLSINDEX = "FailedOperation.GetClsIndex"
FAILEDOPERATION_GETCLSMACHINEGROUP = "FailedOperation.GetClsMachineGroup"
FAILEDOPERATION_KUBERNETESCREATEOPERATIONERROR = "FailedOperation.KubernetesCreateOperationError"
FAILEDOPERATION_KUBERNETESDELETEOPERATIONERROR = "FailedOperation.KubernetesDeleteOperationError"
FAILEDOPERATION_KUBERNETESPATCHOPERATIONERROR = "FailedOperation.KubernetesPatchOperationError"
FAILEDOPERATION_MODIFYCLSINDEX = "FailedOperation.ModifyClsIndex"
INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
RESOURCENOTFOUND_CLUSTERNOTFOUND = "ResourceNotFound.ClusterNotFound"

func (*Client) EnableClusterDeletionProtection added in v1.0.301

func (c *Client) EnableClusterDeletionProtection(request *EnableClusterDeletionProtectionRequest) (response *EnableClusterDeletionProtectionResponse, err error)

EnableClusterDeletionProtection 启用集群删除保护

可能返回的错误码:

INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) EnableClusterDeletionProtectionWithContext added in v1.0.324

func (c *Client) EnableClusterDeletionProtectionWithContext(ctx context.Context, request *EnableClusterDeletionProtectionRequest) (response *EnableClusterDeletionProtectionResponse, err error)

EnableClusterDeletionProtection 启用集群删除保护

可能返回的错误码:

INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) EnableEncryptionProtection added in v1.0.681

func (c *Client) EnableEncryptionProtection(request *EnableEncryptionProtectionRequest) (response *EnableEncryptionProtectionResponse, err error)

EnableEncryptionProtection 开启加密数据保护,需要先开启KMS能力,完成KMS授权

可能返回的错误码:

INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCEUNAVAILABLE_CLUSTERSTATE = "ResourceUnavailable.ClusterState"

func (*Client) EnableEncryptionProtectionWithContext added in v1.0.681

func (c *Client) EnableEncryptionProtectionWithContext(ctx context.Context, request *EnableEncryptionProtectionRequest) (response *EnableEncryptionProtectionResponse, err error)

EnableEncryptionProtection 开启加密数据保护,需要先开启KMS能力,完成KMS授权

可能返回的错误码:

INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCEUNAVAILABLE_CLUSTERSTATE = "ResourceUnavailable.ClusterState"

func (*Client) EnableEventPersistence added in v1.0.401

func (c *Client) EnableEventPersistence(request *EnableEventPersistenceRequest) (response *EnableEventPersistenceResponse, err error)

EnableEventPersistence 开启事件持久化功能

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_CLUSTERNOTFOUND = "FailedOperation.ClusterNotFound"
FAILEDOPERATION_COMPONENTCLIENTUNPACK = "FailedOperation.ComponentClientUnpack"
FAILEDOPERATION_CREATECLSCLIENT = "FailedOperation.CreateClsClient"
FAILEDOPERATION_CREATECLSCONFIG = "FailedOperation.CreateClsConfig"
FAILEDOPERATION_CREATECLSINDEX = "FailedOperation.CreateClsIndex"
FAILEDOPERATION_CREATECLSLOGSET = "FailedOperation.CreateClsLogSet"
FAILEDOPERATION_CREATECLSTOPIC = "FailedOperation.CreateClsTopic"
FAILEDOPERATION_GETCLSCONFIG = "FailedOperation.GetClsConfig"
FAILEDOPERATION_GETCLSINDEX = "FailedOperation.GetClsIndex"
FAILEDOPERATION_GETCLSLOGSET = "FailedOperation.GetClsLogSet"
FAILEDOPERATION_MODIFYCLSINDEX = "FailedOperation.ModifyClsIndex"
FAILEDOPERATION_RBACFORBIDDEN = "FailedOperation.RBACForbidden"
INTERNALERROR = "InternalError"
INTERNALERROR_ACCOUNTUSERNOTAUTHENTICATED = "InternalError.AccountUserNotAuthenticated"
INTERNALERROR_KUBERNETESCLIENTBUILDERROR = "InternalError.KubernetesClientBuildError"
INTERNALERROR_KUBERNETESCREATEOPERATIONERROR = "InternalError.KubernetesCreateOperationError"
INTERNALERROR_KUBERNETESDELETEOPERATIONERROR = "InternalError.KubernetesDeleteOperationError"
INTERNALERROR_KUBERNETESGETOPERATIONERROR = "InternalError.KubernetesGetOperationError"
INTERNALERROR_KUBERNETESPATCHOPERATIONERROR = "InternalError.KubernetesPatchOperationError"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
RESOURCENOTFOUND_CLUSTERNOTFOUND = "ResourceNotFound.ClusterNotFound"

func (*Client) EnableEventPersistenceWithContext added in v1.0.401

func (c *Client) EnableEventPersistenceWithContext(ctx context.Context, request *EnableEventPersistenceRequest) (response *EnableEventPersistenceResponse, err error)

EnableEventPersistence 开启事件持久化功能

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_CLUSTERNOTFOUND = "FailedOperation.ClusterNotFound"
FAILEDOPERATION_COMPONENTCLIENTUNPACK = "FailedOperation.ComponentClientUnpack"
FAILEDOPERATION_CREATECLSCLIENT = "FailedOperation.CreateClsClient"
FAILEDOPERATION_CREATECLSCONFIG = "FailedOperation.CreateClsConfig"
FAILEDOPERATION_CREATECLSINDEX = "FailedOperation.CreateClsIndex"
FAILEDOPERATION_CREATECLSLOGSET = "FailedOperation.CreateClsLogSet"
FAILEDOPERATION_CREATECLSTOPIC = "FailedOperation.CreateClsTopic"
FAILEDOPERATION_GETCLSCONFIG = "FailedOperation.GetClsConfig"
FAILEDOPERATION_GETCLSINDEX = "FailedOperation.GetClsIndex"
FAILEDOPERATION_GETCLSLOGSET = "FailedOperation.GetClsLogSet"
FAILEDOPERATION_MODIFYCLSINDEX = "FailedOperation.ModifyClsIndex"
FAILEDOPERATION_RBACFORBIDDEN = "FailedOperation.RBACForbidden"
INTERNALERROR = "InternalError"
INTERNALERROR_ACCOUNTUSERNOTAUTHENTICATED = "InternalError.AccountUserNotAuthenticated"
INTERNALERROR_KUBERNETESCLIENTBUILDERROR = "InternalError.KubernetesClientBuildError"
INTERNALERROR_KUBERNETESCREATEOPERATIONERROR = "InternalError.KubernetesCreateOperationError"
INTERNALERROR_KUBERNETESDELETEOPERATIONERROR = "InternalError.KubernetesDeleteOperationError"
INTERNALERROR_KUBERNETESGETOPERATIONERROR = "InternalError.KubernetesGetOperationError"
INTERNALERROR_KUBERNETESPATCHOPERATIONERROR = "InternalError.KubernetesPatchOperationError"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
RESOURCENOTFOUND_CLUSTERNOTFOUND = "ResourceNotFound.ClusterNotFound"

func (*Client) EnableVpcCniNetworkType

func (c *Client) EnableVpcCniNetworkType(request *EnableVpcCniNetworkTypeRequest) (response *EnableVpcCniNetworkTypeResponse, err error)

EnableVpcCniNetworkType GR集群可以通过本接口附加vpc-cni容器网络插件,开启vpc-cni容器网络能力

可能返回的错误码:

FAILEDOPERATION_ENABLEVPCCNIFAILED = "FailedOperation.EnableVPCCNIFailed"
INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
UNSUPPORTEDOPERATION_CLUSTERNOTSUITENABLEVPCCNI = "UnsupportedOperation.ClusterNotSuitEnableVPCCNI"

func (*Client) EnableVpcCniNetworkTypeWithContext added in v1.0.324

func (c *Client) EnableVpcCniNetworkTypeWithContext(ctx context.Context, request *EnableVpcCniNetworkTypeRequest) (response *EnableVpcCniNetworkTypeResponse, err error)

EnableVpcCniNetworkType GR集群可以通过本接口附加vpc-cni容器网络插件,开启vpc-cni容器网络能力

可能返回的错误码:

FAILEDOPERATION_ENABLEVPCCNIFAILED = "FailedOperation.EnableVPCCNIFailed"
INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
UNSUPPORTEDOPERATION_CLUSTERNOTSUITENABLEVPCCNI = "UnsupportedOperation.ClusterNotSuitEnableVPCCNI"

func (*Client) ForwardApplicationRequestV3 added in v1.0.302

func (c *Client) ForwardApplicationRequestV3(request *ForwardApplicationRequestV3Request) (response *ForwardApplicationRequestV3Response, err error)

ForwardApplicationRequestV3 操作TKE集群的addon

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_RBACFORBIDDEN = "FailedOperation.RBACForbidden"
INTERNALERROR = "InternalError"
INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth"
INVALIDPARAMETER = "InvalidParameter"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
RESOURCEINUSE = "ResourceInUse"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_CAMNOAUTH = "UnauthorizedOperation.CamNoAuth"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"
UNSUPPORTEDOPERATION_NOTINWHITELIST = "UnsupportedOperation.NotInWhitelist"

func (*Client) ForwardApplicationRequestV3WithContext added in v1.0.324

func (c *Client) ForwardApplicationRequestV3WithContext(ctx context.Context, request *ForwardApplicationRequestV3Request) (response *ForwardApplicationRequestV3Response, err error)

ForwardApplicationRequestV3 操作TKE集群的addon

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_RBACFORBIDDEN = "FailedOperation.RBACForbidden"
INTERNALERROR = "InternalError"
INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth"
INVALIDPARAMETER = "InvalidParameter"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
RESOURCEINUSE = "ResourceInUse"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_CAMNOAUTH = "UnauthorizedOperation.CamNoAuth"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"
UNSUPPORTEDOPERATION_NOTINWHITELIST = "UnsupportedOperation.NotInWhitelist"

func (*Client) ForwardTKEEdgeApplicationRequestV3 added in v1.0.429

func (c *Client) ForwardTKEEdgeApplicationRequestV3(request *ForwardTKEEdgeApplicationRequestV3Request) (response *ForwardTKEEdgeApplicationRequestV3Response, err error)

ForwardTKEEdgeApplicationRequestV3 操作TKEEdge集群的addon

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_RBACFORBIDDEN = "FailedOperation.RBACForbidden"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
RESOURCEINUSE = "ResourceInUse"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"
UNSUPPORTEDOPERATION_NOTINWHITELIST = "UnsupportedOperation.NotInWhitelist"

func (*Client) ForwardTKEEdgeApplicationRequestV3WithContext added in v1.0.429

func (c *Client) ForwardTKEEdgeApplicationRequestV3WithContext(ctx context.Context, request *ForwardTKEEdgeApplicationRequestV3Request) (response *ForwardTKEEdgeApplicationRequestV3Response, err error)

ForwardTKEEdgeApplicationRequestV3 操作TKEEdge集群的addon

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_RBACFORBIDDEN = "FailedOperation.RBACForbidden"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
RESOURCEINUSE = "ResourceInUse"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"
UNSUPPORTEDOPERATION_NOTINWHITELIST = "UnsupportedOperation.NotInWhitelist"

func (*Client) GetClusterLevelPrice added in v1.0.378

func (c *Client) GetClusterLevelPrice(request *GetClusterLevelPriceRequest) (response *GetClusterLevelPriceResponse, err error)

GetClusterLevelPrice 获取集群规模价格

可能返回的错误码:

FAILEDOPERATION_TRADECOMMON = "FailedOperation.TradeCommon"
INTERNALERROR_TRADECOMMON = "InternalError.TradeCommon"

func (*Client) GetClusterLevelPriceWithContext added in v1.0.378

func (c *Client) GetClusterLevelPriceWithContext(ctx context.Context, request *GetClusterLevelPriceRequest) (response *GetClusterLevelPriceResponse, err error)

GetClusterLevelPrice 获取集群规模价格

可能返回的错误码:

FAILEDOPERATION_TRADECOMMON = "FailedOperation.TradeCommon"
INTERNALERROR_TRADECOMMON = "InternalError.TradeCommon"

func (*Client) GetMostSuitableImageCache added in v1.0.363

func (c *Client) GetMostSuitableImageCache(request *GetMostSuitableImageCacheRequest) (response *GetMostSuitableImageCacheResponse, err error)

GetMostSuitableImageCache 根据镜像列表,查询匹配的镜像缓存

可能返回的错误码:

INTERNALERROR = "InternalError"
INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth"
INVALIDPARAMETER = "InvalidParameter"

func (*Client) GetMostSuitableImageCacheWithContext added in v1.0.363

func (c *Client) GetMostSuitableImageCacheWithContext(ctx context.Context, request *GetMostSuitableImageCacheRequest) (response *GetMostSuitableImageCacheResponse, err error)

GetMostSuitableImageCache 根据镜像列表,查询匹配的镜像缓存

可能返回的错误码:

INTERNALERROR = "InternalError"
INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth"
INVALIDPARAMETER = "InvalidParameter"

func (*Client) GetTkeAppChartList added in v1.0.302

func (c *Client) GetTkeAppChartList(request *GetTkeAppChartListRequest) (response *GetTkeAppChartListResponse, err error)

GetTkeAppChartList 获取TKE支持的App列表

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"

func (*Client) GetTkeAppChartListWithContext added in v1.0.324

func (c *Client) GetTkeAppChartListWithContext(ctx context.Context, request *GetTkeAppChartListRequest) (response *GetTkeAppChartListResponse, err error)

GetTkeAppChartList 获取TKE支持的App列表

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"

func (*Client) GetUpgradeInstanceProgress

func (c *Client) GetUpgradeInstanceProgress(request *GetUpgradeInstanceProgressRequest) (response *GetUpgradeInstanceProgressResponse, err error)

GetUpgradeInstanceProgress 获得节点升级当前的进度,若集群未处于节点升级状态,则接口会报错:任务未找到。

可能返回的错误码:

INTERNALERROR_TASKNOTFOUND = "InternalError.TaskNotFound"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"

func (*Client) GetUpgradeInstanceProgressWithContext added in v1.0.324

func (c *Client) GetUpgradeInstanceProgressWithContext(ctx context.Context, request *GetUpgradeInstanceProgressRequest) (response *GetUpgradeInstanceProgressResponse, err error)

GetUpgradeInstanceProgress 获得节点升级当前的进度,若集群未处于节点升级状态,则接口会报错:任务未找到。

可能返回的错误码:

INTERNALERROR_TASKNOTFOUND = "InternalError.TaskNotFound"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"

func (*Client) InstallAddon added in v1.0.684

func (c *Client) InstallAddon(request *InstallAddonRequest) (response *InstallAddonResponse, err error)

InstallAddon 为目标集群安装一个addon

可能返回的错误码:

INTERNALERROR_TASKNOTFOUND = "InternalError.TaskNotFound"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"

func (*Client) InstallAddonWithContext added in v1.0.684

func (c *Client) InstallAddonWithContext(ctx context.Context, request *InstallAddonRequest) (response *InstallAddonResponse, err error)

InstallAddon 为目标集群安装一个addon

可能返回的错误码:

INTERNALERROR_TASKNOTFOUND = "InternalError.TaskNotFound"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"

func (*Client) InstallEdgeLogAgent added in v1.0.450

func (c *Client) InstallEdgeLogAgent(request *InstallEdgeLogAgentRequest) (response *InstallEdgeLogAgentResponse, err error)

InstallEdgeLogAgent 在tke@edge集群的边缘节点上安装日志采集组件

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) InstallEdgeLogAgentWithContext added in v1.0.450

func (c *Client) InstallEdgeLogAgentWithContext(ctx context.Context, request *InstallEdgeLogAgentRequest) (response *InstallEdgeLogAgentResponse, err error)

InstallEdgeLogAgent 在tke@edge集群的边缘节点上安装日志采集组件

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) InstallLogAgent added in v1.0.401

func (c *Client) InstallLogAgent(request *InstallLogAgentRequest) (response *InstallLogAgentResponse, err error)

InstallLogAgent 在TKE集群中安装CLS日志采集组件

可能返回的错误码:

FAILEDOPERATION_COMPONENTCLIENTUNPACK = "FailedOperation.ComponentClientUnpack"
FAILEDOPERATION_KUBERNETESCREATEOPERATIONERROR = "FailedOperation.KubernetesCreateOperationError"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
RESOURCEUNAVAILABLE_CLUSTERSTATE = "ResourceUnavailable.ClusterState"

func (*Client) InstallLogAgentWithContext added in v1.0.401

func (c *Client) InstallLogAgentWithContext(ctx context.Context, request *InstallLogAgentRequest) (response *InstallLogAgentResponse, err error)

InstallLogAgent 在TKE集群中安装CLS日志采集组件

可能返回的错误码:

FAILEDOPERATION_COMPONENTCLIENTUNPACK = "FailedOperation.ComponentClientUnpack"
FAILEDOPERATION_KUBERNETESCREATEOPERATIONERROR = "FailedOperation.KubernetesCreateOperationError"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
RESOURCEUNAVAILABLE_CLUSTERSTATE = "ResourceUnavailable.ClusterState"

func (*Client) ListClusterInspectionResults added in v1.0.657

func (c *Client) ListClusterInspectionResults(request *ListClusterInspectionResultsRequest) (response *ListClusterInspectionResultsResponse, err error)

ListClusterInspectionResults 查询指定集群的巡检结果信息

可能返回的错误码:

FAILEDOPERATION_COMPONENTCLIENTUNPACK = "FailedOperation.ComponentClientUnpack"
FAILEDOPERATION_KUBERNETESCLIENTBUILDERROR = "FailedOperation.KubernetesClientBuildError"
FAILEDOPERATION_KUBERNETESLISTOPERATIONERROR = "FailedOperation.KubernetesListOperationError"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"

func (*Client) ListClusterInspectionResultsItems added in v1.0.657

func (c *Client) ListClusterInspectionResultsItems(request *ListClusterInspectionResultsItemsRequest) (response *ListClusterInspectionResultsItemsResponse, err error)

ListClusterInspectionResultsItems 查询集群巡检结果历史列表

可能返回的错误码:

FAILEDOPERATION_COMPONENTCLIENTUNPACK = "FailedOperation.ComponentClientUnpack"
FAILEDOPERATION_KUBERNETESCLIENTBUILDERROR = "FailedOperation.KubernetesClientBuildError"
FAILEDOPERATION_KUBERNETESLISTOPERATIONERROR = "FailedOperation.KubernetesListOperationError"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"

func (*Client) ListClusterInspectionResultsItemsWithContext added in v1.0.657

func (c *Client) ListClusterInspectionResultsItemsWithContext(ctx context.Context, request *ListClusterInspectionResultsItemsRequest) (response *ListClusterInspectionResultsItemsResponse, err error)

ListClusterInspectionResultsItems 查询集群巡检结果历史列表

可能返回的错误码:

FAILEDOPERATION_COMPONENTCLIENTUNPACK = "FailedOperation.ComponentClientUnpack"
FAILEDOPERATION_KUBERNETESCLIENTBUILDERROR = "FailedOperation.KubernetesClientBuildError"
FAILEDOPERATION_KUBERNETESLISTOPERATIONERROR = "FailedOperation.KubernetesListOperationError"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"

func (*Client) ListClusterInspectionResultsWithContext added in v1.0.657

func (c *Client) ListClusterInspectionResultsWithContext(ctx context.Context, request *ListClusterInspectionResultsRequest) (response *ListClusterInspectionResultsResponse, err error)

ListClusterInspectionResults 查询指定集群的巡检结果信息

可能返回的错误码:

FAILEDOPERATION_COMPONENTCLIENTUNPACK = "FailedOperation.ComponentClientUnpack"
FAILEDOPERATION_KUBERNETESCLIENTBUILDERROR = "FailedOperation.KubernetesClientBuildError"
FAILEDOPERATION_KUBERNETESLISTOPERATIONERROR = "FailedOperation.KubernetesListOperationError"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"

func (*Client) ModifyClusterAsGroupAttribute

func (c *Client) ModifyClusterAsGroupAttribute(request *ModifyClusterAsGroupAttributeRequest) (response *ModifyClusterAsGroupAttributeResponse, err error)

ModifyClusterAsGroupAttribute 修改集群伸缩组属性

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_CLUSTERNOTFOUND = "FailedOperation.ClusterNotFound"
FAILEDOPERATION_PARAM = "FailedOperation.Param"
INTERNALERROR = "InternalError"
INTERNALERROR_ACCOUNTUSERNOTAUTHENTICATED = "InternalError.AccountUserNotAuthenticated"
INTERNALERROR_ASCOMMON = "InternalError.AsCommon"
INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_ASCOMMONERROR = "InvalidParameter.AsCommonError"
INVALIDPARAMETER_CIDROUTOFROUTETABLE = "InvalidParameter.CidrOutOfRouteTable"
INVALIDPARAMETER_GATEWAYALREADYASSOCIATEDCIDR = "InvalidParameter.GatewayAlreadyAssociatedCidr"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
INVALIDPARAMETER_ROUTETABLENOTEMPTY = "InvalidParameter.RouteTableNotEmpty"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
RESOURCEINUSE = "ResourceInUse"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) ModifyClusterAsGroupAttributeWithContext added in v1.0.324

func (c *Client) ModifyClusterAsGroupAttributeWithContext(ctx context.Context, request *ModifyClusterAsGroupAttributeRequest) (response *ModifyClusterAsGroupAttributeResponse, err error)

ModifyClusterAsGroupAttribute 修改集群伸缩组属性

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_CLUSTERNOTFOUND = "FailedOperation.ClusterNotFound"
FAILEDOPERATION_PARAM = "FailedOperation.Param"
INTERNALERROR = "InternalError"
INTERNALERROR_ACCOUNTUSERNOTAUTHENTICATED = "InternalError.AccountUserNotAuthenticated"
INTERNALERROR_ASCOMMON = "InternalError.AsCommon"
INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_ASCOMMONERROR = "InvalidParameter.AsCommonError"
INVALIDPARAMETER_CIDROUTOFROUTETABLE = "InvalidParameter.CidrOutOfRouteTable"
INVALIDPARAMETER_GATEWAYALREADYASSOCIATEDCIDR = "InvalidParameter.GatewayAlreadyAssociatedCidr"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
INVALIDPARAMETER_ROUTETABLENOTEMPTY = "InvalidParameter.RouteTableNotEmpty"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
RESOURCEINUSE = "ResourceInUse"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) ModifyClusterAsGroupOptionAttribute

func (c *Client) ModifyClusterAsGroupOptionAttribute(request *ModifyClusterAsGroupOptionAttributeRequest) (response *ModifyClusterAsGroupOptionAttributeResponse, err error)

ModifyClusterAsGroupOptionAttribute 修改集群弹性伸缩属性

可能返回的错误码:

FAILEDOPERATION_KUBERNETESINTERNAL = "FailedOperation.KubernetesInternal"
FAILEDOPERATION_UNEXPECTEDERROR = "FailedOperation.UnexpectedError"
INTERNALERROR = "InternalError"
INTERNALERROR_ASCOMMON = "InternalError.AsCommon"
INTERNALERROR_CLUSTERNOTFOUND = "InternalError.ClusterNotFound"
INTERNALERROR_CLUSTERSTATE = "InternalError.ClusterState"
INTERNALERROR_CVMCOMMON = "InternalError.CvmCommon"
INTERNALERROR_CVMNOTFOUND = "InternalError.CvmNotFound"
INTERNALERROR_DB = "InternalError.Db"
INTERNALERROR_DBAFFECTIVEDROWS = "InternalError.DbAffectivedRows"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
MISSINGPARAMETER = "MissingParameter"
RESOURCEINUSE = "ResourceInUse"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) ModifyClusterAsGroupOptionAttributeWithContext added in v1.0.324

func (c *Client) ModifyClusterAsGroupOptionAttributeWithContext(ctx context.Context, request *ModifyClusterAsGroupOptionAttributeRequest) (response *ModifyClusterAsGroupOptionAttributeResponse, err error)

ModifyClusterAsGroupOptionAttribute 修改集群弹性伸缩属性

可能返回的错误码:

FAILEDOPERATION_KUBERNETESINTERNAL = "FailedOperation.KubernetesInternal"
FAILEDOPERATION_UNEXPECTEDERROR = "FailedOperation.UnexpectedError"
INTERNALERROR = "InternalError"
INTERNALERROR_ASCOMMON = "InternalError.AsCommon"
INTERNALERROR_CLUSTERNOTFOUND = "InternalError.ClusterNotFound"
INTERNALERROR_CLUSTERSTATE = "InternalError.ClusterState"
INTERNALERROR_CVMCOMMON = "InternalError.CvmCommon"
INTERNALERROR_CVMNOTFOUND = "InternalError.CvmNotFound"
INTERNALERROR_DB = "InternalError.Db"
INTERNALERROR_DBAFFECTIVEDROWS = "InternalError.DbAffectivedRows"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
MISSINGPARAMETER = "MissingParameter"
RESOURCEINUSE = "ResourceInUse"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) ModifyClusterAttribute

func (c *Client) ModifyClusterAttribute(request *ModifyClusterAttributeRequest) (response *ModifyClusterAttributeResponse, err error)

ModifyClusterAttribute 修改集群属性

可能返回的错误码:

FAILEDOPERATION_COMPONENTCLIENTHTTP = "FailedOperation.ComponentClientHttp"
FAILEDOPERATION_TRADECOMMON = "FailedOperation.TradeCommon"
FAILEDOPERATION_UNEXPECTEDERROR = "FailedOperation.UnexpectedError"
INTERNALERROR = "InternalError"
INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth"
INTERNALERROR_DB = "InternalError.Db"
INTERNALERROR_DBAFFECTIVEDROWS = "InternalError.DbAffectivedRows"
INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_TRADECOMMON = "InternalError.TradeCommon"
INTERNALERROR_TRADEINSUFFICIENTBALANCE = "InternalError.TradeInsufficientBalance"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
MISSINGPARAMETER = "MissingParameter"
RESOURCEINUSE = "ResourceInUse"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCEUNAVAILABLE_CLUSTERSTATE = "ResourceUnavailable.ClusterState"

func (*Client) ModifyClusterAttributeWithContext added in v1.0.324

func (c *Client) ModifyClusterAttributeWithContext(ctx context.Context, request *ModifyClusterAttributeRequest) (response *ModifyClusterAttributeResponse, err error)

ModifyClusterAttribute 修改集群属性

可能返回的错误码:

FAILEDOPERATION_COMPONENTCLIENTHTTP = "FailedOperation.ComponentClientHttp"
FAILEDOPERATION_TRADECOMMON = "FailedOperation.TradeCommon"
FAILEDOPERATION_UNEXPECTEDERROR = "FailedOperation.UnexpectedError"
INTERNALERROR = "InternalError"
INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth"
INTERNALERROR_DB = "InternalError.Db"
INTERNALERROR_DBAFFECTIVEDROWS = "InternalError.DbAffectivedRows"
INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_TRADECOMMON = "InternalError.TradeCommon"
INTERNALERROR_TRADEINSUFFICIENTBALANCE = "InternalError.TradeInsufficientBalance"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
MISSINGPARAMETER = "MissingParameter"
RESOURCEINUSE = "ResourceInUse"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCEUNAVAILABLE_CLUSTERSTATE = "ResourceUnavailable.ClusterState"

func (*Client) ModifyClusterAuthenticationOptions added in v1.0.264

func (c *Client) ModifyClusterAuthenticationOptions(request *ModifyClusterAuthenticationOptionsRequest) (response *ModifyClusterAuthenticationOptionsResponse, err error)

ModifyClusterAuthenticationOptions 修改集群认证配置

可能返回的错误码:

FAILEDOPERATION_KUBECOMMON = "FailedOperation.KubeCommon"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
OPERATIONDENIED = "OperationDenied"
RESOURCEUNAVAILABLE_CLUSTERSTATE = "ResourceUnavailable.ClusterState"

func (*Client) ModifyClusterAuthenticationOptionsWithContext added in v1.0.324

func (c *Client) ModifyClusterAuthenticationOptionsWithContext(ctx context.Context, request *ModifyClusterAuthenticationOptionsRequest) (response *ModifyClusterAuthenticationOptionsResponse, err error)

ModifyClusterAuthenticationOptions 修改集群认证配置

可能返回的错误码:

FAILEDOPERATION_KUBECOMMON = "FailedOperation.KubeCommon"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
OPERATIONDENIED = "OperationDenied"
RESOURCEUNAVAILABLE_CLUSTERSTATE = "ResourceUnavailable.ClusterState"

func (*Client) ModifyClusterEndpointSP

func (c *Client) ModifyClusterEndpointSP(request *ModifyClusterEndpointSPRequest) (response *ModifyClusterEndpointSPResponse, err error)

ModifyClusterEndpointSP 修改托管集群外网端口的安全策略(老的方式,仅支持托管集群外网端口)

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_KUBERNETESGETOPERATIONERROR = "FailedOperation.KubernetesGetOperationError"
FAILEDOPERATION_LBCOMMON = "FailedOperation.LbCommon"
FAILEDOPERATION_VPCUNEXPECTEDERROR = "FailedOperation.VPCUnexpectedError"
INTERNALERROR = "InternalError"
INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth"
INTERNALERROR_CLUSTERNOTFOUND = "InternalError.ClusterNotFound"
INTERNALERROR_DB = "InternalError.Db"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INTERNALERROR_VPCUNEXPECTEDERROR = "InternalError.VPCUnexpectedError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
RESOURCEINUSE = "ResourceInUse"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) ModifyClusterEndpointSPWithContext added in v1.0.324

func (c *Client) ModifyClusterEndpointSPWithContext(ctx context.Context, request *ModifyClusterEndpointSPRequest) (response *ModifyClusterEndpointSPResponse, err error)

ModifyClusterEndpointSP 修改托管集群外网端口的安全策略(老的方式,仅支持托管集群外网端口)

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_KUBERNETESGETOPERATIONERROR = "FailedOperation.KubernetesGetOperationError"
FAILEDOPERATION_LBCOMMON = "FailedOperation.LbCommon"
FAILEDOPERATION_VPCUNEXPECTEDERROR = "FailedOperation.VPCUnexpectedError"
INTERNALERROR = "InternalError"
INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth"
INTERNALERROR_CLUSTERNOTFOUND = "InternalError.ClusterNotFound"
INTERNALERROR_DB = "InternalError.Db"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INTERNALERROR_VPCUNEXPECTEDERROR = "InternalError.VPCUnexpectedError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
RESOURCEINUSE = "ResourceInUse"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) ModifyClusterNodePool

func (c *Client) ModifyClusterNodePool(request *ModifyClusterNodePoolRequest) (response *ModifyClusterNodePoolResponse, err error)

ModifyClusterNodePool 编辑节点池

可能返回的错误码:

FAILEDOPERATION_COMPONENTCLIENTHTTP = "FailedOperation.ComponentClientHttp"
FAILEDOPERATION_RECORDNOTFOUND = "FailedOperation.RecordNotFound"
INTERNALERROR_DB = "InternalError.Db"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
OPERATIONDENIED = "OperationDenied"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCENOTFOUND_ASASGNOTEXIST = "ResourceNotFound.AsAsgNotExist"
UNSUPPORTEDOPERATION_CAENABLEFAILED = "UnsupportedOperation.CaEnableFailed"

func (*Client) ModifyClusterNodePoolWithContext added in v1.0.324

func (c *Client) ModifyClusterNodePoolWithContext(ctx context.Context, request *ModifyClusterNodePoolRequest) (response *ModifyClusterNodePoolResponse, err error)

ModifyClusterNodePool 编辑节点池

可能返回的错误码:

FAILEDOPERATION_COMPONENTCLIENTHTTP = "FailedOperation.ComponentClientHttp"
FAILEDOPERATION_RECORDNOTFOUND = "FailedOperation.RecordNotFound"
INTERNALERROR_DB = "InternalError.Db"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
OPERATIONDENIED = "OperationDenied"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCENOTFOUND_ASASGNOTEXIST = "ResourceNotFound.AsAsgNotExist"
UNSUPPORTEDOPERATION_CAENABLEFAILED = "UnsupportedOperation.CaEnableFailed"

func (*Client) ModifyClusterRuntimeConfig added in v1.0.900

func (c *Client) ModifyClusterRuntimeConfig(request *ModifyClusterRuntimeConfigRequest) (response *ModifyClusterRuntimeConfigResponse, err error)

ModifyClusterRuntimeConfig 修改集群及节点池纬度运行时配置

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
INTERNALERROR = "InternalError"
INTERNALERROR_DB = "InternalError.Db"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
MISSINGPARAMETER = "MissingParameter"
RESOURCEUNAVAILABLE = "ResourceUnavailable"

func (*Client) ModifyClusterRuntimeConfigWithContext added in v1.0.900

func (c *Client) ModifyClusterRuntimeConfigWithContext(ctx context.Context, request *ModifyClusterRuntimeConfigRequest) (response *ModifyClusterRuntimeConfigResponse, err error)

ModifyClusterRuntimeConfig 修改集群及节点池纬度运行时配置

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
INTERNALERROR = "InternalError"
INTERNALERROR_DB = "InternalError.Db"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
MISSINGPARAMETER = "MissingParameter"
RESOURCEUNAVAILABLE = "ResourceUnavailable"

func (*Client) ModifyClusterVirtualNodePool added in v1.0.575

func (c *Client) ModifyClusterVirtualNodePool(request *ModifyClusterVirtualNodePoolRequest) (response *ModifyClusterVirtualNodePoolResponse, err error)

ModifyClusterVirtualNodePool 修改超级节点池

可能返回的错误码:

FAILEDOPERATION_RECORDNOTFOUND = "FailedOperation.RecordNotFound"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE_NODEPOOLSTATENOTNORMAL = "ResourceUnavailable.NodePoolStateNotNormal"

func (*Client) ModifyClusterVirtualNodePoolWithContext added in v1.0.575

func (c *Client) ModifyClusterVirtualNodePoolWithContext(ctx context.Context, request *ModifyClusterVirtualNodePoolRequest) (response *ModifyClusterVirtualNodePoolResponse, err error)

ModifyClusterVirtualNodePool 修改超级节点池

可能返回的错误码:

FAILEDOPERATION_RECORDNOTFOUND = "FailedOperation.RecordNotFound"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE_NODEPOOLSTATENOTNORMAL = "ResourceUnavailable.NodePoolStateNotNormal"

func (*Client) ModifyNodePoolDesiredCapacityAboutAsg

func (c *Client) ModifyNodePoolDesiredCapacityAboutAsg(request *ModifyNodePoolDesiredCapacityAboutAsgRequest) (response *ModifyNodePoolDesiredCapacityAboutAsgResponse, err error)

ModifyNodePoolDesiredCapacityAboutAsg 修改节点池关联伸缩组的期望实例数

可能返回的错误码:

FAILEDOPERATION_RECORDNOTFOUND = "FailedOperation.RecordNotFound"
INTERNALERROR = "InternalError"
INTERNALERROR_ACCOUNTUSERNOTAUTHENTICATED = "InternalError.AccountUserNotAuthenticated"
INTERNALERROR_DB = "InternalError.Db"
INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCENOTFOUND_ASASGNOTEXIST = "ResourceNotFound.AsAsgNotExist"
RESOURCENOTFOUND_CLUSTERNOTFOUND = "ResourceNotFound.ClusterNotFound"
UNKNOWNPARAMETER = "UnknownParameter"

func (*Client) ModifyNodePoolDesiredCapacityAboutAsgWithContext added in v1.0.324

func (c *Client) ModifyNodePoolDesiredCapacityAboutAsgWithContext(ctx context.Context, request *ModifyNodePoolDesiredCapacityAboutAsgRequest) (response *ModifyNodePoolDesiredCapacityAboutAsgResponse, err error)

ModifyNodePoolDesiredCapacityAboutAsg 修改节点池关联伸缩组的期望实例数

可能返回的错误码:

FAILEDOPERATION_RECORDNOTFOUND = "FailedOperation.RecordNotFound"
INTERNALERROR = "InternalError"
INTERNALERROR_ACCOUNTUSERNOTAUTHENTICATED = "InternalError.AccountUserNotAuthenticated"
INTERNALERROR_DB = "InternalError.Db"
INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCENOTFOUND_ASASGNOTEXIST = "ResourceNotFound.AsAsgNotExist"
RESOURCENOTFOUND_CLUSTERNOTFOUND = "ResourceNotFound.ClusterNotFound"
UNKNOWNPARAMETER = "UnknownParameter"

func (*Client) ModifyNodePoolInstanceTypes added in v1.0.234

func (c *Client) ModifyNodePoolInstanceTypes(request *ModifyNodePoolInstanceTypesRequest) (response *ModifyNodePoolInstanceTypesResponse, err error)

ModifyNodePoolInstanceTypes 修改节点池的机型配置

可能返回的错误码:

FAILEDOPERATION_COMPONENTCLIENTHTTP = "FailedOperation.ComponentClientHttp"
INTERNALERROR = "InternalError"
INTERNALERROR_ACCOUNTUSERNOTAUTHENTICATED = "InternalError.AccountUserNotAuthenticated"
INTERNALERROR_CLUSTERNOTFOUND = "InternalError.ClusterNotFound"
INTERNALERROR_DB = "InternalError.Db"
INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) ModifyNodePoolInstanceTypesWithContext added in v1.0.324

func (c *Client) ModifyNodePoolInstanceTypesWithContext(ctx context.Context, request *ModifyNodePoolInstanceTypesRequest) (response *ModifyNodePoolInstanceTypesResponse, err error)

ModifyNodePoolInstanceTypes 修改节点池的机型配置

可能返回的错误码:

FAILEDOPERATION_COMPONENTCLIENTHTTP = "FailedOperation.ComponentClientHttp"
INTERNALERROR = "InternalError"
INTERNALERROR_ACCOUNTUSERNOTAUTHENTICATED = "InternalError.AccountUserNotAuthenticated"
INTERNALERROR_CLUSTERNOTFOUND = "InternalError.ClusterNotFound"
INTERNALERROR_DB = "InternalError.Db"
INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) ModifyPrometheusAgentExternalLabels added in v1.0.432

func (c *Client) ModifyPrometheusAgentExternalLabels(request *ModifyPrometheusAgentExternalLabelsRequest) (response *ModifyPrometheusAgentExternalLabelsResponse, err error)

ModifyPrometheusAgentExternalLabels 修改被关联集群的external labels

可能返回的错误码:

FAILEDOPERATION_COMPONENTCLIENTUNPACK = "FailedOperation.ComponentClientUnpack"
FAILEDOPERATION_KUBECOMMON = "FailedOperation.KubeCommon"
INTERNALERROR = "InternalError"
INTERNALERROR_DB = "InternalError.Db"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER_CLUSTERNOTFOUND = "InvalidParameter.ClusterNotFound"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
INVALIDPARAMETER_PROMCLUSTERNOTFOUND = "InvalidParameter.PromClusterNotFound"

func (*Client) ModifyPrometheusAgentExternalLabelsWithContext added in v1.0.432

func (c *Client) ModifyPrometheusAgentExternalLabelsWithContext(ctx context.Context, request *ModifyPrometheusAgentExternalLabelsRequest) (response *ModifyPrometheusAgentExternalLabelsResponse, err error)

ModifyPrometheusAgentExternalLabels 修改被关联集群的external labels

可能返回的错误码:

FAILEDOPERATION_COMPONENTCLIENTUNPACK = "FailedOperation.ComponentClientUnpack"
FAILEDOPERATION_KUBECOMMON = "FailedOperation.KubeCommon"
INTERNALERROR = "InternalError"
INTERNALERROR_DB = "InternalError.Db"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER_CLUSTERNOTFOUND = "InvalidParameter.ClusterNotFound"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
INVALIDPARAMETER_PROMCLUSTERNOTFOUND = "InvalidParameter.PromClusterNotFound"

func (*Client) ModifyPrometheusAlertPolicy added in v1.0.401

func (c *Client) ModifyPrometheusAlertPolicy(request *ModifyPrometheusAlertPolicyRequest) (response *ModifyPrometheusAlertPolicyResponse, err error)

ModifyPrometheusAlertPolicy 修改2.0实例告警策略

可能返回的错误码:

FAILEDOPERATION_COMPONENTCLIENTCOMMON = "FailedOperation.ComponentClientCommon"
FAILEDOPERATION_COMPONENTCLIENTHTTP = "FailedOperation.ComponentClientHttp"
FAILEDOPERATION_COMPONENTCLIENTUNPACK = "FailedOperation.ComponentClientUnpack"
FAILEDOPERATION_KUBECOMMON = "FailedOperation.KubeCommon"
INTERNALERROR = "InternalError"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
INVALIDPARAMETER_PROMINSTANCENOTFOUND = "InvalidParameter.PromInstanceNotFound"

func (*Client) ModifyPrometheusAlertPolicyWithContext added in v1.0.401

func (c *Client) ModifyPrometheusAlertPolicyWithContext(ctx context.Context, request *ModifyPrometheusAlertPolicyRequest) (response *ModifyPrometheusAlertPolicyResponse, err error)

ModifyPrometheusAlertPolicy 修改2.0实例告警策略

可能返回的错误码:

FAILEDOPERATION_COMPONENTCLIENTCOMMON = "FailedOperation.ComponentClientCommon"
FAILEDOPERATION_COMPONENTCLIENTHTTP = "FailedOperation.ComponentClientHttp"
FAILEDOPERATION_COMPONENTCLIENTUNPACK = "FailedOperation.ComponentClientUnpack"
FAILEDOPERATION_KUBECOMMON = "FailedOperation.KubeCommon"
INTERNALERROR = "InternalError"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
INVALIDPARAMETER_PROMINSTANCENOTFOUND = "InvalidParameter.PromInstanceNotFound"

func (*Client) ModifyPrometheusAlertRule added in v1.0.218

func (c *Client) ModifyPrometheusAlertRule(request *ModifyPrometheusAlertRuleRequest) (response *ModifyPrometheusAlertRuleResponse, err error)

ModifyPrometheusAlertRule 修改告警规则

可能返回的错误码:

FAILEDOPERATION_COMPONENTCLIENTHTTP = "FailedOperation.ComponentClientHttp"
FAILEDOPERATION_KUBECOMMON = "FailedOperation.KubeCommon"
INTERNALERROR = "InternalError"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
INVALIDPARAMETER_PROMINSTANCENOTFOUND = "InvalidParameter.PromInstanceNotFound"

func (*Client) ModifyPrometheusAlertRuleWithContext added in v1.0.324

func (c *Client) ModifyPrometheusAlertRuleWithContext(ctx context.Context, request *ModifyPrometheusAlertRuleRequest) (response *ModifyPrometheusAlertRuleResponse, err error)

ModifyPrometheusAlertRule 修改告警规则

可能返回的错误码:

FAILEDOPERATION_COMPONENTCLIENTHTTP = "FailedOperation.ComponentClientHttp"
FAILEDOPERATION_KUBECOMMON = "FailedOperation.KubeCommon"
INTERNALERROR = "InternalError"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
INVALIDPARAMETER_PROMINSTANCENOTFOUND = "InvalidParameter.PromInstanceNotFound"

func (*Client) ModifyPrometheusConfig added in v1.0.432

func (c *Client) ModifyPrometheusConfig(request *ModifyPrometheusConfigRequest) (response *ModifyPrometheusConfigResponse, err error)

ModifyPrometheusConfig 修改prometheus配置,如果配置项不存在,则会新增

可能返回的错误码:

FAILEDOPERATION_COMPONENTCLIENTHTTP = "FailedOperation.ComponentClientHttp"
FAILEDOPERATION_COMPONENTCLIENTUNPACK = "FailedOperation.ComponentClientUnpack"
FAILEDOPERATION_KUBECOMMON = "FailedOperation.KubeCommon"
INTERNALERROR = "InternalError"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_CLUSTERNOTFOUND = "InvalidParameter.ClusterNotFound"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
INVALIDPARAMETER_PROMCLUSTERNOTFOUND = "InvalidParameter.PromClusterNotFound"

func (*Client) ModifyPrometheusConfigWithContext added in v1.0.432

func (c *Client) ModifyPrometheusConfigWithContext(ctx context.Context, request *ModifyPrometheusConfigRequest) (response *ModifyPrometheusConfigResponse, err error)

ModifyPrometheusConfig 修改prometheus配置,如果配置项不存在,则会新增

可能返回的错误码:

FAILEDOPERATION_COMPONENTCLIENTHTTP = "FailedOperation.ComponentClientHttp"
FAILEDOPERATION_COMPONENTCLIENTUNPACK = "FailedOperation.ComponentClientUnpack"
FAILEDOPERATION_KUBECOMMON = "FailedOperation.KubeCommon"
INTERNALERROR = "InternalError"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_CLUSTERNOTFOUND = "InvalidParameter.ClusterNotFound"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
INVALIDPARAMETER_PROMCLUSTERNOTFOUND = "InvalidParameter.PromClusterNotFound"

func (*Client) ModifyPrometheusGlobalNotification added in v1.0.403

func (c *Client) ModifyPrometheusGlobalNotification(request *ModifyPrometheusGlobalNotificationRequest) (response *ModifyPrometheusGlobalNotificationResponse, err error)

ModifyPrometheusGlobalNotification 修改全局告警通知渠道

可能返回的错误码:

FAILEDOPERATION_COMPONENTCLIENTCOMMON = "FailedOperation.ComponentClientCommon"
FAILEDOPERATION_KUBECOMMON = "FailedOperation.KubeCommon"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
INVALIDPARAMETER_PROMCLUSTERNOTFOUND = "InvalidParameter.PromClusterNotFound"
INVALIDPARAMETER_PROMINSTANCENOTFOUND = "InvalidParameter.PromInstanceNotFound"

func (*Client) ModifyPrometheusGlobalNotificationWithContext added in v1.0.403

func (c *Client) ModifyPrometheusGlobalNotificationWithContext(ctx context.Context, request *ModifyPrometheusGlobalNotificationRequest) (response *ModifyPrometheusGlobalNotificationResponse, err error)

ModifyPrometheusGlobalNotification 修改全局告警通知渠道

可能返回的错误码:

FAILEDOPERATION_COMPONENTCLIENTCOMMON = "FailedOperation.ComponentClientCommon"
FAILEDOPERATION_KUBECOMMON = "FailedOperation.KubeCommon"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
INVALIDPARAMETER_PROMCLUSTERNOTFOUND = "InvalidParameter.PromClusterNotFound"
INVALIDPARAMETER_PROMINSTANCENOTFOUND = "InvalidParameter.PromInstanceNotFound"

func (*Client) ModifyPrometheusRecordRuleYaml added in v1.0.432

func (c *Client) ModifyPrometheusRecordRuleYaml(request *ModifyPrometheusRecordRuleYamlRequest) (response *ModifyPrometheusRecordRuleYamlResponse, err error)

ModifyPrometheusRecordRuleYaml 通过yaml的方式修改Prometheus聚合实例

可能返回的错误码:

FAILEDOPERATION_COMPONENTCLIENTCOMMON = "FailedOperation.ComponentClientCommon"
FAILEDOPERATION_COMPONENTCLIENTHTTP = "FailedOperation.ComponentClientHttp"
FAILEDOPERATION_COMPONENTCLIENTUNPACK = "FailedOperation.ComponentClientUnpack"
INTERNALERROR = "InternalError"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
INVALIDPARAMETER_PROMINSTANCENOTFOUND = "InvalidParameter.PromInstanceNotFound"

func (*Client) ModifyPrometheusRecordRuleYamlWithContext added in v1.0.432

func (c *Client) ModifyPrometheusRecordRuleYamlWithContext(ctx context.Context, request *ModifyPrometheusRecordRuleYamlRequest) (response *ModifyPrometheusRecordRuleYamlResponse, err error)

ModifyPrometheusRecordRuleYaml 通过yaml的方式修改Prometheus聚合实例

可能返回的错误码:

FAILEDOPERATION_COMPONENTCLIENTCOMMON = "FailedOperation.ComponentClientCommon"
FAILEDOPERATION_COMPONENTCLIENTHTTP = "FailedOperation.ComponentClientHttp"
FAILEDOPERATION_COMPONENTCLIENTUNPACK = "FailedOperation.ComponentClientUnpack"
INTERNALERROR = "InternalError"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
INVALIDPARAMETER_PROMINSTANCENOTFOUND = "InvalidParameter.PromInstanceNotFound"

func (*Client) ModifyPrometheusTemp added in v1.0.402

func (c *Client) ModifyPrometheusTemp(request *ModifyPrometheusTempRequest) (response *ModifyPrometheusTempResponse, err error)

ModifyPrometheusTemp 修改模板内容

可能返回的错误码:

INTERNALERROR = "InternalError"
INTERNALERROR_DB = "InternalError.Db"
INTERNALERROR_PARAM = "InternalError.Param"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
INVALIDPARAMETER_RESOURCENOTFOUND = "InvalidParameter.ResourceNotFound"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) ModifyPrometheusTempWithContext added in v1.0.402

func (c *Client) ModifyPrometheusTempWithContext(ctx context.Context, request *ModifyPrometheusTempRequest) (response *ModifyPrometheusTempResponse, err error)

ModifyPrometheusTemp 修改模板内容

可能返回的错误码:

INTERNALERROR = "InternalError"
INTERNALERROR_DB = "InternalError.Db"
INTERNALERROR_PARAM = "InternalError.Param"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
INVALIDPARAMETER_RESOURCENOTFOUND = "InvalidParameter.ResourceNotFound"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) ModifyPrometheusTemplate

func (c *Client) ModifyPrometheusTemplate(request *ModifyPrometheusTemplateRequest) (response *ModifyPrometheusTemplateResponse, err error)

ModifyPrometheusTemplate 修改模板内容

可能返回的错误码:

INTERNALERROR = "InternalError"
INTERNALERROR_DB = "InternalError.Db"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
INVALIDPARAMETER_RESOURCENOTFOUND = "InvalidParameter.ResourceNotFound"

func (*Client) ModifyPrometheusTemplateWithContext added in v1.0.324

func (c *Client) ModifyPrometheusTemplateWithContext(ctx context.Context, request *ModifyPrometheusTemplateRequest) (response *ModifyPrometheusTemplateResponse, err error)

ModifyPrometheusTemplate 修改模板内容

可能返回的错误码:

INTERNALERROR = "InternalError"
INTERNALERROR_DB = "InternalError.Db"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
INVALIDPARAMETER_RESOURCENOTFOUND = "InvalidParameter.ResourceNotFound"

func (*Client) ModifyReservedInstanceScope added in v1.0.759

func (c *Client) ModifyReservedInstanceScope(request *ModifyReservedInstanceScopeRequest) (response *ModifyReservedInstanceScopeResponse, err error)

ModifyReservedInstanceScope 修改预留券的抵扣范围,抵扣范围取值:Region、Zone 和 Node。

可能返回的错误码:

INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
RESOURCENOTFOUND_NOTFOUND = "ResourceNotFound.NotFound"

func (*Client) ModifyReservedInstanceScopeWithContext added in v1.0.759

func (c *Client) ModifyReservedInstanceScopeWithContext(ctx context.Context, request *ModifyReservedInstanceScopeRequest) (response *ModifyReservedInstanceScopeResponse, err error)

ModifyReservedInstanceScope 修改预留券的抵扣范围,抵扣范围取值:Region、Zone 和 Node。

可能返回的错误码:

INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
RESOURCENOTFOUND_NOTFOUND = "ResourceNotFound.NotFound"

func (*Client) RemoveNodeFromNodePool

func (c *Client) RemoveNodeFromNodePool(request *RemoveNodeFromNodePoolRequest) (response *RemoveNodeFromNodePoolResponse, err error)

RemoveNodeFromNodePool 移出节点池节点,但保留在集群内

可能返回的错误码:

FAILEDOPERATION_RECORDNOTFOUND = "FailedOperation.RecordNotFound"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) RemoveNodeFromNodePoolWithContext added in v1.0.324

func (c *Client) RemoveNodeFromNodePoolWithContext(ctx context.Context, request *RemoveNodeFromNodePoolRequest) (response *RemoveNodeFromNodePoolResponse, err error)

RemoveNodeFromNodePool 移出节点池节点,但保留在集群内

可能返回的错误码:

FAILEDOPERATION_RECORDNOTFOUND = "FailedOperation.RecordNotFound"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) RenewReservedInstances added in v1.0.759

func (c *Client) RenewReservedInstances(request *RenewReservedInstancesRequest) (response *RenewReservedInstancesResponse, err error)

RenewReservedInstances 续费时请确保账户余额充足。

可能返回的错误码:

INTERNALERROR_INSUFFICIENTBALANCE = "InternalError.InsufficientBalance"
INTERNALERROR_NOPAYMENTACCESS = "InternalError.NoPaymentAccess"
INTERNALERROR_NOTVERIFIED = "InternalError.NotVerified"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_TRADECOMMON = "InternalError.TradeCommon"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"

func (*Client) RenewReservedInstancesWithContext added in v1.0.759

func (c *Client) RenewReservedInstancesWithContext(ctx context.Context, request *RenewReservedInstancesRequest) (response *RenewReservedInstancesResponse, err error)

RenewReservedInstances 续费时请确保账户余额充足。

可能返回的错误码:

INTERNALERROR_INSUFFICIENTBALANCE = "InternalError.InsufficientBalance"
INTERNALERROR_NOPAYMENTACCESS = "InternalError.NoPaymentAccess"
INTERNALERROR_NOTVERIFIED = "InternalError.NotVerified"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_TRADECOMMON = "InternalError.TradeCommon"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"

func (*Client) RestartEKSContainerInstances added in v1.0.254

func (c *Client) RestartEKSContainerInstances(request *RestartEKSContainerInstancesRequest) (response *RestartEKSContainerInstancesResponse, err error)

RestartEKSContainerInstances 重启弹性容器实例,支持批量操作

可能返回的错误码:

INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
RESOURCENOTFOUND = "ResourceNotFound"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) RestartEKSContainerInstancesWithContext added in v1.0.324

func (c *Client) RestartEKSContainerInstancesWithContext(ctx context.Context, request *RestartEKSContainerInstancesRequest) (response *RestartEKSContainerInstancesResponse, err error)

RestartEKSContainerInstances 重启弹性容器实例,支持批量操作

可能返回的错误码:

INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
RESOURCENOTFOUND = "ResourceNotFound"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) RollbackClusterRelease added in v1.0.554

func (c *Client) RollbackClusterRelease(request *RollbackClusterReleaseRequest) (response *RollbackClusterReleaseResponse, err error)

RollbackClusterRelease 在应用市场中集群回滚应用至某个历史版本

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_MARKETGETAUTHFAILED = "FailedOperation.MarketGetAuthFailed"
FAILEDOPERATION_MARKETRELEASEOPERATION = "FailedOperation.MarketReleaseOperation"
INTERNALERROR = "InternalError"
INTERNALERROR_MARKETGETAUTHFAILED = "InternalError.MarketGetAuthFailed"
INTERNALERROR_MARKETINTERNALSERVERERROR = "InternalError.MarketInternalServerError"
INTERNALERROR_MARKETRELEASEOPERATION = "InternalError.MarketReleaseOperation"
INTERNALERROR_PARAM = "InternalError.Param"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
MISSINGPARAMETER = "MissingParameter"
UNKNOWNPARAMETER = "UnknownParameter"

func (*Client) RollbackClusterReleaseWithContext added in v1.0.554

func (c *Client) RollbackClusterReleaseWithContext(ctx context.Context, request *RollbackClusterReleaseRequest) (response *RollbackClusterReleaseResponse, err error)

RollbackClusterRelease 在应用市场中集群回滚应用至某个历史版本

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_MARKETGETAUTHFAILED = "FailedOperation.MarketGetAuthFailed"
FAILEDOPERATION_MARKETRELEASEOPERATION = "FailedOperation.MarketReleaseOperation"
INTERNALERROR = "InternalError"
INTERNALERROR_MARKETGETAUTHFAILED = "InternalError.MarketGetAuthFailed"
INTERNALERROR_MARKETINTERNALSERVERERROR = "InternalError.MarketInternalServerError"
INTERNALERROR_MARKETRELEASEOPERATION = "InternalError.MarketReleaseOperation"
INTERNALERROR_PARAM = "InternalError.Param"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
MISSINGPARAMETER = "MissingParameter"
UNKNOWNPARAMETER = "UnknownParameter"

func (*Client) RunPrometheusInstance added in v1.0.432

func (c *Client) RunPrometheusInstance(request *RunPrometheusInstanceRequest) (response *RunPrometheusInstanceResponse, err error)

RunPrometheusInstance 初始化TMP实例,开启集成中心时调用

可能返回的错误码:

FAILEDOPERATION_COMPONENTCLIENTCOMMON = "FailedOperation.ComponentClientCommon"
FAILEDOPERATION_COMPONENTCLIENTUNPACK = "FailedOperation.ComponentClientUnpack"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
INVALIDPARAMETER_PROMINSTANCENOTFOUND = "InvalidParameter.PromInstanceNotFound"

func (*Client) RunPrometheusInstanceWithContext added in v1.0.432

func (c *Client) RunPrometheusInstanceWithContext(ctx context.Context, request *RunPrometheusInstanceRequest) (response *RunPrometheusInstanceResponse, err error)

RunPrometheusInstance 初始化TMP实例,开启集成中心时调用

可能返回的错误码:

FAILEDOPERATION_COMPONENTCLIENTCOMMON = "FailedOperation.ComponentClientCommon"
FAILEDOPERATION_COMPONENTCLIENTUNPACK = "FailedOperation.ComponentClientUnpack"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
INVALIDPARAMETER_PROMINSTANCENOTFOUND = "InvalidParameter.PromInstanceNotFound"

func (*Client) ScaleInClusterMaster added in v1.0.299

func (c *Client) ScaleInClusterMaster(request *ScaleInClusterMasterRequest) (response *ScaleInClusterMasterResponse, err error)

ScaleInClusterMaster 缩容独立集群master节点,本功能为内测能力,使用之前请先提单联系我们。

可能返回的错误码:

INTERNALERROR = "InternalError"
OPERATIONDENIED = "OperationDenied"

func (*Client) ScaleInClusterMasterWithContext added in v1.0.324

func (c *Client) ScaleInClusterMasterWithContext(ctx context.Context, request *ScaleInClusterMasterRequest) (response *ScaleInClusterMasterResponse, err error)

ScaleInClusterMaster 缩容独立集群master节点,本功能为内测能力,使用之前请先提单联系我们。

可能返回的错误码:

INTERNALERROR = "InternalError"
OPERATIONDENIED = "OperationDenied"

func (*Client) ScaleOutClusterMaster added in v1.0.299

func (c *Client) ScaleOutClusterMaster(request *ScaleOutClusterMasterRequest) (response *ScaleOutClusterMasterResponse, err error)

ScaleOutClusterMaster 扩容独立集群master节点

可能返回的错误码:

FAILEDOPERATION_CVMUNEXPECTEDERROR = "FailedOperation.CVMUnexpectedError"
INTERNALERROR = "InternalError"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
OPERATIONDENIED = "OperationDenied"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE_CLUSTERSTATE = "ResourceUnavailable.ClusterState"

func (*Client) ScaleOutClusterMasterWithContext added in v1.0.324

func (c *Client) ScaleOutClusterMasterWithContext(ctx context.Context, request *ScaleOutClusterMasterRequest) (response *ScaleOutClusterMasterResponse, err error)

ScaleOutClusterMaster 扩容独立集群master节点

可能返回的错误码:

FAILEDOPERATION_CVMUNEXPECTEDERROR = "FailedOperation.CVMUnexpectedError"
INTERNALERROR = "InternalError"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
OPERATIONDENIED = "OperationDenied"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE_CLUSTERSTATE = "ResourceUnavailable.ClusterState"

func (*Client) SetNodePoolNodeProtection

func (c *Client) SetNodePoolNodeProtection(request *SetNodePoolNodeProtectionRequest) (response *SetNodePoolNodeProtectionResponse, err error)

SetNodePoolNodeProtection 仅能设置节点池中处于伸缩组的节点

可能返回的错误码:

FAILEDOPERATION_RECORDNOTFOUND = "FailedOperation.RecordNotFound"
INTERNALERROR = "InternalError"
INTERNALERROR_ACCOUNTUSERNOTAUTHENTICATED = "InternalError.AccountUserNotAuthenticated"
INTERNALERROR_CLUSTERNOTFOUND = "InternalError.ClusterNotFound"
INTERNALERROR_DB = "InternalError.Db"
INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) SetNodePoolNodeProtectionWithContext added in v1.0.324

func (c *Client) SetNodePoolNodeProtectionWithContext(ctx context.Context, request *SetNodePoolNodeProtectionRequest) (response *SetNodePoolNodeProtectionResponse, err error)

SetNodePoolNodeProtection 仅能设置节点池中处于伸缩组的节点

可能返回的错误码:

FAILEDOPERATION_RECORDNOTFOUND = "FailedOperation.RecordNotFound"
INTERNALERROR = "InternalError"
INTERNALERROR_ACCOUNTUSERNOTAUTHENTICATED = "InternalError.AccountUserNotAuthenticated"
INTERNALERROR_CLUSTERNOTFOUND = "InternalError.ClusterNotFound"
INTERNALERROR_DB = "InternalError.Db"
INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) SyncPrometheusTemp added in v1.0.401

func (c *Client) SyncPrometheusTemp(request *SyncPrometheusTempRequest) (response *SyncPrometheusTempResponse, err error)

SyncPrometheusTemp 同步模板到实例或者集群,针对V2版本实例

可能返回的错误码:

FAILEDOPERATION_COMPONENTCLIENTCOMMON = "FailedOperation.ComponentClientCommon"
FAILEDOPERATION_COMPONENTCLIENTHTTP = "FailedOperation.ComponentClientHttp"
FAILEDOPERATION_COMPONENTCLIENTUNPACK = "FailedOperation.ComponentClientUnpack"
FAILEDOPERATION_KUBECOMMON = "FailedOperation.KubeCommon"
INTERNALERROR_DB = "InternalError.Db"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
INVALIDPARAMETER_PROMCLUSTERNOTFOUND = "InvalidParameter.PromClusterNotFound"
INVALIDPARAMETER_PROMINSTANCENOTFOUND = "InvalidParameter.PromInstanceNotFound"
INVALIDPARAMETER_RESOURCENOTFOUND = "InvalidParameter.ResourceNotFound"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) SyncPrometheusTempWithContext added in v1.0.401

func (c *Client) SyncPrometheusTempWithContext(ctx context.Context, request *SyncPrometheusTempRequest) (response *SyncPrometheusTempResponse, err error)

SyncPrometheusTemp 同步模板到实例或者集群,针对V2版本实例

可能返回的错误码:

FAILEDOPERATION_COMPONENTCLIENTCOMMON = "FailedOperation.ComponentClientCommon"
FAILEDOPERATION_COMPONENTCLIENTHTTP = "FailedOperation.ComponentClientHttp"
FAILEDOPERATION_COMPONENTCLIENTUNPACK = "FailedOperation.ComponentClientUnpack"
FAILEDOPERATION_KUBECOMMON = "FailedOperation.KubeCommon"
INTERNALERROR_DB = "InternalError.Db"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
INVALIDPARAMETER_PROMCLUSTERNOTFOUND = "InvalidParameter.PromClusterNotFound"
INVALIDPARAMETER_PROMINSTANCENOTFOUND = "InvalidParameter.PromInstanceNotFound"
INVALIDPARAMETER_RESOURCENOTFOUND = "InvalidParameter.ResourceNotFound"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) SyncPrometheusTemplate

func (c *Client) SyncPrometheusTemplate(request *SyncPrometheusTemplateRequest) (response *SyncPrometheusTemplateResponse, err error)

SyncPrometheusTemplate 同步模板到实例或者集群

可能返回的错误码:

FAILEDOPERATION_COMPONENTCLIENTHTTP = "FailedOperation.ComponentClientHttp"
FAILEDOPERATION_COMPONENTCLIENTUNPACK = "FailedOperation.ComponentClientUnpack"
FAILEDOPERATION_KUBECOMMON = "FailedOperation.KubeCommon"
INTERNALERROR_DB = "InternalError.Db"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
INVALIDPARAMETER_PROMCLUSTERNOTFOUND = "InvalidParameter.PromClusterNotFound"
INVALIDPARAMETER_PROMINSTANCENOTFOUND = "InvalidParameter.PromInstanceNotFound"
INVALIDPARAMETER_RESOURCENOTFOUND = "InvalidParameter.ResourceNotFound"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) SyncPrometheusTemplateWithContext added in v1.0.324

func (c *Client) SyncPrometheusTemplateWithContext(ctx context.Context, request *SyncPrometheusTemplateRequest) (response *SyncPrometheusTemplateResponse, err error)

SyncPrometheusTemplate 同步模板到实例或者集群

可能返回的错误码:

FAILEDOPERATION_COMPONENTCLIENTHTTP = "FailedOperation.ComponentClientHttp"
FAILEDOPERATION_COMPONENTCLIENTUNPACK = "FailedOperation.ComponentClientUnpack"
FAILEDOPERATION_KUBECOMMON = "FailedOperation.KubeCommon"
INTERNALERROR_DB = "InternalError.Db"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
INVALIDPARAMETER_PROMCLUSTERNOTFOUND = "InvalidParameter.PromClusterNotFound"
INVALIDPARAMETER_PROMINSTANCENOTFOUND = "InvalidParameter.PromInstanceNotFound"
INVALIDPARAMETER_RESOURCENOTFOUND = "InvalidParameter.ResourceNotFound"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) UninstallClusterRelease added in v1.0.554

func (c *Client) UninstallClusterRelease(request *UninstallClusterReleaseRequest) (response *UninstallClusterReleaseResponse, err error)

UninstallClusterRelease 在应用市场中集群删除某个应用

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_MARKETGETAUTHFAILED = "FailedOperation.MarketGetAuthFailed"
FAILEDOPERATION_MARKETRELEASEOPERATION = "FailedOperation.MarketReleaseOperation"
INTERNALERROR = "InternalError"
INTERNALERROR_MARKETGETAUTHFAILED = "InternalError.MarketGetAuthFailed"
INTERNALERROR_MARKETINTERNALSERVERERROR = "InternalError.MarketInternalServerError"
INTERNALERROR_MARKETRELEASEOPERATION = "InternalError.MarketReleaseOperation"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
MISSINGPARAMETER = "MissingParameter"
UNKNOWNPARAMETER = "UnknownParameter"

func (*Client) UninstallClusterReleaseWithContext added in v1.0.554

func (c *Client) UninstallClusterReleaseWithContext(ctx context.Context, request *UninstallClusterReleaseRequest) (response *UninstallClusterReleaseResponse, err error)

UninstallClusterRelease 在应用市场中集群删除某个应用

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_MARKETGETAUTHFAILED = "FailedOperation.MarketGetAuthFailed"
FAILEDOPERATION_MARKETRELEASEOPERATION = "FailedOperation.MarketReleaseOperation"
INTERNALERROR = "InternalError"
INTERNALERROR_MARKETGETAUTHFAILED = "InternalError.MarketGetAuthFailed"
INTERNALERROR_MARKETINTERNALSERVERERROR = "InternalError.MarketInternalServerError"
INTERNALERROR_MARKETRELEASEOPERATION = "InternalError.MarketReleaseOperation"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
MISSINGPARAMETER = "MissingParameter"
UNKNOWNPARAMETER = "UnknownParameter"

func (*Client) UninstallEdgeLogAgent added in v1.0.450

func (c *Client) UninstallEdgeLogAgent(request *UninstallEdgeLogAgentRequest) (response *UninstallEdgeLogAgentResponse, err error)

UninstallEdgeLogAgent 从tke@edge集群边缘节点上卸载日志采集组件

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) UninstallEdgeLogAgentWithContext added in v1.0.450

func (c *Client) UninstallEdgeLogAgentWithContext(ctx context.Context, request *UninstallEdgeLogAgentRequest) (response *UninstallEdgeLogAgentResponse, err error)

UninstallEdgeLogAgent 从tke@edge集群边缘节点上卸载日志采集组件

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) UninstallLogAgent added in v1.0.401

func (c *Client) UninstallLogAgent(request *UninstallLogAgentRequest) (response *UninstallLogAgentResponse, err error)

UninstallLogAgent 从TKE集群中卸载CLS日志采集组件

可能返回的错误码:

FAILEDOPERATION_CLUSTERSTATE = "FailedOperation.ClusterState"
FAILEDOPERATION_DB = "FailedOperation.Db"
FAILEDOPERATION_KUBERNETESDELETEOPERATIONERROR = "FailedOperation.KubernetesDeleteOperationError"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
RESOURCENOTFOUND_CLUSTERNOTFOUND = "ResourceNotFound.ClusterNotFound"
RESOURCEUNAVAILABLE_CLUSTERSTATE = "ResourceUnavailable.ClusterState"

func (*Client) UninstallLogAgentWithContext added in v1.0.401

func (c *Client) UninstallLogAgentWithContext(ctx context.Context, request *UninstallLogAgentRequest) (response *UninstallLogAgentResponse, err error)

UninstallLogAgent 从TKE集群中卸载CLS日志采集组件

可能返回的错误码:

FAILEDOPERATION_CLUSTERSTATE = "FailedOperation.ClusterState"
FAILEDOPERATION_DB = "FailedOperation.Db"
FAILEDOPERATION_KUBERNETESDELETEOPERATIONERROR = "FailedOperation.KubernetesDeleteOperationError"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
RESOURCENOTFOUND_CLUSTERNOTFOUND = "ResourceNotFound.ClusterNotFound"
RESOURCEUNAVAILABLE_CLUSTERSTATE = "ResourceUnavailable.ClusterState"

func (*Client) UpdateAddon added in v1.0.684

func (c *Client) UpdateAddon(request *UpdateAddonRequest) (response *UpdateAddonResponse, err error)

UpdateAddon 更新一个addon的参数和版本

可能返回的错误码:

FAILEDOPERATION_CLUSTERSTATE = "FailedOperation.ClusterState"
FAILEDOPERATION_DB = "FailedOperation.Db"
FAILEDOPERATION_KUBERNETESDELETEOPERATIONERROR = "FailedOperation.KubernetesDeleteOperationError"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
RESOURCENOTFOUND_CLUSTERNOTFOUND = "ResourceNotFound.ClusterNotFound"
RESOURCEUNAVAILABLE_CLUSTERSTATE = "ResourceUnavailable.ClusterState"

func (*Client) UpdateAddonWithContext added in v1.0.684

func (c *Client) UpdateAddonWithContext(ctx context.Context, request *UpdateAddonRequest) (response *UpdateAddonResponse, err error)

UpdateAddon 更新一个addon的参数和版本

可能返回的错误码:

FAILEDOPERATION_CLUSTERSTATE = "FailedOperation.ClusterState"
FAILEDOPERATION_DB = "FailedOperation.Db"
FAILEDOPERATION_KUBERNETESDELETEOPERATIONERROR = "FailedOperation.KubernetesDeleteOperationError"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
RESOURCENOTFOUND_CLUSTERNOTFOUND = "ResourceNotFound.ClusterNotFound"
RESOURCEUNAVAILABLE_CLUSTERSTATE = "ResourceUnavailable.ClusterState"

func (*Client) UpdateClusterKubeconfig added in v1.0.641

func (c *Client) UpdateClusterKubeconfig(request *UpdateClusterKubeconfigRequest) (response *UpdateClusterKubeconfigResponse, err error)

UpdateClusterKubeconfig 对集群的Kubeconfig信息进行更新

可能返回的错误码:

INTERNALERROR = "InternalError"
INTERNALERROR_DB = "InternalError.Db"
INTERNALERROR_KUBERNETESPATCHOPERATIONERROR = "InternalError.KubernetesPatchOperationError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) UpdateClusterKubeconfigWithContext added in v1.0.641

func (c *Client) UpdateClusterKubeconfigWithContext(ctx context.Context, request *UpdateClusterKubeconfigRequest) (response *UpdateClusterKubeconfigResponse, err error)

UpdateClusterKubeconfig 对集群的Kubeconfig信息进行更新

可能返回的错误码:

INTERNALERROR = "InternalError"
INTERNALERROR_DB = "InternalError.Db"
INTERNALERROR_KUBERNETESPATCHOPERATIONERROR = "InternalError.KubernetesPatchOperationError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) UpdateClusterVersion

func (c *Client) UpdateClusterVersion(request *UpdateClusterVersionRequest) (response *UpdateClusterVersionResponse, err error)

UpdateClusterVersion 升级集群 Master 组件到指定版本

可能返回的错误码:

FAILEDOPERATION_CLUSTERUPGRADENODEVERSION = "FailedOperation.ClusterUpgradeNodeVersion"
FAILEDOPERATION_COMPONENTCLIENTHTTP = "FailedOperation.ComponentClientHttp"
INTERNALERROR = "InternalError"
INTERNALERROR_CLUSTERUPGRADENODEVERSION = "InternalError.ClusterUpgradeNodeVersion"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE_CLUSTERSTATE = "ResourceUnavailable.ClusterState"

func (*Client) UpdateClusterVersionWithContext added in v1.0.324

func (c *Client) UpdateClusterVersionWithContext(ctx context.Context, request *UpdateClusterVersionRequest) (response *UpdateClusterVersionResponse, err error)

UpdateClusterVersion 升级集群 Master 组件到指定版本

可能返回的错误码:

FAILEDOPERATION_CLUSTERUPGRADENODEVERSION = "FailedOperation.ClusterUpgradeNodeVersion"
FAILEDOPERATION_COMPONENTCLIENTHTTP = "FailedOperation.ComponentClientHttp"
INTERNALERROR = "InternalError"
INTERNALERROR_CLUSTERUPGRADENODEVERSION = "InternalError.ClusterUpgradeNodeVersion"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE_CLUSTERSTATE = "ResourceUnavailable.ClusterState"

func (*Client) UpdateEKSCluster

func (c *Client) UpdateEKSCluster(request *UpdateEKSClusterRequest) (response *UpdateEKSClusterResponse, err error)

UpdateEKSCluster 修改弹性集群名称等属性

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth"
INVALIDPARAMETER = "InvalidParameter"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
RESOURCEINUSE = "ResourceInUse"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_CAMNOAUTH = "UnauthorizedOperation.CamNoAuth"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) UpdateEKSClusterWithContext added in v1.0.324

func (c *Client) UpdateEKSClusterWithContext(ctx context.Context, request *UpdateEKSClusterRequest) (response *UpdateEKSClusterResponse, err error)

UpdateEKSCluster 修改弹性集群名称等属性

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth"
INVALIDPARAMETER = "InvalidParameter"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
RESOURCEINUSE = "ResourceInUse"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_CAMNOAUTH = "UnauthorizedOperation.CamNoAuth"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) UpdateEKSContainerInstance added in v1.0.254

func (c *Client) UpdateEKSContainerInstance(request *UpdateEKSContainerInstanceRequest) (response *UpdateEKSContainerInstanceResponse, err error)

UpdateEKSContainerInstance 更新容器实例

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) UpdateEKSContainerInstanceWithContext added in v1.0.324

func (c *Client) UpdateEKSContainerInstanceWithContext(ctx context.Context, request *UpdateEKSContainerInstanceRequest) (response *UpdateEKSContainerInstanceResponse, err error)

UpdateEKSContainerInstance 更新容器实例

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) UpdateEdgeClusterVersion added in v1.0.510

func (c *Client) UpdateEdgeClusterVersion(request *UpdateEdgeClusterVersionRequest) (response *UpdateEdgeClusterVersionResponse, err error)

UpdateEdgeClusterVersion 升级边缘集群组件到指定版本,此版本为TKEEdge专用版本。

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_CLUSTERUPGRADENODEVERSION = "FailedOperation.ClusterUpgradeNodeVersion"
INTERNALERROR = "InternalError"
INTERNALERROR_CLUSTERUPGRADENODEVERSION = "InternalError.ClusterUpgradeNodeVersion"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE_CLUSTERSTATE = "ResourceUnavailable.ClusterState"

func (*Client) UpdateEdgeClusterVersionWithContext added in v1.0.510

func (c *Client) UpdateEdgeClusterVersionWithContext(ctx context.Context, request *UpdateEdgeClusterVersionRequest) (response *UpdateEdgeClusterVersionResponse, err error)

UpdateEdgeClusterVersion 升级边缘集群组件到指定版本,此版本为TKEEdge专用版本。

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_CLUSTERUPGRADENODEVERSION = "FailedOperation.ClusterUpgradeNodeVersion"
INTERNALERROR = "InternalError"
INTERNALERROR_CLUSTERUPGRADENODEVERSION = "InternalError.ClusterUpgradeNodeVersion"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE_CLUSTERSTATE = "ResourceUnavailable.ClusterState"

func (*Client) UpdateImageCache added in v1.0.363

func (c *Client) UpdateImageCache(request *UpdateImageCacheRequest) (response *UpdateImageCacheResponse, err error)

UpdateImageCache 更新镜像缓存接口

可能返回的错误码:

RESOURCENOTFOUND = "ResourceNotFound"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) UpdateImageCacheWithContext added in v1.0.363

func (c *Client) UpdateImageCacheWithContext(ctx context.Context, request *UpdateImageCacheRequest) (response *UpdateImageCacheResponse, err error)

UpdateImageCache 更新镜像缓存接口

可能返回的错误码:

RESOURCENOTFOUND = "ResourceNotFound"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) UpdateTKEEdgeCluster added in v1.0.412

func (c *Client) UpdateTKEEdgeCluster(request *UpdateTKEEdgeClusterRequest) (response *UpdateTKEEdgeClusterResponse, err error)

UpdateTKEEdgeCluster 修改边缘计算集群名称等属性

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth"
INVALIDPARAMETER = "InvalidParameter"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
RESOURCEINUSE = "ResourceInUse"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) UpdateTKEEdgeClusterWithContext added in v1.0.412

func (c *Client) UpdateTKEEdgeClusterWithContext(ctx context.Context, request *UpdateTKEEdgeClusterRequest) (response *UpdateTKEEdgeClusterResponse, err error)

UpdateTKEEdgeCluster 修改边缘计算集群名称等属性

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth"
INVALIDPARAMETER = "InvalidParameter"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
RESOURCEINUSE = "ResourceInUse"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) UpgradeClusterInstances

func (c *Client) UpgradeClusterInstances(request *UpgradeClusterInstancesRequest) (response *UpgradeClusterInstancesResponse, err error)

UpgradeClusterInstances 给集群的一批work节点进行升级

可能返回的错误码:

FAILEDOPERATION_TASKALREADYRUNNING = "FailedOperation.TaskAlreadyRunning"
FAILEDOPERATION_TASKLIFESTATEERROR = "FailedOperation.TaskLifeStateError"
INTERNALERROR_CLUSTERNOTFOUND = "InternalError.ClusterNotFound"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_TASKALREADYRUNNING = "InternalError.TaskAlreadyRunning"
INTERNALERROR_TASKLIFESTATEERROR = "InternalError.TaskLifeStateError"
INTERNALERROR_TASKNOTFOUND = "InternalError.TaskNotFound"
INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE_CLUSTERSTATE = "ResourceUnavailable.ClusterState"

func (*Client) UpgradeClusterInstancesWithContext added in v1.0.324

func (c *Client) UpgradeClusterInstancesWithContext(ctx context.Context, request *UpgradeClusterInstancesRequest) (response *UpgradeClusterInstancesResponse, err error)

UpgradeClusterInstances 给集群的一批work节点进行升级

可能返回的错误码:

FAILEDOPERATION_TASKALREADYRUNNING = "FailedOperation.TaskAlreadyRunning"
FAILEDOPERATION_TASKLIFESTATEERROR = "FailedOperation.TaskLifeStateError"
INTERNALERROR_CLUSTERNOTFOUND = "InternalError.ClusterNotFound"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_TASKALREADYRUNNING = "InternalError.TaskAlreadyRunning"
INTERNALERROR_TASKLIFESTATEERROR = "InternalError.TaskLifeStateError"
INTERNALERROR_TASKNOTFOUND = "InternalError.TaskNotFound"
INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE_CLUSTERSTATE = "ResourceUnavailable.ClusterState"

func (*Client) UpgradeClusterRelease added in v1.0.554

func (c *Client) UpgradeClusterRelease(request *UpgradeClusterReleaseRequest) (response *UpgradeClusterReleaseResponse, err error)

UpgradeClusterRelease 升级集群中已安装的应用

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_MARKETGETAUTHFAILED = "FailedOperation.MarketGetAuthFailed"
FAILEDOPERATION_MARKETRELEASEOPERATION = "FailedOperation.MarketReleaseOperation"
INTERNALERROR = "InternalError"
INTERNALERROR_MARKETGETAUTHFAILED = "InternalError.MarketGetAuthFailed"
INTERNALERROR_MARKETINTERNALSERVERERROR = "InternalError.MarketInternalServerError"
INTERNALERROR_MARKETRELEASEOPERATION = "InternalError.MarketReleaseOperation"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
MISSINGPARAMETER = "MissingParameter"
UNAUTHORIZEDOPERATION_CAMNOAUTH = "UnauthorizedOperation.CamNoAuth"
UNKNOWNPARAMETER = "UnknownParameter"

func (*Client) UpgradeClusterReleaseWithContext added in v1.0.554

func (c *Client) UpgradeClusterReleaseWithContext(ctx context.Context, request *UpgradeClusterReleaseRequest) (response *UpgradeClusterReleaseResponse, err error)

UpgradeClusterRelease 升级集群中已安装的应用

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_MARKETGETAUTHFAILED = "FailedOperation.MarketGetAuthFailed"
FAILEDOPERATION_MARKETRELEASEOPERATION = "FailedOperation.MarketReleaseOperation"
INTERNALERROR = "InternalError"
INTERNALERROR_MARKETGETAUTHFAILED = "InternalError.MarketGetAuthFailed"
INTERNALERROR_MARKETINTERNALSERVERERROR = "InternalError.MarketInternalServerError"
INTERNALERROR_MARKETRELEASEOPERATION = "InternalError.MarketReleaseOperation"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
MISSINGPARAMETER = "MissingParameter"
UNAUTHORIZEDOPERATION_CAMNOAUTH = "UnauthorizedOperation.CamNoAuth"
UNKNOWNPARAMETER = "UnknownParameter"

type Cluster

type Cluster struct {
	// 集群ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// 集群名称
	ClusterName *string `json:"ClusterName,omitnil,omitempty" name:"ClusterName"`

	// 集群描述
	ClusterDescription *string `json:"ClusterDescription,omitnil,omitempty" name:"ClusterDescription"`

	// 集群版本(默认值为1.10.5)
	ClusterVersion *string `json:"ClusterVersion,omitnil,omitempty" name:"ClusterVersion"`

	// 集群系统。centos7.2x86_64 或者 ubuntu16.04.1 LTSx86_64,默认取值为ubuntu16.04.1 LTSx86_64
	ClusterOs *string `json:"ClusterOs,omitnil,omitempty" name:"ClusterOs"`

	// 集群类型,托管集群:MANAGED_CLUSTER,独立集群:INDEPENDENT_CLUSTER。
	ClusterType *string `json:"ClusterType,omitnil,omitempty" name:"ClusterType"`

	// 集群网络相关参数
	ClusterNetworkSettings *ClusterNetworkSettings `json:"ClusterNetworkSettings,omitnil,omitempty" name:"ClusterNetworkSettings"`

	// 集群当前node数量
	ClusterNodeNum *uint64 `json:"ClusterNodeNum,omitnil,omitempty" name:"ClusterNodeNum"`

	// 集群所属的项目ID
	ProjectId *uint64 `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// 标签描述列表。
	// 注意:此字段可能返回 null,表示取不到有效值。
	TagSpecification []*TagSpecification `json:"TagSpecification,omitnil,omitempty" name:"TagSpecification"`

	// 集群状态 (Trading 集群开通中,Creating 创建中,Running 运行中,Deleting 删除中,Idling 闲置中,Recovering 唤醒中,Scaling 规模调整中,Upgrading 升级中,WaittingForConnect 等待注册,Trading 集群开通中,Isolated 欠费隔离中,Pause 集群升级暂停,NodeUpgrading 节点升级中,RuntimeUpgrading 节点运行时升级中,MasterScaling Master扩缩容中,ClusterLevelUpgrading 调整规格中,ResourceIsolate 隔离中,ResourceIsolated 已隔离,ResourceReverse 冲正中,Abnormal 异常)
	ClusterStatus *string `json:"ClusterStatus,omitnil,omitempty" name:"ClusterStatus"`

	// 集群属性(包括集群不同属性的MAP,属性字段包括NodeNameType (lan-ip模式和hostname 模式,默认无lan-ip模式))
	// 注意:此字段可能返回 null,表示取不到有效值。
	Property *string `json:"Property,omitnil,omitempty" name:"Property"`

	// 集群当前master数量
	ClusterMaterNodeNum *uint64 `json:"ClusterMaterNodeNum,omitnil,omitempty" name:"ClusterMaterNodeNum"`

	// 集群使用镜像id
	// 注意:此字段可能返回 null,表示取不到有效值。
	ImageId *string `json:"ImageId,omitnil,omitempty" name:"ImageId"`

	// OsCustomizeType 系统定制类型
	// 注意:此字段可能返回 null,表示取不到有效值。
	OsCustomizeType *string `json:"OsCustomizeType,omitnil,omitempty" name:"OsCustomizeType"`

	// 集群运行环境docker或container
	// 注意:此字段可能返回 null,表示取不到有效值。
	ContainerRuntime *string `json:"ContainerRuntime,omitnil,omitempty" name:"ContainerRuntime"`

	// 创建时间
	// 注意:此字段可能返回 null,表示取不到有效值。
	CreatedTime *string `json:"CreatedTime,omitnil,omitempty" name:"CreatedTime"`

	// 删除保护开关
	// 注意:此字段可能返回 null,表示取不到有效值。
	DeletionProtection *bool `json:"DeletionProtection,omitnil,omitempty" name:"DeletionProtection"`

	// 集群是否开启第三方节点支持
	// 注意:此字段可能返回 null,表示取不到有效值。
	EnableExternalNode *bool `json:"EnableExternalNode,omitnil,omitempty" name:"EnableExternalNode"`

	// 集群等级,针对托管集群生效
	// 注意:此字段可能返回 null,表示取不到有效值。
	ClusterLevel *string `json:"ClusterLevel,omitnil,omitempty" name:"ClusterLevel"`

	// 自动变配集群等级,针对托管集群生效
	// 注意:此字段可能返回 null,表示取不到有效值。
	AutoUpgradeClusterLevel *bool `json:"AutoUpgradeClusterLevel,omitnil,omitempty" name:"AutoUpgradeClusterLevel"`

	// 是否开启QGPU共享
	// 注意:此字段可能返回 null,表示取不到有效值。
	QGPUShareEnable *bool `json:"QGPUShareEnable,omitnil,omitempty" name:"QGPUShareEnable"`

	// 运行时版本
	// 注意:此字段可能返回 null,表示取不到有效值。
	RuntimeVersion *string `json:"RuntimeVersion,omitnil,omitempty" name:"RuntimeVersion"`

	// 集群当前etcd数量
	// 注意:此字段可能返回 null,表示取不到有效值。
	ClusterEtcdNodeNum *uint64 `json:"ClusterEtcdNodeNum,omitnil,omitempty" name:"ClusterEtcdNodeNum"`
}

type ClusterAdvancedSettings

type ClusterAdvancedSettings struct {
	// 是否启用IPVS
	IPVS *bool `json:"IPVS,omitnil,omitempty" name:"IPVS"`

	// 是否启用集群节点自动扩缩容(创建集群流程不支持开启此功能)
	AsEnabled *bool `json:"AsEnabled,omitnil,omitempty" name:"AsEnabled"`

	// 集群使用的runtime类型,包括"docker"和"containerd"两种类型,默认为"docker"
	ContainerRuntime *string `json:"ContainerRuntime,omitnil,omitempty" name:"ContainerRuntime"`

	// 集群中节点NodeName类型(包括 hostname,lan-ip两种形式,默认为lan-ip。如果开启了hostname模式,创建节点时需要设置HostName参数,并且InstanceName需要和HostName一致)
	NodeNameType *string `json:"NodeNameType,omitnil,omitempty" name:"NodeNameType"`

	// 集群自定义参数
	ExtraArgs *ClusterExtraArgs `json:"ExtraArgs,omitnil,omitempty" name:"ExtraArgs"`

	// 集群网络类型(包括GR(全局路由)和VPC-CNI两种模式,默认为GR。
	NetworkType *string `json:"NetworkType,omitnil,omitempty" name:"NetworkType"`

	// 集群VPC-CNI模式是否为非固定IP,默认: FALSE 固定IP。
	IsNonStaticIpMode *bool `json:"IsNonStaticIpMode,omitnil,omitempty" name:"IsNonStaticIpMode"`

	// 是否启用集群删除保护
	DeletionProtection *bool `json:"DeletionProtection,omitnil,omitempty" name:"DeletionProtection"`

	// 集群的网络代理模型,目前tke集群支持的网络代理模式有三种:iptables,ipvs,ipvs-bpf,此参数仅在使用ipvs-bpf模式时使用,三种网络模式的参数设置关系如下:
	// iptables模式:IPVS和KubeProxyMode都不设置
	// ipvs模式: 设置IPVS为true, KubeProxyMode不设置
	// ipvs-bpf模式: 设置KubeProxyMode为kube-proxy-bpf
	// 使用ipvs-bpf的网络模式需要满足以下条件:
	// 1. 集群版本必须为1.14及以上;
	// 2. 系统镜像必须是: Tencent Linux 2.4;
	KubeProxyMode *string `json:"KubeProxyMode,omitnil,omitempty" name:"KubeProxyMode"`

	// 是否开启审计开关
	AuditEnabled *bool `json:"AuditEnabled,omitnil,omitempty" name:"AuditEnabled"`

	// 审计日志上传到的logset日志集
	AuditLogsetId *string `json:"AuditLogsetId,omitnil,omitempty" name:"AuditLogsetId"`

	// 审计日志上传到的topic
	AuditLogTopicId *string `json:"AuditLogTopicId,omitnil,omitempty" name:"AuditLogTopicId"`

	// 区分共享网卡多IP模式和独立网卡模式,共享网卡多 IP 模式填写"tke-route-eni",独立网卡模式填写"tke-direct-eni",默认为共享网卡模式
	VpcCniType *string `json:"VpcCniType,omitnil,omitempty" name:"VpcCniType"`

	// 运行时版本
	RuntimeVersion *string `json:"RuntimeVersion,omitnil,omitempty" name:"RuntimeVersion"`

	// 是否开节点podCIDR大小的自定义模式
	EnableCustomizedPodCIDR *bool `json:"EnableCustomizedPodCIDR,omitnil,omitempty" name:"EnableCustomizedPodCIDR"`

	// 自定义模式下的基础pod数量
	BasePodNumber *int64 `json:"BasePodNumber,omitnil,omitempty" name:"BasePodNumber"`

	// 启用 CiliumMode 的模式,空值表示不启用,“clusterIP” 表示启用 Cilium 支持 ClusterIP
	CiliumMode *string `json:"CiliumMode,omitnil,omitempty" name:"CiliumMode"`

	// 集群VPC-CNI模式下是否是双栈集群,默认false,表明非双栈集群。
	IsDualStack *bool `json:"IsDualStack,omitnil,omitempty" name:"IsDualStack"`

	// 是否开启QGPU共享
	QGPUShareEnable *bool `json:"QGPUShareEnable,omitnil,omitempty" name:"QGPUShareEnable"`
}

type ClusterAsGroup

type ClusterAsGroup struct {
	// 伸缩组ID
	AutoScalingGroupId *string `json:"AutoScalingGroupId,omitnil,omitempty" name:"AutoScalingGroupId"`

	// 伸缩组状态(开启 enabled 开启中 enabling 关闭 disabled 关闭中 disabling 更新中 updating 删除中 deleting 开启缩容中 scaleDownEnabling 关闭缩容中 scaleDownDisabling)
	Status *string `json:"Status,omitnil,omitempty" name:"Status"`

	// 节点是否设置成不可调度
	// 注意:此字段可能返回 null,表示取不到有效值。
	IsUnschedulable *bool `json:"IsUnschedulable,omitnil,omitempty" name:"IsUnschedulable"`

	// 伸缩组的label列表
	// 注意:此字段可能返回 null,表示取不到有效值。
	Labels []*Label `json:"Labels,omitnil,omitempty" name:"Labels"`

	// 创建时间
	CreatedTime *string `json:"CreatedTime,omitnil,omitempty" name:"CreatedTime"`
}

type ClusterAsGroupAttribute

type ClusterAsGroupAttribute struct {
	// 伸缩组ID
	AutoScalingGroupId *string `json:"AutoScalingGroupId,omitnil,omitempty" name:"AutoScalingGroupId"`

	// 是否开启
	AutoScalingGroupEnabled *bool `json:"AutoScalingGroupEnabled,omitnil,omitempty" name:"AutoScalingGroupEnabled"`

	// 伸缩组最大最小实例数
	AutoScalingGroupRange *AutoScalingGroupRange `json:"AutoScalingGroupRange,omitnil,omitempty" name:"AutoScalingGroupRange"`
}

type ClusterAsGroupOption

type ClusterAsGroupOption struct {
	// 是否开启缩容
	// 注意:此字段可能返回 null,表示取不到有效值。
	IsScaleDownEnabled *bool `json:"IsScaleDownEnabled,omitnil,omitempty" name:"IsScaleDownEnabled"`

	// 多伸缩组情况下扩容选择算法(random 随机选择,most-pods 最多类型的Pod least-waste 最少的资源浪费,默认为random)
	// 注意:此字段可能返回 null,表示取不到有效值。
	Expander *string `json:"Expander,omitnil,omitempty" name:"Expander"`

	// 最大并发缩容数
	// 注意:此字段可能返回 null,表示取不到有效值。
	MaxEmptyBulkDelete *int64 `json:"MaxEmptyBulkDelete,omitnil,omitempty" name:"MaxEmptyBulkDelete"`

	// 集群扩容后多少分钟开始判断缩容(默认为10分钟)
	// 注意:此字段可能返回 null,表示取不到有效值。
	ScaleDownDelay *int64 `json:"ScaleDownDelay,omitnil,omitempty" name:"ScaleDownDelay"`

	// 节点连续空闲多少分钟后被缩容(默认为 10分钟)
	// 注意:此字段可能返回 null,表示取不到有效值。
	ScaleDownUnneededTime *int64 `json:"ScaleDownUnneededTime,omitnil,omitempty" name:"ScaleDownUnneededTime"`

	// 节点资源使用量低于多少(百分比)时认为空闲(默认: 50(百分比))
	// 注意:此字段可能返回 null,表示取不到有效值。
	ScaleDownUtilizationThreshold *int64 `json:"ScaleDownUtilizationThreshold,omitnil,omitempty" name:"ScaleDownUtilizationThreshold"`

	// 含有本地存储Pod的节点是否不缩容(默认: true)
	// 注意:此字段可能返回 null,表示取不到有效值。
	SkipNodesWithLocalStorage *bool `json:"SkipNodesWithLocalStorage,omitnil,omitempty" name:"SkipNodesWithLocalStorage"`

	// 含有kube-system namespace下非DaemonSet管理的Pod的节点是否不缩容 (默认: true)
	// 注意:此字段可能返回 null,表示取不到有效值。
	SkipNodesWithSystemPods *bool `json:"SkipNodesWithSystemPods,omitnil,omitempty" name:"SkipNodesWithSystemPods"`

	// 计算资源使用量时是否默认忽略DaemonSet的实例(默认值: False,不忽略)
	// 注意:此字段可能返回 null,表示取不到有效值。
	IgnoreDaemonSetsUtilization *bool `json:"IgnoreDaemonSetsUtilization,omitnil,omitempty" name:"IgnoreDaemonSetsUtilization"`

	// CA做健康性判断的个数,默认3,即超过OkTotalUnreadyCount个数后,CA会进行健康性判断。
	// 注意:此字段可能返回 null,表示取不到有效值。
	OkTotalUnreadyCount *int64 `json:"OkTotalUnreadyCount,omitnil,omitempty" name:"OkTotalUnreadyCount"`

	// 未就绪节点的最大百分比,此后CA会停止操作
	// 注意:此字段可能返回 null,表示取不到有效值。
	MaxTotalUnreadyPercentage *int64 `json:"MaxTotalUnreadyPercentage,omitnil,omitempty" name:"MaxTotalUnreadyPercentage"`

	// 表示未准备就绪的节点在有资格进行缩减之前应该停留多长时间
	// 注意:此字段可能返回 null,表示取不到有效值。
	ScaleDownUnreadyTime *int64 `json:"ScaleDownUnreadyTime,omitnil,omitempty" name:"ScaleDownUnreadyTime"`

	// CA删除未在Kubernetes中注册的节点之前等待的时间
	// 注意:此字段可能返回 null,表示取不到有效值。
	UnregisteredNodeRemovalTime *int64 `json:"UnregisteredNodeRemovalTime,omitnil,omitempty" name:"UnregisteredNodeRemovalTime"`
}

type ClusterBasicSettings

type ClusterBasicSettings struct {
	// 集群操作系统,支持设置公共镜像(字段传相应镜像Name)和自定义镜像(字段传相应镜像ID),详情参考:https://cloud.tencent.com/document/product/457/68289
	ClusterOs *string `json:"ClusterOs,omitnil,omitempty" name:"ClusterOs"`

	// 集群版本,默认值为1.10.5
	ClusterVersion *string `json:"ClusterVersion,omitnil,omitempty" name:"ClusterVersion"`

	// 集群名称
	ClusterName *string `json:"ClusterName,omitnil,omitempty" name:"ClusterName"`

	// 集群描述
	ClusterDescription *string `json:"ClusterDescription,omitnil,omitempty" name:"ClusterDescription"`

	// 私有网络ID,形如vpc-xxx。创建托管空集群时必传。
	VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"`

	// 集群内新增资源所属项目ID。
	ProjectId *int64 `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// 标签描述列表。通过指定该参数可以同时绑定标签到相应的资源实例,当前仅支持绑定标签到集群实例。
	TagSpecification []*TagSpecification `json:"TagSpecification,omitnil,omitempty" name:"TagSpecification"`

	// 容器的镜像版本,"DOCKER_CUSTOMIZE"(容器定制版),"GENERAL"(普通版本,默认值)
	OsCustomizeType *string `json:"OsCustomizeType,omitnil,omitempty" name:"OsCustomizeType"`

	// 是否开启节点的默认安全组(默认: 否,Alpha特性)
	NeedWorkSecurityGroup *bool `json:"NeedWorkSecurityGroup,omitnil,omitempty" name:"NeedWorkSecurityGroup"`

	// 当选择Cilium Overlay网络插件时,TKE会从该子网获取2个IP用来创建内网负载均衡
	SubnetId *string `json:"SubnetId,omitnil,omitempty" name:"SubnetId"`

	// 集群等级,针对托管集群生效
	ClusterLevel *string `json:"ClusterLevel,omitnil,omitempty" name:"ClusterLevel"`

	// 自动变配集群等级,针对托管集群生效
	AutoUpgradeClusterLevel *AutoUpgradeClusterLevel `json:"AutoUpgradeClusterLevel,omitnil,omitempty" name:"AutoUpgradeClusterLevel"`
}

type ClusterCIDRSettings

type ClusterCIDRSettings struct {
	// 用于分配集群容器和服务 IP 的 CIDR,不得与 VPC CIDR 冲突,也不得与同 VPC 内其他集群 CIDR 冲突。且网段范围必须在内网网段内,例如:10.1.0.0/14, 192.168.0.1/18,172.16.0.0/16。
	ClusterCIDR *string `json:"ClusterCIDR,omitnil,omitempty" name:"ClusterCIDR"`

	// 是否忽略 ClusterCIDR 冲突错误, 默认不忽略
	IgnoreClusterCIDRConflict *bool `json:"IgnoreClusterCIDRConflict,omitnil,omitempty" name:"IgnoreClusterCIDRConflict"`

	// 集群中每个Node上最大的Pod数量。取值范围16~256。不为2的幂值时会向上取最接近的2的幂值。
	MaxNodePodNum *uint64 `json:"MaxNodePodNum,omitnil,omitempty" name:"MaxNodePodNum"`

	// 集群最大的service数量。取值范围32~32768,不为2的幂值时会向上取最接近的2的幂值。默认值256
	MaxClusterServiceNum *uint64 `json:"MaxClusterServiceNum,omitnil,omitempty" name:"MaxClusterServiceNum"`

	// 用于分配集群服务 IP 的 CIDR,不得与 VPC CIDR 冲突,也不得与同 VPC 内其他集群 CIDR 冲突。且网段范围必须在内网网段内,例如:10.1.0.0/14, 192.168.0.1/18,172.16.0.0/16。
	ServiceCIDR *string `json:"ServiceCIDR,omitnil,omitempty" name:"ServiceCIDR"`

	// VPC-CNI网络模式下,弹性网卡的子网Id。
	EniSubnetIds []*string `json:"EniSubnetIds,omitnil,omitempty" name:"EniSubnetIds"`

	// VPC-CNI网络模式下,弹性网卡IP的回收时间,取值范围[300,15768000)
	ClaimExpiredSeconds *int64 `json:"ClaimExpiredSeconds,omitnil,omitempty" name:"ClaimExpiredSeconds"`

	// 是否忽略 ServiceCIDR 冲突错误, 仅在 VPC-CNI 模式生效,默认不忽略
	IgnoreServiceCIDRConflict *bool `json:"IgnoreServiceCIDRConflict,omitnil,omitempty" name:"IgnoreServiceCIDRConflict"`
}

type ClusterCondition added in v1.0.412

type ClusterCondition struct {
	// 集群创建过程类型
	Type *string `json:"Type,omitnil,omitempty" name:"Type"`

	// 集群创建过程状态
	Status *string `json:"Status,omitnil,omitempty" name:"Status"`

	// 最后一次探测到该状态的时间
	// 注意:此字段可能返回 null,表示取不到有效值。
	LastProbeTime *string `json:"LastProbeTime,omitnil,omitempty" name:"LastProbeTime"`

	// 最后一次转换到该过程的时间
	// 注意:此字段可能返回 null,表示取不到有效值。
	LastTransitionTime *string `json:"LastTransitionTime,omitnil,omitempty" name:"LastTransitionTime"`

	// 转换到该过程的简明原因
	// 注意:此字段可能返回 null,表示取不到有效值。
	Reason *string `json:"Reason,omitnil,omitempty" name:"Reason"`

	// 转换到该过程的更多信息
	// 注意:此字段可能返回 null,表示取不到有效值。
	Message *string `json:"Message,omitnil,omitempty" name:"Message"`
}

type ClusterCredential

type ClusterCredential struct {
	// CA 根证书
	CACert *string `json:"CACert,omitnil,omitempty" name:"CACert"`

	// 认证用的Token
	Token *string `json:"Token,omitnil,omitempty" name:"Token"`
}

type ClusterExtraArgs

type ClusterExtraArgs struct {
	// kube-apiserver自定义参数,参数格式为["k1=v1", "k1=v2"], 例如["max-requests-inflight=500","feature-gates=PodShareProcessNamespace=true,DynamicKubeletConfig=true"]
	// 注意:此字段可能返回 null,表示取不到有效值。
	KubeAPIServer []*string `json:"KubeAPIServer,omitnil,omitempty" name:"KubeAPIServer"`

	// kube-controller-manager自定义参数
	// 注意:此字段可能返回 null,表示取不到有效值。
	KubeControllerManager []*string `json:"KubeControllerManager,omitnil,omitempty" name:"KubeControllerManager"`

	// kube-scheduler自定义参数
	// 注意:此字段可能返回 null,表示取不到有效值。
	KubeScheduler []*string `json:"KubeScheduler,omitnil,omitempty" name:"KubeScheduler"`

	// etcd自定义参数,只支持独立集群
	// 注意:此字段可能返回 null,表示取不到有效值。
	Etcd []*string `json:"Etcd,omitnil,omitempty" name:"Etcd"`
}

type ClusterInternalLB

type ClusterInternalLB struct {
	// 是否开启内网访问LB
	Enabled *bool `json:"Enabled,omitnil,omitempty" name:"Enabled"`

	// 内网访问LB关联的子网Id
	SubnetId *string `json:"SubnetId,omitnil,omitempty" name:"SubnetId"`
}

type ClusterLevelAttribute added in v1.0.378

type ClusterLevelAttribute struct {
	// 集群等级
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// 等级名称
	Alias *string `json:"Alias,omitnil,omitempty" name:"Alias"`

	// 节点数量
	NodeCount *uint64 `json:"NodeCount,omitnil,omitempty" name:"NodeCount"`

	// Pod数量
	PodCount *uint64 `json:"PodCount,omitnil,omitempty" name:"PodCount"`

	// Configmap数量
	ConfigMapCount *uint64 `json:"ConfigMapCount,omitnil,omitempty" name:"ConfigMapCount"`

	// ReplicaSets数量
	RSCount *uint64 `json:"RSCount,omitnil,omitempty" name:"RSCount"`

	// CRD数量
	CRDCount *uint64 `json:"CRDCount,omitnil,omitempty" name:"CRDCount"`

	// 是否启用
	Enable *bool `json:"Enable,omitnil,omitempty" name:"Enable"`

	// 其他资源数量
	// 注意:此字段可能返回 null,表示取不到有效值。
	OtherCount *uint64 `json:"OtherCount,omitnil,omitempty" name:"OtherCount"`
}

type ClusterLevelChangeRecord added in v1.0.378

type ClusterLevelChangeRecord struct {
	// 记录ID
	ID *string `json:"ID,omitnil,omitempty" name:"ID"`

	// 集群ID
	ClusterID *string `json:"ClusterID,omitnil,omitempty" name:"ClusterID"`

	// 变配状态:trading 发货中,upgrading 变配中,success 变配成功,failed 变配失败。
	Status *string `json:"Status,omitnil,omitempty" name:"Status"`

	// 状态描述
	Message *string `json:"Message,omitnil,omitempty" name:"Message"`

	// 变配前规模
	OldLevel *string `json:"OldLevel,omitnil,omitempty" name:"OldLevel"`

	// 变配后规模
	NewLevel *string `json:"NewLevel,omitnil,omitempty" name:"NewLevel"`

	// 变配触发类型:manual 手动,auto 自动
	TriggerType *string `json:"TriggerType,omitnil,omitempty" name:"TriggerType"`

	// 创建时间
	CreatedAt *string `json:"CreatedAt,omitnil,omitempty" name:"CreatedAt"`

	// 开始时间
	StartedAt *string `json:"StartedAt,omitnil,omitempty" name:"StartedAt"`

	// 结束时间
	EndedAt *string `json:"EndedAt,omitnil,omitempty" name:"EndedAt"`
}

type ClusterNetworkSettings

type ClusterNetworkSettings struct {
	// 用于分配集群容器和服务 IP 的 CIDR,不得与 VPC CIDR 冲突,也不得与同 VPC 内其他集群 CIDR 冲突
	ClusterCIDR *string `json:"ClusterCIDR,omitnil,omitempty" name:"ClusterCIDR"`

	// 是否忽略 ClusterCIDR 冲突错误, 默认不忽略
	IgnoreClusterCIDRConflict *bool `json:"IgnoreClusterCIDRConflict,omitnil,omitempty" name:"IgnoreClusterCIDRConflict"`

	// 集群中每个Node上最大的Pod数量(默认为256)
	MaxNodePodNum *uint64 `json:"MaxNodePodNum,omitnil,omitempty" name:"MaxNodePodNum"`

	// 集群最大的service数量(默认为256)
	MaxClusterServiceNum *uint64 `json:"MaxClusterServiceNum,omitnil,omitempty" name:"MaxClusterServiceNum"`

	// 是否启用IPVS(默认不开启)
	Ipvs *bool `json:"Ipvs,omitnil,omitempty" name:"Ipvs"`

	// 集群的VPCID(如果创建空集群,为必传值,否则自动设置为和集群的节点保持一致)
	VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"`

	// 网络插件是否启用CNI(默认开启)
	Cni *bool `json:"Cni,omitnil,omitempty" name:"Cni"`

	// service的网络模式,当前参数只适用于ipvs+bpf模式
	// 注意:此字段可能返回 null,表示取不到有效值。
	KubeProxyMode *string `json:"KubeProxyMode,omitnil,omitempty" name:"KubeProxyMode"`

	// 用于分配service的IP range,不得与 VPC CIDR 冲突,也不得与同 VPC 内其他集群 CIDR 冲突
	// 注意:此字段可能返回 null,表示取不到有效值。
	ServiceCIDR *string `json:"ServiceCIDR,omitnil,omitempty" name:"ServiceCIDR"`

	// 集群关联的容器子网
	// 注意:此字段可能返回 null,表示取不到有效值。
	Subnets []*string `json:"Subnets,omitnil,omitempty" name:"Subnets"`

	// 是否忽略 ServiceCIDR 冲突错误, 仅在 VPC-CNI 模式生效,默认不忽略
	// 注意:此字段可能返回 null,表示取不到有效值。
	IgnoreServiceCIDRConflict *bool `json:"IgnoreServiceCIDRConflict,omitnil,omitempty" name:"IgnoreServiceCIDRConflict"`

	// 集群VPC-CNI模式是否为非双栈集群,默认false,非双栈。
	// 注意:此字段可能返回 null,表示取不到有效值。
	IsDualStack *bool `json:"IsDualStack,omitnil,omitempty" name:"IsDualStack"`

	// 用于分配service的IP range,由系统自动分配
	// 注意:此字段可能返回 null,表示取不到有效值。
	Ipv6ServiceCIDR *string `json:"Ipv6ServiceCIDR,omitnil,omitempty" name:"Ipv6ServiceCIDR"`

	// 集群Cilium Mode配置
	// - clusterIP
	// 注意:此字段可能返回 null,表示取不到有效值。
	CiliumMode *string `json:"CiliumMode,omitnil,omitempty" name:"CiliumMode"`
}

type ClusterProperty added in v1.0.716

type ClusterProperty struct {
	// 节点hostname命名模式
	// 注意:此字段可能返回 null,表示取不到有效值。
	NodeNameType *string `json:"NodeNameType,omitnil,omitempty" name:"NodeNameType"`
}

type ClusterPublicLB

type ClusterPublicLB struct {
	// 是否开启公网访问LB
	Enabled *bool `json:"Enabled,omitnil,omitempty" name:"Enabled"`

	// 允许访问的来源CIDR列表
	AllowFromCidrs []*string `json:"AllowFromCidrs,omitnil,omitempty" name:"AllowFromCidrs"`

	// 安全策略放通单个IP或CIDR(例如: "192.168.1.0/24",默认为拒绝所有)
	SecurityPolicies []*string `json:"SecurityPolicies,omitnil,omitempty" name:"SecurityPolicies"`

	// 外网访问相关的扩展参数,格式为json
	ExtraParam *string `json:"ExtraParam,omitnil,omitempty" name:"ExtraParam"`

	// 新内外网功能,需要传递安全组
	SecurityGroup *string `json:"SecurityGroup,omitnil,omitempty" name:"SecurityGroup"`
}

type ClusterStatus added in v1.0.336

type ClusterStatus struct {
	// 集群Id
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// 集群状态
	ClusterState *string `json:"ClusterState,omitnil,omitempty" name:"ClusterState"`

	// 集群下机器实例的状态
	ClusterInstanceState *string `json:"ClusterInstanceState,omitnil,omitempty" name:"ClusterInstanceState"`

	// 集群是否开启监控
	ClusterBMonitor *bool `json:"ClusterBMonitor,omitnil,omitempty" name:"ClusterBMonitor"`

	// 集群创建中的节点数,-1表示获取节点状态超时,-2表示获取节点状态失败
	ClusterInitNodeNum *int64 `json:"ClusterInitNodeNum,omitnil,omitempty" name:"ClusterInitNodeNum"`

	// 集群运行中的节点数,-1表示获取节点状态超时,-2表示获取节点状态失败
	ClusterRunningNodeNum *int64 `json:"ClusterRunningNodeNum,omitnil,omitempty" name:"ClusterRunningNodeNum"`

	// 集群异常的节点数,-1表示获取节点状态超时,-2表示获取节点状态失败
	ClusterFailedNodeNum *int64 `json:"ClusterFailedNodeNum,omitnil,omitempty" name:"ClusterFailedNodeNum"`

	// 集群已关机的节点数,-1表示获取节点状态超时,-2表示获取节点状态失败
	// 注意:此字段可能返回 null,表示取不到有效值。
	ClusterClosedNodeNum *int64 `json:"ClusterClosedNodeNum,omitnil,omitempty" name:"ClusterClosedNodeNum"`

	// 集群关机中的节点数,-1表示获取节点状态超时,-2表示获取节点状态失败
	// 注意:此字段可能返回 null,表示取不到有效值。
	ClusterClosingNodeNum *int64 `json:"ClusterClosingNodeNum,omitnil,omitempty" name:"ClusterClosingNodeNum"`

	// 集群是否开启删除保护
	// 注意:此字段可能返回 null,表示取不到有效值。
	ClusterDeletionProtection *bool `json:"ClusterDeletionProtection,omitnil,omitempty" name:"ClusterDeletionProtection"`

	// 集群是否可审计
	// 注意:此字段可能返回 null,表示取不到有效值。
	ClusterAuditEnabled *bool `json:"ClusterAuditEnabled,omitnil,omitempty" name:"ClusterAuditEnabled"`
}

type ClusterVersion

type ClusterVersion struct {
	// 集群ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// 集群主版本号列表,例如1.18.4
	Versions []*string `json:"Versions,omitnil,omitempty" name:"Versions"`
}

type CommonName

type CommonName struct {
	// 子账户UIN
	SubaccountUin *string `json:"SubaccountUin,omitnil,omitempty" name:"SubaccountUin"`

	// 子账户客户端证书中的CommonName字段
	CN *string `json:"CN,omitnil,omitempty" name:"CN"`
}

type Container added in v1.0.254

type Container struct {
	// 镜像
	Image *string `json:"Image,omitnil,omitempty" name:"Image"`

	// 容器名
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// 容器启动命令
	Commands []*string `json:"Commands,omitnil,omitempty" name:"Commands"`

	// 容器启动参数
	Args []*string `json:"Args,omitnil,omitempty" name:"Args"`

	// 容器内操作系统的环境变量
	EnvironmentVars []*EnvironmentVariable `json:"EnvironmentVars,omitnil,omitempty" name:"EnvironmentVars"`

	// CPU,制改容器最多可使用的核数,该值不可超过容器实例的总核数。单位:核。
	Cpu *float64 `json:"Cpu,omitnil,omitempty" name:"Cpu"`

	// 内存,限制该容器最多可使用的内存值,该值不可超过容器实例的总内存值。单位:GiB
	Memory *float64 `json:"Memory,omitnil,omitempty" name:"Memory"`

	// 数据卷挂载信息
	// 注意:此字段可能返回 null,表示取不到有效值。
	VolumeMounts []*VolumeMount `json:"VolumeMounts,omitnil,omitempty" name:"VolumeMounts"`

	// 当前状态
	// 注意:此字段可能返回 null,表示取不到有效值。
	CurrentState *ContainerState `json:"CurrentState,omitnil,omitempty" name:"CurrentState"`

	// 重启次数
	// 注意:此字段可能返回 null,表示取不到有效值。
	RestartCount *uint64 `json:"RestartCount,omitnil,omitempty" name:"RestartCount"`

	// 容器工作目录
	// 注意:此字段可能返回 null,表示取不到有效值。
	WorkingDir *string `json:"WorkingDir,omitnil,omitempty" name:"WorkingDir"`

	// 存活探针
	// 注意:此字段可能返回 null,表示取不到有效值。
	LivenessProbe *LivenessOrReadinessProbe `json:"LivenessProbe,omitnil,omitempty" name:"LivenessProbe"`

	// 就绪探针
	// 注意:此字段可能返回 null,表示取不到有效值。
	ReadinessProbe *LivenessOrReadinessProbe `json:"ReadinessProbe,omitnil,omitempty" name:"ReadinessProbe"`

	// Gpu限制
	// 注意:此字段可能返回 null,表示取不到有效值。
	GpuLimit *uint64 `json:"GpuLimit,omitnil,omitempty" name:"GpuLimit"`

	// 容器的安全上下文
	// 注意:此字段可能返回 null,表示取不到有效值。
	SecurityContext *SecurityContext `json:"SecurityContext,omitnil,omitempty" name:"SecurityContext"`
}

type ContainerState added in v1.0.254

type ContainerState struct {
	// 容器运行开始时间
	// 注意:此字段可能返回 null,表示取不到有效值。
	StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// 容器状态:created, running, exited, unknown
	State *string `json:"State,omitnil,omitempty" name:"State"`

	// 容器运行结束时间
	// 注意:此字段可能返回 null,表示取不到有效值。
	FinishTime *string `json:"FinishTime,omitnil,omitempty" name:"FinishTime"`

	// 容器运行退出码
	// 注意:此字段可能返回 null,表示取不到有效值。
	ExitCode *int64 `json:"ExitCode,omitnil,omitempty" name:"ExitCode"`

	// 容器状态 Reason
	// 注意:此字段可能返回 null,表示取不到有效值。
	Reason *string `json:"Reason,omitnil,omitempty" name:"Reason"`

	// 容器状态信息
	// 注意:此字段可能返回 null,表示取不到有效值。
	Message *string `json:"Message,omitnil,omitempty" name:"Message"`

	// 容器重启次数
	// 注意:此字段可能返回 null,表示取不到有效值。
	RestartCount *int64 `json:"RestartCount,omitnil,omitempty" name:"RestartCount"`
}

type ControllerStatus added in v1.0.193

type ControllerStatus struct {
	// 控制器的名字
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// 控制器是否开启
	Enabled *bool `json:"Enabled,omitnil,omitempty" name:"Enabled"`
}

type CreateBackupStorageLocationRequest added in v1.0.644

type CreateBackupStorageLocationRequest struct {
	*tchttp.BaseRequest

	// 存储仓库所属地域,比如COS广州(ap-guangzhou)
	StorageRegion *string `json:"StorageRegion,omitnil,omitempty" name:"StorageRegion"`

	// 对象存储桶名称,如果是COS必须是tke-backup前缀开头
	Bucket *string `json:"Bucket,omitnil,omitempty" name:"Bucket"`

	// 备份仓库名称
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// 存储服务提供方,默认腾讯云
	Provider *string `json:"Provider,omitnil,omitempty" name:"Provider"`

	// 对象存储桶路径
	Path *string `json:"Path,omitnil,omitempty" name:"Path"`
}

func NewCreateBackupStorageLocationRequest added in v1.0.644

func NewCreateBackupStorageLocationRequest() (request *CreateBackupStorageLocationRequest)

func (*CreateBackupStorageLocationRequest) FromJsonString added in v1.0.644

func (r *CreateBackupStorageLocationRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateBackupStorageLocationRequest) ToJsonString added in v1.0.644

func (r *CreateBackupStorageLocationRequest) ToJsonString() string

type CreateBackupStorageLocationRequestParams added in v1.0.644

type CreateBackupStorageLocationRequestParams struct {
	// 存储仓库所属地域,比如COS广州(ap-guangzhou)
	StorageRegion *string `json:"StorageRegion,omitnil,omitempty" name:"StorageRegion"`

	// 对象存储桶名称,如果是COS必须是tke-backup前缀开头
	Bucket *string `json:"Bucket,omitnil,omitempty" name:"Bucket"`

	// 备份仓库名称
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// 存储服务提供方,默认腾讯云
	Provider *string `json:"Provider,omitnil,omitempty" name:"Provider"`

	// 对象存储桶路径
	Path *string `json:"Path,omitnil,omitempty" name:"Path"`
}

Predefined struct for user

type CreateBackupStorageLocationResponse added in v1.0.644

type CreateBackupStorageLocationResponse struct {
	*tchttp.BaseResponse
	Response *CreateBackupStorageLocationResponseParams `json:"Response"`
}

func NewCreateBackupStorageLocationResponse added in v1.0.644

func NewCreateBackupStorageLocationResponse() (response *CreateBackupStorageLocationResponse)

func (*CreateBackupStorageLocationResponse) FromJsonString added in v1.0.644

func (r *CreateBackupStorageLocationResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateBackupStorageLocationResponse) ToJsonString added in v1.0.644

func (r *CreateBackupStorageLocationResponse) ToJsonString() string

type CreateBackupStorageLocationResponseParams added in v1.0.644

type CreateBackupStorageLocationResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type CreateCLSLogConfigRequest added in v1.0.816

type CreateCLSLogConfigRequest struct {
	*tchttp.BaseRequest

	// 日志采集配置的json表达
	LogConfig *string `json:"LogConfig,omitnil,omitempty" name:"LogConfig"`

	// 集群ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// CLS日志集ID
	LogsetId *string `json:"LogsetId,omitnil,omitempty" name:"LogsetId"`

	// 当前集群类型支持tke、eks
	ClusterType *string `json:"ClusterType,omitnil,omitempty" name:"ClusterType"`
}

func NewCreateCLSLogConfigRequest added in v1.0.816

func NewCreateCLSLogConfigRequest() (request *CreateCLSLogConfigRequest)

func (*CreateCLSLogConfigRequest) FromJsonString added in v1.0.816

func (r *CreateCLSLogConfigRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateCLSLogConfigRequest) ToJsonString added in v1.0.816

func (r *CreateCLSLogConfigRequest) ToJsonString() string

type CreateCLSLogConfigRequestParams added in v1.0.816

type CreateCLSLogConfigRequestParams struct {
	// 日志采集配置的json表达
	LogConfig *string `json:"LogConfig,omitnil,omitempty" name:"LogConfig"`

	// 集群ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// CLS日志集ID
	LogsetId *string `json:"LogsetId,omitnil,omitempty" name:"LogsetId"`

	// 当前集群类型支持tke、eks
	ClusterType *string `json:"ClusterType,omitnil,omitempty" name:"ClusterType"`
}

Predefined struct for user

type CreateCLSLogConfigResponse added in v1.0.816

type CreateCLSLogConfigResponse struct {
	*tchttp.BaseResponse
	Response *CreateCLSLogConfigResponseParams `json:"Response"`
}

func NewCreateCLSLogConfigResponse added in v1.0.816

func NewCreateCLSLogConfigResponse() (response *CreateCLSLogConfigResponse)

func (*CreateCLSLogConfigResponse) FromJsonString added in v1.0.816

func (r *CreateCLSLogConfigResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateCLSLogConfigResponse) ToJsonString added in v1.0.816

func (r *CreateCLSLogConfigResponse) ToJsonString() string

type CreateCLSLogConfigResponseParams added in v1.0.816

type CreateCLSLogConfigResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type CreateClusterEndpointRequest

type CreateClusterEndpointRequest struct {
	*tchttp.BaseRequest

	// 集群ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// 集群端口所在的子网ID  (仅在开启非外网访问时需要填,必须为集群所在VPC内的子网)
	SubnetId *string `json:"SubnetId,omitnil,omitempty" name:"SubnetId"`

	// 是否为外网访问(TRUE 外网访问 FALSE 内网访问,默认值: FALSE)
	IsExtranet *bool `json:"IsExtranet,omitnil,omitempty" name:"IsExtranet"`

	// 设置域名
	Domain *string `json:"Domain,omitnil,omitempty" name:"Domain"`

	// 使用的安全组,只有外网访问需要传递(开启外网访问时必传)
	SecurityGroup *string `json:"SecurityGroup,omitnil,omitempty" name:"SecurityGroup"`

	// 创建lb参数,只有外网访问需要设置,是一个json格式化后的字符串:{"InternetAccessible":{"InternetChargeType":"TRAFFIC_POSTPAID_BY_HOUR","InternetMaxBandwidthOut":200},"VipIsp":"","BandwidthPackageId":""}。
	// 各个参数意义:
	// InternetAccessible.InternetChargeType含义:TRAFFIC_POSTPAID_BY_HOUR按流量按小时后计费;BANDWIDTH_POSTPAID_BY_HOUR 按带宽按小时后计费;InternetAccessible.BANDWIDTH_PACKAGE 按带宽包计费。
	// InternetMaxBandwidthOut含义:最大出带宽,单位Mbps,范围支持0到2048,默认值10。
	// VipIsp含义:CMCC | CTCC | CUCC,分别对应 移动 | 电信 | 联通,如果不指定本参数,则默认使用BGP。可通过 DescribeSingleIsp 接口查询一个地域所支持的Isp。如果指定运营商,则网络计费式只能使用按带宽包计费BANDWIDTH_PACKAGE。
	// BandwidthPackageId含义:带宽包ID,指定此参数时,网络计费方式InternetAccessible.InternetChargeType只支持按带宽包计费BANDWIDTH_PACKAGE。
	ExtensiveParameters *string `json:"ExtensiveParameters,omitnil,omitempty" name:"ExtensiveParameters"`
}

func NewCreateClusterEndpointRequest

func NewCreateClusterEndpointRequest() (request *CreateClusterEndpointRequest)

func (*CreateClusterEndpointRequest) FromJsonString

func (r *CreateClusterEndpointRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateClusterEndpointRequest) ToJsonString

func (r *CreateClusterEndpointRequest) ToJsonString() string

type CreateClusterEndpointRequestParams added in v1.0.426

type CreateClusterEndpointRequestParams struct {
	// 集群ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// 集群端口所在的子网ID  (仅在开启非外网访问时需要填,必须为集群所在VPC内的子网)
	SubnetId *string `json:"SubnetId,omitnil,omitempty" name:"SubnetId"`

	// 是否为外网访问(TRUE 外网访问 FALSE 内网访问,默认值: FALSE)
	IsExtranet *bool `json:"IsExtranet,omitnil,omitempty" name:"IsExtranet"`

	// 设置域名
	Domain *string `json:"Domain,omitnil,omitempty" name:"Domain"`

	// 使用的安全组,只有外网访问需要传递(开启外网访问时必传)
	SecurityGroup *string `json:"SecurityGroup,omitnil,omitempty" name:"SecurityGroup"`

	// 创建lb参数,只有外网访问需要设置,是一个json格式化后的字符串:{"InternetAccessible":{"InternetChargeType":"TRAFFIC_POSTPAID_BY_HOUR","InternetMaxBandwidthOut":200},"VipIsp":"","BandwidthPackageId":""}。
	// 各个参数意义:
	// InternetAccessible.InternetChargeType含义:TRAFFIC_POSTPAID_BY_HOUR按流量按小时后计费;BANDWIDTH_POSTPAID_BY_HOUR 按带宽按小时后计费;InternetAccessible.BANDWIDTH_PACKAGE 按带宽包计费。
	// InternetMaxBandwidthOut含义:最大出带宽,单位Mbps,范围支持0到2048,默认值10。
	// VipIsp含义:CMCC | CTCC | CUCC,分别对应 移动 | 电信 | 联通,如果不指定本参数,则默认使用BGP。可通过 DescribeSingleIsp 接口查询一个地域所支持的Isp。如果指定运营商,则网络计费式只能使用按带宽包计费BANDWIDTH_PACKAGE。
	// BandwidthPackageId含义:带宽包ID,指定此参数时,网络计费方式InternetAccessible.InternetChargeType只支持按带宽包计费BANDWIDTH_PACKAGE。
	ExtensiveParameters *string `json:"ExtensiveParameters,omitnil,omitempty" name:"ExtensiveParameters"`
}

Predefined struct for user

type CreateClusterEndpointResponse

type CreateClusterEndpointResponse struct {
	*tchttp.BaseResponse
	Response *CreateClusterEndpointResponseParams `json:"Response"`
}

func NewCreateClusterEndpointResponse

func NewCreateClusterEndpointResponse() (response *CreateClusterEndpointResponse)

func (*CreateClusterEndpointResponse) FromJsonString

func (r *CreateClusterEndpointResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateClusterEndpointResponse) ToJsonString

func (r *CreateClusterEndpointResponse) ToJsonString() string

type CreateClusterEndpointResponseParams added in v1.0.426

type CreateClusterEndpointResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type CreateClusterEndpointVipRequest

type CreateClusterEndpointVipRequest struct {
	*tchttp.BaseRequest

	// 集群ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// 安全策略放通单个IP或CIDR(例如: "192.168.1.0/24",默认为拒绝所有)
	SecurityPolicies []*string `json:"SecurityPolicies,omitnil,omitempty" name:"SecurityPolicies"`
}

func NewCreateClusterEndpointVipRequest

func NewCreateClusterEndpointVipRequest() (request *CreateClusterEndpointVipRequest)

func (*CreateClusterEndpointVipRequest) FromJsonString

func (r *CreateClusterEndpointVipRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateClusterEndpointVipRequest) ToJsonString

func (r *CreateClusterEndpointVipRequest) ToJsonString() string

type CreateClusterEndpointVipRequestParams added in v1.0.426

type CreateClusterEndpointVipRequestParams struct {
	// 集群ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// 安全策略放通单个IP或CIDR(例如: "192.168.1.0/24",默认为拒绝所有)
	SecurityPolicies []*string `json:"SecurityPolicies,omitnil,omitempty" name:"SecurityPolicies"`
}

Predefined struct for user

type CreateClusterEndpointVipResponse

type CreateClusterEndpointVipResponse struct {
	*tchttp.BaseResponse
	Response *CreateClusterEndpointVipResponseParams `json:"Response"`
}

func NewCreateClusterEndpointVipResponse

func NewCreateClusterEndpointVipResponse() (response *CreateClusterEndpointVipResponse)

func (*CreateClusterEndpointVipResponse) FromJsonString

func (r *CreateClusterEndpointVipResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateClusterEndpointVipResponse) ToJsonString

func (r *CreateClusterEndpointVipResponse) ToJsonString() string

type CreateClusterEndpointVipResponseParams added in v1.0.426

type CreateClusterEndpointVipResponseParams struct {
	// 请求任务的FlowId
	RequestFlowId *int64 `json:"RequestFlowId,omitnil,omitempty" name:"RequestFlowId"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type CreateClusterInstancesRequest

type CreateClusterInstancesRequest struct {
	*tchttp.BaseRequest

	// 集群 ID,请填写 查询集群列表 接口中返回的 clusterId 字段
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// CVM创建透传参数,json化字符串格式,如需要保证扩展集群节点请求幂等性需要在此参数添加ClientToken字段,详见[CVM创建实例](https://cloud.tencent.com/document/product/213/15730)接口。
	RunInstancePara *string `json:"RunInstancePara,omitnil,omitempty" name:"RunInstancePara"`

	// 实例额外需要设置参数信息
	InstanceAdvancedSettings *InstanceAdvancedSettings `json:"InstanceAdvancedSettings,omitnil,omitempty" name:"InstanceAdvancedSettings"`

	// 校验规则相关选项,可配置跳过某些校验规则。目前支持GlobalRouteCIDRCheck(跳过GlobalRouter的相关校验),VpcCniCIDRCheck(跳过VpcCni相关校验)
	SkipValidateOptions []*string `json:"SkipValidateOptions,omitnil,omitempty" name:"SkipValidateOptions"`
}

func NewCreateClusterInstancesRequest

func NewCreateClusterInstancesRequest() (request *CreateClusterInstancesRequest)

func (*CreateClusterInstancesRequest) FromJsonString

func (r *CreateClusterInstancesRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateClusterInstancesRequest) ToJsonString

func (r *CreateClusterInstancesRequest) ToJsonString() string

type CreateClusterInstancesRequestParams added in v1.0.426

type CreateClusterInstancesRequestParams struct {
	// 集群 ID,请填写 查询集群列表 接口中返回的 clusterId 字段
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// CVM创建透传参数,json化字符串格式,如需要保证扩展集群节点请求幂等性需要在此参数添加ClientToken字段,详见[CVM创建实例](https://cloud.tencent.com/document/product/213/15730)接口。
	RunInstancePara *string `json:"RunInstancePara,omitnil,omitempty" name:"RunInstancePara"`

	// 实例额外需要设置参数信息
	InstanceAdvancedSettings *InstanceAdvancedSettings `json:"InstanceAdvancedSettings,omitnil,omitempty" name:"InstanceAdvancedSettings"`

	// 校验规则相关选项,可配置跳过某些校验规则。目前支持GlobalRouteCIDRCheck(跳过GlobalRouter的相关校验),VpcCniCIDRCheck(跳过VpcCni相关校验)
	SkipValidateOptions []*string `json:"SkipValidateOptions,omitnil,omitempty" name:"SkipValidateOptions"`
}

Predefined struct for user

type CreateClusterInstancesResponse

type CreateClusterInstancesResponse struct {
	*tchttp.BaseResponse
	Response *CreateClusterInstancesResponseParams `json:"Response"`
}

func NewCreateClusterInstancesResponse

func NewCreateClusterInstancesResponse() (response *CreateClusterInstancesResponse)

func (*CreateClusterInstancesResponse) FromJsonString

func (r *CreateClusterInstancesResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateClusterInstancesResponse) ToJsonString

func (r *CreateClusterInstancesResponse) ToJsonString() string

type CreateClusterInstancesResponseParams added in v1.0.426

type CreateClusterInstancesResponseParams struct {
	// 节点实例ID
	InstanceIdSet []*string `json:"InstanceIdSet,omitnil,omitempty" name:"InstanceIdSet"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type CreateClusterNodePoolRequest

type CreateClusterNodePoolRequest struct {
	*tchttp.BaseRequest

	// cluster id
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// AutoScalingGroupPara AS组参数,参考 https://cloud.tencent.com/document/product/377/20440
	AutoScalingGroupPara *string `json:"AutoScalingGroupPara,omitnil,omitempty" name:"AutoScalingGroupPara"`

	// LaunchConfigurePara 运行参数,参考 https://cloud.tencent.com/document/product/377/20447
	LaunchConfigurePara *string `json:"LaunchConfigurePara,omitnil,omitempty" name:"LaunchConfigurePara"`

	// InstanceAdvancedSettings
	InstanceAdvancedSettings *InstanceAdvancedSettings `json:"InstanceAdvancedSettings,omitnil,omitempty" name:"InstanceAdvancedSettings"`

	// 是否启用自动伸缩
	EnableAutoscale *bool `json:"EnableAutoscale,omitnil,omitempty" name:"EnableAutoscale"`

	// 节点池名称
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// Labels标签
	Labels []*Label `json:"Labels,omitnil,omitempty" name:"Labels"`

	// Taints互斥
	Taints []*Taint `json:"Taints,omitnil,omitempty" name:"Taints"`

	// 节点Annotation 列表
	Annotations []*AnnotationValue `json:"Annotations,omitnil,omitempty" name:"Annotations"`

	// 节点池纬度运行时类型及版本
	ContainerRuntime *string `json:"ContainerRuntime,omitnil,omitempty" name:"ContainerRuntime"`

	// 运行时版本
	RuntimeVersion *string `json:"RuntimeVersion,omitnil,omitempty" name:"RuntimeVersion"`

	// 节点池os,当为自定义镜像时,传镜像id;否则为公共镜像的osName
	NodePoolOs *string `json:"NodePoolOs,omitnil,omitempty" name:"NodePoolOs"`

	// 容器的镜像版本,"DOCKER_CUSTOMIZE"(容器定制版),"GENERAL"(普通版本,默认值)
	OsCustomizeType *string `json:"OsCustomizeType,omitnil,omitempty" name:"OsCustomizeType"`

	// 资源标签
	Tags []*Tag `json:"Tags,omitnil,omitempty" name:"Tags"`

	// 删除保护开关
	DeletionProtection *bool `json:"DeletionProtection,omitnil,omitempty" name:"DeletionProtection"`
}

func NewCreateClusterNodePoolRequest

func NewCreateClusterNodePoolRequest() (request *CreateClusterNodePoolRequest)

func (*CreateClusterNodePoolRequest) FromJsonString

func (r *CreateClusterNodePoolRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateClusterNodePoolRequest) ToJsonString

func (r *CreateClusterNodePoolRequest) ToJsonString() string

type CreateClusterNodePoolRequestParams added in v1.0.426

type CreateClusterNodePoolRequestParams struct {
	// cluster id
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// AutoScalingGroupPara AS组参数,参考 https://cloud.tencent.com/document/product/377/20440
	AutoScalingGroupPara *string `json:"AutoScalingGroupPara,omitnil,omitempty" name:"AutoScalingGroupPara"`

	// LaunchConfigurePara 运行参数,参考 https://cloud.tencent.com/document/product/377/20447
	LaunchConfigurePara *string `json:"LaunchConfigurePara,omitnil,omitempty" name:"LaunchConfigurePara"`

	// InstanceAdvancedSettings
	InstanceAdvancedSettings *InstanceAdvancedSettings `json:"InstanceAdvancedSettings,omitnil,omitempty" name:"InstanceAdvancedSettings"`

	// 是否启用自动伸缩
	EnableAutoscale *bool `json:"EnableAutoscale,omitnil,omitempty" name:"EnableAutoscale"`

	// 节点池名称
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// Labels标签
	Labels []*Label `json:"Labels,omitnil,omitempty" name:"Labels"`

	// Taints互斥
	Taints []*Taint `json:"Taints,omitnil,omitempty" name:"Taints"`

	// 节点Annotation 列表
	Annotations []*AnnotationValue `json:"Annotations,omitnil,omitempty" name:"Annotations"`

	// 节点池纬度运行时类型及版本
	ContainerRuntime *string `json:"ContainerRuntime,omitnil,omitempty" name:"ContainerRuntime"`

	// 运行时版本
	RuntimeVersion *string `json:"RuntimeVersion,omitnil,omitempty" name:"RuntimeVersion"`

	// 节点池os,当为自定义镜像时,传镜像id;否则为公共镜像的osName
	NodePoolOs *string `json:"NodePoolOs,omitnil,omitempty" name:"NodePoolOs"`

	// 容器的镜像版本,"DOCKER_CUSTOMIZE"(容器定制版),"GENERAL"(普通版本,默认值)
	OsCustomizeType *string `json:"OsCustomizeType,omitnil,omitempty" name:"OsCustomizeType"`

	// 资源标签
	Tags []*Tag `json:"Tags,omitnil,omitempty" name:"Tags"`

	// 删除保护开关
	DeletionProtection *bool `json:"DeletionProtection,omitnil,omitempty" name:"DeletionProtection"`
}

Predefined struct for user

type CreateClusterNodePoolResponse

type CreateClusterNodePoolResponse struct {
	*tchttp.BaseResponse
	Response *CreateClusterNodePoolResponseParams `json:"Response"`
}

func NewCreateClusterNodePoolResponse

func NewCreateClusterNodePoolResponse() (response *CreateClusterNodePoolResponse)

func (*CreateClusterNodePoolResponse) FromJsonString

func (r *CreateClusterNodePoolResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateClusterNodePoolResponse) ToJsonString

func (r *CreateClusterNodePoolResponse) ToJsonString() string

type CreateClusterNodePoolResponseParams added in v1.0.426

type CreateClusterNodePoolResponseParams struct {
	// 节点池id
	NodePoolId *string `json:"NodePoolId,omitnil,omitempty" name:"NodePoolId"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type CreateClusterReleaseRequest added in v1.0.550

type CreateClusterReleaseRequest struct {
	*tchttp.BaseRequest

	// 集群ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// 应用名称
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// 应用命名空间
	Namespace *string `json:"Namespace,omitnil,omitempty" name:"Namespace"`

	// 制品名称或从第三方repo 安装chart时,制品压缩包下载地址, 不支持重定向类型chart 地址,结尾为*.tgz
	Chart *string `json:"Chart,omitnil,omitempty" name:"Chart"`

	// 自定义参数
	Values *ReleaseValues `json:"Values,omitnil,omitempty" name:"Values"`

	// 制品来源,范围:tke-market 或 other
	ChartFrom *string `json:"ChartFrom,omitnil,omitempty" name:"ChartFrom"`

	// 制品版本
	ChartVersion *string `json:"ChartVersion,omitnil,omitempty" name:"ChartVersion"`

	// 制品仓库URL地址
	ChartRepoURL *string `json:"ChartRepoURL,omitnil,omitempty" name:"ChartRepoURL"`

	// 制品访问用户名
	Username *string `json:"Username,omitnil,omitempty" name:"Username"`

	// 制品访问密码
	Password *string `json:"Password,omitnil,omitempty" name:"Password"`

	// 制品命名空间
	ChartNamespace *string `json:"ChartNamespace,omitnil,omitempty" name:"ChartNamespace"`

	// 集群类型,支持传 tke, eks, tkeedge, external(注册集群)
	ClusterType *string `json:"ClusterType,omitnil,omitempty" name:"ClusterType"`
}

func NewCreateClusterReleaseRequest added in v1.0.550

func NewCreateClusterReleaseRequest() (request *CreateClusterReleaseRequest)

func (*CreateClusterReleaseRequest) FromJsonString added in v1.0.550

func (r *CreateClusterReleaseRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateClusterReleaseRequest) ToJsonString added in v1.0.550

func (r *CreateClusterReleaseRequest) ToJsonString() string

type CreateClusterReleaseRequestParams added in v1.0.550

type CreateClusterReleaseRequestParams struct {
	// 集群ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// 应用名称
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// 应用命名空间
	Namespace *string `json:"Namespace,omitnil,omitempty" name:"Namespace"`

	// 制品名称或从第三方repo 安装chart时,制品压缩包下载地址, 不支持重定向类型chart 地址,结尾为*.tgz
	Chart *string `json:"Chart,omitnil,omitempty" name:"Chart"`

	// 自定义参数
	Values *ReleaseValues `json:"Values,omitnil,omitempty" name:"Values"`

	// 制品来源,范围:tke-market 或 other
	ChartFrom *string `json:"ChartFrom,omitnil,omitempty" name:"ChartFrom"`

	// 制品版本
	ChartVersion *string `json:"ChartVersion,omitnil,omitempty" name:"ChartVersion"`

	// 制品仓库URL地址
	ChartRepoURL *string `json:"ChartRepoURL,omitnil,omitempty" name:"ChartRepoURL"`

	// 制品访问用户名
	Username *string `json:"Username,omitnil,omitempty" name:"Username"`

	// 制品访问密码
	Password *string `json:"Password,omitnil,omitempty" name:"Password"`

	// 制品命名空间
	ChartNamespace *string `json:"ChartNamespace,omitnil,omitempty" name:"ChartNamespace"`

	// 集群类型,支持传 tke, eks, tkeedge, external(注册集群)
	ClusterType *string `json:"ClusterType,omitnil,omitempty" name:"ClusterType"`
}

Predefined struct for user

type CreateClusterReleaseResponse added in v1.0.550

type CreateClusterReleaseResponse struct {
	*tchttp.BaseResponse
	Response *CreateClusterReleaseResponseParams `json:"Response"`
}

func NewCreateClusterReleaseResponse added in v1.0.550

func NewCreateClusterReleaseResponse() (response *CreateClusterReleaseResponse)

func (*CreateClusterReleaseResponse) FromJsonString added in v1.0.550

func (r *CreateClusterReleaseResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateClusterReleaseResponse) ToJsonString added in v1.0.550

func (r *CreateClusterReleaseResponse) ToJsonString() string

type CreateClusterReleaseResponseParams added in v1.0.550

type CreateClusterReleaseResponseParams struct {
	// 应用详情
	// 注意:此字段可能返回 null,表示取不到有效值。
	Release *PendingRelease `json:"Release,omitnil,omitempty" name:"Release"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type CreateClusterRequest

type CreateClusterRequest struct {
	*tchttp.BaseRequest

	// 集群类型,托管集群:MANAGED_CLUSTER,独立集群:INDEPENDENT_CLUSTER。
	ClusterType *string `json:"ClusterType,omitnil,omitempty" name:"ClusterType"`

	// 集群容器网络配置信息
	ClusterCIDRSettings *ClusterCIDRSettings `json:"ClusterCIDRSettings,omitnil,omitempty" name:"ClusterCIDRSettings"`

	// CVM创建透传参数,json化字符串格式,详见[CVM创建实例](https://cloud.tencent.com/document/product/213/15730)接口。总机型(包括地域)数量不超过10个,相同机型(地域)购买多台机器可以通过设置参数中RunInstances中InstanceCount来实现。
	RunInstancesForNode []*RunInstancesForNode `json:"RunInstancesForNode,omitnil,omitempty" name:"RunInstancesForNode"`

	// 集群的基本配置信息
	ClusterBasicSettings *ClusterBasicSettings `json:"ClusterBasicSettings,omitnil,omitempty" name:"ClusterBasicSettings"`

	// 集群高级配置信息
	ClusterAdvancedSettings *ClusterAdvancedSettings `json:"ClusterAdvancedSettings,omitnil,omitempty" name:"ClusterAdvancedSettings"`

	// 节点高级配置信息
	InstanceAdvancedSettings *InstanceAdvancedSettings `json:"InstanceAdvancedSettings,omitnil,omitempty" name:"InstanceAdvancedSettings"`

	// 已存在实例的配置信息。所有实例必须在同一个VPC中,最大数量不超过100,不支持添加竞价实例。
	ExistedInstancesForNode []*ExistedInstancesForNode `json:"ExistedInstancesForNode,omitnil,omitempty" name:"ExistedInstancesForNode"`

	// CVM类型和其对应的数据盘挂载配置信息
	InstanceDataDiskMountSettings []*InstanceDataDiskMountSetting `json:"InstanceDataDiskMountSettings,omitnil,omitempty" name:"InstanceDataDiskMountSettings"`

	// 需要安装的扩展组件信息
	ExtensionAddons []*ExtensionAddon `json:"ExtensionAddons,omitnil,omitempty" name:"ExtensionAddons"`
}

func NewCreateClusterRequest

func NewCreateClusterRequest() (request *CreateClusterRequest)

func (*CreateClusterRequest) FromJsonString

func (r *CreateClusterRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateClusterRequest) ToJsonString

func (r *CreateClusterRequest) ToJsonString() string

type CreateClusterRequestParams added in v1.0.426

type CreateClusterRequestParams struct {
	// 集群类型,托管集群:MANAGED_CLUSTER,独立集群:INDEPENDENT_CLUSTER。
	ClusterType *string `json:"ClusterType,omitnil,omitempty" name:"ClusterType"`

	// 集群容器网络配置信息
	ClusterCIDRSettings *ClusterCIDRSettings `json:"ClusterCIDRSettings,omitnil,omitempty" name:"ClusterCIDRSettings"`

	// CVM创建透传参数,json化字符串格式,详见[CVM创建实例](https://cloud.tencent.com/document/product/213/15730)接口。总机型(包括地域)数量不超过10个,相同机型(地域)购买多台机器可以通过设置参数中RunInstances中InstanceCount来实现。
	RunInstancesForNode []*RunInstancesForNode `json:"RunInstancesForNode,omitnil,omitempty" name:"RunInstancesForNode"`

	// 集群的基本配置信息
	ClusterBasicSettings *ClusterBasicSettings `json:"ClusterBasicSettings,omitnil,omitempty" name:"ClusterBasicSettings"`

	// 集群高级配置信息
	ClusterAdvancedSettings *ClusterAdvancedSettings `json:"ClusterAdvancedSettings,omitnil,omitempty" name:"ClusterAdvancedSettings"`

	// 节点高级配置信息
	InstanceAdvancedSettings *InstanceAdvancedSettings `json:"InstanceAdvancedSettings,omitnil,omitempty" name:"InstanceAdvancedSettings"`

	// 已存在实例的配置信息。所有实例必须在同一个VPC中,最大数量不超过100,不支持添加竞价实例。
	ExistedInstancesForNode []*ExistedInstancesForNode `json:"ExistedInstancesForNode,omitnil,omitempty" name:"ExistedInstancesForNode"`

	// CVM类型和其对应的数据盘挂载配置信息
	InstanceDataDiskMountSettings []*InstanceDataDiskMountSetting `json:"InstanceDataDiskMountSettings,omitnil,omitempty" name:"InstanceDataDiskMountSettings"`

	// 需要安装的扩展组件信息
	ExtensionAddons []*ExtensionAddon `json:"ExtensionAddons,omitnil,omitempty" name:"ExtensionAddons"`
}

Predefined struct for user

type CreateClusterResponse

type CreateClusterResponse struct {
	*tchttp.BaseResponse
	Response *CreateClusterResponseParams `json:"Response"`
}

func NewCreateClusterResponse

func NewCreateClusterResponse() (response *CreateClusterResponse)

func (*CreateClusterResponse) FromJsonString

func (r *CreateClusterResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateClusterResponse) ToJsonString

func (r *CreateClusterResponse) ToJsonString() string

type CreateClusterResponseParams added in v1.0.426

type CreateClusterResponseParams struct {
	// 集群ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type CreateClusterRouteRequest

type CreateClusterRouteRequest struct {
	*tchttp.BaseRequest

	// 路由表名称。
	RouteTableName *string `json:"RouteTableName,omitnil,omitempty" name:"RouteTableName"`

	// 目的节点的 PodCIDR
	DestinationCidrBlock *string `json:"DestinationCidrBlock,omitnil,omitempty" name:"DestinationCidrBlock"`

	// 下一跳地址,即目的节点的内网 IP 地址
	GatewayIp *string `json:"GatewayIp,omitnil,omitempty" name:"GatewayIp"`
}

func NewCreateClusterRouteRequest

func NewCreateClusterRouteRequest() (request *CreateClusterRouteRequest)

func (*CreateClusterRouteRequest) FromJsonString

func (r *CreateClusterRouteRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateClusterRouteRequest) ToJsonString

func (r *CreateClusterRouteRequest) ToJsonString() string

type CreateClusterRouteRequestParams added in v1.0.426

type CreateClusterRouteRequestParams struct {
	// 路由表名称。
	RouteTableName *string `json:"RouteTableName,omitnil,omitempty" name:"RouteTableName"`

	// 目的节点的 PodCIDR
	DestinationCidrBlock *string `json:"DestinationCidrBlock,omitnil,omitempty" name:"DestinationCidrBlock"`

	// 下一跳地址,即目的节点的内网 IP 地址
	GatewayIp *string `json:"GatewayIp,omitnil,omitempty" name:"GatewayIp"`
}

Predefined struct for user

type CreateClusterRouteResponse

type CreateClusterRouteResponse struct {
	*tchttp.BaseResponse
	Response *CreateClusterRouteResponseParams `json:"Response"`
}

func NewCreateClusterRouteResponse

func NewCreateClusterRouteResponse() (response *CreateClusterRouteResponse)

func (*CreateClusterRouteResponse) FromJsonString

func (r *CreateClusterRouteResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateClusterRouteResponse) ToJsonString

func (r *CreateClusterRouteResponse) ToJsonString() string

type CreateClusterRouteResponseParams added in v1.0.426

type CreateClusterRouteResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type CreateClusterRouteTableRequest

type CreateClusterRouteTableRequest struct {
	*tchttp.BaseRequest

	// 路由表名称,一般为集群ID
	RouteTableName *string `json:"RouteTableName,omitnil,omitempty" name:"RouteTableName"`

	// 路由表CIDR
	RouteTableCidrBlock *string `json:"RouteTableCidrBlock,omitnil,omitempty" name:"RouteTableCidrBlock"`

	// 路由表绑定的VPC
	VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"`

	// 是否忽略CIDR与 vpc 路由表的冲突, 0 表示不忽略,1表示忽略。默认不忽略
	IgnoreClusterCidrConflict *int64 `json:"IgnoreClusterCidrConflict,omitnil,omitempty" name:"IgnoreClusterCidrConflict"`
}

func NewCreateClusterRouteTableRequest

func NewCreateClusterRouteTableRequest() (request *CreateClusterRouteTableRequest)

func (*CreateClusterRouteTableRequest) FromJsonString

func (r *CreateClusterRouteTableRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateClusterRouteTableRequest) ToJsonString

func (r *CreateClusterRouteTableRequest) ToJsonString() string

type CreateClusterRouteTableRequestParams added in v1.0.426

type CreateClusterRouteTableRequestParams struct {
	// 路由表名称,一般为集群ID
	RouteTableName *string `json:"RouteTableName,omitnil,omitempty" name:"RouteTableName"`

	// 路由表CIDR
	RouteTableCidrBlock *string `json:"RouteTableCidrBlock,omitnil,omitempty" name:"RouteTableCidrBlock"`

	// 路由表绑定的VPC
	VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"`

	// 是否忽略CIDR与 vpc 路由表的冲突, 0 表示不忽略,1表示忽略。默认不忽略
	IgnoreClusterCidrConflict *int64 `json:"IgnoreClusterCidrConflict,omitnil,omitempty" name:"IgnoreClusterCidrConflict"`
}

Predefined struct for user

type CreateClusterRouteTableResponse

type CreateClusterRouteTableResponse struct {
	*tchttp.BaseResponse
	Response *CreateClusterRouteTableResponseParams `json:"Response"`
}

func NewCreateClusterRouteTableResponse

func NewCreateClusterRouteTableResponse() (response *CreateClusterRouteTableResponse)

func (*CreateClusterRouteTableResponse) FromJsonString

func (r *CreateClusterRouteTableResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateClusterRouteTableResponse) ToJsonString

func (r *CreateClusterRouteTableResponse) ToJsonString() string

type CreateClusterRouteTableResponseParams added in v1.0.426

type CreateClusterRouteTableResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type CreateClusterVirtualNodePoolRequest added in v1.0.575

type CreateClusterVirtualNodePoolRequest struct {
	*tchttp.BaseRequest

	// 集群Id
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// 节点池名称
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// 子网ID列表
	SubnetIds []*string `json:"SubnetIds,omitnil,omitempty" name:"SubnetIds"`

	// 安全组ID列表
	SecurityGroupIds []*string `json:"SecurityGroupIds,omitnil,omitempty" name:"SecurityGroupIds"`

	// 虚拟节点label
	Labels []*Label `json:"Labels,omitnil,omitempty" name:"Labels"`

	// 虚拟节点taint
	Taints []*Taint `json:"Taints,omitnil,omitempty" name:"Taints"`

	// 节点列表
	VirtualNodes []*VirtualNodeSpec `json:"VirtualNodes,omitnil,omitempty" name:"VirtualNodes"`

	// 删除保护开关
	DeletionProtection *bool `json:"DeletionProtection,omitnil,omitempty" name:"DeletionProtection"`

	// 节点池操作系统:
	// - linux(默认)
	// - windows
	OS *string `json:"OS,omitnil,omitempty" name:"OS"`
}

func NewCreateClusterVirtualNodePoolRequest added in v1.0.575

func NewCreateClusterVirtualNodePoolRequest() (request *CreateClusterVirtualNodePoolRequest)

func (*CreateClusterVirtualNodePoolRequest) FromJsonString added in v1.0.575

func (r *CreateClusterVirtualNodePoolRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateClusterVirtualNodePoolRequest) ToJsonString added in v1.0.575

func (r *CreateClusterVirtualNodePoolRequest) ToJsonString() string

type CreateClusterVirtualNodePoolRequestParams added in v1.0.575

type CreateClusterVirtualNodePoolRequestParams struct {
	// 集群Id
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// 节点池名称
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// 子网ID列表
	SubnetIds []*string `json:"SubnetIds,omitnil,omitempty" name:"SubnetIds"`

	// 安全组ID列表
	SecurityGroupIds []*string `json:"SecurityGroupIds,omitnil,omitempty" name:"SecurityGroupIds"`

	// 虚拟节点label
	Labels []*Label `json:"Labels,omitnil,omitempty" name:"Labels"`

	// 虚拟节点taint
	Taints []*Taint `json:"Taints,omitnil,omitempty" name:"Taints"`

	// 节点列表
	VirtualNodes []*VirtualNodeSpec `json:"VirtualNodes,omitnil,omitempty" name:"VirtualNodes"`

	// 删除保护开关
	DeletionProtection *bool `json:"DeletionProtection,omitnil,omitempty" name:"DeletionProtection"`

	// 节点池操作系统:
	// - linux(默认)
	// - windows
	OS *string `json:"OS,omitnil,omitempty" name:"OS"`
}

Predefined struct for user

type CreateClusterVirtualNodePoolResponse added in v1.0.575

type CreateClusterVirtualNodePoolResponse struct {
	*tchttp.BaseResponse
	Response *CreateClusterVirtualNodePoolResponseParams `json:"Response"`
}

func NewCreateClusterVirtualNodePoolResponse added in v1.0.575

func NewCreateClusterVirtualNodePoolResponse() (response *CreateClusterVirtualNodePoolResponse)

func (*CreateClusterVirtualNodePoolResponse) FromJsonString added in v1.0.575

func (r *CreateClusterVirtualNodePoolResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateClusterVirtualNodePoolResponse) ToJsonString added in v1.0.575

func (r *CreateClusterVirtualNodePoolResponse) ToJsonString() string

type CreateClusterVirtualNodePoolResponseParams added in v1.0.575

type CreateClusterVirtualNodePoolResponseParams struct {
	// 节点池ID
	NodePoolId *string `json:"NodePoolId,omitnil,omitempty" name:"NodePoolId"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type CreateClusterVirtualNodeRequest added in v1.0.575

type CreateClusterVirtualNodeRequest struct {
	*tchttp.BaseRequest

	// 集群ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// 虚拟节点所属节点池
	NodePoolId *string `json:"NodePoolId,omitnil,omitempty" name:"NodePoolId"`

	// 虚拟节点所属子网
	SubnetId *string `json:"SubnetId,omitnil,omitempty" name:"SubnetId"`

	// 虚拟节点子网ID列表,和参数SubnetId互斥
	SubnetIds []*string `json:"SubnetIds,omitnil,omitempty" name:"SubnetIds"`

	// 虚拟节点列表
	VirtualNodes []*VirtualNodeSpec `json:"VirtualNodes,omitnil,omitempty" name:"VirtualNodes"`
}

func NewCreateClusterVirtualNodeRequest added in v1.0.575

func NewCreateClusterVirtualNodeRequest() (request *CreateClusterVirtualNodeRequest)

func (*CreateClusterVirtualNodeRequest) FromJsonString added in v1.0.575

func (r *CreateClusterVirtualNodeRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateClusterVirtualNodeRequest) ToJsonString added in v1.0.575

func (r *CreateClusterVirtualNodeRequest) ToJsonString() string

type CreateClusterVirtualNodeRequestParams added in v1.0.575

type CreateClusterVirtualNodeRequestParams struct {
	// 集群ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// 虚拟节点所属节点池
	NodePoolId *string `json:"NodePoolId,omitnil,omitempty" name:"NodePoolId"`

	// 虚拟节点所属子网
	SubnetId *string `json:"SubnetId,omitnil,omitempty" name:"SubnetId"`

	// 虚拟节点子网ID列表,和参数SubnetId互斥
	SubnetIds []*string `json:"SubnetIds,omitnil,omitempty" name:"SubnetIds"`

	// 虚拟节点列表
	VirtualNodes []*VirtualNodeSpec `json:"VirtualNodes,omitnil,omitempty" name:"VirtualNodes"`
}

Predefined struct for user

type CreateClusterVirtualNodeResponse added in v1.0.575

type CreateClusterVirtualNodeResponse struct {
	*tchttp.BaseResponse
	Response *CreateClusterVirtualNodeResponseParams `json:"Response"`
}

func NewCreateClusterVirtualNodeResponse added in v1.0.575

func NewCreateClusterVirtualNodeResponse() (response *CreateClusterVirtualNodeResponse)

func (*CreateClusterVirtualNodeResponse) FromJsonString added in v1.0.575

func (r *CreateClusterVirtualNodeResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateClusterVirtualNodeResponse) ToJsonString added in v1.0.575

func (r *CreateClusterVirtualNodeResponse) ToJsonString() string

type CreateClusterVirtualNodeResponseParams added in v1.0.575

type CreateClusterVirtualNodeResponseParams struct {
	// 虚拟节点名称
	NodeName *string `json:"NodeName,omitnil,omitempty" name:"NodeName"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type CreateECMInstancesRequest added in v1.0.412

type CreateECMInstancesRequest struct {
	*tchttp.BaseRequest

	// 集群id,边缘集群需要先开启公网访问才能添加ecm节点
	ClusterID *string `json:"ClusterID,omitnil,omitempty" name:"ClusterID"`

	// 边缘模块id
	ModuleId *string `json:"ModuleId,omitnil,omitempty" name:"ModuleId"`

	// 需要创建实例的可用区及创建数目及运营商的列表
	ZoneInstanceCountISPSet []*ECMZoneInstanceCountISP `json:"ZoneInstanceCountISPSet,omitnil,omitempty" name:"ZoneInstanceCountISPSet"`

	// 密码
	Password *string `json:"Password,omitnil,omitempty" name:"Password"`

	// 公网带宽
	InternetMaxBandwidthOut *int64 `json:"InternetMaxBandwidthOut,omitnil,omitempty" name:"InternetMaxBandwidthOut"`

	// 镜像id
	ImageId *string `json:"ImageId,omitnil,omitempty" name:"ImageId"`

	// 实例名称
	InstanceName *string `json:"InstanceName,omitnil,omitempty" name:"InstanceName"`

	// 主机名称
	HostName *string `json:"HostName,omitnil,omitempty" name:"HostName"`

	// 增强服务,包括云镜和云监控
	EnhancedService *ECMEnhancedService `json:"EnhancedService,omitnil,omitempty" name:"EnhancedService"`

	// 用户自定义脚本
	UserData *string `json:"UserData,omitnil,omitempty" name:"UserData"`

	// 实例扩展信息
	External *string `json:"External,omitnil,omitempty" name:"External"`

	// 实例所属安全组
	SecurityGroupIds []*string `json:"SecurityGroupIds,omitnil,omitempty" name:"SecurityGroupIds"`
}

func NewCreateECMInstancesRequest added in v1.0.412

func NewCreateECMInstancesRequest() (request *CreateECMInstancesRequest)

func (*CreateECMInstancesRequest) FromJsonString added in v1.0.412

func (r *CreateECMInstancesRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateECMInstancesRequest) ToJsonString added in v1.0.412

func (r *CreateECMInstancesRequest) ToJsonString() string

type CreateECMInstancesRequestParams added in v1.0.426

type CreateECMInstancesRequestParams struct {
	// 集群id,边缘集群需要先开启公网访问才能添加ecm节点
	ClusterID *string `json:"ClusterID,omitnil,omitempty" name:"ClusterID"`

	// 边缘模块id
	ModuleId *string `json:"ModuleId,omitnil,omitempty" name:"ModuleId"`

	// 需要创建实例的可用区及创建数目及运营商的列表
	ZoneInstanceCountISPSet []*ECMZoneInstanceCountISP `json:"ZoneInstanceCountISPSet,omitnil,omitempty" name:"ZoneInstanceCountISPSet"`

	// 密码
	Password *string `json:"Password,omitnil,omitempty" name:"Password"`

	// 公网带宽
	InternetMaxBandwidthOut *int64 `json:"InternetMaxBandwidthOut,omitnil,omitempty" name:"InternetMaxBandwidthOut"`

	// 镜像id
	ImageId *string `json:"ImageId,omitnil,omitempty" name:"ImageId"`

	// 实例名称
	InstanceName *string `json:"InstanceName,omitnil,omitempty" name:"InstanceName"`

	// 主机名称
	HostName *string `json:"HostName,omitnil,omitempty" name:"HostName"`

	// 增强服务,包括云镜和云监控
	EnhancedService *ECMEnhancedService `json:"EnhancedService,omitnil,omitempty" name:"EnhancedService"`

	// 用户自定义脚本
	UserData *string `json:"UserData,omitnil,omitempty" name:"UserData"`

	// 实例扩展信息
	External *string `json:"External,omitnil,omitempty" name:"External"`

	// 实例所属安全组
	SecurityGroupIds []*string `json:"SecurityGroupIds,omitnil,omitempty" name:"SecurityGroupIds"`
}

Predefined struct for user

type CreateECMInstancesResponse added in v1.0.412

type CreateECMInstancesResponse struct {
	*tchttp.BaseResponse
	Response *CreateECMInstancesResponseParams `json:"Response"`
}

func NewCreateECMInstancesResponse added in v1.0.412

func NewCreateECMInstancesResponse() (response *CreateECMInstancesResponse)

func (*CreateECMInstancesResponse) FromJsonString added in v1.0.412

func (r *CreateECMInstancesResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateECMInstancesResponse) ToJsonString added in v1.0.412

func (r *CreateECMInstancesResponse) ToJsonString() string

type CreateECMInstancesResponseParams added in v1.0.426

type CreateECMInstancesResponseParams struct {
	// ecm id 列表
	EcmIdSet []*string `json:"EcmIdSet,omitnil,omitempty" name:"EcmIdSet"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type CreateEKSClusterRequest

type CreateEKSClusterRequest struct {
	*tchttp.BaseRequest

	// k8s版本号。可为1.18.4 1.20.6。
	K8SVersion *string `json:"K8SVersion,omitnil,omitempty" name:"K8SVersion"`

	// vpc 的Id
	VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"`

	// 集群名称
	ClusterName *string `json:"ClusterName,omitnil,omitempty" name:"ClusterName"`

	// 子网Id 列表
	SubnetIds []*string `json:"SubnetIds,omitnil,omitempty" name:"SubnetIds"`

	// 集群描述信息
	ClusterDesc *string `json:"ClusterDesc,omitnil,omitempty" name:"ClusterDesc"`

	// Service CIDR 或 Serivce 所在子网Id
	ServiceSubnetId *string `json:"ServiceSubnetId,omitnil,omitempty" name:"ServiceSubnetId"`

	// 集群自定义的Dns服务器信息
	DnsServers []*DnsServerConf `json:"DnsServers,omitnil,omitempty" name:"DnsServers"`

	// 扩展参数。须是map[string]string 的json 格式。
	ExtraParam *string `json:"ExtraParam,omitnil,omitempty" name:"ExtraParam"`

	// 是否在用户集群内开启Dns。默认为true
	EnableVpcCoreDNS *bool `json:"EnableVpcCoreDNS,omitnil,omitempty" name:"EnableVpcCoreDNS"`

	// 标签描述列表。通过指定该参数可以同时绑定标签到相应的资源实例,当前仅支持绑定标签到集群实例。
	TagSpecification []*TagSpecification `json:"TagSpecification,omitnil,omitempty" name:"TagSpecification"`

	// 子网信息列表
	SubnetInfos []*SubnetInfos `json:"SubnetInfos,omitnil,omitempty" name:"SubnetInfos"`
}

func NewCreateEKSClusterRequest

func NewCreateEKSClusterRequest() (request *CreateEKSClusterRequest)

func (*CreateEKSClusterRequest) FromJsonString

func (r *CreateEKSClusterRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateEKSClusterRequest) ToJsonString

func (r *CreateEKSClusterRequest) ToJsonString() string

type CreateEKSClusterRequestParams added in v1.0.426

type CreateEKSClusterRequestParams struct {
	// k8s版本号。可为1.18.4 1.20.6。
	K8SVersion *string `json:"K8SVersion,omitnil,omitempty" name:"K8SVersion"`

	// vpc 的Id
	VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"`

	// 集群名称
	ClusterName *string `json:"ClusterName,omitnil,omitempty" name:"ClusterName"`

	// 子网Id 列表
	SubnetIds []*string `json:"SubnetIds,omitnil,omitempty" name:"SubnetIds"`

	// 集群描述信息
	ClusterDesc *string `json:"ClusterDesc,omitnil,omitempty" name:"ClusterDesc"`

	// Service CIDR 或 Serivce 所在子网Id
	ServiceSubnetId *string `json:"ServiceSubnetId,omitnil,omitempty" name:"ServiceSubnetId"`

	// 集群自定义的Dns服务器信息
	DnsServers []*DnsServerConf `json:"DnsServers,omitnil,omitempty" name:"DnsServers"`

	// 扩展参数。须是map[string]string 的json 格式。
	ExtraParam *string `json:"ExtraParam,omitnil,omitempty" name:"ExtraParam"`

	// 是否在用户集群内开启Dns。默认为true
	EnableVpcCoreDNS *bool `json:"EnableVpcCoreDNS,omitnil,omitempty" name:"EnableVpcCoreDNS"`

	// 标签描述列表。通过指定该参数可以同时绑定标签到相应的资源实例,当前仅支持绑定标签到集群实例。
	TagSpecification []*TagSpecification `json:"TagSpecification,omitnil,omitempty" name:"TagSpecification"`

	// 子网信息列表
	SubnetInfos []*SubnetInfos `json:"SubnetInfos,omitnil,omitempty" name:"SubnetInfos"`
}

Predefined struct for user

type CreateEKSClusterResponse

type CreateEKSClusterResponse struct {
	*tchttp.BaseResponse
	Response *CreateEKSClusterResponseParams `json:"Response"`
}

func NewCreateEKSClusterResponse

func NewCreateEKSClusterResponse() (response *CreateEKSClusterResponse)

func (*CreateEKSClusterResponse) FromJsonString

func (r *CreateEKSClusterResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateEKSClusterResponse) ToJsonString

func (r *CreateEKSClusterResponse) ToJsonString() string

type CreateEKSClusterResponseParams added in v1.0.426

type CreateEKSClusterResponseParams struct {
	// 弹性集群Id
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type CreateEKSContainerInstancesRequest added in v1.0.254

type CreateEKSContainerInstancesRequest struct {
	*tchttp.BaseRequest

	// 容器组
	Containers []*Container `json:"Containers,omitnil,omitempty" name:"Containers"`

	// EKS Container Instance容器实例名称
	EksCiName *string `json:"EksCiName,omitnil,omitempty" name:"EksCiName"`

	// 指定新创建实例所属于的安全组Id
	SecurityGroupIds []*string `json:"SecurityGroupIds,omitnil,omitempty" name:"SecurityGroupIds"`

	// 实例所属子网Id
	SubnetId *string `json:"SubnetId,omitnil,omitempty" name:"SubnetId"`

	// 实例所属VPC的Id
	VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"`

	// 内存,单位:GiB。可参考[资源规格](https://cloud.tencent.com/document/product/457/39808)文档
	Memory *float64 `json:"Memory,omitnil,omitempty" name:"Memory"`

	// CPU,单位:核。可参考[资源规格](https://cloud.tencent.com/document/product/457/39808)文档
	Cpu *float64 `json:"Cpu,omitnil,omitempty" name:"Cpu"`

	// 实例重启策略: Always(总是重启)、Never(从不重启)、OnFailure(失败时重启),默认:Always。
	RestartPolicy *string `json:"RestartPolicy,omitnil,omitempty" name:"RestartPolicy"`

	// 镜像仓库凭证数组
	ImageRegistryCredentials []*ImageRegistryCredential `json:"ImageRegistryCredentials,omitnil,omitempty" name:"ImageRegistryCredentials"`

	// 数据卷,包含NfsVolume数组和CbsVolume数组
	EksCiVolume *EksCiVolume `json:"EksCiVolume,omitnil,omitempty" name:"EksCiVolume"`

	// 实例副本数,默认为1
	Replicas *int64 `json:"Replicas,omitnil,omitempty" name:"Replicas"`

	// Init 容器
	InitContainers []*Container `json:"InitContainers,omitnil,omitempty" name:"InitContainers"`

	// 自定义DNS配置
	DnsConfig *DNSConfig `json:"DnsConfig,omitnil,omitempty" name:"DnsConfig"`

	// 用来绑定容器实例的已有EIP的列表。如传值,需要保证数值和Replicas相等。
	// 另外此参数和AutoCreateEipAttribute互斥。
	ExistedEipIds []*string `json:"ExistedEipIds,omitnil,omitempty" name:"ExistedEipIds"`

	// 自动创建EIP的可选参数。若传此参数,则会自动创建EIP。
	// 另外此参数和ExistedEipIds互斥
	AutoCreateEipAttribute *EipAttribute `json:"AutoCreateEipAttribute,omitnil,omitempty" name:"AutoCreateEipAttribute"`

	// 是否为容器实例自动创建EIP,默认为false。若传true,则此参数和ExistedEipIds互斥
	AutoCreateEip *bool `json:"AutoCreateEip,omitnil,omitempty" name:"AutoCreateEip"`

	// Pod 所需的 CPU 资源型号,如果不填写则默认不强制指定 CPU 类型。目前支持型号如下:
	// intel
	// amd
	// - 支持优先级顺序写法,如 “amd,intel” 表示优先创建 amd 资源 Pod,如果所选地域可用区 amd 资源不足,则会创建 intel 资源 Pod。
	CpuType *string `json:"CpuType,omitnil,omitempty" name:"CpuType"`

	// 容器实例所需的 GPU 资源型号,目前支持型号如下:
	// 1/4\*V100
	// 1/2\*V100
	// V100
	// 1/4\*T4
	// 1/2\*T4
	// T4
	GpuType *string `json:"GpuType,omitnil,omitempty" name:"GpuType"`

	// Pod 所需的 GPU 数量,如填写,请确保为支持的规格。默认单位为卡,无需再次注明。
	GpuCount *uint64 `json:"GpuCount,omitnil,omitempty" name:"GpuCount"`

	// 为容器实例关联 CAM 角色,value 填写 CAM 角色名称,容器实例可获取该 CAM 角色包含的权限策略,方便 容器实例 内的程序进行如购买资源、读写存储等云资源操作。
	CamRoleName *string `json:"CamRoleName,omitnil,omitempty" name:"CamRoleName"`
}

func NewCreateEKSContainerInstancesRequest added in v1.0.254

func NewCreateEKSContainerInstancesRequest() (request *CreateEKSContainerInstancesRequest)

func (*CreateEKSContainerInstancesRequest) FromJsonString added in v1.0.254

func (r *CreateEKSContainerInstancesRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateEKSContainerInstancesRequest) ToJsonString added in v1.0.254

func (r *CreateEKSContainerInstancesRequest) ToJsonString() string

type CreateEKSContainerInstancesRequestParams added in v1.0.426

type CreateEKSContainerInstancesRequestParams struct {
	// 容器组
	Containers []*Container `json:"Containers,omitnil,omitempty" name:"Containers"`

	// EKS Container Instance容器实例名称
	EksCiName *string `json:"EksCiName,omitnil,omitempty" name:"EksCiName"`

	// 指定新创建实例所属于的安全组Id
	SecurityGroupIds []*string `json:"SecurityGroupIds,omitnil,omitempty" name:"SecurityGroupIds"`

	// 实例所属子网Id
	SubnetId *string `json:"SubnetId,omitnil,omitempty" name:"SubnetId"`

	// 实例所属VPC的Id
	VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"`

	// 内存,单位:GiB。可参考[资源规格](https://cloud.tencent.com/document/product/457/39808)文档
	Memory *float64 `json:"Memory,omitnil,omitempty" name:"Memory"`

	// CPU,单位:核。可参考[资源规格](https://cloud.tencent.com/document/product/457/39808)文档
	Cpu *float64 `json:"Cpu,omitnil,omitempty" name:"Cpu"`

	// 实例重启策略: Always(总是重启)、Never(从不重启)、OnFailure(失败时重启),默认:Always。
	RestartPolicy *string `json:"RestartPolicy,omitnil,omitempty" name:"RestartPolicy"`

	// 镜像仓库凭证数组
	ImageRegistryCredentials []*ImageRegistryCredential `json:"ImageRegistryCredentials,omitnil,omitempty" name:"ImageRegistryCredentials"`

	// 数据卷,包含NfsVolume数组和CbsVolume数组
	EksCiVolume *EksCiVolume `json:"EksCiVolume,omitnil,omitempty" name:"EksCiVolume"`

	// 实例副本数,默认为1
	Replicas *int64 `json:"Replicas,omitnil,omitempty" name:"Replicas"`

	// Init 容器
	InitContainers []*Container `json:"InitContainers,omitnil,omitempty" name:"InitContainers"`

	// 自定义DNS配置
	DnsConfig *DNSConfig `json:"DnsConfig,omitnil,omitempty" name:"DnsConfig"`

	// 用来绑定容器实例的已有EIP的列表。如传值,需要保证数值和Replicas相等。
	// 另外此参数和AutoCreateEipAttribute互斥。
	ExistedEipIds []*string `json:"ExistedEipIds,omitnil,omitempty" name:"ExistedEipIds"`

	// 自动创建EIP的可选参数。若传此参数,则会自动创建EIP。
	// 另外此参数和ExistedEipIds互斥
	AutoCreateEipAttribute *EipAttribute `json:"AutoCreateEipAttribute,omitnil,omitempty" name:"AutoCreateEipAttribute"`

	// 是否为容器实例自动创建EIP,默认为false。若传true,则此参数和ExistedEipIds互斥
	AutoCreateEip *bool `json:"AutoCreateEip,omitnil,omitempty" name:"AutoCreateEip"`

	// Pod 所需的 CPU 资源型号,如果不填写则默认不强制指定 CPU 类型。目前支持型号如下:
	// intel
	// amd
	// - 支持优先级顺序写法,如 “amd,intel” 表示优先创建 amd 资源 Pod,如果所选地域可用区 amd 资源不足,则会创建 intel 资源 Pod。
	CpuType *string `json:"CpuType,omitnil,omitempty" name:"CpuType"`

	// 容器实例所需的 GPU 资源型号,目前支持型号如下:
	// 1/4\*V100
	// 1/2\*V100
	// V100
	// 1/4\*T4
	// 1/2\*T4
	// T4
	GpuType *string `json:"GpuType,omitnil,omitempty" name:"GpuType"`

	// Pod 所需的 GPU 数量,如填写,请确保为支持的规格。默认单位为卡,无需再次注明。
	GpuCount *uint64 `json:"GpuCount,omitnil,omitempty" name:"GpuCount"`

	// 为容器实例关联 CAM 角色,value 填写 CAM 角色名称,容器实例可获取该 CAM 角色包含的权限策略,方便 容器实例 内的程序进行如购买资源、读写存储等云资源操作。
	CamRoleName *string `json:"CamRoleName,omitnil,omitempty" name:"CamRoleName"`
}

Predefined struct for user

type CreateEKSContainerInstancesResponse added in v1.0.254

type CreateEKSContainerInstancesResponse struct {
	*tchttp.BaseResponse
	Response *CreateEKSContainerInstancesResponseParams `json:"Response"`
}

func NewCreateEKSContainerInstancesResponse added in v1.0.254

func NewCreateEKSContainerInstancesResponse() (response *CreateEKSContainerInstancesResponse)

func (*CreateEKSContainerInstancesResponse) FromJsonString added in v1.0.254

func (r *CreateEKSContainerInstancesResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateEKSContainerInstancesResponse) ToJsonString added in v1.0.254

func (r *CreateEKSContainerInstancesResponse) ToJsonString() string

type CreateEKSContainerInstancesResponseParams added in v1.0.426

type CreateEKSContainerInstancesResponseParams struct {
	// EKS Container Instance Id集合,格式为eksci-xxx,是容器实例的唯一标识。
	EksCiIds []*string `json:"EksCiIds,omitnil,omitempty" name:"EksCiIds"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type CreateEdgeCVMInstancesRequest added in v1.0.476

type CreateEdgeCVMInstancesRequest struct {
	*tchttp.BaseRequest

	// 集群id,边缘集群需要先开启公网访问才能添加cvm节点
	ClusterID *string `json:"ClusterID,omitnil,omitempty" name:"ClusterID"`

	// CVM创建透传参数,json化字符串格式,如需要保证扩展集群节点请求幂等性需要在此参数添加ClientToken字段,详见[CVM创建实例](https://cloud.tencent.com/document/product/213/15730)接口。
	RunInstancePara *string `json:"RunInstancePara,omitnil,omitempty" name:"RunInstancePara"`

	// CVM所属Region
	CvmRegion *string `json:"CvmRegion,omitnil,omitempty" name:"CvmRegion"`

	// CVM数量
	CvmCount *int64 `json:"CvmCount,omitnil,omitempty" name:"CvmCount"`

	// 实例扩展信息
	External *string `json:"External,omitnil,omitempty" name:"External"`

	// 用户自定义脚本
	UserScript *string `json:"UserScript,omitnil,omitempty" name:"UserScript"`

	// 是否开启弹性网卡功能
	EnableEni *bool `json:"EnableEni,omitnil,omitempty" name:"EnableEni"`
}

func NewCreateEdgeCVMInstancesRequest added in v1.0.476

func NewCreateEdgeCVMInstancesRequest() (request *CreateEdgeCVMInstancesRequest)

func (*CreateEdgeCVMInstancesRequest) FromJsonString added in v1.0.476

func (r *CreateEdgeCVMInstancesRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateEdgeCVMInstancesRequest) ToJsonString added in v1.0.476

func (r *CreateEdgeCVMInstancesRequest) ToJsonString() string

type CreateEdgeCVMInstancesRequestParams added in v1.0.476

type CreateEdgeCVMInstancesRequestParams struct {
	// 集群id,边缘集群需要先开启公网访问才能添加cvm节点
	ClusterID *string `json:"ClusterID,omitnil,omitempty" name:"ClusterID"`

	// CVM创建透传参数,json化字符串格式,如需要保证扩展集群节点请求幂等性需要在此参数添加ClientToken字段,详见[CVM创建实例](https://cloud.tencent.com/document/product/213/15730)接口。
	RunInstancePara *string `json:"RunInstancePara,omitnil,omitempty" name:"RunInstancePara"`

	// CVM所属Region
	CvmRegion *string `json:"CvmRegion,omitnil,omitempty" name:"CvmRegion"`

	// CVM数量
	CvmCount *int64 `json:"CvmCount,omitnil,omitempty" name:"CvmCount"`

	// 实例扩展信息
	External *string `json:"External,omitnil,omitempty" name:"External"`

	// 用户自定义脚本
	UserScript *string `json:"UserScript,omitnil,omitempty" name:"UserScript"`

	// 是否开启弹性网卡功能
	EnableEni *bool `json:"EnableEni,omitnil,omitempty" name:"EnableEni"`
}

Predefined struct for user

type CreateEdgeCVMInstancesResponse added in v1.0.476

type CreateEdgeCVMInstancesResponse struct {
	*tchttp.BaseResponse
	Response *CreateEdgeCVMInstancesResponseParams `json:"Response"`
}

func NewCreateEdgeCVMInstancesResponse added in v1.0.476

func NewCreateEdgeCVMInstancesResponse() (response *CreateEdgeCVMInstancesResponse)

func (*CreateEdgeCVMInstancesResponse) FromJsonString added in v1.0.476

func (r *CreateEdgeCVMInstancesResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateEdgeCVMInstancesResponse) ToJsonString added in v1.0.476

func (r *CreateEdgeCVMInstancesResponse) ToJsonString() string

type CreateEdgeCVMInstancesResponseParams added in v1.0.476

type CreateEdgeCVMInstancesResponseParams struct {
	// cvm id 列表
	CvmIdSet []*string `json:"CvmIdSet,omitnil,omitempty" name:"CvmIdSet"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type CreateEdgeLogConfigRequest added in v1.0.450

type CreateEdgeLogConfigRequest struct {
	*tchttp.BaseRequest

	// 集群ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// 日志采集配置的json表达
	LogConfig *string `json:"LogConfig,omitnil,omitempty" name:"LogConfig"`

	// CLS日志集ID
	LogsetId *string `json:"LogsetId,omitnil,omitempty" name:"LogsetId"`
}

func NewCreateEdgeLogConfigRequest added in v1.0.450

func NewCreateEdgeLogConfigRequest() (request *CreateEdgeLogConfigRequest)

func (*CreateEdgeLogConfigRequest) FromJsonString added in v1.0.450

func (r *CreateEdgeLogConfigRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateEdgeLogConfigRequest) ToJsonString added in v1.0.450

func (r *CreateEdgeLogConfigRequest) ToJsonString() string

type CreateEdgeLogConfigRequestParams added in v1.0.450

type CreateEdgeLogConfigRequestParams struct {
	// 集群ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// 日志采集配置的json表达
	LogConfig *string `json:"LogConfig,omitnil,omitempty" name:"LogConfig"`

	// CLS日志集ID
	LogsetId *string `json:"LogsetId,omitnil,omitempty" name:"LogsetId"`
}

Predefined struct for user

type CreateEdgeLogConfigResponse added in v1.0.450

type CreateEdgeLogConfigResponse struct {
	*tchttp.BaseResponse
	Response *CreateEdgeLogConfigResponseParams `json:"Response"`
}

func NewCreateEdgeLogConfigResponse added in v1.0.450

func NewCreateEdgeLogConfigResponse() (response *CreateEdgeLogConfigResponse)

func (*CreateEdgeLogConfigResponse) FromJsonString added in v1.0.450

func (r *CreateEdgeLogConfigResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateEdgeLogConfigResponse) ToJsonString added in v1.0.450

func (r *CreateEdgeLogConfigResponse) ToJsonString() string

type CreateEdgeLogConfigResponseParams added in v1.0.450

type CreateEdgeLogConfigResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type CreateEksLogConfigRequest added in v1.0.816

type CreateEksLogConfigRequest struct {
	*tchttp.BaseRequest

	// 集群ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// 日志采集配置的json表达
	LogConfig *string `json:"LogConfig,omitnil,omitempty" name:"LogConfig"`

	// 日志集ID
	LogsetId *string `json:"LogsetId,omitnil,omitempty" name:"LogsetId"`
}

func NewCreateEksLogConfigRequest added in v1.0.816

func NewCreateEksLogConfigRequest() (request *CreateEksLogConfigRequest)

func (*CreateEksLogConfigRequest) FromJsonString added in v1.0.816

func (r *CreateEksLogConfigRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateEksLogConfigRequest) ToJsonString added in v1.0.816

func (r *CreateEksLogConfigRequest) ToJsonString() string

type CreateEksLogConfigRequestParams added in v1.0.816

type CreateEksLogConfigRequestParams struct {
	// 集群ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// 日志采集配置的json表达
	LogConfig *string `json:"LogConfig,omitnil,omitempty" name:"LogConfig"`

	// 日志集ID
	LogsetId *string `json:"LogsetId,omitnil,omitempty" name:"LogsetId"`
}

Predefined struct for user

type CreateEksLogConfigResponse added in v1.0.816

type CreateEksLogConfigResponse struct {
	*tchttp.BaseResponse
	Response *CreateEksLogConfigResponseParams `json:"Response"`
}

func NewCreateEksLogConfigResponse added in v1.0.816

func NewCreateEksLogConfigResponse() (response *CreateEksLogConfigResponse)

func (*CreateEksLogConfigResponse) FromJsonString added in v1.0.816

func (r *CreateEksLogConfigResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateEksLogConfigResponse) ToJsonString added in v1.0.816

func (r *CreateEksLogConfigResponse) ToJsonString() string

type CreateEksLogConfigResponseParams added in v1.0.816

type CreateEksLogConfigResponseParams struct {
	// 日志采集topicid
	// 注意:此字段可能返回 null,表示取不到有效值。
	TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type CreateImageCacheRequest added in v1.0.363

type CreateImageCacheRequest struct {
	*tchttp.BaseRequest

	// 用于制作镜像缓存的容器镜像列表
	Images []*string `json:"Images,omitnil,omitempty" name:"Images"`

	// 实例所属子网Id
	SubnetId *string `json:"SubnetId,omitnil,omitempty" name:"SubnetId"`

	// 实例所属VPC Id
	VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"`

	// 镜像缓存名称
	ImageCacheName *string `json:"ImageCacheName,omitnil,omitempty" name:"ImageCacheName"`

	// 安全组Id
	SecurityGroupIds []*string `json:"SecurityGroupIds,omitnil,omitempty" name:"SecurityGroupIds"`

	// 镜像仓库凭证数组
	ImageRegistryCredentials []*ImageRegistryCredential `json:"ImageRegistryCredentials,omitnil,omitempty" name:"ImageRegistryCredentials"`

	// 用来绑定容器实例的已有EIP
	ExistedEipId *string `json:"ExistedEipId,omitnil,omitempty" name:"ExistedEipId"`

	// 是否为容器实例自动创建EIP,默认为false。若传true,则此参数和ExistedEipIds互斥
	AutoCreateEip *bool `json:"AutoCreateEip,omitnil,omitempty" name:"AutoCreateEip"`

	// 自动创建EIP的可选参数。若传此参数,则会自动创建EIP。
	// 另外此参数和ExistedEipIds互斥
	AutoCreateEipAttribute *EipAttribute `json:"AutoCreateEipAttribute,omitnil,omitempty" name:"AutoCreateEipAttribute"`

	// 镜像缓存的大小。默认为20 GiB。取值范围参考[云硬盘类型](https://cloud.tencent.com/document/product/362/2353)中的高性能云盘类型的大小限制。
	ImageCacheSize *uint64 `json:"ImageCacheSize,omitnil,omitempty" name:"ImageCacheSize"`

	// 镜像缓存保留时间天数,过期将会自动清理,默认为0,永不过期。
	RetentionDays *uint64 `json:"RetentionDays,omitnil,omitempty" name:"RetentionDays"`

	// 指定拉取镜像仓库的镜像时不校验证书。如["harbor.example.com"]。
	RegistrySkipVerifyList []*string `json:"RegistrySkipVerifyList,omitnil,omitempty" name:"RegistrySkipVerifyList"`

	// 指定拉取镜像仓库的镜像时使用 HTTP 协议。如["harbor.example.com"]。
	RegistryHttpEndPointList []*string `json:"RegistryHttpEndPointList,omitnil,omitempty" name:"RegistryHttpEndPointList"`

	// 自定义制作镜像缓存过程中容器实例的宿主机上的 DNS。如:
	// "nameserver 4.4.4.4\nnameserver 8.8.8.8"
	ResolveConfig *string `json:"ResolveConfig,omitnil,omitempty" name:"ResolveConfig"`
}

func NewCreateImageCacheRequest added in v1.0.363

func NewCreateImageCacheRequest() (request *CreateImageCacheRequest)

func (*CreateImageCacheRequest) FromJsonString added in v1.0.363

func (r *CreateImageCacheRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateImageCacheRequest) ToJsonString added in v1.0.363

func (r *CreateImageCacheRequest) ToJsonString() string

type CreateImageCacheRequestParams added in v1.0.426

type CreateImageCacheRequestParams struct {
	// 用于制作镜像缓存的容器镜像列表
	Images []*string `json:"Images,omitnil,omitempty" name:"Images"`

	// 实例所属子网Id
	SubnetId *string `json:"SubnetId,omitnil,omitempty" name:"SubnetId"`

	// 实例所属VPC Id
	VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"`

	// 镜像缓存名称
	ImageCacheName *string `json:"ImageCacheName,omitnil,omitempty" name:"ImageCacheName"`

	// 安全组Id
	SecurityGroupIds []*string `json:"SecurityGroupIds,omitnil,omitempty" name:"SecurityGroupIds"`

	// 镜像仓库凭证数组
	ImageRegistryCredentials []*ImageRegistryCredential `json:"ImageRegistryCredentials,omitnil,omitempty" name:"ImageRegistryCredentials"`

	// 用来绑定容器实例的已有EIP
	ExistedEipId *string `json:"ExistedEipId,omitnil,omitempty" name:"ExistedEipId"`

	// 是否为容器实例自动创建EIP,默认为false。若传true,则此参数和ExistedEipIds互斥
	AutoCreateEip *bool `json:"AutoCreateEip,omitnil,omitempty" name:"AutoCreateEip"`

	// 自动创建EIP的可选参数。若传此参数,则会自动创建EIP。
	// 另外此参数和ExistedEipIds互斥
	AutoCreateEipAttribute *EipAttribute `json:"AutoCreateEipAttribute,omitnil,omitempty" name:"AutoCreateEipAttribute"`

	// 镜像缓存的大小。默认为20 GiB。取值范围参考[云硬盘类型](https://cloud.tencent.com/document/product/362/2353)中的高性能云盘类型的大小限制。
	ImageCacheSize *uint64 `json:"ImageCacheSize,omitnil,omitempty" name:"ImageCacheSize"`

	// 镜像缓存保留时间天数,过期将会自动清理,默认为0,永不过期。
	RetentionDays *uint64 `json:"RetentionDays,omitnil,omitempty" name:"RetentionDays"`

	// 指定拉取镜像仓库的镜像时不校验证书。如["harbor.example.com"]。
	RegistrySkipVerifyList []*string `json:"RegistrySkipVerifyList,omitnil,omitempty" name:"RegistrySkipVerifyList"`

	// 指定拉取镜像仓库的镜像时使用 HTTP 协议。如["harbor.example.com"]。
	RegistryHttpEndPointList []*string `json:"RegistryHttpEndPointList,omitnil,omitempty" name:"RegistryHttpEndPointList"`

	// 自定义制作镜像缓存过程中容器实例的宿主机上的 DNS。如:
	// "nameserver 4.4.4.4\nnameserver 8.8.8.8"
	ResolveConfig *string `json:"ResolveConfig,omitnil,omitempty" name:"ResolveConfig"`
}

Predefined struct for user

type CreateImageCacheResponse added in v1.0.363

type CreateImageCacheResponse struct {
	*tchttp.BaseResponse
	Response *CreateImageCacheResponseParams `json:"Response"`
}

func NewCreateImageCacheResponse added in v1.0.363

func NewCreateImageCacheResponse() (response *CreateImageCacheResponse)

func (*CreateImageCacheResponse) FromJsonString added in v1.0.363

func (r *CreateImageCacheResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateImageCacheResponse) ToJsonString added in v1.0.363

func (r *CreateImageCacheResponse) ToJsonString() string

type CreateImageCacheResponseParams added in v1.0.426

type CreateImageCacheResponseParams struct {
	// 镜像缓存Id
	ImageCacheId *string `json:"ImageCacheId,omitnil,omitempty" name:"ImageCacheId"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type CreatePrometheusAlertPolicyRequest added in v1.0.401

type CreatePrometheusAlertPolicyRequest struct {
	*tchttp.BaseRequest

	// 实例id
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// 告警配置
	AlertRule *PrometheusAlertPolicyItem `json:"AlertRule,omitnil,omitempty" name:"AlertRule"`
}

func NewCreatePrometheusAlertPolicyRequest added in v1.0.401

func NewCreatePrometheusAlertPolicyRequest() (request *CreatePrometheusAlertPolicyRequest)

func (*CreatePrometheusAlertPolicyRequest) FromJsonString added in v1.0.401

func (r *CreatePrometheusAlertPolicyRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreatePrometheusAlertPolicyRequest) ToJsonString added in v1.0.401

func (r *CreatePrometheusAlertPolicyRequest) ToJsonString() string

type CreatePrometheusAlertPolicyRequestParams added in v1.0.426

type CreatePrometheusAlertPolicyRequestParams struct {
	// 实例id
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// 告警配置
	AlertRule *PrometheusAlertPolicyItem `json:"AlertRule,omitnil,omitempty" name:"AlertRule"`
}

Predefined struct for user

type CreatePrometheusAlertPolicyResponse added in v1.0.401

type CreatePrometheusAlertPolicyResponse struct {
	*tchttp.BaseResponse
	Response *CreatePrometheusAlertPolicyResponseParams `json:"Response"`
}

func NewCreatePrometheusAlertPolicyResponse added in v1.0.401

func NewCreatePrometheusAlertPolicyResponse() (response *CreatePrometheusAlertPolicyResponse)

func (*CreatePrometheusAlertPolicyResponse) FromJsonString added in v1.0.401

func (r *CreatePrometheusAlertPolicyResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreatePrometheusAlertPolicyResponse) ToJsonString added in v1.0.401

func (r *CreatePrometheusAlertPolicyResponse) ToJsonString() string

type CreatePrometheusAlertPolicyResponseParams added in v1.0.426

type CreatePrometheusAlertPolicyResponseParams struct {
	// 告警id
	Id *string `json:"Id,omitnil,omitempty" name:"Id"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type CreatePrometheusAlertRuleRequest added in v1.0.218

type CreatePrometheusAlertRuleRequest struct {
	*tchttp.BaseRequest

	// 实例id
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// 告警配置
	AlertRule *PrometheusAlertRuleDetail `json:"AlertRule,omitnil,omitempty" name:"AlertRule"`
}

func NewCreatePrometheusAlertRuleRequest added in v1.0.218

func NewCreatePrometheusAlertRuleRequest() (request *CreatePrometheusAlertRuleRequest)

func (*CreatePrometheusAlertRuleRequest) FromJsonString added in v1.0.218

func (r *CreatePrometheusAlertRuleRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreatePrometheusAlertRuleRequest) ToJsonString added in v1.0.218

func (r *CreatePrometheusAlertRuleRequest) ToJsonString() string

type CreatePrometheusAlertRuleRequestParams added in v1.0.426

type CreatePrometheusAlertRuleRequestParams struct {
	// 实例id
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// 告警配置
	AlertRule *PrometheusAlertRuleDetail `json:"AlertRule,omitnil,omitempty" name:"AlertRule"`
}

Predefined struct for user

type CreatePrometheusAlertRuleResponse added in v1.0.218

type CreatePrometheusAlertRuleResponse struct {
	*tchttp.BaseResponse
	Response *CreatePrometheusAlertRuleResponseParams `json:"Response"`
}

func NewCreatePrometheusAlertRuleResponse added in v1.0.218

func NewCreatePrometheusAlertRuleResponse() (response *CreatePrometheusAlertRuleResponse)

func (*CreatePrometheusAlertRuleResponse) FromJsonString added in v1.0.218

func (r *CreatePrometheusAlertRuleResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreatePrometheusAlertRuleResponse) ToJsonString added in v1.0.218

func (r *CreatePrometheusAlertRuleResponse) ToJsonString() string

type CreatePrometheusAlertRuleResponseParams added in v1.0.426

type CreatePrometheusAlertRuleResponseParams struct {
	// 告警id
	Id *string `json:"Id,omitnil,omitempty" name:"Id"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type CreatePrometheusClusterAgentRequest added in v1.0.432

type CreatePrometheusClusterAgentRequest struct {
	*tchttp.BaseRequest

	// 实例ID
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// agent列表
	Agents []*PrometheusClusterAgentBasic `json:"Agents,omitnil,omitempty" name:"Agents"`
}

func NewCreatePrometheusClusterAgentRequest added in v1.0.432

func NewCreatePrometheusClusterAgentRequest() (request *CreatePrometheusClusterAgentRequest)

func (*CreatePrometheusClusterAgentRequest) FromJsonString added in v1.0.432

func (r *CreatePrometheusClusterAgentRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreatePrometheusClusterAgentRequest) ToJsonString added in v1.0.432

func (r *CreatePrometheusClusterAgentRequest) ToJsonString() string

type CreatePrometheusClusterAgentRequestParams added in v1.0.432

type CreatePrometheusClusterAgentRequestParams struct {
	// 实例ID
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// agent列表
	Agents []*PrometheusClusterAgentBasic `json:"Agents,omitnil,omitempty" name:"Agents"`
}

Predefined struct for user

type CreatePrometheusClusterAgentResponse added in v1.0.432

type CreatePrometheusClusterAgentResponse struct {
	*tchttp.BaseResponse
	Response *CreatePrometheusClusterAgentResponseParams `json:"Response"`
}

func NewCreatePrometheusClusterAgentResponse added in v1.0.432

func NewCreatePrometheusClusterAgentResponse() (response *CreatePrometheusClusterAgentResponse)

func (*CreatePrometheusClusterAgentResponse) FromJsonString added in v1.0.432

func (r *CreatePrometheusClusterAgentResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreatePrometheusClusterAgentResponse) ToJsonString added in v1.0.432

func (r *CreatePrometheusClusterAgentResponse) ToJsonString() string

type CreatePrometheusClusterAgentResponseParams added in v1.0.432

type CreatePrometheusClusterAgentResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type CreatePrometheusConfigRequest added in v1.0.432

type CreatePrometheusConfigRequest struct {
	*tchttp.BaseRequest

	// 实例id
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// 集群类型
	ClusterType *string `json:"ClusterType,omitnil,omitempty" name:"ClusterType"`

	// 集群id
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// ServiceMonitors配置
	ServiceMonitors []*PrometheusConfigItem `json:"ServiceMonitors,omitnil,omitempty" name:"ServiceMonitors"`

	// PodMonitors配置
	PodMonitors []*PrometheusConfigItem `json:"PodMonitors,omitnil,omitempty" name:"PodMonitors"`

	// prometheus原生Job配置
	RawJobs []*PrometheusConfigItem `json:"RawJobs,omitnil,omitempty" name:"RawJobs"`
}

func NewCreatePrometheusConfigRequest added in v1.0.432

func NewCreatePrometheusConfigRequest() (request *CreatePrometheusConfigRequest)

func (*CreatePrometheusConfigRequest) FromJsonString added in v1.0.432

func (r *CreatePrometheusConfigRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreatePrometheusConfigRequest) ToJsonString added in v1.0.432

func (r *CreatePrometheusConfigRequest) ToJsonString() string

type CreatePrometheusConfigRequestParams added in v1.0.432

type CreatePrometheusConfigRequestParams struct {
	// 实例id
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// 集群类型
	ClusterType *string `json:"ClusterType,omitnil,omitempty" name:"ClusterType"`

	// 集群id
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// ServiceMonitors配置
	ServiceMonitors []*PrometheusConfigItem `json:"ServiceMonitors,omitnil,omitempty" name:"ServiceMonitors"`

	// PodMonitors配置
	PodMonitors []*PrometheusConfigItem `json:"PodMonitors,omitnil,omitempty" name:"PodMonitors"`

	// prometheus原生Job配置
	RawJobs []*PrometheusConfigItem `json:"RawJobs,omitnil,omitempty" name:"RawJobs"`
}

Predefined struct for user

type CreatePrometheusConfigResponse added in v1.0.432

type CreatePrometheusConfigResponse struct {
	*tchttp.BaseResponse
	Response *CreatePrometheusConfigResponseParams `json:"Response"`
}

func NewCreatePrometheusConfigResponse added in v1.0.432

func NewCreatePrometheusConfigResponse() (response *CreatePrometheusConfigResponse)

func (*CreatePrometheusConfigResponse) FromJsonString added in v1.0.432

func (r *CreatePrometheusConfigResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreatePrometheusConfigResponse) ToJsonString added in v1.0.432

func (r *CreatePrometheusConfigResponse) ToJsonString() string

type CreatePrometheusConfigResponseParams added in v1.0.432

type CreatePrometheusConfigResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type CreatePrometheusDashboardRequest

type CreatePrometheusDashboardRequest struct {
	*tchttp.BaseRequest

	// 实例id
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// 面板组名称
	DashboardName *string `json:"DashboardName,omitnil,omitempty" name:"DashboardName"`

	// 面板列表
	// 每一项是一个grafana dashboard的json定义
	Contents []*string `json:"Contents,omitnil,omitempty" name:"Contents"`
}

func NewCreatePrometheusDashboardRequest

func NewCreatePrometheusDashboardRequest() (request *CreatePrometheusDashboardRequest)

func (*CreatePrometheusDashboardRequest) FromJsonString

func (r *CreatePrometheusDashboardRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreatePrometheusDashboardRequest) ToJsonString

func (r *CreatePrometheusDashboardRequest) ToJsonString() string

type CreatePrometheusDashboardRequestParams added in v1.0.426

type CreatePrometheusDashboardRequestParams struct {
	// 实例id
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// 面板组名称
	DashboardName *string `json:"DashboardName,omitnil,omitempty" name:"DashboardName"`

	// 面板列表
	// 每一项是一个grafana dashboard的json定义
	Contents []*string `json:"Contents,omitnil,omitempty" name:"Contents"`
}

Predefined struct for user

type CreatePrometheusDashboardResponse

type CreatePrometheusDashboardResponse struct {
	*tchttp.BaseResponse
	Response *CreatePrometheusDashboardResponseParams `json:"Response"`
}

func NewCreatePrometheusDashboardResponse

func NewCreatePrometheusDashboardResponse() (response *CreatePrometheusDashboardResponse)

func (*CreatePrometheusDashboardResponse) FromJsonString

func (r *CreatePrometheusDashboardResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreatePrometheusDashboardResponse) ToJsonString

func (r *CreatePrometheusDashboardResponse) ToJsonString() string

type CreatePrometheusDashboardResponseParams added in v1.0.426

type CreatePrometheusDashboardResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type CreatePrometheusGlobalNotificationRequest added in v1.0.403

type CreatePrometheusGlobalNotificationRequest struct {
	*tchttp.BaseRequest

	// 实例ID
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// 告警通知渠道
	Notification *PrometheusNotificationItem `json:"Notification,omitnil,omitempty" name:"Notification"`
}

func NewCreatePrometheusGlobalNotificationRequest added in v1.0.403

func NewCreatePrometheusGlobalNotificationRequest() (request *CreatePrometheusGlobalNotificationRequest)

func (*CreatePrometheusGlobalNotificationRequest) FromJsonString added in v1.0.403

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreatePrometheusGlobalNotificationRequest) ToJsonString added in v1.0.403

type CreatePrometheusGlobalNotificationRequestParams added in v1.0.426

type CreatePrometheusGlobalNotificationRequestParams struct {
	// 实例ID
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// 告警通知渠道
	Notification *PrometheusNotificationItem `json:"Notification,omitnil,omitempty" name:"Notification"`
}

Predefined struct for user

type CreatePrometheusGlobalNotificationResponse added in v1.0.403

type CreatePrometheusGlobalNotificationResponse struct {
	*tchttp.BaseResponse
	Response *CreatePrometheusGlobalNotificationResponseParams `json:"Response"`
}

func NewCreatePrometheusGlobalNotificationResponse added in v1.0.403

func NewCreatePrometheusGlobalNotificationResponse() (response *CreatePrometheusGlobalNotificationResponse)

func (*CreatePrometheusGlobalNotificationResponse) FromJsonString added in v1.0.403

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreatePrometheusGlobalNotificationResponse) ToJsonString added in v1.0.403

type CreatePrometheusGlobalNotificationResponseParams added in v1.0.426

type CreatePrometheusGlobalNotificationResponseParams struct {
	// 全局告警通知渠道ID
	// 注意:此字段可能返回 null,表示取不到有效值。
	Id *string `json:"Id,omitnil,omitempty" name:"Id"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type CreatePrometheusRecordRuleYamlRequest added in v1.0.432

type CreatePrometheusRecordRuleYamlRequest struct {
	*tchttp.BaseRequest

	// 实例id
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// yaml的内容
	Content *string `json:"Content,omitnil,omitempty" name:"Content"`
}

func NewCreatePrometheusRecordRuleYamlRequest added in v1.0.432

func NewCreatePrometheusRecordRuleYamlRequest() (request *CreatePrometheusRecordRuleYamlRequest)

func (*CreatePrometheusRecordRuleYamlRequest) FromJsonString added in v1.0.432

func (r *CreatePrometheusRecordRuleYamlRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreatePrometheusRecordRuleYamlRequest) ToJsonString added in v1.0.432

type CreatePrometheusRecordRuleYamlRequestParams added in v1.0.432

type CreatePrometheusRecordRuleYamlRequestParams struct {
	// 实例id
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// yaml的内容
	Content *string `json:"Content,omitnil,omitempty" name:"Content"`
}

Predefined struct for user

type CreatePrometheusRecordRuleYamlResponse added in v1.0.432

type CreatePrometheusRecordRuleYamlResponse struct {
	*tchttp.BaseResponse
	Response *CreatePrometheusRecordRuleYamlResponseParams `json:"Response"`
}

func NewCreatePrometheusRecordRuleYamlResponse added in v1.0.432

func NewCreatePrometheusRecordRuleYamlResponse() (response *CreatePrometheusRecordRuleYamlResponse)

func (*CreatePrometheusRecordRuleYamlResponse) FromJsonString added in v1.0.432

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreatePrometheusRecordRuleYamlResponse) ToJsonString added in v1.0.432

type CreatePrometheusRecordRuleYamlResponseParams added in v1.0.432

type CreatePrometheusRecordRuleYamlResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type CreatePrometheusTempRequest added in v1.0.401

type CreatePrometheusTempRequest struct {
	*tchttp.BaseRequest

	// 模板设置
	Template *PrometheusTemp `json:"Template,omitnil,omitempty" name:"Template"`
}

func NewCreatePrometheusTempRequest added in v1.0.401

func NewCreatePrometheusTempRequest() (request *CreatePrometheusTempRequest)

func (*CreatePrometheusTempRequest) FromJsonString added in v1.0.401

func (r *CreatePrometheusTempRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreatePrometheusTempRequest) ToJsonString added in v1.0.401

func (r *CreatePrometheusTempRequest) ToJsonString() string

type CreatePrometheusTempRequestParams added in v1.0.426

type CreatePrometheusTempRequestParams struct {
	// 模板设置
	Template *PrometheusTemp `json:"Template,omitnil,omitempty" name:"Template"`
}

Predefined struct for user

type CreatePrometheusTempResponse added in v1.0.401

type CreatePrometheusTempResponse struct {
	*tchttp.BaseResponse
	Response *CreatePrometheusTempResponseParams `json:"Response"`
}

func NewCreatePrometheusTempResponse added in v1.0.401

func NewCreatePrometheusTempResponse() (response *CreatePrometheusTempResponse)

func (*CreatePrometheusTempResponse) FromJsonString added in v1.0.401

func (r *CreatePrometheusTempResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreatePrometheusTempResponse) ToJsonString added in v1.0.401

func (r *CreatePrometheusTempResponse) ToJsonString() string

type CreatePrometheusTempResponseParams added in v1.0.426

type CreatePrometheusTempResponseParams struct {
	// 模板Id
	TemplateId *string `json:"TemplateId,omitnil,omitempty" name:"TemplateId"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type CreatePrometheusTemplateRequest

type CreatePrometheusTemplateRequest struct {
	*tchttp.BaseRequest

	// 模板设置
	Template *PrometheusTemplate `json:"Template,omitnil,omitempty" name:"Template"`
}

func NewCreatePrometheusTemplateRequest

func NewCreatePrometheusTemplateRequest() (request *CreatePrometheusTemplateRequest)

func (*CreatePrometheusTemplateRequest) FromJsonString

func (r *CreatePrometheusTemplateRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreatePrometheusTemplateRequest) ToJsonString

func (r *CreatePrometheusTemplateRequest) ToJsonString() string

type CreatePrometheusTemplateRequestParams added in v1.0.426

type CreatePrometheusTemplateRequestParams struct {
	// 模板设置
	Template *PrometheusTemplate `json:"Template,omitnil,omitempty" name:"Template"`
}

Predefined struct for user

type CreatePrometheusTemplateResponse

type CreatePrometheusTemplateResponse struct {
	*tchttp.BaseResponse
	Response *CreatePrometheusTemplateResponseParams `json:"Response"`
}

func NewCreatePrometheusTemplateResponse

func NewCreatePrometheusTemplateResponse() (response *CreatePrometheusTemplateResponse)

func (*CreatePrometheusTemplateResponse) FromJsonString

func (r *CreatePrometheusTemplateResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreatePrometheusTemplateResponse) ToJsonString

func (r *CreatePrometheusTemplateResponse) ToJsonString() string

type CreatePrometheusTemplateResponseParams added in v1.0.426

type CreatePrometheusTemplateResponseParams struct {
	// 模板Id
	TemplateId *string `json:"TemplateId,omitnil,omitempty" name:"TemplateId"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type CreateReservedInstancesRequest added in v1.0.759

type CreateReservedInstancesRequest struct {
	*tchttp.BaseRequest

	// 预留券实例规格。
	ReservedInstanceSpec *ReservedInstanceSpec `json:"ReservedInstanceSpec,omitnil,omitempty" name:"ReservedInstanceSpec"`

	// 购买实例数量,一次最大购买数量为300。
	InstanceCount *uint64 `json:"InstanceCount,omitnil,omitempty" name:"InstanceCount"`

	// 预付费模式,即包年包月相关参数设置。通过该参数可以指定包年包月实例的购买时长、是否设置自动续费等属性。
	InstanceChargePrepaid *InstanceChargePrepaid `json:"InstanceChargePrepaid,omitnil,omitempty" name:"InstanceChargePrepaid"`

	// 预留券名称。
	InstanceName *string `json:"InstanceName,omitnil,omitempty" name:"InstanceName"`

	// 用于保证请求幂等性的字符串。该字符串由客户生成,需保证不同请求之间唯一,最大值不超过64个ASCII字符。若不指定该参数,则无法保证请求的幂等性。
	ClientToken *string `json:"ClientToken,omitnil,omitempty" name:"ClientToken"`
}

func NewCreateReservedInstancesRequest added in v1.0.759

func NewCreateReservedInstancesRequest() (request *CreateReservedInstancesRequest)

func (*CreateReservedInstancesRequest) FromJsonString added in v1.0.759

func (r *CreateReservedInstancesRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateReservedInstancesRequest) ToJsonString added in v1.0.759

func (r *CreateReservedInstancesRequest) ToJsonString() string

type CreateReservedInstancesRequestParams added in v1.0.759

type CreateReservedInstancesRequestParams struct {
	// 预留券实例规格。
	ReservedInstanceSpec *ReservedInstanceSpec `json:"ReservedInstanceSpec,omitnil,omitempty" name:"ReservedInstanceSpec"`

	// 购买实例数量,一次最大购买数量为300。
	InstanceCount *uint64 `json:"InstanceCount,omitnil,omitempty" name:"InstanceCount"`

	// 预付费模式,即包年包月相关参数设置。通过该参数可以指定包年包月实例的购买时长、是否设置自动续费等属性。
	InstanceChargePrepaid *InstanceChargePrepaid `json:"InstanceChargePrepaid,omitnil,omitempty" name:"InstanceChargePrepaid"`

	// 预留券名称。
	InstanceName *string `json:"InstanceName,omitnil,omitempty" name:"InstanceName"`

	// 用于保证请求幂等性的字符串。该字符串由客户生成,需保证不同请求之间唯一,最大值不超过64个ASCII字符。若不指定该参数,则无法保证请求的幂等性。
	ClientToken *string `json:"ClientToken,omitnil,omitempty" name:"ClientToken"`
}

Predefined struct for user

type CreateReservedInstancesResponse added in v1.0.759

type CreateReservedInstancesResponse struct {
	*tchttp.BaseResponse
	Response *CreateReservedInstancesResponseParams `json:"Response"`
}

func NewCreateReservedInstancesResponse added in v1.0.759

func NewCreateReservedInstancesResponse() (response *CreateReservedInstancesResponse)

func (*CreateReservedInstancesResponse) FromJsonString added in v1.0.759

func (r *CreateReservedInstancesResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateReservedInstancesResponse) ToJsonString added in v1.0.759

func (r *CreateReservedInstancesResponse) ToJsonString() string

type CreateReservedInstancesResponseParams added in v1.0.759

type CreateReservedInstancesResponseParams struct {
	// 预留券实例 ID。
	ReservedInstanceIds []*string `json:"ReservedInstanceIds,omitnil,omitempty" name:"ReservedInstanceIds"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type CreateTKEEdgeClusterRequest added in v1.0.412

type CreateTKEEdgeClusterRequest struct {
	*tchttp.BaseRequest

	// k8s版本号
	K8SVersion *string `json:"K8SVersion,omitnil,omitempty" name:"K8SVersion"`

	// vpc 的Id
	VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"`

	// 集群名称
	ClusterName *string `json:"ClusterName,omitnil,omitempty" name:"ClusterName"`

	// 集群pod cidr
	PodCIDR *string `json:"PodCIDR,omitnil,omitempty" name:"PodCIDR"`

	// 集群service cidr
	ServiceCIDR *string `json:"ServiceCIDR,omitnil,omitempty" name:"ServiceCIDR"`

	// 集群描述信息
	ClusterDesc *string `json:"ClusterDesc,omitnil,omitempty" name:"ClusterDesc"`

	// 集群高级设置
	ClusterAdvancedSettings *EdgeClusterAdvancedSettings `json:"ClusterAdvancedSettings,omitnil,omitempty" name:"ClusterAdvancedSettings"`

	// 节点上最大Pod数量
	MaxNodePodNum *int64 `json:"MaxNodePodNum,omitnil,omitempty" name:"MaxNodePodNum"`

	// 边缘计算集群公网访问LB信息
	PublicLB *EdgeClusterPublicLB `json:"PublicLB,omitnil,omitempty" name:"PublicLB"`

	// 集群的级别
	ClusterLevel *string `json:"ClusterLevel,omitnil,omitempty" name:"ClusterLevel"`

	// 集群是否支持自动升配
	AutoUpgradeClusterLevel *bool `json:"AutoUpgradeClusterLevel,omitnil,omitempty" name:"AutoUpgradeClusterLevel"`

	// 集群计费方式
	ChargeType *string `json:"ChargeType,omitnil,omitempty" name:"ChargeType"`

	// 边缘集群版本,此版本区别于k8s版本,是整个集群各组件版本集合
	EdgeVersion *string `json:"EdgeVersion,omitnil,omitempty" name:"EdgeVersion"`

	// 边缘组件镜像仓库前缀
	RegistryPrefix *string `json:"RegistryPrefix,omitnil,omitempty" name:"RegistryPrefix"`

	// 集群绑定的云标签
	TagSpecification *TagSpecification `json:"TagSpecification,omitnil,omitempty" name:"TagSpecification"`
}

func NewCreateTKEEdgeClusterRequest added in v1.0.412

func NewCreateTKEEdgeClusterRequest() (request *CreateTKEEdgeClusterRequest)

func (*CreateTKEEdgeClusterRequest) FromJsonString added in v1.0.412

func (r *CreateTKEEdgeClusterRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateTKEEdgeClusterRequest) ToJsonString added in v1.0.412

func (r *CreateTKEEdgeClusterRequest) ToJsonString() string

type CreateTKEEdgeClusterRequestParams added in v1.0.426

type CreateTKEEdgeClusterRequestParams struct {
	// k8s版本号
	K8SVersion *string `json:"K8SVersion,omitnil,omitempty" name:"K8SVersion"`

	// vpc 的Id
	VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"`

	// 集群名称
	ClusterName *string `json:"ClusterName,omitnil,omitempty" name:"ClusterName"`

	// 集群pod cidr
	PodCIDR *string `json:"PodCIDR,omitnil,omitempty" name:"PodCIDR"`

	// 集群service cidr
	ServiceCIDR *string `json:"ServiceCIDR,omitnil,omitempty" name:"ServiceCIDR"`

	// 集群描述信息
	ClusterDesc *string `json:"ClusterDesc,omitnil,omitempty" name:"ClusterDesc"`

	// 集群高级设置
	ClusterAdvancedSettings *EdgeClusterAdvancedSettings `json:"ClusterAdvancedSettings,omitnil,omitempty" name:"ClusterAdvancedSettings"`

	// 节点上最大Pod数量
	MaxNodePodNum *int64 `json:"MaxNodePodNum,omitnil,omitempty" name:"MaxNodePodNum"`

	// 边缘计算集群公网访问LB信息
	PublicLB *EdgeClusterPublicLB `json:"PublicLB,omitnil,omitempty" name:"PublicLB"`

	// 集群的级别
	ClusterLevel *string `json:"ClusterLevel,omitnil,omitempty" name:"ClusterLevel"`

	// 集群是否支持自动升配
	AutoUpgradeClusterLevel *bool `json:"AutoUpgradeClusterLevel,omitnil,omitempty" name:"AutoUpgradeClusterLevel"`

	// 集群计费方式
	ChargeType *string `json:"ChargeType,omitnil,omitempty" name:"ChargeType"`

	// 边缘集群版本,此版本区别于k8s版本,是整个集群各组件版本集合
	EdgeVersion *string `json:"EdgeVersion,omitnil,omitempty" name:"EdgeVersion"`

	// 边缘组件镜像仓库前缀
	RegistryPrefix *string `json:"RegistryPrefix,omitnil,omitempty" name:"RegistryPrefix"`

	// 集群绑定的云标签
	TagSpecification *TagSpecification `json:"TagSpecification,omitnil,omitempty" name:"TagSpecification"`
}

Predefined struct for user

type CreateTKEEdgeClusterResponse added in v1.0.412

type CreateTKEEdgeClusterResponse struct {
	*tchttp.BaseResponse
	Response *CreateTKEEdgeClusterResponseParams `json:"Response"`
}

func NewCreateTKEEdgeClusterResponse added in v1.0.412

func NewCreateTKEEdgeClusterResponse() (response *CreateTKEEdgeClusterResponse)

func (*CreateTKEEdgeClusterResponse) FromJsonString added in v1.0.412

func (r *CreateTKEEdgeClusterResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateTKEEdgeClusterResponse) ToJsonString added in v1.0.412

func (r *CreateTKEEdgeClusterResponse) ToJsonString() string

type CreateTKEEdgeClusterResponseParams added in v1.0.426

type CreateTKEEdgeClusterResponseParams struct {
	// 边缘计算集群Id
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type CustomDriver added in v1.0.486

type CustomDriver struct {
	// 自定义GPU驱动地址链接
	// 注意:此字段可能返回 null,表示取不到有效值。
	Address *string `json:"Address,omitnil,omitempty" name:"Address"`
}

type DNSConfig added in v1.0.254

type DNSConfig struct {
	// DNS 服务器IP地址列表
	// 注意:此字段可能返回 null,表示取不到有效值。
	Nameservers []*string `json:"Nameservers,omitnil,omitempty" name:"Nameservers"`

	// DNS搜索域列表
	// 注意:此字段可能返回 null,表示取不到有效值。
	Searches []*string `json:"Searches,omitnil,omitempty" name:"Searches"`

	// 对象选项列表,每个对象由name和value(可选)构成
	// 注意:此字段可能返回 null,表示取不到有效值。
	Options []*DNSConfigOption `json:"Options,omitnil,omitempty" name:"Options"`
}

type DNSConfigOption added in v1.0.254

type DNSConfigOption struct {
	// 配置项名称
	// 注意:此字段可能返回 null,表示取不到有效值。
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// 项值
	// 注意:此字段可能返回 null,表示取不到有效值。
	Value *string `json:"Value,omitnil,omitempty" name:"Value"`
}

type DataDisk

type DataDisk struct {
	// 云盘类型
	// 注意:此字段可能返回 null,表示取不到有效值。
	DiskType *string `json:"DiskType,omitnil,omitempty" name:"DiskType"`

	// 文件系统(ext3/ext4/xfs)
	// 注意:此字段可能返回 null,表示取不到有效值。
	FileSystem *string `json:"FileSystem,omitnil,omitempty" name:"FileSystem"`

	// 云盘大小(G)
	// 注意:此字段可能返回 null,表示取不到有效值。
	DiskSize *int64 `json:"DiskSize,omitnil,omitempty" name:"DiskSize"`

	// 是否自动化格式盘并挂载
	// 注意:此字段可能返回 null,表示取不到有效值。
	AutoFormatAndMount *bool `json:"AutoFormatAndMount,omitnil,omitempty" name:"AutoFormatAndMount"`

	// 挂载目录
	// 注意:此字段可能返回 null,表示取不到有效值。
	MountTarget *string `json:"MountTarget,omitnil,omitempty" name:"MountTarget"`

	// 挂载设备名或分区名,当且仅当添加已有节点时需要
	// 注意:此字段可能返回 null,表示取不到有效值。
	DiskPartition *string `json:"DiskPartition,omitnil,omitempty" name:"DiskPartition"`
}

type DeleteAddonRequest added in v1.0.684

type DeleteAddonRequest struct {
	*tchttp.BaseRequest

	// 集群ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// addon名称
	AddonName *string `json:"AddonName,omitnil,omitempty" name:"AddonName"`
}

func NewDeleteAddonRequest added in v1.0.684

func NewDeleteAddonRequest() (request *DeleteAddonRequest)

func (*DeleteAddonRequest) FromJsonString added in v1.0.684

func (r *DeleteAddonRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteAddonRequest) ToJsonString added in v1.0.684

func (r *DeleteAddonRequest) ToJsonString() string

type DeleteAddonRequestParams added in v1.0.684

type DeleteAddonRequestParams struct {
	// 集群ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// addon名称
	AddonName *string `json:"AddonName,omitnil,omitempty" name:"AddonName"`
}

Predefined struct for user

type DeleteAddonResponse added in v1.0.684

type DeleteAddonResponse struct {
	*tchttp.BaseResponse
	Response *DeleteAddonResponseParams `json:"Response"`
}

func NewDeleteAddonResponse added in v1.0.684

func NewDeleteAddonResponse() (response *DeleteAddonResponse)

func (*DeleteAddonResponse) FromJsonString added in v1.0.684

func (r *DeleteAddonResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteAddonResponse) ToJsonString added in v1.0.684

func (r *DeleteAddonResponse) ToJsonString() string

type DeleteAddonResponseParams added in v1.0.684

type DeleteAddonResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DeleteBackupStorageLocationRequest added in v1.0.644

type DeleteBackupStorageLocationRequest struct {
	*tchttp.BaseRequest

	// 备份仓库名称
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`
}

func NewDeleteBackupStorageLocationRequest added in v1.0.644

func NewDeleteBackupStorageLocationRequest() (request *DeleteBackupStorageLocationRequest)

func (*DeleteBackupStorageLocationRequest) FromJsonString added in v1.0.644

func (r *DeleteBackupStorageLocationRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteBackupStorageLocationRequest) ToJsonString added in v1.0.644

func (r *DeleteBackupStorageLocationRequest) ToJsonString() string

type DeleteBackupStorageLocationRequestParams added in v1.0.644

type DeleteBackupStorageLocationRequestParams struct {
	// 备份仓库名称
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`
}

Predefined struct for user

type DeleteBackupStorageLocationResponse added in v1.0.644

type DeleteBackupStorageLocationResponse struct {
	*tchttp.BaseResponse
	Response *DeleteBackupStorageLocationResponseParams `json:"Response"`
}

func NewDeleteBackupStorageLocationResponse added in v1.0.644

func NewDeleteBackupStorageLocationResponse() (response *DeleteBackupStorageLocationResponse)

func (*DeleteBackupStorageLocationResponse) FromJsonString added in v1.0.644

func (r *DeleteBackupStorageLocationResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteBackupStorageLocationResponse) ToJsonString added in v1.0.644

func (r *DeleteBackupStorageLocationResponse) ToJsonString() string

type DeleteBackupStorageLocationResponseParams added in v1.0.644

type DeleteBackupStorageLocationResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DeleteClusterAsGroupsRequest

type DeleteClusterAsGroupsRequest struct {
	*tchttp.BaseRequest

	// 集群ID,通过[DescribeClusters](https://cloud.tencent.com/document/api/457/31862)接口获取。
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// 集群伸缩组ID的列表
	AutoScalingGroupIds []*string `json:"AutoScalingGroupIds,omitnil,omitempty" name:"AutoScalingGroupIds"`

	// 是否保留伸缩组中的节点(默认值: false(不保留))
	KeepInstance *bool `json:"KeepInstance,omitnil,omitempty" name:"KeepInstance"`
}

func NewDeleteClusterAsGroupsRequest

func NewDeleteClusterAsGroupsRequest() (request *DeleteClusterAsGroupsRequest)

func (*DeleteClusterAsGroupsRequest) FromJsonString

func (r *DeleteClusterAsGroupsRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteClusterAsGroupsRequest) ToJsonString

func (r *DeleteClusterAsGroupsRequest) ToJsonString() string

type DeleteClusterAsGroupsRequestParams added in v1.0.426

type DeleteClusterAsGroupsRequestParams struct {
	// 集群ID,通过[DescribeClusters](https://cloud.tencent.com/document/api/457/31862)接口获取。
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// 集群伸缩组ID的列表
	AutoScalingGroupIds []*string `json:"AutoScalingGroupIds,omitnil,omitempty" name:"AutoScalingGroupIds"`

	// 是否保留伸缩组中的节点(默认值: false(不保留))
	KeepInstance *bool `json:"KeepInstance,omitnil,omitempty" name:"KeepInstance"`
}

Predefined struct for user

type DeleteClusterAsGroupsResponse

type DeleteClusterAsGroupsResponse struct {
	*tchttp.BaseResponse
	Response *DeleteClusterAsGroupsResponseParams `json:"Response"`
}

func NewDeleteClusterAsGroupsResponse

func NewDeleteClusterAsGroupsResponse() (response *DeleteClusterAsGroupsResponse)

func (*DeleteClusterAsGroupsResponse) FromJsonString

func (r *DeleteClusterAsGroupsResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteClusterAsGroupsResponse) ToJsonString

func (r *DeleteClusterAsGroupsResponse) ToJsonString() string

type DeleteClusterAsGroupsResponseParams added in v1.0.426

type DeleteClusterAsGroupsResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DeleteClusterEndpointRequest

type DeleteClusterEndpointRequest struct {
	*tchttp.BaseRequest

	// 集群ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// 是否为外网访问(TRUE 外网访问 FALSE 内网访问,默认值: FALSE)
	IsExtranet *bool `json:"IsExtranet,omitnil,omitempty" name:"IsExtranet"`
}

func NewDeleteClusterEndpointRequest

func NewDeleteClusterEndpointRequest() (request *DeleteClusterEndpointRequest)

func (*DeleteClusterEndpointRequest) FromJsonString

func (r *DeleteClusterEndpointRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteClusterEndpointRequest) ToJsonString

func (r *DeleteClusterEndpointRequest) ToJsonString() string

type DeleteClusterEndpointRequestParams added in v1.0.426

type DeleteClusterEndpointRequestParams struct {
	// 集群ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// 是否为外网访问(TRUE 外网访问 FALSE 内网访问,默认值: FALSE)
	IsExtranet *bool `json:"IsExtranet,omitnil,omitempty" name:"IsExtranet"`
}

Predefined struct for user

type DeleteClusterEndpointResponse

type DeleteClusterEndpointResponse struct {
	*tchttp.BaseResponse
	Response *DeleteClusterEndpointResponseParams `json:"Response"`
}

func NewDeleteClusterEndpointResponse

func NewDeleteClusterEndpointResponse() (response *DeleteClusterEndpointResponse)

func (*DeleteClusterEndpointResponse) FromJsonString

func (r *DeleteClusterEndpointResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteClusterEndpointResponse) ToJsonString

func (r *DeleteClusterEndpointResponse) ToJsonString() string

type DeleteClusterEndpointResponseParams added in v1.0.426

type DeleteClusterEndpointResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DeleteClusterEndpointVipRequest

type DeleteClusterEndpointVipRequest struct {
	*tchttp.BaseRequest

	// 集群ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
}

func NewDeleteClusterEndpointVipRequest

func NewDeleteClusterEndpointVipRequest() (request *DeleteClusterEndpointVipRequest)

func (*DeleteClusterEndpointVipRequest) FromJsonString

func (r *DeleteClusterEndpointVipRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteClusterEndpointVipRequest) ToJsonString

func (r *DeleteClusterEndpointVipRequest) ToJsonString() string

type DeleteClusterEndpointVipRequestParams added in v1.0.426

type DeleteClusterEndpointVipRequestParams struct {
	// 集群ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
}

Predefined struct for user

type DeleteClusterEndpointVipResponse

type DeleteClusterEndpointVipResponse struct {
	*tchttp.BaseResponse
	Response *DeleteClusterEndpointVipResponseParams `json:"Response"`
}

func NewDeleteClusterEndpointVipResponse

func NewDeleteClusterEndpointVipResponse() (response *DeleteClusterEndpointVipResponse)

func (*DeleteClusterEndpointVipResponse) FromJsonString

func (r *DeleteClusterEndpointVipResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteClusterEndpointVipResponse) ToJsonString

func (r *DeleteClusterEndpointVipResponse) ToJsonString() string

type DeleteClusterEndpointVipResponseParams added in v1.0.426

type DeleteClusterEndpointVipResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DeleteClusterInstancesRequest

type DeleteClusterInstancesRequest struct {
	*tchttp.BaseRequest

	// 集群ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// 主机InstanceId列表
	InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" name:"InstanceIds"`

	// 集群实例删除时的策略:terminate(销毁实例,仅支持按量计费云主机实例) retain (仅移除,保留实例)
	InstanceDeleteMode *string `json:"InstanceDeleteMode,omitnil,omitempty" name:"InstanceDeleteMode"`

	// 是否强制删除(当节点在初始化时,可以指定参数为TRUE)
	ForceDelete *bool `json:"ForceDelete,omitnil,omitempty" name:"ForceDelete"`
}

func NewDeleteClusterInstancesRequest

func NewDeleteClusterInstancesRequest() (request *DeleteClusterInstancesRequest)

func (*DeleteClusterInstancesRequest) FromJsonString

func (r *DeleteClusterInstancesRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteClusterInstancesRequest) ToJsonString

func (r *DeleteClusterInstancesRequest) ToJsonString() string

type DeleteClusterInstancesRequestParams added in v1.0.426

type DeleteClusterInstancesRequestParams struct {
	// 集群ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// 主机InstanceId列表
	InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" name:"InstanceIds"`

	// 集群实例删除时的策略:terminate(销毁实例,仅支持按量计费云主机实例) retain (仅移除,保留实例)
	InstanceDeleteMode *string `json:"InstanceDeleteMode,omitnil,omitempty" name:"InstanceDeleteMode"`

	// 是否强制删除(当节点在初始化时,可以指定参数为TRUE)
	ForceDelete *bool `json:"ForceDelete,omitnil,omitempty" name:"ForceDelete"`
}

Predefined struct for user

type DeleteClusterInstancesResponse

type DeleteClusterInstancesResponse struct {
	*tchttp.BaseResponse
	Response *DeleteClusterInstancesResponseParams `json:"Response"`
}

func NewDeleteClusterInstancesResponse

func NewDeleteClusterInstancesResponse() (response *DeleteClusterInstancesResponse)

func (*DeleteClusterInstancesResponse) FromJsonString

func (r *DeleteClusterInstancesResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteClusterInstancesResponse) ToJsonString

func (r *DeleteClusterInstancesResponse) ToJsonString() string

type DeleteClusterInstancesResponseParams added in v1.0.426

type DeleteClusterInstancesResponseParams struct {
	// 删除成功的实例ID列表
	// 注意:此字段可能返回 null,表示取不到有效值。
	SuccInstanceIds []*string `json:"SuccInstanceIds,omitnil,omitempty" name:"SuccInstanceIds"`

	// 删除失败的实例ID列表
	// 注意:此字段可能返回 null,表示取不到有效值。
	FailedInstanceIds []*string `json:"FailedInstanceIds,omitnil,omitempty" name:"FailedInstanceIds"`

	// 未匹配到的实例ID列表
	// 注意:此字段可能返回 null,表示取不到有效值。
	NotFoundInstanceIds []*string `json:"NotFoundInstanceIds,omitnil,omitempty" name:"NotFoundInstanceIds"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DeleteClusterNodePoolRequest

type DeleteClusterNodePoolRequest struct {
	*tchttp.BaseRequest

	// 节点池对应的 ClusterId
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// 需要删除的节点池 Id 列表
	NodePoolIds []*string `json:"NodePoolIds,omitnil,omitempty" name:"NodePoolIds"`

	// 删除节点池时是否保留节点池内节点(节点仍然会被移出集群,但对应的实例不会被销毁)
	KeepInstance *bool `json:"KeepInstance,omitnil,omitempty" name:"KeepInstance"`
}

func NewDeleteClusterNodePoolRequest

func NewDeleteClusterNodePoolRequest() (request *DeleteClusterNodePoolRequest)

func (*DeleteClusterNodePoolRequest) FromJsonString

func (r *DeleteClusterNodePoolRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteClusterNodePoolRequest) ToJsonString

func (r *DeleteClusterNodePoolRequest) ToJsonString() string

type DeleteClusterNodePoolRequestParams added in v1.0.426

type DeleteClusterNodePoolRequestParams struct {
	// 节点池对应的 ClusterId
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// 需要删除的节点池 Id 列表
	NodePoolIds []*string `json:"NodePoolIds,omitnil,omitempty" name:"NodePoolIds"`

	// 删除节点池时是否保留节点池内节点(节点仍然会被移出集群,但对应的实例不会被销毁)
	KeepInstance *bool `json:"KeepInstance,omitnil,omitempty" name:"KeepInstance"`
}

Predefined struct for user

type DeleteClusterNodePoolResponse

type DeleteClusterNodePoolResponse struct {
	*tchttp.BaseResponse
	Response *DeleteClusterNodePoolResponseParams `json:"Response"`
}

func NewDeleteClusterNodePoolResponse

func NewDeleteClusterNodePoolResponse() (response *DeleteClusterNodePoolResponse)

func (*DeleteClusterNodePoolResponse) FromJsonString

func (r *DeleteClusterNodePoolResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteClusterNodePoolResponse) ToJsonString

func (r *DeleteClusterNodePoolResponse) ToJsonString() string

type DeleteClusterNodePoolResponseParams added in v1.0.426

type DeleteClusterNodePoolResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DeleteClusterRequest

type DeleteClusterRequest struct {
	*tchttp.BaseRequest

	// 集群ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// 集群实例删除时的策略:terminate(销毁实例,仅支持按量计费云主机实例) retain (仅移除,保留实例)
	InstanceDeleteMode *string `json:"InstanceDeleteMode,omitnil,omitempty" name:"InstanceDeleteMode"`

	// 集群删除时资源的删除策略,目前支持CBS(默认保留CBS)
	ResourceDeleteOptions []*ResourceDeleteOption `json:"ResourceDeleteOptions,omitnil,omitempty" name:"ResourceDeleteOptions"`
}

func NewDeleteClusterRequest

func NewDeleteClusterRequest() (request *DeleteClusterRequest)

func (*DeleteClusterRequest) FromJsonString

func (r *DeleteClusterRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteClusterRequest) ToJsonString

func (r *DeleteClusterRequest) ToJsonString() string

type DeleteClusterRequestParams added in v1.0.426

type DeleteClusterRequestParams struct {
	// 集群ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// 集群实例删除时的策略:terminate(销毁实例,仅支持按量计费云主机实例) retain (仅移除,保留实例)
	InstanceDeleteMode *string `json:"InstanceDeleteMode,omitnil,omitempty" name:"InstanceDeleteMode"`

	// 集群删除时资源的删除策略,目前支持CBS(默认保留CBS)
	ResourceDeleteOptions []*ResourceDeleteOption `json:"ResourceDeleteOptions,omitnil,omitempty" name:"ResourceDeleteOptions"`
}

Predefined struct for user

type DeleteClusterResponse

type DeleteClusterResponse struct {
	*tchttp.BaseResponse
	Response *DeleteClusterResponseParams `json:"Response"`
}

func NewDeleteClusterResponse

func NewDeleteClusterResponse() (response *DeleteClusterResponse)

func (*DeleteClusterResponse) FromJsonString

func (r *DeleteClusterResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteClusterResponse) ToJsonString

func (r *DeleteClusterResponse) ToJsonString() string

type DeleteClusterResponseParams added in v1.0.426

type DeleteClusterResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DeleteClusterRouteRequest

type DeleteClusterRouteRequest struct {
	*tchttp.BaseRequest

	// 路由表名称。
	RouteTableName *string `json:"RouteTableName,omitnil,omitempty" name:"RouteTableName"`

	// 下一跳地址。
	GatewayIp *string `json:"GatewayIp,omitnil,omitempty" name:"GatewayIp"`

	// 目的端CIDR。
	DestinationCidrBlock *string `json:"DestinationCidrBlock,omitnil,omitempty" name:"DestinationCidrBlock"`
}

func NewDeleteClusterRouteRequest

func NewDeleteClusterRouteRequest() (request *DeleteClusterRouteRequest)

func (*DeleteClusterRouteRequest) FromJsonString

func (r *DeleteClusterRouteRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteClusterRouteRequest) ToJsonString

func (r *DeleteClusterRouteRequest) ToJsonString() string

type DeleteClusterRouteRequestParams added in v1.0.426

type DeleteClusterRouteRequestParams struct {
	// 路由表名称。
	RouteTableName *string `json:"RouteTableName,omitnil,omitempty" name:"RouteTableName"`

	// 下一跳地址。
	GatewayIp *string `json:"GatewayIp,omitnil,omitempty" name:"GatewayIp"`

	// 目的端CIDR。
	DestinationCidrBlock *string `json:"DestinationCidrBlock,omitnil,omitempty" name:"DestinationCidrBlock"`
}

Predefined struct for user

type DeleteClusterRouteResponse

type DeleteClusterRouteResponse struct {
	*tchttp.BaseResponse
	Response *DeleteClusterRouteResponseParams `json:"Response"`
}

func NewDeleteClusterRouteResponse

func NewDeleteClusterRouteResponse() (response *DeleteClusterRouteResponse)

func (*DeleteClusterRouteResponse) FromJsonString

func (r *DeleteClusterRouteResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteClusterRouteResponse) ToJsonString

func (r *DeleteClusterRouteResponse) ToJsonString() string

type DeleteClusterRouteResponseParams added in v1.0.426

type DeleteClusterRouteResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DeleteClusterRouteTableRequest

type DeleteClusterRouteTableRequest struct {
	*tchttp.BaseRequest

	// 路由表名称
	RouteTableName *string `json:"RouteTableName,omitnil,omitempty" name:"RouteTableName"`
}

func NewDeleteClusterRouteTableRequest

func NewDeleteClusterRouteTableRequest() (request *DeleteClusterRouteTableRequest)

func (*DeleteClusterRouteTableRequest) FromJsonString

func (r *DeleteClusterRouteTableRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteClusterRouteTableRequest) ToJsonString

func (r *DeleteClusterRouteTableRequest) ToJsonString() string

type DeleteClusterRouteTableRequestParams added in v1.0.426

type DeleteClusterRouteTableRequestParams struct {
	// 路由表名称
	RouteTableName *string `json:"RouteTableName,omitnil,omitempty" name:"RouteTableName"`
}

Predefined struct for user

type DeleteClusterRouteTableResponse

type DeleteClusterRouteTableResponse struct {
	*tchttp.BaseResponse
	Response *DeleteClusterRouteTableResponseParams `json:"Response"`
}

func NewDeleteClusterRouteTableResponse

func NewDeleteClusterRouteTableResponse() (response *DeleteClusterRouteTableResponse)

func (*DeleteClusterRouteTableResponse) FromJsonString

func (r *DeleteClusterRouteTableResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteClusterRouteTableResponse) ToJsonString

func (r *DeleteClusterRouteTableResponse) ToJsonString() string

type DeleteClusterRouteTableResponseParams added in v1.0.426

type DeleteClusterRouteTableResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DeleteClusterVirtualNodePoolRequest added in v1.0.575

type DeleteClusterVirtualNodePoolRequest struct {
	*tchttp.BaseRequest

	// 集群ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// 虚拟节点池ID列表
	NodePoolIds []*string `json:"NodePoolIds,omitnil,omitempty" name:"NodePoolIds"`

	// 是否强制删除,在虚拟节点上有pod的情况下,如果选择非强制删除,则删除会失败
	Force *bool `json:"Force,omitnil,omitempty" name:"Force"`
}

func NewDeleteClusterVirtualNodePoolRequest added in v1.0.575

func NewDeleteClusterVirtualNodePoolRequest() (request *DeleteClusterVirtualNodePoolRequest)

func (*DeleteClusterVirtualNodePoolRequest) FromJsonString added in v1.0.575

func (r *DeleteClusterVirtualNodePoolRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteClusterVirtualNodePoolRequest) ToJsonString added in v1.0.575

func (r *DeleteClusterVirtualNodePoolRequest) ToJsonString() string

type DeleteClusterVirtualNodePoolRequestParams added in v1.0.575

type DeleteClusterVirtualNodePoolRequestParams struct {
	// 集群ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// 虚拟节点池ID列表
	NodePoolIds []*string `json:"NodePoolIds,omitnil,omitempty" name:"NodePoolIds"`

	// 是否强制删除,在虚拟节点上有pod的情况下,如果选择非强制删除,则删除会失败
	Force *bool `json:"Force,omitnil,omitempty" name:"Force"`
}

Predefined struct for user

type DeleteClusterVirtualNodePoolResponse added in v1.0.575

type DeleteClusterVirtualNodePoolResponse struct {
	*tchttp.BaseResponse
	Response *DeleteClusterVirtualNodePoolResponseParams `json:"Response"`
}

func NewDeleteClusterVirtualNodePoolResponse added in v1.0.575

func NewDeleteClusterVirtualNodePoolResponse() (response *DeleteClusterVirtualNodePoolResponse)

func (*DeleteClusterVirtualNodePoolResponse) FromJsonString added in v1.0.575

func (r *DeleteClusterVirtualNodePoolResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteClusterVirtualNodePoolResponse) ToJsonString added in v1.0.575

func (r *DeleteClusterVirtualNodePoolResponse) ToJsonString() string

type DeleteClusterVirtualNodePoolResponseParams added in v1.0.575

type DeleteClusterVirtualNodePoolResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DeleteClusterVirtualNodeRequest added in v1.0.575

type DeleteClusterVirtualNodeRequest struct {
	*tchttp.BaseRequest

	// 集群ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// 虚拟节点列表
	NodeNames []*string `json:"NodeNames,omitnil,omitempty" name:"NodeNames"`

	// 是否强制删除:如果虚拟节点上有运行中Pod,则非强制删除状态下不会进行删除
	Force *bool `json:"Force,omitnil,omitempty" name:"Force"`
}

func NewDeleteClusterVirtualNodeRequest added in v1.0.575

func NewDeleteClusterVirtualNodeRequest() (request *DeleteClusterVirtualNodeRequest)

func (*DeleteClusterVirtualNodeRequest) FromJsonString added in v1.0.575

func (r *DeleteClusterVirtualNodeRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteClusterVirtualNodeRequest) ToJsonString added in v1.0.575

func (r *DeleteClusterVirtualNodeRequest) ToJsonString() string

type DeleteClusterVirtualNodeRequestParams added in v1.0.575

type DeleteClusterVirtualNodeRequestParams struct {
	// 集群ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// 虚拟节点列表
	NodeNames []*string `json:"NodeNames,omitnil,omitempty" name:"NodeNames"`

	// 是否强制删除:如果虚拟节点上有运行中Pod,则非强制删除状态下不会进行删除
	Force *bool `json:"Force,omitnil,omitempty" name:"Force"`
}

Predefined struct for user

type DeleteClusterVirtualNodeResponse added in v1.0.575

type DeleteClusterVirtualNodeResponse struct {
	*tchttp.BaseResponse
	Response *DeleteClusterVirtualNodeResponseParams `json:"Response"`
}

func NewDeleteClusterVirtualNodeResponse added in v1.0.575

func NewDeleteClusterVirtualNodeResponse() (response *DeleteClusterVirtualNodeResponse)

func (*DeleteClusterVirtualNodeResponse) FromJsonString added in v1.0.575

func (r *DeleteClusterVirtualNodeResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteClusterVirtualNodeResponse) ToJsonString added in v1.0.575

func (r *DeleteClusterVirtualNodeResponse) ToJsonString() string

type DeleteClusterVirtualNodeResponseParams added in v1.0.575

type DeleteClusterVirtualNodeResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DeleteECMInstancesRequest added in v1.0.412

type DeleteECMInstancesRequest struct {
	*tchttp.BaseRequest

	// 集群ID
	ClusterID *string `json:"ClusterID,omitnil,omitempty" name:"ClusterID"`

	// ecm id集合
	EcmIdSet []*string `json:"EcmIdSet,omitnil,omitempty" name:"EcmIdSet"`
}

func NewDeleteECMInstancesRequest added in v1.0.412

func NewDeleteECMInstancesRequest() (request *DeleteECMInstancesRequest)

func (*DeleteECMInstancesRequest) FromJsonString added in v1.0.412

func (r *DeleteECMInstancesRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteECMInstancesRequest) ToJsonString added in v1.0.412

func (r *DeleteECMInstancesRequest) ToJsonString() string

type DeleteECMInstancesRequestParams added in v1.0.426

type DeleteECMInstancesRequestParams struct {
	// 集群ID
	ClusterID *string `json:"ClusterID,omitnil,omitempty" name:"ClusterID"`

	// ecm id集合
	EcmIdSet []*string `json:"EcmIdSet,omitnil,omitempty" name:"EcmIdSet"`
}

Predefined struct for user

type DeleteECMInstancesResponse added in v1.0.412

type DeleteECMInstancesResponse struct {
	*tchttp.BaseResponse
	Response *DeleteECMInstancesResponseParams `json:"Response"`
}

func NewDeleteECMInstancesResponse added in v1.0.412

func NewDeleteECMInstancesResponse() (response *DeleteECMInstancesResponse)

func (*DeleteECMInstancesResponse) FromJsonString added in v1.0.412

func (r *DeleteECMInstancesResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteECMInstancesResponse) ToJsonString added in v1.0.412

func (r *DeleteECMInstancesResponse) ToJsonString() string

type DeleteECMInstancesResponseParams added in v1.0.426

type DeleteECMInstancesResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DeleteEKSClusterRequest

type DeleteEKSClusterRequest struct {
	*tchttp.BaseRequest

	// 弹性集群Id
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
}

func NewDeleteEKSClusterRequest

func NewDeleteEKSClusterRequest() (request *DeleteEKSClusterRequest)

func (*DeleteEKSClusterRequest) FromJsonString

func (r *DeleteEKSClusterRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteEKSClusterRequest) ToJsonString

func (r *DeleteEKSClusterRequest) ToJsonString() string

type DeleteEKSClusterRequestParams added in v1.0.426

type DeleteEKSClusterRequestParams struct {
	// 弹性集群Id
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
}

Predefined struct for user

type DeleteEKSClusterResponse

type DeleteEKSClusterResponse struct {
	*tchttp.BaseResponse
	Response *DeleteEKSClusterResponseParams `json:"Response"`
}

func NewDeleteEKSClusterResponse

func NewDeleteEKSClusterResponse() (response *DeleteEKSClusterResponse)

func (*DeleteEKSClusterResponse) FromJsonString

func (r *DeleteEKSClusterResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteEKSClusterResponse) ToJsonString

func (r *DeleteEKSClusterResponse) ToJsonString() string

type DeleteEKSClusterResponseParams added in v1.0.426

type DeleteEKSClusterResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DeleteEKSContainerInstancesRequest added in v1.0.254

type DeleteEKSContainerInstancesRequest struct {
	*tchttp.BaseRequest

	// 需要删除的EksCi的Id。 最大数量不超过20
	EksCiIds []*string `json:"EksCiIds,omitnil,omitempty" name:"EksCiIds"`

	// 是否释放为EksCi自动创建的Eip
	ReleaseAutoCreatedEip *bool `json:"ReleaseAutoCreatedEip,omitnil,omitempty" name:"ReleaseAutoCreatedEip"`
}

func NewDeleteEKSContainerInstancesRequest added in v1.0.254

func NewDeleteEKSContainerInstancesRequest() (request *DeleteEKSContainerInstancesRequest)

func (*DeleteEKSContainerInstancesRequest) FromJsonString added in v1.0.254

func (r *DeleteEKSContainerInstancesRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteEKSContainerInstancesRequest) ToJsonString added in v1.0.254

func (r *DeleteEKSContainerInstancesRequest) ToJsonString() string

type DeleteEKSContainerInstancesRequestParams added in v1.0.426

type DeleteEKSContainerInstancesRequestParams struct {
	// 需要删除的EksCi的Id。 最大数量不超过20
	EksCiIds []*string `json:"EksCiIds,omitnil,omitempty" name:"EksCiIds"`

	// 是否释放为EksCi自动创建的Eip
	ReleaseAutoCreatedEip *bool `json:"ReleaseAutoCreatedEip,omitnil,omitempty" name:"ReleaseAutoCreatedEip"`
}

Predefined struct for user

type DeleteEKSContainerInstancesResponse added in v1.0.254

type DeleteEKSContainerInstancesResponse struct {
	*tchttp.BaseResponse
	Response *DeleteEKSContainerInstancesResponseParams `json:"Response"`
}

func NewDeleteEKSContainerInstancesResponse added in v1.0.254

func NewDeleteEKSContainerInstancesResponse() (response *DeleteEKSContainerInstancesResponse)

func (*DeleteEKSContainerInstancesResponse) FromJsonString added in v1.0.254

func (r *DeleteEKSContainerInstancesResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteEKSContainerInstancesResponse) ToJsonString added in v1.0.254

func (r *DeleteEKSContainerInstancesResponse) ToJsonString() string

type DeleteEKSContainerInstancesResponseParams added in v1.0.426

type DeleteEKSContainerInstancesResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DeleteEdgeCVMInstancesRequest added in v1.0.412

type DeleteEdgeCVMInstancesRequest struct {
	*tchttp.BaseRequest

	// 集群ID
	ClusterID *string `json:"ClusterID,omitnil,omitempty" name:"ClusterID"`

	// cvm id集合
	CvmIdSet []*string `json:"CvmIdSet,omitnil,omitempty" name:"CvmIdSet"`
}

func NewDeleteEdgeCVMInstancesRequest added in v1.0.412

func NewDeleteEdgeCVMInstancesRequest() (request *DeleteEdgeCVMInstancesRequest)

func (*DeleteEdgeCVMInstancesRequest) FromJsonString added in v1.0.412

func (r *DeleteEdgeCVMInstancesRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteEdgeCVMInstancesRequest) ToJsonString added in v1.0.412

func (r *DeleteEdgeCVMInstancesRequest) ToJsonString() string

type DeleteEdgeCVMInstancesRequestParams added in v1.0.426

type DeleteEdgeCVMInstancesRequestParams struct {
	// 集群ID
	ClusterID *string `json:"ClusterID,omitnil,omitempty" name:"ClusterID"`

	// cvm id集合
	CvmIdSet []*string `json:"CvmIdSet,omitnil,omitempty" name:"CvmIdSet"`
}

Predefined struct for user

type DeleteEdgeCVMInstancesResponse added in v1.0.412

type DeleteEdgeCVMInstancesResponse struct {
	*tchttp.BaseResponse
	Response *DeleteEdgeCVMInstancesResponseParams `json:"Response"`
}

func NewDeleteEdgeCVMInstancesResponse added in v1.0.412

func NewDeleteEdgeCVMInstancesResponse() (response *DeleteEdgeCVMInstancesResponse)

func (*DeleteEdgeCVMInstancesResponse) FromJsonString added in v1.0.412

func (r *DeleteEdgeCVMInstancesResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteEdgeCVMInstancesResponse) ToJsonString added in v1.0.412

func (r *DeleteEdgeCVMInstancesResponse) ToJsonString() string

type DeleteEdgeCVMInstancesResponseParams added in v1.0.426

type DeleteEdgeCVMInstancesResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DeleteEdgeClusterInstancesRequest added in v1.0.412

type DeleteEdgeClusterInstancesRequest struct {
	*tchttp.BaseRequest

	// 集群ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// 待删除实例ID数组
	InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" name:"InstanceIds"`
}

func NewDeleteEdgeClusterInstancesRequest added in v1.0.412

func NewDeleteEdgeClusterInstancesRequest() (request *DeleteEdgeClusterInstancesRequest)

func (*DeleteEdgeClusterInstancesRequest) FromJsonString added in v1.0.412

func (r *DeleteEdgeClusterInstancesRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteEdgeClusterInstancesRequest) ToJsonString added in v1.0.412

func (r *DeleteEdgeClusterInstancesRequest) ToJsonString() string

type DeleteEdgeClusterInstancesRequestParams added in v1.0.426

type DeleteEdgeClusterInstancesRequestParams struct {
	// 集群ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// 待删除实例ID数组
	InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" name:"InstanceIds"`
}

Predefined struct for user

type DeleteEdgeClusterInstancesResponse added in v1.0.412

type DeleteEdgeClusterInstancesResponse struct {
	*tchttp.BaseResponse
	Response *DeleteEdgeClusterInstancesResponseParams `json:"Response"`
}

func NewDeleteEdgeClusterInstancesResponse added in v1.0.412

func NewDeleteEdgeClusterInstancesResponse() (response *DeleteEdgeClusterInstancesResponse)

func (*DeleteEdgeClusterInstancesResponse) FromJsonString added in v1.0.412

func (r *DeleteEdgeClusterInstancesResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteEdgeClusterInstancesResponse) ToJsonString added in v1.0.412

func (r *DeleteEdgeClusterInstancesResponse) ToJsonString() string

type DeleteEdgeClusterInstancesResponseParams added in v1.0.426

type DeleteEdgeClusterInstancesResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DeleteImageCachesRequest added in v1.0.363

type DeleteImageCachesRequest struct {
	*tchttp.BaseRequest

	// 镜像缓存Id数组
	ImageCacheIds []*string `json:"ImageCacheIds,omitnil,omitempty" name:"ImageCacheIds"`
}

func NewDeleteImageCachesRequest added in v1.0.363

func NewDeleteImageCachesRequest() (request *DeleteImageCachesRequest)

func (*DeleteImageCachesRequest) FromJsonString added in v1.0.363

func (r *DeleteImageCachesRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteImageCachesRequest) ToJsonString added in v1.0.363

func (r *DeleteImageCachesRequest) ToJsonString() string

type DeleteImageCachesRequestParams added in v1.0.426

type DeleteImageCachesRequestParams struct {
	// 镜像缓存Id数组
	ImageCacheIds []*string `json:"ImageCacheIds,omitnil,omitempty" name:"ImageCacheIds"`
}

Predefined struct for user

type DeleteImageCachesResponse added in v1.0.363

type DeleteImageCachesResponse struct {
	*tchttp.BaseResponse
	Response *DeleteImageCachesResponseParams `json:"Response"`
}

func NewDeleteImageCachesResponse added in v1.0.363

func NewDeleteImageCachesResponse() (response *DeleteImageCachesResponse)

func (*DeleteImageCachesResponse) FromJsonString added in v1.0.363

func (r *DeleteImageCachesResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteImageCachesResponse) ToJsonString added in v1.0.363

func (r *DeleteImageCachesResponse) ToJsonString() string

type DeleteImageCachesResponseParams added in v1.0.426

type DeleteImageCachesResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DeletePrometheusAlertPolicyRequest added in v1.0.401

type DeletePrometheusAlertPolicyRequest struct {
	*tchttp.BaseRequest

	// 实例id
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// 告警策略id列表
	AlertIds []*string `json:"AlertIds,omitnil,omitempty" name:"AlertIds"`

	// 告警策略名称
	Names []*string `json:"Names,omitnil,omitempty" name:"Names"`
}

func NewDeletePrometheusAlertPolicyRequest added in v1.0.401

func NewDeletePrometheusAlertPolicyRequest() (request *DeletePrometheusAlertPolicyRequest)

func (*DeletePrometheusAlertPolicyRequest) FromJsonString added in v1.0.401

func (r *DeletePrometheusAlertPolicyRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeletePrometheusAlertPolicyRequest) ToJsonString added in v1.0.401

func (r *DeletePrometheusAlertPolicyRequest) ToJsonString() string

type DeletePrometheusAlertPolicyRequestParams added in v1.0.426

type DeletePrometheusAlertPolicyRequestParams struct {
	// 实例id
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// 告警策略id列表
	AlertIds []*string `json:"AlertIds,omitnil,omitempty" name:"AlertIds"`

	// 告警策略名称
	Names []*string `json:"Names,omitnil,omitempty" name:"Names"`
}

Predefined struct for user

type DeletePrometheusAlertPolicyResponse added in v1.0.401

type DeletePrometheusAlertPolicyResponse struct {
	*tchttp.BaseResponse
	Response *DeletePrometheusAlertPolicyResponseParams `json:"Response"`
}

func NewDeletePrometheusAlertPolicyResponse added in v1.0.401

func NewDeletePrometheusAlertPolicyResponse() (response *DeletePrometheusAlertPolicyResponse)

func (*DeletePrometheusAlertPolicyResponse) FromJsonString added in v1.0.401

func (r *DeletePrometheusAlertPolicyResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeletePrometheusAlertPolicyResponse) ToJsonString added in v1.0.401

func (r *DeletePrometheusAlertPolicyResponse) ToJsonString() string

type DeletePrometheusAlertPolicyResponseParams added in v1.0.426

type DeletePrometheusAlertPolicyResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DeletePrometheusAlertRuleRequest added in v1.0.218

type DeletePrometheusAlertRuleRequest struct {
	*tchttp.BaseRequest

	// 实例id
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// 告警规则id列表
	AlertIds []*string `json:"AlertIds,omitnil,omitempty" name:"AlertIds"`
}

func NewDeletePrometheusAlertRuleRequest added in v1.0.218

func NewDeletePrometheusAlertRuleRequest() (request *DeletePrometheusAlertRuleRequest)

func (*DeletePrometheusAlertRuleRequest) FromJsonString added in v1.0.218

func (r *DeletePrometheusAlertRuleRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeletePrometheusAlertRuleRequest) ToJsonString added in v1.0.218

func (r *DeletePrometheusAlertRuleRequest) ToJsonString() string

type DeletePrometheusAlertRuleRequestParams added in v1.0.426

type DeletePrometheusAlertRuleRequestParams struct {
	// 实例id
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// 告警规则id列表
	AlertIds []*string `json:"AlertIds,omitnil,omitempty" name:"AlertIds"`
}

Predefined struct for user

type DeletePrometheusAlertRuleResponse added in v1.0.218

type DeletePrometheusAlertRuleResponse struct {
	*tchttp.BaseResponse
	Response *DeletePrometheusAlertRuleResponseParams `json:"Response"`
}

func NewDeletePrometheusAlertRuleResponse added in v1.0.218

func NewDeletePrometheusAlertRuleResponse() (response *DeletePrometheusAlertRuleResponse)

func (*DeletePrometheusAlertRuleResponse) FromJsonString added in v1.0.218

func (r *DeletePrometheusAlertRuleResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeletePrometheusAlertRuleResponse) ToJsonString added in v1.0.218

func (r *DeletePrometheusAlertRuleResponse) ToJsonString() string

type DeletePrometheusAlertRuleResponseParams added in v1.0.426

type DeletePrometheusAlertRuleResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DeletePrometheusClusterAgentRequest added in v1.0.432

type DeletePrometheusClusterAgentRequest struct {
	*tchttp.BaseRequest

	// agent列表
	Agents []*PrometheusAgentInfo `json:"Agents,omitnil,omitempty" name:"Agents"`

	// 实例id
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
}

func NewDeletePrometheusClusterAgentRequest added in v1.0.432

func NewDeletePrometheusClusterAgentRequest() (request *DeletePrometheusClusterAgentRequest)

func (*DeletePrometheusClusterAgentRequest) FromJsonString added in v1.0.432

func (r *DeletePrometheusClusterAgentRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeletePrometheusClusterAgentRequest) ToJsonString added in v1.0.432

func (r *DeletePrometheusClusterAgentRequest) ToJsonString() string

type DeletePrometheusClusterAgentRequestParams added in v1.0.432

type DeletePrometheusClusterAgentRequestParams struct {
	// agent列表
	Agents []*PrometheusAgentInfo `json:"Agents,omitnil,omitempty" name:"Agents"`

	// 实例id
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
}

Predefined struct for user

type DeletePrometheusClusterAgentResponse added in v1.0.432

type DeletePrometheusClusterAgentResponse struct {
	*tchttp.BaseResponse
	Response *DeletePrometheusClusterAgentResponseParams `json:"Response"`
}

func NewDeletePrometheusClusterAgentResponse added in v1.0.432

func NewDeletePrometheusClusterAgentResponse() (response *DeletePrometheusClusterAgentResponse)

func (*DeletePrometheusClusterAgentResponse) FromJsonString added in v1.0.432

func (r *DeletePrometheusClusterAgentResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeletePrometheusClusterAgentResponse) ToJsonString added in v1.0.432

func (r *DeletePrometheusClusterAgentResponse) ToJsonString() string

type DeletePrometheusClusterAgentResponseParams added in v1.0.432

type DeletePrometheusClusterAgentResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DeletePrometheusConfigRequest added in v1.0.432

type DeletePrometheusConfigRequest struct {
	*tchttp.BaseRequest

	// 实例id
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// 集群类型
	ClusterType *string `json:"ClusterType,omitnil,omitempty" name:"ClusterType"`

	// 集群id
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// 要删除的ServiceMonitor名字列表
	ServiceMonitors []*string `json:"ServiceMonitors,omitnil,omitempty" name:"ServiceMonitors"`

	// 要删除的PodMonitor名字列表
	PodMonitors []*string `json:"PodMonitors,omitnil,omitempty" name:"PodMonitors"`

	// 要删除的RawJobs名字列表
	RawJobs []*string `json:"RawJobs,omitnil,omitempty" name:"RawJobs"`
}

func NewDeletePrometheusConfigRequest added in v1.0.432

func NewDeletePrometheusConfigRequest() (request *DeletePrometheusConfigRequest)

func (*DeletePrometheusConfigRequest) FromJsonString added in v1.0.432

func (r *DeletePrometheusConfigRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeletePrometheusConfigRequest) ToJsonString added in v1.0.432

func (r *DeletePrometheusConfigRequest) ToJsonString() string

type DeletePrometheusConfigRequestParams added in v1.0.432

type DeletePrometheusConfigRequestParams struct {
	// 实例id
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// 集群类型
	ClusterType *string `json:"ClusterType,omitnil,omitempty" name:"ClusterType"`

	// 集群id
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// 要删除的ServiceMonitor名字列表
	ServiceMonitors []*string `json:"ServiceMonitors,omitnil,omitempty" name:"ServiceMonitors"`

	// 要删除的PodMonitor名字列表
	PodMonitors []*string `json:"PodMonitors,omitnil,omitempty" name:"PodMonitors"`

	// 要删除的RawJobs名字列表
	RawJobs []*string `json:"RawJobs,omitnil,omitempty" name:"RawJobs"`
}

Predefined struct for user

type DeletePrometheusConfigResponse added in v1.0.432

type DeletePrometheusConfigResponse struct {
	*tchttp.BaseResponse
	Response *DeletePrometheusConfigResponseParams `json:"Response"`
}

func NewDeletePrometheusConfigResponse added in v1.0.432

func NewDeletePrometheusConfigResponse() (response *DeletePrometheusConfigResponse)

func (*DeletePrometheusConfigResponse) FromJsonString added in v1.0.432

func (r *DeletePrometheusConfigResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeletePrometheusConfigResponse) ToJsonString added in v1.0.432

func (r *DeletePrometheusConfigResponse) ToJsonString() string

type DeletePrometheusConfigResponseParams added in v1.0.432

type DeletePrometheusConfigResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DeletePrometheusRecordRuleYamlRequest added in v1.0.432

type DeletePrometheusRecordRuleYamlRequest struct {
	*tchttp.BaseRequest

	// 实例id
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// 聚合规则列表
	Names []*string `json:"Names,omitnil,omitempty" name:"Names"`
}

func NewDeletePrometheusRecordRuleYamlRequest added in v1.0.432

func NewDeletePrometheusRecordRuleYamlRequest() (request *DeletePrometheusRecordRuleYamlRequest)

func (*DeletePrometheusRecordRuleYamlRequest) FromJsonString added in v1.0.432

func (r *DeletePrometheusRecordRuleYamlRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeletePrometheusRecordRuleYamlRequest) ToJsonString added in v1.0.432

type DeletePrometheusRecordRuleYamlRequestParams added in v1.0.432

type DeletePrometheusRecordRuleYamlRequestParams struct {
	// 实例id
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// 聚合规则列表
	Names []*string `json:"Names,omitnil,omitempty" name:"Names"`
}

Predefined struct for user

type DeletePrometheusRecordRuleYamlResponse added in v1.0.432

type DeletePrometheusRecordRuleYamlResponse struct {
	*tchttp.BaseResponse
	Response *DeletePrometheusRecordRuleYamlResponseParams `json:"Response"`
}

func NewDeletePrometheusRecordRuleYamlResponse added in v1.0.432

func NewDeletePrometheusRecordRuleYamlResponse() (response *DeletePrometheusRecordRuleYamlResponse)

func (*DeletePrometheusRecordRuleYamlResponse) FromJsonString added in v1.0.432

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeletePrometheusRecordRuleYamlResponse) ToJsonString added in v1.0.432

type DeletePrometheusRecordRuleYamlResponseParams added in v1.0.432

type DeletePrometheusRecordRuleYamlResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DeletePrometheusTempRequest added in v1.0.401

type DeletePrometheusTempRequest struct {
	*tchttp.BaseRequest

	// 模板id
	TemplateId *string `json:"TemplateId,omitnil,omitempty" name:"TemplateId"`
}

func NewDeletePrometheusTempRequest added in v1.0.401

func NewDeletePrometheusTempRequest() (request *DeletePrometheusTempRequest)

func (*DeletePrometheusTempRequest) FromJsonString added in v1.0.401

func (r *DeletePrometheusTempRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeletePrometheusTempRequest) ToJsonString added in v1.0.401

func (r *DeletePrometheusTempRequest) ToJsonString() string

type DeletePrometheusTempRequestParams added in v1.0.426

type DeletePrometheusTempRequestParams struct {
	// 模板id
	TemplateId *string `json:"TemplateId,omitnil,omitempty" name:"TemplateId"`
}

Predefined struct for user

type DeletePrometheusTempResponse added in v1.0.401

type DeletePrometheusTempResponse struct {
	*tchttp.BaseResponse
	Response *DeletePrometheusTempResponseParams `json:"Response"`
}

func NewDeletePrometheusTempResponse added in v1.0.401

func NewDeletePrometheusTempResponse() (response *DeletePrometheusTempResponse)

func (*DeletePrometheusTempResponse) FromJsonString added in v1.0.401

func (r *DeletePrometheusTempResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeletePrometheusTempResponse) ToJsonString added in v1.0.401

func (r *DeletePrometheusTempResponse) ToJsonString() string

type DeletePrometheusTempResponseParams added in v1.0.426

type DeletePrometheusTempResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DeletePrometheusTempSyncRequest added in v1.0.401

type DeletePrometheusTempSyncRequest struct {
	*tchttp.BaseRequest

	// 模板id
	TemplateId *string `json:"TemplateId,omitnil,omitempty" name:"TemplateId"`

	// 取消同步的对象列表
	Targets []*PrometheusTemplateSyncTarget `json:"Targets,omitnil,omitempty" name:"Targets"`
}

func NewDeletePrometheusTempSyncRequest added in v1.0.401

func NewDeletePrometheusTempSyncRequest() (request *DeletePrometheusTempSyncRequest)

func (*DeletePrometheusTempSyncRequest) FromJsonString added in v1.0.401

func (r *DeletePrometheusTempSyncRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeletePrometheusTempSyncRequest) ToJsonString added in v1.0.401

func (r *DeletePrometheusTempSyncRequest) ToJsonString() string

type DeletePrometheusTempSyncRequestParams added in v1.0.426

type DeletePrometheusTempSyncRequestParams struct {
	// 模板id
	TemplateId *string `json:"TemplateId,omitnil,omitempty" name:"TemplateId"`

	// 取消同步的对象列表
	Targets []*PrometheusTemplateSyncTarget `json:"Targets,omitnil,omitempty" name:"Targets"`
}

Predefined struct for user

type DeletePrometheusTempSyncResponse added in v1.0.401

type DeletePrometheusTempSyncResponse struct {
	*tchttp.BaseResponse
	Response *DeletePrometheusTempSyncResponseParams `json:"Response"`
}

func NewDeletePrometheusTempSyncResponse added in v1.0.401

func NewDeletePrometheusTempSyncResponse() (response *DeletePrometheusTempSyncResponse)

func (*DeletePrometheusTempSyncResponse) FromJsonString added in v1.0.401

func (r *DeletePrometheusTempSyncResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeletePrometheusTempSyncResponse) ToJsonString added in v1.0.401

func (r *DeletePrometheusTempSyncResponse) ToJsonString() string

type DeletePrometheusTempSyncResponseParams added in v1.0.426

type DeletePrometheusTempSyncResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DeletePrometheusTemplateRequest

type DeletePrometheusTemplateRequest struct {
	*tchttp.BaseRequest

	// 模板id
	TemplateId *string `json:"TemplateId,omitnil,omitempty" name:"TemplateId"`
}

func NewDeletePrometheusTemplateRequest

func NewDeletePrometheusTemplateRequest() (request *DeletePrometheusTemplateRequest)

func (*DeletePrometheusTemplateRequest) FromJsonString

func (r *DeletePrometheusTemplateRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeletePrometheusTemplateRequest) ToJsonString

func (r *DeletePrometheusTemplateRequest) ToJsonString() string

type DeletePrometheusTemplateRequestParams added in v1.0.426

type DeletePrometheusTemplateRequestParams struct {
	// 模板id
	TemplateId *string `json:"TemplateId,omitnil,omitempty" name:"TemplateId"`
}

Predefined struct for user

type DeletePrometheusTemplateResponse

type DeletePrometheusTemplateResponse struct {
	*tchttp.BaseResponse
	Response *DeletePrometheusTemplateResponseParams `json:"Response"`
}

func NewDeletePrometheusTemplateResponse

func NewDeletePrometheusTemplateResponse() (response *DeletePrometheusTemplateResponse)

func (*DeletePrometheusTemplateResponse) FromJsonString

func (r *DeletePrometheusTemplateResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeletePrometheusTemplateResponse) ToJsonString

func (r *DeletePrometheusTemplateResponse) ToJsonString() string

type DeletePrometheusTemplateResponseParams added in v1.0.426

type DeletePrometheusTemplateResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DeletePrometheusTemplateSyncRequest

type DeletePrometheusTemplateSyncRequest struct {
	*tchttp.BaseRequest

	// 模板id
	TemplateId *string `json:"TemplateId,omitnil,omitempty" name:"TemplateId"`

	// 取消同步的对象列表
	Targets []*PrometheusTemplateSyncTarget `json:"Targets,omitnil,omitempty" name:"Targets"`
}

func NewDeletePrometheusTemplateSyncRequest

func NewDeletePrometheusTemplateSyncRequest() (request *DeletePrometheusTemplateSyncRequest)

func (*DeletePrometheusTemplateSyncRequest) FromJsonString

func (r *DeletePrometheusTemplateSyncRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeletePrometheusTemplateSyncRequest) ToJsonString

func (r *DeletePrometheusTemplateSyncRequest) ToJsonString() string

type DeletePrometheusTemplateSyncRequestParams added in v1.0.426

type DeletePrometheusTemplateSyncRequestParams struct {
	// 模板id
	TemplateId *string `json:"TemplateId,omitnil,omitempty" name:"TemplateId"`

	// 取消同步的对象列表
	Targets []*PrometheusTemplateSyncTarget `json:"Targets,omitnil,omitempty" name:"Targets"`
}

Predefined struct for user

type DeletePrometheusTemplateSyncResponse

type DeletePrometheusTemplateSyncResponse struct {
	*tchttp.BaseResponse
	Response *DeletePrometheusTemplateSyncResponseParams `json:"Response"`
}

func NewDeletePrometheusTemplateSyncResponse

func NewDeletePrometheusTemplateSyncResponse() (response *DeletePrometheusTemplateSyncResponse)

func (*DeletePrometheusTemplateSyncResponse) FromJsonString

func (r *DeletePrometheusTemplateSyncResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeletePrometheusTemplateSyncResponse) ToJsonString

func (r *DeletePrometheusTemplateSyncResponse) ToJsonString() string

type DeletePrometheusTemplateSyncResponseParams added in v1.0.426

type DeletePrometheusTemplateSyncResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DeleteReservedInstancesRequest added in v1.0.759

type DeleteReservedInstancesRequest struct {
	*tchttp.BaseRequest

	// 预留券实例ID。
	ReservedInstanceIds []*string `json:"ReservedInstanceIds,omitnil,omitempty" name:"ReservedInstanceIds"`
}

func NewDeleteReservedInstancesRequest added in v1.0.759

func NewDeleteReservedInstancesRequest() (request *DeleteReservedInstancesRequest)

func (*DeleteReservedInstancesRequest) FromJsonString added in v1.0.759

func (r *DeleteReservedInstancesRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteReservedInstancesRequest) ToJsonString added in v1.0.759

func (r *DeleteReservedInstancesRequest) ToJsonString() string

type DeleteReservedInstancesRequestParams added in v1.0.759

type DeleteReservedInstancesRequestParams struct {
	// 预留券实例ID。
	ReservedInstanceIds []*string `json:"ReservedInstanceIds,omitnil,omitempty" name:"ReservedInstanceIds"`
}

Predefined struct for user

type DeleteReservedInstancesResponse added in v1.0.759

type DeleteReservedInstancesResponse struct {
	*tchttp.BaseResponse
	Response *DeleteReservedInstancesResponseParams `json:"Response"`
}

func NewDeleteReservedInstancesResponse added in v1.0.759

func NewDeleteReservedInstancesResponse() (response *DeleteReservedInstancesResponse)

func (*DeleteReservedInstancesResponse) FromJsonString added in v1.0.759

func (r *DeleteReservedInstancesResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteReservedInstancesResponse) ToJsonString added in v1.0.759

func (r *DeleteReservedInstancesResponse) ToJsonString() string

type DeleteReservedInstancesResponseParams added in v1.0.759

type DeleteReservedInstancesResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DeleteTKEEdgeClusterRequest added in v1.0.412

type DeleteTKEEdgeClusterRequest struct {
	*tchttp.BaseRequest

	// 集群ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
}

func NewDeleteTKEEdgeClusterRequest added in v1.0.412

func NewDeleteTKEEdgeClusterRequest() (request *DeleteTKEEdgeClusterRequest)

func (*DeleteTKEEdgeClusterRequest) FromJsonString added in v1.0.412

func (r *DeleteTKEEdgeClusterRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteTKEEdgeClusterRequest) ToJsonString added in v1.0.412

func (r *DeleteTKEEdgeClusterRequest) ToJsonString() string

type DeleteTKEEdgeClusterRequestParams added in v1.0.426

type DeleteTKEEdgeClusterRequestParams struct {
	// 集群ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
}

Predefined struct for user

type DeleteTKEEdgeClusterResponse added in v1.0.412

type DeleteTKEEdgeClusterResponse struct {
	*tchttp.BaseResponse
	Response *DeleteTKEEdgeClusterResponseParams `json:"Response"`
}

func NewDeleteTKEEdgeClusterResponse added in v1.0.412

func NewDeleteTKEEdgeClusterResponse() (response *DeleteTKEEdgeClusterResponse)

func (*DeleteTKEEdgeClusterResponse) FromJsonString added in v1.0.412

func (r *DeleteTKEEdgeClusterResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteTKEEdgeClusterResponse) ToJsonString added in v1.0.412

func (r *DeleteTKEEdgeClusterResponse) ToJsonString() string

type DeleteTKEEdgeClusterResponseParams added in v1.0.426

type DeleteTKEEdgeClusterResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeAddonRequest added in v1.0.684

type DescribeAddonRequest struct {
	*tchttp.BaseRequest

	// 集群ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// addon名称(不传时会返回集群下全部的addon)
	AddonName *string `json:"AddonName,omitnil,omitempty" name:"AddonName"`
}

func NewDescribeAddonRequest added in v1.0.684

func NewDescribeAddonRequest() (request *DescribeAddonRequest)

func (*DescribeAddonRequest) FromJsonString added in v1.0.684

func (r *DescribeAddonRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeAddonRequest) ToJsonString added in v1.0.684

func (r *DescribeAddonRequest) ToJsonString() string

type DescribeAddonRequestParams added in v1.0.684

type DescribeAddonRequestParams struct {
	// 集群ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// addon名称(不传时会返回集群下全部的addon)
	AddonName *string `json:"AddonName,omitnil,omitempty" name:"AddonName"`
}

Predefined struct for user

type DescribeAddonResponse added in v1.0.684

type DescribeAddonResponse struct {
	*tchttp.BaseResponse
	Response *DescribeAddonResponseParams `json:"Response"`
}

func NewDescribeAddonResponse added in v1.0.684

func NewDescribeAddonResponse() (response *DescribeAddonResponse)

func (*DescribeAddonResponse) FromJsonString added in v1.0.684

func (r *DescribeAddonResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeAddonResponse) ToJsonString added in v1.0.684

func (r *DescribeAddonResponse) ToJsonString() string

type DescribeAddonResponseParams added in v1.0.684

type DescribeAddonResponseParams struct {
	// addon列表
	Addons []*Addon `json:"Addons,omitnil,omitempty" name:"Addons"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeAddonValuesRequest added in v1.0.684

type DescribeAddonValuesRequest struct {
	*tchttp.BaseRequest

	// 集群ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// addon名称
	AddonName *string `json:"AddonName,omitnil,omitempty" name:"AddonName"`
}

func NewDescribeAddonValuesRequest added in v1.0.684

func NewDescribeAddonValuesRequest() (request *DescribeAddonValuesRequest)

func (*DescribeAddonValuesRequest) FromJsonString added in v1.0.684

func (r *DescribeAddonValuesRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeAddonValuesRequest) ToJsonString added in v1.0.684

func (r *DescribeAddonValuesRequest) ToJsonString() string

type DescribeAddonValuesRequestParams added in v1.0.684

type DescribeAddonValuesRequestParams struct {
	// 集群ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// addon名称
	AddonName *string `json:"AddonName,omitnil,omitempty" name:"AddonName"`
}

Predefined struct for user

type DescribeAddonValuesResponse added in v1.0.684

type DescribeAddonValuesResponse struct {
	*tchttp.BaseResponse
	Response *DescribeAddonValuesResponseParams `json:"Response"`
}

func NewDescribeAddonValuesResponse added in v1.0.684

func NewDescribeAddonValuesResponse() (response *DescribeAddonValuesResponse)

func (*DescribeAddonValuesResponse) FromJsonString added in v1.0.684

func (r *DescribeAddonValuesResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeAddonValuesResponse) ToJsonString added in v1.0.684

func (r *DescribeAddonValuesResponse) ToJsonString() string

type DescribeAddonValuesResponseParams added in v1.0.684

type DescribeAddonValuesResponseParams struct {
	// 参数列表,如果addon已安装,会使用已设置的参数做渲染,是一个json格式的字符串
	Values *string `json:"Values,omitnil,omitempty" name:"Values"`

	// addon支持的参数列表,使用默认值,是一个json格式的字符串
	DefaultValues *string `json:"DefaultValues,omitnil,omitempty" name:"DefaultValues"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeAvailableClusterVersionRequest

type DescribeAvailableClusterVersionRequest struct {
	*tchttp.BaseRequest

	// 集群 Id。若只查询某个集群可升级的版本,需填写此项。
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// 集群 Id 列表。若查询多个集群可升级的版本,需填写此项。
	ClusterIds []*string `json:"ClusterIds,omitnil,omitempty" name:"ClusterIds"`
}

func NewDescribeAvailableClusterVersionRequest

func NewDescribeAvailableClusterVersionRequest() (request *DescribeAvailableClusterVersionRequest)

func (*DescribeAvailableClusterVersionRequest) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeAvailableClusterVersionRequest) ToJsonString

type DescribeAvailableClusterVersionRequestParams added in v1.0.426

type DescribeAvailableClusterVersionRequestParams struct {
	// 集群 Id。若只查询某个集群可升级的版本,需填写此项。
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// 集群 Id 列表。若查询多个集群可升级的版本,需填写此项。
	ClusterIds []*string `json:"ClusterIds,omitnil,omitempty" name:"ClusterIds"`
}

Predefined struct for user

type DescribeAvailableClusterVersionResponse

type DescribeAvailableClusterVersionResponse struct {
	*tchttp.BaseResponse
	Response *DescribeAvailableClusterVersionResponseParams `json:"Response"`
}

func NewDescribeAvailableClusterVersionResponse

func NewDescribeAvailableClusterVersionResponse() (response *DescribeAvailableClusterVersionResponse)

func (*DescribeAvailableClusterVersionResponse) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeAvailableClusterVersionResponse) ToJsonString

type DescribeAvailableClusterVersionResponseParams added in v1.0.426

type DescribeAvailableClusterVersionResponseParams struct {
	// 可升级的集群版本号
	// 注意:此字段可能返回 null,表示取不到有效值。
	Versions []*string `json:"Versions,omitnil,omitempty" name:"Versions"`

	// 集群信息
	// 注意:此字段可能返回 null,表示取不到有效值。
	Clusters []*ClusterVersion `json:"Clusters,omitnil,omitempty" name:"Clusters"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeAvailableTKEEdgeVersionRequest added in v1.0.412

type DescribeAvailableTKEEdgeVersionRequest struct {
	*tchttp.BaseRequest

	// 填写ClusterId获取当前集群各个组件版本和最新版本
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
}

func NewDescribeAvailableTKEEdgeVersionRequest added in v1.0.412

func NewDescribeAvailableTKEEdgeVersionRequest() (request *DescribeAvailableTKEEdgeVersionRequest)

func (*DescribeAvailableTKEEdgeVersionRequest) FromJsonString added in v1.0.412

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeAvailableTKEEdgeVersionRequest) ToJsonString added in v1.0.412

type DescribeAvailableTKEEdgeVersionRequestParams added in v1.0.426

type DescribeAvailableTKEEdgeVersionRequestParams struct {
	// 填写ClusterId获取当前集群各个组件版本和最新版本
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
}

Predefined struct for user

type DescribeAvailableTKEEdgeVersionResponse added in v1.0.412

type DescribeAvailableTKEEdgeVersionResponse struct {
	*tchttp.BaseResponse
	Response *DescribeAvailableTKEEdgeVersionResponseParams `json:"Response"`
}

func NewDescribeAvailableTKEEdgeVersionResponse added in v1.0.412

func NewDescribeAvailableTKEEdgeVersionResponse() (response *DescribeAvailableTKEEdgeVersionResponse)

func (*DescribeAvailableTKEEdgeVersionResponse) FromJsonString added in v1.0.412

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeAvailableTKEEdgeVersionResponse) ToJsonString added in v1.0.412

type DescribeAvailableTKEEdgeVersionResponseParams added in v1.0.426

type DescribeAvailableTKEEdgeVersionResponseParams struct {
	// 版本列表
	Versions []*string `json:"Versions,omitnil,omitempty" name:"Versions"`

	// 边缘集群最新版本
	// 注意:此字段可能返回 null,表示取不到有效值。
	EdgeVersionLatest *string `json:"EdgeVersionLatest,omitnil,omitempty" name:"EdgeVersionLatest"`

	// 边缘集群当前版本
	// 注意:此字段可能返回 null,表示取不到有效值。
	EdgeVersionCurrent *string `json:"EdgeVersionCurrent,omitnil,omitempty" name:"EdgeVersionCurrent"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeBackupStorageLocationsRequest added in v1.0.644

type DescribeBackupStorageLocationsRequest struct {
	*tchttp.BaseRequest

	// 多个备份仓库名称,如果不填写,默认返回当前地域所有存储仓库名称
	Names []*string `json:"Names,omitnil,omitempty" name:"Names"`
}

func NewDescribeBackupStorageLocationsRequest added in v1.0.644

func NewDescribeBackupStorageLocationsRequest() (request *DescribeBackupStorageLocationsRequest)

func (*DescribeBackupStorageLocationsRequest) FromJsonString added in v1.0.644

func (r *DescribeBackupStorageLocationsRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeBackupStorageLocationsRequest) ToJsonString added in v1.0.644

type DescribeBackupStorageLocationsRequestParams added in v1.0.644

type DescribeBackupStorageLocationsRequestParams struct {
	// 多个备份仓库名称,如果不填写,默认返回当前地域所有存储仓库名称
	Names []*string `json:"Names,omitnil,omitempty" name:"Names"`
}

Predefined struct for user

type DescribeBackupStorageLocationsResponse added in v1.0.644

type DescribeBackupStorageLocationsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeBackupStorageLocationsResponseParams `json:"Response"`
}

func NewDescribeBackupStorageLocationsResponse added in v1.0.644

func NewDescribeBackupStorageLocationsResponse() (response *DescribeBackupStorageLocationsResponse)

func (*DescribeBackupStorageLocationsResponse) FromJsonString added in v1.0.644

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeBackupStorageLocationsResponse) ToJsonString added in v1.0.644

type DescribeBackupStorageLocationsResponseParams added in v1.0.644

type DescribeBackupStorageLocationsResponseParams struct {
	// 详细备份仓库信息
	// 注意:此字段可能返回 null,表示取不到有效值。
	BackupStorageLocationSet []*BackupStorageLocation `json:"BackupStorageLocationSet,omitnil,omitempty" name:"BackupStorageLocationSet"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeClusterAsGroupOptionRequest

type DescribeClusterAsGroupOptionRequest struct {
	*tchttp.BaseRequest

	// 集群ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
}

func NewDescribeClusterAsGroupOptionRequest

func NewDescribeClusterAsGroupOptionRequest() (request *DescribeClusterAsGroupOptionRequest)

func (*DescribeClusterAsGroupOptionRequest) FromJsonString

func (r *DescribeClusterAsGroupOptionRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeClusterAsGroupOptionRequest) ToJsonString

func (r *DescribeClusterAsGroupOptionRequest) ToJsonString() string

type DescribeClusterAsGroupOptionRequestParams added in v1.0.426

type DescribeClusterAsGroupOptionRequestParams struct {
	// 集群ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
}

Predefined struct for user

type DescribeClusterAsGroupOptionResponse

type DescribeClusterAsGroupOptionResponse struct {
	*tchttp.BaseResponse
	Response *DescribeClusterAsGroupOptionResponseParams `json:"Response"`
}

func NewDescribeClusterAsGroupOptionResponse

func NewDescribeClusterAsGroupOptionResponse() (response *DescribeClusterAsGroupOptionResponse)

func (*DescribeClusterAsGroupOptionResponse) FromJsonString

func (r *DescribeClusterAsGroupOptionResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeClusterAsGroupOptionResponse) ToJsonString

func (r *DescribeClusterAsGroupOptionResponse) ToJsonString() string

type DescribeClusterAsGroupOptionResponseParams added in v1.0.426

type DescribeClusterAsGroupOptionResponseParams struct {
	// 集群弹性伸缩属性
	// 注意:此字段可能返回 null,表示取不到有效值。
	ClusterAsGroupOption *ClusterAsGroupOption `json:"ClusterAsGroupOption,omitnil,omitempty" name:"ClusterAsGroupOption"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeClusterAsGroupsRequest

type DescribeClusterAsGroupsRequest struct {
	*tchttp.BaseRequest

	// 集群ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// 伸缩组ID列表,如果为空,表示拉取集群关联的所有伸缩组。
	AutoScalingGroupIds []*string `json:"AutoScalingGroupIds,omitnil,omitempty" name:"AutoScalingGroupIds"`

	// 偏移量,默认为0。关于Offset的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/api/213/15688)中的相关小节。
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 返回数量,默认为20,最大值为100。关于Limit的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/api/213/15688)中的相关小节。
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`
}

func NewDescribeClusterAsGroupsRequest

func NewDescribeClusterAsGroupsRequest() (request *DescribeClusterAsGroupsRequest)

func (*DescribeClusterAsGroupsRequest) FromJsonString

func (r *DescribeClusterAsGroupsRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeClusterAsGroupsRequest) ToJsonString

func (r *DescribeClusterAsGroupsRequest) ToJsonString() string

type DescribeClusterAsGroupsRequestParams added in v1.0.426

type DescribeClusterAsGroupsRequestParams struct {
	// 集群ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// 伸缩组ID列表,如果为空,表示拉取集群关联的所有伸缩组。
	AutoScalingGroupIds []*string `json:"AutoScalingGroupIds,omitnil,omitempty" name:"AutoScalingGroupIds"`

	// 偏移量,默认为0。关于Offset的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/api/213/15688)中的相关小节。
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 返回数量,默认为20,最大值为100。关于Limit的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/api/213/15688)中的相关小节。
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`
}

Predefined struct for user

type DescribeClusterAsGroupsResponse

type DescribeClusterAsGroupsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeClusterAsGroupsResponseParams `json:"Response"`
}

func NewDescribeClusterAsGroupsResponse

func NewDescribeClusterAsGroupsResponse() (response *DescribeClusterAsGroupsResponse)

func (*DescribeClusterAsGroupsResponse) FromJsonString

func (r *DescribeClusterAsGroupsResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeClusterAsGroupsResponse) ToJsonString

func (r *DescribeClusterAsGroupsResponse) ToJsonString() string

type DescribeClusterAsGroupsResponseParams added in v1.0.426

type DescribeClusterAsGroupsResponseParams struct {
	// 集群关联的伸缩组总数
	TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// 集群关联的伸缩组列表
	ClusterAsGroupSet []*ClusterAsGroup `json:"ClusterAsGroupSet,omitnil,omitempty" name:"ClusterAsGroupSet"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeClusterAuthenticationOptionsRequest added in v1.0.264

type DescribeClusterAuthenticationOptionsRequest struct {
	*tchttp.BaseRequest

	// 集群ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
}

func NewDescribeClusterAuthenticationOptionsRequest added in v1.0.264

func NewDescribeClusterAuthenticationOptionsRequest() (request *DescribeClusterAuthenticationOptionsRequest)

func (*DescribeClusterAuthenticationOptionsRequest) FromJsonString added in v1.0.264

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeClusterAuthenticationOptionsRequest) ToJsonString added in v1.0.264

type DescribeClusterAuthenticationOptionsRequestParams added in v1.0.426

type DescribeClusterAuthenticationOptionsRequestParams struct {
	// 集群ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
}

Predefined struct for user

type DescribeClusterAuthenticationOptionsResponse added in v1.0.264

type DescribeClusterAuthenticationOptionsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeClusterAuthenticationOptionsResponseParams `json:"Response"`
}

func NewDescribeClusterAuthenticationOptionsResponse added in v1.0.264

func NewDescribeClusterAuthenticationOptionsResponse() (response *DescribeClusterAuthenticationOptionsResponse)

func (*DescribeClusterAuthenticationOptionsResponse) FromJsonString added in v1.0.264

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeClusterAuthenticationOptionsResponse) ToJsonString added in v1.0.264

type DescribeClusterAuthenticationOptionsResponseParams added in v1.0.426

type DescribeClusterAuthenticationOptionsResponseParams struct {
	// ServiceAccount认证配置
	// 注意:此字段可能返回 null,表示取不到有效值。
	ServiceAccounts *ServiceAccountAuthenticationOptions `json:"ServiceAccounts,omitnil,omitempty" name:"ServiceAccounts"`

	// 最近一次修改操作结果,返回值可能为:Updating,Success,Failed,TimeOut
	// 注意:此字段可能返回 null,表示取不到有效值。
	LatestOperationState *string `json:"LatestOperationState,omitnil,omitempty" name:"LatestOperationState"`

	// OIDC认证配置
	// 注意:此字段可能返回 null,表示取不到有效值。
	OIDCConfig *OIDCConfigAuthenticationOptions `json:"OIDCConfig,omitnil,omitempty" name:"OIDCConfig"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeClusterCommonNamesRequest

type DescribeClusterCommonNamesRequest struct {
	*tchttp.BaseRequest

	// 集群ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// 子账户列表,不可超出最大值50
	SubaccountUins []*string `json:"SubaccountUins,omitnil,omitempty" name:"SubaccountUins"`

	// 角色ID列表,不可超出最大值50
	RoleIds []*string `json:"RoleIds,omitnil,omitempty" name:"RoleIds"`
}

func NewDescribeClusterCommonNamesRequest

func NewDescribeClusterCommonNamesRequest() (request *DescribeClusterCommonNamesRequest)

func (*DescribeClusterCommonNamesRequest) FromJsonString

func (r *DescribeClusterCommonNamesRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeClusterCommonNamesRequest) ToJsonString

func (r *DescribeClusterCommonNamesRequest) ToJsonString() string

type DescribeClusterCommonNamesRequestParams added in v1.0.426

type DescribeClusterCommonNamesRequestParams struct {
	// 集群ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// 子账户列表,不可超出最大值50
	SubaccountUins []*string `json:"SubaccountUins,omitnil,omitempty" name:"SubaccountUins"`

	// 角色ID列表,不可超出最大值50
	RoleIds []*string `json:"RoleIds,omitnil,omitempty" name:"RoleIds"`
}

Predefined struct for user

type DescribeClusterCommonNamesResponse

type DescribeClusterCommonNamesResponse struct {
	*tchttp.BaseResponse
	Response *DescribeClusterCommonNamesResponseParams `json:"Response"`
}

func NewDescribeClusterCommonNamesResponse

func NewDescribeClusterCommonNamesResponse() (response *DescribeClusterCommonNamesResponse)

func (*DescribeClusterCommonNamesResponse) FromJsonString

func (r *DescribeClusterCommonNamesResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeClusterCommonNamesResponse) ToJsonString

func (r *DescribeClusterCommonNamesResponse) ToJsonString() string

type DescribeClusterCommonNamesResponseParams added in v1.0.426

type DescribeClusterCommonNamesResponseParams struct {
	// 子账户Uin与其客户端证书的CN字段映射
	CommonNames []*CommonName `json:"CommonNames,omitnil,omitempty" name:"CommonNames"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeClusterControllersRequest added in v1.0.193

type DescribeClusterControllersRequest struct {
	*tchttp.BaseRequest

	// 集群ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
}

func NewDescribeClusterControllersRequest added in v1.0.193

func NewDescribeClusterControllersRequest() (request *DescribeClusterControllersRequest)

func (*DescribeClusterControllersRequest) FromJsonString added in v1.0.193

func (r *DescribeClusterControllersRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeClusterControllersRequest) ToJsonString added in v1.0.193

func (r *DescribeClusterControllersRequest) ToJsonString() string

type DescribeClusterControllersRequestParams added in v1.0.426

type DescribeClusterControllersRequestParams struct {
	// 集群ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
}

Predefined struct for user

type DescribeClusterControllersResponse added in v1.0.193

type DescribeClusterControllersResponse struct {
	*tchttp.BaseResponse
	Response *DescribeClusterControllersResponseParams `json:"Response"`
}

func NewDescribeClusterControllersResponse added in v1.0.193

func NewDescribeClusterControllersResponse() (response *DescribeClusterControllersResponse)

func (*DescribeClusterControllersResponse) FromJsonString added in v1.0.193

func (r *DescribeClusterControllersResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeClusterControllersResponse) ToJsonString added in v1.0.193

func (r *DescribeClusterControllersResponse) ToJsonString() string

type DescribeClusterControllersResponseParams added in v1.0.426

type DescribeClusterControllersResponseParams struct {
	// 描述集群中各个控制器的状态
	ControllerStatusSet []*ControllerStatus `json:"ControllerStatusSet,omitnil,omitempty" name:"ControllerStatusSet"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeClusterEndpointStatusRequest

type DescribeClusterEndpointStatusRequest struct {
	*tchttp.BaseRequest

	// 集群ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// 是否为外网访问(TRUE 外网访问 FALSE 内网访问,默认值: FALSE)
	IsExtranet *bool `json:"IsExtranet,omitnil,omitempty" name:"IsExtranet"`
}

func NewDescribeClusterEndpointStatusRequest

func NewDescribeClusterEndpointStatusRequest() (request *DescribeClusterEndpointStatusRequest)

func (*DescribeClusterEndpointStatusRequest) FromJsonString

func (r *DescribeClusterEndpointStatusRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeClusterEndpointStatusRequest) ToJsonString

func (r *DescribeClusterEndpointStatusRequest) ToJsonString() string

type DescribeClusterEndpointStatusRequestParams added in v1.0.426

type DescribeClusterEndpointStatusRequestParams struct {
	// 集群ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// 是否为外网访问(TRUE 外网访问 FALSE 内网访问,默认值: FALSE)
	IsExtranet *bool `json:"IsExtranet,omitnil,omitempty" name:"IsExtranet"`
}

Predefined struct for user

type DescribeClusterEndpointStatusResponse

type DescribeClusterEndpointStatusResponse struct {
	*tchttp.BaseResponse
	Response *DescribeClusterEndpointStatusResponseParams `json:"Response"`
}

func NewDescribeClusterEndpointStatusResponse

func NewDescribeClusterEndpointStatusResponse() (response *DescribeClusterEndpointStatusResponse)

func (*DescribeClusterEndpointStatusResponse) FromJsonString

func (r *DescribeClusterEndpointStatusResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeClusterEndpointStatusResponse) ToJsonString

type DescribeClusterEndpointStatusResponseParams added in v1.0.426

type DescribeClusterEndpointStatusResponseParams struct {
	// 查询集群访问端口状态(Created 开启成功,Creating 开启中,NotFound 未开启)
	// 注意:此字段可能返回 null,表示取不到有效值。
	Status *string `json:"Status,omitnil,omitempty" name:"Status"`

	// 开启访问入口失败信息
	// 注意:此字段可能返回 null,表示取不到有效值。
	ErrorMsg *string `json:"ErrorMsg,omitnil,omitempty" name:"ErrorMsg"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeClusterEndpointVipStatusRequest

type DescribeClusterEndpointVipStatusRequest struct {
	*tchttp.BaseRequest

	// 集群ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
}

func NewDescribeClusterEndpointVipStatusRequest

func NewDescribeClusterEndpointVipStatusRequest() (request *DescribeClusterEndpointVipStatusRequest)

func (*DescribeClusterEndpointVipStatusRequest) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeClusterEndpointVipStatusRequest) ToJsonString

type DescribeClusterEndpointVipStatusRequestParams added in v1.0.426

type DescribeClusterEndpointVipStatusRequestParams struct {
	// 集群ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
}

Predefined struct for user

type DescribeClusterEndpointVipStatusResponse

type DescribeClusterEndpointVipStatusResponse struct {
	*tchttp.BaseResponse
	Response *DescribeClusterEndpointVipStatusResponseParams `json:"Response"`
}

func NewDescribeClusterEndpointVipStatusResponse

func NewDescribeClusterEndpointVipStatusResponse() (response *DescribeClusterEndpointVipStatusResponse)

func (*DescribeClusterEndpointVipStatusResponse) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeClusterEndpointVipStatusResponse) ToJsonString

type DescribeClusterEndpointVipStatusResponseParams added in v1.0.426

type DescribeClusterEndpointVipStatusResponseParams struct {
	// 端口操作状态 (Creating 创建中  CreateFailed 创建失败 Created 创建完成 Deleting 删除中 DeletedFailed 删除失败 Deleted 已删除 NotFound 未发现操作 )
	Status *string `json:"Status,omitnil,omitempty" name:"Status"`

	// 操作失败的原因
	// 注意:此字段可能返回 null,表示取不到有效值。
	ErrorMsg *string `json:"ErrorMsg,omitnil,omitempty" name:"ErrorMsg"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeClusterEndpointsRequest added in v1.0.450

type DescribeClusterEndpointsRequest struct {
	*tchttp.BaseRequest

	// 集群ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
}

func NewDescribeClusterEndpointsRequest added in v1.0.450

func NewDescribeClusterEndpointsRequest() (request *DescribeClusterEndpointsRequest)

func (*DescribeClusterEndpointsRequest) FromJsonString added in v1.0.450

func (r *DescribeClusterEndpointsRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeClusterEndpointsRequest) ToJsonString added in v1.0.450

func (r *DescribeClusterEndpointsRequest) ToJsonString() string

type DescribeClusterEndpointsRequestParams added in v1.0.450

type DescribeClusterEndpointsRequestParams struct {
	// 集群ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
}

Predefined struct for user

type DescribeClusterEndpointsResponse added in v1.0.450

type DescribeClusterEndpointsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeClusterEndpointsResponseParams `json:"Response"`
}

func NewDescribeClusterEndpointsResponse added in v1.0.450

func NewDescribeClusterEndpointsResponse() (response *DescribeClusterEndpointsResponse)

func (*DescribeClusterEndpointsResponse) FromJsonString added in v1.0.450

func (r *DescribeClusterEndpointsResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeClusterEndpointsResponse) ToJsonString added in v1.0.450

func (r *DescribeClusterEndpointsResponse) ToJsonString() string

type DescribeClusterEndpointsResponseParams added in v1.0.450

type DescribeClusterEndpointsResponseParams struct {
	// 集群APIServer的CA证书
	CertificationAuthority *string `json:"CertificationAuthority,omitnil,omitempty" name:"CertificationAuthority"`

	// 集群APIServer的外网访问地址
	ClusterExternalEndpoint *string `json:"ClusterExternalEndpoint,omitnil,omitempty" name:"ClusterExternalEndpoint"`

	// 集群APIServer的内网访问地址
	ClusterIntranetEndpoint *string `json:"ClusterIntranetEndpoint,omitnil,omitempty" name:"ClusterIntranetEndpoint"`

	// 集群APIServer的域名
	// 注意:此字段可能返回 null,表示取不到有效值。
	ClusterDomain *string `json:"ClusterDomain,omitnil,omitempty" name:"ClusterDomain"`

	// 集群APIServer的外网访问ACL列表
	// 注意:此字段可能返回 null,表示取不到有效值。
	ClusterExternalACL []*string `json:"ClusterExternalACL,omitnil,omitempty" name:"ClusterExternalACL"`

	// 外网域名
	// 注意:此字段可能返回 null,表示取不到有效值。
	ClusterExternalDomain *string `json:"ClusterExternalDomain,omitnil,omitempty" name:"ClusterExternalDomain"`

	// 内网域名
	// 注意:此字段可能返回 null,表示取不到有效值。
	ClusterIntranetDomain *string `json:"ClusterIntranetDomain,omitnil,omitempty" name:"ClusterIntranetDomain"`

	// 外网安全组
	// 注意:此字段可能返回 null,表示取不到有效值。
	SecurityGroup *string `json:"SecurityGroup,omitnil,omitempty" name:"SecurityGroup"`

	// 内网访问所属子网
	// 注意:此字段可能返回 null,表示取不到有效值。
	ClusterIntranetSubnetId *string `json:"ClusterIntranetSubnetId,omitnil,omitempty" name:"ClusterIntranetSubnetId"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeClusterExtraArgsRequest added in v1.0.799

type DescribeClusterExtraArgsRequest struct {
	*tchttp.BaseRequest

	// 集群ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
}

func NewDescribeClusterExtraArgsRequest added in v1.0.799

func NewDescribeClusterExtraArgsRequest() (request *DescribeClusterExtraArgsRequest)

func (*DescribeClusterExtraArgsRequest) FromJsonString added in v1.0.799

func (r *DescribeClusterExtraArgsRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeClusterExtraArgsRequest) ToJsonString added in v1.0.799

func (r *DescribeClusterExtraArgsRequest) ToJsonString() string

type DescribeClusterExtraArgsRequestParams added in v1.0.799

type DescribeClusterExtraArgsRequestParams struct {
	// 集群ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
}

Predefined struct for user

type DescribeClusterExtraArgsResponse added in v1.0.799

type DescribeClusterExtraArgsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeClusterExtraArgsResponseParams `json:"Response"`
}

func NewDescribeClusterExtraArgsResponse added in v1.0.799

func NewDescribeClusterExtraArgsResponse() (response *DescribeClusterExtraArgsResponse)

func (*DescribeClusterExtraArgsResponse) FromJsonString added in v1.0.799

func (r *DescribeClusterExtraArgsResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeClusterExtraArgsResponse) ToJsonString added in v1.0.799

func (r *DescribeClusterExtraArgsResponse) ToJsonString() string

type DescribeClusterExtraArgsResponseParams added in v1.0.799

type DescribeClusterExtraArgsResponseParams struct {
	// 集群自定义参数
	// 注意:此字段可能返回 null,表示取不到有效值。
	ClusterExtraArgs *ClusterExtraArgs `json:"ClusterExtraArgs,omitnil,omitempty" name:"ClusterExtraArgs"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeClusterInspectionResultsOverviewRequest added in v1.0.657

type DescribeClusterInspectionResultsOverviewRequest struct {
	*tchttp.BaseRequest

	// Array of String	目标集群列表,为空查询用户所有集群
	ClusterIds []*string `json:"ClusterIds,omitnil,omitempty" name:"ClusterIds"`

	// 聚合字段信息,概览结果按照 GroupBy 信息聚合后返回,可选参数:
	// catalogue.first:按一级分类聚合
	// catalogue.second:按二级分类聚合
	GroupBy []*string `json:"GroupBy,omitnil,omitempty" name:"GroupBy"`
}

func NewDescribeClusterInspectionResultsOverviewRequest added in v1.0.657

func NewDescribeClusterInspectionResultsOverviewRequest() (request *DescribeClusterInspectionResultsOverviewRequest)

func (*DescribeClusterInspectionResultsOverviewRequest) FromJsonString added in v1.0.657

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeClusterInspectionResultsOverviewRequest) ToJsonString added in v1.0.657

type DescribeClusterInspectionResultsOverviewRequestParams added in v1.0.657

type DescribeClusterInspectionResultsOverviewRequestParams struct {
	// Array of String	目标集群列表,为空查询用户所有集群
	ClusterIds []*string `json:"ClusterIds,omitnil,omitempty" name:"ClusterIds"`

	// 聚合字段信息,概览结果按照 GroupBy 信息聚合后返回,可选参数:
	// catalogue.first:按一级分类聚合
	// catalogue.second:按二级分类聚合
	GroupBy []*string `json:"GroupBy,omitnil,omitempty" name:"GroupBy"`
}

Predefined struct for user

type DescribeClusterInspectionResultsOverviewResponse added in v1.0.657

type DescribeClusterInspectionResultsOverviewResponse struct {
	*tchttp.BaseResponse
	Response *DescribeClusterInspectionResultsOverviewResponseParams `json:"Response"`
}

func NewDescribeClusterInspectionResultsOverviewResponse added in v1.0.657

func NewDescribeClusterInspectionResultsOverviewResponse() (response *DescribeClusterInspectionResultsOverviewResponse)

func (*DescribeClusterInspectionResultsOverviewResponse) FromJsonString added in v1.0.657

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeClusterInspectionResultsOverviewResponse) ToJsonString added in v1.0.657

type DescribeClusterInspectionResultsOverviewResponseParams added in v1.0.657

type DescribeClusterInspectionResultsOverviewResponseParams struct {
	// 诊断结果统计
	// 注意:此字段可能返回 null,表示取不到有效值。
	Statistics []*KubeJarvisStateStatistic `json:"Statistics,omitnil,omitempty" name:"Statistics"`

	// 诊断结果概览
	// 注意:此字段可能返回 null,表示取不到有效值。
	Diagnostics []*KubeJarvisStateDiagnosticOverview `json:"Diagnostics,omitnil,omitempty" name:"Diagnostics"`

	// 集群诊断结果概览
	// 注意:此字段可能返回 null,表示取不到有效值。
	InspectionOverview []*KubeJarvisStateInspectionOverview `json:"InspectionOverview,omitnil,omitempty" name:"InspectionOverview"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeClusterInstancesRequest

type DescribeClusterInstancesRequest struct {
	*tchttp.BaseRequest

	// 集群ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// 偏移量,默认为0。关于Offset的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/api/213/15688)中的相关小节。
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 返回数量,默认为20,最大值为100。关于Limit的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/api/213/15688)中的相关小节。
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// 需要获取的节点实例Id列表。如果为空,表示拉取集群下所有节点实例。
	InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" name:"InstanceIds"`

	// 节点角色, MASTER, WORKER, ETCD, MASTER_ETCD,ALL, 默认为WORKER。默认为WORKER类型。
	InstanceRole *string `json:"InstanceRole,omitnil,omitempty" name:"InstanceRole"`

	// 过滤条件列表;Name的可选值为nodepool-id、nodepool-instance-type;Name为nodepool-id表示根据节点池id过滤机器,Value的值为具体的节点池id,Name为nodepool-instance-type表示节点加入节点池的方式,Value的值为MANUALLY_ADDED(手动加入节点池)、AUTOSCALING_ADDED(伸缩组扩容方式加入节点池)、ALL(手动加入节点池 和 伸缩组扩容方式加入节点池)
	Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`
}

func NewDescribeClusterInstancesRequest

func NewDescribeClusterInstancesRequest() (request *DescribeClusterInstancesRequest)

func (*DescribeClusterInstancesRequest) FromJsonString

func (r *DescribeClusterInstancesRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeClusterInstancesRequest) ToJsonString

func (r *DescribeClusterInstancesRequest) ToJsonString() string

type DescribeClusterInstancesRequestParams added in v1.0.426

type DescribeClusterInstancesRequestParams struct {
	// 集群ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// 偏移量,默认为0。关于Offset的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/api/213/15688)中的相关小节。
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 返回数量,默认为20,最大值为100。关于Limit的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/api/213/15688)中的相关小节。
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// 需要获取的节点实例Id列表。如果为空,表示拉取集群下所有节点实例。
	InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" name:"InstanceIds"`

	// 节点角色, MASTER, WORKER, ETCD, MASTER_ETCD,ALL, 默认为WORKER。默认为WORKER类型。
	InstanceRole *string `json:"InstanceRole,omitnil,omitempty" name:"InstanceRole"`

	// 过滤条件列表;Name的可选值为nodepool-id、nodepool-instance-type;Name为nodepool-id表示根据节点池id过滤机器,Value的值为具体的节点池id,Name为nodepool-instance-type表示节点加入节点池的方式,Value的值为MANUALLY_ADDED(手动加入节点池)、AUTOSCALING_ADDED(伸缩组扩容方式加入节点池)、ALL(手动加入节点池 和 伸缩组扩容方式加入节点池)
	Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`
}

Predefined struct for user

type DescribeClusterInstancesResponse

type DescribeClusterInstancesResponse struct {
	*tchttp.BaseResponse
	Response *DescribeClusterInstancesResponseParams `json:"Response"`
}

func NewDescribeClusterInstancesResponse

func NewDescribeClusterInstancesResponse() (response *DescribeClusterInstancesResponse)

func (*DescribeClusterInstancesResponse) FromJsonString

func (r *DescribeClusterInstancesResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeClusterInstancesResponse) ToJsonString

func (r *DescribeClusterInstancesResponse) ToJsonString() string

type DescribeClusterInstancesResponseParams added in v1.0.426

type DescribeClusterInstancesResponseParams struct {
	// 集群中实例总数
	TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// 集群中实例列表
	InstanceSet []*Instance `json:"InstanceSet,omitnil,omitempty" name:"InstanceSet"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeClusterKubeconfigRequest

type DescribeClusterKubeconfigRequest struct {
	*tchttp.BaseRequest

	// 集群ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// 默认false 获取内网,是否获取外网访问的kubeconfig
	IsExtranet *bool `json:"IsExtranet,omitnil,omitempty" name:"IsExtranet"`
}

func NewDescribeClusterKubeconfigRequest

func NewDescribeClusterKubeconfigRequest() (request *DescribeClusterKubeconfigRequest)

func (*DescribeClusterKubeconfigRequest) FromJsonString

func (r *DescribeClusterKubeconfigRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeClusterKubeconfigRequest) ToJsonString

func (r *DescribeClusterKubeconfigRequest) ToJsonString() string

type DescribeClusterKubeconfigRequestParams added in v1.0.426

type DescribeClusterKubeconfigRequestParams struct {
	// 集群ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// 默认false 获取内网,是否获取外网访问的kubeconfig
	IsExtranet *bool `json:"IsExtranet,omitnil,omitempty" name:"IsExtranet"`
}

Predefined struct for user

type DescribeClusterKubeconfigResponse

type DescribeClusterKubeconfigResponse struct {
	*tchttp.BaseResponse
	Response *DescribeClusterKubeconfigResponseParams `json:"Response"`
}

func NewDescribeClusterKubeconfigResponse

func NewDescribeClusterKubeconfigResponse() (response *DescribeClusterKubeconfigResponse)

func (*DescribeClusterKubeconfigResponse) FromJsonString

func (r *DescribeClusterKubeconfigResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeClusterKubeconfigResponse) ToJsonString

func (r *DescribeClusterKubeconfigResponse) ToJsonString() string

type DescribeClusterKubeconfigResponseParams added in v1.0.426

type DescribeClusterKubeconfigResponseParams struct {
	// 子账户kubeconfig文件,可用于直接访问集群kube-apiserver(入参IsExtranet为false,返回内网访问的kubeconfig,没开内网的情况下server会是一个默认域名;入参IsExtranet为true,返回外网的kubeconfig,没开外网的情况下server会是一个默认域名。默认域名默认不可达,需要自行处理)
	Kubeconfig *string `json:"Kubeconfig,omitnil,omitempty" name:"Kubeconfig"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeClusterLevelAttributeRequest added in v1.0.378

type DescribeClusterLevelAttributeRequest struct {
	*tchttp.BaseRequest

	// 集群ID,变配时使用
	ClusterID *string `json:"ClusterID,omitnil,omitempty" name:"ClusterID"`
}

func NewDescribeClusterLevelAttributeRequest added in v1.0.378

func NewDescribeClusterLevelAttributeRequest() (request *DescribeClusterLevelAttributeRequest)

func (*DescribeClusterLevelAttributeRequest) FromJsonString added in v1.0.378

func (r *DescribeClusterLevelAttributeRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeClusterLevelAttributeRequest) ToJsonString added in v1.0.378

func (r *DescribeClusterLevelAttributeRequest) ToJsonString() string

type DescribeClusterLevelAttributeRequestParams added in v1.0.426

type DescribeClusterLevelAttributeRequestParams struct {
	// 集群ID,变配时使用
	ClusterID *string `json:"ClusterID,omitnil,omitempty" name:"ClusterID"`
}

Predefined struct for user

type DescribeClusterLevelAttributeResponse added in v1.0.378

type DescribeClusterLevelAttributeResponse struct {
	*tchttp.BaseResponse
	Response *DescribeClusterLevelAttributeResponseParams `json:"Response"`
}

func NewDescribeClusterLevelAttributeResponse added in v1.0.378

func NewDescribeClusterLevelAttributeResponse() (response *DescribeClusterLevelAttributeResponse)

func (*DescribeClusterLevelAttributeResponse) FromJsonString added in v1.0.378

func (r *DescribeClusterLevelAttributeResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeClusterLevelAttributeResponse) ToJsonString added in v1.0.378

type DescribeClusterLevelAttributeResponseParams added in v1.0.426

type DescribeClusterLevelAttributeResponseParams struct {
	// 总数
	TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// 集群规模
	Items []*ClusterLevelAttribute `json:"Items,omitnil,omitempty" name:"Items"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeClusterLevelChangeRecordsRequest added in v1.0.378

type DescribeClusterLevelChangeRecordsRequest struct {
	*tchttp.BaseRequest

	// 集群ID
	ClusterID *string `json:"ClusterID,omitnil,omitempty" name:"ClusterID"`

	// 开始时间
	StartAt *string `json:"StartAt,omitnil,omitempty" name:"StartAt"`

	// 结束时间
	EndAt *string `json:"EndAt,omitnil,omitempty" name:"EndAt"`

	// 偏移量,默认0
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 最大输出条数,默认20
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`
}

func NewDescribeClusterLevelChangeRecordsRequest added in v1.0.378

func NewDescribeClusterLevelChangeRecordsRequest() (request *DescribeClusterLevelChangeRecordsRequest)

func (*DescribeClusterLevelChangeRecordsRequest) FromJsonString added in v1.0.378

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeClusterLevelChangeRecordsRequest) ToJsonString added in v1.0.378

type DescribeClusterLevelChangeRecordsRequestParams added in v1.0.426

type DescribeClusterLevelChangeRecordsRequestParams struct {
	// 集群ID
	ClusterID *string `json:"ClusterID,omitnil,omitempty" name:"ClusterID"`

	// 开始时间
	StartAt *string `json:"StartAt,omitnil,omitempty" name:"StartAt"`

	// 结束时间
	EndAt *string `json:"EndAt,omitnil,omitempty" name:"EndAt"`

	// 偏移量,默认0
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 最大输出条数,默认20
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`
}

Predefined struct for user

type DescribeClusterLevelChangeRecordsResponse added in v1.0.378

type DescribeClusterLevelChangeRecordsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeClusterLevelChangeRecordsResponseParams `json:"Response"`
}

func NewDescribeClusterLevelChangeRecordsResponse added in v1.0.378

func NewDescribeClusterLevelChangeRecordsResponse() (response *DescribeClusterLevelChangeRecordsResponse)

func (*DescribeClusterLevelChangeRecordsResponse) FromJsonString added in v1.0.378

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeClusterLevelChangeRecordsResponse) ToJsonString added in v1.0.378

type DescribeClusterLevelChangeRecordsResponseParams added in v1.0.426

type DescribeClusterLevelChangeRecordsResponseParams struct {
	// 总数
	TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// 集群规模
	Items []*ClusterLevelChangeRecord `json:"Items,omitnil,omitempty" name:"Items"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeClusterNodePoolDetailRequest

type DescribeClusterNodePoolDetailRequest struct {
	*tchttp.BaseRequest

	// 集群id
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// 节点池id
	NodePoolId *string `json:"NodePoolId,omitnil,omitempty" name:"NodePoolId"`
}

func NewDescribeClusterNodePoolDetailRequest

func NewDescribeClusterNodePoolDetailRequest() (request *DescribeClusterNodePoolDetailRequest)

func (*DescribeClusterNodePoolDetailRequest) FromJsonString

func (r *DescribeClusterNodePoolDetailRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeClusterNodePoolDetailRequest) ToJsonString

func (r *DescribeClusterNodePoolDetailRequest) ToJsonString() string

type DescribeClusterNodePoolDetailRequestParams added in v1.0.426

type DescribeClusterNodePoolDetailRequestParams struct {
	// 集群id
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// 节点池id
	NodePoolId *string `json:"NodePoolId,omitnil,omitempty" name:"NodePoolId"`
}

Predefined struct for user

type DescribeClusterNodePoolDetailResponse

type DescribeClusterNodePoolDetailResponse struct {
	*tchttp.BaseResponse
	Response *DescribeClusterNodePoolDetailResponseParams `json:"Response"`
}

func NewDescribeClusterNodePoolDetailResponse

func NewDescribeClusterNodePoolDetailResponse() (response *DescribeClusterNodePoolDetailResponse)

func (*DescribeClusterNodePoolDetailResponse) FromJsonString

func (r *DescribeClusterNodePoolDetailResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeClusterNodePoolDetailResponse) ToJsonString

type DescribeClusterNodePoolDetailResponseParams added in v1.0.426

type DescribeClusterNodePoolDetailResponseParams struct {
	// 节点池详情
	NodePool *NodePool `json:"NodePool,omitnil,omitempty" name:"NodePool"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeClusterNodePoolsRequest

type DescribeClusterNodePoolsRequest struct {
	*tchttp.BaseRequest

	// ClusterId(集群id)
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// · "Name":"NodePoolsName","Values": ["test"]
	//     按照【节点池名】进行过滤。
	//     类型:String
	//     必选:否
	//
	// ·  "Name":"NodePoolsId","Values": ["np-d2mb2zb"]
	//     按照【节点池id】进行过滤。
	//     类型:String
	//     必选:否
	//
	// ·  "Name":"Tags","Values": ["abc:1"]
	//     按照【标签键值对】进行过滤。
	//     类型:String
	//     必选:否
	Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`
}

func NewDescribeClusterNodePoolsRequest

func NewDescribeClusterNodePoolsRequest() (request *DescribeClusterNodePoolsRequest)

func (*DescribeClusterNodePoolsRequest) FromJsonString

func (r *DescribeClusterNodePoolsRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeClusterNodePoolsRequest) ToJsonString

func (r *DescribeClusterNodePoolsRequest) ToJsonString() string

type DescribeClusterNodePoolsRequestParams added in v1.0.426

type DescribeClusterNodePoolsRequestParams struct {
	// ClusterId(集群id)
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// · "Name":"NodePoolsName","Values": ["test"]
	//     按照【节点池名】进行过滤。
	//     类型:String
	//     必选:否
	//
	// ·  "Name":"NodePoolsId","Values": ["np-d2mb2zb"]
	//     按照【节点池id】进行过滤。
	//     类型:String
	//     必选:否
	//
	// ·  "Name":"Tags","Values": ["abc:1"]
	//     按照【标签键值对】进行过滤。
	//     类型:String
	//     必选:否
	Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`
}

Predefined struct for user

type DescribeClusterNodePoolsResponse

type DescribeClusterNodePoolsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeClusterNodePoolsResponseParams `json:"Response"`
}

func NewDescribeClusterNodePoolsResponse

func NewDescribeClusterNodePoolsResponse() (response *DescribeClusterNodePoolsResponse)

func (*DescribeClusterNodePoolsResponse) FromJsonString

func (r *DescribeClusterNodePoolsResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeClusterNodePoolsResponse) ToJsonString

func (r *DescribeClusterNodePoolsResponse) ToJsonString() string

type DescribeClusterNodePoolsResponseParams added in v1.0.426

type DescribeClusterNodePoolsResponseParams struct {
	// NodePools(节点池列表)
	// 注意:此字段可能返回 null,表示取不到有效值。
	NodePoolSet []*NodePool `json:"NodePoolSet,omitnil,omitempty" name:"NodePoolSet"`

	// 资源总数
	TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeClusterPendingReleasesRequest added in v1.0.554

type DescribeClusterPendingReleasesRequest struct {
	*tchttp.BaseRequest

	// 集群ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// 返回数量限制,默认20,最大100
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// 偏移量,默认0
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 集群类型
	ClusterType *string `json:"ClusterType,omitnil,omitempty" name:"ClusterType"`
}

func NewDescribeClusterPendingReleasesRequest added in v1.0.554

func NewDescribeClusterPendingReleasesRequest() (request *DescribeClusterPendingReleasesRequest)

func (*DescribeClusterPendingReleasesRequest) FromJsonString added in v1.0.554

func (r *DescribeClusterPendingReleasesRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeClusterPendingReleasesRequest) ToJsonString added in v1.0.554

type DescribeClusterPendingReleasesRequestParams added in v1.0.554

type DescribeClusterPendingReleasesRequestParams struct {
	// 集群ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// 返回数量限制,默认20,最大100
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// 偏移量,默认0
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 集群类型
	ClusterType *string `json:"ClusterType,omitnil,omitempty" name:"ClusterType"`
}

Predefined struct for user

type DescribeClusterPendingReleasesResponse added in v1.0.554

type DescribeClusterPendingReleasesResponse struct {
	*tchttp.BaseResponse
	Response *DescribeClusterPendingReleasesResponseParams `json:"Response"`
}

func NewDescribeClusterPendingReleasesResponse added in v1.0.554

func NewDescribeClusterPendingReleasesResponse() (response *DescribeClusterPendingReleasesResponse)

func (*DescribeClusterPendingReleasesResponse) FromJsonString added in v1.0.554

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeClusterPendingReleasesResponse) ToJsonString added in v1.0.554

type DescribeClusterPendingReleasesResponseParams added in v1.0.554

type DescribeClusterPendingReleasesResponseParams struct {
	// 正在安装中应用列表
	// 注意:此字段可能返回 null,表示取不到有效值。
	ReleaseSet []*PendingRelease `json:"ReleaseSet,omitnil,omitempty" name:"ReleaseSet"`

	// 每页返回数量限制
	// 注意:此字段可能返回 null,表示取不到有效值。
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// 页偏移量
	// 注意:此字段可能返回 null,表示取不到有效值。
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 总数量
	// 注意:此字段可能返回 null,表示取不到有效值。
	Total *int64 `json:"Total,omitnil,omitempty" name:"Total"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeClusterReleaseDetailsRequest added in v1.0.554

type DescribeClusterReleaseDetailsRequest struct {
	*tchttp.BaseRequest

	// 集群ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// 应用名称
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// 应用所在命名空间
	Namespace *string `json:"Namespace,omitnil,omitempty" name:"Namespace"`

	// 集群类型
	ClusterType *string `json:"ClusterType,omitnil,omitempty" name:"ClusterType"`
}

func NewDescribeClusterReleaseDetailsRequest added in v1.0.554

func NewDescribeClusterReleaseDetailsRequest() (request *DescribeClusterReleaseDetailsRequest)

func (*DescribeClusterReleaseDetailsRequest) FromJsonString added in v1.0.554

func (r *DescribeClusterReleaseDetailsRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeClusterReleaseDetailsRequest) ToJsonString added in v1.0.554

func (r *DescribeClusterReleaseDetailsRequest) ToJsonString() string

type DescribeClusterReleaseDetailsRequestParams added in v1.0.554

type DescribeClusterReleaseDetailsRequestParams struct {
	// 集群ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// 应用名称
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// 应用所在命名空间
	Namespace *string `json:"Namespace,omitnil,omitempty" name:"Namespace"`

	// 集群类型
	ClusterType *string `json:"ClusterType,omitnil,omitempty" name:"ClusterType"`
}

Predefined struct for user

type DescribeClusterReleaseDetailsResponse added in v1.0.554

type DescribeClusterReleaseDetailsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeClusterReleaseDetailsResponseParams `json:"Response"`
}

func NewDescribeClusterReleaseDetailsResponse added in v1.0.554

func NewDescribeClusterReleaseDetailsResponse() (response *DescribeClusterReleaseDetailsResponse)

func (*DescribeClusterReleaseDetailsResponse) FromJsonString added in v1.0.554

func (r *DescribeClusterReleaseDetailsResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeClusterReleaseDetailsResponse) ToJsonString added in v1.0.554

type DescribeClusterReleaseDetailsResponseParams added in v1.0.554

type DescribeClusterReleaseDetailsResponseParams struct {
	// 应用详情
	// 注意:此字段可能返回 null,表示取不到有效值。
	Release *ReleaseDetails `json:"Release,omitnil,omitempty" name:"Release"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeClusterReleaseHistoryRequest added in v1.0.554

type DescribeClusterReleaseHistoryRequest struct {
	*tchttp.BaseRequest

	// 集群ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// 应用名称
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// 应用所在命名空间
	Namespace *string `json:"Namespace,omitnil,omitempty" name:"Namespace"`

	// 集群类型
	ClusterType *string `json:"ClusterType,omitnil,omitempty" name:"ClusterType"`
}

func NewDescribeClusterReleaseHistoryRequest added in v1.0.554

func NewDescribeClusterReleaseHistoryRequest() (request *DescribeClusterReleaseHistoryRequest)

func (*DescribeClusterReleaseHistoryRequest) FromJsonString added in v1.0.554

func (r *DescribeClusterReleaseHistoryRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeClusterReleaseHistoryRequest) ToJsonString added in v1.0.554

func (r *DescribeClusterReleaseHistoryRequest) ToJsonString() string

type DescribeClusterReleaseHistoryRequestParams added in v1.0.554

type DescribeClusterReleaseHistoryRequestParams struct {
	// 集群ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// 应用名称
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// 应用所在命名空间
	Namespace *string `json:"Namespace,omitnil,omitempty" name:"Namespace"`

	// 集群类型
	ClusterType *string `json:"ClusterType,omitnil,omitempty" name:"ClusterType"`
}

Predefined struct for user

type DescribeClusterReleaseHistoryResponse added in v1.0.554

type DescribeClusterReleaseHistoryResponse struct {
	*tchttp.BaseResponse
	Response *DescribeClusterReleaseHistoryResponseParams `json:"Response"`
}

func NewDescribeClusterReleaseHistoryResponse added in v1.0.554

func NewDescribeClusterReleaseHistoryResponse() (response *DescribeClusterReleaseHistoryResponse)

func (*DescribeClusterReleaseHistoryResponse) FromJsonString added in v1.0.554

func (r *DescribeClusterReleaseHistoryResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeClusterReleaseHistoryResponse) ToJsonString added in v1.0.554

type DescribeClusterReleaseHistoryResponseParams added in v1.0.554

type DescribeClusterReleaseHistoryResponseParams struct {
	// 已安装应用版本历史
	// 注意:此字段可能返回 null,表示取不到有效值。
	ReleaseHistorySet []*ReleaseHistory `json:"ReleaseHistorySet,omitnil,omitempty" name:"ReleaseHistorySet"`

	// 总数量
	// 注意:此字段可能返回 null,表示取不到有效值。
	Total *int64 `json:"Total,omitnil,omitempty" name:"Total"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeClusterReleasesRequest added in v1.0.554

type DescribeClusterReleasesRequest struct {
	*tchttp.BaseRequest

	// 集群id
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// 每页数量限制
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// 页偏移量
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 集群类型, 目前支持传入 tke, eks, tkeedge, external
	ClusterType *string `json:"ClusterType,omitnil,omitempty" name:"ClusterType"`

	// helm Release 安装的namespace
	Namespace *string `json:"Namespace,omitnil,omitempty" name:"Namespace"`

	// helm Release 的名字
	ReleaseName *string `json:"ReleaseName,omitnil,omitempty" name:"ReleaseName"`

	// helm Chart 的名字
	ChartName *string `json:"ChartName,omitnil,omitempty" name:"ChartName"`
}

func NewDescribeClusterReleasesRequest added in v1.0.554

func NewDescribeClusterReleasesRequest() (request *DescribeClusterReleasesRequest)

func (*DescribeClusterReleasesRequest) FromJsonString added in v1.0.554

func (r *DescribeClusterReleasesRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeClusterReleasesRequest) ToJsonString added in v1.0.554

func (r *DescribeClusterReleasesRequest) ToJsonString() string

type DescribeClusterReleasesRequestParams added in v1.0.554

type DescribeClusterReleasesRequestParams struct {
	// 集群id
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// 每页数量限制
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// 页偏移量
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 集群类型, 目前支持传入 tke, eks, tkeedge, external
	ClusterType *string `json:"ClusterType,omitnil,omitempty" name:"ClusterType"`

	// helm Release 安装的namespace
	Namespace *string `json:"Namespace,omitnil,omitempty" name:"Namespace"`

	// helm Release 的名字
	ReleaseName *string `json:"ReleaseName,omitnil,omitempty" name:"ReleaseName"`

	// helm Chart 的名字
	ChartName *string `json:"ChartName,omitnil,omitempty" name:"ChartName"`
}

Predefined struct for user

type DescribeClusterReleasesResponse added in v1.0.554

type DescribeClusterReleasesResponse struct {
	*tchttp.BaseResponse
	Response *DescribeClusterReleasesResponseParams `json:"Response"`
}

func NewDescribeClusterReleasesResponse added in v1.0.554

func NewDescribeClusterReleasesResponse() (response *DescribeClusterReleasesResponse)

func (*DescribeClusterReleasesResponse) FromJsonString added in v1.0.554

func (r *DescribeClusterReleasesResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeClusterReleasesResponse) ToJsonString added in v1.0.554

func (r *DescribeClusterReleasesResponse) ToJsonString() string

type DescribeClusterReleasesResponseParams added in v1.0.554

type DescribeClusterReleasesResponseParams struct {
	// 数量限制
	// 注意:此字段可能返回 null,表示取不到有效值。
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// 偏移量
	// 注意:此字段可能返回 null,表示取不到有效值。
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 已安装应用列表
	// 注意:此字段可能返回 null,表示取不到有效值。
	ReleaseSet []*Release `json:"ReleaseSet,omitnil,omitempty" name:"ReleaseSet"`

	// 已安装应用总数量
	// 注意:此字段可能返回 null,表示取不到有效值。
	Total *int64 `json:"Total,omitnil,omitempty" name:"Total"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeClusterRouteTablesRequest

type DescribeClusterRouteTablesRequest struct {
	*tchttp.BaseRequest
}

func NewDescribeClusterRouteTablesRequest

func NewDescribeClusterRouteTablesRequest() (request *DescribeClusterRouteTablesRequest)

func (*DescribeClusterRouteTablesRequest) FromJsonString

func (r *DescribeClusterRouteTablesRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeClusterRouteTablesRequest) ToJsonString

func (r *DescribeClusterRouteTablesRequest) ToJsonString() string

type DescribeClusterRouteTablesRequestParams added in v1.0.426

type DescribeClusterRouteTablesRequestParams struct {
}

Predefined struct for user

type DescribeClusterRouteTablesResponse

type DescribeClusterRouteTablesResponse struct {
	*tchttp.BaseResponse
	Response *DescribeClusterRouteTablesResponseParams `json:"Response"`
}

func NewDescribeClusterRouteTablesResponse

func NewDescribeClusterRouteTablesResponse() (response *DescribeClusterRouteTablesResponse)

func (*DescribeClusterRouteTablesResponse) FromJsonString

func (r *DescribeClusterRouteTablesResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeClusterRouteTablesResponse) ToJsonString

func (r *DescribeClusterRouteTablesResponse) ToJsonString() string

type DescribeClusterRouteTablesResponseParams added in v1.0.426

type DescribeClusterRouteTablesResponseParams struct {
	// 符合条件的实例数量。
	TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// 集群路由表对象。
	RouteTableSet []*RouteTableInfo `json:"RouteTableSet,omitnil,omitempty" name:"RouteTableSet"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeClusterRoutesRequest

type DescribeClusterRoutesRequest struct {
	*tchttp.BaseRequest

	// 路由表名称。
	RouteTableName *string `json:"RouteTableName,omitnil,omitempty" name:"RouteTableName"`

	// 过滤条件,当前只支持按照单个条件GatewayIP进行过滤(可选)
	Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`
}

func NewDescribeClusterRoutesRequest

func NewDescribeClusterRoutesRequest() (request *DescribeClusterRoutesRequest)

func (*DescribeClusterRoutesRequest) FromJsonString

func (r *DescribeClusterRoutesRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeClusterRoutesRequest) ToJsonString

func (r *DescribeClusterRoutesRequest) ToJsonString() string

type DescribeClusterRoutesRequestParams added in v1.0.426

type DescribeClusterRoutesRequestParams struct {
	// 路由表名称。
	RouteTableName *string `json:"RouteTableName,omitnil,omitempty" name:"RouteTableName"`

	// 过滤条件,当前只支持按照单个条件GatewayIP进行过滤(可选)
	Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`
}

Predefined struct for user

type DescribeClusterRoutesResponse

type DescribeClusterRoutesResponse struct {
	*tchttp.BaseResponse
	Response *DescribeClusterRoutesResponseParams `json:"Response"`
}

func NewDescribeClusterRoutesResponse

func NewDescribeClusterRoutesResponse() (response *DescribeClusterRoutesResponse)

func (*DescribeClusterRoutesResponse) FromJsonString

func (r *DescribeClusterRoutesResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeClusterRoutesResponse) ToJsonString

func (r *DescribeClusterRoutesResponse) ToJsonString() string

type DescribeClusterRoutesResponseParams added in v1.0.426

type DescribeClusterRoutesResponseParams struct {
	// 符合条件的实例数量。
	TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// 集群路由对象。
	RouteSet []*RouteInfo `json:"RouteSet,omitnil,omitempty" name:"RouteSet"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeClusterSecurityRequest

type DescribeClusterSecurityRequest struct {
	*tchttp.BaseRequest

	// 集群 ID,请填写 查询集群列表 接口中返回的 clusterId 字段
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
}

func NewDescribeClusterSecurityRequest

func NewDescribeClusterSecurityRequest() (request *DescribeClusterSecurityRequest)

func (*DescribeClusterSecurityRequest) FromJsonString

func (r *DescribeClusterSecurityRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeClusterSecurityRequest) ToJsonString

func (r *DescribeClusterSecurityRequest) ToJsonString() string

type DescribeClusterSecurityRequestParams added in v1.0.426

type DescribeClusterSecurityRequestParams struct {
	// 集群 ID,请填写 查询集群列表 接口中返回的 clusterId 字段
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
}

Predefined struct for user

type DescribeClusterSecurityResponse

type DescribeClusterSecurityResponse struct {
	*tchttp.BaseResponse
	Response *DescribeClusterSecurityResponseParams `json:"Response"`
}

func NewDescribeClusterSecurityResponse

func NewDescribeClusterSecurityResponse() (response *DescribeClusterSecurityResponse)

func (*DescribeClusterSecurityResponse) FromJsonString

func (r *DescribeClusterSecurityResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeClusterSecurityResponse) ToJsonString

func (r *DescribeClusterSecurityResponse) ToJsonString() string

type DescribeClusterSecurityResponseParams added in v1.0.426

type DescribeClusterSecurityResponseParams struct {
	// 集群的账号名称
	UserName *string `json:"UserName,omitnil,omitempty" name:"UserName"`

	// 集群的访问密码
	Password *string `json:"Password,omitnil,omitempty" name:"Password"`

	// 集群访问CA证书
	CertificationAuthority *string `json:"CertificationAuthority,omitnil,omitempty" name:"CertificationAuthority"`

	// 集群访问的地址
	ClusterExternalEndpoint *string `json:"ClusterExternalEndpoint,omitnil,omitempty" name:"ClusterExternalEndpoint"`

	// 集群访问的域名
	Domain *string `json:"Domain,omitnil,omitempty" name:"Domain"`

	// 集群Endpoint地址
	PgwEndpoint *string `json:"PgwEndpoint,omitnil,omitempty" name:"PgwEndpoint"`

	// 集群访问策略组
	// 注意:此字段可能返回 null,表示取不到有效值。
	SecurityPolicy []*string `json:"SecurityPolicy,omitnil,omitempty" name:"SecurityPolicy"`

	// 集群Kubeconfig文件
	// 注意:此字段可能返回 null,表示取不到有效值。
	Kubeconfig *string `json:"Kubeconfig,omitnil,omitempty" name:"Kubeconfig"`

	// 集群JnsGw的访问地址
	// 注意:此字段可能返回 null,表示取不到有效值。
	JnsGwEndpoint *string `json:"JnsGwEndpoint,omitnil,omitempty" name:"JnsGwEndpoint"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeClusterStatusRequest added in v1.0.336

type DescribeClusterStatusRequest struct {
	*tchttp.BaseRequest

	// 集群ID列表,不传默认拉取所有集群
	ClusterIds []*string `json:"ClusterIds,omitnil,omitempty" name:"ClusterIds"`
}

func NewDescribeClusterStatusRequest added in v1.0.336

func NewDescribeClusterStatusRequest() (request *DescribeClusterStatusRequest)

func (*DescribeClusterStatusRequest) FromJsonString added in v1.0.336

func (r *DescribeClusterStatusRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeClusterStatusRequest) ToJsonString added in v1.0.336

func (r *DescribeClusterStatusRequest) ToJsonString() string

type DescribeClusterStatusRequestParams added in v1.0.426

type DescribeClusterStatusRequestParams struct {
	// 集群ID列表,不传默认拉取所有集群
	ClusterIds []*string `json:"ClusterIds,omitnil,omitempty" name:"ClusterIds"`
}

Predefined struct for user

type DescribeClusterStatusResponse added in v1.0.336

type DescribeClusterStatusResponse struct {
	*tchttp.BaseResponse
	Response *DescribeClusterStatusResponseParams `json:"Response"`
}

func NewDescribeClusterStatusResponse added in v1.0.336

func NewDescribeClusterStatusResponse() (response *DescribeClusterStatusResponse)

func (*DescribeClusterStatusResponse) FromJsonString added in v1.0.336

func (r *DescribeClusterStatusResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeClusterStatusResponse) ToJsonString added in v1.0.336

func (r *DescribeClusterStatusResponse) ToJsonString() string

type DescribeClusterStatusResponseParams added in v1.0.426

type DescribeClusterStatusResponseParams struct {
	// 集群状态列表
	ClusterStatusSet []*ClusterStatus `json:"ClusterStatusSet,omitnil,omitempty" name:"ClusterStatusSet"`

	// 集群个数
	TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeClusterVirtualNodePoolsRequest added in v1.0.575

type DescribeClusterVirtualNodePoolsRequest struct {
	*tchttp.BaseRequest

	// 集群ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
}

func NewDescribeClusterVirtualNodePoolsRequest added in v1.0.575

func NewDescribeClusterVirtualNodePoolsRequest() (request *DescribeClusterVirtualNodePoolsRequest)

func (*DescribeClusterVirtualNodePoolsRequest) FromJsonString added in v1.0.575

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeClusterVirtualNodePoolsRequest) ToJsonString added in v1.0.575

type DescribeClusterVirtualNodePoolsRequestParams added in v1.0.575

type DescribeClusterVirtualNodePoolsRequestParams struct {
	// 集群ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
}

Predefined struct for user

type DescribeClusterVirtualNodePoolsResponse added in v1.0.575

type DescribeClusterVirtualNodePoolsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeClusterVirtualNodePoolsResponseParams `json:"Response"`
}

func NewDescribeClusterVirtualNodePoolsResponse added in v1.0.575

func NewDescribeClusterVirtualNodePoolsResponse() (response *DescribeClusterVirtualNodePoolsResponse)

func (*DescribeClusterVirtualNodePoolsResponse) FromJsonString added in v1.0.575

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeClusterVirtualNodePoolsResponse) ToJsonString added in v1.0.575

type DescribeClusterVirtualNodePoolsResponseParams added in v1.0.575

type DescribeClusterVirtualNodePoolsResponseParams struct {
	// 节点池总数
	// 注意:此字段可能返回 null,表示取不到有效值。
	TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// 虚拟节点池列表
	// 注意:此字段可能返回 null,表示取不到有效值。
	NodePoolSet []*VirtualNodePool `json:"NodePoolSet,omitnil,omitempty" name:"NodePoolSet"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeClusterVirtualNodeRequest added in v1.0.575

type DescribeClusterVirtualNodeRequest struct {
	*tchttp.BaseRequest

	// 集群ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// 节点池ID
	NodePoolId *string `json:"NodePoolId,omitnil,omitempty" name:"NodePoolId"`

	// 节点名称
	NodeNames []*string `json:"NodeNames,omitnil,omitempty" name:"NodeNames"`
}

func NewDescribeClusterVirtualNodeRequest added in v1.0.575

func NewDescribeClusterVirtualNodeRequest() (request *DescribeClusterVirtualNodeRequest)

func (*DescribeClusterVirtualNodeRequest) FromJsonString added in v1.0.575

func (r *DescribeClusterVirtualNodeRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeClusterVirtualNodeRequest) ToJsonString added in v1.0.575

func (r *DescribeClusterVirtualNodeRequest) ToJsonString() string

type DescribeClusterVirtualNodeRequestParams added in v1.0.575

type DescribeClusterVirtualNodeRequestParams struct {
	// 集群ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// 节点池ID
	NodePoolId *string `json:"NodePoolId,omitnil,omitempty" name:"NodePoolId"`

	// 节点名称
	NodeNames []*string `json:"NodeNames,omitnil,omitempty" name:"NodeNames"`
}

Predefined struct for user

type DescribeClusterVirtualNodeResponse added in v1.0.575

type DescribeClusterVirtualNodeResponse struct {
	*tchttp.BaseResponse
	Response *DescribeClusterVirtualNodeResponseParams `json:"Response"`
}

func NewDescribeClusterVirtualNodeResponse added in v1.0.575

func NewDescribeClusterVirtualNodeResponse() (response *DescribeClusterVirtualNodeResponse)

func (*DescribeClusterVirtualNodeResponse) FromJsonString added in v1.0.575

func (r *DescribeClusterVirtualNodeResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeClusterVirtualNodeResponse) ToJsonString added in v1.0.575

func (r *DescribeClusterVirtualNodeResponse) ToJsonString() string

type DescribeClusterVirtualNodeResponseParams added in v1.0.575

type DescribeClusterVirtualNodeResponseParams struct {
	// 节点列表
	// 注意:此字段可能返回 null,表示取不到有效值。
	Nodes []*VirtualNode `json:"Nodes,omitnil,omitempty" name:"Nodes"`

	// 节点总数
	// 注意:此字段可能返回 null,表示取不到有效值。
	TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeClustersRequest

type DescribeClustersRequest struct {
	*tchttp.BaseRequest

	// 集群ID列表(为空时,
	// 表示获取账号下所有集群)
	ClusterIds []*string `json:"ClusterIds,omitnil,omitempty" name:"ClusterIds"`

	// 偏移量,默认0
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 最大输出条数,默认20,最大为100
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// · "Name":"ClusterName","Values": ["test"] 按照【集群名】进行过滤。 类型:String 必选:否 · "Name":"ClusterType","Values": ["MANAGED_CLUSTER"] 按照【集群类型】进行过滤。 类型:String 必选:否 · "Name":"ClusterStatus","Values": ["Running"] 按照【集群状态】进行过滤。 类型:String 必选:否 · "Name":"vpc-id","Values": ["vpc-123qajzs"] 按照【VPC】进行过滤。 类型:String 必选:否 · "Name":"tag-key","Values": ["testKey"] 按照【标签键】进行过滤。 类型:String 必选:否 · "Name":"tag-value","Values": ["testValue"] 按照【标签值】进行过滤。 类型:String 必选:否 · "Name":"Tags","Values": ["abc:1"] 按照【标签键值对】进行过滤。 类型:String 必选:否
	Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`

	// 集群类型,例如:MANAGED_CLUSTER
	ClusterType *string `json:"ClusterType,omitnil,omitempty" name:"ClusterType"`
}

func NewDescribeClustersRequest

func NewDescribeClustersRequest() (request *DescribeClustersRequest)

func (*DescribeClustersRequest) FromJsonString

func (r *DescribeClustersRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeClustersRequest) ToJsonString

func (r *DescribeClustersRequest) ToJsonString() string

type DescribeClustersRequestParams added in v1.0.426

type DescribeClustersRequestParams struct {
	// 集群ID列表(为空时,
	// 表示获取账号下所有集群)
	ClusterIds []*string `json:"ClusterIds,omitnil,omitempty" name:"ClusterIds"`

	// 偏移量,默认0
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 最大输出条数,默认20,最大为100
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// · "Name":"ClusterName","Values": ["test"] 按照【集群名】进行过滤。 类型:String 必选:否 · "Name":"ClusterType","Values": ["MANAGED_CLUSTER"] 按照【集群类型】进行过滤。 类型:String 必选:否 · "Name":"ClusterStatus","Values": ["Running"] 按照【集群状态】进行过滤。 类型:String 必选:否 · "Name":"vpc-id","Values": ["vpc-123qajzs"] 按照【VPC】进行过滤。 类型:String 必选:否 · "Name":"tag-key","Values": ["testKey"] 按照【标签键】进行过滤。 类型:String 必选:否 · "Name":"tag-value","Values": ["testValue"] 按照【标签值】进行过滤。 类型:String 必选:否 · "Name":"Tags","Values": ["abc:1"] 按照【标签键值对】进行过滤。 类型:String 必选:否
	Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`

	// 集群类型,例如:MANAGED_CLUSTER
	ClusterType *string `json:"ClusterType,omitnil,omitempty" name:"ClusterType"`
}

Predefined struct for user

type DescribeClustersResponse

type DescribeClustersResponse struct {
	*tchttp.BaseResponse
	Response *DescribeClustersResponseParams `json:"Response"`
}

func NewDescribeClustersResponse

func NewDescribeClustersResponse() (response *DescribeClustersResponse)

func (*DescribeClustersResponse) FromJsonString

func (r *DescribeClustersResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeClustersResponse) ToJsonString

func (r *DescribeClustersResponse) ToJsonString() string

type DescribeClustersResponseParams added in v1.0.426

type DescribeClustersResponseParams struct {
	// 集群总个数
	TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// 集群信息列表
	Clusters []*Cluster `json:"Clusters,omitnil,omitempty" name:"Clusters"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeECMInstancesRequest added in v1.0.412

type DescribeECMInstancesRequest struct {
	*tchttp.BaseRequest

	// 集群id
	ClusterID *string `json:"ClusterID,omitnil,omitempty" name:"ClusterID"`

	// 过滤条件
	// 仅支持ecm-id过滤
	Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`
}

func NewDescribeECMInstancesRequest added in v1.0.412

func NewDescribeECMInstancesRequest() (request *DescribeECMInstancesRequest)

func (*DescribeECMInstancesRequest) FromJsonString added in v1.0.412

func (r *DescribeECMInstancesRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeECMInstancesRequest) ToJsonString added in v1.0.412

func (r *DescribeECMInstancesRequest) ToJsonString() string

type DescribeECMInstancesRequestParams added in v1.0.426

type DescribeECMInstancesRequestParams struct {
	// 集群id
	ClusterID *string `json:"ClusterID,omitnil,omitempty" name:"ClusterID"`

	// 过滤条件
	// 仅支持ecm-id过滤
	Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`
}

Predefined struct for user

type DescribeECMInstancesResponse added in v1.0.412

type DescribeECMInstancesResponse struct {
	*tchttp.BaseResponse
	Response *DescribeECMInstancesResponseParams `json:"Response"`
}

func NewDescribeECMInstancesResponse added in v1.0.412

func NewDescribeECMInstancesResponse() (response *DescribeECMInstancesResponse)

func (*DescribeECMInstancesResponse) FromJsonString added in v1.0.412

func (r *DescribeECMInstancesResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeECMInstancesResponse) ToJsonString added in v1.0.412

func (r *DescribeECMInstancesResponse) ToJsonString() string

type DescribeECMInstancesResponseParams added in v1.0.426

type DescribeECMInstancesResponseParams struct {
	// 返回的实例相关信息列表的长度
	TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// 返回的实例相关信息列表
	InstanceInfoSet []*string `json:"InstanceInfoSet,omitnil,omitempty" name:"InstanceInfoSet"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeEKSClusterCredentialRequest

type DescribeEKSClusterCredentialRequest struct {
	*tchttp.BaseRequest

	// 集群Id
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
}

func NewDescribeEKSClusterCredentialRequest

func NewDescribeEKSClusterCredentialRequest() (request *DescribeEKSClusterCredentialRequest)

func (*DescribeEKSClusterCredentialRequest) FromJsonString

func (r *DescribeEKSClusterCredentialRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeEKSClusterCredentialRequest) ToJsonString

func (r *DescribeEKSClusterCredentialRequest) ToJsonString() string

type DescribeEKSClusterCredentialRequestParams added in v1.0.426

type DescribeEKSClusterCredentialRequestParams struct {
	// 集群Id
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
}

Predefined struct for user

type DescribeEKSClusterCredentialResponse

type DescribeEKSClusterCredentialResponse struct {
	*tchttp.BaseResponse
	Response *DescribeEKSClusterCredentialResponseParams `json:"Response"`
}

func NewDescribeEKSClusterCredentialResponse

func NewDescribeEKSClusterCredentialResponse() (response *DescribeEKSClusterCredentialResponse)

func (*DescribeEKSClusterCredentialResponse) FromJsonString

func (r *DescribeEKSClusterCredentialResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeEKSClusterCredentialResponse) ToJsonString

func (r *DescribeEKSClusterCredentialResponse) ToJsonString() string

type DescribeEKSClusterCredentialResponseParams added in v1.0.426

type DescribeEKSClusterCredentialResponseParams struct {
	// 集群的接入地址信息
	Addresses []*IPAddress `json:"Addresses,omitnil,omitempty" name:"Addresses"`

	// 集群的认证信息(token只有请求是主账号才返回,子账户请使用返回的kubeconfig)
	Credential *ClusterCredential `json:"Credential,omitnil,omitempty" name:"Credential"`

	// 集群的公网访问信息
	PublicLB *ClusterPublicLB `json:"PublicLB,omitnil,omitempty" name:"PublicLB"`

	// 集群的内网访问信息
	InternalLB *ClusterInternalLB `json:"InternalLB,omitnil,omitempty" name:"InternalLB"`

	// 标记是否新的内外网功能
	ProxyLB *bool `json:"ProxyLB,omitnil,omitempty" name:"ProxyLB"`

	// 连接用户集群k8s 的Config
	Kubeconfig *string `json:"Kubeconfig,omitnil,omitempty" name:"Kubeconfig"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeEKSClustersRequest

type DescribeEKSClustersRequest struct {
	*tchttp.BaseRequest

	// 集群ID列表(为空时,
	// 表示获取账号下所有集群)
	ClusterIds []*string `json:"ClusterIds,omitnil,omitempty" name:"ClusterIds"`

	// 偏移量,默认0
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 最大输出条数,默认20
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// 过滤条件,当前只支持按照单个条件ClusterName进行过滤
	Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`
}

func NewDescribeEKSClustersRequest

func NewDescribeEKSClustersRequest() (request *DescribeEKSClustersRequest)

func (*DescribeEKSClustersRequest) FromJsonString

func (r *DescribeEKSClustersRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeEKSClustersRequest) ToJsonString

func (r *DescribeEKSClustersRequest) ToJsonString() string

type DescribeEKSClustersRequestParams added in v1.0.426

type DescribeEKSClustersRequestParams struct {
	// 集群ID列表(为空时,
	// 表示获取账号下所有集群)
	ClusterIds []*string `json:"ClusterIds,omitnil,omitempty" name:"ClusterIds"`

	// 偏移量,默认0
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 最大输出条数,默认20
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// 过滤条件,当前只支持按照单个条件ClusterName进行过滤
	Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`
}

Predefined struct for user

type DescribeEKSClustersResponse

type DescribeEKSClustersResponse struct {
	*tchttp.BaseResponse
	Response *DescribeEKSClustersResponseParams `json:"Response"`
}

func NewDescribeEKSClustersResponse

func NewDescribeEKSClustersResponse() (response *DescribeEKSClustersResponse)

func (*DescribeEKSClustersResponse) FromJsonString

func (r *DescribeEKSClustersResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeEKSClustersResponse) ToJsonString

func (r *DescribeEKSClustersResponse) ToJsonString() string

type DescribeEKSClustersResponseParams added in v1.0.426

type DescribeEKSClustersResponseParams struct {
	// 集群总个数
	TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// 集群信息列表
	Clusters []*EksCluster `json:"Clusters,omitnil,omitempty" name:"Clusters"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeEKSContainerInstanceEventRequest added in v1.0.254

type DescribeEKSContainerInstanceEventRequest struct {
	*tchttp.BaseRequest

	// 容器实例id
	EksCiId *string `json:"EksCiId,omitnil,omitempty" name:"EksCiId"`

	// 最大事件数量。默认为50,最大取值100。
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`
}

func NewDescribeEKSContainerInstanceEventRequest added in v1.0.254

func NewDescribeEKSContainerInstanceEventRequest() (request *DescribeEKSContainerInstanceEventRequest)

func (*DescribeEKSContainerInstanceEventRequest) FromJsonString added in v1.0.254

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeEKSContainerInstanceEventRequest) ToJsonString added in v1.0.254

type DescribeEKSContainerInstanceEventRequestParams added in v1.0.426

type DescribeEKSContainerInstanceEventRequestParams struct {
	// 容器实例id
	EksCiId *string `json:"EksCiId,omitnil,omitempty" name:"EksCiId"`

	// 最大事件数量。默认为50,最大取值100。
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`
}

Predefined struct for user

type DescribeEKSContainerInstanceEventResponse added in v1.0.254

type DescribeEKSContainerInstanceEventResponse struct {
	*tchttp.BaseResponse
	Response *DescribeEKSContainerInstanceEventResponseParams `json:"Response"`
}

func NewDescribeEKSContainerInstanceEventResponse added in v1.0.254

func NewDescribeEKSContainerInstanceEventResponse() (response *DescribeEKSContainerInstanceEventResponse)

func (*DescribeEKSContainerInstanceEventResponse) FromJsonString added in v1.0.254

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeEKSContainerInstanceEventResponse) ToJsonString added in v1.0.254

type DescribeEKSContainerInstanceEventResponseParams added in v1.0.426

type DescribeEKSContainerInstanceEventResponseParams struct {
	// 事件集合
	Events []*Event `json:"Events,omitnil,omitempty" name:"Events"`

	// 容器实例id
	EksCiId *string `json:"EksCiId,omitnil,omitempty" name:"EksCiId"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeEKSContainerInstanceRegionsRequest added in v1.0.249

type DescribeEKSContainerInstanceRegionsRequest struct {
	*tchttp.BaseRequest
}

func NewDescribeEKSContainerInstanceRegionsRequest added in v1.0.249

func NewDescribeEKSContainerInstanceRegionsRequest() (request *DescribeEKSContainerInstanceRegionsRequest)

func (*DescribeEKSContainerInstanceRegionsRequest) FromJsonString added in v1.0.249

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeEKSContainerInstanceRegionsRequest) ToJsonString added in v1.0.249

type DescribeEKSContainerInstanceRegionsRequestParams added in v1.0.426

type DescribeEKSContainerInstanceRegionsRequestParams struct {
}

Predefined struct for user

type DescribeEKSContainerInstanceRegionsResponse added in v1.0.249

type DescribeEKSContainerInstanceRegionsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeEKSContainerInstanceRegionsResponseParams `json:"Response"`
}

func NewDescribeEKSContainerInstanceRegionsResponse added in v1.0.249

func NewDescribeEKSContainerInstanceRegionsResponse() (response *DescribeEKSContainerInstanceRegionsResponse)

func (*DescribeEKSContainerInstanceRegionsResponse) FromJsonString added in v1.0.249

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeEKSContainerInstanceRegionsResponse) ToJsonString added in v1.0.249

type DescribeEKSContainerInstanceRegionsResponseParams added in v1.0.426

type DescribeEKSContainerInstanceRegionsResponseParams struct {
	// EKS Container Instance支持的地域信息
	// 注意:此字段可能返回 null,表示取不到有效值。
	Regions []*EksCiRegionInfo `json:"Regions,omitnil,omitempty" name:"Regions"`

	// 总数
	TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeEKSContainerInstancesRequest added in v1.0.254

type DescribeEKSContainerInstancesRequest struct {
	*tchttp.BaseRequest

	// 限定此次返回资源的数量。如果不设定,默认返回20,最大不能超过100
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// 偏移量,默认0
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 过滤条件,可条件:
	// (1)实例名称
	// KeyName: eks-ci-name
	// 类型:String
	//
	// (2)实例状态
	// KeyName: status
	// 类型:String
	// 可选值:"Pending", "Running", "Succeeded", "Failed"
	//
	// (3)内网ip
	// KeyName: private-ip
	// 类型:String
	//
	// (4)EIP地址
	// KeyName: eip-address
	// 类型:String
	//
	// (5)VpcId
	// KeyName: vpc-id
	// 类型:String
	Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`

	// 容器实例 ID 数组
	EksCiIds []*string `json:"EksCiIds,omitnil,omitempty" name:"EksCiIds"`
}

func NewDescribeEKSContainerInstancesRequest added in v1.0.254

func NewDescribeEKSContainerInstancesRequest() (request *DescribeEKSContainerInstancesRequest)

func (*DescribeEKSContainerInstancesRequest) FromJsonString added in v1.0.254

func (r *DescribeEKSContainerInstancesRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeEKSContainerInstancesRequest) ToJsonString added in v1.0.254

func (r *DescribeEKSContainerInstancesRequest) ToJsonString() string

type DescribeEKSContainerInstancesRequestParams added in v1.0.426

type DescribeEKSContainerInstancesRequestParams struct {
	// 限定此次返回资源的数量。如果不设定,默认返回20,最大不能超过100
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// 偏移量,默认0
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 过滤条件,可条件:
	// (1)实例名称
	// KeyName: eks-ci-name
	// 类型:String
	//
	// (2)实例状态
	// KeyName: status
	// 类型:String
	// 可选值:"Pending", "Running", "Succeeded", "Failed"
	//
	// (3)内网ip
	// KeyName: private-ip
	// 类型:String
	//
	// (4)EIP地址
	// KeyName: eip-address
	// 类型:String
	//
	// (5)VpcId
	// KeyName: vpc-id
	// 类型:String
	Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`

	// 容器实例 ID 数组
	EksCiIds []*string `json:"EksCiIds,omitnil,omitempty" name:"EksCiIds"`
}

Predefined struct for user

type DescribeEKSContainerInstancesResponse added in v1.0.254

type DescribeEKSContainerInstancesResponse struct {
	*tchttp.BaseResponse
	Response *DescribeEKSContainerInstancesResponseParams `json:"Response"`
}

func NewDescribeEKSContainerInstancesResponse added in v1.0.254

func NewDescribeEKSContainerInstancesResponse() (response *DescribeEKSContainerInstancesResponse)

func (*DescribeEKSContainerInstancesResponse) FromJsonString added in v1.0.254

func (r *DescribeEKSContainerInstancesResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeEKSContainerInstancesResponse) ToJsonString added in v1.0.254

type DescribeEKSContainerInstancesResponseParams added in v1.0.426

type DescribeEKSContainerInstancesResponseParams struct {
	// 容器组总数
	TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// 容器组列表
	EksCis []*EksCi `json:"EksCis,omitnil,omitempty" name:"EksCis"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeEdgeAvailableExtraArgsRequest added in v1.0.412

type DescribeEdgeAvailableExtraArgsRequest struct {
	*tchttp.BaseRequest

	// 集群版本
	ClusterVersion *string `json:"ClusterVersion,omitnil,omitempty" name:"ClusterVersion"`
}

func NewDescribeEdgeAvailableExtraArgsRequest added in v1.0.412

func NewDescribeEdgeAvailableExtraArgsRequest() (request *DescribeEdgeAvailableExtraArgsRequest)

func (*DescribeEdgeAvailableExtraArgsRequest) FromJsonString added in v1.0.412

func (r *DescribeEdgeAvailableExtraArgsRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeEdgeAvailableExtraArgsRequest) ToJsonString added in v1.0.412

type DescribeEdgeAvailableExtraArgsRequestParams added in v1.0.426

type DescribeEdgeAvailableExtraArgsRequestParams struct {
	// 集群版本
	ClusterVersion *string `json:"ClusterVersion,omitnil,omitempty" name:"ClusterVersion"`
}

Predefined struct for user

type DescribeEdgeAvailableExtraArgsResponse added in v1.0.412

type DescribeEdgeAvailableExtraArgsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeEdgeAvailableExtraArgsResponseParams `json:"Response"`
}

func NewDescribeEdgeAvailableExtraArgsResponse added in v1.0.412

func NewDescribeEdgeAvailableExtraArgsResponse() (response *DescribeEdgeAvailableExtraArgsResponse)

func (*DescribeEdgeAvailableExtraArgsResponse) FromJsonString added in v1.0.412

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeEdgeAvailableExtraArgsResponse) ToJsonString added in v1.0.412

type DescribeEdgeAvailableExtraArgsResponseParams added in v1.0.426

type DescribeEdgeAvailableExtraArgsResponseParams struct {
	// 集群版本
	// 注意:此字段可能返回 null,表示取不到有效值。
	ClusterVersion *string `json:"ClusterVersion,omitnil,omitempty" name:"ClusterVersion"`

	// 可用的自定义参数
	// 注意:此字段可能返回 null,表示取不到有效值。
	AvailableExtraArgs *EdgeAvailableExtraArgs `json:"AvailableExtraArgs,omitnil,omitempty" name:"AvailableExtraArgs"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeEdgeCVMInstancesRequest added in v1.0.412

type DescribeEdgeCVMInstancesRequest struct {
	*tchttp.BaseRequest

	// 集群id
	ClusterID *string `json:"ClusterID,omitnil,omitempty" name:"ClusterID"`

	// 过滤条件
	// 仅支持cvm-id过滤
	Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`
}

func NewDescribeEdgeCVMInstancesRequest added in v1.0.412

func NewDescribeEdgeCVMInstancesRequest() (request *DescribeEdgeCVMInstancesRequest)

func (*DescribeEdgeCVMInstancesRequest) FromJsonString added in v1.0.412

func (r *DescribeEdgeCVMInstancesRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeEdgeCVMInstancesRequest) ToJsonString added in v1.0.412

func (r *DescribeEdgeCVMInstancesRequest) ToJsonString() string

type DescribeEdgeCVMInstancesRequestParams added in v1.0.426

type DescribeEdgeCVMInstancesRequestParams struct {
	// 集群id
	ClusterID *string `json:"ClusterID,omitnil,omitempty" name:"ClusterID"`

	// 过滤条件
	// 仅支持cvm-id过滤
	Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`
}

Predefined struct for user

type DescribeEdgeCVMInstancesResponse added in v1.0.412

type DescribeEdgeCVMInstancesResponse struct {
	*tchttp.BaseResponse
	Response *DescribeEdgeCVMInstancesResponseParams `json:"Response"`
}

func NewDescribeEdgeCVMInstancesResponse added in v1.0.412

func NewDescribeEdgeCVMInstancesResponse() (response *DescribeEdgeCVMInstancesResponse)

func (*DescribeEdgeCVMInstancesResponse) FromJsonString added in v1.0.412

func (r *DescribeEdgeCVMInstancesResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeEdgeCVMInstancesResponse) ToJsonString added in v1.0.412

func (r *DescribeEdgeCVMInstancesResponse) ToJsonString() string

type DescribeEdgeCVMInstancesResponseParams added in v1.0.426

type DescribeEdgeCVMInstancesResponseParams struct {
	// 返回的实例相关信息列表的长度
	TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// 返回的实例相关信息列表
	InstanceInfoSet []*string `json:"InstanceInfoSet,omitnil,omitempty" name:"InstanceInfoSet"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeEdgeClusterExtraArgsRequest added in v1.0.412

type DescribeEdgeClusterExtraArgsRequest struct {
	*tchttp.BaseRequest

	// 集群ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
}

func NewDescribeEdgeClusterExtraArgsRequest added in v1.0.412

func NewDescribeEdgeClusterExtraArgsRequest() (request *DescribeEdgeClusterExtraArgsRequest)

func (*DescribeEdgeClusterExtraArgsRequest) FromJsonString added in v1.0.412

func (r *DescribeEdgeClusterExtraArgsRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeEdgeClusterExtraArgsRequest) ToJsonString added in v1.0.412

func (r *DescribeEdgeClusterExtraArgsRequest) ToJsonString() string

type DescribeEdgeClusterExtraArgsRequestParams added in v1.0.426

type DescribeEdgeClusterExtraArgsRequestParams struct {
	// 集群ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
}

Predefined struct for user

type DescribeEdgeClusterExtraArgsResponse added in v1.0.412

type DescribeEdgeClusterExtraArgsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeEdgeClusterExtraArgsResponseParams `json:"Response"`
}

func NewDescribeEdgeClusterExtraArgsResponse added in v1.0.412

func NewDescribeEdgeClusterExtraArgsResponse() (response *DescribeEdgeClusterExtraArgsResponse)

func (*DescribeEdgeClusterExtraArgsResponse) FromJsonString added in v1.0.412

func (r *DescribeEdgeClusterExtraArgsResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeEdgeClusterExtraArgsResponse) ToJsonString added in v1.0.412

func (r *DescribeEdgeClusterExtraArgsResponse) ToJsonString() string

type DescribeEdgeClusterExtraArgsResponseParams added in v1.0.426

type DescribeEdgeClusterExtraArgsResponseParams struct {
	// 集群自定义参数
	// 注意:此字段可能返回 null,表示取不到有效值。
	ClusterExtraArgs *EdgeClusterExtraArgs `json:"ClusterExtraArgs,omitnil,omitempty" name:"ClusterExtraArgs"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeEdgeClusterInstancesRequest added in v1.0.412

type DescribeEdgeClusterInstancesRequest struct {
	*tchttp.BaseRequest

	// 集群id
	ClusterID *string `json:"ClusterID,omitnil,omitempty" name:"ClusterID"`

	// 查询总数
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// 偏移量
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 过滤条件,仅支持NodeName过滤
	Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`
}

func NewDescribeEdgeClusterInstancesRequest added in v1.0.412

func NewDescribeEdgeClusterInstancesRequest() (request *DescribeEdgeClusterInstancesRequest)

func (*DescribeEdgeClusterInstancesRequest) FromJsonString added in v1.0.412

func (r *DescribeEdgeClusterInstancesRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeEdgeClusterInstancesRequest) ToJsonString added in v1.0.412

func (r *DescribeEdgeClusterInstancesRequest) ToJsonString() string

type DescribeEdgeClusterInstancesRequestParams added in v1.0.426

type DescribeEdgeClusterInstancesRequestParams struct {
	// 集群id
	ClusterID *string `json:"ClusterID,omitnil,omitempty" name:"ClusterID"`

	// 查询总数
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// 偏移量
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 过滤条件,仅支持NodeName过滤
	Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`
}

Predefined struct for user

type DescribeEdgeClusterInstancesResponse added in v1.0.412

type DescribeEdgeClusterInstancesResponse struct {
	*tchttp.BaseResponse
	Response *DescribeEdgeClusterInstancesResponseParams `json:"Response"`
}

func NewDescribeEdgeClusterInstancesResponse added in v1.0.412

func NewDescribeEdgeClusterInstancesResponse() (response *DescribeEdgeClusterInstancesResponse)

func (*DescribeEdgeClusterInstancesResponse) FromJsonString added in v1.0.412

func (r *DescribeEdgeClusterInstancesResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeEdgeClusterInstancesResponse) ToJsonString added in v1.0.412

func (r *DescribeEdgeClusterInstancesResponse) ToJsonString() string

type DescribeEdgeClusterInstancesResponseParams added in v1.0.426

type DescribeEdgeClusterInstancesResponseParams struct {
	// 该集群总数
	TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// 节点信息集合
	InstanceInfoSet *string `json:"InstanceInfoSet,omitnil,omitempty" name:"InstanceInfoSet"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeEdgeClusterUpgradeInfoRequest added in v1.0.510

type DescribeEdgeClusterUpgradeInfoRequest struct {
	*tchttp.BaseRequest

	// 集群ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// 要升级到的TKEEdge版本
	EdgeVersion *string `json:"EdgeVersion,omitnil,omitempty" name:"EdgeVersion"`
}

func NewDescribeEdgeClusterUpgradeInfoRequest added in v1.0.510

func NewDescribeEdgeClusterUpgradeInfoRequest() (request *DescribeEdgeClusterUpgradeInfoRequest)

func (*DescribeEdgeClusterUpgradeInfoRequest) FromJsonString added in v1.0.510

func (r *DescribeEdgeClusterUpgradeInfoRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeEdgeClusterUpgradeInfoRequest) ToJsonString added in v1.0.510

type DescribeEdgeClusterUpgradeInfoRequestParams added in v1.0.510

type DescribeEdgeClusterUpgradeInfoRequestParams struct {
	// 集群ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// 要升级到的TKEEdge版本
	EdgeVersion *string `json:"EdgeVersion,omitnil,omitempty" name:"EdgeVersion"`
}

Predefined struct for user

type DescribeEdgeClusterUpgradeInfoResponse added in v1.0.510

type DescribeEdgeClusterUpgradeInfoResponse struct {
	*tchttp.BaseResponse
	Response *DescribeEdgeClusterUpgradeInfoResponseParams `json:"Response"`
}

func NewDescribeEdgeClusterUpgradeInfoResponse added in v1.0.510

func NewDescribeEdgeClusterUpgradeInfoResponse() (response *DescribeEdgeClusterUpgradeInfoResponse)

func (*DescribeEdgeClusterUpgradeInfoResponse) FromJsonString added in v1.0.510

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeEdgeClusterUpgradeInfoResponse) ToJsonString added in v1.0.510

type DescribeEdgeClusterUpgradeInfoResponseParams added in v1.0.510

type DescribeEdgeClusterUpgradeInfoResponseParams struct {
	// 可升级的集群组件及其版本
	// 注意:此字段可能返回 null,表示取不到有效值。
	ComponentVersion *string `json:"ComponentVersion,omitnil,omitempty" name:"ComponentVersion"`

	// 边缘集群当前版本
	// 注意:此字段可能返回 null,表示取不到有效值。
	EdgeVersionCurrent *string `json:"EdgeVersionCurrent,omitnil,omitempty" name:"EdgeVersionCurrent"`

	// 边缘组件镜像仓库地址前缀,包含域名和命名空间
	// 注意:此字段可能返回 null,表示取不到有效值。
	RegistryPrefix *string `json:"RegistryPrefix,omitnil,omitempty" name:"RegistryPrefix"`

	// 集群升级状态,可能值:running、updating、failed
	// 注意:此字段可能返回 null,表示取不到有效值。
	ClusterUpgradeStatus *string `json:"ClusterUpgradeStatus,omitnil,omitempty" name:"ClusterUpgradeStatus"`

	// 集群升级中状态或者失败原因
	// 注意:此字段可能返回 null,表示取不到有效值。
	ClusterUpgradeStatusReason *string `json:"ClusterUpgradeStatusReason,omitnil,omitempty" name:"ClusterUpgradeStatusReason"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeEdgeLogSwitchesRequest added in v1.0.452

type DescribeEdgeLogSwitchesRequest struct {
	*tchttp.BaseRequest

	// 集群ID列表
	ClusterIds []*string `json:"ClusterIds,omitnil,omitempty" name:"ClusterIds"`
}

func NewDescribeEdgeLogSwitchesRequest added in v1.0.452

func NewDescribeEdgeLogSwitchesRequest() (request *DescribeEdgeLogSwitchesRequest)

func (*DescribeEdgeLogSwitchesRequest) FromJsonString added in v1.0.452

func (r *DescribeEdgeLogSwitchesRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeEdgeLogSwitchesRequest) ToJsonString added in v1.0.452

func (r *DescribeEdgeLogSwitchesRequest) ToJsonString() string

type DescribeEdgeLogSwitchesRequestParams added in v1.0.452

type DescribeEdgeLogSwitchesRequestParams struct {
	// 集群ID列表
	ClusterIds []*string `json:"ClusterIds,omitnil,omitempty" name:"ClusterIds"`
}

Predefined struct for user

type DescribeEdgeLogSwitchesResponse added in v1.0.452

type DescribeEdgeLogSwitchesResponse struct {
	*tchttp.BaseResponse
	Response *DescribeEdgeLogSwitchesResponseParams `json:"Response"`
}

func NewDescribeEdgeLogSwitchesResponse added in v1.0.452

func NewDescribeEdgeLogSwitchesResponse() (response *DescribeEdgeLogSwitchesResponse)

func (*DescribeEdgeLogSwitchesResponse) FromJsonString added in v1.0.452

func (r *DescribeEdgeLogSwitchesResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeEdgeLogSwitchesResponse) ToJsonString added in v1.0.452

func (r *DescribeEdgeLogSwitchesResponse) ToJsonString() string

type DescribeEdgeLogSwitchesResponseParams added in v1.0.452

type DescribeEdgeLogSwitchesResponseParams struct {
	// 集群日志开关集合
	// 注意:此字段可能返回 null,表示取不到有效值。
	SwitchSet []*string `json:"SwitchSet,omitnil,omitempty" name:"SwitchSet"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeEksContainerInstanceLogRequest added in v1.0.254

type DescribeEksContainerInstanceLogRequest struct {
	*tchttp.BaseRequest

	// Eks Container Instance Id,即容器实例Id
	EksCiId *string `json:"EksCiId,omitnil,omitempty" name:"EksCiId"`

	// 容器名称,单容器的实例可选填。如果为多容器实例,请指定容器名称。
	ContainerName *string `json:"ContainerName,omitnil,omitempty" name:"ContainerName"`

	// 返回最新日志行数,默认500,最大2000。日志内容最大返回 1M 数据。
	Tail *uint64 `json:"Tail,omitnil,omitempty" name:"Tail"`

	// UTC时间,RFC3339标准
	StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// 是否是查上一个容器(如果容器退出重启了)
	Previous *bool `json:"Previous,omitnil,omitempty" name:"Previous"`

	// 查询最近多少秒内的日志
	SinceSeconds *uint64 `json:"SinceSeconds,omitnil,omitempty" name:"SinceSeconds"`

	// 日志总大小限制
	LimitBytes *uint64 `json:"LimitBytes,omitnil,omitempty" name:"LimitBytes"`
}

func NewDescribeEksContainerInstanceLogRequest added in v1.0.254

func NewDescribeEksContainerInstanceLogRequest() (request *DescribeEksContainerInstanceLogRequest)

func (*DescribeEksContainerInstanceLogRequest) FromJsonString added in v1.0.254

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeEksContainerInstanceLogRequest) ToJsonString added in v1.0.254

type DescribeEksContainerInstanceLogRequestParams added in v1.0.426

type DescribeEksContainerInstanceLogRequestParams struct {
	// Eks Container Instance Id,即容器实例Id
	EksCiId *string `json:"EksCiId,omitnil,omitempty" name:"EksCiId"`

	// 容器名称,单容器的实例可选填。如果为多容器实例,请指定容器名称。
	ContainerName *string `json:"ContainerName,omitnil,omitempty" name:"ContainerName"`

	// 返回最新日志行数,默认500,最大2000。日志内容最大返回 1M 数据。
	Tail *uint64 `json:"Tail,omitnil,omitempty" name:"Tail"`

	// UTC时间,RFC3339标准
	StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// 是否是查上一个容器(如果容器退出重启了)
	Previous *bool `json:"Previous,omitnil,omitempty" name:"Previous"`

	// 查询最近多少秒内的日志
	SinceSeconds *uint64 `json:"SinceSeconds,omitnil,omitempty" name:"SinceSeconds"`

	// 日志总大小限制
	LimitBytes *uint64 `json:"LimitBytes,omitnil,omitempty" name:"LimitBytes"`
}

Predefined struct for user

type DescribeEksContainerInstanceLogResponse added in v1.0.254

type DescribeEksContainerInstanceLogResponse struct {
	*tchttp.BaseResponse
	Response *DescribeEksContainerInstanceLogResponseParams `json:"Response"`
}

func NewDescribeEksContainerInstanceLogResponse added in v1.0.254

func NewDescribeEksContainerInstanceLogResponse() (response *DescribeEksContainerInstanceLogResponse)

func (*DescribeEksContainerInstanceLogResponse) FromJsonString added in v1.0.254

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeEksContainerInstanceLogResponse) ToJsonString added in v1.0.254

type DescribeEksContainerInstanceLogResponseParams added in v1.0.426

type DescribeEksContainerInstanceLogResponseParams struct {
	// 容器名称
	ContainerName *string `json:"ContainerName,omitnil,omitempty" name:"ContainerName"`

	// 日志内容
	LogContent *string `json:"LogContent,omitnil,omitempty" name:"LogContent"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeEnableVpcCniProgressRequest

type DescribeEnableVpcCniProgressRequest struct {
	*tchttp.BaseRequest

	// 开启vpc-cni的集群ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
}

func NewDescribeEnableVpcCniProgressRequest

func NewDescribeEnableVpcCniProgressRequest() (request *DescribeEnableVpcCniProgressRequest)

func (*DescribeEnableVpcCniProgressRequest) FromJsonString

func (r *DescribeEnableVpcCniProgressRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeEnableVpcCniProgressRequest) ToJsonString

func (r *DescribeEnableVpcCniProgressRequest) ToJsonString() string

type DescribeEnableVpcCniProgressRequestParams added in v1.0.426

type DescribeEnableVpcCniProgressRequestParams struct {
	// 开启vpc-cni的集群ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
}

Predefined struct for user

type DescribeEnableVpcCniProgressResponse

type DescribeEnableVpcCniProgressResponse struct {
	*tchttp.BaseResponse
	Response *DescribeEnableVpcCniProgressResponseParams `json:"Response"`
}

func NewDescribeEnableVpcCniProgressResponse

func NewDescribeEnableVpcCniProgressResponse() (response *DescribeEnableVpcCniProgressResponse)

func (*DescribeEnableVpcCniProgressResponse) FromJsonString

func (r *DescribeEnableVpcCniProgressResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeEnableVpcCniProgressResponse) ToJsonString

func (r *DescribeEnableVpcCniProgressResponse) ToJsonString() string

type DescribeEnableVpcCniProgressResponseParams added in v1.0.426

type DescribeEnableVpcCniProgressResponseParams struct {
	// 任务进度的描述:Running/Succeed/Failed
	Status *string `json:"Status,omitnil,omitempty" name:"Status"`

	// 当任务进度为Failed时,对任务状态的进一步描述,例如IPAMD组件安装失败
	// 注意:此字段可能返回 null,表示取不到有效值。
	ErrorMessage *string `json:"ErrorMessage,omitnil,omitempty" name:"ErrorMessage"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeEncryptionStatusRequest added in v1.0.681

type DescribeEncryptionStatusRequest struct {
	*tchttp.BaseRequest

	// 集群id
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
}

func NewDescribeEncryptionStatusRequest added in v1.0.681

func NewDescribeEncryptionStatusRequest() (request *DescribeEncryptionStatusRequest)

func (*DescribeEncryptionStatusRequest) FromJsonString added in v1.0.681

func (r *DescribeEncryptionStatusRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeEncryptionStatusRequest) ToJsonString added in v1.0.681

func (r *DescribeEncryptionStatusRequest) ToJsonString() string

type DescribeEncryptionStatusRequestParams added in v1.0.681

type DescribeEncryptionStatusRequestParams struct {
	// 集群id
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
}

Predefined struct for user

type DescribeEncryptionStatusResponse added in v1.0.681

type DescribeEncryptionStatusResponse struct {
	*tchttp.BaseResponse
	Response *DescribeEncryptionStatusResponseParams `json:"Response"`
}

func NewDescribeEncryptionStatusResponse added in v1.0.681

func NewDescribeEncryptionStatusResponse() (response *DescribeEncryptionStatusResponse)

func (*DescribeEncryptionStatusResponse) FromJsonString added in v1.0.681

func (r *DescribeEncryptionStatusResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeEncryptionStatusResponse) ToJsonString added in v1.0.681

func (r *DescribeEncryptionStatusResponse) ToJsonString() string

type DescribeEncryptionStatusResponseParams added in v1.0.681

type DescribeEncryptionStatusResponseParams struct {
	// 加密状态
	Status *string `json:"Status,omitnil,omitempty" name:"Status"`

	// 加密错误信息
	ErrorMsg *string `json:"ErrorMsg,omitnil,omitempty" name:"ErrorMsg"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeExistedInstancesRequest

type DescribeExistedInstancesRequest struct {
	*tchttp.BaseRequest

	// 集群 ID,请填写查询集群列表 接口中返回的 ClusterId 字段(仅通过ClusterId获取需要过滤条件中的VPCID。节点状态比较时会使用该地域下所有集群中的节点进行比较。参数不支持同时指定InstanceIds和ClusterId。
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// 按照一个或者多个实例ID查询。实例ID形如:ins-xxxxxxxx。(此参数的具体格式可参考API简介的id.N一节)。每次请求的实例的上限为100。参数不支持同时指定InstanceIds和Filters。
	InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" name:"InstanceIds"`

	// 过滤条件,字段和详见[CVM查询实例](https://cloud.tencent.com/document/api/213/15728)如果设置了ClusterId,会附加集群的VPCID作为查询字段,在此情况下如果在Filter中指定了"vpc-id"作为过滤字段,指定的VPCID必须与集群的VPCID相同。
	Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`

	// 实例IP进行过滤(同时支持内网IP和外网IP)
	VagueIpAddress *string `json:"VagueIpAddress,omitnil,omitempty" name:"VagueIpAddress"`

	// 实例名称进行过滤
	VagueInstanceName *string `json:"VagueInstanceName,omitnil,omitempty" name:"VagueInstanceName"`

	// 偏移量,默认为0。关于Offset的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/api/213/15688)中的相关小节。
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 返回数量,默认为20,最大值为100。关于Limit的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/api/213/15688)中的相关小节。
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// 根据多个实例IP进行过滤
	IpAddresses []*string `json:"IpAddresses,omitnil,omitempty" name:"IpAddresses"`
}

func NewDescribeExistedInstancesRequest

func NewDescribeExistedInstancesRequest() (request *DescribeExistedInstancesRequest)

func (*DescribeExistedInstancesRequest) FromJsonString

func (r *DescribeExistedInstancesRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeExistedInstancesRequest) ToJsonString

func (r *DescribeExistedInstancesRequest) ToJsonString() string

type DescribeExistedInstancesRequestParams added in v1.0.426

type DescribeExistedInstancesRequestParams struct {
	// 集群 ID,请填写查询集群列表 接口中返回的 ClusterId 字段(仅通过ClusterId获取需要过滤条件中的VPCID。节点状态比较时会使用该地域下所有集群中的节点进行比较。参数不支持同时指定InstanceIds和ClusterId。
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// 按照一个或者多个实例ID查询。实例ID形如:ins-xxxxxxxx。(此参数的具体格式可参考API简介的id.N一节)。每次请求的实例的上限为100。参数不支持同时指定InstanceIds和Filters。
	InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" name:"InstanceIds"`

	// 过滤条件,字段和详见[CVM查询实例](https://cloud.tencent.com/document/api/213/15728)如果设置了ClusterId,会附加集群的VPCID作为查询字段,在此情况下如果在Filter中指定了"vpc-id"作为过滤字段,指定的VPCID必须与集群的VPCID相同。
	Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`

	// 实例IP进行过滤(同时支持内网IP和外网IP)
	VagueIpAddress *string `json:"VagueIpAddress,omitnil,omitempty" name:"VagueIpAddress"`

	// 实例名称进行过滤
	VagueInstanceName *string `json:"VagueInstanceName,omitnil,omitempty" name:"VagueInstanceName"`

	// 偏移量,默认为0。关于Offset的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/api/213/15688)中的相关小节。
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 返回数量,默认为20,最大值为100。关于Limit的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/api/213/15688)中的相关小节。
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// 根据多个实例IP进行过滤
	IpAddresses []*string `json:"IpAddresses,omitnil,omitempty" name:"IpAddresses"`
}

Predefined struct for user

type DescribeExistedInstancesResponse

type DescribeExistedInstancesResponse struct {
	*tchttp.BaseResponse
	Response *DescribeExistedInstancesResponseParams `json:"Response"`
}

func NewDescribeExistedInstancesResponse

func NewDescribeExistedInstancesResponse() (response *DescribeExistedInstancesResponse)

func (*DescribeExistedInstancesResponse) FromJsonString

func (r *DescribeExistedInstancesResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeExistedInstancesResponse) ToJsonString

func (r *DescribeExistedInstancesResponse) ToJsonString() string

type DescribeExistedInstancesResponseParams added in v1.0.426

type DescribeExistedInstancesResponseParams struct {
	// 已经存在的实例信息数组。
	// 注意:此字段可能返回 null,表示取不到有效值。
	ExistedInstanceSet []*ExistedInstance `json:"ExistedInstanceSet,omitnil,omitempty" name:"ExistedInstanceSet"`

	// 符合条件的实例数量。
	TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeExternalClusterSpecRequest added in v1.0.257

type DescribeExternalClusterSpecRequest struct {
	*tchttp.BaseRequest

	// 注册集群ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// 默认false 获取内网,是否获取外网版注册命令
	IsExtranet *bool `json:"IsExtranet,omitnil,omitempty" name:"IsExtranet"`

	// 默认false 不刷新有效时间 ,true刷新有效时间
	IsRefreshExpirationTime *bool `json:"IsRefreshExpirationTime,omitnil,omitempty" name:"IsRefreshExpirationTime"`
}

func NewDescribeExternalClusterSpecRequest added in v1.0.257

func NewDescribeExternalClusterSpecRequest() (request *DescribeExternalClusterSpecRequest)

func (*DescribeExternalClusterSpecRequest) FromJsonString added in v1.0.257

func (r *DescribeExternalClusterSpecRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeExternalClusterSpecRequest) ToJsonString added in v1.0.257

func (r *DescribeExternalClusterSpecRequest) ToJsonString() string

type DescribeExternalClusterSpecRequestParams added in v1.0.426

type DescribeExternalClusterSpecRequestParams struct {
	// 注册集群ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// 默认false 获取内网,是否获取外网版注册命令
	IsExtranet *bool `json:"IsExtranet,omitnil,omitempty" name:"IsExtranet"`

	// 默认false 不刷新有效时间 ,true刷新有效时间
	IsRefreshExpirationTime *bool `json:"IsRefreshExpirationTime,omitnil,omitempty" name:"IsRefreshExpirationTime"`
}

Predefined struct for user

type DescribeExternalClusterSpecResponse added in v1.0.257

type DescribeExternalClusterSpecResponse struct {
	*tchttp.BaseResponse
	Response *DescribeExternalClusterSpecResponseParams `json:"Response"`
}

func NewDescribeExternalClusterSpecResponse added in v1.0.257

func NewDescribeExternalClusterSpecResponse() (response *DescribeExternalClusterSpecResponse)

func (*DescribeExternalClusterSpecResponse) FromJsonString added in v1.0.257

func (r *DescribeExternalClusterSpecResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeExternalClusterSpecResponse) ToJsonString added in v1.0.257

func (r *DescribeExternalClusterSpecResponse) ToJsonString() string

type DescribeExternalClusterSpecResponseParams added in v1.0.426

type DescribeExternalClusterSpecResponseParams struct {
	// 导入第三方集群YAML定义
	Spec *string `json:"Spec,omitnil,omitempty" name:"Spec"`

	// agent.yaml文件过期时间字符串,时区UTC
	Expiration *string `json:"Expiration,omitnil,omitempty" name:"Expiration"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeExternalNodeSupportConfigRequest added in v1.0.799

type DescribeExternalNodeSupportConfigRequest struct {
	*tchttp.BaseRequest

	// 集群Id
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
}

func NewDescribeExternalNodeSupportConfigRequest added in v1.0.799

func NewDescribeExternalNodeSupportConfigRequest() (request *DescribeExternalNodeSupportConfigRequest)

func (*DescribeExternalNodeSupportConfigRequest) FromJsonString added in v1.0.799

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeExternalNodeSupportConfigRequest) ToJsonString added in v1.0.799

type DescribeExternalNodeSupportConfigRequestParams added in v1.0.799

type DescribeExternalNodeSupportConfigRequestParams struct {
	// 集群Id
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
}

Predefined struct for user

type DescribeExternalNodeSupportConfigResponse added in v1.0.799

type DescribeExternalNodeSupportConfigResponse struct {
	*tchttp.BaseResponse
	Response *DescribeExternalNodeSupportConfigResponseParams `json:"Response"`
}

func NewDescribeExternalNodeSupportConfigResponse added in v1.0.799

func NewDescribeExternalNodeSupportConfigResponse() (response *DescribeExternalNodeSupportConfigResponse)

func (*DescribeExternalNodeSupportConfigResponse) FromJsonString added in v1.0.799

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeExternalNodeSupportConfigResponse) ToJsonString added in v1.0.799

type DescribeExternalNodeSupportConfigResponseParams added in v1.0.799

type DescribeExternalNodeSupportConfigResponseParams struct {
	// 用于分配集群容器和服务 IP 的 CIDR,不得与 VPC CIDR 冲突,也不得与同 VPC 内其他集群 CIDR 冲突。且网段范围必须在内网网段内,例如:10.1.0.0/14, 192.168.0.1/18,172.16.0.0/16。
	// 注意:此字段可能返回 null,表示取不到有效值。
	ClusterCIDR *string `json:"ClusterCIDR,omitnil,omitempty" name:"ClusterCIDR"`

	// 集群网络插件类型,支持:CiliumBGP、CiliumVXLan
	// 注意:此字段可能返回 null,表示取不到有效值。
	NetworkType *string `json:"NetworkType,omitnil,omitempty" name:"NetworkType"`

	// 子网ID
	// 注意:此字段可能返回 null,表示取不到有效值。
	SubnetId *string `json:"SubnetId,omitnil,omitempty" name:"SubnetId"`

	// 是否开启第三方节点专线连接支持
	// 注意:此字段可能返回 null,表示取不到有效值。
	Enabled *bool `json:"Enabled,omitnil,omitempty" name:"Enabled"`

	// 节点所属交换机的BGP AS 号
	// 注意:此字段可能返回 null,表示取不到有效值。
	AS *string `json:"AS,omitnil,omitempty" name:"AS"`

	// 节点所属交换机的交换机 IP
	// 注意:此字段可能返回 null,表示取不到有效值。
	SwitchIP *string `json:"SwitchIP,omitnil,omitempty" name:"SwitchIP"`

	// 开启第三方节点池状态
	Status *string `json:"Status,omitnil,omitempty" name:"Status"`

	// 如果开启失败原因
	// 注意:此字段可能返回 null,表示取不到有效值。
	FailedReason *string `json:"FailedReason,omitnil,omitempty" name:"FailedReason"`

	// 内网访问地址
	// 注意:此字段可能返回 null,表示取不到有效值。
	Master *string `json:"Master,omitnil,omitempty" name:"Master"`

	// 镜像仓库代理地址
	// 注意:此字段可能返回 null,表示取不到有效值。
	Proxy *string `json:"Proxy,omitnil,omitempty" name:"Proxy"`

	// 用于记录开启第三方节点的过程进行到哪一步了
	// 注意:此字段可能返回 null,表示取不到有效值。
	Progress []*Step `json:"Progress,omitnil,omitempty" name:"Progress"`

	// 是否开启第三方节点公网连接支持
	EnabledPublicConnect *bool `json:"EnabledPublicConnect,omitnil,omitempty" name:"EnabledPublicConnect"`

	// 公网连接地址
	PublicConnectUrl *string `json:"PublicConnectUrl,omitnil,omitempty" name:"PublicConnectUrl"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeIPAMDRequest added in v1.0.799

type DescribeIPAMDRequest struct {
	*tchttp.BaseRequest

	// 集群ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
}

func NewDescribeIPAMDRequest added in v1.0.799

func NewDescribeIPAMDRequest() (request *DescribeIPAMDRequest)

func (*DescribeIPAMDRequest) FromJsonString added in v1.0.799

func (r *DescribeIPAMDRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeIPAMDRequest) ToJsonString added in v1.0.799

func (r *DescribeIPAMDRequest) ToJsonString() string

type DescribeIPAMDRequestParams added in v1.0.799

type DescribeIPAMDRequestParams struct {
	// 集群ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
}

Predefined struct for user

type DescribeIPAMDResponse added in v1.0.799

type DescribeIPAMDResponse struct {
	*tchttp.BaseResponse
	Response *DescribeIPAMDResponseParams `json:"Response"`
}

func NewDescribeIPAMDResponse added in v1.0.799

func NewDescribeIPAMDResponse() (response *DescribeIPAMDResponse)

func (*DescribeIPAMDResponse) FromJsonString added in v1.0.799

func (r *DescribeIPAMDResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeIPAMDResponse) ToJsonString added in v1.0.799

func (r *DescribeIPAMDResponse) ToJsonString() string

type DescribeIPAMDResponseParams added in v1.0.799

type DescribeIPAMDResponseParams struct {
	// 是否安装了eniipamd组件
	EnableIPAMD *bool `json:"EnableIPAMD,omitnil,omitempty" name:"EnableIPAMD"`

	// 是否开启自定义podcidr,默认为false,已安装eniipamd组件才意义
	// 注意:此字段可能返回 null,表示取不到有效值。
	EnableCustomizedPodCidr *bool `json:"EnableCustomizedPodCidr,omitnil,omitempty" name:"EnableCustomizedPodCidr"`

	// 是否不开启vpccni模式,默认为false,已安装eniipamd组件才意义
	// 注意:此字段可能返回 null,表示取不到有效值。
	DisableVpcCniMode *bool `json:"DisableVpcCniMode,omitnil,omitempty" name:"DisableVpcCniMode"`

	// 组件状态,已安装eniipamd组件才会有值
	// 注意:此字段可能返回 null,表示取不到有效值。
	Phase *string `json:"Phase,omitnil,omitempty" name:"Phase"`

	// 错误信息,已安装eniipamd组件且状态为非running才会有错误信息
	// 注意:此字段可能返回 null,表示取不到有效值。
	Reason *string `json:"Reason,omitnil,omitempty" name:"Reason"`

	// 子网信息,已安装eniipamd组件才会有值
	// 注意:此字段可能返回 null,表示取不到有效值。
	SubnetIds []*string `json:"SubnetIds,omitnil,omitempty" name:"SubnetIds"`

	// 固定ip回收时间,已安装eniipamd组件才会有值
	// 注意:此字段可能返回 null,表示取不到有效值。
	ClaimExpiredDuration *string `json:"ClaimExpiredDuration,omitnil,omitempty" name:"ClaimExpiredDuration"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeImageCachesRequest added in v1.0.363

type DescribeImageCachesRequest struct {
	*tchttp.BaseRequest

	// 镜像缓存Id数组
	ImageCacheIds []*string `json:"ImageCacheIds,omitnil,omitempty" name:"ImageCacheIds"`

	// 镜像缓存名称数组
	ImageCacheNames []*string `json:"ImageCacheNames,omitnil,omitempty" name:"ImageCacheNames"`

	// 限定此次返回资源的数量。如果不设定,默认返回20,最大不能超过50
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// 偏移量,默认0
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 过滤条件,可选条件:
	// (1)实例名称
	// KeyName: image-cache-name
	// 类型:String
	Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`
}

func NewDescribeImageCachesRequest added in v1.0.363

func NewDescribeImageCachesRequest() (request *DescribeImageCachesRequest)

func (*DescribeImageCachesRequest) FromJsonString added in v1.0.363

func (r *DescribeImageCachesRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeImageCachesRequest) ToJsonString added in v1.0.363

func (r *DescribeImageCachesRequest) ToJsonString() string

type DescribeImageCachesRequestParams added in v1.0.426

type DescribeImageCachesRequestParams struct {
	// 镜像缓存Id数组
	ImageCacheIds []*string `json:"ImageCacheIds,omitnil,omitempty" name:"ImageCacheIds"`

	// 镜像缓存名称数组
	ImageCacheNames []*string `json:"ImageCacheNames,omitnil,omitempty" name:"ImageCacheNames"`

	// 限定此次返回资源的数量。如果不设定,默认返回20,最大不能超过50
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// 偏移量,默认0
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 过滤条件,可选条件:
	// (1)实例名称
	// KeyName: image-cache-name
	// 类型:String
	Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`
}

Predefined struct for user

type DescribeImageCachesResponse added in v1.0.363

type DescribeImageCachesResponse struct {
	*tchttp.BaseResponse
	Response *DescribeImageCachesResponseParams `json:"Response"`
}

func NewDescribeImageCachesResponse added in v1.0.363

func NewDescribeImageCachesResponse() (response *DescribeImageCachesResponse)

func (*DescribeImageCachesResponse) FromJsonString added in v1.0.363

func (r *DescribeImageCachesResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeImageCachesResponse) ToJsonString added in v1.0.363

func (r *DescribeImageCachesResponse) ToJsonString() string

type DescribeImageCachesResponseParams added in v1.0.426

type DescribeImageCachesResponseParams struct {
	// 镜像缓存总数
	TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// 镜像缓存信息列表
	ImageCaches []*ImageCache `json:"ImageCaches,omitnil,omitempty" name:"ImageCaches"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeImagesRequest

type DescribeImagesRequest struct {
	*tchttp.BaseRequest
}

func NewDescribeImagesRequest

func NewDescribeImagesRequest() (request *DescribeImagesRequest)

func (*DescribeImagesRequest) FromJsonString

func (r *DescribeImagesRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeImagesRequest) ToJsonString

func (r *DescribeImagesRequest) ToJsonString() string

type DescribeImagesRequestParams added in v1.0.426

type DescribeImagesRequestParams struct {
}

Predefined struct for user

type DescribeImagesResponse

type DescribeImagesResponse struct {
	*tchttp.BaseResponse
	Response *DescribeImagesResponseParams `json:"Response"`
}

func NewDescribeImagesResponse

func NewDescribeImagesResponse() (response *DescribeImagesResponse)

func (*DescribeImagesResponse) FromJsonString

func (r *DescribeImagesResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeImagesResponse) ToJsonString

func (r *DescribeImagesResponse) ToJsonString() string

type DescribeImagesResponseParams added in v1.0.426

type DescribeImagesResponseParams struct {
	// 镜像数量
	// 注意:此字段可能返回 null,表示取不到有效值。
	TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// 镜像信息列表
	// 注意:此字段可能返回 null,表示取不到有效值。
	ImageInstanceSet []*ImageInstance `json:"ImageInstanceSet,omitnil,omitempty" name:"ImageInstanceSet"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeLogSwitchesRequest added in v1.0.807

type DescribeLogSwitchesRequest struct {
	*tchttp.BaseRequest

	// 集群ID列表
	ClusterIds []*string `json:"ClusterIds,omitnil,omitempty" name:"ClusterIds"`

	// 集群类型,tke 或eks
	ClusterType *string `json:"ClusterType,omitnil,omitempty" name:"ClusterType"`
}

func NewDescribeLogSwitchesRequest added in v1.0.807

func NewDescribeLogSwitchesRequest() (request *DescribeLogSwitchesRequest)

func (*DescribeLogSwitchesRequest) FromJsonString added in v1.0.807

func (r *DescribeLogSwitchesRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeLogSwitchesRequest) ToJsonString added in v1.0.807

func (r *DescribeLogSwitchesRequest) ToJsonString() string

type DescribeLogSwitchesRequestParams added in v1.0.807

type DescribeLogSwitchesRequestParams struct {
	// 集群ID列表
	ClusterIds []*string `json:"ClusterIds,omitnil,omitempty" name:"ClusterIds"`

	// 集群类型,tke 或eks
	ClusterType *string `json:"ClusterType,omitnil,omitempty" name:"ClusterType"`
}

Predefined struct for user

type DescribeLogSwitchesResponse added in v1.0.807

type DescribeLogSwitchesResponse struct {
	*tchttp.BaseResponse
	Response *DescribeLogSwitchesResponseParams `json:"Response"`
}

func NewDescribeLogSwitchesResponse added in v1.0.807

func NewDescribeLogSwitchesResponse() (response *DescribeLogSwitchesResponse)

func (*DescribeLogSwitchesResponse) FromJsonString added in v1.0.807

func (r *DescribeLogSwitchesResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeLogSwitchesResponse) ToJsonString added in v1.0.807

func (r *DescribeLogSwitchesResponse) ToJsonString() string

type DescribeLogSwitchesResponseParams added in v1.0.807

type DescribeLogSwitchesResponseParams struct {
	// 集群日志开关集合
	// 注意:此字段可能返回 null,表示取不到有效值。
	SwitchSet []*Switch `json:"SwitchSet,omitnil,omitempty" name:"SwitchSet"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribePodDeductionRateRequest added in v1.0.759

type DescribePodDeductionRateRequest struct {
	*tchttp.BaseRequest

	// 可用区
	Zone *string `json:"Zone,omitnil,omitempty" name:"Zone"`

	// 集群 ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	//  节点名称
	NodeName *string `json:"NodeName,omitnil,omitempty" name:"NodeName"`
}

func NewDescribePodDeductionRateRequest added in v1.0.759

func NewDescribePodDeductionRateRequest() (request *DescribePodDeductionRateRequest)

func (*DescribePodDeductionRateRequest) FromJsonString added in v1.0.759

func (r *DescribePodDeductionRateRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribePodDeductionRateRequest) ToJsonString added in v1.0.759

func (r *DescribePodDeductionRateRequest) ToJsonString() string

type DescribePodDeductionRateRequestParams added in v1.0.759

type DescribePodDeductionRateRequestParams struct {
	// 可用区
	Zone *string `json:"Zone,omitnil,omitempty" name:"Zone"`

	// 集群 ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	//  节点名称
	NodeName *string `json:"NodeName,omitnil,omitempty" name:"NodeName"`
}

Predefined struct for user

type DescribePodDeductionRateResponse added in v1.0.759

type DescribePodDeductionRateResponse struct {
	*tchttp.BaseResponse
	Response *DescribePodDeductionRateResponseParams `json:"Response"`
}

func NewDescribePodDeductionRateResponse added in v1.0.759

func NewDescribePodDeductionRateResponse() (response *DescribePodDeductionRateResponse)

func (*DescribePodDeductionRateResponse) FromJsonString added in v1.0.759

func (r *DescribePodDeductionRateResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribePodDeductionRateResponse) ToJsonString added in v1.0.759

func (r *DescribePodDeductionRateResponse) ToJsonString() string

type DescribePodDeductionRateResponseParams added in v1.0.759

type DescribePodDeductionRateResponseParams struct {
	// 各个规格的 可被预留券抵扣的Pod 抵扣率
	PodDeductionRateSet []*PodDeductionRate `json:"PodDeductionRateSet,omitnil,omitempty" name:"PodDeductionRateSet"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribePodsBySpecRequest added in v1.0.759

type DescribePodsBySpecRequest struct {
	*tchttp.BaseRequest

	// 核数
	Cpu *float64 `json:"Cpu,omitnil,omitempty" name:"Cpu"`

	// 内存
	Memory *float64 `json:"Memory,omitnil,omitempty" name:"Memory"`

	// 卡数,有0.25、0.5、1、2、4等
	GpuNum *string `json:"GpuNum,omitnil,omitempty" name:"GpuNum"`

	// 可用区
	Zone *string `json:"Zone,omitnil,omitempty" name:"Zone"`

	// 集群 ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// 节点名称
	NodeName *string `json:"NodeName,omitnil,omitempty" name:"NodeName"`

	// 偏移量,默认0。
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 返回数量,默认为20,最大值为100。
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// pod-type
	// 按照**【Pod 类型**】进行过滤。资源类型:intel、amd、v100、t4、a10\*gnv4、a10\*gnv4v等。
	// 类型:String
	// 必选:否
	//
	// pod-deduct
	// 按照**【上个周期抵扣的Pod**】进行过滤。Values可不设置。
	// 必选:否
	//
	// pod-not-deduct
	// 按照**【上个周期未抵扣的Pod**】进行过滤。Values可不设置。
	// 必选:否
	Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`
}

func NewDescribePodsBySpecRequest added in v1.0.759

func NewDescribePodsBySpecRequest() (request *DescribePodsBySpecRequest)

func (*DescribePodsBySpecRequest) FromJsonString added in v1.0.759

func (r *DescribePodsBySpecRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribePodsBySpecRequest) ToJsonString added in v1.0.759

func (r *DescribePodsBySpecRequest) ToJsonString() string

type DescribePodsBySpecRequestParams added in v1.0.759

type DescribePodsBySpecRequestParams struct {
	// 核数
	Cpu *float64 `json:"Cpu,omitnil,omitempty" name:"Cpu"`

	// 内存
	Memory *float64 `json:"Memory,omitnil,omitempty" name:"Memory"`

	// 卡数,有0.25、0.5、1、2、4等
	GpuNum *string `json:"GpuNum,omitnil,omitempty" name:"GpuNum"`

	// 可用区
	Zone *string `json:"Zone,omitnil,omitempty" name:"Zone"`

	// 集群 ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// 节点名称
	NodeName *string `json:"NodeName,omitnil,omitempty" name:"NodeName"`

	// 偏移量,默认0。
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 返回数量,默认为20,最大值为100。
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// pod-type
	// 按照**【Pod 类型**】进行过滤。资源类型:intel、amd、v100、t4、a10\*gnv4、a10\*gnv4v等。
	// 类型:String
	// 必选:否
	//
	// pod-deduct
	// 按照**【上个周期抵扣的Pod**】进行过滤。Values可不设置。
	// 必选:否
	//
	// pod-not-deduct
	// 按照**【上个周期未抵扣的Pod**】进行过滤。Values可不设置。
	// 必选:否
	Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`
}

Predefined struct for user

type DescribePodsBySpecResponse added in v1.0.759

type DescribePodsBySpecResponse struct {
	*tchttp.BaseResponse
	Response *DescribePodsBySpecResponseParams `json:"Response"`
}

func NewDescribePodsBySpecResponse added in v1.0.759

func NewDescribePodsBySpecResponse() (response *DescribePodsBySpecResponse)

func (*DescribePodsBySpecResponse) FromJsonString added in v1.0.759

func (r *DescribePodsBySpecResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribePodsBySpecResponse) ToJsonString added in v1.0.759

func (r *DescribePodsBySpecResponse) ToJsonString() string

type DescribePodsBySpecResponseParams added in v1.0.759

type DescribePodsBySpecResponseParams struct {
	// Pod 总数
	TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// Pod 节点信息
	PodSet []*PodNodeInfo `json:"PodSet,omitnil,omitempty" name:"PodSet"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribePostNodeResourcesRequest added in v1.0.759

type DescribePostNodeResourcesRequest struct {
	*tchttp.BaseRequest

	// 集群 ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	//  节点名称
	NodeName *string `json:"NodeName,omitnil,omitempty" name:"NodeName"`
}

func NewDescribePostNodeResourcesRequest added in v1.0.759

func NewDescribePostNodeResourcesRequest() (request *DescribePostNodeResourcesRequest)

func (*DescribePostNodeResourcesRequest) FromJsonString added in v1.0.759

func (r *DescribePostNodeResourcesRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribePostNodeResourcesRequest) ToJsonString added in v1.0.759

func (r *DescribePostNodeResourcesRequest) ToJsonString() string

type DescribePostNodeResourcesRequestParams added in v1.0.759

type DescribePostNodeResourcesRequestParams struct {
	// 集群 ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	//  节点名称
	NodeName *string `json:"NodeName,omitnil,omitempty" name:"NodeName"`
}

Predefined struct for user

type DescribePostNodeResourcesResponse added in v1.0.759

type DescribePostNodeResourcesResponse struct {
	*tchttp.BaseResponse
	Response *DescribePostNodeResourcesResponseParams `json:"Response"`
}

func NewDescribePostNodeResourcesResponse added in v1.0.759

func NewDescribePostNodeResourcesResponse() (response *DescribePostNodeResourcesResponse)

func (*DescribePostNodeResourcesResponse) FromJsonString added in v1.0.759

func (r *DescribePostNodeResourcesResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribePostNodeResourcesResponse) ToJsonString added in v1.0.759

func (r *DescribePostNodeResourcesResponse) ToJsonString() string

type DescribePostNodeResourcesResponseParams added in v1.0.759

type DescribePostNodeResourcesResponseParams struct {
	// Pod详情
	PodSet []*SuperNodeResource `json:"PodSet,omitnil,omitempty" name:"PodSet"`

	// 预留券详情
	ReservedInstanceSet []*SuperNodeResource `json:"ReservedInstanceSet,omitnil,omitempty" name:"ReservedInstanceSet"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribePrometheusAgentInstancesRequest

type DescribePrometheusAgentInstancesRequest struct {
	*tchttp.BaseRequest

	// 集群id
	// 可以是tke, eks, edge的集群id
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
}

func NewDescribePrometheusAgentInstancesRequest

func NewDescribePrometheusAgentInstancesRequest() (request *DescribePrometheusAgentInstancesRequest)

func (*DescribePrometheusAgentInstancesRequest) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribePrometheusAgentInstancesRequest) ToJsonString

type DescribePrometheusAgentInstancesRequestParams added in v1.0.426

type DescribePrometheusAgentInstancesRequestParams struct {
	// 集群id
	// 可以是tke, eks, edge的集群id
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
}

Predefined struct for user

type DescribePrometheusAgentInstancesResponse

type DescribePrometheusAgentInstancesResponse struct {
	*tchttp.BaseResponse
	Response *DescribePrometheusAgentInstancesResponseParams `json:"Response"`
}

func NewDescribePrometheusAgentInstancesResponse

func NewDescribePrometheusAgentInstancesResponse() (response *DescribePrometheusAgentInstancesResponse)

func (*DescribePrometheusAgentInstancesResponse) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribePrometheusAgentInstancesResponse) ToJsonString

type DescribePrometheusAgentInstancesResponseParams added in v1.0.426

type DescribePrometheusAgentInstancesResponseParams struct {
	// 关联该集群的实例列表
	// 注意:此字段可能返回 null,表示取不到有效值。
	Instances []*string `json:"Instances,omitnil,omitempty" name:"Instances"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribePrometheusAgentsRequest

type DescribePrometheusAgentsRequest struct {
	*tchttp.BaseRequest

	// 实例id
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// 用于分页
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 用于分页
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`
}

func NewDescribePrometheusAgentsRequest

func NewDescribePrometheusAgentsRequest() (request *DescribePrometheusAgentsRequest)

func (*DescribePrometheusAgentsRequest) FromJsonString

func (r *DescribePrometheusAgentsRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribePrometheusAgentsRequest) ToJsonString

func (r *DescribePrometheusAgentsRequest) ToJsonString() string

type DescribePrometheusAgentsRequestParams added in v1.0.426

type DescribePrometheusAgentsRequestParams struct {
	// 实例id
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// 用于分页
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 用于分页
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`
}

Predefined struct for user

type DescribePrometheusAgentsResponse

type DescribePrometheusAgentsResponse struct {
	*tchttp.BaseResponse
	Response *DescribePrometheusAgentsResponseParams `json:"Response"`
}

func NewDescribePrometheusAgentsResponse

func NewDescribePrometheusAgentsResponse() (response *DescribePrometheusAgentsResponse)

func (*DescribePrometheusAgentsResponse) FromJsonString

func (r *DescribePrometheusAgentsResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribePrometheusAgentsResponse) ToJsonString

func (r *DescribePrometheusAgentsResponse) ToJsonString() string

type DescribePrometheusAgentsResponseParams added in v1.0.426

type DescribePrometheusAgentsResponseParams struct {
	// 被关联集群信息
	Agents []*PrometheusAgentOverview `json:"Agents,omitnil,omitempty" name:"Agents"`

	// 被关联集群总量
	Total *uint64 `json:"Total,omitnil,omitempty" name:"Total"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribePrometheusAlertHistoryRequest

type DescribePrometheusAlertHistoryRequest struct {
	*tchttp.BaseRequest

	// 实例id
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// 告警名称
	RuleName *string `json:"RuleName,omitnil,omitempty" name:"RuleName"`

	// 开始时间
	StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// 结束时间
	EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`

	// label集合
	Labels *string `json:"Labels,omitnil,omitempty" name:"Labels"`

	// 分片
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 分片
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`
}

func NewDescribePrometheusAlertHistoryRequest

func NewDescribePrometheusAlertHistoryRequest() (request *DescribePrometheusAlertHistoryRequest)

func (*DescribePrometheusAlertHistoryRequest) FromJsonString

func (r *DescribePrometheusAlertHistoryRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribePrometheusAlertHistoryRequest) ToJsonString

type DescribePrometheusAlertHistoryRequestParams added in v1.0.426

type DescribePrometheusAlertHistoryRequestParams struct {
	// 实例id
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// 告警名称
	RuleName *string `json:"RuleName,omitnil,omitempty" name:"RuleName"`

	// 开始时间
	StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// 结束时间
	EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`

	// label集合
	Labels *string `json:"Labels,omitnil,omitempty" name:"Labels"`

	// 分片
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 分片
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`
}

Predefined struct for user

type DescribePrometheusAlertHistoryResponse

type DescribePrometheusAlertHistoryResponse struct {
	*tchttp.BaseResponse
	Response *DescribePrometheusAlertHistoryResponseParams `json:"Response"`
}

func NewDescribePrometheusAlertHistoryResponse

func NewDescribePrometheusAlertHistoryResponse() (response *DescribePrometheusAlertHistoryResponse)

func (*DescribePrometheusAlertHistoryResponse) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribePrometheusAlertHistoryResponse) ToJsonString

type DescribePrometheusAlertHistoryResponseParams added in v1.0.426

type DescribePrometheusAlertHistoryResponseParams struct {
	// 告警历史
	Items []*PrometheusAlertHistoryItem `json:"Items,omitnil,omitempty" name:"Items"`

	// 总数
	Total *uint64 `json:"Total,omitnil,omitempty" name:"Total"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribePrometheusAlertPolicyRequest added in v1.0.401

type DescribePrometheusAlertPolicyRequest struct {
	*tchttp.BaseRequest

	// 实例id
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// 分页
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 分页
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// 过滤
	// 支持ID,Name
	Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`
}

func NewDescribePrometheusAlertPolicyRequest added in v1.0.401

func NewDescribePrometheusAlertPolicyRequest() (request *DescribePrometheusAlertPolicyRequest)

func (*DescribePrometheusAlertPolicyRequest) FromJsonString added in v1.0.401

func (r *DescribePrometheusAlertPolicyRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribePrometheusAlertPolicyRequest) ToJsonString added in v1.0.401

func (r *DescribePrometheusAlertPolicyRequest) ToJsonString() string

type DescribePrometheusAlertPolicyRequestParams added in v1.0.426

type DescribePrometheusAlertPolicyRequestParams struct {
	// 实例id
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// 分页
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 分页
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// 过滤
	// 支持ID,Name
	Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`
}

Predefined struct for user

type DescribePrometheusAlertPolicyResponse added in v1.0.401

type DescribePrometheusAlertPolicyResponse struct {
	*tchttp.BaseResponse
	Response *DescribePrometheusAlertPolicyResponseParams `json:"Response"`
}

func NewDescribePrometheusAlertPolicyResponse added in v1.0.401

func NewDescribePrometheusAlertPolicyResponse() (response *DescribePrometheusAlertPolicyResponse)

func (*DescribePrometheusAlertPolicyResponse) FromJsonString added in v1.0.401

func (r *DescribePrometheusAlertPolicyResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribePrometheusAlertPolicyResponse) ToJsonString added in v1.0.401

type DescribePrometheusAlertPolicyResponseParams added in v1.0.426

type DescribePrometheusAlertPolicyResponseParams struct {
	// 告警详情
	// 注意:此字段可能返回 null,表示取不到有效值。
	AlertRules []*PrometheusAlertPolicyItem `json:"AlertRules,omitnil,omitempty" name:"AlertRules"`

	// 总数
	Total *uint64 `json:"Total,omitnil,omitempty" name:"Total"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribePrometheusAlertRuleRequest

type DescribePrometheusAlertRuleRequest struct {
	*tchttp.BaseRequest

	// 实例id
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// 分页
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 分页
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// 过滤
	// 支持ID,Name
	Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`
}

func NewDescribePrometheusAlertRuleRequest

func NewDescribePrometheusAlertRuleRequest() (request *DescribePrometheusAlertRuleRequest)

func (*DescribePrometheusAlertRuleRequest) FromJsonString

func (r *DescribePrometheusAlertRuleRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribePrometheusAlertRuleRequest) ToJsonString

func (r *DescribePrometheusAlertRuleRequest) ToJsonString() string

type DescribePrometheusAlertRuleRequestParams added in v1.0.426

type DescribePrometheusAlertRuleRequestParams struct {
	// 实例id
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// 分页
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 分页
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// 过滤
	// 支持ID,Name
	Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`
}

Predefined struct for user

type DescribePrometheusAlertRuleResponse

type DescribePrometheusAlertRuleResponse struct {
	*tchttp.BaseResponse
	Response *DescribePrometheusAlertRuleResponseParams `json:"Response"`
}

func NewDescribePrometheusAlertRuleResponse

func NewDescribePrometheusAlertRuleResponse() (response *DescribePrometheusAlertRuleResponse)

func (*DescribePrometheusAlertRuleResponse) FromJsonString

func (r *DescribePrometheusAlertRuleResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribePrometheusAlertRuleResponse) ToJsonString

func (r *DescribePrometheusAlertRuleResponse) ToJsonString() string

type DescribePrometheusAlertRuleResponseParams added in v1.0.426

type DescribePrometheusAlertRuleResponseParams struct {
	// 告警详情
	AlertRules []*PrometheusAlertRuleDetail `json:"AlertRules,omitnil,omitempty" name:"AlertRules"`

	// 总数
	Total *uint64 `json:"Total,omitnil,omitempty" name:"Total"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribePrometheusClusterAgentsRequest added in v1.0.401

type DescribePrometheusClusterAgentsRequest struct {
	*tchttp.BaseRequest

	// 实例id
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// 用于分页
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 用于分页
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`
}

func NewDescribePrometheusClusterAgentsRequest added in v1.0.401

func NewDescribePrometheusClusterAgentsRequest() (request *DescribePrometheusClusterAgentsRequest)

func (*DescribePrometheusClusterAgentsRequest) FromJsonString added in v1.0.401

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribePrometheusClusterAgentsRequest) ToJsonString added in v1.0.401

type DescribePrometheusClusterAgentsRequestParams added in v1.0.426

type DescribePrometheusClusterAgentsRequestParams struct {
	// 实例id
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// 用于分页
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 用于分页
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`
}

Predefined struct for user

type DescribePrometheusClusterAgentsResponse added in v1.0.401

type DescribePrometheusClusterAgentsResponse struct {
	*tchttp.BaseResponse
	Response *DescribePrometheusClusterAgentsResponseParams `json:"Response"`
}

func NewDescribePrometheusClusterAgentsResponse added in v1.0.401

func NewDescribePrometheusClusterAgentsResponse() (response *DescribePrometheusClusterAgentsResponse)

func (*DescribePrometheusClusterAgentsResponse) FromJsonString added in v1.0.401

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribePrometheusClusterAgentsResponse) ToJsonString added in v1.0.401

type DescribePrometheusClusterAgentsResponseParams added in v1.0.426

type DescribePrometheusClusterAgentsResponseParams struct {
	// 被关联集群信息
	Agents []*PrometheusAgentOverview `json:"Agents,omitnil,omitempty" name:"Agents"`

	// 被关联集群总量
	Total *uint64 `json:"Total,omitnil,omitempty" name:"Total"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribePrometheusConfigRequest added in v1.0.432

type DescribePrometheusConfigRequest struct {
	*tchttp.BaseRequest

	// 实例id
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// 集群id
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// 集群类型
	ClusterType *string `json:"ClusterType,omitnil,omitempty" name:"ClusterType"`
}

func NewDescribePrometheusConfigRequest added in v1.0.432

func NewDescribePrometheusConfigRequest() (request *DescribePrometheusConfigRequest)

func (*DescribePrometheusConfigRequest) FromJsonString added in v1.0.432

func (r *DescribePrometheusConfigRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribePrometheusConfigRequest) ToJsonString added in v1.0.432

func (r *DescribePrometheusConfigRequest) ToJsonString() string

type DescribePrometheusConfigRequestParams added in v1.0.432

type DescribePrometheusConfigRequestParams struct {
	// 实例id
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// 集群id
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// 集群类型
	ClusterType *string `json:"ClusterType,omitnil,omitempty" name:"ClusterType"`
}

Predefined struct for user

type DescribePrometheusConfigResponse added in v1.0.432

type DescribePrometheusConfigResponse struct {
	*tchttp.BaseResponse
	Response *DescribePrometheusConfigResponseParams `json:"Response"`
}

func NewDescribePrometheusConfigResponse added in v1.0.432

func NewDescribePrometheusConfigResponse() (response *DescribePrometheusConfigResponse)

func (*DescribePrometheusConfigResponse) FromJsonString added in v1.0.432

func (r *DescribePrometheusConfigResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribePrometheusConfigResponse) ToJsonString added in v1.0.432

func (r *DescribePrometheusConfigResponse) ToJsonString() string

type DescribePrometheusConfigResponseParams added in v1.0.432

type DescribePrometheusConfigResponseParams struct {
	// 全局配置
	Config *string `json:"Config,omitnil,omitempty" name:"Config"`

	// ServiceMonitor配置
	ServiceMonitors []*PrometheusConfigItem `json:"ServiceMonitors,omitnil,omitempty" name:"ServiceMonitors"`

	// PodMonitor配置
	PodMonitors []*PrometheusConfigItem `json:"PodMonitors,omitnil,omitempty" name:"PodMonitors"`

	// 原生Job
	RawJobs []*PrometheusConfigItem `json:"RawJobs,omitnil,omitempty" name:"RawJobs"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribePrometheusGlobalConfigRequest added in v1.0.432

type DescribePrometheusGlobalConfigRequest struct {
	*tchttp.BaseRequest

	// 实例级别抓取配置
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// 是否禁用统计
	DisableStatistics *bool `json:"DisableStatistics,omitnil,omitempty" name:"DisableStatistics"`
}

func NewDescribePrometheusGlobalConfigRequest added in v1.0.432

func NewDescribePrometheusGlobalConfigRequest() (request *DescribePrometheusGlobalConfigRequest)

func (*DescribePrometheusGlobalConfigRequest) FromJsonString added in v1.0.432

func (r *DescribePrometheusGlobalConfigRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribePrometheusGlobalConfigRequest) ToJsonString added in v1.0.432

type DescribePrometheusGlobalConfigRequestParams added in v1.0.432

type DescribePrometheusGlobalConfigRequestParams struct {
	// 实例级别抓取配置
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// 是否禁用统计
	DisableStatistics *bool `json:"DisableStatistics,omitnil,omitempty" name:"DisableStatistics"`
}

Predefined struct for user

type DescribePrometheusGlobalConfigResponse added in v1.0.432

type DescribePrometheusGlobalConfigResponse struct {
	*tchttp.BaseResponse
	Response *DescribePrometheusGlobalConfigResponseParams `json:"Response"`
}

func NewDescribePrometheusGlobalConfigResponse added in v1.0.432

func NewDescribePrometheusGlobalConfigResponse() (response *DescribePrometheusGlobalConfigResponse)

func (*DescribePrometheusGlobalConfigResponse) FromJsonString added in v1.0.432

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribePrometheusGlobalConfigResponse) ToJsonString added in v1.0.432

type DescribePrometheusGlobalConfigResponseParams added in v1.0.432

type DescribePrometheusGlobalConfigResponseParams struct {
	// 配置内容
	Config *string `json:"Config,omitnil,omitempty" name:"Config"`

	// ServiceMonitors列表以及对应targets信息
	// 注意:此字段可能返回 null,表示取不到有效值。
	ServiceMonitors []*PrometheusConfigItem `json:"ServiceMonitors,omitnil,omitempty" name:"ServiceMonitors"`

	// PodMonitors列表以及对应targets信息
	// 注意:此字段可能返回 null,表示取不到有效值。
	PodMonitors []*PrometheusConfigItem `json:"PodMonitors,omitnil,omitempty" name:"PodMonitors"`

	// RawJobs列表以及对应targets信息
	// 注意:此字段可能返回 null,表示取不到有效值。
	RawJobs []*PrometheusConfigItem `json:"RawJobs,omitnil,omitempty" name:"RawJobs"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribePrometheusGlobalNotificationRequest added in v1.0.403

type DescribePrometheusGlobalNotificationRequest struct {
	*tchttp.BaseRequest

	// 实例ID
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
}

func NewDescribePrometheusGlobalNotificationRequest added in v1.0.403

func NewDescribePrometheusGlobalNotificationRequest() (request *DescribePrometheusGlobalNotificationRequest)

func (*DescribePrometheusGlobalNotificationRequest) FromJsonString added in v1.0.403

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribePrometheusGlobalNotificationRequest) ToJsonString added in v1.0.403

type DescribePrometheusGlobalNotificationRequestParams added in v1.0.426

type DescribePrometheusGlobalNotificationRequestParams struct {
	// 实例ID
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
}

Predefined struct for user

type DescribePrometheusGlobalNotificationResponse added in v1.0.403

type DescribePrometheusGlobalNotificationResponse struct {
	*tchttp.BaseResponse
	Response *DescribePrometheusGlobalNotificationResponseParams `json:"Response"`
}

func NewDescribePrometheusGlobalNotificationResponse added in v1.0.403

func NewDescribePrometheusGlobalNotificationResponse() (response *DescribePrometheusGlobalNotificationResponse)

func (*DescribePrometheusGlobalNotificationResponse) FromJsonString added in v1.0.403

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribePrometheusGlobalNotificationResponse) ToJsonString added in v1.0.403

type DescribePrometheusGlobalNotificationResponseParams added in v1.0.426

type DescribePrometheusGlobalNotificationResponseParams struct {
	// 全局告警通知渠道
	// 注意:此字段可能返回 null,表示取不到有效值。
	Notification *PrometheusNotificationItem `json:"Notification,omitnil,omitempty" name:"Notification"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribePrometheusInstanceInitStatusRequest added in v1.0.432

type DescribePrometheusInstanceInitStatusRequest struct {
	*tchttp.BaseRequest

	// 实例ID
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
}

func NewDescribePrometheusInstanceInitStatusRequest added in v1.0.432

func NewDescribePrometheusInstanceInitStatusRequest() (request *DescribePrometheusInstanceInitStatusRequest)

func (*DescribePrometheusInstanceInitStatusRequest) FromJsonString added in v1.0.432

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribePrometheusInstanceInitStatusRequest) ToJsonString added in v1.0.432

type DescribePrometheusInstanceInitStatusRequestParams added in v1.0.432

type DescribePrometheusInstanceInitStatusRequestParams struct {
	// 实例ID
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
}

Predefined struct for user

type DescribePrometheusInstanceInitStatusResponse added in v1.0.432

type DescribePrometheusInstanceInitStatusResponse struct {
	*tchttp.BaseResponse
	Response *DescribePrometheusInstanceInitStatusResponseParams `json:"Response"`
}

func NewDescribePrometheusInstanceInitStatusResponse added in v1.0.432

func NewDescribePrometheusInstanceInitStatusResponse() (response *DescribePrometheusInstanceInitStatusResponse)

func (*DescribePrometheusInstanceInitStatusResponse) FromJsonString added in v1.0.432

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribePrometheusInstanceInitStatusResponse) ToJsonString added in v1.0.432

type DescribePrometheusInstanceInitStatusResponseParams added in v1.0.432

type DescribePrometheusInstanceInitStatusResponseParams struct {
	// 实例初始化状态,取值:
	// uninitialized 未初始化
	// initializing 初始化中
	// running 初始化完成,运行中
	// 注意:此字段可能返回 null,表示取不到有效值。
	Status *string `json:"Status,omitnil,omitempty" name:"Status"`

	// 初始化任务步骤
	// 注意:此字段可能返回 null,表示取不到有效值。
	Steps []*TaskStepInfo `json:"Steps,omitnil,omitempty" name:"Steps"`

	// 实例eks集群ID
	// 注意:此字段可能返回 null,表示取不到有效值。
	EksClusterId *string `json:"EksClusterId,omitnil,omitempty" name:"EksClusterId"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribePrometheusInstanceRequest added in v1.0.218

type DescribePrometheusInstanceRequest struct {
	*tchttp.BaseRequest

	// 实例id
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
}

func NewDescribePrometheusInstanceRequest added in v1.0.218

func NewDescribePrometheusInstanceRequest() (request *DescribePrometheusInstanceRequest)

func (*DescribePrometheusInstanceRequest) FromJsonString added in v1.0.218

func (r *DescribePrometheusInstanceRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribePrometheusInstanceRequest) ToJsonString added in v1.0.218

func (r *DescribePrometheusInstanceRequest) ToJsonString() string

type DescribePrometheusInstanceRequestParams added in v1.0.426

type DescribePrometheusInstanceRequestParams struct {
	// 实例id
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
}

Predefined struct for user

type DescribePrometheusInstanceResponse added in v1.0.218

type DescribePrometheusInstanceResponse struct {
	*tchttp.BaseResponse
	Response *DescribePrometheusInstanceResponseParams `json:"Response"`
}

func NewDescribePrometheusInstanceResponse added in v1.0.218

func NewDescribePrometheusInstanceResponse() (response *DescribePrometheusInstanceResponse)

func (*DescribePrometheusInstanceResponse) FromJsonString added in v1.0.218

func (r *DescribePrometheusInstanceResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribePrometheusInstanceResponse) ToJsonString added in v1.0.218

func (r *DescribePrometheusInstanceResponse) ToJsonString() string

type DescribePrometheusInstanceResponseParams added in v1.0.426

type DescribePrometheusInstanceResponseParams struct {
	// 实例id
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// 实例名称
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// 私有网络id
	VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"`

	// 子网id
	SubnetId *string `json:"SubnetId,omitnil,omitempty" name:"SubnetId"`

	// cos桶名称
	COSBucket *string `json:"COSBucket,omitnil,omitempty" name:"COSBucket"`

	// 数据查询地址
	QueryAddress *string `json:"QueryAddress,omitnil,omitempty" name:"QueryAddress"`

	// 实例中grafana相关的信息
	// 注意:此字段可能返回 null,表示取不到有效值。
	Grafana *PrometheusGrafanaInfo `json:"Grafana,omitnil,omitempty" name:"Grafana"`

	// 用户自定义alertmanager
	// 注意:此字段可能返回 null,表示取不到有效值。
	AlertManagerUrl *string `json:"AlertManagerUrl,omitnil,omitempty" name:"AlertManagerUrl"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribePrometheusInstancesOverviewRequest added in v1.0.401

type DescribePrometheusInstancesOverviewRequest struct {
	*tchttp.BaseRequest

	// 用于分页
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 用于分页
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// 过滤实例,目前支持:
	// ID: 通过实例ID来过滤
	// Name: 通过实例名称来过滤
	Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`
}

func NewDescribePrometheusInstancesOverviewRequest added in v1.0.401

func NewDescribePrometheusInstancesOverviewRequest() (request *DescribePrometheusInstancesOverviewRequest)

func (*DescribePrometheusInstancesOverviewRequest) FromJsonString added in v1.0.401

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribePrometheusInstancesOverviewRequest) ToJsonString added in v1.0.401

type DescribePrometheusInstancesOverviewRequestParams added in v1.0.426

type DescribePrometheusInstancesOverviewRequestParams struct {
	// 用于分页
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 用于分页
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// 过滤实例,目前支持:
	// ID: 通过实例ID来过滤
	// Name: 通过实例名称来过滤
	Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`
}

Predefined struct for user

type DescribePrometheusInstancesOverviewResponse added in v1.0.401

type DescribePrometheusInstancesOverviewResponse struct {
	*tchttp.BaseResponse
	Response *DescribePrometheusInstancesOverviewResponseParams `json:"Response"`
}

func NewDescribePrometheusInstancesOverviewResponse added in v1.0.401

func NewDescribePrometheusInstancesOverviewResponse() (response *DescribePrometheusInstancesOverviewResponse)

func (*DescribePrometheusInstancesOverviewResponse) FromJsonString added in v1.0.401

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribePrometheusInstancesOverviewResponse) ToJsonString added in v1.0.401

type DescribePrometheusInstancesOverviewResponseParams added in v1.0.426

type DescribePrometheusInstancesOverviewResponseParams struct {
	// 实例列表
	Instances []*PrometheusInstancesOverview `json:"Instances,omitnil,omitempty" name:"Instances"`

	// 实例总数
	// 注意:此字段可能返回 null,表示取不到有效值。
	Total *uint64 `json:"Total,omitnil,omitempty" name:"Total"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribePrometheusOverviewsRequest

type DescribePrometheusOverviewsRequest struct {
	*tchttp.BaseRequest

	// 用于分页
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 用于分页
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// 过滤实例,目前支持:
	// ID: 通过实例ID来过滤
	// Name: 通过实例名称来过滤
	Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`
}

func NewDescribePrometheusOverviewsRequest

func NewDescribePrometheusOverviewsRequest() (request *DescribePrometheusOverviewsRequest)

func (*DescribePrometheusOverviewsRequest) FromJsonString

func (r *DescribePrometheusOverviewsRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribePrometheusOverviewsRequest) ToJsonString

func (r *DescribePrometheusOverviewsRequest) ToJsonString() string

type DescribePrometheusOverviewsRequestParams added in v1.0.426

type DescribePrometheusOverviewsRequestParams struct {
	// 用于分页
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 用于分页
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// 过滤实例,目前支持:
	// ID: 通过实例ID来过滤
	// Name: 通过实例名称来过滤
	Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`
}

Predefined struct for user

type DescribePrometheusOverviewsResponse

type DescribePrometheusOverviewsResponse struct {
	*tchttp.BaseResponse
	Response *DescribePrometheusOverviewsResponseParams `json:"Response"`
}

func NewDescribePrometheusOverviewsResponse

func NewDescribePrometheusOverviewsResponse() (response *DescribePrometheusOverviewsResponse)

func (*DescribePrometheusOverviewsResponse) FromJsonString

func (r *DescribePrometheusOverviewsResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribePrometheusOverviewsResponse) ToJsonString

func (r *DescribePrometheusOverviewsResponse) ToJsonString() string

type DescribePrometheusOverviewsResponseParams added in v1.0.426

type DescribePrometheusOverviewsResponseParams struct {
	// 实例列表
	Instances []*PrometheusInstanceOverview `json:"Instances,omitnil,omitempty" name:"Instances"`

	// 实例总数
	// 注意:此字段可能返回 null,表示取不到有效值。
	Total *uint64 `json:"Total,omitnil,omitempty" name:"Total"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribePrometheusRecordRulesRequest added in v1.0.401

type DescribePrometheusRecordRulesRequest struct {
	*tchttp.BaseRequest

	// 实例id
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// 分页
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 分页
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// 过滤
	Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`
}

func NewDescribePrometheusRecordRulesRequest added in v1.0.401

func NewDescribePrometheusRecordRulesRequest() (request *DescribePrometheusRecordRulesRequest)

func (*DescribePrometheusRecordRulesRequest) FromJsonString added in v1.0.401

func (r *DescribePrometheusRecordRulesRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribePrometheusRecordRulesRequest) ToJsonString added in v1.0.401

func (r *DescribePrometheusRecordRulesRequest) ToJsonString() string

type DescribePrometheusRecordRulesRequestParams added in v1.0.426

type DescribePrometheusRecordRulesRequestParams struct {
	// 实例id
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// 分页
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 分页
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// 过滤
	Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`
}

Predefined struct for user

type DescribePrometheusRecordRulesResponse added in v1.0.401

type DescribePrometheusRecordRulesResponse struct {
	*tchttp.BaseResponse
	Response *DescribePrometheusRecordRulesResponseParams `json:"Response"`
}

func NewDescribePrometheusRecordRulesResponse added in v1.0.401

func NewDescribePrometheusRecordRulesResponse() (response *DescribePrometheusRecordRulesResponse)

func (*DescribePrometheusRecordRulesResponse) FromJsonString added in v1.0.401

func (r *DescribePrometheusRecordRulesResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribePrometheusRecordRulesResponse) ToJsonString added in v1.0.401

type DescribePrometheusRecordRulesResponseParams added in v1.0.426

type DescribePrometheusRecordRulesResponseParams struct {
	// 聚合规则
	Records []*PrometheusRecordRuleYamlItem `json:"Records,omitnil,omitempty" name:"Records"`

	// 总数
	Total *uint64 `json:"Total,omitnil,omitempty" name:"Total"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribePrometheusTargetsRequest

type DescribePrometheusTargetsRequest struct {
	*tchttp.BaseRequest

	// 实例id
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// 集群类型
	ClusterType *string `json:"ClusterType,omitnil,omitempty" name:"ClusterType"`

	// 集群id
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// 过滤条件,当前支持
	// Name=state
	// Value=up, down, unknown
	Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`
}

func NewDescribePrometheusTargetsRequest

func NewDescribePrometheusTargetsRequest() (request *DescribePrometheusTargetsRequest)

func (*DescribePrometheusTargetsRequest) FromJsonString

func (r *DescribePrometheusTargetsRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribePrometheusTargetsRequest) ToJsonString

func (r *DescribePrometheusTargetsRequest) ToJsonString() string

type DescribePrometheusTargetsRequestParams added in v1.0.426

type DescribePrometheusTargetsRequestParams struct {
	// 实例id
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// 集群类型
	ClusterType *string `json:"ClusterType,omitnil,omitempty" name:"ClusterType"`

	// 集群id
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// 过滤条件,当前支持
	// Name=state
	// Value=up, down, unknown
	Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`
}

Predefined struct for user

type DescribePrometheusTargetsResponse

type DescribePrometheusTargetsResponse struct {
	*tchttp.BaseResponse
	Response *DescribePrometheusTargetsResponseParams `json:"Response"`
}

func NewDescribePrometheusTargetsResponse

func NewDescribePrometheusTargetsResponse() (response *DescribePrometheusTargetsResponse)

func (*DescribePrometheusTargetsResponse) FromJsonString

func (r *DescribePrometheusTargetsResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribePrometheusTargetsResponse) ToJsonString

func (r *DescribePrometheusTargetsResponse) ToJsonString() string

type DescribePrometheusTargetsResponseParams added in v1.0.426

type DescribePrometheusTargetsResponseParams struct {
	// 所有Job的targets信息
	Jobs []*PrometheusJobTargets `json:"Jobs,omitnil,omitempty" name:"Jobs"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribePrometheusTempRequest added in v1.0.401

type DescribePrometheusTempRequest struct {
	*tchttp.BaseRequest

	// 模糊过滤条件,支持
	// Level 按模板级别过滤
	// Name 按名称过滤
	// Describe 按描述过滤
	// ID 按templateId过滤
	Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`

	// 分页偏移
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 总数限制
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`
}

func NewDescribePrometheusTempRequest added in v1.0.401

func NewDescribePrometheusTempRequest() (request *DescribePrometheusTempRequest)

func (*DescribePrometheusTempRequest) FromJsonString added in v1.0.401

func (r *DescribePrometheusTempRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribePrometheusTempRequest) ToJsonString added in v1.0.401

func (r *DescribePrometheusTempRequest) ToJsonString() string

type DescribePrometheusTempRequestParams added in v1.0.426

type DescribePrometheusTempRequestParams struct {
	// 模糊过滤条件,支持
	// Level 按模板级别过滤
	// Name 按名称过滤
	// Describe 按描述过滤
	// ID 按templateId过滤
	Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`

	// 分页偏移
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 总数限制
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`
}

Predefined struct for user

type DescribePrometheusTempResponse added in v1.0.401

type DescribePrometheusTempResponse struct {
	*tchttp.BaseResponse
	Response *DescribePrometheusTempResponseParams `json:"Response"`
}

func NewDescribePrometheusTempResponse added in v1.0.401

func NewDescribePrometheusTempResponse() (response *DescribePrometheusTempResponse)

func (*DescribePrometheusTempResponse) FromJsonString added in v1.0.401

func (r *DescribePrometheusTempResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribePrometheusTempResponse) ToJsonString added in v1.0.401

func (r *DescribePrometheusTempResponse) ToJsonString() string

type DescribePrometheusTempResponseParams added in v1.0.426

type DescribePrometheusTempResponseParams struct {
	// 模板列表
	Templates []*PrometheusTemp `json:"Templates,omitnil,omitempty" name:"Templates"`

	// 总数
	Total *uint64 `json:"Total,omitnil,omitempty" name:"Total"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribePrometheusTempSyncRequest added in v1.0.401

type DescribePrometheusTempSyncRequest struct {
	*tchttp.BaseRequest

	// 模板ID
	TemplateId *string `json:"TemplateId,omitnil,omitempty" name:"TemplateId"`
}

func NewDescribePrometheusTempSyncRequest added in v1.0.401

func NewDescribePrometheusTempSyncRequest() (request *DescribePrometheusTempSyncRequest)

func (*DescribePrometheusTempSyncRequest) FromJsonString added in v1.0.401

func (r *DescribePrometheusTempSyncRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribePrometheusTempSyncRequest) ToJsonString added in v1.0.401

func (r *DescribePrometheusTempSyncRequest) ToJsonString() string

type DescribePrometheusTempSyncRequestParams added in v1.0.426

type DescribePrometheusTempSyncRequestParams struct {
	// 模板ID
	TemplateId *string `json:"TemplateId,omitnil,omitempty" name:"TemplateId"`
}

Predefined struct for user

type DescribePrometheusTempSyncResponse added in v1.0.401

type DescribePrometheusTempSyncResponse struct {
	*tchttp.BaseResponse
	Response *DescribePrometheusTempSyncResponseParams `json:"Response"`
}

func NewDescribePrometheusTempSyncResponse added in v1.0.401

func NewDescribePrometheusTempSyncResponse() (response *DescribePrometheusTempSyncResponse)

func (*DescribePrometheusTempSyncResponse) FromJsonString added in v1.0.401

func (r *DescribePrometheusTempSyncResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribePrometheusTempSyncResponse) ToJsonString added in v1.0.401

func (r *DescribePrometheusTempSyncResponse) ToJsonString() string

type DescribePrometheusTempSyncResponseParams added in v1.0.426

type DescribePrometheusTempSyncResponseParams struct {
	// 同步目标详情
	// 注意:此字段可能返回 null,表示取不到有效值。
	Targets []*PrometheusTemplateSyncTarget `json:"Targets,omitnil,omitempty" name:"Targets"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribePrometheusTemplateSyncRequest

type DescribePrometheusTemplateSyncRequest struct {
	*tchttp.BaseRequest

	// 模板ID
	TemplateId *string `json:"TemplateId,omitnil,omitempty" name:"TemplateId"`
}

func NewDescribePrometheusTemplateSyncRequest

func NewDescribePrometheusTemplateSyncRequest() (request *DescribePrometheusTemplateSyncRequest)

func (*DescribePrometheusTemplateSyncRequest) FromJsonString

func (r *DescribePrometheusTemplateSyncRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribePrometheusTemplateSyncRequest) ToJsonString

type DescribePrometheusTemplateSyncRequestParams added in v1.0.426

type DescribePrometheusTemplateSyncRequestParams struct {
	// 模板ID
	TemplateId *string `json:"TemplateId,omitnil,omitempty" name:"TemplateId"`
}

Predefined struct for user

type DescribePrometheusTemplateSyncResponse

type DescribePrometheusTemplateSyncResponse struct {
	*tchttp.BaseResponse
	Response *DescribePrometheusTemplateSyncResponseParams `json:"Response"`
}

func NewDescribePrometheusTemplateSyncResponse

func NewDescribePrometheusTemplateSyncResponse() (response *DescribePrometheusTemplateSyncResponse)

func (*DescribePrometheusTemplateSyncResponse) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribePrometheusTemplateSyncResponse) ToJsonString

type DescribePrometheusTemplateSyncResponseParams added in v1.0.426

type DescribePrometheusTemplateSyncResponseParams struct {
	// 同步目标详情
	Targets []*PrometheusTemplateSyncTarget `json:"Targets,omitnil,omitempty" name:"Targets"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribePrometheusTemplatesRequest

type DescribePrometheusTemplatesRequest struct {
	*tchttp.BaseRequest

	// 模糊过滤条件,支持
	// Level 按模板级别过滤
	// Name 按名称过滤
	// Describe 按描述过滤
	// ID 按templateId过滤
	Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`

	// 分页偏移
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 总数限制
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`
}

func NewDescribePrometheusTemplatesRequest

func NewDescribePrometheusTemplatesRequest() (request *DescribePrometheusTemplatesRequest)

func (*DescribePrometheusTemplatesRequest) FromJsonString

func (r *DescribePrometheusTemplatesRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribePrometheusTemplatesRequest) ToJsonString

func (r *DescribePrometheusTemplatesRequest) ToJsonString() string

type DescribePrometheusTemplatesRequestParams added in v1.0.426

type DescribePrometheusTemplatesRequestParams struct {
	// 模糊过滤条件,支持
	// Level 按模板级别过滤
	// Name 按名称过滤
	// Describe 按描述过滤
	// ID 按templateId过滤
	Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`

	// 分页偏移
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 总数限制
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`
}

Predefined struct for user

type DescribePrometheusTemplatesResponse

type DescribePrometheusTemplatesResponse struct {
	*tchttp.BaseResponse
	Response *DescribePrometheusTemplatesResponseParams `json:"Response"`
}

func NewDescribePrometheusTemplatesResponse

func NewDescribePrometheusTemplatesResponse() (response *DescribePrometheusTemplatesResponse)

func (*DescribePrometheusTemplatesResponse) FromJsonString

func (r *DescribePrometheusTemplatesResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribePrometheusTemplatesResponse) ToJsonString

func (r *DescribePrometheusTemplatesResponse) ToJsonString() string

type DescribePrometheusTemplatesResponseParams added in v1.0.426

type DescribePrometheusTemplatesResponseParams struct {
	// 模板列表
	Templates []*PrometheusTemplate `json:"Templates,omitnil,omitempty" name:"Templates"`

	// 总数
	Total *uint64 `json:"Total,omitnil,omitempty" name:"Total"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeRIUtilizationDetailRequest added in v1.0.759

type DescribeRIUtilizationDetailRequest struct {
	*tchttp.BaseRequest

	// 偏移量,默认0。
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 返回数量,默认为20,最大值为100。
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// reserved-instance-id
	// 按照**【预留实例ID**】进行过滤。预留实例ID形如:eksri-xxxxxxxx。
	// 类型:String
	// 必选:否
	//
	// begin-time
	// 按照**【抵扣开始时间**】进行过滤。形如:2023-06-28 15:27:40。
	// 类型:String
	// 必选:否
	//
	// end-time
	// 按照**【抵扣结束时间**】进行过滤。形如:2023-06-28 15:27:40。
	// 类型:String
	// 必选:否
	Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`
}

func NewDescribeRIUtilizationDetailRequest added in v1.0.759

func NewDescribeRIUtilizationDetailRequest() (request *DescribeRIUtilizationDetailRequest)

func (*DescribeRIUtilizationDetailRequest) FromJsonString added in v1.0.759

func (r *DescribeRIUtilizationDetailRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeRIUtilizationDetailRequest) ToJsonString added in v1.0.759

func (r *DescribeRIUtilizationDetailRequest) ToJsonString() string

type DescribeRIUtilizationDetailRequestParams added in v1.0.759

type DescribeRIUtilizationDetailRequestParams struct {
	// 偏移量,默认0。
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 返回数量,默认为20,最大值为100。
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// reserved-instance-id
	// 按照**【预留实例ID**】进行过滤。预留实例ID形如:eksri-xxxxxxxx。
	// 类型:String
	// 必选:否
	//
	// begin-time
	// 按照**【抵扣开始时间**】进行过滤。形如:2023-06-28 15:27:40。
	// 类型:String
	// 必选:否
	//
	// end-time
	// 按照**【抵扣结束时间**】进行过滤。形如:2023-06-28 15:27:40。
	// 类型:String
	// 必选:否
	Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`
}

Predefined struct for user

type DescribeRIUtilizationDetailResponse added in v1.0.759

type DescribeRIUtilizationDetailResponse struct {
	*tchttp.BaseResponse
	Response *DescribeRIUtilizationDetailResponseParams `json:"Response"`
}

func NewDescribeRIUtilizationDetailResponse added in v1.0.759

func NewDescribeRIUtilizationDetailResponse() (response *DescribeRIUtilizationDetailResponse)

func (*DescribeRIUtilizationDetailResponse) FromJsonString added in v1.0.759

func (r *DescribeRIUtilizationDetailResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeRIUtilizationDetailResponse) ToJsonString added in v1.0.759

func (r *DescribeRIUtilizationDetailResponse) ToJsonString() string

type DescribeRIUtilizationDetailResponseParams added in v1.0.759

type DescribeRIUtilizationDetailResponseParams struct {
	// 总数。
	TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// 详情。
	RIUtilizationDetailSet []*RIUtilizationDetail `json:"RIUtilizationDetailSet,omitnil,omitempty" name:"RIUtilizationDetailSet"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeRegionsRequest

type DescribeRegionsRequest struct {
	*tchttp.BaseRequest
}

func NewDescribeRegionsRequest

func NewDescribeRegionsRequest() (request *DescribeRegionsRequest)

func (*DescribeRegionsRequest) FromJsonString

func (r *DescribeRegionsRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeRegionsRequest) ToJsonString

func (r *DescribeRegionsRequest) ToJsonString() string

type DescribeRegionsRequestParams added in v1.0.426

type DescribeRegionsRequestParams struct {
}

Predefined struct for user

type DescribeRegionsResponse

type DescribeRegionsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeRegionsResponseParams `json:"Response"`
}

func NewDescribeRegionsResponse

func NewDescribeRegionsResponse() (response *DescribeRegionsResponse)

func (*DescribeRegionsResponse) FromJsonString

func (r *DescribeRegionsResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeRegionsResponse) ToJsonString

func (r *DescribeRegionsResponse) ToJsonString() string

type DescribeRegionsResponseParams added in v1.0.426

type DescribeRegionsResponseParams struct {
	// 地域的数量
	// 注意:此字段可能返回 null,表示取不到有效值。
	TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// 地域列表
	// 注意:此字段可能返回 null,表示取不到有效值。
	RegionInstanceSet []*RegionInstance `json:"RegionInstanceSet,omitnil,omitempty" name:"RegionInstanceSet"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeReservedInstancesRequest added in v1.0.759

type DescribeReservedInstancesRequest struct {
	*tchttp.BaseRequest

	// 偏移量,默认0。
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 返回数量,默认为20,最大值为100。
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// status
	// 按照**【状态**】进行过滤。状态:Creating、Active、Expired、Refunded。
	// 类型:String
	// 必选:否
	//
	// resource-type
	// 按照**【资源类型**】进行过滤。资源类型:common、amd、v100、t4、a10\*gnv4、a10\*gnv4v等,common表示通用类型。
	// 类型:String
	// 必选:否
	//
	// cpu
	// 按照**【核数**】进行过滤。
	// 类型:String
	// 必选:否
	//
	// memory
	// 按照**【内存**】进行过滤。
	// 类型:String
	// 必选:否
	//
	// gpu
	// 按照**【GPU卡数**】进行过滤,取值有0.25、0.5、1、2、4等。
	// 类型:String
	// 必选:否
	//
	// cluster-id
	// 按照**【集群ID**】进行过滤。
	// 类型:String
	// 必选:否
	//
	// node-name
	// 按照**【节点名称**】进行过滤。
	// 类型:String
	// 必选:否
	//
	// scope
	// 按照**【可用区**】进行过滤。比如:ap-guangzhou-2,为空字符串表示地域抵扣范围。如果只过滤可用区抵扣范围,需要同时将cluster-id、node-name设置为空字符串。
	// 类型:String
	// 必选:否
	//
	// reserved-instance-id
	// 按照**【预留实例ID**】进行过滤。预留实例ID形如:eksri-xxxxxxxx。
	// 类型:String
	// 必选:否
	//
	// reserved-instance-name
	// 按照**【预留实例名称**】进行过滤。
	// 类型:String
	// 必选:否
	//
	// reserved-instance-deduct
	// 按照**【上个周期抵扣的预留券**】进行过滤。Values可不设置。
	// 必选:否
	//
	// reserved-instance-not-deduct
	// 按照**【上个周期未抵扣的预留券**】进行过滤。Values可不设置。
	// 必选:否
	Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`

	// 排序字段。支持CreatedAt、ActiveAt、ExpireAt。默认值CreatedAt。
	OrderField *string `json:"OrderField,omitnil,omitempty" name:"OrderField"`

	// 排序方法。顺序:ASC,倒序:DESC。默认值DESC。
	OrderDirection *string `json:"OrderDirection,omitnil,omitempty" name:"OrderDirection"`
}

func NewDescribeReservedInstancesRequest added in v1.0.759

func NewDescribeReservedInstancesRequest() (request *DescribeReservedInstancesRequest)

func (*DescribeReservedInstancesRequest) FromJsonString added in v1.0.759

func (r *DescribeReservedInstancesRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeReservedInstancesRequest) ToJsonString added in v1.0.759

func (r *DescribeReservedInstancesRequest) ToJsonString() string

type DescribeReservedInstancesRequestParams added in v1.0.759

type DescribeReservedInstancesRequestParams struct {
	// 偏移量,默认0。
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 返回数量,默认为20,最大值为100。
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// status
	// 按照**【状态**】进行过滤。状态:Creating、Active、Expired、Refunded。
	// 类型:String
	// 必选:否
	//
	// resource-type
	// 按照**【资源类型**】进行过滤。资源类型:common、amd、v100、t4、a10\*gnv4、a10\*gnv4v等,common表示通用类型。
	// 类型:String
	// 必选:否
	//
	// cpu
	// 按照**【核数**】进行过滤。
	// 类型:String
	// 必选:否
	//
	// memory
	// 按照**【内存**】进行过滤。
	// 类型:String
	// 必选:否
	//
	// gpu
	// 按照**【GPU卡数**】进行过滤,取值有0.25、0.5、1、2、4等。
	// 类型:String
	// 必选:否
	//
	// cluster-id
	// 按照**【集群ID**】进行过滤。
	// 类型:String
	// 必选:否
	//
	// node-name
	// 按照**【节点名称**】进行过滤。
	// 类型:String
	// 必选:否
	//
	// scope
	// 按照**【可用区**】进行过滤。比如:ap-guangzhou-2,为空字符串表示地域抵扣范围。如果只过滤可用区抵扣范围,需要同时将cluster-id、node-name设置为空字符串。
	// 类型:String
	// 必选:否
	//
	// reserved-instance-id
	// 按照**【预留实例ID**】进行过滤。预留实例ID形如:eksri-xxxxxxxx。
	// 类型:String
	// 必选:否
	//
	// reserved-instance-name
	// 按照**【预留实例名称**】进行过滤。
	// 类型:String
	// 必选:否
	//
	// reserved-instance-deduct
	// 按照**【上个周期抵扣的预留券**】进行过滤。Values可不设置。
	// 必选:否
	//
	// reserved-instance-not-deduct
	// 按照**【上个周期未抵扣的预留券**】进行过滤。Values可不设置。
	// 必选:否
	Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`

	// 排序字段。支持CreatedAt、ActiveAt、ExpireAt。默认值CreatedAt。
	OrderField *string `json:"OrderField,omitnil,omitempty" name:"OrderField"`

	// 排序方法。顺序:ASC,倒序:DESC。默认值DESC。
	OrderDirection *string `json:"OrderDirection,omitnil,omitempty" name:"OrderDirection"`
}

Predefined struct for user

type DescribeReservedInstancesResponse added in v1.0.759

type DescribeReservedInstancesResponse struct {
	*tchttp.BaseResponse
	Response *DescribeReservedInstancesResponseParams `json:"Response"`
}

func NewDescribeReservedInstancesResponse added in v1.0.759

func NewDescribeReservedInstancesResponse() (response *DescribeReservedInstancesResponse)

func (*DescribeReservedInstancesResponse) FromJsonString added in v1.0.759

func (r *DescribeReservedInstancesResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeReservedInstancesResponse) ToJsonString added in v1.0.759

func (r *DescribeReservedInstancesResponse) ToJsonString() string

type DescribeReservedInstancesResponseParams added in v1.0.759

type DescribeReservedInstancesResponseParams struct {
	// 总数。
	TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// 预留实例列表。
	ReservedInstanceSet []*ReservedInstance `json:"ReservedInstanceSet,omitnil,omitempty" name:"ReservedInstanceSet"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeResourceUsageRequest added in v1.0.378

type DescribeResourceUsageRequest struct {
	*tchttp.BaseRequest

	// 集群ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
}

func NewDescribeResourceUsageRequest added in v1.0.378

func NewDescribeResourceUsageRequest() (request *DescribeResourceUsageRequest)

func (*DescribeResourceUsageRequest) FromJsonString added in v1.0.378

func (r *DescribeResourceUsageRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeResourceUsageRequest) ToJsonString added in v1.0.378

func (r *DescribeResourceUsageRequest) ToJsonString() string

type DescribeResourceUsageRequestParams added in v1.0.426

type DescribeResourceUsageRequestParams struct {
	// 集群ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
}

Predefined struct for user

type DescribeResourceUsageResponse added in v1.0.378

type DescribeResourceUsageResponse struct {
	*tchttp.BaseResponse
	Response *DescribeResourceUsageResponseParams `json:"Response"`
}

func NewDescribeResourceUsageResponse added in v1.0.378

func NewDescribeResourceUsageResponse() (response *DescribeResourceUsageResponse)

func (*DescribeResourceUsageResponse) FromJsonString added in v1.0.378

func (r *DescribeResourceUsageResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeResourceUsageResponse) ToJsonString added in v1.0.378

func (r *DescribeResourceUsageResponse) ToJsonString() string

type DescribeResourceUsageResponseParams added in v1.0.426

type DescribeResourceUsageResponseParams struct {
	// CRD使用量
	CRDUsage *ResourceUsage `json:"CRDUsage,omitnil,omitempty" name:"CRDUsage"`

	// Pod使用量
	PodUsage *uint64 `json:"PodUsage,omitnil,omitempty" name:"PodUsage"`

	// ReplicaSet使用量
	RSUsage *uint64 `json:"RSUsage,omitnil,omitempty" name:"RSUsage"`

	// ConfigMap使用量
	ConfigMapUsage *uint64 `json:"ConfigMapUsage,omitnil,omitempty" name:"ConfigMapUsage"`

	// 其他资源使用量
	OtherUsage *ResourceUsage `json:"OtherUsage,omitnil,omitempty" name:"OtherUsage"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeRouteTableConflictsRequest

type DescribeRouteTableConflictsRequest struct {
	*tchttp.BaseRequest

	// 路由表CIDR
	RouteTableCidrBlock *string `json:"RouteTableCidrBlock,omitnil,omitempty" name:"RouteTableCidrBlock"`

	// 路由表绑定的VPC
	VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"`
}

func NewDescribeRouteTableConflictsRequest

func NewDescribeRouteTableConflictsRequest() (request *DescribeRouteTableConflictsRequest)

func (*DescribeRouteTableConflictsRequest) FromJsonString

func (r *DescribeRouteTableConflictsRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeRouteTableConflictsRequest) ToJsonString

func (r *DescribeRouteTableConflictsRequest) ToJsonString() string

type DescribeRouteTableConflictsRequestParams added in v1.0.426

type DescribeRouteTableConflictsRequestParams struct {
	// 路由表CIDR
	RouteTableCidrBlock *string `json:"RouteTableCidrBlock,omitnil,omitempty" name:"RouteTableCidrBlock"`

	// 路由表绑定的VPC
	VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"`
}

Predefined struct for user

type DescribeRouteTableConflictsResponse

type DescribeRouteTableConflictsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeRouteTableConflictsResponseParams `json:"Response"`
}

func NewDescribeRouteTableConflictsResponse

func NewDescribeRouteTableConflictsResponse() (response *DescribeRouteTableConflictsResponse)

func (*DescribeRouteTableConflictsResponse) FromJsonString

func (r *DescribeRouteTableConflictsResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeRouteTableConflictsResponse) ToJsonString

func (r *DescribeRouteTableConflictsResponse) ToJsonString() string

type DescribeRouteTableConflictsResponseParams added in v1.0.426

type DescribeRouteTableConflictsResponseParams struct {
	// 路由表是否冲突。
	HasConflict *bool `json:"HasConflict,omitnil,omitempty" name:"HasConflict"`

	// 路由表冲突列表。
	// 注意:此字段可能返回 null,表示取不到有效值。
	RouteTableConflictSet []*RouteTableConflict `json:"RouteTableConflictSet,omitnil,omitempty" name:"RouteTableConflictSet"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeSupportedRuntimeRequest added in v1.0.900

type DescribeSupportedRuntimeRequest struct {
	*tchttp.BaseRequest

	// K8S版本
	K8sVersion *string `json:"K8sVersion,omitnil,omitempty" name:"K8sVersion"`
}

func NewDescribeSupportedRuntimeRequest added in v1.0.900

func NewDescribeSupportedRuntimeRequest() (request *DescribeSupportedRuntimeRequest)

func (*DescribeSupportedRuntimeRequest) FromJsonString added in v1.0.900

func (r *DescribeSupportedRuntimeRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeSupportedRuntimeRequest) ToJsonString added in v1.0.900

func (r *DescribeSupportedRuntimeRequest) ToJsonString() string

type DescribeSupportedRuntimeRequestParams added in v1.0.900

type DescribeSupportedRuntimeRequestParams struct {
	// K8S版本
	K8sVersion *string `json:"K8sVersion,omitnil,omitempty" name:"K8sVersion"`
}

Predefined struct for user

type DescribeSupportedRuntimeResponse added in v1.0.900

type DescribeSupportedRuntimeResponse struct {
	*tchttp.BaseResponse
	Response *DescribeSupportedRuntimeResponseParams `json:"Response"`
}

func NewDescribeSupportedRuntimeResponse added in v1.0.900

func NewDescribeSupportedRuntimeResponse() (response *DescribeSupportedRuntimeResponse)

func (*DescribeSupportedRuntimeResponse) FromJsonString added in v1.0.900

func (r *DescribeSupportedRuntimeResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeSupportedRuntimeResponse) ToJsonString added in v1.0.900

func (r *DescribeSupportedRuntimeResponse) ToJsonString() string

type DescribeSupportedRuntimeResponseParams added in v1.0.900

type DescribeSupportedRuntimeResponseParams struct {
	// 可选运行时列表
	// 注意:此字段可能返回 null,表示取不到有效值。
	OptionalRuntimes []*OptionalRuntimes `json:"OptionalRuntimes,omitnil,omitempty" name:"OptionalRuntimes"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeTKEEdgeClusterCredentialRequest added in v1.0.412

type DescribeTKEEdgeClusterCredentialRequest struct {
	*tchttp.BaseRequest

	// 集群Id
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
}

func NewDescribeTKEEdgeClusterCredentialRequest added in v1.0.412

func NewDescribeTKEEdgeClusterCredentialRequest() (request *DescribeTKEEdgeClusterCredentialRequest)

func (*DescribeTKEEdgeClusterCredentialRequest) FromJsonString added in v1.0.412

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeTKEEdgeClusterCredentialRequest) ToJsonString added in v1.0.412

type DescribeTKEEdgeClusterCredentialRequestParams added in v1.0.426

type DescribeTKEEdgeClusterCredentialRequestParams struct {
	// 集群Id
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
}

Predefined struct for user

type DescribeTKEEdgeClusterCredentialResponse added in v1.0.412

type DescribeTKEEdgeClusterCredentialResponse struct {
	*tchttp.BaseResponse
	Response *DescribeTKEEdgeClusterCredentialResponseParams `json:"Response"`
}

func NewDescribeTKEEdgeClusterCredentialResponse added in v1.0.412

func NewDescribeTKEEdgeClusterCredentialResponse() (response *DescribeTKEEdgeClusterCredentialResponse)

func (*DescribeTKEEdgeClusterCredentialResponse) FromJsonString added in v1.0.412

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeTKEEdgeClusterCredentialResponse) ToJsonString added in v1.0.412

type DescribeTKEEdgeClusterCredentialResponseParams added in v1.0.426

type DescribeTKEEdgeClusterCredentialResponseParams struct {
	// 集群的接入地址信息
	// 注意:此字段可能返回 null,表示取不到有效值。
	Addresses []*IPAddress `json:"Addresses,omitnil,omitempty" name:"Addresses"`

	// 集群的认证信息
	Credential *ClusterCredential `json:"Credential,omitnil,omitempty" name:"Credential"`

	// 集群的公网访问信息
	PublicLB *EdgeClusterPublicLB `json:"PublicLB,omitnil,omitempty" name:"PublicLB"`

	// 集群的内网访问信息
	InternalLB *EdgeClusterInternalLB `json:"InternalLB,omitnil,omitempty" name:"InternalLB"`

	// 集群的CoreDns部署信息
	CoreDns *string `json:"CoreDns,omitnil,omitempty" name:"CoreDns"`

	// 集群的健康检查多地域部署信息
	HealthRegion *string `json:"HealthRegion,omitnil,omitempty" name:"HealthRegion"`

	// 集群的健康检查部署信息
	Health *string `json:"Health,omitnil,omitempty" name:"Health"`

	// 是否部署GridDaemon以支持headless service
	GridDaemon *string `json:"GridDaemon,omitnil,omitempty" name:"GridDaemon"`

	// 公网访问kins集群
	UnitCluster *string `json:"UnitCluster,omitnil,omitempty" name:"UnitCluster"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeTKEEdgeClusterStatusRequest added in v1.0.412

type DescribeTKEEdgeClusterStatusRequest struct {
	*tchttp.BaseRequest

	// 边缘计算容器集群Id
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
}

func NewDescribeTKEEdgeClusterStatusRequest added in v1.0.412

func NewDescribeTKEEdgeClusterStatusRequest() (request *DescribeTKEEdgeClusterStatusRequest)

func (*DescribeTKEEdgeClusterStatusRequest) FromJsonString added in v1.0.412

func (r *DescribeTKEEdgeClusterStatusRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeTKEEdgeClusterStatusRequest) ToJsonString added in v1.0.412

func (r *DescribeTKEEdgeClusterStatusRequest) ToJsonString() string

type DescribeTKEEdgeClusterStatusRequestParams added in v1.0.426

type DescribeTKEEdgeClusterStatusRequestParams struct {
	// 边缘计算容器集群Id
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
}

Predefined struct for user

type DescribeTKEEdgeClusterStatusResponse added in v1.0.412

type DescribeTKEEdgeClusterStatusResponse struct {
	*tchttp.BaseResponse
	Response *DescribeTKEEdgeClusterStatusResponseParams `json:"Response"`
}

func NewDescribeTKEEdgeClusterStatusResponse added in v1.0.412

func NewDescribeTKEEdgeClusterStatusResponse() (response *DescribeTKEEdgeClusterStatusResponse)

func (*DescribeTKEEdgeClusterStatusResponse) FromJsonString added in v1.0.412

func (r *DescribeTKEEdgeClusterStatusResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeTKEEdgeClusterStatusResponse) ToJsonString added in v1.0.412

func (r *DescribeTKEEdgeClusterStatusResponse) ToJsonString() string

type DescribeTKEEdgeClusterStatusResponseParams added in v1.0.426

type DescribeTKEEdgeClusterStatusResponseParams struct {
	// 集群当前状态
	Phase *string `json:"Phase,omitnil,omitempty" name:"Phase"`

	// 集群过程数组
	Conditions []*ClusterCondition `json:"Conditions,omitnil,omitempty" name:"Conditions"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeTKEEdgeClustersRequest added in v1.0.412

type DescribeTKEEdgeClustersRequest struct {
	*tchttp.BaseRequest

	// 集群ID列表(为空时,
	// 表示获取账号下所有集群)
	ClusterIds []*string `json:"ClusterIds,omitnil,omitempty" name:"ClusterIds"`

	// 偏移量,默认0
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 最大输出条数,默认20
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// 过滤条件,当前只支持按照ClusterName和云标签进行过滤,云标签过滤格式Tags:["key1:value1","key2:value2"]
	Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`
}

func NewDescribeTKEEdgeClustersRequest added in v1.0.412

func NewDescribeTKEEdgeClustersRequest() (request *DescribeTKEEdgeClustersRequest)

func (*DescribeTKEEdgeClustersRequest) FromJsonString added in v1.0.412

func (r *DescribeTKEEdgeClustersRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeTKEEdgeClustersRequest) ToJsonString added in v1.0.412

func (r *DescribeTKEEdgeClustersRequest) ToJsonString() string

type DescribeTKEEdgeClustersRequestParams added in v1.0.426

type DescribeTKEEdgeClustersRequestParams struct {
	// 集群ID列表(为空时,
	// 表示获取账号下所有集群)
	ClusterIds []*string `json:"ClusterIds,omitnil,omitempty" name:"ClusterIds"`

	// 偏移量,默认0
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 最大输出条数,默认20
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// 过滤条件,当前只支持按照ClusterName和云标签进行过滤,云标签过滤格式Tags:["key1:value1","key2:value2"]
	Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`
}

Predefined struct for user

type DescribeTKEEdgeClustersResponse added in v1.0.412

type DescribeTKEEdgeClustersResponse struct {
	*tchttp.BaseResponse
	Response *DescribeTKEEdgeClustersResponseParams `json:"Response"`
}

func NewDescribeTKEEdgeClustersResponse added in v1.0.412

func NewDescribeTKEEdgeClustersResponse() (response *DescribeTKEEdgeClustersResponse)

func (*DescribeTKEEdgeClustersResponse) FromJsonString added in v1.0.412

func (r *DescribeTKEEdgeClustersResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeTKEEdgeClustersResponse) ToJsonString added in v1.0.412

func (r *DescribeTKEEdgeClustersResponse) ToJsonString() string

type DescribeTKEEdgeClustersResponseParams added in v1.0.426

type DescribeTKEEdgeClustersResponseParams struct {
	// 集群总个数
	TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// 集群信息列表
	Clusters []*EdgeCluster `json:"Clusters,omitnil,omitempty" name:"Clusters"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeTKEEdgeExternalKubeconfigRequest added in v1.0.412

type DescribeTKEEdgeExternalKubeconfigRequest struct {
	*tchttp.BaseRequest

	// 集群id
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
}

func NewDescribeTKEEdgeExternalKubeconfigRequest added in v1.0.412

func NewDescribeTKEEdgeExternalKubeconfigRequest() (request *DescribeTKEEdgeExternalKubeconfigRequest)

func (*DescribeTKEEdgeExternalKubeconfigRequest) FromJsonString added in v1.0.412

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeTKEEdgeExternalKubeconfigRequest) ToJsonString added in v1.0.412

type DescribeTKEEdgeExternalKubeconfigRequestParams added in v1.0.426

type DescribeTKEEdgeExternalKubeconfigRequestParams struct {
	// 集群id
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
}

Predefined struct for user

type DescribeTKEEdgeExternalKubeconfigResponse added in v1.0.412

type DescribeTKEEdgeExternalKubeconfigResponse struct {
	*tchttp.BaseResponse
	Response *DescribeTKEEdgeExternalKubeconfigResponseParams `json:"Response"`
}

func NewDescribeTKEEdgeExternalKubeconfigResponse added in v1.0.412

func NewDescribeTKEEdgeExternalKubeconfigResponse() (response *DescribeTKEEdgeExternalKubeconfigResponse)

func (*DescribeTKEEdgeExternalKubeconfigResponse) FromJsonString added in v1.0.412

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeTKEEdgeExternalKubeconfigResponse) ToJsonString added in v1.0.412

type DescribeTKEEdgeExternalKubeconfigResponseParams added in v1.0.426

type DescribeTKEEdgeExternalKubeconfigResponseParams struct {
	// kubeconfig文件内容
	Kubeconfig *string `json:"Kubeconfig,omitnil,omitempty" name:"Kubeconfig"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeTKEEdgeScriptRequest added in v1.0.361

type DescribeTKEEdgeScriptRequest struct {
	*tchttp.BaseRequest

	// 集群id
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// 网卡名,指定边缘节点上kubelet向apiserver注册使用的网卡
	Interface *string `json:"Interface,omitnil,omitempty" name:"Interface"`

	// 节点名字
	NodeName *string `json:"NodeName,omitnil,omitempty" name:"NodeName"`

	// json格式的节点配置
	Config *string `json:"Config,omitnil,omitempty" name:"Config"`

	// 可以下载某个历史版本的edgectl脚本,默认下载最新版本,edgectl版本信息可以在脚本里查看
	ScriptVersion *string `json:"ScriptVersion,omitnil,omitempty" name:"ScriptVersion"`
}

func NewDescribeTKEEdgeScriptRequest added in v1.0.361

func NewDescribeTKEEdgeScriptRequest() (request *DescribeTKEEdgeScriptRequest)

func (*DescribeTKEEdgeScriptRequest) FromJsonString added in v1.0.361

func (r *DescribeTKEEdgeScriptRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeTKEEdgeScriptRequest) ToJsonString added in v1.0.361

func (r *DescribeTKEEdgeScriptRequest) ToJsonString() string

type DescribeTKEEdgeScriptRequestParams added in v1.0.426

type DescribeTKEEdgeScriptRequestParams struct {
	// 集群id
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// 网卡名,指定边缘节点上kubelet向apiserver注册使用的网卡
	Interface *string `json:"Interface,omitnil,omitempty" name:"Interface"`

	// 节点名字
	NodeName *string `json:"NodeName,omitnil,omitempty" name:"NodeName"`

	// json格式的节点配置
	Config *string `json:"Config,omitnil,omitempty" name:"Config"`

	// 可以下载某个历史版本的edgectl脚本,默认下载最新版本,edgectl版本信息可以在脚本里查看
	ScriptVersion *string `json:"ScriptVersion,omitnil,omitempty" name:"ScriptVersion"`
}

Predefined struct for user

type DescribeTKEEdgeScriptResponse added in v1.0.361

type DescribeTKEEdgeScriptResponse struct {
	*tchttp.BaseResponse
	Response *DescribeTKEEdgeScriptResponseParams `json:"Response"`
}

func NewDescribeTKEEdgeScriptResponse added in v1.0.361

func NewDescribeTKEEdgeScriptResponse() (response *DescribeTKEEdgeScriptResponse)

func (*DescribeTKEEdgeScriptResponse) FromJsonString added in v1.0.361

func (r *DescribeTKEEdgeScriptResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeTKEEdgeScriptResponse) ToJsonString added in v1.0.361

func (r *DescribeTKEEdgeScriptResponse) ToJsonString() string

type DescribeTKEEdgeScriptResponseParams added in v1.0.426

type DescribeTKEEdgeScriptResponseParams struct {
	// 下载链接
	Link *string `json:"Link,omitnil,omitempty" name:"Link"`

	// 下载需要的token
	Token *string `json:"Token,omitnil,omitempty" name:"Token"`

	// 下载命令
	Command *string `json:"Command,omitnil,omitempty" name:"Command"`

	// edgectl脚本版本,默认拉取最新版本
	// 注意:此字段可能返回 null,表示取不到有效值。
	ScriptVersion *string `json:"ScriptVersion,omitnil,omitempty" name:"ScriptVersion"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeVersionsRequest added in v1.0.228

type DescribeVersionsRequest struct {
	*tchttp.BaseRequest
}

func NewDescribeVersionsRequest added in v1.0.228

func NewDescribeVersionsRequest() (request *DescribeVersionsRequest)

func (*DescribeVersionsRequest) FromJsonString added in v1.0.228

func (r *DescribeVersionsRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeVersionsRequest) ToJsonString added in v1.0.228

func (r *DescribeVersionsRequest) ToJsonString() string

type DescribeVersionsRequestParams added in v1.0.426

type DescribeVersionsRequestParams struct {
}

Predefined struct for user

type DescribeVersionsResponse added in v1.0.228

type DescribeVersionsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeVersionsResponseParams `json:"Response"`
}

func NewDescribeVersionsResponse added in v1.0.228

func NewDescribeVersionsResponse() (response *DescribeVersionsResponse)

func (*DescribeVersionsResponse) FromJsonString added in v1.0.228

func (r *DescribeVersionsResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeVersionsResponse) ToJsonString added in v1.0.228

func (r *DescribeVersionsResponse) ToJsonString() string

type DescribeVersionsResponseParams added in v1.0.426

type DescribeVersionsResponseParams struct {
	// 版本数量
	// 注意:此字段可能返回 null,表示取不到有效值。
	TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// 版本列表
	// 注意:此字段可能返回 null,表示取不到有效值。
	VersionInstanceSet []*VersionInstance `json:"VersionInstanceSet,omitnil,omitempty" name:"VersionInstanceSet"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeVpcCniPodLimitsRequest added in v1.0.217

type DescribeVpcCniPodLimitsRequest struct {
	*tchttp.BaseRequest

	// 查询的机型所在可用区,如:ap-guangzhou-3,默认为空,即不按可用区过滤信息
	Zone *string `json:"Zone,omitnil,omitempty" name:"Zone"`

	// 查询的实例机型系列信息,如:S5,默认为空,即不按机型系列过滤信息
	InstanceFamily *string `json:"InstanceFamily,omitnil,omitempty" name:"InstanceFamily"`

	// 查询的实例机型信息,如:S5.LARGE8,默认为空,即不按机型过滤信息
	InstanceType *string `json:"InstanceType,omitnil,omitempty" name:"InstanceType"`
}

func NewDescribeVpcCniPodLimitsRequest added in v1.0.217

func NewDescribeVpcCniPodLimitsRequest() (request *DescribeVpcCniPodLimitsRequest)

func (*DescribeVpcCniPodLimitsRequest) FromJsonString added in v1.0.217

func (r *DescribeVpcCniPodLimitsRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeVpcCniPodLimitsRequest) ToJsonString added in v1.0.217

func (r *DescribeVpcCniPodLimitsRequest) ToJsonString() string

type DescribeVpcCniPodLimitsRequestParams added in v1.0.426

type DescribeVpcCniPodLimitsRequestParams struct {
	// 查询的机型所在可用区,如:ap-guangzhou-3,默认为空,即不按可用区过滤信息
	Zone *string `json:"Zone,omitnil,omitempty" name:"Zone"`

	// 查询的实例机型系列信息,如:S5,默认为空,即不按机型系列过滤信息
	InstanceFamily *string `json:"InstanceFamily,omitnil,omitempty" name:"InstanceFamily"`

	// 查询的实例机型信息,如:S5.LARGE8,默认为空,即不按机型过滤信息
	InstanceType *string `json:"InstanceType,omitnil,omitempty" name:"InstanceType"`
}

Predefined struct for user

type DescribeVpcCniPodLimitsResponse added in v1.0.217

type DescribeVpcCniPodLimitsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeVpcCniPodLimitsResponseParams `json:"Response"`
}

func NewDescribeVpcCniPodLimitsResponse added in v1.0.217

func NewDescribeVpcCniPodLimitsResponse() (response *DescribeVpcCniPodLimitsResponse)

func (*DescribeVpcCniPodLimitsResponse) FromJsonString added in v1.0.217

func (r *DescribeVpcCniPodLimitsResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeVpcCniPodLimitsResponse) ToJsonString added in v1.0.217

func (r *DescribeVpcCniPodLimitsResponse) ToJsonString() string

type DescribeVpcCniPodLimitsResponseParams added in v1.0.426

type DescribeVpcCniPodLimitsResponseParams struct {
	// 机型数据数量
	// 注意:此字段可能返回 null,表示取不到有效值。
	TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// 机型信息及其可支持的最大VPC-CNI模式Pod数量信息
	// 注意:此字段可能返回 null,表示取不到有效值。
	PodLimitsInstanceSet []*PodLimitsInstance `json:"PodLimitsInstanceSet,omitnil,omitempty" name:"PodLimitsInstanceSet"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DisableClusterAuditRequest added in v1.0.401

type DisableClusterAuditRequest struct {
	*tchttp.BaseRequest

	// 集群ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// 取值为true代表关闭集群审计时删除默认创建的日志集和主题,false代表不删除
	DeleteLogSetAndTopic *bool `json:"DeleteLogSetAndTopic,omitnil,omitempty" name:"DeleteLogSetAndTopic"`
}

func NewDisableClusterAuditRequest added in v1.0.401

func NewDisableClusterAuditRequest() (request *DisableClusterAuditRequest)

func (*DisableClusterAuditRequest) FromJsonString added in v1.0.401

func (r *DisableClusterAuditRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DisableClusterAuditRequest) ToJsonString added in v1.0.401

func (r *DisableClusterAuditRequest) ToJsonString() string

type DisableClusterAuditRequestParams added in v1.0.426

type DisableClusterAuditRequestParams struct {
	// 集群ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// 取值为true代表关闭集群审计时删除默认创建的日志集和主题,false代表不删除
	DeleteLogSetAndTopic *bool `json:"DeleteLogSetAndTopic,omitnil,omitempty" name:"DeleteLogSetAndTopic"`
}

Predefined struct for user

type DisableClusterAuditResponse added in v1.0.401

type DisableClusterAuditResponse struct {
	*tchttp.BaseResponse
	Response *DisableClusterAuditResponseParams `json:"Response"`
}

func NewDisableClusterAuditResponse added in v1.0.401

func NewDisableClusterAuditResponse() (response *DisableClusterAuditResponse)

func (*DisableClusterAuditResponse) FromJsonString added in v1.0.401

func (r *DisableClusterAuditResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DisableClusterAuditResponse) ToJsonString added in v1.0.401

func (r *DisableClusterAuditResponse) ToJsonString() string

type DisableClusterAuditResponseParams added in v1.0.426

type DisableClusterAuditResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DisableClusterDeletionProtectionRequest added in v1.0.301

type DisableClusterDeletionProtectionRequest struct {
	*tchttp.BaseRequest

	// 集群ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
}

func NewDisableClusterDeletionProtectionRequest added in v1.0.301

func NewDisableClusterDeletionProtectionRequest() (request *DisableClusterDeletionProtectionRequest)

func (*DisableClusterDeletionProtectionRequest) FromJsonString added in v1.0.301

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DisableClusterDeletionProtectionRequest) ToJsonString added in v1.0.301

type DisableClusterDeletionProtectionRequestParams added in v1.0.426

type DisableClusterDeletionProtectionRequestParams struct {
	// 集群ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
}

Predefined struct for user

type DisableClusterDeletionProtectionResponse added in v1.0.301

type DisableClusterDeletionProtectionResponse struct {
	*tchttp.BaseResponse
	Response *DisableClusterDeletionProtectionResponseParams `json:"Response"`
}

func NewDisableClusterDeletionProtectionResponse added in v1.0.301

func NewDisableClusterDeletionProtectionResponse() (response *DisableClusterDeletionProtectionResponse)

func (*DisableClusterDeletionProtectionResponse) FromJsonString added in v1.0.301

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DisableClusterDeletionProtectionResponse) ToJsonString added in v1.0.301

type DisableClusterDeletionProtectionResponseParams added in v1.0.426

type DisableClusterDeletionProtectionResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DisableEncryptionProtectionRequest added in v1.0.681

type DisableEncryptionProtectionRequest struct {
	*tchttp.BaseRequest

	// 集群ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
}

func NewDisableEncryptionProtectionRequest added in v1.0.681

func NewDisableEncryptionProtectionRequest() (request *DisableEncryptionProtectionRequest)

func (*DisableEncryptionProtectionRequest) FromJsonString added in v1.0.681

func (r *DisableEncryptionProtectionRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DisableEncryptionProtectionRequest) ToJsonString added in v1.0.681

func (r *DisableEncryptionProtectionRequest) ToJsonString() string

type DisableEncryptionProtectionRequestParams added in v1.0.681

type DisableEncryptionProtectionRequestParams struct {
	// 集群ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
}

Predefined struct for user

type DisableEncryptionProtectionResponse added in v1.0.681

type DisableEncryptionProtectionResponse struct {
	*tchttp.BaseResponse
	Response *DisableEncryptionProtectionResponseParams `json:"Response"`
}

func NewDisableEncryptionProtectionResponse added in v1.0.681

func NewDisableEncryptionProtectionResponse() (response *DisableEncryptionProtectionResponse)

func (*DisableEncryptionProtectionResponse) FromJsonString added in v1.0.681

func (r *DisableEncryptionProtectionResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DisableEncryptionProtectionResponse) ToJsonString added in v1.0.681

func (r *DisableEncryptionProtectionResponse) ToJsonString() string

type DisableEncryptionProtectionResponseParams added in v1.0.681

type DisableEncryptionProtectionResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DisableEventPersistenceRequest added in v1.0.401

type DisableEventPersistenceRequest struct {
	*tchttp.BaseRequest

	// 集群ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// 取值为true代表关闭集群审计时删除默认创建的日志集和主题,false代表不删除
	DeleteLogSetAndTopic *bool `json:"DeleteLogSetAndTopic,omitnil,omitempty" name:"DeleteLogSetAndTopic"`
}

func NewDisableEventPersistenceRequest added in v1.0.401

func NewDisableEventPersistenceRequest() (request *DisableEventPersistenceRequest)

func (*DisableEventPersistenceRequest) FromJsonString added in v1.0.401

func (r *DisableEventPersistenceRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DisableEventPersistenceRequest) ToJsonString added in v1.0.401

func (r *DisableEventPersistenceRequest) ToJsonString() string

type DisableEventPersistenceRequestParams added in v1.0.426

type DisableEventPersistenceRequestParams struct {
	// 集群ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// 取值为true代表关闭集群审计时删除默认创建的日志集和主题,false代表不删除
	DeleteLogSetAndTopic *bool `json:"DeleteLogSetAndTopic,omitnil,omitempty" name:"DeleteLogSetAndTopic"`
}

Predefined struct for user

type DisableEventPersistenceResponse added in v1.0.401

type DisableEventPersistenceResponse struct {
	*tchttp.BaseResponse
	Response *DisableEventPersistenceResponseParams `json:"Response"`
}

func NewDisableEventPersistenceResponse added in v1.0.401

func NewDisableEventPersistenceResponse() (response *DisableEventPersistenceResponse)

func (*DisableEventPersistenceResponse) FromJsonString added in v1.0.401

func (r *DisableEventPersistenceResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DisableEventPersistenceResponse) ToJsonString added in v1.0.401

func (r *DisableEventPersistenceResponse) ToJsonString() string

type DisableEventPersistenceResponseParams added in v1.0.426

type DisableEventPersistenceResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DisableVpcCniNetworkTypeRequest added in v1.0.214

type DisableVpcCniNetworkTypeRequest struct {
	*tchttp.BaseRequest

	// 集群ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
}

func NewDisableVpcCniNetworkTypeRequest added in v1.0.214

func NewDisableVpcCniNetworkTypeRequest() (request *DisableVpcCniNetworkTypeRequest)

func (*DisableVpcCniNetworkTypeRequest) FromJsonString added in v1.0.214

func (r *DisableVpcCniNetworkTypeRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DisableVpcCniNetworkTypeRequest) ToJsonString added in v1.0.214

func (r *DisableVpcCniNetworkTypeRequest) ToJsonString() string

type DisableVpcCniNetworkTypeRequestParams added in v1.0.426

type DisableVpcCniNetworkTypeRequestParams struct {
	// 集群ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
}

Predefined struct for user

type DisableVpcCniNetworkTypeResponse added in v1.0.214

type DisableVpcCniNetworkTypeResponse struct {
	*tchttp.BaseResponse
	Response *DisableVpcCniNetworkTypeResponseParams `json:"Response"`
}

func NewDisableVpcCniNetworkTypeResponse added in v1.0.214

func NewDisableVpcCniNetworkTypeResponse() (response *DisableVpcCniNetworkTypeResponse)

func (*DisableVpcCniNetworkTypeResponse) FromJsonString added in v1.0.214

func (r *DisableVpcCniNetworkTypeResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DisableVpcCniNetworkTypeResponse) ToJsonString added in v1.0.214

func (r *DisableVpcCniNetworkTypeResponse) ToJsonString() string

type DisableVpcCniNetworkTypeResponseParams added in v1.0.426

type DisableVpcCniNetworkTypeResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DnsServerConf

type DnsServerConf struct {
	// 域名。空字符串表示所有域名。
	Domain *string `json:"Domain,omitnil,omitempty" name:"Domain"`

	// dns 服务器地址列表。地址格式 ip:port
	DnsServers []*string `json:"DnsServers,omitnil,omitempty" name:"DnsServers"`
}

type DrainClusterVirtualNodeRequest added in v1.0.575

type DrainClusterVirtualNodeRequest struct {
	*tchttp.BaseRequest

	// 集群ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// 节点名
	NodeName *string `json:"NodeName,omitnil,omitempty" name:"NodeName"`
}

func NewDrainClusterVirtualNodeRequest added in v1.0.575

func NewDrainClusterVirtualNodeRequest() (request *DrainClusterVirtualNodeRequest)

func (*DrainClusterVirtualNodeRequest) FromJsonString added in v1.0.575

func (r *DrainClusterVirtualNodeRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DrainClusterVirtualNodeRequest) ToJsonString added in v1.0.575

func (r *DrainClusterVirtualNodeRequest) ToJsonString() string

type DrainClusterVirtualNodeRequestParams added in v1.0.575

type DrainClusterVirtualNodeRequestParams struct {
	// 集群ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// 节点名
	NodeName *string `json:"NodeName,omitnil,omitempty" name:"NodeName"`
}

Predefined struct for user

type DrainClusterVirtualNodeResponse added in v1.0.575

type DrainClusterVirtualNodeResponse struct {
	*tchttp.BaseResponse
	Response *DrainClusterVirtualNodeResponseParams `json:"Response"`
}

func NewDrainClusterVirtualNodeResponse added in v1.0.575

func NewDrainClusterVirtualNodeResponse() (response *DrainClusterVirtualNodeResponse)

func (*DrainClusterVirtualNodeResponse) FromJsonString added in v1.0.575

func (r *DrainClusterVirtualNodeResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DrainClusterVirtualNodeResponse) ToJsonString added in v1.0.575

func (r *DrainClusterVirtualNodeResponse) ToJsonString() string

type DrainClusterVirtualNodeResponseParams added in v1.0.575

type DrainClusterVirtualNodeResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DriverVersion added in v1.0.486

type DriverVersion struct {
	// GPU驱动或者CUDA的版本
	// 注意:此字段可能返回 null,表示取不到有效值。
	Version *string `json:"Version,omitnil,omitempty" name:"Version"`

	// GPU驱动或者CUDA的名字
	// 注意:此字段可能返回 null,表示取不到有效值。
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`
}

type ECMEnhancedService added in v1.0.412

type ECMEnhancedService struct {
	// 是否开启云监控服务
	SecurityService *ECMRunMonitorServiceEnabled `json:"SecurityService,omitnil,omitempty" name:"SecurityService"`

	// 是否开启云镜服务
	MonitorService *ECMRunSecurityServiceEnabled `json:"MonitorService,omitnil,omitempty" name:"MonitorService"`
}

type ECMRunMonitorServiceEnabled added in v1.0.412

type ECMRunMonitorServiceEnabled struct {
	// 是否开启
	Enabled *bool `json:"Enabled,omitnil,omitempty" name:"Enabled"`
}

type ECMRunSecurityServiceEnabled added in v1.0.412

type ECMRunSecurityServiceEnabled struct {
	// 是否开启
	Enabled *bool `json:"Enabled,omitnil,omitempty" name:"Enabled"`

	// 云镜版本:0 基础版,1 专业版
	Version *int64 `json:"Version,omitnil,omitempty" name:"Version"`
}

type ECMZoneInstanceCountISP added in v1.0.412

type ECMZoneInstanceCountISP struct {
	// 创建实例的可用区
	Zone *string `json:"Zone,omitnil,omitempty" name:"Zone"`

	// 在当前可用区欲创建的实例数目
	InstanceCount *int64 `json:"InstanceCount,omitnil,omitempty" name:"InstanceCount"`

	// 运营商
	ISP *string `json:"ISP,omitnil,omitempty" name:"ISP"`
}

type EdgeArgsFlag added in v1.0.412

type EdgeArgsFlag struct {
	// 参数名
	// 注意:此字段可能返回 null,表示取不到有效值。
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// 参数类型
	// 注意:此字段可能返回 null,表示取不到有效值。
	Type *string `json:"Type,omitnil,omitempty" name:"Type"`

	// 参数描述
	// 注意:此字段可能返回 null,表示取不到有效值。
	Usage *string `json:"Usage,omitnil,omitempty" name:"Usage"`

	// 参数默认值
	// 注意:此字段可能返回 null,表示取不到有效值。
	Default *string `json:"Default,omitnil,omitempty" name:"Default"`

	// 参数可选范围(目前包含range和in两种,"[]"代表range,如"[1, 5]"表示参数必须>=1且 <=5, "()"代表in, 如"('aa', 'bb')"表示参数只能为字符串'aa'或者'bb',该参数为空表示不校验)
	// 注意:此字段可能返回 null,表示取不到有效值。
	Constraint *string `json:"Constraint,omitnil,omitempty" name:"Constraint"`
}

type EdgeAvailableExtraArgs added in v1.0.412

type EdgeAvailableExtraArgs struct {
	// kube-apiserver可用的自定义参数
	// 注意:此字段可能返回 null,表示取不到有效值。
	KubeAPIServer []*EdgeArgsFlag `json:"KubeAPIServer,omitnil,omitempty" name:"KubeAPIServer"`

	// kube-controller-manager可用的自定义参数
	// 注意:此字段可能返回 null,表示取不到有效值。
	KubeControllerManager []*EdgeArgsFlag `json:"KubeControllerManager,omitnil,omitempty" name:"KubeControllerManager"`

	// kube-scheduler可用的自定义参数
	// 注意:此字段可能返回 null,表示取不到有效值。
	KubeScheduler []*EdgeArgsFlag `json:"KubeScheduler,omitnil,omitempty" name:"KubeScheduler"`

	// kubelet可用的自定义参数
	// 注意:此字段可能返回 null,表示取不到有效值。
	Kubelet []*EdgeArgsFlag `json:"Kubelet,omitnil,omitempty" name:"Kubelet"`
}

type EdgeCluster added in v1.0.412

type EdgeCluster struct {
	// 集群Id
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// 集群名称
	ClusterName *string `json:"ClusterName,omitnil,omitempty" name:"ClusterName"`

	// Vpc Id
	VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"`

	// 集群pod cidr
	PodCIDR *string `json:"PodCIDR,omitnil,omitempty" name:"PodCIDR"`

	// 集群 service cidr
	ServiceCIDR *string `json:"ServiceCIDR,omitnil,omitempty" name:"ServiceCIDR"`

	// k8s 版本号
	K8SVersion *string `json:"K8SVersion,omitnil,omitempty" name:"K8SVersion"`

	// 集群状态
	Status *string `json:"Status,omitnil,omitempty" name:"Status"`

	// 集群描述信息
	ClusterDesc *string `json:"ClusterDesc,omitnil,omitempty" name:"ClusterDesc"`

	// 集群创建时间
	CreatedTime *string `json:"CreatedTime,omitnil,omitempty" name:"CreatedTime"`

	// 边缘集群版本
	EdgeClusterVersion *string `json:"EdgeClusterVersion,omitnil,omitempty" name:"EdgeClusterVersion"`

	// 节点最大Pod数
	// 注意:此字段可能返回 null,表示取不到有效值。
	MaxNodePodNum *int64 `json:"MaxNodePodNum,omitnil,omitempty" name:"MaxNodePodNum"`

	// 集群高级设置
	// 注意:此字段可能返回 null,表示取不到有效值。
	ClusterAdvancedSettings *EdgeClusterAdvancedSettings `json:"ClusterAdvancedSettings,omitnil,omitempty" name:"ClusterAdvancedSettings"`

	// 边缘容器集群级别
	// 注意:此字段可能返回 null,表示取不到有效值。
	Level *string `json:"Level,omitnil,omitempty" name:"Level"`

	// 是否支持自动提升集群配置
	// 注意:此字段可能返回 null,表示取不到有效值。
	AutoUpgradeClusterLevel *bool `json:"AutoUpgradeClusterLevel,omitnil,omitempty" name:"AutoUpgradeClusterLevel"`

	// 集群付费模式,支持POSTPAID_BY_HOUR或者PREPAID
	// 注意:此字段可能返回 null,表示取不到有效值。
	ChargeType *string `json:"ChargeType,omitnil,omitempty" name:"ChargeType"`

	// 边缘集群组件的版本
	// 注意:此字段可能返回 null,表示取不到有效值。
	EdgeVersion *string `json:"EdgeVersion,omitnil,omitempty" name:"EdgeVersion"`

	// 集群绑定的云标签
	// 注意:此字段可能返回 null,表示取不到有效值。
	TagSpecification *TagSpecification `json:"TagSpecification,omitnil,omitempty" name:"TagSpecification"`
}

type EdgeClusterAdvancedSettings added in v1.0.412

type EdgeClusterAdvancedSettings struct {
	// 集群自定义参数
	// 注意:此字段可能返回 null,表示取不到有效值。
	ExtraArgs *EdgeClusterExtraArgs `json:"ExtraArgs,omitnil,omitempty" name:"ExtraArgs"`

	// 运行时类型,支持"docker"和"containerd",默认为docker
	// 注意:此字段可能返回 null,表示取不到有效值。
	Runtime *string `json:"Runtime,omitnil,omitempty" name:"Runtime"`

	// 集群kube-proxy转发模式,支持"iptables"和"ipvs",默认为iptables
	// 注意:此字段可能返回 null,表示取不到有效值。
	ProxyMode *string `json:"ProxyMode,omitnil,omitempty" name:"ProxyMode"`
}

type EdgeClusterExtraArgs added in v1.0.412

type EdgeClusterExtraArgs struct {
	// kube-apiserver自定义参数,参数格式为["k1=v1", "k1=v2"], 例如["max-requests-inflight=500","feature-gates=PodShareProcessNamespace=true,DynamicKubeletConfig=true"]
	// 注意:此字段可能返回 null,表示取不到有效值。
	KubeAPIServer []*string `json:"KubeAPIServer,omitnil,omitempty" name:"KubeAPIServer"`

	// kube-controller-manager自定义参数
	// 注意:此字段可能返回 null,表示取不到有效值。
	KubeControllerManager []*string `json:"KubeControllerManager,omitnil,omitempty" name:"KubeControllerManager"`

	// kube-scheduler自定义参数
	// 注意:此字段可能返回 null,表示取不到有效值。
	KubeScheduler []*string `json:"KubeScheduler,omitnil,omitempty" name:"KubeScheduler"`
}

type EdgeClusterInternalLB added in v1.0.412

type EdgeClusterInternalLB struct {
	// 是否开启内网访问LB
	// 注意:此字段可能返回 null,表示取不到有效值。
	Enabled *bool `json:"Enabled,omitnil,omitempty" name:"Enabled"`

	// 内网访问LB关联的子网Id
	// 注意:此字段可能返回 null,表示取不到有效值。
	SubnetId []*string `json:"SubnetId,omitnil,omitempty" name:"SubnetId"`
}

type EdgeClusterPublicLB added in v1.0.412

type EdgeClusterPublicLB struct {
	// 是否开启公网访问LB
	// 注意:此字段可能返回 null,表示取不到有效值。
	Enabled *bool `json:"Enabled,omitnil,omitempty" name:"Enabled"`

	// 允许访问的公网cidr
	// 注意:此字段可能返回 null,表示取不到有效值。
	AllowFromCidrs []*string `json:"AllowFromCidrs,omitnil,omitempty" name:"AllowFromCidrs"`
}

type EipAttribute added in v1.0.254

type EipAttribute struct {
	// 容器实例删除后,EIP是否释放。
	// Never表示不释放,其他任意值(包括空字符串)表示释放。
	DeletePolicy *string `json:"DeletePolicy,omitnil,omitempty" name:"DeletePolicy"`

	// EIP线路类型。默认值:BGP。
	// 已开通静态单线IP白名单的用户,可选值:
	// CMCC:中国移动
	// CTCC:中国电信
	// CUCC:中国联通
	// 注意:仅部分地域支持静态单线IP。
	// 注意:此字段可能返回 null,表示取不到有效值。
	InternetServiceProvider *string `json:"InternetServiceProvider,omitnil,omitempty" name:"InternetServiceProvider"`

	// EIP出带宽上限,单位:Mbps。
	// 注意:此字段可能返回 null,表示取不到有效值。
	InternetMaxBandwidthOut *uint64 `json:"InternetMaxBandwidthOut,omitnil,omitempty" name:"InternetMaxBandwidthOut"`
}

type EksCi added in v1.0.254

type EksCi struct {
	// EKS Cotainer Instance Id
	EksCiId *string `json:"EksCiId,omitnil,omitempty" name:"EksCiId"`

	// EKS Cotainer Instance Name
	EksCiName *string `json:"EksCiName,omitnil,omitempty" name:"EksCiName"`

	// 内存大小
	Memory *float64 `json:"Memory,omitnil,omitempty" name:"Memory"`

	// CPU大小
	Cpu *float64 `json:"Cpu,omitnil,omitempty" name:"Cpu"`

	// 安全组ID
	SecurityGroupIds []*string `json:"SecurityGroupIds,omitnil,omitempty" name:"SecurityGroupIds"`

	// 容器组的重启策略
	// 注意:此字段可能返回 null,表示取不到有效值。
	RestartPolicy *string `json:"RestartPolicy,omitnil,omitempty" name:"RestartPolicy"`

	// 返回容器组创建状态:Pending,Running,Succeeded,Failed。其中:
	// Failed (运行失败)指的容器组退出,RestartPolilcy为Never, 有容器exitCode非0;
	// Succeeded(运行成功)指的是容器组退出了,RestartPolicy为Never或onFailure,所有容器exitCode都为0;
	// Failed和Succeeded这两种状态都会停止运行,停止计费。
	// Pending是创建中,Running是 运行中。
	// 注意:此字段可能返回 null,表示取不到有效值。
	Status *string `json:"Status,omitnil,omitempty" name:"Status"`

	// 接到请求后的系统创建时间。
	// 注意:此字段可能返回 null,表示取不到有效值。
	CreationTime *string `json:"CreationTime,omitnil,omitempty" name:"CreationTime"`

	// 容器全部成功退出后的时间
	// 注意:此字段可能返回 null,表示取不到有效值。
	SucceededTime *string `json:"SucceededTime,omitnil,omitempty" name:"SucceededTime"`

	// 容器列表
	// 注意:此字段可能返回 null,表示取不到有效值。
	Containers []*Container `json:"Containers,omitnil,omitempty" name:"Containers"`

	// 数据卷信息
	// 注意:此字段可能返回 null,表示取不到有效值。
	EksCiVolume *EksCiVolume `json:"EksCiVolume,omitnil,omitempty" name:"EksCiVolume"`

	// 容器组运行的安全上下文
	// 注意:此字段可能返回 null,表示取不到有效值。
	SecurityContext *SecurityContext `json:"SecurityContext,omitnil,omitempty" name:"SecurityContext"`

	// 内网ip地址
	// 注意:此字段可能返回 null,表示取不到有效值。
	PrivateIp *string `json:"PrivateIp,omitnil,omitempty" name:"PrivateIp"`

	// 容器实例绑定的Eip地址,注意可能为空
	// 注意:此字段可能返回 null,表示取不到有效值。
	EipAddress *string `json:"EipAddress,omitnil,omitempty" name:"EipAddress"`

	// GPU类型。如无使用GPU则不返回
	// 注意:此字段可能返回 null,表示取不到有效值。
	GpuType *string `json:"GpuType,omitnil,omitempty" name:"GpuType"`

	// CPU类型
	// 注意:此字段可能返回 null,表示取不到有效值。
	CpuType *string `json:"CpuType,omitnil,omitempty" name:"CpuType"`

	// GPU卡数量
	// 注意:此字段可能返回 null,表示取不到有效值。
	GpuCount *uint64 `json:"GpuCount,omitnil,omitempty" name:"GpuCount"`

	// 实例所属VPC的Id
	// 注意:此字段可能返回 null,表示取不到有效值。
	VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"`

	// 实例所属子网Id
	// 注意:此字段可能返回 null,表示取不到有效值。
	SubnetId *string `json:"SubnetId,omitnil,omitempty" name:"SubnetId"`

	// 初始化容器列表
	// 注意:此字段可能返回 null,表示取不到有效值。
	InitContainers []*Container `json:"InitContainers,omitnil,omitempty" name:"InitContainers"`

	// 为容器实例关联 CAM 角色,value 填写 CAM 角色名称,容器实例可获取该 CAM 角色包含的权限策略,方便 容器实例 内的程序进行如购买资源、读写存储等云资源操作。
	// 注意:此字段可能返回 null,表示取不到有效值。
	CamRoleName *string `json:"CamRoleName,omitnil,omitempty" name:"CamRoleName"`

	// 自动为用户创建的EipId
	// 注意:此字段可能返回 null,表示取不到有效值。
	AutoCreatedEipId *string `json:"AutoCreatedEipId,omitnil,omitempty" name:"AutoCreatedEipId"`

	// 容器状态是否持久化
	// 注意:此字段可能返回 null,表示取不到有效值。
	PersistStatus *bool `json:"PersistStatus,omitnil,omitempty" name:"PersistStatus"`
}

type EksCiRegionInfo added in v1.0.249

type EksCiRegionInfo struct {
	// 地域别名,形如gz
	Alias *string `json:"Alias,omitnil,omitempty" name:"Alias"`

	// 地域名,形如ap-guangzhou
	RegionName *string `json:"RegionName,omitnil,omitempty" name:"RegionName"`

	// 地域ID
	RegionId *uint64 `json:"RegionId,omitnil,omitempty" name:"RegionId"`
}

type EksCiVolume added in v1.0.254

type EksCiVolume struct {
	// Cbs Volume
	// 注意:此字段可能返回 null,表示取不到有效值。
	CbsVolumes []*CbsVolume `json:"CbsVolumes,omitnil,omitempty" name:"CbsVolumes"`

	// Nfs Volume
	// 注意:此字段可能返回 null,表示取不到有效值。
	NfsVolumes []*NfsVolume `json:"NfsVolumes,omitnil,omitempty" name:"NfsVolumes"`
}

type EksCluster

type EksCluster struct {
	// 集群Id
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// 集群名称
	ClusterName *string `json:"ClusterName,omitnil,omitempty" name:"ClusterName"`

	// Vpc Id
	VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"`

	// 子网列表
	SubnetIds []*string `json:"SubnetIds,omitnil,omitempty" name:"SubnetIds"`

	// k8s 版本号
	K8SVersion *string `json:"K8SVersion,omitnil,omitempty" name:"K8SVersion"`

	// 集群状态(running运行中,initializing 初始化中,failed异常)
	Status *string `json:"Status,omitnil,omitempty" name:"Status"`

	// 集群描述信息
	ClusterDesc *string `json:"ClusterDesc,omitnil,omitempty" name:"ClusterDesc"`

	// 集群创建时间
	CreatedTime *string `json:"CreatedTime,omitnil,omitempty" name:"CreatedTime"`

	// Service 子网Id
	ServiceSubnetId *string `json:"ServiceSubnetId,omitnil,omitempty" name:"ServiceSubnetId"`

	// 集群的自定义dns 服务器信息
	DnsServers []*DnsServerConf `json:"DnsServers,omitnil,omitempty" name:"DnsServers"`

	// 将来删除集群时是否要删除cbs。默认为 FALSE
	NeedDeleteCbs *bool `json:"NeedDeleteCbs,omitnil,omitempty" name:"NeedDeleteCbs"`

	// 是否在用户集群内开启Dns。默认为TRUE
	EnableVpcCoreDNS *bool `json:"EnableVpcCoreDNS,omitnil,omitempty" name:"EnableVpcCoreDNS"`

	// 标签描述列表。
	// 注意:此字段可能返回 null,表示取不到有效值。
	TagSpecification []*TagSpecification `json:"TagSpecification,omitnil,omitempty" name:"TagSpecification"`
}

type EnableClusterAuditRequest added in v1.0.401

type EnableClusterAuditRequest struct {
	*tchttp.BaseRequest

	// 集群ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// CLS日志集ID
	LogsetId *string `json:"LogsetId,omitnil,omitempty" name:"LogsetId"`

	// CLS日志主题ID
	TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"`

	// topic所在region,默认为集群当前region
	TopicRegion *string `json:"TopicRegion,omitnil,omitempty" name:"TopicRegion"`
}

func NewEnableClusterAuditRequest added in v1.0.401

func NewEnableClusterAuditRequest() (request *EnableClusterAuditRequest)

func (*EnableClusterAuditRequest) FromJsonString added in v1.0.401

func (r *EnableClusterAuditRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*EnableClusterAuditRequest) ToJsonString added in v1.0.401

func (r *EnableClusterAuditRequest) ToJsonString() string

type EnableClusterAuditRequestParams added in v1.0.426

type EnableClusterAuditRequestParams struct {
	// 集群ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// CLS日志集ID
	LogsetId *string `json:"LogsetId,omitnil,omitempty" name:"LogsetId"`

	// CLS日志主题ID
	TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"`

	// topic所在region,默认为集群当前region
	TopicRegion *string `json:"TopicRegion,omitnil,omitempty" name:"TopicRegion"`
}

Predefined struct for user

type EnableClusterAuditResponse added in v1.0.401

type EnableClusterAuditResponse struct {
	*tchttp.BaseResponse
	Response *EnableClusterAuditResponseParams `json:"Response"`
}

func NewEnableClusterAuditResponse added in v1.0.401

func NewEnableClusterAuditResponse() (response *EnableClusterAuditResponse)

func (*EnableClusterAuditResponse) FromJsonString added in v1.0.401

func (r *EnableClusterAuditResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*EnableClusterAuditResponse) ToJsonString added in v1.0.401

func (r *EnableClusterAuditResponse) ToJsonString() string

type EnableClusterAuditResponseParams added in v1.0.426

type EnableClusterAuditResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type EnableClusterDeletionProtectionRequest added in v1.0.301

type EnableClusterDeletionProtectionRequest struct {
	*tchttp.BaseRequest

	// 集群ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
}

func NewEnableClusterDeletionProtectionRequest added in v1.0.301

func NewEnableClusterDeletionProtectionRequest() (request *EnableClusterDeletionProtectionRequest)

func (*EnableClusterDeletionProtectionRequest) FromJsonString added in v1.0.301

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*EnableClusterDeletionProtectionRequest) ToJsonString added in v1.0.301

type EnableClusterDeletionProtectionRequestParams added in v1.0.426

type EnableClusterDeletionProtectionRequestParams struct {
	// 集群ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
}

Predefined struct for user

type EnableClusterDeletionProtectionResponse added in v1.0.301

type EnableClusterDeletionProtectionResponse struct {
	*tchttp.BaseResponse
	Response *EnableClusterDeletionProtectionResponseParams `json:"Response"`
}

func NewEnableClusterDeletionProtectionResponse added in v1.0.301

func NewEnableClusterDeletionProtectionResponse() (response *EnableClusterDeletionProtectionResponse)

func (*EnableClusterDeletionProtectionResponse) FromJsonString added in v1.0.301

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*EnableClusterDeletionProtectionResponse) ToJsonString added in v1.0.301

type EnableClusterDeletionProtectionResponseParams added in v1.0.426

type EnableClusterDeletionProtectionResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type EnableEncryptionProtectionRequest added in v1.0.681

type EnableEncryptionProtectionRequest struct {
	*tchttp.BaseRequest

	// 集群ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// kms加密配置
	KMSConfiguration *KMSConfiguration `json:"KMSConfiguration,omitnil,omitempty" name:"KMSConfiguration"`
}

func NewEnableEncryptionProtectionRequest added in v1.0.681

func NewEnableEncryptionProtectionRequest() (request *EnableEncryptionProtectionRequest)

func (*EnableEncryptionProtectionRequest) FromJsonString added in v1.0.681

func (r *EnableEncryptionProtectionRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*EnableEncryptionProtectionRequest) ToJsonString added in v1.0.681

func (r *EnableEncryptionProtectionRequest) ToJsonString() string

type EnableEncryptionProtectionRequestParams added in v1.0.681

type EnableEncryptionProtectionRequestParams struct {
	// 集群ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// kms加密配置
	KMSConfiguration *KMSConfiguration `json:"KMSConfiguration,omitnil,omitempty" name:"KMSConfiguration"`
}

Predefined struct for user

type EnableEncryptionProtectionResponse added in v1.0.681

type EnableEncryptionProtectionResponse struct {
	*tchttp.BaseResponse
	Response *EnableEncryptionProtectionResponseParams `json:"Response"`
}

func NewEnableEncryptionProtectionResponse added in v1.0.681

func NewEnableEncryptionProtectionResponse() (response *EnableEncryptionProtectionResponse)

func (*EnableEncryptionProtectionResponse) FromJsonString added in v1.0.681

func (r *EnableEncryptionProtectionResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*EnableEncryptionProtectionResponse) ToJsonString added in v1.0.681

func (r *EnableEncryptionProtectionResponse) ToJsonString() string

type EnableEncryptionProtectionResponseParams added in v1.0.681

type EnableEncryptionProtectionResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type EnableEventPersistenceRequest added in v1.0.401

type EnableEventPersistenceRequest struct {
	*tchttp.BaseRequest

	// 集群ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// cls服务的logsetID
	LogsetId *string `json:"LogsetId,omitnil,omitempty" name:"LogsetId"`

	// cls服务的topicID
	TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"`

	// topic所在地域,默认为集群所在地域
	TopicRegion *string `json:"TopicRegion,omitnil,omitempty" name:"TopicRegion"`
}

func NewEnableEventPersistenceRequest added in v1.0.401

func NewEnableEventPersistenceRequest() (request *EnableEventPersistenceRequest)

func (*EnableEventPersistenceRequest) FromJsonString added in v1.0.401

func (r *EnableEventPersistenceRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*EnableEventPersistenceRequest) ToJsonString added in v1.0.401

func (r *EnableEventPersistenceRequest) ToJsonString() string

type EnableEventPersistenceRequestParams added in v1.0.426

type EnableEventPersistenceRequestParams struct {
	// 集群ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// cls服务的logsetID
	LogsetId *string `json:"LogsetId,omitnil,omitempty" name:"LogsetId"`

	// cls服务的topicID
	TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"`

	// topic所在地域,默认为集群所在地域
	TopicRegion *string `json:"TopicRegion,omitnil,omitempty" name:"TopicRegion"`
}

Predefined struct for user

type EnableEventPersistenceResponse added in v1.0.401

type EnableEventPersistenceResponse struct {
	*tchttp.BaseResponse
	Response *EnableEventPersistenceResponseParams `json:"Response"`
}

func NewEnableEventPersistenceResponse added in v1.0.401

func NewEnableEventPersistenceResponse() (response *EnableEventPersistenceResponse)

func (*EnableEventPersistenceResponse) FromJsonString added in v1.0.401

func (r *EnableEventPersistenceResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*EnableEventPersistenceResponse) ToJsonString added in v1.0.401

func (r *EnableEventPersistenceResponse) ToJsonString() string

type EnableEventPersistenceResponseParams added in v1.0.426

type EnableEventPersistenceResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type EnableVpcCniNetworkTypeRequest

type EnableVpcCniNetworkTypeRequest struct {
	*tchttp.BaseRequest

	// 集群ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// 开启vpc-cni的模式,tke-route-eni开启的是策略路由模式,tke-direct-eni开启的是独立网卡模式
	VpcCniType *string `json:"VpcCniType,omitnil,omitempty" name:"VpcCniType"`

	// 是否开启固定IP模式
	EnableStaticIp *bool `json:"EnableStaticIp,omitnil,omitempty" name:"EnableStaticIp"`

	// 使用的容器子网
	Subnets []*string `json:"Subnets,omitnil,omitempty" name:"Subnets"`

	// 在固定IP模式下,Pod销毁后退还IP的时间,传参必须大于300;不传默认IP永不销毁。
	ExpiredSeconds *uint64 `json:"ExpiredSeconds,omitnil,omitempty" name:"ExpiredSeconds"`

	// 是否同步添加 vpc 网段到 ip-masq-agent-config 的 NonMasqueradeCIDRs 字段,默认 false 会同步添加
	SkipAddingNonMasqueradeCIDRs *bool `json:"SkipAddingNonMasqueradeCIDRs,omitnil,omitempty" name:"SkipAddingNonMasqueradeCIDRs"`
}

func NewEnableVpcCniNetworkTypeRequest

func NewEnableVpcCniNetworkTypeRequest() (request *EnableVpcCniNetworkTypeRequest)

func (*EnableVpcCniNetworkTypeRequest) FromJsonString

func (r *EnableVpcCniNetworkTypeRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*EnableVpcCniNetworkTypeRequest) ToJsonString

func (r *EnableVpcCniNetworkTypeRequest) ToJsonString() string

type EnableVpcCniNetworkTypeRequestParams added in v1.0.426

type EnableVpcCniNetworkTypeRequestParams struct {
	// 集群ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// 开启vpc-cni的模式,tke-route-eni开启的是策略路由模式,tke-direct-eni开启的是独立网卡模式
	VpcCniType *string `json:"VpcCniType,omitnil,omitempty" name:"VpcCniType"`

	// 是否开启固定IP模式
	EnableStaticIp *bool `json:"EnableStaticIp,omitnil,omitempty" name:"EnableStaticIp"`

	// 使用的容器子网
	Subnets []*string `json:"Subnets,omitnil,omitempty" name:"Subnets"`

	// 在固定IP模式下,Pod销毁后退还IP的时间,传参必须大于300;不传默认IP永不销毁。
	ExpiredSeconds *uint64 `json:"ExpiredSeconds,omitnil,omitempty" name:"ExpiredSeconds"`

	// 是否同步添加 vpc 网段到 ip-masq-agent-config 的 NonMasqueradeCIDRs 字段,默认 false 会同步添加
	SkipAddingNonMasqueradeCIDRs *bool `json:"SkipAddingNonMasqueradeCIDRs,omitnil,omitempty" name:"SkipAddingNonMasqueradeCIDRs"`
}

Predefined struct for user

type EnableVpcCniNetworkTypeResponse

type EnableVpcCniNetworkTypeResponse struct {
	*tchttp.BaseResponse
	Response *EnableVpcCniNetworkTypeResponseParams `json:"Response"`
}

func NewEnableVpcCniNetworkTypeResponse

func NewEnableVpcCniNetworkTypeResponse() (response *EnableVpcCniNetworkTypeResponse)

func (*EnableVpcCniNetworkTypeResponse) FromJsonString

func (r *EnableVpcCniNetworkTypeResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*EnableVpcCniNetworkTypeResponse) ToJsonString

func (r *EnableVpcCniNetworkTypeResponse) ToJsonString() string

type EnableVpcCniNetworkTypeResponseParams added in v1.0.426

type EnableVpcCniNetworkTypeResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type EnhancedService

type EnhancedService struct {
	// 开启云安全服务。若不指定该参数,则默认开启云安全服务。
	SecurityService *RunSecurityServiceEnabled `json:"SecurityService,omitnil,omitempty" name:"SecurityService"`

	// 开启云监控服务。若不指定该参数,则默认开启云监控服务。
	MonitorService *RunMonitorServiceEnabled `json:"MonitorService,omitnil,omitempty" name:"MonitorService"`

	// 开启云自动化助手服务(TencentCloud Automation Tools,TAT)。若不指定该参数,则公共镜像默认开启云自动化助手服务,其他镜像默认不开启云自动化助手服务。
	AutomationService *RunAutomationServiceEnabled `json:"AutomationService,omitnil,omitempty" name:"AutomationService"`
}

type EnvironmentVariable added in v1.0.254

type EnvironmentVariable struct {
	// key
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// val
	Value *string `json:"Value,omitnil,omitempty" name:"Value"`
}

type Event added in v1.0.254

type Event struct {
	// pod名称
	PodName *string `json:"PodName,omitnil,omitempty" name:"PodName"`

	// 事件原因内容
	Reason *string `json:"Reason,omitnil,omitempty" name:"Reason"`

	// 事件类型
	Type *string `json:"Type,omitnil,omitempty" name:"Type"`

	// 事件出现次数
	Count *int64 `json:"Count,omitnil,omitempty" name:"Count"`

	// 事件第一次出现时间
	FirstTimestamp *string `json:"FirstTimestamp,omitnil,omitempty" name:"FirstTimestamp"`

	// 事件最后一次出现时间
	LastTimestamp *string `json:"LastTimestamp,omitnil,omitempty" name:"LastTimestamp"`

	// 事件内容
	Message *string `json:"Message,omitnil,omitempty" name:"Message"`
}

type Exec added in v1.0.254

type Exec struct {
	// 容器内检测的命令
	// 注意:此字段可能返回 null,表示取不到有效值。
	Commands []*string `json:"Commands,omitnil,omitempty" name:"Commands"`
}

type ExistedInstance

type ExistedInstance struct {
	// 实例是否支持加入集群(TRUE 可以加入 FALSE 不能加入)。
	// 注意:此字段可能返回 null,表示取不到有效值。
	Usable *bool `json:"Usable,omitnil,omitempty" name:"Usable"`

	// 实例不支持加入的原因。
	// 注意:此字段可能返回 null,表示取不到有效值。
	UnusableReason *string `json:"UnusableReason,omitnil,omitempty" name:"UnusableReason"`

	// 实例已经所在的集群ID。
	// 注意:此字段可能返回 null,表示取不到有效值。
	AlreadyInCluster *string `json:"AlreadyInCluster,omitnil,omitempty" name:"AlreadyInCluster"`

	// 实例ID形如:ins-xxxxxxxx。
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// 实例名称。
	// 注意:此字段可能返回 null,表示取不到有效值。
	InstanceName *string `json:"InstanceName,omitnil,omitempty" name:"InstanceName"`

	// 实例主网卡的内网IP列表。
	// 注意:此字段可能返回 null,表示取不到有效值。
	PrivateIpAddresses []*string `json:"PrivateIpAddresses,omitnil,omitempty" name:"PrivateIpAddresses"`

	// 实例主网卡的公网IP列表。
	// 注意:此字段可能返回 null,表示取不到有效值。
	// 注意:此字段可能返回 null,表示取不到有效值。
	PublicIpAddresses []*string `json:"PublicIpAddresses,omitnil,omitempty" name:"PublicIpAddresses"`

	// 创建时间。按照ISO8601标准表示,并且使用UTC时间。格式为:YYYY-MM-DDThh:mm:ssZ。
	// 注意:此字段可能返回 null,表示取不到有效值。
	CreatedTime *string `json:"CreatedTime,omitnil,omitempty" name:"CreatedTime"`

	// 实例的CPU核数,单位:核。
	// 注意:此字段可能返回 null,表示取不到有效值。
	CPU *uint64 `json:"CPU,omitnil,omitempty" name:"CPU"`

	// 实例内存容量,单位:GB。
	// 注意:此字段可能返回 null,表示取不到有效值。
	Memory *uint64 `json:"Memory,omitnil,omitempty" name:"Memory"`

	// 操作系统名称。
	// 注意:此字段可能返回 null,表示取不到有效值。
	OsName *string `json:"OsName,omitnil,omitempty" name:"OsName"`

	// 实例机型。
	// 注意:此字段可能返回 null,表示取不到有效值。
	InstanceType *string `json:"InstanceType,omitnil,omitempty" name:"InstanceType"`

	// 伸缩组ID
	// 注意:此字段可能返回 null,表示取不到有效值。
	AutoscalingGroupId *string `json:"AutoscalingGroupId,omitnil,omitempty" name:"AutoscalingGroupId"`

	// 实例计费模式。取值范围: PREPAID:表示预付费,即包年包月 POSTPAID_BY_HOUR:表示后付费,即按量计费 CDHPAID:CDH付费,即只对CDH计费,不对CDH上的实例计费。
	// 注意:此字段可能返回 null,表示取不到有效值。
	InstanceChargeType *string `json:"InstanceChargeType,omitnil,omitempty" name:"InstanceChargeType"`

	// 实例的IPv6地址。
	// 注意:此字段可能返回 null,表示取不到有效值。
	// 注意:此字段可能返回 null,表示取不到有效值。
	IPv6Addresses []*string `json:"IPv6Addresses,omitnil,omitempty" name:"IPv6Addresses"`
}

type ExistedInstancesForNode

type ExistedInstancesForNode struct {
	// 节点角色,取值:MASTER_ETCD, WORKER。MASTER_ETCD只有在创建 INDEPENDENT_CLUSTER 独立集群时需要指定。MASTER_ETCD节点数量为3~7,建议为奇数。MASTER_ETCD最小配置为4C8G。
	NodeRole *string `json:"NodeRole,omitnil,omitempty" name:"NodeRole"`

	// 已存在实例的重装参数
	ExistedInstancesPara *ExistedInstancesPara `json:"ExistedInstancesPara,omitnil,omitempty" name:"ExistedInstancesPara"`

	// 节点高级设置,会覆盖集群级别设置的InstanceAdvancedSettings(当前只对节点自定义参数ExtraArgs生效)
	InstanceAdvancedSettingsOverride *InstanceAdvancedSettings `json:"InstanceAdvancedSettingsOverride,omitnil,omitempty" name:"InstanceAdvancedSettingsOverride"`

	// 自定义模式集群,可指定每个节点的pod数量
	DesiredPodNumbers []*int64 `json:"DesiredPodNumbers,omitnil,omitempty" name:"DesiredPodNumbers"`
}

type ExistedInstancesPara

type ExistedInstancesPara struct {
	// 集群ID
	InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" name:"InstanceIds"`

	// 实例额外需要设置参数信息(目前后端暂不支持此字段,我们将在未来的版本中实现)
	InstanceAdvancedSettings *InstanceAdvancedSettings `json:"InstanceAdvancedSettings,omitnil,omitempty" name:"InstanceAdvancedSettings"`

	// 增强服务。通过该参数可以指定是否开启云安全、云监控等服务。若不指定该参数,则默认开启云监控、云安全服务。
	EnhancedService *EnhancedService `json:"EnhancedService,omitnil,omitempty" name:"EnhancedService"`

	// 节点登录信息(目前仅支持使用Password或者单个KeyIds)
	LoginSettings *LoginSettings `json:"LoginSettings,omitnil,omitempty" name:"LoginSettings"`

	// 实例所属安全组。该参数可以通过调用 DescribeSecurityGroups 的返回值中的sgId字段来获取。若不指定该参数,则绑定默认安全组。
	SecurityGroupIds []*string `json:"SecurityGroupIds,omitnil,omitempty" name:"SecurityGroupIds"`

	// 重装系统时,可以指定修改实例的HostName(集群为HostName模式时,此参数必传,规则名称除不支持大写字符外与[CVM创建实例](https://cloud.tencent.com/document/product/213/15730)接口HostName一致)
	HostName *string `json:"HostName,omitnil,omitempty" name:"HostName"`
}

type ExtensionAddon

type ExtensionAddon struct {
	// 扩展组件名称
	AddonName *string `json:"AddonName,omitnil,omitempty" name:"AddonName"`

	// 扩展组件信息(扩展组件资源对象的json字符串描述)
	AddonParam *string `json:"AddonParam,omitnil,omitempty" name:"AddonParam"`
}

type Filter

type Filter struct {
	// 属性名称, 若存在多个Filter时,Filter间的关系为逻辑与(AND)关系。
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// 属性值, 若同一个Filter存在多个Values,同一Filter下Values间的关系为逻辑或(OR)关系。
	Values []*string `json:"Values,omitnil,omitempty" name:"Values"`
}

type ForwardApplicationRequestV3Request added in v1.0.302

type ForwardApplicationRequestV3Request struct {
	*tchttp.BaseRequest

	// 请求集群addon的访问
	Method *string `json:"Method,omitnil,omitempty" name:"Method"`

	// 请求集群addon的路径
	Path *string `json:"Path,omitnil,omitempty" name:"Path"`

	// 请求集群addon后允许接收的数据格式
	Accept *string `json:"Accept,omitnil,omitempty" name:"Accept"`

	// 请求集群addon的数据格式
	ContentType *string `json:"ContentType,omitnil,omitempty" name:"ContentType"`

	// 请求集群addon的数据
	RequestBody *string `json:"RequestBody,omitnil,omitempty" name:"RequestBody"`

	// 集群名称
	ClusterName *string `json:"ClusterName,omitnil,omitempty" name:"ClusterName"`

	// 是否编码请求内容
	EncodedBody *string `json:"EncodedBody,omitnil,omitempty" name:"EncodedBody"`
}

func NewForwardApplicationRequestV3Request added in v1.0.302

func NewForwardApplicationRequestV3Request() (request *ForwardApplicationRequestV3Request)

func (*ForwardApplicationRequestV3Request) FromJsonString added in v1.0.302

func (r *ForwardApplicationRequestV3Request) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ForwardApplicationRequestV3Request) ToJsonString added in v1.0.302

func (r *ForwardApplicationRequestV3Request) ToJsonString() string

type ForwardApplicationRequestV3RequestParams added in v1.0.426

type ForwardApplicationRequestV3RequestParams struct {
	// 请求集群addon的访问
	Method *string `json:"Method,omitnil,omitempty" name:"Method"`

	// 请求集群addon的路径
	Path *string `json:"Path,omitnil,omitempty" name:"Path"`

	// 请求集群addon后允许接收的数据格式
	Accept *string `json:"Accept,omitnil,omitempty" name:"Accept"`

	// 请求集群addon的数据格式
	ContentType *string `json:"ContentType,omitnil,omitempty" name:"ContentType"`

	// 请求集群addon的数据
	RequestBody *string `json:"RequestBody,omitnil,omitempty" name:"RequestBody"`

	// 集群名称
	ClusterName *string `json:"ClusterName,omitnil,omitempty" name:"ClusterName"`

	// 是否编码请求内容
	EncodedBody *string `json:"EncodedBody,omitnil,omitempty" name:"EncodedBody"`
}

Predefined struct for user

type ForwardApplicationRequestV3Response added in v1.0.302

type ForwardApplicationRequestV3Response struct {
	*tchttp.BaseResponse
	Response *ForwardApplicationRequestV3ResponseParams `json:"Response"`
}

func NewForwardApplicationRequestV3Response added in v1.0.302

func NewForwardApplicationRequestV3Response() (response *ForwardApplicationRequestV3Response)

func (*ForwardApplicationRequestV3Response) FromJsonString added in v1.0.302

func (r *ForwardApplicationRequestV3Response) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ForwardApplicationRequestV3Response) ToJsonString added in v1.0.302

func (r *ForwardApplicationRequestV3Response) ToJsonString() string

type ForwardApplicationRequestV3ResponseParams added in v1.0.426

type ForwardApplicationRequestV3ResponseParams struct {
	// 请求集群addon后返回的数据
	ResponseBody *string `json:"ResponseBody,omitnil,omitempty" name:"ResponseBody"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ForwardTKEEdgeApplicationRequestV3Request added in v1.0.429

type ForwardTKEEdgeApplicationRequestV3Request struct {
	*tchttp.BaseRequest

	// 请求集群addon的访问
	Method *string `json:"Method,omitnil,omitempty" name:"Method"`

	// 请求集群addon的路径
	Path *string `json:"Path,omitnil,omitempty" name:"Path"`

	// 请求集群addon后允许接收的数据格式
	Accept *string `json:"Accept,omitnil,omitempty" name:"Accept"`

	// 请求集群addon的数据格式
	ContentType *string `json:"ContentType,omitnil,omitempty" name:"ContentType"`

	// 请求集群addon的数据
	RequestBody *string `json:"RequestBody,omitnil,omitempty" name:"RequestBody"`

	// 集群名称,例如cls-1234abcd
	ClusterName *string `json:"ClusterName,omitnil,omitempty" name:"ClusterName"`

	// 是否编码请求内容
	EncodedBody *string `json:"EncodedBody,omitnil,omitempty" name:"EncodedBody"`
}

func NewForwardTKEEdgeApplicationRequestV3Request added in v1.0.429

func NewForwardTKEEdgeApplicationRequestV3Request() (request *ForwardTKEEdgeApplicationRequestV3Request)

func (*ForwardTKEEdgeApplicationRequestV3Request) FromJsonString added in v1.0.429

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ForwardTKEEdgeApplicationRequestV3Request) ToJsonString added in v1.0.429

type ForwardTKEEdgeApplicationRequestV3RequestParams added in v1.0.429

type ForwardTKEEdgeApplicationRequestV3RequestParams struct {
	// 请求集群addon的访问
	Method *string `json:"Method,omitnil,omitempty" name:"Method"`

	// 请求集群addon的路径
	Path *string `json:"Path,omitnil,omitempty" name:"Path"`

	// 请求集群addon后允许接收的数据格式
	Accept *string `json:"Accept,omitnil,omitempty" name:"Accept"`

	// 请求集群addon的数据格式
	ContentType *string `json:"ContentType,omitnil,omitempty" name:"ContentType"`

	// 请求集群addon的数据
	RequestBody *string `json:"RequestBody,omitnil,omitempty" name:"RequestBody"`

	// 集群名称,例如cls-1234abcd
	ClusterName *string `json:"ClusterName,omitnil,omitempty" name:"ClusterName"`

	// 是否编码请求内容
	EncodedBody *string `json:"EncodedBody,omitnil,omitempty" name:"EncodedBody"`
}

Predefined struct for user

type ForwardTKEEdgeApplicationRequestV3Response added in v1.0.429

type ForwardTKEEdgeApplicationRequestV3Response struct {
	*tchttp.BaseResponse
	Response *ForwardTKEEdgeApplicationRequestV3ResponseParams `json:"Response"`
}

func NewForwardTKEEdgeApplicationRequestV3Response added in v1.0.429

func NewForwardTKEEdgeApplicationRequestV3Response() (response *ForwardTKEEdgeApplicationRequestV3Response)

func (*ForwardTKEEdgeApplicationRequestV3Response) FromJsonString added in v1.0.429

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ForwardTKEEdgeApplicationRequestV3Response) ToJsonString added in v1.0.429

type ForwardTKEEdgeApplicationRequestV3ResponseParams added in v1.0.429

type ForwardTKEEdgeApplicationRequestV3ResponseParams struct {
	// 请求集群addon后返回的数据
	ResponseBody *string `json:"ResponseBody,omitnil,omitempty" name:"ResponseBody"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type GPUArgs added in v1.0.486

type GPUArgs struct {
	// 是否启用MIG特性
	// 注意:此字段可能返回 null,表示取不到有效值。
	MIGEnable *bool `json:"MIGEnable,omitnil,omitempty" name:"MIGEnable"`

	// GPU驱动版本信息
	Driver *DriverVersion `json:"Driver,omitnil,omitempty" name:"Driver"`

	// CUDA版本信息
	// 注意:此字段可能返回 null,表示取不到有效值。
	CUDA *DriverVersion `json:"CUDA,omitnil,omitempty" name:"CUDA"`

	// cuDNN版本信息
	// 注意:此字段可能返回 null,表示取不到有效值。
	CUDNN *CUDNN `json:"CUDNN,omitnil,omitempty" name:"CUDNN"`

	// 自定义GPU驱动信息
	// 注意:此字段可能返回 null,表示取不到有效值。
	CustomDriver *CustomDriver `json:"CustomDriver,omitnil,omitempty" name:"CustomDriver"`
}

type GetClusterLevelPriceRequest added in v1.0.378

type GetClusterLevelPriceRequest struct {
	*tchttp.BaseRequest

	// 集群规格,托管集群询价
	ClusterLevel *string `json:"ClusterLevel,omitnil,omitempty" name:"ClusterLevel"`
}

func NewGetClusterLevelPriceRequest added in v1.0.378

func NewGetClusterLevelPriceRequest() (request *GetClusterLevelPriceRequest)

func (*GetClusterLevelPriceRequest) FromJsonString added in v1.0.378

func (r *GetClusterLevelPriceRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*GetClusterLevelPriceRequest) ToJsonString added in v1.0.378

func (r *GetClusterLevelPriceRequest) ToJsonString() string

type GetClusterLevelPriceRequestParams added in v1.0.426

type GetClusterLevelPriceRequestParams struct {
	// 集群规格,托管集群询价
	ClusterLevel *string `json:"ClusterLevel,omitnil,omitempty" name:"ClusterLevel"`
}

Predefined struct for user

type GetClusterLevelPriceResponse added in v1.0.378

type GetClusterLevelPriceResponse struct {
	*tchttp.BaseResponse
	Response *GetClusterLevelPriceResponseParams `json:"Response"`
}

func NewGetClusterLevelPriceResponse added in v1.0.378

func NewGetClusterLevelPriceResponse() (response *GetClusterLevelPriceResponse)

func (*GetClusterLevelPriceResponse) FromJsonString added in v1.0.378

func (r *GetClusterLevelPriceResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*GetClusterLevelPriceResponse) ToJsonString added in v1.0.378

func (r *GetClusterLevelPriceResponse) ToJsonString() string

type GetClusterLevelPriceResponseParams added in v1.0.426

type GetClusterLevelPriceResponseParams struct {
	// 询价结果,单位:分,打折后
	Cost *uint64 `json:"Cost,omitnil,omitempty" name:"Cost"`

	// 询价结果,单位:分,折扣前
	TotalCost *uint64 `json:"TotalCost,omitnil,omitempty" name:"TotalCost"`

	// 总的折扣,100表示100%不打折
	Policy *float64 `json:"Policy,omitnil,omitempty" name:"Policy"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type GetMostSuitableImageCacheRequest added in v1.0.363

type GetMostSuitableImageCacheRequest struct {
	*tchttp.BaseRequest

	// 容器镜像列表
	Images []*string `json:"Images,omitnil,omitempty" name:"Images"`
}

func NewGetMostSuitableImageCacheRequest added in v1.0.363

func NewGetMostSuitableImageCacheRequest() (request *GetMostSuitableImageCacheRequest)

func (*GetMostSuitableImageCacheRequest) FromJsonString added in v1.0.363

func (r *GetMostSuitableImageCacheRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*GetMostSuitableImageCacheRequest) ToJsonString added in v1.0.363

func (r *GetMostSuitableImageCacheRequest) ToJsonString() string

type GetMostSuitableImageCacheRequestParams added in v1.0.426

type GetMostSuitableImageCacheRequestParams struct {
	// 容器镜像列表
	Images []*string `json:"Images,omitnil,omitempty" name:"Images"`
}

Predefined struct for user

type GetMostSuitableImageCacheResponse added in v1.0.363

type GetMostSuitableImageCacheResponse struct {
	*tchttp.BaseResponse
	Response *GetMostSuitableImageCacheResponseParams `json:"Response"`
}

func NewGetMostSuitableImageCacheResponse added in v1.0.363

func NewGetMostSuitableImageCacheResponse() (response *GetMostSuitableImageCacheResponse)

func (*GetMostSuitableImageCacheResponse) FromJsonString added in v1.0.363

func (r *GetMostSuitableImageCacheResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*GetMostSuitableImageCacheResponse) ToJsonString added in v1.0.363

func (r *GetMostSuitableImageCacheResponse) ToJsonString() string

type GetMostSuitableImageCacheResponseParams added in v1.0.426

type GetMostSuitableImageCacheResponseParams struct {
	// 是否有匹配的镜像缓存
	Found *bool `json:"Found,omitnil,omitempty" name:"Found"`

	// 匹配的镜像缓存
	// 注意:此字段可能返回 null,表示取不到有效值。
	ImageCache *ImageCache `json:"ImageCache,omitnil,omitempty" name:"ImageCache"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type GetTkeAppChartListRequest added in v1.0.302

type GetTkeAppChartListRequest struct {
	*tchttp.BaseRequest

	// app类型,取值log,scheduler,network,storage,monitor,dns,image,other,invisible
	Kind *string `json:"Kind,omitnil,omitempty" name:"Kind"`

	// app支持的操作系统,取值arm32、arm64、amd64
	Arch *string `json:"Arch,omitnil,omitempty" name:"Arch"`

	// 集群类型,取值tke、eks
	ClusterType *string `json:"ClusterType,omitnil,omitempty" name:"ClusterType"`
}

func NewGetTkeAppChartListRequest added in v1.0.302

func NewGetTkeAppChartListRequest() (request *GetTkeAppChartListRequest)

func (*GetTkeAppChartListRequest) FromJsonString added in v1.0.302

func (r *GetTkeAppChartListRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*GetTkeAppChartListRequest) ToJsonString added in v1.0.302

func (r *GetTkeAppChartListRequest) ToJsonString() string

type GetTkeAppChartListRequestParams added in v1.0.426

type GetTkeAppChartListRequestParams struct {
	// app类型,取值log,scheduler,network,storage,monitor,dns,image,other,invisible
	Kind *string `json:"Kind,omitnil,omitempty" name:"Kind"`

	// app支持的操作系统,取值arm32、arm64、amd64
	Arch *string `json:"Arch,omitnil,omitempty" name:"Arch"`

	// 集群类型,取值tke、eks
	ClusterType *string `json:"ClusterType,omitnil,omitempty" name:"ClusterType"`
}

Predefined struct for user

type GetTkeAppChartListResponse added in v1.0.302

type GetTkeAppChartListResponse struct {
	*tchttp.BaseResponse
	Response *GetTkeAppChartListResponseParams `json:"Response"`
}

func NewGetTkeAppChartListResponse added in v1.0.302

func NewGetTkeAppChartListResponse() (response *GetTkeAppChartListResponse)

func (*GetTkeAppChartListResponse) FromJsonString added in v1.0.302

func (r *GetTkeAppChartListResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*GetTkeAppChartListResponse) ToJsonString added in v1.0.302

func (r *GetTkeAppChartListResponse) ToJsonString() string

type GetTkeAppChartListResponseParams added in v1.0.426

type GetTkeAppChartListResponseParams struct {
	// 所支持的chart列表
	// 注意:此字段可能返回 null,表示取不到有效值。
	AppCharts []*AppChart `json:"AppCharts,omitnil,omitempty" name:"AppCharts"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type GetUpgradeInstanceProgressRequest

type GetUpgradeInstanceProgressRequest struct {
	*tchttp.BaseRequest

	// 集群ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// 最多获取多少个节点的进度
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// 从第几个节点开始获取进度
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`
}

func NewGetUpgradeInstanceProgressRequest

func NewGetUpgradeInstanceProgressRequest() (request *GetUpgradeInstanceProgressRequest)

func (*GetUpgradeInstanceProgressRequest) FromJsonString

func (r *GetUpgradeInstanceProgressRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*GetUpgradeInstanceProgressRequest) ToJsonString

func (r *GetUpgradeInstanceProgressRequest) ToJsonString() string

type GetUpgradeInstanceProgressRequestParams added in v1.0.426

type GetUpgradeInstanceProgressRequestParams struct {
	// 集群ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// 最多获取多少个节点的进度
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// 从第几个节点开始获取进度
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`
}

Predefined struct for user

type GetUpgradeInstanceProgressResponse

type GetUpgradeInstanceProgressResponse struct {
	*tchttp.BaseResponse
	Response *GetUpgradeInstanceProgressResponseParams `json:"Response"`
}

func NewGetUpgradeInstanceProgressResponse

func NewGetUpgradeInstanceProgressResponse() (response *GetUpgradeInstanceProgressResponse)

func (*GetUpgradeInstanceProgressResponse) FromJsonString

func (r *GetUpgradeInstanceProgressResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*GetUpgradeInstanceProgressResponse) ToJsonString

func (r *GetUpgradeInstanceProgressResponse) ToJsonString() string

type GetUpgradeInstanceProgressResponseParams added in v1.0.426

type GetUpgradeInstanceProgressResponseParams struct {
	// 升级节点总数
	Total *int64 `json:"Total,omitnil,omitempty" name:"Total"`

	// 已升级节点总数
	Done *int64 `json:"Done,omitnil,omitempty" name:"Done"`

	// 升级任务生命周期
	// process 运行中
	// paused 已停止
	// pauing 正在停止
	// done  已完成
	// timeout 已超时
	// aborted 已取消
	LifeState *string `json:"LifeState,omitnil,omitempty" name:"LifeState"`

	// 各节点升级进度详情
	Instances []*InstanceUpgradeProgressItem `json:"Instances,omitnil,omitempty" name:"Instances"`

	// 集群当前状态
	ClusterStatus *InstanceUpgradeClusterStatus `json:"ClusterStatus,omitnil,omitempty" name:"ClusterStatus"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type HttpGet added in v1.0.254

type HttpGet struct {
	// HttpGet检测的路径
	// 注意:此字段可能返回 null,表示取不到有效值。
	Path *string `json:"Path,omitnil,omitempty" name:"Path"`

	// HttpGet检测的端口号
	// 注意:此字段可能返回 null,表示取不到有效值。
	Port *int64 `json:"Port,omitnil,omitempty" name:"Port"`

	// HTTP or HTTPS
	// 注意:此字段可能返回 null,表示取不到有效值。
	Scheme *string `json:"Scheme,omitnil,omitempty" name:"Scheme"`
}

type IPAddress

type IPAddress struct {
	// Ip 地址的类型。可为 advertise, public 等
	Type *string `json:"Type,omitnil,omitempty" name:"Type"`

	// Ip 地址
	Ip *string `json:"Ip,omitnil,omitempty" name:"Ip"`

	// 网络端口
	Port *uint64 `json:"Port,omitnil,omitempty" name:"Port"`
}

type ImageCache added in v1.0.363

type ImageCache struct {
	// 镜像缓存Id
	ImageCacheId *string `json:"ImageCacheId,omitnil,omitempty" name:"ImageCacheId"`

	// 镜像缓存名称
	ImageCacheName *string `json:"ImageCacheName,omitnil,omitempty" name:"ImageCacheName"`

	// 镜像缓存大小。单位:GiB
	ImageCacheSize *uint64 `json:"ImageCacheSize,omitnil,omitempty" name:"ImageCacheSize"`

	// 镜像缓存包含的镜像列表
	Images []*string `json:"Images,omitnil,omitempty" name:"Images"`

	// 创建时间
	CreationTime *string `json:"CreationTime,omitnil,omitempty" name:"CreationTime"`

	// 到期时间
	ExpireDateTime *string `json:"ExpireDateTime,omitnil,omitempty" name:"ExpireDateTime"`

	// 镜像缓存事件信息
	Events []*ImageCacheEvent `json:"Events,omitnil,omitempty" name:"Events"`

	// 最新一次匹配到镜像缓存的时间
	LastMatchedTime *string `json:"LastMatchedTime,omitnil,omitempty" name:"LastMatchedTime"`

	// 镜像缓存对应的快照Id
	SnapshotId *string `json:"SnapshotId,omitnil,omitempty" name:"SnapshotId"`

	// 镜像缓存状态,可能取值:
	// Pending:创建中
	// Ready:创建完成
	// Failed:创建失败
	// Updating:更新中
	// UpdateFailed:更新失败
	// 只有状态为Ready时,才能正常使用镜像缓存
	Status *string `json:"Status,omitnil,omitempty" name:"Status"`
}

type ImageCacheEvent added in v1.0.363

type ImageCacheEvent struct {
	// 镜像缓存Id
	ImageCacheId *string `json:"ImageCacheId,omitnil,omitempty" name:"ImageCacheId"`

	// 事件类型, Normal或者Warning
	Type *string `json:"Type,omitnil,omitempty" name:"Type"`

	// 事件原因简述
	Reason *string `json:"Reason,omitnil,omitempty" name:"Reason"`

	// 事件原因详述
	Message *string `json:"Message,omitnil,omitempty" name:"Message"`

	// 事件第一次出现时间
	FirstTimestamp *string `json:"FirstTimestamp,omitnil,omitempty" name:"FirstTimestamp"`

	// 事件最后一次出现时间
	LastTimestamp *string `json:"LastTimestamp,omitnil,omitempty" name:"LastTimestamp"`
}

type ImageInstance

type ImageInstance struct {
	// 镜像别名
	// 注意:此字段可能返回 null,表示取不到有效值。
	Alias *string `json:"Alias,omitnil,omitempty" name:"Alias"`

	// 操作系统名称
	// 注意:此字段可能返回 null,表示取不到有效值。
	OsName *string `json:"OsName,omitnil,omitempty" name:"OsName"`

	// 镜像ID
	// 注意:此字段可能返回 null,表示取不到有效值。
	ImageId *string `json:"ImageId,omitnil,omitempty" name:"ImageId"`

	// 容器的镜像版本,"DOCKER_CUSTOMIZE"(容器定制版),"GENERAL"(普通版本,默认值)
	// 注意:此字段可能返回 null,表示取不到有效值。
	OsCustomizeType *string `json:"OsCustomizeType,omitnil,omitempty" name:"OsCustomizeType"`
}

type ImageRegistryCredential added in v1.0.254

type ImageRegistryCredential struct {
	// 镜像仓库地址
	Server *string `json:"Server,omitnil,omitempty" name:"Server"`

	// 用户名
	Username *string `json:"Username,omitnil,omitempty" name:"Username"`

	// 密码
	Password *string `json:"Password,omitnil,omitempty" name:"Password"`

	// ImageRegistryCredential的名字
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`
}

type InstallAddonRequest added in v1.0.684

type InstallAddonRequest struct {
	*tchttp.BaseRequest

	// 集群ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// addon名称
	AddonName *string `json:"AddonName,omitnil,omitempty" name:"AddonName"`

	// addon版本(不传默认安装最新版本)
	AddonVersion *string `json:"AddonVersion,omitnil,omitempty" name:"AddonVersion"`

	// addon的参数,是一个json格式的base64转码后的字符串(addon参数由DescribeAddonValues获取)
	RawValues *string `json:"RawValues,omitnil,omitempty" name:"RawValues"`
}

func NewInstallAddonRequest added in v1.0.684

func NewInstallAddonRequest() (request *InstallAddonRequest)

func (*InstallAddonRequest) FromJsonString added in v1.0.684

func (r *InstallAddonRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*InstallAddonRequest) ToJsonString added in v1.0.684

func (r *InstallAddonRequest) ToJsonString() string

type InstallAddonRequestParams added in v1.0.684

type InstallAddonRequestParams struct {
	// 集群ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// addon名称
	AddonName *string `json:"AddonName,omitnil,omitempty" name:"AddonName"`

	// addon版本(不传默认安装最新版本)
	AddonVersion *string `json:"AddonVersion,omitnil,omitempty" name:"AddonVersion"`

	// addon的参数,是一个json格式的base64转码后的字符串(addon参数由DescribeAddonValues获取)
	RawValues *string `json:"RawValues,omitnil,omitempty" name:"RawValues"`
}

Predefined struct for user

type InstallAddonResponse added in v1.0.684

type InstallAddonResponse struct {
	*tchttp.BaseResponse
	Response *InstallAddonResponseParams `json:"Response"`
}

func NewInstallAddonResponse added in v1.0.684

func NewInstallAddonResponse() (response *InstallAddonResponse)

func (*InstallAddonResponse) FromJsonString added in v1.0.684

func (r *InstallAddonResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*InstallAddonResponse) ToJsonString added in v1.0.684

func (r *InstallAddonResponse) ToJsonString() string

type InstallAddonResponseParams added in v1.0.684

type InstallAddonResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type InstallEdgeLogAgentRequest added in v1.0.450

type InstallEdgeLogAgentRequest struct {
	*tchttp.BaseRequest

	// 集群ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
}

func NewInstallEdgeLogAgentRequest added in v1.0.450

func NewInstallEdgeLogAgentRequest() (request *InstallEdgeLogAgentRequest)

func (*InstallEdgeLogAgentRequest) FromJsonString added in v1.0.450

func (r *InstallEdgeLogAgentRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*InstallEdgeLogAgentRequest) ToJsonString added in v1.0.450

func (r *InstallEdgeLogAgentRequest) ToJsonString() string

type InstallEdgeLogAgentRequestParams added in v1.0.450

type InstallEdgeLogAgentRequestParams struct {
	// 集群ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
}

Predefined struct for user

type InstallEdgeLogAgentResponse added in v1.0.450

type InstallEdgeLogAgentResponse struct {
	*tchttp.BaseResponse
	Response *InstallEdgeLogAgentResponseParams `json:"Response"`
}

func NewInstallEdgeLogAgentResponse added in v1.0.450

func NewInstallEdgeLogAgentResponse() (response *InstallEdgeLogAgentResponse)

func (*InstallEdgeLogAgentResponse) FromJsonString added in v1.0.450

func (r *InstallEdgeLogAgentResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*InstallEdgeLogAgentResponse) ToJsonString added in v1.0.450

func (r *InstallEdgeLogAgentResponse) ToJsonString() string

type InstallEdgeLogAgentResponseParams added in v1.0.450

type InstallEdgeLogAgentResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type InstallLogAgentRequest added in v1.0.401

type InstallLogAgentRequest struct {
	*tchttp.BaseRequest

	// TKE集群ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// kubelet根目录
	KubeletRootDir *string `json:"KubeletRootDir,omitnil,omitempty" name:"KubeletRootDir"`
}

func NewInstallLogAgentRequest added in v1.0.401

func NewInstallLogAgentRequest() (request *InstallLogAgentRequest)

func (*InstallLogAgentRequest) FromJsonString added in v1.0.401

func (r *InstallLogAgentRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*InstallLogAgentRequest) ToJsonString added in v1.0.401

func (r *InstallLogAgentRequest) ToJsonString() string

type InstallLogAgentRequestParams added in v1.0.426

type InstallLogAgentRequestParams struct {
	// TKE集群ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// kubelet根目录
	KubeletRootDir *string `json:"KubeletRootDir,omitnil,omitempty" name:"KubeletRootDir"`
}

Predefined struct for user

type InstallLogAgentResponse added in v1.0.401

type InstallLogAgentResponse struct {
	*tchttp.BaseResponse
	Response *InstallLogAgentResponseParams `json:"Response"`
}

func NewInstallLogAgentResponse added in v1.0.401

func NewInstallLogAgentResponse() (response *InstallLogAgentResponse)

func (*InstallLogAgentResponse) FromJsonString added in v1.0.401

func (r *InstallLogAgentResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*InstallLogAgentResponse) ToJsonString added in v1.0.401

func (r *InstallLogAgentResponse) ToJsonString() string

type InstallLogAgentResponseParams added in v1.0.426

type InstallLogAgentResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type Instance

type Instance struct {
	// 实例ID
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// 节点角色, MASTER, WORKER, ETCD, MASTER_ETCD,ALL, 默认为WORKER
	InstanceRole *string `json:"InstanceRole,omitnil,omitempty" name:"InstanceRole"`

	// 实例异常(或者处于初始化中)的原因
	FailedReason *string `json:"FailedReason,omitnil,omitempty" name:"FailedReason"`

	// 实例的状态(running 运行中,initializing 初始化中,failed 异常)
	InstanceState *string `json:"InstanceState,omitnil,omitempty" name:"InstanceState"`

	// 实例是否封锁状态
	// 注意:此字段可能返回 null,表示取不到有效值。
	DrainStatus *string `json:"DrainStatus,omitnil,omitempty" name:"DrainStatus"`

	// 节点配置
	// 注意:此字段可能返回 null,表示取不到有效值。
	InstanceAdvancedSettings *InstanceAdvancedSettings `json:"InstanceAdvancedSettings,omitnil,omitempty" name:"InstanceAdvancedSettings"`

	// 添加时间
	CreatedTime *string `json:"CreatedTime,omitnil,omitempty" name:"CreatedTime"`

	// 节点内网IP
	// 注意:此字段可能返回 null,表示取不到有效值。
	LanIP *string `json:"LanIP,omitnil,omitempty" name:"LanIP"`

	// 资源池ID
	// 注意:此字段可能返回 null,表示取不到有效值。
	NodePoolId *string `json:"NodePoolId,omitnil,omitempty" name:"NodePoolId"`

	// 自动伸缩组ID
	// 注意:此字段可能返回 null,表示取不到有效值。
	AutoscalingGroupId *string `json:"AutoscalingGroupId,omitnil,omitempty" name:"AutoscalingGroupId"`
}

type InstanceAdvancedSettings

type InstanceAdvancedSettings struct {
	// 该节点属于podCIDR大小自定义模式时,可指定节点上运行的pod数量上限
	// 注意:此字段可能返回 null,表示取不到有效值。
	DesiredPodNumber *int64 `json:"DesiredPodNumber,omitnil,omitempty" name:"DesiredPodNumber"`

	// GPU驱动相关参数,相关的GPU参数获取:https://cloud.tencent.com/document/api/213/15715
	// 注意:此字段可能返回 null,表示取不到有效值。
	GPUArgs *GPUArgs `json:"GPUArgs,omitnil,omitempty" name:"GPUArgs"`

	// base64 编码的用户脚本,在初始化节点之前执行,目前只对添加已有节点生效
	// 注意:此字段可能返回 null,表示取不到有效值。
	PreStartUserScript *string `json:"PreStartUserScript,omitnil,omitempty" name:"PreStartUserScript"`

	// 节点污点
	// 注意:此字段可能返回 null,表示取不到有效值。
	Taints []*Taint `json:"Taints,omitnil,omitempty" name:"Taints"`

	// 数据盘挂载点, 默认不挂载数据盘. 已格式化的 ext3,ext4,xfs 文件系统的数据盘将直接挂载,其他文件系统或未格式化的数据盘将自动格式化为ext4 (tlinux系统格式化成xfs)并挂载,请注意备份数据! 无数据盘或有多块数据盘的云主机此设置不生效。
	// 注意,注意,多盘场景请使用下方的DataDisks数据结构,设置对应的云盘类型、云盘大小、挂载路径、是否格式化等信息。
	// 注意:此字段可能返回 null,表示取不到有效值。
	MountTarget *string `json:"MountTarget,omitnil,omitempty" name:"MountTarget"`

	// dockerd --graph 指定值, 默认为 /var/lib/docker
	// 注意:此字段可能返回 null,表示取不到有效值。
	DockerGraphPath *string `json:"DockerGraphPath,omitnil,omitempty" name:"DockerGraphPath"`

	// base64 编码的用户脚本, 此脚本会在 k8s 组件运行后执行, 需要用户保证脚本的可重入及重试逻辑, 脚本及其生成的日志文件可在节点的 /data/ccs_userscript/ 路径查看, 如果要求节点需要在进行初始化完成后才可加入调度, 可配合 unschedulable 参数使用, 在 userScript 最后初始化完成后, 添加 kubectl uncordon nodename --kubeconfig=/root/.kube/config 命令使节点加入调度
	// 注意:此字段可能返回 null,表示取不到有效值。
	UserScript *string `json:"UserScript,omitnil,omitempty" name:"UserScript"`

	// 设置加入的节点是否参与调度,默认值为0,表示参与调度;非0表示不参与调度, 待节点初始化完成之后, 可执行kubectl uncordon nodename使node加入调度.
	Unschedulable *int64 `json:"Unschedulable,omitnil,omitempty" name:"Unschedulable"`

	// 节点Label数组
	// 注意:此字段可能返回 null,表示取不到有效值。
	Labels []*Label `json:"Labels,omitnil,omitempty" name:"Labels"`

	// 多盘数据盘挂载信息:新建节点时请确保购买CVM的参数传递了购买多个数据盘的信息,如CreateClusterInstances API的RunInstancesPara下的DataDisks也需要设置购买多个数据盘, 具体可以参考CreateClusterInstances接口的添加集群节点(多块数据盘)样例;添加已有节点时,请确保填写的分区信息在节点上真实存在
	// 注意:此字段可能返回 null,表示取不到有效值。
	DataDisks []*DataDisk `json:"DataDisks,omitnil,omitempty" name:"DataDisks"`

	// 节点相关的自定义参数信息
	// 注意:此字段可能返回 null,表示取不到有效值。
	ExtraArgs *InstanceExtraArgs `json:"ExtraArgs,omitnil,omitempty" name:"ExtraArgs"`
}

type InstanceChargePrepaid added in v1.0.759

type InstanceChargePrepaid struct {
	// 购买实例的时长,单位:月。取值范围:1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 24, 36, 48, 60。
	Period *uint64 `json:"Period,omitnil,omitempty" name:"Period"`

	// 自动续费标识。取值范围:
	// NOTIFY_AND_AUTO_RENEW:通知过期且自动续费
	// NOTIFY_AND_MANUAL_RENEW:通知过期不自动续费
	// DISABLE_NOTIFY_AND_MANUAL_RENEW:不通知过期不自动续费
	//
	// 默认取值:NOTIFY_AND_MANUAL_RENEW。若该参数指定为NOTIFY_AND_AUTO_RENEW,在账户余额充足的情况下,实例到期后将按月自动续费。
	RenewFlag *string `json:"RenewFlag,omitnil,omitempty" name:"RenewFlag"`
}

type InstanceDataDiskMountSetting

type InstanceDataDiskMountSetting struct {
	// CVM实例类型
	InstanceType *string `json:"InstanceType,omitnil,omitempty" name:"InstanceType"`

	// 数据盘挂载信息
	DataDisks []*DataDisk `json:"DataDisks,omitnil,omitempty" name:"DataDisks"`

	// CVM实例所属可用区
	Zone *string `json:"Zone,omitnil,omitempty" name:"Zone"`
}

type InstanceExtraArgs

type InstanceExtraArgs struct {
	// kubelet自定义参数,参数格式为["k1=v1", "k1=v2"], 例如["root-dir=/var/lib/kubelet","feature-gates=PodShareProcessNamespace=true,DynamicKubeletConfig=true"]
	// 注意:此字段可能返回 null,表示取不到有效值。
	Kubelet []*string `json:"Kubelet,omitnil,omitempty" name:"Kubelet"`
}

type InstanceUpgradeClusterStatus

type InstanceUpgradeClusterStatus struct {
	// pod总数
	PodTotal *int64 `json:"PodTotal,omitnil,omitempty" name:"PodTotal"`

	// NotReady pod总数
	NotReadyPod *int64 `json:"NotReadyPod,omitnil,omitempty" name:"NotReadyPod"`
}

type InstanceUpgradePreCheckResult

type InstanceUpgradePreCheckResult struct {
	// 检查是否通过
	CheckPass *bool `json:"CheckPass,omitnil,omitempty" name:"CheckPass"`

	// 检查项数组
	Items []*InstanceUpgradePreCheckResultItem `json:"Items,omitnil,omitempty" name:"Items"`

	// 本节点独立pod列表
	SinglePods []*string `json:"SinglePods,omitnil,omitempty" name:"SinglePods"`
}

type InstanceUpgradePreCheckResultItem

type InstanceUpgradePreCheckResultItem struct {
	// 工作负载的命名空间
	Namespace *string `json:"Namespace,omitnil,omitempty" name:"Namespace"`

	// 工作负载类型
	WorkLoadKind *string `json:"WorkLoadKind,omitnil,omitempty" name:"WorkLoadKind"`

	// 工作负载名称
	WorkLoadName *string `json:"WorkLoadName,omitnil,omitempty" name:"WorkLoadName"`

	// 驱逐节点前工作负载running的pod数目
	Before *uint64 `json:"Before,omitnil,omitempty" name:"Before"`

	// 驱逐节点后工作负载running的pod数目
	After *uint64 `json:"After,omitnil,omitempty" name:"After"`

	// 工作负载在本节点上的pod列表
	Pods []*string `json:"Pods,omitnil,omitempty" name:"Pods"`
}

type InstanceUpgradeProgressItem

type InstanceUpgradeProgressItem struct {
	// 节点instanceID
	InstanceID *string `json:"InstanceID,omitnil,omitempty" name:"InstanceID"`

	// 任务生命周期
	// process 运行中
	// paused 已停止
	// pauing 正在停止
	// done  已完成
	// timeout 已超时
	// aborted 已取消
	// pending 还未开始
	LifeState *string `json:"LifeState,omitnil,omitempty" name:"LifeState"`

	// 升级开始时间
	// 注意:此字段可能返回 null,表示取不到有效值。
	StartAt *string `json:"StartAt,omitnil,omitempty" name:"StartAt"`

	// 升级结束时间
	// 注意:此字段可能返回 null,表示取不到有效值。
	EndAt *string `json:"EndAt,omitnil,omitempty" name:"EndAt"`

	// 升级前检查结果
	CheckResult *InstanceUpgradePreCheckResult `json:"CheckResult,omitnil,omitempty" name:"CheckResult"`

	// 升级步骤详情
	Detail []*TaskStepInfo `json:"Detail,omitnil,omitempty" name:"Detail"`
}

type KMSConfiguration added in v1.0.690

type KMSConfiguration struct {
	// kms id
	KeyId *string `json:"KeyId,omitnil,omitempty" name:"KeyId"`

	// kms 地域
	KmsRegion *string `json:"KmsRegion,omitnil,omitempty" name:"KmsRegion"`
}

type KubeJarvisStateCatalogue added in v1.0.657

type KubeJarvisStateCatalogue struct {
	// 目录级别,支持参数:
	// first:一级目录
	// second:二级目录
	// 注意:此字段可能返回 null,表示取不到有效值。
	CatalogueLevel *string `json:"CatalogueLevel,omitnil,omitempty" name:"CatalogueLevel"`

	// 目录名
	// 注意:此字段可能返回 null,表示取不到有效值。
	CatalogueName *string `json:"CatalogueName,omitnil,omitempty" name:"CatalogueName"`
}

type KubeJarvisStateDiagnostic added in v1.0.657

type KubeJarvisStateDiagnostic struct {
	// 诊断开始时间
	// 注意:此字段可能返回 null,表示取不到有效值。
	StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// 诊断结束时间
	// 注意:此字段可能返回 null,表示取不到有效值。
	EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`

	// 诊断目录
	// 注意:此字段可能返回 null,表示取不到有效值。
	Catalogues []*KubeJarvisStateCatalogue `json:"Catalogues,omitnil,omitempty" name:"Catalogues"`

	// 诊断类型
	// 注意:此字段可能返回 null,表示取不到有效值。
	Type *string `json:"Type,omitnil,omitempty" name:"Type"`

	// 诊断名称
	// 注意:此字段可能返回 null,表示取不到有效值。
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// 诊断描述
	// 注意:此字段可能返回 null,表示取不到有效值。
	Desc *string `json:"Desc,omitnil,omitempty" name:"Desc"`

	// 诊断结果列表
	// 注意:此字段可能返回 null,表示取不到有效值。
	Results []*KubeJarvisStateResultsItem `json:"Results,omitnil,omitempty" name:"Results"`

	// 诊断结果统计
	// 注意:此字段可能返回 null,表示取不到有效值。
	Statistics []*KubeJarvisStateStatistic `json:"Statistics,omitnil,omitempty" name:"Statistics"`
}

type KubeJarvisStateDiagnosticOverview added in v1.0.657

type KubeJarvisStateDiagnosticOverview struct {
	// 诊断目录
	// 注意:此字段可能返回 null,表示取不到有效值。
	Catalogues []*KubeJarvisStateCatalogue `json:"Catalogues,omitnil,omitempty" name:"Catalogues"`

	// 诊断结果统计
	// 注意:此字段可能返回 null,表示取不到有效值。
	Statistics []*KubeJarvisStateStatistic `json:"Statistics,omitnil,omitempty" name:"Statistics"`
}

type KubeJarvisStateInspectionOverview added in v1.0.657

type KubeJarvisStateInspectionOverview struct {
	// 集群ID
	// 注意:此字段可能返回 null,表示取不到有效值。
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// 诊断结果统计
	// 注意:此字段可能返回 null,表示取不到有效值。
	Statistics []*KubeJarvisStateStatistic `json:"Statistics,omitnil,omitempty" name:"Statistics"`

	// 诊断结果详情
	// 注意:此字段可能返回 null,表示取不到有效值。
	Diagnostics []*KubeJarvisStateDiagnosticOverview `json:"Diagnostics,omitnil,omitempty" name:"Diagnostics"`
}

type KubeJarvisStateInspectionResult added in v1.0.657

type KubeJarvisStateInspectionResult struct {
	// 集群ID
	// 注意:此字段可能返回 null,表示取不到有效值。
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// 诊断开始时间
	// 注意:此字段可能返回 null,表示取不到有效值。
	StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// 诊断结束时间
	// 注意:此字段可能返回 null,表示取不到有效值。
	EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`

	// 诊断结果统计
	// 注意:此字段可能返回 null,表示取不到有效值。
	Statistics []*KubeJarvisStateStatistic `json:"Statistics,omitnil,omitempty" name:"Statistics"`

	// 诊断结果详情
	// 注意:此字段可能返回 null,表示取不到有效值。
	Diagnostics []*KubeJarvisStateDiagnostic `json:"Diagnostics,omitnil,omitempty" name:"Diagnostics"`

	// 查询巡检报告相关报错
	// 注意:此字段可能返回 null,表示取不到有效值。
	Error *string `json:"Error,omitnil,omitempty" name:"Error"`
}

type KubeJarvisStateInspectionResultsItem added in v1.0.657

type KubeJarvisStateInspectionResultsItem struct {
	// 巡检结果名称
	// 注意:此字段可能返回 null,表示取不到有效值。
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// 诊断结果统计
	// 注意:此字段可能返回 null,表示取不到有效值。
	Statistics []*KubeJarvisStateStatistic `json:"Statistics,omitnil,omitempty" name:"Statistics"`
}

type KubeJarvisStateResultObjInfo added in v1.0.657

type KubeJarvisStateResultObjInfo struct {
	// 对象属性名称
	// 注意:此字段可能返回 null,表示取不到有效值。
	PropertyName *string `json:"PropertyName,omitnil,omitempty" name:"PropertyName"`

	// 对象属性值
	// 注意:此字段可能返回 null,表示取不到有效值。
	PropertyValue *string `json:"PropertyValue,omitnil,omitempty" name:"PropertyValue"`
}

type KubeJarvisStateResultsItem added in v1.0.657

type KubeJarvisStateResultsItem struct {
	// 诊断结果级别
	// 注意:此字段可能返回 null,表示取不到有效值。
	Level *string `json:"Level,omitnil,omitempty" name:"Level"`

	// 诊断对象名
	// 注意:此字段可能返回 null,表示取不到有效值。
	ObjName *string `json:"ObjName,omitnil,omitempty" name:"ObjName"`

	// 诊断对象信息
	// 注意:此字段可能返回 null,表示取不到有效值。
	ObjInfo []*KubeJarvisStateResultObjInfo `json:"ObjInfo,omitnil,omitempty" name:"ObjInfo"`

	// 诊断项标题
	// 注意:此字段可能返回 null,表示取不到有效值。
	Title *string `json:"Title,omitnil,omitempty" name:"Title"`

	// 诊断项描述
	// 注意:此字段可能返回 null,表示取不到有效值。
	Desc *string `json:"Desc,omitnil,omitempty" name:"Desc"`

	// 诊断建议
	// 注意:此字段可能返回 null,表示取不到有效值。
	Proposal *string `json:"Proposal,omitnil,omitempty" name:"Proposal"`

	// 诊断建议文档链接
	// 注意:此字段可能返回 null,表示取不到有效值。
	ProposalDocUrl *string `json:"ProposalDocUrl,omitnil,omitempty" name:"ProposalDocUrl"`

	// 诊断建议文档名称
	// 注意:此字段可能返回 null,表示取不到有效值。
	ProposalDocName *string `json:"ProposalDocName,omitnil,omitempty" name:"ProposalDocName"`
}

type KubeJarvisStateStatistic added in v1.0.657

type KubeJarvisStateStatistic struct {
	// 诊断结果的健康水平
	// 注意:此字段可能返回 null,表示取不到有效值。
	HealthyLevel *string `json:"HealthyLevel,omitnil,omitempty" name:"HealthyLevel"`

	// 诊断结果的统计
	// 注意:此字段可能返回 null,表示取不到有效值。
	Count *int64 `json:"Count,omitnil,omitempty" name:"Count"`
}

type Label

type Label struct {
	// map表中的Name
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// map表中的Value
	Value *string `json:"Value,omitnil,omitempty" name:"Value"`
}

type ListClusterInspectionResultsItemsRequest added in v1.0.657

type ListClusterInspectionResultsItemsRequest struct {
	*tchttp.BaseRequest

	// 目标集群ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// 查询历史结果的开始时间,Unix时间戳
	StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// 查询历史结果的结束时间,默认当前距离开始时间3天,Unix时间戳
	EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`
}

func NewListClusterInspectionResultsItemsRequest added in v1.0.657

func NewListClusterInspectionResultsItemsRequest() (request *ListClusterInspectionResultsItemsRequest)

func (*ListClusterInspectionResultsItemsRequest) FromJsonString added in v1.0.657

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ListClusterInspectionResultsItemsRequest) ToJsonString added in v1.0.657

type ListClusterInspectionResultsItemsRequestParams added in v1.0.657

type ListClusterInspectionResultsItemsRequestParams struct {
	// 目标集群ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// 查询历史结果的开始时间,Unix时间戳
	StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// 查询历史结果的结束时间,默认当前距离开始时间3天,Unix时间戳
	EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`
}

Predefined struct for user

type ListClusterInspectionResultsItemsResponse added in v1.0.657

type ListClusterInspectionResultsItemsResponse struct {
	*tchttp.BaseResponse
	Response *ListClusterInspectionResultsItemsResponseParams `json:"Response"`
}

func NewListClusterInspectionResultsItemsResponse added in v1.0.657

func NewListClusterInspectionResultsItemsResponse() (response *ListClusterInspectionResultsItemsResponse)

func (*ListClusterInspectionResultsItemsResponse) FromJsonString added in v1.0.657

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ListClusterInspectionResultsItemsResponse) ToJsonString added in v1.0.657

type ListClusterInspectionResultsItemsResponseParams added in v1.0.657

type ListClusterInspectionResultsItemsResponseParams struct {
	// 巡检结果历史列表
	// 注意:此字段可能返回 null,表示取不到有效值。
	InspectionResultsItems []*KubeJarvisStateInspectionResultsItem `json:"InspectionResultsItems,omitnil,omitempty" name:"InspectionResultsItems"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ListClusterInspectionResultsRequest added in v1.0.657

type ListClusterInspectionResultsRequest struct {
	*tchttp.BaseRequest

	// 目标集群列表,为空查询用户所有集群
	ClusterIds []*string `json:"ClusterIds,omitnil,omitempty" name:"ClusterIds"`

	// 隐藏的字段信息,为了减少无效的字段返回,隐藏字段不会在返回值中返回。可选值:results
	Hide []*string `json:"Hide,omitnil,omitempty" name:"Hide"`

	// 指定查询结果的报告名称,默认查询最新的每个集群只查询最新的一条
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`
}

func NewListClusterInspectionResultsRequest added in v1.0.657

func NewListClusterInspectionResultsRequest() (request *ListClusterInspectionResultsRequest)

func (*ListClusterInspectionResultsRequest) FromJsonString added in v1.0.657

func (r *ListClusterInspectionResultsRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ListClusterInspectionResultsRequest) ToJsonString added in v1.0.657

func (r *ListClusterInspectionResultsRequest) ToJsonString() string

type ListClusterInspectionResultsRequestParams added in v1.0.657

type ListClusterInspectionResultsRequestParams struct {
	// 目标集群列表,为空查询用户所有集群
	ClusterIds []*string `json:"ClusterIds,omitnil,omitempty" name:"ClusterIds"`

	// 隐藏的字段信息,为了减少无效的字段返回,隐藏字段不会在返回值中返回。可选值:results
	Hide []*string `json:"Hide,omitnil,omitempty" name:"Hide"`

	// 指定查询结果的报告名称,默认查询最新的每个集群只查询最新的一条
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`
}

Predefined struct for user

type ListClusterInspectionResultsResponse added in v1.0.657

type ListClusterInspectionResultsResponse struct {
	*tchttp.BaseResponse
	Response *ListClusterInspectionResultsResponseParams `json:"Response"`
}

func NewListClusterInspectionResultsResponse added in v1.0.657

func NewListClusterInspectionResultsResponse() (response *ListClusterInspectionResultsResponse)

func (*ListClusterInspectionResultsResponse) FromJsonString added in v1.0.657

func (r *ListClusterInspectionResultsResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ListClusterInspectionResultsResponse) ToJsonString added in v1.0.657

func (r *ListClusterInspectionResultsResponse) ToJsonString() string

type ListClusterInspectionResultsResponseParams added in v1.0.657

type ListClusterInspectionResultsResponseParams struct {
	// 集群诊断结果列表
	// 注意:此字段可能返回 null,表示取不到有效值。
	InspectionResults []*KubeJarvisStateInspectionResult `json:"InspectionResults,omitnil,omitempty" name:"InspectionResults"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type LivenessOrReadinessProbe added in v1.0.254

type LivenessOrReadinessProbe struct {
	// 探针参数
	// 注意:此字段可能返回 null,表示取不到有效值。
	Probe *Probe `json:"Probe,omitnil,omitempty" name:"Probe"`

	// HttpGet检测参数
	// 注意:此字段可能返回 null,表示取不到有效值。
	HttpGet *HttpGet `json:"HttpGet,omitnil,omitempty" name:"HttpGet"`

	// 容器内检测命令参数
	// 注意:此字段可能返回 null,表示取不到有效值。
	Exec *Exec `json:"Exec,omitnil,omitempty" name:"Exec"`

	// TcpSocket检测的端口参数
	// 注意:此字段可能返回 null,表示取不到有效值。
	TcpSocket *TcpSocket `json:"TcpSocket,omitnil,omitempty" name:"TcpSocket"`
}

type LoginSettings

type LoginSettings struct {
	// 实例登录密码。不同操作系统类型密码复杂度限制不一样,具体如下:<br><li>Linux实例密码必须8到30位,至少包括两项[a-z],[A-Z]、[0-9] 和 [( ) \` ~ ! @ # $ % ^ & *  - + = | { } [ ] : ; ' , . ? / ]中的特殊符号。<br><li>Windows实例密码必须12到30位,至少包括三项[a-z],[A-Z],[0-9] 和 [( ) \` ~ ! @ # $ % ^ & * - + = | { } [ ] : ; ' , . ? /]中的特殊符号。<br><br>若不指定该参数,则由系统随机生成密码,并通过站内信方式通知到用户。
	// 注意:此字段可能返回 null,表示取不到有效值。
	Password *string `json:"Password,omitnil,omitempty" name:"Password"`

	// 密钥ID列表。关联密钥后,就可以通过对应的私钥来访问实例;KeyId可通过接口[DescribeKeyPairs](https://cloud.tencent.com/document/api/213/15699)获取,密钥与密码不能同时指定,同时Windows操作系统不支持指定密钥。
	// 注意:此字段可能返回 null,表示取不到有效值。
	KeyIds []*string `json:"KeyIds,omitnil,omitempty" name:"KeyIds"`

	// 保持镜像的原始设置。该参数与Password或KeyIds.N不能同时指定。只有使用自定义镜像、共享镜像或外部导入镜像创建实例时才能指定该参数为TRUE。取值范围:<br><li>TRUE:表示保持镜像的登录设置<br><li>FALSE:表示不保持镜像的登录设置<br><br>默认取值:FALSE。
	// 注意:此字段可能返回 null,表示取不到有效值。
	KeepImageLogin *string `json:"KeepImageLogin,omitnil,omitempty" name:"KeepImageLogin"`
}

type ManuallyAdded

type ManuallyAdded struct {
	// 加入中的节点数量
	Joining *int64 `json:"Joining,omitnil,omitempty" name:"Joining"`

	// 初始化中的节点数量
	Initializing *int64 `json:"Initializing,omitnil,omitempty" name:"Initializing"`

	// 正常的节点数量
	Normal *int64 `json:"Normal,omitnil,omitempty" name:"Normal"`

	// 节点总数
	Total *int64 `json:"Total,omitnil,omitempty" name:"Total"`
}

type ModifyClusterAsGroupAttributeRequest

type ModifyClusterAsGroupAttributeRequest struct {
	*tchttp.BaseRequest

	// 集群ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// 集群关联的伸缩组属性
	ClusterAsGroupAttribute *ClusterAsGroupAttribute `json:"ClusterAsGroupAttribute,omitnil,omitempty" name:"ClusterAsGroupAttribute"`
}

func NewModifyClusterAsGroupAttributeRequest

func NewModifyClusterAsGroupAttributeRequest() (request *ModifyClusterAsGroupAttributeRequest)

func (*ModifyClusterAsGroupAttributeRequest) FromJsonString

func (r *ModifyClusterAsGroupAttributeRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyClusterAsGroupAttributeRequest) ToJsonString

func (r *ModifyClusterAsGroupAttributeRequest) ToJsonString() string

type ModifyClusterAsGroupAttributeRequestParams added in v1.0.426

type ModifyClusterAsGroupAttributeRequestParams struct {
	// 集群ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// 集群关联的伸缩组属性
	ClusterAsGroupAttribute *ClusterAsGroupAttribute `json:"ClusterAsGroupAttribute,omitnil,omitempty" name:"ClusterAsGroupAttribute"`
}

Predefined struct for user

type ModifyClusterAsGroupAttributeResponse

type ModifyClusterAsGroupAttributeResponse struct {
	*tchttp.BaseResponse
	Response *ModifyClusterAsGroupAttributeResponseParams `json:"Response"`
}

func NewModifyClusterAsGroupAttributeResponse

func NewModifyClusterAsGroupAttributeResponse() (response *ModifyClusterAsGroupAttributeResponse)

func (*ModifyClusterAsGroupAttributeResponse) FromJsonString

func (r *ModifyClusterAsGroupAttributeResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyClusterAsGroupAttributeResponse) ToJsonString

type ModifyClusterAsGroupAttributeResponseParams added in v1.0.426

type ModifyClusterAsGroupAttributeResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyClusterAsGroupOptionAttributeRequest

type ModifyClusterAsGroupOptionAttributeRequest struct {
	*tchttp.BaseRequest

	// 集群ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// 集群弹性伸缩属性
	ClusterAsGroupOption *ClusterAsGroupOption `json:"ClusterAsGroupOption,omitnil,omitempty" name:"ClusterAsGroupOption"`
}

func NewModifyClusterAsGroupOptionAttributeRequest

func NewModifyClusterAsGroupOptionAttributeRequest() (request *ModifyClusterAsGroupOptionAttributeRequest)

func (*ModifyClusterAsGroupOptionAttributeRequest) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyClusterAsGroupOptionAttributeRequest) ToJsonString

type ModifyClusterAsGroupOptionAttributeRequestParams added in v1.0.426

type ModifyClusterAsGroupOptionAttributeRequestParams struct {
	// 集群ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// 集群弹性伸缩属性
	ClusterAsGroupOption *ClusterAsGroupOption `json:"ClusterAsGroupOption,omitnil,omitempty" name:"ClusterAsGroupOption"`
}

Predefined struct for user

type ModifyClusterAsGroupOptionAttributeResponse

type ModifyClusterAsGroupOptionAttributeResponse struct {
	*tchttp.BaseResponse
	Response *ModifyClusterAsGroupOptionAttributeResponseParams `json:"Response"`
}

func NewModifyClusterAsGroupOptionAttributeResponse

func NewModifyClusterAsGroupOptionAttributeResponse() (response *ModifyClusterAsGroupOptionAttributeResponse)

func (*ModifyClusterAsGroupOptionAttributeResponse) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyClusterAsGroupOptionAttributeResponse) ToJsonString

type ModifyClusterAsGroupOptionAttributeResponseParams added in v1.0.426

type ModifyClusterAsGroupOptionAttributeResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyClusterAttributeRequest

type ModifyClusterAttributeRequest struct {
	*tchttp.BaseRequest

	// 集群ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// 集群所属项目
	ProjectId *int64 `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// 集群名称
	ClusterName *string `json:"ClusterName,omitnil,omitempty" name:"ClusterName"`

	// 集群描述
	ClusterDesc *string `json:"ClusterDesc,omitnil,omitempty" name:"ClusterDesc"`

	// 集群等级
	ClusterLevel *string `json:"ClusterLevel,omitnil,omitempty" name:"ClusterLevel"`

	// 自动变配集群等级
	AutoUpgradeClusterLevel *AutoUpgradeClusterLevel `json:"AutoUpgradeClusterLevel,omitnil,omitempty" name:"AutoUpgradeClusterLevel"`

	// 是否开启QGPU共享
	QGPUShareEnable *bool `json:"QGPUShareEnable,omitnil,omitempty" name:"QGPUShareEnable"`

	// 集群属性
	ClusterProperty *ClusterProperty `json:"ClusterProperty,omitnil,omitempty" name:"ClusterProperty"`
}

func NewModifyClusterAttributeRequest

func NewModifyClusterAttributeRequest() (request *ModifyClusterAttributeRequest)

func (*ModifyClusterAttributeRequest) FromJsonString

func (r *ModifyClusterAttributeRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyClusterAttributeRequest) ToJsonString

func (r *ModifyClusterAttributeRequest) ToJsonString() string

type ModifyClusterAttributeRequestParams added in v1.0.426

type ModifyClusterAttributeRequestParams struct {
	// 集群ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// 集群所属项目
	ProjectId *int64 `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// 集群名称
	ClusterName *string `json:"ClusterName,omitnil,omitempty" name:"ClusterName"`

	// 集群描述
	ClusterDesc *string `json:"ClusterDesc,omitnil,omitempty" name:"ClusterDesc"`

	// 集群等级
	ClusterLevel *string `json:"ClusterLevel,omitnil,omitempty" name:"ClusterLevel"`

	// 自动变配集群等级
	AutoUpgradeClusterLevel *AutoUpgradeClusterLevel `json:"AutoUpgradeClusterLevel,omitnil,omitempty" name:"AutoUpgradeClusterLevel"`

	// 是否开启QGPU共享
	QGPUShareEnable *bool `json:"QGPUShareEnable,omitnil,omitempty" name:"QGPUShareEnable"`

	// 集群属性
	ClusterProperty *ClusterProperty `json:"ClusterProperty,omitnil,omitempty" name:"ClusterProperty"`
}

Predefined struct for user

type ModifyClusterAttributeResponse

type ModifyClusterAttributeResponse struct {
	*tchttp.BaseResponse
	Response *ModifyClusterAttributeResponseParams `json:"Response"`
}

func NewModifyClusterAttributeResponse

func NewModifyClusterAttributeResponse() (response *ModifyClusterAttributeResponse)

func (*ModifyClusterAttributeResponse) FromJsonString

func (r *ModifyClusterAttributeResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyClusterAttributeResponse) ToJsonString

func (r *ModifyClusterAttributeResponse) ToJsonString() string

type ModifyClusterAttributeResponseParams added in v1.0.426

type ModifyClusterAttributeResponseParams struct {
	// 集群所属项目
	// 注意:此字段可能返回 null,表示取不到有效值。
	ProjectId *int64 `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// 集群名称
	// 注意:此字段可能返回 null,表示取不到有效值。
	ClusterName *string `json:"ClusterName,omitnil,omitempty" name:"ClusterName"`

	// 集群描述
	// 注意:此字段可能返回 null,表示取不到有效值。
	ClusterDesc *string `json:"ClusterDesc,omitnil,omitempty" name:"ClusterDesc"`

	// 集群等级
	// 注意:此字段可能返回 null,表示取不到有效值。
	ClusterLevel *string `json:"ClusterLevel,omitnil,omitempty" name:"ClusterLevel"`

	// 自动变配集群等级
	// 注意:此字段可能返回 null,表示取不到有效值。
	AutoUpgradeClusterLevel *AutoUpgradeClusterLevel `json:"AutoUpgradeClusterLevel,omitnil,omitempty" name:"AutoUpgradeClusterLevel"`

	// 是否开启QGPU共享
	// 注意:此字段可能返回 null,表示取不到有效值。
	QGPUShareEnable *bool `json:"QGPUShareEnable,omitnil,omitempty" name:"QGPUShareEnable"`

	// 集群属性
	// 注意:此字段可能返回 null,表示取不到有效值。
	ClusterProperty *ClusterProperty `json:"ClusterProperty,omitnil,omitempty" name:"ClusterProperty"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyClusterAuthenticationOptionsRequest added in v1.0.264

type ModifyClusterAuthenticationOptionsRequest struct {
	*tchttp.BaseRequest

	// 集群ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// ServiceAccount认证配置
	ServiceAccounts *ServiceAccountAuthenticationOptions `json:"ServiceAccounts,omitnil,omitempty" name:"ServiceAccounts"`

	// OIDC认证配置
	OIDCConfig *OIDCConfigAuthenticationOptions `json:"OIDCConfig,omitnil,omitempty" name:"OIDCConfig"`
}

func NewModifyClusterAuthenticationOptionsRequest added in v1.0.264

func NewModifyClusterAuthenticationOptionsRequest() (request *ModifyClusterAuthenticationOptionsRequest)

func (*ModifyClusterAuthenticationOptionsRequest) FromJsonString added in v1.0.264

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyClusterAuthenticationOptionsRequest) ToJsonString added in v1.0.264

type ModifyClusterAuthenticationOptionsRequestParams added in v1.0.426

type ModifyClusterAuthenticationOptionsRequestParams struct {
	// 集群ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// ServiceAccount认证配置
	ServiceAccounts *ServiceAccountAuthenticationOptions `json:"ServiceAccounts,omitnil,omitempty" name:"ServiceAccounts"`

	// OIDC认证配置
	OIDCConfig *OIDCConfigAuthenticationOptions `json:"OIDCConfig,omitnil,omitempty" name:"OIDCConfig"`
}

Predefined struct for user

type ModifyClusterAuthenticationOptionsResponse added in v1.0.264

type ModifyClusterAuthenticationOptionsResponse struct {
	*tchttp.BaseResponse
	Response *ModifyClusterAuthenticationOptionsResponseParams `json:"Response"`
}

func NewModifyClusterAuthenticationOptionsResponse added in v1.0.264

func NewModifyClusterAuthenticationOptionsResponse() (response *ModifyClusterAuthenticationOptionsResponse)

func (*ModifyClusterAuthenticationOptionsResponse) FromJsonString added in v1.0.264

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyClusterAuthenticationOptionsResponse) ToJsonString added in v1.0.264

type ModifyClusterAuthenticationOptionsResponseParams added in v1.0.426

type ModifyClusterAuthenticationOptionsResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyClusterEndpointSPRequest

type ModifyClusterEndpointSPRequest struct {
	*tchttp.BaseRequest

	// 集群ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// 安全策略放通单个IP或CIDR(例如: "192.168.1.0/24",默认为拒绝所有)
	SecurityPolicies []*string `json:"SecurityPolicies,omitnil,omitempty" name:"SecurityPolicies"`

	// 修改外网访问安全组
	SecurityGroup *string `json:"SecurityGroup,omitnil,omitempty" name:"SecurityGroup"`
}

func NewModifyClusterEndpointSPRequest

func NewModifyClusterEndpointSPRequest() (request *ModifyClusterEndpointSPRequest)

func (*ModifyClusterEndpointSPRequest) FromJsonString

func (r *ModifyClusterEndpointSPRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyClusterEndpointSPRequest) ToJsonString

func (r *ModifyClusterEndpointSPRequest) ToJsonString() string

type ModifyClusterEndpointSPRequestParams added in v1.0.426

type ModifyClusterEndpointSPRequestParams struct {
	// 集群ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// 安全策略放通单个IP或CIDR(例如: "192.168.1.0/24",默认为拒绝所有)
	SecurityPolicies []*string `json:"SecurityPolicies,omitnil,omitempty" name:"SecurityPolicies"`

	// 修改外网访问安全组
	SecurityGroup *string `json:"SecurityGroup,omitnil,omitempty" name:"SecurityGroup"`
}

Predefined struct for user

type ModifyClusterEndpointSPResponse

type ModifyClusterEndpointSPResponse struct {
	*tchttp.BaseResponse
	Response *ModifyClusterEndpointSPResponseParams `json:"Response"`
}

func NewModifyClusterEndpointSPResponse

func NewModifyClusterEndpointSPResponse() (response *ModifyClusterEndpointSPResponse)

func (*ModifyClusterEndpointSPResponse) FromJsonString

func (r *ModifyClusterEndpointSPResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyClusterEndpointSPResponse) ToJsonString

func (r *ModifyClusterEndpointSPResponse) ToJsonString() string

type ModifyClusterEndpointSPResponseParams added in v1.0.426

type ModifyClusterEndpointSPResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyClusterNodePoolRequest

type ModifyClusterNodePoolRequest struct {
	*tchttp.BaseRequest

	// 集群ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// 节点池ID
	NodePoolId *string `json:"NodePoolId,omitnil,omitempty" name:"NodePoolId"`

	// 名称
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// 最大节点数
	MaxNodesNum *int64 `json:"MaxNodesNum,omitnil,omitempty" name:"MaxNodesNum"`

	// 最小节点数
	MinNodesNum *int64 `json:"MinNodesNum,omitnil,omitempty" name:"MinNodesNum"`

	// 标签
	Labels []*Label `json:"Labels,omitnil,omitempty" name:"Labels"`

	// 污点
	Taints []*Taint `json:"Taints,omitnil,omitempty" name:"Taints"`

	// 节点 Annotation 列表
	Annotations []*AnnotationValue `json:"Annotations,omitnil,omitempty" name:"Annotations"`

	// 是否开启伸缩
	EnableAutoscale *bool `json:"EnableAutoscale,omitnil,omitempty" name:"EnableAutoscale"`

	// 操作系统名称
	OsName *string `json:"OsName,omitnil,omitempty" name:"OsName"`

	// 镜像版本,"DOCKER_CUSTOMIZE"(容器定制版),"GENERAL"(普通版本,默认值)
	OsCustomizeType *string `json:"OsCustomizeType,omitnil,omitempty" name:"OsCustomizeType"`

	// GPU驱动版本,CUDA版本,cuDNN版本以及是否启用MIG特性
	GPUArgs *GPUArgs `json:"GPUArgs,omitnil,omitempty" name:"GPUArgs"`

	// base64编码后的自定义脚本
	UserScript *string `json:"UserScript,omitnil,omitempty" name:"UserScript"`

	// 更新label和taint时忽略存量节点
	IgnoreExistedNode *bool `json:"IgnoreExistedNode,omitnil,omitempty" name:"IgnoreExistedNode"`

	// 节点自定义参数
	ExtraArgs *InstanceExtraArgs `json:"ExtraArgs,omitnil,omitempty" name:"ExtraArgs"`

	// 资源标签
	Tags []*Tag `json:"Tags,omitnil,omitempty" name:"Tags"`

	// 设置加入的节点是否参与调度,默认值为0,表示参与调度;非0表示不参与调度, 待节点初始化完成之后, 可执行kubectl uncordon nodename使node加入调度.
	Unschedulable *int64 `json:"Unschedulable,omitnil,omitempty" name:"Unschedulable"`

	// 删除保护开关
	DeletionProtection *bool `json:"DeletionProtection,omitnil,omitempty" name:"DeletionProtection"`

	// dockerd --graph 指定值, 默认为 /var/lib/docker
	DockerGraphPath *string `json:"DockerGraphPath,omitnil,omitempty" name:"DockerGraphPath"`

	// base64编码后的自定义脚本
	PreStartUserScript *string `json:"PreStartUserScript,omitnil,omitempty" name:"PreStartUserScript"`
}

func NewModifyClusterNodePoolRequest

func NewModifyClusterNodePoolRequest() (request *ModifyClusterNodePoolRequest)

func (*ModifyClusterNodePoolRequest) FromJsonString

func (r *ModifyClusterNodePoolRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyClusterNodePoolRequest) ToJsonString

func (r *ModifyClusterNodePoolRequest) ToJsonString() string

type ModifyClusterNodePoolRequestParams added in v1.0.426

type ModifyClusterNodePoolRequestParams struct {
	// 集群ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// 节点池ID
	NodePoolId *string `json:"NodePoolId,omitnil,omitempty" name:"NodePoolId"`

	// 名称
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// 最大节点数
	MaxNodesNum *int64 `json:"MaxNodesNum,omitnil,omitempty" name:"MaxNodesNum"`

	// 最小节点数
	MinNodesNum *int64 `json:"MinNodesNum,omitnil,omitempty" name:"MinNodesNum"`

	// 标签
	Labels []*Label `json:"Labels,omitnil,omitempty" name:"Labels"`

	// 污点
	Taints []*Taint `json:"Taints,omitnil,omitempty" name:"Taints"`

	// 节点 Annotation 列表
	Annotations []*AnnotationValue `json:"Annotations,omitnil,omitempty" name:"Annotations"`

	// 是否开启伸缩
	EnableAutoscale *bool `json:"EnableAutoscale,omitnil,omitempty" name:"EnableAutoscale"`

	// 操作系统名称
	OsName *string `json:"OsName,omitnil,omitempty" name:"OsName"`

	// 镜像版本,"DOCKER_CUSTOMIZE"(容器定制版),"GENERAL"(普通版本,默认值)
	OsCustomizeType *string `json:"OsCustomizeType,omitnil,omitempty" name:"OsCustomizeType"`

	// GPU驱动版本,CUDA版本,cuDNN版本以及是否启用MIG特性
	GPUArgs *GPUArgs `json:"GPUArgs,omitnil,omitempty" name:"GPUArgs"`

	// base64编码后的自定义脚本
	UserScript *string `json:"UserScript,omitnil,omitempty" name:"UserScript"`

	// 更新label和taint时忽略存量节点
	IgnoreExistedNode *bool `json:"IgnoreExistedNode,omitnil,omitempty" name:"IgnoreExistedNode"`

	// 节点自定义参数
	ExtraArgs *InstanceExtraArgs `json:"ExtraArgs,omitnil,omitempty" name:"ExtraArgs"`

	// 资源标签
	Tags []*Tag `json:"Tags,omitnil,omitempty" name:"Tags"`

	// 设置加入的节点是否参与调度,默认值为0,表示参与调度;非0表示不参与调度, 待节点初始化完成之后, 可执行kubectl uncordon nodename使node加入调度.
	Unschedulable *int64 `json:"Unschedulable,omitnil,omitempty" name:"Unschedulable"`

	// 删除保护开关
	DeletionProtection *bool `json:"DeletionProtection,omitnil,omitempty" name:"DeletionProtection"`

	// dockerd --graph 指定值, 默认为 /var/lib/docker
	DockerGraphPath *string `json:"DockerGraphPath,omitnil,omitempty" name:"DockerGraphPath"`

	// base64编码后的自定义脚本
	PreStartUserScript *string `json:"PreStartUserScript,omitnil,omitempty" name:"PreStartUserScript"`
}

Predefined struct for user

type ModifyClusterNodePoolResponse

type ModifyClusterNodePoolResponse struct {
	*tchttp.BaseResponse
	Response *ModifyClusterNodePoolResponseParams `json:"Response"`
}

func NewModifyClusterNodePoolResponse

func NewModifyClusterNodePoolResponse() (response *ModifyClusterNodePoolResponse)

func (*ModifyClusterNodePoolResponse) FromJsonString

func (r *ModifyClusterNodePoolResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyClusterNodePoolResponse) ToJsonString

func (r *ModifyClusterNodePoolResponse) ToJsonString() string

type ModifyClusterNodePoolResponseParams added in v1.0.426

type ModifyClusterNodePoolResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyClusterRuntimeConfigRequest added in v1.0.900

type ModifyClusterRuntimeConfigRequest struct {
	*tchttp.BaseRequest

	// 集群ID,必填
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// 当需要修改运行时版本是根据另外的K8S版本获取时,需填写。例如升级校验有冲突后修改场景
	DstK8SVersion *string `json:"DstK8SVersion,omitnil,omitempty" name:"DstK8SVersion"`

	// 需要修改集群运行时时填写
	ClusterRuntimeConfig *RuntimeConfig `json:"ClusterRuntimeConfig,omitnil,omitempty" name:"ClusterRuntimeConfig"`

	// 需要修改节点池运行时时,填需要修改的部分
	NodePoolRuntimeConfig []*NodePoolRuntime `json:"NodePoolRuntimeConfig,omitnil,omitempty" name:"NodePoolRuntimeConfig"`
}

func NewModifyClusterRuntimeConfigRequest added in v1.0.900

func NewModifyClusterRuntimeConfigRequest() (request *ModifyClusterRuntimeConfigRequest)

func (*ModifyClusterRuntimeConfigRequest) FromJsonString added in v1.0.900

func (r *ModifyClusterRuntimeConfigRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyClusterRuntimeConfigRequest) ToJsonString added in v1.0.900

func (r *ModifyClusterRuntimeConfigRequest) ToJsonString() string

type ModifyClusterRuntimeConfigRequestParams added in v1.0.900

type ModifyClusterRuntimeConfigRequestParams struct {
	// 集群ID,必填
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// 当需要修改运行时版本是根据另外的K8S版本获取时,需填写。例如升级校验有冲突后修改场景
	DstK8SVersion *string `json:"DstK8SVersion,omitnil,omitempty" name:"DstK8SVersion"`

	// 需要修改集群运行时时填写
	ClusterRuntimeConfig *RuntimeConfig `json:"ClusterRuntimeConfig,omitnil,omitempty" name:"ClusterRuntimeConfig"`

	// 需要修改节点池运行时时,填需要修改的部分
	NodePoolRuntimeConfig []*NodePoolRuntime `json:"NodePoolRuntimeConfig,omitnil,omitempty" name:"NodePoolRuntimeConfig"`
}

Predefined struct for user

type ModifyClusterRuntimeConfigResponse added in v1.0.900

type ModifyClusterRuntimeConfigResponse struct {
	*tchttp.BaseResponse
	Response *ModifyClusterRuntimeConfigResponseParams `json:"Response"`
}

func NewModifyClusterRuntimeConfigResponse added in v1.0.900

func NewModifyClusterRuntimeConfigResponse() (response *ModifyClusterRuntimeConfigResponse)

func (*ModifyClusterRuntimeConfigResponse) FromJsonString added in v1.0.900

func (r *ModifyClusterRuntimeConfigResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyClusterRuntimeConfigResponse) ToJsonString added in v1.0.900

func (r *ModifyClusterRuntimeConfigResponse) ToJsonString() string

type ModifyClusterRuntimeConfigResponseParams added in v1.0.900

type ModifyClusterRuntimeConfigResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyClusterVirtualNodePoolRequest added in v1.0.575

type ModifyClusterVirtualNodePoolRequest struct {
	*tchttp.BaseRequest

	// 集群ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// 节点池ID
	NodePoolId *string `json:"NodePoolId,omitnil,omitempty" name:"NodePoolId"`

	// 节点池名称
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// 安全组ID列表
	SecurityGroupIds []*string `json:"SecurityGroupIds,omitnil,omitempty" name:"SecurityGroupIds"`

	// 虚拟节点label
	Labels []*Label `json:"Labels,omitnil,omitempty" name:"Labels"`

	// 虚拟节点taint
	Taints []*Taint `json:"Taints,omitnil,omitempty" name:"Taints"`

	// 删除保护开关
	DeletionProtection *bool `json:"DeletionProtection,omitnil,omitempty" name:"DeletionProtection"`
}

func NewModifyClusterVirtualNodePoolRequest added in v1.0.575

func NewModifyClusterVirtualNodePoolRequest() (request *ModifyClusterVirtualNodePoolRequest)

func (*ModifyClusterVirtualNodePoolRequest) FromJsonString added in v1.0.575

func (r *ModifyClusterVirtualNodePoolRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyClusterVirtualNodePoolRequest) ToJsonString added in v1.0.575

func (r *ModifyClusterVirtualNodePoolRequest) ToJsonString() string

type ModifyClusterVirtualNodePoolRequestParams added in v1.0.575

type ModifyClusterVirtualNodePoolRequestParams struct {
	// 集群ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// 节点池ID
	NodePoolId *string `json:"NodePoolId,omitnil,omitempty" name:"NodePoolId"`

	// 节点池名称
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// 安全组ID列表
	SecurityGroupIds []*string `json:"SecurityGroupIds,omitnil,omitempty" name:"SecurityGroupIds"`

	// 虚拟节点label
	Labels []*Label `json:"Labels,omitnil,omitempty" name:"Labels"`

	// 虚拟节点taint
	Taints []*Taint `json:"Taints,omitnil,omitempty" name:"Taints"`

	// 删除保护开关
	DeletionProtection *bool `json:"DeletionProtection,omitnil,omitempty" name:"DeletionProtection"`
}

Predefined struct for user

type ModifyClusterVirtualNodePoolResponse added in v1.0.575

type ModifyClusterVirtualNodePoolResponse struct {
	*tchttp.BaseResponse
	Response *ModifyClusterVirtualNodePoolResponseParams `json:"Response"`
}

func NewModifyClusterVirtualNodePoolResponse added in v1.0.575

func NewModifyClusterVirtualNodePoolResponse() (response *ModifyClusterVirtualNodePoolResponse)

func (*ModifyClusterVirtualNodePoolResponse) FromJsonString added in v1.0.575

func (r *ModifyClusterVirtualNodePoolResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyClusterVirtualNodePoolResponse) ToJsonString added in v1.0.575

func (r *ModifyClusterVirtualNodePoolResponse) ToJsonString() string

type ModifyClusterVirtualNodePoolResponseParams added in v1.0.575

type ModifyClusterVirtualNodePoolResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyNodePoolDesiredCapacityAboutAsgRequest

type ModifyNodePoolDesiredCapacityAboutAsgRequest struct {
	*tchttp.BaseRequest

	// 集群id
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// 节点池id
	NodePoolId *string `json:"NodePoolId,omitnil,omitempty" name:"NodePoolId"`

	// 节点池所关联的伸缩组的期望实例数
	DesiredCapacity *int64 `json:"DesiredCapacity,omitnil,omitempty" name:"DesiredCapacity"`
}

func NewModifyNodePoolDesiredCapacityAboutAsgRequest

func NewModifyNodePoolDesiredCapacityAboutAsgRequest() (request *ModifyNodePoolDesiredCapacityAboutAsgRequest)

func (*ModifyNodePoolDesiredCapacityAboutAsgRequest) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyNodePoolDesiredCapacityAboutAsgRequest) ToJsonString

type ModifyNodePoolDesiredCapacityAboutAsgRequestParams added in v1.0.426

type ModifyNodePoolDesiredCapacityAboutAsgRequestParams struct {
	// 集群id
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// 节点池id
	NodePoolId *string `json:"NodePoolId,omitnil,omitempty" name:"NodePoolId"`

	// 节点池所关联的伸缩组的期望实例数
	DesiredCapacity *int64 `json:"DesiredCapacity,omitnil,omitempty" name:"DesiredCapacity"`
}

Predefined struct for user

type ModifyNodePoolDesiredCapacityAboutAsgResponse

type ModifyNodePoolDesiredCapacityAboutAsgResponse struct {
	*tchttp.BaseResponse
	Response *ModifyNodePoolDesiredCapacityAboutAsgResponseParams `json:"Response"`
}

func NewModifyNodePoolDesiredCapacityAboutAsgResponse

func NewModifyNodePoolDesiredCapacityAboutAsgResponse() (response *ModifyNodePoolDesiredCapacityAboutAsgResponse)

func (*ModifyNodePoolDesiredCapacityAboutAsgResponse) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyNodePoolDesiredCapacityAboutAsgResponse) ToJsonString

type ModifyNodePoolDesiredCapacityAboutAsgResponseParams added in v1.0.426

type ModifyNodePoolDesiredCapacityAboutAsgResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyNodePoolInstanceTypesRequest added in v1.0.234

type ModifyNodePoolInstanceTypesRequest struct {
	*tchttp.BaseRequest

	// 集群id
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// 节点池id
	NodePoolId *string `json:"NodePoolId,omitnil,omitempty" name:"NodePoolId"`

	// 机型列表,主实例机型不支持修改
	InstanceTypes []*string `json:"InstanceTypes,omitnil,omitempty" name:"InstanceTypes"`
}

func NewModifyNodePoolInstanceTypesRequest added in v1.0.234

func NewModifyNodePoolInstanceTypesRequest() (request *ModifyNodePoolInstanceTypesRequest)

func (*ModifyNodePoolInstanceTypesRequest) FromJsonString added in v1.0.234

func (r *ModifyNodePoolInstanceTypesRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyNodePoolInstanceTypesRequest) ToJsonString added in v1.0.234

func (r *ModifyNodePoolInstanceTypesRequest) ToJsonString() string

type ModifyNodePoolInstanceTypesRequestParams added in v1.0.426

type ModifyNodePoolInstanceTypesRequestParams struct {
	// 集群id
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// 节点池id
	NodePoolId *string `json:"NodePoolId,omitnil,omitempty" name:"NodePoolId"`

	// 机型列表,主实例机型不支持修改
	InstanceTypes []*string `json:"InstanceTypes,omitnil,omitempty" name:"InstanceTypes"`
}

Predefined struct for user

type ModifyNodePoolInstanceTypesResponse added in v1.0.234

type ModifyNodePoolInstanceTypesResponse struct {
	*tchttp.BaseResponse
	Response *ModifyNodePoolInstanceTypesResponseParams `json:"Response"`
}

func NewModifyNodePoolInstanceTypesResponse added in v1.0.234

func NewModifyNodePoolInstanceTypesResponse() (response *ModifyNodePoolInstanceTypesResponse)

func (*ModifyNodePoolInstanceTypesResponse) FromJsonString added in v1.0.234

func (r *ModifyNodePoolInstanceTypesResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyNodePoolInstanceTypesResponse) ToJsonString added in v1.0.234

func (r *ModifyNodePoolInstanceTypesResponse) ToJsonString() string

type ModifyNodePoolInstanceTypesResponseParams added in v1.0.426

type ModifyNodePoolInstanceTypesResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyPrometheusAgentExternalLabelsRequest added in v1.0.432

type ModifyPrometheusAgentExternalLabelsRequest struct {
	*tchttp.BaseRequest

	// 实例ID
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// 集群ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// 新的external_labels
	ExternalLabels []*Label `json:"ExternalLabels,omitnil,omitempty" name:"ExternalLabels"`
}

func NewModifyPrometheusAgentExternalLabelsRequest added in v1.0.432

func NewModifyPrometheusAgentExternalLabelsRequest() (request *ModifyPrometheusAgentExternalLabelsRequest)

func (*ModifyPrometheusAgentExternalLabelsRequest) FromJsonString added in v1.0.432

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyPrometheusAgentExternalLabelsRequest) ToJsonString added in v1.0.432

type ModifyPrometheusAgentExternalLabelsRequestParams added in v1.0.432

type ModifyPrometheusAgentExternalLabelsRequestParams struct {
	// 实例ID
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// 集群ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// 新的external_labels
	ExternalLabels []*Label `json:"ExternalLabels,omitnil,omitempty" name:"ExternalLabels"`
}

Predefined struct for user

type ModifyPrometheusAgentExternalLabelsResponse added in v1.0.432

type ModifyPrometheusAgentExternalLabelsResponse struct {
	*tchttp.BaseResponse
	Response *ModifyPrometheusAgentExternalLabelsResponseParams `json:"Response"`
}

func NewModifyPrometheusAgentExternalLabelsResponse added in v1.0.432

func NewModifyPrometheusAgentExternalLabelsResponse() (response *ModifyPrometheusAgentExternalLabelsResponse)

func (*ModifyPrometheusAgentExternalLabelsResponse) FromJsonString added in v1.0.432

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyPrometheusAgentExternalLabelsResponse) ToJsonString added in v1.0.432

type ModifyPrometheusAgentExternalLabelsResponseParams added in v1.0.432

type ModifyPrometheusAgentExternalLabelsResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyPrometheusAlertPolicyRequest added in v1.0.401

type ModifyPrometheusAlertPolicyRequest struct {
	*tchttp.BaseRequest

	// 实例id
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// 告警配置
	AlertRule *PrometheusAlertPolicyItem `json:"AlertRule,omitnil,omitempty" name:"AlertRule"`
}

func NewModifyPrometheusAlertPolicyRequest added in v1.0.401

func NewModifyPrometheusAlertPolicyRequest() (request *ModifyPrometheusAlertPolicyRequest)

func (*ModifyPrometheusAlertPolicyRequest) FromJsonString added in v1.0.401

func (r *ModifyPrometheusAlertPolicyRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyPrometheusAlertPolicyRequest) ToJsonString added in v1.0.401

func (r *ModifyPrometheusAlertPolicyRequest) ToJsonString() string

type ModifyPrometheusAlertPolicyRequestParams added in v1.0.426

type ModifyPrometheusAlertPolicyRequestParams struct {
	// 实例id
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// 告警配置
	AlertRule *PrometheusAlertPolicyItem `json:"AlertRule,omitnil,omitempty" name:"AlertRule"`
}

Predefined struct for user

type ModifyPrometheusAlertPolicyResponse added in v1.0.401

type ModifyPrometheusAlertPolicyResponse struct {
	*tchttp.BaseResponse
	Response *ModifyPrometheusAlertPolicyResponseParams `json:"Response"`
}

func NewModifyPrometheusAlertPolicyResponse added in v1.0.401

func NewModifyPrometheusAlertPolicyResponse() (response *ModifyPrometheusAlertPolicyResponse)

func (*ModifyPrometheusAlertPolicyResponse) FromJsonString added in v1.0.401

func (r *ModifyPrometheusAlertPolicyResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyPrometheusAlertPolicyResponse) ToJsonString added in v1.0.401

func (r *ModifyPrometheusAlertPolicyResponse) ToJsonString() string

type ModifyPrometheusAlertPolicyResponseParams added in v1.0.426

type ModifyPrometheusAlertPolicyResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyPrometheusAlertRuleRequest added in v1.0.218

type ModifyPrometheusAlertRuleRequest struct {
	*tchttp.BaseRequest

	// 实例id
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// 告警配置
	AlertRule *PrometheusAlertRuleDetail `json:"AlertRule,omitnil,omitempty" name:"AlertRule"`
}

func NewModifyPrometheusAlertRuleRequest added in v1.0.218

func NewModifyPrometheusAlertRuleRequest() (request *ModifyPrometheusAlertRuleRequest)

func (*ModifyPrometheusAlertRuleRequest) FromJsonString added in v1.0.218

func (r *ModifyPrometheusAlertRuleRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyPrometheusAlertRuleRequest) ToJsonString added in v1.0.218

func (r *ModifyPrometheusAlertRuleRequest) ToJsonString() string

type ModifyPrometheusAlertRuleRequestParams added in v1.0.426

type ModifyPrometheusAlertRuleRequestParams struct {
	// 实例id
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// 告警配置
	AlertRule *PrometheusAlertRuleDetail `json:"AlertRule,omitnil,omitempty" name:"AlertRule"`
}

Predefined struct for user

type ModifyPrometheusAlertRuleResponse added in v1.0.218

type ModifyPrometheusAlertRuleResponse struct {
	*tchttp.BaseResponse
	Response *ModifyPrometheusAlertRuleResponseParams `json:"Response"`
}

func NewModifyPrometheusAlertRuleResponse added in v1.0.218

func NewModifyPrometheusAlertRuleResponse() (response *ModifyPrometheusAlertRuleResponse)

func (*ModifyPrometheusAlertRuleResponse) FromJsonString added in v1.0.218

func (r *ModifyPrometheusAlertRuleResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyPrometheusAlertRuleResponse) ToJsonString added in v1.0.218

func (r *ModifyPrometheusAlertRuleResponse) ToJsonString() string

type ModifyPrometheusAlertRuleResponseParams added in v1.0.426

type ModifyPrometheusAlertRuleResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyPrometheusConfigRequest added in v1.0.432

type ModifyPrometheusConfigRequest struct {
	*tchttp.BaseRequest

	// 实例id
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// 集群类型
	ClusterType *string `json:"ClusterType,omitnil,omitempty" name:"ClusterType"`

	// 集群id
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// ServiceMonitors配置
	ServiceMonitors []*PrometheusConfigItem `json:"ServiceMonitors,omitnil,omitempty" name:"ServiceMonitors"`

	// PodMonitors配置
	PodMonitors []*PrometheusConfigItem `json:"PodMonitors,omitnil,omitempty" name:"PodMonitors"`

	// prometheus原生Job配置
	RawJobs []*PrometheusConfigItem `json:"RawJobs,omitnil,omitempty" name:"RawJobs"`
}

func NewModifyPrometheusConfigRequest added in v1.0.432

func NewModifyPrometheusConfigRequest() (request *ModifyPrometheusConfigRequest)

func (*ModifyPrometheusConfigRequest) FromJsonString added in v1.0.432

func (r *ModifyPrometheusConfigRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyPrometheusConfigRequest) ToJsonString added in v1.0.432

func (r *ModifyPrometheusConfigRequest) ToJsonString() string

type ModifyPrometheusConfigRequestParams added in v1.0.432

type ModifyPrometheusConfigRequestParams struct {
	// 实例id
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// 集群类型
	ClusterType *string `json:"ClusterType,omitnil,omitempty" name:"ClusterType"`

	// 集群id
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// ServiceMonitors配置
	ServiceMonitors []*PrometheusConfigItem `json:"ServiceMonitors,omitnil,omitempty" name:"ServiceMonitors"`

	// PodMonitors配置
	PodMonitors []*PrometheusConfigItem `json:"PodMonitors,omitnil,omitempty" name:"PodMonitors"`

	// prometheus原生Job配置
	RawJobs []*PrometheusConfigItem `json:"RawJobs,omitnil,omitempty" name:"RawJobs"`
}

Predefined struct for user

type ModifyPrometheusConfigResponse added in v1.0.432

type ModifyPrometheusConfigResponse struct {
	*tchttp.BaseResponse
	Response *ModifyPrometheusConfigResponseParams `json:"Response"`
}

func NewModifyPrometheusConfigResponse added in v1.0.432

func NewModifyPrometheusConfigResponse() (response *ModifyPrometheusConfigResponse)

func (*ModifyPrometheusConfigResponse) FromJsonString added in v1.0.432

func (r *ModifyPrometheusConfigResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyPrometheusConfigResponse) ToJsonString added in v1.0.432

func (r *ModifyPrometheusConfigResponse) ToJsonString() string

type ModifyPrometheusConfigResponseParams added in v1.0.432

type ModifyPrometheusConfigResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyPrometheusGlobalNotificationRequest added in v1.0.403

type ModifyPrometheusGlobalNotificationRequest struct {
	*tchttp.BaseRequest

	// 实例ID
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// 告警通知渠道
	Notification *PrometheusNotificationItem `json:"Notification,omitnil,omitempty" name:"Notification"`
}

func NewModifyPrometheusGlobalNotificationRequest added in v1.0.403

func NewModifyPrometheusGlobalNotificationRequest() (request *ModifyPrometheusGlobalNotificationRequest)

func (*ModifyPrometheusGlobalNotificationRequest) FromJsonString added in v1.0.403

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyPrometheusGlobalNotificationRequest) ToJsonString added in v1.0.403

type ModifyPrometheusGlobalNotificationRequestParams added in v1.0.426

type ModifyPrometheusGlobalNotificationRequestParams struct {
	// 实例ID
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// 告警通知渠道
	Notification *PrometheusNotificationItem `json:"Notification,omitnil,omitempty" name:"Notification"`
}

Predefined struct for user

type ModifyPrometheusGlobalNotificationResponse added in v1.0.403

type ModifyPrometheusGlobalNotificationResponse struct {
	*tchttp.BaseResponse
	Response *ModifyPrometheusGlobalNotificationResponseParams `json:"Response"`
}

func NewModifyPrometheusGlobalNotificationResponse added in v1.0.403

func NewModifyPrometheusGlobalNotificationResponse() (response *ModifyPrometheusGlobalNotificationResponse)

func (*ModifyPrometheusGlobalNotificationResponse) FromJsonString added in v1.0.403

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyPrometheusGlobalNotificationResponse) ToJsonString added in v1.0.403

type ModifyPrometheusGlobalNotificationResponseParams added in v1.0.426

type ModifyPrometheusGlobalNotificationResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyPrometheusRecordRuleYamlRequest added in v1.0.432

type ModifyPrometheusRecordRuleYamlRequest struct {
	*tchttp.BaseRequest

	// 实例id
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// 聚合实例名称
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// 新的内容
	Content *string `json:"Content,omitnil,omitempty" name:"Content"`
}

func NewModifyPrometheusRecordRuleYamlRequest added in v1.0.432

func NewModifyPrometheusRecordRuleYamlRequest() (request *ModifyPrometheusRecordRuleYamlRequest)

func (*ModifyPrometheusRecordRuleYamlRequest) FromJsonString added in v1.0.432

func (r *ModifyPrometheusRecordRuleYamlRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyPrometheusRecordRuleYamlRequest) ToJsonString added in v1.0.432

type ModifyPrometheusRecordRuleYamlRequestParams added in v1.0.432

type ModifyPrometheusRecordRuleYamlRequestParams struct {
	// 实例id
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// 聚合实例名称
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// 新的内容
	Content *string `json:"Content,omitnil,omitempty" name:"Content"`
}

Predefined struct for user

type ModifyPrometheusRecordRuleYamlResponse added in v1.0.432

type ModifyPrometheusRecordRuleYamlResponse struct {
	*tchttp.BaseResponse
	Response *ModifyPrometheusRecordRuleYamlResponseParams `json:"Response"`
}

func NewModifyPrometheusRecordRuleYamlResponse added in v1.0.432

func NewModifyPrometheusRecordRuleYamlResponse() (response *ModifyPrometheusRecordRuleYamlResponse)

func (*ModifyPrometheusRecordRuleYamlResponse) FromJsonString added in v1.0.432

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyPrometheusRecordRuleYamlResponse) ToJsonString added in v1.0.432

type ModifyPrometheusRecordRuleYamlResponseParams added in v1.0.432

type ModifyPrometheusRecordRuleYamlResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyPrometheusTempRequest added in v1.0.402

type ModifyPrometheusTempRequest struct {
	*tchttp.BaseRequest

	// 模板ID
	TemplateId *string `json:"TemplateId,omitnil,omitempty" name:"TemplateId"`

	// 修改内容
	Template *PrometheusTempModify `json:"Template,omitnil,omitempty" name:"Template"`
}

func NewModifyPrometheusTempRequest added in v1.0.402

func NewModifyPrometheusTempRequest() (request *ModifyPrometheusTempRequest)

func (*ModifyPrometheusTempRequest) FromJsonString added in v1.0.402

func (r *ModifyPrometheusTempRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyPrometheusTempRequest) ToJsonString added in v1.0.402

func (r *ModifyPrometheusTempRequest) ToJsonString() string

type ModifyPrometheusTempRequestParams added in v1.0.426

type ModifyPrometheusTempRequestParams struct {
	// 模板ID
	TemplateId *string `json:"TemplateId,omitnil,omitempty" name:"TemplateId"`

	// 修改内容
	Template *PrometheusTempModify `json:"Template,omitnil,omitempty" name:"Template"`
}

Predefined struct for user

type ModifyPrometheusTempResponse added in v1.0.402

type ModifyPrometheusTempResponse struct {
	*tchttp.BaseResponse
	Response *ModifyPrometheusTempResponseParams `json:"Response"`
}

func NewModifyPrometheusTempResponse added in v1.0.402

func NewModifyPrometheusTempResponse() (response *ModifyPrometheusTempResponse)

func (*ModifyPrometheusTempResponse) FromJsonString added in v1.0.402

func (r *ModifyPrometheusTempResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyPrometheusTempResponse) ToJsonString added in v1.0.402

func (r *ModifyPrometheusTempResponse) ToJsonString() string

type ModifyPrometheusTempResponseParams added in v1.0.426

type ModifyPrometheusTempResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyPrometheusTemplateRequest

type ModifyPrometheusTemplateRequest struct {
	*tchttp.BaseRequest

	// 模板ID
	TemplateId *string `json:"TemplateId,omitnil,omitempty" name:"TemplateId"`

	// 修改内容
	Template *PrometheusTemplateModify `json:"Template,omitnil,omitempty" name:"Template"`
}

func NewModifyPrometheusTemplateRequest

func NewModifyPrometheusTemplateRequest() (request *ModifyPrometheusTemplateRequest)

func (*ModifyPrometheusTemplateRequest) FromJsonString

func (r *ModifyPrometheusTemplateRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyPrometheusTemplateRequest) ToJsonString

func (r *ModifyPrometheusTemplateRequest) ToJsonString() string

type ModifyPrometheusTemplateRequestParams added in v1.0.426

type ModifyPrometheusTemplateRequestParams struct {
	// 模板ID
	TemplateId *string `json:"TemplateId,omitnil,omitempty" name:"TemplateId"`

	// 修改内容
	Template *PrometheusTemplateModify `json:"Template,omitnil,omitempty" name:"Template"`
}

Predefined struct for user

type ModifyPrometheusTemplateResponse

type ModifyPrometheusTemplateResponse struct {
	*tchttp.BaseResponse
	Response *ModifyPrometheusTemplateResponseParams `json:"Response"`
}

func NewModifyPrometheusTemplateResponse

func NewModifyPrometheusTemplateResponse() (response *ModifyPrometheusTemplateResponse)

func (*ModifyPrometheusTemplateResponse) FromJsonString

func (r *ModifyPrometheusTemplateResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyPrometheusTemplateResponse) ToJsonString

func (r *ModifyPrometheusTemplateResponse) ToJsonString() string

type ModifyPrometheusTemplateResponseParams added in v1.0.426

type ModifyPrometheusTemplateResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyReservedInstanceScopeRequest added in v1.0.759

type ModifyReservedInstanceScopeRequest struct {
	*tchttp.BaseRequest

	// 预留券唯一 ID
	ReservedInstanceIds []*string `json:"ReservedInstanceIds,omitnil,omitempty" name:"ReservedInstanceIds"`

	// 预留券抵扣范围信息
	ReservedInstanceScope *ReservedInstanceScope `json:"ReservedInstanceScope,omitnil,omitempty" name:"ReservedInstanceScope"`
}

func NewModifyReservedInstanceScopeRequest added in v1.0.759

func NewModifyReservedInstanceScopeRequest() (request *ModifyReservedInstanceScopeRequest)

func (*ModifyReservedInstanceScopeRequest) FromJsonString added in v1.0.759

func (r *ModifyReservedInstanceScopeRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyReservedInstanceScopeRequest) ToJsonString added in v1.0.759

func (r *ModifyReservedInstanceScopeRequest) ToJsonString() string

type ModifyReservedInstanceScopeRequestParams added in v1.0.759

type ModifyReservedInstanceScopeRequestParams struct {
	// 预留券唯一 ID
	ReservedInstanceIds []*string `json:"ReservedInstanceIds,omitnil,omitempty" name:"ReservedInstanceIds"`

	// 预留券抵扣范围信息
	ReservedInstanceScope *ReservedInstanceScope `json:"ReservedInstanceScope,omitnil,omitempty" name:"ReservedInstanceScope"`
}

Predefined struct for user

type ModifyReservedInstanceScopeResponse added in v1.0.759

type ModifyReservedInstanceScopeResponse struct {
	*tchttp.BaseResponse
	Response *ModifyReservedInstanceScopeResponseParams `json:"Response"`
}

func NewModifyReservedInstanceScopeResponse added in v1.0.759

func NewModifyReservedInstanceScopeResponse() (response *ModifyReservedInstanceScopeResponse)

func (*ModifyReservedInstanceScopeResponse) FromJsonString added in v1.0.759

func (r *ModifyReservedInstanceScopeResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyReservedInstanceScopeResponse) ToJsonString added in v1.0.759

func (r *ModifyReservedInstanceScopeResponse) ToJsonString() string

type ModifyReservedInstanceScopeResponseParams added in v1.0.759

type ModifyReservedInstanceScopeResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type NfsVolume added in v1.0.254

type NfsVolume struct {
	// nfs volume 数据卷名称
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// NFS 服务器地址
	Server *string `json:"Server,omitnil,omitempty" name:"Server"`

	// NFS 数据卷路径
	Path *string `json:"Path,omitnil,omitempty" name:"Path"`

	// 默认为 False
	ReadOnly *bool `json:"ReadOnly,omitnil,omitempty" name:"ReadOnly"`
}

type NodeCountSummary

type NodeCountSummary struct {
	// 手动管理的节点
	// 注意:此字段可能返回 null,表示取不到有效值。
	ManuallyAdded *ManuallyAdded `json:"ManuallyAdded,omitnil,omitempty" name:"ManuallyAdded"`

	// 自动管理的节点
	// 注意:此字段可能返回 null,表示取不到有效值。
	AutoscalingAdded *AutoscalingAdded `json:"AutoscalingAdded,omitnil,omitempty" name:"AutoscalingAdded"`
}

type NodePool

type NodePool struct {
	// NodePoolId 资源池id
	NodePoolId *string `json:"NodePoolId,omitnil,omitempty" name:"NodePoolId"`

	// Name 资源池名称
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// ClusterInstanceId 集群实例id
	ClusterInstanceId *string `json:"ClusterInstanceId,omitnil,omitempty" name:"ClusterInstanceId"`

	// LifeState 状态,当前节点池生命周期状态包括:creating,normal,updating,deleting,deleted
	LifeState *string `json:"LifeState,omitnil,omitempty" name:"LifeState"`

	// LaunchConfigurationId 配置
	LaunchConfigurationId *string `json:"LaunchConfigurationId,omitnil,omitempty" name:"LaunchConfigurationId"`

	// AutoscalingGroupId 分组id
	AutoscalingGroupId *string `json:"AutoscalingGroupId,omitnil,omitempty" name:"AutoscalingGroupId"`

	// Labels 标签
	Labels []*Label `json:"Labels,omitnil,omitempty" name:"Labels"`

	// Taints 污点标记
	Taints []*Taint `json:"Taints,omitnil,omitempty" name:"Taints"`

	// 节点 Annotation 列表
	Annotations []*AnnotationValue `json:"Annotations,omitnil,omitempty" name:"Annotations"`

	// NodeCountSummary 节点列表
	NodeCountSummary *NodeCountSummary `json:"NodeCountSummary,omitnil,omitempty" name:"NodeCountSummary"`

	// 状态信息
	// 注意:此字段可能返回 null,表示取不到有效值。
	AutoscalingGroupStatus *string `json:"AutoscalingGroupStatus,omitnil,omitempty" name:"AutoscalingGroupStatus"`

	// 最大节点数量
	// 注意:此字段可能返回 null,表示取不到有效值。
	MaxNodesNum *int64 `json:"MaxNodesNum,omitnil,omitempty" name:"MaxNodesNum"`

	// 最小节点数量
	// 注意:此字段可能返回 null,表示取不到有效值。
	MinNodesNum *int64 `json:"MinNodesNum,omitnil,omitempty" name:"MinNodesNum"`

	// 期望的节点数量
	// 注意:此字段可能返回 null,表示取不到有效值。
	DesiredNodesNum *int64 `json:"DesiredNodesNum,omitnil,omitempty" name:"DesiredNodesNum"`

	// 运行时描述
	// 注意:此字段可能返回 null,表示取不到有效值。
	RuntimeConfig *RuntimeConfig `json:"RuntimeConfig,omitnil,omitempty" name:"RuntimeConfig"`

	// 节点池osName
	// 注意:此字段可能返回 null,表示取不到有效值。
	NodePoolOs *string `json:"NodePoolOs,omitnil,omitempty" name:"NodePoolOs"`

	// 容器的镜像版本,"DOCKER_CUSTOMIZE"(容器定制版),"GENERAL"(普通版本,默认值)
	// 注意:此字段可能返回 null,表示取不到有效值。
	OsCustomizeType *string `json:"OsCustomizeType,omitnil,omitempty" name:"OsCustomizeType"`

	// 镜像id
	// 注意:此字段可能返回 null,表示取不到有效值。
	ImageId *string `json:"ImageId,omitnil,omitempty" name:"ImageId"`

	// 集群属于节点podCIDR大小自定义模式时,节点池需要带上pod数量属性
	// 注意:此字段可能返回 null,表示取不到有效值。
	DesiredPodNum *int64 `json:"DesiredPodNum,omitnil,omitempty" name:"DesiredPodNum"`

	// 用户自定义脚本
	// 注意:此字段可能返回 null,表示取不到有效值。
	UserScript *string `json:"UserScript,omitnil,omitempty" name:"UserScript"`

	// 资源标签
	// 注意:此字段可能返回 null,表示取不到有效值。
	Tags []*Tag `json:"Tags,omitnil,omitempty" name:"Tags"`

	// 删除保护开关
	// 注意:此字段可能返回 null,表示取不到有效值。
	DeletionProtection *bool `json:"DeletionProtection,omitnil,omitempty" name:"DeletionProtection"`

	// 节点配置
	// 注意:此字段可能返回 null,表示取不到有效值。
	ExtraArgs *InstanceExtraArgs `json:"ExtraArgs,omitnil,omitempty" name:"ExtraArgs"`

	// GPU驱动相关参数
	// 注意:此字段可能返回 null,表示取不到有效值。
	GPUArgs *GPUArgs `json:"GPUArgs,omitnil,omitempty" name:"GPUArgs"`

	// dockerd --graph 指定值, 默认为 /var/lib/docker
	// 注意:此字段可能返回 null,表示取不到有效值。
	DockerGraphPath *string `json:"DockerGraphPath,omitnil,omitempty" name:"DockerGraphPath"`

	// 多盘数据盘挂载信息:新建节点时请确保购买CVM的参数传递了购买多个数据盘的信息,如CreateClusterInstances API的RunInstancesPara下的DataDisks也需要设置购买多个数据盘, 具体可以参考CreateClusterInstances接口的添加集群节点(多块数据盘)样例;添加已有节点时,请确保填写的分区信息在节点上真实存在
	// 注意:此字段可能返回 null,表示取不到有效值。
	DataDisks []*DataDisk `json:"DataDisks,omitnil,omitempty" name:"DataDisks"`

	// 是否不可调度
	// 注意:此字段可能返回 null,表示取不到有效值。
	Unschedulable *int64 `json:"Unschedulable,omitnil,omitempty" name:"Unschedulable"`

	// 用户自定义脚本,在UserScript前执行
	// 注意:此字段可能返回 null,表示取不到有效值。
	PreStartUserScript *string `json:"PreStartUserScript,omitnil,omitempty" name:"PreStartUserScript"`
}

type NodePoolOption

type NodePoolOption struct {
	// 是否加入节点池
	AddToNodePool *bool `json:"AddToNodePool,omitnil,omitempty" name:"AddToNodePool"`

	// 节点池id
	NodePoolId *string `json:"NodePoolId,omitnil,omitempty" name:"NodePoolId"`

	// 是否继承节点池相关配置
	InheritConfigurationFromNodePool *bool `json:"InheritConfigurationFromNodePool,omitnil,omitempty" name:"InheritConfigurationFromNodePool"`
}

type NodePoolRuntime added in v1.0.900

type NodePoolRuntime struct {
	// 节点池ID
	// 注意:此字段可能返回 null,表示取不到有效值。
	NodePoolId *string `json:"NodePoolId,omitnil,omitempty" name:"NodePoolId"`

	// 运行时类型
	// 注意:此字段可能返回 null,表示取不到有效值。
	RuntimeType *string `json:"RuntimeType,omitnil,omitempty" name:"RuntimeType"`

	// 运行时版本
	// 注意:此字段可能返回 null,表示取不到有效值。
	RuntimeVersion *string `json:"RuntimeVersion,omitnil,omitempty" name:"RuntimeVersion"`

	// 节点池名称
	// 注意:此字段可能返回 null,表示取不到有效值。
	NodePoolName *string `json:"NodePoolName,omitnil,omitempty" name:"NodePoolName"`
}

type OIDCConfigAuthenticationOptions added in v1.0.516

type OIDCConfigAuthenticationOptions struct {
	// 创建身份提供商
	// 注意:此字段可能返回 null,表示取不到有效值。
	AutoCreateOIDCConfig *bool `json:"AutoCreateOIDCConfig,omitnil,omitempty" name:"AutoCreateOIDCConfig"`

	// 创建身份提供商的ClientId
	// 注意:此字段可能返回 null,表示取不到有效值。
	AutoCreateClientId []*string `json:"AutoCreateClientId,omitnil,omitempty" name:"AutoCreateClientId"`

	// 创建PodIdentityWebhook组件
	// 注意:此字段可能返回 null,表示取不到有效值。
	AutoInstallPodIdentityWebhookAddon *bool `json:"AutoInstallPodIdentityWebhookAddon,omitnil,omitempty" name:"AutoInstallPodIdentityWebhookAddon"`
}

type OptionalRuntimes added in v1.0.900

type OptionalRuntimes struct {
	// 运行时类型
	// 注意:此字段可能返回 null,表示取不到有效值。
	RuntimeType *string `json:"RuntimeType,omitnil,omitempty" name:"RuntimeType"`

	// 运行时版本列表
	// 注意:此字段可能返回 null,表示取不到有效值。
	RuntimeVersions []*string `json:"RuntimeVersions,omitnil,omitempty" name:"RuntimeVersions"`

	// 该类型的默认运行时版本
	// 注意:此字段可能返回 null,表示取不到有效值。
	DefaultVersion *string `json:"DefaultVersion,omitnil,omitempty" name:"DefaultVersion"`
}

type PendingRelease added in v1.0.550

type PendingRelease struct {
	// 应用状态详情
	// 注意:此字段可能返回 null,表示取不到有效值。
	Condition *string `json:"Condition,omitnil,omitempty" name:"Condition"`

	// 创建时间
	// 注意:此字段可能返回 null,表示取不到有效值。
	CreatedTime *string `json:"CreatedTime,omitnil,omitempty" name:"CreatedTime"`

	// 应用ID
	// 注意:此字段可能返回 null,表示取不到有效值。
	ID *string `json:"ID,omitnil,omitempty" name:"ID"`

	// 应用名称
	// 注意:此字段可能返回 null,表示取不到有效值。
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// 应用命名空间
	// 注意:此字段可能返回 null,表示取不到有效值。
	Namespace *string `json:"Namespace,omitnil,omitempty" name:"Namespace"`

	// 应用状态
	// 注意:此字段可能返回 null,表示取不到有效值。
	Status *string `json:"Status,omitnil,omitempty" name:"Status"`

	// 更新时间
	// 注意:此字段可能返回 null,表示取不到有效值。
	UpdatedTime *string `json:"UpdatedTime,omitnil,omitempty" name:"UpdatedTime"`
}

type PodDeductionRate added in v1.0.759

type PodDeductionRate struct {
	// Pod的 CPU
	// 注意:此字段可能返回 null,表示取不到有效值。
	Cpu *float64 `json:"Cpu,omitnil,omitempty" name:"Cpu"`

	// Pod 的内存
	// 注意:此字段可能返回 null,表示取不到有效值。
	Memory *float64 `json:"Memory,omitnil,omitempty" name:"Memory"`

	//  Pod 的类型
	// 注意:此字段可能返回 null,表示取不到有效值。
	Type *string `json:"Type,omitnil,omitempty" name:"Type"`

	//  Pod 的 GPU 卡数,Pod 类型为 GPU 时有效。
	// 注意:此字段可能返回 null,表示取不到有效值。
	GpuNum *string `json:"GpuNum,omitnil,omitempty" name:"GpuNum"`

	// 这种规格的 Pod总数
	// 注意:此字段可能返回 null,表示取不到有效值。
	TotalNum *uint64 `json:"TotalNum,omitnil,omitempty" name:"TotalNum"`

	// 这种规格的 Pod被预留券抵扣的数量
	// 注意:此字段可能返回 null,表示取不到有效值。
	DeductionNum *uint64 `json:"DeductionNum,omitnil,omitempty" name:"DeductionNum"`
}

type PodLimitsByType added in v1.0.217

type PodLimitsByType struct {
	// TKE共享网卡非固定IP模式可支持的Pod数量
	// 注意:此字段可能返回 null,表示取不到有效值。
	TKERouteENINonStaticIP *int64 `json:"TKERouteENINonStaticIP,omitnil,omitempty" name:"TKERouteENINonStaticIP"`

	// TKE共享网卡固定IP模式可支持的Pod数量
	// 注意:此字段可能返回 null,表示取不到有效值。
	TKERouteENIStaticIP *int64 `json:"TKERouteENIStaticIP,omitnil,omitempty" name:"TKERouteENIStaticIP"`

	// TKE独立网卡模式可支持的Pod数量
	// 注意:此字段可能返回 null,表示取不到有效值。
	TKEDirectENI *int64 `json:"TKEDirectENI,omitnil,omitempty" name:"TKEDirectENI"`

	// TKE中继网卡模式可支持的Pod数量
	// 注意:此字段可能返回 null,表示取不到有效值。
	TKESubENI *int64 `json:"TKESubENI,omitnil,omitempty" name:"TKESubENI"`
}

type PodLimitsInstance added in v1.0.217

type PodLimitsInstance struct {
	// 机型所在可用区
	// 注意:此字段可能返回 null,表示取不到有效值。
	Zone *string `json:"Zone,omitnil,omitempty" name:"Zone"`

	// 机型所属机型族
	// 注意:此字段可能返回 null,表示取不到有效值。
	InstanceFamily *string `json:"InstanceFamily,omitnil,omitempty" name:"InstanceFamily"`

	// 实例机型名称
	// 注意:此字段可能返回 null,表示取不到有效值。
	InstanceType *string `json:"InstanceType,omitnil,omitempty" name:"InstanceType"`

	// 机型可支持的最大VPC-CNI模式Pod数量信息
	// 注意:此字段可能返回 null,表示取不到有效值。
	PodLimits *PodLimitsByType `json:"PodLimits,omitnil,omitempty" name:"PodLimits"`
}

type PodNodeInfo added in v1.0.759

type PodNodeInfo struct {
	// 集群 ID
	// 注意:此字段可能返回 null,表示取不到有效值。
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	//  节点名称
	// 注意:此字段可能返回 null,表示取不到有效值。
	NodeName *string `json:"NodeName,omitnil,omitempty" name:"NodeName"`

	// 可用区
	// 注意:此字段可能返回 null,表示取不到有效值。
	Zone *string `json:"Zone,omitnil,omitempty" name:"Zone"`

	// 命名空间
	// 注意:此字段可能返回 null,表示取不到有效值。
	Namespace *string `json:"Namespace,omitnil,omitempty" name:"Namespace"`

	//  Pod 名称
	// 注意:此字段可能返回 null,表示取不到有效值。
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`
}

type Probe added in v1.0.254

type Probe struct {
	// Number of seconds after the container has started before liveness probes are initiated.
	// 注意:此字段可能返回 null,表示取不到有效值。
	InitialDelaySeconds *int64 `json:"InitialDelaySeconds,omitnil,omitempty" name:"InitialDelaySeconds"`

	// Number of seconds after which the probe times out.
	// Defaults to 1 second. Minimum value is 1.
	// 注意:此字段可能返回 null,表示取不到有效值。
	TimeoutSeconds *int64 `json:"TimeoutSeconds,omitnil,omitempty" name:"TimeoutSeconds"`

	// How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.
	// 注意:此字段可能返回 null,表示取不到有效值。
	PeriodSeconds *int64 `json:"PeriodSeconds,omitnil,omitempty" name:"PeriodSeconds"`

	// Minimum consecutive successes for the probe to be considered successful after having failed.Defaults to 1. Must be 1 for liveness. Minimum value is 1.
	// 注意:此字段可能返回 null,表示取不到有效值。
	SuccessThreshold *int64 `json:"SuccessThreshold,omitnil,omitempty" name:"SuccessThreshold"`

	// Minimum consecutive failures for the probe to be considered failed after having succeeded.Defaults to 3. Minimum value is 1.
	// 注意:此字段可能返回 null,表示取不到有效值。
	FailureThreshold *int64 `json:"FailureThreshold,omitnil,omitempty" name:"FailureThreshold"`
}

type PrometheusAgentInfo added in v1.0.480

type PrometheusAgentInfo struct {
	// 集群类型
	ClusterType *string `json:"ClusterType,omitnil,omitempty" name:"ClusterType"`

	// 集群id
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// 备注
	Describe *string `json:"Describe,omitnil,omitempty" name:"Describe"`
}

type PrometheusAgentOverview

type PrometheusAgentOverview struct {
	// 集群类型
	ClusterType *string `json:"ClusterType,omitnil,omitempty" name:"ClusterType"`

	// 集群id
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// agent状态
	// normal = 正常
	// abnormal = 异常
	Status *string `json:"Status,omitnil,omitempty" name:"Status"`

	// 集群名称
	ClusterName *string `json:"ClusterName,omitnil,omitempty" name:"ClusterName"`

	// 额外labels
	// 本集群的所有指标都会带上这几个label
	// 注意:此字段可能返回 null,表示取不到有效值。
	ExternalLabels []*Label `json:"ExternalLabels,omitnil,omitempty" name:"ExternalLabels"`

	// 集群所在地域
	// 注意:此字段可能返回 null,表示取不到有效值。
	Region *string `json:"Region,omitnil,omitempty" name:"Region"`

	// 集群所在VPC ID
	// 注意:此字段可能返回 null,表示取不到有效值。
	VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"`

	// 记录关联等操作的失败信息
	// 注意:此字段可能返回 null,表示取不到有效值。
	FailedReason *string `json:"FailedReason,omitnil,omitempty" name:"FailedReason"`
}

type PrometheusAlertHistoryItem

type PrometheusAlertHistoryItem struct {
	// 告警名称
	RuleName *string `json:"RuleName,omitnil,omitempty" name:"RuleName"`

	// 告警开始时间
	StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// 告警内容
	Content *string `json:"Content,omitnil,omitempty" name:"Content"`

	// 告警状态
	// 注意:此字段可能返回 null,表示取不到有效值。
	State *string `json:"State,omitnil,omitempty" name:"State"`

	// 触发的规则名称
	// 注意:此字段可能返回 null,表示取不到有效值。
	RuleItem *string `json:"RuleItem,omitnil,omitempty" name:"RuleItem"`

	// 告警渠道的id
	// 注意:此字段可能返回 null,表示取不到有效值。
	TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"`

	// 告警渠道的名称
	// 注意:此字段可能返回 null,表示取不到有效值。
	TopicName *string `json:"TopicName,omitnil,omitempty" name:"TopicName"`
}

type PrometheusAlertManagerConfig added in v1.0.403

type PrometheusAlertManagerConfig struct {
	// alertmanager url
	Url *string `json:"Url,omitnil,omitempty" name:"Url"`

	// alertmanager部署所在集群类型
	// 注意:此字段可能返回 null,表示取不到有效值。
	ClusterType *string `json:"ClusterType,omitnil,omitempty" name:"ClusterType"`

	// alertmanager部署所在集群ID
	// 注意:此字段可能返回 null,表示取不到有效值。
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
}

type PrometheusAlertPolicyItem added in v1.0.403

type PrometheusAlertPolicyItem struct {
	// 策略名称
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// 规则列表
	Rules []*PrometheusAlertRule `json:"Rules,omitnil,omitempty" name:"Rules"`

	// 告警策略 id
	// 注意:此字段可能返回 null,表示取不到有效值。
	Id *string `json:"Id,omitnil,omitempty" name:"Id"`

	// 如果该告警来自模板下发,则TemplateId为模板id
	// 注意:此字段可能返回 null,表示取不到有效值。
	TemplateId *string `json:"TemplateId,omitnil,omitempty" name:"TemplateId"`

	// 告警渠道,模板中使用可能返回null
	// 注意:此字段可能返回 null,表示取不到有效值。
	Notification *PrometheusNotificationItem `json:"Notification,omitnil,omitempty" name:"Notification"`

	// 最后修改时间
	// 注意:此字段可能返回 null,表示取不到有效值。
	UpdatedAt *string `json:"UpdatedAt,omitnil,omitempty" name:"UpdatedAt"`

	// 如果告警策略来源于用户集群CRD资源定义,则ClusterId为所属集群ID
	// 注意:此字段可能返回 null,表示取不到有效值。
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
}

type PrometheusAlertRule

type PrometheusAlertRule struct {
	// 规则名称
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// prometheus语句
	Rule *string `json:"Rule,omitnil,omitempty" name:"Rule"`

	// 额外标签
	Labels []*Label `json:"Labels,omitnil,omitempty" name:"Labels"`

	// 告警发送模板
	Template *string `json:"Template,omitnil,omitempty" name:"Template"`

	// 持续时间
	For *string `json:"For,omitnil,omitempty" name:"For"`

	// 该条规则的描述信息
	// 注意:此字段可能返回 null,表示取不到有效值。
	Describe *string `json:"Describe,omitnil,omitempty" name:"Describe"`

	// 参考prometheus rule中的annotations
	// 注意:此字段可能返回 null,表示取不到有效值。
	Annotations []*Label `json:"Annotations,omitnil,omitempty" name:"Annotations"`

	// 告警规则状态
	// 注意:此字段可能返回 null,表示取不到有效值。
	RuleState *int64 `json:"RuleState,omitnil,omitempty" name:"RuleState"`
}

type PrometheusAlertRuleDetail

type PrometheusAlertRuleDetail struct {
	// 规则名称
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// 规则列表
	Rules []*PrometheusAlertRule `json:"Rules,omitnil,omitempty" name:"Rules"`

	// 最后修改时间
	UpdatedAt *string `json:"UpdatedAt,omitnil,omitempty" name:"UpdatedAt"`

	// 告警渠道
	Notification *PrometheusNotification `json:"Notification,omitnil,omitempty" name:"Notification"`

	// 告警 id
	Id *string `json:"Id,omitnil,omitempty" name:"Id"`

	// 如果该告警来至模板下发,则TemplateId为模板id
	// 注意:此字段可能返回 null,表示取不到有效值。
	TemplateId *string `json:"TemplateId,omitnil,omitempty" name:"TemplateId"`

	// 计算周期
	// 注意:此字段可能返回 null,表示取不到有效值。
	Interval *string `json:"Interval,omitnil,omitempty" name:"Interval"`
}

type PrometheusClusterAgentBasic added in v1.0.434

type PrometheusClusterAgentBasic struct {
	// 集群ID
	Region *string `json:"Region,omitnil,omitempty" name:"Region"`

	// 集群类型
	ClusterType *string `json:"ClusterType,omitnil,omitempty" name:"ClusterType"`

	// 集群ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// 是否开启公网CLB
	EnableExternal *bool `json:"EnableExternal,omitnil,omitempty" name:"EnableExternal"`

	// 集群内部署组件的pod配置
	InClusterPodConfig *PrometheusClusterAgentPodConfig `json:"InClusterPodConfig,omitnil,omitempty" name:"InClusterPodConfig"`

	// 该集群采集的所有指标都会带上这些labels
	ExternalLabels []*Label `json:"ExternalLabels,omitnil,omitempty" name:"ExternalLabels"`

	// 是否安装默认采集配置
	NotInstallBasicScrape *bool `json:"NotInstallBasicScrape,omitnil,omitempty" name:"NotInstallBasicScrape"`

	// 是否采集指标,true代表drop所有指标,false代表采集默认指标
	NotScrape *bool `json:"NotScrape,omitnil,omitempty" name:"NotScrape"`
}

type PrometheusClusterAgentPodConfig added in v1.0.434

type PrometheusClusterAgentPodConfig struct {
	// 是否使用HostNetWork
	HostNet *bool `json:"HostNet,omitnil,omitempty" name:"HostNet"`

	// 指定pod运行节点
	NodeSelector []*Label `json:"NodeSelector,omitnil,omitempty" name:"NodeSelector"`

	// 容忍污点
	Tolerations []*Toleration `json:"Tolerations,omitnil,omitempty" name:"Tolerations"`
}

type PrometheusConfigItem

type PrometheusConfigItem struct {
	// 名称
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// 配置内容
	Config *string `json:"Config,omitnil,omitempty" name:"Config"`

	// 用于出参,如果该配置来至模板,则为模板id
	// 注意:此字段可能返回 null,表示取不到有效值。
	TemplateId *string `json:"TemplateId,omitnil,omitempty" name:"TemplateId"`
}

type PrometheusGrafanaInfo added in v1.0.218

type PrometheusGrafanaInfo struct {
	// 是否启用
	Enabled *bool `json:"Enabled,omitnil,omitempty" name:"Enabled"`

	// 域名,只有开启外网访问才有效果
	Domain *string `json:"Domain,omitnil,omitempty" name:"Domain"`

	// 内网地址,或者外网地址
	Address *string `json:"Address,omitnil,omitempty" name:"Address"`

	// 是否开启了外网访问
	// close = 未开启外网访问
	// opening = 正在开启外网访问
	// open  = 已开启外网访问
	Internet *string `json:"Internet,omitnil,omitempty" name:"Internet"`

	// grafana管理员用户名
	AdminUser *string `json:"AdminUser,omitnil,omitempty" name:"AdminUser"`
}

type PrometheusInstanceOverview

type PrometheusInstanceOverview struct {
	// 实例id
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// 实例名称
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// 实例vpcId
	VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"`

	// 实例子网Id
	SubnetId *string `json:"SubnetId,omitnil,omitempty" name:"SubnetId"`

	// 实例当前的状态
	// prepare_env = 初始化环境
	// install_suit = 安装组件
	// running = 运行中
	Status *string `json:"Status,omitnil,omitempty" name:"Status"`

	// COS桶存储
	COSBucket *string `json:"COSBucket,omitnil,omitempty" name:"COSBucket"`

	// grafana默认地址,如果开启外网访问得为域名,否则为内网地址
	// 注意:此字段可能返回 null,表示取不到有效值。
	GrafanaURL *string `json:"GrafanaURL,omitnil,omitempty" name:"GrafanaURL"`

	// 关联集群总数
	// 注意:此字段可能返回 null,表示取不到有效值。
	BoundTotal *uint64 `json:"BoundTotal,omitnil,omitempty" name:"BoundTotal"`

	// 运行正常的集群数
	// 注意:此字段可能返回 null,表示取不到有效值。
	BoundNormal *uint64 `json:"BoundNormal,omitnil,omitempty" name:"BoundNormal"`
}

type PrometheusInstancesOverview added in v1.0.403

type PrometheusInstancesOverview struct {
	// 实例ID
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// 实例名
	InstanceName *string `json:"InstanceName,omitnil,omitempty" name:"InstanceName"`

	// VPC ID
	VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"`

	// 子网ID
	SubnetId *string `json:"SubnetId,omitnil,omitempty" name:"SubnetId"`

	// 运行状态(1:正在创建;2:运行中;3:异常;4:重启中;5:销毁中; 6:已停机; 7: 已删除)
	InstanceStatus *int64 `json:"InstanceStatus,omitnil,omitempty" name:"InstanceStatus"`

	// 计费状态(1:正常;2:过期; 3:销毁; 4:分配中; 5:分配失败)
	// 注意:此字段可能返回 null,表示取不到有效值。
	ChargeStatus *int64 `json:"ChargeStatus,omitnil,omitempty" name:"ChargeStatus"`

	// 是否开启 Grafana(0:不开启,1:开启)
	EnableGrafana *int64 `json:"EnableGrafana,omitnil,omitempty" name:"EnableGrafana"`

	// Grafana 面板 URL
	// 注意:此字段可能返回 null,表示取不到有效值。
	GrafanaURL *string `json:"GrafanaURL,omitnil,omitempty" name:"GrafanaURL"`

	// 实例付费类型(1:试用版;2:预付费)
	InstanceChargeType *int64 `json:"InstanceChargeType,omitnil,omitempty" name:"InstanceChargeType"`

	// 规格名称
	// 注意:此字段可能返回 null,表示取不到有效值。
	SpecName *string `json:"SpecName,omitnil,omitempty" name:"SpecName"`

	// 存储周期
	// 注意:此字段可能返回 null,表示取不到有效值。
	DataRetentionTime *int64 `json:"DataRetentionTime,omitnil,omitempty" name:"DataRetentionTime"`

	// 购买的实例过期时间
	// 注意:此字段可能返回 null,表示取不到有效值。
	ExpireTime *string `json:"ExpireTime,omitnil,omitempty" name:"ExpireTime"`

	// 自动续费标记(0:不自动续费;1:开启自动续费;2:禁止自动续费;-1:无效)
	// 注意:此字段可能返回 null,表示取不到有效值。
	AutoRenewFlag *int64 `json:"AutoRenewFlag,omitnil,omitempty" name:"AutoRenewFlag"`

	// 绑定集群总数
	BoundTotal *int64 `json:"BoundTotal,omitnil,omitempty" name:"BoundTotal"`

	// 绑定集群正常状态总数
	BoundNormal *int64 `json:"BoundNormal,omitnil,omitempty" name:"BoundNormal"`
}

type PrometheusJobTargets

type PrometheusJobTargets struct {
	// 该Job的targets列表
	Targets []*PrometheusTarget `json:"Targets,omitnil,omitempty" name:"Targets"`

	// job的名称
	JobName *string `json:"JobName,omitnil,omitempty" name:"JobName"`

	// targets总数
	Total *uint64 `json:"Total,omitnil,omitempty" name:"Total"`

	// 健康的target总数
	Up *uint64 `json:"Up,omitnil,omitempty" name:"Up"`
}

type PrometheusNotification

type PrometheusNotification struct {
	// 是否启用
	Enabled *bool `json:"Enabled,omitnil,omitempty" name:"Enabled"`

	// 收敛时间
	RepeatInterval *string `json:"RepeatInterval,omitnil,omitempty" name:"RepeatInterval"`

	// 生效起始时间
	TimeRangeStart *string `json:"TimeRangeStart,omitnil,omitempty" name:"TimeRangeStart"`

	// 生效结束时间
	TimeRangeEnd *string `json:"TimeRangeEnd,omitnil,omitempty" name:"TimeRangeEnd"`

	// 告警通知方式。目前有SMS、EMAIL、CALL、WECHAT方式。
	// 分别代表:短信、邮件、电话、微信
	// 注意:此字段可能返回 null,表示取不到有效值。
	NotifyWay []*string `json:"NotifyWay,omitnil,omitempty" name:"NotifyWay"`

	// 告警接收组(用户组)
	// 注意:此字段可能返回 null,表示取不到有效值。
	ReceiverGroups []*uint64 `json:"ReceiverGroups,omitnil,omitempty" name:"ReceiverGroups"`

	// 电话告警顺序。
	// 注:NotifyWay选择CALL,采用该参数。
	// 注意:此字段可能返回 null,表示取不到有效值。
	PhoneNotifyOrder []*uint64 `json:"PhoneNotifyOrder,omitnil,omitempty" name:"PhoneNotifyOrder"`

	// 电话告警次数。
	// 注:NotifyWay选择CALL,采用该参数。
	// 注意:此字段可能返回 null,表示取不到有效值。
	PhoneCircleTimes *int64 `json:"PhoneCircleTimes,omitnil,omitempty" name:"PhoneCircleTimes"`

	// 电话告警轮内间隔。单位:秒
	// 注:NotifyWay选择CALL,采用该参数。
	// 注意:此字段可能返回 null,表示取不到有效值。
	PhoneInnerInterval *int64 `json:"PhoneInnerInterval,omitnil,omitempty" name:"PhoneInnerInterval"`

	// 电话告警轮外间隔。单位:秒
	// 注:NotifyWay选择CALL,采用该参数。
	// 注意:此字段可能返回 null,表示取不到有效值。
	PhoneCircleInterval *int64 `json:"PhoneCircleInterval,omitnil,omitempty" name:"PhoneCircleInterval"`

	// 电话告警触达通知
	// 注:NotifyWay选择CALL,采用该参数。
	// 注意:此字段可能返回 null,表示取不到有效值。
	PhoneArriveNotice *bool `json:"PhoneArriveNotice,omitnil,omitempty" name:"PhoneArriveNotice"`

	// 通道类型,默认为amp,支持以下
	// amp
	// webhook
	// 注意:此字段可能返回 null,表示取不到有效值。
	Type *string `json:"Type,omitnil,omitempty" name:"Type"`

	// 如果Type为webhook, 则该字段为必填项
	// 注意:此字段可能返回 null,表示取不到有效值。
	WebHook *string `json:"WebHook,omitnil,omitempty" name:"WebHook"`
}

type PrometheusNotificationItem added in v1.0.403

type PrometheusNotificationItem struct {
	// 是否启用
	Enabled *bool `json:"Enabled,omitnil,omitempty" name:"Enabled"`

	// 通道类型,默认为amp,支持以下
	// amp
	// webhook
	// alertmanager
	Type *string `json:"Type,omitnil,omitempty" name:"Type"`

	// 如果Type为webhook, 则该字段为必填项
	// 注意:此字段可能返回 null,表示取不到有效值。
	WebHook *string `json:"WebHook,omitnil,omitempty" name:"WebHook"`

	// 如果Type为alertmanager, 则该字段为必填项
	// 注意:此字段可能返回 null,表示取不到有效值。
	AlertManager *PrometheusAlertManagerConfig `json:"AlertManager,omitnil,omitempty" name:"AlertManager"`

	// 收敛时间
	RepeatInterval *string `json:"RepeatInterval,omitnil,omitempty" name:"RepeatInterval"`

	// 生效起始时间
	TimeRangeStart *string `json:"TimeRangeStart,omitnil,omitempty" name:"TimeRangeStart"`

	// 生效结束时间
	TimeRangeEnd *string `json:"TimeRangeEnd,omitnil,omitempty" name:"TimeRangeEnd"`

	// 告警通知方式。目前有SMS、EMAIL、CALL、WECHAT方式。
	// 注意:此字段可能返回 null,表示取不到有效值。
	NotifyWay []*string `json:"NotifyWay,omitnil,omitempty" name:"NotifyWay"`

	// 告警接收组(用户组)
	// 注意:此字段可能返回 null,表示取不到有效值。
	ReceiverGroups []*string `json:"ReceiverGroups,omitnil,omitempty" name:"ReceiverGroups"`

	// 电话告警顺序。
	// 注:NotifyWay选择CALL,采用该参数。
	// 注意:此字段可能返回 null,表示取不到有效值。
	PhoneNotifyOrder []*uint64 `json:"PhoneNotifyOrder,omitnil,omitempty" name:"PhoneNotifyOrder"`

	// 电话告警次数。
	// 注:NotifyWay选择CALL,采用该参数。
	// 注意:此字段可能返回 null,表示取不到有效值。
	PhoneCircleTimes *int64 `json:"PhoneCircleTimes,omitnil,omitempty" name:"PhoneCircleTimes"`

	// 电话告警轮内间隔。单位:秒
	// 注:NotifyWay选择CALL,采用该参数。
	// 注意:此字段可能返回 null,表示取不到有效值。
	PhoneInnerInterval *int64 `json:"PhoneInnerInterval,omitnil,omitempty" name:"PhoneInnerInterval"`

	// 电话告警轮外间隔。单位:秒
	// 注:NotifyWay选择CALL,采用该参数。
	// 注意:此字段可能返回 null,表示取不到有效值。
	PhoneCircleInterval *int64 `json:"PhoneCircleInterval,omitnil,omitempty" name:"PhoneCircleInterval"`

	// 电话告警触达通知
	// 注:NotifyWay选择CALL,采用该参数。
	// 注意:此字段可能返回 null,表示取不到有效值。
	PhoneArriveNotice *bool `json:"PhoneArriveNotice,omitnil,omitempty" name:"PhoneArriveNotice"`
}

type PrometheusRecordRuleYamlItem added in v1.0.403

type PrometheusRecordRuleYamlItem struct {
	// 实例名称
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// 最近更新时间
	UpdateTime *string `json:"UpdateTime,omitnil,omitempty" name:"UpdateTime"`

	// Yaml内容
	TemplateId *string `json:"TemplateId,omitnil,omitempty" name:"TemplateId"`

	// 如果该聚合规则来至模板,则TemplateId为模板id
	// 注意:此字段可能返回 null,表示取不到有效值。
	Content *string `json:"Content,omitnil,omitempty" name:"Content"`

	// 该聚合规则如果来源于用户集群crd资源定义,则ClusterId为所属集群ID
	// 注意:此字段可能返回 null,表示取不到有效值。
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
}

type PrometheusTarget

type PrometheusTarget struct {
	// 抓取目标的URL
	Url *string `json:"Url,omitnil,omitempty" name:"Url"`

	// target当前状态,当前支持
	// up = 健康
	// down = 不健康
	// unknown = 未知
	State *string `json:"State,omitnil,omitempty" name:"State"`

	// target的元label
	Labels []*Label `json:"Labels,omitnil,omitempty" name:"Labels"`

	// 上一次抓取的时间
	LastScrape *string `json:"LastScrape,omitnil,omitempty" name:"LastScrape"`

	// 上一次抓取的耗时,单位是s
	ScrapeDuration *float64 `json:"ScrapeDuration,omitnil,omitempty" name:"ScrapeDuration"`

	// 上一次抓取如果错误,该字段存储错误信息
	Error *string `json:"Error,omitnil,omitempty" name:"Error"`
}

type PrometheusTemp added in v1.0.403

type PrometheusTemp struct {
	// 模板名称
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// 模板维度,支持以下类型
	// instance 实例级别
	// cluster 集群级别
	Level *string `json:"Level,omitnil,omitempty" name:"Level"`

	// 模板描述
	// 注意:此字段可能返回 null,表示取不到有效值。
	Describe *string `json:"Describe,omitnil,omitempty" name:"Describe"`

	// 当Level为instance时有效,
	// 模板中的聚合规则列表
	// 注意:此字段可能返回 null,表示取不到有效值。
	RecordRules []*PrometheusConfigItem `json:"RecordRules,omitnil,omitempty" name:"RecordRules"`

	// 当Level为cluster时有效,
	// 模板中的ServiceMonitor规则列表
	// 注意:此字段可能返回 null,表示取不到有效值。
	ServiceMonitors []*PrometheusConfigItem `json:"ServiceMonitors,omitnil,omitempty" name:"ServiceMonitors"`

	// 当Level为cluster时有效,
	// 模板中的PodMonitors规则列表
	// 注意:此字段可能返回 null,表示取不到有效值。
	PodMonitors []*PrometheusConfigItem `json:"PodMonitors,omitnil,omitempty" name:"PodMonitors"`

	// 当Level为cluster时有效,
	// 模板中的RawJobs规则列表
	// 注意:此字段可能返回 null,表示取不到有效值。
	RawJobs []*PrometheusConfigItem `json:"RawJobs,omitnil,omitempty" name:"RawJobs"`

	// 模板的ID, 用于出参
	// 注意:此字段可能返回 null,表示取不到有效值。
	TemplateId *string `json:"TemplateId,omitnil,omitempty" name:"TemplateId"`

	// 最近更新时间,用于出参
	// 注意:此字段可能返回 null,表示取不到有效值。
	UpdateTime *string `json:"UpdateTime,omitnil,omitempty" name:"UpdateTime"`

	// 当前版本,用于出参
	// 注意:此字段可能返回 null,表示取不到有效值。
	Version *string `json:"Version,omitnil,omitempty" name:"Version"`

	// 是否系统提供的默认模板,用于出参
	// 注意:此字段可能返回 null,表示取不到有效值。
	IsDefault *bool `json:"IsDefault,omitnil,omitempty" name:"IsDefault"`

	// 当Level为instance时有效,
	// 模板中的告警配置列表
	// 注意:此字段可能返回 null,表示取不到有效值。
	AlertDetailRules []*PrometheusAlertPolicyItem `json:"AlertDetailRules,omitnil,omitempty" name:"AlertDetailRules"`

	// 关联实例数目
	// 注意:此字段可能返回 null,表示取不到有效值。
	TargetsTotal *int64 `json:"TargetsTotal,omitnil,omitempty" name:"TargetsTotal"`
}

type PrometheusTempModify added in v1.0.403

type PrometheusTempModify struct {
	// 修改名称
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// 修改描述
	// 注意:此字段可能返回 null,表示取不到有效值。
	Describe *string `json:"Describe,omitnil,omitempty" name:"Describe"`

	// 当Level为cluster时有效,
	// 模板中的ServiceMonitor规则列表
	// 注意:此字段可能返回 null,表示取不到有效值。
	ServiceMonitors []*PrometheusConfigItem `json:"ServiceMonitors,omitnil,omitempty" name:"ServiceMonitors"`

	// 当Level为cluster时有效,
	// 模板中的PodMonitors规则列表
	// 注意:此字段可能返回 null,表示取不到有效值。
	PodMonitors []*PrometheusConfigItem `json:"PodMonitors,omitnil,omitempty" name:"PodMonitors"`

	// 当Level为cluster时有效,
	// 模板中的RawJobs规则列表
	// 注意:此字段可能返回 null,表示取不到有效值。
	RawJobs []*PrometheusConfigItem `json:"RawJobs,omitnil,omitempty" name:"RawJobs"`

	// 当Level为instance时有效,
	// 模板中的聚合规则列表
	// 注意:此字段可能返回 null,表示取不到有效值。
	RecordRules []*PrometheusConfigItem `json:"RecordRules,omitnil,omitempty" name:"RecordRules"`

	// 修改内容,只有当模板类型是Alert时生效
	// 注意:此字段可能返回 null,表示取不到有效值。
	AlertDetailRules []*PrometheusAlertPolicyItem `json:"AlertDetailRules,omitnil,omitempty" name:"AlertDetailRules"`
}

type PrometheusTemplate

type PrometheusTemplate struct {
	// 模板名称
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// 模板维度,支持以下类型
	// instance 实例级别
	// cluster 集群级别
	Level *string `json:"Level,omitnil,omitempty" name:"Level"`

	// 模板描述
	// 注意:此字段可能返回 null,表示取不到有效值。
	Describe *string `json:"Describe,omitnil,omitempty" name:"Describe"`

	// 当Level为instance时有效,
	// 模板中的告警配置列表
	// 注意:此字段可能返回 null,表示取不到有效值。
	AlertRules []*PrometheusAlertRule `json:"AlertRules,omitnil,omitempty" name:"AlertRules"`

	// 当Level为instance时有效,
	// 模板中的聚合规则列表
	// 注意:此字段可能返回 null,表示取不到有效值。
	RecordRules []*PrometheusConfigItem `json:"RecordRules,omitnil,omitempty" name:"RecordRules"`

	// 当Level为cluster时有效,
	// 模板中的ServiceMonitor规则列表
	// 注意:此字段可能返回 null,表示取不到有效值。
	ServiceMonitors []*PrometheusConfigItem `json:"ServiceMonitors,omitnil,omitempty" name:"ServiceMonitors"`

	// 当Level为cluster时有效,
	// 模板中的PodMonitors规则列表
	// 注意:此字段可能返回 null,表示取不到有效值。
	PodMonitors []*PrometheusConfigItem `json:"PodMonitors,omitnil,omitempty" name:"PodMonitors"`

	// 当Level为cluster时有效,
	// 模板中的RawJobs规则列表
	// 注意:此字段可能返回 null,表示取不到有效值。
	RawJobs []*PrometheusConfigItem `json:"RawJobs,omitnil,omitempty" name:"RawJobs"`

	// 模板的ID, 用于出参
	// 注意:此字段可能返回 null,表示取不到有效值。
	TemplateId *string `json:"TemplateId,omitnil,omitempty" name:"TemplateId"`

	// 最近更新时间,用于出参
	// 注意:此字段可能返回 null,表示取不到有效值。
	UpdateTime *string `json:"UpdateTime,omitnil,omitempty" name:"UpdateTime"`

	// 当前版本,用于出参
	// 注意:此字段可能返回 null,表示取不到有效值。
	Version *string `json:"Version,omitnil,omitempty" name:"Version"`

	// 是否系统提供的默认模板,用于出参
	// 注意:此字段可能返回 null,表示取不到有效值。
	IsDefault *bool `json:"IsDefault,omitnil,omitempty" name:"IsDefault"`

	// 当Level为instance时有效,
	// 模板中的告警配置列表
	// 注意:此字段可能返回 null,表示取不到有效值。
	AlertDetailRules []*PrometheusAlertRuleDetail `json:"AlertDetailRules,omitnil,omitempty" name:"AlertDetailRules"`
}

type PrometheusTemplateModify

type PrometheusTemplateModify struct {
	// 修改名称
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// 修改描述
	// 注意:此字段可能返回 null,表示取不到有效值。
	Describe *string `json:"Describe,omitnil,omitempty" name:"Describe"`

	// 修改内容,只有当模板类型是Alert时生效
	// 注意:此字段可能返回 null,表示取不到有效值。
	AlertRules []*PrometheusAlertRule `json:"AlertRules,omitnil,omitempty" name:"AlertRules"`

	// 当Level为instance时有效,
	// 模板中的聚合规则列表
	// 注意:此字段可能返回 null,表示取不到有效值。
	RecordRules []*PrometheusConfigItem `json:"RecordRules,omitnil,omitempty" name:"RecordRules"`

	// 当Level为cluster时有效,
	// 模板中的ServiceMonitor规则列表
	// 注意:此字段可能返回 null,表示取不到有效值。
	ServiceMonitors []*PrometheusConfigItem `json:"ServiceMonitors,omitnil,omitempty" name:"ServiceMonitors"`

	// 当Level为cluster时有效,
	// 模板中的PodMonitors规则列表
	// 注意:此字段可能返回 null,表示取不到有效值。
	PodMonitors []*PrometheusConfigItem `json:"PodMonitors,omitnil,omitempty" name:"PodMonitors"`

	// 当Level为cluster时有效,
	// 模板中的RawJobs规则列表
	// 注意:此字段可能返回 null,表示取不到有效值。
	RawJobs []*PrometheusConfigItem `json:"RawJobs,omitnil,omitempty" name:"RawJobs"`

	// 修改内容,只有当模板类型是Alert时生效
	// 注意:此字段可能返回 null,表示取不到有效值。
	AlertDetailRules []*PrometheusAlertRuleDetail `json:"AlertDetailRules,omitnil,omitempty" name:"AlertDetailRules"`
}

type PrometheusTemplateSyncTarget

type PrometheusTemplateSyncTarget struct {
	// 目标所在地域
	Region *string `json:"Region,omitnil,omitempty" name:"Region"`

	// 目标实例
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// 集群id,只有当采集模板的Level为cluster的时候需要
	// 注意:此字段可能返回 null,表示取不到有效值。
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// 最后一次同步时间, 用于出参
	// 注意:此字段可能返回 null,表示取不到有效值。
	SyncTime *string `json:"SyncTime,omitnil,omitempty" name:"SyncTime"`

	// 当前使用的模板版本,用于出参
	// 注意:此字段可能返回 null,表示取不到有效值。
	Version *string `json:"Version,omitnil,omitempty" name:"Version"`

	// 集群类型,只有当采集模板的Level为cluster的时候需要
	// 注意:此字段可能返回 null,表示取不到有效值。
	ClusterType *string `json:"ClusterType,omitnil,omitempty" name:"ClusterType"`

	// 用于出参,实例名称
	// 注意:此字段可能返回 null,表示取不到有效值。
	InstanceName *string `json:"InstanceName,omitnil,omitempty" name:"InstanceName"`

	// 用于出参,集群名称
	// 注意:此字段可能返回 null,表示取不到有效值。
	ClusterName *string `json:"ClusterName,omitnil,omitempty" name:"ClusterName"`
}

type RIUtilizationDetail added in v1.0.759

type RIUtilizationDetail struct {
	// 预留券ID
	ReservedInstanceId *string `json:"ReservedInstanceId,omitnil,omitempty" name:"ReservedInstanceId"`

	// Pod唯一ID
	EksId *string `json:"EksId,omitnil,omitempty" name:"EksId"`

	// 集群ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// Pod的名称
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// Pod的命名空间
	Namespace *string `json:"Namespace,omitnil,omitempty" name:"Namespace"`

	// 工作负载类型
	Kind *string `json:"Kind,omitnil,omitempty" name:"Kind"`

	// 工作负载名称
	KindName *string `json:"KindName,omitnil,omitempty" name:"KindName"`

	// Pod的uid
	Uid *string `json:"Uid,omitnil,omitempty" name:"Uid"`

	// 用量开始时间
	StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// 用量结束时间
	EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`

	// 抵扣资源所属产品
	Product *string `json:"Product,omitnil,omitempty" name:"Product"`
}

type RegionInstance

type RegionInstance struct {
	// 地域名称
	// 注意:此字段可能返回 null,表示取不到有效值。
	RegionName *string `json:"RegionName,omitnil,omitempty" name:"RegionName"`

	// 地域ID
	// 注意:此字段可能返回 null,表示取不到有效值。
	RegionId *int64 `json:"RegionId,omitnil,omitempty" name:"RegionId"`

	// 地域状态
	// 注意:此字段可能返回 null,表示取不到有效值。
	Status *string `json:"Status,omitnil,omitempty" name:"Status"`

	// 地域特性开关(按照JSON的形式返回所有属性)
	// 注意:此字段可能返回 null,表示取不到有效值。
	FeatureGates *string `json:"FeatureGates,omitnil,omitempty" name:"FeatureGates"`

	// 地域简称
	// 注意:此字段可能返回 null,表示取不到有效值。
	Alias *string `json:"Alias,omitnil,omitempty" name:"Alias"`

	// 地域白名单
	// 注意:此字段可能返回 null,表示取不到有效值。
	Remark *string `json:"Remark,omitnil,omitempty" name:"Remark"`
}

type Release added in v1.0.554

type Release struct {
	// 应用名称
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// 应用命名空间
	Namespace *string `json:"Namespace,omitnil,omitempty" name:"Namespace"`

	// 应用当前版本
	// 注意:此字段可能返回 null,表示取不到有效值。
	Revision *string `json:"Revision,omitnil,omitempty" name:"Revision"`

	// 应用状态
	// 注意:此字段可能返回 null,表示取不到有效值。
	Status *string `json:"Status,omitnil,omitempty" name:"Status"`

	// 制品名称
	// 注意:此字段可能返回 null,表示取不到有效值。
	ChartName *string `json:"ChartName,omitnil,omitempty" name:"ChartName"`

	// 制品版本
	// 注意:此字段可能返回 null,表示取不到有效值。
	ChartVersion *string `json:"ChartVersion,omitnil,omitempty" name:"ChartVersion"`

	// 制品应用版本
	// 注意:此字段可能返回 null,表示取不到有效值。
	AppVersion *string `json:"AppVersion,omitnil,omitempty" name:"AppVersion"`

	// 更新时间
	// 注意:此字段可能返回 null,表示取不到有效值。
	UpdatedTime *string `json:"UpdatedTime,omitnil,omitempty" name:"UpdatedTime"`

	// 应用描述
	// 注意:此字段可能返回 null,表示取不到有效值。
	Description *string `json:"Description,omitnil,omitempty" name:"Description"`
}

type ReleaseDetails added in v1.0.554

type ReleaseDetails struct {
	// 应用名称
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// 应用所在命名空间
	Namespace *string `json:"Namespace,omitnil,omitempty" name:"Namespace"`

	// 应用当前版本
	// 注意:此字段可能返回 null,表示取不到有效值。
	Version *uint64 `json:"Version,omitnil,omitempty" name:"Version"`

	// 应用状态
	// 注意:此字段可能返回 null,表示取不到有效值。
	Status *string `json:"Status,omitnil,omitempty" name:"Status"`

	// 应用描述
	// 注意:此字段可能返回 null,表示取不到有效值。
	Description *string `json:"Description,omitnil,omitempty" name:"Description"`

	// 应用提示
	// 注意:此字段可能返回 null,表示取不到有效值。
	Notes *string `json:"Notes,omitnil,omitempty" name:"Notes"`

	// 用户自定义参数
	// 注意:此字段可能返回 null,表示取不到有效值。
	Config *string `json:"Config,omitnil,omitempty" name:"Config"`

	// 应用资源详情
	// 注意:此字段可能返回 null,表示取不到有效值。
	Manifest *string `json:"Manifest,omitnil,omitempty" name:"Manifest"`

	// 应用制品版本
	// 注意:此字段可能返回 null,表示取不到有效值。
	ChartVersion *string `json:"ChartVersion,omitnil,omitempty" name:"ChartVersion"`

	// 应用制品名称
	// 注意:此字段可能返回 null,表示取不到有效值。
	ChartName *string `json:"ChartName,omitnil,omitempty" name:"ChartName"`

	// 应用制品描述
	// 注意:此字段可能返回 null,表示取不到有效值。
	ChartDescription *string `json:"ChartDescription,omitnil,omitempty" name:"ChartDescription"`

	// 应用制品app版本
	// 注意:此字段可能返回 null,表示取不到有效值。
	AppVersion *string `json:"AppVersion,omitnil,omitempty" name:"AppVersion"`

	// 应用首次部署时间
	// 注意:此字段可能返回 null,表示取不到有效值。
	FirstDeployedTime *string `json:"FirstDeployedTime,omitnil,omitempty" name:"FirstDeployedTime"`

	// 应用最近部署时间
	// 注意:此字段可能返回 null,表示取不到有效值。
	LastDeployedTime *string `json:"LastDeployedTime,omitnil,omitempty" name:"LastDeployedTime"`

	// 应用参数
	// 注意:此字段可能返回 null,表示取不到有效值。
	ComputedValues *string `json:"ComputedValues,omitnil,omitempty" name:"ComputedValues"`
}

type ReleaseHistory added in v1.0.554

type ReleaseHistory struct {
	// 应用名称
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// 应用命名空间
	Namespace *string `json:"Namespace,omitnil,omitempty" name:"Namespace"`

	// 应用版本
	// 注意:此字段可能返回 null,表示取不到有效值。
	Revision *uint64 `json:"Revision,omitnil,omitempty" name:"Revision"`

	// 应用状态
	// 注意:此字段可能返回 null,表示取不到有效值。
	Status *string `json:"Status,omitnil,omitempty" name:"Status"`

	// 应用制品名称
	// 注意:此字段可能返回 null,表示取不到有效值。
	Chart *string `json:"Chart,omitnil,omitempty" name:"Chart"`

	// 应用制品版本
	// 注意:此字段可能返回 null,表示取不到有效值。
	AppVersion *string `json:"AppVersion,omitnil,omitempty" name:"AppVersion"`

	// 应用更新时间
	// 注意:此字段可能返回 null,表示取不到有效值。
	UpdatedTime *string `json:"UpdatedTime,omitnil,omitempty" name:"UpdatedTime"`

	// 应用描述
	// 注意:此字段可能返回 null,表示取不到有效值。
	Description *string `json:"Description,omitnil,omitempty" name:"Description"`
}

type ReleaseValues added in v1.0.550

type ReleaseValues struct {
	// 自定义参数原始值
	RawOriginal *string `json:"RawOriginal,omitnil,omitempty" name:"RawOriginal"`

	// 自定义参数值类型
	ValuesType *string `json:"ValuesType,omitnil,omitempty" name:"ValuesType"`
}

type RemoveNodeFromNodePoolRequest

type RemoveNodeFromNodePoolRequest struct {
	*tchttp.BaseRequest

	// 集群id
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// 节点池id
	NodePoolId *string `json:"NodePoolId,omitnil,omitempty" name:"NodePoolId"`

	// 节点id列表,一次最多支持100台
	InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" name:"InstanceIds"`
}

func NewRemoveNodeFromNodePoolRequest

func NewRemoveNodeFromNodePoolRequest() (request *RemoveNodeFromNodePoolRequest)

func (*RemoveNodeFromNodePoolRequest) FromJsonString

func (r *RemoveNodeFromNodePoolRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*RemoveNodeFromNodePoolRequest) ToJsonString

func (r *RemoveNodeFromNodePoolRequest) ToJsonString() string

type RemoveNodeFromNodePoolRequestParams added in v1.0.426

type RemoveNodeFromNodePoolRequestParams struct {
	// 集群id
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// 节点池id
	NodePoolId *string `json:"NodePoolId,omitnil,omitempty" name:"NodePoolId"`

	// 节点id列表,一次最多支持100台
	InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" name:"InstanceIds"`
}

Predefined struct for user

type RemoveNodeFromNodePoolResponse

type RemoveNodeFromNodePoolResponse struct {
	*tchttp.BaseResponse
	Response *RemoveNodeFromNodePoolResponseParams `json:"Response"`
}

func NewRemoveNodeFromNodePoolResponse

func NewRemoveNodeFromNodePoolResponse() (response *RemoveNodeFromNodePoolResponse)

func (*RemoveNodeFromNodePoolResponse) FromJsonString

func (r *RemoveNodeFromNodePoolResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*RemoveNodeFromNodePoolResponse) ToJsonString

func (r *RemoveNodeFromNodePoolResponse) ToJsonString() string

type RemoveNodeFromNodePoolResponseParams added in v1.0.426

type RemoveNodeFromNodePoolResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type RenewReservedInstancesRequest added in v1.0.759

type RenewReservedInstancesRequest struct {
	*tchttp.BaseRequest

	// 预留券实例ID,每次请求实例的上限为100。
	ReservedInstanceIds []*string `json:"ReservedInstanceIds,omitnil,omitempty" name:"ReservedInstanceIds"`

	// 预付费模式,即包年包月相关参数设置。通过该参数可以指定包年包月实例的续费时长、是否设置自动续费等属性。
	InstanceChargePrepaid *InstanceChargePrepaid `json:"InstanceChargePrepaid,omitnil,omitempty" name:"InstanceChargePrepaid"`

	// 用于保证请求幂等性的字符串。该字符串由客户生成,需保证不同请求之间唯一,最大值不超过64个ASCII字符。若不指定该参数,则无法保证请求的幂等性。
	ClientToken *string `json:"ClientToken,omitnil,omitempty" name:"ClientToken"`
}

func NewRenewReservedInstancesRequest added in v1.0.759

func NewRenewReservedInstancesRequest() (request *RenewReservedInstancesRequest)

func (*RenewReservedInstancesRequest) FromJsonString added in v1.0.759

func (r *RenewReservedInstancesRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*RenewReservedInstancesRequest) ToJsonString added in v1.0.759

func (r *RenewReservedInstancesRequest) ToJsonString() string

type RenewReservedInstancesRequestParams added in v1.0.759

type RenewReservedInstancesRequestParams struct {
	// 预留券实例ID,每次请求实例的上限为100。
	ReservedInstanceIds []*string `json:"ReservedInstanceIds,omitnil,omitempty" name:"ReservedInstanceIds"`

	// 预付费模式,即包年包月相关参数设置。通过该参数可以指定包年包月实例的续费时长、是否设置自动续费等属性。
	InstanceChargePrepaid *InstanceChargePrepaid `json:"InstanceChargePrepaid,omitnil,omitempty" name:"InstanceChargePrepaid"`

	// 用于保证请求幂等性的字符串。该字符串由客户生成,需保证不同请求之间唯一,最大值不超过64个ASCII字符。若不指定该参数,则无法保证请求的幂等性。
	ClientToken *string `json:"ClientToken,omitnil,omitempty" name:"ClientToken"`
}

Predefined struct for user

type RenewReservedInstancesResponse added in v1.0.759

type RenewReservedInstancesResponse struct {
	*tchttp.BaseResponse
	Response *RenewReservedInstancesResponseParams `json:"Response"`
}

func NewRenewReservedInstancesResponse added in v1.0.759

func NewRenewReservedInstancesResponse() (response *RenewReservedInstancesResponse)

func (*RenewReservedInstancesResponse) FromJsonString added in v1.0.759

func (r *RenewReservedInstancesResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*RenewReservedInstancesResponse) ToJsonString added in v1.0.759

func (r *RenewReservedInstancesResponse) ToJsonString() string

type RenewReservedInstancesResponseParams added in v1.0.759

type RenewReservedInstancesResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ReservedInstance added in v1.0.759

type ReservedInstance struct {
	// 预留实例ID
	ReservedInstanceId *string `json:"ReservedInstanceId,omitnil,omitempty" name:"ReservedInstanceId"`

	// 预留实例名称
	ReservedInstanceName *string `json:"ReservedInstanceName,omitnil,omitempty" name:"ReservedInstanceName"`

	// 预留券状态
	Status *string `json:"Status,omitnil,omitempty" name:"Status"`

	// 有效期,单位:月
	TimeSpan *uint64 `json:"TimeSpan,omitnil,omitempty" name:"TimeSpan"`

	// 抵扣资源类型
	ResourceType *string `json:"ResourceType,omitnil,omitempty" name:"ResourceType"`

	// 资源核数
	Cpu *float64 `json:"Cpu,omitnil,omitempty" name:"Cpu"`

	// 资源内存,单位:Gi
	Memory *float64 `json:"Memory,omitnil,omitempty" name:"Memory"`

	// 预留券的范围,默认值region。
	Scope *string `json:"Scope,omitnil,omitempty" name:"Scope"`

	// 创建时间
	CreatedAt *string `json:"CreatedAt,omitnil,omitempty" name:"CreatedAt"`

	// 生效时间
	ActiveAt *string `json:"ActiveAt,omitnil,omitempty" name:"ActiveAt"`

	// 过期时间
	ExpireAt *string `json:"ExpireAt,omitnil,omitempty" name:"ExpireAt"`

	// GPU卡数
	GpuCount *string `json:"GpuCount,omitnil,omitempty" name:"GpuCount"`

	// 自动续费标记
	AutoRenewFlag *int64 `json:"AutoRenewFlag,omitnil,omitempty" name:"AutoRenewFlag"`

	// 集群 ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// 节点名称
	NodeName *string `json:"NodeName,omitnil,omitempty" name:"NodeName"`

	//  上个周期预留券的抵扣状态,Deduct、NotDeduct
	DeductStatus *string `json:"DeductStatus,omitnil,omitempty" name:"DeductStatus"`
}

type ReservedInstanceScope added in v1.0.759

type ReservedInstanceScope struct {
	// 抵扣范围,取值:Region、Zone 和 Node
	Scope *string `json:"Scope,omitnil,omitempty" name:"Scope"`

	// 可用区
	Zone *string `json:"Zone,omitnil,omitempty" name:"Zone"`

	// 集群 ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	//  节点名称
	NodeName *string `json:"NodeName,omitnil,omitempty" name:"NodeName"`
}

type ReservedInstanceSpec added in v1.0.759

type ReservedInstanceSpec struct {
	// 资源类型:common、amd、v100、t4、a10\*gnv4、a10\*gnv4v、a10\*pnv4、windows-common、windows-amd,common表示通用类型。
	Type *string `json:"Type,omitnil,omitempty" name:"Type"`

	// 核数
	Cpu *float64 `json:"Cpu,omitnil,omitempty" name:"Cpu"`

	// 内存
	Memory *float64 `json:"Memory,omitnil,omitempty" name:"Memory"`

	// GPU卡数,当Type为GPU类型时设置。
	Gpu *float64 `json:"Gpu,omitnil,omitempty" name:"Gpu"`
}

type ResourceDeleteOption

type ResourceDeleteOption struct {
	// 资源类型,例如CBS、CLB、CVM
	ResourceType *string `json:"ResourceType,omitnil,omitempty" name:"ResourceType"`

	// 集群删除时CBS资源的删除模式:terminate(销毁),retain (保留)。其他资源默认为销毁。
	DeleteMode *string `json:"DeleteMode,omitnil,omitempty" name:"DeleteMode"`

	// 是否跳过开启删除保护的资源,默认false,设置为true时不清理开启了删除保护的资源,clb有终端节点的情况也属于开了删除保护。
	SkipDeletionProtection *bool `json:"SkipDeletionProtection,omitnil,omitempty" name:"SkipDeletionProtection"`
}

type ResourceUsage added in v1.0.378

type ResourceUsage struct {
	// 资源类型
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// 资源使用量
	Usage *uint64 `json:"Usage,omitnil,omitempty" name:"Usage"`

	// 资源使用详情
	Details []*ResourceUsageDetail `json:"Details,omitnil,omitempty" name:"Details"`
}

type ResourceUsageDetail added in v1.0.378

type ResourceUsageDetail struct {
	// 资源名称
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// 资源使用量
	Usage *uint64 `json:"Usage,omitnil,omitempty" name:"Usage"`
}

type RestartEKSContainerInstancesRequest added in v1.0.254

type RestartEKSContainerInstancesRequest struct {
	*tchttp.BaseRequest

	// EKS instance ids
	EksCiIds []*string `json:"EksCiIds,omitnil,omitempty" name:"EksCiIds"`
}

func NewRestartEKSContainerInstancesRequest added in v1.0.254

func NewRestartEKSContainerInstancesRequest() (request *RestartEKSContainerInstancesRequest)

func (*RestartEKSContainerInstancesRequest) FromJsonString added in v1.0.254

func (r *RestartEKSContainerInstancesRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*RestartEKSContainerInstancesRequest) ToJsonString added in v1.0.254

func (r *RestartEKSContainerInstancesRequest) ToJsonString() string

type RestartEKSContainerInstancesRequestParams added in v1.0.426

type RestartEKSContainerInstancesRequestParams struct {
	// EKS instance ids
	EksCiIds []*string `json:"EksCiIds,omitnil,omitempty" name:"EksCiIds"`
}

Predefined struct for user

type RestartEKSContainerInstancesResponse added in v1.0.254

type RestartEKSContainerInstancesResponse struct {
	*tchttp.BaseResponse
	Response *RestartEKSContainerInstancesResponseParams `json:"Response"`
}

func NewRestartEKSContainerInstancesResponse added in v1.0.254

func NewRestartEKSContainerInstancesResponse() (response *RestartEKSContainerInstancesResponse)

func (*RestartEKSContainerInstancesResponse) FromJsonString added in v1.0.254

func (r *RestartEKSContainerInstancesResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*RestartEKSContainerInstancesResponse) ToJsonString added in v1.0.254

func (r *RestartEKSContainerInstancesResponse) ToJsonString() string

type RestartEKSContainerInstancesResponseParams added in v1.0.426

type RestartEKSContainerInstancesResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type RollbackClusterReleaseRequest added in v1.0.554

type RollbackClusterReleaseRequest struct {
	*tchttp.BaseRequest

	// 集群ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// 应用名称
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// 应用命名空间
	Namespace *string `json:"Namespace,omitnil,omitempty" name:"Namespace"`

	// 回滚版本号
	Revision *int64 `json:"Revision,omitnil,omitempty" name:"Revision"`

	// 集群类型
	ClusterType *string `json:"ClusterType,omitnil,omitempty" name:"ClusterType"`
}

func NewRollbackClusterReleaseRequest added in v1.0.554

func NewRollbackClusterReleaseRequest() (request *RollbackClusterReleaseRequest)

func (*RollbackClusterReleaseRequest) FromJsonString added in v1.0.554

func (r *RollbackClusterReleaseRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*RollbackClusterReleaseRequest) ToJsonString added in v1.0.554

func (r *RollbackClusterReleaseRequest) ToJsonString() string

type RollbackClusterReleaseRequestParams added in v1.0.554

type RollbackClusterReleaseRequestParams struct {
	// 集群ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// 应用名称
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// 应用命名空间
	Namespace *string `json:"Namespace,omitnil,omitempty" name:"Namespace"`

	// 回滚版本号
	Revision *int64 `json:"Revision,omitnil,omitempty" name:"Revision"`

	// 集群类型
	ClusterType *string `json:"ClusterType,omitnil,omitempty" name:"ClusterType"`
}

Predefined struct for user

type RollbackClusterReleaseResponse added in v1.0.554

type RollbackClusterReleaseResponse struct {
	*tchttp.BaseResponse
	Response *RollbackClusterReleaseResponseParams `json:"Response"`
}

func NewRollbackClusterReleaseResponse added in v1.0.554

func NewRollbackClusterReleaseResponse() (response *RollbackClusterReleaseResponse)

func (*RollbackClusterReleaseResponse) FromJsonString added in v1.0.554

func (r *RollbackClusterReleaseResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*RollbackClusterReleaseResponse) ToJsonString added in v1.0.554

func (r *RollbackClusterReleaseResponse) ToJsonString() string

type RollbackClusterReleaseResponseParams added in v1.0.554

type RollbackClusterReleaseResponseParams struct {
	// 应用详情
	// 注意:此字段可能返回 null,表示取不到有效值。
	Release *PendingRelease `json:"Release,omitnil,omitempty" name:"Release"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type RouteInfo

type RouteInfo struct {
	// 路由表名称。
	RouteTableName *string `json:"RouteTableName,omitnil,omitempty" name:"RouteTableName"`

	// 目的端CIDR。
	DestinationCidrBlock *string `json:"DestinationCidrBlock,omitnil,omitempty" name:"DestinationCidrBlock"`

	// 下一跳地址。
	GatewayIp *string `json:"GatewayIp,omitnil,omitempty" name:"GatewayIp"`
}

type RouteTableConflict

type RouteTableConflict struct {
	// 路由表类型。
	RouteTableType *string `json:"RouteTableType,omitnil,omitempty" name:"RouteTableType"`

	// 路由表CIDR。
	// 注意:此字段可能返回 null,表示取不到有效值。
	RouteTableCidrBlock *string `json:"RouteTableCidrBlock,omitnil,omitempty" name:"RouteTableCidrBlock"`

	// 路由表名称。
	// 注意:此字段可能返回 null,表示取不到有效值。
	RouteTableName *string `json:"RouteTableName,omitnil,omitempty" name:"RouteTableName"`

	// 路由表ID。
	// 注意:此字段可能返回 null,表示取不到有效值。
	RouteTableId *string `json:"RouteTableId,omitnil,omitempty" name:"RouteTableId"`
}

type RouteTableInfo

type RouteTableInfo struct {
	// 路由表名称。
	RouteTableName *string `json:"RouteTableName,omitnil,omitempty" name:"RouteTableName"`

	// 路由表CIDR。
	RouteTableCidrBlock *string `json:"RouteTableCidrBlock,omitnil,omitempty" name:"RouteTableCidrBlock"`

	// VPC实例ID。
	VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"`
}

type RunAutomationServiceEnabled added in v1.0.230

type RunAutomationServiceEnabled struct {
	// 是否开启云自动化助手。取值范围:<br><li>true:表示开启云自动化助手服务<br><li>false:表示不开启云自动化助手服务<br><br>默认取值:false。
	Enabled *bool `json:"Enabled,omitnil,omitempty" name:"Enabled"`
}

type RunInstancesForNode

type RunInstancesForNode struct {
	// 节点角色,取值:MASTER_ETCD, WORKER。MASTER_ETCD只有在创建 INDEPENDENT_CLUSTER 独立集群时需要指定。MASTER_ETCD节点数量为3~7,建议为奇数。MASTER_ETCD节点最小配置为4C8G。
	NodeRole *string `json:"NodeRole,omitnil,omitempty" name:"NodeRole"`

	// CVM创建透传参数,json化字符串格式,详见[CVM创建实例](https://cloud.tencent.com/document/product/213/15730)接口,传入公共参数外的其他参数即可,其中ImageId会替换为TKE集群OS对应的镜像。
	RunInstancesPara []*string `json:"RunInstancesPara,omitnil,omitempty" name:"RunInstancesPara"`

	// 节点高级设置,该参数会覆盖集群级别设置的InstanceAdvancedSettings,和上边的RunInstancesPara按照顺序一一对应(当前只对节点自定义参数ExtraArgs生效)。
	InstanceAdvancedSettingsOverrides []*InstanceAdvancedSettings `json:"InstanceAdvancedSettingsOverrides,omitnil,omitempty" name:"InstanceAdvancedSettingsOverrides"`
}

type RunMonitorServiceEnabled

type RunMonitorServiceEnabled struct {
	// 是否开启[云监控](/document/product/248)服务。取值范围:<br><li>true:表示开启云监控服务<br><li>false:表示不开启云监控服务<br><br>默认取值:true。
	// 注意:此字段可能返回 null,表示取不到有效值。
	Enabled *bool `json:"Enabled,omitnil,omitempty" name:"Enabled"`
}

type RunPrometheusInstanceRequest added in v1.0.432

type RunPrometheusInstanceRequest struct {
	*tchttp.BaseRequest

	// 实例ID
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// 子网ID,默认使用实例所用子网初始化,也可通过该参数传递新的子网ID初始化
	SubnetId *string `json:"SubnetId,omitnil,omitempty" name:"SubnetId"`
}

func NewRunPrometheusInstanceRequest added in v1.0.432

func NewRunPrometheusInstanceRequest() (request *RunPrometheusInstanceRequest)

func (*RunPrometheusInstanceRequest) FromJsonString added in v1.0.432

func (r *RunPrometheusInstanceRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*RunPrometheusInstanceRequest) ToJsonString added in v1.0.432

func (r *RunPrometheusInstanceRequest) ToJsonString() string

type RunPrometheusInstanceRequestParams added in v1.0.432

type RunPrometheusInstanceRequestParams struct {
	// 实例ID
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// 子网ID,默认使用实例所用子网初始化,也可通过该参数传递新的子网ID初始化
	SubnetId *string `json:"SubnetId,omitnil,omitempty" name:"SubnetId"`
}

Predefined struct for user

type RunPrometheusInstanceResponse added in v1.0.432

type RunPrometheusInstanceResponse struct {
	*tchttp.BaseResponse
	Response *RunPrometheusInstanceResponseParams `json:"Response"`
}

func NewRunPrometheusInstanceResponse added in v1.0.432

func NewRunPrometheusInstanceResponse() (response *RunPrometheusInstanceResponse)

func (*RunPrometheusInstanceResponse) FromJsonString added in v1.0.432

func (r *RunPrometheusInstanceResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*RunPrometheusInstanceResponse) ToJsonString added in v1.0.432

func (r *RunPrometheusInstanceResponse) ToJsonString() string

type RunPrometheusInstanceResponseParams added in v1.0.432

type RunPrometheusInstanceResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type RunSecurityServiceEnabled

type RunSecurityServiceEnabled struct {
	// 是否开启[云安全](/document/product/296)服务。取值范围:<br><li>true:表示开启云安全服务<br><li>false:表示不开启云安全服务<br><br>默认取值:true。
	Enabled *bool `json:"Enabled,omitnil,omitempty" name:"Enabled"`
}

type RuntimeConfig added in v1.0.900

type RuntimeConfig struct {
	// 运行时类型
	// 注意:此字段可能返回 null,表示取不到有效值。
	RuntimeType *string `json:"RuntimeType,omitnil,omitempty" name:"RuntimeType"`

	// 运行时版本
	// 注意:此字段可能返回 null,表示取不到有效值。
	RuntimeVersion *string `json:"RuntimeVersion,omitnil,omitempty" name:"RuntimeVersion"`
}

type ScaleInClusterMasterRequest added in v1.0.299

type ScaleInClusterMasterRequest struct {
	*tchttp.BaseRequest

	// 集群实例ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// master缩容选项
	ScaleInMasters []*ScaleInMaster `json:"ScaleInMasters,omitnil,omitempty" name:"ScaleInMasters"`
}

func NewScaleInClusterMasterRequest added in v1.0.299

func NewScaleInClusterMasterRequest() (request *ScaleInClusterMasterRequest)

func (*ScaleInClusterMasterRequest) FromJsonString added in v1.0.299

func (r *ScaleInClusterMasterRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ScaleInClusterMasterRequest) ToJsonString added in v1.0.299

func (r *ScaleInClusterMasterRequest) ToJsonString() string

type ScaleInClusterMasterRequestParams added in v1.0.426

type ScaleInClusterMasterRequestParams struct {
	// 集群实例ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// master缩容选项
	ScaleInMasters []*ScaleInMaster `json:"ScaleInMasters,omitnil,omitempty" name:"ScaleInMasters"`
}

Predefined struct for user

type ScaleInClusterMasterResponse added in v1.0.299

type ScaleInClusterMasterResponse struct {
	*tchttp.BaseResponse
	Response *ScaleInClusterMasterResponseParams `json:"Response"`
}

func NewScaleInClusterMasterResponse added in v1.0.299

func NewScaleInClusterMasterResponse() (response *ScaleInClusterMasterResponse)

func (*ScaleInClusterMasterResponse) FromJsonString added in v1.0.299

func (r *ScaleInClusterMasterResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ScaleInClusterMasterResponse) ToJsonString added in v1.0.299

func (r *ScaleInClusterMasterResponse) ToJsonString() string

type ScaleInClusterMasterResponseParams added in v1.0.426

type ScaleInClusterMasterResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ScaleInMaster added in v1.0.299

type ScaleInMaster struct {
	// 实例ID
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// 缩容的实例角色:MASTER,ETCD,MASTER_ETCD
	NodeRole *string `json:"NodeRole,omitnil,omitempty" name:"NodeRole"`

	// 实例删除时的策略:terminate(销毁实例,仅支持按量计费云主机实例) retain (仅移除,保留实例)
	InstanceDeleteMode *string `json:"InstanceDeleteMode,omitnil,omitempty" name:"InstanceDeleteMode"`
}

type ScaleOutClusterMasterRequest added in v1.0.299

type ScaleOutClusterMasterRequest struct {
	*tchttp.BaseRequest

	// 集群实例ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// 新建节点参数
	RunInstancesForNode []*RunInstancesForNode `json:"RunInstancesForNode,omitnil,omitempty" name:"RunInstancesForNode"`

	// 添加已有节点相关参数
	ExistedInstancesForNode []*ExistedInstancesForNode `json:"ExistedInstancesForNode,omitnil,omitempty" name:"ExistedInstancesForNode"`

	// 实例高级设置
	InstanceAdvancedSettings *InstanceAdvancedSettings `json:"InstanceAdvancedSettings,omitnil,omitempty" name:"InstanceAdvancedSettings"`

	// 集群master组件自定义参数
	ExtraArgs *ClusterExtraArgs `json:"ExtraArgs,omitnil,omitempty" name:"ExtraArgs"`
}

func NewScaleOutClusterMasterRequest added in v1.0.299

func NewScaleOutClusterMasterRequest() (request *ScaleOutClusterMasterRequest)

func (*ScaleOutClusterMasterRequest) FromJsonString added in v1.0.299

func (r *ScaleOutClusterMasterRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ScaleOutClusterMasterRequest) ToJsonString added in v1.0.299

func (r *ScaleOutClusterMasterRequest) ToJsonString() string

type ScaleOutClusterMasterRequestParams added in v1.0.426

type ScaleOutClusterMasterRequestParams struct {
	// 集群实例ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// 新建节点参数
	RunInstancesForNode []*RunInstancesForNode `json:"RunInstancesForNode,omitnil,omitempty" name:"RunInstancesForNode"`

	// 添加已有节点相关参数
	ExistedInstancesForNode []*ExistedInstancesForNode `json:"ExistedInstancesForNode,omitnil,omitempty" name:"ExistedInstancesForNode"`

	// 实例高级设置
	InstanceAdvancedSettings *InstanceAdvancedSettings `json:"InstanceAdvancedSettings,omitnil,omitempty" name:"InstanceAdvancedSettings"`

	// 集群master组件自定义参数
	ExtraArgs *ClusterExtraArgs `json:"ExtraArgs,omitnil,omitempty" name:"ExtraArgs"`
}

Predefined struct for user

type ScaleOutClusterMasterResponse added in v1.0.299

type ScaleOutClusterMasterResponse struct {
	*tchttp.BaseResponse
	Response *ScaleOutClusterMasterResponseParams `json:"Response"`
}

func NewScaleOutClusterMasterResponse added in v1.0.299

func NewScaleOutClusterMasterResponse() (response *ScaleOutClusterMasterResponse)

func (*ScaleOutClusterMasterResponse) FromJsonString added in v1.0.299

func (r *ScaleOutClusterMasterResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ScaleOutClusterMasterResponse) ToJsonString added in v1.0.299

func (r *ScaleOutClusterMasterResponse) ToJsonString() string

type ScaleOutClusterMasterResponseParams added in v1.0.426

type ScaleOutClusterMasterResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type SecurityContext added in v1.0.254

type SecurityContext struct {
	// 安全能力清单
	// 注意:此字段可能返回 null,表示取不到有效值。
	Capabilities *Capabilities `json:"Capabilities,omitnil,omitempty" name:"Capabilities"`
}

type ServiceAccountAuthenticationOptions added in v1.0.264

type ServiceAccountAuthenticationOptions struct {
	// 使用TKE默认issuer和jwksuri
	// 注意:此字段可能返回 null,表示取不到有效值。
	UseTKEDefault *bool `json:"UseTKEDefault,omitnil,omitempty" name:"UseTKEDefault"`

	// service-account-issuer
	// 注意:此字段可能返回 null,表示取不到有效值。
	Issuer *string `json:"Issuer,omitnil,omitempty" name:"Issuer"`

	// service-account-jwks-uri
	// 注意:此字段可能返回 null,表示取不到有效值。
	JWKSURI *string `json:"JWKSURI,omitnil,omitempty" name:"JWKSURI"`

	// 如果为true,则会自动创建允许匿名用户访问'/.well-known/openid-configuration'和/openid/v1/jwks的rbac规则
	// 注意:此字段可能返回 null,表示取不到有效值。
	AutoCreateDiscoveryAnonymousAuth *bool `json:"AutoCreateDiscoveryAnonymousAuth,omitnil,omitempty" name:"AutoCreateDiscoveryAnonymousAuth"`
}

type SetNodePoolNodeProtectionRequest

type SetNodePoolNodeProtectionRequest struct {
	*tchttp.BaseRequest

	// 集群id
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// 节点池id
	NodePoolId *string `json:"NodePoolId,omitnil,omitempty" name:"NodePoolId"`

	// 节点id
	InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" name:"InstanceIds"`

	// 节点是否需要移出保护
	ProtectedFromScaleIn *bool `json:"ProtectedFromScaleIn,omitnil,omitempty" name:"ProtectedFromScaleIn"`
}

func NewSetNodePoolNodeProtectionRequest

func NewSetNodePoolNodeProtectionRequest() (request *SetNodePoolNodeProtectionRequest)

func (*SetNodePoolNodeProtectionRequest) FromJsonString

func (r *SetNodePoolNodeProtectionRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*SetNodePoolNodeProtectionRequest) ToJsonString

func (r *SetNodePoolNodeProtectionRequest) ToJsonString() string

type SetNodePoolNodeProtectionRequestParams added in v1.0.426

type SetNodePoolNodeProtectionRequestParams struct {
	// 集群id
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// 节点池id
	NodePoolId *string `json:"NodePoolId,omitnil,omitempty" name:"NodePoolId"`

	// 节点id
	InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" name:"InstanceIds"`

	// 节点是否需要移出保护
	ProtectedFromScaleIn *bool `json:"ProtectedFromScaleIn,omitnil,omitempty" name:"ProtectedFromScaleIn"`
}

Predefined struct for user

type SetNodePoolNodeProtectionResponse

type SetNodePoolNodeProtectionResponse struct {
	*tchttp.BaseResponse
	Response *SetNodePoolNodeProtectionResponseParams `json:"Response"`
}

func NewSetNodePoolNodeProtectionResponse

func NewSetNodePoolNodeProtectionResponse() (response *SetNodePoolNodeProtectionResponse)

func (*SetNodePoolNodeProtectionResponse) FromJsonString

func (r *SetNodePoolNodeProtectionResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*SetNodePoolNodeProtectionResponse) ToJsonString

func (r *SetNodePoolNodeProtectionResponse) ToJsonString() string

type SetNodePoolNodeProtectionResponseParams added in v1.0.426

type SetNodePoolNodeProtectionResponseParams struct {
	// 成功设置的节点id
	// 注意:此字段可能返回 null,表示取不到有效值。
	SucceedInstanceIds []*string `json:"SucceedInstanceIds,omitnil,omitempty" name:"SucceedInstanceIds"`

	// 没有成功设置的节点id
	// 注意:此字段可能返回 null,表示取不到有效值。
	FailedInstanceIds []*string `json:"FailedInstanceIds,omitnil,omitempty" name:"FailedInstanceIds"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type Step added in v1.0.799

type Step struct {
	// 名称
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// 开始时间
	// 注意:此字段可能返回 null,表示取不到有效值。
	StartAt *string `json:"StartAt,omitnil,omitempty" name:"StartAt"`

	// 结束时间
	// 注意:此字段可能返回 null,表示取不到有效值。
	EndAt *string `json:"EndAt,omitnil,omitempty" name:"EndAt"`

	// 当前状态
	// 注意:此字段可能返回 null,表示取不到有效值。
	Status *string `json:"Status,omitnil,omitempty" name:"Status"`

	// 执行信息
	// 注意:此字段可能返回 null,表示取不到有效值。
	Message *string `json:"Message,omitnil,omitempty" name:"Message"`
}

type SubnetInfos added in v1.0.416

type SubnetInfos struct {
	// 子网id
	SubnetId *string `json:"SubnetId,omitnil,omitempty" name:"SubnetId"`

	// 子网节点名称
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// 安全组id
	SecurityGroups []*string `json:"SecurityGroups,omitnil,omitempty" name:"SecurityGroups"`

	// 系统
	Os *string `json:"Os,omitnil,omitempty" name:"Os"`

	// 硬件架构
	Arch *string `json:"Arch,omitnil,omitempty" name:"Arch"`
}

type SuperNodeResource added in v1.0.759

type SuperNodeResource struct {
	// 节点名称
	// 注意:此字段可能返回 null,表示取不到有效值。
	NodeName *string `json:"NodeName,omitnil,omitempty" name:"NodeName"`

	// 节点上的资源总数
	// 注意:此字段可能返回 null,表示取不到有效值。
	Num *uint64 `json:"Num,omitnil,omitempty" name:"Num"`

	// 节点上的总核数
	// 注意:此字段可能返回 null,表示取不到有效值。
	Cpu *float64 `json:"Cpu,omitnil,omitempty" name:"Cpu"`

	// 节点上的总内存数
	// 注意:此字段可能返回 null,表示取不到有效值。
	Memory *float64 `json:"Memory,omitnil,omitempty" name:"Memory"`

	// 节点上的总 GPU 卡数
	// 注意:此字段可能返回 null,表示取不到有效值。
	Gpu *float64 `json:"Gpu,omitnil,omitempty" name:"Gpu"`
}

type Switch added in v1.0.807

type Switch struct {
	// 集群ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// 审计开关的详细信息
	// 注意:此字段可能返回 null,表示取不到有效值。
	Audit *SwitchInfo `json:"Audit,omitnil,omitempty" name:"Audit"`

	// 事件开关的详细信息
	// 注意:此字段可能返回 null,表示取不到有效值。
	Event *SwitchInfo `json:"Event,omitnil,omitempty" name:"Event"`

	// 普通日志的详细信息
	// 注意:此字段可能返回 null,表示取不到有效值。
	Log *SwitchInfo `json:"Log,omitnil,omitempty" name:"Log"`

	// master 日志详细信息
	// 注意:此字段可能返回 null,表示取不到有效值。
	MasterLog *SwitchInfo `json:"MasterLog,omitnil,omitempty" name:"MasterLog"`
}

type SwitchInfo added in v1.0.807

type SwitchInfo struct {
	// 开启标识符 true代表开启
	// 注意:此字段可能返回 null,表示取不到有效值。
	Enable *bool `json:"Enable,omitnil,omitempty" name:"Enable"`

	// CLS日志集ID
	// 注意:此字段可能返回 null,表示取不到有效值。
	LogsetId *string `json:"LogsetId,omitnil,omitempty" name:"LogsetId"`

	// CLS日志主题ID
	// 注意:此字段可能返回 null,表示取不到有效值。
	TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"`

	// 当前log-agent版本
	// 注意:此字段可能返回 null,表示取不到有效值。
	Version *string `json:"Version,omitnil,omitempty" name:"Version"`

	// 是否可升级
	// 注意:此字段可能返回 null,表示取不到有效值。
	UpgradeAble *bool `json:"UpgradeAble,omitnil,omitempty" name:"UpgradeAble"`

	// CLS日志主题所属region
	// 注意:此字段可能返回 null,表示取不到有效值。
	TopicRegion *string `json:"TopicRegion,omitnil,omitempty" name:"TopicRegion"`
}

type SyncPrometheusTempRequest added in v1.0.401

type SyncPrometheusTempRequest struct {
	*tchttp.BaseRequest

	// 实例id
	TemplateId *string `json:"TemplateId,omitnil,omitempty" name:"TemplateId"`

	// 同步目标
	Targets []*PrometheusTemplateSyncTarget `json:"Targets,omitnil,omitempty" name:"Targets"`
}

func NewSyncPrometheusTempRequest added in v1.0.401

func NewSyncPrometheusTempRequest() (request *SyncPrometheusTempRequest)

func (*SyncPrometheusTempRequest) FromJsonString added in v1.0.401

func (r *SyncPrometheusTempRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*SyncPrometheusTempRequest) ToJsonString added in v1.0.401

func (r *SyncPrometheusTempRequest) ToJsonString() string

type SyncPrometheusTempRequestParams added in v1.0.426

type SyncPrometheusTempRequestParams struct {
	// 实例id
	TemplateId *string `json:"TemplateId,omitnil,omitempty" name:"TemplateId"`

	// 同步目标
	Targets []*PrometheusTemplateSyncTarget `json:"Targets,omitnil,omitempty" name:"Targets"`
}

Predefined struct for user

type SyncPrometheusTempResponse added in v1.0.401

type SyncPrometheusTempResponse struct {
	*tchttp.BaseResponse
	Response *SyncPrometheusTempResponseParams `json:"Response"`
}

func NewSyncPrometheusTempResponse added in v1.0.401

func NewSyncPrometheusTempResponse() (response *SyncPrometheusTempResponse)

func (*SyncPrometheusTempResponse) FromJsonString added in v1.0.401

func (r *SyncPrometheusTempResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*SyncPrometheusTempResponse) ToJsonString added in v1.0.401

func (r *SyncPrometheusTempResponse) ToJsonString() string

type SyncPrometheusTempResponseParams added in v1.0.426

type SyncPrometheusTempResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type SyncPrometheusTemplateRequest

type SyncPrometheusTemplateRequest struct {
	*tchttp.BaseRequest

	// 实例id
	TemplateId *string `json:"TemplateId,omitnil,omitempty" name:"TemplateId"`

	// 同步目标
	Targets []*PrometheusTemplateSyncTarget `json:"Targets,omitnil,omitempty" name:"Targets"`
}

func NewSyncPrometheusTemplateRequest

func NewSyncPrometheusTemplateRequest() (request *SyncPrometheusTemplateRequest)

func (*SyncPrometheusTemplateRequest) FromJsonString

func (r *SyncPrometheusTemplateRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*SyncPrometheusTemplateRequest) ToJsonString

func (r *SyncPrometheusTemplateRequest) ToJsonString() string

type SyncPrometheusTemplateRequestParams added in v1.0.426

type SyncPrometheusTemplateRequestParams struct {
	// 实例id
	TemplateId *string `json:"TemplateId,omitnil,omitempty" name:"TemplateId"`

	// 同步目标
	Targets []*PrometheusTemplateSyncTarget `json:"Targets,omitnil,omitempty" name:"Targets"`
}

Predefined struct for user

type SyncPrometheusTemplateResponse

type SyncPrometheusTemplateResponse struct {
	*tchttp.BaseResponse
	Response *SyncPrometheusTemplateResponseParams `json:"Response"`
}

func NewSyncPrometheusTemplateResponse

func NewSyncPrometheusTemplateResponse() (response *SyncPrometheusTemplateResponse)

func (*SyncPrometheusTemplateResponse) FromJsonString

func (r *SyncPrometheusTemplateResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*SyncPrometheusTemplateResponse) ToJsonString

func (r *SyncPrometheusTemplateResponse) ToJsonString() string

type SyncPrometheusTemplateResponseParams added in v1.0.426

type SyncPrometheusTemplateResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type Tag

type Tag struct {
	// 标签键
	Key *string `json:"Key,omitnil,omitempty" name:"Key"`

	// 标签值
	Value *string `json:"Value,omitnil,omitempty" name:"Value"`
}

type TagSpecification

type TagSpecification struct {
	// 标签绑定的资源类型,当前支持类型:"cluster"
	// 注意:此字段可能返回 null,表示取不到有效值。
	ResourceType *string `json:"ResourceType,omitnil,omitempty" name:"ResourceType"`

	// 标签对列表
	// 注意:此字段可能返回 null,表示取不到有效值。
	Tags []*Tag `json:"Tags,omitnil,omitempty" name:"Tags"`
}

type Taint

type Taint struct {
	// Key
	Key *string `json:"Key,omitnil,omitempty" name:"Key"`

	// Value
	Value *string `json:"Value,omitnil,omitempty" name:"Value"`

	// Effect
	Effect *string `json:"Effect,omitnil,omitempty" name:"Effect"`
}

type TaskStepInfo

type TaskStepInfo struct {
	// 步骤名称
	Step *string `json:"Step,omitnil,omitempty" name:"Step"`

	// 生命周期
	// pending : 步骤未开始
	// running: 步骤执行中
	// success: 步骤成功完成
	// failed: 步骤失败
	LifeState *string `json:"LifeState,omitnil,omitempty" name:"LifeState"`

	// 步骤开始时间
	// 注意:此字段可能返回 null,表示取不到有效值。
	StartAt *string `json:"StartAt,omitnil,omitempty" name:"StartAt"`

	// 步骤结束时间
	// 注意:此字段可能返回 null,表示取不到有效值。
	EndAt *string `json:"EndAt,omitnil,omitempty" name:"EndAt"`

	// 若步骤生命周期为failed,则此字段显示错误信息
	// 注意:此字段可能返回 null,表示取不到有效值。
	FailedMsg *string `json:"FailedMsg,omitnil,omitempty" name:"FailedMsg"`
}

type TcpSocket added in v1.0.254

type TcpSocket struct {
	// TcpSocket检测的端口
	// 注意:此字段可能返回 null,表示取不到有效值。
	Port *uint64 `json:"Port,omitnil,omitempty" name:"Port"`
}

type Toleration added in v1.0.434

type Toleration struct {
	// 容忍应用到的 taint key
	Key *string `json:"Key,omitnil,omitempty" name:"Key"`

	// 键与值的关系
	Operator *string `json:"Operator,omitnil,omitempty" name:"Operator"`

	// 要匹配的污点效果
	Effect *string `json:"Effect,omitnil,omitempty" name:"Effect"`
}

type UnavailableReason added in v1.0.599

type UnavailableReason struct {
	// 实例ID
	// 注意:此字段可能返回 null,表示取不到有效值。
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// 原因
	// 注意:此字段可能返回 null,表示取不到有效值。
	Reason *string `json:"Reason,omitnil,omitempty" name:"Reason"`
}

type UninstallClusterReleaseRequest added in v1.0.554

type UninstallClusterReleaseRequest struct {
	*tchttp.BaseRequest

	// 集群ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// 应用名称
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// 应用命名空间
	Namespace *string `json:"Namespace,omitnil,omitempty" name:"Namespace"`

	// 集群类型
	ClusterType *string `json:"ClusterType,omitnil,omitempty" name:"ClusterType"`
}

func NewUninstallClusterReleaseRequest added in v1.0.554

func NewUninstallClusterReleaseRequest() (request *UninstallClusterReleaseRequest)

func (*UninstallClusterReleaseRequest) FromJsonString added in v1.0.554

func (r *UninstallClusterReleaseRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*UninstallClusterReleaseRequest) ToJsonString added in v1.0.554

func (r *UninstallClusterReleaseRequest) ToJsonString() string

type UninstallClusterReleaseRequestParams added in v1.0.554

type UninstallClusterReleaseRequestParams struct {
	// 集群ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// 应用名称
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// 应用命名空间
	Namespace *string `json:"Namespace,omitnil,omitempty" name:"Namespace"`

	// 集群类型
	ClusterType *string `json:"ClusterType,omitnil,omitempty" name:"ClusterType"`
}

Predefined struct for user

type UninstallClusterReleaseResponse added in v1.0.554

type UninstallClusterReleaseResponse struct {
	*tchttp.BaseResponse
	Response *UninstallClusterReleaseResponseParams `json:"Response"`
}

func NewUninstallClusterReleaseResponse added in v1.0.554

func NewUninstallClusterReleaseResponse() (response *UninstallClusterReleaseResponse)

func (*UninstallClusterReleaseResponse) FromJsonString added in v1.0.554

func (r *UninstallClusterReleaseResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*UninstallClusterReleaseResponse) ToJsonString added in v1.0.554

func (r *UninstallClusterReleaseResponse) ToJsonString() string

type UninstallClusterReleaseResponseParams added in v1.0.554

type UninstallClusterReleaseResponseParams struct {
	// 应用详情
	// 注意:此字段可能返回 null,表示取不到有效值。
	Release *PendingRelease `json:"Release,omitnil,omitempty" name:"Release"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type UninstallEdgeLogAgentRequest added in v1.0.450

type UninstallEdgeLogAgentRequest struct {
	*tchttp.BaseRequest

	// 集群ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
}

func NewUninstallEdgeLogAgentRequest added in v1.0.450

func NewUninstallEdgeLogAgentRequest() (request *UninstallEdgeLogAgentRequest)

func (*UninstallEdgeLogAgentRequest) FromJsonString added in v1.0.450

func (r *UninstallEdgeLogAgentRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*UninstallEdgeLogAgentRequest) ToJsonString added in v1.0.450

func (r *UninstallEdgeLogAgentRequest) ToJsonString() string

type UninstallEdgeLogAgentRequestParams added in v1.0.450

type UninstallEdgeLogAgentRequestParams struct {
	// 集群ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
}

Predefined struct for user

type UninstallEdgeLogAgentResponse added in v1.0.450

type UninstallEdgeLogAgentResponse struct {
	*tchttp.BaseResponse
	Response *UninstallEdgeLogAgentResponseParams `json:"Response"`
}

func NewUninstallEdgeLogAgentResponse added in v1.0.450

func NewUninstallEdgeLogAgentResponse() (response *UninstallEdgeLogAgentResponse)

func (*UninstallEdgeLogAgentResponse) FromJsonString added in v1.0.450

func (r *UninstallEdgeLogAgentResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*UninstallEdgeLogAgentResponse) ToJsonString added in v1.0.450

func (r *UninstallEdgeLogAgentResponse) ToJsonString() string

type UninstallEdgeLogAgentResponseParams added in v1.0.450

type UninstallEdgeLogAgentResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type UninstallLogAgentRequest added in v1.0.401

type UninstallLogAgentRequest struct {
	*tchttp.BaseRequest

	// 集群ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
}

func NewUninstallLogAgentRequest added in v1.0.401

func NewUninstallLogAgentRequest() (request *UninstallLogAgentRequest)

func (*UninstallLogAgentRequest) FromJsonString added in v1.0.401

func (r *UninstallLogAgentRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*UninstallLogAgentRequest) ToJsonString added in v1.0.401

func (r *UninstallLogAgentRequest) ToJsonString() string

type UninstallLogAgentRequestParams added in v1.0.426

type UninstallLogAgentRequestParams struct {
	// 集群ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
}

Predefined struct for user

type UninstallLogAgentResponse added in v1.0.401

type UninstallLogAgentResponse struct {
	*tchttp.BaseResponse
	Response *UninstallLogAgentResponseParams `json:"Response"`
}

func NewUninstallLogAgentResponse added in v1.0.401

func NewUninstallLogAgentResponse() (response *UninstallLogAgentResponse)

func (*UninstallLogAgentResponse) FromJsonString added in v1.0.401

func (r *UninstallLogAgentResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*UninstallLogAgentResponse) ToJsonString added in v1.0.401

func (r *UninstallLogAgentResponse) ToJsonString() string

type UninstallLogAgentResponseParams added in v1.0.426

type UninstallLogAgentResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type UpdateAddonRequest added in v1.0.684

type UpdateAddonRequest struct {
	*tchttp.BaseRequest

	// 集群ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// addon名称
	AddonName *string `json:"AddonName,omitnil,omitempty" name:"AddonName"`

	// addon版本(不传默认不更新)
	AddonVersion *string `json:"AddonVersion,omitnil,omitempty" name:"AddonVersion"`

	// addon的参数,是一个json格式的base64转码后的字符串(addon参数由DescribeAddonValues获取)
	RawValues *string `json:"RawValues,omitnil,omitempty" name:"RawValues"`
}

func NewUpdateAddonRequest added in v1.0.684

func NewUpdateAddonRequest() (request *UpdateAddonRequest)

func (*UpdateAddonRequest) FromJsonString added in v1.0.684

func (r *UpdateAddonRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*UpdateAddonRequest) ToJsonString added in v1.0.684

func (r *UpdateAddonRequest) ToJsonString() string

type UpdateAddonRequestParams added in v1.0.684

type UpdateAddonRequestParams struct {
	// 集群ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// addon名称
	AddonName *string `json:"AddonName,omitnil,omitempty" name:"AddonName"`

	// addon版本(不传默认不更新)
	AddonVersion *string `json:"AddonVersion,omitnil,omitempty" name:"AddonVersion"`

	// addon的参数,是一个json格式的base64转码后的字符串(addon参数由DescribeAddonValues获取)
	RawValues *string `json:"RawValues,omitnil,omitempty" name:"RawValues"`
}

Predefined struct for user

type UpdateAddonResponse added in v1.0.684

type UpdateAddonResponse struct {
	*tchttp.BaseResponse
	Response *UpdateAddonResponseParams `json:"Response"`
}

func NewUpdateAddonResponse added in v1.0.684

func NewUpdateAddonResponse() (response *UpdateAddonResponse)

func (*UpdateAddonResponse) FromJsonString added in v1.0.684

func (r *UpdateAddonResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*UpdateAddonResponse) ToJsonString added in v1.0.684

func (r *UpdateAddonResponse) ToJsonString() string

type UpdateAddonResponseParams added in v1.0.684

type UpdateAddonResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type UpdateClusterKubeconfigRequest added in v1.0.641

type UpdateClusterKubeconfigRequest struct {
	*tchttp.BaseRequest

	// 集群ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// 子账户Uin列表,传空默认为调用此接口的SubUin
	SubAccounts []*string `json:"SubAccounts,omitnil,omitempty" name:"SubAccounts"`
}

func NewUpdateClusterKubeconfigRequest added in v1.0.641

func NewUpdateClusterKubeconfigRequest() (request *UpdateClusterKubeconfigRequest)

func (*UpdateClusterKubeconfigRequest) FromJsonString added in v1.0.641

func (r *UpdateClusterKubeconfigRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*UpdateClusterKubeconfigRequest) ToJsonString added in v1.0.641

func (r *UpdateClusterKubeconfigRequest) ToJsonString() string

type UpdateClusterKubeconfigRequestParams added in v1.0.641

type UpdateClusterKubeconfigRequestParams struct {
	// 集群ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// 子账户Uin列表,传空默认为调用此接口的SubUin
	SubAccounts []*string `json:"SubAccounts,omitnil,omitempty" name:"SubAccounts"`
}

Predefined struct for user

type UpdateClusterKubeconfigResponse added in v1.0.641

type UpdateClusterKubeconfigResponse struct {
	*tchttp.BaseResponse
	Response *UpdateClusterKubeconfigResponseParams `json:"Response"`
}

func NewUpdateClusterKubeconfigResponse added in v1.0.641

func NewUpdateClusterKubeconfigResponse() (response *UpdateClusterKubeconfigResponse)

func (*UpdateClusterKubeconfigResponse) FromJsonString added in v1.0.641

func (r *UpdateClusterKubeconfigResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*UpdateClusterKubeconfigResponse) ToJsonString added in v1.0.641

func (r *UpdateClusterKubeconfigResponse) ToJsonString() string

type UpdateClusterKubeconfigResponseParams added in v1.0.641

type UpdateClusterKubeconfigResponseParams struct {
	// 已更新的子账户Uin列表
	// 注意:此字段可能返回 null,表示取不到有效值。
	UpdatedSubAccounts []*string `json:"UpdatedSubAccounts,omitnil,omitempty" name:"UpdatedSubAccounts"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type UpdateClusterVersionRequest

type UpdateClusterVersionRequest struct {
	*tchttp.BaseRequest

	// 集群 Id
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// 需要升级到的版本
	DstVersion *string `json:"DstVersion,omitnil,omitempty" name:"DstVersion"`

	// 集群自定义参数
	ExtraArgs *ClusterExtraArgs `json:"ExtraArgs,omitnil,omitempty" name:"ExtraArgs"`

	// 可容忍的最大不可用pod数目
	MaxNotReadyPercent *float64 `json:"MaxNotReadyPercent,omitnil,omitempty" name:"MaxNotReadyPercent"`

	// 是否跳过预检查阶段
	SkipPreCheck *bool `json:"SkipPreCheck,omitnil,omitempty" name:"SkipPreCheck"`
}

func NewUpdateClusterVersionRequest

func NewUpdateClusterVersionRequest() (request *UpdateClusterVersionRequest)

func (*UpdateClusterVersionRequest) FromJsonString

func (r *UpdateClusterVersionRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*UpdateClusterVersionRequest) ToJsonString

func (r *UpdateClusterVersionRequest) ToJsonString() string

type UpdateClusterVersionRequestParams added in v1.0.426

type UpdateClusterVersionRequestParams struct {
	// 集群 Id
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// 需要升级到的版本
	DstVersion *string `json:"DstVersion,omitnil,omitempty" name:"DstVersion"`

	// 集群自定义参数
	ExtraArgs *ClusterExtraArgs `json:"ExtraArgs,omitnil,omitempty" name:"ExtraArgs"`

	// 可容忍的最大不可用pod数目
	MaxNotReadyPercent *float64 `json:"MaxNotReadyPercent,omitnil,omitempty" name:"MaxNotReadyPercent"`

	// 是否跳过预检查阶段
	SkipPreCheck *bool `json:"SkipPreCheck,omitnil,omitempty" name:"SkipPreCheck"`
}

Predefined struct for user

type UpdateClusterVersionResponse

type UpdateClusterVersionResponse struct {
	*tchttp.BaseResponse
	Response *UpdateClusterVersionResponseParams `json:"Response"`
}

func NewUpdateClusterVersionResponse

func NewUpdateClusterVersionResponse() (response *UpdateClusterVersionResponse)

func (*UpdateClusterVersionResponse) FromJsonString

func (r *UpdateClusterVersionResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*UpdateClusterVersionResponse) ToJsonString

func (r *UpdateClusterVersionResponse) ToJsonString() string

type UpdateClusterVersionResponseParams added in v1.0.426

type UpdateClusterVersionResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type UpdateEKSClusterRequest

type UpdateEKSClusterRequest struct {
	*tchttp.BaseRequest

	// 弹性集群Id
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// 弹性集群名称
	ClusterName *string `json:"ClusterName,omitnil,omitempty" name:"ClusterName"`

	// 弹性集群描述信息
	ClusterDesc *string `json:"ClusterDesc,omitnil,omitempty" name:"ClusterDesc"`

	// 子网Id 列表
	SubnetIds []*string `json:"SubnetIds,omitnil,omitempty" name:"SubnetIds"`

	// 弹性容器集群公网访问LB信息
	PublicLB *ClusterPublicLB `json:"PublicLB,omitnil,omitempty" name:"PublicLB"`

	// 弹性容器集群内网访问LB信息
	InternalLB *ClusterInternalLB `json:"InternalLB,omitnil,omitempty" name:"InternalLB"`

	// Service 子网Id
	ServiceSubnetId *string `json:"ServiceSubnetId,omitnil,omitempty" name:"ServiceSubnetId"`

	// 集群自定义的dns 服务器信息
	DnsServers []*DnsServerConf `json:"DnsServers,omitnil,omitempty" name:"DnsServers"`

	// 是否清空自定义dns 服务器设置。为1 表示 是。其他表示 否。
	ClearDnsServer *string `json:"ClearDnsServer,omitnil,omitempty" name:"ClearDnsServer"`

	// 将来删除集群时是否要删除cbs。默认为 FALSE
	NeedDeleteCbs *bool `json:"NeedDeleteCbs,omitnil,omitempty" name:"NeedDeleteCbs"`

	// 标记是否是新的内外网。默认为false
	ProxyLB *bool `json:"ProxyLB,omitnil,omitempty" name:"ProxyLB"`

	// 扩展参数。须是map[string]string 的json 格式。
	ExtraParam *string `json:"ExtraParam,omitnil,omitempty" name:"ExtraParam"`
}

func NewUpdateEKSClusterRequest

func NewUpdateEKSClusterRequest() (request *UpdateEKSClusterRequest)

func (*UpdateEKSClusterRequest) FromJsonString

func (r *UpdateEKSClusterRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*UpdateEKSClusterRequest) ToJsonString

func (r *UpdateEKSClusterRequest) ToJsonString() string

type UpdateEKSClusterRequestParams added in v1.0.426

type UpdateEKSClusterRequestParams struct {
	// 弹性集群Id
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// 弹性集群名称
	ClusterName *string `json:"ClusterName,omitnil,omitempty" name:"ClusterName"`

	// 弹性集群描述信息
	ClusterDesc *string `json:"ClusterDesc,omitnil,omitempty" name:"ClusterDesc"`

	// 子网Id 列表
	SubnetIds []*string `json:"SubnetIds,omitnil,omitempty" name:"SubnetIds"`

	// 弹性容器集群公网访问LB信息
	PublicLB *ClusterPublicLB `json:"PublicLB,omitnil,omitempty" name:"PublicLB"`

	// 弹性容器集群内网访问LB信息
	InternalLB *ClusterInternalLB `json:"InternalLB,omitnil,omitempty" name:"InternalLB"`

	// Service 子网Id
	ServiceSubnetId *string `json:"ServiceSubnetId,omitnil,omitempty" name:"ServiceSubnetId"`

	// 集群自定义的dns 服务器信息
	DnsServers []*DnsServerConf `json:"DnsServers,omitnil,omitempty" name:"DnsServers"`

	// 是否清空自定义dns 服务器设置。为1 表示 是。其他表示 否。
	ClearDnsServer *string `json:"ClearDnsServer,omitnil,omitempty" name:"ClearDnsServer"`

	// 将来删除集群时是否要删除cbs。默认为 FALSE
	NeedDeleteCbs *bool `json:"NeedDeleteCbs,omitnil,omitempty" name:"NeedDeleteCbs"`

	// 标记是否是新的内外网。默认为false
	ProxyLB *bool `json:"ProxyLB,omitnil,omitempty" name:"ProxyLB"`

	// 扩展参数。须是map[string]string 的json 格式。
	ExtraParam *string `json:"ExtraParam,omitnil,omitempty" name:"ExtraParam"`
}

Predefined struct for user

type UpdateEKSClusterResponse

type UpdateEKSClusterResponse struct {
	*tchttp.BaseResponse
	Response *UpdateEKSClusterResponseParams `json:"Response"`
}

func NewUpdateEKSClusterResponse

func NewUpdateEKSClusterResponse() (response *UpdateEKSClusterResponse)

func (*UpdateEKSClusterResponse) FromJsonString

func (r *UpdateEKSClusterResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*UpdateEKSClusterResponse) ToJsonString

func (r *UpdateEKSClusterResponse) ToJsonString() string

type UpdateEKSClusterResponseParams added in v1.0.426

type UpdateEKSClusterResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type UpdateEKSContainerInstanceRequest added in v1.0.254

type UpdateEKSContainerInstanceRequest struct {
	*tchttp.BaseRequest

	// 容器实例 ID
	EksCiId *string `json:"EksCiId,omitnil,omitempty" name:"EksCiId"`

	// 实例重启策略: Always(总是重启)、Never(从不重启)、OnFailure(失败时重启)
	RestartPolicy *string `json:"RestartPolicy,omitnil,omitempty" name:"RestartPolicy"`

	// 数据卷,包含NfsVolume数组和CbsVolume数组
	EksCiVolume *EksCiVolume `json:"EksCiVolume,omitnil,omitempty" name:"EksCiVolume"`

	// 容器组
	Containers []*Container `json:"Containers,omitnil,omitempty" name:"Containers"`

	// Init 容器组
	InitContainers []*Container `json:"InitContainers,omitnil,omitempty" name:"InitContainers"`

	// 容器实例名称
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// 镜像仓库凭证数组
	ImageRegistryCredentials []*ImageRegistryCredential `json:"ImageRegistryCredentials,omitnil,omitempty" name:"ImageRegistryCredentials"`
}

func NewUpdateEKSContainerInstanceRequest added in v1.0.254

func NewUpdateEKSContainerInstanceRequest() (request *UpdateEKSContainerInstanceRequest)

func (*UpdateEKSContainerInstanceRequest) FromJsonString added in v1.0.254

func (r *UpdateEKSContainerInstanceRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*UpdateEKSContainerInstanceRequest) ToJsonString added in v1.0.254

func (r *UpdateEKSContainerInstanceRequest) ToJsonString() string

type UpdateEKSContainerInstanceRequestParams added in v1.0.426

type UpdateEKSContainerInstanceRequestParams struct {
	// 容器实例 ID
	EksCiId *string `json:"EksCiId,omitnil,omitempty" name:"EksCiId"`

	// 实例重启策略: Always(总是重启)、Never(从不重启)、OnFailure(失败时重启)
	RestartPolicy *string `json:"RestartPolicy,omitnil,omitempty" name:"RestartPolicy"`

	// 数据卷,包含NfsVolume数组和CbsVolume数组
	EksCiVolume *EksCiVolume `json:"EksCiVolume,omitnil,omitempty" name:"EksCiVolume"`

	// 容器组
	Containers []*Container `json:"Containers,omitnil,omitempty" name:"Containers"`

	// Init 容器组
	InitContainers []*Container `json:"InitContainers,omitnil,omitempty" name:"InitContainers"`

	// 容器实例名称
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// 镜像仓库凭证数组
	ImageRegistryCredentials []*ImageRegistryCredential `json:"ImageRegistryCredentials,omitnil,omitempty" name:"ImageRegistryCredentials"`
}

Predefined struct for user

type UpdateEKSContainerInstanceResponse added in v1.0.254

type UpdateEKSContainerInstanceResponse struct {
	*tchttp.BaseResponse
	Response *UpdateEKSContainerInstanceResponseParams `json:"Response"`
}

func NewUpdateEKSContainerInstanceResponse added in v1.0.254

func NewUpdateEKSContainerInstanceResponse() (response *UpdateEKSContainerInstanceResponse)

func (*UpdateEKSContainerInstanceResponse) FromJsonString added in v1.0.254

func (r *UpdateEKSContainerInstanceResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*UpdateEKSContainerInstanceResponse) ToJsonString added in v1.0.254

func (r *UpdateEKSContainerInstanceResponse) ToJsonString() string

type UpdateEKSContainerInstanceResponseParams added in v1.0.426

type UpdateEKSContainerInstanceResponseParams struct {
	// 容器实例 ID
	// 注意:此字段可能返回 null,表示取不到有效值。
	EksCiId *string `json:"EksCiId,omitnil,omitempty" name:"EksCiId"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type UpdateEdgeClusterVersionRequest added in v1.0.510

type UpdateEdgeClusterVersionRequest struct {
	*tchttp.BaseRequest

	// 集群 Id
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// 需要升级到的版本
	EdgeVersion *string `json:"EdgeVersion,omitnil,omitempty" name:"EdgeVersion"`

	// 自定义边缘组件镜像仓库前缀
	RegistryPrefix *string `json:"RegistryPrefix,omitnil,omitempty" name:"RegistryPrefix"`

	// 是否跳过预检查阶段
	SkipPreCheck *bool `json:"SkipPreCheck,omitnil,omitempty" name:"SkipPreCheck"`
}

func NewUpdateEdgeClusterVersionRequest added in v1.0.510

func NewUpdateEdgeClusterVersionRequest() (request *UpdateEdgeClusterVersionRequest)

func (*UpdateEdgeClusterVersionRequest) FromJsonString added in v1.0.510

func (r *UpdateEdgeClusterVersionRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*UpdateEdgeClusterVersionRequest) ToJsonString added in v1.0.510

func (r *UpdateEdgeClusterVersionRequest) ToJsonString() string

type UpdateEdgeClusterVersionRequestParams added in v1.0.510

type UpdateEdgeClusterVersionRequestParams struct {
	// 集群 Id
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// 需要升级到的版本
	EdgeVersion *string `json:"EdgeVersion,omitnil,omitempty" name:"EdgeVersion"`

	// 自定义边缘组件镜像仓库前缀
	RegistryPrefix *string `json:"RegistryPrefix,omitnil,omitempty" name:"RegistryPrefix"`

	// 是否跳过预检查阶段
	SkipPreCheck *bool `json:"SkipPreCheck,omitnil,omitempty" name:"SkipPreCheck"`
}

Predefined struct for user

type UpdateEdgeClusterVersionResponse added in v1.0.510

type UpdateEdgeClusterVersionResponse struct {
	*tchttp.BaseResponse
	Response *UpdateEdgeClusterVersionResponseParams `json:"Response"`
}

func NewUpdateEdgeClusterVersionResponse added in v1.0.510

func NewUpdateEdgeClusterVersionResponse() (response *UpdateEdgeClusterVersionResponse)

func (*UpdateEdgeClusterVersionResponse) FromJsonString added in v1.0.510

func (r *UpdateEdgeClusterVersionResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*UpdateEdgeClusterVersionResponse) ToJsonString added in v1.0.510

func (r *UpdateEdgeClusterVersionResponse) ToJsonString() string

type UpdateEdgeClusterVersionResponseParams added in v1.0.510

type UpdateEdgeClusterVersionResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type UpdateImageCacheRequest added in v1.0.363

type UpdateImageCacheRequest struct {
	*tchttp.BaseRequest

	// 镜像缓存Id
	ImageCacheId *string `json:"ImageCacheId,omitnil,omitempty" name:"ImageCacheId"`

	// 镜像缓存名称
	ImageCacheName *string `json:"ImageCacheName,omitnil,omitempty" name:"ImageCacheName"`

	// 镜像仓库凭证数组
	ImageRegistryCredentials []*ImageRegistryCredential `json:"ImageRegistryCredentials,omitnil,omitempty" name:"ImageRegistryCredentials"`

	// 用于制作镜像缓存的容器镜像列表
	Images []*string `json:"Images,omitnil,omitempty" name:"Images"`

	// 镜像缓存的大小。默认为20 GiB。取值范围参考[云硬盘类型](https://cloud.tencent.com/document/product/362/2353)中的高性能云盘类型的大小限制。
	ImageCacheSize *uint64 `json:"ImageCacheSize,omitnil,omitempty" name:"ImageCacheSize"`

	// 镜像缓存保留时间天数,过期将会自动清理,默认为0,永不过期。
	RetentionDays *uint64 `json:"RetentionDays,omitnil,omitempty" name:"RetentionDays"`

	// 安全组Id
	SecurityGroupIds []*string `json:"SecurityGroupIds,omitnil,omitempty" name:"SecurityGroupIds"`
}

func NewUpdateImageCacheRequest added in v1.0.363

func NewUpdateImageCacheRequest() (request *UpdateImageCacheRequest)

func (*UpdateImageCacheRequest) FromJsonString added in v1.0.363

func (r *UpdateImageCacheRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*UpdateImageCacheRequest) ToJsonString added in v1.0.363

func (r *UpdateImageCacheRequest) ToJsonString() string

type UpdateImageCacheRequestParams added in v1.0.426

type UpdateImageCacheRequestParams struct {
	// 镜像缓存Id
	ImageCacheId *string `json:"ImageCacheId,omitnil,omitempty" name:"ImageCacheId"`

	// 镜像缓存名称
	ImageCacheName *string `json:"ImageCacheName,omitnil,omitempty" name:"ImageCacheName"`

	// 镜像仓库凭证数组
	ImageRegistryCredentials []*ImageRegistryCredential `json:"ImageRegistryCredentials,omitnil,omitempty" name:"ImageRegistryCredentials"`

	// 用于制作镜像缓存的容器镜像列表
	Images []*string `json:"Images,omitnil,omitempty" name:"Images"`

	// 镜像缓存的大小。默认为20 GiB。取值范围参考[云硬盘类型](https://cloud.tencent.com/document/product/362/2353)中的高性能云盘类型的大小限制。
	ImageCacheSize *uint64 `json:"ImageCacheSize,omitnil,omitempty" name:"ImageCacheSize"`

	// 镜像缓存保留时间天数,过期将会自动清理,默认为0,永不过期。
	RetentionDays *uint64 `json:"RetentionDays,omitnil,omitempty" name:"RetentionDays"`

	// 安全组Id
	SecurityGroupIds []*string `json:"SecurityGroupIds,omitnil,omitempty" name:"SecurityGroupIds"`
}

Predefined struct for user

type UpdateImageCacheResponse added in v1.0.363

type UpdateImageCacheResponse struct {
	*tchttp.BaseResponse
	Response *UpdateImageCacheResponseParams `json:"Response"`
}

func NewUpdateImageCacheResponse added in v1.0.363

func NewUpdateImageCacheResponse() (response *UpdateImageCacheResponse)

func (*UpdateImageCacheResponse) FromJsonString added in v1.0.363

func (r *UpdateImageCacheResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*UpdateImageCacheResponse) ToJsonString added in v1.0.363

func (r *UpdateImageCacheResponse) ToJsonString() string

type UpdateImageCacheResponseParams added in v1.0.426

type UpdateImageCacheResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type UpdateTKEEdgeClusterRequest added in v1.0.412

type UpdateTKEEdgeClusterRequest struct {
	*tchttp.BaseRequest

	// 边缘计算集群ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// 边缘计算集群名称
	ClusterName *string `json:"ClusterName,omitnil,omitempty" name:"ClusterName"`

	// 边缘计算集群描述信息
	ClusterDesc *string `json:"ClusterDesc,omitnil,omitempty" name:"ClusterDesc"`

	// 边缘计算集群的pod cidr
	PodCIDR *string `json:"PodCIDR,omitnil,omitempty" name:"PodCIDR"`

	// 边缘计算集群的service cidr
	ServiceCIDR *string `json:"ServiceCIDR,omitnil,omitempty" name:"ServiceCIDR"`

	// 边缘计算集群公网访问LB信息
	PublicLB *EdgeClusterPublicLB `json:"PublicLB,omitnil,omitempty" name:"PublicLB"`

	// 边缘计算集群内网访问LB信息
	InternalLB *EdgeClusterInternalLB `json:"InternalLB,omitnil,omitempty" name:"InternalLB"`

	// 边缘计算集群的CoreDns部署信息
	CoreDns *string `json:"CoreDns,omitnil,omitempty" name:"CoreDns"`

	// 边缘计算集群的健康检查多地域部署信息
	HealthRegion *string `json:"HealthRegion,omitnil,omitempty" name:"HealthRegion"`

	// 边缘计算集群的健康检查部署信息
	Health *string `json:"Health,omitnil,omitempty" name:"Health"`

	// 边缘计算集群的GridDaemon部署信息
	GridDaemon *string `json:"GridDaemon,omitnil,omitempty" name:"GridDaemon"`

	// 边缘集群开启自动升配
	AutoUpgradeClusterLevel *bool `json:"AutoUpgradeClusterLevel,omitnil,omitempty" name:"AutoUpgradeClusterLevel"`

	// 边缘集群的集群规模
	ClusterLevel *string `json:"ClusterLevel,omitnil,omitempty" name:"ClusterLevel"`
}

func NewUpdateTKEEdgeClusterRequest added in v1.0.412

func NewUpdateTKEEdgeClusterRequest() (request *UpdateTKEEdgeClusterRequest)

func (*UpdateTKEEdgeClusterRequest) FromJsonString added in v1.0.412

func (r *UpdateTKEEdgeClusterRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*UpdateTKEEdgeClusterRequest) ToJsonString added in v1.0.412

func (r *UpdateTKEEdgeClusterRequest) ToJsonString() string

type UpdateTKEEdgeClusterRequestParams added in v1.0.426

type UpdateTKEEdgeClusterRequestParams struct {
	// 边缘计算集群ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// 边缘计算集群名称
	ClusterName *string `json:"ClusterName,omitnil,omitempty" name:"ClusterName"`

	// 边缘计算集群描述信息
	ClusterDesc *string `json:"ClusterDesc,omitnil,omitempty" name:"ClusterDesc"`

	// 边缘计算集群的pod cidr
	PodCIDR *string `json:"PodCIDR,omitnil,omitempty" name:"PodCIDR"`

	// 边缘计算集群的service cidr
	ServiceCIDR *string `json:"ServiceCIDR,omitnil,omitempty" name:"ServiceCIDR"`

	// 边缘计算集群公网访问LB信息
	PublicLB *EdgeClusterPublicLB `json:"PublicLB,omitnil,omitempty" name:"PublicLB"`

	// 边缘计算集群内网访问LB信息
	InternalLB *EdgeClusterInternalLB `json:"InternalLB,omitnil,omitempty" name:"InternalLB"`

	// 边缘计算集群的CoreDns部署信息
	CoreDns *string `json:"CoreDns,omitnil,omitempty" name:"CoreDns"`

	// 边缘计算集群的健康检查多地域部署信息
	HealthRegion *string `json:"HealthRegion,omitnil,omitempty" name:"HealthRegion"`

	// 边缘计算集群的健康检查部署信息
	Health *string `json:"Health,omitnil,omitempty" name:"Health"`

	// 边缘计算集群的GridDaemon部署信息
	GridDaemon *string `json:"GridDaemon,omitnil,omitempty" name:"GridDaemon"`

	// 边缘集群开启自动升配
	AutoUpgradeClusterLevel *bool `json:"AutoUpgradeClusterLevel,omitnil,omitempty" name:"AutoUpgradeClusterLevel"`

	// 边缘集群的集群规模
	ClusterLevel *string `json:"ClusterLevel,omitnil,omitempty" name:"ClusterLevel"`
}

Predefined struct for user

type UpdateTKEEdgeClusterResponse added in v1.0.412

type UpdateTKEEdgeClusterResponse struct {
	*tchttp.BaseResponse
	Response *UpdateTKEEdgeClusterResponseParams `json:"Response"`
}

func NewUpdateTKEEdgeClusterResponse added in v1.0.412

func NewUpdateTKEEdgeClusterResponse() (response *UpdateTKEEdgeClusterResponse)

func (*UpdateTKEEdgeClusterResponse) FromJsonString added in v1.0.412

func (r *UpdateTKEEdgeClusterResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*UpdateTKEEdgeClusterResponse) ToJsonString added in v1.0.412

func (r *UpdateTKEEdgeClusterResponse) ToJsonString() string

type UpdateTKEEdgeClusterResponseParams added in v1.0.426

type UpdateTKEEdgeClusterResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type UpgradeAbleInstancesItem

type UpgradeAbleInstancesItem struct {
	// 节点Id
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// 节点的当前版本
	Version *string `json:"Version,omitnil,omitempty" name:"Version"`

	// 当前版本的最新小版本
	// 注意:此字段可能返回 null,表示取不到有效值。
	LatestVersion *string `json:"LatestVersion,omitnil,omitempty" name:"LatestVersion"`

	// RuntimeVersion
	RuntimeVersion *string `json:"RuntimeVersion,omitnil,omitempty" name:"RuntimeVersion"`

	// RuntimeLatestVersion
	RuntimeLatestVersion *string `json:"RuntimeLatestVersion,omitnil,omitempty" name:"RuntimeLatestVersion"`
}

type UpgradeClusterInstancesRequest

type UpgradeClusterInstancesRequest struct {
	*tchttp.BaseRequest

	// 集群ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// create 表示开始一次升级任务
	// pause 表示停止任务
	// resume表示继续任务
	// abort表示终止任务
	Operation *string `json:"Operation,omitnil,omitempty" name:"Operation"`

	// 升级类型,只有Operation是create需要设置
	// reset 大版本重装升级
	// hot 小版本热升级
	// major 大版本原地升级
	UpgradeType *string `json:"UpgradeType,omitnil,omitempty" name:"UpgradeType"`

	// 需要升级的节点列表
	InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" name:"InstanceIds"`

	// 当节点重新加入集群时候所使用的参数,参考添加已有节点接口
	ResetParam *UpgradeNodeResetParam `json:"ResetParam,omitnil,omitempty" name:"ResetParam"`

	// 是否忽略节点升级前检查
	SkipPreCheck *bool `json:"SkipPreCheck,omitnil,omitempty" name:"SkipPreCheck"`

	// 最大可容忍的不可用Pod比例
	MaxNotReadyPercent *float64 `json:"MaxNotReadyPercent,omitnil,omitempty" name:"MaxNotReadyPercent"`

	// 是否升级节点运行时,默认false不升级
	UpgradeRunTime *bool `json:"UpgradeRunTime,omitnil,omitempty" name:"UpgradeRunTime"`
}

func NewUpgradeClusterInstancesRequest

func NewUpgradeClusterInstancesRequest() (request *UpgradeClusterInstancesRequest)

func (*UpgradeClusterInstancesRequest) FromJsonString

func (r *UpgradeClusterInstancesRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*UpgradeClusterInstancesRequest) ToJsonString

func (r *UpgradeClusterInstancesRequest) ToJsonString() string

type UpgradeClusterInstancesRequestParams added in v1.0.426

type UpgradeClusterInstancesRequestParams struct {
	// 集群ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// create 表示开始一次升级任务
	// pause 表示停止任务
	// resume表示继续任务
	// abort表示终止任务
	Operation *string `json:"Operation,omitnil,omitempty" name:"Operation"`

	// 升级类型,只有Operation是create需要设置
	// reset 大版本重装升级
	// hot 小版本热升级
	// major 大版本原地升级
	UpgradeType *string `json:"UpgradeType,omitnil,omitempty" name:"UpgradeType"`

	// 需要升级的节点列表
	InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" name:"InstanceIds"`

	// 当节点重新加入集群时候所使用的参数,参考添加已有节点接口
	ResetParam *UpgradeNodeResetParam `json:"ResetParam,omitnil,omitempty" name:"ResetParam"`

	// 是否忽略节点升级前检查
	SkipPreCheck *bool `json:"SkipPreCheck,omitnil,omitempty" name:"SkipPreCheck"`

	// 最大可容忍的不可用Pod比例
	MaxNotReadyPercent *float64 `json:"MaxNotReadyPercent,omitnil,omitempty" name:"MaxNotReadyPercent"`

	// 是否升级节点运行时,默认false不升级
	UpgradeRunTime *bool `json:"UpgradeRunTime,omitnil,omitempty" name:"UpgradeRunTime"`
}

Predefined struct for user

type UpgradeClusterInstancesResponse

type UpgradeClusterInstancesResponse struct {
	*tchttp.BaseResponse
	Response *UpgradeClusterInstancesResponseParams `json:"Response"`
}

func NewUpgradeClusterInstancesResponse

func NewUpgradeClusterInstancesResponse() (response *UpgradeClusterInstancesResponse)

func (*UpgradeClusterInstancesResponse) FromJsonString

func (r *UpgradeClusterInstancesResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*UpgradeClusterInstancesResponse) ToJsonString

func (r *UpgradeClusterInstancesResponse) ToJsonString() string

type UpgradeClusterInstancesResponseParams added in v1.0.426

type UpgradeClusterInstancesResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type UpgradeClusterReleaseRequest added in v1.0.554

type UpgradeClusterReleaseRequest struct {
	*tchttp.BaseRequest

	// 集群ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// 自定义的应用名称
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// 应用命名空间
	Namespace *string `json:"Namespace,omitnil,omitempty" name:"Namespace"`

	// 制品名称或从第三方repo 安装chart时,制品压缩包下载地址, 不支持重定向类型chart 地址,结尾为*.tgz
	Chart *string `json:"Chart,omitnil,omitempty" name:"Chart"`

	// 自定义参数,覆盖chart 中values.yaml 中的参数
	Values *ReleaseValues `json:"Values,omitnil,omitempty" name:"Values"`

	// 制品来源,范围:tke-market 或 other
	ChartFrom *string `json:"ChartFrom,omitnil,omitempty" name:"ChartFrom"`

	// 制品版本( 从第三方安装时,不传这个参数)
	ChartVersion *string `json:"ChartVersion,omitnil,omitempty" name:"ChartVersion"`

	// 制品仓库URL地址
	ChartRepoURL *string `json:"ChartRepoURL,omitnil,omitempty" name:"ChartRepoURL"`

	// 制品访问用户名
	Username *string `json:"Username,omitnil,omitempty" name:"Username"`

	// 制品访问密码
	Password *string `json:"Password,omitnil,omitempty" name:"Password"`

	// 制品命名空间
	ChartNamespace *string `json:"ChartNamespace,omitnil,omitempty" name:"ChartNamespace"`

	// 集群类型,支持传 tke, eks, tkeedge, external(注册集群)
	ClusterType *string `json:"ClusterType,omitnil,omitempty" name:"ClusterType"`
}

func NewUpgradeClusterReleaseRequest added in v1.0.554

func NewUpgradeClusterReleaseRequest() (request *UpgradeClusterReleaseRequest)

func (*UpgradeClusterReleaseRequest) FromJsonString added in v1.0.554

func (r *UpgradeClusterReleaseRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*UpgradeClusterReleaseRequest) ToJsonString added in v1.0.554

func (r *UpgradeClusterReleaseRequest) ToJsonString() string

type UpgradeClusterReleaseRequestParams added in v1.0.554

type UpgradeClusterReleaseRequestParams struct {
	// 集群ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// 自定义的应用名称
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// 应用命名空间
	Namespace *string `json:"Namespace,omitnil,omitempty" name:"Namespace"`

	// 制品名称或从第三方repo 安装chart时,制品压缩包下载地址, 不支持重定向类型chart 地址,结尾为*.tgz
	Chart *string `json:"Chart,omitnil,omitempty" name:"Chart"`

	// 自定义参数,覆盖chart 中values.yaml 中的参数
	Values *ReleaseValues `json:"Values,omitnil,omitempty" name:"Values"`

	// 制品来源,范围:tke-market 或 other
	ChartFrom *string `json:"ChartFrom,omitnil,omitempty" name:"ChartFrom"`

	// 制品版本( 从第三方安装时,不传这个参数)
	ChartVersion *string `json:"ChartVersion,omitnil,omitempty" name:"ChartVersion"`

	// 制品仓库URL地址
	ChartRepoURL *string `json:"ChartRepoURL,omitnil,omitempty" name:"ChartRepoURL"`

	// 制品访问用户名
	Username *string `json:"Username,omitnil,omitempty" name:"Username"`

	// 制品访问密码
	Password *string `json:"Password,omitnil,omitempty" name:"Password"`

	// 制品命名空间
	ChartNamespace *string `json:"ChartNamespace,omitnil,omitempty" name:"ChartNamespace"`

	// 集群类型,支持传 tke, eks, tkeedge, external(注册集群)
	ClusterType *string `json:"ClusterType,omitnil,omitempty" name:"ClusterType"`
}

Predefined struct for user

type UpgradeClusterReleaseResponse added in v1.0.554

type UpgradeClusterReleaseResponse struct {
	*tchttp.BaseResponse
	Response *UpgradeClusterReleaseResponseParams `json:"Response"`
}

func NewUpgradeClusterReleaseResponse added in v1.0.554

func NewUpgradeClusterReleaseResponse() (response *UpgradeClusterReleaseResponse)

func (*UpgradeClusterReleaseResponse) FromJsonString added in v1.0.554

func (r *UpgradeClusterReleaseResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*UpgradeClusterReleaseResponse) ToJsonString added in v1.0.554

func (r *UpgradeClusterReleaseResponse) ToJsonString() string

type UpgradeClusterReleaseResponseParams added in v1.0.554

type UpgradeClusterReleaseResponseParams struct {
	// 应用详情
	// 注意:此字段可能返回 null,表示取不到有效值。
	Release *PendingRelease `json:"Release,omitnil,omitempty" name:"Release"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type UpgradeNodeResetParam

type UpgradeNodeResetParam struct {
	// 实例额外需要设置参数信息
	InstanceAdvancedSettings *InstanceAdvancedSettings `json:"InstanceAdvancedSettings,omitnil,omitempty" name:"InstanceAdvancedSettings"`

	// 增强服务。通过该参数可以指定是否开启云安全、云监控等服务。若不指定该参数,则默认开启云监控、云安全服务。
	EnhancedService *EnhancedService `json:"EnhancedService,omitnil,omitempty" name:"EnhancedService"`

	// 节点登录信息(目前仅支持使用Password或者单个KeyIds)
	LoginSettings *LoginSettings `json:"LoginSettings,omitnil,omitempty" name:"LoginSettings"`

	// 实例所属安全组。该参数可以通过调用 DescribeSecurityGroups 的返回值中的sgId字段来获取。若不指定该参数,则绑定默认安全组。(目前仅支持设置单个sgId)
	SecurityGroupIds []*string `json:"SecurityGroupIds,omitnil,omitempty" name:"SecurityGroupIds"`
}

type VersionInstance added in v1.0.228

type VersionInstance struct {
	// 版本名称
	// 注意:此字段可能返回 null,表示取不到有效值。
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// 版本信息
	// 注意:此字段可能返回 null,表示取不到有效值。
	Version *string `json:"Version,omitnil,omitempty" name:"Version"`

	// Remark
	// 注意:此字段可能返回 null,表示取不到有效值。
	Remark *string `json:"Remark,omitnil,omitempty" name:"Remark"`
}

type VirtualNode added in v1.0.575

type VirtualNode struct {
	// 虚拟节点名称
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// 虚拟节点所属子网
	SubnetId *string `json:"SubnetId,omitnil,omitempty" name:"SubnetId"`

	// 虚拟节点状态
	Phase *string `json:"Phase,omitnil,omitempty" name:"Phase"`

	// 创建时间
	// 注意:此字段可能返回 null,表示取不到有效值。
	CreatedTime *string `json:"CreatedTime,omitnil,omitempty" name:"CreatedTime"`
}

type VirtualNodePool added in v1.0.575

type VirtualNodePool struct {
	// 节点池ID
	NodePoolId *string `json:"NodePoolId,omitnil,omitempty" name:"NodePoolId"`

	// 子网列表
	// 注意:此字段可能返回 null,表示取不到有效值。
	SubnetIds []*string `json:"SubnetIds,omitnil,omitempty" name:"SubnetIds"`

	// 节点池名称
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// 节点池生命周期
	LifeState *string `json:"LifeState,omitnil,omitempty" name:"LifeState"`

	// 虚拟节点label
	// 注意:此字段可能返回 null,表示取不到有效值。
	Labels []*Label `json:"Labels,omitnil,omitempty" name:"Labels"`

	// 虚拟节点taint
	// 注意:此字段可能返回 null,表示取不到有效值。
	Taints []*Taint `json:"Taints,omitnil,omitempty" name:"Taints"`
}

type VirtualNodeSpec added in v1.0.575

type VirtualNodeSpec struct {
	// 节点展示名称
	DisplayName *string `json:"DisplayName,omitnil,omitempty" name:"DisplayName"`

	// 子网ID
	SubnetId *string `json:"SubnetId,omitnil,omitempty" name:"SubnetId"`

	// 腾讯云标签
	Tags []*Tag `json:"Tags,omitnil,omitempty" name:"Tags"`
}

type VolumeMount added in v1.0.254

type VolumeMount struct {
	// volume名称
	// 注意:此字段可能返回 null,表示取不到有效值。
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// 挂载路径
	// 注意:此字段可能返回 null,表示取不到有效值。
	MountPath *string `json:"MountPath,omitnil,omitempty" name:"MountPath"`

	// 是否只读
	// 注意:此字段可能返回 null,表示取不到有效值。
	ReadOnly *bool `json:"ReadOnly,omitnil,omitempty" name:"ReadOnly"`

	// 子路径
	// 注意:此字段可能返回 null,表示取不到有效值。
	SubPath *string `json:"SubPath,omitnil,omitempty" name:"SubPath"`

	// 传播挂载方式
	// 注意:此字段可能返回 null,表示取不到有效值。
	MountPropagation *string `json:"MountPropagation,omitnil,omitempty" name:"MountPropagation"`

	// 子路径表达式
	// 注意:此字段可能返回 null,表示取不到有效值。
	SubPathExpr *string `json:"SubPathExpr,omitnil,omitempty" name:"SubPathExpr"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL