Documentation
¶
Overview ¶
This file is auto-generated, don't edit it. Thanks.
Index ¶
- type Addon
- type AttachInstancesRequest
- func (s AttachInstancesRequest) GoString() string
- func (s *AttachInstancesRequest) SetCpuPolicy(v string) *AttachInstancesRequest
- func (s *AttachInstancesRequest) SetFormatDisk(v bool) *AttachInstancesRequest
- func (s *AttachInstancesRequest) SetImageId(v string) *AttachInstancesRequest
- func (s *AttachInstancesRequest) SetInstances(v []*string) *AttachInstancesRequest
- func (s *AttachInstancesRequest) SetIsEdgeWorker(v bool) *AttachInstancesRequest
- func (s *AttachInstancesRequest) SetKeepInstanceName(v bool) *AttachInstancesRequest
- func (s *AttachInstancesRequest) SetKeyPair(v string) *AttachInstancesRequest
- func (s *AttachInstancesRequest) SetNodepoolId(v string) *AttachInstancesRequest
- func (s *AttachInstancesRequest) SetPassword(v string) *AttachInstancesRequest
- func (s *AttachInstancesRequest) SetRdsInstances(v []*string) *AttachInstancesRequest
- func (s *AttachInstancesRequest) SetRuntime(v *Runtime) *AttachInstancesRequest
- func (s *AttachInstancesRequest) SetTags(v []*Tag) *AttachInstancesRequest
- func (s *AttachInstancesRequest) SetUserData(v string) *AttachInstancesRequest
- func (s AttachInstancesRequest) String() string
- type AttachInstancesResponse
- func (s AttachInstancesResponse) GoString() string
- func (s *AttachInstancesResponse) SetBody(v *AttachInstancesResponseBody) *AttachInstancesResponse
- func (s *AttachInstancesResponse) SetHeaders(v map[string]*string) *AttachInstancesResponse
- func (s *AttachInstancesResponse) SetStatusCode(v int32) *AttachInstancesResponse
- func (s AttachInstancesResponse) String() string
- type AttachInstancesResponseBody
- func (s AttachInstancesResponseBody) GoString() string
- func (s *AttachInstancesResponseBody) SetList(v []*AttachInstancesResponseBodyList) *AttachInstancesResponseBody
- func (s *AttachInstancesResponseBody) SetTaskId(v string) *AttachInstancesResponseBody
- func (s AttachInstancesResponseBody) String() string
- type AttachInstancesResponseBodyList
- func (s AttachInstancesResponseBodyList) GoString() string
- func (s *AttachInstancesResponseBodyList) SetCode(v string) *AttachInstancesResponseBodyList
- func (s *AttachInstancesResponseBodyList) SetInstanceId(v string) *AttachInstancesResponseBodyList
- func (s *AttachInstancesResponseBodyList) SetMessage(v string) *AttachInstancesResponseBodyList
- func (s AttachInstancesResponseBodyList) String() string
- type AttachInstancesToNodePoolRequest
- func (s AttachInstancesToNodePoolRequest) GoString() string
- func (s *AttachInstancesToNodePoolRequest) SetFormatDisk(v bool) *AttachInstancesToNodePoolRequest
- func (s *AttachInstancesToNodePoolRequest) SetInstances(v []*string) *AttachInstancesToNodePoolRequest
- func (s *AttachInstancesToNodePoolRequest) SetKeepInstanceName(v bool) *AttachInstancesToNodePoolRequest
- func (s *AttachInstancesToNodePoolRequest) SetPassword(v string) *AttachInstancesToNodePoolRequest
- func (s AttachInstancesToNodePoolRequest) String() string
- type AttachInstancesToNodePoolResponse
- func (s AttachInstancesToNodePoolResponse) GoString() string
- func (s *AttachInstancesToNodePoolResponse) SetBody(v *AttachInstancesToNodePoolResponseBody) *AttachInstancesToNodePoolResponse
- func (s *AttachInstancesToNodePoolResponse) SetHeaders(v map[string]*string) *AttachInstancesToNodePoolResponse
- func (s *AttachInstancesToNodePoolResponse) SetStatusCode(v int32) *AttachInstancesToNodePoolResponse
- func (s AttachInstancesToNodePoolResponse) String() string
- type AttachInstancesToNodePoolResponseBody
- func (s AttachInstancesToNodePoolResponseBody) GoString() string
- func (s *AttachInstancesToNodePoolResponseBody) SetRequestId(v string) *AttachInstancesToNodePoolResponseBody
- func (s *AttachInstancesToNodePoolResponseBody) SetTaskId(v string) *AttachInstancesToNodePoolResponseBody
- func (s AttachInstancesToNodePoolResponseBody) String() string
- type CancelClusterUpgradeResponse
- func (s CancelClusterUpgradeResponse) GoString() string
- func (s *CancelClusterUpgradeResponse) SetHeaders(v map[string]*string) *CancelClusterUpgradeResponse
- func (s *CancelClusterUpgradeResponse) SetStatusCode(v int32) *CancelClusterUpgradeResponse
- func (s CancelClusterUpgradeResponse) String() string
- type CancelComponentUpgradeResponse
- func (s CancelComponentUpgradeResponse) GoString() string
- func (s *CancelComponentUpgradeResponse) SetHeaders(v map[string]*string) *CancelComponentUpgradeResponse
- func (s *CancelComponentUpgradeResponse) SetStatusCode(v int32) *CancelComponentUpgradeResponse
- func (s CancelComponentUpgradeResponse) String() string
- type CancelOperationPlanResponse
- func (s CancelOperationPlanResponse) GoString() string
- func (s *CancelOperationPlanResponse) SetBody(v *CancelOperationPlanResponseBody) *CancelOperationPlanResponse
- func (s *CancelOperationPlanResponse) SetHeaders(v map[string]*string) *CancelOperationPlanResponse
- func (s *CancelOperationPlanResponse) SetStatusCode(v int32) *CancelOperationPlanResponse
- func (s CancelOperationPlanResponse) String() string
- type CancelOperationPlanResponseBody
- type CancelTaskResponse
- type CheckControlPlaneLogEnableResponse
- func (s CheckControlPlaneLogEnableResponse) GoString() string
- func (s *CheckControlPlaneLogEnableResponse) SetBody(v *CheckControlPlaneLogEnableResponseBody) *CheckControlPlaneLogEnableResponse
- func (s *CheckControlPlaneLogEnableResponse) SetHeaders(v map[string]*string) *CheckControlPlaneLogEnableResponse
- func (s *CheckControlPlaneLogEnableResponse) SetStatusCode(v int32) *CheckControlPlaneLogEnableResponse
- func (s CheckControlPlaneLogEnableResponse) String() string
- type CheckControlPlaneLogEnableResponseBody
- func (s CheckControlPlaneLogEnableResponseBody) GoString() string
- func (s *CheckControlPlaneLogEnableResponseBody) SetAliuid(v string) *CheckControlPlaneLogEnableResponseBody
- func (s *CheckControlPlaneLogEnableResponseBody) SetComponents(v []*string) *CheckControlPlaneLogEnableResponseBody
- func (s *CheckControlPlaneLogEnableResponseBody) SetLogProject(v string) *CheckControlPlaneLogEnableResponseBody
- func (s *CheckControlPlaneLogEnableResponseBody) SetLogTtl(v string) *CheckControlPlaneLogEnableResponseBody
- func (s CheckControlPlaneLogEnableResponseBody) String() string
- type CheckServiceRoleRequest
- type CheckServiceRoleRequestRoles
- type CheckServiceRoleResponse
- func (s CheckServiceRoleResponse) GoString() string
- func (s *CheckServiceRoleResponse) SetBody(v *CheckServiceRoleResponseBody) *CheckServiceRoleResponse
- func (s *CheckServiceRoleResponse) SetHeaders(v map[string]*string) *CheckServiceRoleResponse
- func (s *CheckServiceRoleResponse) SetStatusCode(v int32) *CheckServiceRoleResponse
- func (s CheckServiceRoleResponse) String() string
- type CheckServiceRoleResponseBody
- type CheckServiceRoleResponseBodyRoles
- func (s CheckServiceRoleResponseBodyRoles) GoString() string
- func (s *CheckServiceRoleResponseBodyRoles) SetGranted(v bool) *CheckServiceRoleResponseBodyRoles
- func (s *CheckServiceRoleResponseBodyRoles) SetMessage(v string) *CheckServiceRoleResponseBodyRoles
- func (s *CheckServiceRoleResponseBodyRoles) SetName(v string) *CheckServiceRoleResponseBodyRoles
- func (s CheckServiceRoleResponseBodyRoles) String() string
- type CleanClusterUserPermissionsRequest
- type CleanClusterUserPermissionsResponse
- func (s CleanClusterUserPermissionsResponse) GoString() string
- func (s *CleanClusterUserPermissionsResponse) SetHeaders(v map[string]*string) *CleanClusterUserPermissionsResponse
- func (s *CleanClusterUserPermissionsResponse) SetStatusCode(v int32) *CleanClusterUserPermissionsResponse
- func (s CleanClusterUserPermissionsResponse) String() string
- type CleanUserPermissionsRequest
- type CleanUserPermissionsResponse
- func (s CleanUserPermissionsResponse) GoString() string
- func (s *CleanUserPermissionsResponse) SetBody(v *CleanUserPermissionsResponseBody) *CleanUserPermissionsResponse
- func (s *CleanUserPermissionsResponse) SetHeaders(v map[string]*string) *CleanUserPermissionsResponse
- func (s *CleanUserPermissionsResponse) SetStatusCode(v int32) *CleanUserPermissionsResponse
- func (s CleanUserPermissionsResponse) String() string
- type CleanUserPermissionsResponseBody
- func (s CleanUserPermissionsResponseBody) GoString() string
- func (s *CleanUserPermissionsResponseBody) SetRequestId(v string) *CleanUserPermissionsResponseBody
- func (s *CleanUserPermissionsResponseBody) SetTaskId(v string) *CleanUserPermissionsResponseBody
- func (s CleanUserPermissionsResponseBody) String() string
- type CleanUserPermissionsShrinkRequest
- func (s CleanUserPermissionsShrinkRequest) GoString() string
- func (s *CleanUserPermissionsShrinkRequest) SetClusterIdsShrink(v string) *CleanUserPermissionsShrinkRequest
- func (s *CleanUserPermissionsShrinkRequest) SetForce(v bool) *CleanUserPermissionsShrinkRequest
- func (s CleanUserPermissionsShrinkRequest) String() string
- type Client
- func (client *Client) AttachInstances(ClusterId *string, request *AttachInstancesRequest) (_result *AttachInstancesResponse, _err error)
- func (client *Client) AttachInstancesToNodePool(ClusterId *string, NodepoolId *string, ...) (_result *AttachInstancesToNodePoolResponse, _err error)
- func (client *Client) AttachInstancesToNodePoolWithOptions(ClusterId *string, NodepoolId *string, ...) (_result *AttachInstancesToNodePoolResponse, _err error)
- func (client *Client) AttachInstancesWithOptions(ClusterId *string, request *AttachInstancesRequest, headers map[string]*string, ...) (_result *AttachInstancesResponse, _err error)
- func (client *Client) CancelClusterUpgrade(ClusterId *string) (_result *CancelClusterUpgradeResponse, _err error)deprecated
- func (client *Client) CancelClusterUpgradeWithOptions(ClusterId *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *CancelClusterUpgradeResponse, _err error)deprecated
- func (client *Client) CancelComponentUpgrade(clusterId *string, componentId *string) (_result *CancelComponentUpgradeResponse, _err error)deprecated
- func (client *Client) CancelComponentUpgradeWithOptions(clusterId *string, componentId *string, headers map[string]*string, ...) (_result *CancelComponentUpgradeResponse, _err error)deprecated
- func (client *Client) CancelOperationPlan(planId *string) (_result *CancelOperationPlanResponse, _err error)
- func (client *Client) CancelOperationPlanWithOptions(planId *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *CancelOperationPlanResponse, _err error)
- func (client *Client) CancelTask(taskId *string) (_result *CancelTaskResponse, _err error)
- func (client *Client) CancelTaskWithOptions(taskId *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *CancelTaskResponse, _err error)
- func (client *Client) CheckControlPlaneLogEnable(ClusterId *string) (_result *CheckControlPlaneLogEnableResponse, _err error)
- func (client *Client) CheckControlPlaneLogEnableWithOptions(ClusterId *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *CheckControlPlaneLogEnableResponse, _err error)
- func (client *Client) CheckServiceRole(request *CheckServiceRoleRequest) (_result *CheckServiceRoleResponse, _err error)
- func (client *Client) CheckServiceRoleWithOptions(request *CheckServiceRoleRequest, headers map[string]*string, ...) (_result *CheckServiceRoleResponse, _err error)
- func (client *Client) CleanClusterUserPermissions(ClusterId *string, Uid *string, request *CleanClusterUserPermissionsRequest) (_result *CleanClusterUserPermissionsResponse, _err error)
- func (client *Client) CleanClusterUserPermissionsWithOptions(ClusterId *string, Uid *string, request *CleanClusterUserPermissionsRequest, ...) (_result *CleanClusterUserPermissionsResponse, _err error)
- func (client *Client) CleanUserPermissions(Uid *string, request *CleanUserPermissionsRequest) (_result *CleanUserPermissionsResponse, _err error)
- func (client *Client) CleanUserPermissionsWithOptions(Uid *string, tmpReq *CleanUserPermissionsRequest, headers map[string]*string, ...) (_result *CleanUserPermissionsResponse, _err error)
- func (client *Client) CreateAutoscalingConfig(ClusterId *string, request *CreateAutoscalingConfigRequest) (_result *CreateAutoscalingConfigResponse, _err error)
- func (client *Client) CreateAutoscalingConfigWithOptions(ClusterId *string, request *CreateAutoscalingConfigRequest, ...) (_result *CreateAutoscalingConfigResponse, _err error)
- func (client *Client) CreateCluster(request *CreateClusterRequest) (_result *CreateClusterResponse, _err error)
- func (client *Client) CreateClusterDiagnosis(clusterId *string, request *CreateClusterDiagnosisRequest) (_result *CreateClusterDiagnosisResponse, _err error)
- func (client *Client) CreateClusterDiagnosisWithOptions(clusterId *string, request *CreateClusterDiagnosisRequest, ...) (_result *CreateClusterDiagnosisResponse, _err error)
- func (client *Client) CreateClusterNodePool(ClusterId *string, request *CreateClusterNodePoolRequest) (_result *CreateClusterNodePoolResponse, _err error)
- func (client *Client) CreateClusterNodePoolWithOptions(ClusterId *string, request *CreateClusterNodePoolRequest, ...) (_result *CreateClusterNodePoolResponse, _err error)
- func (client *Client) CreateClusterWithOptions(request *CreateClusterRequest, headers map[string]*string, ...) (_result *CreateClusterResponse, _err error)
- func (client *Client) CreateEdgeMachine(request *CreateEdgeMachineRequest) (_result *CreateEdgeMachineResponse, _err error)
- func (client *Client) CreateEdgeMachineWithOptions(request *CreateEdgeMachineRequest, headers map[string]*string, ...) (_result *CreateEdgeMachineResponse, _err error)
- func (client *Client) CreateKubernetesTrigger(request *CreateKubernetesTriggerRequest) (_result *CreateKubernetesTriggerResponse, _err error)deprecated
- func (client *Client) CreateKubernetesTriggerWithOptions(request *CreateKubernetesTriggerRequest, headers map[string]*string, ...) (_result *CreateKubernetesTriggerResponse, _err error)deprecated
- func (client *Client) CreateTemplate(request *CreateTemplateRequest) (_result *CreateTemplateResponse, _err error)
- func (client *Client) CreateTemplateWithOptions(request *CreateTemplateRequest, headers map[string]*string, ...) (_result *CreateTemplateResponse, _err error)
- func (client *Client) CreateTrigger(clusterId *string, request *CreateTriggerRequest) (_result *CreateTriggerResponse, _err error)
- func (client *Client) CreateTriggerWithOptions(clusterId *string, request *CreateTriggerRequest, headers map[string]*string, ...) (_result *CreateTriggerResponse, _err error)
- func (client *Client) DeleteAlertContact(request *DeleteAlertContactRequest) (_result *DeleteAlertContactResponse, _err error)
- func (client *Client) DeleteAlertContactGroup(request *DeleteAlertContactGroupRequest) (_result *DeleteAlertContactGroupResponse, _err error)
- func (client *Client) DeleteAlertContactGroupWithOptions(tmpReq *DeleteAlertContactGroupRequest, headers map[string]*string, ...) (_result *DeleteAlertContactGroupResponse, _err error)
- func (client *Client) DeleteAlertContactWithOptions(tmpReq *DeleteAlertContactRequest, headers map[string]*string, ...) (_result *DeleteAlertContactResponse, _err error)
- func (client *Client) DeleteCluster(ClusterId *string, request *DeleteClusterRequest) (_result *DeleteClusterResponse, _err error)
- func (client *Client) DeleteClusterNodepool(ClusterId *string, NodepoolId *string, request *DeleteClusterNodepoolRequest) (_result *DeleteClusterNodepoolResponse, _err error)
- func (client *Client) DeleteClusterNodepoolWithOptions(ClusterId *string, NodepoolId *string, request *DeleteClusterNodepoolRequest, ...) (_result *DeleteClusterNodepoolResponse, _err error)
- func (client *Client) DeleteClusterNodes(ClusterId *string, request *DeleteClusterNodesRequest) (_result *DeleteClusterNodesResponse, _err error)
- func (client *Client) DeleteClusterNodesWithOptions(ClusterId *string, request *DeleteClusterNodesRequest, ...) (_result *DeleteClusterNodesResponse, _err error)
- func (client *Client) DeleteClusterWithOptions(ClusterId *string, tmpReq *DeleteClusterRequest, headers map[string]*string, ...) (_result *DeleteClusterResponse, _err error)
- func (client *Client) DeleteEdgeMachine(edgeMachineid *string, request *DeleteEdgeMachineRequest) (_result *DeleteEdgeMachineResponse, _err error)
- func (client *Client) DeleteEdgeMachineWithOptions(edgeMachineid *string, request *DeleteEdgeMachineRequest, ...) (_result *DeleteEdgeMachineResponse, _err error)
- func (client *Client) DeleteKubernetesTrigger(Id *string) (_result *DeleteKubernetesTriggerResponse, _err error)deprecated
- func (client *Client) DeleteKubernetesTriggerWithOptions(Id *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *DeleteKubernetesTriggerResponse, _err error)deprecated
- func (client *Client) DeletePolicyInstance(clusterId *string, policyName *string, request *DeletePolicyInstanceRequest) (_result *DeletePolicyInstanceResponse, _err error)
- func (client *Client) DeletePolicyInstanceWithOptions(clusterId *string, policyName *string, request *DeletePolicyInstanceRequest, ...) (_result *DeletePolicyInstanceResponse, _err error)
- func (client *Client) DeleteTemplate(TemplateId *string) (_result *DeleteTemplateResponse, _err error)
- func (client *Client) DeleteTemplateWithOptions(TemplateId *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *DeleteTemplateResponse, _err error)
- func (client *Client) DeleteTrigger(clusterId *string, Id *string) (_result *DeleteTriggerResponse, _err error)
- func (client *Client) DeleteTriggerWithOptions(clusterId *string, Id *string, headers map[string]*string, ...) (_result *DeleteTriggerResponse, _err error)
- func (client *Client) DeployPolicyInstance(clusterId *string, policyName *string, request *DeployPolicyInstanceRequest) (_result *DeployPolicyInstanceResponse, _err error)
- func (client *Client) DeployPolicyInstanceWithOptions(clusterId *string, policyName *string, request *DeployPolicyInstanceRequest, ...) (_result *DeployPolicyInstanceResponse, _err error)
- func (client *Client) DescribeAddon(addonName *string, request *DescribeAddonRequest) (_result *DescribeAddonResponse, _err error)
- func (client *Client) DescribeAddonWithOptions(addonName *string, request *DescribeAddonRequest, headers map[string]*string, ...) (_result *DescribeAddonResponse, _err error)
- func (client *Client) DescribeAddons(request *DescribeAddonsRequest) (_result *DescribeAddonsResponse, _err error)deprecated
- func (client *Client) DescribeAddonsWithOptions(request *DescribeAddonsRequest, headers map[string]*string, ...) (_result *DescribeAddonsResponse, _err error)deprecated
- func (client *Client) DescribeClusterAddonInstance(ClusterID *string, AddonName *string) (_result *DescribeClusterAddonInstanceResponse, _err error)deprecated
- func (client *Client) DescribeClusterAddonInstanceWithOptions(ClusterID *string, AddonName *string, headers map[string]*string, ...) (_result *DescribeClusterAddonInstanceResponse, _err error)deprecated
- func (client *Client) DescribeClusterAddonMetadata(clusterId *string, componentId *string, ...) (_result *DescribeClusterAddonMetadataResponse, _err error)deprecated
- func (client *Client) DescribeClusterAddonMetadataWithOptions(clusterId *string, componentId *string, ...) (_result *DescribeClusterAddonMetadataResponse, _err error)deprecated
- func (client *Client) DescribeClusterAddonUpgradeStatus(ClusterId *string, ComponentId *string) (_result *DescribeClusterAddonUpgradeStatusResponse, _err error)deprecated
- func (client *Client) DescribeClusterAddonUpgradeStatusWithOptions(ClusterId *string, ComponentId *string, headers map[string]*string, ...) (_result *DescribeClusterAddonUpgradeStatusResponse, _err error)deprecated
- func (client *Client) DescribeClusterAddonsUpgradeStatus(ClusterId *string, request *DescribeClusterAddonsUpgradeStatusRequest) (_result *DescribeClusterAddonsUpgradeStatusResponse, _err error)deprecated
- func (client *Client) DescribeClusterAddonsUpgradeStatusWithOptions(ClusterId *string, tmpReq *DescribeClusterAddonsUpgradeStatusRequest, ...) (_result *DescribeClusterAddonsUpgradeStatusResponse, _err error)deprecated
- func (client *Client) DescribeClusterAddonsVersion(ClusterId *string) (_result *DescribeClusterAddonsVersionResponse, _err error)deprecated
- func (client *Client) DescribeClusterAddonsVersionWithOptions(ClusterId *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *DescribeClusterAddonsVersionResponse, _err error)deprecated
- func (client *Client) DescribeClusterAttachScripts(ClusterId *string, request *DescribeClusterAttachScriptsRequest) (_result *DescribeClusterAttachScriptsResponse, _err error)
- func (client *Client) DescribeClusterAttachScriptsWithOptions(ClusterId *string, request *DescribeClusterAttachScriptsRequest, ...) (_result *DescribeClusterAttachScriptsResponse, _err error)
- func (client *Client) DescribeClusterDetail(ClusterId *string) (_result *DescribeClusterDetailResponse, _err error)
- func (client *Client) DescribeClusterDetailWithOptions(ClusterId *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *DescribeClusterDetailResponse, _err error)
- func (client *Client) DescribeClusterEvents(ClusterId *string, request *DescribeClusterEventsRequest) (_result *DescribeClusterEventsResponse, _err error)
- func (client *Client) DescribeClusterEventsWithOptions(ClusterId *string, request *DescribeClusterEventsRequest, ...) (_result *DescribeClusterEventsResponse, _err error)
- func (client *Client) DescribeClusterLogs(ClusterId *string) (_result *DescribeClusterLogsResponse, _err error)
- func (client *Client) DescribeClusterLogsWithOptions(ClusterId *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *DescribeClusterLogsResponse, _err error)
- func (client *Client) DescribeClusterNodePoolDetail(ClusterId *string, NodepoolId *string) (_result *DescribeClusterNodePoolDetailResponse, _err error)
- func (client *Client) DescribeClusterNodePoolDetailWithOptions(ClusterId *string, NodepoolId *string, headers map[string]*string, ...) (_result *DescribeClusterNodePoolDetailResponse, _err error)
- func (client *Client) DescribeClusterNodePools(ClusterId *string, request *DescribeClusterNodePoolsRequest) (_result *DescribeClusterNodePoolsResponse, _err error)
- func (client *Client) DescribeClusterNodePoolsWithOptions(ClusterId *string, request *DescribeClusterNodePoolsRequest, ...) (_result *DescribeClusterNodePoolsResponse, _err error)
- func (client *Client) DescribeClusterNodes(ClusterId *string, request *DescribeClusterNodesRequest) (_result *DescribeClusterNodesResponse, _err error)
- func (client *Client) DescribeClusterNodesWithOptions(ClusterId *string, request *DescribeClusterNodesRequest, ...) (_result *DescribeClusterNodesResponse, _err error)
- func (client *Client) DescribeClusterResources(ClusterId *string, request *DescribeClusterResourcesRequest) (_result *DescribeClusterResourcesResponse, _err error)
- func (client *Client) DescribeClusterResourcesWithOptions(ClusterId *string, request *DescribeClusterResourcesRequest, ...) (_result *DescribeClusterResourcesResponse, _err error)
- func (client *Client) DescribeClusterTasks(clusterId *string, request *DescribeClusterTasksRequest) (_result *DescribeClusterTasksResponse, _err error)
- func (client *Client) DescribeClusterTasksWithOptions(clusterId *string, request *DescribeClusterTasksRequest, ...) (_result *DescribeClusterTasksResponse, _err error)
- func (client *Client) DescribeClusterUserKubeconfig(ClusterId *string, request *DescribeClusterUserKubeconfigRequest) (_result *DescribeClusterUserKubeconfigResponse, _err error)
- func (client *Client) DescribeClusterUserKubeconfigWithOptions(ClusterId *string, request *DescribeClusterUserKubeconfigRequest, ...) (_result *DescribeClusterUserKubeconfigResponse, _err error)
- func (client *Client) DescribeClusterV2UserKubeconfig(ClusterId *string, request *DescribeClusterV2UserKubeconfigRequest) (_result *DescribeClusterV2UserKubeconfigResponse, _err error)deprecated
- func (client *Client) DescribeClusterV2UserKubeconfigWithOptions(ClusterId *string, request *DescribeClusterV2UserKubeconfigRequest, ...) (_result *DescribeClusterV2UserKubeconfigResponse, _err error)deprecated
- func (client *Client) DescribeClusterVuls(clusterId *string) (_result *DescribeClusterVulsResponse, _err error)
- func (client *Client) DescribeClusterVulsWithOptions(clusterId *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *DescribeClusterVulsResponse, _err error)
- func (client *Client) DescribeClusters(request *DescribeClustersRequest) (_result *DescribeClustersResponse, _err error)deprecated
- func (client *Client) DescribeClustersForRegion(regionId *string, request *DescribeClustersForRegionRequest) (_result *DescribeClustersForRegionResponse, _err error)
- func (client *Client) DescribeClustersForRegionWithOptions(regionId *string, request *DescribeClustersForRegionRequest, ...) (_result *DescribeClustersForRegionResponse, _err error)
- func (client *Client) DescribeClustersV1(request *DescribeClustersV1Request) (_result *DescribeClustersV1Response, _err error)
- func (client *Client) DescribeClustersV1WithOptions(request *DescribeClustersV1Request, headers map[string]*string, ...) (_result *DescribeClustersV1Response, _err error)
- func (client *Client) DescribeClustersWithOptions(request *DescribeClustersRequest, headers map[string]*string, ...) (_result *DescribeClustersResponse, _err error)deprecated
- func (client *Client) DescribeEdgeMachineActiveProcess(edgeMachineid *string) (_result *DescribeEdgeMachineActiveProcessResponse, _err error)deprecated
- func (client *Client) DescribeEdgeMachineActiveProcessWithOptions(edgeMachineid *string, headers map[string]*string, ...) (_result *DescribeEdgeMachineActiveProcessResponse, _err error)deprecated
- func (client *Client) DescribeEdgeMachineModels() (_result *DescribeEdgeMachineModelsResponse, _err error)
- func (client *Client) DescribeEdgeMachineModelsWithOptions(headers map[string]*string, runtime *util.RuntimeOptions) (_result *DescribeEdgeMachineModelsResponse, _err error)
- func (client *Client) DescribeEdgeMachineTunnelConfigDetail(edgeMachineid *string) (_result *DescribeEdgeMachineTunnelConfigDetailResponse, _err error)
- func (client *Client) DescribeEdgeMachineTunnelConfigDetailWithOptions(edgeMachineid *string, headers map[string]*string, ...) (_result *DescribeEdgeMachineTunnelConfigDetailResponse, _err error)
- func (client *Client) DescribeEdgeMachines(request *DescribeEdgeMachinesRequest) (_result *DescribeEdgeMachinesResponse, _err error)
- func (client *Client) DescribeEdgeMachinesWithOptions(request *DescribeEdgeMachinesRequest, headers map[string]*string, ...) (_result *DescribeEdgeMachinesResponse, _err error)
- func (client *Client) DescribeEvents(request *DescribeEventsRequest) (_result *DescribeEventsResponse, _err error)
- func (client *Client) DescribeEventsForRegion(regionId *string, request *DescribeEventsForRegionRequest) (_result *DescribeEventsForRegionResponse, _err error)
- func (client *Client) DescribeEventsForRegionWithOptions(regionId *string, request *DescribeEventsForRegionRequest, ...) (_result *DescribeEventsForRegionResponse, _err error)
- func (client *Client) DescribeEventsWithOptions(request *DescribeEventsRequest, headers map[string]*string, ...) (_result *DescribeEventsResponse, _err error)
- func (client *Client) DescribeExternalAgent(ClusterId *string, request *DescribeExternalAgentRequest) (_result *DescribeExternalAgentResponse, _err error)deprecated
- func (client *Client) DescribeExternalAgentWithOptions(ClusterId *string, request *DescribeExternalAgentRequest, ...) (_result *DescribeExternalAgentResponse, _err error)deprecated
- func (client *Client) DescribeKubernetesVersionMetadata(request *DescribeKubernetesVersionMetadataRequest) (_result *DescribeKubernetesVersionMetadataResponse, _err error)
- func (client *Client) DescribeKubernetesVersionMetadataWithOptions(request *DescribeKubernetesVersionMetadataRequest, headers map[string]*string, ...) (_result *DescribeKubernetesVersionMetadataResponse, _err error)
- func (client *Client) DescribeNodePoolVuls(clusterId *string, nodepoolId *string, request *DescribeNodePoolVulsRequest) (_result *DescribeNodePoolVulsResponse, _err error)
- func (client *Client) DescribeNodePoolVulsWithOptions(clusterId *string, nodepoolId *string, request *DescribeNodePoolVulsRequest, ...) (_result *DescribeNodePoolVulsResponse, _err error)
- func (client *Client) DescribePolicies() (_result *DescribePoliciesResponse, _err error)
- func (client *Client) DescribePoliciesWithOptions(headers map[string]*string, runtime *util.RuntimeOptions) (_result *DescribePoliciesResponse, _err error)
- func (client *Client) DescribePolicyDetails(policyName *string) (_result *DescribePolicyDetailsResponse, _err error)
- func (client *Client) DescribePolicyDetailsWithOptions(policyName *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *DescribePolicyDetailsResponse, _err error)
- func (client *Client) DescribePolicyGovernanceInCluster(clusterId *string) (_result *DescribePolicyGovernanceInClusterResponse, _err error)
- func (client *Client) DescribePolicyGovernanceInClusterWithOptions(clusterId *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *DescribePolicyGovernanceInClusterResponse, _err error)
- func (client *Client) DescribePolicyInstances(clusterId *string, request *DescribePolicyInstancesRequest) (_result *DescribePolicyInstancesResponse, _err error)
- func (client *Client) DescribePolicyInstancesStatus(clusterId *string) (_result *DescribePolicyInstancesStatusResponse, _err error)
- func (client *Client) DescribePolicyInstancesStatusWithOptions(clusterId *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *DescribePolicyInstancesStatusResponse, _err error)
- func (client *Client) DescribePolicyInstancesWithOptions(clusterId *string, request *DescribePolicyInstancesRequest, ...) (_result *DescribePolicyInstancesResponse, _err error)
- func (client *Client) DescribeResourcesDeleteProtection(ClusterId *string, ResourceType *string, ...) (_result *DescribeResourcesDeleteProtectionResponse, _err error)
- func (client *Client) DescribeResourcesDeleteProtectionWithOptions(ClusterId *string, ResourceType *string, ...) (_result *DescribeResourcesDeleteProtectionResponse, _err error)
- func (client *Client) DescribeSubaccountK8sClusterUserConfig(ClusterId *string, Uid *string, ...) (_result *DescribeSubaccountK8sClusterUserConfigResponse, _err error)
- func (client *Client) DescribeSubaccountK8sClusterUserConfigWithOptions(ClusterId *string, Uid *string, ...) (_result *DescribeSubaccountK8sClusterUserConfigResponse, _err error)
- func (client *Client) DescribeTaskInfo(taskId *string) (_result *DescribeTaskInfoResponse, _err error)
- func (client *Client) DescribeTaskInfoWithOptions(taskId *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *DescribeTaskInfoResponse, _err error)
- func (client *Client) DescribeTemplateAttribute(TemplateId *string, request *DescribeTemplateAttributeRequest) (_result *DescribeTemplateAttributeResponse, _err error)
- func (client *Client) DescribeTemplateAttributeWithOptions(TemplateId *string, request *DescribeTemplateAttributeRequest, ...) (_result *DescribeTemplateAttributeResponse, _err error)
- func (client *Client) DescribeTemplates(request *DescribeTemplatesRequest) (_result *DescribeTemplatesResponse, _err error)
- func (client *Client) DescribeTemplatesWithOptions(request *DescribeTemplatesRequest, headers map[string]*string, ...) (_result *DescribeTemplatesResponse, _err error)
- func (client *Client) DescribeTrigger(clusterId *string, request *DescribeTriggerRequest) (_result *DescribeTriggerResponse, _err error)
- func (client *Client) DescribeTriggerWithOptions(clusterId *string, request *DescribeTriggerRequest, headers map[string]*string, ...) (_result *DescribeTriggerResponse, _err error)
- func (client *Client) DescribeUserClusterNamespaces(ClusterId *string) (_result *DescribeUserClusterNamespacesResponse, _err error)
- func (client *Client) DescribeUserClusterNamespacesWithOptions(ClusterId *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *DescribeUserClusterNamespacesResponse, _err error)
- func (client *Client) DescribeUserPermission(uid *string) (_result *DescribeUserPermissionResponse, _err error)
- func (client *Client) DescribeUserPermissionWithOptions(uid *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *DescribeUserPermissionResponse, _err error)
- func (client *Client) DescribeUserQuota() (_result *DescribeUserQuotaResponse, _err error)
- func (client *Client) DescribeUserQuotaWithOptions(headers map[string]*string, runtime *util.RuntimeOptions) (_result *DescribeUserQuotaResponse, _err error)
- func (client *Client) EdgeClusterAddEdgeMachine(clusterid *string, edgeMachineid *string, ...) (_result *EdgeClusterAddEdgeMachineResponse, _err error)deprecated
- func (client *Client) EdgeClusterAddEdgeMachineWithOptions(clusterid *string, edgeMachineid *string, ...) (_result *EdgeClusterAddEdgeMachineResponse, _err error)deprecated
- func (client *Client) FixNodePoolVuls(clusterId *string, nodepoolId *string, request *FixNodePoolVulsRequest) (_result *FixNodePoolVulsResponse, _err error)
- func (client *Client) FixNodePoolVulsWithOptions(clusterId *string, nodepoolId *string, request *FixNodePoolVulsRequest, ...) (_result *FixNodePoolVulsResponse, _err error)
- func (client *Client) GetClusterAddonInstance(clusterId *string, instanceName *string) (_result *GetClusterAddonInstanceResponse, _err error)
- func (client *Client) GetClusterAddonInstanceWithOptions(clusterId *string, instanceName *string, headers map[string]*string, ...) (_result *GetClusterAddonInstanceResponse, _err error)
- func (client *Client) GetClusterAuditProject(clusterid *string) (_result *GetClusterAuditProjectResponse, _err error)
- func (client *Client) GetClusterAuditProjectWithOptions(clusterid *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *GetClusterAuditProjectResponse, _err error)
- func (client *Client) GetClusterCheck(clusterId *string, checkId *string) (_result *GetClusterCheckResponse, _err error)
- func (client *Client) GetClusterCheckWithOptions(clusterId *string, checkId *string, headers map[string]*string, ...) (_result *GetClusterCheckResponse, _err error)
- func (client *Client) GetClusterDiagnosisCheckItems(clusterId *string, diagnosisId *string, ...) (_result *GetClusterDiagnosisCheckItemsResponse, _err error)
- func (client *Client) GetClusterDiagnosisCheckItemsWithOptions(clusterId *string, diagnosisId *string, ...) (_result *GetClusterDiagnosisCheckItemsResponse, _err error)
- func (client *Client) GetClusterDiagnosisResult(clusterId *string, diagnosisId *string, ...) (_result *GetClusterDiagnosisResultResponse, _err error)
- func (client *Client) GetClusterDiagnosisResultWithOptions(clusterId *string, diagnosisId *string, ...) (_result *GetClusterDiagnosisResultResponse, _err error)
- func (client *Client) GetEndpoint(productId *string, regionId *string, endpointRule *string, network *string, ...) (_result *string, _err error)
- func (client *Client) GetKubernetesTrigger(ClusterId *string, request *GetKubernetesTriggerRequest) (_result *GetKubernetesTriggerResponse, _err error)deprecated
- func (client *Client) GetKubernetesTriggerWithOptions(ClusterId *string, request *GetKubernetesTriggerRequest, ...) (_result *GetKubernetesTriggerResponse, _err error)deprecated
- func (client *Client) GetUpgradeStatus(ClusterId *string) (_result *GetUpgradeStatusResponse, _err error)deprecated
- func (client *Client) GetUpgradeStatusWithOptions(ClusterId *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *GetUpgradeStatusResponse, _err error)deprecated
- func (client *Client) GrantPermissions(uid *string, request *GrantPermissionsRequest) (_result *GrantPermissionsResponse, _err error)
- func (client *Client) GrantPermissionsWithOptions(uid *string, request *GrantPermissionsRequest, headers map[string]*string, ...) (_result *GrantPermissionsResponse, _err error)
- func (client *Client) Init(config *openapi.Config) (_err error)
- func (client *Client) InstallClusterAddons(ClusterId *string, request *InstallClusterAddonsRequest) (_result *InstallClusterAddonsResponse, _err error)
- func (client *Client) InstallClusterAddonsWithOptions(ClusterId *string, request *InstallClusterAddonsRequest, ...) (_result *InstallClusterAddonsResponse, _err error)
- func (client *Client) ListAddons(request *ListAddonsRequest) (_result *ListAddonsResponse, _err error)
- func (client *Client) ListAddonsWithOptions(request *ListAddonsRequest, headers map[string]*string, ...) (_result *ListAddonsResponse, _err error)
- func (client *Client) ListClusterAddonInstances(clusterId *string) (_result *ListClusterAddonInstancesResponse, _err error)
- func (client *Client) ListClusterAddonInstancesWithOptions(clusterId *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *ListClusterAddonInstancesResponse, _err error)
- func (client *Client) ListClusterChecks(clusterId *string, request *ListClusterChecksRequest) (_result *ListClusterChecksResponse, _err error)
- func (client *Client) ListClusterChecksWithOptions(clusterId *string, request *ListClusterChecksRequest, ...) (_result *ListClusterChecksResponse, _err error)
- func (client *Client) ListClusterKubeconfigStates(ClusterId *string, request *ListClusterKubeconfigStatesRequest) (_result *ListClusterKubeconfigStatesResponse, _err error)
- func (client *Client) ListClusterKubeconfigStatesWithOptions(ClusterId *string, request *ListClusterKubeconfigStatesRequest, ...) (_result *ListClusterKubeconfigStatesResponse, _err error)
- func (client *Client) ListOperationPlans(request *ListOperationPlansRequest) (_result *ListOperationPlansResponse, _err error)
- func (client *Client) ListOperationPlansWithOptions(request *ListOperationPlansRequest, headers map[string]*string, ...) (_result *ListOperationPlansResponse, _err error)
- func (client *Client) ListTagResources(request *ListTagResourcesRequest) (_result *ListTagResourcesResponse, _err error)
- func (client *Client) ListTagResourcesWithOptions(tmpReq *ListTagResourcesRequest, headers map[string]*string, ...) (_result *ListTagResourcesResponse, _err error)
- func (client *Client) ListUserKubeConfigStates(Uid *string, request *ListUserKubeConfigStatesRequest) (_result *ListUserKubeConfigStatesResponse, _err error)
- func (client *Client) ListUserKubeConfigStatesWithOptions(Uid *string, request *ListUserKubeConfigStatesRequest, ...) (_result *ListUserKubeConfigStatesResponse, _err error)
- func (client *Client) MigrateCluster(clusterId *string, request *MigrateClusterRequest) (_result *MigrateClusterResponse, _err error)
- func (client *Client) MigrateClusterWithOptions(clusterId *string, request *MigrateClusterRequest, headers map[string]*string, ...) (_result *MigrateClusterResponse, _err error)
- func (client *Client) ModifyCluster(ClusterId *string, request *ModifyClusterRequest) (_result *ModifyClusterResponse, _err error)
- func (client *Client) ModifyClusterAddon(clusterId *string, componentId *string, request *ModifyClusterAddonRequest) (_result *ModifyClusterAddonResponse, _err error)
- func (client *Client) ModifyClusterAddonWithOptions(clusterId *string, componentId *string, request *ModifyClusterAddonRequest, ...) (_result *ModifyClusterAddonResponse, _err error)
- func (client *Client) ModifyClusterConfiguration(ClusterId *string, request *ModifyClusterConfigurationRequest) (_result *ModifyClusterConfigurationResponse, _err error)deprecated
- func (client *Client) ModifyClusterConfigurationWithOptions(ClusterId *string, request *ModifyClusterConfigurationRequest, ...) (_result *ModifyClusterConfigurationResponse, _err error)deprecated
- func (client *Client) ModifyClusterNodePool(ClusterId *string, NodepoolId *string, request *ModifyClusterNodePoolRequest) (_result *ModifyClusterNodePoolResponse, _err error)
- func (client *Client) ModifyClusterNodePoolWithOptions(ClusterId *string, NodepoolId *string, request *ModifyClusterNodePoolRequest, ...) (_result *ModifyClusterNodePoolResponse, _err error)
- func (client *Client) ModifyClusterTags(ClusterId *string, request *ModifyClusterTagsRequest) (_result *ModifyClusterTagsResponse, _err error)
- func (client *Client) ModifyClusterTagsWithOptions(ClusterId *string, request *ModifyClusterTagsRequest, ...) (_result *ModifyClusterTagsResponse, _err error)
- func (client *Client) ModifyClusterWithOptions(ClusterId *string, request *ModifyClusterRequest, headers map[string]*string, ...) (_result *ModifyClusterResponse, _err error)
- func (client *Client) ModifyNodePoolNodeConfig(ClusterId *string, NodepoolId *string, ...) (_result *ModifyNodePoolNodeConfigResponse, _err error)
- func (client *Client) ModifyNodePoolNodeConfigWithOptions(ClusterId *string, NodepoolId *string, ...) (_result *ModifyNodePoolNodeConfigResponse, _err error)
- func (client *Client) ModifyPolicyInstance(clusterId *string, policyName *string, request *ModifyPolicyInstanceRequest) (_result *ModifyPolicyInstanceResponse, _err error)
- func (client *Client) ModifyPolicyInstanceWithOptions(clusterId *string, policyName *string, request *ModifyPolicyInstanceRequest, ...) (_result *ModifyPolicyInstanceResponse, _err error)
- func (client *Client) OpenAckService(request *OpenAckServiceRequest) (_result *OpenAckServiceResponse, _err error)
- func (client *Client) OpenAckServiceWithOptions(request *OpenAckServiceRequest, headers map[string]*string, ...) (_result *OpenAckServiceResponse, _err error)
- func (client *Client) PauseClusterUpgrade(ClusterId *string) (_result *PauseClusterUpgradeResponse, _err error)deprecated
- func (client *Client) PauseClusterUpgradeWithOptions(ClusterId *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *PauseClusterUpgradeResponse, _err error)deprecated
- func (client *Client) PauseComponentUpgrade(clusterid *string, componentid *string) (_result *PauseComponentUpgradeResponse, _err error)deprecated
- func (client *Client) PauseComponentUpgradeWithOptions(clusterid *string, componentid *string, headers map[string]*string, ...) (_result *PauseComponentUpgradeResponse, _err error)deprecated
- func (client *Client) PauseTask(taskId *string) (_result *PauseTaskResponse, _err error)
- func (client *Client) PauseTaskWithOptions(taskId *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *PauseTaskResponse, _err error)
- func (client *Client) RemoveClusterNodes(ClusterId *string, request *RemoveClusterNodesRequest) (_result *RemoveClusterNodesResponse, _err error)deprecated
- func (client *Client) RemoveClusterNodesWithOptions(ClusterId *string, request *RemoveClusterNodesRequest, ...) (_result *RemoveClusterNodesResponse, _err error)deprecated
- func (client *Client) RemoveNodePoolNodes(ClusterId *string, NodepoolId *string, request *RemoveNodePoolNodesRequest) (_result *RemoveNodePoolNodesResponse, _err error)
- func (client *Client) RemoveNodePoolNodesWithOptions(ClusterId *string, NodepoolId *string, tmpReq *RemoveNodePoolNodesRequest, ...) (_result *RemoveNodePoolNodesResponse, _err error)
- func (client *Client) RepairClusterNodePool(clusterId *string, nodepoolId *string, request *RepairClusterNodePoolRequest) (_result *RepairClusterNodePoolResponse, _err error)
- func (client *Client) RepairClusterNodePoolWithOptions(clusterId *string, nodepoolId *string, request *RepairClusterNodePoolRequest, ...) (_result *RepairClusterNodePoolResponse, _err error)
- func (client *Client) ResumeComponentUpgrade(clusterid *string, componentid *string) (_result *ResumeComponentUpgradeResponse, _err error)deprecated
- func (client *Client) ResumeComponentUpgradeWithOptions(clusterid *string, componentid *string, headers map[string]*string, ...) (_result *ResumeComponentUpgradeResponse, _err error)deprecated
- func (client *Client) ResumeTask(taskId *string) (_result *ResumeTaskResponse, _err error)
- func (client *Client) ResumeTaskWithOptions(taskId *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *ResumeTaskResponse, _err error)
- func (client *Client) ResumeUpgradeCluster(ClusterId *string) (_result *ResumeUpgradeClusterResponse, _err error)deprecated
- func (client *Client) ResumeUpgradeClusterWithOptions(ClusterId *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *ResumeUpgradeClusterResponse, _err error)deprecated
- func (client *Client) RevokeK8sClusterKubeConfig(ClusterId *string) (_result *RevokeK8sClusterKubeConfigResponse, _err error)
- func (client *Client) RevokeK8sClusterKubeConfigWithOptions(ClusterId *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *RevokeK8sClusterKubeConfigResponse, _err error)
- func (client *Client) RunClusterCheck(clusterId *string, request *RunClusterCheckRequest) (_result *RunClusterCheckResponse, _err error)
- func (client *Client) RunClusterCheckWithOptions(clusterId *string, request *RunClusterCheckRequest, headers map[string]*string, ...) (_result *RunClusterCheckResponse, _err error)
- func (client *Client) ScaleCluster(ClusterId *string, request *ScaleClusterRequest) (_result *ScaleClusterResponse, _err error)deprecated
- func (client *Client) ScaleClusterNodePool(ClusterId *string, NodepoolId *string, request *ScaleClusterNodePoolRequest) (_result *ScaleClusterNodePoolResponse, _err error)
- func (client *Client) ScaleClusterNodePoolWithOptions(ClusterId *string, NodepoolId *string, request *ScaleClusterNodePoolRequest, ...) (_result *ScaleClusterNodePoolResponse, _err error)
- func (client *Client) ScaleClusterWithOptions(ClusterId *string, request *ScaleClusterRequest, headers map[string]*string, ...) (_result *ScaleClusterResponse, _err error)deprecated
- func (client *Client) ScaleOutCluster(ClusterId *string, request *ScaleOutClusterRequest) (_result *ScaleOutClusterResponse, _err error)
- func (client *Client) ScaleOutClusterWithOptions(ClusterId *string, request *ScaleOutClusterRequest, headers map[string]*string, ...) (_result *ScaleOutClusterResponse, _err error)
- func (client *Client) ScanClusterVuls(clusterId *string) (_result *ScanClusterVulsResponse, _err error)
- func (client *Client) ScanClusterVulsWithOptions(clusterId *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *ScanClusterVulsResponse, _err error)
- func (client *Client) StartAlert(ClusterId *string, request *StartAlertRequest) (_result *StartAlertResponse, _err error)
- func (client *Client) StartAlertWithOptions(ClusterId *string, request *StartAlertRequest, headers map[string]*string, ...) (_result *StartAlertResponse, _err error)
- func (client *Client) StopAlert(ClusterId *string, request *StopAlertRequest) (_result *StopAlertResponse, _err error)
- func (client *Client) StopAlertWithOptions(ClusterId *string, request *StopAlertRequest, headers map[string]*string, ...) (_result *StopAlertResponse, _err error)
- func (client *Client) SyncClusterNodePool(ClusterId *string) (_result *SyncClusterNodePoolResponse, _err error)
- func (client *Client) SyncClusterNodePoolWithOptions(ClusterId *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *SyncClusterNodePoolResponse, _err error)
- func (client *Client) TagResources(request *TagResourcesRequest) (_result *TagResourcesResponse, _err error)
- func (client *Client) TagResourcesWithOptions(request *TagResourcesRequest, headers map[string]*string, ...) (_result *TagResourcesResponse, _err error)
- func (client *Client) UnInstallClusterAddons(ClusterId *string, request *UnInstallClusterAddonsRequest) (_result *UnInstallClusterAddonsResponse, _err error)
- func (client *Client) UnInstallClusterAddonsWithOptions(ClusterId *string, request *UnInstallClusterAddonsRequest, ...) (_result *UnInstallClusterAddonsResponse, _err error)
- func (client *Client) UntagResources(request *UntagResourcesRequest) (_result *UntagResourcesResponse, _err error)
- func (client *Client) UntagResourcesWithOptions(tmpReq *UntagResourcesRequest, headers map[string]*string, ...) (_result *UntagResourcesResponse, _err error)
- func (client *Client) UpdateClusterAuditLogConfig(clusterid *string, request *UpdateClusterAuditLogConfigRequest) (_result *UpdateClusterAuditLogConfigResponse, _err error)
- func (client *Client) UpdateClusterAuditLogConfigWithOptions(clusterid *string, request *UpdateClusterAuditLogConfigRequest, ...) (_result *UpdateClusterAuditLogConfigResponse, _err error)
- func (client *Client) UpdateContactGroupForAlert(ClusterId *string, request *UpdateContactGroupForAlertRequest) (_result *UpdateContactGroupForAlertResponse, _err error)
- func (client *Client) UpdateContactGroupForAlertWithOptions(ClusterId *string, request *UpdateContactGroupForAlertRequest, ...) (_result *UpdateContactGroupForAlertResponse, _err error)
- func (client *Client) UpdateControlPlaneLog(ClusterId *string, request *UpdateControlPlaneLogRequest) (_result *UpdateControlPlaneLogResponse, _err error)
- func (client *Client) UpdateControlPlaneLogWithOptions(ClusterId *string, request *UpdateControlPlaneLogRequest, ...) (_result *UpdateControlPlaneLogResponse, _err error)
- func (client *Client) UpdateK8sClusterUserConfigExpire(ClusterId *string, request *UpdateK8sClusterUserConfigExpireRequest) (_result *UpdateK8sClusterUserConfigExpireResponse, _err error)
- func (client *Client) UpdateK8sClusterUserConfigExpireWithOptions(ClusterId *string, request *UpdateK8sClusterUserConfigExpireRequest, ...) (_result *UpdateK8sClusterUserConfigExpireResponse, _err error)
- func (client *Client) UpdateResourcesDeleteProtection(ClusterId *string, request *UpdateResourcesDeleteProtectionRequest) (_result *UpdateResourcesDeleteProtectionResponse, _err error)
- func (client *Client) UpdateResourcesDeleteProtectionWithOptions(ClusterId *string, request *UpdateResourcesDeleteProtectionRequest, ...) (_result *UpdateResourcesDeleteProtectionResponse, _err error)
- func (client *Client) UpdateTemplate(TemplateId *string, request *UpdateTemplateRequest) (_result *UpdateTemplateResponse, _err error)
- func (client *Client) UpdateTemplateWithOptions(TemplateId *string, request *UpdateTemplateRequest, headers map[string]*string, ...) (_result *UpdateTemplateResponse, _err error)
- func (client *Client) UpdateUserPermissions(uid *string, request *UpdateUserPermissionsRequest) (_result *UpdateUserPermissionsResponse, _err error)
- func (client *Client) UpdateUserPermissionsWithOptions(uid *string, request *UpdateUserPermissionsRequest, headers map[string]*string, ...) (_result *UpdateUserPermissionsResponse, _err error)
- func (client *Client) UpgradeCluster(ClusterId *string, request *UpgradeClusterRequest) (_result *UpgradeClusterResponse, _err error)
- func (client *Client) UpgradeClusterAddons(ClusterId *string, request *UpgradeClusterAddonsRequest) (_result *UpgradeClusterAddonsResponse, _err error)
- func (client *Client) UpgradeClusterAddonsWithOptions(ClusterId *string, request *UpgradeClusterAddonsRequest, ...) (_result *UpgradeClusterAddonsResponse, _err error)
- func (client *Client) UpgradeClusterNodepool(ClusterId *string, NodepoolId *string, request *UpgradeClusterNodepoolRequest) (_result *UpgradeClusterNodepoolResponse, _err error)
- func (client *Client) UpgradeClusterNodepoolWithOptions(ClusterId *string, NodepoolId *string, request *UpgradeClusterNodepoolRequest, ...) (_result *UpgradeClusterNodepoolResponse, _err error)
- func (client *Client) UpgradeClusterWithOptions(ClusterId *string, request *UpgradeClusterRequest, headers map[string]*string, ...) (_result *UpgradeClusterResponse, _err error)
- type ContainerdConfig
- type CreateAutoscalingConfigRequest
- func (s CreateAutoscalingConfigRequest) GoString() string
- func (s *CreateAutoscalingConfigRequest) SetCoolDownDuration(v string) *CreateAutoscalingConfigRequest
- func (s *CreateAutoscalingConfigRequest) SetDaemonsetEvictionForNodes(v bool) *CreateAutoscalingConfigRequest
- func (s *CreateAutoscalingConfigRequest) SetExpander(v string) *CreateAutoscalingConfigRequest
- func (s *CreateAutoscalingConfigRequest) SetGpuUtilizationThreshold(v string) *CreateAutoscalingConfigRequest
- func (s *CreateAutoscalingConfigRequest) SetMaxGracefulTerminationSec(v int32) *CreateAutoscalingConfigRequest
- func (s *CreateAutoscalingConfigRequest) SetMinReplicaCount(v int32) *CreateAutoscalingConfigRequest
- func (s *CreateAutoscalingConfigRequest) SetPriorities(v map[string][]*string) *CreateAutoscalingConfigRequest
- func (s *CreateAutoscalingConfigRequest) SetRecycleNodeDeletionEnabled(v bool) *CreateAutoscalingConfigRequest
- func (s *CreateAutoscalingConfigRequest) SetScaleDownEnabled(v bool) *CreateAutoscalingConfigRequest
- func (s *CreateAutoscalingConfigRequest) SetScaleUpFromZero(v bool) *CreateAutoscalingConfigRequest
- func (s *CreateAutoscalingConfigRequest) SetScalerType(v string) *CreateAutoscalingConfigRequest
- func (s *CreateAutoscalingConfigRequest) SetScanInterval(v string) *CreateAutoscalingConfigRequest
- func (s *CreateAutoscalingConfigRequest) SetSkipNodesWithLocalStorage(v bool) *CreateAutoscalingConfigRequest
- func (s *CreateAutoscalingConfigRequest) SetSkipNodesWithSystemPods(v bool) *CreateAutoscalingConfigRequest
- func (s *CreateAutoscalingConfigRequest) SetUnneededDuration(v string) *CreateAutoscalingConfigRequest
- func (s *CreateAutoscalingConfigRequest) SetUtilizationThreshold(v string) *CreateAutoscalingConfigRequest
- func (s CreateAutoscalingConfigRequest) String() string
- type CreateAutoscalingConfigResponse
- func (s CreateAutoscalingConfigResponse) GoString() string
- func (s *CreateAutoscalingConfigResponse) SetBody(v *CreateAutoscalingConfigResponseBody) *CreateAutoscalingConfigResponse
- func (s *CreateAutoscalingConfigResponse) SetHeaders(v map[string]*string) *CreateAutoscalingConfigResponse
- func (s *CreateAutoscalingConfigResponse) SetStatusCode(v int32) *CreateAutoscalingConfigResponse
- func (s CreateAutoscalingConfigResponse) String() string
- type CreateAutoscalingConfigResponseBody
- func (s CreateAutoscalingConfigResponseBody) GoString() string
- func (s *CreateAutoscalingConfigResponseBody) SetClusterId(v string) *CreateAutoscalingConfigResponseBody
- func (s *CreateAutoscalingConfigResponseBody) SetRequestId(v string) *CreateAutoscalingConfigResponseBody
- func (s *CreateAutoscalingConfigResponseBody) SetTaskId(v string) *CreateAutoscalingConfigResponseBody
- func (s CreateAutoscalingConfigResponseBody) String() string
- type CreateClusterDiagnosisRequest
- func (s CreateClusterDiagnosisRequest) GoString() string
- func (s *CreateClusterDiagnosisRequest) SetTarget(v map[string]interface{}) *CreateClusterDiagnosisRequest
- func (s *CreateClusterDiagnosisRequest) SetType(v string) *CreateClusterDiagnosisRequest
- func (s CreateClusterDiagnosisRequest) String() string
- type CreateClusterDiagnosisResponse
- func (s CreateClusterDiagnosisResponse) GoString() string
- func (s *CreateClusterDiagnosisResponse) SetBody(v *CreateClusterDiagnosisResponseBody) *CreateClusterDiagnosisResponse
- func (s *CreateClusterDiagnosisResponse) SetHeaders(v map[string]*string) *CreateClusterDiagnosisResponse
- func (s *CreateClusterDiagnosisResponse) SetStatusCode(v int32) *CreateClusterDiagnosisResponse
- func (s CreateClusterDiagnosisResponse) String() string
- type CreateClusterDiagnosisResponseBody
- func (s CreateClusterDiagnosisResponseBody) GoString() string
- func (s *CreateClusterDiagnosisResponseBody) SetClusterId(v string) *CreateClusterDiagnosisResponseBody
- func (s *CreateClusterDiagnosisResponseBody) SetDiagnosisId(v string) *CreateClusterDiagnosisResponseBody
- func (s *CreateClusterDiagnosisResponseBody) SetRequestId(v string) *CreateClusterDiagnosisResponseBody
- func (s CreateClusterDiagnosisResponseBody) String() string
- type CreateClusterNodePoolRequest
- func (s CreateClusterNodePoolRequest) GoString() string
- func (s *CreateClusterNodePoolRequest) SetAutoScaling(v *CreateClusterNodePoolRequestAutoScaling) *CreateClusterNodePoolRequest
- func (s *CreateClusterNodePoolRequest) SetCount(v int64) *CreateClusterNodePoolRequest
- func (s *CreateClusterNodePoolRequest) SetHostNetwork(v bool) *CreateClusterNodePoolRequest
- func (s *CreateClusterNodePoolRequest) SetInterconnectConfig(v *CreateClusterNodePoolRequestInterconnectConfig) *CreateClusterNodePoolRequest
- func (s *CreateClusterNodePoolRequest) SetInterconnectMode(v string) *CreateClusterNodePoolRequest
- func (s *CreateClusterNodePoolRequest) SetIntranet(v bool) *CreateClusterNodePoolRequest
- func (s *CreateClusterNodePoolRequest) SetKubernetesConfig(v *CreateClusterNodePoolRequestKubernetesConfig) *CreateClusterNodePoolRequest
- func (s *CreateClusterNodePoolRequest) SetManagement(v *CreateClusterNodePoolRequestManagement) *CreateClusterNodePoolRequest
- func (s *CreateClusterNodePoolRequest) SetMaxNodes(v int64) *CreateClusterNodePoolRequest
- func (s *CreateClusterNodePoolRequest) SetNodeConfig(v *CreateClusterNodePoolRequestNodeConfig) *CreateClusterNodePoolRequest
- func (s *CreateClusterNodePoolRequest) SetNodepoolInfo(v *CreateClusterNodePoolRequestNodepoolInfo) *CreateClusterNodePoolRequest
- func (s *CreateClusterNodePoolRequest) SetScalingGroup(v *CreateClusterNodePoolRequestScalingGroup) *CreateClusterNodePoolRequest
- func (s *CreateClusterNodePoolRequest) SetTeeConfig(v *CreateClusterNodePoolRequestTeeConfig) *CreateClusterNodePoolRequest
- func (s CreateClusterNodePoolRequest) String() string
- type CreateClusterNodePoolRequestAutoScaling
- func (s CreateClusterNodePoolRequestAutoScaling) GoString() string
- func (s *CreateClusterNodePoolRequestAutoScaling) SetEipBandwidth(v int64) *CreateClusterNodePoolRequestAutoScaling
- func (s *CreateClusterNodePoolRequestAutoScaling) SetEipInternetChargeType(v string) *CreateClusterNodePoolRequestAutoScaling
- func (s *CreateClusterNodePoolRequestAutoScaling) SetEnable(v bool) *CreateClusterNodePoolRequestAutoScaling
- func (s *CreateClusterNodePoolRequestAutoScaling) SetIsBondEip(v bool) *CreateClusterNodePoolRequestAutoScaling
- func (s *CreateClusterNodePoolRequestAutoScaling) SetMaxInstances(v int64) *CreateClusterNodePoolRequestAutoScaling
- func (s *CreateClusterNodePoolRequestAutoScaling) SetMinInstances(v int64) *CreateClusterNodePoolRequestAutoScaling
- func (s *CreateClusterNodePoolRequestAutoScaling) SetType(v string) *CreateClusterNodePoolRequestAutoScaling
- func (s CreateClusterNodePoolRequestAutoScaling) String() string
- type CreateClusterNodePoolRequestInterconnectConfig
- func (s CreateClusterNodePoolRequestInterconnectConfig) GoString() string
- func (s *CreateClusterNodePoolRequestInterconnectConfig) SetBandwidth(v int64) *CreateClusterNodePoolRequestInterconnectConfig
- func (s *CreateClusterNodePoolRequestInterconnectConfig) SetCcnId(v string) *CreateClusterNodePoolRequestInterconnectConfig
- func (s *CreateClusterNodePoolRequestInterconnectConfig) SetCcnRegionId(v string) *CreateClusterNodePoolRequestInterconnectConfig
- func (s *CreateClusterNodePoolRequestInterconnectConfig) SetCenId(v string) *CreateClusterNodePoolRequestInterconnectConfig
- func (s *CreateClusterNodePoolRequestInterconnectConfig) SetImprovedPeriod(v string) *CreateClusterNodePoolRequestInterconnectConfig
- func (s CreateClusterNodePoolRequestInterconnectConfig) String() string
- type CreateClusterNodePoolRequestKubernetesConfig
- func (s CreateClusterNodePoolRequestKubernetesConfig) GoString() string
- func (s *CreateClusterNodePoolRequestKubernetesConfig) SetCmsEnabled(v bool) *CreateClusterNodePoolRequestKubernetesConfig
- func (s *CreateClusterNodePoolRequestKubernetesConfig) SetCpuPolicy(v string) *CreateClusterNodePoolRequestKubernetesConfig
- func (s *CreateClusterNodePoolRequestKubernetesConfig) SetLabels(v []*Tag) *CreateClusterNodePoolRequestKubernetesConfig
- func (s *CreateClusterNodePoolRequestKubernetesConfig) SetNodeNameMode(v string) *CreateClusterNodePoolRequestKubernetesConfig
- func (s *CreateClusterNodePoolRequestKubernetesConfig) SetPreUserData(v string) *CreateClusterNodePoolRequestKubernetesConfig
- func (s *CreateClusterNodePoolRequestKubernetesConfig) SetRuntime(v string) *CreateClusterNodePoolRequestKubernetesConfig
- func (s *CreateClusterNodePoolRequestKubernetesConfig) SetRuntimeVersion(v string) *CreateClusterNodePoolRequestKubernetesConfig
- func (s *CreateClusterNodePoolRequestKubernetesConfig) SetTaints(v []*Taint) *CreateClusterNodePoolRequestKubernetesConfig
- func (s *CreateClusterNodePoolRequestKubernetesConfig) SetUnschedulable(v bool) *CreateClusterNodePoolRequestKubernetesConfig
- func (s *CreateClusterNodePoolRequestKubernetesConfig) SetUserData(v string) *CreateClusterNodePoolRequestKubernetesConfig
- func (s CreateClusterNodePoolRequestKubernetesConfig) String() string
- type CreateClusterNodePoolRequestManagement
- func (s CreateClusterNodePoolRequestManagement) GoString() string
- func (s *CreateClusterNodePoolRequestManagement) SetAutoRepair(v bool) *CreateClusterNodePoolRequestManagement
- func (s *CreateClusterNodePoolRequestManagement) SetAutoRepairPolicy(v *CreateClusterNodePoolRequestManagementAutoRepairPolicy) *CreateClusterNodePoolRequestManagement
- func (s *CreateClusterNodePoolRequestManagement) SetAutoUpgrade(v bool) *CreateClusterNodePoolRequestManagement
- func (s *CreateClusterNodePoolRequestManagement) SetAutoUpgradePolicy(v *CreateClusterNodePoolRequestManagementAutoUpgradePolicy) *CreateClusterNodePoolRequestManagement
- func (s *CreateClusterNodePoolRequestManagement) SetAutoVulFix(v bool) *CreateClusterNodePoolRequestManagement
- func (s *CreateClusterNodePoolRequestManagement) SetAutoVulFixPolicy(v *CreateClusterNodePoolRequestManagementAutoVulFixPolicy) *CreateClusterNodePoolRequestManagement
- func (s *CreateClusterNodePoolRequestManagement) SetEnable(v bool) *CreateClusterNodePoolRequestManagement
- func (s *CreateClusterNodePoolRequestManagement) SetUpgradeConfig(v *CreateClusterNodePoolRequestManagementUpgradeConfig) *CreateClusterNodePoolRequestManagement
- func (s CreateClusterNodePoolRequestManagement) String() string
- type CreateClusterNodePoolRequestManagementAutoRepairPolicy
- func (s CreateClusterNodePoolRequestManagementAutoRepairPolicy) GoString() string
- func (s *CreateClusterNodePoolRequestManagementAutoRepairPolicy) SetRestartNode(v bool) *CreateClusterNodePoolRequestManagementAutoRepairPolicy
- func (s CreateClusterNodePoolRequestManagementAutoRepairPolicy) String() string
- type CreateClusterNodePoolRequestManagementAutoUpgradePolicy
- func (s CreateClusterNodePoolRequestManagementAutoUpgradePolicy) GoString() string
- func (s *CreateClusterNodePoolRequestManagementAutoUpgradePolicy) SetAutoUpgradeKubelet(v bool) *CreateClusterNodePoolRequestManagementAutoUpgradePolicy
- func (s *CreateClusterNodePoolRequestManagementAutoUpgradePolicy) SetAutoUpgradeOs(v bool) *CreateClusterNodePoolRequestManagementAutoUpgradePolicy
- func (s *CreateClusterNodePoolRequestManagementAutoUpgradePolicy) SetAutoUpgradeRuntime(v bool) *CreateClusterNodePoolRequestManagementAutoUpgradePolicy
- func (s CreateClusterNodePoolRequestManagementAutoUpgradePolicy) String() string
- type CreateClusterNodePoolRequestManagementAutoVulFixPolicy
- func (s CreateClusterNodePoolRequestManagementAutoVulFixPolicy) GoString() string
- func (s *CreateClusterNodePoolRequestManagementAutoVulFixPolicy) SetRestartNode(v bool) *CreateClusterNodePoolRequestManagementAutoVulFixPolicy
- func (s *CreateClusterNodePoolRequestManagementAutoVulFixPolicy) SetVulLevel(v string) *CreateClusterNodePoolRequestManagementAutoVulFixPolicy
- func (s CreateClusterNodePoolRequestManagementAutoVulFixPolicy) String() string
- type CreateClusterNodePoolRequestManagementUpgradeConfig
- func (s CreateClusterNodePoolRequestManagementUpgradeConfig) GoString() string
- func (s *CreateClusterNodePoolRequestManagementUpgradeConfig) SetAutoUpgrade(v bool) *CreateClusterNodePoolRequestManagementUpgradeConfig
- func (s *CreateClusterNodePoolRequestManagementUpgradeConfig) SetMaxUnavailable(v int64) *CreateClusterNodePoolRequestManagementUpgradeConfig
- func (s *CreateClusterNodePoolRequestManagementUpgradeConfig) SetSurge(v int64) *CreateClusterNodePoolRequestManagementUpgradeConfig
- func (s *CreateClusterNodePoolRequestManagementUpgradeConfig) SetSurgePercentage(v int64) *CreateClusterNodePoolRequestManagementUpgradeConfig
- func (s CreateClusterNodePoolRequestManagementUpgradeConfig) String() string
- type CreateClusterNodePoolRequestNodeConfig
- type CreateClusterNodePoolRequestNodepoolInfo
- func (s CreateClusterNodePoolRequestNodepoolInfo) GoString() string
- func (s *CreateClusterNodePoolRequestNodepoolInfo) SetName(v string) *CreateClusterNodePoolRequestNodepoolInfo
- func (s *CreateClusterNodePoolRequestNodepoolInfo) SetResourceGroupId(v string) *CreateClusterNodePoolRequestNodepoolInfo
- func (s *CreateClusterNodePoolRequestNodepoolInfo) SetType(v string) *CreateClusterNodePoolRequestNodepoolInfo
- func (s CreateClusterNodePoolRequestNodepoolInfo) String() string
- type CreateClusterNodePoolRequestScalingGroup
- func (s CreateClusterNodePoolRequestScalingGroup) GoString() string
- func (s *CreateClusterNodePoolRequestScalingGroup) SetAutoRenew(v bool) *CreateClusterNodePoolRequestScalingGroup
- func (s *CreateClusterNodePoolRequestScalingGroup) SetAutoRenewPeriod(v int64) *CreateClusterNodePoolRequestScalingGroup
- func (s *CreateClusterNodePoolRequestScalingGroup) SetCisEnabled(v bool) *CreateClusterNodePoolRequestScalingGroup
- func (s *CreateClusterNodePoolRequestScalingGroup) SetCompensateWithOnDemand(v bool) *CreateClusterNodePoolRequestScalingGroup
- func (s *CreateClusterNodePoolRequestScalingGroup) SetDataDisks(v []*DataDisk) *CreateClusterNodePoolRequestScalingGroup
- func (s *CreateClusterNodePoolRequestScalingGroup) SetDeploymentsetId(v string) *CreateClusterNodePoolRequestScalingGroup
- func (s *CreateClusterNodePoolRequestScalingGroup) SetDesiredSize(v int64) *CreateClusterNodePoolRequestScalingGroup
- func (s *CreateClusterNodePoolRequestScalingGroup) SetImageId(v string) *CreateClusterNodePoolRequestScalingGroup
- func (s *CreateClusterNodePoolRequestScalingGroup) SetImageType(v string) *CreateClusterNodePoolRequestScalingGroup
- func (s *CreateClusterNodePoolRequestScalingGroup) SetInstanceChargeType(v string) *CreateClusterNodePoolRequestScalingGroup
- func (s *CreateClusterNodePoolRequestScalingGroup) SetInstancePatterns(v []*InstancePatterns) *CreateClusterNodePoolRequestScalingGroup
- func (s *CreateClusterNodePoolRequestScalingGroup) SetInstanceTypes(v []*string) *CreateClusterNodePoolRequestScalingGroup
- func (s *CreateClusterNodePoolRequestScalingGroup) SetInternetChargeType(v string) *CreateClusterNodePoolRequestScalingGroup
- func (s *CreateClusterNodePoolRequestScalingGroup) SetInternetMaxBandwidthOut(v int64) *CreateClusterNodePoolRequestScalingGroup
- func (s *CreateClusterNodePoolRequestScalingGroup) SetKeyPair(v string) *CreateClusterNodePoolRequestScalingGroup
- func (s *CreateClusterNodePoolRequestScalingGroup) SetLoginAsNonRoot(v bool) *CreateClusterNodePoolRequestScalingGroup
- func (s *CreateClusterNodePoolRequestScalingGroup) SetLoginPassword(v string) *CreateClusterNodePoolRequestScalingGroup
- func (s *CreateClusterNodePoolRequestScalingGroup) SetMultiAzPolicy(v string) *CreateClusterNodePoolRequestScalingGroup
- func (s *CreateClusterNodePoolRequestScalingGroup) SetOnDemandBaseCapacity(v int64) *CreateClusterNodePoolRequestScalingGroup
- func (s *CreateClusterNodePoolRequestScalingGroup) SetOnDemandPercentageAboveBaseCapacity(v int64) *CreateClusterNodePoolRequestScalingGroup
- func (s *CreateClusterNodePoolRequestScalingGroup) SetPeriod(v int64) *CreateClusterNodePoolRequestScalingGroup
- func (s *CreateClusterNodePoolRequestScalingGroup) SetPeriodUnit(v string) *CreateClusterNodePoolRequestScalingGroup
- func (s *CreateClusterNodePoolRequestScalingGroup) SetPlatform(v string) *CreateClusterNodePoolRequestScalingGroup
- func (s *CreateClusterNodePoolRequestScalingGroup) SetPrivatePoolOptions(v *CreateClusterNodePoolRequestScalingGroupPrivatePoolOptions) *CreateClusterNodePoolRequestScalingGroup
- func (s *CreateClusterNodePoolRequestScalingGroup) SetRamRoleName(v string) *CreateClusterNodePoolRequestScalingGroup
- func (s *CreateClusterNodePoolRequestScalingGroup) SetRdsInstances(v []*string) *CreateClusterNodePoolRequestScalingGroup
- func (s *CreateClusterNodePoolRequestScalingGroup) SetScalingPolicy(v string) *CreateClusterNodePoolRequestScalingGroup
- func (s *CreateClusterNodePoolRequestScalingGroup) SetSecurityGroupId(v string) *CreateClusterNodePoolRequestScalingGroup
- func (s *CreateClusterNodePoolRequestScalingGroup) SetSecurityGroupIds(v []*string) *CreateClusterNodePoolRequestScalingGroup
- func (s *CreateClusterNodePoolRequestScalingGroup) SetSecurityHardeningOs(v bool) *CreateClusterNodePoolRequestScalingGroup
- func (s *CreateClusterNodePoolRequestScalingGroup) SetSocEnabled(v bool) *CreateClusterNodePoolRequestScalingGroup
- func (s *CreateClusterNodePoolRequestScalingGroup) SetSpotInstancePools(v int64) *CreateClusterNodePoolRequestScalingGroup
- func (s *CreateClusterNodePoolRequestScalingGroup) SetSpotInstanceRemedy(v bool) *CreateClusterNodePoolRequestScalingGroup
- func (s *CreateClusterNodePoolRequestScalingGroup) SetSpotPriceLimit(v []*CreateClusterNodePoolRequestScalingGroupSpotPriceLimit) *CreateClusterNodePoolRequestScalingGroup
- func (s *CreateClusterNodePoolRequestScalingGroup) SetSpotStrategy(v string) *CreateClusterNodePoolRequestScalingGroup
- func (s *CreateClusterNodePoolRequestScalingGroup) SetSystemDiskBurstingEnabled(v bool) *CreateClusterNodePoolRequestScalingGroup
- func (s *CreateClusterNodePoolRequestScalingGroup) SetSystemDiskCategories(v []*string) *CreateClusterNodePoolRequestScalingGroup
- func (s *CreateClusterNodePoolRequestScalingGroup) SetSystemDiskCategory(v string) *CreateClusterNodePoolRequestScalingGroup
- func (s *CreateClusterNodePoolRequestScalingGroup) SetSystemDiskEncryptAlgorithm(v string) *CreateClusterNodePoolRequestScalingGroup
- func (s *CreateClusterNodePoolRequestScalingGroup) SetSystemDiskEncrypted(v bool) *CreateClusterNodePoolRequestScalingGroup
- func (s *CreateClusterNodePoolRequestScalingGroup) SetSystemDiskKmsKeyId(v string) *CreateClusterNodePoolRequestScalingGroup
- func (s *CreateClusterNodePoolRequestScalingGroup) SetSystemDiskPerformanceLevel(v string) *CreateClusterNodePoolRequestScalingGroup
- func (s *CreateClusterNodePoolRequestScalingGroup) SetSystemDiskProvisionedIops(v int64) *CreateClusterNodePoolRequestScalingGroup
- func (s *CreateClusterNodePoolRequestScalingGroup) SetSystemDiskSize(v int64) *CreateClusterNodePoolRequestScalingGroup
- func (s *CreateClusterNodePoolRequestScalingGroup) SetTags(v []*CreateClusterNodePoolRequestScalingGroupTags) *CreateClusterNodePoolRequestScalingGroup
- func (s *CreateClusterNodePoolRequestScalingGroup) SetVswitchIds(v []*string) *CreateClusterNodePoolRequestScalingGroup
- func (s CreateClusterNodePoolRequestScalingGroup) String() string
- type CreateClusterNodePoolRequestScalingGroupPrivatePoolOptions
- func (s CreateClusterNodePoolRequestScalingGroupPrivatePoolOptions) GoString() string
- func (s *CreateClusterNodePoolRequestScalingGroupPrivatePoolOptions) SetId(v string) *CreateClusterNodePoolRequestScalingGroupPrivatePoolOptions
- func (s *CreateClusterNodePoolRequestScalingGroupPrivatePoolOptions) SetMatchCriteria(v string) *CreateClusterNodePoolRequestScalingGroupPrivatePoolOptions
- func (s CreateClusterNodePoolRequestScalingGroupPrivatePoolOptions) String() string
- type CreateClusterNodePoolRequestScalingGroupSpotPriceLimit
- func (s CreateClusterNodePoolRequestScalingGroupSpotPriceLimit) GoString() string
- func (s *CreateClusterNodePoolRequestScalingGroupSpotPriceLimit) SetInstanceType(v string) *CreateClusterNodePoolRequestScalingGroupSpotPriceLimit
- func (s *CreateClusterNodePoolRequestScalingGroupSpotPriceLimit) SetPriceLimit(v string) *CreateClusterNodePoolRequestScalingGroupSpotPriceLimit
- func (s CreateClusterNodePoolRequestScalingGroupSpotPriceLimit) String() string
- type CreateClusterNodePoolRequestScalingGroupTags
- func (s CreateClusterNodePoolRequestScalingGroupTags) GoString() string
- func (s *CreateClusterNodePoolRequestScalingGroupTags) SetKey(v string) *CreateClusterNodePoolRequestScalingGroupTags
- func (s *CreateClusterNodePoolRequestScalingGroupTags) SetValue(v string) *CreateClusterNodePoolRequestScalingGroupTags
- func (s CreateClusterNodePoolRequestScalingGroupTags) String() string
- type CreateClusterNodePoolRequestTeeConfig
- type CreateClusterNodePoolResponse
- func (s CreateClusterNodePoolResponse) GoString() string
- func (s *CreateClusterNodePoolResponse) SetBody(v *CreateClusterNodePoolResponseBody) *CreateClusterNodePoolResponse
- func (s *CreateClusterNodePoolResponse) SetHeaders(v map[string]*string) *CreateClusterNodePoolResponse
- func (s *CreateClusterNodePoolResponse) SetStatusCode(v int32) *CreateClusterNodePoolResponse
- func (s CreateClusterNodePoolResponse) String() string
- type CreateClusterNodePoolResponseBody
- func (s CreateClusterNodePoolResponseBody) GoString() string
- func (s *CreateClusterNodePoolResponseBody) SetNodepoolId(v string) *CreateClusterNodePoolResponseBody
- func (s *CreateClusterNodePoolResponseBody) SetRequestId(v string) *CreateClusterNodePoolResponseBody
- func (s *CreateClusterNodePoolResponseBody) SetTaskId(v string) *CreateClusterNodePoolResponseBody
- func (s CreateClusterNodePoolResponseBody) String() string
- type CreateClusterRequest
- func (s CreateClusterRequest) GoString() string
- func (s *CreateClusterRequest) SetAccessControlList(v []*string) *CreateClusterRequest
- func (s *CreateClusterRequest) SetAddons(v []*Addon) *CreateClusterRequest
- func (s *CreateClusterRequest) SetApiAudiences(v string) *CreateClusterRequest
- func (s *CreateClusterRequest) SetAutoRenew(v bool) *CreateClusterRequest
- func (s *CreateClusterRequest) SetAutoRenewPeriod(v int64) *CreateClusterRequest
- func (s *CreateClusterRequest) SetChargeType(v string) *CreateClusterRequest
- func (s *CreateClusterRequest) SetCisEnabled(v bool) *CreateClusterRequest
- func (s *CreateClusterRequest) SetCloudMonitorFlags(v bool) *CreateClusterRequest
- func (s *CreateClusterRequest) SetClusterDomain(v string) *CreateClusterRequest
- func (s *CreateClusterRequest) SetClusterSpec(v string) *CreateClusterRequest
- func (s *CreateClusterRequest) SetClusterType(v string) *CreateClusterRequest
- func (s *CreateClusterRequest) SetContainerCidr(v string) *CreateClusterRequest
- func (s *CreateClusterRequest) SetControlPlaneConfig(v *CreateClusterRequestControlPlaneConfig) *CreateClusterRequest
- func (s *CreateClusterRequest) SetControlplaneLogComponents(v []*string) *CreateClusterRequest
- func (s *CreateClusterRequest) SetControlplaneLogProject(v string) *CreateClusterRequest
- func (s *CreateClusterRequest) SetControlplaneLogTtl(v string) *CreateClusterRequest
- func (s *CreateClusterRequest) SetCpuPolicy(v string) *CreateClusterRequest
- func (s *CreateClusterRequest) SetCustomSan(v string) *CreateClusterRequest
- func (s *CreateClusterRequest) SetDeletionProtection(v bool) *CreateClusterRequest
- func (s *CreateClusterRequest) SetDisableRollback(v bool) *CreateClusterRequest
- func (s *CreateClusterRequest) SetEnableRrsa(v bool) *CreateClusterRequest
- func (s *CreateClusterRequest) SetEncryptionProviderKey(v string) *CreateClusterRequest
- func (s *CreateClusterRequest) SetEndpointPublicAccess(v bool) *CreateClusterRequest
- func (s *CreateClusterRequest) SetFormatDisk(v bool) *CreateClusterRequest
- func (s *CreateClusterRequest) SetImageId(v string) *CreateClusterRequest
- func (s *CreateClusterRequest) SetImageType(v string) *CreateClusterRequest
- func (s *CreateClusterRequest) SetInstances(v []*string) *CreateClusterRequest
- func (s *CreateClusterRequest) SetIpStack(v string) *CreateClusterRequest
- func (s *CreateClusterRequest) SetIsEnterpriseSecurityGroup(v bool) *CreateClusterRequest
- func (s *CreateClusterRequest) SetKeepInstanceName(v bool) *CreateClusterRequest
- func (s *CreateClusterRequest) SetKeyPair(v string) *CreateClusterRequest
- func (s *CreateClusterRequest) SetKubernetesVersion(v string) *CreateClusterRequest
- func (s *CreateClusterRequest) SetLoadBalancerId(v string) *CreateClusterRequest
- func (s *CreateClusterRequest) SetLoadBalancerSpec(v string) *CreateClusterRequest
- func (s *CreateClusterRequest) SetLoggingType(v string) *CreateClusterRequest
- func (s *CreateClusterRequest) SetLoginPassword(v string) *CreateClusterRequest
- func (s *CreateClusterRequest) SetMaintenanceWindow(v *MaintenanceWindow) *CreateClusterRequest
- func (s *CreateClusterRequest) SetMasterAutoRenew(v bool) *CreateClusterRequest
- func (s *CreateClusterRequest) SetMasterAutoRenewPeriod(v int64) *CreateClusterRequest
- func (s *CreateClusterRequest) SetMasterCount(v int64) *CreateClusterRequest
- func (s *CreateClusterRequest) SetMasterInstanceChargeType(v string) *CreateClusterRequest
- func (s *CreateClusterRequest) SetMasterInstanceTypes(v []*string) *CreateClusterRequest
- func (s *CreateClusterRequest) SetMasterPeriod(v int64) *CreateClusterRequest
- func (s *CreateClusterRequest) SetMasterPeriodUnit(v string) *CreateClusterRequest
- func (s *CreateClusterRequest) SetMasterSystemDiskCategory(v string) *CreateClusterRequest
- func (s *CreateClusterRequest) SetMasterSystemDiskPerformanceLevel(v string) *CreateClusterRequest
- func (s *CreateClusterRequest) SetMasterSystemDiskSize(v int64) *CreateClusterRequest
- func (s *CreateClusterRequest) SetMasterSystemDiskSnapshotPolicyId(v string) *CreateClusterRequest
- func (s *CreateClusterRequest) SetMasterVswitchIds(v []*string) *CreateClusterRequest
- func (s *CreateClusterRequest) SetName(v string) *CreateClusterRequest
- func (s *CreateClusterRequest) SetNatGateway(v bool) *CreateClusterRequest
- func (s *CreateClusterRequest) SetNodeCidrMask(v string) *CreateClusterRequest
- func (s *CreateClusterRequest) SetNodeNameMode(v string) *CreateClusterRequest
- func (s *CreateClusterRequest) SetNodePortRange(v string) *CreateClusterRequest
- func (s *CreateClusterRequest) SetNodepools(v []*Nodepool) *CreateClusterRequest
- func (s *CreateClusterRequest) SetNumOfNodes(v int64) *CreateClusterRequest
- func (s *CreateClusterRequest) SetOperationPolicy(v *CreateClusterRequestOperationPolicy) *CreateClusterRequest
- func (s *CreateClusterRequest) SetOsType(v string) *CreateClusterRequest
- func (s *CreateClusterRequest) SetPeriod(v int64) *CreateClusterRequest
- func (s *CreateClusterRequest) SetPeriodUnit(v string) *CreateClusterRequest
- func (s *CreateClusterRequest) SetPlatform(v string) *CreateClusterRequest
- func (s *CreateClusterRequest) SetPodVswitchIds(v []*string) *CreateClusterRequest
- func (s *CreateClusterRequest) SetProfile(v string) *CreateClusterRequest
- func (s *CreateClusterRequest) SetProxyMode(v string) *CreateClusterRequest
- func (s *CreateClusterRequest) SetRdsInstances(v []*string) *CreateClusterRequest
- func (s *CreateClusterRequest) SetRegionId(v string) *CreateClusterRequest
- func (s *CreateClusterRequest) SetResourceGroupId(v string) *CreateClusterRequest
- func (s *CreateClusterRequest) SetRuntime(v *Runtime) *CreateClusterRequest
- func (s *CreateClusterRequest) SetSecurityGroupId(v string) *CreateClusterRequest
- func (s *CreateClusterRequest) SetSecurityHardeningOs(v bool) *CreateClusterRequest
- func (s *CreateClusterRequest) SetServiceAccountIssuer(v string) *CreateClusterRequest
- func (s *CreateClusterRequest) SetServiceCidr(v string) *CreateClusterRequest
- func (s *CreateClusterRequest) SetServiceDiscoveryTypes(v []*string) *CreateClusterRequest
- func (s *CreateClusterRequest) SetSnatEntry(v bool) *CreateClusterRequest
- func (s *CreateClusterRequest) SetSocEnabled(v bool) *CreateClusterRequest
- func (s *CreateClusterRequest) SetSshFlags(v bool) *CreateClusterRequest
- func (s *CreateClusterRequest) SetTags(v []*Tag) *CreateClusterRequest
- func (s *CreateClusterRequest) SetTaints(v []*Taint) *CreateClusterRequest
- func (s *CreateClusterRequest) SetTimeoutMins(v int64) *CreateClusterRequest
- func (s *CreateClusterRequest) SetTimezone(v string) *CreateClusterRequest
- func (s *CreateClusterRequest) SetUserCa(v string) *CreateClusterRequest
- func (s *CreateClusterRequest) SetUserData(v string) *CreateClusterRequest
- func (s *CreateClusterRequest) SetVpcid(v string) *CreateClusterRequest
- func (s *CreateClusterRequest) SetVswitchIds(v []*string) *CreateClusterRequest
- func (s *CreateClusterRequest) SetWorkerAutoRenew(v bool) *CreateClusterRequest
- func (s *CreateClusterRequest) SetWorkerAutoRenewPeriod(v int64) *CreateClusterRequest
- func (s *CreateClusterRequest) SetWorkerDataDisks(v []*CreateClusterRequestWorkerDataDisks) *CreateClusterRequest
- func (s *CreateClusterRequest) SetWorkerInstanceChargeType(v string) *CreateClusterRequest
- func (s *CreateClusterRequest) SetWorkerInstanceTypes(v []*string) *CreateClusterRequest
- func (s *CreateClusterRequest) SetWorkerPeriod(v int64) *CreateClusterRequest
- func (s *CreateClusterRequest) SetWorkerPeriodUnit(v string) *CreateClusterRequest
- func (s *CreateClusterRequest) SetWorkerSystemDiskCategory(v string) *CreateClusterRequest
- func (s *CreateClusterRequest) SetWorkerSystemDiskPerformanceLevel(v string) *CreateClusterRequest
- func (s *CreateClusterRequest) SetWorkerSystemDiskSize(v int64) *CreateClusterRequest
- func (s *CreateClusterRequest) SetWorkerSystemDiskSnapshotPolicyId(v string) *CreateClusterRequest
- func (s *CreateClusterRequest) SetWorkerVswitchIds(v []*string) *CreateClusterRequest
- func (s *CreateClusterRequest) SetZoneId(v string) *CreateClusterRequest
- func (s *CreateClusterRequest) SetZoneIds(v []*string) *CreateClusterRequest
- func (s CreateClusterRequest) String() string
- type CreateClusterRequestControlPlaneConfig
- func (s CreateClusterRequestControlPlaneConfig) GoString() string
- func (s *CreateClusterRequestControlPlaneConfig) SetAutoRenew(v bool) *CreateClusterRequestControlPlaneConfig
- func (s *CreateClusterRequestControlPlaneConfig) SetAutoRenewPeriod(v int64) *CreateClusterRequestControlPlaneConfig
- func (s *CreateClusterRequestControlPlaneConfig) SetChargeType(v string) *CreateClusterRequestControlPlaneConfig
- func (s *CreateClusterRequestControlPlaneConfig) SetCloudMonitorFlags(v bool) *CreateClusterRequestControlPlaneConfig
- func (s *CreateClusterRequestControlPlaneConfig) SetCpuPolicy(v string) *CreateClusterRequestControlPlaneConfig
- func (s *CreateClusterRequestControlPlaneConfig) SetDeploymentsetId(v string) *CreateClusterRequestControlPlaneConfig
- func (s *CreateClusterRequestControlPlaneConfig) SetImageId(v string) *CreateClusterRequestControlPlaneConfig
- func (s *CreateClusterRequestControlPlaneConfig) SetImageType(v string) *CreateClusterRequestControlPlaneConfig
- func (s *CreateClusterRequestControlPlaneConfig) SetInstanceTypes(v []*string) *CreateClusterRequestControlPlaneConfig
- func (s *CreateClusterRequestControlPlaneConfig) SetKeyPair(v string) *CreateClusterRequestControlPlaneConfig
- func (s *CreateClusterRequestControlPlaneConfig) SetLoginPassword(v string) *CreateClusterRequestControlPlaneConfig
- func (s *CreateClusterRequestControlPlaneConfig) SetNodePortRange(v string) *CreateClusterRequestControlPlaneConfig
- func (s *CreateClusterRequestControlPlaneConfig) SetPeriod(v int64) *CreateClusterRequestControlPlaneConfig
- func (s *CreateClusterRequestControlPlaneConfig) SetPeriodUnit(v string) *CreateClusterRequestControlPlaneConfig
- func (s *CreateClusterRequestControlPlaneConfig) SetRuntime(v string) *CreateClusterRequestControlPlaneConfig
- func (s *CreateClusterRequestControlPlaneConfig) SetSecurityHardeningOs(v bool) *CreateClusterRequestControlPlaneConfig
- func (s *CreateClusterRequestControlPlaneConfig) SetSize(v int64) *CreateClusterRequestControlPlaneConfig
- func (s *CreateClusterRequestControlPlaneConfig) SetSocEnabled(v bool) *CreateClusterRequestControlPlaneConfig
- func (s *CreateClusterRequestControlPlaneConfig) SetSystemDiskBurstingEnabled(v bool) *CreateClusterRequestControlPlaneConfig
- func (s *CreateClusterRequestControlPlaneConfig) SetSystemDiskCategory(v string) *CreateClusterRequestControlPlaneConfig
- func (s *CreateClusterRequestControlPlaneConfig) SetSystemDiskPerformanceLevel(v string) *CreateClusterRequestControlPlaneConfig
- func (s *CreateClusterRequestControlPlaneConfig) SetSystemDiskProvisionedIops(v int64) *CreateClusterRequestControlPlaneConfig
- func (s *CreateClusterRequestControlPlaneConfig) SetSystemDiskSize(v int64) *CreateClusterRequestControlPlaneConfig
- func (s *CreateClusterRequestControlPlaneConfig) SetSystemDiskSnapshotPolicyId(v string) *CreateClusterRequestControlPlaneConfig
- func (s CreateClusterRequestControlPlaneConfig) String() string
- type CreateClusterRequestOperationPolicy
- type CreateClusterRequestOperationPolicyClusterAutoUpgrade
- func (s CreateClusterRequestOperationPolicyClusterAutoUpgrade) GoString() string
- func (s *CreateClusterRequestOperationPolicyClusterAutoUpgrade) SetChannel(v string) *CreateClusterRequestOperationPolicyClusterAutoUpgrade
- func (s *CreateClusterRequestOperationPolicyClusterAutoUpgrade) SetEnabled(v bool) *CreateClusterRequestOperationPolicyClusterAutoUpgrade
- func (s CreateClusterRequestOperationPolicyClusterAutoUpgrade) String() string
- type CreateClusterRequestWorkerDataDisks
- func (s CreateClusterRequestWorkerDataDisks) GoString() string
- func (s *CreateClusterRequestWorkerDataDisks) SetCategory(v string) *CreateClusterRequestWorkerDataDisks
- func (s *CreateClusterRequestWorkerDataDisks) SetEncrypted(v string) *CreateClusterRequestWorkerDataDisks
- func (s *CreateClusterRequestWorkerDataDisks) SetPerformanceLevel(v string) *CreateClusterRequestWorkerDataDisks
- func (s *CreateClusterRequestWorkerDataDisks) SetSize(v string) *CreateClusterRequestWorkerDataDisks
- func (s CreateClusterRequestWorkerDataDisks) String() string
- type CreateClusterResponse
- func (s CreateClusterResponse) GoString() string
- func (s *CreateClusterResponse) SetBody(v *CreateClusterResponseBody) *CreateClusterResponse
- func (s *CreateClusterResponse) SetHeaders(v map[string]*string) *CreateClusterResponse
- func (s *CreateClusterResponse) SetStatusCode(v int32) *CreateClusterResponse
- func (s CreateClusterResponse) String() string
- type CreateClusterResponseBody
- func (s CreateClusterResponseBody) GoString() string
- func (s *CreateClusterResponseBody) SetClusterId(v string) *CreateClusterResponseBody
- func (s *CreateClusterResponseBody) SetRequestId(v string) *CreateClusterResponseBody
- func (s *CreateClusterResponseBody) SetTaskId(v string) *CreateClusterResponseBody
- func (s CreateClusterResponseBody) String() string
- type CreateEdgeMachineRequest
- func (s CreateEdgeMachineRequest) GoString() string
- func (s *CreateEdgeMachineRequest) SetHostname(v string) *CreateEdgeMachineRequest
- func (s *CreateEdgeMachineRequest) SetModel(v string) *CreateEdgeMachineRequest
- func (s *CreateEdgeMachineRequest) SetSn(v string) *CreateEdgeMachineRequest
- func (s CreateEdgeMachineRequest) String() string
- type CreateEdgeMachineResponse
- func (s CreateEdgeMachineResponse) GoString() string
- func (s *CreateEdgeMachineResponse) SetBody(v *CreateEdgeMachineResponseBody) *CreateEdgeMachineResponse
- func (s *CreateEdgeMachineResponse) SetHeaders(v map[string]*string) *CreateEdgeMachineResponse
- func (s *CreateEdgeMachineResponse) SetStatusCode(v int32) *CreateEdgeMachineResponse
- func (s CreateEdgeMachineResponse) String() string
- type CreateEdgeMachineResponseBody
- func (s CreateEdgeMachineResponseBody) GoString() string
- func (s *CreateEdgeMachineResponseBody) SetEdgeMachineId(v string) *CreateEdgeMachineResponseBody
- func (s *CreateEdgeMachineResponseBody) SetRequestId(v string) *CreateEdgeMachineResponseBody
- func (s CreateEdgeMachineResponseBody) String() string
- type CreateKubernetesTriggerRequest
- func (s CreateKubernetesTriggerRequest) GoString() string
- func (s *CreateKubernetesTriggerRequest) SetAction(v string) *CreateKubernetesTriggerRequest
- func (s *CreateKubernetesTriggerRequest) SetClusterId(v string) *CreateKubernetesTriggerRequest
- func (s *CreateKubernetesTriggerRequest) SetProjectId(v string) *CreateKubernetesTriggerRequest
- func (s *CreateKubernetesTriggerRequest) SetType(v string) *CreateKubernetesTriggerRequest
- func (s CreateKubernetesTriggerRequest) String() string
- type CreateKubernetesTriggerResponse
- func (s CreateKubernetesTriggerResponse) GoString() string
- func (s *CreateKubernetesTriggerResponse) SetBody(v *CreateKubernetesTriggerResponseBody) *CreateKubernetesTriggerResponse
- func (s *CreateKubernetesTriggerResponse) SetHeaders(v map[string]*string) *CreateKubernetesTriggerResponse
- func (s *CreateKubernetesTriggerResponse) SetStatusCode(v int32) *CreateKubernetesTriggerResponse
- func (s CreateKubernetesTriggerResponse) String() string
- type CreateKubernetesTriggerResponseBody
- func (s CreateKubernetesTriggerResponseBody) GoString() string
- func (s *CreateKubernetesTriggerResponseBody) SetAction(v string) *CreateKubernetesTriggerResponseBody
- func (s *CreateKubernetesTriggerResponseBody) SetClusterId(v string) *CreateKubernetesTriggerResponseBody
- func (s *CreateKubernetesTriggerResponseBody) SetId(v string) *CreateKubernetesTriggerResponseBody
- func (s *CreateKubernetesTriggerResponseBody) SetProjectId(v string) *CreateKubernetesTriggerResponseBody
- func (s *CreateKubernetesTriggerResponseBody) SetType(v string) *CreateKubernetesTriggerResponseBody
- func (s CreateKubernetesTriggerResponseBody) String() string
- type CreateTemplateRequest
- func (s CreateTemplateRequest) GoString() string
- func (s *CreateTemplateRequest) SetDescription(v string) *CreateTemplateRequest
- func (s *CreateTemplateRequest) SetName(v string) *CreateTemplateRequest
- func (s *CreateTemplateRequest) SetTags(v string) *CreateTemplateRequest
- func (s *CreateTemplateRequest) SetTemplate(v string) *CreateTemplateRequest
- func (s *CreateTemplateRequest) SetTemplateType(v string) *CreateTemplateRequest
- func (s CreateTemplateRequest) String() string
- type CreateTemplateResponse
- func (s CreateTemplateResponse) GoString() string
- func (s *CreateTemplateResponse) SetBody(v *CreateTemplateResponseBody) *CreateTemplateResponse
- func (s *CreateTemplateResponse) SetHeaders(v map[string]*string) *CreateTemplateResponse
- func (s *CreateTemplateResponse) SetStatusCode(v int32) *CreateTemplateResponse
- func (s CreateTemplateResponse) String() string
- type CreateTemplateResponseBody
- type CreateTriggerRequest
- func (s CreateTriggerRequest) GoString() string
- func (s *CreateTriggerRequest) SetAction(v string) *CreateTriggerRequest
- func (s *CreateTriggerRequest) SetClusterId(v string) *CreateTriggerRequest
- func (s *CreateTriggerRequest) SetProjectId(v string) *CreateTriggerRequest
- func (s *CreateTriggerRequest) SetType(v string) *CreateTriggerRequest
- func (s CreateTriggerRequest) String() string
- type CreateTriggerResponse
- func (s CreateTriggerResponse) GoString() string
- func (s *CreateTriggerResponse) SetBody(v *CreateTriggerResponseBody) *CreateTriggerResponse
- func (s *CreateTriggerResponse) SetHeaders(v map[string]*string) *CreateTriggerResponse
- func (s *CreateTriggerResponse) SetStatusCode(v int32) *CreateTriggerResponse
- func (s CreateTriggerResponse) String() string
- type CreateTriggerResponseBody
- func (s CreateTriggerResponseBody) GoString() string
- func (s *CreateTriggerResponseBody) SetAction(v string) *CreateTriggerResponseBody
- func (s *CreateTriggerResponseBody) SetClusterId(v string) *CreateTriggerResponseBody
- func (s *CreateTriggerResponseBody) SetId(v string) *CreateTriggerResponseBody
- func (s *CreateTriggerResponseBody) SetProjectId(v string) *CreateTriggerResponseBody
- func (s *CreateTriggerResponseBody) SetType(v string) *CreateTriggerResponseBody
- func (s CreateTriggerResponseBody) String() string
- type DataDisk
- func (s DataDisk) GoString() string
- func (s *DataDisk) SetAutoFormat(v bool) *DataDisk
- func (s *DataDisk) SetAutoSnapshotPolicyId(v string) *DataDisk
- func (s *DataDisk) SetBurstingEnabled(v bool) *DataDisk
- func (s *DataDisk) SetCategory(v string) *DataDisk
- func (s *DataDisk) SetDevice(v string) *DataDisk
- func (s *DataDisk) SetDiskName(v string) *DataDisk
- func (s *DataDisk) SetEncrypted(v string) *DataDisk
- func (s *DataDisk) SetFileSystem(v string) *DataDisk
- func (s *DataDisk) SetKmsKeyId(v string) *DataDisk
- func (s *DataDisk) SetMountTarget(v string) *DataDisk
- func (s *DataDisk) SetPerformanceLevel(v string) *DataDisk
- func (s *DataDisk) SetProvisionedIops(v int64) *DataDisk
- func (s *DataDisk) SetSize(v int64) *DataDisk
- func (s *DataDisk) SetSnapshotId(v string) *DataDisk
- func (s DataDisk) String() string
- type DeleteAlertContactGroupRequest
- type DeleteAlertContactGroupResponse
- func (s DeleteAlertContactGroupResponse) GoString() string
- func (s *DeleteAlertContactGroupResponse) SetBody(v []*DeleteAlertContactGroupResponseBody) *DeleteAlertContactGroupResponse
- func (s *DeleteAlertContactGroupResponse) SetHeaders(v map[string]*string) *DeleteAlertContactGroupResponse
- func (s *DeleteAlertContactGroupResponse) SetStatusCode(v int32) *DeleteAlertContactGroupResponse
- func (s DeleteAlertContactGroupResponse) String() string
- type DeleteAlertContactGroupResponseBody
- func (s DeleteAlertContactGroupResponseBody) GoString() string
- func (s *DeleteAlertContactGroupResponseBody) SetContactGroupId(v string) *DeleteAlertContactGroupResponseBody
- func (s *DeleteAlertContactGroupResponseBody) SetMsg(v string) *DeleteAlertContactGroupResponseBody
- func (s *DeleteAlertContactGroupResponseBody) SetStatus(v bool) *DeleteAlertContactGroupResponseBody
- func (s DeleteAlertContactGroupResponseBody) String() string
- type DeleteAlertContactGroupShrinkRequest
- type DeleteAlertContactRequest
- type DeleteAlertContactResponse
- func (s DeleteAlertContactResponse) GoString() string
- func (s *DeleteAlertContactResponse) SetBody(v *DeleteAlertContactResponseBody) *DeleteAlertContactResponse
- func (s *DeleteAlertContactResponse) SetHeaders(v map[string]*string) *DeleteAlertContactResponse
- func (s *DeleteAlertContactResponse) SetStatusCode(v int32) *DeleteAlertContactResponse
- func (s DeleteAlertContactResponse) String() string
- type DeleteAlertContactResponseBody
- type DeleteAlertContactResponseBodyResult
- func (s DeleteAlertContactResponseBodyResult) GoString() string
- func (s *DeleteAlertContactResponseBodyResult) SetContactId(v string) *DeleteAlertContactResponseBodyResult
- func (s *DeleteAlertContactResponseBodyResult) SetMsg(v string) *DeleteAlertContactResponseBodyResult
- func (s *DeleteAlertContactResponseBodyResult) SetStatus(v bool) *DeleteAlertContactResponseBodyResult
- func (s DeleteAlertContactResponseBodyResult) String() string
- type DeleteAlertContactShrinkRequest
- type DeleteClusterNodepoolRequest
- type DeleteClusterNodepoolResponse
- func (s DeleteClusterNodepoolResponse) GoString() string
- func (s *DeleteClusterNodepoolResponse) SetBody(v *DeleteClusterNodepoolResponseBody) *DeleteClusterNodepoolResponse
- func (s *DeleteClusterNodepoolResponse) SetHeaders(v map[string]*string) *DeleteClusterNodepoolResponse
- func (s *DeleteClusterNodepoolResponse) SetStatusCode(v int32) *DeleteClusterNodepoolResponse
- func (s DeleteClusterNodepoolResponse) String() string
- type DeleteClusterNodepoolResponseBody
- func (s DeleteClusterNodepoolResponseBody) GoString() string
- func (s *DeleteClusterNodepoolResponseBody) SetRequestId(v string) *DeleteClusterNodepoolResponseBody
- func (s *DeleteClusterNodepoolResponseBody) SetTaskId(v string) *DeleteClusterNodepoolResponseBody
- func (s DeleteClusterNodepoolResponseBody) String() string
- type DeleteClusterNodesRequest
- func (s DeleteClusterNodesRequest) GoString() string
- func (s *DeleteClusterNodesRequest) SetDrainNode(v bool) *DeleteClusterNodesRequest
- func (s *DeleteClusterNodesRequest) SetNodes(v []*string) *DeleteClusterNodesRequest
- func (s *DeleteClusterNodesRequest) SetReleaseNode(v bool) *DeleteClusterNodesRequest
- func (s DeleteClusterNodesRequest) String() string
- type DeleteClusterNodesResponse
- func (s DeleteClusterNodesResponse) GoString() string
- func (s *DeleteClusterNodesResponse) SetBody(v *DeleteClusterNodesResponseBody) *DeleteClusterNodesResponse
- func (s *DeleteClusterNodesResponse) SetHeaders(v map[string]*string) *DeleteClusterNodesResponse
- func (s *DeleteClusterNodesResponse) SetStatusCode(v int32) *DeleteClusterNodesResponse
- func (s DeleteClusterNodesResponse) String() string
- type DeleteClusterNodesResponseBody
- func (s DeleteClusterNodesResponseBody) GoString() string
- func (s *DeleteClusterNodesResponseBody) SetClusterId(v string) *DeleteClusterNodesResponseBody
- func (s *DeleteClusterNodesResponseBody) SetRequestId(v string) *DeleteClusterNodesResponseBody
- func (s *DeleteClusterNodesResponseBody) SetTaskId(v string) *DeleteClusterNodesResponseBody
- func (s DeleteClusterNodesResponseBody) String() string
- type DeleteClusterRequest
- func (s DeleteClusterRequest) GoString() string
- func (s *DeleteClusterRequest) SetDeleteOptions(v []*DeleteClusterRequestDeleteOptions) *DeleteClusterRequest
- func (s *DeleteClusterRequest) SetKeepSlb(v bool) *DeleteClusterRequest
- func (s *DeleteClusterRequest) SetRetainAllResources(v bool) *DeleteClusterRequest
- func (s *DeleteClusterRequest) SetRetainResources(v []*string) *DeleteClusterRequest
- func (s DeleteClusterRequest) String() string
- type DeleteClusterRequestDeleteOptions
- func (s DeleteClusterRequestDeleteOptions) GoString() string
- func (s *DeleteClusterRequestDeleteOptions) SetDeleteMode(v string) *DeleteClusterRequestDeleteOptions
- func (s *DeleteClusterRequestDeleteOptions) SetResourceType(v string) *DeleteClusterRequestDeleteOptions
- func (s DeleteClusterRequestDeleteOptions) String() string
- type DeleteClusterResponse
- func (s DeleteClusterResponse) GoString() string
- func (s *DeleteClusterResponse) SetBody(v *DeleteClusterResponseBody) *DeleteClusterResponse
- func (s *DeleteClusterResponse) SetHeaders(v map[string]*string) *DeleteClusterResponse
- func (s *DeleteClusterResponse) SetStatusCode(v int32) *DeleteClusterResponse
- func (s DeleteClusterResponse) String() string
- type DeleteClusterResponseBody
- func (s DeleteClusterResponseBody) GoString() string
- func (s *DeleteClusterResponseBody) SetClusterId(v string) *DeleteClusterResponseBody
- func (s *DeleteClusterResponseBody) SetRequestId(v string) *DeleteClusterResponseBody
- func (s *DeleteClusterResponseBody) SetTaskId(v string) *DeleteClusterResponseBody
- func (s DeleteClusterResponseBody) String() string
- type DeleteClusterShrinkRequest
- func (s DeleteClusterShrinkRequest) GoString() string
- func (s *DeleteClusterShrinkRequest) SetDeleteOptionsShrink(v string) *DeleteClusterShrinkRequest
- func (s *DeleteClusterShrinkRequest) SetKeepSlb(v bool) *DeleteClusterShrinkRequest
- func (s *DeleteClusterShrinkRequest) SetRetainAllResources(v bool) *DeleteClusterShrinkRequest
- func (s *DeleteClusterShrinkRequest) SetRetainResourcesShrink(v string) *DeleteClusterShrinkRequest
- func (s DeleteClusterShrinkRequest) String() string
- type DeleteEdgeMachineRequest
- type DeleteEdgeMachineResponse
- type DeleteKubernetesTriggerResponse
- func (s DeleteKubernetesTriggerResponse) GoString() string
- func (s *DeleteKubernetesTriggerResponse) SetHeaders(v map[string]*string) *DeleteKubernetesTriggerResponse
- func (s *DeleteKubernetesTriggerResponse) SetStatusCode(v int32) *DeleteKubernetesTriggerResponse
- func (s DeleteKubernetesTriggerResponse) String() string
- type DeletePolicyInstanceRequest
- type DeletePolicyInstanceResponse
- func (s DeletePolicyInstanceResponse) GoString() string
- func (s *DeletePolicyInstanceResponse) SetBody(v *DeletePolicyInstanceResponseBody) *DeletePolicyInstanceResponse
- func (s *DeletePolicyInstanceResponse) SetHeaders(v map[string]*string) *DeletePolicyInstanceResponse
- func (s *DeletePolicyInstanceResponse) SetStatusCode(v int32) *DeletePolicyInstanceResponse
- func (s DeletePolicyInstanceResponse) String() string
- type DeletePolicyInstanceResponseBody
- type DeleteTemplateResponse
- type DeleteTriggerResponse
- type DeployPolicyInstanceRequest
- func (s DeployPolicyInstanceRequest) GoString() string
- func (s *DeployPolicyInstanceRequest) SetAction(v string) *DeployPolicyInstanceRequest
- func (s *DeployPolicyInstanceRequest) SetNamespaces(v []*string) *DeployPolicyInstanceRequest
- func (s *DeployPolicyInstanceRequest) SetParameters(v map[string]interface{}) *DeployPolicyInstanceRequest
- func (s DeployPolicyInstanceRequest) String() string
- type DeployPolicyInstanceResponse
- func (s DeployPolicyInstanceResponse) GoString() string
- func (s *DeployPolicyInstanceResponse) SetBody(v *DeployPolicyInstanceResponseBody) *DeployPolicyInstanceResponse
- func (s *DeployPolicyInstanceResponse) SetHeaders(v map[string]*string) *DeployPolicyInstanceResponse
- func (s *DeployPolicyInstanceResponse) SetStatusCode(v int32) *DeployPolicyInstanceResponse
- func (s DeployPolicyInstanceResponse) String() string
- type DeployPolicyInstanceResponseBody
- type DescribeAddonRequest
- func (s DescribeAddonRequest) GoString() string
- func (s *DescribeAddonRequest) SetClusterId(v string) *DescribeAddonRequest
- func (s *DescribeAddonRequest) SetClusterSpec(v string) *DescribeAddonRequest
- func (s *DescribeAddonRequest) SetClusterType(v string) *DescribeAddonRequest
- func (s *DescribeAddonRequest) SetClusterVersion(v string) *DescribeAddonRequest
- func (s *DescribeAddonRequest) SetProfile(v string) *DescribeAddonRequest
- func (s *DescribeAddonRequest) SetRegionId(v string) *DescribeAddonRequest
- func (s *DescribeAddonRequest) SetVersion(v string) *DescribeAddonRequest
- func (s DescribeAddonRequest) String() string
- type DescribeAddonResponse
- func (s DescribeAddonResponse) GoString() string
- func (s *DescribeAddonResponse) SetBody(v *DescribeAddonResponseBody) *DescribeAddonResponse
- func (s *DescribeAddonResponse) SetHeaders(v map[string]*string) *DescribeAddonResponse
- func (s *DescribeAddonResponse) SetStatusCode(v int32) *DescribeAddonResponse
- func (s DescribeAddonResponse) String() string
- type DescribeAddonResponseBody
- func (s DescribeAddonResponseBody) GoString() string
- func (s *DescribeAddonResponseBody) SetArchitecture(v []*string) *DescribeAddonResponseBody
- func (s *DescribeAddonResponseBody) SetCategory(v string) *DescribeAddonResponseBody
- func (s *DescribeAddonResponseBody) SetConfigSchema(v string) *DescribeAddonResponseBody
- func (s *DescribeAddonResponseBody) SetInstallByDefault(v bool) *DescribeAddonResponseBody
- func (s *DescribeAddonResponseBody) SetManaged(v bool) *DescribeAddonResponseBody
- func (s *DescribeAddonResponseBody) SetName(v string) *DescribeAddonResponseBody
- func (s *DescribeAddonResponseBody) SetNewerVersions(v []*DescribeAddonResponseBodyNewerVersions) *DescribeAddonResponseBody
- func (s *DescribeAddonResponseBody) SetSupportedActions(v []*string) *DescribeAddonResponseBody
- func (s *DescribeAddonResponseBody) SetVersion(v string) *DescribeAddonResponseBody
- func (s DescribeAddonResponseBody) String() string
- type DescribeAddonResponseBodyNewerVersions
- func (s DescribeAddonResponseBodyNewerVersions) GoString() string
- func (s *DescribeAddonResponseBodyNewerVersions) SetMinimumClusterVersion(v string) *DescribeAddonResponseBodyNewerVersions
- func (s *DescribeAddonResponseBodyNewerVersions) SetUpgradable(v bool) *DescribeAddonResponseBodyNewerVersions
- func (s *DescribeAddonResponseBodyNewerVersions) SetVersion(v string) *DescribeAddonResponseBodyNewerVersions
- func (s DescribeAddonResponseBodyNewerVersions) String() string
- type DescribeAddonsRequest
- func (s DescribeAddonsRequest) GoString() string
- func (s *DescribeAddonsRequest) SetClusterProfile(v string) *DescribeAddonsRequest
- func (s *DescribeAddonsRequest) SetClusterSpec(v string) *DescribeAddonsRequest
- func (s *DescribeAddonsRequest) SetClusterType(v string) *DescribeAddonsRequest
- func (s *DescribeAddonsRequest) SetClusterVersion(v string) *DescribeAddonsRequest
- func (s *DescribeAddonsRequest) SetRegion(v string) *DescribeAddonsRequest
- func (s DescribeAddonsRequest) String() string
- type DescribeAddonsResponse
- func (s DescribeAddonsResponse) GoString() string
- func (s *DescribeAddonsResponse) SetBody(v *DescribeAddonsResponseBody) *DescribeAddonsResponse
- func (s *DescribeAddonsResponse) SetHeaders(v map[string]*string) *DescribeAddonsResponse
- func (s *DescribeAddonsResponse) SetStatusCode(v int32) *DescribeAddonsResponse
- func (s DescribeAddonsResponse) String() string
- type DescribeAddonsResponseBody
- func (s DescribeAddonsResponseBody) GoString() string
- func (s *DescribeAddonsResponseBody) SetComponentGroups(v []*DescribeAddonsResponseBodyComponentGroups) *DescribeAddonsResponseBody
- func (s *DescribeAddonsResponseBody) SetStandardComponents(v map[string]*StandardComponentsValue) *DescribeAddonsResponseBody
- func (s DescribeAddonsResponseBody) String() string
- type DescribeAddonsResponseBodyComponentGroups
- func (s DescribeAddonsResponseBodyComponentGroups) GoString() string
- func (s *DescribeAddonsResponseBodyComponentGroups) SetGroupName(v string) *DescribeAddonsResponseBodyComponentGroups
- func (s *DescribeAddonsResponseBodyComponentGroups) SetItems(v []*DescribeAddonsResponseBodyComponentGroupsItems) *DescribeAddonsResponseBodyComponentGroups
- func (s DescribeAddonsResponseBodyComponentGroups) String() string
- type DescribeAddonsResponseBodyComponentGroupsItems
- type DescribeClusterAddonInstanceResponse
- func (s DescribeClusterAddonInstanceResponse) GoString() string
- func (s *DescribeClusterAddonInstanceResponse) SetBody(v *DescribeClusterAddonInstanceResponseBody) *DescribeClusterAddonInstanceResponse
- func (s *DescribeClusterAddonInstanceResponse) SetHeaders(v map[string]*string) *DescribeClusterAddonInstanceResponse
- func (s *DescribeClusterAddonInstanceResponse) SetStatusCode(v int32) *DescribeClusterAddonInstanceResponse
- func (s DescribeClusterAddonInstanceResponse) String() string
- type DescribeClusterAddonInstanceResponseBody
- func (s DescribeClusterAddonInstanceResponseBody) GoString() string
- func (s *DescribeClusterAddonInstanceResponseBody) SetConfig(v string) *DescribeClusterAddonInstanceResponseBody
- func (s *DescribeClusterAddonInstanceResponseBody) SetName(v string) *DescribeClusterAddonInstanceResponseBody
- func (s *DescribeClusterAddonInstanceResponseBody) SetState(v string) *DescribeClusterAddonInstanceResponseBody
- func (s *DescribeClusterAddonInstanceResponseBody) SetVersion(v string) *DescribeClusterAddonInstanceResponseBody
- func (s DescribeClusterAddonInstanceResponseBody) String() string
- type DescribeClusterAddonMetadataRequest
- type DescribeClusterAddonMetadataResponse
- func (s DescribeClusterAddonMetadataResponse) GoString() string
- func (s *DescribeClusterAddonMetadataResponse) SetBody(v *DescribeClusterAddonMetadataResponseBody) *DescribeClusterAddonMetadataResponse
- func (s *DescribeClusterAddonMetadataResponse) SetHeaders(v map[string]*string) *DescribeClusterAddonMetadataResponse
- func (s *DescribeClusterAddonMetadataResponse) SetStatusCode(v int32) *DescribeClusterAddonMetadataResponse
- func (s DescribeClusterAddonMetadataResponse) String() string
- type DescribeClusterAddonMetadataResponseBody
- func (s DescribeClusterAddonMetadataResponseBody) GoString() string
- func (s *DescribeClusterAddonMetadataResponseBody) SetConfigSchema(v string) *DescribeClusterAddonMetadataResponseBody
- func (s *DescribeClusterAddonMetadataResponseBody) SetName(v string) *DescribeClusterAddonMetadataResponseBody
- func (s *DescribeClusterAddonMetadataResponseBody) SetVersion(v string) *DescribeClusterAddonMetadataResponseBody
- func (s DescribeClusterAddonMetadataResponseBody) String() string
- type DescribeClusterAddonUpgradeStatusResponse
- func (s DescribeClusterAddonUpgradeStatusResponse) GoString() string
- func (s *DescribeClusterAddonUpgradeStatusResponse) SetBody(v map[string]interface{}) *DescribeClusterAddonUpgradeStatusResponse
- func (s *DescribeClusterAddonUpgradeStatusResponse) SetHeaders(v map[string]*string) *DescribeClusterAddonUpgradeStatusResponse
- func (s *DescribeClusterAddonUpgradeStatusResponse) SetStatusCode(v int32) *DescribeClusterAddonUpgradeStatusResponse
- func (s DescribeClusterAddonUpgradeStatusResponse) String() string
- type DescribeClusterAddonsUpgradeStatusRequest
- type DescribeClusterAddonsUpgradeStatusResponse
- func (s DescribeClusterAddonsUpgradeStatusResponse) GoString() string
- func (s *DescribeClusterAddonsUpgradeStatusResponse) SetBody(v map[string]interface{}) *DescribeClusterAddonsUpgradeStatusResponse
- func (s *DescribeClusterAddonsUpgradeStatusResponse) SetHeaders(v map[string]*string) *DescribeClusterAddonsUpgradeStatusResponse
- func (s *DescribeClusterAddonsUpgradeStatusResponse) SetStatusCode(v int32) *DescribeClusterAddonsUpgradeStatusResponse
- func (s DescribeClusterAddonsUpgradeStatusResponse) String() string
- type DescribeClusterAddonsUpgradeStatusShrinkRequest
- type DescribeClusterAddonsVersionResponse
- func (s DescribeClusterAddonsVersionResponse) GoString() string
- func (s *DescribeClusterAddonsVersionResponse) SetBody(v map[string]interface{}) *DescribeClusterAddonsVersionResponse
- func (s *DescribeClusterAddonsVersionResponse) SetHeaders(v map[string]*string) *DescribeClusterAddonsVersionResponse
- func (s *DescribeClusterAddonsVersionResponse) SetStatusCode(v int32) *DescribeClusterAddonsVersionResponse
- func (s DescribeClusterAddonsVersionResponse) String() string
- type DescribeClusterAttachScriptsRequest
- func (s DescribeClusterAttachScriptsRequest) GoString() string
- func (s *DescribeClusterAttachScriptsRequest) SetArch(v string) *DescribeClusterAttachScriptsRequest
- func (s *DescribeClusterAttachScriptsRequest) SetExpired(v int64) *DescribeClusterAttachScriptsRequest
- func (s *DescribeClusterAttachScriptsRequest) SetFormatDisk(v bool) *DescribeClusterAttachScriptsRequest
- func (s *DescribeClusterAttachScriptsRequest) SetKeepInstanceName(v bool) *DescribeClusterAttachScriptsRequest
- func (s *DescribeClusterAttachScriptsRequest) SetNodepoolId(v string) *DescribeClusterAttachScriptsRequest
- func (s *DescribeClusterAttachScriptsRequest) SetOptions(v string) *DescribeClusterAttachScriptsRequest
- func (s *DescribeClusterAttachScriptsRequest) SetRdsInstances(v []*string) *DescribeClusterAttachScriptsRequest
- func (s DescribeClusterAttachScriptsRequest) String() string
- type DescribeClusterAttachScriptsResponse
- func (s DescribeClusterAttachScriptsResponse) GoString() string
- func (s *DescribeClusterAttachScriptsResponse) SetBody(v string) *DescribeClusterAttachScriptsResponse
- func (s *DescribeClusterAttachScriptsResponse) SetHeaders(v map[string]*string) *DescribeClusterAttachScriptsResponse
- func (s *DescribeClusterAttachScriptsResponse) SetStatusCode(v int32) *DescribeClusterAttachScriptsResponse
- func (s DescribeClusterAttachScriptsResponse) String() string
- type DescribeClusterDetailResponse
- func (s DescribeClusterDetailResponse) GoString() string
- func (s *DescribeClusterDetailResponse) SetBody(v *DescribeClusterDetailResponseBody) *DescribeClusterDetailResponse
- func (s *DescribeClusterDetailResponse) SetHeaders(v map[string]*string) *DescribeClusterDetailResponse
- func (s *DescribeClusterDetailResponse) SetStatusCode(v int32) *DescribeClusterDetailResponse
- func (s DescribeClusterDetailResponse) String() string
- type DescribeClusterDetailResponseBody
- func (s DescribeClusterDetailResponseBody) GoString() string
- func (s *DescribeClusterDetailResponseBody) SetClusterDomain(v string) *DescribeClusterDetailResponseBody
- func (s *DescribeClusterDetailResponseBody) SetClusterId(v string) *DescribeClusterDetailResponseBody
- func (s *DescribeClusterDetailResponseBody) SetClusterSpec(v string) *DescribeClusterDetailResponseBody
- func (s *DescribeClusterDetailResponseBody) SetClusterType(v string) *DescribeClusterDetailResponseBody
- func (s *DescribeClusterDetailResponseBody) SetContainerCidr(v string) *DescribeClusterDetailResponseBody
- func (s *DescribeClusterDetailResponseBody) SetControlPlaneConfig(v *DescribeClusterDetailResponseBodyControlPlaneConfig) *DescribeClusterDetailResponseBody
- func (s *DescribeClusterDetailResponseBody) SetCreated(v string) *DescribeClusterDetailResponseBody
- func (s *DescribeClusterDetailResponseBody) SetCurrentVersion(v string) *DescribeClusterDetailResponseBody
- func (s *DescribeClusterDetailResponseBody) SetDeletionProtection(v bool) *DescribeClusterDetailResponseBody
- func (s *DescribeClusterDetailResponseBody) SetDockerVersion(v string) *DescribeClusterDetailResponseBody
- func (s *DescribeClusterDetailResponseBody) SetExternalLoadbalancerId(v string) *DescribeClusterDetailResponseBody
- func (s *DescribeClusterDetailResponseBody) SetInitVersion(v string) *DescribeClusterDetailResponseBody
- func (s *DescribeClusterDetailResponseBody) SetIpStack(v string) *DescribeClusterDetailResponseBody
- func (s *DescribeClusterDetailResponseBody) SetMaintenanceWindow(v *MaintenanceWindow) *DescribeClusterDetailResponseBody
- func (s *DescribeClusterDetailResponseBody) SetMasterUrl(v string) *DescribeClusterDetailResponseBody
- func (s *DescribeClusterDetailResponseBody) SetMetaData(v string) *DescribeClusterDetailResponseBody
- func (s *DescribeClusterDetailResponseBody) SetName(v string) *DescribeClusterDetailResponseBody
- func (s *DescribeClusterDetailResponseBody) SetNetworkMode(v string) *DescribeClusterDetailResponseBody
- func (s *DescribeClusterDetailResponseBody) SetNextVersion(v string) *DescribeClusterDetailResponseBody
- func (s *DescribeClusterDetailResponseBody) SetNodeCidrMask(v string) *DescribeClusterDetailResponseBody
- func (s *DescribeClusterDetailResponseBody) SetOperationPolicy(v *DescribeClusterDetailResponseBodyOperationPolicy) *DescribeClusterDetailResponseBody
- func (s *DescribeClusterDetailResponseBody) SetParameters(v map[string]*string) *DescribeClusterDetailResponseBody
- func (s *DescribeClusterDetailResponseBody) SetPrivateZone(v bool) *DescribeClusterDetailResponseBody
- func (s *DescribeClusterDetailResponseBody) SetProfile(v string) *DescribeClusterDetailResponseBody
- func (s *DescribeClusterDetailResponseBody) SetProxyMode(v string) *DescribeClusterDetailResponseBody
- func (s *DescribeClusterDetailResponseBody) SetRegionId(v string) *DescribeClusterDetailResponseBody
- func (s *DescribeClusterDetailResponseBody) SetResourceGroupId(v string) *DescribeClusterDetailResponseBody
- func (s *DescribeClusterDetailResponseBody) SetSecurityGroupId(v string) *DescribeClusterDetailResponseBody
- func (s *DescribeClusterDetailResponseBody) SetServiceCidr(v string) *DescribeClusterDetailResponseBody
- func (s *DescribeClusterDetailResponseBody) SetSize(v int64) *DescribeClusterDetailResponseBody
- func (s *DescribeClusterDetailResponseBody) SetState(v string) *DescribeClusterDetailResponseBody
- func (s *DescribeClusterDetailResponseBody) SetSubnetCidr(v string) *DescribeClusterDetailResponseBody
- func (s *DescribeClusterDetailResponseBody) SetTags(v []*Tag) *DescribeClusterDetailResponseBody
- func (s *DescribeClusterDetailResponseBody) SetTimezone(v string) *DescribeClusterDetailResponseBody
- func (s *DescribeClusterDetailResponseBody) SetUpdated(v string) *DescribeClusterDetailResponseBody
- func (s *DescribeClusterDetailResponseBody) SetVpcId(v string) *DescribeClusterDetailResponseBody
- func (s *DescribeClusterDetailResponseBody) SetVswitchId(v string) *DescribeClusterDetailResponseBody
- func (s *DescribeClusterDetailResponseBody) SetVswitchIds(v []*string) *DescribeClusterDetailResponseBody
- func (s *DescribeClusterDetailResponseBody) SetWorkerRamRoleName(v string) *DescribeClusterDetailResponseBody
- func (s *DescribeClusterDetailResponseBody) SetZoneId(v string) *DescribeClusterDetailResponseBody
- func (s DescribeClusterDetailResponseBody) String() string
- type DescribeClusterDetailResponseBodyControlPlaneConfig
- func (s DescribeClusterDetailResponseBodyControlPlaneConfig) GoString() string
- func (s *DescribeClusterDetailResponseBodyControlPlaneConfig) SetAutoRenew(v bool) *DescribeClusterDetailResponseBodyControlPlaneConfig
- func (s *DescribeClusterDetailResponseBodyControlPlaneConfig) SetAutoRenewPeriod(v int64) *DescribeClusterDetailResponseBodyControlPlaneConfig
- func (s *DescribeClusterDetailResponseBodyControlPlaneConfig) SetChargeType(v string) *DescribeClusterDetailResponseBodyControlPlaneConfig
- func (s *DescribeClusterDetailResponseBodyControlPlaneConfig) SetCloudMonitorFlags(v bool) *DescribeClusterDetailResponseBodyControlPlaneConfig
- func (s *DescribeClusterDetailResponseBodyControlPlaneConfig) SetCpuPolicy(v string) *DescribeClusterDetailResponseBodyControlPlaneConfig
- func (s *DescribeClusterDetailResponseBodyControlPlaneConfig) SetDeploymentsetId(v string) *DescribeClusterDetailResponseBodyControlPlaneConfig
- func (s *DescribeClusterDetailResponseBodyControlPlaneConfig) SetImageId(v string) *DescribeClusterDetailResponseBodyControlPlaneConfig
- func (s *DescribeClusterDetailResponseBodyControlPlaneConfig) SetImageType(v string) *DescribeClusterDetailResponseBodyControlPlaneConfig
- func (s *DescribeClusterDetailResponseBodyControlPlaneConfig) SetInstanceTypes(v []*string) *DescribeClusterDetailResponseBodyControlPlaneConfig
- func (s *DescribeClusterDetailResponseBodyControlPlaneConfig) SetKeyPair(v string) *DescribeClusterDetailResponseBodyControlPlaneConfig
- func (s *DescribeClusterDetailResponseBodyControlPlaneConfig) SetNodePortRange(v string) *DescribeClusterDetailResponseBodyControlPlaneConfig
- func (s *DescribeClusterDetailResponseBodyControlPlaneConfig) SetPeriod(v int64) *DescribeClusterDetailResponseBodyControlPlaneConfig
- func (s *DescribeClusterDetailResponseBodyControlPlaneConfig) SetPeriodUnit(v string) *DescribeClusterDetailResponseBodyControlPlaneConfig
- func (s *DescribeClusterDetailResponseBodyControlPlaneConfig) SetRuntime(v string) *DescribeClusterDetailResponseBodyControlPlaneConfig
- func (s *DescribeClusterDetailResponseBodyControlPlaneConfig) SetSecurityHardeningOs(v bool) *DescribeClusterDetailResponseBodyControlPlaneConfig
- func (s *DescribeClusterDetailResponseBodyControlPlaneConfig) SetSize(v int64) *DescribeClusterDetailResponseBodyControlPlaneConfig
- func (s *DescribeClusterDetailResponseBodyControlPlaneConfig) SetSocEnabled(v bool) *DescribeClusterDetailResponseBodyControlPlaneConfig
- func (s *DescribeClusterDetailResponseBodyControlPlaneConfig) SetSystemDiskBurstingEnabled(v bool) *DescribeClusterDetailResponseBodyControlPlaneConfig
- func (s *DescribeClusterDetailResponseBodyControlPlaneConfig) SetSystemDiskCategory(v string) *DescribeClusterDetailResponseBodyControlPlaneConfig
- func (s *DescribeClusterDetailResponseBodyControlPlaneConfig) SetSystemDiskPerformanceLevel(v string) *DescribeClusterDetailResponseBodyControlPlaneConfig
- func (s *DescribeClusterDetailResponseBodyControlPlaneConfig) SetSystemDiskProvisionedIops(v int64) *DescribeClusterDetailResponseBodyControlPlaneConfig
- func (s *DescribeClusterDetailResponseBodyControlPlaneConfig) SetSystemDiskSize(v int64) *DescribeClusterDetailResponseBodyControlPlaneConfig
- func (s *DescribeClusterDetailResponseBodyControlPlaneConfig) SetSystemDiskSnapshotPolicyId(v string) *DescribeClusterDetailResponseBodyControlPlaneConfig
- func (s DescribeClusterDetailResponseBodyControlPlaneConfig) String() string
- type DescribeClusterDetailResponseBodyOperationPolicy
- func (s DescribeClusterDetailResponseBodyOperationPolicy) GoString() string
- func (s *DescribeClusterDetailResponseBodyOperationPolicy) SetClusterAutoUpgrade(v *DescribeClusterDetailResponseBodyOperationPolicyClusterAutoUpgrade) *DescribeClusterDetailResponseBodyOperationPolicy
- func (s DescribeClusterDetailResponseBodyOperationPolicy) String() string
- type DescribeClusterDetailResponseBodyOperationPolicyClusterAutoUpgrade
- func (s DescribeClusterDetailResponseBodyOperationPolicyClusterAutoUpgrade) GoString() string
- func (s *DescribeClusterDetailResponseBodyOperationPolicyClusterAutoUpgrade) SetChannel(v string) *DescribeClusterDetailResponseBodyOperationPolicyClusterAutoUpgrade
- func (s *DescribeClusterDetailResponseBodyOperationPolicyClusterAutoUpgrade) SetEnabled(v bool) *DescribeClusterDetailResponseBodyOperationPolicyClusterAutoUpgrade
- func (s DescribeClusterDetailResponseBodyOperationPolicyClusterAutoUpgrade) String() string
- type DescribeClusterEventsRequest
- func (s DescribeClusterEventsRequest) GoString() string
- func (s *DescribeClusterEventsRequest) SetPageNumber(v int64) *DescribeClusterEventsRequest
- func (s *DescribeClusterEventsRequest) SetPageSize(v int64) *DescribeClusterEventsRequest
- func (s *DescribeClusterEventsRequest) SetTaskId(v string) *DescribeClusterEventsRequest
- func (s DescribeClusterEventsRequest) String() string
- type DescribeClusterEventsResponse
- func (s DescribeClusterEventsResponse) GoString() string
- func (s *DescribeClusterEventsResponse) SetBody(v *DescribeClusterEventsResponseBody) *DescribeClusterEventsResponse
- func (s *DescribeClusterEventsResponse) SetHeaders(v map[string]*string) *DescribeClusterEventsResponse
- func (s *DescribeClusterEventsResponse) SetStatusCode(v int32) *DescribeClusterEventsResponse
- func (s DescribeClusterEventsResponse) String() string
- type DescribeClusterEventsResponseBody
- func (s DescribeClusterEventsResponseBody) GoString() string
- func (s *DescribeClusterEventsResponseBody) SetEvents(v []*DescribeClusterEventsResponseBodyEvents) *DescribeClusterEventsResponseBody
- func (s *DescribeClusterEventsResponseBody) SetPageInfo(v *DescribeClusterEventsResponseBodyPageInfo) *DescribeClusterEventsResponseBody
- func (s DescribeClusterEventsResponseBody) String() string
- type DescribeClusterEventsResponseBodyEvents
- func (s DescribeClusterEventsResponseBodyEvents) GoString() string
- func (s *DescribeClusterEventsResponseBodyEvents) SetClusterId(v string) *DescribeClusterEventsResponseBodyEvents
- func (s *DescribeClusterEventsResponseBodyEvents) SetData(v *DescribeClusterEventsResponseBodyEventsData) *DescribeClusterEventsResponseBodyEvents
- func (s *DescribeClusterEventsResponseBodyEvents) SetEventId(v string) *DescribeClusterEventsResponseBodyEvents
- func (s *DescribeClusterEventsResponseBodyEvents) SetSource(v string) *DescribeClusterEventsResponseBodyEvents
- func (s *DescribeClusterEventsResponseBodyEvents) SetSubject(v string) *DescribeClusterEventsResponseBodyEvents
- func (s *DescribeClusterEventsResponseBodyEvents) SetTime(v string) *DescribeClusterEventsResponseBodyEvents
- func (s *DescribeClusterEventsResponseBodyEvents) SetType(v string) *DescribeClusterEventsResponseBodyEvents
- func (s DescribeClusterEventsResponseBodyEvents) String() string
- type DescribeClusterEventsResponseBodyEventsData
- func (s DescribeClusterEventsResponseBodyEventsData) GoString() string
- func (s *DescribeClusterEventsResponseBodyEventsData) SetLevel(v string) *DescribeClusterEventsResponseBodyEventsData
- func (s *DescribeClusterEventsResponseBodyEventsData) SetMessage(v string) *DescribeClusterEventsResponseBodyEventsData
- func (s *DescribeClusterEventsResponseBodyEventsData) SetReason(v string) *DescribeClusterEventsResponseBodyEventsData
- func (s DescribeClusterEventsResponseBodyEventsData) String() string
- type DescribeClusterEventsResponseBodyPageInfo
- func (s DescribeClusterEventsResponseBodyPageInfo) GoString() string
- func (s *DescribeClusterEventsResponseBodyPageInfo) SetPageNumber(v int64) *DescribeClusterEventsResponseBodyPageInfo
- func (s *DescribeClusterEventsResponseBodyPageInfo) SetPageSize(v int64) *DescribeClusterEventsResponseBodyPageInfo
- func (s *DescribeClusterEventsResponseBodyPageInfo) SetTotalCount(v int64) *DescribeClusterEventsResponseBodyPageInfo
- func (s DescribeClusterEventsResponseBodyPageInfo) String() string
- type DescribeClusterLogsResponse
- func (s DescribeClusterLogsResponse) GoString() string
- func (s *DescribeClusterLogsResponse) SetBody(v []*DescribeClusterLogsResponseBody) *DescribeClusterLogsResponse
- func (s *DescribeClusterLogsResponse) SetHeaders(v map[string]*string) *DescribeClusterLogsResponse
- func (s *DescribeClusterLogsResponse) SetStatusCode(v int32) *DescribeClusterLogsResponse
- func (s DescribeClusterLogsResponse) String() string
- type DescribeClusterLogsResponseBody
- func (s DescribeClusterLogsResponseBody) GoString() string
- func (s *DescribeClusterLogsResponseBody) SetClusterId(v string) *DescribeClusterLogsResponseBody
- func (s *DescribeClusterLogsResponseBody) SetClusterLog(v string) *DescribeClusterLogsResponseBody
- func (s *DescribeClusterLogsResponseBody) SetCreated(v string) *DescribeClusterLogsResponseBody
- func (s *DescribeClusterLogsResponseBody) SetID(v int64) *DescribeClusterLogsResponseBody
- func (s *DescribeClusterLogsResponseBody) SetUpdated(v string) *DescribeClusterLogsResponseBody
- func (s DescribeClusterLogsResponseBody) String() string
- type DescribeClusterNodePoolDetailResponse
- func (s DescribeClusterNodePoolDetailResponse) GoString() string
- func (s *DescribeClusterNodePoolDetailResponse) SetBody(v *DescribeClusterNodePoolDetailResponseBody) *DescribeClusterNodePoolDetailResponse
- func (s *DescribeClusterNodePoolDetailResponse) SetHeaders(v map[string]*string) *DescribeClusterNodePoolDetailResponse
- func (s *DescribeClusterNodePoolDetailResponse) SetStatusCode(v int32) *DescribeClusterNodePoolDetailResponse
- func (s DescribeClusterNodePoolDetailResponse) String() string
- type DescribeClusterNodePoolDetailResponseBody
- func (s DescribeClusterNodePoolDetailResponseBody) GoString() string
- func (s *DescribeClusterNodePoolDetailResponseBody) SetAutoScaling(v *DescribeClusterNodePoolDetailResponseBodyAutoScaling) *DescribeClusterNodePoolDetailResponseBody
- func (s *DescribeClusterNodePoolDetailResponseBody) SetHostNetwork(v bool) *DescribeClusterNodePoolDetailResponseBody
- func (s *DescribeClusterNodePoolDetailResponseBody) SetInterconnectConfig(v *DescribeClusterNodePoolDetailResponseBodyInterconnectConfig) *DescribeClusterNodePoolDetailResponseBody
- func (s *DescribeClusterNodePoolDetailResponseBody) SetInterconnectMode(v string) *DescribeClusterNodePoolDetailResponseBody
- func (s *DescribeClusterNodePoolDetailResponseBody) SetIntranet(v bool) *DescribeClusterNodePoolDetailResponseBody
- func (s *DescribeClusterNodePoolDetailResponseBody) SetKubernetesConfig(v *DescribeClusterNodePoolDetailResponseBodyKubernetesConfig) *DescribeClusterNodePoolDetailResponseBody
- func (s *DescribeClusterNodePoolDetailResponseBody) SetManagement(v *DescribeClusterNodePoolDetailResponseBodyManagement) *DescribeClusterNodePoolDetailResponseBody
- func (s *DescribeClusterNodePoolDetailResponseBody) SetMaxNodes(v int64) *DescribeClusterNodePoolDetailResponseBody
- func (s *DescribeClusterNodePoolDetailResponseBody) SetNodeConfig(v *DescribeClusterNodePoolDetailResponseBodyNodeConfig) *DescribeClusterNodePoolDetailResponseBody
- func (s *DescribeClusterNodePoolDetailResponseBody) SetNodepoolInfo(v *DescribeClusterNodePoolDetailResponseBodyNodepoolInfo) *DescribeClusterNodePoolDetailResponseBody
- func (s *DescribeClusterNodePoolDetailResponseBody) SetScalingGroup(v *DescribeClusterNodePoolDetailResponseBodyScalingGroup) *DescribeClusterNodePoolDetailResponseBody
- func (s *DescribeClusterNodePoolDetailResponseBody) SetStatus(v *DescribeClusterNodePoolDetailResponseBodyStatus) *DescribeClusterNodePoolDetailResponseBody
- func (s *DescribeClusterNodePoolDetailResponseBody) SetTeeConfig(v *DescribeClusterNodePoolDetailResponseBodyTeeConfig) *DescribeClusterNodePoolDetailResponseBody
- func (s DescribeClusterNodePoolDetailResponseBody) String() string
- type DescribeClusterNodePoolDetailResponseBodyAutoScaling
- func (s DescribeClusterNodePoolDetailResponseBodyAutoScaling) GoString() string
- func (s *DescribeClusterNodePoolDetailResponseBodyAutoScaling) SetEipBandwidth(v int64) *DescribeClusterNodePoolDetailResponseBodyAutoScaling
- func (s *DescribeClusterNodePoolDetailResponseBodyAutoScaling) SetEipInternetChargeType(v string) *DescribeClusterNodePoolDetailResponseBodyAutoScaling
- func (s *DescribeClusterNodePoolDetailResponseBodyAutoScaling) SetEnable(v bool) *DescribeClusterNodePoolDetailResponseBodyAutoScaling
- func (s *DescribeClusterNodePoolDetailResponseBodyAutoScaling) SetIsBondEip(v bool) *DescribeClusterNodePoolDetailResponseBodyAutoScaling
- func (s *DescribeClusterNodePoolDetailResponseBodyAutoScaling) SetMaxInstances(v int64) *DescribeClusterNodePoolDetailResponseBodyAutoScaling
- func (s *DescribeClusterNodePoolDetailResponseBodyAutoScaling) SetMinInstances(v int64) *DescribeClusterNodePoolDetailResponseBodyAutoScaling
- func (s *DescribeClusterNodePoolDetailResponseBodyAutoScaling) SetType(v string) *DescribeClusterNodePoolDetailResponseBodyAutoScaling
- func (s DescribeClusterNodePoolDetailResponseBodyAutoScaling) String() string
- type DescribeClusterNodePoolDetailResponseBodyInterconnectConfig
- func (s DescribeClusterNodePoolDetailResponseBodyInterconnectConfig) GoString() string
- func (s *DescribeClusterNodePoolDetailResponseBodyInterconnectConfig) SetBandwidth(v int64) *DescribeClusterNodePoolDetailResponseBodyInterconnectConfig
- func (s *DescribeClusterNodePoolDetailResponseBodyInterconnectConfig) SetCcnId(v string) *DescribeClusterNodePoolDetailResponseBodyInterconnectConfig
- func (s *DescribeClusterNodePoolDetailResponseBodyInterconnectConfig) SetCcnRegionId(v string) *DescribeClusterNodePoolDetailResponseBodyInterconnectConfig
- func (s *DescribeClusterNodePoolDetailResponseBodyInterconnectConfig) SetCenId(v string) *DescribeClusterNodePoolDetailResponseBodyInterconnectConfig
- func (s *DescribeClusterNodePoolDetailResponseBodyInterconnectConfig) SetImprovedPeriod(v string) *DescribeClusterNodePoolDetailResponseBodyInterconnectConfig
- func (s DescribeClusterNodePoolDetailResponseBodyInterconnectConfig) String() string
- type DescribeClusterNodePoolDetailResponseBodyKubernetesConfig
- func (s DescribeClusterNodePoolDetailResponseBodyKubernetesConfig) GoString() string
- func (s *DescribeClusterNodePoolDetailResponseBodyKubernetesConfig) SetCmsEnabled(v bool) *DescribeClusterNodePoolDetailResponseBodyKubernetesConfig
- func (s *DescribeClusterNodePoolDetailResponseBodyKubernetesConfig) SetCpuPolicy(v string) *DescribeClusterNodePoolDetailResponseBodyKubernetesConfig
- func (s *DescribeClusterNodePoolDetailResponseBodyKubernetesConfig) SetLabels(v []*Tag) *DescribeClusterNodePoolDetailResponseBodyKubernetesConfig
- func (s *DescribeClusterNodePoolDetailResponseBodyKubernetesConfig) SetNodeNameMode(v string) *DescribeClusterNodePoolDetailResponseBodyKubernetesConfig
- func (s *DescribeClusterNodePoolDetailResponseBodyKubernetesConfig) SetPreUserData(v string) *DescribeClusterNodePoolDetailResponseBodyKubernetesConfig
- func (s *DescribeClusterNodePoolDetailResponseBodyKubernetesConfig) SetRuntime(v string) *DescribeClusterNodePoolDetailResponseBodyKubernetesConfig
- func (s *DescribeClusterNodePoolDetailResponseBodyKubernetesConfig) SetRuntimeVersion(v string) *DescribeClusterNodePoolDetailResponseBodyKubernetesConfig
- func (s *DescribeClusterNodePoolDetailResponseBodyKubernetesConfig) SetTaints(v []*Taint) *DescribeClusterNodePoolDetailResponseBodyKubernetesConfig
- func (s *DescribeClusterNodePoolDetailResponseBodyKubernetesConfig) SetUnschedulable(v bool) *DescribeClusterNodePoolDetailResponseBodyKubernetesConfig
- func (s *DescribeClusterNodePoolDetailResponseBodyKubernetesConfig) SetUserData(v string) *DescribeClusterNodePoolDetailResponseBodyKubernetesConfig
- func (s DescribeClusterNodePoolDetailResponseBodyKubernetesConfig) String() string
- type DescribeClusterNodePoolDetailResponseBodyManagement
- func (s DescribeClusterNodePoolDetailResponseBodyManagement) GoString() string
- func (s *DescribeClusterNodePoolDetailResponseBodyManagement) SetAutoRepair(v bool) *DescribeClusterNodePoolDetailResponseBodyManagement
- func (s *DescribeClusterNodePoolDetailResponseBodyManagement) SetAutoRepairPolicy(v *DescribeClusterNodePoolDetailResponseBodyManagementAutoRepairPolicy) *DescribeClusterNodePoolDetailResponseBodyManagement
- func (s *DescribeClusterNodePoolDetailResponseBodyManagement) SetAutoUpgrade(v bool) *DescribeClusterNodePoolDetailResponseBodyManagement
- func (s *DescribeClusterNodePoolDetailResponseBodyManagement) SetAutoUpgradePolicy(v *DescribeClusterNodePoolDetailResponseBodyManagementAutoUpgradePolicy) *DescribeClusterNodePoolDetailResponseBodyManagement
- func (s *DescribeClusterNodePoolDetailResponseBodyManagement) SetAutoVulFix(v bool) *DescribeClusterNodePoolDetailResponseBodyManagement
- func (s *DescribeClusterNodePoolDetailResponseBodyManagement) SetAutoVulFixPolicy(v *DescribeClusterNodePoolDetailResponseBodyManagementAutoVulFixPolicy) *DescribeClusterNodePoolDetailResponseBodyManagement
- func (s *DescribeClusterNodePoolDetailResponseBodyManagement) SetEnable(v bool) *DescribeClusterNodePoolDetailResponseBodyManagement
- func (s *DescribeClusterNodePoolDetailResponseBodyManagement) SetUpgradeConfig(v *DescribeClusterNodePoolDetailResponseBodyManagementUpgradeConfig) *DescribeClusterNodePoolDetailResponseBodyManagement
- func (s DescribeClusterNodePoolDetailResponseBodyManagement) String() string
- type DescribeClusterNodePoolDetailResponseBodyManagementAutoRepairPolicy
- func (s DescribeClusterNodePoolDetailResponseBodyManagementAutoRepairPolicy) GoString() string
- func (s *DescribeClusterNodePoolDetailResponseBodyManagementAutoRepairPolicy) SetRestartNode(v bool) *DescribeClusterNodePoolDetailResponseBodyManagementAutoRepairPolicy
- func (s DescribeClusterNodePoolDetailResponseBodyManagementAutoRepairPolicy) String() string
- type DescribeClusterNodePoolDetailResponseBodyManagementAutoUpgradePolicy
- func (s DescribeClusterNodePoolDetailResponseBodyManagementAutoUpgradePolicy) GoString() string
- func (s *DescribeClusterNodePoolDetailResponseBodyManagementAutoUpgradePolicy) SetAutoUpgradeKubelet(v bool) *DescribeClusterNodePoolDetailResponseBodyManagementAutoUpgradePolicy
- func (s DescribeClusterNodePoolDetailResponseBodyManagementAutoUpgradePolicy) String() string
- type DescribeClusterNodePoolDetailResponseBodyManagementAutoVulFixPolicy
- func (s DescribeClusterNodePoolDetailResponseBodyManagementAutoVulFixPolicy) GoString() string
- func (s *DescribeClusterNodePoolDetailResponseBodyManagementAutoVulFixPolicy) SetRestartNode(v bool) *DescribeClusterNodePoolDetailResponseBodyManagementAutoVulFixPolicy
- func (s *DescribeClusterNodePoolDetailResponseBodyManagementAutoVulFixPolicy) SetVulLevel(v string) *DescribeClusterNodePoolDetailResponseBodyManagementAutoVulFixPolicy
- func (s DescribeClusterNodePoolDetailResponseBodyManagementAutoVulFixPolicy) String() string
- type DescribeClusterNodePoolDetailResponseBodyManagementUpgradeConfig
- func (s DescribeClusterNodePoolDetailResponseBodyManagementUpgradeConfig) GoString() string
- func (s *DescribeClusterNodePoolDetailResponseBodyManagementUpgradeConfig) SetAutoUpgrade(v bool) *DescribeClusterNodePoolDetailResponseBodyManagementUpgradeConfig
- func (s *DescribeClusterNodePoolDetailResponseBodyManagementUpgradeConfig) SetMaxUnavailable(v int64) *DescribeClusterNodePoolDetailResponseBodyManagementUpgradeConfig
- func (s *DescribeClusterNodePoolDetailResponseBodyManagementUpgradeConfig) SetSurge(v int64) *DescribeClusterNodePoolDetailResponseBodyManagementUpgradeConfig
- func (s *DescribeClusterNodePoolDetailResponseBodyManagementUpgradeConfig) SetSurgePercentage(v int64) *DescribeClusterNodePoolDetailResponseBodyManagementUpgradeConfig
- func (s DescribeClusterNodePoolDetailResponseBodyManagementUpgradeConfig) String() string
- type DescribeClusterNodePoolDetailResponseBodyNodeConfig
- func (s DescribeClusterNodePoolDetailResponseBodyNodeConfig) GoString() string
- func (s *DescribeClusterNodePoolDetailResponseBodyNodeConfig) SetKubeletConfiguration(v *KubeletConfig) *DescribeClusterNodePoolDetailResponseBodyNodeConfig
- func (s DescribeClusterNodePoolDetailResponseBodyNodeConfig) String() string
- type DescribeClusterNodePoolDetailResponseBodyNodepoolInfo
- func (s DescribeClusterNodePoolDetailResponseBodyNodepoolInfo) GoString() string
- func (s *DescribeClusterNodePoolDetailResponseBodyNodepoolInfo) SetCreated(v string) *DescribeClusterNodePoolDetailResponseBodyNodepoolInfo
- func (s *DescribeClusterNodePoolDetailResponseBodyNodepoolInfo) SetIsDefault(v bool) *DescribeClusterNodePoolDetailResponseBodyNodepoolInfo
- func (s *DescribeClusterNodePoolDetailResponseBodyNodepoolInfo) SetName(v string) *DescribeClusterNodePoolDetailResponseBodyNodepoolInfo
- func (s *DescribeClusterNodePoolDetailResponseBodyNodepoolInfo) SetNodepoolId(v string) *DescribeClusterNodePoolDetailResponseBodyNodepoolInfo
- func (s *DescribeClusterNodePoolDetailResponseBodyNodepoolInfo) SetRegionId(v string) *DescribeClusterNodePoolDetailResponseBodyNodepoolInfo
- func (s *DescribeClusterNodePoolDetailResponseBodyNodepoolInfo) SetResourceGroupId(v string) *DescribeClusterNodePoolDetailResponseBodyNodepoolInfo
- func (s *DescribeClusterNodePoolDetailResponseBodyNodepoolInfo) SetType(v string) *DescribeClusterNodePoolDetailResponseBodyNodepoolInfo
- func (s *DescribeClusterNodePoolDetailResponseBodyNodepoolInfo) SetUpdated(v string) *DescribeClusterNodePoolDetailResponseBodyNodepoolInfo
- func (s DescribeClusterNodePoolDetailResponseBodyNodepoolInfo) String() string
- type DescribeClusterNodePoolDetailResponseBodyScalingGroup
- func (s DescribeClusterNodePoolDetailResponseBodyScalingGroup) GoString() string
- func (s *DescribeClusterNodePoolDetailResponseBodyScalingGroup) SetAutoRenew(v bool) *DescribeClusterNodePoolDetailResponseBodyScalingGroup
- func (s *DescribeClusterNodePoolDetailResponseBodyScalingGroup) SetAutoRenewPeriod(v int64) *DescribeClusterNodePoolDetailResponseBodyScalingGroup
- func (s *DescribeClusterNodePoolDetailResponseBodyScalingGroup) SetCisEnabled(v bool) *DescribeClusterNodePoolDetailResponseBodyScalingGroup
- func (s *DescribeClusterNodePoolDetailResponseBodyScalingGroup) SetCompensateWithOnDemand(v bool) *DescribeClusterNodePoolDetailResponseBodyScalingGroup
- func (s *DescribeClusterNodePoolDetailResponseBodyScalingGroup) SetDataDisks(v []*DataDisk) *DescribeClusterNodePoolDetailResponseBodyScalingGroup
- func (s *DescribeClusterNodePoolDetailResponseBodyScalingGroup) SetDeploymentsetId(v string) *DescribeClusterNodePoolDetailResponseBodyScalingGroup
- func (s *DescribeClusterNodePoolDetailResponseBodyScalingGroup) SetDesiredSize(v int64) *DescribeClusterNodePoolDetailResponseBodyScalingGroup
- func (s *DescribeClusterNodePoolDetailResponseBodyScalingGroup) SetImageId(v string) *DescribeClusterNodePoolDetailResponseBodyScalingGroup
- func (s *DescribeClusterNodePoolDetailResponseBodyScalingGroup) SetImageType(v string) *DescribeClusterNodePoolDetailResponseBodyScalingGroup
- func (s *DescribeClusterNodePoolDetailResponseBodyScalingGroup) SetInstanceChargeType(v string) *DescribeClusterNodePoolDetailResponseBodyScalingGroup
- func (s *DescribeClusterNodePoolDetailResponseBodyScalingGroup) SetInstancePatterns(v []*InstancePatterns) *DescribeClusterNodePoolDetailResponseBodyScalingGroup
- func (s *DescribeClusterNodePoolDetailResponseBodyScalingGroup) SetInstanceTypes(v []*string) *DescribeClusterNodePoolDetailResponseBodyScalingGroup
- func (s *DescribeClusterNodePoolDetailResponseBodyScalingGroup) SetInternetChargeType(v string) *DescribeClusterNodePoolDetailResponseBodyScalingGroup
- func (s *DescribeClusterNodePoolDetailResponseBodyScalingGroup) SetInternetMaxBandwidthOut(v int64) *DescribeClusterNodePoolDetailResponseBodyScalingGroup
- func (s *DescribeClusterNodePoolDetailResponseBodyScalingGroup) SetKeyPair(v string) *DescribeClusterNodePoolDetailResponseBodyScalingGroup
- func (s *DescribeClusterNodePoolDetailResponseBodyScalingGroup) SetLoginAsNonRoot(v bool) *DescribeClusterNodePoolDetailResponseBodyScalingGroup
- func (s *DescribeClusterNodePoolDetailResponseBodyScalingGroup) SetLoginPassword(v string) *DescribeClusterNodePoolDetailResponseBodyScalingGroup
- func (s *DescribeClusterNodePoolDetailResponseBodyScalingGroup) SetMultiAzPolicy(v string) *DescribeClusterNodePoolDetailResponseBodyScalingGroup
- func (s *DescribeClusterNodePoolDetailResponseBodyScalingGroup) SetOnDemandBaseCapacity(v int64) *DescribeClusterNodePoolDetailResponseBodyScalingGroup
- func (s *DescribeClusterNodePoolDetailResponseBodyScalingGroup) SetOnDemandPercentageAboveBaseCapacity(v int64) *DescribeClusterNodePoolDetailResponseBodyScalingGroup
- func (s *DescribeClusterNodePoolDetailResponseBodyScalingGroup) SetPeriod(v int64) *DescribeClusterNodePoolDetailResponseBodyScalingGroup
- func (s *DescribeClusterNodePoolDetailResponseBodyScalingGroup) SetPeriodUnit(v string) *DescribeClusterNodePoolDetailResponseBodyScalingGroup
- func (s *DescribeClusterNodePoolDetailResponseBodyScalingGroup) SetPlatform(v string) *DescribeClusterNodePoolDetailResponseBodyScalingGroup
- func (s *DescribeClusterNodePoolDetailResponseBodyScalingGroup) SetPrivatePoolOptions(v *DescribeClusterNodePoolDetailResponseBodyScalingGroupPrivatePoolOptions) *DescribeClusterNodePoolDetailResponseBodyScalingGroup
- func (s *DescribeClusterNodePoolDetailResponseBodyScalingGroup) SetRamPolicy(v string) *DescribeClusterNodePoolDetailResponseBodyScalingGroup
- func (s *DescribeClusterNodePoolDetailResponseBodyScalingGroup) SetRamRoleName(v string) *DescribeClusterNodePoolDetailResponseBodyScalingGroup
- func (s *DescribeClusterNodePoolDetailResponseBodyScalingGroup) SetRdsInstances(v []*string) *DescribeClusterNodePoolDetailResponseBodyScalingGroup
- func (s *DescribeClusterNodePoolDetailResponseBodyScalingGroup) SetScalingGroupId(v string) *DescribeClusterNodePoolDetailResponseBodyScalingGroup
- func (s *DescribeClusterNodePoolDetailResponseBodyScalingGroup) SetScalingPolicy(v string) *DescribeClusterNodePoolDetailResponseBodyScalingGroup
- func (s *DescribeClusterNodePoolDetailResponseBodyScalingGroup) SetSecurityGroupId(v string) *DescribeClusterNodePoolDetailResponseBodyScalingGroup
- func (s *DescribeClusterNodePoolDetailResponseBodyScalingGroup) SetSecurityGroupIds(v []*string) *DescribeClusterNodePoolDetailResponseBodyScalingGroup
- func (s *DescribeClusterNodePoolDetailResponseBodyScalingGroup) SetSecurityHardeningOs(v bool) *DescribeClusterNodePoolDetailResponseBodyScalingGroup
- func (s *DescribeClusterNodePoolDetailResponseBodyScalingGroup) SetSocEnabled(v bool) *DescribeClusterNodePoolDetailResponseBodyScalingGroup
- func (s *DescribeClusterNodePoolDetailResponseBodyScalingGroup) SetSpotInstancePools(v int64) *DescribeClusterNodePoolDetailResponseBodyScalingGroup
- func (s *DescribeClusterNodePoolDetailResponseBodyScalingGroup) SetSpotInstanceRemedy(v bool) *DescribeClusterNodePoolDetailResponseBodyScalingGroup
- func (s *DescribeClusterNodePoolDetailResponseBodyScalingGroup) SetSpotPriceLimit(v []*DescribeClusterNodePoolDetailResponseBodyScalingGroupSpotPriceLimit) *DescribeClusterNodePoolDetailResponseBodyScalingGroup
- func (s *DescribeClusterNodePoolDetailResponseBodyScalingGroup) SetSpotStrategy(v string) *DescribeClusterNodePoolDetailResponseBodyScalingGroup
- func (s *DescribeClusterNodePoolDetailResponseBodyScalingGroup) SetSystemDiskBurstingEnabled(v bool) *DescribeClusterNodePoolDetailResponseBodyScalingGroup
- func (s *DescribeClusterNodePoolDetailResponseBodyScalingGroup) SetSystemDiskCategories(v []*string) *DescribeClusterNodePoolDetailResponseBodyScalingGroup
- func (s *DescribeClusterNodePoolDetailResponseBodyScalingGroup) SetSystemDiskCategory(v string) *DescribeClusterNodePoolDetailResponseBodyScalingGroup
- func (s *DescribeClusterNodePoolDetailResponseBodyScalingGroup) SetSystemDiskEncryptAlgorithm(v string) *DescribeClusterNodePoolDetailResponseBodyScalingGroup
- func (s *DescribeClusterNodePoolDetailResponseBodyScalingGroup) SetSystemDiskEncrypted(v bool) *DescribeClusterNodePoolDetailResponseBodyScalingGroup
- func (s *DescribeClusterNodePoolDetailResponseBodyScalingGroup) SetSystemDiskKmsKeyId(v string) *DescribeClusterNodePoolDetailResponseBodyScalingGroup
- func (s *DescribeClusterNodePoolDetailResponseBodyScalingGroup) SetSystemDiskPerformanceLevel(v string) *DescribeClusterNodePoolDetailResponseBodyScalingGroup
- func (s *DescribeClusterNodePoolDetailResponseBodyScalingGroup) SetSystemDiskProvisionedIops(v int64) *DescribeClusterNodePoolDetailResponseBodyScalingGroup
- func (s *DescribeClusterNodePoolDetailResponseBodyScalingGroup) SetSystemDiskSize(v int64) *DescribeClusterNodePoolDetailResponseBodyScalingGroup
- func (s *DescribeClusterNodePoolDetailResponseBodyScalingGroup) SetTags(v []*Tag) *DescribeClusterNodePoolDetailResponseBodyScalingGroup
- func (s *DescribeClusterNodePoolDetailResponseBodyScalingGroup) SetVswitchIds(v []*string) *DescribeClusterNodePoolDetailResponseBodyScalingGroup
- func (s DescribeClusterNodePoolDetailResponseBodyScalingGroup) String() string
- type DescribeClusterNodePoolDetailResponseBodyScalingGroupPrivatePoolOptions
- func (s DescribeClusterNodePoolDetailResponseBodyScalingGroupPrivatePoolOptions) GoString() string
- func (s *DescribeClusterNodePoolDetailResponseBodyScalingGroupPrivatePoolOptions) SetId(v string) *DescribeClusterNodePoolDetailResponseBodyScalingGroupPrivatePoolOptions
- func (s *DescribeClusterNodePoolDetailResponseBodyScalingGroupPrivatePoolOptions) SetMatchCriteria(v string) *DescribeClusterNodePoolDetailResponseBodyScalingGroupPrivatePoolOptions
- func (s DescribeClusterNodePoolDetailResponseBodyScalingGroupPrivatePoolOptions) String() string
- type DescribeClusterNodePoolDetailResponseBodyScalingGroupSpotPriceLimit
- func (s DescribeClusterNodePoolDetailResponseBodyScalingGroupSpotPriceLimit) GoString() string
- func (s *DescribeClusterNodePoolDetailResponseBodyScalingGroupSpotPriceLimit) SetInstanceType(v string) *DescribeClusterNodePoolDetailResponseBodyScalingGroupSpotPriceLimit
- func (s *DescribeClusterNodePoolDetailResponseBodyScalingGroupSpotPriceLimit) SetPriceLimit(v string) *DescribeClusterNodePoolDetailResponseBodyScalingGroupSpotPriceLimit
- func (s DescribeClusterNodePoolDetailResponseBodyScalingGroupSpotPriceLimit) String() string
- type DescribeClusterNodePoolDetailResponseBodyStatus
- func (s DescribeClusterNodePoolDetailResponseBodyStatus) GoString() string
- func (s *DescribeClusterNodePoolDetailResponseBodyStatus) SetFailedNodes(v int64) *DescribeClusterNodePoolDetailResponseBodyStatus
- func (s *DescribeClusterNodePoolDetailResponseBodyStatus) SetHealthyNodes(v int64) *DescribeClusterNodePoolDetailResponseBodyStatus
- func (s *DescribeClusterNodePoolDetailResponseBodyStatus) SetInitialNodes(v int64) *DescribeClusterNodePoolDetailResponseBodyStatus
- func (s *DescribeClusterNodePoolDetailResponseBodyStatus) SetOfflineNodes(v int64) *DescribeClusterNodePoolDetailResponseBodyStatus
- func (s *DescribeClusterNodePoolDetailResponseBodyStatus) SetRemovingNodes(v int64) *DescribeClusterNodePoolDetailResponseBodyStatus
- func (s *DescribeClusterNodePoolDetailResponseBodyStatus) SetServingNodes(v int64) *DescribeClusterNodePoolDetailResponseBodyStatus
- func (s *DescribeClusterNodePoolDetailResponseBodyStatus) SetState(v string) *DescribeClusterNodePoolDetailResponseBodyStatus
- func (s *DescribeClusterNodePoolDetailResponseBodyStatus) SetTotalNodes(v int64) *DescribeClusterNodePoolDetailResponseBodyStatus
- func (s DescribeClusterNodePoolDetailResponseBodyStatus) String() string
- type DescribeClusterNodePoolDetailResponseBodyTeeConfig
- type DescribeClusterNodePoolsRequest
- type DescribeClusterNodePoolsResponse
- func (s DescribeClusterNodePoolsResponse) GoString() string
- func (s *DescribeClusterNodePoolsResponse) SetBody(v *DescribeClusterNodePoolsResponseBody) *DescribeClusterNodePoolsResponse
- func (s *DescribeClusterNodePoolsResponse) SetHeaders(v map[string]*string) *DescribeClusterNodePoolsResponse
- func (s *DescribeClusterNodePoolsResponse) SetStatusCode(v int32) *DescribeClusterNodePoolsResponse
- func (s DescribeClusterNodePoolsResponse) String() string
- type DescribeClusterNodePoolsResponseBody
- type DescribeClusterNodePoolsResponseBodyNodepools
- func (s DescribeClusterNodePoolsResponseBodyNodepools) GoString() string
- func (s *DescribeClusterNodePoolsResponseBodyNodepools) SetAutoScaling(v *DescribeClusterNodePoolsResponseBodyNodepoolsAutoScaling) *DescribeClusterNodePoolsResponseBodyNodepools
- func (s *DescribeClusterNodePoolsResponseBodyNodepools) SetInterconnectConfig(v *DescribeClusterNodePoolsResponseBodyNodepoolsInterconnectConfig) *DescribeClusterNodePoolsResponseBodyNodepools
- func (s *DescribeClusterNodePoolsResponseBodyNodepools) SetInterconnectMode(v string) *DescribeClusterNodePoolsResponseBodyNodepools
- func (s *DescribeClusterNodePoolsResponseBodyNodepools) SetKubernetesConfig(v *DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConfig) *DescribeClusterNodePoolsResponseBodyNodepools
- func (s *DescribeClusterNodePoolsResponseBodyNodepools) SetManagement(v *DescribeClusterNodePoolsResponseBodyNodepoolsManagement) *DescribeClusterNodePoolsResponseBodyNodepools
- func (s *DescribeClusterNodePoolsResponseBodyNodepools) SetMaxNodes(v int64) *DescribeClusterNodePoolsResponseBodyNodepools
- func (s *DescribeClusterNodePoolsResponseBodyNodepools) SetNodeConfig(v *DescribeClusterNodePoolsResponseBodyNodepoolsNodeConfig) *DescribeClusterNodePoolsResponseBodyNodepools
- func (s *DescribeClusterNodePoolsResponseBodyNodepools) SetNodepoolInfo(v *DescribeClusterNodePoolsResponseBodyNodepoolsNodepoolInfo) *DescribeClusterNodePoolsResponseBodyNodepools
- func (s *DescribeClusterNodePoolsResponseBodyNodepools) SetScalingGroup(v *DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup) *DescribeClusterNodePoolsResponseBodyNodepools
- func (s *DescribeClusterNodePoolsResponseBodyNodepools) SetStatus(v *DescribeClusterNodePoolsResponseBodyNodepoolsStatus) *DescribeClusterNodePoolsResponseBodyNodepools
- func (s *DescribeClusterNodePoolsResponseBodyNodepools) SetTeeConfig(v *DescribeClusterNodePoolsResponseBodyNodepoolsTeeConfig) *DescribeClusterNodePoolsResponseBodyNodepools
- func (s DescribeClusterNodePoolsResponseBodyNodepools) String() string
- type DescribeClusterNodePoolsResponseBodyNodepoolsAutoScaling
- func (s DescribeClusterNodePoolsResponseBodyNodepoolsAutoScaling) GoString() string
- func (s *DescribeClusterNodePoolsResponseBodyNodepoolsAutoScaling) SetEipBandwidth(v int64) *DescribeClusterNodePoolsResponseBodyNodepoolsAutoScaling
- func (s *DescribeClusterNodePoolsResponseBodyNodepoolsAutoScaling) SetEipInternetChargeType(v string) *DescribeClusterNodePoolsResponseBodyNodepoolsAutoScaling
- func (s *DescribeClusterNodePoolsResponseBodyNodepoolsAutoScaling) SetEnable(v bool) *DescribeClusterNodePoolsResponseBodyNodepoolsAutoScaling
- func (s *DescribeClusterNodePoolsResponseBodyNodepoolsAutoScaling) SetIsBondEip(v bool) *DescribeClusterNodePoolsResponseBodyNodepoolsAutoScaling
- func (s *DescribeClusterNodePoolsResponseBodyNodepoolsAutoScaling) SetMaxInstances(v int64) *DescribeClusterNodePoolsResponseBodyNodepoolsAutoScaling
- func (s *DescribeClusterNodePoolsResponseBodyNodepoolsAutoScaling) SetMinInstances(v int64) *DescribeClusterNodePoolsResponseBodyNodepoolsAutoScaling
- func (s *DescribeClusterNodePoolsResponseBodyNodepoolsAutoScaling) SetType(v string) *DescribeClusterNodePoolsResponseBodyNodepoolsAutoScaling
- func (s DescribeClusterNodePoolsResponseBodyNodepoolsAutoScaling) String() string
- type DescribeClusterNodePoolsResponseBodyNodepoolsInterconnectConfig
- func (s DescribeClusterNodePoolsResponseBodyNodepoolsInterconnectConfig) GoString() string
- func (s *DescribeClusterNodePoolsResponseBodyNodepoolsInterconnectConfig) SetBandwidth(v int64) *DescribeClusterNodePoolsResponseBodyNodepoolsInterconnectConfig
- func (s *DescribeClusterNodePoolsResponseBodyNodepoolsInterconnectConfig) SetCcnId(v string) *DescribeClusterNodePoolsResponseBodyNodepoolsInterconnectConfig
- func (s *DescribeClusterNodePoolsResponseBodyNodepoolsInterconnectConfig) SetCcnRegionId(v string) *DescribeClusterNodePoolsResponseBodyNodepoolsInterconnectConfig
- func (s *DescribeClusterNodePoolsResponseBodyNodepoolsInterconnectConfig) SetCenId(v string) *DescribeClusterNodePoolsResponseBodyNodepoolsInterconnectConfig
- func (s *DescribeClusterNodePoolsResponseBodyNodepoolsInterconnectConfig) SetImprovedPeriod(v string) *DescribeClusterNodePoolsResponseBodyNodepoolsInterconnectConfig
- func (s DescribeClusterNodePoolsResponseBodyNodepoolsInterconnectConfig) String() string
- type DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConfig
- func (s DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConfig) GoString() string
- func (s *DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConfig) SetCmsEnabled(v bool) *DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConfig
- func (s *DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConfig) SetCpuPolicy(v string) *DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConfig
- func (s *DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConfig) SetLabels(v []*Tag) *DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConfig
- func (s *DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConfig) SetNodeNameMode(v string) *DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConfig
- func (s *DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConfig) SetPreUserData(v string) *DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConfig
- func (s *DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConfig) SetRuntime(v string) *DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConfig
- func (s *DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConfig) SetRuntimeVersion(v string) *DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConfig
- func (s *DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConfig) SetTaints(v []*Taint) *DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConfig
- func (s *DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConfig) SetUnschedulable(v bool) *DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConfig
- func (s *DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConfig) SetUserData(v string) *DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConfig
- func (s DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConfig) String() string
- type DescribeClusterNodePoolsResponseBodyNodepoolsManagement
- func (s DescribeClusterNodePoolsResponseBodyNodepoolsManagement) GoString() string
- func (s *DescribeClusterNodePoolsResponseBodyNodepoolsManagement) SetAutoRepair(v bool) *DescribeClusterNodePoolsResponseBodyNodepoolsManagement
- func (s *DescribeClusterNodePoolsResponseBodyNodepoolsManagement) SetAutoRepairPolicy(v *DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoRepairPolicy) *DescribeClusterNodePoolsResponseBodyNodepoolsManagement
- func (s *DescribeClusterNodePoolsResponseBodyNodepoolsManagement) SetAutoUpgrade(v bool) *DescribeClusterNodePoolsResponseBodyNodepoolsManagement
- func (s *DescribeClusterNodePoolsResponseBodyNodepoolsManagement) SetAutoUpgradePolicy(v *DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoUpgradePolicy) *DescribeClusterNodePoolsResponseBodyNodepoolsManagement
- func (s *DescribeClusterNodePoolsResponseBodyNodepoolsManagement) SetAutoVulFix(v bool) *DescribeClusterNodePoolsResponseBodyNodepoolsManagement
- func (s *DescribeClusterNodePoolsResponseBodyNodepoolsManagement) SetAutoVulFixPolicy(v *DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoVulFixPolicy) *DescribeClusterNodePoolsResponseBodyNodepoolsManagement
- func (s *DescribeClusterNodePoolsResponseBodyNodepoolsManagement) SetEnable(v bool) *DescribeClusterNodePoolsResponseBodyNodepoolsManagement
- func (s *DescribeClusterNodePoolsResponseBodyNodepoolsManagement) SetUpgradeConfig(v *DescribeClusterNodePoolsResponseBodyNodepoolsManagementUpgradeConfig) *DescribeClusterNodePoolsResponseBodyNodepoolsManagement
- func (s DescribeClusterNodePoolsResponseBodyNodepoolsManagement) String() string
- type DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoRepairPolicy
- func (s DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoRepairPolicy) GoString() string
- func (s *DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoRepairPolicy) SetRestartNode(v bool) *DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoRepairPolicy
- func (s DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoRepairPolicy) String() string
- type DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoUpgradePolicy
- func (s DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoUpgradePolicy) GoString() string
- func (s *DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoUpgradePolicy) SetAutoUpgradeKubelet(v bool) *DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoUpgradePolicy
- func (s DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoUpgradePolicy) String() string
- type DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoVulFixPolicy
- func (s DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoVulFixPolicy) GoString() string
- func (s *DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoVulFixPolicy) SetRestartNode(v bool) *DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoVulFixPolicy
- func (s *DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoVulFixPolicy) SetVulLevel(v string) *DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoVulFixPolicy
- func (s DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoVulFixPolicy) String() string
- type DescribeClusterNodePoolsResponseBodyNodepoolsManagementUpgradeConfig
- func (s DescribeClusterNodePoolsResponseBodyNodepoolsManagementUpgradeConfig) GoString() string
- func (s *DescribeClusterNodePoolsResponseBodyNodepoolsManagementUpgradeConfig) SetAutoUpgrade(v bool) *DescribeClusterNodePoolsResponseBodyNodepoolsManagementUpgradeConfig
- func (s *DescribeClusterNodePoolsResponseBodyNodepoolsManagementUpgradeConfig) SetMaxUnavailable(v int64) *DescribeClusterNodePoolsResponseBodyNodepoolsManagementUpgradeConfig
- func (s *DescribeClusterNodePoolsResponseBodyNodepoolsManagementUpgradeConfig) SetSurge(v int64) *DescribeClusterNodePoolsResponseBodyNodepoolsManagementUpgradeConfig
- func (s *DescribeClusterNodePoolsResponseBodyNodepoolsManagementUpgradeConfig) SetSurgePercentage(v int64) *DescribeClusterNodePoolsResponseBodyNodepoolsManagementUpgradeConfig
- func (s DescribeClusterNodePoolsResponseBodyNodepoolsManagementUpgradeConfig) String() string
- type DescribeClusterNodePoolsResponseBodyNodepoolsNodeConfig
- func (s DescribeClusterNodePoolsResponseBodyNodepoolsNodeConfig) GoString() string
- func (s *DescribeClusterNodePoolsResponseBodyNodepoolsNodeConfig) SetKubeletConfiguration(v *KubeletConfig) *DescribeClusterNodePoolsResponseBodyNodepoolsNodeConfig
- func (s DescribeClusterNodePoolsResponseBodyNodepoolsNodeConfig) String() string
- type DescribeClusterNodePoolsResponseBodyNodepoolsNodepoolInfo
- func (s DescribeClusterNodePoolsResponseBodyNodepoolsNodepoolInfo) GoString() string
- func (s *DescribeClusterNodePoolsResponseBodyNodepoolsNodepoolInfo) SetCreated(v string) *DescribeClusterNodePoolsResponseBodyNodepoolsNodepoolInfo
- func (s *DescribeClusterNodePoolsResponseBodyNodepoolsNodepoolInfo) SetIsDefault(v bool) *DescribeClusterNodePoolsResponseBodyNodepoolsNodepoolInfo
- func (s *DescribeClusterNodePoolsResponseBodyNodepoolsNodepoolInfo) SetName(v string) *DescribeClusterNodePoolsResponseBodyNodepoolsNodepoolInfo
- func (s *DescribeClusterNodePoolsResponseBodyNodepoolsNodepoolInfo) SetNodepoolId(v string) *DescribeClusterNodePoolsResponseBodyNodepoolsNodepoolInfo
- func (s *DescribeClusterNodePoolsResponseBodyNodepoolsNodepoolInfo) SetRegionId(v string) *DescribeClusterNodePoolsResponseBodyNodepoolsNodepoolInfo
- func (s *DescribeClusterNodePoolsResponseBodyNodepoolsNodepoolInfo) SetResourceGroupId(v string) *DescribeClusterNodePoolsResponseBodyNodepoolsNodepoolInfo
- func (s *DescribeClusterNodePoolsResponseBodyNodepoolsNodepoolInfo) SetType(v string) *DescribeClusterNodePoolsResponseBodyNodepoolsNodepoolInfo
- func (s *DescribeClusterNodePoolsResponseBodyNodepoolsNodepoolInfo) SetUpdated(v string) *DescribeClusterNodePoolsResponseBodyNodepoolsNodepoolInfo
- func (s DescribeClusterNodePoolsResponseBodyNodepoolsNodepoolInfo) String() string
- type DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup
- func (s DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup) GoString() string
- func (s *DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup) SetAutoRenew(v bool) *DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup
- func (s *DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup) SetAutoRenewPeriod(v int64) *DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup
- func (s *DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup) SetCisEnabled(v bool) *DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup
- func (s *DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup) SetCompensateWithOnDemand(v bool) *DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup
- func (s *DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup) SetDataDisks(v []*DataDisk) *DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup
- func (s *DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup) SetDeploymentsetId(v string) *DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup
- func (s *DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup) SetDesiredSize(v int64) *DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup
- func (s *DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup) SetImageId(v string) *DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup
- func (s *DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup) SetImageType(v string) *DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup
- func (s *DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup) SetInstanceChargeType(v string) *DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup
- func (s *DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup) SetInstancePatterns(v []*InstancePatterns) *DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup
- func (s *DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup) SetInstanceTypes(v []*string) *DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup
- func (s *DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup) SetInternetChargeType(v string) *DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup
- func (s *DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup) SetInternetMaxBandwidthOut(v int64) *DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup
- func (s *DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup) SetKeyPair(v string) *DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup
- func (s *DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup) SetLoginAsNonRoot(v bool) *DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup
- func (s *DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup) SetLoginPassword(v string) *DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup
- func (s *DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup) SetMultiAzPolicy(v string) *DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup
- func (s *DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup) SetOnDemandBaseCapacity(v int64) *DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup
- func (s *DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup) SetOnDemandPercentageAboveBaseCapacity(v int64) *DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup
- func (s *DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup) SetPeriod(v int64) *DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup
- func (s *DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup) SetPeriodUnit(v string) *DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup
- func (s *DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup) SetPlatform(v string) *DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup
- func (s *DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup) SetPrivatePoolOptions(v *DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroupPrivatePoolOptions) *DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup
- func (s *DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup) SetRamPolicy(v string) *DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup
- func (s *DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup) SetRamRoleName(v string) *DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup
- func (s *DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup) SetRdsInstances(v []*string) *DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup
- func (s *DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup) SetScalingGroupId(v string) *DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup
- func (s *DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup) SetScalingPolicy(v string) *DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup
- func (s *DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup) SetSecurityGroupId(v string) *DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup
- func (s *DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup) SetSecurityGroupIds(v []*string) *DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup
- func (s *DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup) SetSecurityHardeningOs(v bool) *DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup
- func (s *DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup) SetSocEnabled(v bool) *DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup
- func (s *DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup) SetSpotInstancePools(v int64) *DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup
- func (s *DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup) SetSpotInstanceRemedy(v bool) *DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup
- func (s *DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup) SetSpotPriceLimit(v []*DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroupSpotPriceLimit) *DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup
- func (s *DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup) SetSpotStrategy(v string) *DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup
- func (s *DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup) SetSystemDiskBurstingEnabled(v bool) *DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup
- func (s *DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup) SetSystemDiskCategories(v []*string) *DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup
- func (s *DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup) SetSystemDiskCategory(v string) *DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup
- func (s *DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup) SetSystemDiskEncryptAlgorithm(v string) *DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup
- func (s *DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup) SetSystemDiskEncrypted(v bool) *DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup
- func (s *DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup) SetSystemDiskKmsKeyId(v string) *DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup
- func (s *DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup) SetSystemDiskPerformanceLevel(v string) *DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup
- func (s *DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup) SetSystemDiskProvisionedIops(v int64) *DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup
- func (s *DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup) SetSystemDiskSize(v int64) *DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup
- func (s *DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup) SetTags(v []*Tag) *DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup
- func (s *DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup) SetVswitchIds(v []*string) *DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup
- func (s DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup) String() string
- type DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroupPrivatePoolOptions
- func (s DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroupPrivatePoolOptions) GoString() string
- func (s *DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroupPrivatePoolOptions) SetId(v string) *DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroupPrivatePoolOptions
- func (s *DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroupPrivatePoolOptions) SetMatchCriteria(v string) *DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroupPrivatePoolOptions
- func (s DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroupPrivatePoolOptions) String() string
- type DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroupSpotPriceLimit
- func (s DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroupSpotPriceLimit) GoString() string
- func (s *DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroupSpotPriceLimit) SetInstanceType(v string) *DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroupSpotPriceLimit
- func (s *DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroupSpotPriceLimit) SetPriceLimit(v string) *DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroupSpotPriceLimit
- func (s DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroupSpotPriceLimit) String() string
- type DescribeClusterNodePoolsResponseBodyNodepoolsStatus
- func (s DescribeClusterNodePoolsResponseBodyNodepoolsStatus) GoString() string
- func (s *DescribeClusterNodePoolsResponseBodyNodepoolsStatus) SetFailedNodes(v int64) *DescribeClusterNodePoolsResponseBodyNodepoolsStatus
- func (s *DescribeClusterNodePoolsResponseBodyNodepoolsStatus) SetHealthyNodes(v int64) *DescribeClusterNodePoolsResponseBodyNodepoolsStatus
- func (s *DescribeClusterNodePoolsResponseBodyNodepoolsStatus) SetInitialNodes(v int64) *DescribeClusterNodePoolsResponseBodyNodepoolsStatus
- func (s *DescribeClusterNodePoolsResponseBodyNodepoolsStatus) SetOfflineNodes(v int64) *DescribeClusterNodePoolsResponseBodyNodepoolsStatus
- func (s *DescribeClusterNodePoolsResponseBodyNodepoolsStatus) SetRemovingNodes(v int64) *DescribeClusterNodePoolsResponseBodyNodepoolsStatus
- func (s *DescribeClusterNodePoolsResponseBodyNodepoolsStatus) SetServingNodes(v int64) *DescribeClusterNodePoolsResponseBodyNodepoolsStatus
- func (s *DescribeClusterNodePoolsResponseBodyNodepoolsStatus) SetState(v string) *DescribeClusterNodePoolsResponseBodyNodepoolsStatus
- func (s *DescribeClusterNodePoolsResponseBodyNodepoolsStatus) SetTotalNodes(v int64) *DescribeClusterNodePoolsResponseBodyNodepoolsStatus
- func (s DescribeClusterNodePoolsResponseBodyNodepoolsStatus) String() string
- type DescribeClusterNodePoolsResponseBodyNodepoolsTeeConfig
- func (s DescribeClusterNodePoolsResponseBodyNodepoolsTeeConfig) GoString() string
- func (s *DescribeClusterNodePoolsResponseBodyNodepoolsTeeConfig) SetTeeEnable(v bool) *DescribeClusterNodePoolsResponseBodyNodepoolsTeeConfig
- func (s DescribeClusterNodePoolsResponseBodyNodepoolsTeeConfig) String() string
- type DescribeClusterNodesRequest
- func (s DescribeClusterNodesRequest) GoString() string
- func (s *DescribeClusterNodesRequest) SetInstanceIds(v string) *DescribeClusterNodesRequest
- func (s *DescribeClusterNodesRequest) SetNodepoolId(v string) *DescribeClusterNodesRequest
- func (s *DescribeClusterNodesRequest) SetPageNumber(v string) *DescribeClusterNodesRequest
- func (s *DescribeClusterNodesRequest) SetPageSize(v string) *DescribeClusterNodesRequest
- func (s *DescribeClusterNodesRequest) SetState(v string) *DescribeClusterNodesRequest
- func (s DescribeClusterNodesRequest) String() string
- type DescribeClusterNodesResponse
- func (s DescribeClusterNodesResponse) GoString() string
- func (s *DescribeClusterNodesResponse) SetBody(v *DescribeClusterNodesResponseBody) *DescribeClusterNodesResponse
- func (s *DescribeClusterNodesResponse) SetHeaders(v map[string]*string) *DescribeClusterNodesResponse
- func (s *DescribeClusterNodesResponse) SetStatusCode(v int32) *DescribeClusterNodesResponse
- func (s DescribeClusterNodesResponse) String() string
- type DescribeClusterNodesResponseBody
- func (s DescribeClusterNodesResponseBody) GoString() string
- func (s *DescribeClusterNodesResponseBody) SetNodes(v []*DescribeClusterNodesResponseBodyNodes) *DescribeClusterNodesResponseBody
- func (s *DescribeClusterNodesResponseBody) SetPage(v *DescribeClusterNodesResponseBodyPage) *DescribeClusterNodesResponseBody
- func (s DescribeClusterNodesResponseBody) String() string
- type DescribeClusterNodesResponseBodyNodes
- func (s DescribeClusterNodesResponseBodyNodes) GoString() string
- func (s *DescribeClusterNodesResponseBodyNodes) SetCreationTime(v string) *DescribeClusterNodesResponseBodyNodes
- func (s *DescribeClusterNodesResponseBodyNodes) SetErrorMessage(v string) *DescribeClusterNodesResponseBodyNodes
- func (s *DescribeClusterNodesResponseBodyNodes) SetExpiredTime(v string) *DescribeClusterNodesResponseBodyNodes
- func (s *DescribeClusterNodesResponseBodyNodes) SetHostName(v string) *DescribeClusterNodesResponseBodyNodes
- func (s *DescribeClusterNodesResponseBodyNodes) SetImageId(v string) *DescribeClusterNodesResponseBodyNodes
- func (s *DescribeClusterNodesResponseBodyNodes) SetInstanceChargeType(v string) *DescribeClusterNodesResponseBodyNodes
- func (s *DescribeClusterNodesResponseBodyNodes) SetInstanceId(v string) *DescribeClusterNodesResponseBodyNodes
- func (s *DescribeClusterNodesResponseBodyNodes) SetInstanceName(v string) *DescribeClusterNodesResponseBodyNodes
- func (s *DescribeClusterNodesResponseBodyNodes) SetInstanceRole(v string) *DescribeClusterNodesResponseBodyNodes
- func (s *DescribeClusterNodesResponseBodyNodes) SetInstanceStatus(v string) *DescribeClusterNodesResponseBodyNodes
- func (s *DescribeClusterNodesResponseBodyNodes) SetInstanceType(v string) *DescribeClusterNodesResponseBodyNodes
- func (s *DescribeClusterNodesResponseBodyNodes) SetInstanceTypeFamily(v string) *DescribeClusterNodesResponseBodyNodes
- func (s *DescribeClusterNodesResponseBodyNodes) SetIpAddress(v []*string) *DescribeClusterNodesResponseBodyNodes
- func (s *DescribeClusterNodesResponseBodyNodes) SetIsAliyunNode(v bool) *DescribeClusterNodesResponseBodyNodes
- func (s *DescribeClusterNodesResponseBodyNodes) SetNodeName(v string) *DescribeClusterNodesResponseBodyNodes
- func (s *DescribeClusterNodesResponseBodyNodes) SetNodeStatus(v string) *DescribeClusterNodesResponseBodyNodes
- func (s *DescribeClusterNodesResponseBodyNodes) SetNodepoolId(v string) *DescribeClusterNodesResponseBodyNodes
- func (s *DescribeClusterNodesResponseBodyNodes) SetSource(v string) *DescribeClusterNodesResponseBodyNodes
- func (s *DescribeClusterNodesResponseBodyNodes) SetSpotStrategy(v string) *DescribeClusterNodesResponseBodyNodes
- func (s *DescribeClusterNodesResponseBodyNodes) SetState(v string) *DescribeClusterNodesResponseBodyNodes
- func (s DescribeClusterNodesResponseBodyNodes) String() string
- type DescribeClusterNodesResponseBodyPage
- func (s DescribeClusterNodesResponseBodyPage) GoString() string
- func (s *DescribeClusterNodesResponseBodyPage) SetPageNumber(v int32) *DescribeClusterNodesResponseBodyPage
- func (s *DescribeClusterNodesResponseBodyPage) SetPageSize(v int32) *DescribeClusterNodesResponseBodyPage
- func (s *DescribeClusterNodesResponseBodyPage) SetTotalCount(v int32) *DescribeClusterNodesResponseBodyPage
- func (s DescribeClusterNodesResponseBodyPage) String() string
- type DescribeClusterResourcesRequest
- type DescribeClusterResourcesResponse
- func (s DescribeClusterResourcesResponse) GoString() string
- func (s *DescribeClusterResourcesResponse) SetBody(v []*DescribeClusterResourcesResponseBody) *DescribeClusterResourcesResponse
- func (s *DescribeClusterResourcesResponse) SetHeaders(v map[string]*string) *DescribeClusterResourcesResponse
- func (s *DescribeClusterResourcesResponse) SetStatusCode(v int32) *DescribeClusterResourcesResponse
- func (s DescribeClusterResourcesResponse) String() string
- type DescribeClusterResourcesResponseBody
- func (s DescribeClusterResourcesResponseBody) GoString() string
- func (s *DescribeClusterResourcesResponseBody) SetAssociatedObject(v *DescribeClusterResourcesResponseBodyAssociatedObject) *DescribeClusterResourcesResponseBody
- func (s *DescribeClusterResourcesResponseBody) SetAutoCreate(v int64) *DescribeClusterResourcesResponseBody
- func (s *DescribeClusterResourcesResponseBody) SetClusterId(v string) *DescribeClusterResourcesResponseBody
- func (s *DescribeClusterResourcesResponseBody) SetCreated(v string) *DescribeClusterResourcesResponseBody
- func (s *DescribeClusterResourcesResponseBody) SetCreatorType(v string) *DescribeClusterResourcesResponseBody
- func (s *DescribeClusterResourcesResponseBody) SetDeleteBehavior(v *DescribeClusterResourcesResponseBodyDeleteBehavior) *DescribeClusterResourcesResponseBody
- func (s *DescribeClusterResourcesResponseBody) SetDependencies(v []*DescribeClusterResourcesResponseBodyDependencies) *DescribeClusterResourcesResponseBody
- func (s *DescribeClusterResourcesResponseBody) SetExtraInfo(v map[string]interface{}) *DescribeClusterResourcesResponseBody
- func (s *DescribeClusterResourcesResponseBody) SetInstanceId(v string) *DescribeClusterResourcesResponseBody
- func (s *DescribeClusterResourcesResponseBody) SetResourceInfo(v string) *DescribeClusterResourcesResponseBody
- func (s *DescribeClusterResourcesResponseBody) SetResourceType(v string) *DescribeClusterResourcesResponseBody
- func (s *DescribeClusterResourcesResponseBody) SetState(v string) *DescribeClusterResourcesResponseBody
- func (s DescribeClusterResourcesResponseBody) String() string
- type DescribeClusterResourcesResponseBodyAssociatedObject
- func (s DescribeClusterResourcesResponseBodyAssociatedObject) GoString() string
- func (s *DescribeClusterResourcesResponseBodyAssociatedObject) SetKind(v string) *DescribeClusterResourcesResponseBodyAssociatedObject
- func (s *DescribeClusterResourcesResponseBodyAssociatedObject) SetName(v string) *DescribeClusterResourcesResponseBodyAssociatedObject
- func (s *DescribeClusterResourcesResponseBodyAssociatedObject) SetNamespace(v string) *DescribeClusterResourcesResponseBodyAssociatedObject
- func (s DescribeClusterResourcesResponseBodyAssociatedObject) String() string
- type DescribeClusterResourcesResponseBodyDeleteBehavior
- func (s DescribeClusterResourcesResponseBodyDeleteBehavior) GoString() string
- func (s *DescribeClusterResourcesResponseBodyDeleteBehavior) SetChangeable(v bool) *DescribeClusterResourcesResponseBodyDeleteBehavior
- func (s *DescribeClusterResourcesResponseBodyDeleteBehavior) SetDeleteByDefault(v bool) *DescribeClusterResourcesResponseBodyDeleteBehavior
- func (s DescribeClusterResourcesResponseBodyDeleteBehavior) String() string
- type DescribeClusterResourcesResponseBodyDependencies
- func (s DescribeClusterResourcesResponseBodyDependencies) GoString() string
- func (s *DescribeClusterResourcesResponseBodyDependencies) SetClusterId(v string) *DescribeClusterResourcesResponseBodyDependencies
- func (s *DescribeClusterResourcesResponseBodyDependencies) SetInstanceId(v string) *DescribeClusterResourcesResponseBodyDependencies
- func (s *DescribeClusterResourcesResponseBodyDependencies) SetResourceType(v string) *DescribeClusterResourcesResponseBodyDependencies
- func (s DescribeClusterResourcesResponseBodyDependencies) String() string
- type DescribeClusterTasksRequest
- type DescribeClusterTasksResponse
- func (s DescribeClusterTasksResponse) GoString() string
- func (s *DescribeClusterTasksResponse) SetBody(v *DescribeClusterTasksResponseBody) *DescribeClusterTasksResponse
- func (s *DescribeClusterTasksResponse) SetHeaders(v map[string]*string) *DescribeClusterTasksResponse
- func (s *DescribeClusterTasksResponse) SetStatusCode(v int32) *DescribeClusterTasksResponse
- func (s DescribeClusterTasksResponse) String() string
- type DescribeClusterTasksResponseBody
- func (s DescribeClusterTasksResponseBody) GoString() string
- func (s *DescribeClusterTasksResponseBody) SetPageInfo(v *DescribeClusterTasksResponseBodyPageInfo) *DescribeClusterTasksResponseBody
- func (s *DescribeClusterTasksResponseBody) SetRequestId(v string) *DescribeClusterTasksResponseBody
- func (s *DescribeClusterTasksResponseBody) SetTasks(v []*DescribeClusterTasksResponseBodyTasks) *DescribeClusterTasksResponseBody
- func (s DescribeClusterTasksResponseBody) String() string
- type DescribeClusterTasksResponseBodyPageInfo
- func (s DescribeClusterTasksResponseBodyPageInfo) GoString() string
- func (s *DescribeClusterTasksResponseBodyPageInfo) SetPageNumber(v int64) *DescribeClusterTasksResponseBodyPageInfo
- func (s *DescribeClusterTasksResponseBodyPageInfo) SetPageSize(v int64) *DescribeClusterTasksResponseBodyPageInfo
- func (s *DescribeClusterTasksResponseBodyPageInfo) SetTotalCount(v int64) *DescribeClusterTasksResponseBodyPageInfo
- func (s DescribeClusterTasksResponseBodyPageInfo) String() string
- type DescribeClusterTasksResponseBodyTasks
- func (s DescribeClusterTasksResponseBodyTasks) GoString() string
- func (s *DescribeClusterTasksResponseBodyTasks) SetCreated(v string) *DescribeClusterTasksResponseBodyTasks
- func (s *DescribeClusterTasksResponseBodyTasks) SetError(v *DescribeClusterTasksResponseBodyTasksError) *DescribeClusterTasksResponseBodyTasks
- func (s *DescribeClusterTasksResponseBodyTasks) SetState(v string) *DescribeClusterTasksResponseBodyTasks
- func (s *DescribeClusterTasksResponseBodyTasks) SetTaskId(v string) *DescribeClusterTasksResponseBodyTasks
- func (s *DescribeClusterTasksResponseBodyTasks) SetTaskType(v string) *DescribeClusterTasksResponseBodyTasks
- func (s *DescribeClusterTasksResponseBodyTasks) SetUpdated(v string) *DescribeClusterTasksResponseBodyTasks
- func (s DescribeClusterTasksResponseBodyTasks) String() string
- type DescribeClusterTasksResponseBodyTasksError
- func (s DescribeClusterTasksResponseBodyTasksError) GoString() string
- func (s *DescribeClusterTasksResponseBodyTasksError) SetCode(v string) *DescribeClusterTasksResponseBodyTasksError
- func (s *DescribeClusterTasksResponseBodyTasksError) SetMessage(v string) *DescribeClusterTasksResponseBodyTasksError
- func (s DescribeClusterTasksResponseBodyTasksError) String() string
- type DescribeClusterUserKubeconfigRequest
- func (s DescribeClusterUserKubeconfigRequest) GoString() string
- func (s *DescribeClusterUserKubeconfigRequest) SetPrivateIpAddress(v bool) *DescribeClusterUserKubeconfigRequest
- func (s *DescribeClusterUserKubeconfigRequest) SetTemporaryDurationMinutes(v int64) *DescribeClusterUserKubeconfigRequest
- func (s DescribeClusterUserKubeconfigRequest) String() string
- type DescribeClusterUserKubeconfigResponse
- func (s DescribeClusterUserKubeconfigResponse) GoString() string
- func (s *DescribeClusterUserKubeconfigResponse) SetBody(v *DescribeClusterUserKubeconfigResponseBody) *DescribeClusterUserKubeconfigResponse
- func (s *DescribeClusterUserKubeconfigResponse) SetHeaders(v map[string]*string) *DescribeClusterUserKubeconfigResponse
- func (s *DescribeClusterUserKubeconfigResponse) SetStatusCode(v int32) *DescribeClusterUserKubeconfigResponse
- func (s DescribeClusterUserKubeconfigResponse) String() string
- type DescribeClusterUserKubeconfigResponseBody
- func (s DescribeClusterUserKubeconfigResponseBody) GoString() string
- func (s *DescribeClusterUserKubeconfigResponseBody) SetConfig(v string) *DescribeClusterUserKubeconfigResponseBody
- func (s *DescribeClusterUserKubeconfigResponseBody) SetExpiration(v string) *DescribeClusterUserKubeconfigResponseBody
- func (s DescribeClusterUserKubeconfigResponseBody) String() string
- type DescribeClusterV2UserKubeconfigRequest
- func (s DescribeClusterV2UserKubeconfigRequest) GoString() string
- func (s *DescribeClusterV2UserKubeconfigRequest) SetPrivateIpAddress(v bool) *DescribeClusterV2UserKubeconfigRequest
- func (s *DescribeClusterV2UserKubeconfigRequest) SetTemporaryDurationMinutes(v int64) *DescribeClusterV2UserKubeconfigRequest
- func (s DescribeClusterV2UserKubeconfigRequest) String() string
- type DescribeClusterV2UserKubeconfigResponse
- func (s DescribeClusterV2UserKubeconfigResponse) GoString() string
- func (s *DescribeClusterV2UserKubeconfigResponse) SetBody(v *DescribeClusterV2UserKubeconfigResponseBody) *DescribeClusterV2UserKubeconfigResponse
- func (s *DescribeClusterV2UserKubeconfigResponse) SetHeaders(v map[string]*string) *DescribeClusterV2UserKubeconfigResponse
- func (s *DescribeClusterV2UserKubeconfigResponse) SetStatusCode(v int32) *DescribeClusterV2UserKubeconfigResponse
- func (s DescribeClusterV2UserKubeconfigResponse) String() string
- type DescribeClusterV2UserKubeconfigResponseBody
- type DescribeClusterVulsResponse
- func (s DescribeClusterVulsResponse) GoString() string
- func (s *DescribeClusterVulsResponse) SetBody(v *DescribeClusterVulsResponseBody) *DescribeClusterVulsResponse
- func (s *DescribeClusterVulsResponse) SetHeaders(v map[string]*string) *DescribeClusterVulsResponse
- func (s *DescribeClusterVulsResponse) SetStatusCode(v int32) *DescribeClusterVulsResponse
- func (s DescribeClusterVulsResponse) String() string
- type DescribeClusterVulsResponseBody
- type DescribeClusterVulsResponseBodyVulRecords
- func (s DescribeClusterVulsResponseBodyVulRecords) GoString() string
- func (s *DescribeClusterVulsResponseBodyVulRecords) SetCveList(v []*string) *DescribeClusterVulsResponseBodyVulRecords
- func (s *DescribeClusterVulsResponseBodyVulRecords) SetNecessity(v string) *DescribeClusterVulsResponseBodyVulRecords
- func (s *DescribeClusterVulsResponseBodyVulRecords) SetNodeCount(v int32) *DescribeClusterVulsResponseBodyVulRecords
- func (s *DescribeClusterVulsResponseBodyVulRecords) SetNodepoolId(v string) *DescribeClusterVulsResponseBodyVulRecords
- func (s *DescribeClusterVulsResponseBodyVulRecords) SetNodepoolName(v string) *DescribeClusterVulsResponseBodyVulRecords
- func (s *DescribeClusterVulsResponseBodyVulRecords) SetVulAliasName(v string) *DescribeClusterVulsResponseBodyVulRecords
- func (s *DescribeClusterVulsResponseBodyVulRecords) SetVulName(v string) *DescribeClusterVulsResponseBodyVulRecords
- func (s *DescribeClusterVulsResponseBodyVulRecords) SetVulType(v string) *DescribeClusterVulsResponseBodyVulRecords
- func (s DescribeClusterVulsResponseBodyVulRecords) String() string
- type DescribeClustersForRegionRequest
- func (s DescribeClustersForRegionRequest) GoString() string
- func (s *DescribeClustersForRegionRequest) SetClusterId(v string) *DescribeClustersForRegionRequest
- func (s *DescribeClustersForRegionRequest) SetClusterSpec(v string) *DescribeClustersForRegionRequest
- func (s *DescribeClustersForRegionRequest) SetClusterType(v string) *DescribeClustersForRegionRequest
- func (s *DescribeClustersForRegionRequest) SetName(v string) *DescribeClustersForRegionRequest
- func (s *DescribeClustersForRegionRequest) SetPageNumber(v int64) *DescribeClustersForRegionRequest
- func (s *DescribeClustersForRegionRequest) SetPageSize(v int64) *DescribeClustersForRegionRequest
- func (s *DescribeClustersForRegionRequest) SetProfile(v string) *DescribeClustersForRegionRequest
- func (s DescribeClustersForRegionRequest) String() string
- type DescribeClustersForRegionResponse
- func (s DescribeClustersForRegionResponse) GoString() string
- func (s *DescribeClustersForRegionResponse) SetBody(v *DescribeClustersForRegionResponseBody) *DescribeClustersForRegionResponse
- func (s *DescribeClustersForRegionResponse) SetHeaders(v map[string]*string) *DescribeClustersForRegionResponse
- func (s *DescribeClustersForRegionResponse) SetStatusCode(v int32) *DescribeClustersForRegionResponse
- func (s DescribeClustersForRegionResponse) String() string
- type DescribeClustersForRegionResponseBody
- func (s DescribeClustersForRegionResponseBody) GoString() string
- func (s *DescribeClustersForRegionResponseBody) SetClusters(v []*DescribeClustersForRegionResponseBodyClusters) *DescribeClustersForRegionResponseBody
- func (s *DescribeClustersForRegionResponseBody) SetPageInfo(v *DescribeClustersForRegionResponseBodyPageInfo) *DescribeClustersForRegionResponseBody
- func (s DescribeClustersForRegionResponseBody) String() string
- type DescribeClustersForRegionResponseBodyClusters
- func (s DescribeClustersForRegionResponseBodyClusters) GoString() string
- func (s *DescribeClustersForRegionResponseBodyClusters) SetClusterDomain(v string) *DescribeClustersForRegionResponseBodyClusters
- func (s *DescribeClustersForRegionResponseBodyClusters) SetClusterId(v string) *DescribeClustersForRegionResponseBodyClusters
- func (s *DescribeClustersForRegionResponseBodyClusters) SetClusterSpec(v string) *DescribeClustersForRegionResponseBodyClusters
- func (s *DescribeClustersForRegionResponseBodyClusters) SetClusterType(v string) *DescribeClustersForRegionResponseBodyClusters
- func (s *DescribeClustersForRegionResponseBodyClusters) SetContainerCidr(v string) *DescribeClustersForRegionResponseBodyClusters
- func (s *DescribeClustersForRegionResponseBodyClusters) SetCreated(v string) *DescribeClustersForRegionResponseBodyClusters
- func (s *DescribeClustersForRegionResponseBodyClusters) SetCurrentVersion(v string) *DescribeClustersForRegionResponseBodyClusters
- func (s *DescribeClustersForRegionResponseBodyClusters) SetDeletionProtection(v bool) *DescribeClustersForRegionResponseBodyClusters
- func (s *DescribeClustersForRegionResponseBodyClusters) SetInitVersion(v string) *DescribeClustersForRegionResponseBodyClusters
- func (s *DescribeClustersForRegionResponseBodyClusters) SetIpStack(v string) *DescribeClustersForRegionResponseBodyClusters
- func (s *DescribeClustersForRegionResponseBodyClusters) SetName(v string) *DescribeClustersForRegionResponseBodyClusters
- func (s *DescribeClustersForRegionResponseBodyClusters) SetNextVersion(v string) *DescribeClustersForRegionResponseBodyClusters
- func (s *DescribeClustersForRegionResponseBodyClusters) SetProfile(v string) *DescribeClustersForRegionResponseBodyClusters
- func (s *DescribeClustersForRegionResponseBodyClusters) SetProxyMode(v string) *DescribeClustersForRegionResponseBodyClusters
- func (s *DescribeClustersForRegionResponseBodyClusters) SetRegionId(v string) *DescribeClustersForRegionResponseBodyClusters
- func (s *DescribeClustersForRegionResponseBodyClusters) SetResourceGroupId(v string) *DescribeClustersForRegionResponseBodyClusters
- func (s *DescribeClustersForRegionResponseBodyClusters) SetSecurityGroupId(v string) *DescribeClustersForRegionResponseBodyClusters
- func (s *DescribeClustersForRegionResponseBodyClusters) SetServiceCidr(v string) *DescribeClustersForRegionResponseBodyClusters
- func (s *DescribeClustersForRegionResponseBodyClusters) SetSize(v int64) *DescribeClustersForRegionResponseBodyClusters
- func (s *DescribeClustersForRegionResponseBodyClusters) SetState(v string) *DescribeClustersForRegionResponseBodyClusters
- func (s *DescribeClustersForRegionResponseBodyClusters) SetTags(v []*Tag) *DescribeClustersForRegionResponseBodyClusters
- func (s *DescribeClustersForRegionResponseBodyClusters) SetTimezone(v string) *DescribeClustersForRegionResponseBodyClusters
- func (s *DescribeClustersForRegionResponseBodyClusters) SetUpdated(v string) *DescribeClustersForRegionResponseBodyClusters
- func (s *DescribeClustersForRegionResponseBodyClusters) SetVpcId(v string) *DescribeClustersForRegionResponseBodyClusters
- func (s *DescribeClustersForRegionResponseBodyClusters) SetVswitchIds(v []*string) *DescribeClustersForRegionResponseBodyClusters
- func (s DescribeClustersForRegionResponseBodyClusters) String() string
- type DescribeClustersForRegionResponseBodyPageInfo
- func (s DescribeClustersForRegionResponseBodyPageInfo) GoString() string
- func (s *DescribeClustersForRegionResponseBodyPageInfo) SetPageNumber(v int32) *DescribeClustersForRegionResponseBodyPageInfo
- func (s *DescribeClustersForRegionResponseBodyPageInfo) SetPageSize(v int32) *DescribeClustersForRegionResponseBodyPageInfo
- func (s *DescribeClustersForRegionResponseBodyPageInfo) SetTotalCount(v int32) *DescribeClustersForRegionResponseBodyPageInfo
- func (s DescribeClustersForRegionResponseBodyPageInfo) String() string
- type DescribeClustersRequest
- func (s DescribeClustersRequest) GoString() string
- func (s *DescribeClustersRequest) SetClusterType(v string) *DescribeClustersRequest
- func (s *DescribeClustersRequest) SetName(v string) *DescribeClustersRequest
- func (s *DescribeClustersRequest) SetResourceGroupId(v string) *DescribeClustersRequest
- func (s DescribeClustersRequest) String() string
- type DescribeClustersResponse
- func (s DescribeClustersResponse) GoString() string
- func (s *DescribeClustersResponse) SetBody(v []*DescribeClustersResponseBody) *DescribeClustersResponse
- func (s *DescribeClustersResponse) SetHeaders(v map[string]*string) *DescribeClustersResponse
- func (s *DescribeClustersResponse) SetStatusCode(v int32) *DescribeClustersResponse
- func (s DescribeClustersResponse) String() string
- type DescribeClustersResponseBody
- func (s DescribeClustersResponseBody) GoString() string
- func (s *DescribeClustersResponseBody) SetClusterId(v string) *DescribeClustersResponseBody
- func (s *DescribeClustersResponseBody) SetClusterType(v string) *DescribeClustersResponseBody
- func (s *DescribeClustersResponseBody) SetCreated(v string) *DescribeClustersResponseBody
- func (s *DescribeClustersResponseBody) SetCurrentVersion(v string) *DescribeClustersResponseBody
- func (s *DescribeClustersResponseBody) SetDataDiskCategory(v string) *DescribeClustersResponseBody
- func (s *DescribeClustersResponseBody) SetDataDiskSize(v int64) *DescribeClustersResponseBody
- func (s *DescribeClustersResponseBody) SetDeletionProtection(v bool) *DescribeClustersResponseBody
- func (s *DescribeClustersResponseBody) SetDockerVersion(v string) *DescribeClustersResponseBody
- func (s *DescribeClustersResponseBody) SetExternalLoadbalancerId(v string) *DescribeClustersResponseBody
- func (s *DescribeClustersResponseBody) SetInitVersion(v string) *DescribeClustersResponseBody
- func (s *DescribeClustersResponseBody) SetMasterUrl(v string) *DescribeClustersResponseBody
- func (s *DescribeClustersResponseBody) SetMetaData(v string) *DescribeClustersResponseBody
- func (s *DescribeClustersResponseBody) SetName(v string) *DescribeClustersResponseBody
- func (s *DescribeClustersResponseBody) SetNetworkMode(v string) *DescribeClustersResponseBody
- func (s *DescribeClustersResponseBody) SetPrivateZone(v bool) *DescribeClustersResponseBody
- func (s *DescribeClustersResponseBody) SetProfile(v string) *DescribeClustersResponseBody
- func (s *DescribeClustersResponseBody) SetRegionId(v string) *DescribeClustersResponseBody
- func (s *DescribeClustersResponseBody) SetResourceGroupId(v string) *DescribeClustersResponseBody
- func (s *DescribeClustersResponseBody) SetSecurityGroupId(v string) *DescribeClustersResponseBody
- func (s *DescribeClustersResponseBody) SetSize(v int64) *DescribeClustersResponseBody
- func (s *DescribeClustersResponseBody) SetState(v string) *DescribeClustersResponseBody
- func (s *DescribeClustersResponseBody) SetSubnetCidr(v string) *DescribeClustersResponseBody
- func (s *DescribeClustersResponseBody) SetTags(v []*DescribeClustersResponseBodyTags) *DescribeClustersResponseBody
- func (s *DescribeClustersResponseBody) SetUpdated(v string) *DescribeClustersResponseBody
- func (s *DescribeClustersResponseBody) SetVpcId(v string) *DescribeClustersResponseBody
- func (s *DescribeClustersResponseBody) SetVswitchCidr(v string) *DescribeClustersResponseBody
- func (s *DescribeClustersResponseBody) SetVswitchId(v string) *DescribeClustersResponseBody
- func (s *DescribeClustersResponseBody) SetWorkerRamRoleName(v string) *DescribeClustersResponseBody
- func (s *DescribeClustersResponseBody) SetZoneId(v string) *DescribeClustersResponseBody
- func (s DescribeClustersResponseBody) String() string
- type DescribeClustersResponseBodyTags
- func (s DescribeClustersResponseBodyTags) GoString() string
- func (s *DescribeClustersResponseBodyTags) SetKey(v string) *DescribeClustersResponseBodyTags
- func (s *DescribeClustersResponseBodyTags) SetValue(v string) *DescribeClustersResponseBodyTags
- func (s DescribeClustersResponseBodyTags) String() string
- type DescribeClustersV1Request
- func (s DescribeClustersV1Request) GoString() string
- func (s *DescribeClustersV1Request) SetClusterId(v string) *DescribeClustersV1Request
- func (s *DescribeClustersV1Request) SetClusterSpec(v string) *DescribeClustersV1Request
- func (s *DescribeClustersV1Request) SetClusterType(v string) *DescribeClustersV1Request
- func (s *DescribeClustersV1Request) SetName(v string) *DescribeClustersV1Request
- func (s *DescribeClustersV1Request) SetPageNumber(v int64) *DescribeClustersV1Request
- func (s *DescribeClustersV1Request) SetPageSize(v int64) *DescribeClustersV1Request
- func (s *DescribeClustersV1Request) SetProfile(v string) *DescribeClustersV1Request
- func (s *DescribeClustersV1Request) SetRegionId(v string) *DescribeClustersV1Request
- func (s DescribeClustersV1Request) String() string
- type DescribeClustersV1Response
- func (s DescribeClustersV1Response) GoString() string
- func (s *DescribeClustersV1Response) SetBody(v *DescribeClustersV1ResponseBody) *DescribeClustersV1Response
- func (s *DescribeClustersV1Response) SetHeaders(v map[string]*string) *DescribeClustersV1Response
- func (s *DescribeClustersV1Response) SetStatusCode(v int32) *DescribeClustersV1Response
- func (s DescribeClustersV1Response) String() string
- type DescribeClustersV1ResponseBody
- func (s DescribeClustersV1ResponseBody) GoString() string
- func (s *DescribeClustersV1ResponseBody) SetClusters(v []*DescribeClustersV1ResponseBodyClusters) *DescribeClustersV1ResponseBody
- func (s *DescribeClustersV1ResponseBody) SetPageInfo(v *DescribeClustersV1ResponseBodyPageInfo) *DescribeClustersV1ResponseBody
- func (s DescribeClustersV1ResponseBody) String() string
- type DescribeClustersV1ResponseBodyClusters
- func (s DescribeClustersV1ResponseBodyClusters) GoString() string
- func (s *DescribeClustersV1ResponseBodyClusters) SetClusterDomain(v string) *DescribeClustersV1ResponseBodyClusters
- func (s *DescribeClustersV1ResponseBodyClusters) SetClusterId(v string) *DescribeClustersV1ResponseBodyClusters
- func (s *DescribeClustersV1ResponseBodyClusters) SetClusterSpec(v string) *DescribeClustersV1ResponseBodyClusters
- func (s *DescribeClustersV1ResponseBodyClusters) SetClusterType(v string) *DescribeClustersV1ResponseBodyClusters
- func (s *DescribeClustersV1ResponseBodyClusters) SetContainerCidr(v string) *DescribeClustersV1ResponseBodyClusters
- func (s *DescribeClustersV1ResponseBodyClusters) SetCreated(v string) *DescribeClustersV1ResponseBodyClusters
- func (s *DescribeClustersV1ResponseBodyClusters) SetCurrentVersion(v string) *DescribeClustersV1ResponseBodyClusters
- func (s *DescribeClustersV1ResponseBodyClusters) SetDeletionProtection(v bool) *DescribeClustersV1ResponseBodyClusters
- func (s *DescribeClustersV1ResponseBodyClusters) SetDockerVersion(v string) *DescribeClustersV1ResponseBodyClusters
- func (s *DescribeClustersV1ResponseBodyClusters) SetExternalLoadbalancerId(v string) *DescribeClustersV1ResponseBodyClusters
- func (s *DescribeClustersV1ResponseBodyClusters) SetInitVersion(v string) *DescribeClustersV1ResponseBodyClusters
- func (s *DescribeClustersV1ResponseBodyClusters) SetIpStack(v string) *DescribeClustersV1ResponseBodyClusters
- func (s *DescribeClustersV1ResponseBodyClusters) SetMaintenanceWindow(v *MaintenanceWindow) *DescribeClustersV1ResponseBodyClusters
- func (s *DescribeClustersV1ResponseBodyClusters) SetMasterUrl(v string) *DescribeClustersV1ResponseBodyClusters
- func (s *DescribeClustersV1ResponseBodyClusters) SetMetaData(v string) *DescribeClustersV1ResponseBodyClusters
- func (s *DescribeClustersV1ResponseBodyClusters) SetName(v string) *DescribeClustersV1ResponseBodyClusters
- func (s *DescribeClustersV1ResponseBodyClusters) SetNetworkMode(v string) *DescribeClustersV1ResponseBodyClusters
- func (s *DescribeClustersV1ResponseBodyClusters) SetNextVersion(v string) *DescribeClustersV1ResponseBodyClusters
- func (s *DescribeClustersV1ResponseBodyClusters) SetOperationPolicy(v *DescribeClustersV1ResponseBodyClustersOperationPolicy) *DescribeClustersV1ResponseBodyClusters
- func (s *DescribeClustersV1ResponseBodyClusters) SetPrivateZone(v bool) *DescribeClustersV1ResponseBodyClusters
- func (s *DescribeClustersV1ResponseBodyClusters) SetProfile(v string) *DescribeClustersV1ResponseBodyClusters
- func (s *DescribeClustersV1ResponseBodyClusters) SetProxyMode(v string) *DescribeClustersV1ResponseBodyClusters
- func (s *DescribeClustersV1ResponseBodyClusters) SetRegionId(v string) *DescribeClustersV1ResponseBodyClusters
- func (s *DescribeClustersV1ResponseBodyClusters) SetResourceGroupId(v string) *DescribeClustersV1ResponseBodyClusters
- func (s *DescribeClustersV1ResponseBodyClusters) SetSecurityGroupId(v string) *DescribeClustersV1ResponseBodyClusters
- func (s *DescribeClustersV1ResponseBodyClusters) SetServiceCidr(v string) *DescribeClustersV1ResponseBodyClusters
- func (s *DescribeClustersV1ResponseBodyClusters) SetSize(v int64) *DescribeClustersV1ResponseBodyClusters
- func (s *DescribeClustersV1ResponseBodyClusters) SetState(v string) *DescribeClustersV1ResponseBodyClusters
- func (s *DescribeClustersV1ResponseBodyClusters) SetSubnetCidr(v string) *DescribeClustersV1ResponseBodyClusters
- func (s *DescribeClustersV1ResponseBodyClusters) SetTags(v []*Tag) *DescribeClustersV1ResponseBodyClusters
- func (s *DescribeClustersV1ResponseBodyClusters) SetTimezone(v string) *DescribeClustersV1ResponseBodyClusters
- func (s *DescribeClustersV1ResponseBodyClusters) SetUpdated(v string) *DescribeClustersV1ResponseBodyClusters
- func (s *DescribeClustersV1ResponseBodyClusters) SetVpcId(v string) *DescribeClustersV1ResponseBodyClusters
- func (s *DescribeClustersV1ResponseBodyClusters) SetVswitchId(v string) *DescribeClustersV1ResponseBodyClusters
- func (s *DescribeClustersV1ResponseBodyClusters) SetVswitchIds(v []*string) *DescribeClustersV1ResponseBodyClusters
- func (s *DescribeClustersV1ResponseBodyClusters) SetWorkerRamRoleName(v string) *DescribeClustersV1ResponseBodyClusters
- func (s *DescribeClustersV1ResponseBodyClusters) SetZoneId(v string) *DescribeClustersV1ResponseBodyClusters
- func (s DescribeClustersV1ResponseBodyClusters) String() string
- type DescribeClustersV1ResponseBodyClustersOperationPolicy
- func (s DescribeClustersV1ResponseBodyClustersOperationPolicy) GoString() string
- func (s *DescribeClustersV1ResponseBodyClustersOperationPolicy) SetClusterAutoUpgrade(v *DescribeClustersV1ResponseBodyClustersOperationPolicyClusterAutoUpgrade) *DescribeClustersV1ResponseBodyClustersOperationPolicy
- func (s DescribeClustersV1ResponseBodyClustersOperationPolicy) String() string
- type DescribeClustersV1ResponseBodyClustersOperationPolicyClusterAutoUpgrade
- func (s DescribeClustersV1ResponseBodyClustersOperationPolicyClusterAutoUpgrade) GoString() string
- func (s *DescribeClustersV1ResponseBodyClustersOperationPolicyClusterAutoUpgrade) SetChannel(v string) *DescribeClustersV1ResponseBodyClustersOperationPolicyClusterAutoUpgrade
- func (s *DescribeClustersV1ResponseBodyClustersOperationPolicyClusterAutoUpgrade) SetEnabled(v bool) *DescribeClustersV1ResponseBodyClustersOperationPolicyClusterAutoUpgrade
- func (s DescribeClustersV1ResponseBodyClustersOperationPolicyClusterAutoUpgrade) String() string
- type DescribeClustersV1ResponseBodyPageInfo
- func (s DescribeClustersV1ResponseBodyPageInfo) GoString() string
- func (s *DescribeClustersV1ResponseBodyPageInfo) SetPageNumber(v int32) *DescribeClustersV1ResponseBodyPageInfo
- func (s *DescribeClustersV1ResponseBodyPageInfo) SetPageSize(v int32) *DescribeClustersV1ResponseBodyPageInfo
- func (s *DescribeClustersV1ResponseBodyPageInfo) SetTotalCount(v int32) *DescribeClustersV1ResponseBodyPageInfo
- func (s DescribeClustersV1ResponseBodyPageInfo) String() string
- type DescribeEdgeMachineActiveProcessResponse
- func (s DescribeEdgeMachineActiveProcessResponse) GoString() string
- func (s *DescribeEdgeMachineActiveProcessResponse) SetBody(v *DescribeEdgeMachineActiveProcessResponseBody) *DescribeEdgeMachineActiveProcessResponse
- func (s *DescribeEdgeMachineActiveProcessResponse) SetHeaders(v map[string]*string) *DescribeEdgeMachineActiveProcessResponse
- func (s *DescribeEdgeMachineActiveProcessResponse) SetStatusCode(v int32) *DescribeEdgeMachineActiveProcessResponse
- func (s DescribeEdgeMachineActiveProcessResponse) String() string
- type DescribeEdgeMachineActiveProcessResponseBody
- func (s DescribeEdgeMachineActiveProcessResponseBody) GoString() string
- func (s *DescribeEdgeMachineActiveProcessResponseBody) SetLogs(v string) *DescribeEdgeMachineActiveProcessResponseBody
- func (s *DescribeEdgeMachineActiveProcessResponseBody) SetProgress(v int64) *DescribeEdgeMachineActiveProcessResponseBody
- func (s *DescribeEdgeMachineActiveProcessResponseBody) SetRequestId(v string) *DescribeEdgeMachineActiveProcessResponseBody
- func (s *DescribeEdgeMachineActiveProcessResponseBody) SetState(v string) *DescribeEdgeMachineActiveProcessResponseBody
- func (s *DescribeEdgeMachineActiveProcessResponseBody) SetStep(v string) *DescribeEdgeMachineActiveProcessResponseBody
- func (s DescribeEdgeMachineActiveProcessResponseBody) String() string
- type DescribeEdgeMachineModelsResponse
- func (s DescribeEdgeMachineModelsResponse) GoString() string
- func (s *DescribeEdgeMachineModelsResponse) SetBody(v *DescribeEdgeMachineModelsResponseBody) *DescribeEdgeMachineModelsResponse
- func (s *DescribeEdgeMachineModelsResponse) SetHeaders(v map[string]*string) *DescribeEdgeMachineModelsResponse
- func (s *DescribeEdgeMachineModelsResponse) SetStatusCode(v int32) *DescribeEdgeMachineModelsResponse
- func (s DescribeEdgeMachineModelsResponse) String() string
- type DescribeEdgeMachineModelsResponseBody
- type DescribeEdgeMachineModelsResponseBodyModels
- func (s DescribeEdgeMachineModelsResponseBodyModels) GoString() string
- func (s *DescribeEdgeMachineModelsResponseBodyModels) SetCpu(v int32) *DescribeEdgeMachineModelsResponseBodyModels
- func (s *DescribeEdgeMachineModelsResponseBodyModels) SetCpuArch(v string) *DescribeEdgeMachineModelsResponseBodyModels
- func (s *DescribeEdgeMachineModelsResponseBodyModels) SetCreated(v string) *DescribeEdgeMachineModelsResponseBodyModels
- func (s *DescribeEdgeMachineModelsResponseBodyModels) SetDescription(v string) *DescribeEdgeMachineModelsResponseBodyModels
- func (s *DescribeEdgeMachineModelsResponseBodyModels) SetManageRuntime(v int32) *DescribeEdgeMachineModelsResponseBodyModels
- func (s *DescribeEdgeMachineModelsResponseBodyModels) SetMemory(v int32) *DescribeEdgeMachineModelsResponseBodyModels
- func (s *DescribeEdgeMachineModelsResponseBodyModels) SetModel(v string) *DescribeEdgeMachineModelsResponseBodyModels
- func (s *DescribeEdgeMachineModelsResponseBodyModels) SetModelId(v string) *DescribeEdgeMachineModelsResponseBodyModels
- func (s DescribeEdgeMachineModelsResponseBodyModels) String() string
- type DescribeEdgeMachineTunnelConfigDetailResponse
- func (s DescribeEdgeMachineTunnelConfigDetailResponse) GoString() string
- func (s *DescribeEdgeMachineTunnelConfigDetailResponse) SetBody(v *DescribeEdgeMachineTunnelConfigDetailResponseBody) *DescribeEdgeMachineTunnelConfigDetailResponse
- func (s *DescribeEdgeMachineTunnelConfigDetailResponse) SetHeaders(v map[string]*string) *DescribeEdgeMachineTunnelConfigDetailResponse
- func (s *DescribeEdgeMachineTunnelConfigDetailResponse) SetStatusCode(v int32) *DescribeEdgeMachineTunnelConfigDetailResponse
- func (s DescribeEdgeMachineTunnelConfigDetailResponse) String() string
- type DescribeEdgeMachineTunnelConfigDetailResponseBody
- func (s DescribeEdgeMachineTunnelConfigDetailResponseBody) GoString() string
- func (s *DescribeEdgeMachineTunnelConfigDetailResponseBody) SetDeviceName(v string) *DescribeEdgeMachineTunnelConfigDetailResponseBody
- func (s *DescribeEdgeMachineTunnelConfigDetailResponseBody) SetModel(v string) *DescribeEdgeMachineTunnelConfigDetailResponseBody
- func (s *DescribeEdgeMachineTunnelConfigDetailResponseBody) SetProductKey(v string) *DescribeEdgeMachineTunnelConfigDetailResponseBody
- func (s *DescribeEdgeMachineTunnelConfigDetailResponseBody) SetRequestId(v string) *DescribeEdgeMachineTunnelConfigDetailResponseBody
- func (s *DescribeEdgeMachineTunnelConfigDetailResponseBody) SetSn(v string) *DescribeEdgeMachineTunnelConfigDetailResponseBody
- func (s *DescribeEdgeMachineTunnelConfigDetailResponseBody) SetToken(v string) *DescribeEdgeMachineTunnelConfigDetailResponseBody
- func (s *DescribeEdgeMachineTunnelConfigDetailResponseBody) SetTunnelEndpoint(v string) *DescribeEdgeMachineTunnelConfigDetailResponseBody
- func (s DescribeEdgeMachineTunnelConfigDetailResponseBody) String() string
- type DescribeEdgeMachinesRequest
- func (s DescribeEdgeMachinesRequest) GoString() string
- func (s *DescribeEdgeMachinesRequest) SetHostname(v string) *DescribeEdgeMachinesRequest
- func (s *DescribeEdgeMachinesRequest) SetLifeState(v string) *DescribeEdgeMachinesRequest
- func (s *DescribeEdgeMachinesRequest) SetModel(v string) *DescribeEdgeMachinesRequest
- func (s *DescribeEdgeMachinesRequest) SetOnlineState(v string) *DescribeEdgeMachinesRequest
- func (s *DescribeEdgeMachinesRequest) SetPageNumber(v int64) *DescribeEdgeMachinesRequest
- func (s *DescribeEdgeMachinesRequest) SetPageSize(v int64) *DescribeEdgeMachinesRequest
- func (s DescribeEdgeMachinesRequest) String() string
- type DescribeEdgeMachinesResponse
- func (s DescribeEdgeMachinesResponse) GoString() string
- func (s *DescribeEdgeMachinesResponse) SetBody(v *DescribeEdgeMachinesResponseBody) *DescribeEdgeMachinesResponse
- func (s *DescribeEdgeMachinesResponse) SetHeaders(v map[string]*string) *DescribeEdgeMachinesResponse
- func (s *DescribeEdgeMachinesResponse) SetStatusCode(v int32) *DescribeEdgeMachinesResponse
- func (s DescribeEdgeMachinesResponse) String() string
- type DescribeEdgeMachinesResponseBody
- func (s DescribeEdgeMachinesResponseBody) GoString() string
- func (s *DescribeEdgeMachinesResponseBody) SetEdgeMachines(v []*DescribeEdgeMachinesResponseBodyEdgeMachines) *DescribeEdgeMachinesResponseBody
- func (s *DescribeEdgeMachinesResponseBody) SetPageInfo(v *DescribeEdgeMachinesResponseBodyPageInfo) *DescribeEdgeMachinesResponseBody
- func (s DescribeEdgeMachinesResponseBody) String() string
- type DescribeEdgeMachinesResponseBodyEdgeMachines
- func (s DescribeEdgeMachinesResponseBodyEdgeMachines) GoString() string
- func (s *DescribeEdgeMachinesResponseBodyEdgeMachines) SetActiveTime(v string) *DescribeEdgeMachinesResponseBodyEdgeMachines
- func (s *DescribeEdgeMachinesResponseBodyEdgeMachines) SetCreated(v string) *DescribeEdgeMachinesResponseBodyEdgeMachines
- func (s *DescribeEdgeMachinesResponseBodyEdgeMachines) SetEdgeMachineId(v string) *DescribeEdgeMachinesResponseBodyEdgeMachines
- func (s *DescribeEdgeMachinesResponseBodyEdgeMachines) SetHostname(v string) *DescribeEdgeMachinesResponseBodyEdgeMachines
- func (s *DescribeEdgeMachinesResponseBodyEdgeMachines) SetLifeState(v string) *DescribeEdgeMachinesResponseBodyEdgeMachines
- func (s *DescribeEdgeMachinesResponseBodyEdgeMachines) SetModel(v string) *DescribeEdgeMachinesResponseBodyEdgeMachines
- func (s *DescribeEdgeMachinesResponseBodyEdgeMachines) SetName(v string) *DescribeEdgeMachinesResponseBodyEdgeMachines
- func (s *DescribeEdgeMachinesResponseBodyEdgeMachines) SetOnlineState(v string) *DescribeEdgeMachinesResponseBodyEdgeMachines
- func (s *DescribeEdgeMachinesResponseBodyEdgeMachines) SetSn(v string) *DescribeEdgeMachinesResponseBodyEdgeMachines
- func (s *DescribeEdgeMachinesResponseBodyEdgeMachines) SetUpdated(v string) *DescribeEdgeMachinesResponseBodyEdgeMachines
- func (s DescribeEdgeMachinesResponseBodyEdgeMachines) String() string
- type DescribeEdgeMachinesResponseBodyPageInfo
- func (s DescribeEdgeMachinesResponseBodyPageInfo) GoString() string
- func (s *DescribeEdgeMachinesResponseBodyPageInfo) SetPageNumber(v int32) *DescribeEdgeMachinesResponseBodyPageInfo
- func (s *DescribeEdgeMachinesResponseBodyPageInfo) SetPageSize(v int32) *DescribeEdgeMachinesResponseBodyPageInfo
- func (s *DescribeEdgeMachinesResponseBodyPageInfo) SetTotalCount(v int32) *DescribeEdgeMachinesResponseBodyPageInfo
- func (s DescribeEdgeMachinesResponseBodyPageInfo) String() string
- type DescribeEventsForRegionRequest
- func (s DescribeEventsForRegionRequest) GoString() string
- func (s *DescribeEventsForRegionRequest) SetClusterId(v string) *DescribeEventsForRegionRequest
- func (s *DescribeEventsForRegionRequest) SetPageNumber(v int64) *DescribeEventsForRegionRequest
- func (s *DescribeEventsForRegionRequest) SetPageSize(v int64) *DescribeEventsForRegionRequest
- func (s DescribeEventsForRegionRequest) String() string
- type DescribeEventsForRegionResponse
- func (s DescribeEventsForRegionResponse) GoString() string
- func (s *DescribeEventsForRegionResponse) SetBody(v *DescribeEventsForRegionResponseBody) *DescribeEventsForRegionResponse
- func (s *DescribeEventsForRegionResponse) SetHeaders(v map[string]*string) *DescribeEventsForRegionResponse
- func (s *DescribeEventsForRegionResponse) SetStatusCode(v int32) *DescribeEventsForRegionResponse
- func (s DescribeEventsForRegionResponse) String() string
- type DescribeEventsForRegionResponseBody
- func (s DescribeEventsForRegionResponseBody) GoString() string
- func (s *DescribeEventsForRegionResponseBody) SetEvents(v []*DescribeEventsForRegionResponseBodyEvents) *DescribeEventsForRegionResponseBody
- func (s *DescribeEventsForRegionResponseBody) SetPageInfo(v *DescribeEventsForRegionResponseBodyPageInfo) *DescribeEventsForRegionResponseBody
- func (s DescribeEventsForRegionResponseBody) String() string
- type DescribeEventsForRegionResponseBodyEvents
- func (s DescribeEventsForRegionResponseBodyEvents) GoString() string
- func (s *DescribeEventsForRegionResponseBodyEvents) SetClusterId(v string) *DescribeEventsForRegionResponseBodyEvents
- func (s *DescribeEventsForRegionResponseBodyEvents) SetData(v *DescribeEventsForRegionResponseBodyEventsData) *DescribeEventsForRegionResponseBodyEvents
- func (s *DescribeEventsForRegionResponseBodyEvents) SetEventId(v string) *DescribeEventsForRegionResponseBodyEvents
- func (s *DescribeEventsForRegionResponseBodyEvents) SetSource(v string) *DescribeEventsForRegionResponseBodyEvents
- func (s *DescribeEventsForRegionResponseBodyEvents) SetSubject(v string) *DescribeEventsForRegionResponseBodyEvents
- func (s *DescribeEventsForRegionResponseBodyEvents) SetTime(v string) *DescribeEventsForRegionResponseBodyEvents
- func (s *DescribeEventsForRegionResponseBodyEvents) SetType(v string) *DescribeEventsForRegionResponseBodyEvents
- func (s DescribeEventsForRegionResponseBodyEvents) String() string
- type DescribeEventsForRegionResponseBodyEventsData
- func (s DescribeEventsForRegionResponseBodyEventsData) GoString() string
- func (s *DescribeEventsForRegionResponseBodyEventsData) SetLevel(v string) *DescribeEventsForRegionResponseBodyEventsData
- func (s *DescribeEventsForRegionResponseBodyEventsData) SetMessage(v string) *DescribeEventsForRegionResponseBodyEventsData
- func (s *DescribeEventsForRegionResponseBodyEventsData) SetReason(v string) *DescribeEventsForRegionResponseBodyEventsData
- func (s DescribeEventsForRegionResponseBodyEventsData) String() string
- type DescribeEventsForRegionResponseBodyPageInfo
- func (s DescribeEventsForRegionResponseBodyPageInfo) GoString() string
- func (s *DescribeEventsForRegionResponseBodyPageInfo) SetPageNumber(v int64) *DescribeEventsForRegionResponseBodyPageInfo
- func (s *DescribeEventsForRegionResponseBodyPageInfo) SetPageSize(v int64) *DescribeEventsForRegionResponseBodyPageInfo
- func (s *DescribeEventsForRegionResponseBodyPageInfo) SetTotalCount(v int64) *DescribeEventsForRegionResponseBodyPageInfo
- func (s DescribeEventsForRegionResponseBodyPageInfo) String() string
- type DescribeEventsRequest
- func (s DescribeEventsRequest) GoString() string
- func (s *DescribeEventsRequest) SetClusterId(v string) *DescribeEventsRequest
- func (s *DescribeEventsRequest) SetPageNumber(v int64) *DescribeEventsRequest
- func (s *DescribeEventsRequest) SetPageSize(v int64) *DescribeEventsRequest
- func (s *DescribeEventsRequest) SetType(v string) *DescribeEventsRequest
- func (s DescribeEventsRequest) String() string
- type DescribeEventsResponse
- func (s DescribeEventsResponse) GoString() string
- func (s *DescribeEventsResponse) SetBody(v *DescribeEventsResponseBody) *DescribeEventsResponse
- func (s *DescribeEventsResponse) SetHeaders(v map[string]*string) *DescribeEventsResponse
- func (s *DescribeEventsResponse) SetStatusCode(v int32) *DescribeEventsResponse
- func (s DescribeEventsResponse) String() string
- type DescribeEventsResponseBody
- func (s DescribeEventsResponseBody) GoString() string
- func (s *DescribeEventsResponseBody) SetEvents(v []*DescribeEventsResponseBodyEvents) *DescribeEventsResponseBody
- func (s *DescribeEventsResponseBody) SetPageInfo(v *DescribeEventsResponseBodyPageInfo) *DescribeEventsResponseBody
- func (s DescribeEventsResponseBody) String() string
- type DescribeEventsResponseBodyEvents
- func (s DescribeEventsResponseBodyEvents) GoString() string
- func (s *DescribeEventsResponseBodyEvents) SetClusterId(v string) *DescribeEventsResponseBodyEvents
- func (s *DescribeEventsResponseBodyEvents) SetData(v *DescribeEventsResponseBodyEventsData) *DescribeEventsResponseBodyEvents
- func (s *DescribeEventsResponseBodyEvents) SetEventId(v string) *DescribeEventsResponseBodyEvents
- func (s *DescribeEventsResponseBodyEvents) SetSource(v string) *DescribeEventsResponseBodyEvents
- func (s *DescribeEventsResponseBodyEvents) SetSubject(v string) *DescribeEventsResponseBodyEvents
- func (s *DescribeEventsResponseBodyEvents) SetTime(v string) *DescribeEventsResponseBodyEvents
- func (s *DescribeEventsResponseBodyEvents) SetType(v string) *DescribeEventsResponseBodyEvents
- func (s DescribeEventsResponseBodyEvents) String() string
- type DescribeEventsResponseBodyEventsData
- func (s DescribeEventsResponseBodyEventsData) GoString() string
- func (s *DescribeEventsResponseBodyEventsData) SetLevel(v string) *DescribeEventsResponseBodyEventsData
- func (s *DescribeEventsResponseBodyEventsData) SetMessage(v string) *DescribeEventsResponseBodyEventsData
- func (s *DescribeEventsResponseBodyEventsData) SetReason(v string) *DescribeEventsResponseBodyEventsData
- func (s DescribeEventsResponseBodyEventsData) String() string
- type DescribeEventsResponseBodyPageInfo
- func (s DescribeEventsResponseBodyPageInfo) GoString() string
- func (s *DescribeEventsResponseBodyPageInfo) SetPageNumber(v int64) *DescribeEventsResponseBodyPageInfo
- func (s *DescribeEventsResponseBodyPageInfo) SetPageSize(v int64) *DescribeEventsResponseBodyPageInfo
- func (s *DescribeEventsResponseBodyPageInfo) SetTotalCount(v int64) *DescribeEventsResponseBodyPageInfo
- func (s DescribeEventsResponseBodyPageInfo) String() string
- type DescribeExternalAgentRequest
- func (s DescribeExternalAgentRequest) GoString() string
- func (s *DescribeExternalAgentRequest) SetAgentMode(v string) *DescribeExternalAgentRequest
- func (s *DescribeExternalAgentRequest) SetPrivateIpAddress(v string) *DescribeExternalAgentRequest
- func (s DescribeExternalAgentRequest) String() string
- type DescribeExternalAgentResponse
- func (s DescribeExternalAgentResponse) GoString() string
- func (s *DescribeExternalAgentResponse) SetBody(v *DescribeExternalAgentResponseBody) *DescribeExternalAgentResponse
- func (s *DescribeExternalAgentResponse) SetHeaders(v map[string]*string) *DescribeExternalAgentResponse
- func (s *DescribeExternalAgentResponse) SetStatusCode(v int32) *DescribeExternalAgentResponse
- func (s DescribeExternalAgentResponse) String() string
- type DescribeExternalAgentResponseBody
- type DescribeKubernetesVersionMetadataRequest
- func (s DescribeKubernetesVersionMetadataRequest) GoString() string
- func (s *DescribeKubernetesVersionMetadataRequest) SetClusterType(v string) *DescribeKubernetesVersionMetadataRequest
- func (s *DescribeKubernetesVersionMetadataRequest) SetKubernetesVersion(v string) *DescribeKubernetesVersionMetadataRequest
- func (s *DescribeKubernetesVersionMetadataRequest) SetMode(v string) *DescribeKubernetesVersionMetadataRequest
- func (s *DescribeKubernetesVersionMetadataRequest) SetProfile(v string) *DescribeKubernetesVersionMetadataRequest
- func (s *DescribeKubernetesVersionMetadataRequest) SetQueryUpgradableVersion(v bool) *DescribeKubernetesVersionMetadataRequest
- func (s *DescribeKubernetesVersionMetadataRequest) SetRegion(v string) *DescribeKubernetesVersionMetadataRequest
- func (s *DescribeKubernetesVersionMetadataRequest) SetRuntime(v string) *DescribeKubernetesVersionMetadataRequest
- func (s DescribeKubernetesVersionMetadataRequest) String() string
- type DescribeKubernetesVersionMetadataResponse
- func (s DescribeKubernetesVersionMetadataResponse) GoString() string
- func (s *DescribeKubernetesVersionMetadataResponse) SetBody(v []*DescribeKubernetesVersionMetadataResponseBody) *DescribeKubernetesVersionMetadataResponse
- func (s *DescribeKubernetesVersionMetadataResponse) SetHeaders(v map[string]*string) *DescribeKubernetesVersionMetadataResponse
- func (s *DescribeKubernetesVersionMetadataResponse) SetStatusCode(v int32) *DescribeKubernetesVersionMetadataResponse
- func (s DescribeKubernetesVersionMetadataResponse) String() string
- type DescribeKubernetesVersionMetadataResponseBody
- func (s DescribeKubernetesVersionMetadataResponseBody) GoString() string
- func (s *DescribeKubernetesVersionMetadataResponseBody) SetCapabilities(v map[string]interface{}) *DescribeKubernetesVersionMetadataResponseBody
- func (s *DescribeKubernetesVersionMetadataResponseBody) SetCreatable(v bool) *DescribeKubernetesVersionMetadataResponseBody
- func (s *DescribeKubernetesVersionMetadataResponseBody) SetExpirationDate(v string) *DescribeKubernetesVersionMetadataResponseBody
- func (s *DescribeKubernetesVersionMetadataResponseBody) SetImages(v []*DescribeKubernetesVersionMetadataResponseBodyImages) *DescribeKubernetesVersionMetadataResponseBody
- func (s *DescribeKubernetesVersionMetadataResponseBody) SetMetaData(v map[string]interface{}) *DescribeKubernetesVersionMetadataResponseBody
- func (s *DescribeKubernetesVersionMetadataResponseBody) SetReleaseDate(v string) *DescribeKubernetesVersionMetadataResponseBody
- func (s *DescribeKubernetesVersionMetadataResponseBody) SetRuntimes(v []*Runtime) *DescribeKubernetesVersionMetadataResponseBody
- func (s *DescribeKubernetesVersionMetadataResponseBody) SetUpgradableVersions(v []*string) *DescribeKubernetesVersionMetadataResponseBody
- func (s *DescribeKubernetesVersionMetadataResponseBody) SetVersion(v string) *DescribeKubernetesVersionMetadataResponseBody
- func (s DescribeKubernetesVersionMetadataResponseBody) String() string
- type DescribeKubernetesVersionMetadataResponseBodyImages
- func (s DescribeKubernetesVersionMetadataResponseBodyImages) GoString() string
- func (s *DescribeKubernetesVersionMetadataResponseBodyImages) SetArchitecture(v string) *DescribeKubernetesVersionMetadataResponseBodyImages
- func (s *DescribeKubernetesVersionMetadataResponseBodyImages) SetImageCategory(v string) *DescribeKubernetesVersionMetadataResponseBodyImages
- func (s *DescribeKubernetesVersionMetadataResponseBodyImages) SetImageId(v string) *DescribeKubernetesVersionMetadataResponseBodyImages
- func (s *DescribeKubernetesVersionMetadataResponseBodyImages) SetImageName(v string) *DescribeKubernetesVersionMetadataResponseBodyImages
- func (s *DescribeKubernetesVersionMetadataResponseBodyImages) SetImageType(v string) *DescribeKubernetesVersionMetadataResponseBodyImages
- func (s *DescribeKubernetesVersionMetadataResponseBodyImages) SetOsType(v string) *DescribeKubernetesVersionMetadataResponseBodyImages
- func (s *DescribeKubernetesVersionMetadataResponseBodyImages) SetOsVersion(v string) *DescribeKubernetesVersionMetadataResponseBodyImages
- func (s *DescribeKubernetesVersionMetadataResponseBodyImages) SetPlatform(v string) *DescribeKubernetesVersionMetadataResponseBodyImages
- func (s DescribeKubernetesVersionMetadataResponseBodyImages) String() string
- type DescribeNodePoolVulsRequest
- type DescribeNodePoolVulsResponse
- func (s DescribeNodePoolVulsResponse) GoString() string
- func (s *DescribeNodePoolVulsResponse) SetBody(v *DescribeNodePoolVulsResponseBody) *DescribeNodePoolVulsResponse
- func (s *DescribeNodePoolVulsResponse) SetHeaders(v map[string]*string) *DescribeNodePoolVulsResponse
- func (s *DescribeNodePoolVulsResponse) SetStatusCode(v int32) *DescribeNodePoolVulsResponse
- func (s DescribeNodePoolVulsResponse) String() string
- type DescribeNodePoolVulsResponseBody
- func (s DescribeNodePoolVulsResponseBody) GoString() string
- func (s *DescribeNodePoolVulsResponseBody) SetVulRecords(v []*DescribeNodePoolVulsResponseBodyVulRecords) *DescribeNodePoolVulsResponseBody
- func (s *DescribeNodePoolVulsResponseBody) SetVulsFixServicePurchased(v bool) *DescribeNodePoolVulsResponseBody
- func (s DescribeNodePoolVulsResponseBody) String() string
- type DescribeNodePoolVulsResponseBodyVulRecords
- func (s DescribeNodePoolVulsResponseBodyVulRecords) GoString() string
- func (s *DescribeNodePoolVulsResponseBodyVulRecords) SetInstanceId(v string) *DescribeNodePoolVulsResponseBodyVulRecords
- func (s *DescribeNodePoolVulsResponseBodyVulRecords) SetNodeName(v string) *DescribeNodePoolVulsResponseBodyVulRecords
- func (s *DescribeNodePoolVulsResponseBodyVulRecords) SetVulList(v []*DescribeNodePoolVulsResponseBodyVulRecordsVulList) *DescribeNodePoolVulsResponseBodyVulRecords
- func (s DescribeNodePoolVulsResponseBodyVulRecords) String() string
- type DescribeNodePoolVulsResponseBodyVulRecordsVulList
- func (s DescribeNodePoolVulsResponseBodyVulRecordsVulList) GoString() string
- func (s *DescribeNodePoolVulsResponseBodyVulRecordsVulList) SetAliasName(v string) *DescribeNodePoolVulsResponseBodyVulRecordsVulList
- func (s *DescribeNodePoolVulsResponseBodyVulRecordsVulList) SetCveList(v []*string) *DescribeNodePoolVulsResponseBodyVulRecordsVulList
- func (s *DescribeNodePoolVulsResponseBodyVulRecordsVulList) SetName(v string) *DescribeNodePoolVulsResponseBodyVulRecordsVulList
- func (s *DescribeNodePoolVulsResponseBodyVulRecordsVulList) SetNecessity(v string) *DescribeNodePoolVulsResponseBodyVulRecordsVulList
- func (s *DescribeNodePoolVulsResponseBodyVulRecordsVulList) SetNeedReboot(v bool) *DescribeNodePoolVulsResponseBodyVulRecordsVulList
- func (s DescribeNodePoolVulsResponseBodyVulRecordsVulList) String() string
- type DescribePoliciesResponse
- func (s DescribePoliciesResponse) GoString() string
- func (s *DescribePoliciesResponse) SetBody(v map[string]interface{}) *DescribePoliciesResponse
- func (s *DescribePoliciesResponse) SetHeaders(v map[string]*string) *DescribePoliciesResponse
- func (s *DescribePoliciesResponse) SetStatusCode(v int32) *DescribePoliciesResponse
- func (s DescribePoliciesResponse) String() string
- type DescribePolicyDetailsResponse
- func (s DescribePolicyDetailsResponse) GoString() string
- func (s *DescribePolicyDetailsResponse) SetBody(v *DescribePolicyDetailsResponseBody) *DescribePolicyDetailsResponse
- func (s *DescribePolicyDetailsResponse) SetHeaders(v map[string]*string) *DescribePolicyDetailsResponse
- func (s *DescribePolicyDetailsResponse) SetStatusCode(v int32) *DescribePolicyDetailsResponse
- func (s DescribePolicyDetailsResponse) String() string
- type DescribePolicyDetailsResponseBody
- func (s DescribePolicyDetailsResponseBody) GoString() string
- func (s *DescribePolicyDetailsResponseBody) SetAction(v string) *DescribePolicyDetailsResponseBody
- func (s *DescribePolicyDetailsResponseBody) SetCategory(v string) *DescribePolicyDetailsResponseBody
- func (s *DescribePolicyDetailsResponseBody) SetDescription(v string) *DescribePolicyDetailsResponseBody
- func (s *DescribePolicyDetailsResponseBody) SetIsDeleted(v int32) *DescribePolicyDetailsResponseBody
- func (s *DescribePolicyDetailsResponseBody) SetName(v string) *DescribePolicyDetailsResponseBody
- func (s *DescribePolicyDetailsResponseBody) SetNoConfig(v int32) *DescribePolicyDetailsResponseBody
- func (s *DescribePolicyDetailsResponseBody) SetSeverity(v string) *DescribePolicyDetailsResponseBody
- func (s *DescribePolicyDetailsResponseBody) SetTemplate(v string) *DescribePolicyDetailsResponseBody
- func (s DescribePolicyDetailsResponseBody) String() string
- type DescribePolicyGovernanceInClusterResponse
- func (s DescribePolicyGovernanceInClusterResponse) GoString() string
- func (s *DescribePolicyGovernanceInClusterResponse) SetBody(v *DescribePolicyGovernanceInClusterResponseBody) *DescribePolicyGovernanceInClusterResponse
- func (s *DescribePolicyGovernanceInClusterResponse) SetHeaders(v map[string]*string) *DescribePolicyGovernanceInClusterResponse
- func (s *DescribePolicyGovernanceInClusterResponse) SetStatusCode(v int32) *DescribePolicyGovernanceInClusterResponse
- func (s DescribePolicyGovernanceInClusterResponse) String() string
- type DescribePolicyGovernanceInClusterResponseBody
- func (s DescribePolicyGovernanceInClusterResponseBody) GoString() string
- func (s *DescribePolicyGovernanceInClusterResponseBody) SetAdmitLog(v *DescribePolicyGovernanceInClusterResponseBodyAdmitLog) *DescribePolicyGovernanceInClusterResponseBody
- func (s *DescribePolicyGovernanceInClusterResponseBody) SetOnState(v []*DescribePolicyGovernanceInClusterResponseBodyOnState) *DescribePolicyGovernanceInClusterResponseBody
- func (s *DescribePolicyGovernanceInClusterResponseBody) SetTotalViolations(v *DescribePolicyGovernanceInClusterResponseBodyTotalViolations) *DescribePolicyGovernanceInClusterResponseBody
- func (s *DescribePolicyGovernanceInClusterResponseBody) SetViolations(v *DescribePolicyGovernanceInClusterResponseBodyViolations) *DescribePolicyGovernanceInClusterResponseBody
- func (s DescribePolicyGovernanceInClusterResponseBody) String() string
- type DescribePolicyGovernanceInClusterResponseBodyAdmitLog
- func (s DescribePolicyGovernanceInClusterResponseBodyAdmitLog) GoString() string
- func (s *DescribePolicyGovernanceInClusterResponseBodyAdmitLog) SetCount(v int64) *DescribePolicyGovernanceInClusterResponseBodyAdmitLog
- func (s *DescribePolicyGovernanceInClusterResponseBodyAdmitLog) SetLog(v *DescribePolicyGovernanceInClusterResponseBodyAdmitLogLog) *DescribePolicyGovernanceInClusterResponseBodyAdmitLog
- func (s *DescribePolicyGovernanceInClusterResponseBodyAdmitLog) SetProgress(v string) *DescribePolicyGovernanceInClusterResponseBodyAdmitLog
- func (s DescribePolicyGovernanceInClusterResponseBodyAdmitLog) String() string
- type DescribePolicyGovernanceInClusterResponseBodyAdmitLogLog
- func (s DescribePolicyGovernanceInClusterResponseBodyAdmitLogLog) GoString() string
- func (s *DescribePolicyGovernanceInClusterResponseBodyAdmitLogLog) SetClusterId(v string) *DescribePolicyGovernanceInClusterResponseBodyAdmitLogLog
- func (s *DescribePolicyGovernanceInClusterResponseBodyAdmitLogLog) SetConstraintKind(v string) *DescribePolicyGovernanceInClusterResponseBodyAdmitLogLog
- func (s *DescribePolicyGovernanceInClusterResponseBodyAdmitLogLog) SetMsg(v string) *DescribePolicyGovernanceInClusterResponseBodyAdmitLogLog
- func (s *DescribePolicyGovernanceInClusterResponseBodyAdmitLogLog) SetResourceKind(v string) *DescribePolicyGovernanceInClusterResponseBodyAdmitLogLog
- func (s *DescribePolicyGovernanceInClusterResponseBodyAdmitLogLog) SetResourceName(v string) *DescribePolicyGovernanceInClusterResponseBodyAdmitLogLog
- func (s *DescribePolicyGovernanceInClusterResponseBodyAdmitLogLog) SetResourceNamespace(v string) *DescribePolicyGovernanceInClusterResponseBodyAdmitLogLog
- func (s DescribePolicyGovernanceInClusterResponseBodyAdmitLogLog) String() string
- type DescribePolicyGovernanceInClusterResponseBodyOnState
- func (s DescribePolicyGovernanceInClusterResponseBodyOnState) GoString() string
- func (s *DescribePolicyGovernanceInClusterResponseBodyOnState) SetEnabledCount(v int32) *DescribePolicyGovernanceInClusterResponseBodyOnState
- func (s *DescribePolicyGovernanceInClusterResponseBodyOnState) SetSeverity(v string) *DescribePolicyGovernanceInClusterResponseBodyOnState
- func (s *DescribePolicyGovernanceInClusterResponseBodyOnState) SetTotal(v int32) *DescribePolicyGovernanceInClusterResponseBodyOnState
- func (s DescribePolicyGovernanceInClusterResponseBodyOnState) String() string
- type DescribePolicyGovernanceInClusterResponseBodyTotalViolations
- func (s DescribePolicyGovernanceInClusterResponseBodyTotalViolations) GoString() string
- func (s *DescribePolicyGovernanceInClusterResponseBodyTotalViolations) SetDeny(v *DescribePolicyGovernanceInClusterResponseBodyTotalViolationsDeny) *DescribePolicyGovernanceInClusterResponseBodyTotalViolations
- func (s *DescribePolicyGovernanceInClusterResponseBodyTotalViolations) SetWarn(v *DescribePolicyGovernanceInClusterResponseBodyTotalViolationsWarn) *DescribePolicyGovernanceInClusterResponseBodyTotalViolations
- func (s DescribePolicyGovernanceInClusterResponseBodyTotalViolations) String() string
- type DescribePolicyGovernanceInClusterResponseBodyTotalViolationsDeny
- func (s DescribePolicyGovernanceInClusterResponseBodyTotalViolationsDeny) GoString() string
- func (s *DescribePolicyGovernanceInClusterResponseBodyTotalViolationsDeny) SetSeverity(v string) *DescribePolicyGovernanceInClusterResponseBodyTotalViolationsDeny
- func (s *DescribePolicyGovernanceInClusterResponseBodyTotalViolationsDeny) SetViolations(v int64) *DescribePolicyGovernanceInClusterResponseBodyTotalViolationsDeny
- func (s DescribePolicyGovernanceInClusterResponseBodyTotalViolationsDeny) String() string
- type DescribePolicyGovernanceInClusterResponseBodyTotalViolationsWarn
- func (s DescribePolicyGovernanceInClusterResponseBodyTotalViolationsWarn) GoString() string
- func (s *DescribePolicyGovernanceInClusterResponseBodyTotalViolationsWarn) SetSeverity(v string) *DescribePolicyGovernanceInClusterResponseBodyTotalViolationsWarn
- func (s *DescribePolicyGovernanceInClusterResponseBodyTotalViolationsWarn) SetViolations(v int64) *DescribePolicyGovernanceInClusterResponseBodyTotalViolationsWarn
- func (s DescribePolicyGovernanceInClusterResponseBodyTotalViolationsWarn) String() string
- type DescribePolicyGovernanceInClusterResponseBodyViolations
- func (s DescribePolicyGovernanceInClusterResponseBodyViolations) GoString() string
- func (s *DescribePolicyGovernanceInClusterResponseBodyViolations) SetDeny(v *DescribePolicyGovernanceInClusterResponseBodyViolationsDeny) *DescribePolicyGovernanceInClusterResponseBodyViolations
- func (s *DescribePolicyGovernanceInClusterResponseBodyViolations) SetWarn(v *DescribePolicyGovernanceInClusterResponseBodyViolationsWarn) *DescribePolicyGovernanceInClusterResponseBodyViolations
- func (s DescribePolicyGovernanceInClusterResponseBodyViolations) String() string
- type DescribePolicyGovernanceInClusterResponseBodyViolationsDeny
- func (s DescribePolicyGovernanceInClusterResponseBodyViolationsDeny) GoString() string
- func (s *DescribePolicyGovernanceInClusterResponseBodyViolationsDeny) SetPolicyDescription(v string) *DescribePolicyGovernanceInClusterResponseBodyViolationsDeny
- func (s *DescribePolicyGovernanceInClusterResponseBodyViolationsDeny) SetPolicyName(v string) *DescribePolicyGovernanceInClusterResponseBodyViolationsDeny
- func (s *DescribePolicyGovernanceInClusterResponseBodyViolationsDeny) SetSeverity(v string) *DescribePolicyGovernanceInClusterResponseBodyViolationsDeny
- func (s *DescribePolicyGovernanceInClusterResponseBodyViolationsDeny) SetViolations(v int64) *DescribePolicyGovernanceInClusterResponseBodyViolationsDeny
- func (s DescribePolicyGovernanceInClusterResponseBodyViolationsDeny) String() string
- type DescribePolicyGovernanceInClusterResponseBodyViolationsWarn
- func (s DescribePolicyGovernanceInClusterResponseBodyViolationsWarn) GoString() string
- func (s *DescribePolicyGovernanceInClusterResponseBodyViolationsWarn) SetPolicyDescription(v string) *DescribePolicyGovernanceInClusterResponseBodyViolationsWarn
- func (s *DescribePolicyGovernanceInClusterResponseBodyViolationsWarn) SetPolicyName(v string) *DescribePolicyGovernanceInClusterResponseBodyViolationsWarn
- func (s *DescribePolicyGovernanceInClusterResponseBodyViolationsWarn) SetSeverity(v string) *DescribePolicyGovernanceInClusterResponseBodyViolationsWarn
- func (s *DescribePolicyGovernanceInClusterResponseBodyViolationsWarn) SetViolations(v int64) *DescribePolicyGovernanceInClusterResponseBodyViolationsWarn
- func (s DescribePolicyGovernanceInClusterResponseBodyViolationsWarn) String() string
- type DescribePolicyInstancesRequest
- func (s DescribePolicyInstancesRequest) GoString() string
- func (s *DescribePolicyInstancesRequest) SetInstanceName(v string) *DescribePolicyInstancesRequest
- func (s *DescribePolicyInstancesRequest) SetPolicyName(v string) *DescribePolicyInstancesRequest
- func (s DescribePolicyInstancesRequest) String() string
- type DescribePolicyInstancesResponse
- func (s DescribePolicyInstancesResponse) GoString() string
- func (s *DescribePolicyInstancesResponse) SetBody(v []*DescribePolicyInstancesResponseBody) *DescribePolicyInstancesResponse
- func (s *DescribePolicyInstancesResponse) SetHeaders(v map[string]*string) *DescribePolicyInstancesResponse
- func (s *DescribePolicyInstancesResponse) SetStatusCode(v int32) *DescribePolicyInstancesResponse
- func (s DescribePolicyInstancesResponse) String() string
- type DescribePolicyInstancesResponseBody
- func (s DescribePolicyInstancesResponseBody) GoString() string
- func (s *DescribePolicyInstancesResponseBody) SetAliUid(v string) *DescribePolicyInstancesResponseBody
- func (s *DescribePolicyInstancesResponseBody) SetClusterId(v string) *DescribePolicyInstancesResponseBody
- func (s *DescribePolicyInstancesResponseBody) SetCreated(v string) *DescribePolicyInstancesResponseBody
- func (s *DescribePolicyInstancesResponseBody) SetInstanceName(v string) *DescribePolicyInstancesResponseBody
- func (s *DescribePolicyInstancesResponseBody) SetIsDeleted(v int64) *DescribePolicyInstancesResponseBody
- func (s *DescribePolicyInstancesResponseBody) SetPolicyAction(v string) *DescribePolicyInstancesResponseBody
- func (s *DescribePolicyInstancesResponseBody) SetPolicyCategory(v string) *DescribePolicyInstancesResponseBody
- func (s *DescribePolicyInstancesResponseBody) SetPolicyDescription(v string) *DescribePolicyInstancesResponseBody
- func (s *DescribePolicyInstancesResponseBody) SetPolicyName(v string) *DescribePolicyInstancesResponseBody
- func (s *DescribePolicyInstancesResponseBody) SetPolicyParameters(v string) *DescribePolicyInstancesResponseBody
- func (s *DescribePolicyInstancesResponseBody) SetPolicyScope(v string) *DescribePolicyInstancesResponseBody
- func (s *DescribePolicyInstancesResponseBody) SetPolicySeverity(v string) *DescribePolicyInstancesResponseBody
- func (s *DescribePolicyInstancesResponseBody) SetResourceId(v string) *DescribePolicyInstancesResponseBody
- func (s *DescribePolicyInstancesResponseBody) SetTotalViolations(v int64) *DescribePolicyInstancesResponseBody
- func (s *DescribePolicyInstancesResponseBody) SetUpdated(v string) *DescribePolicyInstancesResponseBody
- func (s DescribePolicyInstancesResponseBody) String() string
- type DescribePolicyInstancesStatusResponse
- func (s DescribePolicyInstancesStatusResponse) GoString() string
- func (s *DescribePolicyInstancesStatusResponse) SetBody(v *DescribePolicyInstancesStatusResponseBody) *DescribePolicyInstancesStatusResponse
- func (s *DescribePolicyInstancesStatusResponse) SetHeaders(v map[string]*string) *DescribePolicyInstancesStatusResponse
- func (s *DescribePolicyInstancesStatusResponse) SetStatusCode(v int32) *DescribePolicyInstancesStatusResponse
- func (s DescribePolicyInstancesStatusResponse) String() string
- type DescribePolicyInstancesStatusResponseBody
- func (s DescribePolicyInstancesStatusResponseBody) GoString() string
- func (s *DescribePolicyInstancesStatusResponseBody) SetInstancesSeverityCount(v map[string]interface{}) *DescribePolicyInstancesStatusResponseBody
- func (s *DescribePolicyInstancesStatusResponseBody) SetPolicyInstances(v []*DescribePolicyInstancesStatusResponseBodyPolicyInstances) *DescribePolicyInstancesStatusResponseBody
- func (s DescribePolicyInstancesStatusResponseBody) String() string
- type DescribePolicyInstancesStatusResponseBodyPolicyInstances
- func (s DescribePolicyInstancesStatusResponseBodyPolicyInstances) GoString() string
- func (s *DescribePolicyInstancesStatusResponseBodyPolicyInstances) SetPolicyCategory(v string) *DescribePolicyInstancesStatusResponseBodyPolicyInstances
- func (s *DescribePolicyInstancesStatusResponseBodyPolicyInstances) SetPolicyDescription(v string) *DescribePolicyInstancesStatusResponseBodyPolicyInstances
- func (s *DescribePolicyInstancesStatusResponseBodyPolicyInstances) SetPolicyInstancesCount(v int64) *DescribePolicyInstancesStatusResponseBodyPolicyInstances
- func (s *DescribePolicyInstancesStatusResponseBodyPolicyInstances) SetPolicyName(v string) *DescribePolicyInstancesStatusResponseBodyPolicyInstances
- func (s *DescribePolicyInstancesStatusResponseBodyPolicyInstances) SetPolicySeverity(v string) *DescribePolicyInstancesStatusResponseBodyPolicyInstances
- func (s DescribePolicyInstancesStatusResponseBodyPolicyInstances) String() string
- type DescribeResourcesDeleteProtectionRequest
- func (s DescribeResourcesDeleteProtectionRequest) GoString() string
- func (s *DescribeResourcesDeleteProtectionRequest) SetNamespace(v string) *DescribeResourcesDeleteProtectionRequest
- func (s *DescribeResourcesDeleteProtectionRequest) SetResources(v string) *DescribeResourcesDeleteProtectionRequest
- func (s DescribeResourcesDeleteProtectionRequest) String() string
- type DescribeResourcesDeleteProtectionResponse
- func (s DescribeResourcesDeleteProtectionResponse) GoString() string
- func (s *DescribeResourcesDeleteProtectionResponse) SetBody(v []*DescribeResourcesDeleteProtectionResponseBody) *DescribeResourcesDeleteProtectionResponse
- func (s *DescribeResourcesDeleteProtectionResponse) SetHeaders(v map[string]*string) *DescribeResourcesDeleteProtectionResponse
- func (s *DescribeResourcesDeleteProtectionResponse) SetStatusCode(v int32) *DescribeResourcesDeleteProtectionResponse
- func (s DescribeResourcesDeleteProtectionResponse) String() string
- type DescribeResourcesDeleteProtectionResponseBody
- func (s DescribeResourcesDeleteProtectionResponseBody) GoString() string
- func (s *DescribeResourcesDeleteProtectionResponseBody) SetName(v string) *DescribeResourcesDeleteProtectionResponseBody
- func (s *DescribeResourcesDeleteProtectionResponseBody) SetNamespace(v string) *DescribeResourcesDeleteProtectionResponseBody
- func (s *DescribeResourcesDeleteProtectionResponseBody) SetProtection(v bool) *DescribeResourcesDeleteProtectionResponseBody
- func (s *DescribeResourcesDeleteProtectionResponseBody) SetResource(v string) *DescribeResourcesDeleteProtectionResponseBody
- func (s DescribeResourcesDeleteProtectionResponseBody) String() string
- type DescribeSubaccountK8sClusterUserConfigRequest
- func (s DescribeSubaccountK8sClusterUserConfigRequest) GoString() string
- func (s *DescribeSubaccountK8sClusterUserConfigRequest) SetPrivateIpAddress(v bool) *DescribeSubaccountK8sClusterUserConfigRequest
- func (s *DescribeSubaccountK8sClusterUserConfigRequest) SetTemporaryDurationMinutes(v int64) *DescribeSubaccountK8sClusterUserConfigRequest
- func (s DescribeSubaccountK8sClusterUserConfigRequest) String() string
- type DescribeSubaccountK8sClusterUserConfigResponse
- func (s DescribeSubaccountK8sClusterUserConfigResponse) GoString() string
- func (s *DescribeSubaccountK8sClusterUserConfigResponse) SetBody(v *DescribeSubaccountK8sClusterUserConfigResponseBody) *DescribeSubaccountK8sClusterUserConfigResponse
- func (s *DescribeSubaccountK8sClusterUserConfigResponse) SetHeaders(v map[string]*string) *DescribeSubaccountK8sClusterUserConfigResponse
- func (s *DescribeSubaccountK8sClusterUserConfigResponse) SetStatusCode(v int32) *DescribeSubaccountK8sClusterUserConfigResponse
- func (s DescribeSubaccountK8sClusterUserConfigResponse) String() string
- type DescribeSubaccountK8sClusterUserConfigResponseBody
- func (s DescribeSubaccountK8sClusterUserConfigResponseBody) GoString() string
- func (s *DescribeSubaccountK8sClusterUserConfigResponseBody) SetConfig(v string) *DescribeSubaccountK8sClusterUserConfigResponseBody
- func (s *DescribeSubaccountK8sClusterUserConfigResponseBody) SetExpiration(v string) *DescribeSubaccountK8sClusterUserConfigResponseBody
- func (s DescribeSubaccountK8sClusterUserConfigResponseBody) String() string
- type DescribeTaskInfoResponse
- func (s DescribeTaskInfoResponse) GoString() string
- func (s *DescribeTaskInfoResponse) SetBody(v *DescribeTaskInfoResponseBody) *DescribeTaskInfoResponse
- func (s *DescribeTaskInfoResponse) SetHeaders(v map[string]*string) *DescribeTaskInfoResponse
- func (s *DescribeTaskInfoResponse) SetStatusCode(v int32) *DescribeTaskInfoResponse
- func (s DescribeTaskInfoResponse) String() string
- type DescribeTaskInfoResponseBody
- func (s DescribeTaskInfoResponseBody) GoString() string
- func (s *DescribeTaskInfoResponseBody) SetClusterId(v string) *DescribeTaskInfoResponseBody
- func (s *DescribeTaskInfoResponseBody) SetCreated(v string) *DescribeTaskInfoResponseBody
- func (s *DescribeTaskInfoResponseBody) SetCurrentStage(v string) *DescribeTaskInfoResponseBody
- func (s *DescribeTaskInfoResponseBody) SetError(v *DescribeTaskInfoResponseBodyError) *DescribeTaskInfoResponseBody
- func (s *DescribeTaskInfoResponseBody) SetEvents(v []*DescribeTaskInfoResponseBodyEvents) *DescribeTaskInfoResponseBody
- func (s *DescribeTaskInfoResponseBody) SetParameters(v map[string]interface{}) *DescribeTaskInfoResponseBody
- func (s *DescribeTaskInfoResponseBody) SetStages(v []*DescribeTaskInfoResponseBodyStages) *DescribeTaskInfoResponseBody
- func (s *DescribeTaskInfoResponseBody) SetState(v string) *DescribeTaskInfoResponseBody
- func (s *DescribeTaskInfoResponseBody) SetTarget(v *DescribeTaskInfoResponseBodyTarget) *DescribeTaskInfoResponseBody
- func (s *DescribeTaskInfoResponseBody) SetTaskId(v string) *DescribeTaskInfoResponseBody
- func (s *DescribeTaskInfoResponseBody) SetTaskResult(v []*DescribeTaskInfoResponseBodyTaskResult) *DescribeTaskInfoResponseBody
- func (s *DescribeTaskInfoResponseBody) SetTaskType(v string) *DescribeTaskInfoResponseBody
- func (s *DescribeTaskInfoResponseBody) SetUpdated(v string) *DescribeTaskInfoResponseBody
- func (s DescribeTaskInfoResponseBody) String() string
- type DescribeTaskInfoResponseBodyError
- func (s DescribeTaskInfoResponseBodyError) GoString() string
- func (s *DescribeTaskInfoResponseBodyError) SetCode(v string) *DescribeTaskInfoResponseBodyError
- func (s *DescribeTaskInfoResponseBodyError) SetMessage(v string) *DescribeTaskInfoResponseBodyError
- func (s DescribeTaskInfoResponseBodyError) String() string
- type DescribeTaskInfoResponseBodyEvents
- func (s DescribeTaskInfoResponseBodyEvents) GoString() string
- func (s *DescribeTaskInfoResponseBodyEvents) SetAction(v string) *DescribeTaskInfoResponseBodyEvents
- func (s *DescribeTaskInfoResponseBodyEvents) SetLevel(v string) *DescribeTaskInfoResponseBodyEvents
- func (s *DescribeTaskInfoResponseBodyEvents) SetMessage(v string) *DescribeTaskInfoResponseBodyEvents
- func (s *DescribeTaskInfoResponseBodyEvents) SetReason(v string) *DescribeTaskInfoResponseBodyEvents
- func (s *DescribeTaskInfoResponseBodyEvents) SetSource(v string) *DescribeTaskInfoResponseBodyEvents
- func (s *DescribeTaskInfoResponseBodyEvents) SetTimestamp(v string) *DescribeTaskInfoResponseBodyEvents
- func (s DescribeTaskInfoResponseBodyEvents) String() string
- type DescribeTaskInfoResponseBodyStages
- func (s DescribeTaskInfoResponseBodyStages) GoString() string
- func (s *DescribeTaskInfoResponseBodyStages) SetEndTime(v string) *DescribeTaskInfoResponseBodyStages
- func (s *DescribeTaskInfoResponseBodyStages) SetMessage(v string) *DescribeTaskInfoResponseBodyStages
- func (s *DescribeTaskInfoResponseBodyStages) SetOutputs(v map[string]interface{}) *DescribeTaskInfoResponseBodyStages
- func (s *DescribeTaskInfoResponseBodyStages) SetStartTime(v string) *DescribeTaskInfoResponseBodyStages
- func (s *DescribeTaskInfoResponseBodyStages) SetState(v string) *DescribeTaskInfoResponseBodyStages
- func (s DescribeTaskInfoResponseBodyStages) String() string
- type DescribeTaskInfoResponseBodyTarget
- func (s DescribeTaskInfoResponseBodyTarget) GoString() string
- func (s *DescribeTaskInfoResponseBodyTarget) SetId(v string) *DescribeTaskInfoResponseBodyTarget
- func (s *DescribeTaskInfoResponseBodyTarget) SetType(v string) *DescribeTaskInfoResponseBodyTarget
- func (s DescribeTaskInfoResponseBodyTarget) String() string
- type DescribeTaskInfoResponseBodyTaskResult
- func (s DescribeTaskInfoResponseBodyTaskResult) GoString() string
- func (s *DescribeTaskInfoResponseBodyTaskResult) SetData(v string) *DescribeTaskInfoResponseBodyTaskResult
- func (s *DescribeTaskInfoResponseBodyTaskResult) SetStatus(v string) *DescribeTaskInfoResponseBodyTaskResult
- func (s DescribeTaskInfoResponseBodyTaskResult) String() string
- type DescribeTemplateAttributeRequest
- type DescribeTemplateAttributeResponse
- func (s DescribeTemplateAttributeResponse) GoString() string
- func (s *DescribeTemplateAttributeResponse) SetBody(v []*DescribeTemplateAttributeResponseBody) *DescribeTemplateAttributeResponse
- func (s *DescribeTemplateAttributeResponse) SetHeaders(v map[string]*string) *DescribeTemplateAttributeResponse
- func (s *DescribeTemplateAttributeResponse) SetStatusCode(v int32) *DescribeTemplateAttributeResponse
- func (s DescribeTemplateAttributeResponse) String() string
- type DescribeTemplateAttributeResponseBody
- func (s DescribeTemplateAttributeResponseBody) GoString() string
- func (s *DescribeTemplateAttributeResponseBody) SetAcl(v string) *DescribeTemplateAttributeResponseBody
- func (s *DescribeTemplateAttributeResponseBody) SetCreated(v string) *DescribeTemplateAttributeResponseBody
- func (s *DescribeTemplateAttributeResponseBody) SetDescription(v string) *DescribeTemplateAttributeResponseBody
- func (s *DescribeTemplateAttributeResponseBody) SetId(v string) *DescribeTemplateAttributeResponseBody
- func (s *DescribeTemplateAttributeResponseBody) SetName(v string) *DescribeTemplateAttributeResponseBody
- func (s *DescribeTemplateAttributeResponseBody) SetTags(v string) *DescribeTemplateAttributeResponseBody
- func (s *DescribeTemplateAttributeResponseBody) SetTemplate(v string) *DescribeTemplateAttributeResponseBody
- func (s *DescribeTemplateAttributeResponseBody) SetTemplateType(v string) *DescribeTemplateAttributeResponseBody
- func (s *DescribeTemplateAttributeResponseBody) SetTemplateWithHistId(v string) *DescribeTemplateAttributeResponseBody
- func (s *DescribeTemplateAttributeResponseBody) SetUpdated(v string) *DescribeTemplateAttributeResponseBody
- func (s DescribeTemplateAttributeResponseBody) String() string
- type DescribeTemplatesRequest
- func (s DescribeTemplatesRequest) GoString() string
- func (s *DescribeTemplatesRequest) SetPageNum(v int64) *DescribeTemplatesRequest
- func (s *DescribeTemplatesRequest) SetPageSize(v int64) *DescribeTemplatesRequest
- func (s *DescribeTemplatesRequest) SetTemplateType(v string) *DescribeTemplatesRequest
- func (s DescribeTemplatesRequest) String() string
- type DescribeTemplatesResponse
- func (s DescribeTemplatesResponse) GoString() string
- func (s *DescribeTemplatesResponse) SetBody(v *DescribeTemplatesResponseBody) *DescribeTemplatesResponse
- func (s *DescribeTemplatesResponse) SetHeaders(v map[string]*string) *DescribeTemplatesResponse
- func (s *DescribeTemplatesResponse) SetStatusCode(v int32) *DescribeTemplatesResponse
- func (s DescribeTemplatesResponse) String() string
- type DescribeTemplatesResponseBody
- func (s DescribeTemplatesResponseBody) GoString() string
- func (s *DescribeTemplatesResponseBody) SetPageInfo(v *DescribeTemplatesResponseBodyPageInfo) *DescribeTemplatesResponseBody
- func (s *DescribeTemplatesResponseBody) SetTemplates(v []*DescribeTemplatesResponseBodyTemplates) *DescribeTemplatesResponseBody
- func (s DescribeTemplatesResponseBody) String() string
- type DescribeTemplatesResponseBodyPageInfo
- func (s DescribeTemplatesResponseBodyPageInfo) GoString() string
- func (s *DescribeTemplatesResponseBodyPageInfo) SetPageNumber(v int64) *DescribeTemplatesResponseBodyPageInfo
- func (s *DescribeTemplatesResponseBodyPageInfo) SetPageSize(v int64) *DescribeTemplatesResponseBodyPageInfo
- func (s *DescribeTemplatesResponseBodyPageInfo) SetTotalCount(v int64) *DescribeTemplatesResponseBodyPageInfo
- func (s DescribeTemplatesResponseBodyPageInfo) String() string
- type DescribeTemplatesResponseBodyTemplates
- func (s DescribeTemplatesResponseBodyTemplates) GoString() string
- func (s *DescribeTemplatesResponseBodyTemplates) SetAcl(v string) *DescribeTemplatesResponseBodyTemplates
- func (s *DescribeTemplatesResponseBodyTemplates) SetCreated(v string) *DescribeTemplatesResponseBodyTemplates
- func (s *DescribeTemplatesResponseBodyTemplates) SetDescription(v string) *DescribeTemplatesResponseBodyTemplates
- func (s *DescribeTemplatesResponseBodyTemplates) SetId(v string) *DescribeTemplatesResponseBodyTemplates
- func (s *DescribeTemplatesResponseBodyTemplates) SetName(v string) *DescribeTemplatesResponseBodyTemplates
- func (s *DescribeTemplatesResponseBodyTemplates) SetTags(v string) *DescribeTemplatesResponseBodyTemplates
- func (s *DescribeTemplatesResponseBodyTemplates) SetTemplate(v string) *DescribeTemplatesResponseBodyTemplates
- func (s *DescribeTemplatesResponseBodyTemplates) SetTemplateType(v string) *DescribeTemplatesResponseBodyTemplates
- func (s *DescribeTemplatesResponseBodyTemplates) SetTemplateWithHistId(v string) *DescribeTemplatesResponseBodyTemplates
- func (s *DescribeTemplatesResponseBodyTemplates) SetUpdated(v string) *DescribeTemplatesResponseBodyTemplates
- func (s DescribeTemplatesResponseBodyTemplates) String() string
- type DescribeTriggerRequest
- func (s DescribeTriggerRequest) GoString() string
- func (s *DescribeTriggerRequest) SetAction(v string) *DescribeTriggerRequest
- func (s *DescribeTriggerRequest) SetName(v string) *DescribeTriggerRequest
- func (s *DescribeTriggerRequest) SetNamespace(v string) *DescribeTriggerRequest
- func (s *DescribeTriggerRequest) SetType(v string) *DescribeTriggerRequest
- func (s DescribeTriggerRequest) String() string
- type DescribeTriggerResponse
- func (s DescribeTriggerResponse) GoString() string
- func (s *DescribeTriggerResponse) SetBody(v []*DescribeTriggerResponseBody) *DescribeTriggerResponse
- func (s *DescribeTriggerResponse) SetHeaders(v map[string]*string) *DescribeTriggerResponse
- func (s *DescribeTriggerResponse) SetStatusCode(v int32) *DescribeTriggerResponse
- func (s DescribeTriggerResponse) String() string
- type DescribeTriggerResponseBody
- func (s DescribeTriggerResponseBody) GoString() string
- func (s *DescribeTriggerResponseBody) SetAction(v string) *DescribeTriggerResponseBody
- func (s *DescribeTriggerResponseBody) SetClusterId(v string) *DescribeTriggerResponseBody
- func (s *DescribeTriggerResponseBody) SetId(v string) *DescribeTriggerResponseBody
- func (s *DescribeTriggerResponseBody) SetName(v string) *DescribeTriggerResponseBody
- func (s *DescribeTriggerResponseBody) SetProjectId(v string) *DescribeTriggerResponseBody
- func (s *DescribeTriggerResponseBody) SetToken(v string) *DescribeTriggerResponseBody
- func (s *DescribeTriggerResponseBody) SetType(v string) *DescribeTriggerResponseBody
- func (s DescribeTriggerResponseBody) String() string
- type DescribeUserClusterNamespacesResponse
- func (s DescribeUserClusterNamespacesResponse) GoString() string
- func (s *DescribeUserClusterNamespacesResponse) SetBody(v []*string) *DescribeUserClusterNamespacesResponse
- func (s *DescribeUserClusterNamespacesResponse) SetHeaders(v map[string]*string) *DescribeUserClusterNamespacesResponse
- func (s *DescribeUserClusterNamespacesResponse) SetStatusCode(v int32) *DescribeUserClusterNamespacesResponse
- func (s DescribeUserClusterNamespacesResponse) String() string
- type DescribeUserPermissionResponse
- func (s DescribeUserPermissionResponse) GoString() string
- func (s *DescribeUserPermissionResponse) SetBody(v []*DescribeUserPermissionResponseBody) *DescribeUserPermissionResponse
- func (s *DescribeUserPermissionResponse) SetHeaders(v map[string]*string) *DescribeUserPermissionResponse
- func (s *DescribeUserPermissionResponse) SetStatusCode(v int32) *DescribeUserPermissionResponse
- func (s DescribeUserPermissionResponse) String() string
- type DescribeUserPermissionResponseBody
- func (s DescribeUserPermissionResponseBody) GoString() string
- func (s *DescribeUserPermissionResponseBody) SetIsOwner(v int64) *DescribeUserPermissionResponseBody
- func (s *DescribeUserPermissionResponseBody) SetIsRamRole(v int64) *DescribeUserPermissionResponseBody
- func (s *DescribeUserPermissionResponseBody) SetResourceId(v string) *DescribeUserPermissionResponseBody
- func (s *DescribeUserPermissionResponseBody) SetResourceType(v string) *DescribeUserPermissionResponseBody
- func (s *DescribeUserPermissionResponseBody) SetRoleName(v string) *DescribeUserPermissionResponseBody
- func (s *DescribeUserPermissionResponseBody) SetRoleType(v string) *DescribeUserPermissionResponseBody
- func (s DescribeUserPermissionResponseBody) String() string
- type DescribeUserQuotaResponse
- func (s DescribeUserQuotaResponse) GoString() string
- func (s *DescribeUserQuotaResponse) SetBody(v *DescribeUserQuotaResponseBody) *DescribeUserQuotaResponse
- func (s *DescribeUserQuotaResponse) SetHeaders(v map[string]*string) *DescribeUserQuotaResponse
- func (s *DescribeUserQuotaResponse) SetStatusCode(v int32) *DescribeUserQuotaResponse
- func (s DescribeUserQuotaResponse) String() string
- type DescribeUserQuotaResponseBody
- func (s DescribeUserQuotaResponseBody) GoString() string
- func (s *DescribeUserQuotaResponseBody) SetAmkClusterQuota(v int64) *DescribeUserQuotaResponseBody
- func (s *DescribeUserQuotaResponseBody) SetAskClusterQuota(v int64) *DescribeUserQuotaResponseBody
- func (s *DescribeUserQuotaResponseBody) SetClusterNodepoolQuota(v int64) *DescribeUserQuotaResponseBody
- func (s *DescribeUserQuotaResponseBody) SetClusterQuota(v int64) *DescribeUserQuotaResponseBody
- func (s *DescribeUserQuotaResponseBody) SetEdgeImprovedNodepoolQuota(v *DescribeUserQuotaResponseBodyEdgeImprovedNodepoolQuota) *DescribeUserQuotaResponseBody
- func (s *DescribeUserQuotaResponseBody) SetNodeQuota(v int64) *DescribeUserQuotaResponseBody
- func (s *DescribeUserQuotaResponseBody) SetQuotas(v map[string]*QuotasValue) *DescribeUserQuotaResponseBody
- func (s DescribeUserQuotaResponseBody) String() string
- type DescribeUserQuotaResponseBodyEdgeImprovedNodepoolQuota
- func (s DescribeUserQuotaResponseBodyEdgeImprovedNodepoolQuota) GoString() string
- func (s *DescribeUserQuotaResponseBodyEdgeImprovedNodepoolQuota) SetBandwidth(v int32) *DescribeUserQuotaResponseBodyEdgeImprovedNodepoolQuota
- func (s *DescribeUserQuotaResponseBodyEdgeImprovedNodepoolQuota) SetCount(v int32) *DescribeUserQuotaResponseBodyEdgeImprovedNodepoolQuota
- func (s *DescribeUserQuotaResponseBodyEdgeImprovedNodepoolQuota) SetPeriod(v int32) *DescribeUserQuotaResponseBodyEdgeImprovedNodepoolQuota
- func (s DescribeUserQuotaResponseBodyEdgeImprovedNodepoolQuota) String() string
- type EdgeClusterAddEdgeMachineRequest
- func (s EdgeClusterAddEdgeMachineRequest) GoString() string
- func (s *EdgeClusterAddEdgeMachineRequest) SetExpired(v int64) *EdgeClusterAddEdgeMachineRequest
- func (s *EdgeClusterAddEdgeMachineRequest) SetNodepoolId(v string) *EdgeClusterAddEdgeMachineRequest
- func (s *EdgeClusterAddEdgeMachineRequest) SetOptions(v string) *EdgeClusterAddEdgeMachineRequest
- func (s EdgeClusterAddEdgeMachineRequest) String() string
- type EdgeClusterAddEdgeMachineResponse
- func (s EdgeClusterAddEdgeMachineResponse) GoString() string
- func (s *EdgeClusterAddEdgeMachineResponse) SetBody(v *EdgeClusterAddEdgeMachineResponseBody) *EdgeClusterAddEdgeMachineResponse
- func (s *EdgeClusterAddEdgeMachineResponse) SetHeaders(v map[string]*string) *EdgeClusterAddEdgeMachineResponse
- func (s *EdgeClusterAddEdgeMachineResponse) SetStatusCode(v int32) *EdgeClusterAddEdgeMachineResponse
- func (s EdgeClusterAddEdgeMachineResponse) String() string
- type EdgeClusterAddEdgeMachineResponseBody
- func (s EdgeClusterAddEdgeMachineResponseBody) GoString() string
- func (s *EdgeClusterAddEdgeMachineResponseBody) SetEdgeMachineId(v string) *EdgeClusterAddEdgeMachineResponseBody
- func (s *EdgeClusterAddEdgeMachineResponseBody) SetRequestId(v string) *EdgeClusterAddEdgeMachineResponseBody
- func (s EdgeClusterAddEdgeMachineResponseBody) String() string
- type FixNodePoolVulsRequest
- func (s FixNodePoolVulsRequest) GoString() string
- func (s *FixNodePoolVulsRequest) SetAutoRestart(v bool) *FixNodePoolVulsRequest
- func (s *FixNodePoolVulsRequest) SetNodes(v []*string) *FixNodePoolVulsRequest
- func (s *FixNodePoolVulsRequest) SetRolloutPolicy(v *FixNodePoolVulsRequestRolloutPolicy) *FixNodePoolVulsRequest
- func (s *FixNodePoolVulsRequest) SetVuls(v []*string) *FixNodePoolVulsRequest
- func (s FixNodePoolVulsRequest) String() string
- type FixNodePoolVulsRequestRolloutPolicy
- type FixNodePoolVulsResponse
- func (s FixNodePoolVulsResponse) GoString() string
- func (s *FixNodePoolVulsResponse) SetBody(v *FixNodePoolVulsResponseBody) *FixNodePoolVulsResponse
- func (s *FixNodePoolVulsResponse) SetHeaders(v map[string]*string) *FixNodePoolVulsResponse
- func (s *FixNodePoolVulsResponse) SetStatusCode(v int32) *FixNodePoolVulsResponse
- func (s FixNodePoolVulsResponse) String() string
- type FixNodePoolVulsResponseBody
- type GetClusterAddonInstanceResponse
- func (s GetClusterAddonInstanceResponse) GoString() string
- func (s *GetClusterAddonInstanceResponse) SetBody(v *GetClusterAddonInstanceResponseBody) *GetClusterAddonInstanceResponse
- func (s *GetClusterAddonInstanceResponse) SetHeaders(v map[string]*string) *GetClusterAddonInstanceResponse
- func (s *GetClusterAddonInstanceResponse) SetStatusCode(v int32) *GetClusterAddonInstanceResponse
- func (s GetClusterAddonInstanceResponse) String() string
- type GetClusterAddonInstanceResponseBody
- func (s GetClusterAddonInstanceResponseBody) GoString() string
- func (s *GetClusterAddonInstanceResponseBody) SetConfig(v string) *GetClusterAddonInstanceResponseBody
- func (s *GetClusterAddonInstanceResponseBody) SetLogging(v *GetClusterAddonInstanceResponseBodyLogging) *GetClusterAddonInstanceResponseBody
- func (s *GetClusterAddonInstanceResponseBody) SetName(v string) *GetClusterAddonInstanceResponseBody
- func (s *GetClusterAddonInstanceResponseBody) SetState(v string) *GetClusterAddonInstanceResponseBody
- func (s *GetClusterAddonInstanceResponseBody) SetVersion(v string) *GetClusterAddonInstanceResponseBody
- func (s GetClusterAddonInstanceResponseBody) String() string
- type GetClusterAddonInstanceResponseBodyLogging
- func (s GetClusterAddonInstanceResponseBodyLogging) GoString() string
- func (s *GetClusterAddonInstanceResponseBodyLogging) SetCapable(v bool) *GetClusterAddonInstanceResponseBodyLogging
- func (s *GetClusterAddonInstanceResponseBodyLogging) SetEnabled(v bool) *GetClusterAddonInstanceResponseBodyLogging
- func (s *GetClusterAddonInstanceResponseBodyLogging) SetLogProject(v string) *GetClusterAddonInstanceResponseBodyLogging
- func (s *GetClusterAddonInstanceResponseBodyLogging) SetLogstore(v string) *GetClusterAddonInstanceResponseBodyLogging
- func (s GetClusterAddonInstanceResponseBodyLogging) String() string
- type GetClusterAuditProjectResponse
- func (s GetClusterAuditProjectResponse) GoString() string
- func (s *GetClusterAuditProjectResponse) SetBody(v *GetClusterAuditProjectResponseBody) *GetClusterAuditProjectResponse
- func (s *GetClusterAuditProjectResponse) SetHeaders(v map[string]*string) *GetClusterAuditProjectResponse
- func (s *GetClusterAuditProjectResponse) SetStatusCode(v int32) *GetClusterAuditProjectResponse
- func (s GetClusterAuditProjectResponse) String() string
- type GetClusterAuditProjectResponseBody
- func (s GetClusterAuditProjectResponseBody) GoString() string
- func (s *GetClusterAuditProjectResponseBody) SetAuditEnabled(v bool) *GetClusterAuditProjectResponseBody
- func (s *GetClusterAuditProjectResponseBody) SetSlsProjectName(v string) *GetClusterAuditProjectResponseBody
- func (s GetClusterAuditProjectResponseBody) String() string
- type GetClusterCheckResponse
- func (s GetClusterCheckResponse) GoString() string
- func (s *GetClusterCheckResponse) SetBody(v *GetClusterCheckResponseBody) *GetClusterCheckResponse
- func (s *GetClusterCheckResponse) SetHeaders(v map[string]*string) *GetClusterCheckResponse
- func (s *GetClusterCheckResponse) SetStatusCode(v int32) *GetClusterCheckResponse
- func (s GetClusterCheckResponse) String() string
- type GetClusterCheckResponseBody
- func (s GetClusterCheckResponseBody) GoString() string
- func (s *GetClusterCheckResponseBody) SetCheckId(v string) *GetClusterCheckResponseBody
- func (s *GetClusterCheckResponseBody) SetCheckItems(v map[string][]map[string]interface{}) *GetClusterCheckResponseBody
- func (s *GetClusterCheckResponseBody) SetCreatedAt(v string) *GetClusterCheckResponseBody
- func (s *GetClusterCheckResponseBody) SetFinishedAt(v string) *GetClusterCheckResponseBody
- func (s *GetClusterCheckResponseBody) SetMessage(v string) *GetClusterCheckResponseBody
- func (s *GetClusterCheckResponseBody) SetStatus(v string) *GetClusterCheckResponseBody
- func (s *GetClusterCheckResponseBody) SetType(v string) *GetClusterCheckResponseBody
- func (s GetClusterCheckResponseBody) String() string
- type GetClusterDiagnosisCheckItemsRequest
- type GetClusterDiagnosisCheckItemsResponse
- func (s GetClusterDiagnosisCheckItemsResponse) GoString() string
- func (s *GetClusterDiagnosisCheckItemsResponse) SetBody(v *GetClusterDiagnosisCheckItemsResponseBody) *GetClusterDiagnosisCheckItemsResponse
- func (s *GetClusterDiagnosisCheckItemsResponse) SetHeaders(v map[string]*string) *GetClusterDiagnosisCheckItemsResponse
- func (s *GetClusterDiagnosisCheckItemsResponse) SetStatusCode(v int32) *GetClusterDiagnosisCheckItemsResponse
- func (s GetClusterDiagnosisCheckItemsResponse) String() string
- type GetClusterDiagnosisCheckItemsResponseBody
- func (s GetClusterDiagnosisCheckItemsResponseBody) GoString() string
- func (s *GetClusterDiagnosisCheckItemsResponseBody) SetCheckItems(v []*GetClusterDiagnosisCheckItemsResponseBodyCheckItems) *GetClusterDiagnosisCheckItemsResponseBody
- func (s *GetClusterDiagnosisCheckItemsResponseBody) SetCode(v string) *GetClusterDiagnosisCheckItemsResponseBody
- func (s *GetClusterDiagnosisCheckItemsResponseBody) SetIsSuccess(v bool) *GetClusterDiagnosisCheckItemsResponseBody
- func (s *GetClusterDiagnosisCheckItemsResponseBody) SetRequestId(v string) *GetClusterDiagnosisCheckItemsResponseBody
- func (s GetClusterDiagnosisCheckItemsResponseBody) String() string
- type GetClusterDiagnosisCheckItemsResponseBodyCheckItems
- func (s GetClusterDiagnosisCheckItemsResponseBodyCheckItems) GoString() string
- func (s *GetClusterDiagnosisCheckItemsResponseBodyCheckItems) SetDesc(v string) *GetClusterDiagnosisCheckItemsResponseBodyCheckItems
- func (s *GetClusterDiagnosisCheckItemsResponseBodyCheckItems) SetDisplay(v string) *GetClusterDiagnosisCheckItemsResponseBodyCheckItems
- func (s *GetClusterDiagnosisCheckItemsResponseBodyCheckItems) SetGroup(v string) *GetClusterDiagnosisCheckItemsResponseBodyCheckItems
- func (s *GetClusterDiagnosisCheckItemsResponseBodyCheckItems) SetLevel(v string) *GetClusterDiagnosisCheckItemsResponseBodyCheckItems
- func (s *GetClusterDiagnosisCheckItemsResponseBodyCheckItems) SetMessage(v string) *GetClusterDiagnosisCheckItemsResponseBodyCheckItems
- func (s *GetClusterDiagnosisCheckItemsResponseBodyCheckItems) SetName(v string) *GetClusterDiagnosisCheckItemsResponseBodyCheckItems
- func (s *GetClusterDiagnosisCheckItemsResponseBodyCheckItems) SetRefer(v string) *GetClusterDiagnosisCheckItemsResponseBodyCheckItems
- func (s *GetClusterDiagnosisCheckItemsResponseBodyCheckItems) SetValue(v string) *GetClusterDiagnosisCheckItemsResponseBodyCheckItems
- func (s GetClusterDiagnosisCheckItemsResponseBodyCheckItems) String() string
- type GetClusterDiagnosisResultRequest
- type GetClusterDiagnosisResultResponse
- func (s GetClusterDiagnosisResultResponse) GoString() string
- func (s *GetClusterDiagnosisResultResponse) SetBody(v *GetClusterDiagnosisResultResponseBody) *GetClusterDiagnosisResultResponse
- func (s *GetClusterDiagnosisResultResponse) SetHeaders(v map[string]*string) *GetClusterDiagnosisResultResponse
- func (s *GetClusterDiagnosisResultResponse) SetStatusCode(v int32) *GetClusterDiagnosisResultResponse
- func (s GetClusterDiagnosisResultResponse) String() string
- type GetClusterDiagnosisResultResponseBody
- func (s GetClusterDiagnosisResultResponseBody) GoString() string
- func (s *GetClusterDiagnosisResultResponseBody) SetCode(v int64) *GetClusterDiagnosisResultResponseBody
- func (s *GetClusterDiagnosisResultResponseBody) SetCreated(v string) *GetClusterDiagnosisResultResponseBody
- func (s *GetClusterDiagnosisResultResponseBody) SetDiagnosisId(v string) *GetClusterDiagnosisResultResponseBody
- func (s *GetClusterDiagnosisResultResponseBody) SetFinished(v string) *GetClusterDiagnosisResultResponseBody
- func (s *GetClusterDiagnosisResultResponseBody) SetMessage(v string) *GetClusterDiagnosisResultResponseBody
- func (s *GetClusterDiagnosisResultResponseBody) SetResult(v string) *GetClusterDiagnosisResultResponseBody
- func (s *GetClusterDiagnosisResultResponseBody) SetStatus(v int64) *GetClusterDiagnosisResultResponseBody
- func (s *GetClusterDiagnosisResultResponseBody) SetTarget(v string) *GetClusterDiagnosisResultResponseBody
- func (s *GetClusterDiagnosisResultResponseBody) SetType(v string) *GetClusterDiagnosisResultResponseBody
- func (s GetClusterDiagnosisResultResponseBody) String() string
- type GetKubernetesTriggerRequest
- func (s GetKubernetesTriggerRequest) GoString() string
- func (s *GetKubernetesTriggerRequest) SetAction(v string) *GetKubernetesTriggerRequest
- func (s *GetKubernetesTriggerRequest) SetName(v string) *GetKubernetesTriggerRequest
- func (s *GetKubernetesTriggerRequest) SetNamespace(v string) *GetKubernetesTriggerRequest
- func (s *GetKubernetesTriggerRequest) SetType(v string) *GetKubernetesTriggerRequest
- func (s GetKubernetesTriggerRequest) String() string
- type GetKubernetesTriggerResponse
- func (s GetKubernetesTriggerResponse) GoString() string
- func (s *GetKubernetesTriggerResponse) SetBody(v []*GetKubernetesTriggerResponseBody) *GetKubernetesTriggerResponse
- func (s *GetKubernetesTriggerResponse) SetHeaders(v map[string]*string) *GetKubernetesTriggerResponse
- func (s *GetKubernetesTriggerResponse) SetStatusCode(v int32) *GetKubernetesTriggerResponse
- func (s GetKubernetesTriggerResponse) String() string
- type GetKubernetesTriggerResponseBody
- func (s GetKubernetesTriggerResponseBody) GoString() string
- func (s *GetKubernetesTriggerResponseBody) SetAction(v string) *GetKubernetesTriggerResponseBody
- func (s *GetKubernetesTriggerResponseBody) SetClusterId(v string) *GetKubernetesTriggerResponseBody
- func (s *GetKubernetesTriggerResponseBody) SetId(v string) *GetKubernetesTriggerResponseBody
- func (s *GetKubernetesTriggerResponseBody) SetName(v string) *GetKubernetesTriggerResponseBody
- func (s *GetKubernetesTriggerResponseBody) SetProjectId(v string) *GetKubernetesTriggerResponseBody
- func (s *GetKubernetesTriggerResponseBody) SetToken(v string) *GetKubernetesTriggerResponseBody
- func (s *GetKubernetesTriggerResponseBody) SetType(v string) *GetKubernetesTriggerResponseBody
- func (s GetKubernetesTriggerResponseBody) String() string
- type GetUpgradeStatusResponse
- func (s GetUpgradeStatusResponse) GoString() string
- func (s *GetUpgradeStatusResponse) SetBody(v *GetUpgradeStatusResponseBody) *GetUpgradeStatusResponse
- func (s *GetUpgradeStatusResponse) SetHeaders(v map[string]*string) *GetUpgradeStatusResponse
- func (s *GetUpgradeStatusResponse) SetStatusCode(v int32) *GetUpgradeStatusResponse
- func (s GetUpgradeStatusResponse) String() string
- type GetUpgradeStatusResponseBody
- func (s GetUpgradeStatusResponseBody) GoString() string
- func (s *GetUpgradeStatusResponseBody) SetErrorMessage(v string) *GetUpgradeStatusResponseBody
- func (s *GetUpgradeStatusResponseBody) SetPrecheckReportId(v string) *GetUpgradeStatusResponseBody
- func (s *GetUpgradeStatusResponseBody) SetStatus(v string) *GetUpgradeStatusResponseBody
- func (s *GetUpgradeStatusResponseBody) SetUpgradeStep(v string) *GetUpgradeStatusResponseBody
- func (s *GetUpgradeStatusResponseBody) SetUpgradeTask(v *GetUpgradeStatusResponseBodyUpgradeTask) *GetUpgradeStatusResponseBody
- func (s GetUpgradeStatusResponseBody) String() string
- type GetUpgradeStatusResponseBodyUpgradeTask
- func (s GetUpgradeStatusResponseBodyUpgradeTask) GoString() string
- func (s *GetUpgradeStatusResponseBodyUpgradeTask) SetMessage(v string) *GetUpgradeStatusResponseBodyUpgradeTask
- func (s *GetUpgradeStatusResponseBodyUpgradeTask) SetStatus(v string) *GetUpgradeStatusResponseBodyUpgradeTask
- func (s GetUpgradeStatusResponseBodyUpgradeTask) String() string
- type GrantPermissionsRequest
- type GrantPermissionsRequestBody
- func (s GrantPermissionsRequestBody) GoString() string
- func (s *GrantPermissionsRequestBody) SetCluster(v string) *GrantPermissionsRequestBody
- func (s *GrantPermissionsRequestBody) SetIsCustom(v bool) *GrantPermissionsRequestBody
- func (s *GrantPermissionsRequestBody) SetIsRamRole(v bool) *GrantPermissionsRequestBody
- func (s *GrantPermissionsRequestBody) SetNamespace(v string) *GrantPermissionsRequestBody
- func (s *GrantPermissionsRequestBody) SetRoleName(v string) *GrantPermissionsRequestBody
- func (s *GrantPermissionsRequestBody) SetRoleType(v string) *GrantPermissionsRequestBody
- func (s GrantPermissionsRequestBody) String() string
- type GrantPermissionsResponse
- type InstallClusterAddonsRequest
- type InstallClusterAddonsRequestBody
- func (s InstallClusterAddonsRequestBody) GoString() string
- func (s *InstallClusterAddonsRequestBody) SetConfig(v string) *InstallClusterAddonsRequestBody
- func (s *InstallClusterAddonsRequestBody) SetName(v string) *InstallClusterAddonsRequestBody
- func (s *InstallClusterAddonsRequestBody) SetVersion(v string) *InstallClusterAddonsRequestBody
- func (s InstallClusterAddonsRequestBody) String() string
- type InstallClusterAddonsResponse
- func (s InstallClusterAddonsResponse) GoString() string
- func (s *InstallClusterAddonsResponse) SetBody(v *InstallClusterAddonsResponseBody) *InstallClusterAddonsResponse
- func (s *InstallClusterAddonsResponse) SetHeaders(v map[string]*string) *InstallClusterAddonsResponse
- func (s *InstallClusterAddonsResponse) SetStatusCode(v int32) *InstallClusterAddonsResponse
- func (s InstallClusterAddonsResponse) String() string
- type InstallClusterAddonsResponseBody
- func (s InstallClusterAddonsResponseBody) GoString() string
- func (s *InstallClusterAddonsResponseBody) SetClusterId(v string) *InstallClusterAddonsResponseBody
- func (s *InstallClusterAddonsResponseBody) SetRequestId(v string) *InstallClusterAddonsResponseBody
- func (s *InstallClusterAddonsResponseBody) SetTaskId(v string) *InstallClusterAddonsResponseBody
- func (s InstallClusterAddonsResponseBody) String() string
- type InstancePatterns
- func (s InstancePatterns) GoString() string
- func (s *InstancePatterns) SetArchitectures(v []*string) *InstancePatterns
- func (s *InstancePatterns) SetBurstPerformanceOption(v string) *InstancePatterns
- func (s *InstancePatterns) SetCore(v int64) *InstancePatterns
- func (s *InstancePatterns) SetCores(v int64) *InstancePatterns
- func (s *InstancePatterns) SetCpuArchitectures(v []*string) *InstancePatterns
- func (s *InstancePatterns) SetExcludedInstanceTypes(v []*string) *InstancePatterns
- func (s *InstancePatterns) SetInstanceCategories(v []*string) *InstancePatterns
- func (s *InstancePatterns) SetInstanceFamilyLevel(v string) *InstancePatterns
- func (s *InstancePatterns) SetInstanceTypeFamilies(v []*string) *InstancePatterns
- func (s *InstancePatterns) SetMaxCpuCores(v int64) *InstancePatterns
- func (s *InstancePatterns) SetMaxMemorySize(v float32) *InstancePatterns
- func (s *InstancePatterns) SetMaxPrice(v float32) *InstancePatterns
- func (s *InstancePatterns) SetMaximumGpuAmount(v int64) *InstancePatterns
- func (s *InstancePatterns) SetMemory(v float32) *InstancePatterns
- func (s *InstancePatterns) SetMinCpuCores(v int64) *InstancePatterns
- func (s *InstancePatterns) SetMinMemorySize(v float32) *InstancePatterns
- func (s *InstancePatterns) SetMinimumEniIpv6AddressQuantity(v int64) *InstancePatterns
- func (s *InstancePatterns) SetMinimumEniPrivateIpAddressQuantity(v int64) *InstancePatterns
- func (s *InstancePatterns) SetMinimumEniQuantity(v int64) *InstancePatterns
- func (s InstancePatterns) String() string
- type KubeletConfig
- func (s KubeletConfig) GoString() string
- func (s *KubeletConfig) SetAllowedUnsafeSysctls(v []*string) *KubeletConfig
- func (s *KubeletConfig) SetClusterDNS(v []*string) *KubeletConfig
- func (s *KubeletConfig) SetContainerLogMaxFiles(v int64) *KubeletConfig
- func (s *KubeletConfig) SetContainerLogMaxSize(v string) *KubeletConfig
- func (s *KubeletConfig) SetContainerLogMaxWorkers(v int32) *KubeletConfig
- func (s *KubeletConfig) SetContainerLogMonitorInterval(v string) *KubeletConfig
- func (s *KubeletConfig) SetCpuCFSQuota(v bool) *KubeletConfig
- func (s *KubeletConfig) SetCpuCFSQuotaPeriod(v string) *KubeletConfig
- func (s *KubeletConfig) SetCpuManagerPolicy(v string) *KubeletConfig
- func (s *KubeletConfig) SetEventBurst(v int64) *KubeletConfig
- func (s *KubeletConfig) SetEventRecordQPS(v int64) *KubeletConfig
- func (s *KubeletConfig) SetEvictionHard(v map[string]interface{}) *KubeletConfig
- func (s *KubeletConfig) SetEvictionSoft(v map[string]interface{}) *KubeletConfig
- func (s *KubeletConfig) SetEvictionSoftGracePeriod(v map[string]interface{}) *KubeletConfig
- func (s *KubeletConfig) SetFeatureGates(v map[string]interface{}) *KubeletConfig
- func (s *KubeletConfig) SetImageGCHighThresholdPercent(v int32) *KubeletConfig
- func (s *KubeletConfig) SetImageGCLowThresholdPercent(v int32) *KubeletConfig
- func (s *KubeletConfig) SetKubeAPIBurst(v int64) *KubeletConfig
- func (s *KubeletConfig) SetKubeAPIQPS(v int64) *KubeletConfig
- func (s *KubeletConfig) SetKubeReserved(v map[string]interface{}) *KubeletConfig
- func (s *KubeletConfig) SetMaxPods(v int64) *KubeletConfig
- func (s *KubeletConfig) SetMemoryManagerPolicy(v string) *KubeletConfig
- func (s *KubeletConfig) SetPodPidsLimit(v int64) *KubeletConfig
- func (s *KubeletConfig) SetReadOnlyPort(v int64) *KubeletConfig
- func (s *KubeletConfig) SetRegistryBurst(v int64) *KubeletConfig
- func (s *KubeletConfig) SetRegistryPullQPS(v int64) *KubeletConfig
- func (s *KubeletConfig) SetReservedMemory(v []*KubeletConfigReservedMemory) *KubeletConfig
- func (s *KubeletConfig) SetSerializeImagePulls(v bool) *KubeletConfig
- func (s *KubeletConfig) SetSystemReserved(v map[string]interface{}) *KubeletConfig
- func (s *KubeletConfig) SetTopologyManagerPolicy(v string) *KubeletConfig
- func (s *KubeletConfig) SetTracing(v *KubeletConfigTracing) *KubeletConfig
- func (s KubeletConfig) String() string
- type KubeletConfigReservedMemory
- type KubeletConfigTracing
- type ListAddonsRequest
- func (s ListAddonsRequest) GoString() string
- func (s *ListAddonsRequest) SetClusterId(v string) *ListAddonsRequest
- func (s *ListAddonsRequest) SetClusterSpec(v string) *ListAddonsRequest
- func (s *ListAddonsRequest) SetClusterType(v string) *ListAddonsRequest
- func (s *ListAddonsRequest) SetClusterVersion(v string) *ListAddonsRequest
- func (s *ListAddonsRequest) SetProfile(v string) *ListAddonsRequest
- func (s *ListAddonsRequest) SetRegionId(v string) *ListAddonsRequest
- func (s ListAddonsRequest) String() string
- type ListAddonsResponse
- func (s ListAddonsResponse) GoString() string
- func (s *ListAddonsResponse) SetBody(v *ListAddonsResponseBody) *ListAddonsResponse
- func (s *ListAddonsResponse) SetHeaders(v map[string]*string) *ListAddonsResponse
- func (s *ListAddonsResponse) SetStatusCode(v int32) *ListAddonsResponse
- func (s ListAddonsResponse) String() string
- type ListAddonsResponseBody
- type ListAddonsResponseBodyAddons
- func (s ListAddonsResponseBodyAddons) GoString() string
- func (s *ListAddonsResponseBodyAddons) SetArchitecture(v []*string) *ListAddonsResponseBodyAddons
- func (s *ListAddonsResponseBodyAddons) SetCategory(v string) *ListAddonsResponseBodyAddons
- func (s *ListAddonsResponseBodyAddons) SetConfigSchema(v string) *ListAddonsResponseBodyAddons
- func (s *ListAddonsResponseBodyAddons) SetInstallByDefault(v bool) *ListAddonsResponseBodyAddons
- func (s *ListAddonsResponseBodyAddons) SetManaged(v bool) *ListAddonsResponseBodyAddons
- func (s *ListAddonsResponseBodyAddons) SetName(v string) *ListAddonsResponseBodyAddons
- func (s *ListAddonsResponseBodyAddons) SetSupportedActions(v []*string) *ListAddonsResponseBodyAddons
- func (s *ListAddonsResponseBodyAddons) SetVersion(v string) *ListAddonsResponseBodyAddons
- func (s ListAddonsResponseBodyAddons) String() string
- type ListClusterAddonInstancesResponse
- func (s ListClusterAddonInstancesResponse) GoString() string
- func (s *ListClusterAddonInstancesResponse) SetBody(v *ListClusterAddonInstancesResponseBody) *ListClusterAddonInstancesResponse
- func (s *ListClusterAddonInstancesResponse) SetHeaders(v map[string]*string) *ListClusterAddonInstancesResponse
- func (s *ListClusterAddonInstancesResponse) SetStatusCode(v int32) *ListClusterAddonInstancesResponse
- func (s ListClusterAddonInstancesResponse) String() string
- type ListClusterAddonInstancesResponseBody
- type ListClusterAddonInstancesResponseBodyAddons
- func (s ListClusterAddonInstancesResponseBodyAddons) GoString() string
- func (s *ListClusterAddonInstancesResponseBodyAddons) SetName(v string) *ListClusterAddonInstancesResponseBodyAddons
- func (s *ListClusterAddonInstancesResponseBodyAddons) SetState(v string) *ListClusterAddonInstancesResponseBodyAddons
- func (s *ListClusterAddonInstancesResponseBodyAddons) SetVersion(v string) *ListClusterAddonInstancesResponseBodyAddons
- func (s ListClusterAddonInstancesResponseBodyAddons) String() string
- type ListClusterChecksRequest
- type ListClusterChecksResponse
- func (s ListClusterChecksResponse) GoString() string
- func (s *ListClusterChecksResponse) SetBody(v *ListClusterChecksResponseBody) *ListClusterChecksResponse
- func (s *ListClusterChecksResponse) SetHeaders(v map[string]*string) *ListClusterChecksResponse
- func (s *ListClusterChecksResponse) SetStatusCode(v int32) *ListClusterChecksResponse
- func (s ListClusterChecksResponse) String() string
- type ListClusterChecksResponseBody
- type ListClusterChecksResponseBodyChecks
- func (s ListClusterChecksResponseBodyChecks) GoString() string
- func (s *ListClusterChecksResponseBodyChecks) SetCheckId(v string) *ListClusterChecksResponseBodyChecks
- func (s *ListClusterChecksResponseBodyChecks) SetCreatedAt(v string) *ListClusterChecksResponseBodyChecks
- func (s *ListClusterChecksResponseBodyChecks) SetFinishedAt(v string) *ListClusterChecksResponseBodyChecks
- func (s *ListClusterChecksResponseBodyChecks) SetMessage(v string) *ListClusterChecksResponseBodyChecks
- func (s *ListClusterChecksResponseBodyChecks) SetStatus(v string) *ListClusterChecksResponseBodyChecks
- func (s *ListClusterChecksResponseBodyChecks) SetType(v string) *ListClusterChecksResponseBodyChecks
- func (s ListClusterChecksResponseBodyChecks) String() string
- type ListClusterKubeconfigStatesRequest
- func (s ListClusterKubeconfigStatesRequest) GoString() string
- func (s *ListClusterKubeconfigStatesRequest) SetPageNumber(v int32) *ListClusterKubeconfigStatesRequest
- func (s *ListClusterKubeconfigStatesRequest) SetPageSize(v int32) *ListClusterKubeconfigStatesRequest
- func (s ListClusterKubeconfigStatesRequest) String() string
- type ListClusterKubeconfigStatesResponse
- func (s ListClusterKubeconfigStatesResponse) GoString() string
- func (s *ListClusterKubeconfigStatesResponse) SetBody(v *ListClusterKubeconfigStatesResponseBody) *ListClusterKubeconfigStatesResponse
- func (s *ListClusterKubeconfigStatesResponse) SetHeaders(v map[string]*string) *ListClusterKubeconfigStatesResponse
- func (s *ListClusterKubeconfigStatesResponse) SetStatusCode(v int32) *ListClusterKubeconfigStatesResponse
- func (s ListClusterKubeconfigStatesResponse) String() string
- type ListClusterKubeconfigStatesResponseBody
- func (s ListClusterKubeconfigStatesResponseBody) GoString() string
- func (s *ListClusterKubeconfigStatesResponseBody) SetPage(v *ListClusterKubeconfigStatesResponseBodyPage) *ListClusterKubeconfigStatesResponseBody
- func (s *ListClusterKubeconfigStatesResponseBody) SetStates(v []*ListClusterKubeconfigStatesResponseBodyStates) *ListClusterKubeconfigStatesResponseBody
- func (s ListClusterKubeconfigStatesResponseBody) String() string
- type ListClusterKubeconfigStatesResponseBodyPage
- func (s ListClusterKubeconfigStatesResponseBodyPage) GoString() string
- func (s *ListClusterKubeconfigStatesResponseBodyPage) SetPageNumber(v int32) *ListClusterKubeconfigStatesResponseBodyPage
- func (s *ListClusterKubeconfigStatesResponseBodyPage) SetPageSize(v int32) *ListClusterKubeconfigStatesResponseBodyPage
- func (s *ListClusterKubeconfigStatesResponseBodyPage) SetTotalCount(v int32) *ListClusterKubeconfigStatesResponseBodyPage
- func (s ListClusterKubeconfigStatesResponseBodyPage) String() string
- type ListClusterKubeconfigStatesResponseBodyStates
- func (s ListClusterKubeconfigStatesResponseBodyStates) GoString() string
- func (s *ListClusterKubeconfigStatesResponseBodyStates) SetAccountDisplayName(v string) *ListClusterKubeconfigStatesResponseBodyStates
- func (s *ListClusterKubeconfigStatesResponseBodyStates) SetAccountId(v string) *ListClusterKubeconfigStatesResponseBodyStates
- func (s *ListClusterKubeconfigStatesResponseBodyStates) SetAccountName(v string) *ListClusterKubeconfigStatesResponseBodyStates
- func (s *ListClusterKubeconfigStatesResponseBodyStates) SetAccountState(v string) *ListClusterKubeconfigStatesResponseBodyStates
- func (s *ListClusterKubeconfigStatesResponseBodyStates) SetAccountType(v string) *ListClusterKubeconfigStatesResponseBodyStates
- func (s *ListClusterKubeconfigStatesResponseBodyStates) SetCertExpireTime(v string) *ListClusterKubeconfigStatesResponseBodyStates
- func (s *ListClusterKubeconfigStatesResponseBodyStates) SetCertState(v string) *ListClusterKubeconfigStatesResponseBodyStates
- func (s *ListClusterKubeconfigStatesResponseBodyStates) SetRevokable(v bool) *ListClusterKubeconfigStatesResponseBodyStates
- func (s ListClusterKubeconfigStatesResponseBodyStates) String() string
- type ListOperationPlansRequest
- type ListOperationPlansResponse
- func (s ListOperationPlansResponse) GoString() string
- func (s *ListOperationPlansResponse) SetBody(v *ListOperationPlansResponseBody) *ListOperationPlansResponse
- func (s *ListOperationPlansResponse) SetHeaders(v map[string]*string) *ListOperationPlansResponse
- func (s *ListOperationPlansResponse) SetStatusCode(v int32) *ListOperationPlansResponse
- func (s ListOperationPlansResponse) String() string
- type ListOperationPlansResponseBody
- type ListOperationPlansResponseBodyPlans
- func (s ListOperationPlansResponseBodyPlans) GoString() string
- func (s *ListOperationPlansResponseBodyPlans) SetClusterId(v string) *ListOperationPlansResponseBodyPlans
- func (s *ListOperationPlansResponseBodyPlans) SetCreated(v string) *ListOperationPlansResponseBodyPlans
- func (s *ListOperationPlansResponseBodyPlans) SetEndTime(v string) *ListOperationPlansResponseBodyPlans
- func (s *ListOperationPlansResponseBodyPlans) SetPlanId(v string) *ListOperationPlansResponseBodyPlans
- func (s *ListOperationPlansResponseBodyPlans) SetStartTime(v string) *ListOperationPlansResponseBodyPlans
- func (s *ListOperationPlansResponseBodyPlans) SetState(v string) *ListOperationPlansResponseBodyPlans
- func (s *ListOperationPlansResponseBodyPlans) SetTargetId(v string) *ListOperationPlansResponseBodyPlans
- func (s *ListOperationPlansResponseBodyPlans) SetTargetType(v string) *ListOperationPlansResponseBodyPlans
- func (s *ListOperationPlansResponseBodyPlans) SetTaskId(v string) *ListOperationPlansResponseBodyPlans
- func (s *ListOperationPlansResponseBodyPlans) SetType(v string) *ListOperationPlansResponseBodyPlans
- func (s ListOperationPlansResponseBodyPlans) String() string
- type ListTagResourcesRequest
- func (s ListTagResourcesRequest) GoString() string
- func (s *ListTagResourcesRequest) SetNextToken(v string) *ListTagResourcesRequest
- func (s *ListTagResourcesRequest) SetRegionId(v string) *ListTagResourcesRequest
- func (s *ListTagResourcesRequest) SetResourceIds(v []*string) *ListTagResourcesRequest
- func (s *ListTagResourcesRequest) SetResourceType(v string) *ListTagResourcesRequest
- func (s *ListTagResourcesRequest) SetTags(v []*Tag) *ListTagResourcesRequest
- func (s ListTagResourcesRequest) String() string
- type ListTagResourcesResponse
- func (s ListTagResourcesResponse) GoString() string
- func (s *ListTagResourcesResponse) SetBody(v *ListTagResourcesResponseBody) *ListTagResourcesResponse
- func (s *ListTagResourcesResponse) SetHeaders(v map[string]*string) *ListTagResourcesResponse
- func (s *ListTagResourcesResponse) SetStatusCode(v int32) *ListTagResourcesResponse
- func (s ListTagResourcesResponse) String() string
- type ListTagResourcesResponseBody
- func (s ListTagResourcesResponseBody) GoString() string
- func (s *ListTagResourcesResponseBody) SetNextToken(v string) *ListTagResourcesResponseBody
- func (s *ListTagResourcesResponseBody) SetRequestId(v string) *ListTagResourcesResponseBody
- func (s *ListTagResourcesResponseBody) SetTagResources(v *ListTagResourcesResponseBodyTagResources) *ListTagResourcesResponseBody
- func (s ListTagResourcesResponseBody) String() string
- type ListTagResourcesResponseBodyTagResources
- type ListTagResourcesResponseBodyTagResourcesTagResource
- func (s ListTagResourcesResponseBodyTagResourcesTagResource) GoString() string
- func (s *ListTagResourcesResponseBodyTagResourcesTagResource) SetResourceId(v string) *ListTagResourcesResponseBodyTagResourcesTagResource
- func (s *ListTagResourcesResponseBodyTagResourcesTagResource) SetResourceType(v string) *ListTagResourcesResponseBodyTagResourcesTagResource
- func (s *ListTagResourcesResponseBodyTagResourcesTagResource) SetTagKey(v string) *ListTagResourcesResponseBodyTagResourcesTagResource
- func (s *ListTagResourcesResponseBodyTagResourcesTagResource) SetTagValue(v string) *ListTagResourcesResponseBodyTagResourcesTagResource
- func (s ListTagResourcesResponseBodyTagResourcesTagResource) String() string
- type ListTagResourcesShrinkRequest
- func (s ListTagResourcesShrinkRequest) GoString() string
- func (s *ListTagResourcesShrinkRequest) SetNextToken(v string) *ListTagResourcesShrinkRequest
- func (s *ListTagResourcesShrinkRequest) SetRegionId(v string) *ListTagResourcesShrinkRequest
- func (s *ListTagResourcesShrinkRequest) SetResourceIdsShrink(v string) *ListTagResourcesShrinkRequest
- func (s *ListTagResourcesShrinkRequest) SetResourceType(v string) *ListTagResourcesShrinkRequest
- func (s *ListTagResourcesShrinkRequest) SetTagsShrink(v string) *ListTagResourcesShrinkRequest
- func (s ListTagResourcesShrinkRequest) String() string
- type ListUserKubeConfigStatesRequest
- func (s ListUserKubeConfigStatesRequest) GoString() string
- func (s *ListUserKubeConfigStatesRequest) SetPageNumber(v int32) *ListUserKubeConfigStatesRequest
- func (s *ListUserKubeConfigStatesRequest) SetPageSize(v int32) *ListUserKubeConfigStatesRequest
- func (s ListUserKubeConfigStatesRequest) String() string
- type ListUserKubeConfigStatesResponse
- func (s ListUserKubeConfigStatesResponse) GoString() string
- func (s *ListUserKubeConfigStatesResponse) SetBody(v *ListUserKubeConfigStatesResponseBody) *ListUserKubeConfigStatesResponse
- func (s *ListUserKubeConfigStatesResponse) SetHeaders(v map[string]*string) *ListUserKubeConfigStatesResponse
- func (s *ListUserKubeConfigStatesResponse) SetStatusCode(v int32) *ListUserKubeConfigStatesResponse
- func (s ListUserKubeConfigStatesResponse) String() string
- type ListUserKubeConfigStatesResponseBody
- func (s ListUserKubeConfigStatesResponseBody) GoString() string
- func (s *ListUserKubeConfigStatesResponseBody) SetPage(v *ListUserKubeConfigStatesResponseBodyPage) *ListUserKubeConfigStatesResponseBody
- func (s *ListUserKubeConfigStatesResponseBody) SetStates(v []*ListUserKubeConfigStatesResponseBodyStates) *ListUserKubeConfigStatesResponseBody
- func (s ListUserKubeConfigStatesResponseBody) String() string
- type ListUserKubeConfigStatesResponseBodyPage
- func (s ListUserKubeConfigStatesResponseBodyPage) GoString() string
- func (s *ListUserKubeConfigStatesResponseBodyPage) SetPageNumber(v int32) *ListUserKubeConfigStatesResponseBodyPage
- func (s *ListUserKubeConfigStatesResponseBodyPage) SetPageSize(v int32) *ListUserKubeConfigStatesResponseBodyPage
- func (s *ListUserKubeConfigStatesResponseBodyPage) SetTotalCount(v int32) *ListUserKubeConfigStatesResponseBodyPage
- func (s ListUserKubeConfigStatesResponseBodyPage) String() string
- type ListUserKubeConfigStatesResponseBodyStates
- func (s ListUserKubeConfigStatesResponseBodyStates) GoString() string
- func (s *ListUserKubeConfigStatesResponseBodyStates) SetCertExpireTime(v string) *ListUserKubeConfigStatesResponseBodyStates
- func (s *ListUserKubeConfigStatesResponseBodyStates) SetCertState(v string) *ListUserKubeConfigStatesResponseBodyStates
- func (s *ListUserKubeConfigStatesResponseBodyStates) SetClusterId(v string) *ListUserKubeConfigStatesResponseBodyStates
- func (s *ListUserKubeConfigStatesResponseBodyStates) SetClusterName(v string) *ListUserKubeConfigStatesResponseBodyStates
- func (s *ListUserKubeConfigStatesResponseBodyStates) SetClusterState(v string) *ListUserKubeConfigStatesResponseBodyStates
- func (s ListUserKubeConfigStatesResponseBodyStates) String() string
- type MaintenanceWindow
- func (s MaintenanceWindow) GoString() string
- func (s *MaintenanceWindow) SetDuration(v string) *MaintenanceWindow
- func (s *MaintenanceWindow) SetEnable(v bool) *MaintenanceWindow
- func (s *MaintenanceWindow) SetMaintenanceTime(v string) *MaintenanceWindow
- func (s *MaintenanceWindow) SetRecurrence(v string) *MaintenanceWindow
- func (s *MaintenanceWindow) SetWeeklyPeriod(v string) *MaintenanceWindow
- func (s MaintenanceWindow) String() string
- type MigrateClusterRequest
- type MigrateClusterResponse
- func (s MigrateClusterResponse) GoString() string
- func (s *MigrateClusterResponse) SetBody(v *MigrateClusterResponseBody) *MigrateClusterResponse
- func (s *MigrateClusterResponse) SetHeaders(v map[string]*string) *MigrateClusterResponse
- func (s *MigrateClusterResponse) SetStatusCode(v int32) *MigrateClusterResponse
- func (s MigrateClusterResponse) String() string
- type MigrateClusterResponseBody
- func (s MigrateClusterResponseBody) GoString() string
- func (s *MigrateClusterResponseBody) SetClusterId(v string) *MigrateClusterResponseBody
- func (s *MigrateClusterResponseBody) SetRequestId(v string) *MigrateClusterResponseBody
- func (s *MigrateClusterResponseBody) SetTaskId(v string) *MigrateClusterResponseBody
- func (s MigrateClusterResponseBody) String() string
- type ModifyClusterAddonRequest
- type ModifyClusterAddonResponse
- type ModifyClusterConfigurationRequest
- type ModifyClusterConfigurationRequestCustomizeConfig
- func (s ModifyClusterConfigurationRequestCustomizeConfig) GoString() string
- func (s *ModifyClusterConfigurationRequestCustomizeConfig) SetConfigs(v []*ModifyClusterConfigurationRequestCustomizeConfigConfigs) *ModifyClusterConfigurationRequestCustomizeConfig
- func (s *ModifyClusterConfigurationRequestCustomizeConfig) SetName(v string) *ModifyClusterConfigurationRequestCustomizeConfig
- func (s ModifyClusterConfigurationRequestCustomizeConfig) String() string
- type ModifyClusterConfigurationRequestCustomizeConfigConfigs
- func (s ModifyClusterConfigurationRequestCustomizeConfigConfigs) GoString() string
- func (s *ModifyClusterConfigurationRequestCustomizeConfigConfigs) SetKey(v string) *ModifyClusterConfigurationRequestCustomizeConfigConfigs
- func (s *ModifyClusterConfigurationRequestCustomizeConfigConfigs) SetValue(v string) *ModifyClusterConfigurationRequestCustomizeConfigConfigs
- func (s ModifyClusterConfigurationRequestCustomizeConfigConfigs) String() string
- type ModifyClusterConfigurationResponse
- func (s ModifyClusterConfigurationResponse) GoString() string
- func (s *ModifyClusterConfigurationResponse) SetHeaders(v map[string]*string) *ModifyClusterConfigurationResponse
- func (s *ModifyClusterConfigurationResponse) SetStatusCode(v int32) *ModifyClusterConfigurationResponse
- func (s ModifyClusterConfigurationResponse) String() string
- type ModifyClusterNodePoolRequest
- func (s ModifyClusterNodePoolRequest) GoString() string
- func (s *ModifyClusterNodePoolRequest) SetAutoScaling(v *ModifyClusterNodePoolRequestAutoScaling) *ModifyClusterNodePoolRequest
- func (s *ModifyClusterNodePoolRequest) SetConcurrency(v bool) *ModifyClusterNodePoolRequest
- func (s *ModifyClusterNodePoolRequest) SetKubernetesConfig(v *ModifyClusterNodePoolRequestKubernetesConfig) *ModifyClusterNodePoolRequest
- func (s *ModifyClusterNodePoolRequest) SetManagement(v *ModifyClusterNodePoolRequestManagement) *ModifyClusterNodePoolRequest
- func (s *ModifyClusterNodePoolRequest) SetNodepoolInfo(v *ModifyClusterNodePoolRequestNodepoolInfo) *ModifyClusterNodePoolRequest
- func (s *ModifyClusterNodePoolRequest) SetScalingGroup(v *ModifyClusterNodePoolRequestScalingGroup) *ModifyClusterNodePoolRequest
- func (s *ModifyClusterNodePoolRequest) SetTeeConfig(v *ModifyClusterNodePoolRequestTeeConfig) *ModifyClusterNodePoolRequest
- func (s *ModifyClusterNodePoolRequest) SetUpdateNodes(v bool) *ModifyClusterNodePoolRequest
- func (s ModifyClusterNodePoolRequest) String() string
- type ModifyClusterNodePoolRequestAutoScaling
- func (s ModifyClusterNodePoolRequestAutoScaling) GoString() string
- func (s *ModifyClusterNodePoolRequestAutoScaling) SetEipBandwidth(v int64) *ModifyClusterNodePoolRequestAutoScaling
- func (s *ModifyClusterNodePoolRequestAutoScaling) SetEipInternetChargeType(v string) *ModifyClusterNodePoolRequestAutoScaling
- func (s *ModifyClusterNodePoolRequestAutoScaling) SetEnable(v bool) *ModifyClusterNodePoolRequestAutoScaling
- func (s *ModifyClusterNodePoolRequestAutoScaling) SetIsBondEip(v bool) *ModifyClusterNodePoolRequestAutoScaling
- func (s *ModifyClusterNodePoolRequestAutoScaling) SetMaxInstances(v int64) *ModifyClusterNodePoolRequestAutoScaling
- func (s *ModifyClusterNodePoolRequestAutoScaling) SetMinInstances(v int64) *ModifyClusterNodePoolRequestAutoScaling
- func (s *ModifyClusterNodePoolRequestAutoScaling) SetType(v string) *ModifyClusterNodePoolRequestAutoScaling
- func (s ModifyClusterNodePoolRequestAutoScaling) String() string
- type ModifyClusterNodePoolRequestKubernetesConfig
- func (s ModifyClusterNodePoolRequestKubernetesConfig) GoString() string
- func (s *ModifyClusterNodePoolRequestKubernetesConfig) SetCmsEnabled(v bool) *ModifyClusterNodePoolRequestKubernetesConfig
- func (s *ModifyClusterNodePoolRequestKubernetesConfig) SetCpuPolicy(v string) *ModifyClusterNodePoolRequestKubernetesConfig
- func (s *ModifyClusterNodePoolRequestKubernetesConfig) SetLabels(v []*Tag) *ModifyClusterNodePoolRequestKubernetesConfig
- func (s *ModifyClusterNodePoolRequestKubernetesConfig) SetPreUserData(v string) *ModifyClusterNodePoolRequestKubernetesConfig
- func (s *ModifyClusterNodePoolRequestKubernetesConfig) SetRuntime(v string) *ModifyClusterNodePoolRequestKubernetesConfig
- func (s *ModifyClusterNodePoolRequestKubernetesConfig) SetRuntimeVersion(v string) *ModifyClusterNodePoolRequestKubernetesConfig
- func (s *ModifyClusterNodePoolRequestKubernetesConfig) SetTaints(v []*Taint) *ModifyClusterNodePoolRequestKubernetesConfig
- func (s *ModifyClusterNodePoolRequestKubernetesConfig) SetUnschedulable(v bool) *ModifyClusterNodePoolRequestKubernetesConfig
- func (s *ModifyClusterNodePoolRequestKubernetesConfig) SetUserData(v string) *ModifyClusterNodePoolRequestKubernetesConfig
- func (s ModifyClusterNodePoolRequestKubernetesConfig) String() string
- type ModifyClusterNodePoolRequestManagement
- func (s ModifyClusterNodePoolRequestManagement) GoString() string
- func (s *ModifyClusterNodePoolRequestManagement) SetAutoRepair(v bool) *ModifyClusterNodePoolRequestManagement
- func (s *ModifyClusterNodePoolRequestManagement) SetAutoRepairPolicy(v *ModifyClusterNodePoolRequestManagementAutoRepairPolicy) *ModifyClusterNodePoolRequestManagement
- func (s *ModifyClusterNodePoolRequestManagement) SetAutoUpgrade(v bool) *ModifyClusterNodePoolRequestManagement
- func (s *ModifyClusterNodePoolRequestManagement) SetAutoUpgradePolicy(v *ModifyClusterNodePoolRequestManagementAutoUpgradePolicy) *ModifyClusterNodePoolRequestManagement
- func (s *ModifyClusterNodePoolRequestManagement) SetAutoVulFix(v bool) *ModifyClusterNodePoolRequestManagement
- func (s *ModifyClusterNodePoolRequestManagement) SetAutoVulFixPolicy(v *ModifyClusterNodePoolRequestManagementAutoVulFixPolicy) *ModifyClusterNodePoolRequestManagement
- func (s *ModifyClusterNodePoolRequestManagement) SetEnable(v bool) *ModifyClusterNodePoolRequestManagement
- func (s *ModifyClusterNodePoolRequestManagement) SetUpgradeConfig(v *ModifyClusterNodePoolRequestManagementUpgradeConfig) *ModifyClusterNodePoolRequestManagement
- func (s ModifyClusterNodePoolRequestManagement) String() string
- type ModifyClusterNodePoolRequestManagementAutoRepairPolicy
- func (s ModifyClusterNodePoolRequestManagementAutoRepairPolicy) GoString() string
- func (s *ModifyClusterNodePoolRequestManagementAutoRepairPolicy) SetRestartNode(v bool) *ModifyClusterNodePoolRequestManagementAutoRepairPolicy
- func (s ModifyClusterNodePoolRequestManagementAutoRepairPolicy) String() string
- type ModifyClusterNodePoolRequestManagementAutoUpgradePolicy
- func (s ModifyClusterNodePoolRequestManagementAutoUpgradePolicy) GoString() string
- func (s *ModifyClusterNodePoolRequestManagementAutoUpgradePolicy) SetAutoUpgradeKubelet(v bool) *ModifyClusterNodePoolRequestManagementAutoUpgradePolicy
- func (s *ModifyClusterNodePoolRequestManagementAutoUpgradePolicy) SetAutoUpgradeOs(v bool) *ModifyClusterNodePoolRequestManagementAutoUpgradePolicy
- func (s *ModifyClusterNodePoolRequestManagementAutoUpgradePolicy) SetAutoUpgradeRuntime(v bool) *ModifyClusterNodePoolRequestManagementAutoUpgradePolicy
- func (s ModifyClusterNodePoolRequestManagementAutoUpgradePolicy) String() string
- type ModifyClusterNodePoolRequestManagementAutoVulFixPolicy
- func (s ModifyClusterNodePoolRequestManagementAutoVulFixPolicy) GoString() string
- func (s *ModifyClusterNodePoolRequestManagementAutoVulFixPolicy) SetRestartNode(v bool) *ModifyClusterNodePoolRequestManagementAutoVulFixPolicy
- func (s *ModifyClusterNodePoolRequestManagementAutoVulFixPolicy) SetVulLevel(v string) *ModifyClusterNodePoolRequestManagementAutoVulFixPolicy
- func (s ModifyClusterNodePoolRequestManagementAutoVulFixPolicy) String() string
- type ModifyClusterNodePoolRequestManagementUpgradeConfig
- func (s ModifyClusterNodePoolRequestManagementUpgradeConfig) GoString() string
- func (s *ModifyClusterNodePoolRequestManagementUpgradeConfig) SetAutoUpgrade(v bool) *ModifyClusterNodePoolRequestManagementUpgradeConfig
- func (s *ModifyClusterNodePoolRequestManagementUpgradeConfig) SetMaxUnavailable(v int64) *ModifyClusterNodePoolRequestManagementUpgradeConfig
- func (s *ModifyClusterNodePoolRequestManagementUpgradeConfig) SetSurge(v int64) *ModifyClusterNodePoolRequestManagementUpgradeConfig
- func (s *ModifyClusterNodePoolRequestManagementUpgradeConfig) SetSurgePercentage(v int64) *ModifyClusterNodePoolRequestManagementUpgradeConfig
- func (s ModifyClusterNodePoolRequestManagementUpgradeConfig) String() string
- type ModifyClusterNodePoolRequestNodepoolInfo
- func (s ModifyClusterNodePoolRequestNodepoolInfo) GoString() string
- func (s *ModifyClusterNodePoolRequestNodepoolInfo) SetName(v string) *ModifyClusterNodePoolRequestNodepoolInfo
- func (s *ModifyClusterNodePoolRequestNodepoolInfo) SetResourceGroupId(v string) *ModifyClusterNodePoolRequestNodepoolInfo
- func (s ModifyClusterNodePoolRequestNodepoolInfo) String() string
- type ModifyClusterNodePoolRequestScalingGroup
- func (s ModifyClusterNodePoolRequestScalingGroup) GoString() string
- func (s *ModifyClusterNodePoolRequestScalingGroup) SetAutoRenew(v bool) *ModifyClusterNodePoolRequestScalingGroup
- func (s *ModifyClusterNodePoolRequestScalingGroup) SetAutoRenewPeriod(v int64) *ModifyClusterNodePoolRequestScalingGroup
- func (s *ModifyClusterNodePoolRequestScalingGroup) SetCompensateWithOnDemand(v bool) *ModifyClusterNodePoolRequestScalingGroup
- func (s *ModifyClusterNodePoolRequestScalingGroup) SetDataDisks(v []*DataDisk) *ModifyClusterNodePoolRequestScalingGroup
- func (s *ModifyClusterNodePoolRequestScalingGroup) SetDesiredSize(v int64) *ModifyClusterNodePoolRequestScalingGroup
- func (s *ModifyClusterNodePoolRequestScalingGroup) SetImageId(v string) *ModifyClusterNodePoolRequestScalingGroup
- func (s *ModifyClusterNodePoolRequestScalingGroup) SetImageType(v string) *ModifyClusterNodePoolRequestScalingGroup
- func (s *ModifyClusterNodePoolRequestScalingGroup) SetInstanceChargeType(v string) *ModifyClusterNodePoolRequestScalingGroup
- func (s *ModifyClusterNodePoolRequestScalingGroup) SetInstancePatterns(v []*InstancePatterns) *ModifyClusterNodePoolRequestScalingGroup
- func (s *ModifyClusterNodePoolRequestScalingGroup) SetInstanceTypes(v []*string) *ModifyClusterNodePoolRequestScalingGroup
- func (s *ModifyClusterNodePoolRequestScalingGroup) SetInternetChargeType(v string) *ModifyClusterNodePoolRequestScalingGroup
- func (s *ModifyClusterNodePoolRequestScalingGroup) SetInternetMaxBandwidthOut(v int64) *ModifyClusterNodePoolRequestScalingGroup
- func (s *ModifyClusterNodePoolRequestScalingGroup) SetKeyPair(v string) *ModifyClusterNodePoolRequestScalingGroup
- func (s *ModifyClusterNodePoolRequestScalingGroup) SetLoginPassword(v string) *ModifyClusterNodePoolRequestScalingGroup
- func (s *ModifyClusterNodePoolRequestScalingGroup) SetMultiAzPolicy(v string) *ModifyClusterNodePoolRequestScalingGroup
- func (s *ModifyClusterNodePoolRequestScalingGroup) SetOnDemandBaseCapacity(v int64) *ModifyClusterNodePoolRequestScalingGroup
- func (s *ModifyClusterNodePoolRequestScalingGroup) SetOnDemandPercentageAboveBaseCapacity(v int64) *ModifyClusterNodePoolRequestScalingGroup
- func (s *ModifyClusterNodePoolRequestScalingGroup) SetPeriod(v int64) *ModifyClusterNodePoolRequestScalingGroup
- func (s *ModifyClusterNodePoolRequestScalingGroup) SetPeriodUnit(v string) *ModifyClusterNodePoolRequestScalingGroup
- func (s *ModifyClusterNodePoolRequestScalingGroup) SetPlatform(v string) *ModifyClusterNodePoolRequestScalingGroup
- func (s *ModifyClusterNodePoolRequestScalingGroup) SetPrivatePoolOptions(v *ModifyClusterNodePoolRequestScalingGroupPrivatePoolOptions) *ModifyClusterNodePoolRequestScalingGroup
- func (s *ModifyClusterNodePoolRequestScalingGroup) SetRdsInstances(v []*string) *ModifyClusterNodePoolRequestScalingGroup
- func (s *ModifyClusterNodePoolRequestScalingGroup) SetScalingPolicy(v string) *ModifyClusterNodePoolRequestScalingGroup
- func (s *ModifyClusterNodePoolRequestScalingGroup) SetSpotInstancePools(v int64) *ModifyClusterNodePoolRequestScalingGroup
- func (s *ModifyClusterNodePoolRequestScalingGroup) SetSpotInstanceRemedy(v bool) *ModifyClusterNodePoolRequestScalingGroup
- func (s *ModifyClusterNodePoolRequestScalingGroup) SetSpotPriceLimit(v []*ModifyClusterNodePoolRequestScalingGroupSpotPriceLimit) *ModifyClusterNodePoolRequestScalingGroup
- func (s *ModifyClusterNodePoolRequestScalingGroup) SetSpotStrategy(v string) *ModifyClusterNodePoolRequestScalingGroup
- func (s *ModifyClusterNodePoolRequestScalingGroup) SetSystemDiskBurstingEnabled(v bool) *ModifyClusterNodePoolRequestScalingGroup
- func (s *ModifyClusterNodePoolRequestScalingGroup) SetSystemDiskCategories(v []*string) *ModifyClusterNodePoolRequestScalingGroup
- func (s *ModifyClusterNodePoolRequestScalingGroup) SetSystemDiskCategory(v string) *ModifyClusterNodePoolRequestScalingGroup
- func (s *ModifyClusterNodePoolRequestScalingGroup) SetSystemDiskEncryptAlgorithm(v string) *ModifyClusterNodePoolRequestScalingGroup
- func (s *ModifyClusterNodePoolRequestScalingGroup) SetSystemDiskEncrypted(v bool) *ModifyClusterNodePoolRequestScalingGroup
- func (s *ModifyClusterNodePoolRequestScalingGroup) SetSystemDiskKmsKeyId(v string) *ModifyClusterNodePoolRequestScalingGroup
- func (s *ModifyClusterNodePoolRequestScalingGroup) SetSystemDiskPerformanceLevel(v string) *ModifyClusterNodePoolRequestScalingGroup
- func (s *ModifyClusterNodePoolRequestScalingGroup) SetSystemDiskProvisionedIops(v int64) *ModifyClusterNodePoolRequestScalingGroup
- func (s *ModifyClusterNodePoolRequestScalingGroup) SetSystemDiskSize(v int64) *ModifyClusterNodePoolRequestScalingGroup
- func (s *ModifyClusterNodePoolRequestScalingGroup) SetTags(v []*Tag) *ModifyClusterNodePoolRequestScalingGroup
- func (s *ModifyClusterNodePoolRequestScalingGroup) SetVswitchIds(v []*string) *ModifyClusterNodePoolRequestScalingGroup
- func (s ModifyClusterNodePoolRequestScalingGroup) String() string
- type ModifyClusterNodePoolRequestScalingGroupPrivatePoolOptions
- func (s ModifyClusterNodePoolRequestScalingGroupPrivatePoolOptions) GoString() string
- func (s *ModifyClusterNodePoolRequestScalingGroupPrivatePoolOptions) SetId(v string) *ModifyClusterNodePoolRequestScalingGroupPrivatePoolOptions
- func (s *ModifyClusterNodePoolRequestScalingGroupPrivatePoolOptions) SetMatchCriteria(v string) *ModifyClusterNodePoolRequestScalingGroupPrivatePoolOptions
- func (s ModifyClusterNodePoolRequestScalingGroupPrivatePoolOptions) String() string
- type ModifyClusterNodePoolRequestScalingGroupSpotPriceLimit
- func (s ModifyClusterNodePoolRequestScalingGroupSpotPriceLimit) GoString() string
- func (s *ModifyClusterNodePoolRequestScalingGroupSpotPriceLimit) SetInstanceType(v string) *ModifyClusterNodePoolRequestScalingGroupSpotPriceLimit
- func (s *ModifyClusterNodePoolRequestScalingGroupSpotPriceLimit) SetPriceLimit(v string) *ModifyClusterNodePoolRequestScalingGroupSpotPriceLimit
- func (s ModifyClusterNodePoolRequestScalingGroupSpotPriceLimit) String() string
- type ModifyClusterNodePoolRequestTeeConfig
- type ModifyClusterNodePoolResponse
- func (s ModifyClusterNodePoolResponse) GoString() string
- func (s *ModifyClusterNodePoolResponse) SetBody(v *ModifyClusterNodePoolResponseBody) *ModifyClusterNodePoolResponse
- func (s *ModifyClusterNodePoolResponse) SetHeaders(v map[string]*string) *ModifyClusterNodePoolResponse
- func (s *ModifyClusterNodePoolResponse) SetStatusCode(v int32) *ModifyClusterNodePoolResponse
- func (s ModifyClusterNodePoolResponse) String() string
- type ModifyClusterNodePoolResponseBody
- func (s ModifyClusterNodePoolResponseBody) GoString() string
- func (s *ModifyClusterNodePoolResponseBody) SetNodepoolId(v string) *ModifyClusterNodePoolResponseBody
- func (s *ModifyClusterNodePoolResponseBody) SetRequestId(v string) *ModifyClusterNodePoolResponseBody
- func (s *ModifyClusterNodePoolResponseBody) SetTaskId(v string) *ModifyClusterNodePoolResponseBody
- func (s ModifyClusterNodePoolResponseBody) String() string
- type ModifyClusterRequest
- func (s ModifyClusterRequest) GoString() string
- func (s *ModifyClusterRequest) SetAccessControlList(v []*string) *ModifyClusterRequest
- func (s *ModifyClusterRequest) SetApiServerCustomCertSans(v *ModifyClusterRequestApiServerCustomCertSans) *ModifyClusterRequest
- func (s *ModifyClusterRequest) SetApiServerEip(v bool) *ModifyClusterRequest
- func (s *ModifyClusterRequest) SetApiServerEipId(v string) *ModifyClusterRequest
- func (s *ModifyClusterRequest) SetClusterName(v string) *ModifyClusterRequest
- func (s *ModifyClusterRequest) SetControlPlaneConfig(v *ModifyClusterRequestControlPlaneConfig) *ModifyClusterRequest
- func (s *ModifyClusterRequest) SetDeletionProtection(v bool) *ModifyClusterRequest
- func (s *ModifyClusterRequest) SetEnableRrsa(v bool) *ModifyClusterRequest
- func (s *ModifyClusterRequest) SetIngressDomainRebinding(v bool) *ModifyClusterRequest
- func (s *ModifyClusterRequest) SetIngressLoadbalancerId(v string) *ModifyClusterRequest
- func (s *ModifyClusterRequest) SetInstanceDeletionProtection(v bool) *ModifyClusterRequest
- func (s *ModifyClusterRequest) SetMaintenanceWindow(v *MaintenanceWindow) *ModifyClusterRequest
- func (s *ModifyClusterRequest) SetOperationPolicy(v *ModifyClusterRequestOperationPolicy) *ModifyClusterRequest
- func (s *ModifyClusterRequest) SetResourceGroupId(v string) *ModifyClusterRequest
- func (s *ModifyClusterRequest) SetSecurityGroupId(v string) *ModifyClusterRequest
- func (s *ModifyClusterRequest) SetSystemEventsLogging(v *ModifyClusterRequestSystemEventsLogging) *ModifyClusterRequest
- func (s *ModifyClusterRequest) SetTimezone(v string) *ModifyClusterRequest
- func (s *ModifyClusterRequest) SetVswitchIds(v []*string) *ModifyClusterRequest
- func (s ModifyClusterRequest) String() string
- type ModifyClusterRequestApiServerCustomCertSans
- func (s ModifyClusterRequestApiServerCustomCertSans) GoString() string
- func (s *ModifyClusterRequestApiServerCustomCertSans) SetAction(v string) *ModifyClusterRequestApiServerCustomCertSans
- func (s *ModifyClusterRequestApiServerCustomCertSans) SetSubjectAlternativeNames(v []*string) *ModifyClusterRequestApiServerCustomCertSans
- func (s ModifyClusterRequestApiServerCustomCertSans) String() string
- type ModifyClusterRequestControlPlaneConfig
- func (s ModifyClusterRequestControlPlaneConfig) GoString() string
- func (s *ModifyClusterRequestControlPlaneConfig) SetAutoRenew(v bool) *ModifyClusterRequestControlPlaneConfig
- func (s *ModifyClusterRequestControlPlaneConfig) SetAutoRenewPeriod(v int64) *ModifyClusterRequestControlPlaneConfig
- func (s *ModifyClusterRequestControlPlaneConfig) SetChargeType(v string) *ModifyClusterRequestControlPlaneConfig
- func (s *ModifyClusterRequestControlPlaneConfig) SetCloudMonitorFlags(v bool) *ModifyClusterRequestControlPlaneConfig
- func (s *ModifyClusterRequestControlPlaneConfig) SetCpuPolicy(v string) *ModifyClusterRequestControlPlaneConfig
- func (s *ModifyClusterRequestControlPlaneConfig) SetDeploymentsetId(v string) *ModifyClusterRequestControlPlaneConfig
- func (s *ModifyClusterRequestControlPlaneConfig) SetImageId(v string) *ModifyClusterRequestControlPlaneConfig
- func (s *ModifyClusterRequestControlPlaneConfig) SetImageType(v string) *ModifyClusterRequestControlPlaneConfig
- func (s *ModifyClusterRequestControlPlaneConfig) SetInstanceTypes(v []*string) *ModifyClusterRequestControlPlaneConfig
- func (s *ModifyClusterRequestControlPlaneConfig) SetKeyPair(v string) *ModifyClusterRequestControlPlaneConfig
- func (s *ModifyClusterRequestControlPlaneConfig) SetLoginPassword(v string) *ModifyClusterRequestControlPlaneConfig
- func (s *ModifyClusterRequestControlPlaneConfig) SetNodePortRange(v string) *ModifyClusterRequestControlPlaneConfig
- func (s *ModifyClusterRequestControlPlaneConfig) SetPeriod(v int64) *ModifyClusterRequestControlPlaneConfig
- func (s *ModifyClusterRequestControlPlaneConfig) SetPeriodUnit(v string) *ModifyClusterRequestControlPlaneConfig
- func (s *ModifyClusterRequestControlPlaneConfig) SetRuntime(v string) *ModifyClusterRequestControlPlaneConfig
- func (s *ModifyClusterRequestControlPlaneConfig) SetSecurityHardeningOs(v bool) *ModifyClusterRequestControlPlaneConfig
- func (s *ModifyClusterRequestControlPlaneConfig) SetSize(v int64) *ModifyClusterRequestControlPlaneConfig
- func (s *ModifyClusterRequestControlPlaneConfig) SetSocEnabled(v bool) *ModifyClusterRequestControlPlaneConfig
- func (s *ModifyClusterRequestControlPlaneConfig) SetSystemDiskBurstingEnabled(v bool) *ModifyClusterRequestControlPlaneConfig
- func (s *ModifyClusterRequestControlPlaneConfig) SetSystemDiskCategory(v string) *ModifyClusterRequestControlPlaneConfig
- func (s *ModifyClusterRequestControlPlaneConfig) SetSystemDiskPerformanceLevel(v string) *ModifyClusterRequestControlPlaneConfig
- func (s *ModifyClusterRequestControlPlaneConfig) SetSystemDiskProvisionedIops(v int64) *ModifyClusterRequestControlPlaneConfig
- func (s *ModifyClusterRequestControlPlaneConfig) SetSystemDiskSize(v int64) *ModifyClusterRequestControlPlaneConfig
- func (s *ModifyClusterRequestControlPlaneConfig) SetSystemDiskSnapshotPolicyId(v string) *ModifyClusterRequestControlPlaneConfig
- func (s ModifyClusterRequestControlPlaneConfig) String() string
- type ModifyClusterRequestOperationPolicy
- type ModifyClusterRequestOperationPolicyClusterAutoUpgrade
- func (s ModifyClusterRequestOperationPolicyClusterAutoUpgrade) GoString() string
- func (s *ModifyClusterRequestOperationPolicyClusterAutoUpgrade) SetChannel(v string) *ModifyClusterRequestOperationPolicyClusterAutoUpgrade
- func (s *ModifyClusterRequestOperationPolicyClusterAutoUpgrade) SetEnabled(v bool) *ModifyClusterRequestOperationPolicyClusterAutoUpgrade
- func (s ModifyClusterRequestOperationPolicyClusterAutoUpgrade) String() string
- type ModifyClusterRequestSystemEventsLogging
- func (s ModifyClusterRequestSystemEventsLogging) GoString() string
- func (s *ModifyClusterRequestSystemEventsLogging) SetEnabled(v bool) *ModifyClusterRequestSystemEventsLogging
- func (s *ModifyClusterRequestSystemEventsLogging) SetLoggingProject(v string) *ModifyClusterRequestSystemEventsLogging
- func (s ModifyClusterRequestSystemEventsLogging) String() string
- type ModifyClusterResponse
- func (s ModifyClusterResponse) GoString() string
- func (s *ModifyClusterResponse) SetBody(v *ModifyClusterResponseBody) *ModifyClusterResponse
- func (s *ModifyClusterResponse) SetHeaders(v map[string]*string) *ModifyClusterResponse
- func (s *ModifyClusterResponse) SetStatusCode(v int32) *ModifyClusterResponse
- func (s ModifyClusterResponse) String() string
- type ModifyClusterResponseBody
- func (s ModifyClusterResponseBody) GoString() string
- func (s *ModifyClusterResponseBody) SetClusterId(v string) *ModifyClusterResponseBody
- func (s *ModifyClusterResponseBody) SetRequestId(v string) *ModifyClusterResponseBody
- func (s *ModifyClusterResponseBody) SetTaskId(v string) *ModifyClusterResponseBody
- func (s ModifyClusterResponseBody) String() string
- type ModifyClusterTagsRequest
- type ModifyClusterTagsResponse
- type ModifyNodePoolNodeConfigRequest
- func (s ModifyNodePoolNodeConfigRequest) GoString() string
- func (s *ModifyNodePoolNodeConfigRequest) SetContainerdConfig(v *ContainerdConfig) *ModifyNodePoolNodeConfigRequest
- func (s *ModifyNodePoolNodeConfigRequest) SetKubeletConfig(v *KubeletConfig) *ModifyNodePoolNodeConfigRequest
- func (s *ModifyNodePoolNodeConfigRequest) SetOsConfig(v *ModifyNodePoolNodeConfigRequestOsConfig) *ModifyNodePoolNodeConfigRequest
- func (s *ModifyNodePoolNodeConfigRequest) SetRollingPolicy(v *ModifyNodePoolNodeConfigRequestRollingPolicy) *ModifyNodePoolNodeConfigRequest
- func (s ModifyNodePoolNodeConfigRequest) String() string
- type ModifyNodePoolNodeConfigRequestOsConfig
- type ModifyNodePoolNodeConfigRequestRollingPolicy
- type ModifyNodePoolNodeConfigResponse
- func (s ModifyNodePoolNodeConfigResponse) GoString() string
- func (s *ModifyNodePoolNodeConfigResponse) SetBody(v *ModifyNodePoolNodeConfigResponseBody) *ModifyNodePoolNodeConfigResponse
- func (s *ModifyNodePoolNodeConfigResponse) SetHeaders(v map[string]*string) *ModifyNodePoolNodeConfigResponse
- func (s *ModifyNodePoolNodeConfigResponse) SetStatusCode(v int32) *ModifyNodePoolNodeConfigResponse
- func (s ModifyNodePoolNodeConfigResponse) String() string
- type ModifyNodePoolNodeConfigResponseBody
- func (s ModifyNodePoolNodeConfigResponseBody) GoString() string
- func (s *ModifyNodePoolNodeConfigResponseBody) SetNodepoolId(v string) *ModifyNodePoolNodeConfigResponseBody
- func (s *ModifyNodePoolNodeConfigResponseBody) SetRequestId(v string) *ModifyNodePoolNodeConfigResponseBody
- func (s *ModifyNodePoolNodeConfigResponseBody) SetTaskId(v string) *ModifyNodePoolNodeConfigResponseBody
- func (s ModifyNodePoolNodeConfigResponseBody) String() string
- type ModifyPolicyInstanceRequest
- func (s ModifyPolicyInstanceRequest) GoString() string
- func (s *ModifyPolicyInstanceRequest) SetAction(v string) *ModifyPolicyInstanceRequest
- func (s *ModifyPolicyInstanceRequest) SetInstanceName(v string) *ModifyPolicyInstanceRequest
- func (s *ModifyPolicyInstanceRequest) SetNamespaces(v []*string) *ModifyPolicyInstanceRequest
- func (s *ModifyPolicyInstanceRequest) SetParameters(v map[string]interface{}) *ModifyPolicyInstanceRequest
- func (s ModifyPolicyInstanceRequest) String() string
- type ModifyPolicyInstanceResponse
- func (s ModifyPolicyInstanceResponse) GoString() string
- func (s *ModifyPolicyInstanceResponse) SetBody(v *ModifyPolicyInstanceResponseBody) *ModifyPolicyInstanceResponse
- func (s *ModifyPolicyInstanceResponse) SetHeaders(v map[string]*string) *ModifyPolicyInstanceResponse
- func (s *ModifyPolicyInstanceResponse) SetStatusCode(v int32) *ModifyPolicyInstanceResponse
- func (s ModifyPolicyInstanceResponse) String() string
- type ModifyPolicyInstanceResponseBody
- type Nodepool
- func (s Nodepool) GoString() string
- func (s *Nodepool) SetAutoScaling(v *NodepoolAutoScaling) *Nodepool
- func (s *Nodepool) SetCount(v int64) *Nodepool
- func (s *Nodepool) SetInterconnectConfig(v *NodepoolInterconnectConfig) *Nodepool
- func (s *Nodepool) SetInterconnectMode(v string) *Nodepool
- func (s *Nodepool) SetKubernetesConfig(v *NodepoolKubernetesConfig) *Nodepool
- func (s *Nodepool) SetManagement(v *NodepoolManagement) *Nodepool
- func (s *Nodepool) SetMaxNodes(v int64) *Nodepool
- func (s *Nodepool) SetNodeConfig(v *NodepoolNodeConfig) *Nodepool
- func (s *Nodepool) SetNodepoolInfo(v *NodepoolNodepoolInfo) *Nodepool
- func (s *Nodepool) SetScalingGroup(v *NodepoolScalingGroup) *Nodepool
- func (s *Nodepool) SetTeeConfig(v *NodepoolTeeConfig) *Nodepool
- func (s Nodepool) String() string
- type NodepoolAutoScaling
- func (s NodepoolAutoScaling) GoString() string
- func (s *NodepoolAutoScaling) SetEipBandwidth(v int64) *NodepoolAutoScaling
- func (s *NodepoolAutoScaling) SetEipInternetChargeType(v string) *NodepoolAutoScaling
- func (s *NodepoolAutoScaling) SetEnable(v bool) *NodepoolAutoScaling
- func (s *NodepoolAutoScaling) SetIsBondEip(v bool) *NodepoolAutoScaling
- func (s *NodepoolAutoScaling) SetMaxInstances(v int64) *NodepoolAutoScaling
- func (s *NodepoolAutoScaling) SetMinInstances(v int64) *NodepoolAutoScaling
- func (s *NodepoolAutoScaling) SetType(v string) *NodepoolAutoScaling
- func (s NodepoolAutoScaling) String() string
- type NodepoolInterconnectConfig
- func (s NodepoolInterconnectConfig) GoString() string
- func (s *NodepoolInterconnectConfig) SetBandwidth(v int64) *NodepoolInterconnectConfig
- func (s *NodepoolInterconnectConfig) SetCcnId(v string) *NodepoolInterconnectConfig
- func (s *NodepoolInterconnectConfig) SetCcnRegionId(v string) *NodepoolInterconnectConfig
- func (s *NodepoolInterconnectConfig) SetCenId(v string) *NodepoolInterconnectConfig
- func (s *NodepoolInterconnectConfig) SetImprovedPeriod(v string) *NodepoolInterconnectConfig
- func (s NodepoolInterconnectConfig) String() string
- type NodepoolKubernetesConfig
- func (s NodepoolKubernetesConfig) GoString() string
- func (s *NodepoolKubernetesConfig) SetCmsEnabled(v bool) *NodepoolKubernetesConfig
- func (s *NodepoolKubernetesConfig) SetCpuPolicy(v string) *NodepoolKubernetesConfig
- func (s *NodepoolKubernetesConfig) SetLabels(v []*Tag) *NodepoolKubernetesConfig
- func (s *NodepoolKubernetesConfig) SetNodeNameMode(v string) *NodepoolKubernetesConfig
- func (s *NodepoolKubernetesConfig) SetRuntime(v string) *NodepoolKubernetesConfig
- func (s *NodepoolKubernetesConfig) SetRuntimeVersion(v string) *NodepoolKubernetesConfig
- func (s *NodepoolKubernetesConfig) SetTaints(v []*Taint) *NodepoolKubernetesConfig
- func (s *NodepoolKubernetesConfig) SetUserData(v string) *NodepoolKubernetesConfig
- func (s NodepoolKubernetesConfig) String() string
- type NodepoolManagement
- func (s NodepoolManagement) GoString() string
- func (s *NodepoolManagement) SetAutoRepair(v bool) *NodepoolManagement
- func (s *NodepoolManagement) SetAutoRepairPolicy(v *NodepoolManagementAutoRepairPolicy) *NodepoolManagement
- func (s *NodepoolManagement) SetAutoUpgrade(v bool) *NodepoolManagement
- func (s *NodepoolManagement) SetAutoUpgradePolicy(v *NodepoolManagementAutoUpgradePolicy) *NodepoolManagement
- func (s *NodepoolManagement) SetAutoVulFix(v bool) *NodepoolManagement
- func (s *NodepoolManagement) SetAutoVulFixPolicy(v *NodepoolManagementAutoVulFixPolicy) *NodepoolManagement
- func (s *NodepoolManagement) SetEnable(v bool) *NodepoolManagement
- func (s *NodepoolManagement) SetUpgradeConfig(v *NodepoolManagementUpgradeConfig) *NodepoolManagement
- func (s NodepoolManagement) String() string
- type NodepoolManagementAutoRepairPolicy
- type NodepoolManagementAutoUpgradePolicy
- type NodepoolManagementAutoVulFixPolicy
- func (s NodepoolManagementAutoVulFixPolicy) GoString() string
- func (s *NodepoolManagementAutoVulFixPolicy) SetRestartNode(v bool) *NodepoolManagementAutoVulFixPolicy
- func (s *NodepoolManagementAutoVulFixPolicy) SetVulLevel(v string) *NodepoolManagementAutoVulFixPolicy
- func (s NodepoolManagementAutoVulFixPolicy) String() string
- type NodepoolManagementUpgradeConfig
- func (s NodepoolManagementUpgradeConfig) GoString() string
- func (s *NodepoolManagementUpgradeConfig) SetAutoUpgrade(v bool) *NodepoolManagementUpgradeConfig
- func (s *NodepoolManagementUpgradeConfig) SetMaxUnavailable(v int64) *NodepoolManagementUpgradeConfig
- func (s *NodepoolManagementUpgradeConfig) SetSurge(v int64) *NodepoolManagementUpgradeConfig
- func (s *NodepoolManagementUpgradeConfig) SetSurgePercentage(v int64) *NodepoolManagementUpgradeConfig
- func (s NodepoolManagementUpgradeConfig) String() string
- type NodepoolNodeConfig
- type NodepoolNodepoolInfo
- func (s NodepoolNodepoolInfo) GoString() string
- func (s *NodepoolNodepoolInfo) SetName(v string) *NodepoolNodepoolInfo
- func (s *NodepoolNodepoolInfo) SetResourceGroupId(v string) *NodepoolNodepoolInfo
- func (s *NodepoolNodepoolInfo) SetType(v string) *NodepoolNodepoolInfo
- func (s NodepoolNodepoolInfo) String() string
- type NodepoolScalingGroup
- func (s NodepoolScalingGroup) GoString() string
- func (s *NodepoolScalingGroup) SetAutoRenew(v bool) *NodepoolScalingGroup
- func (s *NodepoolScalingGroup) SetAutoRenewPeriod(v int64) *NodepoolScalingGroup
- func (s *NodepoolScalingGroup) SetCompensateWithOnDemand(v bool) *NodepoolScalingGroup
- func (s *NodepoolScalingGroup) SetDataDisks(v []*DataDisk) *NodepoolScalingGroup
- func (s *NodepoolScalingGroup) SetDeploymentsetId(v string) *NodepoolScalingGroup
- func (s *NodepoolScalingGroup) SetDesiredSize(v int64) *NodepoolScalingGroup
- func (s *NodepoolScalingGroup) SetImageId(v string) *NodepoolScalingGroup
- func (s *NodepoolScalingGroup) SetImageType(v string) *NodepoolScalingGroup
- func (s *NodepoolScalingGroup) SetInstanceChargeType(v string) *NodepoolScalingGroup
- func (s *NodepoolScalingGroup) SetInstanceTypes(v []*string) *NodepoolScalingGroup
- func (s *NodepoolScalingGroup) SetInternetChargeType(v string) *NodepoolScalingGroup
- func (s *NodepoolScalingGroup) SetInternetMaxBandwidthOut(v int64) *NodepoolScalingGroup
- func (s *NodepoolScalingGroup) SetKeyPair(v string) *NodepoolScalingGroup
- func (s *NodepoolScalingGroup) SetLoginAsNonRoot(v bool) *NodepoolScalingGroup
- func (s *NodepoolScalingGroup) SetLoginPassword(v string) *NodepoolScalingGroup
- func (s *NodepoolScalingGroup) SetMultiAzPolicy(v string) *NodepoolScalingGroup
- func (s *NodepoolScalingGroup) SetOnDemandBaseCapacity(v int64) *NodepoolScalingGroup
- func (s *NodepoolScalingGroup) SetOnDemandPercentageAboveBaseCapacity(v int64) *NodepoolScalingGroup
- func (s *NodepoolScalingGroup) SetPeriod(v int64) *NodepoolScalingGroup
- func (s *NodepoolScalingGroup) SetPeriodUnit(v string) *NodepoolScalingGroup
- func (s *NodepoolScalingGroup) SetPlatform(v string) *NodepoolScalingGroup
- func (s *NodepoolScalingGroup) SetPrivatePoolOptions(v *NodepoolScalingGroupPrivatePoolOptions) *NodepoolScalingGroup
- func (s *NodepoolScalingGroup) SetRamRoleName(v string) *NodepoolScalingGroup
- func (s *NodepoolScalingGroup) SetRdsInstances(v []*string) *NodepoolScalingGroup
- func (s *NodepoolScalingGroup) SetScalingPolicy(v string) *NodepoolScalingGroup
- func (s *NodepoolScalingGroup) SetSecurityGroupId(v string) *NodepoolScalingGroup
- func (s *NodepoolScalingGroup) SetSecurityGroupIds(v []*string) *NodepoolScalingGroup
- func (s *NodepoolScalingGroup) SetSpotInstancePools(v int64) *NodepoolScalingGroup
- func (s *NodepoolScalingGroup) SetSpotInstanceRemedy(v bool) *NodepoolScalingGroup
- func (s *NodepoolScalingGroup) SetSpotPriceLimit(v []*NodepoolScalingGroupSpotPriceLimit) *NodepoolScalingGroup
- func (s *NodepoolScalingGroup) SetSpotStrategy(v string) *NodepoolScalingGroup
- func (s *NodepoolScalingGroup) SetSystemDiskBurstingEnabled(v bool) *NodepoolScalingGroup
- func (s *NodepoolScalingGroup) SetSystemDiskCategories(v []*string) *NodepoolScalingGroup
- func (s *NodepoolScalingGroup) SetSystemDiskCategory(v string) *NodepoolScalingGroup
- func (s *NodepoolScalingGroup) SetSystemDiskEncryptAlgorithm(v string) *NodepoolScalingGroup
- func (s *NodepoolScalingGroup) SetSystemDiskEncrypted(v bool) *NodepoolScalingGroup
- func (s *NodepoolScalingGroup) SetSystemDiskKmsKeyId(v string) *NodepoolScalingGroup
- func (s *NodepoolScalingGroup) SetSystemDiskPerformanceLevel(v string) *NodepoolScalingGroup
- func (s *NodepoolScalingGroup) SetSystemDiskProvisionedIops(v int64) *NodepoolScalingGroup
- func (s *NodepoolScalingGroup) SetSystemDiskSize(v int64) *NodepoolScalingGroup
- func (s *NodepoolScalingGroup) SetTags(v []*NodepoolScalingGroupTags) *NodepoolScalingGroup
- func (s *NodepoolScalingGroup) SetVswitchIds(v []*string) *NodepoolScalingGroup
- func (s NodepoolScalingGroup) String() string
- type NodepoolScalingGroupPrivatePoolOptions
- func (s NodepoolScalingGroupPrivatePoolOptions) GoString() string
- func (s *NodepoolScalingGroupPrivatePoolOptions) SetId(v string) *NodepoolScalingGroupPrivatePoolOptions
- func (s *NodepoolScalingGroupPrivatePoolOptions) SetMatchCriteria(v string) *NodepoolScalingGroupPrivatePoolOptions
- func (s NodepoolScalingGroupPrivatePoolOptions) String() string
- type NodepoolScalingGroupSpotPriceLimit
- func (s NodepoolScalingGroupSpotPriceLimit) GoString() string
- func (s *NodepoolScalingGroupSpotPriceLimit) SetInstanceType(v string) *NodepoolScalingGroupSpotPriceLimit
- func (s *NodepoolScalingGroupSpotPriceLimit) SetPriceLimit(v string) *NodepoolScalingGroupSpotPriceLimit
- func (s NodepoolScalingGroupSpotPriceLimit) String() string
- type NodepoolScalingGroupTags
- type NodepoolTeeConfig
- type OpenAckServiceRequest
- type OpenAckServiceResponse
- func (s OpenAckServiceResponse) GoString() string
- func (s *OpenAckServiceResponse) SetBody(v *OpenAckServiceResponseBody) *OpenAckServiceResponse
- func (s *OpenAckServiceResponse) SetHeaders(v map[string]*string) *OpenAckServiceResponse
- func (s *OpenAckServiceResponse) SetStatusCode(v int32) *OpenAckServiceResponse
- func (s OpenAckServiceResponse) String() string
- type OpenAckServiceResponseBody
- type PauseClusterUpgradeResponse
- type PauseComponentUpgradeResponse
- func (s PauseComponentUpgradeResponse) GoString() string
- func (s *PauseComponentUpgradeResponse) SetHeaders(v map[string]*string) *PauseComponentUpgradeResponse
- func (s *PauseComponentUpgradeResponse) SetStatusCode(v int32) *PauseComponentUpgradeResponse
- func (s PauseComponentUpgradeResponse) String() string
- type PauseTaskResponse
- type QuotasValue
- func (s QuotasValue) GoString() string
- func (s *QuotasValue) SetAdjustable(v bool) *QuotasValue
- func (s *QuotasValue) SetOperationCode(v string) *QuotasValue
- func (s *QuotasValue) SetQuota(v string) *QuotasValue
- func (s *QuotasValue) SetUnit(v string) *QuotasValue
- func (s QuotasValue) String() string
- type RemoveClusterNodesRequest
- func (s RemoveClusterNodesRequest) GoString() string
- func (s *RemoveClusterNodesRequest) SetDrainNode(v bool) *RemoveClusterNodesRequest
- func (s *RemoveClusterNodesRequest) SetNodes(v []*string) *RemoveClusterNodesRequest
- func (s *RemoveClusterNodesRequest) SetReleaseNode(v bool) *RemoveClusterNodesRequest
- func (s RemoveClusterNodesRequest) String() string
- type RemoveClusterNodesResponse
- type RemoveNodePoolNodesRequest
- func (s RemoveNodePoolNodesRequest) GoString() string
- func (s *RemoveNodePoolNodesRequest) SetConcurrency(v bool) *RemoveNodePoolNodesRequest
- func (s *RemoveNodePoolNodesRequest) SetDrainNode(v bool) *RemoveNodePoolNodesRequest
- func (s *RemoveNodePoolNodesRequest) SetInstanceIds(v []*string) *RemoveNodePoolNodesRequest
- func (s *RemoveNodePoolNodesRequest) SetNodes(v []*string) *RemoveNodePoolNodesRequest
- func (s *RemoveNodePoolNodesRequest) SetReleaseNode(v bool) *RemoveNodePoolNodesRequest
- func (s RemoveNodePoolNodesRequest) String() string
- type RemoveNodePoolNodesResponse
- func (s RemoveNodePoolNodesResponse) GoString() string
- func (s *RemoveNodePoolNodesResponse) SetBody(v *RemoveNodePoolNodesResponseBody) *RemoveNodePoolNodesResponse
- func (s *RemoveNodePoolNodesResponse) SetHeaders(v map[string]*string) *RemoveNodePoolNodesResponse
- func (s *RemoveNodePoolNodesResponse) SetStatusCode(v int32) *RemoveNodePoolNodesResponse
- func (s RemoveNodePoolNodesResponse) String() string
- type RemoveNodePoolNodesResponseBody
- func (s RemoveNodePoolNodesResponseBody) GoString() string
- func (s *RemoveNodePoolNodesResponseBody) SetRequestId(v string) *RemoveNodePoolNodesResponseBody
- func (s *RemoveNodePoolNodesResponseBody) SetTaskId(v string) *RemoveNodePoolNodesResponseBody
- func (s RemoveNodePoolNodesResponseBody) String() string
- type RemoveNodePoolNodesShrinkRequest
- func (s RemoveNodePoolNodesShrinkRequest) GoString() string
- func (s *RemoveNodePoolNodesShrinkRequest) SetConcurrency(v bool) *RemoveNodePoolNodesShrinkRequest
- func (s *RemoveNodePoolNodesShrinkRequest) SetDrainNode(v bool) *RemoveNodePoolNodesShrinkRequest
- func (s *RemoveNodePoolNodesShrinkRequest) SetInstanceIdsShrink(v string) *RemoveNodePoolNodesShrinkRequest
- func (s *RemoveNodePoolNodesShrinkRequest) SetNodesShrink(v string) *RemoveNodePoolNodesShrinkRequest
- func (s *RemoveNodePoolNodesShrinkRequest) SetReleaseNode(v bool) *RemoveNodePoolNodesShrinkRequest
- func (s RemoveNodePoolNodesShrinkRequest) String() string
- type RepairClusterNodePoolRequest
- func (s RepairClusterNodePoolRequest) GoString() string
- func (s *RepairClusterNodePoolRequest) SetAutoRestart(v bool) *RepairClusterNodePoolRequest
- func (s *RepairClusterNodePoolRequest) SetNodes(v []*string) *RepairClusterNodePoolRequest
- func (s *RepairClusterNodePoolRequest) SetOperations(v []*RepairClusterNodePoolRequestOperations) *RepairClusterNodePoolRequest
- func (s RepairClusterNodePoolRequest) String() string
- type RepairClusterNodePoolRequestOperations
- func (s RepairClusterNodePoolRequestOperations) GoString() string
- func (s *RepairClusterNodePoolRequestOperations) SetArgs(v []*string) *RepairClusterNodePoolRequestOperations
- func (s *RepairClusterNodePoolRequestOperations) SetOperationId(v string) *RepairClusterNodePoolRequestOperations
- func (s RepairClusterNodePoolRequestOperations) String() string
- type RepairClusterNodePoolResponse
- func (s RepairClusterNodePoolResponse) GoString() string
- func (s *RepairClusterNodePoolResponse) SetBody(v *RepairClusterNodePoolResponseBody) *RepairClusterNodePoolResponse
- func (s *RepairClusterNodePoolResponse) SetHeaders(v map[string]*string) *RepairClusterNodePoolResponse
- func (s *RepairClusterNodePoolResponse) SetStatusCode(v int32) *RepairClusterNodePoolResponse
- func (s RepairClusterNodePoolResponse) String() string
- type RepairClusterNodePoolResponseBody
- func (s RepairClusterNodePoolResponseBody) GoString() string
- func (s *RepairClusterNodePoolResponseBody) SetRequestId(v string) *RepairClusterNodePoolResponseBody
- func (s *RepairClusterNodePoolResponseBody) SetTaskId(v string) *RepairClusterNodePoolResponseBody
- func (s RepairClusterNodePoolResponseBody) String() string
- type ResumeComponentUpgradeResponse
- func (s ResumeComponentUpgradeResponse) GoString() string
- func (s *ResumeComponentUpgradeResponse) SetHeaders(v map[string]*string) *ResumeComponentUpgradeResponse
- func (s *ResumeComponentUpgradeResponse) SetStatusCode(v int32) *ResumeComponentUpgradeResponse
- func (s ResumeComponentUpgradeResponse) String() string
- type ResumeTaskResponse
- type ResumeUpgradeClusterResponse
- func (s ResumeUpgradeClusterResponse) GoString() string
- func (s *ResumeUpgradeClusterResponse) SetHeaders(v map[string]*string) *ResumeUpgradeClusterResponse
- func (s *ResumeUpgradeClusterResponse) SetStatusCode(v int32) *ResumeUpgradeClusterResponse
- func (s ResumeUpgradeClusterResponse) String() string
- type RevokeK8sClusterKubeConfigResponse
- func (s RevokeK8sClusterKubeConfigResponse) GoString() string
- func (s *RevokeK8sClusterKubeConfigResponse) SetBody(v *RevokeK8sClusterKubeConfigResponseBody) *RevokeK8sClusterKubeConfigResponse
- func (s *RevokeK8sClusterKubeConfigResponse) SetHeaders(v map[string]*string) *RevokeK8sClusterKubeConfigResponse
- func (s *RevokeK8sClusterKubeConfigResponse) SetStatusCode(v int32) *RevokeK8sClusterKubeConfigResponse
- func (s RevokeK8sClusterKubeConfigResponse) String() string
- type RevokeK8sClusterKubeConfigResponseBody
- type RunClusterCheckRequest
- func (s RunClusterCheckRequest) GoString() string
- func (s *RunClusterCheckRequest) SetOptions(v map[string]*string) *RunClusterCheckRequest
- func (s *RunClusterCheckRequest) SetTarget(v string) *RunClusterCheckRequest
- func (s *RunClusterCheckRequest) SetType(v string) *RunClusterCheckRequest
- func (s RunClusterCheckRequest) String() string
- type RunClusterCheckResponse
- func (s RunClusterCheckResponse) GoString() string
- func (s *RunClusterCheckResponse) SetBody(v *RunClusterCheckResponseBody) *RunClusterCheckResponse
- func (s *RunClusterCheckResponse) SetHeaders(v map[string]*string) *RunClusterCheckResponse
- func (s *RunClusterCheckResponse) SetStatusCode(v int32) *RunClusterCheckResponse
- func (s RunClusterCheckResponse) String() string
- type RunClusterCheckResponseBody
- type Runtime
- type ScaleClusterNodePoolRequest
- type ScaleClusterNodePoolResponse
- func (s ScaleClusterNodePoolResponse) GoString() string
- func (s *ScaleClusterNodePoolResponse) SetBody(v *ScaleClusterNodePoolResponseBody) *ScaleClusterNodePoolResponse
- func (s *ScaleClusterNodePoolResponse) SetHeaders(v map[string]*string) *ScaleClusterNodePoolResponse
- func (s *ScaleClusterNodePoolResponse) SetStatusCode(v int32) *ScaleClusterNodePoolResponse
- func (s ScaleClusterNodePoolResponse) String() string
- type ScaleClusterNodePoolResponseBody
- type ScaleClusterRequest
- func (s ScaleClusterRequest) GoString() string
- func (s *ScaleClusterRequest) SetCloudMonitorFlags(v bool) *ScaleClusterRequest
- func (s *ScaleClusterRequest) SetCount(v int64) *ScaleClusterRequest
- func (s *ScaleClusterRequest) SetCpuPolicy(v string) *ScaleClusterRequest
- func (s *ScaleClusterRequest) SetDisableRollback(v bool) *ScaleClusterRequest
- func (s *ScaleClusterRequest) SetKeyPair(v string) *ScaleClusterRequest
- func (s *ScaleClusterRequest) SetLoginPassword(v string) *ScaleClusterRequest
- func (s *ScaleClusterRequest) SetTags(v []*ScaleClusterRequestTags) *ScaleClusterRequest
- func (s *ScaleClusterRequest) SetTaints(v []*ScaleClusterRequestTaints) *ScaleClusterRequest
- func (s *ScaleClusterRequest) SetVswitchIds(v []*string) *ScaleClusterRequest
- func (s *ScaleClusterRequest) SetWorkerAutoRenew(v bool) *ScaleClusterRequest
- func (s *ScaleClusterRequest) SetWorkerAutoRenewPeriod(v int64) *ScaleClusterRequest
- func (s *ScaleClusterRequest) SetWorkerDataDisk(v bool) *ScaleClusterRequest
- func (s *ScaleClusterRequest) SetWorkerDataDisks(v []*ScaleClusterRequestWorkerDataDisks) *ScaleClusterRequest
- func (s *ScaleClusterRequest) SetWorkerInstanceChargeType(v string) *ScaleClusterRequest
- func (s *ScaleClusterRequest) SetWorkerInstanceTypes(v []*string) *ScaleClusterRequest
- func (s *ScaleClusterRequest) SetWorkerPeriod(v int64) *ScaleClusterRequest
- func (s *ScaleClusterRequest) SetWorkerPeriodUnit(v string) *ScaleClusterRequest
- func (s *ScaleClusterRequest) SetWorkerSystemDiskCategory(v string) *ScaleClusterRequest
- func (s *ScaleClusterRequest) SetWorkerSystemDiskSize(v int64) *ScaleClusterRequest
- func (s ScaleClusterRequest) String() string
- type ScaleClusterRequestTags
- type ScaleClusterRequestTaints
- func (s ScaleClusterRequestTaints) GoString() string
- func (s *ScaleClusterRequestTaints) SetEffect(v string) *ScaleClusterRequestTaints
- func (s *ScaleClusterRequestTaints) SetKey(v string) *ScaleClusterRequestTaints
- func (s *ScaleClusterRequestTaints) SetValue(v string) *ScaleClusterRequestTaints
- func (s ScaleClusterRequestTaints) String() string
- type ScaleClusterRequestWorkerDataDisks
- func (s ScaleClusterRequestWorkerDataDisks) GoString() string
- func (s *ScaleClusterRequestWorkerDataDisks) SetCategory(v string) *ScaleClusterRequestWorkerDataDisks
- func (s *ScaleClusterRequestWorkerDataDisks) SetEncrypted(v string) *ScaleClusterRequestWorkerDataDisks
- func (s *ScaleClusterRequestWorkerDataDisks) SetSize(v string) *ScaleClusterRequestWorkerDataDisks
- func (s ScaleClusterRequestWorkerDataDisks) String() string
- type ScaleClusterResponse
- func (s ScaleClusterResponse) GoString() string
- func (s *ScaleClusterResponse) SetBody(v *ScaleClusterResponseBody) *ScaleClusterResponse
- func (s *ScaleClusterResponse) SetHeaders(v map[string]*string) *ScaleClusterResponse
- func (s *ScaleClusterResponse) SetStatusCode(v int32) *ScaleClusterResponse
- func (s ScaleClusterResponse) String() string
- type ScaleClusterResponseBody
- func (s ScaleClusterResponseBody) GoString() string
- func (s *ScaleClusterResponseBody) SetClusterId(v string) *ScaleClusterResponseBody
- func (s *ScaleClusterResponseBody) SetRequestId(v string) *ScaleClusterResponseBody
- func (s *ScaleClusterResponseBody) SetTaskId(v string) *ScaleClusterResponseBody
- func (s ScaleClusterResponseBody) String() string
- type ScaleOutClusterRequest
- func (s ScaleOutClusterRequest) GoString() string
- func (s *ScaleOutClusterRequest) SetCloudMonitorFlags(v bool) *ScaleOutClusterRequest
- func (s *ScaleOutClusterRequest) SetCount(v int64) *ScaleOutClusterRequest
- func (s *ScaleOutClusterRequest) SetCpuPolicy(v string) *ScaleOutClusterRequest
- func (s *ScaleOutClusterRequest) SetImageId(v string) *ScaleOutClusterRequest
- func (s *ScaleOutClusterRequest) SetKeyPair(v string) *ScaleOutClusterRequest
- func (s *ScaleOutClusterRequest) SetLoginPassword(v string) *ScaleOutClusterRequest
- func (s *ScaleOutClusterRequest) SetRdsInstances(v []*string) *ScaleOutClusterRequest
- func (s *ScaleOutClusterRequest) SetRuntime(v *Runtime) *ScaleOutClusterRequest
- func (s *ScaleOutClusterRequest) SetTags(v []*Tag) *ScaleOutClusterRequest
- func (s *ScaleOutClusterRequest) SetTaints(v []*Taint) *ScaleOutClusterRequest
- func (s *ScaleOutClusterRequest) SetUserData(v string) *ScaleOutClusterRequest
- func (s *ScaleOutClusterRequest) SetVswitchIds(v []*string) *ScaleOutClusterRequest
- func (s *ScaleOutClusterRequest) SetWorkerAutoRenew(v bool) *ScaleOutClusterRequest
- func (s *ScaleOutClusterRequest) SetWorkerAutoRenewPeriod(v int64) *ScaleOutClusterRequest
- func (s *ScaleOutClusterRequest) SetWorkerDataDisks(v []*ScaleOutClusterRequestWorkerDataDisks) *ScaleOutClusterRequest
- func (s *ScaleOutClusterRequest) SetWorkerInstanceChargeType(v string) *ScaleOutClusterRequest
- func (s *ScaleOutClusterRequest) SetWorkerInstanceTypes(v []*string) *ScaleOutClusterRequest
- func (s *ScaleOutClusterRequest) SetWorkerPeriod(v int64) *ScaleOutClusterRequest
- func (s *ScaleOutClusterRequest) SetWorkerPeriodUnit(v string) *ScaleOutClusterRequest
- func (s *ScaleOutClusterRequest) SetWorkerSystemDiskCategory(v string) *ScaleOutClusterRequest
- func (s *ScaleOutClusterRequest) SetWorkerSystemDiskSize(v int64) *ScaleOutClusterRequest
- func (s ScaleOutClusterRequest) String() string
- type ScaleOutClusterRequestWorkerDataDisks
- func (s ScaleOutClusterRequestWorkerDataDisks) GoString() string
- func (s *ScaleOutClusterRequestWorkerDataDisks) SetAutoSnapshotPolicyId(v string) *ScaleOutClusterRequestWorkerDataDisks
- func (s *ScaleOutClusterRequestWorkerDataDisks) SetCategory(v string) *ScaleOutClusterRequestWorkerDataDisks
- func (s *ScaleOutClusterRequestWorkerDataDisks) SetEncrypted(v string) *ScaleOutClusterRequestWorkerDataDisks
- func (s *ScaleOutClusterRequestWorkerDataDisks) SetSize(v string) *ScaleOutClusterRequestWorkerDataDisks
- func (s ScaleOutClusterRequestWorkerDataDisks) String() string
- type ScaleOutClusterResponse
- func (s ScaleOutClusterResponse) GoString() string
- func (s *ScaleOutClusterResponse) SetBody(v *ScaleOutClusterResponseBody) *ScaleOutClusterResponse
- func (s *ScaleOutClusterResponse) SetHeaders(v map[string]*string) *ScaleOutClusterResponse
- func (s *ScaleOutClusterResponse) SetStatusCode(v int32) *ScaleOutClusterResponse
- func (s ScaleOutClusterResponse) String() string
- type ScaleOutClusterResponseBody
- func (s ScaleOutClusterResponseBody) GoString() string
- func (s *ScaleOutClusterResponseBody) SetClusterId(v string) *ScaleOutClusterResponseBody
- func (s *ScaleOutClusterResponseBody) SetRequestId(v string) *ScaleOutClusterResponseBody
- func (s *ScaleOutClusterResponseBody) SetTaskId(v string) *ScaleOutClusterResponseBody
- func (s ScaleOutClusterResponseBody) String() string
- type ScanClusterVulsResponse
- func (s ScanClusterVulsResponse) GoString() string
- func (s *ScanClusterVulsResponse) SetBody(v *ScanClusterVulsResponseBody) *ScanClusterVulsResponse
- func (s *ScanClusterVulsResponse) SetHeaders(v map[string]*string) *ScanClusterVulsResponse
- func (s *ScanClusterVulsResponse) SetStatusCode(v int32) *ScanClusterVulsResponse
- func (s ScanClusterVulsResponse) String() string
- type ScanClusterVulsResponseBody
- type StandardComponentsValue
- func (s StandardComponentsValue) GoString() string
- func (s *StandardComponentsValue) SetDescription(v string) *StandardComponentsValue
- func (s *StandardComponentsValue) SetDisabled(v bool) *StandardComponentsValue
- func (s *StandardComponentsValue) SetName(v string) *StandardComponentsValue
- func (s *StandardComponentsValue) SetRequired(v string) *StandardComponentsValue
- func (s *StandardComponentsValue) SetVersion(v string) *StandardComponentsValue
- func (s StandardComponentsValue) String() string
- type StartAlertRequest
- type StartAlertResponse
- func (s StartAlertResponse) GoString() string
- func (s *StartAlertResponse) SetBody(v *StartAlertResponseBody) *StartAlertResponse
- func (s *StartAlertResponse) SetHeaders(v map[string]*string) *StartAlertResponse
- func (s *StartAlertResponse) SetStatusCode(v int32) *StartAlertResponse
- func (s StartAlertResponse) String() string
- type StartAlertResponseBody
- type StopAlertRequest
- type StopAlertResponse
- func (s StopAlertResponse) GoString() string
- func (s *StopAlertResponse) SetBody(v *StopAlertResponseBody) *StopAlertResponse
- func (s *StopAlertResponse) SetHeaders(v map[string]*string) *StopAlertResponse
- func (s *StopAlertResponse) SetStatusCode(v int32) *StopAlertResponse
- func (s StopAlertResponse) String() string
- type StopAlertResponseBody
- type SyncClusterNodePoolResponse
- func (s SyncClusterNodePoolResponse) GoString() string
- func (s *SyncClusterNodePoolResponse) SetBody(v *SyncClusterNodePoolResponseBody) *SyncClusterNodePoolResponse
- func (s *SyncClusterNodePoolResponse) SetHeaders(v map[string]*string) *SyncClusterNodePoolResponse
- func (s *SyncClusterNodePoolResponse) SetStatusCode(v int32) *SyncClusterNodePoolResponse
- func (s SyncClusterNodePoolResponse) String() string
- type SyncClusterNodePoolResponseBody
- type Tag
- type TagResourcesRequest
- func (s TagResourcesRequest) GoString() string
- func (s *TagResourcesRequest) SetRegionId(v string) *TagResourcesRequest
- func (s *TagResourcesRequest) SetResourceIds(v []*string) *TagResourcesRequest
- func (s *TagResourcesRequest) SetResourceType(v string) *TagResourcesRequest
- func (s *TagResourcesRequest) SetTags(v []*Tag) *TagResourcesRequest
- func (s TagResourcesRequest) String() string
- type TagResourcesResponse
- func (s TagResourcesResponse) GoString() string
- func (s *TagResourcesResponse) SetBody(v *TagResourcesResponseBody) *TagResourcesResponse
- func (s *TagResourcesResponse) SetHeaders(v map[string]*string) *TagResourcesResponse
- func (s *TagResourcesResponse) SetStatusCode(v int32) *TagResourcesResponse
- func (s TagResourcesResponse) String() string
- type TagResourcesResponseBody
- type Taint
- type UnInstallClusterAddonsRequest
- type UnInstallClusterAddonsRequestAddons
- func (s UnInstallClusterAddonsRequestAddons) GoString() string
- func (s *UnInstallClusterAddonsRequestAddons) SetCleanupCloudResources(v bool) *UnInstallClusterAddonsRequestAddons
- func (s *UnInstallClusterAddonsRequestAddons) SetName(v string) *UnInstallClusterAddonsRequestAddons
- func (s UnInstallClusterAddonsRequestAddons) String() string
- type UnInstallClusterAddonsResponse
- func (s UnInstallClusterAddonsResponse) GoString() string
- func (s *UnInstallClusterAddonsResponse) SetBody(v *UnInstallClusterAddonsResponseBody) *UnInstallClusterAddonsResponse
- func (s *UnInstallClusterAddonsResponse) SetHeaders(v map[string]*string) *UnInstallClusterAddonsResponse
- func (s *UnInstallClusterAddonsResponse) SetStatusCode(v int32) *UnInstallClusterAddonsResponse
- func (s UnInstallClusterAddonsResponse) String() string
- type UnInstallClusterAddonsResponseBody
- func (s UnInstallClusterAddonsResponseBody) GoString() string
- func (s *UnInstallClusterAddonsResponseBody) SetClusterId(v string) *UnInstallClusterAddonsResponseBody
- func (s *UnInstallClusterAddonsResponseBody) SetRequestId(v string) *UnInstallClusterAddonsResponseBody
- func (s *UnInstallClusterAddonsResponseBody) SetTaskId(v string) *UnInstallClusterAddonsResponseBody
- func (s UnInstallClusterAddonsResponseBody) String() string
- type UntagResourcesRequest
- func (s UntagResourcesRequest) GoString() string
- func (s *UntagResourcesRequest) SetAll(v bool) *UntagResourcesRequest
- func (s *UntagResourcesRequest) SetRegionId(v string) *UntagResourcesRequest
- func (s *UntagResourcesRequest) SetResourceIds(v []*string) *UntagResourcesRequest
- func (s *UntagResourcesRequest) SetResourceType(v string) *UntagResourcesRequest
- func (s *UntagResourcesRequest) SetTagKeys(v []*string) *UntagResourcesRequest
- func (s UntagResourcesRequest) String() string
- type UntagResourcesResponse
- func (s UntagResourcesResponse) GoString() string
- func (s *UntagResourcesResponse) SetBody(v *UntagResourcesResponseBody) *UntagResourcesResponse
- func (s *UntagResourcesResponse) SetHeaders(v map[string]*string) *UntagResourcesResponse
- func (s *UntagResourcesResponse) SetStatusCode(v int32) *UntagResourcesResponse
- func (s UntagResourcesResponse) String() string
- type UntagResourcesResponseBody
- type UntagResourcesShrinkRequest
- func (s UntagResourcesShrinkRequest) GoString() string
- func (s *UntagResourcesShrinkRequest) SetAll(v bool) *UntagResourcesShrinkRequest
- func (s *UntagResourcesShrinkRequest) SetRegionId(v string) *UntagResourcesShrinkRequest
- func (s *UntagResourcesShrinkRequest) SetResourceIdsShrink(v string) *UntagResourcesShrinkRequest
- func (s *UntagResourcesShrinkRequest) SetResourceType(v string) *UntagResourcesShrinkRequest
- func (s *UntagResourcesShrinkRequest) SetTagKeysShrink(v string) *UntagResourcesShrinkRequest
- func (s UntagResourcesShrinkRequest) String() string
- type UpdateClusterAuditLogConfigRequest
- func (s UpdateClusterAuditLogConfigRequest) GoString() string
- func (s *UpdateClusterAuditLogConfigRequest) SetDisable(v bool) *UpdateClusterAuditLogConfigRequest
- func (s *UpdateClusterAuditLogConfigRequest) SetSlsProjectName(v string) *UpdateClusterAuditLogConfigRequest
- func (s UpdateClusterAuditLogConfigRequest) String() string
- type UpdateClusterAuditLogConfigResponse
- func (s UpdateClusterAuditLogConfigResponse) GoString() string
- func (s *UpdateClusterAuditLogConfigResponse) SetBody(v *UpdateClusterAuditLogConfigResponseBody) *UpdateClusterAuditLogConfigResponse
- func (s *UpdateClusterAuditLogConfigResponse) SetHeaders(v map[string]*string) *UpdateClusterAuditLogConfigResponse
- func (s *UpdateClusterAuditLogConfigResponse) SetStatusCode(v int32) *UpdateClusterAuditLogConfigResponse
- func (s UpdateClusterAuditLogConfigResponse) String() string
- type UpdateClusterAuditLogConfigResponseBody
- func (s UpdateClusterAuditLogConfigResponseBody) GoString() string
- func (s *UpdateClusterAuditLogConfigResponseBody) SetClusterId(v string) *UpdateClusterAuditLogConfigResponseBody
- func (s *UpdateClusterAuditLogConfigResponseBody) SetRequestId(v string) *UpdateClusterAuditLogConfigResponseBody
- func (s *UpdateClusterAuditLogConfigResponseBody) SetTaskId(v string) *UpdateClusterAuditLogConfigResponseBody
- func (s UpdateClusterAuditLogConfigResponseBody) String() string
- type UpdateContactGroupForAlertRequest
- func (s UpdateContactGroupForAlertRequest) GoString() string
- func (s *UpdateContactGroupForAlertRequest) SetAlertRuleGroupName(v string) *UpdateContactGroupForAlertRequest
- func (s *UpdateContactGroupForAlertRequest) SetContactGroupIds(v []*int64) *UpdateContactGroupForAlertRequest
- func (s *UpdateContactGroupForAlertRequest) SetCrName(v string) *UpdateContactGroupForAlertRequest
- func (s *UpdateContactGroupForAlertRequest) SetNamespace(v string) *UpdateContactGroupForAlertRequest
- func (s UpdateContactGroupForAlertRequest) String() string
- type UpdateContactGroupForAlertResponse
- func (s UpdateContactGroupForAlertResponse) GoString() string
- func (s *UpdateContactGroupForAlertResponse) SetBody(v *UpdateContactGroupForAlertResponseBody) *UpdateContactGroupForAlertResponse
- func (s *UpdateContactGroupForAlertResponse) SetHeaders(v map[string]*string) *UpdateContactGroupForAlertResponse
- func (s *UpdateContactGroupForAlertResponse) SetStatusCode(v int32) *UpdateContactGroupForAlertResponse
- func (s UpdateContactGroupForAlertResponse) String() string
- type UpdateContactGroupForAlertResponseBody
- func (s UpdateContactGroupForAlertResponseBody) GoString() string
- func (s *UpdateContactGroupForAlertResponseBody) SetMsg(v string) *UpdateContactGroupForAlertResponseBody
- func (s *UpdateContactGroupForAlertResponseBody) SetStatus(v bool) *UpdateContactGroupForAlertResponseBody
- func (s UpdateContactGroupForAlertResponseBody) String() string
- type UpdateControlPlaneLogRequest
- func (s UpdateControlPlaneLogRequest) GoString() string
- func (s *UpdateControlPlaneLogRequest) SetAliuid(v string) *UpdateControlPlaneLogRequest
- func (s *UpdateControlPlaneLogRequest) SetComponents(v []*string) *UpdateControlPlaneLogRequest
- func (s *UpdateControlPlaneLogRequest) SetLogProject(v string) *UpdateControlPlaneLogRequest
- func (s *UpdateControlPlaneLogRequest) SetLogTtl(v string) *UpdateControlPlaneLogRequest
- func (s UpdateControlPlaneLogRequest) String() string
- type UpdateControlPlaneLogResponse
- func (s UpdateControlPlaneLogResponse) GoString() string
- func (s *UpdateControlPlaneLogResponse) SetBody(v *UpdateControlPlaneLogResponseBody) *UpdateControlPlaneLogResponse
- func (s *UpdateControlPlaneLogResponse) SetHeaders(v map[string]*string) *UpdateControlPlaneLogResponse
- func (s *UpdateControlPlaneLogResponse) SetStatusCode(v int32) *UpdateControlPlaneLogResponse
- func (s UpdateControlPlaneLogResponse) String() string
- type UpdateControlPlaneLogResponseBody
- func (s UpdateControlPlaneLogResponseBody) GoString() string
- func (s *UpdateControlPlaneLogResponseBody) SetClusterId(v string) *UpdateControlPlaneLogResponseBody
- func (s *UpdateControlPlaneLogResponseBody) SetRequestId(v string) *UpdateControlPlaneLogResponseBody
- func (s *UpdateControlPlaneLogResponseBody) SetTaskId(v string) *UpdateControlPlaneLogResponseBody
- func (s UpdateControlPlaneLogResponseBody) String() string
- type UpdateK8sClusterUserConfigExpireRequest
- func (s UpdateK8sClusterUserConfigExpireRequest) GoString() string
- func (s *UpdateK8sClusterUserConfigExpireRequest) SetExpireHour(v int64) *UpdateK8sClusterUserConfigExpireRequest
- func (s *UpdateK8sClusterUserConfigExpireRequest) SetUser(v string) *UpdateK8sClusterUserConfigExpireRequest
- func (s UpdateK8sClusterUserConfigExpireRequest) String() string
- type UpdateK8sClusterUserConfigExpireResponse
- func (s UpdateK8sClusterUserConfigExpireResponse) GoString() string
- func (s *UpdateK8sClusterUserConfigExpireResponse) SetHeaders(v map[string]*string) *UpdateK8sClusterUserConfigExpireResponse
- func (s *UpdateK8sClusterUserConfigExpireResponse) SetStatusCode(v int32) *UpdateK8sClusterUserConfigExpireResponse
- func (s UpdateK8sClusterUserConfigExpireResponse) String() string
- type UpdateResourcesDeleteProtectionRequest
- func (s UpdateResourcesDeleteProtectionRequest) GoString() string
- func (s *UpdateResourcesDeleteProtectionRequest) SetEnable(v bool) *UpdateResourcesDeleteProtectionRequest
- func (s *UpdateResourcesDeleteProtectionRequest) SetNamespace(v string) *UpdateResourcesDeleteProtectionRequest
- func (s *UpdateResourcesDeleteProtectionRequest) SetResourceType(v string) *UpdateResourcesDeleteProtectionRequest
- func (s *UpdateResourcesDeleteProtectionRequest) SetResources(v []*string) *UpdateResourcesDeleteProtectionRequest
- func (s UpdateResourcesDeleteProtectionRequest) String() string
- type UpdateResourcesDeleteProtectionResponse
- func (s UpdateResourcesDeleteProtectionResponse) GoString() string
- func (s *UpdateResourcesDeleteProtectionResponse) SetBody(v *UpdateResourcesDeleteProtectionResponseBody) *UpdateResourcesDeleteProtectionResponse
- func (s *UpdateResourcesDeleteProtectionResponse) SetHeaders(v map[string]*string) *UpdateResourcesDeleteProtectionResponse
- func (s *UpdateResourcesDeleteProtectionResponse) SetStatusCode(v int32) *UpdateResourcesDeleteProtectionResponse
- func (s UpdateResourcesDeleteProtectionResponse) String() string
- type UpdateResourcesDeleteProtectionResponseBody
- func (s UpdateResourcesDeleteProtectionResponseBody) GoString() string
- func (s *UpdateResourcesDeleteProtectionResponseBody) SetNamespace(v string) *UpdateResourcesDeleteProtectionResponseBody
- func (s *UpdateResourcesDeleteProtectionResponseBody) SetProtection(v string) *UpdateResourcesDeleteProtectionResponseBody
- func (s *UpdateResourcesDeleteProtectionResponseBody) SetRequestId(v string) *UpdateResourcesDeleteProtectionResponseBody
- func (s *UpdateResourcesDeleteProtectionResponseBody) SetResourceType(v string) *UpdateResourcesDeleteProtectionResponseBody
- func (s *UpdateResourcesDeleteProtectionResponseBody) SetResources(v []*string) *UpdateResourcesDeleteProtectionResponseBody
- func (s UpdateResourcesDeleteProtectionResponseBody) String() string
- type UpdateTemplateRequest
- func (s UpdateTemplateRequest) GoString() string
- func (s *UpdateTemplateRequest) SetDescription(v string) *UpdateTemplateRequest
- func (s *UpdateTemplateRequest) SetName(v string) *UpdateTemplateRequest
- func (s *UpdateTemplateRequest) SetTags(v string) *UpdateTemplateRequest
- func (s *UpdateTemplateRequest) SetTemplate(v string) *UpdateTemplateRequest
- func (s *UpdateTemplateRequest) SetTemplateType(v string) *UpdateTemplateRequest
- func (s UpdateTemplateRequest) String() string
- type UpdateTemplateResponse
- type UpdateUserPermissionsRequest
- func (s UpdateUserPermissionsRequest) GoString() string
- func (s *UpdateUserPermissionsRequest) SetBody(v []*UpdateUserPermissionsRequestBody) *UpdateUserPermissionsRequest
- func (s *UpdateUserPermissionsRequest) SetMode(v string) *UpdateUserPermissionsRequest
- func (s UpdateUserPermissionsRequest) String() string
- type UpdateUserPermissionsRequestBody
- func (s UpdateUserPermissionsRequestBody) GoString() string
- func (s *UpdateUserPermissionsRequestBody) SetCluster(v string) *UpdateUserPermissionsRequestBody
- func (s *UpdateUserPermissionsRequestBody) SetIsCustom(v bool) *UpdateUserPermissionsRequestBody
- func (s *UpdateUserPermissionsRequestBody) SetIsRamRole(v bool) *UpdateUserPermissionsRequestBody
- func (s *UpdateUserPermissionsRequestBody) SetNamespace(v string) *UpdateUserPermissionsRequestBody
- func (s *UpdateUserPermissionsRequestBody) SetRoleName(v string) *UpdateUserPermissionsRequestBody
- func (s *UpdateUserPermissionsRequestBody) SetRoleType(v string) *UpdateUserPermissionsRequestBody
- func (s UpdateUserPermissionsRequestBody) String() string
- type UpdateUserPermissionsResponse
- func (s UpdateUserPermissionsResponse) GoString() string
- func (s *UpdateUserPermissionsResponse) SetHeaders(v map[string]*string) *UpdateUserPermissionsResponse
- func (s *UpdateUserPermissionsResponse) SetStatusCode(v int32) *UpdateUserPermissionsResponse
- func (s UpdateUserPermissionsResponse) String() string
- type UpgradeClusterAddonsRequest
- type UpgradeClusterAddonsRequestBody
- func (s UpgradeClusterAddonsRequestBody) GoString() string
- func (s *UpgradeClusterAddonsRequestBody) SetComponentName(v string) *UpgradeClusterAddonsRequestBody
- func (s *UpgradeClusterAddonsRequestBody) SetConfig(v string) *UpgradeClusterAddonsRequestBody
- func (s *UpgradeClusterAddonsRequestBody) SetNextVersion(v string) *UpgradeClusterAddonsRequestBody
- func (s *UpgradeClusterAddonsRequestBody) SetPolicy(v string) *UpgradeClusterAddonsRequestBody
- func (s *UpgradeClusterAddonsRequestBody) SetVersion(v string) *UpgradeClusterAddonsRequestBody
- func (s UpgradeClusterAddonsRequestBody) String() string
- type UpgradeClusterAddonsResponse
- func (s UpgradeClusterAddonsResponse) GoString() string
- func (s *UpgradeClusterAddonsResponse) SetBody(v *UpgradeClusterAddonsResponseBody) *UpgradeClusterAddonsResponse
- func (s *UpgradeClusterAddonsResponse) SetHeaders(v map[string]*string) *UpgradeClusterAddonsResponse
- func (s *UpgradeClusterAddonsResponse) SetStatusCode(v int32) *UpgradeClusterAddonsResponse
- func (s UpgradeClusterAddonsResponse) String() string
- type UpgradeClusterAddonsResponseBody
- func (s UpgradeClusterAddonsResponseBody) GoString() string
- func (s *UpgradeClusterAddonsResponseBody) SetClusterId(v string) *UpgradeClusterAddonsResponseBody
- func (s *UpgradeClusterAddonsResponseBody) SetRequestId(v string) *UpgradeClusterAddonsResponseBody
- func (s *UpgradeClusterAddonsResponseBody) SetTaskId(v string) *UpgradeClusterAddonsResponseBody
- func (s UpgradeClusterAddonsResponseBody) String() string
- type UpgradeClusterNodepoolRequest
- func (s UpgradeClusterNodepoolRequest) GoString() string
- func (s *UpgradeClusterNodepoolRequest) SetImageId(v string) *UpgradeClusterNodepoolRequest
- func (s *UpgradeClusterNodepoolRequest) SetKubernetesVersion(v string) *UpgradeClusterNodepoolRequest
- func (s *UpgradeClusterNodepoolRequest) SetNodeNames(v []*string) *UpgradeClusterNodepoolRequest
- func (s *UpgradeClusterNodepoolRequest) SetRollingPolicy(v *UpgradeClusterNodepoolRequestRollingPolicy) *UpgradeClusterNodepoolRequest
- func (s *UpgradeClusterNodepoolRequest) SetRuntimeType(v string) *UpgradeClusterNodepoolRequest
- func (s *UpgradeClusterNodepoolRequest) SetRuntimeVersion(v string) *UpgradeClusterNodepoolRequest
- func (s *UpgradeClusterNodepoolRequest) SetUseReplace(v bool) *UpgradeClusterNodepoolRequest
- func (s UpgradeClusterNodepoolRequest) String() string
- type UpgradeClusterNodepoolRequestRollingPolicy
- func (s UpgradeClusterNodepoolRequestRollingPolicy) GoString() string
- func (s *UpgradeClusterNodepoolRequestRollingPolicy) SetBatchInterval(v int32) *UpgradeClusterNodepoolRequestRollingPolicy
- func (s *UpgradeClusterNodepoolRequestRollingPolicy) SetMaxParallelism(v int32) *UpgradeClusterNodepoolRequestRollingPolicy
- func (s *UpgradeClusterNodepoolRequestRollingPolicy) SetPausePolicy(v string) *UpgradeClusterNodepoolRequestRollingPolicy
- func (s UpgradeClusterNodepoolRequestRollingPolicy) String() string
- type UpgradeClusterNodepoolResponse
- func (s UpgradeClusterNodepoolResponse) GoString() string
- func (s *UpgradeClusterNodepoolResponse) SetBody(v *UpgradeClusterNodepoolResponseBody) *UpgradeClusterNodepoolResponse
- func (s *UpgradeClusterNodepoolResponse) SetHeaders(v map[string]*string) *UpgradeClusterNodepoolResponse
- func (s *UpgradeClusterNodepoolResponse) SetStatusCode(v int32) *UpgradeClusterNodepoolResponse
- func (s UpgradeClusterNodepoolResponse) String() string
- type UpgradeClusterNodepoolResponseBody
- func (s UpgradeClusterNodepoolResponseBody) GoString() string
- func (s *UpgradeClusterNodepoolResponseBody) SetRequestId(v string) *UpgradeClusterNodepoolResponseBody
- func (s *UpgradeClusterNodepoolResponseBody) SetTaskId(v string) *UpgradeClusterNodepoolResponseBody
- func (s UpgradeClusterNodepoolResponseBody) String() string
- type UpgradeClusterRequest
- func (s UpgradeClusterRequest) GoString() string
- func (s *UpgradeClusterRequest) SetComponentName(v string) *UpgradeClusterRequest
- func (s *UpgradeClusterRequest) SetMasterOnly(v bool) *UpgradeClusterRequest
- func (s *UpgradeClusterRequest) SetNextVersion(v string) *UpgradeClusterRequest
- func (s *UpgradeClusterRequest) SetRollingPolicy(v *UpgradeClusterRequestRollingPolicy) *UpgradeClusterRequest
- func (s *UpgradeClusterRequest) SetVersion(v string) *UpgradeClusterRequest
- func (s UpgradeClusterRequest) String() string
- type UpgradeClusterRequestRollingPolicy
- type UpgradeClusterResponse
- func (s UpgradeClusterResponse) GoString() string
- func (s *UpgradeClusterResponse) SetBody(v *UpgradeClusterResponseBody) *UpgradeClusterResponse
- func (s *UpgradeClusterResponse) SetHeaders(v map[string]*string) *UpgradeClusterResponse
- func (s *UpgradeClusterResponse) SetStatusCode(v int32) *UpgradeClusterResponse
- func (s UpgradeClusterResponse) String() string
- type UpgradeClusterResponseBody
- func (s UpgradeClusterResponseBody) GoString() string
- func (s *UpgradeClusterResponseBody) SetClusterId(v string) *UpgradeClusterResponseBody
- func (s *UpgradeClusterResponseBody) SetRequestId(v string) *UpgradeClusterResponseBody
- func (s *UpgradeClusterResponseBody) SetTaskId(v string) *UpgradeClusterResponseBody
- func (s UpgradeClusterResponseBody) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Addon ¶
type Addon struct { // example: // // {\"IngressSlbNetworkType\":\"internet\"} Config *string `json:"config,omitempty" xml:"config,omitempty"` // example: // // false Disabled *bool `json:"disabled,omitempty" xml:"disabled,omitempty"` // example: // // nginx-ingress-controller Name *string `json:"name,omitempty" xml:"name,omitempty"` // example: // // v1.9.3-aliyun.1 Version *string `json:"version,omitempty" xml:"version,omitempty"` }
func (*Addon) SetDisabled ¶
func (*Addon) SetVersion ¶
type AttachInstancesRequest ¶
type AttachInstancesRequest struct { // The CPU management policy of the node. 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`: uses default CPU affinity. // // Default value: `none` // // > This parameter is not supported if you specify `nodepool_id`. // // example: // // none CpuPolicy *string `json:"cpu_policy,omitempty" xml:"cpu_policy,omitempty"` // Specifies whether to store container data and images on data disks. Valid value: // // - `true`: stores container data and images on data disks. // // - `false`: does not store container data or images on data disks. // // Default value: `false`. // // How data disks are attached: // // - If the ECS instance is already attached with data disks and the file system of the last data disk is not initialized, the system automatically formats this data disk to ext4. Then, the system uses the disk to store the data in the /var/lib/docker and /var/lib/kubelet directories. // // - If no data disk is attached to the ECS instance, 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 attached to the ECS instance, the original data on this data disk is cleared. You can back up the disk to prevent data loss. // // example: // // false FormatDisk *bool `json:"format_disk,omitempty" xml:"format_disk,omitempty"` // The custom image ID. If you do not specify this parameter, the default system image is used. // // > // // - If you specify a custom image, the custom image is used to deploy the operating system on the system disk of the node. // // - This parameter is not supported if you specify `nodepool_id`. // // example: // // aliyun_2_1903_x64_20G_alibase_20200529.vhd ImageId *string `json:"image_id,omitempty" xml:"image_id,omitempty"` // The ECS instances that you want to add. // // This parameter is required. Instances []*string `json:"instances,omitempty" xml:"instances,omitempty" type:"Repeated"` // Specifies whether the node that you want to add is an Edge Node Service (ENS) node. Valid value: // // - `true`: the node that you want to add is an ENS node. // // - `false`: the node that you want to add is not an ENS node. // // Default value: `false`. // // > If the node that you want to add is an ENS node, you must set the value to `true`. This allows you to identify the node. // // example: // // false IsEdgeWorker *bool `json:"is_edge_worker,omitempty" xml:"is_edge_worker,omitempty"` // Specifies whether to retain the instance name. Valid value: // // - `true`: retains the instance name. // // - `false`: does not retain the instance name. // // Default value: `false`. // // example: // // true KeepInstanceName *bool `json:"keep_instance_name,omitempty" xml:"keep_instance_name,omitempty"` // The name of the key pair used to log on to the ECS instances. You must specify this parameter or `login_password`. // // > This parameter is not supported if you specify `nodepool_id`. // // example: // // secrity-key KeyPair *string `json:"key_pair,omitempty" xml:"key_pair,omitempty"` // The ID of the node pool to which the node is added. If you do not specify this parameter, the node is added to the default node pool. // // example: // // np615c0e0966124216a0412e10afe0**** NodepoolId *string `json:"nodepool_id,omitempty" xml:"nodepool_id,omitempty"` // The SSH logon password used to log on to the ECS instances. You must specify this parameter 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. The password cannot contain backslashes (\\\\) or double quotation marks ("). // // The password is encrypted during data transfer to ensure security. // // example: // // Hello1234 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 `nodepool_id`. Runtime *Runtime `json:"runtime,omitempty" xml:"runtime,omitempty"` // The labels that you want to add to the node. When you add labels to a node, the following rules apply: // // - A label is a case-sensitive key-value pair. You can add up to 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). // // > This parameter is not supported if you specify `nodepool_id`. Tags []*Tag `json:"tags,omitempty" xml:"tags,omitempty" type:"Repeated"` // The user-defined data on the node. For more information, see [Use instance user data to automatically run commands or scripts on instance startup](https://help.aliyun.com/document_detail/49121.html). // // > This parameter is not supported if you specify `nodepool_id`. // // example: // // IyEvdXNyL2Jpbi9iYXNoCmVjaG8gIkhlbGxvIEFDSyEi UserData *string `json:"user_data,omitempty" xml:"user_data,omitempty"` }
func (AttachInstancesRequest) GoString ¶
func (s AttachInstancesRequest) GoString() string
func (*AttachInstancesRequest) SetCpuPolicy ¶
func (s *AttachInstancesRequest) SetCpuPolicy(v string) *AttachInstancesRequest
func (*AttachInstancesRequest) SetFormatDisk ¶
func (s *AttachInstancesRequest) SetFormatDisk(v bool) *AttachInstancesRequest
func (*AttachInstancesRequest) SetImageId ¶
func (s *AttachInstancesRequest) SetImageId(v string) *AttachInstancesRequest
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 (s *AttachInstancesRequest) SetKeyPair(v string) *AttachInstancesRequest
func (*AttachInstancesRequest) SetNodepoolId ¶
func (s *AttachInstancesRequest) SetNodepoolId(v string) *AttachInstancesRequest
func (*AttachInstancesRequest) SetPassword ¶
func (s *AttachInstancesRequest) SetPassword(v string) *AttachInstancesRequest
func (*AttachInstancesRequest) SetRdsInstances ¶
func (s *AttachInstancesRequest) SetRdsInstances(v []*string) *AttachInstancesRequest
func (*AttachInstancesRequest) SetRuntime ¶
func (s *AttachInstancesRequest) SetRuntime(v *Runtime) *AttachInstancesRequest
func (*AttachInstancesRequest) SetTags ¶
func (s *AttachInstancesRequest) SetTags(v []*Tag) *AttachInstancesRequest
func (*AttachInstancesRequest) SetUserData ¶
func (s *AttachInstancesRequest) SetUserData(v string) *AttachInstancesRequest
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 (s *AttachInstancesResponse) SetBody(v *AttachInstancesResponseBody) *AttachInstancesResponse
func (*AttachInstancesResponse) SetHeaders ¶
func (s *AttachInstancesResponse) SetHeaders(v map[string]*string) *AttachInstancesResponse
func (*AttachInstancesResponse) SetStatusCode ¶
func (s *AttachInstancesResponse) SetStatusCode(v int32) *AttachInstancesResponse
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. // // example: // // T-5a544aff80282e39ea000039 TaskId *string `json:"task_id,omitempty" xml:"task_id,omitempty"` }
func (AttachInstancesResponseBody) GoString ¶
func (s AttachInstancesResponseBody) GoString() string
func (*AttachInstancesResponseBody) SetList ¶
func (s *AttachInstancesResponseBody) SetList(v []*AttachInstancesResponseBodyList) *AttachInstancesResponseBody
func (*AttachInstancesResponseBody) SetTaskId ¶
func (s *AttachInstancesResponseBody) SetTaskId(v string) *AttachInstancesResponseBody
func (AttachInstancesResponseBody) String ¶
func (s AttachInstancesResponseBody) String() string
type AttachInstancesResponseBodyList ¶
type AttachInstancesResponseBodyList struct { // The code that indicates the task result. // // example: // // 200 Code *string `json:"code,omitempty" xml:"code,omitempty"` // The ID of the ECS instance. // // example: // // i-2ze0lgm3y6iylcbt**** InstanceId *string `json:"instanceId,omitempty" xml:"instanceId,omitempty"` // Indicates whether the ECS instance is successfully added to the ACK cluster. // // example: // // successful Message *string `json:"message,omitempty" xml:"message,omitempty"` }
func (AttachInstancesResponseBodyList) GoString ¶
func (s AttachInstancesResponseBodyList) GoString() string
func (*AttachInstancesResponseBodyList) SetCode ¶
func (s *AttachInstancesResponseBodyList) SetCode(v string) *AttachInstancesResponseBodyList
func (*AttachInstancesResponseBodyList) SetInstanceId ¶
func (s *AttachInstancesResponseBodyList) SetInstanceId(v string) *AttachInstancesResponseBodyList
func (*AttachInstancesResponseBodyList) SetMessage ¶
func (s *AttachInstancesResponseBodyList) SetMessage(v string) *AttachInstancesResponseBodyList
func (AttachInstancesResponseBodyList) String ¶
func (s AttachInstancesResponseBodyList) String() 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. // // example: // // false 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`. // // example: // // 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. // // example: // // Hello1234 Password *string `json:"password,omitempty" xml:"password,omitempty"` }
func (AttachInstancesToNodePoolRequest) GoString ¶
func (s AttachInstancesToNodePoolRequest) GoString() string
func (*AttachInstancesToNodePoolRequest) SetFormatDisk ¶
func (s *AttachInstancesToNodePoolRequest) SetFormatDisk(v bool) *AttachInstancesToNodePoolRequest
func (*AttachInstancesToNodePoolRequest) SetInstances ¶
func (s *AttachInstancesToNodePoolRequest) SetInstances(v []*string) *AttachInstancesToNodePoolRequest
func (*AttachInstancesToNodePoolRequest) SetKeepInstanceName ¶
func (s *AttachInstancesToNodePoolRequest) SetKeepInstanceName(v bool) *AttachInstancesToNodePoolRequest
func (*AttachInstancesToNodePoolRequest) SetPassword ¶
func (s *AttachInstancesToNodePoolRequest) SetPassword(v string) *AttachInstancesToNodePoolRequest
func (AttachInstancesToNodePoolRequest) String ¶
func (s AttachInstancesToNodePoolRequest) String() 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 (s AttachInstancesToNodePoolResponse) GoString() string
func (*AttachInstancesToNodePoolResponse) SetHeaders ¶
func (s *AttachInstancesToNodePoolResponse) SetHeaders(v map[string]*string) *AttachInstancesToNodePoolResponse
func (*AttachInstancesToNodePoolResponse) SetStatusCode ¶
func (s *AttachInstancesToNodePoolResponse) SetStatusCode(v int32) *AttachInstancesToNodePoolResponse
func (AttachInstancesToNodePoolResponse) String ¶
func (s AttachInstancesToNodePoolResponse) String() string
type AttachInstancesToNodePoolResponseBody ¶
type AttachInstancesToNodePoolResponseBody struct { // The request ID. // // example: // // D7631D83-6E98-1949-B665-766A62xxxxxx RequestId *string `json:"request_id,omitempty" xml:"request_id,omitempty"` // The task ID. // // example: // // T-5a54309c80282e39ea00002f TaskId *string `json:"task_id,omitempty" xml:"task_id,omitempty"` }
func (AttachInstancesToNodePoolResponseBody) GoString ¶
func (s AttachInstancesToNodePoolResponseBody) GoString() string
func (*AttachInstancesToNodePoolResponseBody) SetRequestId ¶
func (s *AttachInstancesToNodePoolResponseBody) SetRequestId(v string) *AttachInstancesToNodePoolResponseBody
func (*AttachInstancesToNodePoolResponseBody) SetTaskId ¶
func (s *AttachInstancesToNodePoolResponseBody) SetTaskId(v string) *AttachInstancesToNodePoolResponseBody
func (AttachInstancesToNodePoolResponseBody) String ¶
func (s AttachInstancesToNodePoolResponseBody) String() 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 (s *CancelClusterUpgradeResponse) SetHeaders(v map[string]*string) *CancelClusterUpgradeResponse
func (*CancelClusterUpgradeResponse) SetStatusCode ¶
func (s *CancelClusterUpgradeResponse) SetStatusCode(v int32) *CancelClusterUpgradeResponse
func (CancelClusterUpgradeResponse) String ¶
func (s CancelClusterUpgradeResponse) String() 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 (s CancelComponentUpgradeResponse) GoString() string
func (*CancelComponentUpgradeResponse) SetHeaders ¶
func (s *CancelComponentUpgradeResponse) SetHeaders(v map[string]*string) *CancelComponentUpgradeResponse
func (*CancelComponentUpgradeResponse) SetStatusCode ¶
func (s *CancelComponentUpgradeResponse) SetStatusCode(v int32) *CancelComponentUpgradeResponse
func (CancelComponentUpgradeResponse) String ¶
func (s CancelComponentUpgradeResponse) String() 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 (s *CancelOperationPlanResponse) SetBody(v *CancelOperationPlanResponseBody) *CancelOperationPlanResponse
func (*CancelOperationPlanResponse) SetHeaders ¶
func (s *CancelOperationPlanResponse) SetHeaders(v map[string]*string) *CancelOperationPlanResponse
func (*CancelOperationPlanResponse) SetStatusCode ¶
func (s *CancelOperationPlanResponse) SetStatusCode(v int32) *CancelOperationPlanResponse
func (CancelOperationPlanResponse) String ¶
func (s CancelOperationPlanResponse) String() string
type CancelOperationPlanResponseBody ¶
type CancelOperationPlanResponseBody struct { // The request ID. // // example: // // db82195b-75a8-40e5-9be4-16f1829dc624 RequestId *string `json:"request_id,omitempty" xml:"request_id,omitempty"` }
func (CancelOperationPlanResponseBody) GoString ¶
func (s CancelOperationPlanResponseBody) GoString() string
func (*CancelOperationPlanResponseBody) SetRequestId ¶
func (s *CancelOperationPlanResponseBody) SetRequestId(v string) *CancelOperationPlanResponseBody
func (CancelOperationPlanResponseBody) String ¶
func (s CancelOperationPlanResponseBody) String() 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 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 (s CheckControlPlaneLogEnableResponse) GoString() string
func (*CheckControlPlaneLogEnableResponse) SetHeaders ¶
func (s *CheckControlPlaneLogEnableResponse) SetHeaders(v map[string]*string) *CheckControlPlaneLogEnableResponse
func (*CheckControlPlaneLogEnableResponse) SetStatusCode ¶
func (s *CheckControlPlaneLogEnableResponse) SetStatusCode(v int32) *CheckControlPlaneLogEnableResponse
func (CheckControlPlaneLogEnableResponse) String ¶
func (s CheckControlPlaneLogEnableResponse) String() string
type CheckControlPlaneLogEnableResponseBody ¶
type CheckControlPlaneLogEnableResponseBody struct { // The ID of the Alibaba Cloud account to which the resource belongs. // // example: // // 162981***** Aliuid *string `json:"aliuid,omitempty" xml:"aliuid,omitempty"` // The control plane components for which log collection is enabled. // // This parameter is required. 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. // // example: // // k8s-log-c5b5e80b0b64a4bf6939d2d8fbbc5**** 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. // // example: // // 30 LogTtl *string `json:"log_ttl,omitempty" xml:"log_ttl,omitempty"` }
func (CheckControlPlaneLogEnableResponseBody) GoString ¶
func (s CheckControlPlaneLogEnableResponseBody) GoString() string
func (*CheckControlPlaneLogEnableResponseBody) SetAliuid ¶
func (s *CheckControlPlaneLogEnableResponseBody) SetAliuid(v string) *CheckControlPlaneLogEnableResponseBody
func (*CheckControlPlaneLogEnableResponseBody) SetComponents ¶
func (s *CheckControlPlaneLogEnableResponseBody) SetComponents(v []*string) *CheckControlPlaneLogEnableResponseBody
func (*CheckControlPlaneLogEnableResponseBody) SetLogProject ¶
func (s *CheckControlPlaneLogEnableResponseBody) SetLogProject(v string) *CheckControlPlaneLogEnableResponseBody
func (*CheckControlPlaneLogEnableResponseBody) SetLogTtl ¶
func (s *CheckControlPlaneLogEnableResponseBody) SetLogTtl(v string) *CheckControlPlaneLogEnableResponseBody
func (CheckControlPlaneLogEnableResponseBody) String ¶
func (s CheckControlPlaneLogEnableResponseBody) String() string
type CheckServiceRoleRequest ¶ added in v5.1.0
type CheckServiceRoleRequest struct { // The service roles that you want to check. // // This parameter is required. Roles []*CheckServiceRoleRequestRoles `json:"roles,omitempty" xml:"roles,omitempty" type:"Repeated"` }
func (CheckServiceRoleRequest) GoString ¶ added in v5.1.0
func (s CheckServiceRoleRequest) GoString() string
func (*CheckServiceRoleRequest) SetRoles ¶ added in v5.1.0
func (s *CheckServiceRoleRequest) SetRoles(v []*CheckServiceRoleRequestRoles) *CheckServiceRoleRequest
func (CheckServiceRoleRequest) String ¶ added in v5.1.0
func (s CheckServiceRoleRequest) String() string
type CheckServiceRoleRequestRoles ¶ added in v5.1.0
type CheckServiceRoleRequestRoles struct { // The name of the service role. For more information about ACK roles, see [ACK roles](https://help.aliyun.com/document_detail/86483.html). // // This parameter is required. // // example: // // AliyunCSManagedAutoScalerRole Name *string `json:"name,omitempty" xml:"name,omitempty"` }
func (CheckServiceRoleRequestRoles) GoString ¶ added in v5.1.0
func (s CheckServiceRoleRequestRoles) GoString() string
func (*CheckServiceRoleRequestRoles) SetName ¶ added in v5.1.0
func (s *CheckServiceRoleRequestRoles) SetName(v string) *CheckServiceRoleRequestRoles
func (CheckServiceRoleRequestRoles) String ¶ added in v5.1.0
func (s CheckServiceRoleRequestRoles) String() string
type CheckServiceRoleResponse ¶ added in v5.1.0
type CheckServiceRoleResponse struct { Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` Body *CheckServiceRoleResponseBody `json:"body,omitempty" xml:"body,omitempty"` }
func (CheckServiceRoleResponse) GoString ¶ added in v5.1.0
func (s CheckServiceRoleResponse) GoString() string
func (*CheckServiceRoleResponse) SetBody ¶ added in v5.1.0
func (s *CheckServiceRoleResponse) SetBody(v *CheckServiceRoleResponseBody) *CheckServiceRoleResponse
func (*CheckServiceRoleResponse) SetHeaders ¶ added in v5.1.0
func (s *CheckServiceRoleResponse) SetHeaders(v map[string]*string) *CheckServiceRoleResponse
func (*CheckServiceRoleResponse) SetStatusCode ¶ added in v5.1.0
func (s *CheckServiceRoleResponse) SetStatusCode(v int32) *CheckServiceRoleResponse
func (CheckServiceRoleResponse) String ¶ added in v5.1.0
func (s CheckServiceRoleResponse) String() string
type CheckServiceRoleResponseBody ¶ added in v5.1.0
type CheckServiceRoleResponseBody struct { // The check results. Roles []*CheckServiceRoleResponseBodyRoles `json:"roles,omitempty" xml:"roles,omitempty" type:"Repeated"` }
func (CheckServiceRoleResponseBody) GoString ¶ added in v5.1.0
func (s CheckServiceRoleResponseBody) GoString() string
func (*CheckServiceRoleResponseBody) SetRoles ¶ added in v5.1.0
func (s *CheckServiceRoleResponseBody) SetRoles(v []*CheckServiceRoleResponseBodyRoles) *CheckServiceRoleResponseBody
func (CheckServiceRoleResponseBody) String ¶ added in v5.1.0
func (s CheckServiceRoleResponseBody) String() string
type CheckServiceRoleResponseBodyRoles ¶ added in v5.1.0
type CheckServiceRoleResponseBodyRoles struct { // Indicates whether the service role is assigned to ACK. // // Valid values: // // - true: The role is assigned to ACK. // // - false: The role is not assigned to ACK. // // example: // // true Granted *bool `json:"granted,omitempty" xml:"granted,omitempty"` // The message that is displayed for a role that is not assigned to ACK. // // example: // // The role does not exist: AliyunCSManagedAutoScalerRole Message *string `json:"message,omitempty" xml:"message,omitempty"` // The name of the service role. // // example: // // AliyunCSManagedAutoScalerRole Name *string `json:"name,omitempty" xml:"name,omitempty"` }
func (CheckServiceRoleResponseBodyRoles) GoString ¶ added in v5.1.0
func (s CheckServiceRoleResponseBodyRoles) GoString() string
func (*CheckServiceRoleResponseBodyRoles) SetGranted ¶ added in v5.1.0
func (s *CheckServiceRoleResponseBodyRoles) SetGranted(v bool) *CheckServiceRoleResponseBodyRoles
func (*CheckServiceRoleResponseBodyRoles) SetMessage ¶ added in v5.1.0
func (s *CheckServiceRoleResponseBodyRoles) SetMessage(v string) *CheckServiceRoleResponseBodyRoles
func (*CheckServiceRoleResponseBodyRoles) SetName ¶ added in v5.1.0
func (s *CheckServiceRoleResponseBodyRoles) SetName(v string) *CheckServiceRoleResponseBodyRoles
func (CheckServiceRoleResponseBodyRoles) String ¶ added in v5.1.0
func (s CheckServiceRoleResponseBodyRoles) String() string
type CleanClusterUserPermissionsRequest ¶ added in v5.5.0
type CleanClusterUserPermissionsRequest struct { // Specifies whether to forcefully delete the specified kubeconfig files. Valid values: // // - false (default): checks the cluster access records within the previous seven days before deleting the kubeconfig files. The kubeconfig files are not deleted if cluster access records are found or fail to be retrieved. // // - true: forcefully deletes the kubeconfig files without checking the cluster access records. // // example: // // false Force *bool `json:"Force,omitempty" xml:"Force,omitempty"` }
func (CleanClusterUserPermissionsRequest) GoString ¶ added in v5.5.0
func (s CleanClusterUserPermissionsRequest) GoString() string
func (*CleanClusterUserPermissionsRequest) SetForce ¶ added in v5.5.0
func (s *CleanClusterUserPermissionsRequest) SetForce(v bool) *CleanClusterUserPermissionsRequest
func (CleanClusterUserPermissionsRequest) String ¶ added in v5.5.0
func (s CleanClusterUserPermissionsRequest) String() string
type CleanClusterUserPermissionsResponse ¶ added in v5.5.0
type CleanClusterUserPermissionsResponse struct { Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` }
func (CleanClusterUserPermissionsResponse) GoString ¶ added in v5.5.0
func (s CleanClusterUserPermissionsResponse) GoString() string
func (*CleanClusterUserPermissionsResponse) SetHeaders ¶ added in v5.5.0
func (s *CleanClusterUserPermissionsResponse) SetHeaders(v map[string]*string) *CleanClusterUserPermissionsResponse
func (*CleanClusterUserPermissionsResponse) SetStatusCode ¶ added in v5.5.0
func (s *CleanClusterUserPermissionsResponse) SetStatusCode(v int32) *CleanClusterUserPermissionsResponse
func (CleanClusterUserPermissionsResponse) String ¶ added in v5.5.0
func (s CleanClusterUserPermissionsResponse) String() string
type CleanUserPermissionsRequest ¶ added in v5.5.0
type CleanUserPermissionsRequest struct { // The cluster IDs. If you specify a list of cluster IDs, only the kubeconfig files and RBAC permissions of the clusters that belong to the current user in the list are revoked. ClusterIds []*string `json:"ClusterIds,omitempty" xml:"ClusterIds,omitempty" type:"Repeated"` // Specifies whether to forcefully delete the specified kubeconfig files. Valid values: // // - false (default): checks the cluster access records within the previous seven days before deleting the kubeconfig files. The kubeconfig files are not deleted if cluster access records are found or fail to be retrieved. // // - true: forcefully deletes the kubeconfig files without checking the cluster access records. // // example: // // false Force *bool `json:"Force,omitempty" xml:"Force,omitempty"` }
func (CleanUserPermissionsRequest) GoString ¶ added in v5.5.0
func (s CleanUserPermissionsRequest) GoString() string
func (*CleanUserPermissionsRequest) SetClusterIds ¶ added in v5.5.0
func (s *CleanUserPermissionsRequest) SetClusterIds(v []*string) *CleanUserPermissionsRequest
func (*CleanUserPermissionsRequest) SetForce ¶ added in v5.5.0
func (s *CleanUserPermissionsRequest) SetForce(v bool) *CleanUserPermissionsRequest
func (CleanUserPermissionsRequest) String ¶ added in v5.5.0
func (s CleanUserPermissionsRequest) String() string
type CleanUserPermissionsResponse ¶ added in v5.5.0
type CleanUserPermissionsResponse struct { Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` Body *CleanUserPermissionsResponseBody `json:"body,omitempty" xml:"body,omitempty"` }
func (CleanUserPermissionsResponse) GoString ¶ added in v5.5.0
func (s CleanUserPermissionsResponse) GoString() string
func (*CleanUserPermissionsResponse) SetBody ¶ added in v5.5.0
func (s *CleanUserPermissionsResponse) SetBody(v *CleanUserPermissionsResponseBody) *CleanUserPermissionsResponse
func (*CleanUserPermissionsResponse) SetHeaders ¶ added in v5.5.0
func (s *CleanUserPermissionsResponse) SetHeaders(v map[string]*string) *CleanUserPermissionsResponse
func (*CleanUserPermissionsResponse) SetStatusCode ¶ added in v5.5.0
func (s *CleanUserPermissionsResponse) SetStatusCode(v int32) *CleanUserPermissionsResponse
func (CleanUserPermissionsResponse) String ¶ added in v5.5.0
func (s CleanUserPermissionsResponse) String() string
type CleanUserPermissionsResponseBody ¶ added in v5.5.0
type CleanUserPermissionsResponseBody struct { // The request ID. // // example: // // 687C5BAA-D103-4993-884B-C35E4314**** RequestId *string `json:"request_id,omitempty" xml:"request_id,omitempty"` // The task ID. // // example: // // clean-user-permissions-2085266204********-6694c16e6ae07*********** TaskId *string `json:"task_id,omitempty" xml:"task_id,omitempty"` }
func (CleanUserPermissionsResponseBody) GoString ¶ added in v5.5.0
func (s CleanUserPermissionsResponseBody) GoString() string
func (*CleanUserPermissionsResponseBody) SetRequestId ¶ added in v5.5.0
func (s *CleanUserPermissionsResponseBody) SetRequestId(v string) *CleanUserPermissionsResponseBody
func (*CleanUserPermissionsResponseBody) SetTaskId ¶ added in v5.5.0
func (s *CleanUserPermissionsResponseBody) SetTaskId(v string) *CleanUserPermissionsResponseBody
func (CleanUserPermissionsResponseBody) String ¶ added in v5.5.0
func (s CleanUserPermissionsResponseBody) String() string
type CleanUserPermissionsShrinkRequest ¶ added in v5.5.0
type CleanUserPermissionsShrinkRequest struct { // The cluster IDs. If you specify a list of cluster IDs, only the kubeconfig files and RBAC permissions of the clusters that belong to the current user in the list are revoked. ClusterIdsShrink *string `json:"ClusterIds,omitempty" xml:"ClusterIds,omitempty"` // Specifies whether to forcefully delete the specified kubeconfig files. Valid values: // // - false (default): checks the cluster access records within the previous seven days before deleting the kubeconfig files. The kubeconfig files are not deleted if cluster access records are found or fail to be retrieved. // // - true: forcefully deletes the kubeconfig files without checking the cluster access records. // // example: // // false Force *bool `json:"Force,omitempty" xml:"Force,omitempty"` }
func (CleanUserPermissionsShrinkRequest) GoString ¶ added in v5.5.0
func (s CleanUserPermissionsShrinkRequest) GoString() string
func (*CleanUserPermissionsShrinkRequest) SetClusterIdsShrink ¶ added in v5.5.0
func (s *CleanUserPermissionsShrinkRequest) SetClusterIdsShrink(v string) *CleanUserPermissionsShrinkRequest
func (*CleanUserPermissionsShrinkRequest) SetForce ¶ added in v5.5.0
func (s *CleanUserPermissionsShrinkRequest) SetForce(v bool) *CleanUserPermissionsShrinkRequest
func (CleanUserPermissionsShrinkRequest) String ¶ added in v5.5.0
func (s CleanUserPermissionsShrinkRequest) String() string
type Client ¶
func (*Client) AttachInstances ¶
func (client *Client) AttachInstances(ClusterId *string, request *AttachInstancesRequest) (_result *AttachInstancesResponse, _err error)
Summary:
Adds existing Elastic Compute Service (ECS) instances to a Container Service for Kubernetes (ACK) cluster.
@param request - AttachInstancesRequest
@return AttachInstancesResponse
func (*Client) AttachInstancesToNodePool ¶
func (client *Client) AttachInstancesToNodePool(ClusterId *string, NodepoolId *string, request *AttachInstancesToNodePoolRequest) (_result *AttachInstancesToNodePoolResponse, _err error)
Summary:
Adds existing nodes to a specific node pool. You can add existing ECS instances to a specific node pool in a Container Service for Kubernetes (ACK) cluster as worker nodes. You can also add removed worker nodes back to the node pool.
@param request - AttachInstancesToNodePoolRequest
@return AttachInstancesToNodePoolResponse
func (*Client) AttachInstancesToNodePoolWithOptions ¶
func (client *Client) AttachInstancesToNodePoolWithOptions(ClusterId *string, NodepoolId *string, request *AttachInstancesToNodePoolRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *AttachInstancesToNodePoolResponse, _err error)
Summary:
Adds existing nodes to a specific node pool. You can add existing ECS instances to a specific node pool in a Container Service for Kubernetes (ACK) cluster as worker nodes. You can also add removed worker nodes back to the node pool.
@param request - AttachInstancesToNodePoolRequest
@param headers - map
@param runtime - runtime options for this request RuntimeOptions
@return AttachInstancesToNodePoolResponse
func (*Client) AttachInstancesWithOptions ¶
func (client *Client) AttachInstancesWithOptions(ClusterId *string, request *AttachInstancesRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *AttachInstancesResponse, _err error)
Summary:
Adds existing Elastic Compute Service (ECS) instances to a Container Service for Kubernetes (ACK) cluster.
@param request - AttachInstancesRequest
@param headers - map
@param runtime - runtime options for this request RuntimeOptions
@return AttachInstancesResponse
func (*Client) CancelClusterUpgrade
deprecated
func (client *Client) CancelClusterUpgrade(ClusterId *string) (_result *CancelClusterUpgradeResponse, _err error)
Deprecated: OpenAPI CancelClusterUpgrade is deprecated
Summary:
You can call the CancelClusterUpgrade operation to cancel the update of a cluster.
@return CancelClusterUpgradeResponse Deprecated
func (*Client) CancelClusterUpgradeWithOptions
deprecated
func (client *Client) CancelClusterUpgradeWithOptions(ClusterId *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *CancelClusterUpgradeResponse, _err error)
Deprecated: OpenAPI CancelClusterUpgrade is deprecated
Summary:
You can call the CancelClusterUpgrade operation to cancel the update of a cluster.
@param headers - map
@param runtime - runtime options for this request RuntimeOptions
@return CancelClusterUpgradeResponse Deprecated
func (*Client) CancelComponentUpgrade
deprecated
func (client *Client) CancelComponentUpgrade(clusterId *string, componentId *string) (_result *CancelComponentUpgradeResponse, _err error)
Deprecated: OpenAPI CancelComponentUpgrade is deprecated
Summary:
You can call the CancelComponentUpgrade operation to cancel the update of a component.
@return CancelComponentUpgradeResponse Deprecated
func (*Client) CancelComponentUpgradeWithOptions
deprecated
func (client *Client) CancelComponentUpgradeWithOptions(clusterId *string, componentId *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *CancelComponentUpgradeResponse, _err error)
Deprecated: OpenAPI CancelComponentUpgrade is deprecated
Summary:
You can call the CancelComponentUpgrade operation to cancel the update of a component.
@param headers - map
@param runtime - runtime options for this request RuntimeOptions
@return CancelComponentUpgradeResponse Deprecated
func (*Client) CancelOperationPlan ¶
func (client *Client) CancelOperationPlan(planId *string) (_result *CancelOperationPlanResponse, _err error)
Summary:
You can call the CancelOperationPlan operation to cancel a pending auto O\\\\\\\\\\\\&M plan.
@return CancelOperationPlanResponse
func (*Client) CancelOperationPlanWithOptions ¶
func (client *Client) CancelOperationPlanWithOptions(planId *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *CancelOperationPlanResponse, _err error)
Summary:
You can call the CancelOperationPlan operation to cancel a pending auto O\\\\\\\\\\\\&M plan.
@param headers - map
@param runtime - runtime options for this request RuntimeOptions
@return CancelOperationPlanResponse
func (*Client) CancelTask ¶
func (client *Client) CancelTask(taskId *string) (_result *CancelTaskResponse, _err error)
Summary:
Cancels the execution of a cluster task.
@return CancelTaskResponse
func (*Client) CancelTaskWithOptions ¶
func (client *Client) CancelTaskWithOptions(taskId *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *CancelTaskResponse, _err error)
Summary:
Cancels the execution of a cluster task.
@param headers - map
@param runtime - runtime options for this request RuntimeOptions
@return CancelTaskResponse
func (*Client) CheckControlPlaneLogEnable ¶
func (client *Client) CheckControlPlaneLogEnable(ClusterId *string) (_result *CheckControlPlaneLogEnableResponse, _err error)
Summary:
Queries the current log configuration of control plane components, including the log retention period and the log collection component. Container Service for Kubernetes (ACK) managed clusters can collect the logs of control plane components and deliver the logs to projects in Simple Log Service. These control plane components include Kube API Server, Kube Scheduler, Kube Controller Manager, and Cloud Controller Manager.
@return CheckControlPlaneLogEnableResponse
func (*Client) CheckControlPlaneLogEnableWithOptions ¶
func (client *Client) CheckControlPlaneLogEnableWithOptions(ClusterId *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *CheckControlPlaneLogEnableResponse, _err error)
Summary:
Queries the current log configuration of control plane components, including the log retention period and the log collection component. Container Service for Kubernetes (ACK) managed clusters can collect the logs of control plane components and deliver the logs to projects in Simple Log Service. These control plane components include Kube API Server, Kube Scheduler, Kube Controller Manager, and Cloud Controller Manager.
@param headers - map
@param runtime - runtime options for this request RuntimeOptions
@return CheckControlPlaneLogEnableResponse
func (*Client) CheckServiceRole ¶ added in v5.1.0
func (client *Client) CheckServiceRole(request *CheckServiceRoleRequest) (_result *CheckServiceRoleResponse, _err error)
Summary:
Checks whether the specified service roles are granted to Container Service for Kubernetes (ACK) within the current Alibaba Cloud account. ACK can access other cloud services, such as Elastic Compute Service (ECS), Object Storage Service (OSS), File Storage NAS (NAS), and Server Load Balancer (SLB), only after ACK is assigned the required service roles.
@param request - CheckServiceRoleRequest
@return CheckServiceRoleResponse
func (*Client) CheckServiceRoleWithOptions ¶ added in v5.1.0
func (client *Client) CheckServiceRoleWithOptions(request *CheckServiceRoleRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *CheckServiceRoleResponse, _err error)
Summary:
Checks whether the specified service roles are granted to Container Service for Kubernetes (ACK) within the current Alibaba Cloud account. ACK can access other cloud services, such as Elastic Compute Service (ECS), Object Storage Service (OSS), File Storage NAS (NAS), and Server Load Balancer (SLB), only after ACK is assigned the required service roles.
@param request - CheckServiceRoleRequest
@param headers - map
@param runtime - runtime options for this request RuntimeOptions
@return CheckServiceRoleResponse
func (*Client) CleanClusterUserPermissions ¶ added in v5.5.0
func (client *Client) CleanClusterUserPermissions(ClusterId *string, Uid *string, request *CleanClusterUserPermissionsRequest) (_result *CleanClusterUserPermissionsResponse, _err error)
Summary:
Deletes kubeconfig files that may pose potential risks from a user and revokes Role-Based Access Control (RBAC) permissions on a cluster.
Description:
>
To call this operation, make sure that you have the AliyunCSFullAccess permission.
You cannot revoke the permissions of an Alibaba Cloud account.
You cannot revoke the permissions of the account that you use to call this operation.
@param request - CleanClusterUserPermissionsRequest
@return CleanClusterUserPermissionsResponse
func (*Client) CleanClusterUserPermissionsWithOptions ¶ added in v5.5.0
func (client *Client) CleanClusterUserPermissionsWithOptions(ClusterId *string, Uid *string, request *CleanClusterUserPermissionsRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *CleanClusterUserPermissionsResponse, _err error)
Summary:
Deletes kubeconfig files that may pose potential risks from a user and revokes Role-Based Access Control (RBAC) permissions on a cluster.
Description:
>
To call this operation, make sure that you have the AliyunCSFullAccess permission.
You cannot revoke the permissions of an Alibaba Cloud account.
You cannot revoke the permissions of the account that you use to call this operation.
@param request - CleanClusterUserPermissionsRequest
@param headers - map
@param runtime - runtime options for this request RuntimeOptions
@return CleanClusterUserPermissionsResponse
func (*Client) CleanUserPermissions ¶ added in v5.5.0
func (client *Client) CleanUserPermissions(Uid *string, request *CleanUserPermissionsRequest) (_result *CleanUserPermissionsResponse, _err error)
Summary:
You can call the CleanUserPermissions operation to delete the kubeconfig files of the specified users and revoke the relevant Role-Based Access Control (RBAC) permissions. This API operation is suitable for scenarios where employees have resigned or the accounts of employees are locked.
Description:
> - To call this operation, make sure that you have the AliyunCSFullAccess permission.
> - You cannot revoke the permissions of an Alibaba Cloud account.
> - You cannot revoke the permissions of the account that you use to call this operation.
@param request - CleanUserPermissionsRequest
@return CleanUserPermissionsResponse
func (*Client) CleanUserPermissionsWithOptions ¶ added in v5.5.0
func (client *Client) CleanUserPermissionsWithOptions(Uid *string, tmpReq *CleanUserPermissionsRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *CleanUserPermissionsResponse, _err error)
Summary:
You can call the CleanUserPermissions operation to delete the kubeconfig files of the specified users and revoke the relevant Role-Based Access Control (RBAC) permissions. This API operation is suitable for scenarios where employees have resigned or the accounts of employees are locked.
Description:
> - To call this operation, make sure that you have the AliyunCSFullAccess permission.
> - You cannot revoke the permissions of an Alibaba Cloud account.
> - You cannot revoke the permissions of the account that you use to call this operation.
@param tmpReq - CleanUserPermissionsRequest
@param headers - map
@param runtime - runtime options for this request RuntimeOptions
@return CleanUserPermissionsResponse
func (*Client) CreateAutoscalingConfig ¶
func (client *Client) CreateAutoscalingConfig(ClusterId *string, request *CreateAutoscalingConfigRequest) (_result *CreateAutoscalingConfigResponse, _err error)
Summary:
Creates a scaling configuration to allow the system to scale resources based on the given scaling rules. When you create a scaling configuration, you can specify the scaling metrics, thresholds, scaling order, and scaling interval.
@param request - CreateAutoscalingConfigRequest
@return CreateAutoscalingConfigResponse
func (*Client) CreateAutoscalingConfigWithOptions ¶
func (client *Client) CreateAutoscalingConfigWithOptions(ClusterId *string, request *CreateAutoscalingConfigRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *CreateAutoscalingConfigResponse, _err error)
Summary:
Creates a scaling configuration to allow the system to scale resources based on the given scaling rules. When you create a scaling configuration, you can specify the scaling metrics, thresholds, scaling order, and scaling interval.
@param request - CreateAutoscalingConfigRequest
@param headers - map
@param runtime - runtime options for this request RuntimeOptions
@return CreateAutoscalingConfigResponse
func (*Client) CreateCluster ¶
func (client *Client) CreateCluster(request *CreateClusterRequest) (_result *CreateClusterResponse, _err error)
Summary:
Creates a Container Service for Kubernetes (ACK) cluster. For example, you can create an ACK managed cluster, ACK Serverless cluster, ACK Edge cluster, or registered cluster. When you create an ACK cluster, you need to configure the cluster information, components, and cloud resources used by ACK.
Description:
### [](#-openapi-)Generate API request parameters in the ACK console
When you fail to create an ACK cluster by calling the CreateCluster operation due to invalid parameter settings, you can generate valid API request parameters in the ACK console. Procedure:
1. Log on to the [ACK console](javascript:void\\(0\\)). In the left-side navigation pane, click **Clusters**.
2. On the **Cluster* - page, click **Cluster Templates**.
3. In the Select Cluster Template dialog box, select the type of cluster that you want to create and click Create. Then, configure the cluster setting parameters.
4. After you configure the cluster parameters, click **Generate API Request Parameters* - in the **Confirm Order* - step.
The API request parameters are displayed in the API Request Parameters dialog box.
@param request - CreateClusterRequest
@return CreateClusterResponse
func (*Client) CreateClusterDiagnosis ¶ added in v5.2.0
func (client *Client) CreateClusterDiagnosis(clusterId *string, request *CreateClusterDiagnosisRequest) (_result *CreateClusterDiagnosisResponse, _err error)
Summary:
Starts a cluster diagnostic.
@param request - CreateClusterDiagnosisRequest
@return CreateClusterDiagnosisResponse
func (*Client) CreateClusterDiagnosisWithOptions ¶ added in v5.2.0
func (client *Client) CreateClusterDiagnosisWithOptions(clusterId *string, request *CreateClusterDiagnosisRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *CreateClusterDiagnosisResponse, _err error)
Summary:
Starts a cluster diagnostic.
@param request - CreateClusterDiagnosisRequest
@param headers - map
@param runtime - runtime options for this request RuntimeOptions
@return CreateClusterDiagnosisResponse
func (*Client) CreateClusterNodePool ¶
func (client *Client) CreateClusterNodePool(ClusterId *string, request *CreateClusterNodePoolRequest) (_result *CreateClusterNodePoolResponse, _err error)
Summary:
Creates a node pool for a Container Service for Kubernetes (ACK) cluster. You can use node pools to facilitate node management. For example, you can schedule, configure, or maintain nodes by node pool, and enable auto scaling for a node pool. We recommend that you use a managed node pool, which can help automate specific O\\\\\\&M tasks for nodes, such as Common Vulnerabilities and Exposures (CVE) patching and node repair. This reduces your O\\\\\\&M workload.
@param request - CreateClusterNodePoolRequest
@return CreateClusterNodePoolResponse
func (*Client) CreateClusterNodePoolWithOptions ¶
func (client *Client) CreateClusterNodePoolWithOptions(ClusterId *string, request *CreateClusterNodePoolRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *CreateClusterNodePoolResponse, _err error)
Summary:
Creates a node pool for a Container Service for Kubernetes (ACK) cluster. You can use node pools to facilitate node management. For example, you can schedule, configure, or maintain nodes by node pool, and enable auto scaling for a node pool. We recommend that you use a managed node pool, which can help automate specific O\\\\\\&M tasks for nodes, such as Common Vulnerabilities and Exposures (CVE) patching and node repair. This reduces your O\\\\\\&M workload.
@param request - CreateClusterNodePoolRequest
@param headers - map
@param runtime - runtime options for this request RuntimeOptions
@return CreateClusterNodePoolResponse
func (*Client) CreateClusterWithOptions ¶
func (client *Client) CreateClusterWithOptions(request *CreateClusterRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *CreateClusterResponse, _err error)
Summary:
Creates a Container Service for Kubernetes (ACK) cluster. For example, you can create an ACK managed cluster, ACK Serverless cluster, ACK Edge cluster, or registered cluster. When you create an ACK cluster, you need to configure the cluster information, components, and cloud resources used by ACK.
Description:
### [](#-openapi-)Generate API request parameters in the ACK console
When you fail to create an ACK cluster by calling the CreateCluster operation due to invalid parameter settings, you can generate valid API request parameters in the ACK console. Procedure:
1. Log on to the [ACK console](javascript:void\\(0\\)). In the left-side navigation pane, click **Clusters**.
2. On the **Cluster* - page, click **Cluster Templates**.
3. In the Select Cluster Template dialog box, select the type of cluster that you want to create and click Create. Then, configure the cluster setting parameters.
4. After you configure the cluster parameters, click **Generate API Request Parameters* - in the **Confirm Order* - step.
The API request parameters are displayed in the API Request Parameters dialog box.
@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)
Summary:
You can call the CreateEdgeMachine operation to activate a cloud-native box.
@param request - CreateEdgeMachineRequest
@return CreateEdgeMachineResponse
func (*Client) CreateEdgeMachineWithOptions ¶
func (client *Client) CreateEdgeMachineWithOptions(request *CreateEdgeMachineRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *CreateEdgeMachineResponse, _err error)
Summary:
You can call the CreateEdgeMachine operation to activate a cloud-native box.
@param request - CreateEdgeMachineRequest
@param headers - map
@param runtime - runtime options for this request RuntimeOptions
@return CreateEdgeMachineResponse
func (*Client) CreateKubernetesTrigger
deprecated
func (client *Client) CreateKubernetesTrigger(request *CreateKubernetesTriggerRequest) (_result *CreateKubernetesTriggerResponse, _err error)
Deprecated: OpenAPI CreateKubernetesTrigger is deprecated
Summary:
You can call the CreateKubernetesTrigger operation to create a trigger for an application.
@param request - CreateKubernetesTriggerRequest
@return CreateKubernetesTriggerResponse Deprecated
func (*Client) CreateKubernetesTriggerWithOptions
deprecated
func (client *Client) CreateKubernetesTriggerWithOptions(request *CreateKubernetesTriggerRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *CreateKubernetesTriggerResponse, _err error)
Deprecated: OpenAPI CreateKubernetesTrigger is deprecated
Summary:
You can call the CreateKubernetesTrigger operation to create a trigger for an application.
@param request - CreateKubernetesTriggerRequest
@param headers - map
@param runtime - runtime options for this request RuntimeOptions
@return CreateKubernetesTriggerResponse Deprecated
func (*Client) CreateTemplate ¶
func (client *Client) CreateTemplate(request *CreateTemplateRequest) (_result *CreateTemplateResponse, _err error)
Summary:
Creates an orchestration template. An orchestration template defines and describes a group of Kubernetes resources. It declaratively describes the configuration of an application or how an application runs. You can use orchestration templates to manage resources in Kubernetes clusters and automate resource deployment, such as pods, Services, Deployments, ConfigMaps, and persistent volumes (PVs).
@param request - CreateTemplateRequest
@return CreateTemplateResponse
func (*Client) CreateTemplateWithOptions ¶
func (client *Client) CreateTemplateWithOptions(request *CreateTemplateRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *CreateTemplateResponse, _err error)
Summary:
Creates an orchestration template. An orchestration template defines and describes a group of Kubernetes resources. It declaratively describes the configuration of an application or how an application runs. You can use orchestration templates to manage resources in Kubernetes clusters and automate resource deployment, such as pods, Services, Deployments, ConfigMaps, and persistent volumes (PVs).
@param request - CreateTemplateRequest
@param headers - map
@param runtime - runtime options for this request RuntimeOptions
@return CreateTemplateResponse
func (*Client) CreateTrigger ¶
func (client *Client) CreateTrigger(clusterId *string, request *CreateTriggerRequest) (_result *CreateTriggerResponse, _err error)
Summary:
Creates a trigger for an application to redeploy the application pods when specific conditions are met.
@param request - CreateTriggerRequest
@return CreateTriggerResponse
func (*Client) CreateTriggerWithOptions ¶
func (client *Client) CreateTriggerWithOptions(clusterId *string, request *CreateTriggerRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *CreateTriggerResponse, _err error)
Summary:
Creates a trigger for an application to redeploy the application pods when specific conditions are met.
@param request - CreateTriggerRequest
@param headers - map
@param runtime - runtime options for this request RuntimeOptions
@return CreateTriggerResponse
func (*Client) DeleteAlertContact ¶
func (client *Client) DeleteAlertContact(request *DeleteAlertContactRequest) (_result *DeleteAlertContactResponse, _err error)
Summary:
Deletes one or more ACK alert contacts.
@param request - DeleteAlertContactRequest
@return DeleteAlertContactResponse
func (*Client) DeleteAlertContactGroup ¶
func (client *Client) DeleteAlertContactGroup(request *DeleteAlertContactGroupRequest) (_result *DeleteAlertContactGroupResponse, _err error)
Summary:
Deletes an ACK alert contact group.
@param request - DeleteAlertContactGroupRequest
@return DeleteAlertContactGroupResponse
func (*Client) DeleteAlertContactGroupWithOptions ¶
func (client *Client) DeleteAlertContactGroupWithOptions(tmpReq *DeleteAlertContactGroupRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *DeleteAlertContactGroupResponse, _err error)
Summary:
Deletes an ACK alert contact group.
@param tmpReq - DeleteAlertContactGroupRequest
@param headers - map
@param runtime - runtime options for this request RuntimeOptions
@return DeleteAlertContactGroupResponse
func (*Client) DeleteAlertContactWithOptions ¶
func (client *Client) DeleteAlertContactWithOptions(tmpReq *DeleteAlertContactRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *DeleteAlertContactResponse, _err error)
Summary:
Deletes one or more ACK alert contacts.
@param tmpReq - DeleteAlertContactRequest
@param headers - map
@param runtime - runtime options for this request RuntimeOptions
@return DeleteAlertContactResponse
func (*Client) DeleteCluster ¶
func (client *Client) DeleteCluster(ClusterId *string, request *DeleteClusterRequest) (_result *DeleteClusterResponse, _err error)
Summary:
You can call the DeleteCluster operation to delete a cluster and specify whether to delete or retain the relevant cluster resources. Before you delete a cluster, you must manually delete workloads in the cluster, such as Deployments, StatefulSets, Jobs, and CronJobs. Otherwise, you may fail to delete the cluster.
Description:
Warning:
Subscription ECS instances and Lingjun nodes in a cluster cannot be automatically released. To avoid unnecessary costs, we recommend that you manually release the resources. For more information, see \\<a href="{0}" target="_blank">Rules for deleting clusters and releasing nodes\\</a>.
If the SLB instance of the API server uses the subscription billing method, it cannot be automatically released. To avoid unnecessary costs, we recommend that you manually release it.
By default, virtual private clouds (VPCs), vSwitches, security groups, and RAM roles are retained if they are used by other resources. To avoid unnecessary costs, we recommend that you manually release the resources.
Elastic container instances created on virtual nodes are automatically released.
Some resources created together with a cluster are not automatically released when the cluster is deleted. After the cluster is deleted, you are still charged for the resources. Release or retain the resources based on your actual needs. The resources include Simple Log Service projects automatically created by the cluster and dynamically provisioned disks.
@param request - DeleteClusterRequest
@return DeleteClusterResponse
func (*Client) DeleteClusterNodepool ¶
func (client *Client) DeleteClusterNodepool(ClusterId *string, NodepoolId *string, request *DeleteClusterNodepoolRequest) (_result *DeleteClusterNodepoolResponse, _err error)
Summary:
null
@param request - DeleteClusterNodepoolRequest
@return DeleteClusterNodepoolResponse
func (*Client) DeleteClusterNodepoolWithOptions ¶
func (client *Client) DeleteClusterNodepoolWithOptions(ClusterId *string, NodepoolId *string, request *DeleteClusterNodepoolRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *DeleteClusterNodepoolResponse, _err error)
Summary:
null
@param request - DeleteClusterNodepoolRequest
@param headers - map
@param runtime - runtime options for this request RuntimeOptions
@return DeleteClusterNodepoolResponse
func (*Client) DeleteClusterNodes ¶
func (client *Client) DeleteClusterNodes(ClusterId *string, request *DeleteClusterNodesRequest) (_result *DeleteClusterNodesResponse, _err error)
Summary:
Removes nodes from a Container Service for Kubernetes (ACK) cluster. When you remove nodes, you can specify whether to release the Elastic Compute Service (ECS) instances and drain the nodes. When you remove nodes, pods on the nodes are migrated. This may adversely affect your businesses. We recommend that you back up data and perform this operation during off-peak hours.
Description:
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 you remove a node, the system sets the status of the node to Unschedulable.
@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)
Summary:
Removes nodes from a Container Service for Kubernetes (ACK) cluster. When you remove nodes, you can specify whether to release the Elastic Compute Service (ECS) instances and drain the nodes. When you remove nodes, pods on the nodes are migrated. This may adversely affect your businesses. We recommend that you back up data and perform this operation during off-peak hours.
Description:
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 you remove a node, the system sets the status of the node to Unschedulable.
@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)
Summary:
You can call the DeleteCluster operation to delete a cluster and specify whether to delete or retain the relevant cluster resources. Before you delete a cluster, you must manually delete workloads in the cluster, such as Deployments, StatefulSets, Jobs, and CronJobs. Otherwise, you may fail to delete the cluster.
Description:
Warning:
Subscription ECS instances and Lingjun nodes in a cluster cannot be automatically released. To avoid unnecessary costs, we recommend that you manually release the resources. For more information, see \\<a href="{0}" target="_blank">Rules for deleting clusters and releasing nodes\\</a>.
If the SLB instance of the API server uses the subscription billing method, it cannot be automatically released. To avoid unnecessary costs, we recommend that you manually release it.
By default, virtual private clouds (VPCs), vSwitches, security groups, and RAM roles are retained if they are used by other resources. To avoid unnecessary costs, we recommend that you manually release the resources.
Elastic container instances created on virtual nodes are automatically released.
Some resources created together with a cluster are not automatically released when the cluster is deleted. After the cluster is deleted, you are still charged for the resources. Release or retain the resources based on your actual needs. The resources include Simple Log Service projects automatically created by the cluster and dynamically provisioned disks.
@param tmpReq - DeleteClusterRequest
@param headers - map
@param runtime - runtime options for this request RuntimeOptions
@return DeleteClusterResponse
func (*Client) DeleteEdgeMachine ¶
func (client *Client) DeleteEdgeMachine(edgeMachineid *string, request *DeleteEdgeMachineRequest) (_result *DeleteEdgeMachineResponse, _err error)
Summary:
You can call the DeleteEdgeMachine operation to delete a cloud-native box.
@param request - DeleteEdgeMachineRequest
@return DeleteEdgeMachineResponse
func (*Client) DeleteEdgeMachineWithOptions ¶
func (client *Client) DeleteEdgeMachineWithOptions(edgeMachineid *string, request *DeleteEdgeMachineRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *DeleteEdgeMachineResponse, _err error)
Summary:
You can call the DeleteEdgeMachine operation to delete a cloud-native box.
@param request - DeleteEdgeMachineRequest
@param headers - map
@param runtime - runtime options for this request RuntimeOptions
@return DeleteEdgeMachineResponse
func (*Client) DeleteKubernetesTrigger
deprecated
func (client *Client) DeleteKubernetesTrigger(Id *string) (_result *DeleteKubernetesTriggerResponse, _err error)
Deprecated: OpenAPI DeleteKubernetesTrigger is deprecated
Summary:
You can call the DeleteKubernetesTrigger operation to delete an application trigger by trigger ID ¶
@return DeleteKubernetesTriggerResponse Deprecated
func (*Client) DeleteKubernetesTriggerWithOptions
deprecated
func (client *Client) DeleteKubernetesTriggerWithOptions(Id *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *DeleteKubernetesTriggerResponse, _err error)
Deprecated: OpenAPI DeleteKubernetesTrigger is deprecated
Summary:
You can call the DeleteKubernetesTrigger operation to delete an application trigger by trigger ID ¶
@param headers - map
@param runtime - runtime options for this request RuntimeOptions
@return DeleteKubernetesTriggerResponse Deprecated
func (*Client) DeletePolicyInstance ¶
func (client *Client) DeletePolicyInstance(clusterId *string, policyName *string, request *DeletePolicyInstanceRequest) (_result *DeletePolicyInstanceResponse, _err error)
Summary:
Deletes policy instances in a Container Service for Kubernetes (ACK) cluster.
@param request - DeletePolicyInstanceRequest
@return DeletePolicyInstanceResponse
func (*Client) DeletePolicyInstanceWithOptions ¶
func (client *Client) DeletePolicyInstanceWithOptions(clusterId *string, policyName *string, request *DeletePolicyInstanceRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *DeletePolicyInstanceResponse, _err error)
Summary:
Deletes policy instances in a Container Service for Kubernetes (ACK) cluster.
@param request - DeletePolicyInstanceRequest
@param headers - map
@param runtime - runtime options for this request RuntimeOptions
@return DeletePolicyInstanceResponse
func (*Client) DeleteTemplate ¶
func (client *Client) DeleteTemplate(TemplateId *string) (_result *DeleteTemplateResponse, _err error)
Summary:
Deletes the orchestration templates that you no longer need.
@return DeleteTemplateResponse
func (*Client) DeleteTemplateWithOptions ¶
func (client *Client) DeleteTemplateWithOptions(TemplateId *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *DeleteTemplateResponse, _err error)
Summary:
Deletes the orchestration templates that you no longer need.
@param headers - map
@param runtime - runtime options for this request RuntimeOptions
@return DeleteTemplateResponse
func (*Client) DeleteTrigger ¶
func (client *Client) DeleteTrigger(clusterId *string, Id *string) (_result *DeleteTriggerResponse, _err error)
Summary:
Deletes an application trigger.
@return DeleteTriggerResponse
func (*Client) DeleteTriggerWithOptions ¶
func (client *Client) DeleteTriggerWithOptions(clusterId *string, Id *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *DeleteTriggerResponse, _err error)
Summary:
Deletes an application trigger.
@param headers - map
@param runtime - runtime options for this request RuntimeOptions
@return DeleteTriggerResponse
func (*Client) DeployPolicyInstance ¶
func (client *Client) DeployPolicyInstance(clusterId *string, policyName *string, request *DeployPolicyInstanceRequest) (_result *DeployPolicyInstanceResponse, _err error)
Summary:
Deploys a policy in the specified namespaces of a specific Container Service for Kubernetes (ACK) cluster. You can create and deploy a security policy by specifying the policy type, action of the policy such as alerting or denying, and namespaces to which the policy applies.
@param request - DeployPolicyInstanceRequest
@return DeployPolicyInstanceResponse
func (*Client) DeployPolicyInstanceWithOptions ¶
func (client *Client) DeployPolicyInstanceWithOptions(clusterId *string, policyName *string, request *DeployPolicyInstanceRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *DeployPolicyInstanceResponse, _err error)
Summary:
Deploys a policy in the specified namespaces of a specific Container Service for Kubernetes (ACK) cluster. You can create and deploy a security policy by specifying the policy type, action of the policy such as alerting or denying, and namespaces to which the policy applies.
@param request - DeployPolicyInstanceRequest
@param headers - map
@param runtime - runtime options for this request RuntimeOptions
@return DeployPolicyInstanceResponse
func (*Client) DescribeAddon ¶
func (client *Client) DescribeAddon(addonName *string, request *DescribeAddonRequest) (_result *DescribeAddonResponse, _err error)
Summary:
Queries the information about a component based on specific conditions such as the region, cluster type, cluster subtype defined by cluster profile, cluster version, and component name. The information includes whether the component is managed, the component type, supported custom parameter schema, compatible operating system architecture, and earliest supported cluster version.
@param request - DescribeAddonRequest
@return DescribeAddonResponse
func (*Client) DescribeAddonWithOptions ¶
func (client *Client) DescribeAddonWithOptions(addonName *string, request *DescribeAddonRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *DescribeAddonResponse, _err error)
Summary:
Queries the information about a component based on specific conditions such as the region, cluster type, cluster subtype defined by cluster profile, cluster version, and component name. The information includes whether the component is managed, the component type, supported custom parameter schema, compatible operating system architecture, and earliest supported cluster version.
@param request - DescribeAddonRequest
@param headers - map
@param runtime - runtime options for this request RuntimeOptions
@return DescribeAddonResponse
func (*Client) DescribeAddons
deprecated
func (client *Client) DescribeAddons(request *DescribeAddonsRequest) (_result *DescribeAddonsResponse, _err error)
Deprecated: OpenAPI DescribeAddons is deprecated
Summary:
You can call the DescribeAddons operation to query the details about all components that are supported by Container Service for Kubernetes (ACK).
@param request - DescribeAddonsRequest
@return DescribeAddonsResponse Deprecated
func (*Client) DescribeAddonsWithOptions
deprecated
func (client *Client) DescribeAddonsWithOptions(request *DescribeAddonsRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *DescribeAddonsResponse, _err error)
Deprecated: OpenAPI DescribeAddons is deprecated
Summary:
You can call the DescribeAddons operation to query the details about all components that are supported by Container Service for Kubernetes (ACK).
@param request - DescribeAddonsRequest
@param headers - map
@param runtime - runtime options for this request RuntimeOptions
@return DescribeAddonsResponse Deprecated
func (*Client) DescribeClusterAddonInstance
deprecated
func (client *Client) DescribeClusterAddonInstance(ClusterID *string, AddonName *string) (_result *DescribeClusterAddonInstanceResponse, _err error)
Deprecated: OpenAPI DescribeClusterAddonInstance is deprecated
Summary:
You can call the DescribeClusterAddonInstance operation to query the information about a cluster component, including the version, status, and configuration of the component.
@return DescribeClusterAddonInstanceResponse Deprecated
func (*Client) DescribeClusterAddonInstanceWithOptions
deprecated
func (client *Client) DescribeClusterAddonInstanceWithOptions(ClusterID *string, AddonName *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *DescribeClusterAddonInstanceResponse, _err error)
Deprecated: OpenAPI DescribeClusterAddonInstance is deprecated
Summary:
You can call the DescribeClusterAddonInstance operation to query the information about a cluster component, including the version, status, and configuration of the component.
@param headers - map
@param runtime - runtime options for this request RuntimeOptions
@return DescribeClusterAddonInstanceResponse Deprecated
func (*Client) DescribeClusterAddonMetadata
deprecated
func (client *Client) DescribeClusterAddonMetadata(clusterId *string, componentId *string, request *DescribeClusterAddonMetadataRequest) (_result *DescribeClusterAddonMetadataResponse, _err error)
Deprecated: OpenAPI DescribeClusterAddonMetadata is deprecated
Summary:
You can call the DescribeClusterAddonMetadata operation to query the metadata of a component version. The metadata includes the component version and available parameters.
@param request - DescribeClusterAddonMetadataRequest
@return DescribeClusterAddonMetadataResponse Deprecated
func (*Client) DescribeClusterAddonMetadataWithOptions
deprecated
func (client *Client) DescribeClusterAddonMetadataWithOptions(clusterId *string, componentId *string, request *DescribeClusterAddonMetadataRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *DescribeClusterAddonMetadataResponse, _err error)
Deprecated: OpenAPI DescribeClusterAddonMetadata is deprecated
Summary:
You can call the DescribeClusterAddonMetadata operation to query the metadata of a component version. The metadata includes the component version and available parameters.
@param request - DescribeClusterAddonMetadataRequest
@param headers - map
@param runtime - runtime options for this request RuntimeOptions
@return DescribeClusterAddonMetadataResponse Deprecated
func (*Client) DescribeClusterAddonUpgradeStatus
deprecated
func (client *Client) DescribeClusterAddonUpgradeStatus(ClusterId *string, ComponentId *string) (_result *DescribeClusterAddonUpgradeStatusResponse, _err error)
Deprecated: OpenAPI DescribeClusterAddonUpgradeStatus is deprecated
Summary:
You can call the DescribeClusterAddonUpgradeStatus operation to query the update progress of a cluster component.
@return DescribeClusterAddonUpgradeStatusResponse Deprecated
func (*Client) DescribeClusterAddonUpgradeStatusWithOptions
deprecated
func (client *Client) DescribeClusterAddonUpgradeStatusWithOptions(ClusterId *string, ComponentId *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *DescribeClusterAddonUpgradeStatusResponse, _err error)
Deprecated: OpenAPI DescribeClusterAddonUpgradeStatus is deprecated
Summary:
You can call the DescribeClusterAddonUpgradeStatus operation to query the update progress of a cluster component.
@param headers - map
@param runtime - runtime options for this request RuntimeOptions
@return DescribeClusterAddonUpgradeStatusResponse Deprecated
func (*Client) DescribeClusterAddonsUpgradeStatus
deprecated
func (client *Client) DescribeClusterAddonsUpgradeStatus(ClusterId *string, request *DescribeClusterAddonsUpgradeStatusRequest) (_result *DescribeClusterAddonsUpgradeStatusResponse, _err error)
Deprecated: OpenAPI DescribeClusterAddonsUpgradeStatus is deprecated
Summary:
You can call the DescribeClusterAddonsUpgradeStatus operation to query the update progress of a component by component name.
@param request - DescribeClusterAddonsUpgradeStatusRequest
@return DescribeClusterAddonsUpgradeStatusResponse Deprecated
func (*Client) DescribeClusterAddonsUpgradeStatusWithOptions
deprecated
func (client *Client) DescribeClusterAddonsUpgradeStatusWithOptions(ClusterId *string, tmpReq *DescribeClusterAddonsUpgradeStatusRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *DescribeClusterAddonsUpgradeStatusResponse, _err error)
Deprecated: OpenAPI DescribeClusterAddonsUpgradeStatus is deprecated
Summary:
You can call the DescribeClusterAddonsUpgradeStatus operation to query the update progress of a component by component name.
@param tmpReq - DescribeClusterAddonsUpgradeStatusRequest
@param headers - map
@param runtime - runtime options for this request RuntimeOptions
@return DescribeClusterAddonsUpgradeStatusResponse Deprecated
func (*Client) DescribeClusterAddonsVersion
deprecated
func (client *Client) DescribeClusterAddonsVersion(ClusterId *string) (_result *DescribeClusterAddonsVersionResponse, _err error)
Deprecated: OpenAPI DescribeClusterAddonsVersion is deprecated
Summary:
You can call the DescribeClusterAddonsVersion operation to query the details about all components in a cluster by cluster ID.
@return DescribeClusterAddonsVersionResponse Deprecated
func (*Client) DescribeClusterAddonsVersionWithOptions
deprecated
func (client *Client) DescribeClusterAddonsVersionWithOptions(ClusterId *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *DescribeClusterAddonsVersionResponse, _err error)
Deprecated: OpenAPI DescribeClusterAddonsVersion is deprecated
Summary:
You can call the DescribeClusterAddonsVersion operation to query the details about all components in a cluster by cluster ID.
@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)
Summary:
Queries the scripts used to add existing nodes to a Container Service for Kubernetes (ACK) cluster. ACK allows you to manually add existing Elastic Compute Service (ECS) instances to an ACK cluster as worker nodes or re-add worker nodes that you remove from the cluster to a node pool.
@param request - DescribeClusterAttachScriptsRequest
@return DescribeClusterAttachScriptsResponse
func (*Client) DescribeClusterAttachScriptsWithOptions ¶
func (client *Client) DescribeClusterAttachScriptsWithOptions(ClusterId *string, request *DescribeClusterAttachScriptsRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *DescribeClusterAttachScriptsResponse, _err error)
Summary:
Queries the scripts used to add existing nodes to a Container Service for Kubernetes (ACK) cluster. ACK allows you to manually add existing Elastic Compute Service (ECS) instances to an ACK cluster as worker nodes or re-add worker nodes that you remove from the cluster to a node pool.
@param request - DescribeClusterAttachScriptsRequest
@param headers - map
@param runtime - runtime options for this request RuntimeOptions
@return DescribeClusterAttachScriptsResponse
func (*Client) DescribeClusterDetail ¶
func (client *Client) DescribeClusterDetail(ClusterId *string) (_result *DescribeClusterDetailResponse, _err error)
Summary:
You can call the DescribeClusterDetail operation to query the details of a Container Service for Kubernetes (ACK) cluster by cluster ID.
@return DescribeClusterDetailResponse
func (*Client) DescribeClusterDetailWithOptions ¶
func (client *Client) DescribeClusterDetailWithOptions(ClusterId *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *DescribeClusterDetailResponse, _err error)
Summary:
You can call the DescribeClusterDetail operation to query the details of a Container Service for Kubernetes (ACK) cluster by cluster ID.
@param headers - map
@param runtime - runtime options for this request RuntimeOptions
@return DescribeClusterDetailResponse
func (*Client) DescribeClusterEvents ¶
func (client *Client) DescribeClusterEvents(ClusterId *string, request *DescribeClusterEventsRequest) (_result *DescribeClusterEventsResponse, _err error)
Summary:
Queries events and event details in a Container Service for Kubernetes (ACK) cluster, including the severity level, status, and start time of each event. Events are generated when clusters created, modified, and updated, node pools are created and scaled out, and components are installed.
@param request - DescribeClusterEventsRequest
@return DescribeClusterEventsResponse
func (*Client) DescribeClusterEventsWithOptions ¶
func (client *Client) DescribeClusterEventsWithOptions(ClusterId *string, request *DescribeClusterEventsRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *DescribeClusterEventsResponse, _err error)
Summary:
Queries events and event details in a Container Service for Kubernetes (ACK) cluster, including the severity level, status, and start time of each event. Events are generated when clusters created, modified, and updated, node pools are created and scaled out, and components are installed.
@param request - DescribeClusterEventsRequest
@param headers - map
@param runtime - runtime options for this request RuntimeOptions
@return DescribeClusterEventsResponse
func (*Client) DescribeClusterLogs ¶
func (client *Client) DescribeClusterLogs(ClusterId *string) (_result *DescribeClusterLogsResponse, _err error)
Summary:
Queries the cluster log to help analyze cluster issues and locate the cause.
@return DescribeClusterLogsResponse
func (*Client) DescribeClusterLogsWithOptions ¶
func (client *Client) DescribeClusterLogsWithOptions(ClusterId *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *DescribeClusterLogsResponse, _err error)
Summary:
Queries the cluster log to help analyze cluster issues and locate the cause.
@param headers - map
@param runtime - runtime options for this request RuntimeOptions
@return DescribeClusterLogsResponse
func (*Client) DescribeClusterNodePoolDetail ¶
func (client *Client) DescribeClusterNodePoolDetail(ClusterId *string, NodepoolId *string) (_result *DescribeClusterNodePoolDetailResponse, _err error)
Summary:
You can call the DescribeClusterNodePoolDetail.html operation to query the details about a node pool in a cluster by node pool ID.
@return DescribeClusterNodePoolDetailResponse
func (*Client) DescribeClusterNodePoolDetailWithOptions ¶
func (client *Client) DescribeClusterNodePoolDetailWithOptions(ClusterId *string, NodepoolId *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *DescribeClusterNodePoolDetailResponse, _err error)
Summary:
You can call the DescribeClusterNodePoolDetail.html operation to query the details about a node pool in a cluster by node pool ID.
@param headers - map
@param runtime - runtime options for this request RuntimeOptions
@return DescribeClusterNodePoolDetailResponse
func (*Client) DescribeClusterNodePools ¶
func (client *Client) DescribeClusterNodePools(ClusterId *string, request *DescribeClusterNodePoolsRequest) (_result *DescribeClusterNodePoolsResponse, _err error)
Summary:
Queries the information about all node pools in a cluster.
@param request - DescribeClusterNodePoolsRequest
@return DescribeClusterNodePoolsResponse
func (*Client) DescribeClusterNodePoolsWithOptions ¶
func (client *Client) DescribeClusterNodePoolsWithOptions(ClusterId *string, request *DescribeClusterNodePoolsRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *DescribeClusterNodePoolsResponse, _err error)
Summary:
Queries the information about all node pools in a cluster.
@param request - DescribeClusterNodePoolsRequest
@param headers - map
@param runtime - runtime options for this request RuntimeOptions
@return DescribeClusterNodePoolsResponse
func (*Client) DescribeClusterNodes ¶
func (client *Client) DescribeClusterNodes(ClusterId *string, request *DescribeClusterNodesRequest) (_result *DescribeClusterNodesResponse, _err error)
Summary:
null
@param request - DescribeClusterNodesRequest
@return DescribeClusterNodesResponse
func (*Client) DescribeClusterNodesWithOptions ¶
func (client *Client) DescribeClusterNodesWithOptions(ClusterId *string, request *DescribeClusterNodesRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *DescribeClusterNodesResponse, _err error)
Summary:
null
@param request - DescribeClusterNodesRequest
@param headers - map
@param runtime - runtime options for this request RuntimeOptions
@return DescribeClusterNodesResponse
func (*Client) DescribeClusterResources ¶
func (client *Client) DescribeClusterResources(ClusterId *string, request *DescribeClusterResourcesRequest) (_result *DescribeClusterResourcesResponse, _err error)
Summary:
You can call the DescribeClusterResources operation to query all resources in a cluster by cluster ID.
@param request - DescribeClusterResourcesRequest
@return DescribeClusterResourcesResponse
func (*Client) DescribeClusterResourcesWithOptions ¶
func (client *Client) DescribeClusterResourcesWithOptions(ClusterId *string, request *DescribeClusterResourcesRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *DescribeClusterResourcesResponse, _err error)
Summary:
You can call the DescribeClusterResources operation to query all resources in a cluster by cluster ID.
@param request - DescribeClusterResourcesRequest
@param headers - map
@param runtime - runtime options for this request RuntimeOptions
@return DescribeClusterResourcesResponse
func (*Client) DescribeClusterTasks ¶
func (client *Client) DescribeClusterTasks(clusterId *string, request *DescribeClusterTasksRequest) (_result *DescribeClusterTasksResponse, _err error)
Summary:
Queries tasks in a Container Service for Kubernetes (ACK) cluster.
@param request - DescribeClusterTasksRequest
@return DescribeClusterTasksResponse
func (*Client) DescribeClusterTasksWithOptions ¶
func (client *Client) DescribeClusterTasksWithOptions(clusterId *string, request *DescribeClusterTasksRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *DescribeClusterTasksResponse, _err error)
Summary:
Queries tasks in a Container Service for Kubernetes (ACK) cluster.
@param request - DescribeClusterTasksRequest
@param headers - map
@param runtime - runtime options for this request RuntimeOptions
@return DescribeClusterTasksResponse
func (*Client) DescribeClusterUserKubeconfig ¶
func (client *Client) DescribeClusterUserKubeconfig(ClusterId *string, request *DescribeClusterUserKubeconfigRequest) (_result *DescribeClusterUserKubeconfigResponse, _err error)
Summary:
Kubeconfig files store identity and authentication information that is used by clients to access Container Service for Kubernetes (ACK) clusters. To use a kubectl client to manage an ACK cluster, you need to use the corresponding kubeconfig file to connect to the ACK cluster. We recommend that you keep kubeconfig files confidential and revoke kubeconfig files that are not in use. This helps prevent data leaks caused by the disclosure of kubeconfig files.
Description:
> The default validity period of a kubeconfig file is 3 years. 180 days 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 kubeconfig file is valid for 3 years. The previous kubeconfig file still 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)
Summary:
Kubeconfig files store identity and authentication information that is used by clients to access Container Service for Kubernetes (ACK) clusters. To use a kubectl client to manage an ACK cluster, you need to use the corresponding kubeconfig file to connect to the ACK cluster. We recommend that you keep kubeconfig files confidential and revoke kubeconfig files that are not in use. This helps prevent data leaks caused by the disclosure of kubeconfig files.
Description:
> The default validity period of a kubeconfig file is 3 years. 180 days 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 kubeconfig file is valid for 3 years. The previous kubeconfig file still 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
deprecated
func (client *Client) DescribeClusterV2UserKubeconfig(ClusterId *string, request *DescribeClusterV2UserKubeconfigRequest) (_result *DescribeClusterV2UserKubeconfigResponse, _err error)
Deprecated: OpenAPI DescribeClusterV2UserKubeconfig is deprecated
Summary:
获取集群kubeconfig接口
@param request - DescribeClusterV2UserKubeconfigRequest
@return DescribeClusterV2UserKubeconfigResponse Deprecated
func (*Client) DescribeClusterV2UserKubeconfigWithOptions
deprecated
func (client *Client) DescribeClusterV2UserKubeconfigWithOptions(ClusterId *string, request *DescribeClusterV2UserKubeconfigRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *DescribeClusterV2UserKubeconfigResponse, _err error)
Deprecated: OpenAPI DescribeClusterV2UserKubeconfig is deprecated
Summary:
获取集群kubeconfig接口
@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)
Summary:
Queries the security vulnerability details of a cluster by cluster ID. The details include vulnerability name, vulnerability type, and vulnerability severity. We recommend that you scan your cluster on a regular basis to ensure cluster security.
@return DescribeClusterVulsResponse
func (*Client) DescribeClusterVulsWithOptions ¶
func (client *Client) DescribeClusterVulsWithOptions(clusterId *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *DescribeClusterVulsResponse, _err error)
Summary:
Queries the security vulnerability details of a cluster by cluster ID. The details include vulnerability name, vulnerability type, and vulnerability severity. We recommend that you scan your cluster on a regular basis to ensure cluster security.
@param headers - map
@param runtime - runtime options for this request RuntimeOptions
@return DescribeClusterVulsResponse
func (*Client) DescribeClusters
deprecated
func (client *Client) DescribeClusters(request *DescribeClustersRequest) (_result *DescribeClustersResponse, _err error)
Deprecated: OpenAPI DescribeClusters is deprecated
Summary:
Queries all the clusters that belong to the current Alibaba Cloud account, including Kubernetes clusters and Swarm clusters.
@param request - DescribeClustersRequest
@return DescribeClustersResponse Deprecated
func (*Client) DescribeClustersForRegion ¶ added in v5.8.0
func (client *Client) DescribeClustersForRegion(regionId *string, request *DescribeClustersForRegionRequest) (_result *DescribeClustersForRegionResponse, _err error)
Summary:
Queries all clusters in a specified region.
@param request - DescribeClustersForRegionRequest
@return DescribeClustersForRegionResponse
func (*Client) DescribeClustersForRegionWithOptions ¶ added in v5.8.0
func (client *Client) DescribeClustersForRegionWithOptions(regionId *string, request *DescribeClustersForRegionRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *DescribeClustersForRegionResponse, _err error)
Summary:
Queries all clusters in a specified region.
@param request - DescribeClustersForRegionRequest
@param headers - map
@param runtime - runtime options for this request RuntimeOptions
@return DescribeClustersForRegionResponse
func (*Client) DescribeClustersV1 ¶
func (client *Client) DescribeClustersV1(request *DescribeClustersV1Request) (_result *DescribeClustersV1Response, _err error)
Summary:
Queries the details about Container Service for Kubernetes (ACK) clusters of specified types or specifications within an account.
@param request - DescribeClustersV1Request
@return DescribeClustersV1Response
func (*Client) DescribeClustersV1WithOptions ¶
func (client *Client) DescribeClustersV1WithOptions(request *DescribeClustersV1Request, headers map[string]*string, runtime *util.RuntimeOptions) (_result *DescribeClustersV1Response, _err error)
Summary:
Queries the details about Container Service for Kubernetes (ACK) clusters of specified types or specifications within an account.
@param request - DescribeClustersV1Request
@param headers - map
@param runtime - runtime options for this request RuntimeOptions
@return DescribeClustersV1Response
func (*Client) DescribeClustersWithOptions
deprecated
func (client *Client) DescribeClustersWithOptions(request *DescribeClustersRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *DescribeClustersResponse, _err error)
Deprecated: OpenAPI DescribeClusters is deprecated
Summary:
Queries all the clusters that belong to the current Alibaba Cloud account, including Kubernetes clusters and Swarm clusters.
@param request - DescribeClustersRequest
@param headers - map
@param runtime - runtime options for this request RuntimeOptions
@return DescribeClustersResponse Deprecated
func (*Client) DescribeEdgeMachineActiveProcess
deprecated
func (client *Client) DescribeEdgeMachineActiveProcess(edgeMachineid *string) (_result *DescribeEdgeMachineActiveProcessResponse, _err error)
Deprecated: OpenAPI DescribeEdgeMachineActiveProcess is deprecated
Summary:
You can call the DescribeEdgeMachineActiveProcess operation to query the activation progress of a cloud-native box.
@return DescribeEdgeMachineActiveProcessResponse Deprecated
func (*Client) DescribeEdgeMachineActiveProcessWithOptions
deprecated
func (client *Client) DescribeEdgeMachineActiveProcessWithOptions(edgeMachineid *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *DescribeEdgeMachineActiveProcessResponse, _err error)
Deprecated: OpenAPI DescribeEdgeMachineActiveProcess is deprecated
Summary:
You can call the DescribeEdgeMachineActiveProcess operation to query the activation progress of a cloud-native box.
@param headers - map
@param runtime - runtime options for this request RuntimeOptions
@return DescribeEdgeMachineActiveProcessResponse Deprecated
func (*Client) DescribeEdgeMachineModels ¶
func (client *Client) DescribeEdgeMachineModels() (_result *DescribeEdgeMachineModelsResponse, _err error)
Summary:
You can call the DescribeEdgeMachineModels operation to query the cloud-native box models.
@return DescribeEdgeMachineModelsResponse
func (*Client) DescribeEdgeMachineModelsWithOptions ¶
func (client *Client) DescribeEdgeMachineModelsWithOptions(headers map[string]*string, runtime *util.RuntimeOptions) (_result *DescribeEdgeMachineModelsResponse, _err error)
Summary:
You can call the DescribeEdgeMachineModels operation to query the cloud-native box models.
@param headers - map
@param runtime - runtime options for this request RuntimeOptions
@return DescribeEdgeMachineModelsResponse
func (*Client) DescribeEdgeMachineTunnelConfigDetail ¶
func (client *Client) DescribeEdgeMachineTunnelConfigDetail(edgeMachineid *string) (_result *DescribeEdgeMachineTunnelConfigDetailResponse, _err error)
Summary:
You can call the DescribeEdgeMachineTunnelConfigDetail operation to obtain the SSH token of a cloud-native box.
@return DescribeEdgeMachineTunnelConfigDetailResponse
func (*Client) DescribeEdgeMachineTunnelConfigDetailWithOptions ¶
func (client *Client) DescribeEdgeMachineTunnelConfigDetailWithOptions(edgeMachineid *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *DescribeEdgeMachineTunnelConfigDetailResponse, _err error)
Summary:
You can call the DescribeEdgeMachineTunnelConfigDetail operation to obtain the SSH token of a cloud-native box.
@param headers - map
@param runtime - runtime options for this request RuntimeOptions
@return DescribeEdgeMachineTunnelConfigDetailResponse
func (*Client) DescribeEdgeMachines ¶
func (client *Client) DescribeEdgeMachines(request *DescribeEdgeMachinesRequest) (_result *DescribeEdgeMachinesResponse, _err error)
Summary:
You can call the DescribeEdgeMachines operation to query a list of cloud-native boxes.
@param request - DescribeEdgeMachinesRequest
@return DescribeEdgeMachinesResponse
func (*Client) DescribeEdgeMachinesWithOptions ¶
func (client *Client) DescribeEdgeMachinesWithOptions(request *DescribeEdgeMachinesRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *DescribeEdgeMachinesResponse, _err error)
Summary:
You can call the DescribeEdgeMachines operation to query a list of cloud-native boxes.
@param request - DescribeEdgeMachinesRequest
@param headers - map
@param runtime - runtime options for this request RuntimeOptions
@return DescribeEdgeMachinesResponse
func (*Client) DescribeEvents ¶
func (client *Client) DescribeEvents(request *DescribeEventsRequest) (_result *DescribeEventsResponse, _err error)
Summary:
Queries the detailed information about a type of events, including the severity level, status, and time. Events are generated when clusters are created, modified, and updated, node pools are created and scaled out, and components are installed.
@param request - DescribeEventsRequest
@return DescribeEventsResponse
func (*Client) DescribeEventsForRegion ¶ added in v5.8.0
func (client *Client) DescribeEventsForRegion(regionId *string, request *DescribeEventsForRegionRequest) (_result *DescribeEventsForRegionResponse, _err error)
Summary:
Queries all events in a specified region.
@param request - DescribeEventsForRegionRequest
@return DescribeEventsForRegionResponse
func (*Client) DescribeEventsForRegionWithOptions ¶ added in v5.8.0
func (client *Client) DescribeEventsForRegionWithOptions(regionId *string, request *DescribeEventsForRegionRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *DescribeEventsForRegionResponse, _err error)
Summary:
Queries all events in a specified region.
@param request - DescribeEventsForRegionRequest
@param headers - map
@param runtime - runtime options for this request RuntimeOptions
@return DescribeEventsForRegionResponse
func (*Client) DescribeEventsWithOptions ¶
func (client *Client) DescribeEventsWithOptions(request *DescribeEventsRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *DescribeEventsResponse, _err error)
Summary:
Queries the detailed information about a type of events, including the severity level, status, and time. Events are generated when clusters are created, modified, and updated, node pools are created and scaled out, and components are installed.
@param request - DescribeEventsRequest
@param headers - map
@param runtime - runtime options for this request RuntimeOptions
@return DescribeEventsResponse
func (*Client) DescribeExternalAgent
deprecated
func (client *Client) DescribeExternalAgent(ClusterId *string, request *DescribeExternalAgentRequest) (_result *DescribeExternalAgentResponse, _err error)
Deprecated: OpenAPI DescribeExternalAgent is deprecated
Summary:
Queries the proxy configurations of a registered cluster by cluster ID.
Description:
For more information, see [Register an external Kubernetes cluster](https://help.aliyun.com/document_detail/121053.html).
@param request - DescribeExternalAgentRequest
@return DescribeExternalAgentResponse Deprecated
func (*Client) DescribeExternalAgentWithOptions
deprecated
func (client *Client) DescribeExternalAgentWithOptions(ClusterId *string, request *DescribeExternalAgentRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *DescribeExternalAgentResponse, _err error)
Deprecated: OpenAPI DescribeExternalAgent is deprecated
Summary:
Queries the proxy configurations of a registered cluster by cluster ID.
Description:
For more information, see [Register an external Kubernetes cluster](https://help.aliyun.com/document_detail/121053.html).
@param request - DescribeExternalAgentRequest
@param headers - map
@param runtime - runtime options for this request RuntimeOptions
@return DescribeExternalAgentResponse Deprecated
func (*Client) DescribeKubernetesVersionMetadata ¶
func (client *Client) DescribeKubernetesVersionMetadata(request *DescribeKubernetesVersionMetadataRequest) (_result *DescribeKubernetesVersionMetadataResponse, _err error)
Summary:
Queries the detailed information about Kubernetes versions, including the version number, release date, expiration date, compatible OSs, and runtime.
@param request - DescribeKubernetesVersionMetadataRequest
@return DescribeKubernetesVersionMetadataResponse
func (*Client) DescribeKubernetesVersionMetadataWithOptions ¶
func (client *Client) DescribeKubernetesVersionMetadataWithOptions(request *DescribeKubernetesVersionMetadataRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *DescribeKubernetesVersionMetadataResponse, _err error)
Summary:
Queries the detailed information about Kubernetes versions, including the version number, release date, expiration date, compatible OSs, and runtime.
@param request - DescribeKubernetesVersionMetadataRequest
@param headers - map
@param runtime - runtime options for this request RuntimeOptions
@return DescribeKubernetesVersionMetadataResponse
func (*Client) DescribeNodePoolVuls ¶
func (client *Client) DescribeNodePoolVuls(clusterId *string, nodepoolId *string, request *DescribeNodePoolVulsRequest) (_result *DescribeNodePoolVulsResponse, _err error)
Summary:
Queries the vulnerability information of a node pool, such as vulnerability names and severity levels, by specifying the ID of the node pool. We recommend that you periodically scan node pools for vulnerabilities to enhance cluster security.
@param request - DescribeNodePoolVulsRequest
@return DescribeNodePoolVulsResponse
func (*Client) DescribeNodePoolVulsWithOptions ¶
func (client *Client) DescribeNodePoolVulsWithOptions(clusterId *string, nodepoolId *string, request *DescribeNodePoolVulsRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *DescribeNodePoolVulsResponse, _err error)
Summary:
Queries the vulnerability information of a node pool, such as vulnerability names and severity levels, by specifying the ID of the node pool. We recommend that you periodically scan node pools for vulnerabilities to enhance cluster security.
@param request - DescribeNodePoolVulsRequest
@param headers - map
@param runtime - runtime options for this request RuntimeOptions
@return DescribeNodePoolVulsResponse
func (*Client) DescribePolicies ¶
func (client *Client) DescribePolicies() (_result *DescribePoliciesResponse, _err error)
Summary:
Queries a list of security policies. Container Service for Kubernetes (ACK) clusters offer a variety of built-in container security policies, such as Compliance, Infra, K8s-general, and pod security policy (PSP). You can use these policies to ensure the security of containers running in a production environment.
@return DescribePoliciesResponse
func (*Client) DescribePoliciesWithOptions ¶
func (client *Client) DescribePoliciesWithOptions(headers map[string]*string, runtime *util.RuntimeOptions) (_result *DescribePoliciesResponse, _err error)
Summary:
Queries a list of security policies. Container Service for Kubernetes (ACK) clusters offer a variety of built-in container security policies, such as Compliance, Infra, K8s-general, and pod security policy (PSP). You can use these policies to ensure the security of containers running in a production environment.
@param headers - map
@param runtime - runtime options for this request RuntimeOptions
@return DescribePoliciesResponse
func (*Client) DescribePolicyDetails ¶
func (client *Client) DescribePolicyDetails(policyName *string) (_result *DescribePolicyDetailsResponse, _err error)
Summary:
Queries the detailed information about a policy. The information includes the content, action, and severity level of the policy. Container Service for Kubernetes (ACK) provides the following types of predefined security policies: Compliance, Infra, K8s-general, and pod security policy (PSP). These policies ensure that containers are running in the production environment in a secure manner.
@return DescribePolicyDetailsResponse
func (*Client) DescribePolicyDetailsWithOptions ¶
func (client *Client) DescribePolicyDetailsWithOptions(policyName *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *DescribePolicyDetailsResponse, _err error)
Summary:
Queries the detailed information about a policy. The information includes the content, action, and severity level of the policy. Container Service for Kubernetes (ACK) provides the following types of predefined security policies: Compliance, Infra, K8s-general, and pod security policy (PSP). These policies ensure that containers are running in the production environment in a secure manner.
@param headers - map
@param runtime - runtime options for this request RuntimeOptions
@return DescribePolicyDetailsResponse
func (*Client) DescribePolicyGovernanceInCluster ¶
func (client *Client) DescribePolicyGovernanceInCluster(clusterId *string) (_result *DescribePolicyGovernanceInClusterResponse, _err error)
Summary:
Container Service for Kubernetes (ACK) clusters offer a variety of built-in container security policies, such as Compliance, Infra, K8s-general, and pod security policy (PSP). You can use these policies to ensure the security of containers running in a production environment. You can call the DescribePolicyGovernanceInCluster operation to query the details of policies for an ACK cluster. For example, you can query the number of policies that are enabled per severity level, the audit logs of policies, and the blocking and alerting information.
@return DescribePolicyGovernanceInClusterResponse
func (*Client) DescribePolicyGovernanceInClusterWithOptions ¶
func (client *Client) DescribePolicyGovernanceInClusterWithOptions(clusterId *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *DescribePolicyGovernanceInClusterResponse, _err error)
Summary:
Container Service for Kubernetes (ACK) clusters offer a variety of built-in container security policies, such as Compliance, Infra, K8s-general, and pod security policy (PSP). You can use these policies to ensure the security of containers running in a production environment. You can call the DescribePolicyGovernanceInCluster operation to query the details of policies for an ACK cluster. For example, you can query the number of policies that are enabled per severity level, the audit logs of policies, and the blocking and alerting information.
@param headers - map
@param runtime - runtime options for this request RuntimeOptions
@return DescribePolicyGovernanceInClusterResponse
func (*Client) DescribePolicyInstances ¶
func (client *Client) DescribePolicyInstances(clusterId *string, request *DescribePolicyInstancesRequest) (_result *DescribePolicyInstancesResponse, _err error)
Summary:
Queries the detailed information about policy instances of the specified type in a Container Service for Kubernetes (ACK) cluster, such as the policy description and severity level. You can choose a type of security policy for an ACK cluster, specify the action and applicable scope of the policy, and then create and deploy a policy instance.
@param request - DescribePolicyInstancesRequest
@return DescribePolicyInstancesResponse
func (*Client) DescribePolicyInstancesStatus ¶
func (client *Client) DescribePolicyInstancesStatus(clusterId *string) (_result *DescribePolicyInstancesStatusResponse, _err error)
Summary:
Queries the deployment of policy instances in the current Container Service for Kubernetes (ACK) cluster, including the number of policy instances of each type and the number of policy types of each severity level.
@return DescribePolicyInstancesStatusResponse
func (*Client) DescribePolicyInstancesStatusWithOptions ¶
func (client *Client) DescribePolicyInstancesStatusWithOptions(clusterId *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *DescribePolicyInstancesStatusResponse, _err error)
Summary:
Queries the deployment of policy instances in the current Container Service for Kubernetes (ACK) cluster, including the number of policy instances of each type and the number of policy types of each severity level.
@param headers - map
@param runtime - runtime options for this request RuntimeOptions
@return DescribePolicyInstancesStatusResponse
func (*Client) DescribePolicyInstancesWithOptions ¶
func (client *Client) DescribePolicyInstancesWithOptions(clusterId *string, request *DescribePolicyInstancesRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *DescribePolicyInstancesResponse, _err error)
Summary:
Queries the detailed information about policy instances of the specified type in a Container Service for Kubernetes (ACK) cluster, such as the policy description and severity level. You can choose a type of security policy for an ACK cluster, specify the action and applicable scope of the policy, and then create and deploy a policy instance.
@param request - DescribePolicyInstancesRequest
@param headers - map
@param runtime - runtime options for this request RuntimeOptions
@return DescribePolicyInstancesResponse
func (*Client) DescribeResourcesDeleteProtection ¶ added in v5.3.0
func (client *Client) DescribeResourcesDeleteProtection(ClusterId *string, ResourceType *string, request *DescribeResourcesDeleteProtectionRequest) (_result *DescribeResourcesDeleteProtectionResponse, _err error)
Summary:
Queries whether the deletion protection feature is enabled for the specified resources. The resources that you can query include namespaces and Services.
@param request - DescribeResourcesDeleteProtectionRequest
@return DescribeResourcesDeleteProtectionResponse
func (*Client) DescribeResourcesDeleteProtectionWithOptions ¶ added in v5.3.0
func (client *Client) DescribeResourcesDeleteProtectionWithOptions(ClusterId *string, ResourceType *string, request *DescribeResourcesDeleteProtectionRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *DescribeResourcesDeleteProtectionResponse, _err error)
Summary:
Queries whether the deletion protection feature is enabled for the specified resources. The resources that you can query include namespaces and Services.
@param request - DescribeResourcesDeleteProtectionRequest
@param headers - map
@param runtime - runtime options for this request RuntimeOptions
@return DescribeResourcesDeleteProtectionResponse
func (*Client) DescribeSubaccountK8sClusterUserConfig ¶
func (client *Client) DescribeSubaccountK8sClusterUserConfig(ClusterId *string, Uid *string, request *DescribeSubaccountK8sClusterUserConfigRequest) (_result *DescribeSubaccountK8sClusterUserConfigResponse, _err error)
Summary:
Queries or issues the kubeconfig credentials of a Resource Access Management (RAM) user or RAM role of the account. If you are the permission manager of a Container Service for Kubernetes (ACK) cluster, you can issue the kubeconfig credentials to a specific RAM user or RAM role of the account by using the Alibaba Cloud account. The kubeconfig credentials, which are used to connect to the ACK cluster, contain the identity information about the RAM user or RAM role.
Description:
You can call this operation only by using an Alibaba Cloud account.
@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)
Summary:
Queries or issues the kubeconfig credentials of a Resource Access Management (RAM) user or RAM role of the account. If you are the permission manager of a Container Service for Kubernetes (ACK) cluster, you can issue the kubeconfig credentials to a specific RAM user or RAM role of the account by using the Alibaba Cloud account. The kubeconfig credentials, which are used to connect to the ACK cluster, contain the identity information about the RAM user or RAM role.
Description:
You can call this operation only by using an Alibaba Cloud account.
@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)
Summary:
Queries detailed information about a task, such as the task type, status, and progress.
@return DescribeTaskInfoResponse
func (*Client) DescribeTaskInfoWithOptions ¶
func (client *Client) DescribeTaskInfoWithOptions(taskId *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *DescribeTaskInfoResponse, _err error)
Summary:
Queries detailed information about a task, such as the task type, status, and progress.
@param headers - map
@param runtime - runtime options for this request RuntimeOptions
@return DescribeTaskInfoResponse
func (*Client) DescribeTemplateAttribute ¶
func (client *Client) DescribeTemplateAttribute(TemplateId *string, request *DescribeTemplateAttributeRequest) (_result *DescribeTemplateAttributeResponse, _err error)
Summary:
An orchestration template defines and describes a group of Kubernetes resources. It declaratively describes the configuration of an application or how an application runs. You can call the DescribeTemplates API operation to query orchestration templates and their detailed information, including access permissions, YAML content, and labels.
@param request - DescribeTemplateAttributeRequest
@return DescribeTemplateAttributeResponse
func (*Client) DescribeTemplateAttributeWithOptions ¶
func (client *Client) DescribeTemplateAttributeWithOptions(TemplateId *string, request *DescribeTemplateAttributeRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *DescribeTemplateAttributeResponse, _err error)
Summary:
An orchestration template defines and describes a group of Kubernetes resources. It declaratively describes the configuration of an application or how an application runs. You can call the DescribeTemplates API operation to query orchestration templates and their detailed information, including access permissions, YAML content, and labels.
@param request - DescribeTemplateAttributeRequest
@param headers - map
@param runtime - runtime options for this request RuntimeOptions
@return DescribeTemplateAttributeResponse
func (*Client) DescribeTemplates ¶
func (client *Client) DescribeTemplates(request *DescribeTemplatesRequest) (_result *DescribeTemplatesResponse, _err error)
Summary:
An orchestration template defines and describes a group of Kubernetes resources. It declaratively describes the configuration of an application or how an application runs. You can call the DescribeTemplates API operation to query orchestration templates and their detailed information, including access permissions, YAML content, and labels.
@param request - DescribeTemplatesRequest
@return DescribeTemplatesResponse
func (*Client) DescribeTemplatesWithOptions ¶
func (client *Client) DescribeTemplatesWithOptions(request *DescribeTemplatesRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *DescribeTemplatesResponse, _err error)
Summary:
An orchestration template defines and describes a group of Kubernetes resources. It declaratively describes the configuration of an application or how an application runs. You can call the DescribeTemplates API operation to query orchestration templates and their detailed information, including access permissions, YAML content, and labels.
@param request - DescribeTemplatesRequest
@param headers - map
@param runtime - runtime options for this request RuntimeOptions
@return DescribeTemplatesResponse
func (*Client) DescribeTrigger ¶
func (client *Client) DescribeTrigger(clusterId *string, request *DescribeTriggerRequest) (_result *DescribeTriggerResponse, _err error)
Summary:
Queries triggers that match specific conditions.
@param request - DescribeTriggerRequest
@return DescribeTriggerResponse
func (*Client) DescribeTriggerWithOptions ¶
func (client *Client) DescribeTriggerWithOptions(clusterId *string, request *DescribeTriggerRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *DescribeTriggerResponse, _err error)
Summary:
Queries triggers that match specific conditions.
@param request - DescribeTriggerRequest
@param headers - map
@param runtime - runtime options for this request RuntimeOptions
@return DescribeTriggerResponse
func (*Client) DescribeUserClusterNamespaces ¶
func (client *Client) DescribeUserClusterNamespaces(ClusterId *string) (_result *DescribeUserClusterNamespacesResponse, _err error)
Summary:
You can use Kubernetes namespaces to limit users from accessing resources in a Container Service for Kubernetes (ACK) cluster. Users that are granted Role-Based Access Control (RBAC) permissions only on one namespace cannot access resources in other namespaces. Queries the RBAC permissions that are granted to the current Resource Access Management (RAM) user or RAM role on an ACK cluster.
@return DescribeUserClusterNamespacesResponse
func (*Client) DescribeUserClusterNamespacesWithOptions ¶
func (client *Client) DescribeUserClusterNamespacesWithOptions(ClusterId *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *DescribeUserClusterNamespacesResponse, _err error)
Summary:
You can use Kubernetes namespaces to limit users from accessing resources in a Container Service for Kubernetes (ACK) cluster. Users that are granted Role-Based Access Control (RBAC) permissions only on one namespace cannot access resources in other namespaces. Queries the RBAC permissions that are granted to the current Resource Access Management (RAM) user or RAM role on an ACK cluster.
@param headers - map
@param runtime - runtime options for this request RuntimeOptions
@return DescribeUserClusterNamespacesResponse
func (*Client) DescribeUserPermission ¶
func (client *Client) DescribeUserPermission(uid *string) (_result *DescribeUserPermissionResponse, _err error)
Summary:
In an Container Service for Kubernetes (ACK) cluster, you can create and specify different Resource Access Management (RAM) users or roles to have different access permissions. This ensures access control and resource isolation. You can call the DescribeUserPermission operation to query the permissions that are granted to a RAM user or RAM role on ACK clusters, including the resources that are allowed to access, the scope of the permissions, the predefined role, and the permission source.
Description:
*Precautions**:
- If you call this operation as a Resource Access Management (RAM) user or by assuming a RAM role, only the permissions granted on the clusters on which the current account has the role-based access control (RBAC) administrator permissions are returned. If you want to query the permissions on all clusters, you must use an account that has the RBAC administrator permissions on all clusters.
@return DescribeUserPermissionResponse
func (*Client) DescribeUserPermissionWithOptions ¶
func (client *Client) DescribeUserPermissionWithOptions(uid *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *DescribeUserPermissionResponse, _err error)
Summary:
In an Container Service for Kubernetes (ACK) cluster, you can create and specify different Resource Access Management (RAM) users or roles to have different access permissions. This ensures access control and resource isolation. You can call the DescribeUserPermission operation to query the permissions that are granted to a RAM user or RAM role on ACK clusters, including the resources that are allowed to access, the scope of the permissions, the predefined role, and the permission source.
Description:
*Precautions**:
- If you call this operation as a Resource Access Management (RAM) user or by assuming a RAM role, only the permissions granted on the clusters on which the current account has the role-based access control (RBAC) administrator permissions are returned. If you want to query the permissions on all clusters, you must use an account that has the RBAC administrator permissions on all clusters.
@param headers - map
@param runtime - runtime options for this request RuntimeOptions
@return DescribeUserPermissionResponse
func (*Client) DescribeUserQuota ¶
func (client *Client) DescribeUserQuota() (_result *DescribeUserQuotaResponse, _err error)
Summary:
Queries quotas related to Container Service for Kubernetes (ACK) clusters, node pools, and nodes. To increase a quota, submit an application in the Quota Center console.
@return DescribeUserQuotaResponse
func (*Client) DescribeUserQuotaWithOptions ¶
func (client *Client) DescribeUserQuotaWithOptions(headers map[string]*string, runtime *util.RuntimeOptions) (_result *DescribeUserQuotaResponse, _err error)
Summary:
Queries quotas related to Container Service for Kubernetes (ACK) clusters, node pools, and nodes. To increase a quota, submit an application in the Quota Center console.
@param headers - map
@param runtime - runtime options for this request RuntimeOptions
@return DescribeUserQuotaResponse
func (*Client) EdgeClusterAddEdgeMachine
deprecated
func (client *Client) EdgeClusterAddEdgeMachine(clusterid *string, edgeMachineid *string, request *EdgeClusterAddEdgeMachineRequest) (_result *EdgeClusterAddEdgeMachineResponse, _err error)
Deprecated: OpenAPI EdgeClusterAddEdgeMachine is deprecated
Summary:
You can call the EdgeClusterAddEdgeMachine operation to add a cloud-native box to a Container Service for Kubernetes (ACK) Edge cluster.
@param request - EdgeClusterAddEdgeMachineRequest
@return EdgeClusterAddEdgeMachineResponse Deprecated
func (*Client) EdgeClusterAddEdgeMachineWithOptions
deprecated
func (client *Client) EdgeClusterAddEdgeMachineWithOptions(clusterid *string, edgeMachineid *string, request *EdgeClusterAddEdgeMachineRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *EdgeClusterAddEdgeMachineResponse, _err error)
Deprecated: OpenAPI EdgeClusterAddEdgeMachine is deprecated
Summary:
You can call the EdgeClusterAddEdgeMachine operation to add a cloud-native box to a Container Service for Kubernetes (ACK) Edge cluster.
@param request - EdgeClusterAddEdgeMachineRequest
@param headers - map
@param runtime - runtime options for this request RuntimeOptions
@return EdgeClusterAddEdgeMachineResponse Deprecated
func (*Client) FixNodePoolVuls ¶
func (client *Client) FixNodePoolVuls(clusterId *string, nodepoolId *string, request *FixNodePoolVulsRequest) (_result *FixNodePoolVulsResponse, _err error)
Summary:
Patches node vulnerabilities in a node pool to enhance node security. Cloud Security provided by Alibaba Cloud periodically scans Elastic Compute Service (ECS) instances for vulnerabilities and provides suggestions on how to patch the detected vulnerabilities. Vulnerability patching may require node restarts. Make sure that your cluster has sufficient idle nodes for node draining.
Description:
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)
Summary:
Patches node vulnerabilities in a node pool to enhance node security. Cloud Security provided by Alibaba Cloud periodically scans Elastic Compute Service (ECS) instances for vulnerabilities and provides suggestions on how to patch the detected vulnerabilities. Vulnerability patching may require node restarts. Make sure that your cluster has sufficient idle nodes for node draining.
Description:
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)
Summary:
You can call the GetClusterAddonInstance operation to query the information of a component instance in a cluster, including the version, configurations, and log status of the component instance.
@return GetClusterAddonInstanceResponse
func (*Client) GetClusterAddonInstanceWithOptions ¶
func (client *Client) GetClusterAddonInstanceWithOptions(clusterId *string, instanceName *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *GetClusterAddonInstanceResponse, _err error)
Summary:
You can call the GetClusterAddonInstance operation to query the information of a component instance in a cluster, including the version, configurations, and log status of the component instance.
@param headers - map
@param runtime - runtime options for this request RuntimeOptions
@return GetClusterAddonInstanceResponse
func (*Client) GetClusterAuditProject ¶ added in v5.6.0
func (client *Client) GetClusterAuditProject(clusterid *string) (_result *GetClusterAuditProjectResponse, _err error)
Summary:
You can call the GetClusterAuditProject operation to check whether the cluster has API Server auditing enabled and the corresponding Simple Log Service project that stores API Server audit logs.
@return GetClusterAuditProjectResponse
func (*Client) GetClusterAuditProjectWithOptions ¶ added in v5.6.0
func (client *Client) GetClusterAuditProjectWithOptions(clusterid *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *GetClusterAuditProjectResponse, _err error)
Summary:
You can call the GetClusterAuditProject operation to check whether the cluster has API Server auditing enabled and the corresponding Simple Log Service project that stores API Server audit logs.
@param headers - map
@param runtime - runtime options for this request RuntimeOptions
@return GetClusterAuditProjectResponse
func (*Client) GetClusterCheck ¶
func (client *Client) GetClusterCheck(clusterId *string, checkId *string) (_result *GetClusterCheckResponse, _err error)
Summary:
Queries a cluster check task by cluster ID and task ID. You can view the status, check items, creation time, and end time of the task. Container Intelligence Service (CIS) provides a variety of Kubernetes cluster check features, including cluster update check, cluster migration check, component installation check, component update check, and node pool check.
@return GetClusterCheckResponse
func (*Client) GetClusterCheckWithOptions ¶
func (client *Client) GetClusterCheckWithOptions(clusterId *string, checkId *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *GetClusterCheckResponse, _err error)
Summary:
Queries a cluster check task by cluster ID and task ID. You can view the status, check items, creation time, and end time of the task. Container Intelligence Service (CIS) provides a variety of Kubernetes cluster check features, including cluster update check, cluster migration check, component installation check, component update check, and node pool check.
@param headers - map
@param runtime - runtime options for this request RuntimeOptions
@return GetClusterCheckResponse
func (*Client) GetClusterDiagnosisCheckItems ¶ added in v5.2.0
func (client *Client) GetClusterDiagnosisCheckItems(clusterId *string, diagnosisId *string, request *GetClusterDiagnosisCheckItemsRequest) (_result *GetClusterDiagnosisCheckItemsResponse, _err error)
Summary:
Queries cluster diagnostic items.
@param request - GetClusterDiagnosisCheckItemsRequest
@return GetClusterDiagnosisCheckItemsResponse
func (*Client) GetClusterDiagnosisCheckItemsWithOptions ¶ added in v5.2.0
func (client *Client) GetClusterDiagnosisCheckItemsWithOptions(clusterId *string, diagnosisId *string, request *GetClusterDiagnosisCheckItemsRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *GetClusterDiagnosisCheckItemsResponse, _err error)
Summary:
Queries cluster diagnostic items.
@param request - GetClusterDiagnosisCheckItemsRequest
@param headers - map
@param runtime - runtime options for this request RuntimeOptions
@return GetClusterDiagnosisCheckItemsResponse
func (*Client) GetClusterDiagnosisResult ¶ added in v5.2.0
func (client *Client) GetClusterDiagnosisResult(clusterId *string, diagnosisId *string, request *GetClusterDiagnosisResultRequest) (_result *GetClusterDiagnosisResultResponse, _err error)
Summary:
Queries cluster diagnostic results.
@param request - GetClusterDiagnosisResultRequest
@return GetClusterDiagnosisResultResponse
func (*Client) GetClusterDiagnosisResultWithOptions ¶ added in v5.2.0
func (client *Client) GetClusterDiagnosisResultWithOptions(clusterId *string, diagnosisId *string, request *GetClusterDiagnosisResultRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *GetClusterDiagnosisResultResponse, _err error)
Summary:
Queries cluster diagnostic results.
@param request - GetClusterDiagnosisResultRequest
@param headers - map
@param runtime - runtime options for this request RuntimeOptions
@return GetClusterDiagnosisResultResponse
func (*Client) GetEndpoint ¶
func (*Client) GetKubernetesTrigger
deprecated
func (client *Client) GetKubernetesTrigger(ClusterId *string, request *GetKubernetesTriggerRequest) (_result *GetKubernetesTriggerResponse, _err error)
Deprecated: OpenAPI GetKubernetesTrigger is deprecated
Summary:
You can call the GetKubernetesTrigger operationto query the triggers of an application by application name.
@param request - GetKubernetesTriggerRequest
@return GetKubernetesTriggerResponse Deprecated
func (*Client) GetKubernetesTriggerWithOptions
deprecated
func (client *Client) GetKubernetesTriggerWithOptions(ClusterId *string, request *GetKubernetesTriggerRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *GetKubernetesTriggerResponse, _err error)
Deprecated: OpenAPI GetKubernetesTrigger is deprecated
Summary:
You can call the GetKubernetesTrigger operationto query the triggers of an application by application name.
@param request - GetKubernetesTriggerRequest
@param headers - map
@param runtime - runtime options for this request RuntimeOptions
@return GetKubernetesTriggerResponse Deprecated
func (*Client) GetUpgradeStatus
deprecated
func (client *Client) GetUpgradeStatus(ClusterId *string) (_result *GetUpgradeStatusResponse, _err error)
Deprecated: OpenAPI GetUpgradeStatus is deprecated
Summary:
You can call the GetUpgradeStatus operation to query the update progress of a cluster by cluster ID.
@return GetUpgradeStatusResponse Deprecated
func (*Client) GetUpgradeStatusWithOptions
deprecated
func (client *Client) GetUpgradeStatusWithOptions(ClusterId *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *GetUpgradeStatusResponse, _err error)
Deprecated: OpenAPI GetUpgradeStatus is deprecated
Summary:
You can call the GetUpgradeStatus operation to query the update progress of a cluster by cluster ID.
@param headers - map
@param runtime - runtime options for this request RuntimeOptions
@return GetUpgradeStatusResponse Deprecated
func (*Client) GrantPermissions ¶
func (client *Client) GrantPermissions(uid *string, request *GrantPermissionsRequest) (_result *GrantPermissionsResponse, _err error)
Summary:
Updates the role-based access control (RBAC) permissions of a Resource Access Management (RAM) user or RAM role. By default, you do not have the RBAC permissions on a Container Service for Kubernetes (ACK) cluster if you are not the cluster owner or you are not using an Alibaba Cloud account. You can call this operation to specify the resources that can be accessed, permission scope, and predefined roles. This helps you better manage the access control on resources in ACK clusters.
Description:
*Precautions**:
If you use a Resource Access Management (RAM) user to call the operation, make sure that the RAM user has the permissions to modify the permissions of other RAM users or RAM roles. Otherwise, the `StatusForbidden` or `ForbiddenGrantPermissions` error code is returned after you call the operation. For more information, see [Use a RAM user to grant RBAC permissions to other RAM users](https://help.aliyun.com/document_detail/119035.html).
If you update full permissions, the existing permissions of the RAM user or RAM role on the cluster are overwritten. You must specify all the permissions that you want to grant to the RAM user or RAM role in the request parameters when you call the operation.
@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)
Summary:
Updates the role-based access control (RBAC) permissions of a Resource Access Management (RAM) user or RAM role. By default, you do not have the RBAC permissions on a Container Service for Kubernetes (ACK) cluster if you are not the cluster owner or you are not using an Alibaba Cloud account. You can call this operation to specify the resources that can be accessed, permission scope, and predefined roles. This helps you better manage the access control on resources in ACK clusters.
Description:
*Precautions**:
If you use a Resource Access Management (RAM) user to call the operation, make sure that the RAM user has the permissions to modify the permissions of other RAM users or RAM roles. Otherwise, the `StatusForbidden` or `ForbiddenGrantPermissions` error code is returned after you call the operation. For more information, see [Use a RAM user to grant RBAC permissions to other RAM users](https://help.aliyun.com/document_detail/119035.html).
If you update full permissions, the existing permissions of the RAM user or RAM role on the cluster are overwritten. You must specify all the permissions that you want to grant to the RAM user or RAM role in the request parameters when you call the operation.
@param request - GrantPermissionsRequest
@param headers - map
@param runtime - runtime options for this request RuntimeOptions
@return GrantPermissionsResponse
func (*Client) InstallClusterAddons ¶
func (client *Client) InstallClusterAddons(ClusterId *string, request *InstallClusterAddonsRequest) (_result *InstallClusterAddonsResponse, _err error)
Summary:
Installs a component by specifying the name and version of the component. To enhance Kubernetes capabilities, you can install a variety of components in Container Service for Kubernetes (ACK) clusters, such as fully-managed core components and application, logging and monitoring, network, storage, and security group components.
@param request - InstallClusterAddonsRequest
@return InstallClusterAddonsResponse
func (*Client) InstallClusterAddonsWithOptions ¶
func (client *Client) InstallClusterAddonsWithOptions(ClusterId *string, request *InstallClusterAddonsRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *InstallClusterAddonsResponse, _err error)
Summary:
Installs a component by specifying the name and version of the component. To enhance Kubernetes capabilities, you can install a variety of components in Container Service for Kubernetes (ACK) clusters, such as fully-managed core components and application, logging and monitoring, network, storage, and security group components.
@param request - InstallClusterAddonsRequest
@param headers - map
@param runtime - runtime options for this request RuntimeOptions
@return InstallClusterAddonsResponse
func (*Client) ListAddons ¶
func (client *Client) ListAddons(request *ListAddonsRequest) (_result *ListAddonsResponse, _err error)
Summary:
Queries the available components based on specific conditions such as the region, cluster type, cluster subtype defined by cluster profile, and cluster version and queries the detailed information about a component. The information includes whether the component is managed, the supported custom parameter schema, and compatible operating system architecture.
@param request - ListAddonsRequest
@return ListAddonsResponse
func (*Client) ListAddonsWithOptions ¶
func (client *Client) ListAddonsWithOptions(request *ListAddonsRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *ListAddonsResponse, _err error)
Summary:
Queries the available components based on specific conditions such as the region, cluster type, cluster subtype defined by cluster profile, and cluster version and queries the detailed information about a component. The information includes whether the component is managed, the supported custom parameter schema, and compatible operating system architecture.
@param request - ListAddonsRequest
@param headers - map
@param runtime - runtime options for this request RuntimeOptions
@return ListAddonsResponse
func (*Client) ListClusterAddonInstances ¶
func (client *Client) ListClusterAddonInstances(clusterId *string) (_result *ListClusterAddonInstancesResponse, _err error)
Summary:
Queries the component instances that are running in the specified cluster and the information about the component instances. The information includes the component version and status.
@return ListClusterAddonInstancesResponse
func (*Client) ListClusterAddonInstancesWithOptions ¶
func (client *Client) ListClusterAddonInstancesWithOptions(clusterId *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *ListClusterAddonInstancesResponse, _err error)
Summary:
Queries the component instances that are running in the specified cluster and the information about the component instances. The information includes the component version and status.
@param headers - map
@param runtime - runtime options for this request RuntimeOptions
@return ListClusterAddonInstancesResponse
func (*Client) ListClusterChecks ¶
func (client *Client) ListClusterChecks(clusterId *string, request *ListClusterChecksRequest) (_result *ListClusterChecksResponse, _err error)
Summary:
You can call the ListClusterChecks operation to query all the cluster check results of a cluster.
@param request - ListClusterChecksRequest
@return ListClusterChecksResponse
func (*Client) ListClusterChecksWithOptions ¶
func (client *Client) ListClusterChecksWithOptions(clusterId *string, request *ListClusterChecksRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *ListClusterChecksResponse, _err error)
Summary:
You can call the ListClusterChecks operation to query all the cluster check results of a cluster.
@param request - ListClusterChecksRequest
@param headers - map
@param runtime - runtime options for this request RuntimeOptions
@return ListClusterChecksResponse
func (*Client) ListClusterKubeconfigStates ¶ added in v5.5.0
func (client *Client) ListClusterKubeconfigStates(ClusterId *string, request *ListClusterKubeconfigStatesRequest) (_result *ListClusterKubeconfigStatesResponse, _err error)
Summary:
Queries the kubeconfig files that are issued to users for the current cluster and the status of the kubeconfig files.
Description:
> - To call this operation, make sure that you have ram:ListUsers and ram:ListRoles permissions.
> - To call this operation, make sure that you have the AliyunCSFullAccess permissions.
@param request - ListClusterKubeconfigStatesRequest
@return ListClusterKubeconfigStatesResponse
func (*Client) ListClusterKubeconfigStatesWithOptions ¶ added in v5.5.0
func (client *Client) ListClusterKubeconfigStatesWithOptions(ClusterId *string, request *ListClusterKubeconfigStatesRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *ListClusterKubeconfigStatesResponse, _err error)
Summary:
Queries the kubeconfig files that are issued to users for the current cluster and the status of the kubeconfig files.
Description:
> - To call this operation, make sure that you have ram:ListUsers and ram:ListRoles permissions.
> - To call this operation, make sure that you have the AliyunCSFullAccess permissions.
@param request - ListClusterKubeconfigStatesRequest
@param headers - map
@param runtime - runtime options for this request RuntimeOptions
@return ListClusterKubeconfigStatesResponse
func (*Client) ListOperationPlans ¶
func (client *Client) ListOperationPlans(request *ListOperationPlansRequest) (_result *ListOperationPlansResponse, _err error)
Summary:
Queries the automated maintenance schedules of a cluster.
@param request - ListOperationPlansRequest
@return ListOperationPlansResponse
func (*Client) ListOperationPlansWithOptions ¶
func (client *Client) ListOperationPlansWithOptions(request *ListOperationPlansRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *ListOperationPlansResponse, _err error)
Summary:
Queries the automated maintenance schedules of a cluster.
@param request - ListOperationPlansRequest
@param headers - map
@param runtime - runtime options for this request RuntimeOptions
@return ListOperationPlansResponse
func (*Client) ListTagResources ¶
func (client *Client) ListTagResources(request *ListTagResourcesRequest) (_result *ListTagResourcesResponse, _err error)
Summary:
Queries resource labels and the detailed information, such as the key-value pairs of the labels and the clusters to which the labels are added. You can use labels to classify and manage Container Service for Kubernetes (ACK) clusters in order to meet monitoring, cost analysis, and tenant isolation requirements.
@param request - ListTagResourcesRequest
@return ListTagResourcesResponse
func (*Client) ListTagResourcesWithOptions ¶
func (client *Client) ListTagResourcesWithOptions(tmpReq *ListTagResourcesRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *ListTagResourcesResponse, _err error)
Summary:
Queries resource labels and the detailed information, such as the key-value pairs of the labels and the clusters to which the labels are added. You can use labels to classify and manage Container Service for Kubernetes (ACK) clusters in order to meet monitoring, cost analysis, and tenant isolation requirements.
@param tmpReq - ListTagResourcesRequest
@param headers - map
@param runtime - runtime options for this request RuntimeOptions
@return ListTagResourcesResponse
func (*Client) ListUserKubeConfigStates ¶ added in v5.5.0
func (client *Client) ListUserKubeConfigStates(Uid *string, request *ListUserKubeConfigStatesRequest) (_result *ListUserKubeConfigStatesResponse, _err error)
Summary:
You can call the ListUserKubeConfigStates operation to query the status of the kubeconfig files of all clusters managed by the current user.
Description:
> To call this operation, make sure that you have the AliyunCSFullAccess permissions.
@param request - ListUserKubeConfigStatesRequest
@return ListUserKubeConfigStatesResponse
func (*Client) ListUserKubeConfigStatesWithOptions ¶ added in v5.5.0
func (client *Client) ListUserKubeConfigStatesWithOptions(Uid *string, request *ListUserKubeConfigStatesRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *ListUserKubeConfigStatesResponse, _err error)
Summary:
You can call the ListUserKubeConfigStates operation to query the status of the kubeconfig files of all clusters managed by the current user.
Description:
> To call this operation, make sure that you have the AliyunCSFullAccess permissions.
@param request - ListUserKubeConfigStatesRequest
@param headers - map
@param runtime - runtime options for this request RuntimeOptions
@return ListUserKubeConfigStatesResponse
func (*Client) MigrateCluster ¶
func (client *Client) MigrateCluster(clusterId *string, request *MigrateClusterRequest) (_result *MigrateClusterResponse, _err error)
Summary:
Container Service for Kubernetes (ACK) Pro clusters are developed based on ACK Basic clusters. ACK Pro clusters provide all benefits of ACK managed clusters, such as fully-managed control planes and control plane high availability. In addition, ACK Pro clusters provide you with enhanced reliability, security, and schedulability. ACK Pro clusters are covered by the SLA that supports compensation clauses. ACK Pro clusters are suitable for large-scale businesses that require high stability and security in production environments. We recommend that you migrate from ACK Basic clusters to ACK Pro clusters.
@param request - MigrateClusterRequest
@return MigrateClusterResponse
func (*Client) MigrateClusterWithOptions ¶
func (client *Client) MigrateClusterWithOptions(clusterId *string, request *MigrateClusterRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *MigrateClusterResponse, _err error)
Summary:
Container Service for Kubernetes (ACK) Pro clusters are developed based on ACK Basic clusters. ACK Pro clusters provide all benefits of ACK managed clusters, such as fully-managed control planes and control plane high availability. In addition, ACK Pro clusters provide you with enhanced reliability, security, and schedulability. ACK Pro clusters are covered by the SLA that supports compensation clauses. ACK Pro clusters are suitable for large-scale businesses that require high stability and security in production environments. We recommend that you migrate from ACK Basic clusters to ACK Pro clusters.
@param request - MigrateClusterRequest
@param headers - map
@param runtime - runtime options for this request RuntimeOptions
@return MigrateClusterResponse
func (*Client) ModifyCluster ¶
func (client *Client) ModifyCluster(ClusterId *string, request *ModifyClusterRequest) (_result *ModifyClusterResponse, _err error)
Summary:
You can call the ModifyCluster operation to modify the cluster configurations by cluster ID.
@param request - ModifyClusterRequest
@return ModifyClusterResponse
func (*Client) ModifyClusterAddon ¶
func (client *Client) ModifyClusterAddon(clusterId *string, componentId *string, request *ModifyClusterAddonRequest) (_result *ModifyClusterAddonResponse, _err error)
Summary:
Modifies the configuration of a cluster component. This operation may affect your businesses. We recommend that you assess the impact, back up data, and perform the operation during off-peak hours.
Description:
You can call this API operation to modify the component parameters of an ACK Basic cluster or the control plane parameters of an ACK Pro cluster:
To view the component parameters of an ACK Basic cluster, call the DescribeClusterAddonMetadata API operation. For more information, see [Query the metadata of a cluster component](https://help.aliyun.com/document_detail/2667944.html).
To view the control plane parameters of an ACK Pro cluster, see [Customize the control plane parameters of an ACK Pro cluster](https://help.aliyun.com/document_detail/199588.html).
After you call this operation, the component may be redeployed and restarted. We recommend that you assess the impact before you call this operation.
@param request - ModifyClusterAddonRequest
@return ModifyClusterAddonResponse
func (*Client) ModifyClusterAddonWithOptions ¶
func (client *Client) ModifyClusterAddonWithOptions(clusterId *string, componentId *string, request *ModifyClusterAddonRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *ModifyClusterAddonResponse, _err error)
Summary:
Modifies the configuration of a cluster component. This operation may affect your businesses. We recommend that you assess the impact, back up data, and perform the operation during off-peak hours.
Description:
You can call this API operation to modify the component parameters of an ACK Basic cluster or the control plane parameters of an ACK Pro cluster:
To view the component parameters of an ACK Basic cluster, call the DescribeClusterAddonMetadata API operation. For more information, see [Query the metadata of a cluster component](https://help.aliyun.com/document_detail/2667944.html).
To view the control plane parameters of an ACK Pro cluster, see [Customize the control plane parameters of an ACK Pro cluster](https://help.aliyun.com/document_detail/199588.html).
After you call this operation, the component may be redeployed and restarted. We recommend that you assess the impact before you call this operation.
@param request - ModifyClusterAddonRequest
@param headers - map
@param runtime - runtime options for this request RuntimeOptions
@return ModifyClusterAddonResponse
func (*Client) ModifyClusterConfiguration
deprecated
func (client *Client) ModifyClusterConfiguration(ClusterId *string, request *ModifyClusterConfigurationRequest) (_result *ModifyClusterConfigurationResponse, _err error)
Deprecated: OpenAPI ModifyClusterConfiguration is deprecated
Summary:
This API operation applies only to Container Service for Kubernetes (ACK) managed clusters.
@param request - ModifyClusterConfigurationRequest
@return ModifyClusterConfigurationResponse Deprecated
func (*Client) ModifyClusterConfigurationWithOptions
deprecated
func (client *Client) ModifyClusterConfigurationWithOptions(ClusterId *string, request *ModifyClusterConfigurationRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *ModifyClusterConfigurationResponse, _err error)
Deprecated: OpenAPI ModifyClusterConfiguration is deprecated
Summary:
This API operation applies only to Container Service for Kubernetes (ACK) managed clusters.
@param request - ModifyClusterConfigurationRequest
@param headers - map
@param runtime - runtime options for this request RuntimeOptions
@return ModifyClusterConfigurationResponse Deprecated
func (*Client) ModifyClusterNodePool ¶
func (client *Client) ModifyClusterNodePool(ClusterId *string, NodepoolId *string, request *ModifyClusterNodePoolRequest) (_result *ModifyClusterNodePoolResponse, _err error)
Summary:
You can call the ModifyClusterNodePool operation to modify the configuration of a node pool with the specified node pool ID.
@param request - ModifyClusterNodePoolRequest
@return ModifyClusterNodePoolResponse
func (*Client) ModifyClusterNodePoolWithOptions ¶
func (client *Client) ModifyClusterNodePoolWithOptions(ClusterId *string, NodepoolId *string, request *ModifyClusterNodePoolRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *ModifyClusterNodePoolResponse, _err error)
Summary:
You can call the ModifyClusterNodePool operation to modify the configuration of a node pool with the specified node pool ID.
@param request - ModifyClusterNodePoolRequest
@param headers - map
@param runtime - runtime options for this request RuntimeOptions
@return ModifyClusterNodePoolResponse
func (*Client) ModifyClusterTags ¶
func (client *Client) ModifyClusterTags(ClusterId *string, request *ModifyClusterTagsRequest) (_result *ModifyClusterTagsResponse, _err error)
Summary:
You can add labels in key-value pairs to clusters. This allows cluster developers or O\\\\\\&M engineers to classify and manage clusters in a more flexible manner. This also meets the requirements for monitoring, cost analysis, and tenant isolation. You can call the ModifyClusterTags operation to modify the labels of a cluster.
@param request - ModifyClusterTagsRequest
@return ModifyClusterTagsResponse
func (*Client) ModifyClusterTagsWithOptions ¶
func (client *Client) ModifyClusterTagsWithOptions(ClusterId *string, request *ModifyClusterTagsRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *ModifyClusterTagsResponse, _err error)
Summary:
You can add labels in key-value pairs to clusters. This allows cluster developers or O\\\\\\&M engineers to classify and manage clusters in a more flexible manner. This also meets the requirements for monitoring, cost analysis, and tenant isolation. You can call the ModifyClusterTags operation to modify the labels of a cluster.
@param request - ModifyClusterTagsRequest
@param headers - map
@param runtime - runtime options for this request RuntimeOptions
@return ModifyClusterTagsResponse
func (*Client) ModifyClusterWithOptions ¶
func (client *Client) ModifyClusterWithOptions(ClusterId *string, request *ModifyClusterRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *ModifyClusterResponse, _err error)
Summary:
You can call the ModifyCluster operation to modify the cluster configurations by cluster ID.
@param request - ModifyClusterRequest
@param headers - map
@param runtime - runtime options for this request RuntimeOptions
@return ModifyClusterResponse
func (*Client) ModifyNodePoolNodeConfig ¶
func (client *Client) ModifyNodePoolNodeConfig(ClusterId *string, NodepoolId *string, request *ModifyNodePoolNodeConfigRequest) (_result *ModifyNodePoolNodeConfigResponse, _err error)
Summary:
Modifies the configuration of a node pool, such as the kubelet configuration and node rolling update configuration. After you modify the node pool configuration, nodes are batch updated and the kubelet on each node is restarted. This may adversely affect the nodes and workloads. We recommend that you perform this operation during off-peak hours.
Description:
> 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)
Summary:
Modifies the configuration of a node pool, such as the kubelet configuration and node rolling update configuration. After you modify the node pool configuration, nodes are batch updated and the kubelet on each node is restarted. This may adversely affect the nodes and workloads. We recommend that you perform this operation during off-peak hours.
Description:
> 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)
Summary:
Updates a policy in a specific Container Service for Kubernetes (ACK) cluster. You can modify the action of the policy such as alerting or denying and namespaces to which the policy applies.
@param request - ModifyPolicyInstanceRequest
@return ModifyPolicyInstanceResponse
func (*Client) ModifyPolicyInstanceWithOptions ¶
func (client *Client) ModifyPolicyInstanceWithOptions(clusterId *string, policyName *string, request *ModifyPolicyInstanceRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *ModifyPolicyInstanceResponse, _err error)
Summary:
Updates a policy in a specific Container Service for Kubernetes (ACK) cluster. You can modify the action of the policy such as alerting or denying and namespaces to which the policy applies.
@param request - ModifyPolicyInstanceRequest
@param headers - map
@param runtime - runtime options for this request RuntimeOptions
@return ModifyPolicyInstanceResponse
func (*Client) OpenAckService ¶
func (client *Client) OpenAckService(request *OpenAckServiceRequest) (_result *OpenAckServiceResponse, _err error)
Summary:
When you use Container Service for Kubernetes (ACK) for the first time, you must activate ACK by using an Alibaba Cloud account or RAM user with the required permissions and complete ACK authorization.
Description:
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)
Summary:
When you use Container Service for Kubernetes (ACK) for the first time, you must activate ACK by using an Alibaba Cloud account or RAM user with the required permissions and complete ACK authorization.
Description:
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
deprecated
func (client *Client) PauseClusterUpgrade(ClusterId *string) (_result *PauseClusterUpgradeResponse, _err error)
Deprecated: OpenAPI PauseClusterUpgrade is deprecated
Summary:
You can call the PauseClusterUpgrade operation to pause the update of a Container Service for Kubernetes (ACK) cluster.
@return PauseClusterUpgradeResponse Deprecated
func (*Client) PauseClusterUpgradeWithOptions
deprecated
func (client *Client) PauseClusterUpgradeWithOptions(ClusterId *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *PauseClusterUpgradeResponse, _err error)
Deprecated: OpenAPI PauseClusterUpgrade is deprecated
Summary:
You can call the PauseClusterUpgrade operation to pause the update of a Container Service for Kubernetes (ACK) cluster.
@param headers - map
@param runtime - runtime options for this request RuntimeOptions
@return PauseClusterUpgradeResponse Deprecated
func (*Client) PauseComponentUpgrade
deprecated
func (client *Client) PauseComponentUpgrade(clusterid *string, componentid *string) (_result *PauseComponentUpgradeResponse, _err error)
Deprecated: OpenAPI PauseComponentUpgrade is deprecated
Summary:
You can call the PauseComponentUpgrade operation to pause the update of a component.
@return PauseComponentUpgradeResponse Deprecated
func (*Client) PauseComponentUpgradeWithOptions
deprecated
func (client *Client) PauseComponentUpgradeWithOptions(clusterid *string, componentid *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *PauseComponentUpgradeResponse, _err error)
Deprecated: OpenAPI PauseComponentUpgrade is deprecated
Summary:
You can call the PauseComponentUpgrade operation to pause the update of a component.
@param headers - map
@param runtime - runtime options for this request RuntimeOptions
@return PauseComponentUpgradeResponse Deprecated
func (*Client) PauseTask ¶
func (client *Client) PauseTask(taskId *string) (_result *PauseTaskResponse, _err error)
Summary:
Pauses an on-going task.
@return PauseTaskResponse
func (*Client) PauseTaskWithOptions ¶
func (client *Client) PauseTaskWithOptions(taskId *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *PauseTaskResponse, _err error)
Summary:
Pauses an on-going task.
@param headers - map
@param runtime - runtime options for this request RuntimeOptions
@return PauseTaskResponse
func (*Client) RemoveClusterNodes
deprecated
func (client *Client) RemoveClusterNodes(ClusterId *string, request *RemoveClusterNodesRequest) (_result *RemoveClusterNodesResponse, _err error)
Deprecated: OpenAPI RemoveClusterNodes is deprecated
Summary:
You can call the RemoveClusterNodes operation to remove nodes from a Container Service for Kubernetes (ACK) cluster.
Description:
***
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
deprecated
func (client *Client) RemoveClusterNodesWithOptions(ClusterId *string, request *RemoveClusterNodesRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *RemoveClusterNodesResponse, _err error)
Deprecated: OpenAPI RemoveClusterNodes is deprecated
Summary:
You can call the RemoveClusterNodes operation to remove nodes from a Container Service for Kubernetes (ACK) cluster.
Description:
***
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)
Summary:
Removes nodes from a node pool.
Description:
When you remove a node, the pods 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. - Nodes remain in the Unschedulable state when they are being removed. - The system removes only worker nodes. It does not remove master nodes. - Even if you set the `release_node` parameter to `true`, subscription nodes are not released. You must release the subscription nodes in the [ECS console](https://ecs.console.aliyun.com/) after you remove the 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)
Summary:
Removes nodes from a node pool.
Description:
When you remove a node, the pods 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. - Nodes remain in the Unschedulable state when they are being removed. - The system removes only worker nodes. It does not remove master nodes. - Even if you set the `release_node` parameter to `true`, subscription nodes are not released. You must release the subscription nodes in the [ECS console](https://ecs.console.aliyun.com/) after you remove the nodes.
@param tmpReq - RemoveNodePoolNodesRequest
@param headers - map
@param runtime - runtime options for this request RuntimeOptions
@return RemoveNodePoolNodesResponse
func (*Client) RepairClusterNodePool ¶
func (client *Client) RepairClusterNodePool(clusterId *string, nodepoolId *string, request *RepairClusterNodePoolRequest) (_result *RepairClusterNodePoolResponse, _err error)
Summary:
Repairs a node pool.
@param request - RepairClusterNodePoolRequest
@return RepairClusterNodePoolResponse
func (*Client) RepairClusterNodePoolWithOptions ¶
func (client *Client) RepairClusterNodePoolWithOptions(clusterId *string, nodepoolId *string, request *RepairClusterNodePoolRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *RepairClusterNodePoolResponse, _err error)
Summary:
Repairs a node pool.
@param request - RepairClusterNodePoolRequest
@param headers - map
@param runtime - runtime options for this request RuntimeOptions
@return RepairClusterNodePoolResponse
func (*Client) ResumeComponentUpgrade
deprecated
func (client *Client) ResumeComponentUpgrade(clusterid *string, componentid *string) (_result *ResumeComponentUpgradeResponse, _err error)
Deprecated: OpenAPI ResumeComponentUpgrade is deprecated
Summary:
You can call the ResumeComponentUpgrade operation to resume the update of a component.
@return ResumeComponentUpgradeResponse Deprecated
func (*Client) ResumeComponentUpgradeWithOptions
deprecated
func (client *Client) ResumeComponentUpgradeWithOptions(clusterid *string, componentid *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *ResumeComponentUpgradeResponse, _err error)
Deprecated: OpenAPI ResumeComponentUpgrade is deprecated
Summary:
You can call the ResumeComponentUpgrade operation to resume the update of a component.
@param headers - map
@param runtime - runtime options for this request RuntimeOptions
@return ResumeComponentUpgradeResponse Deprecated
func (*Client) ResumeTask ¶
func (client *Client) ResumeTask(taskId *string) (_result *ResumeTaskResponse, _err error)
Summary:
Resumes a task.
@return ResumeTaskResponse
func (*Client) ResumeTaskWithOptions ¶
func (client *Client) ResumeTaskWithOptions(taskId *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *ResumeTaskResponse, _err error)
Summary:
Resumes a task.
@param headers - map
@param runtime - runtime options for this request RuntimeOptions
@return ResumeTaskResponse
func (*Client) ResumeUpgradeCluster
deprecated
func (client *Client) ResumeUpgradeCluster(ClusterId *string) (_result *ResumeUpgradeClusterResponse, _err error)
Deprecated: OpenAPI ResumeUpgradeCluster is deprecated
Summary:
You can call the ResumeUpgradeCluster operation to resume the update of a cluster by cluster ID.
@return ResumeUpgradeClusterResponse Deprecated
func (*Client) ResumeUpgradeClusterWithOptions
deprecated
func (client *Client) ResumeUpgradeClusterWithOptions(ClusterId *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *ResumeUpgradeClusterResponse, _err error)
Deprecated: OpenAPI ResumeUpgradeCluster is deprecated
Summary:
You can call the ResumeUpgradeCluster operation to resume the update of a cluster by cluster ID.
@param headers - map
@param runtime - runtime options for this request RuntimeOptions
@return ResumeUpgradeClusterResponse Deprecated
func (*Client) RevokeK8sClusterKubeConfig ¶ added in v5.7.0
func (client *Client) RevokeK8sClusterKubeConfig(ClusterId *string) (_result *RevokeK8sClusterKubeConfigResponse, _err error)
Summary:
You can call the RevokeK8sClusterKubeConfig operation to revoke the kubeconfig file of a cluster that belongs to the current Alibaba Cloud account or RAM user. After the kubeconfig file is revoked, the cluster generates a new kubeconfig file, and the original kubeconfig file becomes invalid.
@return RevokeK8sClusterKubeConfigResponse
func (*Client) RevokeK8sClusterKubeConfigWithOptions ¶ added in v5.7.0
func (client *Client) RevokeK8sClusterKubeConfigWithOptions(ClusterId *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *RevokeK8sClusterKubeConfigResponse, _err error)
Summary:
You can call the RevokeK8sClusterKubeConfig operation to revoke the kubeconfig file of a cluster that belongs to the current Alibaba Cloud account or RAM user. After the kubeconfig file is revoked, the cluster generates a new kubeconfig file, and the original kubeconfig file becomes invalid.
@param headers - map
@param runtime - runtime options for this request RuntimeOptions
@return RevokeK8sClusterKubeConfigResponse
func (*Client) RunClusterCheck ¶
func (client *Client) RunClusterCheck(clusterId *string, request *RunClusterCheckRequest) (_result *RunClusterCheckResponse, _err error)
Summary:
Container Intelligence Service (CIS) provides a variety of cluster check capabilities to allow you to perform cluster update check, cluster migration check, component installation check, component update check, and node pool check. A precheck is automatically triggered before an update, migration, or installation is performed. You can perform changes only if the cluster passes the precheck. You can also manually call the RunClusterCheck operation to initiate cluster checks. We recommend that you periodically check and maintain your cluster to mitigate potential risks.
@param request - RunClusterCheckRequest
@return RunClusterCheckResponse
func (*Client) RunClusterCheckWithOptions ¶
func (client *Client) RunClusterCheckWithOptions(clusterId *string, request *RunClusterCheckRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *RunClusterCheckResponse, _err error)
Summary:
Container Intelligence Service (CIS) provides a variety of cluster check capabilities to allow you to perform cluster update check, cluster migration check, component installation check, component update check, and node pool check. A precheck is automatically triggered before an update, migration, or installation is performed. You can perform changes only if the cluster passes the precheck. You can also manually call the RunClusterCheck operation to initiate cluster checks. We recommend that you periodically check and maintain your cluster to mitigate potential risks.
@param request - RunClusterCheckRequest
@param headers - map
@param runtime - runtime options for this request RuntimeOptions
@return RunClusterCheckResponse
func (*Client) ScaleCluster
deprecated
func (client *Client) ScaleCluster(ClusterId *string, request *ScaleClusterRequest) (_result *ScaleClusterResponse, _err error)
Deprecated: OpenAPI ScaleCluster is deprecated
Summary:
扩容Kubernetes集群
@param request - ScaleClusterRequest
@return ScaleClusterResponse Deprecated
func (*Client) ScaleClusterNodePool ¶
func (client *Client) ScaleClusterNodePool(ClusterId *string, NodepoolId *string, request *ScaleClusterNodePoolRequest) (_result *ScaleClusterNodePoolResponse, _err error)
Summary:
Scales out a node pool.
@param request - ScaleClusterNodePoolRequest
@return ScaleClusterNodePoolResponse
func (*Client) ScaleClusterNodePoolWithOptions ¶
func (client *Client) ScaleClusterNodePoolWithOptions(ClusterId *string, NodepoolId *string, request *ScaleClusterNodePoolRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *ScaleClusterNodePoolResponse, _err error)
Summary:
Scales out a node pool.
@param request - ScaleClusterNodePoolRequest
@param headers - map
@param runtime - runtime options for this request RuntimeOptions
@return ScaleClusterNodePoolResponse
func (*Client) ScaleClusterWithOptions
deprecated
func (client *Client) ScaleClusterWithOptions(ClusterId *string, request *ScaleClusterRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *ScaleClusterResponse, _err error)
Deprecated: OpenAPI ScaleCluster is deprecated
Summary:
扩容Kubernetes集群
@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)
Summary:
You can call the ScaleOutCluster operation to scale out a cluster by cluster ID.
Description:
*
****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](https://help.aliyun.com/document_detail/184928.html).
@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)
Summary:
You can call the ScaleOutCluster operation to scale out a cluster by cluster ID.
Description:
*
****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](https://help.aliyun.com/document_detail/184928.html).
@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)
Summary:
Scans for vulnerabilities in a Container Service for Kubernetes (ACK) cluster, including workload vulnerabilities, third-party software vulnerabilities, CVE vulnerabilities, WebCMS vulnerabilities, and Windows vulnerabilities. We recommend that you scan your cluster on a regular basis to ensure cluster security.
@return ScanClusterVulsResponse
func (*Client) ScanClusterVulsWithOptions ¶
func (client *Client) ScanClusterVulsWithOptions(clusterId *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *ScanClusterVulsResponse, _err error)
Summary:
Scans for vulnerabilities in a Container Service for Kubernetes (ACK) cluster, including workload vulnerabilities, third-party software vulnerabilities, CVE vulnerabilities, WebCMS vulnerabilities, and Windows vulnerabilities. We recommend that you scan your cluster on a regular basis to ensure cluster security.
@param headers - map
@param runtime - runtime options for this request RuntimeOptions
@return ScanClusterVulsResponse
func (*Client) StartAlert ¶
func (client *Client) StartAlert(ClusterId *string, request *StartAlertRequest) (_result *StartAlertResponse, _err error)
Summary:
Activates the specified alert rule(s).
@param request - StartAlertRequest
@return StartAlertResponse
func (*Client) StartAlertWithOptions ¶
func (client *Client) StartAlertWithOptions(ClusterId *string, request *StartAlertRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *StartAlertResponse, _err error)
Summary:
Activates the specified alert rule(s).
@param request - StartAlertRequest
@param headers - map
@param runtime - runtime options for this request RuntimeOptions
@return StartAlertResponse
func (*Client) StopAlert ¶
func (client *Client) StopAlert(ClusterId *string, request *StopAlertRequest) (_result *StopAlertResponse, _err error)
Summary:
You can call the StopAlert operation to disable an alert rule or an alert rule set in the alert center of Container Service for Kubernetes (ACK).
@param request - StopAlertRequest
@return StopAlertResponse
func (*Client) StopAlertWithOptions ¶
func (client *Client) StopAlertWithOptions(ClusterId *string, request *StopAlertRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *StopAlertResponse, _err error)
Summary:
You can call the StopAlert operation to disable an alert rule or an alert rule set in the alert center of Container Service for Kubernetes (ACK).
@param request - StopAlertRequest
@param headers - map
@param runtime - runtime options for this request RuntimeOptions
@return StopAlertResponse
func (*Client) SyncClusterNodePool ¶
func (client *Client) SyncClusterNodePool(ClusterId *string) (_result *SyncClusterNodePoolResponse, _err error)
Summary:
Synchronizes the information about a node pool, including the metadata and node information of the node pool.
@return SyncClusterNodePoolResponse
func (*Client) SyncClusterNodePoolWithOptions ¶
func (client *Client) SyncClusterNodePoolWithOptions(ClusterId *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *SyncClusterNodePoolResponse, _err error)
Summary:
Synchronizes the information about a node pool, including the metadata and node information of the node pool.
@param headers - map
@param runtime - runtime options for this request RuntimeOptions
@return SyncClusterNodePoolResponse
func (*Client) TagResources ¶
func (client *Client) TagResources(request *TagResourcesRequest) (_result *TagResourcesResponse, _err error)
Summary:
You can add labels in key-value pairs to clusters. This allows cluster developers or O\\&M engineers to classify and manage clusters in a more flexible manner. This also meets the requirements for monitoring, cost analysis, and tenant isolation. You can call the TagResources operation to add labels to a cluster.
@param request - TagResourcesRequest
@return TagResourcesResponse
func (*Client) TagResourcesWithOptions ¶
func (client *Client) TagResourcesWithOptions(request *TagResourcesRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *TagResourcesResponse, _err error)
Summary:
You can add labels in key-value pairs to clusters. This allows cluster developers or O\\&M engineers to classify and manage clusters in a more flexible manner. This also meets the requirements for monitoring, cost analysis, and tenant isolation. You can call the TagResources operation to add labels to a cluster.
@param request - TagResourcesRequest
@param headers - map
@param runtime - runtime options for this request RuntimeOptions
@return TagResourcesResponse
func (*Client) UnInstallClusterAddons ¶
func (client *Client) UnInstallClusterAddons(ClusterId *string, request *UnInstallClusterAddonsRequest) (_result *UnInstallClusterAddonsResponse, _err error)
Summary:
Uninstalls components that you no longer need from a cluster. You must specify the name of the components and specify whether to release associated Alibaba Cloud resources from the cluster.
@param request - UnInstallClusterAddonsRequest
@return UnInstallClusterAddonsResponse
func (*Client) UnInstallClusterAddonsWithOptions ¶
func (client *Client) UnInstallClusterAddonsWithOptions(ClusterId *string, request *UnInstallClusterAddonsRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *UnInstallClusterAddonsResponse, _err error)
Summary:
Uninstalls components that you no longer need from a cluster. You must specify the name of the components and specify whether to release associated Alibaba Cloud resources from the cluster.
@param request - UnInstallClusterAddonsRequest
@param headers - map
@param runtime - runtime options for this request RuntimeOptions
@return UnInstallClusterAddonsResponse
func (*Client) UntagResources ¶
func (client *Client) UntagResources(request *UntagResourcesRequest) (_result *UntagResourcesResponse, _err error)
Summary:
If you no longer need the labels (key-value pairs) of a cluster, you can call the UntagResources operation to delete the labels.
@param request - UntagResourcesRequest
@return UntagResourcesResponse
func (*Client) UntagResourcesWithOptions ¶
func (client *Client) UntagResourcesWithOptions(tmpReq *UntagResourcesRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *UntagResourcesResponse, _err error)
Summary:
If you no longer need the labels (key-value pairs) of a cluster, you can call the UntagResources operation to delete the labels.
@param tmpReq - UntagResourcesRequest
@param headers - map
@param runtime - runtime options for this request RuntimeOptions
@return UntagResourcesResponse
func (*Client) UpdateClusterAuditLogConfig ¶ added in v5.4.0
func (client *Client) UpdateClusterAuditLogConfig(clusterid *string, request *UpdateClusterAuditLogConfigRequest) (_result *UpdateClusterAuditLogConfigResponse, _err error)
Summary:
You can call the UpdateClusterAuditLogConfig operation to enable or disable the audit log feature in a Container Service for Kubernetes (ACK) cluster and update the audit log configuration. This operation also allows you to record requests to the Kubernetes API and the responses, which can be used to trace cluster operation history and troubleshoot cluster issues.
Description:
Before you call this operation, ensure that you understand the billing methods and pricing of [Simple Log Service](https://www.alibabacloud.com/product/log-service/pricing).
@param request - UpdateClusterAuditLogConfigRequest
@return UpdateClusterAuditLogConfigResponse
func (*Client) UpdateClusterAuditLogConfigWithOptions ¶ added in v5.4.0
func (client *Client) UpdateClusterAuditLogConfigWithOptions(clusterid *string, request *UpdateClusterAuditLogConfigRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *UpdateClusterAuditLogConfigResponse, _err error)
Summary:
You can call the UpdateClusterAuditLogConfig operation to enable or disable the audit log feature in a Container Service for Kubernetes (ACK) cluster and update the audit log configuration. This operation also allows you to record requests to the Kubernetes API and the responses, which can be used to trace cluster operation history and troubleshoot cluster issues.
Description:
Before you call this operation, ensure that you understand the billing methods and pricing of [Simple Log Service](https://www.alibabacloud.com/product/log-service/pricing).
@param request - UpdateClusterAuditLogConfigRequest
@param headers - map
@param runtime - runtime options for this request RuntimeOptions
@return UpdateClusterAuditLogConfigResponse
func (*Client) UpdateContactGroupForAlert ¶
func (client *Client) UpdateContactGroupForAlert(ClusterId *string, request *UpdateContactGroupForAlertRequest) (_result *UpdateContactGroupForAlertResponse, _err error)
Summary:
null
@param request - UpdateContactGroupForAlertRequest
@return UpdateContactGroupForAlertResponse
func (*Client) UpdateContactGroupForAlertWithOptions ¶
func (client *Client) UpdateContactGroupForAlertWithOptions(ClusterId *string, request *UpdateContactGroupForAlertRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *UpdateContactGroupForAlertResponse, _err error)
Summary:
null
@param request - UpdateContactGroupForAlertRequest
@param headers - map
@param runtime - runtime options for this request RuntimeOptions
@return UpdateContactGroupForAlertResponse
func (*Client) UpdateControlPlaneLog ¶
func (client *Client) UpdateControlPlaneLog(ClusterId *string, request *UpdateControlPlaneLogRequest) (_result *UpdateControlPlaneLogResponse, _err error)
Summary:
Modifies the log configurations of control plane components. The configurations include the log retention period and components whose logs that you want to collect. Container Service for Kubernetes (ACK) managed clusters can collect the logs of control plane components and deliver the logs to projects in Simple Log Service. These control plane components include Kube-apiserver, kube-scheduler, Kubernetes controller manager, and cloud controller manager (CCM).
@param request - UpdateControlPlaneLogRequest
@return UpdateControlPlaneLogResponse
func (*Client) UpdateControlPlaneLogWithOptions ¶
func (client *Client) UpdateControlPlaneLogWithOptions(ClusterId *string, request *UpdateControlPlaneLogRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *UpdateControlPlaneLogResponse, _err error)
Summary:
Modifies the log configurations of control plane components. The configurations include the log retention period and components whose logs that you want to collect. Container Service for Kubernetes (ACK) managed clusters can collect the logs of control plane components and deliver the logs to projects in Simple Log Service. These control plane components include Kube-apiserver, kube-scheduler, Kubernetes controller manager, and cloud controller manager (CCM).
@param request - UpdateControlPlaneLogRequest
@param headers - map
@param runtime - runtime options for this request RuntimeOptions
@return UpdateControlPlaneLogResponse
func (*Client) UpdateK8sClusterUserConfigExpire ¶
func (client *Client) UpdateK8sClusterUserConfigExpire(ClusterId *string, request *UpdateK8sClusterUserConfigExpireRequest) (_result *UpdateK8sClusterUserConfigExpireResponse, _err error)
Summary:
Sets the validity period of a kubeconfig file used by a Resource Access Management (RAM) user or RAM role to connect to a Container Service for Kubernetes (ACK) cluster. The validity period ranges from 1 to 876,000 hours. You can call this API operation when you customize configurations by using an Alibaba Cloud account. The default validity period of a kubeconfig file is three years.
Description:
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)
Summary:
Sets the validity period of a kubeconfig file used by a Resource Access Management (RAM) user or RAM role to connect to a Container Service for Kubernetes (ACK) cluster. The validity period ranges from 1 to 876,000 hours. You can call this API operation when you customize configurations by using an Alibaba Cloud account. The default validity period of a kubeconfig file is three years.
Description:
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) UpdateResourcesDeleteProtection ¶ added in v5.3.0
func (client *Client) UpdateResourcesDeleteProtection(ClusterId *string, request *UpdateResourcesDeleteProtectionRequest) (_result *UpdateResourcesDeleteProtectionResponse, _err error)
Summary:
Updates the deletion protection status of the specified resources. You can enable or disable deletion protection for namespaces and Services. You can call this operation to enable deletion protection for namespaces or Services that involve businesses-critical and sensitive data to avoid incurring maintenance costs caused by accidental namespace or Service deletion.
@param request - UpdateResourcesDeleteProtectionRequest
@return UpdateResourcesDeleteProtectionResponse
func (*Client) UpdateResourcesDeleteProtectionWithOptions ¶ added in v5.3.0
func (client *Client) UpdateResourcesDeleteProtectionWithOptions(ClusterId *string, request *UpdateResourcesDeleteProtectionRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *UpdateResourcesDeleteProtectionResponse, _err error)
Summary:
Updates the deletion protection status of the specified resources. You can enable or disable deletion protection for namespaces and Services. You can call this operation to enable deletion protection for namespaces or Services that involve businesses-critical and sensitive data to avoid incurring maintenance costs caused by accidental namespace or Service deletion.
@param request - UpdateResourcesDeleteProtectionRequest
@param headers - map
@param runtime - runtime options for this request RuntimeOptions
@return UpdateResourcesDeleteProtectionResponse
func (*Client) UpdateTemplate ¶
func (client *Client) UpdateTemplate(TemplateId *string, request *UpdateTemplateRequest) (_result *UpdateTemplateResponse, _err error)
Summary:
Updates the configurations of an orchestration template. An orchestration template defines and describes a group of Container Service for Kubernetes (ACK) resources. An orchestration template describes the configurations of an application or how an application runs in a declarative manner.
@param request - UpdateTemplateRequest
@return UpdateTemplateResponse
func (*Client) UpdateTemplateWithOptions ¶
func (client *Client) UpdateTemplateWithOptions(TemplateId *string, request *UpdateTemplateRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *UpdateTemplateResponse, _err error)
Summary:
Updates the configurations of an orchestration template. An orchestration template defines and describes a group of Container Service for Kubernetes (ACK) resources. An orchestration template describes the configurations of an application or how an application runs in a declarative manner.
@param request - UpdateTemplateRequest
@param headers - map
@param runtime - runtime options for this request RuntimeOptions
@return UpdateTemplateResponse
func (*Client) UpdateUserPermissions ¶
func (client *Client) UpdateUserPermissions(uid *string, request *UpdateUserPermissionsRequest) (_result *UpdateUserPermissionsResponse, _err error)
Summary:
Updates the role-based access control (RBAC) permissions of a Resource Access Management (RAM) user or RAM role. By default, you do not have the RBAC permissions on a Container Service for Kubernetes (ACK) cluster if you are not the cluster owner or you are not using an Alibaba Cloud account. You can call this operation to specify the resources that can be accessed, permission scope, and predefined roles. This helps you better manage the access control on resources in ACK clusters.
Description:
*Precautions**:
- You can update the permissions of a RAM user or RAM role on a cluster by using full update or incremental update. If you use full update, the existing permissions of the RAM user or RAM role on the cluster are overwritten. You must specify all the permissions that you want to grant to the RAM user or RAM role in the request parameters when you call the operation. If you use incremental update, you can grant permissions to or revoke permissions from the RAM user or RAM role on the cluster. In this case, only the permissions that you specify in the request parameters when you call the operation are granted or revoked, other permissions of the RAM user or RAM role on the cluster are not affected.
@param request - UpdateUserPermissionsRequest
@return UpdateUserPermissionsResponse
func (*Client) UpdateUserPermissionsWithOptions ¶
func (client *Client) UpdateUserPermissionsWithOptions(uid *string, request *UpdateUserPermissionsRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *UpdateUserPermissionsResponse, _err error)
Summary:
Updates the role-based access control (RBAC) permissions of a Resource Access Management (RAM) user or RAM role. By default, you do not have the RBAC permissions on a Container Service for Kubernetes (ACK) cluster if you are not the cluster owner or you are not using an Alibaba Cloud account. You can call this operation to specify the resources that can be accessed, permission scope, and predefined roles. This helps you better manage the access control on resources in ACK clusters.
Description:
*Precautions**:
- You can update the permissions of a RAM user or RAM role on a cluster by using full update or incremental update. If you use full update, the existing permissions of the RAM user or RAM role on the cluster are overwritten. You must specify all the permissions that you want to grant to the RAM user or RAM role in the request parameters when you call the operation. If you use incremental update, you can grant permissions to or revoke permissions from the RAM user or RAM role on the cluster. In this case, only the permissions that you specify in the request parameters when you call the operation are granted or revoked, other permissions of the RAM user or RAM role on the cluster are not affected.
@param request - UpdateUserPermissionsRequest
@param headers - map
@param runtime - runtime options for this request RuntimeOptions
@return UpdateUserPermissionsResponse
func (*Client) UpgradeCluster ¶
func (client *Client) UpgradeCluster(ClusterId *string, request *UpgradeClusterRequest) (_result *UpgradeClusterResponse, _err error)
Summary:
You can call the UpgradeCluster operation to upgrade a cluster by cluster ID.
Description:
After successfully calling the UpgradeCluster interface, this API returns the `task_id` of the upgrade task. You can manage this operation task by calling the following task APIs:
- [Call DescribeTaskInfo to query task details](https://help.aliyun.com/document_detail/2667985.html)
- [Call PauseTask to pause a running task](https://help.aliyun.com/document_detail/2667986.html)
- [Call ResumeTask to resume a task that has been paused](https://help.aliyun.com/document_detail/2667987.html)
- [Call CancelTask to cancel a running task](https://help.aliyun.com/document_detail/2667988.html)
@param request - UpgradeClusterRequest
@return UpgradeClusterResponse
func (*Client) UpgradeClusterAddons ¶
func (client *Client) UpgradeClusterAddons(ClusterId *string, request *UpgradeClusterAddonsRequest) (_result *UpgradeClusterAddonsResponse, _err error)
Summary:
Updates cluster components to use new features and patch vulnerabilities. You must update cluster components one after one and update a component only after the previous one is successfully updated. Before you update a component, we recommend that you read the update notes for each component. Cluster component updates may affect your businesses. Assess the impact, back up data, and perform the update during off-peak hours.
@param request - UpgradeClusterAddonsRequest
@return UpgradeClusterAddonsResponse
func (*Client) UpgradeClusterAddonsWithOptions ¶
func (client *Client) UpgradeClusterAddonsWithOptions(ClusterId *string, request *UpgradeClusterAddonsRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *UpgradeClusterAddonsResponse, _err error)
Summary:
Updates cluster components to use new features and patch vulnerabilities. You must update cluster components one after one and update a component only after the previous one is successfully updated. Before you update a component, we recommend that you read the update notes for each component. Cluster component updates may affect your businesses. Assess the impact, back up data, and perform the update during off-peak hours.
@param request - UpgradeClusterAddonsRequest
@param headers - map
@param runtime - runtime options for this request RuntimeOptions
@return UpgradeClusterAddonsResponse
func (*Client) UpgradeClusterNodepool ¶
func (client *Client) UpgradeClusterNodepool(ClusterId *string, NodepoolId *string, request *UpgradeClusterNodepoolRequest) (_result *UpgradeClusterNodepoolResponse, _err error)
Summary:
You can call the UpgradeClusterNodepool operation to update the Kubernetes version, OS version, or container runtime version of the nodes in a node pool.
Description:
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)
Summary:
You can call the UpgradeClusterNodepool operation to update the Kubernetes version, OS version, or container runtime version of the nodes in a node pool.
Description:
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)
Summary:
You can call the UpgradeCluster operation to upgrade a cluster by cluster ID.
Description:
After successfully calling the UpgradeCluster interface, this API returns the `task_id` of the upgrade task. You can manage this operation task by calling the following task APIs:
- [Call DescribeTaskInfo to query task details](https://help.aliyun.com/document_detail/2667985.html)
- [Call PauseTask to pause a running task](https://help.aliyun.com/document_detail/2667986.html)
- [Call ResumeTask to resume a task that has been paused](https://help.aliyun.com/document_detail/2667987.html)
- [Call CancelTask to cancel a running task](https://help.aliyun.com/document_detail/2667988.html)
@param request - UpgradeClusterRequest
@param headers - map
@param runtime - runtime options for this request RuntimeOptions
@return UpgradeClusterResponse
type ContainerdConfig ¶ added in v5.8.10
type ContainerdConfig struct { InsecureRegistries []*string `json:"insecureRegistries,omitempty" xml:"insecureRegistries,omitempty" type:"Repeated"` RegistryMirrors []*string `json:"registryMirrors,omitempty" xml:"registryMirrors,omitempty" type:"Repeated"` }
func (ContainerdConfig) GoString ¶ added in v5.8.10
func (s ContainerdConfig) GoString() string
func (*ContainerdConfig) SetInsecureRegistries ¶ added in v5.8.10
func (s *ContainerdConfig) SetInsecureRegistries(v []*string) *ContainerdConfig
func (*ContainerdConfig) SetRegistryMirrors ¶ added in v5.8.10
func (s *ContainerdConfig) SetRegistryMirrors(v []*string) *ContainerdConfig
func (ContainerdConfig) String ¶ added in v5.8.10
func (s ContainerdConfig) String() string
type CreateAutoscalingConfigRequest ¶
type CreateAutoscalingConfigRequest struct { // The waiting time before the auto scaling feature performs a scale-in activity. It is an interval between the time when the scale-in threshold is reached and the time when the scale-in activity (reducing the number of pods) starts. Unit: minutes. Default value: 10. // // example: // // 10 m CoolDownDuration *string `json:"cool_down_duration,omitempty" xml:"cool_down_duration,omitempty"` // Specifies whether to evict pods created by DaemonSets when the cluster autoscaler performs a scale-in activity. Valid values: // // - `true`: evicts DaemonSet pods. // // - `false`: does not evict DaemonSet pods. // // example: // // false 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. // // example: // // least-waste 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. // // A scale-in activity is performed only when the CPU utilization, memory utilization, and GPU utilization of a GPU-accelerated node are lower than the scale-in threshold of GPU utilization. // // example: // // 0.5 GpuUtilizationThreshold *string `json:"gpu_utilization_threshold,omitempty" xml:"gpu_utilization_threshold,omitempty"` // The maximum amount of time to wait for pods on a node to terminate during a scale-in activity. Unit: seconds. // // example: // // 14400s MaxGracefulTerminationSec *int32 `json:"max_graceful_termination_sec,omitempty" xml:"max_graceful_termination_sec,omitempty"` // The minimum number of pods allowed in each ReplicaSet before a scale-in activity is performed. // // example: // // 0 MinReplicaCount *int32 `json:"min_replica_count,omitempty" xml:"min_replica_count,omitempty"` // Auto-scaling priority configuration. After creating a node pool with elasticity enabled, you can choose whether to configure a priority strategy and priority settings through [Enabling Node Auto-scaling](https://help.aliyun.com/document_detail/119099.html). This allows you to set priorities for the specified auto-scaling node pool scaling group. The priority value range is [1, 100] and must be a positive integer. Priorities map[string][]*string `json:"priorities,omitempty" xml:"priorities,omitempty"` // Specifies whether to delete the corresponding Kubernetes node objects after nodes are removed in swift mode. For more information about the swift mode, see [Scaling mode](https://help.aliyun.com/document_detail/119099.html). Default value: false Valid values: // // - `true`: deletes the corresponding Kubernetes node objects after nodes are removed in swift mode. We recommend that you do not set the value to true because data inconsistency may occur in Kubernetes objects. // // - `false`: retains the corresponding Kubernetes node objects after nodes are removed in swift mode. // // example: // // false 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. // // example: // // true ScaleDownEnabled *bool `json:"scale_down_enabled,omitempty" xml:"scale_down_enabled,omitempty"` // Specifies whether the cluster autoscaler performs a scale-out activity when the number of ready nodes in the cluster is 0. Default value: true. Valid values: // // - `true`: performs a scale-out activity. // // - `false`: does not perform a scale-out activity. // // example: // // true ScaleUpFromZero *bool `json:"scale_up_from_zero,omitempty" xml:"scale_up_from_zero,omitempty"` // Elastic component type, default is goatscaler for cluster version 1.24 and above, and cluster-autoscaler below that. Values: // // - `goatscaler`: Instant elasticity. // // - `cluster-autoscaler`: Auto-scaling. // // example: // // goatscaler ScalerType *string `json:"scaler_type,omitempty" xml:"scaler_type,omitempty"` // The interval at which the system scans for events that trigger scaling activities. Unit: seconds. Default value: 60. // // example: // // 30s ScanInterval *string `json:"scan_interval,omitempty" xml:"scan_interval,omitempty"` // Specifies whether the cluster autoscaler scales in nodes that host pods mounted with local volumes, such as EmptyDir 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. // // example: // // false SkipNodesWithLocalStorage *bool `json:"skip_nodes_with_local_storage,omitempty" xml:"skip_nodes_with_local_storage,omitempty"` // Specifies whether the cluster autoscaler scales in nodes that host pods in the kube-system namespace. This parameter does not take effect on pods created by DaemonSets 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. // // example: // // true SkipNodesWithSystemPods *bool `json:"skip_nodes_with_system_pods,omitempty" xml:"skip_nodes_with_system_pods,omitempty"` // The cooldown period. After the autoscaler performs a scale-out activity, the autoscaler waits a cooldown period before it can perform a scale-in activity. Newly added nodes can be removed in scale-in activities only after the cooldown period ends. Unit: minutes. // // example: // // 10 m 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. // // A scale-in activity is performed only when the CPU utilization and memory utilization of a node are lower than the scale-in threshold. // // example: // // 0.5 UtilizationThreshold *string `json:"utilization_threshold,omitempty" xml:"utilization_threshold,omitempty"` }
func (CreateAutoscalingConfigRequest) GoString ¶
func (s CreateAutoscalingConfigRequest) GoString() string
func (*CreateAutoscalingConfigRequest) SetCoolDownDuration ¶
func (s *CreateAutoscalingConfigRequest) SetCoolDownDuration(v string) *CreateAutoscalingConfigRequest
func (*CreateAutoscalingConfigRequest) SetDaemonsetEvictionForNodes ¶
func (s *CreateAutoscalingConfigRequest) SetDaemonsetEvictionForNodes(v bool) *CreateAutoscalingConfigRequest
func (*CreateAutoscalingConfigRequest) SetExpander ¶
func (s *CreateAutoscalingConfigRequest) SetExpander(v string) *CreateAutoscalingConfigRequest
func (*CreateAutoscalingConfigRequest) SetGpuUtilizationThreshold ¶
func (s *CreateAutoscalingConfigRequest) SetGpuUtilizationThreshold(v string) *CreateAutoscalingConfigRequest
func (*CreateAutoscalingConfigRequest) SetMaxGracefulTerminationSec ¶
func (s *CreateAutoscalingConfigRequest) SetMaxGracefulTerminationSec(v int32) *CreateAutoscalingConfigRequest
func (*CreateAutoscalingConfigRequest) SetMinReplicaCount ¶
func (s *CreateAutoscalingConfigRequest) SetMinReplicaCount(v int32) *CreateAutoscalingConfigRequest
func (*CreateAutoscalingConfigRequest) SetPriorities ¶ added in v5.8.7
func (s *CreateAutoscalingConfigRequest) SetPriorities(v map[string][]*string) *CreateAutoscalingConfigRequest
func (*CreateAutoscalingConfigRequest) SetRecycleNodeDeletionEnabled ¶
func (s *CreateAutoscalingConfigRequest) SetRecycleNodeDeletionEnabled(v bool) *CreateAutoscalingConfigRequest
func (*CreateAutoscalingConfigRequest) SetScaleDownEnabled ¶
func (s *CreateAutoscalingConfigRequest) SetScaleDownEnabled(v bool) *CreateAutoscalingConfigRequest
func (*CreateAutoscalingConfigRequest) SetScaleUpFromZero ¶
func (s *CreateAutoscalingConfigRequest) SetScaleUpFromZero(v bool) *CreateAutoscalingConfigRequest
func (*CreateAutoscalingConfigRequest) SetScalerType ¶ added in v5.8.1
func (s *CreateAutoscalingConfigRequest) SetScalerType(v string) *CreateAutoscalingConfigRequest
func (*CreateAutoscalingConfigRequest) SetScanInterval ¶
func (s *CreateAutoscalingConfigRequest) SetScanInterval(v string) *CreateAutoscalingConfigRequest
func (*CreateAutoscalingConfigRequest) SetSkipNodesWithLocalStorage ¶
func (s *CreateAutoscalingConfigRequest) SetSkipNodesWithLocalStorage(v bool) *CreateAutoscalingConfigRequest
func (*CreateAutoscalingConfigRequest) SetSkipNodesWithSystemPods ¶
func (s *CreateAutoscalingConfigRequest) SetSkipNodesWithSystemPods(v bool) *CreateAutoscalingConfigRequest
func (*CreateAutoscalingConfigRequest) SetUnneededDuration ¶
func (s *CreateAutoscalingConfigRequest) SetUnneededDuration(v string) *CreateAutoscalingConfigRequest
func (*CreateAutoscalingConfigRequest) SetUtilizationThreshold ¶
func (s *CreateAutoscalingConfigRequest) SetUtilizationThreshold(v string) *CreateAutoscalingConfigRequest
func (CreateAutoscalingConfigRequest) String ¶
func (s CreateAutoscalingConfigRequest) String() string
type CreateAutoscalingConfigResponse ¶
type CreateAutoscalingConfigResponse struct { Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` Body *CreateAutoscalingConfigResponseBody `json:"body,omitempty" xml:"body,omitempty"` }
func (CreateAutoscalingConfigResponse) GoString ¶
func (s CreateAutoscalingConfigResponse) GoString() string
func (*CreateAutoscalingConfigResponse) SetBody ¶ added in v5.8.1
func (s *CreateAutoscalingConfigResponse) SetBody(v *CreateAutoscalingConfigResponseBody) *CreateAutoscalingConfigResponse
func (*CreateAutoscalingConfigResponse) SetHeaders ¶
func (s *CreateAutoscalingConfigResponse) SetHeaders(v map[string]*string) *CreateAutoscalingConfigResponse
func (*CreateAutoscalingConfigResponse) SetStatusCode ¶
func (s *CreateAutoscalingConfigResponse) SetStatusCode(v int32) *CreateAutoscalingConfigResponse
func (CreateAutoscalingConfigResponse) String ¶
func (s CreateAutoscalingConfigResponse) String() string
type CreateAutoscalingConfigResponseBody ¶ added in v5.8.1
type CreateAutoscalingConfigResponseBody struct { // The cluster ID. // // example: // // cc212d04dfe184547bffaa596******** ClusterId *string `json:"cluster_id,omitempty" xml:"cluster_id,omitempty"` // The request ID. // // example: // // AF8BE105-C32B-1269-9774-5510******** RequestId *string `json:"request_id,omitempty" xml:"request_id,omitempty"` // The task ID. // // example: // // T-5fd211e924e1d007******** TaskId *string `json:"task_id,omitempty" xml:"task_id,omitempty"` }
func (CreateAutoscalingConfigResponseBody) GoString ¶ added in v5.8.1
func (s CreateAutoscalingConfigResponseBody) GoString() string
func (*CreateAutoscalingConfigResponseBody) SetClusterId ¶ added in v5.8.1
func (s *CreateAutoscalingConfigResponseBody) SetClusterId(v string) *CreateAutoscalingConfigResponseBody
func (*CreateAutoscalingConfigResponseBody) SetRequestId ¶ added in v5.8.1
func (s *CreateAutoscalingConfigResponseBody) SetRequestId(v string) *CreateAutoscalingConfigResponseBody
func (*CreateAutoscalingConfigResponseBody) SetTaskId ¶ added in v5.8.1
func (s *CreateAutoscalingConfigResponseBody) SetTaskId(v string) *CreateAutoscalingConfigResponseBody
func (CreateAutoscalingConfigResponseBody) String ¶ added in v5.8.1
func (s CreateAutoscalingConfigResponseBody) String() string
type CreateClusterDiagnosisRequest ¶ added in v5.2.0
type CreateClusterDiagnosisRequest struct { // The parameter used to specify the diagnostic object. Examples of parameters for different types of diagnostic objects: // // node: // // {"name": "cn-shanghai.10.10.10.107"} // // pod // // {"namespace": "kube-system", "name": "csi-plugin-2cg9f"} // // network // // {"src": "10.10.10.108", "dst": "10.11.247.16", "dport": "80"} // // ingress // // {"url": "https://example.com"} // // memory // // {"node":"cn-hangzhou.172.16.9.240"} // // service // // {"namespace": "kube-system", "name": "nginx-ingress-lb"} // // example: // // {"namespace": "kube-system", "name": "csi-plugin-2cg9f"} Target map[string]interface{} `json:"target,omitempty" xml:"target,omitempty"` // The type of the diagnostic. // // Valid values: // // - node // // - ingress // // - cluster // // - memory // // - pod // // - service // // - network // // example: // // node Type *string `json:"type,omitempty" xml:"type,omitempty"` }
func (CreateClusterDiagnosisRequest) GoString ¶ added in v5.2.0
func (s CreateClusterDiagnosisRequest) GoString() string
func (*CreateClusterDiagnosisRequest) SetTarget ¶ added in v5.2.0
func (s *CreateClusterDiagnosisRequest) SetTarget(v map[string]interface{}) *CreateClusterDiagnosisRequest
func (*CreateClusterDiagnosisRequest) SetType ¶ added in v5.2.0
func (s *CreateClusterDiagnosisRequest) SetType(v string) *CreateClusterDiagnosisRequest
func (CreateClusterDiagnosisRequest) String ¶ added in v5.2.0
func (s CreateClusterDiagnosisRequest) String() string
type CreateClusterDiagnosisResponse ¶ added in v5.2.0
type CreateClusterDiagnosisResponse struct { Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` Body *CreateClusterDiagnosisResponseBody `json:"body,omitempty" xml:"body,omitempty"` }
func (CreateClusterDiagnosisResponse) GoString ¶ added in v5.2.0
func (s CreateClusterDiagnosisResponse) GoString() string
func (*CreateClusterDiagnosisResponse) SetBody ¶ added in v5.2.0
func (s *CreateClusterDiagnosisResponse) SetBody(v *CreateClusterDiagnosisResponseBody) *CreateClusterDiagnosisResponse
func (*CreateClusterDiagnosisResponse) SetHeaders ¶ added in v5.2.0
func (s *CreateClusterDiagnosisResponse) SetHeaders(v map[string]*string) *CreateClusterDiagnosisResponse
func (*CreateClusterDiagnosisResponse) SetStatusCode ¶ added in v5.2.0
func (s *CreateClusterDiagnosisResponse) SetStatusCode(v int32) *CreateClusterDiagnosisResponse
func (CreateClusterDiagnosisResponse) String ¶ added in v5.2.0
func (s CreateClusterDiagnosisResponse) String() string
type CreateClusterDiagnosisResponseBody ¶ added in v5.2.0
type CreateClusterDiagnosisResponseBody struct { // The cluster ID. // // example: // // c5cdf7e3938bc4f8eb0e44b21a80f**** ClusterId *string `json:"cluster_id,omitempty" xml:"cluster_id,omitempty"` // The diagnostic ID. // // example: // // 6f719f23098240818eb26fe3a37d**** DiagnosisId *string `json:"diagnosis_id,omitempty" xml:"diagnosis_id,omitempty"` // The request ID. // // example: // // 687C5BAA-D103-4993-884B-C35E4314**** RequestId *string `json:"request_id,omitempty" xml:"request_id,omitempty"` }
func (CreateClusterDiagnosisResponseBody) GoString ¶ added in v5.2.0
func (s CreateClusterDiagnosisResponseBody) GoString() string
func (*CreateClusterDiagnosisResponseBody) SetClusterId ¶ added in v5.2.0
func (s *CreateClusterDiagnosisResponseBody) SetClusterId(v string) *CreateClusterDiagnosisResponseBody
func (*CreateClusterDiagnosisResponseBody) SetDiagnosisId ¶ added in v5.2.0
func (s *CreateClusterDiagnosisResponseBody) SetDiagnosisId(v string) *CreateClusterDiagnosisResponseBody
func (*CreateClusterDiagnosisResponseBody) SetRequestId ¶ added in v5.2.0
func (s *CreateClusterDiagnosisResponseBody) SetRequestId(v string) *CreateClusterDiagnosisResponseBody
func (CreateClusterDiagnosisResponseBody) String ¶ added in v5.2.0
func (s CreateClusterDiagnosisResponseBody) String() string
type CreateClusterNodePoolRequest ¶
type CreateClusterNodePoolRequest struct { // The configurations 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. // // example: // // 1 Count *int64 `json:"count,omitempty" xml:"count,omitempty"` // Specifies whether to set the network type of the pod to host network. // // - `true`: sets to host network. // // - `false`: sets to container network. // // example: // // true HostNetwork *bool `json:"host_network,omitempty" xml:"host_network,omitempty"` // Deprecated // // This parameter is deprecated. // // The configurations 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 the `type` of the node pool is set to `edge`. Valid values: // // - `basic`: Internet. // // - `private`: private network. // // example: // // basic InterconnectMode *string `json:"interconnect_mode,omitempty" xml:"interconnect_mode,omitempty"` // Specifies whether all nodes in the edge node pool can communicate with each other at Layer 3. // // - `true`: The nodes in the edge node pool can communicate with each other at Layer 3. // // - `false`: The nodes in the edge node pool cannot communicate with each other at Layer 3. // // example: // // true Intranet *bool `json:"intranet,omitempty" xml:"intranet,omitempty"` // The configurations of the cluster. KubernetesConfig *CreateClusterNodePoolRequestKubernetesConfig `json:"kubernetes_config,omitempty" xml:"kubernetes_config,omitempty" type:"Struct"` // The configurations of the managed node pool feature. Management *CreateClusterNodePoolRequestManagement `json:"management,omitempty" xml:"management,omitempty" type:"Struct"` // Deprecated // // This parameter is deprecated. // // The maximum number of nodes that can be contained in the edge node pool. // // example: // // 10 MaxNodes *int64 `json:"max_nodes,omitempty" xml:"max_nodes,omitempty"` // The node configurations. NodeConfig *CreateClusterNodePoolRequestNodeConfig `json:"node_config,omitempty" xml:"node_config,omitempty" type:"Struct"` // The configurations of the node pool. NodepoolInfo *CreateClusterNodePoolRequestNodepoolInfo `json:"nodepool_info,omitempty" xml:"nodepool_info,omitempty" type:"Struct"` // The configurations of the scaling group that is used by the node pool. ScalingGroup *CreateClusterNodePoolRequestScalingGroup `json:"scaling_group,omitempty" xml:"scaling_group,omitempty" type:"Struct"` // The configurations 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) SetAutoScaling ¶
func (s *CreateClusterNodePoolRequest) SetAutoScaling(v *CreateClusterNodePoolRequestAutoScaling) *CreateClusterNodePoolRequest
func (*CreateClusterNodePoolRequest) SetCount ¶
func (s *CreateClusterNodePoolRequest) SetCount(v int64) *CreateClusterNodePoolRequest
func (*CreateClusterNodePoolRequest) SetHostNetwork ¶ added in v5.7.10
func (s *CreateClusterNodePoolRequest) SetHostNetwork(v bool) *CreateClusterNodePoolRequest
func (*CreateClusterNodePoolRequest) SetInterconnectConfig ¶
func (s *CreateClusterNodePoolRequest) SetInterconnectConfig(v *CreateClusterNodePoolRequestInterconnectConfig) *CreateClusterNodePoolRequest
func (*CreateClusterNodePoolRequest) SetInterconnectMode ¶
func (s *CreateClusterNodePoolRequest) SetInterconnectMode(v string) *CreateClusterNodePoolRequest
func (*CreateClusterNodePoolRequest) SetIntranet ¶ added in v5.7.10
func (s *CreateClusterNodePoolRequest) SetIntranet(v bool) *CreateClusterNodePoolRequest
func (*CreateClusterNodePoolRequest) SetKubernetesConfig ¶
func (s *CreateClusterNodePoolRequest) SetKubernetesConfig(v *CreateClusterNodePoolRequestKubernetesConfig) *CreateClusterNodePoolRequest
func (*CreateClusterNodePoolRequest) SetManagement ¶
func (s *CreateClusterNodePoolRequest) SetManagement(v *CreateClusterNodePoolRequestManagement) *CreateClusterNodePoolRequest
func (*CreateClusterNodePoolRequest) SetMaxNodes ¶
func (s *CreateClusterNodePoolRequest) SetMaxNodes(v int64) *CreateClusterNodePoolRequest
func (*CreateClusterNodePoolRequest) SetNodeConfig ¶
func (s *CreateClusterNodePoolRequest) SetNodeConfig(v *CreateClusterNodePoolRequestNodeConfig) *CreateClusterNodePoolRequest
func (*CreateClusterNodePoolRequest) SetNodepoolInfo ¶
func (s *CreateClusterNodePoolRequest) SetNodepoolInfo(v *CreateClusterNodePoolRequestNodepoolInfo) *CreateClusterNodePoolRequest
func (*CreateClusterNodePoolRequest) SetScalingGroup ¶
func (s *CreateClusterNodePoolRequest) SetScalingGroup(v *CreateClusterNodePoolRequestScalingGroup) *CreateClusterNodePoolRequest
func (*CreateClusterNodePoolRequest) SetTeeConfig ¶
func (s *CreateClusterNodePoolRequest) SetTeeConfig(v *CreateClusterNodePoolRequestTeeConfig) *CreateClusterNodePoolRequest
func (CreateClusterNodePoolRequest) String ¶
func (s CreateClusterNodePoolRequest) String() string
type CreateClusterNodePoolRequestAutoScaling ¶
type CreateClusterNodePoolRequestAutoScaling struct { // Deprecated // // This parameter is deprecated. // // The maximum bandwidth of the EIP. Unit: Mbit/s. // // ** // // **Important* - This parameter is deprecated. Use the internet_charge_type and internet_max_bandwidth_out parameters instead. // // example: // // 5 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`. // // ** // // **Important* - This parameter is deprecated. Use the internet_charge_type and internet_max_bandwidth_out parameters instead. // // example: // // PayByBandwidth EipInternetChargeType *string `json:"eip_internet_charge_type,omitempty" xml:"eip_internet_charge_type,omitempty"` // Specifies whether to enable auto scaling for the node pool. 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`. // // example: // // true 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`. // // ** // // **Important* - This parameter is deprecated. Use the internet_charge_type and internet_max_bandwidth_out parameters instead. // // example: // // true IsBondEip *bool `json:"is_bond_eip,omitempty" xml:"is_bond_eip,omitempty"` // The maximum number to which the Elastic Compute Service (ECS) instances in the node pool can be scaled. The number of nodes in the node pool cannot be greater than this value. This parameter takes effect only if `enable` is set to true. Valid values: [min_instances, 2000]. Default value: 0. // // example: // // 10 MaxInstances *int64 `json:"max_instances,omitempty" xml:"max_instances,omitempty"` // The minimum number to which the ECS instances in the node pool can be scaled. The number of nodes in the node pool cannot be smaller than this value. This parameter takes effect only if `enable` is set to true. Valid values: [0, max_instances]. Default value: 0. // // example: // // 1 MinInstances *int64 `json:"min_instances,omitempty" xml:"min_instances,omitempty"` // The instance type that is used for auto scaling. This parameter takes effect only if `enable` is set to true. Valid values: // // - `cpu`: regular instance. // // - `gpu`: GPU-accelerated instance. // // - `gpushare`: shared GPU-accelerated instance. // // - `spot`: preemptible instance. // // Default value: `cpu`. // // > You cannot modify this parameter after the node pool is created. // // example: // // cpu Type *string `json:"type,omitempty" xml:"type,omitempty"` }
func (CreateClusterNodePoolRequestAutoScaling) GoString ¶
func (s CreateClusterNodePoolRequestAutoScaling) GoString() string
func (*CreateClusterNodePoolRequestAutoScaling) SetEipBandwidth ¶
func (s *CreateClusterNodePoolRequestAutoScaling) SetEipBandwidth(v int64) *CreateClusterNodePoolRequestAutoScaling
func (*CreateClusterNodePoolRequestAutoScaling) SetEipInternetChargeType ¶
func (s *CreateClusterNodePoolRequestAutoScaling) SetEipInternetChargeType(v string) *CreateClusterNodePoolRequestAutoScaling
func (*CreateClusterNodePoolRequestAutoScaling) SetEnable ¶
func (s *CreateClusterNodePoolRequestAutoScaling) SetEnable(v bool) *CreateClusterNodePoolRequestAutoScaling
func (*CreateClusterNodePoolRequestAutoScaling) SetIsBondEip ¶
func (s *CreateClusterNodePoolRequestAutoScaling) SetIsBondEip(v bool) *CreateClusterNodePoolRequestAutoScaling
func (*CreateClusterNodePoolRequestAutoScaling) SetMaxInstances ¶
func (s *CreateClusterNodePoolRequestAutoScaling) SetMaxInstances(v int64) *CreateClusterNodePoolRequestAutoScaling
func (*CreateClusterNodePoolRequestAutoScaling) SetMinInstances ¶
func (s *CreateClusterNodePoolRequestAutoScaling) SetMinInstances(v int64) *CreateClusterNodePoolRequestAutoScaling
func (*CreateClusterNodePoolRequestAutoScaling) SetType ¶
func (s *CreateClusterNodePoolRequestAutoScaling) SetType(v string) *CreateClusterNodePoolRequestAutoScaling
func (CreateClusterNodePoolRequestAutoScaling) String ¶
func (s CreateClusterNodePoolRequestAutoScaling) String() string
type CreateClusterNodePoolRequestInterconnectConfig ¶
type CreateClusterNodePoolRequestInterconnectConfig struct { // This parameter is deprecated. // // The bandwidth of the enhanced edge node pool. Unit: Mbit/s. // // example: // // 10 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. // // example: // // ccn-qm5i0i0q9yi******* 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. // // example: // // cn-shanghai 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. // // example: // // cen-ey9k9nfhz0f******* 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. // // example: // // 1 ImprovedPeriod *string `json:"improved_period,omitempty" xml:"improved_period,omitempty"` }
func (CreateClusterNodePoolRequestInterconnectConfig) GoString ¶
func (s CreateClusterNodePoolRequestInterconnectConfig) GoString() string
func (*CreateClusterNodePoolRequestInterconnectConfig) SetBandwidth ¶
func (s *CreateClusterNodePoolRequestInterconnectConfig) SetBandwidth(v int64) *CreateClusterNodePoolRequestInterconnectConfig
func (*CreateClusterNodePoolRequestInterconnectConfig) SetCcnId ¶
func (s *CreateClusterNodePoolRequestInterconnectConfig) SetCcnId(v string) *CreateClusterNodePoolRequestInterconnectConfig
func (*CreateClusterNodePoolRequestInterconnectConfig) SetCcnRegionId ¶
func (s *CreateClusterNodePoolRequestInterconnectConfig) SetCcnRegionId(v string) *CreateClusterNodePoolRequestInterconnectConfig
func (*CreateClusterNodePoolRequestInterconnectConfig) SetCenId ¶
func (s *CreateClusterNodePoolRequestInterconnectConfig) SetCenId(v string) *CreateClusterNodePoolRequestInterconnectConfig
func (*CreateClusterNodePoolRequestInterconnectConfig) SetImprovedPeriod ¶
func (s *CreateClusterNodePoolRequestInterconnectConfig) SetImprovedPeriod(v string) *CreateClusterNodePoolRequestInterconnectConfig
func (CreateClusterNodePoolRequestInterconnectConfig) String ¶
func (s CreateClusterNodePoolRequestInterconnectConfig) String() 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`. // // example: // // true CmsEnabled *bool `json:"cms_enabled,omitempty" xml:"cms_enabled,omitempty"` // The CPU management policy of 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`. // // example: // // 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 the 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 parameter to a 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. // // example: // // customized,aliyun,ip,com NodeNameMode *string `json:"node_name_mode,omitempty" xml:"node_name_mode,omitempty"` // The user-defined data of nodes. You can specify custom scripts that are automatically executed before the nodes are initialized. // // example: // // dGhpcyBpcyBhIGV4YW1wbGU PreUserData *string `json:"pre_user_data,omitempty" xml:"pre_user_data,omitempty"` // The name of the container runtime. The following types of runtime are supported by ACK: // // - containerd: containerd is the recommended runtime and supports all Kubernetes versions. // // - Sandboxed-Container.runv: The Sandbox-Container runtime provides improved isolation and supports Kubernetes 1.24 and earlier. // // - docker: The Docker runtime supports Kubernetes 1.22 and earlier. // // Default value: containerd. // // example: // // docker Runtime *string `json:"runtime,omitempty" xml:"runtime,omitempty"` // The version of the container runtime. // // example: // // 19.03.5 RuntimeVersion *string `json:"runtime_version,omitempty" xml:"runtime_version,omitempty"` // The configurations of the taints. Taints []*Taint `json:"taints,omitempty" xml:"taints,omitempty" type:"Repeated"` // Specifies whether the nodes are schedulable after a scale-out operation is performed. // // example: // // true Unschedulable *bool `json:"unschedulable,omitempty" xml:"unschedulable,omitempty"` // The user-defined data of nodes. You can specify custom scripts that are automatically executed after the nodes are initialized. // // example: // // dGhpcyBpcyBhIGV4YW1wbGU= UserData *string `json:"user_data,omitempty" xml:"user_data,omitempty"` }
func (CreateClusterNodePoolRequestKubernetesConfig) GoString ¶
func (s CreateClusterNodePoolRequestKubernetesConfig) GoString() string
func (*CreateClusterNodePoolRequestKubernetesConfig) SetCmsEnabled ¶
func (s *CreateClusterNodePoolRequestKubernetesConfig) SetCmsEnabled(v bool) *CreateClusterNodePoolRequestKubernetesConfig
func (*CreateClusterNodePoolRequestKubernetesConfig) SetCpuPolicy ¶
func (s *CreateClusterNodePoolRequestKubernetesConfig) SetCpuPolicy(v string) *CreateClusterNodePoolRequestKubernetesConfig
func (*CreateClusterNodePoolRequestKubernetesConfig) SetLabels ¶
func (s *CreateClusterNodePoolRequestKubernetesConfig) SetLabels(v []*Tag) *CreateClusterNodePoolRequestKubernetesConfig
func (*CreateClusterNodePoolRequestKubernetesConfig) SetNodeNameMode ¶
func (s *CreateClusterNodePoolRequestKubernetesConfig) SetNodeNameMode(v string) *CreateClusterNodePoolRequestKubernetesConfig
func (*CreateClusterNodePoolRequestKubernetesConfig) SetPreUserData ¶ added in v5.7.7
func (s *CreateClusterNodePoolRequestKubernetesConfig) SetPreUserData(v string) *CreateClusterNodePoolRequestKubernetesConfig
func (*CreateClusterNodePoolRequestKubernetesConfig) SetRuntime ¶
func (s *CreateClusterNodePoolRequestKubernetesConfig) SetRuntime(v string) *CreateClusterNodePoolRequestKubernetesConfig
func (*CreateClusterNodePoolRequestKubernetesConfig) SetRuntimeVersion ¶
func (s *CreateClusterNodePoolRequestKubernetesConfig) SetRuntimeVersion(v string) *CreateClusterNodePoolRequestKubernetesConfig
func (*CreateClusterNodePoolRequestKubernetesConfig) SetTaints ¶
func (s *CreateClusterNodePoolRequestKubernetesConfig) SetTaints(v []*Taint) *CreateClusterNodePoolRequestKubernetesConfig
func (*CreateClusterNodePoolRequestKubernetesConfig) SetUnschedulable ¶
func (s *CreateClusterNodePoolRequestKubernetesConfig) SetUnschedulable(v bool) *CreateClusterNodePoolRequestKubernetesConfig
func (*CreateClusterNodePoolRequestKubernetesConfig) SetUserData ¶
func (s *CreateClusterNodePoolRequestKubernetesConfig) SetUserData(v string) *CreateClusterNodePoolRequestKubernetesConfig
func (CreateClusterNodePoolRequestKubernetesConfig) String ¶
func (s CreateClusterNodePoolRequestKubernetesConfig) String() string
type CreateClusterNodePoolRequestManagement ¶
type CreateClusterNodePoolRequestManagement struct { // Specifies whether to enable auto node repair. This parameter takes effect only if `enable` is set to true. // // - `true`: enables auto node repair. // // - `false`: disables auto node repair. // // If `enable` is set to true, the default value of this parameter is `true`. If `enable` is set to false, the default value of this parameter is `false`. // // example: // // false AutoRepair *bool `json:"auto_repair,omitempty" xml:"auto_repair,omitempty"` // The auto node repair policy. AutoRepairPolicy *CreateClusterNodePoolRequestManagementAutoRepairPolicy `json:"auto_repair_policy,omitempty" xml:"auto_repair_policy,omitempty" type:"Struct"` // Specifies whether to enable auto node upgrade. This parameter takes effect only if `enable` is set to true. // // - `true`: enables auto node upgrade. // // - `false`: disables auto node upgrade. // // If `enable` is set to true, the default value of this parameter is `true`. If `enable` is set to false, the default value of this parameter is `false`. // // example: // // true AutoUpgrade *bool `json:"auto_upgrade,omitempty" xml:"auto_upgrade,omitempty"` // The auto node upgrade policy. AutoUpgradePolicy *CreateClusterNodePoolRequestManagementAutoUpgradePolicy `json:"auto_upgrade_policy,omitempty" xml:"auto_upgrade_policy,omitempty" type:"Struct"` // Specifies whether to enable auto Common Vulnerabilities and Exposures (CVE) patching. This parameter takes effect only if `enable` is set to true. // // - `true`: enables auto CVE patching. // // - `false`: disables auto CVE patching. // // If `enable` is set to true, the default value of this parameter is `true`. If `enable` is set to false, the default value of this parameter is `false`. // // example: // // true AutoVulFix *bool `json:"auto_vul_fix,omitempty" xml:"auto_vul_fix,omitempty"` // The auto CVE patching policy. 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 if enable is set to true. // // Default value: false. // // example: // // false Enable *bool `json:"enable,omitempty" xml:"enable,omitempty"` // Deprecated // // The configurations of auto upgrade. The configurations take effects only if `enable` is set to true. UpgradeConfig *CreateClusterNodePoolRequestManagementUpgradeConfig `json:"upgrade_config,omitempty" xml:"upgrade_config,omitempty" type:"Struct"` }
func (CreateClusterNodePoolRequestManagement) GoString ¶
func (s CreateClusterNodePoolRequestManagement) GoString() string
func (*CreateClusterNodePoolRequestManagement) SetAutoRepair ¶
func (s *CreateClusterNodePoolRequestManagement) SetAutoRepair(v bool) *CreateClusterNodePoolRequestManagement
func (*CreateClusterNodePoolRequestManagement) SetAutoRepairPolicy ¶
func (s *CreateClusterNodePoolRequestManagement) SetAutoRepairPolicy(v *CreateClusterNodePoolRequestManagementAutoRepairPolicy) *CreateClusterNodePoolRequestManagement
func (*CreateClusterNodePoolRequestManagement) SetAutoUpgrade ¶
func (s *CreateClusterNodePoolRequestManagement) SetAutoUpgrade(v bool) *CreateClusterNodePoolRequestManagement
func (*CreateClusterNodePoolRequestManagement) SetAutoUpgradePolicy ¶
func (s *CreateClusterNodePoolRequestManagement) SetAutoUpgradePolicy(v *CreateClusterNodePoolRequestManagementAutoUpgradePolicy) *CreateClusterNodePoolRequestManagement
func (*CreateClusterNodePoolRequestManagement) SetAutoVulFix ¶
func (s *CreateClusterNodePoolRequestManagement) SetAutoVulFix(v bool) *CreateClusterNodePoolRequestManagement
func (*CreateClusterNodePoolRequestManagement) SetAutoVulFixPolicy ¶
func (s *CreateClusterNodePoolRequestManagement) SetAutoVulFixPolicy(v *CreateClusterNodePoolRequestManagementAutoVulFixPolicy) *CreateClusterNodePoolRequestManagement
func (*CreateClusterNodePoolRequestManagement) SetEnable ¶
func (s *CreateClusterNodePoolRequestManagement) SetEnable(v bool) *CreateClusterNodePoolRequestManagement
func (*CreateClusterNodePoolRequestManagement) SetUpgradeConfig ¶
func (s *CreateClusterNodePoolRequestManagement) SetUpgradeConfig(v *CreateClusterNodePoolRequestManagementUpgradeConfig) *CreateClusterNodePoolRequestManagement
func (CreateClusterNodePoolRequestManagement) String ¶
func (s CreateClusterNodePoolRequestManagement) String() string
type CreateClusterNodePoolRequestManagementAutoRepairPolicy ¶
type CreateClusterNodePoolRequestManagementAutoRepairPolicy struct { // Specifies whether to allow node restart. This parameter takes effect only if `auto_repair` is set to true. Valid values: // // - `true`: allows node restart. // // - `false`: does not allow node restart. // // If `auto_repair` is set to true, the default value of this parameter is `true`. If `auto_repair` is set to false, the default value of this parameter is `false`. // // example: // // true RestartNode *bool `json:"restart_node,omitempty" xml:"restart_node,omitempty"` }
func (CreateClusterNodePoolRequestManagementAutoRepairPolicy) GoString ¶
func (s CreateClusterNodePoolRequestManagementAutoRepairPolicy) GoString() string
func (*CreateClusterNodePoolRequestManagementAutoRepairPolicy) SetRestartNode ¶
func (s *CreateClusterNodePoolRequestManagementAutoRepairPolicy) SetRestartNode(v bool) *CreateClusterNodePoolRequestManagementAutoRepairPolicy
func (CreateClusterNodePoolRequestManagementAutoRepairPolicy) String ¶
func (s CreateClusterNodePoolRequestManagementAutoRepairPolicy) String() string
type CreateClusterNodePoolRequestManagementAutoUpgradePolicy ¶
type CreateClusterNodePoolRequestManagementAutoUpgradePolicy struct { // Specifies whether to allow the auto upgrade of the kubelet. This parameter takes effect only if `auto_upgrade` is set to true. Valid values: // // - `true`: allows the auto upgrade of the kubelet. // // - `false`: does not allow the auto upgrade of the kubelet. // // If `auto_upgrade` is set to true, the default value of this parameter is `true`. If `auto_upgrade` is set to false, the default value of this parameter is `false`. // // example: // // true AutoUpgradeKubelet *bool `json:"auto_upgrade_kubelet,omitempty" xml:"auto_upgrade_kubelet,omitempty"` // Specifies whether to allow the auto upgrade of the OS. This parameter takes effect only if `auto_upgrade` is set to true. Valid values: // // - `true`: allows the auto upgrade of the OS. // // - `false`: does not allow the auto upgrade of the OS. // // Default value: `false`. AutoUpgradeOs *bool `json:"auto_upgrade_os,omitempty" xml:"auto_upgrade_os,omitempty"` // Specifies whether to allow the auto upgrade of the runtime. This parameter takes effect only if `auto_upgrade` is set to true. Valid values: // // - `true`: allows the auto upgrade of the runtime. // // - `false`: does not allow the auto upgrade of the runtime. // // Default value: `false`. AutoUpgradeRuntime *bool `json:"auto_upgrade_runtime,omitempty" xml:"auto_upgrade_runtime,omitempty"` }
func (CreateClusterNodePoolRequestManagementAutoUpgradePolicy) GoString ¶
func (s CreateClusterNodePoolRequestManagementAutoUpgradePolicy) GoString() string
func (*CreateClusterNodePoolRequestManagementAutoUpgradePolicy) SetAutoUpgradeKubelet ¶
func (s *CreateClusterNodePoolRequestManagementAutoUpgradePolicy) SetAutoUpgradeKubelet(v bool) *CreateClusterNodePoolRequestManagementAutoUpgradePolicy
func (*CreateClusterNodePoolRequestManagementAutoUpgradePolicy) SetAutoUpgradeOs ¶ added in v5.0.2
func (s *CreateClusterNodePoolRequestManagementAutoUpgradePolicy) SetAutoUpgradeOs(v bool) *CreateClusterNodePoolRequestManagementAutoUpgradePolicy
func (*CreateClusterNodePoolRequestManagementAutoUpgradePolicy) SetAutoUpgradeRuntime ¶ added in v5.0.2
func (s *CreateClusterNodePoolRequestManagementAutoUpgradePolicy) SetAutoUpgradeRuntime(v bool) *CreateClusterNodePoolRequestManagementAutoUpgradePolicy
func (CreateClusterNodePoolRequestManagementAutoUpgradePolicy) String ¶
func (s CreateClusterNodePoolRequestManagementAutoUpgradePolicy) String() string
type CreateClusterNodePoolRequestManagementAutoVulFixPolicy ¶
type CreateClusterNodePoolRequestManagementAutoVulFixPolicy struct { // Specifies whether to allow node restart. This parameter takes effect only if `auto_vul_fix` is set to true. Valid values: // // - `true`: allows node restart. // // - `false`: does not allow node restart. If `auto_vul_fix` is set to true, the default value of this parameter is `false`. If `auto_vul_fix` is set to false, the default value of this parameter is `false`. // // example: // // true RestartNode *bool `json:"restart_node,omitempty" xml:"restart_node,omitempty"` // The severity levels of CVEs that can be automatically patched. Separate multiple levels with commas (,). Example: `asap,later`. Valid values: // // - `asap`: high. // // - `later`: medium. // // - `nntf`: low. // // If `auto_vul_fix` is set to true, the default value of this parameter is `asap`. // // example: // // asap,nntf VulLevel *string `json:"vul_level,omitempty" xml:"vul_level,omitempty"` }
func (CreateClusterNodePoolRequestManagementAutoVulFixPolicy) GoString ¶
func (s CreateClusterNodePoolRequestManagementAutoVulFixPolicy) GoString() string
func (*CreateClusterNodePoolRequestManagementAutoVulFixPolicy) SetRestartNode ¶
func (s *CreateClusterNodePoolRequestManagementAutoVulFixPolicy) SetRestartNode(v bool) *CreateClusterNodePoolRequestManagementAutoVulFixPolicy
func (*CreateClusterNodePoolRequestManagementAutoVulFixPolicy) SetVulLevel ¶
func (CreateClusterNodePoolRequestManagementAutoVulFixPolicy) String ¶
func (s CreateClusterNodePoolRequestManagementAutoVulFixPolicy) String() string
type CreateClusterNodePoolRequestManagementUpgradeConfig ¶
type CreateClusterNodePoolRequestManagementUpgradeConfig struct { // Deprecated // // Specifies whether to enable auto upgrade. Valid values: // // - `true`: enables auto OS upgrade. // // - `false`: disables auto OS upgrade. // // ** // // **Caution* - This parameter is deprecated. Use the preceding auto_upgrade parameter instead. // // example: // // false AutoUpgrade *bool `json:"auto_upgrade,omitempty" xml:"auto_upgrade,omitempty"` // // Default value: 1 // // example: // // 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 upgrade. // // example: // // 0 Surge *int64 `json:"surge,omitempty" xml:"surge,omitempty"` // The percentage of additional nodes that are temporarily added to the node pool during an auto update. You must set this parameter or `surge`. // // example: // // 0 SurgePercentage *int64 `json:"surge_percentage,omitempty" xml:"surge_percentage,omitempty"` }
func (CreateClusterNodePoolRequestManagementUpgradeConfig) GoString ¶
func (s CreateClusterNodePoolRequestManagementUpgradeConfig) GoString() string
func (*CreateClusterNodePoolRequestManagementUpgradeConfig) SetAutoUpgrade ¶
func (s *CreateClusterNodePoolRequestManagementUpgradeConfig) SetAutoUpgrade(v bool) *CreateClusterNodePoolRequestManagementUpgradeConfig
func (*CreateClusterNodePoolRequestManagementUpgradeConfig) SetMaxUnavailable ¶
func (s *CreateClusterNodePoolRequestManagementUpgradeConfig) SetMaxUnavailable(v int64) *CreateClusterNodePoolRequestManagementUpgradeConfig
func (*CreateClusterNodePoolRequestManagementUpgradeConfig) SetSurgePercentage ¶
func (s *CreateClusterNodePoolRequestManagementUpgradeConfig) SetSurgePercentage(v int64) *CreateClusterNodePoolRequestManagementUpgradeConfig
func (CreateClusterNodePoolRequestManagementUpgradeConfig) String ¶
func (s CreateClusterNodePoolRequestManagementUpgradeConfig) String() string
type CreateClusterNodePoolRequestNodeConfig ¶
type CreateClusterNodePoolRequestNodeConfig struct { // The configurations of the kubelet. KubeletConfiguration *KubeletConfig `json:"kubelet_configuration,omitempty" xml:"kubelet_configuration,omitempty"` }
func (CreateClusterNodePoolRequestNodeConfig) GoString ¶
func (s CreateClusterNodePoolRequestNodeConfig) GoString() string
func (*CreateClusterNodePoolRequestNodeConfig) SetKubeletConfiguration ¶
func (s *CreateClusterNodePoolRequestNodeConfig) SetKubeletConfiguration(v *KubeletConfig) *CreateClusterNodePoolRequestNodeConfig
func (CreateClusterNodePoolRequestNodeConfig) String ¶
func (s CreateClusterNodePoolRequestNodeConfig) String() string
type CreateClusterNodePoolRequestNodepoolInfo ¶
type CreateClusterNodePoolRequestNodepoolInfo struct { // The name of the node pool. // // This parameter is required. // // example: // // cluster-demo Name *string `json:"name,omitempty" xml:"name,omitempty"` // The ID of the resource group to which the node pool belongs. Instances that are added to the node pool belong to this resource group. // // example: // // rg-acfmyvw3wjmb**** ResourceGroupId *string `json:"resource_group_id,omitempty" xml:"resource_group_id,omitempty"` // The type of node pool. Valid values: // // - `ess`: regular node pool, which supports the managed node pool feature and the auto scaling feature. // // - `edge`: edge node pool. // // - `lingjun`: Lingjun node pool. // // example: // // ess Type *string `json:"type,omitempty" xml:"type,omitempty"` }
func (CreateClusterNodePoolRequestNodepoolInfo) GoString ¶
func (s CreateClusterNodePoolRequestNodepoolInfo) GoString() string
func (*CreateClusterNodePoolRequestNodepoolInfo) SetName ¶
func (s *CreateClusterNodePoolRequestNodepoolInfo) SetName(v string) *CreateClusterNodePoolRequestNodepoolInfo
func (*CreateClusterNodePoolRequestNodepoolInfo) SetResourceGroupId ¶
func (s *CreateClusterNodePoolRequestNodepoolInfo) SetResourceGroupId(v string) *CreateClusterNodePoolRequestNodepoolInfo
func (*CreateClusterNodePoolRequestNodepoolInfo) SetType ¶
func (s *CreateClusterNodePoolRequestNodepoolInfo) SetType(v string) *CreateClusterNodePoolRequestNodepoolInfo
func (CreateClusterNodePoolRequestNodepoolInfo) String ¶
func (s CreateClusterNodePoolRequestNodepoolInfo) String() 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: `false`. // // example: // // true AutoRenew *bool `json:"auto_renew,omitempty" xml:"auto_renew,omitempty"` // The auto-renewal period. Valid values: // // - Valid values when PeriodUnit is set to Week: 1, 2, and 3. // // - Valid values when PeriodUnit is set to Month: 1, 2, 3, 6, 12, 24, 36, 48, and 60. // // Default value: 1. // // example: // // 1 AutoRenewPeriod *int64 `json:"auto_renew_period,omitempty" xml:"auto_renew_period,omitempty"` // Deprecated // // This parameter is deprecated. Use security_hardening_os instead. // // example: // // false 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 price 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. // // example: // // true CompensateWithOnDemand *bool `json:"compensate_with_on_demand,omitempty" xml:"compensate_with_on_demand,omitempty"` // The configurations of the data disks that are attached to nodes in the node pool. DataDisks []*DataDisk `json:"data_disks,omitempty" xml:"data_disks,omitempty" type:"Repeated"` // The ID of the deployment set. // // example: // // ds-bp1d19mmbsv3jf6xxxxx DeploymentsetId *string `json:"deploymentset_id,omitempty" xml:"deploymentset_id,omitempty"` // The expected number of nodes in the node pool. // // example: // // 0 DesiredSize *int64 `json:"desired_size,omitempty" xml:"desired_size,omitempty"` // The custom image ID. By default, the image provided by Container Service for Kubernetes (ACK) is used. // // example: // // aliyun_2_1903_x64_20G_alibase_20200529.vhd ImageId *string `json:"image_id,omitempty" xml:"image_id,omitempty"` // The type of the OS image. You must specify this parameter or `platform`. Valid values: // // - `AliyunLinux`: Alibaba Cloud Linux 2. // // - `AliyunLinuxSecurity`: Alibaba Cloud Linux 2 (UEFI). // // - `AliyunLinux3`: Alibaba Cloud Linux 3 // // - `AliyunLinux3Arm64`: Alibaba Cloud Linux 3 (ARM). // // - `AliyunLinux3Security`: Alibaba Cloud Linux 3 (UEFI). // // - `CentOS`: CentOS. // // - `Windows`: Windows. // // - `WindowsCore`: Windows Core. // // - `ContainerOS`: ContainerOS. // // - `AliyunLinux3ContainerOptimized`: Alibaba Cloud Linux 3 Container-optimized. // // example: // // AliyunLinux ImageType *string `json:"image_type,omitempty" xml:"image_type,omitempty"` // The billing method of nodes in the node pool. Valid values: // // - `PrePaid`: subscription. // // - `PostPaid`: pay-as-you-go. // // Default value: `PostPaid`. // // This parameter is required. // // example: // // PrePaid InstanceChargeType *string `json:"instance_charge_type,omitempty" xml:"instance_charge_type,omitempty"` // The instance attributes. InstancePatterns []*InstancePatterns `json:"instance_patterns,omitempty" xml:"instance_patterns,omitempty" type:"Repeated"` // The instance types of nodes in the node pool. When the system adds a node to the node pool, the system selects the most appropriate one from the specified instance types for the node. You can specify 1 to 10 instance types. // // > To ensure high availability, we recommend that you specify multiple instance types. // // This parameter is required. 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. // // example: // // PayByTraffic InternetChargeType *string `json:"internet_charge_type,omitempty" xml:"internet_charge_type,omitempty"` // The maximum outbound bandwidth of the public IP address. Unit: Mbit/s. Valid values: 1 to 100. // // example: // // 5 InternetMaxBandwidthOut *int64 `json:"internet_max_bandwidth_out,omitempty" xml:"internet_max_bandwidth_out,omitempty"` // The name of the key pair used to log on to nodes in the node pool. You must set this parameter or `login_password`. // // > If you select ContainerOS as the OS of nodes in the node pool, you must specify `key_pair`. // // example: // // np-key-name KeyPair *string `json:"key_pair,omitempty" xml:"key_pair,omitempty"` // Specifies whether to allow a non-root user to log on to an ECS instance that is added to the node pool. // // example: // // true 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 `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. // // example: // // Hello1234 LoginPassword *string `json:"login_password,omitempty" xml:"login_password,omitempty"` // The ECS instance scaling policy for the multi-zone scaling group. Valid values: // // - `PRIORITY`: ECS instances are scaled based on the value of VSwitchIds.N. If an ECS instance cannot be created in the zone where the vSwitch that has the highest priority resides, the system 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 if preemptible instance types are specified in the scaling configurations. 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 inventory. // // ** // // **Note* - `COST_OPTIMIZED` takes effect 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 for the scaling group. If ECS instances become imbalanced among multiple zones due to insufficient inventory, you can call the [RebalanceInstances](https://help.aliyun.com/document_detail/71516.html) operation of Auto Scaling to evenly distribute the ECS instances among zones. // // Default value: `PRIORITY`. // // example: // // COST_OPTIMIZED 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, the system preferably creates pay-as-you-go instances. // // example: // // 0 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. // // example: // // 20 OnDemandPercentageAboveBaseCapacity *int64 `json:"on_demand_percentage_above_base_capacity,omitempty" xml:"on_demand_percentage_above_base_capacity,omitempty"` // The subscription duration of nodes in the node pool. This parameter takes effect and is required if you set `instance_charge_type` to `PrePaid`. // // - If `period_unit` is set to Week, the valid values of `period` are 1, 2, 3, and 4. // // - If `period_unit` is set to Month, the valid values of `period` are 1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 24, 36, 48, and 60. // // example: // // 1 Period *int64 `json:"period,omitempty" xml:"period,omitempty"` // The billing cycle of nodes in the node pool. This parameter takes effect and is required if you set `instance_charge_type` to `PrePaid`. Valid values: // // - `Month`: The subscription duration is measured in months. // // - `Week`: The subscription duration is measured in weeks. // // Default value: `Month`. // // example: // // Month PeriodUnit *string `json:"period_unit,omitempty" xml:"period_unit,omitempty"` // Deprecated // // The OS distribution that is used. Valid values: // // - `CentOS` // // - `AliyunLinux` // // - `Windows` // // - `WindowsCore` // // Default value: `AliyunLinux`. // // example: // // AliyunLinux Platform *string `json:"platform,omitempty" xml:"platform,omitempty"` // The configurations of the private node pool. PrivatePoolOptions *CreateClusterNodePoolRequestScalingGroupPrivatePoolOptions `json:"private_pool_options,omitempty" xml:"private_pool_options,omitempty" type:"Struct"` // The name of the worker RAM role. // // - If you do not specify this parameter, the default worker RAM role created by the cluster is used. // // - The specified RAM role must be a **regular service role* - and the **Select Trusted Service* - parameter must be set to **Elastic Compute Service**. For more information, see [Create a normal service role](https://help.aliyun.com/document_detail/116800.html). If the specified RAM role is not the default worker RAM role created by the cluster, the name of the RAM role cannot start with `KubernetesMasterRole-` or `KubernetesWorkerRole-`. // // > This parameter is available only for ACK managed clusters that run Kubernetes 1.22 or later. // // example: // // example-role RamRoleName *string `json:"ram_role_name,omitempty" xml:"ram_role_name,omitempty"` // The IDs 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 that are attached with local disks. // // Default value: `release`. // // example: // // release ScalingPolicy *string `json:"scaling_policy,omitempty" xml:"scaling_policy,omitempty"` // Deprecated // // The ID of the security group to which you want to add the node pool. You must specify this parameter or the `security_group_ids` parameter. We recommend that you specify `security_group_ids`. // // example: // // sg-wz9a8g2mt6x5llu0**** SecurityGroupId *string `json:"security_group_id,omitempty" xml:"security_group_id,omitempty"` // The IDs of security groups. You must specify this parameter or `security_group_id`. We recommend that you specify `security_group_ids`. If you specify 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"` // 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 MLPS Security Hardening. You can enable security hardening based on Multi-Level Protection Scheme (MLPS) only when Alibaba Cloud Linux 2 or Alibaba Cloud Linux 3 is installed on nodes. Alibaba Cloud provides standards for baseline checks and a scanner to ensure the compliance of Alibaba Cloud Linux 2 and Alibaba Cloud Linux 3 images with the level 3 standards of MLPS 2.0. // // example: // // 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. // // example: // // 5 SpotInstancePools *int64 `json:"spot_instance_pools,omitempty" xml:"spot_instance_pools,omitempty"` // Indicates whether preemptible instances can be supplemented. If you set this parameter to true, when the scaling group receives a system message indicating 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. // // example: // // false SpotInstanceRemedy *bool `json:"spot_instance_remedy,omitempty" xml:"spot_instance_remedy,omitempty"` // The instance type of preemptible instances and the price cap for the instance type. 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. // // - `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 [Use preemptible instances](https://help.aliyun.com/document_detail/165053.html). // // example: // // NoSpot SpotStrategy *string `json:"spot_strategy,omitempty" xml:"spot_strategy,omitempty"` // Specifies whether to enable the burst feature for the system disk. Valid values: // // - true: enables the burst feature. // // - false: disables the burst feature. // // This parameter is available only when `SystemDiskCategory` is set to `cloud_auto`. For more information, see [ESSD AutoPL disks](https://help.aliyun.com/document_detail/368372.html). // // example: // // true SystemDiskBurstingEnabled *bool `json:"system_disk_bursting_enabled,omitempty" xml:"system_disk_bursting_enabled,omitempty"` // The categories of the system disk for nodes. The system attempts to create system disks of a disk category with a lower priority if the disk category with a higher priority is unavailable. Valid values: // // - `cloud`: basic disk. // // - `cloud_efficiency`: ultra disk. // // - `cloud_ssd`: standard SSD. // // - `cloud_essd`: ESSD. // // - `cloud_auto`: ESSD AutoPL disk. // // - `cloud_essd_entry`: ESSD Entry disk. SystemDiskCategories []*string `json:"system_disk_categories,omitempty" xml:"system_disk_categories,omitempty" type:"Repeated"` // The category of the system disk. Valid values: // // - `cloud`: basic disk. // // - `cloud_efficiency`: ultra disk. // // - `cloud_ssd`: standard SSD. // // - `cloud_essd`: Enterprise ESSD (ESSD). // // - `cloud_auto`: ESSD AutoPL disk. // // - `cloud_essd_entry`: ESSD Entry disk. // // Default value: `cloud_efficiency`. // // example: // // cloud_efficiency SystemDiskCategory *string `json:"system_disk_category,omitempty" xml:"system_disk_category,omitempty"` // The encryption algorithm that is used to encrypt the system disk. The value is aes-256. // // example: // // aes-256 SystemDiskEncryptAlgorithm *string `json:"system_disk_encrypt_algorithm,omitempty" xml:"system_disk_encrypt_algorithm,omitempty"` // Specifies whether to encrypt the system disk. true: encrypts the system disk. false: does not encrypt the system disk. // // example: // // false 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. // // example: // // 0e478b7a-4262-4802-b8cb-00d3fb40**** SystemDiskKmsKeyId *string `json:"system_disk_kms_key_id,omitempty" xml:"system_disk_kms_key_id,omitempty"` // The performance level (PL) of the system disk. This parameter takes effect only for an ESSD. // // - 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. // // > Disks support all of the preceding PLs. However, when you create a disk, the available PLs vary based on the ECS instance type that you selected. For more information, see [Overview of ECS instance families](https://help.aliyun.com/document_detail/25378.html). // // example: // // PL1 SystemDiskPerformanceLevel *string `json:"system_disk_performance_level,omitempty" xml:"system_disk_performance_level,omitempty"` // The preset IOPS of the 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](https://help.aliyun.com/document_detail/368372.html). // // example: // // 1000 SystemDiskProvisionedIops *int64 `json:"system_disk_provisioned_iops,omitempty" xml:"system_disk_provisioned_iops,omitempty"` // The size of the system disk. Unit: GiB. // // Valid values: 20 to 20248. // // example: // // 120 SystemDiskSize *int64 `json:"system_disk_size,omitempty" xml:"system_disk_size,omitempty"` // The tags 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 cannot start with aliyun or acs: or contain https:// or http://. Tags []*CreateClusterNodePoolRequestScalingGroupTags `json:"tags,omitempty" xml:"tags,omitempty" type:"Repeated"` // The vSwitch IDs. You can specify one to eight vSwitch IDs. // // > To ensure high availability, we recommend that you select vSwitches that reside in different zones. // // This parameter is required. VswitchIds []*string `json:"vswitch_ids,omitempty" xml:"vswitch_ids,omitempty" type:"Repeated"` }
func (CreateClusterNodePoolRequestScalingGroup) GoString ¶
func (s CreateClusterNodePoolRequestScalingGroup) GoString() string
func (*CreateClusterNodePoolRequestScalingGroup) SetAutoRenew ¶
func (s *CreateClusterNodePoolRequestScalingGroup) SetAutoRenew(v bool) *CreateClusterNodePoolRequestScalingGroup
func (*CreateClusterNodePoolRequestScalingGroup) SetAutoRenewPeriod ¶
func (s *CreateClusterNodePoolRequestScalingGroup) SetAutoRenewPeriod(v int64) *CreateClusterNodePoolRequestScalingGroup
func (*CreateClusterNodePoolRequestScalingGroup) SetCisEnabled ¶
func (s *CreateClusterNodePoolRequestScalingGroup) SetCisEnabled(v bool) *CreateClusterNodePoolRequestScalingGroup
func (*CreateClusterNodePoolRequestScalingGroup) SetCompensateWithOnDemand ¶
func (s *CreateClusterNodePoolRequestScalingGroup) SetCompensateWithOnDemand(v bool) *CreateClusterNodePoolRequestScalingGroup
func (*CreateClusterNodePoolRequestScalingGroup) SetDataDisks ¶
func (s *CreateClusterNodePoolRequestScalingGroup) SetDataDisks(v []*DataDisk) *CreateClusterNodePoolRequestScalingGroup
func (*CreateClusterNodePoolRequestScalingGroup) SetDeploymentsetId ¶
func (s *CreateClusterNodePoolRequestScalingGroup) SetDeploymentsetId(v string) *CreateClusterNodePoolRequestScalingGroup
func (*CreateClusterNodePoolRequestScalingGroup) SetDesiredSize ¶
func (s *CreateClusterNodePoolRequestScalingGroup) SetDesiredSize(v int64) *CreateClusterNodePoolRequestScalingGroup
func (*CreateClusterNodePoolRequestScalingGroup) SetImageId ¶
func (s *CreateClusterNodePoolRequestScalingGroup) SetImageId(v string) *CreateClusterNodePoolRequestScalingGroup
func (*CreateClusterNodePoolRequestScalingGroup) SetImageType ¶
func (s *CreateClusterNodePoolRequestScalingGroup) SetImageType(v string) *CreateClusterNodePoolRequestScalingGroup
func (*CreateClusterNodePoolRequestScalingGroup) SetInstanceChargeType ¶
func (s *CreateClusterNodePoolRequestScalingGroup) SetInstanceChargeType(v string) *CreateClusterNodePoolRequestScalingGroup
func (*CreateClusterNodePoolRequestScalingGroup) SetInstancePatterns ¶ added in v5.2.1
func (s *CreateClusterNodePoolRequestScalingGroup) SetInstancePatterns(v []*InstancePatterns) *CreateClusterNodePoolRequestScalingGroup
func (*CreateClusterNodePoolRequestScalingGroup) SetInstanceTypes ¶
func (s *CreateClusterNodePoolRequestScalingGroup) SetInstanceTypes(v []*string) *CreateClusterNodePoolRequestScalingGroup
func (*CreateClusterNodePoolRequestScalingGroup) SetInternetChargeType ¶
func (s *CreateClusterNodePoolRequestScalingGroup) SetInternetChargeType(v string) *CreateClusterNodePoolRequestScalingGroup
func (*CreateClusterNodePoolRequestScalingGroup) SetInternetMaxBandwidthOut ¶
func (s *CreateClusterNodePoolRequestScalingGroup) SetInternetMaxBandwidthOut(v int64) *CreateClusterNodePoolRequestScalingGroup
func (*CreateClusterNodePoolRequestScalingGroup) SetKeyPair ¶
func (s *CreateClusterNodePoolRequestScalingGroup) SetKeyPair(v string) *CreateClusterNodePoolRequestScalingGroup
func (*CreateClusterNodePoolRequestScalingGroup) SetLoginAsNonRoot ¶
func (s *CreateClusterNodePoolRequestScalingGroup) SetLoginAsNonRoot(v bool) *CreateClusterNodePoolRequestScalingGroup
func (*CreateClusterNodePoolRequestScalingGroup) SetLoginPassword ¶
func (s *CreateClusterNodePoolRequestScalingGroup) SetLoginPassword(v string) *CreateClusterNodePoolRequestScalingGroup
func (*CreateClusterNodePoolRequestScalingGroup) SetMultiAzPolicy ¶
func (s *CreateClusterNodePoolRequestScalingGroup) SetMultiAzPolicy(v string) *CreateClusterNodePoolRequestScalingGroup
func (*CreateClusterNodePoolRequestScalingGroup) SetOnDemandBaseCapacity ¶
func (s *CreateClusterNodePoolRequestScalingGroup) SetOnDemandBaseCapacity(v int64) *CreateClusterNodePoolRequestScalingGroup
func (*CreateClusterNodePoolRequestScalingGroup) SetOnDemandPercentageAboveBaseCapacity ¶
func (s *CreateClusterNodePoolRequestScalingGroup) SetOnDemandPercentageAboveBaseCapacity(v int64) *CreateClusterNodePoolRequestScalingGroup
func (*CreateClusterNodePoolRequestScalingGroup) SetPeriod ¶
func (s *CreateClusterNodePoolRequestScalingGroup) SetPeriod(v int64) *CreateClusterNodePoolRequestScalingGroup
func (*CreateClusterNodePoolRequestScalingGroup) SetPeriodUnit ¶
func (s *CreateClusterNodePoolRequestScalingGroup) SetPeriodUnit(v string) *CreateClusterNodePoolRequestScalingGroup
func (*CreateClusterNodePoolRequestScalingGroup) SetPlatform ¶
func (s *CreateClusterNodePoolRequestScalingGroup) SetPlatform(v string) *CreateClusterNodePoolRequestScalingGroup
func (*CreateClusterNodePoolRequestScalingGroup) SetPrivatePoolOptions ¶
func (s *CreateClusterNodePoolRequestScalingGroup) SetPrivatePoolOptions(v *CreateClusterNodePoolRequestScalingGroupPrivatePoolOptions) *CreateClusterNodePoolRequestScalingGroup
func (*CreateClusterNodePoolRequestScalingGroup) SetRamRoleName ¶ added in v5.3.3
func (s *CreateClusterNodePoolRequestScalingGroup) SetRamRoleName(v string) *CreateClusterNodePoolRequestScalingGroup
func (*CreateClusterNodePoolRequestScalingGroup) SetRdsInstances ¶
func (s *CreateClusterNodePoolRequestScalingGroup) SetRdsInstances(v []*string) *CreateClusterNodePoolRequestScalingGroup
func (*CreateClusterNodePoolRequestScalingGroup) SetScalingPolicy ¶
func (s *CreateClusterNodePoolRequestScalingGroup) SetScalingPolicy(v string) *CreateClusterNodePoolRequestScalingGroup
func (*CreateClusterNodePoolRequestScalingGroup) SetSecurityGroupId ¶
func (s *CreateClusterNodePoolRequestScalingGroup) SetSecurityGroupId(v string) *CreateClusterNodePoolRequestScalingGroup
func (*CreateClusterNodePoolRequestScalingGroup) SetSecurityGroupIds ¶
func (s *CreateClusterNodePoolRequestScalingGroup) SetSecurityGroupIds(v []*string) *CreateClusterNodePoolRequestScalingGroup
func (*CreateClusterNodePoolRequestScalingGroup) SetSecurityHardeningOs ¶ added in v5.0.3
func (s *CreateClusterNodePoolRequestScalingGroup) SetSecurityHardeningOs(v bool) *CreateClusterNodePoolRequestScalingGroup
func (*CreateClusterNodePoolRequestScalingGroup) SetSocEnabled ¶
func (s *CreateClusterNodePoolRequestScalingGroup) SetSocEnabled(v bool) *CreateClusterNodePoolRequestScalingGroup
func (*CreateClusterNodePoolRequestScalingGroup) SetSpotInstancePools ¶
func (s *CreateClusterNodePoolRequestScalingGroup) SetSpotInstancePools(v int64) *CreateClusterNodePoolRequestScalingGroup
func (*CreateClusterNodePoolRequestScalingGroup) SetSpotInstanceRemedy ¶
func (s *CreateClusterNodePoolRequestScalingGroup) SetSpotInstanceRemedy(v bool) *CreateClusterNodePoolRequestScalingGroup
func (*CreateClusterNodePoolRequestScalingGroup) SetSpotPriceLimit ¶
func (s *CreateClusterNodePoolRequestScalingGroup) SetSpotPriceLimit(v []*CreateClusterNodePoolRequestScalingGroupSpotPriceLimit) *CreateClusterNodePoolRequestScalingGroup
func (*CreateClusterNodePoolRequestScalingGroup) SetSpotStrategy ¶
func (s *CreateClusterNodePoolRequestScalingGroup) SetSpotStrategy(v string) *CreateClusterNodePoolRequestScalingGroup
func (*CreateClusterNodePoolRequestScalingGroup) SetSystemDiskBurstingEnabled ¶
func (s *CreateClusterNodePoolRequestScalingGroup) SetSystemDiskBurstingEnabled(v bool) *CreateClusterNodePoolRequestScalingGroup
func (*CreateClusterNodePoolRequestScalingGroup) SetSystemDiskCategories ¶
func (s *CreateClusterNodePoolRequestScalingGroup) SetSystemDiskCategories(v []*string) *CreateClusterNodePoolRequestScalingGroup
func (*CreateClusterNodePoolRequestScalingGroup) SetSystemDiskCategory ¶
func (s *CreateClusterNodePoolRequestScalingGroup) SetSystemDiskCategory(v string) *CreateClusterNodePoolRequestScalingGroup
func (*CreateClusterNodePoolRequestScalingGroup) SetSystemDiskEncryptAlgorithm ¶
func (s *CreateClusterNodePoolRequestScalingGroup) SetSystemDiskEncryptAlgorithm(v string) *CreateClusterNodePoolRequestScalingGroup
func (*CreateClusterNodePoolRequestScalingGroup) SetSystemDiskEncrypted ¶
func (s *CreateClusterNodePoolRequestScalingGroup) SetSystemDiskEncrypted(v bool) *CreateClusterNodePoolRequestScalingGroup
func (*CreateClusterNodePoolRequestScalingGroup) SetSystemDiskKmsKeyId ¶
func (s *CreateClusterNodePoolRequestScalingGroup) SetSystemDiskKmsKeyId(v string) *CreateClusterNodePoolRequestScalingGroup
func (*CreateClusterNodePoolRequestScalingGroup) SetSystemDiskPerformanceLevel ¶
func (s *CreateClusterNodePoolRequestScalingGroup) SetSystemDiskPerformanceLevel(v string) *CreateClusterNodePoolRequestScalingGroup
func (*CreateClusterNodePoolRequestScalingGroup) SetSystemDiskProvisionedIops ¶
func (s *CreateClusterNodePoolRequestScalingGroup) SetSystemDiskProvisionedIops(v int64) *CreateClusterNodePoolRequestScalingGroup
func (*CreateClusterNodePoolRequestScalingGroup) SetSystemDiskSize ¶
func (s *CreateClusterNodePoolRequestScalingGroup) SetSystemDiskSize(v int64) *CreateClusterNodePoolRequestScalingGroup
func (*CreateClusterNodePoolRequestScalingGroup) SetVswitchIds ¶
func (s *CreateClusterNodePoolRequestScalingGroup) SetVswitchIds(v []*string) *CreateClusterNodePoolRequestScalingGroup
func (CreateClusterNodePoolRequestScalingGroup) String ¶
func (s CreateClusterNodePoolRequestScalingGroup) String() string
type CreateClusterNodePoolRequestScalingGroupPrivatePoolOptions ¶
type CreateClusterNodePoolRequestScalingGroupPrivatePoolOptions struct { // The ID of the private node pool. // // example: // // eap-bp67acfmxazb4**** 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 pool is generated when an elasticity assurance or a capacity reservation takes effect. The system selects a private pool to start instances. Valid values: // // - `Open`: uses an open private pool. The system selects an open private pool to start instances. If no matching open private pools are available, the resources in the public pool are used. // // - `Target`: uses a specified private pool. The system uses the resources of the specified private pool to start instances. If the specified private pool is unavailable, instances cannot be started. // // - `None`: no private pool is used. The resources of private pools are not used to launch the instances. // // example: // // Open MatchCriteria *string `json:"match_criteria,omitempty" xml:"match_criteria,omitempty"` }
func (CreateClusterNodePoolRequestScalingGroupPrivatePoolOptions) GoString ¶
func (s CreateClusterNodePoolRequestScalingGroupPrivatePoolOptions) GoString() string
func (*CreateClusterNodePoolRequestScalingGroupPrivatePoolOptions) SetMatchCriteria ¶
func (s *CreateClusterNodePoolRequestScalingGroupPrivatePoolOptions) SetMatchCriteria(v string) *CreateClusterNodePoolRequestScalingGroupPrivatePoolOptions
func (CreateClusterNodePoolRequestScalingGroupPrivatePoolOptions) String ¶
func (s CreateClusterNodePoolRequestScalingGroupPrivatePoolOptions) String() string
type CreateClusterNodePoolRequestScalingGroupSpotPriceLimit ¶
type CreateClusterNodePoolRequestScalingGroupSpotPriceLimit struct { // The instance type of preemptible instances. // // example: // // ecs.c6.large InstanceType *string `json:"instance_type,omitempty" xml:"instance_type,omitempty"` // The price cap of a preemptible instance of the type. // // example: // // 0.39 PriceLimit *string `json:"price_limit,omitempty" xml:"price_limit,omitempty"` }
func (CreateClusterNodePoolRequestScalingGroupSpotPriceLimit) GoString ¶
func (s CreateClusterNodePoolRequestScalingGroupSpotPriceLimit) GoString() string
func (*CreateClusterNodePoolRequestScalingGroupSpotPriceLimit) SetInstanceType ¶
func (s *CreateClusterNodePoolRequestScalingGroupSpotPriceLimit) SetInstanceType(v string) *CreateClusterNodePoolRequestScalingGroupSpotPriceLimit
func (*CreateClusterNodePoolRequestScalingGroupSpotPriceLimit) SetPriceLimit ¶
func (s *CreateClusterNodePoolRequestScalingGroupSpotPriceLimit) SetPriceLimit(v string) *CreateClusterNodePoolRequestScalingGroupSpotPriceLimit
func (CreateClusterNodePoolRequestScalingGroupSpotPriceLimit) String ¶
func (s CreateClusterNodePoolRequestScalingGroupSpotPriceLimit) String() string
type CreateClusterNodePoolRequestScalingGroupTags ¶
type CreateClusterNodePoolRequestScalingGroupTags struct { // The tag key. // // example: // // node-k-1 Key *string `json:"key,omitempty" xml:"key,omitempty"` // The tag value. // // example: // // node-v-1 Value *string `json:"value,omitempty" xml:"value,omitempty"` }
func (CreateClusterNodePoolRequestScalingGroupTags) GoString ¶
func (s CreateClusterNodePoolRequestScalingGroupTags) GoString() string
func (*CreateClusterNodePoolRequestScalingGroupTags) SetValue ¶
func (s *CreateClusterNodePoolRequestScalingGroupTags) SetValue(v string) *CreateClusterNodePoolRequestScalingGroupTags
func (CreateClusterNodePoolRequestScalingGroupTags) String ¶
func (s CreateClusterNodePoolRequestScalingGroupTags) String() string
type CreateClusterNodePoolRequestTeeConfig ¶
type CreateClusterNodePoolRequestTeeConfig struct { // Specifies whether to enable confidential computing for the cluster. // // example: // // true TeeEnable *bool `json:"tee_enable,omitempty" xml:"tee_enable,omitempty"` }
func (CreateClusterNodePoolRequestTeeConfig) GoString ¶
func (s CreateClusterNodePoolRequestTeeConfig) GoString() string
func (*CreateClusterNodePoolRequestTeeConfig) SetTeeEnable ¶
func (s *CreateClusterNodePoolRequestTeeConfig) SetTeeEnable(v bool) *CreateClusterNodePoolRequestTeeConfig
func (CreateClusterNodePoolRequestTeeConfig) String ¶
func (s CreateClusterNodePoolRequestTeeConfig) String() 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 (s CreateClusterNodePoolResponse) GoString() string
func (*CreateClusterNodePoolResponse) SetBody ¶
func (s *CreateClusterNodePoolResponse) SetBody(v *CreateClusterNodePoolResponseBody) *CreateClusterNodePoolResponse
func (*CreateClusterNodePoolResponse) SetHeaders ¶
func (s *CreateClusterNodePoolResponse) SetHeaders(v map[string]*string) *CreateClusterNodePoolResponse
func (*CreateClusterNodePoolResponse) SetStatusCode ¶
func (s *CreateClusterNodePoolResponse) SetStatusCode(v int32) *CreateClusterNodePoolResponse
func (CreateClusterNodePoolResponse) String ¶
func (s CreateClusterNodePoolResponse) String() string
type CreateClusterNodePoolResponseBody ¶
type CreateClusterNodePoolResponseBody struct { // The node pool ID. // // example: // // np31da1b38983f4511b490fc62108a**** NodepoolId *string `json:"nodepool_id,omitempty" xml:"nodepool_id,omitempty"` // The request ID. // // example: // // 0527ac9a-c899-4341-a21a-**** RequestId *string `json:"request_id,omitempty" xml:"request_id,omitempty"` // The ID of the task. // // example: // // T-613b19bbd160ad492800**** TaskId *string `json:"task_id,omitempty" xml:"task_id,omitempty"` }
func (CreateClusterNodePoolResponseBody) GoString ¶
func (s CreateClusterNodePoolResponseBody) GoString() string
func (*CreateClusterNodePoolResponseBody) SetNodepoolId ¶
func (s *CreateClusterNodePoolResponseBody) SetNodepoolId(v string) *CreateClusterNodePoolResponseBody
func (*CreateClusterNodePoolResponseBody) SetRequestId ¶
func (s *CreateClusterNodePoolResponseBody) SetRequestId(v string) *CreateClusterNodePoolResponseBody
func (*CreateClusterNodePoolResponseBody) SetTaskId ¶
func (s *CreateClusterNodePoolResponseBody) SetTaskId(v string) *CreateClusterNodePoolResponseBody
func (CreateClusterNodePoolResponseBody) String ¶
func (s CreateClusterNodePoolResponseBody) String() string
type CreateClusterRequest ¶
type CreateClusterRequest struct { // The network 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 specify the components that you want to install. // // **Network plug-in**: required. The Flannel and Terway plug-ins are supported. Select one of the plug-ins for the cluster. // // - If you want to use the Terway component, specify the network plug-in in the [{"name":"flannel","config":""}] format. // // - If you want to use the Terway component, specify the value network plug-in in the [{"name": "terway-eniip","Config": ""}] format. // // **Volume plug-in**: optional. Only the `Container Storage Interface (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. // // - Specify an existing `Simple Log Service project` 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 component 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 Ingress controller in the following format: [{"name":"nginx-ingress-controller","config":"{"IngressSlbNetworkType":"internet"}"}]. // // - To disable the automatic installation of nginx-ingress-controller, specify the Ingress controller 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 ACK event centers to store and query events and configure alerts. You can use the Logstores that are associated with ACK event centers free of charge within 90 days. For more information, see [Create and use an event center](https://help.aliyun.com/document_detail/150476.html). // // To enable the event center feature, specify the event center component 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. The `api-audiences` parameter validates `tokens` and is used by the `API server` to check whether the `tokens` of requests are valid. Separate multiple values with commas (,).“ // // For more information about `service accounts`, see [Enable service account token volume projection](https://help.aliyun.com/document_detail/160384.html). // // example: // // kubernetes.default.svc ApiAudiences *string `json:"api_audiences,omitempty" xml:"api_audiences,omitempty"` // Deprecated // // [**Deprecated**] // // Specifies whether to enable auto-renewal. This parameter takes effect only when `charge_type` is set to `PrePaid`. Valid values: // // - `true`: enables auto-renewal. // // - `false`: disables auto-renewal. // // Default value: `false`. // // This parameter was changed on October 15, 2024. For more information, see [Announcement on changes to the parameter behavior of the CreateCluster operation](https://help.aliyun.com/document_detail/2849194.html). // // example: // // true AutoRenew *bool `json:"auto_renew,omitempty" xml:"auto_renew,omitempty"` // Deprecated // // [**Deprecated**] // // The auto-renewal duration. This parameter takes effect only if charge_type is set to PrePaid and auto_renew is set to true. If you set `period_unit` to Month, the valid values of auto_renew_period are 1, 2, 3, 6, and 12. // // Default value: 1. // // This parameter was changed on October 15, 2024. For more information, see [Announcement on changes to the parameter behavior of the CreateCluster operation](https://help.aliyun.com/document_detail/2849194.html). // // example: // // 1 AutoRenewPeriod *int64 `json:"auto_renew_period,omitempty" xml:"auto_renew_period,omitempty"` // Deprecated // // [**Deprecated**] // // The billing method of the CLB instance that is used by the API server. Default value: PostPaid. Valid values: // // - PostPaid: pay-as-you-go. // // - PrePaid: subscription. This billing method is not supported by newly created CLB instances. Existing CLB instances are not affected. // // > // // - This parameter was changed on October 15, 2024. For more information, see [Announcement on changes to the parameter behavior of the CreateCluster operation](https://help.aliyun.com/document_detail/2849194.html). // // - Starting from December 1, 2024, newly created CLB instances no longer support the subscription billing method, and an instance fee will be charged for newly created CLB instances // // For more information, see [CLB billing adjustments](https://help.aliyun.com/document_detail/2839797.html). // // example: // // 1 ChargeType *string `json:"charge_type,omitempty" xml:"charge_type,omitempty"` // Deprecated // // [Deprecated] When you configure the control plane, use the `security_hardening_os` parameter in the `control_plane_config` section instead. When you configure a node pool, use the `security_hardening_os` parameter of the `scaling_group` field in the `nodepool` section instead. // // example: // // false CisEnabled *bool `json:"cis_enabled,omitempty" xml:"cis_enabled,omitempty"` // Deprecated // // [**Deprecated**] When you configure the control plane, use the `cloud_monitor_flags` parameter in the `control_plane_config` section instead. When you configure a node pool, use the `cms_enabled` parameter of the `kubernetes_config` field in the nodepool section instead. // // Specifies whether to install the CloudMonitor agent. Valid values: // // - `true`: installs the CloudMonitor agent. // // - `false`: does not install the CloudMonitor agent. // // Default value: `false`. // // example: // // true 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. // // example: // // cluster.local ClusterDomain *string `json:"cluster_domain,omitempty" xml:"cluster_domain,omitempty"` // If you set `cluster_type` to `ManagedKubernetes` and specify `profile`, you can further specify the edition of the cluster. Valid values: // // - `ack.pro.small`: Pro Edition. // // - `ack.standard`: Basic Edition. If you leave the parameter empty, an ACK Basic cluster is created. // // example: // // ack.pro.small 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 Edition and Pro Edition), ACK Edge clusters (Basic Edition and Pro Edition), and ACK Lingjun clusters (Pro Edition). // // - `ExternalKubernetes`: registered cluster. // // This parameter is required. // // example: // // Kubernetes ClusterType *string `json:"cluster_type,omitempty" xml:"cluster_type,omitempty"` // The pod CIDR block. 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 pod CIDR block. 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 how to plan the network of an ACK cluster, see [Plan the network of an ACK cluster](https://help.aliyun.com/document_detail/86500.html). // // > This parameter is required if the cluster uses the Flannel plug-in. // // example: // // 172.20.0.0/16 ContainerCidr *string `json:"container_cidr,omitempty" xml:"container_cidr,omitempty"` // The control plane configurations of an ACK dedicated cluster. ControlPlaneConfig *CreateClusterRequestControlPlaneConfig `json:"control_plane_config,omitempty" xml:"control_plane_config,omitempty" type:"Struct"` // The control plane components for which you want to enable log collection. // // By default, the logs of kube-apiserver, kube-controller-manager, and kube-scheduler are 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. // // example: // // k8s-log-xxx ControlplaneLogProject *string `json:"controlplane_log_project,omitempty" xml:"controlplane_log_project,omitempty"` // The retention period of control plane logs in days. // // example: // // 30 ControlplaneLogTtl *string `json:"controlplane_log_ttl,omitempty" xml:"controlplane_log_ttl,omitempty"` // Deprecated // // [**Deprecated**] When you configure the control plane, use the `cpu_policy` parameter in the `control_plane_config` section instead. When you configure a node pool, use the `cpu_policy` parameter of the `kubernetes_config` field in the `nodepool` section instead. // // The CPU management policy of the node. 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`. // // example: // // none CpuPolicy *string `json:"cpu_policy,omitempty" xml:"cpu_policy,omitempty"` // The custom subject alternative names (SANs) for the API server certificate to accept requests from specified IP addresses or domain names. Separate multiple IP addresses and domain names with commas (,). // // example: // // cs.aliyun.com CustomSan *string `json:"custom_san,omitempty" xml:"custom_san,omitempty"` // Specifies whether to enable cluster deletion protection. If you enable this option, the cluster cannot be deleted in the console or by calling API operations. Valid values: // // - `true`: enables cluster deletion protection. // // - `false`: disables cluster deletion protection. // // Default value: `false`. // // example: // // true DeletionProtection *bool `json:"deletion_protection,omitempty" xml:"deletion_protection,omitempty"` // Deprecated // // [**Deprecated**] By default, the system does not perform a rollback when the cluster fails to be created. You must manually delete the cluster that fails to be created. // // Specifies whether to perform a rollback when the cluster fails to be created. Valid values: // // - `true`: performs a rollback when the cluster fails to be created. // // - `false`: does not perform a rollback when the cluster fails to be created. // // Default value: `true`. // // example: // // true DisableRollback *bool `json:"disable_rollback,omitempty" xml:"disable_rollback,omitempty"` // Specifies whether to enable the RAM Roles for Service Accounts (RRSA) feature. // // example: // // true EnableRrsa *bool `json:"enable_rrsa,omitempty" xml:"enable_rrsa,omitempty"` // The ID of the Key Management Service (KMS) key that is used to encrypt the system disk. For more information, see [What is KMS?](https://help.aliyun.com/document_detail/28935.html) // // > The key can be used only in ACK Pro clusters. // // example: // // 0fe64791-55eb-4fc7-84c5-c6c7cdca**** 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 for the cluster. // // - `false`: disables Internet access for the cluster. If you set the value to false, the API server cannot be accessed over the Internet. // // Default value: `false`. // // example: // // true EndpointPublicAccess *bool `json:"endpoint_public_access,omitempty" xml:"endpoint_public_access,omitempty"` // Deprecated // // [**Deprecated**] When you configure a node pool, you cannot add existing nodes to the cluster. If you want to add existing nodes, you must first create a node pool and then call the [AttachInstancesToNodePool](https://help.aliyun.com/document_detail/2667920.html) operation. // // 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. The existing data stored in the data disk is lost. Back up the existing data 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. // // example: // // false FormatDisk *bool `json:"format_disk,omitempty" xml:"format_disk,omitempty"` // Deprecated // // [**Deprecated**] When you configure the control plane, use the `image_id` parameter in the `control_plane_config` section instead. When you configure a node pool, use the `image_id` parameter of the `scaling_group` field in the `nodepool` section instead. // // The 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 [Use a custom image to create an ACK cluster](https://help.aliyun.com/document_detail/146647.html). // // example: // // m-bp16z7xko3vvv8gt**** ImageId *string `json:"image_id,omitempty" xml:"image_id,omitempty"` // Deprecated // // [**Deprecated**] When you configure the control plane, use the `image_type` parameter in the `control_plane_config` section instead. When you configure a node pool, use the `image_type` parameter of the `scaling_group` field in the `nodepool` section instead. // // 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`. // // example: // // AliyunLinux ImageType *string `json:"image_type,omitempty" xml:"image_type,omitempty"` // Deprecated // // [**Deprecated**] When you configure a node pool, you cannot add existing nodes to the cluster. If you want to add existing nodes, you must first create a node pool and then call the [AttachInstancesToNodePool](https://help.aliyun.com/document_detail/2667920.html) operation. // // The existing ECS instances that are specified as worker nodes for the cluster. // // > This parameter is required if you create worker nodes on existing ECS instances. Instances []*string `json:"instances,omitempty" xml:"instances,omitempty" type:"Repeated"` // The IP stack of the cluster. // // example: // // Optional value: ipv4 (Single stack) or ipv6 (Dual Stack) // // Default value: IPV4 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 uses Terway. // // - `true`: creates an advanced security group. // // - `false`: does not create an advanced security group. // // Default value: `true`. // // example: // // true IsEnterpriseSecurityGroup *bool `json:"is_enterprise_security_group,omitempty" xml:"is_enterprise_security_group,omitempty"` // Deprecated // // [**Deprecated**] When you configure a node pool, you cannot add existing nodes to the cluster. If you want to add existing nodes, you must first create a node pool and then call the [AttachInstancesToNodePool](https://help.aliyun.com/document_detail/2667920.html) operation. // // 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`. // // example: // // true KeepInstanceName *bool `json:"keep_instance_name,omitempty" xml:"keep_instance_name,omitempty"` // Deprecated // // [**Deprecated**] When you configure the control plane, use the `key_pair` parameter in the `control_plane_config` section instead. When you configure a node pool, use the `key_pair` parameter of the `scaling_group` field in the `nodepool` section instead. // // The name of the key pair. You must configure this parameter or `login_password`. // // example: // // secrity-key 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 specify this parameter, the latest Kubernetes version is used. // // You can create ACK clusters of the latest three Kubernetes versions in the ACK console. If you want to create clusters that run earlier Kubernetes versions, use the ACK API. For more information about the Kubernetes versions supported by ACK, see [Support for Kubernetes versions](https://help.aliyun.com/document_detail/185269.html). // // example: // // 1.16.9-aliyun.1 KubernetesVersion *string `json:"kubernetes_version,omitempty" xml:"kubernetes_version,omitempty"` // Specifies the ID of the CLB instance for accessing the API server. If this parameter is specified, the system does not automatically create a CLB instance for the API server. // // > Make sure that the CLB instance does not have other dependencies, such as listeners and backend servers. You cannot specify shared-resource or Internet-facing CLB instances. // // example: // // lb-wz9t256gqa3vbouk**** LoadBalancerId *string `json:"load_balancer_id,omitempty" xml:"load_balancer_id,omitempty"` // Deprecated // // [**Deprecated**] The pay-as-you-go billing method is used by Classic Load Balancer (CLB) instances. This parameter does not take effect. // // 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`. // // example: // // 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 for ACK Serverless clusters. Set the value to `SLS`. // // example: // // SLS LoggingType *string `json:"logging_type,omitempty" xml:"logging_type,omitempty"` // Deprecated // // [**Deprecated**] When you configure the control plane, use the `login_password` parameter in the `control_plane_config` section instead. When you configure a node pool, use the `login_password` parameter of the `scaling_group` field in the `nodepool` section instead. // // The password for SSH logon. You must set this parameter 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. // // example: // // Hello@1234 LoginPassword *string `json:"login_password,omitempty" xml:"login_password,omitempty"` // The configurations of the cluster maintenance window. MaintenanceWindow *MaintenanceWindow `json:"maintenance_window,omitempty" xml:"maintenance_window,omitempty"` // Deprecated // // [**Deprecated**] When you configure the control plane, use the `auto-renew` parameter in the `control_plane_config` section instead. // // Specifies whether to enable auto-renewal for master nodes. This parameter takes effect only when `master_instance_charge_type` is set to `PrePaid`. Valid values: // // - `true`: enables auto-renewal. // // - `false`: disables auto-renewal. // // Default value: `true`. // // example: // // true MasterAutoRenew *bool `json:"master_auto_renew,omitempty" xml:"master_auto_renew,omitempty"` // Deprecated // // [**Deprecated**] When you configure the control plane, use the `auto-renew_period` parameter in the `control_plane_config` section instead. // // The auto-renewal duration. This parameter takes effect and is required only when the subscription billing method is selected for master nodes. // // Valid values: 1, 2, 3, 6, and 12. // // Default value: 1. // // example: // // 1 MasterAutoRenewPeriod *int64 `json:"master_auto_renew_period,omitempty" xml:"master_auto_renew_period,omitempty"` // Deprecated // // [**Deprecated**] When you configure the control plane, use the `size` parameter in the `control_plane_config` section instead. // // The number of master nodes. Valid values: `3` and `5`. // // Default value: `3`. // // example: // // 3 MasterCount *int64 `json:"master_count,omitempty" xml:"master_count,omitempty"` // Deprecated // // [**Deprecated**] When you configure the control plane, use the `instance_charge_type` parameter in the `control_plane_config` section instead. // // The billing method of master nodes. Valid values: // // - `PrePaid`: subscription. // // - `PostPaid`: pay-as-you-go. // // Default value: `PostPaid`. // // example: // // PrePaid MasterInstanceChargeType *string `json:"master_instance_charge_type,omitempty" xml:"master_instance_charge_type,omitempty"` // Deprecated // // [**Deprecated**] When you configure the control plane, use the `instance_types` parameter in the `control_plane_config` section instead. // // The instance types of master nodes. For more information, see [Overview of instance families](https://help.aliyun.com/document_detail/25378.html). MasterInstanceTypes []*string `json:"master_instance_types,omitempty" xml:"master_instance_types,omitempty" type:"Repeated"` // Deprecated // // [**Deprecated**] When you configure the control plane, use the `unit` parameter in the `control_plane_config` section instead. // // The subscription duration of master nodes. This parameter takes effect and is required only when `master_instance_charge_type` is set to `PrePaid`. // // Valid values: 1, 2, 3, 6, 12, 24, 36, 48, and 60. // // Default value: 1. // // example: // // 1 MasterPeriod *int64 `json:"master_period,omitempty" xml:"master_period,omitempty"` // Deprecated // // [**Deprecated**] When you configure the control plane, use the `period_unit` parameter in the `control_plane_config` section instead. // // The billing cycle of the master nodes in the cluster. This parameter is required if master_instance_charge_type is set to `PrePaid`. // // Valid value: `Month`, which indicates that master nodes are billed only on a monthly basis. // // example: // // Month MasterPeriodUnit *string `json:"master_period_unit,omitempty" xml:"master_period_unit,omitempty"` // Deprecated // // [**Deprecated**] When you configure the control plane, use the `system_disk_category` parameter in the `control_plane_config` section instead. // // The system disk category of master nodes. Valid values: // // - `cloud_efficiency`: ultra disk. // // - `cloud_ssd`: standard SSD. // // - `cloud_essd`: Enterprise SSD (ESSD). // // Default value: `cloud_ssd`. The default value may vary in different zones. // // example: // // cloud_ssd MasterSystemDiskCategory *string `json:"master_system_disk_category,omitempty" xml:"master_system_disk_category,omitempty"` // Deprecated // // [**Deprecated**] When you configure the control plane, use the `system_disk_performance_level` parameter in the `control_plane_config` section instead. // // 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](https://help.aliyun.com/document_detail/122389.html). // // example: // // PL1 MasterSystemDiskPerformanceLevel *string `json:"master_system_disk_performance_level,omitempty" xml:"master_system_disk_performance_level,omitempty"` // Deprecated // // [**Deprecated**] When you configure the control plane, use the `system_disk_disk` parameter in the `control_plane_config` section instead. // // The system disk size of master nodes. Valid values: 40 to 500. Unit: GiB. // // Default value: `120`. // // example: // // 120 MasterSystemDiskSize *int64 `json:"master_system_disk_size,omitempty" xml:"master_system_disk_size,omitempty"` // Deprecated // // [**Deprecated**] When you configure the control plane, use the `system_disk_snapshot_policy_id` parameter in the `control_plane_config` section instead. // // The ID of the automatic snapshot policy that is used by the system disk specified for master nodes. // // example: // // sp-2zej1nogjvovnz4z**** MasterSystemDiskSnapshotPolicyId *string `json:"master_system_disk_snapshot_policy_id,omitempty" xml:"master_system_disk_snapshot_policy_id,omitempty"` // Deprecated // // [**Deprecated**] Use the `vswitch_ids` parameter instead. // // 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 the value of the `master_count` parameter and also the same as the number of vSwitches specified in the `master_vswitch_ids` parameter. MasterVswitchIds []*string `json:"master_vswitch_ids,omitempty" xml:"master_vswitch_ids,omitempty" type:"Repeated"` // 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 (-). // // This parameter is required. // // example: // // cluster-demo Name *string `json:"name,omitempty" xml:"name,omitempty"` // [Deprecated] Use the `snat_entry` parameter instead. // // example: // // true NatGateway *bool `json:"nat_gateway,omitempty" xml:"nat_gateway,omitempty"` // The maximum number of IP addresses that can be assigned to each node. This number is determined by the subnet mask of the specified CIDR block. This parameter takes effect only if the cluster uses the Flannel plug-in. // // Default value: `26`. // // example: // // 25 NodeCidrMask *string `json:"node_cidr_mask,omitempty" xml:"node_cidr_mask,omitempty"` // Deprecated // // [**Deprecated**] When you configure a node pool, use the `node_name_mode` parameter of the `kubernetes_config` field in the `nodepool` section instead. // // The custom node name. // // 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 (-), 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 aliyun.com00055test. // // example: // // 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`. // // example: // // 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 // // [**Deprecated**] When you configure a node pool, use the `desired_size` parameter of the `scaling_group` field in the `nodepool` section instead. // // The number of worker nodes. Valid values: 0 to 100. // // example: // // 3 NumOfNodes *int64 `json:"num_of_nodes,omitempty" xml:"num_of_nodes,omitempty"` // The automatic O\\&M policy of the cluster. OperationPolicy *CreateClusterRequestOperationPolicy `json:"operation_policy,omitempty" xml:"operation_policy,omitempty" type:"Struct"` // Deprecated // // [**Deprecated**] When you configure the control plane, use the `image_type` parameter in the `control_plane_config` section instead. When you configure a node pool, use the `image_type` parameter of the `scaling_group` field in the `nodepool` section instead. // // The type of OS. Valid values: // // - Windows // // - Linux // // Default value: `Linux`. // // example: // // Linux OsType *string `json:"os_type,omitempty" xml:"os_type,omitempty"` // Deprecated // // [**Deprecated**] // // The subscription duration. This parameter takes effect and is required only when you set charge_type to PrePaid. // // Valid values: 1, 2, 3, 6, 12, 24, 36, 48, and 60. // // Default value: 1. // // This parameter was changed on October 15, 2024. For more information, see [Announcement on changes to the parameter behavior of the CreateCluster operation](https://help.aliyun.com/document_detail/2849194.html). // // example: // // FY2023 Period *int64 `json:"period,omitempty" xml:"period,omitempty"` // Deprecated // // [**Deprecated**] // // The billing cycle. This parameter is required if charge_type is set to PrePaid. // // Valid value: Month, which indicates that resources are billed only on a monthly basis. // // This parameter was changed on October 15, 2024. For more information, see [Announcement on changes to the parameter behavior of the CreateCluster operation](https://help.aliyun.com/document_detail/2849194.html). // // example: // // Month PeriodUnit *string `json:"period_unit,omitempty" xml:"period_unit,omitempty"` // Deprecated // // [**Deprecated**] When you configure a node pool, use the `platform` parameter of the `scaling_group` field in the `nodepool` section instead. // // The OS distribution that is used. Valid values: // // - CentOS // // - AliyunLinux // // - QbootAliyunLinux // // - Qboot // // - Windows // // - WindowsCore // // Default value: `CentOS`. // // example: // // CentOS Platform *string `json:"platform,omitempty" xml:"platform,omitempty"` // If you select Terway as the network plug-in, you must allocate vSwitches to pods. For each vSwitch that allocates IP addresses to worker nodes, you must select a vSwitch in the same zone to allocate IP addresses to pods. // // > We recommend that you select pod vSwitches whose subnet masks do not exceed 19 bits in length. The maximum subnet mask length of a pod vSwitch is 25 bits. If you select a pod vSwitch whose subnet mask exceeds 25 bits in length, the IP addresses that can be allocated to pods may be insufficient. 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. // // example: // // Default Profile *string `json:"profile,omitempty" xml:"profile,omitempty"` // The kube-proxy mode. Valid values: // // - `iptables`: a mature and stable mode that 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`: a mode that provides high performance and uses IP Virtual Server (IPVS) to conduct service discovery and load balancing. This mode is suitable for clusters that run a large number of Services. We recommend that you use this mode in scenarios that require high-performance load balancing. // // Default value: `ipvs`. // // example: // // ipvs ProxyMode *string `json:"proxy_mode,omitempty" xml:"proxy_mode,omitempty"` // Deprecated // // [**Deprecated**] When you configure a node pool, use the `rds_instances` parameter of the `scaling_group` field in the `nodepool` section instead. // // The ApsaraDB RDS instances. The pod CIDR block and node CIDR block are added to the whitelists of the ApsaraDB RDS instances. We recommend that you add the pod CIDR block and node CIDR block to the whitelists of the ApsaraDB RDS instances in the ApsaraDB RDS console. If the RDS instances are not in the Running state, new nodes cannot be added to the cluster. RdsInstances []*string `json:"rds_instances,omitempty" xml:"rds_instances,omitempty" type:"Repeated"` // The ID of the region in which the cluster is deployed. For more information about the regions supported by ACK, see [Regions supported by ACK](https://help.aliyun.com/document_detail/216938.html). // // This parameter is required. // // example: // // cn-beijing 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. // // example: // // rg-acfm3mkrure**** 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 [Comparison among Docker, containerd, and Sandboxed-Container](https://help.aliyun.com/document_detail/160313.html). Runtime *Runtime `json:"runtime,omitempty" xml:"runtime,omitempty"` // The ID of an existing security group. You must specify this parameter or `is_enterprise_security_group`. Cluster nodes are automatically added to the security group. // // example: // // sg-bp1bdue0qc1g7k**** SecurityGroupId *string `json:"security_group_id,omitempty" xml:"security_group_id,omitempty"` // Deprecated // // [**Deprecated**] When you configure the control plane, use the `security_hardening_os` parameter in the `control_plane_config` section instead. When you configure a node pool, use the `security_hardening_os` parameter of the `scaling_group` field in the `nodepool` section instead. // // 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`. // // example: // // 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` specifies the issuer of the `serviceaccount token`, which is specified by using the `iss` field in the `token payload`. // // For more information about `ServiceAccount`, see [Enable service account token volume projection](https://help.aliyun.com/document_detail/160384.html). // // example: // // kubernetes.default.svc ServiceAccountIssuer *string `json:"service_account_issuer,omitempty" xml:"service_account_issuer,omitempty"` // The Service CIDR block. Valid values: 10.0.0.0/16-24, 172.16-31.0.0/16-24, and 192.168.0.0/16-24. The Service CIDR block cannot overlap with the VPC CIDR block (10.1.0.0/21) or the CIDR blocks of existing clusters in the VPC. You cannot modify the Service CIDR block after the cluster is created. // // By default, the Service CIDR block is set to 172.19.0.0/20. // // This parameter is required. // // example: // // 172.21.0.0/20 ServiceCidr *string `json:"service_cidr,omitempty" xml:"service_cidr,omitempty"` // The methods for implementing service discovery in `ACK Serverless` clusters. // // - `CoreDNS`: 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 SNAT rules for the VPC in which your cluster is deployed. Valid values: // // - `true`: automatically creates a NAT gateway and configures SNAT rules. Set the value 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 also manually enable this feature after you create the cluster. For more information, see [Enable an existing ACK cluster to access the Internet](https://help.aliyun.com/document_detail/178480.html). // // Default value: `true`. // // example: // // true SnatEntry *bool `json:"snat_entry,omitempty" xml:"snat_entry,omitempty"` // Deprecated // // [**Deprecated**] When you configure the control plane, use the `soc_enabled` parameter in the `control_plane_config` section instead. When you configure a node pool, use the `soc_enabled` parameter of the `scaling_group` field in the `nodepool` section instead. // // Specifies whether to enable Multi-Level Protection Scheme (MLPS) security hardening. For more information, see [ACK security hardening based on MLPS](https://help.aliyun.com/document_detail/196148.html). // // Valid values: // // - `true`: enables MLPS security hardening. // // - `false`: disables MLPS security hardening. // // Default value: `false`. // // example: // // 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`. // // example: // // true 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"` // Deprecated // // [**Deprecated**] When you configure a node pool, use the `taints` parameter of the `kubernetes_config` field in the `nodepool` section instead. // // The taints that you want to add to nodes. Taints can be used together with tolerations to avoid scheduling pods to specific 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"` // Deprecated // // [**Deprecated**] By default, the system does not perform a rollback when the cluster fails to be created. You must manually delete the cluster that fails to be created. // // Specifies the timeout period of cluster creation. Unit: minutes. // // Default value: `60`. // // example: // // 60 TimeoutMins *int64 `json:"timeout_mins,omitempty" xml:"timeout_mins,omitempty"` // The time zone of the cluster. // // example: // // Asia/Shanghai Timezone *string `json:"timezone,omitempty" xml:"timezone,omitempty"` // The custom Certificate Authority (CA) certificate used by the cluster. // // example: // // -----BEGIN CERTIFICATE-----**** UserCa *string `json:"user_ca,omitempty" xml:"user_ca,omitempty"` // The user data of nodes. // // example: // // IyEvdXNyL2Jpbi9iYXNoCmVjaG8gIkhlbGxvIEFD**** UserData *string `json:"user_data,omitempty" xml:"user_data,omitempty"` // The virtual private cloud (VPC) in which you want to deploy the cluster. This parameter is required. // // example: // // vpc-2zeik9h3ahvv2zz95**** Vpcid *string `json:"vpcid,omitempty" xml:"vpcid,omitempty"` // The vSwitches for nodes in the cluster. This parameter is required if you create an ACK managed cluster that does not contain nodes. VswitchIds []*string `json:"vswitch_ids,omitempty" xml:"vswitch_ids,omitempty" type:"Repeated"` // Deprecated // // [**Deprecated**] When you configure a node pool, use the `auto_renew` parameter of the `scaling_group` field in the `nodepool` section instead. // // Specifies whether to enable auto-renewal for worker nodes. This parameter takes effect and is required only when `worker_instance_charge_type` is set to `PrePaid`. Valid values: // // - `true`: enables auto-renewal. // // - `false`: disables auto-renewal. // // Default value: `true`. // // example: // // true WorkerAutoRenew *bool `json:"worker_auto_renew,omitempty" xml:"worker_auto_renew,omitempty"` // Deprecated // // [**Deprecated**] When you configure a node pool, use the `auto_renew_period` parameter of the `scaling_group` field in the `nodepool` section instead. // // The auto-renewal duration of worker nodes. 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. // // example: // // 1 WorkerAutoRenewPeriod *int64 `json:"worker_auto_renew_period,omitempty" xml:"worker_auto_renew_period,omitempty"` // Deprecated // // [**Deprecated**] When you configure a node pool, use the `data_disks` parameter of the `scaling_group` field in the `nodepool` section instead. // // The configurations of the data disks that you want to mount to worker nodes. The configurations include the disk category and disk size. WorkerDataDisks []*CreateClusterRequestWorkerDataDisks `json:"worker_data_disks,omitempty" xml:"worker_data_disks,omitempty" type:"Repeated"` // Deprecated // // [**Deprecated**] When you configure a node pool, use the `instance_charge_type` parameter of the `scaling_group` field in the `nodepool` section instead. // // The billing method of worker nodes. Valid values: // // - `PrePaid`: subscription. // // - `PostPaid`: pay-as-you-go. // // Default value: PostPaid. // // example: // // PrePaid WorkerInstanceChargeType *string `json:"worker_instance_charge_type,omitempty" xml:"worker_instance_charge_type,omitempty"` // Deprecated // // [**Deprecated**] When you configure a node pool, use the `instance_types` parameter of the `scaling_group` field in the `nodepool` section instead. // // The instance configurations of worker nodes. WorkerInstanceTypes []*string `json:"worker_instance_types,omitempty" xml:"worker_instance_types,omitempty" type:"Repeated"` // Deprecated // // [**Deprecated**] When you configure a node pool, use the `period` parameter of the `scaling_group` field in the `nodepool` section instead. // // The subscription duration of worker nodes. This parameter takes effect and is required only when `worker_instance_charge_type` is set to `PrePaid`. // // Valid values: 1, 2, 3, 6, 12, 24, 36, 48, and 60. // // Default value: 1. // // example: // // 1 WorkerPeriod *int64 `json:"worker_period,omitempty" xml:"worker_period,omitempty"` // Deprecated // // [**Deprecated**] When you configure a node pool, use the `period_unit` parameter of the `scaling_group` field in the `nodepool` section instead. // // The billing cycle of worker nodes. This parameter is required if worker_instance_charge_type is set to `PrePaid`. // // Valid value: `Month`, which indicates that worker nodes are billed only on a monthly basis. // // example: // // Month WorkerPeriodUnit *string `json:"worker_period_unit,omitempty" xml:"worker_period_unit,omitempty"` // Deprecated // // [**Deprecated**] When you configure a node pool, use the `system_disk_category` parameter of the `scaling_group` field in the `nodepool` section instead. // // The system disk category of worker nodes. For more information, see [Elastic Block Storage devices](https://help.aliyun.com/document_detail/63136.html). // // Valid values: // // - `cloud_efficiency`: ultra disk. // // - `cloud_ssd`: standard SSD. // // Default value: `cloud_ssd`. // // example: // // cloud_efficiency WorkerSystemDiskCategory *string `json:"worker_system_disk_category,omitempty" xml:"worker_system_disk_category,omitempty"` // Deprecated // // [**Deprecated**] When you configure a node pool, use the `system_disk_performance_level` parameter of the `scaling_group` field in the `nodepool` section instead. // // If the system disk is an ESSD, you can specify the PL of the ESSD. For more information, see [Enterprise SSDs](https://help.aliyun.com/document_detail/122389.html). // // Valid values: // // - PL0 // // - PL1 // // - PL2 // // - PL3 // // example: // // PL1 WorkerSystemDiskPerformanceLevel *string `json:"worker_system_disk_performance_level,omitempty" xml:"worker_system_disk_performance_level,omitempty"` // Deprecated // // [**Deprecated**] When you configure a node pool, use the `system_disk_size` parameter of the `scaling_group` field in the `nodepool` section instead. // // 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 greater than or equal to the image size. // // Default value: `120`. // // example: // // 120 WorkerSystemDiskSize *int64 `json:"worker_system_disk_size,omitempty" xml:"worker_system_disk_size,omitempty"` // Deprecated // // [**Deprecated**] When you configure a node pool, use the `system_disk_snapshot_policy_id` parameter of the `scaling_group` field in the `nodepool` section instead. // // The ID of the automatic snapshot policy that is used by the system disk specified for worker nodes. // // example: // // sp-2zej1nogjvovnz4z**** WorkerSystemDiskSnapshotPolicyId *string `json:"worker_system_disk_snapshot_policy_id,omitempty" xml:"worker_system_disk_snapshot_policy_id,omitempty"` // Deprecated // // [**Deprecated**] When you configure a node pool, use the `vswitch_ids` parameter of the `scaling_group` field in the `nodepool` section instead. // // The vSwitches for worker nodes. Each worker node is allocated a vSwitch. // // `worker_vswitch_ids` is optional, but `vswitch_ids` is required if 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"` // Deprecated // // [Deprecated] Use the `zone_ids` parameter instead. // // The ID of the zone to which the cluster belongs. This parameter is specific to ACK Serverless clusters. // // When you create an ACK managed cluster, you must set the `zone_id` parameter if `vpc_id` and `vswitch_ids` are not specified. This way, the system automatically creates a VPC in the specified zone. This parameter is invalid if you specify the `vpc_id` and `vswitch_ids` parameters. // // example: // // cn-beiji**** ZoneId *string `json:"zone_id,omitempty" xml:"zone_id,omitempty"` // The IDs of the zone in which the cluster is deployed. This parameter is specific to ACK managed clusters. // // When you create an ACK managed cluster, you must set the `zone_id` parameter if `vpc_id` and `vswitch_ids` are not specified. This way, the system automatically creates a VPC in the specified zone. This parameter is invalid if you specify the `vpc_id` and `vswitch_ids` parameters. ZoneIds []*string `json:"zone_ids,omitempty" xml:"zone_ids,omitempty" type:"Repeated"` }
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) SetAutoRenew ¶ added in v5.7.5
func (s *CreateClusterRequest) SetAutoRenew(v bool) *CreateClusterRequest
func (*CreateClusterRequest) SetAutoRenewPeriod ¶ added in v5.7.5
func (s *CreateClusterRequest) SetAutoRenewPeriod(v int64) *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) SetControlPlaneConfig ¶ added in v5.8.1
func (s *CreateClusterRequest) SetControlPlaneConfig(v *CreateClusterRequestControlPlaneConfig) *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 (s *CreateClusterRequest) SetImageId(v string) *CreateClusterRequest
func (*CreateClusterRequest) SetImageType ¶
func (s *CreateClusterRequest) SetImageType(v string) *CreateClusterRequest
func (*CreateClusterRequest) SetInstances ¶
func (s *CreateClusterRequest) SetInstances(v []*string) *CreateClusterRequest
func (*CreateClusterRequest) SetIpStack ¶
func (s *CreateClusterRequest) SetIpStack(v string) *CreateClusterRequest
func (*CreateClusterRequest) SetIsEnterpriseSecurityGroup ¶
func (s *CreateClusterRequest) SetIsEnterpriseSecurityGroup(v bool) *CreateClusterRequest
func (*CreateClusterRequest) SetKeepInstanceName ¶
func (s *CreateClusterRequest) SetKeepInstanceName(v bool) *CreateClusterRequest
func (*CreateClusterRequest) SetKeyPair ¶
func (s *CreateClusterRequest) SetKeyPair(v string) *CreateClusterRequest
func (*CreateClusterRequest) SetKubernetesVersion ¶
func (s *CreateClusterRequest) SetKubernetesVersion(v string) *CreateClusterRequest
func (*CreateClusterRequest) SetLoadBalancerId ¶ added in v5.7.4
func (s *CreateClusterRequest) SetLoadBalancerId(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) SetMaintenanceWindow ¶ added in v5.7.8
func (s *CreateClusterRequest) SetMaintenanceWindow(v *MaintenanceWindow) *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 (s *CreateClusterRequest) SetName(v string) *CreateClusterRequest
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) SetOperationPolicy ¶ added in v5.7.8
func (s *CreateClusterRequest) SetOperationPolicy(v *CreateClusterRequestOperationPolicy) *CreateClusterRequest
func (*CreateClusterRequest) SetOsType ¶
func (s *CreateClusterRequest) SetOsType(v string) *CreateClusterRequest
func (*CreateClusterRequest) SetPeriod ¶
func (s *CreateClusterRequest) SetPeriod(v int64) *CreateClusterRequest
func (*CreateClusterRequest) SetPeriodUnit ¶
func (s *CreateClusterRequest) SetPeriodUnit(v string) *CreateClusterRequest
func (*CreateClusterRequest) SetPlatform ¶
func (s *CreateClusterRequest) SetPlatform(v string) *CreateClusterRequest
func (*CreateClusterRequest) SetPodVswitchIds ¶
func (s *CreateClusterRequest) SetPodVswitchIds(v []*string) *CreateClusterRequest
func (*CreateClusterRequest) SetProfile ¶
func (s *CreateClusterRequest) SetProfile(v string) *CreateClusterRequest
func (*CreateClusterRequest) SetProxyMode ¶
func (s *CreateClusterRequest) SetProxyMode(v string) *CreateClusterRequest
func (*CreateClusterRequest) SetRdsInstances ¶
func (s *CreateClusterRequest) SetRdsInstances(v []*string) *CreateClusterRequest
func (*CreateClusterRequest) SetRegionId ¶
func (s *CreateClusterRequest) SetRegionId(v string) *CreateClusterRequest
func (*CreateClusterRequest) SetResourceGroupId ¶
func (s *CreateClusterRequest) SetResourceGroupId(v string) *CreateClusterRequest
func (*CreateClusterRequest) SetRuntime ¶
func (s *CreateClusterRequest) SetRuntime(v *Runtime) *CreateClusterRequest
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 (s *CreateClusterRequest) SetTimezone(v string) *CreateClusterRequest
func (*CreateClusterRequest) SetUserCa ¶
func (s *CreateClusterRequest) SetUserCa(v string) *CreateClusterRequest
func (*CreateClusterRequest) SetUserData ¶
func (s *CreateClusterRequest) SetUserData(v string) *CreateClusterRequest
func (*CreateClusterRequest) SetVpcid ¶
func (s *CreateClusterRequest) SetVpcid(v string) *CreateClusterRequest
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 (s *CreateClusterRequest) SetWorkerDataDisks(v []*CreateClusterRequestWorkerDataDisks) *CreateClusterRequest
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 (s *CreateClusterRequest) SetZoneId(v string) *CreateClusterRequest
func (*CreateClusterRequest) SetZoneIds ¶ added in v5.7.5
func (s *CreateClusterRequest) SetZoneIds(v []*string) *CreateClusterRequest
func (CreateClusterRequest) String ¶
func (s CreateClusterRequest) String() string
type CreateClusterRequestControlPlaneConfig ¶ added in v5.8.1
type CreateClusterRequestControlPlaneConfig struct { // Specifies whether to enable auto-renewal for the node. // // example: // // true AutoRenew *bool `json:"auto_renew,omitempty" xml:"auto_renew,omitempty"` // The auto-renewal duration for the node. // // example: // // 1 AutoRenewPeriod *int64 `json:"auto_renew_period,omitempty" xml:"auto_renew_period,omitempty"` // The billing method of the node. // // example: // // PrePaid ChargeType *string `json:"charge_type,omitempty" xml:"charge_type,omitempty"` // Specifies whether to install CloudMonitor on the node. // // example: // // true CloudMonitorFlags *bool `json:"cloud_monitor_flags,omitempty" xml:"cloud_monitor_flags,omitempty"` // The CPU management policy of the node. // // example: // // none CpuPolicy *string `json:"cpu_policy,omitempty" xml:"cpu_policy,omitempty"` // The ID of the deployment set. // // example: // // ds-bp10b35imuam5amw**** DeploymentsetId *string `json:"deploymentset_id,omitempty" xml:"deploymentset_id,omitempty"` // The image ID. // // example: // // aliyun_3_x64_20G_alibase_20240819.vhd ImageId *string `json:"image_id,omitempty" xml:"image_id,omitempty"` // The type of the OS image. // // example: // // AliyunLinux3 ImageType *string `json:"image_type,omitempty" xml:"image_type,omitempty"` // The instance types of the nodes. InstanceTypes []*string `json:"instance_types,omitempty" xml:"instance_types,omitempty" type:"Repeated"` // The name of the key pair. You must set this parameter or login_password. // // example: // // ack KeyPair *string `json:"key_pair,omitempty" xml:"key_pair,omitempty"` // The SSH logon password. The password must be 8 to 30 characters in length and contain a minimum of three of the following character types: uppercase letters, lowercase letters, digits, and special characters. You must set this parameter or key_pair. // // example: // // ack@Test LoginPassword *string `json:"login_password,omitempty" xml:"login_password,omitempty"` // The node port range. // // example: // // 30000-32767 NodePortRange *string `json:"node_port_range,omitempty" xml:"node_port_range,omitempty"` // The subscription duration of the node. // // example: // // 1 Period *int64 `json:"period,omitempty" xml:"period,omitempty"` // The unit of the subscription duration of the node. // // example: // // Month PeriodUnit *string `json:"period_unit,omitempty" xml:"period_unit,omitempty"` // The container runtime. // // example: // // containerd Runtime *string `json:"runtime,omitempty" xml:"runtime,omitempty"` // Specifies whether to enable Alibaba Cloud Linux Security Hardening. // // example: // // true SecurityHardeningOs *bool `json:"security_hardening_os,omitempty" xml:"security_hardening_os,omitempty"` // The number of control plane nodes. // // example: // // 3 Size *int64 `json:"size,omitempty" xml:"size,omitempty"` // Specifies whether to enable MLPS security hardening. // // example: // // true SocEnabled *bool `json:"soc_enabled,omitempty" xml:"soc_enabled,omitempty"` // Specifies whether to enable the burst feature for the system disk. // // example: // // true SystemDiskBurstingEnabled *bool `json:"system_disk_bursting_enabled,omitempty" xml:"system_disk_bursting_enabled,omitempty"` // The system disk category for the node. // // example: // // cloud_essd SystemDiskCategory *string `json:"system_disk_category,omitempty" xml:"system_disk_category,omitempty"` // The PL of the system disk that you want to use for the node. This parameter takes effect only for ESSDs. // // example: // // PL1 SystemDiskPerformanceLevel *string `json:"system_disk_performance_level,omitempty" xml:"system_disk_performance_level,omitempty"` // The preset read/write IOPS of the system disk. // // example: // // 1000 SystemDiskProvisionedIops *int64 `json:"system_disk_provisioned_iops,omitempty" xml:"system_disk_provisioned_iops,omitempty"` // The system disk size of the node. The value must be at least 40 GB. // // example: // // 120 SystemDiskSize *int64 `json:"system_disk_size,omitempty" xml:"system_disk_size,omitempty"` // The automatic snapshot policy of the node. // // example: // // sp-2zej1nogjvovnz4z**** SystemDiskSnapshotPolicyId *string `json:"system_disk_snapshot_policy_id,omitempty" xml:"system_disk_snapshot_policy_id,omitempty"` }
func (CreateClusterRequestControlPlaneConfig) GoString ¶ added in v5.8.1
func (s CreateClusterRequestControlPlaneConfig) GoString() string
func (*CreateClusterRequestControlPlaneConfig) SetAutoRenew ¶ added in v5.8.1
func (s *CreateClusterRequestControlPlaneConfig) SetAutoRenew(v bool) *CreateClusterRequestControlPlaneConfig
func (*CreateClusterRequestControlPlaneConfig) SetAutoRenewPeriod ¶ added in v5.8.1
func (s *CreateClusterRequestControlPlaneConfig) SetAutoRenewPeriod(v int64) *CreateClusterRequestControlPlaneConfig
func (*CreateClusterRequestControlPlaneConfig) SetChargeType ¶ added in v5.8.1
func (s *CreateClusterRequestControlPlaneConfig) SetChargeType(v string) *CreateClusterRequestControlPlaneConfig
func (*CreateClusterRequestControlPlaneConfig) SetCloudMonitorFlags ¶ added in v5.8.1
func (s *CreateClusterRequestControlPlaneConfig) SetCloudMonitorFlags(v bool) *CreateClusterRequestControlPlaneConfig
func (*CreateClusterRequestControlPlaneConfig) SetCpuPolicy ¶ added in v5.8.1
func (s *CreateClusterRequestControlPlaneConfig) SetCpuPolicy(v string) *CreateClusterRequestControlPlaneConfig
func (*CreateClusterRequestControlPlaneConfig) SetDeploymentsetId ¶ added in v5.8.1
func (s *CreateClusterRequestControlPlaneConfig) SetDeploymentsetId(v string) *CreateClusterRequestControlPlaneConfig
func (*CreateClusterRequestControlPlaneConfig) SetImageId ¶ added in v5.8.1
func (s *CreateClusterRequestControlPlaneConfig) SetImageId(v string) *CreateClusterRequestControlPlaneConfig
func (*CreateClusterRequestControlPlaneConfig) SetImageType ¶ added in v5.8.1
func (s *CreateClusterRequestControlPlaneConfig) SetImageType(v string) *CreateClusterRequestControlPlaneConfig
func (*CreateClusterRequestControlPlaneConfig) SetInstanceTypes ¶ added in v5.8.1
func (s *CreateClusterRequestControlPlaneConfig) SetInstanceTypes(v []*string) *CreateClusterRequestControlPlaneConfig
func (*CreateClusterRequestControlPlaneConfig) SetKeyPair ¶ added in v5.8.1
func (s *CreateClusterRequestControlPlaneConfig) SetKeyPair(v string) *CreateClusterRequestControlPlaneConfig
func (*CreateClusterRequestControlPlaneConfig) SetLoginPassword ¶ added in v5.8.1
func (s *CreateClusterRequestControlPlaneConfig) SetLoginPassword(v string) *CreateClusterRequestControlPlaneConfig
func (*CreateClusterRequestControlPlaneConfig) SetNodePortRange ¶ added in v5.8.1
func (s *CreateClusterRequestControlPlaneConfig) SetNodePortRange(v string) *CreateClusterRequestControlPlaneConfig
func (*CreateClusterRequestControlPlaneConfig) SetPeriod ¶ added in v5.8.1
func (s *CreateClusterRequestControlPlaneConfig) SetPeriod(v int64) *CreateClusterRequestControlPlaneConfig
func (*CreateClusterRequestControlPlaneConfig) SetPeriodUnit ¶ added in v5.8.1
func (s *CreateClusterRequestControlPlaneConfig) SetPeriodUnit(v string) *CreateClusterRequestControlPlaneConfig
func (*CreateClusterRequestControlPlaneConfig) SetRuntime ¶ added in v5.8.1
func (s *CreateClusterRequestControlPlaneConfig) SetRuntime(v string) *CreateClusterRequestControlPlaneConfig
func (*CreateClusterRequestControlPlaneConfig) SetSecurityHardeningOs ¶ added in v5.8.1
func (s *CreateClusterRequestControlPlaneConfig) SetSecurityHardeningOs(v bool) *CreateClusterRequestControlPlaneConfig
func (*CreateClusterRequestControlPlaneConfig) SetSize ¶ added in v5.8.1
func (s *CreateClusterRequestControlPlaneConfig) SetSize(v int64) *CreateClusterRequestControlPlaneConfig
func (*CreateClusterRequestControlPlaneConfig) SetSocEnabled ¶ added in v5.8.1
func (s *CreateClusterRequestControlPlaneConfig) SetSocEnabled(v bool) *CreateClusterRequestControlPlaneConfig
func (*CreateClusterRequestControlPlaneConfig) SetSystemDiskBurstingEnabled ¶ added in v5.8.1
func (s *CreateClusterRequestControlPlaneConfig) SetSystemDiskBurstingEnabled(v bool) *CreateClusterRequestControlPlaneConfig
func (*CreateClusterRequestControlPlaneConfig) SetSystemDiskCategory ¶ added in v5.8.1
func (s *CreateClusterRequestControlPlaneConfig) SetSystemDiskCategory(v string) *CreateClusterRequestControlPlaneConfig
func (*CreateClusterRequestControlPlaneConfig) SetSystemDiskPerformanceLevel ¶ added in v5.8.1
func (s *CreateClusterRequestControlPlaneConfig) SetSystemDiskPerformanceLevel(v string) *CreateClusterRequestControlPlaneConfig
func (*CreateClusterRequestControlPlaneConfig) SetSystemDiskProvisionedIops ¶ added in v5.8.1
func (s *CreateClusterRequestControlPlaneConfig) SetSystemDiskProvisionedIops(v int64) *CreateClusterRequestControlPlaneConfig
func (*CreateClusterRequestControlPlaneConfig) SetSystemDiskSize ¶ added in v5.8.1
func (s *CreateClusterRequestControlPlaneConfig) SetSystemDiskSize(v int64) *CreateClusterRequestControlPlaneConfig
func (*CreateClusterRequestControlPlaneConfig) SetSystemDiskSnapshotPolicyId ¶ added in v5.8.1
func (s *CreateClusterRequestControlPlaneConfig) SetSystemDiskSnapshotPolicyId(v string) *CreateClusterRequestControlPlaneConfig
func (CreateClusterRequestControlPlaneConfig) String ¶ added in v5.8.1
func (s CreateClusterRequestControlPlaneConfig) String() string
type CreateClusterRequestOperationPolicy ¶ added in v5.7.8
type CreateClusterRequestOperationPolicy struct { // The configurations of auto cluster upgrade. ClusterAutoUpgrade *CreateClusterRequestOperationPolicyClusterAutoUpgrade `json:"cluster_auto_upgrade,omitempty" xml:"cluster_auto_upgrade,omitempty" type:"Struct"` }
func (CreateClusterRequestOperationPolicy) GoString ¶ added in v5.7.8
func (s CreateClusterRequestOperationPolicy) GoString() string
func (*CreateClusterRequestOperationPolicy) SetClusterAutoUpgrade ¶ added in v5.7.8
func (s *CreateClusterRequestOperationPolicy) SetClusterAutoUpgrade(v *CreateClusterRequestOperationPolicyClusterAutoUpgrade) *CreateClusterRequestOperationPolicy
func (CreateClusterRequestOperationPolicy) String ¶ added in v5.7.8
func (s CreateClusterRequestOperationPolicy) String() string
type CreateClusterRequestOperationPolicyClusterAutoUpgrade ¶ added in v5.7.8
type CreateClusterRequestOperationPolicyClusterAutoUpgrade struct { // The automatic update frequency. Valid values: // // - patch // // - stable // // - rapid // // example: // // patch Channel *string `json:"channel,omitempty" xml:"channel,omitempty"` // Specifies whether to enable auto cluster update. // // example: // // true Enabled *bool `json:"enabled,omitempty" xml:"enabled,omitempty"` }
func (CreateClusterRequestOperationPolicyClusterAutoUpgrade) GoString ¶ added in v5.7.8
func (s CreateClusterRequestOperationPolicyClusterAutoUpgrade) GoString() string
func (*CreateClusterRequestOperationPolicyClusterAutoUpgrade) SetChannel ¶ added in v5.7.8
func (*CreateClusterRequestOperationPolicyClusterAutoUpgrade) SetEnabled ¶ added in v5.7.8
func (CreateClusterRequestOperationPolicyClusterAutoUpgrade) String ¶ added in v5.7.8
func (s CreateClusterRequestOperationPolicyClusterAutoUpgrade) String() string
type CreateClusterRequestWorkerDataDisks ¶
type CreateClusterRequestWorkerDataDisks struct { // The data disk category. // // This parameter is required. // // example: // // cloud_essd 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`. // // example: // // true 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 [Enterprise SSDs](https://help.aliyun.com/document_detail/122389.html). // // example: // // PL1 PerformanceLevel *string `json:"performance_level,omitempty" xml:"performance_level,omitempty"` // The data disk size. Valid values: 40 to 32767. Unit: GiB. // // This parameter is required. // // example: // // 120 Size *string `json:"size,omitempty" xml:"size,omitempty"` }
func (CreateClusterRequestWorkerDataDisks) GoString ¶
func (s CreateClusterRequestWorkerDataDisks) GoString() string
func (*CreateClusterRequestWorkerDataDisks) SetCategory ¶
func (s *CreateClusterRequestWorkerDataDisks) SetCategory(v string) *CreateClusterRequestWorkerDataDisks
func (*CreateClusterRequestWorkerDataDisks) SetEncrypted ¶
func (s *CreateClusterRequestWorkerDataDisks) SetEncrypted(v string) *CreateClusterRequestWorkerDataDisks
func (*CreateClusterRequestWorkerDataDisks) SetPerformanceLevel ¶
func (s *CreateClusterRequestWorkerDataDisks) SetPerformanceLevel(v string) *CreateClusterRequestWorkerDataDisks
func (*CreateClusterRequestWorkerDataDisks) SetSize ¶
func (s *CreateClusterRequestWorkerDataDisks) SetSize(v string) *CreateClusterRequestWorkerDataDisks
func (CreateClusterRequestWorkerDataDisks) String ¶
func (s CreateClusterRequestWorkerDataDisks) String() 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 (s *CreateClusterResponse) SetBody(v *CreateClusterResponseBody) *CreateClusterResponse
func (*CreateClusterResponse) SetHeaders ¶
func (s *CreateClusterResponse) SetHeaders(v map[string]*string) *CreateClusterResponse
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. // // example: // // cb95aa626a47740afbf6aa099b650**** ClusterId *string `json:"cluster_id,omitempty" xml:"cluster_id,omitempty"` // The request ID. // // example: // // 687C5BAA-D103-4993-884B-C35E4314A1E1 RequestId *string `json:"request_id,omitempty" xml:"request_id,omitempty"` // The task ID. // // example: // // T-5a54309c80282e39ea00002f TaskId *string `json:"task_id,omitempty" xml:"task_id,omitempty"` }
func (CreateClusterResponseBody) GoString ¶
func (s CreateClusterResponseBody) GoString() string
func (*CreateClusterResponseBody) SetClusterId ¶
func (s *CreateClusterResponseBody) SetClusterId(v string) *CreateClusterResponseBody
func (*CreateClusterResponseBody) SetRequestId ¶
func (s *CreateClusterResponseBody) SetRequestId(v string) *CreateClusterResponseBody
func (*CreateClusterResponseBody) SetTaskId ¶
func (s *CreateClusterResponseBody) SetTaskId(v string) *CreateClusterResponseBody
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. // // This parameter is required. // // example: // // ACK-B-B010-**** Hostname *string `json:"hostname,omitempty" xml:"hostname,omitempty"` // The model of the cloud-native box. // // This parameter is required. // // example: // // ACK-V-B010 Model *string `json:"model,omitempty" xml:"model,omitempty"` // The serial number of the cloud-native box. // // This parameter is required. // // example: // // Q2CB5XZAFBFG**** Sn *string `json:"sn,omitempty" xml:"sn,omitempty"` }
func (CreateEdgeMachineRequest) GoString ¶
func (s CreateEdgeMachineRequest) GoString() string
func (*CreateEdgeMachineRequest) SetHostname ¶
func (s *CreateEdgeMachineRequest) SetHostname(v string) *CreateEdgeMachineRequest
func (*CreateEdgeMachineRequest) SetModel ¶
func (s *CreateEdgeMachineRequest) SetModel(v string) *CreateEdgeMachineRequest
func (*CreateEdgeMachineRequest) SetSn ¶
func (s *CreateEdgeMachineRequest) SetSn(v string) *CreateEdgeMachineRequest
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 (s *CreateEdgeMachineResponse) SetBody(v *CreateEdgeMachineResponseBody) *CreateEdgeMachineResponse
func (*CreateEdgeMachineResponse) SetHeaders ¶
func (s *CreateEdgeMachineResponse) SetHeaders(v map[string]*string) *CreateEdgeMachineResponse
func (*CreateEdgeMachineResponse) SetStatusCode ¶
func (s *CreateEdgeMachineResponse) SetStatusCode(v int32) *CreateEdgeMachineResponse
func (CreateEdgeMachineResponse) String ¶
func (s CreateEdgeMachineResponse) String() string
type CreateEdgeMachineResponseBody ¶
type CreateEdgeMachineResponseBody struct { // The ID of the cloud-native box. // // example: // // cc0725ddf688744979cd98445f67e**** EdgeMachineId *string `json:"edge_machine_id,omitempty" xml:"edge_machine_id,omitempty"` // The request ID. // // example: // // "request_id": "6e7b377a-c5ed-4388-8026-689e1b34****", RequestId *string `json:"request_id,omitempty" xml:"request_id,omitempty"` }
func (CreateEdgeMachineResponseBody) GoString ¶
func (s CreateEdgeMachineResponseBody) GoString() string
func (*CreateEdgeMachineResponseBody) SetEdgeMachineId ¶
func (s *CreateEdgeMachineResponseBody) SetEdgeMachineId(v string) *CreateEdgeMachineResponseBody
func (*CreateEdgeMachineResponseBody) SetRequestId ¶
func (s *CreateEdgeMachineResponseBody) SetRequestId(v string) *CreateEdgeMachineResponseBody
func (CreateEdgeMachineResponseBody) String ¶
func (s CreateEdgeMachineResponseBody) String() 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`. // // This parameter is required. // // example: // // redeploy Action *string `json:"action,omitempty" xml:"action,omitempty"` // The cluster ID. // // This parameter is required. // // example: // // c5cdf7e3938bc4f8eb0e44b21a80f**** 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`. // // This parameter is required. // // 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`. // // example: // // deployment Type *string `json:"type,omitempty" xml:"type,omitempty"` }
func (CreateKubernetesTriggerRequest) GoString ¶
func (s CreateKubernetesTriggerRequest) GoString() string
func (*CreateKubernetesTriggerRequest) SetAction ¶
func (s *CreateKubernetesTriggerRequest) SetAction(v string) *CreateKubernetesTriggerRequest
func (*CreateKubernetesTriggerRequest) SetClusterId ¶
func (s *CreateKubernetesTriggerRequest) SetClusterId(v string) *CreateKubernetesTriggerRequest
func (*CreateKubernetesTriggerRequest) SetProjectId ¶
func (s *CreateKubernetesTriggerRequest) SetProjectId(v string) *CreateKubernetesTriggerRequest
func (*CreateKubernetesTriggerRequest) SetType ¶
func (s *CreateKubernetesTriggerRequest) SetType(v string) *CreateKubernetesTriggerRequest
func (CreateKubernetesTriggerRequest) String ¶
func (s CreateKubernetesTriggerRequest) String() 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 (s CreateKubernetesTriggerResponse) GoString() string
func (*CreateKubernetesTriggerResponse) SetBody ¶
func (s *CreateKubernetesTriggerResponse) SetBody(v *CreateKubernetesTriggerResponseBody) *CreateKubernetesTriggerResponse
func (*CreateKubernetesTriggerResponse) SetHeaders ¶
func (s *CreateKubernetesTriggerResponse) SetHeaders(v map[string]*string) *CreateKubernetesTriggerResponse
func (*CreateKubernetesTriggerResponse) SetStatusCode ¶
func (s *CreateKubernetesTriggerResponse) SetStatusCode(v int32) *CreateKubernetesTriggerResponse
func (CreateKubernetesTriggerResponse) String ¶
func (s CreateKubernetesTriggerResponse) String() 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. // // example: // // redeploy Action *string `json:"action,omitempty" xml:"action,omitempty"` // The ID of the cluster. // // example: // // c5cdf7e3938bc4f8eb0e44b21a80f**** ClusterId *string `json:"cluster_id,omitempty" xml:"cluster_id,omitempty"` // The ID of the trigger. // // example: // // 111 Id *string `json:"id,omitempty" xml:"id,omitempty"` // The name of the trigger project. // // 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. // // example: // // deployment Type *string `json:"type,omitempty" xml:"type,omitempty"` }
func (CreateKubernetesTriggerResponseBody) GoString ¶
func (s CreateKubernetesTriggerResponseBody) GoString() string
func (*CreateKubernetesTriggerResponseBody) SetAction ¶
func (s *CreateKubernetesTriggerResponseBody) SetAction(v string) *CreateKubernetesTriggerResponseBody
func (*CreateKubernetesTriggerResponseBody) SetClusterId ¶
func (s *CreateKubernetesTriggerResponseBody) SetClusterId(v string) *CreateKubernetesTriggerResponseBody
func (*CreateKubernetesTriggerResponseBody) SetId ¶
func (s *CreateKubernetesTriggerResponseBody) SetId(v string) *CreateKubernetesTriggerResponseBody
func (*CreateKubernetesTriggerResponseBody) SetProjectId ¶
func (s *CreateKubernetesTriggerResponseBody) SetProjectId(v string) *CreateKubernetesTriggerResponseBody
func (*CreateKubernetesTriggerResponseBody) SetType ¶
func (s *CreateKubernetesTriggerResponseBody) SetType(v string) *CreateKubernetesTriggerResponseBody
func (CreateKubernetesTriggerResponseBody) String ¶
func (s CreateKubernetesTriggerResponseBody) String() string
type CreateTemplateRequest ¶
type CreateTemplateRequest struct { // The description of the template. // // example: // // this is test 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 (-). // // This parameter is required. // // example: // // service-account-template Name *string `json:"name,omitempty" xml:"name,omitempty"` // The label of the template. // // example: // // test Tags *string `json:"tags,omitempty" xml:"tags,omitempty"` // The template content in the YAML format. // // This parameter is required. // // example: // // apiVersion: v1\\nkind: ServiceAccount\\nmetadata:\\n name: test-sa 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`. // // example: // // kubernetes 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 (s *CreateTemplateRequest) SetName(v string) *CreateTemplateRequest
func (*CreateTemplateRequest) SetTags ¶
func (s *CreateTemplateRequest) SetTags(v string) *CreateTemplateRequest
func (*CreateTemplateRequest) SetTemplate ¶
func (s *CreateTemplateRequest) SetTemplate(v string) *CreateTemplateRequest
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 (s *CreateTemplateResponse) SetBody(v *CreateTemplateResponseBody) *CreateTemplateResponse
func (*CreateTemplateResponse) SetHeaders ¶
func (s *CreateTemplateResponse) SetHeaders(v map[string]*string) *CreateTemplateResponse
func (*CreateTemplateResponse) SetStatusCode ¶
func (s *CreateTemplateResponse) SetStatusCode(v int32) *CreateTemplateResponse
func (CreateTemplateResponse) String ¶
func (s CreateTemplateResponse) String() string
type CreateTemplateResponseBody ¶
type CreateTemplateResponseBody struct { // The ID of the orchestration template. // // example: // // ba1fe77b-b01e-4640-b77e-8f1b80e3e3cf TemplateId *string `json:"template_id,omitempty" xml:"template_id,omitempty"` }
func (CreateTemplateResponseBody) GoString ¶
func (s CreateTemplateResponseBody) GoString() string
func (*CreateTemplateResponseBody) SetTemplateId ¶
func (s *CreateTemplateResponseBody) SetTemplateId(v string) *CreateTemplateResponseBody
func (CreateTemplateResponseBody) String ¶
func (s CreateTemplateResponseBody) String() 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`. // // This parameter is required. // // example: // // redeploy Action *string `json:"action,omitempty" xml:"action,omitempty"` // The cluster ID. // // This parameter is required. // // example: // // c5cdf7e3938bc4f8eb0e44b21a80f**** 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`. // // This parameter is required. // // 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`. // // example: // // deployment Type *string `json:"type,omitempty" xml:"type,omitempty"` }
func (CreateTriggerRequest) GoString ¶
func (s CreateTriggerRequest) GoString() string
func (*CreateTriggerRequest) SetAction ¶
func (s *CreateTriggerRequest) SetAction(v string) *CreateTriggerRequest
func (*CreateTriggerRequest) SetClusterId ¶
func (s *CreateTriggerRequest) SetClusterId(v string) *CreateTriggerRequest
func (*CreateTriggerRequest) SetProjectId ¶
func (s *CreateTriggerRequest) SetProjectId(v string) *CreateTriggerRequest
func (*CreateTriggerRequest) SetType ¶
func (s *CreateTriggerRequest) SetType(v string) *CreateTriggerRequest
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 (s *CreateTriggerResponse) SetBody(v *CreateTriggerResponseBody) *CreateTriggerResponse
func (*CreateTriggerResponse) SetHeaders ¶
func (s *CreateTriggerResponse) SetHeaders(v map[string]*string) *CreateTriggerResponse
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. // // example: // // redeploy Action *string `json:"action,omitempty" xml:"action,omitempty"` // The ID of the cluster. // // example: // // c93095129fc41463aa455d89444fd**** ClusterId *string `json:"cluster_id,omitempty" xml:"cluster_id,omitempty"` // The ID of the trigger. // // example: // // 102536 Id *string `json:"id,omitempty" xml:"id,omitempty"` // The name of the trigger project. // // example: // // default/test-app ProjectId *string `json:"project_id,omitempty" xml:"project_id,omitempty"` // The type of trigger. Default value: deployment. // // example: // // deployment Type *string `json:"type,omitempty" xml:"type,omitempty"` }
func (CreateTriggerResponseBody) GoString ¶
func (s CreateTriggerResponseBody) GoString() string
func (*CreateTriggerResponseBody) SetAction ¶
func (s *CreateTriggerResponseBody) SetAction(v string) *CreateTriggerResponseBody
func (*CreateTriggerResponseBody) SetClusterId ¶
func (s *CreateTriggerResponseBody) SetClusterId(v string) *CreateTriggerResponseBody
func (*CreateTriggerResponseBody) SetId ¶
func (s *CreateTriggerResponseBody) SetId(v string) *CreateTriggerResponseBody
func (*CreateTriggerResponseBody) SetProjectId ¶
func (s *CreateTriggerResponseBody) SetProjectId(v string) *CreateTriggerResponseBody
func (*CreateTriggerResponseBody) SetType ¶
func (s *CreateTriggerResponseBody) SetType(v string) *CreateTriggerResponseBody
func (CreateTriggerResponseBody) String ¶
func (s CreateTriggerResponseBody) String() string
type DataDisk ¶
type DataDisk struct { // example: // // true AutoFormat *bool `json:"auto_format,omitempty" xml:"auto_format,omitempty"` // example: // // sp-2zej1nogjvovnz4z**** AutoSnapshotPolicyId *string `json:"auto_snapshot_policy_id,omitempty" xml:"auto_snapshot_policy_id,omitempty"` // example: // // true BurstingEnabled *bool `json:"bursting_enabled,omitempty" xml:"bursting_enabled,omitempty"` // example: // // cloud_ssd Category *string `json:"category,omitempty" xml:"category,omitempty"` // example: // // /dev/xvdb Device *string `json:"device,omitempty" xml:"device,omitempty"` // example: // // DataDiskName DiskName *string `json:"disk_name,omitempty" xml:"disk_name,omitempty"` // example: // // true Encrypted *string `json:"encrypted,omitempty" xml:"encrypted,omitempty"` // example: // // ext4 FileSystem *string `json:"file_system,omitempty" xml:"file_system,omitempty"` // example: // // 0e478b7a-4262-4802-b8cb-00d3fb40**** KmsKeyId *string `json:"kms_key_id,omitempty" xml:"kms_key_id,omitempty"` // example: // // /mnt/path1 MountTarget *string `json:"mount_target,omitempty" xml:"mount_target,omitempty"` // example: // // PL1 PerformanceLevel *string `json:"performance_level,omitempty" xml:"performance_level,omitempty"` // example: // // 1000 ProvisionedIops *int64 `json:"provisioned_iops,omitempty" xml:"provisioned_iops,omitempty"` // example: // // 40 Size *int64 `json:"size,omitempty" xml:"size,omitempty"` // example: // // s-280s7**** SnapshotId *string `json:"snapshot_id,omitempty" xml:"snapshot_id,omitempty"` }
func (*DataDisk) SetAutoFormat ¶
func (*DataDisk) SetAutoSnapshotPolicyId ¶
func (*DataDisk) SetBurstingEnabled ¶
func (*DataDisk) SetCategory ¶
func (*DataDisk) SetDiskName ¶
func (*DataDisk) SetEncrypted ¶
func (*DataDisk) SetFileSystem ¶
func (*DataDisk) SetKmsKeyId ¶
func (*DataDisk) SetMountTarget ¶
func (*DataDisk) SetPerformanceLevel ¶
func (*DataDisk) SetProvisionedIops ¶
func (*DataDisk) SetSnapshotId ¶
type DeleteAlertContactGroupRequest ¶
type DeleteAlertContactGroupRequest struct { // The list of alert contact group IDs. // // This parameter is required. ContactGroupIds []*int64 `json:"contact_group_ids,omitempty" xml:"contact_group_ids,omitempty" type:"Repeated"` }
func (DeleteAlertContactGroupRequest) GoString ¶
func (s DeleteAlertContactGroupRequest) GoString() string
func (*DeleteAlertContactGroupRequest) SetContactGroupIds ¶
func (s *DeleteAlertContactGroupRequest) SetContactGroupIds(v []*int64) *DeleteAlertContactGroupRequest
func (DeleteAlertContactGroupRequest) String ¶
func (s DeleteAlertContactGroupRequest) String() 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 (s DeleteAlertContactGroupResponse) GoString() string
func (*DeleteAlertContactGroupResponse) SetBody ¶
func (s *DeleteAlertContactGroupResponse) SetBody(v []*DeleteAlertContactGroupResponseBody) *DeleteAlertContactGroupResponse
func (*DeleteAlertContactGroupResponse) SetHeaders ¶
func (s *DeleteAlertContactGroupResponse) SetHeaders(v map[string]*string) *DeleteAlertContactGroupResponse
func (*DeleteAlertContactGroupResponse) SetStatusCode ¶
func (s *DeleteAlertContactGroupResponse) SetStatusCode(v int32) *DeleteAlertContactGroupResponse
func (DeleteAlertContactGroupResponse) String ¶
func (s DeleteAlertContactGroupResponse) String() string
type DeleteAlertContactGroupResponseBody ¶
type DeleteAlertContactGroupResponseBody struct { // The deletion status. // // - true: The alert contact group was deleted. // // - false: The alert contact group failed to be deleted. // // example: // // true Status *bool `json:"status,omitempty" xml:"status,omitempty"` // The error message returned if the call fails. // // example: // // Delete contact group resource failed. Msg *string `json:"msg,omitempty" xml:"msg,omitempty"` // The alert contact group ID. // // example: // // 12345 ContactGroupId *string `json:"contact_group_id,omitempty" xml:"contact_group_id,omitempty"` }
func (DeleteAlertContactGroupResponseBody) GoString ¶
func (s DeleteAlertContactGroupResponseBody) GoString() string
func (*DeleteAlertContactGroupResponseBody) SetContactGroupId ¶
func (s *DeleteAlertContactGroupResponseBody) SetContactGroupId(v string) *DeleteAlertContactGroupResponseBody
func (*DeleteAlertContactGroupResponseBody) SetMsg ¶
func (s *DeleteAlertContactGroupResponseBody) SetMsg(v string) *DeleteAlertContactGroupResponseBody
func (*DeleteAlertContactGroupResponseBody) SetStatus ¶
func (s *DeleteAlertContactGroupResponseBody) SetStatus(v bool) *DeleteAlertContactGroupResponseBody
func (DeleteAlertContactGroupResponseBody) String ¶
func (s DeleteAlertContactGroupResponseBody) String() string
type DeleteAlertContactGroupShrinkRequest ¶
type DeleteAlertContactGroupShrinkRequest struct { // The list of alert contact group IDs. // // This parameter is required. ContactGroupIdsShrink *string `json:"contact_group_ids,omitempty" xml:"contact_group_ids,omitempty"` }
func (DeleteAlertContactGroupShrinkRequest) GoString ¶
func (s DeleteAlertContactGroupShrinkRequest) GoString() string
func (*DeleteAlertContactGroupShrinkRequest) SetContactGroupIdsShrink ¶
func (s *DeleteAlertContactGroupShrinkRequest) SetContactGroupIdsShrink(v string) *DeleteAlertContactGroupShrinkRequest
func (DeleteAlertContactGroupShrinkRequest) String ¶
func (s DeleteAlertContactGroupShrinkRequest) String() string
type DeleteAlertContactRequest ¶
type DeleteAlertContactRequest struct { // The list of alert contact IDs. // // This parameter is required. ContactIds []*int64 `json:"contact_ids,omitempty" xml:"contact_ids,omitempty" type:"Repeated"` }
func (DeleteAlertContactRequest) GoString ¶
func (s DeleteAlertContactRequest) GoString() string
func (*DeleteAlertContactRequest) SetContactIds ¶
func (s *DeleteAlertContactRequest) SetContactIds(v []*int64) *DeleteAlertContactRequest
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 (s *DeleteAlertContactResponse) SetBody(v *DeleteAlertContactResponseBody) *DeleteAlertContactResponse
func (*DeleteAlertContactResponse) SetHeaders ¶
func (s *DeleteAlertContactResponse) SetHeaders(v map[string]*string) *DeleteAlertContactResponse
func (*DeleteAlertContactResponse) SetStatusCode ¶
func (s *DeleteAlertContactResponse) SetStatusCode(v int32) *DeleteAlertContactResponse
func (DeleteAlertContactResponse) String ¶
func (s DeleteAlertContactResponse) String() string
type DeleteAlertContactResponseBody ¶
type DeleteAlertContactResponseBody struct {
Result []*DeleteAlertContactResponseBodyResult `json:"result,omitempty" xml:"result,omitempty" type:"Repeated"`
}
func (DeleteAlertContactResponseBody) GoString ¶
func (s DeleteAlertContactResponseBody) GoString() string
func (*DeleteAlertContactResponseBody) SetResult ¶ added in v5.7.4
func (s *DeleteAlertContactResponseBody) SetResult(v []*DeleteAlertContactResponseBodyResult) *DeleteAlertContactResponseBody
func (DeleteAlertContactResponseBody) String ¶
func (s DeleteAlertContactResponseBody) String() string
type DeleteAlertContactResponseBodyResult ¶ added in v5.7.4
type DeleteAlertContactResponseBodyResult struct { // The deletion status. // // - true: The alert contact was deleted. // // - false: The alert contact failed to be deleted. // // example: // // true Status *bool `json:"status,omitempty" xml:"status,omitempty"` // The error message returned if the call fails. // // example: // // Delete contact resource failed. Msg *string `json:"msg,omitempty" xml:"msg,omitempty"` // An alert contact ID. // // example: // // 12345 ContactId *string `json:"contact_id,omitempty" xml:"contact_id,omitempty"` }
func (DeleteAlertContactResponseBodyResult) GoString ¶ added in v5.7.4
func (s DeleteAlertContactResponseBodyResult) GoString() string
func (*DeleteAlertContactResponseBodyResult) SetContactId ¶ added in v5.7.4
func (s *DeleteAlertContactResponseBodyResult) SetContactId(v string) *DeleteAlertContactResponseBodyResult
func (*DeleteAlertContactResponseBodyResult) SetMsg ¶ added in v5.7.4
func (s *DeleteAlertContactResponseBodyResult) SetMsg(v string) *DeleteAlertContactResponseBodyResult
func (*DeleteAlertContactResponseBodyResult) SetStatus ¶ added in v5.7.4
func (s *DeleteAlertContactResponseBodyResult) SetStatus(v bool) *DeleteAlertContactResponseBodyResult
func (DeleteAlertContactResponseBodyResult) String ¶ added in v5.7.4
func (s DeleteAlertContactResponseBodyResult) String() string
type DeleteAlertContactShrinkRequest ¶
type DeleteAlertContactShrinkRequest struct { // The list of alert contact IDs. // // This parameter is required. ContactIdsShrink *string `json:"contact_ids,omitempty" xml:"contact_ids,omitempty"` }
func (DeleteAlertContactShrinkRequest) GoString ¶
func (s DeleteAlertContactShrinkRequest) GoString() string
func (*DeleteAlertContactShrinkRequest) SetContactIdsShrink ¶
func (s *DeleteAlertContactShrinkRequest) SetContactIdsShrink(v string) *DeleteAlertContactShrinkRequest
func (DeleteAlertContactShrinkRequest) String ¶
func (s DeleteAlertContactShrinkRequest) String() string
type DeleteClusterNodepoolRequest ¶
type DeleteClusterNodepoolRequest struct { // Specifies whether to forcefully delete the node pool. // // example: // // false Force *bool `json:"force,omitempty" xml:"force,omitempty"` }
func (DeleteClusterNodepoolRequest) GoString ¶
func (s DeleteClusterNodepoolRequest) GoString() string
func (*DeleteClusterNodepoolRequest) SetForce ¶
func (s *DeleteClusterNodepoolRequest) SetForce(v bool) *DeleteClusterNodepoolRequest
func (DeleteClusterNodepoolRequest) String ¶
func (s DeleteClusterNodepoolRequest) String() 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 (s DeleteClusterNodepoolResponse) GoString() string
func (*DeleteClusterNodepoolResponse) SetBody ¶
func (s *DeleteClusterNodepoolResponse) SetBody(v *DeleteClusterNodepoolResponseBody) *DeleteClusterNodepoolResponse
func (*DeleteClusterNodepoolResponse) SetHeaders ¶
func (s *DeleteClusterNodepoolResponse) SetHeaders(v map[string]*string) *DeleteClusterNodepoolResponse
func (*DeleteClusterNodepoolResponse) SetStatusCode ¶
func (s *DeleteClusterNodepoolResponse) SetStatusCode(v int32) *DeleteClusterNodepoolResponse
func (DeleteClusterNodepoolResponse) String ¶
func (s DeleteClusterNodepoolResponse) String() string
type DeleteClusterNodepoolResponseBody ¶
type DeleteClusterNodepoolResponseBody struct { // The request ID. // // example: // // 7263C978-3DBD-4E06-B319-793B38A2F388 RequestId *string `json:"request_id,omitempty" xml:"request_id,omitempty"` // task IDs // // example: // // T-655ace947e0e6603af000004 TaskId *string `json:"task_id,omitempty" xml:"task_id,omitempty"` }
func (DeleteClusterNodepoolResponseBody) GoString ¶
func (s DeleteClusterNodepoolResponseBody) GoString() string
func (*DeleteClusterNodepoolResponseBody) SetRequestId ¶
func (s *DeleteClusterNodepoolResponseBody) SetRequestId(v string) *DeleteClusterNodepoolResponseBody
func (*DeleteClusterNodepoolResponseBody) SetTaskId ¶
func (s *DeleteClusterNodepoolResponseBody) SetTaskId(v string) *DeleteClusterNodepoolResponseBody
func (DeleteClusterNodepoolResponseBody) String ¶
func (s DeleteClusterNodepoolResponseBody) String() 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`. // // example: // // true 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`. // // This parameter is required. 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. // // example: // // true ReleaseNode *bool `json:"release_node,omitempty" xml:"release_node,omitempty"` }
func (DeleteClusterNodesRequest) GoString ¶
func (s DeleteClusterNodesRequest) GoString() string
func (*DeleteClusterNodesRequest) SetDrainNode ¶
func (s *DeleteClusterNodesRequest) SetDrainNode(v bool) *DeleteClusterNodesRequest
func (*DeleteClusterNodesRequest) SetNodes ¶
func (s *DeleteClusterNodesRequest) SetNodes(v []*string) *DeleteClusterNodesRequest
func (*DeleteClusterNodesRequest) SetReleaseNode ¶
func (s *DeleteClusterNodesRequest) SetReleaseNode(v bool) *DeleteClusterNodesRequest
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 (s *DeleteClusterNodesResponse) SetBody(v *DeleteClusterNodesResponseBody) *DeleteClusterNodesResponse
func (*DeleteClusterNodesResponse) SetHeaders ¶
func (s *DeleteClusterNodesResponse) SetHeaders(v map[string]*string) *DeleteClusterNodesResponse
func (*DeleteClusterNodesResponse) SetStatusCode ¶
func (s *DeleteClusterNodesResponse) SetStatusCode(v int32) *DeleteClusterNodesResponse
func (DeleteClusterNodesResponse) String ¶
func (s DeleteClusterNodesResponse) String() string
type DeleteClusterNodesResponseBody ¶
type DeleteClusterNodesResponseBody struct { // The cluster ID. // // example: // // c104d5d5f301c4e2a8ee578c37bc**** ClusterId *string `json:"cluster_id,omitempty" xml:"cluster_id,omitempty"` // The request ID. // // example: // // A9891419-D125-4D89-AFCA-68846675E2F7 RequestId *string `json:"request_id,omitempty" xml:"request_id,omitempty"` // The task ID. // // example: // // T-60fea8ad2e277f0879000ae9 TaskId *string `json:"task_id,omitempty" xml:"task_id,omitempty"` }
func (DeleteClusterNodesResponseBody) GoString ¶
func (s DeleteClusterNodesResponseBody) GoString() string
func (*DeleteClusterNodesResponseBody) SetClusterId ¶
func (s *DeleteClusterNodesResponseBody) SetClusterId(v string) *DeleteClusterNodesResponseBody
func (*DeleteClusterNodesResponseBody) SetRequestId ¶
func (s *DeleteClusterNodesResponseBody) SetRequestId(v string) *DeleteClusterNodesResponseBody
func (*DeleteClusterNodesResponseBody) SetTaskId ¶
func (s *DeleteClusterNodesResponseBody) SetTaskId(v string) *DeleteClusterNodesResponseBody
func (DeleteClusterNodesResponseBody) String ¶
func (s DeleteClusterNodesResponseBody) String() string
type DeleteClusterRequest ¶
type DeleteClusterRequest struct { // The type of cluster resource that you want to delete or retain. DeleteOptions []*DeleteClusterRequestDeleteOptions `json:"delete_options,omitempty" xml:"delete_options,omitempty" type:"Repeated"` // Deprecated // // Specifies whether to retain the Server Load Balancer (SLB) resources that are created by the cluster. // // - `true`: retains the SLB instances that are created by the cluster. // // - `false`: does not retain the SLB instances that are created by the cluster. // // Default value: `false`. Set resource_type to `SLB` in the `delete_options` parameter to manage SLB instances. // // example: // // 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. The cloud resources that are created by the cluster are retained. You can call the `DescribeClusterResources` operation to query cloud resources created by the cluster. If you set the parameter to `false`, resources to be retained by default in the `delete_options` parameter are still retained. To delete these resources, set `delete_mode` to `delete` in `delete_options`. // // - `true`: retains all resources, including cloud resources created by the cluster. // // - `false`: does not retain all resources. Resources to be retained by default in the `delete_options` parameter are retained. For example, `ALB` instances are retained when this parameter is set to `false`. // // Default value: `false`. // // example: // // 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) SetDeleteOptions ¶ added in v5.0.7
func (s *DeleteClusterRequest) SetDeleteOptions(v []*DeleteClusterRequestDeleteOptions) *DeleteClusterRequest
func (*DeleteClusterRequest) SetKeepSlb ¶
func (s *DeleteClusterRequest) SetKeepSlb(v bool) *DeleteClusterRequest
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 DeleteClusterRequestDeleteOptions ¶ added in v5.0.7
type DeleteClusterRequestDeleteOptions struct { // The deletion policy for the specified type of resource. Valid values: // // - delete: deletes the specified type of resource. // // - retain: retains the specified type of resource. // // example: // // delete DeleteMode *string `json:"delete_mode,omitempty" xml:"delete_mode,omitempty"` // The type of the resource. Valid values: // // - SLB: SLB resources created for Services. By default, the SLB resources are automatically deleted. // // - ALB: Application Load Balancer (ALB) resources created by the ALB Ingress controller. By default, the ALB resources are retained. // // - SLS_Data: Simple Log Service projects used by the cluster logging feature. By default, the Simple Log Service projects are retained. // // - SLS_ControlPlane: Simple Log Service projects used to store the logs of control planes in ACK managed clusters. By default, the Simple Log Service projects are retained. // // - PrivateZone: PrivateZone resources created by ACK Serverless clusters. By default, the PrivateZone resources are retained. // // example: // // SLS_Data ResourceType *string `json:"resource_type,omitempty" xml:"resource_type,omitempty"` }
func (DeleteClusterRequestDeleteOptions) GoString ¶ added in v5.0.7
func (s DeleteClusterRequestDeleteOptions) GoString() string
func (*DeleteClusterRequestDeleteOptions) SetDeleteMode ¶ added in v5.0.7
func (s *DeleteClusterRequestDeleteOptions) SetDeleteMode(v string) *DeleteClusterRequestDeleteOptions
func (*DeleteClusterRequestDeleteOptions) SetResourceType ¶ added in v5.0.7
func (s *DeleteClusterRequestDeleteOptions) SetResourceType(v string) *DeleteClusterRequestDeleteOptions
func (DeleteClusterRequestDeleteOptions) String ¶ added in v5.0.7
func (s DeleteClusterRequestDeleteOptions) 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 (s *DeleteClusterResponse) SetBody(v *DeleteClusterResponseBody) *DeleteClusterResponse
func (*DeleteClusterResponse) SetHeaders ¶
func (s *DeleteClusterResponse) SetHeaders(v map[string]*string) *DeleteClusterResponse
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. // // example: // // cb95aa626a47740afbf6aa099b650**** ClusterId *string `json:"cluster_id,omitempty" xml:"cluster_id,omitempty"` // The request ID. // // example: // // 687C5BAA-D103-4993-884B-C35E4314**** RequestId *string `json:"request_id,omitempty" xml:"request_id,omitempty"` // The ID of the task. // // example: // // T-5a54309c80282e39ea**** TaskId *string `json:"task_id,omitempty" xml:"task_id,omitempty"` }
func (DeleteClusterResponseBody) GoString ¶
func (s DeleteClusterResponseBody) GoString() string
func (*DeleteClusterResponseBody) SetClusterId ¶
func (s *DeleteClusterResponseBody) SetClusterId(v string) *DeleteClusterResponseBody
func (*DeleteClusterResponseBody) SetRequestId ¶
func (s *DeleteClusterResponseBody) SetRequestId(v string) *DeleteClusterResponseBody
func (*DeleteClusterResponseBody) SetTaskId ¶
func (s *DeleteClusterResponseBody) SetTaskId(v string) *DeleteClusterResponseBody
func (DeleteClusterResponseBody) String ¶
func (s DeleteClusterResponseBody) String() string
type DeleteClusterShrinkRequest ¶
type DeleteClusterShrinkRequest struct { // The type of cluster resource that you want to delete or retain. DeleteOptionsShrink *string `json:"delete_options,omitempty" xml:"delete_options,omitempty"` // Deprecated // // Specifies whether to retain the Server Load Balancer (SLB) resources that are created by the cluster. // // - `true`: retains the SLB instances that are created by the cluster. // // - `false`: does not retain the SLB instances that are created by the cluster. // // Default value: `false`. Set resource_type to `SLB` in the `delete_options` parameter to manage SLB instances. // // example: // // 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. The cloud resources that are created by the cluster are retained. You can call the `DescribeClusterResources` operation to query cloud resources created by the cluster. If you set the parameter to `false`, resources to be retained by default in the `delete_options` parameter are still retained. To delete these resources, set `delete_mode` to `delete` in `delete_options`. // // - `true`: retains all resources, including cloud resources created by the cluster. // // - `false`: does not retain all resources. Resources to be retained by default in the `delete_options` parameter are retained. For example, `ALB` instances are retained when this parameter is set to `false`. // // Default value: `false`. // // example: // // 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) SetDeleteOptionsShrink ¶ added in v5.0.7
func (s *DeleteClusterShrinkRequest) SetDeleteOptionsShrink(v string) *DeleteClusterShrinkRequest
func (*DeleteClusterShrinkRequest) SetKeepSlb ¶
func (s *DeleteClusterShrinkRequest) SetKeepSlb(v bool) *DeleteClusterShrinkRequest
func (*DeleteClusterShrinkRequest) SetRetainAllResources ¶
func (s *DeleteClusterShrinkRequest) SetRetainAllResources(v bool) *DeleteClusterShrinkRequest
func (*DeleteClusterShrinkRequest) SetRetainResourcesShrink ¶
func (s *DeleteClusterShrinkRequest) SetRetainResourcesShrink(v string) *DeleteClusterShrinkRequest
func (DeleteClusterShrinkRequest) String ¶
func (s DeleteClusterShrinkRequest) String() 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`. // // example: // // true/false Force *string `json:"force,omitempty" xml:"force,omitempty"` }
func (DeleteEdgeMachineRequest) GoString ¶
func (s DeleteEdgeMachineRequest) GoString() string
func (*DeleteEdgeMachineRequest) SetForce ¶
func (s *DeleteEdgeMachineRequest) SetForce(v string) *DeleteEdgeMachineRequest
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 (s *DeleteEdgeMachineResponse) SetHeaders(v map[string]*string) *DeleteEdgeMachineResponse
func (*DeleteEdgeMachineResponse) SetStatusCode ¶
func (s *DeleteEdgeMachineResponse) SetStatusCode(v int32) *DeleteEdgeMachineResponse
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 (s DeleteKubernetesTriggerResponse) GoString() string
func (*DeleteKubernetesTriggerResponse) SetHeaders ¶
func (s *DeleteKubernetesTriggerResponse) SetHeaders(v map[string]*string) *DeleteKubernetesTriggerResponse
func (*DeleteKubernetesTriggerResponse) SetStatusCode ¶
func (s *DeleteKubernetesTriggerResponse) SetStatusCode(v int32) *DeleteKubernetesTriggerResponse
func (DeleteKubernetesTriggerResponse) String ¶
func (s DeleteKubernetesTriggerResponse) String() string
type DeletePolicyInstanceRequest ¶
type DeletePolicyInstanceRequest struct { // The ID of the policy instance. // // example: // // allowed-repos-mqdsf InstanceName *string `json:"instance_name,omitempty" xml:"instance_name,omitempty"` }
func (DeletePolicyInstanceRequest) GoString ¶
func (s DeletePolicyInstanceRequest) GoString() string
func (*DeletePolicyInstanceRequest) SetInstanceName ¶
func (s *DeletePolicyInstanceRequest) SetInstanceName(v string) *DeletePolicyInstanceRequest
func (DeletePolicyInstanceRequest) String ¶
func (s DeletePolicyInstanceRequest) String() 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 (s *DeletePolicyInstanceResponse) SetBody(v *DeletePolicyInstanceResponseBody) *DeletePolicyInstanceResponse
func (*DeletePolicyInstanceResponse) SetHeaders ¶
func (s *DeletePolicyInstanceResponse) SetHeaders(v map[string]*string) *DeletePolicyInstanceResponse
func (*DeletePolicyInstanceResponse) SetStatusCode ¶
func (s *DeletePolicyInstanceResponse) SetStatusCode(v int32) *DeletePolicyInstanceResponse
func (DeletePolicyInstanceResponse) String ¶
func (s DeletePolicyInstanceResponse) String() 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 (s DeletePolicyInstanceResponseBody) GoString() string
func (*DeletePolicyInstanceResponseBody) SetInstances ¶
func (s *DeletePolicyInstanceResponseBody) SetInstances(v []*string) *DeletePolicyInstanceResponseBody
func (DeletePolicyInstanceResponseBody) String ¶
func (s DeletePolicyInstanceResponseBody) String() 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 (s *DeleteTemplateResponse) SetHeaders(v map[string]*string) *DeleteTemplateResponse
func (*DeleteTemplateResponse) SetStatusCode ¶
func (s *DeleteTemplateResponse) SetStatusCode(v int32) *DeleteTemplateResponse
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 (s *DeleteTriggerResponse) SetHeaders(v map[string]*string) *DeleteTriggerResponse
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. // // example: // // deny Action *string `json:"action,omitempty" xml:"action,omitempty"` // The namespaces to which the policy applies. If you leave this parameter empty, the policy is applicable to all namespaces of the cluster. Namespaces []*string `json:"namespaces,omitempty" xml:"namespaces,omitempty" type:"Repeated"` // The parameter settings of the policy. For more information about the parameters supported by each policy, see [Predefined security policies of ACK](https://www.alibabacloud.com/help/doc-detail/359819.html). // // example: // // {"restrictedNamespaces": [ "test" ]} Parameters map[string]interface{} `json:"parameters,omitempty" xml:"parameters,omitempty"` }
func (DeployPolicyInstanceRequest) GoString ¶
func (s DeployPolicyInstanceRequest) GoString() string
func (*DeployPolicyInstanceRequest) SetAction ¶
func (s *DeployPolicyInstanceRequest) SetAction(v string) *DeployPolicyInstanceRequest
func (*DeployPolicyInstanceRequest) SetNamespaces ¶
func (s *DeployPolicyInstanceRequest) SetNamespaces(v []*string) *DeployPolicyInstanceRequest
func (*DeployPolicyInstanceRequest) SetParameters ¶
func (s *DeployPolicyInstanceRequest) SetParameters(v map[string]interface{}) *DeployPolicyInstanceRequest
func (DeployPolicyInstanceRequest) String ¶
func (s DeployPolicyInstanceRequest) String() 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 (s *DeployPolicyInstanceResponse) SetBody(v *DeployPolicyInstanceResponseBody) *DeployPolicyInstanceResponse
func (*DeployPolicyInstanceResponse) SetHeaders ¶
func (s *DeployPolicyInstanceResponse) SetHeaders(v map[string]*string) *DeployPolicyInstanceResponse
func (*DeployPolicyInstanceResponse) SetStatusCode ¶
func (s *DeployPolicyInstanceResponse) SetStatusCode(v int32) *DeployPolicyInstanceResponse
func (DeployPolicyInstanceResponse) String ¶
func (s DeployPolicyInstanceResponse) String() 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 (s DeployPolicyInstanceResponseBody) GoString() string
func (*DeployPolicyInstanceResponseBody) SetInstances ¶
func (s *DeployPolicyInstanceResponseBody) SetInstances(v []*string) *DeployPolicyInstanceResponseBody
func (DeployPolicyInstanceResponseBody) String ¶
func (s DeployPolicyInstanceResponseBody) String() 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. // // example: // // c02b3e03be10643e8a644a843ffcb**** 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. // // example: // // ack.pro.small 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. // // example: // // ManagedKubernetes 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. // // example: // // 1.26.3-aliyun.1 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. // // example: // // Default 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. // // example: // // cn-hangzhou 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. // // example: // // v1.9.3.10-7dfca203-aliyun 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 (s *DescribeAddonRequest) SetProfile(v string) *DescribeAddonRequest
func (*DescribeAddonRequest) SetRegionId ¶
func (s *DescribeAddonRequest) SetRegionId(v string) *DescribeAddonRequest
func (*DescribeAddonRequest) SetVersion ¶
func (s *DescribeAddonRequest) SetVersion(v string) *DescribeAddonRequest
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 (s *DescribeAddonResponse) SetBody(v *DescribeAddonResponseBody) *DescribeAddonResponse
func (*DescribeAddonResponse) SetHeaders ¶
func (s *DescribeAddonResponse) SetHeaders(v map[string]*string) *DescribeAddonResponse
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. // // example: // // network Category *string `json:"category,omitempty" xml:"category,omitempty"` // The custom parameter schema of the component. // // example: // // {} ConfigSchema *string `json:"config_schema,omitempty" xml:"config_schema,omitempty"` // Indicates whether the component is automatically installed by default. // // example: // // true InstallByDefault *bool `json:"install_by_default,omitempty" xml:"install_by_default,omitempty"` // Indicates whether the component is fully managed. // // example: // // false Managed *bool `json:"managed,omitempty" xml:"managed,omitempty"` // The name of the component. // // example: // // coredns 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. // // example: // // v1.9.3.6-32932850-aliyun Version *string `json:"version,omitempty" xml:"version,omitempty"` }
func (DescribeAddonResponseBody) GoString ¶
func (s DescribeAddonResponseBody) GoString() string
func (*DescribeAddonResponseBody) SetArchitecture ¶
func (s *DescribeAddonResponseBody) SetArchitecture(v []*string) *DescribeAddonResponseBody
func (*DescribeAddonResponseBody) SetCategory ¶
func (s *DescribeAddonResponseBody) SetCategory(v string) *DescribeAddonResponseBody
func (*DescribeAddonResponseBody) SetConfigSchema ¶
func (s *DescribeAddonResponseBody) SetConfigSchema(v string) *DescribeAddonResponseBody
func (*DescribeAddonResponseBody) SetInstallByDefault ¶
func (s *DescribeAddonResponseBody) SetInstallByDefault(v bool) *DescribeAddonResponseBody
func (*DescribeAddonResponseBody) SetManaged ¶
func (s *DescribeAddonResponseBody) SetManaged(v bool) *DescribeAddonResponseBody
func (*DescribeAddonResponseBody) SetName ¶
func (s *DescribeAddonResponseBody) SetName(v string) *DescribeAddonResponseBody
func (*DescribeAddonResponseBody) SetNewerVersions ¶
func (s *DescribeAddonResponseBody) SetNewerVersions(v []*DescribeAddonResponseBodyNewerVersions) *DescribeAddonResponseBody
func (*DescribeAddonResponseBody) SetSupportedActions ¶
func (s *DescribeAddonResponseBody) SetSupportedActions(v []*string) *DescribeAddonResponseBody
func (*DescribeAddonResponseBody) SetVersion ¶
func (s *DescribeAddonResponseBody) SetVersion(v string) *DescribeAddonResponseBody
func (DescribeAddonResponseBody) String ¶
func (s DescribeAddonResponseBody) String() string
type DescribeAddonResponseBodyNewerVersions ¶
type DescribeAddonResponseBodyNewerVersions struct { // The minimum cluster version required by the component version. // // example: // // 1.20.4 MinimumClusterVersion *string `json:"minimum_cluster_version,omitempty" xml:"minimum_cluster_version,omitempty"` // Indicates whether the component can be updated to the version. // // example: // // true Upgradable *bool `json:"upgradable,omitempty" xml:"upgradable,omitempty"` // The version number. // // example: // // v1.9.3.10-7dfca203-aliyun Version *string `json:"version,omitempty" xml:"version,omitempty"` }
func (DescribeAddonResponseBodyNewerVersions) GoString ¶
func (s DescribeAddonResponseBodyNewerVersions) GoString() string
func (*DescribeAddonResponseBodyNewerVersions) SetMinimumClusterVersion ¶
func (s *DescribeAddonResponseBodyNewerVersions) SetMinimumClusterVersion(v string) *DescribeAddonResponseBodyNewerVersions
func (*DescribeAddonResponseBodyNewerVersions) SetUpgradable ¶
func (s *DescribeAddonResponseBodyNewerVersions) SetUpgradable(v bool) *DescribeAddonResponseBodyNewerVersions
func (*DescribeAddonResponseBodyNewerVersions) SetVersion ¶
func (s *DescribeAddonResponseBodyNewerVersions) SetVersion(v string) *DescribeAddonResponseBodyNewerVersions
func (DescribeAddonResponseBodyNewerVersions) String ¶
func (s DescribeAddonResponseBodyNewerVersions) String() string
type DescribeAddonsRequest ¶
type DescribeAddonsRequest struct { // The cluster type. Valid values: // // - `Default`: ACK managed cluster // // - `Serverless`: ACK Serverless cluster // // - `Edge`: ACK Edge cluster // // example: // // Default ClusterProfile *string `json:"cluster_profile,omitempty" xml:"cluster_profile,omitempty"` // If you set `cluster_type` to `ManagedKubernetes` and specify `profile`, you can further specify the edition of the cluster. Valid values: // // - `ack.pro.small`: creates an ACK Pro cluster. // // - `ack.standard`: creates an ACK Basic cluster. If you leave the parameter empty, an ACK Basic cluster is created. // // example: // // ack.pro.small 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 Basic clusters, ACK Serverless Pro clusters, ACK Edge Basic clusters, ACK Edge Pro clusters, and ACK Lingjun Pro clusters. // // - `ExternalKubernetes`: registered cluster. // // example: // // kubernetes ClusterType *string `json:"cluster_type,omitempty" xml:"cluster_type,omitempty"` // The cluster version. // // example: // // 1.24.6-aliyun.1 ClusterVersion *string `json:"cluster_version,omitempty" xml:"cluster_version,omitempty"` // The region ID of the cluster. // // This parameter is required. // // example: // // cn-beijing 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 (s *DescribeAddonsRequest) SetRegion(v string) *DescribeAddonsRequest
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 (s *DescribeAddonsResponse) SetBody(v *DescribeAddonsResponseBody) *DescribeAddonsResponse
func (*DescribeAddonsResponse) SetHeaders ¶
func (s *DescribeAddonsResponse) SetHeaders(v map[string]*string) *DescribeAddonsResponse
func (*DescribeAddonsResponse) SetStatusCode ¶
func (s *DescribeAddonsResponse) SetStatusCode(v int32) *DescribeAddonsResponse
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 (s *DescribeAddonsResponseBody) SetComponentGroups(v []*DescribeAddonsResponseBodyComponentGroups) *DescribeAddonsResponseBody
func (*DescribeAddonsResponseBody) SetStandardComponents ¶
func (s *DescribeAddonsResponseBody) SetStandardComponents(v map[string]*StandardComponentsValue) *DescribeAddonsResponseBody
func (DescribeAddonsResponseBody) String ¶
func (s DescribeAddonsResponseBody) String() string
type DescribeAddonsResponseBodyComponentGroups ¶
type DescribeAddonsResponseBodyComponentGroups struct { // The name of the component group. // // example: // // storage 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 (s DescribeAddonsResponseBodyComponentGroups) GoString() string
func (*DescribeAddonsResponseBodyComponentGroups) SetGroupName ¶
func (s *DescribeAddonsResponseBodyComponentGroups) SetGroupName(v string) *DescribeAddonsResponseBodyComponentGroups
func (DescribeAddonsResponseBodyComponentGroups) String ¶
func (s DescribeAddonsResponseBodyComponentGroups) String() string
type DescribeAddonsResponseBodyComponentGroupsItems ¶
type DescribeAddonsResponseBodyComponentGroupsItems struct { // The name of the component. // // example: // // flexvolume Name *string `json:"name,omitempty" xml:"name,omitempty"` }
func (DescribeAddonsResponseBodyComponentGroupsItems) GoString ¶
func (s DescribeAddonsResponseBodyComponentGroupsItems) GoString() string
func (DescribeAddonsResponseBodyComponentGroupsItems) String ¶
func (s DescribeAddonsResponseBodyComponentGroupsItems) String() 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 (s DescribeClusterAddonInstanceResponse) GoString() string
func (*DescribeClusterAddonInstanceResponse) SetHeaders ¶
func (s *DescribeClusterAddonInstanceResponse) SetHeaders(v map[string]*string) *DescribeClusterAddonInstanceResponse
func (*DescribeClusterAddonInstanceResponse) SetStatusCode ¶
func (s *DescribeClusterAddonInstanceResponse) SetStatusCode(v int32) *DescribeClusterAddonInstanceResponse
func (DescribeClusterAddonInstanceResponse) String ¶
func (s DescribeClusterAddonInstanceResponse) String() string
type DescribeClusterAddonInstanceResponseBody ¶
type DescribeClusterAddonInstanceResponseBody struct { // The configuration of the component. // // example: // // {"NetworkPolicy":"true"} Config *string `json:"config,omitempty" xml:"config,omitempty"` // The name of the component. // // example: // // terway-eniip Name *string `json:"name,omitempty" xml:"name,omitempty"` // The status of the component. Valid values: // // - initial: The component is being installed. // // - active: The component has been installed. // // - unhealthy: The component is in an abnormal state. // // - upgrading: The component is undergoing an upgrade. // // - updating: Component configuration changes are being applied. // // - deleting: The component is being uninstalled. // // - deleted: The component has been deleted. // // example: // // active State *string `json:"state,omitempty" xml:"state,omitempty"` // The version of the component. // // example: // // v1.4.3 Version *string `json:"version,omitempty" xml:"version,omitempty"` }
func (DescribeClusterAddonInstanceResponseBody) GoString ¶
func (s DescribeClusterAddonInstanceResponseBody) GoString() string
func (*DescribeClusterAddonInstanceResponseBody) SetConfig ¶
func (s *DescribeClusterAddonInstanceResponseBody) SetConfig(v string) *DescribeClusterAddonInstanceResponseBody
func (*DescribeClusterAddonInstanceResponseBody) SetName ¶
func (s *DescribeClusterAddonInstanceResponseBody) SetName(v string) *DescribeClusterAddonInstanceResponseBody
func (*DescribeClusterAddonInstanceResponseBody) SetState ¶
func (s *DescribeClusterAddonInstanceResponseBody) SetState(v string) *DescribeClusterAddonInstanceResponseBody
func (*DescribeClusterAddonInstanceResponseBody) SetVersion ¶
func (s *DescribeClusterAddonInstanceResponseBody) SetVersion(v string) *DescribeClusterAddonInstanceResponseBody
func (DescribeClusterAddonInstanceResponseBody) String ¶
func (s DescribeClusterAddonInstanceResponseBody) String() 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 (s DescribeClusterAddonMetadataRequest) GoString() string
func (*DescribeClusterAddonMetadataRequest) SetVersion ¶ added in v5.0.4
func (s *DescribeClusterAddonMetadataRequest) SetVersion(v string) *DescribeClusterAddonMetadataRequest
func (DescribeClusterAddonMetadataRequest) String ¶ added in v5.0.4
func (s DescribeClusterAddonMetadataRequest) String() string
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 (s DescribeClusterAddonMetadataResponse) GoString() string
func (*DescribeClusterAddonMetadataResponse) SetHeaders ¶
func (s *DescribeClusterAddonMetadataResponse) SetHeaders(v map[string]*string) *DescribeClusterAddonMetadataResponse
func (*DescribeClusterAddonMetadataResponse) SetStatusCode ¶
func (s *DescribeClusterAddonMetadataResponse) SetStatusCode(v int32) *DescribeClusterAddonMetadataResponse
func (DescribeClusterAddonMetadataResponse) String ¶
func (s DescribeClusterAddonMetadataResponse) String() string
type DescribeClusterAddonMetadataResponseBody ¶
type DescribeClusterAddonMetadataResponseBody struct { // The component schema parameters. // // example: // // {\\n \\"$schema\\": \\"https://json-schema.org/draft-07/schema#\\",\\n \\"properties\\": {\\n \\"controller\\": {\\n \\"description\\": \\"\\",\\n \\"properties\\": {\\n \\"resources\\": {\\n \\"properties\\": {\\n \\"armsPrometheusOperator\\": {\\n \\"properties\\": {\\n \\"resources\\": {\\n \\"properties\\": {\\n \\"limits\\": {\\n \\"properties\\": {\\n \\"memory\\": {\\n \\"description\\": \\"memory limit of arms prometheus operator\\",\\n \\"type\\": \\"string\\",\\n \\"pattern\\": \\"^[1-9][0-9]*(\\\\\\\\.\\\\\\\\d+)?(K|Ki|M|Mi|G|Gi|T|Ti)?$\\",\\n \\"default\\": \\"500m\\",\\n \\"x-ui-description\\": \\"<mds-key>\\",\\n \\"x-ui-prompt-message\\": \\"<mds-key>\\",\\n \\"x-ui-validation-message\\": \\"<mds-key>\\",\\n \\"x-ui-additional-tips\\": \\"<mds-key>\\"\\n },\\n \\"cpu\\": {\\n \\"description\\": \\"cpu limit of arms prometheus operator\\",\\n \\"type\\": \\"string\\",\\n \\"pattern\\": \\"^[1-9][0-9]*(m|\\\\\\\\.\\\\\\\\d+)?$\\",\\n \\"default\\": \\"1.0\\",\\n \\"x-ui-description\\": \\"<mds-key>\\",\\n \\"x-ui-validation-message\\": \\"<mds-key>\\"\\n }\\n },\\n \\"type\\": \\"object\\",\\n \\"additionalProperties\\": false\\n },\\n \\"requests\\": {\\n \\"properties\\": {\\n \\"memory\\": {\\n \\"description\\": \\"memory request of arms prometheus operator\\",\\n \\"type\\": \\"string\\",\\n \\"pattern\\": \\"^[1-9][0-9]*(\\\\\\\\.\\\\\\\\d+)?(K|Ki|M|Mi|G|Gi|T|Ti)?$\\",\\n \\"default\\": \\"500m\\",\\n \\"x-ui-description\\": \\"<mds-key>\\",\\n \\"x-ui-validation-message\\": \\"<mds-key>\\"\\n },\\n \\"cpu\\": {\\n \\"description\\": \\"cpu request of arms prometheus operator\\",\\n \\"type\\": \\"string\\",\\n \\"pattern\\": \\"^[1-9][0-9]*(m|\\\\\\\\.\\\\\\\\d+)?$\\",\\n \\"default\\": \\"1.0\\",\\n \\"x-ui-description\\": \\"<mds-key>\\",\\n \\"x-ui-validation-message\\": \\"<mds-key>\\"\\n }\\n },\\n \\"type\\": \\"object\\",\\n \\"additionalProperties\\": false\\n }\\n },\\n \\"type\\": \\"object\\",\\n \\"additionalProperties\\": false\\n }\\n },\\n \\"type\\": \\"object\\",\\n \\"additionalProperties\\": false\\n }\\n },\\n \\"type\\": \\"object\\",\\n \\"additionalProperties\\": false\\n }\\n },\\n \\"type\\": \\"object\\",\\n \\"additionalProperties\\": false\\n }\\n },\\n \\"title\\": \\"Values\\",\\n \\"type\\": \\"object\\",\\n \\"additionalProperties\\": false\\n} ConfigSchema *string `json:"config_schema,omitempty" xml:"config_schema,omitempty"` // The component name. // // example: // // coredns Name *string `json:"name,omitempty" xml:"name,omitempty"` // The component version. // // example: // // 1.8.4.1 Version *string `json:"version,omitempty" xml:"version,omitempty"` }
func (DescribeClusterAddonMetadataResponseBody) GoString ¶
func (s DescribeClusterAddonMetadataResponseBody) GoString() string
func (*DescribeClusterAddonMetadataResponseBody) SetConfigSchema ¶
func (s *DescribeClusterAddonMetadataResponseBody) SetConfigSchema(v string) *DescribeClusterAddonMetadataResponseBody
func (*DescribeClusterAddonMetadataResponseBody) SetName ¶
func (s *DescribeClusterAddonMetadataResponseBody) SetName(v string) *DescribeClusterAddonMetadataResponseBody
func (*DescribeClusterAddonMetadataResponseBody) SetVersion ¶
func (s *DescribeClusterAddonMetadataResponseBody) SetVersion(v string) *DescribeClusterAddonMetadataResponseBody
func (DescribeClusterAddonMetadataResponseBody) String ¶
func (s DescribeClusterAddonMetadataResponseBody) String() 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 (s DescribeClusterAddonUpgradeStatusResponse) GoString() string
func (*DescribeClusterAddonUpgradeStatusResponse) SetBody ¶
func (s *DescribeClusterAddonUpgradeStatusResponse) SetBody(v map[string]interface{}) *DescribeClusterAddonUpgradeStatusResponse
func (*DescribeClusterAddonUpgradeStatusResponse) SetHeaders ¶
func (s *DescribeClusterAddonUpgradeStatusResponse) SetHeaders(v map[string]*string) *DescribeClusterAddonUpgradeStatusResponse
func (*DescribeClusterAddonUpgradeStatusResponse) SetStatusCode ¶
func (s *DescribeClusterAddonUpgradeStatusResponse) SetStatusCode(v int32) *DescribeClusterAddonUpgradeStatusResponse
func (DescribeClusterAddonUpgradeStatusResponse) String ¶
func (s DescribeClusterAddonUpgradeStatusResponse) String() string
type DescribeClusterAddonsUpgradeStatusRequest ¶
type DescribeClusterAddonsUpgradeStatusRequest struct { // The list of component names. // // This parameter is required. ComponentIds []*string `json:"componentIds,omitempty" xml:"componentIds,omitempty" type:"Repeated"` }
func (DescribeClusterAddonsUpgradeStatusRequest) GoString ¶
func (s DescribeClusterAddonsUpgradeStatusRequest) GoString() string
func (*DescribeClusterAddonsUpgradeStatusRequest) SetComponentIds ¶
func (s *DescribeClusterAddonsUpgradeStatusRequest) SetComponentIds(v []*string) *DescribeClusterAddonsUpgradeStatusRequest
func (DescribeClusterAddonsUpgradeStatusRequest) String ¶
func (s DescribeClusterAddonsUpgradeStatusRequest) String() 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 (s DescribeClusterAddonsUpgradeStatusResponse) GoString() string
func (*DescribeClusterAddonsUpgradeStatusResponse) SetBody ¶
func (s *DescribeClusterAddonsUpgradeStatusResponse) SetBody(v map[string]interface{}) *DescribeClusterAddonsUpgradeStatusResponse
func (*DescribeClusterAddonsUpgradeStatusResponse) SetHeaders ¶
func (s *DescribeClusterAddonsUpgradeStatusResponse) SetHeaders(v map[string]*string) *DescribeClusterAddonsUpgradeStatusResponse
func (*DescribeClusterAddonsUpgradeStatusResponse) SetStatusCode ¶
func (s *DescribeClusterAddonsUpgradeStatusResponse) SetStatusCode(v int32) *DescribeClusterAddonsUpgradeStatusResponse
func (DescribeClusterAddonsUpgradeStatusResponse) String ¶
func (s DescribeClusterAddonsUpgradeStatusResponse) String() string
type DescribeClusterAddonsUpgradeStatusShrinkRequest ¶
type DescribeClusterAddonsUpgradeStatusShrinkRequest struct { // The list of component names. // // This parameter is required. ComponentIdsShrink *string `json:"componentIds,omitempty" xml:"componentIds,omitempty"` }
func (DescribeClusterAddonsUpgradeStatusShrinkRequest) GoString ¶
func (s DescribeClusterAddonsUpgradeStatusShrinkRequest) GoString() string
func (*DescribeClusterAddonsUpgradeStatusShrinkRequest) SetComponentIdsShrink ¶
func (s *DescribeClusterAddonsUpgradeStatusShrinkRequest) SetComponentIdsShrink(v string) *DescribeClusterAddonsUpgradeStatusShrinkRequest
func (DescribeClusterAddonsUpgradeStatusShrinkRequest) String ¶
func (s DescribeClusterAddonsUpgradeStatusShrinkRequest) String() 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 (s DescribeClusterAddonsVersionResponse) GoString() string
func (*DescribeClusterAddonsVersionResponse) SetBody ¶
func (s *DescribeClusterAddonsVersionResponse) SetBody(v map[string]interface{}) *DescribeClusterAddonsVersionResponse
func (*DescribeClusterAddonsVersionResponse) SetHeaders ¶
func (s *DescribeClusterAddonsVersionResponse) SetHeaders(v map[string]*string) *DescribeClusterAddonsVersionResponse
func (*DescribeClusterAddonsVersionResponse) SetStatusCode ¶
func (s *DescribeClusterAddonsVersionResponse) SetStatusCode(v int32) *DescribeClusterAddonsVersionResponse
func (DescribeClusterAddonsVersionResponse) String ¶
func (s DescribeClusterAddonsVersionResponse) String() 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. // // example: // // amd64 Arch *string `json:"arch,omitempty" xml:"arch,omitempty"` // Describes the expiration time of the generated token, formatted as a Unix timestamp. For example, 1739980800 represents 2025-02-20 00:00:00. // // example: // // 1740037333 Expired *int64 `json:"expired,omitempty" xml:"expired,omitempty"` // Specifies whether to mount data disks to an existing instance when you manually add this 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. Back up the data first to prevent losses. // // - `false`: does not mount data disks to the existing instance. // // Default value: `false`. // // Mounting rules: // // - If the Elastic Compute Service (ECS) instances are already mounted with data disks and the file system of the last data disk is uninitialized, 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, no new disk will be mounted. // // example: // // false 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. “Valid values: // // - `true`: retains the instance name. // // - `false`: renames the instance to worker-k8s-for-cs-\\<clusterid>. // // Default value: `true`. // // example: // // 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. // // > If not specified, the node is added to the default node pool. // // example: // // np1c9229d9be2d432c93f77a88fca0**** 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. // // example: // // {\\"enableIptables\\": true,\\"manageRuntime\\": true,\\"quiet\\": true,\\"allowedClusterAddons\\": [\\"kube-proxy\\",\\"flannel\\",\\"coredns\\"]} Options *string `json:"options,omitempty" xml:"options,omitempty"` // If you specify a list of ApsaraDB RDS instances, ECS instances in the cluster will be automatically added to the whitelist of the ApsaraDB RDS instances. RdsInstances []*string `json:"rds_instances,omitempty" xml:"rds_instances,omitempty" type:"Repeated"` }
func (DescribeClusterAttachScriptsRequest) GoString ¶
func (s DescribeClusterAttachScriptsRequest) GoString() string
func (*DescribeClusterAttachScriptsRequest) SetArch ¶
func (s *DescribeClusterAttachScriptsRequest) SetArch(v string) *DescribeClusterAttachScriptsRequest
func (*DescribeClusterAttachScriptsRequest) SetExpired ¶ added in v5.8.11
func (s *DescribeClusterAttachScriptsRequest) SetExpired(v int64) *DescribeClusterAttachScriptsRequest
func (*DescribeClusterAttachScriptsRequest) SetFormatDisk ¶
func (s *DescribeClusterAttachScriptsRequest) SetFormatDisk(v bool) *DescribeClusterAttachScriptsRequest
func (*DescribeClusterAttachScriptsRequest) SetKeepInstanceName ¶
func (s *DescribeClusterAttachScriptsRequest) SetKeepInstanceName(v bool) *DescribeClusterAttachScriptsRequest
func (*DescribeClusterAttachScriptsRequest) SetNodepoolId ¶
func (s *DescribeClusterAttachScriptsRequest) SetNodepoolId(v string) *DescribeClusterAttachScriptsRequest
func (*DescribeClusterAttachScriptsRequest) SetOptions ¶
func (s *DescribeClusterAttachScriptsRequest) SetOptions(v string) *DescribeClusterAttachScriptsRequest
func (*DescribeClusterAttachScriptsRequest) SetRdsInstances ¶
func (s *DescribeClusterAttachScriptsRequest) SetRdsInstances(v []*string) *DescribeClusterAttachScriptsRequest
func (DescribeClusterAttachScriptsRequest) String ¶
func (s DescribeClusterAttachScriptsRequest) String() 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 (s DescribeClusterAttachScriptsResponse) GoString() string
func (*DescribeClusterAttachScriptsResponse) SetBody ¶
func (s *DescribeClusterAttachScriptsResponse) SetBody(v string) *DescribeClusterAttachScriptsResponse
func (*DescribeClusterAttachScriptsResponse) SetHeaders ¶
func (s *DescribeClusterAttachScriptsResponse) SetHeaders(v map[string]*string) *DescribeClusterAttachScriptsResponse
func (*DescribeClusterAttachScriptsResponse) SetStatusCode ¶
func (s *DescribeClusterAttachScriptsResponse) SetStatusCode(v int32) *DescribeClusterAttachScriptsResponse
func (DescribeClusterAttachScriptsResponse) String ¶
func (s DescribeClusterAttachScriptsResponse) String() 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 (s DescribeClusterDetailResponse) GoString() string
func (*DescribeClusterDetailResponse) SetBody ¶
func (s *DescribeClusterDetailResponse) SetBody(v *DescribeClusterDetailResponseBody) *DescribeClusterDetailResponse
func (*DescribeClusterDetailResponse) SetHeaders ¶
func (s *DescribeClusterDetailResponse) SetHeaders(v map[string]*string) *DescribeClusterDetailResponse
func (*DescribeClusterDetailResponse) SetStatusCode ¶
func (s *DescribeClusterDetailResponse) SetStatusCode(v int32) *DescribeClusterDetailResponse
func (DescribeClusterDetailResponse) String ¶
func (s DescribeClusterDetailResponse) String() string
type DescribeClusterDetailResponseBody ¶
type DescribeClusterDetailResponseBody struct { // The domain name of the cluster. // // example: // // cluster.local ClusterDomain *string `json:"cluster_domain,omitempty" xml:"cluster_domain,omitempty"` // The cluster ID. // // example: // // c82e6987e2961451182edacd74faf**** ClusterId *string `json:"cluster_id,omitempty" xml:"cluster_id,omitempty"` // After you set `cluster_type` to `ManagedKubernetes` and configure the `profile` parameter, you can further specify the edition of the cluster. // // - `ack.pro.small`: Pro. // // - `ack.standard`: Basic. If you leave the parameter empty, the Basic edition is selected. // // example: // // ack.pro.small 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. // // example: // // Kubernetes ClusterType *string `json:"cluster_type,omitempty" xml:"cluster_type,omitempty"` // The CIDR block of the pod. The configuration of the Flannel network plug-in. // // example: // // 172.20.0.0/16 ContainerCidr *string `json:"container_cidr,omitempty" xml:"container_cidr,omitempty"` // The control plane configurations in an ACK dedicated cluster. ControlPlaneConfig *DescribeClusterDetailResponseBodyControlPlaneConfig `json:"control_plane_config,omitempty" xml:"control_plane_config,omitempty" type:"Struct"` // The time when the cluster was created. // // example: // // 2019-11-25T15:50:20+08:00 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](https://help.aliyun.com/document_detail/185269.html). // // example: // // 1.16.6-aliyun.1 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. // // example: // // true DeletionProtection *bool `json:"deletion_protection,omitempty" xml:"deletion_protection,omitempty"` // The Docker version that is used by the cluster. // // example: // // 19.03.5 DockerVersion *string `json:"docker_version,omitempty" xml:"docker_version,omitempty"` // The ID of the Server Load Balancer (SLB) instance that is created for the Ingress of the cluster. // // example: // // lb-2zehc05z3b8dwiifh**** ExternalLoadbalancerId *string `json:"external_loadbalancer_id,omitempty" xml:"external_loadbalancer_id,omitempty"` // The initial Kubernetes version of the cluster. // // example: // // 1.16.6-aliyun.1 InitVersion *string `json:"init_version,omitempty" xml:"init_version,omitempty"` // The IP protocol stack of the cluster. Valid values: // // - ipv4: creates a cluster that supports only the IPv4 protocol stack. // // - dual: creates a cluster that supports IPv4/IPv6 dual-stack. // // example: // // ipv4 IpStack *string `json:"ip_stack,omitempty" xml:"ip_stack,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. // // example: // // {\\"intranet_api_server_endpoint\\":\\"https://192.168.0.251:6443\\"***} MasterUrl *string `json:"master_url,omitempty" xml:"master_url,omitempty"` // The metadata of the cluster. // // example: // // \\"Addons\\":*** 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 (-). // // example: // // cluster-demo Name *string `json:"name,omitempty" xml:"name,omitempty"` // The network type of the cluster. Example: Virtual Private Cloud (VPC). // // example: // // vpc NetworkMode *string `json:"network_mode,omitempty" xml:"network_mode,omitempty"` // The Kubernetes version to which the cluster can be updated. // // example: // // 1.18.8-aliyun.1 NextVersion *string `json:"next_version,omitempty" xml:"next_version,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 network plug-in. // // example: // // 26 NodeCidrMask *string `json:"node_cidr_mask,omitempty" xml:"node_cidr_mask,omitempty"` // The automatic O\\&M policy of the cluster. OperationPolicy *DescribeClusterDetailResponseBodyOperationPolicy `json:"operation_policy,omitempty" xml:"operation_policy,omitempty" type:"Struct"` // The Resource Orchestration Service (ROS) parameters of the cluster. Parameters map[string]*string `json:"parameters,omitempty" xml:"parameters,omitempty"` // Indicates whether Alibaba Cloud DNS PrivateZone (PrivateZone) is enabled for the cluster. Valid values: // // - `true`: PrivateZone is enabled. // // - `false`: PrivateZone is dislabled. // // Default value: false // // example: // // false PrivateZone *bool `json:"private_zone,omitempty" xml:"private_zone,omitempty"` // If you set `cluster_type` to `ManagedKubernetes`, an ACK managed cluster is created. In this case, you can further specify the cluster edition. // // - `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. // // example: // // Default Profile *string `json:"profile,omitempty" xml:"profile,omitempty"` // The kube-proxy mode. Valid values: // // - `iptables`: a mature and stable kube-proxy mode that 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 that require high load balancing performance. // // example: // // ipvs ProxyMode *string `json:"proxy_mode,omitempty" xml:"proxy_mode,omitempty"` // The region ID of the cluster. // // example: // // cn-beijing RegionId *string `json:"region_id,omitempty" xml:"region_id,omitempty"` // The ID of the resource group to which the cluster belongs. // // example: // // rg-acfmyvw3wjm**** ResourceGroupId *string `json:"resource_group_id,omitempty" xml:"resource_group_id,omitempty"` // The ID of the security group to which the cluster belongs. // // example: // // sg-25yq**** SecurityGroupId *string `json:"security_group_id,omitempty" xml:"security_group_id,omitempty"` // The CIDR block of the service network. // // This parameter is required. // // example: // // 172.21.0.0/20 ServiceCidr *string `json:"service_cidr,omitempty" xml:"service_cidr,omitempty"` // The number of nodes in the cluster. Master nodes and worker nodes are included. // // example: // // 5 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. // // example: // // running State *string `json:"state,omitempty" xml:"state,omitempty"` // Deprecated // // 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 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 the network planning of ACK clusters, see [Plan CIDR blocks for an ACK cluster](https://help.aliyun.com/document_detail/186964.html). // // example: // // 172.20.0.0/16 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 zone // // example: // // Asia/Shanghai Timezone *string `json:"timezone,omitempty" xml:"timezone,omitempty"` // The time when the cluster was updated. // // example: // // 2020-01-13T23:01:03+08:00 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. // // example: // // vpc-2zecuu62b9zw7a7qn**** VpcId *string `json:"vpc_id,omitempty" xml:"vpc_id,omitempty"` // Deprecated // // The ID of the vSwitche. This field is deprecated. Use vswitch_ids to query the vSwitches on the control plane and vswitch_ids to query the vSwitches on the data plane. // // example: // // vsw-2zete8s4qocqg0mf6****,vsw-2zete8s4qocqg0mf6**** VswitchId *string `json:"vswitch_id,omitempty" xml:"vswitch_id,omitempty"` // The vSwitch for the control plane of the cluster. VswitchIds []*string `json:"vswitch_ids,omitempty" xml:"vswitch_ids,omitempty" type:"Repeated"` // 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. // // example: // // KubernetesWorkerRole-ec87d15b-edca-4302-933f-c8a16bf0**** WorkerRamRoleName *string `json:"worker_ram_role_name,omitempty" xml:"worker_ram_role_name,omitempty"` // The ID of the zone within the region where the cluster is located. // // example: // // cn-beijing-a ZoneId *string `json:"zone_id,omitempty" xml:"zone_id,omitempty"` }
func (DescribeClusterDetailResponseBody) GoString ¶
func (s DescribeClusterDetailResponseBody) GoString() string
func (*DescribeClusterDetailResponseBody) SetClusterDomain ¶ added in v5.7.9
func (s *DescribeClusterDetailResponseBody) SetClusterDomain(v string) *DescribeClusterDetailResponseBody
func (*DescribeClusterDetailResponseBody) SetClusterId ¶
func (s *DescribeClusterDetailResponseBody) SetClusterId(v string) *DescribeClusterDetailResponseBody
func (*DescribeClusterDetailResponseBody) SetClusterSpec ¶
func (s *DescribeClusterDetailResponseBody) SetClusterSpec(v string) *DescribeClusterDetailResponseBody
func (*DescribeClusterDetailResponseBody) SetClusterType ¶
func (s *DescribeClusterDetailResponseBody) SetClusterType(v string) *DescribeClusterDetailResponseBody
func (*DescribeClusterDetailResponseBody) SetContainerCidr ¶ added in v5.7.9
func (s *DescribeClusterDetailResponseBody) SetContainerCidr(v string) *DescribeClusterDetailResponseBody
func (*DescribeClusterDetailResponseBody) SetControlPlaneConfig ¶ added in v5.8.1
func (s *DescribeClusterDetailResponseBody) SetControlPlaneConfig(v *DescribeClusterDetailResponseBodyControlPlaneConfig) *DescribeClusterDetailResponseBody
func (*DescribeClusterDetailResponseBody) SetCreated ¶
func (s *DescribeClusterDetailResponseBody) SetCreated(v string) *DescribeClusterDetailResponseBody
func (*DescribeClusterDetailResponseBody) SetCurrentVersion ¶
func (s *DescribeClusterDetailResponseBody) SetCurrentVersion(v string) *DescribeClusterDetailResponseBody
func (*DescribeClusterDetailResponseBody) SetDeletionProtection ¶
func (s *DescribeClusterDetailResponseBody) SetDeletionProtection(v bool) *DescribeClusterDetailResponseBody
func (*DescribeClusterDetailResponseBody) SetDockerVersion ¶
func (s *DescribeClusterDetailResponseBody) SetDockerVersion(v string) *DescribeClusterDetailResponseBody
func (*DescribeClusterDetailResponseBody) SetExternalLoadbalancerId ¶
func (s *DescribeClusterDetailResponseBody) SetExternalLoadbalancerId(v string) *DescribeClusterDetailResponseBody
func (*DescribeClusterDetailResponseBody) SetInitVersion ¶
func (s *DescribeClusterDetailResponseBody) SetInitVersion(v string) *DescribeClusterDetailResponseBody
func (*DescribeClusterDetailResponseBody) SetIpStack ¶ added in v5.7.9
func (s *DescribeClusterDetailResponseBody) SetIpStack(v string) *DescribeClusterDetailResponseBody
func (*DescribeClusterDetailResponseBody) SetMaintenanceWindow ¶
func (s *DescribeClusterDetailResponseBody) SetMaintenanceWindow(v *MaintenanceWindow) *DescribeClusterDetailResponseBody
func (*DescribeClusterDetailResponseBody) SetMasterUrl ¶
func (s *DescribeClusterDetailResponseBody) SetMasterUrl(v string) *DescribeClusterDetailResponseBody
func (*DescribeClusterDetailResponseBody) SetMetaData ¶
func (s *DescribeClusterDetailResponseBody) SetMetaData(v string) *DescribeClusterDetailResponseBody
func (*DescribeClusterDetailResponseBody) SetName ¶
func (s *DescribeClusterDetailResponseBody) SetName(v string) *DescribeClusterDetailResponseBody
func (*DescribeClusterDetailResponseBody) SetNetworkMode ¶
func (s *DescribeClusterDetailResponseBody) SetNetworkMode(v string) *DescribeClusterDetailResponseBody
func (*DescribeClusterDetailResponseBody) SetNextVersion ¶
func (s *DescribeClusterDetailResponseBody) SetNextVersion(v string) *DescribeClusterDetailResponseBody
func (*DescribeClusterDetailResponseBody) SetNodeCidrMask ¶ added in v5.7.9
func (s *DescribeClusterDetailResponseBody) SetNodeCidrMask(v string) *DescribeClusterDetailResponseBody
func (*DescribeClusterDetailResponseBody) SetOperationPolicy ¶ added in v5.7.8
func (s *DescribeClusterDetailResponseBody) SetOperationPolicy(v *DescribeClusterDetailResponseBodyOperationPolicy) *DescribeClusterDetailResponseBody
func (*DescribeClusterDetailResponseBody) SetParameters ¶
func (s *DescribeClusterDetailResponseBody) SetParameters(v map[string]*string) *DescribeClusterDetailResponseBody
func (*DescribeClusterDetailResponseBody) SetPrivateZone ¶
func (s *DescribeClusterDetailResponseBody) SetPrivateZone(v bool) *DescribeClusterDetailResponseBody
func (*DescribeClusterDetailResponseBody) SetProfile ¶
func (s *DescribeClusterDetailResponseBody) SetProfile(v string) *DescribeClusterDetailResponseBody
func (*DescribeClusterDetailResponseBody) SetProxyMode ¶ added in v5.7.9
func (s *DescribeClusterDetailResponseBody) SetProxyMode(v string) *DescribeClusterDetailResponseBody
func (*DescribeClusterDetailResponseBody) SetRegionId ¶
func (s *DescribeClusterDetailResponseBody) SetRegionId(v string) *DescribeClusterDetailResponseBody
func (*DescribeClusterDetailResponseBody) SetResourceGroupId ¶
func (s *DescribeClusterDetailResponseBody) SetResourceGroupId(v string) *DescribeClusterDetailResponseBody
func (*DescribeClusterDetailResponseBody) SetSecurityGroupId ¶
func (s *DescribeClusterDetailResponseBody) SetSecurityGroupId(v string) *DescribeClusterDetailResponseBody
func (*DescribeClusterDetailResponseBody) SetServiceCidr ¶ added in v5.7.9
func (s *DescribeClusterDetailResponseBody) SetServiceCidr(v string) *DescribeClusterDetailResponseBody
func (*DescribeClusterDetailResponseBody) SetSize ¶
func (s *DescribeClusterDetailResponseBody) SetSize(v int64) *DescribeClusterDetailResponseBody
func (*DescribeClusterDetailResponseBody) SetState ¶
func (s *DescribeClusterDetailResponseBody) SetState(v string) *DescribeClusterDetailResponseBody
func (*DescribeClusterDetailResponseBody) SetSubnetCidr ¶
func (s *DescribeClusterDetailResponseBody) SetSubnetCidr(v string) *DescribeClusterDetailResponseBody
func (*DescribeClusterDetailResponseBody) SetTags ¶
func (s *DescribeClusterDetailResponseBody) SetTags(v []*Tag) *DescribeClusterDetailResponseBody
func (*DescribeClusterDetailResponseBody) SetTimezone ¶ added in v5.7.9
func (s *DescribeClusterDetailResponseBody) SetTimezone(v string) *DescribeClusterDetailResponseBody
func (*DescribeClusterDetailResponseBody) SetUpdated ¶
func (s *DescribeClusterDetailResponseBody) SetUpdated(v string) *DescribeClusterDetailResponseBody
func (*DescribeClusterDetailResponseBody) SetVpcId ¶
func (s *DescribeClusterDetailResponseBody) SetVpcId(v string) *DescribeClusterDetailResponseBody
func (*DescribeClusterDetailResponseBody) SetVswitchId ¶
func (s *DescribeClusterDetailResponseBody) SetVswitchId(v string) *DescribeClusterDetailResponseBody
func (*DescribeClusterDetailResponseBody) SetVswitchIds ¶ added in v5.7.9
func (s *DescribeClusterDetailResponseBody) SetVswitchIds(v []*string) *DescribeClusterDetailResponseBody
func (*DescribeClusterDetailResponseBody) SetWorkerRamRoleName ¶
func (s *DescribeClusterDetailResponseBody) SetWorkerRamRoleName(v string) *DescribeClusterDetailResponseBody
func (*DescribeClusterDetailResponseBody) SetZoneId ¶
func (s *DescribeClusterDetailResponseBody) SetZoneId(v string) *DescribeClusterDetailResponseBody
func (DescribeClusterDetailResponseBody) String ¶
func (s DescribeClusterDetailResponseBody) String() string
type DescribeClusterDetailResponseBodyControlPlaneConfig ¶ added in v5.8.1
type DescribeClusterDetailResponseBodyControlPlaneConfig struct { // Indicates whether auto-renewal is enabled for the nodes. // // example: // // true AutoRenew *bool `json:"auto_renew,omitempty" xml:"auto_renew,omitempty"` // The auto-renewal duration for the nodes. // // example: // // 1 AutoRenewPeriod *int64 `json:"auto_renew_period,omitempty" xml:"auto_renew_period,omitempty"` // The billing method of the control plane node. // // example: // // PrePaid ChargeType *string `json:"charge_type,omitempty" xml:"charge_type,omitempty"` // Indicates whether to install CloudMonitor for the node. // // example: // // true CloudMonitorFlags *bool `json:"cloud_monitor_flags,omitempty" xml:"cloud_monitor_flags,omitempty"` // The CPU management policy of nodes. // // example: // // none CpuPolicy *string `json:"cpu_policy,omitempty" xml:"cpu_policy,omitempty"` // The ID of the deployment set. // // example: // // ds-bp10b35imuam5amw**** DeploymentsetId *string `json:"deploymentset_id,omitempty" xml:"deploymentset_id,omitempty"` // The ID of the image. // // example: // // aliyun_3_x64_20G_alibase_20240819.vhd ImageId *string `json:"image_id,omitempty" xml:"image_id,omitempty"` // The type of the OS image. // // example: // // AliyunLinux3 ImageType *string `json:"image_type,omitempty" xml:"image_type,omitempty"` // The instance types of the nodes. InstanceTypes []*string `json:"instance_types,omitempty" xml:"instance_types,omitempty" type:"Repeated"` // The name of the key pair. You must set key_pair or login_password. // // example: // // ack KeyPair *string `json:"key_pair,omitempty" xml:"key_pair,omitempty"` // The node port range. // // example: // // 30000-32767 NodePortRange *string `json:"node_port_range,omitempty" xml:"node_port_range,omitempty"` // The subscription duration. // // example: // // 1 Period *int64 `json:"period,omitempty" xml:"period,omitempty"` // The unit of the subscription duration. // // example: // // Month PeriodUnit *string `json:"period_unit,omitempty" xml:"period_unit,omitempty"` // The runtime. // // example: // // containerd Runtime *string `json:"runtime,omitempty" xml:"runtime,omitempty"` // Indicates whether to enable Alibaba Cloud Linux Security Hardening. // // example: // // true SecurityHardeningOs *bool `json:"security_hardening_os,omitempty" xml:"security_hardening_os,omitempty"` // The number of control plane nodes. // // example: // // 3 Size *int64 `json:"size,omitempty" xml:"size,omitempty"` // Indicates whether to enable Multi-Level Protection Scheme (MLPS) security hardening. // // example: // // false SocEnabled *bool `json:"soc_enabled,omitempty" xml:"soc_enabled,omitempty"` // Indicates whether to enable the burst feature for the system disk. // // example: // // true SystemDiskBurstingEnabled *bool `json:"system_disk_bursting_enabled,omitempty" xml:"system_disk_bursting_enabled,omitempty"` // The category of the system disk for nodes. // // example: // // cloud_essd SystemDiskCategory *string `json:"system_disk_category,omitempty" xml:"system_disk_category,omitempty"` // The performance level (PL) of the system disk that you want to use for the node. This parameter takes effect only for ESSDs. // // example: // // PL1 SystemDiskPerformanceLevel *string `json:"system_disk_performance_level,omitempty" xml:"system_disk_performance_level,omitempty"` // The preset read/write IOPS of the system disk. // // example: // // 1000 SystemDiskProvisionedIops *int64 `json:"system_disk_provisioned_iops,omitempty" xml:"system_disk_provisioned_iops,omitempty"` // The system disk size of the node. The value must be at least 40 GB. // // example: // // 120 SystemDiskSize *int64 `json:"system_disk_size,omitempty" xml:"system_disk_size,omitempty"` // The automatic snapshot policy of the node. // // example: // // sp-2zej1nogjvovnz4z**** SystemDiskSnapshotPolicyId *string `json:"system_disk_snapshot_policy_id,omitempty" xml:"system_disk_snapshot_policy_id,omitempty"` }
func (DescribeClusterDetailResponseBodyControlPlaneConfig) GoString ¶ added in v5.8.1
func (s DescribeClusterDetailResponseBodyControlPlaneConfig) GoString() string
func (*DescribeClusterDetailResponseBodyControlPlaneConfig) SetAutoRenew ¶ added in v5.8.1
func (s *DescribeClusterDetailResponseBodyControlPlaneConfig) SetAutoRenew(v bool) *DescribeClusterDetailResponseBodyControlPlaneConfig
func (*DescribeClusterDetailResponseBodyControlPlaneConfig) SetAutoRenewPeriod ¶ added in v5.8.1
func (s *DescribeClusterDetailResponseBodyControlPlaneConfig) SetAutoRenewPeriod(v int64) *DescribeClusterDetailResponseBodyControlPlaneConfig
func (*DescribeClusterDetailResponseBodyControlPlaneConfig) SetChargeType ¶ added in v5.8.1
func (s *DescribeClusterDetailResponseBodyControlPlaneConfig) SetChargeType(v string) *DescribeClusterDetailResponseBodyControlPlaneConfig
func (*DescribeClusterDetailResponseBodyControlPlaneConfig) SetCloudMonitorFlags ¶ added in v5.8.1
func (s *DescribeClusterDetailResponseBodyControlPlaneConfig) SetCloudMonitorFlags(v bool) *DescribeClusterDetailResponseBodyControlPlaneConfig
func (*DescribeClusterDetailResponseBodyControlPlaneConfig) SetCpuPolicy ¶ added in v5.8.1
func (s *DescribeClusterDetailResponseBodyControlPlaneConfig) SetCpuPolicy(v string) *DescribeClusterDetailResponseBodyControlPlaneConfig
func (*DescribeClusterDetailResponseBodyControlPlaneConfig) SetDeploymentsetId ¶ added in v5.8.1
func (s *DescribeClusterDetailResponseBodyControlPlaneConfig) SetDeploymentsetId(v string) *DescribeClusterDetailResponseBodyControlPlaneConfig
func (*DescribeClusterDetailResponseBodyControlPlaneConfig) SetImageId ¶ added in v5.8.1
func (s *DescribeClusterDetailResponseBodyControlPlaneConfig) SetImageId(v string) *DescribeClusterDetailResponseBodyControlPlaneConfig
func (*DescribeClusterDetailResponseBodyControlPlaneConfig) SetImageType ¶ added in v5.8.1
func (s *DescribeClusterDetailResponseBodyControlPlaneConfig) SetImageType(v string) *DescribeClusterDetailResponseBodyControlPlaneConfig
func (*DescribeClusterDetailResponseBodyControlPlaneConfig) SetInstanceTypes ¶ added in v5.8.1
func (s *DescribeClusterDetailResponseBodyControlPlaneConfig) SetInstanceTypes(v []*string) *DescribeClusterDetailResponseBodyControlPlaneConfig
func (*DescribeClusterDetailResponseBodyControlPlaneConfig) SetKeyPair ¶ added in v5.8.1
func (s *DescribeClusterDetailResponseBodyControlPlaneConfig) SetKeyPair(v string) *DescribeClusterDetailResponseBodyControlPlaneConfig
func (*DescribeClusterDetailResponseBodyControlPlaneConfig) SetNodePortRange ¶ added in v5.8.1
func (s *DescribeClusterDetailResponseBodyControlPlaneConfig) SetNodePortRange(v string) *DescribeClusterDetailResponseBodyControlPlaneConfig
func (*DescribeClusterDetailResponseBodyControlPlaneConfig) SetPeriodUnit ¶ added in v5.8.1
func (s *DescribeClusterDetailResponseBodyControlPlaneConfig) SetPeriodUnit(v string) *DescribeClusterDetailResponseBodyControlPlaneConfig
func (*DescribeClusterDetailResponseBodyControlPlaneConfig) SetRuntime ¶ added in v5.8.1
func (s *DescribeClusterDetailResponseBodyControlPlaneConfig) SetRuntime(v string) *DescribeClusterDetailResponseBodyControlPlaneConfig
func (*DescribeClusterDetailResponseBodyControlPlaneConfig) SetSecurityHardeningOs ¶ added in v5.8.1
func (s *DescribeClusterDetailResponseBodyControlPlaneConfig) SetSecurityHardeningOs(v bool) *DescribeClusterDetailResponseBodyControlPlaneConfig
func (*DescribeClusterDetailResponseBodyControlPlaneConfig) SetSocEnabled ¶ added in v5.8.1
func (s *DescribeClusterDetailResponseBodyControlPlaneConfig) SetSocEnabled(v bool) *DescribeClusterDetailResponseBodyControlPlaneConfig
func (*DescribeClusterDetailResponseBodyControlPlaneConfig) SetSystemDiskBurstingEnabled ¶ added in v5.8.1
func (s *DescribeClusterDetailResponseBodyControlPlaneConfig) SetSystemDiskBurstingEnabled(v bool) *DescribeClusterDetailResponseBodyControlPlaneConfig
func (*DescribeClusterDetailResponseBodyControlPlaneConfig) SetSystemDiskCategory ¶ added in v5.8.1
func (s *DescribeClusterDetailResponseBodyControlPlaneConfig) SetSystemDiskCategory(v string) *DescribeClusterDetailResponseBodyControlPlaneConfig
func (*DescribeClusterDetailResponseBodyControlPlaneConfig) SetSystemDiskPerformanceLevel ¶ added in v5.8.1
func (s *DescribeClusterDetailResponseBodyControlPlaneConfig) SetSystemDiskPerformanceLevel(v string) *DescribeClusterDetailResponseBodyControlPlaneConfig
func (*DescribeClusterDetailResponseBodyControlPlaneConfig) SetSystemDiskProvisionedIops ¶ added in v5.8.1
func (s *DescribeClusterDetailResponseBodyControlPlaneConfig) SetSystemDiskProvisionedIops(v int64) *DescribeClusterDetailResponseBodyControlPlaneConfig
func (*DescribeClusterDetailResponseBodyControlPlaneConfig) SetSystemDiskSize ¶ added in v5.8.1
func (s *DescribeClusterDetailResponseBodyControlPlaneConfig) SetSystemDiskSize(v int64) *DescribeClusterDetailResponseBodyControlPlaneConfig
func (*DescribeClusterDetailResponseBodyControlPlaneConfig) SetSystemDiskSnapshotPolicyId ¶ added in v5.8.1
func (s *DescribeClusterDetailResponseBodyControlPlaneConfig) SetSystemDiskSnapshotPolicyId(v string) *DescribeClusterDetailResponseBodyControlPlaneConfig
func (DescribeClusterDetailResponseBodyControlPlaneConfig) String ¶ added in v5.8.1
func (s DescribeClusterDetailResponseBodyControlPlaneConfig) String() string
type DescribeClusterDetailResponseBodyOperationPolicy ¶ added in v5.7.8
type DescribeClusterDetailResponseBodyOperationPolicy struct { // The configurations of auto cluster update. ClusterAutoUpgrade *DescribeClusterDetailResponseBodyOperationPolicyClusterAutoUpgrade `json:"cluster_auto_upgrade,omitempty" xml:"cluster_auto_upgrade,omitempty" type:"Struct"` }
func (DescribeClusterDetailResponseBodyOperationPolicy) GoString ¶ added in v5.7.8
func (s DescribeClusterDetailResponseBodyOperationPolicy) GoString() string
func (*DescribeClusterDetailResponseBodyOperationPolicy) SetClusterAutoUpgrade ¶ added in v5.7.8
func (DescribeClusterDetailResponseBodyOperationPolicy) String ¶ added in v5.7.8
func (s DescribeClusterDetailResponseBodyOperationPolicy) String() string
type DescribeClusterDetailResponseBodyOperationPolicyClusterAutoUpgrade ¶ added in v5.7.8
type DescribeClusterDetailResponseBodyOperationPolicyClusterAutoUpgrade struct { // The frequency of auto cluster updates. For more information, see [Update frequency](https://help.aliyun.com/document_detail/2712866.html). // // Valid values: // // - patch: specifies the latest patch version. // // - stable: specifies the second-latest minor version. // // - rapid: specifies the latest minor version. // // example: // // patch Channel *string `json:"channel,omitempty" xml:"channel,omitempty"` // Specifies whether to enable auto cluster update. // // example: // // true Enabled *bool `json:"enabled,omitempty" xml:"enabled,omitempty"` }
func (DescribeClusterDetailResponseBodyOperationPolicyClusterAutoUpgrade) GoString ¶ added in v5.7.8
func (s DescribeClusterDetailResponseBodyOperationPolicyClusterAutoUpgrade) GoString() string
func (*DescribeClusterDetailResponseBodyOperationPolicyClusterAutoUpgrade) SetChannel ¶ added in v5.7.8
func (*DescribeClusterDetailResponseBodyOperationPolicyClusterAutoUpgrade) SetEnabled ¶ added in v5.7.8
func (DescribeClusterDetailResponseBodyOperationPolicyClusterAutoUpgrade) String ¶ added in v5.7.8
func (s DescribeClusterDetailResponseBodyOperationPolicyClusterAutoUpgrade) String() string
type DescribeClusterEventsRequest ¶
type DescribeClusterEventsRequest struct { // The number of the page to return. // // example: // // 1 PageNumber *int64 `json:"page_number,omitempty" xml:"page_number,omitempty"` // The number of entries per page. Valid values: 1 to 50. Default value: 50. // // example: // // 50 PageSize *int64 `json:"page_size,omitempty" xml:"page_size,omitempty"` // The ID of the query task. // // example: // // T-xascadasd***** TaskId *string `json:"task_id,omitempty" xml:"task_id,omitempty"` }
func (DescribeClusterEventsRequest) GoString ¶
func (s DescribeClusterEventsRequest) GoString() string
func (*DescribeClusterEventsRequest) SetPageNumber ¶
func (s *DescribeClusterEventsRequest) SetPageNumber(v int64) *DescribeClusterEventsRequest
func (*DescribeClusterEventsRequest) SetPageSize ¶
func (s *DescribeClusterEventsRequest) SetPageSize(v int64) *DescribeClusterEventsRequest
func (*DescribeClusterEventsRequest) SetTaskId ¶
func (s *DescribeClusterEventsRequest) SetTaskId(v string) *DescribeClusterEventsRequest
func (DescribeClusterEventsRequest) String ¶
func (s DescribeClusterEventsRequest) String() 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 (s DescribeClusterEventsResponse) GoString() string
func (*DescribeClusterEventsResponse) SetBody ¶
func (s *DescribeClusterEventsResponse) SetBody(v *DescribeClusterEventsResponseBody) *DescribeClusterEventsResponse
func (*DescribeClusterEventsResponse) SetHeaders ¶
func (s *DescribeClusterEventsResponse) SetHeaders(v map[string]*string) *DescribeClusterEventsResponse
func (*DescribeClusterEventsResponse) SetStatusCode ¶
func (s *DescribeClusterEventsResponse) SetStatusCode(v int32) *DescribeClusterEventsResponse
func (DescribeClusterEventsResponse) String ¶
func (s DescribeClusterEventsResponse) String() 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 (s DescribeClusterEventsResponseBody) GoString() string
func (*DescribeClusterEventsResponseBody) SetEvents ¶
func (s *DescribeClusterEventsResponseBody) SetEvents(v []*DescribeClusterEventsResponseBodyEvents) *DescribeClusterEventsResponseBody
func (*DescribeClusterEventsResponseBody) SetPageInfo ¶
func (s *DescribeClusterEventsResponseBody) SetPageInfo(v *DescribeClusterEventsResponseBodyPageInfo) *DescribeClusterEventsResponseBody
func (DescribeClusterEventsResponseBody) String ¶
func (s DescribeClusterEventsResponseBody) String() string
type DescribeClusterEventsResponseBodyEvents ¶
type DescribeClusterEventsResponseBodyEvents struct { // The ID of the cluster. // // example: // // c82e6987e2961451182edacd74faf**** 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. // // example: // // e-9ad04f72-8ee7-46bf-a02c-e4a06b39**** EventId *string `json:"event_id,omitempty" xml:"event_id,omitempty"` // The event source. // // example: // // cluster Source *string `json:"source,omitempty" xml:"source,omitempty"` // The subject related to the event. // // example: // // npdd89dc2b76c04f14b06774883b****** Subject *string `json:"subject,omitempty" xml:"subject,omitempty"` // The time when the event started. // // example: // // 2020-12-01T17:31:00Z Time *string `json:"time,omitempty" xml:"time,omitempty"` // The type of event. Valid values: // // example: // // nodepool_update Type *string `json:"type,omitempty" xml:"type,omitempty"` }
func (DescribeClusterEventsResponseBodyEvents) GoString ¶
func (s DescribeClusterEventsResponseBodyEvents) GoString() string
func (*DescribeClusterEventsResponseBodyEvents) SetClusterId ¶
func (s *DescribeClusterEventsResponseBodyEvents) SetClusterId(v string) *DescribeClusterEventsResponseBodyEvents
func (*DescribeClusterEventsResponseBodyEvents) SetEventId ¶
func (s *DescribeClusterEventsResponseBodyEvents) SetEventId(v string) *DescribeClusterEventsResponseBodyEvents
func (*DescribeClusterEventsResponseBodyEvents) SetSource ¶
func (s *DescribeClusterEventsResponseBodyEvents) SetSource(v string) *DescribeClusterEventsResponseBodyEvents
func (*DescribeClusterEventsResponseBodyEvents) SetSubject ¶
func (s *DescribeClusterEventsResponseBodyEvents) SetSubject(v string) *DescribeClusterEventsResponseBodyEvents
func (*DescribeClusterEventsResponseBodyEvents) SetTime ¶
func (s *DescribeClusterEventsResponseBodyEvents) SetTime(v string) *DescribeClusterEventsResponseBodyEvents
func (*DescribeClusterEventsResponseBodyEvents) SetType ¶
func (s *DescribeClusterEventsResponseBodyEvents) SetType(v string) *DescribeClusterEventsResponseBodyEvents
func (DescribeClusterEventsResponseBodyEvents) String ¶
func (s DescribeClusterEventsResponseBodyEvents) String() string
type DescribeClusterEventsResponseBodyEventsData ¶
type DescribeClusterEventsResponseBodyEventsData struct { // The severity level of the event. // // Valid values: // // - warning // // <!-- --> // // <!-- --> // // <!-- --> // // - error // // <!-- --> // // <!-- --> // // <!-- --> // // - info // // <!-- --> // // <!-- --> // // <!-- --> // // example: // // info Level *string `json:"level,omitempty" xml:"level,omitempty"` // The details of the event. // // example: // // Start to upgrade NodePool nodePool/npdd89dc2b76c04f14b06774883b****** Message *string `json:"message,omitempty" xml:"message,omitempty"` // The status of the event. // // example: // // Started Reason *string `json:"reason,omitempty" xml:"reason,omitempty"` }
func (DescribeClusterEventsResponseBodyEventsData) GoString ¶
func (s DescribeClusterEventsResponseBodyEventsData) GoString() string
func (*DescribeClusterEventsResponseBodyEventsData) SetLevel ¶
func (s *DescribeClusterEventsResponseBodyEventsData) SetLevel(v string) *DescribeClusterEventsResponseBodyEventsData
func (*DescribeClusterEventsResponseBodyEventsData) SetMessage ¶
func (s *DescribeClusterEventsResponseBodyEventsData) SetMessage(v string) *DescribeClusterEventsResponseBodyEventsData
func (*DescribeClusterEventsResponseBodyEventsData) SetReason ¶
func (s *DescribeClusterEventsResponseBodyEventsData) SetReason(v string) *DescribeClusterEventsResponseBodyEventsData
func (DescribeClusterEventsResponseBodyEventsData) String ¶
func (s DescribeClusterEventsResponseBodyEventsData) String() string
type DescribeClusterEventsResponseBodyPageInfo ¶
type DescribeClusterEventsResponseBodyPageInfo struct { // The number of the page to return. // // example: // // 1 PageNumber *int64 `json:"page_number,omitempty" xml:"page_number,omitempty"` // The number of entries per page. Valid values: 1 to 50. Default value: 50. // // example: // // 50 PageSize *int64 `json:"page_size,omitempty" xml:"page_size,omitempty"` // The total number of entries returned. // // example: // // 3 TotalCount *int64 `json:"total_count,omitempty" xml:"total_count,omitempty"` }
func (DescribeClusterEventsResponseBodyPageInfo) GoString ¶
func (s DescribeClusterEventsResponseBodyPageInfo) GoString() string
func (*DescribeClusterEventsResponseBodyPageInfo) SetPageNumber ¶
func (s *DescribeClusterEventsResponseBodyPageInfo) SetPageNumber(v int64) *DescribeClusterEventsResponseBodyPageInfo
func (*DescribeClusterEventsResponseBodyPageInfo) SetPageSize ¶
func (s *DescribeClusterEventsResponseBodyPageInfo) SetPageSize(v int64) *DescribeClusterEventsResponseBodyPageInfo
func (*DescribeClusterEventsResponseBodyPageInfo) SetTotalCount ¶
func (s *DescribeClusterEventsResponseBodyPageInfo) SetTotalCount(v int64) *DescribeClusterEventsResponseBodyPageInfo
func (DescribeClusterEventsResponseBodyPageInfo) String ¶
func (s DescribeClusterEventsResponseBodyPageInfo) String() 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 (s *DescribeClusterLogsResponse) SetBody(v []*DescribeClusterLogsResponseBody) *DescribeClusterLogsResponse
func (*DescribeClusterLogsResponse) SetHeaders ¶
func (s *DescribeClusterLogsResponse) SetHeaders(v map[string]*string) *DescribeClusterLogsResponse
func (*DescribeClusterLogsResponse) SetStatusCode ¶
func (s *DescribeClusterLogsResponse) SetStatusCode(v int32) *DescribeClusterLogsResponse
func (DescribeClusterLogsResponse) String ¶
func (s DescribeClusterLogsResponse) String() string
type DescribeClusterLogsResponseBody ¶
type DescribeClusterLogsResponseBody struct { // The ID of the log entry. // // example: // // 590749245 ID *int64 `json:"ID,omitempty" xml:"ID,omitempty"` // The cluster ID. // // example: // // c23421cfa74454bc8b37163fd19af*** ClusterId *string `json:"cluster_id,omitempty" xml:"cluster_id,omitempty"` // The log content. // // example: // // start to update cluster status to CREATE_COMPLETE ClusterLog *string `json:"cluster_log,omitempty" xml:"cluster_log,omitempty"` // The time when the log entry was generated. // // example: // // 2020-09-11T10:11:51+08:00 Created *string `json:"created,omitempty" xml:"created,omitempty"` // The time when the log entry was updated. // // example: // // 2020-09-11T10:11:51+08:00 Updated *string `json:"updated,omitempty" xml:"updated,omitempty"` }
func (DescribeClusterLogsResponseBody) GoString ¶
func (s DescribeClusterLogsResponseBody) GoString() string
func (*DescribeClusterLogsResponseBody) SetClusterId ¶
func (s *DescribeClusterLogsResponseBody) SetClusterId(v string) *DescribeClusterLogsResponseBody
func (*DescribeClusterLogsResponseBody) SetClusterLog ¶
func (s *DescribeClusterLogsResponseBody) SetClusterLog(v string) *DescribeClusterLogsResponseBody
func (*DescribeClusterLogsResponseBody) SetCreated ¶
func (s *DescribeClusterLogsResponseBody) SetCreated(v string) *DescribeClusterLogsResponseBody
func (*DescribeClusterLogsResponseBody) SetID ¶
func (s *DescribeClusterLogsResponseBody) SetID(v int64) *DescribeClusterLogsResponseBody
func (*DescribeClusterLogsResponseBody) SetUpdated ¶
func (s *DescribeClusterLogsResponseBody) SetUpdated(v string) *DescribeClusterLogsResponseBody
func (DescribeClusterLogsResponseBody) String ¶
func (s DescribeClusterLogsResponseBody) String() 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 (s DescribeClusterNodePoolDetailResponse) GoString() string
func (*DescribeClusterNodePoolDetailResponse) SetHeaders ¶
func (s *DescribeClusterNodePoolDetailResponse) SetHeaders(v map[string]*string) *DescribeClusterNodePoolDetailResponse
func (*DescribeClusterNodePoolDetailResponse) SetStatusCode ¶
func (s *DescribeClusterNodePoolDetailResponse) SetStatusCode(v int32) *DescribeClusterNodePoolDetailResponse
func (DescribeClusterNodePoolDetailResponse) String ¶
func (s DescribeClusterNodePoolDetailResponse) String() 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"` // Indicates whether the pods in the edge node pool can use the host network. // // `true`: sets to host network. // // `false`: sets to container network. // // example: // // true HostNetwork *bool `json:"host_network,omitempty" xml:"host_network,omitempty"` // 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. This parameter takes effect only if you set the type parameter of the node pool to edge. Valid values: // // `basic`: Internet. // // `private`: private network. // // example: // // improved InterconnectMode *string `json:"interconnect_mode,omitempty" xml:"interconnect_mode,omitempty"` // Specifies whether all nodes in the edge node pool can communicate with each other at Layer 3. // // `true`: The nodes in the edge node pool can communicate with each other at Layer 3. // // `false`: The nodes in the edge node pool cannot communicate with each other at Layer 3. // // example: // // true Intranet *bool `json:"intranet,omitempty" xml:"intranet,omitempty"` // The configurations of the cluster in which 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"` // This parameter is deprecated. // // The maximum number of nodes allowed in an edge node pool. // // example: // // 10 MaxNodes *int64 `json:"max_nodes,omitempty" xml:"max_nodes,omitempty"` // The node configurations. 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 configurations of the scaling group used by the node pool. 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 (s DescribeClusterNodePoolDetailResponseBody) GoString() string
func (*DescribeClusterNodePoolDetailResponseBody) SetAutoScaling ¶
func (*DescribeClusterNodePoolDetailResponseBody) SetHostNetwork ¶ added in v5.7.10
func (s *DescribeClusterNodePoolDetailResponseBody) SetHostNetwork(v bool) *DescribeClusterNodePoolDetailResponseBody
func (*DescribeClusterNodePoolDetailResponseBody) SetInterconnectConfig ¶
func (s *DescribeClusterNodePoolDetailResponseBody) SetInterconnectConfig(v *DescribeClusterNodePoolDetailResponseBodyInterconnectConfig) *DescribeClusterNodePoolDetailResponseBody
func (*DescribeClusterNodePoolDetailResponseBody) SetInterconnectMode ¶
func (s *DescribeClusterNodePoolDetailResponseBody) SetInterconnectMode(v string) *DescribeClusterNodePoolDetailResponseBody
func (*DescribeClusterNodePoolDetailResponseBody) SetIntranet ¶ added in v5.7.10
func (s *DescribeClusterNodePoolDetailResponseBody) SetIntranet(v bool) *DescribeClusterNodePoolDetailResponseBody
func (*DescribeClusterNodePoolDetailResponseBody) SetKubernetesConfig ¶
func (s *DescribeClusterNodePoolDetailResponseBody) SetKubernetesConfig(v *DescribeClusterNodePoolDetailResponseBodyKubernetesConfig) *DescribeClusterNodePoolDetailResponseBody
func (*DescribeClusterNodePoolDetailResponseBody) SetManagement ¶
func (*DescribeClusterNodePoolDetailResponseBody) SetMaxNodes ¶
func (s *DescribeClusterNodePoolDetailResponseBody) SetMaxNodes(v int64) *DescribeClusterNodePoolDetailResponseBody
func (*DescribeClusterNodePoolDetailResponseBody) SetNodeConfig ¶
func (*DescribeClusterNodePoolDetailResponseBody) SetNodepoolInfo ¶
func (*DescribeClusterNodePoolDetailResponseBody) SetScalingGroup ¶
func (*DescribeClusterNodePoolDetailResponseBody) SetTeeConfig ¶
func (DescribeClusterNodePoolDetailResponseBody) String ¶
func (s DescribeClusterNodePoolDetailResponseBody) String() string
type DescribeClusterNodePoolDetailResponseBodyAutoScaling ¶
type DescribeClusterNodePoolDetailResponseBodyAutoScaling struct { // The maximum bandwidth of the elastic IP address (EIP). // // example: // // 5 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. // // example: // // PayByBandwidth 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. // // example: // // true 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. // // example: // // true 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. // // example: // // 10 MaxInstances *int64 `json:"max_instances,omitempty" xml:"max_instances,omitempty"` // The minimum number of ECS instances that must be kept in the node pool. // // example: // // 1 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. // // example: // // cpu Type *string `json:"type,omitempty" xml:"type,omitempty"` }
func (DescribeClusterNodePoolDetailResponseBodyAutoScaling) GoString ¶
func (s DescribeClusterNodePoolDetailResponseBodyAutoScaling) GoString() string
func (*DescribeClusterNodePoolDetailResponseBodyAutoScaling) SetEipBandwidth ¶
func (s *DescribeClusterNodePoolDetailResponseBodyAutoScaling) SetEipBandwidth(v int64) *DescribeClusterNodePoolDetailResponseBodyAutoScaling
func (*DescribeClusterNodePoolDetailResponseBodyAutoScaling) SetEipInternetChargeType ¶
func (s *DescribeClusterNodePoolDetailResponseBodyAutoScaling) SetEipInternetChargeType(v string) *DescribeClusterNodePoolDetailResponseBodyAutoScaling
func (*DescribeClusterNodePoolDetailResponseBodyAutoScaling) SetIsBondEip ¶
func (s *DescribeClusterNodePoolDetailResponseBodyAutoScaling) SetIsBondEip(v bool) *DescribeClusterNodePoolDetailResponseBodyAutoScaling
func (*DescribeClusterNodePoolDetailResponseBodyAutoScaling) SetMaxInstances ¶
func (s *DescribeClusterNodePoolDetailResponseBodyAutoScaling) SetMaxInstances(v int64) *DescribeClusterNodePoolDetailResponseBodyAutoScaling
func (*DescribeClusterNodePoolDetailResponseBodyAutoScaling) SetMinInstances ¶
func (s *DescribeClusterNodePoolDetailResponseBodyAutoScaling) SetMinInstances(v int64) *DescribeClusterNodePoolDetailResponseBodyAutoScaling
func (DescribeClusterNodePoolDetailResponseBodyAutoScaling) String ¶
func (s DescribeClusterNodePoolDetailResponseBodyAutoScaling) String() string
type DescribeClusterNodePoolDetailResponseBodyInterconnectConfig ¶
type DescribeClusterNodePoolDetailResponseBodyInterconnectConfig struct { // The bandwidth of the enhanced edge node pool. Unit: Mbit/s. // // example: // // 10 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. // // example: // // ccn-qm5i0i0q9yi******* 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. // // example: // // cn-shanghai 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. // // example: // // cen-ey9k9nfhz0f******* 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. // // example: // // 1 ImprovedPeriod *string `json:"improved_period,omitempty" xml:"improved_period,omitempty"` }
func (DescribeClusterNodePoolDetailResponseBodyInterconnectConfig) GoString ¶
func (s DescribeClusterNodePoolDetailResponseBodyInterconnectConfig) GoString() string
func (*DescribeClusterNodePoolDetailResponseBodyInterconnectConfig) SetBandwidth ¶
func (*DescribeClusterNodePoolDetailResponseBodyInterconnectConfig) SetCcnRegionId ¶
func (s *DescribeClusterNodePoolDetailResponseBodyInterconnectConfig) SetCcnRegionId(v string) *DescribeClusterNodePoolDetailResponseBodyInterconnectConfig
func (*DescribeClusterNodePoolDetailResponseBodyInterconnectConfig) SetImprovedPeriod ¶
func (s *DescribeClusterNodePoolDetailResponseBodyInterconnectConfig) SetImprovedPeriod(v string) *DescribeClusterNodePoolDetailResponseBodyInterconnectConfig
func (DescribeClusterNodePoolDetailResponseBodyInterconnectConfig) String ¶
func (s DescribeClusterNodePoolDetailResponseBodyInterconnectConfig) String() 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. // // example: // // true 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. // // example: // // none CpuPolicy *string `json:"cpu_policy,omitempty" xml:"cpu_policy,omitempty"` // The labels that you want to add to the nodes in the cluster. 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. // // - 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. // // example: // // customized,test.,5,.com NodeNameMode *string `json:"node_name_mode,omitempty" xml:"node_name_mode,omitempty"` // The user-defined script that is executed before nodes are initialized. For more information, see [Generate user-defined data](https://help.aliyun.com/document_detail/49121.html). // // example: // // dGhpcyBpcyBhIGV4YW1wbGU PreUserData *string `json:"pre_user_data,omitempty" xml:"pre_user_data,omitempty"` // The name of the container runtime. // // example: // // docker Runtime *string `json:"runtime,omitempty" xml:"runtime,omitempty"` // The version of the container runtime. // // example: // // 19.03.5 RuntimeVersion *string `json:"runtime_version,omitempty" xml:"runtime_version,omitempty"` // The taints that you want to add to nodes. Taints can be used together with tolerations to prevent pods from being scheduled to specific 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"` // Whether the expanded node is schedulable. // // example: // // true Unschedulable *bool `json:"unschedulable,omitempty" xml:"unschedulable,omitempty"` // The custom script to be executed after nodes in the node pool are initialized. For more information, see [Generate user-defined data](https://help.aliyun.com/document_detail/49121.html). // // example: // // IyEvYmluL3NoCmVjaG8gIkhlbGxvIEFDSyEi UserData *string `json:"user_data,omitempty" xml:"user_data,omitempty"` }
func (DescribeClusterNodePoolDetailResponseBodyKubernetesConfig) GoString ¶
func (s DescribeClusterNodePoolDetailResponseBodyKubernetesConfig) GoString() string
func (*DescribeClusterNodePoolDetailResponseBodyKubernetesConfig) SetCmsEnabled ¶
func (s *DescribeClusterNodePoolDetailResponseBodyKubernetesConfig) SetCmsEnabled(v bool) *DescribeClusterNodePoolDetailResponseBodyKubernetesConfig
func (*DescribeClusterNodePoolDetailResponseBodyKubernetesConfig) SetCpuPolicy ¶
func (*DescribeClusterNodePoolDetailResponseBodyKubernetesConfig) SetNodeNameMode ¶
func (s *DescribeClusterNodePoolDetailResponseBodyKubernetesConfig) SetNodeNameMode(v string) *DescribeClusterNodePoolDetailResponseBodyKubernetesConfig
func (*DescribeClusterNodePoolDetailResponseBodyKubernetesConfig) SetPreUserData ¶ added in v5.7.7
func (s *DescribeClusterNodePoolDetailResponseBodyKubernetesConfig) SetPreUserData(v string) *DescribeClusterNodePoolDetailResponseBodyKubernetesConfig
func (*DescribeClusterNodePoolDetailResponseBodyKubernetesConfig) SetRuntime ¶
func (*DescribeClusterNodePoolDetailResponseBodyKubernetesConfig) SetRuntimeVersion ¶
func (s *DescribeClusterNodePoolDetailResponseBodyKubernetesConfig) SetRuntimeVersion(v string) *DescribeClusterNodePoolDetailResponseBodyKubernetesConfig
func (*DescribeClusterNodePoolDetailResponseBodyKubernetesConfig) SetUnschedulable ¶
func (s *DescribeClusterNodePoolDetailResponseBodyKubernetesConfig) SetUnschedulable(v bool) *DescribeClusterNodePoolDetailResponseBodyKubernetesConfig
func (*DescribeClusterNodePoolDetailResponseBodyKubernetesConfig) SetUserData ¶
func (DescribeClusterNodePoolDetailResponseBodyKubernetesConfig) String ¶
func (s DescribeClusterNodePoolDetailResponseBodyKubernetesConfig) String() 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. // // example: // // true AutoRepair *bool `json:"auto_repair,omitempty" xml:"auto_repair,omitempty"` // Automatic repair node policy. AutoRepairPolicy *DescribeClusterNodePoolDetailResponseBodyManagementAutoRepairPolicy `json:"auto_repair_policy,omitempty" xml:"auto_repair_policy,omitempty" type:"Struct"` // Whether to automatically upgrade. // // example: // // true AutoUpgrade *bool `json:"auto_upgrade,omitempty" xml:"auto_upgrade,omitempty"` // Automatic upgrade policy. AutoUpgradePolicy *DescribeClusterNodePoolDetailResponseBodyManagementAutoUpgradePolicy `json:"auto_upgrade_policy,omitempty" xml:"auto_upgrade_policy,omitempty" type:"Struct"` // Whether to automatically fix CVEs. // // example: // // true AutoVulFix *bool `json:"auto_vul_fix,omitempty" xml:"auto_vul_fix,omitempty"` // Automatically repair CVE policies. 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. // // example: // // true 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 (s DescribeClusterNodePoolDetailResponseBodyManagement) GoString() string
func (*DescribeClusterNodePoolDetailResponseBodyManagement) SetAutoRepair ¶
func (s *DescribeClusterNodePoolDetailResponseBodyManagement) SetAutoRepair(v bool) *DescribeClusterNodePoolDetailResponseBodyManagement
func (*DescribeClusterNodePoolDetailResponseBodyManagement) SetAutoRepairPolicy ¶
func (*DescribeClusterNodePoolDetailResponseBodyManagement) SetAutoUpgrade ¶
func (s *DescribeClusterNodePoolDetailResponseBodyManagement) SetAutoUpgrade(v bool) *DescribeClusterNodePoolDetailResponseBodyManagement
func (*DescribeClusterNodePoolDetailResponseBodyManagement) SetAutoUpgradePolicy ¶
func (*DescribeClusterNodePoolDetailResponseBodyManagement) SetAutoVulFix ¶
func (s *DescribeClusterNodePoolDetailResponseBodyManagement) SetAutoVulFix(v bool) *DescribeClusterNodePoolDetailResponseBodyManagement
func (*DescribeClusterNodePoolDetailResponseBodyManagement) SetAutoVulFixPolicy ¶
func (*DescribeClusterNodePoolDetailResponseBodyManagement) SetUpgradeConfig ¶
func (DescribeClusterNodePoolDetailResponseBodyManagement) String ¶
func (s DescribeClusterNodePoolDetailResponseBodyManagement) String() string
type DescribeClusterNodePoolDetailResponseBodyManagementAutoRepairPolicy ¶
type DescribeClusterNodePoolDetailResponseBodyManagementAutoRepairPolicy struct { // Whether to allow restarting nodes. // // example: // // true RestartNode *bool `json:"restart_node,omitempty" xml:"restart_node,omitempty"` }
func (DescribeClusterNodePoolDetailResponseBodyManagementAutoRepairPolicy) GoString ¶
func (s DescribeClusterNodePoolDetailResponseBodyManagementAutoRepairPolicy) GoString() string
func (*DescribeClusterNodePoolDetailResponseBodyManagementAutoRepairPolicy) SetRestartNode ¶
func (DescribeClusterNodePoolDetailResponseBodyManagementAutoRepairPolicy) String ¶
func (s DescribeClusterNodePoolDetailResponseBodyManagementAutoRepairPolicy) String() string
type DescribeClusterNodePoolDetailResponseBodyManagementAutoUpgradePolicy ¶
type DescribeClusterNodePoolDetailResponseBodyManagementAutoUpgradePolicy struct { // Whether to allow automatic upgrading of kubelet. // // example: // // true AutoUpgradeKubelet *bool `json:"auto_upgrade_kubelet,omitempty" xml:"auto_upgrade_kubelet,omitempty"` }
func (DescribeClusterNodePoolDetailResponseBodyManagementAutoUpgradePolicy) GoString ¶
func (s DescribeClusterNodePoolDetailResponseBodyManagementAutoUpgradePolicy) GoString() string
func (*DescribeClusterNodePoolDetailResponseBodyManagementAutoUpgradePolicy) SetAutoUpgradeKubelet ¶
func (s *DescribeClusterNodePoolDetailResponseBodyManagementAutoUpgradePolicy) SetAutoUpgradeKubelet(v bool) *DescribeClusterNodePoolDetailResponseBodyManagementAutoUpgradePolicy
func (DescribeClusterNodePoolDetailResponseBodyManagementAutoUpgradePolicy) String ¶
func (s DescribeClusterNodePoolDetailResponseBodyManagementAutoUpgradePolicy) String() string
type DescribeClusterNodePoolDetailResponseBodyManagementAutoVulFixPolicy ¶
type DescribeClusterNodePoolDetailResponseBodyManagementAutoVulFixPolicy struct { // Whether to allow restarting nodes. // // example: // // true RestartNode *bool `json:"restart_node,omitempty" xml:"restart_node,omitempty"` // The vulnerability levels allowed for auto-fixing, separated by commas. // // example: // // asap,nntf VulLevel *string `json:"vul_level,omitempty" xml:"vul_level,omitempty"` }
func (DescribeClusterNodePoolDetailResponseBodyManagementAutoVulFixPolicy) GoString ¶
func (s DescribeClusterNodePoolDetailResponseBodyManagementAutoVulFixPolicy) GoString() string
func (*DescribeClusterNodePoolDetailResponseBodyManagementAutoVulFixPolicy) SetRestartNode ¶
func (*DescribeClusterNodePoolDetailResponseBodyManagementAutoVulFixPolicy) SetVulLevel ¶
func (DescribeClusterNodePoolDetailResponseBodyManagementAutoVulFixPolicy) String ¶
func (s DescribeClusterNodePoolDetailResponseBodyManagementAutoVulFixPolicy) String() string
type DescribeClusterNodePoolDetailResponseBodyManagementUpgradeConfig ¶
type DescribeClusterNodePoolDetailResponseBodyManagementUpgradeConfig struct { // Indicates whether auto update is enabled. Valid values: // // - `true`: Auto update is enabled. // // - `false`: Auto update is disabled. // // example: // // true AutoUpgrade *bool `json:"auto_upgrade,omitempty" xml:"auto_upgrade,omitempty"` // // Default value: 1. // // example: // // 1 MaxUnavailable *int64 `json:"max_unavailable,omitempty" xml:"max_unavailable,omitempty"` // The number of additional nodes. // // example: // // 5 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`. // // example: // // 50 SurgePercentage *int64 `json:"surge_percentage,omitempty" xml:"surge_percentage,omitempty"` }
func (DescribeClusterNodePoolDetailResponseBodyManagementUpgradeConfig) GoString ¶
func (s DescribeClusterNodePoolDetailResponseBodyManagementUpgradeConfig) GoString() string
func (*DescribeClusterNodePoolDetailResponseBodyManagementUpgradeConfig) SetAutoUpgrade ¶
func (*DescribeClusterNodePoolDetailResponseBodyManagementUpgradeConfig) SetMaxUnavailable ¶
func (s *DescribeClusterNodePoolDetailResponseBodyManagementUpgradeConfig) SetMaxUnavailable(v int64) *DescribeClusterNodePoolDetailResponseBodyManagementUpgradeConfig
func (*DescribeClusterNodePoolDetailResponseBodyManagementUpgradeConfig) SetSurgePercentage ¶
func (s *DescribeClusterNodePoolDetailResponseBodyManagementUpgradeConfig) SetSurgePercentage(v int64) *DescribeClusterNodePoolDetailResponseBodyManagementUpgradeConfig
func (DescribeClusterNodePoolDetailResponseBodyManagementUpgradeConfig) String ¶
func (s DescribeClusterNodePoolDetailResponseBodyManagementUpgradeConfig) String() string
type DescribeClusterNodePoolDetailResponseBodyNodeConfig ¶
type DescribeClusterNodePoolDetailResponseBodyNodeConfig struct { // The configurations of the kubelet. KubeletConfiguration *KubeletConfig `json:"kubelet_configuration,omitempty" xml:"kubelet_configuration,omitempty"` }
func (DescribeClusterNodePoolDetailResponseBodyNodeConfig) GoString ¶
func (s DescribeClusterNodePoolDetailResponseBodyNodeConfig) GoString() string
func (*DescribeClusterNodePoolDetailResponseBodyNodeConfig) SetKubeletConfiguration ¶
func (s *DescribeClusterNodePoolDetailResponseBodyNodeConfig) SetKubeletConfiguration(v *KubeletConfig) *DescribeClusterNodePoolDetailResponseBodyNodeConfig
func (DescribeClusterNodePoolDetailResponseBodyNodeConfig) String ¶
func (s DescribeClusterNodePoolDetailResponseBodyNodeConfig) String() string
type DescribeClusterNodePoolDetailResponseBodyNodepoolInfo ¶
type DescribeClusterNodePoolDetailResponseBodyNodepoolInfo struct { // The time when the node pool was created. // // example: // // 2020-09-27T19:14:09.156823496+08:00 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. // // example: // // true 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 (-). // // example: // // default-nodepool Name *string `json:"name,omitempty" xml:"name,omitempty"` // The node pool ID. // // example: // // np615c0e0966124216a0412e10afe0**** NodepoolId *string `json:"nodepool_id,omitempty" xml:"nodepool_id,omitempty"` // The region ID. // // example: // // cn-beijing RegionId *string `json:"region_id,omitempty" xml:"region_id,omitempty"` // The ID of the resource group. // // example: // // rg-acfmyvw3wjmb**** ResourceGroupId *string `json:"resource_group_id,omitempty" xml:"resource_group_id,omitempty"` // The type of node pool. // // example: // // ess Type *string `json:"type,omitempty" xml:"type,omitempty"` // The time when the node pool was last updated. // // example: // // 2020-09-27T20:37:46+08:00 Updated *string `json:"updated,omitempty" xml:"updated,omitempty"` }
func (DescribeClusterNodePoolDetailResponseBodyNodepoolInfo) GoString ¶
func (s DescribeClusterNodePoolDetailResponseBodyNodepoolInfo) GoString() string
func (*DescribeClusterNodePoolDetailResponseBodyNodepoolInfo) SetCreated ¶
func (*DescribeClusterNodePoolDetailResponseBodyNodepoolInfo) SetIsDefault ¶
func (s *DescribeClusterNodePoolDetailResponseBodyNodepoolInfo) SetIsDefault(v bool) *DescribeClusterNodePoolDetailResponseBodyNodepoolInfo
func (*DescribeClusterNodePoolDetailResponseBodyNodepoolInfo) SetNodepoolId ¶
func (s *DescribeClusterNodePoolDetailResponseBodyNodepoolInfo) SetNodepoolId(v string) *DescribeClusterNodePoolDetailResponseBodyNodepoolInfo
func (*DescribeClusterNodePoolDetailResponseBodyNodepoolInfo) SetRegionId ¶
func (s *DescribeClusterNodePoolDetailResponseBodyNodepoolInfo) SetRegionId(v string) *DescribeClusterNodePoolDetailResponseBodyNodepoolInfo
func (*DescribeClusterNodePoolDetailResponseBodyNodepoolInfo) SetResourceGroupId ¶
func (s *DescribeClusterNodePoolDetailResponseBodyNodepoolInfo) SetResourceGroupId(v string) *DescribeClusterNodePoolDetailResponseBodyNodepoolInfo
func (*DescribeClusterNodePoolDetailResponseBodyNodepoolInfo) SetUpdated ¶
func (DescribeClusterNodePoolDetailResponseBodyNodepoolInfo) String ¶
func (s DescribeClusterNodePoolDetailResponseBodyNodepoolInfo) String() 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. // // example: // // false 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. // // example: // // 1 AutoRenewPeriod *int64 `json:"auto_renew_period,omitempty" xml:"auto_renew_period,omitempty"` // Deprecated // // 【The field is deprecated】Please use the parameter security_hardening_os instead. // // example: // // false 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. // // example: // // true 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 category 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. // // example: // // ds-bp1d19mmbsv3jf6xxxxx DeploymentsetId *string `json:"deploymentset_id,omitempty" xml:"deploymentset_id,omitempty"` // The expected number of nodes in the node pool. // // example: // // 2 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. // // example: // // aliyun_2_1903_x64_20G_alibase_20200529.vhd ImageId *string `json:"image_id,omitempty" xml:"image_id,omitempty"` // Operating system image type. // // example: // // AliyunLinux 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. // // example: // // PostPaid InstanceChargeType *string `json:"instance_charge_type,omitempty" xml:"instance_charge_type,omitempty"` // The instance properties. InstancePatterns []*InstancePatterns `json:"instance_patterns,omitempty" xml:"instance_patterns,omitempty" type:"Repeated"` // 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. // // example: // // PayByBandwidth 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. // // example: // // 10 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. // // example: // // pro-nodepool KeyPair *string `json:"key_pair,omitempty" xml:"key_pair,omitempty"` // Whether the popped ECS instance uses a non-root user for login. // // example: // // true 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. // // example: // // ******** 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](https://help.aliyun.com/document_detail/71516.html). // // Default value: `PRIORITY`. // // example: // // BALANCE 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. // // example: // // 0 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. // // example: // // 20 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. // // example: // // 0 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`. // // example: // // Month PeriodUnit *string `json:"period_unit,omitempty" xml:"period_unit,omitempty"` // The release version of the operating system. Valid values: // // - `CentOS` // // - `AliyunLinux` // // - `Windows` // // - `WindowsCore` // // example: // // AliyunLinux 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. // // example: // // KubernetesWorkerRole-021dc54f-929b-437a-8ae0-34c24d3e**** RamPolicy *string `json:"ram_policy,omitempty" xml:"ram_policy,omitempty"` // Worker RAM role name. // // example: // // KubernetesWorkerRole-4a4fa089-80c1-48a5-b3c6-9349311f**** RamRoleName *string `json:"ram_role_name,omitempty" xml:"ram_role_name,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. // // example: // // asg-2zeieod8giqmov7z**** 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. // // example: // // release 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. // // example: // // sg-2ze60ockeekspl3d**** 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"` // Alibaba Cloud OS security hardening. Values: // // - `true`: Enable Alibaba Cloud OS security hardening. // // - `false`: Do not enable Alibaba Cloud OS security hardening. // // Default value: `false`. // // example: // // false SecurityHardeningOs *bool `json:"security_hardening_os,omitempty" xml:"security_hardening_os,omitempty"` // Indicates whether to enable security reinforcement compliant with the hardening standards. This option is available only when the system image is set to Alibaba Cloud Linux 2 or Alibaba Cloud Linux 3. Alibaba Cloud provides baseline check standards and scanning programs compliant with Grade 3, Version 2.0 of the hardening standards for both Alibaba Cloud Linux 2 and Alibaba Cloud Linux 3 images. // // example: // // 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. // // example: // // 5 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. // // example: // // false 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](https://help.aliyun.com/document_detail/157759.html). // // example: // // NoSpot SpotStrategy *string `json:"spot_strategy,omitempty" xml:"spot_strategy,omitempty"` // Whether to enable Burst (performance burst) for the node system disk, configured when the disk type is cloud_auto. // // example: // // true SystemDiskBurstingEnabled *bool `json:"system_disk_bursting_enabled,omitempty" xml:"system_disk_bursting_enabled,omitempty"` // The categories of the system disk for nodes. The system attempts to create system disks of a disk category with a lower priority if the disk category with a higher priority is unavailable. Valid values: Valid values: // // - `cloud`: basic disk. // // - `cloud_efficiency`: ultra disk. // // - `cloud_ssd`: standard SSD. // // - `cloud_essd`: Enterprise SSD (ESSD). // // - `cloud_auto`: ESSD AutoPL disk. // // - `cloud_essd_entry`: ESSD Entry disk. // // Default value: `cloud_efficiency`. SystemDiskCategories []*string `json:"system_disk_categories,omitempty" xml:"system_disk_categories,omitempty" type:"Repeated"` // The system disk type. Valid values: // // - `cloud`: basic disk // // - `cloud_efficiency`: ultra disk // // - `cloud_ssd`: standard SSD // // - `cloud_essd`: Enterprise SSD (ESSD) // // - `cloud_auto`: ESSD AutoPL disk // // - `cloud_essd_entry`: ESSD Entry disk // // Default value: `cloud_efficiency`. // // example: // // cloud_efficiency SystemDiskCategory *string `json:"system_disk_category,omitempty" xml:"system_disk_category,omitempty"` // The encryption algorithm that is used to encrypt the system disk. Set the value to aes-256. // // example: // // 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: Valid values: // // - `true`: encrypts the system disk. // // - `false`: does not encrypt the system disk. // // example: // // false SystemDiskEncrypted *bool `json:"system_disk_encrypted,omitempty" xml:"system_disk_encrypted,omitempty"` // System disk\\"s KMS key ID. // // example: // // 0e478b7a-4262-4802-b8cb-00d3fb40**** 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). // // example: // // PL1 SystemDiskPerformanceLevel *string `json:"system_disk_performance_level,omitempty" xml:"system_disk_performance_level,omitempty"` // Pre-configured read and write IOPS for the system disk of the node, configured when the disk type is cloud_auto. // // example: // // 1000 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. // // example: // // 120 SystemDiskSize *int64 `json:"system_disk_size,omitempty" xml:"system_disk_size,omitempty"` // The labels that you want to add only to ECS instances. // // The label key must be unique and cannot exceed 128 characters in length. The label key and value cannot 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. // // > 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 (s DescribeClusterNodePoolDetailResponseBodyScalingGroup) GoString() string
func (*DescribeClusterNodePoolDetailResponseBodyScalingGroup) SetAutoRenew ¶
func (s *DescribeClusterNodePoolDetailResponseBodyScalingGroup) SetAutoRenew(v bool) *DescribeClusterNodePoolDetailResponseBodyScalingGroup
func (*DescribeClusterNodePoolDetailResponseBodyScalingGroup) SetAutoRenewPeriod ¶
func (s *DescribeClusterNodePoolDetailResponseBodyScalingGroup) SetAutoRenewPeriod(v int64) *DescribeClusterNodePoolDetailResponseBodyScalingGroup
func (*DescribeClusterNodePoolDetailResponseBodyScalingGroup) SetCisEnabled ¶
func (s *DescribeClusterNodePoolDetailResponseBodyScalingGroup) SetCisEnabled(v bool) *DescribeClusterNodePoolDetailResponseBodyScalingGroup
func (*DescribeClusterNodePoolDetailResponseBodyScalingGroup) SetCompensateWithOnDemand ¶
func (s *DescribeClusterNodePoolDetailResponseBodyScalingGroup) SetCompensateWithOnDemand(v bool) *DescribeClusterNodePoolDetailResponseBodyScalingGroup
func (*DescribeClusterNodePoolDetailResponseBodyScalingGroup) SetDataDisks ¶
func (s *DescribeClusterNodePoolDetailResponseBodyScalingGroup) SetDataDisks(v []*DataDisk) *DescribeClusterNodePoolDetailResponseBodyScalingGroup
func (*DescribeClusterNodePoolDetailResponseBodyScalingGroup) SetDeploymentsetId ¶
func (s *DescribeClusterNodePoolDetailResponseBodyScalingGroup) SetDeploymentsetId(v string) *DescribeClusterNodePoolDetailResponseBodyScalingGroup
func (*DescribeClusterNodePoolDetailResponseBodyScalingGroup) SetDesiredSize ¶
func (s *DescribeClusterNodePoolDetailResponseBodyScalingGroup) SetDesiredSize(v int64) *DescribeClusterNodePoolDetailResponseBodyScalingGroup
func (*DescribeClusterNodePoolDetailResponseBodyScalingGroup) SetImageId ¶
func (*DescribeClusterNodePoolDetailResponseBodyScalingGroup) SetImageType ¶
func (s *DescribeClusterNodePoolDetailResponseBodyScalingGroup) SetImageType(v string) *DescribeClusterNodePoolDetailResponseBodyScalingGroup
func (*DescribeClusterNodePoolDetailResponseBodyScalingGroup) SetInstanceChargeType ¶
func (s *DescribeClusterNodePoolDetailResponseBodyScalingGroup) SetInstanceChargeType(v string) *DescribeClusterNodePoolDetailResponseBodyScalingGroup
func (*DescribeClusterNodePoolDetailResponseBodyScalingGroup) SetInstancePatterns ¶ added in v5.2.1
func (s *DescribeClusterNodePoolDetailResponseBodyScalingGroup) SetInstancePatterns(v []*InstancePatterns) *DescribeClusterNodePoolDetailResponseBodyScalingGroup
func (*DescribeClusterNodePoolDetailResponseBodyScalingGroup) SetInstanceTypes ¶
func (s *DescribeClusterNodePoolDetailResponseBodyScalingGroup) SetInstanceTypes(v []*string) *DescribeClusterNodePoolDetailResponseBodyScalingGroup
func (*DescribeClusterNodePoolDetailResponseBodyScalingGroup) SetInternetChargeType ¶
func (s *DescribeClusterNodePoolDetailResponseBodyScalingGroup) SetInternetChargeType(v string) *DescribeClusterNodePoolDetailResponseBodyScalingGroup
func (*DescribeClusterNodePoolDetailResponseBodyScalingGroup) SetInternetMaxBandwidthOut ¶
func (s *DescribeClusterNodePoolDetailResponseBodyScalingGroup) SetInternetMaxBandwidthOut(v int64) *DescribeClusterNodePoolDetailResponseBodyScalingGroup
func (*DescribeClusterNodePoolDetailResponseBodyScalingGroup) SetKeyPair ¶
func (*DescribeClusterNodePoolDetailResponseBodyScalingGroup) SetLoginAsNonRoot ¶
func (s *DescribeClusterNodePoolDetailResponseBodyScalingGroup) SetLoginAsNonRoot(v bool) *DescribeClusterNodePoolDetailResponseBodyScalingGroup
func (*DescribeClusterNodePoolDetailResponseBodyScalingGroup) SetLoginPassword ¶
func (s *DescribeClusterNodePoolDetailResponseBodyScalingGroup) SetLoginPassword(v string) *DescribeClusterNodePoolDetailResponseBodyScalingGroup
func (*DescribeClusterNodePoolDetailResponseBodyScalingGroup) SetMultiAzPolicy ¶
func (s *DescribeClusterNodePoolDetailResponseBodyScalingGroup) SetMultiAzPolicy(v string) *DescribeClusterNodePoolDetailResponseBodyScalingGroup
func (*DescribeClusterNodePoolDetailResponseBodyScalingGroup) SetOnDemandBaseCapacity ¶
func (s *DescribeClusterNodePoolDetailResponseBodyScalingGroup) SetOnDemandBaseCapacity(v int64) *DescribeClusterNodePoolDetailResponseBodyScalingGroup
func (*DescribeClusterNodePoolDetailResponseBodyScalingGroup) SetOnDemandPercentageAboveBaseCapacity ¶
func (s *DescribeClusterNodePoolDetailResponseBodyScalingGroup) SetOnDemandPercentageAboveBaseCapacity(v int64) *DescribeClusterNodePoolDetailResponseBodyScalingGroup
func (*DescribeClusterNodePoolDetailResponseBodyScalingGroup) SetPeriodUnit ¶
func (s *DescribeClusterNodePoolDetailResponseBodyScalingGroup) SetPeriodUnit(v string) *DescribeClusterNodePoolDetailResponseBodyScalingGroup
func (*DescribeClusterNodePoolDetailResponseBodyScalingGroup) SetPlatform ¶
func (s *DescribeClusterNodePoolDetailResponseBodyScalingGroup) SetPlatform(v string) *DescribeClusterNodePoolDetailResponseBodyScalingGroup
func (*DescribeClusterNodePoolDetailResponseBodyScalingGroup) SetPrivatePoolOptions ¶
func (*DescribeClusterNodePoolDetailResponseBodyScalingGroup) SetRamPolicy ¶
func (s *DescribeClusterNodePoolDetailResponseBodyScalingGroup) SetRamPolicy(v string) *DescribeClusterNodePoolDetailResponseBodyScalingGroup
func (*DescribeClusterNodePoolDetailResponseBodyScalingGroup) SetRamRoleName ¶ added in v5.3.3
func (s *DescribeClusterNodePoolDetailResponseBodyScalingGroup) SetRamRoleName(v string) *DescribeClusterNodePoolDetailResponseBodyScalingGroup
func (*DescribeClusterNodePoolDetailResponseBodyScalingGroup) SetRdsInstances ¶
func (s *DescribeClusterNodePoolDetailResponseBodyScalingGroup) SetRdsInstances(v []*string) *DescribeClusterNodePoolDetailResponseBodyScalingGroup
func (*DescribeClusterNodePoolDetailResponseBodyScalingGroup) SetScalingGroupId ¶
func (s *DescribeClusterNodePoolDetailResponseBodyScalingGroup) SetScalingGroupId(v string) *DescribeClusterNodePoolDetailResponseBodyScalingGroup
func (*DescribeClusterNodePoolDetailResponseBodyScalingGroup) SetScalingPolicy ¶
func (s *DescribeClusterNodePoolDetailResponseBodyScalingGroup) SetScalingPolicy(v string) *DescribeClusterNodePoolDetailResponseBodyScalingGroup
func (*DescribeClusterNodePoolDetailResponseBodyScalingGroup) SetSecurityGroupId ¶
func (s *DescribeClusterNodePoolDetailResponseBodyScalingGroup) SetSecurityGroupId(v string) *DescribeClusterNodePoolDetailResponseBodyScalingGroup
func (*DescribeClusterNodePoolDetailResponseBodyScalingGroup) SetSecurityGroupIds ¶
func (s *DescribeClusterNodePoolDetailResponseBodyScalingGroup) SetSecurityGroupIds(v []*string) *DescribeClusterNodePoolDetailResponseBodyScalingGroup
func (*DescribeClusterNodePoolDetailResponseBodyScalingGroup) SetSecurityHardeningOs ¶ added in v5.0.3
func (s *DescribeClusterNodePoolDetailResponseBodyScalingGroup) SetSecurityHardeningOs(v bool) *DescribeClusterNodePoolDetailResponseBodyScalingGroup
func (*DescribeClusterNodePoolDetailResponseBodyScalingGroup) SetSocEnabled ¶
func (s *DescribeClusterNodePoolDetailResponseBodyScalingGroup) SetSocEnabled(v bool) *DescribeClusterNodePoolDetailResponseBodyScalingGroup
func (*DescribeClusterNodePoolDetailResponseBodyScalingGroup) SetSpotInstancePools ¶
func (s *DescribeClusterNodePoolDetailResponseBodyScalingGroup) SetSpotInstancePools(v int64) *DescribeClusterNodePoolDetailResponseBodyScalingGroup
func (*DescribeClusterNodePoolDetailResponseBodyScalingGroup) SetSpotInstanceRemedy ¶
func (s *DescribeClusterNodePoolDetailResponseBodyScalingGroup) SetSpotInstanceRemedy(v bool) *DescribeClusterNodePoolDetailResponseBodyScalingGroup
func (*DescribeClusterNodePoolDetailResponseBodyScalingGroup) SetSpotPriceLimit ¶
func (*DescribeClusterNodePoolDetailResponseBodyScalingGroup) SetSpotStrategy ¶
func (s *DescribeClusterNodePoolDetailResponseBodyScalingGroup) SetSpotStrategy(v string) *DescribeClusterNodePoolDetailResponseBodyScalingGroup
func (*DescribeClusterNodePoolDetailResponseBodyScalingGroup) SetSystemDiskBurstingEnabled ¶
func (s *DescribeClusterNodePoolDetailResponseBodyScalingGroup) SetSystemDiskBurstingEnabled(v bool) *DescribeClusterNodePoolDetailResponseBodyScalingGroup
func (*DescribeClusterNodePoolDetailResponseBodyScalingGroup) SetSystemDiskCategories ¶
func (s *DescribeClusterNodePoolDetailResponseBodyScalingGroup) SetSystemDiskCategories(v []*string) *DescribeClusterNodePoolDetailResponseBodyScalingGroup
func (*DescribeClusterNodePoolDetailResponseBodyScalingGroup) SetSystemDiskCategory ¶
func (s *DescribeClusterNodePoolDetailResponseBodyScalingGroup) SetSystemDiskCategory(v string) *DescribeClusterNodePoolDetailResponseBodyScalingGroup
func (*DescribeClusterNodePoolDetailResponseBodyScalingGroup) SetSystemDiskEncryptAlgorithm ¶
func (s *DescribeClusterNodePoolDetailResponseBodyScalingGroup) SetSystemDiskEncryptAlgorithm(v string) *DescribeClusterNodePoolDetailResponseBodyScalingGroup
func (*DescribeClusterNodePoolDetailResponseBodyScalingGroup) SetSystemDiskEncrypted ¶
func (s *DescribeClusterNodePoolDetailResponseBodyScalingGroup) SetSystemDiskEncrypted(v bool) *DescribeClusterNodePoolDetailResponseBodyScalingGroup
func (*DescribeClusterNodePoolDetailResponseBodyScalingGroup) SetSystemDiskKmsKeyId ¶
func (s *DescribeClusterNodePoolDetailResponseBodyScalingGroup) SetSystemDiskKmsKeyId(v string) *DescribeClusterNodePoolDetailResponseBodyScalingGroup
func (*DescribeClusterNodePoolDetailResponseBodyScalingGroup) SetSystemDiskPerformanceLevel ¶
func (s *DescribeClusterNodePoolDetailResponseBodyScalingGroup) SetSystemDiskPerformanceLevel(v string) *DescribeClusterNodePoolDetailResponseBodyScalingGroup
func (*DescribeClusterNodePoolDetailResponseBodyScalingGroup) SetSystemDiskProvisionedIops ¶
func (s *DescribeClusterNodePoolDetailResponseBodyScalingGroup) SetSystemDiskProvisionedIops(v int64) *DescribeClusterNodePoolDetailResponseBodyScalingGroup
func (*DescribeClusterNodePoolDetailResponseBodyScalingGroup) SetSystemDiskSize ¶
func (s *DescribeClusterNodePoolDetailResponseBodyScalingGroup) SetSystemDiskSize(v int64) *DescribeClusterNodePoolDetailResponseBodyScalingGroup
func (*DescribeClusterNodePoolDetailResponseBodyScalingGroup) SetVswitchIds ¶
func (s *DescribeClusterNodePoolDetailResponseBodyScalingGroup) SetVswitchIds(v []*string) *DescribeClusterNodePoolDetailResponseBodyScalingGroup
func (DescribeClusterNodePoolDetailResponseBodyScalingGroup) String ¶
func (s DescribeClusterNodePoolDetailResponseBodyScalingGroup) String() string
type DescribeClusterNodePoolDetailResponseBodyScalingGroupPrivatePoolOptions ¶
type DescribeClusterNodePoolDetailResponseBodyScalingGroupPrivatePoolOptions struct { // The ID of the private node pool. // // example: // // eap-bp67acfmxazb4**** 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. // // example: // // Open MatchCriteria *string `json:"match_criteria,omitempty" xml:"match_criteria,omitempty"` }
func (DescribeClusterNodePoolDetailResponseBodyScalingGroupPrivatePoolOptions) GoString ¶
func (s DescribeClusterNodePoolDetailResponseBodyScalingGroupPrivatePoolOptions) GoString() string
func (*DescribeClusterNodePoolDetailResponseBodyScalingGroupPrivatePoolOptions) SetMatchCriteria ¶
type DescribeClusterNodePoolDetailResponseBodyScalingGroupSpotPriceLimit ¶
type DescribeClusterNodePoolDetailResponseBodyScalingGroupSpotPriceLimit struct { // The instance type of the preemptible instances. // // example: // // ecs.c6.large InstanceType *string `json:"instance_type,omitempty" xml:"instance_type,omitempty"` // The price cap of a preemptible instance of the type. // // Unit: USD/hour. // // example: // // 0.39 PriceLimit *string `json:"price_limit,omitempty" xml:"price_limit,omitempty"` }
func (DescribeClusterNodePoolDetailResponseBodyScalingGroupSpotPriceLimit) GoString ¶
func (s DescribeClusterNodePoolDetailResponseBodyScalingGroupSpotPriceLimit) GoString() string
func (*DescribeClusterNodePoolDetailResponseBodyScalingGroupSpotPriceLimit) SetInstanceType ¶
func (*DescribeClusterNodePoolDetailResponseBodyScalingGroupSpotPriceLimit) SetPriceLimit ¶
func (DescribeClusterNodePoolDetailResponseBodyScalingGroupSpotPriceLimit) String ¶
func (s DescribeClusterNodePoolDetailResponseBodyScalingGroupSpotPriceLimit) String() string
type DescribeClusterNodePoolDetailResponseBodyStatus ¶
type DescribeClusterNodePoolDetailResponseBodyStatus struct { // The number of failed nodes. // // example: // // 0 FailedNodes *int64 `json:"failed_nodes,omitempty" xml:"failed_nodes,omitempty"` // The number of healthy nodes. // // example: // // 3 HealthyNodes *int64 `json:"healthy_nodes,omitempty" xml:"healthy_nodes,omitempty"` // The number of nodes that are being created. // // example: // // 0 InitialNodes *int64 `json:"initial_nodes,omitempty" xml:"initial_nodes,omitempty"` // The number of offline nodes. // // example: // // 0 OfflineNodes *int64 `json:"offline_nodes,omitempty" xml:"offline_nodes,omitempty"` // The number of nodes that are being removed. // // example: // // 0 RemovingNodes *int64 `json:"removing_nodes,omitempty" xml:"removing_nodes,omitempty"` // The number of running nodes. // // example: // // 3 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. // // example: // // active State *string `json:"state,omitempty" xml:"state,omitempty"` // The total number of nodes in the node pool. // // example: // // 3 TotalNodes *int64 `json:"total_nodes,omitempty" xml:"total_nodes,omitempty"` }
func (DescribeClusterNodePoolDetailResponseBodyStatus) GoString ¶
func (s DescribeClusterNodePoolDetailResponseBodyStatus) GoString() string
func (*DescribeClusterNodePoolDetailResponseBodyStatus) SetFailedNodes ¶
func (s *DescribeClusterNodePoolDetailResponseBodyStatus) SetFailedNodes(v int64) *DescribeClusterNodePoolDetailResponseBodyStatus
func (*DescribeClusterNodePoolDetailResponseBodyStatus) SetHealthyNodes ¶
func (s *DescribeClusterNodePoolDetailResponseBodyStatus) SetHealthyNodes(v int64) *DescribeClusterNodePoolDetailResponseBodyStatus
func (*DescribeClusterNodePoolDetailResponseBodyStatus) SetInitialNodes ¶
func (s *DescribeClusterNodePoolDetailResponseBodyStatus) SetInitialNodes(v int64) *DescribeClusterNodePoolDetailResponseBodyStatus
func (*DescribeClusterNodePoolDetailResponseBodyStatus) SetOfflineNodes ¶
func (s *DescribeClusterNodePoolDetailResponseBodyStatus) SetOfflineNodes(v int64) *DescribeClusterNodePoolDetailResponseBodyStatus
func (*DescribeClusterNodePoolDetailResponseBodyStatus) SetRemovingNodes ¶
func (s *DescribeClusterNodePoolDetailResponseBodyStatus) SetRemovingNodes(v int64) *DescribeClusterNodePoolDetailResponseBodyStatus
func (*DescribeClusterNodePoolDetailResponseBodyStatus) SetServingNodes ¶
func (s *DescribeClusterNodePoolDetailResponseBodyStatus) SetServingNodes(v int64) *DescribeClusterNodePoolDetailResponseBodyStatus
func (*DescribeClusterNodePoolDetailResponseBodyStatus) SetState ¶
func (s *DescribeClusterNodePoolDetailResponseBodyStatus) SetState(v string) *DescribeClusterNodePoolDetailResponseBodyStatus
func (*DescribeClusterNodePoolDetailResponseBodyStatus) SetTotalNodes ¶
func (s *DescribeClusterNodePoolDetailResponseBodyStatus) SetTotalNodes(v int64) *DescribeClusterNodePoolDetailResponseBodyStatus
func (DescribeClusterNodePoolDetailResponseBodyStatus) String ¶
func (s DescribeClusterNodePoolDetailResponseBodyStatus) String() string
type DescribeClusterNodePoolDetailResponseBodyTeeConfig ¶
type DescribeClusterNodePoolDetailResponseBodyTeeConfig struct { // Indicates whether confidential computing is enabled. Valid values: // // - `true`: Confidential computing is enabled. // // - `false`: Confidential computing is disabled. // // example: // // false TeeEnable *bool `json:"tee_enable,omitempty" xml:"tee_enable,omitempty"` }
func (DescribeClusterNodePoolDetailResponseBodyTeeConfig) GoString ¶
func (s DescribeClusterNodePoolDetailResponseBodyTeeConfig) GoString() string
func (*DescribeClusterNodePoolDetailResponseBodyTeeConfig) SetTeeEnable ¶
func (s *DescribeClusterNodePoolDetailResponseBodyTeeConfig) SetTeeEnable(v bool) *DescribeClusterNodePoolDetailResponseBodyTeeConfig
func (DescribeClusterNodePoolDetailResponseBodyTeeConfig) String ¶
func (s DescribeClusterNodePoolDetailResponseBodyTeeConfig) String() string
type DescribeClusterNodePoolsRequest ¶ added in v5.0.6
type DescribeClusterNodePoolsRequest struct { // Node pool name. // // example: // // nodepool-test NodepoolName *string `json:"NodepoolName,omitempty" xml:"NodepoolName,omitempty"` }
func (DescribeClusterNodePoolsRequest) GoString ¶ added in v5.0.6
func (s DescribeClusterNodePoolsRequest) GoString() string
func (*DescribeClusterNodePoolsRequest) SetNodepoolName ¶ added in v5.0.6
func (s *DescribeClusterNodePoolsRequest) SetNodepoolName(v string) *DescribeClusterNodePoolsRequest
func (DescribeClusterNodePoolsRequest) String ¶ added in v5.0.6
func (s DescribeClusterNodePoolsRequest) String() string
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 (s DescribeClusterNodePoolsResponse) GoString() string
func (*DescribeClusterNodePoolsResponse) SetBody ¶
func (s *DescribeClusterNodePoolsResponse) SetBody(v *DescribeClusterNodePoolsResponseBody) *DescribeClusterNodePoolsResponse
func (*DescribeClusterNodePoolsResponse) SetHeaders ¶
func (s *DescribeClusterNodePoolsResponse) SetHeaders(v map[string]*string) *DescribeClusterNodePoolsResponse
func (*DescribeClusterNodePoolsResponse) SetStatusCode ¶
func (s *DescribeClusterNodePoolsResponse) SetStatusCode(v int32) *DescribeClusterNodePoolsResponse
func (DescribeClusterNodePoolsResponse) String ¶
func (s DescribeClusterNodePoolsResponse) String() string
type DescribeClusterNodePoolsResponseBody ¶
type DescribeClusterNodePoolsResponseBody struct { // The node pools. Nodepools []*DescribeClusterNodePoolsResponseBodyNodepools `json:"nodepools,omitempty" xml:"nodepools,omitempty" type:"Repeated"` }
func (DescribeClusterNodePoolsResponseBody) GoString ¶
func (s DescribeClusterNodePoolsResponseBody) GoString() string
func (*DescribeClusterNodePoolsResponseBody) SetNodepools ¶
func (s *DescribeClusterNodePoolsResponseBody) SetNodepools(v []*DescribeClusterNodePoolsResponseBodyNodepools) *DescribeClusterNodePoolsResponseBody
func (DescribeClusterNodePoolsResponseBody) String ¶
func (s DescribeClusterNodePoolsResponseBody) String() string
type DescribeClusterNodePoolsResponseBodyNodepools ¶
type DescribeClusterNodePoolsResponseBodyNodepools struct { // The configurations of auto scaling. AutoScaling *DescribeClusterNodePoolsResponseBodyNodepoolsAutoScaling `json:"auto_scaling,omitempty" xml:"auto_scaling,omitempty" type:"Struct"` // This parameter is discontinued. // // The network configurations of the edge node pool. This parameter takes effect only on edge node pools. InterconnectConfig *DescribeClusterNodePoolsResponseBodyNodepoolsInterconnectConfig `json:"interconnect_config,omitempty" xml:"interconnect_config,omitempty" type:"Struct"` // The network type of the edge node pool. Valid values: basic and dedicated. This parameter takes effect only on edge node pools. // // example: // // improved InterconnectMode *string `json:"interconnect_mode,omitempty" xml:"interconnect_mode,omitempty"` // The configurations of the cluster in which 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 can be created in the edge node pool. The value of this parameter must be greater than or equal to 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. // // example: // // 10 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 configurations of the scaling group. ScalingGroup *DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup `json:"scaling_group,omitempty" xml:"scaling_group,omitempty" type:"Struct"` // The status details of 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 (s DescribeClusterNodePoolsResponseBodyNodepools) GoString() string
func (*DescribeClusterNodePoolsResponseBodyNodepools) SetAutoScaling ¶
func (*DescribeClusterNodePoolsResponseBodyNodepools) SetInterconnectConfig ¶
func (s *DescribeClusterNodePoolsResponseBodyNodepools) SetInterconnectConfig(v *DescribeClusterNodePoolsResponseBodyNodepoolsInterconnectConfig) *DescribeClusterNodePoolsResponseBodyNodepools
func (*DescribeClusterNodePoolsResponseBodyNodepools) SetInterconnectMode ¶
func (s *DescribeClusterNodePoolsResponseBodyNodepools) SetInterconnectMode(v string) *DescribeClusterNodePoolsResponseBodyNodepools
func (*DescribeClusterNodePoolsResponseBodyNodepools) SetKubernetesConfig ¶
func (*DescribeClusterNodePoolsResponseBodyNodepools) SetManagement ¶
func (*DescribeClusterNodePoolsResponseBodyNodepools) SetMaxNodes ¶
func (s *DescribeClusterNodePoolsResponseBodyNodepools) SetMaxNodes(v int64) *DescribeClusterNodePoolsResponseBodyNodepools
func (*DescribeClusterNodePoolsResponseBodyNodepools) SetNodeConfig ¶
func (*DescribeClusterNodePoolsResponseBodyNodepools) SetNodepoolInfo ¶
func (*DescribeClusterNodePoolsResponseBodyNodepools) SetScalingGroup ¶
func (*DescribeClusterNodePoolsResponseBodyNodepools) SetTeeConfig ¶
func (DescribeClusterNodePoolsResponseBodyNodepools) String ¶
func (s DescribeClusterNodePoolsResponseBodyNodepools) String() string
type DescribeClusterNodePoolsResponseBodyNodepoolsAutoScaling ¶
type DescribeClusterNodePoolsResponseBodyNodepoolsAutoScaling struct { // The maximum bandwidth of the elastic IP address (EIP). // // example: // // 5 EipBandwidth *int64 `json:"eip_bandwidth,omitempty" xml:"eip_bandwidth,omitempty"` // The billing method of the EIP. Valid values: // // - `PayByBandwidth`: pay-by-bandwidth. // // - `PayByTraffic`: pay-by-data-transfer. // // example: // // PayByBandwidth EipInternetChargeType *string `json:"eip_internet_charge_type,omitempty" xml:"eip_internet_charge_type,omitempty"` // Specifies whether to enable auto scaling. Valid values: // // - `true` // // - `false`: If you set this parameter to `false`, other parameters in `auto_scaling` do not take effect. // // example: // // true Enable *bool `json:"enable,omitempty" xml:"enable,omitempty"` // Specifies whether to associate an EIP with the node pool. Valid values: // // - `true` // // - `false` // // example: // // true 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. // // example: // // 10 MaxInstances *int64 `json:"max_instances,omitempty" xml:"max_instances,omitempty"` // The minimum number of ECS instances that must be retained in the node pool. // // example: // // 2 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. // // example: // // cpu Type *string `json:"type,omitempty" xml:"type,omitempty"` }
func (DescribeClusterNodePoolsResponseBodyNodepoolsAutoScaling) GoString ¶
func (s DescribeClusterNodePoolsResponseBodyNodepoolsAutoScaling) GoString() string
func (*DescribeClusterNodePoolsResponseBodyNodepoolsAutoScaling) SetEipBandwidth ¶
func (s *DescribeClusterNodePoolsResponseBodyNodepoolsAutoScaling) SetEipBandwidth(v int64) *DescribeClusterNodePoolsResponseBodyNodepoolsAutoScaling
func (*DescribeClusterNodePoolsResponseBodyNodepoolsAutoScaling) SetEipInternetChargeType ¶
func (s *DescribeClusterNodePoolsResponseBodyNodepoolsAutoScaling) SetEipInternetChargeType(v string) *DescribeClusterNodePoolsResponseBodyNodepoolsAutoScaling
func (*DescribeClusterNodePoolsResponseBodyNodepoolsAutoScaling) SetIsBondEip ¶
func (s *DescribeClusterNodePoolsResponseBodyNodepoolsAutoScaling) SetIsBondEip(v bool) *DescribeClusterNodePoolsResponseBodyNodepoolsAutoScaling
func (*DescribeClusterNodePoolsResponseBodyNodepoolsAutoScaling) SetMaxInstances ¶
func (s *DescribeClusterNodePoolsResponseBodyNodepoolsAutoScaling) SetMaxInstances(v int64) *DescribeClusterNodePoolsResponseBodyNodepoolsAutoScaling
func (*DescribeClusterNodePoolsResponseBodyNodepoolsAutoScaling) SetMinInstances ¶
func (s *DescribeClusterNodePoolsResponseBodyNodepoolsAutoScaling) SetMinInstances(v int64) *DescribeClusterNodePoolsResponseBodyNodepoolsAutoScaling
func (DescribeClusterNodePoolsResponseBodyNodepoolsAutoScaling) String ¶
func (s DescribeClusterNodePoolsResponseBodyNodepoolsAutoScaling) String() string
type DescribeClusterNodePoolsResponseBodyNodepoolsInterconnectConfig ¶
type DescribeClusterNodePoolsResponseBodyNodepoolsInterconnectConfig struct { // This parameter is discontinued. // // The bandwidth of the enhanced edge node pool. Unit: Mbit/s. // // example: // // 10 Bandwidth *int64 `json:"bandwidth,omitempty" xml:"bandwidth,omitempty"` // This parameter is discontinued. // // The ID of the Cloud Connect Network (CCN) instance that is associated with the enhanced edge node pool. // // example: // // ccn-qm5i0i0q9yi******* CcnId *string `json:"ccn_id,omitempty" xml:"ccn_id,omitempty"` // This parameter is discontinued. // // The region in which the CCN instance that is with the enhanced edge node pool resides. // // example: // // cn-shanghai CcnRegionId *string `json:"ccn_region_id,omitempty" xml:"ccn_region_id,omitempty"` // This parameter is discontinued. // // The ID of the Cloud Enterprise Network (CEN) instance that is associated with the enhanced edge node pool. // // example: // // cen-ey9k9nfhz0f******* CenId *string `json:"cen_id,omitempty" xml:"cen_id,omitempty"` // This parameter is discontinued. // // The subscription duration of the enhanced edge node pool. Unit: months. // // example: // // 1 ImprovedPeriod *string `json:"improved_period,omitempty" xml:"improved_period,omitempty"` }
func (DescribeClusterNodePoolsResponseBodyNodepoolsInterconnectConfig) GoString ¶
func (s DescribeClusterNodePoolsResponseBodyNodepoolsInterconnectConfig) GoString() string
func (*DescribeClusterNodePoolsResponseBodyNodepoolsInterconnectConfig) SetBandwidth ¶
func (*DescribeClusterNodePoolsResponseBodyNodepoolsInterconnectConfig) SetCcnRegionId ¶
func (*DescribeClusterNodePoolsResponseBodyNodepoolsInterconnectConfig) SetImprovedPeriod ¶
func (s *DescribeClusterNodePoolsResponseBodyNodepoolsInterconnectConfig) SetImprovedPeriod(v string) *DescribeClusterNodePoolsResponseBodyNodepoolsInterconnectConfig
func (DescribeClusterNodePoolsResponseBodyNodepoolsInterconnectConfig) String ¶
func (s DescribeClusterNodePoolsResponseBodyNodepoolsInterconnectConfig) String() string
type DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConfig ¶
type DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConfig struct { // Specifies whether to install the CloudMonitor agent on ECS nodes. After the CloudMonitor agent is installed on ECS nodes, you can view the monitoring information about the instances in the CloudMonitor console. We recommend that you install the CloudMonitor agent. Valid values: // // - `true` // // - `false` // // example: // // true 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 version of the cluster is Kubernetes 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. // // example: // // none CpuPolicy *string `json:"cpu_policy,omitempty" xml:"cpu_policy,omitempty"` // The labels that are added to the nodes in the cluster. 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. // // - The key must be unique and can be up to 64 characters in length. The value can be empty and can be up to 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 custom node name. 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 is aliyun.com00055test. // // example: // // customized,test.,5,.com NodeNameMode *string `json:"node_name_mode,omitempty" xml:"node_name_mode,omitempty"` // The user-defined script that is executed before nodes are initialized. For more information, see [Generate user-defined data](https://help.aliyun.com/document_detail/49121.html). // // example: // // IyEvYmluL3NoCmVjaG8gIkhlbGxvIEFD PreUserData *string `json:"pre_user_data,omitempty" xml:"pre_user_data,omitempty"` // The name of the container runtime. // // example: // // docker Runtime *string `json:"runtime,omitempty" xml:"runtime,omitempty"` // The version of the container runtime. // // example: // // 19.03.5 RuntimeVersion *string `json:"runtime_version,omitempty" xml:"runtime_version,omitempty"` // 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 whether the nodes are schedulable after a scale-out activity is performed. // // example: // // true Unschedulable *bool `json:"unschedulable,omitempty" xml:"unschedulable,omitempty"` // The user-defined script that is executed after nodes are initialized. For more information, see [Generate user-defined data](https://help.aliyun.com/document_detail/49121.html). // // example: // // IyEvYmluL3NoCmVjaG8gIkhlbGxvIEFD**** UserData *string `json:"user_data,omitempty" xml:"user_data,omitempty"` }
func (DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConfig) GoString ¶
func (s DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConfig) GoString() string
func (*DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConfig) SetCmsEnabled ¶
func (*DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConfig) SetCpuPolicy ¶
func (*DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConfig) SetNodeNameMode ¶
func (s *DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConfig) SetNodeNameMode(v string) *DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConfig
func (*DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConfig) SetPreUserData ¶ added in v5.7.7
func (*DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConfig) SetRuntime ¶
func (*DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConfig) SetRuntimeVersion ¶
func (s *DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConfig) SetRuntimeVersion(v string) *DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConfig
func (*DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConfig) SetUnschedulable ¶
func (s *DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConfig) SetUnschedulable(v bool) *DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConfig
func (*DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConfig) SetUserData ¶
func (DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConfig) String ¶
func (s DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConfig) String() string
type DescribeClusterNodePoolsResponseBodyNodepoolsManagement ¶
type DescribeClusterNodePoolsResponseBodyNodepoolsManagement struct { // Specifies whether to enable auto repair. This parameter takes effect only if `enable` is set to true. Valid values: // // - `true` // // - `false` // // example: // // true 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. // // example: // // true 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 to enable auto Common Vulnerabilities and Exposures (CVE) patching. // // example: // // true 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"` // Specifies whether to enable the managed node pool feature. Valid values: // // - `true` // // - `false`: If you set this parameter to false, other parameters of `management` do not take effect. // // example: // // true Enable *bool `json:"enable,omitempty" xml:"enable,omitempty"` // The configurations of auto update. The configurations take effect only if `enable` is set to true. UpgradeConfig *DescribeClusterNodePoolsResponseBodyNodepoolsManagementUpgradeConfig `json:"upgrade_config,omitempty" xml:"upgrade_config,omitempty" type:"Struct"` }
func (DescribeClusterNodePoolsResponseBodyNodepoolsManagement) GoString ¶
func (s DescribeClusterNodePoolsResponseBodyNodepoolsManagement) GoString() string
func (*DescribeClusterNodePoolsResponseBodyNodepoolsManagement) SetAutoRepair ¶
func (s *DescribeClusterNodePoolsResponseBodyNodepoolsManagement) SetAutoRepair(v bool) *DescribeClusterNodePoolsResponseBodyNodepoolsManagement
func (*DescribeClusterNodePoolsResponseBodyNodepoolsManagement) SetAutoRepairPolicy ¶
func (*DescribeClusterNodePoolsResponseBodyNodepoolsManagement) SetAutoUpgrade ¶
func (s *DescribeClusterNodePoolsResponseBodyNodepoolsManagement) SetAutoUpgrade(v bool) *DescribeClusterNodePoolsResponseBodyNodepoolsManagement
func (*DescribeClusterNodePoolsResponseBodyNodepoolsManagement) SetAutoUpgradePolicy ¶
func (*DescribeClusterNodePoolsResponseBodyNodepoolsManagement) SetAutoVulFix ¶
func (s *DescribeClusterNodePoolsResponseBodyNodepoolsManagement) SetAutoVulFix(v bool) *DescribeClusterNodePoolsResponseBodyNodepoolsManagement
func (*DescribeClusterNodePoolsResponseBodyNodepoolsManagement) SetAutoVulFixPolicy ¶
func (*DescribeClusterNodePoolsResponseBodyNodepoolsManagement) SetUpgradeConfig ¶
func (DescribeClusterNodePoolsResponseBodyNodepoolsManagement) String ¶
func (s DescribeClusterNodePoolsResponseBodyNodepoolsManagement) String() string
type DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoRepairPolicy ¶
type DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoRepairPolicy struct { // Specifies whether to allow node restart. // // example: // // true RestartNode *bool `json:"restart_node,omitempty" xml:"restart_node,omitempty"` }
func (DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoRepairPolicy) GoString ¶
func (s DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoRepairPolicy) GoString() string
func (*DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoRepairPolicy) SetRestartNode ¶
type DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoUpgradePolicy ¶
type DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoUpgradePolicy struct { // Specifies whether to allow auto update of the kubelet. // // example: // // true AutoUpgradeKubelet *bool `json:"auto_upgrade_kubelet,omitempty" xml:"auto_upgrade_kubelet,omitempty"` }
func (DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoUpgradePolicy) GoString ¶
func (s DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoUpgradePolicy) GoString() string
func (*DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoUpgradePolicy) SetAutoUpgradeKubelet ¶
func (s *DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoUpgradePolicy) SetAutoUpgradeKubelet(v bool) *DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoUpgradePolicy
type DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoVulFixPolicy ¶
type DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoVulFixPolicy struct { // Specifies whether to allow node restart. // // example: // // true RestartNode *bool `json:"restart_node,omitempty" xml:"restart_node,omitempty"` // The severity level of CVEs that can be automatically patched. Multiple severity levels are separated by commas (,). // // example: // // asap,nntf VulLevel *string `json:"vul_level,omitempty" xml:"vul_level,omitempty"` }
func (DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoVulFixPolicy) GoString ¶
func (s DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoVulFixPolicy) GoString() string
func (*DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoVulFixPolicy) SetRestartNode ¶
func (*DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoVulFixPolicy) SetVulLevel ¶
type DescribeClusterNodePoolsResponseBodyNodepoolsManagementUpgradeConfig ¶
type DescribeClusterNodePoolsResponseBodyNodepoolsManagementUpgradeConfig struct { // Specifies whether to enable auto update. Valid values: // // - `true` // // - `false` // // example: // // true AutoUpgrade *bool `json:"auto_upgrade,omitempty" xml:"auto_upgrade,omitempty"` // // Default value: 1 // // example: // // 1 MaxUnavailable *int64 `json:"max_unavailable,omitempty" xml:"max_unavailable,omitempty"` // The number of additional nodes. // // example: // // 5 Surge *int64 `json:"surge,omitempty" xml:"surge,omitempty"` // The percentage of additional nodes to the total nodes in the node pool. You must specify this parameter or the `surge` parameter. // // The number of additional nodes = The percentage of additional nodes × The number of nodes in the node pool. For example, if the percentage of additional nodes is 50% and the number of nodes in the node pool is 6, the number of additional nodes is 3. // // example: // // 50 SurgePercentage *int64 `json:"surge_percentage,omitempty" xml:"surge_percentage,omitempty"` }
func (DescribeClusterNodePoolsResponseBodyNodepoolsManagementUpgradeConfig) GoString ¶
func (s DescribeClusterNodePoolsResponseBodyNodepoolsManagementUpgradeConfig) GoString() string
func (*DescribeClusterNodePoolsResponseBodyNodepoolsManagementUpgradeConfig) SetAutoUpgrade ¶
func (*DescribeClusterNodePoolsResponseBodyNodepoolsManagementUpgradeConfig) SetMaxUnavailable ¶
func (*DescribeClusterNodePoolsResponseBodyNodepoolsManagementUpgradeConfig) SetSurgePercentage ¶
func (DescribeClusterNodePoolsResponseBodyNodepoolsManagementUpgradeConfig) String ¶
func (s DescribeClusterNodePoolsResponseBodyNodepoolsManagementUpgradeConfig) String() string
type DescribeClusterNodePoolsResponseBodyNodepoolsNodeConfig ¶
type DescribeClusterNodePoolsResponseBodyNodepoolsNodeConfig struct { // The parameter settings of the kubelet. KubeletConfiguration *KubeletConfig `json:"kubelet_configuration,omitempty" xml:"kubelet_configuration,omitempty"` }
func (DescribeClusterNodePoolsResponseBodyNodepoolsNodeConfig) GoString ¶
func (s DescribeClusterNodePoolsResponseBodyNodepoolsNodeConfig) GoString() string
func (*DescribeClusterNodePoolsResponseBodyNodepoolsNodeConfig) SetKubeletConfiguration ¶
func (s *DescribeClusterNodePoolsResponseBodyNodepoolsNodeConfig) SetKubeletConfiguration(v *KubeletConfig) *DescribeClusterNodePoolsResponseBodyNodepoolsNodeConfig
func (DescribeClusterNodePoolsResponseBodyNodepoolsNodeConfig) String ¶
func (s DescribeClusterNodePoolsResponseBodyNodepoolsNodeConfig) String() string
type DescribeClusterNodePoolsResponseBodyNodepoolsNodepoolInfo ¶
type DescribeClusterNodePoolsResponseBodyNodepoolsNodepoolInfo struct { // The time when the node pool was created. // // example: // // 2020-09-27T19:14:09.156823496+08:00 Created *string `json:"created,omitempty" xml:"created,omitempty"` // Specifies whether the node pool is a default node pool. A Container Service for Kubernetes (ACK) cluster generally has only one default node pool. Valid values: // // - `true` // // - `false`: // // example: // // true 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 (-). // // example: // // default-nodepool Name *string `json:"name,omitempty" xml:"name,omitempty"` // The node pool ID. // // example: // // np615c0e0966124216a0412e10afe0**** NodepoolId *string `json:"nodepool_id,omitempty" xml:"nodepool_id,omitempty"` // The region ID. // // example: // // cn-beijing RegionId *string `json:"region_id,omitempty" xml:"region_id,omitempty"` // The resource group ID. // // example: // // rg-acfmyvw3wjm**** 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. // // example: // // ess Type *string `json:"type,omitempty" xml:"type,omitempty"` // The time when the node pool was last updated. // // example: // // 2020-09-27T20:37:46+08:00 Updated *string `json:"updated,omitempty" xml:"updated,omitempty"` }
func (DescribeClusterNodePoolsResponseBodyNodepoolsNodepoolInfo) GoString ¶
func (s DescribeClusterNodePoolsResponseBodyNodepoolsNodepoolInfo) GoString() string
func (*DescribeClusterNodePoolsResponseBodyNodepoolsNodepoolInfo) SetCreated ¶
func (*DescribeClusterNodePoolsResponseBodyNodepoolsNodepoolInfo) SetIsDefault ¶
func (*DescribeClusterNodePoolsResponseBodyNodepoolsNodepoolInfo) SetNodepoolId ¶
func (s *DescribeClusterNodePoolsResponseBodyNodepoolsNodepoolInfo) SetNodepoolId(v string) *DescribeClusterNodePoolsResponseBodyNodepoolsNodepoolInfo
func (*DescribeClusterNodePoolsResponseBodyNodepoolsNodepoolInfo) SetRegionId ¶
func (*DescribeClusterNodePoolsResponseBodyNodepoolsNodepoolInfo) SetResourceGroupId ¶
func (s *DescribeClusterNodePoolsResponseBodyNodepoolsNodepoolInfo) SetResourceGroupId(v string) *DescribeClusterNodePoolsResponseBodyNodepoolsNodepoolInfo
func (*DescribeClusterNodePoolsResponseBodyNodepoolsNodepoolInfo) SetUpdated ¶
func (DescribeClusterNodePoolsResponseBodyNodepoolsNodepoolInfo) String ¶
func (s DescribeClusterNodePoolsResponseBodyNodepoolsNodepoolInfo) String() string
type DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup ¶
type DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup struct { // Specifies whether to enable auto-renewal for the nodes in the node pool. This parameter takes effect only if `instance_charge_type` is set to `PrePaid`. Valid values: // // - `true` // // - `false` // // example: // // false AutoRenew *bool `json:"auto_renew,omitempty" xml:"auto_renew,omitempty"` // The auto-renewal period. Valid values: // // - Valid values when PeriodUnit is set to Week: 1, 2, and 3 // // - Valid values when PeriodUnit is set to Month: 1, 2, 3, 6, 12, 24, 36, 48, and 60 // // Default value: 1. // // example: // // 0 AutoRenewPeriod *int64 `json:"auto_renew_period,omitempty" xml:"auto_renew_period,omitempty"` // Deprecated // // Specifies whether to enable Center for Internet Security (CIS) reinforcement. CIS reinforcement can be enabled only if Alibaba Cloud Linux 2 or Alibaba Cloud Linux 3 is installed on nodes. // // example: // // false 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 if you set `multi_az_policy` to `COST_OPTIMIZED` Valid values: // // - `true` // // - `false` // // example: // // true 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. The configurations include the disk category and disk size. DataDisks []*DataDisk `json:"data_disks,omitempty" xml:"data_disks,omitempty" type:"Repeated"` // The deployment set ID. // // example: // // ds-bp1d19mmbsv3jf6xxxxx DeploymentsetId *string `json:"deploymentset_id,omitempty" xml:"deploymentset_id,omitempty"` // The expected number of nodes in the node pool. // // example: // // 2 DesiredSize *int64 `json:"desired_size,omitempty" xml:"desired_size,omitempty"` // The custom image ID. You can call the `DescribeKubernetesVersionMetadata` operation to query the images supported by ACK. // // example: // // aliyun_2_1903_x64_20G_alibase_20200529.vhd ImageId *string `json:"image_id,omitempty" xml:"image_id,omitempty"` // The type of the operating system image. // // example: // // AliyunLinux 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. // // example: // // PostPaid InstanceChargeType *string `json:"instance_charge_type,omitempty" xml:"instance_charge_type,omitempty"` // The attributes of an instance. InstancePatterns []*InstancePatterns `json:"instance_patterns,omitempty" xml:"instance_patterns,omitempty" type:"Repeated"` // The 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 inventory. // // example: // // ecs.n4.large InstanceTypes []*string `json:"instance_types,omitempty" xml:"instance_types,omitempty" type:"Repeated"` // The billing method of the public IP address. // // example: // // PayByBandwidth InternetChargeType *string `json:"internet_charge_type,omitempty" xml:"internet_charge_type,omitempty"` // The maximum outbound bandwidth of the public IP address. Unit: Mbit/s. Valid values: 1 to 100. // // example: // // 10 InternetMaxBandwidthOut *int64 `json:"internet_max_bandwidth_out,omitempty" xml:"internet_max_bandwidth_out,omitempty"` // The name of the key pair. You must specify this parameter or the `login_password` parameter. // // You must specify the `key_pair` parameter if the node pool is a managed node pool. // // example: // // pro-nodepool 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. // // example: // // true LoginAsNonRoot *bool `json:"login_as_non_root,omitempty" xml:"login_as_non_root,omitempty"` // The password for SSH logon. You must specify 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. // // The returned password is encrypted to ensure security. // // example: // // ****** LoginPassword *string `json:"login_password,omitempty" xml:"login_password,omitempty"` // The ECS instance scaling policy for the multi-zone scaling group. Valid values: // // - `PRIORITY`: ECS instances are created based on the VSwitchIds.N parameter. If Auto Scaling fails to create an ECS instance in the zone of the vSwitch that has the highest priority, Auto Scaling attempts to create the ECS instance in the zone of the vSwitch that has 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 specify `CompensateWithOnDemand` to specify whether to automatically create pay-as-you-go instances if preemptible instances cannot be created due to insufficient resources. // // ** // // **Note* - `COST_OPTIMIZED` takes effect only if 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 the distribution of ECS instances across zones is not balanced due to reasons such as insufficient inventory, you can call the `RebalanceInstances` operation to evenly distribute the ECS instances across zones. For more information, see [RebalanceInstances](https://help.aliyun.com/document_detail/71516.html). // // example: // // COST_OPTIMIZED 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 smaller than the value of this parameter, Auto Scaling preferably creates pay-as-you-go instances // // example: // // 0 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. // // example: // // 20 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 if you set `instance_charge_type` to `PrePaid`. // // If `period_unit` is set to Month, the valid values of period are 1, 2, 3, 6, 12, 24, 36, 48, and 60. // // example: // // 1 Period *int64 `json:"period,omitempty" xml:"period,omitempty"` // The billing cycle of the nodes in the node pool. This parameter takes effect only if`instance_charge_type` is set to `PrePaid`. // // Valid value: `Month`, which indicates that the subscription duration is measured in months. // // example: // // Month PeriodUnit *string `json:"period_unit,omitempty" xml:"period_unit,omitempty"` // The operating system distribution. Valid values: // // - `CentOS` // // - `AliyunLinux` // // - `Windows` // // - `WindowsCore` // // example: // // AliyunLinux Platform *string `json:"platform,omitempty" xml:"platform,omitempty"` // The configurations of the private node pool. PrivatePoolOptions *DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroupPrivatePoolOptions `json:"private_pool_options,omitempty" xml:"private_pool_options,omitempty" type:"Struct"` // This field is deprecated and replaced by the ram_role_name parameter. // // example: // // KubernetesWorkerRole-021dc54f-929b-437a-8ae0-34c24d3e**** RamPolicy *string `json:"ram_policy,omitempty" xml:"ram_policy,omitempty"` // Worker RAM role name. // // example: // // KubernetesWorkerRole-4a4fa089-80c1-48a5-b3c6-9349311f**** RamRoleName *string `json:"ram_role_name,omitempty" xml:"ram_role_name,omitempty"` // The ApsaraDB RDS instances. If you specify the list of ApsaraDB RDS instances, 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 scaling group ID. // // example: // // asg-2ze8n5qw4atggut8**** 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 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 to local disks. // // example: // // release 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 the `security_group_ids` parameter is returned. // // example: // // sg-2ze1iuk12m2sb4c4**** SecurityGroupId *string `json:"security_group_id,omitempty" xml:"security_group_id,omitempty"` // The IDs of security groups for the node pool. SecurityGroupIds []*string `json:"security_group_ids,omitempty" xml:"security_group_ids,omitempty" type:"Repeated"` // Alibaba Cloud OS security hardening. Values: // // - `true`: Enable Alibaba Cloud OS security hardening. - `false`: Do not enable Alibaba Cloud OS security hardening. // // Default value: `false`. // // example: // // false SecurityHardeningOs *bool `json:"security_hardening_os,omitempty" xml:"security_hardening_os,omitempty"` // Specifies whether to enable reinforcement based on classified protection. You can enable reinforcement based on classified protection only if Alibaba Cloud Linux 2 or Alibaba Cloud Linux 3 is installed on nodes. Alibaba Cloud provides standards for baseline check and a scanner to ensure the compliance of Alibaba Cloud Linux 2 and Alibaba Cloud Linux 3 images with the level 3 standards of classified protection. // // example: // // 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. // // example: // // 5 SpotInstancePools *int64 `json:"spot_instance_pools,omitempty" xml:"spot_instance_pools,omitempty"` // Specifies whether to enable the supplementation of preemptible instances. If the supplementation of preemptible instances is enabled, 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` // // - `false` // // example: // // false 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 bidding policy of preemptible instances. Valid values: // // - NoSpot: non-preemptible. // // - SpotWithPriceLimit: specifies the highest bid. // // - SpotAsPriceGo: automatically submits bids based on the up-to-date market price. // // For more information, see [Create a preemptible elastic container instance](https://help.aliyun.com/document_detail/157759.html). // // example: // // NoSpot SpotStrategy *string `json:"spot_strategy,omitempty" xml:"spot_strategy,omitempty"` // Specifies whether to enable Burst for the system disk when the disk type is cloud_auto. // // example: // // true SystemDiskBurstingEnabled *bool `json:"system_disk_bursting_enabled,omitempty" xml:"system_disk_bursting_enabled,omitempty"` // The categories of system disks. The system creates system disks of a disk category with a lower priority if the disk category with a higher priority is unavailable. Valid values: cloud (basic disk), cloud_efficiency (ultra disk). cloud_ssd (standard SSD), cloud_essd (Enterprise SSD). 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`: SSD // // example: // // cloud_efficiency SystemDiskCategory *string `json:"system_disk_category,omitempty" xml:"system_disk_category,omitempty"` // The encryption algorithm that is used to encrypt the system disk. Set the value to aes-256. // // example: // // 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 // // - false // // example: // // false 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. // // example: // // 0e478b7a-4262-4802-b8cb-00d3fb40**** SystemDiskKmsKeyId *string `json:"system_disk_kms_key_id,omitempty" xml:"system_disk_kms_key_id,omitempty"` // The performance level (PL) of the system disk. This parameter takes effect only for an ESSD. // // example: // // PL1 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. // // example: // // 1000 SystemDiskProvisionedIops *int64 `json:"system_disk_provisioned_iops,omitempty" xml:"system_disk_provisioned_iops,omitempty"` // The size of the system disk. Unit: GiB. // // Valid values: 20 to 500. // // example: // // 120 SystemDiskSize *int64 `json:"system_disk_size,omitempty" xml:"system_disk_size,omitempty"` // The labels that you want to add only to Elastic Compute Service (ECS) instances. // // The key must be unique and cannot exceed 128 characters in length. The 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 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 (s DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup) GoString() string
func (*DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup) SetAutoRenew ¶
func (*DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup) SetAutoRenewPeriod ¶
func (s *DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup) SetAutoRenewPeriod(v int64) *DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup
func (*DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup) SetCisEnabled ¶
func (s *DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup) SetCisEnabled(v bool) *DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup
func (*DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup) SetCompensateWithOnDemand ¶
func (s *DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup) SetCompensateWithOnDemand(v bool) *DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup
func (*DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup) SetDataDisks ¶
func (s *DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup) SetDataDisks(v []*DataDisk) *DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup
func (*DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup) SetDeploymentsetId ¶
func (s *DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup) SetDeploymentsetId(v string) *DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup
func (*DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup) SetDesiredSize ¶
func (s *DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup) SetDesiredSize(v int64) *DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup
func (*DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup) SetImageId ¶
func (*DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup) SetImageType ¶
func (*DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup) SetInstanceChargeType ¶
func (s *DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup) SetInstanceChargeType(v string) *DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup
func (*DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup) SetInstancePatterns ¶ added in v5.2.1
func (s *DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup) SetInstancePatterns(v []*InstancePatterns) *DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup
func (*DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup) SetInstanceTypes ¶
func (s *DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup) SetInstanceTypes(v []*string) *DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup
func (*DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup) SetInternetChargeType ¶
func (s *DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup) SetInternetChargeType(v string) *DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup
func (*DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup) SetInternetMaxBandwidthOut ¶
func (s *DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup) SetInternetMaxBandwidthOut(v int64) *DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup
func (*DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup) SetKeyPair ¶
func (*DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup) SetLoginAsNonRoot ¶
func (s *DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup) SetLoginAsNonRoot(v bool) *DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup
func (*DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup) SetLoginPassword ¶
func (s *DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup) SetLoginPassword(v string) *DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup
func (*DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup) SetMultiAzPolicy ¶
func (s *DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup) SetMultiAzPolicy(v string) *DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup
func (*DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup) SetOnDemandBaseCapacity ¶
func (s *DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup) SetOnDemandBaseCapacity(v int64) *DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup
func (*DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup) SetOnDemandPercentageAboveBaseCapacity ¶
func (s *DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup) SetOnDemandPercentageAboveBaseCapacity(v int64) *DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup
func (*DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup) SetPeriodUnit ¶
func (s *DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup) SetPeriodUnit(v string) *DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup
func (*DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup) SetPlatform ¶
func (*DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup) SetPrivatePoolOptions ¶
func (*DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup) SetRamPolicy ¶
func (*DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup) SetRamRoleName ¶ added in v5.3.3
func (s *DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup) SetRamRoleName(v string) *DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup
func (*DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup) SetRdsInstances ¶
func (s *DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup) SetRdsInstances(v []*string) *DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup
func (*DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup) SetScalingGroupId ¶
func (s *DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup) SetScalingGroupId(v string) *DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup
func (*DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup) SetScalingPolicy ¶
func (s *DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup) SetScalingPolicy(v string) *DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup
func (*DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup) SetSecurityGroupId ¶
func (s *DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup) SetSecurityGroupId(v string) *DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup
func (*DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup) SetSecurityGroupIds ¶
func (s *DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup) SetSecurityGroupIds(v []*string) *DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup
func (*DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup) SetSecurityHardeningOs ¶ added in v5.0.3
func (s *DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup) SetSecurityHardeningOs(v bool) *DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup
func (*DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup) SetSocEnabled ¶
func (s *DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup) SetSocEnabled(v bool) *DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup
func (*DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup) SetSpotInstancePools ¶
func (s *DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup) SetSpotInstancePools(v int64) *DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup
func (*DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup) SetSpotInstanceRemedy ¶
func (s *DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup) SetSpotInstanceRemedy(v bool) *DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup
func (*DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup) SetSpotPriceLimit ¶
func (*DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup) SetSpotStrategy ¶
func (s *DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup) SetSpotStrategy(v string) *DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup
func (*DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup) SetSystemDiskBurstingEnabled ¶
func (s *DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup) SetSystemDiskBurstingEnabled(v bool) *DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup
func (*DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup) SetSystemDiskCategories ¶
func (s *DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup) SetSystemDiskCategories(v []*string) *DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup
func (*DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup) SetSystemDiskCategory ¶
func (s *DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup) SetSystemDiskCategory(v string) *DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup
func (*DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup) SetSystemDiskEncryptAlgorithm ¶
func (s *DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup) SetSystemDiskEncryptAlgorithm(v string) *DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup
func (*DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup) SetSystemDiskEncrypted ¶
func (s *DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup) SetSystemDiskEncrypted(v bool) *DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup
func (*DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup) SetSystemDiskKmsKeyId ¶
func (s *DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup) SetSystemDiskKmsKeyId(v string) *DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup
func (*DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup) SetSystemDiskPerformanceLevel ¶
func (s *DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup) SetSystemDiskPerformanceLevel(v string) *DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup
func (*DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup) SetSystemDiskProvisionedIops ¶
func (s *DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup) SetSystemDiskProvisionedIops(v int64) *DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup
func (*DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup) SetSystemDiskSize ¶
func (s *DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup) SetSystemDiskSize(v int64) *DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup
func (*DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup) SetVswitchIds ¶
func (s *DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup) SetVswitchIds(v []*string) *DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup
func (DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup) String ¶
func (s DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup) String() string
type DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroupPrivatePoolOptions ¶
type DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroupPrivatePoolOptions struct { // The private pool ID, which is the same as the ID of the elasticity assurance or capacity reservation for which the private pool is generated. // // example: // // eap-bp67acfmxazb4**** Id *string `json:"id,omitempty" xml:"id,omitempty"` // The type of the private node pool. This parameter specifies the type of the private node pool that is used 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`: uses 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`: uses the specified 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 instances. // // example: // // Open MatchCriteria *string `json:"match_criteria,omitempty" xml:"match_criteria,omitempty"` }
func (DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroupPrivatePoolOptions) GoString ¶
func (s DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroupPrivatePoolOptions) GoString() string
func (*DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroupPrivatePoolOptions) SetMatchCriteria ¶
type DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroupSpotPriceLimit ¶
type DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroupSpotPriceLimit struct { // The instance type of preemptible instances. // // example: // // ecs.c6.large InstanceType *string `json:"instance_type,omitempty" xml:"instance_type,omitempty"` // The price cap for a single preemptible instance. // // Unit: USD/hour. // // example: // // 0.39 PriceLimit *string `json:"price_limit,omitempty" xml:"price_limit,omitempty"` }
func (DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroupSpotPriceLimit) GoString ¶
func (s DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroupSpotPriceLimit) GoString() string
func (*DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroupSpotPriceLimit) SetInstanceType ¶
func (*DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroupSpotPriceLimit) SetPriceLimit ¶
type DescribeClusterNodePoolsResponseBodyNodepoolsStatus ¶
type DescribeClusterNodePoolsResponseBodyNodepoolsStatus struct { // The number of failed nodes. // // example: // // 0 FailedNodes *int64 `json:"failed_nodes,omitempty" xml:"failed_nodes,omitempty"` // The number of healthy nodes. // // example: // // 3 HealthyNodes *int64 `json:"healthy_nodes,omitempty" xml:"healthy_nodes,omitempty"` // The number of nodes that are being created. // // example: // // 0 InitialNodes *int64 `json:"initial_nodes,omitempty" xml:"initial_nodes,omitempty"` // The number of offline nodes. // // example: // // 0 OfflineNodes *int64 `json:"offline_nodes,omitempty" xml:"offline_nodes,omitempty"` // The number of nodes that are being removed. // // example: // // 0 RemovingNodes *int64 `json:"removing_nodes,omitempty" xml:"removing_nodes,omitempty"` // The number of running nodes. // // example: // // 3 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`: The nodes are being removed from the node pool. // // - `deleting`: The node pool is being deleted. // // - `updating`: The node pool is being updated. // // example: // // active State *string `json:"state,omitempty" xml:"state,omitempty"` // The total number of nodes in the node pool. // // example: // // 3 TotalNodes *int64 `json:"total_nodes,omitempty" xml:"total_nodes,omitempty"` }
func (DescribeClusterNodePoolsResponseBodyNodepoolsStatus) GoString ¶
func (s DescribeClusterNodePoolsResponseBodyNodepoolsStatus) GoString() string
func (*DescribeClusterNodePoolsResponseBodyNodepoolsStatus) SetFailedNodes ¶
func (s *DescribeClusterNodePoolsResponseBodyNodepoolsStatus) SetFailedNodes(v int64) *DescribeClusterNodePoolsResponseBodyNodepoolsStatus
func (*DescribeClusterNodePoolsResponseBodyNodepoolsStatus) SetHealthyNodes ¶
func (s *DescribeClusterNodePoolsResponseBodyNodepoolsStatus) SetHealthyNodes(v int64) *DescribeClusterNodePoolsResponseBodyNodepoolsStatus
func (*DescribeClusterNodePoolsResponseBodyNodepoolsStatus) SetInitialNodes ¶
func (s *DescribeClusterNodePoolsResponseBodyNodepoolsStatus) SetInitialNodes(v int64) *DescribeClusterNodePoolsResponseBodyNodepoolsStatus
func (*DescribeClusterNodePoolsResponseBodyNodepoolsStatus) SetOfflineNodes ¶
func (s *DescribeClusterNodePoolsResponseBodyNodepoolsStatus) SetOfflineNodes(v int64) *DescribeClusterNodePoolsResponseBodyNodepoolsStatus
func (*DescribeClusterNodePoolsResponseBodyNodepoolsStatus) SetRemovingNodes ¶
func (s *DescribeClusterNodePoolsResponseBodyNodepoolsStatus) SetRemovingNodes(v int64) *DescribeClusterNodePoolsResponseBodyNodepoolsStatus
func (*DescribeClusterNodePoolsResponseBodyNodepoolsStatus) SetServingNodes ¶
func (s *DescribeClusterNodePoolsResponseBodyNodepoolsStatus) SetServingNodes(v int64) *DescribeClusterNodePoolsResponseBodyNodepoolsStatus
func (*DescribeClusterNodePoolsResponseBodyNodepoolsStatus) SetTotalNodes ¶
func (s *DescribeClusterNodePoolsResponseBodyNodepoolsStatus) SetTotalNodes(v int64) *DescribeClusterNodePoolsResponseBodyNodepoolsStatus
func (DescribeClusterNodePoolsResponseBodyNodepoolsStatus) String ¶
func (s DescribeClusterNodePoolsResponseBodyNodepoolsStatus) String() string
type DescribeClusterNodePoolsResponseBodyNodepoolsTeeConfig ¶
type DescribeClusterNodePoolsResponseBodyNodepoolsTeeConfig struct { // Specifies whether to enable confidential computing for the cluster. Valid values: // // - `true` // // - `false` // // example: // // false TeeEnable *bool `json:"tee_enable,omitempty" xml:"tee_enable,omitempty"` }
func (DescribeClusterNodePoolsResponseBodyNodepoolsTeeConfig) GoString ¶
func (s DescribeClusterNodePoolsResponseBodyNodepoolsTeeConfig) GoString() string
func (*DescribeClusterNodePoolsResponseBodyNodepoolsTeeConfig) SetTeeEnable ¶
func (s *DescribeClusterNodePoolsResponseBodyNodepoolsTeeConfig) SetTeeEnable(v bool) *DescribeClusterNodePoolsResponseBodyNodepoolsTeeConfig
func (DescribeClusterNodePoolsResponseBodyNodepoolsTeeConfig) String ¶
func (s DescribeClusterNodePoolsResponseBodyNodepoolsTeeConfig) String() string
type DescribeClusterNodesRequest ¶
type DescribeClusterNodesRequest struct { // The IDs of the nodes that you want to query. Separate multiple node IDs with commas (,). // // example: // // "i-bp11xjhwkj8k966u****,i-bp1dmhc2bu5igkyq****" InstanceIds *string `json:"instanceIds,omitempty" xml:"instanceIds,omitempty"` // The node pool ID. // // example: // // np**** NodepoolId *string `json:"nodepool_id,omitempty" xml:"nodepool_id,omitempty"` // The page number. // // Default value: 1. // // example: // // 1 PageNumber *string `json:"pageNumber,omitempty" xml:"pageNumber,omitempty"` // The number of entries per page. Valid values: 1 to 100. // // Default value: 10. // // example: // // 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`. // // example: // // running State *string `json:"state,omitempty" xml:"state,omitempty"` }
func (DescribeClusterNodesRequest) GoString ¶
func (s DescribeClusterNodesRequest) GoString() string
func (*DescribeClusterNodesRequest) SetInstanceIds ¶
func (s *DescribeClusterNodesRequest) SetInstanceIds(v string) *DescribeClusterNodesRequest
func (*DescribeClusterNodesRequest) SetNodepoolId ¶
func (s *DescribeClusterNodesRequest) SetNodepoolId(v string) *DescribeClusterNodesRequest
func (*DescribeClusterNodesRequest) SetPageNumber ¶
func (s *DescribeClusterNodesRequest) SetPageNumber(v string) *DescribeClusterNodesRequest
func (*DescribeClusterNodesRequest) SetPageSize ¶
func (s *DescribeClusterNodesRequest) SetPageSize(v string) *DescribeClusterNodesRequest
func (*DescribeClusterNodesRequest) SetState ¶
func (s *DescribeClusterNodesRequest) SetState(v string) *DescribeClusterNodesRequest
func (DescribeClusterNodesRequest) String ¶
func (s DescribeClusterNodesRequest) String() 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 (s *DescribeClusterNodesResponse) SetBody(v *DescribeClusterNodesResponseBody) *DescribeClusterNodesResponse
func (*DescribeClusterNodesResponse) SetHeaders ¶
func (s *DescribeClusterNodesResponse) SetHeaders(v map[string]*string) *DescribeClusterNodesResponse
func (*DescribeClusterNodesResponse) SetStatusCode ¶
func (s *DescribeClusterNodesResponse) SetStatusCode(v int32) *DescribeClusterNodesResponse
func (DescribeClusterNodesResponse) String ¶
func (s DescribeClusterNodesResponse) String() 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 (s DescribeClusterNodesResponseBody) GoString() string
func (*DescribeClusterNodesResponseBody) SetNodes ¶
func (s *DescribeClusterNodesResponseBody) SetNodes(v []*DescribeClusterNodesResponseBodyNodes) *DescribeClusterNodesResponseBody
func (*DescribeClusterNodesResponseBody) SetPage ¶
func (s *DescribeClusterNodesResponseBody) SetPage(v *DescribeClusterNodesResponseBodyPage) *DescribeClusterNodesResponseBody
func (DescribeClusterNodesResponseBody) String ¶
func (s DescribeClusterNodesResponseBody) String() string
type DescribeClusterNodesResponseBodyNodes ¶
type DescribeClusterNodesResponseBodyNodes struct { // The time when the node was created. // // example: // // 2020-08-25T11:25:35+08:00 CreationTime *string `json:"creation_time,omitempty" xml:"creation_time,omitempty"` // The error message generated when the node was created. // // example: // // error*** ErrorMessage *string `json:"error_message,omitempty" xml:"error_message,omitempty"` // The expiration date of the node. // // example: // // 2099-12-31T23:59:00+08:00 ExpiredTime *string `json:"expired_time,omitempty" xml:"expired_time,omitempty"` // The name of the host. // // example: // // iZ2vcckdmxp7u0urj2k**** HostName *string `json:"host_name,omitempty" xml:"host_name,omitempty"` // The ID of the system image that is used by the node. // // example: // // aliyun_2_1903_x64_20G_alibase_20200529.vhd 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. // // example: // // PostPaid InstanceChargeType *string `json:"instance_charge_type,omitempty" xml:"instance_charge_type,omitempty"` // The ID of the instance. // // example: // // i-2vcckdmxp7u0urj2**** InstanceId *string `json:"instance_id,omitempty" xml:"instance_id,omitempty"` // The name of the instance on which the node is deployed. // // example: // // worker-k8s-for-cs-c5cdf7e3938bc4f8eb0e44b21a80f**** InstanceName *string `json:"instance_name,omitempty" xml:"instance_name,omitempty"` // The role of the node. Valid values: // // - Master: master node // // - Worker: worker node // // example: // // Worker InstanceRole *string `json:"instance_role,omitempty" xml:"instance_role,omitempty"` // The status of the node. // // example: // // Running InstanceStatus *string `json:"instance_status,omitempty" xml:"instance_status,omitempty"` // The type of the node. // // example: // // ecs.c5.xlarge InstanceType *string `json:"instance_type,omitempty" xml:"instance_type,omitempty"` // The ECS instance family of the node. // // example: // // ecs.c5 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. // // example: // // true 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. // // example: // // cn-chengdu.192.168.0.36 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. // // example: // // Ready NodeStatus *string `json:"node_status,omitempty" xml:"node_status,omitempty"` // The node pool ID. // // example: // // np0794239424a84eb7a95327369d56**** 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). // // example: // // ess_attach 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. // // example: // // NoSpot 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. // // example: // // running State *string `json:"state,omitempty" xml:"state,omitempty"` }
func (DescribeClusterNodesResponseBodyNodes) GoString ¶
func (s DescribeClusterNodesResponseBodyNodes) GoString() string
func (*DescribeClusterNodesResponseBodyNodes) SetCreationTime ¶
func (s *DescribeClusterNodesResponseBodyNodes) SetCreationTime(v string) *DescribeClusterNodesResponseBodyNodes
func (*DescribeClusterNodesResponseBodyNodes) SetErrorMessage ¶
func (s *DescribeClusterNodesResponseBodyNodes) SetErrorMessage(v string) *DescribeClusterNodesResponseBodyNodes
func (*DescribeClusterNodesResponseBodyNodes) SetExpiredTime ¶
func (s *DescribeClusterNodesResponseBodyNodes) SetExpiredTime(v string) *DescribeClusterNodesResponseBodyNodes
func (*DescribeClusterNodesResponseBodyNodes) SetHostName ¶
func (s *DescribeClusterNodesResponseBodyNodes) SetHostName(v string) *DescribeClusterNodesResponseBodyNodes
func (*DescribeClusterNodesResponseBodyNodes) SetImageId ¶
func (s *DescribeClusterNodesResponseBodyNodes) SetImageId(v string) *DescribeClusterNodesResponseBodyNodes
func (*DescribeClusterNodesResponseBodyNodes) SetInstanceChargeType ¶
func (s *DescribeClusterNodesResponseBodyNodes) SetInstanceChargeType(v string) *DescribeClusterNodesResponseBodyNodes
func (*DescribeClusterNodesResponseBodyNodes) SetInstanceId ¶
func (s *DescribeClusterNodesResponseBodyNodes) SetInstanceId(v string) *DescribeClusterNodesResponseBodyNodes
func (*DescribeClusterNodesResponseBodyNodes) SetInstanceName ¶
func (s *DescribeClusterNodesResponseBodyNodes) SetInstanceName(v string) *DescribeClusterNodesResponseBodyNodes
func (*DescribeClusterNodesResponseBodyNodes) SetInstanceRole ¶
func (s *DescribeClusterNodesResponseBodyNodes) SetInstanceRole(v string) *DescribeClusterNodesResponseBodyNodes
func (*DescribeClusterNodesResponseBodyNodes) SetInstanceStatus ¶
func (s *DescribeClusterNodesResponseBodyNodes) SetInstanceStatus(v string) *DescribeClusterNodesResponseBodyNodes
func (*DescribeClusterNodesResponseBodyNodes) SetInstanceType ¶
func (s *DescribeClusterNodesResponseBodyNodes) SetInstanceType(v string) *DescribeClusterNodesResponseBodyNodes
func (*DescribeClusterNodesResponseBodyNodes) SetInstanceTypeFamily ¶
func (s *DescribeClusterNodesResponseBodyNodes) SetInstanceTypeFamily(v string) *DescribeClusterNodesResponseBodyNodes
func (*DescribeClusterNodesResponseBodyNodes) SetIpAddress ¶
func (s *DescribeClusterNodesResponseBodyNodes) SetIpAddress(v []*string) *DescribeClusterNodesResponseBodyNodes
func (*DescribeClusterNodesResponseBodyNodes) SetIsAliyunNode ¶
func (s *DescribeClusterNodesResponseBodyNodes) SetIsAliyunNode(v bool) *DescribeClusterNodesResponseBodyNodes
func (*DescribeClusterNodesResponseBodyNodes) SetNodeName ¶
func (s *DescribeClusterNodesResponseBodyNodes) SetNodeName(v string) *DescribeClusterNodesResponseBodyNodes
func (*DescribeClusterNodesResponseBodyNodes) SetNodeStatus ¶
func (s *DescribeClusterNodesResponseBodyNodes) SetNodeStatus(v string) *DescribeClusterNodesResponseBodyNodes
func (*DescribeClusterNodesResponseBodyNodes) SetNodepoolId ¶
func (s *DescribeClusterNodesResponseBodyNodes) SetNodepoolId(v string) *DescribeClusterNodesResponseBodyNodes
func (*DescribeClusterNodesResponseBodyNodes) SetSource ¶
func (s *DescribeClusterNodesResponseBodyNodes) SetSource(v string) *DescribeClusterNodesResponseBodyNodes
func (*DescribeClusterNodesResponseBodyNodes) SetSpotStrategy ¶
func (s *DescribeClusterNodesResponseBodyNodes) SetSpotStrategy(v string) *DescribeClusterNodesResponseBodyNodes
func (*DescribeClusterNodesResponseBodyNodes) SetState ¶
func (s *DescribeClusterNodesResponseBodyNodes) SetState(v string) *DescribeClusterNodesResponseBodyNodes
func (DescribeClusterNodesResponseBodyNodes) String ¶
func (s DescribeClusterNodesResponseBodyNodes) String() string
type DescribeClusterNodesResponseBodyPage ¶
type DescribeClusterNodesResponseBodyPage struct { // The page number. // // example: // // 1 PageNumber *int32 `json:"page_number,omitempty" xml:"page_number,omitempty"` // The number of entries per page. // // example: // // 10 PageSize *int32 `json:"page_size,omitempty" xml:"page_size,omitempty"` // The total number of entries returned. // // example: // // 5 TotalCount *int32 `json:"total_count,omitempty" xml:"total_count,omitempty"` }
func (DescribeClusterNodesResponseBodyPage) GoString ¶
func (s DescribeClusterNodesResponseBodyPage) GoString() string
func (*DescribeClusterNodesResponseBodyPage) SetPageNumber ¶
func (s *DescribeClusterNodesResponseBodyPage) SetPageNumber(v int32) *DescribeClusterNodesResponseBodyPage
func (*DescribeClusterNodesResponseBodyPage) SetPageSize ¶
func (s *DescribeClusterNodesResponseBodyPage) SetPageSize(v int32) *DescribeClusterNodesResponseBodyPage
func (*DescribeClusterNodesResponseBodyPage) SetTotalCount ¶
func (s *DescribeClusterNodesResponseBodyPage) SetTotalCount(v int32) *DescribeClusterNodesResponseBodyPage
func (DescribeClusterNodesResponseBodyPage) String ¶
func (s DescribeClusterNodesResponseBodyPage) String() string
type DescribeClusterResourcesRequest ¶
type DescribeClusterResourcesRequest struct { // Specifies whether to query the resources created by cluster components. // // example: // // false WithAddonResources *bool `json:"with_addon_resources,omitempty" xml:"with_addon_resources,omitempty"` }
func (DescribeClusterResourcesRequest) GoString ¶
func (s DescribeClusterResourcesRequest) GoString() string
func (*DescribeClusterResourcesRequest) SetWithAddonResources ¶
func (s *DescribeClusterResourcesRequest) SetWithAddonResources(v bool) *DescribeClusterResourcesRequest
func (DescribeClusterResourcesRequest) String ¶
func (s DescribeClusterResourcesRequest) String() 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 (s DescribeClusterResourcesResponse) GoString() string
func (*DescribeClusterResourcesResponse) SetBody ¶
func (s *DescribeClusterResourcesResponse) SetBody(v []*DescribeClusterResourcesResponseBody) *DescribeClusterResourcesResponse
func (*DescribeClusterResourcesResponse) SetHeaders ¶
func (s *DescribeClusterResourcesResponse) SetHeaders(v map[string]*string) *DescribeClusterResourcesResponse
func (*DescribeClusterResourcesResponse) SetStatusCode ¶
func (s *DescribeClusterResourcesResponse) SetStatusCode(v int32) *DescribeClusterResourcesResponse
func (DescribeClusterResourcesResponse) String ¶
func (s DescribeClusterResourcesResponse) String() string
type DescribeClusterResourcesResponseBody ¶
type DescribeClusterResourcesResponseBody struct { // The cluster ID. // // example: // // cb95aa626a47740afbf6aa099b65**** ClusterId *string `json:"cluster_id,omitempty" xml:"cluster_id,omitempty"` // The time when the resource was created. // // example: // // 2020-09-11T10:11:54+08:00 Created *string `json:"created,omitempty" xml:"created,omitempty"` // The resource ID. // // example: // // lb-wz9poz4r0ymh8u0uf**** InstanceId *string `json:"instance_id,omitempty" xml:"instance_id,omitempty"` // The resource information. For more information about how to query the source information about the resource, see [ListStackResources](https://help.aliyun.com/document_detail/133836.html). // // example: // // {\\"Id\\":\\"k8s_master_slb\\",\\"Name\\":\\"k8s_master_slb\\",\\"Type\\":\\"ALIYUN::SLB::LoadBalancer\\",\\"Status\\":\\"CREATE_COMPLETE\\",\\"StatusReason\\":\\"state changed\\",\\"Updated\\":\\"2020-05-21T13:25:02\\",\\"PhysicalId\\":\\"lb-wz9poz4r0ymh8u0uf****\\"} ResourceInfo *string `json:"resource_info,omitempty" xml:"resource_info,omitempty"` // The resource type. // // example: // // ALIYUN::SLB::LoadBalancer 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. // // example: // // CREATE_COMPLETE State *string `json:"state,omitempty" xml:"state,omitempty"` // Specifies 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. // // example: // // 1 AutoCreate *int64 `json:"auto_create,omitempty" xml:"auto_create,omitempty"` // The dependent resources. Dependencies []*DescribeClusterResourcesResponseBodyDependencies `json:"dependencies,omitempty" xml:"dependencies,omitempty" type:"Repeated"` // The Kubernetes object with which the resource is associated. AssociatedObject *DescribeClusterResourcesResponseBodyAssociatedObject `json:"associated_object,omitempty" xml:"associated_object,omitempty" type:"Struct"` // The deletion behavior of the resource when the cluster is deleted. DeleteBehavior *DescribeClusterResourcesResponseBodyDeleteBehavior `json:"delete_behavior,omitempty" xml:"delete_behavior,omitempty" type:"Struct"` // The type of the resource creator. Valid values: // // - user: The resource is created by the user. // // - system: The resource is created by the ACK management system. // // - addon: The resource is created by a cluster component. // // example: // // addon CreatorType *string `json:"creator_type,omitempty" xml:"creator_type,omitempty"` // The additional information about the resource. // // example: // // {"IP": "xx.xx.xx.xx"} ExtraInfo map[string]interface{} `json:"extra_info,omitempty" xml:"extra_info,omitempty"` }
func (DescribeClusterResourcesResponseBody) GoString ¶
func (s DescribeClusterResourcesResponseBody) GoString() string
func (*DescribeClusterResourcesResponseBody) SetAssociatedObject ¶
func (s *DescribeClusterResourcesResponseBody) SetAssociatedObject(v *DescribeClusterResourcesResponseBodyAssociatedObject) *DescribeClusterResourcesResponseBody
func (*DescribeClusterResourcesResponseBody) SetAutoCreate ¶
func (s *DescribeClusterResourcesResponseBody) SetAutoCreate(v int64) *DescribeClusterResourcesResponseBody
func (*DescribeClusterResourcesResponseBody) SetClusterId ¶
func (s *DescribeClusterResourcesResponseBody) SetClusterId(v string) *DescribeClusterResourcesResponseBody
func (*DescribeClusterResourcesResponseBody) SetCreated ¶
func (s *DescribeClusterResourcesResponseBody) SetCreated(v string) *DescribeClusterResourcesResponseBody
func (*DescribeClusterResourcesResponseBody) SetCreatorType ¶
func (s *DescribeClusterResourcesResponseBody) SetCreatorType(v string) *DescribeClusterResourcesResponseBody
func (*DescribeClusterResourcesResponseBody) SetDeleteBehavior ¶
func (s *DescribeClusterResourcesResponseBody) SetDeleteBehavior(v *DescribeClusterResourcesResponseBodyDeleteBehavior) *DescribeClusterResourcesResponseBody
func (*DescribeClusterResourcesResponseBody) SetDependencies ¶
func (s *DescribeClusterResourcesResponseBody) SetDependencies(v []*DescribeClusterResourcesResponseBodyDependencies) *DescribeClusterResourcesResponseBody
func (*DescribeClusterResourcesResponseBody) SetExtraInfo ¶
func (s *DescribeClusterResourcesResponseBody) SetExtraInfo(v map[string]interface{}) *DescribeClusterResourcesResponseBody
func (*DescribeClusterResourcesResponseBody) SetInstanceId ¶
func (s *DescribeClusterResourcesResponseBody) SetInstanceId(v string) *DescribeClusterResourcesResponseBody
func (*DescribeClusterResourcesResponseBody) SetResourceInfo ¶
func (s *DescribeClusterResourcesResponseBody) SetResourceInfo(v string) *DescribeClusterResourcesResponseBody
func (*DescribeClusterResourcesResponseBody) SetResourceType ¶
func (s *DescribeClusterResourcesResponseBody) SetResourceType(v string) *DescribeClusterResourcesResponseBody
func (*DescribeClusterResourcesResponseBody) SetState ¶
func (s *DescribeClusterResourcesResponseBody) SetState(v string) *DescribeClusterResourcesResponseBody
func (DescribeClusterResourcesResponseBody) String ¶
func (s DescribeClusterResourcesResponseBody) String() string
type DescribeClusterResourcesResponseBodyAssociatedObject ¶
type DescribeClusterResourcesResponseBodyAssociatedObject struct { // The Kubernetes object type. // // example: // // Service Kind *string `json:"kind,omitempty" xml:"kind,omitempty"` // The namespace in which the Kubernetes object resides. // // example: // // kube-system Namespace *string `json:"namespace,omitempty" xml:"namespace,omitempty"` // The Kubernetes object name. // // example: // // nginx-ingress-lb Name *string `json:"name,omitempty" xml:"name,omitempty"` }
func (DescribeClusterResourcesResponseBodyAssociatedObject) GoString ¶
func (s DescribeClusterResourcesResponseBodyAssociatedObject) GoString() string
func (*DescribeClusterResourcesResponseBodyAssociatedObject) SetNamespace ¶
func (s *DescribeClusterResourcesResponseBodyAssociatedObject) SetNamespace(v string) *DescribeClusterResourcesResponseBodyAssociatedObject
func (DescribeClusterResourcesResponseBodyAssociatedObject) String ¶
func (s DescribeClusterResourcesResponseBodyAssociatedObject) String() string
type DescribeClusterResourcesResponseBodyDeleteBehavior ¶
type DescribeClusterResourcesResponseBodyDeleteBehavior struct { // Specifies whether to delete the resource by default when the cluster is deleted. // // example: // // false DeleteByDefault *bool `json:"delete_by_default,omitempty" xml:"delete_by_default,omitempty"` // Specifies whether the default behavior returned in delete_by_default can be changed. // // example: // // false Changeable *bool `json:"changeable,omitempty" xml:"changeable,omitempty"` }
func (DescribeClusterResourcesResponseBodyDeleteBehavior) GoString ¶
func (s DescribeClusterResourcesResponseBodyDeleteBehavior) GoString() string
func (*DescribeClusterResourcesResponseBodyDeleteBehavior) SetChangeable ¶
func (s *DescribeClusterResourcesResponseBodyDeleteBehavior) SetChangeable(v bool) *DescribeClusterResourcesResponseBodyDeleteBehavior
func (*DescribeClusterResourcesResponseBodyDeleteBehavior) SetDeleteByDefault ¶
func (s *DescribeClusterResourcesResponseBodyDeleteBehavior) SetDeleteByDefault(v bool) *DescribeClusterResourcesResponseBodyDeleteBehavior
func (DescribeClusterResourcesResponseBodyDeleteBehavior) String ¶
func (s DescribeClusterResourcesResponseBodyDeleteBehavior) String() string
type DescribeClusterResourcesResponseBodyDependencies ¶
type DescribeClusterResourcesResponseBodyDependencies struct { // The ID of the cluster to which the dependent resource is related. // // example: // // cc5ee03f63e43425cb6f71f1a1756**** ClusterId *string `json:"cluster_id,omitempty" xml:"cluster_id,omitempty"` // The dependent resource type. // // example: // // ALIYUN::VPC::NatGateway ResourceType *string `json:"resource_type,omitempty" xml:"resource_type,omitempty"` // The dependent resource ID. // // example: // // ngw-wz9sphwk42sdtjixo**** InstanceId *string `json:"instance_id,omitempty" xml:"instance_id,omitempty"` }
func (DescribeClusterResourcesResponseBodyDependencies) GoString ¶
func (s DescribeClusterResourcesResponseBodyDependencies) GoString() string
func (*DescribeClusterResourcesResponseBodyDependencies) SetClusterId ¶
func (s *DescribeClusterResourcesResponseBodyDependencies) SetClusterId(v string) *DescribeClusterResourcesResponseBodyDependencies
func (*DescribeClusterResourcesResponseBodyDependencies) SetInstanceId ¶
func (s *DescribeClusterResourcesResponseBodyDependencies) SetInstanceId(v string) *DescribeClusterResourcesResponseBodyDependencies
func (*DescribeClusterResourcesResponseBodyDependencies) SetResourceType ¶
func (s *DescribeClusterResourcesResponseBodyDependencies) SetResourceType(v string) *DescribeClusterResourcesResponseBodyDependencies
func (DescribeClusterResourcesResponseBodyDependencies) String ¶
func (s DescribeClusterResourcesResponseBodyDependencies) String() string
type DescribeClusterTasksRequest ¶
type DescribeClusterTasksRequest struct { // The page number. // // example: // // 1 PageNumber *int32 `json:"page_number,omitempty" xml:"page_number,omitempty"` // The number of entries per page. // // example: // // 20 PageSize *int32 `json:"page_size,omitempty" xml:"page_size,omitempty"` }
func (DescribeClusterTasksRequest) GoString ¶
func (s DescribeClusterTasksRequest) GoString() string
func (*DescribeClusterTasksRequest) SetPageNumber ¶
func (s *DescribeClusterTasksRequest) SetPageNumber(v int32) *DescribeClusterTasksRequest
func (*DescribeClusterTasksRequest) SetPageSize ¶
func (s *DescribeClusterTasksRequest) SetPageSize(v int32) *DescribeClusterTasksRequest
func (DescribeClusterTasksRequest) String ¶
func (s DescribeClusterTasksRequest) String() 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 (s *DescribeClusterTasksResponse) SetBody(v *DescribeClusterTasksResponseBody) *DescribeClusterTasksResponse
func (*DescribeClusterTasksResponse) SetHeaders ¶
func (s *DescribeClusterTasksResponse) SetHeaders(v map[string]*string) *DescribeClusterTasksResponse
func (*DescribeClusterTasksResponse) SetStatusCode ¶
func (s *DescribeClusterTasksResponse) SetStatusCode(v int32) *DescribeClusterTasksResponse
func (DescribeClusterTasksResponse) String ¶
func (s DescribeClusterTasksResponse) String() string
type DescribeClusterTasksResponseBody ¶
type DescribeClusterTasksResponseBody struct { // The pagination information. PageInfo *DescribeClusterTasksResponseBodyPageInfo `json:"page_info,omitempty" xml:"page_info,omitempty" type:"Struct"` // The request ID. // // example: // // 0527ac9a-c899-4341-a21a-xxxxxxxxx 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 (s DescribeClusterTasksResponseBody) GoString() string
func (*DescribeClusterTasksResponseBody) SetPageInfo ¶
func (s *DescribeClusterTasksResponseBody) SetPageInfo(v *DescribeClusterTasksResponseBodyPageInfo) *DescribeClusterTasksResponseBody
func (*DescribeClusterTasksResponseBody) SetRequestId ¶
func (s *DescribeClusterTasksResponseBody) SetRequestId(v string) *DescribeClusterTasksResponseBody
func (*DescribeClusterTasksResponseBody) SetTasks ¶
func (s *DescribeClusterTasksResponseBody) SetTasks(v []*DescribeClusterTasksResponseBodyTasks) *DescribeClusterTasksResponseBody
func (DescribeClusterTasksResponseBody) String ¶
func (s DescribeClusterTasksResponseBody) String() string
type DescribeClusterTasksResponseBodyPageInfo ¶
type DescribeClusterTasksResponseBodyPageInfo struct { // The number of the page returned. // // example: // // 1 PageNumber *int64 `json:"page_number,omitempty" xml:"page_number,omitempty"` // The number of entries per page. // // example: // // 10 PageSize *int64 `json:"page_size,omitempty" xml:"page_size,omitempty"` // The total number of entries returned. // // example: // // 10 TotalCount *int64 `json:"total_count,omitempty" xml:"total_count,omitempty"` }
func (DescribeClusterTasksResponseBodyPageInfo) GoString ¶
func (s DescribeClusterTasksResponseBodyPageInfo) GoString() string
func (*DescribeClusterTasksResponseBodyPageInfo) SetPageNumber ¶
func (s *DescribeClusterTasksResponseBodyPageInfo) SetPageNumber(v int64) *DescribeClusterTasksResponseBodyPageInfo
func (*DescribeClusterTasksResponseBodyPageInfo) SetPageSize ¶
func (s *DescribeClusterTasksResponseBodyPageInfo) SetPageSize(v int64) *DescribeClusterTasksResponseBodyPageInfo
func (*DescribeClusterTasksResponseBodyPageInfo) SetTotalCount ¶
func (s *DescribeClusterTasksResponseBodyPageInfo) SetTotalCount(v int64) *DescribeClusterTasksResponseBodyPageInfo
func (DescribeClusterTasksResponseBodyPageInfo) String ¶
func (s DescribeClusterTasksResponseBodyPageInfo) String() string
type DescribeClusterTasksResponseBodyTasks ¶
type DescribeClusterTasksResponseBodyTasks struct { // The time when the task was created. // // example: // // 2022-08-03T10:11:33+08:00 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. // // example: // // success State *string `json:"state,omitempty" xml:"state,omitempty"` // The task ID. // // example: // // install-addons-c3xxxxxx TaskId *string `json:"task_id,omitempty" xml:"task_id,omitempty"` // The type of task. // // example: // // cluster_addon_install TaskType *string `json:"task_type,omitempty" xml:"task_type,omitempty"` // The time when the task was updated. // // example: // // 2022-08-03T10:12:03.482+08:00 Updated *string `json:"updated,omitempty" xml:"updated,omitempty"` }
func (DescribeClusterTasksResponseBodyTasks) GoString ¶
func (s DescribeClusterTasksResponseBodyTasks) GoString() string
func (*DescribeClusterTasksResponseBodyTasks) SetCreated ¶
func (s *DescribeClusterTasksResponseBodyTasks) SetCreated(v string) *DescribeClusterTasksResponseBodyTasks
func (*DescribeClusterTasksResponseBodyTasks) SetState ¶
func (s *DescribeClusterTasksResponseBodyTasks) SetState(v string) *DescribeClusterTasksResponseBodyTasks
func (*DescribeClusterTasksResponseBodyTasks) SetTaskId ¶
func (s *DescribeClusterTasksResponseBodyTasks) SetTaskId(v string) *DescribeClusterTasksResponseBodyTasks
func (*DescribeClusterTasksResponseBodyTasks) SetTaskType ¶
func (s *DescribeClusterTasksResponseBodyTasks) SetTaskType(v string) *DescribeClusterTasksResponseBodyTasks
func (*DescribeClusterTasksResponseBodyTasks) SetUpdated ¶
func (s *DescribeClusterTasksResponseBodyTasks) SetUpdated(v string) *DescribeClusterTasksResponseBodyTasks
func (DescribeClusterTasksResponseBodyTasks) String ¶
func (s DescribeClusterTasksResponseBodyTasks) String() string
type DescribeClusterTasksResponseBodyTasksError ¶
type DescribeClusterTasksResponseBodyTasksError struct { // The error code returned. // // example: // // BadRequest Code *string `json:"code,omitempty" xml:"code,omitempty"` // The error message returned. // // example: // // Addon status not match Message *string `json:"message,omitempty" xml:"message,omitempty"` }
func (DescribeClusterTasksResponseBodyTasksError) GoString ¶
func (s DescribeClusterTasksResponseBodyTasksError) GoString() string
func (*DescribeClusterTasksResponseBodyTasksError) SetCode ¶
func (s *DescribeClusterTasksResponseBodyTasksError) SetCode(v string) *DescribeClusterTasksResponseBodyTasksError
func (*DescribeClusterTasksResponseBodyTasksError) SetMessage ¶
func (s *DescribeClusterTasksResponseBodyTasksError) SetMessage(v string) *DescribeClusterTasksResponseBodyTasksError
func (DescribeClusterTasksResponseBodyTasksError) String ¶
func (s DescribeClusterTasksResponseBodyTasksError) String() 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`. // // example: // // true 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. // // example: // // 15 TemporaryDurationMinutes *int64 `json:"TemporaryDurationMinutes,omitempty" xml:"TemporaryDurationMinutes,omitempty"` }
func (DescribeClusterUserKubeconfigRequest) GoString ¶
func (s DescribeClusterUserKubeconfigRequest) GoString() string
func (*DescribeClusterUserKubeconfigRequest) SetPrivateIpAddress ¶
func (s *DescribeClusterUserKubeconfigRequest) SetPrivateIpAddress(v bool) *DescribeClusterUserKubeconfigRequest
func (*DescribeClusterUserKubeconfigRequest) SetTemporaryDurationMinutes ¶
func (s *DescribeClusterUserKubeconfigRequest) SetTemporaryDurationMinutes(v int64) *DescribeClusterUserKubeconfigRequest
func (DescribeClusterUserKubeconfigRequest) String ¶
func (s DescribeClusterUserKubeconfigRequest) String() 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 (s DescribeClusterUserKubeconfigResponse) GoString() string
func (*DescribeClusterUserKubeconfigResponse) SetHeaders ¶
func (s *DescribeClusterUserKubeconfigResponse) SetHeaders(v map[string]*string) *DescribeClusterUserKubeconfigResponse
func (*DescribeClusterUserKubeconfigResponse) SetStatusCode ¶
func (s *DescribeClusterUserKubeconfigResponse) SetStatusCode(v int32) *DescribeClusterUserKubeconfigResponse
func (DescribeClusterUserKubeconfigResponse) String ¶
func (s DescribeClusterUserKubeconfigResponse) String() 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](https://help.aliyun.com/document_detail/86494.html). // // example: // // apiVersion: v1**** 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. // // example: // // 2024-03-10T09:56:17Z Expiration *string `json:"expiration,omitempty" xml:"expiration,omitempty"` }
func (DescribeClusterUserKubeconfigResponseBody) GoString ¶
func (s DescribeClusterUserKubeconfigResponseBody) GoString() string
func (*DescribeClusterUserKubeconfigResponseBody) SetConfig ¶
func (s *DescribeClusterUserKubeconfigResponseBody) SetConfig(v string) *DescribeClusterUserKubeconfigResponseBody
func (*DescribeClusterUserKubeconfigResponseBody) SetExpiration ¶
func (s *DescribeClusterUserKubeconfigResponseBody) SetExpiration(v string) *DescribeClusterUserKubeconfigResponseBody
func (DescribeClusterUserKubeconfigResponseBody) String ¶
func (s DescribeClusterUserKubeconfigResponseBody) String() string
type DescribeClusterV2UserKubeconfigRequest ¶
type DescribeClusterV2UserKubeconfigRequest struct { PrivateIpAddress *bool `json:"PrivateIpAddress,omitempty" xml:"PrivateIpAddress,omitempty"` TemporaryDurationMinutes *int64 `json:"TemporaryDurationMinutes,omitempty" xml:"TemporaryDurationMinutes,omitempty"` }
func (DescribeClusterV2UserKubeconfigRequest) GoString ¶
func (s DescribeClusterV2UserKubeconfigRequest) GoString() string
func (*DescribeClusterV2UserKubeconfigRequest) SetPrivateIpAddress ¶
func (s *DescribeClusterV2UserKubeconfigRequest) SetPrivateIpAddress(v bool) *DescribeClusterV2UserKubeconfigRequest
func (*DescribeClusterV2UserKubeconfigRequest) SetTemporaryDurationMinutes ¶ added in v5.8.2
func (s *DescribeClusterV2UserKubeconfigRequest) SetTemporaryDurationMinutes(v int64) *DescribeClusterV2UserKubeconfigRequest
func (DescribeClusterV2UserKubeconfigRequest) String ¶
func (s DescribeClusterV2UserKubeconfigRequest) String() 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 (s DescribeClusterV2UserKubeconfigResponse) GoString() string
func (*DescribeClusterV2UserKubeconfigResponse) SetHeaders ¶
func (s *DescribeClusterV2UserKubeconfigResponse) SetHeaders(v map[string]*string) *DescribeClusterV2UserKubeconfigResponse
func (*DescribeClusterV2UserKubeconfigResponse) SetStatusCode ¶
func (s *DescribeClusterV2UserKubeconfigResponse) SetStatusCode(v int32) *DescribeClusterV2UserKubeconfigResponse
func (DescribeClusterV2UserKubeconfigResponse) String ¶
func (s DescribeClusterV2UserKubeconfigResponse) String() string
type DescribeClusterV2UserKubeconfigResponseBody ¶
type DescribeClusterV2UserKubeconfigResponseBody struct {
Config *string `json:"config,omitempty" xml:"config,omitempty"`
}
func (DescribeClusterV2UserKubeconfigResponseBody) GoString ¶
func (s DescribeClusterV2UserKubeconfigResponseBody) GoString() string
func (*DescribeClusterV2UserKubeconfigResponseBody) SetConfig ¶
func (s *DescribeClusterV2UserKubeconfigResponseBody) SetConfig(v string) *DescribeClusterV2UserKubeconfigResponseBody
func (DescribeClusterV2UserKubeconfigResponseBody) String ¶
func (s DescribeClusterV2UserKubeconfigResponseBody) String() 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 (s *DescribeClusterVulsResponse) SetBody(v *DescribeClusterVulsResponseBody) *DescribeClusterVulsResponse
func (*DescribeClusterVulsResponse) SetHeaders ¶
func (s *DescribeClusterVulsResponse) SetHeaders(v map[string]*string) *DescribeClusterVulsResponse
func (*DescribeClusterVulsResponse) SetStatusCode ¶
func (s *DescribeClusterVulsResponse) SetStatusCode(v int32) *DescribeClusterVulsResponse
func (DescribeClusterVulsResponse) String ¶
func (s DescribeClusterVulsResponse) String() 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 (s DescribeClusterVulsResponseBody) GoString() string
func (*DescribeClusterVulsResponseBody) SetVulRecords ¶
func (s *DescribeClusterVulsResponseBody) SetVulRecords(v []*DescribeClusterVulsResponseBodyVulRecords) *DescribeClusterVulsResponseBody
func (DescribeClusterVulsResponseBody) String ¶
func (s DescribeClusterVulsResponseBody) String() 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 // // example: // // asap Necessity *string `json:"necessity,omitempty" xml:"necessity,omitempty"` // The number of nodes that have the vulnerability. // // example: // // 1 NodeCount *int32 `json:"node_count,omitempty" xml:"node_count,omitempty"` // The node pool ID. // // example: // // np0156da1082b54fa987e32618dd45f5d3 NodepoolId *string `json:"nodepool_id,omitempty" xml:"nodepool_id,omitempty"` // The name of the node pool. // // example: // // test NodepoolName *string `json:"nodepool_name,omitempty" xml:"nodepool_name,omitempty"` // The alias of the vulnerability. // // example: // // CVE-2022-xxxx:rsync Security vulnerabilities VulAliasName *string `json:"vul_alias_name,omitempty" xml:"vul_alias_name,omitempty"` // The name of the vulnerability. // // example: // // oval:com.redhat.rhsa:def:xxxxxxx 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 // // example: // // cve VulType *string `json:"vul_type,omitempty" xml:"vul_type,omitempty"` }
func (DescribeClusterVulsResponseBodyVulRecords) GoString ¶
func (s DescribeClusterVulsResponseBodyVulRecords) GoString() string
func (*DescribeClusterVulsResponseBodyVulRecords) SetCveList ¶
func (s *DescribeClusterVulsResponseBodyVulRecords) SetCveList(v []*string) *DescribeClusterVulsResponseBodyVulRecords
func (*DescribeClusterVulsResponseBodyVulRecords) SetNecessity ¶
func (s *DescribeClusterVulsResponseBodyVulRecords) SetNecessity(v string) *DescribeClusterVulsResponseBodyVulRecords
func (*DescribeClusterVulsResponseBodyVulRecords) SetNodeCount ¶
func (s *DescribeClusterVulsResponseBodyVulRecords) SetNodeCount(v int32) *DescribeClusterVulsResponseBodyVulRecords
func (*DescribeClusterVulsResponseBodyVulRecords) SetNodepoolId ¶
func (s *DescribeClusterVulsResponseBodyVulRecords) SetNodepoolId(v string) *DescribeClusterVulsResponseBodyVulRecords
func (*DescribeClusterVulsResponseBodyVulRecords) SetNodepoolName ¶
func (s *DescribeClusterVulsResponseBodyVulRecords) SetNodepoolName(v string) *DescribeClusterVulsResponseBodyVulRecords
func (*DescribeClusterVulsResponseBodyVulRecords) SetVulAliasName ¶
func (s *DescribeClusterVulsResponseBodyVulRecords) SetVulAliasName(v string) *DescribeClusterVulsResponseBodyVulRecords
func (*DescribeClusterVulsResponseBodyVulRecords) SetVulName ¶
func (s *DescribeClusterVulsResponseBodyVulRecords) SetVulName(v string) *DescribeClusterVulsResponseBodyVulRecords
func (*DescribeClusterVulsResponseBodyVulRecords) SetVulType ¶
func (s *DescribeClusterVulsResponseBodyVulRecords) SetVulType(v string) *DescribeClusterVulsResponseBodyVulRecords
func (DescribeClusterVulsResponseBodyVulRecords) String ¶
func (s DescribeClusterVulsResponseBodyVulRecords) String() string
type DescribeClustersForRegionRequest ¶ added in v5.8.0
type DescribeClustersForRegionRequest struct { // The cluster ID. // // example: // // c8155823d057948c69a**** ClusterId *string `json:"cluster_id,omitempty" xml:"cluster_id,omitempty"` // The specification of the clusters to query. Valid values: // // - ack.pro.small: ACK Pro clusters. // // - ack.standard: ACK Basic clusters. // // example: // // ack.standard ClusterSpec *string `json:"cluster_spec,omitempty" xml:"cluster_spec,omitempty"` // The type of the clusters to query. Valid values: // // - Kubernetes: ACK dedicated clusters. // // - ManagedKubernetes: ACK managed clusters. ACK managed clusters include ACK Basic clusters, ACK Pro clusters, ACK Serverless Basic clusters, ACK Serverless Pro clusters, ACK Edge Basic clusters, ACK Edge Pro clusters, and ACK Lingjun Pro clusters. // // - ExternalKubernetes: registered clusters. // // example: // // Kubernetes ClusterType *string `json:"cluster_type,omitempty" xml:"cluster_type,omitempty"` // Perform a fuzzy search by using the cluster name. // // example: // // test-cluster Name *string `json:"name,omitempty" xml:"name,omitempty"` // The number of pages. // // example: // // 10 PageNumber *int64 `json:"page_number,omitempty" xml:"page_number,omitempty"` // The number of records on each page. // // example: // // 3 PageSize *int64 `json:"page_size,omitempty" xml:"page_size,omitempty"` // The subtype of the clusters to query. Valid values: // // - Default: ACK managed clusters. ACK managed clusters include ACK Basic clusters and ACK Pro clusters. // // - Edge: ACK Edge clusters. ACK Edge clusters include ACK Edge Basic clusters and ACK Edge Pro clusters. // // - Serverless: ACK Serverless clusters. ACK Serverless clusters include ACK Serverless Basic clusters and ACK Serverless Pro clusters. // // - Lingjun: ACK Lingjun Pro clusters. // // example: // // Serverless Profile *string `json:"profile,omitempty" xml:"profile,omitempty"` }
func (DescribeClustersForRegionRequest) GoString ¶ added in v5.8.0
func (s DescribeClustersForRegionRequest) GoString() string
func (*DescribeClustersForRegionRequest) SetClusterId ¶ added in v5.8.0
func (s *DescribeClustersForRegionRequest) SetClusterId(v string) *DescribeClustersForRegionRequest
func (*DescribeClustersForRegionRequest) SetClusterSpec ¶ added in v5.8.0
func (s *DescribeClustersForRegionRequest) SetClusterSpec(v string) *DescribeClustersForRegionRequest
func (*DescribeClustersForRegionRequest) SetClusterType ¶ added in v5.8.0
func (s *DescribeClustersForRegionRequest) SetClusterType(v string) *DescribeClustersForRegionRequest
func (*DescribeClustersForRegionRequest) SetName ¶ added in v5.8.0
func (s *DescribeClustersForRegionRequest) SetName(v string) *DescribeClustersForRegionRequest
func (*DescribeClustersForRegionRequest) SetPageNumber ¶ added in v5.8.0
func (s *DescribeClustersForRegionRequest) SetPageNumber(v int64) *DescribeClustersForRegionRequest
func (*DescribeClustersForRegionRequest) SetPageSize ¶ added in v5.8.0
func (s *DescribeClustersForRegionRequest) SetPageSize(v int64) *DescribeClustersForRegionRequest
func (*DescribeClustersForRegionRequest) SetProfile ¶ added in v5.8.0
func (s *DescribeClustersForRegionRequest) SetProfile(v string) *DescribeClustersForRegionRequest
func (DescribeClustersForRegionRequest) String ¶ added in v5.8.0
func (s DescribeClustersForRegionRequest) String() string
type DescribeClustersForRegionResponse ¶ added in v5.8.0
type DescribeClustersForRegionResponse struct { Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` Body *DescribeClustersForRegionResponseBody `json:"body,omitempty" xml:"body,omitempty"` }
func (DescribeClustersForRegionResponse) GoString ¶ added in v5.8.0
func (s DescribeClustersForRegionResponse) GoString() string
func (*DescribeClustersForRegionResponse) SetHeaders ¶ added in v5.8.0
func (s *DescribeClustersForRegionResponse) SetHeaders(v map[string]*string) *DescribeClustersForRegionResponse
func (*DescribeClustersForRegionResponse) SetStatusCode ¶ added in v5.8.0
func (s *DescribeClustersForRegionResponse) SetStatusCode(v int32) *DescribeClustersForRegionResponse
func (DescribeClustersForRegionResponse) String ¶ added in v5.8.0
func (s DescribeClustersForRegionResponse) String() string
type DescribeClustersForRegionResponseBody ¶ added in v5.8.0
type DescribeClustersForRegionResponseBody struct { // The information about the clusters returned. Clusters []*DescribeClustersForRegionResponseBodyClusters `json:"clusters,omitempty" xml:"clusters,omitempty" type:"Repeated"` // The pagination details. PageInfo *DescribeClustersForRegionResponseBodyPageInfo `json:"page_info,omitempty" xml:"page_info,omitempty" type:"Struct"` }
func (DescribeClustersForRegionResponseBody) GoString ¶ added in v5.8.0
func (s DescribeClustersForRegionResponseBody) GoString() string
func (*DescribeClustersForRegionResponseBody) SetClusters ¶ added in v5.8.0
func (s *DescribeClustersForRegionResponseBody) SetClusters(v []*DescribeClustersForRegionResponseBodyClusters) *DescribeClustersForRegionResponseBody
func (*DescribeClustersForRegionResponseBody) SetPageInfo ¶ added in v5.8.0
func (DescribeClustersForRegionResponseBody) String ¶ added in v5.8.0
func (s DescribeClustersForRegionResponseBody) String() string
type DescribeClustersForRegionResponseBodyClusters ¶ added in v5.8.0
type DescribeClustersForRegionResponseBodyClusters struct { // The domain name of the cluster. // // example: // // cluster.local ClusterDomain *string `json:"cluster_domain,omitempty" xml:"cluster_domain,omitempty"` // The cluster ID. // // example: // // c905d1364c2dd4b6284a3f41790c4**** ClusterId *string `json:"cluster_id,omitempty" xml:"cluster_id,omitempty"` // The types of ACK managed clusters: // // - ack.pro.small: ACK Pro cluster // // - ack.standard: ACK Basic cluster // // example: // // ack.standard ClusterSpec *string `json:"cluster_spec,omitempty" xml:"cluster_spec,omitempty"` // The type of the cluster. Valid values: // // - Kubernetes: ACK dedicated cluster // // - ManagedKubernetes: ACK managed clusters. ACK managed clusters include ACK Basic clusters, ACK Pro clusters, ACK Serverless Basic clusters, ACK Serverless Pro clusters, ACK Edge Basic clusters, ACK Edge Pro clusters, and ACK Lingjun Pro clusters. // // - ExternalKubernetes: registered cluster // // example: // // ManagedKubernetes ClusterType *string `json:"cluster_type,omitempty" xml:"cluster_type,omitempty"` // The CIDR block of pods in the cluster. // // example: // // 172.20.0.0/16 ContainerCidr *string `json:"container_cidr,omitempty" xml:"container_cidr,omitempty"` // The time at which the instance is created. // // example: // // 2020-12-01T20:40:40+08:00 Created *string `json:"created,omitempty" xml:"created,omitempty"` // The current Kubernetes version of the cluster. // // example: // // 1.16.6-aliyun.1 CurrentVersion *string `json:"current_version,omitempty" xml:"current_version,omitempty"` // Specifies whether to enable cluster deletion protection. If you enable this option, the cluster cannot be deleted in the console or by calling API operations. You can obtain the terminal ID by calling one of the following operations: // // - 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. // // example: // // false DeletionProtection *bool `json:"deletion_protection,omitempty" xml:"deletion_protection,omitempty"` // The initial Kubernetes version of the cluster. // // example: // // 1.16.6-aliyun.1 InitVersion *string `json:"init_version,omitempty" xml:"init_version,omitempty"` // The IP protocol stack of the cluster. // // example: // // ipv4 IpStack *string `json:"ip_stack,omitempty" xml:"ip_stack,omitempty"` // The name of the cluster. // // example: // // test-cluster Name *string `json:"name,omitempty" xml:"name,omitempty"` // The Kubernetes version to which the cluster can be updated. // // example: // // 1.18.8-aliyun.1 NextVersion *string `json:"next_version,omitempty" xml:"next_version,omitempty"` // The subtype of the clusters. Valid values: // // - Default: ACK managed clusters. ACK managed clusters include ACK Basic clusters and ACK Pro clusters. // // - Edge: ACK Edge clusters. ACK Edge clusters include ACK Edge Basic clusters and ACK Edge Pro clusters. // // - Serverless: ACK Serverless clusters. ACK Serverless clusters include ACK Serverless Basic clusters and ACK Serverless Pro clusters. // // - Lingjun: ACK Lingjun Pro clusters. // // example: // // Default Profile *string `json:"profile,omitempty" xml:"profile,omitempty"` // The kube-proxy mode of the cluster. // // Valid value: // // - iptables: iptables. // // - ipvs: ipvs. // // example: // // ipvs ProxyMode *string `json:"proxy_mode,omitempty" xml:"proxy_mode,omitempty"` // The region ID. // // example: // // cn-beijing-a RegionId *string `json:"region_id,omitempty" xml:"region_id,omitempty"` // The ID of the cluster resource group. // // example: // // rg-acfmyvw3wjm**** ResourceGroupId *string `json:"resource_group_id,omitempty" xml:"resource_group_id,omitempty"` // The ID of the security group of the cluster. // // example: // // sg-2zeihch86ooz9io4**** SecurityGroupId *string `json:"security_group_id,omitempty" xml:"security_group_id,omitempty"` // The CIDR block of the service network. // // This parameter is required. // // example: // // 172.21.0.0/20 ServiceCidr *string `json:"service_cidr,omitempty" xml:"service_cidr,omitempty"` // The number of nodes in the ACK cluster. // // example: // // 2 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. // // - Upgrading: The cluster is being updated. // // - scaling: The cluster is being scaled. // // - waiting: The cluster is waiting for connection requests. // // - disconnected: The cluster is disconnected. // // - inactive: The cluster is inactive. // // - unavailable: The cluster is unavailable. // // - deleting: The cluster is being deleted. // // - deleted: The ACK cluster is deleted. // // - delete_failed: The cluster failed to be deleted. // // example: // // running State *string `json:"state,omitempty" xml:"state,omitempty"` // The list of cluster tags. Tags []*Tag `json:"tags,omitempty" xml:"tags,omitempty" type:"Repeated"` // The time zone. // // example: // // Asia/Shanghai Timezone *string `json:"timezone,omitempty" xml:"timezone,omitempty"` // The time when the cluster was updated. // // example: // // 2020-12-08T15:37:00+08:00 Updated *string `json:"updated,omitempty" xml:"updated,omitempty"` // The ID of the virtual private cloud (VPC) to which the cluster belongs. // // example: // // vpc-2zeg8nf1ukc0fcmvq**** VpcId *string `json:"vpc_id,omitempty" xml:"vpc_id,omitempty"` // The list of vSwitches on the control plane of the cluster. VswitchIds []*string `json:"vswitch_ids,omitempty" xml:"vswitch_ids,omitempty" type:"Repeated"` }
func (DescribeClustersForRegionResponseBodyClusters) GoString ¶ added in v5.8.0
func (s DescribeClustersForRegionResponseBodyClusters) GoString() string
func (*DescribeClustersForRegionResponseBodyClusters) SetClusterDomain ¶ added in v5.8.0
func (s *DescribeClustersForRegionResponseBodyClusters) SetClusterDomain(v string) *DescribeClustersForRegionResponseBodyClusters
func (*DescribeClustersForRegionResponseBodyClusters) SetClusterId ¶ added in v5.8.0
func (s *DescribeClustersForRegionResponseBodyClusters) SetClusterId(v string) *DescribeClustersForRegionResponseBodyClusters
func (*DescribeClustersForRegionResponseBodyClusters) SetClusterSpec ¶ added in v5.8.0
func (s *DescribeClustersForRegionResponseBodyClusters) SetClusterSpec(v string) *DescribeClustersForRegionResponseBodyClusters
func (*DescribeClustersForRegionResponseBodyClusters) SetClusterType ¶ added in v5.8.0
func (s *DescribeClustersForRegionResponseBodyClusters) SetClusterType(v string) *DescribeClustersForRegionResponseBodyClusters
func (*DescribeClustersForRegionResponseBodyClusters) SetContainerCidr ¶ added in v5.8.0
func (s *DescribeClustersForRegionResponseBodyClusters) SetContainerCidr(v string) *DescribeClustersForRegionResponseBodyClusters
func (*DescribeClustersForRegionResponseBodyClusters) SetCreated ¶ added in v5.8.0
func (s *DescribeClustersForRegionResponseBodyClusters) SetCreated(v string) *DescribeClustersForRegionResponseBodyClusters
func (*DescribeClustersForRegionResponseBodyClusters) SetCurrentVersion ¶ added in v5.8.0
func (s *DescribeClustersForRegionResponseBodyClusters) SetCurrentVersion(v string) *DescribeClustersForRegionResponseBodyClusters
func (*DescribeClustersForRegionResponseBodyClusters) SetDeletionProtection ¶ added in v5.8.0
func (s *DescribeClustersForRegionResponseBodyClusters) SetDeletionProtection(v bool) *DescribeClustersForRegionResponseBodyClusters
func (*DescribeClustersForRegionResponseBodyClusters) SetInitVersion ¶ added in v5.8.0
func (s *DescribeClustersForRegionResponseBodyClusters) SetInitVersion(v string) *DescribeClustersForRegionResponseBodyClusters
func (*DescribeClustersForRegionResponseBodyClusters) SetIpStack ¶ added in v5.8.0
func (s *DescribeClustersForRegionResponseBodyClusters) SetIpStack(v string) *DescribeClustersForRegionResponseBodyClusters
func (*DescribeClustersForRegionResponseBodyClusters) SetName ¶ added in v5.8.0
func (s *DescribeClustersForRegionResponseBodyClusters) SetName(v string) *DescribeClustersForRegionResponseBodyClusters
func (*DescribeClustersForRegionResponseBodyClusters) SetNextVersion ¶ added in v5.8.0
func (s *DescribeClustersForRegionResponseBodyClusters) SetNextVersion(v string) *DescribeClustersForRegionResponseBodyClusters
func (*DescribeClustersForRegionResponseBodyClusters) SetProfile ¶ added in v5.8.0
func (s *DescribeClustersForRegionResponseBodyClusters) SetProfile(v string) *DescribeClustersForRegionResponseBodyClusters
func (*DescribeClustersForRegionResponseBodyClusters) SetProxyMode ¶ added in v5.8.0
func (s *DescribeClustersForRegionResponseBodyClusters) SetProxyMode(v string) *DescribeClustersForRegionResponseBodyClusters
func (*DescribeClustersForRegionResponseBodyClusters) SetRegionId ¶ added in v5.8.0
func (s *DescribeClustersForRegionResponseBodyClusters) SetRegionId(v string) *DescribeClustersForRegionResponseBodyClusters
func (*DescribeClustersForRegionResponseBodyClusters) SetResourceGroupId ¶ added in v5.8.0
func (s *DescribeClustersForRegionResponseBodyClusters) SetResourceGroupId(v string) *DescribeClustersForRegionResponseBodyClusters
func (*DescribeClustersForRegionResponseBodyClusters) SetSecurityGroupId ¶ added in v5.8.0
func (s *DescribeClustersForRegionResponseBodyClusters) SetSecurityGroupId(v string) *DescribeClustersForRegionResponseBodyClusters
func (*DescribeClustersForRegionResponseBodyClusters) SetServiceCidr ¶ added in v5.8.0
func (s *DescribeClustersForRegionResponseBodyClusters) SetServiceCidr(v string) *DescribeClustersForRegionResponseBodyClusters
func (*DescribeClustersForRegionResponseBodyClusters) SetSize ¶ added in v5.8.0
func (s *DescribeClustersForRegionResponseBodyClusters) SetSize(v int64) *DescribeClustersForRegionResponseBodyClusters
func (*DescribeClustersForRegionResponseBodyClusters) SetState ¶ added in v5.8.0
func (s *DescribeClustersForRegionResponseBodyClusters) SetState(v string) *DescribeClustersForRegionResponseBodyClusters
func (*DescribeClustersForRegionResponseBodyClusters) SetTags ¶ added in v5.8.0
func (s *DescribeClustersForRegionResponseBodyClusters) SetTags(v []*Tag) *DescribeClustersForRegionResponseBodyClusters
func (*DescribeClustersForRegionResponseBodyClusters) SetTimezone ¶ added in v5.8.0
func (s *DescribeClustersForRegionResponseBodyClusters) SetTimezone(v string) *DescribeClustersForRegionResponseBodyClusters
func (*DescribeClustersForRegionResponseBodyClusters) SetUpdated ¶ added in v5.8.0
func (s *DescribeClustersForRegionResponseBodyClusters) SetUpdated(v string) *DescribeClustersForRegionResponseBodyClusters
func (*DescribeClustersForRegionResponseBodyClusters) SetVpcId ¶ added in v5.8.0
func (s *DescribeClustersForRegionResponseBodyClusters) SetVpcId(v string) *DescribeClustersForRegionResponseBodyClusters
func (*DescribeClustersForRegionResponseBodyClusters) SetVswitchIds ¶ added in v5.8.0
func (s *DescribeClustersForRegionResponseBodyClusters) SetVswitchIds(v []*string) *DescribeClustersForRegionResponseBodyClusters
func (DescribeClustersForRegionResponseBodyClusters) String ¶ added in v5.8.0
func (s DescribeClustersForRegionResponseBodyClusters) String() string
type DescribeClustersForRegionResponseBodyPageInfo ¶ added in v5.8.0
type DescribeClustersForRegionResponseBodyPageInfo struct { // The number of pages. // // example: // // 1 PageNumber *int32 `json:"page_number,omitempty" xml:"page_number,omitempty"` // The number of records on each page. // // example: // // 10 PageSize *int32 `json:"page_size,omitempty" xml:"page_size,omitempty"` // The total number of entries returned. // // example: // // 10 TotalCount *int32 `json:"total_count,omitempty" xml:"total_count,omitempty"` }
func (DescribeClustersForRegionResponseBodyPageInfo) GoString ¶ added in v5.8.0
func (s DescribeClustersForRegionResponseBodyPageInfo) GoString() string
func (*DescribeClustersForRegionResponseBodyPageInfo) SetPageNumber ¶ added in v5.8.0
func (s *DescribeClustersForRegionResponseBodyPageInfo) SetPageNumber(v int32) *DescribeClustersForRegionResponseBodyPageInfo
func (*DescribeClustersForRegionResponseBodyPageInfo) SetPageSize ¶ added in v5.8.0
func (s *DescribeClustersForRegionResponseBodyPageInfo) SetPageSize(v int32) *DescribeClustersForRegionResponseBodyPageInfo
func (*DescribeClustersForRegionResponseBodyPageInfo) SetTotalCount ¶ added in v5.8.0
func (s *DescribeClustersForRegionResponseBodyPageInfo) SetTotalCount(v int32) *DescribeClustersForRegionResponseBodyPageInfo
func (DescribeClustersForRegionResponseBodyPageInfo) String ¶ added in v5.8.0
func (s DescribeClustersForRegionResponseBodyPageInfo) String() string
type DescribeClustersRequest ¶
type DescribeClustersRequest struct { // The cluster type. // // example: // // ManagedKubernetes 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. // // example: // // test Name *string `json:"name,omitempty" xml:"name,omitempty"` ResourceGroupId *string `json:"resource_group_id,omitempty" xml:"resource_group_id,omitempty"` }
func (DescribeClustersRequest) GoString ¶
func (s DescribeClustersRequest) GoString() string
func (*DescribeClustersRequest) SetClusterType ¶
func (s *DescribeClustersRequest) SetClusterType(v string) *DescribeClustersRequest
func (*DescribeClustersRequest) SetName ¶
func (s *DescribeClustersRequest) SetName(v string) *DescribeClustersRequest
func (*DescribeClustersRequest) SetResourceGroupId ¶ added in v5.3.2
func (s *DescribeClustersRequest) SetResourceGroupId(v string) *DescribeClustersRequest
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 (s *DescribeClustersResponse) SetBody(v []*DescribeClustersResponseBody) *DescribeClustersResponse
func (*DescribeClustersResponse) SetHeaders ¶
func (s *DescribeClustersResponse) SetHeaders(v map[string]*string) *DescribeClustersResponse
func (*DescribeClustersResponse) SetStatusCode ¶
func (s *DescribeClustersResponse) SetStatusCode(v int32) *DescribeClustersResponse
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 (s *DescribeClustersResponseBody) SetClusterId(v string) *DescribeClustersResponseBody
func (*DescribeClustersResponseBody) SetClusterType ¶
func (s *DescribeClustersResponseBody) SetClusterType(v string) *DescribeClustersResponseBody
func (*DescribeClustersResponseBody) SetCreated ¶
func (s *DescribeClustersResponseBody) SetCreated(v string) *DescribeClustersResponseBody
func (*DescribeClustersResponseBody) SetCurrentVersion ¶
func (s *DescribeClustersResponseBody) SetCurrentVersion(v string) *DescribeClustersResponseBody
func (*DescribeClustersResponseBody) SetDataDiskCategory ¶
func (s *DescribeClustersResponseBody) SetDataDiskCategory(v string) *DescribeClustersResponseBody
func (*DescribeClustersResponseBody) SetDataDiskSize ¶
func (s *DescribeClustersResponseBody) SetDataDiskSize(v int64) *DescribeClustersResponseBody
func (*DescribeClustersResponseBody) SetDeletionProtection ¶
func (s *DescribeClustersResponseBody) SetDeletionProtection(v bool) *DescribeClustersResponseBody
func (*DescribeClustersResponseBody) SetDockerVersion ¶
func (s *DescribeClustersResponseBody) SetDockerVersion(v string) *DescribeClustersResponseBody
func (*DescribeClustersResponseBody) SetExternalLoadbalancerId ¶
func (s *DescribeClustersResponseBody) SetExternalLoadbalancerId(v string) *DescribeClustersResponseBody
func (*DescribeClustersResponseBody) SetInitVersion ¶
func (s *DescribeClustersResponseBody) SetInitVersion(v string) *DescribeClustersResponseBody
func (*DescribeClustersResponseBody) SetMasterUrl ¶
func (s *DescribeClustersResponseBody) SetMasterUrl(v string) *DescribeClustersResponseBody
func (*DescribeClustersResponseBody) SetMetaData ¶
func (s *DescribeClustersResponseBody) SetMetaData(v string) *DescribeClustersResponseBody
func (*DescribeClustersResponseBody) SetName ¶
func (s *DescribeClustersResponseBody) SetName(v string) *DescribeClustersResponseBody
func (*DescribeClustersResponseBody) SetNetworkMode ¶
func (s *DescribeClustersResponseBody) SetNetworkMode(v string) *DescribeClustersResponseBody
func (*DescribeClustersResponseBody) SetPrivateZone ¶
func (s *DescribeClustersResponseBody) SetPrivateZone(v bool) *DescribeClustersResponseBody
func (*DescribeClustersResponseBody) SetProfile ¶
func (s *DescribeClustersResponseBody) SetProfile(v string) *DescribeClustersResponseBody
func (*DescribeClustersResponseBody) SetRegionId ¶
func (s *DescribeClustersResponseBody) SetRegionId(v string) *DescribeClustersResponseBody
func (*DescribeClustersResponseBody) SetResourceGroupId ¶
func (s *DescribeClustersResponseBody) SetResourceGroupId(v string) *DescribeClustersResponseBody
func (*DescribeClustersResponseBody) SetSecurityGroupId ¶
func (s *DescribeClustersResponseBody) SetSecurityGroupId(v string) *DescribeClustersResponseBody
func (*DescribeClustersResponseBody) SetSize ¶
func (s *DescribeClustersResponseBody) SetSize(v int64) *DescribeClustersResponseBody
func (*DescribeClustersResponseBody) SetState ¶
func (s *DescribeClustersResponseBody) SetState(v string) *DescribeClustersResponseBody
func (*DescribeClustersResponseBody) SetSubnetCidr ¶
func (s *DescribeClustersResponseBody) SetSubnetCidr(v string) *DescribeClustersResponseBody
func (*DescribeClustersResponseBody) SetTags ¶
func (s *DescribeClustersResponseBody) SetTags(v []*DescribeClustersResponseBodyTags) *DescribeClustersResponseBody
func (*DescribeClustersResponseBody) SetUpdated ¶
func (s *DescribeClustersResponseBody) SetUpdated(v string) *DescribeClustersResponseBody
func (*DescribeClustersResponseBody) SetVpcId ¶
func (s *DescribeClustersResponseBody) SetVpcId(v string) *DescribeClustersResponseBody
func (*DescribeClustersResponseBody) SetVswitchCidr ¶
func (s *DescribeClustersResponseBody) SetVswitchCidr(v string) *DescribeClustersResponseBody
func (*DescribeClustersResponseBody) SetVswitchId ¶
func (s *DescribeClustersResponseBody) SetVswitchId(v string) *DescribeClustersResponseBody
func (*DescribeClustersResponseBody) SetWorkerRamRoleName ¶
func (s *DescribeClustersResponseBody) SetWorkerRamRoleName(v string) *DescribeClustersResponseBody
func (*DescribeClustersResponseBody) SetZoneId ¶
func (s *DescribeClustersResponseBody) SetZoneId(v string) *DescribeClustersResponseBody
func (DescribeClustersResponseBody) String ¶
func (s DescribeClustersResponseBody) String() 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 (s DescribeClustersResponseBodyTags) GoString() string
func (*DescribeClustersResponseBodyTags) SetKey ¶
func (s *DescribeClustersResponseBodyTags) SetKey(v string) *DescribeClustersResponseBodyTags
func (*DescribeClustersResponseBodyTags) SetValue ¶
func (s *DescribeClustersResponseBodyTags) SetValue(v string) *DescribeClustersResponseBodyTags
func (DescribeClustersResponseBodyTags) String ¶
func (s DescribeClustersResponseBodyTags) String() string
type DescribeClustersV1Request ¶
type DescribeClustersV1Request struct { // The cluster ID. // // example: // // ca418e5e6fa2849d78301341700axxxxx ClusterId *string `json:"cluster_id,omitempty" xml:"cluster_id,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`: ACK Pro cluster. // // - `ack.standard`: ACK Basic cluster. If you leave the parameter empty, ACK Basic cluster is selected. // // example: // // ack.pro.small 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 Basic clusters, ACK Serverless Pro clusters, ACK Edge Basic clusters, ACK Edge Pro clusters, and ACK Lingjun Pro clusters. // // - `ExternalKubernetes`: registered cluster. // // example: // // Kubernetes 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 (-). // // example: // // cluster-demo Name *string `json:"name,omitempty" xml:"name,omitempty"` // The page number. // // example: // // 3 PageNumber *int64 `json:"page_number,omitempty" xml:"page_number,omitempty"` // The number of entries per page. // // example: // // 10 PageSize *int64 `json:"page_size,omitempty" xml:"page_size,omitempty"` // 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. // // example: // // Default 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. // // example: // // cn-hangzhou RegionId *string `json:"region_id,omitempty" xml:"region_id,omitempty"` }
func (DescribeClustersV1Request) GoString ¶
func (s DescribeClustersV1Request) GoString() string
func (*DescribeClustersV1Request) SetClusterId ¶
func (s *DescribeClustersV1Request) SetClusterId(v string) *DescribeClustersV1Request
func (*DescribeClustersV1Request) SetClusterSpec ¶
func (s *DescribeClustersV1Request) SetClusterSpec(v string) *DescribeClustersV1Request
func (*DescribeClustersV1Request) SetClusterType ¶
func (s *DescribeClustersV1Request) SetClusterType(v string) *DescribeClustersV1Request
func (*DescribeClustersV1Request) SetName ¶
func (s *DescribeClustersV1Request) SetName(v string) *DescribeClustersV1Request
func (*DescribeClustersV1Request) SetPageNumber ¶
func (s *DescribeClustersV1Request) SetPageNumber(v int64) *DescribeClustersV1Request
func (*DescribeClustersV1Request) SetPageSize ¶
func (s *DescribeClustersV1Request) SetPageSize(v int64) *DescribeClustersV1Request
func (*DescribeClustersV1Request) SetProfile ¶
func (s *DescribeClustersV1Request) SetProfile(v string) *DescribeClustersV1Request
func (*DescribeClustersV1Request) SetRegionId ¶
func (s *DescribeClustersV1Request) SetRegionId(v string) *DescribeClustersV1Request
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 (s *DescribeClustersV1Response) SetBody(v *DescribeClustersV1ResponseBody) *DescribeClustersV1Response
func (*DescribeClustersV1Response) SetHeaders ¶
func (s *DescribeClustersV1Response) SetHeaders(v map[string]*string) *DescribeClustersV1Response
func (*DescribeClustersV1Response) SetStatusCode ¶
func (s *DescribeClustersV1Response) SetStatusCode(v int32) *DescribeClustersV1Response
func (DescribeClustersV1Response) String ¶
func (s DescribeClustersV1Response) String() string
type DescribeClustersV1ResponseBody ¶
type DescribeClustersV1ResponseBody struct { // The queried cluster(s) details. 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 (s DescribeClustersV1ResponseBody) GoString() string
func (*DescribeClustersV1ResponseBody) SetClusters ¶
func (s *DescribeClustersV1ResponseBody) SetClusters(v []*DescribeClustersV1ResponseBodyClusters) *DescribeClustersV1ResponseBody
func (*DescribeClustersV1ResponseBody) SetPageInfo ¶
func (s *DescribeClustersV1ResponseBody) SetPageInfo(v *DescribeClustersV1ResponseBodyPageInfo) *DescribeClustersV1ResponseBody
func (DescribeClustersV1ResponseBody) String ¶
func (s DescribeClustersV1ResponseBody) String() string
type DescribeClustersV1ResponseBodyClusters ¶
type DescribeClustersV1ResponseBodyClusters struct { // The domain name of the cluster. // // example: // // cluster.local ClusterDomain *string `json:"cluster_domain,omitempty" xml:"cluster_domain,omitempty"` // The cluster ID. // // example: // // c3fb96524f9274b4495df0f12a6b5**** ClusterId *string `json:"cluster_id,omitempty" xml:"cluster_id,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`: ACK Pro cluster. // // - `ack.standard`: ACK Basic cluster. If you leave the parameter empty, ACK Basic cluster is selected. // // example: // // ack.standard 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 Basic clusters, ACK Serverless Pro clusters, ACK Edge Basic clusters, ACK Edge Pro clusters, and ACK Lingjun Pro clusters. // // - `ExternalKubernetes`: registered cluster. // // example: // // Kubernetes ClusterType *string `json:"cluster_type,omitempty" xml:"cluster_type,omitempty"` // The pod CIDR block and the configuration of the Flannel network plug-in. // // example: // // 172.20.0.0/16 ContainerCidr *string `json:"container_cidr,omitempty" xml:"container_cidr,omitempty"` // The time when the cluster was created. // // example: // // 2020-08-20T10:51:29+08:00 Created *string `json:"created,omitempty" xml:"created,omitempty"` // The Kubernetes version of the cluster. // // example: // // 1.16.9-aliyun.1 CurrentVersion *string `json:"current_version,omitempty" xml:"current_version,omitempty"` // Specifies whether to enable cluster deletion protection. If this option 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. // // example: // // true DeletionProtection *bool `json:"deletion_protection,omitempty" xml:"deletion_protection,omitempty"` // The Docker version that is used by the cluster. // // example: // // 19.03.5 DockerVersion *string `json:"docker_version,omitempty" xml:"docker_version,omitempty"` // The ID of the Server Load Balancer (SLB) instance that is used by the Ingresses of the cluster. // // The default SLB specification is slb.s1.small, which belongs to the high-performance instance type. // // example: // // lb-2vcrbmlevo6kjpgch**** 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 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 that run the latest two Kubernetes versions in the ACK console. You can call the 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](https://help.aliyun.com/document_detail/185269.html). // // example: // // 1.16.9-aliyun.1 InitVersion *string `json:"init_version,omitempty" xml:"init_version,omitempty"` // The IP stack of the cluster. Valid values: // // - ipv4: The cluster is an IPv4 cluster. // // - dual: The cluster is a dual-stack cluster. // // example: // // ipv4 IpStack *string `json:"ip_stack,omitempty" xml:"ip_stack,omitempty"` // The maintenance window of the cluster. This feature is available only for ACK managed clusters and ACK Serverless clusters. MaintenanceWindow *MaintenanceWindow `json:"maintenance_window,omitempty" xml:"maintenance_window,omitempty"` // The address of the cluster API server. It includes an internal endpoint and a public endpoint. // // example: // // {\\"api_server_endpoint\\":\\"\\",\\"intranet_api_server_endpoint\\":\\"https://192.168.0.251:6443\\"} MasterUrl *string `json:"master_url,omitempty" xml:"master_url,omitempty"` // The metadata of the cluster. // // example: // // {\\"Addons\\":[{\\"config\\":***} 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 (-). // // example: // // cluster-demo 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. // // example: // // vpc NetworkMode *string `json:"network_mode,omitempty" xml:"network_mode,omitempty"` // The Kubernetes version to which the cluster can be updated. // // example: // // 1.18.8-aliyun.1 NextVersion *string `json:"next_version,omitempty" xml:"next_version,omitempty"` // The automatic O\\&M policy of the cluster. OperationPolicy *DescribeClustersV1ResponseBodyClustersOperationPolicy `json:"operation_policy,omitempty" xml:"operation_policy,omitempty" type:"Struct"` // Indicates whether Alibaba Cloud DNS PrivateZone is enabled. Valid values: // // - `true`: Alibaba Cloud DNS PrivateZone is enabled. // // - `false`: Alibaba Cloud DNS PrivateZone is disabled. // // example: // // false PrivateZone *bool `json:"private_zone,omitempty" xml:"private_zone,omitempty"` // The cluster identifier. 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. // // example: // // Default Profile *string `json:"profile,omitempty" xml:"profile,omitempty"` // The Kube-proxy mode. Valid values: // // - `iptables`: a mature and stable kube-proxy mode that 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 that require high load balancing performance. // // example: // // ipvs ProxyMode *string `json:"proxy_mode,omitempty" xml:"proxy_mode,omitempty"` // The region ID of the cluster. // // example: // // cn-beijing RegionId *string `json:"region_id,omitempty" xml:"region_id,omitempty"` // The ID of the resource group to which the cluster belongs. // // example: // // rg-acfmyvw3wjm**** ResourceGroupId *string `json:"resource_group_id,omitempty" xml:"resource_group_id,omitempty"` // The ID of the security group of the cluster. // // example: // // sg-2vcgwsrwgt5mp0yi**** SecurityGroupId *string `json:"security_group_id,omitempty" xml:"security_group_id,omitempty"` // The Service CIDR block. // // This parameter is required. // // example: // // 172.21.0.0/20 ServiceCidr *string `json:"service_cidr,omitempty" xml:"service_cidr,omitempty"` // The number of nodes in the cluster, including control planes and worker nodes. // // example: // // 5 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. // // - `upgrading`: The cluster is undergoing an upgrade. // // - `updating`: Cluster specification changes are being applied. // // - `removing`: Nodes are being removed from the node pool. // // - `draining`: Node draining is in progress. // // - `scaling`: Auto-scaling operation is in progress for the cluster. // // - `stopped`: The cluster has stopped running. // // - `deleting`: The cluster is being deleted. // // - `deleted`: The cluster has been deleted. // // - `delete_failed`: The cluster failed to be deleted. // // example: // // running State *string `json:"state,omitempty" xml:"state,omitempty"` // Deprecated // // Tis parameter is deprecated. Use the container_cidr parameter to obtain the pod CIDR block. 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 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 the network planning of Container Service for Kubernetes (ACK) clusters, see [Plan CIDR blocks for an ACK cluster](https://help.aliyun.com/document_detail/86500.html). // // example: // // 172.21.0.0/16 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 zone // // example: // // Asia/Shanghai Timezone *string `json:"timezone,omitempty" xml:"timezone,omitempty"` // The time when the cluster was updated. // // example: // // 2020-09-16T11:09:55+08:00 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. // // example: // // vpc-2vcg932hsxsxuqbgl**** VpcId *string `json:"vpc_id,omitempty" xml:"vpc_id,omitempty"` // Deprecated // // The IDs of the vSwitches. You can select one to three vSwitches when you create a cluster. To ensure the high availability of the cluster, we recommend that you select vSwitches in different zones. // // example: // // vsw-2vc41xuumx5z2rdma****,vsw-2vc41xuumx5z2rdma**** VswitchId *string `json:"vswitch_id,omitempty" xml:"vswitch_id,omitempty"` // The vSwitches of the control planes. VswitchIds []*string `json:"vswitch_ids,omitempty" xml:"vswitch_ids,omitempty" type:"Repeated"` // 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. // // example: // // KubernetesWorkerRole-ec87d15b-edca-4302-933f-c8a16bf0**** WorkerRamRoleName *string `json:"worker_ram_role_name,omitempty" xml:"worker_ram_role_name,omitempty"` // The ID of the zone where the cluster is deployed. // // example: // // cn-beijing-b ZoneId *string `json:"zone_id,omitempty" xml:"zone_id,omitempty"` }
func (DescribeClustersV1ResponseBodyClusters) GoString ¶
func (s DescribeClustersV1ResponseBodyClusters) GoString() string
func (*DescribeClustersV1ResponseBodyClusters) SetClusterDomain ¶ added in v5.7.9
func (s *DescribeClustersV1ResponseBodyClusters) SetClusterDomain(v string) *DescribeClustersV1ResponseBodyClusters
func (*DescribeClustersV1ResponseBodyClusters) SetClusterId ¶
func (s *DescribeClustersV1ResponseBodyClusters) SetClusterId(v string) *DescribeClustersV1ResponseBodyClusters
func (*DescribeClustersV1ResponseBodyClusters) SetClusterSpec ¶
func (s *DescribeClustersV1ResponseBodyClusters) SetClusterSpec(v string) *DescribeClustersV1ResponseBodyClusters
func (*DescribeClustersV1ResponseBodyClusters) SetClusterType ¶
func (s *DescribeClustersV1ResponseBodyClusters) SetClusterType(v string) *DescribeClustersV1ResponseBodyClusters
func (*DescribeClustersV1ResponseBodyClusters) SetContainerCidr ¶ added in v5.7.9
func (s *DescribeClustersV1ResponseBodyClusters) SetContainerCidr(v string) *DescribeClustersV1ResponseBodyClusters
func (*DescribeClustersV1ResponseBodyClusters) SetCreated ¶
func (s *DescribeClustersV1ResponseBodyClusters) SetCreated(v string) *DescribeClustersV1ResponseBodyClusters
func (*DescribeClustersV1ResponseBodyClusters) SetCurrentVersion ¶
func (s *DescribeClustersV1ResponseBodyClusters) SetCurrentVersion(v string) *DescribeClustersV1ResponseBodyClusters
func (*DescribeClustersV1ResponseBodyClusters) SetDeletionProtection ¶
func (s *DescribeClustersV1ResponseBodyClusters) SetDeletionProtection(v bool) *DescribeClustersV1ResponseBodyClusters
func (*DescribeClustersV1ResponseBodyClusters) SetDockerVersion ¶
func (s *DescribeClustersV1ResponseBodyClusters) SetDockerVersion(v string) *DescribeClustersV1ResponseBodyClusters
func (*DescribeClustersV1ResponseBodyClusters) SetExternalLoadbalancerId ¶
func (s *DescribeClustersV1ResponseBodyClusters) SetExternalLoadbalancerId(v string) *DescribeClustersV1ResponseBodyClusters
func (*DescribeClustersV1ResponseBodyClusters) SetInitVersion ¶
func (s *DescribeClustersV1ResponseBodyClusters) SetInitVersion(v string) *DescribeClustersV1ResponseBodyClusters
func (*DescribeClustersV1ResponseBodyClusters) SetIpStack ¶ added in v5.7.9
func (s *DescribeClustersV1ResponseBodyClusters) SetIpStack(v string) *DescribeClustersV1ResponseBodyClusters
func (*DescribeClustersV1ResponseBodyClusters) SetMaintenanceWindow ¶
func (s *DescribeClustersV1ResponseBodyClusters) SetMaintenanceWindow(v *MaintenanceWindow) *DescribeClustersV1ResponseBodyClusters
func (*DescribeClustersV1ResponseBodyClusters) SetMasterUrl ¶
func (s *DescribeClustersV1ResponseBodyClusters) SetMasterUrl(v string) *DescribeClustersV1ResponseBodyClusters
func (*DescribeClustersV1ResponseBodyClusters) SetMetaData ¶
func (s *DescribeClustersV1ResponseBodyClusters) SetMetaData(v string) *DescribeClustersV1ResponseBodyClusters
func (*DescribeClustersV1ResponseBodyClusters) SetName ¶
func (s *DescribeClustersV1ResponseBodyClusters) SetName(v string) *DescribeClustersV1ResponseBodyClusters
func (*DescribeClustersV1ResponseBodyClusters) SetNetworkMode ¶
func (s *DescribeClustersV1ResponseBodyClusters) SetNetworkMode(v string) *DescribeClustersV1ResponseBodyClusters
func (*DescribeClustersV1ResponseBodyClusters) SetNextVersion ¶
func (s *DescribeClustersV1ResponseBodyClusters) SetNextVersion(v string) *DescribeClustersV1ResponseBodyClusters
func (*DescribeClustersV1ResponseBodyClusters) SetOperationPolicy ¶ added in v5.7.8
func (s *DescribeClustersV1ResponseBodyClusters) SetOperationPolicy(v *DescribeClustersV1ResponseBodyClustersOperationPolicy) *DescribeClustersV1ResponseBodyClusters
func (*DescribeClustersV1ResponseBodyClusters) SetPrivateZone ¶
func (s *DescribeClustersV1ResponseBodyClusters) SetPrivateZone(v bool) *DescribeClustersV1ResponseBodyClusters
func (*DescribeClustersV1ResponseBodyClusters) SetProfile ¶
func (s *DescribeClustersV1ResponseBodyClusters) SetProfile(v string) *DescribeClustersV1ResponseBodyClusters
func (*DescribeClustersV1ResponseBodyClusters) SetProxyMode ¶ added in v5.7.9
func (s *DescribeClustersV1ResponseBodyClusters) SetProxyMode(v string) *DescribeClustersV1ResponseBodyClusters
func (*DescribeClustersV1ResponseBodyClusters) SetRegionId ¶
func (s *DescribeClustersV1ResponseBodyClusters) SetRegionId(v string) *DescribeClustersV1ResponseBodyClusters
func (*DescribeClustersV1ResponseBodyClusters) SetResourceGroupId ¶
func (s *DescribeClustersV1ResponseBodyClusters) SetResourceGroupId(v string) *DescribeClustersV1ResponseBodyClusters
func (*DescribeClustersV1ResponseBodyClusters) SetSecurityGroupId ¶
func (s *DescribeClustersV1ResponseBodyClusters) SetSecurityGroupId(v string) *DescribeClustersV1ResponseBodyClusters
func (*DescribeClustersV1ResponseBodyClusters) SetServiceCidr ¶ added in v5.7.9
func (s *DescribeClustersV1ResponseBodyClusters) SetServiceCidr(v string) *DescribeClustersV1ResponseBodyClusters
func (*DescribeClustersV1ResponseBodyClusters) SetSize ¶
func (s *DescribeClustersV1ResponseBodyClusters) SetSize(v int64) *DescribeClustersV1ResponseBodyClusters
func (*DescribeClustersV1ResponseBodyClusters) SetState ¶
func (s *DescribeClustersV1ResponseBodyClusters) SetState(v string) *DescribeClustersV1ResponseBodyClusters
func (*DescribeClustersV1ResponseBodyClusters) SetSubnetCidr ¶
func (s *DescribeClustersV1ResponseBodyClusters) SetSubnetCidr(v string) *DescribeClustersV1ResponseBodyClusters
func (*DescribeClustersV1ResponseBodyClusters) SetTags ¶
func (s *DescribeClustersV1ResponseBodyClusters) SetTags(v []*Tag) *DescribeClustersV1ResponseBodyClusters
func (*DescribeClustersV1ResponseBodyClusters) SetTimezone ¶ added in v5.7.9
func (s *DescribeClustersV1ResponseBodyClusters) SetTimezone(v string) *DescribeClustersV1ResponseBodyClusters
func (*DescribeClustersV1ResponseBodyClusters) SetUpdated ¶
func (s *DescribeClustersV1ResponseBodyClusters) SetUpdated(v string) *DescribeClustersV1ResponseBodyClusters
func (*DescribeClustersV1ResponseBodyClusters) SetVpcId ¶
func (s *DescribeClustersV1ResponseBodyClusters) SetVpcId(v string) *DescribeClustersV1ResponseBodyClusters
func (*DescribeClustersV1ResponseBodyClusters) SetVswitchId ¶
func (s *DescribeClustersV1ResponseBodyClusters) SetVswitchId(v string) *DescribeClustersV1ResponseBodyClusters
func (*DescribeClustersV1ResponseBodyClusters) SetVswitchIds ¶ added in v5.7.9
func (s *DescribeClustersV1ResponseBodyClusters) SetVswitchIds(v []*string) *DescribeClustersV1ResponseBodyClusters
func (*DescribeClustersV1ResponseBodyClusters) SetWorkerRamRoleName ¶
func (s *DescribeClustersV1ResponseBodyClusters) SetWorkerRamRoleName(v string) *DescribeClustersV1ResponseBodyClusters
func (*DescribeClustersV1ResponseBodyClusters) SetZoneId ¶
func (s *DescribeClustersV1ResponseBodyClusters) SetZoneId(v string) *DescribeClustersV1ResponseBodyClusters
func (DescribeClustersV1ResponseBodyClusters) String ¶
func (s DescribeClustersV1ResponseBodyClusters) String() string
type DescribeClustersV1ResponseBodyClustersOperationPolicy ¶ added in v5.7.8
type DescribeClustersV1ResponseBodyClustersOperationPolicy struct { // The configurations of auto cluster update. ClusterAutoUpgrade *DescribeClustersV1ResponseBodyClustersOperationPolicyClusterAutoUpgrade `json:"cluster_auto_upgrade,omitempty" xml:"cluster_auto_upgrade,omitempty" type:"Struct"` }
func (DescribeClustersV1ResponseBodyClustersOperationPolicy) GoString ¶ added in v5.7.8
func (s DescribeClustersV1ResponseBodyClustersOperationPolicy) GoString() string
func (*DescribeClustersV1ResponseBodyClustersOperationPolicy) SetClusterAutoUpgrade ¶ added in v5.7.8
func (DescribeClustersV1ResponseBodyClustersOperationPolicy) String ¶ added in v5.7.8
func (s DescribeClustersV1ResponseBodyClustersOperationPolicy) String() string
type DescribeClustersV1ResponseBodyClustersOperationPolicyClusterAutoUpgrade ¶ added in v5.7.8
type DescribeClustersV1ResponseBodyClustersOperationPolicyClusterAutoUpgrade struct { // The frequency of auto cluster updates. For more information, see [Update frequency](https://help.aliyun.com/document_detail/2712866.html). // // Valid values: // // - patch: the latest patch version. // // - stables: the second-latest minor version. // // - rapid: the latest minor version. // // example: // // patch Channel *string `json:"channel,omitempty" xml:"channel,omitempty"` // Specifies whether to enable auto cluster update. // // example: // // true Enabled *bool `json:"enabled,omitempty" xml:"enabled,omitempty"` }
func (DescribeClustersV1ResponseBodyClustersOperationPolicyClusterAutoUpgrade) GoString ¶ added in v5.7.8
func (s DescribeClustersV1ResponseBodyClustersOperationPolicyClusterAutoUpgrade) GoString() string
func (*DescribeClustersV1ResponseBodyClustersOperationPolicyClusterAutoUpgrade) SetChannel ¶ added in v5.7.8
func (*DescribeClustersV1ResponseBodyClustersOperationPolicyClusterAutoUpgrade) SetEnabled ¶ added in v5.7.8
type DescribeClustersV1ResponseBodyPageInfo ¶
type DescribeClustersV1ResponseBodyPageInfo struct { // The page number. // // example: // // 3 PageNumber *int32 `json:"page_number,omitempty" xml:"page_number,omitempty"` // The number of entries per page. // // example: // // 20 PageSize *int32 `json:"page_size,omitempty" xml:"page_size,omitempty"` // The total number of entries returned. // // example: // // 50 TotalCount *int32 `json:"total_count,omitempty" xml:"total_count,omitempty"` }
func (DescribeClustersV1ResponseBodyPageInfo) GoString ¶
func (s DescribeClustersV1ResponseBodyPageInfo) GoString() string
func (*DescribeClustersV1ResponseBodyPageInfo) SetPageNumber ¶
func (s *DescribeClustersV1ResponseBodyPageInfo) SetPageNumber(v int32) *DescribeClustersV1ResponseBodyPageInfo
func (*DescribeClustersV1ResponseBodyPageInfo) SetPageSize ¶
func (s *DescribeClustersV1ResponseBodyPageInfo) SetPageSize(v int32) *DescribeClustersV1ResponseBodyPageInfo
func (*DescribeClustersV1ResponseBodyPageInfo) SetTotalCount ¶
func (s *DescribeClustersV1ResponseBodyPageInfo) SetTotalCount(v int32) *DescribeClustersV1ResponseBodyPageInfo
func (DescribeClustersV1ResponseBodyPageInfo) String ¶
func (s DescribeClustersV1ResponseBodyPageInfo) String() 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 (s DescribeEdgeMachineActiveProcessResponse) GoString() string
func (*DescribeEdgeMachineActiveProcessResponse) SetHeaders ¶
func (s *DescribeEdgeMachineActiveProcessResponse) SetHeaders(v map[string]*string) *DescribeEdgeMachineActiveProcessResponse
func (*DescribeEdgeMachineActiveProcessResponse) SetStatusCode ¶
func (s *DescribeEdgeMachineActiveProcessResponse) SetStatusCode(v int32) *DescribeEdgeMachineActiveProcessResponse
func (DescribeEdgeMachineActiveProcessResponse) String ¶
func (s DescribeEdgeMachineActiveProcessResponse) String() string
type DescribeEdgeMachineActiveProcessResponseBody ¶
type DescribeEdgeMachineActiveProcessResponseBody struct { // The activation progress list. // // example: // // [{\"content\":\"步骤 \"颁发激活凭证\" 执行开始\",\"id\":0,\"level\":3,\"timestamp\":1625994913000},{\"content\":\"步骤 \"颁发激活凭证\" 执行成功\",\"id\":1,\"level\":3,\"timestamp\":1625994914000},{\"content\":\"步骤 \"初始化主机配置\" 执行开始\",\"id\":2,\"level\":3,\"timestamp\":1625994975000},{\"content\":\"步骤 \"初始化主机配置\" 执行成功\",\"id\":3,\"level\":3,\"timestamp\":1625994975000}] Logs *string `json:"logs,omitempty" xml:"logs,omitempty"` // The activation progress. // // example: // // 100 Progress *int64 `json:"progress,omitempty" xml:"progress,omitempty"` // The request ID. // // example: // // b62796a8-c5a6-4d3f-beb2-7650e4309cb1 RequestId *string `json:"request_id,omitempty" xml:"request_id,omitempty"` // The activation status. // // example: // // ACTIVATED State *string `json:"state,omitempty" xml:"state,omitempty"` // The activation step. // // example: // // 步骤 \"初始化主机配置\" 执行成功 Step *string `json:"step,omitempty" xml:"step,omitempty"` }
func (DescribeEdgeMachineActiveProcessResponseBody) GoString ¶
func (s DescribeEdgeMachineActiveProcessResponseBody) GoString() string
func (*DescribeEdgeMachineActiveProcessResponseBody) SetLogs ¶
func (s *DescribeEdgeMachineActiveProcessResponseBody) SetLogs(v string) *DescribeEdgeMachineActiveProcessResponseBody
func (*DescribeEdgeMachineActiveProcessResponseBody) SetProgress ¶
func (s *DescribeEdgeMachineActiveProcessResponseBody) SetProgress(v int64) *DescribeEdgeMachineActiveProcessResponseBody
func (*DescribeEdgeMachineActiveProcessResponseBody) SetRequestId ¶
func (s *DescribeEdgeMachineActiveProcessResponseBody) SetRequestId(v string) *DescribeEdgeMachineActiveProcessResponseBody
func (*DescribeEdgeMachineActiveProcessResponseBody) SetState ¶
func (s *DescribeEdgeMachineActiveProcessResponseBody) SetState(v string) *DescribeEdgeMachineActiveProcessResponseBody
func (*DescribeEdgeMachineActiveProcessResponseBody) SetStep ¶
func (s *DescribeEdgeMachineActiveProcessResponseBody) SetStep(v string) *DescribeEdgeMachineActiveProcessResponseBody
func (DescribeEdgeMachineActiveProcessResponseBody) String ¶
func (s DescribeEdgeMachineActiveProcessResponseBody) String() 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 (s DescribeEdgeMachineModelsResponse) GoString() string
func (*DescribeEdgeMachineModelsResponse) SetHeaders ¶
func (s *DescribeEdgeMachineModelsResponse) SetHeaders(v map[string]*string) *DescribeEdgeMachineModelsResponse
func (*DescribeEdgeMachineModelsResponse) SetStatusCode ¶
func (s *DescribeEdgeMachineModelsResponse) SetStatusCode(v int32) *DescribeEdgeMachineModelsResponse
func (DescribeEdgeMachineModelsResponse) String ¶
func (s DescribeEdgeMachineModelsResponse) String() 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 (s DescribeEdgeMachineModelsResponseBody) GoString() string
func (DescribeEdgeMachineModelsResponseBody) String ¶
func (s DescribeEdgeMachineModelsResponseBody) String() string
type DescribeEdgeMachineModelsResponseBodyModels ¶
type DescribeEdgeMachineModelsResponseBodyModels struct { // The number of vCores. // // example: // // 6 Cpu *int32 `json:"cpu,omitempty" xml:"cpu,omitempty"` // The CPU architecture. // // example: // // x86_64/arm64 CpuArch *string `json:"cpu_arch,omitempty" xml:"cpu_arch,omitempty"` // The time when the cloud-native box was created. // // example: // // 2021-07-07T20:44:00+08:00 Created *string `json:"created,omitempty" xml:"created,omitempty"` // The description of the cloud-native box. // // example: // // B010 Description *string `json:"description,omitempty" xml:"description,omitempty"` // Indicates whether the cloud-native box model manages the Docker runtime. // // example: // // 0/1 ManageRuntime *int32 `json:"manage_runtime,omitempty" xml:"manage_runtime,omitempty"` // The memory. Unit: GB. // // example: // // 8 Memory *int32 `json:"memory,omitempty" xml:"memory,omitempty"` // The model of the cloud-native box. // // example: // // ACK-V-B010 Model *string `json:"model,omitempty" xml:"model,omitempty"` // The ID of the cloud-native box. // // example: // // c34cc753-8908-4739-bd10-ebd922a4**** ModelId *string `json:"model_id,omitempty" xml:"model_id,omitempty"` }
func (DescribeEdgeMachineModelsResponseBodyModels) GoString ¶
func (s DescribeEdgeMachineModelsResponseBodyModels) GoString() string
func (*DescribeEdgeMachineModelsResponseBodyModels) SetCpu ¶
func (s *DescribeEdgeMachineModelsResponseBodyModels) SetCpu(v int32) *DescribeEdgeMachineModelsResponseBodyModels
func (*DescribeEdgeMachineModelsResponseBodyModels) SetCpuArch ¶
func (s *DescribeEdgeMachineModelsResponseBodyModels) SetCpuArch(v string) *DescribeEdgeMachineModelsResponseBodyModels
func (*DescribeEdgeMachineModelsResponseBodyModels) SetCreated ¶
func (s *DescribeEdgeMachineModelsResponseBodyModels) SetCreated(v string) *DescribeEdgeMachineModelsResponseBodyModels
func (*DescribeEdgeMachineModelsResponseBodyModels) SetDescription ¶
func (s *DescribeEdgeMachineModelsResponseBodyModels) SetDescription(v string) *DescribeEdgeMachineModelsResponseBodyModels
func (*DescribeEdgeMachineModelsResponseBodyModels) SetManageRuntime ¶
func (s *DescribeEdgeMachineModelsResponseBodyModels) SetManageRuntime(v int32) *DescribeEdgeMachineModelsResponseBodyModels
func (*DescribeEdgeMachineModelsResponseBodyModels) SetMemory ¶
func (s *DescribeEdgeMachineModelsResponseBodyModels) SetMemory(v int32) *DescribeEdgeMachineModelsResponseBodyModels
func (*DescribeEdgeMachineModelsResponseBodyModels) SetModel ¶
func (s *DescribeEdgeMachineModelsResponseBodyModels) SetModel(v string) *DescribeEdgeMachineModelsResponseBodyModels
func (*DescribeEdgeMachineModelsResponseBodyModels) SetModelId ¶
func (s *DescribeEdgeMachineModelsResponseBodyModels) SetModelId(v string) *DescribeEdgeMachineModelsResponseBodyModels
func (DescribeEdgeMachineModelsResponseBodyModels) String ¶
func (s DescribeEdgeMachineModelsResponseBodyModels) String() 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 (s DescribeEdgeMachineTunnelConfigDetailResponse) GoString() string
func (*DescribeEdgeMachineTunnelConfigDetailResponse) SetHeaders ¶
func (s *DescribeEdgeMachineTunnelConfigDetailResponse) SetHeaders(v map[string]*string) *DescribeEdgeMachineTunnelConfigDetailResponse
func (*DescribeEdgeMachineTunnelConfigDetailResponse) SetStatusCode ¶
func (s *DescribeEdgeMachineTunnelConfigDetailResponse) SetStatusCode(v int32) *DescribeEdgeMachineTunnelConfigDetailResponse
func (DescribeEdgeMachineTunnelConfigDetailResponse) String ¶
func (s DescribeEdgeMachineTunnelConfigDetailResponse) String() string
type DescribeEdgeMachineTunnelConfigDetailResponseBody ¶
type DescribeEdgeMachineTunnelConfigDetailResponseBody struct { // The device name. // // example: // // TEST0621N0FF**** DeviceName *string `json:"device_name,omitempty" xml:"device_name,omitempty"` // The model of the cloud-native box. // // example: // // ACK-A-S001 Model *string `json:"model,omitempty" xml:"model,omitempty"` // Product Key // // example: // // a11rXul**** ProductKey *string `json:"product_key,omitempty" xml:"product_key,omitempty"` // Request ID // // example: // // bfd12953-31cb-42f1-8a36-7b80ec345094 RequestId *string `json:"request_id,omitempty" xml:"request_id,omitempty"` // The serial number of the cloud-native box. // // example: // // Q2CB5XZAFBFG**** Sn *string `json:"sn,omitempty" xml:"sn,omitempty"` // Token // // example: // // abcd**** Token *string `json:"token,omitempty" xml:"token,omitempty"` // The tunnel endpoint. // // example: // // wss://frontend-iotx-r-debug.aliyun-inc.test TunnelEndpoint *string `json:"tunnel_endpoint,omitempty" xml:"tunnel_endpoint,omitempty"` }
func (DescribeEdgeMachineTunnelConfigDetailResponseBody) GoString ¶
func (s DescribeEdgeMachineTunnelConfigDetailResponseBody) GoString() string
func (*DescribeEdgeMachineTunnelConfigDetailResponseBody) SetDeviceName ¶
func (s *DescribeEdgeMachineTunnelConfigDetailResponseBody) SetDeviceName(v string) *DescribeEdgeMachineTunnelConfigDetailResponseBody
func (*DescribeEdgeMachineTunnelConfigDetailResponseBody) SetProductKey ¶
func (s *DescribeEdgeMachineTunnelConfigDetailResponseBody) SetProductKey(v string) *DescribeEdgeMachineTunnelConfigDetailResponseBody
func (*DescribeEdgeMachineTunnelConfigDetailResponseBody) SetRequestId ¶
func (s *DescribeEdgeMachineTunnelConfigDetailResponseBody) SetRequestId(v string) *DescribeEdgeMachineTunnelConfigDetailResponseBody
func (*DescribeEdgeMachineTunnelConfigDetailResponseBody) SetTunnelEndpoint ¶
func (s *DescribeEdgeMachineTunnelConfigDetailResponseBody) SetTunnelEndpoint(v string) *DescribeEdgeMachineTunnelConfigDetailResponseBody
func (DescribeEdgeMachineTunnelConfigDetailResponseBody) String ¶
func (s DescribeEdgeMachineTunnelConfigDetailResponseBody) String() string
type DescribeEdgeMachinesRequest ¶
type DescribeEdgeMachinesRequest struct { // The `hostname` of the cloud-native box. // // example: // // ack-v-b010-ssdfw**** Hostname *string `json:"hostname,omitempty" xml:"hostname,omitempty"` // The lifecycle status. // // example: // // activated/waitOnline/deleting LifeState *string `json:"life_state,omitempty" xml:"life_state,omitempty"` // The type of cloud-native box. // // example: // // ACK-V-B010 Model *string `json:"model,omitempty" xml:"model,omitempty"` // The status of the cloud-native box. Valid values: // // - `offline` // // - `online` // // example: // // offline/online OnlineState *string `json:"online_state,omitempty" xml:"online_state,omitempty"` // The page number. // // example: // // 1 PageNumber *int64 `json:"page_number,omitempty" xml:"page_number,omitempty"` // The number of entries per page. // // example: // // 10 PageSize *int64 `json:"page_size,omitempty" xml:"page_size,omitempty"` }
func (DescribeEdgeMachinesRequest) GoString ¶
func (s DescribeEdgeMachinesRequest) GoString() string
func (*DescribeEdgeMachinesRequest) SetHostname ¶
func (s *DescribeEdgeMachinesRequest) SetHostname(v string) *DescribeEdgeMachinesRequest
func (*DescribeEdgeMachinesRequest) SetLifeState ¶
func (s *DescribeEdgeMachinesRequest) SetLifeState(v string) *DescribeEdgeMachinesRequest
func (*DescribeEdgeMachinesRequest) SetModel ¶
func (s *DescribeEdgeMachinesRequest) SetModel(v string) *DescribeEdgeMachinesRequest
func (*DescribeEdgeMachinesRequest) SetOnlineState ¶
func (s *DescribeEdgeMachinesRequest) SetOnlineState(v string) *DescribeEdgeMachinesRequest
func (*DescribeEdgeMachinesRequest) SetPageNumber ¶
func (s *DescribeEdgeMachinesRequest) SetPageNumber(v int64) *DescribeEdgeMachinesRequest
func (*DescribeEdgeMachinesRequest) SetPageSize ¶
func (s *DescribeEdgeMachinesRequest) SetPageSize(v int64) *DescribeEdgeMachinesRequest
func (DescribeEdgeMachinesRequest) String ¶
func (s DescribeEdgeMachinesRequest) String() 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 (s *DescribeEdgeMachinesResponse) SetBody(v *DescribeEdgeMachinesResponseBody) *DescribeEdgeMachinesResponse
func (*DescribeEdgeMachinesResponse) SetHeaders ¶
func (s *DescribeEdgeMachinesResponse) SetHeaders(v map[string]*string) *DescribeEdgeMachinesResponse
func (*DescribeEdgeMachinesResponse) SetStatusCode ¶
func (s *DescribeEdgeMachinesResponse) SetStatusCode(v int32) *DescribeEdgeMachinesResponse
func (DescribeEdgeMachinesResponse) String ¶
func (s DescribeEdgeMachinesResponse) String() 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 (s DescribeEdgeMachinesResponseBody) GoString() string
func (*DescribeEdgeMachinesResponseBody) SetEdgeMachines ¶
func (s *DescribeEdgeMachinesResponseBody) SetEdgeMachines(v []*DescribeEdgeMachinesResponseBodyEdgeMachines) *DescribeEdgeMachinesResponseBody
func (*DescribeEdgeMachinesResponseBody) SetPageInfo ¶
func (s *DescribeEdgeMachinesResponseBody) SetPageInfo(v *DescribeEdgeMachinesResponseBodyPageInfo) *DescribeEdgeMachinesResponseBody
func (DescribeEdgeMachinesResponseBody) String ¶
func (s DescribeEdgeMachinesResponseBody) String() string
type DescribeEdgeMachinesResponseBodyEdgeMachines ¶
type DescribeEdgeMachinesResponseBodyEdgeMachines struct { // The time when the cloud-native box was activated. // // example: // // 2021-07-19T16:07:48+08:00 ActiveTime *string `json:"active_time,omitempty" xml:"active_time,omitempty"` // The time when the cloud-native box was created. // // example: // // 2021-07-07T20:44:00+08:00 Created *string `json:"created,omitempty" xml:"created,omitempty"` // The device ID. // // example: // // c61083909b13f4a95b8554bda9577**** EdgeMachineId *string `json:"edge_machine_id,omitempty" xml:"edge_machine_id,omitempty"` // The `hostname` of the cloud-native box. // // example: // // ack-v-b010-ssdfw**** Hostname *string `json:"hostname,omitempty" xml:"hostname,omitempty"` // The lifecycle of the cloud-native box. // // example: // // activated LifeState *string `json:"life_state,omitempty" xml:"life_state,omitempty"` // The model of the cloud-native box. // // example: // // ACK-V-B010 Model *string `json:"model,omitempty" xml:"model,omitempty"` // The machine name. // // example: // // ack-v-b010-ssdfw**** Name *string `json:"name,omitempty" xml:"name,omitempty"` // The status of the cloud-native box. // // example: // // online OnlineState *string `json:"online_state,omitempty" xml:"online_state,omitempty"` // The serial number. // // example: // // ACK9GBL31SXX**** Sn *string `json:"sn,omitempty" xml:"sn,omitempty"` // The time when the cloud-native box was last updated. // // example: // // 2021-07-07T20:44:00+08:00 Updated *string `json:"updated,omitempty" xml:"updated,omitempty"` }
func (DescribeEdgeMachinesResponseBodyEdgeMachines) GoString ¶
func (s DescribeEdgeMachinesResponseBodyEdgeMachines) GoString() string
func (*DescribeEdgeMachinesResponseBodyEdgeMachines) SetActiveTime ¶
func (s *DescribeEdgeMachinesResponseBodyEdgeMachines) SetActiveTime(v string) *DescribeEdgeMachinesResponseBodyEdgeMachines
func (*DescribeEdgeMachinesResponseBodyEdgeMachines) SetCreated ¶
func (s *DescribeEdgeMachinesResponseBodyEdgeMachines) SetCreated(v string) *DescribeEdgeMachinesResponseBodyEdgeMachines
func (*DescribeEdgeMachinesResponseBodyEdgeMachines) SetEdgeMachineId ¶
func (s *DescribeEdgeMachinesResponseBodyEdgeMachines) SetEdgeMachineId(v string) *DescribeEdgeMachinesResponseBodyEdgeMachines
func (*DescribeEdgeMachinesResponseBodyEdgeMachines) SetHostname ¶
func (s *DescribeEdgeMachinesResponseBodyEdgeMachines) SetHostname(v string) *DescribeEdgeMachinesResponseBodyEdgeMachines
func (*DescribeEdgeMachinesResponseBodyEdgeMachines) SetLifeState ¶
func (s *DescribeEdgeMachinesResponseBodyEdgeMachines) SetLifeState(v string) *DescribeEdgeMachinesResponseBodyEdgeMachines
func (*DescribeEdgeMachinesResponseBodyEdgeMachines) SetModel ¶
func (s *DescribeEdgeMachinesResponseBodyEdgeMachines) SetModel(v string) *DescribeEdgeMachinesResponseBodyEdgeMachines
func (*DescribeEdgeMachinesResponseBodyEdgeMachines) SetName ¶
func (s *DescribeEdgeMachinesResponseBodyEdgeMachines) SetName(v string) *DescribeEdgeMachinesResponseBodyEdgeMachines
func (*DescribeEdgeMachinesResponseBodyEdgeMachines) SetOnlineState ¶
func (s *DescribeEdgeMachinesResponseBodyEdgeMachines) SetOnlineState(v string) *DescribeEdgeMachinesResponseBodyEdgeMachines
func (*DescribeEdgeMachinesResponseBodyEdgeMachines) SetUpdated ¶
func (s *DescribeEdgeMachinesResponseBodyEdgeMachines) SetUpdated(v string) *DescribeEdgeMachinesResponseBodyEdgeMachines
func (DescribeEdgeMachinesResponseBodyEdgeMachines) String ¶
func (s DescribeEdgeMachinesResponseBodyEdgeMachines) String() string
type DescribeEdgeMachinesResponseBodyPageInfo ¶
type DescribeEdgeMachinesResponseBodyPageInfo struct { // The page number. // // Default value: 1. // // example: // // 1 PageNumber *int32 `json:"page_number,omitempty" xml:"page_number,omitempty"` // The number of entries per page. // // Default value: 10. // // example: // // 10 PageSize *int32 `json:"page_size,omitempty" xml:"page_size,omitempty"` // The total number of pages returned. // // example: // // 1 TotalCount *int32 `json:"total_count,omitempty" xml:"total_count,omitempty"` }
func (DescribeEdgeMachinesResponseBodyPageInfo) GoString ¶
func (s DescribeEdgeMachinesResponseBodyPageInfo) GoString() string
func (*DescribeEdgeMachinesResponseBodyPageInfo) SetPageNumber ¶
func (s *DescribeEdgeMachinesResponseBodyPageInfo) SetPageNumber(v int32) *DescribeEdgeMachinesResponseBodyPageInfo
func (*DescribeEdgeMachinesResponseBodyPageInfo) SetPageSize ¶
func (s *DescribeEdgeMachinesResponseBodyPageInfo) SetPageSize(v int32) *DescribeEdgeMachinesResponseBodyPageInfo
func (*DescribeEdgeMachinesResponseBodyPageInfo) SetTotalCount ¶
func (s *DescribeEdgeMachinesResponseBodyPageInfo) SetTotalCount(v int32) *DescribeEdgeMachinesResponseBodyPageInfo
func (DescribeEdgeMachinesResponseBodyPageInfo) String ¶
func (s DescribeEdgeMachinesResponseBodyPageInfo) String() string
type DescribeEventsForRegionRequest ¶ added in v5.8.0
type DescribeEventsForRegionRequest struct { // The cluster ID. // // example: // // cf62854ac2130470897be7a27ed1f**** ClusterId *string `json:"cluster_id,omitempty" xml:"cluster_id,omitempty"` // The number of pages. // // example: // // 1 PageNumber *int64 `json:"page_number,omitempty" xml:"page_number,omitempty"` // The number of records on each page. // // example: // // 50 PageSize *int64 `json:"page_size,omitempty" xml:"page_size,omitempty"` }
func (DescribeEventsForRegionRequest) GoString ¶ added in v5.8.0
func (s DescribeEventsForRegionRequest) GoString() string
func (*DescribeEventsForRegionRequest) SetClusterId ¶ added in v5.8.0
func (s *DescribeEventsForRegionRequest) SetClusterId(v string) *DescribeEventsForRegionRequest
func (*DescribeEventsForRegionRequest) SetPageNumber ¶ added in v5.8.0
func (s *DescribeEventsForRegionRequest) SetPageNumber(v int64) *DescribeEventsForRegionRequest
func (*DescribeEventsForRegionRequest) SetPageSize ¶ added in v5.8.0
func (s *DescribeEventsForRegionRequest) SetPageSize(v int64) *DescribeEventsForRegionRequest
func (DescribeEventsForRegionRequest) String ¶ added in v5.8.0
func (s DescribeEventsForRegionRequest) String() string
type DescribeEventsForRegionResponse ¶ added in v5.8.0
type DescribeEventsForRegionResponse struct { Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` Body *DescribeEventsForRegionResponseBody `json:"body,omitempty" xml:"body,omitempty"` }
func (DescribeEventsForRegionResponse) GoString ¶ added in v5.8.0
func (s DescribeEventsForRegionResponse) GoString() string
func (*DescribeEventsForRegionResponse) SetBody ¶ added in v5.8.0
func (s *DescribeEventsForRegionResponse) SetBody(v *DescribeEventsForRegionResponseBody) *DescribeEventsForRegionResponse
func (*DescribeEventsForRegionResponse) SetHeaders ¶ added in v5.8.0
func (s *DescribeEventsForRegionResponse) SetHeaders(v map[string]*string) *DescribeEventsForRegionResponse
func (*DescribeEventsForRegionResponse) SetStatusCode ¶ added in v5.8.0
func (s *DescribeEventsForRegionResponse) SetStatusCode(v int32) *DescribeEventsForRegionResponse
func (DescribeEventsForRegionResponse) String ¶ added in v5.8.0
func (s DescribeEventsForRegionResponse) String() string
type DescribeEventsForRegionResponseBody ¶ added in v5.8.0
type DescribeEventsForRegionResponseBody struct { // The events. Events []*DescribeEventsForRegionResponseBodyEvents `json:"events,omitempty" xml:"events,omitempty" type:"Repeated"` // The pagination details. PageInfo *DescribeEventsForRegionResponseBodyPageInfo `json:"page_info,omitempty" xml:"page_info,omitempty" type:"Struct"` }
func (DescribeEventsForRegionResponseBody) GoString ¶ added in v5.8.0
func (s DescribeEventsForRegionResponseBody) GoString() string
func (*DescribeEventsForRegionResponseBody) SetEvents ¶ added in v5.8.0
func (s *DescribeEventsForRegionResponseBody) SetEvents(v []*DescribeEventsForRegionResponseBodyEvents) *DescribeEventsForRegionResponseBody
func (*DescribeEventsForRegionResponseBody) SetPageInfo ¶ added in v5.8.0
func (s *DescribeEventsForRegionResponseBody) SetPageInfo(v *DescribeEventsForRegionResponseBodyPageInfo) *DescribeEventsForRegionResponseBody
func (DescribeEventsForRegionResponseBody) String ¶ added in v5.8.0
func (s DescribeEventsForRegionResponseBody) String() string
type DescribeEventsForRegionResponseBodyEvents ¶ added in v5.8.0
type DescribeEventsForRegionResponseBodyEvents struct { // The cluster ID. // // example: // // cluster-id ClusterId *string `json:"cluster_id,omitempty" xml:"cluster_id,omitempty"` // The description of the event. Data *DescribeEventsForRegionResponseBodyEventsData `json:"data,omitempty" xml:"data,omitempty" type:"Struct"` // The event ID. // // example: // // A234-1234-1234 EventId *string `json:"event_id,omitempty" xml:"event_id,omitempty"` // The event source. Source *string `json:"source,omitempty" xml:"source,omitempty"` // The object associated with the event. // // example: // // nodePool-id Subject *string `json:"subject,omitempty" xml:"subject,omitempty"` // The time when the event was generated. // // example: // // 2020-12-01T17:31:00Z Time *string `json:"time,omitempty" xml:"time,omitempty"` // The event type. // // example: // // nodePool_upgrade Type *string `json:"type,omitempty" xml:"type,omitempty"` }
func (DescribeEventsForRegionResponseBodyEvents) GoString ¶ added in v5.8.0
func (s DescribeEventsForRegionResponseBodyEvents) GoString() string
func (*DescribeEventsForRegionResponseBodyEvents) SetClusterId ¶ added in v5.8.0
func (s *DescribeEventsForRegionResponseBodyEvents) SetClusterId(v string) *DescribeEventsForRegionResponseBodyEvents
func (*DescribeEventsForRegionResponseBodyEvents) SetEventId ¶ added in v5.8.0
func (s *DescribeEventsForRegionResponseBodyEvents) SetEventId(v string) *DescribeEventsForRegionResponseBodyEvents
func (*DescribeEventsForRegionResponseBodyEvents) SetSource ¶ added in v5.8.0
func (s *DescribeEventsForRegionResponseBodyEvents) SetSource(v string) *DescribeEventsForRegionResponseBodyEvents
func (*DescribeEventsForRegionResponseBodyEvents) SetSubject ¶ added in v5.8.0
func (s *DescribeEventsForRegionResponseBodyEvents) SetSubject(v string) *DescribeEventsForRegionResponseBodyEvents
func (*DescribeEventsForRegionResponseBodyEvents) SetTime ¶ added in v5.8.0
func (s *DescribeEventsForRegionResponseBodyEvents) SetTime(v string) *DescribeEventsForRegionResponseBodyEvents
func (*DescribeEventsForRegionResponseBodyEvents) SetType ¶ added in v5.8.0
func (s *DescribeEventsForRegionResponseBodyEvents) SetType(v string) *DescribeEventsForRegionResponseBodyEvents
func (DescribeEventsForRegionResponseBodyEvents) String ¶ added in v5.8.0
func (s DescribeEventsForRegionResponseBodyEvents) String() string
type DescribeEventsForRegionResponseBodyEventsData ¶ added in v5.8.0
type DescribeEventsForRegionResponseBodyEventsData struct { // The severity level of the event. // // example: // // info Level *string `json:"level,omitempty" xml:"level,omitempty"` // The details of the event. // // example: // // Start to upgrade NodePool nodePool/nodePool-A Message *string `json:"message,omitempty" xml:"message,omitempty"` // The event status. // // example: // // Started Reason *string `json:"reason,omitempty" xml:"reason,omitempty"` }
func (DescribeEventsForRegionResponseBodyEventsData) GoString ¶ added in v5.8.0
func (s DescribeEventsForRegionResponseBodyEventsData) GoString() string
func (*DescribeEventsForRegionResponseBodyEventsData) SetLevel ¶ added in v5.8.0
func (s *DescribeEventsForRegionResponseBodyEventsData) SetLevel(v string) *DescribeEventsForRegionResponseBodyEventsData
func (*DescribeEventsForRegionResponseBodyEventsData) SetMessage ¶ added in v5.8.0
func (s *DescribeEventsForRegionResponseBodyEventsData) SetMessage(v string) *DescribeEventsForRegionResponseBodyEventsData
func (*DescribeEventsForRegionResponseBodyEventsData) SetReason ¶ added in v5.8.0
func (s *DescribeEventsForRegionResponseBodyEventsData) SetReason(v string) *DescribeEventsForRegionResponseBodyEventsData
func (DescribeEventsForRegionResponseBodyEventsData) String ¶ added in v5.8.0
func (s DescribeEventsForRegionResponseBodyEventsData) String() string
type DescribeEventsForRegionResponseBodyPageInfo ¶ added in v5.8.0
type DescribeEventsForRegionResponseBodyPageInfo struct { // The number of pages. // // example: // // 1 PageNumber *int64 `json:"page_number,omitempty" xml:"page_number,omitempty"` // The number of records on each page. // // example: // // 50 PageSize *int64 `json:"page_size,omitempty" xml:"page_size,omitempty"` // The total number of entries returned. // // example: // // 3 TotalCount *int64 `json:"total_count,omitempty" xml:"total_count,omitempty"` }
func (DescribeEventsForRegionResponseBodyPageInfo) GoString ¶ added in v5.8.0
func (s DescribeEventsForRegionResponseBodyPageInfo) GoString() string
func (*DescribeEventsForRegionResponseBodyPageInfo) SetPageNumber ¶ added in v5.8.0
func (s *DescribeEventsForRegionResponseBodyPageInfo) SetPageNumber(v int64) *DescribeEventsForRegionResponseBodyPageInfo
func (*DescribeEventsForRegionResponseBodyPageInfo) SetPageSize ¶ added in v5.8.0
func (s *DescribeEventsForRegionResponseBodyPageInfo) SetPageSize(v int64) *DescribeEventsForRegionResponseBodyPageInfo
func (*DescribeEventsForRegionResponseBodyPageInfo) SetTotalCount ¶ added in v5.8.0
func (s *DescribeEventsForRegionResponseBodyPageInfo) SetTotalCount(v int64) *DescribeEventsForRegionResponseBodyPageInfo
func (DescribeEventsForRegionResponseBodyPageInfo) String ¶ added in v5.8.0
func (s DescribeEventsForRegionResponseBodyPageInfo) String() string
type DescribeEventsRequest ¶
type DescribeEventsRequest struct { // The cluster ID. // // example: // // cf62854ac2130470897be7a27ed1f**** ClusterId *string `json:"cluster_id,omitempty" xml:"cluster_id,omitempty"` // The page number. // // example: // // 1 PageNumber *int64 `json:"page_number,omitempty" xml:"page_number,omitempty"` // The number of entries per page. // // example: // // 50 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. // // example: // // nodepool_upgrade Type *string `json:"type,omitempty" xml:"type,omitempty"` }
func (DescribeEventsRequest) GoString ¶
func (s DescribeEventsRequest) GoString() string
func (*DescribeEventsRequest) SetClusterId ¶
func (s *DescribeEventsRequest) SetClusterId(v string) *DescribeEventsRequest
func (*DescribeEventsRequest) SetPageNumber ¶
func (s *DescribeEventsRequest) SetPageNumber(v int64) *DescribeEventsRequest
func (*DescribeEventsRequest) SetPageSize ¶
func (s *DescribeEventsRequest) SetPageSize(v int64) *DescribeEventsRequest
func (*DescribeEventsRequest) SetType ¶
func (s *DescribeEventsRequest) SetType(v string) *DescribeEventsRequest
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 (s *DescribeEventsResponse) SetBody(v *DescribeEventsResponseBody) *DescribeEventsResponse
func (*DescribeEventsResponse) SetHeaders ¶
func (s *DescribeEventsResponse) SetHeaders(v map[string]*string) *DescribeEventsResponse
func (*DescribeEventsResponse) SetStatusCode ¶
func (s *DescribeEventsResponse) SetStatusCode(v int32) *DescribeEventsResponse
func (DescribeEventsResponse) String ¶
func (s DescribeEventsResponse) String() string
type DescribeEventsResponseBody ¶
type DescribeEventsResponseBody struct { // The details of the events. 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 (s *DescribeEventsResponseBody) SetEvents(v []*DescribeEventsResponseBodyEvents) *DescribeEventsResponseBody
func (*DescribeEventsResponseBody) SetPageInfo ¶
func (s *DescribeEventsResponseBody) SetPageInfo(v *DescribeEventsResponseBodyPageInfo) *DescribeEventsResponseBody
func (DescribeEventsResponseBody) String ¶
func (s DescribeEventsResponseBody) String() string
type DescribeEventsResponseBodyEvents ¶
type DescribeEventsResponseBodyEvents struct { // The ID of the cluster. // // example: // // cluster-id 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. // // example: // // A234-1234-1234 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. // // example: // // nodePool-id Subject *string `json:"subject,omitempty" xml:"subject,omitempty"` // The time when the event started. // // example: // // 2022-11-23T20:48:01+08:00 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. // // example: // // nodepool_upgrade Type *string `json:"type,omitempty" xml:"type,omitempty"` }
func (DescribeEventsResponseBodyEvents) GoString ¶
func (s DescribeEventsResponseBodyEvents) GoString() string
func (*DescribeEventsResponseBodyEvents) SetClusterId ¶
func (s *DescribeEventsResponseBodyEvents) SetClusterId(v string) *DescribeEventsResponseBodyEvents
func (*DescribeEventsResponseBodyEvents) SetData ¶
func (s *DescribeEventsResponseBodyEvents) SetData(v *DescribeEventsResponseBodyEventsData) *DescribeEventsResponseBodyEvents
func (*DescribeEventsResponseBodyEvents) SetEventId ¶
func (s *DescribeEventsResponseBodyEvents) SetEventId(v string) *DescribeEventsResponseBodyEvents
func (*DescribeEventsResponseBodyEvents) SetSource ¶
func (s *DescribeEventsResponseBodyEvents) SetSource(v string) *DescribeEventsResponseBodyEvents
func (*DescribeEventsResponseBodyEvents) SetSubject ¶
func (s *DescribeEventsResponseBodyEvents) SetSubject(v string) *DescribeEventsResponseBodyEvents
func (*DescribeEventsResponseBodyEvents) SetTime ¶
func (s *DescribeEventsResponseBodyEvents) SetTime(v string) *DescribeEventsResponseBodyEvents
func (*DescribeEventsResponseBodyEvents) SetType ¶
func (s *DescribeEventsResponseBodyEvents) SetType(v string) *DescribeEventsResponseBodyEvents
func (DescribeEventsResponseBodyEvents) String ¶
func (s DescribeEventsResponseBodyEvents) String() string
type DescribeEventsResponseBodyEventsData ¶
type DescribeEventsResponseBodyEventsData struct { // The severity level of the event. Valid values: // // - info // // - warning // // - error // // example: // // info Level *string `json:"level,omitempty" xml:"level,omitempty"` // The details of the event. // // example: // // Start to upgrade NodePool nodePool/nodePool-A Message *string `json:"message,omitempty" xml:"message,omitempty"` // The status of the event. // // example: // // Started Reason *string `json:"reason,omitempty" xml:"reason,omitempty"` }
func (DescribeEventsResponseBodyEventsData) GoString ¶
func (s DescribeEventsResponseBodyEventsData) GoString() string
func (*DescribeEventsResponseBodyEventsData) SetLevel ¶
func (s *DescribeEventsResponseBodyEventsData) SetLevel(v string) *DescribeEventsResponseBodyEventsData
func (*DescribeEventsResponseBodyEventsData) SetMessage ¶
func (s *DescribeEventsResponseBodyEventsData) SetMessage(v string) *DescribeEventsResponseBodyEventsData
func (*DescribeEventsResponseBodyEventsData) SetReason ¶
func (s *DescribeEventsResponseBodyEventsData) SetReason(v string) *DescribeEventsResponseBodyEventsData
func (DescribeEventsResponseBodyEventsData) String ¶
func (s DescribeEventsResponseBodyEventsData) String() string
type DescribeEventsResponseBodyPageInfo ¶
type DescribeEventsResponseBodyPageInfo struct { // The page number. // // example: // // 1 PageNumber *int64 `json:"page_number,omitempty" xml:"page_number,omitempty"` // The number of entries per page. // // example: // // 50 PageSize *int64 `json:"page_size,omitempty" xml:"page_size,omitempty"` // The total number of entries returned. // // example: // // 3 TotalCount *int64 `json:"total_count,omitempty" xml:"total_count,omitempty"` }
func (DescribeEventsResponseBodyPageInfo) GoString ¶
func (s DescribeEventsResponseBodyPageInfo) GoString() string
func (*DescribeEventsResponseBodyPageInfo) SetPageNumber ¶
func (s *DescribeEventsResponseBodyPageInfo) SetPageNumber(v int64) *DescribeEventsResponseBodyPageInfo
func (*DescribeEventsResponseBodyPageInfo) SetPageSize ¶
func (s *DescribeEventsResponseBodyPageInfo) SetPageSize(v int64) *DescribeEventsResponseBodyPageInfo
func (*DescribeEventsResponseBodyPageInfo) SetTotalCount ¶
func (s *DescribeEventsResponseBodyPageInfo) SetTotalCount(v int64) *DescribeEventsResponseBodyPageInfo
func (DescribeEventsResponseBodyPageInfo) String ¶
func (s DescribeEventsResponseBodyPageInfo) String() 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. // // example: // // 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`. // // example: // // true PrivateIpAddress *string `json:"PrivateIpAddress,omitempty" xml:"PrivateIpAddress,omitempty"` }
func (DescribeExternalAgentRequest) GoString ¶
func (s DescribeExternalAgentRequest) GoString() string
func (*DescribeExternalAgentRequest) SetAgentMode ¶
func (s *DescribeExternalAgentRequest) SetAgentMode(v string) *DescribeExternalAgentRequest
func (*DescribeExternalAgentRequest) SetPrivateIpAddress ¶
func (s *DescribeExternalAgentRequest) SetPrivateIpAddress(v string) *DescribeExternalAgentRequest
func (DescribeExternalAgentRequest) String ¶
func (s DescribeExternalAgentRequest) String() 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 (s DescribeExternalAgentResponse) GoString() string
func (*DescribeExternalAgentResponse) SetBody ¶
func (s *DescribeExternalAgentResponse) SetBody(v *DescribeExternalAgentResponseBody) *DescribeExternalAgentResponse
func (*DescribeExternalAgentResponse) SetHeaders ¶
func (s *DescribeExternalAgentResponse) SetHeaders(v map[string]*string) *DescribeExternalAgentResponse
func (*DescribeExternalAgentResponse) SetStatusCode ¶
func (s *DescribeExternalAgentResponse) SetStatusCode(v int32) *DescribeExternalAgentResponse
func (DescribeExternalAgentResponse) String ¶
func (s DescribeExternalAgentResponse) String() string
type DescribeExternalAgentResponseBody ¶
type DescribeExternalAgentResponseBody struct { // The agent configurations in the YAML format. // // example: // // apiVersion: v1**** Config *string `json:"config,omitempty" xml:"config,omitempty"` }
func (DescribeExternalAgentResponseBody) GoString ¶
func (s DescribeExternalAgentResponseBody) GoString() string
func (*DescribeExternalAgentResponseBody) SetConfig ¶
func (s *DescribeExternalAgentResponseBody) SetConfig(v string) *DescribeExternalAgentResponseBody
func (DescribeExternalAgentResponseBody) String ¶
func (s DescribeExternalAgentResponseBody) String() 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. // // This parameter is required. // // example: // // Kubernetes 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](https://help.aliyun.com/document_detail/185269.html). // // example: // // 1.16.9-aliyun.1 KubernetesVersion *string `json:"KubernetesVersion,omitempty" xml:"KubernetesVersion,omitempty"` // The query mode. Valid values: // // - `supported`: queries all supported Kubernetes versions. // // - `creatable`: queries only Kubernetes versions of clusters that you can create. // // If you specify `KubernetesVersion`, this parameter does not take effect. // // If you do not specify a query mode, Kubernetes versions of clusters that you can create are returned. // // example: // // supported 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`. // // example: // // Default Profile *string `json:"Profile,omitempty" xml:"Profile,omitempty"` // Specify whether to query the Kubernetes versions available for updates. This parameter takes effect only when the KubernetesVersion parameter is specified. // // example: // // 1.30.1-aliyun.1 QueryUpgradableVersion *bool `json:"QueryUpgradableVersion,omitempty" xml:"QueryUpgradableVersion,omitempty"` // The region ID of the cluster. // // This parameter is required. // // example: // // cn-beijing 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. // // example: // // docker Runtime *string `json:"runtime,omitempty" xml:"runtime,omitempty"` }
func (DescribeKubernetesVersionMetadataRequest) GoString ¶
func (s DescribeKubernetesVersionMetadataRequest) GoString() string
func (*DescribeKubernetesVersionMetadataRequest) SetClusterType ¶
func (s *DescribeKubernetesVersionMetadataRequest) SetClusterType(v string) *DescribeKubernetesVersionMetadataRequest
func (*DescribeKubernetesVersionMetadataRequest) SetKubernetesVersion ¶
func (s *DescribeKubernetesVersionMetadataRequest) SetKubernetesVersion(v string) *DescribeKubernetesVersionMetadataRequest
func (*DescribeKubernetesVersionMetadataRequest) SetMode ¶
func (s *DescribeKubernetesVersionMetadataRequest) SetMode(v string) *DescribeKubernetesVersionMetadataRequest
func (*DescribeKubernetesVersionMetadataRequest) SetProfile ¶
func (s *DescribeKubernetesVersionMetadataRequest) SetProfile(v string) *DescribeKubernetesVersionMetadataRequest
func (*DescribeKubernetesVersionMetadataRequest) SetQueryUpgradableVersion ¶ added in v5.0.8
func (s *DescribeKubernetesVersionMetadataRequest) SetQueryUpgradableVersion(v bool) *DescribeKubernetesVersionMetadataRequest
func (*DescribeKubernetesVersionMetadataRequest) SetRegion ¶
func (s *DescribeKubernetesVersionMetadataRequest) SetRegion(v string) *DescribeKubernetesVersionMetadataRequest
func (*DescribeKubernetesVersionMetadataRequest) SetRuntime ¶
func (s *DescribeKubernetesVersionMetadataRequest) SetRuntime(v string) *DescribeKubernetesVersionMetadataRequest
func (DescribeKubernetesVersionMetadataRequest) String ¶
func (s DescribeKubernetesVersionMetadataRequest) String() 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 (s DescribeKubernetesVersionMetadataResponse) GoString() string
func (*DescribeKubernetesVersionMetadataResponse) SetHeaders ¶
func (s *DescribeKubernetesVersionMetadataResponse) SetHeaders(v map[string]*string) *DescribeKubernetesVersionMetadataResponse
func (*DescribeKubernetesVersionMetadataResponse) SetStatusCode ¶
func (s *DescribeKubernetesVersionMetadataResponse) SetStatusCode(v int32) *DescribeKubernetesVersionMetadataResponse
func (DescribeKubernetesVersionMetadataResponse) String ¶
func (s DescribeKubernetesVersionMetadataResponse) String() string
type DescribeKubernetesVersionMetadataResponseBody ¶
type DescribeKubernetesVersionMetadataResponseBody struct { // Features of the queried Kubernetes version. // // example: // // { // // "AnyAZ": true, // // "ChargeType": "PostPaid" // // } 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. // // example: // // { // // "KubernetesVersion": "1.31.1-aliyun.1", // // "SubClass": "default", // // "ServiceCIDR": "" // // } MetaData map[string]interface{} `json:"meta_data,omitempty" xml:"meta_data,omitempty"` // The container runtime configurations. Runtimes []*Runtime `json:"runtimes,omitempty" xml:"runtimes,omitempty" type:"Repeated"` // The Kubernetes version supported by ACK. For more information, see [Release notes for Kubernetes versions](https://help.aliyun.com/document_detail/185269.html). // // example: // // 1.16.9-aliyun.1 Version *string `json:"version,omitempty" xml:"version,omitempty"` // The release date of the Kubernetes version. // // example: // // 2023-04-30T00:00:00Z ReleaseDate *string `json:"release_date,omitempty" xml:"release_date,omitempty"` // The expiration date of the Kubernetes version. // // example: // // 2025-04-30T00:00:00Z ExpirationDate *string `json:"expiration_date,omitempty" xml:"expiration_date,omitempty"` // Indicates whether you can create clusters that run the Kubernetes version. // // example: // // true Creatable *bool `json:"creatable,omitempty" xml:"creatable,omitempty"` // The list of available versions for updates. UpgradableVersions []*string `json:"upgradable_versions,omitempty" xml:"upgradable_versions,omitempty" type:"Repeated"` }
func (DescribeKubernetesVersionMetadataResponseBody) GoString ¶
func (s DescribeKubernetesVersionMetadataResponseBody) GoString() string
func (*DescribeKubernetesVersionMetadataResponseBody) SetCapabilities ¶
func (s *DescribeKubernetesVersionMetadataResponseBody) SetCapabilities(v map[string]interface{}) *DescribeKubernetesVersionMetadataResponseBody
func (*DescribeKubernetesVersionMetadataResponseBody) SetCreatable ¶
func (s *DescribeKubernetesVersionMetadataResponseBody) SetCreatable(v bool) *DescribeKubernetesVersionMetadataResponseBody
func (*DescribeKubernetesVersionMetadataResponseBody) SetExpirationDate ¶
func (s *DescribeKubernetesVersionMetadataResponseBody) SetExpirationDate(v string) *DescribeKubernetesVersionMetadataResponseBody
func (*DescribeKubernetesVersionMetadataResponseBody) SetMetaData ¶
func (s *DescribeKubernetesVersionMetadataResponseBody) SetMetaData(v map[string]interface{}) *DescribeKubernetesVersionMetadataResponseBody
func (*DescribeKubernetesVersionMetadataResponseBody) SetReleaseDate ¶
func (s *DescribeKubernetesVersionMetadataResponseBody) SetReleaseDate(v string) *DescribeKubernetesVersionMetadataResponseBody
func (*DescribeKubernetesVersionMetadataResponseBody) SetRuntimes ¶
func (s *DescribeKubernetesVersionMetadataResponseBody) SetRuntimes(v []*Runtime) *DescribeKubernetesVersionMetadataResponseBody
func (*DescribeKubernetesVersionMetadataResponseBody) SetUpgradableVersions ¶ added in v5.0.8
func (s *DescribeKubernetesVersionMetadataResponseBody) SetUpgradableVersions(v []*string) *DescribeKubernetesVersionMetadataResponseBody
func (*DescribeKubernetesVersionMetadataResponseBody) SetVersion ¶
func (s *DescribeKubernetesVersionMetadataResponseBody) SetVersion(v string) *DescribeKubernetesVersionMetadataResponseBody
func (DescribeKubernetesVersionMetadataResponseBody) String ¶
func (s DescribeKubernetesVersionMetadataResponseBody) String() string
type DescribeKubernetesVersionMetadataResponseBodyImages ¶
type DescribeKubernetesVersionMetadataResponseBodyImages struct { // The image ID. // // example: // // centos_7_7_x64_20G_alibase_20200426.vhd ImageId *string `json:"image_id,omitempty" xml:"image_id,omitempty"` // The image name. // // example: // // CentOS 7.7 ImageName *string `json:"image_name,omitempty" xml:"image_name,omitempty"` // The OS platform. Valid values: // // - `AliyunLinux` // // - `CentOS` // // - `Windows` // // - `WindowsCore` // // example: // // CentOS Platform *string `json:"platform,omitempty" xml:"platform,omitempty"` // The version of the image. // // example: // // 7.7 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` // // example: // // centos_7_7_20 ImageType *string `json:"image_type,omitempty" xml:"image_type,omitempty"` // The type of OS. Examples: // // - `Windows` // // - `Linux` // // example: // // 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 // // example: // // system ImageCategory *string `json:"image_category,omitempty" xml:"image_category,omitempty"` // The architecture of the image. // // example: // // x86_64 Architecture *string `json:"architecture,omitempty" xml:"architecture,omitempty"` }
func (DescribeKubernetesVersionMetadataResponseBodyImages) GoString ¶
func (s DescribeKubernetesVersionMetadataResponseBodyImages) GoString() string
func (*DescribeKubernetesVersionMetadataResponseBodyImages) SetArchitecture ¶
func (s *DescribeKubernetesVersionMetadataResponseBodyImages) SetArchitecture(v string) *DescribeKubernetesVersionMetadataResponseBodyImages
func (*DescribeKubernetesVersionMetadataResponseBodyImages) SetImageCategory ¶
func (s *DescribeKubernetesVersionMetadataResponseBodyImages) SetImageCategory(v string) *DescribeKubernetesVersionMetadataResponseBodyImages
func (*DescribeKubernetesVersionMetadataResponseBodyImages) SetImageId ¶
func (s *DescribeKubernetesVersionMetadataResponseBodyImages) SetImageId(v string) *DescribeKubernetesVersionMetadataResponseBodyImages
func (*DescribeKubernetesVersionMetadataResponseBodyImages) SetImageName ¶
func (s *DescribeKubernetesVersionMetadataResponseBodyImages) SetImageName(v string) *DescribeKubernetesVersionMetadataResponseBodyImages
func (*DescribeKubernetesVersionMetadataResponseBodyImages) SetImageType ¶
func (s *DescribeKubernetesVersionMetadataResponseBodyImages) SetImageType(v string) *DescribeKubernetesVersionMetadataResponseBodyImages
func (*DescribeKubernetesVersionMetadataResponseBodyImages) SetOsVersion ¶
func (s *DescribeKubernetesVersionMetadataResponseBodyImages) SetOsVersion(v string) *DescribeKubernetesVersionMetadataResponseBodyImages
func (*DescribeKubernetesVersionMetadataResponseBodyImages) SetPlatform ¶
func (s *DescribeKubernetesVersionMetadataResponseBodyImages) SetPlatform(v string) *DescribeKubernetesVersionMetadataResponseBodyImages
func (DescribeKubernetesVersionMetadataResponseBodyImages) String ¶
func (s DescribeKubernetesVersionMetadataResponseBodyImages) String() 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 // // example: // // asap Necessity *string `json:"necessity,omitempty" xml:"necessity,omitempty"` }
func (DescribeNodePoolVulsRequest) GoString ¶
func (s DescribeNodePoolVulsRequest) GoString() string
func (*DescribeNodePoolVulsRequest) SetNecessity ¶
func (s *DescribeNodePoolVulsRequest) SetNecessity(v string) *DescribeNodePoolVulsRequest
func (DescribeNodePoolVulsRequest) String ¶
func (s DescribeNodePoolVulsRequest) String() 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 (s *DescribeNodePoolVulsResponse) SetBody(v *DescribeNodePoolVulsResponseBody) *DescribeNodePoolVulsResponse
func (*DescribeNodePoolVulsResponse) SetHeaders ¶
func (s *DescribeNodePoolVulsResponse) SetHeaders(v map[string]*string) *DescribeNodePoolVulsResponse
func (*DescribeNodePoolVulsResponse) SetStatusCode ¶
func (s *DescribeNodePoolVulsResponse) SetStatusCode(v int32) *DescribeNodePoolVulsResponse
func (DescribeNodePoolVulsResponse) String ¶
func (s DescribeNodePoolVulsResponse) String() string
type DescribeNodePoolVulsResponseBody ¶
type DescribeNodePoolVulsResponseBody struct { // The node pool vulnerabilities. VulRecords []*DescribeNodePoolVulsResponseBodyVulRecords `json:"vul_records,omitempty" xml:"vul_records,omitempty" type:"Repeated"` // Whether the Cloud Security CVE Remediation Service has been purchased // // example: // // false VulsFixServicePurchased *bool `json:"vuls_fix_service_purchased,omitempty" xml:"vuls_fix_service_purchased,omitempty"` }
func (DescribeNodePoolVulsResponseBody) GoString ¶
func (s DescribeNodePoolVulsResponseBody) GoString() string
func (*DescribeNodePoolVulsResponseBody) SetVulRecords ¶
func (s *DescribeNodePoolVulsResponseBody) SetVulRecords(v []*DescribeNodePoolVulsResponseBodyVulRecords) *DescribeNodePoolVulsResponseBody
func (*DescribeNodePoolVulsResponseBody) SetVulsFixServicePurchased ¶
func (s *DescribeNodePoolVulsResponseBody) SetVulsFixServicePurchased(v bool) *DescribeNodePoolVulsResponseBody
func (DescribeNodePoolVulsResponseBody) String ¶
func (s DescribeNodePoolVulsResponseBody) String() string
type DescribeNodePoolVulsResponseBodyVulRecords ¶
type DescribeNodePoolVulsResponseBodyVulRecords struct { // The ID of the node. // // example: // // i-t4n2qolb0wtzt0pz**** InstanceId *string `json:"instance_id,omitempty" xml:"instance_id,omitempty"` // The node name. This name is the identifier of the node in the cluster. // // example: // // cn-hangzhou.192.168.x.x 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 (s DescribeNodePoolVulsResponseBodyVulRecords) GoString() string
func (*DescribeNodePoolVulsResponseBodyVulRecords) SetInstanceId ¶
func (s *DescribeNodePoolVulsResponseBodyVulRecords) SetInstanceId(v string) *DescribeNodePoolVulsResponseBodyVulRecords
func (*DescribeNodePoolVulsResponseBodyVulRecords) SetNodeName ¶
func (s *DescribeNodePoolVulsResponseBodyVulRecords) SetNodeName(v string) *DescribeNodePoolVulsResponseBodyVulRecords
func (*DescribeNodePoolVulsResponseBodyVulRecords) SetVulList ¶
func (DescribeNodePoolVulsResponseBodyVulRecords) String ¶
func (s DescribeNodePoolVulsResponseBodyVulRecords) String() string
type DescribeNodePoolVulsResponseBodyVulRecordsVulList ¶
type DescribeNodePoolVulsResponseBodyVulRecordsVulList struct { // The alias of the vulnerability. // // example: // // RHSA-2019:3197-Important: sudo security update 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. // // example: // // oval:com.redhat.rhsa:def:20193197 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. // // example: // // asap Necessity *string `json:"necessity,omitempty" xml:"necessity,omitempty"` // Indicates whether a restart is required. // // example: // // false NeedReboot *bool `json:"need_reboot,omitempty" xml:"need_reboot,omitempty"` }
func (DescribeNodePoolVulsResponseBodyVulRecordsVulList) GoString ¶
func (s DescribeNodePoolVulsResponseBodyVulRecordsVulList) GoString() string
func (*DescribeNodePoolVulsResponseBodyVulRecordsVulList) SetAliasName ¶
func (s *DescribeNodePoolVulsResponseBodyVulRecordsVulList) SetAliasName(v string) *DescribeNodePoolVulsResponseBodyVulRecordsVulList
func (*DescribeNodePoolVulsResponseBodyVulRecordsVulList) SetCveList ¶
func (s *DescribeNodePoolVulsResponseBodyVulRecordsVulList) SetCveList(v []*string) *DescribeNodePoolVulsResponseBodyVulRecordsVulList
func (*DescribeNodePoolVulsResponseBodyVulRecordsVulList) SetNecessity ¶
func (s *DescribeNodePoolVulsResponseBodyVulRecordsVulList) SetNecessity(v string) *DescribeNodePoolVulsResponseBodyVulRecordsVulList
func (*DescribeNodePoolVulsResponseBodyVulRecordsVulList) SetNeedReboot ¶ added in v5.3.1
func (s *DescribeNodePoolVulsResponseBodyVulRecordsVulList) SetNeedReboot(v bool) *DescribeNodePoolVulsResponseBodyVulRecordsVulList
func (DescribeNodePoolVulsResponseBodyVulRecordsVulList) String ¶
func (s DescribeNodePoolVulsResponseBodyVulRecordsVulList) String() 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 (s *DescribePoliciesResponse) SetHeaders(v map[string]*string) *DescribePoliciesResponse
func (*DescribePoliciesResponse) SetStatusCode ¶
func (s *DescribePoliciesResponse) SetStatusCode(v int32) *DescribePoliciesResponse
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 (s DescribePolicyDetailsResponse) GoString() string
func (*DescribePolicyDetailsResponse) SetBody ¶
func (s *DescribePolicyDetailsResponse) SetBody(v *DescribePolicyDetailsResponseBody) *DescribePolicyDetailsResponse
func (*DescribePolicyDetailsResponse) SetHeaders ¶
func (s *DescribePolicyDetailsResponse) SetHeaders(v map[string]*string) *DescribePolicyDetailsResponse
func (*DescribePolicyDetailsResponse) SetStatusCode ¶
func (s *DescribePolicyDetailsResponse) SetStatusCode(v int32) *DescribePolicyDetailsResponse
func (DescribePolicyDetailsResponse) String ¶
func (s DescribePolicyDetailsResponse) String() 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. // // example: // // enforce Action *string `json:"action,omitempty" xml:"action,omitempty"` // The type of the policy. // // example: // // k8s-general Category *string `json:"category,omitempty" xml:"category,omitempty"` // The description of the policy. // // example: // // Requires container images to begin with a repo string from a specified list 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. // // example: // // 0 IsDeleted *int32 `json:"is_deleted,omitempty" xml:"is_deleted,omitempty"` // The name of the policy. // // example: // // ACKAllowedRepos Name *string `json:"name,omitempty" xml:"name,omitempty"` // Indicates whether parameters are required. Valid values: // // - 0: Parameters are required. // // - 1: Parameters are optional. // // example: // // 0 NoConfig *int32 `json:"no_config,omitempty" xml:"no_config,omitempty"` // The severity level of the policy. Valid values: // // - `high` // // - `medium` // // - `low` // // example: // // high Severity *string `json:"severity,omitempty" xml:"severity,omitempty"` // The content of the policy. // // example: // // For more information, see sample requests. Template *string `json:"template,omitempty" xml:"template,omitempty"` }
func (DescribePolicyDetailsResponseBody) GoString ¶
func (s DescribePolicyDetailsResponseBody) GoString() string
func (*DescribePolicyDetailsResponseBody) SetAction ¶
func (s *DescribePolicyDetailsResponseBody) SetAction(v string) *DescribePolicyDetailsResponseBody
func (*DescribePolicyDetailsResponseBody) SetCategory ¶
func (s *DescribePolicyDetailsResponseBody) SetCategory(v string) *DescribePolicyDetailsResponseBody
func (*DescribePolicyDetailsResponseBody) SetDescription ¶
func (s *DescribePolicyDetailsResponseBody) SetDescription(v string) *DescribePolicyDetailsResponseBody
func (*DescribePolicyDetailsResponseBody) SetIsDeleted ¶
func (s *DescribePolicyDetailsResponseBody) SetIsDeleted(v int32) *DescribePolicyDetailsResponseBody
func (*DescribePolicyDetailsResponseBody) SetName ¶
func (s *DescribePolicyDetailsResponseBody) SetName(v string) *DescribePolicyDetailsResponseBody
func (*DescribePolicyDetailsResponseBody) SetNoConfig ¶
func (s *DescribePolicyDetailsResponseBody) SetNoConfig(v int32) *DescribePolicyDetailsResponseBody
func (*DescribePolicyDetailsResponseBody) SetSeverity ¶
func (s *DescribePolicyDetailsResponseBody) SetSeverity(v string) *DescribePolicyDetailsResponseBody
func (*DescribePolicyDetailsResponseBody) SetTemplate ¶
func (s *DescribePolicyDetailsResponseBody) SetTemplate(v string) *DescribePolicyDetailsResponseBody
func (DescribePolicyDetailsResponseBody) String ¶
func (s DescribePolicyDetailsResponseBody) String() 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 (s DescribePolicyGovernanceInClusterResponse) GoString() string
func (*DescribePolicyGovernanceInClusterResponse) SetHeaders ¶
func (s *DescribePolicyGovernanceInClusterResponse) SetHeaders(v map[string]*string) *DescribePolicyGovernanceInClusterResponse
func (*DescribePolicyGovernanceInClusterResponse) SetStatusCode ¶
func (s *DescribePolicyGovernanceInClusterResponse) SetStatusCode(v int32) *DescribePolicyGovernanceInClusterResponse
func (DescribePolicyGovernanceInClusterResponse) String ¶
func (s DescribePolicyGovernanceInClusterResponse) String() 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 (s DescribePolicyGovernanceInClusterResponseBody) GoString() string
func (*DescribePolicyGovernanceInClusterResponseBody) SetAdmitLog ¶
func (*DescribePolicyGovernanceInClusterResponseBody) SetOnState ¶
func (*DescribePolicyGovernanceInClusterResponseBody) SetTotalViolations ¶
func (*DescribePolicyGovernanceInClusterResponseBody) SetViolations ¶
func (DescribePolicyGovernanceInClusterResponseBody) String ¶
func (s DescribePolicyGovernanceInClusterResponseBody) String() string
type DescribePolicyGovernanceInClusterResponseBodyAdmitLog ¶
type DescribePolicyGovernanceInClusterResponseBodyAdmitLog struct { // The number of audit log entries. // // example: // // 100 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. // // example: // // Complete Progress *string `json:"progress,omitempty" xml:"progress,omitempty"` }
func (DescribePolicyGovernanceInClusterResponseBodyAdmitLog) GoString ¶
func (s DescribePolicyGovernanceInClusterResponseBodyAdmitLog) GoString() string
func (*DescribePolicyGovernanceInClusterResponseBodyAdmitLog) SetProgress ¶
func (s *DescribePolicyGovernanceInClusterResponseBodyAdmitLog) SetProgress(v string) *DescribePolicyGovernanceInClusterResponseBodyAdmitLog
func (DescribePolicyGovernanceInClusterResponseBodyAdmitLog) String ¶
func (s DescribePolicyGovernanceInClusterResponseBodyAdmitLog) String() string
type DescribePolicyGovernanceInClusterResponseBodyAdmitLogLog ¶
type DescribePolicyGovernanceInClusterResponseBodyAdmitLogLog struct { // The cluster ID. // // example: // // c8155823d057948c69a**** ClusterId *string `json:"cluster_id,omitempty" xml:"cluster_id,omitempty"` // The policy type. // // example: // // ACKAllowedRepos ConstraintKind *string `json:"constraint_kind,omitempty" xml:"constraint_kind,omitempty"` // The message that appears when an event is generated by a policy. // // example: // // d4hdhs***** Msg *string `json:"msg,omitempty" xml:"msg,omitempty"` // The resource type. // // example: // // Pod ResourceKind *string `json:"resource_kind,omitempty" xml:"resource_kind,omitempty"` // The resource name. // // example: // // nginx-deployment-basic2-84ccb74bfc-df22p ResourceName *string `json:"resource_name,omitempty" xml:"resource_name,omitempty"` // The namespace to which the resource belongs. // // example: // // default ResourceNamespace *string `json:"resource_namespace,omitempty" xml:"resource_namespace,omitempty"` }
func (DescribePolicyGovernanceInClusterResponseBodyAdmitLogLog) GoString ¶
func (s DescribePolicyGovernanceInClusterResponseBodyAdmitLogLog) GoString() string
func (*DescribePolicyGovernanceInClusterResponseBodyAdmitLogLog) SetClusterId ¶
func (*DescribePolicyGovernanceInClusterResponseBodyAdmitLogLog) SetConstraintKind ¶
func (s *DescribePolicyGovernanceInClusterResponseBodyAdmitLogLog) SetConstraintKind(v string) *DescribePolicyGovernanceInClusterResponseBodyAdmitLogLog
func (*DescribePolicyGovernanceInClusterResponseBodyAdmitLogLog) SetResourceKind ¶
func (s *DescribePolicyGovernanceInClusterResponseBodyAdmitLogLog) SetResourceKind(v string) *DescribePolicyGovernanceInClusterResponseBodyAdmitLogLog
func (*DescribePolicyGovernanceInClusterResponseBodyAdmitLogLog) SetResourceName ¶
func (s *DescribePolicyGovernanceInClusterResponseBodyAdmitLogLog) SetResourceName(v string) *DescribePolicyGovernanceInClusterResponseBodyAdmitLogLog
func (*DescribePolicyGovernanceInClusterResponseBodyAdmitLogLog) SetResourceNamespace ¶
func (s *DescribePolicyGovernanceInClusterResponseBodyAdmitLogLog) SetResourceNamespace(v string) *DescribePolicyGovernanceInClusterResponseBodyAdmitLogLog
func (DescribePolicyGovernanceInClusterResponseBodyAdmitLogLog) String ¶
func (s DescribePolicyGovernanceInClusterResponseBodyAdmitLogLog) String() string
type DescribePolicyGovernanceInClusterResponseBodyOnState ¶
type DescribePolicyGovernanceInClusterResponseBodyOnState struct { // The number of policies that are enabled. // // example: // // 3 EnabledCount *int32 `json:"enabled_count,omitempty" xml:"enabled_count,omitempty"` // The severity level of the policy. // // example: // // high Severity *string `json:"severity,omitempty" xml:"severity,omitempty"` // The total number of policies of the severity level. // // example: // // 8 Total *int32 `json:"total,omitempty" xml:"total,omitempty"` }
func (DescribePolicyGovernanceInClusterResponseBodyOnState) GoString ¶
func (s DescribePolicyGovernanceInClusterResponseBodyOnState) GoString() string
func (*DescribePolicyGovernanceInClusterResponseBodyOnState) SetEnabledCount ¶
func (s *DescribePolicyGovernanceInClusterResponseBodyOnState) SetEnabledCount(v int32) *DescribePolicyGovernanceInClusterResponseBodyOnState
func (*DescribePolicyGovernanceInClusterResponseBodyOnState) SetSeverity ¶
func (s *DescribePolicyGovernanceInClusterResponseBodyOnState) SetSeverity(v string) *DescribePolicyGovernanceInClusterResponseBodyOnState
func (DescribePolicyGovernanceInClusterResponseBodyOnState) String ¶
func (s DescribePolicyGovernanceInClusterResponseBodyOnState) String() 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 (s DescribePolicyGovernanceInClusterResponseBodyTotalViolations) GoString() string
func (DescribePolicyGovernanceInClusterResponseBodyTotalViolations) String ¶
func (s DescribePolicyGovernanceInClusterResponseBodyTotalViolations) String() string
type DescribePolicyGovernanceInClusterResponseBodyTotalViolationsDeny ¶
type DescribePolicyGovernanceInClusterResponseBodyTotalViolationsDeny struct { // The severity level of the policy. // // example: // // high Severity *string `json:"severity,omitempty" xml:"severity,omitempty"` // The number of blocking events that are triggered. // // example: // // 0 Violations *int64 `json:"violations,omitempty" xml:"violations,omitempty"` }
func (DescribePolicyGovernanceInClusterResponseBodyTotalViolationsDeny) GoString ¶
func (s DescribePolicyGovernanceInClusterResponseBodyTotalViolationsDeny) GoString() string
func (*DescribePolicyGovernanceInClusterResponseBodyTotalViolationsDeny) SetSeverity ¶
func (*DescribePolicyGovernanceInClusterResponseBodyTotalViolationsDeny) SetViolations ¶
func (DescribePolicyGovernanceInClusterResponseBodyTotalViolationsDeny) String ¶
func (s DescribePolicyGovernanceInClusterResponseBodyTotalViolationsDeny) String() string
type DescribePolicyGovernanceInClusterResponseBodyTotalViolationsWarn ¶
type DescribePolicyGovernanceInClusterResponseBodyTotalViolationsWarn struct { // The severity level of the policy. // // example: // // low Severity *string `json:"severity,omitempty" xml:"severity,omitempty"` // The number of alerting events that are triggered. // // example: // // 5 Violations *int64 `json:"violations,omitempty" xml:"violations,omitempty"` }
func (DescribePolicyGovernanceInClusterResponseBodyTotalViolationsWarn) GoString ¶
func (s DescribePolicyGovernanceInClusterResponseBodyTotalViolationsWarn) GoString() string
func (*DescribePolicyGovernanceInClusterResponseBodyTotalViolationsWarn) SetSeverity ¶
func (*DescribePolicyGovernanceInClusterResponseBodyTotalViolationsWarn) SetViolations ¶
func (DescribePolicyGovernanceInClusterResponseBodyTotalViolationsWarn) String ¶
func (s DescribePolicyGovernanceInClusterResponseBodyTotalViolationsWarn) String() 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 (s DescribePolicyGovernanceInClusterResponseBodyViolations) GoString() string
func (DescribePolicyGovernanceInClusterResponseBodyViolations) String ¶
func (s DescribePolicyGovernanceInClusterResponseBodyViolations) String() string
type DescribePolicyGovernanceInClusterResponseBodyViolationsDeny ¶
type DescribePolicyGovernanceInClusterResponseBodyViolationsDeny struct { // The policy description. // // example: // // Requires container images to begin with a repo string from a specified list. PolicyDescription *string `json:"policyDescription,omitempty" xml:"policyDescription,omitempty"` // The policy name. // // example: // // policy-gatekeeper-ackallowedrepos PolicyName *string `json:"policyName,omitempty" xml:"policyName,omitempty"` // The severity level of the policy. // // example: // // high Severity *string `json:"severity,omitempty" xml:"severity,omitempty"` // The total number of blocking events that are triggered by the policy. // // example: // // 11 Violations *int64 `json:"violations,omitempty" xml:"violations,omitempty"` }
func (DescribePolicyGovernanceInClusterResponseBodyViolationsDeny) GoString ¶
func (s DescribePolicyGovernanceInClusterResponseBodyViolationsDeny) GoString() string
func (*DescribePolicyGovernanceInClusterResponseBodyViolationsDeny) SetPolicyDescription ¶
func (s *DescribePolicyGovernanceInClusterResponseBodyViolationsDeny) SetPolicyDescription(v string) *DescribePolicyGovernanceInClusterResponseBodyViolationsDeny
func (*DescribePolicyGovernanceInClusterResponseBodyViolationsDeny) SetPolicyName ¶
func (*DescribePolicyGovernanceInClusterResponseBodyViolationsDeny) SetSeverity ¶
func (*DescribePolicyGovernanceInClusterResponseBodyViolationsDeny) SetViolations ¶
func (DescribePolicyGovernanceInClusterResponseBodyViolationsDeny) String ¶
func (s DescribePolicyGovernanceInClusterResponseBodyViolationsDeny) String() string
type DescribePolicyGovernanceInClusterResponseBodyViolationsWarn ¶
type DescribePolicyGovernanceInClusterResponseBodyViolationsWarn struct { // The policy description. // // example: // // Controls Linux capabilities. PolicyDescription *string `json:"policyDescription,omitempty" xml:"policyDescription,omitempty"` // The policy name. // // example: // // policy-gatekeeper-ackpspcapabilities PolicyName *string `json:"policyName,omitempty" xml:"policyName,omitempty"` // The severity level of the policy. // // example: // // high Severity *string `json:"severity,omitempty" xml:"severity,omitempty"` // The total number of alerting events that are triggered by the policy. // // example: // // 81 Violations *int64 `json:"violations,omitempty" xml:"violations,omitempty"` }
func (DescribePolicyGovernanceInClusterResponseBodyViolationsWarn) GoString ¶
func (s DescribePolicyGovernanceInClusterResponseBodyViolationsWarn) GoString() string
func (*DescribePolicyGovernanceInClusterResponseBodyViolationsWarn) SetPolicyDescription ¶
func (s *DescribePolicyGovernanceInClusterResponseBodyViolationsWarn) SetPolicyDescription(v string) *DescribePolicyGovernanceInClusterResponseBodyViolationsWarn
func (*DescribePolicyGovernanceInClusterResponseBodyViolationsWarn) SetPolicyName ¶
func (*DescribePolicyGovernanceInClusterResponseBodyViolationsWarn) SetSeverity ¶
func (*DescribePolicyGovernanceInClusterResponseBodyViolationsWarn) SetViolations ¶
func (DescribePolicyGovernanceInClusterResponseBodyViolationsWarn) String ¶
func (s DescribePolicyGovernanceInClusterResponseBodyViolationsWarn) String() string
type DescribePolicyInstancesRequest ¶
type DescribePolicyInstancesRequest struct { // The name of the policy instance that you want to query. // // example: // // allowed-repos-cz4s2 InstanceName *string `json:"instance_name,omitempty" xml:"instance_name,omitempty"` // The name of the policy that you want to query. // // example: // // ACKPSPCapabilities PolicyName *string `json:"policy_name,omitempty" xml:"policy_name,omitempty"` }
func (DescribePolicyInstancesRequest) GoString ¶
func (s DescribePolicyInstancesRequest) GoString() string
func (*DescribePolicyInstancesRequest) SetInstanceName ¶
func (s *DescribePolicyInstancesRequest) SetInstanceName(v string) *DescribePolicyInstancesRequest
func (*DescribePolicyInstancesRequest) SetPolicyName ¶
func (s *DescribePolicyInstancesRequest) SetPolicyName(v string) *DescribePolicyInstancesRequest
func (DescribePolicyInstancesRequest) String ¶
func (s DescribePolicyInstancesRequest) String() 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 (s DescribePolicyInstancesResponse) GoString() string
func (*DescribePolicyInstancesResponse) SetBody ¶
func (s *DescribePolicyInstancesResponse) SetBody(v []*DescribePolicyInstancesResponseBody) *DescribePolicyInstancesResponse
func (*DescribePolicyInstancesResponse) SetHeaders ¶
func (s *DescribePolicyInstancesResponse) SetHeaders(v map[string]*string) *DescribePolicyInstancesResponse
func (*DescribePolicyInstancesResponse) SetStatusCode ¶
func (s *DescribePolicyInstancesResponse) SetStatusCode(v int32) *DescribePolicyInstancesResponse
func (DescribePolicyInstancesResponse) String ¶
func (s DescribePolicyInstancesResponse) String() string
type DescribePolicyInstancesResponseBody ¶
type DescribePolicyInstancesResponseBody struct { // The UID of the Alibaba Cloud account that is used to deploy the policy instance. // // example: // // 16298168**** AliUid *string `json:"ali_uid,omitempty" xml:"ali_uid,omitempty"` // The ID of the cluster. // // example: // // c8155823d057948c69a**** ClusterId *string `json:"cluster_id,omitempty" xml:"cluster_id,omitempty"` // The name of the policy instance. // // example: // // no-env-var-secrets-**** InstanceName *string `json:"instance_name,omitempty" xml:"instance_name,omitempty"` // The name of the policy. // // example: // // ACKPSPCapabilities PolicyName *string `json:"policy_name,omitempty" xml:"policy_name,omitempty"` // The type of the policy. // // example: // // k8s-general PolicyCategory *string `json:"policy_category,omitempty" xml:"policy_category,omitempty"` // The description of the policy template. // // example: // // Restricts secrets used in pod envs PolicyDescription *string `json:"policy_description,omitempty" xml:"policy_description,omitempty"` // The parameters of the policy instance. // // example: // // "restrictedNamespaces": [ "test" ] PolicyParameters *string `json:"policy_parameters,omitempty" xml:"policy_parameters,omitempty"` // The severity level of the policy instance. // // example: // // low 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 (,). // // example: // // * 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. // // example: // // deny PolicyAction *string `json:"policy_action,omitempty" xml:"policy_action,omitempty"` // Deprecated // // The creation time of the instance. This parameter is deprecated. // // example: // // 2024-10-29T18:09:12+08:00 Created *string `json:"Created,omitempty" xml:"Created,omitempty"` // Deprecated // // The update time of the instance. This parameter is deprecated. // // example: // // 2024-10-29T18:09:12+08:00 Updated *string `json:"Updated,omitempty" xml:"Updated,omitempty"` // Deprecated // // The ID of the resource. This parameter is deprecated. // // example: // // 123456*** ResourceId *string `json:"resource_id,omitempty" xml:"resource_id,omitempty"` // Deprecated // // The number of violations processed in the cluster. This parameter is deprecated. // // example: // // 0 TotalViolations *int64 `json:"total_violations,omitempty" xml:"total_violations,omitempty"` // Deprecated // // The status of the deletion. This parameter is deprecated. // // example: // // 0 IsDeleted *int64 `json:"is_deleted,omitempty" xml:"is_deleted,omitempty"` }
func (DescribePolicyInstancesResponseBody) GoString ¶
func (s DescribePolicyInstancesResponseBody) GoString() string
func (*DescribePolicyInstancesResponseBody) SetAliUid ¶
func (s *DescribePolicyInstancesResponseBody) SetAliUid(v string) *DescribePolicyInstancesResponseBody
func (*DescribePolicyInstancesResponseBody) SetClusterId ¶
func (s *DescribePolicyInstancesResponseBody) SetClusterId(v string) *DescribePolicyInstancesResponseBody
func (*DescribePolicyInstancesResponseBody) SetCreated ¶ added in v5.7.10
func (s *DescribePolicyInstancesResponseBody) SetCreated(v string) *DescribePolicyInstancesResponseBody
func (*DescribePolicyInstancesResponseBody) SetInstanceName ¶
func (s *DescribePolicyInstancesResponseBody) SetInstanceName(v string) *DescribePolicyInstancesResponseBody
func (*DescribePolicyInstancesResponseBody) SetIsDeleted ¶ added in v5.7.10
func (s *DescribePolicyInstancesResponseBody) SetIsDeleted(v int64) *DescribePolicyInstancesResponseBody
func (*DescribePolicyInstancesResponseBody) SetPolicyAction ¶
func (s *DescribePolicyInstancesResponseBody) SetPolicyAction(v string) *DescribePolicyInstancesResponseBody
func (*DescribePolicyInstancesResponseBody) SetPolicyCategory ¶
func (s *DescribePolicyInstancesResponseBody) SetPolicyCategory(v string) *DescribePolicyInstancesResponseBody
func (*DescribePolicyInstancesResponseBody) SetPolicyDescription ¶
func (s *DescribePolicyInstancesResponseBody) SetPolicyDescription(v string) *DescribePolicyInstancesResponseBody
func (*DescribePolicyInstancesResponseBody) SetPolicyName ¶
func (s *DescribePolicyInstancesResponseBody) SetPolicyName(v string) *DescribePolicyInstancesResponseBody
func (*DescribePolicyInstancesResponseBody) SetPolicyParameters ¶
func (s *DescribePolicyInstancesResponseBody) SetPolicyParameters(v string) *DescribePolicyInstancesResponseBody
func (*DescribePolicyInstancesResponseBody) SetPolicyScope ¶
func (s *DescribePolicyInstancesResponseBody) SetPolicyScope(v string) *DescribePolicyInstancesResponseBody
func (*DescribePolicyInstancesResponseBody) SetPolicySeverity ¶
func (s *DescribePolicyInstancesResponseBody) SetPolicySeverity(v string) *DescribePolicyInstancesResponseBody
func (*DescribePolicyInstancesResponseBody) SetResourceId ¶ added in v5.7.10
func (s *DescribePolicyInstancesResponseBody) SetResourceId(v string) *DescribePolicyInstancesResponseBody
func (*DescribePolicyInstancesResponseBody) SetTotalViolations ¶ added in v5.7.10
func (s *DescribePolicyInstancesResponseBody) SetTotalViolations(v int64) *DescribePolicyInstancesResponseBody
func (*DescribePolicyInstancesResponseBody) SetUpdated ¶ added in v5.7.10
func (s *DescribePolicyInstancesResponseBody) SetUpdated(v string) *DescribePolicyInstancesResponseBody
func (DescribePolicyInstancesResponseBody) String ¶
func (s DescribePolicyInstancesResponseBody) String() 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 (s DescribePolicyInstancesStatusResponse) GoString() string
func (*DescribePolicyInstancesStatusResponse) SetHeaders ¶
func (s *DescribePolicyInstancesStatusResponse) SetHeaders(v map[string]*string) *DescribePolicyInstancesStatusResponse
func (*DescribePolicyInstancesStatusResponse) SetStatusCode ¶
func (s *DescribePolicyInstancesStatusResponse) SetStatusCode(v int32) *DescribePolicyInstancesStatusResponse
func (DescribePolicyInstancesStatusResponse) String ¶
func (s DescribePolicyInstancesStatusResponse) String() string
type DescribePolicyInstancesStatusResponseBody ¶
type DescribePolicyInstancesStatusResponseBody struct { // The number of policy instances that are deployed in the cluster at different severity levels. // // example: // // { "high": 11, "medium": 1 } InstancesSeverityCount map[string]interface{} `json:"instances_severity_count,omitempty" xml:"instances_severity_count,omitempty"` // The number of policy instances of each policy type. PolicyInstances []*DescribePolicyInstancesStatusResponseBodyPolicyInstances `json:"policy_instances,omitempty" xml:"policy_instances,omitempty" type:"Repeated"` }
func (DescribePolicyInstancesStatusResponseBody) GoString ¶
func (s DescribePolicyInstancesStatusResponseBody) GoString() string
func (*DescribePolicyInstancesStatusResponseBody) SetInstancesSeverityCount ¶
func (s *DescribePolicyInstancesStatusResponseBody) SetInstancesSeverityCount(v map[string]interface{}) *DescribePolicyInstancesStatusResponseBody
func (*DescribePolicyInstancesStatusResponseBody) SetPolicyInstances ¶
func (s *DescribePolicyInstancesStatusResponseBody) SetPolicyInstances(v []*DescribePolicyInstancesStatusResponseBodyPolicyInstances) *DescribePolicyInstancesStatusResponseBody
func (DescribePolicyInstancesStatusResponseBody) String ¶
func (s DescribePolicyInstancesStatusResponseBody) String() string
type DescribePolicyInstancesStatusResponseBodyPolicyInstances ¶
type DescribePolicyInstancesStatusResponseBodyPolicyInstances struct { // The type of the policy. For more information about different types of policies and their descriptions, see [Predefined security policies of ACK](https://help.aliyun.com/document_detail/359819.html). // // example: // // compliance PolicyCategory *string `json:"policy_category,omitempty" xml:"policy_category,omitempty"` // The description of the policy. // // example: // // Restricts use of the cluster-admin role. 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. // // example: // // 1 PolicyInstancesCount *int64 `json:"policy_instances_count,omitempty" xml:"policy_instances_count,omitempty"` // The name of the policy. // // example: // // ACKRestrictRoleBindings PolicyName *string `json:"policy_name,omitempty" xml:"policy_name,omitempty"` // The severity level of the policy. // // example: // // medium PolicySeverity *string `json:"policy_severity,omitempty" xml:"policy_severity,omitempty"` }
func (DescribePolicyInstancesStatusResponseBodyPolicyInstances) GoString ¶
func (s DescribePolicyInstancesStatusResponseBodyPolicyInstances) GoString() string
func (*DescribePolicyInstancesStatusResponseBodyPolicyInstances) SetPolicyCategory ¶
func (s *DescribePolicyInstancesStatusResponseBodyPolicyInstances) SetPolicyCategory(v string) *DescribePolicyInstancesStatusResponseBodyPolicyInstances
func (*DescribePolicyInstancesStatusResponseBodyPolicyInstances) SetPolicyDescription ¶
func (s *DescribePolicyInstancesStatusResponseBodyPolicyInstances) SetPolicyDescription(v string) *DescribePolicyInstancesStatusResponseBodyPolicyInstances
func (*DescribePolicyInstancesStatusResponseBodyPolicyInstances) SetPolicyInstancesCount ¶
func (s *DescribePolicyInstancesStatusResponseBodyPolicyInstances) SetPolicyInstancesCount(v int64) *DescribePolicyInstancesStatusResponseBodyPolicyInstances
func (*DescribePolicyInstancesStatusResponseBodyPolicyInstances) SetPolicyName ¶
func (s *DescribePolicyInstancesStatusResponseBodyPolicyInstances) SetPolicyName(v string) *DescribePolicyInstancesStatusResponseBodyPolicyInstances
func (*DescribePolicyInstancesStatusResponseBodyPolicyInstances) SetPolicySeverity ¶
func (s *DescribePolicyInstancesStatusResponseBodyPolicyInstances) SetPolicySeverity(v string) *DescribePolicyInstancesStatusResponseBodyPolicyInstances
func (DescribePolicyInstancesStatusResponseBodyPolicyInstances) String ¶
func (s DescribePolicyInstancesStatusResponseBodyPolicyInstances) String() string
type DescribeResourcesDeleteProtectionRequest ¶ added in v5.3.0
type DescribeResourcesDeleteProtectionRequest struct { // The namespace to which the resource belongs. // // example: // // default Namespace *string `json:"namespace,omitempty" xml:"namespace,omitempty"` // The name of the resource that you want to query. Separate multiple resource names with commas (,). // // example: // // test1,test2 Resources *string `json:"resources,omitempty" xml:"resources,omitempty"` }
func (DescribeResourcesDeleteProtectionRequest) GoString ¶ added in v5.3.0
func (s DescribeResourcesDeleteProtectionRequest) GoString() string
func (*DescribeResourcesDeleteProtectionRequest) SetNamespace ¶ added in v5.3.0
func (s *DescribeResourcesDeleteProtectionRequest) SetNamespace(v string) *DescribeResourcesDeleteProtectionRequest
func (*DescribeResourcesDeleteProtectionRequest) SetResources ¶ added in v5.3.0
func (s *DescribeResourcesDeleteProtectionRequest) SetResources(v string) *DescribeResourcesDeleteProtectionRequest
func (DescribeResourcesDeleteProtectionRequest) String ¶ added in v5.3.0
func (s DescribeResourcesDeleteProtectionRequest) String() string
type DescribeResourcesDeleteProtectionResponse ¶ added in v5.3.0
type DescribeResourcesDeleteProtectionResponse struct { Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` Body []*DescribeResourcesDeleteProtectionResponseBody `json:"body,omitempty" xml:"body,omitempty" type:"Repeated"` }
func (DescribeResourcesDeleteProtectionResponse) GoString ¶ added in v5.3.0
func (s DescribeResourcesDeleteProtectionResponse) GoString() string
func (*DescribeResourcesDeleteProtectionResponse) SetHeaders ¶ added in v5.3.0
func (s *DescribeResourcesDeleteProtectionResponse) SetHeaders(v map[string]*string) *DescribeResourcesDeleteProtectionResponse
func (*DescribeResourcesDeleteProtectionResponse) SetStatusCode ¶ added in v5.3.0
func (s *DescribeResourcesDeleteProtectionResponse) SetStatusCode(v int32) *DescribeResourcesDeleteProtectionResponse
func (DescribeResourcesDeleteProtectionResponse) String ¶ added in v5.3.0
func (s DescribeResourcesDeleteProtectionResponse) String() string
type DescribeResourcesDeleteProtectionResponseBody ¶ added in v5.3.0
type DescribeResourcesDeleteProtectionResponseBody struct { // The name of the resource. // // This parameter is required. // // example: // // test Name *string `json:"name,omitempty" xml:"name,omitempty"` // The namespace to which the resource belongs. // // example: // // default Namespace *string `json:"namespace,omitempty" xml:"namespace,omitempty"` // The type of resource for which deletion protection is enabled. // // example: // // namespaces Resource *string `json:"resource,omitempty" xml:"resource,omitempty"` // Indicates whether deletion protection is enabled. // // - true: deletion protection is enabled. // // - false: deletion protection is disabled. // // Default value: false // // example: // // false Protection *bool `json:"protection,omitempty" xml:"protection,omitempty"` }
func (DescribeResourcesDeleteProtectionResponseBody) GoString ¶ added in v5.3.0
func (s DescribeResourcesDeleteProtectionResponseBody) GoString() string
func (*DescribeResourcesDeleteProtectionResponseBody) SetName ¶ added in v5.3.0
func (s *DescribeResourcesDeleteProtectionResponseBody) SetName(v string) *DescribeResourcesDeleteProtectionResponseBody
func (*DescribeResourcesDeleteProtectionResponseBody) SetNamespace ¶ added in v5.3.0
func (s *DescribeResourcesDeleteProtectionResponseBody) SetNamespace(v string) *DescribeResourcesDeleteProtectionResponseBody
func (*DescribeResourcesDeleteProtectionResponseBody) SetProtection ¶ added in v5.3.0
func (s *DescribeResourcesDeleteProtectionResponseBody) SetProtection(v bool) *DescribeResourcesDeleteProtectionResponseBody
func (*DescribeResourcesDeleteProtectionResponseBody) SetResource ¶ added in v5.3.0
func (s *DescribeResourcesDeleteProtectionResponseBody) SetResource(v string) *DescribeResourcesDeleteProtectionResponseBody
func (DescribeResourcesDeleteProtectionResponseBody) String ¶ added in v5.3.0
func (s DescribeResourcesDeleteProtectionResponseBody) String() 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`. // // example: // // true 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. // // example: // // 15 TemporaryDurationMinutes *int64 `json:"TemporaryDurationMinutes,omitempty" xml:"TemporaryDurationMinutes,omitempty"` }
func (DescribeSubaccountK8sClusterUserConfigRequest) GoString ¶
func (s DescribeSubaccountK8sClusterUserConfigRequest) GoString() string
func (*DescribeSubaccountK8sClusterUserConfigRequest) SetPrivateIpAddress ¶
func (s *DescribeSubaccountK8sClusterUserConfigRequest) SetPrivateIpAddress(v bool) *DescribeSubaccountK8sClusterUserConfigRequest
func (*DescribeSubaccountK8sClusterUserConfigRequest) SetTemporaryDurationMinutes ¶
func (s *DescribeSubaccountK8sClusterUserConfigRequest) SetTemporaryDurationMinutes(v int64) *DescribeSubaccountK8sClusterUserConfigRequest
func (DescribeSubaccountK8sClusterUserConfigRequest) String ¶
func (s DescribeSubaccountK8sClusterUserConfigRequest) String() 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 (s DescribeSubaccountK8sClusterUserConfigResponse) GoString() string
func (*DescribeSubaccountK8sClusterUserConfigResponse) SetHeaders ¶
func (s *DescribeSubaccountK8sClusterUserConfigResponse) SetHeaders(v map[string]*string) *DescribeSubaccountK8sClusterUserConfigResponse
func (*DescribeSubaccountK8sClusterUserConfigResponse) SetStatusCode ¶
func (s *DescribeSubaccountK8sClusterUserConfigResponse) SetStatusCode(v int32) *DescribeSubaccountK8sClusterUserConfigResponse
func (DescribeSubaccountK8sClusterUserConfigResponse) String ¶
func (s DescribeSubaccountK8sClusterUserConfigResponse) String() string
type DescribeSubaccountK8sClusterUserConfigResponseBody ¶
type DescribeSubaccountK8sClusterUserConfigResponseBody struct { // The cluster kubeconfig file. For more information about the content of the kubeconfig file, see [Configure cluster credentials](https://help.aliyun.com/document_detail/86494.html). // // This parameter is required. // // example: // // apiVersion: v1**** 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. // // example: // // 2024-03-10T09:56:17Z Expiration *string `json:"expiration,omitempty" xml:"expiration,omitempty"` }
func (DescribeSubaccountK8sClusterUserConfigResponseBody) GoString ¶
func (s DescribeSubaccountK8sClusterUserConfigResponseBody) GoString() string
func (*DescribeSubaccountK8sClusterUserConfigResponseBody) SetExpiration ¶
func (s *DescribeSubaccountK8sClusterUserConfigResponseBody) SetExpiration(v string) *DescribeSubaccountK8sClusterUserConfigResponseBody
func (DescribeSubaccountK8sClusterUserConfigResponseBody) String ¶
func (s DescribeSubaccountK8sClusterUserConfigResponseBody) String() 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 (s *DescribeTaskInfoResponse) SetBody(v *DescribeTaskInfoResponseBody) *DescribeTaskInfoResponse
func (*DescribeTaskInfoResponse) SetHeaders ¶
func (s *DescribeTaskInfoResponse) SetHeaders(v map[string]*string) *DescribeTaskInfoResponse
func (*DescribeTaskInfoResponse) SetStatusCode ¶
func (s *DescribeTaskInfoResponse) SetStatusCode(v int32) *DescribeTaskInfoResponse
func (DescribeTaskInfoResponse) String ¶
func (s DescribeTaskInfoResponse) String() string
type DescribeTaskInfoResponseBody ¶
type DescribeTaskInfoResponseBody struct { // The cluster ID. // // example: // // c78592bfe92244365b3c3ad47f1de**** ClusterId *string `json:"cluster_id,omitempty" xml:"cluster_id,omitempty"` // The time when the task was created. // // example: // // 2020-11-10T16:02:04+08:00 Created *string `json:"created,omitempty" xml:"created,omitempty"` // The current stage of the task. // // example: // // DrainNodes 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. // // example: // // running 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. // // example: // // T-5faa48fb31b6b8078d000006 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. // // example: // // cluster_scaleout TaskType *string `json:"task_type,omitempty" xml:"task_type,omitempty"` // The time when the task was updated. // // example: // // 2020-11-10T16:03:06+08:00 Updated *string `json:"updated,omitempty" xml:"updated,omitempty"` }
func (DescribeTaskInfoResponseBody) GoString ¶
func (s DescribeTaskInfoResponseBody) GoString() string
func (*DescribeTaskInfoResponseBody) SetClusterId ¶
func (s *DescribeTaskInfoResponseBody) SetClusterId(v string) *DescribeTaskInfoResponseBody
func (*DescribeTaskInfoResponseBody) SetCreated ¶
func (s *DescribeTaskInfoResponseBody) SetCreated(v string) *DescribeTaskInfoResponseBody
func (*DescribeTaskInfoResponseBody) SetCurrentStage ¶
func (s *DescribeTaskInfoResponseBody) SetCurrentStage(v string) *DescribeTaskInfoResponseBody
func (*DescribeTaskInfoResponseBody) SetError ¶
func (s *DescribeTaskInfoResponseBody) SetError(v *DescribeTaskInfoResponseBodyError) *DescribeTaskInfoResponseBody
func (*DescribeTaskInfoResponseBody) SetEvents ¶
func (s *DescribeTaskInfoResponseBody) SetEvents(v []*DescribeTaskInfoResponseBodyEvents) *DescribeTaskInfoResponseBody
func (*DescribeTaskInfoResponseBody) SetParameters ¶
func (s *DescribeTaskInfoResponseBody) SetParameters(v map[string]interface{}) *DescribeTaskInfoResponseBody
func (*DescribeTaskInfoResponseBody) SetStages ¶
func (s *DescribeTaskInfoResponseBody) SetStages(v []*DescribeTaskInfoResponseBodyStages) *DescribeTaskInfoResponseBody
func (*DescribeTaskInfoResponseBody) SetState ¶
func (s *DescribeTaskInfoResponseBody) SetState(v string) *DescribeTaskInfoResponseBody
func (*DescribeTaskInfoResponseBody) SetTarget ¶
func (s *DescribeTaskInfoResponseBody) SetTarget(v *DescribeTaskInfoResponseBodyTarget) *DescribeTaskInfoResponseBody
func (*DescribeTaskInfoResponseBody) SetTaskId ¶
func (s *DescribeTaskInfoResponseBody) SetTaskId(v string) *DescribeTaskInfoResponseBody
func (*DescribeTaskInfoResponseBody) SetTaskResult ¶
func (s *DescribeTaskInfoResponseBody) SetTaskResult(v []*DescribeTaskInfoResponseBodyTaskResult) *DescribeTaskInfoResponseBody
func (*DescribeTaskInfoResponseBody) SetTaskType ¶
func (s *DescribeTaskInfoResponseBody) SetTaskType(v string) *DescribeTaskInfoResponseBody
func (*DescribeTaskInfoResponseBody) SetUpdated ¶
func (s *DescribeTaskInfoResponseBody) SetUpdated(v string) *DescribeTaskInfoResponseBody
func (DescribeTaskInfoResponseBody) String ¶
func (s DescribeTaskInfoResponseBody) String() string
type DescribeTaskInfoResponseBodyError ¶
type DescribeTaskInfoResponseBodyError struct { // The error code returned. // // example: // // 400 Code *string `json:"code,omitempty" xml:"code,omitempty"` // The error message returned. // // example: // // failed to xxx Message *string `json:"message,omitempty" xml:"message,omitempty"` }
func (DescribeTaskInfoResponseBodyError) GoString ¶
func (s DescribeTaskInfoResponseBodyError) GoString() string
func (*DescribeTaskInfoResponseBodyError) SetCode ¶
func (s *DescribeTaskInfoResponseBodyError) SetCode(v string) *DescribeTaskInfoResponseBodyError
func (*DescribeTaskInfoResponseBodyError) SetMessage ¶
func (s *DescribeTaskInfoResponseBodyError) SetMessage(v string) *DescribeTaskInfoResponseBodyError
func (DescribeTaskInfoResponseBodyError) String ¶
func (s DescribeTaskInfoResponseBodyError) String() string
type DescribeTaskInfoResponseBodyEvents ¶
type DescribeTaskInfoResponseBodyEvents struct { // The action of the event. // // example: // // start Action *string `json:"action,omitempty" xml:"action,omitempty"` // The severity level of the event. // // example: // // Normal Level *string `json:"level,omitempty" xml:"level,omitempty"` // The message about the event. // // example: // // start to xxx Message *string `json:"message,omitempty" xml:"message,omitempty"` // The cause of the event. // // example: // // NodePoolUpgradeStart Reason *string `json:"reason,omitempty" xml:"reason,omitempty"` // The source of the event. // // example: // // ACK Source *string `json:"source,omitempty" xml:"source,omitempty"` // The timestamp when the event was generated. // // example: // // 1669706229286 Timestamp *string `json:"timestamp,omitempty" xml:"timestamp,omitempty"` }
func (DescribeTaskInfoResponseBodyEvents) GoString ¶
func (s DescribeTaskInfoResponseBodyEvents) GoString() string
func (*DescribeTaskInfoResponseBodyEvents) SetAction ¶
func (s *DescribeTaskInfoResponseBodyEvents) SetAction(v string) *DescribeTaskInfoResponseBodyEvents
func (*DescribeTaskInfoResponseBodyEvents) SetLevel ¶
func (s *DescribeTaskInfoResponseBodyEvents) SetLevel(v string) *DescribeTaskInfoResponseBodyEvents
func (*DescribeTaskInfoResponseBodyEvents) SetMessage ¶
func (s *DescribeTaskInfoResponseBodyEvents) SetMessage(v string) *DescribeTaskInfoResponseBodyEvents
func (*DescribeTaskInfoResponseBodyEvents) SetReason ¶
func (s *DescribeTaskInfoResponseBodyEvents) SetReason(v string) *DescribeTaskInfoResponseBodyEvents
func (*DescribeTaskInfoResponseBodyEvents) SetSource ¶
func (s *DescribeTaskInfoResponseBodyEvents) SetSource(v string) *DescribeTaskInfoResponseBodyEvents
func (*DescribeTaskInfoResponseBodyEvents) SetTimestamp ¶
func (s *DescribeTaskInfoResponseBodyEvents) SetTimestamp(v string) *DescribeTaskInfoResponseBodyEvents
func (DescribeTaskInfoResponseBodyEvents) String ¶
func (s DescribeTaskInfoResponseBodyEvents) String() string
type DescribeTaskInfoResponseBodyStages ¶
type DescribeTaskInfoResponseBodyStages struct { // The end time of the stage. // // example: // // 2022-12-15 23:00:00 EndTime *string `json:"end_time,omitempty" xml:"end_time,omitempty"` // The message about the stage. // // example: // // success to xxxxx 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. // // example: // // 2022-12-15 23:00:00 StartTime *string `json:"start_time,omitempty" xml:"start_time,omitempty"` // The status of the stage. // // example: // // running State *string `json:"state,omitempty" xml:"state,omitempty"` }
func (DescribeTaskInfoResponseBodyStages) GoString ¶
func (s DescribeTaskInfoResponseBodyStages) GoString() string
func (*DescribeTaskInfoResponseBodyStages) SetEndTime ¶
func (s *DescribeTaskInfoResponseBodyStages) SetEndTime(v string) *DescribeTaskInfoResponseBodyStages
func (*DescribeTaskInfoResponseBodyStages) SetMessage ¶
func (s *DescribeTaskInfoResponseBodyStages) SetMessage(v string) *DescribeTaskInfoResponseBodyStages
func (*DescribeTaskInfoResponseBodyStages) SetOutputs ¶
func (s *DescribeTaskInfoResponseBodyStages) SetOutputs(v map[string]interface{}) *DescribeTaskInfoResponseBodyStages
func (*DescribeTaskInfoResponseBodyStages) SetStartTime ¶
func (s *DescribeTaskInfoResponseBodyStages) SetStartTime(v string) *DescribeTaskInfoResponseBodyStages
func (*DescribeTaskInfoResponseBodyStages) SetState ¶
func (s *DescribeTaskInfoResponseBodyStages) SetState(v string) *DescribeTaskInfoResponseBodyStages
func (DescribeTaskInfoResponseBodyStages) String ¶
func (s DescribeTaskInfoResponseBodyStages) String() string
type DescribeTaskInfoResponseBodyTarget ¶
type DescribeTaskInfoResponseBodyTarget struct { // The ID of the object. // // example: // // c78592bfe92244365b3c3ad47f1de**** Id *string `json:"id,omitempty" xml:"id,omitempty"` // The type of the object. // // example: // // cluster Type *string `json:"type,omitempty" xml:"type,omitempty"` }
func (DescribeTaskInfoResponseBodyTarget) GoString ¶
func (s DescribeTaskInfoResponseBodyTarget) GoString() string
func (*DescribeTaskInfoResponseBodyTarget) SetId ¶
func (s *DescribeTaskInfoResponseBodyTarget) SetId(v string) *DescribeTaskInfoResponseBodyTarget
func (*DescribeTaskInfoResponseBodyTarget) SetType ¶
func (s *DescribeTaskInfoResponseBodyTarget) SetType(v string) *DescribeTaskInfoResponseBodyTarget
func (DescribeTaskInfoResponseBodyTarget) String ¶
func (s DescribeTaskInfoResponseBodyTarget) String() 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. // // example: // // i-xxx 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. // // example: // // success Status *string `json:"status,omitempty" xml:"status,omitempty"` }
func (DescribeTaskInfoResponseBodyTaskResult) GoString ¶
func (s DescribeTaskInfoResponseBodyTaskResult) GoString() string
func (*DescribeTaskInfoResponseBodyTaskResult) SetData ¶
func (s *DescribeTaskInfoResponseBodyTaskResult) SetData(v string) *DescribeTaskInfoResponseBodyTaskResult
func (*DescribeTaskInfoResponseBodyTaskResult) SetStatus ¶
func (s *DescribeTaskInfoResponseBodyTaskResult) SetStatus(v string) *DescribeTaskInfoResponseBodyTaskResult
func (DescribeTaskInfoResponseBodyTaskResult) String ¶
func (s DescribeTaskInfoResponseBodyTaskResult) String() 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`. // // example: // // kubernetes TemplateType *string `json:"template_type,omitempty" xml:"template_type,omitempty"` }
func (DescribeTemplateAttributeRequest) GoString ¶
func (s DescribeTemplateAttributeRequest) GoString() string
func (*DescribeTemplateAttributeRequest) SetTemplateType ¶
func (s *DescribeTemplateAttributeRequest) SetTemplateType(v string) *DescribeTemplateAttributeRequest
func (DescribeTemplateAttributeRequest) String ¶
func (s DescribeTemplateAttributeRequest) String() 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 (s DescribeTemplateAttributeResponse) GoString() string
func (*DescribeTemplateAttributeResponse) SetBody ¶
func (s *DescribeTemplateAttributeResponse) SetBody(v []*DescribeTemplateAttributeResponseBody) *DescribeTemplateAttributeResponse
func (*DescribeTemplateAttributeResponse) SetHeaders ¶
func (s *DescribeTemplateAttributeResponse) SetHeaders(v map[string]*string) *DescribeTemplateAttributeResponse
func (*DescribeTemplateAttributeResponse) SetStatusCode ¶
func (s *DescribeTemplateAttributeResponse) SetStatusCode(v int32) *DescribeTemplateAttributeResponse
func (DescribeTemplateAttributeResponse) String ¶
func (s DescribeTemplateAttributeResponse) String() string
type DescribeTemplateAttributeResponseBody ¶
type DescribeTemplateAttributeResponseBody struct { // The ID of the template. When you update a template, a new template ID is generated. // // example: // // 72d20cf8-a533-4ea9-a10d-e7630d3d**** Id *string `json:"id,omitempty" xml:"id,omitempty"` // The access control policy of the template. // // example: // // private Acl *string `json:"acl,omitempty" xml:"acl,omitempty"` // The name of the template. // // example: // // web Name *string `json:"name,omitempty" xml:"name,omitempty"` // The template content in the YAML format. // // example: // // apiVersion: V1\\n*** 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`. // // example: // // kubernetes TemplateType *string `json:"template_type,omitempty" xml:"template_type,omitempty"` // The description of the template. // // example: // // test template Description *string `json:"description,omitempty" xml:"description,omitempty"` // The label of the template. // // example: // // sa Tags *string `json:"tags,omitempty" xml:"tags,omitempty"` // The unique ID of the template. The value remains unchanged after the template is updated. // // example: // // 874ec485-e7e6-4373-8a3b-47bde8ae**** TemplateWithHistId *string `json:"template_with_hist_id,omitempty" xml:"template_with_hist_id,omitempty"` // The time when the template was created. // // example: // // 2020-09-16T19:21:29+08:00 Created *string `json:"created,omitempty" xml:"created,omitempty"` // The time when the template was updated. // // example: // // 2020-09-16T19:21:29+08:00 Updated *string `json:"updated,omitempty" xml:"updated,omitempty"` }
func (DescribeTemplateAttributeResponseBody) GoString ¶
func (s DescribeTemplateAttributeResponseBody) GoString() string
func (*DescribeTemplateAttributeResponseBody) SetAcl ¶
func (s *DescribeTemplateAttributeResponseBody) SetAcl(v string) *DescribeTemplateAttributeResponseBody
func (*DescribeTemplateAttributeResponseBody) SetCreated ¶
func (s *DescribeTemplateAttributeResponseBody) SetCreated(v string) *DescribeTemplateAttributeResponseBody
func (*DescribeTemplateAttributeResponseBody) SetDescription ¶
func (s *DescribeTemplateAttributeResponseBody) SetDescription(v string) *DescribeTemplateAttributeResponseBody
func (*DescribeTemplateAttributeResponseBody) SetId ¶
func (s *DescribeTemplateAttributeResponseBody) SetId(v string) *DescribeTemplateAttributeResponseBody
func (*DescribeTemplateAttributeResponseBody) SetName ¶
func (s *DescribeTemplateAttributeResponseBody) SetName(v string) *DescribeTemplateAttributeResponseBody
func (*DescribeTemplateAttributeResponseBody) SetTags ¶
func (s *DescribeTemplateAttributeResponseBody) SetTags(v string) *DescribeTemplateAttributeResponseBody
func (*DescribeTemplateAttributeResponseBody) SetTemplate ¶
func (s *DescribeTemplateAttributeResponseBody) SetTemplate(v string) *DescribeTemplateAttributeResponseBody
func (*DescribeTemplateAttributeResponseBody) SetTemplateType ¶
func (s *DescribeTemplateAttributeResponseBody) SetTemplateType(v string) *DescribeTemplateAttributeResponseBody
func (*DescribeTemplateAttributeResponseBody) SetTemplateWithHistId ¶
func (s *DescribeTemplateAttributeResponseBody) SetTemplateWithHistId(v string) *DescribeTemplateAttributeResponseBody
func (*DescribeTemplateAttributeResponseBody) SetUpdated ¶
func (s *DescribeTemplateAttributeResponseBody) SetUpdated(v string) *DescribeTemplateAttributeResponseBody
func (DescribeTemplateAttributeResponseBody) String ¶
func (s DescribeTemplateAttributeResponseBody) String() string
type DescribeTemplatesRequest ¶
type DescribeTemplatesRequest struct { // The page number. // // Default value: 1. // // example: // // 1 PageNum *int64 `json:"page_num,omitempty" xml:"page_num,omitempty"` // The number of entries per page. // // Default value: 10. // // example: // // 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`. // // example: // // kubernetes TemplateType *string `json:"template_type,omitempty" xml:"template_type,omitempty"` }
func (DescribeTemplatesRequest) GoString ¶
func (s DescribeTemplatesRequest) GoString() string
func (*DescribeTemplatesRequest) SetPageNum ¶
func (s *DescribeTemplatesRequest) SetPageNum(v int64) *DescribeTemplatesRequest
func (*DescribeTemplatesRequest) SetPageSize ¶
func (s *DescribeTemplatesRequest) SetPageSize(v int64) *DescribeTemplatesRequest
func (*DescribeTemplatesRequest) SetTemplateType ¶
func (s *DescribeTemplatesRequest) SetTemplateType(v string) *DescribeTemplatesRequest
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 (s *DescribeTemplatesResponse) SetBody(v *DescribeTemplatesResponseBody) *DescribeTemplatesResponse
func (*DescribeTemplatesResponse) SetHeaders ¶
func (s *DescribeTemplatesResponse) SetHeaders(v map[string]*string) *DescribeTemplatesResponse
func (*DescribeTemplatesResponse) SetStatusCode ¶
func (s *DescribeTemplatesResponse) SetStatusCode(v int32) *DescribeTemplatesResponse
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 (s DescribeTemplatesResponseBody) GoString() string
func (*DescribeTemplatesResponseBody) SetPageInfo ¶
func (s *DescribeTemplatesResponseBody) SetPageInfo(v *DescribeTemplatesResponseBodyPageInfo) *DescribeTemplatesResponseBody
func (*DescribeTemplatesResponseBody) SetTemplates ¶
func (s *DescribeTemplatesResponseBody) SetTemplates(v []*DescribeTemplatesResponseBodyTemplates) *DescribeTemplatesResponseBody
func (DescribeTemplatesResponseBody) String ¶
func (s DescribeTemplatesResponseBody) String() string
type DescribeTemplatesResponseBodyPageInfo ¶
type DescribeTemplatesResponseBodyPageInfo struct { // The page number. // // example: // // 20 PageNumber *int64 `json:"page_number,omitempty" xml:"page_number,omitempty"` // The number of entries per page. // // example: // // 3 PageSize *int64 `json:"page_size,omitempty" xml:"page_size,omitempty"` // The total number of entries returned. // // example: // // 50 TotalCount *int64 `json:"total_count,omitempty" xml:"total_count,omitempty"` }
func (DescribeTemplatesResponseBodyPageInfo) GoString ¶
func (s DescribeTemplatesResponseBodyPageInfo) GoString() string
func (*DescribeTemplatesResponseBodyPageInfo) SetPageNumber ¶
func (s *DescribeTemplatesResponseBodyPageInfo) SetPageNumber(v int64) *DescribeTemplatesResponseBodyPageInfo
func (*DescribeTemplatesResponseBodyPageInfo) SetPageSize ¶
func (s *DescribeTemplatesResponseBodyPageInfo) SetPageSize(v int64) *DescribeTemplatesResponseBodyPageInfo
func (*DescribeTemplatesResponseBodyPageInfo) SetTotalCount ¶
func (s *DescribeTemplatesResponseBodyPageInfo) SetTotalCount(v int64) *DescribeTemplatesResponseBodyPageInfo
func (DescribeTemplatesResponseBodyPageInfo) String ¶
func (s DescribeTemplatesResponseBodyPageInfo) String() 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`. // // example: // // private Acl *string `json:"acl,omitempty" xml:"acl,omitempty"` // The time when the template was created. // // example: // // 2020-06-10T16:30:16+08:00 Created *string `json:"created,omitempty" xml:"created,omitempty"` // The description of the template. // // example: // // a web server Description *string `json:"description,omitempty" xml:"description,omitempty"` // The ID of the template. // // example: // // 874ec485-e7e6-4373-8a3b-47bde8ae789f Id *string `json:"id,omitempty" xml:"id,omitempty"` // The name of the template. // // example: // // webserver Name *string `json:"name,omitempty" xml:"name,omitempty"` // The label of the template. By default, the value is the name of the template. // // example: // // kubernetes Tags *string `json:"tags,omitempty" xml:"tags,omitempty"` // The template content in the YAML format. // // example: // // apiVersion: apps/v1\\nkind: Deployment\\nmetadata:\\n name: nginx-deployment-basic\\n labels:\\n app: nginx\\nspec:\\n replicas: 2\\n selector:\\n matchLabels:\\n app: nginx\\n template:\\n metadata:\\n labels:\\n app: nginx\\n spec:\\n containers:\\n - name: nginx\\n image: busybox:latest\\n ports:\\n - containerPort: 80 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. // // example: // // kubernetes 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. // // example: // // ad81d115-7c8b-47e7-a222-9c28d7f6e588 TemplateWithHistId *string `json:"template_with_hist_id,omitempty" xml:"template_with_hist_id,omitempty"` // The time when the template was updated. // // example: // // 2020-06-10T16:30:16+08:00 Updated *string `json:"updated,omitempty" xml:"updated,omitempty"` }
func (DescribeTemplatesResponseBodyTemplates) GoString ¶
func (s DescribeTemplatesResponseBodyTemplates) GoString() string
func (*DescribeTemplatesResponseBodyTemplates) SetAcl ¶
func (s *DescribeTemplatesResponseBodyTemplates) SetAcl(v string) *DescribeTemplatesResponseBodyTemplates
func (*DescribeTemplatesResponseBodyTemplates) SetCreated ¶
func (s *DescribeTemplatesResponseBodyTemplates) SetCreated(v string) *DescribeTemplatesResponseBodyTemplates
func (*DescribeTemplatesResponseBodyTemplates) SetDescription ¶
func (s *DescribeTemplatesResponseBodyTemplates) SetDescription(v string) *DescribeTemplatesResponseBodyTemplates
func (*DescribeTemplatesResponseBodyTemplates) SetId ¶
func (s *DescribeTemplatesResponseBodyTemplates) SetId(v string) *DescribeTemplatesResponseBodyTemplates
func (*DescribeTemplatesResponseBodyTemplates) SetName ¶
func (s *DescribeTemplatesResponseBodyTemplates) SetName(v string) *DescribeTemplatesResponseBodyTemplates
func (*DescribeTemplatesResponseBodyTemplates) SetTags ¶
func (s *DescribeTemplatesResponseBodyTemplates) SetTags(v string) *DescribeTemplatesResponseBodyTemplates
func (*DescribeTemplatesResponseBodyTemplates) SetTemplate ¶
func (s *DescribeTemplatesResponseBodyTemplates) SetTemplate(v string) *DescribeTemplatesResponseBodyTemplates
func (*DescribeTemplatesResponseBodyTemplates) SetTemplateType ¶
func (s *DescribeTemplatesResponseBodyTemplates) SetTemplateType(v string) *DescribeTemplatesResponseBodyTemplates
func (*DescribeTemplatesResponseBodyTemplates) SetTemplateWithHistId ¶
func (s *DescribeTemplatesResponseBodyTemplates) SetTemplateWithHistId(v string) *DescribeTemplatesResponseBodyTemplates
func (*DescribeTemplatesResponseBodyTemplates) SetUpdated ¶
func (s *DescribeTemplatesResponseBodyTemplates) SetUpdated(v string) *DescribeTemplatesResponseBodyTemplates
func (DescribeTemplatesResponseBodyTemplates) String ¶
func (s DescribeTemplatesResponseBodyTemplates) String() string
type DescribeTriggerRequest ¶
type DescribeTriggerRequest struct { // The application name. // // This parameter is required. // // example: // // web-server Name *string `json:"Name,omitempty" xml:"Name,omitempty"` // The namespace to which the application belongs. // // This parameter is required. // // example: // // default 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. // // example: // // deployment 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. // // example: // // redeploy Action *string `json:"action,omitempty" xml:"action,omitempty"` }
func (DescribeTriggerRequest) GoString ¶
func (s DescribeTriggerRequest) GoString() string
func (*DescribeTriggerRequest) SetAction ¶
func (s *DescribeTriggerRequest) SetAction(v string) *DescribeTriggerRequest
func (*DescribeTriggerRequest) SetName ¶
func (s *DescribeTriggerRequest) SetName(v string) *DescribeTriggerRequest
func (*DescribeTriggerRequest) SetNamespace ¶
func (s *DescribeTriggerRequest) SetNamespace(v string) *DescribeTriggerRequest
func (*DescribeTriggerRequest) SetType ¶
func (s *DescribeTriggerRequest) SetType(v string) *DescribeTriggerRequest
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 (s *DescribeTriggerResponse) SetBody(v []*DescribeTriggerResponseBody) *DescribeTriggerResponse
func (*DescribeTriggerResponse) SetHeaders ¶
func (s *DescribeTriggerResponse) SetHeaders(v map[string]*string) *DescribeTriggerResponse
func (*DescribeTriggerResponse) SetStatusCode ¶
func (s *DescribeTriggerResponse) SetStatusCode(v int32) *DescribeTriggerResponse
func (DescribeTriggerResponse) String ¶
func (s DescribeTriggerResponse) String() string
type DescribeTriggerResponseBody ¶
type DescribeTriggerResponseBody struct { // The ID of the trigger. // // example: // // 1234 Id *string `json:"id,omitempty" xml:"id,omitempty"` // The name of the trigger. // // example: // // test Name *string `json:"name,omitempty" xml:"name,omitempty"` // The ID of the associated cluster. // // example: // // c259f563386444ebb8d7**** 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. // // 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`. // // example: // // 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. // // example: // // redeploy Action *string `json:"action,omitempty" xml:"action,omitempty"` // The token information. // // example: // // eyJhbGci*** Token *string `json:"token,omitempty" xml:"token,omitempty"` }
func (DescribeTriggerResponseBody) GoString ¶
func (s DescribeTriggerResponseBody) GoString() string
func (*DescribeTriggerResponseBody) SetAction ¶
func (s *DescribeTriggerResponseBody) SetAction(v string) *DescribeTriggerResponseBody
func (*DescribeTriggerResponseBody) SetClusterId ¶
func (s *DescribeTriggerResponseBody) SetClusterId(v string) *DescribeTriggerResponseBody
func (*DescribeTriggerResponseBody) SetId ¶
func (s *DescribeTriggerResponseBody) SetId(v string) *DescribeTriggerResponseBody
func (*DescribeTriggerResponseBody) SetName ¶
func (s *DescribeTriggerResponseBody) SetName(v string) *DescribeTriggerResponseBody
func (*DescribeTriggerResponseBody) SetProjectId ¶
func (s *DescribeTriggerResponseBody) SetProjectId(v string) *DescribeTriggerResponseBody
func (*DescribeTriggerResponseBody) SetToken ¶
func (s *DescribeTriggerResponseBody) SetToken(v string) *DescribeTriggerResponseBody
func (*DescribeTriggerResponseBody) SetType ¶
func (s *DescribeTriggerResponseBody) SetType(v string) *DescribeTriggerResponseBody
func (DescribeTriggerResponseBody) String ¶
func (s DescribeTriggerResponseBody) String() 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 (s DescribeUserClusterNamespacesResponse) GoString() string
func (*DescribeUserClusterNamespacesResponse) SetBody ¶
func (s *DescribeUserClusterNamespacesResponse) SetBody(v []*string) *DescribeUserClusterNamespacesResponse
func (*DescribeUserClusterNamespacesResponse) SetHeaders ¶
func (s *DescribeUserClusterNamespacesResponse) SetHeaders(v map[string]*string) *DescribeUserClusterNamespacesResponse
func (*DescribeUserClusterNamespacesResponse) SetStatusCode ¶
func (s *DescribeUserClusterNamespacesResponse) SetStatusCode(v int32) *DescribeUserClusterNamespacesResponse
func (DescribeUserClusterNamespacesResponse) String ¶
func (s DescribeUserClusterNamespacesResponse) String() 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 (s DescribeUserPermissionResponse) GoString() string
func (*DescribeUserPermissionResponse) SetBody ¶
func (s *DescribeUserPermissionResponse) SetBody(v []*DescribeUserPermissionResponseBody) *DescribeUserPermissionResponse
func (*DescribeUserPermissionResponse) SetHeaders ¶
func (s *DescribeUserPermissionResponse) SetHeaders(v map[string]*string) *DescribeUserPermissionResponse
func (*DescribeUserPermissionResponse) SetStatusCode ¶
func (s *DescribeUserPermissionResponse) SetStatusCode(v int32) *DescribeUserPermissionResponse
func (DescribeUserPermissionResponse) String ¶
func (s DescribeUserPermissionResponse) String() 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. // // example: // // c1b542**** 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. // // example: // // cluster 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. // // example: // // view 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 // // example: // // admin 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. // // example: // // 1 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. // // example: // // 1 IsRamRole *int64 `json:"is_ram_role,omitempty" xml:"is_ram_role,omitempty"` }
func (DescribeUserPermissionResponseBody) GoString ¶
func (s DescribeUserPermissionResponseBody) GoString() string
func (*DescribeUserPermissionResponseBody) SetIsOwner ¶
func (s *DescribeUserPermissionResponseBody) SetIsOwner(v int64) *DescribeUserPermissionResponseBody
func (*DescribeUserPermissionResponseBody) SetIsRamRole ¶
func (s *DescribeUserPermissionResponseBody) SetIsRamRole(v int64) *DescribeUserPermissionResponseBody
func (*DescribeUserPermissionResponseBody) SetResourceId ¶
func (s *DescribeUserPermissionResponseBody) SetResourceId(v string) *DescribeUserPermissionResponseBody
func (*DescribeUserPermissionResponseBody) SetResourceType ¶
func (s *DescribeUserPermissionResponseBody) SetResourceType(v string) *DescribeUserPermissionResponseBody
func (*DescribeUserPermissionResponseBody) SetRoleName ¶
func (s *DescribeUserPermissionResponseBody) SetRoleName(v string) *DescribeUserPermissionResponseBody
func (*DescribeUserPermissionResponseBody) SetRoleType ¶
func (s *DescribeUserPermissionResponseBody) SetRoleType(v string) *DescribeUserPermissionResponseBody
func (DescribeUserPermissionResponseBody) String ¶
func (s DescribeUserPermissionResponseBody) String() 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 (s *DescribeUserQuotaResponse) SetBody(v *DescribeUserQuotaResponseBody) *DescribeUserQuotaResponse
func (*DescribeUserQuotaResponse) SetHeaders ¶
func (s *DescribeUserQuotaResponse) SetHeaders(v map[string]*string) *DescribeUserQuotaResponse
func (*DescribeUserQuotaResponse) SetStatusCode ¶
func (s *DescribeUserQuotaResponse) SetStatusCode(v int32) *DescribeUserQuotaResponse
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. // // example: // // 20 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. // // example: // // 3 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. // // example: // // 10 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. // // example: // // 50 ClusterQuota *int64 `json:"cluster_quota,omitempty" xml:"cluster_quota,omitempty"` // This parameter is discontinued. // // The quotas 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. // // example: // // 100 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 (s DescribeUserQuotaResponseBody) GoString() string
func (*DescribeUserQuotaResponseBody) SetAmkClusterQuota ¶
func (s *DescribeUserQuotaResponseBody) SetAmkClusterQuota(v int64) *DescribeUserQuotaResponseBody
func (*DescribeUserQuotaResponseBody) SetAskClusterQuota ¶
func (s *DescribeUserQuotaResponseBody) SetAskClusterQuota(v int64) *DescribeUserQuotaResponseBody
func (*DescribeUserQuotaResponseBody) SetClusterNodepoolQuota ¶
func (s *DescribeUserQuotaResponseBody) SetClusterNodepoolQuota(v int64) *DescribeUserQuotaResponseBody
func (*DescribeUserQuotaResponseBody) SetClusterQuota ¶
func (s *DescribeUserQuotaResponseBody) SetClusterQuota(v int64) *DescribeUserQuotaResponseBody
func (*DescribeUserQuotaResponseBody) SetEdgeImprovedNodepoolQuota ¶
func (s *DescribeUserQuotaResponseBody) SetEdgeImprovedNodepoolQuota(v *DescribeUserQuotaResponseBodyEdgeImprovedNodepoolQuota) *DescribeUserQuotaResponseBody
func (*DescribeUserQuotaResponseBody) SetNodeQuota ¶
func (s *DescribeUserQuotaResponseBody) SetNodeQuota(v int64) *DescribeUserQuotaResponseBody
func (*DescribeUserQuotaResponseBody) SetQuotas ¶
func (s *DescribeUserQuotaResponseBody) SetQuotas(v map[string]*QuotasValue) *DescribeUserQuotaResponseBody
func (DescribeUserQuotaResponseBody) String ¶
func (s DescribeUserQuotaResponseBody) String() string
type DescribeUserQuotaResponseBodyEdgeImprovedNodepoolQuota ¶
type DescribeUserQuotaResponseBodyEdgeImprovedNodepoolQuota struct { // This parameter is discontinued. // // The maximum bandwidth of each enhanced edge node pool. Unit: Mbit/s. // // example: // // 10 Bandwidth *int32 `json:"bandwidth,omitempty" xml:"bandwidth,omitempty"` // This parameter is discontinued. // // The maximum number of enhanced edge node pools that you can create within an Alibaba Cloud account. // // example: // // 3 Count *int32 `json:"count,omitempty" xml:"count,omitempty"` // This parameter is discontinued. // // The maximum subscription duration of an enhanced edge node pool. Unit: months. // // > You are charged for enhanced edge node pools based on the pay-as-you-go billing method. Therefore, you can ignore this parameter. // // example: // // 3 Period *int32 `json:"period,omitempty" xml:"period,omitempty"` }
func (DescribeUserQuotaResponseBodyEdgeImprovedNodepoolQuota) GoString ¶
func (s DescribeUserQuotaResponseBodyEdgeImprovedNodepoolQuota) GoString() string
func (*DescribeUserQuotaResponseBodyEdgeImprovedNodepoolQuota) SetBandwidth ¶
func (s *DescribeUserQuotaResponseBodyEdgeImprovedNodepoolQuota) SetBandwidth(v int32) *DescribeUserQuotaResponseBodyEdgeImprovedNodepoolQuota
func (DescribeUserQuotaResponseBodyEdgeImprovedNodepoolQuota) String ¶
func (s DescribeUserQuotaResponseBodyEdgeImprovedNodepoolQuota) String() string
type EdgeClusterAddEdgeMachineRequest ¶
type EdgeClusterAddEdgeMachineRequest struct { // The timeout period of sessions. Unit: seconds. // // example: // // 1024 Expired *int64 `json:"expired,omitempty" xml:"expired,omitempty"` // The node pool ID. // // This parameter is required. // // example: // // c26607f52179f4472a0d9723e7595**** NodepoolId *string `json:"nodepool_id,omitempty" xml:"nodepool_id,omitempty"` // The options that you want to configure. // // example: // // "{\\"enableIptables\\":true,\\"quiet\\":true,\\"manageRuntime\\":true,\\"allowedClusterAddons\\":[\\"kube-proxy\\",\\"flannel\\",\\"coredns\\"]}" Options *string `json:"options,omitempty" xml:"options,omitempty"` }
func (EdgeClusterAddEdgeMachineRequest) GoString ¶
func (s EdgeClusterAddEdgeMachineRequest) GoString() string
func (*EdgeClusterAddEdgeMachineRequest) SetExpired ¶
func (s *EdgeClusterAddEdgeMachineRequest) SetExpired(v int64) *EdgeClusterAddEdgeMachineRequest
func (*EdgeClusterAddEdgeMachineRequest) SetNodepoolId ¶
func (s *EdgeClusterAddEdgeMachineRequest) SetNodepoolId(v string) *EdgeClusterAddEdgeMachineRequest
func (*EdgeClusterAddEdgeMachineRequest) SetOptions ¶
func (s *EdgeClusterAddEdgeMachineRequest) SetOptions(v string) *EdgeClusterAddEdgeMachineRequest
func (EdgeClusterAddEdgeMachineRequest) String ¶
func (s EdgeClusterAddEdgeMachineRequest) String() 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 (s EdgeClusterAddEdgeMachineResponse) GoString() string
func (*EdgeClusterAddEdgeMachineResponse) SetHeaders ¶
func (s *EdgeClusterAddEdgeMachineResponse) SetHeaders(v map[string]*string) *EdgeClusterAddEdgeMachineResponse
func (*EdgeClusterAddEdgeMachineResponse) SetStatusCode ¶
func (s *EdgeClusterAddEdgeMachineResponse) SetStatusCode(v int32) *EdgeClusterAddEdgeMachineResponse
func (EdgeClusterAddEdgeMachineResponse) String ¶
func (s EdgeClusterAddEdgeMachineResponse) String() string
type EdgeClusterAddEdgeMachineResponseBody ¶
type EdgeClusterAddEdgeMachineResponseBody struct { // The ID of the cloud-native box. // // example: // // 0f4bf70a-caff-4b26-a679-fb0188a1**** EdgeMachineId *string `json:"edge_machine_id,omitempty" xml:"edge_machine_id,omitempty"` // The request ID. // // example: // // 0adf3a23-6841-41e8-9f55-7b290216c980 RequestId *string `json:"request_id,omitempty" xml:"request_id,omitempty"` }
func (EdgeClusterAddEdgeMachineResponseBody) GoString ¶
func (s EdgeClusterAddEdgeMachineResponseBody) GoString() string
func (*EdgeClusterAddEdgeMachineResponseBody) SetEdgeMachineId ¶
func (s *EdgeClusterAddEdgeMachineResponseBody) SetEdgeMachineId(v string) *EdgeClusterAddEdgeMachineResponseBody
func (*EdgeClusterAddEdgeMachineResponseBody) SetRequestId ¶
func (s *EdgeClusterAddEdgeMachineResponseBody) SetRequestId(v string) *EdgeClusterAddEdgeMachineResponseBody
func (EdgeClusterAddEdgeMachineResponseBody) String ¶
func (s EdgeClusterAddEdgeMachineResponseBody) String() string
type FixNodePoolVulsRequest ¶
type FixNodePoolVulsRequest struct { // Specifies whether to allow the nodes to restart. // // example: // // true 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 (s *FixNodePoolVulsRequest) SetNodes(v []*string) *FixNodePoolVulsRequest
func (*FixNodePoolVulsRequest) SetRolloutPolicy ¶
func (s *FixNodePoolVulsRequest) SetRolloutPolicy(v *FixNodePoolVulsRequestRolloutPolicy) *FixNodePoolVulsRequest
func (*FixNodePoolVulsRequest) SetVuls ¶
func (s *FixNodePoolVulsRequest) SetVuls(v []*string) *FixNodePoolVulsRequest
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. // // example: // // 1 MaxParallelism *int64 `json:"max_parallelism,omitempty" xml:"max_parallelism,omitempty"` }
func (FixNodePoolVulsRequestRolloutPolicy) GoString ¶
func (s FixNodePoolVulsRequestRolloutPolicy) GoString() string
func (*FixNodePoolVulsRequestRolloutPolicy) SetMaxParallelism ¶
func (s *FixNodePoolVulsRequestRolloutPolicy) SetMaxParallelism(v int64) *FixNodePoolVulsRequestRolloutPolicy
func (FixNodePoolVulsRequestRolloutPolicy) String ¶
func (s FixNodePoolVulsRequestRolloutPolicy) String() 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 (s *FixNodePoolVulsResponse) SetBody(v *FixNodePoolVulsResponseBody) *FixNodePoolVulsResponse
func (*FixNodePoolVulsResponse) SetHeaders ¶
func (s *FixNodePoolVulsResponse) SetHeaders(v map[string]*string) *FixNodePoolVulsResponse
func (*FixNodePoolVulsResponse) SetStatusCode ¶
func (s *FixNodePoolVulsResponse) SetStatusCode(v int32) *FixNodePoolVulsResponse
func (FixNodePoolVulsResponse) String ¶
func (s FixNodePoolVulsResponse) String() string
type FixNodePoolVulsResponseBody ¶
type FixNodePoolVulsResponseBody struct { // The ID of the CVE patching task. // // example: // // T-60fea8ad2e277f087900**** TaskId *string `json:"task_id,omitempty" xml:"task_id,omitempty"` }
func (FixNodePoolVulsResponseBody) GoString ¶
func (s FixNodePoolVulsResponseBody) GoString() string
func (*FixNodePoolVulsResponseBody) SetTaskId ¶
func (s *FixNodePoolVulsResponseBody) SetTaskId(v string) *FixNodePoolVulsResponseBody
func (FixNodePoolVulsResponseBody) String ¶
func (s FixNodePoolVulsResponseBody) String() 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 (s GetClusterAddonInstanceResponse) GoString() string
func (*GetClusterAddonInstanceResponse) SetBody ¶
func (s *GetClusterAddonInstanceResponse) SetBody(v *GetClusterAddonInstanceResponseBody) *GetClusterAddonInstanceResponse
func (*GetClusterAddonInstanceResponse) SetHeaders ¶
func (s *GetClusterAddonInstanceResponse) SetHeaders(v map[string]*string) *GetClusterAddonInstanceResponse
func (*GetClusterAddonInstanceResponse) SetStatusCode ¶
func (s *GetClusterAddonInstanceResponse) SetStatusCode(v int32) *GetClusterAddonInstanceResponse
func (GetClusterAddonInstanceResponse) String ¶
func (s GetClusterAddonInstanceResponse) String() string
type GetClusterAddonInstanceResponseBody ¶
type GetClusterAddonInstanceResponseBody struct { // The custom configurations of the component. // // example: // // {"sls_project_name":""} 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. // // example: // // ack-node-problem-detector 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. // // example: // // active State *string `json:"state,omitempty" xml:"state,omitempty"` // The version of the component instance. // // example: // // 1.2.16 Version *string `json:"version,omitempty" xml:"version,omitempty"` }
func (GetClusterAddonInstanceResponseBody) GoString ¶
func (s GetClusterAddonInstanceResponseBody) GoString() string
func (*GetClusterAddonInstanceResponseBody) SetConfig ¶
func (s *GetClusterAddonInstanceResponseBody) SetConfig(v string) *GetClusterAddonInstanceResponseBody
func (*GetClusterAddonInstanceResponseBody) SetLogging ¶
func (s *GetClusterAddonInstanceResponseBody) SetLogging(v *GetClusterAddonInstanceResponseBodyLogging) *GetClusterAddonInstanceResponseBody
func (*GetClusterAddonInstanceResponseBody) SetName ¶
func (s *GetClusterAddonInstanceResponseBody) SetName(v string) *GetClusterAddonInstanceResponseBody
func (*GetClusterAddonInstanceResponseBody) SetState ¶
func (s *GetClusterAddonInstanceResponseBody) SetState(v string) *GetClusterAddonInstanceResponseBody
func (*GetClusterAddonInstanceResponseBody) SetVersion ¶
func (s *GetClusterAddonInstanceResponseBody) SetVersion(v string) *GetClusterAddonInstanceResponseBody
func (GetClusterAddonInstanceResponseBody) String ¶
func (s GetClusterAddonInstanceResponseBody) String() string
type GetClusterAddonInstanceResponseBodyLogging ¶
type GetClusterAddonInstanceResponseBodyLogging struct { // Indicates whether Simple Log Service is supported by the component. // // example: // // false Capable *bool `json:"capable,omitempty" xml:"capable,omitempty"` // Indicates whether Simple Log Service is enabled for the component. // // example: // // false Enabled *bool `json:"enabled,omitempty" xml:"enabled,omitempty"` // The Simple Log Service project that is used to collect logs for the component. // // example: // // my-log-project LogProject *string `json:"log_project,omitempty" xml:"log_project,omitempty"` // The Simple Log Service Logstore that is used to collect logs for the component. // // example: // // my-logstore Logstore *string `json:"logstore,omitempty" xml:"logstore,omitempty"` }
func (GetClusterAddonInstanceResponseBodyLogging) GoString ¶
func (s GetClusterAddonInstanceResponseBodyLogging) GoString() string
func (*GetClusterAddonInstanceResponseBodyLogging) SetCapable ¶
func (s *GetClusterAddonInstanceResponseBodyLogging) SetCapable(v bool) *GetClusterAddonInstanceResponseBodyLogging
func (*GetClusterAddonInstanceResponseBodyLogging) SetEnabled ¶
func (s *GetClusterAddonInstanceResponseBodyLogging) SetEnabled(v bool) *GetClusterAddonInstanceResponseBodyLogging
func (*GetClusterAddonInstanceResponseBodyLogging) SetLogProject ¶
func (s *GetClusterAddonInstanceResponseBodyLogging) SetLogProject(v string) *GetClusterAddonInstanceResponseBodyLogging
func (*GetClusterAddonInstanceResponseBodyLogging) SetLogstore ¶
func (s *GetClusterAddonInstanceResponseBodyLogging) SetLogstore(v string) *GetClusterAddonInstanceResponseBodyLogging
func (GetClusterAddonInstanceResponseBodyLogging) String ¶
func (s GetClusterAddonInstanceResponseBodyLogging) String() string
type GetClusterAuditProjectResponse ¶ added in v5.6.0
type GetClusterAuditProjectResponse struct { Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` Body *GetClusterAuditProjectResponseBody `json:"body,omitempty" xml:"body,omitempty"` }
func (GetClusterAuditProjectResponse) GoString ¶ added in v5.6.0
func (s GetClusterAuditProjectResponse) GoString() string
func (*GetClusterAuditProjectResponse) SetBody ¶ added in v5.6.0
func (s *GetClusterAuditProjectResponse) SetBody(v *GetClusterAuditProjectResponseBody) *GetClusterAuditProjectResponse
func (*GetClusterAuditProjectResponse) SetHeaders ¶ added in v5.6.0
func (s *GetClusterAuditProjectResponse) SetHeaders(v map[string]*string) *GetClusterAuditProjectResponse
func (*GetClusterAuditProjectResponse) SetStatusCode ¶ added in v5.6.0
func (s *GetClusterAuditProjectResponse) SetStatusCode(v int32) *GetClusterAuditProjectResponse
func (GetClusterAuditProjectResponse) String ¶ added in v5.6.0
func (s GetClusterAuditProjectResponse) String() string
type GetClusterAuditProjectResponseBody ¶ added in v5.6.0
type GetClusterAuditProjectResponseBody struct { // Indicates whether the cluster auditing feature is enabled for the cluster. // // - `true`: The cluster auditing feature is enabled for the cluster. // // - `false`: The cluster auditing feature is disabled for the cluster. // // example: // // true AuditEnabled *bool `json:"audit_enabled,omitempty" xml:"audit_enabled,omitempty"` // The SLS project in which the audit logs of the API server are stored. // // example: // // k8s-log-cad1230511cbb4db4a488e58518****** SlsProjectName *string `json:"sls_project_name,omitempty" xml:"sls_project_name,omitempty"` }
func (GetClusterAuditProjectResponseBody) GoString ¶ added in v5.6.0
func (s GetClusterAuditProjectResponseBody) GoString() string
func (*GetClusterAuditProjectResponseBody) SetAuditEnabled ¶ added in v5.7.2
func (s *GetClusterAuditProjectResponseBody) SetAuditEnabled(v bool) *GetClusterAuditProjectResponseBody
func (*GetClusterAuditProjectResponseBody) SetSlsProjectName ¶ added in v5.6.0
func (s *GetClusterAuditProjectResponseBody) SetSlsProjectName(v string) *GetClusterAuditProjectResponseBody
func (GetClusterAuditProjectResponseBody) String ¶ added in v5.6.0
func (s GetClusterAuditProjectResponseBody) String() 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 (s *GetClusterCheckResponse) SetBody(v *GetClusterCheckResponseBody) *GetClusterCheckResponse
func (*GetClusterCheckResponse) SetHeaders ¶
func (s *GetClusterCheckResponse) SetHeaders(v map[string]*string) *GetClusterCheckResponse
func (*GetClusterCheckResponse) SetStatusCode ¶
func (s *GetClusterCheckResponse) SetStatusCode(v int32) *GetClusterCheckResponse
func (GetClusterCheckResponse) String ¶
func (s GetClusterCheckResponse) String() string
type GetClusterCheckResponseBody ¶
type GetClusterCheckResponseBody struct { // The ID of the cluster check task. // // example: // // 1697100584236600453-ce0da5a1d627e4e9e9f96cae8ad07****-clustercheck-lboto 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. // // example: // // 2023-10-16T08:31:20.292030178Z CreatedAt *string `json:"created_at,omitempty" xml:"created_at,omitempty"` // The time when the cluster check task was completed. // // example: // // 2023-10-16T08:35:20.292030178Z FinishedAt *string `json:"finished_at,omitempty" xml:"finished_at,omitempty"` // The message that indicates the status of the cluster check task. // // example: // // task succeed Message *string `json:"message,omitempty" xml:"message,omitempty"` // The status of the cluster check. // // example: // // Succeeded Status *string `json:"status,omitempty" xml:"status,omitempty"` // The check method. // // example: // // ClusterUpgrade Type *string `json:"type,omitempty" xml:"type,omitempty"` }
func (GetClusterCheckResponseBody) GoString ¶
func (s GetClusterCheckResponseBody) GoString() string
func (*GetClusterCheckResponseBody) SetCheckId ¶
func (s *GetClusterCheckResponseBody) SetCheckId(v string) *GetClusterCheckResponseBody
func (*GetClusterCheckResponseBody) SetCheckItems ¶
func (s *GetClusterCheckResponseBody) SetCheckItems(v map[string][]map[string]interface{}) *GetClusterCheckResponseBody
func (*GetClusterCheckResponseBody) SetCreatedAt ¶
func (s *GetClusterCheckResponseBody) SetCreatedAt(v string) *GetClusterCheckResponseBody
func (*GetClusterCheckResponseBody) SetFinishedAt ¶
func (s *GetClusterCheckResponseBody) SetFinishedAt(v string) *GetClusterCheckResponseBody
func (*GetClusterCheckResponseBody) SetMessage ¶
func (s *GetClusterCheckResponseBody) SetMessage(v string) *GetClusterCheckResponseBody
func (*GetClusterCheckResponseBody) SetStatus ¶
func (s *GetClusterCheckResponseBody) SetStatus(v string) *GetClusterCheckResponseBody
func (*GetClusterCheckResponseBody) SetType ¶
func (s *GetClusterCheckResponseBody) SetType(v string) *GetClusterCheckResponseBody
func (GetClusterCheckResponseBody) String ¶
func (s GetClusterCheckResponseBody) String() string
type GetClusterDiagnosisCheckItemsRequest ¶ added in v5.8.4
type GetClusterDiagnosisCheckItemsRequest struct { // The query language. // // example: // // zh_CN Language *string `json:"language,omitempty" xml:"language,omitempty"` }
func (GetClusterDiagnosisCheckItemsRequest) GoString ¶ added in v5.8.4
func (s GetClusterDiagnosisCheckItemsRequest) GoString() string
func (*GetClusterDiagnosisCheckItemsRequest) SetLanguage ¶ added in v5.8.4
func (s *GetClusterDiagnosisCheckItemsRequest) SetLanguage(v string) *GetClusterDiagnosisCheckItemsRequest
func (GetClusterDiagnosisCheckItemsRequest) String ¶ added in v5.8.4
func (s GetClusterDiagnosisCheckItemsRequest) String() string
type GetClusterDiagnosisCheckItemsResponse ¶ added in v5.2.0
type GetClusterDiagnosisCheckItemsResponse struct { Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` Body *GetClusterDiagnosisCheckItemsResponseBody `json:"body,omitempty" xml:"body,omitempty"` }
func (GetClusterDiagnosisCheckItemsResponse) GoString ¶ added in v5.2.0
func (s GetClusterDiagnosisCheckItemsResponse) GoString() string
func (*GetClusterDiagnosisCheckItemsResponse) SetHeaders ¶ added in v5.2.0
func (s *GetClusterDiagnosisCheckItemsResponse) SetHeaders(v map[string]*string) *GetClusterDiagnosisCheckItemsResponse
func (*GetClusterDiagnosisCheckItemsResponse) SetStatusCode ¶ added in v5.2.0
func (s *GetClusterDiagnosisCheckItemsResponse) SetStatusCode(v int32) *GetClusterDiagnosisCheckItemsResponse
func (GetClusterDiagnosisCheckItemsResponse) String ¶ added in v5.2.0
func (s GetClusterDiagnosisCheckItemsResponse) String() string
type GetClusterDiagnosisCheckItemsResponseBody ¶ added in v5.2.0
type GetClusterDiagnosisCheckItemsResponseBody struct { // The check item. CheckItems []*GetClusterDiagnosisCheckItemsResponseBodyCheckItems `json:"check_items,omitempty" xml:"check_items,omitempty" type:"Repeated"` // The status code. // // example: // // success Code *string `json:"code,omitempty" xml:"code,omitempty"` // Indicates whether the check is successful. // // example: // // true IsSuccess *bool `json:"is_success,omitempty" xml:"is_success,omitempty"` // The request ID. // // example: // // 1DFFD8C6-259E-582B-8B40-002C17DC**** RequestId *string `json:"request_id,omitempty" xml:"request_id,omitempty"` }
func (GetClusterDiagnosisCheckItemsResponseBody) GoString ¶ added in v5.2.0
func (s GetClusterDiagnosisCheckItemsResponseBody) GoString() string
func (*GetClusterDiagnosisCheckItemsResponseBody) SetCheckItems ¶ added in v5.2.0
func (*GetClusterDiagnosisCheckItemsResponseBody) SetCode ¶ added in v5.2.0
func (s *GetClusterDiagnosisCheckItemsResponseBody) SetCode(v string) *GetClusterDiagnosisCheckItemsResponseBody
func (*GetClusterDiagnosisCheckItemsResponseBody) SetIsSuccess ¶ added in v5.2.0
func (s *GetClusterDiagnosisCheckItemsResponseBody) SetIsSuccess(v bool) *GetClusterDiagnosisCheckItemsResponseBody
func (*GetClusterDiagnosisCheckItemsResponseBody) SetRequestId ¶ added in v5.2.0
func (s *GetClusterDiagnosisCheckItemsResponseBody) SetRequestId(v string) *GetClusterDiagnosisCheckItemsResponseBody
func (GetClusterDiagnosisCheckItemsResponseBody) String ¶ added in v5.2.0
func (s GetClusterDiagnosisCheckItemsResponseBody) String() string
type GetClusterDiagnosisCheckItemsResponseBodyCheckItems ¶ added in v5.2.0
type GetClusterDiagnosisCheckItemsResponseBodyCheckItems struct { // The description. // // example: // // Check whether the node can access host dns service Desc *string `json:"desc,omitempty" xml:"desc,omitempty"` // The display name. // // example: // // HostDNS Display *string `json:"display,omitempty" xml:"display,omitempty"` // The name of the group to which the check item belongs. // // example: // // Node Group *string `json:"group,omitempty" xml:"group,omitempty"` // The severity level of the check result. // // Valid values: // // - normal // // - warning // // - error // // example: // // normal Level *string `json:"level,omitempty" xml:"level,omitempty"` // The check result. // // example: // // success Message *string `json:"message,omitempty" xml:"message,omitempty"` // The name of the check item. // // example: // // HostDNS Name *string `json:"name,omitempty" xml:"name,omitempty"` // The reference value. // // example: // // True Refer *string `json:"refer,omitempty" xml:"refer,omitempty"` // The value of the check item. // // example: // // True Value *string `json:"value,omitempty" xml:"value,omitempty"` }
func (GetClusterDiagnosisCheckItemsResponseBodyCheckItems) GoString ¶ added in v5.2.0
func (s GetClusterDiagnosisCheckItemsResponseBodyCheckItems) GoString() string
func (*GetClusterDiagnosisCheckItemsResponseBodyCheckItems) SetDisplay ¶ added in v5.2.0
func (s *GetClusterDiagnosisCheckItemsResponseBodyCheckItems) SetDisplay(v string) *GetClusterDiagnosisCheckItemsResponseBodyCheckItems
func (*GetClusterDiagnosisCheckItemsResponseBodyCheckItems) SetMessage ¶ added in v5.2.0
func (s *GetClusterDiagnosisCheckItemsResponseBodyCheckItems) SetMessage(v string) *GetClusterDiagnosisCheckItemsResponseBodyCheckItems
func (GetClusterDiagnosisCheckItemsResponseBodyCheckItems) String ¶ added in v5.2.0
func (s GetClusterDiagnosisCheckItemsResponseBodyCheckItems) String() string
type GetClusterDiagnosisResultRequest ¶ added in v5.8.4
type GetClusterDiagnosisResultRequest struct { // The query language. // // example: // // zh_CN Language *string `json:"language,omitempty" xml:"language,omitempty"` }
func (GetClusterDiagnosisResultRequest) GoString ¶ added in v5.8.4
func (s GetClusterDiagnosisResultRequest) GoString() string
func (*GetClusterDiagnosisResultRequest) SetLanguage ¶ added in v5.8.4
func (s *GetClusterDiagnosisResultRequest) SetLanguage(v string) *GetClusterDiagnosisResultRequest
func (GetClusterDiagnosisResultRequest) String ¶ added in v5.8.4
func (s GetClusterDiagnosisResultRequest) String() string
type GetClusterDiagnosisResultResponse ¶ added in v5.2.0
type GetClusterDiagnosisResultResponse struct { Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` Body *GetClusterDiagnosisResultResponseBody `json:"body,omitempty" xml:"body,omitempty"` }
func (GetClusterDiagnosisResultResponse) GoString ¶ added in v5.2.0
func (s GetClusterDiagnosisResultResponse) GoString() string
func (*GetClusterDiagnosisResultResponse) SetHeaders ¶ added in v5.2.0
func (s *GetClusterDiagnosisResultResponse) SetHeaders(v map[string]*string) *GetClusterDiagnosisResultResponse
func (*GetClusterDiagnosisResultResponse) SetStatusCode ¶ added in v5.2.0
func (s *GetClusterDiagnosisResultResponse) SetStatusCode(v int32) *GetClusterDiagnosisResultResponse
func (GetClusterDiagnosisResultResponse) String ¶ added in v5.2.0
func (s GetClusterDiagnosisResultResponse) String() string
type GetClusterDiagnosisResultResponseBody ¶ added in v5.2.0
type GetClusterDiagnosisResultResponseBody struct { // The code that indicates the diagnostic result. Valid values: // // - 0: the diagnostic is completed. // // - 1: the diagnostic failed. // // example: // // 0 Code *int64 `json:"code,omitempty" xml:"code,omitempty"` // The time when the diagnostic is initiated. // // example: // // 2024-05-28T11:29Z Created *string `json:"created,omitempty" xml:"created,omitempty"` // The diagnostic ID. // // example: // // 6cf6b62e334e4583bdfd26707516**** DiagnosisId *string `json:"diagnosis_id,omitempty" xml:"diagnosis_id,omitempty"` // The time when the diagnostic is completed. // // example: // // 2024-05-28T11:29Z Finished *string `json:"finished,omitempty" xml:"finished,omitempty"` // The diagnostic status information. // // example: // // success Message *string `json:"message,omitempty" xml:"message,omitempty"` // The diagnostic result. // // example: // // {"phase":5,"version":"20240101"} Result *string `json:"result,omitempty" xml:"result,omitempty"` // The status of the diagnostic. Valid values: // // - 0: The diagnostic is created. // // - 1: The diagnostic is running. // // - 2: The diagnostic is completed. // // example: // // 2 Status *int64 `json:"status,omitempty" xml:"status,omitempty"` // The diagnostic object. // // example: // // {"name":"cn-hongkong.10.0.0.246"} Target *string `json:"target,omitempty" xml:"target,omitempty"` // The type of the diagnostic. // // Valid values: // // - node // // - ingress // // - cluster // // - memory // // - pod // // - service // // - network // // example: // // Node Type *string `json:"type,omitempty" xml:"type,omitempty"` }
func (GetClusterDiagnosisResultResponseBody) GoString ¶ added in v5.2.0
func (s GetClusterDiagnosisResultResponseBody) GoString() string
func (*GetClusterDiagnosisResultResponseBody) SetCode ¶ added in v5.2.0
func (s *GetClusterDiagnosisResultResponseBody) SetCode(v int64) *GetClusterDiagnosisResultResponseBody
func (*GetClusterDiagnosisResultResponseBody) SetCreated ¶ added in v5.2.0
func (s *GetClusterDiagnosisResultResponseBody) SetCreated(v string) *GetClusterDiagnosisResultResponseBody
func (*GetClusterDiagnosisResultResponseBody) SetDiagnosisId ¶ added in v5.2.0
func (s *GetClusterDiagnosisResultResponseBody) SetDiagnosisId(v string) *GetClusterDiagnosisResultResponseBody
func (*GetClusterDiagnosisResultResponseBody) SetFinished ¶ added in v5.2.0
func (s *GetClusterDiagnosisResultResponseBody) SetFinished(v string) *GetClusterDiagnosisResultResponseBody
func (*GetClusterDiagnosisResultResponseBody) SetMessage ¶ added in v5.2.0
func (s *GetClusterDiagnosisResultResponseBody) SetMessage(v string) *GetClusterDiagnosisResultResponseBody
func (*GetClusterDiagnosisResultResponseBody) SetResult ¶ added in v5.2.0
func (s *GetClusterDiagnosisResultResponseBody) SetResult(v string) *GetClusterDiagnosisResultResponseBody
func (*GetClusterDiagnosisResultResponseBody) SetStatus ¶ added in v5.2.0
func (s *GetClusterDiagnosisResultResponseBody) SetStatus(v int64) *GetClusterDiagnosisResultResponseBody
func (*GetClusterDiagnosisResultResponseBody) SetTarget ¶ added in v5.2.0
func (s *GetClusterDiagnosisResultResponseBody) SetTarget(v string) *GetClusterDiagnosisResultResponseBody
func (*GetClusterDiagnosisResultResponseBody) SetType ¶ added in v5.2.0
func (s *GetClusterDiagnosisResultResponseBody) SetType(v string) *GetClusterDiagnosisResultResponseBody
func (GetClusterDiagnosisResultResponseBody) String ¶ added in v5.2.0
func (s GetClusterDiagnosisResultResponseBody) String() string
type GetKubernetesTriggerRequest ¶
type GetKubernetesTriggerRequest struct { // The application name. // // This parameter is required. // // example: // // web-server Name *string `json:"Name,omitempty" xml:"Name,omitempty"` // The namespace name. // // This parameter is required. // // example: // // default 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. // // example: // // deployment 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. // // example: // // redeploy Action *string `json:"action,omitempty" xml:"action,omitempty"` }
func (GetKubernetesTriggerRequest) GoString ¶
func (s GetKubernetesTriggerRequest) GoString() string
func (*GetKubernetesTriggerRequest) SetAction ¶
func (s *GetKubernetesTriggerRequest) SetAction(v string) *GetKubernetesTriggerRequest
func (*GetKubernetesTriggerRequest) SetName ¶
func (s *GetKubernetesTriggerRequest) SetName(v string) *GetKubernetesTriggerRequest
func (*GetKubernetesTriggerRequest) SetNamespace ¶
func (s *GetKubernetesTriggerRequest) SetNamespace(v string) *GetKubernetesTriggerRequest
func (*GetKubernetesTriggerRequest) SetType ¶
func (s *GetKubernetesTriggerRequest) SetType(v string) *GetKubernetesTriggerRequest
func (GetKubernetesTriggerRequest) String ¶
func (s GetKubernetesTriggerRequest) String() 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 (s *GetKubernetesTriggerResponse) SetBody(v []*GetKubernetesTriggerResponseBody) *GetKubernetesTriggerResponse
func (*GetKubernetesTriggerResponse) SetHeaders ¶
func (s *GetKubernetesTriggerResponse) SetHeaders(v map[string]*string) *GetKubernetesTriggerResponse
func (*GetKubernetesTriggerResponse) SetStatusCode ¶
func (s *GetKubernetesTriggerResponse) SetStatusCode(v int32) *GetKubernetesTriggerResponse
func (GetKubernetesTriggerResponse) String ¶
func (s GetKubernetesTriggerResponse) String() string
type GetKubernetesTriggerResponseBody ¶
type GetKubernetesTriggerResponseBody struct { // The ID of the trigger. // // example: // // 1234 Id *string `json:"id,omitempty" xml:"id,omitempty"` // The name of the trigger. // // example: // // test Name *string `json:"name,omitempty" xml:"name,omitempty"` // The ID of the associated cluster. // // example: // // c259f563386444ebb8d7** 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. // // 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`. // // example: // // 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. // // example: // // redeploy Action *string `json:"action,omitempty" xml:"action,omitempty"` // Token // // example: // // eyJhbGci*** Token *string `json:"token,omitempty" xml:"token,omitempty"` }
func (GetKubernetesTriggerResponseBody) GoString ¶
func (s GetKubernetesTriggerResponseBody) GoString() string
func (*GetKubernetesTriggerResponseBody) SetAction ¶
func (s *GetKubernetesTriggerResponseBody) SetAction(v string) *GetKubernetesTriggerResponseBody
func (*GetKubernetesTriggerResponseBody) SetClusterId ¶
func (s *GetKubernetesTriggerResponseBody) SetClusterId(v string) *GetKubernetesTriggerResponseBody
func (*GetKubernetesTriggerResponseBody) SetId ¶
func (s *GetKubernetesTriggerResponseBody) SetId(v string) *GetKubernetesTriggerResponseBody
func (*GetKubernetesTriggerResponseBody) SetName ¶
func (s *GetKubernetesTriggerResponseBody) SetName(v string) *GetKubernetesTriggerResponseBody
func (*GetKubernetesTriggerResponseBody) SetProjectId ¶
func (s *GetKubernetesTriggerResponseBody) SetProjectId(v string) *GetKubernetesTriggerResponseBody
func (*GetKubernetesTriggerResponseBody) SetToken ¶
func (s *GetKubernetesTriggerResponseBody) SetToken(v string) *GetKubernetesTriggerResponseBody
func (*GetKubernetesTriggerResponseBody) SetType ¶
func (s *GetKubernetesTriggerResponseBody) SetType(v string) *GetKubernetesTriggerResponseBody
func (GetKubernetesTriggerResponseBody) String ¶
func (s GetKubernetesTriggerResponseBody) String() 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 (s *GetUpgradeStatusResponse) SetBody(v *GetUpgradeStatusResponseBody) *GetUpgradeStatusResponse
func (*GetUpgradeStatusResponse) SetHeaders ¶
func (s *GetUpgradeStatusResponse) SetHeaders(v map[string]*string) *GetUpgradeStatusResponse
func (*GetUpgradeStatusResponse) SetStatusCode ¶
func (s *GetUpgradeStatusResponse) SetStatusCode(v int32) *GetUpgradeStatusResponse
func (GetUpgradeStatusResponse) String ¶
func (s GetUpgradeStatusResponse) String() string
type GetUpgradeStatusResponseBody ¶
type GetUpgradeStatusResponseBody struct { // The error message returned during the update. // // example: // // subject to actual return ErrorMessage *string `json:"error_message,omitempty" xml:"error_message,omitempty"` // The ID of the precheck report. // // example: // // be4c8eb72de94d459ea7ace7c811d119 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. // // example: // // running 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. // // example: // // prechecking 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 (s *GetUpgradeStatusResponseBody) SetErrorMessage(v string) *GetUpgradeStatusResponseBody
func (*GetUpgradeStatusResponseBody) SetPrecheckReportId ¶
func (s *GetUpgradeStatusResponseBody) SetPrecheckReportId(v string) *GetUpgradeStatusResponseBody
func (*GetUpgradeStatusResponseBody) SetStatus ¶
func (s *GetUpgradeStatusResponseBody) SetStatus(v string) *GetUpgradeStatusResponseBody
func (*GetUpgradeStatusResponseBody) SetUpgradeStep ¶
func (s *GetUpgradeStatusResponseBody) SetUpgradeStep(v string) *GetUpgradeStatusResponseBody
func (*GetUpgradeStatusResponseBody) SetUpgradeTask ¶
func (s *GetUpgradeStatusResponseBody) SetUpgradeTask(v *GetUpgradeStatusResponseBodyUpgradeTask) *GetUpgradeStatusResponseBody
func (GetUpgradeStatusResponseBody) String ¶
func (s GetUpgradeStatusResponseBody) String() string
type GetUpgradeStatusResponseBodyUpgradeTask ¶
type GetUpgradeStatusResponseBodyUpgradeTask struct { // The description of the update task. // // example: // // subject to actual return 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. // // example: // // running Status *string `json:"status,omitempty" xml:"status,omitempty"` }
func (GetUpgradeStatusResponseBodyUpgradeTask) GoString ¶
func (s GetUpgradeStatusResponseBodyUpgradeTask) GoString() string
func (*GetUpgradeStatusResponseBodyUpgradeTask) SetMessage ¶
func (s *GetUpgradeStatusResponseBodyUpgradeTask) SetMessage(v string) *GetUpgradeStatusResponseBodyUpgradeTask
func (*GetUpgradeStatusResponseBodyUpgradeTask) SetStatus ¶
func (s *GetUpgradeStatusResponseBodyUpgradeTask) SetStatus(v string) *GetUpgradeStatusResponseBodyUpgradeTask
func (GetUpgradeStatusResponseBodyUpgradeTask) String ¶
func (s GetUpgradeStatusResponseBodyUpgradeTask) String() 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 (s *GrantPermissionsRequest) SetBody(v []*GrantPermissionsRequestBody) *GrantPermissionsRequest
func (GrantPermissionsRequest) String ¶
func (s GrantPermissionsRequest) String() string
type GrantPermissionsRequestBody ¶
type GrantPermissionsRequestBody struct { // The ID of the cluster on which you want to grant permissions to the RAM role or RAM role. // // - Set this parameter to an empty string if `role_type` is set to `all-clusters`. // // This parameter is required. // // example: // // c796c60*** Cluster *string `json:"cluster,omitempty" xml:"cluster,omitempty"` // Specifies whether to assign a custom role to the RAM user or RAM role. If you want to assign a custom role to the RAM user or RAM role, set `role_name` to the name of the custom role. // // example: // // false IsCustom *bool `json:"is_custom,omitempty" xml:"is_custom,omitempty"` // Specifies whether to use a RAM role to grant permissions. // // example: // // false IsRamRole *bool `json:"is_ram_role,omitempty" xml:"is_ram_role,omitempty"` // The namespace that you want to authorize the RAM user or RAM role to manage. This parameter is required only if you set role_type to namespace. // // example: // // test Namespace *string `json:"namespace,omitempty" xml:"namespace,omitempty"` // The predefined role name. Valid values: // // - `admin`: administrator // // - `admin-view`: read-only administrator // // - `ops`: O\\&M engineer // // - `dev`: developer // // - `restricted`: restricted user // // - Custom role // // Note: // // - You cannot grant namespace-level permissions to the `admin`, `admin-view`, and `ops` roles. // // - You cannot grant all cluster-level permissions to the `admin-view` role. // // This parameter is required. // // example: // // ops RoleName *string `json:"role_name,omitempty" xml:"role_name,omitempty"` // The authorization type. Valid values: // // - `cluster`: authorizes the RAM user or RAM role to manage the specified clusters. // // - `namespace`: authorizes the RAM user or RAM role to manage the specified namespaces. // // - `all-clusters`: authorizes the RAM user or RAM role to manage all clusters. // // This parameter is required. // // example: // // cluster RoleType *string `json:"role_type,omitempty" xml:"role_type,omitempty"` }
func (GrantPermissionsRequestBody) GoString ¶
func (s GrantPermissionsRequestBody) GoString() string
func (*GrantPermissionsRequestBody) SetCluster ¶
func (s *GrantPermissionsRequestBody) SetCluster(v string) *GrantPermissionsRequestBody
func (*GrantPermissionsRequestBody) SetIsCustom ¶
func (s *GrantPermissionsRequestBody) SetIsCustom(v bool) *GrantPermissionsRequestBody
func (*GrantPermissionsRequestBody) SetIsRamRole ¶
func (s *GrantPermissionsRequestBody) SetIsRamRole(v bool) *GrantPermissionsRequestBody
func (*GrantPermissionsRequestBody) SetNamespace ¶
func (s *GrantPermissionsRequestBody) SetNamespace(v string) *GrantPermissionsRequestBody
func (*GrantPermissionsRequestBody) SetRoleName ¶
func (s *GrantPermissionsRequestBody) SetRoleName(v string) *GrantPermissionsRequestBody
func (*GrantPermissionsRequestBody) SetRoleType ¶
func (s *GrantPermissionsRequestBody) SetRoleType(v string) *GrantPermissionsRequestBody
func (GrantPermissionsRequestBody) String ¶
func (s GrantPermissionsRequestBody) String() 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 (s *GrantPermissionsResponse) SetHeaders(v map[string]*string) *GrantPermissionsResponse
func (*GrantPermissionsResponse) SetStatusCode ¶
func (s *GrantPermissionsResponse) SetStatusCode(v int32) *GrantPermissionsResponse
func (GrantPermissionsResponse) String ¶
func (s GrantPermissionsResponse) String() string
type InstallClusterAddonsRequest ¶
type InstallClusterAddonsRequest struct { // The request body. // // example: // // ags-metrics-collector Body []*InstallClusterAddonsRequestBody `json:"body,omitempty" xml:"body,omitempty" type:"Repeated"` }
func (InstallClusterAddonsRequest) GoString ¶
func (s InstallClusterAddonsRequest) GoString() string
func (*InstallClusterAddonsRequest) SetBody ¶
func (s *InstallClusterAddonsRequest) SetBody(v []*InstallClusterAddonsRequestBody) *InstallClusterAddonsRequest
func (InstallClusterAddonsRequest) String ¶
func (s InstallClusterAddonsRequest) String() string
type InstallClusterAddonsRequestBody ¶
type InstallClusterAddonsRequestBody struct { // The custom component settings that you want to use. The value is a JSON string. // // example: // // {\\"IngressDashboardEnabled\\":\\"true\\",\\"sls_project_name\\":\\"your_sls_project_name\\"}"} Config *string `json:"config,omitempty" xml:"config,omitempty"` // The component name. // // This parameter is required. // // example: // // ags-metrics-collector Name *string `json:"name,omitempty" xml:"name,omitempty"` // The component version. // // > You can call the [DescribeClusterAddonsVersion](https://help.aliyun.com/document_detail/197434.html) operation to query the version of a component. // // This parameter is required. // // example: // // v1.0.0.2-cc3b2d6-aliyun Version *string `json:"version,omitempty" xml:"version,omitempty"` }
func (InstallClusterAddonsRequestBody) GoString ¶
func (s InstallClusterAddonsRequestBody) GoString() string
func (*InstallClusterAddonsRequestBody) SetConfig ¶
func (s *InstallClusterAddonsRequestBody) SetConfig(v string) *InstallClusterAddonsRequestBody
func (*InstallClusterAddonsRequestBody) SetName ¶
func (s *InstallClusterAddonsRequestBody) SetName(v string) *InstallClusterAddonsRequestBody
func (*InstallClusterAddonsRequestBody) SetVersion ¶
func (s *InstallClusterAddonsRequestBody) SetVersion(v string) *InstallClusterAddonsRequestBody
func (InstallClusterAddonsRequestBody) String ¶
func (s InstallClusterAddonsRequestBody) String() string
type InstallClusterAddonsResponse ¶
type InstallClusterAddonsResponse struct { Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` Body *InstallClusterAddonsResponseBody `json:"body,omitempty" xml:"body,omitempty"` }
func (InstallClusterAddonsResponse) GoString ¶
func (s InstallClusterAddonsResponse) GoString() string
func (*InstallClusterAddonsResponse) SetBody ¶ added in v5.8.3
func (s *InstallClusterAddonsResponse) SetBody(v *InstallClusterAddonsResponseBody) *InstallClusterAddonsResponse
func (*InstallClusterAddonsResponse) SetHeaders ¶
func (s *InstallClusterAddonsResponse) SetHeaders(v map[string]*string) *InstallClusterAddonsResponse
func (*InstallClusterAddonsResponse) SetStatusCode ¶
func (s *InstallClusterAddonsResponse) SetStatusCode(v int32) *InstallClusterAddonsResponse
func (InstallClusterAddonsResponse) String ¶
func (s InstallClusterAddonsResponse) String() string
type InstallClusterAddonsResponseBody ¶ added in v5.8.3
type InstallClusterAddonsResponseBody struct { // The cluster ID. // // example: // // c82e6987e2961451182edacd74faf**** ClusterId *string `json:"cluster_id,omitempty" xml:"cluster_id,omitempty"` // The request ID. // // example: // // 48BD70F6-A7E6-543D-9F23-08DEB764C92E RequestId *string `json:"request_id,omitempty" xml:"request_id,omitempty"` // The task ID. // // example: // // T-5a54309c80282e39ea00002f TaskId *string `json:"task_id,omitempty" xml:"task_id,omitempty"` }
func (InstallClusterAddonsResponseBody) GoString ¶ added in v5.8.3
func (s InstallClusterAddonsResponseBody) GoString() string
func (*InstallClusterAddonsResponseBody) SetClusterId ¶ added in v5.8.3
func (s *InstallClusterAddonsResponseBody) SetClusterId(v string) *InstallClusterAddonsResponseBody
func (*InstallClusterAddonsResponseBody) SetRequestId ¶ added in v5.8.3
func (s *InstallClusterAddonsResponseBody) SetRequestId(v string) *InstallClusterAddonsResponseBody
func (*InstallClusterAddonsResponseBody) SetTaskId ¶ added in v5.8.3
func (s *InstallClusterAddonsResponseBody) SetTaskId(v string) *InstallClusterAddonsResponseBody
func (InstallClusterAddonsResponseBody) String ¶ added in v5.8.3
func (s InstallClusterAddonsResponseBody) String() string
type InstancePatterns ¶ added in v5.2.1
type InstancePatterns struct { // Deprecated Architectures []*string `json:"architectures,omitempty" xml:"architectures,omitempty" type:"Repeated"` // Deprecated // // example: // // Exclude BurstPerformanceOption *string `json:"burst_performance_option,omitempty" xml:"burst_performance_option,omitempty"` // Deprecated // // example: // // 4 Core *int64 `json:"core,omitempty" xml:"core,omitempty"` // example: // // 4 Cores *int64 `json:"cores,omitempty" xml:"cores,omitempty"` CpuArchitectures []*string `json:"cpu_architectures,omitempty" xml:"cpu_architectures,omitempty" type:"Repeated"` ExcludedInstanceTypes []*string `json:"excluded_instance_types,omitempty" xml:"excluded_instance_types,omitempty" type:"Repeated"` InstanceCategories []*string `json:"instance_categories,omitempty" xml:"instance_categories,omitempty" type:"Repeated"` // example: // // EnterpriseLevel InstanceFamilyLevel *string `json:"instance_family_level,omitempty" xml:"instance_family_level,omitempty"` InstanceTypeFamilies []*string `json:"instance_type_families,omitempty" xml:"instance_type_families,omitempty" type:"Repeated"` // example: // // 8 MaxCpuCores *int64 `json:"max_cpu_cores,omitempty" xml:"max_cpu_cores,omitempty"` // example: // // 16 MaxMemorySize *float32 `json:"max_memory_size,omitempty" xml:"max_memory_size,omitempty"` // Deprecated // // example: // // 2 MaxPrice *float32 `json:"max_price,omitempty" xml:"max_price,omitempty"` MaximumGpuAmount *int64 `json:"maximum_gpu_amount,omitempty" xml:"maximum_gpu_amount,omitempty"` // example: // // 8 Memory *float32 `json:"memory,omitempty" xml:"memory,omitempty"` // example: // // 4 MinCpuCores *int64 `json:"min_cpu_cores,omitempty" xml:"min_cpu_cores,omitempty"` // example: // // 8 MinMemorySize *float32 `json:"min_memory_size,omitempty" xml:"min_memory_size,omitempty"` MinimumEniIpv6AddressQuantity *int64 `json:"minimum_eni_ipv6_address_quantity,omitempty" xml:"minimum_eni_ipv6_address_quantity,omitempty"` MinimumEniPrivateIpAddressQuantity *int64 `json:"minimum_eni_private_ip_address_quantity,omitempty" xml:"minimum_eni_private_ip_address_quantity,omitempty"` MinimumEniQuantity *int64 `json:"minimum_eni_quantity,omitempty" xml:"minimum_eni_quantity,omitempty"` }
func (InstancePatterns) GoString ¶ added in v5.2.1
func (s InstancePatterns) GoString() string
func (*InstancePatterns) SetArchitectures ¶ added in v5.2.1
func (s *InstancePatterns) SetArchitectures(v []*string) *InstancePatterns
func (*InstancePatterns) SetBurstPerformanceOption ¶ added in v5.2.1
func (s *InstancePatterns) SetBurstPerformanceOption(v string) *InstancePatterns
func (*InstancePatterns) SetCore ¶ added in v5.2.1
func (s *InstancePatterns) SetCore(v int64) *InstancePatterns
func (*InstancePatterns) SetCores ¶ added in v5.8.8
func (s *InstancePatterns) SetCores(v int64) *InstancePatterns
func (*InstancePatterns) SetCpuArchitectures ¶ added in v5.8.8
func (s *InstancePatterns) SetCpuArchitectures(v []*string) *InstancePatterns
func (*InstancePatterns) SetExcludedInstanceTypes ¶ added in v5.2.1
func (s *InstancePatterns) SetExcludedInstanceTypes(v []*string) *InstancePatterns
func (*InstancePatterns) SetInstanceCategories ¶ added in v5.8.8
func (s *InstancePatterns) SetInstanceCategories(v []*string) *InstancePatterns
func (*InstancePatterns) SetInstanceFamilyLevel ¶ added in v5.2.1
func (s *InstancePatterns) SetInstanceFamilyLevel(v string) *InstancePatterns
func (*InstancePatterns) SetInstanceTypeFamilies ¶ added in v5.8.9
func (s *InstancePatterns) SetInstanceTypeFamilies(v []*string) *InstancePatterns
func (*InstancePatterns) SetMaxCpuCores ¶ added in v5.8.8
func (s *InstancePatterns) SetMaxCpuCores(v int64) *InstancePatterns
func (*InstancePatterns) SetMaxMemorySize ¶ added in v5.8.8
func (s *InstancePatterns) SetMaxMemorySize(v float32) *InstancePatterns
func (*InstancePatterns) SetMaxPrice ¶ added in v5.2.1
func (s *InstancePatterns) SetMaxPrice(v float32) *InstancePatterns
func (*InstancePatterns) SetMaximumGpuAmount ¶ added in v5.8.9
func (s *InstancePatterns) SetMaximumGpuAmount(v int64) *InstancePatterns
func (*InstancePatterns) SetMemory ¶ added in v5.2.1
func (s *InstancePatterns) SetMemory(v float32) *InstancePatterns
func (*InstancePatterns) SetMinCpuCores ¶ added in v5.8.8
func (s *InstancePatterns) SetMinCpuCores(v int64) *InstancePatterns
func (*InstancePatterns) SetMinMemorySize ¶ added in v5.8.8
func (s *InstancePatterns) SetMinMemorySize(v float32) *InstancePatterns
func (*InstancePatterns) SetMinimumEniIpv6AddressQuantity ¶ added in v5.8.9
func (s *InstancePatterns) SetMinimumEniIpv6AddressQuantity(v int64) *InstancePatterns
func (*InstancePatterns) SetMinimumEniPrivateIpAddressQuantity ¶ added in v5.8.9
func (s *InstancePatterns) SetMinimumEniPrivateIpAddressQuantity(v int64) *InstancePatterns
func (*InstancePatterns) SetMinimumEniQuantity ¶ added in v5.8.9
func (s *InstancePatterns) SetMinimumEniQuantity(v int64) *InstancePatterns
func (InstancePatterns) String ¶ added in v5.2.1
func (s InstancePatterns) String() string
type KubeletConfig ¶
type KubeletConfig struct { AllowedUnsafeSysctls []*string `json:"allowedUnsafeSysctls,omitempty" xml:"allowedUnsafeSysctls,omitempty" type:"Repeated"` ClusterDNS []*string `json:"clusterDNS,omitempty" xml:"clusterDNS,omitempty" type:"Repeated"` // example: // // 5 ContainerLogMaxFiles *int64 `json:"containerLogMaxFiles,omitempty" xml:"containerLogMaxFiles,omitempty"` // example: // // 10Mi ContainerLogMaxSize *string `json:"containerLogMaxSize,omitempty" xml:"containerLogMaxSize,omitempty"` // example: // // 1 ContainerLogMaxWorkers *int32 `json:"containerLogMaxWorkers,omitempty" xml:"containerLogMaxWorkers,omitempty"` // example: // // 10s ContainerLogMonitorInterval *string `json:"containerLogMonitorInterval,omitempty" xml:"containerLogMonitorInterval,omitempty"` // example: // // true CpuCFSQuota *bool `json:"cpuCFSQuota,omitempty" xml:"cpuCFSQuota,omitempty"` // example: // // 100ms CpuCFSQuotaPeriod *string `json:"cpuCFSQuotaPeriod,omitempty" xml:"cpuCFSQuotaPeriod,omitempty"` // example: // // none CpuManagerPolicy *string `json:"cpuManagerPolicy,omitempty" xml:"cpuManagerPolicy,omitempty"` // example: // // 10 EventBurst *int64 `json:"eventBurst,omitempty" xml:"eventBurst,omitempty"` // example: // // 5 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"` // example: // // 85 ImageGCHighThresholdPercent *int32 `json:"imageGCHighThresholdPercent,omitempty" xml:"imageGCHighThresholdPercent,omitempty"` // example: // // 80 ImageGCLowThresholdPercent *int32 `json:"imageGCLowThresholdPercent,omitempty" xml:"imageGCLowThresholdPercent,omitempty"` // example: // // 10 KubeAPIBurst *int64 `json:"kubeAPIBurst,omitempty" xml:"kubeAPIBurst,omitempty"` // example: // // 5 KubeAPIQPS *int64 `json:"kubeAPIQPS,omitempty" xml:"kubeAPIQPS,omitempty"` KubeReserved map[string]interface{} `json:"kubeReserved,omitempty" xml:"kubeReserved,omitempty"` // example: // // 110 MaxPods *int64 `json:"maxPods,omitempty" xml:"maxPods,omitempty"` // example: // // none MemoryManagerPolicy *string `json:"memoryManagerPolicy,omitempty" xml:"memoryManagerPolicy,omitempty"` // example: // // -1 PodPidsLimit *int64 `json:"podPidsLimit,omitempty" xml:"podPidsLimit,omitempty"` // example: // // 0 ReadOnlyPort *int64 `json:"readOnlyPort,omitempty" xml:"readOnlyPort,omitempty"` // example: // // 10 RegistryBurst *int64 `json:"registryBurst,omitempty" xml:"registryBurst,omitempty"` // example: // // 5 RegistryPullQPS *int64 `json:"registryPullQPS,omitempty" xml:"registryPullQPS,omitempty"` ReservedMemory []*KubeletConfigReservedMemory `json:"reservedMemory,omitempty" xml:"reservedMemory,omitempty" type:"Repeated"` // example: // // true SerializeImagePulls *bool `json:"serializeImagePulls,omitempty" xml:"serializeImagePulls,omitempty"` SystemReserved map[string]interface{} `json:"systemReserved,omitempty" xml:"systemReserved,omitempty"` // example: // // restricted TopologyManagerPolicy *string `json:"topologyManagerPolicy,omitempty" xml:"topologyManagerPolicy,omitempty"` Tracing *KubeletConfigTracing `json:"tracing,omitempty" xml:"tracing,omitempty" type:"Struct"` }
func (KubeletConfig) GoString ¶
func (s KubeletConfig) GoString() string
func (*KubeletConfig) SetAllowedUnsafeSysctls ¶
func (s *KubeletConfig) SetAllowedUnsafeSysctls(v []*string) *KubeletConfig
func (*KubeletConfig) SetClusterDNS ¶ added in v5.8.2
func (s *KubeletConfig) SetClusterDNS(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) SetContainerLogMaxWorkers ¶ added in v5.8.8
func (s *KubeletConfig) SetContainerLogMaxWorkers(v int32) *KubeletConfig
func (*KubeletConfig) SetContainerLogMonitorInterval ¶ added in v5.8.8
func (s *KubeletConfig) SetContainerLogMonitorInterval(v string) *KubeletConfig
func (*KubeletConfig) SetCpuCFSQuota ¶ added in v5.8.2
func (s *KubeletConfig) SetCpuCFSQuota(v bool) *KubeletConfig
func (*KubeletConfig) SetCpuCFSQuotaPeriod ¶ added in v5.8.2
func (s *KubeletConfig) SetCpuCFSQuotaPeriod(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) SetImageGCHighThresholdPercent ¶ added in v5.8.2
func (s *KubeletConfig) SetImageGCHighThresholdPercent(v int32) *KubeletConfig
func (*KubeletConfig) SetImageGCLowThresholdPercent ¶ added in v5.8.2
func (s *KubeletConfig) SetImageGCLowThresholdPercent(v int32) *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) SetMemoryManagerPolicy ¶ added in v5.8.2
func (s *KubeletConfig) SetMemoryManagerPolicy(v string) *KubeletConfig
func (*KubeletConfig) SetPodPidsLimit ¶ added in v5.8.2
func (s *KubeletConfig) SetPodPidsLimit(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) SetReservedMemory ¶ added in v5.8.2
func (s *KubeletConfig) SetReservedMemory(v []*KubeletConfigReservedMemory) *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) SetTopologyManagerPolicy ¶ added in v5.8.2
func (s *KubeletConfig) SetTopologyManagerPolicy(v string) *KubeletConfig
func (*KubeletConfig) SetTracing ¶ added in v5.8.2
func (s *KubeletConfig) SetTracing(v *KubeletConfigTracing) *KubeletConfig
func (KubeletConfig) String ¶
func (s KubeletConfig) String() string
type KubeletConfigReservedMemory ¶ added in v5.8.2
type KubeletConfigReservedMemory struct { Limits map[string]interface{} `json:"limits,omitempty" xml:"limits,omitempty"` NumaNode *int32 `json:"numaNode,omitempty" xml:"numaNode,omitempty"` }
func (KubeletConfigReservedMemory) GoString ¶ added in v5.8.2
func (s KubeletConfigReservedMemory) GoString() string
func (*KubeletConfigReservedMemory) SetLimits ¶ added in v5.8.2
func (s *KubeletConfigReservedMemory) SetLimits(v map[string]interface{}) *KubeletConfigReservedMemory
func (*KubeletConfigReservedMemory) SetNumaNode ¶ added in v5.8.2
func (s *KubeletConfigReservedMemory) SetNumaNode(v int32) *KubeletConfigReservedMemory
func (KubeletConfigReservedMemory) String ¶ added in v5.8.2
func (s KubeletConfigReservedMemory) String() string
type KubeletConfigTracing ¶ added in v5.8.2
type KubeletConfigTracing struct { // example: // // localhost:4317 Endpoint *string `json:"endpoint,omitempty" xml:"endpoint,omitempty"` SamplingRatePerMillion *int32 `json:"samplingRatePerMillion,omitempty" xml:"samplingRatePerMillion,omitempty"` }
func (KubeletConfigTracing) GoString ¶ added in v5.8.2
func (s KubeletConfigTracing) GoString() string
func (*KubeletConfigTracing) SetEndpoint ¶ added in v5.8.2
func (s *KubeletConfigTracing) SetEndpoint(v string) *KubeletConfigTracing
func (*KubeletConfigTracing) SetSamplingRatePerMillion ¶ added in v5.8.2
func (s *KubeletConfigTracing) SetSamplingRatePerMillion(v int32) *KubeletConfigTracing
func (KubeletConfigTracing) String ¶ added in v5.8.2
func (s KubeletConfigTracing) 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. // // example: // // c02b3e03be10643e8a644a843ffcb**** 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. // // example: // // ack.pro.small 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. // // example: // // ManagedKubernetes 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. // // example: // // 1.26.3-aliyun.1 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. // // example: // // Default 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. // // example: // // cn-hangzhou 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 (s *ListAddonsResponse) SetBody(v *ListAddonsResponseBody) *ListAddonsResponse
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 (s *ListAddonsResponseBody) SetAddons(v []*ListAddonsResponseBodyAddons) *ListAddonsResponseBody
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. // // example: // // monitor Category *string `json:"category,omitempty" xml:"category,omitempty"` // The schema of the custom parameters of the component. // // example: // // {} ConfigSchema *string `json:"config_schema,omitempty" xml:"config_schema,omitempty"` // Indicates whether the component is automatically installed by default. // // example: // // false InstallByDefault *bool `json:"install_by_default,omitempty" xml:"install_by_default,omitempty"` // Indicates whether the component is fully managed. // // example: // // false Managed *bool `json:"managed,omitempty" xml:"managed,omitempty"` // The component name. // // example: // // arms-prometheus 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. // // example: // // 1.1.9 Version *string `json:"version,omitempty" xml:"version,omitempty"` }
func (ListAddonsResponseBodyAddons) GoString ¶
func (s ListAddonsResponseBodyAddons) GoString() string
func (*ListAddonsResponseBodyAddons) SetArchitecture ¶
func (s *ListAddonsResponseBodyAddons) SetArchitecture(v []*string) *ListAddonsResponseBodyAddons
func (*ListAddonsResponseBodyAddons) SetCategory ¶
func (s *ListAddonsResponseBodyAddons) SetCategory(v string) *ListAddonsResponseBodyAddons
func (*ListAddonsResponseBodyAddons) SetConfigSchema ¶
func (s *ListAddonsResponseBodyAddons) SetConfigSchema(v string) *ListAddonsResponseBodyAddons
func (*ListAddonsResponseBodyAddons) SetInstallByDefault ¶
func (s *ListAddonsResponseBodyAddons) SetInstallByDefault(v bool) *ListAddonsResponseBodyAddons
func (*ListAddonsResponseBodyAddons) SetManaged ¶
func (s *ListAddonsResponseBodyAddons) SetManaged(v bool) *ListAddonsResponseBodyAddons
func (*ListAddonsResponseBodyAddons) SetName ¶
func (s *ListAddonsResponseBodyAddons) SetName(v string) *ListAddonsResponseBodyAddons
func (*ListAddonsResponseBodyAddons) SetSupportedActions ¶
func (s *ListAddonsResponseBodyAddons) SetSupportedActions(v []*string) *ListAddonsResponseBodyAddons
func (*ListAddonsResponseBodyAddons) SetVersion ¶
func (s *ListAddonsResponseBodyAddons) SetVersion(v string) *ListAddonsResponseBodyAddons
func (ListAddonsResponseBodyAddons) String ¶
func (s ListAddonsResponseBodyAddons) String() 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 (s ListClusterAddonInstancesResponse) GoString() string
func (*ListClusterAddonInstancesResponse) SetHeaders ¶
func (s *ListClusterAddonInstancesResponse) SetHeaders(v map[string]*string) *ListClusterAddonInstancesResponse
func (*ListClusterAddonInstancesResponse) SetStatusCode ¶
func (s *ListClusterAddonInstancesResponse) SetStatusCode(v int32) *ListClusterAddonInstancesResponse
func (ListClusterAddonInstancesResponse) String ¶
func (s ListClusterAddonInstancesResponse) String() 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 (s ListClusterAddonInstancesResponseBody) GoString() string
func (ListClusterAddonInstancesResponseBody) String ¶
func (s ListClusterAddonInstancesResponseBody) String() string
type ListClusterAddonInstancesResponseBodyAddons ¶
type ListClusterAddonInstancesResponseBodyAddons struct { // The component name. // // example: // // coredns 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. // // example: // // active State *string `json:"state,omitempty" xml:"state,omitempty"` // The version of the component. // // example: // // v1.9.3.10-7dfca203-aliyun Version *string `json:"version,omitempty" xml:"version,omitempty"` }
func (ListClusterAddonInstancesResponseBodyAddons) GoString ¶
func (s ListClusterAddonInstancesResponseBodyAddons) GoString() string
func (*ListClusterAddonInstancesResponseBodyAddons) SetName ¶
func (s *ListClusterAddonInstancesResponseBodyAddons) SetName(v string) *ListClusterAddonInstancesResponseBodyAddons
func (*ListClusterAddonInstancesResponseBodyAddons) SetState ¶
func (s *ListClusterAddonInstancesResponseBodyAddons) SetState(v string) *ListClusterAddonInstancesResponseBodyAddons
func (*ListClusterAddonInstancesResponseBodyAddons) SetVersion ¶
func (s *ListClusterAddonInstancesResponseBodyAddons) SetVersion(v string) *ListClusterAddonInstancesResponseBodyAddons
func (ListClusterAddonInstancesResponseBodyAddons) String ¶
func (s ListClusterAddonInstancesResponseBodyAddons) String() string
type ListClusterChecksRequest ¶
type ListClusterChecksRequest struct { // The targets to check. // // example: // // ngw-bp19ay6nnvd4cexxxx Target *string `json:"target,omitempty" xml:"target,omitempty"` // The check method. // // example: // // ClusterUpgrade Type *string `json:"type,omitempty" xml:"type,omitempty"` }
func (ListClusterChecksRequest) GoString ¶
func (s ListClusterChecksRequest) GoString() string
func (*ListClusterChecksRequest) SetTarget ¶
func (s *ListClusterChecksRequest) SetTarget(v string) *ListClusterChecksRequest
func (*ListClusterChecksRequest) SetType ¶
func (s *ListClusterChecksRequest) SetType(v string) *ListClusterChecksRequest
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 (s *ListClusterChecksResponse) SetBody(v *ListClusterChecksResponseBody) *ListClusterChecksResponse
func (*ListClusterChecksResponse) SetHeaders ¶
func (s *ListClusterChecksResponse) SetHeaders(v map[string]*string) *ListClusterChecksResponse
func (*ListClusterChecksResponse) SetStatusCode ¶
func (s *ListClusterChecksResponse) SetStatusCode(v int32) *ListClusterChecksResponse
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 (s ListClusterChecksResponseBody) GoString() string
func (*ListClusterChecksResponseBody) SetChecks ¶
func (s *ListClusterChecksResponseBody) SetChecks(v []*ListClusterChecksResponseBodyChecks) *ListClusterChecksResponseBody
func (ListClusterChecksResponseBody) String ¶
func (s ListClusterChecksResponseBody) String() string
type ListClusterChecksResponseBodyChecks ¶
type ListClusterChecksResponseBodyChecks struct { // The ID of the cluster check task. // // example: // // 1697100584236600453-ce0da5a1d627e4e9e9f96cae8ad07****-clustercheck-lboto CheckId *string `json:"check_id,omitempty" xml:"check_id,omitempty"` // The time when the cluster check task was created. // // example: // // 2023-10-16T08:31:20.292030178Z CreatedAt *string `json:"created_at,omitempty" xml:"created_at,omitempty"` // The time when the cluster check task was completed. // // example: // // 2023-10-16T08:35:20.292030178Z FinishedAt *string `json:"finished_at,omitempty" xml:"finished_at,omitempty"` // The message that indicates the status of the cluster check task. // // example: // // task succeed Message *string `json:"message,omitempty" xml:"message,omitempty"` // The status of the cluster check. // // example: // // Succeeded Status *string `json:"status,omitempty" xml:"status,omitempty"` // The check method. // // example: // // ClusterUpgrade Type *string `json:"type,omitempty" xml:"type,omitempty"` }
func (ListClusterChecksResponseBodyChecks) GoString ¶
func (s ListClusterChecksResponseBodyChecks) GoString() string
func (*ListClusterChecksResponseBodyChecks) SetCheckId ¶
func (s *ListClusterChecksResponseBodyChecks) SetCheckId(v string) *ListClusterChecksResponseBodyChecks
func (*ListClusterChecksResponseBodyChecks) SetCreatedAt ¶
func (s *ListClusterChecksResponseBodyChecks) SetCreatedAt(v string) *ListClusterChecksResponseBodyChecks
func (*ListClusterChecksResponseBodyChecks) SetFinishedAt ¶
func (s *ListClusterChecksResponseBodyChecks) SetFinishedAt(v string) *ListClusterChecksResponseBodyChecks
func (*ListClusterChecksResponseBodyChecks) SetMessage ¶
func (s *ListClusterChecksResponseBodyChecks) SetMessage(v string) *ListClusterChecksResponseBodyChecks
func (*ListClusterChecksResponseBodyChecks) SetStatus ¶
func (s *ListClusterChecksResponseBodyChecks) SetStatus(v string) *ListClusterChecksResponseBodyChecks
func (*ListClusterChecksResponseBodyChecks) SetType ¶
func (s *ListClusterChecksResponseBodyChecks) SetType(v string) *ListClusterChecksResponseBodyChecks
func (ListClusterChecksResponseBodyChecks) String ¶
func (s ListClusterChecksResponseBodyChecks) String() string
type ListClusterKubeconfigStatesRequest ¶ added in v5.5.0
type ListClusterKubeconfigStatesRequest struct { // The page number. // // - Valid values: ≥ 1. // // - Default value: 1. // // example: // // 1 PageNumber *int32 `json:"pageNumber,omitempty" xml:"pageNumber,omitempty"` // The number of entries per page. // // - Valid values: 10 to 50. // // - Default value: 10 // // example: // // 10 PageSize *int32 `json:"pageSize,omitempty" xml:"pageSize,omitempty"` }
func (ListClusterKubeconfigStatesRequest) GoString ¶ added in v5.5.0
func (s ListClusterKubeconfigStatesRequest) GoString() string
func (*ListClusterKubeconfigStatesRequest) SetPageNumber ¶ added in v5.5.0
func (s *ListClusterKubeconfigStatesRequest) SetPageNumber(v int32) *ListClusterKubeconfigStatesRequest
func (*ListClusterKubeconfigStatesRequest) SetPageSize ¶ added in v5.5.0
func (s *ListClusterKubeconfigStatesRequest) SetPageSize(v int32) *ListClusterKubeconfigStatesRequest
func (ListClusterKubeconfigStatesRequest) String ¶ added in v5.5.0
func (s ListClusterKubeconfigStatesRequest) String() string
type ListClusterKubeconfigStatesResponse ¶ added in v5.5.0
type ListClusterKubeconfigStatesResponse struct { Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` Body *ListClusterKubeconfigStatesResponseBody `json:"body,omitempty" xml:"body,omitempty"` }
func (ListClusterKubeconfigStatesResponse) GoString ¶ added in v5.5.0
func (s ListClusterKubeconfigStatesResponse) GoString() string
func (*ListClusterKubeconfigStatesResponse) SetHeaders ¶ added in v5.5.0
func (s *ListClusterKubeconfigStatesResponse) SetHeaders(v map[string]*string) *ListClusterKubeconfigStatesResponse
func (*ListClusterKubeconfigStatesResponse) SetStatusCode ¶ added in v5.5.0
func (s *ListClusterKubeconfigStatesResponse) SetStatusCode(v int32) *ListClusterKubeconfigStatesResponse
func (ListClusterKubeconfigStatesResponse) String ¶ added in v5.5.0
func (s ListClusterKubeconfigStatesResponse) String() string
type ListClusterKubeconfigStatesResponseBody ¶ added in v5.5.0
type ListClusterKubeconfigStatesResponseBody struct { // The pagination information. Page *ListClusterKubeconfigStatesResponseBodyPage `json:"page,omitempty" xml:"page,omitempty" type:"Struct"` // The status list of the kubeconfig files associated with the cluster. States []*ListClusterKubeconfigStatesResponseBodyStates `json:"states,omitempty" xml:"states,omitempty" type:"Repeated"` }
func (ListClusterKubeconfigStatesResponseBody) GoString ¶ added in v5.5.0
func (s ListClusterKubeconfigStatesResponseBody) GoString() string
func (ListClusterKubeconfigStatesResponseBody) String ¶ added in v5.5.0
func (s ListClusterKubeconfigStatesResponseBody) String() string
type ListClusterKubeconfigStatesResponseBodyPage ¶ added in v5.5.0
type ListClusterKubeconfigStatesResponseBodyPage struct { // The page number. // // example: // // 1 PageNumber *int32 `json:"page_number,omitempty" xml:"page_number,omitempty"` // The number of entries per page. // // example: // // 10 PageSize *int32 `json:"page_size,omitempty" xml:"page_size,omitempty"` // The total number of entries returned. // // example: // // 5 TotalCount *int32 `json:"total_count,omitempty" xml:"total_count,omitempty"` }
func (ListClusterKubeconfigStatesResponseBodyPage) GoString ¶ added in v5.5.0
func (s ListClusterKubeconfigStatesResponseBodyPage) GoString() string
func (*ListClusterKubeconfigStatesResponseBodyPage) SetPageNumber ¶ added in v5.5.0
func (s *ListClusterKubeconfigStatesResponseBodyPage) SetPageNumber(v int32) *ListClusterKubeconfigStatesResponseBodyPage
func (*ListClusterKubeconfigStatesResponseBodyPage) SetPageSize ¶ added in v5.5.0
func (s *ListClusterKubeconfigStatesResponseBodyPage) SetPageSize(v int32) *ListClusterKubeconfigStatesResponseBodyPage
func (*ListClusterKubeconfigStatesResponseBodyPage) SetTotalCount ¶ added in v5.5.0
func (s *ListClusterKubeconfigStatesResponseBodyPage) SetTotalCount(v int32) *ListClusterKubeconfigStatesResponseBodyPage
func (ListClusterKubeconfigStatesResponseBodyPage) String ¶ added in v5.5.0
func (s ListClusterKubeconfigStatesResponseBodyPage) String() string
type ListClusterKubeconfigStatesResponseBodyStates ¶ added in v5.5.0
type ListClusterKubeconfigStatesResponseBodyStates struct { // The displayed name or role name of the RAM user. // // example: // // tom AccountDisplayName *string `json:"account_display_name,omitempty" xml:"account_display_name,omitempty"` // The ID of an Alibaba Cloud account, RAM user, or RAM role. // // example: // // 22855***************** AccountId *string `json:"account_id,omitempty" xml:"account_id,omitempty"` // The logon name or role name of the RAM user. // // example: // // tom AccountName *string `json:"account_name,omitempty" xml:"account_name,omitempty"` // The status of the account. // // - Active: The account is active. // // - InActive: The account is locked. // // - Deleted: The account is deleted. // // example: // // Active AccountState *string `json:"account_state,omitempty" xml:"account_state,omitempty"` // The type of the account. // // - RootAccount: Alibaba Cloud account. // // - RamUser: RAM user. // // - RamRole: RAM role. // // example: // // RamUser AccountType *string `json:"account_type,omitempty" xml:"account_type,omitempty"` // The expiration time of the client certificate for the kubeconfig file. // // example: // // 2027-07-15T01:32:20Z CertExpireTime *string `json:"cert_expire_time,omitempty" xml:"cert_expire_time,omitempty"` // The status of the client certificate for the kubeconfig file. // // - Unexpired: The certificate is not expired. // // - Expired: The certificate is expired. // // - Unknown: The status of the certificate is unknown. // // example: // // Expired CertState *string `json:"cert_state,omitempty" xml:"cert_state,omitempty"` // Indicates whether the client certificate for the kubeconfig file can be revoked. // // example: // // true Revokable *bool `json:"revokable,omitempty" xml:"revokable,omitempty"` }
func (ListClusterKubeconfigStatesResponseBodyStates) GoString ¶ added in v5.5.0
func (s ListClusterKubeconfigStatesResponseBodyStates) GoString() string
func (*ListClusterKubeconfigStatesResponseBodyStates) SetAccountDisplayName ¶ added in v5.5.0
func (s *ListClusterKubeconfigStatesResponseBodyStates) SetAccountDisplayName(v string) *ListClusterKubeconfigStatesResponseBodyStates
func (*ListClusterKubeconfigStatesResponseBodyStates) SetAccountId ¶ added in v5.5.0
func (s *ListClusterKubeconfigStatesResponseBodyStates) SetAccountId(v string) *ListClusterKubeconfigStatesResponseBodyStates
func (*ListClusterKubeconfigStatesResponseBodyStates) SetAccountName ¶ added in v5.5.0
func (s *ListClusterKubeconfigStatesResponseBodyStates) SetAccountName(v string) *ListClusterKubeconfigStatesResponseBodyStates
func (*ListClusterKubeconfigStatesResponseBodyStates) SetAccountState ¶ added in v5.5.0
func (s *ListClusterKubeconfigStatesResponseBodyStates) SetAccountState(v string) *ListClusterKubeconfigStatesResponseBodyStates
func (*ListClusterKubeconfigStatesResponseBodyStates) SetAccountType ¶ added in v5.5.0
func (s *ListClusterKubeconfigStatesResponseBodyStates) SetAccountType(v string) *ListClusterKubeconfigStatesResponseBodyStates
func (*ListClusterKubeconfigStatesResponseBodyStates) SetCertExpireTime ¶ added in v5.5.0
func (s *ListClusterKubeconfigStatesResponseBodyStates) SetCertExpireTime(v string) *ListClusterKubeconfigStatesResponseBodyStates
func (*ListClusterKubeconfigStatesResponseBodyStates) SetCertState ¶ added in v5.5.0
func (s *ListClusterKubeconfigStatesResponseBodyStates) SetCertState(v string) *ListClusterKubeconfigStatesResponseBodyStates
func (*ListClusterKubeconfigStatesResponseBodyStates) SetRevokable ¶ added in v5.5.0
func (s *ListClusterKubeconfigStatesResponseBodyStates) SetRevokable(v bool) *ListClusterKubeconfigStatesResponseBodyStates
func (ListClusterKubeconfigStatesResponseBodyStates) String ¶ added in v5.5.0
func (s ListClusterKubeconfigStatesResponseBodyStates) String() string
type ListOperationPlansRequest ¶
type ListOperationPlansRequest struct { // The cluster ID. // // example: // // c29ced64b3dfe4f33b57ca0aa9f68**** ClusterId *string `json:"cluster_id,omitempty" xml:"cluster_id,omitempty"` // The operation plan type. // // example: // // cluster_upgrade Type *string `json:"type,omitempty" xml:"type,omitempty"` }
func (ListOperationPlansRequest) GoString ¶
func (s ListOperationPlansRequest) GoString() string
func (*ListOperationPlansRequest) SetClusterId ¶
func (s *ListOperationPlansRequest) SetClusterId(v string) *ListOperationPlansRequest
func (*ListOperationPlansRequest) SetType ¶
func (s *ListOperationPlansRequest) SetType(v string) *ListOperationPlansRequest
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 (s *ListOperationPlansResponse) SetBody(v *ListOperationPlansResponseBody) *ListOperationPlansResponse
func (*ListOperationPlansResponse) SetHeaders ¶
func (s *ListOperationPlansResponse) SetHeaders(v map[string]*string) *ListOperationPlansResponse
func (*ListOperationPlansResponse) SetStatusCode ¶
func (s *ListOperationPlansResponse) SetStatusCode(v int32) *ListOperationPlansResponse
func (ListOperationPlansResponse) String ¶
func (s ListOperationPlansResponse) String() string
type ListOperationPlansResponseBody ¶
type ListOperationPlansResponseBody struct { // The list of auto O\\&M execution plans. Plans []*ListOperationPlansResponseBodyPlans `json:"plans,omitempty" xml:"plans,omitempty" type:"Repeated"` }
func (ListOperationPlansResponseBody) GoString ¶
func (s ListOperationPlansResponseBody) GoString() string
func (*ListOperationPlansResponseBody) SetPlans ¶
func (s *ListOperationPlansResponseBody) SetPlans(v []*ListOperationPlansResponseBodyPlans) *ListOperationPlansResponseBody
func (ListOperationPlansResponseBody) String ¶
func (s ListOperationPlansResponseBody) String() string
type ListOperationPlansResponseBodyPlans ¶
type ListOperationPlansResponseBodyPlans struct { // The cluster ID. // // example: // // c29ced64b3dfe4f33b57ca0aa9f68**** ClusterId *string `json:"cluster_id,omitempty" xml:"cluster_id,omitempty"` // The time when the operation plan was created. // // example: // // 2023-11-21T20:01:22+08:00 Created *string `json:"created,omitempty" xml:"created,omitempty"` // The expected end time of the plan. // // example: // // 2023-11-22T18:00:00+08:00 EndTime *string `json:"end_time,omitempty" xml:"end_time,omitempty"` // The operation plan ID. // // example: // // P-655c9c127e0e6603ef00**** PlanId *string `json:"plan_id,omitempty" xml:"plan_id,omitempty"` // The expected start time of the plan. // // example: // // 2023-11-22T15:18:00+08:00 StartTime *string `json:"start_time,omitempty" xml:"start_time,omitempty"` // The plan status. Valid values: // // - scheduled // // - Canceled // // example: // // scheduled State *string `json:"state,omitempty" xml:"state,omitempty"` // The target ID. // // example: // // c29ced64b3dfe4f33b57ca0aa9f68**** TargetId *string `json:"target_id,omitempty" xml:"target_id,omitempty"` // The target type. // // example: // // cluster TargetType *string `json:"target_type,omitempty" xml:"target_type,omitempty"` // The ID of the task generated by the execution plan. // // example: // // T-6764d027be846d01310006b1 TaskId *string `json:"task_id,omitempty" xml:"task_id,omitempty"` // The plan type. Valid values: // // - cluster_upgrade // // example: // // cluster_upgrade Type *string `json:"type,omitempty" xml:"type,omitempty"` }
func (ListOperationPlansResponseBodyPlans) GoString ¶
func (s ListOperationPlansResponseBodyPlans) GoString() string
func (*ListOperationPlansResponseBodyPlans) SetClusterId ¶
func (s *ListOperationPlansResponseBodyPlans) SetClusterId(v string) *ListOperationPlansResponseBodyPlans
func (*ListOperationPlansResponseBodyPlans) SetCreated ¶
func (s *ListOperationPlansResponseBodyPlans) SetCreated(v string) *ListOperationPlansResponseBodyPlans
func (*ListOperationPlansResponseBodyPlans) SetEndTime ¶
func (s *ListOperationPlansResponseBodyPlans) SetEndTime(v string) *ListOperationPlansResponseBodyPlans
func (*ListOperationPlansResponseBodyPlans) SetPlanId ¶
func (s *ListOperationPlansResponseBodyPlans) SetPlanId(v string) *ListOperationPlansResponseBodyPlans
func (*ListOperationPlansResponseBodyPlans) SetStartTime ¶
func (s *ListOperationPlansResponseBodyPlans) SetStartTime(v string) *ListOperationPlansResponseBodyPlans
func (*ListOperationPlansResponseBodyPlans) SetState ¶
func (s *ListOperationPlansResponseBodyPlans) SetState(v string) *ListOperationPlansResponseBodyPlans
func (*ListOperationPlansResponseBodyPlans) SetTargetId ¶
func (s *ListOperationPlansResponseBodyPlans) SetTargetId(v string) *ListOperationPlansResponseBodyPlans
func (*ListOperationPlansResponseBodyPlans) SetTargetType ¶
func (s *ListOperationPlansResponseBodyPlans) SetTargetType(v string) *ListOperationPlansResponseBodyPlans
func (*ListOperationPlansResponseBodyPlans) SetTaskId ¶ added in v5.8.6
func (s *ListOperationPlansResponseBodyPlans) SetTaskId(v string) *ListOperationPlansResponseBodyPlans
func (*ListOperationPlansResponseBodyPlans) SetType ¶
func (s *ListOperationPlansResponseBodyPlans) SetType(v string) *ListOperationPlansResponseBodyPlans
func (ListOperationPlansResponseBodyPlans) String ¶
func (s ListOperationPlansResponseBodyPlans) String() string
type ListTagResourcesRequest ¶
type ListTagResourcesRequest struct { // The pagination token that is used in the next request to retrieve a new page of results. // // example: // // *** NextToken *string `json:"next_token,omitempty" xml:"next_token,omitempty"` // The region ID. // // This parameter is required. // // example: // // cn-beijing RegionId *string `json:"region_id,omitempty" xml:"region_id,omitempty"` // The list of cluster IDs. // // This parameter is required. // // example: // // ["xxxxx","xxxxxx"] ResourceIds []*string `json:"resource_ids,omitempty" xml:"resource_ids,omitempty" type:"Repeated"` // The resource type. Set the value to `CLUSTER`. // // This parameter is required. // // example: // // CLUSTER ResourceType *string `json:"resource_type,omitempty" xml:"resource_type,omitempty"` // The list of labels that you want to query. You can specify up to 20 labels. // // example: // // [{\\"key\\":\\"env\\",\\"value\\",\\"dev\\"},{\\"key\\":\\"dev\\", \\"value\\":\\"IT\\"}] Tags []*Tag `json:"tags,omitempty" xml:"tags,omitempty" type:"Repeated"` }
func (ListTagResourcesRequest) GoString ¶
func (s ListTagResourcesRequest) GoString() string
func (*ListTagResourcesRequest) SetNextToken ¶
func (s *ListTagResourcesRequest) SetNextToken(v string) *ListTagResourcesRequest
func (*ListTagResourcesRequest) SetRegionId ¶
func (s *ListTagResourcesRequest) SetRegionId(v string) *ListTagResourcesRequest
func (*ListTagResourcesRequest) SetResourceIds ¶
func (s *ListTagResourcesRequest) SetResourceIds(v []*string) *ListTagResourcesRequest
func (*ListTagResourcesRequest) SetResourceType ¶
func (s *ListTagResourcesRequest) SetResourceType(v string) *ListTagResourcesRequest
func (*ListTagResourcesRequest) SetTags ¶
func (s *ListTagResourcesRequest) SetTags(v []*Tag) *ListTagResourcesRequest
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 (s *ListTagResourcesResponse) SetBody(v *ListTagResourcesResponseBody) *ListTagResourcesResponse
func (*ListTagResourcesResponse) SetHeaders ¶
func (s *ListTagResourcesResponse) SetHeaders(v map[string]*string) *ListTagResourcesResponse
func (*ListTagResourcesResponse) SetStatusCode ¶
func (s *ListTagResourcesResponse) SetStatusCode(v int32) *ListTagResourcesResponse
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. // // example: // // c374bf4864448**** NextToken *string `json:"next_token,omitempty" xml:"next_token,omitempty"` // The request ID. // // example: // // E368C761-F8F6-4A36-9B58-BD53D5CD0CEB 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 (s *ListTagResourcesResponseBody) SetNextToken(v string) *ListTagResourcesResponseBody
func (*ListTagResourcesResponseBody) SetRequestId ¶
func (s *ListTagResourcesResponseBody) SetRequestId(v string) *ListTagResourcesResponseBody
func (*ListTagResourcesResponseBody) SetTagResources ¶
func (s *ListTagResourcesResponseBody) SetTagResources(v *ListTagResourcesResponseBodyTagResources) *ListTagResourcesResponseBody
func (ListTagResourcesResponseBody) String ¶
func (s ListTagResourcesResponseBody) String() 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 (s ListTagResourcesResponseBodyTagResources) GoString() string
func (*ListTagResourcesResponseBodyTagResources) SetTagResource ¶
func (s *ListTagResourcesResponseBodyTagResources) SetTagResource(v []*ListTagResourcesResponseBodyTagResourcesTagResource) *ListTagResourcesResponseBodyTagResources
func (ListTagResourcesResponseBodyTagResources) String ¶
func (s ListTagResourcesResponseBodyTagResources) String() string
type ListTagResourcesResponseBodyTagResourcesTagResource ¶
type ListTagResourcesResponseBodyTagResourcesTagResource struct { // The ID of the resource. // // example: // // i-xxx ResourceId *string `json:"resource_id,omitempty" xml:"resource_id,omitempty"` // The type of the resource. For more information, see [Labels](https://help.aliyun.com/document_detail/110425.html). // // example: // // CLUSTER ResourceType *string `json:"resource_type,omitempty" xml:"resource_type,omitempty"` // The key of the label. // // example: // // ack.aliyun.com TagKey *string `json:"tag_key,omitempty" xml:"tag_key,omitempty"` // The value of the label. // // example: // // c71cf3d796c374bf48644482cb0c3**** TagValue *string `json:"tag_value,omitempty" xml:"tag_value,omitempty"` }
func (ListTagResourcesResponseBodyTagResourcesTagResource) GoString ¶
func (s ListTagResourcesResponseBodyTagResourcesTagResource) GoString() string
func (*ListTagResourcesResponseBodyTagResourcesTagResource) SetResourceId ¶
func (s *ListTagResourcesResponseBodyTagResourcesTagResource) SetResourceId(v string) *ListTagResourcesResponseBodyTagResourcesTagResource
func (*ListTagResourcesResponseBodyTagResourcesTagResource) SetResourceType ¶
func (s *ListTagResourcesResponseBodyTagResourcesTagResource) SetResourceType(v string) *ListTagResourcesResponseBodyTagResourcesTagResource
func (*ListTagResourcesResponseBodyTagResourcesTagResource) SetTagValue ¶
func (s *ListTagResourcesResponseBodyTagResourcesTagResource) SetTagValue(v string) *ListTagResourcesResponseBodyTagResourcesTagResource
func (ListTagResourcesResponseBodyTagResourcesTagResource) String ¶
func (s ListTagResourcesResponseBodyTagResourcesTagResource) String() string
type ListTagResourcesShrinkRequest ¶
type ListTagResourcesShrinkRequest struct { // The pagination token that is used in the next request to retrieve a new page of results. // // example: // // *** NextToken *string `json:"next_token,omitempty" xml:"next_token,omitempty"` // The region ID. // // This parameter is required. // // example: // // cn-beijing RegionId *string `json:"region_id,omitempty" xml:"region_id,omitempty"` // The list of cluster IDs. // // This parameter is required. // // example: // // ["xxxxx","xxxxxx"] ResourceIdsShrink *string `json:"resource_ids,omitempty" xml:"resource_ids,omitempty"` // The resource type. Set the value to `CLUSTER`. // // This parameter is required. // // example: // // CLUSTER ResourceType *string `json:"resource_type,omitempty" xml:"resource_type,omitempty"` // The list of labels that you want to query. You can specify up to 20 labels. // // example: // // [{\\"key\\":\\"env\\",\\"value\\",\\"dev\\"},{\\"key\\":\\"dev\\", \\"value\\":\\"IT\\"}] TagsShrink *string `json:"tags,omitempty" xml:"tags,omitempty"` }
func (ListTagResourcesShrinkRequest) GoString ¶
func (s ListTagResourcesShrinkRequest) GoString() string
func (*ListTagResourcesShrinkRequest) SetNextToken ¶
func (s *ListTagResourcesShrinkRequest) SetNextToken(v string) *ListTagResourcesShrinkRequest
func (*ListTagResourcesShrinkRequest) SetRegionId ¶
func (s *ListTagResourcesShrinkRequest) SetRegionId(v string) *ListTagResourcesShrinkRequest
func (*ListTagResourcesShrinkRequest) SetResourceIdsShrink ¶
func (s *ListTagResourcesShrinkRequest) SetResourceIdsShrink(v string) *ListTagResourcesShrinkRequest
func (*ListTagResourcesShrinkRequest) SetResourceType ¶
func (s *ListTagResourcesShrinkRequest) SetResourceType(v string) *ListTagResourcesShrinkRequest
func (*ListTagResourcesShrinkRequest) SetTagsShrink ¶
func (s *ListTagResourcesShrinkRequest) SetTagsShrink(v string) *ListTagResourcesShrinkRequest
func (ListTagResourcesShrinkRequest) String ¶
func (s ListTagResourcesShrinkRequest) String() string
type ListUserKubeConfigStatesRequest ¶ added in v5.5.0
type ListUserKubeConfigStatesRequest struct { // The page number. // // - Valid values: ≥ 1. // // - Default value: 1. // // example: // // 2 PageNumber *int32 `json:"page_number,omitempty" xml:"page_number,omitempty"` // The number of entries per page. // // - Value values: 1 to 100. // // - Default value: 50. // // example: // // 10 PageSize *int32 `json:"page_size,omitempty" xml:"page_size,omitempty"` }
func (ListUserKubeConfigStatesRequest) GoString ¶ added in v5.5.0
func (s ListUserKubeConfigStatesRequest) GoString() string
func (*ListUserKubeConfigStatesRequest) SetPageNumber ¶ added in v5.5.0
func (s *ListUserKubeConfigStatesRequest) SetPageNumber(v int32) *ListUserKubeConfigStatesRequest
func (*ListUserKubeConfigStatesRequest) SetPageSize ¶ added in v5.5.0
func (s *ListUserKubeConfigStatesRequest) SetPageSize(v int32) *ListUserKubeConfigStatesRequest
func (ListUserKubeConfigStatesRequest) String ¶ added in v5.5.0
func (s ListUserKubeConfigStatesRequest) String() string
type ListUserKubeConfigStatesResponse ¶ added in v5.5.0
type ListUserKubeConfigStatesResponse struct { Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` Body *ListUserKubeConfigStatesResponseBody `json:"body,omitempty" xml:"body,omitempty"` }
func (ListUserKubeConfigStatesResponse) GoString ¶ added in v5.5.0
func (s ListUserKubeConfigStatesResponse) GoString() string
func (*ListUserKubeConfigStatesResponse) SetBody ¶ added in v5.5.0
func (s *ListUserKubeConfigStatesResponse) SetBody(v *ListUserKubeConfigStatesResponseBody) *ListUserKubeConfigStatesResponse
func (*ListUserKubeConfigStatesResponse) SetHeaders ¶ added in v5.5.0
func (s *ListUserKubeConfigStatesResponse) SetHeaders(v map[string]*string) *ListUserKubeConfigStatesResponse
func (*ListUserKubeConfigStatesResponse) SetStatusCode ¶ added in v5.5.0
func (s *ListUserKubeConfigStatesResponse) SetStatusCode(v int32) *ListUserKubeConfigStatesResponse
func (ListUserKubeConfigStatesResponse) String ¶ added in v5.5.0
func (s ListUserKubeConfigStatesResponse) String() string
type ListUserKubeConfigStatesResponseBody ¶ added in v5.5.0
type ListUserKubeConfigStatesResponseBody struct { // The pagination information. Page *ListUserKubeConfigStatesResponseBodyPage `json:"page,omitempty" xml:"page,omitempty" type:"Struct"` // The status of the kubeconfig files. States []*ListUserKubeConfigStatesResponseBodyStates `json:"states,omitempty" xml:"states,omitempty" type:"Repeated"` }
func (ListUserKubeConfigStatesResponseBody) GoString ¶ added in v5.5.0
func (s ListUserKubeConfigStatesResponseBody) GoString() string
func (*ListUserKubeConfigStatesResponseBody) SetStates ¶ added in v5.5.0
func (s *ListUserKubeConfigStatesResponseBody) SetStates(v []*ListUserKubeConfigStatesResponseBodyStates) *ListUserKubeConfigStatesResponseBody
func (ListUserKubeConfigStatesResponseBody) String ¶ added in v5.5.0
func (s ListUserKubeConfigStatesResponseBody) String() string
type ListUserKubeConfigStatesResponseBodyPage ¶ added in v5.5.0
type ListUserKubeConfigStatesResponseBodyPage struct { // The page number of the returned page. // // example: // // 1 PageNumber *int32 `json:"page_number,omitempty" xml:"page_number,omitempty"` // The number of entries per page. // // example: // // 10 PageSize *int32 `json:"page_size,omitempty" xml:"page_size,omitempty"` // The total number of entries returned. // // example: // // 100 TotalCount *int32 `json:"total_count,omitempty" xml:"total_count,omitempty"` }
func (ListUserKubeConfigStatesResponseBodyPage) GoString ¶ added in v5.5.0
func (s ListUserKubeConfigStatesResponseBodyPage) GoString() string
func (*ListUserKubeConfigStatesResponseBodyPage) SetPageNumber ¶ added in v5.5.0
func (s *ListUserKubeConfigStatesResponseBodyPage) SetPageNumber(v int32) *ListUserKubeConfigStatesResponseBodyPage
func (*ListUserKubeConfigStatesResponseBodyPage) SetPageSize ¶ added in v5.5.0
func (s *ListUserKubeConfigStatesResponseBodyPage) SetPageSize(v int32) *ListUserKubeConfigStatesResponseBodyPage
func (*ListUserKubeConfigStatesResponseBodyPage) SetTotalCount ¶ added in v5.5.0
func (s *ListUserKubeConfigStatesResponseBodyPage) SetTotalCount(v int32) *ListUserKubeConfigStatesResponseBodyPage
func (ListUserKubeConfigStatesResponseBodyPage) String ¶ added in v5.5.0
func (s ListUserKubeConfigStatesResponseBodyPage) String() string
type ListUserKubeConfigStatesResponseBodyStates ¶ added in v5.5.0
type ListUserKubeConfigStatesResponseBodyStates struct { // The expiration date of the certificate used in a kubeconfig file. Format: the UTC time in the RFC3339 format. // // example: // // 2026-11-30T07:41:50Z CertExpireTime *string `json:"cert_expire_time,omitempty" xml:"cert_expire_time,omitempty"` // The current status of the certificate used in a kubeconfig file. Valid values: // // - Expired: The certificate is expired. // // - Unexpired: The certificate is not expired. // // - Unissued: The certificate is not issued. // // - Unknown: The status of the certificate is unknown. // // - Removed: The certificate is removed. An issue record is found for the certificate. // // example: // // Unissued CertState *string `json:"cert_state,omitempty" xml:"cert_state,omitempty"` // The cluster ID. // // example: // // c5b5e80b0b64a4bf6939d2d8fbbc5**** ClusterId *string `json:"cluster_id,omitempty" xml:"cluster_id,omitempty"` // The name of the cluster. // // The name must be 1 to 63 characters in length, and can contain digits, underscores (_), and hyphens (-). The name must start with a letter or number. // // example: // // cluster-demo ClusterName *string `json:"cluster_name,omitempty" xml:"cluster_name,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 upgraded. // // - `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. // // example: // // running ClusterState *string `json:"cluster_state,omitempty" xml:"cluster_state,omitempty"` }
func (ListUserKubeConfigStatesResponseBodyStates) GoString ¶ added in v5.5.0
func (s ListUserKubeConfigStatesResponseBodyStates) GoString() string
func (*ListUserKubeConfigStatesResponseBodyStates) SetCertExpireTime ¶ added in v5.5.0
func (s *ListUserKubeConfigStatesResponseBodyStates) SetCertExpireTime(v string) *ListUserKubeConfigStatesResponseBodyStates
func (*ListUserKubeConfigStatesResponseBodyStates) SetCertState ¶ added in v5.5.0
func (s *ListUserKubeConfigStatesResponseBodyStates) SetCertState(v string) *ListUserKubeConfigStatesResponseBodyStates
func (*ListUserKubeConfigStatesResponseBodyStates) SetClusterId ¶ added in v5.5.0
func (s *ListUserKubeConfigStatesResponseBodyStates) SetClusterId(v string) *ListUserKubeConfigStatesResponseBodyStates
func (*ListUserKubeConfigStatesResponseBodyStates) SetClusterName ¶ added in v5.5.0
func (s *ListUserKubeConfigStatesResponseBodyStates) SetClusterName(v string) *ListUserKubeConfigStatesResponseBodyStates
func (*ListUserKubeConfigStatesResponseBodyStates) SetClusterState ¶ added in v5.5.0
func (s *ListUserKubeConfigStatesResponseBodyStates) SetClusterState(v string) *ListUserKubeConfigStatesResponseBodyStates
func (ListUserKubeConfigStatesResponseBodyStates) String ¶ added in v5.5.0
func (s ListUserKubeConfigStatesResponseBodyStates) String() string
type MaintenanceWindow ¶
type MaintenanceWindow struct { // example: // // 3h Duration *string `json:"duration,omitempty" xml:"duration,omitempty"` // example: // // false Enable *bool `json:"enable,omitempty" xml:"enable,omitempty"` // example: // // 2020-10-15T12:31:00.000+08:00 MaintenanceTime *string `json:"maintenance_time,omitempty" xml:"maintenance_time,omitempty"` // example: // // FREQ=WEEKLY;INTERVAL=4;BYDAY=MO,TU Recurrence *string `json:"recurrence,omitempty" xml:"recurrence,omitempty"` // example: // // Monday,Thursday 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) SetRecurrence ¶ added in v5.3.2
func (s *MaintenanceWindow) SetRecurrence(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. // // example: // // *******.oss-cn-hangzhou.aliyuncs.com OssBucketEndpoint *string `json:"oss_bucket_endpoint,omitempty" xml:"oss_bucket_endpoint,omitempty"` // The name of the Object Storage Service (OSS) bucket. // // example: // // 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 (s *MigrateClusterResponse) SetBody(v *MigrateClusterResponseBody) *MigrateClusterResponse
func (*MigrateClusterResponse) SetHeaders ¶
func (s *MigrateClusterResponse) SetHeaders(v map[string]*string) *MigrateClusterResponse
func (*MigrateClusterResponse) SetStatusCode ¶
func (s *MigrateClusterResponse) SetStatusCode(v int32) *MigrateClusterResponse
func (MigrateClusterResponse) String ¶
func (s MigrateClusterResponse) String() string
type MigrateClusterResponseBody ¶
type MigrateClusterResponseBody struct { // The cluster ID. // // example: // // c8155823d057948c69a**** ClusterId *string `json:"cluster_id,omitempty" xml:"cluster_id,omitempty"` // The request ID. // // example: // // 20758A-585D-4A41-A9B2-28DA8F4F534F RequestId *string `json:"request_id,omitempty" xml:"request_id,omitempty"` // The task ID. // // example: // // T-62ccd14aacb8db06ca00**** TaskId *string `json:"task_id,omitempty" xml:"task_id,omitempty"` }
func (MigrateClusterResponseBody) GoString ¶
func (s MigrateClusterResponseBody) GoString() string
func (*MigrateClusterResponseBody) SetClusterId ¶
func (s *MigrateClusterResponseBody) SetClusterId(v string) *MigrateClusterResponseBody
func (*MigrateClusterResponseBody) SetRequestId ¶
func (s *MigrateClusterResponseBody) SetRequestId(v string) *MigrateClusterResponseBody
func (*MigrateClusterResponseBody) SetTaskId ¶
func (s *MigrateClusterResponseBody) SetTaskId(v string) *MigrateClusterResponseBody
func (MigrateClusterResponseBody) String ¶
func (s MigrateClusterResponseBody) String() string
type ModifyClusterAddonRequest ¶
type ModifyClusterAddonRequest struct { // The custom parameter settings that you want to use. // // example: // // {"CpuRequest":"800m"} Config *string `json:"config,omitempty" xml:"config,omitempty"` }
func (ModifyClusterAddonRequest) GoString ¶
func (s ModifyClusterAddonRequest) GoString() string
func (*ModifyClusterAddonRequest) SetConfig ¶
func (s *ModifyClusterAddonRequest) SetConfig(v string) *ModifyClusterAddonRequest
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 (s *ModifyClusterAddonResponse) SetHeaders(v map[string]*string) *ModifyClusterAddonResponse
func (*ModifyClusterAddonResponse) SetStatusCode ¶
func (s *ModifyClusterAddonResponse) SetStatusCode(v int32) *ModifyClusterAddonResponse
func (ModifyClusterAddonResponse) String ¶
func (s ModifyClusterAddonResponse) String() string
type ModifyClusterConfigurationRequest ¶
type ModifyClusterConfigurationRequest struct { // The custom configurations. CustomizeConfig []*ModifyClusterConfigurationRequestCustomizeConfig `json:"customize_config,omitempty" xml:"customize_config,omitempty" type:"Repeated"` }
func (ModifyClusterConfigurationRequest) GoString ¶
func (s ModifyClusterConfigurationRequest) GoString() string
func (*ModifyClusterConfigurationRequest) SetCustomizeConfig ¶
func (s *ModifyClusterConfigurationRequest) SetCustomizeConfig(v []*ModifyClusterConfigurationRequestCustomizeConfig) *ModifyClusterConfigurationRequest
func (ModifyClusterConfigurationRequest) String ¶
func (s ModifyClusterConfigurationRequest) String() string
type ModifyClusterConfigurationRequestCustomizeConfig ¶
type ModifyClusterConfigurationRequestCustomizeConfig struct { // The custom configurations. Configs []*ModifyClusterConfigurationRequestCustomizeConfigConfigs `json:"configs,omitempty" xml:"configs,omitempty" type:"Repeated"` // The name of the component. // // example: // // kube-apiserver Name *string `json:"name,omitempty" xml:"name,omitempty"` }
func (ModifyClusterConfigurationRequestCustomizeConfig) GoString ¶
func (s ModifyClusterConfigurationRequestCustomizeConfig) GoString() string
func (*ModifyClusterConfigurationRequestCustomizeConfig) SetConfigs ¶
func (ModifyClusterConfigurationRequestCustomizeConfig) String ¶
func (s ModifyClusterConfigurationRequestCustomizeConfig) String() string
type ModifyClusterConfigurationRequestCustomizeConfigConfigs ¶
type ModifyClusterConfigurationRequestCustomizeConfigConfigs struct { // The name of the configuration item. // // example: // // MaxRequestsInflight Key *string `json:"key,omitempty" xml:"key,omitempty"` // The value of the configuration item. // // example: // // 100 Value *string `json:"value,omitempty" xml:"value,omitempty"` }
func (ModifyClusterConfigurationRequestCustomizeConfigConfigs) GoString ¶
func (s ModifyClusterConfigurationRequestCustomizeConfigConfigs) GoString() string
func (ModifyClusterConfigurationRequestCustomizeConfigConfigs) String ¶
func (s ModifyClusterConfigurationRequestCustomizeConfigConfigs) String() 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 (s ModifyClusterConfigurationResponse) GoString() string
func (*ModifyClusterConfigurationResponse) SetHeaders ¶
func (s *ModifyClusterConfigurationResponse) SetHeaders(v map[string]*string) *ModifyClusterConfigurationResponse
func (*ModifyClusterConfigurationResponse) SetStatusCode ¶
func (s *ModifyClusterConfigurationResponse) SetStatusCode(v int32) *ModifyClusterConfigurationResponse
func (ModifyClusterConfigurationResponse) String ¶
func (s ModifyClusterConfigurationResponse) String() string
type ModifyClusterNodePoolRequest ¶
type ModifyClusterNodePoolRequest struct { // The configurations about auto scaling. AutoScaling *ModifyClusterNodePoolRequestAutoScaling `json:"auto_scaling,omitempty" xml:"auto_scaling,omitempty" type:"Struct"` // Specifies whether concurrency is supported. // // example: // // true Concurrency *bool `json:"concurrency,omitempty" xml:"concurrency,omitempty"` // The configurations of the cluster in which 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 configuration of the node pool. NodepoolInfo *ModifyClusterNodePoolRequestNodepoolInfo `json:"nodepool_info,omitempty" xml:"nodepool_info,omitempty" type:"Struct"` // The configuration 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. // // example: // // true UpdateNodes *bool `json:"update_nodes,omitempty" xml:"update_nodes,omitempty"` }
func (ModifyClusterNodePoolRequest) GoString ¶
func (s ModifyClusterNodePoolRequest) GoString() string
func (*ModifyClusterNodePoolRequest) SetAutoScaling ¶
func (s *ModifyClusterNodePoolRequest) SetAutoScaling(v *ModifyClusterNodePoolRequestAutoScaling) *ModifyClusterNodePoolRequest
func (*ModifyClusterNodePoolRequest) SetConcurrency ¶
func (s *ModifyClusterNodePoolRequest) SetConcurrency(v bool) *ModifyClusterNodePoolRequest
func (*ModifyClusterNodePoolRequest) SetKubernetesConfig ¶
func (s *ModifyClusterNodePoolRequest) SetKubernetesConfig(v *ModifyClusterNodePoolRequestKubernetesConfig) *ModifyClusterNodePoolRequest
func (*ModifyClusterNodePoolRequest) SetManagement ¶
func (s *ModifyClusterNodePoolRequest) SetManagement(v *ModifyClusterNodePoolRequestManagement) *ModifyClusterNodePoolRequest
func (*ModifyClusterNodePoolRequest) SetNodepoolInfo ¶
func (s *ModifyClusterNodePoolRequest) SetNodepoolInfo(v *ModifyClusterNodePoolRequestNodepoolInfo) *ModifyClusterNodePoolRequest
func (*ModifyClusterNodePoolRequest) SetScalingGroup ¶
func (s *ModifyClusterNodePoolRequest) SetScalingGroup(v *ModifyClusterNodePoolRequestScalingGroup) *ModifyClusterNodePoolRequest
func (*ModifyClusterNodePoolRequest) SetTeeConfig ¶
func (s *ModifyClusterNodePoolRequest) SetTeeConfig(v *ModifyClusterNodePoolRequestTeeConfig) *ModifyClusterNodePoolRequest
func (*ModifyClusterNodePoolRequest) SetUpdateNodes ¶
func (s *ModifyClusterNodePoolRequest) SetUpdateNodes(v bool) *ModifyClusterNodePoolRequest
func (ModifyClusterNodePoolRequest) String ¶
func (s ModifyClusterNodePoolRequest) String() string
type ModifyClusterNodePoolRequestAutoScaling ¶
type ModifyClusterNodePoolRequestAutoScaling struct { // Deprecated // // The maximum bandwidth of the EIP. // // example: // // 5 EipBandwidth *int64 `json:"eip_bandwidth,omitempty" xml:"eip_bandwidth,omitempty"` // Deprecated // // The billing method of the EIP. Valid values: // // - `PayByBandwidth`: pay-by-bandwidth // // - `PayByTraffic`: pay-by-data-transfer // // Default value: `PayByBandwidth`. // // example: // // 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 `auto_scaling` do not take effect. // // Default value: `false` // // example: // // true Enable *bool `json:"enable,omitempty" xml:"enable,omitempty"` // Deprecated // // Specifies whether to associate an elastic IP address (EIP) with the node pool. Valid values: // // - `true`: An EIP is associated with the node pool. // // - `false`: No EIP is associated with the node pool. // // Default value: `false` // // example: // // true IsBondEip *bool `json:"is_bond_eip,omitempty" xml:"is_bond_eip,omitempty"` // The maximum number of instances. // // example: // // 10 MaxInstances *int64 `json:"max_instances,omitempty" xml:"max_instances,omitempty"` // The minimum number of instances. // // example: // // 2 MinInstances *int64 `json:"min_instances,omitempty" xml:"min_instances,omitempty"` // Deprecated // // The instance type that is used for auto scaling. Valid values: // // - `cpu`: regular instance // // - `gpu`: GPU-accelerated instance. // // - `gpushare`: shared GPU-accelerated instance. // // - `spot`: preemptible instance. // // Default value: `cpu`. // // example: // // cpu Type *string `json:"type,omitempty" xml:"type,omitempty"` }
func (ModifyClusterNodePoolRequestAutoScaling) GoString ¶
func (s ModifyClusterNodePoolRequestAutoScaling) GoString() string
func (*ModifyClusterNodePoolRequestAutoScaling) SetEipBandwidth ¶
func (s *ModifyClusterNodePoolRequestAutoScaling) SetEipBandwidth(v int64) *ModifyClusterNodePoolRequestAutoScaling
func (*ModifyClusterNodePoolRequestAutoScaling) SetEipInternetChargeType ¶
func (s *ModifyClusterNodePoolRequestAutoScaling) SetEipInternetChargeType(v string) *ModifyClusterNodePoolRequestAutoScaling
func (*ModifyClusterNodePoolRequestAutoScaling) SetEnable ¶
func (s *ModifyClusterNodePoolRequestAutoScaling) SetEnable(v bool) *ModifyClusterNodePoolRequestAutoScaling
func (*ModifyClusterNodePoolRequestAutoScaling) SetIsBondEip ¶
func (s *ModifyClusterNodePoolRequestAutoScaling) SetIsBondEip(v bool) *ModifyClusterNodePoolRequestAutoScaling
func (*ModifyClusterNodePoolRequestAutoScaling) SetMaxInstances ¶
func (s *ModifyClusterNodePoolRequestAutoScaling) SetMaxInstances(v int64) *ModifyClusterNodePoolRequestAutoScaling
func (*ModifyClusterNodePoolRequestAutoScaling) SetMinInstances ¶
func (s *ModifyClusterNodePoolRequestAutoScaling) SetMinInstances(v int64) *ModifyClusterNodePoolRequestAutoScaling
func (*ModifyClusterNodePoolRequestAutoScaling) SetType ¶
func (s *ModifyClusterNodePoolRequestAutoScaling) SetType(v string) *ModifyClusterNodePoolRequestAutoScaling
func (ModifyClusterNodePoolRequestAutoScaling) String ¶
func (s ModifyClusterNodePoolRequestAutoScaling) String() 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` // // example: // // true CmsEnabled *bool `json:"cms_enabled,omitempty" xml:"cms_enabled,omitempty"` // The CPU management policy of 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`. // // example: // // 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 label is a case-sensitive key-value pair. You can add up to 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"` // The user-defined script that is executed before nodes are initialized. For more information, see [Prepare user data](https://help.aliyun.com/document_detail/49121.html). // // example: // // IyEvdXNyL2Jpbi9iYXNoCmVjaG8gIkhlbGxvIEFDSyEi PreUserData *string `json:"pre_user_data,omitempty" xml:"pre_user_data,omitempty"` // The name of the container runtime. // // example: // // docker Runtime *string `json:"runtime,omitempty" xml:"runtime,omitempty"` // The version of the container runtime. // // example: // // 19.03.5 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"` // Specifies whether the nodes are unschedulable after a scale-out activity is performed. // // example: // // false Unschedulable *bool `json:"unschedulable,omitempty" xml:"unschedulable,omitempty"` // The user-defined script that is executed after nodes are initialized. For more information, see [Prepare user data](https://help.aliyun.com/document_detail/49121.html). // // example: // // IyEvdXNyL2Jpbi9iYXNoCmVjaG8gIkhlbGxvIEFDSyEi UserData *string `json:"user_data,omitempty" xml:"user_data,omitempty"` }
func (ModifyClusterNodePoolRequestKubernetesConfig) GoString ¶
func (s ModifyClusterNodePoolRequestKubernetesConfig) GoString() string
func (*ModifyClusterNodePoolRequestKubernetesConfig) SetCmsEnabled ¶
func (s *ModifyClusterNodePoolRequestKubernetesConfig) SetCmsEnabled(v bool) *ModifyClusterNodePoolRequestKubernetesConfig
func (*ModifyClusterNodePoolRequestKubernetesConfig) SetCpuPolicy ¶
func (s *ModifyClusterNodePoolRequestKubernetesConfig) SetCpuPolicy(v string) *ModifyClusterNodePoolRequestKubernetesConfig
func (*ModifyClusterNodePoolRequestKubernetesConfig) SetLabels ¶
func (s *ModifyClusterNodePoolRequestKubernetesConfig) SetLabels(v []*Tag) *ModifyClusterNodePoolRequestKubernetesConfig
func (*ModifyClusterNodePoolRequestKubernetesConfig) SetPreUserData ¶ added in v5.7.7
func (s *ModifyClusterNodePoolRequestKubernetesConfig) SetPreUserData(v string) *ModifyClusterNodePoolRequestKubernetesConfig
func (*ModifyClusterNodePoolRequestKubernetesConfig) SetRuntime ¶
func (s *ModifyClusterNodePoolRequestKubernetesConfig) SetRuntime(v string) *ModifyClusterNodePoolRequestKubernetesConfig
func (*ModifyClusterNodePoolRequestKubernetesConfig) SetRuntimeVersion ¶
func (s *ModifyClusterNodePoolRequestKubernetesConfig) SetRuntimeVersion(v string) *ModifyClusterNodePoolRequestKubernetesConfig
func (*ModifyClusterNodePoolRequestKubernetesConfig) SetTaints ¶
func (s *ModifyClusterNodePoolRequestKubernetesConfig) SetTaints(v []*Taint) *ModifyClusterNodePoolRequestKubernetesConfig
func (*ModifyClusterNodePoolRequestKubernetesConfig) SetUnschedulable ¶
func (s *ModifyClusterNodePoolRequestKubernetesConfig) SetUnschedulable(v bool) *ModifyClusterNodePoolRequestKubernetesConfig
func (*ModifyClusterNodePoolRequestKubernetesConfig) SetUserData ¶
func (s *ModifyClusterNodePoolRequestKubernetesConfig) SetUserData(v string) *ModifyClusterNodePoolRequestKubernetesConfig
func (ModifyClusterNodePoolRequestKubernetesConfig) String ¶
func (s ModifyClusterNodePoolRequestKubernetesConfig) String() 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`. // // example: // // 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"` // Indicates whether auto update is enabled. Valid values: // // - `true`: enables auto update. // // - `false`: disables auto update. // // example: // // true 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`: eanbles auto CVE patching. // // - `true`: disables auto CVE patching. // // example: // // true 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` // // example: // // true 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 (s ModifyClusterNodePoolRequestManagement) GoString() string
func (*ModifyClusterNodePoolRequestManagement) SetAutoRepair ¶
func (s *ModifyClusterNodePoolRequestManagement) SetAutoRepair(v bool) *ModifyClusterNodePoolRequestManagement
func (*ModifyClusterNodePoolRequestManagement) SetAutoRepairPolicy ¶
func (s *ModifyClusterNodePoolRequestManagement) SetAutoRepairPolicy(v *ModifyClusterNodePoolRequestManagementAutoRepairPolicy) *ModifyClusterNodePoolRequestManagement
func (*ModifyClusterNodePoolRequestManagement) SetAutoUpgrade ¶
func (s *ModifyClusterNodePoolRequestManagement) SetAutoUpgrade(v bool) *ModifyClusterNodePoolRequestManagement
func (*ModifyClusterNodePoolRequestManagement) SetAutoUpgradePolicy ¶
func (s *ModifyClusterNodePoolRequestManagement) SetAutoUpgradePolicy(v *ModifyClusterNodePoolRequestManagementAutoUpgradePolicy) *ModifyClusterNodePoolRequestManagement
func (*ModifyClusterNodePoolRequestManagement) SetAutoVulFix ¶
func (s *ModifyClusterNodePoolRequestManagement) SetAutoVulFix(v bool) *ModifyClusterNodePoolRequestManagement
func (*ModifyClusterNodePoolRequestManagement) SetAutoVulFixPolicy ¶
func (s *ModifyClusterNodePoolRequestManagement) SetAutoVulFixPolicy(v *ModifyClusterNodePoolRequestManagementAutoVulFixPolicy) *ModifyClusterNodePoolRequestManagement
func (*ModifyClusterNodePoolRequestManagement) SetEnable ¶
func (s *ModifyClusterNodePoolRequestManagement) SetEnable(v bool) *ModifyClusterNodePoolRequestManagement
func (*ModifyClusterNodePoolRequestManagement) SetUpgradeConfig ¶
func (s *ModifyClusterNodePoolRequestManagement) SetUpgradeConfig(v *ModifyClusterNodePoolRequestManagementUpgradeConfig) *ModifyClusterNodePoolRequestManagement
func (ModifyClusterNodePoolRequestManagement) String ¶
func (s ModifyClusterNodePoolRequestManagement) String() string
type ModifyClusterNodePoolRequestManagementAutoRepairPolicy ¶
type ModifyClusterNodePoolRequestManagementAutoRepairPolicy struct { // Specifies whether ACK is allowed to automatically restart nodes after repairing the nodes. Valid values: // // - `true`: yes. // // - `false`: no. // // example: // // true RestartNode *bool `json:"restart_node,omitempty" xml:"restart_node,omitempty"` }
func (ModifyClusterNodePoolRequestManagementAutoRepairPolicy) GoString ¶
func (s ModifyClusterNodePoolRequestManagementAutoRepairPolicy) GoString() string
func (*ModifyClusterNodePoolRequestManagementAutoRepairPolicy) SetRestartNode ¶
func (s *ModifyClusterNodePoolRequestManagementAutoRepairPolicy) SetRestartNode(v bool) *ModifyClusterNodePoolRequestManagementAutoRepairPolicy
func (ModifyClusterNodePoolRequestManagementAutoRepairPolicy) String ¶
func (s ModifyClusterNodePoolRequestManagementAutoRepairPolicy) String() string
type ModifyClusterNodePoolRequestManagementAutoUpgradePolicy ¶
type ModifyClusterNodePoolRequestManagementAutoUpgradePolicy struct { // Specifies whether ACK is allowed to automatically update the kubelet. Valid values: // // - `true`: yes. // // - `false`: no. // // example: // // true AutoUpgradeKubelet *bool `json:"auto_upgrade_kubelet,omitempty" xml:"auto_upgrade_kubelet,omitempty"` // Specifies whether ACK is allowed to automatically update the operating system. This parameter takes effect only when you specify `auto_upgrade=true`. Valid values: // // - `true`: yes. // // - `false`: no. // // Default value: `false`. AutoUpgradeOs *bool `json:"auto_upgrade_os,omitempty" xml:"auto_upgrade_os,omitempty"` // Specifies whether ACK is allowed to automatically update the runtime. This parameter takes effect only when you specify `auto_upgrade=true`. Valid values: // // - `true`: yes. // // - `false`: no. // // Default value: `false`. AutoUpgradeRuntime *bool `json:"auto_upgrade_runtime,omitempty" xml:"auto_upgrade_runtime,omitempty"` }
func (ModifyClusterNodePoolRequestManagementAutoUpgradePolicy) GoString ¶
func (s ModifyClusterNodePoolRequestManagementAutoUpgradePolicy) GoString() string
func (*ModifyClusterNodePoolRequestManagementAutoUpgradePolicy) SetAutoUpgradeKubelet ¶
func (s *ModifyClusterNodePoolRequestManagementAutoUpgradePolicy) SetAutoUpgradeKubelet(v bool) *ModifyClusterNodePoolRequestManagementAutoUpgradePolicy
func (*ModifyClusterNodePoolRequestManagementAutoUpgradePolicy) SetAutoUpgradeOs ¶ added in v5.0.2
func (s *ModifyClusterNodePoolRequestManagementAutoUpgradePolicy) SetAutoUpgradeOs(v bool) *ModifyClusterNodePoolRequestManagementAutoUpgradePolicy
func (*ModifyClusterNodePoolRequestManagementAutoUpgradePolicy) SetAutoUpgradeRuntime ¶ added in v5.0.2
func (s *ModifyClusterNodePoolRequestManagementAutoUpgradePolicy) SetAutoUpgradeRuntime(v bool) *ModifyClusterNodePoolRequestManagementAutoUpgradePolicy
func (ModifyClusterNodePoolRequestManagementAutoUpgradePolicy) String ¶
func (s ModifyClusterNodePoolRequestManagementAutoUpgradePolicy) String() string
type ModifyClusterNodePoolRequestManagementAutoVulFixPolicy ¶
type ModifyClusterNodePoolRequestManagementAutoVulFixPolicy struct { // Specifies whether ACK is allowed to automatically restart nodes after repairing the nodes. Valid values: // // - `true`: yes. // // - `false`: no. // // example: // // true 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 (,). // // example: // // asap,nntf VulLevel *string `json:"vul_level,omitempty" xml:"vul_level,omitempty"` }
func (ModifyClusterNodePoolRequestManagementAutoVulFixPolicy) GoString ¶
func (s ModifyClusterNodePoolRequestManagementAutoVulFixPolicy) GoString() string
func (*ModifyClusterNodePoolRequestManagementAutoVulFixPolicy) SetRestartNode ¶
func (s *ModifyClusterNodePoolRequestManagementAutoVulFixPolicy) SetRestartNode(v bool) *ModifyClusterNodePoolRequestManagementAutoVulFixPolicy
func (*ModifyClusterNodePoolRequestManagementAutoVulFixPolicy) SetVulLevel ¶
func (ModifyClusterNodePoolRequestManagementAutoVulFixPolicy) String ¶
func (s ModifyClusterNodePoolRequestManagementAutoVulFixPolicy) String() string
type ModifyClusterNodePoolRequestManagementUpgradeConfig ¶
type ModifyClusterNodePoolRequestManagementUpgradeConfig struct { // Deprecated // // Specifies whether to enable auto update. Valid values: // // - true: enables auto update. // // - false: disables auto update. // // Default value: `true`. // // example: // // true AutoUpgrade *bool `json:"auto_upgrade,omitempty" xml:"auto_upgrade,omitempty"` // // Valid values: 1 to 1000. // // Default value: 1 // // example: // // 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 upgrade. 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. // // example: // // 5 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`. // // example: // // 0 SurgePercentage *int64 `json:"surge_percentage,omitempty" xml:"surge_percentage,omitempty"` }
func (ModifyClusterNodePoolRequestManagementUpgradeConfig) GoString ¶
func (s ModifyClusterNodePoolRequestManagementUpgradeConfig) GoString() string
func (*ModifyClusterNodePoolRequestManagementUpgradeConfig) SetAutoUpgrade ¶
func (s *ModifyClusterNodePoolRequestManagementUpgradeConfig) SetAutoUpgrade(v bool) *ModifyClusterNodePoolRequestManagementUpgradeConfig
func (*ModifyClusterNodePoolRequestManagementUpgradeConfig) SetMaxUnavailable ¶
func (s *ModifyClusterNodePoolRequestManagementUpgradeConfig) SetMaxUnavailable(v int64) *ModifyClusterNodePoolRequestManagementUpgradeConfig
func (*ModifyClusterNodePoolRequestManagementUpgradeConfig) SetSurgePercentage ¶
func (s *ModifyClusterNodePoolRequestManagementUpgradeConfig) SetSurgePercentage(v int64) *ModifyClusterNodePoolRequestManagementUpgradeConfig
func (ModifyClusterNodePoolRequestManagementUpgradeConfig) String ¶
func (s ModifyClusterNodePoolRequestManagementUpgradeConfig) String() string
type ModifyClusterNodePoolRequestNodepoolInfo ¶
type ModifyClusterNodePoolRequestNodepoolInfo struct { // The name of a 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 (-). // // example: // // default-nodepool Name *string `json:"name,omitempty" xml:"name,omitempty"` // The resource group ID to which the instance belongs. // // example: // // rg-acfmyvw3wjm**** ResourceGroupId *string `json:"resource_group_id,omitempty" xml:"resource_group_id,omitempty"` }
func (ModifyClusterNodePoolRequestNodepoolInfo) GoString ¶
func (s ModifyClusterNodePoolRequestNodepoolInfo) GoString() string
func (*ModifyClusterNodePoolRequestNodepoolInfo) SetName ¶
func (s *ModifyClusterNodePoolRequestNodepoolInfo) SetName(v string) *ModifyClusterNodePoolRequestNodepoolInfo
func (*ModifyClusterNodePoolRequestNodepoolInfo) SetResourceGroupId ¶
func (s *ModifyClusterNodePoolRequestNodepoolInfo) SetResourceGroupId(v string) *ModifyClusterNodePoolRequestNodepoolInfo
func (ModifyClusterNodePoolRequestNodepoolInfo) String ¶
func (s ModifyClusterNodePoolRequestNodepoolInfo) String() 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: `false` // // example: // // true AutoRenew *bool `json:"auto_renew,omitempty" xml:"auto_renew,omitempty"` // The auto-renewal period. Valid values: // // - Valid values when PeriodUnit is set to Week: 1, 2, and 3 // // - Valid values when PeriodUnit is set to Month: 1, 2, 3, 6, 12, 24, 36, 48, and 60 // // Default value: 1 // // example: // // 1 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 only 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` // // example: // // true CompensateWithOnDemand *bool `json:"compensate_with_on_demand,omitempty" xml:"compensate_with_on_demand,omitempty"` // The configurations of the data disks that are mounted to nodes in the node pool. Valid values: 0 to 10. 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. // // example: // // 2 DesiredSize *int64 `json:"desired_size,omitempty" xml:"desired_size,omitempty"` // The custom image ID. You can call the `DescribeKubernetesVersionMetadata` operation to query the supported images. By default, the latest image is used. // // example: // // aliyun_2_1903_x64_20G_alibase_20200904.vhd ImageId *string `json:"image_id,omitempty" xml:"image_id,omitempty"` // The type of operating system distribution that you want to use. We recommend that you use this parameter to specify the node operating system. Valid values: // // - `AliyunLinux`: Alibaba Cloud Linux 2. // // - `AliyunLinuxSecurity`: Alibaba Cloud Linux 2 (UEFI). // // - `AliyunLinux3`: Alibaba Cloud Linux 3 // // - `AliyunLinux3Arm64`: Alibaba Cloud Linux 3 (ARM). // // - `AliyunLinux3Security`: Alibaba Cloud Linux 3 (UEFI). // // - `CentOS`: CentOS. // // - `Windows`: Windows. // // - `WindowsCore`: Windows Core. // // - `ContainerOS`: ContainerOS. // // - `AliyunLinux3ContainerOptimized`: Alibaba Cloud Linux 3 Container-optimized image. // // example: // // AliyunLinux ImageType *string `json:"image_type,omitempty" xml:"image_type,omitempty"` // The billing method of nodes in the node pool. Valid values: // // - `PrePaid`: subscription // // - `PostPaid`: pay-as-you-go // // Default value: `PostPaid` // // example: // // PostPaid InstanceChargeType *string `json:"instance_charge_type,omitempty" xml:"instance_charge_type,omitempty"` // The instance attributes. InstancePatterns []*InstancePatterns `json:"instance_patterns,omitempty" xml:"instance_patterns,omitempty" type:"Repeated"` // The instance types. You can specify multiple instance types. A node is assigned the instance type from the first instance type of the list 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. Valid values: // // - `PayByBandwidth`: pay-by-bandwidth // // - `PayByTraffic`: pay-by-data-transfer // // example: // // PayByBandwidth 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. // // example: // // 5 InternetMaxBandwidthOut *int64 `json:"internet_max_bandwidth_out,omitempty" xml:"internet_max_bandwidth_out,omitempty"` // The name of the key pair. You must specify this parameter or `login_password`. You must specify the `key_pair` parameter if the node pool is a managed node pool. // // example: // // pro-nodepool KeyPair *string `json:"key_pair,omitempty" xml:"key_pair,omitempty"` // The password for SSH logon. You must specify this parameter 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. // // example: // // Hello1234 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 in which the vSwitch that has the highest priority resides, Auto Scaling creates the ECS instance in the zone in which 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 configurations. You can specify `CompensateWithOnDemand` 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](https://help.aliyun.com/document_detail/71516.html). // // Default value: `PRIORITY`. // // example: // // BALANCE 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 smaller than the value of this parameter, Auto Scaling preferably creates pay-as-you-go instances. // // example: // // 0 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. // // example: // // 20 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`. // // Valid values if `period_unit` is set to Month: 1, 2, 3, 6, 12, 24, 36, 48, and 60. // // example: // // 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`. Valid values: // // The billing cycle is measured only in months. // // Default value: `Month`. // // example: // // Month PeriodUnit *string `json:"period_unit,omitempty" xml:"period_unit,omitempty"` // Deprecated // // The OS platform. Valid values: // // - `AliyunLinux` // // - `CentOS` // // - `Windows` // // - `WindowsCore` // // example: // // AliyunLinux 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"` // The 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 that are attached to local disks. // // example: // // release 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. // // example: // // 5 SpotInstancePools *int64 `json:"spot_instance_pools,omitempty" xml:"spot_instance_pools,omitempty"` // Indicates whether preemptible instances can be supplemented. If the supplementation of preemptible instances is enabled, 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`: supplements preemptible instances. // // - `false`: does not supplement preemptible instances. // // example: // // false 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. // // - `SpotAsPriceGo`: automatically submits bids based on the up-to-date market price. // // For more information, see [Create a preemptible elastic container instance](https://help.aliyun.com/document_detail/157759.html). // // example: // // SpotWithPriceLimit SpotStrategy *string `json:"spot_strategy,omitempty" xml:"spot_strategy,omitempty"` // Specifies whether to enable Burst for the system disk when the disk type is cloud_auto. // // example: // // true SystemDiskBurstingEnabled *bool `json:"system_disk_bursting_enabled,omitempty" xml:"system_disk_bursting_enabled,omitempty"` // The system disk types. The system attempts to create system disks of a disk type with a lower priority if the disk type with a higher priority is unavailable. Valid values: cloud: disk. cloud_efficiency: Ultra disk. cloud_ssd: Standard SSD. cloud_essd: Enterprise 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` // // example: // // cloud_efficiency SystemDiskCategory *string `json:"system_disk_category,omitempty" xml:"system_disk_category,omitempty"` // The encryption algorithm that is used by the system disk. The value is aes-256. // // example: // // 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 false: does not encrypt the system disk. // // example: // // false 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. // // example: // // 0e478b7a-4262-4802-b8cb-00d3fb40**** 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. You can specify a higher PL if you increase the size of the data disk. For more information, see [ESSDs](https://help.aliyun.com/document_detail/122389.html). // // example: // // PL1 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. // // example: // // 1000 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. // // example: // // 120 SystemDiskSize *int64 `json:"system_disk_size,omitempty" xml:"system_disk_size,omitempty"` // The tags that you want to add only to ECS instances. // // The label key must be unique and cannot exceed 128 characters in length. The label key and value cannot start with aliyun or acs: and cannot 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 that reside in different zones. VswitchIds []*string `json:"vswitch_ids,omitempty" xml:"vswitch_ids,omitempty" type:"Repeated"` }
func (ModifyClusterNodePoolRequestScalingGroup) GoString ¶
func (s ModifyClusterNodePoolRequestScalingGroup) GoString() string
func (*ModifyClusterNodePoolRequestScalingGroup) SetAutoRenew ¶
func (s *ModifyClusterNodePoolRequestScalingGroup) SetAutoRenew(v bool) *ModifyClusterNodePoolRequestScalingGroup
func (*ModifyClusterNodePoolRequestScalingGroup) SetAutoRenewPeriod ¶
func (s *ModifyClusterNodePoolRequestScalingGroup) SetAutoRenewPeriod(v int64) *ModifyClusterNodePoolRequestScalingGroup
func (*ModifyClusterNodePoolRequestScalingGroup) SetCompensateWithOnDemand ¶
func (s *ModifyClusterNodePoolRequestScalingGroup) SetCompensateWithOnDemand(v bool) *ModifyClusterNodePoolRequestScalingGroup
func (*ModifyClusterNodePoolRequestScalingGroup) SetDataDisks ¶
func (s *ModifyClusterNodePoolRequestScalingGroup) SetDataDisks(v []*DataDisk) *ModifyClusterNodePoolRequestScalingGroup
func (*ModifyClusterNodePoolRequestScalingGroup) SetDesiredSize ¶
func (s *ModifyClusterNodePoolRequestScalingGroup) SetDesiredSize(v int64) *ModifyClusterNodePoolRequestScalingGroup
func (*ModifyClusterNodePoolRequestScalingGroup) SetImageId ¶
func (s *ModifyClusterNodePoolRequestScalingGroup) SetImageId(v string) *ModifyClusterNodePoolRequestScalingGroup
func (*ModifyClusterNodePoolRequestScalingGroup) SetImageType ¶
func (s *ModifyClusterNodePoolRequestScalingGroup) SetImageType(v string) *ModifyClusterNodePoolRequestScalingGroup
func (*ModifyClusterNodePoolRequestScalingGroup) SetInstanceChargeType ¶
func (s *ModifyClusterNodePoolRequestScalingGroup) SetInstanceChargeType(v string) *ModifyClusterNodePoolRequestScalingGroup
func (*ModifyClusterNodePoolRequestScalingGroup) SetInstancePatterns ¶ added in v5.2.1
func (s *ModifyClusterNodePoolRequestScalingGroup) SetInstancePatterns(v []*InstancePatterns) *ModifyClusterNodePoolRequestScalingGroup
func (*ModifyClusterNodePoolRequestScalingGroup) SetInstanceTypes ¶
func (s *ModifyClusterNodePoolRequestScalingGroup) SetInstanceTypes(v []*string) *ModifyClusterNodePoolRequestScalingGroup
func (*ModifyClusterNodePoolRequestScalingGroup) SetInternetChargeType ¶
func (s *ModifyClusterNodePoolRequestScalingGroup) SetInternetChargeType(v string) *ModifyClusterNodePoolRequestScalingGroup
func (*ModifyClusterNodePoolRequestScalingGroup) SetInternetMaxBandwidthOut ¶
func (s *ModifyClusterNodePoolRequestScalingGroup) SetInternetMaxBandwidthOut(v int64) *ModifyClusterNodePoolRequestScalingGroup
func (*ModifyClusterNodePoolRequestScalingGroup) SetKeyPair ¶
func (s *ModifyClusterNodePoolRequestScalingGroup) SetKeyPair(v string) *ModifyClusterNodePoolRequestScalingGroup
func (*ModifyClusterNodePoolRequestScalingGroup) SetLoginPassword ¶
func (s *ModifyClusterNodePoolRequestScalingGroup) SetLoginPassword(v string) *ModifyClusterNodePoolRequestScalingGroup
func (*ModifyClusterNodePoolRequestScalingGroup) SetMultiAzPolicy ¶
func (s *ModifyClusterNodePoolRequestScalingGroup) SetMultiAzPolicy(v string) *ModifyClusterNodePoolRequestScalingGroup
func (*ModifyClusterNodePoolRequestScalingGroup) SetOnDemandBaseCapacity ¶
func (s *ModifyClusterNodePoolRequestScalingGroup) SetOnDemandBaseCapacity(v int64) *ModifyClusterNodePoolRequestScalingGroup
func (*ModifyClusterNodePoolRequestScalingGroup) SetOnDemandPercentageAboveBaseCapacity ¶
func (s *ModifyClusterNodePoolRequestScalingGroup) SetOnDemandPercentageAboveBaseCapacity(v int64) *ModifyClusterNodePoolRequestScalingGroup
func (*ModifyClusterNodePoolRequestScalingGroup) SetPeriod ¶
func (s *ModifyClusterNodePoolRequestScalingGroup) SetPeriod(v int64) *ModifyClusterNodePoolRequestScalingGroup
func (*ModifyClusterNodePoolRequestScalingGroup) SetPeriodUnit ¶
func (s *ModifyClusterNodePoolRequestScalingGroup) SetPeriodUnit(v string) *ModifyClusterNodePoolRequestScalingGroup
func (*ModifyClusterNodePoolRequestScalingGroup) SetPlatform ¶
func (s *ModifyClusterNodePoolRequestScalingGroup) SetPlatform(v string) *ModifyClusterNodePoolRequestScalingGroup
func (*ModifyClusterNodePoolRequestScalingGroup) SetPrivatePoolOptions ¶
func (s *ModifyClusterNodePoolRequestScalingGroup) SetPrivatePoolOptions(v *ModifyClusterNodePoolRequestScalingGroupPrivatePoolOptions) *ModifyClusterNodePoolRequestScalingGroup
func (*ModifyClusterNodePoolRequestScalingGroup) SetRdsInstances ¶
func (s *ModifyClusterNodePoolRequestScalingGroup) SetRdsInstances(v []*string) *ModifyClusterNodePoolRequestScalingGroup
func (*ModifyClusterNodePoolRequestScalingGroup) SetScalingPolicy ¶
func (s *ModifyClusterNodePoolRequestScalingGroup) SetScalingPolicy(v string) *ModifyClusterNodePoolRequestScalingGroup
func (*ModifyClusterNodePoolRequestScalingGroup) SetSpotInstancePools ¶
func (s *ModifyClusterNodePoolRequestScalingGroup) SetSpotInstancePools(v int64) *ModifyClusterNodePoolRequestScalingGroup
func (*ModifyClusterNodePoolRequestScalingGroup) SetSpotInstanceRemedy ¶
func (s *ModifyClusterNodePoolRequestScalingGroup) SetSpotInstanceRemedy(v bool) *ModifyClusterNodePoolRequestScalingGroup
func (*ModifyClusterNodePoolRequestScalingGroup) SetSpotPriceLimit ¶
func (s *ModifyClusterNodePoolRequestScalingGroup) SetSpotPriceLimit(v []*ModifyClusterNodePoolRequestScalingGroupSpotPriceLimit) *ModifyClusterNodePoolRequestScalingGroup
func (*ModifyClusterNodePoolRequestScalingGroup) SetSpotStrategy ¶
func (s *ModifyClusterNodePoolRequestScalingGroup) SetSpotStrategy(v string) *ModifyClusterNodePoolRequestScalingGroup
func (*ModifyClusterNodePoolRequestScalingGroup) SetSystemDiskBurstingEnabled ¶
func (s *ModifyClusterNodePoolRequestScalingGroup) SetSystemDiskBurstingEnabled(v bool) *ModifyClusterNodePoolRequestScalingGroup
func (*ModifyClusterNodePoolRequestScalingGroup) SetSystemDiskCategories ¶
func (s *ModifyClusterNodePoolRequestScalingGroup) SetSystemDiskCategories(v []*string) *ModifyClusterNodePoolRequestScalingGroup
func (*ModifyClusterNodePoolRequestScalingGroup) SetSystemDiskCategory ¶
func (s *ModifyClusterNodePoolRequestScalingGroup) SetSystemDiskCategory(v string) *ModifyClusterNodePoolRequestScalingGroup
func (*ModifyClusterNodePoolRequestScalingGroup) SetSystemDiskEncryptAlgorithm ¶
func (s *ModifyClusterNodePoolRequestScalingGroup) SetSystemDiskEncryptAlgorithm(v string) *ModifyClusterNodePoolRequestScalingGroup
func (*ModifyClusterNodePoolRequestScalingGroup) SetSystemDiskEncrypted ¶
func (s *ModifyClusterNodePoolRequestScalingGroup) SetSystemDiskEncrypted(v bool) *ModifyClusterNodePoolRequestScalingGroup
func (*ModifyClusterNodePoolRequestScalingGroup) SetSystemDiskKmsKeyId ¶
func (s *ModifyClusterNodePoolRequestScalingGroup) SetSystemDiskKmsKeyId(v string) *ModifyClusterNodePoolRequestScalingGroup
func (*ModifyClusterNodePoolRequestScalingGroup) SetSystemDiskPerformanceLevel ¶
func (s *ModifyClusterNodePoolRequestScalingGroup) SetSystemDiskPerformanceLevel(v string) *ModifyClusterNodePoolRequestScalingGroup
func (*ModifyClusterNodePoolRequestScalingGroup) SetSystemDiskProvisionedIops ¶
func (s *ModifyClusterNodePoolRequestScalingGroup) SetSystemDiskProvisionedIops(v int64) *ModifyClusterNodePoolRequestScalingGroup
func (*ModifyClusterNodePoolRequestScalingGroup) SetSystemDiskSize ¶
func (s *ModifyClusterNodePoolRequestScalingGroup) SetSystemDiskSize(v int64) *ModifyClusterNodePoolRequestScalingGroup
func (*ModifyClusterNodePoolRequestScalingGroup) SetTags ¶
func (s *ModifyClusterNodePoolRequestScalingGroup) SetTags(v []*Tag) *ModifyClusterNodePoolRequestScalingGroup
func (*ModifyClusterNodePoolRequestScalingGroup) SetVswitchIds ¶
func (s *ModifyClusterNodePoolRequestScalingGroup) SetVswitchIds(v []*string) *ModifyClusterNodePoolRequestScalingGroup
func (ModifyClusterNodePoolRequestScalingGroup) String ¶
func (s ModifyClusterNodePoolRequestScalingGroup) String() string
type ModifyClusterNodePoolRequestScalingGroupPrivatePoolOptions ¶
type ModifyClusterNodePoolRequestScalingGroupPrivatePoolOptions struct { // The private node pool ID. // // example: // // eap-bp67acfmxazb4**** 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 pool is generated when an elasticity assurance or a capacity reservation takes effect. The system selects a private pool to start instances. Valid values: // // - `Open`: uses an open private pool. The system selects an open private pool to start instances. If no matching open private pools are available, the resources in the public pool are used. // // - `Target`: uses a specified private pool. The system uses the resources of the specified private pool to start instances. If the specified private pool is unavailable, instances cannot be started. // // - `None`: does not use private pools. The resources of private node pools are not used to launch instances. // // example: // // Open MatchCriteria *string `json:"match_criteria,omitempty" xml:"match_criteria,omitempty"` }
func (ModifyClusterNodePoolRequestScalingGroupPrivatePoolOptions) GoString ¶
func (s ModifyClusterNodePoolRequestScalingGroupPrivatePoolOptions) GoString() string
func (*ModifyClusterNodePoolRequestScalingGroupPrivatePoolOptions) SetMatchCriteria ¶
func (s *ModifyClusterNodePoolRequestScalingGroupPrivatePoolOptions) SetMatchCriteria(v string) *ModifyClusterNodePoolRequestScalingGroupPrivatePoolOptions
func (ModifyClusterNodePoolRequestScalingGroupPrivatePoolOptions) String ¶
func (s ModifyClusterNodePoolRequestScalingGroupPrivatePoolOptions) String() string
type ModifyClusterNodePoolRequestScalingGroupSpotPriceLimit ¶
type ModifyClusterNodePoolRequestScalingGroupSpotPriceLimit struct { // The price cap of a preemptible instance. // // example: // // ecs.c6.large InstanceType *string `json:"instance_type,omitempty" xml:"instance_type,omitempty"` // The maximum bid price of a preemptible instance. // // Unit: USD/hour. // // example: // // 0.39 PriceLimit *string `json:"price_limit,omitempty" xml:"price_limit,omitempty"` }
func (ModifyClusterNodePoolRequestScalingGroupSpotPriceLimit) GoString ¶
func (s ModifyClusterNodePoolRequestScalingGroupSpotPriceLimit) GoString() string
func (*ModifyClusterNodePoolRequestScalingGroupSpotPriceLimit) SetInstanceType ¶
func (s *ModifyClusterNodePoolRequestScalingGroupSpotPriceLimit) SetInstanceType(v string) *ModifyClusterNodePoolRequestScalingGroupSpotPriceLimit
func (*ModifyClusterNodePoolRequestScalingGroupSpotPriceLimit) SetPriceLimit ¶
func (s *ModifyClusterNodePoolRequestScalingGroupSpotPriceLimit) SetPriceLimit(v string) *ModifyClusterNodePoolRequestScalingGroupSpotPriceLimit
func (ModifyClusterNodePoolRequestScalingGroupSpotPriceLimit) String ¶
func (s ModifyClusterNodePoolRequestScalingGroupSpotPriceLimit) String() 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` // // example: // // false TeeEnable *bool `json:"tee_enable,omitempty" xml:"tee_enable,omitempty"` }
func (ModifyClusterNodePoolRequestTeeConfig) GoString ¶
func (s ModifyClusterNodePoolRequestTeeConfig) GoString() string
func (*ModifyClusterNodePoolRequestTeeConfig) SetTeeEnable ¶
func (s *ModifyClusterNodePoolRequestTeeConfig) SetTeeEnable(v bool) *ModifyClusterNodePoolRequestTeeConfig
func (ModifyClusterNodePoolRequestTeeConfig) String ¶
func (s ModifyClusterNodePoolRequestTeeConfig) String() 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 (s ModifyClusterNodePoolResponse) GoString() string
func (*ModifyClusterNodePoolResponse) SetBody ¶
func (s *ModifyClusterNodePoolResponse) SetBody(v *ModifyClusterNodePoolResponseBody) *ModifyClusterNodePoolResponse
func (*ModifyClusterNodePoolResponse) SetHeaders ¶
func (s *ModifyClusterNodePoolResponse) SetHeaders(v map[string]*string) *ModifyClusterNodePoolResponse
func (*ModifyClusterNodePoolResponse) SetStatusCode ¶
func (s *ModifyClusterNodePoolResponse) SetStatusCode(v int32) *ModifyClusterNodePoolResponse
func (ModifyClusterNodePoolResponse) String ¶
func (s ModifyClusterNodePoolResponse) String() string
type ModifyClusterNodePoolResponseBody ¶
type ModifyClusterNodePoolResponseBody struct { // The node pool ID. // // example: // // np737c3ac1ac684703b9e10673aa2c**** NodepoolId *string `json:"nodepool_id,omitempty" xml:"nodepool_id,omitempty"` // The ID of the request. // // example: // // 687C5BAA-D103-4993-884B-C35E4314**** RequestId *string `json:"request_id,omitempty" xml:"request_id,omitempty"` // The task ID. // // example: // // T-5fd211e924e1d00787000293 TaskId *string `json:"task_id,omitempty" xml:"task_id,omitempty"` }
func (ModifyClusterNodePoolResponseBody) GoString ¶
func (s ModifyClusterNodePoolResponseBody) GoString() string
func (*ModifyClusterNodePoolResponseBody) SetNodepoolId ¶
func (s *ModifyClusterNodePoolResponseBody) SetNodepoolId(v string) *ModifyClusterNodePoolResponseBody
func (*ModifyClusterNodePoolResponseBody) SetRequestId ¶
func (s *ModifyClusterNodePoolResponseBody) SetRequestId(v string) *ModifyClusterNodePoolResponseBody
func (*ModifyClusterNodePoolResponseBody) SetTaskId ¶
func (s *ModifyClusterNodePoolResponseBody) SetTaskId(v string) *ModifyClusterNodePoolResponseBody
func (ModifyClusterNodePoolResponseBody) String ¶
func (s ModifyClusterNodePoolResponseBody) String() 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"` // The custom subject alternative names (SANs) for the API server certificate to accept requests from specified IP addresses or domain names. This parameter is available only for ACK managed clusters. 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. This EIP is used to enable access to the API server over the Internet. Valid values: // // - `true`: associates an EIP with the cluster. // // - `false`: does not associate an EIP with the cluster. // // example: // // true ApiServerEip *bool `json:"api_server_eip,omitempty" xml:"api_server_eip,omitempty"` // The ID of the EIP that you want to associate with the API server of the cluster. This parameter takes effect when `api_server_eip` is set to `true`. // // example: // // eip-wz9fnasl6dsfhmvci**** ApiServerEipId *string `json:"api_server_eip_id,omitempty" xml:"api_server_eip_id,omitempty"` // The cluster name. // // The cluster name must be 1 to 63 characters in length, and can contain digits, letters, and hyphens (-). The cluster name cannot start with a hyphen (-). // // example: // // cluster-new-name ClusterName *string `json:"cluster_name,omitempty" xml:"cluster_name,omitempty"` // The control plane configurations of an ACK dedicated cluster. ControlPlaneConfig *ModifyClusterRequestControlPlaneConfig `json:"control_plane_config,omitempty" xml:"control_plane_config,omitempty" type:"Struct"` // Specifies whether to enable cluster deletion protection. If you enable this option, the cluster cannot be deleted in the console or by calling API operations. Valid values: // // - `true`: enables cluster deletion protection. // // - `false`: disables cluster deletion protection. // // Default value: `false` // // example: // // true DeletionProtection *bool `json:"deletion_protection,omitempty" xml:"deletion_protection,omitempty"` // Specifies whether to enable the RAM Roles for Service Accounts (RRSA) feature. This parameter is available only for ACK managed clusters. Valid values: // // - `true`: enables the RRSA feature. // // - `false`: disables the RRSA feature. // // example: // // true 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` // // example: // // true IngressDomainRebinding *bool `json:"ingress_domain_rebinding,omitempty" xml:"ingress_domain_rebinding,omitempty"` // The ID of the Server Load Balancer (SLB) instance of the cluster to be modified. // // example: // // lb-wz97kes8tnndkpodw**** IngressLoadbalancerId *string `json:"ingress_loadbalancer_id,omitempty" xml:"ingress_loadbalancer_id,omitempty"` // Specifies whether to enable instance deletion protection. If you enable this option, the instance cannot be deleted in the console or by calling API operations. Valid values: // // - `true`: enables instance deletion protection. // // - `false`: disables instance deletion protection. // // Default value: `false` // // example: // // true InstanceDeletionProtection *bool `json:"instance_deletion_protection,omitempty" xml:"instance_deletion_protection,omitempty"` // The cluster maintenance window. This feature takes effect only for ACK Pro clusters. MaintenanceWindow *MaintenanceWindow `json:"maintenance_window,omitempty" xml:"maintenance_window,omitempty"` // The automatic O\\&M policy of the cluster. OperationPolicy *ModifyClusterRequestOperationPolicy `json:"operation_policy,omitempty" xml:"operation_policy,omitempty" type:"Struct"` // The resource group ID of the cluster. // // example: // // rg-acfmyvw3wjm**** ResourceGroupId *string `json:"resource_group_id,omitempty" xml:"resource_group_id,omitempty"` // The ID of the security group for the control plane. // // - If block rules are configured in the security group, ensure the security group rules allow traffic for protocols and ports required by the cluster. For recommended security group rules, see [Configure and manage security groups for an ACK cluster](https://www.alibabacloud.com/help/en/ack/ack-managed-and-ack-dedicated/user-guide/configure-security-group-rules-to-enforce-access-control-on-ack-clusters?spm=a2c63.p38356.help-menu-85222.d_2_0_4_3.43e35d09s8oSlR). // // - For non-ACK dedicated clusters: // // - During security group updates, the cluster control plane and managed components (e.g., terway-controlplane) will restart briefly. Perform this operation during off-peak hours. // // - After updating the control plane security group, the Elastic Network Interfaces (ENIs) used by the control plane and managed components will automatically join the new security group. // // - For ACK dedicated clusters: // // - After updating the control plane security group, newly scaled-out master nodes will automatically apply the new security group. Existing control plane nodes remain unaffected. // // example: // // sg-bp1h6rk3pgct2a08*** SecurityGroupId *string `json:"security_group_id,omitempty" xml:"security_group_id,omitempty"` // The storage configurations of system events. SystemEventsLogging *ModifyClusterRequestSystemEventsLogging `json:"system_events_logging,omitempty" xml:"system_events_logging,omitempty" type:"Struct"` // The time zone configuration for the cluster. // // - After modifying the time zone, cluster inspection configurations will adopt the new time zone. // // - For ACK managed clusters: // // - During time zone updates, the cluster control plane and managed components (e.g., terway-controlplane) will restart briefly. Perform this operation during off-peak hours. // // - After updating the time zone: // // - Newly scaled-out nodes will automatically apply the new time zone. // // - Existing nodes remain unaffected. Reset the node to apply changes to existing nodes. // // - For ACK dedicated clusters: // // - After updating the time zone: // // - Newly scaled-out nodes (including control plane nodes) automatically apply the new time zone. // // - Existing nodes (including control plane nodes) remain unaffected. Reset the node to apply changes to existing nodes. // // - For control plane nodes, perform a scale-out followed by a scale-in to apply the new time zone to all control plane nodes. // // example: // // Asia/Shanghai Timezone *string `json:"timezone,omitempty" xml:"timezone,omitempty"` // The vSwitches of the control plane. This parameter can be used to change the vSwitches of the control plane in an ACK managed cluster. Take note of the following items: // // - This parameter overwrites the existing configuration. You must specify all vSwitches of the control plane. // // - The control plane components restarts during the change process. Exercise caution when you perform this operation. // // - Ensure that all security groups of the cluster, including the security groups of the control plane, all node pools, and container network, are allowed to access the CIDR blocks of the new vSwitches. This ensures that the nodes and containers can connect to the API server. // // - If the new vSwitches of the control plane are configured with an ACL, ensure that the ACL allows communication between the new vSwitches and CIDR blocks such as those of the cluster nodes and the container network. VswitchIds []*string `json:"vswitch_ids,omitempty" xml:"vswitch_ids,omitempty" type:"Repeated"` }
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 (s *ModifyClusterRequest) SetApiServerCustomCertSans(v *ModifyClusterRequestApiServerCustomCertSans) *ModifyClusterRequest
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) SetControlPlaneConfig ¶ added in v5.8.1
func (s *ModifyClusterRequest) SetControlPlaneConfig(v *ModifyClusterRequestControlPlaneConfig) *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 (s *ModifyClusterRequest) SetOperationPolicy(v *ModifyClusterRequestOperationPolicy) *ModifyClusterRequest
func (*ModifyClusterRequest) SetResourceGroupId ¶
func (s *ModifyClusterRequest) SetResourceGroupId(v string) *ModifyClusterRequest
func (*ModifyClusterRequest) SetSecurityGroupId ¶ added in v5.8.12
func (s *ModifyClusterRequest) SetSecurityGroupId(v string) *ModifyClusterRequest
func (*ModifyClusterRequest) SetSystemEventsLogging ¶
func (s *ModifyClusterRequest) SetSystemEventsLogging(v *ModifyClusterRequestSystemEventsLogging) *ModifyClusterRequest
func (*ModifyClusterRequest) SetTimezone ¶ added in v5.8.12
func (s *ModifyClusterRequest) SetTimezone(v string) *ModifyClusterRequest
func (*ModifyClusterRequest) SetVswitchIds ¶ added in v5.7.9
func (s *ModifyClusterRequest) SetVswitchIds(v []*string) *ModifyClusterRequest
func (ModifyClusterRequest) String ¶
func (s ModifyClusterRequest) String() string
type ModifyClusterRequestApiServerCustomCertSans ¶ added in v5.0.5
type ModifyClusterRequestApiServerCustomCertSans struct { // Specifies whether to overwrite or add SANs. Valid values: // // - overwrite: overwrites SANs. // // - append: adds SANs. // // example: // // append Action *string `json:"action,omitempty" xml:"action,omitempty"` // The list of SANs. SubjectAlternativeNames []*string `json:"subject_alternative_names,omitempty" xml:"subject_alternative_names,omitempty" type:"Repeated"` }
func (ModifyClusterRequestApiServerCustomCertSans) GoString ¶ added in v5.0.5
func (s ModifyClusterRequestApiServerCustomCertSans) GoString() string
func (*ModifyClusterRequestApiServerCustomCertSans) SetAction ¶ added in v5.0.5
func (s *ModifyClusterRequestApiServerCustomCertSans) SetAction(v string) *ModifyClusterRequestApiServerCustomCertSans
func (*ModifyClusterRequestApiServerCustomCertSans) SetSubjectAlternativeNames ¶ added in v5.0.5
func (s *ModifyClusterRequestApiServerCustomCertSans) SetSubjectAlternativeNames(v []*string) *ModifyClusterRequestApiServerCustomCertSans
func (ModifyClusterRequestApiServerCustomCertSans) String ¶ added in v5.0.5
func (s ModifyClusterRequestApiServerCustomCertSans) String() string
type ModifyClusterRequestControlPlaneConfig ¶ added in v5.8.1
type ModifyClusterRequestControlPlaneConfig struct { // Specifies whether to enable auto-renewal for control plane nodes. This parameter takes effect only when `charge_type` is set to `PrePaid`. Valid values: // // - `true`: enables auto-renewal. // // - `false`: disables auto-renewal. // // Default value: `false` // // example: // // true AutoRenew *bool `json:"auto_renew,omitempty" xml:"auto_renew,omitempty"` // The auto-renewal period of control plane nodes. Valid values: 1, 2, 3, 6, and 12. // // Default value: 1. // // example: // // 1 AutoRenewPeriod *int64 `json:"auto_renew_period,omitempty" xml:"auto_renew_period,omitempty"` // The billing method of control plane nodes. Valid values: // // - `PrePaid`: subscription. // // - `PostPaid`: pay-as-you-go. // // Default value: `PostPaid`. // // example: // // PrePaid ChargeType *string `json:"charge_type,omitempty" xml:"charge_type,omitempty"` // Specifies whether to install the CloudMonitor agent. Valid values: // // - `true`: installs the CloudMonitor agent. // // - `false`: does not install the CloudMonitor agent. // // example: // // true CloudMonitorFlags *bool `json:"cloud_monitor_flags,omitempty" xml:"cloud_monitor_flags,omitempty"` // The CPU management policy of 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`. // // example: // // none CpuPolicy *string `json:"cpu_policy,omitempty" xml:"cpu_policy,omitempty"` // The ID of the deployment set. // // example: // // ds-bp10b35imuam5amw**** DeploymentsetId *string `json:"deploymentset_id,omitempty" xml:"deploymentset_id,omitempty"` // The custom image ID. You must configure this parameter if you use a custom image. // // example: // // aliyun_3_x64_20G_alibase_20240819.vhd ImageId *string `json:"image_id,omitempty" xml:"image_id,omitempty"` // The type of the OS image. Valid values: // // - `AliyunLinux3`: Alibaba Cloud Linux 3. // // - `Custom`: the custom image. // // example: // // AliyunLinux3 ImageType *string `json:"image_type,omitempty" xml:"image_type,omitempty"` // The type of instance. For more information, see [Overview of ECS instance families](https://help.aliyun.com/document_detail/25378.html). InstanceTypes []*string `json:"instance_types,omitempty" xml:"instance_types,omitempty" type:"Repeated"` // The name of the key pair. You must configure either this parameter or the `login_password` parameter. // // example: // // ack KeyPair *string `json:"key_pair,omitempty" xml:"key_pair,omitempty"` // The password for SSH logon. You must configure either 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. To log on with a password, you must specify this parameter during the scale-out. // // example: // // Ack@2000. LoginPassword *string `json:"login_password,omitempty" xml:"login_password,omitempty"` // The node port range. // // example: // // 30000-32767 NodePortRange *string `json:"node_port_range,omitempty" xml:"node_port_range,omitempty"` // The subscription duration of the instance. This parameter takes effect and is required only when `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. // // example: // // 1 Period *int64 `json:"period,omitempty" xml:"period,omitempty"` // The billing cycle of control plane nodes. This parameter takes effect only when `instance_charge_type` is set to `PrePaid`. // // Set the value to `Month`. // // example: // // Month PeriodUnit *string `json:"period_unit,omitempty" xml:"period_unit,omitempty"` // The type of the container runtime. Valid values: // // - `containerd`: supports all Kubernetes versions. We recommend that you set the parameter to this value. // // Default value: containerd. // // example: // // containerd Runtime *string `json:"runtime,omitempty" xml:"runtime,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` // // example: // // true SecurityHardeningOs *bool `json:"security_hardening_os,omitempty" xml:"security_hardening_os,omitempty"` // The number of control plane nodes. If you want to scale out the control plane in an ACK dedicated cluster, set this parameter to the desired number of nodes. This parameter must be greater than the current number of nodes. // // example: // // 5 Size *int64 `json:"size,omitempty" xml:"size,omitempty"` // Specifies whether to enable Multi-Level Protection Scheme (MLPS) security hardening. For more information, see [ACK security hardening based on MLPS](https://help.aliyun.com/document_detail/196148.html). // // Valid values: // // - `true`: enables MLPS security hardening. // // - `false`: disables MLPS security hardening. // // Default value: `false`. // // example: // // false SocEnabled *bool `json:"soc_enabled,omitempty" xml:"soc_enabled,omitempty"` // Specifies whether to enable the burst feature for the system disk. Valid values: // // - `true`: enables the burst feature. // // - `false`: disables the burst feature. // // This parameter is effective only when `system_disk_category` is set to `cloud_auto`. For more information, see [ESSD AutoPL disks](https://help.aliyun.com/document_detail/368372.html). // // example: // // true SystemDiskBurstingEnabled *bool `json:"system_disk_bursting_enabled,omitempty" xml:"system_disk_bursting_enabled,omitempty"` // The category of the system disk for nodes. Valid values: // // - `cloud`: basic disk. // // - `cloud_efficiency`: ultra disk. // // - `cloud_ssd`: standard SSD. // // - `cloud_essd`: Enterprise ESSD (ESSD). // // - `cloud_auto`: ESSD AutoPL disk. // // - `cloud_essd_entry`: ESSD Entry disk. // // example: // // cloud_essd SystemDiskCategory *string `json:"system_disk_category,omitempty" xml:"system_disk_category,omitempty"` // The performance level (PL) of the system disk that you want to use for the node. This parameter is effective only for ESSDs. This parameter is related to the disk size. For more information, see [ESSDs](https://help.aliyun.com/document_detail/122389.html). // // example: // // PL1 SystemDiskPerformanceLevel *string `json:"system_disk_performance_level,omitempty" xml:"system_disk_performance_level,omitempty"` // The preset read/write input/output operations per second (IOPS) of the 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 effective only when `system_disk_category` is set to `cloud_auto`. For more information, see [ESSD AutoPL disks](https://help.aliyun.com/document_detail/368372.html). // // example: // // 1000 SystemDiskProvisionedIops *int64 `json:"system_disk_provisioned_iops,omitempty" xml:"system_disk_provisioned_iops,omitempty"` // The type of the system disk. Valid values: [40,500]. Unit: GiB. // // example: // // 120 SystemDiskSize *int64 `json:"system_disk_size,omitempty" xml:"system_disk_size,omitempty"` // The ID of the automatic snapshot policy applied to the node system disk. // // example: // // sp-2zej1nogjvovnz4z**** SystemDiskSnapshotPolicyId *string `json:"system_disk_snapshot_policy_id,omitempty" xml:"system_disk_snapshot_policy_id,omitempty"` }
func (ModifyClusterRequestControlPlaneConfig) GoString ¶ added in v5.8.1
func (s ModifyClusterRequestControlPlaneConfig) GoString() string
func (*ModifyClusterRequestControlPlaneConfig) SetAutoRenew ¶ added in v5.8.1
func (s *ModifyClusterRequestControlPlaneConfig) SetAutoRenew(v bool) *ModifyClusterRequestControlPlaneConfig
func (*ModifyClusterRequestControlPlaneConfig) SetAutoRenewPeriod ¶ added in v5.8.1
func (s *ModifyClusterRequestControlPlaneConfig) SetAutoRenewPeriod(v int64) *ModifyClusterRequestControlPlaneConfig
func (*ModifyClusterRequestControlPlaneConfig) SetChargeType ¶ added in v5.8.1
func (s *ModifyClusterRequestControlPlaneConfig) SetChargeType(v string) *ModifyClusterRequestControlPlaneConfig
func (*ModifyClusterRequestControlPlaneConfig) SetCloudMonitorFlags ¶ added in v5.8.1
func (s *ModifyClusterRequestControlPlaneConfig) SetCloudMonitorFlags(v bool) *ModifyClusterRequestControlPlaneConfig
func (*ModifyClusterRequestControlPlaneConfig) SetCpuPolicy ¶ added in v5.8.1
func (s *ModifyClusterRequestControlPlaneConfig) SetCpuPolicy(v string) *ModifyClusterRequestControlPlaneConfig
func (*ModifyClusterRequestControlPlaneConfig) SetDeploymentsetId ¶ added in v5.8.1
func (s *ModifyClusterRequestControlPlaneConfig) SetDeploymentsetId(v string) *ModifyClusterRequestControlPlaneConfig
func (*ModifyClusterRequestControlPlaneConfig) SetImageId ¶ added in v5.8.1
func (s *ModifyClusterRequestControlPlaneConfig) SetImageId(v string) *ModifyClusterRequestControlPlaneConfig
func (*ModifyClusterRequestControlPlaneConfig) SetImageType ¶ added in v5.8.1
func (s *ModifyClusterRequestControlPlaneConfig) SetImageType(v string) *ModifyClusterRequestControlPlaneConfig
func (*ModifyClusterRequestControlPlaneConfig) SetInstanceTypes ¶ added in v5.8.1
func (s *ModifyClusterRequestControlPlaneConfig) SetInstanceTypes(v []*string) *ModifyClusterRequestControlPlaneConfig
func (*ModifyClusterRequestControlPlaneConfig) SetKeyPair ¶ added in v5.8.1
func (s *ModifyClusterRequestControlPlaneConfig) SetKeyPair(v string) *ModifyClusterRequestControlPlaneConfig
func (*ModifyClusterRequestControlPlaneConfig) SetLoginPassword ¶ added in v5.8.1
func (s *ModifyClusterRequestControlPlaneConfig) SetLoginPassword(v string) *ModifyClusterRequestControlPlaneConfig
func (*ModifyClusterRequestControlPlaneConfig) SetNodePortRange ¶ added in v5.8.1
func (s *ModifyClusterRequestControlPlaneConfig) SetNodePortRange(v string) *ModifyClusterRequestControlPlaneConfig
func (*ModifyClusterRequestControlPlaneConfig) SetPeriod ¶ added in v5.8.1
func (s *ModifyClusterRequestControlPlaneConfig) SetPeriod(v int64) *ModifyClusterRequestControlPlaneConfig
func (*ModifyClusterRequestControlPlaneConfig) SetPeriodUnit ¶ added in v5.8.1
func (s *ModifyClusterRequestControlPlaneConfig) SetPeriodUnit(v string) *ModifyClusterRequestControlPlaneConfig
func (*ModifyClusterRequestControlPlaneConfig) SetRuntime ¶ added in v5.8.1
func (s *ModifyClusterRequestControlPlaneConfig) SetRuntime(v string) *ModifyClusterRequestControlPlaneConfig
func (*ModifyClusterRequestControlPlaneConfig) SetSecurityHardeningOs ¶ added in v5.8.1
func (s *ModifyClusterRequestControlPlaneConfig) SetSecurityHardeningOs(v bool) *ModifyClusterRequestControlPlaneConfig
func (*ModifyClusterRequestControlPlaneConfig) SetSize ¶ added in v5.8.1
func (s *ModifyClusterRequestControlPlaneConfig) SetSize(v int64) *ModifyClusterRequestControlPlaneConfig
func (*ModifyClusterRequestControlPlaneConfig) SetSocEnabled ¶ added in v5.8.1
func (s *ModifyClusterRequestControlPlaneConfig) SetSocEnabled(v bool) *ModifyClusterRequestControlPlaneConfig
func (*ModifyClusterRequestControlPlaneConfig) SetSystemDiskBurstingEnabled ¶ added in v5.8.1
func (s *ModifyClusterRequestControlPlaneConfig) SetSystemDiskBurstingEnabled(v bool) *ModifyClusterRequestControlPlaneConfig
func (*ModifyClusterRequestControlPlaneConfig) SetSystemDiskCategory ¶ added in v5.8.1
func (s *ModifyClusterRequestControlPlaneConfig) SetSystemDiskCategory(v string) *ModifyClusterRequestControlPlaneConfig
func (*ModifyClusterRequestControlPlaneConfig) SetSystemDiskPerformanceLevel ¶ added in v5.8.1
func (s *ModifyClusterRequestControlPlaneConfig) SetSystemDiskPerformanceLevel(v string) *ModifyClusterRequestControlPlaneConfig
func (*ModifyClusterRequestControlPlaneConfig) SetSystemDiskProvisionedIops ¶ added in v5.8.1
func (s *ModifyClusterRequestControlPlaneConfig) SetSystemDiskProvisionedIops(v int64) *ModifyClusterRequestControlPlaneConfig
func (*ModifyClusterRequestControlPlaneConfig) SetSystemDiskSize ¶ added in v5.8.1
func (s *ModifyClusterRequestControlPlaneConfig) SetSystemDiskSize(v int64) *ModifyClusterRequestControlPlaneConfig
func (*ModifyClusterRequestControlPlaneConfig) SetSystemDiskSnapshotPolicyId ¶ added in v5.8.1
func (s *ModifyClusterRequestControlPlaneConfig) SetSystemDiskSnapshotPolicyId(v string) *ModifyClusterRequestControlPlaneConfig
func (ModifyClusterRequestControlPlaneConfig) String ¶ added in v5.8.1
func (s ModifyClusterRequestControlPlaneConfig) String() string
type ModifyClusterRequestOperationPolicy ¶
type ModifyClusterRequestOperationPolicy struct { // The configurations of automatic update. ClusterAutoUpgrade *ModifyClusterRequestOperationPolicyClusterAutoUpgrade `json:"cluster_auto_upgrade,omitempty" xml:"cluster_auto_upgrade,omitempty" type:"Struct"` }
func (ModifyClusterRequestOperationPolicy) GoString ¶
func (s ModifyClusterRequestOperationPolicy) GoString() string
func (*ModifyClusterRequestOperationPolicy) SetClusterAutoUpgrade ¶
func (s *ModifyClusterRequestOperationPolicy) SetClusterAutoUpgrade(v *ModifyClusterRequestOperationPolicyClusterAutoUpgrade) *ModifyClusterRequestOperationPolicy
func (ModifyClusterRequestOperationPolicy) String ¶
func (s ModifyClusterRequestOperationPolicy) String() string
type ModifyClusterRequestOperationPolicyClusterAutoUpgrade ¶
type ModifyClusterRequestOperationPolicyClusterAutoUpgrade struct { // The frequency of auto cluster update. For more information, see [Update frequency](https://help.aliyun.com/document_detail/2712866.html). // // Valid values: // // - patch: the latest patch version. // // - stables: the second-latest minor version. // // - rapid: the latest minor version. // // example: // // patch Channel *string `json:"channel,omitempty" xml:"channel,omitempty"` // Specifies whether to enable automatic update. // // example: // // true Enabled *bool `json:"enabled,omitempty" xml:"enabled,omitempty"` }
func (ModifyClusterRequestOperationPolicyClusterAutoUpgrade) GoString ¶
func (s ModifyClusterRequestOperationPolicyClusterAutoUpgrade) GoString() string
func (*ModifyClusterRequestOperationPolicyClusterAutoUpgrade) SetChannel ¶
func (*ModifyClusterRequestOperationPolicyClusterAutoUpgrade) SetEnabled ¶
func (ModifyClusterRequestOperationPolicyClusterAutoUpgrade) String ¶
func (s ModifyClusterRequestOperationPolicyClusterAutoUpgrade) String() string
type ModifyClusterRequestSystemEventsLogging ¶
type ModifyClusterRequestSystemEventsLogging struct { // Specifies whether to enable system event storage. // // example: // // true Enabled *bool `json:"enabled,omitempty" xml:"enabled,omitempty"` // The name of the Simple Log Service project that stores system events. // // example: // // k8s-log-cb95aa626a47740afbf6aa099b65**** LoggingProject *string `json:"logging_project,omitempty" xml:"logging_project,omitempty"` }
func (ModifyClusterRequestSystemEventsLogging) GoString ¶
func (s ModifyClusterRequestSystemEventsLogging) GoString() string
func (*ModifyClusterRequestSystemEventsLogging) SetEnabled ¶
func (s *ModifyClusterRequestSystemEventsLogging) SetEnabled(v bool) *ModifyClusterRequestSystemEventsLogging
func (*ModifyClusterRequestSystemEventsLogging) SetLoggingProject ¶
func (s *ModifyClusterRequestSystemEventsLogging) SetLoggingProject(v string) *ModifyClusterRequestSystemEventsLogging
func (ModifyClusterRequestSystemEventsLogging) String ¶
func (s ModifyClusterRequestSystemEventsLogging) String() 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 (s *ModifyClusterResponse) SetBody(v *ModifyClusterResponseBody) *ModifyClusterResponse
func (*ModifyClusterResponse) SetHeaders ¶
func (s *ModifyClusterResponse) SetHeaders(v map[string]*string) *ModifyClusterResponse
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. // // example: // // cb95aa626a47740afbf6aa09**** ClusterId *string `json:"cluster_id,omitempty" xml:"cluster_id,omitempty"` // The request ID. // // example: // // 687C5BAA-D103-4993-884B-C35E4314**** RequestId *string `json:"request_id,omitempty" xml:"request_id,omitempty"` // The task ID. // // example: // // T-5a54309c80282e39ea00**** TaskId *string `json:"task_id,omitempty" xml:"task_id,omitempty"` }
func (ModifyClusterResponseBody) GoString ¶
func (s ModifyClusterResponseBody) GoString() string
func (*ModifyClusterResponseBody) SetClusterId ¶
func (s *ModifyClusterResponseBody) SetClusterId(v string) *ModifyClusterResponseBody
func (*ModifyClusterResponseBody) SetRequestId ¶
func (s *ModifyClusterResponseBody) SetRequestId(v string) *ModifyClusterResponseBody
func (*ModifyClusterResponseBody) SetTaskId ¶
func (s *ModifyClusterResponseBody) SetTaskId(v string) *ModifyClusterResponseBody
func (ModifyClusterResponseBody) String ¶
func (s ModifyClusterResponseBody) String() string
type ModifyClusterTagsRequest ¶
type ModifyClusterTagsRequest struct { // The data of the tags 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 (s *ModifyClusterTagsRequest) SetBody(v []*Tag) *ModifyClusterTagsRequest
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 (s *ModifyClusterTagsResponse) SetHeaders(v map[string]*string) *ModifyClusterTagsResponse
func (*ModifyClusterTagsResponse) SetStatusCode ¶
func (s *ModifyClusterTagsResponse) SetStatusCode(v int32) *ModifyClusterTagsResponse
func (ModifyClusterTagsResponse) String ¶
func (s ModifyClusterTagsResponse) String() string
type ModifyNodePoolNodeConfigRequest ¶
type ModifyNodePoolNodeConfigRequest struct { ContainerdConfig *ContainerdConfig `json:"containerd_config,omitempty" xml:"containerd_config,omitempty"` // The kubelet configuration. KubeletConfig *KubeletConfig `json:"kubelet_config,omitempty" xml:"kubelet_config,omitempty"` // The OS configuration. OsConfig *ModifyNodePoolNodeConfigRequestOsConfig `json:"os_config,omitempty" xml:"os_config,omitempty" type:"Struct"` // The rolling update configuration. RollingPolicy *ModifyNodePoolNodeConfigRequestRollingPolicy `json:"rolling_policy,omitempty" xml:"rolling_policy,omitempty" type:"Struct"` }
func (ModifyNodePoolNodeConfigRequest) GoString ¶
func (s ModifyNodePoolNodeConfigRequest) GoString() string
func (*ModifyNodePoolNodeConfigRequest) SetContainerdConfig ¶ added in v5.8.10
func (s *ModifyNodePoolNodeConfigRequest) SetContainerdConfig(v *ContainerdConfig) *ModifyNodePoolNodeConfigRequest
func (*ModifyNodePoolNodeConfigRequest) SetKubeletConfig ¶
func (s *ModifyNodePoolNodeConfigRequest) SetKubeletConfig(v *KubeletConfig) *ModifyNodePoolNodeConfigRequest
func (*ModifyNodePoolNodeConfigRequest) SetOsConfig ¶ added in v5.0.1
func (s *ModifyNodePoolNodeConfigRequest) SetOsConfig(v *ModifyNodePoolNodeConfigRequestOsConfig) *ModifyNodePoolNodeConfigRequest
func (*ModifyNodePoolNodeConfigRequest) SetRollingPolicy ¶
func (s *ModifyNodePoolNodeConfigRequest) SetRollingPolicy(v *ModifyNodePoolNodeConfigRequestRollingPolicy) *ModifyNodePoolNodeConfigRequest
func (ModifyNodePoolNodeConfigRequest) String ¶
func (s ModifyNodePoolNodeConfigRequest) String() string
type ModifyNodePoolNodeConfigRequestOsConfig ¶ added in v5.0.1
type ModifyNodePoolNodeConfigRequestOsConfig struct { // Configuration for sysctl kernel parameters. Sysctl map[string]interface{} `json:"sysctl,omitempty" xml:"sysctl,omitempty"` }
func (ModifyNodePoolNodeConfigRequestOsConfig) GoString ¶ added in v5.0.1
func (s ModifyNodePoolNodeConfigRequestOsConfig) GoString() string
func (*ModifyNodePoolNodeConfigRequestOsConfig) SetSysctl ¶ added in v5.0.1
func (s *ModifyNodePoolNodeConfigRequestOsConfig) SetSysctl(v map[string]interface{}) *ModifyNodePoolNodeConfigRequestOsConfig
func (ModifyNodePoolNodeConfigRequestOsConfig) String ¶ added in v5.0.1
func (s ModifyNodePoolNodeConfigRequestOsConfig) String() string
type ModifyNodePoolNodeConfigRequestRollingPolicy ¶
type ModifyNodePoolNodeConfigRequestRollingPolicy struct { // The maximum number of unavailable nodes. // // example: // // 3 MaxParallelism *int64 `json:"max_parallelism,omitempty" xml:"max_parallelism,omitempty"` }
func (ModifyNodePoolNodeConfigRequestRollingPolicy) GoString ¶
func (s ModifyNodePoolNodeConfigRequestRollingPolicy) GoString() string
func (*ModifyNodePoolNodeConfigRequestRollingPolicy) SetMaxParallelism ¶
func (s *ModifyNodePoolNodeConfigRequestRollingPolicy) SetMaxParallelism(v int64) *ModifyNodePoolNodeConfigRequestRollingPolicy
func (ModifyNodePoolNodeConfigRequestRollingPolicy) String ¶
func (s ModifyNodePoolNodeConfigRequestRollingPolicy) String() 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 (s ModifyNodePoolNodeConfigResponse) GoString() string
func (*ModifyNodePoolNodeConfigResponse) SetBody ¶
func (s *ModifyNodePoolNodeConfigResponse) SetBody(v *ModifyNodePoolNodeConfigResponseBody) *ModifyNodePoolNodeConfigResponse
func (*ModifyNodePoolNodeConfigResponse) SetHeaders ¶
func (s *ModifyNodePoolNodeConfigResponse) SetHeaders(v map[string]*string) *ModifyNodePoolNodeConfigResponse
func (*ModifyNodePoolNodeConfigResponse) SetStatusCode ¶
func (s *ModifyNodePoolNodeConfigResponse) SetStatusCode(v int32) *ModifyNodePoolNodeConfigResponse
func (ModifyNodePoolNodeConfigResponse) String ¶
func (s ModifyNodePoolNodeConfigResponse) String() string
type ModifyNodePoolNodeConfigResponseBody ¶
type ModifyNodePoolNodeConfigResponseBody struct { // The node pool ID. // // example: // // np737c3ac1ac684703b9e10673aa2c**** NodepoolId *string `json:"nodepool_id,omitempty" xml:"nodepool_id,omitempty"` // The request ID. // // example: // // D7631D83-6E98-1949-B665-766A62xxxxxx RequestId *string `json:"request_id,omitempty" xml:"request_id,omitempty"` // The task ID. // // example: // // T-5fd211e924e1d00787xxxxxx TaskId *string `json:"task_id,omitempty" xml:"task_id,omitempty"` }
func (ModifyNodePoolNodeConfigResponseBody) GoString ¶
func (s ModifyNodePoolNodeConfigResponseBody) GoString() string
func (*ModifyNodePoolNodeConfigResponseBody) SetNodepoolId ¶
func (s *ModifyNodePoolNodeConfigResponseBody) SetNodepoolId(v string) *ModifyNodePoolNodeConfigResponseBody
func (*ModifyNodePoolNodeConfigResponseBody) SetRequestId ¶
func (s *ModifyNodePoolNodeConfigResponseBody) SetRequestId(v string) *ModifyNodePoolNodeConfigResponseBody
func (*ModifyNodePoolNodeConfigResponseBody) SetTaskId ¶
func (s *ModifyNodePoolNodeConfigResponseBody) SetTaskId(v string) *ModifyNodePoolNodeConfigResponseBody
func (ModifyNodePoolNodeConfigResponseBody) String ¶
func (s ModifyNodePoolNodeConfigResponseBody) String() 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. // // example: // // deny Action *string `json:"action,omitempty" xml:"action,omitempty"` // The ID of the policy instance. // // example: // // allowed-repos-cbhhb 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](https://help.aliyun.com/document_detail/359819.html). // // example: // // "restrictedNamespaces": [ "test" ] Parameters map[string]interface{} `json:"parameters,omitempty" xml:"parameters,omitempty"` }
func (ModifyPolicyInstanceRequest) GoString ¶
func (s ModifyPolicyInstanceRequest) GoString() string
func (*ModifyPolicyInstanceRequest) SetAction ¶
func (s *ModifyPolicyInstanceRequest) SetAction(v string) *ModifyPolicyInstanceRequest
func (*ModifyPolicyInstanceRequest) SetInstanceName ¶
func (s *ModifyPolicyInstanceRequest) SetInstanceName(v string) *ModifyPolicyInstanceRequest
func (*ModifyPolicyInstanceRequest) SetNamespaces ¶
func (s *ModifyPolicyInstanceRequest) SetNamespaces(v []*string) *ModifyPolicyInstanceRequest
func (*ModifyPolicyInstanceRequest) SetParameters ¶
func (s *ModifyPolicyInstanceRequest) SetParameters(v map[string]interface{}) *ModifyPolicyInstanceRequest
func (ModifyPolicyInstanceRequest) String ¶
func (s ModifyPolicyInstanceRequest) String() 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 (s *ModifyPolicyInstanceResponse) SetBody(v *ModifyPolicyInstanceResponseBody) *ModifyPolicyInstanceResponse
func (*ModifyPolicyInstanceResponse) SetHeaders ¶
func (s *ModifyPolicyInstanceResponse) SetHeaders(v map[string]*string) *ModifyPolicyInstanceResponse
func (*ModifyPolicyInstanceResponse) SetStatusCode ¶
func (s *ModifyPolicyInstanceResponse) SetStatusCode(v int32) *ModifyPolicyInstanceResponse
func (ModifyPolicyInstanceResponse) String ¶
func (s ModifyPolicyInstanceResponse) String() 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 (s ModifyPolicyInstanceResponseBody) GoString() string
func (*ModifyPolicyInstanceResponseBody) SetInstances ¶
func (s *ModifyPolicyInstanceResponseBody) SetInstances(v []*string) *ModifyPolicyInstanceResponseBody
func (ModifyPolicyInstanceResponseBody) String ¶
func (s ModifyPolicyInstanceResponseBody) String() string
type Nodepool ¶
type Nodepool struct { AutoScaling *NodepoolAutoScaling `json:"auto_scaling,omitempty" xml:"auto_scaling,omitempty" type:"Struct"` // Deprecated // // example: // // 1 Count *int64 `json:"count,omitempty" xml:"count,omitempty"` // Deprecated InterconnectConfig *NodepoolInterconnectConfig `json:"interconnect_config,omitempty" xml:"interconnect_config,omitempty" type:"Struct"` // example: // // basic 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"` // example: // // 10 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) SetAutoScaling ¶
func (s *Nodepool) SetAutoScaling(v *NodepoolAutoScaling) *Nodepool
func (*Nodepool) SetInterconnectConfig ¶
func (s *Nodepool) SetInterconnectConfig(v *NodepoolInterconnectConfig) *Nodepool
func (*Nodepool) SetInterconnectMode ¶
func (*Nodepool) SetKubernetesConfig ¶
func (s *Nodepool) SetKubernetesConfig(v *NodepoolKubernetesConfig) *Nodepool
func (*Nodepool) SetManagement ¶
func (s *Nodepool) SetManagement(v *NodepoolManagement) *Nodepool
func (*Nodepool) SetMaxNodes ¶
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
type NodepoolAutoScaling ¶
type NodepoolAutoScaling struct { // Deprecated // // example: // // 5 EipBandwidth *int64 `json:"eip_bandwidth,omitempty" xml:"eip_bandwidth,omitempty"` // Deprecated // // example: // // PayByBandwidth EipInternetChargeType *string `json:"eip_internet_charge_type,omitempty" xml:"eip_internet_charge_type,omitempty"` // This parameter is required. // // example: // // true Enable *bool `json:"enable,omitempty" xml:"enable,omitempty"` // Deprecated // // example: // // true IsBondEip *bool `json:"is_bond_eip,omitempty" xml:"is_bond_eip,omitempty"` // This parameter is required. // // example: // // 10 MaxInstances *int64 `json:"max_instances,omitempty" xml:"max_instances,omitempty"` // This parameter is required. // // example: // // 0 MinInstances *int64 `json:"min_instances,omitempty" xml:"min_instances,omitempty"` // example: // // cpu 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 (s *NodepoolAutoScaling) SetType(v string) *NodepoolAutoScaling
func (NodepoolAutoScaling) String ¶
func (s NodepoolAutoScaling) String() string
type NodepoolInterconnectConfig ¶
type NodepoolInterconnectConfig struct { // Deprecated // // example: // // 10 Bandwidth *int64 `json:"bandwidth,omitempty" xml:"bandwidth,omitempty"` // Deprecated // // example: // // ccn-qm5i0i0q9yi******* CcnId *string `json:"ccn_id,omitempty" xml:"ccn_id,omitempty"` // Deprecated // // example: // // cn-shanghai CcnRegionId *string `json:"ccn_region_id,omitempty" xml:"ccn_region_id,omitempty"` // Deprecated // // example: // // cen-ey9k9nfhz0f******* CenId *string `json:"cen_id,omitempty" xml:"cen_id,omitempty"` // Deprecated // // example: // // 1 ImprovedPeriod *string `json:"improved_period,omitempty" xml:"improved_period,omitempty"` }
func (NodepoolInterconnectConfig) GoString ¶
func (s NodepoolInterconnectConfig) GoString() string
func (*NodepoolInterconnectConfig) SetBandwidth ¶
func (s *NodepoolInterconnectConfig) SetBandwidth(v int64) *NodepoolInterconnectConfig
func (*NodepoolInterconnectConfig) SetCcnId ¶
func (s *NodepoolInterconnectConfig) SetCcnId(v string) *NodepoolInterconnectConfig
func (*NodepoolInterconnectConfig) SetCcnRegionId ¶
func (s *NodepoolInterconnectConfig) SetCcnRegionId(v string) *NodepoolInterconnectConfig
func (*NodepoolInterconnectConfig) SetCenId ¶
func (s *NodepoolInterconnectConfig) SetCenId(v string) *NodepoolInterconnectConfig
func (*NodepoolInterconnectConfig) SetImprovedPeriod ¶
func (s *NodepoolInterconnectConfig) SetImprovedPeriod(v string) *NodepoolInterconnectConfig
func (NodepoolInterconnectConfig) String ¶
func (s NodepoolInterconnectConfig) String() string
type NodepoolKubernetesConfig ¶
type NodepoolKubernetesConfig struct { // example: // // true CmsEnabled *bool `json:"cms_enabled,omitempty" xml:"cms_enabled,omitempty"` // example: // // none CpuPolicy *string `json:"cpu_policy,omitempty" xml:"cpu_policy,omitempty"` Labels []*Tag `json:"labels,omitempty" xml:"labels,omitempty" type:"Repeated"` // example: // // customized,test.,5,.com NodeNameMode *string `json:"node_name_mode,omitempty" xml:"node_name_mode,omitempty"` // This parameter is required. // // example: // // docker Runtime *string `json:"runtime,omitempty" xml:"runtime,omitempty"` // This parameter is required. // // example: // // 19.03.5 RuntimeVersion *string `json:"runtime_version,omitempty" xml:"runtime_version,omitempty"` Taints []*Taint `json:"taints,omitempty" xml:"taints,omitempty" type:"Repeated"` // example: // // MXM= UserData *string `json:"user_data,omitempty" xml:"user_data,omitempty"` }
func (NodepoolKubernetesConfig) GoString ¶
func (s NodepoolKubernetesConfig) GoString() string
func (*NodepoolKubernetesConfig) SetCmsEnabled ¶
func (s *NodepoolKubernetesConfig) SetCmsEnabled(v bool) *NodepoolKubernetesConfig
func (*NodepoolKubernetesConfig) SetCpuPolicy ¶
func (s *NodepoolKubernetesConfig) SetCpuPolicy(v string) *NodepoolKubernetesConfig
func (*NodepoolKubernetesConfig) SetLabels ¶
func (s *NodepoolKubernetesConfig) SetLabels(v []*Tag) *NodepoolKubernetesConfig
func (*NodepoolKubernetesConfig) SetNodeNameMode ¶
func (s *NodepoolKubernetesConfig) SetNodeNameMode(v string) *NodepoolKubernetesConfig
func (*NodepoolKubernetesConfig) SetRuntime ¶
func (s *NodepoolKubernetesConfig) SetRuntime(v string) *NodepoolKubernetesConfig
func (*NodepoolKubernetesConfig) SetRuntimeVersion ¶
func (s *NodepoolKubernetesConfig) SetRuntimeVersion(v string) *NodepoolKubernetesConfig
func (*NodepoolKubernetesConfig) SetTaints ¶
func (s *NodepoolKubernetesConfig) SetTaints(v []*Taint) *NodepoolKubernetesConfig
func (*NodepoolKubernetesConfig) SetUserData ¶
func (s *NodepoolKubernetesConfig) SetUserData(v string) *NodepoolKubernetesConfig
func (NodepoolKubernetesConfig) String ¶
func (s NodepoolKubernetesConfig) String() string
type NodepoolManagement ¶
type NodepoolManagement struct { // example: // // true AutoRepair *bool `json:"auto_repair,omitempty" xml:"auto_repair,omitempty"` AutoRepairPolicy *NodepoolManagementAutoRepairPolicy `json:"auto_repair_policy,omitempty" xml:"auto_repair_policy,omitempty" type:"Struct"` // example: // // true AutoUpgrade *bool `json:"auto_upgrade,omitempty" xml:"auto_upgrade,omitempty"` AutoUpgradePolicy *NodepoolManagementAutoUpgradePolicy `json:"auto_upgrade_policy,omitempty" xml:"auto_upgrade_policy,omitempty" type:"Struct"` // example: // // true 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"` // example: // // true 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 (s *NodepoolManagement) SetAutoRepairPolicy(v *NodepoolManagementAutoRepairPolicy) *NodepoolManagement
func (*NodepoolManagement) SetAutoUpgrade ¶
func (s *NodepoolManagement) SetAutoUpgrade(v bool) *NodepoolManagement
func (*NodepoolManagement) SetAutoUpgradePolicy ¶
func (s *NodepoolManagement) SetAutoUpgradePolicy(v *NodepoolManagementAutoUpgradePolicy) *NodepoolManagement
func (*NodepoolManagement) SetAutoVulFix ¶
func (s *NodepoolManagement) SetAutoVulFix(v bool) *NodepoolManagement
func (*NodepoolManagement) SetAutoVulFixPolicy ¶
func (s *NodepoolManagement) SetAutoVulFixPolicy(v *NodepoolManagementAutoVulFixPolicy) *NodepoolManagement
func (*NodepoolManagement) SetEnable ¶
func (s *NodepoolManagement) SetEnable(v bool) *NodepoolManagement
func (*NodepoolManagement) SetUpgradeConfig ¶
func (s *NodepoolManagement) SetUpgradeConfig(v *NodepoolManagementUpgradeConfig) *NodepoolManagement
func (NodepoolManagement) String ¶
func (s NodepoolManagement) String() string
type NodepoolManagementAutoRepairPolicy ¶
type NodepoolManagementAutoRepairPolicy struct { // example: // // true RestartNode *bool `json:"restart_node,omitempty" xml:"restart_node,omitempty"` }
func (NodepoolManagementAutoRepairPolicy) GoString ¶
func (s NodepoolManagementAutoRepairPolicy) GoString() string
func (*NodepoolManagementAutoRepairPolicy) SetRestartNode ¶
func (s *NodepoolManagementAutoRepairPolicy) SetRestartNode(v bool) *NodepoolManagementAutoRepairPolicy
func (NodepoolManagementAutoRepairPolicy) String ¶
func (s NodepoolManagementAutoRepairPolicy) String() string
type NodepoolManagementAutoUpgradePolicy ¶
type NodepoolManagementAutoUpgradePolicy struct { // example: // // true AutoUpgradeKubelet *bool `json:"auto_upgrade_kubelet,omitempty" xml:"auto_upgrade_kubelet,omitempty"` }
func (NodepoolManagementAutoUpgradePolicy) GoString ¶
func (s NodepoolManagementAutoUpgradePolicy) GoString() string
func (*NodepoolManagementAutoUpgradePolicy) SetAutoUpgradeKubelet ¶
func (s *NodepoolManagementAutoUpgradePolicy) SetAutoUpgradeKubelet(v bool) *NodepoolManagementAutoUpgradePolicy
func (NodepoolManagementAutoUpgradePolicy) String ¶
func (s NodepoolManagementAutoUpgradePolicy) String() string
type NodepoolManagementAutoVulFixPolicy ¶
type NodepoolManagementAutoVulFixPolicy struct { // example: // // true RestartNode *bool `json:"restart_node,omitempty" xml:"restart_node,omitempty"` // example: // // asap,nntf VulLevel *string `json:"vul_level,omitempty" xml:"vul_level,omitempty"` }
func (NodepoolManagementAutoVulFixPolicy) GoString ¶
func (s NodepoolManagementAutoVulFixPolicy) GoString() string
func (*NodepoolManagementAutoVulFixPolicy) SetRestartNode ¶
func (s *NodepoolManagementAutoVulFixPolicy) SetRestartNode(v bool) *NodepoolManagementAutoVulFixPolicy
func (*NodepoolManagementAutoVulFixPolicy) SetVulLevel ¶
func (s *NodepoolManagementAutoVulFixPolicy) SetVulLevel(v string) *NodepoolManagementAutoVulFixPolicy
func (NodepoolManagementAutoVulFixPolicy) String ¶
func (s NodepoolManagementAutoVulFixPolicy) String() string
type NodepoolManagementUpgradeConfig ¶
type NodepoolManagementUpgradeConfig struct { // example: // // true AutoUpgrade *bool `json:"auto_upgrade,omitempty" xml:"auto_upgrade,omitempty"` // // 1 MaxUnavailable *int64 `json:"max_unavailable,omitempty" xml:"max_unavailable,omitempty"` // example: // // 5 Surge *int64 `json:"surge,omitempty" xml:"surge,omitempty"` // example: // // 50 SurgePercentage *int64 `json:"surge_percentage,omitempty" xml:"surge_percentage,omitempty"` }
func (NodepoolManagementUpgradeConfig) GoString ¶
func (s NodepoolManagementUpgradeConfig) GoString() string
func (*NodepoolManagementUpgradeConfig) SetAutoUpgrade ¶
func (s *NodepoolManagementUpgradeConfig) SetAutoUpgrade(v bool) *NodepoolManagementUpgradeConfig
func (*NodepoolManagementUpgradeConfig) SetMaxUnavailable ¶
func (s *NodepoolManagementUpgradeConfig) SetMaxUnavailable(v int64) *NodepoolManagementUpgradeConfig
func (*NodepoolManagementUpgradeConfig) SetSurge ¶
func (s *NodepoolManagementUpgradeConfig) SetSurge(v int64) *NodepoolManagementUpgradeConfig
func (*NodepoolManagementUpgradeConfig) SetSurgePercentage ¶
func (s *NodepoolManagementUpgradeConfig) SetSurgePercentage(v int64) *NodepoolManagementUpgradeConfig
func (NodepoolManagementUpgradeConfig) String ¶
func (s NodepoolManagementUpgradeConfig) String() 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 { // This parameter is required. // // example: // // np-test Name *string `json:"name,omitempty" xml:"name,omitempty"` // example: // // rg-acfmyvw3wjm**** ResourceGroupId *string `json:"resource_group_id,omitempty" xml:"resource_group_id,omitempty"` // example: // // ess Type *string `json:"type,omitempty" xml:"type,omitempty"` }
func (NodepoolNodepoolInfo) GoString ¶
func (s NodepoolNodepoolInfo) GoString() string
func (*NodepoolNodepoolInfo) SetName ¶
func (s *NodepoolNodepoolInfo) SetName(v string) *NodepoolNodepoolInfo
func (*NodepoolNodepoolInfo) SetResourceGroupId ¶
func (s *NodepoolNodepoolInfo) SetResourceGroupId(v string) *NodepoolNodepoolInfo
func (*NodepoolNodepoolInfo) SetType ¶
func (s *NodepoolNodepoolInfo) SetType(v string) *NodepoolNodepoolInfo
func (NodepoolNodepoolInfo) String ¶
func (s NodepoolNodepoolInfo) String() string
type NodepoolScalingGroup ¶
type NodepoolScalingGroup struct { // example: // // false AutoRenew *bool `json:"auto_renew,omitempty" xml:"auto_renew,omitempty"` // example: // // 0 AutoRenewPeriod *int64 `json:"auto_renew_period,omitempty" xml:"auto_renew_period,omitempty"` // example: // // true 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"` // example: // // ds-bp1d19mmbsv3jf6xxxxx DeploymentsetId *string `json:"deploymentset_id,omitempty" xml:"deploymentset_id,omitempty"` // example: // // 2 DesiredSize *int64 `json:"desired_size,omitempty" xml:"desired_size,omitempty"` // example: // // aliyun_2_1903_x64_20G_alibase_20200904.vhd ImageId *string `json:"image_id,omitempty" xml:"image_id,omitempty"` // example: // // AliyunLinux ImageType *string `json:"image_type,omitempty" xml:"image_type,omitempty"` // This parameter is required. // // example: // // PostPaid InstanceChargeType *string `json:"instance_charge_type,omitempty" xml:"instance_charge_type,omitempty"` // This parameter is required. InstanceTypes []*string `json:"instance_types,omitempty" xml:"instance_types,omitempty" type:"Repeated"` // example: // // PayByBandwidth InternetChargeType *string `json:"internet_charge_type,omitempty" xml:"internet_charge_type,omitempty"` // example: // // 10 InternetMaxBandwidthOut *int64 `json:"internet_max_bandwidth_out,omitempty" xml:"internet_max_bandwidth_out,omitempty"` // example: // // np-key KeyPair *string `json:"key_pair,omitempty" xml:"key_pair,omitempty"` LoginAsNonRoot *bool `json:"login_as_non_root,omitempty" xml:"login_as_non_root,omitempty"` // example: // // Hello1234,, LoginPassword *string `json:"login_password,omitempty" xml:"login_password,omitempty"` // example: // // COST_OPTIMIZED MultiAzPolicy *string `json:"multi_az_policy,omitempty" xml:"multi_az_policy,omitempty"` // example: // // 0 OnDemandBaseCapacity *int64 `json:"on_demand_base_capacity,omitempty" xml:"on_demand_base_capacity,omitempty"` // example: // // 20 OnDemandPercentageAboveBaseCapacity *int64 `json:"on_demand_percentage_above_base_capacity,omitempty" xml:"on_demand_percentage_above_base_capacity,omitempty"` // example: // // 0 Period *int64 `json:"period,omitempty" xml:"period,omitempty"` // example: // // Month PeriodUnit *string `json:"period_unit,omitempty" xml:"period_unit,omitempty"` // Deprecated // // example: // // AliyunLinux Platform *string `json:"platform,omitempty" xml:"platform,omitempty"` PrivatePoolOptions *NodepoolScalingGroupPrivatePoolOptions `json:"private_pool_options,omitempty" xml:"private_pool_options,omitempty" type:"Struct"` // example: // // example-role RamRoleName *string `json:"ram_role_name,omitempty" xml:"ram_role_name,omitempty"` RdsInstances []*string `json:"rds_instances,omitempty" xml:"rds_instances,omitempty" type:"Repeated"` // example: // // release ScalingPolicy *string `json:"scaling_policy,omitempty" xml:"scaling_policy,omitempty"` // example: // // sg-2zeihch86ooz9io4**** 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"` // example: // // 5 SpotInstancePools *int64 `json:"spot_instance_pools,omitempty" xml:"spot_instance_pools,omitempty"` // example: // // false 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"` // example: // // NoSpot SpotStrategy *string `json:"spot_strategy,omitempty" xml:"spot_strategy,omitempty"` // example: // // true 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"` // example: // // cloud_efficiency SystemDiskCategory *string `json:"system_disk_category,omitempty" xml:"system_disk_category,omitempty"` // example: // // aes-256 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"` // example: // // 0e478b7a-4262-4802-b8cb-00d3fb40**** SystemDiskKmsKeyId *string `json:"system_disk_kms_key_id,omitempty" xml:"system_disk_kms_key_id,omitempty"` // example: // // PL1 SystemDiskPerformanceLevel *string `json:"system_disk_performance_level,omitempty" xml:"system_disk_performance_level,omitempty"` // example: // // 1000 SystemDiskProvisionedIops *int64 `json:"system_disk_provisioned_iops,omitempty" xml:"system_disk_provisioned_iops,omitempty"` // example: // // 120 SystemDiskSize *int64 `json:"system_disk_size,omitempty" xml:"system_disk_size,omitempty"` Tags []*NodepoolScalingGroupTags `json:"tags,omitempty" xml:"tags,omitempty" type:"Repeated"` // This parameter is required. 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 (s *NodepoolScalingGroup) SetImageId(v string) *NodepoolScalingGroup
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 (s *NodepoolScalingGroup) SetKeyPair(v string) *NodepoolScalingGroup
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 (s *NodepoolScalingGroup) SetPeriod(v int64) *NodepoolScalingGroup
func (*NodepoolScalingGroup) SetPeriodUnit ¶
func (s *NodepoolScalingGroup) SetPeriodUnit(v string) *NodepoolScalingGroup
func (*NodepoolScalingGroup) SetPlatform ¶
func (s *NodepoolScalingGroup) SetPlatform(v string) *NodepoolScalingGroup
func (*NodepoolScalingGroup) SetPrivatePoolOptions ¶
func (s *NodepoolScalingGroup) SetPrivatePoolOptions(v *NodepoolScalingGroupPrivatePoolOptions) *NodepoolScalingGroup
func (*NodepoolScalingGroup) SetRamRoleName ¶ added in v5.5.1
func (s *NodepoolScalingGroup) SetRamRoleName(v string) *NodepoolScalingGroup
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 (s *NodepoolScalingGroup) SetSpotPriceLimit(v []*NodepoolScalingGroupSpotPriceLimit) *NodepoolScalingGroup
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 (s *NodepoolScalingGroup) SetTags(v []*NodepoolScalingGroupTags) *NodepoolScalingGroup
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 (s NodepoolScalingGroupPrivatePoolOptions) GoString() string
func (*NodepoolScalingGroupPrivatePoolOptions) SetId ¶
func (s *NodepoolScalingGroupPrivatePoolOptions) SetId(v string) *NodepoolScalingGroupPrivatePoolOptions
func (*NodepoolScalingGroupPrivatePoolOptions) SetMatchCriteria ¶
func (s *NodepoolScalingGroupPrivatePoolOptions) SetMatchCriteria(v string) *NodepoolScalingGroupPrivatePoolOptions
func (NodepoolScalingGroupPrivatePoolOptions) String ¶
func (s NodepoolScalingGroupPrivatePoolOptions) String() string
type NodepoolScalingGroupSpotPriceLimit ¶
type NodepoolScalingGroupSpotPriceLimit struct { // example: // // ecs.c6.large InstanceType *string `json:"instance_type,omitempty" xml:"instance_type,omitempty"` // example: // // 0.39 PriceLimit *string `json:"price_limit,omitempty" xml:"price_limit,omitempty"` }
func (NodepoolScalingGroupSpotPriceLimit) GoString ¶
func (s NodepoolScalingGroupSpotPriceLimit) GoString() string
func (*NodepoolScalingGroupSpotPriceLimit) SetInstanceType ¶
func (s *NodepoolScalingGroupSpotPriceLimit) SetInstanceType(v string) *NodepoolScalingGroupSpotPriceLimit
func (*NodepoolScalingGroupSpotPriceLimit) SetPriceLimit ¶
func (s *NodepoolScalingGroupSpotPriceLimit) SetPriceLimit(v string) *NodepoolScalingGroupSpotPriceLimit
func (NodepoolScalingGroupSpotPriceLimit) String ¶
func (s NodepoolScalingGroupSpotPriceLimit) String() string
type NodepoolScalingGroupTags ¶
type NodepoolScalingGroupTags struct { // example: // // key Key *string `json:"key,omitempty" xml:"key,omitempty"` // example: // // value Value *string `json:"value,omitempty" xml:"value,omitempty"` }
func (NodepoolScalingGroupTags) GoString ¶
func (s NodepoolScalingGroupTags) GoString() string
func (*NodepoolScalingGroupTags) SetKey ¶
func (s *NodepoolScalingGroupTags) SetKey(v string) *NodepoolScalingGroupTags
func (*NodepoolScalingGroupTags) SetValue ¶
func (s *NodepoolScalingGroupTags) SetValue(v string) *NodepoolScalingGroupTags
func (NodepoolScalingGroupTags) String ¶
func (s NodepoolScalingGroupTags) String() string
type NodepoolTeeConfig ¶
type NodepoolTeeConfig struct { // This parameter is required. // // example: // // false 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 service that you want to activate. Valid values: // // - `propayasgo`: ACK clusters (including ACK managed clusters and ACK dedicated clusters), ACK Serverless clusters, and registered clusters. // // - `edgepayasgo`: ACK Edge clusters. // // example: // // propayasgo Type *string `json:"type,omitempty" xml:"type,omitempty"` }
func (OpenAckServiceRequest) GoString ¶
func (s OpenAckServiceRequest) GoString() string
func (*OpenAckServiceRequest) SetType ¶
func (s *OpenAckServiceRequest) SetType(v string) *OpenAckServiceRequest
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 (s *OpenAckServiceResponse) SetBody(v *OpenAckServiceResponseBody) *OpenAckServiceResponse
func (*OpenAckServiceResponse) SetHeaders ¶
func (s *OpenAckServiceResponse) SetHeaders(v map[string]*string) *OpenAckServiceResponse
func (*OpenAckServiceResponse) SetStatusCode ¶
func (s *OpenAckServiceResponse) SetStatusCode(v int32) *OpenAckServiceResponse
func (OpenAckServiceResponse) String ¶
func (s OpenAckServiceResponse) String() string
type OpenAckServiceResponseBody ¶
type OpenAckServiceResponseBody struct { // The ID of the order. // // example: // // 2067*******0374 OrderId *string `json:"order_id,omitempty" xml:"order_id,omitempty"` // The request ID. // // example: // // 20758A-585D-4A41-A9B2-28DA8F4F534F RequestId *string `json:"request_id,omitempty" xml:"request_id,omitempty"` }
func (OpenAckServiceResponseBody) GoString ¶
func (s OpenAckServiceResponseBody) GoString() string
func (*OpenAckServiceResponseBody) SetOrderId ¶
func (s *OpenAckServiceResponseBody) SetOrderId(v string) *OpenAckServiceResponseBody
func (*OpenAckServiceResponseBody) SetRequestId ¶
func (s *OpenAckServiceResponseBody) SetRequestId(v string) *OpenAckServiceResponseBody
func (OpenAckServiceResponseBody) String ¶
func (s OpenAckServiceResponseBody) String() 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 (s *PauseClusterUpgradeResponse) SetHeaders(v map[string]*string) *PauseClusterUpgradeResponse
func (*PauseClusterUpgradeResponse) SetStatusCode ¶
func (s *PauseClusterUpgradeResponse) SetStatusCode(v int32) *PauseClusterUpgradeResponse
func (PauseClusterUpgradeResponse) String ¶
func (s PauseClusterUpgradeResponse) String() 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 (s PauseComponentUpgradeResponse) GoString() string
func (*PauseComponentUpgradeResponse) SetHeaders ¶
func (s *PauseComponentUpgradeResponse) SetHeaders(v map[string]*string) *PauseComponentUpgradeResponse
func (*PauseComponentUpgradeResponse) SetStatusCode ¶
func (s *PauseComponentUpgradeResponse) SetStatusCode(v int32) *PauseComponentUpgradeResponse
func (PauseComponentUpgradeResponse) String ¶
func (s PauseComponentUpgradeResponse) String() 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. // // example: // // 1 Quota *string `json:"quota,omitempty" xml:"quota,omitempty"` // The quota code. // // example: // // q_Kubernetes_Cluster OperationCode *string `json:"operation_code,omitempty" xml:"operation_code,omitempty"` // Indicates whether the quota is adjustable. // // example: // // true Adjustable *bool `json:"adjustable,omitempty" xml:"adjustable,omitempty"` // The unit. // // example: // // Cluster 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. // // This parameter is required. 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 (s *RemoveClusterNodesRequest) SetDrainNode(v bool) *RemoveClusterNodesRequest
func (*RemoveClusterNodesRequest) SetNodes ¶
func (s *RemoveClusterNodesRequest) SetNodes(v []*string) *RemoveClusterNodesRequest
func (*RemoveClusterNodesRequest) SetReleaseNode ¶
func (s *RemoveClusterNodesRequest) SetReleaseNode(v bool) *RemoveClusterNodesRequest
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 (s *RemoveClusterNodesResponse) SetHeaders(v map[string]*string) *RemoveClusterNodesResponse
func (*RemoveClusterNodesResponse) SetStatusCode ¶
func (s *RemoveClusterNodesResponse) SetStatusCode(v int32) *RemoveClusterNodesResponse
func (RemoveClusterNodesResponse) String ¶
func (s RemoveClusterNodesResponse) String() string
type RemoveNodePoolNodesRequest ¶
type RemoveNodePoolNodesRequest struct { // Whether to remove concurrently. // // example: // // false 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. // // example: // // true 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 // // This parameter is deprecated. // // A list of nodes that you want to remove. // // > This parameter is deprecated. Use instance_ids instead. 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. // // example: // // true ReleaseNode *bool `json:"release_node,omitempty" xml:"release_node,omitempty"` }
func (RemoveNodePoolNodesRequest) GoString ¶
func (s RemoveNodePoolNodesRequest) GoString() string
func (*RemoveNodePoolNodesRequest) SetConcurrency ¶
func (s *RemoveNodePoolNodesRequest) SetConcurrency(v bool) *RemoveNodePoolNodesRequest
func (*RemoveNodePoolNodesRequest) SetDrainNode ¶
func (s *RemoveNodePoolNodesRequest) SetDrainNode(v bool) *RemoveNodePoolNodesRequest
func (*RemoveNodePoolNodesRequest) SetInstanceIds ¶
func (s *RemoveNodePoolNodesRequest) SetInstanceIds(v []*string) *RemoveNodePoolNodesRequest
func (*RemoveNodePoolNodesRequest) SetNodes ¶
func (s *RemoveNodePoolNodesRequest) SetNodes(v []*string) *RemoveNodePoolNodesRequest
func (*RemoveNodePoolNodesRequest) SetReleaseNode ¶
func (s *RemoveNodePoolNodesRequest) SetReleaseNode(v bool) *RemoveNodePoolNodesRequest
func (RemoveNodePoolNodesRequest) String ¶
func (s RemoveNodePoolNodesRequest) String() 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 (s *RemoveNodePoolNodesResponse) SetBody(v *RemoveNodePoolNodesResponseBody) *RemoveNodePoolNodesResponse
func (*RemoveNodePoolNodesResponse) SetHeaders ¶
func (s *RemoveNodePoolNodesResponse) SetHeaders(v map[string]*string) *RemoveNodePoolNodesResponse
func (*RemoveNodePoolNodesResponse) SetStatusCode ¶
func (s *RemoveNodePoolNodesResponse) SetStatusCode(v int32) *RemoveNodePoolNodesResponse
func (RemoveNodePoolNodesResponse) String ¶
func (s RemoveNodePoolNodesResponse) String() string
type RemoveNodePoolNodesResponseBody ¶
type RemoveNodePoolNodesResponseBody struct { // The request ID. // // example: // // A9891419-D125-4D89-AFCA-68846675E2F7 RequestId *string `json:"request_id,omitempty" xml:"request_id,omitempty"` // The task ID. // // example: // // T-62a944794ee141074400**** TaskId *string `json:"task_id,omitempty" xml:"task_id,omitempty"` }
func (RemoveNodePoolNodesResponseBody) GoString ¶
func (s RemoveNodePoolNodesResponseBody) GoString() string
func (*RemoveNodePoolNodesResponseBody) SetRequestId ¶
func (s *RemoveNodePoolNodesResponseBody) SetRequestId(v string) *RemoveNodePoolNodesResponseBody
func (*RemoveNodePoolNodesResponseBody) SetTaskId ¶
func (s *RemoveNodePoolNodesResponseBody) SetTaskId(v string) *RemoveNodePoolNodesResponseBody
func (RemoveNodePoolNodesResponseBody) String ¶
func (s RemoveNodePoolNodesResponseBody) String() string
type RemoveNodePoolNodesShrinkRequest ¶
type RemoveNodePoolNodesShrinkRequest struct { // Whether to remove concurrently. // // example: // // false 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. // // example: // // true 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 // // This parameter is deprecated. // // A list of nodes that you want to remove. // // > This parameter is deprecated. Use instance_ids instead. 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. // // example: // // true ReleaseNode *bool `json:"release_node,omitempty" xml:"release_node,omitempty"` }
func (RemoveNodePoolNodesShrinkRequest) GoString ¶
func (s RemoveNodePoolNodesShrinkRequest) GoString() string
func (*RemoveNodePoolNodesShrinkRequest) SetConcurrency ¶
func (s *RemoveNodePoolNodesShrinkRequest) SetConcurrency(v bool) *RemoveNodePoolNodesShrinkRequest
func (*RemoveNodePoolNodesShrinkRequest) SetDrainNode ¶
func (s *RemoveNodePoolNodesShrinkRequest) SetDrainNode(v bool) *RemoveNodePoolNodesShrinkRequest
func (*RemoveNodePoolNodesShrinkRequest) SetInstanceIdsShrink ¶
func (s *RemoveNodePoolNodesShrinkRequest) SetInstanceIdsShrink(v string) *RemoveNodePoolNodesShrinkRequest
func (*RemoveNodePoolNodesShrinkRequest) SetNodesShrink ¶
func (s *RemoveNodePoolNodesShrinkRequest) SetNodesShrink(v string) *RemoveNodePoolNodesShrinkRequest
func (*RemoveNodePoolNodesShrinkRequest) SetReleaseNode ¶
func (s *RemoveNodePoolNodesShrinkRequest) SetReleaseNode(v bool) *RemoveNodePoolNodesShrinkRequest
func (RemoveNodePoolNodesShrinkRequest) String ¶
func (s RemoveNodePoolNodesShrinkRequest) String() string
type RepairClusterNodePoolRequest ¶
type RepairClusterNodePoolRequest struct { // Deprecated // // Specifies whether to enable automatic instance restart. // // ** // // **Warning* - This parameter is deprecated. Any configured values will be ignored. // // example: // // true AutoRestart *bool `json:"auto_restart,omitempty" xml:"auto_restart,omitempty"` // The list of nodes. If not specified, all nodes in the node pool are selected. Nodes []*string `json:"nodes,omitempty" xml:"nodes,omitempty" type:"Repeated"` // The list of repair operations to execute. If not specified, all repair operations are executed. Typically, you do not need to specify this parameter. Operations []*RepairClusterNodePoolRequestOperations `json:"operations,omitempty" xml:"operations,omitempty" type:"Repeated"` }
func (RepairClusterNodePoolRequest) GoString ¶
func (s RepairClusterNodePoolRequest) GoString() string
func (*RepairClusterNodePoolRequest) SetAutoRestart ¶
func (s *RepairClusterNodePoolRequest) SetAutoRestart(v bool) *RepairClusterNodePoolRequest
func (*RepairClusterNodePoolRequest) SetNodes ¶
func (s *RepairClusterNodePoolRequest) SetNodes(v []*string) *RepairClusterNodePoolRequest
func (*RepairClusterNodePoolRequest) SetOperations ¶ added in v5.1.1
func (s *RepairClusterNodePoolRequest) SetOperations(v []*RepairClusterNodePoolRequestOperations) *RepairClusterNodePoolRequest
func (RepairClusterNodePoolRequest) String ¶
func (s RepairClusterNodePoolRequest) String() string
type RepairClusterNodePoolRequestOperations ¶ added in v5.1.1
type RepairClusterNodePoolRequestOperations struct { // The parameters of a repair operation. Args []*string `json:"args,omitempty" xml:"args,omitempty" type:"Repeated"` // The ID of a repair operation. // // example: // // remove.containerdContainer OperationId *string `json:"operation_id,omitempty" xml:"operation_id,omitempty"` }
func (RepairClusterNodePoolRequestOperations) GoString ¶ added in v5.1.1
func (s RepairClusterNodePoolRequestOperations) GoString() string
func (*RepairClusterNodePoolRequestOperations) SetArgs ¶ added in v5.1.1
func (s *RepairClusterNodePoolRequestOperations) SetArgs(v []*string) *RepairClusterNodePoolRequestOperations
func (*RepairClusterNodePoolRequestOperations) SetOperationId ¶ added in v5.1.1
func (s *RepairClusterNodePoolRequestOperations) SetOperationId(v string) *RepairClusterNodePoolRequestOperations
func (RepairClusterNodePoolRequestOperations) String ¶ added in v5.1.1
func (s RepairClusterNodePoolRequestOperations) String() 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 (s RepairClusterNodePoolResponse) GoString() string
func (*RepairClusterNodePoolResponse) SetBody ¶
func (s *RepairClusterNodePoolResponse) SetBody(v *RepairClusterNodePoolResponseBody) *RepairClusterNodePoolResponse
func (*RepairClusterNodePoolResponse) SetHeaders ¶
func (s *RepairClusterNodePoolResponse) SetHeaders(v map[string]*string) *RepairClusterNodePoolResponse
func (*RepairClusterNodePoolResponse) SetStatusCode ¶
func (s *RepairClusterNodePoolResponse) SetStatusCode(v int32) *RepairClusterNodePoolResponse
func (RepairClusterNodePoolResponse) String ¶
func (s RepairClusterNodePoolResponse) String() string
type RepairClusterNodePoolResponseBody ¶
type RepairClusterNodePoolResponseBody struct { // The request ID. // // example: // // db82195b-75a8-40e5-9be4-16f1829dc624 RequestId *string `json:"request_id,omitempty" xml:"request_id,omitempty"` // The ID of the task. // // example: // // T-613b19bbd160ad4928000001 TaskId *string `json:"task_id,omitempty" xml:"task_id,omitempty"` }
func (RepairClusterNodePoolResponseBody) GoString ¶
func (s RepairClusterNodePoolResponseBody) GoString() string
func (*RepairClusterNodePoolResponseBody) SetRequestId ¶
func (s *RepairClusterNodePoolResponseBody) SetRequestId(v string) *RepairClusterNodePoolResponseBody
func (*RepairClusterNodePoolResponseBody) SetTaskId ¶
func (s *RepairClusterNodePoolResponseBody) SetTaskId(v string) *RepairClusterNodePoolResponseBody
func (RepairClusterNodePoolResponseBody) String ¶
func (s RepairClusterNodePoolResponseBody) String() 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 (s ResumeComponentUpgradeResponse) GoString() string
func (*ResumeComponentUpgradeResponse) SetHeaders ¶
func (s *ResumeComponentUpgradeResponse) SetHeaders(v map[string]*string) *ResumeComponentUpgradeResponse
func (*ResumeComponentUpgradeResponse) SetStatusCode ¶
func (s *ResumeComponentUpgradeResponse) SetStatusCode(v int32) *ResumeComponentUpgradeResponse
func (ResumeComponentUpgradeResponse) String ¶
func (s ResumeComponentUpgradeResponse) String() 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 (s *ResumeUpgradeClusterResponse) SetHeaders(v map[string]*string) *ResumeUpgradeClusterResponse
func (*ResumeUpgradeClusterResponse) SetStatusCode ¶
func (s *ResumeUpgradeClusterResponse) SetStatusCode(v int32) *ResumeUpgradeClusterResponse
func (ResumeUpgradeClusterResponse) String ¶
func (s ResumeUpgradeClusterResponse) String() string
type RevokeK8sClusterKubeConfigResponse ¶ added in v5.7.0
type RevokeK8sClusterKubeConfigResponse struct { Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` Body *RevokeK8sClusterKubeConfigResponseBody `json:"body,omitempty" xml:"body,omitempty"` }
func (RevokeK8sClusterKubeConfigResponse) GoString ¶ added in v5.7.0
func (s RevokeK8sClusterKubeConfigResponse) GoString() string
func (*RevokeK8sClusterKubeConfigResponse) SetHeaders ¶ added in v5.7.0
func (s *RevokeK8sClusterKubeConfigResponse) SetHeaders(v map[string]*string) *RevokeK8sClusterKubeConfigResponse
func (*RevokeK8sClusterKubeConfigResponse) SetStatusCode ¶ added in v5.7.0
func (s *RevokeK8sClusterKubeConfigResponse) SetStatusCode(v int32) *RevokeK8sClusterKubeConfigResponse
func (RevokeK8sClusterKubeConfigResponse) String ¶ added in v5.7.0
func (s RevokeK8sClusterKubeConfigResponse) String() string
type RevokeK8sClusterKubeConfigResponseBody ¶ added in v5.7.0
type RevokeK8sClusterKubeConfigResponseBody struct { }
func (RevokeK8sClusterKubeConfigResponseBody) GoString ¶ added in v5.7.0
func (s RevokeK8sClusterKubeConfigResponseBody) GoString() string
func (RevokeK8sClusterKubeConfigResponseBody) String ¶ added in v5.7.0
func (s RevokeK8sClusterKubeConfigResponseBody) String() string
type RunClusterCheckRequest ¶
type RunClusterCheckRequest struct { // The cluster check items. Options map[string]*string `json:"options,omitempty" xml:"options,omitempty"` // The target to be checked. // // example: // // np1f6779297c4444a3a1cdd29be8e5**** Target *string `json:"target,omitempty" xml:"target,omitempty"` // The check method. // // This parameter is required. // // example: // // ClusterUpgrade Type *string `json:"type,omitempty" xml:"type,omitempty"` }
func (RunClusterCheckRequest) GoString ¶
func (s RunClusterCheckRequest) GoString() string
func (*RunClusterCheckRequest) SetOptions ¶
func (s *RunClusterCheckRequest) SetOptions(v map[string]*string) *RunClusterCheckRequest
func (*RunClusterCheckRequest) SetTarget ¶
func (s *RunClusterCheckRequest) SetTarget(v string) *RunClusterCheckRequest
func (*RunClusterCheckRequest) SetType ¶
func (s *RunClusterCheckRequest) SetType(v string) *RunClusterCheckRequest
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 (s *RunClusterCheckResponse) SetBody(v *RunClusterCheckResponseBody) *RunClusterCheckResponse
func (*RunClusterCheckResponse) SetHeaders ¶
func (s *RunClusterCheckResponse) SetHeaders(v map[string]*string) *RunClusterCheckResponse
func (*RunClusterCheckResponse) SetStatusCode ¶
func (s *RunClusterCheckResponse) SetStatusCode(v int32) *RunClusterCheckResponse
func (RunClusterCheckResponse) String ¶
func (s RunClusterCheckResponse) String() string
type RunClusterCheckResponseBody ¶
type RunClusterCheckResponseBody struct { // The ID of the cluster check task. // // example: // // 1697100584236600453-ce0da5a1d627e4e9e9f96cae8ad07****-clustercheck-lboto CheckId *string `json:"check_id,omitempty" xml:"check_id,omitempty"` // The ID of the request. // // example: // // F04DF81D-5C12-1524-B36A-86E02526**** RequestId *string `json:"request_id,omitempty" xml:"request_id,omitempty"` }
func (RunClusterCheckResponseBody) GoString ¶
func (s RunClusterCheckResponseBody) GoString() string
func (*RunClusterCheckResponseBody) SetCheckId ¶
func (s *RunClusterCheckResponseBody) SetCheckId(v string) *RunClusterCheckResponseBody
func (*RunClusterCheckResponseBody) SetRequestId ¶
func (s *RunClusterCheckResponseBody) SetRequestId(v string) *RunClusterCheckResponseBody
func (RunClusterCheckResponseBody) String ¶
func (s RunClusterCheckResponseBody) String() string
type Runtime ¶
type Runtime struct { // example: // // docker Name *string `json:"name,omitempty" xml:"name,omitempty"` // example: // // 19.03.5 Version *string `json:"version,omitempty" xml:"version,omitempty"` }
func (*Runtime) SetVersion ¶
type ScaleClusterNodePoolRequest ¶
type ScaleClusterNodePoolRequest struct { // The number of worker nodes that you want to add. For example, the current node pool contains two nodes. After the two node is scaled out, the node pool contains four nodes. Due to the limit of the node quota, you can add at most 500 nodes in each request. // // example: // // 2 Count *int64 `json:"count,omitempty" xml:"count,omitempty"` }
func (ScaleClusterNodePoolRequest) GoString ¶
func (s ScaleClusterNodePoolRequest) GoString() string
func (*ScaleClusterNodePoolRequest) SetCount ¶
func (s *ScaleClusterNodePoolRequest) SetCount(v int64) *ScaleClusterNodePoolRequest
func (ScaleClusterNodePoolRequest) String ¶
func (s ScaleClusterNodePoolRequest) String() 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 (s *ScaleClusterNodePoolResponse) SetBody(v *ScaleClusterNodePoolResponseBody) *ScaleClusterNodePoolResponse
func (*ScaleClusterNodePoolResponse) SetHeaders ¶
func (s *ScaleClusterNodePoolResponse) SetHeaders(v map[string]*string) *ScaleClusterNodePoolResponse
func (*ScaleClusterNodePoolResponse) SetStatusCode ¶
func (s *ScaleClusterNodePoolResponse) SetStatusCode(v int32) *ScaleClusterNodePoolResponse
func (ScaleClusterNodePoolResponse) String ¶
func (s ScaleClusterNodePoolResponse) String() string
type ScaleClusterNodePoolResponseBody ¶
type ScaleClusterNodePoolResponseBody struct { // The task ID. // // example: // // T-5faa48fb31b6b8078d00**** TaskId *string `json:"task_id,omitempty" xml:"task_id,omitempty"` }
func (ScaleClusterNodePoolResponseBody) GoString ¶
func (s ScaleClusterNodePoolResponseBody) GoString() string
func (*ScaleClusterNodePoolResponseBody) SetTaskId ¶
func (s *ScaleClusterNodePoolResponseBody) SetTaskId(v string) *ScaleClusterNodePoolResponseBody
func (ScaleClusterNodePoolResponseBody) String ¶
func (s ScaleClusterNodePoolResponseBody) String() 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 (s *ScaleClusterRequest) SetCount(v int64) *ScaleClusterRequest
func (*ScaleClusterRequest) SetCpuPolicy ¶
func (s *ScaleClusterRequest) SetCpuPolicy(v string) *ScaleClusterRequest
func (*ScaleClusterRequest) SetDisableRollback ¶
func (s *ScaleClusterRequest) SetDisableRollback(v bool) *ScaleClusterRequest
func (*ScaleClusterRequest) SetKeyPair ¶
func (s *ScaleClusterRequest) SetKeyPair(v string) *ScaleClusterRequest
func (*ScaleClusterRequest) SetLoginPassword ¶
func (s *ScaleClusterRequest) SetLoginPassword(v string) *ScaleClusterRequest
func (*ScaleClusterRequest) SetTags ¶
func (s *ScaleClusterRequest) SetTags(v []*ScaleClusterRequestTags) *ScaleClusterRequest
func (*ScaleClusterRequest) SetTaints ¶
func (s *ScaleClusterRequest) SetTaints(v []*ScaleClusterRequestTaints) *ScaleClusterRequest
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 (s *ScaleClusterRequest) SetWorkerDataDisks(v []*ScaleClusterRequestWorkerDataDisks) *ScaleClusterRequest
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 (s *ScaleClusterRequestTags) SetKey(v string) *ScaleClusterRequestTags
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 (s *ScaleClusterRequestTaints) SetEffect(v string) *ScaleClusterRequestTaints
func (*ScaleClusterRequestTaints) SetKey ¶
func (s *ScaleClusterRequestTaints) SetKey(v string) *ScaleClusterRequestTaints
func (*ScaleClusterRequestTaints) SetValue ¶
func (s *ScaleClusterRequestTaints) SetValue(v string) *ScaleClusterRequestTaints
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 (s ScaleClusterRequestWorkerDataDisks) GoString() string
func (*ScaleClusterRequestWorkerDataDisks) SetCategory ¶
func (s *ScaleClusterRequestWorkerDataDisks) SetCategory(v string) *ScaleClusterRequestWorkerDataDisks
func (*ScaleClusterRequestWorkerDataDisks) SetEncrypted ¶
func (s *ScaleClusterRequestWorkerDataDisks) SetEncrypted(v string) *ScaleClusterRequestWorkerDataDisks
func (*ScaleClusterRequestWorkerDataDisks) SetSize ¶
func (s *ScaleClusterRequestWorkerDataDisks) SetSize(v string) *ScaleClusterRequestWorkerDataDisks
func (ScaleClusterRequestWorkerDataDisks) String ¶
func (s ScaleClusterRequestWorkerDataDisks) String() 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 (s *ScaleClusterResponse) SetBody(v *ScaleClusterResponseBody) *ScaleClusterResponse
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 (s *ScaleClusterResponseBody) SetClusterId(v string) *ScaleClusterResponseBody
func (*ScaleClusterResponseBody) SetRequestId ¶
func (s *ScaleClusterResponseBody) SetRequestId(v string) *ScaleClusterResponseBody
func (*ScaleClusterResponseBody) SetTaskId ¶
func (s *ScaleClusterResponseBody) SetTaskId(v string) *ScaleClusterResponseBody
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`. // // example: // // true CloudMonitorFlags *bool `json:"cloud_monitor_flags,omitempty" xml:"cloud_monitor_flags,omitempty"` // The number of worker nodes that you want to add. // // This parameter is required. // // example: // // 3 Count *int64 `json:"count,omitempty" xml:"count,omitempty"` // The CPU management policy of 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`. // // example: // // none CpuPolicy *string `json:"cpu_policy,omitempty" xml:"cpu_policy,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](https://help.aliyun.com/document_detail/146647.html). // // example: // // m-bp16z7xko3vvv8gt**** ImageId *string `json:"image_id,omitempty" xml:"image_id,omitempty"` // The name of the key pair. You must configure this parameter or the `login_password` parameter. // // This parameter is required. // // example: // // secrity-key KeyPair *string `json:"key_pair,omitempty" xml:"key_pair,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. // // This parameter is required. // // example: // // Hello@1234 LoginPassword *string `json:"login_password,omitempty" xml:"login_password,omitempty"` // The ApsaraDB RDS instances. If you specify a list of ApsaraDB RDS instances, 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 the node. When you add labels to a node, the following rules apply: // // - A label is a case-sensitive key-value pair. You can add up to 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). Tags []*Tag `json:"tags,omitempty" xml:"tags,omitempty" type:"Repeated"` // The taints that you want to add to nodes. 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"` // The user-defined data of the node pool. For more information, see [Generate user-defined data](https://help.aliyun.com/document_detail/49121.html). // // example: // // IyEvdXNyL2Jpbi9iYXNoCmVjaG8gIkhlbGxvIEFD**** UserData *string `json:"user_data,omitempty" xml:"user_data,omitempty"` // The vSwitch IDs. You can select one to three vSwitches when you create a cluster. To ensure the high availability of the cluster, we recommend that you select vSwitches in different zones. // // This parameter is required. 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 and is required only if `worker_instance_charge_type` is set to `PrePaid`. Valid values: // // - `true`: enables auto-renewal. // // - `false`: does not enable auto-renewal. // // Default value: `true` // // example: // // true WorkerAutoRenew *bool `json:"worker_auto_renew,omitempty" xml:"worker_auto_renew,omitempty"` // The auto-renewal duration of worker nodes. 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`. // // example: // // 6 WorkerAutoRenewPeriod *int64 `json:"worker_auto_renew_period,omitempty" xml:"worker_auto_renew_period,omitempty"` // The configurations of the data disks that you want to mount to worker nodes. The configurations include 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`. // // example: // // PrePaid WorkerInstanceChargeType *string `json:"worker_instance_charge_type,omitempty" xml:"worker_instance_charge_type,omitempty"` // The instance configurations of worker nodes. // // This parameter is required. 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. // // example: // // 1 WorkerPeriod *int64 `json:"worker_period,omitempty" xml:"worker_period,omitempty"` // The billing cycle of worker nodes. This parameter is required only if worker_instance_charge_type is set to `PrePaid`. // // Set the value to `Month`. // // example: // // Month WorkerPeriodUnit *string `json:"worker_period_unit,omitempty" xml:"worker_period_unit,omitempty"` // The system disk category of worker nodes. Valid values: // // - `cloud_efficiency`: ultra disk. // // - `cloud_ssd`: standard SSD. // // - `cloud_essd`: Enterprise SSD (ESSD). // // Default value: `cloud_ssd`. // // This parameter is required. // // example: // // cloud_efficiency WorkerSystemDiskCategory *string `json:"worker_system_disk_category,omitempty" xml:"worker_system_disk_category,omitempty"` // The system disk size of worker nodes. Unit: GiB. // // Valid values: 40 to 500. // // Default value: `120`. // // This parameter is required. // // example: // // 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 (s *ScaleOutClusterRequest) SetCount(v int64) *ScaleOutClusterRequest
func (*ScaleOutClusterRequest) SetCpuPolicy ¶
func (s *ScaleOutClusterRequest) SetCpuPolicy(v string) *ScaleOutClusterRequest
func (*ScaleOutClusterRequest) SetImageId ¶
func (s *ScaleOutClusterRequest) SetImageId(v string) *ScaleOutClusterRequest
func (*ScaleOutClusterRequest) SetKeyPair ¶
func (s *ScaleOutClusterRequest) SetKeyPair(v string) *ScaleOutClusterRequest
func (*ScaleOutClusterRequest) SetLoginPassword ¶
func (s *ScaleOutClusterRequest) SetLoginPassword(v string) *ScaleOutClusterRequest
func (*ScaleOutClusterRequest) SetRdsInstances ¶
func (s *ScaleOutClusterRequest) SetRdsInstances(v []*string) *ScaleOutClusterRequest
func (*ScaleOutClusterRequest) SetRuntime ¶
func (s *ScaleOutClusterRequest) SetRuntime(v *Runtime) *ScaleOutClusterRequest
func (*ScaleOutClusterRequest) SetTags ¶
func (s *ScaleOutClusterRequest) SetTags(v []*Tag) *ScaleOutClusterRequest
func (*ScaleOutClusterRequest) SetTaints ¶
func (s *ScaleOutClusterRequest) SetTaints(v []*Taint) *ScaleOutClusterRequest
func (*ScaleOutClusterRequest) SetUserData ¶
func (s *ScaleOutClusterRequest) SetUserData(v string) *ScaleOutClusterRequest
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 (s *ScaleOutClusterRequest) SetWorkerDataDisks(v []*ScaleOutClusterRequestWorkerDataDisks) *ScaleOutClusterRequest
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 the automatic snapshot policy. The system performs automatic backup for a cloud disk based on the specified automatic snapshot policy. // // By default, this parameter is left empty, which indicates that automatic backup is disabled. // // example: // // sp-bp14yziiuvu3s6jn**** AutoSnapshotPolicyId *string `json:"auto_snapshot_policy_id,omitempty" xml:"auto_snapshot_policy_id,omitempty"` // The type of the data disk. // // example: // // cloud_essd Category *string `json:"category,omitempty" xml:"category,omitempty"` // Specifies whether to encrypt the data disks. Valid values: // // - `true`: encrypts the data disk. // // - `false`: does not encrypt the data disk. // // Default value: `false`. // // example: // // true Encrypted *string `json:"encrypted,omitempty" xml:"encrypted,omitempty"` // The size of the data disk. Valid values: 40 to 32767. // // example: // // 120 Size *string `json:"size,omitempty" xml:"size,omitempty"` }
func (ScaleOutClusterRequestWorkerDataDisks) GoString ¶
func (s ScaleOutClusterRequestWorkerDataDisks) GoString() string
func (*ScaleOutClusterRequestWorkerDataDisks) SetAutoSnapshotPolicyId ¶
func (s *ScaleOutClusterRequestWorkerDataDisks) SetAutoSnapshotPolicyId(v string) *ScaleOutClusterRequestWorkerDataDisks
func (*ScaleOutClusterRequestWorkerDataDisks) SetCategory ¶
func (s *ScaleOutClusterRequestWorkerDataDisks) SetCategory(v string) *ScaleOutClusterRequestWorkerDataDisks
func (*ScaleOutClusterRequestWorkerDataDisks) SetEncrypted ¶
func (s *ScaleOutClusterRequestWorkerDataDisks) SetEncrypted(v string) *ScaleOutClusterRequestWorkerDataDisks
func (*ScaleOutClusterRequestWorkerDataDisks) SetSize ¶
func (s *ScaleOutClusterRequestWorkerDataDisks) SetSize(v string) *ScaleOutClusterRequestWorkerDataDisks
func (ScaleOutClusterRequestWorkerDataDisks) String ¶
func (s ScaleOutClusterRequestWorkerDataDisks) String() 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 (s *ScaleOutClusterResponse) SetBody(v *ScaleOutClusterResponseBody) *ScaleOutClusterResponse
func (*ScaleOutClusterResponse) SetHeaders ¶
func (s *ScaleOutClusterResponse) SetHeaders(v map[string]*string) *ScaleOutClusterResponse
func (*ScaleOutClusterResponse) SetStatusCode ¶
func (s *ScaleOutClusterResponse) SetStatusCode(v int32) *ScaleOutClusterResponse
func (ScaleOutClusterResponse) String ¶
func (s ScaleOutClusterResponse) String() string
type ScaleOutClusterResponseBody ¶
type ScaleOutClusterResponseBody struct { // The cluster ID. // // example: // // c82e6987e2961451182edacd74faf**** ClusterId *string `json:"cluster_id,omitempty" xml:"cluster_id,omitempty"` // The request ID. // // example: // // 687C5BAA-D103-4993-884B-C35E4314A1E1 RequestId *string `json:"request_id,omitempty" xml:"request_id,omitempty"` // The task ID. // // example: // // T-5a54309c80282e39ea00002f TaskId *string `json:"task_id,omitempty" xml:"task_id,omitempty"` }
func (ScaleOutClusterResponseBody) GoString ¶
func (s ScaleOutClusterResponseBody) GoString() string
func (*ScaleOutClusterResponseBody) SetClusterId ¶
func (s *ScaleOutClusterResponseBody) SetClusterId(v string) *ScaleOutClusterResponseBody
func (*ScaleOutClusterResponseBody) SetRequestId ¶
func (s *ScaleOutClusterResponseBody) SetRequestId(v string) *ScaleOutClusterResponseBody
func (*ScaleOutClusterResponseBody) SetTaskId ¶
func (s *ScaleOutClusterResponseBody) SetTaskId(v string) *ScaleOutClusterResponseBody
func (ScaleOutClusterResponseBody) String ¶
func (s ScaleOutClusterResponseBody) String() 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 (s *ScanClusterVulsResponse) SetBody(v *ScanClusterVulsResponseBody) *ScanClusterVulsResponse
func (*ScanClusterVulsResponse) SetHeaders ¶
func (s *ScanClusterVulsResponse) SetHeaders(v map[string]*string) *ScanClusterVulsResponse
func (*ScanClusterVulsResponse) SetStatusCode ¶
func (s *ScanClusterVulsResponse) SetStatusCode(v int32) *ScanClusterVulsResponse
func (ScanClusterVulsResponse) String ¶
func (s ScanClusterVulsResponse) String() string
type ScanClusterVulsResponseBody ¶
type ScanClusterVulsResponseBody struct { // Request ID. // // example: // // 687C5BAA-D103-4993-884B-C35E4314A1E1 RequestId *string `json:"request_id,omitempty" xml:"request_id,omitempty"` // Task ID. // // example: // // T-xascadasd***** TaskId *string `json:"task_id,omitempty" xml:"task_id,omitempty"` }
func (ScanClusterVulsResponseBody) GoString ¶
func (s ScanClusterVulsResponseBody) GoString() string
func (*ScanClusterVulsResponseBody) SetRequestId ¶
func (s *ScanClusterVulsResponseBody) SetRequestId(v string) *ScanClusterVulsResponseBody
func (*ScanClusterVulsResponseBody) SetTaskId ¶
func (s *ScanClusterVulsResponseBody) SetTaskId(v string) *ScanClusterVulsResponseBody
func (ScanClusterVulsResponseBody) String ¶
func (s ScanClusterVulsResponseBody) String() string
type StandardComponentsValue ¶
type StandardComponentsValue struct { // The name of the component. // // example: // // ack-arena Name *string `json:"name,omitempty" xml:"name,omitempty"` // The version of the component. // // example: // // 0.5.0 Version *string `json:"version,omitempty" xml:"version,omitempty"` // The description of the component. // // example: // // *** 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. // // example: // // false 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. // // example: // // false Disabled *bool `json:"disabled,omitempty" xml:"disabled,omitempty"` }
func (StandardComponentsValue) GoString ¶
func (s StandardComponentsValue) GoString() string
func (*StandardComponentsValue) SetDescription ¶
func (s *StandardComponentsValue) SetDescription(v string) *StandardComponentsValue
func (*StandardComponentsValue) SetDisabled ¶
func (s *StandardComponentsValue) SetDisabled(v bool) *StandardComponentsValue
func (*StandardComponentsValue) SetName ¶
func (s *StandardComponentsValue) SetName(v string) *StandardComponentsValue
func (*StandardComponentsValue) SetRequired ¶
func (s *StandardComponentsValue) SetRequired(v string) *StandardComponentsValue
func (*StandardComponentsValue) SetVersion ¶
func (s *StandardComponentsValue) SetVersion(v string) *StandardComponentsValue
func (StandardComponentsValue) String ¶
func (s StandardComponentsValue) String() string
type StartAlertRequest ¶
type StartAlertRequest struct { // The name of the alert rule group. // // example: // // sample AlertRuleGroupName *string `json:"alert_rule_group_name,omitempty" xml:"alert_rule_group_name,omitempty"` // The name of the alert rule. // // example: // // sample 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 (s *StartAlertResponse) SetBody(v *StartAlertResponseBody) *StartAlertResponse
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. // // example: // // success Msg *string `json:"msg,omitempty" xml:"msg,omitempty"` // The status. // // example: // // true Status *bool `json:"status,omitempty" xml:"status,omitempty"` }
func (StartAlertResponseBody) GoString ¶
func (s StartAlertResponseBody) GoString() string
func (*StartAlertResponseBody) SetMsg ¶
func (s *StartAlertResponseBody) SetMsg(v string) *StartAlertResponseBody
func (*StartAlertResponseBody) SetStatus ¶
func (s *StartAlertResponseBody) SetStatus(v bool) *StartAlertResponseBody
func (StartAlertResponseBody) String ¶
func (s StartAlertResponseBody) String() string
type StopAlertRequest ¶
type StopAlertRequest struct { // The name of the alert rule group. // // example: // // sample AlertRuleGroupName *string `json:"alert_rule_group_name,omitempty" xml:"alert_rule_group_name,omitempty"` // The name of the alert rule. // // example: // // sample 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 (s *StopAlertResponse) SetBody(v *StopAlertResponseBody) *StopAlertResponse
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. // // example: // // Success Msg *string `json:"msg,omitempty" xml:"msg,omitempty"` // The operation result. Valid values: // // - True: The operation is successful. // // - False: The operation failed. // // example: // // True Status *bool `json:"status,omitempty" xml:"status,omitempty"` }
func (StopAlertResponseBody) GoString ¶
func (s StopAlertResponseBody) GoString() string
func (*StopAlertResponseBody) SetMsg ¶
func (s *StopAlertResponseBody) SetMsg(v string) *StopAlertResponseBody
func (*StopAlertResponseBody) SetStatus ¶
func (s *StopAlertResponseBody) SetStatus(v bool) *StopAlertResponseBody
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 (s *SyncClusterNodePoolResponse) SetBody(v *SyncClusterNodePoolResponseBody) *SyncClusterNodePoolResponse
func (*SyncClusterNodePoolResponse) SetHeaders ¶
func (s *SyncClusterNodePoolResponse) SetHeaders(v map[string]*string) *SyncClusterNodePoolResponse
func (*SyncClusterNodePoolResponse) SetStatusCode ¶
func (s *SyncClusterNodePoolResponse) SetStatusCode(v int32) *SyncClusterNodePoolResponse
func (SyncClusterNodePoolResponse) String ¶
func (s SyncClusterNodePoolResponse) String() string
type SyncClusterNodePoolResponseBody ¶
type SyncClusterNodePoolResponseBody struct { // The request ID. // // example: // // 2D69A58F-345C-4FDE-88E4-BF51894XXXXX RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"` }
func (SyncClusterNodePoolResponseBody) GoString ¶
func (s SyncClusterNodePoolResponseBody) GoString() string
func (*SyncClusterNodePoolResponseBody) SetRequestId ¶
func (s *SyncClusterNodePoolResponseBody) SetRequestId(v string) *SyncClusterNodePoolResponseBody
func (SyncClusterNodePoolResponseBody) String ¶
func (s SyncClusterNodePoolResponseBody) String() string
type Tag ¶
type TagResourcesRequest ¶
type TagResourcesRequest struct { // The ID of the region in which the resource resides. // // This parameter is required. // // example: // // cn-hangzhou RegionId *string `json:"region_id,omitempty" xml:"region_id,omitempty"` // The list of resource IDs. // // This parameter is required. ResourceIds []*string `json:"resource_ids,omitempty" xml:"resource_ids,omitempty" type:"Repeated"` // The type of resources that you want to label. Set the value to `CLUSTER`. // // This parameter is required. // // example: // // CLUSTER ResourceType *string `json:"resource_type,omitempty" xml:"resource_type,omitempty"` // The tags that you want to add to the resources in key-value pairs. You can add up to 20 key-value pairs. Note: // // - The values cannot be empty strings. A value must be 1 to 128 characters in length. // // - A key or value cannot start with `aliyun` or `acs:`. // // - A key or value cannot contain `http://` or `https://`. // // This parameter is required. 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 (s *TagResourcesResponse) SetBody(v *TagResourcesResponseBody) *TagResourcesResponse
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. // // example: // // 2D69A58F-345C-4FDE-88E4-BF51894XXXXX RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"` }
func (TagResourcesResponseBody) GoString ¶
func (s TagResourcesResponseBody) GoString() string
func (*TagResourcesResponseBody) SetRequestId ¶
func (s *TagResourcesResponseBody) SetRequestId(v string) *TagResourcesResponseBody
func (TagResourcesResponseBody) String ¶
func (s TagResourcesResponseBody) String() string
type Taint ¶
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 (s UnInstallClusterAddonsRequest) GoString() string
func (*UnInstallClusterAddonsRequest) SetAddons ¶
func (s *UnInstallClusterAddonsRequest) SetAddons(v []*UnInstallClusterAddonsRequestAddons) *UnInstallClusterAddonsRequest
func (UnInstallClusterAddonsRequest) String ¶
func (s UnInstallClusterAddonsRequest) String() string
type UnInstallClusterAddonsRequestAddons ¶
type UnInstallClusterAddonsRequestAddons struct { // Specifies whether to clear cloud resources. // // - true: clears the data and cloud resources. // // - false: retains the data and cloud resources. // // example: // // true CleanupCloudResources *bool `json:"cleanup_cloud_resources,omitempty" xml:"cleanup_cloud_resources,omitempty"` // The name of the component. // // example: // // ack-node-problem-detector Name *string `json:"name,omitempty" xml:"name,omitempty"` }
func (UnInstallClusterAddonsRequestAddons) GoString ¶
func (s UnInstallClusterAddonsRequestAddons) GoString() string
func (*UnInstallClusterAddonsRequestAddons) SetCleanupCloudResources ¶
func (s *UnInstallClusterAddonsRequestAddons) SetCleanupCloudResources(v bool) *UnInstallClusterAddonsRequestAddons
func (*UnInstallClusterAddonsRequestAddons) SetName ¶
func (s *UnInstallClusterAddonsRequestAddons) SetName(v string) *UnInstallClusterAddonsRequestAddons
func (UnInstallClusterAddonsRequestAddons) String ¶
func (s UnInstallClusterAddonsRequestAddons) String() string
type UnInstallClusterAddonsResponse ¶
type UnInstallClusterAddonsResponse struct { Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` Body *UnInstallClusterAddonsResponseBody `json:"body,omitempty" xml:"body,omitempty"` }
func (UnInstallClusterAddonsResponse) GoString ¶
func (s UnInstallClusterAddonsResponse) GoString() string
func (*UnInstallClusterAddonsResponse) SetBody ¶ added in v5.8.3
func (s *UnInstallClusterAddonsResponse) SetBody(v *UnInstallClusterAddonsResponseBody) *UnInstallClusterAddonsResponse
func (*UnInstallClusterAddonsResponse) SetHeaders ¶
func (s *UnInstallClusterAddonsResponse) SetHeaders(v map[string]*string) *UnInstallClusterAddonsResponse
func (*UnInstallClusterAddonsResponse) SetStatusCode ¶
func (s *UnInstallClusterAddonsResponse) SetStatusCode(v int32) *UnInstallClusterAddonsResponse
func (UnInstallClusterAddonsResponse) String ¶
func (s UnInstallClusterAddonsResponse) String() string
type UnInstallClusterAddonsResponseBody ¶ added in v5.8.3
type UnInstallClusterAddonsResponseBody struct { // The ID of the cluster. // // example: // // c5b5e80b0b64a4bf6939d2d8fbbc5**** ClusterId *string `json:"cluster_id,omitempty" xml:"cluster_id,omitempty"` // The ID of the request. // // example: // // 74D1512F-67DA-54E8-99EA-4D50EB4898F4 RequestId *string `json:"request_id,omitempty" xml:"request_id,omitempty"` // The ID of the task. // // example: // // T-66e39b39c0fdd001320005c0 TaskId *string `json:"task_id,omitempty" xml:"task_id,omitempty"` }
func (UnInstallClusterAddonsResponseBody) GoString ¶ added in v5.8.3
func (s UnInstallClusterAddonsResponseBody) GoString() string
func (*UnInstallClusterAddonsResponseBody) SetClusterId ¶ added in v5.8.3
func (s *UnInstallClusterAddonsResponseBody) SetClusterId(v string) *UnInstallClusterAddonsResponseBody
func (*UnInstallClusterAddonsResponseBody) SetRequestId ¶ added in v5.8.3
func (s *UnInstallClusterAddonsResponseBody) SetRequestId(v string) *UnInstallClusterAddonsResponseBody
func (*UnInstallClusterAddonsResponseBody) SetTaskId ¶ added in v5.8.3
func (s *UnInstallClusterAddonsResponseBody) SetTaskId(v string) *UnInstallClusterAddonsResponseBody
func (UnInstallClusterAddonsResponseBody) String ¶ added in v5.8.3
func (s UnInstallClusterAddonsResponseBody) String() 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. // // example: // // true All *bool `json:"all,omitempty" xml:"all,omitempty"` // The region ID of the resources. // // This parameter is required. // // example: // // cn-hangzhou RegionId *string `json:"region_id,omitempty" xml:"region_id,omitempty"` // The list of resource IDs. // // This parameter is required. ResourceIds []*string `json:"resource_ids,omitempty" xml:"resource_ids,omitempty" type:"Repeated"` // The type of resource. Set the value to `CLUSTER`. // // This parameter is required. // // example: // // CLUSTER ResourceType *string `json:"resource_type,omitempty" xml:"resource_type,omitempty"` // The list of keys of the labels that you want to remove. // // This parameter is required. TagKeys []*string `json:"tag_keys,omitempty" xml:"tag_keys,omitempty" type:"Repeated"` }
func (UntagResourcesRequest) GoString ¶
func (s UntagResourcesRequest) GoString() string
func (*UntagResourcesRequest) SetAll ¶
func (s *UntagResourcesRequest) SetAll(v bool) *UntagResourcesRequest
func (*UntagResourcesRequest) SetRegionId ¶
func (s *UntagResourcesRequest) SetRegionId(v string) *UntagResourcesRequest
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 (s *UntagResourcesResponse) SetBody(v *UntagResourcesResponseBody) *UntagResourcesResponse
func (*UntagResourcesResponse) SetHeaders ¶
func (s *UntagResourcesResponse) SetHeaders(v map[string]*string) *UntagResourcesResponse
func (*UntagResourcesResponse) SetStatusCode ¶
func (s *UntagResourcesResponse) SetStatusCode(v int32) *UntagResourcesResponse
func (UntagResourcesResponse) String ¶
func (s UntagResourcesResponse) String() string
type UntagResourcesResponseBody ¶
type UntagResourcesResponseBody struct { // The request ID. // // example: // // 2D69A58F-345C-4FDE-88E4-BF51894XXXXX RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"` }
func (UntagResourcesResponseBody) GoString ¶
func (s UntagResourcesResponseBody) GoString() string
func (*UntagResourcesResponseBody) SetRequestId ¶
func (s *UntagResourcesResponseBody) SetRequestId(v string) *UntagResourcesResponseBody
func (UntagResourcesResponseBody) String ¶
func (s UntagResourcesResponseBody) String() 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. // // example: // // true All *bool `json:"all,omitempty" xml:"all,omitempty"` // The region ID of the resources. // // This parameter is required. // // example: // // cn-hangzhou RegionId *string `json:"region_id,omitempty" xml:"region_id,omitempty"` // The list of resource IDs. // // This parameter is required. ResourceIdsShrink *string `json:"resource_ids,omitempty" xml:"resource_ids,omitempty"` // The type of resource. Set the value to `CLUSTER`. // // This parameter is required. // // example: // // CLUSTER ResourceType *string `json:"resource_type,omitempty" xml:"resource_type,omitempty"` // The list of keys of the labels that you want to remove. // // This parameter is required. TagKeysShrink *string `json:"tag_keys,omitempty" xml:"tag_keys,omitempty"` }
func (UntagResourcesShrinkRequest) GoString ¶
func (s UntagResourcesShrinkRequest) GoString() string
func (*UntagResourcesShrinkRequest) SetAll ¶
func (s *UntagResourcesShrinkRequest) SetAll(v bool) *UntagResourcesShrinkRequest
func (*UntagResourcesShrinkRequest) SetRegionId ¶
func (s *UntagResourcesShrinkRequest) SetRegionId(v string) *UntagResourcesShrinkRequest
func (*UntagResourcesShrinkRequest) SetResourceIdsShrink ¶
func (s *UntagResourcesShrinkRequest) SetResourceIdsShrink(v string) *UntagResourcesShrinkRequest
func (*UntagResourcesShrinkRequest) SetResourceType ¶
func (s *UntagResourcesShrinkRequest) SetResourceType(v string) *UntagResourcesShrinkRequest
func (*UntagResourcesShrinkRequest) SetTagKeysShrink ¶
func (s *UntagResourcesShrinkRequest) SetTagKeysShrink(v string) *UntagResourcesShrinkRequest
func (UntagResourcesShrinkRequest) String ¶
func (s UntagResourcesShrinkRequest) String() string
type UpdateClusterAuditLogConfigRequest ¶ added in v5.4.0
type UpdateClusterAuditLogConfigRequest struct { // Enable or disable audit logging. // // - false: enables audit logging or updates the audit logging configurations. // // - true: disables audit logging. // // example: // // false Disable *bool `json:"disable,omitempty" xml:"disable,omitempty"` // The [Simple Log Service project](https://help.aliyun.com/document_detail/48873.html) to which the [Logstore](https://help.aliyun.com/document_detail/48873.html) storing the cluster audit logs belongs. // // - Default value: k8s-log-{clusterid}. // // - After the cluster audit log feature is enabled, a Logstore is created in the specified Simple Log Service project to store cluster audit logs. // // - If you want to change the project after audit logging is enabled for the cluster, you can use this parameter to specify another project. You can perform this operation only in ACK managed clusters. // // example: // // k8s-log-c82e6987e2961451182edacd74faf**** SlsProjectName *string `json:"sls_project_name,omitempty" xml:"sls_project_name,omitempty"` }
func (UpdateClusterAuditLogConfigRequest) GoString ¶ added in v5.4.0
func (s UpdateClusterAuditLogConfigRequest) GoString() string
func (*UpdateClusterAuditLogConfigRequest) SetDisable ¶ added in v5.4.0
func (s *UpdateClusterAuditLogConfigRequest) SetDisable(v bool) *UpdateClusterAuditLogConfigRequest
func (*UpdateClusterAuditLogConfigRequest) SetSlsProjectName ¶ added in v5.4.0
func (s *UpdateClusterAuditLogConfigRequest) SetSlsProjectName(v string) *UpdateClusterAuditLogConfigRequest
func (UpdateClusterAuditLogConfigRequest) String ¶ added in v5.4.0
func (s UpdateClusterAuditLogConfigRequest) String() string
type UpdateClusterAuditLogConfigResponse ¶ added in v5.4.0
type UpdateClusterAuditLogConfigResponse struct { Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` Body *UpdateClusterAuditLogConfigResponseBody `json:"body,omitempty" xml:"body,omitempty"` }
func (UpdateClusterAuditLogConfigResponse) GoString ¶ added in v5.4.0
func (s UpdateClusterAuditLogConfigResponse) GoString() string
func (*UpdateClusterAuditLogConfigResponse) SetHeaders ¶ added in v5.4.0
func (s *UpdateClusterAuditLogConfigResponse) SetHeaders(v map[string]*string) *UpdateClusterAuditLogConfigResponse
func (*UpdateClusterAuditLogConfigResponse) SetStatusCode ¶ added in v5.4.0
func (s *UpdateClusterAuditLogConfigResponse) SetStatusCode(v int32) *UpdateClusterAuditLogConfigResponse
func (UpdateClusterAuditLogConfigResponse) String ¶ added in v5.4.0
func (s UpdateClusterAuditLogConfigResponse) String() string
type UpdateClusterAuditLogConfigResponseBody ¶ added in v5.4.0
type UpdateClusterAuditLogConfigResponseBody struct { // The cluster ID. // // example: // // c93095129fc41463aa455d89444fd**** ClusterId *string `json:"cluster_id,omitempty" xml:"cluster_id,omitempty"` // The ID of the request. // // example: // // 48BD70F6-A7E6-543D-9F23-08DEB764C92E RequestId *string `json:"request_id,omitempty" xml:"request_id,omitempty"` // The ID of the task. // // example: // // T-5faa48fb31b6b8078d00**** TaskId *string `json:"task_id,omitempty" xml:"task_id,omitempty"` }
func (UpdateClusterAuditLogConfigResponseBody) GoString ¶ added in v5.4.0
func (s UpdateClusterAuditLogConfigResponseBody) GoString() string
func (*UpdateClusterAuditLogConfigResponseBody) SetClusterId ¶ added in v5.4.0
func (s *UpdateClusterAuditLogConfigResponseBody) SetClusterId(v string) *UpdateClusterAuditLogConfigResponseBody
func (*UpdateClusterAuditLogConfigResponseBody) SetRequestId ¶ added in v5.4.0
func (s *UpdateClusterAuditLogConfigResponseBody) SetRequestId(v string) *UpdateClusterAuditLogConfigResponseBody
func (*UpdateClusterAuditLogConfigResponseBody) SetTaskId ¶ added in v5.4.0
func (s *UpdateClusterAuditLogConfigResponseBody) SetTaskId(v string) *UpdateClusterAuditLogConfigResponseBody
func (UpdateClusterAuditLogConfigResponseBody) String ¶ added in v5.4.0
func (s UpdateClusterAuditLogConfigResponseBody) String() string
type UpdateContactGroupForAlertRequest ¶ added in v5.7.1
type UpdateContactGroupForAlertRequest struct { // The name of the alert contact group. // // example: // // sample AlertRuleGroupName *string `json:"alert_rule_group_name,omitempty" xml:"alert_rule_group_name,omitempty"` // The list of contact group IDs. ContactGroupIds []*int64 `json:"contact_group_ids,omitempty" xml:"contact_group_ids,omitempty" type:"Repeated"` // The name of the container registry instance. // // example: // // sample CrName *string `json:"cr_name,omitempty" xml:"cr_name,omitempty"` // The namespace in which the resource resides. // // example: // // default Namespace *string `json:"namespace,omitempty" xml:"namespace,omitempty"` }
func (UpdateContactGroupForAlertRequest) GoString ¶ added in v5.7.1
func (s UpdateContactGroupForAlertRequest) GoString() string
func (*UpdateContactGroupForAlertRequest) SetAlertRuleGroupName ¶ added in v5.7.1
func (s *UpdateContactGroupForAlertRequest) SetAlertRuleGroupName(v string) *UpdateContactGroupForAlertRequest
func (*UpdateContactGroupForAlertRequest) SetContactGroupIds ¶ added in v5.7.1
func (s *UpdateContactGroupForAlertRequest) SetContactGroupIds(v []*int64) *UpdateContactGroupForAlertRequest
func (*UpdateContactGroupForAlertRequest) SetCrName ¶ added in v5.7.1
func (s *UpdateContactGroupForAlertRequest) SetCrName(v string) *UpdateContactGroupForAlertRequest
func (*UpdateContactGroupForAlertRequest) SetNamespace ¶ added in v5.7.1
func (s *UpdateContactGroupForAlertRequest) SetNamespace(v string) *UpdateContactGroupForAlertRequest
func (UpdateContactGroupForAlertRequest) String ¶ added in v5.7.1
func (s UpdateContactGroupForAlertRequest) String() string
type UpdateContactGroupForAlertResponse ¶
type UpdateContactGroupForAlertResponse struct { Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` Body *UpdateContactGroupForAlertResponseBody `json:"body,omitempty" xml:"body,omitempty"` }
func (UpdateContactGroupForAlertResponse) GoString ¶
func (s UpdateContactGroupForAlertResponse) GoString() string
func (*UpdateContactGroupForAlertResponse) SetHeaders ¶
func (s *UpdateContactGroupForAlertResponse) SetHeaders(v map[string]*string) *UpdateContactGroupForAlertResponse
func (*UpdateContactGroupForAlertResponse) SetStatusCode ¶
func (s *UpdateContactGroupForAlertResponse) SetStatusCode(v int32) *UpdateContactGroupForAlertResponse
func (UpdateContactGroupForAlertResponse) String ¶
func (s UpdateContactGroupForAlertResponse) String() string
type UpdateContactGroupForAlertResponseBody ¶ added in v5.7.1
type UpdateContactGroupForAlertResponseBody struct { // The error message returned if the call fails. // // example: // // contact group illegal. Msg *string `json:"msg,omitempty" xml:"msg,omitempty"` // The update status. // // - true: The update is successful. // // - false: The update failed. // // example: // // true Status *bool `json:"status,omitempty" xml:"status,omitempty"` }
func (UpdateContactGroupForAlertResponseBody) GoString ¶ added in v5.7.1
func (s UpdateContactGroupForAlertResponseBody) GoString() string
func (*UpdateContactGroupForAlertResponseBody) SetMsg ¶ added in v5.7.1
func (s *UpdateContactGroupForAlertResponseBody) SetMsg(v string) *UpdateContactGroupForAlertResponseBody
func (*UpdateContactGroupForAlertResponseBody) SetStatus ¶ added in v5.7.1
func (s *UpdateContactGroupForAlertResponseBody) SetStatus(v bool) *UpdateContactGroupForAlertResponseBody
func (UpdateContactGroupForAlertResponseBody) String ¶ added in v5.7.1
func (s UpdateContactGroupForAlertResponseBody) String() string
type UpdateControlPlaneLogRequest ¶
type UpdateControlPlaneLogRequest struct { // The ID of the Alibaba Cloud account. // // if can be null: // true // // example: // // 162981***** 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. // // if can be null: // true // // example: // // k8s-log-c5b5e80b0b64a4bf6939d2d8fbbc5**** 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. // // if can be null: // true // // example: // // 30 LogTtl *string `json:"log_ttl,omitempty" xml:"log_ttl,omitempty"` }
func (UpdateControlPlaneLogRequest) GoString ¶
func (s UpdateControlPlaneLogRequest) GoString() string
func (*UpdateControlPlaneLogRequest) SetAliuid ¶
func (s *UpdateControlPlaneLogRequest) SetAliuid(v string) *UpdateControlPlaneLogRequest
func (*UpdateControlPlaneLogRequest) SetComponents ¶
func (s *UpdateControlPlaneLogRequest) SetComponents(v []*string) *UpdateControlPlaneLogRequest
func (*UpdateControlPlaneLogRequest) SetLogProject ¶
func (s *UpdateControlPlaneLogRequest) SetLogProject(v string) *UpdateControlPlaneLogRequest
func (*UpdateControlPlaneLogRequest) SetLogTtl ¶
func (s *UpdateControlPlaneLogRequest) SetLogTtl(v string) *UpdateControlPlaneLogRequest
func (UpdateControlPlaneLogRequest) String ¶
func (s UpdateControlPlaneLogRequest) String() 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 (s UpdateControlPlaneLogResponse) GoString() string
func (*UpdateControlPlaneLogResponse) SetBody ¶
func (s *UpdateControlPlaneLogResponse) SetBody(v *UpdateControlPlaneLogResponseBody) *UpdateControlPlaneLogResponse
func (*UpdateControlPlaneLogResponse) SetHeaders ¶
func (s *UpdateControlPlaneLogResponse) SetHeaders(v map[string]*string) *UpdateControlPlaneLogResponse
func (*UpdateControlPlaneLogResponse) SetStatusCode ¶
func (s *UpdateControlPlaneLogResponse) SetStatusCode(v int32) *UpdateControlPlaneLogResponse
func (UpdateControlPlaneLogResponse) String ¶
func (s UpdateControlPlaneLogResponse) String() string
type UpdateControlPlaneLogResponseBody ¶
type UpdateControlPlaneLogResponseBody struct { // The cluster ID. // // example: // // cb95aa626a47740afbf6aa099b650**** ClusterId *string `json:"cluster_id,omitempty" xml:"cluster_id,omitempty"` // The request ID. // // example: // // 687C5BAA-D103-4993-884B-C35E4314**** RequestId *string `json:"request_id,omitempty" xml:"request_id,omitempty"` // The task ID. // // example: // // T-5a54309c80282e39ea00**** TaskId *string `json:"task_id,omitempty" xml:"task_id,omitempty"` }
func (UpdateControlPlaneLogResponseBody) GoString ¶
func (s UpdateControlPlaneLogResponseBody) GoString() string
func (*UpdateControlPlaneLogResponseBody) SetClusterId ¶
func (s *UpdateControlPlaneLogResponseBody) SetClusterId(v string) *UpdateControlPlaneLogResponseBody
func (*UpdateControlPlaneLogResponseBody) SetRequestId ¶
func (s *UpdateControlPlaneLogResponseBody) SetRequestId(v string) *UpdateControlPlaneLogResponseBody
func (*UpdateControlPlaneLogResponseBody) SetTaskId ¶
func (s *UpdateControlPlaneLogResponseBody) SetTaskId(v string) *UpdateControlPlaneLogResponseBody
func (UpdateControlPlaneLogResponseBody) String ¶
func (s UpdateControlPlaneLogResponseBody) String() 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). // // This parameter is required. // // example: // // 720 ExpireHour *int64 `json:"expire_hour,omitempty" xml:"expire_hour,omitempty"` // The user ID. // // This parameter is required. // // example: // // The ID of the Resource Access Management (RAM) user that you use. User *string `json:"user,omitempty" xml:"user,omitempty"` }
func (UpdateK8sClusterUserConfigExpireRequest) GoString ¶
func (s UpdateK8sClusterUserConfigExpireRequest) GoString() string
func (*UpdateK8sClusterUserConfigExpireRequest) SetExpireHour ¶
func (s *UpdateK8sClusterUserConfigExpireRequest) SetExpireHour(v int64) *UpdateK8sClusterUserConfigExpireRequest
func (*UpdateK8sClusterUserConfigExpireRequest) SetUser ¶
func (s *UpdateK8sClusterUserConfigExpireRequest) SetUser(v string) *UpdateK8sClusterUserConfigExpireRequest
func (UpdateK8sClusterUserConfigExpireRequest) String ¶
func (s UpdateK8sClusterUserConfigExpireRequest) String() 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 (s UpdateK8sClusterUserConfigExpireResponse) GoString() string
func (*UpdateK8sClusterUserConfigExpireResponse) SetHeaders ¶
func (s *UpdateK8sClusterUserConfigExpireResponse) SetHeaders(v map[string]*string) *UpdateK8sClusterUserConfigExpireResponse
func (*UpdateK8sClusterUserConfigExpireResponse) SetStatusCode ¶
func (s *UpdateK8sClusterUserConfigExpireResponse) SetStatusCode(v int32) *UpdateK8sClusterUserConfigExpireResponse
func (UpdateK8sClusterUserConfigExpireResponse) String ¶
func (s UpdateK8sClusterUserConfigExpireResponse) String() string
type UpdateResourcesDeleteProtectionRequest ¶ added in v5.3.0
type UpdateResourcesDeleteProtectionRequest struct { // Specifies whether to enable deletion protection. Set the value to true to enable deletion protection and set the value to false to disable deletion protection. // // example: // // true Enable *bool `json:"enable,omitempty" xml:"enable,omitempty"` // The namespace to which the resource belongs. // // if can be null: // true // // example: // // default Namespace *string `json:"namespace,omitempty" xml:"namespace,omitempty"` // The type of resource for which deletion protection is enabled or disabled. You can specify namespaces or Services. // // example: // // services ResourceType *string `json:"resource_type,omitempty" xml:"resource_type,omitempty"` // The resources list. Resources []*string `json:"resources,omitempty" xml:"resources,omitempty" type:"Repeated"` }
func (UpdateResourcesDeleteProtectionRequest) GoString ¶ added in v5.3.0
func (s UpdateResourcesDeleteProtectionRequest) GoString() string
func (*UpdateResourcesDeleteProtectionRequest) SetEnable ¶ added in v5.3.0
func (s *UpdateResourcesDeleteProtectionRequest) SetEnable(v bool) *UpdateResourcesDeleteProtectionRequest
func (*UpdateResourcesDeleteProtectionRequest) SetNamespace ¶ added in v5.3.0
func (s *UpdateResourcesDeleteProtectionRequest) SetNamespace(v string) *UpdateResourcesDeleteProtectionRequest
func (*UpdateResourcesDeleteProtectionRequest) SetResourceType ¶ added in v5.3.0
func (s *UpdateResourcesDeleteProtectionRequest) SetResourceType(v string) *UpdateResourcesDeleteProtectionRequest
func (*UpdateResourcesDeleteProtectionRequest) SetResources ¶ added in v5.3.0
func (s *UpdateResourcesDeleteProtectionRequest) SetResources(v []*string) *UpdateResourcesDeleteProtectionRequest
func (UpdateResourcesDeleteProtectionRequest) String ¶ added in v5.3.0
func (s UpdateResourcesDeleteProtectionRequest) String() string
type UpdateResourcesDeleteProtectionResponse ¶ added in v5.3.0
type UpdateResourcesDeleteProtectionResponse struct { Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` Body *UpdateResourcesDeleteProtectionResponseBody `json:"body,omitempty" xml:"body,omitempty"` }
func (UpdateResourcesDeleteProtectionResponse) GoString ¶ added in v5.3.0
func (s UpdateResourcesDeleteProtectionResponse) GoString() string
func (*UpdateResourcesDeleteProtectionResponse) SetHeaders ¶ added in v5.3.0
func (s *UpdateResourcesDeleteProtectionResponse) SetHeaders(v map[string]*string) *UpdateResourcesDeleteProtectionResponse
func (*UpdateResourcesDeleteProtectionResponse) SetStatusCode ¶ added in v5.3.0
func (s *UpdateResourcesDeleteProtectionResponse) SetStatusCode(v int32) *UpdateResourcesDeleteProtectionResponse
func (UpdateResourcesDeleteProtectionResponse) String ¶ added in v5.3.0
func (s UpdateResourcesDeleteProtectionResponse) String() string
type UpdateResourcesDeleteProtectionResponseBody ¶ added in v5.3.0
type UpdateResourcesDeleteProtectionResponseBody struct { // The namespace to which the resource belongs. // // example: // // default Namespace *string `json:"namespace,omitempty" xml:"namespace,omitempty"` // Indicates the status of deletion protection. A value of true indicates that deletion protection is enabled and a value of false indicates that deletion protection is disabled. // // example: // // enable Protection *string `json:"protection,omitempty" xml:"protection,omitempty"` // Id of the request // // example: // // 0527ac9a-c899-4341-a21a-xxxxxxxxx RequestId *string `json:"requestId,omitempty" xml:"requestId,omitempty"` // The type of resource for which deletion protection is enabled or disabled. // // example: // // namespaces ResourceType *string `json:"resource_type,omitempty" xml:"resource_type,omitempty"` // The list of resources whose deletion protection status is updated. Resources []*string `json:"resources,omitempty" xml:"resources,omitempty" type:"Repeated"` }
func (UpdateResourcesDeleteProtectionResponseBody) GoString ¶ added in v5.3.0
func (s UpdateResourcesDeleteProtectionResponseBody) GoString() string
func (*UpdateResourcesDeleteProtectionResponseBody) SetNamespace ¶ added in v5.3.0
func (s *UpdateResourcesDeleteProtectionResponseBody) SetNamespace(v string) *UpdateResourcesDeleteProtectionResponseBody
func (*UpdateResourcesDeleteProtectionResponseBody) SetProtection ¶ added in v5.3.0
func (s *UpdateResourcesDeleteProtectionResponseBody) SetProtection(v string) *UpdateResourcesDeleteProtectionResponseBody
func (*UpdateResourcesDeleteProtectionResponseBody) SetRequestId ¶ added in v5.3.0
func (s *UpdateResourcesDeleteProtectionResponseBody) SetRequestId(v string) *UpdateResourcesDeleteProtectionResponseBody
func (*UpdateResourcesDeleteProtectionResponseBody) SetResourceType ¶ added in v5.3.0
func (s *UpdateResourcesDeleteProtectionResponseBody) SetResourceType(v string) *UpdateResourcesDeleteProtectionResponseBody
func (*UpdateResourcesDeleteProtectionResponseBody) SetResources ¶ added in v5.3.0
func (s *UpdateResourcesDeleteProtectionResponseBody) SetResources(v []*string) *UpdateResourcesDeleteProtectionResponseBody
func (UpdateResourcesDeleteProtectionResponseBody) String ¶ added in v5.3.0
func (s UpdateResourcesDeleteProtectionResponseBody) String() string
type UpdateTemplateRequest ¶
type UpdateTemplateRequest struct { // The description of the template. // // example: // // web server cluster Description *string `json:"description,omitempty" xml:"description,omitempty"` // The name of the template. // // example: // // webserver01 Name *string `json:"name,omitempty" xml:"name,omitempty"` // The label of the template. // // example: // // web Tags *string `json:"tags,omitempty" xml:"tags,omitempty"` // The YAML content of the template. // // example: // // apiVersion: apps/v1\\\\nkind: Deployment\\\\nmetadata:\\\\n name: nginx-deployment-basic\\\\n labels:\\\\n app: nginx\\\\nspec:\\\\n replicas: 2\\\\n selector:\\\\n matchLabels:\\\\n app: nginx\\\\n template:\\\\n metadata:\\\\n labels:\\\\n app: nginx\\\\n spec:\\\\n containers:\\\\n - name: nginx\\\\n image: busybox:latest\\\\n ports:\\\\n - containerPort: 8080 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. // // example: // // kubernetes 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 (s *UpdateTemplateRequest) SetName(v string) *UpdateTemplateRequest
func (*UpdateTemplateRequest) SetTags ¶
func (s *UpdateTemplateRequest) SetTags(v string) *UpdateTemplateRequest
func (*UpdateTemplateRequest) SetTemplate ¶
func (s *UpdateTemplateRequest) SetTemplate(v string) *UpdateTemplateRequest
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 (s *UpdateTemplateResponse) SetHeaders(v map[string]*string) *UpdateTemplateResponse
func (*UpdateTemplateResponse) SetStatusCode ¶
func (s *UpdateTemplateResponse) SetStatusCode(v int32) *UpdateTemplateResponse
func (UpdateTemplateResponse) String ¶
func (s UpdateTemplateResponse) String() string
type UpdateUserPermissionsRequest ¶
type UpdateUserPermissionsRequest struct { // The request body. Body []*UpdateUserPermissionsRequestBody `json:"body,omitempty" xml:"body,omitempty" type:"Repeated"` // The authorization method. Valid values: // // - `apply`: updates all permissions of the RAM user or RAM role. If you use this method, the existing permissions of the RAM user or RAM role on the cluster are overwritten. You must specify all the permissions that you want to grant to the RAM user or RAM role in the request parameters when you call the operation. // // - `delete`: revokes the specified permissions from the RAM user or RAM role. If you use this method, only the permissions that you specify are revoked, while other permissions of the RAM user or RAM role on the cluster are not affected. // // - `patch`: grants the specified permissions to the RAM user or role. If you use this method, only the permissions that you specify are granted, while other permissions of the RAM user or RAM role on the cluster are not affected. // // Default value: `apply`. // // example: // // apply Mode *string `json:"mode,omitempty" xml:"mode,omitempty"` }
func (UpdateUserPermissionsRequest) GoString ¶
func (s UpdateUserPermissionsRequest) GoString() string
func (*UpdateUserPermissionsRequest) SetBody ¶
func (s *UpdateUserPermissionsRequest) SetBody(v []*UpdateUserPermissionsRequestBody) *UpdateUserPermissionsRequest
func (*UpdateUserPermissionsRequest) SetMode ¶
func (s *UpdateUserPermissionsRequest) SetMode(v string) *UpdateUserPermissionsRequest
func (UpdateUserPermissionsRequest) String ¶
func (s UpdateUserPermissionsRequest) String() string
type UpdateUserPermissionsRequestBody ¶
type UpdateUserPermissionsRequestBody struct { // The ID of the cluster on which you want to grant permissions to the RAM role or RAM role. // // - Set this parameter to an empty string if `role_type` is set to `all-clusters`. // // example: // // c796c60*** Cluster *string `json:"cluster,omitempty" xml:"cluster,omitempty"` // Specifies whether to assign a custom role to the RAM user or RAM role. If you want to assign a custom role to the RAM user or RAM role, set `role_name` to the name of the custom role. // // example: // // false IsCustom *bool `json:"is_custom,omitempty" xml:"is_custom,omitempty"` // Specifies whether to use a RAM role to grant permissions. // // example: // // false IsRamRole *bool `json:"is_ram_role,omitempty" xml:"is_ram_role,omitempty"` // The namespace that you want to authorize the RAM user or RAM role to manage. This parameter is required only if you set role_type to namespace. // // example: // // test Namespace *string `json:"namespace,omitempty" xml:"namespace,omitempty"` // The predefined role name. Valid values: // // - `admin`: administrator // // - `admin-view`: read-only administrator // // - `ops`: O\\&M engineer // // - `dev`: developer // // - `restricted`: restricted user // // - Custom role // // Note: // // - You cannot grant **namespace-level* - permissions to the `admin`, `admin-view`, and `ops` roles. // // - You cannot grant **all cluster-level* - permissions to the `admin-view` role. // // example: // // ops RoleName *string `json:"role_name,omitempty" xml:"role_name,omitempty"` // The authorization type. Valid values: // // - `cluster`: authorizes the RAM user or RAM role to manage the specified clusters. // // - `namespace`: authorizes the RAM user or RAM role to manage the specified namespaces. // // - `all-clusters`: authorizes the RAM user or RAM role to manage all clusters. // // example: // // cluster RoleType *string `json:"role_type,omitempty" xml:"role_type,omitempty"` }
func (UpdateUserPermissionsRequestBody) GoString ¶
func (s UpdateUserPermissionsRequestBody) GoString() string
func (*UpdateUserPermissionsRequestBody) SetCluster ¶
func (s *UpdateUserPermissionsRequestBody) SetCluster(v string) *UpdateUserPermissionsRequestBody
func (*UpdateUserPermissionsRequestBody) SetIsCustom ¶
func (s *UpdateUserPermissionsRequestBody) SetIsCustom(v bool) *UpdateUserPermissionsRequestBody
func (*UpdateUserPermissionsRequestBody) SetIsRamRole ¶
func (s *UpdateUserPermissionsRequestBody) SetIsRamRole(v bool) *UpdateUserPermissionsRequestBody
func (*UpdateUserPermissionsRequestBody) SetNamespace ¶
func (s *UpdateUserPermissionsRequestBody) SetNamespace(v string) *UpdateUserPermissionsRequestBody
func (*UpdateUserPermissionsRequestBody) SetRoleName ¶
func (s *UpdateUserPermissionsRequestBody) SetRoleName(v string) *UpdateUserPermissionsRequestBody
func (*UpdateUserPermissionsRequestBody) SetRoleType ¶
func (s *UpdateUserPermissionsRequestBody) SetRoleType(v string) *UpdateUserPermissionsRequestBody
func (UpdateUserPermissionsRequestBody) String ¶
func (s UpdateUserPermissionsRequestBody) String() 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 (s UpdateUserPermissionsResponse) GoString() string
func (*UpdateUserPermissionsResponse) SetHeaders ¶
func (s *UpdateUserPermissionsResponse) SetHeaders(v map[string]*string) *UpdateUserPermissionsResponse
func (*UpdateUserPermissionsResponse) SetStatusCode ¶
func (s *UpdateUserPermissionsResponse) SetStatusCode(v int32) *UpdateUserPermissionsResponse
func (UpdateUserPermissionsResponse) String ¶
func (s UpdateUserPermissionsResponse) String() 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 (s *UpgradeClusterAddonsRequest) SetBody(v []*UpgradeClusterAddonsRequestBody) *UpgradeClusterAddonsRequest
func (UpgradeClusterAddonsRequest) String ¶
func (s UpgradeClusterAddonsRequest) String() string
type UpgradeClusterAddonsRequestBody ¶
type UpgradeClusterAddonsRequestBody struct { // The name of the component. // // This parameter is required. // // example: // // coredns 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. // // example: // // {\\"CpuRequest\\":\\"800m\\"} 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. // // This parameter is required. // // example: // // 1.6.7 NextVersion *string `json:"next_version,omitempty" xml:"next_version,omitempty"` // The update policy. Valid values: // // - overwrite // // - canary // // example: // // canary Policy *string `json:"policy,omitempty" xml:"policy,omitempty"` // The current version of the component. // // example: // // v1.6.2 Version *string `json:"version,omitempty" xml:"version,omitempty"` }
func (UpgradeClusterAddonsRequestBody) GoString ¶
func (s UpgradeClusterAddonsRequestBody) GoString() string
func (*UpgradeClusterAddonsRequestBody) SetComponentName ¶
func (s *UpgradeClusterAddonsRequestBody) SetComponentName(v string) *UpgradeClusterAddonsRequestBody
func (*UpgradeClusterAddonsRequestBody) SetConfig ¶
func (s *UpgradeClusterAddonsRequestBody) SetConfig(v string) *UpgradeClusterAddonsRequestBody
func (*UpgradeClusterAddonsRequestBody) SetNextVersion ¶
func (s *UpgradeClusterAddonsRequestBody) SetNextVersion(v string) *UpgradeClusterAddonsRequestBody
func (*UpgradeClusterAddonsRequestBody) SetPolicy ¶
func (s *UpgradeClusterAddonsRequestBody) SetPolicy(v string) *UpgradeClusterAddonsRequestBody
func (*UpgradeClusterAddonsRequestBody) SetVersion ¶
func (s *UpgradeClusterAddonsRequestBody) SetVersion(v string) *UpgradeClusterAddonsRequestBody
func (UpgradeClusterAddonsRequestBody) String ¶
func (s UpgradeClusterAddonsRequestBody) String() string
type UpgradeClusterAddonsResponse ¶
type UpgradeClusterAddonsResponse struct { Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` Body *UpgradeClusterAddonsResponseBody `json:"body,omitempty" xml:"body,omitempty"` }
func (UpgradeClusterAddonsResponse) GoString ¶
func (s UpgradeClusterAddonsResponse) GoString() string
func (*UpgradeClusterAddonsResponse) SetBody ¶ added in v5.5.2
func (s *UpgradeClusterAddonsResponse) SetBody(v *UpgradeClusterAddonsResponseBody) *UpgradeClusterAddonsResponse
func (*UpgradeClusterAddonsResponse) SetHeaders ¶
func (s *UpgradeClusterAddonsResponse) SetHeaders(v map[string]*string) *UpgradeClusterAddonsResponse
func (*UpgradeClusterAddonsResponse) SetStatusCode ¶
func (s *UpgradeClusterAddonsResponse) SetStatusCode(v int32) *UpgradeClusterAddonsResponse
func (UpgradeClusterAddonsResponse) String ¶
func (s UpgradeClusterAddonsResponse) String() string
type UpgradeClusterAddonsResponseBody ¶ added in v5.5.2
type UpgradeClusterAddonsResponseBody struct { // The cluster ID. // // example: // // cf4299b79b3e34226abfdc80a4bda**** ClusterId *string `json:"cluster_id,omitempty" xml:"cluster_id,omitempty"` // The request ID. // // example: // // bfd12953-31cb-42f1-8a36-7b80ec345094 RequestId *string `json:"request_id,omitempty" xml:"request_id,omitempty"` // The task ID. // // example: // // T-62a944794ee141074400**** TaskId *string `json:"task_id,omitempty" xml:"task_id,omitempty"` }
func (UpgradeClusterAddonsResponseBody) GoString ¶ added in v5.5.2
func (s UpgradeClusterAddonsResponseBody) GoString() string
func (*UpgradeClusterAddonsResponseBody) SetClusterId ¶ added in v5.5.2
func (s *UpgradeClusterAddonsResponseBody) SetClusterId(v string) *UpgradeClusterAddonsResponseBody
func (*UpgradeClusterAddonsResponseBody) SetRequestId ¶ added in v5.5.2
func (s *UpgradeClusterAddonsResponseBody) SetRequestId(v string) *UpgradeClusterAddonsResponseBody
func (*UpgradeClusterAddonsResponseBody) SetTaskId ¶ added in v5.5.2
func (s *UpgradeClusterAddonsResponseBody) SetTaskId(v string) *UpgradeClusterAddonsResponseBody
func (UpgradeClusterAddonsResponseBody) String ¶ added in v5.5.2
func (s UpgradeClusterAddonsResponseBody) String() string
type UpgradeClusterNodepoolRequest ¶
type UpgradeClusterNodepoolRequest struct { // The ID of the OS image that is used by the nodes. // // example: // // aliyun_2_1903_x64_20G_alibase_20200529.vhd ImageId *string `json:"image_id,omitempty" xml:"image_id,omitempty"` // The Kubernetes version that is used by the nodes. You can call the [DescribeKubernetesVersionMetadata](https://help.aliyun.com/document_detail/2667899.html) operation to query the Kubernetes version of the cluster returned in the current_version parameter. // // example: // // 1.22.15-aliyun.1 KubernetesVersion *string `json:"kubernetes_version,omitempty" xml:"kubernetes_version,omitempty"` // The nodes that you want to update. If you do not specify this parameter, all nodes in the node pool are updated by default. NodeNames []*string `json:"node_names,omitempty" xml:"node_names,omitempty" type:"Repeated"` // The rotation configuration. RollingPolicy *UpgradeClusterNodepoolRequestRollingPolicy `json:"rolling_policy,omitempty" xml:"rolling_policy,omitempty" type:"Struct"` // The runtime type. You can call the [DescribeKubernetesVersionMetadata](https://help.aliyun.com/document_detail/2667899.html) operation to query the runtime information returned in the runtime parameter. // // example: // // containerd RuntimeType *string `json:"runtime_type,omitempty" xml:"runtime_type,omitempty"` // The version of the container runtime that is used by the nodes. You can call the [DescribeKubernetesVersionMetadata](https://help.aliyun.com/document_detail/2667899.html) operation to query the runtime version returned in the runtime parameter. // // example: // // 1.5.10 RuntimeVersion *string `json:"runtime_version,omitempty" xml:"runtime_version,omitempty"` // Specifies whether to perform the update by replacing the system disk. Valid values: // // - true: updates by replacing the system disk. // // - false: does not update by replacing the system disk. // // Default value: false. // // example: // // false UseReplace *bool `json:"use_replace,omitempty" xml:"use_replace,omitempty"` }
func (UpgradeClusterNodepoolRequest) GoString ¶
func (s UpgradeClusterNodepoolRequest) GoString() string
func (*UpgradeClusterNodepoolRequest) SetImageId ¶
func (s *UpgradeClusterNodepoolRequest) SetImageId(v string) *UpgradeClusterNodepoolRequest
func (*UpgradeClusterNodepoolRequest) SetKubernetesVersion ¶
func (s *UpgradeClusterNodepoolRequest) SetKubernetesVersion(v string) *UpgradeClusterNodepoolRequest
func (*UpgradeClusterNodepoolRequest) SetNodeNames ¶
func (s *UpgradeClusterNodepoolRequest) SetNodeNames(v []*string) *UpgradeClusterNodepoolRequest
func (*UpgradeClusterNodepoolRequest) SetRollingPolicy ¶
func (s *UpgradeClusterNodepoolRequest) SetRollingPolicy(v *UpgradeClusterNodepoolRequestRollingPolicy) *UpgradeClusterNodepoolRequest
func (*UpgradeClusterNodepoolRequest) SetRuntimeType ¶
func (s *UpgradeClusterNodepoolRequest) SetRuntimeType(v string) *UpgradeClusterNodepoolRequest
func (*UpgradeClusterNodepoolRequest) SetRuntimeVersion ¶
func (s *UpgradeClusterNodepoolRequest) SetRuntimeVersion(v string) *UpgradeClusterNodepoolRequest
func (*UpgradeClusterNodepoolRequest) SetUseReplace ¶
func (s *UpgradeClusterNodepoolRequest) SetUseReplace(v bool) *UpgradeClusterNodepoolRequest
func (UpgradeClusterNodepoolRequest) String ¶
func (s UpgradeClusterNodepoolRequest) String() string
type UpgradeClusterNodepoolRequestRollingPolicy ¶
type UpgradeClusterNodepoolRequestRollingPolicy struct { // The update interval between batches takes effect only when the pause policy is set to NotPause. Unit: minutes. Valid values: 5 to 120. // // example: // // 5 minutes BatchInterval *int32 `json:"batch_interval,omitempty" xml:"batch_interval,omitempty"` // The maximum number of nodes per batch. // // example: // // 3 MaxParallelism *int32 `json:"max_parallelism,omitempty" xml:"max_parallelism,omitempty"` // The policy that is used to pause the update. Valid values: // // - FirstBatch: pauses the update after the first batch is completed. // // - EveryBatch: pauses after each batch is completed. // // - NotPause: does not pause. // // example: // // NotPause PausePolicy *string `json:"pause_policy,omitempty" xml:"pause_policy,omitempty"` }
func (UpgradeClusterNodepoolRequestRollingPolicy) GoString ¶
func (s UpgradeClusterNodepoolRequestRollingPolicy) GoString() string
func (*UpgradeClusterNodepoolRequestRollingPolicy) SetBatchInterval ¶
func (s *UpgradeClusterNodepoolRequestRollingPolicy) SetBatchInterval(v int32) *UpgradeClusterNodepoolRequestRollingPolicy
func (*UpgradeClusterNodepoolRequestRollingPolicy) SetMaxParallelism ¶
func (s *UpgradeClusterNodepoolRequestRollingPolicy) SetMaxParallelism(v int32) *UpgradeClusterNodepoolRequestRollingPolicy
func (*UpgradeClusterNodepoolRequestRollingPolicy) SetPausePolicy ¶
func (s *UpgradeClusterNodepoolRequestRollingPolicy) SetPausePolicy(v string) *UpgradeClusterNodepoolRequestRollingPolicy
func (UpgradeClusterNodepoolRequestRollingPolicy) String ¶
func (s UpgradeClusterNodepoolRequestRollingPolicy) String() 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 (s UpgradeClusterNodepoolResponse) GoString() string
func (*UpgradeClusterNodepoolResponse) SetBody ¶
func (s *UpgradeClusterNodepoolResponse) SetBody(v *UpgradeClusterNodepoolResponseBody) *UpgradeClusterNodepoolResponse
func (*UpgradeClusterNodepoolResponse) SetHeaders ¶
func (s *UpgradeClusterNodepoolResponse) SetHeaders(v map[string]*string) *UpgradeClusterNodepoolResponse
func (*UpgradeClusterNodepoolResponse) SetStatusCode ¶
func (s *UpgradeClusterNodepoolResponse) SetStatusCode(v int32) *UpgradeClusterNodepoolResponse
func (UpgradeClusterNodepoolResponse) String ¶
func (s UpgradeClusterNodepoolResponse) String() string
type UpgradeClusterNodepoolResponseBody ¶
type UpgradeClusterNodepoolResponseBody struct { // The request ID. // // example: // // 2D69A58F-345C-4FDE-88E4-BF518944**** RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"` // The task ID. // // example: // // T-5fd211e924e1d0078700xxxx TaskId *string `json:"task_id,omitempty" xml:"task_id,omitempty"` }
func (UpgradeClusterNodepoolResponseBody) GoString ¶
func (s UpgradeClusterNodepoolResponseBody) GoString() string
func (*UpgradeClusterNodepoolResponseBody) SetRequestId ¶
func (s *UpgradeClusterNodepoolResponseBody) SetRequestId(v string) *UpgradeClusterNodepoolResponseBody
func (*UpgradeClusterNodepoolResponseBody) SetTaskId ¶
func (s *UpgradeClusterNodepoolResponseBody) SetTaskId(v string) *UpgradeClusterNodepoolResponseBody
func (UpgradeClusterNodepoolResponseBody) String ¶
func (s UpgradeClusterNodepoolResponseBody) String() string
type UpgradeClusterRequest ¶
type UpgradeClusterRequest struct { // Deprecated // // This parameter is deprecated. No need to pass values. // // example: // // k8s ComponentName *string `json:"component_name,omitempty" xml:"component_name,omitempty"` // Specifies whether to upgrade only master nodes. Valid values: // // - true: upgrades master nodes only. // // - false: upgrades both master and worker nodes. // // example: // // true MasterOnly *bool `json:"master_only,omitempty" xml:"master_only,omitempty"` // The target Kubernetes version for cluster upgrade. // // example: // // 1.16.9-aliyun.1 NextVersion *string `json:"next_version,omitempty" xml:"next_version,omitempty"` // The rolling update configuration. RollingPolicy *UpgradeClusterRequestRollingPolicy `json:"rolling_policy,omitempty" xml:"rolling_policy,omitempty" type:"Struct"` // Deprecated // // This parameter is deprecated. Use next_version to specify the upgrade target Kubernetes version. // // example: // // 1.14.8-aliyun.1 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) SetRollingPolicy ¶ added in v5.7.3
func (s *UpgradeClusterRequest) SetRollingPolicy(v *UpgradeClusterRequestRollingPolicy) *UpgradeClusterRequest
func (*UpgradeClusterRequest) SetVersion ¶
func (s *UpgradeClusterRequest) SetVersion(v string) *UpgradeClusterRequest
func (UpgradeClusterRequest) String ¶
func (s UpgradeClusterRequest) String() string
type UpgradeClusterRequestRollingPolicy ¶ added in v5.7.3
type UpgradeClusterRequestRollingPolicy struct { // The maximum number of nodes concurrently upgraded per batch. // // example: // // 3 MaxParallelism *int32 `json:"max_parallelism,omitempty" xml:"max_parallelism,omitempty"` }
func (UpgradeClusterRequestRollingPolicy) GoString ¶ added in v5.7.3
func (s UpgradeClusterRequestRollingPolicy) GoString() string
func (*UpgradeClusterRequestRollingPolicy) SetMaxParallelism ¶ added in v5.7.3
func (s *UpgradeClusterRequestRollingPolicy) SetMaxParallelism(v int32) *UpgradeClusterRequestRollingPolicy
func (UpgradeClusterRequestRollingPolicy) String ¶ added in v5.7.3
func (s UpgradeClusterRequestRollingPolicy) 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 (s *UpgradeClusterResponse) SetBody(v *UpgradeClusterResponseBody) *UpgradeClusterResponse
func (*UpgradeClusterResponse) SetHeaders ¶
func (s *UpgradeClusterResponse) SetHeaders(v map[string]*string) *UpgradeClusterResponse
func (*UpgradeClusterResponse) SetStatusCode ¶
func (s *UpgradeClusterResponse) SetStatusCode(v int32) *UpgradeClusterResponse
func (UpgradeClusterResponse) String ¶
func (s UpgradeClusterResponse) String() string
type UpgradeClusterResponseBody ¶
type UpgradeClusterResponseBody struct { // Cluster ID. // // example: // // c82e6987e2961451182edacd74faf**** ClusterId *string `json:"cluster_id,omitempty" xml:"cluster_id,omitempty"` // Request ID. // // example: // // 0527ac9a-c899-4341-a21a-**** RequestId *string `json:"request_id,omitempty" xml:"request_id,omitempty"` // Task ID. // // example: // // T-5faa48fb31b6b8078d00**** TaskId *string `json:"task_id,omitempty" xml:"task_id,omitempty"` }
func (UpgradeClusterResponseBody) GoString ¶
func (s UpgradeClusterResponseBody) GoString() string
func (*UpgradeClusterResponseBody) SetClusterId ¶
func (s *UpgradeClusterResponseBody) SetClusterId(v string) *UpgradeClusterResponseBody
func (*UpgradeClusterResponseBody) SetRequestId ¶
func (s *UpgradeClusterResponseBody) SetRequestId(v string) *UpgradeClusterResponseBody
func (*UpgradeClusterResponseBody) SetTaskId ¶
func (s *UpgradeClusterResponseBody) SetTaskId(v string) *UpgradeClusterResponseBody
func (UpgradeClusterResponseBody) String ¶
func (s UpgradeClusterResponseBody) String() string