client

package
v5.0.6 Latest Latest
Warning

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

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

Documentation

Overview

This file is auto-generated, don't edit it. Thanks. *

*

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Addon

type Addon struct {
	Config   *string `json:"config,omitempty" xml:"config,omitempty"`
	Disabled *bool   `json:"disabled,omitempty" xml:"disabled,omitempty"`
	Name     *string `json:"name,omitempty" xml:"name,omitempty"`
	Version  *string `json:"version,omitempty" xml:"version,omitempty"`
}

func (Addon) GoString

func (s Addon) GoString() string

func (*Addon) SetConfig

func (s *Addon) SetConfig(v string) *Addon

func (*Addon) SetDisabled

func (s *Addon) SetDisabled(v bool) *Addon

func (*Addon) SetName

func (s *Addon) SetName(v string) *Addon

func (*Addon) SetVersion

func (s *Addon) SetVersion(v string) *Addon

func (Addon) String

func (s Addon) String() string

type AttachInstancesRequest

type AttachInstancesRequest struct {
	// The CPU management policy. The following policies are supported if the Kubernetes version of the cluster is 1.12.6 or later.
	//
	// *   `static`: This policy allows pods with specific resource characteristics on the node to be configured with enhanced CPU affinity and exclusivity.
	// *   `none`: The default CPU affinity is used.
	//
	// Default value: `none`.
	//
	// >  This parameter is not supported if you specify the `nodepool_id` parameter.
	CpuPolicy *string `json:"cpu_policy,omitempty" xml:"cpu_policy,omitempty"`
	// Specifies whether to store container data and images on data disks. Valid values:
	//
	// *   `true`: stores container data and images on data disks.
	// *   `false`: does not store container data or images on data disks.
	//
	// Default value: `false`.
	//
	// How a data disk is mounted:
	//
	// *   If the ECS instances are already mounted with data disks and the file system of the last data disk is not initialized, the system automatically formats this data disk to ext4 and mounts it to /var/lib/docker and /var/lib/kubelet.
	// *   If no data disk is attached to the ECS instances, the system does not purchase a new data disk.
	//
	// >  If you choose to store container data and images on data disks and a data disk is already mounted to the ECS instance, the original data on this data disk will be cleared. You can back up the disk to avoid data loss.
	FormatDisk *bool `json:"format_disk,omitempty" xml:"format_disk,omitempty"`
	// The ID of the custom image. If you do not set this parameter, the default system image is used.
	//
	// >
	//
	// *   If you specify a custom image, the custom image is used to deploy the operating systems on the system disks of the nodes.
	//
	// *   This parameter is not supported after you specify `nodepool_id`.
	ImageId *string `json:"image_id,omitempty" xml:"image_id,omitempty"`
	// The ECS instances to be added.
	Instances []*string `json:"instances,omitempty" xml:"instances,omitempty" type:"Repeated"`
	// Specifies whether the nodes that you want to add are Edge Node Service (ENS) nodes. Valid values:
	//
	// *   `true`: The nodes that you want to add are ENS nodes.
	// *   `false`: The nodes that you want to add are not ENS nodes.
	//
	// Default value: `false`.
	//
	// >  If the nodes that you want to add are ENS nodes, you must set this parameter to `true`. This allows you to identify these nodes.
	IsEdgeWorker *bool `json:"is_edge_worker,omitempty" xml:"is_edge_worker,omitempty"`
	// Specifies whether to retain the instance name. Valid values:
	//
	// *   `true`: retains the instance name.
	// *   `false`: does not retain the instance name.
	//
	// Default value: `true`
	KeepInstanceName *bool `json:"keep_instance_name,omitempty" xml:"keep_instance_name,omitempty"`
	// The name of the key pair that is used to log on to the ECS instances. You must set key_pair or `login_password`.
	//
	// >  This parameter is not supported if you specify the `nodepool_id` parameter.
	KeyPair *string `json:"key_pair,omitempty" xml:"key_pair,omitempty"`
	// The node pool ID. If you do not set this parameter, the nodes are added to the default node pool.
	NodepoolId *string `json:"nodepool_id,omitempty" xml:"nodepool_id,omitempty"`
	// The SSH logon password that is used to log on to the ECS instances. You must set login_password or `key_pair`. The password must be 8 to 30 characters in length, and must contain at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters. It cannot contain backslashes (\\) or double quotation marks (").
	//
	// For security considerations, the password is encrypted during data transfer.
	Password *string `json:"password,omitempty" xml:"password,omitempty"`
	// A list of ApsaraDB RDS instances.
	RdsInstances []*string `json:"rds_instances,omitempty" xml:"rds_instances,omitempty" type:"Repeated"`
	// The container runtime.
	//
	// >  This parameter is not supported if you specify the `nodepool_id` parameter.
	Runtime *Runtime `json:"runtime,omitempty" xml:"runtime,omitempty"`
	// The labels that you want to add to nodes. You must add labels based on the following rules:
	//
	// *   Each label is a case-sensitive key-value pair. You can add up to 20 labels.
	// *   A key must be unique and cannot exceed 64 characters in length. A value can be empty and cannot exceed 128 characters in length. Keys and values cannot start with `aliyun`, `acs:`, `https://`, or `http://`. For more information, see [Labels and Selectors](https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#syntax-and-character-set).
	//
	// >  This parameter is not supported if you specify the `nodepool_id` parameter.
	Tags []*Tag `json:"tags,omitempty" xml:"tags,omitempty" type:"Repeated"`
	// User-defined data. For more information, see [Generate user data](~~49121~~).
	//
	// >  This parameter is not supported if you specify the `nodepool_id` parameter.
	UserData *string `json:"user_data,omitempty" xml:"user_data,omitempty"`
}

func (AttachInstancesRequest) GoString

func (s AttachInstancesRequest) GoString() string

func (*AttachInstancesRequest) SetCpuPolicy

func (*AttachInstancesRequest) SetFormatDisk

func (s *AttachInstancesRequest) SetFormatDisk(v bool) *AttachInstancesRequest

func (*AttachInstancesRequest) SetImageId

func (*AttachInstancesRequest) SetInstances

func (s *AttachInstancesRequest) SetInstances(v []*string) *AttachInstancesRequest

func (*AttachInstancesRequest) SetIsEdgeWorker

func (s *AttachInstancesRequest) SetIsEdgeWorker(v bool) *AttachInstancesRequest

func (*AttachInstancesRequest) SetKeepInstanceName

func (s *AttachInstancesRequest) SetKeepInstanceName(v bool) *AttachInstancesRequest

func (*AttachInstancesRequest) SetKeyPair

func (*AttachInstancesRequest) SetNodepoolId

func (*AttachInstancesRequest) SetPassword

func (*AttachInstancesRequest) SetRdsInstances

func (s *AttachInstancesRequest) SetRdsInstances(v []*string) *AttachInstancesRequest

func (*AttachInstancesRequest) SetRuntime

func (*AttachInstancesRequest) SetTags

func (*AttachInstancesRequest) SetUserData

func (AttachInstancesRequest) String

func (s AttachInstancesRequest) String() string

type AttachInstancesResponse

type AttachInstancesResponse struct {
	Headers    map[string]*string           `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                       `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *AttachInstancesResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (AttachInstancesResponse) GoString

func (s AttachInstancesResponse) GoString() string

func (*AttachInstancesResponse) SetBody

func (*AttachInstancesResponse) SetHeaders

func (*AttachInstancesResponse) SetStatusCode

func (AttachInstancesResponse) String

func (s AttachInstancesResponse) String() string

type AttachInstancesResponseBody

type AttachInstancesResponseBody struct {
	// The details of the added nodes.
	List []*AttachInstancesResponseBodyList `json:"list,omitempty" xml:"list,omitempty" type:"Repeated"`
	// The task ID.
	TaskId *string `json:"task_id,omitempty" xml:"task_id,omitempty"`
}

func (AttachInstancesResponseBody) GoString

func (s AttachInstancesResponseBody) GoString() string

func (*AttachInstancesResponseBody) SetList

func (*AttachInstancesResponseBody) SetTaskId

func (AttachInstancesResponseBody) String

type AttachInstancesResponseBodyList

type AttachInstancesResponseBodyList struct {
	// The code that indicates the task result.
	Code *string `json:"code,omitempty" xml:"code,omitempty"`
	// The ID of the ECS instance.
	InstanceId *string `json:"instanceId,omitempty" xml:"instanceId,omitempty"`
	// Indicates whether the ECS instance is successfully added to the ACK cluster.
	Message *string `json:"message,omitempty" xml:"message,omitempty"`
}

func (AttachInstancesResponseBodyList) GoString

func (*AttachInstancesResponseBodyList) SetCode

func (*AttachInstancesResponseBodyList) SetInstanceId

func (*AttachInstancesResponseBodyList) SetMessage

func (AttachInstancesResponseBodyList) String

type AttachInstancesToNodePoolRequest

type AttachInstancesToNodePoolRequest struct {
	// Specifies whether to store container data and images on data disks. Valid values:
	//
	// *   `true`: stores container data and images on data disks.
	// *   `false`: does not store container data or images on data disks.
	//
	// Default value: `false`.
	//
	// How to mount a data disk:
	//
	// *   If the ECS instances are already mounted with data disks and the file system of the last data disk is not initialized, the system automatically formats this data disk to ext4 and mounts it to /var/lib/docker and /var/lib/kubelet.
	// *   If no data disk is attached to the ECS instances, the system does not purchase a new data disk.
	//
	// > If you choose to store container data and images on a data disk and the data disk is already mounted to the ECS instance, the existing data on the data disk will be cleared. You can back up the disk to avoid data loss.
	FormatDisk *bool `json:"format_disk,omitempty" xml:"format_disk,omitempty"`
	// The IDs of the instances to be added.
	Instances []*string `json:"instances,omitempty" xml:"instances,omitempty" type:"Repeated"`
	// Specifies whether to retain the instance name. Valid values:
	//
	// *   `true`: retains the instance name.
	// *   `false`: does not retain the instance name.
	//
	// Default value: `true`.
	KeepInstanceName *bool `json:"keep_instance_name,omitempty" xml:"keep_instance_name,omitempty"`
	// The SSH password that is used to log on to the instance.
	Password *string `json:"password,omitempty" xml:"password,omitempty"`
}

func (AttachInstancesToNodePoolRequest) GoString

func (*AttachInstancesToNodePoolRequest) SetFormatDisk

func (*AttachInstancesToNodePoolRequest) SetInstances

func (*AttachInstancesToNodePoolRequest) SetKeepInstanceName

func (*AttachInstancesToNodePoolRequest) SetPassword

func (AttachInstancesToNodePoolRequest) String

type AttachInstancesToNodePoolResponse

type AttachInstancesToNodePoolResponse struct {
	Headers    map[string]*string                     `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                 `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *AttachInstancesToNodePoolResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (AttachInstancesToNodePoolResponse) GoString

func (*AttachInstancesToNodePoolResponse) SetHeaders

func (*AttachInstancesToNodePoolResponse) SetStatusCode

func (AttachInstancesToNodePoolResponse) String

type AttachInstancesToNodePoolResponseBody

type AttachInstancesToNodePoolResponseBody struct {
	// The request ID.
	RequestId *string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// The task ID.
	TaskId *string `json:"task_id,omitempty" xml:"task_id,omitempty"`
}

func (AttachInstancesToNodePoolResponseBody) GoString

func (*AttachInstancesToNodePoolResponseBody) SetRequestId

func (*AttachInstancesToNodePoolResponseBody) SetTaskId

func (AttachInstancesToNodePoolResponseBody) String

type CancelClusterUpgradeResponse

type CancelClusterUpgradeResponse struct {
	Headers    map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32             `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
}

func (CancelClusterUpgradeResponse) GoString

func (s CancelClusterUpgradeResponse) GoString() string

func (*CancelClusterUpgradeResponse) SetHeaders

func (*CancelClusterUpgradeResponse) SetStatusCode

func (CancelClusterUpgradeResponse) String

type CancelComponentUpgradeResponse

type CancelComponentUpgradeResponse struct {
	Headers    map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32             `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
}

func (CancelComponentUpgradeResponse) GoString

func (*CancelComponentUpgradeResponse) SetHeaders

func (*CancelComponentUpgradeResponse) SetStatusCode

func (CancelComponentUpgradeResponse) String

type CancelOperationPlanResponse

type CancelOperationPlanResponse struct {
	Headers    map[string]*string               `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                           `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *CancelOperationPlanResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (CancelOperationPlanResponse) GoString

func (s CancelOperationPlanResponse) GoString() string

func (*CancelOperationPlanResponse) SetBody

func (*CancelOperationPlanResponse) SetHeaders

func (*CancelOperationPlanResponse) SetStatusCode

func (CancelOperationPlanResponse) String

type CancelOperationPlanResponseBody

type CancelOperationPlanResponseBody struct {
	// The request ID.
	RequestId *string `json:"requestId,omitempty" xml:"requestId,omitempty"`
}

func (CancelOperationPlanResponseBody) GoString

func (*CancelOperationPlanResponseBody) SetRequestId

func (CancelOperationPlanResponseBody) String

type CancelTaskResponse

type CancelTaskResponse struct {
	Headers    map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32             `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
}

func (CancelTaskResponse) GoString

func (s CancelTaskResponse) GoString() string

func (*CancelTaskResponse) SetHeaders

func (s *CancelTaskResponse) SetHeaders(v map[string]*string) *CancelTaskResponse

func (*CancelTaskResponse) SetStatusCode

func (s *CancelTaskResponse) SetStatusCode(v int32) *CancelTaskResponse

func (CancelTaskResponse) String

func (s CancelTaskResponse) String() string

type CancelWorkflowRequest

type CancelWorkflowRequest struct {
	// The operation that you want to perform. Set the value to cancel.
	Action *string `json:"action,omitempty" xml:"action,omitempty"`
}

func (CancelWorkflowRequest) GoString

func (s CancelWorkflowRequest) GoString() string

func (*CancelWorkflowRequest) SetAction

func (CancelWorkflowRequest) String

func (s CancelWorkflowRequest) String() string

type CancelWorkflowResponse

type CancelWorkflowResponse struct {
	Headers    map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32             `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
}

func (CancelWorkflowResponse) GoString

func (s CancelWorkflowResponse) GoString() string

func (*CancelWorkflowResponse) SetHeaders

func (*CancelWorkflowResponse) SetStatusCode

func (CancelWorkflowResponse) String

func (s CancelWorkflowResponse) String() string

type CheckControlPlaneLogEnableResponse

type CheckControlPlaneLogEnableResponse struct {
	Headers    map[string]*string                      `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                  `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *CheckControlPlaneLogEnableResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (CheckControlPlaneLogEnableResponse) GoString

func (*CheckControlPlaneLogEnableResponse) SetHeaders

func (*CheckControlPlaneLogEnableResponse) SetStatusCode

func (CheckControlPlaneLogEnableResponse) String

type CheckControlPlaneLogEnableResponseBody

type CheckControlPlaneLogEnableResponseBody struct {
	// The ID of the Alibaba Cloud account to which the resource belongs.
	Aliuid *string `json:"aliuid,omitempty" xml:"aliuid,omitempty"`
	// The control plane components for which log collection is enabled.
	Components []*string `json:"components,omitempty" xml:"components,omitempty" type:"Repeated"`
	// The name of the Simple Log Service project that you want to use to store the logs of control plane components.
	//
	// Default value: k8s-log-$Cluster ID.
	LogProject *string `json:"log_project,omitempty" xml:"log_project,omitempty"`
	// The retention period of the log data stored in the Logstore. Valid values: 1 to 3000. Unit: days.
	//
	// Default value: 30.
	LogTtl *string `json:"log_ttl,omitempty" xml:"log_ttl,omitempty"`
}

func (CheckControlPlaneLogEnableResponseBody) GoString

func (*CheckControlPlaneLogEnableResponseBody) SetAliuid

func (*CheckControlPlaneLogEnableResponseBody) SetComponents

func (*CheckControlPlaneLogEnableResponseBody) SetLogProject

func (*CheckControlPlaneLogEnableResponseBody) SetLogTtl

func (CheckControlPlaneLogEnableResponseBody) String

type Client

type Client struct {
	openapi.Client
}

func NewClient

func NewClient(config *openapi.Config) (*Client, error)

func (*Client) AttachInstances

func (client *Client) AttachInstances(ClusterId *string, request *AttachInstancesRequest) (_result *AttachInstancesResponse, _err error)

func (*Client) AttachInstancesToNodePool

func (client *Client) AttachInstancesToNodePool(ClusterId *string, NodepoolId *string, request *AttachInstancesToNodePoolRequest) (_result *AttachInstancesToNodePoolResponse, _err error)

func (*Client) AttachInstancesToNodePoolWithOptions

func (client *Client) AttachInstancesToNodePoolWithOptions(ClusterId *string, NodepoolId *string, request *AttachInstancesToNodePoolRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *AttachInstancesToNodePoolResponse, _err error)

func (*Client) AttachInstancesWithOptions

func (client *Client) AttachInstancesWithOptions(ClusterId *string, request *AttachInstancesRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *AttachInstancesResponse, _err error)

func (*Client) CancelClusterUpgrade

func (client *Client) CancelClusterUpgrade(ClusterId *string) (_result *CancelClusterUpgradeResponse, _err error)

*

  • @deprecated *
  • @return CancelClusterUpgradeResponse

Deprecated

func (*Client) CancelClusterUpgradeWithOptions

func (client *Client) CancelClusterUpgradeWithOptions(ClusterId *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *CancelClusterUpgradeResponse, _err error)

*

  • @deprecated *
  • @param headers map
  • @param runtime runtime options for this request RuntimeOptions
  • @return CancelClusterUpgradeResponse

Deprecated

func (*Client) CancelComponentUpgrade

func (client *Client) CancelComponentUpgrade(clusterId *string, componentId *string) (_result *CancelComponentUpgradeResponse, _err error)

func (*Client) CancelComponentUpgradeWithOptions

func (client *Client) CancelComponentUpgradeWithOptions(clusterId *string, componentId *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *CancelComponentUpgradeResponse, _err error)

func (*Client) CancelOperationPlan

func (client *Client) CancelOperationPlan(planId *string) (_result *CancelOperationPlanResponse, _err error)

func (*Client) CancelOperationPlanWithOptions

func (client *Client) CancelOperationPlanWithOptions(planId *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *CancelOperationPlanResponse, _err error)

func (*Client) CancelTask

func (client *Client) CancelTask(taskId *string) (_result *CancelTaskResponse, _err error)

func (*Client) CancelTaskWithOptions

func (client *Client) CancelTaskWithOptions(taskId *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *CancelTaskResponse, _err error)

func (*Client) CancelWorkflow

func (client *Client) CancelWorkflow(workflowName *string, request *CancelWorkflowRequest) (_result *CancelWorkflowResponse, _err error)

func (*Client) CancelWorkflowWithOptions

func (client *Client) CancelWorkflowWithOptions(workflowName *string, request *CancelWorkflowRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *CancelWorkflowResponse, _err error)

func (*Client) CheckControlPlaneLogEnable

func (client *Client) CheckControlPlaneLogEnable(ClusterId *string) (_result *CheckControlPlaneLogEnableResponse, _err error)

func (*Client) CheckControlPlaneLogEnableWithOptions

func (client *Client) CheckControlPlaneLogEnableWithOptions(ClusterId *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *CheckControlPlaneLogEnableResponse, _err error)

func (*Client) CreateAutoscalingConfig

func (client *Client) CreateAutoscalingConfig(ClusterId *string, request *CreateAutoscalingConfigRequest) (_result *CreateAutoscalingConfigResponse, _err error)

func (*Client) CreateAutoscalingConfigWithOptions

func (client *Client) CreateAutoscalingConfigWithOptions(ClusterId *string, request *CreateAutoscalingConfigRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *CreateAutoscalingConfigResponse, _err error)

func (*Client) CreateCluster

func (client *Client) CreateCluster(request *CreateClusterRequest) (_result *CreateClusterResponse, _err error)

*

  • This topic describes all parameters for creating an ACK cluster. You can create the following types of ACK clusters.
  • * [Create an ACK managed cluster](~~90776~~)
  • * [Create an ACK dedicated cluster](~~197620~~)
  • * [Create an ACK Serverless cluster](~~144246~~)
  • * [Create an ACK Edge cluster](~~128204~~)
  • * [Create an ACK Basic cluster that supports sandboxed containers](~~196321~~)
  • * [Create an ACK Pro cluster that supports sandboxed containers](~~140623~~) *
  • @param request CreateClusterRequest
  • @return CreateClusterResponse

func (*Client) CreateClusterNodePool

func (client *Client) CreateClusterNodePool(ClusterId *string, request *CreateClusterNodePoolRequest) (_result *CreateClusterNodePoolResponse, _err error)

func (*Client) CreateClusterNodePoolWithOptions

func (client *Client) CreateClusterNodePoolWithOptions(ClusterId *string, request *CreateClusterNodePoolRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *CreateClusterNodePoolResponse, _err error)

func (*Client) CreateClusterWithOptions

func (client *Client) CreateClusterWithOptions(request *CreateClusterRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *CreateClusterResponse, _err error)

*

  • This topic describes all parameters for creating an ACK cluster. You can create the following types of ACK clusters.
  • * [Create an ACK managed cluster](~~90776~~)
  • * [Create an ACK dedicated cluster](~~197620~~)
  • * [Create an ACK Serverless cluster](~~144246~~)
  • * [Create an ACK Edge cluster](~~128204~~)
  • * [Create an ACK Basic cluster that supports sandboxed containers](~~196321~~)
  • * [Create an ACK Pro cluster that supports sandboxed containers](~~140623~~) *
  • @param request CreateClusterRequest
  • @param headers map
  • @param runtime runtime options for this request RuntimeOptions
  • @return CreateClusterResponse

func (*Client) CreateEdgeMachine

func (client *Client) CreateEdgeMachine(request *CreateEdgeMachineRequest) (_result *CreateEdgeMachineResponse, _err error)

func (*Client) CreateEdgeMachineWithOptions

func (client *Client) CreateEdgeMachineWithOptions(request *CreateEdgeMachineRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *CreateEdgeMachineResponse, _err error)

func (*Client) CreateKubernetesTrigger

func (client *Client) CreateKubernetesTrigger(request *CreateKubernetesTriggerRequest) (_result *CreateKubernetesTriggerResponse, _err error)

func (*Client) CreateKubernetesTriggerWithOptions

func (client *Client) CreateKubernetesTriggerWithOptions(request *CreateKubernetesTriggerRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *CreateKubernetesTriggerResponse, _err error)

func (*Client) CreateTemplate

func (client *Client) CreateTemplate(request *CreateTemplateRequest) (_result *CreateTemplateResponse, _err error)

func (*Client) CreateTemplateWithOptions

func (client *Client) CreateTemplateWithOptions(request *CreateTemplateRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *CreateTemplateResponse, _err error)

func (*Client) CreateTrigger

func (client *Client) CreateTrigger(clusterId *string, request *CreateTriggerRequest) (_result *CreateTriggerResponse, _err error)

func (*Client) CreateTriggerWithOptions

func (client *Client) CreateTriggerWithOptions(clusterId *string, request *CreateTriggerRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *CreateTriggerResponse, _err error)

func (*Client) DeleteAlertContact

func (client *Client) DeleteAlertContact(request *DeleteAlertContactRequest) (_result *DeleteAlertContactResponse, _err error)

func (*Client) DeleteAlertContactGroup

func (client *Client) DeleteAlertContactGroup(request *DeleteAlertContactGroupRequest) (_result *DeleteAlertContactGroupResponse, _err error)

func (*Client) DeleteAlertContactGroupWithOptions

func (client *Client) DeleteAlertContactGroupWithOptions(tmpReq *DeleteAlertContactGroupRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *DeleteAlertContactGroupResponse, _err error)

func (*Client) DeleteAlertContactWithOptions

func (client *Client) DeleteAlertContactWithOptions(tmpReq *DeleteAlertContactRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *DeleteAlertContactResponse, _err error)

func (*Client) DeleteCluster

func (client *Client) DeleteCluster(ClusterId *string, request *DeleteClusterRequest) (_result *DeleteClusterResponse, _err error)

func (*Client) DeleteClusterNodepool

func (client *Client) DeleteClusterNodepool(ClusterId *string, NodepoolId *string, request *DeleteClusterNodepoolRequest) (_result *DeleteClusterNodepoolResponse, _err error)

func (*Client) DeleteClusterNodepoolWithOptions

func (client *Client) DeleteClusterNodepoolWithOptions(ClusterId *string, NodepoolId *string, request *DeleteClusterNodepoolRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *DeleteClusterNodepoolResponse, _err error)

func (*Client) DeleteClusterNodes

func (client *Client) DeleteClusterNodes(ClusterId *string, request *DeleteClusterNodesRequest) (_result *DeleteClusterNodesResponse, _err error)

*

  • >
  • * When you remove a node, the pods that run on the node are migrated to other nodes. This may cause service interruptions. We recommend that you remove nodes during off-peak hours. - The operation may have unexpected risks. Back up the data before you perform this operation. - When the system removes a node, it sets the status of the node to Unschedulable. - The system removes only worker nodes. It does not remove master nodes. *
  • @param request DeleteClusterNodesRequest
  • @return DeleteClusterNodesResponse

func (*Client) DeleteClusterNodesWithOptions

func (client *Client) DeleteClusterNodesWithOptions(ClusterId *string, request *DeleteClusterNodesRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *DeleteClusterNodesResponse, _err error)

*

  • >
  • * When you remove a node, the pods that run on the node are migrated to other nodes. This may cause service interruptions. We recommend that you remove nodes during off-peak hours. - The operation may have unexpected risks. Back up the data before you perform this operation. - When the system removes a node, it sets the status of the node to Unschedulable. - The system removes only worker nodes. It does not remove master nodes. *
  • @param request DeleteClusterNodesRequest
  • @param headers map
  • @param runtime runtime options for this request RuntimeOptions
  • @return DeleteClusterNodesResponse

func (*Client) DeleteClusterWithOptions

func (client *Client) DeleteClusterWithOptions(ClusterId *string, tmpReq *DeleteClusterRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *DeleteClusterResponse, _err error)

func (*Client) DeleteEdgeMachine

func (client *Client) DeleteEdgeMachine(edgeMachineid *string, request *DeleteEdgeMachineRequest) (_result *DeleteEdgeMachineResponse, _err error)

func (*Client) DeleteEdgeMachineWithOptions

func (client *Client) DeleteEdgeMachineWithOptions(edgeMachineid *string, request *DeleteEdgeMachineRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *DeleteEdgeMachineResponse, _err error)

func (*Client) DeleteKubernetesTrigger

func (client *Client) DeleteKubernetesTrigger(Id *string) (_result *DeleteKubernetesTriggerResponse, _err error)

func (*Client) DeleteKubernetesTriggerWithOptions

func (client *Client) DeleteKubernetesTriggerWithOptions(Id *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *DeleteKubernetesTriggerResponse, _err error)

func (*Client) DeletePolicyInstance

func (client *Client) DeletePolicyInstance(clusterId *string, policyName *string, request *DeletePolicyInstanceRequest) (_result *DeletePolicyInstanceResponse, _err error)

func (*Client) DeletePolicyInstanceWithOptions

func (client *Client) DeletePolicyInstanceWithOptions(clusterId *string, policyName *string, request *DeletePolicyInstanceRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *DeletePolicyInstanceResponse, _err error)

func (*Client) DeleteTemplate

func (client *Client) DeleteTemplate(TemplateId *string) (_result *DeleteTemplateResponse, _err error)

func (*Client) DeleteTemplateWithOptions

func (client *Client) DeleteTemplateWithOptions(TemplateId *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *DeleteTemplateResponse, _err error)

func (*Client) DeleteTrigger

func (client *Client) DeleteTrigger(clusterId *string, Id *string) (_result *DeleteTriggerResponse, _err error)

func (*Client) DeleteTriggerWithOptions

func (client *Client) DeleteTriggerWithOptions(clusterId *string, Id *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *DeleteTriggerResponse, _err error)

func (*Client) DeployPolicyInstance

func (client *Client) DeployPolicyInstance(clusterId *string, policyName *string, request *DeployPolicyInstanceRequest) (_result *DeployPolicyInstanceResponse, _err error)

func (*Client) DeployPolicyInstanceWithOptions

func (client *Client) DeployPolicyInstanceWithOptions(clusterId *string, policyName *string, request *DeployPolicyInstanceRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *DeployPolicyInstanceResponse, _err error)

func (*Client) DescirbeWorkflow

func (client *Client) DescirbeWorkflow(workflowName *string) (_result *DescirbeWorkflowResponse, _err error)

func (*Client) DescirbeWorkflowWithOptions

func (client *Client) DescirbeWorkflowWithOptions(workflowName *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *DescirbeWorkflowResponse, _err error)

func (*Client) DescribeAddon

func (client *Client) DescribeAddon(addonName *string, request *DescribeAddonRequest) (_result *DescribeAddonResponse, _err error)

func (*Client) DescribeAddonWithOptions

func (client *Client) DescribeAddonWithOptions(addonName *string, request *DescribeAddonRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *DescribeAddonResponse, _err error)

func (*Client) DescribeAddons

func (client *Client) DescribeAddons(request *DescribeAddonsRequest) (_result *DescribeAddonsResponse, _err error)

*

  • @deprecated *
  • @param request DescribeAddonsRequest
  • @return DescribeAddonsResponse

Deprecated

func (*Client) DescribeAddonsWithOptions

func (client *Client) DescribeAddonsWithOptions(request *DescribeAddonsRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *DescribeAddonsResponse, _err error)

*

  • @deprecated *
  • @param request DescribeAddonsRequest
  • @param headers map
  • @param runtime runtime options for this request RuntimeOptions
  • @return DescribeAddonsResponse

Deprecated

func (*Client) DescribeClusterAddonInstance

func (client *Client) DescribeClusterAddonInstance(ClusterID *string, AddonName *string) (_result *DescribeClusterAddonInstanceResponse, _err error)

*

  • @deprecated *
  • @return DescribeClusterAddonInstanceResponse

Deprecated

func (*Client) DescribeClusterAddonInstanceWithOptions

func (client *Client) DescribeClusterAddonInstanceWithOptions(ClusterID *string, AddonName *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *DescribeClusterAddonInstanceResponse, _err error)

*

  • @deprecated *
  • @param headers map
  • @param runtime runtime options for this request RuntimeOptions
  • @return DescribeClusterAddonInstanceResponse

Deprecated

func (*Client) DescribeClusterAddonMetadata

func (client *Client) DescribeClusterAddonMetadata(clusterId *string, componentId *string, request *DescribeClusterAddonMetadataRequest) (_result *DescribeClusterAddonMetadataResponse, _err error)

*

  • @deprecated *
  • @param request DescribeClusterAddonMetadataRequest
  • @return DescribeClusterAddonMetadataResponse

Deprecated

func (*Client) DescribeClusterAddonMetadataWithOptions

func (client *Client) DescribeClusterAddonMetadataWithOptions(clusterId *string, componentId *string, request *DescribeClusterAddonMetadataRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *DescribeClusterAddonMetadataResponse, _err error)

*

  • @deprecated *
  • @param request DescribeClusterAddonMetadataRequest
  • @param headers map
  • @param runtime runtime options for this request RuntimeOptions
  • @return DescribeClusterAddonMetadataResponse

Deprecated

func (*Client) DescribeClusterAddonUpgradeStatus

func (client *Client) DescribeClusterAddonUpgradeStatus(ClusterId *string, ComponentId *string) (_result *DescribeClusterAddonUpgradeStatusResponse, _err error)

*

  • @deprecated *
  • @return DescribeClusterAddonUpgradeStatusResponse

Deprecated

func (*Client) DescribeClusterAddonUpgradeStatusWithOptions

func (client *Client) DescribeClusterAddonUpgradeStatusWithOptions(ClusterId *string, ComponentId *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *DescribeClusterAddonUpgradeStatusResponse, _err error)

*

  • @deprecated *
  • @param headers map
  • @param runtime runtime options for this request RuntimeOptions
  • @return DescribeClusterAddonUpgradeStatusResponse

Deprecated

func (*Client) DescribeClusterAddonsUpgradeStatus

func (client *Client) DescribeClusterAddonsUpgradeStatus(ClusterId *string, request *DescribeClusterAddonsUpgradeStatusRequest) (_result *DescribeClusterAddonsUpgradeStatusResponse, _err error)

*

  • @deprecated *
  • @param request DescribeClusterAddonsUpgradeStatusRequest
  • @return DescribeClusterAddonsUpgradeStatusResponse

Deprecated

func (*Client) DescribeClusterAddonsUpgradeStatusWithOptions

func (client *Client) DescribeClusterAddonsUpgradeStatusWithOptions(ClusterId *string, tmpReq *DescribeClusterAddonsUpgradeStatusRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *DescribeClusterAddonsUpgradeStatusResponse, _err error)

*

  • @deprecated *
  • @param tmpReq DescribeClusterAddonsUpgradeStatusRequest
  • @param headers map
  • @param runtime runtime options for this request RuntimeOptions
  • @return DescribeClusterAddonsUpgradeStatusResponse

Deprecated

func (*Client) DescribeClusterAddonsVersion

func (client *Client) DescribeClusterAddonsVersion(ClusterId *string) (_result *DescribeClusterAddonsVersionResponse, _err error)

*

  • @deprecated *
  • @return DescribeClusterAddonsVersionResponse

Deprecated

func (*Client) DescribeClusterAddonsVersionWithOptions

func (client *Client) DescribeClusterAddonsVersionWithOptions(ClusterId *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *DescribeClusterAddonsVersionResponse, _err error)

*

  • @deprecated *
  • @param headers map
  • @param runtime runtime options for this request RuntimeOptions
  • @return DescribeClusterAddonsVersionResponse

Deprecated

func (*Client) DescribeClusterAttachScripts

func (client *Client) DescribeClusterAttachScripts(ClusterId *string, request *DescribeClusterAttachScriptsRequest) (_result *DescribeClusterAttachScriptsResponse, _err error)

func (*Client) DescribeClusterAttachScriptsWithOptions

func (client *Client) DescribeClusterAttachScriptsWithOptions(ClusterId *string, request *DescribeClusterAttachScriptsRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *DescribeClusterAttachScriptsResponse, _err error)

func (*Client) DescribeClusterDetail

func (client *Client) DescribeClusterDetail(ClusterId *string) (_result *DescribeClusterDetailResponse, _err error)

func (*Client) DescribeClusterDetailWithOptions

func (client *Client) DescribeClusterDetailWithOptions(ClusterId *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *DescribeClusterDetailResponse, _err error)

func (*Client) DescribeClusterEvents

func (client *Client) DescribeClusterEvents(ClusterId *string, request *DescribeClusterEventsRequest) (_result *DescribeClusterEventsResponse, _err error)

func (*Client) DescribeClusterEventsWithOptions

func (client *Client) DescribeClusterEventsWithOptions(ClusterId *string, request *DescribeClusterEventsRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *DescribeClusterEventsResponse, _err error)

func (*Client) DescribeClusterLogs

func (client *Client) DescribeClusterLogs(ClusterId *string) (_result *DescribeClusterLogsResponse, _err error)

func (*Client) DescribeClusterLogsWithOptions

func (client *Client) DescribeClusterLogsWithOptions(ClusterId *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *DescribeClusterLogsResponse, _err error)

func (*Client) DescribeClusterNodePoolDetail

func (client *Client) DescribeClusterNodePoolDetail(ClusterId *string, NodepoolId *string) (_result *DescribeClusterNodePoolDetailResponse, _err error)

func (*Client) DescribeClusterNodePoolDetailWithOptions

func (client *Client) DescribeClusterNodePoolDetailWithOptions(ClusterId *string, NodepoolId *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *DescribeClusterNodePoolDetailResponse, _err error)

func (*Client) DescribeClusterNodePools

func (client *Client) DescribeClusterNodePools(ClusterId *string, request *DescribeClusterNodePoolsRequest) (_result *DescribeClusterNodePoolsResponse, _err error)

func (*Client) DescribeClusterNodePoolsWithOptions

func (client *Client) DescribeClusterNodePoolsWithOptions(ClusterId *string, request *DescribeClusterNodePoolsRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *DescribeClusterNodePoolsResponse, _err error)

func (*Client) DescribeClusterNodes

func (client *Client) DescribeClusterNodes(ClusterId *string, request *DescribeClusterNodesRequest) (_result *DescribeClusterNodesResponse, _err error)

func (*Client) DescribeClusterNodesWithOptions

func (client *Client) DescribeClusterNodesWithOptions(ClusterId *string, request *DescribeClusterNodesRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *DescribeClusterNodesResponse, _err error)

func (*Client) DescribeClusterResources

func (client *Client) DescribeClusterResources(ClusterId *string, request *DescribeClusterResourcesRequest) (_result *DescribeClusterResourcesResponse, _err error)

func (*Client) DescribeClusterResourcesWithOptions

func (client *Client) DescribeClusterResourcesWithOptions(ClusterId *string, request *DescribeClusterResourcesRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *DescribeClusterResourcesResponse, _err error)

func (*Client) DescribeClusterTasks

func (client *Client) DescribeClusterTasks(clusterId *string, request *DescribeClusterTasksRequest) (_result *DescribeClusterTasksResponse, _err error)

func (*Client) DescribeClusterTasksWithOptions

func (client *Client) DescribeClusterTasksWithOptions(clusterId *string, request *DescribeClusterTasksRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *DescribeClusterTasksResponse, _err error)

func (*Client) DescribeClusterUserKubeconfig

func (client *Client) DescribeClusterUserKubeconfig(ClusterId *string, request *DescribeClusterUserKubeconfigRequest) (_result *DescribeClusterUserKubeconfigResponse, _err error)

*

  • **
  • ****The default validity period of a kubeconfig file is 3 years. Two months before a kubeconfig file expires, you can renew it in the Container Service for Kubernetes (ACK) console or by calling API operations. After a kubeconfig file is renewed, the secret is valid for 3 years. The previous kubeconfig secret remains valid until expiration. We recommend that you renew your kubeconfig file at the earliest opportunity. *
  • @param request DescribeClusterUserKubeconfigRequest
  • @return DescribeClusterUserKubeconfigResponse

func (*Client) DescribeClusterUserKubeconfigWithOptions

func (client *Client) DescribeClusterUserKubeconfigWithOptions(ClusterId *string, request *DescribeClusterUserKubeconfigRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *DescribeClusterUserKubeconfigResponse, _err error)

*

  • **
  • ****The default validity period of a kubeconfig file is 3 years. Two months before a kubeconfig file expires, you can renew it in the Container Service for Kubernetes (ACK) console or by calling API operations. After a kubeconfig file is renewed, the secret is valid for 3 years. The previous kubeconfig secret remains valid until expiration. We recommend that you renew your kubeconfig file at the earliest opportunity. *
  • @param request DescribeClusterUserKubeconfigRequest
  • @param headers map
  • @param runtime runtime options for this request RuntimeOptions
  • @return DescribeClusterUserKubeconfigResponse

func (*Client) DescribeClusterV2UserKubeconfig

func (client *Client) DescribeClusterV2UserKubeconfig(ClusterId *string, request *DescribeClusterV2UserKubeconfigRequest) (_result *DescribeClusterV2UserKubeconfigResponse, _err error)

*

  • @deprecated *
  • @param request DescribeClusterV2UserKubeconfigRequest
  • @return DescribeClusterV2UserKubeconfigResponse

Deprecated

func (*Client) DescribeClusterV2UserKubeconfigWithOptions

func (client *Client) DescribeClusterV2UserKubeconfigWithOptions(ClusterId *string, request *DescribeClusterV2UserKubeconfigRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *DescribeClusterV2UserKubeconfigResponse, _err error)

*

  • @deprecated *
  • @param request DescribeClusterV2UserKubeconfigRequest
  • @param headers map
  • @param runtime runtime options for this request RuntimeOptions
  • @return DescribeClusterV2UserKubeconfigResponse

Deprecated

func (*Client) DescribeClusterVuls

func (client *Client) DescribeClusterVuls(clusterId *string) (_result *DescribeClusterVulsResponse, _err error)

func (*Client) DescribeClusterVulsWithOptions

func (client *Client) DescribeClusterVulsWithOptions(clusterId *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *DescribeClusterVulsResponse, _err error)

func (*Client) DescribeClusters

func (client *Client) DescribeClusters(request *DescribeClustersRequest) (_result *DescribeClustersResponse, _err error)

*

  • @deprecated *
  • @param request DescribeClustersRequest
  • @return DescribeClustersResponse

Deprecated

func (*Client) DescribeClustersV1

func (client *Client) DescribeClustersV1(request *DescribeClustersV1Request) (_result *DescribeClustersV1Response, _err error)

func (*Client) DescribeClustersV1WithOptions

func (client *Client) DescribeClustersV1WithOptions(request *DescribeClustersV1Request, headers map[string]*string, runtime *util.RuntimeOptions) (_result *DescribeClustersV1Response, _err error)

func (*Client) DescribeClustersWithOptions

func (client *Client) DescribeClustersWithOptions(request *DescribeClustersRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *DescribeClustersResponse, _err error)

*

  • @deprecated *
  • @param request DescribeClustersRequest
  • @param headers map
  • @param runtime runtime options for this request RuntimeOptions
  • @return DescribeClustersResponse

Deprecated

func (*Client) DescribeEdgeMachineActiveProcess

func (client *Client) DescribeEdgeMachineActiveProcess(edgeMachineid *string) (_result *DescribeEdgeMachineActiveProcessResponse, _err error)

func (*Client) DescribeEdgeMachineActiveProcessWithOptions

func (client *Client) DescribeEdgeMachineActiveProcessWithOptions(edgeMachineid *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *DescribeEdgeMachineActiveProcessResponse, _err error)

func (*Client) DescribeEdgeMachineModels

func (client *Client) DescribeEdgeMachineModels() (_result *DescribeEdgeMachineModelsResponse, _err error)

func (*Client) DescribeEdgeMachineModelsWithOptions

func (client *Client) DescribeEdgeMachineModelsWithOptions(headers map[string]*string, runtime *util.RuntimeOptions) (_result *DescribeEdgeMachineModelsResponse, _err error)

func (*Client) DescribeEdgeMachineTunnelConfigDetail

func (client *Client) DescribeEdgeMachineTunnelConfigDetail(edgeMachineid *string) (_result *DescribeEdgeMachineTunnelConfigDetailResponse, _err error)

func (*Client) DescribeEdgeMachineTunnelConfigDetailWithOptions

func (client *Client) DescribeEdgeMachineTunnelConfigDetailWithOptions(edgeMachineid *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *DescribeEdgeMachineTunnelConfigDetailResponse, _err error)

func (*Client) DescribeEdgeMachines

func (client *Client) DescribeEdgeMachines(request *DescribeEdgeMachinesRequest) (_result *DescribeEdgeMachinesResponse, _err error)

func (*Client) DescribeEdgeMachinesWithOptions

func (client *Client) DescribeEdgeMachinesWithOptions(request *DescribeEdgeMachinesRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *DescribeEdgeMachinesResponse, _err error)

func (*Client) DescribeEvents

func (client *Client) DescribeEvents(request *DescribeEventsRequest) (_result *DescribeEventsResponse, _err error)

func (*Client) DescribeEventsWithOptions

func (client *Client) DescribeEventsWithOptions(request *DescribeEventsRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *DescribeEventsResponse, _err error)

func (*Client) DescribeExternalAgent

func (client *Client) DescribeExternalAgent(ClusterId *string, request *DescribeExternalAgentRequest) (_result *DescribeExternalAgentResponse, _err error)

*

  • For more information, see [Register an external Kubernetes cluster](~~121053~~). *
  • @param request DescribeExternalAgentRequest
  • @return DescribeExternalAgentResponse

func (*Client) DescribeExternalAgentWithOptions

func (client *Client) DescribeExternalAgentWithOptions(ClusterId *string, request *DescribeExternalAgentRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *DescribeExternalAgentResponse, _err error)

*

  • For more information, see [Register an external Kubernetes cluster](~~121053~~). *
  • @param request DescribeExternalAgentRequest
  • @param headers map
  • @param runtime runtime options for this request RuntimeOptions
  • @return DescribeExternalAgentResponse

func (*Client) DescribeKubernetesVersionMetadata

func (client *Client) DescribeKubernetesVersionMetadata(request *DescribeKubernetesVersionMetadataRequest) (_result *DescribeKubernetesVersionMetadataResponse, _err error)

func (*Client) DescribeKubernetesVersionMetadataWithOptions

func (client *Client) DescribeKubernetesVersionMetadataWithOptions(request *DescribeKubernetesVersionMetadataRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *DescribeKubernetesVersionMetadataResponse, _err error)

func (*Client) DescribeNodePoolVuls

func (client *Client) DescribeNodePoolVuls(clusterId *string, nodepoolId *string, request *DescribeNodePoolVulsRequest) (_result *DescribeNodePoolVulsResponse, _err error)

func (*Client) DescribeNodePoolVulsWithOptions

func (client *Client) DescribeNodePoolVulsWithOptions(clusterId *string, nodepoolId *string, request *DescribeNodePoolVulsRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *DescribeNodePoolVulsResponse, _err error)

func (*Client) DescribePolicies

func (client *Client) DescribePolicies() (_result *DescribePoliciesResponse, _err error)

func (*Client) DescribePoliciesWithOptions

func (client *Client) DescribePoliciesWithOptions(headers map[string]*string, runtime *util.RuntimeOptions) (_result *DescribePoliciesResponse, _err error)

func (*Client) DescribePolicyDetails

func (client *Client) DescribePolicyDetails(policyName *string) (_result *DescribePolicyDetailsResponse, _err error)

func (*Client) DescribePolicyDetailsWithOptions

func (client *Client) DescribePolicyDetailsWithOptions(policyName *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *DescribePolicyDetailsResponse, _err error)

func (*Client) DescribePolicyGovernanceInCluster

func (client *Client) DescribePolicyGovernanceInCluster(clusterId *string) (_result *DescribePolicyGovernanceInClusterResponse, _err error)

func (*Client) DescribePolicyGovernanceInClusterWithOptions

func (client *Client) DescribePolicyGovernanceInClusterWithOptions(clusterId *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *DescribePolicyGovernanceInClusterResponse, _err error)

func (*Client) DescribePolicyInstances

func (client *Client) DescribePolicyInstances(clusterId *string, request *DescribePolicyInstancesRequest) (_result *DescribePolicyInstancesResponse, _err error)

func (*Client) DescribePolicyInstancesStatus

func (client *Client) DescribePolicyInstancesStatus(clusterId *string) (_result *DescribePolicyInstancesStatusResponse, _err error)

func (*Client) DescribePolicyInstancesStatusWithOptions

func (client *Client) DescribePolicyInstancesStatusWithOptions(clusterId *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *DescribePolicyInstancesStatusResponse, _err error)

func (*Client) DescribePolicyInstancesWithOptions

func (client *Client) DescribePolicyInstancesWithOptions(clusterId *string, request *DescribePolicyInstancesRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *DescribePolicyInstancesResponse, _err error)

func (*Client) DescribeSubaccountK8sClusterUserConfig

func (client *Client) DescribeSubaccountK8sClusterUserConfig(ClusterId *string, Uid *string, request *DescribeSubaccountK8sClusterUserConfigRequest) (_result *DescribeSubaccountK8sClusterUserConfigResponse, _err error)

*

  • **
  • ****Only Alibaba Cloud accounts can call this API operation. *
  • @param request DescribeSubaccountK8sClusterUserConfigRequest
  • @return DescribeSubaccountK8sClusterUserConfigResponse

func (*Client) DescribeSubaccountK8sClusterUserConfigWithOptions

func (client *Client) DescribeSubaccountK8sClusterUserConfigWithOptions(ClusterId *string, Uid *string, request *DescribeSubaccountK8sClusterUserConfigRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *DescribeSubaccountK8sClusterUserConfigResponse, _err error)

*

  • **
  • ****Only Alibaba Cloud accounts can call this API operation. *
  • @param request DescribeSubaccountK8sClusterUserConfigRequest
  • @param headers map
  • @param runtime runtime options for this request RuntimeOptions
  • @return DescribeSubaccountK8sClusterUserConfigResponse

func (*Client) DescribeTaskInfo

func (client *Client) DescribeTaskInfo(taskId *string) (_result *DescribeTaskInfoResponse, _err error)

func (*Client) DescribeTaskInfoWithOptions

func (client *Client) DescribeTaskInfoWithOptions(taskId *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *DescribeTaskInfoResponse, _err error)

func (*Client) DescribeTemplateAttribute

func (client *Client) DescribeTemplateAttribute(TemplateId *string, request *DescribeTemplateAttributeRequest) (_result *DescribeTemplateAttributeResponse, _err error)

func (*Client) DescribeTemplateAttributeWithOptions

func (client *Client) DescribeTemplateAttributeWithOptions(TemplateId *string, request *DescribeTemplateAttributeRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *DescribeTemplateAttributeResponse, _err error)

func (*Client) DescribeTemplates

func (client *Client) DescribeTemplates(request *DescribeTemplatesRequest) (_result *DescribeTemplatesResponse, _err error)

func (*Client) DescribeTemplatesWithOptions

func (client *Client) DescribeTemplatesWithOptions(request *DescribeTemplatesRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *DescribeTemplatesResponse, _err error)

func (*Client) DescribeTrigger

func (client *Client) DescribeTrigger(clusterId *string, request *DescribeTriggerRequest) (_result *DescribeTriggerResponse, _err error)

func (*Client) DescribeTriggerWithOptions

func (client *Client) DescribeTriggerWithOptions(clusterId *string, request *DescribeTriggerRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *DescribeTriggerResponse, _err error)

func (*Client) DescribeUserClusterNamespaces

func (client *Client) DescribeUserClusterNamespaces(ClusterId *string) (_result *DescribeUserClusterNamespacesResponse, _err error)

func (*Client) DescribeUserClusterNamespacesWithOptions

func (client *Client) DescribeUserClusterNamespacesWithOptions(ClusterId *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *DescribeUserClusterNamespacesResponse, _err error)

func (*Client) DescribeUserPermission

func (client *Client) DescribeUserPermission(uid *string) (_result *DescribeUserPermissionResponse, _err error)

func (*Client) DescribeUserPermissionWithOptions

func (client *Client) DescribeUserPermissionWithOptions(uid *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *DescribeUserPermissionResponse, _err error)

func (*Client) DescribeUserQuota

func (client *Client) DescribeUserQuota() (_result *DescribeUserQuotaResponse, _err error)

func (*Client) DescribeUserQuotaWithOptions

func (client *Client) DescribeUserQuotaWithOptions(headers map[string]*string, runtime *util.RuntimeOptions) (_result *DescribeUserQuotaResponse, _err error)

func (*Client) DescribeWorkflows

func (client *Client) DescribeWorkflows() (_result *DescribeWorkflowsResponse, _err error)

func (*Client) DescribeWorkflowsWithOptions

func (client *Client) DescribeWorkflowsWithOptions(headers map[string]*string, runtime *util.RuntimeOptions) (_result *DescribeWorkflowsResponse, _err error)

func (*Client) EdgeClusterAddEdgeMachine

func (client *Client) EdgeClusterAddEdgeMachine(clusterid *string, edgeMachineid *string, request *EdgeClusterAddEdgeMachineRequest) (_result *EdgeClusterAddEdgeMachineResponse, _err error)

func (*Client) EdgeClusterAddEdgeMachineWithOptions

func (client *Client) EdgeClusterAddEdgeMachineWithOptions(clusterid *string, edgeMachineid *string, request *EdgeClusterAddEdgeMachineRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *EdgeClusterAddEdgeMachineResponse, _err error)

func (*Client) FixNodePoolVuls

func (client *Client) FixNodePoolVuls(clusterId *string, nodepoolId *string, request *FixNodePoolVulsRequest) (_result *FixNodePoolVulsResponse, _err error)

*

  • 1. The Common Vulnerabilities and Exposures (CVE) patching feature is developed based on Security Center. To use this feature, you must purchase the Security Center Ultimate Edition that supports Container Service for Kubernetes (ACK).
  • 2. ACK may need to restart nodes to patch certain vulnerabilities. ACK drains a node before the node restarts. Make sure that the ACK cluster has sufficient idle nodes to host the pods evicted from the trained nodes. For example, you can scale out a node pool before you patch vulnerabilities for the nodes in the node pool.
  • 3. Security Center ensures the compatibility of CVE patches. We recommend that you check the compatibility of a CVE patch with your application before you install the patch. You can pause or cancel a CVE patching task anytime.
  • 4. CVE patching is a progressive task that consists of multiple batches. After you pause or cancel a CVE patching task, ACK continues to process the dispatched batches. Only the batches that have not been dispatched are paused or canceled. *
  • @param request FixNodePoolVulsRequest
  • @return FixNodePoolVulsResponse

func (*Client) FixNodePoolVulsWithOptions

func (client *Client) FixNodePoolVulsWithOptions(clusterId *string, nodepoolId *string, request *FixNodePoolVulsRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *FixNodePoolVulsResponse, _err error)

*

  • 1. The Common Vulnerabilities and Exposures (CVE) patching feature is developed based on Security Center. To use this feature, you must purchase the Security Center Ultimate Edition that supports Container Service for Kubernetes (ACK).
  • 2. ACK may need to restart nodes to patch certain vulnerabilities. ACK drains a node before the node restarts. Make sure that the ACK cluster has sufficient idle nodes to host the pods evicted from the trained nodes. For example, you can scale out a node pool before you patch vulnerabilities for the nodes in the node pool.
  • 3. Security Center ensures the compatibility of CVE patches. We recommend that you check the compatibility of a CVE patch with your application before you install the patch. You can pause or cancel a CVE patching task anytime.
  • 4. CVE patching is a progressive task that consists of multiple batches. After you pause or cancel a CVE patching task, ACK continues to process the dispatched batches. Only the batches that have not been dispatched are paused or canceled. *
  • @param request FixNodePoolVulsRequest
  • @param headers map
  • @param runtime runtime options for this request RuntimeOptions
  • @return FixNodePoolVulsResponse

func (*Client) GetClusterAddonInstance

func (client *Client) GetClusterAddonInstance(clusterId *string, instanceName *string) (_result *GetClusterAddonInstanceResponse, _err error)

func (*Client) GetClusterAddonInstanceWithOptions

func (client *Client) GetClusterAddonInstanceWithOptions(clusterId *string, instanceName *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *GetClusterAddonInstanceResponse, _err error)

func (*Client) GetClusterCheck

func (client *Client) GetClusterCheck(clusterId *string, checkId *string) (_result *GetClusterCheckResponse, _err error)

func (*Client) GetClusterCheckWithOptions

func (client *Client) GetClusterCheckWithOptions(clusterId *string, checkId *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *GetClusterCheckResponse, _err error)

func (*Client) GetEndpoint

func (client *Client) GetEndpoint(productId *string, regionId *string, endpointRule *string, network *string, suffix *string, endpointMap map[string]*string, endpoint *string) (_result *string, _err error)

func (*Client) GetKubernetesTrigger

func (client *Client) GetKubernetesTrigger(ClusterId *string, request *GetKubernetesTriggerRequest) (_result *GetKubernetesTriggerResponse, _err error)

func (*Client) GetKubernetesTriggerWithOptions

func (client *Client) GetKubernetesTriggerWithOptions(ClusterId *string, request *GetKubernetesTriggerRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *GetKubernetesTriggerResponse, _err error)

func (*Client) GetUpgradeStatus

func (client *Client) GetUpgradeStatus(ClusterId *string) (_result *GetUpgradeStatusResponse, _err error)

func (*Client) GetUpgradeStatusWithOptions

func (client *Client) GetUpgradeStatusWithOptions(ClusterId *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *GetUpgradeStatusResponse, _err error)

func (*Client) GrantPermissions

func (client *Client) GrantPermissions(uid *string, request *GrantPermissionsRequest) (_result *GrantPermissionsResponse, _err error)

*

  • ****
  • * Make sure that you have granted the RAM user at least read-only permissions on the desired ACK clusters in the RAM console. Otherwise, the `ErrorRamPolicyConfig` error code is returned. For more information about how to authorize a RAM user by attaching RAM policies, see [Create a custom RAM policy](~~86485~~).
  • * If you use a RAM user to call this API operation, make sure that the RAM user is authorized to modify the permissions of other RAM users on the desired ACK clusters. Otherwise, the `StatusForbidden` or `ForbiddenGrantPermissions` error code is returned. For more information, see [Use a RAM user to grant RBAC permissions to other RAM users](~~119035~~).
  • * This operation overwrites the permissions that have been granted to the specified RAM user. When you call this operation, make sure that the required permissions are included. *
  • @param request GrantPermissionsRequest
  • @return GrantPermissionsResponse

func (*Client) GrantPermissionsWithOptions

func (client *Client) GrantPermissionsWithOptions(uid *string, request *GrantPermissionsRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *GrantPermissionsResponse, _err error)

*

  • ****
  • * Make sure that you have granted the RAM user at least read-only permissions on the desired ACK clusters in the RAM console. Otherwise, the `ErrorRamPolicyConfig` error code is returned. For more information about how to authorize a RAM user by attaching RAM policies, see [Create a custom RAM policy](~~86485~~).
  • * If you use a RAM user to call this API operation, make sure that the RAM user is authorized to modify the permissions of other RAM users on the desired ACK clusters. Otherwise, the `StatusForbidden` or `ForbiddenGrantPermissions` error code is returned. For more information, see [Use a RAM user to grant RBAC permissions to other RAM users](~~119035~~).
  • * This operation overwrites the permissions that have been granted to the specified RAM user. When you call this operation, make sure that the required permissions are included. *
  • @param request GrantPermissionsRequest
  • @param headers map
  • @param runtime runtime options for this request RuntimeOptions
  • @return GrantPermissionsResponse

func (*Client) Init

func (client *Client) Init(config *openapi.Config) (_err error)

func (*Client) InstallClusterAddons

func (client *Client) InstallClusterAddons(ClusterId *string, request *InstallClusterAddonsRequest) (_result *InstallClusterAddonsResponse, _err error)

func (*Client) InstallClusterAddonsWithOptions

func (client *Client) InstallClusterAddonsWithOptions(ClusterId *string, request *InstallClusterAddonsRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *InstallClusterAddonsResponse, _err error)

func (*Client) ListAddons

func (client *Client) ListAddons(request *ListAddonsRequest) (_result *ListAddonsResponse, _err error)

func (*Client) ListAddonsWithOptions

func (client *Client) ListAddonsWithOptions(request *ListAddonsRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *ListAddonsResponse, _err error)

func (*Client) ListClusterAddonInstances

func (client *Client) ListClusterAddonInstances(clusterId *string) (_result *ListClusterAddonInstancesResponse, _err error)

func (*Client) ListClusterAddonInstancesWithOptions

func (client *Client) ListClusterAddonInstancesWithOptions(clusterId *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *ListClusterAddonInstancesResponse, _err error)

func (*Client) ListClusterChecks

func (client *Client) ListClusterChecks(clusterId *string, request *ListClusterChecksRequest) (_result *ListClusterChecksResponse, _err error)

func (*Client) ListClusterChecksWithOptions

func (client *Client) ListClusterChecksWithOptions(clusterId *string, request *ListClusterChecksRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *ListClusterChecksResponse, _err error)

func (*Client) ListOperationPlans

func (client *Client) ListOperationPlans(request *ListOperationPlansRequest) (_result *ListOperationPlansResponse, _err error)

func (*Client) ListOperationPlansWithOptions

func (client *Client) ListOperationPlansWithOptions(request *ListOperationPlansRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *ListOperationPlansResponse, _err error)

func (*Client) ListTagResources

func (client *Client) ListTagResources(request *ListTagResourcesRequest) (_result *ListTagResourcesResponse, _err error)

func (*Client) ListTagResourcesWithOptions

func (client *Client) ListTagResourcesWithOptions(tmpReq *ListTagResourcesRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *ListTagResourcesResponse, _err error)

func (*Client) MigrateCluster

func (client *Client) MigrateCluster(clusterId *string, request *MigrateClusterRequest) (_result *MigrateClusterResponse, _err error)

func (*Client) MigrateClusterWithOptions

func (client *Client) MigrateClusterWithOptions(clusterId *string, request *MigrateClusterRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *MigrateClusterResponse, _err error)

func (*Client) ModifyCluster

func (client *Client) ModifyCluster(ClusterId *string, request *ModifyClusterRequest) (_result *ModifyClusterResponse, _err error)

func (*Client) ModifyClusterAddon

func (client *Client) ModifyClusterAddon(clusterId *string, componentId *string, request *ModifyClusterAddonRequest) (_result *ModifyClusterAddonResponse, _err error)

*

func (*Client) ModifyClusterAddonWithOptions

func (client *Client) ModifyClusterAddonWithOptions(clusterId *string, componentId *string, request *ModifyClusterAddonRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *ModifyClusterAddonResponse, _err error)

*

func (*Client) ModifyClusterConfiguration

func (client *Client) ModifyClusterConfiguration(ClusterId *string, request *ModifyClusterConfigurationRequest) (_result *ModifyClusterConfigurationResponse, _err error)

func (*Client) ModifyClusterConfigurationWithOptions

func (client *Client) ModifyClusterConfigurationWithOptions(ClusterId *string, request *ModifyClusterConfigurationRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *ModifyClusterConfigurationResponse, _err error)

func (*Client) ModifyClusterNodePool

func (client *Client) ModifyClusterNodePool(ClusterId *string, NodepoolId *string, request *ModifyClusterNodePoolRequest) (_result *ModifyClusterNodePoolResponse, _err error)

func (*Client) ModifyClusterNodePoolWithOptions

func (client *Client) ModifyClusterNodePoolWithOptions(ClusterId *string, NodepoolId *string, request *ModifyClusterNodePoolRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *ModifyClusterNodePoolResponse, _err error)

func (*Client) ModifyClusterTags

func (client *Client) ModifyClusterTags(ClusterId *string, request *ModifyClusterTagsRequest) (_result *ModifyClusterTagsResponse, _err error)

func (*Client) ModifyClusterTagsWithOptions

func (client *Client) ModifyClusterTagsWithOptions(ClusterId *string, request *ModifyClusterTagsRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *ModifyClusterTagsResponse, _err error)

func (*Client) ModifyClusterWithOptions

func (client *Client) ModifyClusterWithOptions(ClusterId *string, request *ModifyClusterRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *ModifyClusterResponse, _err error)

func (*Client) ModifyNodePoolNodeConfig

func (client *Client) ModifyNodePoolNodeConfig(ClusterId *string, NodepoolId *string, request *ModifyNodePoolNodeConfigRequest) (_result *ModifyNodePoolNodeConfigResponse, _err error)

*

  • > Container Service for Kubernetes (ACK) allows you to modify the kubelet configuration of nodes in a node pool. After you modify the kubelet configuration, the new configuration immediately takes effect on existing nodes in the node pool and is automatically applied to newly added nodes. *
  • @param request ModifyNodePoolNodeConfigRequest
  • @return ModifyNodePoolNodeConfigResponse

func (*Client) ModifyNodePoolNodeConfigWithOptions

func (client *Client) ModifyNodePoolNodeConfigWithOptions(ClusterId *string, NodepoolId *string, request *ModifyNodePoolNodeConfigRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *ModifyNodePoolNodeConfigResponse, _err error)

*

  • > Container Service for Kubernetes (ACK) allows you to modify the kubelet configuration of nodes in a node pool. After you modify the kubelet configuration, the new configuration immediately takes effect on existing nodes in the node pool and is automatically applied to newly added nodes. *
  • @param request ModifyNodePoolNodeConfigRequest
  • @param headers map
  • @param runtime runtime options for this request RuntimeOptions
  • @return ModifyNodePoolNodeConfigResponse

func (*Client) ModifyPolicyInstance

func (client *Client) ModifyPolicyInstance(clusterId *string, policyName *string, request *ModifyPolicyInstanceRequest) (_result *ModifyPolicyInstanceResponse, _err error)

func (*Client) ModifyPolicyInstanceWithOptions

func (client *Client) ModifyPolicyInstanceWithOptions(clusterId *string, policyName *string, request *ModifyPolicyInstanceRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *ModifyPolicyInstanceResponse, _err error)

func (*Client) OpenAckService

func (client *Client) OpenAckService(request *OpenAckServiceRequest) (_result *OpenAckServiceResponse, _err error)

*

  • * You can activate ACK by using Alibaba Cloud accounts.
  • * To activate ACK by using RAM users, you need to grant the AdministratorAccess permission to the RAM users. *
  • @param request OpenAckServiceRequest
  • @return OpenAckServiceResponse

func (*Client) OpenAckServiceWithOptions

func (client *Client) OpenAckServiceWithOptions(request *OpenAckServiceRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *OpenAckServiceResponse, _err error)

*

  • * You can activate ACK by using Alibaba Cloud accounts.
  • * To activate ACK by using RAM users, you need to grant the AdministratorAccess permission to the RAM users. *
  • @param request OpenAckServiceRequest
  • @param headers map
  • @param runtime runtime options for this request RuntimeOptions
  • @return OpenAckServiceResponse

func (*Client) PauseClusterUpgrade

func (client *Client) PauseClusterUpgrade(ClusterId *string) (_result *PauseClusterUpgradeResponse, _err error)

*

  • @deprecated *
  • @return PauseClusterUpgradeResponse

Deprecated

func (*Client) PauseClusterUpgradeWithOptions

func (client *Client) PauseClusterUpgradeWithOptions(ClusterId *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *PauseClusterUpgradeResponse, _err error)

*

  • @deprecated *
  • @param headers map
  • @param runtime runtime options for this request RuntimeOptions
  • @return PauseClusterUpgradeResponse

Deprecated

func (*Client) PauseComponentUpgrade

func (client *Client) PauseComponentUpgrade(clusterid *string, componentid *string) (_result *PauseComponentUpgradeResponse, _err error)

func (*Client) PauseComponentUpgradeWithOptions

func (client *Client) PauseComponentUpgradeWithOptions(clusterid *string, componentid *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *PauseComponentUpgradeResponse, _err error)

func (*Client) PauseTask

func (client *Client) PauseTask(taskId *string) (_result *PauseTaskResponse, _err error)

func (*Client) PauseTaskWithOptions

func (client *Client) PauseTaskWithOptions(taskId *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *PauseTaskResponse, _err error)

func (*Client) RemoveClusterNodes

func (client *Client) RemoveClusterNodes(ClusterId *string, request *RemoveClusterNodesRequest) (_result *RemoveClusterNodesResponse, _err error)

*

  • @deprecated
  • ****
  • * When you remove a node, the pods that run on the node are migrated to other nodes. This may cause service interruptions. We recommend that you remove nodes during off-peak hours.
  • * Unknown errors may occur when you remove nodes. Before you remove nodes, back up the data on the nodes.
  • * Nodes remain in the Unschedulable state when they are being removed.
  • * You can remove only worker nodes. You cannot remove master nodes. *
  • @param request RemoveClusterNodesRequest
  • @return RemoveClusterNodesResponse

Deprecated

func (*Client) RemoveClusterNodesWithOptions

func (client *Client) RemoveClusterNodesWithOptions(ClusterId *string, request *RemoveClusterNodesRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *RemoveClusterNodesResponse, _err error)

*

  • @deprecated
  • ****
  • * When you remove a node, the pods that run on the node are migrated to other nodes. This may cause service interruptions. We recommend that you remove nodes during off-peak hours.
  • * Unknown errors may occur when you remove nodes. Before you remove nodes, back up the data on the nodes.
  • * Nodes remain in the Unschedulable state when they are being removed.
  • * You can remove only worker nodes. You cannot remove master nodes. *
  • @param request RemoveClusterNodesRequest
  • @param headers map
  • @param runtime runtime options for this request RuntimeOptions
  • @return RemoveClusterNodesResponse

Deprecated

func (*Client) RemoveNodePoolNodes

func (client *Client) RemoveNodePoolNodes(ClusterId *string, NodepoolId *string, request *RemoveNodePoolNodesRequest) (_result *RemoveNodePoolNodesResponse, _err error)

*

  • **
  • ****
  • * When you remove a node, the pods that run on the node are migrated to other nodes. This may cause service interruptions. We recommend that you remove nodes during off-peak hours. - The operation may have unexpected risks. Back up the data before you perform this operation. - When the system removes a node, it sets the status of the node to Unschedulable. - The system removes only worker nodes. It does not remove master nodes. *
  • @param request RemoveNodePoolNodesRequest
  • @return RemoveNodePoolNodesResponse

func (*Client) RemoveNodePoolNodesWithOptions

func (client *Client) RemoveNodePoolNodesWithOptions(ClusterId *string, NodepoolId *string, tmpReq *RemoveNodePoolNodesRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *RemoveNodePoolNodesResponse, _err error)

*

  • **
  • ****
  • * When you remove a node, the pods that run on the node are migrated to other nodes. This may cause service interruptions. We recommend that you remove nodes during off-peak hours. - The operation may have unexpected risks. Back up the data before you perform this operation. - When the system removes a node, it sets the status of the node to Unschedulable. - The system removes only worker nodes. It does not remove master nodes. *
  • @param tmpReq RemoveNodePoolNodesRequest
  • @param headers map
  • @param runtime runtime options for this request RuntimeOptions
  • @return RemoveNodePoolNodesResponse

func (*Client) RemoveWorkflow

func (client *Client) RemoveWorkflow(workflowName *string) (_result *RemoveWorkflowResponse, _err error)

func (*Client) RemoveWorkflowWithOptions

func (client *Client) RemoveWorkflowWithOptions(workflowName *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *RemoveWorkflowResponse, _err error)

func (*Client) RepairClusterNodePool

func (client *Client) RepairClusterNodePool(clusterId *string, nodepoolId *string, request *RepairClusterNodePoolRequest) (_result *RepairClusterNodePoolResponse, _err error)

func (*Client) RepairClusterNodePoolWithOptions

func (client *Client) RepairClusterNodePoolWithOptions(clusterId *string, nodepoolId *string, request *RepairClusterNodePoolRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *RepairClusterNodePoolResponse, _err error)

func (*Client) ResumeComponentUpgrade

func (client *Client) ResumeComponentUpgrade(clusterid *string, componentid *string) (_result *ResumeComponentUpgradeResponse, _err error)

func (*Client) ResumeComponentUpgradeWithOptions

func (client *Client) ResumeComponentUpgradeWithOptions(clusterid *string, componentid *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *ResumeComponentUpgradeResponse, _err error)

func (*Client) ResumeTask

func (client *Client) ResumeTask(taskId *string) (_result *ResumeTaskResponse, _err error)

func (*Client) ResumeTaskWithOptions

func (client *Client) ResumeTaskWithOptions(taskId *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *ResumeTaskResponse, _err error)

func (*Client) ResumeUpgradeCluster

func (client *Client) ResumeUpgradeCluster(ClusterId *string) (_result *ResumeUpgradeClusterResponse, _err error)

*

  • @deprecated *
  • @return ResumeUpgradeClusterResponse

Deprecated

func (*Client) ResumeUpgradeClusterWithOptions

func (client *Client) ResumeUpgradeClusterWithOptions(ClusterId *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *ResumeUpgradeClusterResponse, _err error)

*

  • @deprecated *
  • @param headers map
  • @param runtime runtime options for this request RuntimeOptions
  • @return ResumeUpgradeClusterResponse

Deprecated

func (*Client) RunClusterCheck

func (client *Client) RunClusterCheck(clusterId *string, request *RunClusterCheckRequest) (_result *RunClusterCheckResponse, _err error)

func (*Client) RunClusterCheckWithOptions

func (client *Client) RunClusterCheckWithOptions(clusterId *string, request *RunClusterCheckRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *RunClusterCheckResponse, _err error)

func (*Client) ScaleCluster

func (client *Client) ScaleCluster(ClusterId *string, request *ScaleClusterRequest) (_result *ScaleClusterResponse, _err error)

*

  • @deprecated *
  • @param request ScaleClusterRequest
  • @return ScaleClusterResponse

Deprecated

func (*Client) ScaleClusterNodePool

func (client *Client) ScaleClusterNodePool(ClusterId *string, NodepoolId *string, request *ScaleClusterNodePoolRequest) (_result *ScaleClusterNodePoolResponse, _err error)

func (*Client) ScaleClusterNodePoolWithOptions

func (client *Client) ScaleClusterNodePoolWithOptions(ClusterId *string, NodepoolId *string, request *ScaleClusterNodePoolRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *ScaleClusterNodePoolResponse, _err error)

func (*Client) ScaleClusterWithOptions

func (client *Client) ScaleClusterWithOptions(ClusterId *string, request *ScaleClusterRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *ScaleClusterResponse, _err error)

*

  • @deprecated *
  • @param request ScaleClusterRequest
  • @param headers map
  • @param runtime runtime options for this request RuntimeOptions
  • @return ScaleClusterResponse

Deprecated

func (*Client) ScaleOutCluster

func (client *Client) ScaleOutCluster(ClusterId *string, request *ScaleOutClusterRequest) (_result *ScaleOutClusterResponse, _err error)

*

  • **
  • ****The ScaleOutCluster API operation is phased out. You must call the node pool-related API operations to manage nodes. If you want to add worker nodes to a Container Service for Kubernetes (ACK) cluster, call the ScaleClusterNodePool API operation. For more information, see [ScaleClusterNodePool](~~184928~~). *
  • @param request ScaleOutClusterRequest
  • @return ScaleOutClusterResponse

func (*Client) ScaleOutClusterWithOptions

func (client *Client) ScaleOutClusterWithOptions(ClusterId *string, request *ScaleOutClusterRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *ScaleOutClusterResponse, _err error)

*

  • **
  • ****The ScaleOutCluster API operation is phased out. You must call the node pool-related API operations to manage nodes. If you want to add worker nodes to a Container Service for Kubernetes (ACK) cluster, call the ScaleClusterNodePool API operation. For more information, see [ScaleClusterNodePool](~~184928~~). *
  • @param request ScaleOutClusterRequest
  • @param headers map
  • @param runtime runtime options for this request RuntimeOptions
  • @return ScaleOutClusterResponse

func (*Client) ScanClusterVuls

func (client *Client) ScanClusterVuls(clusterId *string) (_result *ScanClusterVulsResponse, _err error)

func (*Client) ScanClusterVulsWithOptions

func (client *Client) ScanClusterVulsWithOptions(clusterId *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *ScanClusterVulsResponse, _err error)

func (*Client) StartAlert

func (client *Client) StartAlert(ClusterId *string, request *StartAlertRequest) (_result *StartAlertResponse, _err error)

func (*Client) StartAlertWithOptions

func (client *Client) StartAlertWithOptions(ClusterId *string, request *StartAlertRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *StartAlertResponse, _err error)

func (*Client) StartWorkflow

func (client *Client) StartWorkflow(request *StartWorkflowRequest) (_result *StartWorkflowResponse, _err error)

func (*Client) StartWorkflowWithOptions

func (client *Client) StartWorkflowWithOptions(request *StartWorkflowRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *StartWorkflowResponse, _err error)

func (*Client) StopAlert

func (client *Client) StopAlert(ClusterId *string, request *StopAlertRequest) (_result *StopAlertResponse, _err error)

func (*Client) StopAlertWithOptions

func (client *Client) StopAlertWithOptions(ClusterId *string, request *StopAlertRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *StopAlertResponse, _err error)

func (*Client) SyncClusterNodePool

func (client *Client) SyncClusterNodePool(ClusterId *string) (_result *SyncClusterNodePoolResponse, _err error)

func (*Client) SyncClusterNodePoolWithOptions

func (client *Client) SyncClusterNodePoolWithOptions(ClusterId *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *SyncClusterNodePoolResponse, _err error)

func (*Client) TagResources

func (client *Client) TagResources(request *TagResourcesRequest) (_result *TagResourcesResponse, _err error)

func (*Client) TagResourcesWithOptions

func (client *Client) TagResourcesWithOptions(request *TagResourcesRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *TagResourcesResponse, _err error)

func (*Client) UnInstallClusterAddons

func (client *Client) UnInstallClusterAddons(ClusterId *string, request *UnInstallClusterAddonsRequest) (_result *UnInstallClusterAddonsResponse, _err error)

func (*Client) UnInstallClusterAddonsWithOptions

func (client *Client) UnInstallClusterAddonsWithOptions(ClusterId *string, request *UnInstallClusterAddonsRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *UnInstallClusterAddonsResponse, _err error)

func (*Client) UntagResources

func (client *Client) UntagResources(request *UntagResourcesRequest) (_result *UntagResourcesResponse, _err error)

func (*Client) UntagResourcesWithOptions

func (client *Client) UntagResourcesWithOptions(tmpReq *UntagResourcesRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *UntagResourcesResponse, _err error)

func (*Client) UpdateContactGroupForAlert

func (client *Client) UpdateContactGroupForAlert(ClusterId *string) (_result *UpdateContactGroupForAlertResponse, _err error)

func (*Client) UpdateContactGroupForAlertWithOptions

func (client *Client) UpdateContactGroupForAlertWithOptions(ClusterId *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *UpdateContactGroupForAlertResponse, _err error)

func (*Client) UpdateControlPlaneLog

func (client *Client) UpdateControlPlaneLog(ClusterId *string, request *UpdateControlPlaneLogRequest) (_result *UpdateControlPlaneLogResponse, _err error)

func (*Client) UpdateControlPlaneLogWithOptions

func (client *Client) UpdateControlPlaneLogWithOptions(ClusterId *string, request *UpdateControlPlaneLogRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *UpdateControlPlaneLogResponse, _err error)

func (*Client) UpdateK8sClusterUserConfigExpire

func (client *Client) UpdateK8sClusterUserConfigExpire(ClusterId *string, request *UpdateK8sClusterUserConfigExpireRequest) (_result *UpdateK8sClusterUserConfigExpireResponse, _err error)

*

  • **
  • ****
  • * You can call this operation only with an Alibaba Cloud account. - If the kubeconfig file used by your cluster is revoked, the custom validity period of the kubeconfig file is reset. In this case, you need to call this API operation to reconfigure the validity period of the kubeconfig file. *
  • @param request UpdateK8sClusterUserConfigExpireRequest
  • @return UpdateK8sClusterUserConfigExpireResponse

func (*Client) UpdateK8sClusterUserConfigExpireWithOptions

func (client *Client) UpdateK8sClusterUserConfigExpireWithOptions(ClusterId *string, request *UpdateK8sClusterUserConfigExpireRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *UpdateK8sClusterUserConfigExpireResponse, _err error)

*

  • **
  • ****
  • * You can call this operation only with an Alibaba Cloud account. - If the kubeconfig file used by your cluster is revoked, the custom validity period of the kubeconfig file is reset. In this case, you need to call this API operation to reconfigure the validity period of the kubeconfig file. *
  • @param request UpdateK8sClusterUserConfigExpireRequest
  • @param headers map
  • @param runtime runtime options for this request RuntimeOptions
  • @return UpdateK8sClusterUserConfigExpireResponse

func (*Client) UpdateTemplate

func (client *Client) UpdateTemplate(TemplateId *string, request *UpdateTemplateRequest) (_result *UpdateTemplateResponse, _err error)

func (*Client) UpdateTemplateWithOptions

func (client *Client) UpdateTemplateWithOptions(TemplateId *string, request *UpdateTemplateRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *UpdateTemplateResponse, _err error)

func (*Client) UpdateUserPermissions

func (client *Client) UpdateUserPermissions(uid *string, request *UpdateUserPermissionsRequest) (_result *UpdateUserPermissionsResponse, _err error)

func (*Client) UpdateUserPermissionsWithOptions

func (client *Client) UpdateUserPermissionsWithOptions(uid *string, request *UpdateUserPermissionsRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *UpdateUserPermissionsResponse, _err error)

func (*Client) UpgradeCluster

func (client *Client) UpgradeCluster(ClusterId *string, request *UpgradeClusterRequest) (_result *UpgradeClusterResponse, _err error)

func (*Client) UpgradeClusterAddons

func (client *Client) UpgradeClusterAddons(ClusterId *string, request *UpgradeClusterAddonsRequest) (_result *UpgradeClusterAddonsResponse, _err error)

func (*Client) UpgradeClusterAddonsWithOptions

func (client *Client) UpgradeClusterAddonsWithOptions(ClusterId *string, request *UpgradeClusterAddonsRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *UpgradeClusterAddonsResponse, _err error)

func (*Client) UpgradeClusterNodepool

func (client *Client) UpgradeClusterNodepool(ClusterId *string, NodepoolId *string, request *UpgradeClusterNodepoolRequest) (_result *UpgradeClusterNodepoolResponse, _err error)

*

  • This operation allows you to update the Kubernetes version, OS version, or container runtime version of the nodes in a node pool. *
  • @param request UpgradeClusterNodepoolRequest
  • @return UpgradeClusterNodepoolResponse

func (*Client) UpgradeClusterNodepoolWithOptions

func (client *Client) UpgradeClusterNodepoolWithOptions(ClusterId *string, NodepoolId *string, request *UpgradeClusterNodepoolRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *UpgradeClusterNodepoolResponse, _err error)

*

  • This operation allows you to update the Kubernetes version, OS version, or container runtime version of the nodes in a node pool. *
  • @param request UpgradeClusterNodepoolRequest
  • @param headers map
  • @param runtime runtime options for this request RuntimeOptions
  • @return UpgradeClusterNodepoolResponse

func (*Client) UpgradeClusterWithOptions

func (client *Client) UpgradeClusterWithOptions(ClusterId *string, request *UpgradeClusterRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *UpgradeClusterResponse, _err error)

type CreateAutoscalingConfigRequest

type CreateAutoscalingConfigRequest struct {
	// The waiting time before the auto scaling feature performs a scale-in activity. Only if the resource usage on a node remains below the scale-in threshold within the waiting time, the node is removed after the waiting time ends. Unit: minutes.
	CoolDownDuration *string `json:"cool_down_duration,omitempty" xml:"cool_down_duration,omitempty"`
	// Specifies whether to evict DaemonSet pods during scale-in activities. Valid values:
	//
	// *   `true`: evicts DaemonSet pods.
	// *   `false`: does not evict DaemonSet pods.
	DaemonsetEvictionForNodes *bool `json:"daemonset_eviction_for_nodes,omitempty" xml:"daemonset_eviction_for_nodes,omitempty"`
	// The node pool scale-out policy. Valid values:
	//
	// *   `least-waste`: the default policy. If multiple node pools meet the requirement, this policy selects the node pool that will have the least idle resources after the scale-out activity is completed.
	// *   `random`: the random policy. If multiple node pools meet the requirement, this policy selects a random node pool for the scale-out activity.
	// *   `priority`: the priority-based policy If multiple node pools meet the requirement, this policy selects the node pool with the highest priority for the scale-out activity. The priority setting is stored in the ConfigMap named `cluster-autoscaler-priority-expander` in the kube-system namespace. When a scale-out activity is triggered, the policy obtains the node pool priorities from the ConfigMap based on the node pool IDs and then selects the node pool with the highest priority for the scale-out activity.
	Expander *string `json:"expander,omitempty" xml:"expander,omitempty"`
	// The scale-in threshold of GPU utilization. This threshold specifies the ratio of the GPU resources that are requested by pods to the total GPU resources on the node.
	GpuUtilizationThreshold *string `json:"gpu_utilization_threshold,omitempty" xml:"gpu_utilization_threshold,omitempty"`
	// The maximum amount of time that the cluster autoscaler waits for pods on the nodes to terminate during scale-in activities. Unit: seconds.
	MaxGracefulTerminationSec *int32 `json:"max_graceful_termination_sec,omitempty" xml:"max_graceful_termination_sec,omitempty"`
	// The minimum number of pods that must be guaranteed during scale-in activities.
	MinReplicaCount *int32 `json:"min_replica_count,omitempty" xml:"min_replica_count,omitempty"`
	// Specifies whether to delete the corresponding Kubernetes node objects after nodes are removed in swift mode.
	RecycleNodeDeletionEnabled *bool `json:"recycle_node_deletion_enabled,omitempty" xml:"recycle_node_deletion_enabled,omitempty"`
	// Specifies whether to allow node scale-in activities. Valid values:
	//
	// *   `true`: allows node scale-in activities.
	// *   `false`: does not allow node scale-in activities.
	ScaleDownEnabled *bool `json:"scale_down_enabled,omitempty" xml:"scale_down_enabled,omitempty"`
	// Specifies whether the cluster autoscaler performs scale-out activities when the number of ready nodes in the cluster is zero.
	ScaleUpFromZero *bool `json:"scale_up_from_zero,omitempty" xml:"scale_up_from_zero,omitempty"`
	// The interval at which the cluster is scanned and evaluated for scaling. Unit: seconds.
	ScanInterval *string `json:"scan_interval,omitempty" xml:"scan_interval,omitempty"`
	// Specifies whether to allow the cluster autoscaler to scale in nodes that host pods mounted with local storage, such as EmptyDir volumes or HostPath volumes. Valid values:
	//
	// *   `true`: does not allow the cluster autoscaler to scale in these nodes.
	// *   `false`: allows the cluster autoscaler to scale in these nodes.
	SkipNodesWithLocalStorage *bool `json:"skip_nodes_with_local_storage,omitempty" xml:"skip_nodes_with_local_storage,omitempty"`
	// Specifies whether to allow the cluster autoscaler to scale in nodes that host pods in the kube-system namespace, excluding DaemonSet pods and mirror pods. Valid values:
	//
	// *   `true`: does not allow the cluster autoscaler to scale in these nodes.
	// *   `false`: allows the cluster autoscaler to scale in these nodes.
	SkipNodesWithSystemPods *bool `json:"skip_nodes_with_system_pods,omitempty" xml:"skip_nodes_with_system_pods,omitempty"`
	// The cooldown period. Newly added nodes can be removed in scale-in activities only after the cooldown period ends. Unit: minutes.
	UnneededDuration *string `json:"unneeded_duration,omitempty" xml:"unneeded_duration,omitempty"`
	// The scale-in threshold. This threshold specifies the ratio of the resources that are requested by pods to the total resources on the node.
	UtilizationThreshold *string `json:"utilization_threshold,omitempty" xml:"utilization_threshold,omitempty"`
}

func (CreateAutoscalingConfigRequest) GoString

func (*CreateAutoscalingConfigRequest) SetCoolDownDuration

func (*CreateAutoscalingConfigRequest) SetDaemonsetEvictionForNodes

func (s *CreateAutoscalingConfigRequest) SetDaemonsetEvictionForNodes(v bool) *CreateAutoscalingConfigRequest

func (*CreateAutoscalingConfigRequest) SetExpander

func (*CreateAutoscalingConfigRequest) SetGpuUtilizationThreshold

func (s *CreateAutoscalingConfigRequest) SetGpuUtilizationThreshold(v string) *CreateAutoscalingConfigRequest

func (*CreateAutoscalingConfigRequest) SetMaxGracefulTerminationSec

func (s *CreateAutoscalingConfigRequest) SetMaxGracefulTerminationSec(v int32) *CreateAutoscalingConfigRequest

func (*CreateAutoscalingConfigRequest) SetMinReplicaCount

func (*CreateAutoscalingConfigRequest) SetRecycleNodeDeletionEnabled

func (s *CreateAutoscalingConfigRequest) SetRecycleNodeDeletionEnabled(v bool) *CreateAutoscalingConfigRequest

func (*CreateAutoscalingConfigRequest) SetScaleDownEnabled

func (*CreateAutoscalingConfigRequest) SetScaleUpFromZero

func (*CreateAutoscalingConfigRequest) SetScanInterval

func (*CreateAutoscalingConfigRequest) SetSkipNodesWithLocalStorage

func (s *CreateAutoscalingConfigRequest) SetSkipNodesWithLocalStorage(v bool) *CreateAutoscalingConfigRequest

func (*CreateAutoscalingConfigRequest) SetSkipNodesWithSystemPods

func (s *CreateAutoscalingConfigRequest) SetSkipNodesWithSystemPods(v bool) *CreateAutoscalingConfigRequest

func (*CreateAutoscalingConfigRequest) SetUnneededDuration

func (*CreateAutoscalingConfigRequest) SetUtilizationThreshold

func (CreateAutoscalingConfigRequest) String

type CreateAutoscalingConfigResponse

type CreateAutoscalingConfigResponse struct {
	Headers    map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32             `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
}

func (CreateAutoscalingConfigResponse) GoString

func (*CreateAutoscalingConfigResponse) SetHeaders

func (*CreateAutoscalingConfigResponse) SetStatusCode

func (CreateAutoscalingConfigResponse) String

type CreateClusterNodePoolRequest

type CreateClusterNodePoolRequest struct {
	// The configuration of auto scaling.
	AutoScaling *CreateClusterNodePoolRequestAutoScaling `json:"auto_scaling,omitempty" xml:"auto_scaling,omitempty" type:"Struct"`
	// Deprecated
	// This parameter is deprecated. Use the desired_size parameter instead.
	//
	// The number of nodes in the node pool.
	Count *int64 `json:"count,omitempty" xml:"count,omitempty"`
	// Deprecated
	// This parameter is deprecated.
	//
	// The configuration of the edge node pool.
	InterconnectConfig *CreateClusterNodePoolRequestInterconnectConfig `json:"interconnect_config,omitempty" xml:"interconnect_config,omitempty" type:"Struct"`
	// The network type of the edge node pool. This parameter takes effect only when you set the `type` parameter of the node pool to `edge`. Valid values:
	//
	// *   `basic`: basic
	// *   `improved`: enhanced
	// *   `private`: dedicated Only Kubernetes 1.22 and later support this parameter.
	InterconnectMode *string `json:"interconnect_mode,omitempty" xml:"interconnect_mode,omitempty"`
	// The configuration of the cluster.
	KubernetesConfig *CreateClusterNodePoolRequestKubernetesConfig `json:"kubernetes_config,omitempty" xml:"kubernetes_config,omitempty" type:"Struct"`
	// The configuration of the managed node pool feature.
	Management *CreateClusterNodePoolRequestManagement `json:"management,omitempty" xml:"management,omitempty" type:"Struct"`
	// Deprecated
	// The maximum number of nodes that can be created in the edge node pool. You must specify a value that is equal to or larger than 0. A value of 0 indicates that the number of nodes in the node pool is limited only by the quota of nodes in the cluster. In most cases, this parameter is set to a value larger than 0 for edge node pools. This parameter is set to 0 for node pools of the ess type or default edge node pools.
	MaxNodes   *int64                                  `json:"max_nodes,omitempty" xml:"max_nodes,omitempty"`
	NodeConfig *CreateClusterNodePoolRequestNodeConfig `json:"node_config,omitempty" xml:"node_config,omitempty" type:"Struct"`
	// The configuration of the node pool.
	NodepoolInfo *CreateClusterNodePoolRequestNodepoolInfo `json:"nodepool_info,omitempty" xml:"nodepool_info,omitempty" type:"Struct"`
	// The configuration of the scaling group that is used by the node pool.
	ScalingGroup *CreateClusterNodePoolRequestScalingGroup `json:"scaling_group,omitempty" xml:"scaling_group,omitempty" type:"Struct"`
	// The configuration of confidential computing for the cluster.
	TeeConfig *CreateClusterNodePoolRequestTeeConfig `json:"tee_config,omitempty" xml:"tee_config,omitempty" type:"Struct"`
}

func (CreateClusterNodePoolRequest) GoString

func (s CreateClusterNodePoolRequest) GoString() string

func (*CreateClusterNodePoolRequest) SetCount

func (*CreateClusterNodePoolRequest) SetInterconnectMode

func (*CreateClusterNodePoolRequest) SetMaxNodes

func (CreateClusterNodePoolRequest) String

type CreateClusterNodePoolRequestAutoScaling

type CreateClusterNodePoolRequestAutoScaling struct {
	// Deprecated
	// This parameter is deprecated.
	//
	// The maximum bandwidth of the EIP. Unit: Mbit/s.
	EipBandwidth *int64 `json:"eip_bandwidth,omitempty" xml:"eip_bandwidth,omitempty"`
	// Deprecated
	// This parameter is deprecated.
	//
	// The metering method of the EIP. Valid values:
	//
	// *   `PayByBandwidth`: pay-by-bandwidth.
	// *   `PayByTraffic`: pay-by-data-transfer.
	//
	// Default value: `PayByBandwidth`.
	EipInternetChargeType *string `json:"eip_internet_charge_type,omitempty" xml:"eip_internet_charge_type,omitempty"`
	// Specifies whether to enable auto scaling. Valid values:
	//
	// *   `true`: enables auto scaling.
	// *   `false`: disables auto scaling. If you set this parameter to false, other parameters in the `auto_scaling` section do not take effect.
	//
	// Default value: `false`.
	Enable *bool `json:"enable,omitempty" xml:"enable,omitempty"`
	// Deprecated
	// This parameter is deprecated.
	//
	// Specifies whether to associate an elastic IP address (EIP) with the node pool. Valid values:
	//
	// *   `true`: associates an EIP with the node pool
	// *   `false`: does not associate an EIP with the node pool.
	//
	// Default value: `false`.
	IsBondEip *bool `json:"is_bond_eip,omitempty" xml:"is_bond_eip,omitempty"`
	// The maximum number of Elastic Compute Service (ECS) instances that can be created in a node pool.
	MaxInstances *int64 `json:"max_instances,omitempty" xml:"max_instances,omitempty"`
	// The minimum number of ECS instances that must be kept in a node pool.
	MinInstances *int64 `json:"min_instances,omitempty" xml:"min_instances,omitempty"`
	// The instance types that can be used for the auto scaling of the node pool. Valid values:
	//
	// *   `cpu`: regular instance.
	// *   `gpu`: GPU-accelerated instance.
	// *   `gpushare`: shared GPU-accelerated instance.
	// *   `spot`: preemptible instance
	//
	// Default value: `cpu`.
	Type *string `json:"type,omitempty" xml:"type,omitempty"`
}

func (CreateClusterNodePoolRequestAutoScaling) GoString

func (*CreateClusterNodePoolRequestAutoScaling) SetEipBandwidth

func (*CreateClusterNodePoolRequestAutoScaling) SetEipInternetChargeType

func (*CreateClusterNodePoolRequestAutoScaling) SetEnable

func (*CreateClusterNodePoolRequestAutoScaling) SetIsBondEip

func (*CreateClusterNodePoolRequestAutoScaling) SetMaxInstances

func (*CreateClusterNodePoolRequestAutoScaling) SetMinInstances

func (*CreateClusterNodePoolRequestAutoScaling) SetType

func (CreateClusterNodePoolRequestAutoScaling) String

type CreateClusterNodePoolRequestInterconnectConfig

type CreateClusterNodePoolRequestInterconnectConfig struct {
	// This parameter is deprecated.
	//
	// The bandwidth of the enhanced edge node pool. Unit: Mbit/s.
	Bandwidth *int64 `json:"bandwidth,omitempty" xml:"bandwidth,omitempty"`
	// This parameter is deprecated.
	//
	// The ID of the Cloud Connect Network (CCN) instance that is associated with the enhanced edge node pool.
	CcnId *string `json:"ccn_id,omitempty" xml:"ccn_id,omitempty"`
	// This parameter is deprecated.
	//
	// The region to which the CCN instance that is associated with the enhanced edge node pool belongs.
	CcnRegionId *string `json:"ccn_region_id,omitempty" xml:"ccn_region_id,omitempty"`
	// This parameter is deprecated.
	//
	// The ID of the Cloud Enterprise Network (CEN) instance that is associated with the enhanced edge node pool.
	CenId *string `json:"cen_id,omitempty" xml:"cen_id,omitempty"`
	// This parameter is deprecated.
	//
	// The subscription duration of the enhanced edge node pool. The duration is measured in months.
	ImprovedPeriod *string `json:"improved_period,omitempty" xml:"improved_period,omitempty"`
}

func (CreateClusterNodePoolRequestInterconnectConfig) GoString

func (*CreateClusterNodePoolRequestInterconnectConfig) SetBandwidth

func (*CreateClusterNodePoolRequestInterconnectConfig) SetCcnId

func (*CreateClusterNodePoolRequestInterconnectConfig) SetCcnRegionId

func (*CreateClusterNodePoolRequestInterconnectConfig) SetCenId

func (*CreateClusterNodePoolRequestInterconnectConfig) SetImprovedPeriod

func (CreateClusterNodePoolRequestInterconnectConfig) String

type CreateClusterNodePoolRequestKubernetesConfig

type CreateClusterNodePoolRequestKubernetesConfig struct {
	// Specifies whether to install the CloudMonitor agent on ECS nodes. After the CloudMonitor agent is installed on ECS nodes, you can view monitoring information about the instances in the CloudMonitor console. We recommend that you install the CloudMonitor agent. Valid values:
	//
	// *   `true`: installs the CloudMonitor agent on ECS nodes.
	// *   `false`: does not install the CloudMonitor agent on ECS nodes.
	//
	// Default value: `false`.
	CmsEnabled *bool `json:"cms_enabled,omitempty" xml:"cms_enabled,omitempty"`
	// The CPU management policy of the nodes in a node pool. The following policies are supported if the Kubernetes version of the cluster is 1.12.6 or later.
	//
	// *   `static`: allows pods with specific resource characteristics on the node to be granted enhanced CPU affinity and exclusivity.
	// *   `none`: specifies that the default CPU affinity is used.
	//
	// Default value: `none`.
	CpuPolicy *string `json:"cpu_policy,omitempty" xml:"cpu_policy,omitempty"`
	// The labels that you want to add to the nodes in the cluster.
	Labels []*Tag `json:"labels,omitempty" xml:"labels,omitempty" type:"Repeated"`
	// A custom node name consists of a prefix, a node IP address, and a suffix.
	//
	// *   The prefix and suffix can contain multiple parts that are separated by periods (.). Each part can contain lowercase letters, digits, and hyphens (-). A custom node name must start and end with a digit or lowercase letter.
	// *   The node IP address in a custom node name is the private IP address of the node.
	//
	// Set the value in the customized,aliyun,ip,com format. The value consists of four parts that are separated by commas (,). customized and ip are fixed content. aliyun is the prefix and com is the suffix. Example: aliyun.192.168.xxx.xxx.com.
	NodeNameMode *string `json:"node_name_mode,omitempty" xml:"node_name_mode,omitempty"`
	// The container runtime.
	Runtime *string `json:"runtime,omitempty" xml:"runtime,omitempty"`
	// The version of the container runtime.
	RuntimeVersion *string `json:"runtime_version,omitempty" xml:"runtime_version,omitempty"`
	// The configuration of taints.
	Taints        []*Taint `json:"taints,omitempty" xml:"taints,omitempty" type:"Repeated"`
	Unschedulable *bool    `json:"unschedulable,omitempty" xml:"unschedulable,omitempty"`
	// The user-defined data on nodes.
	UserData *string `json:"user_data,omitempty" xml:"user_data,omitempty"`
}

func (CreateClusterNodePoolRequestKubernetesConfig) GoString

func (*CreateClusterNodePoolRequestKubernetesConfig) SetCmsEnabled

func (*CreateClusterNodePoolRequestKubernetesConfig) SetCpuPolicy

func (*CreateClusterNodePoolRequestKubernetesConfig) SetLabels

func (*CreateClusterNodePoolRequestKubernetesConfig) SetNodeNameMode

func (*CreateClusterNodePoolRequestKubernetesConfig) SetRuntime

func (*CreateClusterNodePoolRequestKubernetesConfig) SetRuntimeVersion

func (*CreateClusterNodePoolRequestKubernetesConfig) SetTaints

func (*CreateClusterNodePoolRequestKubernetesConfig) SetUnschedulable

func (*CreateClusterNodePoolRequestKubernetesConfig) SetUserData

func (CreateClusterNodePoolRequestKubernetesConfig) String

type CreateClusterNodePoolRequestManagement

type CreateClusterNodePoolRequestManagement struct {
	// Specifies whether to enable auto repair. This parameter takes effect only when you specify `enable=true`. Valid values:
	//
	// *   `true`: enables auto repair.
	// *   `false`: disables auto repair.
	AutoRepair        *bool                                                    `json:"auto_repair,omitempty" xml:"auto_repair,omitempty"`
	AutoRepairPolicy  *CreateClusterNodePoolRequestManagementAutoRepairPolicy  `json:"auto_repair_policy,omitempty" xml:"auto_repair_policy,omitempty" type:"Struct"`
	AutoUpgrade       *bool                                                    `json:"auto_upgrade,omitempty" xml:"auto_upgrade,omitempty"`
	AutoUpgradePolicy *CreateClusterNodePoolRequestManagementAutoUpgradePolicy `json:"auto_upgrade_policy,omitempty" xml:"auto_upgrade_policy,omitempty" type:"Struct"`
	AutoVulFix        *bool                                                    `json:"auto_vul_fix,omitempty" xml:"auto_vul_fix,omitempty"`
	AutoVulFixPolicy  *CreateClusterNodePoolRequestManagementAutoVulFixPolicy  `json:"auto_vul_fix_policy,omitempty" xml:"auto_vul_fix_policy,omitempty" type:"Struct"`
	// Specifies whether to enable the managed node pool feature. Valid values:
	//
	// *   `true`: enables the managed node pool feature.
	// *   `false`: disables the managed node pool feature. Other parameters in this section take effect only when you specify enable=true.
	Enable *bool `json:"enable,omitempty" xml:"enable,omitempty"`
	// Deprecated
	// The configuration of auto update. The configuration takes effect only when you specify `enable=true`.
	UpgradeConfig *CreateClusterNodePoolRequestManagementUpgradeConfig `json:"upgrade_config,omitempty" xml:"upgrade_config,omitempty" type:"Struct"`
}

func (CreateClusterNodePoolRequestManagement) GoString

func (*CreateClusterNodePoolRequestManagement) SetAutoRepair

func (*CreateClusterNodePoolRequestManagement) SetAutoUpgrade

func (*CreateClusterNodePoolRequestManagement) SetAutoVulFix

func (*CreateClusterNodePoolRequestManagement) SetEnable

func (CreateClusterNodePoolRequestManagement) String

type CreateClusterNodePoolRequestManagementAutoRepairPolicy

type CreateClusterNodePoolRequestManagementAutoRepairPolicy struct {
	RestartNode *bool `json:"restart_node,omitempty" xml:"restart_node,omitempty"`
}

func (CreateClusterNodePoolRequestManagementAutoRepairPolicy) GoString

func (*CreateClusterNodePoolRequestManagementAutoRepairPolicy) SetRestartNode

func (CreateClusterNodePoolRequestManagementAutoRepairPolicy) String

type CreateClusterNodePoolRequestManagementAutoUpgradePolicy

type CreateClusterNodePoolRequestManagementAutoUpgradePolicy struct {
	AutoUpgradeKubelet *bool `json:"auto_upgrade_kubelet,omitempty" xml:"auto_upgrade_kubelet,omitempty"`
	AutoUpgradeOs      *bool `json:"auto_upgrade_os,omitempty" xml:"auto_upgrade_os,omitempty"`
	AutoUpgradeRuntime *bool `json:"auto_upgrade_runtime,omitempty" xml:"auto_upgrade_runtime,omitempty"`
}

func (CreateClusterNodePoolRequestManagementAutoUpgradePolicy) GoString

func (*CreateClusterNodePoolRequestManagementAutoUpgradePolicy) SetAutoUpgradeKubelet

func (*CreateClusterNodePoolRequestManagementAutoUpgradePolicy) SetAutoUpgradeOs added in v5.0.2

func (*CreateClusterNodePoolRequestManagementAutoUpgradePolicy) SetAutoUpgradeRuntime added in v5.0.2

func (CreateClusterNodePoolRequestManagementAutoUpgradePolicy) String

type CreateClusterNodePoolRequestManagementAutoVulFixPolicy

type CreateClusterNodePoolRequestManagementAutoVulFixPolicy struct {
	RestartNode *bool   `json:"restart_node,omitempty" xml:"restart_node,omitempty"`
	VulLevel    *string `json:"vul_level,omitempty" xml:"vul_level,omitempty"`
}

func (CreateClusterNodePoolRequestManagementAutoVulFixPolicy) GoString

func (*CreateClusterNodePoolRequestManagementAutoVulFixPolicy) SetRestartNode

func (*CreateClusterNodePoolRequestManagementAutoVulFixPolicy) SetVulLevel

func (CreateClusterNodePoolRequestManagementAutoVulFixPolicy) String

type CreateClusterNodePoolRequestManagementUpgradeConfig

type CreateClusterNodePoolRequestManagementUpgradeConfig struct {
	// Deprecated
	// Indicates whether auto update is enabled. Valid values:
	//
	// *   `true`: enables auto upgrade.
	// *   `false`: disables auto update.
	AutoUpgrade *bool `json:"auto_upgrade,omitempty" xml:"auto_upgrade,omitempty"`
	// The maximum number of nodes that can be in the Unschedulable state. Valid values: 1 to 1000.
	//
	// Default value: 1.
	MaxUnavailable *int64 `json:"max_unavailable,omitempty" xml:"max_unavailable,omitempty"`
	// The number of nodes that are temporarily added to the node pool during an auto update.
	Surge *int64 `json:"surge,omitempty" xml:"surge,omitempty"`
	// The percentage of additional nodes to the nodes in the node pool. You must set this parameter or `surge`.
	SurgePercentage *int64 `json:"surge_percentage,omitempty" xml:"surge_percentage,omitempty"`
}

func (CreateClusterNodePoolRequestManagementUpgradeConfig) GoString

func (*CreateClusterNodePoolRequestManagementUpgradeConfig) SetAutoUpgrade

func (*CreateClusterNodePoolRequestManagementUpgradeConfig) SetMaxUnavailable

func (*CreateClusterNodePoolRequestManagementUpgradeConfig) SetSurge

func (*CreateClusterNodePoolRequestManagementUpgradeConfig) SetSurgePercentage

func (CreateClusterNodePoolRequestManagementUpgradeConfig) String

type CreateClusterNodePoolRequestNodeConfig

type CreateClusterNodePoolRequestNodeConfig struct {
	KubeletConfiguration *KubeletConfig `json:"kubelet_configuration,omitempty" xml:"kubelet_configuration,omitempty"`
}

func (CreateClusterNodePoolRequestNodeConfig) GoString

func (*CreateClusterNodePoolRequestNodeConfig) SetKubeletConfiguration

func (CreateClusterNodePoolRequestNodeConfig) String

type CreateClusterNodePoolRequestNodepoolInfo

type CreateClusterNodePoolRequestNodepoolInfo struct {
	// The name of the node pool.
	Name *string `json:"name,omitempty" xml:"name,omitempty"`
	// The ID of the resource group to which the node pool belongs.
	ResourceGroupId *string `json:"resource_group_id,omitempty" xml:"resource_group_id,omitempty"`
	// The type of node pool. Valid values:
	//
	// *   `ess`: node pool
	// *   `edge`: edge node pool
	Type *string `json:"type,omitempty" xml:"type,omitempty"`
}

func (CreateClusterNodePoolRequestNodepoolInfo) GoString

func (*CreateClusterNodePoolRequestNodepoolInfo) SetName

func (*CreateClusterNodePoolRequestNodepoolInfo) SetResourceGroupId

func (*CreateClusterNodePoolRequestNodepoolInfo) SetType

func (CreateClusterNodePoolRequestNodepoolInfo) String

type CreateClusterNodePoolRequestScalingGroup

type CreateClusterNodePoolRequestScalingGroup struct {
	// Specifies whether to enable auto-renewal for nodes in the node pool. This parameter takes effect only when you set `instance_charge_type` to `PrePaid`. Valid values:
	//
	// *   `true`: enables auto-renewal
	// *   `false`: disables auto-renewal.
	//
	// Default value: `true`.
	AutoRenew *bool `json:"auto_renew,omitempty" xml:"auto_renew,omitempty"`
	// The duration of the auto-renewal. This parameter takes effect and is required only when you set instance_charge_type to PrePaid and auto_renew to true. If `PeriodUnit=Month` is configured, the valid values are 1, 2, 3, 6, and 12.
	//
	// Default value: 1.
	AutoRenewPeriod *int64 `json:"auto_renew_period,omitempty" xml:"auto_renew_period,omitempty"`
	// Deprecated
	CisEnabled *bool `json:"cis_enabled,omitempty" xml:"cis_enabled,omitempty"`
	// Specifies whether to automatically create pay-as-you-go instances to meet the required number of ECS instances if preemptible instances cannot be created due to reasons such as the cost or insufficient inventory. This parameter takes effect when you set `multi_az_policy` to `COST_OPTIMIZED`. Valid values:
	//
	// *   `true`: automatically creates pay-as-you-go instances to meet the required number of ECS instances if preemptible instances cannot be created.
	// *   `false`: does not create pay-as-you-go instances to meet the required number of ECS instances if preemptible instances cannot be created.
	CompensateWithOnDemand *bool `json:"compensate_with_on_demand,omitempty" xml:"compensate_with_on_demand,omitempty"`
	// The configuration of the data disks that are mounted to the nodes in the node pool.
	DataDisks []*DataDisk `json:"data_disks,omitempty" xml:"data_disks,omitempty" type:"Repeated"`
	// The ID of the deployment set to which the ECS instances in the node pool belong.
	DeploymentsetId *string `json:"deploymentset_id,omitempty" xml:"deploymentset_id,omitempty"`
	// The expected number of nodes in the node pool.
	DesiredSize *int64 `json:"desired_size,omitempty" xml:"desired_size,omitempty"`
	// The ID of a custom image. By default, the image provided by ACK is used.
	ImageId *string `json:"image_id,omitempty" xml:"image_id,omitempty"`
	// The type of OS image. You must set this parameter or `platform`. Valid values:
	//
	// *   `AliyunLinux`: Alinux2
	// *   `AliyunLinux3`: Alinux3
	// *   `AliyunLinux3Arm64`: Alinux3 ARM
	// *   `AliyunLinuxUEFI`: Alinux2 UEFI
	// *   `CentOS`: CentOS
	// *   `Windows`: Windows
	// *   `WindowsCore`: Windows Core
	// *   `ContainerOS`: ContainerOS
	ImageType *string `json:"image_type,omitempty" xml:"image_type,omitempty"`
	// The billing method of the nodes in the node pool. Valid values:
	//
	// *   `PrePaid`: the subscription billing method.
	// *   `PostPaid`: the pay-as-you-go billing method.
	//
	// Default value: `PostPaid`.
	InstanceChargeType *string `json:"instance_charge_type,omitempty" xml:"instance_charge_type,omitempty"`
	// The instance type of the nodes in the node pool.
	InstanceTypes []*string `json:"instance_types,omitempty" xml:"instance_types,omitempty" type:"Repeated"`
	// The metering method of the public IP address. Valid values:
	//
	// *   PayByBandwidth: pay-by-bandwidth.
	// *   PayByTraffic: pay-by-data-transfer.
	InternetChargeType *string `json:"internet_charge_type,omitempty" xml:"internet_charge_type,omitempty"`
	// The maximum outbound bandwidth of the public IP address of the node. Unit: Mbit/s. Valid values: 1 to 100.
	InternetMaxBandwidthOut *int64 `json:"internet_max_bandwidth_out,omitempty" xml:"internet_max_bandwidth_out,omitempty"`
	// The name of the key pair. You must set this parameter or the `login_password` parameter.
	//
	// >  If you want to create a managed node pool, you must set `key_pair`.
	KeyPair        *string `json:"key_pair,omitempty" xml:"key_pair,omitempty"`
	LoginAsNonRoot *bool   `json:"login_as_non_root,omitempty" xml:"login_as_non_root,omitempty"`
	// The password for SSH logon. You must set this parameter or the `key_pair` parameter. The password must be 8 to 30 characters in length, and must contain at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters.
	LoginPassword *string `json:"login_password,omitempty" xml:"login_password,omitempty"`
	// The ECS instance scaling policy for a multi-zone scaling group. Valid values:
	//
	// *   `PRIORITY`: ECS instances are created based on the VSwitchIds.N parameter. If Auto Scaling fails to create ECS instances in the zone of the vSwitch with the highest priority, Auto Scaling attempts to create ECS instances in the zone of the vSwitch with a lower priority.
	//
	// *   `COST_OPTIMIZED`: ECS instances are created based on the vCPU unit price in ascending order. Preemptible instances are preferably created when preemptible instance types are specified in the scaling configuration. You can set the `CompensateWithOnDemand` parameter to specify whether to automatically create pay-as-you-go instances when preemptible instances cannot be created due to insufficient resources.
	//
	//     **
	//
	//     **Note** `COST_OPTIMIZED` is valid only when multiple instance types are specified or at least one preemptible instance type is specified.
	//
	// *   `BALANCE`: ECS instances are evenly distributed across multiple zones specified by the scaling group. If ECS instances become imbalanced among multiple zones due to insufficient inventory, you can call [RebalanceInstances](~~71516~~) of Auto Scaling to balance the instance distribution among zones.
	//
	// Default value: `PRIORITY`.
	MultiAzPolicy *string `json:"multi_az_policy,omitempty" xml:"multi_az_policy,omitempty"`
	// The minimum number of pay-as-you-go instances that must be kept in the scaling group. Valid values: 0 to 1000. If the number of pay-as-you-go instances is less than the value of this parameter, Auto Scaling preferably creates pay-as-you-go instances.
	OnDemandBaseCapacity *int64 `json:"on_demand_base_capacity,omitempty" xml:"on_demand_base_capacity,omitempty"`
	// The percentage of pay-as-you-go instances among the extra instances that exceed the number specified by `on_demand_base_capacity`. Valid values: 0 to 100.
	OnDemandPercentageAboveBaseCapacity *int64 `json:"on_demand_percentage_above_base_capacity,omitempty" xml:"on_demand_percentage_above_base_capacity,omitempty"`
	// The subscription duration of the nodes in the node pool. This parameter takes effect and is required only when you set `instance_charge_type` to `PrePaid`. If you set `period_unit` to Month, the valid values of `period` are 1, 2, 3, 6, and 12.
	//
	// Default value: 1.
	Period *int64 `json:"period,omitempty" xml:"period,omitempty"`
	// The billing cycle of the nodes in the node pool. This parameter is required if you set instance_charge_type to `PrePaid`. A value of Month indicates that the billing cycle is measured in months.
	PeriodUnit *string `json:"period_unit,omitempty" xml:"period_unit,omitempty"`
	// Deprecated
	// The release version of the operating system. Valid values:
	//
	// *   `CentOS`
	// *   `AliyunLinux`
	// *   `Windows`
	// *   `WindowsCore`
	//
	// Default value: `AliyunLinux`.
	Platform *string `json:"platform,omitempty" xml:"platform,omitempty"`
	// The configuration of the private node pool.
	PrivatePoolOptions *CreateClusterNodePoolRequestScalingGroupPrivatePoolOptions `json:"private_pool_options,omitempty" xml:"private_pool_options,omitempty" type:"Struct"`
	// A list of ApsaraDB RDS instances.
	RdsInstances []*string `json:"rds_instances,omitempty" xml:"rds_instances,omitempty" type:"Repeated"`
	// The scaling mode of the scaling group. Valid values:
	//
	// *   `release`: the standard mode. ECS instances are created and released based on resource usage.
	// *   `recycle`: the swift mode. ECS instances are created, stopped, or started during scaling events. This reduces the time required for the next scale-out event. When the instance is stopped, you are charged only for the storage service. This does not apply to ECS instances attached with local disks.
	//
	// Default value: `release`.
	ScalingPolicy *string `json:"scaling_policy,omitempty" xml:"scaling_policy,omitempty"`
	// Deprecated
	// Specifies the ID of the security group to which you want to add the node pool. You must set this parameter or `security_group_ids`. We recommend that you set `security_group_ids`.
	SecurityGroupId *string `json:"security_group_id,omitempty" xml:"security_group_id,omitempty"`
	// The IDs of security groups to which you want to add the node pool. You must set this parameter or `security_group_id`. We recommend that you set `security_group_ids`. If you set both `security_group_id` and `security_group_ids`, `security_group_ids` is used.
	SecurityGroupIds    []*string `json:"security_group_ids,omitempty" xml:"security_group_ids,omitempty" type:"Repeated"`
	SecurityHardeningOs *bool     `json:"security_hardening_os,omitempty" xml:"security_hardening_os,omitempty"`
	SocEnabled          *bool     `json:"soc_enabled,omitempty" xml:"soc_enabled,omitempty"`
	// The number of instance types that are available. Auto Scaling creates preemptible instances of multiple instance types that are available at the lowest cost. Valid values: 1 to 10.
	SpotInstancePools *int64 `json:"spot_instance_pools,omitempty" xml:"spot_instance_pools,omitempty"`
	// Specifies whether to supplement preemptible instances when the number of preemptible instances drops below the specified minimum number. If this parameter is set to true, when the scaling group receives a system message that a preemptible instance is to be reclaimed, the scaling group attempts to create a new instance to replace this instance. Valid values:
	//
	// *   `true`: enables the supplementation of preemptible instances.
	// *   `false`: disables the supplementation of preemptible instances.
	SpotInstanceRemedy *bool `json:"spot_instance_remedy,omitempty" xml:"spot_instance_remedy,omitempty"`
	// The instance type of preemptible instance and the maximum bid price.
	SpotPriceLimit []*CreateClusterNodePoolRequestScalingGroupSpotPriceLimit `json:"spot_price_limit,omitempty" xml:"spot_price_limit,omitempty" type:"Repeated"`
	// The bidding policy of preemptible instances. Valid values:
	//
	// *   `NoSpot`: non-preemptible instance.
	// *   `SpotWithPriceLimit`: specifies the highest bid.
	// *   `SpotAsPriceGo`: automatically submits bids based on the up-to-date market price.
	//
	// For more information, see [Preemptible instances](~~165053~~).
	SpotStrategy *string `json:"spot_strategy,omitempty" xml:"spot_strategy,omitempty"`
	// Specifies whether to enable the burst feature for system disks. Valid values:
	//
	// *   true: enables the burst feature.
	// *   false: disables the burst feature.
	//
	// This parameter is supported only when `SystemDiskCategory` is set to `cloud_auto`. For more information, see [ESSD AutoPL disks](~~368372~~).
	SystemDiskBurstingEnabled *bool     `json:"system_disk_bursting_enabled,omitempty" xml:"system_disk_bursting_enabled,omitempty"`
	SystemDiskCategories      []*string `json:"system_disk_categories,omitempty" xml:"system_disk_categories,omitempty" type:"Repeated"`
	// The type of system disk. Valid values:
	//
	// *   `cloud_efficiency`: ultra disk.
	// *   `cloud_ssd`: standard SSD.
	// *   `cloud_essd`: enhanced SSD.
	//
	// Default value: `cloud_efficiency`.
	SystemDiskCategory         *string `json:"system_disk_category,omitempty" xml:"system_disk_category,omitempty"`
	SystemDiskEncryptAlgorithm *string `json:"system_disk_encrypt_algorithm,omitempty" xml:"system_disk_encrypt_algorithm,omitempty"`
	SystemDiskEncrypted        *bool   `json:"system_disk_encrypted,omitempty" xml:"system_disk_encrypted,omitempty"`
	SystemDiskKmsKeyId         *string `json:"system_disk_kms_key_id,omitempty" xml:"system_disk_kms_key_id,omitempty"`
	// The performance level (PL) of the system disk that you want to use for the node. This parameter takes effect only for ESSDs.
	//
	// *   PL0: moderate maximum concurrent I/O performance and low I/O latency
	// *   PL1: moderate maximum concurrent I/O performance and low I/O latency
	// *   PL2: high maximum concurrent I/O performance and low I/O latency
	// *   PL3: ultra-high maximum concurrent I/O performance and ultra-low I/O latency
	SystemDiskPerformanceLevel *string `json:"system_disk_performance_level,omitempty" xml:"system_disk_performance_level,omitempty"`
	// The predefined IOPS of a system disk. Valid values: 0 to min{50,000, 1,000 × Capacity - Baseline IOPS}. Baseline IOPS = min{1,800 + 50 × Capacity, 50,000}.
	//
	// This parameter is supported only when `SystemDiskCategory` is set to `cloud_auto`. For more information, see [ESSD AutoPL disks](~~368372~~).
	SystemDiskProvisionedIops *int64 `json:"system_disk_provisioned_iops,omitempty" xml:"system_disk_provisioned_iops,omitempty"`
	// The system disk size of a node. Unit: GiB.
	//
	// Valid values: 40 to 500.
	SystemDiskSize *int64 `json:"system_disk_size,omitempty" xml:"system_disk_size,omitempty"`
	// The labels that you want to add to the ECS instances.
	//
	// Each key must be unique and cannot exceed 128 characters in length. Neither keys nor values can start with aliyun or acs:. Neither keys nor values can contain https:// or http://.
	Tags []*CreateClusterNodePoolRequestScalingGroupTags `json:"tags,omitempty" xml:"tags,omitempty" type:"Repeated"`
	// The vSwitch IDs. Valid values: 1 to 8.
	//
	// >  To ensure high availability, we recommend that you select vSwitches that reside in different zones.
	VswitchIds []*string `json:"vswitch_ids,omitempty" xml:"vswitch_ids,omitempty" type:"Repeated"`
}

func (CreateClusterNodePoolRequestScalingGroup) GoString

func (*CreateClusterNodePoolRequestScalingGroup) SetAutoRenew

func (*CreateClusterNodePoolRequestScalingGroup) SetAutoRenewPeriod

func (*CreateClusterNodePoolRequestScalingGroup) SetCisEnabled

func (*CreateClusterNodePoolRequestScalingGroup) SetCompensateWithOnDemand

func (*CreateClusterNodePoolRequestScalingGroup) SetDataDisks

func (*CreateClusterNodePoolRequestScalingGroup) SetDeploymentsetId

func (*CreateClusterNodePoolRequestScalingGroup) SetDesiredSize

func (*CreateClusterNodePoolRequestScalingGroup) SetImageId

func (*CreateClusterNodePoolRequestScalingGroup) SetImageType

func (*CreateClusterNodePoolRequestScalingGroup) SetInstanceChargeType

func (*CreateClusterNodePoolRequestScalingGroup) SetInstanceTypes

func (*CreateClusterNodePoolRequestScalingGroup) SetInternetChargeType

func (*CreateClusterNodePoolRequestScalingGroup) SetInternetMaxBandwidthOut

func (*CreateClusterNodePoolRequestScalingGroup) SetKeyPair

func (*CreateClusterNodePoolRequestScalingGroup) SetLoginAsNonRoot

func (*CreateClusterNodePoolRequestScalingGroup) SetLoginPassword

func (*CreateClusterNodePoolRequestScalingGroup) SetMultiAzPolicy

func (*CreateClusterNodePoolRequestScalingGroup) SetOnDemandBaseCapacity

func (*CreateClusterNodePoolRequestScalingGroup) SetOnDemandPercentageAboveBaseCapacity

func (s *CreateClusterNodePoolRequestScalingGroup) SetOnDemandPercentageAboveBaseCapacity(v int64) *CreateClusterNodePoolRequestScalingGroup

func (*CreateClusterNodePoolRequestScalingGroup) SetPeriod

func (*CreateClusterNodePoolRequestScalingGroup) SetPeriodUnit

func (*CreateClusterNodePoolRequestScalingGroup) SetPlatform

func (*CreateClusterNodePoolRequestScalingGroup) SetRdsInstances

func (*CreateClusterNodePoolRequestScalingGroup) SetScalingPolicy

func (*CreateClusterNodePoolRequestScalingGroup) SetSecurityGroupId

func (*CreateClusterNodePoolRequestScalingGroup) SetSecurityGroupIds

func (*CreateClusterNodePoolRequestScalingGroup) SetSecurityHardeningOs added in v5.0.3

func (*CreateClusterNodePoolRequestScalingGroup) SetSocEnabled

func (*CreateClusterNodePoolRequestScalingGroup) SetSpotInstancePools

func (*CreateClusterNodePoolRequestScalingGroup) SetSpotInstanceRemedy

func (*CreateClusterNodePoolRequestScalingGroup) SetSpotStrategy

func (*CreateClusterNodePoolRequestScalingGroup) SetSystemDiskBurstingEnabled

func (*CreateClusterNodePoolRequestScalingGroup) SetSystemDiskCategories

func (*CreateClusterNodePoolRequestScalingGroup) SetSystemDiskCategory

func (*CreateClusterNodePoolRequestScalingGroup) SetSystemDiskEncryptAlgorithm

func (*CreateClusterNodePoolRequestScalingGroup) SetSystemDiskEncrypted

func (*CreateClusterNodePoolRequestScalingGroup) SetSystemDiskKmsKeyId

func (*CreateClusterNodePoolRequestScalingGroup) SetSystemDiskPerformanceLevel

func (*CreateClusterNodePoolRequestScalingGroup) SetSystemDiskProvisionedIops

func (*CreateClusterNodePoolRequestScalingGroup) SetSystemDiskSize

func (*CreateClusterNodePoolRequestScalingGroup) SetVswitchIds

func (CreateClusterNodePoolRequestScalingGroup) String

type CreateClusterNodePoolRequestScalingGroupPrivatePoolOptions

type CreateClusterNodePoolRequestScalingGroupPrivatePoolOptions struct {
	// The ID of the private node pool.
	Id *string `json:"id,omitempty" xml:"id,omitempty"`
	// The type of private node pool. This parameter specifies the type of private pool that you want to use to create instances. A private node pool is generated when an elasticity assurance or a capacity reservation service takes effect. The system selects a private node pool to launch instances. Valid values:
	//
	// *   `Open`: open private pool. The system selects an open private node pool to launch instances. If no matching open private node pool is available, the resources in the public node pool are used.
	// *   `Target`: specific private pool. The system uses the resources of the specified private node pool to launch instances. If the specified private node pool is unavailable, instances cannot be launched.
	// *   `None`: no private pool is used. The resources of private node pools are not used to launch the instances.
	MatchCriteria *string `json:"match_criteria,omitempty" xml:"match_criteria,omitempty"`
}

func (CreateClusterNodePoolRequestScalingGroupPrivatePoolOptions) GoString

func (*CreateClusterNodePoolRequestScalingGroupPrivatePoolOptions) SetId

func (*CreateClusterNodePoolRequestScalingGroupPrivatePoolOptions) SetMatchCriteria

func (CreateClusterNodePoolRequestScalingGroupPrivatePoolOptions) String

type CreateClusterNodePoolRequestScalingGroupSpotPriceLimit

type CreateClusterNodePoolRequestScalingGroupSpotPriceLimit struct {
	// The instance type of preemptible instance.
	InstanceType *string `json:"instance_type,omitempty" xml:"instance_type,omitempty"`
	// The maximum bid price of a preemptible instance.
	PriceLimit *string `json:"price_limit,omitempty" xml:"price_limit,omitempty"`
}

func (CreateClusterNodePoolRequestScalingGroupSpotPriceLimit) GoString

func (*CreateClusterNodePoolRequestScalingGroupSpotPriceLimit) SetInstanceType

func (*CreateClusterNodePoolRequestScalingGroupSpotPriceLimit) SetPriceLimit

func (CreateClusterNodePoolRequestScalingGroupSpotPriceLimit) String

type CreateClusterNodePoolRequestScalingGroupTags

type CreateClusterNodePoolRequestScalingGroupTags struct {
	// The key of a label.
	Key *string `json:"key,omitempty" xml:"key,omitempty"`
	// The value of a label.
	Value *string `json:"value,omitempty" xml:"value,omitempty"`
}

func (CreateClusterNodePoolRequestScalingGroupTags) GoString

func (*CreateClusterNodePoolRequestScalingGroupTags) SetKey

func (*CreateClusterNodePoolRequestScalingGroupTags) SetValue

func (CreateClusterNodePoolRequestScalingGroupTags) String

type CreateClusterNodePoolRequestTeeConfig

type CreateClusterNodePoolRequestTeeConfig struct {
	// Specifies whether to enable confidential computing for the cluster.
	TeeEnable *bool `json:"tee_enable,omitempty" xml:"tee_enable,omitempty"`
}

func (CreateClusterNodePoolRequestTeeConfig) GoString

func (*CreateClusterNodePoolRequestTeeConfig) SetTeeEnable

func (CreateClusterNodePoolRequestTeeConfig) String

type CreateClusterNodePoolResponse

type CreateClusterNodePoolResponse struct {
	Headers    map[string]*string                 `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                             `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *CreateClusterNodePoolResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (CreateClusterNodePoolResponse) GoString

func (*CreateClusterNodePoolResponse) SetBody

func (*CreateClusterNodePoolResponse) SetHeaders

func (*CreateClusterNodePoolResponse) SetStatusCode

func (CreateClusterNodePoolResponse) String

type CreateClusterNodePoolResponseBody

type CreateClusterNodePoolResponseBody struct {
	// The node pool ID.
	NodepoolId *string `json:"nodepool_id,omitempty" xml:"nodepool_id,omitempty"`
	RequestId  *string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// The ID of the task.
	TaskId *string `json:"task_id,omitempty" xml:"task_id,omitempty"`
}

func (CreateClusterNodePoolResponseBody) GoString

func (*CreateClusterNodePoolResponseBody) SetNodepoolId

func (*CreateClusterNodePoolResponseBody) SetRequestId

func (*CreateClusterNodePoolResponseBody) SetTaskId

func (CreateClusterNodePoolResponseBody) String

type CreateClusterRequest

type CreateClusterRequest struct {
	// The access control list (ACL) rule of the SLB instance associated with the API server if the cluster is a registered cluster.
	AccessControlList []*string `json:"access_control_list,omitempty" xml:"access_control_list,omitempty" type:"Repeated"`
	// The components that you want to install in the cluster. When you create a cluster, you can configure the `addons` parameter to install specific components.
	//
	// **Network plug-in**: required. The Flannel and Terway plug-ins are supported. Select one of the plug-ins for the cluster.
	//
	// *   Specify the Flannel plug-in in the following format: \[{"name":"flannel","config":""}].
	// *   Specify the Flannel plug-in in the following format: \[{"name": "terway-eniip","config": ""}].
	//
	// **Volume plug-in**: optional. Only the `CSI` plug-in is supported.
	//
	// Specify the `CSI` plug-in in the following format: \[{"name":"csi-plugin","config": ""},{"name": "csi-provisioner","config": ""}].
	//
	// **Simple Log Service component**: optional. We recommend that you enable Simple Log Service. If Simple Log Service is disabled, you cannot use the cluster auditing feature.
	//
	// *   To use an existing `Simple Log Service project`, specify the value in the following format: \[{"name": "logtail-ds","config": "{"IngressDashboardEnabled":"true","sls_project_name":"your_sls_project_name"}"}].
	// *   To create a `Simple Log Service project`, specify the value in the following format: \[{"name": "logtail-ds","config": "{"IngressDashboardEnabled":"true"}"}].
	//
	// **Ingress controller**: optional. By default, the `nginx-ingress-controller` component is installed in ACK dedicated clusters.
	//
	// *   To install nginx-ingress-controller and enable Internet access, specify the value in the following format: \[{"name":"nginx-ingress-controller","config":"{"IngressSlbNetworkType":"internet"}"}].
	// *   To disable the system to automatically install nginx-ingress-controller, specify the value in the following format: \[{"name": "nginx-ingress-controller","config": "","disabled": true}].
	//
	// **Event center**: optional. By default, the event center feature is enabled.
	//
	// You can use Kubernetes event centers to store and query events and configure alerts. You can use the Logstores that are associated with Kubernetes event centers free of charge within 90 days. For more information, see [Create and use a Kubernetes event center](~~150476~~).
	//
	// To enable the ack-node-problem-detector component, specify the value in the following format: \[{"name":"ack-node-problem-detector","config":"{"sls_project_name":"your_sls_project_name"}"}].
	Addons []*Addon `json:"addons,omitempty" xml:"addons,omitempty" type:"Repeated"`
	// Service accounts provide identities for pods when pods communicate with the `API server` of the cluster. `api-audiences` are used by the `API server` to check whether the `tokens` of requests are legitimate.“ Separate multiple `audiences` with commas (,).
	//
	// For more information about `ServiceAccount`, see [Enable service account token volume projection](~~160384~~).
	ApiAudiences *string `json:"api_audiences,omitempty" xml:"api_audiences,omitempty"`
	// The billing method of the cluster. The following resources are billed on a subscription basis:
	//
	// ECS instances in node pools.
	//
	// The internal-facing SLB instance used by the API server.
	//
	// Valid values:
	//
	// PrePaid: subscription.
	//
	// PostPaid: pay-as-you-go.
	//
	// Default value: PostPaid.
	ChargeType *string `json:"charge_type,omitempty" xml:"charge_type,omitempty"`
	// Deprecated
	// [This parameter is deprecated]
	//
	// Please replace this parameter with security_hardening_os.
	CisEnabled *bool `json:"cis_enabled,omitempty" xml:"cis_enabled,omitempty"`
	// Specifies whether to install the CloudMonitor agent. Valid values:
	//
	// *   `true`: installs the CloudMonitor agent.
	// *   `false`: does not install the CloudMonitor agent.
	//
	// Default value: `false`.
	CloudMonitorFlags *bool `json:"cloud_monitor_flags,omitempty" xml:"cloud_monitor_flags,omitempty"`
	// The domain name of the cluster.
	//
	// The domain name can contain one or more parts that are separated by periods (.). Each part cannot exceed 63 characters in length, and can contain lowercase letters, digits, and hyphens (-). Each part must start and end with a lowercase letter or digit.
	ClusterDomain *string `json:"cluster_domain,omitempty" xml:"cluster_domain,omitempty"`
	// After you set `cluster_type` to `ManagedKubernetes` and configure the `profile` parameter, you can further specify the edition of the cluster. Valid values:
	//
	// *   `ack.pro.small`: Pro.
	// *   `ack.standard`: Basic. If you leave the parameter empty, the Basic edition is selected.
	ClusterSpec *string `json:"cluster_spec,omitempty" xml:"cluster_spec,omitempty"`
	// *   `Kubernetes`: ACK dedicated cluster.
	// *   `ManagedKubernetes`: ACK managed cluster. ACK managed clusters include ACK Basic clusters, ACK Pro clusters, ACK Serverless clusters (Basic and Pro), ACK Edge clusters (Basic and Pro), and ACK Lingjun clusters (Pro).
	// *   `ExternalKubernetes`: registered cluster.
	ClusterType *string `json:"cluster_type,omitempty" xml:"cluster_type,omitempty"`
	// The CIDR block of pods. You can specify 10.0.0.0/8, 172.16-31.0.0/12-16, 192.168.0.0/16, or their subnets as the CIDR block of pods. The pod CIDR block cannot overlap with the CIDR block of the VPC in which the cluster is deployed and the CIDR blocks of existing clusters in the VPC. You cannot modify the pod CIDR block after you create the cluster.
	//
	// For more information about subnetting for ACK clusters, see [Plan CIDR blocks for an ACK cluster that is deployed in a VPC](~~86500~~).
	//
	// >  This parameter is required if the cluster uses Flannel as the network plug-in.
	ContainerCidr *string `json:"container_cidr,omitempty" xml:"container_cidr,omitempty"`
	// The list of control plane components for which you want to enable log collection.
	//
	// By default, the log of kube-apiserver, kube-controller-manager, and kube-scheduler is collected.
	ControlplaneLogComponents []*string `json:"controlplane_log_components,omitempty" xml:"controlplane_log_components,omitempty" type:"Repeated"`
	// The Simple Log Service project that is used to store the logs of control plane components. You can use an existing project or create one. If you choose to create a Simple Log Service project, the created project is named in the `k8s-log-{ClusterID}` format.
	ControlplaneLogProject *string `json:"controlplane_log_project,omitempty" xml:"controlplane_log_project,omitempty"`
	// The retention period of control plane logs in days.
	ControlplaneLogTtl *string `json:"controlplane_log_ttl,omitempty" xml:"controlplane_log_ttl,omitempty"`
	// The CPU management policy of the nodes in the node pool. The following policies are supported if the Kubernetes version of the cluster is 1.12.6 or later:
	//
	// *   `static`: allows pods with specific resource characteristics on the node to be granted with enhanced CPU affinity and exclusivity.
	// *   `none`: specifies that the default CPU affinity is used.
	//
	// Default value: `none`.
	CpuPolicy *string `json:"cpu_policy,omitempty" xml:"cpu_policy,omitempty"`
	// Specifies custom subject alternative names (SANs) for the API server certificate to accept requests from specified IP addresses or domain names. Separate multiple IP addresses or domain names with commas (,).
	CustomSan *string `json:"custom_san,omitempty" xml:"custom_san,omitempty"`
	// Specifies whether to enable cluster deletion protection. If this option is enabled, the cluster cannot be deleted in the console or by calling API operations. Valid values:
	//
	// *   `true`: enables deletion protection for the cluster. This way, the cluster cannot be deleted in the Container Service console or by calling API operations.
	// *   `false`: disables deletion protection for the cluster. This way, the cluster can be deleted in the Container Service console or by calling API operations.
	//
	// Default value: `false`.
	DeletionProtection *bool `json:"deletion_protection,omitempty" xml:"deletion_protection,omitempty"`
	// Deprecated
	// Specifies whether to perform a rollback if the cluster fails to be created. Valid values:
	//
	// *   `true`: performs a rollback if the system fails to create the cluster.
	// *   `false`: does not perform a rollback if the system fails to create the cluster.
	//
	// Default value: `true`.
	DisableRollback *bool `json:"disable_rollback,omitempty" xml:"disable_rollback,omitempty"`
	// Specifies whether to enable the RAM Roles for Service Accounts (RRSA) feature.
	EnableRrsa *bool `json:"enable_rrsa,omitempty" xml:"enable_rrsa,omitempty"`
	// The ID of a key that is managed by Key Management Service (KMS). The key is used to encrypt data disks. For more information, see [KMS](~~28935~~).
	//
	// >  The key can be used only in ACK Pro clusters.
	EncryptionProviderKey *string `json:"encryption_provider_key,omitempty" xml:"encryption_provider_key,omitempty"`
	// Specifies whether to enable Internet access for the cluster. You can use an elastic IP address (EIP) to expose the API server. This way, you can access the cluster over the Internet. Valid values:
	//
	// *   `true`: enables Internet access.
	// *   `false`: disables Internet access. If you set this parameter to false, the API server cannot be accessed over the Internet.
	//
	// Default value: `false`.
	EndpointPublicAccess *bool `json:"endpoint_public_access,omitempty" xml:"endpoint_public_access,omitempty"`
	// Specifies whether to mount a data disk to a node that is created based on an existing ECS instance. Valid values:
	//
	// *   `true`: stores the data of containers and images on a data disk. Back up the existing data on the data disk first.
	// *   `false`: does not store the data of containers and images on a data disk.
	//
	// Default value: `false`.
	//
	// How data disks are mounted:
	//
	// *   If an ECS instance has data disks mounted and the file system of the last data disk is not initialized, the system automatically formats the data disk to ext4. Then, the system mounts the data disk to /var/lib/docker and /var/lib/kubelet.
	// *   If no data disk is mounted to the ECS instance, the system does not purchase a new data disk.
	FormatDisk *bool `json:"format_disk,omitempty" xml:"format_disk,omitempty"`
	// Specifies a custom image for nodes. By default, the image provided by ACK is used. You can select a custom image to replace the default image. For more information, see [Custom images](~~146647~~).
	ImageId *string `json:"image_id,omitempty" xml:"image_id,omitempty"`
	// The type of OS distribution that you want to use. To specify the node OS, we recommend that you use this parameter. Valid values:
	//
	// *   CentOS
	// *   AliyunLinux
	// *   AliyunLinux Qboot
	// *   AliyunLinuxUEFI
	// *   AliyunLinux3
	// *   Windows
	// *   WindowsCore
	// *   AliyunLinux3Arm64
	// *   ContainerOS
	//
	// Default value: `CentOS`.
	ImageType *string `json:"image_type,omitempty" xml:"image_type,omitempty"`
	// The list of existing Elastic Compute Service (ECS) instances that are specified as worker nodes for the cluster.
	//
	// >  This parameter is required when you create worker nodes based on existing ECS instances.
	Instances []*string `json:"instances,omitempty" xml:"instances,omitempty" type:"Repeated"`
	// The IP stack of the cluster.
	IpStack *string `json:"ip_stack,omitempty" xml:"ip_stack,omitempty"`
	// Specifies whether to create an advanced security group. This parameter takes effect only if `security_group_id` is left empty.
	//
	// >  To use a basic security group, make sure that the sum of the number of nodes in the cluster and the number of pods that use Terway does not exceed 2,000. Therefore, we recommend that you specify an advanced security group for a cluster that has Terway installed.
	//
	// *   `true`: creates an advanced security group.
	// *   `false`: does not create an advanced security group.
	//
	// Default value: `true`.
	IsEnterpriseSecurityGroup *bool `json:"is_enterprise_security_group,omitempty" xml:"is_enterprise_security_group,omitempty"`
	// Specifies whether to retain the names of existing ECS instances that are used in the cluster. Valid values:
	//
	// *   `true`: retains the names.
	// *   `false`: does not retain the names. The system assigns new names.
	//
	// Default value: `true`.
	KeepInstanceName *bool `json:"keep_instance_name,omitempty" xml:"keep_instance_name,omitempty"`
	// The name of the key pair. You must configure this parameter or the `login_password` parameter.
	KeyPair *string `json:"key_pair,omitempty" xml:"key_pair,omitempty"`
	// The Kubernetes version of the cluster. The Kubernetes versions supported by ACK are the same as the Kubernetes versions supported by open source Kubernetes. We recommend that you specify the latest Kubernetes version. If you do not configure this parameter, the latest Kubernetes version is used.
	//
	// You can create clusters of the latest two Kubernetes versions in the ACK console. If you want to create clusters that run earlier Kubernetes versions, use the API. For more information about the Kubernetes versions supported by ACK, see [Release notes on Kubernetes versions](~~185269~~).
	KubernetesVersion *string `json:"kubernetes_version,omitempty" xml:"kubernetes_version,omitempty"`
	// The specification of the Server Load Balancer (SLB) instance. Valid values:
	//
	// *   slb.s1.small
	// *   slb.s2.small
	// *   slb.s2.medium
	// *   slb.s3.small
	// *   slb.s3.medium
	// *   slb.s3.large
	//
	// Default value: `slb.s2.small`.
	LoadBalancerSpec *string `json:"load_balancer_spec,omitempty" xml:"load_balancer_spec,omitempty"`
	// Enables Simple Log Service for the cluster. This parameter takes effect only on ACK Serverless clusters. Set the value to `SLS`.
	LoggingType *string `json:"logging_type,omitempty" xml:"logging_type,omitempty"`
	// The password for SSH logon. You must configure this parameter or the `key_pair` parameter. The password must be 8 to 30 characters in length, and must contain at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters.
	LoginPassword *string `json:"login_password,omitempty" xml:"login_password,omitempty"`
	// Specifies whether to enable auto-renewal for master nodes. This parameter takes effect only if `master_instance_charge_type` is set to `PrePaid`. Valid values:
	//
	// *   `true`: enables auto-renewal.
	// *   `false`: disables auto-renewal.
	//
	// Default value: `true`.
	MasterAutoRenew *bool `json:"master_auto_renew,omitempty" xml:"master_auto_renew,omitempty"`
	// The cycle of auto-renewal. This parameter takes effect and is required only if the subscription billing method is selected for master nodes.
	//
	// Valid values: 1, 2, 3, 6, and 12.
	//
	// Default value: 1.
	MasterAutoRenewPeriod *int64 `json:"master_auto_renew_period,omitempty" xml:"master_auto_renew_period,omitempty"`
	// The number of master nodes. Valid values: `3` and `5`.
	//
	// Default value: `3`.
	MasterCount *int64 `json:"master_count,omitempty" xml:"master_count,omitempty"`
	// The billing method of master nodes. Valid values:
	//
	// *   `PrePaid`: subscription.
	// *   `PostPaid`: pay-as-you-go.
	//
	// Default value: `PostPaid`.
	MasterInstanceChargeType *string `json:"master_instance_charge_type,omitempty" xml:"master_instance_charge_type,omitempty"`
	// The instance types of master nodes. For more information, see [Overview of instance families](~~25378~~).
	MasterInstanceTypes []*string `json:"master_instance_types,omitempty" xml:"master_instance_types,omitempty" type:"Repeated"`
	// The subscription duration of master nodes. This parameter takes effect and is required only if `master_instance_charge_type` is set to `PrePaid`.
	//
	// Valid values: 1, 2, 3, 6, 12, 24, 36, 48, and 60.
	//
	// Default value: 1.
	MasterPeriod *int64 `json:"master_period,omitempty" xml:"master_period,omitempty"`
	// The billing cycle of master nodes. This parameter is required if master_instance_charge_type is set to `PrePaid`.
	//
	// Set the value to `Month`. Master nodes are billed only on a monthly basis.
	MasterPeriodUnit *string `json:"master_period_unit,omitempty" xml:"master_period_unit,omitempty"`
	// The type of system disk that you want to use for the master nodes. Valid values:
	//
	// *   `cloud_efficiency`: ultra disk.
	// *   `cloud_ssd`: standard SSD.
	// *   `cloud_essd`: enhanced SSD (ESSD).
	//
	// Default value: `cloud_ssd`. The default value may vary in different zones.
	MasterSystemDiskCategory *string `json:"master_system_disk_category,omitempty" xml:"master_system_disk_category,omitempty"`
	// The performance level (PL) of the system disk that you want to use for master nodes. This parameter takes effect only for ESSDs. For more information about the relationship between disk PLs and disk sizes, see [ESSDs](~~122389~~).
	MasterSystemDiskPerformanceLevel *string `json:"master_system_disk_performance_level,omitempty" xml:"master_system_disk_performance_level,omitempty"`
	// The size of the system disk that is specified for master nodes. Valid values: 40 to 500. Unit: GiB.
	//
	// Default value: `120`.
	MasterSystemDiskSize *int64 `json:"master_system_disk_size,omitempty" xml:"master_system_disk_size,omitempty"`
	// The ID of the automatic snapshot policy that is used by the system disk specified for master nodes.
	MasterSystemDiskSnapshotPolicyId *string `json:"master_system_disk_snapshot_policy_id,omitempty" xml:"master_system_disk_snapshot_policy_id,omitempty"`
	// The IDs of the vSwitches that are specified for master nodes. You can specify up to three vSwitches. We recommend that you specify three vSwitches in different zones to ensure high availability.
	//
	// The number of vSwitches must be the same as that specified in `master_count` and the same as those specified in `master_vswitch_ids`.
	MasterVswitchIds []*string `json:"master_vswitch_ids,omitempty" xml:"master_vswitch_ids,omitempty" type:"Repeated"`
	// The name of the cluster.
	//
	// The name must be 1 to 63 characters in length, and can contain digits, letters, and hyphens (-). The name cannot start with a hyphen (-).
	Name *string `json:"name,omitempty" xml:"name,omitempty"`
	// Specifies whether to create a NAT gateway and configure SNAT rules when the system creates the ACK Serverless cluster. Valid values:
	//
	// *   `true`: automatically creates a NAT gateway and configures SNAT rules. This enables Internet access for the VPC in which the cluster is deployed.
	// *   `false`: does not create a NAT gateway or configure SNAT rules. In this case, the cluster in the VPC cannot access the Internet.
	//
	// Default value: `false`.
	NatGateway *bool `json:"nat_gateway,omitempty" xml:"nat_gateway,omitempty"`
	// The maximum number of IP addresses that can be assigned to nodes. This number is determined by the node CIDR block. This parameter takes effect only if the cluster uses Flannel as the network plug-in.
	//
	// Default value: `26`.
	NodeCidrMask *string `json:"node_cidr_mask,omitempty" xml:"node_cidr_mask,omitempty"`
	// The name of the custom node.
	//
	// A node name consists of a prefix, an IP substring, and a suffix.
	//
	// *   The prefix and suffix can contain multiple parts that are separated by periods (.). Each part can contain lowercase letters, digits, and hyphens (-), and must start and end with a lowercase letter or digit.
	// *   The IP substring length specifies the number of digits to be truncated from the end of the node IP address. The IP substring length ranges from 5 to 12.
	//
	// For example, if the node IP address is 192.168.0.55, the prefix is aliyun.com, the IP substring length is 5, and the suffix is test, the node name will be aliyun.com00055test.
	NodeNameMode *string `json:"node_name_mode,omitempty" xml:"node_name_mode,omitempty"`
	// The node port range. Valid values: 30000 to 65535.
	//
	// Default value: `30000-32767`.
	NodePortRange *string `json:"node_port_range,omitempty" xml:"node_port_range,omitempty"`
	// The list of node pools.
	Nodepools []*Nodepool `json:"nodepools,omitempty" xml:"nodepools,omitempty" type:"Repeated"`
	// Deprecated
	// The number of worker nodes. Valid values: 0 to 100.
	NumOfNodes *int64 `json:"num_of_nodes,omitempty" xml:"num_of_nodes,omitempty"`
	// The type of OS. Valid values:
	//
	// *   Windows
	// *   Linux
	//
	// Default value: `Linux`.
	OsType *string `json:"os_type,omitempty" xml:"os_type,omitempty"`
	// The subscription duration. This parameter takes effect and is required only if you set charge_type to PrePaid.
	//
	// Valid values: 1, 2, 3, 6, 12, 24, 36, 48, and 60.
	//
	// Default value: 1.
	Period *int64 `json:"period,omitempty" xml:"period,omitempty"`
	// The billing cycle. This parameter is required if charge_type is set to PrePaid.
	//
	// Set the value to Month. Master nodes are billed only on a monthly basis.
	PeriodUnit *string `json:"period_unit,omitempty" xml:"period_unit,omitempty"`
	// The OS distribution. Valid values:
	//
	// *   CentOS
	// *   AliyunLinux
	// *   QbootAliyunLinux
	// *   Qboot
	// *   Windows
	// *   WindowsCore
	//
	// Default value: `CentOS`.
	Platform *string `json:"platform,omitempty" xml:"platform,omitempty"`
	// The list of pod vSwitches. You need to specify at least one pod vSwitch for each node vSwitch, and the pod vSwitches must be different from the node vSwitches (`vswitch`). We recommend that you specify pod vSwitches whose mask lengths are no longer than 19.
	//
	// >  The `pod_vswitch_ids` parameter is required if the cluster uses Terway as the network plug-in.
	PodVswitchIds []*string `json:"pod_vswitch_ids,omitempty" xml:"pod_vswitch_ids,omitempty" type:"Repeated"`
	// If you set `cluster_type` to `ManagedKubernetes`, an ACK managed cluster is created. In this case, you can further specify the cluster edition. Valid values:
	//
	// *   `Default`: ACK managed cluster. ACK managed clusters include ACK Basic clusters and ACK Pro clusters.
	// *   `Edge`: ACK Edge cluster. ACK Edge clusters include ACK Edge Basic clusters and ACK Edge Pro clusters.
	// *   `Serverless`: ACK Serverless cluster. ACK Serverless clusters include ACK Serverless Basic clusters and ACK Serverless Pro clusters.
	// *   `Lingjun`: ACK Lingjun Pro cluster.
	Profile *string `json:"profile,omitempty" xml:"profile,omitempty"`
	// The kube-proxy mode. Valid values:
	//
	// *   `iptables`: iptables is a kube-proxy mode. It uses iptables rules to conduct Service discovery and load balancing. The performance of this mode is limited by the size of the cluster. This mode is suitable for clusters that run a small number of Services.
	// *   `ipvs`: provides high performance and uses IP Virtual Server (IPVS). This allows you to configure service discovery and load balancing. This mode is suitable for clusters that are required to run a large number of services. We recommend that you use this mode in scenarios when high load balancing performance is required.
	//
	// Default value: `ipvs`.
	ProxyMode *string `json:"proxy_mode,omitempty" xml:"proxy_mode,omitempty"`
	// The list of ApsaraDB RDS instances. Select the ApsaraDB RDS instances that you want to add to the whitelist. We recommend that you add the CIDR block of pods and CIDR block of nodes to the ApsaraDB RDS instances in the ApsaraDB RDS console. When you set the ApsaraDB RDS instances, you cannot scale out the number of nodes because the instances are not in the Running state.
	RdsInstances []*string `json:"rds_instances,omitempty" xml:"rds_instances,omitempty" type:"Repeated"`
	// The ID of the region in which you want to deploy the cluster.
	RegionId *string `json:"region_id,omitempty" xml:"region_id,omitempty"`
	// The ID of the resource group to which the cluster belongs. You can use resource groups to isolate clusters.
	ResourceGroupId *string `json:"resource_group_id,omitempty" xml:"resource_group_id,omitempty"`
	// The container runtime. The default container runtime is Docker. containerd and Sandboxed-Container are also supported.
	//
	// For more information about how to select a proper container runtime, see [How to select between Docker and Sandboxed-Container](~~160313~~).
	Runtime *Runtime `json:"runtime,omitempty" xml:"runtime,omitempty"`
	// The ID of an existing security group. You need to choose between this parameter and the `is_enterprise_security_group` parameter. Cluster nodes are automatically added to the security group.
	SecurityGroupId *string `json:"security_group_id,omitempty" xml:"security_group_id,omitempty"`
	// Specifies whether to enable Alibaba Cloud Linux Security Hardening.
	//
	// Valid values:
	//
	// - true: enables Alibaba Cloud Linux Security Hardening.
	// - false: disables Alibaba Cloud Linux Security Hardening.
	//
	// Default value: false
	SecurityHardeningOs *bool `json:"security_hardening_os,omitempty" xml:"security_hardening_os,omitempty"`
	// Service accounts provide identities for pods when pods communicate with the `API server` of the cluster. `service-account-issuer` is the issuer of the `serviceaccount token`, which corresponds to the `iss` field in the `token payload`.
	//
	// For more information about `ServiceAccount`, see [Enable service account token volume projection](~~160384~~).
	ServiceAccountIssuer *string `json:"service_account_issuer,omitempty" xml:"service_account_issuer,omitempty"`
	// The CIDR block of Services. Valid values: 10.0.0.0/16-24, 172.16-31.0.0/16-24, and 192.168.0.0/16-24. The CIDR block of Services cannot overlap with the CIDR block of the VPC (10.1.0.0/21) or the CIDR blocks of existing clusters in the VPC. You cannot modify the CIDR block of Services after the cluster is created.
	//
	// By default, the CIDR block of Services is set to 172.19.0.0/20.
	ServiceCidr *string `json:"service_cidr,omitempty" xml:"service_cidr,omitempty"`
	// The type of service discovery that is implemented in the `ACK Serverless` cluster.
	//
	// *   `CoreDNS`: CoreDNS is a standard service discovery plug-in that is provided by open source Kubernetes. To use DNS resolution, you must provision pods. By default, two elastic container instances are used. The specification of each instance is 0.25 vCores and 512 MiB of memory.
	// *   `PrivateZone`: a DNS resolution service provided by Alibaba Cloud. You must activate Alibaba Cloud DNS PrivateZone before you can use it for service discovery.
	//
	// By default, this parameter is not specified.
	ServiceDiscoveryTypes []*string `json:"service_discovery_types,omitempty" xml:"service_discovery_types,omitempty" type:"Repeated"`
	// Specifies whether to configure Source Network Address Translation (SNAT) rules for the VPC in which the cluster is deployed. Valid values:
	//
	// *   `true`: automatically creates a NAT gateway and configures SNAT rules. Set this parameter to `true` if nodes and applications in the cluster need to access the Internet.
	// *   `false`: does not create a NAT gateway or configure SNAT rules. In this case, nodes and applications in the cluster cannot access the Internet.
	//
	// >  If this feature is disabled when you create the cluster, you can manually enable this feature after you create the cluster. For more information, see [Manually create a NAT gateway and configure SNAT rules](~~178480~~).
	//
	// Default value: `true`.
	SnatEntry *bool `json:"snat_entry,omitempty" xml:"snat_entry,omitempty"`
	// Specifies whether to enable reinforcement based on Multi-Level Protection Scheme (MLPS). For more information, see [ACK reinforcement based on classified protection](~~196148~~).
	//
	// Valid values:
	//
	// *   `true`: enables reinforcement based on MLPS.
	// *   `false`: disables reinforcement based on MLPS.
	//
	// Default value: `false`.
	SocEnabled *bool `json:"soc_enabled,omitempty" xml:"soc_enabled,omitempty"`
	// Specifies whether to enable SSH logon. If this parameter is set to true, you can log on to master nodes in an ACK dedicated cluster over the Internet. This parameter does not take effect for ACK managed clusters. Valid values:
	//
	// *   `true`: enables SSH logon.
	// *   `false`: disables SSH logon.
	//
	// Default value: `false`.
	SshFlags *bool `json:"ssh_flags,omitempty" xml:"ssh_flags,omitempty"`
	// The labels that you want to add to nodes. You must add labels based on the following rules:
	//
	// *   A label is a case-sensitive key-value pair. You can add up to 20 labels.
	// *   When you add a label, you must specify a unique key but you can leave the value empty. A key cannot exceed 64 characters in length and a value cannot exceed 128 characters in length. Keys and values cannot start with aliyun, acs:, https://, or http://. For more information, see [Labels and Selectors](https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#syntax-and-character-set).
	Tags []*Tag `json:"tags,omitempty" xml:"tags,omitempty" type:"Repeated"`
	// The taints of the nodes in the node pool. Taints can be used together with tolerations to avoid scheduling pods to specified nodes. For more information, see [taint-and-toleration](https://kubernetes.io/zh/docs/concepts/scheduling-eviction/taint-and-toleration/).
	Taints []*Taint `json:"taints,omitempty" xml:"taints,omitempty" type:"Repeated"`
	// Specifies the timeout period of cluster creation. Unit: minutes.
	//
	// Default value: `60`.
	TimeoutMins *int64 `json:"timeout_mins,omitempty" xml:"timeout_mins,omitempty"`
	// The time zone of the cluster.
	Timezone *string `json:"timezone,omitempty" xml:"timezone,omitempty"`
	// The custom Certificate Authority (CA) certificate used by the cluster.
	UserCa *string `json:"user_ca,omitempty" xml:"user_ca,omitempty"`
	// The user data of nodes.
	UserData *string `json:"user_data,omitempty" xml:"user_data,omitempty"`
	// The ID of the virtual private cloud (VPC) in which you want to deploy the cluster. This parameter is required.
	Vpcid *string `json:"vpcid,omitempty" xml:"vpcid,omitempty"`
	// The vSwitches that are specified for nodes in the cluster. This parameter is required when you create an ACK managed cluster that does not contain nodes.
	VswitchIds []*string `json:"vswitch_ids,omitempty" xml:"vswitch_ids,omitempty" type:"Repeated"`
	// Deprecated
	// Specifies whether to enable auto-renewal for worker nodes. This parameter takes effect and is required only if `worker_instance_charge_type` is set to `PrePaid`. Valid values:
	//
	// *   `true`: enables auto-renewal.
	// *   `false`: disables auto-renewal.
	//
	// Default value: `true`.
	WorkerAutoRenew *bool `json:"worker_auto_renew,omitempty" xml:"worker_auto_renew,omitempty"`
	// Deprecated
	// The cycle of auto-renewal. This parameter takes effect and is required only if the subscription billing method is selected for worker nodes.
	//
	// Valid values: 1, 2, 3, 6, and 12.
	WorkerAutoRenewPeriod *int64 `json:"worker_auto_renew_period,omitempty" xml:"worker_auto_renew_period,omitempty"`
	// Deprecated
	// The configurations of the data disks that you want to mount to worker nodes. The configurations include the disk type and disk size.
	WorkerDataDisks []*CreateClusterRequestWorkerDataDisks `json:"worker_data_disks,omitempty" xml:"worker_data_disks,omitempty" type:"Repeated"`
	// Deprecated
	// The billing method of worker nodes. Valid values:
	//
	// *   `PrePaid`: subscription.
	// *   `PostPaid`: pay-as-you-go.
	//
	// Default value: PostPaid.
	WorkerInstanceChargeType *string `json:"worker_instance_charge_type,omitempty" xml:"worker_instance_charge_type,omitempty"`
	// Deprecated
	// The instance configurations of worker nodes.
	WorkerInstanceTypes []*string `json:"worker_instance_types,omitempty" xml:"worker_instance_types,omitempty" type:"Repeated"`
	// Deprecated
	// The subscription duration of worker nodes. This parameter takes effect and is required only if `worker_instance_charge_type` is set to `PrePaid`.
	//
	// Valid values: 1, 2, 3, 6, 12, 24, 36, 48, and 60.
	//
	// Default value: 1.
	WorkerPeriod *int64 `json:"worker_period,omitempty" xml:"worker_period,omitempty"`
	// Deprecated
	// The billing cycle of worker nodes. This parameter is required if worker_instance_charge_type is set to `PrePaid`.
	//
	// Set the value to `Month`. Worker nodes are billed only on a monthly basis.
	WorkerPeriodUnit *string `json:"worker_period_unit,omitempty" xml:"worker_period_unit,omitempty"`
	// Deprecated
	// The category of the system disks for worker nodes. For more information, see [Elastic Block Storage devices](~~63136~~).
	//
	// Valid values:
	//
	// *   `cloud_efficiency`: ultra disk.
	// *   `cloud_ssd`: standard SSD.
	//
	// Default value: `cloud_ssd`.
	WorkerSystemDiskCategory *string `json:"worker_system_disk_category,omitempty" xml:"worker_system_disk_category,omitempty"`
	// Deprecated
	// If the system disk is an ESSD, you can set the PL of the ESSD. For more information, see [ESSDs](~~122389~~).
	//
	// Valid values:
	//
	// *   PL0
	// *   PL1
	// *   PL2
	// *   PL3
	WorkerSystemDiskPerformanceLevel *string `json:"worker_system_disk_performance_level,omitempty" xml:"worker_system_disk_performance_level,omitempty"`
	// Deprecated
	// The system disk size of worker nodes. Unit: GiB.
	//
	// Valid values: 40 to 500.
	//
	// The value of this parameter must be at least 40 and no less than the image size.
	//
	// Default value: `120`.
	WorkerSystemDiskSize *int64 `json:"worker_system_disk_size,omitempty" xml:"worker_system_disk_size,omitempty"`
	// Deprecated
	// The ID of the automatic snapshot policy that is used by the system disk specified for worker nodes.
	WorkerSystemDiskSnapshotPolicyId *string `json:"worker_system_disk_snapshot_policy_id,omitempty" xml:"worker_system_disk_snapshot_policy_id,omitempty"`
	// Deprecated
	// The list of vSwitches that are specified for nodes. Each node is allocated a vSwitch.
	//
	// The `worker_vswitch_ids` parameter is optional but the `vswitch_ids` parameter is required when you create an ACK managed cluster that does not contain nodes.
	WorkerVswitchIds []*string `json:"worker_vswitch_ids,omitempty" xml:"worker_vswitch_ids,omitempty" type:"Repeated"`
	// The ID of the zone to which the cluster belongs. This parameter takes effect for only ACK Serverless clusters.
	//
	// When you create an ACK Serverless cluster, you must configure `zone_id` if `vpc_id` and `vswitch_ids` are not configured. This way, the system automatically creates a VPC in the specified zone.
	ZoneId *string `json:"zone_id,omitempty" xml:"zone_id,omitempty"`
}

func (CreateClusterRequest) GoString

func (s CreateClusterRequest) GoString() string

func (*CreateClusterRequest) SetAccessControlList

func (s *CreateClusterRequest) SetAccessControlList(v []*string) *CreateClusterRequest

func (*CreateClusterRequest) SetAddons

func (s *CreateClusterRequest) SetAddons(v []*Addon) *CreateClusterRequest

func (*CreateClusterRequest) SetApiAudiences

func (s *CreateClusterRequest) SetApiAudiences(v string) *CreateClusterRequest

func (*CreateClusterRequest) SetChargeType

func (s *CreateClusterRequest) SetChargeType(v string) *CreateClusterRequest

func (*CreateClusterRequest) SetCisEnabled

func (s *CreateClusterRequest) SetCisEnabled(v bool) *CreateClusterRequest

func (*CreateClusterRequest) SetCloudMonitorFlags

func (s *CreateClusterRequest) SetCloudMonitorFlags(v bool) *CreateClusterRequest

func (*CreateClusterRequest) SetClusterDomain

func (s *CreateClusterRequest) SetClusterDomain(v string) *CreateClusterRequest

func (*CreateClusterRequest) SetClusterSpec

func (s *CreateClusterRequest) SetClusterSpec(v string) *CreateClusterRequest

func (*CreateClusterRequest) SetClusterType

func (s *CreateClusterRequest) SetClusterType(v string) *CreateClusterRequest

func (*CreateClusterRequest) SetContainerCidr

func (s *CreateClusterRequest) SetContainerCidr(v string) *CreateClusterRequest

func (*CreateClusterRequest) SetControlplaneLogComponents

func (s *CreateClusterRequest) SetControlplaneLogComponents(v []*string) *CreateClusterRequest

func (*CreateClusterRequest) SetControlplaneLogProject

func (s *CreateClusterRequest) SetControlplaneLogProject(v string) *CreateClusterRequest

func (*CreateClusterRequest) SetControlplaneLogTtl

func (s *CreateClusterRequest) SetControlplaneLogTtl(v string) *CreateClusterRequest

func (*CreateClusterRequest) SetCpuPolicy

func (s *CreateClusterRequest) SetCpuPolicy(v string) *CreateClusterRequest

func (*CreateClusterRequest) SetCustomSan

func (s *CreateClusterRequest) SetCustomSan(v string) *CreateClusterRequest

func (*CreateClusterRequest) SetDeletionProtection

func (s *CreateClusterRequest) SetDeletionProtection(v bool) *CreateClusterRequest

func (*CreateClusterRequest) SetDisableRollback

func (s *CreateClusterRequest) SetDisableRollback(v bool) *CreateClusterRequest

func (*CreateClusterRequest) SetEnableRrsa

func (s *CreateClusterRequest) SetEnableRrsa(v bool) *CreateClusterRequest

func (*CreateClusterRequest) SetEncryptionProviderKey

func (s *CreateClusterRequest) SetEncryptionProviderKey(v string) *CreateClusterRequest

func (*CreateClusterRequest) SetEndpointPublicAccess

func (s *CreateClusterRequest) SetEndpointPublicAccess(v bool) *CreateClusterRequest

func (*CreateClusterRequest) SetFormatDisk

func (s *CreateClusterRequest) SetFormatDisk(v bool) *CreateClusterRequest

func (*CreateClusterRequest) SetImageId

func (*CreateClusterRequest) SetImageType

func (s *CreateClusterRequest) SetImageType(v string) *CreateClusterRequest

func (*CreateClusterRequest) SetInstances

func (s *CreateClusterRequest) SetInstances(v []*string) *CreateClusterRequest

func (*CreateClusterRequest) SetIpStack

func (*CreateClusterRequest) SetIsEnterpriseSecurityGroup

func (s *CreateClusterRequest) SetIsEnterpriseSecurityGroup(v bool) *CreateClusterRequest

func (*CreateClusterRequest) SetKeepInstanceName

func (s *CreateClusterRequest) SetKeepInstanceName(v bool) *CreateClusterRequest

func (*CreateClusterRequest) SetKeyPair

func (*CreateClusterRequest) SetKubernetesVersion

func (s *CreateClusterRequest) SetKubernetesVersion(v string) *CreateClusterRequest

func (*CreateClusterRequest) SetLoadBalancerSpec

func (s *CreateClusterRequest) SetLoadBalancerSpec(v string) *CreateClusterRequest

func (*CreateClusterRequest) SetLoggingType

func (s *CreateClusterRequest) SetLoggingType(v string) *CreateClusterRequest

func (*CreateClusterRequest) SetLoginPassword

func (s *CreateClusterRequest) SetLoginPassword(v string) *CreateClusterRequest

func (*CreateClusterRequest) SetMasterAutoRenew

func (s *CreateClusterRequest) SetMasterAutoRenew(v bool) *CreateClusterRequest

func (*CreateClusterRequest) SetMasterAutoRenewPeriod

func (s *CreateClusterRequest) SetMasterAutoRenewPeriod(v int64) *CreateClusterRequest

func (*CreateClusterRequest) SetMasterCount

func (s *CreateClusterRequest) SetMasterCount(v int64) *CreateClusterRequest

func (*CreateClusterRequest) SetMasterInstanceChargeType

func (s *CreateClusterRequest) SetMasterInstanceChargeType(v string) *CreateClusterRequest

func (*CreateClusterRequest) SetMasterInstanceTypes

func (s *CreateClusterRequest) SetMasterInstanceTypes(v []*string) *CreateClusterRequest

func (*CreateClusterRequest) SetMasterPeriod

func (s *CreateClusterRequest) SetMasterPeriod(v int64) *CreateClusterRequest

func (*CreateClusterRequest) SetMasterPeriodUnit

func (s *CreateClusterRequest) SetMasterPeriodUnit(v string) *CreateClusterRequest

func (*CreateClusterRequest) SetMasterSystemDiskCategory

func (s *CreateClusterRequest) SetMasterSystemDiskCategory(v string) *CreateClusterRequest

func (*CreateClusterRequest) SetMasterSystemDiskPerformanceLevel

func (s *CreateClusterRequest) SetMasterSystemDiskPerformanceLevel(v string) *CreateClusterRequest

func (*CreateClusterRequest) SetMasterSystemDiskSize

func (s *CreateClusterRequest) SetMasterSystemDiskSize(v int64) *CreateClusterRequest

func (*CreateClusterRequest) SetMasterSystemDiskSnapshotPolicyId

func (s *CreateClusterRequest) SetMasterSystemDiskSnapshotPolicyId(v string) *CreateClusterRequest

func (*CreateClusterRequest) SetMasterVswitchIds

func (s *CreateClusterRequest) SetMasterVswitchIds(v []*string) *CreateClusterRequest

func (*CreateClusterRequest) SetName

func (*CreateClusterRequest) SetNatGateway

func (s *CreateClusterRequest) SetNatGateway(v bool) *CreateClusterRequest

func (*CreateClusterRequest) SetNodeCidrMask

func (s *CreateClusterRequest) SetNodeCidrMask(v string) *CreateClusterRequest

func (*CreateClusterRequest) SetNodeNameMode

func (s *CreateClusterRequest) SetNodeNameMode(v string) *CreateClusterRequest

func (*CreateClusterRequest) SetNodePortRange

func (s *CreateClusterRequest) SetNodePortRange(v string) *CreateClusterRequest

func (*CreateClusterRequest) SetNodepools

func (s *CreateClusterRequest) SetNodepools(v []*Nodepool) *CreateClusterRequest

func (*CreateClusterRequest) SetNumOfNodes

func (s *CreateClusterRequest) SetNumOfNodes(v int64) *CreateClusterRequest

func (*CreateClusterRequest) SetOsType

func (*CreateClusterRequest) SetPeriod

func (*CreateClusterRequest) SetPeriodUnit

func (s *CreateClusterRequest) SetPeriodUnit(v string) *CreateClusterRequest

func (*CreateClusterRequest) SetPlatform

func (*CreateClusterRequest) SetPodVswitchIds

func (s *CreateClusterRequest) SetPodVswitchIds(v []*string) *CreateClusterRequest

func (*CreateClusterRequest) SetProfile

func (*CreateClusterRequest) SetProxyMode

func (s *CreateClusterRequest) SetProxyMode(v string) *CreateClusterRequest

func (*CreateClusterRequest) SetRdsInstances

func (s *CreateClusterRequest) SetRdsInstances(v []*string) *CreateClusterRequest

func (*CreateClusterRequest) SetRegionId

func (*CreateClusterRequest) SetResourceGroupId

func (s *CreateClusterRequest) SetResourceGroupId(v string) *CreateClusterRequest

func (*CreateClusterRequest) SetRuntime

func (*CreateClusterRequest) SetSecurityGroupId

func (s *CreateClusterRequest) SetSecurityGroupId(v string) *CreateClusterRequest

func (*CreateClusterRequest) SetSecurityHardeningOs added in v5.0.3

func (s *CreateClusterRequest) SetSecurityHardeningOs(v bool) *CreateClusterRequest

func (*CreateClusterRequest) SetServiceAccountIssuer

func (s *CreateClusterRequest) SetServiceAccountIssuer(v string) *CreateClusterRequest

func (*CreateClusterRequest) SetServiceCidr

func (s *CreateClusterRequest) SetServiceCidr(v string) *CreateClusterRequest

func (*CreateClusterRequest) SetServiceDiscoveryTypes

func (s *CreateClusterRequest) SetServiceDiscoveryTypes(v []*string) *CreateClusterRequest

func (*CreateClusterRequest) SetSnatEntry

func (s *CreateClusterRequest) SetSnatEntry(v bool) *CreateClusterRequest

func (*CreateClusterRequest) SetSocEnabled

func (s *CreateClusterRequest) SetSocEnabled(v bool) *CreateClusterRequest

func (*CreateClusterRequest) SetSshFlags

func (s *CreateClusterRequest) SetSshFlags(v bool) *CreateClusterRequest

func (*CreateClusterRequest) SetTags

func (s *CreateClusterRequest) SetTags(v []*Tag) *CreateClusterRequest

func (*CreateClusterRequest) SetTaints

func (s *CreateClusterRequest) SetTaints(v []*Taint) *CreateClusterRequest

func (*CreateClusterRequest) SetTimeoutMins

func (s *CreateClusterRequest) SetTimeoutMins(v int64) *CreateClusterRequest

func (*CreateClusterRequest) SetTimezone

func (*CreateClusterRequest) SetUserCa

func (*CreateClusterRequest) SetUserData

func (*CreateClusterRequest) SetVpcid

func (*CreateClusterRequest) SetVswitchIds

func (s *CreateClusterRequest) SetVswitchIds(v []*string) *CreateClusterRequest

func (*CreateClusterRequest) SetWorkerAutoRenew

func (s *CreateClusterRequest) SetWorkerAutoRenew(v bool) *CreateClusterRequest

func (*CreateClusterRequest) SetWorkerAutoRenewPeriod

func (s *CreateClusterRequest) SetWorkerAutoRenewPeriod(v int64) *CreateClusterRequest

func (*CreateClusterRequest) SetWorkerDataDisks

func (*CreateClusterRequest) SetWorkerInstanceChargeType

func (s *CreateClusterRequest) SetWorkerInstanceChargeType(v string) *CreateClusterRequest

func (*CreateClusterRequest) SetWorkerInstanceTypes

func (s *CreateClusterRequest) SetWorkerInstanceTypes(v []*string) *CreateClusterRequest

func (*CreateClusterRequest) SetWorkerPeriod

func (s *CreateClusterRequest) SetWorkerPeriod(v int64) *CreateClusterRequest

func (*CreateClusterRequest) SetWorkerPeriodUnit

func (s *CreateClusterRequest) SetWorkerPeriodUnit(v string) *CreateClusterRequest

func (*CreateClusterRequest) SetWorkerSystemDiskCategory

func (s *CreateClusterRequest) SetWorkerSystemDiskCategory(v string) *CreateClusterRequest

func (*CreateClusterRequest) SetWorkerSystemDiskPerformanceLevel

func (s *CreateClusterRequest) SetWorkerSystemDiskPerformanceLevel(v string) *CreateClusterRequest

func (*CreateClusterRequest) SetWorkerSystemDiskSize

func (s *CreateClusterRequest) SetWorkerSystemDiskSize(v int64) *CreateClusterRequest

func (*CreateClusterRequest) SetWorkerSystemDiskSnapshotPolicyId

func (s *CreateClusterRequest) SetWorkerSystemDiskSnapshotPolicyId(v string) *CreateClusterRequest

func (*CreateClusterRequest) SetWorkerVswitchIds

func (s *CreateClusterRequest) SetWorkerVswitchIds(v []*string) *CreateClusterRequest

func (*CreateClusterRequest) SetZoneId

func (CreateClusterRequest) String

func (s CreateClusterRequest) String() string

type CreateClusterRequestWorkerDataDisks

type CreateClusterRequestWorkerDataDisks struct {
	// The type of a data disk.
	Category *string `json:"category,omitempty" xml:"category,omitempty"`
	// Specifies whether to encrypt the data disk. Valid values:
	//
	// *   `true`: encrypts the data disk.
	// *   `false`: does not encrypt the data disk.
	//
	// Default value: `false`.
	Encrypted *string `json:"encrypted,omitempty" xml:"encrypted,omitempty"`
	// The PL of the data disk. This parameter takes effect only for ESSDs. You can specify a higher PL if you increase the size of a data disk. For more information, see [ESSDs](~~122389~~).
	PerformanceLevel *string `json:"performance_level,omitempty" xml:"performance_level,omitempty"`
	// The size of the data disk. Valid values: 40 to 32767. Unit: GiB.
	Size *string `json:"size,omitempty" xml:"size,omitempty"`
}

func (CreateClusterRequestWorkerDataDisks) GoString

func (*CreateClusterRequestWorkerDataDisks) SetCategory

func (*CreateClusterRequestWorkerDataDisks) SetEncrypted

func (*CreateClusterRequestWorkerDataDisks) SetPerformanceLevel

func (*CreateClusterRequestWorkerDataDisks) SetSize

func (CreateClusterRequestWorkerDataDisks) String

type CreateClusterResponse

type CreateClusterResponse struct {
	Headers    map[string]*string         `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                     `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *CreateClusterResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (CreateClusterResponse) GoString

func (s CreateClusterResponse) GoString() string

func (*CreateClusterResponse) SetBody

func (*CreateClusterResponse) SetHeaders

func (*CreateClusterResponse) SetStatusCode

func (s *CreateClusterResponse) SetStatusCode(v int32) *CreateClusterResponse

func (CreateClusterResponse) String

func (s CreateClusterResponse) String() string

type CreateClusterResponseBody

type CreateClusterResponseBody struct {
	// The ID of the cluster.
	ClusterId *string `json:"cluster_id,omitempty" xml:"cluster_id,omitempty"`
	// The request ID.
	RequestId *string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// The task ID.
	TaskId *string `json:"task_id,omitempty" xml:"task_id,omitempty"`
}

func (CreateClusterResponseBody) GoString

func (s CreateClusterResponseBody) GoString() string

func (*CreateClusterResponseBody) SetClusterId

func (*CreateClusterResponseBody) SetRequestId

func (*CreateClusterResponseBody) SetTaskId

func (CreateClusterResponseBody) String

func (s CreateClusterResponseBody) String() string

type CreateEdgeMachineRequest

type CreateEdgeMachineRequest struct {
	// The `hostname` of the cloud-native box.
	//
	// >  After the cloud-native box is activated, the `hostname` is automatically modified. The `hostname` is prefixed with the model and the prefix is followed by a random string.
	Hostname *string `json:"hostname,omitempty" xml:"hostname,omitempty"`
	// The model of the cloud-native box.
	Model *string `json:"model,omitempty" xml:"model,omitempty"`
	// The serial number of the cloud-native box.
	Sn *string `json:"sn,omitempty" xml:"sn,omitempty"`
}

func (CreateEdgeMachineRequest) GoString

func (s CreateEdgeMachineRequest) GoString() string

func (*CreateEdgeMachineRequest) SetHostname

func (*CreateEdgeMachineRequest) SetModel

func (*CreateEdgeMachineRequest) SetSn

func (CreateEdgeMachineRequest) String

func (s CreateEdgeMachineRequest) String() string

type CreateEdgeMachineResponse

type CreateEdgeMachineResponse struct {
	Headers    map[string]*string             `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                         `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *CreateEdgeMachineResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (CreateEdgeMachineResponse) GoString

func (s CreateEdgeMachineResponse) GoString() string

func (*CreateEdgeMachineResponse) SetBody

func (*CreateEdgeMachineResponse) SetHeaders

func (*CreateEdgeMachineResponse) SetStatusCode

func (CreateEdgeMachineResponse) String

func (s CreateEdgeMachineResponse) String() string

type CreateEdgeMachineResponseBody

type CreateEdgeMachineResponseBody struct {
	// The ID of the cloud-native box.
	EdgeMachineId *string `json:"edge_machine_id,omitempty" xml:"edge_machine_id,omitempty"`
	// The request ID.
	RequestId *string `json:"request_id,omitempty" xml:"request_id,omitempty"`
}

func (CreateEdgeMachineResponseBody) GoString

func (*CreateEdgeMachineResponseBody) SetEdgeMachineId

func (*CreateEdgeMachineResponseBody) SetRequestId

func (CreateEdgeMachineResponseBody) String

type CreateKubernetesTriggerRequest

type CreateKubernetesTriggerRequest struct {
	// The action that the trigger performs. Set the value to redeploy.
	//
	// `redeploy`: redeploys the resources specified by `project_id`.
	Action *string `json:"action,omitempty" xml:"action,omitempty"`
	// The cluster ID.
	ClusterId *string `json:"cluster_id,omitempty" xml:"cluster_id,omitempty"`
	// The name of the trigger project.
	//
	// The name consists of the namespace where the application is deployed and the name of the application. The format is `${namespace}/${name}`.
	//
	// Example: `default/test-app`.
	ProjectId *string `json:"project_id,omitempty" xml:"project_id,omitempty"`
	// The type of trigger. Valid values:
	//
	// *   `deployment`: performs actions on Deployments.
	// *   `application`: performs actions on applications that are deployed in Application Center.
	//
	// Default value: `deployment`.
	Type *string `json:"type,omitempty" xml:"type,omitempty"`
}

func (CreateKubernetesTriggerRequest) GoString

func (*CreateKubernetesTriggerRequest) SetAction

func (*CreateKubernetesTriggerRequest) SetClusterId

func (*CreateKubernetesTriggerRequest) SetProjectId

func (*CreateKubernetesTriggerRequest) SetType

func (CreateKubernetesTriggerRequest) String

type CreateKubernetesTriggerResponse

type CreateKubernetesTriggerResponse struct {
	Headers    map[string]*string                   `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                               `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *CreateKubernetesTriggerResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (CreateKubernetesTriggerResponse) GoString

func (*CreateKubernetesTriggerResponse) SetHeaders

func (*CreateKubernetesTriggerResponse) SetStatusCode

func (CreateKubernetesTriggerResponse) String

type CreateKubernetesTriggerResponseBody

type CreateKubernetesTriggerResponseBody struct {
	// The action that the trigger performs. For example, a value of `redeploy` indicates that the trigger redeploys the application.
	Action *string `json:"action,omitempty" xml:"action,omitempty"`
	// The ID of the cluster.
	ClusterId *string `json:"cluster_id,omitempty" xml:"cluster_id,omitempty"`
	// The ID of the trigger.
	Id *string `json:"id,omitempty" xml:"id,omitempty"`
	// The name of the trigger project.
	ProjectId *string `json:"project_id,omitempty" xml:"project_id,omitempty"`
	// The type of trigger.
	//
	// Valid values:
	//
	// *   `deployment`: performs actions on Deployments.
	// *   `application`: performs actions on applications that are deployed in Application Center.
	Type *string `json:"type,omitempty" xml:"type,omitempty"`
}

func (CreateKubernetesTriggerResponseBody) GoString

func (*CreateKubernetesTriggerResponseBody) SetAction

func (*CreateKubernetesTriggerResponseBody) SetClusterId

func (*CreateKubernetesTriggerResponseBody) SetId

func (*CreateKubernetesTriggerResponseBody) SetProjectId

func (*CreateKubernetesTriggerResponseBody) SetType

func (CreateKubernetesTriggerResponseBody) String

type CreateTemplateRequest

type CreateTemplateRequest struct {
	// The description of the template.
	Description *string `json:"description,omitempty" xml:"description,omitempty"`
	// The name of the orchestration template.
	//
	// The name must be 1 to 63 characters in length, and can contain digits, letters, and hyphens (-). It cannot start with a hyphen (-).
	Name *string `json:"name,omitempty" xml:"name,omitempty"`
	// The label of the template.
	Tags *string `json:"tags,omitempty" xml:"tags,omitempty"`
	// The template content in the YAML format.
	Template *string `json:"template,omitempty" xml:"template,omitempty"`
	// The type of template. You can set the parameter to a custom value.
	//
	// *   If the parameter is set to `kubernetes`, the template is displayed on the Templates page in the console.
	// *   If you set the parameter to `compose`, the template is not displayed in the console.
	//
	// We recommend that you set the parameter to `kubernetes`.
	//
	// Default value: `compose`.
	TemplateType *string `json:"template_type,omitempty" xml:"template_type,omitempty"`
}

func (CreateTemplateRequest) GoString

func (s CreateTemplateRequest) GoString() string

func (*CreateTemplateRequest) SetDescription

func (s *CreateTemplateRequest) SetDescription(v string) *CreateTemplateRequest

func (*CreateTemplateRequest) SetName

func (*CreateTemplateRequest) SetTags

func (*CreateTemplateRequest) SetTemplate

func (*CreateTemplateRequest) SetTemplateType

func (s *CreateTemplateRequest) SetTemplateType(v string) *CreateTemplateRequest

func (CreateTemplateRequest) String

func (s CreateTemplateRequest) String() string

type CreateTemplateResponse

type CreateTemplateResponse struct {
	Headers    map[string]*string          `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                      `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *CreateTemplateResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (CreateTemplateResponse) GoString

func (s CreateTemplateResponse) GoString() string

func (*CreateTemplateResponse) SetBody

func (*CreateTemplateResponse) SetHeaders

func (*CreateTemplateResponse) SetStatusCode

func (CreateTemplateResponse) String

func (s CreateTemplateResponse) String() string

type CreateTemplateResponseBody

type CreateTemplateResponseBody struct {
	// The ID of the orchestration template.
	TemplateId *string `json:"template_id,omitempty" xml:"template_id,omitempty"`
}

func (CreateTemplateResponseBody) GoString

func (s CreateTemplateResponseBody) GoString() string

func (*CreateTemplateResponseBody) SetTemplateId

func (CreateTemplateResponseBody) String

type CreateTriggerRequest

type CreateTriggerRequest struct {
	// The action that the trigger performs. Set the value to redeploy.
	//
	// `redeploy`: redeploys the resources specified by `project_id`.
	Action *string `json:"action,omitempty" xml:"action,omitempty"`
	// The cluster ID.
	ClusterId *string `json:"cluster_id,omitempty" xml:"cluster_id,omitempty"`
	// The name of the trigger project.
	//
	// The name consists of the namespace where the application is deployed and the name of the application. The format is `${namespace}/${name}`.
	//
	// Example: `default/test-app`.
	ProjectId *string `json:"project_id,omitempty" xml:"project_id,omitempty"`
	// The type of trigger. Valid values:
	//
	// *   `deployment`: performs actions on Deployments.
	// *   `application`: performs actions on applications that are deployed in Application Center.
	//
	// Default value: `deployment`.
	Type *string `json:"type,omitempty" xml:"type,omitempty"`
}

func (CreateTriggerRequest) GoString

func (s CreateTriggerRequest) GoString() string

func (*CreateTriggerRequest) SetAction

func (*CreateTriggerRequest) SetClusterId

func (s *CreateTriggerRequest) SetClusterId(v string) *CreateTriggerRequest

func (*CreateTriggerRequest) SetProjectId

func (s *CreateTriggerRequest) SetProjectId(v string) *CreateTriggerRequest

func (*CreateTriggerRequest) SetType

func (CreateTriggerRequest) String

func (s CreateTriggerRequest) String() string

type CreateTriggerResponse

type CreateTriggerResponse struct {
	Headers    map[string]*string         `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                     `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *CreateTriggerResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (CreateTriggerResponse) GoString

func (s CreateTriggerResponse) GoString() string

func (*CreateTriggerResponse) SetBody

func (*CreateTriggerResponse) SetHeaders

func (*CreateTriggerResponse) SetStatusCode

func (s *CreateTriggerResponse) SetStatusCode(v int32) *CreateTriggerResponse

func (CreateTriggerResponse) String

func (s CreateTriggerResponse) String() string

type CreateTriggerResponseBody

type CreateTriggerResponseBody struct {
	// The action that the trigger performs. For example, a value of `redeploy` indicates that the trigger redeploys the application.
	Action *string `json:"action,omitempty" xml:"action,omitempty"`
	// The ID of the cluster.
	ClusterId *string `json:"cluster_id,omitempty" xml:"cluster_id,omitempty"`
	// The ID of the trigger.
	Id *string `json:"id,omitempty" xml:"id,omitempty"`
	// The name of the trigger project.
	ProjectId *string `json:"project_id,omitempty" xml:"project_id,omitempty"`
	// The type of trigger. Default value: deployment.
	Type *string `json:"type,omitempty" xml:"type,omitempty"`
}

func (CreateTriggerResponseBody) GoString

func (s CreateTriggerResponseBody) GoString() string

func (*CreateTriggerResponseBody) SetAction

func (*CreateTriggerResponseBody) SetClusterId

func (*CreateTriggerResponseBody) SetId

func (*CreateTriggerResponseBody) SetProjectId

func (*CreateTriggerResponseBody) SetType

func (CreateTriggerResponseBody) String

func (s CreateTriggerResponseBody) String() string

type DataDisk

type DataDisk struct {
	AutoFormat           *bool   `json:"auto_format,omitempty" xml:"auto_format,omitempty"`
	AutoSnapshotPolicyId *string `json:"auto_snapshot_policy_id,omitempty" xml:"auto_snapshot_policy_id,omitempty"`
	BurstingEnabled      *bool   `json:"bursting_enabled,omitempty" xml:"bursting_enabled,omitempty"`
	Category             *string `json:"category,omitempty" xml:"category,omitempty"`
	Device               *string `json:"device,omitempty" xml:"device,omitempty"`
	DiskName             *string `json:"disk_name,omitempty" xml:"disk_name,omitempty"`
	Encrypted            *string `json:"encrypted,omitempty" xml:"encrypted,omitempty"`
	FileSystem           *string `json:"file_system,omitempty" xml:"file_system,omitempty"`
	KmsKeyId             *string `json:"kms_key_id,omitempty" xml:"kms_key_id,omitempty"`
	MountTarget          *string `json:"mount_target,omitempty" xml:"mount_target,omitempty"`
	PerformanceLevel     *string `json:"performance_level,omitempty" xml:"performance_level,omitempty"`
	ProvisionedIops      *int64  `json:"provisioned_iops,omitempty" xml:"provisioned_iops,omitempty"`
	Size                 *int64  `json:"size,omitempty" xml:"size,omitempty"`
	SnapshotId           *string `json:"snapshot_id,omitempty" xml:"snapshot_id,omitempty"`
}

func (DataDisk) GoString

func (s DataDisk) GoString() string

func (*DataDisk) SetAutoFormat

func (s *DataDisk) SetAutoFormat(v bool) *DataDisk

func (*DataDisk) SetAutoSnapshotPolicyId

func (s *DataDisk) SetAutoSnapshotPolicyId(v string) *DataDisk

func (*DataDisk) SetBurstingEnabled

func (s *DataDisk) SetBurstingEnabled(v bool) *DataDisk

func (*DataDisk) SetCategory

func (s *DataDisk) SetCategory(v string) *DataDisk

func (*DataDisk) SetDevice

func (s *DataDisk) SetDevice(v string) *DataDisk

func (*DataDisk) SetDiskName

func (s *DataDisk) SetDiskName(v string) *DataDisk

func (*DataDisk) SetEncrypted

func (s *DataDisk) SetEncrypted(v string) *DataDisk

func (*DataDisk) SetFileSystem

func (s *DataDisk) SetFileSystem(v string) *DataDisk

func (*DataDisk) SetKmsKeyId

func (s *DataDisk) SetKmsKeyId(v string) *DataDisk

func (*DataDisk) SetMountTarget

func (s *DataDisk) SetMountTarget(v string) *DataDisk

func (*DataDisk) SetPerformanceLevel

func (s *DataDisk) SetPerformanceLevel(v string) *DataDisk

func (*DataDisk) SetProvisionedIops

func (s *DataDisk) SetProvisionedIops(v int64) *DataDisk

func (*DataDisk) SetSize

func (s *DataDisk) SetSize(v int64) *DataDisk

func (*DataDisk) SetSnapshotId

func (s *DataDisk) SetSnapshotId(v string) *DataDisk

func (DataDisk) String

func (s DataDisk) String() string

type DeleteAlertContactGroupRequest

type DeleteAlertContactGroupRequest struct {
	ContactGroupIds []*int64 `json:"contact_group_ids,omitempty" xml:"contact_group_ids,omitempty" type:"Repeated"`
}

func (DeleteAlertContactGroupRequest) GoString

func (*DeleteAlertContactGroupRequest) SetContactGroupIds

func (DeleteAlertContactGroupRequest) String

type DeleteAlertContactGroupResponse

type DeleteAlertContactGroupResponse struct {
	Headers    map[string]*string                     `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                 `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       []*DeleteAlertContactGroupResponseBody `json:"body,omitempty" xml:"body,omitempty" type:"Repeated"`
}

func (DeleteAlertContactGroupResponse) GoString

func (*DeleteAlertContactGroupResponse) SetBody

func (*DeleteAlertContactGroupResponse) SetHeaders

func (*DeleteAlertContactGroupResponse) SetStatusCode

func (DeleteAlertContactGroupResponse) String

type DeleteAlertContactGroupResponseBody

type DeleteAlertContactGroupResponseBody struct {
	Status         *bool   `json:"status,omitempty" xml:"status,omitempty"`
	Msg            *string `json:"msg,omitempty" xml:"msg,omitempty"`
	ContactGroupId *string `json:"contact_group_id,omitempty" xml:"contact_group_id,omitempty"`
}

func (DeleteAlertContactGroupResponseBody) GoString

func (*DeleteAlertContactGroupResponseBody) SetContactGroupId

func (*DeleteAlertContactGroupResponseBody) SetMsg

func (*DeleteAlertContactGroupResponseBody) SetStatus

func (DeleteAlertContactGroupResponseBody) String

type DeleteAlertContactGroupShrinkRequest

type DeleteAlertContactGroupShrinkRequest struct {
	ContactGroupIdsShrink *string `json:"contact_group_ids,omitempty" xml:"contact_group_ids,omitempty"`
}

func (DeleteAlertContactGroupShrinkRequest) GoString

func (*DeleteAlertContactGroupShrinkRequest) SetContactGroupIdsShrink

func (DeleteAlertContactGroupShrinkRequest) String

type DeleteAlertContactRequest

type DeleteAlertContactRequest struct {
	ContactIds []*int64 `json:"contact_ids,omitempty" xml:"contact_ids,omitempty" type:"Repeated"`
}

func (DeleteAlertContactRequest) GoString

func (s DeleteAlertContactRequest) GoString() string

func (*DeleteAlertContactRequest) SetContactIds

func (DeleteAlertContactRequest) String

func (s DeleteAlertContactRequest) String() string

type DeleteAlertContactResponse

type DeleteAlertContactResponse struct {
	Headers    map[string]*string              `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                          `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DeleteAlertContactResponseBody `json:"body,omitempty" xml:"body,omitempty" type:"Struct"`
}

func (DeleteAlertContactResponse) GoString

func (s DeleteAlertContactResponse) GoString() string

func (*DeleteAlertContactResponse) SetBody

func (*DeleteAlertContactResponse) SetHeaders

func (*DeleteAlertContactResponse) SetStatusCode

func (DeleteAlertContactResponse) String

type DeleteAlertContactResponseBody

type DeleteAlertContactResponseBody struct {
	Body []*DeleteAlertContactResponseBodyBody `json:"body,omitempty" xml:"body,omitempty" type:"Repeated"`
}

func (DeleteAlertContactResponseBody) GoString

func (*DeleteAlertContactResponseBody) SetBody

func (DeleteAlertContactResponseBody) String

type DeleteAlertContactResponseBodyBody

type DeleteAlertContactResponseBodyBody struct {
	Status    *bool   `json:"status,omitempty" xml:"status,omitempty"`
	Msg       *string `json:"msg,omitempty" xml:"msg,omitempty"`
	ContactId *string `json:"contact_id,omitempty" xml:"contact_id,omitempty"`
}

func (DeleteAlertContactResponseBodyBody) GoString

func (*DeleteAlertContactResponseBodyBody) SetContactId

func (*DeleteAlertContactResponseBodyBody) SetMsg

func (*DeleteAlertContactResponseBodyBody) SetStatus

func (DeleteAlertContactResponseBodyBody) String

type DeleteAlertContactShrinkRequest

type DeleteAlertContactShrinkRequest struct {
	ContactIdsShrink *string `json:"contact_ids,omitempty" xml:"contact_ids,omitempty"`
}

func (DeleteAlertContactShrinkRequest) GoString

func (*DeleteAlertContactShrinkRequest) SetContactIdsShrink

func (DeleteAlertContactShrinkRequest) String

type DeleteClusterNodepoolRequest

type DeleteClusterNodepoolRequest struct {
	// Specifies whether to forcefully delete the node pool.
	Force *bool `json:"force,omitempty" xml:"force,omitempty"`
}

func (DeleteClusterNodepoolRequest) GoString

func (s DeleteClusterNodepoolRequest) GoString() string

func (*DeleteClusterNodepoolRequest) SetForce

func (DeleteClusterNodepoolRequest) String

type DeleteClusterNodepoolResponse

type DeleteClusterNodepoolResponse struct {
	Headers    map[string]*string                 `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                             `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DeleteClusterNodepoolResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DeleteClusterNodepoolResponse) GoString

func (*DeleteClusterNodepoolResponse) SetBody

func (*DeleteClusterNodepoolResponse) SetHeaders

func (*DeleteClusterNodepoolResponse) SetStatusCode

func (DeleteClusterNodepoolResponse) String

type DeleteClusterNodepoolResponseBody

type DeleteClusterNodepoolResponseBody struct {
	// The request ID.
	RequestId *string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	TaskId    *string `json:"task_id,omitempty" xml:"task_id,omitempty"`
}

func (DeleteClusterNodepoolResponseBody) GoString

func (*DeleteClusterNodepoolResponseBody) SetRequestId

func (*DeleteClusterNodepoolResponseBody) SetTaskId

func (DeleteClusterNodepoolResponseBody) String

type DeleteClusterNodesRequest

type DeleteClusterNodesRequest struct {
	// Specifies whether to remove all pods from the nodes that you want to remove. Valid values:
	//
	// *   `true`: removes all pods from the nodes that you want to remove.
	// *   `false`: does not remove pods from the nodes that you want to remove.
	//
	// Default value: `false`.
	DrainNode *bool `json:"drain_node,omitempty" xml:"drain_node,omitempty"`
	// The list of nodes to be removed. You need to specify the name of the nodes used in the cluster, for example, `cn-hangzhou.192.168.0.70`.
	Nodes []*string `json:"nodes,omitempty" xml:"nodes,omitempty" type:"Repeated"`
	// Specifies whether to release the Elastic Compute Service (ECS) instances. Valid values:
	//
	// *   `true`: releases the ECS instances.
	// *   `false`: does not release the ECS instances.
	//
	// Default value: `false`.
	//
	// >  You cannot release subscription ECS instances.
	ReleaseNode *bool `json:"release_node,omitempty" xml:"release_node,omitempty"`
}

func (DeleteClusterNodesRequest) GoString

func (s DeleteClusterNodesRequest) GoString() string

func (*DeleteClusterNodesRequest) SetDrainNode

func (*DeleteClusterNodesRequest) SetNodes

func (*DeleteClusterNodesRequest) SetReleaseNode

func (DeleteClusterNodesRequest) String

func (s DeleteClusterNodesRequest) String() string

type DeleteClusterNodesResponse

type DeleteClusterNodesResponse struct {
	Headers    map[string]*string              `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                          `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DeleteClusterNodesResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DeleteClusterNodesResponse) GoString

func (s DeleteClusterNodesResponse) GoString() string

func (*DeleteClusterNodesResponse) SetBody

func (*DeleteClusterNodesResponse) SetHeaders

func (*DeleteClusterNodesResponse) SetStatusCode

func (DeleteClusterNodesResponse) String

type DeleteClusterNodesResponseBody

type DeleteClusterNodesResponseBody struct {
	// The cluster ID.
	ClusterId *string `json:"cluster_id,omitempty" xml:"cluster_id,omitempty"`
	// The request ID.
	RequestId *string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// The task ID.
	TaskId *string `json:"task_id,omitempty" xml:"task_id,omitempty"`
}

func (DeleteClusterNodesResponseBody) GoString

func (*DeleteClusterNodesResponseBody) SetClusterId

func (*DeleteClusterNodesResponseBody) SetRequestId

func (*DeleteClusterNodesResponseBody) SetTaskId

func (DeleteClusterNodesResponseBody) String

type DeleteClusterRequest

type DeleteClusterRequest struct {
	// Deprecated
	// Specifies whether to retain the Server Load Balancer (SLB) resources that are created by the cluster.
	//
	// *   `true`: retains the SLB resources that are created by the cluster.
	// *   `false`: does not retain the SLB resources that are created by the cluster.
	//
	// Default value: `false`.
	KeepSlb *bool `json:"keep_slb,omitempty" xml:"keep_slb,omitempty"`
	// Specifies whether to retain all resources. If you set the parameter to `true`, the `retain_resources` parameter is ignored.
	//
	// *   `true`: retains all resources.
	// *   `false`: does not retain all resources.
	//
	// Default value: `false`.
	RetainAllResources *bool `json:"retain_all_resources,omitempty" xml:"retain_all_resources,omitempty"`
	// The list of resources. To retain resources when you delete a cluster, you need to specify the IDs of the resources to be retained.
	RetainResources []*string `json:"retain_resources,omitempty" xml:"retain_resources,omitempty" type:"Repeated"`
}

func (DeleteClusterRequest) GoString

func (s DeleteClusterRequest) GoString() string

func (*DeleteClusterRequest) SetKeepSlb

func (*DeleteClusterRequest) SetRetainAllResources

func (s *DeleteClusterRequest) SetRetainAllResources(v bool) *DeleteClusterRequest

func (*DeleteClusterRequest) SetRetainResources

func (s *DeleteClusterRequest) SetRetainResources(v []*string) *DeleteClusterRequest

func (DeleteClusterRequest) String

func (s DeleteClusterRequest) String() string

type DeleteClusterResponse

type DeleteClusterResponse struct {
	Headers    map[string]*string         `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                     `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DeleteClusterResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DeleteClusterResponse) GoString

func (s DeleteClusterResponse) GoString() string

func (*DeleteClusterResponse) SetBody

func (*DeleteClusterResponse) SetHeaders

func (*DeleteClusterResponse) SetStatusCode

func (s *DeleteClusterResponse) SetStatusCode(v int32) *DeleteClusterResponse

func (DeleteClusterResponse) String

func (s DeleteClusterResponse) String() string

type DeleteClusterResponseBody

type DeleteClusterResponseBody struct {
	// The ID of the cluster.
	ClusterId *string `json:"cluster_id,omitempty" xml:"cluster_id,omitempty"`
	// The request ID.
	RequestId *string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// The ID of the task.
	TaskId *string `json:"task_id,omitempty" xml:"task_id,omitempty"`
}

func (DeleteClusterResponseBody) GoString

func (s DeleteClusterResponseBody) GoString() string

func (*DeleteClusterResponseBody) SetClusterId

func (*DeleteClusterResponseBody) SetRequestId

func (*DeleteClusterResponseBody) SetTaskId

func (DeleteClusterResponseBody) String

func (s DeleteClusterResponseBody) String() string

type DeleteClusterShrinkRequest

type DeleteClusterShrinkRequest struct {
	// Deprecated
	// Specifies whether to retain the Server Load Balancer (SLB) resources that are created by the cluster.
	//
	// *   `true`: retains the SLB resources that are created by the cluster.
	// *   `false`: does not retain the SLB resources that are created by the cluster.
	//
	// Default value: `false`.
	KeepSlb *bool `json:"keep_slb,omitempty" xml:"keep_slb,omitempty"`
	// Specifies whether to retain all resources. If you set the parameter to `true`, the `retain_resources` parameter is ignored.
	//
	// *   `true`: retains all resources.
	// *   `false`: does not retain all resources.
	//
	// Default value: `false`.
	RetainAllResources *bool `json:"retain_all_resources,omitempty" xml:"retain_all_resources,omitempty"`
	// The list of resources. To retain resources when you delete a cluster, you need to specify the IDs of the resources to be retained.
	RetainResourcesShrink *string `json:"retain_resources,omitempty" xml:"retain_resources,omitempty"`
}

func (DeleteClusterShrinkRequest) GoString

func (s DeleteClusterShrinkRequest) GoString() string

func (*DeleteClusterShrinkRequest) SetKeepSlb

func (*DeleteClusterShrinkRequest) SetRetainAllResources

func (s *DeleteClusterShrinkRequest) SetRetainAllResources(v bool) *DeleteClusterShrinkRequest

func (*DeleteClusterShrinkRequest) SetRetainResourcesShrink

func (s *DeleteClusterShrinkRequest) SetRetainResourcesShrink(v string) *DeleteClusterShrinkRequest

func (DeleteClusterShrinkRequest) String

type DeleteEdgeMachineRequest

type DeleteEdgeMachineRequest struct {
	// Specifies whether to forcefully delete the cloud-native box. Valid values:
	//
	// *   `true`: forcefully deletes the cloud-native box.
	// *   `false`: does not forcefully delete the cloud-native box.
	//
	// Default value: `false`.
	Force *string `json:"force,omitempty" xml:"force,omitempty"`
}

func (DeleteEdgeMachineRequest) GoString

func (s DeleteEdgeMachineRequest) GoString() string

func (*DeleteEdgeMachineRequest) SetForce

func (DeleteEdgeMachineRequest) String

func (s DeleteEdgeMachineRequest) String() string

type DeleteEdgeMachineResponse

type DeleteEdgeMachineResponse struct {
	Headers    map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32             `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
}

func (DeleteEdgeMachineResponse) GoString

func (s DeleteEdgeMachineResponse) GoString() string

func (*DeleteEdgeMachineResponse) SetHeaders

func (*DeleteEdgeMachineResponse) SetStatusCode

func (DeleteEdgeMachineResponse) String

func (s DeleteEdgeMachineResponse) String() string

type DeleteKubernetesTriggerResponse

type DeleteKubernetesTriggerResponse struct {
	Headers    map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32             `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
}

func (DeleteKubernetesTriggerResponse) GoString

func (*DeleteKubernetesTriggerResponse) SetHeaders

func (*DeleteKubernetesTriggerResponse) SetStatusCode

func (DeleteKubernetesTriggerResponse) String

type DeletePolicyInstanceRequest

type DeletePolicyInstanceRequest struct {
	// The ID of the policy instance.
	InstanceName *string `json:"instance_name,omitempty" xml:"instance_name,omitempty"`
}

func (DeletePolicyInstanceRequest) GoString

func (s DeletePolicyInstanceRequest) GoString() string

func (*DeletePolicyInstanceRequest) SetInstanceName

func (DeletePolicyInstanceRequest) String

type DeletePolicyInstanceResponse

type DeletePolicyInstanceResponse struct {
	Headers    map[string]*string                `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                            `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DeletePolicyInstanceResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DeletePolicyInstanceResponse) GoString

func (s DeletePolicyInstanceResponse) GoString() string

func (*DeletePolicyInstanceResponse) SetBody

func (*DeletePolicyInstanceResponse) SetHeaders

func (*DeletePolicyInstanceResponse) SetStatusCode

func (DeletePolicyInstanceResponse) String

type DeletePolicyInstanceResponseBody

type DeletePolicyInstanceResponseBody struct {
	// A list of policy instances.
	Instances []*string `json:"instances,omitempty" xml:"instances,omitempty" type:"Repeated"`
}

func (DeletePolicyInstanceResponseBody) GoString

func (*DeletePolicyInstanceResponseBody) SetInstances

func (DeletePolicyInstanceResponseBody) String

type DeleteTemplateResponse

type DeleteTemplateResponse struct {
	Headers    map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32             `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
}

func (DeleteTemplateResponse) GoString

func (s DeleteTemplateResponse) GoString() string

func (*DeleteTemplateResponse) SetHeaders

func (*DeleteTemplateResponse) SetStatusCode

func (DeleteTemplateResponse) String

func (s DeleteTemplateResponse) String() string

type DeleteTriggerResponse

type DeleteTriggerResponse struct {
	Headers    map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32             `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
}

func (DeleteTriggerResponse) GoString

func (s DeleteTriggerResponse) GoString() string

func (*DeleteTriggerResponse) SetHeaders

func (*DeleteTriggerResponse) SetStatusCode

func (s *DeleteTriggerResponse) SetStatusCode(v int32) *DeleteTriggerResponse

func (DeleteTriggerResponse) String

func (s DeleteTriggerResponse) String() string

type DeployPolicyInstanceRequest

type DeployPolicyInstanceRequest struct {
	// The action of the policy. Valid values:
	//
	// *   `deny`: Deployments that match the policy are denied.
	// *   `warn`: Alerts are generated for Deployments that match the policy.
	Action *string `json:"action,omitempty" xml:"action,omitempty"`
	// The applicable scope of the policy instance. If you leave this parameter empty, the policy instance is applicable to all namespaces.
	Namespaces []*string `json:"namespaces,omitempty" xml:"namespaces,omitempty" type:"Repeated"`
	// The parameters of the policy instance.
	Parameters map[string]interface{} `json:"parameters,omitempty" xml:"parameters,omitempty"`
}

func (DeployPolicyInstanceRequest) GoString

func (s DeployPolicyInstanceRequest) GoString() string

func (*DeployPolicyInstanceRequest) SetAction

func (*DeployPolicyInstanceRequest) SetNamespaces

func (*DeployPolicyInstanceRequest) SetParameters

func (s *DeployPolicyInstanceRequest) SetParameters(v map[string]interface{}) *DeployPolicyInstanceRequest

func (DeployPolicyInstanceRequest) String

type DeployPolicyInstanceResponse

type DeployPolicyInstanceResponse struct {
	Headers    map[string]*string                `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                            `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DeployPolicyInstanceResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DeployPolicyInstanceResponse) GoString

func (s DeployPolicyInstanceResponse) GoString() string

func (*DeployPolicyInstanceResponse) SetBody

func (*DeployPolicyInstanceResponse) SetHeaders

func (*DeployPolicyInstanceResponse) SetStatusCode

func (DeployPolicyInstanceResponse) String

type DeployPolicyInstanceResponseBody

type DeployPolicyInstanceResponseBody struct {
	// A list of policy instances.
	Instances []*string `json:"instances,omitempty" xml:"instances,omitempty" type:"Repeated"`
}

func (DeployPolicyInstanceResponseBody) GoString

func (*DeployPolicyInstanceResponseBody) SetInstances

func (DeployPolicyInstanceResponseBody) String

type DescirbeWorkflowResponse

type DescirbeWorkflowResponse struct {
	Headers    map[string]*string            `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                        `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DescirbeWorkflowResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DescirbeWorkflowResponse) GoString

func (s DescirbeWorkflowResponse) GoString() string

func (*DescirbeWorkflowResponse) SetBody

func (*DescirbeWorkflowResponse) SetHeaders

func (*DescirbeWorkflowResponse) SetStatusCode

func (DescirbeWorkflowResponse) String

func (s DescirbeWorkflowResponse) String() string

type DescirbeWorkflowResponseBody

type DescirbeWorkflowResponseBody struct {
	// The time when the workflow was created.
	CreateTime *string `json:"create_time,omitempty" xml:"create_time,omitempty"`
	// The duration of the workflow.
	Duration *string `json:"duration,omitempty" xml:"duration,omitempty"`
	// The end time of the task.
	FinishTime *string `json:"finish_time,omitempty" xml:"finish_time,omitempty"`
	// The size of the input data.
	InputDataSize *string `json:"input_data_size,omitempty" xml:"input_data_size,omitempty"`
	// The name of the workflow.
	JobName *string `json:"job_name,omitempty" xml:"job_name,omitempty"`
	// The namespace to which the workflow belongs.
	JobNamespace *string `json:"job_namespace,omitempty" xml:"job_namespace,omitempty"`
	// The size of the output data.
	OutputDataSize *string `json:"output_data_size,omitempty" xml:"output_data_size,omitempty"`
	// The current state of the workflow.
	Status *string `json:"status,omitempty" xml:"status,omitempty"`
	// The number of base pairs.
	TotalBases *string `json:"total_bases,omitempty" xml:"total_bases,omitempty"`
	// The number of reads.
	TotalReads *string `json:"total_reads,omitempty" xml:"total_reads,omitempty"`
	// The user input parameters.
	UserInputData *string `json:"user_input_data,omitempty" xml:"user_input_data,omitempty"`
}

func (DescirbeWorkflowResponseBody) GoString

func (s DescirbeWorkflowResponseBody) GoString() string

func (*DescirbeWorkflowResponseBody) SetCreateTime

func (*DescirbeWorkflowResponseBody) SetDuration

func (*DescirbeWorkflowResponseBody) SetFinishTime

func (*DescirbeWorkflowResponseBody) SetInputDataSize

func (*DescirbeWorkflowResponseBody) SetJobName

func (*DescirbeWorkflowResponseBody) SetJobNamespace

func (*DescirbeWorkflowResponseBody) SetOutputDataSize

func (*DescirbeWorkflowResponseBody) SetStatus

func (*DescirbeWorkflowResponseBody) SetTotalBases

func (*DescirbeWorkflowResponseBody) SetTotalReads

func (*DescirbeWorkflowResponseBody) SetUserInputData

func (DescirbeWorkflowResponseBody) String

type DescribeAddonRequest

type DescribeAddonRequest struct {
	// The ID of the cluster. If you specify a cluster ID, only components used in the cluster are queried. Other parameters are ignored.
	ClusterId *string `json:"cluster_id,omitempty" xml:"cluster_id,omitempty"`
	// The specifications of the cluster. If cluster_id is specified, this parameter is ignored. You must specify the region_id, cluster_type, profile, cluster_spec, and cluster_version parameters at the same time.
	ClusterSpec *string `json:"cluster_spec,omitempty" xml:"cluster_spec,omitempty"`
	// The type of the cluster. If cluster_id is specified, this parameter is ignored. You must specify the region_id, cluster_type, profile, cluster_spec, and cluster_version parameters at the same time.
	ClusterType *string `json:"cluster_type,omitempty" xml:"cluster_type,omitempty"`
	// The version of the cluster. If cluster_id is specified, this parameter is ignored. You must specify the region_id, cluster_type, profile, cluster_spec, and cluster_version parameters at the same time.
	ClusterVersion *string `json:"cluster_version,omitempty" xml:"cluster_version,omitempty"`
	// The subtype of the cluster. If cluster_id is specified, this parameter is ignored. You must specify the region_id, cluster_type, profile, cluster_spec, and cluster_version parameters at the same time.
	Profile *string `json:"profile,omitempty" xml:"profile,omitempty"`
	// The region ID. If cluster_id is specified, this parameter is ignored. You must specify the region_id, cluster_type, profile, cluster_spec, and cluster_version parameters at the same time.
	RegionId *string `json:"region_id,omitempty" xml:"region_id,omitempty"`
	// The version of the component. If you do not specify this parameter, the latest version of the component is queried.
	Version *string `json:"version,omitempty" xml:"version,omitempty"`
}

func (DescribeAddonRequest) GoString

func (s DescribeAddonRequest) GoString() string

func (*DescribeAddonRequest) SetClusterId

func (s *DescribeAddonRequest) SetClusterId(v string) *DescribeAddonRequest

func (*DescribeAddonRequest) SetClusterSpec

func (s *DescribeAddonRequest) SetClusterSpec(v string) *DescribeAddonRequest

func (*DescribeAddonRequest) SetClusterType

func (s *DescribeAddonRequest) SetClusterType(v string) *DescribeAddonRequest

func (*DescribeAddonRequest) SetClusterVersion

func (s *DescribeAddonRequest) SetClusterVersion(v string) *DescribeAddonRequest

func (*DescribeAddonRequest) SetProfile

func (*DescribeAddonRequest) SetRegionId

func (*DescribeAddonRequest) SetVersion

func (DescribeAddonRequest) String

func (s DescribeAddonRequest) String() string

type DescribeAddonResponse

type DescribeAddonResponse struct {
	Headers    map[string]*string         `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                     `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DescribeAddonResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DescribeAddonResponse) GoString

func (s DescribeAddonResponse) GoString() string

func (*DescribeAddonResponse) SetBody

func (*DescribeAddonResponse) SetHeaders

func (*DescribeAddonResponse) SetStatusCode

func (s *DescribeAddonResponse) SetStatusCode(v int32) *DescribeAddonResponse

func (DescribeAddonResponse) String

func (s DescribeAddonResponse) String() string

type DescribeAddonResponseBody

type DescribeAddonResponseBody struct {
	// Architectures supported by the component. Valid values:
	//
	// *   amd64
	// *   arm64
	Architecture []*string `json:"architecture,omitempty" xml:"architecture,omitempty" type:"Repeated"`
	// The category of the component.
	Category *string `json:"category,omitempty" xml:"category,omitempty"`
	// The custom parameter schema of the component.
	ConfigSchema *string `json:"config_schema,omitempty" xml:"config_schema,omitempty"`
	// Indicates whether the component is automatically installed by default.
	InstallByDefault *bool `json:"install_by_default,omitempty" xml:"install_by_default,omitempty"`
	// Indicates whether the component is fully managed.
	Managed *bool `json:"managed,omitempty" xml:"managed,omitempty"`
	// The name of the component.
	Name *string `json:"name,omitempty" xml:"name,omitempty"`
	// The latest version of the component.
	NewerVersions []*DescribeAddonResponseBodyNewerVersions `json:"newer_versions,omitempty" xml:"newer_versions,omitempty" type:"Repeated"`
	// Operations supported by the component. Valid values:
	//
	// *   Install
	// *   Upgrade
	// *   Modify
	// *   Uninstall
	SupportedActions []*string `json:"supported_actions,omitempty" xml:"supported_actions,omitempty" type:"Repeated"`
	// The version of the component.
	Version *string `json:"version,omitempty" xml:"version,omitempty"`
}

func (DescribeAddonResponseBody) GoString

func (s DescribeAddonResponseBody) GoString() string

func (*DescribeAddonResponseBody) SetArchitecture

func (*DescribeAddonResponseBody) SetCategory

func (*DescribeAddonResponseBody) SetConfigSchema

func (*DescribeAddonResponseBody) SetInstallByDefault

func (s *DescribeAddonResponseBody) SetInstallByDefault(v bool) *DescribeAddonResponseBody

func (*DescribeAddonResponseBody) SetManaged

func (*DescribeAddonResponseBody) SetName

func (*DescribeAddonResponseBody) SetNewerVersions

func (*DescribeAddonResponseBody) SetSupportedActions

func (s *DescribeAddonResponseBody) SetSupportedActions(v []*string) *DescribeAddonResponseBody

func (*DescribeAddonResponseBody) SetVersion

func (DescribeAddonResponseBody) String

func (s DescribeAddonResponseBody) String() string

type DescribeAddonResponseBodyNewerVersions

type DescribeAddonResponseBodyNewerVersions struct {
	// The minimum cluster version required by the component version.
	MinimumClusterVersion *string `json:"minimum_cluster_version,omitempty" xml:"minimum_cluster_version,omitempty"`
	// Indicates whether the component can be updated to the version.
	Upgradable *bool `json:"upgradable,omitempty" xml:"upgradable,omitempty"`
	// The version number.
	Version *string `json:"version,omitempty" xml:"version,omitempty"`
}

func (DescribeAddonResponseBodyNewerVersions) GoString

func (*DescribeAddonResponseBodyNewerVersions) SetMinimumClusterVersion

func (*DescribeAddonResponseBodyNewerVersions) SetUpgradable

func (*DescribeAddonResponseBodyNewerVersions) SetVersion

func (DescribeAddonResponseBodyNewerVersions) String

type DescribeAddonsRequest

type DescribeAddonsRequest struct {
	// The cluster type. Valid values:
	//
	// *   `Default`: ACK managed cluster
	// *   `Serverless`: ACK Serverless cluster
	// *   `Edge`: ACK Edge cluster
	ClusterProfile *string `json:"cluster_profile,omitempty" xml:"cluster_profile,omitempty"`
	// The edition of the cluster. If you set the cluster type to `ManagedKubernetes`, the following editions are supported:
	//
	// *   `ack.pro.small`: ACK Pro cluster
	// *   `ack.standard`: ACK Basic cluster
	//
	// By default, this parameter is left empty. If you leave this parameter empty, clusters are not filtered by edition.
	ClusterSpec *string `json:"cluster_spec,omitempty" xml:"cluster_spec,omitempty"`
	// The type of cluster. Valid values:
	//
	// *   `Kubernetes`: ACK dedicated cluster.
	// *   `ManagedKubernetes`: ACK managed cluster. ACK managed clusters include ACK Pro clusters, ACK Basic clusters, ACK Serverless Pro clusters, ACK Serverless Basic clusters, ACK Edge Pro clusters, and ACK Edge Basic clusters.
	// *   `ExternalKubernetes`: registered cluster.
	ClusterType *string `json:"cluster_type,omitempty" xml:"cluster_type,omitempty"`
	// The cluster version.
	ClusterVersion *string `json:"cluster_version,omitempty" xml:"cluster_version,omitempty"`
	// The region ID of the cluster.
	Region *string `json:"region,omitempty" xml:"region,omitempty"`
}

func (DescribeAddonsRequest) GoString

func (s DescribeAddonsRequest) GoString() string

func (*DescribeAddonsRequest) SetClusterProfile

func (s *DescribeAddonsRequest) SetClusterProfile(v string) *DescribeAddonsRequest

func (*DescribeAddonsRequest) SetClusterSpec

func (s *DescribeAddonsRequest) SetClusterSpec(v string) *DescribeAddonsRequest

func (*DescribeAddonsRequest) SetClusterType

func (s *DescribeAddonsRequest) SetClusterType(v string) *DescribeAddonsRequest

func (*DescribeAddonsRequest) SetClusterVersion

func (s *DescribeAddonsRequest) SetClusterVersion(v string) *DescribeAddonsRequest

func (*DescribeAddonsRequest) SetRegion

func (DescribeAddonsRequest) String

func (s DescribeAddonsRequest) String() string

type DescribeAddonsResponse

type DescribeAddonsResponse struct {
	Headers    map[string]*string          `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                      `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DescribeAddonsResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DescribeAddonsResponse) GoString

func (s DescribeAddonsResponse) GoString() string

func (*DescribeAddonsResponse) SetBody

func (*DescribeAddonsResponse) SetHeaders

func (*DescribeAddonsResponse) SetStatusCode

func (DescribeAddonsResponse) String

func (s DescribeAddonsResponse) String() string

type DescribeAddonsResponseBody

type DescribeAddonsResponseBody struct {
	// The list of the returned components.
	ComponentGroups []*DescribeAddonsResponseBodyComponentGroups `json:"ComponentGroups,omitempty" xml:"ComponentGroups,omitempty" type:"Repeated"`
	// Standard components.
	StandardComponents map[string]*StandardComponentsValue `json:"StandardComponents,omitempty" xml:"StandardComponents,omitempty"`
}

func (DescribeAddonsResponseBody) GoString

func (s DescribeAddonsResponseBody) GoString() string

func (*DescribeAddonsResponseBody) SetComponentGroups

func (*DescribeAddonsResponseBody) SetStandardComponents

func (DescribeAddonsResponseBody) String

type DescribeAddonsResponseBodyComponentGroups

type DescribeAddonsResponseBodyComponentGroups struct {
	// The name of the component group.
	GroupName *string `json:"group_name,omitempty" xml:"group_name,omitempty"`
	// The names of the components in the component group.
	Items []*DescribeAddonsResponseBodyComponentGroupsItems `json:"items,omitempty" xml:"items,omitempty" type:"Repeated"`
}

func (DescribeAddonsResponseBodyComponentGroups) GoString

func (*DescribeAddonsResponseBodyComponentGroups) SetGroupName

func (DescribeAddonsResponseBodyComponentGroups) String

type DescribeAddonsResponseBodyComponentGroupsItems

type DescribeAddonsResponseBodyComponentGroupsItems struct {
	// The name of the component.
	Name *string `json:"name,omitempty" xml:"name,omitempty"`
}

func (DescribeAddonsResponseBodyComponentGroupsItems) GoString

func (*DescribeAddonsResponseBodyComponentGroupsItems) SetName

func (DescribeAddonsResponseBodyComponentGroupsItems) String

type DescribeClusterAddonInstanceResponse

type DescribeClusterAddonInstanceResponse struct {
	Headers    map[string]*string                        `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                    `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DescribeClusterAddonInstanceResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DescribeClusterAddonInstanceResponse) GoString

func (*DescribeClusterAddonInstanceResponse) SetHeaders

func (*DescribeClusterAddonInstanceResponse) SetStatusCode

func (DescribeClusterAddonInstanceResponse) String

type DescribeClusterAddonInstanceResponseBody

type DescribeClusterAddonInstanceResponseBody struct {
	// The configuration of the component.
	Config *string `json:"config,omitempty" xml:"config,omitempty"`
	// The name of the component.
	Name *string `json:"name,omitempty" xml:"name,omitempty"`
	// The status of the component. Valid values:
	//
	// *   initial: The component is being installed.
	// *   active: The component is installed.
	// *   unhealthy: The component is in an abnormal state.
	// *   upgrading: The component is being updated.
	// *   updating: The component is being modified.
	// *   deleting: The component is being uninstalled.
	// *   deleted: The component is deleted.
	State *string `json:"state,omitempty" xml:"state,omitempty"`
	// The version of the component.
	Version *string `json:"version,omitempty" xml:"version,omitempty"`
}

func (DescribeClusterAddonInstanceResponseBody) GoString

func (*DescribeClusterAddonInstanceResponseBody) SetConfig

func (*DescribeClusterAddonInstanceResponseBody) SetName

func (*DescribeClusterAddonInstanceResponseBody) SetState

func (*DescribeClusterAddonInstanceResponseBody) SetVersion

func (DescribeClusterAddonInstanceResponseBody) String

type DescribeClusterAddonMetadataRequest added in v5.0.4

type DescribeClusterAddonMetadataRequest struct {
	Version *string `json:"version,omitempty" xml:"version,omitempty"`
}

func (DescribeClusterAddonMetadataRequest) GoString added in v5.0.4

func (*DescribeClusterAddonMetadataRequest) SetVersion added in v5.0.4

func (DescribeClusterAddonMetadataRequest) String added in v5.0.4

type DescribeClusterAddonMetadataResponse

type DescribeClusterAddonMetadataResponse struct {
	Headers    map[string]*string                        `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                    `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DescribeClusterAddonMetadataResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DescribeClusterAddonMetadataResponse) GoString

func (*DescribeClusterAddonMetadataResponse) SetHeaders

func (*DescribeClusterAddonMetadataResponse) SetStatusCode

func (DescribeClusterAddonMetadataResponse) String

type DescribeClusterAddonMetadataResponseBody

type DescribeClusterAddonMetadataResponseBody struct {
	// The component schema parameters.
	ConfigSchema *string `json:"config_schema,omitempty" xml:"config_schema,omitempty"`
	// The component name.
	Name *string `json:"name,omitempty" xml:"name,omitempty"`
	// The component version.
	Version *string `json:"version,omitempty" xml:"version,omitempty"`
}

func (DescribeClusterAddonMetadataResponseBody) GoString

func (*DescribeClusterAddonMetadataResponseBody) SetConfigSchema

func (*DescribeClusterAddonMetadataResponseBody) SetName

func (*DescribeClusterAddonMetadataResponseBody) SetVersion

func (DescribeClusterAddonMetadataResponseBody) String

type DescribeClusterAddonUpgradeStatusResponse

type DescribeClusterAddonUpgradeStatusResponse struct {
	Headers    map[string]*string     `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                 `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       map[string]interface{} `json:"body,omitempty" xml:"body,omitempty"`
}

func (DescribeClusterAddonUpgradeStatusResponse) GoString

func (*DescribeClusterAddonUpgradeStatusResponse) SetBody

func (*DescribeClusterAddonUpgradeStatusResponse) SetHeaders

func (*DescribeClusterAddonUpgradeStatusResponse) SetStatusCode

func (DescribeClusterAddonUpgradeStatusResponse) String

type DescribeClusterAddonsUpgradeStatusRequest

type DescribeClusterAddonsUpgradeStatusRequest struct {
	// The list of component names.
	ComponentIds []*string `json:"componentIds,omitempty" xml:"componentIds,omitempty" type:"Repeated"`
}

func (DescribeClusterAddonsUpgradeStatusRequest) GoString

func (*DescribeClusterAddonsUpgradeStatusRequest) SetComponentIds

func (DescribeClusterAddonsUpgradeStatusRequest) String

type DescribeClusterAddonsUpgradeStatusResponse

type DescribeClusterAddonsUpgradeStatusResponse struct {
	Headers    map[string]*string     `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                 `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       map[string]interface{} `json:"body,omitempty" xml:"body,omitempty"`
}

func (DescribeClusterAddonsUpgradeStatusResponse) GoString

func (*DescribeClusterAddonsUpgradeStatusResponse) SetBody

func (*DescribeClusterAddonsUpgradeStatusResponse) SetHeaders

func (*DescribeClusterAddonsUpgradeStatusResponse) SetStatusCode

func (DescribeClusterAddonsUpgradeStatusResponse) String

type DescribeClusterAddonsUpgradeStatusShrinkRequest

type DescribeClusterAddonsUpgradeStatusShrinkRequest struct {
	// The list of component names.
	ComponentIdsShrink *string `json:"componentIds,omitempty" xml:"componentIds,omitempty"`
}

func (DescribeClusterAddonsUpgradeStatusShrinkRequest) GoString

func (*DescribeClusterAddonsUpgradeStatusShrinkRequest) SetComponentIdsShrink

func (DescribeClusterAddonsUpgradeStatusShrinkRequest) String

type DescribeClusterAddonsVersionResponse

type DescribeClusterAddonsVersionResponse struct {
	Headers    map[string]*string     `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                 `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       map[string]interface{} `json:"body,omitempty" xml:"body,omitempty"`
}

func (DescribeClusterAddonsVersionResponse) GoString

func (*DescribeClusterAddonsVersionResponse) SetBody

func (*DescribeClusterAddonsVersionResponse) SetHeaders

func (*DescribeClusterAddonsVersionResponse) SetStatusCode

func (DescribeClusterAddonsVersionResponse) String

type DescribeClusterAttachScriptsRequest

type DescribeClusterAttachScriptsRequest struct {
	// The CPU architecture of the node. Valid values: `amd64`, `arm`, and `arm64`.
	//
	// Default value: `amd64`.
	//
	// >  This parameter is required if you want to add the existing node to a Container Service for Kubernetes (ACK) Edge cluster.
	Arch *string `json:"arch,omitempty" xml:"arch,omitempty"`
	// Specifies whether to mount data disks to an existing instance when you add the instance to the cluster. You can add data disks to store container data and images. Valid values:
	//
	// *   `true`: mounts data disks to the existing instance that you want to add. After a data disk is mounted, the original data on the disk is erased. Back up data before you mount a data disk.
	// *   `false`: does not mount data disks to the existing instance.
	//
	// Default value: `false`.
	//
	// How a data disk is mounted:
	//
	// *   If the Elastic Compute Service (ECS) instances are already mounted with data disks and the file system of the last data disk is not initialized, the system automatically formats this data disk to ext4 and mounts it to /var/lib/docker and /var/lib/kubelet.
	// *   If no data disk is mounted to the ECS instance, the system does not purchase a new data disk.
	FormatDisk *bool `json:"format_disk,omitempty" xml:"format_disk,omitempty"`
	// Specifies whether to retain the name of the existing instance when it is added to the cluster. If you do not retain the instance name, the instance is named in the `worker-k8s-for-cs-<clusterid>` format. Valid values:
	//
	// *   `true`: retains the instance name.
	// *   `false`: does not retain the instance name.
	//
	// Default value: `true`
	KeepInstanceName *bool `json:"keep_instance_name,omitempty" xml:"keep_instance_name,omitempty"`
	// The ID of the node pool to which you want to add an existing node. This parameter allows you to add an existing node to a specified node pool.
	//
	// >  If you do not specify a node pool ID, the node is added to the default node pool.
	NodepoolId *string `json:"nodepool_id,omitempty" xml:"nodepool_id,omitempty"`
	// The node configurations for the existing instance that you want to add as a node.
	//
	// >  This parameter is required if you want to add the existing node to an ACK Edge cluster.
	Options *string `json:"options,omitempty" xml:"options,omitempty"`
	// After you specify the list of RDS instances, the ECS instances in the cluster are automatically added to the whitelist of the RDS instances.
	RdsInstances []*string `json:"rds_instances,omitempty" xml:"rds_instances,omitempty" type:"Repeated"`
}

func (DescribeClusterAttachScriptsRequest) GoString

func (*DescribeClusterAttachScriptsRequest) SetArch

func (*DescribeClusterAttachScriptsRequest) SetFormatDisk

func (*DescribeClusterAttachScriptsRequest) SetKeepInstanceName

func (*DescribeClusterAttachScriptsRequest) SetNodepoolId

func (*DescribeClusterAttachScriptsRequest) SetOptions

func (*DescribeClusterAttachScriptsRequest) SetRdsInstances

func (DescribeClusterAttachScriptsRequest) String

type DescribeClusterAttachScriptsResponse

type DescribeClusterAttachScriptsResponse struct {
	Headers    map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32             `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *string            `json:"body,omitempty" xml:"body,omitempty"`
}

func (DescribeClusterAttachScriptsResponse) GoString

func (*DescribeClusterAttachScriptsResponse) SetBody

func (*DescribeClusterAttachScriptsResponse) SetHeaders

func (*DescribeClusterAttachScriptsResponse) SetStatusCode

func (DescribeClusterAttachScriptsResponse) String

type DescribeClusterDetailResponse

type DescribeClusterDetailResponse struct {
	Headers    map[string]*string                 `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                             `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DescribeClusterDetailResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DescribeClusterDetailResponse) GoString

func (*DescribeClusterDetailResponse) SetBody

func (*DescribeClusterDetailResponse) SetHeaders

func (*DescribeClusterDetailResponse) SetStatusCode

func (DescribeClusterDetailResponse) String

type DescribeClusterDetailResponseBody

type DescribeClusterDetailResponseBody struct {
	// The cluster ID.
	ClusterId *string `json:"cluster_id,omitempty" xml:"cluster_id,omitempty"`
	// The edition of the cluster if the cluster is an ACK managed cluster. Valid values:
	//
	// *   `ack.pro.small`: ACK Pro
	// *   `ack.standard`: ACK Basic
	ClusterSpec *string `json:"cluster_spec,omitempty" xml:"cluster_spec,omitempty"`
	// The type of cluster. Valid values:
	//
	// *   `Kubernetes`: ACK dedicated cluster
	// *   `ManagedKubernetes`: ACK managed cluster
	// *   `Ask`: ACK Serverless cluster
	// *   `ExternalKubernetes`: registered cluster
	ClusterType *string `json:"cluster_type,omitempty" xml:"cluster_type,omitempty"`
	// The time when the cluster was created.
	Created *string `json:"created,omitempty" xml:"created,omitempty"`
	// The current Kubernetes version of the cluster. For more information about the Kubernetes versions supported by ACK, see [Release notes for Kubernetes versions](~~185269~~).
	CurrentVersion *string `json:"current_version,omitempty" xml:"current_version,omitempty"`
	// Indicates whether deletion protection is enabled for the cluster. If deletion protection is enabled, the cluster cannot be deleted in the Container Service console or by calling API operations. Valid values:
	//
	// *   `true`: deletion protection is enabled for the cluster. This way, the cluster cannot be deleted in the Container Service console or by calling API operations.
	// *   `false`: deletion protection is disabled for the cluster. This way, the cluster can be deleted in the Container Service console or by calling API operations.
	DeletionProtection *bool `json:"deletion_protection,omitempty" xml:"deletion_protection,omitempty"`
	// The Docker version that is used by the cluster.
	DockerVersion          *string `json:"docker_version,omitempty" xml:"docker_version,omitempty"`
	ExternalLoadbalancerId *string `json:"external_loadbalancer_id,omitempty" xml:"external_loadbalancer_id,omitempty"`
	// The initial Kubernetes version of the cluster.
	InitVersion *string `json:"init_version,omitempty" xml:"init_version,omitempty"`
	// The maintenance window of the cluster. This feature is available only in ACK Pro clusters.
	MaintenanceWindow *MaintenanceWindow `json:"maintenance_window,omitempty" xml:"maintenance_window,omitempty"`
	// The endpoints of the cluster, including an internal endpoint and a public endpoint.
	MasterUrl *string `json:"master_url,omitempty" xml:"master_url,omitempty"`
	// The metadata of the cluster.
	MetaData *string `json:"meta_data,omitempty" xml:"meta_data,omitempty"`
	// The name of the cluster.
	//
	// The name must be 1 to 63 characters in length, and can contain digits, letters, and hyphens (-). The name cannot start with a hyphen (-).
	Name        *string `json:"name,omitempty" xml:"name,omitempty"`
	NetworkMode *string `json:"network_mode,omitempty" xml:"network_mode,omitempty"`
	NextVersion *string `json:"next_version,omitempty" xml:"next_version,omitempty"`
	// The ROS parameters of the cluster.
	Parameters  map[string]*string `json:"parameters,omitempty" xml:"parameters,omitempty"`
	PrivateZone *bool              `json:"private_zone,omitempty" xml:"private_zone,omitempty"`
	// Indicates the scenario in which the cluster is used. Valid values:
	//
	// *   `Default`: non-edge computing scenarios
	// *   `Edge`: edge computing scenarios
	Profile *string `json:"profile,omitempty" xml:"profile,omitempty"`
	// The region ID of the cluster.
	RegionId *string `json:"region_id,omitempty" xml:"region_id,omitempty"`
	// The ID of the resource group to which the cluster belongs.
	ResourceGroupId *string `json:"resource_group_id,omitempty" xml:"resource_group_id,omitempty"`
	// The ID of the security group to which the cluster belongs.
	SecurityGroupId *string `json:"security_group_id,omitempty" xml:"security_group_id,omitempty"`
	// The number of nodes in the cluster. Master nodes and worker nodes are included.
	Size *int64 `json:"size,omitempty" xml:"size,omitempty"`
	// The status of the cluster. Valid values:
	//
	// *   `initial`: The cluster is being created.
	// *   `failed`: The cluster failed to be created.
	// *   `running`: The cluster is running.
	// *   `updating`: The cluster is being updated.
	// *   `updating_failed`: The cluster failed to be updated.
	// *   `scaling`: The cluster is being scaled.
	// *   `waiting`: The cluster is waiting for connection requests.
	// *   `disconnected`: The cluster is disconnected.
	// *   `stopped`: The cluster is stopped.
	// *   `deleting`: The cluster is being deleted.
	// *   `deleted`: The cluster is deleted.
	// *   `delete_failed`: The cluster failed to be deleted.
	State *string `json:"state,omitempty" xml:"state,omitempty"`
	// The pod CIDR block. It must be a valid and private CIDR block, and must be one of the following CIDR blocks or their subnets:
	//
	// *   10.0.0.0/8
	// *   172.16-31.0.0/12-16
	// *   192.168.0.0/16
	//
	// The pod CIDR block cannot overlap with the CIDR block of the VPC or the CIDR blocks of the clusters in the VPC.
	//
	// For more information, see [Plan CIDR blocks for an ACK cluster](~~186964~~).
	SubnetCidr *string `json:"subnet_cidr,omitempty" xml:"subnet_cidr,omitempty"`
	// The resource labels of the cluster.
	Tags []*Tag `json:"tags,omitempty" xml:"tags,omitempty" type:"Repeated"`
	// The time when the cluster was updated.
	Updated *string `json:"updated,omitempty" xml:"updated,omitempty"`
	// The ID of the VPC where the cluster is deployed. This parameter is required when you create a cluster.
	VpcId *string `json:"vpc_id,omitempty" xml:"vpc_id,omitempty"`
	// The IDs of the vSwitches. You can select one to three vSwitches when you create a cluster. We recommend that you select vSwitches in different zones to ensure high availability.
	VswitchId *string `json:"vswitch_id,omitempty" xml:"vswitch_id,omitempty"`
	// The name of the worker Resource Access Management (RAM) role. The RAM role is assigned to the worker nodes of the cluster to allow the worker nodes to manage Elastic Compute Service (ECS) instances.
	WorkerRamRoleName *string `json:"worker_ram_role_name,omitempty" xml:"worker_ram_role_name,omitempty"`
	ZoneId            *string `json:"zone_id,omitempty" xml:"zone_id,omitempty"`
}

func (DescribeClusterDetailResponseBody) GoString

func (*DescribeClusterDetailResponseBody) SetClusterId

func (*DescribeClusterDetailResponseBody) SetClusterSpec

func (*DescribeClusterDetailResponseBody) SetClusterType

func (*DescribeClusterDetailResponseBody) SetCreated

func (*DescribeClusterDetailResponseBody) SetCurrentVersion

func (*DescribeClusterDetailResponseBody) SetDeletionProtection

func (*DescribeClusterDetailResponseBody) SetDockerVersion

func (*DescribeClusterDetailResponseBody) SetExternalLoadbalancerId

func (*DescribeClusterDetailResponseBody) SetInitVersion

func (*DescribeClusterDetailResponseBody) SetMaintenanceWindow

func (*DescribeClusterDetailResponseBody) SetMasterUrl

func (*DescribeClusterDetailResponseBody) SetMetaData

func (*DescribeClusterDetailResponseBody) SetName

func (*DescribeClusterDetailResponseBody) SetNetworkMode

func (*DescribeClusterDetailResponseBody) SetNextVersion

func (*DescribeClusterDetailResponseBody) SetParameters

func (*DescribeClusterDetailResponseBody) SetPrivateZone

func (*DescribeClusterDetailResponseBody) SetProfile

func (*DescribeClusterDetailResponseBody) SetRegionId

func (*DescribeClusterDetailResponseBody) SetResourceGroupId

func (*DescribeClusterDetailResponseBody) SetSecurityGroupId

func (*DescribeClusterDetailResponseBody) SetSize

func (*DescribeClusterDetailResponseBody) SetState

func (*DescribeClusterDetailResponseBody) SetSubnetCidr

func (*DescribeClusterDetailResponseBody) SetTags

func (*DescribeClusterDetailResponseBody) SetUpdated

func (*DescribeClusterDetailResponseBody) SetVpcId

func (*DescribeClusterDetailResponseBody) SetVswitchId

func (*DescribeClusterDetailResponseBody) SetWorkerRamRoleName

func (*DescribeClusterDetailResponseBody) SetZoneId

func (DescribeClusterDetailResponseBody) String

type DescribeClusterEventsRequest

type DescribeClusterEventsRequest struct {
	// The number of the page to return.
	PageNumber *int64 `json:"page_number,omitempty" xml:"page_number,omitempty"`
	// The number of entries per page. Valid values: 1 to 50. Default value: 50.
	PageSize *int64 `json:"page_size,omitempty" xml:"page_size,omitempty"`
	// The ID of the query task.
	TaskId *string `json:"task_id,omitempty" xml:"task_id,omitempty"`
}

func (DescribeClusterEventsRequest) GoString

func (s DescribeClusterEventsRequest) GoString() string

func (*DescribeClusterEventsRequest) SetPageNumber

func (*DescribeClusterEventsRequest) SetPageSize

func (*DescribeClusterEventsRequest) SetTaskId

func (DescribeClusterEventsRequest) String

type DescribeClusterEventsResponse

type DescribeClusterEventsResponse struct {
	Headers    map[string]*string                 `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                             `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DescribeClusterEventsResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DescribeClusterEventsResponse) GoString

func (*DescribeClusterEventsResponse) SetBody

func (*DescribeClusterEventsResponse) SetHeaders

func (*DescribeClusterEventsResponse) SetStatusCode

func (DescribeClusterEventsResponse) String

type DescribeClusterEventsResponseBody

type DescribeClusterEventsResponseBody struct {
	// The list of events.
	Events []*DescribeClusterEventsResponseBodyEvents `json:"events,omitempty" xml:"events,omitempty" type:"Repeated"`
	// The pagination information.
	PageInfo *DescribeClusterEventsResponseBodyPageInfo `json:"page_info,omitempty" xml:"page_info,omitempty" type:"Struct"`
}

func (DescribeClusterEventsResponseBody) GoString

func (DescribeClusterEventsResponseBody) String

type DescribeClusterEventsResponseBodyEvents

type DescribeClusterEventsResponseBodyEvents struct {
	// The ID of the cluster.
	ClusterId *string `json:"cluster_id,omitempty" xml:"cluster_id,omitempty"`
	// The description of the event.
	Data *DescribeClusterEventsResponseBodyEventsData `json:"data,omitempty" xml:"data,omitempty" type:"Struct"`
	// The event ID.
	EventId *string `json:"event_id,omitempty" xml:"event_id,omitempty"`
	// The event source.
	Source *string `json:"source,omitempty" xml:"source,omitempty"`
	// The subject related to the event.
	Subject *string `json:"subject,omitempty" xml:"subject,omitempty"`
	// The time when the event started.
	Time *string `json:"time,omitempty" xml:"time,omitempty"`
	// The type of event. Valid values:
	Type *string `json:"type,omitempty" xml:"type,omitempty"`
}

func (DescribeClusterEventsResponseBodyEvents) GoString

func (*DescribeClusterEventsResponseBodyEvents) SetClusterId

func (*DescribeClusterEventsResponseBodyEvents) SetEventId

func (*DescribeClusterEventsResponseBodyEvents) SetSource

func (*DescribeClusterEventsResponseBodyEvents) SetSubject

func (*DescribeClusterEventsResponseBodyEvents) SetTime

func (*DescribeClusterEventsResponseBodyEvents) SetType

func (DescribeClusterEventsResponseBodyEvents) String

type DescribeClusterEventsResponseBodyEventsData

type DescribeClusterEventsResponseBodyEventsData struct {
	// The severity level of the event.
	//
	// Valid values:
	//
	// *   warning
	//
	//     <!-- -->
	//
	//     <!-- -->
	//
	//     <!-- -->
	//
	// *   error
	//
	//     <!-- -->
	//
	//     <!-- -->
	//
	//     <!-- -->
	//
	// *   info
	//
	//     <!-- -->
	//
	//     <!-- -->
	//
	//     <!-- -->
	Level *string `json:"level,omitempty" xml:"level,omitempty"`
	// The details of the event.
	Message *string `json:"message,omitempty" xml:"message,omitempty"`
	// The status of the event.
	Reason *string `json:"reason,omitempty" xml:"reason,omitempty"`
}

func (DescribeClusterEventsResponseBodyEventsData) GoString

func (*DescribeClusterEventsResponseBodyEventsData) SetLevel

func (*DescribeClusterEventsResponseBodyEventsData) SetMessage

func (*DescribeClusterEventsResponseBodyEventsData) SetReason

func (DescribeClusterEventsResponseBodyEventsData) String

type DescribeClusterEventsResponseBodyPageInfo

type DescribeClusterEventsResponseBodyPageInfo struct {
	// The number of the page to return.
	PageNumber *int64 `json:"page_number,omitempty" xml:"page_number,omitempty"`
	// The number of entries per page. Valid values: 1 to 50. Default value: 50.
	PageSize *int64 `json:"page_size,omitempty" xml:"page_size,omitempty"`
	// The total number of entries returned.
	TotalCount *int64 `json:"total_count,omitempty" xml:"total_count,omitempty"`
}

func (DescribeClusterEventsResponseBodyPageInfo) GoString

func (*DescribeClusterEventsResponseBodyPageInfo) SetPageNumber

func (*DescribeClusterEventsResponseBodyPageInfo) SetPageSize

func (*DescribeClusterEventsResponseBodyPageInfo) SetTotalCount

func (DescribeClusterEventsResponseBodyPageInfo) String

type DescribeClusterLogsResponse

type DescribeClusterLogsResponse struct {
	Headers    map[string]*string                 `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                             `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       []*DescribeClusterLogsResponseBody `json:"body,omitempty" xml:"body,omitempty" type:"Repeated"`
}

func (DescribeClusterLogsResponse) GoString

func (s DescribeClusterLogsResponse) GoString() string

func (*DescribeClusterLogsResponse) SetBody

func (*DescribeClusterLogsResponse) SetHeaders

func (*DescribeClusterLogsResponse) SetStatusCode

func (DescribeClusterLogsResponse) String

type DescribeClusterLogsResponseBody

type DescribeClusterLogsResponseBody struct {
	// The ID of the log entry.
	ID *int64 `json:"ID,omitempty" xml:"ID,omitempty"`
	// The cluster ID.
	ClusterId *string `json:"cluster_id,omitempty" xml:"cluster_id,omitempty"`
	// The log content.
	ClusterLog *string `json:"cluster_log,omitempty" xml:"cluster_log,omitempty"`
	// The time when the log entry was generated.
	Created *string `json:"created,omitempty" xml:"created,omitempty"`
	// The time when the log entry was updated.
	Updated *string `json:"updated,omitempty" xml:"updated,omitempty"`
}

func (DescribeClusterLogsResponseBody) GoString

func (*DescribeClusterLogsResponseBody) SetClusterId

func (*DescribeClusterLogsResponseBody) SetClusterLog

func (*DescribeClusterLogsResponseBody) SetCreated

func (*DescribeClusterLogsResponseBody) SetID

func (*DescribeClusterLogsResponseBody) SetUpdated

func (DescribeClusterLogsResponseBody) String

type DescribeClusterNodePoolDetailResponse

type DescribeClusterNodePoolDetailResponse struct {
	Headers    map[string]*string                         `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                     `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DescribeClusterNodePoolDetailResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DescribeClusterNodePoolDetailResponse) GoString

func (*DescribeClusterNodePoolDetailResponse) SetHeaders

func (*DescribeClusterNodePoolDetailResponse) SetStatusCode

func (DescribeClusterNodePoolDetailResponse) String

type DescribeClusterNodePoolDetailResponseBody

type DescribeClusterNodePoolDetailResponseBody struct {
	// The auto scaling configuration of the node pool.
	AutoScaling *DescribeClusterNodePoolDetailResponseBodyAutoScaling `json:"auto_scaling,omitempty" xml:"auto_scaling,omitempty" type:"Struct"`
	// The network configuration of the edge node pool. This parameter takes effect only for edge node pools.
	InterconnectConfig *DescribeClusterNodePoolDetailResponseBodyInterconnectConfig `json:"interconnect_config,omitempty" xml:"interconnect_config,omitempty" type:"Struct"`
	// The network type of the edge node pool. Valid values: basic and enhanced. This parameter takes effect only for edge node pools.
	InterconnectMode *string `json:"interconnect_mode,omitempty" xml:"interconnect_mode,omitempty"`
	// The configuration of the cluster where the node pool is deployed.
	KubernetesConfig *DescribeClusterNodePoolDetailResponseBodyKubernetesConfig `json:"kubernetes_config,omitempty" xml:"kubernetes_config,omitempty" type:"Struct"`
	// The configuration of the managed node pool feature.
	Management *DescribeClusterNodePoolDetailResponseBodyManagement `json:"management,omitempty" xml:"management,omitempty" type:"Struct"`
	// The maximum number of nodes that are supported by the edge node pool. The value of this parameter must be equal to or greater than 0. A value of 0 indicates that the number of nodes in the node pool is limited only by the quota of nodes in the cluster. In most cases, this parameter is set to a value larger than 0 for edge node pools. This parameter is set to 0 for node pools whose types are ess or default edge node pools.
	MaxNodes *int64 `json:"max_nodes,omitempty" xml:"max_nodes,omitempty"`
	// 节点配置
	NodeConfig *DescribeClusterNodePoolDetailResponseBodyNodeConfig `json:"node_config,omitempty" xml:"node_config,omitempty" type:"Struct"`
	// The configuration of the node pool.
	NodepoolInfo *DescribeClusterNodePoolDetailResponseBodyNodepoolInfo `json:"nodepool_info,omitempty" xml:"nodepool_info,omitempty" type:"Struct"`
	// The configuration of the scaling group.
	ScalingGroup *DescribeClusterNodePoolDetailResponseBodyScalingGroup `json:"scaling_group,omitempty" xml:"scaling_group,omitempty" type:"Struct"`
	// The status details about the node pool.
	Status *DescribeClusterNodePoolDetailResponseBodyStatus `json:"status,omitempty" xml:"status,omitempty" type:"Struct"`
	// The configuration of confidential computing.
	TeeConfig *DescribeClusterNodePoolDetailResponseBodyTeeConfig `json:"tee_config,omitempty" xml:"tee_config,omitempty" type:"Struct"`
}

func (DescribeClusterNodePoolDetailResponseBody) GoString

func (*DescribeClusterNodePoolDetailResponseBody) SetInterconnectMode

func (*DescribeClusterNodePoolDetailResponseBody) SetMaxNodes

func (DescribeClusterNodePoolDetailResponseBody) String

type DescribeClusterNodePoolDetailResponseBodyAutoScaling

type DescribeClusterNodePoolDetailResponseBodyAutoScaling struct {
	// The maximum bandwidth of the elastic IP address (EIP).
	EipBandwidth *int64 `json:"eip_bandwidth,omitempty" xml:"eip_bandwidth,omitempty"`
	// The metering method of the EIP. Valid values:
	//
	// *   `PayByBandwidth`: pay-by-bandwidth.
	// *   `PayByTraffic`: pay-by-data-transfer.
	EipInternetChargeType *string `json:"eip_internet_charge_type,omitempty" xml:"eip_internet_charge_type,omitempty"`
	// Indicates whether auto scaling is enabled. Valid values:
	//
	// *   `true`: auto scaling is enabled.
	// *   `false`: auto scaling is disabled. If this parameter is set to false, other parameters in the `auto_scaling` section do not take effect.
	Enable *bool `json:"enable,omitempty" xml:"enable,omitempty"`
	// Indicates whether an EIP is associated with the node pool. Valid values:
	//
	// *   `true`: An EIP is associated with the node pool.
	// *   `false`: No EIP is associated with the node pool.
	IsBondEip *bool `json:"is_bond_eip,omitempty" xml:"is_bond_eip,omitempty"`
	// The maximum number of Elastic Compute Service (ECS) instances that can be created in the node pool.
	MaxInstances *int64 `json:"max_instances,omitempty" xml:"max_instances,omitempty"`
	// The minimum number of ECS instances that must be kept in the node pool.
	MinInstances *int64 `json:"min_instances,omitempty" xml:"min_instances,omitempty"`
	// The instance types that can be used for the auto scaling of the node pool. Valid values:
	//
	// *   `cpu`: regular instance.
	// *   `gpu`: GPU-accelerated instance.
	// *   `gpushare`: shared GPU-accelerated instance.
	// *   `spot`: preemptible instance.
	Type *string `json:"type,omitempty" xml:"type,omitempty"`
}

func (DescribeClusterNodePoolDetailResponseBodyAutoScaling) GoString

func (*DescribeClusterNodePoolDetailResponseBodyAutoScaling) SetEipBandwidth

func (*DescribeClusterNodePoolDetailResponseBodyAutoScaling) SetEipInternetChargeType

func (*DescribeClusterNodePoolDetailResponseBodyAutoScaling) SetEnable

func (*DescribeClusterNodePoolDetailResponseBodyAutoScaling) SetIsBondEip

func (*DescribeClusterNodePoolDetailResponseBodyAutoScaling) SetMaxInstances

func (*DescribeClusterNodePoolDetailResponseBodyAutoScaling) SetMinInstances

func (*DescribeClusterNodePoolDetailResponseBodyAutoScaling) SetType

func (DescribeClusterNodePoolDetailResponseBodyAutoScaling) String

type DescribeClusterNodePoolDetailResponseBodyInterconnectConfig

type DescribeClusterNodePoolDetailResponseBodyInterconnectConfig struct {
	// The bandwidth of the enhanced edge node pool. Unit: Mbit/s.
	Bandwidth *int64 `json:"bandwidth,omitempty" xml:"bandwidth,omitempty"`
	// The ID of the Cloud Connect Network (CCN) instance that is associated with the enhanced edge node pool.
	CcnId *string `json:"ccn_id,omitempty" xml:"ccn_id,omitempty"`
	// The region to which the CCN instance that is associated with the enhanced edge node pool belongs.
	CcnRegionId *string `json:"ccn_region_id,omitempty" xml:"ccn_region_id,omitempty"`
	// The ID of the Cloud Enterprise Network (CEN) instance that is associated with the enhanced edge node pool.
	CenId *string `json:"cen_id,omitempty" xml:"cen_id,omitempty"`
	// The subscription duration of the enhanced edge node pool. The duration is measured in months.
	ImprovedPeriod *string `json:"improved_period,omitempty" xml:"improved_period,omitempty"`
}

func (DescribeClusterNodePoolDetailResponseBodyInterconnectConfig) GoString

func (*DescribeClusterNodePoolDetailResponseBodyInterconnectConfig) SetBandwidth

func (*DescribeClusterNodePoolDetailResponseBodyInterconnectConfig) SetCcnId

func (*DescribeClusterNodePoolDetailResponseBodyInterconnectConfig) SetCcnRegionId

func (*DescribeClusterNodePoolDetailResponseBodyInterconnectConfig) SetCenId

func (*DescribeClusterNodePoolDetailResponseBodyInterconnectConfig) SetImprovedPeriod

func (DescribeClusterNodePoolDetailResponseBodyInterconnectConfig) String

type DescribeClusterNodePoolDetailResponseBodyKubernetesConfig

type DescribeClusterNodePoolDetailResponseBodyKubernetesConfig struct {
	// Indicates whether the CloudMonitor agent is installed on ECS nodes in the cluster. After the CloudMonitor agent is installed, you can view monitoring information about the ECS instances in the CloudMonitor console. Installation is recommended. Valid values:
	//
	// *   `true`: The CloudMonitor agent is installed on ECS nodes.
	// *   `false`: The CloudMonitor agent is not installed on ECS nodes.
	CmsEnabled *bool `json:"cms_enabled,omitempty" xml:"cms_enabled,omitempty"`
	// The CPU management policy of the nodes in the node pool. The following policies are supported if the Kubernetes version of the cluster is 1.12.6 or later.
	//
	// *   `static`: allows pods with specific resource characteristics on the node to be granted enhanced CPU affinity and exclusivity.
	// *   `none`: indicates that the default CPU affinity is used.
	CpuPolicy *string `json:"cpu_policy,omitempty" xml:"cpu_policy,omitempty"`
	// The labels of the nodes in the node pool. You can add labels to the nodes in the cluster. You must add labels based on the following rules:
	//
	// *   Each label is a case-sensitive key-value pair. You can add up to 20 labels.
	// *   A key must be unique and cannot exceed 64 characters in length. A value can be empty and cannot exceed 128 characters in length. Keys and values cannot start with `aliyun`, `acs:`, `https://`, or `http://`. For more information, see [Labels and Selectors](https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#syntax-and-character-set).
	Labels []*Tag `json:"labels,omitempty" xml:"labels,omitempty" type:"Repeated"`
	// A custom node name consists of a prefix, an IP substring, and a suffix.
	//
	// *   The prefix and suffix can contain multiple parts that are separated by periods (.). Each part can contain lowercase letters, digits, and hyphens (-). A custom node name must start and end with a digit or lowercase letter.
	// *   The IP substring length specifies the number of digits to be truncated from the end of the node IP address. The IP substring length ranges from 5 to 12.
	//
	// For example, if the node IP address is 192.168.0.55, the prefix is aliyun.com, the IP substring length is 5, and the suffix is test, the node name will be aliyun.com00055test.
	NodeNameMode *string `json:"node_name_mode,omitempty" xml:"node_name_mode,omitempty"`
	// The name of the container runtime.
	Runtime *string `json:"runtime,omitempty" xml:"runtime,omitempty"`
	// The version of the container runtime.
	RuntimeVersion *string `json:"runtime_version,omitempty" xml:"runtime_version,omitempty"`
	// The taints of the nodes in the node pool. Taints are added to nodes to prevent pods from being scheduled to inappropriate nodes. However, tolerations allow pods to be scheduled to nodes with matching taints. For more information, see [taint-and-toleration](https://kubernetes.io/zh/docs/concepts/scheduling-eviction/taint-and-toleration/).
	Taints        []*Taint `json:"taints,omitempty" xml:"taints,omitempty" type:"Repeated"`
	Unschedulable *bool    `json:"unschedulable,omitempty" xml:"unschedulable,omitempty"`
	// The user data of the node pool. For more information, see [Generate user data](~~49121~~).
	UserData *string `json:"user_data,omitempty" xml:"user_data,omitempty"`
}

func (DescribeClusterNodePoolDetailResponseBodyKubernetesConfig) GoString

func (*DescribeClusterNodePoolDetailResponseBodyKubernetesConfig) SetCmsEnabled

func (*DescribeClusterNodePoolDetailResponseBodyKubernetesConfig) SetCpuPolicy

func (*DescribeClusterNodePoolDetailResponseBodyKubernetesConfig) SetLabels

func (*DescribeClusterNodePoolDetailResponseBodyKubernetesConfig) SetNodeNameMode

func (*DescribeClusterNodePoolDetailResponseBodyKubernetesConfig) SetRuntime

func (*DescribeClusterNodePoolDetailResponseBodyKubernetesConfig) SetRuntimeVersion

func (*DescribeClusterNodePoolDetailResponseBodyKubernetesConfig) SetTaints

func (*DescribeClusterNodePoolDetailResponseBodyKubernetesConfig) SetUnschedulable

func (*DescribeClusterNodePoolDetailResponseBodyKubernetesConfig) SetUserData

func (DescribeClusterNodePoolDetailResponseBodyKubernetesConfig) String

type DescribeClusterNodePoolDetailResponseBodyManagement

type DescribeClusterNodePoolDetailResponseBodyManagement struct {
	// Indicates whether auto repair is enabled. This parameter takes effect only when `enable=true` is specified. Valid values:
	//
	// *   `true`: Auto repair is enabled.
	// *   `false`: Auto repair is disabled.
	AutoRepair *bool `json:"auto_repair,omitempty" xml:"auto_repair,omitempty"`
	// 自动修复节点策略。
	AutoRepairPolicy *DescribeClusterNodePoolDetailResponseBodyManagementAutoRepairPolicy `json:"auto_repair_policy,omitempty" xml:"auto_repair_policy,omitempty" type:"Struct"`
	// 是否自动升级。
	AutoUpgrade *bool `json:"auto_upgrade,omitempty" xml:"auto_upgrade,omitempty"`
	// 自动升级策略。
	AutoUpgradePolicy *DescribeClusterNodePoolDetailResponseBodyManagementAutoUpgradePolicy `json:"auto_upgrade_policy,omitempty" xml:"auto_upgrade_policy,omitempty" type:"Struct"`
	// 是否自动修复CVE。
	AutoVulFix *bool `json:"auto_vul_fix,omitempty" xml:"auto_vul_fix,omitempty"`
	// 自动修复CVE策略。
	AutoVulFixPolicy *DescribeClusterNodePoolDetailResponseBodyManagementAutoVulFixPolicy `json:"auto_vul_fix_policy,omitempty" xml:"auto_vul_fix_policy,omitempty" type:"Struct"`
	// Indicates whether the managed node pool feature is enabled. Valid values:
	//
	// *   `true`: The managed node pool feature is enabled.
	// *   `false`: The managed node pool feature is disabled. Other parameters in this section take effect only when `enable=true` is specified.
	Enable *bool `json:"enable,omitempty" xml:"enable,omitempty"`
	// The configuration of auto update. The configuration takes effect only when `enable=true` is specified.
	UpgradeConfig *DescribeClusterNodePoolDetailResponseBodyManagementUpgradeConfig `json:"upgrade_config,omitempty" xml:"upgrade_config,omitempty" type:"Struct"`
}

func (DescribeClusterNodePoolDetailResponseBodyManagement) GoString

func (*DescribeClusterNodePoolDetailResponseBodyManagement) SetAutoRepair

func (*DescribeClusterNodePoolDetailResponseBodyManagement) SetAutoUpgrade

func (*DescribeClusterNodePoolDetailResponseBodyManagement) SetAutoVulFix

func (*DescribeClusterNodePoolDetailResponseBodyManagement) SetEnable

func (DescribeClusterNodePoolDetailResponseBodyManagement) String

type DescribeClusterNodePoolDetailResponseBodyManagementAutoRepairPolicy

type DescribeClusterNodePoolDetailResponseBodyManagementAutoRepairPolicy struct {
	// 是否允许重启节点。
	RestartNode *bool `json:"restart_node,omitempty" xml:"restart_node,omitempty"`
}

func (DescribeClusterNodePoolDetailResponseBodyManagementAutoRepairPolicy) GoString

func (*DescribeClusterNodePoolDetailResponseBodyManagementAutoRepairPolicy) SetRestartNode

func (DescribeClusterNodePoolDetailResponseBodyManagementAutoRepairPolicy) String

type DescribeClusterNodePoolDetailResponseBodyManagementAutoUpgradePolicy

type DescribeClusterNodePoolDetailResponseBodyManagementAutoUpgradePolicy struct {
	// 是否允许自动升级kubelet。
	AutoUpgradeKubelet *bool `json:"auto_upgrade_kubelet,omitempty" xml:"auto_upgrade_kubelet,omitempty"`
}

func (DescribeClusterNodePoolDetailResponseBodyManagementAutoUpgradePolicy) GoString

func (*DescribeClusterNodePoolDetailResponseBodyManagementAutoUpgradePolicy) SetAutoUpgradeKubelet

func (DescribeClusterNodePoolDetailResponseBodyManagementAutoUpgradePolicy) String

type DescribeClusterNodePoolDetailResponseBodyManagementAutoVulFixPolicy

type DescribeClusterNodePoolDetailResponseBodyManagementAutoVulFixPolicy struct {
	// 是否允许重启节点。
	RestartNode *bool `json:"restart_node,omitempty" xml:"restart_node,omitempty"`
	// 允许自动修复的漏洞级别,以逗号分隔。
	VulLevel *string `json:"vul_level,omitempty" xml:"vul_level,omitempty"`
}

func (DescribeClusterNodePoolDetailResponseBodyManagementAutoVulFixPolicy) GoString

func (*DescribeClusterNodePoolDetailResponseBodyManagementAutoVulFixPolicy) SetRestartNode

func (*DescribeClusterNodePoolDetailResponseBodyManagementAutoVulFixPolicy) SetVulLevel

func (DescribeClusterNodePoolDetailResponseBodyManagementAutoVulFixPolicy) String

type DescribeClusterNodePoolDetailResponseBodyManagementUpgradeConfig

type DescribeClusterNodePoolDetailResponseBodyManagementUpgradeConfig struct {
	// Indicates whether auto update is enabled. Valid values:
	//
	// *   `true`: Auto update is enabled.
	// *   `false`: Auto update is disabled.
	AutoUpgrade *bool `json:"auto_upgrade,omitempty" xml:"auto_upgrade,omitempty"`
	// The maximum number of nodes that can be in the Unavailable state. Valid values: 1 to 1000.
	//
	// Default value: 1.
	MaxUnavailable *int64 `json:"max_unavailable,omitempty" xml:"max_unavailable,omitempty"`
	// The number of additional nodes.
	Surge *int64 `json:"surge,omitempty" xml:"surge,omitempty"`
	// The percentage of additional nodes to the nodes in the node pool. You must set this parameter or `surge`.
	SurgePercentage *int64 `json:"surge_percentage,omitempty" xml:"surge_percentage,omitempty"`
}

func (DescribeClusterNodePoolDetailResponseBodyManagementUpgradeConfig) GoString

func (*DescribeClusterNodePoolDetailResponseBodyManagementUpgradeConfig) SetAutoUpgrade

func (*DescribeClusterNodePoolDetailResponseBodyManagementUpgradeConfig) SetMaxUnavailable

func (*DescribeClusterNodePoolDetailResponseBodyManagementUpgradeConfig) SetSurge

func (*DescribeClusterNodePoolDetailResponseBodyManagementUpgradeConfig) SetSurgePercentage

func (DescribeClusterNodePoolDetailResponseBodyManagementUpgradeConfig) String

type DescribeClusterNodePoolDetailResponseBodyNodeConfig

type DescribeClusterNodePoolDetailResponseBodyNodeConfig struct {
	// Kubelet参数配置。
	KubeletConfiguration *KubeletConfig `json:"kubelet_configuration,omitempty" xml:"kubelet_configuration,omitempty"`
}

func (DescribeClusterNodePoolDetailResponseBodyNodeConfig) GoString

func (*DescribeClusterNodePoolDetailResponseBodyNodeConfig) SetKubeletConfiguration

func (DescribeClusterNodePoolDetailResponseBodyNodeConfig) String

type DescribeClusterNodePoolDetailResponseBodyNodepoolInfo

type DescribeClusterNodePoolDetailResponseBodyNodepoolInfo struct {
	// The time when the node pool was created.
	Created *string `json:"created,omitempty" xml:"created,omitempty"`
	// Indicates whether the node pool is a default node pool. A Container Service for Kubernetes (ACK) cluster usually has only one default node pool. Valid values: `true`: The node pool is a default node pool. `false`: The node pool is not a default node pool.
	IsDefault *bool `json:"is_default,omitempty" xml:"is_default,omitempty"`
	// The name of the node pool.
	//
	// The name must be 1 to 63 characters in length, and can contain digits, letters, and hyphens (-). It cannot start with a hyphen (-).
	Name *string `json:"name,omitempty" xml:"name,omitempty"`
	// The node pool ID.
	NodepoolId *string `json:"nodepool_id,omitempty" xml:"nodepool_id,omitempty"`
	// The region ID.
	RegionId *string `json:"region_id,omitempty" xml:"region_id,omitempty"`
	// The ID of the resource group.
	ResourceGroupId *string `json:"resource_group_id,omitempty" xml:"resource_group_id,omitempty"`
	// The type of node pool.
	Type *string `json:"type,omitempty" xml:"type,omitempty"`
	// The time when the node pool was last updated.
	Updated *string `json:"updated,omitempty" xml:"updated,omitempty"`
}

func (DescribeClusterNodePoolDetailResponseBodyNodepoolInfo) GoString

func (*DescribeClusterNodePoolDetailResponseBodyNodepoolInfo) SetCreated

func (*DescribeClusterNodePoolDetailResponseBodyNodepoolInfo) SetIsDefault

func (*DescribeClusterNodePoolDetailResponseBodyNodepoolInfo) SetName

func (*DescribeClusterNodePoolDetailResponseBodyNodepoolInfo) SetNodepoolId

func (*DescribeClusterNodePoolDetailResponseBodyNodepoolInfo) SetRegionId

func (*DescribeClusterNodePoolDetailResponseBodyNodepoolInfo) SetResourceGroupId

func (*DescribeClusterNodePoolDetailResponseBodyNodepoolInfo) SetType

func (*DescribeClusterNodePoolDetailResponseBodyNodepoolInfo) SetUpdated

func (DescribeClusterNodePoolDetailResponseBodyNodepoolInfo) String

type DescribeClusterNodePoolDetailResponseBodyScalingGroup

type DescribeClusterNodePoolDetailResponseBodyScalingGroup struct {
	// Indicates whether auto-renewal is enabled for the nodes in the node pool. This parameter takes effect only when `instance_charge_type` is set to `PrePaid`. Valid values:
	//
	// *   `true`: Auto-renewal is enabled.
	// *   `false`: Auto-renewal is disabled.
	AutoRenew *bool `json:"auto_renew,omitempty" xml:"auto_renew,omitempty"`
	// The duration of the auto-renewal. This parameter takes effect and is required only when `instance_charge_type` is set to `PrePaid`.
	//
	// If you specify `PeriodUnit=Month`, the valid values are 1, 2, 3, 6, and 12.
	AutoRenewPeriod *int64 `json:"auto_renew_period,omitempty" xml:"auto_renew_period,omitempty"`
	// Deprecated
	CisEnabled *bool `json:"cis_enabled,omitempty" xml:"cis_enabled,omitempty"`
	// Indicates whether pay-as-you-go instances are automatically created to meet the required number of ECS instances if preemptible instances cannot be created due to reasons such as cost or insufficient inventory. This parameter takes effect when `multi_az_policy` is set to `COST_OPTIMIZED`. Valid values:
	//
	// *   `true`: Pay-as-you-go instances are automatically created to meet the required number of ECS instances if preemptible instances cannot be created.
	// *   `false`: Pay-as-you-go instances are not automatically created to meet the required number of ECS instances if preemptible instances cannot be created.
	CompensateWithOnDemand *bool `json:"compensate_with_on_demand,omitempty" xml:"compensate_with_on_demand,omitempty"`
	// The configurations of the data disks that are attached to the nodes in the node pool. The configurations include the disk type and disk size.
	DataDisks []*DataDisk `json:"data_disks,omitempty" xml:"data_disks,omitempty" type:"Repeated"`
	// The ID of the deployment set to which the ECS instances in the node pool belong.
	DeploymentsetId *string `json:"deploymentset_id,omitempty" xml:"deploymentset_id,omitempty"`
	// The expected number of nodes in the node pool.
	DesiredSize *int64 `json:"desired_size,omitempty" xml:"desired_size,omitempty"`
	// The ID of the custom image. You can call the `DescribeKubernetesVersionMetadata` operation to query the images supported by ACK.
	ImageId   *string `json:"image_id,omitempty" xml:"image_id,omitempty"`
	ImageType *string `json:"image_type,omitempty" xml:"image_type,omitempty"`
	// The billing method of the nodes in the node pool. Valid values:
	//
	// *   `PrePaid`: the subscription billing method.
	// *   `PostPaid`: the pay-as-you-go billing method.
	InstanceChargeType *string `json:"instance_charge_type,omitempty" xml:"instance_charge_type,omitempty"`
	// A list of instance types. You can select multiple instance types. When the system needs to create a node, it starts from the first instance type until the node is created. The instance type that is used to create the node varies based on the actual instance stock.
	InstanceTypes []*string `json:"instance_types,omitempty" xml:"instance_types,omitempty" type:"Repeated"`
	// The billing method of the public IP address of the node.
	InternetChargeType *string `json:"internet_charge_type,omitempty" xml:"internet_charge_type,omitempty"`
	// The maximum outbound bandwidth of the public IP address of the node. Unit: Mbit/s. Valid values: 1 to 100.
	InternetMaxBandwidthOut *int64 `json:"internet_max_bandwidth_out,omitempty" xml:"internet_max_bandwidth_out,omitempty"`
	// The name of the key pair. You must set this parameter or the `login_password` parameter. You must set `key_pair` if the node pool is a managed node pool.
	KeyPair        *string `json:"key_pair,omitempty" xml:"key_pair,omitempty"`
	LoginAsNonRoot *bool   `json:"login_as_non_root,omitempty" xml:"login_as_non_root,omitempty"`
	// The password for SSH logon. You must set this parameter or the `key_pair` parameter. The password must be 8 to 30 characters in length, and must contain at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters.
	//
	// For security purposes, the returned password is encrypted.
	LoginPassword *string `json:"login_password,omitempty" xml:"login_password,omitempty"`
	// The ECS instance scaling policy for a multi-zone scaling group. Valid values:
	//
	// *   `PRIORITY`: the scaling group is scaled based on the VSwitchIds.N parameter. If an ECS instance cannot be created in the zone where the vSwitch that has the highest priority resides, Auto Scaling creates the ECS instance in the zone where the vSwitch that has the next highest priority resides.
	//
	// *   `COST_OPTIMIZED`: ECS instances are created based on the vCPU unit price in ascending order. Preemptible instances are preferably created when preemptible instance types are specified in the scaling configuration. You can set the `CompensateWithOnDemand` parameter to specify whether to automatically create pay-as-you-go instances when preemptible instances cannot be created due to insufficient resources.
	//
	//     **
	//
	//     **Note**The `COST_OPTIMIZED` setting takes effect only when multiple instance types are specified or at least one instance type is specified for preemptible instances.
	//
	// *   `BALANCE`: ECS instances are evenly distributed across multiple zones specified by the scaling group. If ECS instances become imbalanced among multiple zones due to insufficient inventory, you can call the RebalanceInstances operation of Auto Scaling to balance the instance distribution among zones. For more information, see [RebalanceInstances](~~71516~~).
	//
	// Default value: `PRIORITY`.
	MultiAzPolicy *string `json:"multi_az_policy,omitempty" xml:"multi_az_policy,omitempty"`
	// The minimum number of pay-as-you-go instances that must be kept in the scaling group. Valid values: 0 to 1000. If the number of pay-as-you-go instances is less than the value of this parameter, Auto Scaling preferably creates pay-as-you-go instances.
	OnDemandBaseCapacity *int64 `json:"on_demand_base_capacity,omitempty" xml:"on_demand_base_capacity,omitempty"`
	// The percentage of pay-as-you-go instances among the extra instances that exceed the number specified by `on_demand_base_capacity`. Valid values: 0 to 100.
	OnDemandPercentageAboveBaseCapacity *int64 `json:"on_demand_percentage_above_base_capacity,omitempty" xml:"on_demand_percentage_above_base_capacity,omitempty"`
	// The subscription duration of worker nodes. This parameter takes effect and is required only when `instance_charge_type` is set to `PrePaid`.
	//
	// If `PeriodUnit=Month` is specified, the valid values are 1, 2, 3, 6, 12, 24, 36, 48, and 60.
	Period *int64 `json:"period,omitempty" xml:"period,omitempty"`
	// The billing cycle of the nodes. This parameter is required if `instance_charge_type` is set to `PrePaid`.
	//
	// Valid value: `Month`.
	PeriodUnit *string `json:"period_unit,omitempty" xml:"period_unit,omitempty"`
	// The release version of the operating system. Valid values:
	//
	// *   `CentOS`
	// *   `AliyunLinux`
	// *   `Windows`
	// *   `WindowsCore`
	Platform *string `json:"platform,omitempty" xml:"platform,omitempty"`
	// The configuration of the private node pool.
	PrivatePoolOptions *DescribeClusterNodePoolDetailResponseBodyScalingGroupPrivatePoolOptions `json:"private_pool_options,omitempty" xml:"private_pool_options,omitempty" type:"Struct"`
	// The name of the worker Resource Access Management (RAM) role. The RAM role is assigned to the worker nodes of the cluster to allow the worker nodes to manage ECS instances.
	RamPolicy *string `json:"ram_policy,omitempty" xml:"ram_policy,omitempty"`
	// After you specify the list of RDS instances, the ECS instances in the cluster are automatically added to the whitelist of the RDS instances.
	RdsInstances []*string `json:"rds_instances,omitempty" xml:"rds_instances,omitempty" type:"Repeated"`
	// The ID of the scaling group.
	ScalingGroupId *string `json:"scaling_group_id,omitempty" xml:"scaling_group_id,omitempty"`
	// The scaling mode of the scaling group. Valid values:
	//
	// *   `release`: the standard mode. ECS instances are created and released based on resource usage.
	// *   `recycle`: the swift mode. ECS instances are created, stopped, or started during scaling events. This reduces the time required for the next scale-out event. When the instance is stopped, you are charged only for the storage service. This does not apply to ECS instances that are attached with local disks.
	ScalingPolicy *string `json:"scaling_policy,omitempty" xml:"scaling_policy,omitempty"`
	// The ID of the security group to which the node pool is added. If the node pool is added to multiple security groups, the first ID in the value of `security_group_ids` is returned.
	SecurityGroupId *string `json:"security_group_id,omitempty" xml:"security_group_id,omitempty"`
	// The IDs of the security groups to which the node pool is added.
	SecurityGroupIds    []*string `json:"security_group_ids,omitempty" xml:"security_group_ids,omitempty" type:"Repeated"`
	SecurityHardeningOs *bool     `json:"security_hardening_os,omitempty" xml:"security_hardening_os,omitempty"`
	SocEnabled          *bool     `json:"soc_enabled,omitempty" xml:"soc_enabled,omitempty"`
	// The number of instance types that are available for creating preemptible instances. Auto Scaling creates preemptible instances of multiple instance types that are available at the lowest cost. Valid values: 1 to 10.
	SpotInstancePools *int64 `json:"spot_instance_pools,omitempty" xml:"spot_instance_pools,omitempty"`
	// Indicates whether preemptible instances are supplemented when the number of preemptible instances drops below the specified minimum number. If this parameter is set to true, when the scaling group receives a system message that a preemptible instance is to be reclaimed, the scaling group attempts to create a new instance to replace this instance. Valid values: Valid values:
	//
	// *   `true`: Supplementation of preemptible instances is enabled.
	// *   `false`: Supplementation of preemptible instances is disabled.
	SpotInstanceRemedy *bool `json:"spot_instance_remedy,omitempty" xml:"spot_instance_remedy,omitempty"`
	// The bid configurations of preemptible instances.
	SpotPriceLimit []*DescribeClusterNodePoolDetailResponseBodyScalingGroupSpotPriceLimit `json:"spot_price_limit,omitempty" xml:"spot_price_limit,omitempty" type:"Repeated"`
	// The type of preemptible instance. Valid values:
	//
	// *   NoSpot: a non-preemptible instance.
	// *   SpotWithPriceLimit: a preemptible instance that is configured with the highest bid price.
	// *   SpotAsPriceGo: a preemptible instance for which the system automatically bids based on the current market price.
	//
	// For more information, see [Preemptible instances](~~157759~~).
	SpotStrategy              *string   `json:"spot_strategy,omitempty" xml:"spot_strategy,omitempty"`
	SystemDiskBurstingEnabled *bool     `json:"system_disk_bursting_enabled,omitempty" xml:"system_disk_bursting_enabled,omitempty"`
	SystemDiskCategories      []*string `json:"system_disk_categories,omitempty" xml:"system_disk_categories,omitempty" type:"Repeated"`
	// The type of system disk. Valid values:
	//
	// *   `cloud_efficiency`: ultra disk.
	// *   `cloud_ssd`: standard SSD.
	SystemDiskCategory         *string `json:"system_disk_category,omitempty" xml:"system_disk_category,omitempty"`
	SystemDiskEncryptAlgorithm *string `json:"system_disk_encrypt_algorithm,omitempty" xml:"system_disk_encrypt_algorithm,omitempty"`
	SystemDiskEncrypted        *bool   `json:"system_disk_encrypted,omitempty" xml:"system_disk_encrypted,omitempty"`
	SystemDiskKmsKeyId         *string `json:"system_disk_kms_key_id,omitempty" xml:"system_disk_kms_key_id,omitempty"`
	// The performance level (PL) of the system disk that you want to use for the node. This parameter takes effect only for enhanced SSDs (ESSDs).
	SystemDiskPerformanceLevel *string `json:"system_disk_performance_level,omitempty" xml:"system_disk_performance_level,omitempty"`
	SystemDiskProvisionedIops  *int64  `json:"system_disk_provisioned_iops,omitempty" xml:"system_disk_provisioned_iops,omitempty"`
	// The system disk size of a node. Unit: GiB.
	//
	// Valid values: 20 to 500.
	SystemDiskSize *int64 `json:"system_disk_size,omitempty" xml:"system_disk_size,omitempty"`
	// The labels that you want to add to the ECS instances.
	//
	// A key must be unique and cannot exceed 128 characters in length. Neither keys nor values can start with aliyun or acs:. Neither keys nor values can contain https:// or http://.
	Tags []*Tag `json:"tags,omitempty" xml:"tags,omitempty" type:"Repeated"`
	// The IDs of vSwitches. You can specify 1 to 20 vSwitches.
	//
	// > We recommend that you select vSwitches in different zones to ensure high availability.
	VswitchIds []*string `json:"vswitch_ids,omitempty" xml:"vswitch_ids,omitempty" type:"Repeated"`
}

func (DescribeClusterNodePoolDetailResponseBodyScalingGroup) GoString

func (*DescribeClusterNodePoolDetailResponseBodyScalingGroup) SetAutoRenew

func (*DescribeClusterNodePoolDetailResponseBodyScalingGroup) SetAutoRenewPeriod

func (*DescribeClusterNodePoolDetailResponseBodyScalingGroup) SetCisEnabled

func (*DescribeClusterNodePoolDetailResponseBodyScalingGroup) SetCompensateWithOnDemand

func (*DescribeClusterNodePoolDetailResponseBodyScalingGroup) SetDataDisks

func (*DescribeClusterNodePoolDetailResponseBodyScalingGroup) SetDeploymentsetId

func (*DescribeClusterNodePoolDetailResponseBodyScalingGroup) SetDesiredSize

func (*DescribeClusterNodePoolDetailResponseBodyScalingGroup) SetImageId

func (*DescribeClusterNodePoolDetailResponseBodyScalingGroup) SetImageType

func (*DescribeClusterNodePoolDetailResponseBodyScalingGroup) SetInstanceChargeType

func (*DescribeClusterNodePoolDetailResponseBodyScalingGroup) SetInstanceTypes

func (*DescribeClusterNodePoolDetailResponseBodyScalingGroup) SetInternetChargeType

func (*DescribeClusterNodePoolDetailResponseBodyScalingGroup) SetInternetMaxBandwidthOut

func (*DescribeClusterNodePoolDetailResponseBodyScalingGroup) SetKeyPair

func (*DescribeClusterNodePoolDetailResponseBodyScalingGroup) SetLoginAsNonRoot

func (*DescribeClusterNodePoolDetailResponseBodyScalingGroup) SetLoginPassword

func (*DescribeClusterNodePoolDetailResponseBodyScalingGroup) SetMultiAzPolicy

func (*DescribeClusterNodePoolDetailResponseBodyScalingGroup) SetOnDemandBaseCapacity

func (*DescribeClusterNodePoolDetailResponseBodyScalingGroup) SetOnDemandPercentageAboveBaseCapacity

func (*DescribeClusterNodePoolDetailResponseBodyScalingGroup) SetPeriod

func (*DescribeClusterNodePoolDetailResponseBodyScalingGroup) SetPeriodUnit

func (*DescribeClusterNodePoolDetailResponseBodyScalingGroup) SetPlatform

func (*DescribeClusterNodePoolDetailResponseBodyScalingGroup) SetRamPolicy

func (*DescribeClusterNodePoolDetailResponseBodyScalingGroup) SetRdsInstances

func (*DescribeClusterNodePoolDetailResponseBodyScalingGroup) SetScalingGroupId

func (*DescribeClusterNodePoolDetailResponseBodyScalingGroup) SetScalingPolicy

func (*DescribeClusterNodePoolDetailResponseBodyScalingGroup) SetSecurityGroupId

func (*DescribeClusterNodePoolDetailResponseBodyScalingGroup) SetSecurityGroupIds

func (*DescribeClusterNodePoolDetailResponseBodyScalingGroup) SetSecurityHardeningOs added in v5.0.3

func (*DescribeClusterNodePoolDetailResponseBodyScalingGroup) SetSocEnabled

func (*DescribeClusterNodePoolDetailResponseBodyScalingGroup) SetSpotInstancePools

func (*DescribeClusterNodePoolDetailResponseBodyScalingGroup) SetSpotInstanceRemedy

func (*DescribeClusterNodePoolDetailResponseBodyScalingGroup) SetSpotStrategy

func (*DescribeClusterNodePoolDetailResponseBodyScalingGroup) SetSystemDiskBurstingEnabled

func (*DescribeClusterNodePoolDetailResponseBodyScalingGroup) SetSystemDiskCategories

func (*DescribeClusterNodePoolDetailResponseBodyScalingGroup) SetSystemDiskCategory

func (*DescribeClusterNodePoolDetailResponseBodyScalingGroup) SetSystemDiskEncryptAlgorithm

func (*DescribeClusterNodePoolDetailResponseBodyScalingGroup) SetSystemDiskEncrypted

func (*DescribeClusterNodePoolDetailResponseBodyScalingGroup) SetSystemDiskKmsKeyId

func (*DescribeClusterNodePoolDetailResponseBodyScalingGroup) SetSystemDiskPerformanceLevel

func (*DescribeClusterNodePoolDetailResponseBodyScalingGroup) SetSystemDiskProvisionedIops

func (*DescribeClusterNodePoolDetailResponseBodyScalingGroup) SetSystemDiskSize

func (*DescribeClusterNodePoolDetailResponseBodyScalingGroup) SetTags

func (*DescribeClusterNodePoolDetailResponseBodyScalingGroup) SetVswitchIds

func (DescribeClusterNodePoolDetailResponseBodyScalingGroup) String

type DescribeClusterNodePoolDetailResponseBodyScalingGroupPrivatePoolOptions

type DescribeClusterNodePoolDetailResponseBodyScalingGroupPrivatePoolOptions struct {
	// The ID of the private node pool.
	Id *string `json:"id,omitempty" xml:"id,omitempty"`
	// The type of private node pool. This parameter specifies the type of private node pool that you want to use to create instances. A private node pool is generated when an elasticity assurance or a capacity reservation service takes effect. The system selects a private node pool to launch instances. Valid values:
	//
	// *   `Open`: open private pool. The system selects an open private node pool to launch instances. If no matching open private node pool is available, the resources in the public node pool are used.
	// *   `Target`: specific private pool. The system uses the resources of the specified private node pool to launch instances. If the specified private node pool is unavailable, instances cannot be launched.
	// *   `None`: no private node pool is used. The resources of private node pools are not used to launch the instances.
	MatchCriteria *string `json:"match_criteria,omitempty" xml:"match_criteria,omitempty"`
}

func (DescribeClusterNodePoolDetailResponseBodyScalingGroupPrivatePoolOptions) GoString

func (*DescribeClusterNodePoolDetailResponseBodyScalingGroupPrivatePoolOptions) SetId

func (*DescribeClusterNodePoolDetailResponseBodyScalingGroupPrivatePoolOptions) SetMatchCriteria

func (DescribeClusterNodePoolDetailResponseBodyScalingGroupPrivatePoolOptions) String

type DescribeClusterNodePoolDetailResponseBodyScalingGroupSpotPriceLimit

type DescribeClusterNodePoolDetailResponseBodyScalingGroupSpotPriceLimit struct {
	// The instance type of preemptible instances.
	InstanceType *string `json:"instance_type,omitempty" xml:"instance_type,omitempty"`
	// The price limit of a preemptible instance.
	//
	// Unit: USD/hour.
	PriceLimit *string `json:"price_limit,omitempty" xml:"price_limit,omitempty"`
}

func (DescribeClusterNodePoolDetailResponseBodyScalingGroupSpotPriceLimit) GoString

func (*DescribeClusterNodePoolDetailResponseBodyScalingGroupSpotPriceLimit) SetInstanceType

func (*DescribeClusterNodePoolDetailResponseBodyScalingGroupSpotPriceLimit) SetPriceLimit

func (DescribeClusterNodePoolDetailResponseBodyScalingGroupSpotPriceLimit) String

type DescribeClusterNodePoolDetailResponseBodyStatus

type DescribeClusterNodePoolDetailResponseBodyStatus struct {
	// The number of failed nodes.
	FailedNodes *int64 `json:"failed_nodes,omitempty" xml:"failed_nodes,omitempty"`
	// The number of healthy nodes.
	HealthyNodes *int64 `json:"healthy_nodes,omitempty" xml:"healthy_nodes,omitempty"`
	// The number of nodes that are being created.
	InitialNodes *int64 `json:"initial_nodes,omitempty" xml:"initial_nodes,omitempty"`
	// The number of offline nodes.
	OfflineNodes *int64 `json:"offline_nodes,omitempty" xml:"offline_nodes,omitempty"`
	// The number of nodes that are being removed.
	RemovingNodes *int64 `json:"removing_nodes,omitempty" xml:"removing_nodes,omitempty"`
	// The number of running nodes.
	ServingNodes *int64 `json:"serving_nodes,omitempty" xml:"serving_nodes,omitempty"`
	// The status of the node pool. Valid values:
	//
	// *   `active`: The node pool is active.
	// *   `scaling`: The node pool is being scaled.
	// *   `removing`: Nodes are being removed from the node pool.
	// *   `deleting`: The node pool is being deleted.
	// *   `updating`: The node pool is being updated.
	State *string `json:"state,omitempty" xml:"state,omitempty"`
	// The total number of nodes in the node pool.
	TotalNodes *int64 `json:"total_nodes,omitempty" xml:"total_nodes,omitempty"`
}

func (DescribeClusterNodePoolDetailResponseBodyStatus) GoString

func (*DescribeClusterNodePoolDetailResponseBodyStatus) SetFailedNodes

func (*DescribeClusterNodePoolDetailResponseBodyStatus) SetHealthyNodes

func (*DescribeClusterNodePoolDetailResponseBodyStatus) SetInitialNodes

func (*DescribeClusterNodePoolDetailResponseBodyStatus) SetOfflineNodes

func (*DescribeClusterNodePoolDetailResponseBodyStatus) SetRemovingNodes

func (*DescribeClusterNodePoolDetailResponseBodyStatus) SetServingNodes

func (*DescribeClusterNodePoolDetailResponseBodyStatus) SetState

func (*DescribeClusterNodePoolDetailResponseBodyStatus) SetTotalNodes

func (DescribeClusterNodePoolDetailResponseBodyStatus) String

type DescribeClusterNodePoolDetailResponseBodyTeeConfig

type DescribeClusterNodePoolDetailResponseBodyTeeConfig struct {
	// Indicates whether confidential computing is enabled. Valid values:
	//
	// *   `true`: Confidential computing is enabled.
	// *   `false`: Confidential computing is disabled.
	TeeEnable *bool `json:"tee_enable,omitempty" xml:"tee_enable,omitempty"`
}

func (DescribeClusterNodePoolDetailResponseBodyTeeConfig) GoString

func (*DescribeClusterNodePoolDetailResponseBodyTeeConfig) SetTeeEnable

func (DescribeClusterNodePoolDetailResponseBodyTeeConfig) String

type DescribeClusterNodePoolsRequest added in v5.0.6

type DescribeClusterNodePoolsRequest struct {
	NodepoolName *string `json:"NodepoolName,omitempty" xml:"NodepoolName,omitempty"`
}

func (DescribeClusterNodePoolsRequest) GoString added in v5.0.6

func (*DescribeClusterNodePoolsRequest) SetNodepoolName added in v5.0.6

func (DescribeClusterNodePoolsRequest) String added in v5.0.6

type DescribeClusterNodePoolsResponse

type DescribeClusterNodePoolsResponse struct {
	Headers    map[string]*string                    `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DescribeClusterNodePoolsResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DescribeClusterNodePoolsResponse) GoString

func (*DescribeClusterNodePoolsResponse) SetHeaders

func (*DescribeClusterNodePoolsResponse) SetStatusCode

func (DescribeClusterNodePoolsResponse) String

type DescribeClusterNodePoolsResponseBody

type DescribeClusterNodePoolsResponseBody struct {
	// A list of node pools.
	Nodepools []*DescribeClusterNodePoolsResponseBodyNodepools `json:"nodepools,omitempty" xml:"nodepools,omitempty" type:"Repeated"`
}

func (DescribeClusterNodePoolsResponseBody) GoString

func (DescribeClusterNodePoolsResponseBody) String

type DescribeClusterNodePoolsResponseBodyNodepools

type DescribeClusterNodePoolsResponseBodyNodepools struct {
	// The configurations about auto scaling.
	AutoScaling *DescribeClusterNodePoolsResponseBodyNodepoolsAutoScaling `json:"auto_scaling,omitempty" xml:"auto_scaling,omitempty" type:"Struct"`
	// This parameter is deprecated.
	//
	// The network configuration of the edge node pool. This parameter takes effect only for edge node pools.
	InterconnectConfig *DescribeClusterNodePoolsResponseBodyNodepoolsInterconnectConfig `json:"interconnect_config,omitempty" xml:"interconnect_config,omitempty" type:"Struct"`
	// The network type of the edge node pool. basic: basic edge node pools. dedicated: dedicated edge node pools. This parameter takes effect only for edge node pools.
	InterconnectMode *string `json:"interconnect_mode,omitempty" xml:"interconnect_mode,omitempty"`
	// The configurations of the cluster where the node pool is deployed.
	KubernetesConfig *DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConfig `json:"kubernetes_config,omitempty" xml:"kubernetes_config,omitempty" type:"Struct"`
	// The configurations of managed node pools. Managed node pools are available only in professional managed Kubernetes clusters.
	Management *DescribeClusterNodePoolsResponseBodyNodepoolsManagement `json:"management,omitempty" xml:"management,omitempty" type:"Struct"`
	// The maximum number of nodes that are supported by the edge node pool. The value of this parameter must be equal to or greater than 0. A value of 0 indicates that the number of nodes in the node pool is limited only by the quota of nodes in the cluster. In most cases, this parameter is set to a value larger than 0 for edge node pools. This parameter is set to 0 for node pools whose types are ess or default edge node pools.
	MaxNodes *int64 `json:"max_nodes,omitempty" xml:"max_nodes,omitempty"`
	// The configurations of nodes.
	NodeConfig *DescribeClusterNodePoolsResponseBodyNodepoolsNodeConfig `json:"node_config,omitempty" xml:"node_config,omitempty" type:"Struct"`
	// The information about the node pool.
	NodepoolInfo *DescribeClusterNodePoolsResponseBodyNodepoolsNodepoolInfo `json:"nodepool_info,omitempty" xml:"nodepool_info,omitempty" type:"Struct"`
	// The configuration of the scaling group.
	ScalingGroup *DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup `json:"scaling_group,omitempty" xml:"scaling_group,omitempty" type:"Struct"`
	// The status details about the node pool.
	Status *DescribeClusterNodePoolsResponseBodyNodepoolsStatus `json:"status,omitempty" xml:"status,omitempty" type:"Struct"`
	// The configurations of confidential computing.
	TeeConfig *DescribeClusterNodePoolsResponseBodyNodepoolsTeeConfig `json:"tee_config,omitempty" xml:"tee_config,omitempty" type:"Struct"`
}

func (DescribeClusterNodePoolsResponseBodyNodepools) GoString

func (*DescribeClusterNodePoolsResponseBodyNodepools) SetInterconnectMode

func (*DescribeClusterNodePoolsResponseBodyNodepools) SetMaxNodes

func (DescribeClusterNodePoolsResponseBodyNodepools) String

type DescribeClusterNodePoolsResponseBodyNodepoolsAutoScaling

type DescribeClusterNodePoolsResponseBodyNodepoolsAutoScaling struct {
	// The maximum bandwidth of the EIP.
	EipBandwidth *int64 `json:"eip_bandwidth,omitempty" xml:"eip_bandwidth,omitempty"`
	// The metering method of the EIP. Valid values:
	//
	// *   `PayByBandwidth`: pay-by-bandwidth.
	// *   `PayByTraffic`: pay-by-traffic.
	EipInternetChargeType *string `json:"eip_internet_charge_type,omitempty" xml:"eip_internet_charge_type,omitempty"`
	// Indicates whether auto scaling is enabled.
	//
	// *   `true`: Auto scaling is enabled for the node pool.
	// *   `false`: Auto scaling is disabled for the node pool. If you set this parameter to `false`, other parameters in the `auto_scaling` section does not take effect.
	Enable *bool `json:"enable,omitempty" xml:"enable,omitempty"`
	// Indicates whether an EIP is associated with the node pool. Valid values:
	//
	// *   `true`: An EIP is associated with the node pool.
	// *   `false`: No EIP is associated with the node pool.
	IsBondEip *bool `json:"is_bond_eip,omitempty" xml:"is_bond_eip,omitempty"`
	// The maximum number of Elastic Compute Service (ECS) instances that can be created in the node pool.
	MaxInstances *int64 `json:"max_instances,omitempty" xml:"max_instances,omitempty"`
	// The minimum number of ECS instances that must be retained in the node pool.
	MinInstances *int64 `json:"min_instances,omitempty" xml:"min_instances,omitempty"`
	// The instance types that can be used for the auto scaling of a node pool. Valid values:
	//
	// *   `cpu`: regular instance.
	// *   `gpu`: GPU-accelerated instance.
	// *   `gpushare`: shared GPU-accelerated instance.
	// *   `spot`: preemptible instance.
	Type *string `json:"type,omitempty" xml:"type,omitempty"`
}

func (DescribeClusterNodePoolsResponseBodyNodepoolsAutoScaling) GoString

func (*DescribeClusterNodePoolsResponseBodyNodepoolsAutoScaling) SetEipBandwidth

func (*DescribeClusterNodePoolsResponseBodyNodepoolsAutoScaling) SetEipInternetChargeType

func (*DescribeClusterNodePoolsResponseBodyNodepoolsAutoScaling) SetEnable

func (*DescribeClusterNodePoolsResponseBodyNodepoolsAutoScaling) SetIsBondEip

func (*DescribeClusterNodePoolsResponseBodyNodepoolsAutoScaling) SetMaxInstances

func (*DescribeClusterNodePoolsResponseBodyNodepoolsAutoScaling) SetMinInstances

func (*DescribeClusterNodePoolsResponseBodyNodepoolsAutoScaling) SetType

func (DescribeClusterNodePoolsResponseBodyNodepoolsAutoScaling) String

type DescribeClusterNodePoolsResponseBodyNodepoolsInterconnectConfig

type DescribeClusterNodePoolsResponseBodyNodepoolsInterconnectConfig struct {
	// This parameter is deprecated.
	//
	// The bandwidth of the enhanced edge node pool. Unit: Mbit/s.
	Bandwidth *int64 `json:"bandwidth,omitempty" xml:"bandwidth,omitempty"`
	// This parameter is deprecated.
	//
	// The ID of the Cloud Connect Network (CCN) instance that is associated with the enhanced edge node pool.
	CcnId *string `json:"ccn_id,omitempty" xml:"ccn_id,omitempty"`
	// This parameter is deprecated.
	//
	// The region to which the CCN instance that is with the enhanced edge node pool belongs.
	CcnRegionId *string `json:"ccn_region_id,omitempty" xml:"ccn_region_id,omitempty"`
	// This parameter is deprecated.
	//
	// The ID of the Cloud Enterprise Network (CEN) instance that is associated with the enhanced edge node pool.
	CenId *string `json:"cen_id,omitempty" xml:"cen_id,omitempty"`
	// This parameter is deprecated.
	//
	// The subscription duration of the enhanced edge node pool. The duration is measured in months.
	ImprovedPeriod *string `json:"improved_period,omitempty" xml:"improved_period,omitempty"`
}

func (DescribeClusterNodePoolsResponseBodyNodepoolsInterconnectConfig) GoString

func (*DescribeClusterNodePoolsResponseBodyNodepoolsInterconnectConfig) SetBandwidth

func (*DescribeClusterNodePoolsResponseBodyNodepoolsInterconnectConfig) SetCcnId

func (*DescribeClusterNodePoolsResponseBodyNodepoolsInterconnectConfig) SetCcnRegionId

func (*DescribeClusterNodePoolsResponseBodyNodepoolsInterconnectConfig) SetCenId

func (*DescribeClusterNodePoolsResponseBodyNodepoolsInterconnectConfig) SetImprovedPeriod

func (DescribeClusterNodePoolsResponseBodyNodepoolsInterconnectConfig) String

type DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConfig

type DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConfig struct {
	// Indicates whether the CloudMonitor agent is installed on ECS nodes in the cluster. After the CloudMonitor agent is installed, you can view monitoring information about the ECS instances in the CloudMonitor console. Installation is recommended. Valid values:
	//
	// *   `true`: The CloudMonitor agent is installed on ECS nodes.
	// *   `false`: The CloudMonitor agent is not installed on ECS nodes.
	CmsEnabled *bool `json:"cms_enabled,omitempty" xml:"cms_enabled,omitempty"`
	// The CPU management policy. The following policies are supported if the Kubernetes version of the cluster is 1.12.6 or later.
	//
	// *   `static`: This policy allows pods with specific resource characteristics on the node to be granted with enhanced CPU affinity and exclusivity.
	// *   `none`: indicates that the default CPU affinity is used.
	CpuPolicy *string `json:"cpu_policy,omitempty" xml:"cpu_policy,omitempty"`
	// The labels of the nodes in the node pool. You can add labels to the nodes in the cluster. You must add labels based on the following rules:
	//
	// *   Each label is a case-sensitive key-value pair. You can add at most 20 labels.
	// *   The key must be unique and cannot exceed 64 characters in length. The value can be empty and cannot exceed 128 characters in length. Keys and values cannot start with `aliyun`, `acs:`, `https://`, or `http://`. For more information, see [Labels and Selectors](https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#syntax-and-character-set).
	Labels []*Tag `json:"labels,omitempty" xml:"labels,omitempty" type:"Repeated"`
	// A custom node name consists of a prefix, an IP substring, and a suffix.
	//
	// *   The prefix and suffix can contain multiple parts that are separated by periods (.). Each part can contain lowercase letters, digits, and hyphens (-). A custom node name must start and end with a digit or lowercase letter.
	// *   The IP substring length specifies the number of digits to be truncated from the end of the node IP address. The IP substring length ranges from 5 to 12.
	//
	// For example, if the node IP address is 192.168.0.55, the prefix is aliyun.com, the IP substring length is 5, and the suffix is test, the node name will be aliyun.com00055test.
	NodeNameMode *string `json:"node_name_mode,omitempty" xml:"node_name_mode,omitempty"`
	// The name of the container runtime.
	Runtime *string `json:"runtime,omitempty" xml:"runtime,omitempty"`
	// The version of the container runtime.
	RuntimeVersion *string `json:"runtime_version,omitempty" xml:"runtime_version,omitempty"`
	// The taints that you want to add to nodes. Taints are added to nodes to prevent pods from being scheduled to inappropriate nodes. However, tolerations allow pods to be scheduled to nodes with matching taints. For more information, see [taint-and-toleration](https://kubernetes.io/zh/docs/concepts/scheduling-eviction/taint-and-toleration/).
	Taints []*Taint `json:"taints,omitempty" xml:"taints,omitempty" type:"Repeated"`
	// Specifies whether the nodes are schedulable after a scale-out activity is performed.
	Unschedulable *bool `json:"unschedulable,omitempty" xml:"unschedulable,omitempty"`
	// The user data of the node pool. For more information, see [Generate user-defined data](~~49121~~).
	UserData *string `json:"user_data,omitempty" xml:"user_data,omitempty"`
}

func (DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConfig) GoString

func (*DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConfig) SetCmsEnabled

func (*DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConfig) SetCpuPolicy

func (*DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConfig) SetLabels

func (*DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConfig) SetNodeNameMode

func (*DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConfig) SetRuntime

func (*DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConfig) SetRuntimeVersion

func (*DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConfig) SetTaints

func (*DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConfig) SetUnschedulable

func (*DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConfig) SetUserData

func (DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConfig) String

type DescribeClusterNodePoolsResponseBodyNodepoolsManagement

type DescribeClusterNodePoolsResponseBodyNodepoolsManagement struct {
	// Indicates whether auto repair is enabled. This parameter takes effect only when `enable=true` is specified. Valid values:
	//
	// *   `true`: Auto repair is enabled.
	// *   `false`: Auto repair is disabled.
	AutoRepair *bool `json:"auto_repair,omitempty" xml:"auto_repair,omitempty"`
	// The auto node repair policy.
	AutoRepairPolicy *DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoRepairPolicy `json:"auto_repair_policy,omitempty" xml:"auto_repair_policy,omitempty" type:"Struct"`
	// Specifies whether to enable auto update. Valid values:
	// - `true`: enables auto update.
	// - `false`: disables auto update.
	AutoUpgrade *bool `json:"auto_upgrade,omitempty" xml:"auto_upgrade,omitempty"`
	// The auto update policy.
	AutoUpgradePolicy *DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoUpgradePolicy `json:"auto_upgrade_policy,omitempty" xml:"auto_upgrade_policy,omitempty" type:"Struct"`
	// Specifies whether ACK is allowed to automatically patch CVE vulnerabilities. Valid values:
	// - `true`: yes
	// - `false`: no
	AutoVulFix *bool `json:"auto_vul_fix,omitempty" xml:"auto_vul_fix,omitempty"`
	// The auto CVE patching policy.
	AutoVulFixPolicy *DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoVulFixPolicy `json:"auto_vul_fix_policy,omitempty" xml:"auto_vul_fix_policy,omitempty" type:"Struct"`
	// Indicates whether the managed node pool feature is enabled. Valid values:
	//
	// *   `true`: The managed node pool feature is enabled.
	// *   `false`: The managed node pool feature is disabled. Other parameters in this section take effect only when `enable=true` is specified.
	Enable *bool `json:"enable,omitempty" xml:"enable,omitempty"`
	// The configuration of auto update. The configuration take effects only when `enable=true` is specified.
	UpgradeConfig *DescribeClusterNodePoolsResponseBodyNodepoolsManagementUpgradeConfig `json:"upgrade_config,omitempty" xml:"upgrade_config,omitempty" type:"Struct"`
}

func (DescribeClusterNodePoolsResponseBodyNodepoolsManagement) GoString

func (*DescribeClusterNodePoolsResponseBodyNodepoolsManagement) SetAutoRepair

func (*DescribeClusterNodePoolsResponseBodyNodepoolsManagement) SetAutoUpgrade

func (*DescribeClusterNodePoolsResponseBodyNodepoolsManagement) SetAutoVulFix

func (*DescribeClusterNodePoolsResponseBodyNodepoolsManagement) SetEnable

func (DescribeClusterNodePoolsResponseBodyNodepoolsManagement) String

type DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoRepairPolicy

type DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoRepairPolicy struct {
	// Specifies whether ACK is allowed to automatically restart nodes after repairing the nodes. Valid values:
	// - `true`: yes
	// - `false`: no
	RestartNode *bool `json:"restart_node,omitempty" xml:"restart_node,omitempty"`
}

func (DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoRepairPolicy) GoString

func (*DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoRepairPolicy) SetRestartNode

func (DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoRepairPolicy) String

type DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoUpgradePolicy

type DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoUpgradePolicy struct {
	// Specifies whether ACK is allowed to automatically update the kubelet. Valid values:
	// - `true`: yes
	// - `false`: no
	AutoUpgradeKubelet *bool `json:"auto_upgrade_kubelet,omitempty" xml:"auto_upgrade_kubelet,omitempty"`
}

func (DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoUpgradePolicy) GoString

func (*DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoUpgradePolicy) SetAutoUpgradeKubelet

func (DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoUpgradePolicy) String

type DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoVulFixPolicy

type DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoVulFixPolicy struct {
	// Specifies whether ACK is allowed to automatically restart nodes after patching CVE vulnerabilities. Valid values:
	// - `true`: yes
	// - `false`: no
	RestartNode *bool `json:"restart_node,omitempty" xml:"restart_node,omitempty"`
	// The severity levels of vulnerabilities that ACK is allowed to automatically patch. Multiple severity levels are separated by commas (,).
	VulLevel *string `json:"vul_level,omitempty" xml:"vul_level,omitempty"`
}

func (DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoVulFixPolicy) GoString

func (*DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoVulFixPolicy) SetRestartNode

func (*DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoVulFixPolicy) SetVulLevel

func (DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoVulFixPolicy) String

type DescribeClusterNodePoolsResponseBodyNodepoolsManagementUpgradeConfig

type DescribeClusterNodePoolsResponseBodyNodepoolsManagementUpgradeConfig struct {
	// Indicates whether auto update is enabled. Valid values:
	//
	// *   `true`: Auto update is enabled.
	// *   `false`: Auto update is disabled.
	AutoUpgrade *bool `json:"auto_upgrade,omitempty" xml:"auto_upgrade,omitempty"`
	// The maximum number of nodes that can be in the unschedulable state. Valid values: 1 to 1000.
	//
	// Default value: 1.
	MaxUnavailable *int64 `json:"max_unavailable,omitempty" xml:"max_unavailable,omitempty"`
	// The number of additional nodes.
	Surge *int64 `json:"surge,omitempty" xml:"surge,omitempty"`
	// The percentage of temporary nodes to the nodes in the node pool. You must set this parameter or `surge`.
	//
	// The number of extra nodes = The percentage of extra nodes × The number of nodes in the node pool. For example, the percentage of extra nodes is set to 50% and the number of nodes in the node pool is six. The number of extra nodes will be three.
	SurgePercentage *int64 `json:"surge_percentage,omitempty" xml:"surge_percentage,omitempty"`
}

func (DescribeClusterNodePoolsResponseBodyNodepoolsManagementUpgradeConfig) GoString

func (*DescribeClusterNodePoolsResponseBodyNodepoolsManagementUpgradeConfig) SetAutoUpgrade

func (*DescribeClusterNodePoolsResponseBodyNodepoolsManagementUpgradeConfig) SetMaxUnavailable

func (*DescribeClusterNodePoolsResponseBodyNodepoolsManagementUpgradeConfig) SetSurge

func (*DescribeClusterNodePoolsResponseBodyNodepoolsManagementUpgradeConfig) SetSurgePercentage

func (DescribeClusterNodePoolsResponseBodyNodepoolsManagementUpgradeConfig) String

type DescribeClusterNodePoolsResponseBodyNodepoolsNodeConfig

type DescribeClusterNodePoolsResponseBodyNodepoolsNodeConfig struct {
	// The kubelet configuration.
	KubeletConfiguration *KubeletConfig `json:"kubelet_configuration,omitempty" xml:"kubelet_configuration,omitempty"`
}

func (DescribeClusterNodePoolsResponseBodyNodepoolsNodeConfig) GoString

func (*DescribeClusterNodePoolsResponseBodyNodepoolsNodeConfig) SetKubeletConfiguration

func (DescribeClusterNodePoolsResponseBodyNodepoolsNodeConfig) String

type DescribeClusterNodePoolsResponseBodyNodepoolsNodepoolInfo

type DescribeClusterNodePoolsResponseBodyNodepoolsNodepoolInfo struct {
	// The time when the node pool was created.
	Created *string `json:"created,omitempty" xml:"created,omitempty"`
	// Indicates whether the node pool is a default node pool. A Container Service for Kubernetes (ACK) cluster usually has only one default node pool. Valid values:
	//
	// *   `true`: The node pool is a default node pool.
	// *   `false`: The node pool is not a default node pool.
	IsDefault *bool `json:"is_default,omitempty" xml:"is_default,omitempty"`
	// The name of the node pool.
	//
	// The name must be 1 to 63 characters in length, and can contain digits, letters, and hyphens (-). The name cannot start with a hyphen (-).
	Name *string `json:"name,omitempty" xml:"name,omitempty"`
	// The node pool ID.
	NodepoolId *string `json:"nodepool_id,omitempty" xml:"nodepool_id,omitempty"`
	// The region ID.
	RegionId *string `json:"region_id,omitempty" xml:"region_id,omitempty"`
	// The ID of the resource group to which the node pool belongs.
	ResourceGroupId *string `json:"resource_group_id,omitempty" xml:"resource_group_id,omitempty"`
	// The type of node pool. Valid values:
	//
	// *   `edge`: edge node pool
	// *   `ess`: node pool in the cloud.
	Type *string `json:"type,omitempty" xml:"type,omitempty"`
	// The time when the node pool was last updated.
	Updated *string `json:"updated,omitempty" xml:"updated,omitempty"`
}

func (DescribeClusterNodePoolsResponseBodyNodepoolsNodepoolInfo) GoString

func (*DescribeClusterNodePoolsResponseBodyNodepoolsNodepoolInfo) SetCreated

func (*DescribeClusterNodePoolsResponseBodyNodepoolsNodepoolInfo) SetIsDefault

func (*DescribeClusterNodePoolsResponseBodyNodepoolsNodepoolInfo) SetName

func (*DescribeClusterNodePoolsResponseBodyNodepoolsNodepoolInfo) SetNodepoolId

func (*DescribeClusterNodePoolsResponseBodyNodepoolsNodepoolInfo) SetRegionId

func (*DescribeClusterNodePoolsResponseBodyNodepoolsNodepoolInfo) SetResourceGroupId

func (*DescribeClusterNodePoolsResponseBodyNodepoolsNodepoolInfo) SetType

func (*DescribeClusterNodePoolsResponseBodyNodepoolsNodepoolInfo) SetUpdated

func (DescribeClusterNodePoolsResponseBodyNodepoolsNodepoolInfo) String

type DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup

type DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup struct {
	// Indicates whether auto-renewal is enabled for the nodes in the node pool. This parameter takes effect only when `instance_charge_type` is set to `PrePaid`. Valid values:
	//
	// *   `true`: Auto-renewal is enabled.
	// *   `false`: Auto-renewal is disabled.
	AutoRenew *bool `json:"auto_renew,omitempty" xml:"auto_renew,omitempty"`
	// The duration of the auto-renewal. This parameter takes effect and is required only when `instance_charge_type` is set to `PrePaid`.
	//
	// If you specify `PeriodUnit=Month`, the valid values are 1, 2, 3, 6, and 12.
	AutoRenewPeriod *int64 `json:"auto_renew_period,omitempty" xml:"auto_renew_period,omitempty"`
	// Deprecated
	// [This parameter is deprecated]
	//
	// Please replace this parameter with security_hardening_os.
	CisEnabled *bool `json:"cis_enabled,omitempty" xml:"cis_enabled,omitempty"`
	// Indicates whether pay-as-you-go instances are automatically created to meet the required number of ECS instances if preemptible instances cannot be created due to reasons such as cost or insufficient inventory. This parameter takes effect when `multi_az_policy` is set to `COST_OPTIMIZED`. Valid values:
	//
	// *   `true`: Pay-as-you-go instances are automatically created to meet the required number of ECS instances if preemptible instances cannot be created.
	// *   `false`: Pay-as-you-go instances are not automatically created to meet the required number of ECS instances if preemptible instances cannot be created.
	CompensateWithOnDemand *bool `json:"compensate_with_on_demand,omitempty" xml:"compensate_with_on_demand,omitempty"`
	// The configurations of the data disks that are attached to the nodes in the node pool. The configurations include the disk type and disk size.
	DataDisks []*DataDisk `json:"data_disks,omitempty" xml:"data_disks,omitempty" type:"Repeated"`
	// The ID of the deployment set to which the ECS instances in the node pool belong.
	DeploymentsetId *string `json:"deploymentset_id,omitempty" xml:"deploymentset_id,omitempty"`
	// You can now specify the desired number of nodes for a node pool.
	DesiredSize *int64 `json:"desired_size,omitempty" xml:"desired_size,omitempty"`
	// The ID of the custom image. You can call the `DescribeKubernetesVersionMetadata` operation to query the images supported by ACK.
	ImageId *string `json:"image_id,omitempty" xml:"image_id,omitempty"`
	// The type of OS image. You must set this parameter or platform. Valid values:
	// - AliyunLinux: Alinux2
	// - AliyunLinux3: Alinux3
	// - AliyunLinux3Arm64: Alinux3 ARM
	// - AliyunLinuxUEFI: Alinux2 UEFI
	// - CentOS: CentOS
	// - Windows: Windows
	// - WindowsCore: Windows Core
	// - ContainerOS: ContainerOS
	ImageType *string `json:"image_type,omitempty" xml:"image_type,omitempty"`
	// The billing method of the nodes in a node pool. Valid values:
	//
	// *   `PrePaid`: the subscription billing method.
	// *   `PostPaid`: the pay-as-you-go billing method.
	InstanceChargeType *string `json:"instance_charge_type,omitempty" xml:"instance_charge_type,omitempty"`
	// A list of instance types. You can select multiple instance types. When the system needs to create a node, it starts from the first instance type until the node is created. The actual instance types used to create nodes are subject to inventory availability.
	InstanceTypes []*string `json:"instance_types,omitempty" xml:"instance_types,omitempty" type:"Repeated"`
	// The billing method of the public IP address of the node.
	InternetChargeType *string `json:"internet_charge_type,omitempty" xml:"internet_charge_type,omitempty"`
	// The maximum outbound bandwidth of the public IP address of the node. Unit: Mbit/s. Valid values: 1 to 100.
	InternetMaxBandwidthOut *int64 `json:"internet_max_bandwidth_out,omitempty" xml:"internet_max_bandwidth_out,omitempty"`
	// The name of the key pair. You must set this parameter or the `login_password` parameter.
	//
	// You must set `key_pair` if the node pool is a managed node pool.
	KeyPair *string `json:"key_pair,omitempty" xml:"key_pair,omitempty"`
	// Specifies whether a non-root user can log on to the ECS instance added to the node pool.
	LoginAsNonRoot *bool `json:"login_as_non_root,omitempty" xml:"login_as_non_root,omitempty"`
	// The password for SSH logon. You must set this parameter or the `key_pair` parameter. The password must be 8 to 30 characters in length, and must contain at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters.
	//
	// For security purposes, the returned password is encrypted.
	LoginPassword *string `json:"login_password,omitempty" xml:"login_password,omitempty"`
	// The ECS instance scaling policy for a multi-zone scaling group. Valid values:
	//
	// *   `PRIORITY`: the scaling group is scaled based on the VSwitchIds.N parameter. If an ECS instance cannot be created in the zone where the vSwitch that has the highest priority resides, Auto Scaling creates the ECS instance in the zone where the vSwitch that has the next highest priority resides.
	//
	// *   `COST_OPTIMIZED`: ECS instances are created based on the vCPU unit price in ascending order. Preemptible instances are preferably created when preemptible instance types are specified in the scaling configuration. You can set the `CompensateWithOnDemand` parameter to specify whether to automatically create pay-as-you-go instances when preemptible instances cannot be created due to insufficient resources.
	//
	//     **
	//
	//     **Note** `COST_OPTIMIZED` takes effect only when multiple instance types or preemptible instances are specified in the auto scaling conflagrations.
	//
	// *   `BALANCE`: ECS instances are evenly distributed across multiple zones specified by the scaling group. If ECS instances become imbalanced among multiple zones due to insufficient inventory, you can call the `RebalanceInstances` operation of Auto Scaling to balance the instance distribution among zones. For more information, see [RebalanceInstances](~~71516~~).
	MultiAzPolicy *string `json:"multi_az_policy,omitempty" xml:"multi_az_policy,omitempty"`
	// The minimum number of pay-as-you-go instances that must be kept in the scaling group. Valid values: 0 to 1000. If the number of pay-as-you-go instances is less than the value of this parameter, Auto Scaling preferably creates pay-as-you-go instances.
	OnDemandBaseCapacity *int64 `json:"on_demand_base_capacity,omitempty" xml:"on_demand_base_capacity,omitempty"`
	// The percentage of pay-as-you-go instances among the extra instances that exceed the number specified by `on_demand_base_capacity`. Valid values: 0 to 100.
	OnDemandPercentageAboveBaseCapacity *int64 `json:"on_demand_percentage_above_base_capacity,omitempty" xml:"on_demand_percentage_above_base_capacity,omitempty"`
	// The subscription duration of worker nodes. This parameter takes effect and is required only when `instance_charge_type` is set to `PrePaid`.
	//
	// If `PeriodUnit=Month` is specified, the valid values are 1, 2, 3, 6, 12, 24, 36, 48, and 60.
	Period *int64 `json:"period,omitempty" xml:"period,omitempty"`
	// The billing cycle of the nodes. This parameter takes effect only when `instance_charge_type` is set to `PrePaid`.
	//
	// Valid value: `Month`
	PeriodUnit *string `json:"period_unit,omitempty" xml:"period_unit,omitempty"`
	// The release version of the operating system. Valid values:
	//
	// *   `CentOS`
	// *   `AliyunLinux`
	// *   `Windows`
	// *   `WindowsCore`
	Platform *string `json:"platform,omitempty" xml:"platform,omitempty"`
	// The private node pool options.
	PrivatePoolOptions *DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroupPrivatePoolOptions `json:"private_pool_options,omitempty" xml:"private_pool_options,omitempty" type:"Struct"`
	// The name of the worker Resource Access Management (RAM) role. The RAM role is assigned to the worker nodes that are created on Elastic Compute Service (ECS) instances.
	RamPolicy *string `json:"ram_policy,omitempty" xml:"ram_policy,omitempty"`
	// After you specify a list of ApsaraDB RDS instances, the ECS instances in the cluster are automatically added to the whitelists of the ApsaraDB RDS instances.
	RdsInstances []*string `json:"rds_instances,omitempty" xml:"rds_instances,omitempty" type:"Repeated"`
	// The ID of the scaling group.
	ScalingGroupId *string `json:"scaling_group_id,omitempty" xml:"scaling_group_id,omitempty"`
	// The scaling mode of the scaling group. Valid values:
	//
	// *   `release`: the standard mode. ECS instances are created and released based on resource usage.
	// *   `recycle`: the swift mode. ECS instances are created, stopped, or started during scaling events. This reduces the time required for the next scale-out event. When the instance is stopped, you are charged only for the storage service. This does not apply to ECS instances attached with local disks.
	ScalingPolicy *string `json:"scaling_policy,omitempty" xml:"scaling_policy,omitempty"`
	// The ID of the security group to which the node pool is added. If the node pool is added to multiple security groups, the first ID in the value of `security_group_ids` is returned.
	SecurityGroupId *string `json:"security_group_id,omitempty" xml:"security_group_id,omitempty"`
	// The IDs of the security groups to which the node pool is added.
	SecurityGroupIds []*string `json:"security_group_ids,omitempty" xml:"security_group_ids,omitempty" type:"Repeated"`
	// Specifies whether to enable Alibaba Cloud Linux Security Hardening.
	// Valid values:
	// - `true`: enables Alibaba Cloud Linux Security Hardening.
	// - `false`: disables Alibaba Cloud Linux Security Hardening.
	//
	// Default value: false
	SecurityHardeningOs *bool `json:"security_hardening_os,omitempty" xml:"security_hardening_os,omitempty"`
	// Specifies whether to enable reinforcement based on Multi-Level Protection Scheme (MLPS). For more information, see ACK reinforcement based on classified protection.
	// Valid values:
	// - `true`: enables reinforcement based on MLPS.
	// - `false`: disables reinforcement based on MLPS.
	//
	// Default value: false.
	SocEnabled *bool `json:"soc_enabled,omitempty" xml:"soc_enabled,omitempty"`
	// The number of instance types that are available for creating preemptible instances. Auto Scaling creates preemptible instances of multiple instance types that are available at the lowest cost. Valid values: 1 to 10.
	SpotInstancePools *int64 `json:"spot_instance_pools,omitempty" xml:"spot_instance_pools,omitempty"`
	// Indicates whether preemptible instances are supplemented when the number of preemptible instances drops below the specified minimum number. If this parameter is set to true, when the scaling group receives a system message that a preemptible instance is to be reclaimed, the scaling group attempts to create a new instance to replace this instance. Valid values:
	//
	// *   `true`: Supplementation of preemptible instances is enabled.
	// *   `false`: Supplementation of preemptible instances is disabled.
	SpotInstanceRemedy *bool `json:"spot_instance_remedy,omitempty" xml:"spot_instance_remedy,omitempty"`
	// The bid configurations of preemptible instances.
	SpotPriceLimit []*DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroupSpotPriceLimit `json:"spot_price_limit,omitempty" xml:"spot_price_limit,omitempty" type:"Repeated"`
	// The type of preemptible instance. Valid values:
	//
	// *   NoSpot: a non-preemptible instance.
	// *   SpotWithPriceLimit: a preemptible instance that is configured with the highest bid price.
	// *   SpotAsPriceGo: a preemptible instance for which the system automatically bids based on the current market price.
	//
	// For more information, see [Preemptible instances](~~157759~~).
	SpotStrategy *string `json:"spot_strategy,omitempty" xml:"spot_strategy,omitempty"`
	// Specifies whether to enable the burst feature for system disks. Valid values:
	// - `true`: enables the burst feature.
	// - `false`: disables the burst feature.
	//
	// This parameter is supported only when SystemDiskCategory is set to cloud_auto. For more information, see [ESSD AutoPL disks. ](~~368372~~)
	SystemDiskBurstingEnabled *bool `json:"system_disk_bursting_enabled,omitempty" xml:"system_disk_bursting_enabled,omitempty"`
	// The type of system disk. When a high -priority disk type cannot be used, automatically try the next priority disk type creation system disk. Valid values:
	// - cloud: basic disk
	// - cloud_efficiency: ultra disk
	// - cloud_ssd: standard SSD
	// - cloud_essd: ESSD
	SystemDiskCategories []*string `json:"system_disk_categories,omitempty" xml:"system_disk_categories,omitempty" type:"Repeated"`
	// The type of system disk. Valid values:
	//
	// *   `cloud_efficiency`: ultra disk.
	// *   `cloud_ssd`: standard SSD.
	SystemDiskCategory *string `json:"system_disk_category,omitempty" xml:"system_disk_category,omitempty"`
	// The algorithm that you want to use to encrypt the system disk. Set the value to aes-256.
	SystemDiskEncryptAlgorithm *string `json:"system_disk_encrypt_algorithm,omitempty" xml:"system_disk_encrypt_algorithm,omitempty"`
	// Specifies whether to encrypt the system disk. Valid values:
	// - `true`: encrypts the system disk.
	// - `false`: does not encrypt the system disk.
	SystemDiskEncrypted *bool `json:"system_disk_encrypted,omitempty" xml:"system_disk_encrypted,omitempty"`
	// The ID of the KMS key that you want to use to encrypt the system disk.
	SystemDiskKmsKeyId *string `json:"system_disk_kms_key_id,omitempty" xml:"system_disk_kms_key_id,omitempty"`
	// The performance level (PL) of the system disk that you want to use for the node. This parameter takes effect only for enhanced SSDs (ESSDs).
	SystemDiskPerformanceLevel *string `json:"system_disk_performance_level,omitempty" xml:"system_disk_performance_level,omitempty"`
	// The predefined IOPS of a system disk. Valid values: 0 to min{50,000, 1,000 × Capacity - Baseline IOPS} Baseline IOPS = min{1,800 + 50 × Capacity, 50,000}
	// This parameter is supported only when SystemDiskCategory is set to cloud_auto. For more information, see [ESSD AutoPL disks](~~368372~~).
	SystemDiskProvisionedIops *int64 `json:"system_disk_provisioned_iops,omitempty" xml:"system_disk_provisioned_iops,omitempty"`
	// The system disk size of a node. Unit: GiB.
	//
	// Valid values: 20 to 500
	SystemDiskSize *int64 `json:"system_disk_size,omitempty" xml:"system_disk_size,omitempty"`
	// The labels that you want to add to the ECS instances.
	//
	// The key must be unique and cannot exceed 128 characters in length. Neither keys nor values can start with aliyun or acs:. Neither keys nor values can contain https:// or http://.
	Tags []*Tag `json:"tags,omitempty" xml:"tags,omitempty" type:"Repeated"`
	// The vSwitch IDs. You can specify 1 to 20 vSwitches.
	//
	// >  To ensure high availability, we recommend that you select vSwitches in different zones.
	VswitchIds []*string `json:"vswitch_ids,omitempty" xml:"vswitch_ids,omitempty" type:"Repeated"`
}

func (DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup) GoString

func (*DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup) SetAutoRenew

func (*DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup) SetAutoRenewPeriod

func (*DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup) SetCisEnabled

func (*DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup) SetCompensateWithOnDemand

func (*DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup) SetDataDisks

func (*DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup) SetDeploymentsetId

func (*DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup) SetDesiredSize

func (*DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup) SetImageId

func (*DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup) SetImageType

func (*DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup) SetInstanceChargeType

func (*DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup) SetInstanceTypes

func (*DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup) SetInternetChargeType

func (*DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup) SetInternetMaxBandwidthOut

func (*DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup) SetKeyPair

func (*DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup) SetLoginAsNonRoot

func (*DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup) SetLoginPassword

func (*DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup) SetMultiAzPolicy

func (*DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup) SetOnDemandBaseCapacity

func (*DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup) SetOnDemandPercentageAboveBaseCapacity

func (*DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup) SetPeriod

func (*DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup) SetPeriodUnit

func (*DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup) SetPlatform

func (*DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup) SetRamPolicy

func (*DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup) SetRdsInstances

func (*DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup) SetScalingGroupId

func (*DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup) SetScalingPolicy

func (*DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup) SetSecurityGroupId

func (*DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup) SetSecurityGroupIds

func (*DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup) SetSecurityHardeningOs added in v5.0.3

func (*DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup) SetSocEnabled

func (*DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup) SetSpotInstancePools

func (*DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup) SetSpotInstanceRemedy

func (*DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup) SetSpotStrategy

func (*DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup) SetSystemDiskBurstingEnabled

func (*DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup) SetSystemDiskCategories

func (*DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup) SetSystemDiskCategory

func (*DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup) SetSystemDiskEncryptAlgorithm

func (*DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup) SetSystemDiskEncrypted

func (*DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup) SetSystemDiskKmsKeyId

func (*DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup) SetSystemDiskPerformanceLevel

func (*DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup) SetSystemDiskProvisionedIops

func (*DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup) SetSystemDiskSize

func (*DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup) SetTags

func (*DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup) SetVswitchIds

func (DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup) String

type DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroupPrivatePoolOptions

type DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroupPrivatePoolOptions struct {
	// The private pool ID. The ID of a private pool is the same as the ID of the elasticity assurance or capacity reservation for which the private pool is generated.
	Id *string `json:"id,omitempty" xml:"id,omitempty"`
	// The type of private node pool. This parameter specifies the type of private node pool that you want to use to create instances. A private node pool is generated when an elasticity assurance or a capacity reservation service takes effect. The system selects a private node pool to launch instances. Valid values:
	//
	// *   `Open`: open private node pool. The system selects an open private node pool to launch instances. If no matching open private node pool is available, the resources in the public node pool are used.
	// *   `Target`: specific private pool. The system uses the resources of the specified private node pool to launch instances. If the specified private node pool is unavailable, instances cannot be started.
	// *   `None`: no private node pool is used. The resources of private node pools are not used to lancuh instances.
	MatchCriteria *string `json:"match_criteria,omitempty" xml:"match_criteria,omitempty"`
}

func (DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroupPrivatePoolOptions) GoString

func (*DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroupPrivatePoolOptions) SetId

func (*DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroupPrivatePoolOptions) SetMatchCriteria

func (DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroupPrivatePoolOptions) String

type DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroupSpotPriceLimit

type DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroupSpotPriceLimit struct {
	// The instance type of preemptible instances.
	InstanceType *string `json:"instance_type,omitempty" xml:"instance_type,omitempty"`
	// The price limit of a single preemptible instance.
	//
	// Unit: USD/hour.
	PriceLimit *string `json:"price_limit,omitempty" xml:"price_limit,omitempty"`
}

func (DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroupSpotPriceLimit) GoString

func (*DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroupSpotPriceLimit) SetInstanceType

func (*DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroupSpotPriceLimit) SetPriceLimit

func (DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroupSpotPriceLimit) String

type DescribeClusterNodePoolsResponseBodyNodepoolsStatus

type DescribeClusterNodePoolsResponseBodyNodepoolsStatus struct {
	// The number of failed nodes.
	FailedNodes *int64 `json:"failed_nodes,omitempty" xml:"failed_nodes,omitempty"`
	// The number of healthy nodes.
	HealthyNodes *int64 `json:"healthy_nodes,omitempty" xml:"healthy_nodes,omitempty"`
	// The number of nodes that are being created.
	InitialNodes *int64 `json:"initial_nodes,omitempty" xml:"initial_nodes,omitempty"`
	// The number of offline nodes.
	OfflineNodes *int64 `json:"offline_nodes,omitempty" xml:"offline_nodes,omitempty"`
	// The number of nodes that are being removed.
	RemovingNodes *int64 `json:"removing_nodes,omitempty" xml:"removing_nodes,omitempty"`
	// The number of running nodes.
	ServingNodes *int64 `json:"serving_nodes,omitempty" xml:"serving_nodes,omitempty"`
	// The status of the node pool. Valid values:
	//
	// *   `active`: The node pool is active.
	// *   `scaling`: The node pool is being scaled.
	// *   `removing`: Nodes are being removed from the node pool.
	// *   `deleting`: The node pool is being deleted.
	// *   `updating`: The node pool is being updated.
	State *string `json:"state,omitempty" xml:"state,omitempty"`
	// The total number of nodes in the node pool.
	TotalNodes *int64 `json:"total_nodes,omitempty" xml:"total_nodes,omitempty"`
}

func (DescribeClusterNodePoolsResponseBodyNodepoolsStatus) GoString

func (*DescribeClusterNodePoolsResponseBodyNodepoolsStatus) SetFailedNodes

func (*DescribeClusterNodePoolsResponseBodyNodepoolsStatus) SetHealthyNodes

func (*DescribeClusterNodePoolsResponseBodyNodepoolsStatus) SetInitialNodes

func (*DescribeClusterNodePoolsResponseBodyNodepoolsStatus) SetOfflineNodes

func (*DescribeClusterNodePoolsResponseBodyNodepoolsStatus) SetRemovingNodes

func (*DescribeClusterNodePoolsResponseBodyNodepoolsStatus) SetServingNodes

func (*DescribeClusterNodePoolsResponseBodyNodepoolsStatus) SetState

func (*DescribeClusterNodePoolsResponseBodyNodepoolsStatus) SetTotalNodes

func (DescribeClusterNodePoolsResponseBodyNodepoolsStatus) String

type DescribeClusterNodePoolsResponseBodyNodepoolsTeeConfig

type DescribeClusterNodePoolsResponseBodyNodepoolsTeeConfig struct {
	// Indicates whether confidential computing is enabled. Valid values:
	//
	// *   `true`: Confidential computing is enabled.
	// *   `false`: Confidential computing is disabled.
	TeeEnable *bool `json:"tee_enable,omitempty" xml:"tee_enable,omitempty"`
}

func (DescribeClusterNodePoolsResponseBodyNodepoolsTeeConfig) GoString

func (*DescribeClusterNodePoolsResponseBodyNodepoolsTeeConfig) SetTeeEnable

func (DescribeClusterNodePoolsResponseBodyNodepoolsTeeConfig) String

type DescribeClusterNodesRequest

type DescribeClusterNodesRequest struct {
	// The IDs of the nodes that you want to query. Separate multiple node IDs with commas (,).
	InstanceIds *string `json:"instanceIds,omitempty" xml:"instanceIds,omitempty"`
	// The node pool ID.
	NodepoolId *string `json:"nodepool_id,omitempty" xml:"nodepool_id,omitempty"`
	// The page number.
	//
	// Default value: 1.
	PageNumber *string `json:"pageNumber,omitempty" xml:"pageNumber,omitempty"`
	// The number of entries per page. Valid values: 1 to 100.
	//
	// Default value: 10.
	PageSize *string `json:"pageSize,omitempty" xml:"pageSize,omitempty"`
	// The node state that you want to use to filter nodes. Valid values:
	//
	// *   `all`: query nodes in the following four states.
	// *   `running`: query nodes in the running state.
	// *   `removing`: query nodes that are being removed.
	// *   `initial`: query nodes that are being initialized.
	// *   `failed`: query nodes that fail to be created.
	//
	// Default value: `all`.
	State *string `json:"state,omitempty" xml:"state,omitempty"`
}

func (DescribeClusterNodesRequest) GoString

func (s DescribeClusterNodesRequest) GoString() string

func (*DescribeClusterNodesRequest) SetInstanceIds

func (*DescribeClusterNodesRequest) SetNodepoolId

func (*DescribeClusterNodesRequest) SetPageNumber

func (*DescribeClusterNodesRequest) SetPageSize

func (*DescribeClusterNodesRequest) SetState

func (DescribeClusterNodesRequest) String

type DescribeClusterNodesResponse

type DescribeClusterNodesResponse struct {
	Headers    map[string]*string                `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                            `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DescribeClusterNodesResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DescribeClusterNodesResponse) GoString

func (s DescribeClusterNodesResponse) GoString() string

func (*DescribeClusterNodesResponse) SetBody

func (*DescribeClusterNodesResponse) SetHeaders

func (*DescribeClusterNodesResponse) SetStatusCode

func (DescribeClusterNodesResponse) String

type DescribeClusterNodesResponseBody

type DescribeClusterNodesResponseBody struct {
	// The details of the nodes in the cluster.
	Nodes []*DescribeClusterNodesResponseBodyNodes `json:"nodes,omitempty" xml:"nodes,omitempty" type:"Repeated"`
	// The pagination information.
	Page *DescribeClusterNodesResponseBodyPage `json:"page,omitempty" xml:"page,omitempty" type:"Struct"`
}

func (DescribeClusterNodesResponseBody) GoString

func (DescribeClusterNodesResponseBody) String

type DescribeClusterNodesResponseBodyNodes

type DescribeClusterNodesResponseBodyNodes struct {
	// The time when the node was created.
	CreationTime *string `json:"creation_time,omitempty" xml:"creation_time,omitempty"`
	// The error message generated when the node was created.
	ErrorMessage *string `json:"error_message,omitempty" xml:"error_message,omitempty"`
	// The expiration date of the node.
	ExpiredTime *string `json:"expired_time,omitempty" xml:"expired_time,omitempty"`
	// The name of the host.
	HostName *string `json:"host_name,omitempty" xml:"host_name,omitempty"`
	// The ID of the system image that is used by the node.
	ImageId *string `json:"image_id,omitempty" xml:"image_id,omitempty"`
	// The billing method of the node. Valid values:
	//
	// *   `PrePaid`: the subscription billing method. If the value is PrePaid, make sure that you have a sufficient balance or credit in your account. Otherwise, an `InvalidPayMethod` error is returned.
	// *   `PostPaid`: the pay-as-you-go billing method.
	InstanceChargeType *string `json:"instance_charge_type,omitempty" xml:"instance_charge_type,omitempty"`
	// The ID of the instance.
	InstanceId *string `json:"instance_id,omitempty" xml:"instance_id,omitempty"`
	// The name of the instance on which the node is deployed.
	InstanceName *string `json:"instance_name,omitempty" xml:"instance_name,omitempty"`
	// The role of the node. Valid values:
	//
	// *   Master: master node
	// *   Worker: worker node
	InstanceRole *string `json:"instance_role,omitempty" xml:"instance_role,omitempty"`
	// The status of the node.
	InstanceStatus *string `json:"instance_status,omitempty" xml:"instance_status,omitempty"`
	// The type of the node.
	InstanceType *string `json:"instance_type,omitempty" xml:"instance_type,omitempty"`
	// The ECS instance family of the node.
	InstanceTypeFamily *string `json:"instance_type_family,omitempty" xml:"instance_type_family,omitempty"`
	// The IP address of the node.
	IpAddress []*string `json:"ip_address,omitempty" xml:"ip_address,omitempty" type:"Repeated"`
	// Indicates whether the instance on which the node is deployed is provided by Alibaba Cloud. Valid values:
	//
	// *   `true`: The instance is provided by Alibaba Cloud.
	// *   `false`: The instance is not provided by Alibaba Cloud.
	IsAliyunNode *bool `json:"is_aliyun_node,omitempty" xml:"is_aliyun_node,omitempty"`
	// The name of the node. This name is the identifier of the node in the cluster.
	NodeName *string `json:"node_name,omitempty" xml:"node_name,omitempty"`
	// Indicates whether the node is ready. Valid values:
	//
	// *   `Ready`: The node is ready.
	// *   `NotReady`: The node is not ready.
	// *   `Unknown`: The status of the node is unknown.
	// *   `Offline`: The node is offline.
	NodeStatus *string `json:"node_status,omitempty" xml:"node_status,omitempty"`
	// The node pool ID.
	NodepoolId *string `json:"nodepool_id,omitempty" xml:"nodepool_id,omitempty"`
	// Indicates how the node is initialized. A node can be manually created or created by using Resource Orchestration Service (ROS).
	Source *string `json:"source,omitempty" xml:"source,omitempty"`
	// The type of preemptible instance. Valid values:
	//
	// *   NoSpot: a non-preemptible instance.
	// *   SpotWithPriceLimit: a preemptible instance that is configured with the highest bid price.
	// *   SpotAsPriceGo: a preemptible instance for which the system automatically bids based on the current market price.
	SpotStrategy *string `json:"spot_strategy,omitempty" xml:"spot_strategy,omitempty"`
	// The status of the node. Valid values:
	//
	// *   `pending`: The node is being created.
	// *   `running`: The node is running.
	// *   `starting`: The node is being started.
	// *   `stopping`: The node is being stopped.
	// *   `stopped`: The node is stopped.
	State *string `json:"state,omitempty" xml:"state,omitempty"`
}

func (DescribeClusterNodesResponseBodyNodes) GoString

func (*DescribeClusterNodesResponseBodyNodes) SetCreationTime

func (*DescribeClusterNodesResponseBodyNodes) SetErrorMessage

func (*DescribeClusterNodesResponseBodyNodes) SetExpiredTime

func (*DescribeClusterNodesResponseBodyNodes) SetHostName

func (*DescribeClusterNodesResponseBodyNodes) SetImageId

func (*DescribeClusterNodesResponseBodyNodes) SetInstanceChargeType

func (*DescribeClusterNodesResponseBodyNodes) SetInstanceId

func (*DescribeClusterNodesResponseBodyNodes) SetInstanceName

func (*DescribeClusterNodesResponseBodyNodes) SetInstanceRole

func (*DescribeClusterNodesResponseBodyNodes) SetInstanceStatus

func (*DescribeClusterNodesResponseBodyNodes) SetInstanceType

func (*DescribeClusterNodesResponseBodyNodes) SetInstanceTypeFamily

func (*DescribeClusterNodesResponseBodyNodes) SetIpAddress

func (*DescribeClusterNodesResponseBodyNodes) SetIsAliyunNode

func (*DescribeClusterNodesResponseBodyNodes) SetNodeName

func (*DescribeClusterNodesResponseBodyNodes) SetNodeStatus

func (*DescribeClusterNodesResponseBodyNodes) SetNodepoolId

func (*DescribeClusterNodesResponseBodyNodes) SetSource

func (*DescribeClusterNodesResponseBodyNodes) SetSpotStrategy

func (*DescribeClusterNodesResponseBodyNodes) SetState

func (DescribeClusterNodesResponseBodyNodes) String

type DescribeClusterNodesResponseBodyPage

type DescribeClusterNodesResponseBodyPage struct {
	// The page number.
	PageNumber *int32 `json:"page_number,omitempty" xml:"page_number,omitempty"`
	// The number of entries per page.
	PageSize *int32 `json:"page_size,omitempty" xml:"page_size,omitempty"`
	// The total number of entries returned.
	TotalCount *int32 `json:"total_count,omitempty" xml:"total_count,omitempty"`
}

func (DescribeClusterNodesResponseBodyPage) GoString

func (*DescribeClusterNodesResponseBodyPage) SetPageNumber

func (*DescribeClusterNodesResponseBodyPage) SetPageSize

func (*DescribeClusterNodesResponseBodyPage) SetTotalCount

func (DescribeClusterNodesResponseBodyPage) String

type DescribeClusterResourcesRequest

type DescribeClusterResourcesRequest struct {
	WithAddonResources *bool `json:"with_addon_resources,omitempty" xml:"with_addon_resources,omitempty"`
}

func (DescribeClusterResourcesRequest) GoString

func (*DescribeClusterResourcesRequest) SetWithAddonResources

func (DescribeClusterResourcesRequest) String

type DescribeClusterResourcesResponse

type DescribeClusterResourcesResponse struct {
	Headers    map[string]*string                      `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                  `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       []*DescribeClusterResourcesResponseBody `json:"body,omitempty" xml:"body,omitempty" type:"Repeated"`
}

func (DescribeClusterResourcesResponse) GoString

func (*DescribeClusterResourcesResponse) SetHeaders

func (*DescribeClusterResourcesResponse) SetStatusCode

func (DescribeClusterResourcesResponse) String

type DescribeClusterResourcesResponseBody

type DescribeClusterResourcesResponseBody struct {
	// The cluster ID.
	ClusterId *string `json:"cluster_id,omitempty" xml:"cluster_id,omitempty"`
	// The time when the resource was created.
	Created *string `json:"created,omitempty" xml:"created,omitempty"`
	// The resource ID.
	InstanceId *string `json:"instance_id,omitempty" xml:"instance_id,omitempty"`
	// The information about the resource. For more information about how to query the source information about a resource, see [ListStackResources](~~133836~~).
	ResourceInfo *string `json:"resource_info,omitempty" xml:"resource_info,omitempty"`
	// The resource type.
	ResourceType *string `json:"resource_type,omitempty" xml:"resource_type,omitempty"`
	// The resource status. Valid values:
	//
	// *   `CREATE_COMPLETE`: The resource is created.
	// *   `CREATE_FAILED`: The resource failed to be created.
	// *   `CREATE_IN_PROGRESS`: The resource is being created.
	// *   `DELETE_FAILED`: The resource failed to be deleted.
	// *   `DELETE_IN_PROGRESS`: The resource is being deleted.
	// *   `ROLLBACK_COMPLETE`: The resource is rolled back.
	// *   `ROLLBACK_FAILED`: The resource failed to be rolled back.
	// *   `ROLLBACK_IN_PROGRESS`: The resource is being rolled back.
	State *string `json:"state,omitempty" xml:"state,omitempty"`
	// Indicates whether the resource is created by Container Service for Kubernetes (ACK). Valid values:
	//
	// *   1: The resource is created by ACK.
	// *   0: The resource is an existing resource.
	AutoCreate       *int64                                                `json:"auto_create,omitempty" xml:"auto_create,omitempty"`
	Dependencies     []*DescribeClusterResourcesResponseBodyDependencies   `json:"dependencies,omitempty" xml:"dependencies,omitempty" type:"Repeated"`
	AssociatedObject *DescribeClusterResourcesResponseBodyAssociatedObject `json:"associated_object,omitempty" xml:"associated_object,omitempty" type:"Struct"`
	DeleteBehavior   *DescribeClusterResourcesResponseBodyDeleteBehavior   `json:"delete_behavior,omitempty" xml:"delete_behavior,omitempty" type:"Struct"`
	CreatorType      *string                                               `json:"creator_type,omitempty" xml:"creator_type,omitempty"`
	ExtraInfo        map[string]interface{}                                `json:"extra_info,omitempty" xml:"extra_info,omitempty"`
}

func (DescribeClusterResourcesResponseBody) GoString

func (*DescribeClusterResourcesResponseBody) SetAutoCreate

func (*DescribeClusterResourcesResponseBody) SetClusterId

func (*DescribeClusterResourcesResponseBody) SetCreated

func (*DescribeClusterResourcesResponseBody) SetCreatorType

func (*DescribeClusterResourcesResponseBody) SetExtraInfo

func (*DescribeClusterResourcesResponseBody) SetInstanceId

func (*DescribeClusterResourcesResponseBody) SetResourceInfo

func (*DescribeClusterResourcesResponseBody) SetResourceType

func (*DescribeClusterResourcesResponseBody) SetState

func (DescribeClusterResourcesResponseBody) String

type DescribeClusterResourcesResponseBodyAssociatedObject

type DescribeClusterResourcesResponseBodyAssociatedObject struct {
	Kind      *string `json:"kind,omitempty" xml:"kind,omitempty"`
	Namespace *string `json:"namespace,omitempty" xml:"namespace,omitempty"`
	Name      *string `json:"name,omitempty" xml:"name,omitempty"`
}

func (DescribeClusterResourcesResponseBodyAssociatedObject) GoString

func (*DescribeClusterResourcesResponseBodyAssociatedObject) SetKind

func (*DescribeClusterResourcesResponseBodyAssociatedObject) SetName

func (*DescribeClusterResourcesResponseBodyAssociatedObject) SetNamespace

func (DescribeClusterResourcesResponseBodyAssociatedObject) String

type DescribeClusterResourcesResponseBodyDeleteBehavior

type DescribeClusterResourcesResponseBodyDeleteBehavior struct {
	DeleteByDefault *bool `json:"delete_by_default,omitempty" xml:"delete_by_default,omitempty"`
	Changeable      *bool `json:"changeable,omitempty" xml:"changeable,omitempty"`
}

func (DescribeClusterResourcesResponseBodyDeleteBehavior) GoString

func (*DescribeClusterResourcesResponseBodyDeleteBehavior) SetChangeable

func (*DescribeClusterResourcesResponseBodyDeleteBehavior) SetDeleteByDefault

func (DescribeClusterResourcesResponseBodyDeleteBehavior) String

type DescribeClusterResourcesResponseBodyDependencies

type DescribeClusterResourcesResponseBodyDependencies struct {
	ClusterId    *string `json:"cluster_id,omitempty" xml:"cluster_id,omitempty"`
	ResourceType *string `json:"resource_type,omitempty" xml:"resource_type,omitempty"`
	InstanceId   *string `json:"instance_id,omitempty" xml:"instance_id,omitempty"`
}

func (DescribeClusterResourcesResponseBodyDependencies) GoString

func (*DescribeClusterResourcesResponseBodyDependencies) SetClusterId

func (*DescribeClusterResourcesResponseBodyDependencies) SetInstanceId

func (*DescribeClusterResourcesResponseBodyDependencies) SetResourceType

func (DescribeClusterResourcesResponseBodyDependencies) String

type DescribeClusterTasksRequest

type DescribeClusterTasksRequest struct {
	// The page number.
	PageNumber *int32 `json:"page_number,omitempty" xml:"page_number,omitempty"`
	// The number of entries per page.
	PageSize *int32 `json:"page_size,omitempty" xml:"page_size,omitempty"`
}

func (DescribeClusterTasksRequest) GoString

func (s DescribeClusterTasksRequest) GoString() string

func (*DescribeClusterTasksRequest) SetPageNumber

func (*DescribeClusterTasksRequest) SetPageSize

func (DescribeClusterTasksRequest) String

type DescribeClusterTasksResponse

type DescribeClusterTasksResponse struct {
	Headers    map[string]*string                `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                            `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DescribeClusterTasksResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DescribeClusterTasksResponse) GoString

func (s DescribeClusterTasksResponse) GoString() string

func (*DescribeClusterTasksResponse) SetBody

func (*DescribeClusterTasksResponse) SetHeaders

func (*DescribeClusterTasksResponse) SetStatusCode

func (DescribeClusterTasksResponse) String

type DescribeClusterTasksResponseBody

type DescribeClusterTasksResponseBody struct {
	// The pagination information.
	PageInfo *DescribeClusterTasksResponseBodyPageInfo `json:"page_info,omitempty" xml:"page_info,omitempty" type:"Struct"`
	// The request ID.
	RequestId *string `json:"requestId,omitempty" xml:"requestId,omitempty"`
	// The information about the tasks.
	Tasks []*DescribeClusterTasksResponseBodyTasks `json:"tasks,omitempty" xml:"tasks,omitempty" type:"Repeated"`
}

func (DescribeClusterTasksResponseBody) GoString

func (*DescribeClusterTasksResponseBody) SetRequestId

func (DescribeClusterTasksResponseBody) String

type DescribeClusterTasksResponseBodyPageInfo

type DescribeClusterTasksResponseBodyPageInfo struct {
	// The number of the page returned.
	PageNumber *int64 `json:"page_number,omitempty" xml:"page_number,omitempty"`
	// The number of entries per page.
	PageSize *int64 `json:"page_size,omitempty" xml:"page_size,omitempty"`
	// The total number of entries returned.
	TotalCount *int64 `json:"total_count,omitempty" xml:"total_count,omitempty"`
}

func (DescribeClusterTasksResponseBodyPageInfo) GoString

func (*DescribeClusterTasksResponseBodyPageInfo) SetPageNumber

func (*DescribeClusterTasksResponseBodyPageInfo) SetPageSize

func (*DescribeClusterTasksResponseBodyPageInfo) SetTotalCount

func (DescribeClusterTasksResponseBodyPageInfo) String

type DescribeClusterTasksResponseBodyTasks

type DescribeClusterTasksResponseBodyTasks struct {
	// The time when the task was created.
	Created *string `json:"created,omitempty" xml:"created,omitempty"`
	// The error returned for the task.
	Error *DescribeClusterTasksResponseBodyTasksError `json:"error,omitempty" xml:"error,omitempty" type:"Struct"`
	// The status of the task.
	State *string `json:"state,omitempty" xml:"state,omitempty"`
	// The task ID.
	TaskId *string `json:"task_id,omitempty" xml:"task_id,omitempty"`
	// The type of task.
	TaskType *string `json:"task_type,omitempty" xml:"task_type,omitempty"`
	// The time when the task was updated.
	Updated *string `json:"updated,omitempty" xml:"updated,omitempty"`
}

func (DescribeClusterTasksResponseBodyTasks) GoString

func (*DescribeClusterTasksResponseBodyTasks) SetCreated

func (*DescribeClusterTasksResponseBodyTasks) SetState

func (*DescribeClusterTasksResponseBodyTasks) SetTaskId

func (*DescribeClusterTasksResponseBodyTasks) SetTaskType

func (*DescribeClusterTasksResponseBodyTasks) SetUpdated

func (DescribeClusterTasksResponseBodyTasks) String

type DescribeClusterTasksResponseBodyTasksError

type DescribeClusterTasksResponseBodyTasksError struct {
	// The error code returned.
	Code *string `json:"code,omitempty" xml:"code,omitempty"`
	// The error message returned.
	Message *string `json:"message,omitempty" xml:"message,omitempty"`
}

func (DescribeClusterTasksResponseBodyTasksError) GoString

func (*DescribeClusterTasksResponseBodyTasksError) SetCode

func (*DescribeClusterTasksResponseBodyTasksError) SetMessage

func (DescribeClusterTasksResponseBodyTasksError) String

type DescribeClusterUserKubeconfigRequest

type DescribeClusterUserKubeconfigRequest struct {
	// Specifies whether to obtain the kubeconfig file that is used to connect to the cluster over the internal network. Valid values:
	//
	// *   `true`: obtains the kubeconfig file that is used to connect to the master instance over the internal network.
	// *   `false`: obtains the kubeconfig file that is used to connect to the master instance over the Internet.
	//
	// Default value: `false`.
	PrivateIpAddress *bool `json:"PrivateIpAddress,omitempty" xml:"PrivateIpAddress,omitempty"`
	// The validity period of a temporary kubeconfig file. Unit: minutes. Valid values: 15 to 4320 (3 days).
	//
	// >  If you do not specify this parameter, the system specifies a longer validity period. The validity period is returned in the `expiration` parameter.
	TemporaryDurationMinutes *int64 `json:"TemporaryDurationMinutes,omitempty" xml:"TemporaryDurationMinutes,omitempty"`
}

func (DescribeClusterUserKubeconfigRequest) GoString

func (*DescribeClusterUserKubeconfigRequest) SetPrivateIpAddress

func (*DescribeClusterUserKubeconfigRequest) SetTemporaryDurationMinutes

func (DescribeClusterUserKubeconfigRequest) String

type DescribeClusterUserKubeconfigResponse

type DescribeClusterUserKubeconfigResponse struct {
	Headers    map[string]*string                         `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                     `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DescribeClusterUserKubeconfigResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DescribeClusterUserKubeconfigResponse) GoString

func (*DescribeClusterUserKubeconfigResponse) SetHeaders

func (*DescribeClusterUserKubeconfigResponse) SetStatusCode

func (DescribeClusterUserKubeconfigResponse) String

type DescribeClusterUserKubeconfigResponseBody

type DescribeClusterUserKubeconfigResponseBody struct {
	// The kubeconfig file of the cluster. For more information about the content of the kubeconfig file, see [Configure cluster credentials](~~86494~~).
	Config *string `json:"config,omitempty" xml:"config,omitempty"`
	// The validity period of the kubeconfig file. The value is the UTC time displayed in RFC3339 format.
	Expiration *string `json:"expiration,omitempty" xml:"expiration,omitempty"`
}

func (DescribeClusterUserKubeconfigResponseBody) GoString

func (*DescribeClusterUserKubeconfigResponseBody) SetConfig

func (*DescribeClusterUserKubeconfigResponseBody) SetExpiration

func (DescribeClusterUserKubeconfigResponseBody) String

type DescribeClusterV2UserKubeconfigRequest

type DescribeClusterV2UserKubeconfigRequest struct {
	PrivateIpAddress *bool `json:"PrivateIpAddress,omitempty" xml:"PrivateIpAddress,omitempty"`
}

func (DescribeClusterV2UserKubeconfigRequest) GoString

func (*DescribeClusterV2UserKubeconfigRequest) SetPrivateIpAddress

func (DescribeClusterV2UserKubeconfigRequest) String

type DescribeClusterV2UserKubeconfigResponse

type DescribeClusterV2UserKubeconfigResponse struct {
	Headers    map[string]*string                           `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                       `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DescribeClusterV2UserKubeconfigResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DescribeClusterV2UserKubeconfigResponse) GoString

func (*DescribeClusterV2UserKubeconfigResponse) SetHeaders

func (*DescribeClusterV2UserKubeconfigResponse) SetStatusCode

func (DescribeClusterV2UserKubeconfigResponse) String

type DescribeClusterV2UserKubeconfigResponseBody

type DescribeClusterV2UserKubeconfigResponseBody struct {
	Config *string `json:"config,omitempty" xml:"config,omitempty"`
}

func (DescribeClusterV2UserKubeconfigResponseBody) GoString

func (*DescribeClusterV2UserKubeconfigResponseBody) SetConfig

func (DescribeClusterV2UserKubeconfigResponseBody) String

type DescribeClusterVulsResponse

type DescribeClusterVulsResponse struct {
	Headers    map[string]*string               `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                           `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DescribeClusterVulsResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DescribeClusterVulsResponse) GoString

func (s DescribeClusterVulsResponse) GoString() string

func (*DescribeClusterVulsResponse) SetBody

func (*DescribeClusterVulsResponse) SetHeaders

func (*DescribeClusterVulsResponse) SetStatusCode

func (DescribeClusterVulsResponse) String

type DescribeClusterVulsResponseBody

type DescribeClusterVulsResponseBody struct {
	// An array of vulnerabilities.
	VulRecords []*DescribeClusterVulsResponseBodyVulRecords `json:"vul_records,omitempty" xml:"vul_records,omitempty" type:"Repeated"`
}

func (DescribeClusterVulsResponseBody) GoString

func (DescribeClusterVulsResponseBody) String

type DescribeClusterVulsResponseBodyVulRecords

type DescribeClusterVulsResponseBodyVulRecords struct {
	// The CVE list.
	CveList []*string `json:"cve_list,omitempty" xml:"cve_list,omitempty" type:"Repeated"`
	// The severity level of the vulnerability.
	//
	// Valid values:
	//
	// *   nntf: low
	// *   later: medium
	// *   asap: high
	Necessity *string `json:"necessity,omitempty" xml:"necessity,omitempty"`
	// The number of nodes that have the vulnerability.
	NodeCount *int32 `json:"node_count,omitempty" xml:"node_count,omitempty"`
	// The node pool ID.
	NodepoolId *string `json:"nodepool_id,omitempty" xml:"nodepool_id,omitempty"`
	// The name of the node pool.
	NodepoolName *string `json:"nodepool_name,omitempty" xml:"nodepool_name,omitempty"`
	// The alias of the vulnerability.
	VulAliasName *string `json:"vul_alias_name,omitempty" xml:"vul_alias_name,omitempty"`
	// The name of the vulnerability.
	VulName *string `json:"vul_name,omitempty" xml:"vul_name,omitempty"`
	// The type of vulnerability.
	//
	// Valid values:
	//
	// *   app: application vulnerabilities
	// *   sca: application vulnerabilities (software component analysis)
	// *   cve: Linux vulnerabilities
	// *   cms: Web-CMS vulnerabilities
	// *   sys: Windows vulnerabilities
	// *   emg:  emergency vulnerabilities
	VulType *string `json:"vul_type,omitempty" xml:"vul_type,omitempty"`
}

func (DescribeClusterVulsResponseBodyVulRecords) GoString

func (*DescribeClusterVulsResponseBodyVulRecords) SetCveList

func (*DescribeClusterVulsResponseBodyVulRecords) SetNecessity

func (*DescribeClusterVulsResponseBodyVulRecords) SetNodeCount

func (*DescribeClusterVulsResponseBodyVulRecords) SetNodepoolId

func (*DescribeClusterVulsResponseBodyVulRecords) SetNodepoolName

func (*DescribeClusterVulsResponseBodyVulRecords) SetVulAliasName

func (*DescribeClusterVulsResponseBodyVulRecords) SetVulName

func (*DescribeClusterVulsResponseBodyVulRecords) SetVulType

func (DescribeClusterVulsResponseBodyVulRecords) String

type DescribeClustersRequest

type DescribeClustersRequest struct {
	// The cluster type.
	ClusterType *string `json:"clusterType,omitempty" xml:"clusterType,omitempty"`
	// The cluster name based on which the system performs fuzzy searches among the clusters that belong to the current Alibaba Cloud account.
	Name *string `json:"name,omitempty" xml:"name,omitempty"`
}

func (DescribeClustersRequest) GoString

func (s DescribeClustersRequest) GoString() string

func (*DescribeClustersRequest) SetClusterType

func (*DescribeClustersRequest) SetName

func (DescribeClustersRequest) String

func (s DescribeClustersRequest) String() string

type DescribeClustersResponse

type DescribeClustersResponse struct {
	Headers    map[string]*string              `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                          `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       []*DescribeClustersResponseBody `json:"body,omitempty" xml:"body,omitempty" type:"Repeated"`
}

func (DescribeClustersResponse) GoString

func (s DescribeClustersResponse) GoString() string

func (*DescribeClustersResponse) SetBody

func (*DescribeClustersResponse) SetHeaders

func (*DescribeClustersResponse) SetStatusCode

func (DescribeClustersResponse) String

func (s DescribeClustersResponse) String() string

type DescribeClustersResponseBody

type DescribeClustersResponseBody struct {
	ClusterId              *string                             `json:"cluster_id,omitempty" xml:"cluster_id,omitempty"`
	ClusterType            *string                             `json:"cluster_type,omitempty" xml:"cluster_type,omitempty"`
	Created                *string                             `json:"created,omitempty" xml:"created,omitempty"`
	CurrentVersion         *string                             `json:"current_version,omitempty" xml:"current_version,omitempty"`
	DataDiskCategory       *string                             `json:"data_disk_category,omitempty" xml:"data_disk_category,omitempty"`
	DataDiskSize           *int64                              `json:"data_disk_size,omitempty" xml:"data_disk_size,omitempty"`
	DeletionProtection     *bool                               `json:"deletion_protection,omitempty" xml:"deletion_protection,omitempty"`
	DockerVersion          *string                             `json:"docker_version,omitempty" xml:"docker_version,omitempty"`
	ExternalLoadbalancerId *string                             `json:"external_loadbalancer_id,omitempty" xml:"external_loadbalancer_id,omitempty"`
	InitVersion            *string                             `json:"init_version,omitempty" xml:"init_version,omitempty"`
	MasterUrl              *string                             `json:"master_url,omitempty" xml:"master_url,omitempty"`
	MetaData               *string                             `json:"meta_data,omitempty" xml:"meta_data,omitempty"`
	Name                   *string                             `json:"name,omitempty" xml:"name,omitempty"`
	NetworkMode            *string                             `json:"network_mode,omitempty" xml:"network_mode,omitempty"`
	PrivateZone            *bool                               `json:"private_zone,omitempty" xml:"private_zone,omitempty"`
	Profile                *string                             `json:"profile,omitempty" xml:"profile,omitempty"`
	RegionId               *string                             `json:"region_id,omitempty" xml:"region_id,omitempty"`
	ResourceGroupId        *string                             `json:"resource_group_id,omitempty" xml:"resource_group_id,omitempty"`
	SecurityGroupId        *string                             `json:"security_group_id,omitempty" xml:"security_group_id,omitempty"`
	Size                   *int64                              `json:"size,omitempty" xml:"size,omitempty"`
	State                  *string                             `json:"state,omitempty" xml:"state,omitempty"`
	SubnetCidr             *string                             `json:"subnet_cidr,omitempty" xml:"subnet_cidr,omitempty"`
	Tags                   []*DescribeClustersResponseBodyTags `json:"tags,omitempty" xml:"tags,omitempty" type:"Repeated"`
	Updated                *string                             `json:"updated,omitempty" xml:"updated,omitempty"`
	VpcId                  *string                             `json:"vpc_id,omitempty" xml:"vpc_id,omitempty"`
	VswitchCidr            *string                             `json:"vswitch_cidr,omitempty" xml:"vswitch_cidr,omitempty"`
	VswitchId              *string                             `json:"vswitch_id,omitempty" xml:"vswitch_id,omitempty"`
	WorkerRamRoleName      *string                             `json:"worker_ram_role_name,omitempty" xml:"worker_ram_role_name,omitempty"`
	ZoneId                 *string                             `json:"zone_id,omitempty" xml:"zone_id,omitempty"`
}

func (DescribeClustersResponseBody) GoString

func (s DescribeClustersResponseBody) GoString() string

func (*DescribeClustersResponseBody) SetClusterId

func (*DescribeClustersResponseBody) SetClusterType

func (*DescribeClustersResponseBody) SetCreated

func (*DescribeClustersResponseBody) SetCurrentVersion

func (*DescribeClustersResponseBody) SetDataDiskCategory

func (*DescribeClustersResponseBody) SetDataDiskSize

func (*DescribeClustersResponseBody) SetDeletionProtection

func (s *DescribeClustersResponseBody) SetDeletionProtection(v bool) *DescribeClustersResponseBody

func (*DescribeClustersResponseBody) SetDockerVersion

func (*DescribeClustersResponseBody) SetExternalLoadbalancerId

func (s *DescribeClustersResponseBody) SetExternalLoadbalancerId(v string) *DescribeClustersResponseBody

func (*DescribeClustersResponseBody) SetInitVersion

func (*DescribeClustersResponseBody) SetMasterUrl

func (*DescribeClustersResponseBody) SetMetaData

func (*DescribeClustersResponseBody) SetName

func (*DescribeClustersResponseBody) SetNetworkMode

func (*DescribeClustersResponseBody) SetPrivateZone

func (*DescribeClustersResponseBody) SetProfile

func (*DescribeClustersResponseBody) SetRegionId

func (*DescribeClustersResponseBody) SetResourceGroupId

func (*DescribeClustersResponseBody) SetSecurityGroupId

func (*DescribeClustersResponseBody) SetSize

func (*DescribeClustersResponseBody) SetState

func (*DescribeClustersResponseBody) SetSubnetCidr

func (*DescribeClustersResponseBody) SetTags

func (*DescribeClustersResponseBody) SetUpdated

func (*DescribeClustersResponseBody) SetVpcId

func (*DescribeClustersResponseBody) SetVswitchCidr

func (*DescribeClustersResponseBody) SetVswitchId

func (*DescribeClustersResponseBody) SetWorkerRamRoleName

func (*DescribeClustersResponseBody) SetZoneId

func (DescribeClustersResponseBody) String

type DescribeClustersResponseBodyTags

type DescribeClustersResponseBodyTags struct {
	Key   *string `json:"key,omitempty" xml:"key,omitempty"`
	Value *string `json:"value,omitempty" xml:"value,omitempty"`
}

func (DescribeClustersResponseBodyTags) GoString

func (*DescribeClustersResponseBodyTags) SetKey

func (*DescribeClustersResponseBodyTags) SetValue

func (DescribeClustersResponseBodyTags) String

type DescribeClustersV1Request

type DescribeClustersV1Request struct {
	// The cluster ID.
	ClusterId *string `json:"cluster_id,omitempty" xml:"cluster_id,omitempty"`
	// The cluster type, which is available only when the cluster type is set to `ManagedKubernetes`. Valid values:
	//
	// *   `ack.pro.small`: ACK Pro cluster
	// *   `ack.standard`: ACK Basic cluster
	//
	// By default, this parameter is left empty, which means that ACK clusters are not filtered by this parameter.
	ClusterSpec *string `json:"cluster_spec,omitempty" xml:"cluster_spec,omitempty"`
	// The cluster type. Valid values:
	//
	// *   `Kubernetes`: ACK dedicated cluster.
	// *   `ManagedKubernetes`: ACK managed cluster. ACK managed clusters include ACK Pro clusters, ACK Basic clusters, ACK Serverless Pro clusters, ACK Serverless Basic clusters, ACK Edge Pro clusters, and ACK Edge Basic clusters.
	// *   `ExternalKubernetes`: registered cluster.
	ClusterType *string `json:"cluster_type,omitempty" xml:"cluster_type,omitempty"`
	// The cluster name.
	//
	// The name must be 1 to 63 characters in length, and can contain digits, letters, and hyphens (-). The name cannot start with a hyphen (-).
	Name *string `json:"name,omitempty" xml:"name,omitempty"`
	// The page number.
	PageNumber *int64 `json:"page_number,omitempty" xml:"page_number,omitempty"`
	// The number of entries per page.
	PageSize *int64 `json:"page_size,omitempty" xml:"page_size,omitempty"`
	// The identifier of the cluster. Valid values when the cluster_type parameter is set to `ManagedKubernetes`:
	//
	// *   `Default`: ACK managed cluster
	// *   `Serverless`: ACK Serverless cluster
	// *   `Edge`: ACK Edge cluster
	//
	// Valid values when the cluster_type parameter is set to `Ask`:
	//
	// `ask.v2`: ACK Serverless cluster
	//
	// By default, this parameter is left empty. If you leave this parameter empty, ACK clusters are not filtered by identifier.
	Profile *string `json:"profile,omitempty" xml:"profile,omitempty"`
	// The region ID of the clusters. You can use this parameter to query all clusters in the specified region.
	RegionId *string `json:"region_id,omitempty" xml:"region_id,omitempty"`
}

func (DescribeClustersV1Request) GoString

func (s DescribeClustersV1Request) GoString() string

func (*DescribeClustersV1Request) SetClusterId

func (*DescribeClustersV1Request) SetClusterSpec

func (*DescribeClustersV1Request) SetClusterType

func (*DescribeClustersV1Request) SetName

func (*DescribeClustersV1Request) SetPageNumber

func (*DescribeClustersV1Request) SetPageSize

func (*DescribeClustersV1Request) SetProfile

func (*DescribeClustersV1Request) SetRegionId

func (DescribeClustersV1Request) String

func (s DescribeClustersV1Request) String() string

type DescribeClustersV1Response

type DescribeClustersV1Response struct {
	Headers    map[string]*string              `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                          `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DescribeClustersV1ResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DescribeClustersV1Response) GoString

func (s DescribeClustersV1Response) GoString() string

func (*DescribeClustersV1Response) SetBody

func (*DescribeClustersV1Response) SetHeaders

func (*DescribeClustersV1Response) SetStatusCode

func (DescribeClustersV1Response) String

type DescribeClustersV1ResponseBody

type DescribeClustersV1ResponseBody struct {
	// The details of the clusters.
	Clusters []*DescribeClustersV1ResponseBodyClusters `json:"clusters,omitempty" xml:"clusters,omitempty" type:"Repeated"`
	// The pagination information.
	PageInfo *DescribeClustersV1ResponseBodyPageInfo `json:"page_info,omitempty" xml:"page_info,omitempty" type:"Struct"`
}

func (DescribeClustersV1ResponseBody) GoString

func (*DescribeClustersV1ResponseBody) SetClusters

func (DescribeClustersV1ResponseBody) String

type DescribeClustersV1ResponseBodyClusters

type DescribeClustersV1ResponseBodyClusters struct {
	// The cluster ID.
	ClusterId *string `json:"cluster_id,omitempty" xml:"cluster_id,omitempty"`
	// The type of ACK managed cluster. This parameter is available only for ACK managed clusters. Valid values:
	//
	// *   `ack.pro.small`: ACK Pro cluster
	// *   `ack.standard`: ACK Basic cluster
	ClusterSpec *string `json:"cluster_spec,omitempty" xml:"cluster_spec,omitempty"`
	// The cluster type. Valid values:
	//
	// *   `Kubernetes`: ACK dedicated cluster
	// *   `ManagedKubernetes`: ACK managed cluster
	// *   `Ask`: ACK Serverless cluster
	// *   `ExternalKubernetes`: registered cluster
	ClusterType *string `json:"cluster_type,omitempty" xml:"cluster_type,omitempty"`
	// The time when the cluster was created.
	Created *string `json:"created,omitempty" xml:"created,omitempty"`
	// The Kubernetes version of the cluster.
	CurrentVersion *string `json:"current_version,omitempty" xml:"current_version,omitempty"`
	// Indicates whether deletion protection is enabled for the cluster. If deletion protection is enabled, the cluster cannot be deleted in the ACK console or by calling API operations. Valid values:
	//
	// *   `true`: Deletion protection is enabled for the cluster. The cluster cannot be deleted in the ACK console or by calling API operations.
	// *   `false`: Deletion protection is disabled for the cluster. The cluster can be deleted in the ACK console or by calling API operations.
	DeletionProtection *bool `json:"deletion_protection,omitempty" xml:"deletion_protection,omitempty"`
	// The Docker version that is used by the cluster.
	DockerVersion *string `json:"docker_version,omitempty" xml:"docker_version,omitempty"`
	// The ID of the Server Load Balancer (SLB) instance that is used by the Ingress of the cluster.
	//
	// The default SLB specification is slb.s1.small, which belongs to the high-performance instance type.
	ExternalLoadbalancerId *string `json:"external_loadbalancer_id,omitempty" xml:"external_loadbalancer_id,omitempty"`
	// The Kubernetes version of the cluster. The Kubernetes versions supported by ACK are the same as the versions of open source Kubernetes. We recommend that you specify the latest Kubernetes version. If you do not specify this parameter, the latest Kubernetes version is used.
	//
	// You can create clusters of the latest two Kubernetes versions in the ACK console. You can call the corresponding ACK API operation to create clusters of other Kubernetes versions. For more information about the Kubernetes versions supported by ACK, see [Release notes for Kubernetes versions](~~185269~~).
	InitVersion *string `json:"init_version,omitempty" xml:"init_version,omitempty"`
	// The maintenance window of the cluster. This feature is available only for ACK Pro clusters.
	MaintenanceWindow *MaintenanceWindow `json:"maintenance_window,omitempty" xml:"maintenance_window,omitempty"`
	// The endpoint of the cluster API server, including an internal endpoint and a public endpoint.
	MasterUrl *string `json:"master_url,omitempty" xml:"master_url,omitempty"`
	// The metadata of the cluster.
	MetaData *string `json:"meta_data,omitempty" xml:"meta_data,omitempty"`
	// The cluster name.
	//
	// The name must be 1 to 63 characters in length and can contain digits, letters, and hyphens (-). The name cannot start with a hyphen (-).
	Name *string `json:"name,omitempty" xml:"name,omitempty"`
	// The network mode of the cluster. Valid values:
	//
	// *   `classic`: classic network
	// *   `vpc`: virtual private cloud (VPC)
	// *   `overlay`: overlay network
	// *   `calico`: network powered by Calico.
	NetworkMode *string `json:"network_mode,omitempty" xml:"network_mode,omitempty"`
	// The Kubernetes version to which the cluster can be updated.
	NextVersion *string `json:"next_version,omitempty" xml:"next_version,omitempty"`
	// Indicates whether Alibaba Cloud DNS PrivateZone is enabled. Valid values:
	//
	// *   `true`: Alibaba Cloud DNS PrivateZone is enabled.
	// *   `false`: Alibaba Cloud DNS PrivateZone is disabled.
	PrivateZone *bool `json:"private_zone,omitempty" xml:"private_zone,omitempty"`
	// The cluster identifier. Valid values:
	//
	// *   `Edge`: The cluster is an ACK Edge cluster.
	// *   `Default`: The cluster is not an ACK Edge cluster.
	Profile *string `json:"profile,omitempty" xml:"profile,omitempty"`
	// The region ID of the cluster.
	RegionId *string `json:"region_id,omitempty" xml:"region_id,omitempty"`
	// The ID of the resource group to which the cluster belongs.
	ResourceGroupId *string `json:"resource_group_id,omitempty" xml:"resource_group_id,omitempty"`
	// The ID of the security group to which the instances of the cluster belong.
	SecurityGroupId *string `json:"security_group_id,omitempty" xml:"security_group_id,omitempty"`
	// The number of nodes in the cluster, including master nodes and worker nodes.
	Size *int64 `json:"size,omitempty" xml:"size,omitempty"`
	// The status of the cluster. Valid values:
	//
	// *   `initial`: The cluster is being created.
	// *   `failed`: The cluster failed to be created.
	// *   `running`: The cluster is running.
	// *   `updating`: The cluster is being updated.
	// *   `updating_failed`: The cluster failed to be updated.
	// *   `scaling`: The cluster is being scaled.
	// *   `stopped`: The cluster is stopped.
	// *   `deleting`: The cluster is being deleted.
	// *   `deleted`: The cluster is deleted.
	// *   `delete_failed`: The cluster failed to be deleted.
	State *string `json:"state,omitempty" xml:"state,omitempty"`
	// The pod CIDR block. It must be a valid and private CIDR block, and must be one of the following CIDR blocks or their subnets:
	//
	// *   10.0.0.0/8
	// *   172.16-31.0.0/12-16
	// *   192.168.0.0/16
	//
	// The CIDR block of pods cannot overlap with the CIDR block of the VPC in which the cluster is deployed and the CIDR blocks of existing clusters in the VPC. You cannot modify the pod CIDR block after the cluster is created.
	//
	// For more information, see [Plan CIDR blocks for an ACK cluster](~~86500~~).
	SubnetCidr *string `json:"subnet_cidr,omitempty" xml:"subnet_cidr,omitempty"`
	// The resource labels of the cluster.
	Tags []*Tag `json:"tags,omitempty" xml:"tags,omitempty" type:"Repeated"`
	// The time when the cluster was updated.
	Updated *string `json:"updated,omitempty" xml:"updated,omitempty"`
	// The ID of the VPC where the cluster is deployed. This parameter is required when you create a cluster.
	VpcId *string `json:"vpc_id,omitempty" xml:"vpc_id,omitempty"`
	// The IDs of the vSwitches. You can select one to three vSwitches when you create a cluster. We recommend that you select vSwitches in different zones to ensure high availability.
	VswitchId *string `json:"vswitch_id,omitempty" xml:"vswitch_id,omitempty"`
	// The name of the worker Resource Access Management (RAM) role. The RAM role is assigned to the worker nodes of the cluster to allow the worker nodes to manage Elastic Compute Service (ECS) instances.
	WorkerRamRoleName *string `json:"worker_ram_role_name,omitempty" xml:"worker_ram_role_name,omitempty"`
	// The zone ID.
	ZoneId *string `json:"zone_id,omitempty" xml:"zone_id,omitempty"`
}

func (DescribeClustersV1ResponseBodyClusters) GoString

func (*DescribeClustersV1ResponseBodyClusters) SetClusterId

func (*DescribeClustersV1ResponseBodyClusters) SetClusterSpec

func (*DescribeClustersV1ResponseBodyClusters) SetClusterType

func (*DescribeClustersV1ResponseBodyClusters) SetCreated

func (*DescribeClustersV1ResponseBodyClusters) SetCurrentVersion

func (*DescribeClustersV1ResponseBodyClusters) SetDeletionProtection

func (*DescribeClustersV1ResponseBodyClusters) SetDockerVersion

func (*DescribeClustersV1ResponseBodyClusters) SetExternalLoadbalancerId

func (*DescribeClustersV1ResponseBodyClusters) SetInitVersion

func (*DescribeClustersV1ResponseBodyClusters) SetMaintenanceWindow

func (*DescribeClustersV1ResponseBodyClusters) SetMasterUrl

func (*DescribeClustersV1ResponseBodyClusters) SetMetaData

func (*DescribeClustersV1ResponseBodyClusters) SetName

func (*DescribeClustersV1ResponseBodyClusters) SetNetworkMode

func (*DescribeClustersV1ResponseBodyClusters) SetNextVersion

func (*DescribeClustersV1ResponseBodyClusters) SetPrivateZone

func (*DescribeClustersV1ResponseBodyClusters) SetProfile

func (*DescribeClustersV1ResponseBodyClusters) SetRegionId

func (*DescribeClustersV1ResponseBodyClusters) SetResourceGroupId

func (*DescribeClustersV1ResponseBodyClusters) SetSecurityGroupId

func (*DescribeClustersV1ResponseBodyClusters) SetSize

func (*DescribeClustersV1ResponseBodyClusters) SetState

func (*DescribeClustersV1ResponseBodyClusters) SetSubnetCidr

func (*DescribeClustersV1ResponseBodyClusters) SetTags

func (*DescribeClustersV1ResponseBodyClusters) SetUpdated

func (*DescribeClustersV1ResponseBodyClusters) SetVpcId

func (*DescribeClustersV1ResponseBodyClusters) SetVswitchId

func (*DescribeClustersV1ResponseBodyClusters) SetWorkerRamRoleName

func (*DescribeClustersV1ResponseBodyClusters) SetZoneId

func (DescribeClustersV1ResponseBodyClusters) String

type DescribeClustersV1ResponseBodyPageInfo

type DescribeClustersV1ResponseBodyPageInfo struct {
	// The page number.
	PageNumber *int32 `json:"page_number,omitempty" xml:"page_number,omitempty"`
	// The number of entries per page.
	PageSize *int32 `json:"page_size,omitempty" xml:"page_size,omitempty"`
	// The total number of entries returned.
	TotalCount *int32 `json:"total_count,omitempty" xml:"total_count,omitempty"`
}

func (DescribeClustersV1ResponseBodyPageInfo) GoString

func (*DescribeClustersV1ResponseBodyPageInfo) SetPageNumber

func (*DescribeClustersV1ResponseBodyPageInfo) SetPageSize

func (*DescribeClustersV1ResponseBodyPageInfo) SetTotalCount

func (DescribeClustersV1ResponseBodyPageInfo) String

type DescribeEdgeMachineActiveProcessResponse

type DescribeEdgeMachineActiveProcessResponse struct {
	Headers    map[string]*string                            `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                        `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DescribeEdgeMachineActiveProcessResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DescribeEdgeMachineActiveProcessResponse) GoString

func (*DescribeEdgeMachineActiveProcessResponse) SetHeaders

func (*DescribeEdgeMachineActiveProcessResponse) SetStatusCode

func (DescribeEdgeMachineActiveProcessResponse) String

type DescribeEdgeMachineActiveProcessResponseBody

type DescribeEdgeMachineActiveProcessResponseBody struct {
	// The activation progress list.
	Logs *string `json:"logs,omitempty" xml:"logs,omitempty"`
	// The activation progress.
	Progress *int64 `json:"progress,omitempty" xml:"progress,omitempty"`
	// The request ID.
	RequestId *string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// The activation status.
	State *string `json:"state,omitempty" xml:"state,omitempty"`
	// The activation step.
	Step *string `json:"step,omitempty" xml:"step,omitempty"`
}

func (DescribeEdgeMachineActiveProcessResponseBody) GoString

func (*DescribeEdgeMachineActiveProcessResponseBody) SetLogs

func (*DescribeEdgeMachineActiveProcessResponseBody) SetProgress

func (*DescribeEdgeMachineActiveProcessResponseBody) SetRequestId

func (*DescribeEdgeMachineActiveProcessResponseBody) SetState

func (*DescribeEdgeMachineActiveProcessResponseBody) SetStep

func (DescribeEdgeMachineActiveProcessResponseBody) String

type DescribeEdgeMachineModelsResponse

type DescribeEdgeMachineModelsResponse struct {
	Headers    map[string]*string                     `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                 `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DescribeEdgeMachineModelsResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DescribeEdgeMachineModelsResponse) GoString

func (*DescribeEdgeMachineModelsResponse) SetHeaders

func (*DescribeEdgeMachineModelsResponse) SetStatusCode

func (DescribeEdgeMachineModelsResponse) String

type DescribeEdgeMachineModelsResponseBody

type DescribeEdgeMachineModelsResponseBody struct {
	// The cloud-native box models.
	Models []*DescribeEdgeMachineModelsResponseBodyModels `json:"models,omitempty" xml:"models,omitempty" type:"Repeated"`
}

func (DescribeEdgeMachineModelsResponseBody) GoString

func (DescribeEdgeMachineModelsResponseBody) String

type DescribeEdgeMachineModelsResponseBodyModels

type DescribeEdgeMachineModelsResponseBodyModels struct {
	// The number of vCores.
	Cpu *int32 `json:"cpu,omitempty" xml:"cpu,omitempty"`
	// The CPU architecture.
	CpuArch *string `json:"cpu_arch,omitempty" xml:"cpu_arch,omitempty"`
	// The time when the cloud-native box was created.
	Created *string `json:"created,omitempty" xml:"created,omitempty"`
	// The description of the cloud-native box.
	Description *string `json:"description,omitempty" xml:"description,omitempty"`
	// Indicates whether the cloud-native box model manages the Docker runtime.
	ManageRuntime *int32 `json:"manage_runtime,omitempty" xml:"manage_runtime,omitempty"`
	// The memory. Unit: GB.
	Memory *int32 `json:"memory,omitempty" xml:"memory,omitempty"`
	// The model of the cloud-native box.
	Model *string `json:"model,omitempty" xml:"model,omitempty"`
	// The ID of the cloud-native box.
	ModelId *string `json:"model_id,omitempty" xml:"model_id,omitempty"`
}

func (DescribeEdgeMachineModelsResponseBodyModels) GoString

func (*DescribeEdgeMachineModelsResponseBodyModels) SetCpu

func (*DescribeEdgeMachineModelsResponseBodyModels) SetCpuArch

func (*DescribeEdgeMachineModelsResponseBodyModels) SetCreated

func (*DescribeEdgeMachineModelsResponseBodyModels) SetDescription

func (*DescribeEdgeMachineModelsResponseBodyModels) SetManageRuntime

func (*DescribeEdgeMachineModelsResponseBodyModels) SetMemory

func (*DescribeEdgeMachineModelsResponseBodyModels) SetModel

func (*DescribeEdgeMachineModelsResponseBodyModels) SetModelId

func (DescribeEdgeMachineModelsResponseBodyModels) String

type DescribeEdgeMachineTunnelConfigDetailResponse

type DescribeEdgeMachineTunnelConfigDetailResponse struct {
	Headers    map[string]*string                                 `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                             `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DescribeEdgeMachineTunnelConfigDetailResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DescribeEdgeMachineTunnelConfigDetailResponse) GoString

func (*DescribeEdgeMachineTunnelConfigDetailResponse) SetHeaders

func (*DescribeEdgeMachineTunnelConfigDetailResponse) SetStatusCode

func (DescribeEdgeMachineTunnelConfigDetailResponse) String

type DescribeEdgeMachineTunnelConfigDetailResponseBody

type DescribeEdgeMachineTunnelConfigDetailResponseBody struct {
	// The device name.
	DeviceName *string `json:"device_name,omitempty" xml:"device_name,omitempty"`
	// The model of the cloud-native box.
	Model *string `json:"model,omitempty" xml:"model,omitempty"`
	// Product Key
	ProductKey *string `json:"product_key,omitempty" xml:"product_key,omitempty"`
	// Request ID
	RequestId *string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// The serial number of the cloud-native box.
	Sn *string `json:"sn,omitempty" xml:"sn,omitempty"`
	// Token
	Token *string `json:"token,omitempty" xml:"token,omitempty"`
	// The tunnel endpoint.
	TunnelEndpoint *string `json:"tunnel_endpoint,omitempty" xml:"tunnel_endpoint,omitempty"`
}

func (DescribeEdgeMachineTunnelConfigDetailResponseBody) GoString

func (*DescribeEdgeMachineTunnelConfigDetailResponseBody) SetDeviceName

func (*DescribeEdgeMachineTunnelConfigDetailResponseBody) SetModel

func (*DescribeEdgeMachineTunnelConfigDetailResponseBody) SetProductKey

func (*DescribeEdgeMachineTunnelConfigDetailResponseBody) SetRequestId

func (*DescribeEdgeMachineTunnelConfigDetailResponseBody) SetSn

func (*DescribeEdgeMachineTunnelConfigDetailResponseBody) SetToken

func (*DescribeEdgeMachineTunnelConfigDetailResponseBody) SetTunnelEndpoint

func (DescribeEdgeMachineTunnelConfigDetailResponseBody) String

type DescribeEdgeMachinesRequest

type DescribeEdgeMachinesRequest struct {
	// The `hostname` of the cloud-native box.
	Hostname *string `json:"hostname,omitempty" xml:"hostname,omitempty"`
	// The lifecycle status.
	LifeState *string `json:"life_state,omitempty" xml:"life_state,omitempty"`
	// The type of cloud-native box.
	Model *string `json:"model,omitempty" xml:"model,omitempty"`
	// The status of the cloud-native box. Valid values:
	//
	// *   `offline`
	// *   `online`
	OnlineState *string `json:"online_state,omitempty" xml:"online_state,omitempty"`
	// The page number.
	PageNumber *int64 `json:"page_number,omitempty" xml:"page_number,omitempty"`
	// The number of entries per page.
	PageSize *int64 `json:"page_size,omitempty" xml:"page_size,omitempty"`
}

func (DescribeEdgeMachinesRequest) GoString

func (s DescribeEdgeMachinesRequest) GoString() string

func (*DescribeEdgeMachinesRequest) SetHostname

func (*DescribeEdgeMachinesRequest) SetLifeState

func (*DescribeEdgeMachinesRequest) SetModel

func (*DescribeEdgeMachinesRequest) SetOnlineState

func (*DescribeEdgeMachinesRequest) SetPageNumber

func (*DescribeEdgeMachinesRequest) SetPageSize

func (DescribeEdgeMachinesRequest) String

type DescribeEdgeMachinesResponse

type DescribeEdgeMachinesResponse struct {
	Headers    map[string]*string                `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                            `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DescribeEdgeMachinesResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DescribeEdgeMachinesResponse) GoString

func (s DescribeEdgeMachinesResponse) GoString() string

func (*DescribeEdgeMachinesResponse) SetBody

func (*DescribeEdgeMachinesResponse) SetHeaders

func (*DescribeEdgeMachinesResponse) SetStatusCode

func (DescribeEdgeMachinesResponse) String

type DescribeEdgeMachinesResponseBody

type DescribeEdgeMachinesResponseBody struct {
	// The list of cloud-native boxes.
	EdgeMachines []*DescribeEdgeMachinesResponseBodyEdgeMachines `json:"edge_machines,omitempty" xml:"edge_machines,omitempty" type:"Repeated"`
	// The paging information.
	PageInfo *DescribeEdgeMachinesResponseBodyPageInfo `json:"page_info,omitempty" xml:"page_info,omitempty" type:"Struct"`
}

func (DescribeEdgeMachinesResponseBody) GoString

func (DescribeEdgeMachinesResponseBody) String

type DescribeEdgeMachinesResponseBodyEdgeMachines

type DescribeEdgeMachinesResponseBodyEdgeMachines struct {
	// The time when the cloud-native box was activated.
	ActiveTime *string `json:"active_time,omitempty" xml:"active_time,omitempty"`
	// The time when the cloud-native box was created.
	Created *string `json:"created,omitempty" xml:"created,omitempty"`
	// The device ID.
	EdgeMachineId *string `json:"edge_machine_id,omitempty" xml:"edge_machine_id,omitempty"`
	// The `hostname` of the cloud-native box.
	Hostname *string `json:"hostname,omitempty" xml:"hostname,omitempty"`
	// The lifecycle of the cloud-native box.
	LifeState *string `json:"life_state,omitempty" xml:"life_state,omitempty"`
	// The model of the cloud-native box.
	Model *string `json:"model,omitempty" xml:"model,omitempty"`
	// The machine name.
	Name *string `json:"name,omitempty" xml:"name,omitempty"`
	// The status of the cloud-native box.
	OnlineState *string `json:"online_state,omitempty" xml:"online_state,omitempty"`
	// The serial number.
	Sn *string `json:"sn,omitempty" xml:"sn,omitempty"`
	// The time when the cloud-native box was last updated.
	Updated *string `json:"updated,omitempty" xml:"updated,omitempty"`
}

func (DescribeEdgeMachinesResponseBodyEdgeMachines) GoString

func (*DescribeEdgeMachinesResponseBodyEdgeMachines) SetActiveTime

func (*DescribeEdgeMachinesResponseBodyEdgeMachines) SetCreated

func (*DescribeEdgeMachinesResponseBodyEdgeMachines) SetEdgeMachineId

func (*DescribeEdgeMachinesResponseBodyEdgeMachines) SetHostname

func (*DescribeEdgeMachinesResponseBodyEdgeMachines) SetLifeState

func (*DescribeEdgeMachinesResponseBodyEdgeMachines) SetModel

func (*DescribeEdgeMachinesResponseBodyEdgeMachines) SetName

func (*DescribeEdgeMachinesResponseBodyEdgeMachines) SetOnlineState

func (*DescribeEdgeMachinesResponseBodyEdgeMachines) SetSn

func (*DescribeEdgeMachinesResponseBodyEdgeMachines) SetUpdated

func (DescribeEdgeMachinesResponseBodyEdgeMachines) String

type DescribeEdgeMachinesResponseBodyPageInfo

type DescribeEdgeMachinesResponseBodyPageInfo struct {
	// The page number.
	//
	// Default value: 1.
	PageNumber *int32 `json:"page_number,omitempty" xml:"page_number,omitempty"`
	// The number of entries per page.
	//
	// Default value: 10.
	PageSize *int32 `json:"page_size,omitempty" xml:"page_size,omitempty"`
	// The total number of pages returned.
	TotalCount *int32 `json:"total_count,omitempty" xml:"total_count,omitempty"`
}

func (DescribeEdgeMachinesResponseBodyPageInfo) GoString

func (*DescribeEdgeMachinesResponseBodyPageInfo) SetPageNumber

func (*DescribeEdgeMachinesResponseBodyPageInfo) SetPageSize

func (*DescribeEdgeMachinesResponseBodyPageInfo) SetTotalCount

func (DescribeEdgeMachinesResponseBodyPageInfo) String

type DescribeEventsRequest

type DescribeEventsRequest struct {
	// The cluster ID.
	ClusterId *string `json:"cluster_id,omitempty" xml:"cluster_id,omitempty"`
	// The page number.
	PageNumber *int64 `json:"page_number,omitempty" xml:"page_number,omitempty"`
	// The number of entries per page.
	PageSize *int64 `json:"page_size,omitempty" xml:"page_size,omitempty"`
	// The event type. Valid values:
	//
	// *   `cluster_create`: cluster creation.
	// *   `cluster_scaleout`: cluster scale-out.
	// *   `cluster_attach`: node addition.
	// *   `cluster_delete`: cluster deletion.
	// *   `cluster_upgrade`: cluster upgrades.
	// *   `cluster_migrate`: cluster migration.
	// *   `cluster_node_delete`: node removal.
	// *   `cluster_node_drain`: node draining.
	// *   `cluster_modify`: cluster modifications.
	// *   `cluster_configuration_modify`: modifications of control plane configurations.
	// *   `cluster_addon_install`: component installation.
	// *   `cluster_addon_upgrade`: component updates.
	// *   `cluster_addon_uninstall`: component uninstallation.
	// *   `runtime_upgrade`: runtime updates.
	// *   `nodepool_upgrade`: node pool upgrades.
	// *   `nodepool_update`: node pool updates.
	Type *string `json:"type,omitempty" xml:"type,omitempty"`
}

func (DescribeEventsRequest) GoString

func (s DescribeEventsRequest) GoString() string

func (*DescribeEventsRequest) SetClusterId

func (*DescribeEventsRequest) SetPageNumber

func (s *DescribeEventsRequest) SetPageNumber(v int64) *DescribeEventsRequest

func (*DescribeEventsRequest) SetPageSize

func (*DescribeEventsRequest) SetType

func (DescribeEventsRequest) String

func (s DescribeEventsRequest) String() string

type DescribeEventsResponse

type DescribeEventsResponse struct {
	Headers    map[string]*string          `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                      `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DescribeEventsResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DescribeEventsResponse) GoString

func (s DescribeEventsResponse) GoString() string

func (*DescribeEventsResponse) SetBody

func (*DescribeEventsResponse) SetHeaders

func (*DescribeEventsResponse) SetStatusCode

func (DescribeEventsResponse) String

func (s DescribeEventsResponse) String() string

type DescribeEventsResponseBody

type DescribeEventsResponseBody struct {
	// The details of the event.
	Events []*DescribeEventsResponseBodyEvents `json:"events,omitempty" xml:"events,omitempty" type:"Repeated"`
	// The pagination information.
	PageInfo *DescribeEventsResponseBodyPageInfo `json:"page_info,omitempty" xml:"page_info,omitempty" type:"Struct"`
}

func (DescribeEventsResponseBody) GoString

func (s DescribeEventsResponseBody) GoString() string

func (*DescribeEventsResponseBody) SetEvents

func (*DescribeEventsResponseBody) SetPageInfo

func (DescribeEventsResponseBody) String

type DescribeEventsResponseBodyEvents

type DescribeEventsResponseBodyEvents struct {
	// The ID of the cluster.
	ClusterId *string `json:"cluster_id,omitempty" xml:"cluster_id,omitempty"`
	// The description of the event.
	Data *DescribeEventsResponseBodyEventsData `json:"data,omitempty" xml:"data,omitempty" type:"Struct"`
	// The event ID.
	EventId *string `json:"event_id,omitempty" xml:"event_id,omitempty"`
	// The source of the event.
	Source *string `json:"source,omitempty" xml:"source,omitempty"`
	// The subject of the event.
	Subject *string `json:"subject,omitempty" xml:"subject,omitempty"`
	// The time when the event started.
	Time *string `json:"time,omitempty" xml:"time,omitempty"`
	// The event type. Valid values:
	//
	// *   `cluster_create`: cluster creation.
	// *   `cluster_scaleout`: cluster scale-out.
	// *   `cluster_attach`: node addition.
	// *   `cluster_delete`: cluster deletion.
	// *   `cluster_upgrade`: cluster upgrades.
	// *   `cluster_migrate`: cluster migration.
	// *   `cluster_node_delete`: node removal.
	// *   `cluster_node_drain`: node draining.
	// *   `cluster_modify`: cluster modifications.
	// *   `cluster_configuration_modify`: modifications of control plane configurations.
	// *   `cluster_addon_install`: component installation.
	// *   `cluster_addon_upgrade`: component updates.
	// *   `cluster_addon_uninstall`: component uninstallation.
	// *   `runtime_upgrade`: runtime updates.
	// *   `nodepool_upgrade`: node pool upgrades.
	// *   `nodepool_update`: node pool updates.
	Type *string `json:"type,omitempty" xml:"type,omitempty"`
}

func (DescribeEventsResponseBodyEvents) GoString

func (*DescribeEventsResponseBodyEvents) SetClusterId

func (*DescribeEventsResponseBodyEvents) SetEventId

func (*DescribeEventsResponseBodyEvents) SetSource

func (*DescribeEventsResponseBodyEvents) SetSubject

func (*DescribeEventsResponseBodyEvents) SetTime

func (*DescribeEventsResponseBodyEvents) SetType

func (DescribeEventsResponseBodyEvents) String

type DescribeEventsResponseBodyEventsData

type DescribeEventsResponseBodyEventsData struct {
	// The severity level of the event.
	Level *string `json:"level,omitempty" xml:"level,omitempty"`
	// The details of the event.
	Message *string `json:"message,omitempty" xml:"message,omitempty"`
	// The status of the event.
	Reason *string `json:"reason,omitempty" xml:"reason,omitempty"`
}

func (DescribeEventsResponseBodyEventsData) GoString

func (*DescribeEventsResponseBodyEventsData) SetLevel

func (*DescribeEventsResponseBodyEventsData) SetMessage

func (*DescribeEventsResponseBodyEventsData) SetReason

func (DescribeEventsResponseBodyEventsData) String

type DescribeEventsResponseBodyPageInfo

type DescribeEventsResponseBodyPageInfo struct {
	// The page number.
	PageNumber *int64 `json:"page_number,omitempty" xml:"page_number,omitempty"`
	// The number of entries per page.
	PageSize *int64 `json:"page_size,omitempty" xml:"page_size,omitempty"`
	// The total number of entries returned.
	TotalCount *int64 `json:"total_count,omitempty" xml:"total_count,omitempty"`
}

func (DescribeEventsResponseBodyPageInfo) GoString

func (*DescribeEventsResponseBodyPageInfo) SetPageNumber

func (*DescribeEventsResponseBodyPageInfo) SetPageSize

func (*DescribeEventsResponseBodyPageInfo) SetTotalCount

func (DescribeEventsResponseBodyPageInfo) String

type DescribeExternalAgentRequest

type DescribeExternalAgentRequest struct {
	// The permission mode of the agent. Valid values:
	//
	// admin: the admin mode, which provides full permissions. restricted: the restricted mode, which provides partial permissions. Default value: admin.
	AgentMode *string `json:"AgentMode,omitempty" xml:"AgentMode,omitempty"`
	// Specifies whether to obtain the credentials that are used to access the cluster over the internal network.
	//
	// *   `true`: obtains the credentials that are used to access the cluster over the internal network.
	// *   `false`: obtains the credentials that are used to access the cluster over the Internet.
	//
	// Default value: `false`.
	PrivateIpAddress *string `json:"PrivateIpAddress,omitempty" xml:"PrivateIpAddress,omitempty"`
}

func (DescribeExternalAgentRequest) GoString

func (s DescribeExternalAgentRequest) GoString() string

func (*DescribeExternalAgentRequest) SetAgentMode

func (*DescribeExternalAgentRequest) SetPrivateIpAddress

func (DescribeExternalAgentRequest) String

type DescribeExternalAgentResponse

type DescribeExternalAgentResponse struct {
	Headers    map[string]*string                 `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                             `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DescribeExternalAgentResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DescribeExternalAgentResponse) GoString

func (*DescribeExternalAgentResponse) SetBody

func (*DescribeExternalAgentResponse) SetHeaders

func (*DescribeExternalAgentResponse) SetStatusCode

func (DescribeExternalAgentResponse) String

type DescribeExternalAgentResponseBody

type DescribeExternalAgentResponseBody struct {
	// The agent configurations in the YAML format.
	Config *string `json:"config,omitempty" xml:"config,omitempty"`
}

func (DescribeExternalAgentResponseBody) GoString

func (*DescribeExternalAgentResponseBody) SetConfig

func (DescribeExternalAgentResponseBody) String

type DescribeKubernetesVersionMetadataRequest

type DescribeKubernetesVersionMetadataRequest struct {
	// The cluster type that you want to use. Valid values:
	//
	// *   `Kubernetes`: ACK dedicated cluster.
	// *   `ManagedKubernetes`: ACK managed cluster. ACK managed clusters include ACK Pro clusters, ACK Basic clusters, ACK Serverless Pro clusters, ACK Serverless Basic clusters, ACK Edge Pro clusters, and ACK Edge Basic clusters.
	// *   `ExternalKubernetes`: registered cluster.
	ClusterType *string `json:"ClusterType,omitempty" xml:"ClusterType,omitempty"`
	// The Kubernetes version of the cluster. The Kubernetes versions supported by ACK are the same as the Kubernetes versions supported by open source Kubernetes. We recommend that you specify the latest Kubernetes version. If you do not set this parameter, the latest Kubernetes version is used.
	//
	// You can create ACK clusters of the latest two Kubernetes versions in the ACK console. You can call the specific ACK API operation to create clusters of other Kubernetes versions. For more information about the Kubernetes versions supported by ACK, see [Release notes for Kubernetes versions](~~185269~~).
	KubernetesVersion *string `json:"KubernetesVersion,omitempty" xml:"KubernetesVersion,omitempty"`
	// The query mode. Valid values:
	//
	// *   `supported`: queries all supported versions.
	// *   `creatable`: queries only versions that allow you to create clusters.
	//
	// If you specify `KubernetesVersion`, this parameter does not take effect.
	//
	// Default value: creatable.
	Mode *string `json:"Mode,omitempty" xml:"Mode,omitempty"`
	// The scenario where clusters are used. Valid values:
	//
	// *   `Default`: non-edge computing scenarios
	// *   `Edge`: edge computing scenarios
	// *   `Serverless`: serverless scenarios.
	//
	// Default value: `Default`.
	Profile *string `json:"Profile,omitempty" xml:"Profile,omitempty"`
	// The region ID of the cluster.
	Region *string `json:"Region,omitempty" xml:"Region,omitempty"`
	// The container runtime type that you want to use. You can specify a runtime type to query only OS images that support the runtime type. Valid values:
	//
	// *   `docker`: Docker
	// *   `containerd`: containerd
	// *   `Sandboxed-Container.runv`: Sandboxed-Container
	//
	// If you specify a runtime type, only the OS images that support the specified runtime type are returned.
	//
	// Otherwise, all OS images are returned.
	Runtime *string `json:"runtime,omitempty" xml:"runtime,omitempty"`
}

func (DescribeKubernetesVersionMetadataRequest) GoString

func (*DescribeKubernetesVersionMetadataRequest) SetClusterType

func (*DescribeKubernetesVersionMetadataRequest) SetKubernetesVersion

func (*DescribeKubernetesVersionMetadataRequest) SetMode

func (*DescribeKubernetesVersionMetadataRequest) SetProfile

func (*DescribeKubernetesVersionMetadataRequest) SetRegion

func (*DescribeKubernetesVersionMetadataRequest) SetRuntime

func (DescribeKubernetesVersionMetadataRequest) String

type DescribeKubernetesVersionMetadataResponse

type DescribeKubernetesVersionMetadataResponse struct {
	Headers    map[string]*string                               `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                           `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       []*DescribeKubernetesVersionMetadataResponseBody `json:"body,omitempty" xml:"body,omitempty" type:"Repeated"`
}

func (DescribeKubernetesVersionMetadataResponse) GoString

func (*DescribeKubernetesVersionMetadataResponse) SetHeaders

func (*DescribeKubernetesVersionMetadataResponse) SetStatusCode

func (DescribeKubernetesVersionMetadataResponse) String

type DescribeKubernetesVersionMetadataResponseBody

type DescribeKubernetesVersionMetadataResponseBody struct {
	// Features of the queried Kubernetes version.
	Capabilities map[string]interface{} `json:"capabilities,omitempty" xml:"capabilities,omitempty"`
	// The OS images that are returned.
	Images []*DescribeKubernetesVersionMetadataResponseBodyImages `json:"images,omitempty" xml:"images,omitempty" type:"Repeated"`
	// The metadata of the Kubernetes version.
	MetaData map[string]interface{} `json:"meta_data,omitempty" xml:"meta_data,omitempty"`
	// Details of the supported container runtimes.
	Runtimes []*Runtime `json:"runtimes,omitempty" xml:"runtimes,omitempty" type:"Repeated"`
	// The Kubernetes version that is supported by ACK. For more information, see [Release notes for Kubernetes versions](~~185269~~).
	Version *string `json:"version,omitempty" xml:"version,omitempty"`
	// The release date of the Kubernetes version.
	ReleaseDate *string `json:"release_date,omitempty" xml:"release_date,omitempty"`
	// The expiration date of the Kubernetes version.
	ExpirationDate *string `json:"expiration_date,omitempty" xml:"expiration_date,omitempty"`
	// Indicates whether you can create clusters that run the Kubernetes version.
	Creatable *bool `json:"creatable,omitempty" xml:"creatable,omitempty"`
}

func (DescribeKubernetesVersionMetadataResponseBody) GoString

func (*DescribeKubernetesVersionMetadataResponseBody) SetCapabilities

func (*DescribeKubernetesVersionMetadataResponseBody) SetCreatable

func (*DescribeKubernetesVersionMetadataResponseBody) SetExpirationDate

func (*DescribeKubernetesVersionMetadataResponseBody) SetMetaData

func (*DescribeKubernetesVersionMetadataResponseBody) SetReleaseDate

func (*DescribeKubernetesVersionMetadataResponseBody) SetRuntimes

func (*DescribeKubernetesVersionMetadataResponseBody) SetVersion

func (DescribeKubernetesVersionMetadataResponseBody) String

type DescribeKubernetesVersionMetadataResponseBodyImages

type DescribeKubernetesVersionMetadataResponseBodyImages struct {
	// The image ID.
	ImageId *string `json:"image_id,omitempty" xml:"image_id,omitempty"`
	// The image name.
	ImageName *string `json:"image_name,omitempty" xml:"image_name,omitempty"`
	// The OS platform. Valid values:
	//
	// *   `AliyunLinux`
	// *   `CentOS`
	// *   `Windows`
	// *   `WindowsCore`
	Platform *string `json:"platform,omitempty" xml:"platform,omitempty"`
	// The version of the image.
	OsVersion *string `json:"os_version,omitempty" xml:"os_version,omitempty"`
	// The type of OS distribution that you want to use. To specify the node OS, we recommend that you use this parameter. Valid values:
	//
	// *   `CentOS`
	// *   `AliyunLinux`
	// *   `AliyunLinux Qboot`
	// *   `AliyunLinuxUEFI`
	// *   `AliyunLinux3`
	// *   `Windows`
	// *   `WindowsCore`
	// *   `AliyunLinux3Arm64`
	// *   `ContainerOS`
	ImageType *string `json:"image_type,omitempty" xml:"image_type,omitempty"`
	// The type of operating system. Examples:
	//
	// *   `Windows`
	// *   `Linux`
	OsType *string `json:"os_type,omitempty" xml:"os_type,omitempty"`
	// The type of image. Valid values:
	//
	// *   `system`: public image
	// *   `self`: custom image
	// *   `others`: shared image from other Alibaba Cloud accounts
	// *   `marketplace`: image from the marketplace
	ImageCategory *string `json:"image_category,omitempty" xml:"image_category,omitempty"`
	// The architecture of the image.
	Architecture *string `json:"architecture,omitempty" xml:"architecture,omitempty"`
}

func (DescribeKubernetesVersionMetadataResponseBodyImages) GoString

func (*DescribeKubernetesVersionMetadataResponseBodyImages) SetArchitecture

func (*DescribeKubernetesVersionMetadataResponseBodyImages) SetImageCategory

func (*DescribeKubernetesVersionMetadataResponseBodyImages) SetImageId

func (*DescribeKubernetesVersionMetadataResponseBodyImages) SetImageName

func (*DescribeKubernetesVersionMetadataResponseBodyImages) SetImageType

func (*DescribeKubernetesVersionMetadataResponseBodyImages) SetOsType

func (*DescribeKubernetesVersionMetadataResponseBodyImages) SetOsVersion

func (*DescribeKubernetesVersionMetadataResponseBodyImages) SetPlatform

func (DescribeKubernetesVersionMetadataResponseBodyImages) String

type DescribeNodePoolVulsRequest

type DescribeNodePoolVulsRequest struct {
	// The priority to fix the vulnerability. Separate multiple priorities with commas (,). Valid values:
	//
	// *   `asap`: high
	// *   `later`: medium
	// *   `nntf`: low
	Necessity *string `json:"necessity,omitempty" xml:"necessity,omitempty"`
}

func (DescribeNodePoolVulsRequest) GoString

func (s DescribeNodePoolVulsRequest) GoString() string

func (*DescribeNodePoolVulsRequest) SetNecessity

func (DescribeNodePoolVulsRequest) String

type DescribeNodePoolVulsResponse

type DescribeNodePoolVulsResponse struct {
	Headers    map[string]*string                `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                            `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DescribeNodePoolVulsResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DescribeNodePoolVulsResponse) GoString

func (s DescribeNodePoolVulsResponse) GoString() string

func (*DescribeNodePoolVulsResponse) SetBody

func (*DescribeNodePoolVulsResponse) SetHeaders

func (*DescribeNodePoolVulsResponse) SetStatusCode

func (DescribeNodePoolVulsResponse) String

type DescribeNodePoolVulsResponseBody

type DescribeNodePoolVulsResponseBody struct {
	// The node pool vulnerabilities.
	VulRecords              []*DescribeNodePoolVulsResponseBodyVulRecords `json:"vul_records,omitempty" xml:"vul_records,omitempty" type:"Repeated"`
	VulsFixServicePurchased *bool                                         `json:"vuls_fix_service_purchased,omitempty" xml:"vuls_fix_service_purchased,omitempty"`
}

func (DescribeNodePoolVulsResponseBody) GoString

func (*DescribeNodePoolVulsResponseBody) SetVulsFixServicePurchased

func (DescribeNodePoolVulsResponseBody) String

type DescribeNodePoolVulsResponseBodyVulRecords

type DescribeNodePoolVulsResponseBodyVulRecords struct {
	// The node ID.
	InstanceId *string `json:"instance_id,omitempty" xml:"instance_id,omitempty"`
	// The node name. This name is the identifier of the node in the cluster.
	NodeName *string `json:"node_name,omitempty" xml:"node_name,omitempty"`
	// A list of vulnerabilities.
	VulList []*DescribeNodePoolVulsResponseBodyVulRecordsVulList `json:"vul_list,omitempty" xml:"vul_list,omitempty" type:"Repeated"`
}

func (DescribeNodePoolVulsResponseBodyVulRecords) GoString

func (*DescribeNodePoolVulsResponseBodyVulRecords) SetInstanceId

func (*DescribeNodePoolVulsResponseBodyVulRecords) SetNodeName

func (DescribeNodePoolVulsResponseBodyVulRecords) String

type DescribeNodePoolVulsResponseBodyVulRecordsVulList

type DescribeNodePoolVulsResponseBodyVulRecordsVulList struct {
	// The alias of the vulnerability.
	AliasName *string `json:"alias_name,omitempty" xml:"alias_name,omitempty"`
	// A list of CVE names corresponding to the vulnerabilities.
	CveList []*string `json:"cve_list,omitempty" xml:"cve_list,omitempty" type:"Repeated"`
	// The name of the vulnerability.
	Name *string `json:"name,omitempty" xml:"name,omitempty"`
	// The severity level of the vulnerability.
	//
	// Valid values:
	//
	// *   nntf: You can ignore the vulnerability
	// *   later: You can fix the vulnerability later
	// *   asap: You need to fix the vulnerability at the earliest opportunity
	Necessity *string `json:"necessity,omitempty" xml:"necessity,omitempty"`
}

func (DescribeNodePoolVulsResponseBodyVulRecordsVulList) GoString

func (*DescribeNodePoolVulsResponseBodyVulRecordsVulList) SetAliasName

func (*DescribeNodePoolVulsResponseBodyVulRecordsVulList) SetCveList

func (*DescribeNodePoolVulsResponseBodyVulRecordsVulList) SetName

func (*DescribeNodePoolVulsResponseBodyVulRecordsVulList) SetNecessity

func (DescribeNodePoolVulsResponseBodyVulRecordsVulList) String

type DescribePoliciesResponse

type DescribePoliciesResponse struct {
	Headers    map[string]*string     `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                 `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       map[string]interface{} `json:"body,omitempty" xml:"body,omitempty"`
}

func (DescribePoliciesResponse) GoString

func (s DescribePoliciesResponse) GoString() string

func (*DescribePoliciesResponse) SetBody

func (s *DescribePoliciesResponse) SetBody(v map[string]interface{}) *DescribePoliciesResponse

func (*DescribePoliciesResponse) SetHeaders

func (*DescribePoliciesResponse) SetStatusCode

func (DescribePoliciesResponse) String

func (s DescribePoliciesResponse) String() string

type DescribePolicyDetailsResponse

type DescribePolicyDetailsResponse struct {
	Headers    map[string]*string                 `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                             `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DescribePolicyDetailsResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DescribePolicyDetailsResponse) GoString

func (*DescribePolicyDetailsResponse) SetBody

func (*DescribePolicyDetailsResponse) SetHeaders

func (*DescribePolicyDetailsResponse) SetStatusCode

func (DescribePolicyDetailsResponse) String

type DescribePolicyDetailsResponseBody

type DescribePolicyDetailsResponseBody struct {
	// The action of the policy. Valid values:
	//
	// *   `enforce`: blocks deployments that match the policy.
	// *   `inform`: generates alerts for deployments that match the policy.
	Action *string `json:"action,omitempty" xml:"action,omitempty"`
	// The type of the policy.
	Category *string `json:"category,omitempty" xml:"category,omitempty"`
	// The description of the policy.
	Description *string `json:"description,omitempty" xml:"description,omitempty"`
	// Indicates whether the policy is deleted. Valid values:
	//
	// *   0: The policy is not deleted.
	// *   1: The policy is deleted.
	IsDeleted *int32 `json:"is_deleted,omitempty" xml:"is_deleted,omitempty"`
	// The name of the policy.
	Name *string `json:"name,omitempty" xml:"name,omitempty"`
	// Indicates whether parameters are required. Valid values:
	//
	// *   0: Parameters are required.
	// *   1: Parameters are optional.
	NoConfig *int32 `json:"no_config,omitempty" xml:"no_config,omitempty"`
	// The severity level of the policy. Valid values:
	//
	// *   `high`
	// *   `medium`
	// *   `low`
	Severity *string `json:"severity,omitempty" xml:"severity,omitempty"`
	// The content of the policy.
	Template *string `json:"template,omitempty" xml:"template,omitempty"`
}

func (DescribePolicyDetailsResponseBody) GoString

func (*DescribePolicyDetailsResponseBody) SetAction

func (*DescribePolicyDetailsResponseBody) SetCategory

func (*DescribePolicyDetailsResponseBody) SetDescription

func (*DescribePolicyDetailsResponseBody) SetIsDeleted

func (*DescribePolicyDetailsResponseBody) SetName

func (*DescribePolicyDetailsResponseBody) SetNoConfig

func (*DescribePolicyDetailsResponseBody) SetSeverity

func (*DescribePolicyDetailsResponseBody) SetTemplate

func (DescribePolicyDetailsResponseBody) String

type DescribePolicyGovernanceInClusterResponse

type DescribePolicyGovernanceInClusterResponse struct {
	Headers    map[string]*string                             `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                         `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DescribePolicyGovernanceInClusterResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DescribePolicyGovernanceInClusterResponse) GoString

func (*DescribePolicyGovernanceInClusterResponse) SetHeaders

func (*DescribePolicyGovernanceInClusterResponse) SetStatusCode

func (DescribePolicyGovernanceInClusterResponse) String

type DescribePolicyGovernanceInClusterResponseBody

type DescribePolicyGovernanceInClusterResponseBody struct {
	// The audit logs of the policies in the cluster.
	AdmitLog *DescribePolicyGovernanceInClusterResponseBodyAdmitLog `json:"admit_log,omitempty" xml:"admit_log,omitempty" type:"Struct"`
	// Details about the policies of different severity levels that are enabled for the cluster.
	OnState []*DescribePolicyGovernanceInClusterResponseBodyOnState `json:"on_state,omitempty" xml:"on_state,omitempty" type:"Repeated"`
	// Details about the blocking and alerting events that are triggered by policies of different severity levels.
	TotalViolations *DescribePolicyGovernanceInClusterResponseBodyTotalViolations `json:"totalViolations,omitempty" xml:"totalViolations,omitempty" type:"Struct"`
	// Details about the blocking and alerting events that are triggered by different policies.
	Violations *DescribePolicyGovernanceInClusterResponseBodyViolations `json:"violations,omitempty" xml:"violations,omitempty" type:"Struct"`
}

func (DescribePolicyGovernanceInClusterResponseBody) GoString

func (DescribePolicyGovernanceInClusterResponseBody) String

type DescribePolicyGovernanceInClusterResponseBodyAdmitLog

type DescribePolicyGovernanceInClusterResponseBodyAdmitLog struct {
	// The number of audit log entries.
	Count *int64 `json:"count,omitempty" xml:"count,omitempty"`
	// The audit log content.
	Log *DescribePolicyGovernanceInClusterResponseBodyAdmitLogLog `json:"log,omitempty" xml:"log,omitempty" type:"Struct"`
	// The status of the query. Valid values:
	//
	// *   `Complete`: The query succeeded and the complete query result is returned.
	// *   `Incomplete`: The query succeeded but the query result is incomplete. To obtain the complete query result, you must repeat the request.
	Progress *string `json:"progress,omitempty" xml:"progress,omitempty"`
}

func (DescribePolicyGovernanceInClusterResponseBodyAdmitLog) GoString

func (*DescribePolicyGovernanceInClusterResponseBodyAdmitLog) SetCount

func (*DescribePolicyGovernanceInClusterResponseBodyAdmitLog) SetProgress

func (DescribePolicyGovernanceInClusterResponseBodyAdmitLog) String

type DescribePolicyGovernanceInClusterResponseBodyAdmitLogLog

type DescribePolicyGovernanceInClusterResponseBodyAdmitLogLog struct {
	// The cluster ID.
	ClusterId *string `json:"cluster_id,omitempty" xml:"cluster_id,omitempty"`
	// The policy type.
	ConstraintKind *string `json:"constraint_kind,omitempty" xml:"constraint_kind,omitempty"`
	// The message that appears when an event is generated by a policy.
	Msg *string `json:"msg,omitempty" xml:"msg,omitempty"`
	// The resource type.
	ResourceKind *string `json:"resource_kind,omitempty" xml:"resource_kind,omitempty"`
	// The resource name.
	ResourceName *string `json:"resource_name,omitempty" xml:"resource_name,omitempty"`
	// The namespace to which the resource belongs.
	ResourceNamespace *string `json:"resource_namespace,omitempty" xml:"resource_namespace,omitempty"`
}

func (DescribePolicyGovernanceInClusterResponseBodyAdmitLogLog) GoString

func (*DescribePolicyGovernanceInClusterResponseBodyAdmitLogLog) SetClusterId

func (*DescribePolicyGovernanceInClusterResponseBodyAdmitLogLog) SetConstraintKind

func (*DescribePolicyGovernanceInClusterResponseBodyAdmitLogLog) SetMsg

func (*DescribePolicyGovernanceInClusterResponseBodyAdmitLogLog) SetResourceKind

func (*DescribePolicyGovernanceInClusterResponseBodyAdmitLogLog) SetResourceName

func (*DescribePolicyGovernanceInClusterResponseBodyAdmitLogLog) SetResourceNamespace

func (DescribePolicyGovernanceInClusterResponseBodyAdmitLogLog) String

type DescribePolicyGovernanceInClusterResponseBodyOnState

type DescribePolicyGovernanceInClusterResponseBodyOnState struct {
	// The number of policies that are enabled.
	EnabledCount *int32 `json:"enabled_count,omitempty" xml:"enabled_count,omitempty"`
	// The severity level of the policy.
	Severity *string `json:"severity,omitempty" xml:"severity,omitempty"`
	// The total number of policies of the severity level.
	Total *int32 `json:"total,omitempty" xml:"total,omitempty"`
}

func (DescribePolicyGovernanceInClusterResponseBodyOnState) GoString

func (*DescribePolicyGovernanceInClusterResponseBodyOnState) SetEnabledCount

func (*DescribePolicyGovernanceInClusterResponseBodyOnState) SetSeverity

func (*DescribePolicyGovernanceInClusterResponseBodyOnState) SetTotal

func (DescribePolicyGovernanceInClusterResponseBodyOnState) String

type DescribePolicyGovernanceInClusterResponseBodyTotalViolations

type DescribePolicyGovernanceInClusterResponseBodyTotalViolations struct {
	// Details about the blocking events that are triggered by the policies of each severity level.
	Deny *DescribePolicyGovernanceInClusterResponseBodyTotalViolationsDeny `json:"deny,omitempty" xml:"deny,omitempty" type:"Struct"`
	// Details about the alerting events that are triggered by the policies of each severity level.
	Warn *DescribePolicyGovernanceInClusterResponseBodyTotalViolationsWarn `json:"warn,omitempty" xml:"warn,omitempty" type:"Struct"`
}

func (DescribePolicyGovernanceInClusterResponseBodyTotalViolations) GoString

func (DescribePolicyGovernanceInClusterResponseBodyTotalViolations) String

type DescribePolicyGovernanceInClusterResponseBodyTotalViolationsDeny

type DescribePolicyGovernanceInClusterResponseBodyTotalViolationsDeny struct {
	// The severity level of the policy.
	Severity *string `json:"severity,omitempty" xml:"severity,omitempty"`
	// The number of blocking events that are triggered.
	Violations *int64 `json:"violations,omitempty" xml:"violations,omitempty"`
}

func (DescribePolicyGovernanceInClusterResponseBodyTotalViolationsDeny) GoString

func (*DescribePolicyGovernanceInClusterResponseBodyTotalViolationsDeny) SetSeverity

func (*DescribePolicyGovernanceInClusterResponseBodyTotalViolationsDeny) SetViolations

func (DescribePolicyGovernanceInClusterResponseBodyTotalViolationsDeny) String

type DescribePolicyGovernanceInClusterResponseBodyTotalViolationsWarn

type DescribePolicyGovernanceInClusterResponseBodyTotalViolationsWarn struct {
	// The severity level of the policy.
	Severity *string `json:"severity,omitempty" xml:"severity,omitempty"`
	// The number of alerting events that are triggered.
	Violations *int64 `json:"violations,omitempty" xml:"violations,omitempty"`
}

func (DescribePolicyGovernanceInClusterResponseBodyTotalViolationsWarn) GoString

func (*DescribePolicyGovernanceInClusterResponseBodyTotalViolationsWarn) SetSeverity

func (*DescribePolicyGovernanceInClusterResponseBodyTotalViolationsWarn) SetViolations

func (DescribePolicyGovernanceInClusterResponseBodyTotalViolationsWarn) String

type DescribePolicyGovernanceInClusterResponseBodyViolations

type DescribePolicyGovernanceInClusterResponseBodyViolations struct {
	// Details about the blocking events that are triggered by each policy.
	Deny *DescribePolicyGovernanceInClusterResponseBodyViolationsDeny `json:"deny,omitempty" xml:"deny,omitempty" type:"Struct"`
	// Details about the alerting events that are triggered by the policies of each severity level.
	Warn *DescribePolicyGovernanceInClusterResponseBodyViolationsWarn `json:"warn,omitempty" xml:"warn,omitempty" type:"Struct"`
}

func (DescribePolicyGovernanceInClusterResponseBodyViolations) GoString

func (DescribePolicyGovernanceInClusterResponseBodyViolations) String

type DescribePolicyGovernanceInClusterResponseBodyViolationsDeny

type DescribePolicyGovernanceInClusterResponseBodyViolationsDeny struct {
	// The policy description.
	PolicyDescription *string `json:"policyDescription,omitempty" xml:"policyDescription,omitempty"`
	// The policy name.
	PolicyName *string `json:"policyName,omitempty" xml:"policyName,omitempty"`
	// The severity level of the policy.
	Severity *string `json:"severity,omitempty" xml:"severity,omitempty"`
	// The total number of blocking events that are triggered by the policy.
	Violations *int64 `json:"violations,omitempty" xml:"violations,omitempty"`
}

func (DescribePolicyGovernanceInClusterResponseBodyViolationsDeny) GoString

func (*DescribePolicyGovernanceInClusterResponseBodyViolationsDeny) SetPolicyDescription

func (*DescribePolicyGovernanceInClusterResponseBodyViolationsDeny) SetPolicyName

func (*DescribePolicyGovernanceInClusterResponseBodyViolationsDeny) SetSeverity

func (*DescribePolicyGovernanceInClusterResponseBodyViolationsDeny) SetViolations

func (DescribePolicyGovernanceInClusterResponseBodyViolationsDeny) String

type DescribePolicyGovernanceInClusterResponseBodyViolationsWarn

type DescribePolicyGovernanceInClusterResponseBodyViolationsWarn struct {
	// The policy description.
	PolicyDescription *string `json:"policyDescription,omitempty" xml:"policyDescription,omitempty"`
	// The policy name.
	PolicyName *string `json:"policyName,omitempty" xml:"policyName,omitempty"`
	// The severity level of the policy.
	Severity *string `json:"severity,omitempty" xml:"severity,omitempty"`
	// The total number of alerting events that are triggered by the policy.
	Violations *int64 `json:"violations,omitempty" xml:"violations,omitempty"`
}

func (DescribePolicyGovernanceInClusterResponseBodyViolationsWarn) GoString

func (*DescribePolicyGovernanceInClusterResponseBodyViolationsWarn) SetPolicyDescription

func (*DescribePolicyGovernanceInClusterResponseBodyViolationsWarn) SetPolicyName

func (*DescribePolicyGovernanceInClusterResponseBodyViolationsWarn) SetSeverity

func (*DescribePolicyGovernanceInClusterResponseBodyViolationsWarn) SetViolations

func (DescribePolicyGovernanceInClusterResponseBodyViolationsWarn) String

type DescribePolicyInstancesRequest

type DescribePolicyInstancesRequest struct {
	// The name of the policy instance that you want to query.
	InstanceName *string `json:"instance_name,omitempty" xml:"instance_name,omitempty"`
	// The name of the policy that you want to query.
	PolicyName *string `json:"policy_name,omitempty" xml:"policy_name,omitempty"`
}

func (DescribePolicyInstancesRequest) GoString

func (*DescribePolicyInstancesRequest) SetInstanceName

func (*DescribePolicyInstancesRequest) SetPolicyName

func (DescribePolicyInstancesRequest) String

type DescribePolicyInstancesResponse

type DescribePolicyInstancesResponse struct {
	Headers    map[string]*string                     `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                 `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       []*DescribePolicyInstancesResponseBody `json:"body,omitempty" xml:"body,omitempty" type:"Repeated"`
}

func (DescribePolicyInstancesResponse) GoString

func (*DescribePolicyInstancesResponse) SetBody

func (*DescribePolicyInstancesResponse) SetHeaders

func (*DescribePolicyInstancesResponse) SetStatusCode

func (DescribePolicyInstancesResponse) String

type DescribePolicyInstancesResponseBody

type DescribePolicyInstancesResponseBody struct {
	// The UID of the Alibaba Cloud account that is used to deploy the policy instance.
	AliUid *string `json:"ali_uid,omitempty" xml:"ali_uid,omitempty"`
	// The ID of the cluster.
	ClusterId *string `json:"cluster_id,omitempty" xml:"cluster_id,omitempty"`
	// The name of the policy instance.
	InstanceName *string `json:"instance_name,omitempty" xml:"instance_name,omitempty"`
	// The name of the policy.
	PolicyName *string `json:"policy_name,omitempty" xml:"policy_name,omitempty"`
	// The type of policy.
	PolicyCategory *string `json:"policy_category,omitempty" xml:"policy_category,omitempty"`
	// The description of the policy template.
	PolicyDescription *string `json:"policy_description,omitempty" xml:"policy_description,omitempty"`
	// The parameters of the policy instance.
	PolicyParameters *string `json:"policy_parameters,omitempty" xml:"policy_parameters,omitempty"`
	// The severity level of the policy instance.
	PolicySeverity *string `json:"policy_severity,omitempty" xml:"policy_severity,omitempty"`
	// The applicable scope of the policy instance.
	//
	// A value of \* indicates all namespaces in the cluster. This is the default value.
	//
	// Multiple namespaces are separated by commas (,).
	PolicyScope *string `json:"policy_scope,omitempty" xml:"policy_scope,omitempty"`
	// The action of the policy. Valid values:
	//
	// *   `deny`: Deployments that match the policy are denied.
	// *   `warn`: Alerts are generated for deployments that match the policy.
	PolicyAction *string `json:"policy_action,omitempty" xml:"policy_action,omitempty"`
}

func (DescribePolicyInstancesResponseBody) GoString

func (*DescribePolicyInstancesResponseBody) SetAliUid

func (*DescribePolicyInstancesResponseBody) SetClusterId

func (*DescribePolicyInstancesResponseBody) SetInstanceName

func (*DescribePolicyInstancesResponseBody) SetPolicyAction

func (*DescribePolicyInstancesResponseBody) SetPolicyCategory

func (*DescribePolicyInstancesResponseBody) SetPolicyDescription

func (*DescribePolicyInstancesResponseBody) SetPolicyName

func (*DescribePolicyInstancesResponseBody) SetPolicyParameters

func (*DescribePolicyInstancesResponseBody) SetPolicyScope

func (*DescribePolicyInstancesResponseBody) SetPolicySeverity

func (DescribePolicyInstancesResponseBody) String

type DescribePolicyInstancesStatusResponse

type DescribePolicyInstancesStatusResponse struct {
	Headers    map[string]*string                         `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                     `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DescribePolicyInstancesStatusResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DescribePolicyInstancesStatusResponse) GoString

func (*DescribePolicyInstancesStatusResponse) SetHeaders

func (*DescribePolicyInstancesStatusResponse) SetStatusCode

func (DescribePolicyInstancesStatusResponse) String

type DescribePolicyInstancesStatusResponseBody

type DescribePolicyInstancesStatusResponseBody struct {
	// Information about the number of policy instances of each severity level.
	InstancesSeverityCount map[string]interface{} `json:"instances_severity_count,omitempty" xml:"instances_severity_count,omitempty"`
	// Details about policy instances of different types.
	PolicyInstances []*DescribePolicyInstancesStatusResponseBodyPolicyInstances `json:"policy_instances,omitempty" xml:"policy_instances,omitempty" type:"Repeated"`
}

func (DescribePolicyInstancesStatusResponseBody) GoString

func (*DescribePolicyInstancesStatusResponseBody) SetInstancesSeverityCount

func (s *DescribePolicyInstancesStatusResponseBody) SetInstancesSeverityCount(v map[string]interface{}) *DescribePolicyInstancesStatusResponseBody

func (DescribePolicyInstancesStatusResponseBody) String

type DescribePolicyInstancesStatusResponseBodyPolicyInstances

type DescribePolicyInstancesStatusResponseBodyPolicyInstances struct {
	// The policy type. For more information about different types of policies and their descriptions, see [Predefined security policies of ACK](~~359819~~).
	PolicyCategory *string `json:"policy_category,omitempty" xml:"policy_category,omitempty"`
	// The description of the policy.
	PolicyDescription *string `json:"policy_description,omitempty" xml:"policy_description,omitempty"`
	// The number of policy instances that are deployed. If this parameter is empty, no policy instance is deployed.
	PolicyInstancesCount *int64 `json:"policy_instances_count,omitempty" xml:"policy_instances_count,omitempty"`
	// The name of the policy.
	PolicyName *string `json:"policy_name,omitempty" xml:"policy_name,omitempty"`
	// The severity level of the policy.
	PolicySeverity *string `json:"policy_severity,omitempty" xml:"policy_severity,omitempty"`
}

func (DescribePolicyInstancesStatusResponseBodyPolicyInstances) GoString

func (*DescribePolicyInstancesStatusResponseBodyPolicyInstances) SetPolicyCategory

func (*DescribePolicyInstancesStatusResponseBodyPolicyInstances) SetPolicyDescription

func (*DescribePolicyInstancesStatusResponseBodyPolicyInstances) SetPolicyInstancesCount

func (*DescribePolicyInstancesStatusResponseBodyPolicyInstances) SetPolicyName

func (*DescribePolicyInstancesStatusResponseBodyPolicyInstances) SetPolicySeverity

func (DescribePolicyInstancesStatusResponseBodyPolicyInstances) String

type DescribeSubaccountK8sClusterUserConfigRequest

type DescribeSubaccountK8sClusterUserConfigRequest struct {
	// Specifies whether to obtain the kubeconfig file used to connect to the cluster over the internal network. Valid values:
	//
	// *   `true`: Obtain the kubeconfig file used to connect to the cluster over the internal network.
	// *   `false`: Obtain the kubeconfig file used to connect to the cluster over the Internet.
	//
	// Default value: `false`.
	PrivateIpAddress *bool `json:"PrivateIpAddress,omitempty" xml:"PrivateIpAddress,omitempty"`
	// The validity period of the temporary kubeconfig file. Unit: minutes.
	//
	// Valid values: 15 to 4320 (three days).
	//
	// > If you leave this parameter empty, the system sets a longer validity period and returns the value in the expiration parameter of the response.
	TemporaryDurationMinutes *int64 `json:"TemporaryDurationMinutes,omitempty" xml:"TemporaryDurationMinutes,omitempty"`
}

func (DescribeSubaccountK8sClusterUserConfigRequest) GoString

func (*DescribeSubaccountK8sClusterUserConfigRequest) SetPrivateIpAddress

func (*DescribeSubaccountK8sClusterUserConfigRequest) SetTemporaryDurationMinutes

func (DescribeSubaccountK8sClusterUserConfigRequest) String

type DescribeSubaccountK8sClusterUserConfigResponse

type DescribeSubaccountK8sClusterUserConfigResponse struct {
	Headers    map[string]*string                                  `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                              `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DescribeSubaccountK8sClusterUserConfigResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DescribeSubaccountK8sClusterUserConfigResponse) GoString

func (*DescribeSubaccountK8sClusterUserConfigResponse) SetHeaders

func (*DescribeSubaccountK8sClusterUserConfigResponse) SetStatusCode

func (DescribeSubaccountK8sClusterUserConfigResponse) String

type DescribeSubaccountK8sClusterUserConfigResponseBody

type DescribeSubaccountK8sClusterUserConfigResponseBody struct {
	// The cluster kubeconfig file. For more information about the content of the kubeconfig file, see [Configure cluster credentials](~~86494~~).
	Config *string `json:"config,omitempty" xml:"config,omitempty"`
	// The expiration date of the kubeconfig file. The value is the UTC time displayed in RFC3339 format.
	Expiration *string `json:"expiration,omitempty" xml:"expiration,omitempty"`
}

func (DescribeSubaccountK8sClusterUserConfigResponseBody) GoString

func (*DescribeSubaccountK8sClusterUserConfigResponseBody) SetConfig

func (*DescribeSubaccountK8sClusterUserConfigResponseBody) SetExpiration

func (DescribeSubaccountK8sClusterUserConfigResponseBody) String

type DescribeTaskInfoResponse

type DescribeTaskInfoResponse struct {
	Headers    map[string]*string            `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                        `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DescribeTaskInfoResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DescribeTaskInfoResponse) GoString

func (s DescribeTaskInfoResponse) GoString() string

func (*DescribeTaskInfoResponse) SetBody

func (*DescribeTaskInfoResponse) SetHeaders

func (*DescribeTaskInfoResponse) SetStatusCode

func (DescribeTaskInfoResponse) String

func (s DescribeTaskInfoResponse) String() string

type DescribeTaskInfoResponseBody

type DescribeTaskInfoResponseBody struct {
	// The cluster ID.
	ClusterId *string `json:"cluster_id,omitempty" xml:"cluster_id,omitempty"`
	// The time when the task was created.
	Created *string `json:"created,omitempty" xml:"created,omitempty"`
	// The current stage of the task.
	CurrentStage *string `json:"current_stage,omitempty" xml:"current_stage,omitempty"`
	// The error returned for the task.
	Error *DescribeTaskInfoResponseBodyError `json:"error,omitempty" xml:"error,omitempty" type:"Struct"`
	// The event generated by the task.
	Events []*DescribeTaskInfoResponseBodyEvents `json:"events,omitempty" xml:"events,omitempty" type:"Repeated"`
	// The task parameters.
	Parameters map[string]interface{} `json:"parameters,omitempty" xml:"parameters,omitempty"`
	// Detailed information about the stage of the task.
	Stages []*DescribeTaskInfoResponseBodyStages `json:"stages,omitempty" xml:"stages,omitempty" type:"Repeated"`
	// The status of the task. Valid values:
	//
	// *   `running`: The task is running.
	// *   `failed`: The task failed.
	// *   `success`: The task is complete.
	State *string `json:"state,omitempty" xml:"state,omitempty"`
	// The object of the task.
	Target *DescribeTaskInfoResponseBodyTarget `json:"target,omitempty" xml:"target,omitempty" type:"Struct"`
	// The task ID.
	TaskId *string `json:"task_id,omitempty" xml:"task_id,omitempty"`
	// The execution details of the task.
	TaskResult []*DescribeTaskInfoResponseBodyTaskResult `json:"task_result,omitempty" xml:"task_result,omitempty" type:"Repeated"`
	// The task type. A value of `cluster_scaleout` indicates a scale-out task.
	TaskType *string `json:"task_type,omitempty" xml:"task_type,omitempty"`
	// The time when the task was updated.
	Updated *string `json:"updated,omitempty" xml:"updated,omitempty"`
}

func (DescribeTaskInfoResponseBody) GoString

func (s DescribeTaskInfoResponseBody) GoString() string

func (*DescribeTaskInfoResponseBody) SetClusterId

func (*DescribeTaskInfoResponseBody) SetCreated

func (*DescribeTaskInfoResponseBody) SetCurrentStage

func (*DescribeTaskInfoResponseBody) SetError

func (*DescribeTaskInfoResponseBody) SetEvents

func (*DescribeTaskInfoResponseBody) SetParameters

func (s *DescribeTaskInfoResponseBody) SetParameters(v map[string]interface{}) *DescribeTaskInfoResponseBody

func (*DescribeTaskInfoResponseBody) SetStages

func (*DescribeTaskInfoResponseBody) SetState

func (*DescribeTaskInfoResponseBody) SetTarget

func (*DescribeTaskInfoResponseBody) SetTaskId

func (*DescribeTaskInfoResponseBody) SetTaskResult

func (*DescribeTaskInfoResponseBody) SetTaskType

func (*DescribeTaskInfoResponseBody) SetUpdated

func (DescribeTaskInfoResponseBody) String

type DescribeTaskInfoResponseBodyError

type DescribeTaskInfoResponseBodyError struct {
	// The error code returned.
	Code *string `json:"code,omitempty" xml:"code,omitempty"`
	// The error message returned.
	Message *string `json:"message,omitempty" xml:"message,omitempty"`
}

func (DescribeTaskInfoResponseBodyError) GoString

func (*DescribeTaskInfoResponseBodyError) SetCode

func (*DescribeTaskInfoResponseBodyError) SetMessage

func (DescribeTaskInfoResponseBodyError) String

type DescribeTaskInfoResponseBodyEvents

type DescribeTaskInfoResponseBodyEvents struct {
	// The action of the event.
	Action *string `json:"action,omitempty" xml:"action,omitempty"`
	// The severity level of the event.
	Level *string `json:"level,omitempty" xml:"level,omitempty"`
	// The message about the event.
	Message *string `json:"message,omitempty" xml:"message,omitempty"`
	// The cause of the event.
	Reason *string `json:"reason,omitempty" xml:"reason,omitempty"`
	// The source of the event.
	Source *string `json:"source,omitempty" xml:"source,omitempty"`
	// The timestamp when the event was generated.
	Timestamp *string `json:"timestamp,omitempty" xml:"timestamp,omitempty"`
}

func (DescribeTaskInfoResponseBodyEvents) GoString

func (*DescribeTaskInfoResponseBodyEvents) SetAction

func (*DescribeTaskInfoResponseBodyEvents) SetLevel

func (*DescribeTaskInfoResponseBodyEvents) SetMessage

func (*DescribeTaskInfoResponseBodyEvents) SetReason

func (*DescribeTaskInfoResponseBodyEvents) SetSource

func (*DescribeTaskInfoResponseBodyEvents) SetTimestamp

func (DescribeTaskInfoResponseBodyEvents) String

type DescribeTaskInfoResponseBodyStages

type DescribeTaskInfoResponseBodyStages struct {
	// The end time of the stage.
	EndTime *string `json:"end_time,omitempty" xml:"end_time,omitempty"`
	// The message about the stage.
	Message *string `json:"message,omitempty" xml:"message,omitempty"`
	// The output generated at the stage.
	Outputs map[string]interface{} `json:"outputs,omitempty" xml:"outputs,omitempty"`
	// The start time of the stage.
	StartTime *string `json:"start_time,omitempty" xml:"start_time,omitempty"`
	// The status of the stage.
	State *string `json:"state,omitempty" xml:"state,omitempty"`
}

func (DescribeTaskInfoResponseBodyStages) GoString

func (*DescribeTaskInfoResponseBodyStages) SetEndTime

func (*DescribeTaskInfoResponseBodyStages) SetMessage

func (*DescribeTaskInfoResponseBodyStages) SetOutputs

func (*DescribeTaskInfoResponseBodyStages) SetStartTime

func (*DescribeTaskInfoResponseBodyStages) SetState

func (DescribeTaskInfoResponseBodyStages) String

type DescribeTaskInfoResponseBodyTarget

type DescribeTaskInfoResponseBodyTarget struct {
	// The ID of the object.
	Id *string `json:"id,omitempty" xml:"id,omitempty"`
	// The type of the object.
	Type *string `json:"type,omitempty" xml:"type,omitempty"`
}

func (DescribeTaskInfoResponseBodyTarget) GoString

func (*DescribeTaskInfoResponseBodyTarget) SetId

func (*DescribeTaskInfoResponseBodyTarget) SetType

func (DescribeTaskInfoResponseBodyTarget) String

type DescribeTaskInfoResponseBodyTaskResult

type DescribeTaskInfoResponseBodyTaskResult struct {
	// The resources that are managed by the task. For a scale-out task, the value of this parameter is the ID of the instance that is added by the task.
	Data *string `json:"data,omitempty" xml:"data,omitempty"`
	// The status of the scale-out task. Valid values:
	//
	// *   `success`: The scale-out task is successful.
	// *   `success`: The scale-out task failed.
	// *   `initial`: The scale-out task is being initialized.
	Status *string `json:"status,omitempty" xml:"status,omitempty"`
}

func (DescribeTaskInfoResponseBodyTaskResult) GoString

func (*DescribeTaskInfoResponseBodyTaskResult) SetData

func (*DescribeTaskInfoResponseBodyTaskResult) SetStatus

func (DescribeTaskInfoResponseBodyTaskResult) String

type DescribeTemplateAttributeRequest

type DescribeTemplateAttributeRequest struct {
	// The type of template. The value can be a custom value.
	//
	// *   If the parameter is set to `kubernetes`, the template is displayed on the Templates page in the console.
	// *   If the parameter is set to `compose`, the template is displayed on the Container Service - Swarm page in the console. Container Service for Swarm is deprecated.
	// *   If the value of the parameter is not `kubernetes`, the template is not displayed on the Templates page in the console. We recommend that you set the parameter to `kubernetes`.
	//
	// Default value: `kubernetes`.
	TemplateType *string `json:"template_type,omitempty" xml:"template_type,omitempty"`
}

func (DescribeTemplateAttributeRequest) GoString

func (*DescribeTemplateAttributeRequest) SetTemplateType

func (DescribeTemplateAttributeRequest) String

type DescribeTemplateAttributeResponse

type DescribeTemplateAttributeResponse struct {
	Headers    map[string]*string                       `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                   `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       []*DescribeTemplateAttributeResponseBody `json:"body,omitempty" xml:"body,omitempty" type:"Repeated"`
}

func (DescribeTemplateAttributeResponse) GoString

func (*DescribeTemplateAttributeResponse) SetHeaders

func (*DescribeTemplateAttributeResponse) SetStatusCode

func (DescribeTemplateAttributeResponse) String

type DescribeTemplateAttributeResponseBody

type DescribeTemplateAttributeResponseBody struct {
	// The ID of the template. When you update a template, a new template ID is generated.
	Id *string `json:"id,omitempty" xml:"id,omitempty"`
	// The access control policy of the template.
	Acl *string `json:"acl,omitempty" xml:"acl,omitempty"`
	// The name of the template.
	Name *string `json:"name,omitempty" xml:"name,omitempty"`
	// The template content in the YAML format.
	Template *string `json:"template,omitempty" xml:"template,omitempty"`
	// The type of template. The value can be a custom value.
	//
	// *   If the parameter is set to `kubernetes`, the template is displayed on the Templates page in the console.
	// *   If the parameter is set to `compose`, the template is displayed on the Container Service - Swarm page in the console. Container Service for Swarm is deprecated.
	// *   If the value of the parameter is not `kubernetes`, the template is not displayed on the Templates page in the console. We recommend that you set the parameter to `kubernetes`.
	//
	// Default value: `kubernetes`.
	TemplateType *string `json:"template_type,omitempty" xml:"template_type,omitempty"`
	// The description of the template.
	Description *string `json:"description,omitempty" xml:"description,omitempty"`
	// The label of the template.
	Tags *string `json:"tags,omitempty" xml:"tags,omitempty"`
	// The unique ID of the template. The value remains unchanged after the template is updated.
	TemplateWithHistId *string `json:"template_with_hist_id,omitempty" xml:"template_with_hist_id,omitempty"`
	// The time when the template was created.
	Created *string `json:"created,omitempty" xml:"created,omitempty"`
	// The time when the template was updated.
	Updated *string `json:"updated,omitempty" xml:"updated,omitempty"`
}

func (DescribeTemplateAttributeResponseBody) GoString

func (*DescribeTemplateAttributeResponseBody) SetAcl

func (*DescribeTemplateAttributeResponseBody) SetCreated

func (*DescribeTemplateAttributeResponseBody) SetDescription

func (*DescribeTemplateAttributeResponseBody) SetId

func (*DescribeTemplateAttributeResponseBody) SetName

func (*DescribeTemplateAttributeResponseBody) SetTags

func (*DescribeTemplateAttributeResponseBody) SetTemplate

func (*DescribeTemplateAttributeResponseBody) SetTemplateType

func (*DescribeTemplateAttributeResponseBody) SetTemplateWithHistId

func (*DescribeTemplateAttributeResponseBody) SetUpdated

func (DescribeTemplateAttributeResponseBody) String

type DescribeTemplatesRequest

type DescribeTemplatesRequest struct {
	// The page number.
	//
	// Default value: 1.
	PageNum *int64 `json:"page_num,omitempty" xml:"page_num,omitempty"`
	// The number of entries per page.
	//
	// Default value: 10.
	PageSize *int64 `json:"page_size,omitempty" xml:"page_size,omitempty"`
	// The type of template. This parameter can be set to a custom value.
	//
	// *   If the parameter is set to `kubernetes`, the template is displayed on the Templates page in the console.
	// *   If you set the parameter to `compose`, the template is not displayed on the Templates page in the console.
	//
	// Default value: `kubernetes`.
	TemplateType *string `json:"template_type,omitempty" xml:"template_type,omitempty"`
}

func (DescribeTemplatesRequest) GoString

func (s DescribeTemplatesRequest) GoString() string

func (*DescribeTemplatesRequest) SetPageNum

func (*DescribeTemplatesRequest) SetPageSize

func (*DescribeTemplatesRequest) SetTemplateType

func (DescribeTemplatesRequest) String

func (s DescribeTemplatesRequest) String() string

type DescribeTemplatesResponse

type DescribeTemplatesResponse struct {
	Headers    map[string]*string             `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                         `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DescribeTemplatesResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DescribeTemplatesResponse) GoString

func (s DescribeTemplatesResponse) GoString() string

func (*DescribeTemplatesResponse) SetBody

func (*DescribeTemplatesResponse) SetHeaders

func (*DescribeTemplatesResponse) SetStatusCode

func (DescribeTemplatesResponse) String

func (s DescribeTemplatesResponse) String() string

type DescribeTemplatesResponseBody

type DescribeTemplatesResponseBody struct {
	// The pagination information.
	PageInfo *DescribeTemplatesResponseBodyPageInfo `json:"page_info,omitempty" xml:"page_info,omitempty" type:"Struct"`
	// The list of returned templates.
	Templates []*DescribeTemplatesResponseBodyTemplates `json:"templates,omitempty" xml:"templates,omitempty" type:"Repeated"`
}

func (DescribeTemplatesResponseBody) GoString

func (*DescribeTemplatesResponseBody) SetTemplates

func (DescribeTemplatesResponseBody) String

type DescribeTemplatesResponseBodyPageInfo

type DescribeTemplatesResponseBodyPageInfo struct {
	// The page number.
	PageNumber *int64 `json:"page_number,omitempty" xml:"page_number,omitempty"`
	// The number of entries per page.
	PageSize *int64 `json:"page_size,omitempty" xml:"page_size,omitempty"`
	// The total number of entries returned.
	TotalCount *int64 `json:"total_count,omitempty" xml:"total_count,omitempty"`
}

func (DescribeTemplatesResponseBodyPageInfo) GoString

func (*DescribeTemplatesResponseBodyPageInfo) SetPageNumber

func (*DescribeTemplatesResponseBodyPageInfo) SetPageSize

func (*DescribeTemplatesResponseBodyPageInfo) SetTotalCount

func (DescribeTemplatesResponseBodyPageInfo) String

type DescribeTemplatesResponseBodyTemplates

type DescribeTemplatesResponseBodyTemplates struct {
	// The access control policy of the template. Valid values:
	//
	// *   `private`: The template is private.
	// *   `public`: The template is public.
	// *   `shared`: The template can be shared.
	//
	// Default value: `private`.
	Acl *string `json:"acl,omitempty" xml:"acl,omitempty"`
	// The time when the template was created.
	Created *string `json:"created,omitempty" xml:"created,omitempty"`
	// The description of the template.
	Description *string `json:"description,omitempty" xml:"description,omitempty"`
	// The ID of the template.
	Id *string `json:"id,omitempty" xml:"id,omitempty"`
	// The name of the template.
	Name *string `json:"name,omitempty" xml:"name,omitempty"`
	// The label of the template. By default, the value is the name of the template.
	Tags *string `json:"tags,omitempty" xml:"tags,omitempty"`
	// The template content in the YAML format.
	Template *string `json:"template,omitempty" xml:"template,omitempty"`
	// The type of template. This parameter can be set to a custom value.
	//
	// *   If the parameter is set to `kubernetes`, the template is displayed on the Templates page in the console.
	// *   If the parameter is set to `compose`, the template is displayed on the Container Service - Swarm page in the console. However, Container Service for Swarm is deprecated.
	TemplateType *string `json:"template_type,omitempty" xml:"template_type,omitempty"`
	// The ID of the parent template. The value of `template_with_hist_id` is the same for each template version. This allows you to manage different template versions.
	TemplateWithHistId *string `json:"template_with_hist_id,omitempty" xml:"template_with_hist_id,omitempty"`
	// The time when the template was updated.
	Updated *string `json:"updated,omitempty" xml:"updated,omitempty"`
}

func (DescribeTemplatesResponseBodyTemplates) GoString

func (*DescribeTemplatesResponseBodyTemplates) SetAcl

func (*DescribeTemplatesResponseBodyTemplates) SetCreated

func (*DescribeTemplatesResponseBodyTemplates) SetDescription

func (*DescribeTemplatesResponseBodyTemplates) SetId

func (*DescribeTemplatesResponseBodyTemplates) SetName

func (*DescribeTemplatesResponseBodyTemplates) SetTags

func (*DescribeTemplatesResponseBodyTemplates) SetTemplate

func (*DescribeTemplatesResponseBodyTemplates) SetTemplateType

func (*DescribeTemplatesResponseBodyTemplates) SetTemplateWithHistId

func (*DescribeTemplatesResponseBodyTemplates) SetUpdated

func (DescribeTemplatesResponseBodyTemplates) String

type DescribeTriggerRequest

type DescribeTriggerRequest struct {
	// The application name.
	Name *string `json:"Name,omitempty" xml:"Name,omitempty"`
	// The namespace to which the application belongs.
	Namespace *string `json:"Namespace,omitempty" xml:"Namespace,omitempty"`
	// The type of trigger. Valid values:
	//
	// *   `deployment`: performs actions on Deployments.
	// *   `application`: performs actions on applications that are deployed in Application Center.
	//
	// Default value: `deployment`.
	//
	// If you do not set this parameter, triggers are not filtered by type.
	Type *string `json:"Type,omitempty" xml:"Type,omitempty"`
	// The action that the trigger performs. Set the value to redeploy.
	//
	// `redeploy`: redeploys the resources specified by `project_id`.
	//
	// If you do not specify this parameter, triggers are not filtered by action.
	Action *string `json:"action,omitempty" xml:"action,omitempty"`
}

func (DescribeTriggerRequest) GoString

func (s DescribeTriggerRequest) GoString() string

func (*DescribeTriggerRequest) SetAction

func (*DescribeTriggerRequest) SetName

func (*DescribeTriggerRequest) SetNamespace

func (*DescribeTriggerRequest) SetType

func (DescribeTriggerRequest) String

func (s DescribeTriggerRequest) String() string

type DescribeTriggerResponse

type DescribeTriggerResponse struct {
	Headers    map[string]*string             `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                         `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       []*DescribeTriggerResponseBody `json:"body,omitempty" xml:"body,omitempty" type:"Repeated"`
}

func (DescribeTriggerResponse) GoString

func (s DescribeTriggerResponse) GoString() string

func (*DescribeTriggerResponse) SetBody

func (*DescribeTriggerResponse) SetHeaders

func (*DescribeTriggerResponse) SetStatusCode

func (DescribeTriggerResponse) String

func (s DescribeTriggerResponse) String() string

type DescribeTriggerResponseBody

type DescribeTriggerResponseBody struct {
	// The ID of the trigger.
	Id *string `json:"id,omitempty" xml:"id,omitempty"`
	// The name of the trigger.
	Name *string `json:"name,omitempty" xml:"name,omitempty"`
	// The ID of the associated cluster.
	ClusterId *string `json:"cluster_id,omitempty" xml:"cluster_id,omitempty"`
	// The name of the project.
	//
	// The name consists of the namespace where the application is deployed and the name of the application. The format is `${namespace}/${name}`. Example: default/test-app.
	ProjectId *string `json:"project_id,omitempty" xml:"project_id,omitempty"`
	// The type of trigger.
	//
	// Valid values:
	//
	// *   `deployment`: performs actions on Deployments.
	// *   `application`: performs actions on applications that are deployed in Application Center.
	//
	// Default value: `deployment`.
	Type *string `json:"type,omitempty" xml:"type,omitempty"`
	// The action that the trigger performs. The value is set to redeploy.
	//
	// `redeploy`: redeploys the resource specified by project_id.
	Action *string `json:"action,omitempty" xml:"action,omitempty"`
	// The token information.
	Token *string `json:"token,omitempty" xml:"token,omitempty"`
}

func (DescribeTriggerResponseBody) GoString

func (s DescribeTriggerResponseBody) GoString() string

func (*DescribeTriggerResponseBody) SetAction

func (*DescribeTriggerResponseBody) SetClusterId

func (*DescribeTriggerResponseBody) SetId

func (*DescribeTriggerResponseBody) SetName

func (*DescribeTriggerResponseBody) SetProjectId

func (*DescribeTriggerResponseBody) SetToken

func (*DescribeTriggerResponseBody) SetType

func (DescribeTriggerResponseBody) String

type DescribeUserClusterNamespacesResponse

type DescribeUserClusterNamespacesResponse struct {
	Headers    map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32             `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       []*string          `json:"body,omitempty" xml:"body,omitempty" type:"Repeated"`
}

func (DescribeUserClusterNamespacesResponse) GoString

func (*DescribeUserClusterNamespacesResponse) SetBody

func (*DescribeUserClusterNamespacesResponse) SetHeaders

func (*DescribeUserClusterNamespacesResponse) SetStatusCode

func (DescribeUserClusterNamespacesResponse) String

type DescribeUserPermissionResponse

type DescribeUserPermissionResponse struct {
	Headers    map[string]*string                    `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       []*DescribeUserPermissionResponseBody `json:"body,omitempty" xml:"body,omitempty" type:"Repeated"`
}

func (DescribeUserPermissionResponse) GoString

func (*DescribeUserPermissionResponse) SetBody

func (*DescribeUserPermissionResponse) SetHeaders

func (*DescribeUserPermissionResponse) SetStatusCode

func (DescribeUserPermissionResponse) String

type DescribeUserPermissionResponseBody

type DescribeUserPermissionResponseBody struct {
	// The authorization setting. Valid values:
	//
	// *   `{cluster_id}` is returned if the permissions are scoped to a cluster.
	// *   `{cluster_id}/{namespace}` is returned if the permissions are scoped to a namespace of a cluster.
	// *   `all-clusters` is returned if the permissions are scoped to all clusters.
	ResourceId *string `json:"resource_id,omitempty" xml:"resource_id,omitempty"`
	// The authorization type. Valid values:
	//
	// *   `cluster`: indicates that the permissions are scoped to a cluster.
	// *   `namespace`: indicates that the permissions are scoped to a namespace of a cluster.
	// *   `console`: indicates that the permissions are scoped to all clusters. This value was displayed only in the console.
	ResourceType *string `json:"resource_type,omitempty" xml:"resource_type,omitempty"`
	// The name of the custom role. If a custom role is assigned, the value is the name of the assigned custom role.
	RoleName *string `json:"role_name,omitempty" xml:"role_name,omitempty"`
	// The type of predefined role. Valid values:
	//
	// *   `admin`: administrator
	// *   `ops`: O\&M engineer
	// *   `dev`: developer
	// *   `restricted`: restricted user
	// *   `custom`: custom role
	RoleType *string `json:"role_type,omitempty" xml:"role_type,omitempty"`
	// Indicates whether the permissions are granted to the cluster owner.
	//
	// *   `0`: indicates that the permissions are not granted to the cluster owner.
	// *   `1`: indicates that the permissions are granted to the cluster owner. The cluster owner is the administrator.
	IsOwner *int64 `json:"is_owner,omitempty" xml:"is_owner,omitempty"`
	// Indicates whether the permissions are granted to the RAM role. Valid values:
	//
	// *   `0`: indicates that the permissions are not granted to the RAM role.
	// *   `1`: indicates that the permissions are granted to the RAM role.
	IsRamRole *int64 `json:"is_ram_role,omitempty" xml:"is_ram_role,omitempty"`
}

func (DescribeUserPermissionResponseBody) GoString

func (*DescribeUserPermissionResponseBody) SetIsOwner

func (*DescribeUserPermissionResponseBody) SetIsRamRole

func (*DescribeUserPermissionResponseBody) SetResourceId

func (*DescribeUserPermissionResponseBody) SetResourceType

func (*DescribeUserPermissionResponseBody) SetRoleName

func (*DescribeUserPermissionResponseBody) SetRoleType

func (DescribeUserPermissionResponseBody) String

type DescribeUserQuotaResponse

type DescribeUserQuotaResponse struct {
	Headers    map[string]*string             `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                         `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DescribeUserQuotaResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DescribeUserQuotaResponse) GoString

func (s DescribeUserQuotaResponse) GoString() string

func (*DescribeUserQuotaResponse) SetBody

func (*DescribeUserQuotaResponse) SetHeaders

func (*DescribeUserQuotaResponse) SetStatusCode

func (DescribeUserQuotaResponse) String

func (s DescribeUserQuotaResponse) String() string

type DescribeUserQuotaResponseBody

type DescribeUserQuotaResponseBody struct {
	// The quota of Container Service for Kubernetes (ACK) managed clusters. Default value: 20. If the default quota limit is reached, submit an application in the [Quota Center console](https://quotas.console.aliyun.com/products/csk/quotas) to increase the quota.
	AmkClusterQuota *int64 `json:"amk_cluster_quota,omitempty" xml:"amk_cluster_quota,omitempty"`
	// The quota of ACK Serverless clusters. Default value: 20. If the default quota limit is reached, submit an application in the [Quota Center console](https://quotas.console.aliyun.com/products/csk/quotas) to increase the quota.
	AskClusterQuota *int64 `json:"ask_cluster_quota,omitempty" xml:"ask_cluster_quota,omitempty"`
	// The quota of node pools in an ACK cluster. Default value: 20. If the default quota limit is reached, submit an application in the [Quota Center console](https://quotas.console.aliyun.com/products/csk/quotas) to increase the quota.
	ClusterNodepoolQuota *int64 `json:"cluster_nodepool_quota,omitempty" xml:"cluster_nodepool_quota,omitempty"`
	// The quota of clusters that belong to an Alibaba Cloud account. Default value: 50. If the default quota limit is reached, submit an application in the [Quota Center console](https://quotas.console.aliyun.com/products/csk/quotas) to increase the quota.
	ClusterQuota *int64 `json:"cluster_quota,omitempty" xml:"cluster_quota,omitempty"`
	// The quota of enhanced edge node pools.
	EdgeImprovedNodepoolQuota *DescribeUserQuotaResponseBodyEdgeImprovedNodepoolQuota `json:"edge_improved_nodepool_quota,omitempty" xml:"edge_improved_nodepool_quota,omitempty" type:"Struct"`
	// The quota of nodes in an ACK cluster. Default value: 100. If the default quota limit is reached, submit an application in the [Quota Center console](https://quotas.console.aliyun.com/products/csk/quotas) to increase the quota.
	NodeQuota *int64 `json:"node_quota,omitempty" xml:"node_quota,omitempty"`
	// Information about the new quota.
	Quotas map[string]*QuotasValue `json:"quotas,omitempty" xml:"quotas,omitempty"`
}

func (DescribeUserQuotaResponseBody) GoString

func (*DescribeUserQuotaResponseBody) SetAmkClusterQuota

func (*DescribeUserQuotaResponseBody) SetAskClusterQuota

func (*DescribeUserQuotaResponseBody) SetClusterNodepoolQuota

func (s *DescribeUserQuotaResponseBody) SetClusterNodepoolQuota(v int64) *DescribeUserQuotaResponseBody

func (*DescribeUserQuotaResponseBody) SetClusterQuota

func (*DescribeUserQuotaResponseBody) SetNodeQuota

func (*DescribeUserQuotaResponseBody) SetQuotas

func (DescribeUserQuotaResponseBody) String

type DescribeUserQuotaResponseBodyEdgeImprovedNodepoolQuota

type DescribeUserQuotaResponseBodyEdgeImprovedNodepoolQuota struct {
	// The maximum bandwidth of each enhanced node pool. Unit: Mbit/s.
	Bandwidth *int32 `json:"bandwidth,omitempty" xml:"bandwidth,omitempty"`
	// The quota of enhanced edge node pools that belong to an Alibaba Cloud account.
	Count *int32 `json:"count,omitempty" xml:"count,omitempty"`
	// The maximum subscription duration of an enhanced edge node pool. Unit: months.
	//
	// > You can ignore this parameter because enhanced edge node pools are pay-as-you-go resources.
	Period *int32 `json:"period,omitempty" xml:"period,omitempty"`
}

func (DescribeUserQuotaResponseBodyEdgeImprovedNodepoolQuota) GoString

func (*DescribeUserQuotaResponseBodyEdgeImprovedNodepoolQuota) SetBandwidth

func (*DescribeUserQuotaResponseBodyEdgeImprovedNodepoolQuota) SetCount

func (*DescribeUserQuotaResponseBodyEdgeImprovedNodepoolQuota) SetPeriod

func (DescribeUserQuotaResponseBodyEdgeImprovedNodepoolQuota) String

type DescribeWorkflowsResponse

type DescribeWorkflowsResponse struct {
	Headers    map[string]*string             `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                         `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DescribeWorkflowsResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DescribeWorkflowsResponse) GoString

func (s DescribeWorkflowsResponse) GoString() string

func (*DescribeWorkflowsResponse) SetBody

func (*DescribeWorkflowsResponse) SetHeaders

func (*DescribeWorkflowsResponse) SetStatusCode

func (DescribeWorkflowsResponse) String

func (s DescribeWorkflowsResponse) String() string

type DescribeWorkflowsResponseBody

type DescribeWorkflowsResponseBody struct {
	// The list of jobs.
	Jobs []*DescribeWorkflowsResponseBodyJobs `json:"jobs,omitempty" xml:"jobs,omitempty" type:"Repeated"`
}

func (DescribeWorkflowsResponseBody) GoString

func (*DescribeWorkflowsResponseBody) SetJobs

func (DescribeWorkflowsResponseBody) String

type DescribeWorkflowsResponseBodyJobs

type DescribeWorkflowsResponseBodyJobs struct {
	// The cluster ID.
	ClusterId *string `json:"cluster_id,omitempty" xml:"cluster_id,omitempty"`
	// The time when the workflow was created.
	CreateTime *string `json:"create_time,omitempty" xml:"create_time,omitempty"`
	// The name of the workflow.
	JobName *string `json:"job_name,omitempty" xml:"job_name,omitempty"`
}

func (DescribeWorkflowsResponseBodyJobs) GoString

func (*DescribeWorkflowsResponseBodyJobs) SetClusterId

func (*DescribeWorkflowsResponseBodyJobs) SetCreateTime

func (*DescribeWorkflowsResponseBodyJobs) SetJobName

func (DescribeWorkflowsResponseBodyJobs) String

type EdgeClusterAddEdgeMachineRequest

type EdgeClusterAddEdgeMachineRequest struct {
	// The timeout period of sessions. Unit: seconds.
	Expired *int64 `json:"expired,omitempty" xml:"expired,omitempty"`
	// The node pool ID.
	NodepoolId *string `json:"nodepool_id,omitempty" xml:"nodepool_id,omitempty"`
	// The options that you want to configure.
	Options *string `json:"options,omitempty" xml:"options,omitempty"`
}

func (EdgeClusterAddEdgeMachineRequest) GoString

func (*EdgeClusterAddEdgeMachineRequest) SetExpired

func (*EdgeClusterAddEdgeMachineRequest) SetNodepoolId

func (*EdgeClusterAddEdgeMachineRequest) SetOptions

func (EdgeClusterAddEdgeMachineRequest) String

type EdgeClusterAddEdgeMachineResponse

type EdgeClusterAddEdgeMachineResponse struct {
	Headers    map[string]*string                     `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                 `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *EdgeClusterAddEdgeMachineResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (EdgeClusterAddEdgeMachineResponse) GoString

func (*EdgeClusterAddEdgeMachineResponse) SetHeaders

func (*EdgeClusterAddEdgeMachineResponse) SetStatusCode

func (EdgeClusterAddEdgeMachineResponse) String

type EdgeClusterAddEdgeMachineResponseBody

type EdgeClusterAddEdgeMachineResponseBody struct {
	// The ID of the cloud-native box.
	EdgeMachineId *string `json:"edge_machine_id,omitempty" xml:"edge_machine_id,omitempty"`
	// The request ID.
	RequestId *string `json:"request_id,omitempty" xml:"request_id,omitempty"`
}

func (EdgeClusterAddEdgeMachineResponseBody) GoString

func (*EdgeClusterAddEdgeMachineResponseBody) SetEdgeMachineId

func (*EdgeClusterAddEdgeMachineResponseBody) SetRequestId

func (EdgeClusterAddEdgeMachineResponseBody) String

type FixNodePoolVulsRequest

type FixNodePoolVulsRequest struct {
	// Specifies whether to allow the nodes to restart.
	AutoRestart *bool `json:"auto_restart,omitempty" xml:"auto_restart,omitempty"`
	// The names of the nodes to be patched.
	Nodes []*string `json:"nodes,omitempty" xml:"nodes,omitempty" type:"Repeated"`
	// The batch patching policy.
	RolloutPolicy *FixNodePoolVulsRequestRolloutPolicy `json:"rollout_policy,omitempty" xml:"rollout_policy,omitempty" type:"Struct"`
	// The list of vulnerabilities.
	Vuls []*string `json:"vuls,omitempty" xml:"vuls,omitempty" type:"Repeated"`
}

func (FixNodePoolVulsRequest) GoString

func (s FixNodePoolVulsRequest) GoString() string

func (*FixNodePoolVulsRequest) SetAutoRestart

func (s *FixNodePoolVulsRequest) SetAutoRestart(v bool) *FixNodePoolVulsRequest

func (*FixNodePoolVulsRequest) SetNodes

func (*FixNodePoolVulsRequest) SetRolloutPolicy

func (*FixNodePoolVulsRequest) SetVuls

func (FixNodePoolVulsRequest) String

func (s FixNodePoolVulsRequest) String() string

type FixNodePoolVulsRequestRolloutPolicy

type FixNodePoolVulsRequestRolloutPolicy struct {
	// The maximum concurrency for batch patching. Minimum value: 1. The maximum value equals the number of nodes in the node pool.
	MaxParallelism *int64 `json:"max_parallelism,omitempty" xml:"max_parallelism,omitempty"`
}

func (FixNodePoolVulsRequestRolloutPolicy) GoString

func (*FixNodePoolVulsRequestRolloutPolicy) SetMaxParallelism

func (FixNodePoolVulsRequestRolloutPolicy) String

type FixNodePoolVulsResponse

type FixNodePoolVulsResponse struct {
	Headers    map[string]*string           `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                       `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *FixNodePoolVulsResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (FixNodePoolVulsResponse) GoString

func (s FixNodePoolVulsResponse) GoString() string

func (*FixNodePoolVulsResponse) SetBody

func (*FixNodePoolVulsResponse) SetHeaders

func (*FixNodePoolVulsResponse) SetStatusCode

func (FixNodePoolVulsResponse) String

func (s FixNodePoolVulsResponse) String() string

type FixNodePoolVulsResponseBody

type FixNodePoolVulsResponseBody struct {
	// The ID of the CVE patching task.
	TaskId *string `json:"task_id,omitempty" xml:"task_id,omitempty"`
}

func (FixNodePoolVulsResponseBody) GoString

func (s FixNodePoolVulsResponseBody) GoString() string

func (*FixNodePoolVulsResponseBody) SetTaskId

func (FixNodePoolVulsResponseBody) String

type GetClusterAddonInstanceResponse

type GetClusterAddonInstanceResponse struct {
	Headers    map[string]*string                   `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                               `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *GetClusterAddonInstanceResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (GetClusterAddonInstanceResponse) GoString

func (*GetClusterAddonInstanceResponse) SetHeaders

func (*GetClusterAddonInstanceResponse) SetStatusCode

func (GetClusterAddonInstanceResponse) String

type GetClusterAddonInstanceResponseBody

type GetClusterAddonInstanceResponseBody struct {
	// The custom configurations of the component.
	Config *string `json:"config,omitempty" xml:"config,omitempty"`
	// The status of Simple Log Service.
	Logging *GetClusterAddonInstanceResponseBodyLogging `json:"logging,omitempty" xml:"logging,omitempty" type:"Struct"`
	// The name of the component instance.
	Name *string `json:"name,omitempty" xml:"name,omitempty"`
	// The status of the component. Valid values:
	//
	// *   active: The component is installed.
	// *   updating: The component is being modified.
	// *   upgrading: The component is being updated.
	// *   deleting: The component is being uninstalled.
	State *string `json:"state,omitempty" xml:"state,omitempty"`
	// The version of the component instance.
	Version *string `json:"version,omitempty" xml:"version,omitempty"`
}

func (GetClusterAddonInstanceResponseBody) GoString

func (*GetClusterAddonInstanceResponseBody) SetConfig

func (*GetClusterAddonInstanceResponseBody) SetName

func (*GetClusterAddonInstanceResponseBody) SetState

func (*GetClusterAddonInstanceResponseBody) SetVersion

func (GetClusterAddonInstanceResponseBody) String

type GetClusterAddonInstanceResponseBodyLogging

type GetClusterAddonInstanceResponseBodyLogging struct {
	// Indicates whether Simple Log Service is supported by the component.
	Capable *bool `json:"capable,omitempty" xml:"capable,omitempty"`
	// Indicates whether Simple Log Service is enabled for the component.
	Enabled *bool `json:"enabled,omitempty" xml:"enabled,omitempty"`
	// The Simple Log Service project that is used to collect logs for the component.
	LogProject *string `json:"log_project,omitempty" xml:"log_project,omitempty"`
	// The Simple Log Service Logstore that is used to collect logs for the component.
	Logstore *string `json:"logstore,omitempty" xml:"logstore,omitempty"`
}

func (GetClusterAddonInstanceResponseBodyLogging) GoString

func (*GetClusterAddonInstanceResponseBodyLogging) SetCapable

func (*GetClusterAddonInstanceResponseBodyLogging) SetEnabled

func (*GetClusterAddonInstanceResponseBodyLogging) SetLogProject

func (*GetClusterAddonInstanceResponseBodyLogging) SetLogstore

func (GetClusterAddonInstanceResponseBodyLogging) String

type GetClusterCheckResponse

type GetClusterCheckResponse struct {
	Headers    map[string]*string           `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                       `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *GetClusterCheckResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (GetClusterCheckResponse) GoString

func (s GetClusterCheckResponse) GoString() string

func (*GetClusterCheckResponse) SetBody

func (*GetClusterCheckResponse) SetHeaders

func (*GetClusterCheckResponse) SetStatusCode

func (GetClusterCheckResponse) String

func (s GetClusterCheckResponse) String() string

type GetClusterCheckResponseBody

type GetClusterCheckResponseBody struct {
	// Id of the request
	CheckId *string `json:"check_id,omitempty" xml:"check_id,omitempty"`
	// The list of check items.
	CheckItems map[string][]map[string]interface{} `json:"check_items,omitempty" xml:"check_items,omitempty"`
	// The time when the cluster check task was created.
	CreatedAt *string `json:"created_at,omitempty" xml:"created_at,omitempty"`
	// The time when the cluster check task was completed.
	FinishedAt *string `json:"finished_at,omitempty" xml:"finished_at,omitempty"`
	// The message that indicates the status of the cluster check task.
	Message *string `json:"message,omitempty" xml:"message,omitempty"`
	// The status of the cluster check.
	Status *string `json:"status,omitempty" xml:"status,omitempty"`
	// The check method.
	Type *string `json:"type,omitempty" xml:"type,omitempty"`
}

func (GetClusterCheckResponseBody) GoString

func (s GetClusterCheckResponseBody) GoString() string

func (*GetClusterCheckResponseBody) SetCheckId

func (*GetClusterCheckResponseBody) SetCheckItems

func (s *GetClusterCheckResponseBody) SetCheckItems(v map[string][]map[string]interface{}) *GetClusterCheckResponseBody

func (*GetClusterCheckResponseBody) SetCreatedAt

func (*GetClusterCheckResponseBody) SetFinishedAt

func (*GetClusterCheckResponseBody) SetMessage

func (*GetClusterCheckResponseBody) SetStatus

func (*GetClusterCheckResponseBody) SetType

func (GetClusterCheckResponseBody) String

type GetKubernetesTriggerRequest

type GetKubernetesTriggerRequest struct {
	// The application name.
	Name *string `json:"Name,omitempty" xml:"Name,omitempty"`
	// The namespace name.
	Namespace *string `json:"Namespace,omitempty" xml:"Namespace,omitempty"`
	// The type of trigger. Valid values:
	//
	// *   `deployment`: performs actions on Deployments.
	// *   `application`: performs actions on applications that are deployed in Application Center.
	//
	// Default value: `deployment`.
	//
	// If you do not set this parameter, triggers are not filtered by type.
	Type *string `json:"Type,omitempty" xml:"Type,omitempty"`
	// The action that the trigger performs. Set the value to redeploy.
	//
	// `redeploy`: redeploys the resources specified by `project_id`.
	//
	// If you do not specify this parameter, triggers are not filtered by action.
	Action *string `json:"action,omitempty" xml:"action,omitempty"`
}

func (GetKubernetesTriggerRequest) GoString

func (s GetKubernetesTriggerRequest) GoString() string

func (*GetKubernetesTriggerRequest) SetAction

func (*GetKubernetesTriggerRequest) SetName

func (*GetKubernetesTriggerRequest) SetNamespace

func (*GetKubernetesTriggerRequest) SetType

func (GetKubernetesTriggerRequest) String

type GetKubernetesTriggerResponse

type GetKubernetesTriggerResponse struct {
	Headers    map[string]*string                  `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                              `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       []*GetKubernetesTriggerResponseBody `json:"body,omitempty" xml:"body,omitempty" type:"Repeated"`
}

func (GetKubernetesTriggerResponse) GoString

func (s GetKubernetesTriggerResponse) GoString() string

func (*GetKubernetesTriggerResponse) SetBody

func (*GetKubernetesTriggerResponse) SetHeaders

func (*GetKubernetesTriggerResponse) SetStatusCode

func (GetKubernetesTriggerResponse) String

type GetKubernetesTriggerResponseBody

type GetKubernetesTriggerResponseBody struct {
	// The ID of the trigger.
	Id *string `json:"id,omitempty" xml:"id,omitempty"`
	// The name of the trigger.
	Name *string `json:"name,omitempty" xml:"name,omitempty"`
	// The ID of the associated cluster.
	ClusterId *string `json:"cluster_id,omitempty" xml:"cluster_id,omitempty"`
	// The name of the project.
	//
	// The name consists of the namespace where the application is deployed and the name of the application. The format is `${namespace}/${name}`. Example: default/test-app.
	ProjectId *string `json:"project_id,omitempty" xml:"project_id,omitempty"`
	// The type of trigger.
	//
	// Valid values:
	//
	// *   `deployment`: performs actions on Deployments.
	// *   `application`: performs actions on applications that are deployed in Application Center.
	//
	// Default value: `deployment`.
	Type *string `json:"type,omitempty" xml:"type,omitempty"`
	// The action that the trigger performs. The value is set to redeploy.
	//
	// `redeploy`: redeploys the resource specified by project_id.
	Action *string `json:"action,omitempty" xml:"action,omitempty"`
	// Token
	Token *string `json:"token,omitempty" xml:"token,omitempty"`
}

func (GetKubernetesTriggerResponseBody) GoString

func (*GetKubernetesTriggerResponseBody) SetAction

func (*GetKubernetesTriggerResponseBody) SetClusterId

func (*GetKubernetesTriggerResponseBody) SetId

func (*GetKubernetesTriggerResponseBody) SetName

func (*GetKubernetesTriggerResponseBody) SetProjectId

func (*GetKubernetesTriggerResponseBody) SetToken

func (*GetKubernetesTriggerResponseBody) SetType

func (GetKubernetesTriggerResponseBody) String

type GetUpgradeStatusResponse

type GetUpgradeStatusResponse struct {
	Headers    map[string]*string            `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                        `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *GetUpgradeStatusResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (GetUpgradeStatusResponse) GoString

func (s GetUpgradeStatusResponse) GoString() string

func (*GetUpgradeStatusResponse) SetBody

func (*GetUpgradeStatusResponse) SetHeaders

func (*GetUpgradeStatusResponse) SetStatusCode

func (GetUpgradeStatusResponse) String

func (s GetUpgradeStatusResponse) String() string

type GetUpgradeStatusResponseBody

type GetUpgradeStatusResponseBody struct {
	// The error message returned during the update.
	ErrorMessage *string `json:"error_message,omitempty" xml:"error_message,omitempty"`
	// The ID of the precheck report.
	PrecheckReportId *string `json:"precheck_report_id,omitempty" xml:"precheck_report_id,omitempty"`
	// The status of the update. Valid values:
	//
	// *   `success`: The update is successful.
	// *   `fail`: The update failed.
	// *   `pause`: The update is paused.
	// *   `running`: The update is in progress.
	Status *string `json:"status,omitempty" xml:"status,omitempty"`
	// The current phase of the update. Valid values:
	//
	// *   `not_start`: The update is not started.
	// *   `prechecking`: The precheck is in progress.
	// *   `upgrading`: The cluster is being updated.
	// *   `pause`: The update is paused.
	// *   `success`: The update is successful.
	UpgradeStep *string `json:"upgrade_step,omitempty" xml:"upgrade_step,omitempty"`
	// The details of the update task.
	UpgradeTask *GetUpgradeStatusResponseBodyUpgradeTask `json:"upgrade_task,omitempty" xml:"upgrade_task,omitempty" type:"Struct"`
}

func (GetUpgradeStatusResponseBody) GoString

func (s GetUpgradeStatusResponseBody) GoString() string

func (*GetUpgradeStatusResponseBody) SetErrorMessage

func (*GetUpgradeStatusResponseBody) SetPrecheckReportId

func (*GetUpgradeStatusResponseBody) SetStatus

func (*GetUpgradeStatusResponseBody) SetUpgradeStep

func (GetUpgradeStatusResponseBody) String

type GetUpgradeStatusResponseBodyUpgradeTask

type GetUpgradeStatusResponseBodyUpgradeTask struct {
	// The description of the update task.
	Message *string `json:"message,omitempty" xml:"message,omitempty"`
	// The status of the update task. Valid values:
	//
	// *   `running`: The update task is being executed.
	// *   `Success`: The update task is successfully executed.
	// *   `Failed`: The update task failed.
	Status *string `json:"status,omitempty" xml:"status,omitempty"`
}

func (GetUpgradeStatusResponseBodyUpgradeTask) GoString

func (*GetUpgradeStatusResponseBodyUpgradeTask) SetMessage

func (*GetUpgradeStatusResponseBodyUpgradeTask) SetStatus

func (GetUpgradeStatusResponseBodyUpgradeTask) String

type GrantPermissionsRequest

type GrantPermissionsRequest struct {
	// The request body.
	Body []*GrantPermissionsRequestBody `json:"body,omitempty" xml:"body,omitempty" type:"Repeated"`
}

func (GrantPermissionsRequest) GoString

func (s GrantPermissionsRequest) GoString() string

func (*GrantPermissionsRequest) SetBody

func (GrantPermissionsRequest) String

func (s GrantPermissionsRequest) String() string

type GrantPermissionsRequestBody

type GrantPermissionsRequestBody struct {
	// The ID of the cluster that you want to manage.
	//
	// *   When the `role_type` parameter is set to `all-clusters`, this parameter is set to an empty string.
	Cluster *string `json:"cluster,omitempty" xml:"cluster,omitempty"`
	// Specifies whether to perform a custom authorization. To perform a custom authorization, set `role_name` to a custom cluster role.
	IsCustom *bool `json:"is_custom,omitempty" xml:"is_custom,omitempty"`
	// Specifies whether the permissions are granted to a RAM role.
	IsRamRole *bool `json:"is_ram_role,omitempty" xml:"is_ram_role,omitempty"`
	// The namespace to which the permissions are scoped. This parameter is required only if you set role_type to namespace.
	Namespace *string `json:"namespace,omitempty" xml:"namespace,omitempty"`
	// The predefined role name. Valid values:
	//
	// *   `admin`: administrator
	// *   `ops`: O\&M engineer
	// *   `dev`: developer
	// *   `restricted`: restricted user
	// *   The custom cluster role.
	RoleName *string `json:"role_name,omitempty" xml:"role_name,omitempty"`
	// The authorization type. Valid values:
	//
	// *   `cluster`: indicates that the permissions are scoped to a cluster.
	// *   `namespace`: specifies that the permissions are scoped to a namespace of a cluster.
	// *   `all-clusters`: specifies that the permissions are scoped to all clusters.
	RoleType *string `json:"role_type,omitempty" xml:"role_type,omitempty"`
}

func (GrantPermissionsRequestBody) GoString

func (s GrantPermissionsRequestBody) GoString() string

func (*GrantPermissionsRequestBody) SetCluster

func (*GrantPermissionsRequestBody) SetIsCustom

func (*GrantPermissionsRequestBody) SetIsRamRole

func (*GrantPermissionsRequestBody) SetNamespace

func (*GrantPermissionsRequestBody) SetRoleName

func (*GrantPermissionsRequestBody) SetRoleType

func (GrantPermissionsRequestBody) String

type GrantPermissionsResponse

type GrantPermissionsResponse struct {
	Headers    map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32             `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
}

func (GrantPermissionsResponse) GoString

func (s GrantPermissionsResponse) GoString() string

func (*GrantPermissionsResponse) SetHeaders

func (*GrantPermissionsResponse) SetStatusCode

func (GrantPermissionsResponse) String

func (s GrantPermissionsResponse) String() string

type InstallClusterAddonsRequest

type InstallClusterAddonsRequest struct {
	// The request body.
	Body []*InstallClusterAddonsRequestBody `json:"body,omitempty" xml:"body,omitempty" type:"Repeated"`
}

func (InstallClusterAddonsRequest) GoString

func (s InstallClusterAddonsRequest) GoString() string

func (*InstallClusterAddonsRequest) SetBody

func (InstallClusterAddonsRequest) String

type InstallClusterAddonsRequestBody

type InstallClusterAddonsRequestBody struct {
	// The custom component settings that you want to use. The value is a JSON string.
	Config *string `json:"config,omitempty" xml:"config,omitempty"`
	// The component name.
	Name *string `json:"name,omitempty" xml:"name,omitempty"`
	// The component version.
	//
	// >  You can call the [DescribeClusterAddonsVersion](~~197434~~) operation to query the version of a component.
	Version *string `json:"version,omitempty" xml:"version,omitempty"`
}

func (InstallClusterAddonsRequestBody) GoString

func (*InstallClusterAddonsRequestBody) SetConfig

func (*InstallClusterAddonsRequestBody) SetName

func (*InstallClusterAddonsRequestBody) SetVersion

func (InstallClusterAddonsRequestBody) String

type InstallClusterAddonsResponse

type InstallClusterAddonsResponse struct {
	Headers    map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32             `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
}

func (InstallClusterAddonsResponse) GoString

func (s InstallClusterAddonsResponse) GoString() string

func (*InstallClusterAddonsResponse) SetHeaders

func (*InstallClusterAddonsResponse) SetStatusCode

func (InstallClusterAddonsResponse) String

type KubeletConfig

type KubeletConfig struct {
	AllowedUnsafeSysctls    []*string              `json:"allowedUnsafeSysctls,omitempty" xml:"allowedUnsafeSysctls,omitempty" type:"Repeated"`
	ContainerLogMaxFiles    *int64                 `json:"containerLogMaxFiles,omitempty" xml:"containerLogMaxFiles,omitempty"`
	ContainerLogMaxSize     *string                `json:"containerLogMaxSize,omitempty" xml:"containerLogMaxSize,omitempty"`
	CpuManagerPolicy        *string                `json:"cpuManagerPolicy,omitempty" xml:"cpuManagerPolicy,omitempty"`
	EventBurst              *int64                 `json:"eventBurst,omitempty" xml:"eventBurst,omitempty"`
	EventRecordQPS          *int64                 `json:"eventRecordQPS,omitempty" xml:"eventRecordQPS,omitempty"`
	EvictionHard            map[string]interface{} `json:"evictionHard,omitempty" xml:"evictionHard,omitempty"`
	EvictionSoft            map[string]interface{} `json:"evictionSoft,omitempty" xml:"evictionSoft,omitempty"`
	EvictionSoftGracePeriod map[string]interface{} `json:"evictionSoftGracePeriod,omitempty" xml:"evictionSoftGracePeriod,omitempty"`
	FeatureGates            map[string]interface{} `json:"featureGates,omitempty" xml:"featureGates,omitempty"`
	KubeAPIBurst            *int64                 `json:"kubeAPIBurst,omitempty" xml:"kubeAPIBurst,omitempty"`
	KubeAPIQPS              *int64                 `json:"kubeAPIQPS,omitempty" xml:"kubeAPIQPS,omitempty"`
	KubeReserved            map[string]interface{} `json:"kubeReserved,omitempty" xml:"kubeReserved,omitempty"`
	MaxPods                 *int64                 `json:"maxPods,omitempty" xml:"maxPods,omitempty"`
	ReadOnlyPort            *int64                 `json:"readOnlyPort,omitempty" xml:"readOnlyPort,omitempty"`
	RegistryBurst           *int64                 `json:"registryBurst,omitempty" xml:"registryBurst,omitempty"`
	RegistryPullQPS         *int64                 `json:"registryPullQPS,omitempty" xml:"registryPullQPS,omitempty"`
	SerializeImagePulls     *bool                  `json:"serializeImagePulls,omitempty" xml:"serializeImagePulls,omitempty"`
	SystemReserved          map[string]interface{} `json:"systemReserved,omitempty" xml:"systemReserved,omitempty"`
}

func (KubeletConfig) GoString

func (s KubeletConfig) GoString() string

func (*KubeletConfig) SetAllowedUnsafeSysctls

func (s *KubeletConfig) SetAllowedUnsafeSysctls(v []*string) *KubeletConfig

func (*KubeletConfig) SetContainerLogMaxFiles

func (s *KubeletConfig) SetContainerLogMaxFiles(v int64) *KubeletConfig

func (*KubeletConfig) SetContainerLogMaxSize

func (s *KubeletConfig) SetContainerLogMaxSize(v string) *KubeletConfig

func (*KubeletConfig) SetCpuManagerPolicy

func (s *KubeletConfig) SetCpuManagerPolicy(v string) *KubeletConfig

func (*KubeletConfig) SetEventBurst

func (s *KubeletConfig) SetEventBurst(v int64) *KubeletConfig

func (*KubeletConfig) SetEventRecordQPS

func (s *KubeletConfig) SetEventRecordQPS(v int64) *KubeletConfig

func (*KubeletConfig) SetEvictionHard

func (s *KubeletConfig) SetEvictionHard(v map[string]interface{}) *KubeletConfig

func (*KubeletConfig) SetEvictionSoft

func (s *KubeletConfig) SetEvictionSoft(v map[string]interface{}) *KubeletConfig

func (*KubeletConfig) SetEvictionSoftGracePeriod

func (s *KubeletConfig) SetEvictionSoftGracePeriod(v map[string]interface{}) *KubeletConfig

func (*KubeletConfig) SetFeatureGates

func (s *KubeletConfig) SetFeatureGates(v map[string]interface{}) *KubeletConfig

func (*KubeletConfig) SetKubeAPIBurst

func (s *KubeletConfig) SetKubeAPIBurst(v int64) *KubeletConfig

func (*KubeletConfig) SetKubeAPIQPS

func (s *KubeletConfig) SetKubeAPIQPS(v int64) *KubeletConfig

func (*KubeletConfig) SetKubeReserved

func (s *KubeletConfig) SetKubeReserved(v map[string]interface{}) *KubeletConfig

func (*KubeletConfig) SetMaxPods

func (s *KubeletConfig) SetMaxPods(v int64) *KubeletConfig

func (*KubeletConfig) SetReadOnlyPort

func (s *KubeletConfig) SetReadOnlyPort(v int64) *KubeletConfig

func (*KubeletConfig) SetRegistryBurst

func (s *KubeletConfig) SetRegistryBurst(v int64) *KubeletConfig

func (*KubeletConfig) SetRegistryPullQPS

func (s *KubeletConfig) SetRegistryPullQPS(v int64) *KubeletConfig

func (*KubeletConfig) SetSerializeImagePulls

func (s *KubeletConfig) SetSerializeImagePulls(v bool) *KubeletConfig

func (*KubeletConfig) SetSystemReserved

func (s *KubeletConfig) SetSystemReserved(v map[string]interface{}) *KubeletConfig

func (KubeletConfig) String

func (s KubeletConfig) String() string

type ListAddonsRequest

type ListAddonsRequest struct {
	// The cluster ID. If you specify a cluster ID, only components used in the specified cluster are queried. Other parameters are ignored.
	ClusterId *string `json:"cluster_id,omitempty" xml:"cluster_id,omitempty"`
	// The specifications of the cluster. If cluster_id is specified, this parameter is ignored. You must specify the region_id, cluster_type, profile, cluster_spec, and cluster_version parameters at the same time.
	ClusterSpec *string `json:"cluster_spec,omitempty" xml:"cluster_spec,omitempty"`
	// The type of the cluster. If cluster_id is specified, this parameter is ignored. You must specify the region_id, cluster_type, profile, cluster_spec, and cluster_version parameters at the same time.
	ClusterType *string `json:"cluster_type,omitempty" xml:"cluster_type,omitempty"`
	// The version of the cluster. If cluster_id is specified, this parameter is ignored. You must specify the region_id, cluster_type, profile, cluster_spec, and cluster_version parameters at the same time.
	ClusterVersion *string `json:"cluster_version,omitempty" xml:"cluster_version,omitempty"`
	// The subtype of the cluster. If cluster_id is specified, this parameter is ignored. You must specify the region_id, cluster_type, profile, cluster_spec, and cluster_version parameters at the same time.
	Profile *string `json:"profile,omitempty" xml:"profile,omitempty"`
	// The region of the cluster. If cluster_id is specified, this parameter is ignored. You must specify the region_id, cluster_type, profile, cluster_spec, and cluster_version parameters at the same time.
	RegionId *string `json:"region_id,omitempty" xml:"region_id,omitempty"`
}

func (ListAddonsRequest) GoString

func (s ListAddonsRequest) GoString() string

func (*ListAddonsRequest) SetClusterId

func (s *ListAddonsRequest) SetClusterId(v string) *ListAddonsRequest

func (*ListAddonsRequest) SetClusterSpec

func (s *ListAddonsRequest) SetClusterSpec(v string) *ListAddonsRequest

func (*ListAddonsRequest) SetClusterType

func (s *ListAddonsRequest) SetClusterType(v string) *ListAddonsRequest

func (*ListAddonsRequest) SetClusterVersion

func (s *ListAddonsRequest) SetClusterVersion(v string) *ListAddonsRequest

func (*ListAddonsRequest) SetProfile

func (s *ListAddonsRequest) SetProfile(v string) *ListAddonsRequest

func (*ListAddonsRequest) SetRegionId

func (s *ListAddonsRequest) SetRegionId(v string) *ListAddonsRequest

func (ListAddonsRequest) String

func (s ListAddonsRequest) String() string

type ListAddonsResponse

type ListAddonsResponse struct {
	Headers    map[string]*string      `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                  `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *ListAddonsResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (ListAddonsResponse) GoString

func (s ListAddonsResponse) GoString() string

func (*ListAddonsResponse) SetBody

func (*ListAddonsResponse) SetHeaders

func (s *ListAddonsResponse) SetHeaders(v map[string]*string) *ListAddonsResponse

func (*ListAddonsResponse) SetStatusCode

func (s *ListAddonsResponse) SetStatusCode(v int32) *ListAddonsResponse

func (ListAddonsResponse) String

func (s ListAddonsResponse) String() string

type ListAddonsResponseBody

type ListAddonsResponseBody struct {
	// The list of available components.
	Addons []*ListAddonsResponseBodyAddons `json:"addons,omitempty" xml:"addons,omitempty" type:"Repeated"`
}

func (ListAddonsResponseBody) GoString

func (s ListAddonsResponseBody) GoString() string

func (*ListAddonsResponseBody) SetAddons

func (ListAddonsResponseBody) String

func (s ListAddonsResponseBody) String() string

type ListAddonsResponseBodyAddons

type ListAddonsResponseBodyAddons struct {
	// Architectures supported by the component. Valid values:
	//
	// *   amd64
	// *   arm64
	Architecture []*string `json:"architecture,omitempty" xml:"architecture,omitempty" type:"Repeated"`
	// The category of the component.
	Category *string `json:"category,omitempty" xml:"category,omitempty"`
	// The schema of the custom parameters of the component.
	ConfigSchema *string `json:"config_schema,omitempty" xml:"config_schema,omitempty"`
	// Indicates whether the component is automatically installed by default.
	InstallByDefault *bool `json:"install_by_default,omitempty" xml:"install_by_default,omitempty"`
	// Indicates whether the component is fully managed.
	Managed *bool `json:"managed,omitempty" xml:"managed,omitempty"`
	// The component name.
	Name *string `json:"name,omitempty" xml:"name,omitempty"`
	// Operations supported by the component. Valid values:
	//
	// *   Install
	// *   Upgrade
	// *   Modify
	// *   Uninstall
	SupportedActions []*string `json:"supported_actions,omitempty" xml:"supported_actions,omitempty" type:"Repeated"`
	// The version number.
	Version *string `json:"version,omitempty" xml:"version,omitempty"`
}

func (ListAddonsResponseBodyAddons) GoString

func (s ListAddonsResponseBodyAddons) GoString() string

func (*ListAddonsResponseBodyAddons) SetArchitecture

func (*ListAddonsResponseBodyAddons) SetCategory

func (*ListAddonsResponseBodyAddons) SetConfigSchema

func (*ListAddonsResponseBodyAddons) SetInstallByDefault

func (*ListAddonsResponseBodyAddons) SetManaged

func (*ListAddonsResponseBodyAddons) SetName

func (*ListAddonsResponseBodyAddons) SetSupportedActions

func (*ListAddonsResponseBodyAddons) SetVersion

func (ListAddonsResponseBodyAddons) String

type ListClusterAddonInstancesResponse

type ListClusterAddonInstancesResponse struct {
	Headers    map[string]*string                     `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                 `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *ListClusterAddonInstancesResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (ListClusterAddonInstancesResponse) GoString

func (*ListClusterAddonInstancesResponse) SetHeaders

func (*ListClusterAddonInstancesResponse) SetStatusCode

func (ListClusterAddonInstancesResponse) String

type ListClusterAddonInstancesResponseBody

type ListClusterAddonInstancesResponseBody struct {
	// A list of components that are installed in the cluster.
	Addons []*ListClusterAddonInstancesResponseBodyAddons `json:"addons,omitempty" xml:"addons,omitempty" type:"Repeated"`
}

func (ListClusterAddonInstancesResponseBody) GoString

func (ListClusterAddonInstancesResponseBody) String

type ListClusterAddonInstancesResponseBodyAddons

type ListClusterAddonInstancesResponseBodyAddons struct {
	// The component name.
	Name *string `json:"name,omitempty" xml:"name,omitempty"`
	// The status of the component. Valid values:
	//
	// *   active: The component is installed.
	// *   updating: The component is being modified.
	// *   upgrading: The component is being updated.
	// *   deleting: The component is being uninstalled.
	State *string `json:"state,omitempty" xml:"state,omitempty"`
	// The version of the component.
	Version *string `json:"version,omitempty" xml:"version,omitempty"`
}

func (ListClusterAddonInstancesResponseBodyAddons) GoString

func (*ListClusterAddonInstancesResponseBodyAddons) SetName

func (*ListClusterAddonInstancesResponseBodyAddons) SetState

func (*ListClusterAddonInstancesResponseBodyAddons) SetVersion

func (ListClusterAddonInstancesResponseBodyAddons) String

type ListClusterChecksRequest

type ListClusterChecksRequest struct {
	// The targets to check.
	Target *string `json:"target,omitempty" xml:"target,omitempty"`
	// The check method.
	Type *string `json:"type,omitempty" xml:"type,omitempty"`
}

func (ListClusterChecksRequest) GoString

func (s ListClusterChecksRequest) GoString() string

func (*ListClusterChecksRequest) SetTarget

func (*ListClusterChecksRequest) SetType

func (ListClusterChecksRequest) String

func (s ListClusterChecksRequest) String() string

type ListClusterChecksResponse

type ListClusterChecksResponse struct {
	Headers    map[string]*string             `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                         `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *ListClusterChecksResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (ListClusterChecksResponse) GoString

func (s ListClusterChecksResponse) GoString() string

func (*ListClusterChecksResponse) SetBody

func (*ListClusterChecksResponse) SetHeaders

func (*ListClusterChecksResponse) SetStatusCode

func (ListClusterChecksResponse) String

func (s ListClusterChecksResponse) String() string

type ListClusterChecksResponseBody

type ListClusterChecksResponseBody struct {
	// The list of check items.
	Checks []*ListClusterChecksResponseBodyChecks `json:"checks,omitempty" xml:"checks,omitempty" type:"Repeated"`
}

func (ListClusterChecksResponseBody) GoString

func (*ListClusterChecksResponseBody) SetChecks

func (ListClusterChecksResponseBody) String

type ListClusterChecksResponseBodyChecks

type ListClusterChecksResponseBodyChecks struct {
	// The ID of the cluster check task.
	CheckId *string `json:"check_id,omitempty" xml:"check_id,omitempty"`
	// The time when the cluster check task was created.
	CreatedAt *string `json:"created_at,omitempty" xml:"created_at,omitempty"`
	// The time when the cluster check task was completed.
	FinishedAt *string `json:"finished_at,omitempty" xml:"finished_at,omitempty"`
	// The message that indicates the status of the cluster check task.
	Message *string `json:"message,omitempty" xml:"message,omitempty"`
	// The status of the cluster check.
	Status *string `json:"status,omitempty" xml:"status,omitempty"`
	// The check method.
	Type *string `json:"type,omitempty" xml:"type,omitempty"`
}

func (ListClusterChecksResponseBodyChecks) GoString

func (*ListClusterChecksResponseBodyChecks) SetCheckId

func (*ListClusterChecksResponseBodyChecks) SetCreatedAt

func (*ListClusterChecksResponseBodyChecks) SetFinishedAt

func (*ListClusterChecksResponseBodyChecks) SetMessage

func (*ListClusterChecksResponseBodyChecks) SetStatus

func (*ListClusterChecksResponseBodyChecks) SetType

func (ListClusterChecksResponseBodyChecks) String

type ListOperationPlansRequest

type ListOperationPlansRequest struct {
	// The cluster ID.
	ClusterId *string `json:"cluster_id,omitempty" xml:"cluster_id,omitempty"`
	// The operation plan type.
	Type *string `json:"type,omitempty" xml:"type,omitempty"`
}

func (ListOperationPlansRequest) GoString

func (s ListOperationPlansRequest) GoString() string

func (*ListOperationPlansRequest) SetClusterId

func (*ListOperationPlansRequest) SetType

func (ListOperationPlansRequest) String

func (s ListOperationPlansRequest) String() string

type ListOperationPlansResponse

type ListOperationPlansResponse struct {
	Headers    map[string]*string              `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                          `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *ListOperationPlansResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (ListOperationPlansResponse) GoString

func (s ListOperationPlansResponse) GoString() string

func (*ListOperationPlansResponse) SetBody

func (*ListOperationPlansResponse) SetHeaders

func (*ListOperationPlansResponse) SetStatusCode

func (ListOperationPlansResponse) String

type ListOperationPlansResponseBody

type ListOperationPlansResponseBody struct {
	// The operation plans.
	Plans []*ListOperationPlansResponseBodyPlans `json:"plans,omitempty" xml:"plans,omitempty" type:"Repeated"`
}

func (ListOperationPlansResponseBody) GoString

func (*ListOperationPlansResponseBody) SetPlans

func (ListOperationPlansResponseBody) String

type ListOperationPlansResponseBodyPlans

type ListOperationPlansResponseBodyPlans struct {
	// The cluster ID.
	ClusterId *string `json:"cluster_id,omitempty" xml:"cluster_id,omitempty"`
	// The time when the operation plan was created.
	Created *string `json:"created,omitempty" xml:"created,omitempty"`
	// The expected end time of the plan.
	EndTime *string `json:"end_time,omitempty" xml:"end_time,omitempty"`
	// The operation plan ID.
	PlanId *string `json:"plan_id,omitempty" xml:"plan_id,omitempty"`
	// The expected start time of the plan.
	StartTime *string `json:"start_time,omitempty" xml:"start_time,omitempty"`
	// The plan status. Valid values:
	//
	// *   scheduled
	// *   Canceled
	State *string `json:"state,omitempty" xml:"state,omitempty"`
	// The target ID.
	TargetId *string `json:"target_id,omitempty" xml:"target_id,omitempty"`
	// The target type.
	TargetType *string `json:"target_type,omitempty" xml:"target_type,omitempty"`
	// The plan type. Valid values:
	//
	// *   cluster_upgrade
	Type *string `json:"type,omitempty" xml:"type,omitempty"`
}

func (ListOperationPlansResponseBodyPlans) GoString

func (*ListOperationPlansResponseBodyPlans) SetClusterId

func (*ListOperationPlansResponseBodyPlans) SetCreated

func (*ListOperationPlansResponseBodyPlans) SetEndTime

func (*ListOperationPlansResponseBodyPlans) SetPlanId

func (*ListOperationPlansResponseBodyPlans) SetStartTime

func (*ListOperationPlansResponseBodyPlans) SetState

func (*ListOperationPlansResponseBodyPlans) SetTargetId

func (*ListOperationPlansResponseBodyPlans) SetTargetType

func (*ListOperationPlansResponseBodyPlans) SetType

func (ListOperationPlansResponseBodyPlans) String

type ListTagResourcesRequest

type ListTagResourcesRequest struct {
	// The pagination token that is used in the next request to retrieve a new page of results.
	NextToken *string `json:"next_token,omitempty" xml:"next_token,omitempty"`
	// The region ID.
	RegionId *string `json:"region_id,omitempty" xml:"region_id,omitempty"`
	// The list of cluster IDs.
	ResourceIds []*string `json:"resource_ids,omitempty" xml:"resource_ids,omitempty" type:"Repeated"`
	// The resource type. Set the value to `CLUSTER`.
	ResourceType *string `json:"resource_type,omitempty" xml:"resource_type,omitempty"`
	// The list of labels that you want to query. You can specify at most 20 labels.
	Tags []*Tag `json:"tags,omitempty" xml:"tags,omitempty" type:"Repeated"`
}

func (ListTagResourcesRequest) GoString

func (s ListTagResourcesRequest) GoString() string

func (*ListTagResourcesRequest) SetNextToken

func (*ListTagResourcesRequest) SetRegionId

func (*ListTagResourcesRequest) SetResourceIds

func (s *ListTagResourcesRequest) SetResourceIds(v []*string) *ListTagResourcesRequest

func (*ListTagResourcesRequest) SetResourceType

func (*ListTagResourcesRequest) SetTags

func (ListTagResourcesRequest) String

func (s ListTagResourcesRequest) String() string

type ListTagResourcesResponse

type ListTagResourcesResponse struct {
	Headers    map[string]*string            `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                        `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *ListTagResourcesResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (ListTagResourcesResponse) GoString

func (s ListTagResourcesResponse) GoString() string

func (*ListTagResourcesResponse) SetBody

func (*ListTagResourcesResponse) SetHeaders

func (*ListTagResourcesResponse) SetStatusCode

func (ListTagResourcesResponse) String

func (s ListTagResourcesResponse) String() string

type ListTagResourcesResponseBody

type ListTagResourcesResponseBody struct {
	// The pagination token that is used in the next request to retrieve a new page of results.
	NextToken *string `json:"next_token,omitempty" xml:"next_token,omitempty"`
	// The request ID.
	RequestId *string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// The details of the queried labels and resources.
	TagResources *ListTagResourcesResponseBodyTagResources `json:"tag_resources,omitempty" xml:"tag_resources,omitempty" type:"Struct"`
}

func (ListTagResourcesResponseBody) GoString

func (s ListTagResourcesResponseBody) GoString() string

func (*ListTagResourcesResponseBody) SetNextToken

func (*ListTagResourcesResponseBody) SetRequestId

func (ListTagResourcesResponseBody) String

type ListTagResourcesResponseBodyTagResources

type ListTagResourcesResponseBodyTagResources struct {
	// The resource and label.
	TagResource []*ListTagResourcesResponseBodyTagResourcesTagResource `json:"tag_resource,omitempty" xml:"tag_resource,omitempty" type:"Repeated"`
}

func (ListTagResourcesResponseBodyTagResources) GoString

func (ListTagResourcesResponseBodyTagResources) String

type ListTagResourcesResponseBodyTagResourcesTagResource

type ListTagResourcesResponseBodyTagResourcesTagResource struct {
	// The ID of the resource.
	ResourceId *string `json:"resource_id,omitempty" xml:"resource_id,omitempty"`
	// The type of the resource. For more information, see [Labels](~~110425~~).
	ResourceType *string `json:"resource_type,omitempty" xml:"resource_type,omitempty"`
	// The key of the label.
	TagKey *string `json:"tag_key,omitempty" xml:"tag_key,omitempty"`
	// The value of the label.
	TagValue *string `json:"tag_value,omitempty" xml:"tag_value,omitempty"`
}

func (ListTagResourcesResponseBodyTagResourcesTagResource) GoString

func (*ListTagResourcesResponseBodyTagResourcesTagResource) SetResourceId

func (*ListTagResourcesResponseBodyTagResourcesTagResource) SetResourceType

func (*ListTagResourcesResponseBodyTagResourcesTagResource) SetTagKey

func (*ListTagResourcesResponseBodyTagResourcesTagResource) SetTagValue

func (ListTagResourcesResponseBodyTagResourcesTagResource) String

type ListTagResourcesShrinkRequest

type ListTagResourcesShrinkRequest struct {
	// The pagination token that is used in the next request to retrieve a new page of results.
	NextToken *string `json:"next_token,omitempty" xml:"next_token,omitempty"`
	// The region ID.
	RegionId *string `json:"region_id,omitempty" xml:"region_id,omitempty"`
	// The list of cluster IDs.
	ResourceIdsShrink *string `json:"resource_ids,omitempty" xml:"resource_ids,omitempty"`
	// The resource type. Set the value to `CLUSTER`.
	ResourceType *string `json:"resource_type,omitempty" xml:"resource_type,omitempty"`
	// The list of labels that you want to query. You can specify at most 20 labels.
	TagsShrink *string `json:"tags,omitempty" xml:"tags,omitempty"`
}

func (ListTagResourcesShrinkRequest) GoString

func (*ListTagResourcesShrinkRequest) SetNextToken

func (*ListTagResourcesShrinkRequest) SetRegionId

func (*ListTagResourcesShrinkRequest) SetResourceIdsShrink

func (*ListTagResourcesShrinkRequest) SetResourceType

func (*ListTagResourcesShrinkRequest) SetTagsShrink

func (ListTagResourcesShrinkRequest) String

type MaintenanceWindow

type MaintenanceWindow struct {
	Duration        *string `json:"duration,omitempty" xml:"duration,omitempty"`
	Enable          *bool   `json:"enable,omitempty" xml:"enable,omitempty"`
	MaintenanceTime *string `json:"maintenance_time,omitempty" xml:"maintenance_time,omitempty"`
	WeeklyPeriod    *string `json:"weekly_period,omitempty" xml:"weekly_period,omitempty"`
}

func (MaintenanceWindow) GoString

func (s MaintenanceWindow) GoString() string

func (*MaintenanceWindow) SetDuration

func (s *MaintenanceWindow) SetDuration(v string) *MaintenanceWindow

func (*MaintenanceWindow) SetEnable

func (s *MaintenanceWindow) SetEnable(v bool) *MaintenanceWindow

func (*MaintenanceWindow) SetMaintenanceTime

func (s *MaintenanceWindow) SetMaintenanceTime(v string) *MaintenanceWindow

func (*MaintenanceWindow) SetWeeklyPeriod

func (s *MaintenanceWindow) SetWeeklyPeriod(v string) *MaintenanceWindow

func (MaintenanceWindow) String

func (s MaintenanceWindow) String() string

type MigrateClusterRequest

type MigrateClusterRequest struct {
	// The endpoint of the OSS bucket.
	OssBucketEndpoint *string `json:"oss_bucket_endpoint,omitempty" xml:"oss_bucket_endpoint,omitempty"`
	// The name of the Object Storage Service (OSS) bucket.
	OssBucketName *string `json:"oss_bucket_name,omitempty" xml:"oss_bucket_name,omitempty"`
}

func (MigrateClusterRequest) GoString

func (s MigrateClusterRequest) GoString() string

func (*MigrateClusterRequest) SetOssBucketEndpoint

func (s *MigrateClusterRequest) SetOssBucketEndpoint(v string) *MigrateClusterRequest

func (*MigrateClusterRequest) SetOssBucketName

func (s *MigrateClusterRequest) SetOssBucketName(v string) *MigrateClusterRequest

func (MigrateClusterRequest) String

func (s MigrateClusterRequest) String() string

type MigrateClusterResponse

type MigrateClusterResponse struct {
	Headers    map[string]*string          `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                      `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *MigrateClusterResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (MigrateClusterResponse) GoString

func (s MigrateClusterResponse) GoString() string

func (*MigrateClusterResponse) SetBody

func (*MigrateClusterResponse) SetHeaders

func (*MigrateClusterResponse) SetStatusCode

func (MigrateClusterResponse) String

func (s MigrateClusterResponse) String() string

type MigrateClusterResponseBody

type MigrateClusterResponseBody struct {
	// The cluster ID.
	ClusterId *string `json:"cluster_id,omitempty" xml:"cluster_id,omitempty"`
	// The request ID.
	RequestId *string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// The task ID.
	TaskId *string `json:"task_id,omitempty" xml:"task_id,omitempty"`
}

func (MigrateClusterResponseBody) GoString

func (s MigrateClusterResponseBody) GoString() string

func (*MigrateClusterResponseBody) SetClusterId

func (*MigrateClusterResponseBody) SetRequestId

func (*MigrateClusterResponseBody) SetTaskId

func (MigrateClusterResponseBody) String

type ModifyClusterAddonRequest

type ModifyClusterAddonRequest struct {
	// The custom parameter settings that you want to use.
	Config *string `json:"config,omitempty" xml:"config,omitempty"`
}

func (ModifyClusterAddonRequest) GoString

func (s ModifyClusterAddonRequest) GoString() string

func (*ModifyClusterAddonRequest) SetConfig

func (ModifyClusterAddonRequest) String

func (s ModifyClusterAddonRequest) String() string

type ModifyClusterAddonResponse

type ModifyClusterAddonResponse struct {
	Headers    map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32             `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
}

func (ModifyClusterAddonResponse) GoString

func (s ModifyClusterAddonResponse) GoString() string

func (*ModifyClusterAddonResponse) SetHeaders

func (*ModifyClusterAddonResponse) SetStatusCode

func (ModifyClusterAddonResponse) String

type ModifyClusterConfigurationRequest

type ModifyClusterConfigurationRequest struct {
	// The custom configuration.
	CustomizeConfig []*ModifyClusterConfigurationRequestCustomizeConfig `json:"customize_config,omitempty" xml:"customize_config,omitempty" type:"Repeated"`
}

func (ModifyClusterConfigurationRequest) GoString

func (ModifyClusterConfigurationRequest) String

type ModifyClusterConfigurationRequestCustomizeConfig

type ModifyClusterConfigurationRequestCustomizeConfig struct {
	// The custom configuration.
	Configs []*ModifyClusterConfigurationRequestCustomizeConfigConfigs `json:"configs,omitempty" xml:"configs,omitempty" type:"Repeated"`
	// The name of the component.
	Name *string `json:"name,omitempty" xml:"name,omitempty"`
}

func (ModifyClusterConfigurationRequestCustomizeConfig) GoString

func (*ModifyClusterConfigurationRequestCustomizeConfig) SetName

func (ModifyClusterConfigurationRequestCustomizeConfig) String

type ModifyClusterConfigurationRequestCustomizeConfigConfigs

type ModifyClusterConfigurationRequestCustomizeConfigConfigs struct {
	// The name of the configuration item.
	Key *string `json:"key,omitempty" xml:"key,omitempty"`
	// The value of the configuration item.
	Value *string `json:"value,omitempty" xml:"value,omitempty"`
}

func (ModifyClusterConfigurationRequestCustomizeConfigConfigs) GoString

func (*ModifyClusterConfigurationRequestCustomizeConfigConfigs) SetKey

func (*ModifyClusterConfigurationRequestCustomizeConfigConfigs) SetValue

func (ModifyClusterConfigurationRequestCustomizeConfigConfigs) String

type ModifyClusterConfigurationResponse

type ModifyClusterConfigurationResponse struct {
	Headers    map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32             `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
}

func (ModifyClusterConfigurationResponse) GoString

func (*ModifyClusterConfigurationResponse) SetHeaders

func (*ModifyClusterConfigurationResponse) SetStatusCode

func (ModifyClusterConfigurationResponse) String

type ModifyClusterNodePoolRequest

type ModifyClusterNodePoolRequest struct {
	// The configuration of auto scaling.
	AutoScaling *ModifyClusterNodePoolRequestAutoScaling `json:"auto_scaling,omitempty" xml:"auto_scaling,omitempty" type:"Struct"`
	// Specifies whether concurrency is supported.
	Concurrency *bool `json:"concurrency,omitempty" xml:"concurrency,omitempty"`
	// The configuration of the cluster where the node pool is deployed.
	KubernetesConfig *ModifyClusterNodePoolRequestKubernetesConfig `json:"kubernetes_config,omitempty" xml:"kubernetes_config,omitempty" type:"Struct"`
	// The configuration of the managed node pool feature.
	Management *ModifyClusterNodePoolRequestManagement `json:"management,omitempty" xml:"management,omitempty" type:"Struct"`
	// The configurations of the node pool.
	NodepoolInfo *ModifyClusterNodePoolRequestNodepoolInfo `json:"nodepool_info,omitempty" xml:"nodepool_info,omitempty" type:"Struct"`
	// The configurations of the scaling group.
	ScalingGroup *ModifyClusterNodePoolRequestScalingGroup `json:"scaling_group,omitempty" xml:"scaling_group,omitempty" type:"Struct"`
	// The configurations about confidential computing for the cluster.
	TeeConfig *ModifyClusterNodePoolRequestTeeConfig `json:"tee_config,omitempty" xml:"tee_config,omitempty" type:"Struct"`
	// Specifies whether to update node information, such as labels and taints.
	UpdateNodes *bool `json:"update_nodes,omitempty" xml:"update_nodes,omitempty"`
}

func (ModifyClusterNodePoolRequest) GoString

func (s ModifyClusterNodePoolRequest) GoString() string

func (*ModifyClusterNodePoolRequest) SetConcurrency

func (*ModifyClusterNodePoolRequest) SetUpdateNodes

func (ModifyClusterNodePoolRequest) String

type ModifyClusterNodePoolRequestAutoScaling

type ModifyClusterNodePoolRequestAutoScaling struct {
	// Deprecated
	// The maximum bandwidth of the elastic IP address (EIP).
	EipBandwidth *int64 `json:"eip_bandwidth,omitempty" xml:"eip_bandwidth,omitempty"`
	// Deprecated
	// The metering method of the EIP. Valid values:
	//
	// *   `PayByBandwidth`: pay-by-bandwidth.
	// *   `PayByTraffic`: pay-by-data-transfer.
	//
	// Default value: `PayByBandwidth`.
	EipInternetChargeType *string `json:"eip_internet_charge_type,omitempty" xml:"eip_internet_charge_type,omitempty"`
	// Specifies whether to enable auto scaling. Valid values:
	//
	// *   `true`: enables auto scaling for the node pool.
	// *   `false`: disables auto scaling for the node pool. If you set this parameter to false, other parameters in the `auto_scaling` section do not take effect.
	//
	// Default value: `false`.
	Enable *bool `json:"enable,omitempty" xml:"enable,omitempty"`
	// Deprecated
	// Specifies whether to associate an EIP with the node pool. Valid values:
	//
	// *   `true`: associates an EIP with the node pool.
	// *   `false`: does not associate an EIP with the node pool.
	//
	// Default value: `false`.
	IsBondEip *bool `json:"is_bond_eip,omitempty" xml:"is_bond_eip,omitempty"`
	// The maximum number of Elastic Compute Service (ECS) instances that can be created in the node pool.
	MaxInstances *int64 `json:"max_instances,omitempty" xml:"max_instances,omitempty"`
	// The minimum number of ECS instances that must be kept in the node pool.
	MinInstances *int64 `json:"min_instances,omitempty" xml:"min_instances,omitempty"`
	// Deprecated
	// The instance types that can be used for the auto scaling of the node pool. Valid values:
	//
	// *   `cpu`: regular instance.
	// *   `gpu`: GPU-accelerated instance.
	// *   `gpushare`: shared GPU-accelerated instance
	// *   `spot`: preemptible instance
	//
	// Default value: `cpu`.
	Type *string `json:"type,omitempty" xml:"type,omitempty"`
}

func (ModifyClusterNodePoolRequestAutoScaling) GoString

func (*ModifyClusterNodePoolRequestAutoScaling) SetEipBandwidth

func (*ModifyClusterNodePoolRequestAutoScaling) SetEipInternetChargeType

func (*ModifyClusterNodePoolRequestAutoScaling) SetEnable

func (*ModifyClusterNodePoolRequestAutoScaling) SetIsBondEip

func (*ModifyClusterNodePoolRequestAutoScaling) SetMaxInstances

func (*ModifyClusterNodePoolRequestAutoScaling) SetMinInstances

func (*ModifyClusterNodePoolRequestAutoScaling) SetType

func (ModifyClusterNodePoolRequestAutoScaling) String

type ModifyClusterNodePoolRequestKubernetesConfig

type ModifyClusterNodePoolRequestKubernetesConfig struct {
	// Specifies whether to install the CloudMonitor agent on ECS nodes. After the CloudMonitor agent is installed on ECS nodes, you can view monitoring information about the instances in the CloudMonitor console. We recommend that you install the CloudMonitor agent. Valid values:
	//
	// *   `true`: installs the CloudMonitor agent on ECS nodes.
	// *   `false`: does not install the CloudMonitor agent on ECS nodes.
	//
	// Default value: `false`.
	CmsEnabled *bool `json:"cms_enabled,omitempty" xml:"cms_enabled,omitempty"`
	// The CPU management policy of the nodes in the node pool. The following policies are supported if the Kubernetes version of the cluster is 1.12.6 or later:
	//
	// *   `static`: allows pods with specific resource characteristics on the node to be granted enhanced CPU affinity and exclusivity.
	// *   `none`: specifies that the default CPU affinity is used.
	//
	// Default value: `none`.
	CpuPolicy *string `json:"cpu_policy,omitempty" xml:"cpu_policy,omitempty"`
	// The labels of the nodes in the node pool. You can add labels to the nodes in the cluster. You must add labels based on the following rules:
	//
	// *   A tag is a case-sensitive key-value pair. You can add up to 20 tags.
	// *   The key must be unique and cannot exceed 64 characters in length. The value can be empty and cannot exceed 128 characters in length. Keys and values cannot start with `aliyun`, `acs:`, `https://`, or `http://`. For more information, see [Labels and Selectors](https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#syntax-and-character-set).
	Labels []*Tag `json:"labels,omitempty" xml:"labels,omitempty" type:"Repeated"`
	// The name of the container runtime.
	Runtime *string `json:"runtime,omitempty" xml:"runtime,omitempty"`
	// The version of the container runtime.
	RuntimeVersion *string `json:"runtime_version,omitempty" xml:"runtime_version,omitempty"`
	// The configurations of node taints.
	Taints        []*Taint `json:"taints,omitempty" xml:"taints,omitempty" type:"Repeated"`
	Unschedulable *bool    `json:"unschedulable,omitempty" xml:"unschedulable,omitempty"`
	// The user-defined data of the node pool. For more information, see [Prepare user data](~~49121~~).
	UserData *string `json:"user_data,omitempty" xml:"user_data,omitempty"`
}

func (ModifyClusterNodePoolRequestKubernetesConfig) GoString

func (*ModifyClusterNodePoolRequestKubernetesConfig) SetCmsEnabled

func (*ModifyClusterNodePoolRequestKubernetesConfig) SetCpuPolicy

func (*ModifyClusterNodePoolRequestKubernetesConfig) SetLabels

func (*ModifyClusterNodePoolRequestKubernetesConfig) SetRuntime

func (*ModifyClusterNodePoolRequestKubernetesConfig) SetRuntimeVersion

func (*ModifyClusterNodePoolRequestKubernetesConfig) SetTaints

func (*ModifyClusterNodePoolRequestKubernetesConfig) SetUnschedulable

func (*ModifyClusterNodePoolRequestKubernetesConfig) SetUserData

func (ModifyClusterNodePoolRequestKubernetesConfig) String

type ModifyClusterNodePoolRequestManagement

type ModifyClusterNodePoolRequestManagement struct {
	// Specifies whether to enable auto repair. This parameter takes effect only when you specify `enable=true`. Valid values:
	//
	// *   `true`: enables auto repair.
	// *   `false`: disables auto repair.
	//
	// Default value: `true`.
	AutoRepair *bool `json:"auto_repair,omitempty" xml:"auto_repair,omitempty"`
	// The auto node repair policy.
	AutoRepairPolicy *ModifyClusterNodePoolRequestManagementAutoRepairPolicy `json:"auto_repair_policy,omitempty" xml:"auto_repair_policy,omitempty" type:"Struct"`
	// Specifies whether to enable auto update. Valid values:
	//
	// *   `true`: enables auto update.
	// *   `false`: disables auto update.
	AutoUpgrade *bool `json:"auto_upgrade,omitempty" xml:"auto_upgrade,omitempty"`
	// The auto update policy.
	AutoUpgradePolicy *ModifyClusterNodePoolRequestManagementAutoUpgradePolicy `json:"auto_upgrade_policy,omitempty" xml:"auto_upgrade_policy,omitempty" type:"Struct"`
	// Specifies whether ACK is allowed to automatically patch CVE vulnerabilities. Valid values:
	//
	// *   `true`: yes
	// *   `true`: no
	AutoVulFix *bool `json:"auto_vul_fix,omitempty" xml:"auto_vul_fix,omitempty"`
	// The auto CVE patching policy.
	AutoVulFixPolicy *ModifyClusterNodePoolRequestManagementAutoVulFixPolicy `json:"auto_vul_fix_policy,omitempty" xml:"auto_vul_fix_policy,omitempty" type:"Struct"`
	// Specifies whether to enable the managed node pool feature. Valid values:
	//
	// *   `true`: enables the managed node pool feature.
	// *   `false`: disables the managed node pool feature. Other parameters in this section take effect only when `enable=true` is specified.
	//
	// Default value: `false`.
	Enable *bool `json:"enable,omitempty" xml:"enable,omitempty"`
	// Deprecated
	// The configuration of auto update. The configuration takes effect only when `enable=true` is specified.
	UpgradeConfig *ModifyClusterNodePoolRequestManagementUpgradeConfig `json:"upgrade_config,omitempty" xml:"upgrade_config,omitempty" type:"Struct"`
}

func (ModifyClusterNodePoolRequestManagement) GoString

func (*ModifyClusterNodePoolRequestManagement) SetAutoRepair

func (*ModifyClusterNodePoolRequestManagement) SetAutoUpgrade

func (*ModifyClusterNodePoolRequestManagement) SetAutoVulFix

func (*ModifyClusterNodePoolRequestManagement) SetEnable

func (ModifyClusterNodePoolRequestManagement) String

type ModifyClusterNodePoolRequestManagementAutoRepairPolicy

type ModifyClusterNodePoolRequestManagementAutoRepairPolicy struct {
	// Specifies whether ACK is allowed to automatically restart nodes after patching CVE vulnerabilities. Valid values:
	//
	// *   `true`: yes
	// *   `false`: no
	RestartNode *bool `json:"restart_node,omitempty" xml:"restart_node,omitempty"`
}

func (ModifyClusterNodePoolRequestManagementAutoRepairPolicy) GoString

func (*ModifyClusterNodePoolRequestManagementAutoRepairPolicy) SetRestartNode

func (ModifyClusterNodePoolRequestManagementAutoRepairPolicy) String

type ModifyClusterNodePoolRequestManagementAutoUpgradePolicy

type ModifyClusterNodePoolRequestManagementAutoUpgradePolicy struct {
	// Specifies whether ACK is allowed to automatically update the kubelet. Valid values:
	//
	// *   `true`: yes
	// *   `false`: no
	AutoUpgradeKubelet *bool `json:"auto_upgrade_kubelet,omitempty" xml:"auto_upgrade_kubelet,omitempty"`
	AutoUpgradeOs      *bool `json:"auto_upgrade_os,omitempty" xml:"auto_upgrade_os,omitempty"`
	AutoUpgradeRuntime *bool `json:"auto_upgrade_runtime,omitempty" xml:"auto_upgrade_runtime,omitempty"`
}

func (ModifyClusterNodePoolRequestManagementAutoUpgradePolicy) GoString

func (*ModifyClusterNodePoolRequestManagementAutoUpgradePolicy) SetAutoUpgradeKubelet

func (*ModifyClusterNodePoolRequestManagementAutoUpgradePolicy) SetAutoUpgradeOs added in v5.0.2

func (*ModifyClusterNodePoolRequestManagementAutoUpgradePolicy) SetAutoUpgradeRuntime added in v5.0.2

func (ModifyClusterNodePoolRequestManagementAutoUpgradePolicy) String

type ModifyClusterNodePoolRequestManagementAutoVulFixPolicy

type ModifyClusterNodePoolRequestManagementAutoVulFixPolicy struct {
	// Specifies whether ACK is allowed to automatically restart nodes after patching CVE vulnerabilities. Valid values:
	//
	// *   `true`: yes
	// *   `false`: no
	RestartNode *bool `json:"restart_node,omitempty" xml:"restart_node,omitempty"`
	// The severity levels of vulnerabilities that ACK is allowed to automatically patch. Multiple severity levels are separated by commas (,).
	VulLevel *string `json:"vul_level,omitempty" xml:"vul_level,omitempty"`
}

func (ModifyClusterNodePoolRequestManagementAutoVulFixPolicy) GoString

func (*ModifyClusterNodePoolRequestManagementAutoVulFixPolicy) SetRestartNode

func (*ModifyClusterNodePoolRequestManagementAutoVulFixPolicy) SetVulLevel

func (ModifyClusterNodePoolRequestManagementAutoVulFixPolicy) String

type ModifyClusterNodePoolRequestManagementUpgradeConfig

type ModifyClusterNodePoolRequestManagementUpgradeConfig struct {
	// Deprecated
	// Specifies whether to enable auto update.
	//
	// *   true: enables auto update.
	// *   false: disables auto update.
	//
	// Default value: `true`.
	AutoUpgrade *bool `json:"auto_upgrade,omitempty" xml:"auto_upgrade,omitempty"`
	// The maximum number of nodes that can be in the Unavailable state.
	//
	// Valid values: 1 to 1000.
	//
	// Default value: 1.
	MaxUnavailable *int64 `json:"max_unavailable,omitempty" xml:"max_unavailable,omitempty"`
	// The number of nodes that are temporarily added to the node pool during an auto update. Additional nodes are used to host the workloads of nodes that are being updated.
	//
	// >  We recommend that you set the number of additional nodes to a value that does not exceed the current number of existing nodes.
	Surge *int64 `json:"surge,omitempty" xml:"surge,omitempty"`
	// The percentage of additional nodes to the nodes in the node pool. You must set this parameter or `surge`.
	SurgePercentage *int64 `json:"surge_percentage,omitempty" xml:"surge_percentage,omitempty"`
}

func (ModifyClusterNodePoolRequestManagementUpgradeConfig) GoString

func (*ModifyClusterNodePoolRequestManagementUpgradeConfig) SetAutoUpgrade

func (*ModifyClusterNodePoolRequestManagementUpgradeConfig) SetMaxUnavailable

func (*ModifyClusterNodePoolRequestManagementUpgradeConfig) SetSurge

func (*ModifyClusterNodePoolRequestManagementUpgradeConfig) SetSurgePercentage

func (ModifyClusterNodePoolRequestManagementUpgradeConfig) String

type ModifyClusterNodePoolRequestNodepoolInfo

type ModifyClusterNodePoolRequestNodepoolInfo struct {
	// The name of the node pool.
	//
	// The name must be 1 to 63 characters in length, and can contain digits, letters, and hyphens (-). It cannot start with a hyphen (-).
	Name *string `json:"name,omitempty" xml:"name,omitempty"`
	// The ID of the resource group.
	ResourceGroupId *string `json:"resource_group_id,omitempty" xml:"resource_group_id,omitempty"`
}

func (ModifyClusterNodePoolRequestNodepoolInfo) GoString

func (*ModifyClusterNodePoolRequestNodepoolInfo) SetName

func (*ModifyClusterNodePoolRequestNodepoolInfo) SetResourceGroupId

func (ModifyClusterNodePoolRequestNodepoolInfo) String

type ModifyClusterNodePoolRequestScalingGroup

type ModifyClusterNodePoolRequestScalingGroup struct {
	// Specifies whether to enable auto-renewal for the nodes in the node pool. This parameter takes effect only when you set `instance_charge_type` to `PrePaid`. Valid values:
	//
	// *   `true`: enables auto-renewal.
	// *   `false`: disables auto-renewal.
	//
	// Default value: `true`.
	AutoRenew *bool `json:"auto_renew,omitempty" xml:"auto_renew,omitempty"`
	// The duration of the auto-renewal. This parameter takes effect and is required only when you set `instance_charge_type` to `PrePaid`.
	//
	// If you specify `PeriodUnit=Month`, the valid values are 1, 2, 3, 6, and 12.
	AutoRenewPeriod *int64 `json:"auto_renew_period,omitempty" xml:"auto_renew_period,omitempty"`
	// Specifies whether to automatically create pay-as-you-go instances to meet the required number of ECS instances if preemptible instances cannot be created due to reasons such as the cost or insufficient inventory. This parameter takes effect when you set `multi_az_policy` to `COST_OPTIMIZED`. Valid values:
	//
	// *   `true`: automatically creates pay-as-you-go instances to meet the required number of ECS instances if preemptible instances cannot be created
	// *   `false`: does not create pay-as-you-go instances to meet the required number of ECS instances if preemptible instances cannot be created.
	CompensateWithOnDemand *bool `json:"compensate_with_on_demand,omitempty" xml:"compensate_with_on_demand,omitempty"`
	// The configurations of the data disks that are mounted to the nodes in the node pool. You can mount 0 to 10 data disks. You can mount at most 10 data disks to the nodes in the node pool.
	DataDisks []*DataDisk `json:"data_disks,omitempty" xml:"data_disks,omitempty" type:"Repeated"`
	// The expected number of nodes in the node pool.
	DesiredSize *int64 `json:"desired_size,omitempty" xml:"desired_size,omitempty"`
	// The ID of the custom image. You can call the `DescribeKubernetesVersionMetadata` operation to query the supported images. By default, the latest image is used.
	ImageId *string `json:"image_id,omitempty" xml:"image_id,omitempty"`
	// The type of OS distribution that you want to use. To specify the node OS, we recommend that you use this parameter. Valid values: CentOS, AliyunLinux, AliyunLinux Qboot, AliyunLinuxUEFI, AliyunLinux3, Windows, WindowsCore, AliyunLinux3Arm64, and ContainerOS.
	ImageType *string `json:"image_type,omitempty" xml:"image_type,omitempty"`
	// The billing method of the nodes in the node pool. Valid values:
	//
	// *   `PrePaid`: subscription.
	// *   `PostPaid`: pay-as-you-go.
	//
	// Default value: `PostPaid`.
	InstanceChargeType *string `json:"instance_charge_type,omitempty" xml:"instance_charge_type,omitempty"`
	// A list of instance types. You can select multiple instance types. When the system needs to create a node, it starts from the first instance type until the node is created. The instance type that is used to create the node varies based on the actual instance stock.
	InstanceTypes []*string `json:"instance_types,omitempty" xml:"instance_types,omitempty" type:"Repeated"`
	// The metering method of the public IP address. Valid values:
	//
	// *   `PayByBandwidth`: pay-by-bandwidth.
	// *   `PayByTraffic`: pay-by-data-transfer.
	InternetChargeType *string `json:"internet_charge_type,omitempty" xml:"internet_charge_type,omitempty"`
	// The maximum outbound bandwidth of the public IP address of the node. Unit: Mbit/s. Valid values: 1 to 100.
	InternetMaxBandwidthOut *int64 `json:"internet_max_bandwidth_out,omitempty" xml:"internet_max_bandwidth_out,omitempty"`
	// The name of the key pair. You must set this parameter or the `login_password` parameter. You must set `key_pair` if the node pool is a managed node pool.
	KeyPair *string `json:"key_pair,omitempty" xml:"key_pair,omitempty"`
	// The password for SSH logon. You must set this parameter or the `key_pair` parameter. The password must be 8 to 30 characters in length, and must contain at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters.
	LoginPassword *string `json:"login_password,omitempty" xml:"login_password,omitempty"`
	// The ECS instance scaling policy for the multi-zone scaling group. Valid values:
	//
	// *   `PRIORITY`: The scaling group is scaled based on the VSwitchIds.N parameter. If an ECS instance cannot be created in the zone where the vSwitch that has the highest priority resides, Auto Scaling creates the ECS instance in the zone where the vSwitch that has the next highest priority resides.
	//
	// *   `COST_OPTIMIZED`: ECS instances are created based on the vCPU unit price in ascending order. Preemptible instances are preferably created when preemptible instance types are specified in the scaling configuration. You can set the `CompensateWithOnDemand` parameter to specify whether to automatically create pay-as-you-go instances when preemptible instances cannot be created due to insufficient resources.
	//
	//     **
	//
	//     **Note** `COST_OPTIMIZED` is valid only when multiple instance types are specified or at least one preemptible instance type is specified.
	//
	// *   `BALANCE`: ECS instances are evenly distributed across multiple zones specified by the scaling group. If ECS instances become imbalanced among multiple zones due to the insufficient inventory, you can call the `RebalanceInstances` operation of Auto Scaling to balance the instance distribution among zones. For more information, see [RebalanceInstances](~~71516~~).
	//
	// Default value: `PRIORITY`.
	MultiAzPolicy *string `json:"multi_az_policy,omitempty" xml:"multi_az_policy,omitempty"`
	// The minimum number of pay-as-you-go instances that must be kept in the scaling group. Valid values: 0 to 1000. If the number of pay-as-you-go instances is less than the value of this parameter, Auto Scaling preferably creates pay-as-you-go instances.
	OnDemandBaseCapacity *int64 `json:"on_demand_base_capacity,omitempty" xml:"on_demand_base_capacity,omitempty"`
	// The percentage of pay-as-you-go instances among the extra instances that exceed the number specified by `on_demand_base_capacity`. Valid values: 0 to 100.
	OnDemandPercentageAboveBaseCapacity *int64 `json:"on_demand_percentage_above_base_capacity,omitempty" xml:"on_demand_percentage_above_base_capacity,omitempty"`
	// The subscription duration of worker nodes. This parameter takes effect and is required only when `instance_charge_type` is set to `PrePaid`.
	//
	// If `PeriodUnit=Month` is specified, the valid values are 1, 2, 3, 6, 12, 24, 36, 48, and 60.
	Period *int64 `json:"period,omitempty" xml:"period,omitempty"`
	// The billing cycle of the nodes in the node pool. This parameter is required if you set `instance_charge_type` to `PrePaid`.
	//
	// The billing cycle is measured only in months.
	//
	// Default value: `Month`.
	PeriodUnit *string `json:"period_unit,omitempty" xml:"period_unit,omitempty"`
	// Deprecated
	// The operating system. Valid values:
	//
	// *   `AliyunLinux`
	// *   `CentOS`
	// *   `Windows`
	// *   `WindowsCore`
	Platform *string `json:"platform,omitempty" xml:"platform,omitempty"`
	// The configuration of the private node pool.
	PrivatePoolOptions *ModifyClusterNodePoolRequestScalingGroupPrivatePoolOptions `json:"private_pool_options,omitempty" xml:"private_pool_options,omitempty" type:"Struct"`
	// A list of ApsaraDB RDS instances.
	RdsInstances []*string `json:"rds_instances,omitempty" xml:"rds_instances,omitempty" type:"Repeated"`
	// The scaling mode of the scaling group. Valid values:
	//
	// *   `release`: the standard mode. ECS instances are created and released based on the resource usage.
	// *   `recycle`: the swift mode. ECS instances are created, stopped, or started during scaling events. This reduces the time required for the next scale-out event. When the instance is stopped, you are charged only for the storage service. This does not apply to ECS instances that are attached with local disks.
	ScalingPolicy *string `json:"scaling_policy,omitempty" xml:"scaling_policy,omitempty"`
	// The number of instance types that are available for creating preemptible instances. Auto Scaling creates preemptible instances of multiple instance types that are available at the lowest cost. Valid values: 1 to 10.
	SpotInstancePools *int64 `json:"spot_instance_pools,omitempty" xml:"spot_instance_pools,omitempty"`
	// Specifies whether to supplement preemptible instances. If this parameter is set to true, when the scaling group receives a system message that a preemptible instance is to be reclaimed, the scaling group attempts to create a new instance to replace this instance. Valid values:
	//
	// *   `true`: enables the supplementation of preemptible instances.
	// *   `false`: disables the supplementation of preemptible instances.
	SpotInstanceRemedy *bool `json:"spot_instance_remedy,omitempty" xml:"spot_instance_remedy,omitempty"`
	// The bid configurations of preemptible instances.
	SpotPriceLimit []*ModifyClusterNodePoolRequestScalingGroupSpotPriceLimit `json:"spot_price_limit,omitempty" xml:"spot_price_limit,omitempty" type:"Repeated"`
	// The bidding policy of preemptible instances. Valid values:
	//
	// *   `NoSpot`: non-preemptible instance.
	// *   `SpotWithPriceLimit`: specifies the highest bid for the preemptible instance.
	// *   `SpotAsPriceGo`: automatically submits bids based on the up-to-date market price.
	//
	// For more information, see [Preemptible instances](~~157759~~).
	SpotStrategy *string `json:"spot_strategy,omitempty" xml:"spot_strategy,omitempty"`
	// Indicates whether Burst is enabled for the system disk when the disk type is cloud_auto.
	SystemDiskBurstingEnabled *bool `json:"system_disk_bursting_enabled,omitempty" xml:"system_disk_bursting_enabled,omitempty"`
	// The types of system disks. The system attempts to create system disks from a disk type with a lower priority when the disk type with a higher priority is unavailable. Valid values: cloud: disk cloud_efficiency: ultra disk cloud_ssd: standard SSD cloud_essd: indicates an enhanced SSD (ESSD).
	SystemDiskCategories []*string `json:"system_disk_categories,omitempty" xml:"system_disk_categories,omitempty" type:"Repeated"`
	// The type of system disk. Valid values:
	//
	// *   `cloud_efficiency`: ultra disk.
	// *   `cloud_ssd`: standard SSD
	//
	// Default value: `cloud_ssd`.
	SystemDiskCategory *string `json:"system_disk_category,omitempty" xml:"system_disk_category,omitempty"`
	// The algorithm that you want to use to encrypt the system disk. The value is aes-256.
	SystemDiskEncryptAlgorithm *string `json:"system_disk_encrypt_algorithm,omitempty" xml:"system_disk_encrypt_algorithm,omitempty"`
	// Indicates whether the system disk is encrypted. Valid values: true: encrypts the system disk. false: does not encrypt the system disk.
	SystemDiskEncrypted *bool `json:"system_disk_encrypted,omitempty" xml:"system_disk_encrypted,omitempty"`
	// The ID of the Key Management Service (KMS) key that is used to encrypt the system disk.
	SystemDiskKmsKeyId *string `json:"system_disk_kms_key_id,omitempty" xml:"system_disk_kms_key_id,omitempty"`
	// The performance level (PL) of the system disk that you want to use for the node. This parameter takes effect only for enhanced SSDs. You can specify a higher PL if you increase the size of the system disk. For more information, see [ESSDs](~~122389~~).
	SystemDiskPerformanceLevel *string `json:"system_disk_performance_level,omitempty" xml:"system_disk_performance_level,omitempty"`
	// The predefined read and write IOPS of the system disk when the disk type is cloud_auto.
	SystemDiskProvisionedIops *int64 `json:"system_disk_provisioned_iops,omitempty" xml:"system_disk_provisioned_iops,omitempty"`
	// The size of the system disk in GiB.
	//
	// Valid values: 20 to 500.
	//
	// The value of this parameter must be at least 20 and greater than or equal to the size of the image.
	//
	// Default value: the greater value between 40 and the image size.
	SystemDiskSize *int64 `json:"system_disk_size,omitempty" xml:"system_disk_size,omitempty"`
	// The labels that you want to add only to ECS instances.
	//
	// The tag key must be unique and cannot exceed 128 characters in length. The tag key and value must not start with aliyun or acs: or contain https:// or http://.
	Tags []*Tag `json:"tags,omitempty" xml:"tags,omitempty" type:"Repeated"`
	// The IDs of vSwitches. You can specify 1 to 20 vSwitches.
	//
	// >  To ensure high availability, we recommend that you select vSwitches in different zones.
	VswitchIds []*string `json:"vswitch_ids,omitempty" xml:"vswitch_ids,omitempty" type:"Repeated"`
}

func (ModifyClusterNodePoolRequestScalingGroup) GoString

func (*ModifyClusterNodePoolRequestScalingGroup) SetAutoRenew

func (*ModifyClusterNodePoolRequestScalingGroup) SetAutoRenewPeriod

func (*ModifyClusterNodePoolRequestScalingGroup) SetCompensateWithOnDemand

func (*ModifyClusterNodePoolRequestScalingGroup) SetDataDisks

func (*ModifyClusterNodePoolRequestScalingGroup) SetDesiredSize

func (*ModifyClusterNodePoolRequestScalingGroup) SetImageId

func (*ModifyClusterNodePoolRequestScalingGroup) SetImageType

func (*ModifyClusterNodePoolRequestScalingGroup) SetInstanceChargeType

func (*ModifyClusterNodePoolRequestScalingGroup) SetInstanceTypes

func (*ModifyClusterNodePoolRequestScalingGroup) SetInternetChargeType

func (*ModifyClusterNodePoolRequestScalingGroup) SetInternetMaxBandwidthOut

func (*ModifyClusterNodePoolRequestScalingGroup) SetKeyPair

func (*ModifyClusterNodePoolRequestScalingGroup) SetLoginPassword

func (*ModifyClusterNodePoolRequestScalingGroup) SetMultiAzPolicy

func (*ModifyClusterNodePoolRequestScalingGroup) SetOnDemandBaseCapacity

func (*ModifyClusterNodePoolRequestScalingGroup) SetOnDemandPercentageAboveBaseCapacity

func (s *ModifyClusterNodePoolRequestScalingGroup) SetOnDemandPercentageAboveBaseCapacity(v int64) *ModifyClusterNodePoolRequestScalingGroup

func (*ModifyClusterNodePoolRequestScalingGroup) SetPeriod

func (*ModifyClusterNodePoolRequestScalingGroup) SetPeriodUnit

func (*ModifyClusterNodePoolRequestScalingGroup) SetPlatform

func (*ModifyClusterNodePoolRequestScalingGroup) SetRdsInstances

func (*ModifyClusterNodePoolRequestScalingGroup) SetScalingPolicy

func (*ModifyClusterNodePoolRequestScalingGroup) SetSpotInstancePools

func (*ModifyClusterNodePoolRequestScalingGroup) SetSpotInstanceRemedy

func (*ModifyClusterNodePoolRequestScalingGroup) SetSpotStrategy

func (*ModifyClusterNodePoolRequestScalingGroup) SetSystemDiskBurstingEnabled

func (*ModifyClusterNodePoolRequestScalingGroup) SetSystemDiskCategories

func (*ModifyClusterNodePoolRequestScalingGroup) SetSystemDiskCategory

func (*ModifyClusterNodePoolRequestScalingGroup) SetSystemDiskEncryptAlgorithm

func (*ModifyClusterNodePoolRequestScalingGroup) SetSystemDiskEncrypted

func (*ModifyClusterNodePoolRequestScalingGroup) SetSystemDiskKmsKeyId

func (*ModifyClusterNodePoolRequestScalingGroup) SetSystemDiskPerformanceLevel

func (*ModifyClusterNodePoolRequestScalingGroup) SetSystemDiskProvisionedIops

func (*ModifyClusterNodePoolRequestScalingGroup) SetSystemDiskSize

func (*ModifyClusterNodePoolRequestScalingGroup) SetTags

func (*ModifyClusterNodePoolRequestScalingGroup) SetVswitchIds

func (ModifyClusterNodePoolRequestScalingGroup) String

type ModifyClusterNodePoolRequestScalingGroupPrivatePoolOptions

type ModifyClusterNodePoolRequestScalingGroupPrivatePoolOptions struct {
	// The ID of the private node pool.
	Id *string `json:"id,omitempty" xml:"id,omitempty"`
	// The type of private node pool. This parameter specifies the type of private node pool that you want to use to create instances. A private node pool is generated when an elasticity assurance or a capacity reservation service takes effect. The system selects a private node pool to launch instances. Valid values:
	//
	// *   `Open`: specifies an open private node pool. The system selects an open private node pool to launch instances. If no matching open private node pool is available, the resources in the public node pool are used.
	// *   `Target`: specifies a private node pool. The system uses the resources of the specified private node pool to launch instances. If the specified private node pool is unavailable, instances cannot be launched.
	// *   `None`: no private node pool is used. The resources of private node pools are not used to launch the instances.
	MatchCriteria *string `json:"match_criteria,omitempty" xml:"match_criteria,omitempty"`
}

func (ModifyClusterNodePoolRequestScalingGroupPrivatePoolOptions) GoString

func (*ModifyClusterNodePoolRequestScalingGroupPrivatePoolOptions) SetId

func (*ModifyClusterNodePoolRequestScalingGroupPrivatePoolOptions) SetMatchCriteria

func (ModifyClusterNodePoolRequestScalingGroupPrivatePoolOptions) String

type ModifyClusterNodePoolRequestScalingGroupSpotPriceLimit

type ModifyClusterNodePoolRequestScalingGroupSpotPriceLimit struct {
	// The instance type of preemptible instances.
	InstanceType *string `json:"instance_type,omitempty" xml:"instance_type,omitempty"`
	// The maximum bid price of a preemptible instance.
	//
	// Unit: USD/hour.
	PriceLimit *string `json:"price_limit,omitempty" xml:"price_limit,omitempty"`
}

func (ModifyClusterNodePoolRequestScalingGroupSpotPriceLimit) GoString

func (*ModifyClusterNodePoolRequestScalingGroupSpotPriceLimit) SetInstanceType

func (*ModifyClusterNodePoolRequestScalingGroupSpotPriceLimit) SetPriceLimit

func (ModifyClusterNodePoolRequestScalingGroupSpotPriceLimit) String

type ModifyClusterNodePoolRequestTeeConfig

type ModifyClusterNodePoolRequestTeeConfig struct {
	// Specifies whether to enable confidential computing for the cluster. Valid values:
	//
	// *   `true`: enables confidential computing for the cluster.
	// *   `false`: disables confidential computing for the cluster.
	//
	// Default value: `false`.
	TeeEnable *bool `json:"tee_enable,omitempty" xml:"tee_enable,omitempty"`
}

func (ModifyClusterNodePoolRequestTeeConfig) GoString

func (*ModifyClusterNodePoolRequestTeeConfig) SetTeeEnable

func (ModifyClusterNodePoolRequestTeeConfig) String

type ModifyClusterNodePoolResponse

type ModifyClusterNodePoolResponse struct {
	Headers    map[string]*string                 `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                             `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *ModifyClusterNodePoolResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (ModifyClusterNodePoolResponse) GoString

func (*ModifyClusterNodePoolResponse) SetBody

func (*ModifyClusterNodePoolResponse) SetHeaders

func (*ModifyClusterNodePoolResponse) SetStatusCode

func (ModifyClusterNodePoolResponse) String

type ModifyClusterNodePoolResponseBody

type ModifyClusterNodePoolResponseBody struct {
	// The node pool ID.
	NodepoolId *string `json:"nodepool_id,omitempty" xml:"nodepool_id,omitempty"`
	RequestId  *string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// The task ID.
	TaskId *string `json:"task_id,omitempty" xml:"task_id,omitempty"`
}

func (ModifyClusterNodePoolResponseBody) GoString

func (*ModifyClusterNodePoolResponseBody) SetNodepoolId

func (*ModifyClusterNodePoolResponseBody) SetRequestId

func (*ModifyClusterNodePoolResponseBody) SetTaskId

func (ModifyClusterNodePoolResponseBody) String

type ModifyClusterRequest

type ModifyClusterRequest struct {
	// The network access control list (ACL) of the SLB instance associated with the API server if the cluster is a registered cluster.
	AccessControlList       []*string                                    `json:"access_control_list,omitempty" xml:"access_control_list,omitempty" type:"Repeated"`
	ApiServerCustomCertSans *ModifyClusterRequestApiServerCustomCertSans `json:"api_server_custom_cert_sans,omitempty" xml:"api_server_custom_cert_sans,omitempty" type:"Struct"`
	// Specifies whether to associate an elastic IP address (EIP) with the cluster API server. This enables Internet access for the cluster. Valid values:
	//
	// *   `true`: associates an EIP with the cluster API server.
	// *   `false`: does not associate an EIP with the cluster API server.
	ApiServerEip *bool `json:"api_server_eip,omitempty" xml:"api_server_eip,omitempty"`
	// The ID of the EIP that you want to associate with the cluster API server. The parameter takes effect only if `api_server_eip` is set to `true`.
	ApiServerEipId *string `json:"api_server_eip_id,omitempty" xml:"api_server_eip_id,omitempty"`
	// The cluster name.
	//
	// The name must be 1 to 63 characters in length, and can contain digits, letters, and hyphens (-). The name cannot start with a hyphen (-).
	ClusterName *string `json:"cluster_name,omitempty" xml:"cluster_name,omitempty"`
	// Specifies whether to enable deletion protection for the cluster. If deletion protection is enabled, the cluster cannot be deleted in the ACK console or by calling API operations. Valid values:
	//
	// *   `true`: enables deletion protection for the cluster. This way, the cluster cannot be deleted in the ACK console or by calling API operations.
	// *   `false`: disables deletion protection for the cluster. This way, the cluster can be deleted in the ACK console or by calling API operations.
	//
	// Default value: `false`.
	DeletionProtection *bool `json:"deletion_protection,omitempty" xml:"deletion_protection,omitempty"`
	// Specifies whether to enable the RAM Roles for Service Accounts (RRSA) feature. Valid values:
	//
	// *   `true`: enables the RRSA feature.
	// *   `false`: disables the RRSA feature.
	EnableRrsa *bool `json:"enable_rrsa,omitempty" xml:"enable_rrsa,omitempty"`
	// Specifies whether to remap the test domain name of the cluster. Valid values:
	//
	// *   `true`: remaps the test domain name of the cluster.
	// *   `false`: does not remap the test domain name of the cluster.
	//
	// Default value: `false`.
	IngressDomainRebinding *bool `json:"ingress_domain_rebinding,omitempty" xml:"ingress_domain_rebinding,omitempty"`
	// The ID of the Server Load Balancer (SLB) instance that is associated with the cluster.
	IngressLoadbalancerId *string `json:"ingress_loadbalancer_id,omitempty" xml:"ingress_loadbalancer_id,omitempty"`
	// Specifies whether to enable deletion protection for the instances in the cluster. If deletion protection is enabled, the instances in the cluster cannot be deleted in the console or by calling the API. Valid values:
	//
	// *   `true`: enables deletion protection for the instances in the cluster. You cannot delete the instances in the cluster in the console or by calling the API.
	// *   `false`: disables deletion protection for the instances in the cluster. You can delete the instances in the cluster in the console or by calling the API.
	//
	// Default value: `false`.
	InstanceDeletionProtection *bool `json:"instance_deletion_protection,omitempty" xml:"instance_deletion_protection,omitempty"`
	// The maintenance window of the cluster. This parameter takes effect only in ACK Pro clusters.
	MaintenanceWindow *MaintenanceWindow                   `json:"maintenance_window,omitempty" xml:"maintenance_window,omitempty"`
	OperationPolicy   *ModifyClusterRequestOperationPolicy `json:"operation_policy,omitempty" xml:"operation_policy,omitempty" type:"Struct"`
	// The ID of the resource group to which the cluster belongs.
	ResourceGroupId *string `json:"resource_group_id,omitempty" xml:"resource_group_id,omitempty"`
	// 系统事件存储配置。
	SystemEventsLogging *ModifyClusterRequestSystemEventsLogging `json:"system_events_logging,omitempty" xml:"system_events_logging,omitempty" type:"Struct"`
}

func (ModifyClusterRequest) GoString

func (s ModifyClusterRequest) GoString() string

func (*ModifyClusterRequest) SetAccessControlList

func (s *ModifyClusterRequest) SetAccessControlList(v []*string) *ModifyClusterRequest

func (*ModifyClusterRequest) SetApiServerCustomCertSans added in v5.0.5

func (*ModifyClusterRequest) SetApiServerEip

func (s *ModifyClusterRequest) SetApiServerEip(v bool) *ModifyClusterRequest

func (*ModifyClusterRequest) SetApiServerEipId

func (s *ModifyClusterRequest) SetApiServerEipId(v string) *ModifyClusterRequest

func (*ModifyClusterRequest) SetClusterName

func (s *ModifyClusterRequest) SetClusterName(v string) *ModifyClusterRequest

func (*ModifyClusterRequest) SetDeletionProtection

func (s *ModifyClusterRequest) SetDeletionProtection(v bool) *ModifyClusterRequest

func (*ModifyClusterRequest) SetEnableRrsa

func (s *ModifyClusterRequest) SetEnableRrsa(v bool) *ModifyClusterRequest

func (*ModifyClusterRequest) SetIngressDomainRebinding

func (s *ModifyClusterRequest) SetIngressDomainRebinding(v bool) *ModifyClusterRequest

func (*ModifyClusterRequest) SetIngressLoadbalancerId

func (s *ModifyClusterRequest) SetIngressLoadbalancerId(v string) *ModifyClusterRequest

func (*ModifyClusterRequest) SetInstanceDeletionProtection

func (s *ModifyClusterRequest) SetInstanceDeletionProtection(v bool) *ModifyClusterRequest

func (*ModifyClusterRequest) SetMaintenanceWindow

func (s *ModifyClusterRequest) SetMaintenanceWindow(v *MaintenanceWindow) *ModifyClusterRequest

func (*ModifyClusterRequest) SetOperationPolicy

func (*ModifyClusterRequest) SetResourceGroupId

func (s *ModifyClusterRequest) SetResourceGroupId(v string) *ModifyClusterRequest

func (*ModifyClusterRequest) SetSystemEventsLogging

func (ModifyClusterRequest) String

func (s ModifyClusterRequest) String() string

type ModifyClusterRequestApiServerCustomCertSans added in v5.0.5

type ModifyClusterRequestApiServerCustomCertSans struct {
	Action                  *string   `json:"action,omitempty" xml:"action,omitempty"`
	SubjectAlternativeNames []*string `json:"subject_alternative_names,omitempty" xml:"subject_alternative_names,omitempty" type:"Repeated"`
}

func (ModifyClusterRequestApiServerCustomCertSans) GoString added in v5.0.5

func (*ModifyClusterRequestApiServerCustomCertSans) SetAction added in v5.0.5

func (*ModifyClusterRequestApiServerCustomCertSans) SetSubjectAlternativeNames added in v5.0.5

func (ModifyClusterRequestApiServerCustomCertSans) String added in v5.0.5

type ModifyClusterRequestOperationPolicy

type ModifyClusterRequestOperationPolicy struct {
	ClusterAutoUpgrade *ModifyClusterRequestOperationPolicyClusterAutoUpgrade `json:"cluster_auto_upgrade,omitempty" xml:"cluster_auto_upgrade,omitempty" type:"Struct"`
}

func (ModifyClusterRequestOperationPolicy) GoString

func (ModifyClusterRequestOperationPolicy) String

type ModifyClusterRequestOperationPolicyClusterAutoUpgrade

type ModifyClusterRequestOperationPolicyClusterAutoUpgrade struct {
	Channel *string `json:"channel,omitempty" xml:"channel,omitempty"`
	Enabled *bool   `json:"enabled,omitempty" xml:"enabled,omitempty"`
}

func (ModifyClusterRequestOperationPolicyClusterAutoUpgrade) GoString

func (*ModifyClusterRequestOperationPolicyClusterAutoUpgrade) SetChannel

func (*ModifyClusterRequestOperationPolicyClusterAutoUpgrade) SetEnabled

func (ModifyClusterRequestOperationPolicyClusterAutoUpgrade) String

type ModifyClusterRequestSystemEventsLogging

type ModifyClusterRequestSystemEventsLogging struct {
	// 是否开启系统事件存储。
	Enabled *bool `json:"enabled,omitempty" xml:"enabled,omitempty"`
	// 系统事件存储的LogProject名称。
	LoggingProject *string `json:"logging_project,omitempty" xml:"logging_project,omitempty"`
}

func (ModifyClusterRequestSystemEventsLogging) GoString

func (*ModifyClusterRequestSystemEventsLogging) SetEnabled

func (*ModifyClusterRequestSystemEventsLogging) SetLoggingProject

func (ModifyClusterRequestSystemEventsLogging) String

type ModifyClusterResponse

type ModifyClusterResponse struct {
	Headers    map[string]*string         `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                     `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *ModifyClusterResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (ModifyClusterResponse) GoString

func (s ModifyClusterResponse) GoString() string

func (*ModifyClusterResponse) SetBody

func (*ModifyClusterResponse) SetHeaders

func (*ModifyClusterResponse) SetStatusCode

func (s *ModifyClusterResponse) SetStatusCode(v int32) *ModifyClusterResponse

func (ModifyClusterResponse) String

func (s ModifyClusterResponse) String() string

type ModifyClusterResponseBody

type ModifyClusterResponseBody struct {
	// The cluster ID.
	ClusterId *string `json:"cluster_id,omitempty" xml:"cluster_id,omitempty"`
	// The request ID.
	RequestId *string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// The task ID.
	TaskId *string `json:"task_id,omitempty" xml:"task_id,omitempty"`
}

func (ModifyClusterResponseBody) GoString

func (s ModifyClusterResponseBody) GoString() string

func (*ModifyClusterResponseBody) SetClusterId

func (*ModifyClusterResponseBody) SetRequestId

func (*ModifyClusterResponseBody) SetTaskId

func (ModifyClusterResponseBody) String

func (s ModifyClusterResponseBody) String() string

type ModifyClusterTagsRequest

type ModifyClusterTagsRequest struct {
	// The data of the labels that you want to modify.
	Body []*Tag `json:"body,omitempty" xml:"body,omitempty" type:"Repeated"`
}

func (ModifyClusterTagsRequest) GoString

func (s ModifyClusterTagsRequest) GoString() string

func (*ModifyClusterTagsRequest) SetBody

func (ModifyClusterTagsRequest) String

func (s ModifyClusterTagsRequest) String() string

type ModifyClusterTagsResponse

type ModifyClusterTagsResponse struct {
	Headers    map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32             `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
}

func (ModifyClusterTagsResponse) GoString

func (s ModifyClusterTagsResponse) GoString() string

func (*ModifyClusterTagsResponse) SetHeaders

func (*ModifyClusterTagsResponse) SetStatusCode

func (ModifyClusterTagsResponse) String

func (s ModifyClusterTagsResponse) String() string

type ModifyNodePoolNodeConfigRequest

type ModifyNodePoolNodeConfigRequest struct {
	// The kubelet configuration.
	KubeletConfig *KubeletConfig                           `json:"kubelet_config,omitempty" xml:"kubelet_config,omitempty"`
	OsConfig      *ModifyNodePoolNodeConfigRequestOsConfig `json:"os_config,omitempty" xml:"os_config,omitempty" type:"Struct"`
	// The rotation configuration.
	RollingPolicy *ModifyNodePoolNodeConfigRequestRollingPolicy `json:"rolling_policy,omitempty" xml:"rolling_policy,omitempty" type:"Struct"`
}

func (ModifyNodePoolNodeConfigRequest) GoString

func (*ModifyNodePoolNodeConfigRequest) SetKubeletConfig

func (*ModifyNodePoolNodeConfigRequest) SetOsConfig added in v5.0.1

func (ModifyNodePoolNodeConfigRequest) String

type ModifyNodePoolNodeConfigRequestOsConfig added in v5.0.1

type ModifyNodePoolNodeConfigRequestOsConfig struct {
	Sysctl map[string]interface{} `json:"sysctl,omitempty" xml:"sysctl,omitempty"`
}

func (ModifyNodePoolNodeConfigRequestOsConfig) GoString added in v5.0.1

func (*ModifyNodePoolNodeConfigRequestOsConfig) SetSysctl added in v5.0.1

func (ModifyNodePoolNodeConfigRequestOsConfig) String added in v5.0.1

type ModifyNodePoolNodeConfigRequestRollingPolicy

type ModifyNodePoolNodeConfigRequestRollingPolicy struct {
	// The maximum number of nodes in the Unschedulable state.
	MaxParallelism *int64 `json:"max_parallelism,omitempty" xml:"max_parallelism,omitempty"`
}

func (ModifyNodePoolNodeConfigRequestRollingPolicy) GoString

func (*ModifyNodePoolNodeConfigRequestRollingPolicy) SetMaxParallelism

func (ModifyNodePoolNodeConfigRequestRollingPolicy) String

type ModifyNodePoolNodeConfigResponse

type ModifyNodePoolNodeConfigResponse struct {
	Headers    map[string]*string                    `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *ModifyNodePoolNodeConfigResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (ModifyNodePoolNodeConfigResponse) GoString

func (*ModifyNodePoolNodeConfigResponse) SetHeaders

func (*ModifyNodePoolNodeConfigResponse) SetStatusCode

func (ModifyNodePoolNodeConfigResponse) String

type ModifyNodePoolNodeConfigResponseBody

type ModifyNodePoolNodeConfigResponseBody struct {
	// The node pool ID.
	NodepoolId *string `json:"nodepool_id,omitempty" xml:"nodepool_id,omitempty"`
	// The request ID.
	RequestId *string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// The task ID.
	TaskId *string `json:"task_id,omitempty" xml:"task_id,omitempty"`
}

func (ModifyNodePoolNodeConfigResponseBody) GoString

func (*ModifyNodePoolNodeConfigResponseBody) SetNodepoolId

func (*ModifyNodePoolNodeConfigResponseBody) SetRequestId

func (*ModifyNodePoolNodeConfigResponseBody) SetTaskId

func (ModifyNodePoolNodeConfigResponseBody) String

type ModifyPolicyInstanceRequest

type ModifyPolicyInstanceRequest struct {
	// The action of the policy. Valid values:
	//
	// *   `deny`: Deployments that match the policy are denied.
	// *   `warn`: Alerts are generated for deployments that match the policy.
	Action *string `json:"action,omitempty" xml:"action,omitempty"`
	// The ID of the policy instance.
	InstanceName *string `json:"instance_name,omitempty" xml:"instance_name,omitempty"`
	// The namespaces to which the policy is applied. The policy is applied to all namespaces if this parameter is left empty.
	Namespaces []*string `json:"namespaces,omitempty" xml:"namespaces,omitempty" type:"Repeated"`
	// The parameters of the policy instance. For more information, see [Predefined security policies of ACK](~~359819~~).
	Parameters map[string]interface{} `json:"parameters,omitempty" xml:"parameters,omitempty"`
}

func (ModifyPolicyInstanceRequest) GoString

func (s ModifyPolicyInstanceRequest) GoString() string

func (*ModifyPolicyInstanceRequest) SetAction

func (*ModifyPolicyInstanceRequest) SetInstanceName

func (*ModifyPolicyInstanceRequest) SetNamespaces

func (*ModifyPolicyInstanceRequest) SetParameters

func (s *ModifyPolicyInstanceRequest) SetParameters(v map[string]interface{}) *ModifyPolicyInstanceRequest

func (ModifyPolicyInstanceRequest) String

type ModifyPolicyInstanceResponse

type ModifyPolicyInstanceResponse struct {
	Headers    map[string]*string                `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                            `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *ModifyPolicyInstanceResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (ModifyPolicyInstanceResponse) GoString

func (s ModifyPolicyInstanceResponse) GoString() string

func (*ModifyPolicyInstanceResponse) SetBody

func (*ModifyPolicyInstanceResponse) SetHeaders

func (*ModifyPolicyInstanceResponse) SetStatusCode

func (ModifyPolicyInstanceResponse) String

type ModifyPolicyInstanceResponseBody

type ModifyPolicyInstanceResponseBody struct {
	// The list of policy instances that are updated.
	Instances []*string `json:"instances,omitempty" xml:"instances,omitempty" type:"Repeated"`
}

func (ModifyPolicyInstanceResponseBody) GoString

func (*ModifyPolicyInstanceResponseBody) SetInstances

func (ModifyPolicyInstanceResponseBody) String

type Nodepool

type Nodepool struct {
	AutoScaling *NodepoolAutoScaling `json:"auto_scaling,omitempty" xml:"auto_scaling,omitempty" type:"Struct"`
	// Deprecated
	Count *int64 `json:"count,omitempty" xml:"count,omitempty"`
	// Deprecated
	InterconnectConfig *NodepoolInterconnectConfig `json:"interconnect_config,omitempty" xml:"interconnect_config,omitempty" type:"Struct"`
	InterconnectMode   *string                     `json:"interconnect_mode,omitempty" xml:"interconnect_mode,omitempty"`
	KubernetesConfig   *NodepoolKubernetesConfig   `json:"kubernetes_config,omitempty" xml:"kubernetes_config,omitempty" type:"Struct"`
	Management         *NodepoolManagement         `json:"management,omitempty" xml:"management,omitempty" type:"Struct"`
	MaxNodes           *int64                      `json:"max_nodes,omitempty" xml:"max_nodes,omitempty"`
	NodeConfig         *NodepoolNodeConfig         `json:"node_config,omitempty" xml:"node_config,omitempty" type:"Struct"`
	NodepoolInfo       *NodepoolNodepoolInfo       `json:"nodepool_info,omitempty" xml:"nodepool_info,omitempty" type:"Struct"`
	ScalingGroup       *NodepoolScalingGroup       `json:"scaling_group,omitempty" xml:"scaling_group,omitempty" type:"Struct"`
	TeeConfig          *NodepoolTeeConfig          `json:"tee_config,omitempty" xml:"tee_config,omitempty" type:"Struct"`
}

func (Nodepool) GoString

func (s Nodepool) GoString() string

func (*Nodepool) SetAutoScaling

func (s *Nodepool) SetAutoScaling(v *NodepoolAutoScaling) *Nodepool

func (*Nodepool) SetCount

func (s *Nodepool) SetCount(v int64) *Nodepool

func (*Nodepool) SetInterconnectConfig

func (s *Nodepool) SetInterconnectConfig(v *NodepoolInterconnectConfig) *Nodepool

func (*Nodepool) SetInterconnectMode

func (s *Nodepool) SetInterconnectMode(v string) *Nodepool

func (*Nodepool) SetKubernetesConfig

func (s *Nodepool) SetKubernetesConfig(v *NodepoolKubernetesConfig) *Nodepool

func (*Nodepool) SetManagement

func (s *Nodepool) SetManagement(v *NodepoolManagement) *Nodepool

func (*Nodepool) SetMaxNodes

func (s *Nodepool) SetMaxNodes(v int64) *Nodepool

func (*Nodepool) SetNodeConfig

func (s *Nodepool) SetNodeConfig(v *NodepoolNodeConfig) *Nodepool

func (*Nodepool) SetNodepoolInfo

func (s *Nodepool) SetNodepoolInfo(v *NodepoolNodepoolInfo) *Nodepool

func (*Nodepool) SetScalingGroup

func (s *Nodepool) SetScalingGroup(v *NodepoolScalingGroup) *Nodepool

func (*Nodepool) SetTeeConfig

func (s *Nodepool) SetTeeConfig(v *NodepoolTeeConfig) *Nodepool

func (Nodepool) String

func (s Nodepool) String() string

type NodepoolAutoScaling

type NodepoolAutoScaling struct {
	// Deprecated
	EipBandwidth *int64 `json:"eip_bandwidth,omitempty" xml:"eip_bandwidth,omitempty"`
	// Deprecated
	EipInternetChargeType *string `json:"eip_internet_charge_type,omitempty" xml:"eip_internet_charge_type,omitempty"`
	Enable                *bool   `json:"enable,omitempty" xml:"enable,omitempty"`
	// Deprecated
	IsBondEip    *bool   `json:"is_bond_eip,omitempty" xml:"is_bond_eip,omitempty"`
	MaxInstances *int64  `json:"max_instances,omitempty" xml:"max_instances,omitempty"`
	MinInstances *int64  `json:"min_instances,omitempty" xml:"min_instances,omitempty"`
	Type         *string `json:"type,omitempty" xml:"type,omitempty"`
}

func (NodepoolAutoScaling) GoString

func (s NodepoolAutoScaling) GoString() string

func (*NodepoolAutoScaling) SetEipBandwidth

func (s *NodepoolAutoScaling) SetEipBandwidth(v int64) *NodepoolAutoScaling

func (*NodepoolAutoScaling) SetEipInternetChargeType

func (s *NodepoolAutoScaling) SetEipInternetChargeType(v string) *NodepoolAutoScaling

func (*NodepoolAutoScaling) SetEnable

func (s *NodepoolAutoScaling) SetEnable(v bool) *NodepoolAutoScaling

func (*NodepoolAutoScaling) SetIsBondEip

func (s *NodepoolAutoScaling) SetIsBondEip(v bool) *NodepoolAutoScaling

func (*NodepoolAutoScaling) SetMaxInstances

func (s *NodepoolAutoScaling) SetMaxInstances(v int64) *NodepoolAutoScaling

func (*NodepoolAutoScaling) SetMinInstances

func (s *NodepoolAutoScaling) SetMinInstances(v int64) *NodepoolAutoScaling

func (*NodepoolAutoScaling) SetType

func (NodepoolAutoScaling) String

func (s NodepoolAutoScaling) String() string

type NodepoolInterconnectConfig

type NodepoolInterconnectConfig struct {
	// Deprecated
	Bandwidth *int64 `json:"bandwidth,omitempty" xml:"bandwidth,omitempty"`
	// Deprecated
	CcnId *string `json:"ccn_id,omitempty" xml:"ccn_id,omitempty"`
	// Deprecated
	CcnRegionId *string `json:"ccn_region_id,omitempty" xml:"ccn_region_id,omitempty"`
	// Deprecated
	CenId *string `json:"cen_id,omitempty" xml:"cen_id,omitempty"`
	// Deprecated
	ImprovedPeriod *string `json:"improved_period,omitempty" xml:"improved_period,omitempty"`
}

func (NodepoolInterconnectConfig) GoString

func (s NodepoolInterconnectConfig) GoString() string

func (*NodepoolInterconnectConfig) SetBandwidth

func (*NodepoolInterconnectConfig) SetCcnId

func (*NodepoolInterconnectConfig) SetCcnRegionId

func (*NodepoolInterconnectConfig) SetCenId

func (*NodepoolInterconnectConfig) SetImprovedPeriod

func (NodepoolInterconnectConfig) String

type NodepoolKubernetesConfig

type NodepoolKubernetesConfig struct {
	CmsEnabled     *bool    `json:"cms_enabled,omitempty" xml:"cms_enabled,omitempty"`
	CpuPolicy      *string  `json:"cpu_policy,omitempty" xml:"cpu_policy,omitempty"`
	Labels         []*Tag   `json:"labels,omitempty" xml:"labels,omitempty" type:"Repeated"`
	NodeNameMode   *string  `json:"node_name_mode,omitempty" xml:"node_name_mode,omitempty"`
	Runtime        *string  `json:"runtime,omitempty" xml:"runtime,omitempty"`
	RuntimeVersion *string  `json:"runtime_version,omitempty" xml:"runtime_version,omitempty"`
	Taints         []*Taint `json:"taints,omitempty" xml:"taints,omitempty" type:"Repeated"`
	UserData       *string  `json:"user_data,omitempty" xml:"user_data,omitempty"`
}

func (NodepoolKubernetesConfig) GoString

func (s NodepoolKubernetesConfig) GoString() string

func (*NodepoolKubernetesConfig) SetCmsEnabled

func (*NodepoolKubernetesConfig) SetCpuPolicy

func (*NodepoolKubernetesConfig) SetLabels

func (*NodepoolKubernetesConfig) SetNodeNameMode

func (*NodepoolKubernetesConfig) SetRuntime

func (*NodepoolKubernetesConfig) SetRuntimeVersion

func (s *NodepoolKubernetesConfig) SetRuntimeVersion(v string) *NodepoolKubernetesConfig

func (*NodepoolKubernetesConfig) SetTaints

func (*NodepoolKubernetesConfig) SetUserData

func (NodepoolKubernetesConfig) String

func (s NodepoolKubernetesConfig) String() string

type NodepoolManagement

type NodepoolManagement struct {
	AutoRepair        *bool                                `json:"auto_repair,omitempty" xml:"auto_repair,omitempty"`
	AutoRepairPolicy  *NodepoolManagementAutoRepairPolicy  `json:"auto_repair_policy,omitempty" xml:"auto_repair_policy,omitempty" type:"Struct"`
	AutoUpgrade       *bool                                `json:"auto_upgrade,omitempty" xml:"auto_upgrade,omitempty"`
	AutoUpgradePolicy *NodepoolManagementAutoUpgradePolicy `json:"auto_upgrade_policy,omitempty" xml:"auto_upgrade_policy,omitempty" type:"Struct"`
	AutoVulFix        *bool                                `json:"auto_vul_fix,omitempty" xml:"auto_vul_fix,omitempty"`
	AutoVulFixPolicy  *NodepoolManagementAutoVulFixPolicy  `json:"auto_vul_fix_policy,omitempty" xml:"auto_vul_fix_policy,omitempty" type:"Struct"`
	Enable            *bool                                `json:"enable,omitempty" xml:"enable,omitempty"`
	// Deprecated
	UpgradeConfig *NodepoolManagementUpgradeConfig `json:"upgrade_config,omitempty" xml:"upgrade_config,omitempty" type:"Struct"`
}

func (NodepoolManagement) GoString

func (s NodepoolManagement) GoString() string

func (*NodepoolManagement) SetAutoRepair

func (s *NodepoolManagement) SetAutoRepair(v bool) *NodepoolManagement

func (*NodepoolManagement) SetAutoRepairPolicy

func (*NodepoolManagement) SetAutoUpgrade

func (s *NodepoolManagement) SetAutoUpgrade(v bool) *NodepoolManagement

func (*NodepoolManagement) SetAutoUpgradePolicy

func (*NodepoolManagement) SetAutoVulFix

func (s *NodepoolManagement) SetAutoVulFix(v bool) *NodepoolManagement

func (*NodepoolManagement) SetAutoVulFixPolicy

func (*NodepoolManagement) SetEnable

func (s *NodepoolManagement) SetEnable(v bool) *NodepoolManagement

func (*NodepoolManagement) SetUpgradeConfig

func (NodepoolManagement) String

func (s NodepoolManagement) String() string

type NodepoolManagementAutoRepairPolicy

type NodepoolManagementAutoRepairPolicy struct {
	RestartNode *bool `json:"restart_node,omitempty" xml:"restart_node,omitempty"`
}

func (NodepoolManagementAutoRepairPolicy) GoString

func (*NodepoolManagementAutoRepairPolicy) SetRestartNode

func (NodepoolManagementAutoRepairPolicy) String

type NodepoolManagementAutoUpgradePolicy

type NodepoolManagementAutoUpgradePolicy struct {
	AutoUpgradeKubelet *bool `json:"auto_upgrade_kubelet,omitempty" xml:"auto_upgrade_kubelet,omitempty"`
}

func (NodepoolManagementAutoUpgradePolicy) GoString

func (*NodepoolManagementAutoUpgradePolicy) SetAutoUpgradeKubelet

func (NodepoolManagementAutoUpgradePolicy) String

type NodepoolManagementAutoVulFixPolicy

type NodepoolManagementAutoVulFixPolicy struct {
	RestartNode *bool   `json:"restart_node,omitempty" xml:"restart_node,omitempty"`
	VulLevel    *string `json:"vul_level,omitempty" xml:"vul_level,omitempty"`
}

func (NodepoolManagementAutoVulFixPolicy) GoString

func (*NodepoolManagementAutoVulFixPolicy) SetRestartNode

func (*NodepoolManagementAutoVulFixPolicy) SetVulLevel

func (NodepoolManagementAutoVulFixPolicy) String

type NodepoolManagementUpgradeConfig

type NodepoolManagementUpgradeConfig struct {
	AutoUpgrade     *bool  `json:"auto_upgrade,omitempty" xml:"auto_upgrade,omitempty"`
	MaxUnavailable  *int64 `json:"max_unavailable,omitempty" xml:"max_unavailable,omitempty"`
	Surge           *int64 `json:"surge,omitempty" xml:"surge,omitempty"`
	SurgePercentage *int64 `json:"surge_percentage,omitempty" xml:"surge_percentage,omitempty"`
}

func (NodepoolManagementUpgradeConfig) GoString

func (*NodepoolManagementUpgradeConfig) SetAutoUpgrade

func (*NodepoolManagementUpgradeConfig) SetMaxUnavailable

func (*NodepoolManagementUpgradeConfig) SetSurge

func (*NodepoolManagementUpgradeConfig) SetSurgePercentage

func (NodepoolManagementUpgradeConfig) String

type NodepoolNodeConfig

type NodepoolNodeConfig struct {
	KubeletConfiguration *KubeletConfig `json:"kubelet_configuration,omitempty" xml:"kubelet_configuration,omitempty"`
}

func (NodepoolNodeConfig) GoString

func (s NodepoolNodeConfig) GoString() string

func (*NodepoolNodeConfig) SetKubeletConfiguration

func (s *NodepoolNodeConfig) SetKubeletConfiguration(v *KubeletConfig) *NodepoolNodeConfig

func (NodepoolNodeConfig) String

func (s NodepoolNodeConfig) String() string

type NodepoolNodepoolInfo

type NodepoolNodepoolInfo struct {
	Name            *string `json:"name,omitempty" xml:"name,omitempty"`
	ResourceGroupId *string `json:"resource_group_id,omitempty" xml:"resource_group_id,omitempty"`
	Type            *string `json:"type,omitempty" xml:"type,omitempty"`
}

func (NodepoolNodepoolInfo) GoString

func (s NodepoolNodepoolInfo) GoString() string

func (*NodepoolNodepoolInfo) SetName

func (*NodepoolNodepoolInfo) SetResourceGroupId

func (s *NodepoolNodepoolInfo) SetResourceGroupId(v string) *NodepoolNodepoolInfo

func (*NodepoolNodepoolInfo) SetType

func (NodepoolNodepoolInfo) String

func (s NodepoolNodepoolInfo) String() string

type NodepoolScalingGroup

type NodepoolScalingGroup struct {
	AutoRenew                           *bool       `json:"auto_renew,omitempty" xml:"auto_renew,omitempty"`
	AutoRenewPeriod                     *int64      `json:"auto_renew_period,omitempty" xml:"auto_renew_period,omitempty"`
	CompensateWithOnDemand              *bool       `json:"compensate_with_on_demand,omitempty" xml:"compensate_with_on_demand,omitempty"`
	DataDisks                           []*DataDisk `json:"data_disks,omitempty" xml:"data_disks,omitempty" type:"Repeated"`
	DeploymentsetId                     *string     `json:"deploymentset_id,omitempty" xml:"deploymentset_id,omitempty"`
	DesiredSize                         *int64      `json:"desired_size,omitempty" xml:"desired_size,omitempty"`
	ImageId                             *string     `json:"image_id,omitempty" xml:"image_id,omitempty"`
	ImageType                           *string     `json:"image_type,omitempty" xml:"image_type,omitempty"`
	InstanceChargeType                  *string     `json:"instance_charge_type,omitempty" xml:"instance_charge_type,omitempty"`
	InstanceTypes                       []*string   `json:"instance_types,omitempty" xml:"instance_types,omitempty" type:"Repeated"`
	InternetChargeType                  *string     `json:"internet_charge_type,omitempty" xml:"internet_charge_type,omitempty"`
	InternetMaxBandwidthOut             *int64      `json:"internet_max_bandwidth_out,omitempty" xml:"internet_max_bandwidth_out,omitempty"`
	KeyPair                             *string     `json:"key_pair,omitempty" xml:"key_pair,omitempty"`
	LoginAsNonRoot                      *bool       `json:"login_as_non_root,omitempty" xml:"login_as_non_root,omitempty"`
	LoginPassword                       *string     `json:"login_password,omitempty" xml:"login_password,omitempty"`
	MultiAzPolicy                       *string     `json:"multi_az_policy,omitempty" xml:"multi_az_policy,omitempty"`
	OnDemandBaseCapacity                *int64      `json:"on_demand_base_capacity,omitempty" xml:"on_demand_base_capacity,omitempty"`
	OnDemandPercentageAboveBaseCapacity *int64      `json:"on_demand_percentage_above_base_capacity,omitempty" xml:"on_demand_percentage_above_base_capacity,omitempty"`
	Period                              *int64      `json:"period,omitempty" xml:"period,omitempty"`
	PeriodUnit                          *string     `json:"period_unit,omitempty" xml:"period_unit,omitempty"`
	// Deprecated
	Platform                   *string                                 `json:"platform,omitempty" xml:"platform,omitempty"`
	PrivatePoolOptions         *NodepoolScalingGroupPrivatePoolOptions `json:"private_pool_options,omitempty" xml:"private_pool_options,omitempty" type:"Struct"`
	RdsInstances               []*string                               `json:"rds_instances,omitempty" xml:"rds_instances,omitempty" type:"Repeated"`
	ScalingPolicy              *string                                 `json:"scaling_policy,omitempty" xml:"scaling_policy,omitempty"`
	SecurityGroupId            *string                                 `json:"security_group_id,omitempty" xml:"security_group_id,omitempty"`
	SecurityGroupIds           []*string                               `json:"security_group_ids,omitempty" xml:"security_group_ids,omitempty" type:"Repeated"`
	SpotInstancePools          *int64                                  `json:"spot_instance_pools,omitempty" xml:"spot_instance_pools,omitempty"`
	SpotInstanceRemedy         *bool                                   `json:"spot_instance_remedy,omitempty" xml:"spot_instance_remedy,omitempty"`
	SpotPriceLimit             []*NodepoolScalingGroupSpotPriceLimit   `json:"spot_price_limit,omitempty" xml:"spot_price_limit,omitempty" type:"Repeated"`
	SpotStrategy               *string                                 `json:"spot_strategy,omitempty" xml:"spot_strategy,omitempty"`
	SystemDiskBurstingEnabled  *bool                                   `json:"system_disk_bursting_enabled,omitempty" xml:"system_disk_bursting_enabled,omitempty"`
	SystemDiskCategories       []*string                               `json:"system_disk_categories,omitempty" xml:"system_disk_categories,omitempty" type:"Repeated"`
	SystemDiskCategory         *string                                 `json:"system_disk_category,omitempty" xml:"system_disk_category,omitempty"`
	SystemDiskEncryptAlgorithm *string                                 `json:"system_disk_encrypt_algorithm,omitempty" xml:"system_disk_encrypt_algorithm,omitempty"`
	SystemDiskEncrypted        *bool                                   `json:"system_disk_encrypted,omitempty" xml:"system_disk_encrypted,omitempty"`
	SystemDiskKmsKeyId         *string                                 `json:"system_disk_kms_key_id,omitempty" xml:"system_disk_kms_key_id,omitempty"`
	SystemDiskPerformanceLevel *string                                 `json:"system_disk_performance_level,omitempty" xml:"system_disk_performance_level,omitempty"`
	SystemDiskProvisionedIops  *int64                                  `json:"system_disk_provisioned_iops,omitempty" xml:"system_disk_provisioned_iops,omitempty"`
	SystemDiskSize             *int64                                  `json:"system_disk_size,omitempty" xml:"system_disk_size,omitempty"`
	Tags                       []*NodepoolScalingGroupTags             `json:"tags,omitempty" xml:"tags,omitempty" type:"Repeated"`
	VswitchIds                 []*string                               `json:"vswitch_ids,omitempty" xml:"vswitch_ids,omitempty" type:"Repeated"`
}

func (NodepoolScalingGroup) GoString

func (s NodepoolScalingGroup) GoString() string

func (*NodepoolScalingGroup) SetAutoRenew

func (s *NodepoolScalingGroup) SetAutoRenew(v bool) *NodepoolScalingGroup

func (*NodepoolScalingGroup) SetAutoRenewPeriod

func (s *NodepoolScalingGroup) SetAutoRenewPeriod(v int64) *NodepoolScalingGroup

func (*NodepoolScalingGroup) SetCompensateWithOnDemand

func (s *NodepoolScalingGroup) SetCompensateWithOnDemand(v bool) *NodepoolScalingGroup

func (*NodepoolScalingGroup) SetDataDisks

func (s *NodepoolScalingGroup) SetDataDisks(v []*DataDisk) *NodepoolScalingGroup

func (*NodepoolScalingGroup) SetDeploymentsetId

func (s *NodepoolScalingGroup) SetDeploymentsetId(v string) *NodepoolScalingGroup

func (*NodepoolScalingGroup) SetDesiredSize

func (s *NodepoolScalingGroup) SetDesiredSize(v int64) *NodepoolScalingGroup

func (*NodepoolScalingGroup) SetImageId

func (*NodepoolScalingGroup) SetImageType

func (s *NodepoolScalingGroup) SetImageType(v string) *NodepoolScalingGroup

func (*NodepoolScalingGroup) SetInstanceChargeType

func (s *NodepoolScalingGroup) SetInstanceChargeType(v string) *NodepoolScalingGroup

func (*NodepoolScalingGroup) SetInstanceTypes

func (s *NodepoolScalingGroup) SetInstanceTypes(v []*string) *NodepoolScalingGroup

func (*NodepoolScalingGroup) SetInternetChargeType

func (s *NodepoolScalingGroup) SetInternetChargeType(v string) *NodepoolScalingGroup

func (*NodepoolScalingGroup) SetInternetMaxBandwidthOut

func (s *NodepoolScalingGroup) SetInternetMaxBandwidthOut(v int64) *NodepoolScalingGroup

func (*NodepoolScalingGroup) SetKeyPair

func (*NodepoolScalingGroup) SetLoginAsNonRoot

func (s *NodepoolScalingGroup) SetLoginAsNonRoot(v bool) *NodepoolScalingGroup

func (*NodepoolScalingGroup) SetLoginPassword

func (s *NodepoolScalingGroup) SetLoginPassword(v string) *NodepoolScalingGroup

func (*NodepoolScalingGroup) SetMultiAzPolicy

func (s *NodepoolScalingGroup) SetMultiAzPolicy(v string) *NodepoolScalingGroup

func (*NodepoolScalingGroup) SetOnDemandBaseCapacity

func (s *NodepoolScalingGroup) SetOnDemandBaseCapacity(v int64) *NodepoolScalingGroup

func (*NodepoolScalingGroup) SetOnDemandPercentageAboveBaseCapacity

func (s *NodepoolScalingGroup) SetOnDemandPercentageAboveBaseCapacity(v int64) *NodepoolScalingGroup

func (*NodepoolScalingGroup) SetPeriod

func (*NodepoolScalingGroup) SetPeriodUnit

func (s *NodepoolScalingGroup) SetPeriodUnit(v string) *NodepoolScalingGroup

func (*NodepoolScalingGroup) SetPlatform

func (*NodepoolScalingGroup) SetPrivatePoolOptions

func (*NodepoolScalingGroup) SetRdsInstances

func (s *NodepoolScalingGroup) SetRdsInstances(v []*string) *NodepoolScalingGroup

func (*NodepoolScalingGroup) SetScalingPolicy

func (s *NodepoolScalingGroup) SetScalingPolicy(v string) *NodepoolScalingGroup

func (*NodepoolScalingGroup) SetSecurityGroupId

func (s *NodepoolScalingGroup) SetSecurityGroupId(v string) *NodepoolScalingGroup

func (*NodepoolScalingGroup) SetSecurityGroupIds

func (s *NodepoolScalingGroup) SetSecurityGroupIds(v []*string) *NodepoolScalingGroup

func (*NodepoolScalingGroup) SetSpotInstancePools

func (s *NodepoolScalingGroup) SetSpotInstancePools(v int64) *NodepoolScalingGroup

func (*NodepoolScalingGroup) SetSpotInstanceRemedy

func (s *NodepoolScalingGroup) SetSpotInstanceRemedy(v bool) *NodepoolScalingGroup

func (*NodepoolScalingGroup) SetSpotPriceLimit

func (*NodepoolScalingGroup) SetSpotStrategy

func (s *NodepoolScalingGroup) SetSpotStrategy(v string) *NodepoolScalingGroup

func (*NodepoolScalingGroup) SetSystemDiskBurstingEnabled

func (s *NodepoolScalingGroup) SetSystemDiskBurstingEnabled(v bool) *NodepoolScalingGroup

func (*NodepoolScalingGroup) SetSystemDiskCategories

func (s *NodepoolScalingGroup) SetSystemDiskCategories(v []*string) *NodepoolScalingGroup

func (*NodepoolScalingGroup) SetSystemDiskCategory

func (s *NodepoolScalingGroup) SetSystemDiskCategory(v string) *NodepoolScalingGroup

func (*NodepoolScalingGroup) SetSystemDiskEncryptAlgorithm

func (s *NodepoolScalingGroup) SetSystemDiskEncryptAlgorithm(v string) *NodepoolScalingGroup

func (*NodepoolScalingGroup) SetSystemDiskEncrypted

func (s *NodepoolScalingGroup) SetSystemDiskEncrypted(v bool) *NodepoolScalingGroup

func (*NodepoolScalingGroup) SetSystemDiskKmsKeyId

func (s *NodepoolScalingGroup) SetSystemDiskKmsKeyId(v string) *NodepoolScalingGroup

func (*NodepoolScalingGroup) SetSystemDiskPerformanceLevel

func (s *NodepoolScalingGroup) SetSystemDiskPerformanceLevel(v string) *NodepoolScalingGroup

func (*NodepoolScalingGroup) SetSystemDiskProvisionedIops

func (s *NodepoolScalingGroup) SetSystemDiskProvisionedIops(v int64) *NodepoolScalingGroup

func (*NodepoolScalingGroup) SetSystemDiskSize

func (s *NodepoolScalingGroup) SetSystemDiskSize(v int64) *NodepoolScalingGroup

func (*NodepoolScalingGroup) SetTags

func (*NodepoolScalingGroup) SetVswitchIds

func (s *NodepoolScalingGroup) SetVswitchIds(v []*string) *NodepoolScalingGroup

func (NodepoolScalingGroup) String

func (s NodepoolScalingGroup) String() string

type NodepoolScalingGroupPrivatePoolOptions

type NodepoolScalingGroupPrivatePoolOptions struct {
	Id            *string `json:"id,omitempty" xml:"id,omitempty"`
	MatchCriteria *string `json:"match_criteria,omitempty" xml:"match_criteria,omitempty"`
}

func (NodepoolScalingGroupPrivatePoolOptions) GoString

func (*NodepoolScalingGroupPrivatePoolOptions) SetId

func (*NodepoolScalingGroupPrivatePoolOptions) SetMatchCriteria

func (NodepoolScalingGroupPrivatePoolOptions) String

type NodepoolScalingGroupSpotPriceLimit

type NodepoolScalingGroupSpotPriceLimit struct {
	InstanceType *string `json:"instance_type,omitempty" xml:"instance_type,omitempty"`
	PriceLimit   *string `json:"price_limit,omitempty" xml:"price_limit,omitempty"`
}

func (NodepoolScalingGroupSpotPriceLimit) GoString

func (*NodepoolScalingGroupSpotPriceLimit) SetInstanceType

func (*NodepoolScalingGroupSpotPriceLimit) SetPriceLimit

func (NodepoolScalingGroupSpotPriceLimit) String

type NodepoolScalingGroupTags

type NodepoolScalingGroupTags struct {
	Key   *string `json:"key,omitempty" xml:"key,omitempty"`
	Value *string `json:"value,omitempty" xml:"value,omitempty"`
}

func (NodepoolScalingGroupTags) GoString

func (s NodepoolScalingGroupTags) GoString() string

func (*NodepoolScalingGroupTags) SetKey

func (*NodepoolScalingGroupTags) SetValue

func (NodepoolScalingGroupTags) String

func (s NodepoolScalingGroupTags) String() string

type NodepoolTeeConfig

type NodepoolTeeConfig struct {
	TeeEnable *bool `json:"tee_enable,omitempty" xml:"tee_enable,omitempty"`
}

func (NodepoolTeeConfig) GoString

func (s NodepoolTeeConfig) GoString() string

func (*NodepoolTeeConfig) SetTeeEnable

func (s *NodepoolTeeConfig) SetTeeEnable(v bool) *NodepoolTeeConfig

func (NodepoolTeeConfig) String

func (s NodepoolTeeConfig) String() string

type OpenAckServiceRequest

type OpenAckServiceRequest struct {
	// The type of ACK service that you want to activate. Valid values:
	//
	// *   `propayasgo`: ACK Pro
	// *   `edgepayasgo`: ACK Edge
	Type *string `json:"type,omitempty" xml:"type,omitempty"`
}

func (OpenAckServiceRequest) GoString

func (s OpenAckServiceRequest) GoString() string

func (*OpenAckServiceRequest) SetType

func (OpenAckServiceRequest) String

func (s OpenAckServiceRequest) String() string

type OpenAckServiceResponse

type OpenAckServiceResponse struct {
	Headers    map[string]*string          `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                      `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *OpenAckServiceResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (OpenAckServiceResponse) GoString

func (s OpenAckServiceResponse) GoString() string

func (*OpenAckServiceResponse) SetBody

func (*OpenAckServiceResponse) SetHeaders

func (*OpenAckServiceResponse) SetStatusCode

func (OpenAckServiceResponse) String

func (s OpenAckServiceResponse) String() string

type OpenAckServiceResponseBody

type OpenAckServiceResponseBody struct {
	// The ID of the order.
	OrderId *string `json:"order_id,omitempty" xml:"order_id,omitempty"`
	// The request ID.
	RequestId *string `json:"request_id,omitempty" xml:"request_id,omitempty"`
}

func (OpenAckServiceResponseBody) GoString

func (s OpenAckServiceResponseBody) GoString() string

func (*OpenAckServiceResponseBody) SetOrderId

func (*OpenAckServiceResponseBody) SetRequestId

func (OpenAckServiceResponseBody) String

type PauseClusterUpgradeResponse

type PauseClusterUpgradeResponse struct {
	Headers    map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32             `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
}

func (PauseClusterUpgradeResponse) GoString

func (s PauseClusterUpgradeResponse) GoString() string

func (*PauseClusterUpgradeResponse) SetHeaders

func (*PauseClusterUpgradeResponse) SetStatusCode

func (PauseClusterUpgradeResponse) String

type PauseComponentUpgradeResponse

type PauseComponentUpgradeResponse struct {
	Headers    map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32             `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
}

func (PauseComponentUpgradeResponse) GoString

func (*PauseComponentUpgradeResponse) SetHeaders

func (*PauseComponentUpgradeResponse) SetStatusCode

func (PauseComponentUpgradeResponse) String

type PauseTaskResponse

type PauseTaskResponse struct {
	Headers    map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32             `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
}

func (PauseTaskResponse) GoString

func (s PauseTaskResponse) GoString() string

func (*PauseTaskResponse) SetHeaders

func (s *PauseTaskResponse) SetHeaders(v map[string]*string) *PauseTaskResponse

func (*PauseTaskResponse) SetStatusCode

func (s *PauseTaskResponse) SetStatusCode(v int32) *PauseTaskResponse

func (PauseTaskResponse) String

func (s PauseTaskResponse) String() string

type QuotasValue

type QuotasValue struct {
	// The value of the quota. If the quota limit is reached, submit an application in the [Quota Center console](https://quotas.console.aliyun.com/products/csk/quotas) to increase the quota.
	Quota *string `json:"quota,omitempty" xml:"quota,omitempty"`
	// The quota code.
	OperationCode *string `json:"operation_code,omitempty" xml:"operation_code,omitempty"`
	// Indicates whether the quota is adjustable.
	Adjustable *bool `json:"adjustable,omitempty" xml:"adjustable,omitempty"`
	// The unit.
	Unit *string `json:"unit,omitempty" xml:"unit,omitempty"`
}

func (QuotasValue) GoString

func (s QuotasValue) GoString() string

func (*QuotasValue) SetAdjustable

func (s *QuotasValue) SetAdjustable(v bool) *QuotasValue

func (*QuotasValue) SetOperationCode

func (s *QuotasValue) SetOperationCode(v string) *QuotasValue

func (*QuotasValue) SetQuota

func (s *QuotasValue) SetQuota(v string) *QuotasValue

func (*QuotasValue) SetUnit

func (s *QuotasValue) SetUnit(v string) *QuotasValue

func (QuotasValue) String

func (s QuotasValue) String() string

type RemoveClusterNodesRequest

type RemoveClusterNodesRequest struct {
	// Specifies whether to evict all pods from the nodes that you want to remove.
	DrainNode *bool `json:"drain_node,omitempty" xml:"drain_node,omitempty"`
	// The list of nodes to be removed.
	Nodes []*string `json:"nodes,omitempty" xml:"nodes,omitempty" type:"Repeated"`
	// Specifies whether to release the Elastic Compute Service (ECS) instances when they are removed from the cluster.
	ReleaseNode *bool `json:"release_node,omitempty" xml:"release_node,omitempty"`
}

func (RemoveClusterNodesRequest) GoString

func (s RemoveClusterNodesRequest) GoString() string

func (*RemoveClusterNodesRequest) SetDrainNode

func (*RemoveClusterNodesRequest) SetNodes

func (*RemoveClusterNodesRequest) SetReleaseNode

func (RemoveClusterNodesRequest) String

func (s RemoveClusterNodesRequest) String() string

type RemoveClusterNodesResponse

type RemoveClusterNodesResponse struct {
	Headers    map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32             `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
}

func (RemoveClusterNodesResponse) GoString

func (s RemoveClusterNodesResponse) GoString() string

func (*RemoveClusterNodesResponse) SetHeaders

func (*RemoveClusterNodesResponse) SetStatusCode

func (RemoveClusterNodesResponse) String

type RemoveNodePoolNodesRequest

type RemoveNodePoolNodesRequest struct {
	// 是否并发移除。
	Concurrency *bool `json:"concurrency,omitempty" xml:"concurrency,omitempty"`
	// Specifies whether to drain the nodes that you want to remove. Valid values:
	//
	// *   true: drain the nodes that you want to remove.
	// *   false: do not drain the nodes that you want to remove.
	DrainNode *bool `json:"drain_node,omitempty" xml:"drain_node,omitempty"`
	// A list of instances that you want to remove.
	InstanceIds []*string `json:"instance_ids,omitempty" xml:"instance_ids,omitempty" type:"Repeated"`
	// Deprecated
	// A list of nodes that you want to remove.
	Nodes []*string `json:"nodes,omitempty" xml:"nodes,omitempty" type:"Repeated"`
	// Specifies whether to release the nodes after they are removed. Valid values:
	//
	// *   true: release the nodes after they are removed.
	// *   false: do not release the nodes after they are removed.
	ReleaseNode *bool `json:"release_node,omitempty" xml:"release_node,omitempty"`
}

func (RemoveNodePoolNodesRequest) GoString

func (s RemoveNodePoolNodesRequest) GoString() string

func (*RemoveNodePoolNodesRequest) SetConcurrency

func (*RemoveNodePoolNodesRequest) SetDrainNode

func (*RemoveNodePoolNodesRequest) SetInstanceIds

func (*RemoveNodePoolNodesRequest) SetNodes

func (*RemoveNodePoolNodesRequest) SetReleaseNode

func (RemoveNodePoolNodesRequest) String

type RemoveNodePoolNodesResponse

type RemoveNodePoolNodesResponse struct {
	Headers    map[string]*string               `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                           `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *RemoveNodePoolNodesResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (RemoveNodePoolNodesResponse) GoString

func (s RemoveNodePoolNodesResponse) GoString() string

func (*RemoveNodePoolNodesResponse) SetBody

func (*RemoveNodePoolNodesResponse) SetHeaders

func (*RemoveNodePoolNodesResponse) SetStatusCode

func (RemoveNodePoolNodesResponse) String

type RemoveNodePoolNodesResponseBody

type RemoveNodePoolNodesResponseBody struct {
	// The request ID.
	RequestId *string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// The task ID.
	TaskId *string `json:"task_id,omitempty" xml:"task_id,omitempty"`
}

func (RemoveNodePoolNodesResponseBody) GoString

func (*RemoveNodePoolNodesResponseBody) SetRequestId

func (*RemoveNodePoolNodesResponseBody) SetTaskId

func (RemoveNodePoolNodesResponseBody) String

type RemoveNodePoolNodesShrinkRequest

type RemoveNodePoolNodesShrinkRequest struct {
	// 是否并发移除。
	Concurrency *bool `json:"concurrency,omitempty" xml:"concurrency,omitempty"`
	// Specifies whether to drain the nodes that you want to remove. Valid values:
	//
	// *   true: drain the nodes that you want to remove.
	// *   false: do not drain the nodes that you want to remove.
	DrainNode *bool `json:"drain_node,omitempty" xml:"drain_node,omitempty"`
	// A list of instances that you want to remove.
	InstanceIdsShrink *string `json:"instance_ids,omitempty" xml:"instance_ids,omitempty"`
	// Deprecated
	// A list of nodes that you want to remove.
	NodesShrink *string `json:"nodes,omitempty" xml:"nodes,omitempty"`
	// Specifies whether to release the nodes after they are removed. Valid values:
	//
	// *   true: release the nodes after they are removed.
	// *   false: do not release the nodes after they are removed.
	ReleaseNode *bool `json:"release_node,omitempty" xml:"release_node,omitempty"`
}

func (RemoveNodePoolNodesShrinkRequest) GoString

func (*RemoveNodePoolNodesShrinkRequest) SetConcurrency

func (*RemoveNodePoolNodesShrinkRequest) SetDrainNode

func (*RemoveNodePoolNodesShrinkRequest) SetInstanceIdsShrink

func (*RemoveNodePoolNodesShrinkRequest) SetNodesShrink

func (*RemoveNodePoolNodesShrinkRequest) SetReleaseNode

func (RemoveNodePoolNodesShrinkRequest) String

type RemoveWorkflowResponse

type RemoveWorkflowResponse struct {
	Headers    map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32             `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
}

func (RemoveWorkflowResponse) GoString

func (s RemoveWorkflowResponse) GoString() string

func (*RemoveWorkflowResponse) SetHeaders

func (*RemoveWorkflowResponse) SetStatusCode

func (RemoveWorkflowResponse) String

func (s RemoveWorkflowResponse) String() string

type RepairClusterNodePoolRequest

type RepairClusterNodePoolRequest struct {
	AutoRestart *bool `json:"auto_restart,omitempty" xml:"auto_restart,omitempty"`
	// The list of nodes. If you do not specify nodes, all nodes in the node pool are selected.
	Nodes []*string `json:"nodes,omitempty" xml:"nodes,omitempty" type:"Repeated"`
}

func (RepairClusterNodePoolRequest) GoString

func (s RepairClusterNodePoolRequest) GoString() string

func (*RepairClusterNodePoolRequest) SetAutoRestart

func (*RepairClusterNodePoolRequest) SetNodes

func (RepairClusterNodePoolRequest) String

type RepairClusterNodePoolResponse

type RepairClusterNodePoolResponse struct {
	Headers    map[string]*string                 `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                             `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *RepairClusterNodePoolResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (RepairClusterNodePoolResponse) GoString

func (*RepairClusterNodePoolResponse) SetBody

func (*RepairClusterNodePoolResponse) SetHeaders

func (*RepairClusterNodePoolResponse) SetStatusCode

func (RepairClusterNodePoolResponse) String

type RepairClusterNodePoolResponseBody

type RepairClusterNodePoolResponseBody struct {
	// The request ID.
	RequestId *string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// The ID of the task.
	TaskId *string `json:"task_id,omitempty" xml:"task_id,omitempty"`
}

func (RepairClusterNodePoolResponseBody) GoString

func (*RepairClusterNodePoolResponseBody) SetRequestId

func (*RepairClusterNodePoolResponseBody) SetTaskId

func (RepairClusterNodePoolResponseBody) String

type ResumeComponentUpgradeResponse

type ResumeComponentUpgradeResponse struct {
	Headers    map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32             `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
}

func (ResumeComponentUpgradeResponse) GoString

func (*ResumeComponentUpgradeResponse) SetHeaders

func (*ResumeComponentUpgradeResponse) SetStatusCode

func (ResumeComponentUpgradeResponse) String

type ResumeTaskResponse

type ResumeTaskResponse struct {
	Headers    map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32             `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
}

func (ResumeTaskResponse) GoString

func (s ResumeTaskResponse) GoString() string

func (*ResumeTaskResponse) SetHeaders

func (s *ResumeTaskResponse) SetHeaders(v map[string]*string) *ResumeTaskResponse

func (*ResumeTaskResponse) SetStatusCode

func (s *ResumeTaskResponse) SetStatusCode(v int32) *ResumeTaskResponse

func (ResumeTaskResponse) String

func (s ResumeTaskResponse) String() string

type ResumeUpgradeClusterResponse

type ResumeUpgradeClusterResponse struct {
	Headers    map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32             `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
}

func (ResumeUpgradeClusterResponse) GoString

func (s ResumeUpgradeClusterResponse) GoString() string

func (*ResumeUpgradeClusterResponse) SetHeaders

func (*ResumeUpgradeClusterResponse) SetStatusCode

func (ResumeUpgradeClusterResponse) String

type RunClusterCheckRequest

type RunClusterCheckRequest struct {
	// The cluster check items.
	Options map[string]*string `json:"options,omitempty" xml:"options,omitempty"`
	Target  *string            `json:"target,omitempty" xml:"target,omitempty"`
	// The check method.
	Type *string `json:"type,omitempty" xml:"type,omitempty"`
}

func (RunClusterCheckRequest) GoString

func (s RunClusterCheckRequest) GoString() string

func (*RunClusterCheckRequest) SetOptions

func (*RunClusterCheckRequest) SetTarget

func (*RunClusterCheckRequest) SetType

func (RunClusterCheckRequest) String

func (s RunClusterCheckRequest) String() string

type RunClusterCheckResponse

type RunClusterCheckResponse struct {
	Headers    map[string]*string           `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                       `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *RunClusterCheckResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (RunClusterCheckResponse) GoString

func (s RunClusterCheckResponse) GoString() string

func (*RunClusterCheckResponse) SetBody

func (*RunClusterCheckResponse) SetHeaders

func (*RunClusterCheckResponse) SetStatusCode

func (RunClusterCheckResponse) String

func (s RunClusterCheckResponse) String() string

type RunClusterCheckResponseBody

type RunClusterCheckResponseBody struct {
	// The ID of the cluster check task.
	CheckId *string `json:"check_id,omitempty" xml:"check_id,omitempty"`
	// Id of the request
	RequestId *string `json:"request_id,omitempty" xml:"request_id,omitempty"`
}

func (RunClusterCheckResponseBody) GoString

func (s RunClusterCheckResponseBody) GoString() string

func (*RunClusterCheckResponseBody) SetCheckId

func (*RunClusterCheckResponseBody) SetRequestId

func (RunClusterCheckResponseBody) String

type Runtime

type Runtime struct {
	Name    *string `json:"name,omitempty" xml:"name,omitempty"`
	Version *string `json:"version,omitempty" xml:"version,omitempty"`
}

func (Runtime) GoString

func (s Runtime) GoString() string

func (*Runtime) SetName

func (s *Runtime) SetName(v string) *Runtime

func (*Runtime) SetVersion

func (s *Runtime) SetVersion(v string) *Runtime

func (Runtime) String

func (s Runtime) String() string

type ScaleClusterNodePoolRequest

type ScaleClusterNodePoolRequest struct {
	// The number of worker nodes that you want to add. You can add at most 500 nodes in one API call. The maximum number of nodes that can be added is limited by the quota of nodes in the cluster.
	Count *int64 `json:"count,omitempty" xml:"count,omitempty"`
}

func (ScaleClusterNodePoolRequest) GoString

func (s ScaleClusterNodePoolRequest) GoString() string

func (*ScaleClusterNodePoolRequest) SetCount

func (ScaleClusterNodePoolRequest) String

type ScaleClusterNodePoolResponse

type ScaleClusterNodePoolResponse struct {
	Headers    map[string]*string                `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                            `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *ScaleClusterNodePoolResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (ScaleClusterNodePoolResponse) GoString

func (s ScaleClusterNodePoolResponse) GoString() string

func (*ScaleClusterNodePoolResponse) SetBody

func (*ScaleClusterNodePoolResponse) SetHeaders

func (*ScaleClusterNodePoolResponse) SetStatusCode

func (ScaleClusterNodePoolResponse) String

type ScaleClusterNodePoolResponseBody

type ScaleClusterNodePoolResponseBody struct {
	// The task ID.
	TaskId *string `json:"task_id,omitempty" xml:"task_id,omitempty"`
}

func (ScaleClusterNodePoolResponseBody) GoString

func (*ScaleClusterNodePoolResponseBody) SetTaskId

func (ScaleClusterNodePoolResponseBody) String

type ScaleClusterRequest

type ScaleClusterRequest struct {
	CloudMonitorFlags        *bool                                 `json:"cloud_monitor_flags,omitempty" xml:"cloud_monitor_flags,omitempty"`
	Count                    *int64                                `json:"count,omitempty" xml:"count,omitempty"`
	CpuPolicy                *string                               `json:"cpu_policy,omitempty" xml:"cpu_policy,omitempty"`
	DisableRollback          *bool                                 `json:"disable_rollback,omitempty" xml:"disable_rollback,omitempty"`
	KeyPair                  *string                               `json:"key_pair,omitempty" xml:"key_pair,omitempty"`
	LoginPassword            *string                               `json:"login_password,omitempty" xml:"login_password,omitempty"`
	Tags                     []*ScaleClusterRequestTags            `json:"tags,omitempty" xml:"tags,omitempty" type:"Repeated"`
	Taints                   []*ScaleClusterRequestTaints          `json:"taints,omitempty" xml:"taints,omitempty" type:"Repeated"`
	VswitchIds               []*string                             `json:"vswitch_ids,omitempty" xml:"vswitch_ids,omitempty" type:"Repeated"`
	WorkerAutoRenew          *bool                                 `json:"worker_auto_renew,omitempty" xml:"worker_auto_renew,omitempty"`
	WorkerAutoRenewPeriod    *int64                                `json:"worker_auto_renew_period,omitempty" xml:"worker_auto_renew_period,omitempty"`
	WorkerDataDisk           *bool                                 `json:"worker_data_disk,omitempty" xml:"worker_data_disk,omitempty"`
	WorkerDataDisks          []*ScaleClusterRequestWorkerDataDisks `json:"worker_data_disks,omitempty" xml:"worker_data_disks,omitempty" type:"Repeated"`
	WorkerInstanceChargeType *string                               `json:"worker_instance_charge_type,omitempty" xml:"worker_instance_charge_type,omitempty"`
	WorkerInstanceTypes      []*string                             `json:"worker_instance_types,omitempty" xml:"worker_instance_types,omitempty" type:"Repeated"`
	WorkerPeriod             *int64                                `json:"worker_period,omitempty" xml:"worker_period,omitempty"`
	WorkerPeriodUnit         *string                               `json:"worker_period_unit,omitempty" xml:"worker_period_unit,omitempty"`
	WorkerSystemDiskCategory *string                               `json:"worker_system_disk_category,omitempty" xml:"worker_system_disk_category,omitempty"`
	WorkerSystemDiskSize     *int64                                `json:"worker_system_disk_size,omitempty" xml:"worker_system_disk_size,omitempty"`
}

func (ScaleClusterRequest) GoString

func (s ScaleClusterRequest) GoString() string

func (*ScaleClusterRequest) SetCloudMonitorFlags

func (s *ScaleClusterRequest) SetCloudMonitorFlags(v bool) *ScaleClusterRequest

func (*ScaleClusterRequest) SetCount

func (*ScaleClusterRequest) SetCpuPolicy

func (s *ScaleClusterRequest) SetCpuPolicy(v string) *ScaleClusterRequest

func (*ScaleClusterRequest) SetDisableRollback

func (s *ScaleClusterRequest) SetDisableRollback(v bool) *ScaleClusterRequest

func (*ScaleClusterRequest) SetKeyPair

func (*ScaleClusterRequest) SetLoginPassword

func (s *ScaleClusterRequest) SetLoginPassword(v string) *ScaleClusterRequest

func (*ScaleClusterRequest) SetTags

func (*ScaleClusterRequest) SetTaints

func (*ScaleClusterRequest) SetVswitchIds

func (s *ScaleClusterRequest) SetVswitchIds(v []*string) *ScaleClusterRequest

func (*ScaleClusterRequest) SetWorkerAutoRenew

func (s *ScaleClusterRequest) SetWorkerAutoRenew(v bool) *ScaleClusterRequest

func (*ScaleClusterRequest) SetWorkerAutoRenewPeriod

func (s *ScaleClusterRequest) SetWorkerAutoRenewPeriod(v int64) *ScaleClusterRequest

func (*ScaleClusterRequest) SetWorkerDataDisk

func (s *ScaleClusterRequest) SetWorkerDataDisk(v bool) *ScaleClusterRequest

func (*ScaleClusterRequest) SetWorkerDataDisks

func (*ScaleClusterRequest) SetWorkerInstanceChargeType

func (s *ScaleClusterRequest) SetWorkerInstanceChargeType(v string) *ScaleClusterRequest

func (*ScaleClusterRequest) SetWorkerInstanceTypes

func (s *ScaleClusterRequest) SetWorkerInstanceTypes(v []*string) *ScaleClusterRequest

func (*ScaleClusterRequest) SetWorkerPeriod

func (s *ScaleClusterRequest) SetWorkerPeriod(v int64) *ScaleClusterRequest

func (*ScaleClusterRequest) SetWorkerPeriodUnit

func (s *ScaleClusterRequest) SetWorkerPeriodUnit(v string) *ScaleClusterRequest

func (*ScaleClusterRequest) SetWorkerSystemDiskCategory

func (s *ScaleClusterRequest) SetWorkerSystemDiskCategory(v string) *ScaleClusterRequest

func (*ScaleClusterRequest) SetWorkerSystemDiskSize

func (s *ScaleClusterRequest) SetWorkerSystemDiskSize(v int64) *ScaleClusterRequest

func (ScaleClusterRequest) String

func (s ScaleClusterRequest) String() string

type ScaleClusterRequestTags

type ScaleClusterRequestTags struct {
	Key *string `json:"key,omitempty" xml:"key,omitempty"`
}

func (ScaleClusterRequestTags) GoString

func (s ScaleClusterRequestTags) GoString() string

func (*ScaleClusterRequestTags) SetKey

func (ScaleClusterRequestTags) String

func (s ScaleClusterRequestTags) String() string

type ScaleClusterRequestTaints

type ScaleClusterRequestTaints struct {
	Effect *string `json:"effect,omitempty" xml:"effect,omitempty"`
	Key    *string `json:"key,omitempty" xml:"key,omitempty"`
	Value  *string `json:"value,omitempty" xml:"value,omitempty"`
}

func (ScaleClusterRequestTaints) GoString

func (s ScaleClusterRequestTaints) GoString() string

func (*ScaleClusterRequestTaints) SetEffect

func (*ScaleClusterRequestTaints) SetKey

func (*ScaleClusterRequestTaints) SetValue

func (ScaleClusterRequestTaints) String

func (s ScaleClusterRequestTaints) String() string

type ScaleClusterRequestWorkerDataDisks

type ScaleClusterRequestWorkerDataDisks struct {
	Category  *string `json:"category,omitempty" xml:"category,omitempty"`
	Encrypted *string `json:"encrypted,omitempty" xml:"encrypted,omitempty"`
	Size      *string `json:"size,omitempty" xml:"size,omitempty"`
}

func (ScaleClusterRequestWorkerDataDisks) GoString

func (*ScaleClusterRequestWorkerDataDisks) SetCategory

func (*ScaleClusterRequestWorkerDataDisks) SetEncrypted

func (*ScaleClusterRequestWorkerDataDisks) SetSize

func (ScaleClusterRequestWorkerDataDisks) String

type ScaleClusterResponse

type ScaleClusterResponse struct {
	Headers    map[string]*string        `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                    `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *ScaleClusterResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (ScaleClusterResponse) GoString

func (s ScaleClusterResponse) GoString() string

func (*ScaleClusterResponse) SetBody

func (*ScaleClusterResponse) SetHeaders

func (s *ScaleClusterResponse) SetHeaders(v map[string]*string) *ScaleClusterResponse

func (*ScaleClusterResponse) SetStatusCode

func (s *ScaleClusterResponse) SetStatusCode(v int32) *ScaleClusterResponse

func (ScaleClusterResponse) String

func (s ScaleClusterResponse) String() string

type ScaleClusterResponseBody

type ScaleClusterResponseBody struct {
	ClusterId *string `json:"cluster_id,omitempty" xml:"cluster_id,omitempty"`
	RequestId *string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	TaskId    *string `json:"task_id,omitempty" xml:"task_id,omitempty"`
}

func (ScaleClusterResponseBody) GoString

func (s ScaleClusterResponseBody) GoString() string

func (*ScaleClusterResponseBody) SetClusterId

func (*ScaleClusterResponseBody) SetRequestId

func (*ScaleClusterResponseBody) SetTaskId

func (ScaleClusterResponseBody) String

func (s ScaleClusterResponseBody) String() string

type ScaleOutClusterRequest

type ScaleOutClusterRequest struct {
	// Specifies whether to install the CloudMonitor agent. Valid values:
	//
	// *   `true`: installs the CloudMonitor agent.
	// *   `false`: does not install the CloudMonitor agent.
	//
	// Default value: `false`.
	CloudMonitorFlags *bool `json:"cloud_monitor_flags,omitempty" xml:"cloud_monitor_flags,omitempty"`
	// The number of worker nodes that you want to add.
	Count *int64 `json:"count,omitempty" xml:"count,omitempty"`
	// The CPU management policy of the nodes in a node pool. The following policies are supported if the Kubernetes version of the cluster is 1.12.6 or later.
	//
	// *   `static`: This policy allows pods with specific resource characteristics on the node to be granted with enhanced CPU affinity and exclusivity.
	// *   `none`: The default CPU affinity is used.
	//
	// Default value: `none`.
	CpuPolicy *string `json:"cpu_policy,omitempty" xml:"cpu_policy,omitempty"`
	// Specifies a custom image for nodes. By default, the image provided by Container Service for Kubernetes (ACK) is used. You can select a custom image to replace the default image. For more information, see [Custom images](~~146647~~).
	ImageId *string `json:"image_id,omitempty" xml:"image_id,omitempty"`
	// The name of the key pair. You must set this parameter or the `login_password` parameter.
	KeyPair *string `json:"key_pair,omitempty" xml:"key_pair,omitempty"`
	// The password for SSH logon. You must set this parameter or the `key_pair` parameter. The password must be 8 to 30 characters in length, and must contain at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters.
	LoginPassword *string `json:"login_password,omitempty" xml:"login_password,omitempty"`
	// After you specify the list of ApsaraDB RDS instances, the ECS instances in the cluster are automatically added to the whitelist of the ApsaraDB RDS instances.
	RdsInstances []*string `json:"rds_instances,omitempty" xml:"rds_instances,omitempty" type:"Repeated"`
	// The container runtime.
	Runtime *Runtime `json:"runtime,omitempty" xml:"runtime,omitempty"`
	// The labels that you want to add to nodes. You must add labels based on the following rules:
	//
	// *   Each label is a case-sensitive key-value pair. You can add up to 20 labels.
	// *   A key must be unique and cannot exceed 64 characters in length. A value can be empty and cannot exceed 128 characters in length. Keys and values cannot start with aliyun, acs:, https://, or http://. For more information, see [Labels and Selectors](https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#syntax-and-character-set).
	Tags []*Tag `json:"tags,omitempty" xml:"tags,omitempty" type:"Repeated"`
	// The taints that you want to add to nodes. Taints are added to nodes to prevent pods from being scheduled to inappropriate nodes. However, tolerations allow pods to be scheduled to nodes with matching taints. For more information, see [Taints and Tolerations](https://kubernetes.io/zh/docs/concepts/scheduling-eviction/taint-and-toleration/).
	Taints []*Taint `json:"taints,omitempty" xml:"taints,omitempty" type:"Repeated"`
	// The user data of the node pool. For more information, see [Generate user-defined data](~~49121~~).
	UserData *string `json:"user_data,omitempty" xml:"user_data,omitempty"`
	// The IDs of the vSwitches. You can select one to three vSwitches when you create a cluster. We recommend that you select vSwitches in different zones to ensure high availability.
	VswitchIds []*string `json:"vswitch_ids,omitempty" xml:"vswitch_ids,omitempty" type:"Repeated"`
	// Specifies whether to enable auto-renewal for worker nodes. This parameter takes effect only if `worker_instance_charge_type` is set to `PrePaid`. Valid values:
	//
	// *   `true`: enables auto-renewal.
	// *   `false`: disables auto-renewal.
	//
	// Default value: `true`.
	WorkerAutoRenew *bool `json:"worker_auto_renew,omitempty" xml:"worker_auto_renew,omitempty"`
	// The auto-renewal period for worker nodes after the subscriptions of worker nodes expire. This parameter takes effect and is required only if the subscription billing method is selected for worker nodes.
	//
	// Valid values: 1, 2, 3, 6, and 12.
	//
	// Default value: `1`.
	WorkerAutoRenewPeriod *int64 `json:"worker_auto_renew_period,omitempty" xml:"worker_auto_renew_period,omitempty"`
	// The configuration of the data disk that is mounted to worker nodes. The configuration includes the disk type and disk size.
	WorkerDataDisks []*ScaleOutClusterRequestWorkerDataDisks `json:"worker_data_disks,omitempty" xml:"worker_data_disks,omitempty" type:"Repeated"`
	// The billing method of worker nodes. Valid values:
	//
	// *   `PrePaid`: subscription.
	// *   `PostPaid`: pay-as-you-go.
	//
	// Default value: `PostPaid`.
	WorkerInstanceChargeType *string `json:"worker_instance_charge_type,omitempty" xml:"worker_instance_charge_type,omitempty"`
	// The instance configurations of worker nodes.
	WorkerInstanceTypes []*string `json:"worker_instance_types,omitempty" xml:"worker_instance_types,omitempty" type:"Repeated"`
	// The subscription duration of worker nodes. This parameter takes effect and is required only if `worker_instance_charge_type` is set to `PrePaid`.
	//
	// Valid values: 1, 2, 3, 6, 12, 24, 36, 48, and 60.
	//
	// Default value: 1.
	WorkerPeriod *int64 `json:"worker_period,omitempty" xml:"worker_period,omitempty"`
	// The billing cycle of worker nodes. This parameter is required if worker_instance_charge_type is set to `PrePaid`.
	//
	// Set the value to `Month`. Worker nodes are billed only on a monthly basis.
	WorkerPeriodUnit *string `json:"worker_period_unit,omitempty" xml:"worker_period_unit,omitempty"`
	// The type of system disk that you want to use for worker nodes. Valid values:
	//
	// *   `cloud_efficiency`: ultra disk.
	// *   `cloud_ssd`: standard SSD.
	// *   `cloud_essd`: enhanced SSD (ESSD).
	//
	// Default value: `cloud_ssd`.
	WorkerSystemDiskCategory *string `json:"worker_system_disk_category,omitempty" xml:"worker_system_disk_category,omitempty"`
	// The size of the system disk that you want to use for worker nodes. Unit: GiB.
	//
	// Valid values: 40 to 500.
	//
	// Default value: `120`.
	WorkerSystemDiskSize *int64 `json:"worker_system_disk_size,omitempty" xml:"worker_system_disk_size,omitempty"`
}

func (ScaleOutClusterRequest) GoString

func (s ScaleOutClusterRequest) GoString() string

func (*ScaleOutClusterRequest) SetCloudMonitorFlags

func (s *ScaleOutClusterRequest) SetCloudMonitorFlags(v bool) *ScaleOutClusterRequest

func (*ScaleOutClusterRequest) SetCount

func (*ScaleOutClusterRequest) SetCpuPolicy

func (*ScaleOutClusterRequest) SetImageId

func (*ScaleOutClusterRequest) SetKeyPair

func (*ScaleOutClusterRequest) SetLoginPassword

func (s *ScaleOutClusterRequest) SetLoginPassword(v string) *ScaleOutClusterRequest

func (*ScaleOutClusterRequest) SetRdsInstances

func (s *ScaleOutClusterRequest) SetRdsInstances(v []*string) *ScaleOutClusterRequest

func (*ScaleOutClusterRequest) SetRuntime

func (*ScaleOutClusterRequest) SetTags

func (*ScaleOutClusterRequest) SetTaints

func (*ScaleOutClusterRequest) SetUserData

func (*ScaleOutClusterRequest) SetVswitchIds

func (s *ScaleOutClusterRequest) SetVswitchIds(v []*string) *ScaleOutClusterRequest

func (*ScaleOutClusterRequest) SetWorkerAutoRenew

func (s *ScaleOutClusterRequest) SetWorkerAutoRenew(v bool) *ScaleOutClusterRequest

func (*ScaleOutClusterRequest) SetWorkerAutoRenewPeriod

func (s *ScaleOutClusterRequest) SetWorkerAutoRenewPeriod(v int64) *ScaleOutClusterRequest

func (*ScaleOutClusterRequest) SetWorkerDataDisks

func (*ScaleOutClusterRequest) SetWorkerInstanceChargeType

func (s *ScaleOutClusterRequest) SetWorkerInstanceChargeType(v string) *ScaleOutClusterRequest

func (*ScaleOutClusterRequest) SetWorkerInstanceTypes

func (s *ScaleOutClusterRequest) SetWorkerInstanceTypes(v []*string) *ScaleOutClusterRequest

func (*ScaleOutClusterRequest) SetWorkerPeriod

func (s *ScaleOutClusterRequest) SetWorkerPeriod(v int64) *ScaleOutClusterRequest

func (*ScaleOutClusterRequest) SetWorkerPeriodUnit

func (s *ScaleOutClusterRequest) SetWorkerPeriodUnit(v string) *ScaleOutClusterRequest

func (*ScaleOutClusterRequest) SetWorkerSystemDiskCategory

func (s *ScaleOutClusterRequest) SetWorkerSystemDiskCategory(v string) *ScaleOutClusterRequest

func (*ScaleOutClusterRequest) SetWorkerSystemDiskSize

func (s *ScaleOutClusterRequest) SetWorkerSystemDiskSize(v int64) *ScaleOutClusterRequest

func (ScaleOutClusterRequest) String

func (s ScaleOutClusterRequest) String() string

type ScaleOutClusterRequestWorkerDataDisks

type ScaleOutClusterRequestWorkerDataDisks struct {
	// The ID of an automatic snapshot policy. Automatic backup is performed for a disk based on the specified automatic snapshot policy.
	//
	// By default, this parameter is empty, which indicates that automatic backup is disabled.
	AutoSnapshotPolicyId *string `json:"auto_snapshot_policy_id,omitempty" xml:"auto_snapshot_policy_id,omitempty"`
	// The data disk type.
	Category *string `json:"category,omitempty" xml:"category,omitempty"`
	// Specifies whether to encrypt the data disks. Valid values:
	//
	// *   `true`: encrypts data disks.
	// *   `false`: does not encrypt data disks.
	//
	// Default value: `false`.
	Encrypted *string `json:"encrypted,omitempty" xml:"encrypted,omitempty"`
	// The size of the data disk. Valid values: 40 to 32767.
	Size *string `json:"size,omitempty" xml:"size,omitempty"`
}

func (ScaleOutClusterRequestWorkerDataDisks) GoString

func (*ScaleOutClusterRequestWorkerDataDisks) SetAutoSnapshotPolicyId

func (*ScaleOutClusterRequestWorkerDataDisks) SetCategory

func (*ScaleOutClusterRequestWorkerDataDisks) SetEncrypted

func (*ScaleOutClusterRequestWorkerDataDisks) SetSize

func (ScaleOutClusterRequestWorkerDataDisks) String

type ScaleOutClusterResponse

type ScaleOutClusterResponse struct {
	Headers    map[string]*string           `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                       `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *ScaleOutClusterResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (ScaleOutClusterResponse) GoString

func (s ScaleOutClusterResponse) GoString() string

func (*ScaleOutClusterResponse) SetBody

func (*ScaleOutClusterResponse) SetHeaders

func (*ScaleOutClusterResponse) SetStatusCode

func (ScaleOutClusterResponse) String

func (s ScaleOutClusterResponse) String() string

type ScaleOutClusterResponseBody

type ScaleOutClusterResponseBody struct {
	// The cluster ID.
	ClusterId *string `json:"cluster_id,omitempty" xml:"cluster_id,omitempty"`
	// The request ID.
	RequestId *string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// The task ID.
	TaskId *string `json:"task_id,omitempty" xml:"task_id,omitempty"`
}

func (ScaleOutClusterResponseBody) GoString

func (s ScaleOutClusterResponseBody) GoString() string

func (*ScaleOutClusterResponseBody) SetClusterId

func (*ScaleOutClusterResponseBody) SetRequestId

func (*ScaleOutClusterResponseBody) SetTaskId

func (ScaleOutClusterResponseBody) String

type ScanClusterVulsResponse

type ScanClusterVulsResponse struct {
	Headers    map[string]*string           `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                       `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *ScanClusterVulsResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (ScanClusterVulsResponse) GoString

func (s ScanClusterVulsResponse) GoString() string

func (*ScanClusterVulsResponse) SetBody

func (*ScanClusterVulsResponse) SetHeaders

func (*ScanClusterVulsResponse) SetStatusCode

func (ScanClusterVulsResponse) String

func (s ScanClusterVulsResponse) String() string

type ScanClusterVulsResponseBody

type ScanClusterVulsResponseBody struct {
	RequestId *string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	TaskId    *string `json:"task_id,omitempty" xml:"task_id,omitempty"`
}

func (ScanClusterVulsResponseBody) GoString

func (s ScanClusterVulsResponseBody) GoString() string

func (*ScanClusterVulsResponseBody) SetRequestId

func (*ScanClusterVulsResponseBody) SetTaskId

func (ScanClusterVulsResponseBody) String

type StandardComponentsValue

type StandardComponentsValue struct {
	// The name of the component.
	Name *string `json:"name,omitempty" xml:"name,omitempty"`
	// The version of the component.
	Version *string `json:"version,omitempty" xml:"version,omitempty"`
	// The description of the component.
	Description *string `json:"description,omitempty" xml:"description,omitempty"`
	// Indicates whether the component is a required component. Valid values:
	//
	// *   `true`: The component is required and must be installed when a cluster is created.
	// *   `false`: The component is optional. After a cluster is created, you can go to the `Add-ons` page to install the component.
	Required *string `json:"required,omitempty" xml:"required,omitempty"`
	// Indicates whether the automatic installation of the component is disabled. By default, some optional components, such as components for logging and Ingresses, are installed when a cluster is created. You can set this parameter to disable automatic component installation. Valid values:
	//
	// *   `true`: disables automatic component installation.
	// *   `false`: enables automatic component installation.
	Disabled *bool `json:"disabled,omitempty" xml:"disabled,omitempty"`
}

func (StandardComponentsValue) GoString

func (s StandardComponentsValue) GoString() string

func (*StandardComponentsValue) SetDescription

func (*StandardComponentsValue) SetDisabled

func (*StandardComponentsValue) SetName

func (*StandardComponentsValue) SetRequired

func (*StandardComponentsValue) SetVersion

func (StandardComponentsValue) String

func (s StandardComponentsValue) String() string

type StartAlertRequest

type StartAlertRequest struct {
	// The name of the alert rule set to be enabled.
	AlertRuleGroupName *string `json:"alert_rule_group_name,omitempty" xml:"alert_rule_group_name,omitempty"`
	// The name of the alert rule to be enabled. If you do not specify an alert rule name, the alert rule set is enabled.
	AlertRuleName *string `json:"alert_rule_name,omitempty" xml:"alert_rule_name,omitempty"`
}

func (StartAlertRequest) GoString

func (s StartAlertRequest) GoString() string

func (*StartAlertRequest) SetAlertRuleGroupName

func (s *StartAlertRequest) SetAlertRuleGroupName(v string) *StartAlertRequest

func (*StartAlertRequest) SetAlertRuleName

func (s *StartAlertRequest) SetAlertRuleName(v string) *StartAlertRequest

func (StartAlertRequest) String

func (s StartAlertRequest) String() string

type StartAlertResponse

type StartAlertResponse struct {
	Headers    map[string]*string      `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                  `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *StartAlertResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (StartAlertResponse) GoString

func (s StartAlertResponse) GoString() string

func (*StartAlertResponse) SetBody

func (*StartAlertResponse) SetHeaders

func (s *StartAlertResponse) SetHeaders(v map[string]*string) *StartAlertResponse

func (*StartAlertResponse) SetStatusCode

func (s *StartAlertResponse) SetStatusCode(v int32) *StartAlertResponse

func (StartAlertResponse) String

func (s StartAlertResponse) String() string

type StartAlertResponseBody

type StartAlertResponseBody struct {
	// The message returned.
	Msg *string `json:"msg,omitempty" xml:"msg,omitempty"`
	// The status.
	Status *bool `json:"status,omitempty" xml:"status,omitempty"`
}

func (StartAlertResponseBody) GoString

func (s StartAlertResponseBody) GoString() string

func (*StartAlertResponseBody) SetMsg

func (*StartAlertResponseBody) SetStatus

func (StartAlertResponseBody) String

func (s StartAlertResponseBody) String() string

type StartWorkflowRequest

type StartWorkflowRequest struct {
	// The name of the output BAM file.
	MappingBamOutFilename *string `json:"mapping_bam_out_filename,omitempty" xml:"mapping_bam_out_filename,omitempty"`
	// The output path of the Binary Alignment Map (BAM) file.
	MappingBamOutPath *string `json:"mapping_bam_out_path,omitempty" xml:"mapping_bam_out_path,omitempty"`
	// The name of the OSS bucket that stores the data of the mapping workflow.
	MappingBucketName *string `json:"mapping_bucket_name,omitempty" xml:"mapping_bucket_name,omitempty"`
	// The name of the first FASTQ file of the mapping workflow.
	MappingFastqFirstFilename *string `json:"mapping_fastq_first_filename,omitempty" xml:"mapping_fastq_first_filename,omitempty"`
	// The path of the FASTQ files of the mapping workflow.
	MappingFastqPath *string `json:"mapping_fastq_path,omitempty" xml:"mapping_fastq_path,omitempty"`
	// The name of the second FASTQ file of the mapping workflow.
	MappingFastqSecondFilename *string `json:"mapping_fastq_second_filename,omitempty" xml:"mapping_fastq_second_filename,omitempty"`
	// Specifies whether to mark duplicate values.
	MappingIsMarkDup *string `json:"mapping_is_mark_dup,omitempty" xml:"mapping_is_mark_dup,omitempty"`
	// The region where the Object Storage Service (OSS) bucket that stores the data of the mapping workflow is deployed.
	MappingOssRegion *string `json:"mapping_oss_region,omitempty" xml:"mapping_oss_region,omitempty"`
	// The path of the reference files of the mapping workflow.
	MappingReferencePath *string `json:"mapping_reference_path,omitempty" xml:"mapping_reference_path,omitempty"`
	// The type of service-level agreement (SLA). Valid values:
	//
	// *   s: the silver level (S-level). It requires 1 extra minute to process every 1.5 billion base pairs beyond the limit of 90 billion base pairs.
	// *   g: the gold level (G-level). It requires 1 extra minute to process every 2 billion base pairs beyond the limit of 90 billion base pairs.
	// *   p: the platinum level (P-level). It requires 1 extra minute to process every 3 billion base pairs beyond the limit of 90 billion base pairs.
	Service *string `json:"service,omitempty" xml:"service,omitempty"`
	// The name of the OSS bucket that stores the data of the WGS workflow.
	WgsBucketName *string `json:"wgs_bucket_name,omitempty" xml:"wgs_bucket_name,omitempty"`
	// The name of the first FASTQ file of the WGS workflow.
	WgsFastqFirstFilename *string `json:"wgs_fastq_first_filename,omitempty" xml:"wgs_fastq_first_filename,omitempty"`
	// The path of the FASTQ files of the WGS workflow.
	WgsFastqPath *string `json:"wgs_fastq_path,omitempty" xml:"wgs_fastq_path,omitempty"`
	// The name of the second FASTQ file of the WGS workflow.
	WgsFastqSecondFilename *string `json:"wgs_fastq_second_filename,omitempty" xml:"wgs_fastq_second_filename,omitempty"`
	// The region where the OSS bucket that stores the data of the whole genome sequencing (WGS) workflow is deployed.
	WgsOssRegion *string `json:"wgs_oss_region,omitempty" xml:"wgs_oss_region,omitempty"`
	// The path of the reference files of the WGS workflow.
	WgsReferencePath *string `json:"wgs_reference_path,omitempty" xml:"wgs_reference_path,omitempty"`
	// The name of the output VCF file.
	WgsVcfOutFilename *string `json:"wgs_vcf_out_filename,omitempty" xml:"wgs_vcf_out_filename,omitempty"`
	// The output path of the Variant Call Format (VCF) file.
	WgsVcfOutPath *string `json:"wgs_vcf_out_path,omitempty" xml:"wgs_vcf_out_path,omitempty"`
	// The type of workflow. Valid values: wgs and mapping.
	WorkflowType *string `json:"workflow_type,omitempty" xml:"workflow_type,omitempty"`
}

func (StartWorkflowRequest) GoString

func (s StartWorkflowRequest) GoString() string

func (*StartWorkflowRequest) SetMappingBamOutFilename

func (s *StartWorkflowRequest) SetMappingBamOutFilename(v string) *StartWorkflowRequest

func (*StartWorkflowRequest) SetMappingBamOutPath

func (s *StartWorkflowRequest) SetMappingBamOutPath(v string) *StartWorkflowRequest

func (*StartWorkflowRequest) SetMappingBucketName

func (s *StartWorkflowRequest) SetMappingBucketName(v string) *StartWorkflowRequest

func (*StartWorkflowRequest) SetMappingFastqFirstFilename

func (s *StartWorkflowRequest) SetMappingFastqFirstFilename(v string) *StartWorkflowRequest

func (*StartWorkflowRequest) SetMappingFastqPath

func (s *StartWorkflowRequest) SetMappingFastqPath(v string) *StartWorkflowRequest

func (*StartWorkflowRequest) SetMappingFastqSecondFilename

func (s *StartWorkflowRequest) SetMappingFastqSecondFilename(v string) *StartWorkflowRequest

func (*StartWorkflowRequest) SetMappingIsMarkDup

func (s *StartWorkflowRequest) SetMappingIsMarkDup(v string) *StartWorkflowRequest

func (*StartWorkflowRequest) SetMappingOssRegion

func (s *StartWorkflowRequest) SetMappingOssRegion(v string) *StartWorkflowRequest

func (*StartWorkflowRequest) SetMappingReferencePath

func (s *StartWorkflowRequest) SetMappingReferencePath(v string) *StartWorkflowRequest

func (*StartWorkflowRequest) SetService

func (*StartWorkflowRequest) SetWgsBucketName

func (s *StartWorkflowRequest) SetWgsBucketName(v string) *StartWorkflowRequest

func (*StartWorkflowRequest) SetWgsFastqFirstFilename

func (s *StartWorkflowRequest) SetWgsFastqFirstFilename(v string) *StartWorkflowRequest

func (*StartWorkflowRequest) SetWgsFastqPath

func (s *StartWorkflowRequest) SetWgsFastqPath(v string) *StartWorkflowRequest

func (*StartWorkflowRequest) SetWgsFastqSecondFilename

func (s *StartWorkflowRequest) SetWgsFastqSecondFilename(v string) *StartWorkflowRequest

func (*StartWorkflowRequest) SetWgsOssRegion

func (s *StartWorkflowRequest) SetWgsOssRegion(v string) *StartWorkflowRequest

func (*StartWorkflowRequest) SetWgsReferencePath

func (s *StartWorkflowRequest) SetWgsReferencePath(v string) *StartWorkflowRequest

func (*StartWorkflowRequest) SetWgsVcfOutFilename

func (s *StartWorkflowRequest) SetWgsVcfOutFilename(v string) *StartWorkflowRequest

func (*StartWorkflowRequest) SetWgsVcfOutPath

func (s *StartWorkflowRequest) SetWgsVcfOutPath(v string) *StartWorkflowRequest

func (*StartWorkflowRequest) SetWorkflowType

func (s *StartWorkflowRequest) SetWorkflowType(v string) *StartWorkflowRequest

func (StartWorkflowRequest) String

func (s StartWorkflowRequest) String() string

type StartWorkflowResponse

type StartWorkflowResponse struct {
	Headers    map[string]*string         `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                     `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *StartWorkflowResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (StartWorkflowResponse) GoString

func (s StartWorkflowResponse) GoString() string

func (*StartWorkflowResponse) SetBody

func (*StartWorkflowResponse) SetHeaders

func (*StartWorkflowResponse) SetStatusCode

func (s *StartWorkflowResponse) SetStatusCode(v int32) *StartWorkflowResponse

func (StartWorkflowResponse) String

func (s StartWorkflowResponse) String() string

type StartWorkflowResponseBody

type StartWorkflowResponseBody struct {
	// The name of the workflow.
	JobName *string `json:"JobName,omitempty" xml:"JobName,omitempty"`
}

func (StartWorkflowResponseBody) GoString

func (s StartWorkflowResponseBody) GoString() string

func (*StartWorkflowResponseBody) SetJobName

func (StartWorkflowResponseBody) String

func (s StartWorkflowResponseBody) String() string

type StopAlertRequest

type StopAlertRequest struct {
	// The name of the alert rule set to be disabled.
	AlertRuleGroupName *string `json:"alert_rule_group_name,omitempty" xml:"alert_rule_group_name,omitempty"`
	// The name of the alert rule to be disabled. If you do not specify an alert rule name, the alert rule set is disabled.
	AlertRuleName *string `json:"alert_rule_name,omitempty" xml:"alert_rule_name,omitempty"`
}

func (StopAlertRequest) GoString

func (s StopAlertRequest) GoString() string

func (*StopAlertRequest) SetAlertRuleGroupName

func (s *StopAlertRequest) SetAlertRuleGroupName(v string) *StopAlertRequest

func (*StopAlertRequest) SetAlertRuleName

func (s *StopAlertRequest) SetAlertRuleName(v string) *StopAlertRequest

func (StopAlertRequest) String

func (s StopAlertRequest) String() string

type StopAlertResponse

type StopAlertResponse struct {
	Headers    map[string]*string     `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                 `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *StopAlertResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (StopAlertResponse) GoString

func (s StopAlertResponse) GoString() string

func (*StopAlertResponse) SetBody

func (*StopAlertResponse) SetHeaders

func (s *StopAlertResponse) SetHeaders(v map[string]*string) *StopAlertResponse

func (*StopAlertResponse) SetStatusCode

func (s *StopAlertResponse) SetStatusCode(v int32) *StopAlertResponse

func (StopAlertResponse) String

func (s StopAlertResponse) String() string

type StopAlertResponseBody

type StopAlertResponseBody struct {
	// The error message returned if the call fails.
	Msg *string `json:"msg,omitempty" xml:"msg,omitempty"`
	// The operation result. Valid values:
	//
	// *   True: The operation is successful.
	// *   False: The operation failed.
	Status *bool `json:"status,omitempty" xml:"status,omitempty"`
}

func (StopAlertResponseBody) GoString

func (s StopAlertResponseBody) GoString() string

func (*StopAlertResponseBody) SetMsg

func (*StopAlertResponseBody) SetStatus

func (StopAlertResponseBody) String

func (s StopAlertResponseBody) String() string

type SyncClusterNodePoolResponse

type SyncClusterNodePoolResponse struct {
	Headers    map[string]*string               `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                           `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *SyncClusterNodePoolResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (SyncClusterNodePoolResponse) GoString

func (s SyncClusterNodePoolResponse) GoString() string

func (*SyncClusterNodePoolResponse) SetBody

func (*SyncClusterNodePoolResponse) SetHeaders

func (*SyncClusterNodePoolResponse) SetStatusCode

func (SyncClusterNodePoolResponse) String

type SyncClusterNodePoolResponseBody

type SyncClusterNodePoolResponseBody struct {
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (SyncClusterNodePoolResponseBody) GoString

func (*SyncClusterNodePoolResponseBody) SetRequestId

func (SyncClusterNodePoolResponseBody) String

type Tag

type Tag struct {
	Key   *string `json:"key,omitempty" xml:"key,omitempty"`
	Value *string `json:"value,omitempty" xml:"value,omitempty"`
}

func (Tag) GoString

func (s Tag) GoString() string

func (*Tag) SetKey

func (s *Tag) SetKey(v string) *Tag

func (*Tag) SetValue

func (s *Tag) SetValue(v string) *Tag

func (Tag) String

func (s Tag) String() string

type TagResourcesRequest

type TagResourcesRequest struct {
	// The region ID of the resource.
	RegionId *string `json:"region_id,omitempty" xml:"region_id,omitempty"`
	// The list of resource IDs.
	ResourceIds []*string `json:"resource_ids,omitempty" xml:"resource_ids,omitempty" type:"Repeated"`
	// The type of resource that you want to label. Set the value to `CLUSTER`.
	ResourceType *string `json:"resource_type,omitempty" xml:"resource_type,omitempty"`
	// The labels that you want to add to the resources in key-value pairs. You can add up to 20 labels. Usage notes:
	//
	// *   Label values must not be empty strings. A label value must be 1 to 128 characters in length.
	// *   The label value must not start with `aliyun` or `acs:`.
	// *   The label value must not contain `http://` or `https://`.
	Tags []*Tag `json:"tags,omitempty" xml:"tags,omitempty" type:"Repeated"`
}

func (TagResourcesRequest) GoString

func (s TagResourcesRequest) GoString() string

func (*TagResourcesRequest) SetRegionId

func (s *TagResourcesRequest) SetRegionId(v string) *TagResourcesRequest

func (*TagResourcesRequest) SetResourceIds

func (s *TagResourcesRequest) SetResourceIds(v []*string) *TagResourcesRequest

func (*TagResourcesRequest) SetResourceType

func (s *TagResourcesRequest) SetResourceType(v string) *TagResourcesRequest

func (*TagResourcesRequest) SetTags

func (s *TagResourcesRequest) SetTags(v []*Tag) *TagResourcesRequest

func (TagResourcesRequest) String

func (s TagResourcesRequest) String() string

type TagResourcesResponse

type TagResourcesResponse struct {
	Headers    map[string]*string        `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                    `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *TagResourcesResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (TagResourcesResponse) GoString

func (s TagResourcesResponse) GoString() string

func (*TagResourcesResponse) SetBody

func (*TagResourcesResponse) SetHeaders

func (s *TagResourcesResponse) SetHeaders(v map[string]*string) *TagResourcesResponse

func (*TagResourcesResponse) SetStatusCode

func (s *TagResourcesResponse) SetStatusCode(v int32) *TagResourcesResponse

func (TagResourcesResponse) String

func (s TagResourcesResponse) String() string

type TagResourcesResponseBody

type TagResourcesResponseBody struct {
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (TagResourcesResponseBody) GoString

func (s TagResourcesResponseBody) GoString() string

func (*TagResourcesResponseBody) SetRequestId

func (TagResourcesResponseBody) String

func (s TagResourcesResponseBody) String() string

type Taint

type Taint struct {
	Effect *string `json:"effect,omitempty" xml:"effect,omitempty"`
	Key    *string `json:"key,omitempty" xml:"key,omitempty"`
	Value  *string `json:"value,omitempty" xml:"value,omitempty"`
}

func (Taint) GoString

func (s Taint) GoString() string

func (*Taint) SetEffect

func (s *Taint) SetEffect(v string) *Taint

func (*Taint) SetKey

func (s *Taint) SetKey(v string) *Taint

func (*Taint) SetValue

func (s *Taint) SetValue(v string) *Taint

func (Taint) String

func (s Taint) String() string

type UnInstallClusterAddonsRequest

type UnInstallClusterAddonsRequest struct {
	// The list of components that you want to uninstall. The list is an array.
	Addons []*UnInstallClusterAddonsRequestAddons `json:"addons,omitempty" xml:"addons,omitempty" type:"Repeated"`
}

func (UnInstallClusterAddonsRequest) GoString

func (*UnInstallClusterAddonsRequest) SetAddons

func (UnInstallClusterAddonsRequest) String

type UnInstallClusterAddonsRequestAddons

type UnInstallClusterAddonsRequestAddons struct {
	// Whether to clean up cloud resources.
	CleanupCloudResources *bool `json:"cleanup_cloud_resources,omitempty" xml:"cleanup_cloud_resources,omitempty"`
	// The component name.
	Name *string `json:"name,omitempty" xml:"name,omitempty"`
}

func (UnInstallClusterAddonsRequestAddons) GoString

func (*UnInstallClusterAddonsRequestAddons) SetCleanupCloudResources

func (*UnInstallClusterAddonsRequestAddons) SetName

func (UnInstallClusterAddonsRequestAddons) String

type UnInstallClusterAddonsResponse

type UnInstallClusterAddonsResponse struct {
	Headers    map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32             `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
}

func (UnInstallClusterAddonsResponse) GoString

func (*UnInstallClusterAddonsResponse) SetHeaders

func (*UnInstallClusterAddonsResponse) SetStatusCode

func (UnInstallClusterAddonsResponse) String

type UntagResourcesRequest

type UntagResourcesRequest struct {
	// Specifies whether to remove all custom labels. This parameter takes effect only when `tag_keys` is left empty. Valid values:
	//
	// *   `true`: Remove all custom labels.
	// *   `false`: Do not remove all custom labels.
	All *bool `json:"all,omitempty" xml:"all,omitempty"`
	// The region ID of the resources.
	RegionId *string `json:"region_id,omitempty" xml:"region_id,omitempty"`
	// The list of resource IDs.
	ResourceIds []*string `json:"resource_ids,omitempty" xml:"resource_ids,omitempty" type:"Repeated"`
	// The type of resource. Set the value to `CLUSTER`.
	ResourceType *string `json:"resource_type,omitempty" xml:"resource_type,omitempty"`
	// The list of keys of the labels that you want to remove.
	TagKeys []*string `json:"tag_keys,omitempty" xml:"tag_keys,omitempty" type:"Repeated"`
}

func (UntagResourcesRequest) GoString

func (s UntagResourcesRequest) GoString() string

func (*UntagResourcesRequest) SetAll

func (*UntagResourcesRequest) SetRegionId

func (*UntagResourcesRequest) SetResourceIds

func (s *UntagResourcesRequest) SetResourceIds(v []*string) *UntagResourcesRequest

func (*UntagResourcesRequest) SetResourceType

func (s *UntagResourcesRequest) SetResourceType(v string) *UntagResourcesRequest

func (*UntagResourcesRequest) SetTagKeys

func (s *UntagResourcesRequest) SetTagKeys(v []*string) *UntagResourcesRequest

func (UntagResourcesRequest) String

func (s UntagResourcesRequest) String() string

type UntagResourcesResponse

type UntagResourcesResponse struct {
	Headers    map[string]*string          `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                      `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *UntagResourcesResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (UntagResourcesResponse) GoString

func (s UntagResourcesResponse) GoString() string

func (*UntagResourcesResponse) SetBody

func (*UntagResourcesResponse) SetHeaders

func (*UntagResourcesResponse) SetStatusCode

func (UntagResourcesResponse) String

func (s UntagResourcesResponse) String() string

type UntagResourcesResponseBody

type UntagResourcesResponseBody struct {
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (UntagResourcesResponseBody) GoString

func (s UntagResourcesResponseBody) GoString() string

func (*UntagResourcesResponseBody) SetRequestId

func (UntagResourcesResponseBody) String

type UntagResourcesShrinkRequest

type UntagResourcesShrinkRequest struct {
	// Specifies whether to remove all custom labels. This parameter takes effect only when `tag_keys` is left empty. Valid values:
	//
	// *   `true`: Remove all custom labels.
	// *   `false`: Do not remove all custom labels.
	All *bool `json:"all,omitempty" xml:"all,omitempty"`
	// The region ID of the resources.
	RegionId *string `json:"region_id,omitempty" xml:"region_id,omitempty"`
	// The list of resource IDs.
	ResourceIdsShrink *string `json:"resource_ids,omitempty" xml:"resource_ids,omitempty"`
	// The type of resource. Set the value to `CLUSTER`.
	ResourceType *string `json:"resource_type,omitempty" xml:"resource_type,omitempty"`
	// The list of keys of the labels that you want to remove.
	TagKeysShrink *string `json:"tag_keys,omitempty" xml:"tag_keys,omitempty"`
}

func (UntagResourcesShrinkRequest) GoString

func (s UntagResourcesShrinkRequest) GoString() string

func (*UntagResourcesShrinkRequest) SetAll

func (*UntagResourcesShrinkRequest) SetRegionId

func (*UntagResourcesShrinkRequest) SetResourceIdsShrink

func (*UntagResourcesShrinkRequest) SetResourceType

func (*UntagResourcesShrinkRequest) SetTagKeysShrink

func (UntagResourcesShrinkRequest) String

type UpdateContactGroupForAlertResponse

type UpdateContactGroupForAlertResponse struct {
	Headers    map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32             `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
}

func (UpdateContactGroupForAlertResponse) GoString

func (*UpdateContactGroupForAlertResponse) SetHeaders

func (*UpdateContactGroupForAlertResponse) SetStatusCode

func (UpdateContactGroupForAlertResponse) String

type UpdateControlPlaneLogRequest

type UpdateControlPlaneLogRequest struct {
	// The ID of the Alibaba Cloud account.
	Aliuid *string `json:"aliuid,omitempty" xml:"aliuid,omitempty"`
	// The control plane components for which you want to enable log collection.
	Components []*string `json:"components,omitempty" xml:"components,omitempty" type:"Repeated"`
	// The name of the Simple Log Service project that you want to use to store the logs of control plane components.
	//
	// Default value: k8s-log-$Cluster ID.
	LogProject *string `json:"log_project,omitempty" xml:"log_project,omitempty"`
	// The retention period of the log data stored in the Logstore. Valid values: 1 to 3000. Unit: days.
	//
	// Default value: 30.
	LogTtl *string `json:"log_ttl,omitempty" xml:"log_ttl,omitempty"`
}

func (UpdateControlPlaneLogRequest) GoString

func (s UpdateControlPlaneLogRequest) GoString() string

func (*UpdateControlPlaneLogRequest) SetAliuid

func (*UpdateControlPlaneLogRequest) SetComponents

func (*UpdateControlPlaneLogRequest) SetLogProject

func (*UpdateControlPlaneLogRequest) SetLogTtl

func (UpdateControlPlaneLogRequest) String

type UpdateControlPlaneLogResponse

type UpdateControlPlaneLogResponse struct {
	Headers    map[string]*string                 `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                             `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *UpdateControlPlaneLogResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (UpdateControlPlaneLogResponse) GoString

func (*UpdateControlPlaneLogResponse) SetBody

func (*UpdateControlPlaneLogResponse) SetHeaders

func (*UpdateControlPlaneLogResponse) SetStatusCode

func (UpdateControlPlaneLogResponse) String

type UpdateControlPlaneLogResponseBody

type UpdateControlPlaneLogResponseBody struct {
	// The cluster ID.
	ClusterId *string `json:"cluster_id,omitempty" xml:"cluster_id,omitempty"`
	// The request ID.
	RequestId *string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// The task ID.
	TaskId *string `json:"task_id,omitempty" xml:"task_id,omitempty"`
}

func (UpdateControlPlaneLogResponseBody) GoString

func (*UpdateControlPlaneLogResponseBody) SetClusterId

func (*UpdateControlPlaneLogResponseBody) SetRequestId

func (*UpdateControlPlaneLogResponseBody) SetTaskId

func (UpdateControlPlaneLogResponseBody) String

type UpdateK8sClusterUserConfigExpireRequest

type UpdateK8sClusterUserConfigExpireRequest struct {
	// The validity period of the kubeconfig file. Unit: hours.
	//
	// > The value of expire_hour must be greater than 0 and equal to or smaller than 876000 (100 years).
	ExpireHour *int64 `json:"expire_hour,omitempty" xml:"expire_hour,omitempty"`
	// The user ID.
	User *string `json:"user,omitempty" xml:"user,omitempty"`
}

func (UpdateK8sClusterUserConfigExpireRequest) GoString

func (*UpdateK8sClusterUserConfigExpireRequest) SetExpireHour

func (*UpdateK8sClusterUserConfigExpireRequest) SetUser

func (UpdateK8sClusterUserConfigExpireRequest) String

type UpdateK8sClusterUserConfigExpireResponse

type UpdateK8sClusterUserConfigExpireResponse struct {
	Headers    map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32             `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
}

func (UpdateK8sClusterUserConfigExpireResponse) GoString

func (*UpdateK8sClusterUserConfigExpireResponse) SetHeaders

func (*UpdateK8sClusterUserConfigExpireResponse) SetStatusCode

func (UpdateK8sClusterUserConfigExpireResponse) String

type UpdateTemplateRequest

type UpdateTemplateRequest struct {
	// The description of the template.
	Description *string `json:"description,omitempty" xml:"description,omitempty"`
	// The name of the template.
	Name *string `json:"name,omitempty" xml:"name,omitempty"`
	// The label of the template.
	Tags *string `json:"tags,omitempty" xml:"tags,omitempty"`
	// The YAML content of the template.
	Template *string `json:"template,omitempty" xml:"template,omitempty"`
	// The type of template. This parameter can be set to a custom value.
	//
	// *   If the parameter is set to `kubernetes`, the template is displayed on the Templates page in the console.
	// *   If the parameter is set to `compose`, the template is displayed on the Container Service - Swarm page in the console. Container Service for Swarm is deprecated.
	TemplateType *string `json:"template_type,omitempty" xml:"template_type,omitempty"`
}

func (UpdateTemplateRequest) GoString

func (s UpdateTemplateRequest) GoString() string

func (*UpdateTemplateRequest) SetDescription

func (s *UpdateTemplateRequest) SetDescription(v string) *UpdateTemplateRequest

func (*UpdateTemplateRequest) SetName

func (*UpdateTemplateRequest) SetTags

func (*UpdateTemplateRequest) SetTemplate

func (*UpdateTemplateRequest) SetTemplateType

func (s *UpdateTemplateRequest) SetTemplateType(v string) *UpdateTemplateRequest

func (UpdateTemplateRequest) String

func (s UpdateTemplateRequest) String() string

type UpdateTemplateResponse

type UpdateTemplateResponse struct {
	Headers    map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32             `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
}

func (UpdateTemplateResponse) GoString

func (s UpdateTemplateResponse) GoString() string

func (*UpdateTemplateResponse) SetHeaders

func (*UpdateTemplateResponse) SetStatusCode

func (UpdateTemplateResponse) String

func (s UpdateTemplateResponse) String() string

type UpdateUserPermissionsRequest

type UpdateUserPermissionsRequest struct {
	Body []*UpdateUserPermissionsRequestBody `json:"body,omitempty" xml:"body,omitempty" type:"Repeated"`
	Mode *string                             `json:"mode,omitempty" xml:"mode,omitempty"`
}

func (UpdateUserPermissionsRequest) GoString

func (s UpdateUserPermissionsRequest) GoString() string

func (*UpdateUserPermissionsRequest) SetBody

func (*UpdateUserPermissionsRequest) SetMode

func (UpdateUserPermissionsRequest) String

type UpdateUserPermissionsRequestBody

type UpdateUserPermissionsRequestBody struct {
	Cluster   *string `json:"cluster,omitempty" xml:"cluster,omitempty"`
	IsCustom  *bool   `json:"is_custom,omitempty" xml:"is_custom,omitempty"`
	IsRamRole *bool   `json:"is_ram_role,omitempty" xml:"is_ram_role,omitempty"`
	Namespace *string `json:"namespace,omitempty" xml:"namespace,omitempty"`
	RoleName  *string `json:"role_name,omitempty" xml:"role_name,omitempty"`
	RoleType  *string `json:"role_type,omitempty" xml:"role_type,omitempty"`
}

func (UpdateUserPermissionsRequestBody) GoString

func (*UpdateUserPermissionsRequestBody) SetCluster

func (*UpdateUserPermissionsRequestBody) SetIsCustom

func (*UpdateUserPermissionsRequestBody) SetIsRamRole

func (*UpdateUserPermissionsRequestBody) SetNamespace

func (*UpdateUserPermissionsRequestBody) SetRoleName

func (*UpdateUserPermissionsRequestBody) SetRoleType

func (UpdateUserPermissionsRequestBody) String

type UpdateUserPermissionsResponse

type UpdateUserPermissionsResponse struct {
	Headers    map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32             `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
}

func (UpdateUserPermissionsResponse) GoString

func (*UpdateUserPermissionsResponse) SetHeaders

func (*UpdateUserPermissionsResponse) SetStatusCode

func (UpdateUserPermissionsResponse) String

type UpgradeClusterAddonsRequest

type UpgradeClusterAddonsRequest struct {
	// The request parameters.
	Body []*UpgradeClusterAddonsRequestBody `json:"body,omitempty" xml:"body,omitempty" type:"Repeated"`
}

func (UpgradeClusterAddonsRequest) GoString

func (s UpgradeClusterAddonsRequest) GoString() string

func (*UpgradeClusterAddonsRequest) SetBody

func (UpgradeClusterAddonsRequest) String

type UpgradeClusterAddonsRequestBody

type UpgradeClusterAddonsRequestBody struct {
	// The name of the component.
	ComponentName *string `json:"component_name,omitempty" xml:"component_name,omitempty"`
	// The custom component settings that you want to use. The value is a JSON string.
	Config *string `json:"config,omitempty" xml:"config,omitempty"`
	// The version to which the component can be updated. You can call the `DescribeClusterAddonsVersion` operation to query the version to which the component can be updated.
	NextVersion *string `json:"next_version,omitempty" xml:"next_version,omitempty"`
	// The update policy. Valid values:
	//
	// *   overwrite
	// *   canary
	Policy *string `json:"policy,omitempty" xml:"policy,omitempty"`
	// The current version of the component.
	Version *string `json:"version,omitempty" xml:"version,omitempty"`
}

func (UpgradeClusterAddonsRequestBody) GoString

func (*UpgradeClusterAddonsRequestBody) SetComponentName

func (*UpgradeClusterAddonsRequestBody) SetConfig

func (*UpgradeClusterAddonsRequestBody) SetNextVersion

func (*UpgradeClusterAddonsRequestBody) SetPolicy

func (*UpgradeClusterAddonsRequestBody) SetVersion

func (UpgradeClusterAddonsRequestBody) String

type UpgradeClusterAddonsResponse

type UpgradeClusterAddonsResponse struct {
	Headers    map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32             `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
}

func (UpgradeClusterAddonsResponse) GoString

func (s UpgradeClusterAddonsResponse) GoString() string

func (*UpgradeClusterAddonsResponse) SetHeaders

func (*UpgradeClusterAddonsResponse) SetStatusCode

func (UpgradeClusterAddonsResponse) String

type UpgradeClusterNodepoolRequest

type UpgradeClusterNodepoolRequest struct {
	// The ID of the OS image that is used by the nodes.
	ImageId *string `json:"image_id,omitempty" xml:"image_id,omitempty"`
	// The Kubernetes version that is used by the nodes.
	KubernetesVersion *string                                     `json:"kubernetes_version,omitempty" xml:"kubernetes_version,omitempty"`
	NodeNames         []*string                                   `json:"node_names,omitempty" xml:"node_names,omitempty" type:"Repeated"`
	RollingPolicy     *UpgradeClusterNodepoolRequestRollingPolicy `json:"rolling_policy,omitempty" xml:"rolling_policy,omitempty" type:"Struct"`
	// The runtime type. Valid values: containerd and docker.
	RuntimeType *string `json:"runtime_type,omitempty" xml:"runtime_type,omitempty"`
	// The version of the container runtime that is used by the nodes.
	RuntimeVersion *string `json:"runtime_version,omitempty" xml:"runtime_version,omitempty"`
	UseReplace     *bool   `json:"use_replace,omitempty" xml:"use_replace,omitempty"`
}

func (UpgradeClusterNodepoolRequest) GoString

func (*UpgradeClusterNodepoolRequest) SetImageId

func (*UpgradeClusterNodepoolRequest) SetKubernetesVersion

func (*UpgradeClusterNodepoolRequest) SetNodeNames

func (*UpgradeClusterNodepoolRequest) SetRuntimeType

func (*UpgradeClusterNodepoolRequest) SetRuntimeVersion

func (*UpgradeClusterNodepoolRequest) SetUseReplace

func (UpgradeClusterNodepoolRequest) String

type UpgradeClusterNodepoolRequestRollingPolicy

type UpgradeClusterNodepoolRequestRollingPolicy struct {
	BatchInterval  *int32  `json:"batch_interval,omitempty" xml:"batch_interval,omitempty"`
	MaxParallelism *int32  `json:"max_parallelism,omitempty" xml:"max_parallelism,omitempty"`
	PausePolicy    *string `json:"pause_policy,omitempty" xml:"pause_policy,omitempty"`
}

func (UpgradeClusterNodepoolRequestRollingPolicy) GoString

func (*UpgradeClusterNodepoolRequestRollingPolicy) SetBatchInterval

func (*UpgradeClusterNodepoolRequestRollingPolicy) SetMaxParallelism

func (*UpgradeClusterNodepoolRequestRollingPolicy) SetPausePolicy

func (UpgradeClusterNodepoolRequestRollingPolicy) String

type UpgradeClusterNodepoolResponse

type UpgradeClusterNodepoolResponse struct {
	Headers    map[string]*string                  `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                              `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *UpgradeClusterNodepoolResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (UpgradeClusterNodepoolResponse) GoString

func (*UpgradeClusterNodepoolResponse) SetHeaders

func (*UpgradeClusterNodepoolResponse) SetStatusCode

func (UpgradeClusterNodepoolResponse) String

type UpgradeClusterNodepoolResponseBody

type UpgradeClusterNodepoolResponseBody struct {
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The task ID.
	TaskId *string `json:"task_id,omitempty" xml:"task_id,omitempty"`
}

func (UpgradeClusterNodepoolResponseBody) GoString

func (*UpgradeClusterNodepoolResponseBody) SetRequestId

func (*UpgradeClusterNodepoolResponseBody) SetTaskId

func (UpgradeClusterNodepoolResponseBody) String

type UpgradeClusterRequest

type UpgradeClusterRequest struct {
	// Deprecated
	// The name of the component. Set the value to `k8s`.
	ComponentName *string `json:"component_name,omitempty" xml:"component_name,omitempty"`
	// Specifies whether to update only master nodes. Valid values:
	//
	// *   true: update only master nodes.
	// *   false: update master and worker nodes.
	MasterOnly *bool `json:"master_only,omitempty" xml:"master_only,omitempty"`
	// The Kubernetes version to which the cluster can be updated.
	NextVersion *string `json:"next_version,omitempty" xml:"next_version,omitempty"`
	// Deprecated
	// The current Kubernetes version of the cluster. For more information, see [Kubernetes versions](~~185269~~).
	Version *string `json:"version,omitempty" xml:"version,omitempty"`
}

func (UpgradeClusterRequest) GoString

func (s UpgradeClusterRequest) GoString() string

func (*UpgradeClusterRequest) SetComponentName

func (s *UpgradeClusterRequest) SetComponentName(v string) *UpgradeClusterRequest

func (*UpgradeClusterRequest) SetMasterOnly

func (s *UpgradeClusterRequest) SetMasterOnly(v bool) *UpgradeClusterRequest

func (*UpgradeClusterRequest) SetNextVersion

func (s *UpgradeClusterRequest) SetNextVersion(v string) *UpgradeClusterRequest

func (*UpgradeClusterRequest) SetVersion

func (UpgradeClusterRequest) String

func (s UpgradeClusterRequest) String() string

type UpgradeClusterResponse

type UpgradeClusterResponse struct {
	Headers    map[string]*string          `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                      `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *UpgradeClusterResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (UpgradeClusterResponse) GoString

func (s UpgradeClusterResponse) GoString() string

func (*UpgradeClusterResponse) SetBody

func (*UpgradeClusterResponse) SetHeaders

func (*UpgradeClusterResponse) SetStatusCode

func (UpgradeClusterResponse) String

func (s UpgradeClusterResponse) String() string

type UpgradeClusterResponseBody

type UpgradeClusterResponseBody struct {
	ClusterId *string `json:"cluster_id,omitempty" xml:"cluster_id,omitempty"`
	RequestId *string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	TaskId    *string `json:"task_id,omitempty" xml:"task_id,omitempty"`
}

func (UpgradeClusterResponseBody) GoString

func (s UpgradeClusterResponseBody) GoString() string

func (*UpgradeClusterResponseBody) SetClusterId

func (*UpgradeClusterResponseBody) SetRequestId

func (*UpgradeClusterResponseBody) SetTaskId

func (UpgradeClusterResponseBody) String

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL