v20180525

package
v3.0.469+incompatible Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (

	// Operation failed.
	FAILEDOPERATION = "FailedOperation"

	// Failed to obtain user authentication information.
	FAILEDOPERATION_ACCOUNTCOMMON = "FailedOperation.AccountCommon"

	// The account is not verified.
	FAILEDOPERATION_ACCOUNTUSERNOTAUTHENTICATED = "FailedOperation.AccountUserNotAuthenticated"

	// An error occurs while creating scaling group resources.
	FAILEDOPERATION_ASCOMMON = "FailedOperation.AsCommon"

	// Unknown CLB error.
	FAILEDOPERATION_CLBUNEXPECTEDERROR = "FailedOperation.CLBUnexpectedError"

	// Not authorized to access this API
	FAILEDOPERATION_CAMNOAUTH = "FailedOperation.CamNoAuth"

	// The cluster is not found.
	FAILEDOPERATION_CLUSTERNOTFOUND = "FailedOperation.ClusterNotFound"

	// Cluster status error.
	FAILEDOPERATION_CLUSTERSTATE = "FailedOperation.ClusterState"

	// The version of the cluster node is too old.
	FAILEDOPERATION_CLUSTERUPGRADENODEVERSION = "FailedOperation.ClusterUpgradeNodeVersion"

	// Internal HTTP client error.
	FAILEDOPERATION_COMPONENTCLIENTHTTP = "FailedOperation.ComponentClientHttp"

	// Internal HTTP decapsulation failed.
	FAILEDOPERATION_COMPONENTCLIENTUNPACK = "FailedOperation.ComponentClientUnpack"

	// Failed to request (HTTP request) other Tencent Cloud services.
	FAILEDOPERATION_COMPONENTCLINETHTTP = "FailedOperation.ComponentClinetHttp"

	// Failed to create the node due to a CVM error
	FAILEDOPERATION_CVMCOMMON = "FailedOperation.CvmCommon"

	// Some of the specified CVMs are not found.
	FAILEDOPERATION_CVMNUMBERNOTMATCH = "FailedOperation.CvmNumberNotMatch"

	// The CVM does not match the VPC ID.
	FAILEDOPERATION_CVMVPCIDNOTMATCH = "FailedOperation.CvmVpcidNotMatch"

	// Database error.
	FAILEDOPERATION_DB = "FailedOperation.Db"

	// Record not found.
	FAILEDOPERATION_DBRECORDNOTFOUND = "FailedOperation.DbRecordNotFound"

	// Failed to obtain security group quota.
	FAILEDOPERATION_DFWGETUSGQUOTA = "FailedOperation.DfwGetUSGQuota"

	// Failed to connect to the customer Kubernetes cluster.
	FAILEDOPERATION_KUBECLIENTCONNECTION = "FailedOperation.KubeClientConnection"

	// Kubernetes API error.
	FAILEDOPERATION_KUBECOMMON = "FailedOperation.KubeCommon"

	//
	FAILEDOPERATION_KUBERNETESCLIENTBUILDERROR = "FailedOperation.KubernetesClientBuildError"

	// An error occurs while creating the cluster client.
	FAILEDOPERATION_KUBERNETESCREATEOPERATIONERROR = "FailedOperation.KubernetesCreateOperationError"

	// Unknown Kubernetes error.
	FAILEDOPERATION_KUBERNETESINTERNAL = "FailedOperation.KubernetesInternal"

	// An unknown error occurs while calling the underlying CLB.
	FAILEDOPERATION_LBCOMMON = "FailedOperation.LbCommon"

	// Network extension error.
	FAILEDOPERATION_NETWORKSCALEERROR = "FailedOperation.NetworkScaleError"

	// The image OS is not supported.
	FAILEDOPERATION_OSNOTSUPPORT = "FailedOperation.OsNotSupport"

	// Invalid parameter.
	FAILEDOPERATION_PARAM = "FailedOperation.Param"

	// Reached the quota limit.
	FAILEDOPERATION_QUOTAMAXCLSLIMIT = "FailedOperation.QuotaMaxClsLimit"

	// Reached the quota limit.
	FAILEDOPERATION_QUOTAMAXNODLIMIT = "FailedOperation.QuotaMaxNodLimit"

	// Insufficient security group quota.
	FAILEDOPERATION_QUOTAUSGLIMIT = "FailedOperation.QuotaUSGLimit"

	// A same task is in progress.
	FAILEDOPERATION_TASKALREADYRUNNING = "FailedOperation.TaskAlreadyRunning"

	// Query failed.
	FAILEDOPERATION_TRADECOMMON = "FailedOperation.TradeCommon"

	// Unknown VPC error.
	FAILEDOPERATION_VPCUNEXPECTEDERROR = "FailedOperation.VPCUnexpectedError"

	// VPC error.
	FAILEDOPERATION_VPCCOMMON = "FailedOperation.VpcCommon"

	// VPC record not found.
	FAILEDOPERATION_VPCRECODRNOTFOUND = "FailedOperation.VpcRecodrNotFound"

	// Internal error.
	INTERNALERROR = "InternalError"

	// Failed to obtain the user authentication information
	INTERNALERROR_ACCOUNTCOMMON = "InternalError.AccountCommon"

	// Account not verified.
	INTERNALERROR_ACCOUNTUSERNOTAUTHENTICATED = "InternalError.AccountUserNotAuthenticated"

	// Error creating scaling group resource.
	INTERNALERROR_ASCOMMON = "InternalError.AsCommon"

	// You do not have permissions.
	INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth"

	// CIDR conflicts with the CIDR of another cluster.
	INTERNALERROR_CIDRCONFLICTWITHOTHERCLUSTER = "InternalError.CidrConflictWithOtherCluster"

	// CIDR conflicts with another route.
	INTERNALERROR_CIDRCONFLICTWITHOTHERROUTE = "InternalError.CidrConflictWithOtherRoute"

	// CIDR conflicts with VPC.
	INTERNALERROR_CIDRCONFLICTWITHVPCCIDR = "InternalError.CidrConflictWithVpcCidr"

	// CIDR conflicts with global route.
	INTERNALERROR_CIDRCONFLICTWITHVPCGLOBALROUTE = "InternalError.CidrConflictWithVpcGlobalRoute"

	// Invalid CIDR.
	INTERNALERROR_CIDRINVALI = "InternalError.CidrInvali"

	// Invalid CIDR mask.
	INTERNALERROR_CIDRMASKSIZEOUTOFRANGE = "InternalError.CidrMaskSizeOutOfRange"

	// Cluster not found.
	INTERNALERROR_CLUSTERNOTFOUND = "InternalError.ClusterNotFound"

	// Cluster status error.
	INTERNALERROR_CLUSTERSTATE = "InternalError.ClusterState"

	// The version of the cluster node is outdated.
	INTERNALERROR_CLUSTERUPGRADENODEVERSION = "InternalError.ClusterUpgradeNodeVersion"

	// Internal HTTP client error
	INTERNALERROR_COMPONENTCLIENTHTTP = "InternalError.ComponentClientHttp"

	// Error while requesting (HTTP) other Tencent Cloud services
	INTERNALERROR_COMPONENTCLINETHTTP = "InternalError.ComponentClinetHttp"

	// Failed to create cluster.
	INTERNALERROR_CREATEMASTERFAILED = "InternalError.CreateMasterFailed"

	// Error in node creation.
	INTERNALERROR_CVMCOMMON = "InternalError.CvmCommon"

	// CVM does not exist.
	INTERNALERROR_CVMNOTFOUND = "InternalError.CvmNotFound"

	// Some of the CVMs cannot be found
	INTERNALERROR_CVMNUMBERNOTMATCH = "InternalError.CvmNumberNotMatch"

	// Exceptional CVM status.
	INTERNALERROR_CVMSTATUS = "InternalError.CvmStatus"

	// DB error.
	INTERNALERROR_DB = "InternalError.Db"

	// Database error.
	INTERNALERROR_DBAFFECTIVEDROWS = "InternalError.DbAffectivedRows"

	// Record not found.
	INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound"

	// Failed to obtain total number of current security groups.
	INTERNALERROR_DFWGETUSGCOUNT = "InternalError.DfwGetUSGCount"

	// Failed to obtain security group quota.
	INTERNALERROR_DFWGETUSGQUOTA = "InternalError.DfwGetUSGQuota"

	// Empty clusters are not supported.
	INTERNALERROR_EMPTYCLUSTERNOTSUPPORT = "InternalError.EmptyClusterNotSupport"

	// Image not found.
	INTERNALERROR_IMAGEIDNOTFOUND = "InternalError.ImageIdNotFound"

	// Failed to initialize Master.
	INTERNALERROR_INITMASTERFAILED = "InternalError.InitMasterFailed"

	// Invalid CIDR.
	INTERNALERROR_INVALIDPRIVATENETWORKCIDR = "InternalError.InvalidPrivateNetworkCidr"

	// Failed to connect to the user’s Kubernetes cluster.
	INTERNALERROR_KUBECLIENTCONNECTION = "InternalError.KubeClientConnection"

	// Kubernetes API error.
	INTERNALERROR_KUBECOMMON = "InternalError.KubeCommon"

	// Failed to create the kubernetes client.
	INTERNALERROR_KUBERNETESCLIENTBUILDERROR = "InternalError.KubernetesClientBuildError"

	// Failed to create the kubernetes resource.
	INTERNALERROR_KUBERNETESCREATEOPERATIONERROR = "InternalError.KubernetesCreateOperationError"

	// Failed to delete the kubernetes resource.
	INTERNALERROR_KUBERNETESDELETEOPERATIONERROR = "InternalError.KubernetesDeleteOperationError"

	// Failed to obtain the kubernetes resources
	INTERNALERROR_KUBERNETESGETOPERATIONERROR = "InternalError.KubernetesGetOperationError"

	// Unknown Kubernetes error
	INTERNALERROR_KUBERNETESINTERNAL = "InternalError.KubernetesInternal"

	// An error occurs while calling the underlying CLB
	INTERNALERROR_LBCOMMON = "InternalError.LbCommon"

	// Image OS not supported.
	INTERNALERROR_OSNOTSUPPORT = "InternalError.OsNotSupport"

	// Parameter error.
	INTERNALERROR_PARAM = "InternalError.Param"

	// Pod not found
	INTERNALERROR_PODNOTFOUND = "InternalError.PodNotFound"

	// Cluster does not support the current operation.
	INTERNALERROR_PUBLICCLUSTEROPNOTSUPPORT = "InternalError.PublicClusterOpNotSupport"

	// Quota limit exceeded.
	INTERNALERROR_QUOTAMAXCLSLIMIT = "InternalError.QuotaMaxClsLimit"

	// Quota limit exceeded.
	INTERNALERROR_QUOTAMAXNODLIMIT = "InternalError.QuotaMaxNodLimit"

	// Quota limit exceeded.
	INTERNALERROR_QUOTAMAXRTLIMIT = "InternalError.QuotaMaxRtLimit"

	// Insufficient security group quota.
	INTERNALERROR_QUOTAUSGLIMIT = "InternalError.QuotaUSGLimit"

	// Resource already exists.
	INTERNALERROR_RESOURCEEXISTALREADY = "InternalError.ResourceExistAlready"

	// Route table is not empty.
	INTERNALERROR_ROUTETABLENOTEMPTY = "InternalError.RouteTableNotEmpty"

	// Route table does not exist.
	INTERNALERROR_ROUTETABLENOTFOUND = "InternalError.RouteTableNotFound"

	// A same task is in progress.
	INTERNALERROR_TASKALREADYRUNNING = "InternalError.TaskAlreadyRunning"

	// Failed to create the task.
	INTERNALERROR_TASKCREATEFAILED = "InternalError.TaskCreateFailed"

	// The task in the current state does not support this operation.
	INTERNALERROR_TASKLIFESTATEERROR = "InternalError.TaskLifeStateError"

	// No task found
	INTERNALERROR_TASKNOTFOUND = "InternalError.TaskNotFound"

	// Query failed
	INTERNALERROR_TRADECOMMON = "InternalError.TradeCommon"

	// Insufficient account balance.
	INTERNALERROR_TRADEINSUFFICIENTBALANCE = "InternalError.TradeInsufficientBalance"

	// Internal error.
	INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal"

	// Unknown internal error.
	INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"

	// Unknown VPC error
	INTERNALERROR_VPCUNEXPECTEDERROR = "InternalError.VPCUnexpectedError"

	// VPC error
	INTERNALERROR_VPCCOMMON = "InternalError.VpcCommon"

	// Peering connection does not exist
	INTERNALERROR_VPCPEERNOTFOUND = "InternalError.VpcPeerNotFound"

	// VPC record not found
	INTERNALERROR_VPCRECODRNOTFOUND = "InternalError.VpcRecodrNotFound"

	// Unknown allowlist error
	INTERNALERROR_WHITELISTUNEXPECTEDERROR = "InternalError.WhitelistUnexpectedError"

	// Parameter error.
	INVALIDPARAMETER = "InvalidParameter"

	// Auto scaling group creation parameter error.
	INVALIDPARAMETER_ASCOMMONERROR = "InvalidParameter.AsCommonError"

	// Invalid CIDR block mask (valid range: 10 to 24).
	INVALIDPARAMETER_CIDRMASKSIZEOUTOFRANGE = "InvalidParameter.CIDRMaskSizeOutOfRange"

	// The CIDR block conflicts with the CIDR blocks of other clusters.
	INVALIDPARAMETER_CIDRCONFLICTWITHOTHERCLUSTER = "InvalidParameter.CidrConflictWithOtherCluster"

	// The route to create conflicts with existing routes.
	INVALIDPARAMETER_CIDRCONFLICTWITHOTHERROUTE = "InvalidParameter.CidrConflictWithOtherRoute"

	// The CIDR block conflicts with the VPC’s CIDR block.
	INVALIDPARAMETER_CIDRCONFLICTWITHVPCCIDR = "InvalidParameter.CidrConflictWithVpcCidr"

	// The created route conflicts with the existing global route under the VPC.
	INVALIDPARAMETER_CIDRCONFLICTWITHVPCGLOBALROUTE = "InvalidParameter.CidrConflictWithVpcGlobalRoute"

	// Parameter error. The CIDR block does not meet the specification.
	INVALIDPARAMETER_CIDRINVALID = "InvalidParameter.CidrInvalid"

	// The CIDR block is not in the route table.
	INVALIDPARAMETER_CIDROUTOFROUTETABLE = "InvalidParameter.CidrOutOfRouteTable"

	// The cluster ID does not exist.
	INVALIDPARAMETER_CLUSTERNOTFOUND = "InvalidParameter.ClusterNotFound"

	// Next hop address is already associated with a CIDR block.
	INVALIDPARAMETER_GATEWAYALREADYASSOCIATEDCIDR = "InvalidParameter.GatewayAlreadyAssociatedCidr"

	// Invalid private CIDR block.
	INVALIDPARAMETER_INVALIDPRIVATENETWORKCIDR = "InvalidParameter.InvalidPrivateNetworkCIDR"

	// The iage OS is not supported.
	INVALIDPARAMETER_OSNOTSUPPORT = "InvalidParameter.OsNotSupport"

	// Invalid parameter.
	INVALIDPARAMETER_PARAM = "InvalidParameter.Param"

	// The PROM instance does not exist.
	INVALIDPARAMETER_PROMINSTANCENOTFOUND = "InvalidParameter.PromInstanceNotFound"

	// Route table is not empty.
	INVALIDPARAMETER_ROUTETABLENOTEMPTY = "InvalidParameter.RouteTableNotEmpty"

	// Quota limit is exceeded.
	LIMITEXCEEDED = "LimitExceeded"

	// Missing parameter.
	MISSINGPARAMETER = "MissingParameter"

	// Operation denied.
	OPERATIONDENIED = "OperationDenied"

	// The cluster is under deletion protection and cannot be deleted.
	OPERATIONDENIED_CLUSTERINDELETIONPROTECTION = "OperationDenied.ClusterInDeletionProtection"

	// The resource is occupied.
	RESOURCEINUSE = "ResourceInUse"

	// The resource does not exist.
	RESOURCENOTFOUND = "ResourceNotFound"

	// The scaling group does not exist.
	RESOURCENOTFOUND_ASASGNOTEXIST = "ResourceNotFound.AsAsgNotExist"

	// The cluster does not exist.
	RESOURCENOTFOUND_CLUSTERNOTFOUND = "ResourceNotFound.ClusterNotFound"

	// The specified resource is not found in the Kubernetes cluster.
	RESOURCENOTFOUND_KUBERESOURCENOTFOUND = "ResourceNotFound.KubeResourceNotFound"

	// The kubernetes resource does not exist.
	RESOURCENOTFOUND_KUBERNETESRESOURCENOTFOUND = "ResourceNotFound.KubernetesResourceNotFound"

	// Resource is unavailable
	RESOURCEUNAVAILABLE = "ResourceUnavailable"

	// Abnormal cluster status.
	RESOURCEUNAVAILABLE_CLUSTERINABNORMALSTAT = "ResourceUnavailable.ClusterInAbnormalStat"

	// The cluster’s status does support this operation.
	RESOURCEUNAVAILABLE_CLUSTERSTATE = "ResourceUnavailable.ClusterState"

	// Unauthorized operation.
	UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

	// The API has no CAM permissions.
	UNAUTHORIZEDOPERATION_CAMNOAUTH = "UnauthorizedOperation.CamNoAuth"

	// Unknown parameter.
	UNKNOWNPARAMETER = "UnknownParameter"

	// Unsupported operation.
	UNSUPPORTEDOPERATION = "UnsupportedOperation"

	// Failed to enable CA because AS is disabled.
	UNSUPPORTEDOPERATION_CAENABLEFAILED = "UnsupportedOperation.CaEnableFailed"

	// The user is not in the allowlist.
	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

	// Cluster 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 AcquireClusterAdminRoleRequestParams

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

Predefined struct for user

type AcquireClusterAdminRoleResponse

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

func NewAcquireClusterAdminRoleResponse

func NewAcquireClusterAdminRoleResponse() (response *AcquireClusterAdminRoleResponse)

func (*AcquireClusterAdminRoleResponse) FromJsonString

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

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

func (*AcquireClusterAdminRoleResponse) ToJsonString

func (r *AcquireClusterAdminRoleResponse) ToJsonString() string

type AcquireClusterAdminRoleResponseParams

type AcquireClusterAdminRoleResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type AddExistedInstancesRequest

type AddExistedInstancesRequest struct {
	*tchttp.BaseRequest

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

	// Instance list. Spot instance is not supported.
	InstanceIds []*string `json:"InstanceIds,omitempty" name:"InstanceIds"`

	// Detailed information of the instance
	InstanceAdvancedSettings *InstanceAdvancedSettings `json:"InstanceAdvancedSettings,omitempty" name:"InstanceAdvancedSettings"`

	// Enhanced services. This parameter is used to specify whether to enable Cloud Security, Cloud Monitoring and other services. If this parameter is not specified, Cloud Monitor and Cloud Security are enabled by default.
	EnhancedService *EnhancedService `json:"EnhancedService,omitempty" name:"EnhancedService"`

	// Node login information (currently only supports using Password or single KeyIds)
	LoginSettings *LoginSettings `json:"LoginSettings,omitempty" name:"LoginSettings"`

	// When reinstalling the system, you can specify the HostName of the modified instance (when the cluster is in HostName mode, this parameter is required, and the rule name is the same as the [Create CVM Instance](https://intl.cloud.tencent.com/document/product/213/15730?from_cn_redirect=1) API HostName except for uppercase letters not being supported.
	HostName *string `json:"HostName,omitempty" name:"HostName"`

	// Security group to which the instance belongs. This parameter can be obtained from the `sgId` field returned by DescribeSecurityGroups. If this parameter is not specified, the default security group is bound. (Currently, you can only set a single sgId)
	SecurityGroupIds []*string `json:"SecurityGroupIds,omitempty" name:"SecurityGroupIds"`

	// Node pool options
	NodePool *NodePoolOption `json:"NodePool,omitempty" name:"NodePool"`

	// Skips the specified verification. Valid values: GlobalRouteCIDRCheck, VpcCniCIDRCheck
	SkipValidateOptions []*string `json:"SkipValidateOptions,omitempty" name:"SkipValidateOptions"`

	// This parameter is used to customize the configuration of an instance, which corresponds to the `InstanceIds` one-to-one in sequence. If this parameter is passed in, the default parameter `InstanceAdvancedSettings` will be overwritten and will not take effect. If this parameter is not passed in, the `InstanceAdvancedSettings` will take effect for each instance.
	//
	// The array length of `InstanceAdvancedSettingsOverride` should be the same as the array length of `InstanceIds`. If its array length is greater than the `InstanceIds` array length, an error will be reported. If its array length is less than the `InstanceIds` array length, the instance without corresponding configuration will use the default configuration.
	InstanceAdvancedSettingsOverrides []*InstanceAdvancedSettings `json:"InstanceAdvancedSettingsOverrides,omitempty" name:"InstanceAdvancedSettingsOverrides"`

	// Node image (it is required when creating a node)
	ImageId *string `json:"ImageId,omitempty" name:"ImageId"`
}

func NewAddExistedInstancesRequest

func NewAddExistedInstancesRequest() (request *AddExistedInstancesRequest)

func (*AddExistedInstancesRequest) FromJsonString

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

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

func (*AddExistedInstancesRequest) ToJsonString

func (r *AddExistedInstancesRequest) ToJsonString() string

type AddExistedInstancesRequestParams

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

	// Instance list. Spot instance is not supported.
	InstanceIds []*string `json:"InstanceIds,omitempty" name:"InstanceIds"`

	// Detailed information of the instance
	InstanceAdvancedSettings *InstanceAdvancedSettings `json:"InstanceAdvancedSettings,omitempty" name:"InstanceAdvancedSettings"`

	// Enhanced services. This parameter is used to specify whether to enable Cloud Security, Cloud Monitoring and other services. If this parameter is not specified, Cloud Monitor and Cloud Security are enabled by default.
	EnhancedService *EnhancedService `json:"EnhancedService,omitempty" name:"EnhancedService"`

	// Node login information (currently only supports using Password or single KeyIds)
	LoginSettings *LoginSettings `json:"LoginSettings,omitempty" name:"LoginSettings"`

	// When reinstalling the system, you can specify the HostName of the modified instance (when the cluster is in HostName mode, this parameter is required, and the rule name is the same as the [Create CVM Instance](https://intl.cloud.tencent.com/document/product/213/15730?from_cn_redirect=1) API HostName except for uppercase letters not being supported.
	HostName *string `json:"HostName,omitempty" name:"HostName"`

	// Security group to which the instance belongs. This parameter can be obtained from the `sgId` field returned by DescribeSecurityGroups. If this parameter is not specified, the default security group is bound. (Currently, you can only set a single sgId)
	SecurityGroupIds []*string `json:"SecurityGroupIds,omitempty" name:"SecurityGroupIds"`

	// Node pool options
	NodePool *NodePoolOption `json:"NodePool,omitempty" name:"NodePool"`

	// Skips the specified verification. Valid values: GlobalRouteCIDRCheck, VpcCniCIDRCheck
	SkipValidateOptions []*string `json:"SkipValidateOptions,omitempty" name:"SkipValidateOptions"`

	// This parameter is used to customize the configuration of an instance, which corresponds to the `InstanceIds` one-to-one in sequence. If this parameter is passed in, the default parameter `InstanceAdvancedSettings` will be overwritten and will not take effect. If this parameter is not passed in, the `InstanceAdvancedSettings` will take effect for each instance.
	//
	// The array length of `InstanceAdvancedSettingsOverride` should be the same as the array length of `InstanceIds`. If its array length is greater than the `InstanceIds` array length, an error will be reported. If its array length is less than the `InstanceIds` array length, the instance without corresponding configuration will use the default configuration.
	InstanceAdvancedSettingsOverrides []*InstanceAdvancedSettings `json:"InstanceAdvancedSettingsOverrides,omitempty" name:"InstanceAdvancedSettingsOverrides"`

	// Node image (it is required when creating a node)
	ImageId *string `json:"ImageId,omitempty" name:"ImageId"`
}

Predefined struct for user

type AddExistedInstancesResponse

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

func NewAddExistedInstancesResponse

func NewAddExistedInstancesResponse() (response *AddExistedInstancesResponse)

func (*AddExistedInstancesResponse) FromJsonString

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

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

func (*AddExistedInstancesResponse) ToJsonString

func (r *AddExistedInstancesResponse) ToJsonString() string

type AddExistedInstancesResponseParams

type AddExistedInstancesResponseParams struct {
	// IDs of failed nodes
	// Note: This field may return null, indicating that no valid value was found.
	FailedInstanceIds []*string `json:"FailedInstanceIds,omitempty" name:"FailedInstanceIds"`

	// IDs of successful nodes
	// Note: This field may return null, indicating that no valid value was found.
	SuccInstanceIds []*string `json:"SuccInstanceIds,omitempty" name:"SuccInstanceIds"`

	// IDs of (successful or failed) nodes that timed out
	// Note: This field may return null, indicating that no valid value was found.
	TimeoutInstanceIds []*string `json:"TimeoutInstanceIds,omitempty" name:"TimeoutInstanceIds"`

	// Causes of the failure to add a node to a cluster
	// Note: this field may return `null`, indicating that no valid value is obtained.
	FailedReasons []*string `json:"FailedReasons,omitempty" name:"FailedReasons"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type AddNodeToNodePoolRequest

type AddNodeToNodePoolRequest struct {
	*tchttp.BaseRequest

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

	// Node pool ID
	NodePoolId *string `json:"NodePoolId,omitempty" name:"NodePoolId"`

	// Node 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 AddNodeToNodePoolRequestParams

type AddNodeToNodePoolRequestParams struct {
	// Cluster ID
	ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"`

	// Node pool ID
	NodePoolId *string `json:"NodePoolId,omitempty" name:"NodePoolId"`

	// Node ID
	InstanceIds []*string `json:"InstanceIds,omitempty" name:"InstanceIds"`
}

Predefined struct for user

type AddNodeToNodePoolResponse

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

func NewAddNodeToNodePoolResponse

func NewAddNodeToNodePoolResponse() (response *AddNodeToNodePoolResponse)

func (*AddNodeToNodePoolResponse) FromJsonString

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

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

func (*AddNodeToNodePoolResponse) ToJsonString

func (r *AddNodeToNodePoolResponse) ToJsonString() string

type AddNodeToNodePoolResponseParams

type AddNodeToNodePoolResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type AddVpcCniSubnetsRequest

type AddVpcCniSubnetsRequest struct {
	*tchttp.BaseRequest

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

	// The subnets added for the cluster container network
	SubnetIds []*string `json:"SubnetIds,omitempty" name:"SubnetIds"`

	// ID of the VPC where the cluster resides
	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 AddVpcCniSubnetsRequestParams

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

	// The subnets added for the cluster container network
	SubnetIds []*string `json:"SubnetIds,omitempty" name:"SubnetIds"`

	// ID of the VPC where the cluster resides
	VpcId *string `json:"VpcId,omitempty" name:"VpcId"`
}

Predefined struct for user

type AddVpcCniSubnetsResponse

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

func NewAddVpcCniSubnetsResponse

func NewAddVpcCniSubnetsResponse() (response *AddVpcCniSubnetsResponse)

func (*AddVpcCniSubnetsResponse) FromJsonString

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

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

func (*AddVpcCniSubnetsResponse) ToJsonString

func (r *AddVpcCniSubnetsResponse) ToJsonString() string

type AddVpcCniSubnetsResponseParams

type AddVpcCniSubnetsResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type AutoScalingGroupRange

type AutoScalingGroupRange struct {
	// Minimum number of pods in a scaling group
	MinSize *int64 `json:"MinSize,omitempty" name:"MinSize"`

	// Maximum number of pods in a scaling group
	MaxSize *int64 `json:"MaxSize,omitempty" name:"MaxSize"`
}

type AutoUpgradeClusterLevel

type AutoUpgradeClusterLevel struct {
	// Whether to enable Auto Cluster Upgrade
	IsAutoUpgrade *bool `json:"IsAutoUpgrade,omitempty" name:"IsAutoUpgrade"`
}

type AutoscalingAdded

type AutoscalingAdded struct {
	// Number of nodes that are being added
	Joining *int64 `json:"Joining,omitempty" name:"Joining"`

	// Number of nodes that are being initialized
	Initializing *int64 `json:"Initializing,omitempty" name:"Initializing"`

	// Number of normal nodes
	Normal *int64 `json:"Normal,omitempty" name:"Normal"`

	// Total number of nodes
	Total *int64 `json:"Total,omitempty" name:"Total"`
}

type CheckInstancesUpgradeAbleRequest

type CheckInstancesUpgradeAbleRequest struct {
	*tchttp.BaseRequest

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

	// Specify the node list to check. If it’s not passed in, all nodes of the cluster will be checked.
	InstanceIds []*string `json:"InstanceIds,omitempty" name:"InstanceIds"`

	// Upgrade type
	UpgradeType *string `json:"UpgradeType,omitempty" name:"UpgradeType"`

	// Pagination offset
	Offset *int64 `json:"Offset,omitempty" name:"Offset"`

	// Pagination limit
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`

	// Filtering
	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 CheckInstancesUpgradeAbleRequestParams

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

	// Specify the node list to check. If it’s not passed in, all nodes of the cluster will be checked.
	InstanceIds []*string `json:"InstanceIds,omitempty" name:"InstanceIds"`

	// Upgrade type
	UpgradeType *string `json:"UpgradeType,omitempty" name:"UpgradeType"`

	// Pagination offset
	Offset *int64 `json:"Offset,omitempty" name:"Offset"`

	// Pagination limit
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`

	// Filtering
	Filter []*Filter `json:"Filter,omitempty" name:"Filter"`
}

Predefined struct for user

type CheckInstancesUpgradeAbleResponse

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

func NewCheckInstancesUpgradeAbleResponse

func NewCheckInstancesUpgradeAbleResponse() (response *CheckInstancesUpgradeAbleResponse)

func (*CheckInstancesUpgradeAbleResponse) FromJsonString

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

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

func (*CheckInstancesUpgradeAbleResponse) ToJsonString

func (r *CheckInstancesUpgradeAbleResponse) ToJsonString() string

type CheckInstancesUpgradeAbleResponseParams

type CheckInstancesUpgradeAbleResponseParams struct {
	// The current minor version of cluster Master
	ClusterVersion *string `json:"ClusterVersion,omitempty" name:"ClusterVersion"`

	// The latest minor version of cluster Master corresponding major version
	LatestVersion *string `json:"LatestVersion,omitempty" name:"LatestVersion"`

	// List of nodes that can be upgraded
	// Note: this field may return `null`, indicating that no valid value is obtained.
	UpgradeAbleInstances []*UpgradeAbleInstancesItem `json:"UpgradeAbleInstances,omitempty" name:"UpgradeAbleInstances"`

	// Total number
	// Note: this field may return `null`, indicating that no valid value is obtained.
	Total *int64 `json:"Total,omitempty" name:"Total"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type Client

type Client struct {
	common.Client
}

func NewClient

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

func NewClientWithSecretId

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

Deprecated

func (*Client) AcquireClusterAdminRole

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

AcquireClusterAdminRole This API can be called to acquire the ClusterRole tke:admin. By setting a CAM policy, you can grant permission of this API to a sub-account that has higher permission in CAM. In this way, this sub-account can call this API directly to acquire the admin role of a Kubernetes cluster.

error code that may be returned:

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

func (*Client) AcquireClusterAdminRoleWithContext

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

AcquireClusterAdminRole This API can be called to acquire the ClusterRole tke:admin. By setting a CAM policy, you can grant permission of this API to a sub-account that has higher permission in CAM. In this way, this sub-account can call this API directly to acquire the admin role of a Kubernetes cluster.

error code that may be returned:

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

func (*Client) AddExistedInstances

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

AddExistedInstances This API is used to add one or more existing instances to a cluster.

error code that may be returned:

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

func (*Client) AddExistedInstancesWithContext

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

AddExistedInstances This API is used to add one or more existing instances to a cluster.

error code that may be returned:

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

func (*Client) AddNodeToNodePool

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

AddNodeToNodePool This API is used to move nodes in a cluster to a node pool.

error code that may be returned:

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

func (*Client) AddNodeToNodePoolWithContext

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

AddNodeToNodePool This API is used to move nodes in a cluster to a node pool.

error code that may be returned:

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

func (*Client) AddVpcCniSubnets

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

AddVpcCniSubnets This API is used to add subnets in the container network for a VPC-CNI cluster.

error code that may be returned:

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

func (*Client) AddVpcCniSubnetsWithContext

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

AddVpcCniSubnets This API is used to add subnets in the container network for a VPC-CNI cluster.

error code that may be returned:

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

func (*Client) CheckInstancesUpgradeAble

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

CheckInstancesUpgradeAble This API is used to check which nodes can be upgraded in the given node list.

error code that may be returned:

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

func (*Client) CheckInstancesUpgradeAbleWithContext

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

CheckInstancesUpgradeAble This API is used to check which nodes can be upgraded in the given node list.

error code that may be returned:

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

func (*Client) CreateCluster

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

CreateCluster This API is used to create a cluster.

error code that may be returned:

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

func (*Client) CreateClusterEndpoint

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

CreateClusterEndpoint Create a cluster access port (intranet / extranet access is enabled for independent clusters, and intranet access is supported for managed clusters)

error code that may be returned:

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

func (*Client) CreateClusterEndpointVip

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

CreateClusterEndpointVip Create an external network access port for the managed cluster (the old way, only the external network port for the managed cluster is supported)

error code that may be returned:

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

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

CreateClusterEndpointVip Create an external network access port for the managed cluster (the old way, only the external network port for the managed cluster is supported)

error code that may be returned:

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

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

CreateClusterEndpoint Create a cluster access port (intranet / extranet access is enabled for independent clusters, and intranet access is supported for managed clusters)

error code that may be returned:

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

func (*Client) CreateClusterInstances

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

CreateClusterInstances This API is used to create one or more nodes in a cluster.

error code that may be returned:

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

func (*Client) CreateClusterInstancesWithContext

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

CreateClusterInstances This API is used to create one or more nodes in a cluster.

error code that may be returned:

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

func (*Client) CreateClusterNodePool

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

CreateClusterNodePool This API is used to create a node pool.

error code that may be returned:

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

func (*Client) CreateClusterNodePoolFromExistingAsg

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

CreateClusterNodePoolFromExistingAsg This API is used to upgrade a scaling group to a node pool.

error code that may be returned:

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

func (*Client) CreateClusterNodePoolFromExistingAsgWithContext

func (c *Client) CreateClusterNodePoolFromExistingAsgWithContext(ctx context.Context, request *CreateClusterNodePoolFromExistingAsgRequest) (response *CreateClusterNodePoolFromExistingAsgResponse, err error)

CreateClusterNodePoolFromExistingAsg This API is used to upgrade a scaling group to a node pool.

error code that may be returned:

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

func (*Client) CreateClusterNodePoolWithContext

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

CreateClusterNodePool This API is used to create a node pool.

error code that may be returned:

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

func (*Client) CreateClusterRouteTable

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

CreateClusterRouteTable This API is used to create a cluster route table.

error code that may be returned:

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

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

CreateClusterRouteTable This API is used to create a cluster route table.

error code that may be returned:

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

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

CreateCluster This API is used to create a cluster.

error code that may be returned:

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

func (*Client) CreatePrometheusAlertRule

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

CreatePrometheusAlertRule This API is used to create an alarm rule.

error code that may be returned:

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

func (*Client) CreatePrometheusAlertRuleWithContext

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

CreatePrometheusAlertRule This API is used to create an alarm rule.

error code that may be returned:

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

func (*Client) DeleteCluster

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

DeleteCluster This API is used to delete a cluster. (Cloud API v3).

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_CLUSTERNOTFOUND = "FailedOperation.ClusterNotFound"
FAILEDOPERATION_CLUSTERSTATE = "FailedOperation.ClusterState"
FAILEDOPERATION_COMPONENTCLIENTHTTP = "FailedOperation.ComponentClientHttp"
FAILEDOPERATION_COMPONENTCLINETHTTP = "FailedOperation.ComponentClinetHttp"
FAILEDOPERATION_PARAM = "FailedOperation.Param"
INTERNALERROR = "InternalError"
INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth"
INTERNALERROR_CLUSTERNOTFOUND = "InternalError.ClusterNotFound"
INTERNALERROR_CLUSTERSTATE = "InternalError.ClusterState"
INTERNALERROR_COMPONENTCLINETHTTP = "InternalError.ComponentClinetHttp"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_PUBLICCLUSTEROPNOTSUPPORT = "InternalError.PublicClusterOpNotSupport"
INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal"
INVALIDPARAMETER = "InvalidParameter"
OPERATIONDENIED_CLUSTERINDELETIONPROTECTION = "OperationDenied.ClusterInDeletionProtection"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"

func (*Client) DeleteClusterAsGroups

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

DeleteClusterAsGroups Delete a cluster scaling group

error code that may be returned:

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

func (*Client) DeleteClusterAsGroupsWithContext

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

DeleteClusterAsGroups Delete a cluster scaling group

error code that may be returned:

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

func (*Client) DeleteClusterEndpoint

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

DeleteClusterEndpoint Delete the cluster access port (intranet / extranet access is enabled for independent clusters, and intranet access is supported for managed clusters)

error code that may be returned:

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 Delete the external network access port of the managed cluster (the old way, only the external network port of the managed cluster is supported)

error code that may be returned:

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

func (*Client) DeleteClusterEndpointVipWithContext

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

DeleteClusterEndpointVip Delete the external network access port of the managed cluster (the old way, only the external network port of the managed cluster is supported)

error code that may be returned:

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

func (*Client) DeleteClusterEndpointWithContext

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

DeleteClusterEndpoint Delete the cluster access port (intranet / extranet access is enabled for independent clusters, and intranet access is supported for managed clusters)

error code that may be returned:

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

func (*Client) DeleteClusterInstances

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

DeleteClusterInstances This API is used to delete one or more nodes from a cluster.

error code that may be returned:

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

func (*Client) DeleteClusterInstancesWithContext

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

DeleteClusterInstances This API is used to delete one or more nodes from a cluster.

error code that may be returned:

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

func (*Client) DeleteClusterNodePool

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

DeleteClusterNodePool This API is used to delete a node pool.

error code that may be returned:

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

func (*Client) DeleteClusterNodePoolWithContext

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

DeleteClusterNodePool This API is used to delete a node pool.

error code that may be returned:

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

func (*Client) DeleteClusterRoute

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

DeleteClusterRoute This API is used to delete a cluster route.

error code that may be returned:

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

func (*Client) DeleteClusterRouteTable

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

DeleteClusterRouteTable This API is used to delete cluster a route table.

error code that may be returned:

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

func (*Client) DeleteClusterRouteTableWithContext

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

DeleteClusterRouteTable This API is used to delete cluster a route table.

error code that may be returned:

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

func (*Client) DeleteClusterRouteWithContext

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

DeleteClusterRoute This API is used to delete a cluster route.

error code that may be returned:

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

func (*Client) DeleteClusterWithContext

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

DeleteCluster This API is used to delete a cluster. (Cloud API v3).

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_CLUSTERNOTFOUND = "FailedOperation.ClusterNotFound"
FAILEDOPERATION_CLUSTERSTATE = "FailedOperation.ClusterState"
FAILEDOPERATION_COMPONENTCLIENTHTTP = "FailedOperation.ComponentClientHttp"
FAILEDOPERATION_COMPONENTCLINETHTTP = "FailedOperation.ComponentClinetHttp"
FAILEDOPERATION_PARAM = "FailedOperation.Param"
INTERNALERROR = "InternalError"
INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth"
INTERNALERROR_CLUSTERNOTFOUND = "InternalError.ClusterNotFound"
INTERNALERROR_CLUSTERSTATE = "InternalError.ClusterState"
INTERNALERROR_COMPONENTCLINETHTTP = "InternalError.ComponentClinetHttp"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_PUBLICCLUSTEROPNOTSUPPORT = "InternalError.PublicClusterOpNotSupport"
INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal"
INVALIDPARAMETER = "InvalidParameter"
OPERATIONDENIED_CLUSTERINDELETIONPROTECTION = "OperationDenied.ClusterInDeletionProtection"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"

func (*Client) DeletePrometheusAlertRule

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

DeletePrometheusAlertRule This API is used to delete an alarm rule.

error code that may be returned:

INTERNALERROR = "InternalError"
INTERNALERROR_PARAM = "InternalError.Param"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_PROMINSTANCENOTFOUND = "InvalidParameter.PromInstanceNotFound"

func (*Client) DeletePrometheusAlertRuleWithContext

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

DeletePrometheusAlertRule This API is used to delete an alarm rule.

error code that may be returned:

INTERNALERROR = "InternalError"
INTERNALERROR_PARAM = "InternalError.Param"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_PROMINSTANCENOTFOUND = "InvalidParameter.PromInstanceNotFound"

func (*Client) DescribeAvailableClusterVersion

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

DescribeAvailableClusterVersion This API is used to obtain all versions that the cluster can upgrade to.

error code that may be returned:

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

func (*Client) DescribeAvailableClusterVersionWithContext

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

DescribeAvailableClusterVersion This API is used to obtain all versions that the cluster can upgrade to.

error code that may be returned:

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

func (*Client) DescribeClusterAsGroupOption

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

DescribeClusterAsGroupOption Cluster auto scaling configuration

error code that may be returned:

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

func (*Client) DescribeClusterAsGroupOptionWithContext

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

DescribeClusterAsGroupOption Cluster auto scaling configuration

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_CLUSTERNOTFOUND = "FailedOperation.ClusterNotFound"
FAILEDOPERATION_CLUSTERSTATE = "FailedOperation.ClusterState"
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 Cluster-associated scaling group list

error code that may be returned:

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

func (*Client) DescribeClusterAsGroupsWithContext

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

DescribeClusterAsGroups Cluster-associated scaling group list

error code that may be returned:

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

func (*Client) DescribeClusterAuthenticationOptions

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

DescribeClusterAuthenticationOptions This API is used to query cluster authentication configuration.

error code that may be returned:

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

func (*Client) DescribeClusterAuthenticationOptionsWithContext

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

DescribeClusterAuthenticationOptions This API is used to query cluster authentication configuration.

error code that may be returned:

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

func (*Client) DescribeClusterCommonNames

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

DescribeClusterCommonNames This API is used to obtain the CommonName from the kube-apiserver client certificate that corresponding to the sub-account in RBAC authorization mode.

error code that may be returned:

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

func (*Client) DescribeClusterCommonNamesWithContext

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

DescribeClusterCommonNames This API is used to obtain the CommonName from the kube-apiserver client certificate that corresponding to the sub-account in RBAC authorization mode.

error code that may be returned:

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

func (*Client) DescribeClusterEndpointStatus

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

DescribeClusterEndpointStatus Query cluster access port status (intranet / extranet access is enabled for independent clusters, and intranet access is supported for managed clusters)

error code that may be returned:

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

func (*Client) DescribeClusterEndpointStatusWithContext

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

DescribeClusterEndpointStatus Query cluster access port status (intranet / extranet access is enabled for independent clusters, and intranet access is supported for managed clusters)

error code that may be returned:

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

func (*Client) DescribeClusterEndpointVipStatus

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

DescribeClusterEndpointVipStatus Query cluster open port process status (only supports external ports of the managed cluster)

error code that may be returned:

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

func (*Client) DescribeClusterEndpointVipStatusWithContext

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

DescribeClusterEndpointVipStatus Query cluster open port process status (only supports external ports of the managed cluster)

error code that may be returned:

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

This API is used to query information of one or more instances in a cluster.

error code that may be returned:

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

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

DescribeClusterInstances

This API is used to query information of one or more instances in a cluster.

error code that may be returned:

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 This API is used to obtain the cluster kubeconfig file. Different sub-accounts have their own kubeconfig files. The kubeconfig file contains the kube-apiserver client certificate of the corresponding sub-account. By default, the client certificate is created when this API is called for the first time, and the certificate is valid for 20 years with no permissions granted. For the cluster owner or primary account, the cluster-admin permission is granted by default.

error code that may be returned:

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

func (*Client) DescribeClusterKubeconfigWithContext

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

DescribeClusterKubeconfig This API is used to obtain the cluster kubeconfig file. Different sub-accounts have their own kubeconfig files. The kubeconfig file contains the kube-apiserver client certificate of the corresponding sub-account. By default, the client certificate is created when this API is called for the first time, and the certificate is valid for 20 years with no permissions granted. For the cluster owner or primary account, the cluster-admin permission is granted by default.

error code that may be returned:

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

func (*Client) DescribeClusterLevelAttribute

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

DescribeClusterLevelAttribute This API is used to obtain the cluster model.

error code that may be returned:

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

func (*Client) DescribeClusterLevelAttributeWithContext

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

DescribeClusterLevelAttribute This API is used to obtain the cluster model.

error code that may be returned:

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

func (*Client) DescribeClusterLevelChangeRecords

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

DescribeClusterLevelChangeRecords This API is used to query the cluster model adjustment history.

error code that may be returned:

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

func (*Client) DescribeClusterLevelChangeRecordsWithContext

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

DescribeClusterLevelChangeRecords This API is used to query the cluster model adjustment history.

error code that may be returned:

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

func (*Client) DescribeClusterNodePoolDetail

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

DescribeClusterNodePoolDetail This API is used to query detailed information of a node pool.

error code that may be returned:

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

func (*Client) DescribeClusterNodePoolDetailWithContext

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

DescribeClusterNodePoolDetail This API is used to query detailed information of a node pool.

error code that may be returned:

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 This API is used to query the node pool list

error code that may be returned:

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

func (*Client) DescribeClusterNodePoolsWithContext

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

DescribeClusterNodePools This API is used to query the node pool list

error code that may be returned:

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 This API is used to query one or more cluster route tables.

error code that may be returned:

INTERNALERROR_DB = "InternalError.Db"

func (*Client) DescribeClusterRouteTablesWithContext

func (c *Client) DescribeClusterRouteTablesWithContext(ctx context.Context, request *DescribeClusterRouteTablesRequest) (response *DescribeClusterRouteTablesResponse, err error)

DescribeClusterRouteTables This API is used to query one or more cluster route tables.

error code that may be returned:

INTERNALERROR_DB = "InternalError.Db"

func (*Client) DescribeClusterRoutes

func (c *Client) DescribeClusterRoutes(request *DescribeClusterRoutesRequest) (response *DescribeClusterRoutesResponse, err error)

DescribeClusterRoutes This API is used to query cluster routes.

error code that may be returned:

INTERNALERROR_DB = "InternalError.Db"
INTERNALERROR_PARAM = "InternalError.Param"
INVALIDPARAMETER = "InvalidParameter"

func (*Client) DescribeClusterRoutesWithContext

func (c *Client) DescribeClusterRoutesWithContext(ctx context.Context, request *DescribeClusterRoutesRequest) (response *DescribeClusterRoutesResponse, err error)

DescribeClusterRoutes This API is used to query cluster routes.

error code that may be returned:

INTERNALERROR_DB = "InternalError.Db"
INTERNALERROR_PARAM = "InternalError.Param"
INVALIDPARAMETER = "InvalidParameter"

func (*Client) DescribeClusterSecurity

func (c *Client) DescribeClusterSecurity(request *DescribeClusterSecurityRequest) (response *DescribeClusterSecurityResponse, err error)

DescribeClusterSecurity This API is used to query the key information of a cluster.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_COMPONENTCLIENTHTTP = "FailedOperation.ComponentClientHttp"
FAILEDOPERATION_COMPONENTCLIENTUNPACK = "FailedOperation.ComponentClientUnpack"
FAILEDOPERATION_KUBECOMMON = "FailedOperation.KubeCommon"
FAILEDOPERATION_LBCOMMON = "FailedOperation.LbCommon"
INTERNALERROR = "InternalError"
INTERNALERROR_ACCOUNTUSERNOTAUTHENTICATED = "InternalError.AccountUserNotAuthenticated"
INTERNALERROR_COMPONENTCLIENTHTTP = "InternalError.ComponentClientHttp"
INTERNALERROR_DB = "InternalError.Db"
INTERNALERROR_DBAFFECTIVEDROWS = "InternalError.DbAffectivedRows"
INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound"
INTERNALERROR_KUBECOMMON = "InternalError.KubeCommon"
INTERNALERROR_LBCOMMON = "InternalError.LbCommon"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER_CIDRINVALID = "InvalidParameter.CidrInvalid"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
RESOURCEINUSE = "ResourceInUse"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCENOTFOUND_CLUSTERNOTFOUND = "ResourceNotFound.ClusterNotFound"
RESOURCENOTFOUND_KUBERESOURCENOTFOUND = "ResourceNotFound.KubeResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCEUNAVAILABLE_CLUSTERSTATE = "ResourceUnavailable.ClusterState"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_CAMNOAUTH = "UnauthorizedOperation.CamNoAuth"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeClusterSecurityWithContext

func (c *Client) DescribeClusterSecurityWithContext(ctx context.Context, request *DescribeClusterSecurityRequest) (response *DescribeClusterSecurityResponse, err error)

DescribeClusterSecurity This API is used to query the key information of a cluster.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_COMPONENTCLIENTHTTP = "FailedOperation.ComponentClientHttp"
FAILEDOPERATION_COMPONENTCLIENTUNPACK = "FailedOperation.ComponentClientUnpack"
FAILEDOPERATION_KUBECOMMON = "FailedOperation.KubeCommon"
FAILEDOPERATION_LBCOMMON = "FailedOperation.LbCommon"
INTERNALERROR = "InternalError"
INTERNALERROR_ACCOUNTUSERNOTAUTHENTICATED = "InternalError.AccountUserNotAuthenticated"
INTERNALERROR_COMPONENTCLIENTHTTP = "InternalError.ComponentClientHttp"
INTERNALERROR_DB = "InternalError.Db"
INTERNALERROR_DBAFFECTIVEDROWS = "InternalError.DbAffectivedRows"
INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound"
INTERNALERROR_KUBECOMMON = "InternalError.KubeCommon"
INTERNALERROR_LBCOMMON = "InternalError.LbCommon"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER_CIDRINVALID = "InvalidParameter.CidrInvalid"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
RESOURCEINUSE = "ResourceInUse"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCENOTFOUND_CLUSTERNOTFOUND = "ResourceNotFound.ClusterNotFound"
RESOURCENOTFOUND_KUBERESOURCENOTFOUND = "ResourceNotFound.KubeResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCEUNAVAILABLE_CLUSTERSTATE = "ResourceUnavailable.ClusterState"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_CAMNOAUTH = "UnauthorizedOperation.CamNoAuth"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeClusterStatus

func (c *Client) DescribeClusterStatus(request *DescribeClusterStatusRequest) (response *DescribeClusterStatusResponse, err error)

DescribeClusterStatus This API is used to query the information of clusters under the current account.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_CAMNOAUTH = "FailedOperation.CamNoAuth"
FAILEDOPERATION_COMPONENTCLIENTHTTP = "FailedOperation.ComponentClientHttp"
FAILEDOPERATION_COMPONENTCLIENTUNPACK = "FailedOperation.ComponentClientUnpack"
FAILEDOPERATION_COMPONENTCLINETHTTP = "FailedOperation.ComponentClinetHttp"
INTERNALERROR = "InternalError"
INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth"
INTERNALERROR_COMPONENTCLINETHTTP = "InternalError.ComponentClinetHttp"
INTERNALERROR_CVMCOMMON = "InternalError.CvmCommon"
INTERNALERROR_CVMNOTFOUND = "InternalError.CvmNotFound"
INTERNALERROR_DB = "InternalError.Db"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal"
INVALIDPARAMETER = "InvalidParameter"
MISSINGPARAMETER = "MissingParameter"
UNKNOWNPARAMETER = "UnknownParameter"

func (*Client) DescribeClusterStatusWithContext

func (c *Client) DescribeClusterStatusWithContext(ctx context.Context, request *DescribeClusterStatusRequest) (response *DescribeClusterStatusResponse, err error)

DescribeClusterStatus This API is used to query the information of clusters under the current account.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_CAMNOAUTH = "FailedOperation.CamNoAuth"
FAILEDOPERATION_COMPONENTCLIENTHTTP = "FailedOperation.ComponentClientHttp"
FAILEDOPERATION_COMPONENTCLIENTUNPACK = "FailedOperation.ComponentClientUnpack"
FAILEDOPERATION_COMPONENTCLINETHTTP = "FailedOperation.ComponentClinetHttp"
INTERNALERROR = "InternalError"
INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth"
INTERNALERROR_COMPONENTCLINETHTTP = "InternalError.ComponentClinetHttp"
INTERNALERROR_CVMCOMMON = "InternalError.CvmCommon"
INTERNALERROR_CVMNOTFOUND = "InternalError.CvmNotFound"
INTERNALERROR_DB = "InternalError.Db"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal"
INVALIDPARAMETER = "InvalidParameter"
MISSINGPARAMETER = "MissingParameter"
UNKNOWNPARAMETER = "UnknownParameter"

func (*Client) DescribeClusters

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

DescribeClusters This API is used to query clusters list.

error code that may be returned:

INTERNALERROR = "InternalError"
INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth"
INTERNALERROR_DB = "InternalError.Db"
INTERNALERROR_DBAFFECTIVEDROWS = "InternalError.DbAffectivedRows"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_PUBLICCLUSTEROPNOTSUPPORT = "InternalError.PublicClusterOpNotSupport"
INTERNALERROR_QUOTAMAXCLSLIMIT = "InternalError.QuotaMaxClsLimit"
INTERNALERROR_QUOTAMAXNODLIMIT = "InternalError.QuotaMaxNodLimit"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
LIMITEXCEEDED = "LimitExceeded"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION_CAMNOAUTH = "UnauthorizedOperation.CamNoAuth"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeClustersWithContext

func (c *Client) DescribeClustersWithContext(ctx context.Context, request *DescribeClustersRequest) (response *DescribeClustersResponse, err error)

DescribeClusters This API is used to query clusters list.

error code that may be returned:

INTERNALERROR = "InternalError"
INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth"
INTERNALERROR_DB = "InternalError.Db"
INTERNALERROR_DBAFFECTIVEDROWS = "InternalError.DbAffectivedRows"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_PUBLICCLUSTEROPNOTSUPPORT = "InternalError.PublicClusterOpNotSupport"
INTERNALERROR_QUOTAMAXCLSLIMIT = "InternalError.QuotaMaxClsLimit"
INTERNALERROR_QUOTAMAXNODLIMIT = "InternalError.QuotaMaxNodLimit"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
LIMITEXCEEDED = "LimitExceeded"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION_CAMNOAUTH = "UnauthorizedOperation.CamNoAuth"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeEnableVpcCniProgress

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

DescribeEnableVpcCniProgress This API is used to query the task progress of enabling VPC-CNI mode.

error code that may be returned:

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

func (*Client) DescribeEnableVpcCniProgressWithContext

func (c *Client) DescribeEnableVpcCniProgressWithContext(ctx context.Context, request *DescribeEnableVpcCniProgressRequest) (response *DescribeEnableVpcCniProgressResponse, err error)

DescribeEnableVpcCniProgress This API is used to query the task progress of enabling VPC-CNI mode.

error code that may be returned:

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

func (*Client) DescribeExistedInstances

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

DescribeExistedInstances This API is used to query one or more existing node and determine whether they can be added to a cluster.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_ASCOMMON = "FailedOperation.AsCommon"
FAILEDOPERATION_CLUSTERNOTFOUND = "FailedOperation.ClusterNotFound"
FAILEDOPERATION_CLUSTERSTATE = "FailedOperation.ClusterState"
FAILEDOPERATION_CVMCOMMON = "FailedOperation.CvmCommon"
FAILEDOPERATION_PARAM = "FailedOperation.Param"
INTERNALERROR = "InternalError"
INTERNALERROR_ACCOUNTUSERNOTAUTHENTICATED = "InternalError.AccountUserNotAuthenticated"
INTERNALERROR_ASCOMMON = "InternalError.AsCommon"
INTERNALERROR_CLUSTERNOTFOUND = "InternalError.ClusterNotFound"
INTERNALERROR_CLUSTERSTATE = "InternalError.ClusterState"
INTERNALERROR_CREATEMASTERFAILED = "InternalError.CreateMasterFailed"
INTERNALERROR_CVMCOMMON = "InternalError.CvmCommon"
INTERNALERROR_CVMNOTFOUND = "InternalError.CvmNotFound"
INTERNALERROR_DB = "InternalError.Db"
INTERNALERROR_DBAFFECTIVEDROWS = "InternalError.DbAffectivedRows"
INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound"
INTERNALERROR_IMAGEIDNOTFOUND = "InternalError.ImageIdNotFound"
INTERNALERROR_INITMASTERFAILED = "InternalError.InitMasterFailed"
INTERNALERROR_INVALIDPRIVATENETWORKCIDR = "InternalError.InvalidPrivateNetworkCidr"
INTERNALERROR_OSNOTSUPPORT = "InternalError.OsNotSupport"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal"
INTERNALERROR_VPCCOMMON = "InternalError.VpcCommon"
INTERNALERROR_VPCRECODRNOTFOUND = "InternalError.VpcRecodrNotFound"
INVALIDPARAMETER = "InvalidParameter"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
RESOURCEINUSE = "ResourceInUse"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeExistedInstancesWithContext

func (c *Client) DescribeExistedInstancesWithContext(ctx context.Context, request *DescribeExistedInstancesRequest) (response *DescribeExistedInstancesResponse, err error)

DescribeExistedInstances This API is used to query one or more existing node and determine whether they can be added to a cluster.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_ASCOMMON = "FailedOperation.AsCommon"
FAILEDOPERATION_CLUSTERNOTFOUND = "FailedOperation.ClusterNotFound"
FAILEDOPERATION_CLUSTERSTATE = "FailedOperation.ClusterState"
FAILEDOPERATION_CVMCOMMON = "FailedOperation.CvmCommon"
FAILEDOPERATION_PARAM = "FailedOperation.Param"
INTERNALERROR = "InternalError"
INTERNALERROR_ACCOUNTUSERNOTAUTHENTICATED = "InternalError.AccountUserNotAuthenticated"
INTERNALERROR_ASCOMMON = "InternalError.AsCommon"
INTERNALERROR_CLUSTERNOTFOUND = "InternalError.ClusterNotFound"
INTERNALERROR_CLUSTERSTATE = "InternalError.ClusterState"
INTERNALERROR_CREATEMASTERFAILED = "InternalError.CreateMasterFailed"
INTERNALERROR_CVMCOMMON = "InternalError.CvmCommon"
INTERNALERROR_CVMNOTFOUND = "InternalError.CvmNotFound"
INTERNALERROR_DB = "InternalError.Db"
INTERNALERROR_DBAFFECTIVEDROWS = "InternalError.DbAffectivedRows"
INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound"
INTERNALERROR_IMAGEIDNOTFOUND = "InternalError.ImageIdNotFound"
INTERNALERROR_INITMASTERFAILED = "InternalError.InitMasterFailed"
INTERNALERROR_INVALIDPRIVATENETWORKCIDR = "InternalError.InvalidPrivateNetworkCidr"
INTERNALERROR_OSNOTSUPPORT = "InternalError.OsNotSupport"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal"
INTERNALERROR_VPCCOMMON = "InternalError.VpcCommon"
INTERNALERROR_VPCRECODRNOTFOUND = "InternalError.VpcRecodrNotFound"
INVALIDPARAMETER = "InvalidParameter"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
RESOURCEINUSE = "ResourceInUse"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeImages

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

DescribeImages This API is used to get image information.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth"
INTERNALERROR_COMPONENTCLINETHTTP = "InternalError.ComponentClinetHttp"
INTERNALERROR_DB = "InternalError.Db"
INTERNALERROR_DBAFFECTIVEDROWS = "InternalError.DbAffectivedRows"
INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound"
INTERNALERROR_IMAGEIDNOTFOUND = "InternalError.ImageIdNotFound"
INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
INVALIDPARAMETER_ROUTETABLENOTEMPTY = "InvalidParameter.RouteTableNotEmpty"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
RESOURCEINUSE = "ResourceInUse"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeImagesWithContext

func (c *Client) DescribeImagesWithContext(ctx context.Context, request *DescribeImagesRequest) (response *DescribeImagesResponse, err error)

DescribeImages This API is used to get image information.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth"
INTERNALERROR_COMPONENTCLINETHTTP = "InternalError.ComponentClinetHttp"
INTERNALERROR_DB = "InternalError.Db"
INTERNALERROR_DBAFFECTIVEDROWS = "InternalError.DbAffectivedRows"
INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound"
INTERNALERROR_IMAGEIDNOTFOUND = "InternalError.ImageIdNotFound"
INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
INVALIDPARAMETER_ROUTETABLENOTEMPTY = "InvalidParameter.RouteTableNotEmpty"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
RESOURCEINUSE = "ResourceInUse"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribePrometheusInstance

func (c *Client) DescribePrometheusInstance(request *DescribePrometheusInstanceRequest) (response *DescribePrometheusInstanceResponse, err error)

DescribePrometheusInstance This API is used to obtain the instance details.

error code that may be returned:

FAILEDOPERATION_COMPONENTCLIENTUNPACK = "FailedOperation.ComponentClientUnpack"
FAILEDOPERATION_KUBECOMMON = "FailedOperation.KubeCommon"
INTERNALERROR = "InternalError"
INTERNALERROR_DB = "InternalError.Db"
INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_CLUSTERNOTFOUND = "InvalidParameter.ClusterNotFound"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
INVALIDPARAMETER_PROMINSTANCENOTFOUND = "InvalidParameter.PromInstanceNotFound"

func (*Client) DescribePrometheusInstanceWithContext

func (c *Client) DescribePrometheusInstanceWithContext(ctx context.Context, request *DescribePrometheusInstanceRequest) (response *DescribePrometheusInstanceResponse, err error)

DescribePrometheusInstance This API is used to obtain the instance details.

error code that may be returned:

FAILEDOPERATION_COMPONENTCLIENTUNPACK = "FailedOperation.ComponentClientUnpack"
FAILEDOPERATION_KUBECOMMON = "FailedOperation.KubeCommon"
INTERNALERROR = "InternalError"
INTERNALERROR_DB = "InternalError.Db"
INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_CLUSTERNOTFOUND = "InvalidParameter.ClusterNotFound"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
INVALIDPARAMETER_PROMINSTANCENOTFOUND = "InvalidParameter.PromInstanceNotFound"

func (*Client) DescribeRegions

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

DescribeRegions This API is used to obtain all regions supported by TKE.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_COMPONENTCLIENTHTTP = "FailedOperation.ComponentClientHttp"
INTERNALERROR = "InternalError"
INTERNALERROR_ACCOUNTUSERNOTAUTHENTICATED = "InternalError.AccountUserNotAuthenticated"
INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth"
INTERNALERROR_DB = "InternalError.Db"
INTERNALERROR_DBAFFECTIVEDROWS = "InternalError.DbAffectivedRows"
INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound"
INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
RESOURCEINUSE = "ResourceInUse"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeRegionsWithContext

func (c *Client) DescribeRegionsWithContext(ctx context.Context, request *DescribeRegionsRequest) (response *DescribeRegionsResponse, err error)

DescribeRegions This API is used to obtain all regions supported by TKE.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_COMPONENTCLIENTHTTP = "FailedOperation.ComponentClientHttp"
INTERNALERROR = "InternalError"
INTERNALERROR_ACCOUNTUSERNOTAUTHENTICATED = "InternalError.AccountUserNotAuthenticated"
INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth"
INTERNALERROR_DB = "InternalError.Db"
INTERNALERROR_DBAFFECTIVEDROWS = "InternalError.DbAffectivedRows"
INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound"
INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
RESOURCEINUSE = "ResourceInUse"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeResourceUsage

func (c *Client) DescribeResourceUsage(request *DescribeResourceUsageRequest) (response *DescribeResourceUsageResponse, err error)

DescribeResourceUsage This API is used to query the cluster resource usage.

error code that may be returned:

INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_CLUSTERNOTFOUND = "InvalidParameter.ClusterNotFound"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE_CLUSTERSTATE = "ResourceUnavailable.ClusterState"

func (*Client) DescribeResourceUsageWithContext

func (c *Client) DescribeResourceUsageWithContext(ctx context.Context, request *DescribeResourceUsageRequest) (response *DescribeResourceUsageResponse, err error)

DescribeResourceUsage This API is used to query the cluster resource usage.

error code that may be returned:

INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_CLUSTERNOTFOUND = "InvalidParameter.ClusterNotFound"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE_CLUSTERSTATE = "ResourceUnavailable.ClusterState"

func (*Client) DescribeRouteTableConflicts

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

DescribeRouteTableConflicts This API is used to query the list of route table conflicts.

error code that may be returned:

FAILEDOPERATION_PARAM = "FailedOperation.Param"
INTERNALERROR = "InternalError"
INTERNALERROR_CIDRMASKSIZEOUTOFRANGE = "InternalError.CidrMaskSizeOutOfRange"
INTERNALERROR_INVALIDPRIVATENETWORKCIDR = "InternalError.InvalidPrivateNetworkCidr"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal"
INTERNALERROR_VPCRECODRNOTFOUND = "InternalError.VpcRecodrNotFound"
INVALIDPARAMETER = "InvalidParameter"

func (*Client) DescribeRouteTableConflictsWithContext

func (c *Client) DescribeRouteTableConflictsWithContext(ctx context.Context, request *DescribeRouteTableConflictsRequest) (response *DescribeRouteTableConflictsResponse, err error)

DescribeRouteTableConflicts This API is used to query the list of route table conflicts.

error code that may be returned:

FAILEDOPERATION_PARAM = "FailedOperation.Param"
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) DescribeTKEEdgeScript

func (c *Client) DescribeTKEEdgeScript(request *DescribeTKEEdgeScriptRequest) (response *DescribeTKEEdgeScriptResponse, err error)

DescribeTKEEdgeScript This API is used to query the URL of TKE edge script.

error code that may be returned:

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

func (*Client) DescribeTKEEdgeScriptWithContext

func (c *Client) DescribeTKEEdgeScriptWithContext(ctx context.Context, request *DescribeTKEEdgeScriptRequest) (response *DescribeTKEEdgeScriptResponse, err error)

DescribeTKEEdgeScript This API is used to query the URL of TKE edge script.

error code that may be returned:

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

func (*Client) DescribeVersions

func (c *Client) DescribeVersions(request *DescribeVersionsRequest) (response *DescribeVersionsResponse, err error)

DescribeVersions This API is used to query cluster version information.

error code that may be returned:

FAILEDOPERATION_COMPONENTCLIENTHTTP = "FailedOperation.ComponentClientHttp"
FAILEDOPERATION_COMPONENTCLINETHTTP = "FailedOperation.ComponentClinetHttp"
INTERNALERROR = "InternalError"
INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth"
INTERNALERROR_COMPONENTCLINETHTTP = "InternalError.ComponentClinetHttp"
INTERNALERROR_DB = "InternalError.Db"
INTERNALERROR_DBAFFECTIVEDROWS = "InternalError.DbAffectivedRows"
INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
INVALIDPARAMETER_ROUTETABLENOTEMPTY = "InvalidParameter.RouteTableNotEmpty"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
RESOURCEINUSE = "ResourceInUse"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeVersionsWithContext

func (c *Client) DescribeVersionsWithContext(ctx context.Context, request *DescribeVersionsRequest) (response *DescribeVersionsResponse, err error)

DescribeVersions This API is used to query cluster version information.

error code that may be returned:

FAILEDOPERATION_COMPONENTCLIENTHTTP = "FailedOperation.ComponentClientHttp"
FAILEDOPERATION_COMPONENTCLINETHTTP = "FailedOperation.ComponentClinetHttp"
INTERNALERROR = "InternalError"
INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth"
INTERNALERROR_COMPONENTCLINETHTTP = "InternalError.ComponentClinetHttp"
INTERNALERROR_DB = "InternalError.Db"
INTERNALERROR_DBAFFECTIVEDROWS = "InternalError.DbAffectivedRows"
INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
INVALIDPARAMETER_ROUTETABLENOTEMPTY = "InvalidParameter.RouteTableNotEmpty"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
RESOURCEINUSE = "ResourceInUse"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeVpcCniPodLimits

func (c *Client) DescribeVpcCniPodLimits(request *DescribeVpcCniPodLimitsRequest) (response *DescribeVpcCniPodLimitsResponse, err error)

DescribeVpcCniPodLimits This API is used to query the maximum number of Pods in the VPC-CNI network mode supported by the models in the specified availability zone of the current user and region.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth"
INTERNALERROR_DB = "InternalError.Db"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
MISSINGPARAMETER = "MissingParameter"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeVpcCniPodLimitsWithContext

func (c *Client) DescribeVpcCniPodLimitsWithContext(ctx context.Context, request *DescribeVpcCniPodLimitsRequest) (response *DescribeVpcCniPodLimitsResponse, err error)

DescribeVpcCniPodLimits This API is used to query the maximum number of Pods in the VPC-CNI network mode supported by the models in the specified availability zone of the current user and region.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth"
INTERNALERROR_DB = "InternalError.Db"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
MISSINGPARAMETER = "MissingParameter"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DisableClusterDeletionProtection

func (c *Client) DisableClusterDeletionProtection(request *DisableClusterDeletionProtectionRequest) (response *DisableClusterDeletionProtectionResponse, err error)

DisableClusterDeletionProtection This API is used to disable cluster deletion protection.

error code that may be returned:

INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"

func (*Client) DisableClusterDeletionProtectionWithContext

func (c *Client) DisableClusterDeletionProtectionWithContext(ctx context.Context, request *DisableClusterDeletionProtectionRequest) (response *DisableClusterDeletionProtectionResponse, err error)

DisableClusterDeletionProtection This API is used to disable cluster deletion protection.

error code that may be returned:

INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"

func (*Client) EnableClusterDeletionProtection

func (c *Client) EnableClusterDeletionProtection(request *EnableClusterDeletionProtectionRequest) (response *EnableClusterDeletionProtectionResponse, err error)

EnableClusterDeletionProtection This API is used to enable cluster deletion protection.

error code that may be returned:

INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) EnableClusterDeletionProtectionWithContext

func (c *Client) EnableClusterDeletionProtectionWithContext(ctx context.Context, request *EnableClusterDeletionProtectionRequest) (response *EnableClusterDeletionProtectionResponse, err error)

EnableClusterDeletionProtection This API is used to enable cluster deletion protection.

error code that may be returned:

INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) EnableVpcCniNetworkType

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

EnableVpcCniNetworkType This API is used to enable the VPC-CNI network mode for GR clusters.

error code that may be returned:

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

func (*Client) EnableVpcCniNetworkTypeWithContext

func (c *Client) EnableVpcCniNetworkTypeWithContext(ctx context.Context, request *EnableVpcCniNetworkTypeRequest) (response *EnableVpcCniNetworkTypeResponse, err error)

EnableVpcCniNetworkType This API is used to enable the VPC-CNI network mode for GR clusters.

error code that may be returned:

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

func (*Client) GetClusterLevelPrice

func (c *Client) GetClusterLevelPrice(request *GetClusterLevelPriceRequest) (response *GetClusterLevelPriceResponse, err error)

GetClusterLevelPrice Obtaining the price of specified cluster model

error code that may be returned:

FAILEDOPERATION_TRADECOMMON = "FailedOperation.TradeCommon"
INTERNALERROR_TRADECOMMON = "InternalError.TradeCommon"

func (*Client) GetClusterLevelPriceWithContext

func (c *Client) GetClusterLevelPriceWithContext(ctx context.Context, request *GetClusterLevelPriceRequest) (response *GetClusterLevelPriceResponse, err error)

GetClusterLevelPrice Obtaining the price of specified cluster model

error code that may be returned:

FAILEDOPERATION_TRADECOMMON = "FailedOperation.TradeCommon"
INTERNALERROR_TRADECOMMON = "InternalError.TradeCommon"

func (*Client) GetUpgradeInstanceProgress

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

GetUpgradeInstanceProgress This API is used to obtain the current progress of the node upgrade.

error code that may be returned:

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

func (*Client) GetUpgradeInstanceProgressWithContext

func (c *Client) GetUpgradeInstanceProgressWithContext(ctx context.Context, request *GetUpgradeInstanceProgressRequest) (response *GetUpgradeInstanceProgressResponse, err error)

GetUpgradeInstanceProgress This API is used to obtain the current progress of the node upgrade.

error code that may be returned:

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

func (*Client) ModifyClusterAsGroupAttribute

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

ModifyClusterAsGroupAttribute Modify cluster scaling group attributes

error code that may be returned:

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

func (c *Client) ModifyClusterAsGroupAttributeWithContext(ctx context.Context, request *ModifyClusterAsGroupAttributeRequest) (response *ModifyClusterAsGroupAttributeResponse, err error)

ModifyClusterAsGroupAttribute Modify cluster scaling group attributes

error code that may be returned:

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 This API is used to modify cluster auto scaling attributes.

error code that may be returned:

INTERNALERROR = "InternalError"
INTERNALERROR_ASCOMMON = "InternalError.AsCommon"
INTERNALERROR_CLUSTERNOTFOUND = "InternalError.ClusterNotFound"
INTERNALERROR_CLUSTERSTATE = "InternalError.ClusterState"
INTERNALERROR_CVMCOMMON = "InternalError.CvmCommon"
INTERNALERROR_CVMNOTFOUND = "InternalError.CvmNotFound"
INTERNALERROR_DB = "InternalError.Db"
INTERNALERROR_DBAFFECTIVEDROWS = "InternalError.DbAffectivedRows"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
MISSINGPARAMETER = "MissingParameter"
RESOURCEINUSE = "ResourceInUse"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) ModifyClusterAsGroupOptionAttributeWithContext

func (c *Client) ModifyClusterAsGroupOptionAttributeWithContext(ctx context.Context, request *ModifyClusterAsGroupOptionAttributeRequest) (response *ModifyClusterAsGroupOptionAttributeResponse, err error)

ModifyClusterAsGroupOptionAttribute This API is used to modify cluster auto scaling attributes.

error code that may be returned:

INTERNALERROR = "InternalError"
INTERNALERROR_ASCOMMON = "InternalError.AsCommon"
INTERNALERROR_CLUSTERNOTFOUND = "InternalError.ClusterNotFound"
INTERNALERROR_CLUSTERSTATE = "InternalError.ClusterState"
INTERNALERROR_CVMCOMMON = "InternalError.CvmCommon"
INTERNALERROR_CVMNOTFOUND = "InternalError.CvmNotFound"
INTERNALERROR_DB = "InternalError.Db"
INTERNALERROR_DBAFFECTIVEDROWS = "InternalError.DbAffectivedRows"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
MISSINGPARAMETER = "MissingParameter"
RESOURCEINUSE = "ResourceInUse"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) ModifyClusterAttribute

func (c *Client) ModifyClusterAttribute(request *ModifyClusterAttributeRequest) (response *ModifyClusterAttributeResponse, err error)

ModifyClusterAttribute This API is used to modify cluster attributes.

error code that may be returned:

FAILEDOPERATION_COMPONENTCLIENTHTTP = "FailedOperation.ComponentClientHttp"
FAILEDOPERATION_TRADECOMMON = "FailedOperation.TradeCommon"
INTERNALERROR = "InternalError"
INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth"
INTERNALERROR_DB = "InternalError.Db"
INTERNALERROR_DBAFFECTIVEDROWS = "InternalError.DbAffectivedRows"
INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_TRADECOMMON = "InternalError.TradeCommon"
INTERNALERROR_TRADEINSUFFICIENTBALANCE = "InternalError.TradeInsufficientBalance"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
MISSINGPARAMETER = "MissingParameter"
RESOURCEINUSE = "ResourceInUse"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCEUNAVAILABLE_CLUSTERSTATE = "ResourceUnavailable.ClusterState"

func (*Client) ModifyClusterAttributeWithContext

func (c *Client) ModifyClusterAttributeWithContext(ctx context.Context, request *ModifyClusterAttributeRequest) (response *ModifyClusterAttributeResponse, err error)

ModifyClusterAttribute This API is used to modify cluster attributes.

error code that may be returned:

FAILEDOPERATION_COMPONENTCLIENTHTTP = "FailedOperation.ComponentClientHttp"
FAILEDOPERATION_TRADECOMMON = "FailedOperation.TradeCommon"
INTERNALERROR = "InternalError"
INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth"
INTERNALERROR_DB = "InternalError.Db"
INTERNALERROR_DBAFFECTIVEDROWS = "InternalError.DbAffectivedRows"
INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_TRADECOMMON = "InternalError.TradeCommon"
INTERNALERROR_TRADEINSUFFICIENTBALANCE = "InternalError.TradeInsufficientBalance"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
MISSINGPARAMETER = "MissingParameter"
RESOURCEINUSE = "ResourceInUse"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCEUNAVAILABLE_CLUSTERSTATE = "ResourceUnavailable.ClusterState"

func (*Client) ModifyClusterAuthenticationOptions

func (c *Client) ModifyClusterAuthenticationOptions(request *ModifyClusterAuthenticationOptionsRequest) (response *ModifyClusterAuthenticationOptionsResponse, err error)

ModifyClusterAuthenticationOptions This API is used to modify cluster authentication configuration.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
OPERATIONDENIED = "OperationDenied"
RESOURCEUNAVAILABLE_CLUSTERSTATE = "ResourceUnavailable.ClusterState"

func (*Client) ModifyClusterAuthenticationOptionsWithContext

func (c *Client) ModifyClusterAuthenticationOptionsWithContext(ctx context.Context, request *ModifyClusterAuthenticationOptionsRequest) (response *ModifyClusterAuthenticationOptionsResponse, err error)

ModifyClusterAuthenticationOptions This API is used to modify cluster authentication configuration.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
OPERATIONDENIED = "OperationDenied"
RESOURCEUNAVAILABLE_CLUSTERSTATE = "ResourceUnavailable.ClusterState"

func (*Client) ModifyClusterEndpointSP

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

ModifyClusterEndpointSP Modify the security policy of the external port of the managed cluster (the old way, only the external port of the managed cluster is supported)

error code that may be returned:

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

func (*Client) ModifyClusterEndpointSPWithContext

func (c *Client) ModifyClusterEndpointSPWithContext(ctx context.Context, request *ModifyClusterEndpointSPRequest) (response *ModifyClusterEndpointSPResponse, err error)

ModifyClusterEndpointSP Modify the security policy of the external port of the managed cluster (the old way, only the external port of the managed cluster is supported)

error code that may be returned:

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

func (*Client) ModifyClusterNodePool

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

ModifyClusterNodePool This API is used to edit a node pool.

error code that may be returned:

FAILEDOPERATION_COMPONENTCLIENTHTTP = "FailedOperation.ComponentClientHttp"
INTERNALERROR_DB = "InternalError.Db"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
OPERATIONDENIED = "OperationDenied"
RESOURCENOTFOUND = "ResourceNotFound"
UNSUPPORTEDOPERATION_CAENABLEFAILED = "UnsupportedOperation.CaEnableFailed"

func (*Client) ModifyClusterNodePoolWithContext

func (c *Client) ModifyClusterNodePoolWithContext(ctx context.Context, request *ModifyClusterNodePoolRequest) (response *ModifyClusterNodePoolResponse, err error)

ModifyClusterNodePool This API is used to edit a node pool.

error code that may be returned:

FAILEDOPERATION_COMPONENTCLIENTHTTP = "FailedOperation.ComponentClientHttp"
INTERNALERROR_DB = "InternalError.Db"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
OPERATIONDENIED = "OperationDenied"
RESOURCENOTFOUND = "ResourceNotFound"
UNSUPPORTEDOPERATION_CAENABLEFAILED = "UnsupportedOperation.CaEnableFailed"

func (*Client) ModifyNodePoolInstanceTypes

func (c *Client) ModifyNodePoolInstanceTypes(request *ModifyNodePoolInstanceTypesRequest) (response *ModifyNodePoolInstanceTypesResponse, err error)

ModifyNodePoolInstanceTypes This API is used to modify the model of instances in a node pool.

error code that may be returned:

FAILEDOPERATION_COMPONENTCLIENTHTTP = "FailedOperation.ComponentClientHttp"
INTERNALERROR = "InternalError"
INTERNALERROR_ACCOUNTUSERNOTAUTHENTICATED = "InternalError.AccountUserNotAuthenticated"
INTERNALERROR_CLUSTERNOTFOUND = "InternalError.ClusterNotFound"
INTERNALERROR_DB = "InternalError.Db"
INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"

func (*Client) ModifyNodePoolInstanceTypesWithContext

func (c *Client) ModifyNodePoolInstanceTypesWithContext(ctx context.Context, request *ModifyNodePoolInstanceTypesRequest) (response *ModifyNodePoolInstanceTypesResponse, err error)

ModifyNodePoolInstanceTypes This API is used to modify the model of instances in a node pool.

error code that may be returned:

FAILEDOPERATION_COMPONENTCLIENTHTTP = "FailedOperation.ComponentClientHttp"
INTERNALERROR = "InternalError"
INTERNALERROR_ACCOUNTUSERNOTAUTHENTICATED = "InternalError.AccountUserNotAuthenticated"
INTERNALERROR_CLUSTERNOTFOUND = "InternalError.ClusterNotFound"
INTERNALERROR_DB = "InternalError.Db"
INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"

func (*Client) ModifyPrometheusAlertRule

func (c *Client) ModifyPrometheusAlertRule(request *ModifyPrometheusAlertRuleRequest) (response *ModifyPrometheusAlertRuleResponse, err error)

ModifyPrometheusAlertRule This API is used to modify an alarm rule.

error code that may be returned:

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

func (*Client) ModifyPrometheusAlertRuleWithContext

func (c *Client) ModifyPrometheusAlertRuleWithContext(ctx context.Context, request *ModifyPrometheusAlertRuleRequest) (response *ModifyPrometheusAlertRuleResponse, err error)

ModifyPrometheusAlertRule This API is used to modify an alarm rule.

error code that may be returned:

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

func (*Client) RemoveNodeFromNodePool

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

RemoveNodeFromNodePool This API is used to remove a node from a node pool but retain it in the cluster.

error code that may be returned:

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

func (*Client) RemoveNodeFromNodePoolWithContext

func (c *Client) RemoveNodeFromNodePoolWithContext(ctx context.Context, request *RemoveNodeFromNodePoolRequest) (response *RemoveNodeFromNodePoolResponse, err error)

RemoveNodeFromNodePool This API is used to remove a node from a node pool but retain it in the cluster.

error code that may be returned:

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

func (*Client) SetNodePoolNodeProtection

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

SetNodePoolNodeProtection This API is used to enable removal protection for the nodes automatically created by the scaling group in a node pool.

error code that may be returned:

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

func (c *Client) SetNodePoolNodeProtectionWithContext(ctx context.Context, request *SetNodePoolNodeProtectionRequest) (response *SetNodePoolNodeProtectionResponse, err error)

SetNodePoolNodeProtection This API is used to enable removal protection for the nodes automatically created by the scaling group in a node pool.

error code that may be returned:

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

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

UpdateClusterVersion This API is used to upgrade the master component of the cluster to the specified version.

error code that may be returned:

FAILEDOPERATION_CLUSTERUPGRADENODEVERSION = "FailedOperation.ClusterUpgradeNodeVersion"
INTERNALERROR = "InternalError"
INTERNALERROR_CLUSTERUPGRADENODEVERSION = "InternalError.ClusterUpgradeNodeVersion"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE_CLUSTERSTATE = "ResourceUnavailable.ClusterState"

func (*Client) UpdateClusterVersionWithContext

func (c *Client) UpdateClusterVersionWithContext(ctx context.Context, request *UpdateClusterVersionRequest) (response *UpdateClusterVersionResponse, err error)

UpdateClusterVersion This API is used to upgrade the master component of the cluster to the specified version.

error code that may be returned:

FAILEDOPERATION_CLUSTERUPGRADENODEVERSION = "FailedOperation.ClusterUpgradeNodeVersion"
INTERNALERROR = "InternalError"
INTERNALERROR_CLUSTERUPGRADENODEVERSION = "InternalError.ClusterUpgradeNodeVersion"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE_CLUSTERSTATE = "ResourceUnavailable.ClusterState"

func (*Client) UpgradeClusterInstances

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

UpgradeClusterInstances This API is used to upgrade one or more work nodes in the cluster.

error code that may be returned:

FAILEDOPERATION_TASKALREADYRUNNING = "FailedOperation.TaskAlreadyRunning"
INTERNALERROR_CLUSTERNOTFOUND = "InternalError.ClusterNotFound"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_TASKALREADYRUNNING = "InternalError.TaskAlreadyRunning"
INTERNALERROR_TASKLIFESTATEERROR = "InternalError.TaskLifeStateError"
INTERNALERROR_TASKNOTFOUND = "InternalError.TaskNotFound"
INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE_CLUSTERSTATE = "ResourceUnavailable.ClusterState"

func (*Client) UpgradeClusterInstancesWithContext

func (c *Client) UpgradeClusterInstancesWithContext(ctx context.Context, request *UpgradeClusterInstancesRequest) (response *UpgradeClusterInstancesResponse, err error)

UpgradeClusterInstances This API is used to upgrade one or more work nodes in the cluster.

error code that may be returned:

FAILEDOPERATION_TASKALREADYRUNNING = "FailedOperation.TaskAlreadyRunning"
INTERNALERROR_CLUSTERNOTFOUND = "InternalError.ClusterNotFound"
INTERNALERROR_PARAM = "InternalError.Param"
INTERNALERROR_TASKALREADYRUNNING = "InternalError.TaskAlreadyRunning"
INTERNALERROR_TASKLIFESTATEERROR = "InternalError.TaskLifeStateError"
INTERNALERROR_TASKNOTFOUND = "InternalError.TaskNotFound"
INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal"
INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE_CLUSTERSTATE = "ResourceUnavailable.ClusterState"

type Cluster

type Cluster struct {
	// Cluster ID
	ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"`

	// Cluster name
	ClusterName *string `json:"ClusterName,omitempty" name:"ClusterName"`

	// Cluster description
	ClusterDescription *string `json:"ClusterDescription,omitempty" name:"ClusterDescription"`

	// Cluster version. The default value is 1.10.5.
	ClusterVersion *string `json:"ClusterVersion,omitempty" name:"ClusterVersion"`

	// Cluster operating system. centOS 7.2x86_64 or ubuntu 16.04.1 LTSx86_64. Default value: ubuntu 16.04.1 LTSx86_64
	ClusterOs *string `json:"ClusterOs,omitempty" name:"ClusterOs"`

	// Cluster type. Managed cluster: MANAGED_CLUSTER; Self-deployed cluster: INDEPENDENT_CLUSTER.
	ClusterType *string `json:"ClusterType,omitempty" name:"ClusterType"`

	// Cluster network-related parameters
	ClusterNetworkSettings *ClusterNetworkSettings `json:"ClusterNetworkSettings,omitempty" name:"ClusterNetworkSettings"`

	// Current number of nodes in the cluster
	ClusterNodeNum *uint64 `json:"ClusterNodeNum,omitempty" name:"ClusterNodeNum"`

	// ID of the project to which the cluster belongs
	ProjectId *uint64 `json:"ProjectId,omitempty" name:"ProjectId"`

	// Tag description list.
	TagSpecification []*TagSpecification `json:"TagSpecification,omitempty" name:"TagSpecification"`

	// Cluster status (`Running`, `Creating`, `Idling` or `Abnormal`)
	ClusterStatus *string `json:"ClusterStatus,omitempty" name:"ClusterStatus"`

	// Cluster attributes (including a map of different cluster attributes, with attribute fields including NodeNameType (lan-ip mode and hostname mode, with lan-ip mode as default))
	Property *string `json:"Property,omitempty" name:"Property"`

	// Number of primary nodes currently in the cluster
	ClusterMaterNodeNum *uint64 `json:"ClusterMaterNodeNum,omitempty" name:"ClusterMaterNodeNum"`

	// ID of the image used by the cluster
	// Note: this field may return null, indicating that no valid value is obtained.
	ImageId *string `json:"ImageId,omitempty" name:"ImageId"`

	// Container image tag
	// Note: This field may return null, indicating that no valid value was found.
	OsCustomizeType *string `json:"OsCustomizeType,omitempty" name:"OsCustomizeType"`

	// Runtime environment of the cluster. Values can be `docker` or `containerd`.
	// Note: this field may return null, indicating that no valid value is obtained.
	ContainerRuntime *string `json:"ContainerRuntime,omitempty" name:"ContainerRuntime"`

	// Creation time
	// Note: this field may return null, indicating that no valid value is obtained.
	CreatedTime *string `json:"CreatedTime,omitempty" name:"CreatedTime"`

	// Whether Deletion Protection is enabled
	// Note: this field may return null, indicating that no valid value is obtained.
	DeletionProtection *bool `json:"DeletionProtection,omitempty" name:"DeletionProtection"`

	// Specifies whether the cluster supports external nodes.
	// Note: this field may return `null`, indicating that no valid value can be obtained.
	EnableExternalNode *bool `json:"EnableExternalNode,omitempty" name:"EnableExternalNode"`

	// Cluster models. It’s valid for managed clusters.
	// Note: This field may return `null`, indicating that no valid values can be obtained.
	ClusterLevel *string `json:"ClusterLevel,omitempty" name:"ClusterLevel"`

	// The target cluster model for auto-upgrade
	// Note: this field may return null, indicating that no valid value is obtained.
	AutoUpgradeClusterLevel *bool `json:"AutoUpgradeClusterLevel,omitempty" name:"AutoUpgradeClusterLevel"`
}

type ClusterAdvancedSettings

type ClusterAdvancedSettings struct {
	// Whether IPVS is enabled
	IPVS *bool `json:"IPVS,omitempty" name:"IPVS"`

	// Whether auto-scaling is enabled for nodes in the cluster (Enabling this function is not supported when you create a cluster)
	AsEnabled *bool `json:"AsEnabled,omitempty" name:"AsEnabled"`

	// Type of runtime component used by the cluster. The types include "docker" and "containerd". Default value: docker
	ContainerRuntime *string `json:"ContainerRuntime,omitempty" name:"ContainerRuntime"`

	// NodeName type for a node in a cluster (This includes the two forms of **hostname** and **lan-ip**, with the default as **lan-ip**. If **hostname** is used, you need to set the HostName parameter when creating a node, and the InstanceName needs to be the same as the HostName.)
	NodeNameType *string `json:"NodeNameType,omitempty" name:"NodeNameType"`

	// Cluster custom parameter
	ExtraArgs *ClusterExtraArgs `json:"ExtraArgs,omitempty" name:"ExtraArgs"`

	// Cluster network type, which can be GR (Global Router) or VPC-CNI. The default value is GR.
	NetworkType *string `json:"NetworkType,omitempty" name:"NetworkType"`

	// Whether a cluster in VPC-CNI mode uses dynamic IP addresses. The default value is FALSE, which indicates that static IP addresses are used.
	IsNonStaticIpMode *bool `json:"IsNonStaticIpMode,omitempty" name:"IsNonStaticIpMode"`

	// Indicates whether to enable cluster deletion protection.
	DeletionProtection *bool `json:"DeletionProtection,omitempty" name:"DeletionProtection"`

	// Cluster network proxy model, which is only used when ipvs-bpf mode is used. At present, TKE cluster supports three network proxy modes including `iptables`, `ipvs` and `ipvs-bpf` and their parameter setting relationships are as follows:
	// `iptables`: do not set IPVS and KubeProxyMode.
	// `ipvs`: set IPVS to `true` and do not set KubeProxyMode.
	// `ipvs-bpf`: set KubeProxyMode to `kube-proxy-bpf`.
	// The following conditions are required to use ipvs-bpf network mode:
	// 1. The cluster version must be v1.14 or later.
	// 2. The system image must be Tencent Linux 2.4.
	KubeProxyMode *string `json:"KubeProxyMode,omitempty" name:"KubeProxyMode"`

	// Indicates whether to enable auditing
	AuditEnabled *bool `json:"AuditEnabled,omitempty" name:"AuditEnabled"`

	// Specifies the ID of logset to which the audit logs are uploaded.
	AuditLogsetId *string `json:"AuditLogsetId,omitempty" name:"AuditLogsetId"`

	// Specifies the ID of topic to which the audit logs are uploaded.
	AuditLogTopicId *string `json:"AuditLogTopicId,omitempty" name:"AuditLogTopicId"`

	// Specifies the ENI type. Values: `tke-route-eni` (multi-IP shared ENI); `tke-direct-eni` (independent ENI). It defaults to `tke-route-eni`.
	VpcCniType *string `json:"VpcCniType,omitempty" name:"VpcCniType"`

	// Runtime version
	RuntimeVersion *string `json:"RuntimeVersion,omitempty" name:"RuntimeVersion"`

	// Indicates whether to enable the custom mode for the node’s pod CIDR range
	EnableCustomizedPodCIDR *bool `json:"EnableCustomizedPodCIDR,omitempty" name:"EnableCustomizedPodCIDR"`

	// The basic number of Pods in custom mode
	BasePodNumber *int64 `json:"BasePodNumber,omitempty" name:"BasePodNumber"`

	// Specifies whether to enable Cilium. If it’s left empty, Cilium is not enabled. If `clusterIP` is passed in, it means to enable Cilium to support the clusterIP service type.
	CiliumMode *string `json:"CiliumMode,omitempty" name:"CiliumMode"`
}

type ClusterAsGroup

type ClusterAsGroup struct {
	// Scaling group ID
	AutoScalingGroupId *string `json:"AutoScalingGroupId,omitempty" name:"AutoScalingGroupId"`

	// Scaling group status (`enabled`, `enabling`, `disabled`, `disabling`, `updating`, `deleting`, `scaleDownEnabling`, `scaleDownDisabling`)
	Status *string `json:"Status,omitempty" name:"Status"`

	// Whether the node is set to unschedulable
	// Note: this field may return null, indicating that no valid value was found.
	IsUnschedulable *bool `json:"IsUnschedulable,omitempty" name:"IsUnschedulable"`

	// Scaling group label list
	// Note: this field may return null, indicating that no valid value was found.
	Labels []*Label `json:"Labels,omitempty" name:"Labels"`

	// Creation time
	CreatedTime *string `json:"CreatedTime,omitempty" name:"CreatedTime"`
}

type ClusterAsGroupAttribute

type ClusterAsGroupAttribute struct {
	// Scaling group ID
	AutoScalingGroupId *string `json:"AutoScalingGroupId,omitempty" name:"AutoScalingGroupId"`

	// Whether it is enabled
	AutoScalingGroupEnabled *bool `json:"AutoScalingGroupEnabled,omitempty" name:"AutoScalingGroupEnabled"`

	// Maximum and minimum number of pods in a scaling group
	AutoScalingGroupRange *AutoScalingGroupRange `json:"AutoScalingGroupRange,omitempty" name:"AutoScalingGroupRange"`
}

type ClusterAsGroupOption

type ClusterAsGroupOption struct {
	// Whether to enable scale-in
	// Note: this field may return null, indicating that no valid value was found.
	IsScaleDownEnabled *bool `json:"IsScaleDownEnabled,omitempty" name:"IsScaleDownEnabled"`

	// The scale-out method when there are multiple scaling groups. `random`: select a random scaling group. `most-pods`: choose the scaling group that can schedule the most pods. `least-waste`: select the scaling group that can ensure the fewest remaining resources after Pod scheduling.. The default value is `random`.)
	// Note: this field may return null, indicating that no valid value was found.
	Expander *string `json:"Expander,omitempty" name:"Expander"`

	// Max concurrent scale-in volume
	// Note: this field may return null, indicating that no valid value was found.
	MaxEmptyBulkDelete *int64 `json:"MaxEmptyBulkDelete,omitempty" name:"MaxEmptyBulkDelete"`

	// Number of minutes after cluster scale-out when the system starts judging whether to perform scale-in
	// Note: this field may return null, indicating that no valid value was found.
	ScaleDownDelay *int64 `json:"ScaleDownDelay,omitempty" name:"ScaleDownDelay"`

	// Number of consecutive minutes of idleness after which the node is subject to scale-in (default value: 10)
	// Note: this field may return null, indicating that no valid value was found.
	ScaleDownUnneededTime *int64 `json:"ScaleDownUnneededTime,omitempty" name:"ScaleDownUnneededTime"`

	// Percentage of node resource usage below which the node is considered to be idle (default value: 50)
	// Note: this field may return null, indicating that no valid value was found.
	ScaleDownUtilizationThreshold *int64 `json:"ScaleDownUtilizationThreshold,omitempty" name:"ScaleDownUtilizationThreshold"`

	// During scale-in, ignore nodes with local storage pods (default value: False)
	// Note: this field may return null, indicating that no valid value was found.
	SkipNodesWithLocalStorage *bool `json:"SkipNodesWithLocalStorage,omitempty" name:"SkipNodesWithLocalStorage"`

	// During scale-in, ignore nodes with pods in the kube-system namespace that are not managed by DaemonSet (default value: False)
	// Note: this field may return null, indicating that no valid value was found.
	SkipNodesWithSystemPods *bool `json:"SkipNodesWithSystemPods,omitempty" name:"SkipNodesWithSystemPods"`

	// Whether to ignore DaemonSet pods by default when calculating resource usage (default value: False: do not ignore)
	// Note: this field may return null, indicating that no valid value was found.
	IgnoreDaemonSetsUtilization *bool `json:"IgnoreDaemonSetsUtilization,omitempty" name:"IgnoreDaemonSetsUtilization"`

	// Number at which CA health detection is triggered (default value: 3). After the number specified in OkTotalUnreadyCount is exceeded, CA will perform health detection.
	// Note: this field may return null, indicating that no valid value was found.
	OkTotalUnreadyCount *int64 `json:"OkTotalUnreadyCount,omitempty" name:"OkTotalUnreadyCount"`

	// Max percentage of unready nodes. After the max percentage is exceeded, CA will stop operation.
	// Note: this field may return null, indicating that no valid value was found.
	MaxTotalUnreadyPercentage *int64 `json:"MaxTotalUnreadyPercentage,omitempty" name:"MaxTotalUnreadyPercentage"`

	// Amount of time before unready nodes become eligible for scale-in
	// Note: this field may return null, indicating that no valid value was found.
	ScaleDownUnreadyTime *int64 `json:"ScaleDownUnreadyTime,omitempty" name:"ScaleDownUnreadyTime"`

	// Waiting time before CA deletes nodes that are not registered in Kubernetes
	// Note: this field may return null, indicating that no valid value was found.
	UnregisteredNodeRemovalTime *int64 `json:"UnregisteredNodeRemovalTime,omitempty" name:"UnregisteredNodeRemovalTime"`
}

type ClusterBasicSettings

type ClusterBasicSettings struct {
	// Cluster operating system. CentOS 7.2x86_64 or Ubuntu 16.04.1 LTSx86_64. Default value: Ubuntu 16.04.1 LTSx86_64
	ClusterOs *string `json:"ClusterOs,omitempty" name:"ClusterOs"`

	// Cluster version. The default value is 1.10.5.
	ClusterVersion *string `json:"ClusterVersion,omitempty" name:"ClusterVersion"`

	// Cluster name
	ClusterName *string `json:"ClusterName,omitempty" name:"ClusterName"`

	// Cluster description
	ClusterDescription *string `json:"ClusterDescription,omitempty" name:"ClusterDescription"`

	// VPC ID, in the format of vpc-xxx, which is required when you create an empty managed cluster.
	VpcId *string `json:"VpcId,omitempty" name:"VpcId"`

	// ID of the project to which the new resources in the cluster belong.
	ProjectId *int64 `json:"ProjectId,omitempty" name:"ProjectId"`

	// Tag description list. This parameter is used to bind a tag to a resource instance. Currently, a tag can only be bound to cluster instances.
	TagSpecification []*TagSpecification `json:"TagSpecification,omitempty" name:"TagSpecification"`

	// Container image tag, `DOCKER_CUSTOMIZE` (container customized tag), `GENERAL` (general tag, default value)
	OsCustomizeType *string `json:"OsCustomizeType,omitempty" name:"OsCustomizeType"`

	// Whether to enable the node’s default security group (default: `No`, Alpha feature)
	NeedWorkSecurityGroup *bool `json:"NeedWorkSecurityGroup,omitempty" name:"NeedWorkSecurityGroup"`

	// When the Cilium Overlay add-on is selected, TKE will take two IPs from the subnet to create the private network CLB.
	SubnetId *string `json:"SubnetId,omitempty" name:"SubnetId"`

	// Cluster specifications available for managed clusters
	ClusterLevel *string `json:"ClusterLevel,omitempty" name:"ClusterLevel"`

	// Auto cluster upgrade for managed clusters
	AutoUpgradeClusterLevel *AutoUpgradeClusterLevel `json:"AutoUpgradeClusterLevel,omitempty" name:"AutoUpgradeClusterLevel"`
}

type ClusterCIDRSettings

type ClusterCIDRSettings struct {
	// CIDR used to assign container and service IPs for the cluster. It cannot conflict with the VPC's CIDR or the CIDRs of other clusters in the same VPC
	ClusterCIDR *string `json:"ClusterCIDR,omitempty" name:"ClusterCIDR"`

	// Whether to ignore ClusterCIDR conflict errors, which are not ignored by default
	IgnoreClusterCIDRConflict *bool `json:"IgnoreClusterCIDRConflict,omitempty" name:"IgnoreClusterCIDRConflict"`

	// Maximum number of pods on each node in the cluster
	MaxNodePodNum *uint64 `json:"MaxNodePodNum,omitempty" name:"MaxNodePodNum"`

	// The maximum number of services in a cluster. The range is from 32 to 32768. When its power is not 2, it will round upward to the closest power of 2. Default value is 256.
	MaxClusterServiceNum *uint64 `json:"MaxClusterServiceNum,omitempty" name:"MaxClusterServiceNum"`

	// The CIDR block used to assign cluster service IP addresses. It must conflict with neither the VPC CIDR block nor with CIDR blocks of other clusters in the same VPC instance. The IP range must be within the private network IP range, such as 10.1.0.0/14, 192.168.0.1/18, and 172.16.0.0/16.
	ServiceCIDR *string `json:"ServiceCIDR,omitempty" name:"ServiceCIDR"`

	// Subnet ID of the ENI in VPC-CNI network mode
	EniSubnetIds []*string `json:"EniSubnetIds,omitempty" name:"EniSubnetIds"`

	// Repossession time of ENI IP addresses in VPC-CNI network mode, whose range is [300,15768000)
	ClaimExpiredSeconds *int64 `json:"ClaimExpiredSeconds,omitempty" name:"ClaimExpiredSeconds"`

	// Whether to ignore ServiceCIDR conflict errors. It is only valid in VPC-CNI mode. Default value: `false`.
	IgnoreServiceCIDRConflict *bool `json:"IgnoreServiceCIDRConflict,omitempty" name:"IgnoreServiceCIDRConflict"`
}

type ClusterExtraArgs

type ClusterExtraArgs struct {
	// kube-apiserver custom parameter, in the format of ["k1=v1", "k1=v2"], for example: ["max-requests-inflight=500","feature-gates=PodShareProcessNamespace=true,DynamicKubeletConfig=true"].
	// Note: this field may return `null`, indicating that no valid value is obtained.
	KubeAPIServer []*string `json:"KubeAPIServer,omitempty" name:"KubeAPIServer"`

	// kube-controller-manager custom parameter
	// Note: this field may return null, indicating that no valid value is obtained.
	KubeControllerManager []*string `json:"KubeControllerManager,omitempty" name:"KubeControllerManager"`

	// kube-scheduler custom parameter
	// Note: this field may return null, indicating that no valid value is obtained.
	KubeScheduler []*string `json:"KubeScheduler,omitempty" name:"KubeScheduler"`

	// etcd custom parameter, which is only effective for self-deployed cluster.
	// Note: this field may return `null`, indicating that no valid value is obtained.
	Etcd []*string `json:"Etcd,omitempty" name:"Etcd"`
}

type ClusterLevelAttribute

type ClusterLevelAttribute struct {
	// Cluster model
	Name *string `json:"Name,omitempty" name:"Name"`

	// Model name
	Alias *string `json:"Alias,omitempty" name:"Alias"`

	// Number of nodes
	NodeCount *uint64 `json:"NodeCount,omitempty" name:"NodeCount"`

	// Number of Pods
	PodCount *uint64 `json:"PodCount,omitempty" name:"PodCount"`

	// Number of ConfigMap
	ConfigMapCount *uint64 `json:"ConfigMapCount,omitempty" name:"ConfigMapCount"`

	// Number of CRDs
	CRDCount *uint64 `json:"CRDCount,omitempty" name:"CRDCount"`

	// Whether it is enabled
	Enable *bool `json:"Enable,omitempty" name:"Enable"`

	// Number of other resources
	// Note: This field may return `null`, indicating that no valid values can be obtained.
	OtherCount *uint64 `json:"OtherCount,omitempty" name:"OtherCount"`
}

type ClusterLevelChangeRecord

type ClusterLevelChangeRecord struct {
	// Record ID
	ID *string `json:"ID,omitempty" name:"ID"`

	// Cluster ID
	ClusterID *string `json:"ClusterID,omitempty" name:"ClusterID"`

	// Status (valid values: `trading`, `upgrading`, `success`, `failed`)
	Status *string `json:"Status,omitempty" name:"Status"`

	// Status description
	Message *string `json:"Message,omitempty" name:"Message"`

	// Original model
	OldLevel *string `json:"OldLevel,omitempty" name:"OldLevel"`

	// New model
	NewLevel *string `json:"NewLevel,omitempty" name:"NewLevel"`

	// Trigger type (valid values: `manual`, `auto`)
	TriggerType *string `json:"TriggerType,omitempty" name:"TriggerType"`

	// Start time
	StartedAt *string `json:"StartedAt,omitempty" name:"StartedAt"`

	// End time
	EndedAt *string `json:"EndedAt,omitempty" name:"EndedAt"`
}

type ClusterNetworkSettings

type ClusterNetworkSettings struct {
	// CIDR used to assign container and service IPs for the cluster. It cannot conflict with the VPC's CIDR or the CIDRs of other clusters in the same VPC.
	ClusterCIDR *string `json:"ClusterCIDR,omitempty" name:"ClusterCIDR"`

	// Whether to ignore ClusterCIDR conflict errors. It defaults to not ignore.
	IgnoreClusterCIDRConflict *bool `json:"IgnoreClusterCIDRConflict,omitempty" name:"IgnoreClusterCIDRConflict"`

	// Maximum number of pods on each node in the cluster. Default value: 256
	MaxNodePodNum *uint64 `json:"MaxNodePodNum,omitempty" name:"MaxNodePodNum"`

	// Maximum number of cluster services. Default value: 256
	MaxClusterServiceNum *uint64 `json:"MaxClusterServiceNum,omitempty" name:"MaxClusterServiceNum"`

	// Whether IPVS is enabled. Default value: disabled
	Ipvs *bool `json:"Ipvs,omitempty" name:"Ipvs"`

	// Cluster VPC ID, which is required when you create an empty cluster; otherwise, it is automatically set to be consistent with that of the nodes in the cluster
	VpcId *string `json:"VpcId,omitempty" name:"VpcId"`

	// Whether CNI is enabled for network plugin(s). Default value: enabled
	Cni *bool `json:"Cni,omitempty" name:"Cni"`

	// The network mode of service. This parameter is only applicable to ipvs+bpf mode.
	// Note: this field may return `null`, indicating that no valid value can be obtained.
	KubeProxyMode *string `json:"KubeProxyMode,omitempty" name:"KubeProxyMode"`

	// The IP range for service assignment. It cannot conflict with the VPC’s CIDR block nor the CIDR blocks of other clusters in the same VPC.
	// Note: this field may return `null`, indicating that no valid value can be obtained.
	ServiceCIDR *string `json:"ServiceCIDR,omitempty" name:"ServiceCIDR"`

	// The container subnet associated with the cluster
	// Note: this field may return `null`, indicating that no valid value can be obtained.
	Subnets []*string `json:"Subnets,omitempty" name:"Subnets"`

	// Whether to ignore ServiceCIDR conflict errors. It is only valid in VPC-CNI mode. Default value: `false`.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	IgnoreServiceCIDRConflict *bool `json:"IgnoreServiceCIDRConflict,omitempty" name:"IgnoreServiceCIDRConflict"`
}

type ClusterStatus

type ClusterStatus struct {
	// Cluster ID
	ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"`

	// Cluster status
	ClusterState *string `json:"ClusterState,omitempty" name:"ClusterState"`

	// Status of nodes in the cluster
	ClusterInstanceState *string `json:"ClusterInstanceState,omitempty" name:"ClusterInstanceState"`

	// Indicates whether the monitoring service is enabled for the cluster
	ClusterBMonitor *bool `json:"ClusterBMonitor,omitempty" name:"ClusterBMonitor"`

	// Number of cluster nodes being created. "-1" indicates that the request to obtain the node status timed out. "-2" indicates that the request failed.
	ClusterInitNodeNum *int64 `json:"ClusterInitNodeNum,omitempty" name:"ClusterInitNodeNum"`

	// Number of running nodes in the cluster. "-1" indicates that the request to obtain the node status timed out. "-2" indicates that the request failed.
	ClusterRunningNodeNum *int64 `json:"ClusterRunningNodeNum,omitempty" name:"ClusterRunningNodeNum"`

	// Number of abnormal nodes in the cluster.  "-1" indicates that the request to obtain the node status timed out. "-2" indicates that the request failed.
	ClusterFailedNodeNum *int64 `json:"ClusterFailedNodeNum,omitempty" name:"ClusterFailedNodeNum"`

	// Number of shutdown nodes in the cluster.  "-1" indicates that the request to obtain the node status timed out. "-2" indicates that the request failed.
	// Note: this field may return `null`, indicating that no valid value can be found.
	ClusterClosedNodeNum *int64 `json:"ClusterClosedNodeNum,omitempty" name:"ClusterClosedNodeNum"`

	// Number of nodes being shut down in the cluster.  "-1" indicates that the request to obtain the node status timed out. "-2" indicates that the request failed.
	// Note: this field may return `null`, indicating that no valid value can be found.
	ClusterClosingNodeNum *int64 `json:"ClusterClosingNodeNum,omitempty" name:"ClusterClosingNodeNum"`

	// Indicates whether to enable cluster deletion protection
	// Note: this field may return `null`, indicating that no valid value can be found.
	ClusterDeletionProtection *bool `json:"ClusterDeletionProtection,omitempty" name:"ClusterDeletionProtection"`

	// Indicates whether the cluster is auditable
	// Note: this field may return `null`, indicating that no valid value can be found.
	ClusterAuditEnabled *bool `json:"ClusterAuditEnabled,omitempty" name:"ClusterAuditEnabled"`
}

type ClusterVersion

type ClusterVersion struct {
	// Cluster ID
	ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"`

	// The list of cluster major version, such as 1.18.4
	Versions []*string `json:"Versions,omitempty" name:"Versions"`
}

type CommonName

type CommonName struct {
	// User UIN
	SubaccountUin *string `json:"SubaccountUin,omitempty" name:"SubaccountUin"`

	// The CommonName in the certificate of the client corresponding to the sub-account
	CN *string `json:"CN,omitempty" name:"CN"`
}

type CreateClusterEndpointRequest

type CreateClusterEndpointRequest struct {
	*tchttp.BaseRequest

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

	// The ID of the subnet where the cluster's port is located (only needs to be entered when the non-public network access is enabled, and must be within the subnet of the cluster's VPC).
	SubnetId *string `json:"SubnetId,omitempty" name:"SubnetId"`

	// Whether public network access is enabled or not (True = public network access, FALSE = private network access, with the default value as FALSE).
	IsExtranet *bool `json:"IsExtranet,omitempty" name:"IsExtranet"`

	// The domain name
	Domain *string `json:"Domain,omitempty" name:"Domain"`

	// The security group in use. Required only for public network access.
	SecurityGroup *string `json:"SecurityGroup,omitempty" name:"SecurityGroup"`

	// The LB parameter. Required only for public network access.
	ExtensiveParameters *string `json:"ExtensiveParameters,omitempty" name:"ExtensiveParameters"`
}

func NewCreateClusterEndpointRequest

func NewCreateClusterEndpointRequest() (request *CreateClusterEndpointRequest)

func (*CreateClusterEndpointRequest) FromJsonString

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

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

func (*CreateClusterEndpointRequest) ToJsonString

func (r *CreateClusterEndpointRequest) ToJsonString() string

type CreateClusterEndpointRequestParams

type CreateClusterEndpointRequestParams struct {
	// Cluster ID
	ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"`

	// The ID of the subnet where the cluster's port is located (only needs to be entered when the non-public network access is enabled, and must be within the subnet of the cluster's VPC).
	SubnetId *string `json:"SubnetId,omitempty" name:"SubnetId"`

	// Whether public network access is enabled or not (True = public network access, FALSE = private network access, with the default value as FALSE).
	IsExtranet *bool `json:"IsExtranet,omitempty" name:"IsExtranet"`

	// The domain name
	Domain *string `json:"Domain,omitempty" name:"Domain"`

	// The security group in use. Required only for public network access.
	SecurityGroup *string `json:"SecurityGroup,omitempty" name:"SecurityGroup"`

	// The LB parameter. Required only for public network access.
	ExtensiveParameters *string `json:"ExtensiveParameters,omitempty" name:"ExtensiveParameters"`
}

Predefined struct for user

type CreateClusterEndpointResponse

type CreateClusterEndpointResponse struct {
	*tchttp.BaseResponse
	Response *CreateClusterEndpointResponseParams `json:"Response"`
}

func NewCreateClusterEndpointResponse

func NewCreateClusterEndpointResponse() (response *CreateClusterEndpointResponse)

func (*CreateClusterEndpointResponse) FromJsonString

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

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

func (*CreateClusterEndpointResponse) ToJsonString

func (r *CreateClusterEndpointResponse) ToJsonString() string

type CreateClusterEndpointResponseParams

type CreateClusterEndpointResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type CreateClusterEndpointVipRequest

type CreateClusterEndpointVipRequest struct {
	*tchttp.BaseRequest

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

	// Security policy opens single IP or CIDR to the Internet (for example: '192.168.1.0/24', with 'reject all' as the default).
	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 CreateClusterEndpointVipRequestParams

type CreateClusterEndpointVipRequestParams struct {
	// Cluster ID
	ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"`

	// Security policy opens single IP or CIDR to the Internet (for example: '192.168.1.0/24', with 'reject all' as the default).
	SecurityPolicies []*string `json:"SecurityPolicies,omitempty" name:"SecurityPolicies"`
}

Predefined struct for user

type CreateClusterEndpointVipResponse

type CreateClusterEndpointVipResponse struct {
	*tchttp.BaseResponse
	Response *CreateClusterEndpointVipResponseParams `json:"Response"`
}

func NewCreateClusterEndpointVipResponse

func NewCreateClusterEndpointVipResponse() (response *CreateClusterEndpointVipResponse)

func (*CreateClusterEndpointVipResponse) FromJsonString

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

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

func (*CreateClusterEndpointVipResponse) ToJsonString

func (r *CreateClusterEndpointVipResponse) ToJsonString() string

type CreateClusterEndpointVipResponseParams

type CreateClusterEndpointVipResponseParams struct {
	// Request job's FlowId
	RequestFlowId *int64 `json:"RequestFlowId,omitempty" name:"RequestFlowId"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type CreateClusterInstancesRequest

type CreateClusterInstancesRequest struct {
	*tchttp.BaseRequest

	// Cluster ID. Enter the ClusterId field returned by the DescribeClusters API
	ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"`

	// Pass-through parameter for CVM creation in the format of a JSON string. To ensure the idempotence of requests for adding cluster nodes, you need to add the ClientToken field in this parameter. For more information, see the documentation for [RunInstances](https://intl.cloud.tencent.com/document/product/213/15730?from_cn_redirect=1) API.
	RunInstancePara *string `json:"RunInstancePara,omitempty" name:"RunInstancePara"`

	// Additional parameter to be set for the instance
	InstanceAdvancedSettings *InstanceAdvancedSettings `json:"InstanceAdvancedSettings,omitempty" name:"InstanceAdvancedSettings"`

	// Skips the specified verification. Valid values: GlobalRouteCIDRCheck, VpcCniCIDRCheck
	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 CreateClusterInstancesRequestParams

type CreateClusterInstancesRequestParams struct {
	// Cluster ID. Enter the ClusterId field returned by the DescribeClusters API
	ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"`

	// Pass-through parameter for CVM creation in the format of a JSON string. To ensure the idempotence of requests for adding cluster nodes, you need to add the ClientToken field in this parameter. For more information, see the documentation for [RunInstances](https://intl.cloud.tencent.com/document/product/213/15730?from_cn_redirect=1) API.
	RunInstancePara *string `json:"RunInstancePara,omitempty" name:"RunInstancePara"`

	// Additional parameter to be set for the instance
	InstanceAdvancedSettings *InstanceAdvancedSettings `json:"InstanceAdvancedSettings,omitempty" name:"InstanceAdvancedSettings"`

	// Skips the specified verification. Valid values: GlobalRouteCIDRCheck, VpcCniCIDRCheck
	SkipValidateOptions []*string `json:"SkipValidateOptions,omitempty" name:"SkipValidateOptions"`
}

Predefined struct for user

type CreateClusterInstancesResponse

type CreateClusterInstancesResponse struct {
	*tchttp.BaseResponse
	Response *CreateClusterInstancesResponseParams `json:"Response"`
}

func NewCreateClusterInstancesResponse

func NewCreateClusterInstancesResponse() (response *CreateClusterInstancesResponse)

func (*CreateClusterInstancesResponse) FromJsonString

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

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

func (*CreateClusterInstancesResponse) ToJsonString

func (r *CreateClusterInstancesResponse) ToJsonString() string

type CreateClusterInstancesResponseParams

type CreateClusterInstancesResponseParams struct {
	// Instance ID
	InstanceIdSet []*string `json:"InstanceIdSet,omitempty" name:"InstanceIdSet"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type CreateClusterNodePoolFromExistingAsgRequest

type CreateClusterNodePoolFromExistingAsgRequest struct {
	*tchttp.BaseRequest

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

	// Scaling group 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 CreateClusterNodePoolFromExistingAsgRequestParams

type CreateClusterNodePoolFromExistingAsgRequestParams struct {
	// Cluster ID
	ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"`

	// Scaling group ID
	AutoscalingGroupId *string `json:"AutoscalingGroupId,omitempty" name:"AutoscalingGroupId"`
}

Predefined struct for user

type CreateClusterNodePoolFromExistingAsgResponse

type CreateClusterNodePoolFromExistingAsgResponse struct {
	*tchttp.BaseResponse
	Response *CreateClusterNodePoolFromExistingAsgResponseParams `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 CreateClusterNodePoolFromExistingAsgResponseParams

type CreateClusterNodePoolFromExistingAsgResponseParams struct {
	// Node pool ID
	NodePoolId *string `json:"NodePoolId,omitempty" name:"NodePoolId"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type CreateClusterNodePoolRequest

type CreateClusterNodePoolRequest struct {
	*tchttp.BaseRequest

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

	// AS group parameters
	AutoScalingGroupPara *string `json:"AutoScalingGroupPara,omitempty" name:"AutoScalingGroupPara"`

	// Running parameters
	LaunchConfigurePara *string `json:"LaunchConfigurePara,omitempty" name:"LaunchConfigurePara"`

	// Sample parameters
	InstanceAdvancedSettings *InstanceAdvancedSettings `json:"InstanceAdvancedSettings,omitempty" name:"InstanceAdvancedSettings"`

	// Indicates whether to enable auto scaling
	EnableAutoscale *bool `json:"EnableAutoscale,omitempty" name:"EnableAutoscale"`

	// Node pool name
	Name *string `json:"Name,omitempty" name:"Name"`

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

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

	// Node pool runtime type and version
	ContainerRuntime *string `json:"ContainerRuntime,omitempty" name:"ContainerRuntime"`

	// Runtime version
	RuntimeVersion *string `json:"RuntimeVersion,omitempty" name:"RuntimeVersion"`

	// Operating system of the node pool
	NodePoolOs *string `json:"NodePoolOs,omitempty" name:"NodePoolOs"`

	// Container image tag, `DOCKER_CUSTOMIZE` (container customized tag), `GENERAL` (general tag, default value)
	OsCustomizeType *string `json:"OsCustomizeType,omitempty" name:"OsCustomizeType"`

	// Resource tag
	Tags []*Tag `json:"Tags,omitempty" name:"Tags"`
}

func NewCreateClusterNodePoolRequest

func NewCreateClusterNodePoolRequest() (request *CreateClusterNodePoolRequest)

func (*CreateClusterNodePoolRequest) FromJsonString

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

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

func (*CreateClusterNodePoolRequest) ToJsonString

func (r *CreateClusterNodePoolRequest) ToJsonString() string

type CreateClusterNodePoolRequestParams

type CreateClusterNodePoolRequestParams struct {
	// Cluster ID
	ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"`

	// AS group parameters
	AutoScalingGroupPara *string `json:"AutoScalingGroupPara,omitempty" name:"AutoScalingGroupPara"`

	// Running parameters
	LaunchConfigurePara *string `json:"LaunchConfigurePara,omitempty" name:"LaunchConfigurePara"`

	// Sample parameters
	InstanceAdvancedSettings *InstanceAdvancedSettings `json:"InstanceAdvancedSettings,omitempty" name:"InstanceAdvancedSettings"`

	// Indicates whether to enable auto scaling
	EnableAutoscale *bool `json:"EnableAutoscale,omitempty" name:"EnableAutoscale"`

	// Node pool name
	Name *string `json:"Name,omitempty" name:"Name"`

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

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

	// Node pool runtime type and version
	ContainerRuntime *string `json:"ContainerRuntime,omitempty" name:"ContainerRuntime"`

	// Runtime version
	RuntimeVersion *string `json:"RuntimeVersion,omitempty" name:"RuntimeVersion"`

	// Operating system of the node pool
	NodePoolOs *string `json:"NodePoolOs,omitempty" name:"NodePoolOs"`

	// Container image tag, `DOCKER_CUSTOMIZE` (container customized tag), `GENERAL` (general tag, default value)
	OsCustomizeType *string `json:"OsCustomizeType,omitempty" name:"OsCustomizeType"`

	// Resource tag
	Tags []*Tag `json:"Tags,omitempty" name:"Tags"`
}

Predefined struct for user

type CreateClusterNodePoolResponse

type CreateClusterNodePoolResponse struct {
	*tchttp.BaseResponse
	Response *CreateClusterNodePoolResponseParams `json:"Response"`
}

func NewCreateClusterNodePoolResponse

func NewCreateClusterNodePoolResponse() (response *CreateClusterNodePoolResponse)

func (*CreateClusterNodePoolResponse) FromJsonString

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

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

func (*CreateClusterNodePoolResponse) ToJsonString

func (r *CreateClusterNodePoolResponse) ToJsonString() string

type CreateClusterNodePoolResponseParams

type CreateClusterNodePoolResponseParams struct {
	// Node pool ID
	NodePoolId *string `json:"NodePoolId,omitempty" name:"NodePoolId"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type CreateClusterRequest

type CreateClusterRequest struct {
	*tchttp.BaseRequest

	// Container networking configuration information for the cluster
	ClusterCIDRSettings *ClusterCIDRSettings `json:"ClusterCIDRSettings,omitempty" name:"ClusterCIDRSettings"`

	// Cluster type. Managed cluster: MANAGED_CLUSTER; self-deployed cluster: INDEPENDENT_CLUSTER.
	ClusterType *string `json:"ClusterType,omitempty" name:"ClusterType"`

	// Pass-through parameter for CVM creation in the format of a JSON string. For more information, see the API for [creating a CVM instance](https://intl.cloud.tencent.com/document/product/213/15730?from_cn_redirect=1).
	RunInstancesForNode []*RunInstancesForNode `json:"RunInstancesForNode,omitempty" name:"RunInstancesForNode"`

	// Basic configuration information of the cluster
	ClusterBasicSettings *ClusterBasicSettings `json:"ClusterBasicSettings,omitempty" name:"ClusterBasicSettings"`

	// Advanced configuration information of the cluster
	ClusterAdvancedSettings *ClusterAdvancedSettings `json:"ClusterAdvancedSettings,omitempty" name:"ClusterAdvancedSettings"`

	// Advanced configuration information of the node
	InstanceAdvancedSettings *InstanceAdvancedSettings `json:"InstanceAdvancedSettings,omitempty" name:"InstanceAdvancedSettings"`

	// The configuration information for existing instances. All instances must be in the same VPC. Up to 100 instances are allowed in one VPC. Spot instances are not supported.
	ExistedInstancesForNode []*ExistedInstancesForNode `json:"ExistedInstancesForNode,omitempty" name:"ExistedInstancesForNode"`

	// CVM type and the corresponding data disk mounting configuration information.
	InstanceDataDiskMountSettings []*InstanceDataDiskMountSetting `json:"InstanceDataDiskMountSettings,omitempty" name:"InstanceDataDiskMountSettings"`

	// Information of the add-on to be installed
	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 CreateClusterRequestParams

type CreateClusterRequestParams struct {
	// Container networking configuration information for the cluster
	ClusterCIDRSettings *ClusterCIDRSettings `json:"ClusterCIDRSettings,omitempty" name:"ClusterCIDRSettings"`

	// Cluster type. Managed cluster: MANAGED_CLUSTER; self-deployed cluster: INDEPENDENT_CLUSTER.
	ClusterType *string `json:"ClusterType,omitempty" name:"ClusterType"`

	// Pass-through parameter for CVM creation in the format of a JSON string. For more information, see the API for [creating a CVM instance](https://intl.cloud.tencent.com/document/product/213/15730?from_cn_redirect=1).
	RunInstancesForNode []*RunInstancesForNode `json:"RunInstancesForNode,omitempty" name:"RunInstancesForNode"`

	// Basic configuration information of the cluster
	ClusterBasicSettings *ClusterBasicSettings `json:"ClusterBasicSettings,omitempty" name:"ClusterBasicSettings"`

	// Advanced configuration information of the cluster
	ClusterAdvancedSettings *ClusterAdvancedSettings `json:"ClusterAdvancedSettings,omitempty" name:"ClusterAdvancedSettings"`

	// Advanced configuration information of the node
	InstanceAdvancedSettings *InstanceAdvancedSettings `json:"InstanceAdvancedSettings,omitempty" name:"InstanceAdvancedSettings"`

	// The configuration information for existing instances. All instances must be in the same VPC. Up to 100 instances are allowed in one VPC. Spot instances are not supported.
	ExistedInstancesForNode []*ExistedInstancesForNode `json:"ExistedInstancesForNode,omitempty" name:"ExistedInstancesForNode"`

	// CVM type and the corresponding data disk mounting configuration information.
	InstanceDataDiskMountSettings []*InstanceDataDiskMountSetting `json:"InstanceDataDiskMountSettings,omitempty" name:"InstanceDataDiskMountSettings"`

	// Information of the add-on to be installed
	ExtensionAddons []*ExtensionAddon `json:"ExtensionAddons,omitempty" name:"ExtensionAddons"`
}

Predefined struct for user

type CreateClusterResponse

type CreateClusterResponse struct {
	*tchttp.BaseResponse
	Response *CreateClusterResponseParams `json:"Response"`
}

func NewCreateClusterResponse

func NewCreateClusterResponse() (response *CreateClusterResponse)

func (*CreateClusterResponse) FromJsonString

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

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

func (*CreateClusterResponse) ToJsonString

func (r *CreateClusterResponse) ToJsonString() string

type CreateClusterResponseParams

type CreateClusterResponseParams struct {
	// Cluster ID
	ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type CreateClusterRouteTableRequest

type CreateClusterRouteTableRequest struct {
	*tchttp.BaseRequest

	// Route table name
	RouteTableName *string `json:"RouteTableName,omitempty" name:"RouteTableName"`

	// Route table CIDR
	RouteTableCidrBlock *string `json:"RouteTableCidrBlock,omitempty" name:"RouteTableCidrBlock"`

	// VPC bound to the route table
	VpcId *string `json:"VpcId,omitempty" name:"VpcId"`

	// Whether to ignore CIDR conflicts
	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 CreateClusterRouteTableRequestParams

type CreateClusterRouteTableRequestParams struct {
	// Route table name
	RouteTableName *string `json:"RouteTableName,omitempty" name:"RouteTableName"`

	// Route table CIDR
	RouteTableCidrBlock *string `json:"RouteTableCidrBlock,omitempty" name:"RouteTableCidrBlock"`

	// VPC bound to the route table
	VpcId *string `json:"VpcId,omitempty" name:"VpcId"`

	// Whether to ignore CIDR conflicts
	IgnoreClusterCidrConflict *int64 `json:"IgnoreClusterCidrConflict,omitempty" name:"IgnoreClusterCidrConflict"`
}

Predefined struct for user

type CreateClusterRouteTableResponse

type CreateClusterRouteTableResponse struct {
	*tchttp.BaseResponse
	Response *CreateClusterRouteTableResponseParams `json:"Response"`
}

func NewCreateClusterRouteTableResponse

func NewCreateClusterRouteTableResponse() (response *CreateClusterRouteTableResponse)

func (*CreateClusterRouteTableResponse) FromJsonString

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

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

func (*CreateClusterRouteTableResponse) ToJsonString

func (r *CreateClusterRouteTableResponse) ToJsonString() string

type CreateClusterRouteTableResponseParams

type CreateClusterRouteTableResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type CreatePrometheusAlertRuleRequest

type CreatePrometheusAlertRuleRequest struct {
	*tchttp.BaseRequest

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

	// Alarm configurations
	AlertRule *PrometheusAlertRuleDetail `json:"AlertRule,omitempty" name:"AlertRule"`
}

func NewCreatePrometheusAlertRuleRequest

func NewCreatePrometheusAlertRuleRequest() (request *CreatePrometheusAlertRuleRequest)

func (*CreatePrometheusAlertRuleRequest) FromJsonString

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

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

func (*CreatePrometheusAlertRuleRequest) ToJsonString

func (r *CreatePrometheusAlertRuleRequest) ToJsonString() string

type CreatePrometheusAlertRuleRequestParams

type CreatePrometheusAlertRuleRequestParams struct {
	// Instance ID
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`

	// Alarm configurations
	AlertRule *PrometheusAlertRuleDetail `json:"AlertRule,omitempty" name:"AlertRule"`
}

Predefined struct for user

type CreatePrometheusAlertRuleResponse

type CreatePrometheusAlertRuleResponse struct {
	*tchttp.BaseResponse
	Response *CreatePrometheusAlertRuleResponseParams `json:"Response"`
}

func NewCreatePrometheusAlertRuleResponse

func NewCreatePrometheusAlertRuleResponse() (response *CreatePrometheusAlertRuleResponse)

func (*CreatePrometheusAlertRuleResponse) FromJsonString

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

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

func (*CreatePrometheusAlertRuleResponse) ToJsonString

func (r *CreatePrometheusAlertRuleResponse) ToJsonString() string

type CreatePrometheusAlertRuleResponseParams

type CreatePrometheusAlertRuleResponseParams struct {
	// Alarm ID
	Id *string `json:"Id,omitempty" name:"Id"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DataDisk

type DataDisk struct {
	// Disk type
	// Note: this field may return null, indicating that no valid values can be obtained.
	DiskType *string `json:"DiskType,omitempty" name:"DiskType"`

	// File system (ext3/ext4/xfs)
	// Note: This field may return null, indicating that no valid value was found.
	FileSystem *string `json:"FileSystem,omitempty" name:"FileSystem"`

	// Disk size (G)
	// Note: This field may return null, indicating that no valid value was found.
	DiskSize *int64 `json:"DiskSize,omitempty" name:"DiskSize"`

	// Whether the disk is auto-formatted and mounted
	// Note: this field may return `null`, indicating that no valid value is obtained.
	AutoFormatAndMount *bool `json:"AutoFormatAndMount,omitempty" name:"AutoFormatAndMount"`

	// Mounting directory
	// Note: This field may return null, indicating that no valid value was found.
	MountTarget *string `json:"MountTarget,omitempty" name:"MountTarget"`

	// Mounted device name or partition name (only required when adding an existing node)
	// Note: This field may return `null`, indicating that no valid values can be obtained.
	DiskPartition *string `json:"DiskPartition,omitempty" name:"DiskPartition"`
}

type DeleteClusterAsGroupsRequest

type DeleteClusterAsGroupsRequest struct {
	*tchttp.BaseRequest

	// The cluster ID, obtained through the [DescribeClusters](https://intl.cloud.tencent.com/document/api/457/31862?from_cn_redirect=1) API.
	ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"`

	// Cluster scaling group ID list
	AutoScalingGroupIds []*string `json:"AutoScalingGroupIds,omitempty" name:"AutoScalingGroupIds"`

	// Whether to keep nodes in the scaling group. Default to **false** (not keep)
	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 DeleteClusterAsGroupsRequestParams

type DeleteClusterAsGroupsRequestParams struct {
	// The cluster ID, obtained through the [DescribeClusters](https://intl.cloud.tencent.com/document/api/457/31862?from_cn_redirect=1) API.
	ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"`

	// Cluster scaling group ID list
	AutoScalingGroupIds []*string `json:"AutoScalingGroupIds,omitempty" name:"AutoScalingGroupIds"`

	// Whether to keep nodes in the scaling group. Default to **false** (not keep)
	KeepInstance *bool `json:"KeepInstance,omitempty" name:"KeepInstance"`
}

Predefined struct for user

type DeleteClusterAsGroupsResponse

type DeleteClusterAsGroupsResponse struct {
	*tchttp.BaseResponse
	Response *DeleteClusterAsGroupsResponseParams `json:"Response"`
}

func NewDeleteClusterAsGroupsResponse

func NewDeleteClusterAsGroupsResponse() (response *DeleteClusterAsGroupsResponse)

func (*DeleteClusterAsGroupsResponse) FromJsonString

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

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

func (*DeleteClusterAsGroupsResponse) ToJsonString

func (r *DeleteClusterAsGroupsResponse) ToJsonString() string

type DeleteClusterAsGroupsResponseParams

type DeleteClusterAsGroupsResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DeleteClusterEndpointRequest

type DeleteClusterEndpointRequest struct {
	*tchttp.BaseRequest

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

	// Whether public network access is enabled or not (True = public network access, FALSE = private network access, with the default value as 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 DeleteClusterEndpointRequestParams

type DeleteClusterEndpointRequestParams struct {
	// Cluster ID
	ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"`

	// Whether public network access is enabled or not (True = public network access, FALSE = private network access, with the default value as FALSE).
	IsExtranet *bool `json:"IsExtranet,omitempty" name:"IsExtranet"`
}

Predefined struct for user

type DeleteClusterEndpointResponse

type DeleteClusterEndpointResponse struct {
	*tchttp.BaseResponse
	Response *DeleteClusterEndpointResponseParams `json:"Response"`
}

func NewDeleteClusterEndpointResponse

func NewDeleteClusterEndpointResponse() (response *DeleteClusterEndpointResponse)

func (*DeleteClusterEndpointResponse) FromJsonString

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

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

func (*DeleteClusterEndpointResponse) ToJsonString

func (r *DeleteClusterEndpointResponse) ToJsonString() string

type DeleteClusterEndpointResponseParams

type DeleteClusterEndpointResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DeleteClusterEndpointVipRequest

type DeleteClusterEndpointVipRequest struct {
	*tchttp.BaseRequest

	// Cluster 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 DeleteClusterEndpointVipRequestParams

type DeleteClusterEndpointVipRequestParams struct {
	// Cluster ID
	ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"`
}

Predefined struct for user

type DeleteClusterEndpointVipResponse

type DeleteClusterEndpointVipResponse struct {
	*tchttp.BaseResponse
	Response *DeleteClusterEndpointVipResponseParams `json:"Response"`
}

func NewDeleteClusterEndpointVipResponse

func NewDeleteClusterEndpointVipResponse() (response *DeleteClusterEndpointVipResponse)

func (*DeleteClusterEndpointVipResponse) FromJsonString

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

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

func (*DeleteClusterEndpointVipResponse) ToJsonString

func (r *DeleteClusterEndpointVipResponse) ToJsonString() string

type DeleteClusterEndpointVipResponseParams

type DeleteClusterEndpointVipResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DeleteClusterInstancesRequest

type DeleteClusterInstancesRequest struct {
	*tchttp.BaseRequest

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

	// List of Instance IDs
	InstanceIds []*string `json:"InstanceIds,omitempty" name:"InstanceIds"`

	// Policy used to delete an instance in the cluster: `terminate` (terminates the instance. Only available for pay-as-you-go CVMs); `retain` (only removes it from the cluster. The instance will be retained.)
	InstanceDeleteMode *string `json:"InstanceDeleteMode,omitempty" name:"InstanceDeleteMode"`

	// Whether or not there is forced deletion (when a node is initialized, the parameters can be specified as 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 DeleteClusterInstancesRequestParams

type DeleteClusterInstancesRequestParams struct {
	// Cluster ID
	ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"`

	// List of Instance IDs
	InstanceIds []*string `json:"InstanceIds,omitempty" name:"InstanceIds"`

	// Policy used to delete an instance in the cluster: `terminate` (terminates the instance. Only available for pay-as-you-go CVMs); `retain` (only removes it from the cluster. The instance will be retained.)
	InstanceDeleteMode *string `json:"InstanceDeleteMode,omitempty" name:"InstanceDeleteMode"`

	// Whether or not there is forced deletion (when a node is initialized, the parameters can be specified as TRUE)
	ForceDelete *bool `json:"ForceDelete,omitempty" name:"ForceDelete"`
}

Predefined struct for user

type DeleteClusterInstancesResponse

type DeleteClusterInstancesResponse struct {
	*tchttp.BaseResponse
	Response *DeleteClusterInstancesResponseParams `json:"Response"`
}

func NewDeleteClusterInstancesResponse

func NewDeleteClusterInstancesResponse() (response *DeleteClusterInstancesResponse)

func (*DeleteClusterInstancesResponse) FromJsonString

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

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

func (*DeleteClusterInstancesResponse) ToJsonString

func (r *DeleteClusterInstancesResponse) ToJsonString() string

type DeleteClusterInstancesResponseParams

type DeleteClusterInstancesResponseParams struct {
	// IDs of deleted instances
	SuccInstanceIds []*string `json:"SuccInstanceIds,omitempty" name:"SuccInstanceIds"`

	// IDs of instances failed to be deleted
	FailedInstanceIds []*string `json:"FailedInstanceIds,omitempty" name:"FailedInstanceIds"`

	// IDs of instances that cannot be found
	NotFoundInstanceIds []*string `json:"NotFoundInstanceIds,omitempty" name:"NotFoundInstanceIds"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DeleteClusterNodePoolRequest

type DeleteClusterNodePoolRequest struct {
	*tchttp.BaseRequest

	// ClusterId of a node pool
	ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"`

	// IDs of node pools to delete
	NodePoolIds []*string `json:"NodePoolIds,omitempty" name:"NodePoolIds"`

	// Indicates whether nodes in a node pool are retained when the node pool is deleted. (The nodes are removed from the cluster. However, the corresponding instances will not be terminated.)
	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 DeleteClusterNodePoolRequestParams

type DeleteClusterNodePoolRequestParams struct {
	// ClusterId of a node pool
	ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"`

	// IDs of node pools to delete
	NodePoolIds []*string `json:"NodePoolIds,omitempty" name:"NodePoolIds"`

	// Indicates whether nodes in a node pool are retained when the node pool is deleted. (The nodes are removed from the cluster. However, the corresponding instances will not be terminated.)
	KeepInstance *bool `json:"KeepInstance,omitempty" name:"KeepInstance"`
}

Predefined struct for user

type DeleteClusterNodePoolResponse

type DeleteClusterNodePoolResponse struct {
	*tchttp.BaseResponse
	Response *DeleteClusterNodePoolResponseParams `json:"Response"`
}

func NewDeleteClusterNodePoolResponse

func NewDeleteClusterNodePoolResponse() (response *DeleteClusterNodePoolResponse)

func (*DeleteClusterNodePoolResponse) FromJsonString

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

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

func (*DeleteClusterNodePoolResponse) ToJsonString

func (r *DeleteClusterNodePoolResponse) ToJsonString() string

type DeleteClusterNodePoolResponseParams

type DeleteClusterNodePoolResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DeleteClusterRequest

type DeleteClusterRequest struct {
	*tchttp.BaseRequest

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

	// Policy used to delete an instance in the cluster: terminate (terminates the instance. Only available for instances on pay-as-you-go CVMs); retain (only removes it from the cluster. The instance will be retained.)
	InstanceDeleteMode *string `json:"InstanceDeleteMode,omitempty" name:"InstanceDeleteMode"`

	// Specifies the policy to deal with resources in the cluster when the cluster is deleted. It only supports CBS now. The default policy is to retain CBS disks.
	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 DeleteClusterRequestParams

type DeleteClusterRequestParams struct {
	// Cluster ID
	ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"`

	// Policy used to delete an instance in the cluster: terminate (terminates the instance. Only available for instances on pay-as-you-go CVMs); retain (only removes it from the cluster. The instance will be retained.)
	InstanceDeleteMode *string `json:"InstanceDeleteMode,omitempty" name:"InstanceDeleteMode"`

	// Specifies the policy to deal with resources in the cluster when the cluster is deleted. It only supports CBS now. The default policy is to retain CBS disks.
	ResourceDeleteOptions []*ResourceDeleteOption `json:"ResourceDeleteOptions,omitempty" name:"ResourceDeleteOptions"`
}

Predefined struct for user

type DeleteClusterResponse

type DeleteClusterResponse struct {
	*tchttp.BaseResponse
	Response *DeleteClusterResponseParams `json:"Response"`
}

func NewDeleteClusterResponse

func NewDeleteClusterResponse() (response *DeleteClusterResponse)

func (*DeleteClusterResponse) FromJsonString

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

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

func (*DeleteClusterResponse) ToJsonString

func (r *DeleteClusterResponse) ToJsonString() string

type DeleteClusterResponseParams

type DeleteClusterResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DeleteClusterRouteRequest

type DeleteClusterRouteRequest struct {
	*tchttp.BaseRequest

	// Route table name.
	RouteTableName *string `json:"RouteTableName,omitempty" name:"RouteTableName"`

	// Next hop address.
	GatewayIp *string `json:"GatewayIp,omitempty" name:"GatewayIp"`

	// Destination 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 DeleteClusterRouteRequestParams

type DeleteClusterRouteRequestParams struct {
	// Route table name.
	RouteTableName *string `json:"RouteTableName,omitempty" name:"RouteTableName"`

	// Next hop address.
	GatewayIp *string `json:"GatewayIp,omitempty" name:"GatewayIp"`

	// Destination CIDR.
	DestinationCidrBlock *string `json:"DestinationCidrBlock,omitempty" name:"DestinationCidrBlock"`
}

Predefined struct for user

type DeleteClusterRouteResponse

type DeleteClusterRouteResponse struct {
	*tchttp.BaseResponse
	Response *DeleteClusterRouteResponseParams `json:"Response"`
}

func NewDeleteClusterRouteResponse

func NewDeleteClusterRouteResponse() (response *DeleteClusterRouteResponse)

func (*DeleteClusterRouteResponse) FromJsonString

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

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

func (*DeleteClusterRouteResponse) ToJsonString

func (r *DeleteClusterRouteResponse) ToJsonString() string

type DeleteClusterRouteResponseParams

type DeleteClusterRouteResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DeleteClusterRouteTableRequest

type DeleteClusterRouteTableRequest struct {
	*tchttp.BaseRequest

	// Route table name
	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 DeleteClusterRouteTableRequestParams

type DeleteClusterRouteTableRequestParams struct {
	// Route table name
	RouteTableName *string `json:"RouteTableName,omitempty" name:"RouteTableName"`
}

Predefined struct for user

type DeleteClusterRouteTableResponse

type DeleteClusterRouteTableResponse struct {
	*tchttp.BaseResponse
	Response *DeleteClusterRouteTableResponseParams `json:"Response"`
}

func NewDeleteClusterRouteTableResponse

func NewDeleteClusterRouteTableResponse() (response *DeleteClusterRouteTableResponse)

func (*DeleteClusterRouteTableResponse) FromJsonString

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

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

func (*DeleteClusterRouteTableResponse) ToJsonString

func (r *DeleteClusterRouteTableResponse) ToJsonString() string

type DeleteClusterRouteTableResponseParams

type DeleteClusterRouteTableResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DeletePrometheusAlertRuleRequest

type DeletePrometheusAlertRuleRequest struct {
	*tchttp.BaseRequest

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

	// The ID list of alarm rules
	AlertIds []*string `json:"AlertIds,omitempty" name:"AlertIds"`
}

func NewDeletePrometheusAlertRuleRequest

func NewDeletePrometheusAlertRuleRequest() (request *DeletePrometheusAlertRuleRequest)

func (*DeletePrometheusAlertRuleRequest) FromJsonString

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

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

func (*DeletePrometheusAlertRuleRequest) ToJsonString

func (r *DeletePrometheusAlertRuleRequest) ToJsonString() string

type DeletePrometheusAlertRuleRequestParams

type DeletePrometheusAlertRuleRequestParams struct {
	// Instance ID
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`

	// The ID list of alarm rules
	AlertIds []*string `json:"AlertIds,omitempty" name:"AlertIds"`
}

Predefined struct for user

type DeletePrometheusAlertRuleResponse

type DeletePrometheusAlertRuleResponse struct {
	*tchttp.BaseResponse
	Response *DeletePrometheusAlertRuleResponseParams `json:"Response"`
}

func NewDeletePrometheusAlertRuleResponse

func NewDeletePrometheusAlertRuleResponse() (response *DeletePrometheusAlertRuleResponse)

func (*DeletePrometheusAlertRuleResponse) FromJsonString

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

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

func (*DeletePrometheusAlertRuleResponse) ToJsonString

func (r *DeletePrometheusAlertRuleResponse) ToJsonString() string

type DeletePrometheusAlertRuleResponseParams

type DeletePrometheusAlertRuleResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeAvailableClusterVersionRequest

type DescribeAvailableClusterVersionRequest struct {
	*tchttp.BaseRequest

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

	// List of cluster IDs
	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 DescribeAvailableClusterVersionRequestParams

type DescribeAvailableClusterVersionRequestParams struct {
	// Cluster ID
	ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"`

	// List of cluster IDs
	ClusterIds []*string `json:"ClusterIds,omitempty" name:"ClusterIds"`
}

Predefined struct for user

type DescribeAvailableClusterVersionResponse

type DescribeAvailableClusterVersionResponse struct {
	*tchttp.BaseResponse
	Response *DescribeAvailableClusterVersionResponseParams `json:"Response"`
}

func NewDescribeAvailableClusterVersionResponse

func NewDescribeAvailableClusterVersionResponse() (response *DescribeAvailableClusterVersionResponse)

func (*DescribeAvailableClusterVersionResponse) FromJsonString

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

func (*DescribeAvailableClusterVersionResponse) ToJsonString

type DescribeAvailableClusterVersionResponseParams

type DescribeAvailableClusterVersionResponseParams struct {
	// Upgradable cluster version
	// Note: this field may return `null`, indicating that no valid value is obtained.
	Versions []*string `json:"Versions,omitempty" name:"Versions"`

	// Cluster information
	// Note: this field may return `null`, indicating that no valid value is obtained.
	Clusters []*ClusterVersion `json:"Clusters,omitempty" name:"Clusters"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeClusterAsGroupOptionRequest

type DescribeClusterAsGroupOptionRequest struct {
	*tchttp.BaseRequest

	// Cluster 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 DescribeClusterAsGroupOptionRequestParams

type DescribeClusterAsGroupOptionRequestParams struct {
	// Cluster ID
	ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"`
}

Predefined struct for user

type DescribeClusterAsGroupOptionResponse

type DescribeClusterAsGroupOptionResponse struct {
	*tchttp.BaseResponse
	Response *DescribeClusterAsGroupOptionResponseParams `json:"Response"`
}

func NewDescribeClusterAsGroupOptionResponse

func NewDescribeClusterAsGroupOptionResponse() (response *DescribeClusterAsGroupOptionResponse)

func (*DescribeClusterAsGroupOptionResponse) FromJsonString

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

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

func (*DescribeClusterAsGroupOptionResponse) ToJsonString

func (r *DescribeClusterAsGroupOptionResponse) ToJsonString() string

type DescribeClusterAsGroupOptionResponseParams

type DescribeClusterAsGroupOptionResponseParams struct {
	// Cluster auto scaling attributes
	// Note: this field may return null, indicating that no valid value was found.
	ClusterAsGroupOption *ClusterAsGroupOption `json:"ClusterAsGroupOption,omitempty" name:"ClusterAsGroupOption"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeClusterAsGroupsRequest

type DescribeClusterAsGroupsRequest struct {
	*tchttp.BaseRequest

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

	// Scaling group ID list. If this value is null, it indicates that all cluster-associated scaling groups are pulled.
	AutoScalingGroupIds []*string `json:"AutoScalingGroupIds,omitempty" name:"AutoScalingGroupIds"`

	// Offset. This value defaults to 0. For more information on Offset, see the relevant sections in API [Overview](https://intl.cloud.tencent.com/document/api/213/15688?from_cn_redirect=1).
	Offset *int64 `json:"Offset,omitempty" name:"Offset"`

	// Number of returned results. This value defaults to 20. The maximum is 100. For more information on Limit, see the relevant sections in API [Overview](https://intl.cloud.tencent.com/document/api/213/15688?from_cn_redirect=1).
	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 DescribeClusterAsGroupsRequestParams

type DescribeClusterAsGroupsRequestParams struct {
	// Cluster ID
	ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"`

	// Scaling group ID list. If this value is null, it indicates that all cluster-associated scaling groups are pulled.
	AutoScalingGroupIds []*string `json:"AutoScalingGroupIds,omitempty" name:"AutoScalingGroupIds"`

	// Offset. This value defaults to 0. For more information on Offset, see the relevant sections in API [Overview](https://intl.cloud.tencent.com/document/api/213/15688?from_cn_redirect=1).
	Offset *int64 `json:"Offset,omitempty" name:"Offset"`

	// Number of returned results. This value defaults to 20. The maximum is 100. For more information on Limit, see the relevant sections in API [Overview](https://intl.cloud.tencent.com/document/api/213/15688?from_cn_redirect=1).
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`
}

Predefined struct for user

type DescribeClusterAsGroupsResponse

type DescribeClusterAsGroupsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeClusterAsGroupsResponseParams `json:"Response"`
}

func NewDescribeClusterAsGroupsResponse

func NewDescribeClusterAsGroupsResponse() (response *DescribeClusterAsGroupsResponse)

func (*DescribeClusterAsGroupsResponse) FromJsonString

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

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

func (*DescribeClusterAsGroupsResponse) ToJsonString

func (r *DescribeClusterAsGroupsResponse) ToJsonString() string

type DescribeClusterAsGroupsResponseParams

type DescribeClusterAsGroupsResponseParams struct {
	// Total number of scaling groups associated with the cluster
	TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

	// Cluster-associated scaling group list
	ClusterAsGroupSet []*ClusterAsGroup `json:"ClusterAsGroupSet,omitempty" name:"ClusterAsGroupSet"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeClusterAuthenticationOptionsRequest

type DescribeClusterAuthenticationOptionsRequest struct {
	*tchttp.BaseRequest

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

func NewDescribeClusterAuthenticationOptionsRequest

func NewDescribeClusterAuthenticationOptionsRequest() (request *DescribeClusterAuthenticationOptionsRequest)

func (*DescribeClusterAuthenticationOptionsRequest) FromJsonString

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

func (*DescribeClusterAuthenticationOptionsRequest) ToJsonString

type DescribeClusterAuthenticationOptionsRequestParams

type DescribeClusterAuthenticationOptionsRequestParams struct {
	// Cluster ID
	ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"`
}

Predefined struct for user

type DescribeClusterAuthenticationOptionsResponse

type DescribeClusterAuthenticationOptionsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeClusterAuthenticationOptionsResponseParams `json:"Response"`
}

func NewDescribeClusterAuthenticationOptionsResponse

func NewDescribeClusterAuthenticationOptionsResponse() (response *DescribeClusterAuthenticationOptionsResponse)

func (*DescribeClusterAuthenticationOptionsResponse) FromJsonString

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

func (*DescribeClusterAuthenticationOptionsResponse) ToJsonString

type DescribeClusterAuthenticationOptionsResponseParams

type DescribeClusterAuthenticationOptionsResponseParams struct {
	// ServiceAccount authentication configuration
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	ServiceAccounts *ServiceAccountAuthenticationOptions `json:"ServiceAccounts,omitempty" name:"ServiceAccounts"`

	// Result of the last modification. Values: `Updating`, `Success`, `Failed` or `TimeOut`.
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	LatestOperationState *string `json:"LatestOperationState,omitempty" name:"LatestOperationState"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeClusterCommonNamesRequest

type DescribeClusterCommonNamesRequest struct {
	*tchttp.BaseRequest

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

	// Sub-account. Up to 50 sub-accounts can be passed in at a time.
	SubaccountUins []*string `json:"SubaccountUins,omitempty" name:"SubaccountUins"`

	// Role ID. Up to 50 role IDs can be passed in at a time.
	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 DescribeClusterCommonNamesRequestParams

type DescribeClusterCommonNamesRequestParams struct {
	// Cluster ID
	ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"`

	// Sub-account. Up to 50 sub-accounts can be passed in at a time.
	SubaccountUins []*string `json:"SubaccountUins,omitempty" name:"SubaccountUins"`

	// Role ID. Up to 50 role IDs can be passed in at a time.
	RoleIds []*string `json:"RoleIds,omitempty" name:"RoleIds"`
}

Predefined struct for user

type DescribeClusterCommonNamesResponse

type DescribeClusterCommonNamesResponse struct {
	*tchttp.BaseResponse
	Response *DescribeClusterCommonNamesResponseParams `json:"Response"`
}

func NewDescribeClusterCommonNamesResponse

func NewDescribeClusterCommonNamesResponse() (response *DescribeClusterCommonNamesResponse)

func (*DescribeClusterCommonNamesResponse) FromJsonString

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

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

func (*DescribeClusterCommonNamesResponse) ToJsonString

func (r *DescribeClusterCommonNamesResponse) ToJsonString() string

type DescribeClusterCommonNamesResponseParams

type DescribeClusterCommonNamesResponseParams struct {
	// The CommonName in the certificate of the client corresponding to the sub-account UIN
	CommonNames []*CommonName `json:"CommonNames,omitempty" name:"CommonNames"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeClusterEndpointStatusRequest

type DescribeClusterEndpointStatusRequest struct {
	*tchttp.BaseRequest

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

	// Whether public network access is enabled or not (True = public network access, FALSE = private network access, with the default value as 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 DescribeClusterEndpointStatusRequestParams

type DescribeClusterEndpointStatusRequestParams struct {
	// Cluster ID
	ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"`

	// Whether public network access is enabled or not (True = public network access, FALSE = private network access, with the default value as FALSE).
	IsExtranet *bool `json:"IsExtranet,omitempty" name:"IsExtranet"`
}

Predefined struct for user

type DescribeClusterEndpointStatusResponse

type DescribeClusterEndpointStatusResponse struct {
	*tchttp.BaseResponse
	Response *DescribeClusterEndpointStatusResponseParams `json:"Response"`
}

func NewDescribeClusterEndpointStatusResponse

func NewDescribeClusterEndpointStatusResponse() (response *DescribeClusterEndpointStatusResponse)

func (*DescribeClusterEndpointStatusResponse) FromJsonString

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

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

func (*DescribeClusterEndpointStatusResponse) ToJsonString

type DescribeClusterEndpointStatusResponseParams

type DescribeClusterEndpointStatusResponseParams struct {
	// The status of cluster access port. It can be `Created` (enabled); `Creating` (enabling) and `NotFound` (not enabled)
	// Note: this field may return `null`, indicating that no valid value is obtained.
	Status *string `json:"Status,omitempty" name:"Status"`

	// Details of the error occurred while opening the access port
	// Note: this field may return `null`, indicating that no valid value is obtained.
	ErrorMsg *string `json:"ErrorMsg,omitempty" name:"ErrorMsg"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeClusterEndpointVipStatusRequest

type DescribeClusterEndpointVipStatusRequest struct {
	*tchttp.BaseRequest

	// Cluster 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 DescribeClusterEndpointVipStatusRequestParams

type DescribeClusterEndpointVipStatusRequestParams struct {
	// Cluster ID
	ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"`
}

Predefined struct for user

type DescribeClusterEndpointVipStatusResponse

type DescribeClusterEndpointVipStatusResponse struct {
	*tchttp.BaseResponse
	Response *DescribeClusterEndpointVipStatusResponseParams `json:"Response"`
}

func NewDescribeClusterEndpointVipStatusResponse

func NewDescribeClusterEndpointVipStatusResponse() (response *DescribeClusterEndpointVipStatusResponse)

func (*DescribeClusterEndpointVipStatusResponse) FromJsonString

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

func (*DescribeClusterEndpointVipStatusResponse) ToJsonString

type DescribeClusterEndpointVipStatusResponseParams

type DescribeClusterEndpointVipStatusResponseParams struct {
	// Port operation status (Creating = in the process of creation; CreateFailed = creation has failed; Created = creation completed; Deleting = in the process of deletion; DeletedFailed = deletion has failed; Deleted = deletion completed; NotFound = operation not found)
	Status *string `json:"Status,omitempty" name:"Status"`

	// Reason for operation failure
	ErrorMsg *string `json:"ErrorMsg,omitempty" name:"ErrorMsg"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeClusterInstancesRequest

type DescribeClusterInstancesRequest struct {
	*tchttp.BaseRequest

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

	// Offset. Default value: 0
	Offset *int64 `json:"Offset,omitempty" name:"Offset"`

	// Maximum number of output entries. Default value: 20
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`

	// List of instance IDs to be obtained. This parameter is empty by default, which indicates that all instances in the cluster will be pulled.
	InstanceIds []*string `json:"InstanceIds,omitempty" name:"InstanceIds"`

	// Node role. Valid values are MASTER, WORKER, ETCD, MASTER_ETCD, and ALL. Default value: WORKER.
	InstanceRole *string `json:"InstanceRole,omitempty" name:"InstanceRole"`

	// Filters include `nodepool-id` and `nodepool-instance-type` (how the instance is added to the pool). For `nodepool-instance-type`, the values can be `MANUALLY_ADDED`, `AUTOSCALING_ADDED` and `ALL`.
	Filters []*Filter `json:"Filters,omitempty" name:"Filters"`
}

func NewDescribeClusterInstancesRequest

func NewDescribeClusterInstancesRequest() (request *DescribeClusterInstancesRequest)

func (*DescribeClusterInstancesRequest) FromJsonString

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

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

func (*DescribeClusterInstancesRequest) ToJsonString

func (r *DescribeClusterInstancesRequest) ToJsonString() string

type DescribeClusterInstancesRequestParams

type DescribeClusterInstancesRequestParams struct {
	// Cluster ID
	ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"`

	// Offset. Default value: 0
	Offset *int64 `json:"Offset,omitempty" name:"Offset"`

	// Maximum number of output entries. Default value: 20
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`

	// List of instance IDs to be obtained. This parameter is empty by default, which indicates that all instances in the cluster will be pulled.
	InstanceIds []*string `json:"InstanceIds,omitempty" name:"InstanceIds"`

	// Node role. Valid values are MASTER, WORKER, ETCD, MASTER_ETCD, and ALL. Default value: WORKER.
	InstanceRole *string `json:"InstanceRole,omitempty" name:"InstanceRole"`

	// Filters include `nodepool-id` and `nodepool-instance-type` (how the instance is added to the pool). For `nodepool-instance-type`, the values can be `MANUALLY_ADDED`, `AUTOSCALING_ADDED` and `ALL`.
	Filters []*Filter `json:"Filters,omitempty" name:"Filters"`
}

Predefined struct for user

type DescribeClusterInstancesResponse

type DescribeClusterInstancesResponse struct {
	*tchttp.BaseResponse
	Response *DescribeClusterInstancesResponseParams `json:"Response"`
}

func NewDescribeClusterInstancesResponse

func NewDescribeClusterInstancesResponse() (response *DescribeClusterInstancesResponse)

func (*DescribeClusterInstancesResponse) FromJsonString

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

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

func (*DescribeClusterInstancesResponse) ToJsonString

func (r *DescribeClusterInstancesResponse) ToJsonString() string

type DescribeClusterInstancesResponseParams

type DescribeClusterInstancesResponseParams struct {
	// Total number of instances in the cluster
	TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

	// List of instances in the cluster
	InstanceSet []*Instance `json:"InstanceSet,omitempty" name:"InstanceSet"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeClusterKubeconfigRequest

type DescribeClusterKubeconfigRequest struct {
	*tchttp.BaseRequest

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

	// Defaults to `false`, which means to obtain the kubeconfig of private network
	IsExtranet *bool `json:"IsExtranet,omitempty" name:"IsExtranet"`
}

func NewDescribeClusterKubeconfigRequest

func NewDescribeClusterKubeconfigRequest() (request *DescribeClusterKubeconfigRequest)

func (*DescribeClusterKubeconfigRequest) FromJsonString

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

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

func (*DescribeClusterKubeconfigRequest) ToJsonString

func (r *DescribeClusterKubeconfigRequest) ToJsonString() string

type DescribeClusterKubeconfigRequestParams

type DescribeClusterKubeconfigRequestParams struct {
	// Cluster ID
	ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"`

	// Defaults to `false`, which means to obtain the kubeconfig of private network
	IsExtranet *bool `json:"IsExtranet,omitempty" name:"IsExtranet"`
}

Predefined struct for user

type DescribeClusterKubeconfigResponse

type DescribeClusterKubeconfigResponse struct {
	*tchttp.BaseResponse
	Response *DescribeClusterKubeconfigResponseParams `json:"Response"`
}

func NewDescribeClusterKubeconfigResponse

func NewDescribeClusterKubeconfigResponse() (response *DescribeClusterKubeconfigResponse)

func (*DescribeClusterKubeconfigResponse) FromJsonString

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

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

func (*DescribeClusterKubeconfigResponse) ToJsonString

func (r *DescribeClusterKubeconfigResponse) ToJsonString() string

type DescribeClusterKubeconfigResponseParams

type DescribeClusterKubeconfigResponseParams struct {
	// Sub-account kubeconfig file, used to access the cluster kube-apiserver directly
	Kubeconfig *string `json:"Kubeconfig,omitempty" name:"Kubeconfig"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeClusterLevelAttributeRequest

type DescribeClusterLevelAttributeRequest struct {
	*tchttp.BaseRequest

	// Cluster ID (available for cluster model adjustment)
	ClusterID *string `json:"ClusterID,omitempty" name:"ClusterID"`
}

func NewDescribeClusterLevelAttributeRequest

func NewDescribeClusterLevelAttributeRequest() (request *DescribeClusterLevelAttributeRequest)

func (*DescribeClusterLevelAttributeRequest) FromJsonString

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

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

func (*DescribeClusterLevelAttributeRequest) ToJsonString

func (r *DescribeClusterLevelAttributeRequest) ToJsonString() string

type DescribeClusterLevelAttributeRequestParams

type DescribeClusterLevelAttributeRequestParams struct {
	// Cluster ID (available for cluster model adjustment)
	ClusterID *string `json:"ClusterID,omitempty" name:"ClusterID"`
}

Predefined struct for user

type DescribeClusterLevelAttributeResponse

type DescribeClusterLevelAttributeResponse struct {
	*tchttp.BaseResponse
	Response *DescribeClusterLevelAttributeResponseParams `json:"Response"`
}

func NewDescribeClusterLevelAttributeResponse

func NewDescribeClusterLevelAttributeResponse() (response *DescribeClusterLevelAttributeResponse)

func (*DescribeClusterLevelAttributeResponse) FromJsonString

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

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

func (*DescribeClusterLevelAttributeResponse) ToJsonString

type DescribeClusterLevelAttributeResponseParams

type DescribeClusterLevelAttributeResponseParams struct {
	// Total number
	TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"`

	// Cluster model
	Items []*ClusterLevelAttribute `json:"Items,omitempty" name:"Items"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeClusterLevelChangeRecordsRequest

type DescribeClusterLevelChangeRecordsRequest struct {
	*tchttp.BaseRequest

	// Cluster ID
	ClusterID *string `json:"ClusterID,omitempty" name:"ClusterID"`

	// Start time
	StartAt *string `json:"StartAt,omitempty" name:"StartAt"`

	// End time
	EndAt *string `json:"EndAt,omitempty" name:"EndAt"`

	// Offset. Default value: `0`
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

	// Maximum number of output entries. Default value: `20`
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`
}

func NewDescribeClusterLevelChangeRecordsRequest

func NewDescribeClusterLevelChangeRecordsRequest() (request *DescribeClusterLevelChangeRecordsRequest)

func (*DescribeClusterLevelChangeRecordsRequest) FromJsonString

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

func (*DescribeClusterLevelChangeRecordsRequest) ToJsonString

type DescribeClusterLevelChangeRecordsRequestParams

type DescribeClusterLevelChangeRecordsRequestParams struct {
	// Cluster ID
	ClusterID *string `json:"ClusterID,omitempty" name:"ClusterID"`

	// Start time
	StartAt *string `json:"StartAt,omitempty" name:"StartAt"`

	// End time
	EndAt *string `json:"EndAt,omitempty" name:"EndAt"`

	// Offset. Default value: `0`
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

	// Maximum number of output entries. Default value: `20`
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`
}

Predefined struct for user

type DescribeClusterLevelChangeRecordsResponse

type DescribeClusterLevelChangeRecordsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeClusterLevelChangeRecordsResponseParams `json:"Response"`
}

func NewDescribeClusterLevelChangeRecordsResponse

func NewDescribeClusterLevelChangeRecordsResponse() (response *DescribeClusterLevelChangeRecordsResponse)

func (*DescribeClusterLevelChangeRecordsResponse) FromJsonString

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

func (*DescribeClusterLevelChangeRecordsResponse) ToJsonString

type DescribeClusterLevelChangeRecordsResponseParams

type DescribeClusterLevelChangeRecordsResponseParams struct {
	// Total number
	TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"`

	// Cluster model
	Items []*ClusterLevelChangeRecord `json:"Items,omitempty" name:"Items"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeClusterNodePoolDetailRequest

type DescribeClusterNodePoolDetailRequest struct {
	*tchttp.BaseRequest

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

	// Node pool 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 DescribeClusterNodePoolDetailRequestParams

type DescribeClusterNodePoolDetailRequestParams struct {
	// Cluster ID
	ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"`

	// Node pool ID
	NodePoolId *string `json:"NodePoolId,omitempty" name:"NodePoolId"`
}

Predefined struct for user

type DescribeClusterNodePoolDetailResponse

type DescribeClusterNodePoolDetailResponse struct {
	*tchttp.BaseResponse
	Response *DescribeClusterNodePoolDetailResponseParams `json:"Response"`
}

func NewDescribeClusterNodePoolDetailResponse

func NewDescribeClusterNodePoolDetailResponse() (response *DescribeClusterNodePoolDetailResponse)

func (*DescribeClusterNodePoolDetailResponse) FromJsonString

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

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

func (*DescribeClusterNodePoolDetailResponse) ToJsonString

type DescribeClusterNodePoolDetailResponseParams

type DescribeClusterNodePoolDetailResponseParams struct {
	// Node pool details
	NodePool *NodePool `json:"NodePool,omitempty" name:"NodePool"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeClusterNodePoolsRequest

type DescribeClusterNodePoolsRequest struct {
	*tchttp.BaseRequest

	// ClusterId (cluster ID)
	ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"`

	// ·  NodePoolsName
	//     Filters by the node pool name
	//     Type: String
	//     Required: No
	//
	// ·  NodePoolsId
	//     Filters by the node pool ID
	//     Type: String
	//     Required: No
	//
	// ·  tags
	//     Filters by key-value pairs of tags
	//     Type: String
	//     Required: No
	//
	// ·  tag:tag-key
	//     Filters by key-value pairs of tags
	//     Type: String
	//     Required: No
	Filters []*Filter `json:"Filters,omitempty" name:"Filters"`
}

func NewDescribeClusterNodePoolsRequest

func NewDescribeClusterNodePoolsRequest() (request *DescribeClusterNodePoolsRequest)

func (*DescribeClusterNodePoolsRequest) FromJsonString

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

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

func (*DescribeClusterNodePoolsRequest) ToJsonString

func (r *DescribeClusterNodePoolsRequest) ToJsonString() string

type DescribeClusterNodePoolsRequestParams

type DescribeClusterNodePoolsRequestParams struct {
	// ClusterId (cluster ID)
	ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"`

	// ·  NodePoolsName
	//     Filters by the node pool name
	//     Type: String
	//     Required: No
	//
	// ·  NodePoolsId
	//     Filters by the node pool ID
	//     Type: String
	//     Required: No
	//
	// ·  tags
	//     Filters by key-value pairs of tags
	//     Type: String
	//     Required: No
	//
	// ·  tag:tag-key
	//     Filters by key-value pairs of tags
	//     Type: String
	//     Required: No
	Filters []*Filter `json:"Filters,omitempty" name:"Filters"`
}

Predefined struct for user

type DescribeClusterNodePoolsResponse

type DescribeClusterNodePoolsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeClusterNodePoolsResponseParams `json:"Response"`
}

func NewDescribeClusterNodePoolsResponse

func NewDescribeClusterNodePoolsResponse() (response *DescribeClusterNodePoolsResponse)

func (*DescribeClusterNodePoolsResponse) FromJsonString

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

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

func (*DescribeClusterNodePoolsResponse) ToJsonString

func (r *DescribeClusterNodePoolsResponse) ToJsonString() string

type DescribeClusterNodePoolsResponseParams

type DescribeClusterNodePoolsResponseParams struct {
	// NodePools (node pool list)
	// Note: this field may return `null`, indicating that no valid value is obtained.
	NodePoolSet []*NodePool `json:"NodePoolSet,omitempty" name:"NodePoolSet"`

	// Total resources
	TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeClusterRouteTablesRequest

type DescribeClusterRouteTablesRequest struct {
	*tchttp.BaseRequest
}

func NewDescribeClusterRouteTablesRequest

func NewDescribeClusterRouteTablesRequest() (request *DescribeClusterRouteTablesRequest)

func (*DescribeClusterRouteTablesRequest) FromJsonString

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

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

func (*DescribeClusterRouteTablesRequest) ToJsonString

func (r *DescribeClusterRouteTablesRequest) ToJsonString() string

type DescribeClusterRouteTablesRequestParams

type DescribeClusterRouteTablesRequestParams struct {
}

Predefined struct for user

type DescribeClusterRouteTablesResponse

type DescribeClusterRouteTablesResponse struct {
	*tchttp.BaseResponse
	Response *DescribeClusterRouteTablesResponseParams `json:"Response"`
}

func NewDescribeClusterRouteTablesResponse

func NewDescribeClusterRouteTablesResponse() (response *DescribeClusterRouteTablesResponse)

func (*DescribeClusterRouteTablesResponse) FromJsonString

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

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

func (*DescribeClusterRouteTablesResponse) ToJsonString

func (r *DescribeClusterRouteTablesResponse) ToJsonString() string

type DescribeClusterRouteTablesResponseParams

type DescribeClusterRouteTablesResponseParams struct {
	// Number of instances that match the filter condition(s).
	TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"`

	// Object of cluster route table.
	RouteTableSet []*RouteTableInfo `json:"RouteTableSet,omitempty" name:"RouteTableSet"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeClusterRoutesRequest

type DescribeClusterRoutesRequest struct {
	*tchttp.BaseRequest

	// Route table name.
	RouteTableName *string `json:"RouteTableName,omitempty" name:"RouteTableName"`

	// Filtering conditions, which are optional. Currently, only filtering by GatewayIP is supported.
	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 DescribeClusterRoutesRequestParams

type DescribeClusterRoutesRequestParams struct {
	// Route table name.
	RouteTableName *string `json:"RouteTableName,omitempty" name:"RouteTableName"`

	// Filtering conditions, which are optional. Currently, only filtering by GatewayIP is supported.
	Filters []*Filter `json:"Filters,omitempty" name:"Filters"`
}

Predefined struct for user

type DescribeClusterRoutesResponse

type DescribeClusterRoutesResponse struct {
	*tchttp.BaseResponse
	Response *DescribeClusterRoutesResponseParams `json:"Response"`
}

func NewDescribeClusterRoutesResponse

func NewDescribeClusterRoutesResponse() (response *DescribeClusterRoutesResponse)

func (*DescribeClusterRoutesResponse) FromJsonString

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

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

func (*DescribeClusterRoutesResponse) ToJsonString

func (r *DescribeClusterRoutesResponse) ToJsonString() string

type DescribeClusterRoutesResponseParams

type DescribeClusterRoutesResponseParams struct {
	// Number of instances that match the filter condition(s).
	TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"`

	// Object of cluster route.
	RouteSet []*RouteInfo `json:"RouteSet,omitempty" name:"RouteSet"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeClusterSecurityRequest

type DescribeClusterSecurityRequest struct {
	*tchttp.BaseRequest

	// Cluster ID. Enter the ClusterId field returned by the DescribeClusters API
	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 DescribeClusterSecurityRequestParams

type DescribeClusterSecurityRequestParams struct {
	// Cluster ID. Enter the ClusterId field returned by the DescribeClusters API
	ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"`
}

Predefined struct for user

type DescribeClusterSecurityResponse

type DescribeClusterSecurityResponse struct {
	*tchttp.BaseResponse
	Response *DescribeClusterSecurityResponseParams `json:"Response"`
}

func NewDescribeClusterSecurityResponse

func NewDescribeClusterSecurityResponse() (response *DescribeClusterSecurityResponse)

func (*DescribeClusterSecurityResponse) FromJsonString

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

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

func (*DescribeClusterSecurityResponse) ToJsonString

func (r *DescribeClusterSecurityResponse) ToJsonString() string

type DescribeClusterSecurityResponseParams

type DescribeClusterSecurityResponseParams struct {
	// Cluster's account name
	UserName *string `json:"UserName,omitempty" name:"UserName"`

	// Cluster's password
	Password *string `json:"Password,omitempty" name:"Password"`

	// Cluster's access CA certificate
	CertificationAuthority *string `json:"CertificationAuthority,omitempty" name:"CertificationAuthority"`

	// Cluster's access address
	ClusterExternalEndpoint *string `json:"ClusterExternalEndpoint,omitempty" name:"ClusterExternalEndpoint"`

	// Domain name accessed by the cluster
	Domain *string `json:"Domain,omitempty" name:"Domain"`

	// Cluster's endpoint address
	PgwEndpoint *string `json:"PgwEndpoint,omitempty" name:"PgwEndpoint"`

	// Cluster's access policy group
	// Note: This field may return null, indicating that no valid value was found.
	SecurityPolicy []*string `json:"SecurityPolicy,omitempty" name:"SecurityPolicy"`

	// Cluster Kubeconfig file
	// Note: This field may return null, indicating that no valid value was found.
	Kubeconfig *string `json:"Kubeconfig,omitempty" name:"Kubeconfig"`

	// Access address of the cluster JnsGw
	// Note: This field may return null, indicating that no valid value was found.
	JnsGwEndpoint *string `json:"JnsGwEndpoint,omitempty" name:"JnsGwEndpoint"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeClusterStatusRequest

type DescribeClusterStatusRequest struct {
	*tchttp.BaseRequest

	// Cluster ID list. All clusters are pulled if it is left empty.
	ClusterIds []*string `json:"ClusterIds,omitempty" name:"ClusterIds"`
}

func NewDescribeClusterStatusRequest

func NewDescribeClusterStatusRequest() (request *DescribeClusterStatusRequest)

func (*DescribeClusterStatusRequest) FromJsonString

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

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

func (*DescribeClusterStatusRequest) ToJsonString

func (r *DescribeClusterStatusRequest) ToJsonString() string

type DescribeClusterStatusRequestParams

type DescribeClusterStatusRequestParams struct {
	// Cluster ID list. All clusters are pulled if it is left empty.
	ClusterIds []*string `json:"ClusterIds,omitempty" name:"ClusterIds"`
}

Predefined struct for user

type DescribeClusterStatusResponse

type DescribeClusterStatusResponse struct {
	*tchttp.BaseResponse
	Response *DescribeClusterStatusResponseParams `json:"Response"`
}

func NewDescribeClusterStatusResponse

func NewDescribeClusterStatusResponse() (response *DescribeClusterStatusResponse)

func (*DescribeClusterStatusResponse) FromJsonString

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

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

func (*DescribeClusterStatusResponse) ToJsonString

func (r *DescribeClusterStatusResponse) ToJsonString() string

type DescribeClusterStatusResponseParams

type DescribeClusterStatusResponseParams struct {
	// Cluster status list
	ClusterStatusSet []*ClusterStatus `json:"ClusterStatusSet,omitempty" name:"ClusterStatusSet"`

	// Number of clusters
	TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeClustersRequest

type DescribeClustersRequest struct {
	*tchttp.BaseRequest

	// Cluster ID list (When it is empty,
	// all clusters under the account will be obtained)
	ClusterIds []*string `json:"ClusterIds,omitempty" name:"ClusterIds"`

	// Offset. Default value: 0
	Offset *int64 `json:"Offset,omitempty" name:"Offset"`

	// Maximum number of output entries. Default value: 20
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`

	// ·  ClusterName
	//     Filters by the cluster name
	//     Type: String
	//     Required: No
	//
	// ·  ClusterType
	//     Filters by the cluster type
	//     Type: String
	//     Required: No
	//
	// ·  ClusterStatus
	//     Filters by the cluster status
	//     Type: String
	//     Required: No
	//
	// ·  Tags
	//     Filters by key-value pairs of tags
	//     Type: String
	//     Required: No
	//
	// ·  vpc-id
	//     Filters by the VPC ID
	//     Type: String
	//     Required: No
	//
	// ·  tag-key
	//     Filters by the tag key
	//     Type: String
	//     Required: No
	//
	// ·  tag-value
	//     Filters by the tag value
	//     Type: String
	//     Required: No
	//
	// ·  tag:tag-key
	//     Filters by key-value pairs of tags
	//     Type: String
	//     Required: No
	Filters []*Filter `json:"Filters,omitempty" name:"Filters"`

	// Cluster type, such as `MANAGED_CLUSTER`
	ClusterType *string `json:"ClusterType,omitempty" name:"ClusterType"`
}

func NewDescribeClustersRequest

func NewDescribeClustersRequest() (request *DescribeClustersRequest)

func (*DescribeClustersRequest) FromJsonString

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

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

func (*DescribeClustersRequest) ToJsonString

func (r *DescribeClustersRequest) ToJsonString() string

type DescribeClustersRequestParams

type DescribeClustersRequestParams struct {
	// Cluster ID list (When it is empty,
	// all clusters under the account will be obtained)
	ClusterIds []*string `json:"ClusterIds,omitempty" name:"ClusterIds"`

	// Offset. Default value: 0
	Offset *int64 `json:"Offset,omitempty" name:"Offset"`

	// Maximum number of output entries. Default value: 20
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`

	// ·  ClusterName
	//     Filters by the cluster name
	//     Type: String
	//     Required: No
	//
	// ·  ClusterType
	//     Filters by the cluster type
	//     Type: String
	//     Required: No
	//
	// ·  ClusterStatus
	//     Filters by the cluster status
	//     Type: String
	//     Required: No
	//
	// ·  Tags
	//     Filters by key-value pairs of tags
	//     Type: String
	//     Required: No
	//
	// ·  vpc-id
	//     Filters by the VPC ID
	//     Type: String
	//     Required: No
	//
	// ·  tag-key
	//     Filters by the tag key
	//     Type: String
	//     Required: No
	//
	// ·  tag-value
	//     Filters by the tag value
	//     Type: String
	//     Required: No
	//
	// ·  tag:tag-key
	//     Filters by key-value pairs of tags
	//     Type: String
	//     Required: No
	Filters []*Filter `json:"Filters,omitempty" name:"Filters"`

	// Cluster type, such as `MANAGED_CLUSTER`
	ClusterType *string `json:"ClusterType,omitempty" name:"ClusterType"`
}

Predefined struct for user

type DescribeClustersResponse

type DescribeClustersResponse struct {
	*tchttp.BaseResponse
	Response *DescribeClustersResponseParams `json:"Response"`
}

func NewDescribeClustersResponse

func NewDescribeClustersResponse() (response *DescribeClustersResponse)

func (*DescribeClustersResponse) FromJsonString

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

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

func (*DescribeClustersResponse) ToJsonString

func (r *DescribeClustersResponse) ToJsonString() string

type DescribeClustersResponseParams

type DescribeClustersResponseParams struct {
	// Total number of clusters
	TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"`

	// Cluster information list
	Clusters []*Cluster `json:"Clusters,omitempty" name:"Clusters"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeEnableVpcCniProgressRequest

type DescribeEnableVpcCniProgressRequest struct {
	*tchttp.BaseRequest

	// ID of the cluster for which you want to enable the VPC-CNI mode
	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 DescribeEnableVpcCniProgressRequestParams

type DescribeEnableVpcCniProgressRequestParams struct {
	// ID of the cluster for which you want to enable the VPC-CNI mode
	ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"`
}

Predefined struct for user

type DescribeEnableVpcCniProgressResponse

type DescribeEnableVpcCniProgressResponse struct {
	*tchttp.BaseResponse
	Response *DescribeEnableVpcCniProgressResponseParams `json:"Response"`
}

func NewDescribeEnableVpcCniProgressResponse

func NewDescribeEnableVpcCniProgressResponse() (response *DescribeEnableVpcCniProgressResponse)

func (*DescribeEnableVpcCniProgressResponse) FromJsonString

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

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

func (*DescribeEnableVpcCniProgressResponse) ToJsonString

func (r *DescribeEnableVpcCniProgressResponse) ToJsonString() string

type DescribeEnableVpcCniProgressResponseParams

type DescribeEnableVpcCniProgressResponseParams struct {
	// Task status, which can be `Running`, `Succeed`, or `Failed`.
	Status *string `json:"Status,omitempty" name:"Status"`

	// The description for the task status when the task status is “Failed”, for example, failed to install the IPAMD component.
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	ErrorMessage *string `json:"ErrorMessage,omitempty" name:"ErrorMessage"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeExistedInstancesRequest

type DescribeExistedInstancesRequest struct {
	*tchttp.BaseRequest

	// Cluster ID. Enter the `ClusterId` field returned when you call the DescribeClusters API (Only VPC ID obtained through `ClusterId` need filtering conditions. When comparing statuses, the nodes on all clusters in this region will be used for comparison. You cannot specify `InstanceIds` and `ClusterId` at the same time.)
	ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"`

	// Query by one or more instance ID(s). Instance ID format: ins-xxxxxxxx. (Refer to section ID.N of the API overview for this parameter's specific format.) Up to 100 instances are allowed for each request. You cannot specify InstanceIds and Filters at the same time.
	InstanceIds []*string `json:"InstanceIds,omitempty" name:"InstanceIds"`

	// Filter condition. For fields and other information, see [the DescribeInstances API](https://intl.cloud.tencent.com/document/api/213/15728?from_cn_redirect=1). If a ClusterId has been set, then the cluster's VPC ID will be attached as a query field. In this situation, if a "vpc-id" is specified in Filter, then the specified VPC ID must be consistent with the cluster's VPC ID.
	Filters []*Filter `json:"Filters,omitempty" name:"Filters"`

	// Filter by instance IP (Supports both private and public IPs)
	VagueIpAddress *string `json:"VagueIpAddress,omitempty" name:"VagueIpAddress"`

	// Filter by instance name
	VagueInstanceName *string `json:"VagueInstanceName,omitempty" name:"VagueInstanceName"`

	// Offset. Default value: 0. For more information on Offset, see the relevant section in the API [Introduction](https://intl.cloud.tencent.com/document/api/213/15688?from_cn_redirect=1).
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

	// Number of returned results. Default value: 20. Maximum value: 100. For more information on Limit, see the relevant section in the API [Introduction](https://intl.cloud.tencent.com/document/api/213/15688?from_cn_redirect=1).
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`

	// Filter by multiple instance IPs
	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 DescribeExistedInstancesRequestParams

type DescribeExistedInstancesRequestParams struct {
	// Cluster ID. Enter the `ClusterId` field returned when you call the DescribeClusters API (Only VPC ID obtained through `ClusterId` need filtering conditions. When comparing statuses, the nodes on all clusters in this region will be used for comparison. You cannot specify `InstanceIds` and `ClusterId` at the same time.)
	ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"`

	// Query by one or more instance ID(s). Instance ID format: ins-xxxxxxxx. (Refer to section ID.N of the API overview for this parameter's specific format.) Up to 100 instances are allowed for each request. You cannot specify InstanceIds and Filters at the same time.
	InstanceIds []*string `json:"InstanceIds,omitempty" name:"InstanceIds"`

	// Filter condition. For fields and other information, see [the DescribeInstances API](https://intl.cloud.tencent.com/document/api/213/15728?from_cn_redirect=1). If a ClusterId has been set, then the cluster's VPC ID will be attached as a query field. In this situation, if a "vpc-id" is specified in Filter, then the specified VPC ID must be consistent with the cluster's VPC ID.
	Filters []*Filter `json:"Filters,omitempty" name:"Filters"`

	// Filter by instance IP (Supports both private and public IPs)
	VagueIpAddress *string `json:"VagueIpAddress,omitempty" name:"VagueIpAddress"`

	// Filter by instance name
	VagueInstanceName *string `json:"VagueInstanceName,omitempty" name:"VagueInstanceName"`

	// Offset. Default value: 0. For more information on Offset, see the relevant section in the API [Introduction](https://intl.cloud.tencent.com/document/api/213/15688?from_cn_redirect=1).
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

	// Number of returned results. Default value: 20. Maximum value: 100. For more information on Limit, see the relevant section in the API [Introduction](https://intl.cloud.tencent.com/document/api/213/15688?from_cn_redirect=1).
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`

	// Filter by multiple instance IPs
	IpAddresses []*string `json:"IpAddresses,omitempty" name:"IpAddresses"`
}

Predefined struct for user

type DescribeExistedInstancesResponse

type DescribeExistedInstancesResponse struct {
	*tchttp.BaseResponse
	Response *DescribeExistedInstancesResponseParams `json:"Response"`
}

func NewDescribeExistedInstancesResponse

func NewDescribeExistedInstancesResponse() (response *DescribeExistedInstancesResponse)

func (*DescribeExistedInstancesResponse) FromJsonString

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

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

func (*DescribeExistedInstancesResponse) ToJsonString

func (r *DescribeExistedInstancesResponse) ToJsonString() string

type DescribeExistedInstancesResponseParams

type DescribeExistedInstancesResponseParams struct {
	// Array of existing instance information.
	// Note: This field may return null, indicating that no valid values can be obtained.
	ExistedInstanceSet []*ExistedInstance `json:"ExistedInstanceSet,omitempty" name:"ExistedInstanceSet"`

	// Number of instances that match the filter condition(s).
	TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeImagesRequest

type DescribeImagesRequest struct {
	*tchttp.BaseRequest
}

func NewDescribeImagesRequest

func NewDescribeImagesRequest() (request *DescribeImagesRequest)

func (*DescribeImagesRequest) FromJsonString

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

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

func (*DescribeImagesRequest) ToJsonString

func (r *DescribeImagesRequest) ToJsonString() string

type DescribeImagesRequestParams

type DescribeImagesRequestParams struct {
}

Predefined struct for user

type DescribeImagesResponse

type DescribeImagesResponse struct {
	*tchttp.BaseResponse
	Response *DescribeImagesResponseParams `json:"Response"`
}

func NewDescribeImagesResponse

func NewDescribeImagesResponse() (response *DescribeImagesResponse)

func (*DescribeImagesResponse) FromJsonString

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

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

func (*DescribeImagesResponse) ToJsonString

func (r *DescribeImagesResponse) ToJsonString() string

type DescribeImagesResponseParams

type DescribeImagesResponseParams struct {
	// Number of images
	// Note: this field may return null, indicating that no valid values can be obtained.
	TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

	// Image information list
	// Note: this field may return null, indicating that no valid values can be obtained.
	ImageInstanceSet []*ImageInstance `json:"ImageInstanceSet,omitempty" name:"ImageInstanceSet"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribePrometheusInstanceRequest

type DescribePrometheusInstanceRequest struct {
	*tchttp.BaseRequest

	// Instance ID
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`
}

func NewDescribePrometheusInstanceRequest

func NewDescribePrometheusInstanceRequest() (request *DescribePrometheusInstanceRequest)

func (*DescribePrometheusInstanceRequest) FromJsonString

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

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

func (*DescribePrometheusInstanceRequest) ToJsonString

func (r *DescribePrometheusInstanceRequest) ToJsonString() string

type DescribePrometheusInstanceRequestParams

type DescribePrometheusInstanceRequestParams struct {
	// Instance ID
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`
}

Predefined struct for user

type DescribePrometheusInstanceResponse

type DescribePrometheusInstanceResponse struct {
	*tchttp.BaseResponse
	Response *DescribePrometheusInstanceResponseParams `json:"Response"`
}

func NewDescribePrometheusInstanceResponse

func NewDescribePrometheusInstanceResponse() (response *DescribePrometheusInstanceResponse)

func (*DescribePrometheusInstanceResponse) FromJsonString

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

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

func (*DescribePrometheusInstanceResponse) ToJsonString

func (r *DescribePrometheusInstanceResponse) ToJsonString() string

type DescribePrometheusInstanceResponseParams

type DescribePrometheusInstanceResponseParams struct {
	// Instance ID
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`

	// Instance name
	Name *string `json:"Name,omitempty" name:"Name"`

	// VPC ID
	VpcId *string `json:"VpcId,omitempty" name:"VpcId"`

	// Subnet ID
	SubnetId *string `json:"SubnetId,omitempty" name:"SubnetId"`

	// COS bucket name
	COSBucket *string `json:"COSBucket,omitempty" name:"COSBucket"`

	// Data query address
	QueryAddress *string `json:"QueryAddress,omitempty" name:"QueryAddress"`

	// The grafana related information in the instance
	// Note: this field may return `null`, indicating that no valid value can be obtained.
	Grafana *PrometheusGrafanaInfo `json:"Grafana,omitempty" name:"Grafana"`

	// Custom alertmanager
	// Note: this field may return `null`, indicating that no valid value can be obtained.
	AlertManagerUrl *string `json:"AlertManagerUrl,omitempty" name:"AlertManagerUrl"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeRegionsRequest

type DescribeRegionsRequest struct {
	*tchttp.BaseRequest
}

func NewDescribeRegionsRequest

func NewDescribeRegionsRequest() (request *DescribeRegionsRequest)

func (*DescribeRegionsRequest) FromJsonString

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

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

func (*DescribeRegionsRequest) ToJsonString

func (r *DescribeRegionsRequest) ToJsonString() string

type DescribeRegionsRequestParams

type DescribeRegionsRequestParams struct {
}

Predefined struct for user

type DescribeRegionsResponse

type DescribeRegionsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeRegionsResponseParams `json:"Response"`
}

func NewDescribeRegionsResponse

func NewDescribeRegionsResponse() (response *DescribeRegionsResponse)

func (*DescribeRegionsResponse) FromJsonString

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

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

func (*DescribeRegionsResponse) ToJsonString

func (r *DescribeRegionsResponse) ToJsonString() string

type DescribeRegionsResponseParams

type DescribeRegionsResponseParams struct {
	// Number of regions
	// Note: this field may return null, indicating that no valid values can be obtained.
	TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

	// ## Region List
	// Note: this field may return null, indicating that no valid values can be obtained.
	RegionInstanceSet []*RegionInstance `json:"RegionInstanceSet,omitempty" name:"RegionInstanceSet"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeResourceUsageRequest

type DescribeResourceUsageRequest struct {
	*tchttp.BaseRequest

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

func NewDescribeResourceUsageRequest

func NewDescribeResourceUsageRequest() (request *DescribeResourceUsageRequest)

func (*DescribeResourceUsageRequest) FromJsonString

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

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

func (*DescribeResourceUsageRequest) ToJsonString

func (r *DescribeResourceUsageRequest) ToJsonString() string

type DescribeResourceUsageRequestParams

type DescribeResourceUsageRequestParams struct {
	// Cluster ID
	ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"`
}

Predefined struct for user

type DescribeResourceUsageResponse

type DescribeResourceUsageResponse struct {
	*tchttp.BaseResponse
	Response *DescribeResourceUsageResponseParams `json:"Response"`
}

func NewDescribeResourceUsageResponse

func NewDescribeResourceUsageResponse() (response *DescribeResourceUsageResponse)

func (*DescribeResourceUsageResponse) FromJsonString

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

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

func (*DescribeResourceUsageResponse) ToJsonString

func (r *DescribeResourceUsageResponse) ToJsonString() string

type DescribeResourceUsageResponseParams

type DescribeResourceUsageResponseParams struct {
	// CRD usage
	CRDUsage *ResourceUsage `json:"CRDUsage,omitempty" name:"CRDUsage"`

	// Pod usage
	PodUsage *uint64 `json:"PodUsage,omitempty" name:"PodUsage"`

	// ConfigMap usage
	ConfigMapUsage *uint64 `json:"ConfigMapUsage,omitempty" name:"ConfigMapUsage"`

	// Other resource usage
	OtherUsage *ResourceUsage `json:"OtherUsage,omitempty" name:"OtherUsage"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeRouteTableConflictsRequest

type DescribeRouteTableConflictsRequest struct {
	*tchttp.BaseRequest

	// Route table CIDR
	RouteTableCidrBlock *string `json:"RouteTableCidrBlock,omitempty" name:"RouteTableCidrBlock"`

	// VPC bound to the route table
	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 DescribeRouteTableConflictsRequestParams

type DescribeRouteTableConflictsRequestParams struct {
	// Route table CIDR
	RouteTableCidrBlock *string `json:"RouteTableCidrBlock,omitempty" name:"RouteTableCidrBlock"`

	// VPC bound to the route table
	VpcId *string `json:"VpcId,omitempty" name:"VpcId"`
}

Predefined struct for user

type DescribeRouteTableConflictsResponse

type DescribeRouteTableConflictsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeRouteTableConflictsResponseParams `json:"Response"`
}

func NewDescribeRouteTableConflictsResponse

func NewDescribeRouteTableConflictsResponse() (response *DescribeRouteTableConflictsResponse)

func (*DescribeRouteTableConflictsResponse) FromJsonString

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

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

func (*DescribeRouteTableConflictsResponse) ToJsonString

func (r *DescribeRouteTableConflictsResponse) ToJsonString() string

type DescribeRouteTableConflictsResponseParams

type DescribeRouteTableConflictsResponseParams struct {
	// Whether there is a conflict in the route table.
	HasConflict *bool `json:"HasConflict,omitempty" name:"HasConflict"`

	// Route table conflict list.
	// Note: This field may return null, indicating that no valid values can be obtained.
	RouteTableConflictSet []*RouteTableConflict `json:"RouteTableConflictSet,omitempty" name:"RouteTableConflictSet"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeTKEEdgeScriptRequest

type DescribeTKEEdgeScriptRequest struct {
	*tchttp.BaseRequest

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

	// ENI
	Interface *string `json:"Interface,omitempty" name:"Interface"`

	// Name of the name
	NodeName *string `json:"NodeName,omitempty" name:"NodeName"`

	// Node configuration in JSON format
	Config *string `json:"Config,omitempty" name:"Config"`
}

func NewDescribeTKEEdgeScriptRequest

func NewDescribeTKEEdgeScriptRequest() (request *DescribeTKEEdgeScriptRequest)

func (*DescribeTKEEdgeScriptRequest) FromJsonString

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

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

func (*DescribeTKEEdgeScriptRequest) ToJsonString

func (r *DescribeTKEEdgeScriptRequest) ToJsonString() string

type DescribeTKEEdgeScriptRequestParams

type DescribeTKEEdgeScriptRequestParams struct {
	// Cluster ID
	ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"`

	// ENI
	Interface *string `json:"Interface,omitempty" name:"Interface"`

	// Name of the name
	NodeName *string `json:"NodeName,omitempty" name:"NodeName"`

	// Node configuration in JSON format
	Config *string `json:"Config,omitempty" name:"Config"`
}

Predefined struct for user

type DescribeTKEEdgeScriptResponse

type DescribeTKEEdgeScriptResponse struct {
	*tchttp.BaseResponse
	Response *DescribeTKEEdgeScriptResponseParams `json:"Response"`
}

func NewDescribeTKEEdgeScriptResponse

func NewDescribeTKEEdgeScriptResponse() (response *DescribeTKEEdgeScriptResponse)

func (*DescribeTKEEdgeScriptResponse) FromJsonString

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

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

func (*DescribeTKEEdgeScriptResponse) ToJsonString

func (r *DescribeTKEEdgeScriptResponse) ToJsonString() string

type DescribeTKEEdgeScriptResponseParams

type DescribeTKEEdgeScriptResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeVersionsRequest

type DescribeVersionsRequest struct {
	*tchttp.BaseRequest
}

func NewDescribeVersionsRequest

func NewDescribeVersionsRequest() (request *DescribeVersionsRequest)

func (*DescribeVersionsRequest) FromJsonString

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

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

func (*DescribeVersionsRequest) ToJsonString

func (r *DescribeVersionsRequest) ToJsonString() string

type DescribeVersionsRequestParams

type DescribeVersionsRequestParams struct {
}

Predefined struct for user

type DescribeVersionsResponse

type DescribeVersionsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeVersionsResponseParams `json:"Response"`
}

func NewDescribeVersionsResponse

func NewDescribeVersionsResponse() (response *DescribeVersionsResponse)

func (*DescribeVersionsResponse) FromJsonString

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

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

func (*DescribeVersionsResponse) ToJsonString

func (r *DescribeVersionsResponse) ToJsonString() string

type DescribeVersionsResponseParams

type DescribeVersionsResponseParams struct {
	// Number of versions
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

	// Version list
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	VersionInstanceSet []*VersionInstance `json:"VersionInstanceSet,omitempty" name:"VersionInstanceSet"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeVpcCniPodLimitsRequest

type DescribeVpcCniPodLimitsRequest struct {
	*tchttp.BaseRequest

	// The availability zone of the model to query, for example, `ap-guangzhou-3`. This field is left empty by default, that is, do not filter by the availability zone.
	Zone *string `json:"Zone,omitempty" name:"Zone"`

	// The instance family to query, for example, `S5`. This field is left empty by default, that is, do not filter by the instance family.
	InstanceFamily *string `json:"InstanceFamily,omitempty" name:"InstanceFamily"`

	// The instance model to query, for example, `S5.LARGE8`. This field is empty by default, that is, do not filter by instance type.
	InstanceType *string `json:"InstanceType,omitempty" name:"InstanceType"`
}

func NewDescribeVpcCniPodLimitsRequest

func NewDescribeVpcCniPodLimitsRequest() (request *DescribeVpcCniPodLimitsRequest)

func (*DescribeVpcCniPodLimitsRequest) FromJsonString

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

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

func (*DescribeVpcCniPodLimitsRequest) ToJsonString

func (r *DescribeVpcCniPodLimitsRequest) ToJsonString() string

type DescribeVpcCniPodLimitsRequestParams

type DescribeVpcCniPodLimitsRequestParams struct {
	// The availability zone of the model to query, for example, `ap-guangzhou-3`. This field is left empty by default, that is, do not filter by the availability zone.
	Zone *string `json:"Zone,omitempty" name:"Zone"`

	// The instance family to query, for example, `S5`. This field is left empty by default, that is, do not filter by the instance family.
	InstanceFamily *string `json:"InstanceFamily,omitempty" name:"InstanceFamily"`

	// The instance model to query, for example, `S5.LARGE8`. This field is empty by default, that is, do not filter by instance type.
	InstanceType *string `json:"InstanceType,omitempty" name:"InstanceType"`
}

Predefined struct for user

type DescribeVpcCniPodLimitsResponse

type DescribeVpcCniPodLimitsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeVpcCniPodLimitsResponseParams `json:"Response"`
}

func NewDescribeVpcCniPodLimitsResponse

func NewDescribeVpcCniPodLimitsResponse() (response *DescribeVpcCniPodLimitsResponse)

func (*DescribeVpcCniPodLimitsResponse) FromJsonString

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

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

func (*DescribeVpcCniPodLimitsResponse) ToJsonString

func (r *DescribeVpcCniPodLimitsResponse) ToJsonString() string

type DescribeVpcCniPodLimitsResponseParams

type DescribeVpcCniPodLimitsResponseParams struct {
	// The number of the models
	// Note: this field may return `null`, indicating that no valid value can be obtained.
	TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"`

	// The model information and the maximum supported number of Pods in the VPC-CNI mode
	// Note: this field may return `null`, indicating that no valid value can be obtained.
	PodLimitsInstanceSet []*PodLimitsInstance `json:"PodLimitsInstanceSet,omitempty" name:"PodLimitsInstanceSet"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DisableClusterDeletionProtectionRequest

type DisableClusterDeletionProtectionRequest struct {
	*tchttp.BaseRequest

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

func NewDisableClusterDeletionProtectionRequest

func NewDisableClusterDeletionProtectionRequest() (request *DisableClusterDeletionProtectionRequest)

func (*DisableClusterDeletionProtectionRequest) FromJsonString

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

func (*DisableClusterDeletionProtectionRequest) ToJsonString

type DisableClusterDeletionProtectionRequestParams

type DisableClusterDeletionProtectionRequestParams struct {
	// Cluster ID
	ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"`
}

Predefined struct for user

type DisableClusterDeletionProtectionResponse

type DisableClusterDeletionProtectionResponse struct {
	*tchttp.BaseResponse
	Response *DisableClusterDeletionProtectionResponseParams `json:"Response"`
}

func NewDisableClusterDeletionProtectionResponse

func NewDisableClusterDeletionProtectionResponse() (response *DisableClusterDeletionProtectionResponse)

func (*DisableClusterDeletionProtectionResponse) FromJsonString

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

func (*DisableClusterDeletionProtectionResponse) ToJsonString

type DisableClusterDeletionProtectionResponseParams

type DisableClusterDeletionProtectionResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type EnableClusterDeletionProtectionRequest

type EnableClusterDeletionProtectionRequest struct {
	*tchttp.BaseRequest

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

func NewEnableClusterDeletionProtectionRequest

func NewEnableClusterDeletionProtectionRequest() (request *EnableClusterDeletionProtectionRequest)

func (*EnableClusterDeletionProtectionRequest) FromJsonString

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

func (*EnableClusterDeletionProtectionRequest) ToJsonString

type EnableClusterDeletionProtectionRequestParams

type EnableClusterDeletionProtectionRequestParams struct {
	// Cluster ID
	ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"`
}

Predefined struct for user

type EnableClusterDeletionProtectionResponse

type EnableClusterDeletionProtectionResponse struct {
	*tchttp.BaseResponse
	Response *EnableClusterDeletionProtectionResponseParams `json:"Response"`
}

func NewEnableClusterDeletionProtectionResponse

func NewEnableClusterDeletionProtectionResponse() (response *EnableClusterDeletionProtectionResponse)

func (*EnableClusterDeletionProtectionResponse) FromJsonString

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

func (*EnableClusterDeletionProtectionResponse) ToJsonString

type EnableClusterDeletionProtectionResponseParams

type EnableClusterDeletionProtectionResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type EnableVpcCniNetworkTypeRequest

type EnableVpcCniNetworkTypeRequest struct {
	*tchttp.BaseRequest

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

	// The VPC-CNI mode. `tke-route-eni`: Multi-IP ENI, `tke-direct-eni`: Independent ENI
	VpcCniType *string `json:"VpcCniType,omitempty" name:"VpcCniType"`

	// Whether to enable static IP address
	EnableStaticIp *bool `json:"EnableStaticIp,omitempty" name:"EnableStaticIp"`

	// The container subnet being used
	Subnets []*string `json:"Subnets,omitempty" name:"Subnets"`

	// Specifies when to release the IP after the Pod termination in static IP mode. It must be longer than 300 seconds. If this parameter is left empty, the IP address will never be released.
	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 EnableVpcCniNetworkTypeRequestParams

type EnableVpcCniNetworkTypeRequestParams struct {
	// Cluster ID
	ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"`

	// The VPC-CNI mode. `tke-route-eni`: Multi-IP ENI, `tke-direct-eni`: Independent ENI
	VpcCniType *string `json:"VpcCniType,omitempty" name:"VpcCniType"`

	// Whether to enable static IP address
	EnableStaticIp *bool `json:"EnableStaticIp,omitempty" name:"EnableStaticIp"`

	// The container subnet being used
	Subnets []*string `json:"Subnets,omitempty" name:"Subnets"`

	// Specifies when to release the IP after the Pod termination in static IP mode. It must be longer than 300 seconds. If this parameter is left empty, the IP address will never be released.
	ExpiredSeconds *uint64 `json:"ExpiredSeconds,omitempty" name:"ExpiredSeconds"`
}

Predefined struct for user

type EnableVpcCniNetworkTypeResponse

type EnableVpcCniNetworkTypeResponse struct {
	*tchttp.BaseResponse
	Response *EnableVpcCniNetworkTypeResponseParams `json:"Response"`
}

func NewEnableVpcCniNetworkTypeResponse

func NewEnableVpcCniNetworkTypeResponse() (response *EnableVpcCniNetworkTypeResponse)

func (*EnableVpcCniNetworkTypeResponse) FromJsonString

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

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

func (*EnableVpcCniNetworkTypeResponse) ToJsonString

func (r *EnableVpcCniNetworkTypeResponse) ToJsonString() string

type EnableVpcCniNetworkTypeResponseParams

type EnableVpcCniNetworkTypeResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type EnhancedService

type EnhancedService struct {
	// Enables cloud security service. If this parameter is not specified, the cloud security service will be enabled by default.
	SecurityService *RunSecurityServiceEnabled `json:"SecurityService,omitempty" name:"SecurityService"`

	// Enables cloud monitor service. If this parameter is not specified, the cloud monitor service will be enabled by default.
	MonitorService *RunMonitorServiceEnabled `json:"MonitorService,omitempty" name:"MonitorService"`

	// Enables the TAT service. If this parameter is not specified, the TAT service will not be enabled.
	AutomationService *RunAutomationServiceEnabled `json:"AutomationService,omitempty" name:"AutomationService"`
}

type ExistedInstance

type ExistedInstance struct {
	// Whether the instance supports being added to the cluster (TRUE: support; FALSE: not support).
	// Note: This field may return null, indicating that no valid values can be obtained.
	Usable *bool `json:"Usable,omitempty" name:"Usable"`

	// Reason that the instance does not support being added.
	// Note: This field may return null, indicating that no valid values can be obtained.
	UnusableReason *string `json:"UnusableReason,omitempty" name:"UnusableReason"`

	// ID of the cluster in which the instance currently resides.
	// Note: This field may return null, indicating that no valid values can be obtained.
	AlreadyInCluster *string `json:"AlreadyInCluster,omitempty" name:"AlreadyInCluster"`

	// Instance ID, in the format of ins-xxxxxxxx.
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`

	// Instance name.
	// Note: This field may return null, indicating that no valid values can be obtained.
	InstanceName *string `json:"InstanceName,omitempty" name:"InstanceName"`

	// List of private IPs of the instance's primary ENI.
	// Note: This field may return null, indicating that no valid values can be obtained.
	PrivateIpAddresses []*string `json:"PrivateIpAddresses,omitempty" name:"PrivateIpAddresses"`

	// List of public IPs of the instance's primary ENI.
	// Note: This field may return null, indicating that no valid values can be obtained.
	PublicIpAddresses []*string `json:"PublicIpAddresses,omitempty" name:"PublicIpAddresses"`

	// Creation time, which follows the ISO8601 standard and uses UTC time. Format: YYYY-MM-DDThh:mm:ssZ.
	// Note: This field may return null, indicating that no valid values can be obtained.
	CreatedTime *string `json:"CreatedTime,omitempty" name:"CreatedTime"`

	// Instance's number of CPU cores. Unit: cores.
	// Note: This field may return null, indicating that no valid values can be obtained.
	CPU *uint64 `json:"CPU,omitempty" name:"CPU"`

	// Instance's memory capacity. Unit: GB.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Memory *uint64 `json:"Memory,omitempty" name:"Memory"`

	// Operating system name.
	// Note: This field may return null, indicating that no valid values can be obtained.
	OsName *string `json:"OsName,omitempty" name:"OsName"`

	// Instance model.
	// Note: This field may return null, indicating that no valid values can be obtained.
	InstanceType *string `json:"InstanceType,omitempty" name:"InstanceType"`

	// Auto scaling group ID
	// Note: This field may return null, indicating that no valid value was found.
	AutoscalingGroupId *string `json:"AutoscalingGroupId,omitempty" name:"AutoscalingGroupId"`

	// Instance billing method. Valid values: POSTPAID_BY_HOUR (pay-as-you-go hourly); CDHPAID (billed based on CDH, i.e., only CDH is billed but not the instances on CDH)
	// Note: This field may return null, indicating that no valid value was found.
	InstanceChargeType *string `json:"InstanceChargeType,omitempty" name:"InstanceChargeType"`
}

type ExistedInstancesForNode

type ExistedInstancesForNode struct {
	// Node role. Values: MASTER_ETCD, WORKER. You only need to specify MASTER_ETCD when creating a self-deployed cluster (INDEPENDENT_CLUSTER).
	NodeRole *string `json:"NodeRole,omitempty" name:"NodeRole"`

	// Reinstallation parameter of existing instances
	ExistedInstancesPara *ExistedInstancesPara `json:"ExistedInstancesPara,omitempty" name:"ExistedInstancesPara"`

	// Advanced node setting, which overrides the InstanceAdvancedSettings item set at the cluster level (currently valid for the ExtraArgs node custom parameter only)
	InstanceAdvancedSettingsOverride *InstanceAdvancedSettings `json:"InstanceAdvancedSettingsOverride,omitempty" name:"InstanceAdvancedSettingsOverride"`

	// When the custom PodCIDR mode is enabled for the cluster, you can specify the maximum number of pods per node.
	DesiredPodNumbers []*int64 `json:"DesiredPodNumbers,omitempty" name:"DesiredPodNumbers"`
}

type ExistedInstancesPara

type ExistedInstancesPara struct {
	// Cluster ID
	InstanceIds []*string `json:"InstanceIds,omitempty" name:"InstanceIds"`

	// Additional parameter to be set for the instance
	InstanceAdvancedSettings *InstanceAdvancedSettings `json:"InstanceAdvancedSettings,omitempty" name:"InstanceAdvancedSettings"`

	// Enhanced services. This parameter is used to specify whether to enable Cloud Security, Cloud Monitor and other services. If this parameter is not specified, Cloud Monitor and Cloud Security are enabled by default.
	EnhancedService *EnhancedService `json:"EnhancedService,omitempty" name:"EnhancedService"`

	// Node login information (currently only supports using Password or single KeyIds)
	LoginSettings *LoginSettings `json:"LoginSettings,omitempty" name:"LoginSettings"`

	// Security group to which the instance belongs. This parameter can be obtained from the sgId field in the returned values of DescribeSecurityGroups. If this parameter is not specified, the default security group is bound. (Currently, you can only set a single sgId)
	SecurityGroupIds []*string `json:"SecurityGroupIds,omitempty" name:"SecurityGroupIds"`

	// When reinstalling the system, you can specify the HostName of the modified instance (when the cluster is in HostName mode, this parameter is required, and the rule name is the same as the [Create CVM Instance](https://intl.cloud.tencent.com/document/product/213/15730?from_cn_redirect=1) API HostName except for uppercase letters not being supported.
	HostName *string `json:"HostName,omitempty" name:"HostName"`
}

type ExtensionAddon

type ExtensionAddon struct {
	// Add-on name
	AddonName *string `json:"AddonName,omitempty" name:"AddonName"`

	// Add-on information (description of the add-on resource object in JSON string format)
	AddonParam *string `json:"AddonParam,omitempty" name:"AddonParam"`
}

type Filter

type Filter struct {
	// Filters.
	Name *string `json:"Name,omitempty" name:"Name"`

	// Filter values.
	Values []*string `json:"Values,omitempty" name:"Values"`
}

type GetClusterLevelPriceRequest

type GetClusterLevelPriceRequest struct {
	*tchttp.BaseRequest

	// The cluster model. It’s used for price query.
	ClusterLevel *string `json:"ClusterLevel,omitempty" name:"ClusterLevel"`
}

func NewGetClusterLevelPriceRequest

func NewGetClusterLevelPriceRequest() (request *GetClusterLevelPriceRequest)

func (*GetClusterLevelPriceRequest) FromJsonString

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

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

func (*GetClusterLevelPriceRequest) ToJsonString

func (r *GetClusterLevelPriceRequest) ToJsonString() string

type GetClusterLevelPriceRequestParams

type GetClusterLevelPriceRequestParams struct {
	// The cluster model. It’s used for price query.
	ClusterLevel *string `json:"ClusterLevel,omitempty" name:"ClusterLevel"`
}

Predefined struct for user

type GetClusterLevelPriceResponse

type GetClusterLevelPriceResponse struct {
	*tchttp.BaseResponse
	Response *GetClusterLevelPriceResponseParams `json:"Response"`
}

func NewGetClusterLevelPriceResponse

func NewGetClusterLevelPriceResponse() (response *GetClusterLevelPriceResponse)

func (*GetClusterLevelPriceResponse) FromJsonString

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

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

func (*GetClusterLevelPriceResponse) ToJsonString

func (r *GetClusterLevelPriceResponse) ToJsonString() string

type GetClusterLevelPriceResponseParams

type GetClusterLevelPriceResponseParams struct {
	// Discount price (unit: US cent)
	Cost *uint64 `json:"Cost,omitempty" name:"Cost"`

	// Original price (unit: US cent)
	TotalCost *uint64 `json:"TotalCost,omitempty" name:"TotalCost"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type GetUpgradeInstanceProgressRequest

type GetUpgradeInstanceProgressRequest struct {
	*tchttp.BaseRequest

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

	// Maximum number of nodes to be queried
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`

	// The starting node for the query
	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 GetUpgradeInstanceProgressRequestParams

type GetUpgradeInstanceProgressRequestParams struct {
	// Cluster ID
	ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"`

	// Maximum number of nodes to be queried
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`

	// The starting node for the query
	Offset *int64 `json:"Offset,omitempty" name:"Offset"`
}

Predefined struct for user

type GetUpgradeInstanceProgressResponse

type GetUpgradeInstanceProgressResponse struct {
	*tchttp.BaseResponse
	Response *GetUpgradeInstanceProgressResponseParams `json:"Response"`
}

func NewGetUpgradeInstanceProgressResponse

func NewGetUpgradeInstanceProgressResponse() (response *GetUpgradeInstanceProgressResponse)

func (*GetUpgradeInstanceProgressResponse) FromJsonString

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

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

func (*GetUpgradeInstanceProgressResponse) ToJsonString

func (r *GetUpgradeInstanceProgressResponse) ToJsonString() string

type GetUpgradeInstanceProgressResponseParams

type GetUpgradeInstanceProgressResponseParams struct {
	// Total nodes to upgrade
	Total *int64 `json:"Total,omitempty" name:"Total"`

	// Total upgraded nodes
	Done *int64 `json:"Done,omitempty" name:"Done"`

	// The lifecycle of the upgrade task
	// process: running
	// paused: stopped
	// pausing: stopping
	// done: completed
	// timeout: timed out
	// aborted: canceled
	LifeState *string `json:"LifeState,omitempty" name:"LifeState"`

	// Details of upgrade progress of each node
	Instances []*InstanceUpgradeProgressItem `json:"Instances,omitempty" name:"Instances"`

	// Current cluster status
	ClusterStatus *InstanceUpgradeClusterStatus `json:"ClusterStatus,omitempty" name:"ClusterStatus"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type ImageInstance

type ImageInstance struct {
	// Image alias
	// Note: this field may return null, indicating that no valid values can be obtained.
	Alias *string `json:"Alias,omitempty" name:"Alias"`

	// Operating system name
	// Note: this field may return null, indicating that no valid values can be obtained.
	OsName *string `json:"OsName,omitempty" name:"OsName"`

	// Image ID
	// Note: this field may return null, indicating that no valid values can be obtained.
	ImageId *string `json:"ImageId,omitempty" name:"ImageId"`

	// Container image tag, **DOCKER_CUSTOMIZE** (container customized tag), **GENERAL** (general tag, default value)
	// Note: this field may return null, indicating that no valid values can be obtained.
	OsCustomizeType *string `json:"OsCustomizeType,omitempty" name:"OsCustomizeType"`
}

type Instance

type Instance struct {
	// Instance ID
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`

	// Node role: MASTER, WORKER, ETCD, MASTER_ETCD, and ALL. Default value: WORKER
	InstanceRole *string `json:"InstanceRole,omitempty" name:"InstanceRole"`

	// Reason for instance exception (or initialization)
	FailedReason *string `json:"FailedReason,omitempty" name:"FailedReason"`

	// Instance status (running, initializing, or failed)
	InstanceState *string `json:"InstanceState,omitempty" name:"InstanceState"`

	// Whether the instance is drained
	// Note: this field may return null, indicating that no valid value is obtained.
	DrainStatus *string `json:"DrainStatus,omitempty" name:"DrainStatus"`

	// Node settings
	// Note: this field may return null, indicating that no valid value is obtained.
	InstanceAdvancedSettings *InstanceAdvancedSettings `json:"InstanceAdvancedSettings,omitempty" name:"InstanceAdvancedSettings"`

	// Creation time
	CreatedTime *string `json:"CreatedTime,omitempty" name:"CreatedTime"`

	// Node private IP
	// Note: this field may return null, indicating that no valid values can be obtained.
	LanIP *string `json:"LanIP,omitempty" name:"LanIP"`

	// Resource pool ID
	// Note: this field may return null, indicating that no valid values can be obtained.
	NodePoolId *string `json:"NodePoolId,omitempty" name:"NodePoolId"`

	// ID of the auto-scaling group
	// Note: this field may return null, indicating that no valid value is obtained.
	AutoscalingGroupId *string `json:"AutoscalingGroupId,omitempty" name:"AutoscalingGroupId"`
}

type InstanceAdvancedSettings

type InstanceAdvancedSettings struct {
	// Data disk mount point. By default, no data disk is mounted. Data disks in ext3, ext4, or XFS file system formats will be mounted directly, while data disks in other file systems and unformatted data disks will automatically be formatted as ext4 (xfs for tlinux system) and then mounted. Please back up your data in advance. This setting is only applicable to CVMs with a single data disk.
	// Note: in multi-disk scenarios, use the DataDisks data structure below to set the corresponding information, such as cloud disk type, cloud disk size, mount path, and whether to perform formatting.
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	MountTarget *string `json:"MountTarget,omitempty" name:"MountTarget"`

	// Specified value of dockerd --graph. Default value: /var/lib/docker
	// Note: This field may return null, indicating that no valid value was found.
	DockerGraphPath *string `json:"DockerGraphPath,omitempty" name:"DockerGraphPath"`

	// Base64-encoded user script, which will be executed after the K8s component starts running. You need to ensure the reentrant and retry logic of the script. The script and its log files can be viewed at the node path: /data/ccs_userscript/. If you want to initialize nodes before adding them to the scheduling list, you can use this parameter together with the unschedulable parameter. After the final initialization of userScript is completed, add the kubectl uncordon nodename --kubeconfig=/root/.kube/config command to enable the node for scheduling.
	// Note: This field may return null, indicating that no valid value was found.
	UserScript *string `json:"UserScript,omitempty" name:"UserScript"`

	// Sets whether the added node is schedulable. 0 (default): schedulable; other values: unschedulable. After node initialization is completed, you can run kubectl uncordon nodename to enable this node for scheduling.
	Unschedulable *int64 `json:"Unschedulable,omitempty" name:"Unschedulable"`

	// Node label array
	// Note: This field may return null, indicating that no valid value was found.
	Labels []*Label `json:"Labels,omitempty" name:"Labels"`

	// Mounting information of multiple data disks. When you create a node, ensure that the CVM purchase parameter specifies the information required for the purchase of multiple data disks. For example, the `DataDisks` under `RunInstancesPara` of the `CreateClusterInstances` API should be configured accordingly (Referto document of CreateClusterInstances API). When you add an existing node, ensure that the specified partition exists in the node.
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	DataDisks []*DataDisk `json:"DataDisks,omitempty" name:"DataDisks"`

	// Information about node custom parameters
	// Note: This field may return null, indicating that no valid value was found.
	ExtraArgs *InstanceExtraArgs `json:"ExtraArgs,omitempty" name:"ExtraArgs"`

	// When the custom PodCIDR mode is enabled for the cluster, you can specify the maximum number of pods per node.
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	DesiredPodNumber *int64 `json:"DesiredPodNumber,omitempty" name:"DesiredPodNumber"`

	// Specifies the base64-encoded custom script to be executed before initialization of the node. It’s only valid for adding existing nodes for now.
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	PreStartUserScript *string `json:"PreStartUserScript,omitempty" name:"PreStartUserScript"`

	// Node taint
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	Taints []*Taint `json:"Taints,omitempty" name:"Taints"`
}

type InstanceDataDiskMountSetting

type InstanceDataDiskMountSetting struct {
	// CVM instance type
	InstanceType *string `json:"InstanceType,omitempty" name:"InstanceType"`

	// Data disk mounting information
	DataDisks []*DataDisk `json:"DataDisks,omitempty" name:"DataDisks"`

	// Availability zone where the CVM instance is located
	Zone *string `json:"Zone,omitempty" name:"Zone"`
}

type InstanceExtraArgs

type InstanceExtraArgs struct {
	// Kubelet custom parameter, in the format of ["k1=v1", "k1=v2"], for example: ["root-dir=/var/lib/kubelet","feature-gates=PodShareProcessNamespace=true,DynamicKubeletConfig=true"].
	// Note: this field may return `null`, indicating that no valid value is obtained.
	Kubelet []*string `json:"Kubelet,omitempty" name:"Kubelet"`
}

type InstanceUpgradeClusterStatus

type InstanceUpgradeClusterStatus struct {
	// Total Pods
	PodTotal *int64 `json:"PodTotal,omitempty" name:"PodTotal"`

	// Total number of NotReady Pods
	NotReadyPod *int64 `json:"NotReadyPod,omitempty" name:"NotReadyPod"`
}

type InstanceUpgradePreCheckResult

type InstanceUpgradePreCheckResult struct {
	// Whether the check is passed
	CheckPass *bool `json:"CheckPass,omitempty" name:"CheckPass"`

	// Array of check items
	Items []*InstanceUpgradePreCheckResultItem `json:"Items,omitempty" name:"Items"`

	// List of independent pods on this node
	SinglePods []*string `json:"SinglePods,omitempty" name:"SinglePods"`
}

type InstanceUpgradePreCheckResultItem

type InstanceUpgradePreCheckResultItem struct {
	// The namespace of the workload
	Namespace *string `json:"Namespace,omitempty" name:"Namespace"`

	// Workload type
	WorkLoadKind *string `json:"WorkLoadKind,omitempty" name:"WorkLoadKind"`

	// Workload name
	WorkLoadName *string `json:"WorkLoadName,omitempty" name:"WorkLoadName"`

	// The number of running pods in the workload before draining the node
	Before *uint64 `json:"Before,omitempty" name:"Before"`

	// The number of running pods in the workload after draining the node
	After *uint64 `json:"After,omitempty" name:"After"`

	// The pod list of the workload on this node
	Pods []*string `json:"Pods,omitempty" name:"Pods"`
}

type InstanceUpgradeProgressItem

type InstanceUpgradeProgressItem struct {
	// Node instance ID
	InstanceID *string `json:"InstanceID,omitempty" name:"InstanceID"`

	// Task lifecycle
	// process: running
	// paused: stopped
	// pausing: stopping
	// done: completed
	// timeout: timed out
	// aborted: canceled
	// pending: not started
	LifeState *string `json:"LifeState,omitempty" name:"LifeState"`

	// Upgrade start time
	// Note: this field may return `null`, indicating that no valid value is obtained.
	StartAt *string `json:"StartAt,omitempty" name:"StartAt"`

	// Upgrade end time
	// Note: this field may return `null`, indicating that no valid value is obtained.
	EndAt *string `json:"EndAt,omitempty" name:"EndAt"`

	// Check result before upgrading
	CheckResult *InstanceUpgradePreCheckResult `json:"CheckResult,omitempty" name:"CheckResult"`

	// Upgrade steps details
	Detail []*TaskStepInfo `json:"Detail,omitempty" name:"Detail"`
}

type Label

type Label struct {
	// Name in map list
	Name *string `json:"Name,omitempty" name:"Name"`

	// Value in map list
	Value *string `json:"Value,omitempty" name:"Value"`
}

type LoginSettings

type LoginSettings struct {
	// Login password of the instance. <br><li>For Linux instances, the password must include 8-30 characters, and contain at least two of the following character sets: [a-z], [A-Z], [0-9] and [()\`~!@#$%^&*-+=|{}[]:;',.?/]. <br><li>For Windows instances, the password must include 12-30 characters, and contain at least three of the following character sets: [a-z], [A-Z], [0-9] and [()\`~!@#$%^&*-+=|{}[]:;',.?/]. <br><br>If it's not specified, the user needs to set the login password using the **Reset password** option in the CVM console or calling the API `ResetInstancesPassword` to complete the creation of the CVM instance(s).
	// Note: This field may return `null`, indicating that no valid values can be obtained.
	Password *string `json:"Password,omitempty" name:"Password"`

	// List of key IDs. After an instance is associated with a key, you can access the instance with the private key in the key pair. You can call [`DescribeKeyPairs`](https://intl.cloud.tencent.com/document/api/213/15699?from_cn_redirect=1) to obtain `KeyId`. A key and password cannot be specified at the same time. Windows instances do not support keys. Currently, you can only specify one key when purchasing an instance.
	// Note: this field may return null, indicating that no valid value is obtained.
	KeyIds []*string `json:"KeyIds,omitempty" name:"KeyIds"`

	// Whether to keep the original settings of an image. You cannot specify this parameter and `Password` or `KeyIds.N` at the same time. You can specify this parameter as `TRUE` only when you create an instance using a custom image, a shared image, or an imported image. Valid values: <br><li>TRUE: keep the login settings of the image <br><li>FALSE: do not keep the login settings of the image <br><br>Default value: FALSE.
	// Note: This field may return null, indicating that no valid value is found.
	KeepImageLogin *string `json:"KeepImageLogin,omitempty" name:"KeepImageLogin"`
}

type ManuallyAdded

type ManuallyAdded struct {
	// Number of nodes that are being added
	Joining *int64 `json:"Joining,omitempty" name:"Joining"`

	// Number of nodes that are being initialized
	Initializing *int64 `json:"Initializing,omitempty" name:"Initializing"`

	// Number of normal nodes
	Normal *int64 `json:"Normal,omitempty" name:"Normal"`

	// Total number of nodes
	Total *int64 `json:"Total,omitempty" name:"Total"`
}

type ModifyClusterAsGroupAttributeRequest

type ModifyClusterAsGroupAttributeRequest struct {
	*tchttp.BaseRequest

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

	// Cluster-associated scaling group attributes
	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 ModifyClusterAsGroupAttributeRequestParams

type ModifyClusterAsGroupAttributeRequestParams struct {
	// Cluster ID
	ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"`

	// Cluster-associated scaling group attributes
	ClusterAsGroupAttribute *ClusterAsGroupAttribute `json:"ClusterAsGroupAttribute,omitempty" name:"ClusterAsGroupAttribute"`
}

Predefined struct for user

type ModifyClusterAsGroupAttributeResponse

type ModifyClusterAsGroupAttributeResponse struct {
	*tchttp.BaseResponse
	Response *ModifyClusterAsGroupAttributeResponseParams `json:"Response"`
}

func NewModifyClusterAsGroupAttributeResponse

func NewModifyClusterAsGroupAttributeResponse() (response *ModifyClusterAsGroupAttributeResponse)

func (*ModifyClusterAsGroupAttributeResponse) FromJsonString

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

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

func (*ModifyClusterAsGroupAttributeResponse) ToJsonString

type ModifyClusterAsGroupAttributeResponseParams

type ModifyClusterAsGroupAttributeResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyClusterAsGroupOptionAttributeRequest

type ModifyClusterAsGroupOptionAttributeRequest struct {
	*tchttp.BaseRequest

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

	// Cluster auto scaling attributes
	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 ModifyClusterAsGroupOptionAttributeRequestParams

type ModifyClusterAsGroupOptionAttributeRequestParams struct {
	// Cluster ID
	ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"`

	// Cluster auto scaling attributes
	ClusterAsGroupOption *ClusterAsGroupOption `json:"ClusterAsGroupOption,omitempty" name:"ClusterAsGroupOption"`
}

Predefined struct for user

type ModifyClusterAsGroupOptionAttributeResponse

type ModifyClusterAsGroupOptionAttributeResponse struct {
	*tchttp.BaseResponse
	Response *ModifyClusterAsGroupOptionAttributeResponseParams `json:"Response"`
}

func NewModifyClusterAsGroupOptionAttributeResponse

func NewModifyClusterAsGroupOptionAttributeResponse() (response *ModifyClusterAsGroupOptionAttributeResponse)

func (*ModifyClusterAsGroupOptionAttributeResponse) FromJsonString

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

func (*ModifyClusterAsGroupOptionAttributeResponse) ToJsonString

type ModifyClusterAsGroupOptionAttributeResponseParams

type ModifyClusterAsGroupOptionAttributeResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyClusterAttributeRequest

type ModifyClusterAttributeRequest struct {
	*tchttp.BaseRequest

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

	// Project of the Cluster
	ProjectId *int64 `json:"ProjectId,omitempty" name:"ProjectId"`

	// Cluster name
	ClusterName *string `json:"ClusterName,omitempty" name:"ClusterName"`

	// Cluster description
	ClusterDesc *string `json:"ClusterDesc,omitempty" name:"ClusterDesc"`

	// Cluster specification
	ClusterLevel *string `json:"ClusterLevel,omitempty" name:"ClusterLevel"`

	// Auto-upgrades cluster specification
	AutoUpgradeClusterLevel *AutoUpgradeClusterLevel `json:"AutoUpgradeClusterLevel,omitempty" name:"AutoUpgradeClusterLevel"`
}

func NewModifyClusterAttributeRequest

func NewModifyClusterAttributeRequest() (request *ModifyClusterAttributeRequest)

func (*ModifyClusterAttributeRequest) FromJsonString

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

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

func (*ModifyClusterAttributeRequest) ToJsonString

func (r *ModifyClusterAttributeRequest) ToJsonString() string

type ModifyClusterAttributeRequestParams

type ModifyClusterAttributeRequestParams struct {
	// Cluster ID
	ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"`

	// Project of the Cluster
	ProjectId *int64 `json:"ProjectId,omitempty" name:"ProjectId"`

	// Cluster name
	ClusterName *string `json:"ClusterName,omitempty" name:"ClusterName"`

	// Cluster description
	ClusterDesc *string `json:"ClusterDesc,omitempty" name:"ClusterDesc"`

	// Cluster specification
	ClusterLevel *string `json:"ClusterLevel,omitempty" name:"ClusterLevel"`

	// Auto-upgrades cluster specification
	AutoUpgradeClusterLevel *AutoUpgradeClusterLevel `json:"AutoUpgradeClusterLevel,omitempty" name:"AutoUpgradeClusterLevel"`
}

Predefined struct for user

type ModifyClusterAttributeResponse

type ModifyClusterAttributeResponse struct {
	*tchttp.BaseResponse
	Response *ModifyClusterAttributeResponseParams `json:"Response"`
}

func NewModifyClusterAttributeResponse

func NewModifyClusterAttributeResponse() (response *ModifyClusterAttributeResponse)

func (*ModifyClusterAttributeResponse) FromJsonString

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

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

func (*ModifyClusterAttributeResponse) ToJsonString

func (r *ModifyClusterAttributeResponse) ToJsonString() string

type ModifyClusterAttributeResponseParams

type ModifyClusterAttributeResponseParams struct {
	// Project of the Cluster
	// Note: this field may return null, indicating that no valid values can be obtained.
	ProjectId *int64 `json:"ProjectId,omitempty" name:"ProjectId"`

	// Cluster name
	// Note: this field may return null, indicating that no valid values can be obtained.
	ClusterName *string `json:"ClusterName,omitempty" name:"ClusterName"`

	// Cluster description
	// Note: this field may return null, indicating that no valid values can be obtained.
	ClusterDesc *string `json:"ClusterDesc,omitempty" name:"ClusterDesc"`

	// Cluster specification
	// Note: This field may return `null`, indicating that no valid values can be obtained.
	ClusterLevel *string `json:"ClusterLevel,omitempty" name:"ClusterLevel"`

	// Auto-upgrades cluster specification
	// Note: This field may return `null`, indicating that no valid values can be obtained.
	AutoUpgradeClusterLevel *AutoUpgradeClusterLevel `json:"AutoUpgradeClusterLevel,omitempty" name:"AutoUpgradeClusterLevel"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyClusterAuthenticationOptionsRequest

type ModifyClusterAuthenticationOptionsRequest struct {
	*tchttp.BaseRequest

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

	// ServiceAccount authentication configuration
	ServiceAccounts *ServiceAccountAuthenticationOptions `json:"ServiceAccounts,omitempty" name:"ServiceAccounts"`
}

func NewModifyClusterAuthenticationOptionsRequest

func NewModifyClusterAuthenticationOptionsRequest() (request *ModifyClusterAuthenticationOptionsRequest)

func (*ModifyClusterAuthenticationOptionsRequest) FromJsonString

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

func (*ModifyClusterAuthenticationOptionsRequest) ToJsonString

type ModifyClusterAuthenticationOptionsRequestParams

type ModifyClusterAuthenticationOptionsRequestParams struct {
	// Cluster ID
	ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"`

	// ServiceAccount authentication configuration
	ServiceAccounts *ServiceAccountAuthenticationOptions `json:"ServiceAccounts,omitempty" name:"ServiceAccounts"`
}

Predefined struct for user

type ModifyClusterAuthenticationOptionsResponse

type ModifyClusterAuthenticationOptionsResponse struct {
	*tchttp.BaseResponse
	Response *ModifyClusterAuthenticationOptionsResponseParams `json:"Response"`
}

func NewModifyClusterAuthenticationOptionsResponse

func NewModifyClusterAuthenticationOptionsResponse() (response *ModifyClusterAuthenticationOptionsResponse)

func (*ModifyClusterAuthenticationOptionsResponse) FromJsonString

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

func (*ModifyClusterAuthenticationOptionsResponse) ToJsonString

type ModifyClusterAuthenticationOptionsResponseParams

type ModifyClusterAuthenticationOptionsResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyClusterEndpointSPRequest

type ModifyClusterEndpointSPRequest struct {
	*tchttp.BaseRequest

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

	// Security policy opens single IP or CIDR block to the Internet (for example: '192.168.1.0/24', with 'reject all' as the default).
	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 ModifyClusterEndpointSPRequestParams

type ModifyClusterEndpointSPRequestParams struct {
	// Cluster ID
	ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"`

	// Security policy opens single IP or CIDR block to the Internet (for example: '192.168.1.0/24', with 'reject all' as the default).
	SecurityPolicies []*string `json:"SecurityPolicies,omitempty" name:"SecurityPolicies"`
}

Predefined struct for user

type ModifyClusterEndpointSPResponse

type ModifyClusterEndpointSPResponse struct {
	*tchttp.BaseResponse
	Response *ModifyClusterEndpointSPResponseParams `json:"Response"`
}

func NewModifyClusterEndpointSPResponse

func NewModifyClusterEndpointSPResponse() (response *ModifyClusterEndpointSPResponse)

func (*ModifyClusterEndpointSPResponse) FromJsonString

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

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

func (*ModifyClusterEndpointSPResponse) ToJsonString

func (r *ModifyClusterEndpointSPResponse) ToJsonString() string

type ModifyClusterEndpointSPResponseParams

type ModifyClusterEndpointSPResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyClusterNodePoolRequest

type ModifyClusterNodePoolRequest struct {
	*tchttp.BaseRequest

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

	// Node pool ID
	NodePoolId *string `json:"NodePoolId,omitempty" name:"NodePoolId"`

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

	// Maximum number of nodes
	MaxNodesNum *int64 `json:"MaxNodesNum,omitempty" name:"MaxNodesNum"`

	// Minimum number of nodes
	MinNodesNum *int64 `json:"MinNodesNum,omitempty" name:"MinNodesNum"`

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

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

	// Indicates whether auto scaling is enabled.
	EnableAutoscale *bool `json:"EnableAutoscale,omitempty" name:"EnableAutoscale"`

	// Operating system name
	OsName *string `json:"OsName,omitempty" name:"OsName"`

	// Image tag, `DOCKER_CUSTOMIZE` (container customized tag), `GENERAL` (general tag, default value)
	OsCustomizeType *string `json:"OsCustomizeType,omitempty" name:"OsCustomizeType"`

	// Node custom parameter
	ExtraArgs *InstanceExtraArgs `json:"ExtraArgs,omitempty" name:"ExtraArgs"`

	// Resource tag
	Tags []*Tag `json:"Tags,omitempty" name:"Tags"`

	// Sets whether the added node is schedulable. 0 (default): schedulable; other values: unschedulable. After node initialization is completed, you can run `kubectl uncordon nodename` to enable this node for scheduling.
	Unschedulable *int64 `json:"Unschedulable,omitempty" name:"Unschedulable"`
}

func NewModifyClusterNodePoolRequest

func NewModifyClusterNodePoolRequest() (request *ModifyClusterNodePoolRequest)

func (*ModifyClusterNodePoolRequest) FromJsonString

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

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

func (*ModifyClusterNodePoolRequest) ToJsonString

func (r *ModifyClusterNodePoolRequest) ToJsonString() string

type ModifyClusterNodePoolRequestParams

type ModifyClusterNodePoolRequestParams struct {
	// Cluster ID
	ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"`

	// Node pool ID
	NodePoolId *string `json:"NodePoolId,omitempty" name:"NodePoolId"`

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

	// Maximum number of nodes
	MaxNodesNum *int64 `json:"MaxNodesNum,omitempty" name:"MaxNodesNum"`

	// Minimum number of nodes
	MinNodesNum *int64 `json:"MinNodesNum,omitempty" name:"MinNodesNum"`

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

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

	// Indicates whether auto scaling is enabled.
	EnableAutoscale *bool `json:"EnableAutoscale,omitempty" name:"EnableAutoscale"`

	// Operating system name
	OsName *string `json:"OsName,omitempty" name:"OsName"`

	// Image tag, `DOCKER_CUSTOMIZE` (container customized tag), `GENERAL` (general tag, default value)
	OsCustomizeType *string `json:"OsCustomizeType,omitempty" name:"OsCustomizeType"`

	// Node custom parameter
	ExtraArgs *InstanceExtraArgs `json:"ExtraArgs,omitempty" name:"ExtraArgs"`

	// Resource tag
	Tags []*Tag `json:"Tags,omitempty" name:"Tags"`

	// Sets whether the added node is schedulable. 0 (default): schedulable; other values: unschedulable. After node initialization is completed, you can run `kubectl uncordon nodename` to enable this node for scheduling.
	Unschedulable *int64 `json:"Unschedulable,omitempty" name:"Unschedulable"`
}

Predefined struct for user

type ModifyClusterNodePoolResponse

type ModifyClusterNodePoolResponse struct {
	*tchttp.BaseResponse
	Response *ModifyClusterNodePoolResponseParams `json:"Response"`
}

func NewModifyClusterNodePoolResponse

func NewModifyClusterNodePoolResponse() (response *ModifyClusterNodePoolResponse)

func (*ModifyClusterNodePoolResponse) FromJsonString

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

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

func (*ModifyClusterNodePoolResponse) ToJsonString

func (r *ModifyClusterNodePoolResponse) ToJsonString() string

type ModifyClusterNodePoolResponseParams

type ModifyClusterNodePoolResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyNodePoolInstanceTypesRequest

type ModifyNodePoolInstanceTypesRequest struct {
	*tchttp.BaseRequest

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

	// Node pool ID
	NodePoolId *string `json:"NodePoolId,omitempty" name:"NodePoolId"`

	// List of instance types
	InstanceTypes []*string `json:"InstanceTypes,omitempty" name:"InstanceTypes"`
}

func NewModifyNodePoolInstanceTypesRequest

func NewModifyNodePoolInstanceTypesRequest() (request *ModifyNodePoolInstanceTypesRequest)

func (*ModifyNodePoolInstanceTypesRequest) FromJsonString

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

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

func (*ModifyNodePoolInstanceTypesRequest) ToJsonString

func (r *ModifyNodePoolInstanceTypesRequest) ToJsonString() string

type ModifyNodePoolInstanceTypesRequestParams

type ModifyNodePoolInstanceTypesRequestParams struct {
	// Cluster ID
	ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"`

	// Node pool ID
	NodePoolId *string `json:"NodePoolId,omitempty" name:"NodePoolId"`

	// List of instance types
	InstanceTypes []*string `json:"InstanceTypes,omitempty" name:"InstanceTypes"`
}

Predefined struct for user

type ModifyNodePoolInstanceTypesResponse

type ModifyNodePoolInstanceTypesResponse struct {
	*tchttp.BaseResponse
	Response *ModifyNodePoolInstanceTypesResponseParams `json:"Response"`
}

func NewModifyNodePoolInstanceTypesResponse

func NewModifyNodePoolInstanceTypesResponse() (response *ModifyNodePoolInstanceTypesResponse)

func (*ModifyNodePoolInstanceTypesResponse) FromJsonString

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

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

func (*ModifyNodePoolInstanceTypesResponse) ToJsonString

func (r *ModifyNodePoolInstanceTypesResponse) ToJsonString() string

type ModifyNodePoolInstanceTypesResponseParams

type ModifyNodePoolInstanceTypesResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyPrometheusAlertRuleRequest

type ModifyPrometheusAlertRuleRequest struct {
	*tchttp.BaseRequest

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

	// Alarm configurations
	AlertRule *PrometheusAlertRuleDetail `json:"AlertRule,omitempty" name:"AlertRule"`
}

func NewModifyPrometheusAlertRuleRequest

func NewModifyPrometheusAlertRuleRequest() (request *ModifyPrometheusAlertRuleRequest)

func (*ModifyPrometheusAlertRuleRequest) FromJsonString

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

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

func (*ModifyPrometheusAlertRuleRequest) ToJsonString

func (r *ModifyPrometheusAlertRuleRequest) ToJsonString() string

type ModifyPrometheusAlertRuleRequestParams

type ModifyPrometheusAlertRuleRequestParams struct {
	// Instance ID
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`

	// Alarm configurations
	AlertRule *PrometheusAlertRuleDetail `json:"AlertRule,omitempty" name:"AlertRule"`
}

Predefined struct for user

type ModifyPrometheusAlertRuleResponse

type ModifyPrometheusAlertRuleResponse struct {
	*tchttp.BaseResponse
	Response *ModifyPrometheusAlertRuleResponseParams `json:"Response"`
}

func NewModifyPrometheusAlertRuleResponse

func NewModifyPrometheusAlertRuleResponse() (response *ModifyPrometheusAlertRuleResponse)

func (*ModifyPrometheusAlertRuleResponse) FromJsonString

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

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

func (*ModifyPrometheusAlertRuleResponse) ToJsonString

func (r *ModifyPrometheusAlertRuleResponse) ToJsonString() string

type ModifyPrometheusAlertRuleResponseParams

type ModifyPrometheusAlertRuleResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type NodeCountSummary

type NodeCountSummary struct {
	// Nodes that are manually managed
	// Note: this field may return `null`, indicating that no valid value is obtained.
	ManuallyAdded *ManuallyAdded `json:"ManuallyAdded,omitempty" name:"ManuallyAdded"`

	// Nodes that are automatically managed
	// Note: this field may return `null`, indicating that no valid value is obtained.
	AutoscalingAdded *AutoscalingAdded `json:"AutoscalingAdded,omitempty" name:"AutoscalingAdded"`
}

type NodePool

type NodePool struct {
	// Node pool ID
	NodePoolId *string `json:"NodePoolId,omitempty" name:"NodePoolId"`

	// Node pool name
	Name *string `json:"Name,omitempty" name:"Name"`

	// Cluster instance ID
	ClusterInstanceId *string `json:"ClusterInstanceId,omitempty" name:"ClusterInstanceId"`

	// The lifecycle state of the current node pool. Valid values: `creating`, `normal`, `updating`, `deleting`, and `deleted`.
	LifeState *string `json:"LifeState,omitempty" name:"LifeState"`

	// Launch configuration ID
	LaunchConfigurationId *string `json:"LaunchConfigurationId,omitempty" name:"LaunchConfigurationId"`

	// Auto-scaling group ID
	AutoscalingGroupId *string `json:"AutoscalingGroupId,omitempty" name:"AutoscalingGroupId"`

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

	// Array of taint
	Taints []*Taint `json:"Taints,omitempty" name:"Taints"`

	// Node list
	NodeCountSummary *NodeCountSummary `json:"NodeCountSummary,omitempty" name:"NodeCountSummary"`

	AutoscalingGroupStatus *string `json:"AutoscalingGroupStatus,omitempty" name:"AutoscalingGroupStatus"`

	// Maximum number of nodes
	// Note: this field may return `null`, indicating that no valid value is obtained.
	MaxNodesNum *int64 `json:"MaxNodesNum,omitempty" name:"MaxNodesNum"`

	// Minimum number of nodes
	// Note: this field may return `null`, indicating that no valid value is obtained.
	MinNodesNum *int64 `json:"MinNodesNum,omitempty" name:"MinNodesNum"`

	// Desired number of nodes
	// Note: this field may return `null`, indicating that no valid value is obtained.
	DesiredNodesNum *int64 `json:"DesiredNodesNum,omitempty" name:"DesiredNodesNum"`

	// The operating system of the node pool
	// Note: this field may return `null`, indicating that no valid value is obtained.
	NodePoolOs *string `json:"NodePoolOs,omitempty" name:"NodePoolOs"`

	// Container image tag, `DOCKER_CUSTOMIZE` (container customized tag), `GENERAL` (general tag, default value)
	// Note: this field may return `null`, indicating that no valid value is obtained.
	OsCustomizeType *string `json:"OsCustomizeType,omitempty" name:"OsCustomizeType"`

	// Image ID
	// Note: this field may return `null`, indicating that no valid value is obtained.
	ImageId *string `json:"ImageId,omitempty" name:"ImageId"`

	// This parameter is required when the custom PodCIDR mode is enabled for the cluster.
	// Note: this field may return `null`, indicating that no valid value is obtained.
	DesiredPodNum *int64 `json:"DesiredPodNum,omitempty" name:"DesiredPodNum"`

	// Custom script
	// Note: this field may return `null`, indicating that no valid value is obtained.
	UserScript *string `json:"UserScript,omitempty" name:"UserScript"`

	// Resource tag
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	Tags []*Tag `json:"Tags,omitempty" name:"Tags"`
}

type NodePoolOption

type NodePoolOption struct {
	// Whether to add to the node pool.
	AddToNodePool *bool `json:"AddToNodePool,omitempty" name:"AddToNodePool"`

	// Node pool ID
	NodePoolId *string `json:"NodePoolId,omitempty" name:"NodePoolId"`

	// Whether to inherit the node pool configuration.
	InheritConfigurationFromNodePool *bool `json:"InheritConfigurationFromNodePool,omitempty" name:"InheritConfigurationFromNodePool"`
}

type PodLimitsByType

type PodLimitsByType struct {
	// The number of Pods supported by a TKE shared ENI in non-static IP address mode
	// Note: this field may return `null`, indicating that no valid value can be obtained.
	TKERouteENINonStaticIP *int64 `json:"TKERouteENINonStaticIP,omitempty" name:"TKERouteENINonStaticIP"`

	// The number of Pods supported by a TKE shared ENI in static IP address mode
	// Note: this field may return `null`, indicating that no valid value can be obtained.
	TKERouteENIStaticIP *int64 `json:"TKERouteENIStaticIP,omitempty" name:"TKERouteENIStaticIP"`

	// The number of Pods supported by TKE independent ENI mode
	// Note: this field may return `null`, indicating that no valid value can be obtained.
	TKEDirectENI *int64 `json:"TKEDirectENI,omitempty" name:"TKEDirectENI"`
}

type PodLimitsInstance

type PodLimitsInstance struct {
	// The availability zone where the model is located
	// Note: this field may return `null`, indicating that no valid value can be obtained.
	Zone *string `json:"Zone,omitempty" name:"Zone"`

	// The instance family to which the model belongs
	// Note: this field may return `null`, indicating that no valid value can be obtained.
	InstanceFamily *string `json:"InstanceFamily,omitempty" name:"InstanceFamily"`

	// Instance type
	// Note: this field may return `null`, indicating that no valid value can be obtained.
	InstanceType *string `json:"InstanceType,omitempty" name:"InstanceType"`

	// The maximum number of Pods in the VPC-CNI mode supported by the model
	// Note: this field may return `null`, indicating that no valid value can be obtained.
	PodLimits *PodLimitsByType `json:"PodLimits,omitempty" name:"PodLimits"`
}

type PrometheusAlertRule

type PrometheusAlertRule struct {
	// Rule name
	Name *string `json:"Name,omitempty" name:"Name"`

	// PromQL contents
	Rule *string `json:"Rule,omitempty" name:"Rule"`

	// Additional labels
	Labels []*Label `json:"Labels,omitempty" name:"Labels"`

	// Alarm delivery template
	Template *string `json:"Template,omitempty" name:"Template"`

	// Duration
	For *string `json:"For,omitempty" name:"For"`

	// Rule description
	// Note: this field may return `null`, indicating that no valid value can be obtained.
	Describe *string `json:"Describe,omitempty" name:"Describe"`

	// Refer to annotations in prometheus rule
	// Note: this field may return `null`, indicating that no valid value can be obtained.
	Annotations []*Label `json:"Annotations,omitempty" name:"Annotations"`

	// Alarm rule status
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	RuleState *int64 `json:"RuleState,omitempty" name:"RuleState"`
}

type PrometheusAlertRuleDetail

type PrometheusAlertRuleDetail struct {
	// Rule name
	Name *string `json:"Name,omitempty" name:"Name"`

	// Rule list
	Rules []*PrometheusAlertRule `json:"Rules,omitempty" name:"Rules"`

	// Last modification time
	UpdatedAt *string `json:"UpdatedAt,omitempty" name:"UpdatedAt"`

	// Alarm delivery methods
	Notification *PrometheusNotification `json:"Notification,omitempty" name:"Notification"`

	// Alarm rule ID
	Id *string `json:"Id,omitempty" name:"Id"`

	// If the alarm is delivered via a template, the TemplateId is the template ID.
	// Note: this field may return `null`, indicating that no valid value can be obtained.
	TemplateId *string `json:"TemplateId,omitempty" name:"TemplateId"`

	// Alarm interval
	// Note: this field may return `null`, indicating that no valid value can be obtained.
	Interval *string `json:"Interval,omitempty" name:"Interval"`
}

type PrometheusGrafanaInfo

type PrometheusGrafanaInfo struct {
	// Whether it is enabled
	Enabled *bool `json:"Enabled,omitempty" name:"Enabled"`

	// Domain name. It will be effective only when the public network access is enabled.
	Domain *string `json:"Domain,omitempty" name:"Domain"`

	// The private network or public network address
	Address *string `json:"Address,omitempty" name:"Address"`

	// Whether the public network access is enabled.
	// `close`: the public network access is not enabled
	// `opening`: the public network access is being enabled
	// `open`: the public network access is enabled
	Internet *string `json:"Internet,omitempty" name:"Internet"`

	// The user name of the grafana admin
	AdminUser *string `json:"AdminUser,omitempty" name:"AdminUser"`
}

type PrometheusNotification

type PrometheusNotification struct {
	// Whether it is enabled
	Enabled *bool `json:"Enabled,omitempty" name:"Enabled"`

	// Convergence time
	RepeatInterval *string `json:"RepeatInterval,omitempty" name:"RepeatInterval"`

	// Start time
	TimeRangeStart *string `json:"TimeRangeStart,omitempty" name:"TimeRangeStart"`

	// End time
	TimeRangeEnd *string `json:"TimeRangeEnd,omitempty" name:"TimeRangeEnd"`

	// Alarm delivery method. Valid values: `SMS`, `EMAIL`, `CALL`, and `WECHAT`
	// It respectively represents SMS, email, phone calls, and WeChat.
	// Note: this field may return `null`, indicating that no valid value can be obtained.
	NotifyWay []*string `json:"NotifyWay,omitempty" name:"NotifyWay"`

	// The alarm recipient group (user group)
	// Note: this field may return `null`, indicating that no valid value can be obtained.
	ReceiverGroups []*uint64 `json:"ReceiverGroups,omitempty" name:"ReceiverGroups"`

	// The alarm sequence of phone calls
	// This parameter is used when you specify `CALL` for `NotifyWay`.
	// Note: this field may return `null`, indicating that no valid value can be obtained.
	PhoneNotifyOrder []*uint64 `json:"PhoneNotifyOrder,omitempty" name:"PhoneNotifyOrder"`

	// The number of phone call alarms
	// This parameter is used when you specify `CALL` for `NotifyWay`.
	// Note: this field may return `null`, indicating that no valid value can be obtained.
	PhoneCircleTimes *int64 `json:"PhoneCircleTimes,omitempty" name:"PhoneCircleTimes"`

	// Dialing interval in seconds within one polling
	// This parameter is used when you specify `CALL` for `NotifyWay`.
	// Note: this field may return `null`, indicating that no valid value can be obtained.
	PhoneInnerInterval *int64 `json:"PhoneInnerInterval,omitempty" name:"PhoneInnerInterval"`

	// Polling interval in seconds
	// This parameter is used when you specify `CALL` for `NotifyWay`.
	// Note: this field may return `null`, indicating that no valid value can be obtained.
	PhoneCircleInterval *int64 `json:"PhoneCircleInterval,omitempty" name:"PhoneCircleInterval"`

	// Phone call alarm arrival notification
	// This parameter is used when you specify `CALL` for `NotifyWay`.
	// Note: this field may return `null`, indicating that no valid value can be obtained.
	PhoneArriveNotice *bool `json:"PhoneArriveNotice,omitempty" name:"PhoneArriveNotice"`

	// Channel type. Default value: `amp`. The following channels are supported:
	// amp
	// webhook
	// Note: this field may return `null`, indicating that no valid value can be obtained.
	Type *string `json:"Type,omitempty" name:"Type"`

	// This parameter is required if `Type` is `webhook`.
	// Note: this field may return `null`, indicating that no valid value can be obtained.
	WebHook *string `json:"WebHook,omitempty" name:"WebHook"`
}

type RegionInstance

type RegionInstance struct {
	// Region name
	// Note: this field may return null, indicating that no valid values can be obtained.
	RegionName *string `json:"RegionName,omitempty" name:"RegionName"`

	// Region ID
	// Note: this field may return null, indicating that no valid values can be obtained.
	RegionId *int64 `json:"RegionId,omitempty" name:"RegionId"`

	// Region status
	// Note: this field may return null, indicating that no valid values can be obtained.
	Status *string `json:"Status,omitempty" name:"Status"`

	// Status of region-related features (return all attributes in JSON format)
	// Note: this field may return null, indicating that no valid values can be obtained.
	FeatureGates *string `json:"FeatureGates,omitempty" name:"FeatureGates"`

	// Region abbreviation
	// Note: this field may return null, indicating that no valid values can be obtained.
	Alias *string `json:"Alias,omitempty" name:"Alias"`

	// Whitelisted location
	// Note: this field may return null, indicating that no valid values can be obtained.
	Remark *string `json:"Remark,omitempty" name:"Remark"`
}

type RemoveNodeFromNodePoolRequest

type RemoveNodeFromNodePoolRequest struct {
	*tchttp.BaseRequest

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

	// Node pool ID
	NodePoolId *string `json:"NodePoolId,omitempty" name:"NodePoolId"`

	// The node ID list. Up to 100 nodes can be removed at a time.
	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 RemoveNodeFromNodePoolRequestParams

type RemoveNodeFromNodePoolRequestParams struct {
	// Cluster ID
	ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"`

	// Node pool ID
	NodePoolId *string `json:"NodePoolId,omitempty" name:"NodePoolId"`

	// The node ID list. Up to 100 nodes can be removed at a time.
	InstanceIds []*string `json:"InstanceIds,omitempty" name:"InstanceIds"`
}

Predefined struct for user

type RemoveNodeFromNodePoolResponse

type RemoveNodeFromNodePoolResponse struct {
	*tchttp.BaseResponse
	Response *RemoveNodeFromNodePoolResponseParams `json:"Response"`
}

func NewRemoveNodeFromNodePoolResponse

func NewRemoveNodeFromNodePoolResponse() (response *RemoveNodeFromNodePoolResponse)

func (*RemoveNodeFromNodePoolResponse) FromJsonString

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

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

func (*RemoveNodeFromNodePoolResponse) ToJsonString

func (r *RemoveNodeFromNodePoolResponse) ToJsonString() string

type RemoveNodeFromNodePoolResponseParams

type RemoveNodeFromNodePoolResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type ResourceDeleteOption

type ResourceDeleteOption struct {
	// Resource type, for example `CBS`
	ResourceType *string `json:"ResourceType,omitempty" name:"ResourceType"`

	// Specifies the policy to deal with resources in the cluster when the cluster is deleted. It can be `terminate` or `retain`.
	DeleteMode *string `json:"DeleteMode,omitempty" name:"DeleteMode"`
}

type ResourceUsage

type ResourceUsage struct {
	// Resource type
	Name *string `json:"Name,omitempty" name:"Name"`

	// Resource usage
	Usage *uint64 `json:"Usage,omitempty" name:"Usage"`

	// Resource usage details
	Details []*ResourceUsageDetail `json:"Details,omitempty" name:"Details"`
}

type ResourceUsageDetail

type ResourceUsageDetail struct {
	// Resource name
	Name *string `json:"Name,omitempty" name:"Name"`

	// Resource usage
	Usage *uint64 `json:"Usage,omitempty" name:"Usage"`
}

type RouteInfo

type RouteInfo struct {
	// Route table name.
	RouteTableName *string `json:"RouteTableName,omitempty" name:"RouteTableName"`

	// Destination CIDR.
	DestinationCidrBlock *string `json:"DestinationCidrBlock,omitempty" name:"DestinationCidrBlock"`

	// Next hop address.
	GatewayIp *string `json:"GatewayIp,omitempty" name:"GatewayIp"`
}

type RouteTableConflict

type RouteTableConflict struct {
	// Route table type.
	RouteTableType *string `json:"RouteTableType,omitempty" name:"RouteTableType"`

	// Route table CIDR.
	// Note: This field may return null, indicating that no valid values can be obtained.
	RouteTableCidrBlock *string `json:"RouteTableCidrBlock,omitempty" name:"RouteTableCidrBlock"`

	// Route table name.
	// Note: This field may return null, indicating that no valid values can be obtained.
	RouteTableName *string `json:"RouteTableName,omitempty" name:"RouteTableName"`

	// Route table ID.
	// Note: This field may return null, indicating that no valid values can be obtained.
	RouteTableId *string `json:"RouteTableId,omitempty" name:"RouteTableId"`
}

type RouteTableInfo

type RouteTableInfo struct {
	// Route table name.
	RouteTableName *string `json:"RouteTableName,omitempty" name:"RouteTableName"`

	// Route table CIDR.
	RouteTableCidrBlock *string `json:"RouteTableCidrBlock,omitempty" name:"RouteTableCidrBlock"`

	// VPC instance ID.
	VpcId *string `json:"VpcId,omitempty" name:"VpcId"`
}

type RunAutomationServiceEnabled

type RunAutomationServiceEnabled struct {
	// Whether to enable the TAT service. Valid values: <br><li>`TRUE`: yes;<br><li>`FALSE`: no<br><br>Default: `FALSE`.
	Enabled *bool `json:"Enabled,omitempty" name:"Enabled"`
}

type RunInstancesForNode

type RunInstancesForNode struct {
	// Node role. Values: MASTER_ETCD, WORKER. You only need to specify MASTER_ETCD when creating a self-deployed cluster (INDEPENDENT_CLUSTER).
	NodeRole *string `json:"NodeRole,omitempty" name:"NodeRole"`

	// Pass-through parameter for CVM creation in the format of a JSON string. For more information, see the API for [creating a CVM instance](https://intl.cloud.tencent.com/document/product/213/15730?from_cn_redirect=1). Pass any parameter other than common parameters. ImageId will be replaced with the image corresponding to the TKE cluster operating system.
	RunInstancesPara []*string `json:"RunInstancesPara,omitempty" name:"RunInstancesPara"`

	// An advanced node setting. This parameter overrides the InstanceAdvancedSettings item set at the cluster level and corresponds to RunInstancesPara in a one-to-one sequential manner (currently valid for the ExtraArgs node custom parameter only).
	InstanceAdvancedSettingsOverrides []*InstanceAdvancedSettings `json:"InstanceAdvancedSettingsOverrides,omitempty" name:"InstanceAdvancedSettingsOverrides"`
}

type RunMonitorServiceEnabled

type RunMonitorServiceEnabled struct {
	// Whether to enable [Cloud Monitor](https://intl.cloud.tencent.com/document/product/248?from_cn_redirect=1). Valid values: <br><li>TRUE: enable Cloud Monitor <br><li>FALSE: do not enable Cloud Monitor <br><br>Default value: TRUE.
	Enabled *bool `json:"Enabled,omitempty" name:"Enabled"`
}

type RunSecurityServiceEnabled

type RunSecurityServiceEnabled struct {
	// Whether to enable [Cloud Security](https://intl.cloud.tencent.com/document/product/296?from_cn_redirect=1). Valid values: <br><li>TRUE: enable Cloud Security <br><li>FALSE: do not enable Cloud Security <br><br>Default value: TRUE.
	Enabled *bool `json:"Enabled,omitempty" name:"Enabled"`
}

type ServiceAccountAuthenticationOptions

type ServiceAccountAuthenticationOptions struct {
	// service-account-issuer
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	Issuer *string `json:"Issuer,omitempty" name:"Issuer"`

	// service-account-jwks-uri
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	JWKSURI *string `json:"JWKSURI,omitempty" name:"JWKSURI"`

	// If it is set to `true`, a RABC rule is automatically created to allow anonymous users to access `/.well-known/openid-configuration` and `/openid/v1/jwks`.
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	AutoCreateDiscoveryAnonymousAuth *bool `json:"AutoCreateDiscoveryAnonymousAuth,omitempty" name:"AutoCreateDiscoveryAnonymousAuth"`
}

type SetNodePoolNodeProtectionRequest

type SetNodePoolNodeProtectionRequest struct {
	*tchttp.BaseRequest

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

	// Node pool ID
	NodePoolId *string `json:"NodePoolId,omitempty" name:"NodePoolId"`

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

	// Whether the node needs removal protection
	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 SetNodePoolNodeProtectionRequestParams

type SetNodePoolNodeProtectionRequestParams struct {
	// Cluster ID
	ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"`

	// Node pool ID
	NodePoolId *string `json:"NodePoolId,omitempty" name:"NodePoolId"`

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

	// Whether the node needs removal protection
	ProtectedFromScaleIn *bool `json:"ProtectedFromScaleIn,omitempty" name:"ProtectedFromScaleIn"`
}

Predefined struct for user

type SetNodePoolNodeProtectionResponse

type SetNodePoolNodeProtectionResponse struct {
	*tchttp.BaseResponse
	Response *SetNodePoolNodeProtectionResponseParams `json:"Response"`
}

func NewSetNodePoolNodeProtectionResponse

func NewSetNodePoolNodeProtectionResponse() (response *SetNodePoolNodeProtectionResponse)

func (*SetNodePoolNodeProtectionResponse) FromJsonString

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

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

func (*SetNodePoolNodeProtectionResponse) ToJsonString

func (r *SetNodePoolNodeProtectionResponse) ToJsonString() string

type SetNodePoolNodeProtectionResponseParams

type SetNodePoolNodeProtectionResponseParams struct {
	// ID of the node that has successfully set the removal protection
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	SucceedInstanceIds []*string `json:"SucceedInstanceIds,omitempty" name:"SucceedInstanceIds"`

	// ID of the node that fails to set the removal protection
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	FailedInstanceIds []*string `json:"FailedInstanceIds,omitempty" name:"FailedInstanceIds"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type Tag

type Tag struct {
	// Tag key.
	Key *string `json:"Key,omitempty" name:"Key"`

	// Tag value.
	Value *string `json:"Value,omitempty" name:"Value"`
}

type TagSpecification

type TagSpecification struct {
	// The type of resource that the tag is bound to. The type currently supported is `cluster`.
	ResourceType *string `json:"ResourceType,omitempty" name:"ResourceType"`

	// List of tag pairs
	Tags []*Tag `json:"Tags,omitempty" name:"Tags"`
}

type Taint

type Taint struct {
	// Key of the taint
	Key *string `json:"Key,omitempty" name:"Key"`

	// Value of the taint
	Value *string `json:"Value,omitempty" name:"Value"`

	// Effect of the taint
	Effect *string `json:"Effect,omitempty" name:"Effect"`
}

type TaskStepInfo

type TaskStepInfo struct {
	// Step name
	Step *string `json:"Step,omitempty" name:"Step"`

	// Lifecycle
	// pending: the step is not started
	// running: the step is in progress
	// success: the step is completed
	// failed: the step failed
	LifeState *string `json:"LifeState,omitempty" name:"LifeState"`

	// Step start time
	// Note: this field may return `null`, indicating that no valid value is obtained.
	StartAt *string `json:"StartAt,omitempty" name:"StartAt"`

	// Step end time
	// Note: this field may return `null`, indicating that no valid value is obtained.
	EndAt *string `json:"EndAt,omitempty" name:"EndAt"`

	// If the lifecycle of the step is failed, this field will display the error information.
	// Note: this field may return `null`, indicating that no valid value is obtained.
	FailedMsg *string `json:"FailedMsg,omitempty" name:"FailedMsg"`
}

type UpdateClusterVersionRequest

type UpdateClusterVersionRequest struct {
	*tchttp.BaseRequest

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

	// The version that needs to upgrade to
	DstVersion *string `json:"DstVersion,omitempty" name:"DstVersion"`

	// Cluster custom parameter
	ExtraArgs *ClusterExtraArgs `json:"ExtraArgs,omitempty" name:"ExtraArgs"`

	// The maximum tolerable number of unavailable pods
	MaxNotReadyPercent *float64 `json:"MaxNotReadyPercent,omitempty" name:"MaxNotReadyPercent"`

	// Whether to skip the precheck
	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 UpdateClusterVersionRequestParams

type UpdateClusterVersionRequestParams struct {
	// Cluster ID
	ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"`

	// The version that needs to upgrade to
	DstVersion *string `json:"DstVersion,omitempty" name:"DstVersion"`

	// Cluster custom parameter
	ExtraArgs *ClusterExtraArgs `json:"ExtraArgs,omitempty" name:"ExtraArgs"`

	// The maximum tolerable number of unavailable pods
	MaxNotReadyPercent *float64 `json:"MaxNotReadyPercent,omitempty" name:"MaxNotReadyPercent"`

	// Whether to skip the precheck
	SkipPreCheck *bool `json:"SkipPreCheck,omitempty" name:"SkipPreCheck"`
}

Predefined struct for user

type UpdateClusterVersionResponse

type UpdateClusterVersionResponse struct {
	*tchttp.BaseResponse
	Response *UpdateClusterVersionResponseParams `json:"Response"`
}

func NewUpdateClusterVersionResponse

func NewUpdateClusterVersionResponse() (response *UpdateClusterVersionResponse)

func (*UpdateClusterVersionResponse) FromJsonString

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

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

func (*UpdateClusterVersionResponse) ToJsonString

func (r *UpdateClusterVersionResponse) ToJsonString() string

type UpdateClusterVersionResponseParams

type UpdateClusterVersionResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type UpgradeAbleInstancesItem

type UpgradeAbleInstancesItem struct {
	// Node ID
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`

	// The current version of the node
	Version *string `json:"Version,omitempty" name:"Version"`

	// The latest minor version of the current version
	// Note: this field may return `null`, indicating that no valid value is obtained.
	LatestVersion *string `json:"LatestVersion,omitempty" name:"LatestVersion"`
}

type UpgradeClusterInstancesRequest

type UpgradeClusterInstancesRequest struct {
	*tchttp.BaseRequest

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

	// create: starting an upgrade task
	// pause: pausing the task
	// resume: continuing the task
	// abort: stopping the task
	Operation *string `json:"Operation,omitempty" name:"Operation"`

	// Upgrade type. It’s only required when `Operation` is set as `create`.
	// reset: the reinstallation and upgrade of major version
	// hot: the hot upgrade of minor version
	// major: in-place upgrade of major version
	UpgradeType *string `json:"UpgradeType,omitempty" name:"UpgradeType"`

	// List of nodes that need to upgrade
	InstanceIds []*string `json:"InstanceIds,omitempty" name:"InstanceIds"`

	// This parameter is used when the node joins the cluster again. Refer to the API of creating one or more cluster nodes.
	ResetParam *UpgradeNodeResetParam `json:"ResetParam,omitempty" name:"ResetParam"`

	// Whether to skip the pre-upgrade check of the node
	SkipPreCheck *bool `json:"SkipPreCheck,omitempty" name:"SkipPreCheck"`

	// The maximum tolerable proportion of unavailable pods
	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 UpgradeClusterInstancesRequestParams

type UpgradeClusterInstancesRequestParams struct {
	// Cluster ID
	ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"`

	// create: starting an upgrade task
	// pause: pausing the task
	// resume: continuing the task
	// abort: stopping the task
	Operation *string `json:"Operation,omitempty" name:"Operation"`

	// Upgrade type. It’s only required when `Operation` is set as `create`.
	// reset: the reinstallation and upgrade of major version
	// hot: the hot upgrade of minor version
	// major: in-place upgrade of major version
	UpgradeType *string `json:"UpgradeType,omitempty" name:"UpgradeType"`

	// List of nodes that need to upgrade
	InstanceIds []*string `json:"InstanceIds,omitempty" name:"InstanceIds"`

	// This parameter is used when the node joins the cluster again. Refer to the API of creating one or more cluster nodes.
	ResetParam *UpgradeNodeResetParam `json:"ResetParam,omitempty" name:"ResetParam"`

	// Whether to skip the pre-upgrade check of the node
	SkipPreCheck *bool `json:"SkipPreCheck,omitempty" name:"SkipPreCheck"`

	// The maximum tolerable proportion of unavailable pods
	MaxNotReadyPercent *float64 `json:"MaxNotReadyPercent,omitempty" name:"MaxNotReadyPercent"`
}

Predefined struct for user

type UpgradeClusterInstancesResponse

type UpgradeClusterInstancesResponse struct {
	*tchttp.BaseResponse
	Response *UpgradeClusterInstancesResponseParams `json:"Response"`
}

func NewUpgradeClusterInstancesResponse

func NewUpgradeClusterInstancesResponse() (response *UpgradeClusterInstancesResponse)

func (*UpgradeClusterInstancesResponse) FromJsonString

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

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

func (*UpgradeClusterInstancesResponse) ToJsonString

func (r *UpgradeClusterInstancesResponse) ToJsonString() string

type UpgradeClusterInstancesResponseParams

type UpgradeClusterInstancesResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type UpgradeNodeResetParam

type UpgradeNodeResetParam struct {
	// Additional parameters set for the instance
	InstanceAdvancedSettings *InstanceAdvancedSettings `json:"InstanceAdvancedSettings,omitempty" name:"InstanceAdvancedSettings"`

	// Enhanced services. You can use this parameter to specify whether to enable services such as Cloud Security and Cloud Monitor. If this parameter is not specified, Cloud Monitor and Cloud Security will be enabled by default.
	EnhancedService *EnhancedService `json:"EnhancedService,omitempty" name:"EnhancedService"`

	// Node login information. For now, it only supports Password or a single KeyIds
	LoginSettings *LoginSettings `json:"LoginSettings,omitempty" name:"LoginSettings"`

	// Security group to which the instance belongs. This parameter can be obtained from the `sgId` field in the response of `DescribeSecurityGroups`. If this parameter is not specified, the default security group is bound. (Currently, you can only set a single sgId.)
	SecurityGroupIds []*string `json:"SecurityGroupIds,omitempty" name:"SecurityGroupIds"`
}

type VersionInstance

type VersionInstance struct {
	// Version name
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	Name *string `json:"Name,omitempty" name:"Name"`

	// Version Info
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	Version *string `json:"Version,omitempty" name:"Version"`

	// Remark
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	Remark *string `json:"Remark,omitempty" name:"Remark"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL