v20180525

package
v1.0.193 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2021 License: Apache-2.0 Imports: 5 Imported by: 21

Documentation

Index

Constants

View Source
const (

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

	// 内部错误。
	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"

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

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

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

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

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

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

	// 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"

	// 无效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"

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

	// 镜像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_TASKCREATEFAILED = "InternalError.TaskCreateFailed"

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

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

	// 内部错误。
	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"

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

	// 非白名单用户。
	UNSUPPORTEDOPERATION_NOTINWHITELIST = "UnsupportedOperation.NotInWhitelist"
)
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,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 AcquireClusterAdminRoleResponse

type AcquireClusterAdminRoleResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `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 AddExistedInstancesRequest

type AddExistedInstancesRequest struct {
	*tchttp.BaseRequest

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

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

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

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

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

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

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

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

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

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

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 AddExistedInstancesResponse

type AddExistedInstancesResponse struct {
	*tchttp.BaseResponse
	Response *struct {

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

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

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

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

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `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 AddNodeToNodePoolRequest

type AddNodeToNodePoolRequest struct {
	*tchttp.BaseRequest

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

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

	// 节点id
	InstanceIds []*string `json:"InstanceIds,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 AddNodeToNodePoolResponse

type AddNodeToNodePoolResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `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 AddVpcCniSubnetsRequest

type AddVpcCniSubnetsRequest struct {
	*tchttp.BaseRequest

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

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

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

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 AddVpcCniSubnetsResponse

type AddVpcCniSubnetsResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `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 AutoScalingGroupRange

type AutoScalingGroupRange struct {

	// 伸缩组最小实例数
	MinSize *int64 `json:"MinSize,omitempty" name:"MinSize"`

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

type AutoscalingAdded

type AutoscalingAdded struct {

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

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

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

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

type CheckInstancesUpgradeAbleRequest

type CheckInstancesUpgradeAbleRequest struct {
	*tchttp.BaseRequest

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

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

	// 升级类型
	UpgradeType *string `json:"UpgradeType,omitempty" name:"UpgradeType"`

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

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

	// 过滤
	Filter []*Filter `json:"Filter,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 CheckInstancesUpgradeAbleResponse

type CheckInstancesUpgradeAbleResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 集群master当前小版本
		ClusterVersion *string `json:"ClusterVersion,omitempty" name:"ClusterVersion"`

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

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

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

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `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 Client

type Client struct {
	common.Client
}

func NewClient

func NewClient(credential *common.Credential, 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集群内的管理员角色。

可能返回的错误码:

INTERNALERROR = "InternalError"
INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth"
INTERNALERROR_KUBERNETESCLIENTBUILDERROR = "InternalError.KubernetesClientBuildError"
INTERNALERROR_KUBERNETESGETOPERATIONERROR = "InternalError.KubernetesGetOperationError"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
RESOURCENOTFOUND_CLUSTERNOTFOUND = "ResourceNotFound.ClusterNotFound"
RESOURCEUNAVAILABLE_CLUSTERSTATE = "ResourceUnavailable.ClusterState"
UNAUTHORIZEDOPERATION_CAMNOAUTH = "UnauthorizedOperation.CamNoAuth"
UNSUPPORTEDOPERATION_NOTINWHITELIST = "UnsupportedOperation.NotInWhitelist"

func (*Client) AddExistedInstances

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

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

可能返回的错误码:

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_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 将集群内节点移入节点池

可能返回的错误码:

INVALIDPARAMETER_PARAM = "InvalidParameter.Param"

func (*Client) AddVpcCniSubnets

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

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

可能返回的错误码:

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) CheckInstancesUpgradeAble

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

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

可能返回的错误码:

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_CLUSTERNOTFOUND = "ResourceNotFound.ClusterNotFound"

func (*Client) CreateCluster

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

CreateCluster 创建集群

可能返回的错误码:

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_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_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INTERNALERROR_VPCCOMMON = "InternalError.VpcCommon"
INTERNALERROR_VPCRECODRNOTFOUND = "InternalError.VpcRecodrNotFound"
INVALIDPARAMETER = "InvalidParameter"
LIMITEXCEEDED = "LimitExceeded"

func (*Client) CreateClusterAsGroup

func (c *Client) CreateClusterAsGroup(request *CreateClusterAsGroupRequest) (response *CreateClusterAsGroupResponse, err error)

CreateClusterAsGroup 为已经存在的集群创建伸缩组

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INTERNALERROR_ACCOUNTUSERNOTAUTHENTICATED = "InternalError.AccountUserNotAuthenticated"
INTERNALERROR_ASCOMMON = "InternalError.AsCommon"
INTERNALERROR_CLUSTERNOTFOUND = "InternalError.ClusterNotFound"
INTERNALERROR_CVMCOMMON = "InternalError.CvmCommon"
INTERNALERROR_CVMNOTFOUND = "InternalError.CvmNotFound"
INTERNALERROR_DB = "InternalError.Db"
INTERNALERROR_DBAFFECTIVEDROWS = "InternalError.DbAffectivedRows"
INTERNALERROR_IMAGEIDNOTFOUND = "InternalError.ImageIdNotFound"
INTERNALERROR_OSNOTSUPPORT = "InternalError.OsNotSupport"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_ASCOMMONERROR = "InvalidParameter.AsCommonError"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) CreateClusterEndpoint

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

CreateClusterEndpoint 创建集群访问端口(独立集群开启内网/外网访问,托管集群支持开启内网访问)

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth"
INTERNALERROR_CLUSTERSTATE = "InternalError.ClusterState"
INTERNALERROR_DB = "InternalError.Db"
INTERNALERROR_EMPTYCLUSTERNOTSUPPORT = "InternalError.EmptyClusterNotSupport"
INTERNALERROR_KUBECOMMON = "InternalError.KubeCommon"
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"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) CreateClusterEndpointVip

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

CreateClusterEndpointVip 创建托管集群外网访问端口(老的方式,仅支持托管集群外网端口)

可能返回的错误码:

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"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) CreateClusterInstances

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

CreateClusterInstances 扩展(新建)集群节点

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
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"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) CreateClusterNodePool

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

CreateClusterNodePool 创建节点池

可能返回的错误码:

INTERNALERROR_ASCOMMON = "InternalError.AsCommon"
INTERNALERROR_DB = "InternalError.Db"
INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
RESOURCENOTFOUND_ASASGNOTEXIST = "ResourceNotFound.AsAsgNotExist"
RESOURCEUNAVAILABLE_CLUSTERSTATE = "ResourceUnavailable.ClusterState"

func (*Client) CreateClusterNodePoolFromExistingAsg

func (c *Client) CreateClusterNodePoolFromExistingAsg(request *CreateClusterNodePoolFromExistingAsgRequest) (response *CreateClusterNodePoolFromExistingAsgResponse, err error)

CreateClusterNodePoolFromExistingAsg 从伸缩组创建节点池

可能返回的错误码:

INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"

func (*Client) CreateClusterRoute

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

CreateClusterRoute 创建集群路由

可能返回的错误码:

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_PARAM = "InvalidParameter.Param"

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"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) CreatePrometheusDashboard

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

CreatePrometheusDashboard 创建grafana监控面板

可能返回的错误码:

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

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) DeleteCluster

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

DeleteCluster 删除集群(YUNAPI V3版本)

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INTERNALERROR_CLUSTERNOTFOUND = "InternalError.ClusterNotFound"
INTERNALERROR_CLUSTERSTATE = "InternalError.ClusterState"
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"
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) DeleteClusterInstances

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

DeleteClusterInstances 删除集群中的实例

可能返回的错误码:

INTERNALERROR = "InternalError"
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 删除节点池

可能返回的错误码:

INTERNALERROR_DB = "InternalError.Db"
INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"

func (*Client) DeleteClusterRoute

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

DeleteClusterRoute 删除集群路由

可能返回的错误码:

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) 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"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

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"

func (*Client) DeletePrometheusTemplateSync

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

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

可能返回的错误码:

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) DescribeAvailableClusterVersion

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

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

可能返回的错误码:

INTERNALERROR = "InternalError"
INTERNALERROR_PARAM = "InternalError.Param"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
RESOURCENOTFOUND_CLUSTERNOTFOUND = "ResourceNotFound.ClusterNotFound"

func (*Client) DescribeClusterAsGroupOption

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

DescribeClusterAsGroupOption 集群弹性伸缩配置

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
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"
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) DescribeClusterCommonNames

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

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

可能返回的错误码:

INTERNALERROR = "InternalError"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
RESOURCENOTFOUND_CLUSTERNOTFOUND = "ResourceNotFound.ClusterNotFound"
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"

func (*Client) DescribeClusterEndpointStatus

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

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

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
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) DescribeClusterInstances

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

DescribeClusterInstances

查询集群下节点实例信息

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
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"

func (*Client) DescribeClusterKubeconfig

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

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

可能返回的错误码:

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"
UNAUTHORIZEDOPERATION_CAMNOAUTH = "UnauthorizedOperation.CamNoAuth"

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) 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) DescribeClusterRouteTables

func (c *Client) DescribeClusterRouteTables(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 查询集群路由

可能返回的错误码:

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"
INTERNALERROR = "InternalError"
INTERNALERROR_ACCOUNTUSERNOTAUTHENTICATED = "InternalError.AccountUserNotAuthenticated"
INTERNALERROR_COMPONENTCLIENTHTTP = "InternalError.ComponentClientHttp"
INTERNALERROR_DB = "InternalError.Db"
INTERNALERROR_DBAFFECTIVEDROWS = "InternalError.DbAffectivedRows"
INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound"
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_CLUSTERSTATE = "ResourceUnavailable.ClusterState"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_CAMNOAUTH = "UnauthorizedOperation.CamNoAuth"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeClusters

func (c *Client) DescribeClusters(request *DescribeClustersRequest) (response *DescribeClustersResponse, err error)

DescribeClusters 查询集群列表

可能返回的错误码:

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"

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"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeEKSClusters

func (c *Client) DescribeEKSClusters(request *DescribeEKSClustersRequest) (response *DescribeEKSClustersResponse, err error)

DescribeEKSClusters 查询弹性集群列表

可能返回的错误码:

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

func (*Client) DescribeEnableVpcCniProgress

func (c *Client) DescribeEnableVpcCniProgress(request *DescribeEnableVpcCniProgressRequest) (response *DescribeEnableVpcCniProgressResponse, err error)

DescribeEnableVpcCniProgress 本接口用于查询开启vpc-cni模式的任务进度

可能返回的错误码:

INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal"

func (*Client) DescribeExistedInstances

func (c *Client) DescribeExistedInstances(request *DescribeExistedInstancesRequest) (response *DescribeExistedInstancesResponse, err error)

DescribeExistedInstances 查询已经存在的节点,判断是否可以加入集群

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
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) DescribeImages

func (c *Client) DescribeImages(request *DescribeImagesRequest) (response *DescribeImagesResponse, err error)

DescribeImages 获取镜像信息

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth"
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) DescribePrometheusAgentInstances

func (c *Client) DescribePrometheusAgentInstances(request *DescribePrometheusAgentInstancesRequest) (response *DescribePrometheusAgentInstancesResponse, err error)

DescribePrometheusAgentInstances 获取关联目标集群的实例列表

可能返回的错误码:

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 获取被关联集群列表

可能返回的错误码:

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 获取告警历史

可能返回的错误码:

INTERNALERROR = "InternalError"
INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
INVALIDPARAMETER_PROMINSTANCENOTFOUND = "InvalidParameter.PromInstanceNotFound"

func (*Client) DescribePrometheusAlertRule

func (c *Client) DescribePrometheusAlertRule(request *DescribePrometheusAlertRuleRequest) (response *DescribePrometheusAlertRuleResponse, err error)

DescribePrometheusAlertRule 获取告警规则列表

可能返回的错误码:

INTERNALERROR = "InternalError"
INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
INVALIDPARAMETER_PROMINSTANCENOTFOUND = "InvalidParameter.PromInstanceNotFound"

func (*Client) DescribePrometheusOverviews

func (c *Client) DescribePrometheusOverviews(request *DescribePrometheusOverviewsRequest) (response *DescribePrometheusOverviewsResponse, err error)

DescribePrometheusOverviews 获取实例列表

可能返回的错误码:

INTERNALERROR = "InternalError"
INTERNALERROR_DB = "InternalError.Db"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"

func (*Client) DescribePrometheusTargets

func (c *Client) DescribePrometheusTargets(request *DescribePrometheusTargetsRequest) (response *DescribePrometheusTargetsResponse, err error)

DescribePrometheusTargets 获取targets信息

可能返回的错误码:

INTERNALERROR = "InternalError"
INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_PROMINSTANCENOTFOUND = "InvalidParameter.PromInstanceNotFound"

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"

func (*Client) DescribePrometheusTemplates

func (c *Client) DescribePrometheusTemplates(request *DescribePrometheusTemplatesRequest) (response *DescribePrometheusTemplatesResponse, err error)

DescribePrometheusTemplates 拉取模板列表,默认模板将总是在最前面

可能返回的错误码:

INTERNALERROR_DB = "InternalError.Db"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"

func (*Client) DescribeRegions

func (c *Client) DescribeRegions(request *DescribeRegionsRequest) (response *DescribeRegionsResponse, err error)

DescribeRegions 获取容器服务支持的所有地域

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
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"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
RESOURCEINUSE = "ResourceInUse"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeRouteTableConflicts

func (c *Client) DescribeRouteTableConflicts(request *DescribeRouteTableConflictsRequest) (response *DescribeRouteTableConflictsResponse, err error)

DescribeRouteTableConflicts 查询路由表冲突列表

可能返回的错误码:

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) EnableVpcCniNetworkType

func (c *Client) EnableVpcCniNetworkType(request *EnableVpcCniNetworkTypeRequest) (response *EnableVpcCniNetworkTypeResponse, err error)

EnableVpcCniNetworkType GR集群可以通过本接口附加vpc-cni容器网络插件,开启vpc-cni容器网络能力

可能返回的错误码:

INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"

func (*Client) GetUpgradeInstanceProgress

func (c *Client) GetUpgradeInstanceProgress(request *GetUpgradeInstanceProgressRequest) (response *GetUpgradeInstanceProgressResponse, err error)

GetUpgradeInstanceProgress 获得节点升级当前的进度

可能返回的错误码:

INTERNALERROR_TASKNOTFOUND = "InternalError.TaskNotFound"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"

func (*Client) ModifyClusterAsGroupAttribute

func (c *Client) ModifyClusterAsGroupAttribute(request *ModifyClusterAsGroupAttributeRequest) (response *ModifyClusterAsGroupAttributeResponse, err error)

ModifyClusterAsGroupAttribute 修改集群伸缩组属性

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
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 修改集群弹性伸缩属性

可能返回的错误码:

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"
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 修改集群属性

可能返回的错误码:

INTERNALERROR = "InternalError"
INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth"
INTERNALERROR_DB = "InternalError.Db"
INTERNALERROR_DBAFFECTIVEDROWS = "InternalError.DbAffectivedRows"
INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound"
INTERNALERROR_PARAM = "InternalError.Param"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
MISSINGPARAMETER = "MissingParameter"
RESOURCEINUSE = "ResourceInUse"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"

func (*Client) ModifyClusterEndpointSP

func (c *Client) ModifyClusterEndpointSP(request *ModifyClusterEndpointSPRequest) (response *ModifyClusterEndpointSPResponse, err error)

ModifyClusterEndpointSP 修改托管集群外网端口的安全策略(老的方式,仅支持托管集群外网端口)

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth"
INTERNALERROR_CLUSTERNOTFOUND = "InternalError.ClusterNotFound"
INTERNALERROR_DB = "InternalError.Db"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal"
INTERNALERROR_VPCUNEXPECTEDERROR = "InternalError.VPCUnexpectedError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
RESOURCEINUSE = "ResourceInUse"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) ModifyClusterNodePool

func (c *Client) ModifyClusterNodePool(request *ModifyClusterNodePoolRequest) (response *ModifyClusterNodePoolResponse, err error)

ModifyClusterNodePool 编辑节点池

可能返回的错误码:

INTERNALERROR_DB = "InternalError.Db"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
UNSUPPORTEDOPERATION_CAENABLEFAILED = "UnsupportedOperation.CaEnableFailed"

func (*Client) ModifyNodePoolDesiredCapacityAboutAsg

func (c *Client) ModifyNodePoolDesiredCapacityAboutAsg(request *ModifyNodePoolDesiredCapacityAboutAsgRequest) (response *ModifyNodePoolDesiredCapacityAboutAsgResponse, err error)

ModifyNodePoolDesiredCapacityAboutAsg 修改节点池关联伸缩组的期望实例数

可能返回的错误码:

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_ASASGNOTEXIST = "ResourceNotFound.AsAsgNotExist"
RESOURCENOTFOUND_CLUSTERNOTFOUND = "ResourceNotFound.ClusterNotFound"
UNKNOWNPARAMETER = "UnknownParameter"

func (*Client) ModifyPrometheusTemplate

func (c *Client) ModifyPrometheusTemplate(request *ModifyPrometheusTemplateRequest) (response *ModifyPrometheusTemplateResponse, err error)

ModifyPrometheusTemplate 修改模板内容

可能返回的错误码:

INTERNALERROR = "InternalError"
INTERNALERROR_DB = "InternalError.Db"
INTERNALERROR_PARAM = "InternalError.Param"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
INVALIDPARAMETER_RESOURCENOTFOUND = "InvalidParameter.ResourceNotFound"

func (*Client) RemoveNodeFromNodePool

func (c *Client) RemoveNodeFromNodePool(request *RemoveNodeFromNodePoolRequest) (response *RemoveNodeFromNodePoolResponse, err error)

RemoveNodeFromNodePool 移出节点池节点,但保留在集群内

可能返回的错误码:

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

func (*Client) SetNodePoolNodeProtection

func (c *Client) SetNodePoolNodeProtection(request *SetNodePoolNodeProtectionRequest) (response *SetNodePoolNodeProtectionResponse, err error)

SetNodePoolNodeProtection 仅能设置节点池中处于伸缩组的节点

可能返回的错误码:

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"

func (*Client) SyncPrometheusTemplate

func (c *Client) SyncPrometheusTemplate(request *SyncPrometheusTemplateRequest) (response *SyncPrometheusTemplateResponse, err error)

SyncPrometheusTemplate 同步模板到实例或者集群

可能返回的错误码:

INTERNALERROR_DB = "InternalError.Db"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
INVALIDPARAMETER_PROMINSTANCENOTFOUND = "InvalidParameter.PromInstanceNotFound"
INVALIDPARAMETER_RESOURCENOTFOUND = "InvalidParameter.ResourceNotFound"

func (*Client) UpdateClusterVersion

func (c *Client) UpdateClusterVersion(request *UpdateClusterVersionRequest) (response *UpdateClusterVersionResponse, err error)

UpdateClusterVersion 升级集群 Master 组件到指定版本

可能返回的错误码:

INTERNALERROR = "InternalError"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
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"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) UpgradeClusterInstances

func (c *Client) UpgradeClusterInstances(request *UpgradeClusterInstancesRequest) (response *UpgradeClusterInstancesResponse, err error)

UpgradeClusterInstances 给集群的一批work节点进行升级

可能返回的错误码:

INTERNALERROR_CLUSTERNOTFOUND = "InternalError.ClusterNotFound"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_TASKLIFESTATEERROR = "InternalError.TaskLifeStateError"
INTERNALERROR_TASKNOTFOUND = "InternalError.TaskNotFound"
INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
RESOURCEUNAVAILABLE_CLUSTERSTATE = "ResourceUnavailable.ClusterState"

type Cluster

type Cluster struct {

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

	// 集群名称
	ClusterName *string `json:"ClusterName,omitempty" name:"ClusterName"`

	// 集群描述
	ClusterDescription *string `json:"ClusterDescription,omitempty" name:"ClusterDescription"`

	// 集群版本(默认值为1.10.5)
	ClusterVersion *string `json:"ClusterVersion,omitempty" name:"ClusterVersion"`

	// 集群系统。centos7.2x86_64 或者 ubuntu16.04.1 LTSx86_64,默认取值为ubuntu16.04.1 LTSx86_64
	ClusterOs *string `json:"ClusterOs,omitempty" name:"ClusterOs"`

	// 集群类型,托管集群:MANAGED_CLUSTER,独立集群:INDEPENDENT_CLUSTER。
	ClusterType *string `json:"ClusterType,omitempty" name:"ClusterType"`

	// 集群网络相关参数
	ClusterNetworkSettings *ClusterNetworkSettings `json:"ClusterNetworkSettings,omitempty" name:"ClusterNetworkSettings"`

	// 集群当前node数量
	ClusterNodeNum *uint64 `json:"ClusterNodeNum,omitempty" name:"ClusterNodeNum"`

	// 集群所属的项目ID
	ProjectId *uint64 `json:"ProjectId,omitempty" name:"ProjectId"`

	// 标签描述列表。
	// 注意:此字段可能返回 null,表示取不到有效值。
	TagSpecification []*TagSpecification `json:"TagSpecification,omitempty" name:"TagSpecification"`

	// 集群状态 (Running 运行中  Creating 创建中 Abnormal 异常  )
	ClusterStatus *string `json:"ClusterStatus,omitempty" name:"ClusterStatus"`

	// 集群属性(包括集群不同属性的MAP,属性字段包括NodeNameType (lan-ip模式和hostname 模式,默认无lan-ip模式))
	// 注意:此字段可能返回 null,表示取不到有效值。
	Property *string `json:"Property,omitempty" name:"Property"`

	// 集群当前master数量
	ClusterMaterNodeNum *uint64 `json:"ClusterMaterNodeNum,omitempty" name:"ClusterMaterNodeNum"`

	// 集群使用镜像id
	// 注意:此字段可能返回 null,表示取不到有效值。
	ImageId *string `json:"ImageId,omitempty" name:"ImageId"`

	// OsCustomizeType 系统定制类型
	// 注意:此字段可能返回 null,表示取不到有效值。
	OsCustomizeType *string `json:"OsCustomizeType,omitempty" name:"OsCustomizeType"`

	// 集群运行环境docker或container
	// 注意:此字段可能返回 null,表示取不到有效值。
	ContainerRuntime *string `json:"ContainerRuntime,omitempty" name:"ContainerRuntime"`

	// 创建时间
	// 注意:此字段可能返回 null,表示取不到有效值。
	CreatedTime *string `json:"CreatedTime,omitempty" name:"CreatedTime"`

	// 删除保护开关
	// 注意:此字段可能返回 null,表示取不到有效值。
	DeletionProtection *bool `json:"DeletionProtection,omitempty" name:"DeletionProtection"`

	// 集群是否开启第三方节点支持
	// 注意:此字段可能返回 null,表示取不到有效值。
	EnableExternalNode *bool `json:"EnableExternalNode,omitempty" name:"EnableExternalNode"`
}

type ClusterAdvancedSettings

type ClusterAdvancedSettings struct {

	// 是否启用IPVS
	IPVS *bool `json:"IPVS,omitempty" name:"IPVS"`

	// 是否启用集群节点自动扩缩容(创建集群流程不支持开启此功能)
	AsEnabled *bool `json:"AsEnabled,omitempty" name:"AsEnabled"`

	// 集群使用的runtime类型,包括"docker"和"containerd"两种类型,默认为"docker"
	ContainerRuntime *string `json:"ContainerRuntime,omitempty" name:"ContainerRuntime"`

	// 集群中节点NodeName类型(包括 hostname,lan-ip两种形式,默认为lan-ip。如果开启了hostname模式,创建节点时需要设置HostName参数,并且InstanceName需要和HostName一致)
	NodeNameType *string `json:"NodeNameType,omitempty" name:"NodeNameType"`

	// 集群自定义参数
	ExtraArgs *ClusterExtraArgs `json:"ExtraArgs,omitempty" name:"ExtraArgs"`

	// 集群网络类型(包括GR(全局路由)和VPC-CNI两种模式,默认为GR。
	NetworkType *string `json:"NetworkType,omitempty" name:"NetworkType"`

	// 集群VPC-CNI模式是否为非固定IP,默认: FALSE 固定IP。
	IsNonStaticIpMode *bool `json:"IsNonStaticIpMode,omitempty" name:"IsNonStaticIpMode"`

	// 是否启用集群删除保护
	DeletionProtection *bool `json:"DeletionProtection,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,omitempty" name:"KubeProxyMode"`

	// 是否开启审计开关
	AuditEnabled *bool `json:"AuditEnabled,omitempty" name:"AuditEnabled"`

	// 审计日志上传到的logset日志集
	AuditLogsetId *string `json:"AuditLogsetId,omitempty" name:"AuditLogsetId"`

	// 审计日志上传到的topic
	AuditLogTopicId *string `json:"AuditLogTopicId,omitempty" name:"AuditLogTopicId"`

	// 区分单网卡多IP模式和独立网卡模式
	VpcCniType *string `json:"VpcCniType,omitempty" name:"VpcCniType"`

	// 运行时版本
	RuntimeVersion *string `json:"RuntimeVersion,omitempty" name:"RuntimeVersion"`

	// 是否开节点podCIDR大小的自定义模式
	EnableCustomizedPodCIDR *bool `json:"EnableCustomizedPodCIDR,omitempty" name:"EnableCustomizedPodCIDR"`

	// 自定义模式下的基础pod数量
	BasePodNumber *int64 `json:"BasePodNumber,omitempty" name:"BasePodNumber"`

	// 启用 CiliumMode 的模式,空值表示不启用,“clusterIP” 表示启用 Cilium 支持 ClusterIP
	CiliumMode *string `json:"CiliumMode,omitempty" name:"CiliumMode"`
}

type ClusterAsGroup

type ClusterAsGroup struct {

	// 伸缩组ID
	AutoScalingGroupId *string `json:"AutoScalingGroupId,omitempty" name:"AutoScalingGroupId"`

	// 伸缩组状态(开启 enabled 开启中 enabling 关闭 disabled 关闭中 disabling 更新中 updating 删除中 deleting 开启缩容中 scaleDownEnabling 关闭缩容中 scaleDownDisabling)
	Status *string `json:"Status,omitempty" name:"Status"`

	// 节点是否设置成不可调度
	// 注意:此字段可能返回 null,表示取不到有效值。
	IsUnschedulable *bool `json:"IsUnschedulable,omitempty" name:"IsUnschedulable"`

	// 伸缩组的label列表
	// 注意:此字段可能返回 null,表示取不到有效值。
	Labels []*Label `json:"Labels,omitempty" name:"Labels"`

	// 创建时间
	CreatedTime *string `json:"CreatedTime,omitempty" name:"CreatedTime"`
}

type ClusterAsGroupAttribute

type ClusterAsGroupAttribute struct {

	// 伸缩组ID
	AutoScalingGroupId *string `json:"AutoScalingGroupId,omitempty" name:"AutoScalingGroupId"`

	// 是否开启
	AutoScalingGroupEnabled *bool `json:"AutoScalingGroupEnabled,omitempty" name:"AutoScalingGroupEnabled"`

	// 伸缩组最大最小实例数
	AutoScalingGroupRange *AutoScalingGroupRange `json:"AutoScalingGroupRange,omitempty" name:"AutoScalingGroupRange"`
}

type ClusterAsGroupOption

type ClusterAsGroupOption struct {

	// 是否开启缩容
	// 注意:此字段可能返回 null,表示取不到有效值。
	IsScaleDownEnabled *bool `json:"IsScaleDownEnabled,omitempty" name:"IsScaleDownEnabled"`

	// 多伸缩组情况下扩容选择算法(random 随机选择,most-pods 最多类型的Pod least-waste 最少的资源浪费,默认为random)
	// 注意:此字段可能返回 null,表示取不到有效值。
	Expander *string `json:"Expander,omitempty" name:"Expander"`

	// 最大并发缩容数
	// 注意:此字段可能返回 null,表示取不到有效值。
	MaxEmptyBulkDelete *int64 `json:"MaxEmptyBulkDelete,omitempty" name:"MaxEmptyBulkDelete"`

	// 集群扩容后多少分钟开始判断缩容(默认为10分钟)
	// 注意:此字段可能返回 null,表示取不到有效值。
	ScaleDownDelay *int64 `json:"ScaleDownDelay,omitempty" name:"ScaleDownDelay"`

	// 节点连续空闲多少分钟后被缩容(默认为 10分钟)
	// 注意:此字段可能返回 null,表示取不到有效值。
	ScaleDownUnneededTime *int64 `json:"ScaleDownUnneededTime,omitempty" name:"ScaleDownUnneededTime"`

	// 节点资源使用量低于多少(百分比)时认为空闲(默认: 50(百分比))
	// 注意:此字段可能返回 null,表示取不到有效值。
	ScaleDownUtilizationThreshold *int64 `json:"ScaleDownUtilizationThreshold,omitempty" name:"ScaleDownUtilizationThreshold"`

	// 含有本地存储Pod的节点是否不缩容(默认: FALSE)
	// 注意:此字段可能返回 null,表示取不到有效值。
	SkipNodesWithLocalStorage *bool `json:"SkipNodesWithLocalStorage,omitempty" name:"SkipNodesWithLocalStorage"`

	// 含有kube-system namespace下非DaemonSet管理的Pod的节点是否不缩容 (默认: FALSE)
	// 注意:此字段可能返回 null,表示取不到有效值。
	SkipNodesWithSystemPods *bool `json:"SkipNodesWithSystemPods,omitempty" name:"SkipNodesWithSystemPods"`

	// 计算资源使用量时是否默认忽略DaemonSet的实例(默认值: False,不忽略)
	// 注意:此字段可能返回 null,表示取不到有效值。
	IgnoreDaemonSetsUtilization *bool `json:"IgnoreDaemonSetsUtilization,omitempty" name:"IgnoreDaemonSetsUtilization"`

	// CA做健康性判断的个数,默认3,即超过OkTotalUnreadyCount个数后,CA会进行健康性判断。
	// 注意:此字段可能返回 null,表示取不到有效值。
	OkTotalUnreadyCount *int64 `json:"OkTotalUnreadyCount,omitempty" name:"OkTotalUnreadyCount"`

	// 未就绪节点的最大百分比,此后CA会停止操作
	// 注意:此字段可能返回 null,表示取不到有效值。
	MaxTotalUnreadyPercentage *int64 `json:"MaxTotalUnreadyPercentage,omitempty" name:"MaxTotalUnreadyPercentage"`

	// 表示未准备就绪的节点在有资格进行缩减之前应该停留多长时间
	// 注意:此字段可能返回 null,表示取不到有效值。
	ScaleDownUnreadyTime *int64 `json:"ScaleDownUnreadyTime,omitempty" name:"ScaleDownUnreadyTime"`

	// CA删除未在Kubernetes中注册的节点之前等待的时间
	// 注意:此字段可能返回 null,表示取不到有效值。
	UnregisteredNodeRemovalTime *int64 `json:"UnregisteredNodeRemovalTime,omitempty" name:"UnregisteredNodeRemovalTime"`
}

type ClusterBasicSettings

type ClusterBasicSettings struct {

	// 集群系统。centos7.2x86_64 或者 ubuntu16.04.1 LTSx86_64,默认取值为ubuntu16.04.1 LTSx86_64
	ClusterOs *string `json:"ClusterOs,omitempty" name:"ClusterOs"`

	// 集群版本,默认值为1.10.5
	ClusterVersion *string `json:"ClusterVersion,omitempty" name:"ClusterVersion"`

	// 集群名称
	ClusterName *string `json:"ClusterName,omitempty" name:"ClusterName"`

	// 集群描述
	ClusterDescription *string `json:"ClusterDescription,omitempty" name:"ClusterDescription"`

	// 私有网络ID,形如vpc-xxx。创建托管空集群时必传。
	VpcId *string `json:"VpcId,omitempty" name:"VpcId"`

	// 集群内新增资源所属项目ID。
	ProjectId *int64 `json:"ProjectId,omitempty" name:"ProjectId"`

	// 标签描述列表。通过指定该参数可以同时绑定标签到相应的资源实例,当前仅支持绑定标签到集群实例。
	TagSpecification []*TagSpecification `json:"TagSpecification,omitempty" name:"TagSpecification"`

	// 容器的镜像版本,"DOCKER_CUSTOMIZE"(容器定制版),"GENERAL"(普通版本,默认值)
	OsCustomizeType *string `json:"OsCustomizeType,omitempty" name:"OsCustomizeType"`

	// 是否开启节点的默认安全组(默认: 否,Aphla特性)
	NeedWorkSecurityGroup *bool `json:"NeedWorkSecurityGroup,omitempty" name:"NeedWorkSecurityGroup"`
}

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,omitempty" name:"ClusterCIDR"`

	// 是否忽略 ClusterCIDR 冲突错误, 默认不忽略
	IgnoreClusterCIDRConflict *bool `json:"IgnoreClusterCIDRConflict,omitempty" name:"IgnoreClusterCIDRConflict"`

	// 集群中每个Node上最大的Pod数量。取值范围4~256。不为2的幂值时会向上取最接近的2的幂值。
	MaxNodePodNum *uint64 `json:"MaxNodePodNum,omitempty" name:"MaxNodePodNum"`

	// 集群最大的service数量。取值范围32~32768,不为2的幂值时会向上取最接近的2的幂值。
	MaxClusterServiceNum *uint64 `json:"MaxClusterServiceNum,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,omitempty" name:"ServiceCIDR"`

	// VPC-CNI网络模式下,弹性网卡的子网Id。
	EniSubnetIds []*string `json:"EniSubnetIds,omitempty" name:"EniSubnetIds"`

	// VPC-CNI网络模式下,弹性网卡IP的回收时间,取值范围[300,15768000)
	ClaimExpiredSeconds *int64 `json:"ClaimExpiredSeconds,omitempty" name:"ClaimExpiredSeconds"`
}

type ClusterCredential

type ClusterCredential struct {

	// CA 根证书
	CACert *string `json:"CACert,omitempty" name:"CACert"`

	// 认证用的Token
	Token *string `json:"Token,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,omitempty" name:"KubeAPIServer"`

	// kube-controller-manager自定义参数
	// 注意:此字段可能返回 null,表示取不到有效值。
	KubeControllerManager []*string `json:"KubeControllerManager,omitempty" name:"KubeControllerManager"`

	// kube-scheduler自定义参数
	// 注意:此字段可能返回 null,表示取不到有效值。
	KubeScheduler []*string `json:"KubeScheduler,omitempty" name:"KubeScheduler"`

	// etcd自定义参数,只支持独立集群
	// 注意:此字段可能返回 null,表示取不到有效值。
	Etcd []*string `json:"Etcd,omitempty" name:"Etcd"`
}

type ClusterInternalLB

type ClusterInternalLB struct {

	// 是否开启内网访问LB
	Enabled *bool `json:"Enabled,omitempty" name:"Enabled"`

	// 内网访问LB关联的子网Id
	SubnetId *string `json:"SubnetId,omitempty" name:"SubnetId"`
}

type ClusterNetworkSettings

type ClusterNetworkSettings struct {

	// 用于分配集群容器和服务 IP 的 CIDR,不得与 VPC CIDR 冲突,也不得与同 VPC 内其他集群 CIDR 冲突
	ClusterCIDR *string `json:"ClusterCIDR,omitempty" name:"ClusterCIDR"`

	// 是否忽略 ClusterCIDR 冲突错误, 默认不忽略
	IgnoreClusterCIDRConflict *bool `json:"IgnoreClusterCIDRConflict,omitempty" name:"IgnoreClusterCIDRConflict"`

	// 集群中每个Node上最大的Pod数量(默认为256)
	MaxNodePodNum *uint64 `json:"MaxNodePodNum,omitempty" name:"MaxNodePodNum"`

	// 集群最大的service数量(默认为256)
	MaxClusterServiceNum *uint64 `json:"MaxClusterServiceNum,omitempty" name:"MaxClusterServiceNum"`

	// 是否启用IPVS(默认不开启)
	Ipvs *bool `json:"Ipvs,omitempty" name:"Ipvs"`

	// 集群的VPCID(如果创建空集群,为必传值,否则自动设置为和集群的节点保持一致)
	VpcId *string `json:"VpcId,omitempty" name:"VpcId"`

	// 网络插件是否启用CNI(默认开启)
	Cni *bool `json:"Cni,omitempty" name:"Cni"`

	// service的网络模式,当前参数只适用于ipvs+bpf模式
	// 注意:此字段可能返回 null,表示取不到有效值。
	KubeProxyMode *string `json:"KubeProxyMode,omitempty" name:"KubeProxyMode"`

	// 用于分配service的IP range,不得与 VPC CIDR 冲突,也不得与同 VPC 内其他集群 CIDR 冲突
	// 注意:此字段可能返回 null,表示取不到有效值。
	ServiceCIDR *string `json:"ServiceCIDR,omitempty" name:"ServiceCIDR"`

	// 集群关联的容器子网
	// 注意:此字段可能返回 null,表示取不到有效值。
	Subnets []*string `json:"Subnets,omitempty" name:"Subnets"`
}

type ClusterPublicLB

type ClusterPublicLB struct {

	// 是否开启公网访问LB
	Enabled *bool `json:"Enabled,omitempty" name:"Enabled"`

	// 允许访问的来源CIDR列表
	AllowFromCidrs []*string `json:"AllowFromCidrs,omitempty" name:"AllowFromCidrs"`

	// 安全策略放通单个IP或CIDR(例如: "192.168.1.0/24",默认为拒绝所有)
	SecurityPolicies []*string `json:"SecurityPolicies,omitempty" name:"SecurityPolicies"`

	// 外网访问相关的扩展参数,格式为json
	ExtraParam *string `json:"ExtraParam,omitempty" name:"ExtraParam"`
}

type ClusterVersion

type ClusterVersion struct {

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

	// 集群主版本号列表,例如1.18.4
	Versions []*string `json:"Versions,omitempty" name:"Versions"`
}

type CommonName

type CommonName struct {

	// 子账户UIN
	SubaccountUin *string `json:"SubaccountUin,omitempty" name:"SubaccountUin"`

	// 子账户客户端证书中的CommonName字段
	CN *string `json:"CN,omitempty" name:"CN"`
}

type ControllerStatus added in v1.0.193

type ControllerStatus struct {

	// 控制器的名字
	Name *string `json:"Name,omitempty" name:"Name"`

	// 控制器是否开启
	Enabled *bool `json:"Enabled,omitempty" name:"Enabled"`
}

type CreateClusterAsGroupRequest

type CreateClusterAsGroupRequest struct {
	*tchttp.BaseRequest

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

	// 伸缩组创建透传参数,json化字符串格式,详见[伸缩组创建实例](https://cloud.tencent.com/document/api/377/20440)接口。LaunchConfigurationId由LaunchConfigurePara参数创建,不支持填写
	AutoScalingGroupPara *string `json:"AutoScalingGroupPara,omitempty" name:"AutoScalingGroupPara"`

	// 启动配置创建透传参数,json化字符串格式,详见[创建启动配置](https://cloud.tencent.com/document/api/377/20447)接口。另外ImageId参数由于集群维度已经有的ImageId信息,这个字段不需要填写。UserData字段设置通过UserScript设置,这个字段不需要填写。
	LaunchConfigurePara *string `json:"LaunchConfigurePara,omitempty" name:"LaunchConfigurePara"`

	// 节点高级配置信息
	InstanceAdvancedSettings *InstanceAdvancedSettings `json:"InstanceAdvancedSettings,omitempty" name:"InstanceAdvancedSettings"`

	// 节点Label数组
	Labels []*Label `json:"Labels,omitempty" name:"Labels"`
}

func NewCreateClusterAsGroupRequest

func NewCreateClusterAsGroupRequest() (request *CreateClusterAsGroupRequest)

func (*CreateClusterAsGroupRequest) FromJsonString

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

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

func (*CreateClusterAsGroupRequest) ToJsonString

func (r *CreateClusterAsGroupRequest) ToJsonString() string

type CreateClusterAsGroupResponse

type CreateClusterAsGroupResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 启动配置ID
		LaunchConfigurationId *string `json:"LaunchConfigurationId,omitempty" name:"LaunchConfigurationId"`

		// 伸缩组ID
		AutoScalingGroupId *string `json:"AutoScalingGroupId,omitempty" name:"AutoScalingGroupId"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewCreateClusterAsGroupResponse

func NewCreateClusterAsGroupResponse() (response *CreateClusterAsGroupResponse)

func (*CreateClusterAsGroupResponse) FromJsonString

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

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

func (*CreateClusterAsGroupResponse) ToJsonString

func (r *CreateClusterAsGroupResponse) ToJsonString() string

type CreateClusterEndpointRequest

type CreateClusterEndpointRequest struct {
	*tchttp.BaseRequest

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

	// 集群端口所在的子网ID  (仅在开启非外网访问时需要填,必须为集群所在VPC内的子网)
	SubnetId *string `json:"SubnetId,omitempty" name:"SubnetId"`

	// 是否为外网访问(TRUE 外网访问 FALSE 内网访问,默认值: FALSE)
	IsExtranet *bool `json:"IsExtranet,omitempty" name:"IsExtranet"`
}

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 CreateClusterEndpointResponse

type CreateClusterEndpointResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `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 CreateClusterEndpointVipRequest

type CreateClusterEndpointVipRequest struct {
	*tchttp.BaseRequest

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

	// 安全策略放通单个IP或CIDR(例如: "192.168.1.0/24",默认为拒绝所有)
	SecurityPolicies []*string `json:"SecurityPolicies,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 CreateClusterEndpointVipResponse

type CreateClusterEndpointVipResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 请求任务的FlowId
		RequestFlowId *int64 `json:"RequestFlowId,omitempty" name:"RequestFlowId"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `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 CreateClusterInstancesRequest

type CreateClusterInstancesRequest struct {
	*tchttp.BaseRequest

	// 集群 ID,请填写 查询集群列表 接口中返回的 clusterId 字段
	ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"`

	// CVM创建透传参数,json化字符串格式,如需要保证扩展集群节点请求幂等性需要在此参数添加ClientToken字段,详见[CVM创建实例](https://cloud.tencent.com/document/product/213/15730)接口。
	RunInstancePara *string `json:"RunInstancePara,omitempty" name:"RunInstancePara"`

	// 实例额外需要设置参数信息
	InstanceAdvancedSettings *InstanceAdvancedSettings `json:"InstanceAdvancedSettings,omitempty" name:"InstanceAdvancedSettings"`

	// 校验规则相关选项,可配置跳过某些校验规则。目前支持GlobalRouteCIDRCheck(跳过GlobalRouter的相关校验),VpcCniCIDRCheck(跳过VpcCni相关校验)
	SkipValidateOptions []*string `json:"SkipValidateOptions,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 CreateClusterInstancesResponse

type CreateClusterInstancesResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 节点实例ID
		InstanceIdSet []*string `json:"InstanceIdSet,omitempty" name:"InstanceIdSet"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `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 CreateClusterNodePoolFromExistingAsgRequest

type CreateClusterNodePoolFromExistingAsgRequest struct {
	*tchttp.BaseRequest

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

	// 伸缩组ID
	AutoscalingGroupId *string `json:"AutoscalingGroupId,omitempty" name:"AutoscalingGroupId"`
}

func NewCreateClusterNodePoolFromExistingAsgRequest

func NewCreateClusterNodePoolFromExistingAsgRequest() (request *CreateClusterNodePoolFromExistingAsgRequest)

func (*CreateClusterNodePoolFromExistingAsgRequest) FromJsonString

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

func (*CreateClusterNodePoolFromExistingAsgRequest) ToJsonString

type CreateClusterNodePoolFromExistingAsgResponse

type CreateClusterNodePoolFromExistingAsgResponse struct {
	*tchttp.BaseResponse
	Response *struct {

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

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewCreateClusterNodePoolFromExistingAsgResponse

func NewCreateClusterNodePoolFromExistingAsgResponse() (response *CreateClusterNodePoolFromExistingAsgResponse)

func (*CreateClusterNodePoolFromExistingAsgResponse) FromJsonString

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

func (*CreateClusterNodePoolFromExistingAsgResponse) ToJsonString

type CreateClusterNodePoolRequest

type CreateClusterNodePoolRequest struct {
	*tchttp.BaseRequest

	// cluster id
	ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"`

	// AutoScalingGroupPara AS组参数
	AutoScalingGroupPara *string `json:"AutoScalingGroupPara,omitempty" name:"AutoScalingGroupPara"`

	// LaunchConfigurePara 运行参数
	LaunchConfigurePara *string `json:"LaunchConfigurePara,omitempty" name:"LaunchConfigurePara"`

	// InstanceAdvancedSettings 示例参数
	InstanceAdvancedSettings *InstanceAdvancedSettings `json:"InstanceAdvancedSettings,omitempty" name:"InstanceAdvancedSettings"`

	// 是否启用自动伸缩
	EnableAutoscale *bool `json:"EnableAutoscale,omitempty" name:"EnableAutoscale"`

	// 节点池名称
	Name *string `json:"Name,omitempty" name:"Name"`

	// Labels标签
	Labels []*Label `json:"Labels,omitempty" name:"Labels"`

	// Taints互斥
	Taints []*Taint `json:"Taints,omitempty" name:"Taints"`

	// 节点池os
	NodePoolOs *string `json:"NodePoolOs,omitempty" name:"NodePoolOs"`

	// 容器的镜像版本,"DOCKER_CUSTOMIZE"(容器定制版),"GENERAL"(普通版本,默认值)
	OsCustomizeType *string `json:"OsCustomizeType,omitempty" name:"OsCustomizeType"`
}

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 CreateClusterNodePoolResponse

type CreateClusterNodePoolResponse struct {
	*tchttp.BaseResponse
	Response *struct {

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

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `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 CreateClusterRequest

type CreateClusterRequest struct {
	*tchttp.BaseRequest

	// 集群容器网络配置信息
	ClusterCIDRSettings *ClusterCIDRSettings `json:"ClusterCIDRSettings,omitempty" name:"ClusterCIDRSettings"`

	// 集群类型,托管集群:MANAGED_CLUSTER,独立集群:INDEPENDENT_CLUSTER。
	ClusterType *string `json:"ClusterType,omitempty" name:"ClusterType"`

	// CVM创建透传参数,json化字符串格式,详见[CVM创建实例](https://cloud.tencent.com/document/product/213/15730)接口。总机型(包括地域)数量不超过10个,相同机型(地域)购买多台机器可以通过设置参数中RunInstances中InstanceCount来实现。
	RunInstancesForNode []*RunInstancesForNode `json:"RunInstancesForNode,omitempty" name:"RunInstancesForNode"`

	// 集群的基本配置信息
	ClusterBasicSettings *ClusterBasicSettings `json:"ClusterBasicSettings,omitempty" name:"ClusterBasicSettings"`

	// 集群高级配置信息
	ClusterAdvancedSettings *ClusterAdvancedSettings `json:"ClusterAdvancedSettings,omitempty" name:"ClusterAdvancedSettings"`

	// 节点高级配置信息
	InstanceAdvancedSettings *InstanceAdvancedSettings `json:"InstanceAdvancedSettings,omitempty" name:"InstanceAdvancedSettings"`

	// 已存在实例的配置信息。所有实例必须在同一个VPC中,最大数量不超过100。
	ExistedInstancesForNode []*ExistedInstancesForNode `json:"ExistedInstancesForNode,omitempty" name:"ExistedInstancesForNode"`

	// CVM类型和其对应的数据盘挂载配置信息
	InstanceDataDiskMountSettings []*InstanceDataDiskMountSetting `json:"InstanceDataDiskMountSettings,omitempty" name:"InstanceDataDiskMountSettings"`

	// 需要安装的扩展组件信息
	ExtensionAddons []*ExtensionAddon `json:"ExtensionAddons,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 CreateClusterResponse

type CreateClusterResponse struct {
	*tchttp.BaseResponse
	Response *struct {

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

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `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 CreateClusterRouteRequest

type CreateClusterRouteRequest struct {
	*tchttp.BaseRequest

	// 路由表名称。
	RouteTableName *string `json:"RouteTableName,omitempty" name:"RouteTableName"`

	// 目的端CIDR。
	DestinationCidrBlock *string `json:"DestinationCidrBlock,omitempty" name:"DestinationCidrBlock"`

	// 下一跳地址。
	GatewayIp *string `json:"GatewayIp,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 CreateClusterRouteResponse

type CreateClusterRouteResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `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 CreateClusterRouteTableRequest

type CreateClusterRouteTableRequest struct {
	*tchttp.BaseRequest

	// 路由表名称
	RouteTableName *string `json:"RouteTableName,omitempty" name:"RouteTableName"`

	// 路由表CIDR
	RouteTableCidrBlock *string `json:"RouteTableCidrBlock,omitempty" name:"RouteTableCidrBlock"`

	// 路由表绑定的VPC
	VpcId *string `json:"VpcId,omitempty" name:"VpcId"`

	// 是否忽略CIDR冲突
	IgnoreClusterCidrConflict *int64 `json:"IgnoreClusterCidrConflict,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 CreateClusterRouteTableResponse

type CreateClusterRouteTableResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `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 CreateEKSClusterRequest

type CreateEKSClusterRequest struct {
	*tchttp.BaseRequest

	// k8s版本号。可为1.14.4, 1.12.8。
	K8SVersion *string `json:"K8SVersion,omitempty" name:"K8SVersion"`

	// vpc 的Id
	VpcId *string `json:"VpcId,omitempty" name:"VpcId"`

	// 集群名称
	ClusterName *string `json:"ClusterName,omitempty" name:"ClusterName"`

	// 子网Id 列表
	SubnetIds []*string `json:"SubnetIds,omitempty" name:"SubnetIds"`

	// 集群描述信息
	ClusterDesc *string `json:"ClusterDesc,omitempty" name:"ClusterDesc"`

	// Serivce 所在子网Id
	ServiceSubnetId *string `json:"ServiceSubnetId,omitempty" name:"ServiceSubnetId"`

	// 集群自定义的Dns服务器信息
	DnsServers []*DnsServerConf `json:"DnsServers,omitempty" name:"DnsServers"`

	// 扩展参数。须是map[string]string 的json 格式。
	ExtraParam *string `json:"ExtraParam,omitempty" name:"ExtraParam"`

	// 是否在用户集群内开启Dns。默认为true
	EnableVpcCoreDNS *bool `json:"EnableVpcCoreDNS,omitempty" name:"EnableVpcCoreDNS"`

	// 标签描述列表。通过指定该参数可以同时绑定标签到相应的资源实例,当前仅支持绑定标签到集群实例。
	TagSpecification []*TagSpecification `json:"TagSpecification,omitempty" name:"TagSpecification"`
}

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 CreateEKSClusterResponse

type CreateEKSClusterResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 弹性集群Id
		ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `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 CreatePrometheusDashboardRequest

type CreatePrometheusDashboardRequest struct {
	*tchttp.BaseRequest

	// 实例id
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`

	// 面板组名称
	DashboardName *string `json:"DashboardName,omitempty" name:"DashboardName"`

	// 面板列表
	// 每一项是一个grafana dashboard的json定义
	Contents []*string `json:"Contents,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 CreatePrometheusDashboardResponse

type CreatePrometheusDashboardResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `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 CreatePrometheusTemplateRequest

type CreatePrometheusTemplateRequest struct {
	*tchttp.BaseRequest

	// 模板设置
	Template *PrometheusTemplate `json:"Template,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 CreatePrometheusTemplateResponse

type CreatePrometheusTemplateResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 模板Id
		TemplateId *string `json:"TemplateId,omitempty" name:"TemplateId"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `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 DataDisk

type DataDisk struct {

	// 云盘类型
	// 注意:此字段可能返回 null,表示取不到有效值。
	DiskType *string `json:"DiskType,omitempty" name:"DiskType"`

	// 文件系统(ext3/ext4/xfs)
	// 注意:此字段可能返回 null,表示取不到有效值。
	FileSystem *string `json:"FileSystem,omitempty" name:"FileSystem"`

	// 云盘大小(G)
	// 注意:此字段可能返回 null,表示取不到有效值。
	DiskSize *int64 `json:"DiskSize,omitempty" name:"DiskSize"`

	// 是否自动化格式盘并挂载
	// 注意:此字段可能返回 null,表示取不到有效值。
	AutoFormatAndMount *bool `json:"AutoFormatAndMount,omitempty" name:"AutoFormatAndMount"`

	// 挂载目录
	// 注意:此字段可能返回 null,表示取不到有效值。
	MountTarget *string `json:"MountTarget,omitempty" name:"MountTarget"`
}

type DeleteClusterAsGroupsRequest

type DeleteClusterAsGroupsRequest struct {
	*tchttp.BaseRequest

	// 集群ID,通过[DescribeClusters](https://cloud.tencent.com/document/api/457/31862)接口获取。
	ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"`

	// 集群伸缩组ID的列表
	AutoScalingGroupIds []*string `json:"AutoScalingGroupIds,omitempty" name:"AutoScalingGroupIds"`

	// 是否保留伸缩组中的节点(默认值: false(不保留))
	KeepInstance *bool `json:"KeepInstance,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 DeleteClusterAsGroupsResponse

type DeleteClusterAsGroupsResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `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 DeleteClusterEndpointRequest

type DeleteClusterEndpointRequest struct {
	*tchttp.BaseRequest

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

	// 是否为外网访问(TRUE 外网访问 FALSE 内网访问,默认值: FALSE)
	IsExtranet *bool `json:"IsExtranet,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 DeleteClusterEndpointResponse

type DeleteClusterEndpointResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `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 DeleteClusterEndpointVipRequest

type DeleteClusterEndpointVipRequest struct {
	*tchttp.BaseRequest

	// 集群ID
	ClusterId *string `json:"ClusterId,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 DeleteClusterEndpointVipResponse

type DeleteClusterEndpointVipResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `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 DeleteClusterInstancesRequest

type DeleteClusterInstancesRequest struct {
	*tchttp.BaseRequest

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

	// 主机InstanceId列表
	InstanceIds []*string `json:"InstanceIds,omitempty" name:"InstanceIds"`

	// 集群实例删除时的策略:terminate(销毁实例,仅支持按量计费云主机实例) retain (仅移除,保留实例)
	InstanceDeleteMode *string `json:"InstanceDeleteMode,omitempty" name:"InstanceDeleteMode"`

	// 是否强制删除(当节点在初始化时,可以指定参数为TRUE)
	ForceDelete *bool `json:"ForceDelete,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 DeleteClusterInstancesResponse

type DeleteClusterInstancesResponse struct {
	*tchttp.BaseResponse
	Response *struct {

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

		// 删除失败的实例ID列表
		// 注意:此字段可能返回 null,表示取不到有效值。
		FailedInstanceIds []*string `json:"FailedInstanceIds,omitempty" name:"FailedInstanceIds"`

		// 未匹配到的实例ID列表
		// 注意:此字段可能返回 null,表示取不到有效值。
		NotFoundInstanceIds []*string `json:"NotFoundInstanceIds,omitempty" name:"NotFoundInstanceIds"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `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 DeleteClusterNodePoolRequest

type DeleteClusterNodePoolRequest struct {
	*tchttp.BaseRequest

	// 节点池对应的 ClusterId
	ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"`

	// 需要删除的节点池 Id 列表
	NodePoolIds []*string `json:"NodePoolIds,omitempty" name:"NodePoolIds"`

	// 删除节点池时是否保留节点池内节点(节点仍然会被移出集群,但对应的实例不会被销毁)
	KeepInstance *bool `json:"KeepInstance,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 DeleteClusterNodePoolResponse

type DeleteClusterNodePoolResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `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 DeleteClusterRequest

type DeleteClusterRequest struct {
	*tchttp.BaseRequest

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

	// 集群实例删除时的策略:terminate(销毁实例,仅支持按量计费云主机实例) retain (仅移除,保留实例)
	InstanceDeleteMode *string `json:"InstanceDeleteMode,omitempty" name:"InstanceDeleteMode"`

	// 集群删除时资源的删除策略,目前支持CBS(默认保留CBS)
	ResourceDeleteOptions []*ResourceDeleteOption `json:"ResourceDeleteOptions,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 DeleteClusterResponse

type DeleteClusterResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `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 DeleteClusterRouteRequest

type DeleteClusterRouteRequest struct {
	*tchttp.BaseRequest

	// 路由表名称。
	RouteTableName *string `json:"RouteTableName,omitempty" name:"RouteTableName"`

	// 下一跳地址。
	GatewayIp *string `json:"GatewayIp,omitempty" name:"GatewayIp"`

	// 目的端CIDR。
	DestinationCidrBlock *string `json:"DestinationCidrBlock,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 DeleteClusterRouteResponse

type DeleteClusterRouteResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `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 DeleteClusterRouteTableRequest

type DeleteClusterRouteTableRequest struct {
	*tchttp.BaseRequest

	// 路由表名称
	RouteTableName *string `json:"RouteTableName,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 DeleteClusterRouteTableResponse

type DeleteClusterRouteTableResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `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 DeleteEKSClusterRequest

type DeleteEKSClusterRequest struct {
	*tchttp.BaseRequest

	// 弹性集群Id
	ClusterId *string `json:"ClusterId,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 DeleteEKSClusterResponse

type DeleteEKSClusterResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `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 DeletePrometheusTemplateRequest

type DeletePrometheusTemplateRequest struct {
	*tchttp.BaseRequest

	// 模板id
	TemplateId *string `json:"TemplateId,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 DeletePrometheusTemplateResponse

type DeletePrometheusTemplateResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `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 DeletePrometheusTemplateSyncRequest

type DeletePrometheusTemplateSyncRequest struct {
	*tchttp.BaseRequest

	// 模板id
	TemplateId *string `json:"TemplateId,omitempty" name:"TemplateId"`

	// 取消同步的对象列表
	Targets []*PrometheusTemplateSyncTarget `json:"Targets,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 DeletePrometheusTemplateSyncResponse

type DeletePrometheusTemplateSyncResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `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 DescribeAvailableClusterVersionRequest

type DescribeAvailableClusterVersionRequest struct {
	*tchttp.BaseRequest

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

	// 集群 Id 列表
	ClusterIds []*string `json:"ClusterIds,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 DescribeAvailableClusterVersionResponse

type DescribeAvailableClusterVersionResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 可升级的集群版本号
		// 注意:此字段可能返回 null,表示取不到有效值。
		Versions []*string `json:"Versions,omitempty" name:"Versions"`

		// 集群信息
		// 注意:此字段可能返回 null,表示取不到有效值。
		Clusters []*ClusterVersion `json:"Clusters,omitempty" name:"Clusters"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `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 DescribeClusterAsGroupOptionRequest

type DescribeClusterAsGroupOptionRequest struct {
	*tchttp.BaseRequest

	// 集群ID
	ClusterId *string `json:"ClusterId,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 DescribeClusterAsGroupOptionResponse

type DescribeClusterAsGroupOptionResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 集群弹性伸缩属性
		// 注意:此字段可能返回 null,表示取不到有效值。
		ClusterAsGroupOption *ClusterAsGroupOption `json:"ClusterAsGroupOption,omitempty" name:"ClusterAsGroupOption"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `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 DescribeClusterAsGroupsRequest

type DescribeClusterAsGroupsRequest struct {
	*tchttp.BaseRequest

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

	// 伸缩组ID列表,如果为空,表示拉取集群关联的所有伸缩组。
	AutoScalingGroupIds []*string `json:"AutoScalingGroupIds,omitempty" name:"AutoScalingGroupIds"`

	// 偏移量,默认为0。关于Offset的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/api/213/15688)中的相关小节。
	Offset *int64 `json:"Offset,omitempty" name:"Offset"`

	// 返回数量,默认为20,最大值为100。关于Limit的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/api/213/15688)中的相关小节。
	Limit *int64 `json:"Limit,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 DescribeClusterAsGroupsResponse

type DescribeClusterAsGroupsResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 集群关联的伸缩组总数
		TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

		// 集群关联的伸缩组列表
		ClusterAsGroupSet []*ClusterAsGroup `json:"ClusterAsGroupSet,omitempty" name:"ClusterAsGroupSet"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `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 DescribeClusterCommonNamesRequest

type DescribeClusterCommonNamesRequest struct {
	*tchttp.BaseRequest

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

	// 子账户列表,不可超出最大值50
	SubaccountUins []*string `json:"SubaccountUins,omitempty" name:"SubaccountUins"`

	// 角色ID列表,不可超出最大值50
	RoleIds []*string `json:"RoleIds,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 DescribeClusterCommonNamesResponse

type DescribeClusterCommonNamesResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 子账户Uin与其客户端证书的CN字段映射
		CommonNames []*CommonName `json:"CommonNames,omitempty" name:"CommonNames"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `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 DescribeClusterControllersRequest added in v1.0.193

type DescribeClusterControllersRequest struct {
	*tchttp.BaseRequest

	// 集群ID
	ClusterId *string `json:"ClusterId,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 DescribeClusterControllersResponse added in v1.0.193

type DescribeClusterControllersResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 描述集群中各个控制器的状态
		ControllerStatusSet []*ControllerStatus `json:"ControllerStatusSet,omitempty" name:"ControllerStatusSet"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `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 DescribeClusterEndpointStatusRequest

type DescribeClusterEndpointStatusRequest struct {
	*tchttp.BaseRequest

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

	// 是否为外网访问(TRUE 外网访问 FALSE 内网访问,默认值: FALSE)
	IsExtranet *bool `json:"IsExtranet,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 DescribeClusterEndpointStatusResponse

type DescribeClusterEndpointStatusResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 查询集群访问端口状态(Created 开启成功,Creating 开启中,NotFound 未开启)
		// 注意:此字段可能返回 null,表示取不到有效值。
		Status *string `json:"Status,omitempty" name:"Status"`

		// 开启访问入口失败信息
		// 注意:此字段可能返回 null,表示取不到有效值。
		ErrorMsg *string `json:"ErrorMsg,omitempty" name:"ErrorMsg"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `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 DescribeClusterEndpointVipStatusRequest

type DescribeClusterEndpointVipStatusRequest struct {
	*tchttp.BaseRequest

	// 集群ID
	ClusterId *string `json:"ClusterId,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 DescribeClusterEndpointVipStatusResponse

type DescribeClusterEndpointVipStatusResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 端口操作状态 (Creating 创建中  CreateFailed 创建失败 Created 创建完成 Deleting 删除中 DeletedFailed 删除失败 Deleted 已删除 NotFound 未发现操作 )
		Status *string `json:"Status,omitempty" name:"Status"`

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

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `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 DescribeClusterInstancesRequest

type DescribeClusterInstancesRequest struct {
	*tchttp.BaseRequest

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

	// 偏移量,默认为0。关于Offset的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/api/213/15688)中的相关小节。
	Offset *int64 `json:"Offset,omitempty" name:"Offset"`

	// 返回数量,默认为20,最大值为100。关于Limit的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/api/213/15688)中的相关小节。
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`

	// 需要获取的节点实例Id列表。如果为空,表示拉取集群下所有节点实例。
	InstanceIds []*string `json:"InstanceIds,omitempty" name:"InstanceIds"`

	// 节点角色, MASTER, WORKER, ETCD, MASTER_ETCD,ALL, 默认为WORKER。默认为WORKER类型。
	InstanceRole *string `json:"InstanceRole,omitempty" name:"InstanceRole"`
}

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 DescribeClusterInstancesResponse

type DescribeClusterInstancesResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 集群中实例总数
		TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

		// 集群中实例列表
		InstanceSet []*Instance `json:"InstanceSet,omitempty" name:"InstanceSet"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `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 DescribeClusterKubeconfigRequest

type DescribeClusterKubeconfigRequest struct {
	*tchttp.BaseRequest

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

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 DescribeClusterKubeconfigResponse

type DescribeClusterKubeconfigResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 子账户kubeconfig文件,可用于直接访问集群kube-apiserver
		Kubeconfig *string `json:"Kubeconfig,omitempty" name:"Kubeconfig"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `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 DescribeClusterNodePoolDetailRequest

type DescribeClusterNodePoolDetailRequest struct {
	*tchttp.BaseRequest

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

	// 节点池id
	NodePoolId *string `json:"NodePoolId,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 DescribeClusterNodePoolDetailResponse

type DescribeClusterNodePoolDetailResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 节点池详情
		NodePool *NodePool `json:"NodePool,omitempty" name:"NodePool"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `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 DescribeClusterNodePoolsRequest

type DescribeClusterNodePoolsRequest struct {
	*tchttp.BaseRequest

	// ClusterId(集群id)
	ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"`
}

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 DescribeClusterNodePoolsResponse

type DescribeClusterNodePoolsResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// NodePools(节点池列表)
		// 注意:此字段可能返回 null,表示取不到有效值。
		NodePoolSet []*NodePool `json:"NodePoolSet,omitempty" name:"NodePoolSet"`

		// 资源总数
		TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `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 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 DescribeClusterRouteTablesResponse

type DescribeClusterRouteTablesResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 符合条件的实例数量。
		TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"`

		// 集群路由表对象。
		RouteTableSet []*RouteTableInfo `json:"RouteTableSet,omitempty" name:"RouteTableSet"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `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 DescribeClusterRoutesRequest

type DescribeClusterRoutesRequest struct {
	*tchttp.BaseRequest

	// 路由表名称。
	RouteTableName *string `json:"RouteTableName,omitempty" name:"RouteTableName"`

	// 过滤条件,当前只支持按照单个条件GatewayIP进行过滤(可选)
	Filters []*Filter `json:"Filters,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 DescribeClusterRoutesResponse

type DescribeClusterRoutesResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 符合条件的实例数量。
		TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"`

		// 集群路由对象。
		RouteSet []*RouteInfo `json:"RouteSet,omitempty" name:"RouteSet"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `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 DescribeClusterSecurityRequest

type DescribeClusterSecurityRequest struct {
	*tchttp.BaseRequest

	// 集群 ID,请填写 查询集群列表 接口中返回的 clusterId 字段
	ClusterId *string `json:"ClusterId,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 DescribeClusterSecurityResponse

type DescribeClusterSecurityResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 集群的账号名称
		UserName *string `json:"UserName,omitempty" name:"UserName"`

		// 集群的访问密码
		Password *string `json:"Password,omitempty" name:"Password"`

		// 集群访问CA证书
		CertificationAuthority *string `json:"CertificationAuthority,omitempty" name:"CertificationAuthority"`

		// 集群访问的地址
		ClusterExternalEndpoint *string `json:"ClusterExternalEndpoint,omitempty" name:"ClusterExternalEndpoint"`

		// 集群访问的域名
		Domain *string `json:"Domain,omitempty" name:"Domain"`

		// 集群Endpoint地址
		PgwEndpoint *string `json:"PgwEndpoint,omitempty" name:"PgwEndpoint"`

		// 集群访问策略组
		// 注意:此字段可能返回 null,表示取不到有效值。
		SecurityPolicy []*string `json:"SecurityPolicy,omitempty" name:"SecurityPolicy"`

		// 集群Kubeconfig文件
		// 注意:此字段可能返回 null,表示取不到有效值。
		Kubeconfig *string `json:"Kubeconfig,omitempty" name:"Kubeconfig"`

		// 集群JnsGw的访问地址
		// 注意:此字段可能返回 null,表示取不到有效值。
		JnsGwEndpoint *string `json:"JnsGwEndpoint,omitempty" name:"JnsGwEndpoint"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `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 DescribeClustersRequest

type DescribeClustersRequest struct {
	*tchttp.BaseRequest

	// 集群ID列表(为空时,
	// 表示获取账号下所有集群)
	ClusterIds []*string `json:"ClusterIds,omitempty" name:"ClusterIds"`

	// 偏移量,默认0
	Offset *int64 `json:"Offset,omitempty" name:"Offset"`

	// 最大输出条数,默认20,最大为100
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`

	// 过滤条件,当前只支持按照单个条件ClusterName进行过滤
	Filters []*Filter `json:"Filters,omitempty" name:"Filters"`
}

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 DescribeClustersResponse

type DescribeClustersResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 集群总个数
		TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"`

		// 集群信息列表
		Clusters []*Cluster `json:"Clusters,omitempty" name:"Clusters"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `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 DescribeEKSClusterCredentialRequest

type DescribeEKSClusterCredentialRequest struct {
	*tchttp.BaseRequest

	// 集群Id
	ClusterId *string `json:"ClusterId,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 DescribeEKSClusterCredentialResponse

type DescribeEKSClusterCredentialResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 集群的接入地址信息
		Addresses []*IPAddress `json:"Addresses,omitempty" name:"Addresses"`

		// 集群的认证信息
		Credential *ClusterCredential `json:"Credential,omitempty" name:"Credential"`

		// 集群的公网访问信息
		PublicLB *ClusterPublicLB `json:"PublicLB,omitempty" name:"PublicLB"`

		// 集群的内网访问信息
		InternalLB *ClusterInternalLB `json:"InternalLB,omitempty" name:"InternalLB"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `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 DescribeEKSClustersRequest

type DescribeEKSClustersRequest struct {
	*tchttp.BaseRequest

	// 集群ID列表(为空时,
	// 表示获取账号下所有集群)
	ClusterIds []*string `json:"ClusterIds,omitempty" name:"ClusterIds"`

	// 偏移量,默认0
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

	// 最大输出条数,默认20
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`

	// 过滤条件,当前只支持按照单个条件ClusterName进行过滤
	Filters []*Filter `json:"Filters,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 DescribeEKSClustersResponse

type DescribeEKSClustersResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 集群总个数
		TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

		// 集群信息列表
		Clusters []*EksCluster `json:"Clusters,omitempty" name:"Clusters"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `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 DescribeEnableVpcCniProgressRequest

type DescribeEnableVpcCniProgressRequest struct {
	*tchttp.BaseRequest

	// 开启vpc-cni的集群ID
	ClusterId *string `json:"ClusterId,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 DescribeEnableVpcCniProgressResponse

type DescribeEnableVpcCniProgressResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 任务进度的描述:Running/Succeed/Failed
		Status *string `json:"Status,omitempty" name:"Status"`

		// 当任务进度为Failed时,对任务状态的进一步描述,例如IPAMD组件安装失败
		// 注意:此字段可能返回 null,表示取不到有效值。
		ErrorMessage *string `json:"ErrorMessage,omitempty" name:"ErrorMessage"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `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 DescribeExistedInstancesRequest

type DescribeExistedInstancesRequest struct {
	*tchttp.BaseRequest

	// 集群 ID,请填写查询集群列表 接口中返回的 ClusterId 字段(仅通过ClusterId获取需要过滤条件中的VPCID。节点状态比较时会使用该地域下所有集群中的节点进行比较。参数不支持同时指定InstanceIds和ClusterId。
	ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"`

	// 按照一个或者多个实例ID查询。实例ID形如:ins-xxxxxxxx。(此参数的具体格式可参考API简介的id.N一节)。每次请求的实例的上限为100。参数不支持同时指定InstanceIds和Filters。
	InstanceIds []*string `json:"InstanceIds,omitempty" name:"InstanceIds"`

	// 过滤条件,字段和详见[CVM查询实例](https://cloud.tencent.com/document/api/213/15728)如果设置了ClusterId,会附加集群的VPCID作为查询字段,在此情况下如果在Filter中指定了"vpc-id"作为过滤字段,指定的VPCID必须与集群的VPCID相同。
	Filters []*Filter `json:"Filters,omitempty" name:"Filters"`

	// 实例IP进行过滤(同时支持内网IP和外网IP)
	VagueIpAddress *string `json:"VagueIpAddress,omitempty" name:"VagueIpAddress"`

	// 实例名称进行过滤
	VagueInstanceName *string `json:"VagueInstanceName,omitempty" name:"VagueInstanceName"`

	// 偏移量,默认为0。关于Offset的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/api/213/15688)中的相关小节。
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

	// 返回数量,默认为20,最大值为100。关于Limit的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/api/213/15688)中的相关小节。
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`

	// 根据多个实例IP进行过滤
	IpAddresses []*string `json:"IpAddresses,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 DescribeExistedInstancesResponse

type DescribeExistedInstancesResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 已经存在的实例信息数组。
		// 注意:此字段可能返回 null,表示取不到有效值。
		ExistedInstanceSet []*ExistedInstance `json:"ExistedInstanceSet,omitempty" name:"ExistedInstanceSet"`

		// 符合条件的实例数量。
		TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `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 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 DescribeImagesResponse

type DescribeImagesResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 镜像数量
		// 注意:此字段可能返回 null,表示取不到有效值。
		TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

		// 镜像信息列表
		// 注意:此字段可能返回 null,表示取不到有效值。
		ImageInstanceSet []*ImageInstance `json:"ImageInstanceSet,omitempty" name:"ImageInstanceSet"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `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 DescribePrometheusAgentInstancesRequest

type DescribePrometheusAgentInstancesRequest struct {
	*tchttp.BaseRequest

	// 集群id
	// 可以是tke, eks, edge的集群id
	ClusterId *string `json:"ClusterId,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 DescribePrometheusAgentInstancesResponse

type DescribePrometheusAgentInstancesResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 关联该集群的实例列表
		// 注意:此字段可能返回 null,表示取不到有效值。
		Instances []*string `json:"Instances,omitempty" name:"Instances"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `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 DescribePrometheusAgentsRequest

type DescribePrometheusAgentsRequest struct {
	*tchttp.BaseRequest

	// 实例id
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`

	// 用于分页
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

	// 用于分页
	Limit *uint64 `json:"Limit,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 DescribePrometheusAgentsResponse

type DescribePrometheusAgentsResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 被关联集群信息
		Agents []*PrometheusAgentOverview `json:"Agents,omitempty" name:"Agents"`

		// 被关联集群总量
		Total *uint64 `json:"Total,omitempty" name:"Total"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `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 DescribePrometheusAlertHistoryRequest

type DescribePrometheusAlertHistoryRequest struct {
	*tchttp.BaseRequest

	// 实例id
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`

	// 告警名称
	RuleName *string `json:"RuleName,omitempty" name:"RuleName"`

	// 开始时间
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// 结束时间
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`

	// label集合
	Labels *string `json:"Labels,omitempty" name:"Labels"`

	// 分片
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

	// 分片
	Limit *uint64 `json:"Limit,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 DescribePrometheusAlertHistoryResponse

type DescribePrometheusAlertHistoryResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 告警历史
		Items []*PrometheusAlertHistoryItem `json:"Items,omitempty" name:"Items"`

		// 总数
		Total *uint64 `json:"Total,omitempty" name:"Total"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `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 DescribePrometheusAlertRuleRequest

type DescribePrometheusAlertRuleRequest struct {
	*tchttp.BaseRequest

	// 实例id
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`

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

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

	// 过滤
	// 支持ID,Name
	Filters []*Filter `json:"Filters,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 DescribePrometheusAlertRuleResponse

type DescribePrometheusAlertRuleResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 告警详情
		AlertRules []*PrometheusAlertRuleDetail `json:"AlertRules,omitempty" name:"AlertRules"`

		// 总数
		Total *uint64 `json:"Total,omitempty" name:"Total"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `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 DescribePrometheusOverviewsRequest

type DescribePrometheusOverviewsRequest struct {
	*tchttp.BaseRequest

	// 用于分页
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

	// 用于分页
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`

	// 过滤实例,目前支持:
	// ID: 通过实例ID来过滤
	// Name: 通过实例名称来过滤
	Filters []*Filter `json:"Filters,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 DescribePrometheusOverviewsResponse

type DescribePrometheusOverviewsResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 实例列表
		Instances []*PrometheusInstanceOverview `json:"Instances,omitempty" name:"Instances"`

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

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `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 DescribePrometheusTargetsRequest

type DescribePrometheusTargetsRequest struct {
	*tchttp.BaseRequest

	// 实例id
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`

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

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

	// 过滤条件,当前支持
	// Name=state
	// Value=up, down, unknown
	Filters []*Filter `json:"Filters,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 DescribePrometheusTargetsResponse

type DescribePrometheusTargetsResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 所有Job的targets信息
		Jobs []*PrometheusJobTargets `json:"Jobs,omitempty" name:"Jobs"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `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 DescribePrometheusTemplateSyncRequest

type DescribePrometheusTemplateSyncRequest struct {
	*tchttp.BaseRequest

	// 模板ID
	TemplateId *string `json:"TemplateId,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 DescribePrometheusTemplateSyncResponse

type DescribePrometheusTemplateSyncResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 同步目标详情
		Targets []*PrometheusTemplateSyncTarget `json:"Targets,omitempty" name:"Targets"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `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 DescribePrometheusTemplatesRequest

type DescribePrometheusTemplatesRequest struct {
	*tchttp.BaseRequest

	// 模糊过滤条件,支持
	// Level 按模板级别过滤
	// Name 按名称过滤
	// Describe 按描述过滤
	// ID 按templateId过滤
	Filters []*Filter `json:"Filters,omitempty" name:"Filters"`

	// 分页偏移
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

	// 总数限制
	Limit *uint64 `json:"Limit,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 DescribePrometheusTemplatesResponse

type DescribePrometheusTemplatesResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 模板列表
		Templates []*PrometheusTemplate `json:"Templates,omitempty" name:"Templates"`

		// 总数
		Total *uint64 `json:"Total,omitempty" name:"Total"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `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 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 DescribeRegionsResponse

type DescribeRegionsResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 地域的数量
		// 注意:此字段可能返回 null,表示取不到有效值。
		TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

		// 地域列表
		// 注意:此字段可能返回 null,表示取不到有效值。
		RegionInstanceSet []*RegionInstance `json:"RegionInstanceSet,omitempty" name:"RegionInstanceSet"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `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 DescribeRouteTableConflictsRequest

type DescribeRouteTableConflictsRequest struct {
	*tchttp.BaseRequest

	// 路由表CIDR
	RouteTableCidrBlock *string `json:"RouteTableCidrBlock,omitempty" name:"RouteTableCidrBlock"`

	// 路由表绑定的VPC
	VpcId *string `json:"VpcId,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 DescribeRouteTableConflictsResponse

type DescribeRouteTableConflictsResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 路由表是否冲突。
		HasConflict *bool `json:"HasConflict,omitempty" name:"HasConflict"`

		// 路由表冲突列表。
		// 注意:此字段可能返回 null,表示取不到有效值。
		RouteTableConflictSet []*RouteTableConflict `json:"RouteTableConflictSet,omitempty" name:"RouteTableConflictSet"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `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 DnsServerConf

type DnsServerConf struct {

	// 域名。空字符串表示所有域名。
	Domain *string `json:"Domain,omitempty" name:"Domain"`

	// dns 服务器地址列表。地址格式 ip:port
	DnsServers []*string `json:"DnsServers,omitempty" name:"DnsServers"`
}

type EksCluster

type EksCluster struct {

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

	// 集群名称
	ClusterName *string `json:"ClusterName,omitempty" name:"ClusterName"`

	// Vpc Id
	VpcId *string `json:"VpcId,omitempty" name:"VpcId"`

	// 子网列表
	SubnetIds []*string `json:"SubnetIds,omitempty" name:"SubnetIds"`

	// k8s 版本号
	K8SVersion *string `json:"K8SVersion,omitempty" name:"K8SVersion"`

	// 集群状态(running运行中,initializing 初始化中,failed异常)
	Status *string `json:"Status,omitempty" name:"Status"`

	// 集群描述信息
	ClusterDesc *string `json:"ClusterDesc,omitempty" name:"ClusterDesc"`

	// 集群创建时间
	CreatedTime *string `json:"CreatedTime,omitempty" name:"CreatedTime"`

	// Service 子网Id
	ServiceSubnetId *string `json:"ServiceSubnetId,omitempty" name:"ServiceSubnetId"`

	// 集群的自定义dns 服务器信息
	DnsServers []*DnsServerConf `json:"DnsServers,omitempty" name:"DnsServers"`

	// 将来删除集群时是否要删除cbs。默认为 FALSE
	NeedDeleteCbs *bool `json:"NeedDeleteCbs,omitempty" name:"NeedDeleteCbs"`

	// 是否在用户集群内开启Dns。默认为TRUE
	EnableVpcCoreDNS *bool `json:"EnableVpcCoreDNS,omitempty" name:"EnableVpcCoreDNS"`

	// 标签描述列表。
	// 注意:此字段可能返回 null,表示取不到有效值。
	TagSpecification []*TagSpecification `json:"TagSpecification,omitempty" name:"TagSpecification"`
}

type EnableVpcCniNetworkTypeRequest

type EnableVpcCniNetworkTypeRequest struct {
	*tchttp.BaseRequest

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

	// 开启vpc-cni的模式,tke-route-eni开启的是策略路由模式,tke-direct-eni开启的是独立网卡模式
	VpcCniType *string `json:"VpcCniType,omitempty" name:"VpcCniType"`

	// 是否开启固定IP模式
	EnableStaticIp *bool `json:"EnableStaticIp,omitempty" name:"EnableStaticIp"`

	// 使用的容器子网
	Subnets []*string `json:"Subnets,omitempty" name:"Subnets"`

	// 在固定IP模式下,Pod销毁后退还IP的时间,传参必须大于300;不传默认IP永不销毁。
	ExpiredSeconds *uint64 `json:"ExpiredSeconds,omitempty" name:"ExpiredSeconds"`
}

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 EnableVpcCniNetworkTypeResponse

type EnableVpcCniNetworkTypeResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `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 EnhancedService

type EnhancedService struct {

	// 开启云安全服务。若不指定该参数,则默认开启云安全服务。
	SecurityService *RunSecurityServiceEnabled `json:"SecurityService,omitempty" name:"SecurityService"`

	// 开启云监控服务。若不指定该参数,则默认开启云监控服务。
	MonitorService *RunMonitorServiceEnabled `json:"MonitorService,omitempty" name:"MonitorService"`
}

type ExistedInstance

type ExistedInstance struct {

	// 实例是否支持加入集群(TRUE 可以加入 FALSE 不能加入)。
	// 注意:此字段可能返回 null,表示取不到有效值。
	Usable *bool `json:"Usable,omitempty" name:"Usable"`

	// 实例不支持加入的原因。
	// 注意:此字段可能返回 null,表示取不到有效值。
	UnusableReason *string `json:"UnusableReason,omitempty" name:"UnusableReason"`

	// 实例已经所在的集群ID。
	// 注意:此字段可能返回 null,表示取不到有效值。
	AlreadyInCluster *string `json:"AlreadyInCluster,omitempty" name:"AlreadyInCluster"`

	// 实例ID形如:ins-xxxxxxxx。
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`

	// 实例名称。
	// 注意:此字段可能返回 null,表示取不到有效值。
	InstanceName *string `json:"InstanceName,omitempty" name:"InstanceName"`

	// 实例主网卡的内网IP列表。
	// 注意:此字段可能返回 null,表示取不到有效值。
	PrivateIpAddresses []*string `json:"PrivateIpAddresses,omitempty" name:"PrivateIpAddresses"`

	// 实例主网卡的公网IP列表。
	// 注意:此字段可能返回 null,表示取不到有效值。
	// 注意:此字段可能返回 null,表示取不到有效值。
	PublicIpAddresses []*string `json:"PublicIpAddresses,omitempty" name:"PublicIpAddresses"`

	// 创建时间。按照ISO8601标准表示,并且使用UTC时间。格式为:YYYY-MM-DDThh:mm:ssZ。
	// 注意:此字段可能返回 null,表示取不到有效值。
	CreatedTime *string `json:"CreatedTime,omitempty" name:"CreatedTime"`

	// 实例的CPU核数,单位:核。
	// 注意:此字段可能返回 null,表示取不到有效值。
	CPU *uint64 `json:"CPU,omitempty" name:"CPU"`

	// 实例内存容量,单位:GB。
	// 注意:此字段可能返回 null,表示取不到有效值。
	Memory *uint64 `json:"Memory,omitempty" name:"Memory"`

	// 操作系统名称。
	// 注意:此字段可能返回 null,表示取不到有效值。
	OsName *string `json:"OsName,omitempty" name:"OsName"`

	// 实例机型。
	// 注意:此字段可能返回 null,表示取不到有效值。
	InstanceType *string `json:"InstanceType,omitempty" name:"InstanceType"`

	// 伸缩组ID
	// 注意:此字段可能返回 null,表示取不到有效值。
	AutoscalingGroupId *string `json:"AutoscalingGroupId,omitempty" name:"AutoscalingGroupId"`

	// 实例计费模式。取值范围: PREPAID:表示预付费,即包年包月 POSTPAID_BY_HOUR:表示后付费,即按量计费 CDHPAID:CDH付费,即只对CDH计费,不对CDH上的实例计费。
	// 注意:此字段可能返回 null,表示取不到有效值。
	InstanceChargeType *string `json:"InstanceChargeType,omitempty" name:"InstanceChargeType"`
}

type ExistedInstancesForNode

type ExistedInstancesForNode struct {

	// 节点角色,取值:MASTER_ETCD, WORKER。MASTER_ETCD只有在创建 INDEPENDENT_CLUSTER 独立集群时需要指定。MASTER_ETCD节点数量为3~7,建议为奇数。MASTER_ETCD最小配置为4C8G。
	NodeRole *string `json:"NodeRole,omitempty" name:"NodeRole"`

	// 已存在实例的重装参数
	ExistedInstancesPara *ExistedInstancesPara `json:"ExistedInstancesPara,omitempty" name:"ExistedInstancesPara"`

	// 节点高级设置,会覆盖集群级别设置的InstanceAdvancedSettings(当前只对节点自定义参数ExtraArgs生效)
	InstanceAdvancedSettingsOverride *InstanceAdvancedSettings `json:"InstanceAdvancedSettingsOverride,omitempty" name:"InstanceAdvancedSettingsOverride"`

	// 自定义模式集群,可指定每个节点的pod数量
	DesiredPodNumbers []*int64 `json:"DesiredPodNumbers,omitempty" name:"DesiredPodNumbers"`
}

type ExistedInstancesPara

type ExistedInstancesPara struct {

	// 集群ID
	InstanceIds []*string `json:"InstanceIds,omitempty" name:"InstanceIds"`

	// 实例额外需要设置参数信息
	InstanceAdvancedSettings *InstanceAdvancedSettings `json:"InstanceAdvancedSettings,omitempty" name:"InstanceAdvancedSettings"`

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

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

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

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

type ExtensionAddon

type ExtensionAddon struct {

	// 扩展组件名称
	AddonName *string `json:"AddonName,omitempty" name:"AddonName"`

	// 扩展组件信息(扩展组件资源对象的json字符串描述)
	AddonParam *string `json:"AddonParam,omitempty" name:"AddonParam"`
}

type Filter

type Filter struct {

	// 需要过滤的字段。
	Name *string `json:"Name,omitempty" name:"Name"`

	// 字段的过滤值。
	Values []*string `json:"Values,omitempty" name:"Values"`
}

type GetUpgradeInstanceProgressRequest

type GetUpgradeInstanceProgressRequest struct {
	*tchttp.BaseRequest

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

	// 最多获取多少个节点的进度
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`

	// 从第几个节点开始获取进度
	Offset *int64 `json:"Offset,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 GetUpgradeInstanceProgressResponse

type GetUpgradeInstanceProgressResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 升级节点总数
		Total *int64 `json:"Total,omitempty" name:"Total"`

		// 已升级节点总数
		Done *int64 `json:"Done,omitempty" name:"Done"`

		// 升级任务生命周期
		// process 运行中
		// paused 已停止
		// pauing 正在停止
		// done  已完成
		// timeout 已超时
		// aborted 已取消
		LifeState *string `json:"LifeState,omitempty" name:"LifeState"`

		// 各节点升级进度详情
		Instances []*InstanceUpgradeProgressItem `json:"Instances,omitempty" name:"Instances"`

		// 集群当前状态
		ClusterStatus *InstanceUpgradeClusterStatus `json:"ClusterStatus,omitempty" name:"ClusterStatus"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `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 IPAddress

type IPAddress struct {

	// Ip 地址的类型。可为 advertise, public 等
	Type *string `json:"Type,omitempty" name:"Type"`

	// Ip 地址
	Ip *string `json:"Ip,omitempty" name:"Ip"`

	// 网络端口
	Port *uint64 `json:"Port,omitempty" name:"Port"`
}

type ImageInstance

type ImageInstance struct {

	// 镜像别名
	// 注意:此字段可能返回 null,表示取不到有效值。
	Alias *string `json:"Alias,omitempty" name:"Alias"`

	// 操作系统名称
	// 注意:此字段可能返回 null,表示取不到有效值。
	OsName *string `json:"OsName,omitempty" name:"OsName"`

	// 镜像ID
	// 注意:此字段可能返回 null,表示取不到有效值。
	ImageId *string `json:"ImageId,omitempty" name:"ImageId"`

	// 容器的镜像版本,"DOCKER_CUSTOMIZE"(容器定制版),"GENERAL"(普通版本,默认值)
	// 注意:此字段可能返回 null,表示取不到有效值。
	OsCustomizeType *string `json:"OsCustomizeType,omitempty" name:"OsCustomizeType"`
}

type Instance

type Instance struct {

	// 实例ID
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`

	// 节点角色, MASTER, WORKER, ETCD, MASTER_ETCD,ALL, 默认为WORKER
	InstanceRole *string `json:"InstanceRole,omitempty" name:"InstanceRole"`

	// 实例异常(或者处于初始化中)的原因
	FailedReason *string `json:"FailedReason,omitempty" name:"FailedReason"`

	// 实例的状态(running 运行中,initializing 初始化中,failed 异常)
	InstanceState *string `json:"InstanceState,omitempty" name:"InstanceState"`

	// 实例是否封锁状态
	// 注意:此字段可能返回 null,表示取不到有效值。
	DrainStatus *string `json:"DrainStatus,omitempty" name:"DrainStatus"`

	// 节点配置
	// 注意:此字段可能返回 null,表示取不到有效值。
	InstanceAdvancedSettings *InstanceAdvancedSettings `json:"InstanceAdvancedSettings,omitempty" name:"InstanceAdvancedSettings"`

	// 添加时间
	CreatedTime *string `json:"CreatedTime,omitempty" name:"CreatedTime"`

	// 节点内网IP
	// 注意:此字段可能返回 null,表示取不到有效值。
	LanIP *string `json:"LanIP,omitempty" name:"LanIP"`

	// 资源池ID
	// 注意:此字段可能返回 null,表示取不到有效值。
	NodePoolId *string `json:"NodePoolId,omitempty" name:"NodePoolId"`

	// 自动伸缩组ID
	// 注意:此字段可能返回 null,表示取不到有效值。
	AutoscalingGroupId *string `json:"AutoscalingGroupId,omitempty" name:"AutoscalingGroupId"`
}

type InstanceAdvancedSettings

type InstanceAdvancedSettings struct {

	// 数据盘挂载点, 默认不挂载数据盘. 已格式化的 ext3,ext4,xfs 文件系统的数据盘将直接挂载,其他文件系统或未格式化的数据盘将自动格式化为ext4 (tlinux系统格式化成xfs)并挂载,请注意备份数据! 无数据盘或有多块数据盘的云主机此设置不生效。
	// 注意,注意,多盘场景请使用下方的DataDisks数据结构,设置对应的云盘类型、云盘大小、挂载路径、是否格式化等信息。
	// 注意:此字段可能返回 null,表示取不到有效值。
	MountTarget *string `json:"MountTarget,omitempty" name:"MountTarget"`

	// dockerd --graph 指定值, 默认为 /var/lib/docker
	// 注意:此字段可能返回 null,表示取不到有效值。
	DockerGraphPath *string `json:"DockerGraphPath,omitempty" name:"DockerGraphPath"`

	// base64 编码的用户脚本, 此脚本会在 k8s 组件运行后执行, 需要用户保证脚本的可重入及重试逻辑, 脚本及其生成的日志文件可在节点的 /data/ccs_userscript/ 路径查看, 如果要求节点需要在进行初始化完成后才可加入调度, 可配合 unschedulable 参数使用, 在 userScript 最后初始化完成后, 添加 kubectl uncordon nodename --kubeconfig=/root/.kube/config 命令使节点加入调度
	// 注意:此字段可能返回 null,表示取不到有效值。
	UserScript *string `json:"UserScript,omitempty" name:"UserScript"`

	// 设置加入的节点是否参与调度,默认值为0,表示参与调度;非0表示不参与调度, 待节点初始化完成之后, 可执行kubectl uncordon nodename使node加入调度.
	Unschedulable *int64 `json:"Unschedulable,omitempty" name:"Unschedulable"`

	// 节点Label数组
	// 注意:此字段可能返回 null,表示取不到有效值。
	Labels []*Label `json:"Labels,omitempty" name:"Labels"`

	// 多盘数据盘挂载信息,同时请确保购买CVM的参数传递了购买多个数据盘的信息,如添加节点CreateClusterInstances API的RunInstancesPara下的DataDisks也设置了购买多个数据盘, 具体可以参考CreateClusterInstances接口的,添加集群节点(多块数据盘)样例;注意:此参数在调用接口AddExistedInstances时不起作用
	// 注意:此字段可能返回 null,表示取不到有效值。
	DataDisks []*DataDisk `json:"DataDisks,omitempty" name:"DataDisks"`

	// 节点相关的自定义参数信息
	// 注意:此字段可能返回 null,表示取不到有效值。
	ExtraArgs *InstanceExtraArgs `json:"ExtraArgs,omitempty" name:"ExtraArgs"`

	// 该节点属于podCIDR大小自定义模式时,可指定节点上运行的pod数量上限
	// 注意:此字段可能返回 null,表示取不到有效值。
	DesiredPodNumber *int64 `json:"DesiredPodNumber,omitempty" name:"DesiredPodNumber"`
}

type InstanceDataDiskMountSetting

type InstanceDataDiskMountSetting struct {

	// CVM实例类型
	InstanceType *string `json:"InstanceType,omitempty" name:"InstanceType"`

	// 数据盘挂载信息
	DataDisks []*DataDisk `json:"DataDisks,omitempty" name:"DataDisks"`

	// CVM实例所属可用区
	Zone *string `json:"Zone,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,omitempty" name:"Kubelet"`
}

type InstanceUpgradeClusterStatus

type InstanceUpgradeClusterStatus struct {

	// pod总数
	PodTotal *int64 `json:"PodTotal,omitempty" name:"PodTotal"`

	// NotReady pod总数
	NotReadyPod *int64 `json:"NotReadyPod,omitempty" name:"NotReadyPod"`
}

type InstanceUpgradePreCheckResult

type InstanceUpgradePreCheckResult struct {

	// 检查是否通过
	CheckPass *bool `json:"CheckPass,omitempty" name:"CheckPass"`

	// 检查项数组
	Items []*InstanceUpgradePreCheckResultItem `json:"Items,omitempty" name:"Items"`

	// 本节点独立pod列表
	SinglePods []*string `json:"SinglePods,omitempty" name:"SinglePods"`
}

type InstanceUpgradePreCheckResultItem

type InstanceUpgradePreCheckResultItem struct {

	// 工作负载的命名空间
	Namespace *string `json:"Namespace,omitempty" name:"Namespace"`

	// 工作负载类型
	WorkLoadKind *string `json:"WorkLoadKind,omitempty" name:"WorkLoadKind"`

	// 工作负载名称
	WorkLoadName *string `json:"WorkLoadName,omitempty" name:"WorkLoadName"`

	// 驱逐节点前工作负载running的pod数目
	Before *uint64 `json:"Before,omitempty" name:"Before"`

	// 驱逐节点后工作负载running的pod数目
	After *uint64 `json:"After,omitempty" name:"After"`

	// 工作负载在本节点上的pod列表
	Pods []*string `json:"Pods,omitempty" name:"Pods"`
}

type InstanceUpgradeProgressItem

type InstanceUpgradeProgressItem struct {

	// 节点instanceID
	InstanceID *string `json:"InstanceID,omitempty" name:"InstanceID"`

	// 任务生命周期
	// process 运行中
	// paused 已停止
	// pauing 正在停止
	// done  已完成
	// timeout 已超时
	// aborted 已取消
	// pending 还未开始
	LifeState *string `json:"LifeState,omitempty" name:"LifeState"`

	// 升级开始时间
	// 注意:此字段可能返回 null,表示取不到有效值。
	StartAt *string `json:"StartAt,omitempty" name:"StartAt"`

	// 升级结束时间
	// 注意:此字段可能返回 null,表示取不到有效值。
	EndAt *string `json:"EndAt,omitempty" name:"EndAt"`

	// 升级前检查结果
	CheckResult *InstanceUpgradePreCheckResult `json:"CheckResult,omitempty" name:"CheckResult"`

	// 升级步骤详情
	Detail []*TaskStepInfo `json:"Detail,omitempty" name:"Detail"`
}

type Label

type Label struct {

	// map表中的Name
	Name *string `json:"Name,omitempty" name:"Name"`

	// map表中的Value
	Value *string `json:"Value,omitempty" name:"Value"`
}

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,omitempty" name:"Password"`

	// 密钥ID列表。关联密钥后,就可以通过对应的私钥来访问实例;KeyId可通过接口[DescribeKeyPairs](https://cloud.tencent.com/document/api/213/15699)获取,密钥与密码不能同时指定,同时Windows操作系统不支持指定密钥。当前仅支持购买的时候指定一个密钥。
	// 注意:此字段可能返回 null,表示取不到有效值。
	KeyIds []*string `json:"KeyIds,omitempty" name:"KeyIds"`

	// 保持镜像的原始设置。该参数与Password或KeyIds.N不能同时指定。只有使用自定义镜像、共享镜像或外部导入镜像创建实例时才能指定该参数为TRUE。取值范围:<br><li>TRUE:表示保持镜像的登录设置<br><li>FALSE:表示不保持镜像的登录设置<br><br>默认取值:FALSE。
	// 注意:此字段可能返回 null,表示取不到有效值。
	KeepImageLogin *string `json:"KeepImageLogin,omitempty" name:"KeepImageLogin"`
}

type ManuallyAdded

type ManuallyAdded struct {

	// 加入中的节点数量
	Joining *int64 `json:"Joining,omitempty" name:"Joining"`

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

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

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

type ModifyClusterAsGroupAttributeRequest

type ModifyClusterAsGroupAttributeRequest struct {
	*tchttp.BaseRequest

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

	// 集群关联的伸缩组属性
	ClusterAsGroupAttribute *ClusterAsGroupAttribute `json:"ClusterAsGroupAttribute,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 ModifyClusterAsGroupAttributeResponse

type ModifyClusterAsGroupAttributeResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `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 ModifyClusterAsGroupOptionAttributeRequest

type ModifyClusterAsGroupOptionAttributeRequest struct {
	*tchttp.BaseRequest

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

	// 集群弹性伸缩属性
	ClusterAsGroupOption *ClusterAsGroupOption `json:"ClusterAsGroupOption,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 ModifyClusterAsGroupOptionAttributeResponse

type ModifyClusterAsGroupOptionAttributeResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `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 ModifyClusterAttributeRequest

type ModifyClusterAttributeRequest struct {
	*tchttp.BaseRequest

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

	// 集群所属项目
	ProjectId *int64 `json:"ProjectId,omitempty" name:"ProjectId"`

	// 集群名称
	ClusterName *string `json:"ClusterName,omitempty" name:"ClusterName"`

	// 集群描述
	ClusterDesc *string `json:"ClusterDesc,omitempty" name:"ClusterDesc"`
}

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 ModifyClusterAttributeResponse

type ModifyClusterAttributeResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 集群所属项目
		// 注意:此字段可能返回 null,表示取不到有效值。
		ProjectId *int64 `json:"ProjectId,omitempty" name:"ProjectId"`

		// 集群名称
		// 注意:此字段可能返回 null,表示取不到有效值。
		ClusterName *string `json:"ClusterName,omitempty" name:"ClusterName"`

		// 集群描述
		// 注意:此字段可能返回 null,表示取不到有效值。
		ClusterDesc *string `json:"ClusterDesc,omitempty" name:"ClusterDesc"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `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 ModifyClusterEndpointSPRequest

type ModifyClusterEndpointSPRequest struct {
	*tchttp.BaseRequest

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

	// 安全策略放通单个IP或CIDR(例如: "192.168.1.0/24",默认为拒绝所有)
	SecurityPolicies []*string `json:"SecurityPolicies,omitempty" name:"SecurityPolicies"`
}

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 ModifyClusterEndpointSPResponse

type ModifyClusterEndpointSPResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `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 ModifyClusterNodePoolRequest

type ModifyClusterNodePoolRequest struct {
	*tchttp.BaseRequest

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

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

	// 名称
	Name *string `json:"Name,omitempty" name:"Name"`

	// 最大节点数
	MaxNodesNum *int64 `json:"MaxNodesNum,omitempty" name:"MaxNodesNum"`

	// 最小节点数
	MinNodesNum *int64 `json:"MinNodesNum,omitempty" name:"MinNodesNum"`

	// 标签
	Labels []*Label `json:"Labels,omitempty" name:"Labels"`

	// 污点
	Taints []*Taint `json:"Taints,omitempty" name:"Taints"`

	// 是否开启伸缩
	EnableAutoscale *bool `json:"EnableAutoscale,omitempty" name:"EnableAutoscale"`

	// 操作系统名称
	OsName *string `json:"OsName,omitempty" name:"OsName"`

	// 镜像版本,"DOCKER_CUSTOMIZE"(容器定制版),"GENERAL"(普通版本,默认值)
	OsCustomizeType *string `json:"OsCustomizeType,omitempty" name:"OsCustomizeType"`
}

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 ModifyClusterNodePoolResponse

type ModifyClusterNodePoolResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `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 ModifyNodePoolDesiredCapacityAboutAsgRequest

type ModifyNodePoolDesiredCapacityAboutAsgRequest struct {
	*tchttp.BaseRequest

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

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

	// 节点池所关联的伸缩组的期望实例数
	DesiredCapacity *int64 `json:"DesiredCapacity,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 ModifyNodePoolDesiredCapacityAboutAsgResponse

type ModifyNodePoolDesiredCapacityAboutAsgResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `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 ModifyPrometheusTemplateRequest

type ModifyPrometheusTemplateRequest struct {
	*tchttp.BaseRequest

	// 模板ID
	TemplateId *string `json:"TemplateId,omitempty" name:"TemplateId"`

	// 修改内容
	Template *PrometheusTemplateModify `json:"Template,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 ModifyPrometheusTemplateResponse

type ModifyPrometheusTemplateResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `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 NodeCountSummary

type NodeCountSummary struct {

	// 手动管理的节点
	// 注意:此字段可能返回 null,表示取不到有效值。
	ManuallyAdded *ManuallyAdded `json:"ManuallyAdded,omitempty" name:"ManuallyAdded"`

	// 自动管理的节点
	// 注意:此字段可能返回 null,表示取不到有效值。
	AutoscalingAdded *AutoscalingAdded `json:"AutoscalingAdded,omitempty" name:"AutoscalingAdded"`
}

type NodePool

type NodePool struct {

	// NodePoolId 资源池id
	NodePoolId *string `json:"NodePoolId,omitempty" name:"NodePoolId"`

	// Name 资源池名称
	Name *string `json:"Name,omitempty" name:"Name"`

	// ClusterInstanceId 集群实例id
	ClusterInstanceId *string `json:"ClusterInstanceId,omitempty" name:"ClusterInstanceId"`

	// LifeState 状态,当前节点池生命周期状态包括:creating,normal,updating,deleting,deleted
	LifeState *string `json:"LifeState,omitempty" name:"LifeState"`

	// LaunchConfigurationId 配置
	LaunchConfigurationId *string `json:"LaunchConfigurationId,omitempty" name:"LaunchConfigurationId"`

	// AutoscalingGroupId 分组id
	AutoscalingGroupId *string `json:"AutoscalingGroupId,omitempty" name:"AutoscalingGroupId"`

	// Labels 标签
	Labels []*Label `json:"Labels,omitempty" name:"Labels"`

	// Taints 污点标记
	Taints []*Taint `json:"Taints,omitempty" name:"Taints"`

	// NodeCountSummary 节点列表
	NodeCountSummary *NodeCountSummary `json:"NodeCountSummary,omitempty" name:"NodeCountSummary"`

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

	// 最大节点数量
	// 注意:此字段可能返回 null,表示取不到有效值。
	MaxNodesNum *int64 `json:"MaxNodesNum,omitempty" name:"MaxNodesNum"`

	// 最小节点数量
	// 注意:此字段可能返回 null,表示取不到有效值。
	MinNodesNum *int64 `json:"MinNodesNum,omitempty" name:"MinNodesNum"`

	// 期望的节点数量
	// 注意:此字段可能返回 null,表示取不到有效值。
	DesiredNodesNum *int64 `json:"DesiredNodesNum,omitempty" name:"DesiredNodesNum"`

	// 节点池osName
	// 注意:此字段可能返回 null,表示取不到有效值。
	NodePoolOs *string `json:"NodePoolOs,omitempty" name:"NodePoolOs"`

	// 容器的镜像版本,"DOCKER_CUSTOMIZE"(容器定制版),"GENERAL"(普通版本,默认值)
	// 注意:此字段可能返回 null,表示取不到有效值。
	OsCustomizeType *string `json:"OsCustomizeType,omitempty" name:"OsCustomizeType"`

	// 镜像id
	// 注意:此字段可能返回 null,表示取不到有效值。
	ImageId *string `json:"ImageId,omitempty" name:"ImageId"`

	// 集群属于节点podCIDR大小自定义模式时,节点池需要带上pod数量属性
	// 注意:此字段可能返回 null,表示取不到有效值。
	DesiredPodNum *int64 `json:"DesiredPodNum,omitempty" name:"DesiredPodNum"`

	// 用户自定义脚本
	// 注意:此字段可能返回 null,表示取不到有效值。
	UserScript *string `json:"UserScript,omitempty" name:"UserScript"`
}

type NodePoolOption

type NodePoolOption struct {

	// 是否加入节点池
	AddToNodePool *bool `json:"AddToNodePool,omitempty" name:"AddToNodePool"`

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

	// 是否继承节点池相关配置
	InheritConfigurationFromNodePool *bool `json:"InheritConfigurationFromNodePool,omitempty" name:"InheritConfigurationFromNodePool"`
}

type PrometheusAgentOverview

type PrometheusAgentOverview struct {

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

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

	// agent状态
	// normal = 正常
	// abnormal = 异常
	Status *string `json:"Status,omitempty" name:"Status"`

	// 集群名称
	ClusterName *string `json:"ClusterName,omitempty" name:"ClusterName"`
}

type PrometheusAlertHistoryItem

type PrometheusAlertHistoryItem struct {

	// 告警名称
	RuleName *string `json:"RuleName,omitempty" name:"RuleName"`

	// 告警开始时间
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// 告警内容
	Content *string `json:"Content,omitempty" name:"Content"`

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

	// 触发的规则名称
	// 注意:此字段可能返回 null,表示取不到有效值。
	RuleItem *string `json:"RuleItem,omitempty" name:"RuleItem"`

	// 告警渠道的id
	// 注意:此字段可能返回 null,表示取不到有效值。
	TopicId *string `json:"TopicId,omitempty" name:"TopicId"`

	// 告警渠道的名称
	// 注意:此字段可能返回 null,表示取不到有效值。
	TopicName *string `json:"TopicName,omitempty" name:"TopicName"`
}

type PrometheusAlertRule

type PrometheusAlertRule struct {

	// 规则名称
	Name *string `json:"Name,omitempty" name:"Name"`

	// prometheus语句
	Rule *string `json:"Rule,omitempty" name:"Rule"`

	// 额外标签
	Labels []*Label `json:"Labels,omitempty" name:"Labels"`

	// 告警发送模板
	Template *string `json:"Template,omitempty" name:"Template"`

	// 持续时间
	For *string `json:"For,omitempty" name:"For"`

	// 该条规则的描述信息
	// 注意:此字段可能返回 null,表示取不到有效值。
	Describe *string `json:"Describe,omitempty" name:"Describe"`

	// 参考prometheus rule中的annotations
	// 注意:此字段可能返回 null,表示取不到有效值。
	Annotations []*Label `json:"Annotations,omitempty" name:"Annotations"`
}

type PrometheusAlertRuleDetail

type PrometheusAlertRuleDetail struct {

	// 规则名称
	Name *string `json:"Name,omitempty" name:"Name"`

	// 规则列表
	Rules []*PrometheusAlertRule `json:"Rules,omitempty" name:"Rules"`

	// 最后修改时间
	UpdatedAt *string `json:"UpdatedAt,omitempty" name:"UpdatedAt"`

	// 告警渠道
	Notification *PrometheusNotification `json:"Notification,omitempty" name:"Notification"`

	// 告警 id
	Id *string `json:"Id,omitempty" name:"Id"`

	// 如果该告警来至模板下发,则TemplateId为模板id
	// 注意:此字段可能返回 null,表示取不到有效值。
	TemplateId *string `json:"TemplateId,omitempty" name:"TemplateId"`

	// 计算周期
	// 注意:此字段可能返回 null,表示取不到有效值。
	Interval *string `json:"Interval,omitempty" name:"Interval"`
}

type PrometheusConfigItem

type PrometheusConfigItem struct {

	// 名称
	Name *string `json:"Name,omitempty" name:"Name"`

	// 配置内容
	Config *string `json:"Config,omitempty" name:"Config"`

	// 用于出参,如果该配置来至模板,则为模板id
	// 注意:此字段可能返回 null,表示取不到有效值。
	TemplateId *string `json:"TemplateId,omitempty" name:"TemplateId"`
}

type PrometheusInstanceOverview

type PrometheusInstanceOverview struct {

	// 实例id
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`

	// 实例名称
	Name *string `json:"Name,omitempty" name:"Name"`

	// 实例vpcId
	VpcId *string `json:"VpcId,omitempty" name:"VpcId"`

	// 实例子网Id
	SubnetId *string `json:"SubnetId,omitempty" name:"SubnetId"`

	// 实例当前的状态
	// prepare_env = 初始化环境
	// install_suit = 安装组件
	// running = 运行中
	Status *string `json:"Status,omitempty" name:"Status"`

	// COS桶存储
	COSBucket *string `json:"COSBucket,omitempty" name:"COSBucket"`

	// grafana默认地址,如果开启外网访问得为域名,否则为内网地址
	// 注意:此字段可能返回 null,表示取不到有效值。
	GrafanaURL *string `json:"GrafanaURL,omitempty" name:"GrafanaURL"`

	// 关联集群总数
	// 注意:此字段可能返回 null,表示取不到有效值。
	BoundTotal *uint64 `json:"BoundTotal,omitempty" name:"BoundTotal"`

	// 运行正常的集群数
	// 注意:此字段可能返回 null,表示取不到有效值。
	BoundNormal *uint64 `json:"BoundNormal,omitempty" name:"BoundNormal"`
}

type PrometheusJobTargets

type PrometheusJobTargets struct {

	// 该Job的targets列表
	Targets []*PrometheusTarget `json:"Targets,omitempty" name:"Targets"`

	// job的名称
	JobName *string `json:"JobName,omitempty" name:"JobName"`

	// targets总数
	Total *uint64 `json:"Total,omitempty" name:"Total"`

	// 健康的target总数
	Up *uint64 `json:"Up,omitempty" name:"Up"`
}

type PrometheusNotification

type PrometheusNotification struct {

	// 是否启用
	Enabled *bool `json:"Enabled,omitempty" name:"Enabled"`

	// 收敛时间
	RepeatInterval *string `json:"RepeatInterval,omitempty" name:"RepeatInterval"`

	// 生效起始时间
	TimeRangeStart *string `json:"TimeRangeStart,omitempty" name:"TimeRangeStart"`

	// 生效结束时间
	TimeRangeEnd *string `json:"TimeRangeEnd,omitempty" name:"TimeRangeEnd"`

	// 告警通知方式。目前有SMS、EMAIL、CALL、WECHAT方式。
	// 分别代表:短信、邮件、电话、微信
	// 注意:此字段可能返回 null,表示取不到有效值。
	NotifyWay []*string `json:"NotifyWay,omitempty" name:"NotifyWay"`

	// 告警接收组(用户组)
	// 注意:此字段可能返回 null,表示取不到有效值。
	ReceiverGroups []*uint64 `json:"ReceiverGroups,omitempty" name:"ReceiverGroups"`

	// 电话告警顺序。
	// 注:NotifyWay选择CALL,采用该参数。
	// 注意:此字段可能返回 null,表示取不到有效值。
	PhoneNotifyOrder []*uint64 `json:"PhoneNotifyOrder,omitempty" name:"PhoneNotifyOrder"`

	// 电话告警次数。
	// 注:NotifyWay选择CALL,采用该参数。
	// 注意:此字段可能返回 null,表示取不到有效值。
	PhoneCircleTimes *int64 `json:"PhoneCircleTimes,omitempty" name:"PhoneCircleTimes"`

	// 电话告警轮内间隔。单位:秒
	// 注:NotifyWay选择CALL,采用该参数。
	// 注意:此字段可能返回 null,表示取不到有效值。
	PhoneInnerInterval *int64 `json:"PhoneInnerInterval,omitempty" name:"PhoneInnerInterval"`

	// 电话告警轮外间隔。单位:秒
	// 注:NotifyWay选择CALL,采用该参数。
	// 注意:此字段可能返回 null,表示取不到有效值。
	PhoneCircleInterval *int64 `json:"PhoneCircleInterval,omitempty" name:"PhoneCircleInterval"`

	// 电话告警触达通知
	// 注:NotifyWay选择CALL,采用该参数。
	// 注意:此字段可能返回 null,表示取不到有效值。
	PhoneArriveNotice *bool `json:"PhoneArriveNotice,omitempty" name:"PhoneArriveNotice"`

	// 通道类型,默认为amp,支持以下
	// amp
	// webhook
	// 注意:此字段可能返回 null,表示取不到有效值。
	Type *string `json:"Type,omitempty" name:"Type"`

	// 如果Type为webhook, 则该字段为必填项
	// 注意:此字段可能返回 null,表示取不到有效值。
	WebHook *string `json:"WebHook,omitempty" name:"WebHook"`
}

type PrometheusTarget

type PrometheusTarget struct {

	// 抓取目标的URL
	Url *string `json:"Url,omitempty" name:"Url"`

	// target当前状态,当前支持
	// up = 健康
	// down = 不健康
	// unknown = 未知
	State *string `json:"State,omitempty" name:"State"`

	// target的元label
	Labels []*Label `json:"Labels,omitempty" name:"Labels"`

	// 上一次抓取的时间
	LastScrape *string `json:"LastScrape,omitempty" name:"LastScrape"`

	// 上一次抓取的耗时,单位是s
	ScrapeDuration *float64 `json:"ScrapeDuration,omitempty" name:"ScrapeDuration"`

	// 上一次抓取如果错误,该字段存储错误信息
	Error *string `json:"Error,omitempty" name:"Error"`
}

type PrometheusTemplate

type PrometheusTemplate struct {

	// 模板名称
	Name *string `json:"Name,omitempty" name:"Name"`

	// 模板维度,支持以下类型
	// instance 实例级别
	// cluster 集群级别
	Level *string `json:"Level,omitempty" name:"Level"`

	// 模板描述
	// 注意:此字段可能返回 null,表示取不到有效值。
	Describe *string `json:"Describe,omitempty" name:"Describe"`

	// 当Level为instance时有效,
	// 模板中的告警配置列表
	// 注意:此字段可能返回 null,表示取不到有效值。
	AlertRules []*PrometheusAlertRule `json:"AlertRules,omitempty" name:"AlertRules"`

	// 当Level为instance时有效,
	// 模板中的聚合规则列表
	// 注意:此字段可能返回 null,表示取不到有效值。
	RecordRules []*PrometheusConfigItem `json:"RecordRules,omitempty" name:"RecordRules"`

	// 当Level为cluster时有效,
	// 模板中的ServiceMonitor规则列表
	// 注意:此字段可能返回 null,表示取不到有效值。
	ServiceMonitors []*PrometheusConfigItem `json:"ServiceMonitors,omitempty" name:"ServiceMonitors"`

	// 当Level为cluster时有效,
	// 模板中的PodMonitors规则列表
	// 注意:此字段可能返回 null,表示取不到有效值。
	PodMonitors []*PrometheusConfigItem `json:"PodMonitors,omitempty" name:"PodMonitors"`

	// 当Level为cluster时有效,
	// 模板中的RawJobs规则列表
	// 注意:此字段可能返回 null,表示取不到有效值。
	RawJobs []*PrometheusConfigItem `json:"RawJobs,omitempty" name:"RawJobs"`

	// 模板的ID, 用于出参
	// 注意:此字段可能返回 null,表示取不到有效值。
	TemplateId *string `json:"TemplateId,omitempty" name:"TemplateId"`

	// 最近更新时间,用于出参
	// 注意:此字段可能返回 null,表示取不到有效值。
	UpdateTime *string `json:"UpdateTime,omitempty" name:"UpdateTime"`

	// 当前版本,用于出参
	// 注意:此字段可能返回 null,表示取不到有效值。
	Version *string `json:"Version,omitempty" name:"Version"`

	// 是否系统提供的默认模板,用于出参
	// 注意:此字段可能返回 null,表示取不到有效值。
	IsDefault *bool `json:"IsDefault,omitempty" name:"IsDefault"`

	// 当Level为instance时有效,
	// 模板中的告警配置列表
	// 注意:此字段可能返回 null,表示取不到有效值。
	AlertDetailRules []*PrometheusAlertRuleDetail `json:"AlertDetailRules,omitempty" name:"AlertDetailRules"`
}

type PrometheusTemplateModify

type PrometheusTemplateModify struct {

	// 修改名称
	Name *string `json:"Name,omitempty" name:"Name"`

	// 修改描述
	// 注意:此字段可能返回 null,表示取不到有效值。
	Describe *string `json:"Describe,omitempty" name:"Describe"`

	// 修改内容,只有当模板类型是Alert时生效
	// 注意:此字段可能返回 null,表示取不到有效值。
	AlertRules []*PrometheusAlertRule `json:"AlertRules,omitempty" name:"AlertRules"`

	// 当Level为instance时有效,
	// 模板中的聚合规则列表
	// 注意:此字段可能返回 null,表示取不到有效值。
	RecordRules []*PrometheusConfigItem `json:"RecordRules,omitempty" name:"RecordRules"`

	// 当Level为cluster时有效,
	// 模板中的ServiceMonitor规则列表
	// 注意:此字段可能返回 null,表示取不到有效值。
	ServiceMonitors []*PrometheusConfigItem `json:"ServiceMonitors,omitempty" name:"ServiceMonitors"`

	// 当Level为cluster时有效,
	// 模板中的PodMonitors规则列表
	// 注意:此字段可能返回 null,表示取不到有效值。
	PodMonitors []*PrometheusConfigItem `json:"PodMonitors,omitempty" name:"PodMonitors"`

	// 当Level为cluster时有效,
	// 模板中的RawJobs规则列表
	// 注意:此字段可能返回 null,表示取不到有效值。
	RawJobs []*PrometheusConfigItem `json:"RawJobs,omitempty" name:"RawJobs"`

	// 修改内容,只有当模板类型是Alert时生效
	// 注意:此字段可能返回 null,表示取不到有效值。
	AlertDetailRules []*PrometheusAlertRuleDetail `json:"AlertDetailRules,omitempty" name:"AlertDetailRules"`
}

type PrometheusTemplateSyncTarget

type PrometheusTemplateSyncTarget struct {

	// 目标所在地域
	Region *string `json:"Region,omitempty" name:"Region"`

	// 目标实例
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`

	// 集群id,只有当采集模板的Level为cluster的时候需要
	// 注意:此字段可能返回 null,表示取不到有效值。
	ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"`

	// 最后一次同步时间, 用于出参
	// 注意:此字段可能返回 null,表示取不到有效值。
	SyncTime *string `json:"SyncTime,omitempty" name:"SyncTime"`

	// 当前使用的模板版本,用于出参
	// 注意:此字段可能返回 null,表示取不到有效值。
	Version *string `json:"Version,omitempty" name:"Version"`

	// 集群类型,只有当采集模板的Level为cluster的时候需要
	// 注意:此字段可能返回 null,表示取不到有效值。
	ClusterType *string `json:"ClusterType,omitempty" name:"ClusterType"`

	// 用于出参,实例名称
	// 注意:此字段可能返回 null,表示取不到有效值。
	InstanceName *string `json:"InstanceName,omitempty" name:"InstanceName"`

	// 用于出参,集群名称
	// 注意:此字段可能返回 null,表示取不到有效值。
	ClusterName *string `json:"ClusterName,omitempty" name:"ClusterName"`
}

type RegionInstance

type RegionInstance struct {

	// 地域名称
	// 注意:此字段可能返回 null,表示取不到有效值。
	RegionName *string `json:"RegionName,omitempty" name:"RegionName"`

	// 地域ID
	// 注意:此字段可能返回 null,表示取不到有效值。
	RegionId *int64 `json:"RegionId,omitempty" name:"RegionId"`

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

	// 地域特性开关(按照JSON的形式返回所有属性)
	// 注意:此字段可能返回 null,表示取不到有效值。
	FeatureGates *string `json:"FeatureGates,omitempty" name:"FeatureGates"`

	// 地域简称
	// 注意:此字段可能返回 null,表示取不到有效值。
	Alias *string `json:"Alias,omitempty" name:"Alias"`

	// 地域白名单
	// 注意:此字段可能返回 null,表示取不到有效值。
	Remark *string `json:"Remark,omitempty" name:"Remark"`
}

type RemoveNodeFromNodePoolRequest

type RemoveNodeFromNodePoolRequest struct {
	*tchttp.BaseRequest

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

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

	// 节点id列表
	InstanceIds []*string `json:"InstanceIds,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 RemoveNodeFromNodePoolResponse

type RemoveNodeFromNodePoolResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `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 ResourceDeleteOption

type ResourceDeleteOption struct {

	// 资源类型,例如CBS
	ResourceType *string `json:"ResourceType,omitempty" name:"ResourceType"`

	// 集群删除时资源的删除模式:terminate(销毁),retain (保留)
	DeleteMode *string `json:"DeleteMode,omitempty" name:"DeleteMode"`
}

type RouteInfo

type RouteInfo struct {

	// 路由表名称。
	RouteTableName *string `json:"RouteTableName,omitempty" name:"RouteTableName"`

	// 目的端CIDR。
	DestinationCidrBlock *string `json:"DestinationCidrBlock,omitempty" name:"DestinationCidrBlock"`

	// 下一跳地址。
	GatewayIp *string `json:"GatewayIp,omitempty" name:"GatewayIp"`
}

type RouteTableConflict

type RouteTableConflict struct {

	// 路由表类型。
	RouteTableType *string `json:"RouteTableType,omitempty" name:"RouteTableType"`

	// 路由表CIDR。
	// 注意:此字段可能返回 null,表示取不到有效值。
	RouteTableCidrBlock *string `json:"RouteTableCidrBlock,omitempty" name:"RouteTableCidrBlock"`

	// 路由表名称。
	// 注意:此字段可能返回 null,表示取不到有效值。
	RouteTableName *string `json:"RouteTableName,omitempty" name:"RouteTableName"`

	// 路由表ID。
	// 注意:此字段可能返回 null,表示取不到有效值。
	RouteTableId *string `json:"RouteTableId,omitempty" name:"RouteTableId"`
}

type RouteTableInfo

type RouteTableInfo struct {

	// 路由表名称。
	RouteTableName *string `json:"RouteTableName,omitempty" name:"RouteTableName"`

	// 路由表CIDR。
	RouteTableCidrBlock *string `json:"RouteTableCidrBlock,omitempty" name:"RouteTableCidrBlock"`

	// VPC实例ID。
	VpcId *string `json:"VpcId,omitempty" name:"VpcId"`
}

type RunInstancesForNode

type RunInstancesForNode struct {

	// 节点角色,取值:MASTER_ETCD, WORKER。MASTER_ETCD只有在创建 INDEPENDENT_CLUSTER 独立集群时需要指定。MASTER_ETCD节点数量为3~7,建议为奇数。MASTER_ETCD节点最小配置为4C8G。
	NodeRole *string `json:"NodeRole,omitempty" name:"NodeRole"`

	// CVM创建透传参数,json化字符串格式,详见[CVM创建实例](https://cloud.tencent.com/document/product/213/15730)接口,传入公共参数外的其他参数即可,其中ImageId会替换为TKE集群OS对应的镜像。
	RunInstancesPara []*string `json:"RunInstancesPara,omitempty" name:"RunInstancesPara"`

	// 节点高级设置,该参数会覆盖集群级别设置的InstanceAdvancedSettings,和上边的RunInstancesPara按照顺序一一对应(当前只对节点自定义参数ExtraArgs生效)。
	InstanceAdvancedSettingsOverrides []*InstanceAdvancedSettings `json:"InstanceAdvancedSettingsOverrides,omitempty" name:"InstanceAdvancedSettingsOverrides"`
}

type RunMonitorServiceEnabled

type RunMonitorServiceEnabled struct {

	// 是否开启[云监控](/document/product/248)服务。取值范围:<br><li>TRUE:表示开启云监控服务<br><li>FALSE:表示不开启云监控服务<br><br>默认取值:TRUE。
	Enabled *bool `json:"Enabled,omitempty" name:"Enabled"`
}

type RunSecurityServiceEnabled

type RunSecurityServiceEnabled struct {

	// 是否开启[云安全](/document/product/296)服务。取值范围:<br><li>TRUE:表示开启云安全服务<br><li>FALSE:表示不开启云安全服务<br><br>默认取值:TRUE。
	Enabled *bool `json:"Enabled,omitempty" name:"Enabled"`
}

type SetNodePoolNodeProtectionRequest

type SetNodePoolNodeProtectionRequest struct {
	*tchttp.BaseRequest

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

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

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

	// 节点是否需要移出保护
	ProtectedFromScaleIn *bool `json:"ProtectedFromScaleIn,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 SetNodePoolNodeProtectionResponse

type SetNodePoolNodeProtectionResponse struct {
	*tchttp.BaseResponse
	Response *struct {

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

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

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `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 SyncPrometheusTemplateRequest

type SyncPrometheusTemplateRequest struct {
	*tchttp.BaseRequest

	// 实例id
	TemplateId *string `json:"TemplateId,omitempty" name:"TemplateId"`

	// 同步目标
	Targets []*PrometheusTemplateSyncTarget `json:"Targets,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 SyncPrometheusTemplateResponse

type SyncPrometheusTemplateResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `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 Tag

type Tag struct {

	// 标签键
	Key *string `json:"Key,omitempty" name:"Key"`

	// 标签值
	Value *string `json:"Value,omitempty" name:"Value"`
}

type TagSpecification

type TagSpecification struct {

	// 标签绑定的资源类型,当前支持类型:"cluster"
	// 注意:此字段可能返回 null,表示取不到有效值。
	ResourceType *string `json:"ResourceType,omitempty" name:"ResourceType"`

	// 标签对列表
	// 注意:此字段可能返回 null,表示取不到有效值。
	Tags []*Tag `json:"Tags,omitempty" name:"Tags"`
}

type Taint

type Taint struct {

	// Key
	Key *string `json:"Key,omitempty" name:"Key"`

	// Value
	Value *string `json:"Value,omitempty" name:"Value"`

	// Effect
	Effect *string `json:"Effect,omitempty" name:"Effect"`
}

type TaskStepInfo

type TaskStepInfo struct {

	// 步骤名称
	Step *string `json:"Step,omitempty" name:"Step"`

	// 生命周期
	// pending : 步骤未开始
	// running: 步骤执行中
	// success: 步骤成功完成
	// failed: 步骤失败
	LifeState *string `json:"LifeState,omitempty" name:"LifeState"`

	// 步骤开始时间
	// 注意:此字段可能返回 null,表示取不到有效值。
	StartAt *string `json:"StartAt,omitempty" name:"StartAt"`

	// 步骤结束时间
	// 注意:此字段可能返回 null,表示取不到有效值。
	EndAt *string `json:"EndAt,omitempty" name:"EndAt"`

	// 若步骤生命周期为failed,则此字段显示错误信息
	// 注意:此字段可能返回 null,表示取不到有效值。
	FailedMsg *string `json:"FailedMsg,omitempty" name:"FailedMsg"`
}

type UpdateClusterVersionRequest

type UpdateClusterVersionRequest struct {
	*tchttp.BaseRequest

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

	// 需要升级到的版本
	DstVersion *string `json:"DstVersion,omitempty" name:"DstVersion"`

	// 集群自定义参数
	ExtraArgs *ClusterExtraArgs `json:"ExtraArgs,omitempty" name:"ExtraArgs"`

	// 可容忍的最大不可用pod数目
	MaxNotReadyPercent *float64 `json:"MaxNotReadyPercent,omitempty" name:"MaxNotReadyPercent"`

	// 是否跳过预检查阶段
	SkipPreCheck *bool `json:"SkipPreCheck,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 UpdateClusterVersionResponse

type UpdateClusterVersionResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `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 UpdateEKSClusterRequest

type UpdateEKSClusterRequest struct {
	*tchttp.BaseRequest

	// 弹性集群Id
	ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"`

	// 弹性集群名称
	ClusterName *string `json:"ClusterName,omitempty" name:"ClusterName"`

	// 弹性集群描述信息
	ClusterDesc *string `json:"ClusterDesc,omitempty" name:"ClusterDesc"`

	// 子网Id 列表
	SubnetIds []*string `json:"SubnetIds,omitempty" name:"SubnetIds"`

	// 弹性容器集群公网访问LB信息
	PublicLB *ClusterPublicLB `json:"PublicLB,omitempty" name:"PublicLB"`

	// 弹性容器集群内网访问LB信息
	InternalLB *ClusterInternalLB `json:"InternalLB,omitempty" name:"InternalLB"`

	// Service 子网Id
	ServiceSubnetId *string `json:"ServiceSubnetId,omitempty" name:"ServiceSubnetId"`

	// 集群自定义的dns 服务器信息
	DnsServers []*DnsServerConf `json:"DnsServers,omitempty" name:"DnsServers"`

	// 是否清空自定义dns 服务器设置。为1 表示 是。其他表示 否。
	ClearDnsServer *string `json:"ClearDnsServer,omitempty" name:"ClearDnsServer"`

	// 将来删除集群时是否要删除cbs。默认为 FALSE
	NeedDeleteCbs *bool `json:"NeedDeleteCbs,omitempty" name:"NeedDeleteCbs"`
}

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 UpdateEKSClusterResponse

type UpdateEKSClusterResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `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 UpgradeAbleInstancesItem

type UpgradeAbleInstancesItem struct {

	// 节点Id
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`

	// 节点的当前版本
	Version *string `json:"Version,omitempty" name:"Version"`

	// 当前版本的最新小版本
	// 注意:此字段可能返回 null,表示取不到有效值。
	LatestVersion *string `json:"LatestVersion,omitempty" name:"LatestVersion"`
}

type UpgradeClusterInstancesRequest

type UpgradeClusterInstancesRequest struct {
	*tchttp.BaseRequest

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

	// create 表示开始一次升级任务
	// pause 表示停止任务
	// resume表示继续任务
	// abort表示终止任务
	Operation *string `json:"Operation,omitempty" name:"Operation"`

	// 升级类型,只有Operation是create需要设置
	// reset 大版本重装升级
	// hot 小版本热升级
	// major 大版本原地升级
	UpgradeType *string `json:"UpgradeType,omitempty" name:"UpgradeType"`

	// 需要升级的节点列表
	InstanceIds []*string `json:"InstanceIds,omitempty" name:"InstanceIds"`

	// 当节点重新加入集群时候所使用的参数,参考添加已有节点接口
	ResetParam *UpgradeNodeResetParam `json:"ResetParam,omitempty" name:"ResetParam"`

	// 是否忽略节点升级前检查
	SkipPreCheck *bool `json:"SkipPreCheck,omitempty" name:"SkipPreCheck"`

	// 最大可容忍的不可用Pod比例
	MaxNotReadyPercent *float64 `json:"MaxNotReadyPercent,omitempty" name:"MaxNotReadyPercent"`
}

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 UpgradeClusterInstancesResponse

type UpgradeClusterInstancesResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `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 UpgradeNodeResetParam

type UpgradeNodeResetParam struct {

	// 实例额外需要设置参数信息
	InstanceAdvancedSettings *InstanceAdvancedSettings `json:"InstanceAdvancedSettings,omitempty" name:"InstanceAdvancedSettings"`

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

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

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL