Documentation ¶
Index ¶
- Constants
- type AcquireClusterAdminRoleRequest
- type AcquireClusterAdminRoleRequestParams
- type AcquireClusterAdminRoleResponse
- type AcquireClusterAdminRoleResponseParams
- type AddExistedInstancesRequest
- type AddExistedInstancesRequestParams
- type AddExistedInstancesResponse
- type AddExistedInstancesResponseParams
- type AddNodeToNodePoolRequest
- type AddNodeToNodePoolRequestParams
- type AddNodeToNodePoolResponse
- type AddNodeToNodePoolResponseParams
- type AddVpcCniSubnetsRequest
- type AddVpcCniSubnetsRequestParams
- type AddVpcCniSubnetsResponse
- type AddVpcCniSubnetsResponseParams
- type Addon
- type AutoScalingGroupRange
- type AutoUpgradeClusterLevel
- type AutoscalingAdded
- type BackupStorageLocation
- type CUDNN
- type CheckEdgeClusterCIDRRequest
- type CheckEdgeClusterCIDRRequestParams
- type CheckEdgeClusterCIDRResponse
- type CheckEdgeClusterCIDRResponseParams
- type CheckInstancesUpgradeAbleRequest
- type CheckInstancesUpgradeAbleRequestParams
- type CheckInstancesUpgradeAbleResponse
- type CheckInstancesUpgradeAbleResponseParams
- type Client
- func (c *Client) AcquireClusterAdminRole(request *AcquireClusterAdminRoleRequest) (response *AcquireClusterAdminRoleResponse, err error)
- func (c *Client) AcquireClusterAdminRoleWithContext(ctx context.Context, request *AcquireClusterAdminRoleRequest) (response *AcquireClusterAdminRoleResponse, err error)
- func (c *Client) AddExistedInstances(request *AddExistedInstancesRequest) (response *AddExistedInstancesResponse, err error)
- func (c *Client) AddExistedInstancesWithContext(ctx context.Context, request *AddExistedInstancesRequest) (response *AddExistedInstancesResponse, err error)
- func (c *Client) AddNodeToNodePool(request *AddNodeToNodePoolRequest) (response *AddNodeToNodePoolResponse, err error)
- func (c *Client) AddNodeToNodePoolWithContext(ctx context.Context, request *AddNodeToNodePoolRequest) (response *AddNodeToNodePoolResponse, err error)
- func (c *Client) AddVpcCniSubnets(request *AddVpcCniSubnetsRequest) (response *AddVpcCniSubnetsResponse, err error)
- func (c *Client) AddVpcCniSubnetsWithContext(ctx context.Context, request *AddVpcCniSubnetsRequest) (response *AddVpcCniSubnetsResponse, err error)
- func (c *Client) CheckEdgeClusterCIDR(request *CheckEdgeClusterCIDRRequest) (response *CheckEdgeClusterCIDRResponse, err error)
- func (c *Client) CheckEdgeClusterCIDRWithContext(ctx context.Context, request *CheckEdgeClusterCIDRRequest) (response *CheckEdgeClusterCIDRResponse, err error)
- func (c *Client) CheckInstancesUpgradeAble(request *CheckInstancesUpgradeAbleRequest) (response *CheckInstancesUpgradeAbleResponse, err error)
- func (c *Client) CheckInstancesUpgradeAbleWithContext(ctx context.Context, request *CheckInstancesUpgradeAbleRequest) (response *CheckInstancesUpgradeAbleResponse, err error)
- func (c *Client) CreateBackupStorageLocation(request *CreateBackupStorageLocationRequest) (response *CreateBackupStorageLocationResponse, err error)
- func (c *Client) CreateBackupStorageLocationWithContext(ctx context.Context, request *CreateBackupStorageLocationRequest) (response *CreateBackupStorageLocationResponse, err error)
- func (c *Client) CreateCluster(request *CreateClusterRequest) (response *CreateClusterResponse, err error)
- func (c *Client) CreateClusterEndpoint(request *CreateClusterEndpointRequest) (response *CreateClusterEndpointResponse, err error)
- func (c *Client) CreateClusterEndpointVip(request *CreateClusterEndpointVipRequest) (response *CreateClusterEndpointVipResponse, err error)
- func (c *Client) CreateClusterEndpointVipWithContext(ctx context.Context, request *CreateClusterEndpointVipRequest) (response *CreateClusterEndpointVipResponse, err error)
- func (c *Client) CreateClusterEndpointWithContext(ctx context.Context, request *CreateClusterEndpointRequest) (response *CreateClusterEndpointResponse, err error)
- func (c *Client) CreateClusterInstances(request *CreateClusterInstancesRequest) (response *CreateClusterInstancesResponse, err error)
- func (c *Client) CreateClusterInstancesWithContext(ctx context.Context, request *CreateClusterInstancesRequest) (response *CreateClusterInstancesResponse, err error)
- func (c *Client) CreateClusterNodePool(request *CreateClusterNodePoolRequest) (response *CreateClusterNodePoolResponse, err error)
- func (c *Client) CreateClusterNodePoolWithContext(ctx context.Context, request *CreateClusterNodePoolRequest) (response *CreateClusterNodePoolResponse, err error)
- func (c *Client) CreateClusterRouteTable(request *CreateClusterRouteTableRequest) (response *CreateClusterRouteTableResponse, err error)
- func (c *Client) CreateClusterRouteTableWithContext(ctx context.Context, request *CreateClusterRouteTableRequest) (response *CreateClusterRouteTableResponse, err error)
- func (c *Client) CreateClusterVirtualNode(request *CreateClusterVirtualNodeRequest) (response *CreateClusterVirtualNodeResponse, err error)
- func (c *Client) CreateClusterVirtualNodePool(request *CreateClusterVirtualNodePoolRequest) (response *CreateClusterVirtualNodePoolResponse, err error)
- func (c *Client) CreateClusterVirtualNodePoolWithContext(ctx context.Context, request *CreateClusterVirtualNodePoolRequest) (response *CreateClusterVirtualNodePoolResponse, err error)
- func (c *Client) CreateClusterVirtualNodeWithContext(ctx context.Context, request *CreateClusterVirtualNodeRequest) (response *CreateClusterVirtualNodeResponse, err error)
- func (c *Client) CreateClusterWithContext(ctx context.Context, request *CreateClusterRequest) (response *CreateClusterResponse, err error)
- func (c *Client) CreateECMInstances(request *CreateECMInstancesRequest) (response *CreateECMInstancesResponse, err error)
- func (c *Client) CreateECMInstancesWithContext(ctx context.Context, request *CreateECMInstancesRequest) (response *CreateECMInstancesResponse, err error)
- func (c *Client) CreateEdgeCVMInstances(request *CreateEdgeCVMInstancesRequest) (response *CreateEdgeCVMInstancesResponse, err error)
- func (c *Client) CreateEdgeCVMInstancesWithContext(ctx context.Context, request *CreateEdgeCVMInstancesRequest) (response *CreateEdgeCVMInstancesResponse, err error)
- func (c *Client) CreateEdgeLogConfig(request *CreateEdgeLogConfigRequest) (response *CreateEdgeLogConfigResponse, err error)
- func (c *Client) CreateEdgeLogConfigWithContext(ctx context.Context, request *CreateEdgeLogConfigRequest) (response *CreateEdgeLogConfigResponse, err error)
- func (c *Client) CreatePrometheusAlertRule(request *CreatePrometheusAlertRuleRequest) (response *CreatePrometheusAlertRuleResponse, err error)
- func (c *Client) CreatePrometheusAlertRuleWithContext(ctx context.Context, request *CreatePrometheusAlertRuleRequest) (response *CreatePrometheusAlertRuleResponse, err error)
- func (c *Client) CreateTKEEdgeCluster(request *CreateTKEEdgeClusterRequest) (response *CreateTKEEdgeClusterResponse, err error)
- func (c *Client) CreateTKEEdgeClusterWithContext(ctx context.Context, request *CreateTKEEdgeClusterRequest) (response *CreateTKEEdgeClusterResponse, err error)
- func (c *Client) DeleteAddon(request *DeleteAddonRequest) (response *DeleteAddonResponse, err error)
- func (c *Client) DeleteAddonWithContext(ctx context.Context, request *DeleteAddonRequest) (response *DeleteAddonResponse, err error)
- func (c *Client) DeleteBackupStorageLocation(request *DeleteBackupStorageLocationRequest) (response *DeleteBackupStorageLocationResponse, err error)
- func (c *Client) DeleteBackupStorageLocationWithContext(ctx context.Context, request *DeleteBackupStorageLocationRequest) (response *DeleteBackupStorageLocationResponse, err error)
- func (c *Client) DeleteCluster(request *DeleteClusterRequest) (response *DeleteClusterResponse, err error)
- func (c *Client) DeleteClusterAsGroups(request *DeleteClusterAsGroupsRequest) (response *DeleteClusterAsGroupsResponse, err error)
- func (c *Client) DeleteClusterAsGroupsWithContext(ctx context.Context, request *DeleteClusterAsGroupsRequest) (response *DeleteClusterAsGroupsResponse, err error)
- func (c *Client) DeleteClusterEndpoint(request *DeleteClusterEndpointRequest) (response *DeleteClusterEndpointResponse, err error)
- func (c *Client) DeleteClusterEndpointVip(request *DeleteClusterEndpointVipRequest) (response *DeleteClusterEndpointVipResponse, err error)
- func (c *Client) DeleteClusterEndpointVipWithContext(ctx context.Context, request *DeleteClusterEndpointVipRequest) (response *DeleteClusterEndpointVipResponse, err error)
- func (c *Client) DeleteClusterEndpointWithContext(ctx context.Context, request *DeleteClusterEndpointRequest) (response *DeleteClusterEndpointResponse, err error)
- func (c *Client) DeleteClusterInstances(request *DeleteClusterInstancesRequest) (response *DeleteClusterInstancesResponse, err error)
- func (c *Client) DeleteClusterInstancesWithContext(ctx context.Context, request *DeleteClusterInstancesRequest) (response *DeleteClusterInstancesResponse, err error)
- func (c *Client) DeleteClusterNodePool(request *DeleteClusterNodePoolRequest) (response *DeleteClusterNodePoolResponse, err error)
- func (c *Client) DeleteClusterNodePoolWithContext(ctx context.Context, request *DeleteClusterNodePoolRequest) (response *DeleteClusterNodePoolResponse, err error)
- func (c *Client) DeleteClusterRoute(request *DeleteClusterRouteRequest) (response *DeleteClusterRouteResponse, err error)
- func (c *Client) DeleteClusterRouteTable(request *DeleteClusterRouteTableRequest) (response *DeleteClusterRouteTableResponse, err error)
- func (c *Client) DeleteClusterRouteTableWithContext(ctx context.Context, request *DeleteClusterRouteTableRequest) (response *DeleteClusterRouteTableResponse, err error)
- func (c *Client) DeleteClusterRouteWithContext(ctx context.Context, request *DeleteClusterRouteRequest) (response *DeleteClusterRouteResponse, err error)
- func (c *Client) DeleteClusterVirtualNode(request *DeleteClusterVirtualNodeRequest) (response *DeleteClusterVirtualNodeResponse, err error)
- func (c *Client) DeleteClusterVirtualNodePool(request *DeleteClusterVirtualNodePoolRequest) (response *DeleteClusterVirtualNodePoolResponse, err error)
- func (c *Client) DeleteClusterVirtualNodePoolWithContext(ctx context.Context, request *DeleteClusterVirtualNodePoolRequest) (response *DeleteClusterVirtualNodePoolResponse, err error)
- func (c *Client) DeleteClusterVirtualNodeWithContext(ctx context.Context, request *DeleteClusterVirtualNodeRequest) (response *DeleteClusterVirtualNodeResponse, err error)
- func (c *Client) DeleteClusterWithContext(ctx context.Context, request *DeleteClusterRequest) (response *DeleteClusterResponse, err error)
- func (c *Client) DeleteECMInstances(request *DeleteECMInstancesRequest) (response *DeleteECMInstancesResponse, err error)
- func (c *Client) DeleteECMInstancesWithContext(ctx context.Context, request *DeleteECMInstancesRequest) (response *DeleteECMInstancesResponse, err error)
- func (c *Client) DeleteEdgeCVMInstances(request *DeleteEdgeCVMInstancesRequest) (response *DeleteEdgeCVMInstancesResponse, err error)
- func (c *Client) DeleteEdgeCVMInstancesWithContext(ctx context.Context, request *DeleteEdgeCVMInstancesRequest) (response *DeleteEdgeCVMInstancesResponse, err error)
- func (c *Client) DeleteEdgeClusterInstances(request *DeleteEdgeClusterInstancesRequest) (response *DeleteEdgeClusterInstancesResponse, err error)
- func (c *Client) DeleteEdgeClusterInstancesWithContext(ctx context.Context, request *DeleteEdgeClusterInstancesRequest) (response *DeleteEdgeClusterInstancesResponse, err error)
- func (c *Client) DeletePrometheusAlertRule(request *DeletePrometheusAlertRuleRequest) (response *DeletePrometheusAlertRuleResponse, err error)
- func (c *Client) DeletePrometheusAlertRuleWithContext(ctx context.Context, request *DeletePrometheusAlertRuleRequest) (response *DeletePrometheusAlertRuleResponse, err error)
- func (c *Client) DeleteTKEEdgeCluster(request *DeleteTKEEdgeClusterRequest) (response *DeleteTKEEdgeClusterResponse, err error)
- func (c *Client) DeleteTKEEdgeClusterWithContext(ctx context.Context, request *DeleteTKEEdgeClusterRequest) (response *DeleteTKEEdgeClusterResponse, err error)
- func (c *Client) DescribeAddon(request *DescribeAddonRequest) (response *DescribeAddonResponse, err error)
- func (c *Client) DescribeAddonValues(request *DescribeAddonValuesRequest) (response *DescribeAddonValuesResponse, err error)
- func (c *Client) DescribeAddonValuesWithContext(ctx context.Context, request *DescribeAddonValuesRequest) (response *DescribeAddonValuesResponse, err error)
- func (c *Client) DescribeAddonWithContext(ctx context.Context, request *DescribeAddonRequest) (response *DescribeAddonResponse, err error)
- func (c *Client) DescribeAvailableClusterVersion(request *DescribeAvailableClusterVersionRequest) (response *DescribeAvailableClusterVersionResponse, err error)
- func (c *Client) DescribeAvailableClusterVersionWithContext(ctx context.Context, request *DescribeAvailableClusterVersionRequest) (response *DescribeAvailableClusterVersionResponse, err error)
- func (c *Client) DescribeAvailableTKEEdgeVersion(request *DescribeAvailableTKEEdgeVersionRequest) (response *DescribeAvailableTKEEdgeVersionResponse, err error)
- func (c *Client) DescribeAvailableTKEEdgeVersionWithContext(ctx context.Context, request *DescribeAvailableTKEEdgeVersionRequest) (response *DescribeAvailableTKEEdgeVersionResponse, err error)
- func (c *Client) DescribeBackupStorageLocations(request *DescribeBackupStorageLocationsRequest) (response *DescribeBackupStorageLocationsResponse, err error)
- func (c *Client) DescribeBackupStorageLocationsWithContext(ctx context.Context, request *DescribeBackupStorageLocationsRequest) (response *DescribeBackupStorageLocationsResponse, err error)
- func (c *Client) DescribeClusterAsGroupOption(request *DescribeClusterAsGroupOptionRequest) (response *DescribeClusterAsGroupOptionResponse, err error)
- func (c *Client) DescribeClusterAsGroupOptionWithContext(ctx context.Context, request *DescribeClusterAsGroupOptionRequest) (response *DescribeClusterAsGroupOptionResponse, err error)
- func (c *Client) DescribeClusterAsGroups(request *DescribeClusterAsGroupsRequest) (response *DescribeClusterAsGroupsResponse, err error)
- func (c *Client) DescribeClusterAsGroupsWithContext(ctx context.Context, request *DescribeClusterAsGroupsRequest) (response *DescribeClusterAsGroupsResponse, err error)
- func (c *Client) DescribeClusterAuthenticationOptions(request *DescribeClusterAuthenticationOptionsRequest) (response *DescribeClusterAuthenticationOptionsResponse, err error)
- func (c *Client) DescribeClusterAuthenticationOptionsWithContext(ctx context.Context, request *DescribeClusterAuthenticationOptionsRequest) (response *DescribeClusterAuthenticationOptionsResponse, err error)
- func (c *Client) DescribeClusterCommonNames(request *DescribeClusterCommonNamesRequest) (response *DescribeClusterCommonNamesResponse, err error)
- func (c *Client) DescribeClusterCommonNamesWithContext(ctx context.Context, request *DescribeClusterCommonNamesRequest) (response *DescribeClusterCommonNamesResponse, err error)
- func (c *Client) DescribeClusterEndpointStatus(request *DescribeClusterEndpointStatusRequest) (response *DescribeClusterEndpointStatusResponse, err error)
- func (c *Client) DescribeClusterEndpointStatusWithContext(ctx context.Context, request *DescribeClusterEndpointStatusRequest) (response *DescribeClusterEndpointStatusResponse, err error)
- func (c *Client) DescribeClusterEndpointVipStatus(request *DescribeClusterEndpointVipStatusRequest) (response *DescribeClusterEndpointVipStatusResponse, err error)
- func (c *Client) DescribeClusterEndpointVipStatusWithContext(ctx context.Context, request *DescribeClusterEndpointVipStatusRequest) (response *DescribeClusterEndpointVipStatusResponse, err error)
- func (c *Client) DescribeClusterEndpoints(request *DescribeClusterEndpointsRequest) (response *DescribeClusterEndpointsResponse, err error)
- func (c *Client) DescribeClusterEndpointsWithContext(ctx context.Context, request *DescribeClusterEndpointsRequest) (response *DescribeClusterEndpointsResponse, err error)
- func (c *Client) DescribeClusterInstances(request *DescribeClusterInstancesRequest) (response *DescribeClusterInstancesResponse, err error)
- func (c *Client) DescribeClusterInstancesWithContext(ctx context.Context, request *DescribeClusterInstancesRequest) (response *DescribeClusterInstancesResponse, err error)
- func (c *Client) DescribeClusterKubeconfig(request *DescribeClusterKubeconfigRequest) (response *DescribeClusterKubeconfigResponse, err error)
- func (c *Client) DescribeClusterKubeconfigWithContext(ctx context.Context, request *DescribeClusterKubeconfigRequest) (response *DescribeClusterKubeconfigResponse, err error)
- func (c *Client) DescribeClusterLevelAttribute(request *DescribeClusterLevelAttributeRequest) (response *DescribeClusterLevelAttributeResponse, err error)
- func (c *Client) DescribeClusterLevelAttributeWithContext(ctx context.Context, request *DescribeClusterLevelAttributeRequest) (response *DescribeClusterLevelAttributeResponse, err error)
- func (c *Client) DescribeClusterLevelChangeRecords(request *DescribeClusterLevelChangeRecordsRequest) (response *DescribeClusterLevelChangeRecordsResponse, err error)
- func (c *Client) DescribeClusterLevelChangeRecordsWithContext(ctx context.Context, request *DescribeClusterLevelChangeRecordsRequest) (response *DescribeClusterLevelChangeRecordsResponse, err error)
- func (c *Client) DescribeClusterNodePoolDetail(request *DescribeClusterNodePoolDetailRequest) (response *DescribeClusterNodePoolDetailResponse, err error)
- func (c *Client) DescribeClusterNodePoolDetailWithContext(ctx context.Context, request *DescribeClusterNodePoolDetailRequest) (response *DescribeClusterNodePoolDetailResponse, err error)
- func (c *Client) DescribeClusterNodePools(request *DescribeClusterNodePoolsRequest) (response *DescribeClusterNodePoolsResponse, err error)
- func (c *Client) DescribeClusterNodePoolsWithContext(ctx context.Context, request *DescribeClusterNodePoolsRequest) (response *DescribeClusterNodePoolsResponse, err error)
- func (c *Client) DescribeClusterRouteTables(request *DescribeClusterRouteTablesRequest) (response *DescribeClusterRouteTablesResponse, err error)
- func (c *Client) DescribeClusterRouteTablesWithContext(ctx context.Context, request *DescribeClusterRouteTablesRequest) (response *DescribeClusterRouteTablesResponse, err error)
- func (c *Client) DescribeClusterRoutes(request *DescribeClusterRoutesRequest) (response *DescribeClusterRoutesResponse, err error)
- func (c *Client) DescribeClusterRoutesWithContext(ctx context.Context, request *DescribeClusterRoutesRequest) (response *DescribeClusterRoutesResponse, err error)
- func (c *Client) DescribeClusterSecurity(request *DescribeClusterSecurityRequest) (response *DescribeClusterSecurityResponse, err error)
- func (c *Client) DescribeClusterSecurityWithContext(ctx context.Context, request *DescribeClusterSecurityRequest) (response *DescribeClusterSecurityResponse, err error)
- func (c *Client) DescribeClusterStatus(request *DescribeClusterStatusRequest) (response *DescribeClusterStatusResponse, err error)
- func (c *Client) DescribeClusterStatusWithContext(ctx context.Context, request *DescribeClusterStatusRequest) (response *DescribeClusterStatusResponse, err error)
- func (c *Client) DescribeClusterVirtualNode(request *DescribeClusterVirtualNodeRequest) (response *DescribeClusterVirtualNodeResponse, err error)
- func (c *Client) DescribeClusterVirtualNodePools(request *DescribeClusterVirtualNodePoolsRequest) (response *DescribeClusterVirtualNodePoolsResponse, err error)
- func (c *Client) DescribeClusterVirtualNodePoolsWithContext(ctx context.Context, request *DescribeClusterVirtualNodePoolsRequest) (response *DescribeClusterVirtualNodePoolsResponse, err error)
- func (c *Client) DescribeClusterVirtualNodeWithContext(ctx context.Context, request *DescribeClusterVirtualNodeRequest) (response *DescribeClusterVirtualNodeResponse, err error)
- func (c *Client) DescribeClusters(request *DescribeClustersRequest) (response *DescribeClustersResponse, err error)
- func (c *Client) DescribeClustersWithContext(ctx context.Context, request *DescribeClustersRequest) (response *DescribeClustersResponse, err error)
- func (c *Client) DescribeECMInstances(request *DescribeECMInstancesRequest) (response *DescribeECMInstancesResponse, err error)
- func (c *Client) DescribeECMInstancesWithContext(ctx context.Context, request *DescribeECMInstancesRequest) (response *DescribeECMInstancesResponse, err error)
- func (c *Client) DescribeEdgeAvailableExtraArgs(request *DescribeEdgeAvailableExtraArgsRequest) (response *DescribeEdgeAvailableExtraArgsResponse, err error)
- func (c *Client) DescribeEdgeAvailableExtraArgsWithContext(ctx context.Context, request *DescribeEdgeAvailableExtraArgsRequest) (response *DescribeEdgeAvailableExtraArgsResponse, err error)
- func (c *Client) DescribeEdgeCVMInstances(request *DescribeEdgeCVMInstancesRequest) (response *DescribeEdgeCVMInstancesResponse, err error)
- func (c *Client) DescribeEdgeCVMInstancesWithContext(ctx context.Context, request *DescribeEdgeCVMInstancesRequest) (response *DescribeEdgeCVMInstancesResponse, err error)
- func (c *Client) DescribeEdgeClusterExtraArgs(request *DescribeEdgeClusterExtraArgsRequest) (response *DescribeEdgeClusterExtraArgsResponse, err error)
- func (c *Client) DescribeEdgeClusterExtraArgsWithContext(ctx context.Context, request *DescribeEdgeClusterExtraArgsRequest) (response *DescribeEdgeClusterExtraArgsResponse, err error)
- func (c *Client) DescribeEdgeClusterInstances(request *DescribeEdgeClusterInstancesRequest) (response *DescribeEdgeClusterInstancesResponse, err error)
- func (c *Client) DescribeEdgeClusterInstancesWithContext(ctx context.Context, request *DescribeEdgeClusterInstancesRequest) (response *DescribeEdgeClusterInstancesResponse, err error)
- func (c *Client) DescribeEdgeClusterUpgradeInfo(request *DescribeEdgeClusterUpgradeInfoRequest) (response *DescribeEdgeClusterUpgradeInfoResponse, err error)
- func (c *Client) DescribeEdgeClusterUpgradeInfoWithContext(ctx context.Context, request *DescribeEdgeClusterUpgradeInfoRequest) (response *DescribeEdgeClusterUpgradeInfoResponse, err error)
- func (c *Client) DescribeEdgeLogSwitches(request *DescribeEdgeLogSwitchesRequest) (response *DescribeEdgeLogSwitchesResponse, err error)
- func (c *Client) DescribeEdgeLogSwitchesWithContext(ctx context.Context, request *DescribeEdgeLogSwitchesRequest) (response *DescribeEdgeLogSwitchesResponse, err error)
- func (c *Client) DescribeEnableVpcCniProgress(request *DescribeEnableVpcCniProgressRequest) (response *DescribeEnableVpcCniProgressResponse, err error)
- func (c *Client) DescribeEnableVpcCniProgressWithContext(ctx context.Context, request *DescribeEnableVpcCniProgressRequest) (response *DescribeEnableVpcCniProgressResponse, err error)
- func (c *Client) DescribeEncryptionStatus(request *DescribeEncryptionStatusRequest) (response *DescribeEncryptionStatusResponse, err error)
- func (c *Client) DescribeEncryptionStatusWithContext(ctx context.Context, request *DescribeEncryptionStatusRequest) (response *DescribeEncryptionStatusResponse, err error)
- func (c *Client) DescribeExistedInstances(request *DescribeExistedInstancesRequest) (response *DescribeExistedInstancesResponse, err error)
- func (c *Client) DescribeExistedInstancesWithContext(ctx context.Context, request *DescribeExistedInstancesRequest) (response *DescribeExistedInstancesResponse, err error)
- func (c *Client) DescribeImages(request *DescribeImagesRequest) (response *DescribeImagesResponse, err error)
- func (c *Client) DescribeImagesWithContext(ctx context.Context, request *DescribeImagesRequest) (response *DescribeImagesResponse, err error)
- func (c *Client) DescribePrometheusInstance(request *DescribePrometheusInstanceRequest) (response *DescribePrometheusInstanceResponse, err error)
- func (c *Client) DescribePrometheusInstanceWithContext(ctx context.Context, request *DescribePrometheusInstanceRequest) (response *DescribePrometheusInstanceResponse, err error)
- func (c *Client) DescribeRegions(request *DescribeRegionsRequest) (response *DescribeRegionsResponse, err error)
- func (c *Client) DescribeRegionsWithContext(ctx context.Context, request *DescribeRegionsRequest) (response *DescribeRegionsResponse, err error)
- func (c *Client) DescribeResourceUsage(request *DescribeResourceUsageRequest) (response *DescribeResourceUsageResponse, err error)
- func (c *Client) DescribeResourceUsageWithContext(ctx context.Context, request *DescribeResourceUsageRequest) (response *DescribeResourceUsageResponse, err error)
- func (c *Client) DescribeRouteTableConflicts(request *DescribeRouteTableConflictsRequest) (response *DescribeRouteTableConflictsResponse, err error)
- func (c *Client) DescribeRouteTableConflictsWithContext(ctx context.Context, request *DescribeRouteTableConflictsRequest) (response *DescribeRouteTableConflictsResponse, err error)
- func (c *Client) DescribeTKEEdgeClusterCredential(request *DescribeTKEEdgeClusterCredentialRequest) (response *DescribeTKEEdgeClusterCredentialResponse, err error)
- func (c *Client) DescribeTKEEdgeClusterCredentialWithContext(ctx context.Context, request *DescribeTKEEdgeClusterCredentialRequest) (response *DescribeTKEEdgeClusterCredentialResponse, err error)
- func (c *Client) DescribeTKEEdgeClusterStatus(request *DescribeTKEEdgeClusterStatusRequest) (response *DescribeTKEEdgeClusterStatusResponse, err error)
- func (c *Client) DescribeTKEEdgeClusterStatusWithContext(ctx context.Context, request *DescribeTKEEdgeClusterStatusRequest) (response *DescribeTKEEdgeClusterStatusResponse, err error)
- func (c *Client) DescribeTKEEdgeClusters(request *DescribeTKEEdgeClustersRequest) (response *DescribeTKEEdgeClustersResponse, err error)
- func (c *Client) DescribeTKEEdgeClustersWithContext(ctx context.Context, request *DescribeTKEEdgeClustersRequest) (response *DescribeTKEEdgeClustersResponse, err error)
- func (c *Client) DescribeTKEEdgeExternalKubeconfig(request *DescribeTKEEdgeExternalKubeconfigRequest) (response *DescribeTKEEdgeExternalKubeconfigResponse, err error)
- func (c *Client) DescribeTKEEdgeExternalKubeconfigWithContext(ctx context.Context, request *DescribeTKEEdgeExternalKubeconfigRequest) (response *DescribeTKEEdgeExternalKubeconfigResponse, err error)
- func (c *Client) DescribeTKEEdgeScript(request *DescribeTKEEdgeScriptRequest) (response *DescribeTKEEdgeScriptResponse, err error)
- func (c *Client) DescribeTKEEdgeScriptWithContext(ctx context.Context, request *DescribeTKEEdgeScriptRequest) (response *DescribeTKEEdgeScriptResponse, err error)
- func (c *Client) DescribeVersions(request *DescribeVersionsRequest) (response *DescribeVersionsResponse, err error)
- func (c *Client) DescribeVersionsWithContext(ctx context.Context, request *DescribeVersionsRequest) (response *DescribeVersionsResponse, err error)
- func (c *Client) DescribeVpcCniPodLimits(request *DescribeVpcCniPodLimitsRequest) (response *DescribeVpcCniPodLimitsResponse, err error)
- func (c *Client) DescribeVpcCniPodLimitsWithContext(ctx context.Context, request *DescribeVpcCniPodLimitsRequest) (response *DescribeVpcCniPodLimitsResponse, err error)
- func (c *Client) DisableClusterDeletionProtection(request *DisableClusterDeletionProtectionRequest) (response *DisableClusterDeletionProtectionResponse, err error)
- func (c *Client) DisableClusterDeletionProtectionWithContext(ctx context.Context, request *DisableClusterDeletionProtectionRequest) (response *DisableClusterDeletionProtectionResponse, err error)
- func (c *Client) DisableEncryptionProtection(request *DisableEncryptionProtectionRequest) (response *DisableEncryptionProtectionResponse, err error)
- func (c *Client) DisableEncryptionProtectionWithContext(ctx context.Context, request *DisableEncryptionProtectionRequest) (response *DisableEncryptionProtectionResponse, err error)
- func (c *Client) DrainClusterVirtualNode(request *DrainClusterVirtualNodeRequest) (response *DrainClusterVirtualNodeResponse, err error)
- func (c *Client) DrainClusterVirtualNodeWithContext(ctx context.Context, request *DrainClusterVirtualNodeRequest) (response *DrainClusterVirtualNodeResponse, err error)
- func (c *Client) EnableClusterDeletionProtection(request *EnableClusterDeletionProtectionRequest) (response *EnableClusterDeletionProtectionResponse, err error)
- func (c *Client) EnableClusterDeletionProtectionWithContext(ctx context.Context, request *EnableClusterDeletionProtectionRequest) (response *EnableClusterDeletionProtectionResponse, err error)
- func (c *Client) EnableEncryptionProtection(request *EnableEncryptionProtectionRequest) (response *EnableEncryptionProtectionResponse, err error)
- func (c *Client) EnableEncryptionProtectionWithContext(ctx context.Context, request *EnableEncryptionProtectionRequest) (response *EnableEncryptionProtectionResponse, err error)
- func (c *Client) EnableVpcCniNetworkType(request *EnableVpcCniNetworkTypeRequest) (response *EnableVpcCniNetworkTypeResponse, err error)
- func (c *Client) EnableVpcCniNetworkTypeWithContext(ctx context.Context, request *EnableVpcCniNetworkTypeRequest) (response *EnableVpcCniNetworkTypeResponse, err error)
- func (c *Client) ForwardTKEEdgeApplicationRequestV3(request *ForwardTKEEdgeApplicationRequestV3Request) (response *ForwardTKEEdgeApplicationRequestV3Response, err error)
- func (c *Client) ForwardTKEEdgeApplicationRequestV3WithContext(ctx context.Context, request *ForwardTKEEdgeApplicationRequestV3Request) (response *ForwardTKEEdgeApplicationRequestV3Response, err error)
- func (c *Client) GetClusterLevelPrice(request *GetClusterLevelPriceRequest) (response *GetClusterLevelPriceResponse, err error)
- func (c *Client) GetClusterLevelPriceWithContext(ctx context.Context, request *GetClusterLevelPriceRequest) (response *GetClusterLevelPriceResponse, err error)
- func (c *Client) GetUpgradeInstanceProgress(request *GetUpgradeInstanceProgressRequest) (response *GetUpgradeInstanceProgressResponse, err error)
- func (c *Client) GetUpgradeInstanceProgressWithContext(ctx context.Context, request *GetUpgradeInstanceProgressRequest) (response *GetUpgradeInstanceProgressResponse, err error)
- func (c *Client) InstallAddon(request *InstallAddonRequest) (response *InstallAddonResponse, err error)
- func (c *Client) InstallAddonWithContext(ctx context.Context, request *InstallAddonRequest) (response *InstallAddonResponse, err error)
- func (c *Client) InstallEdgeLogAgent(request *InstallEdgeLogAgentRequest) (response *InstallEdgeLogAgentResponse, err error)
- func (c *Client) InstallEdgeLogAgentWithContext(ctx context.Context, request *InstallEdgeLogAgentRequest) (response *InstallEdgeLogAgentResponse, err error)
- func (c *Client) ModifyClusterAsGroupAttribute(request *ModifyClusterAsGroupAttributeRequest) (response *ModifyClusterAsGroupAttributeResponse, err error)
- func (c *Client) ModifyClusterAsGroupAttributeWithContext(ctx context.Context, request *ModifyClusterAsGroupAttributeRequest) (response *ModifyClusterAsGroupAttributeResponse, err error)
- func (c *Client) ModifyClusterAsGroupOptionAttribute(request *ModifyClusterAsGroupOptionAttributeRequest) (response *ModifyClusterAsGroupOptionAttributeResponse, err error)
- func (c *Client) ModifyClusterAsGroupOptionAttributeWithContext(ctx context.Context, request *ModifyClusterAsGroupOptionAttributeRequest) (response *ModifyClusterAsGroupOptionAttributeResponse, err error)
- func (c *Client) ModifyClusterAttribute(request *ModifyClusterAttributeRequest) (response *ModifyClusterAttributeResponse, err error)
- func (c *Client) ModifyClusterAttributeWithContext(ctx context.Context, request *ModifyClusterAttributeRequest) (response *ModifyClusterAttributeResponse, err error)
- func (c *Client) ModifyClusterAuthenticationOptions(request *ModifyClusterAuthenticationOptionsRequest) (response *ModifyClusterAuthenticationOptionsResponse, err error)
- func (c *Client) ModifyClusterAuthenticationOptionsWithContext(ctx context.Context, request *ModifyClusterAuthenticationOptionsRequest) (response *ModifyClusterAuthenticationOptionsResponse, err error)
- func (c *Client) ModifyClusterEndpointSP(request *ModifyClusterEndpointSPRequest) (response *ModifyClusterEndpointSPResponse, err error)
- func (c *Client) ModifyClusterEndpointSPWithContext(ctx context.Context, request *ModifyClusterEndpointSPRequest) (response *ModifyClusterEndpointSPResponse, err error)
- func (c *Client) ModifyClusterNodePool(request *ModifyClusterNodePoolRequest) (response *ModifyClusterNodePoolResponse, err error)
- func (c *Client) ModifyClusterNodePoolWithContext(ctx context.Context, request *ModifyClusterNodePoolRequest) (response *ModifyClusterNodePoolResponse, err error)
- func (c *Client) ModifyClusterVirtualNodePool(request *ModifyClusterVirtualNodePoolRequest) (response *ModifyClusterVirtualNodePoolResponse, err error)
- func (c *Client) ModifyClusterVirtualNodePoolWithContext(ctx context.Context, request *ModifyClusterVirtualNodePoolRequest) (response *ModifyClusterVirtualNodePoolResponse, err error)
- func (c *Client) ModifyNodePoolInstanceTypes(request *ModifyNodePoolInstanceTypesRequest) (response *ModifyNodePoolInstanceTypesResponse, err error)
- func (c *Client) ModifyNodePoolInstanceTypesWithContext(ctx context.Context, request *ModifyNodePoolInstanceTypesRequest) (response *ModifyNodePoolInstanceTypesResponse, err error)
- func (c *Client) ModifyPrometheusAlertRule(request *ModifyPrometheusAlertRuleRequest) (response *ModifyPrometheusAlertRuleResponse, err error)
- func (c *Client) ModifyPrometheusAlertRuleWithContext(ctx context.Context, request *ModifyPrometheusAlertRuleRequest) (response *ModifyPrometheusAlertRuleResponse, err error)
- func (c *Client) RemoveNodeFromNodePool(request *RemoveNodeFromNodePoolRequest) (response *RemoveNodeFromNodePoolResponse, err error)
- func (c *Client) RemoveNodeFromNodePoolWithContext(ctx context.Context, request *RemoveNodeFromNodePoolRequest) (response *RemoveNodeFromNodePoolResponse, err error)
- func (c *Client) SetNodePoolNodeProtection(request *SetNodePoolNodeProtectionRequest) (response *SetNodePoolNodeProtectionResponse, err error)
- func (c *Client) SetNodePoolNodeProtectionWithContext(ctx context.Context, request *SetNodePoolNodeProtectionRequest) (response *SetNodePoolNodeProtectionResponse, err error)
- func (c *Client) UninstallEdgeLogAgent(request *UninstallEdgeLogAgentRequest) (response *UninstallEdgeLogAgentResponse, err error)
- func (c *Client) UninstallEdgeLogAgentWithContext(ctx context.Context, request *UninstallEdgeLogAgentRequest) (response *UninstallEdgeLogAgentResponse, err error)
- func (c *Client) UpdateAddon(request *UpdateAddonRequest) (response *UpdateAddonResponse, err error)
- func (c *Client) UpdateAddonWithContext(ctx context.Context, request *UpdateAddonRequest) (response *UpdateAddonResponse, err error)
- func (c *Client) UpdateClusterKubeconfig(request *UpdateClusterKubeconfigRequest) (response *UpdateClusterKubeconfigResponse, err error)
- func (c *Client) UpdateClusterKubeconfigWithContext(ctx context.Context, request *UpdateClusterKubeconfigRequest) (response *UpdateClusterKubeconfigResponse, err error)
- func (c *Client) UpdateClusterVersion(request *UpdateClusterVersionRequest) (response *UpdateClusterVersionResponse, err error)
- func (c *Client) UpdateClusterVersionWithContext(ctx context.Context, request *UpdateClusterVersionRequest) (response *UpdateClusterVersionResponse, err error)
- func (c *Client) UpdateEdgeClusterVersion(request *UpdateEdgeClusterVersionRequest) (response *UpdateEdgeClusterVersionResponse, err error)
- func (c *Client) UpdateEdgeClusterVersionWithContext(ctx context.Context, request *UpdateEdgeClusterVersionRequest) (response *UpdateEdgeClusterVersionResponse, err error)
- func (c *Client) UpgradeClusterInstances(request *UpgradeClusterInstancesRequest) (response *UpgradeClusterInstancesResponse, err error)
- func (c *Client) UpgradeClusterInstancesWithContext(ctx context.Context, request *UpgradeClusterInstancesRequest) (response *UpgradeClusterInstancesResponse, err error)
- type Cluster
- type ClusterAdvancedSettings
- type ClusterAsGroup
- type ClusterAsGroupAttribute
- type ClusterAsGroupOption
- type ClusterBasicSettings
- type ClusterCIDRSettings
- type ClusterCondition
- type ClusterCredential
- type ClusterExtraArgs
- type ClusterLevelAttribute
- type ClusterLevelChangeRecord
- type ClusterNetworkSettings
- type ClusterStatus
- type ClusterVersion
- type CommonName
- type CreateBackupStorageLocationRequest
- type CreateBackupStorageLocationRequestParams
- type CreateBackupStorageLocationResponse
- type CreateBackupStorageLocationResponseParams
- type CreateClusterEndpointRequest
- type CreateClusterEndpointRequestParams
- type CreateClusterEndpointResponse
- type CreateClusterEndpointResponseParams
- type CreateClusterEndpointVipRequest
- type CreateClusterEndpointVipRequestParams
- type CreateClusterEndpointVipResponse
- type CreateClusterEndpointVipResponseParams
- type CreateClusterInstancesRequest
- type CreateClusterInstancesRequestParams
- type CreateClusterInstancesResponse
- type CreateClusterInstancesResponseParams
- type CreateClusterNodePoolRequest
- type CreateClusterNodePoolRequestParams
- type CreateClusterNodePoolResponse
- type CreateClusterNodePoolResponseParams
- type CreateClusterRequest
- type CreateClusterRequestParams
- type CreateClusterResponse
- type CreateClusterResponseParams
- type CreateClusterRouteTableRequest
- type CreateClusterRouteTableRequestParams
- type CreateClusterRouteTableResponse
- type CreateClusterRouteTableResponseParams
- type CreateClusterVirtualNodePoolRequest
- type CreateClusterVirtualNodePoolRequestParams
- type CreateClusterVirtualNodePoolResponse
- type CreateClusterVirtualNodePoolResponseParams
- type CreateClusterVirtualNodeRequest
- type CreateClusterVirtualNodeRequestParams
- type CreateClusterVirtualNodeResponse
- type CreateClusterVirtualNodeResponseParams
- type CreateECMInstancesRequest
- type CreateECMInstancesRequestParams
- type CreateECMInstancesResponse
- type CreateECMInstancesResponseParams
- type CreateEdgeCVMInstancesRequest
- type CreateEdgeCVMInstancesRequestParams
- type CreateEdgeCVMInstancesResponse
- type CreateEdgeCVMInstancesResponseParams
- type CreateEdgeLogConfigRequest
- type CreateEdgeLogConfigRequestParams
- type CreateEdgeLogConfigResponse
- type CreateEdgeLogConfigResponseParams
- type CreatePrometheusAlertRuleRequest
- type CreatePrometheusAlertRuleRequestParams
- type CreatePrometheusAlertRuleResponse
- type CreatePrometheusAlertRuleResponseParams
- type CreateTKEEdgeClusterRequest
- type CreateTKEEdgeClusterRequestParams
- type CreateTKEEdgeClusterResponse
- type CreateTKEEdgeClusterResponseParams
- type CustomDriver
- type DataDisk
- type DeleteAddonRequest
- type DeleteAddonRequestParams
- type DeleteAddonResponse
- type DeleteAddonResponseParams
- type DeleteBackupStorageLocationRequest
- type DeleteBackupStorageLocationRequestParams
- type DeleteBackupStorageLocationResponse
- type DeleteBackupStorageLocationResponseParams
- type DeleteClusterAsGroupsRequest
- type DeleteClusterAsGroupsRequestParams
- type DeleteClusterAsGroupsResponse
- type DeleteClusterAsGroupsResponseParams
- type DeleteClusterEndpointRequest
- type DeleteClusterEndpointRequestParams
- type DeleteClusterEndpointResponse
- type DeleteClusterEndpointResponseParams
- type DeleteClusterEndpointVipRequest
- type DeleteClusterEndpointVipRequestParams
- type DeleteClusterEndpointVipResponse
- type DeleteClusterEndpointVipResponseParams
- type DeleteClusterInstancesRequest
- type DeleteClusterInstancesRequestParams
- type DeleteClusterInstancesResponse
- type DeleteClusterInstancesResponseParams
- type DeleteClusterNodePoolRequest
- type DeleteClusterNodePoolRequestParams
- type DeleteClusterNodePoolResponse
- type DeleteClusterNodePoolResponseParams
- type DeleteClusterRequest
- type DeleteClusterRequestParams
- type DeleteClusterResponse
- type DeleteClusterResponseParams
- type DeleteClusterRouteRequest
- type DeleteClusterRouteRequestParams
- type DeleteClusterRouteResponse
- type DeleteClusterRouteResponseParams
- type DeleteClusterRouteTableRequest
- type DeleteClusterRouteTableRequestParams
- type DeleteClusterRouteTableResponse
- type DeleteClusterRouteTableResponseParams
- type DeleteClusterVirtualNodePoolRequest
- type DeleteClusterVirtualNodePoolRequestParams
- type DeleteClusterVirtualNodePoolResponse
- type DeleteClusterVirtualNodePoolResponseParams
- type DeleteClusterVirtualNodeRequest
- type DeleteClusterVirtualNodeRequestParams
- type DeleteClusterVirtualNodeResponse
- type DeleteClusterVirtualNodeResponseParams
- type DeleteECMInstancesRequest
- type DeleteECMInstancesRequestParams
- type DeleteECMInstancesResponse
- type DeleteECMInstancesResponseParams
- type DeleteEdgeCVMInstancesRequest
- type DeleteEdgeCVMInstancesRequestParams
- type DeleteEdgeCVMInstancesResponse
- type DeleteEdgeCVMInstancesResponseParams
- type DeleteEdgeClusterInstancesRequest
- type DeleteEdgeClusterInstancesRequestParams
- type DeleteEdgeClusterInstancesResponse
- type DeleteEdgeClusterInstancesResponseParams
- type DeletePrometheusAlertRuleRequest
- type DeletePrometheusAlertRuleRequestParams
- type DeletePrometheusAlertRuleResponse
- type DeletePrometheusAlertRuleResponseParams
- type DeleteTKEEdgeClusterRequest
- type DeleteTKEEdgeClusterRequestParams
- type DeleteTKEEdgeClusterResponse
- type DeleteTKEEdgeClusterResponseParams
- type DescribeAddonRequest
- type DescribeAddonRequestParams
- type DescribeAddonResponse
- type DescribeAddonResponseParams
- type DescribeAddonValuesRequest
- type DescribeAddonValuesRequestParams
- type DescribeAddonValuesResponse
- type DescribeAddonValuesResponseParams
- type DescribeAvailableClusterVersionRequest
- type DescribeAvailableClusterVersionRequestParams
- type DescribeAvailableClusterVersionResponse
- type DescribeAvailableClusterVersionResponseParams
- type DescribeAvailableTKEEdgeVersionRequest
- type DescribeAvailableTKEEdgeVersionRequestParams
- type DescribeAvailableTKEEdgeVersionResponse
- type DescribeAvailableTKEEdgeVersionResponseParams
- type DescribeBackupStorageLocationsRequest
- type DescribeBackupStorageLocationsRequestParams
- type DescribeBackupStorageLocationsResponse
- type DescribeBackupStorageLocationsResponseParams
- type DescribeClusterAsGroupOptionRequest
- type DescribeClusterAsGroupOptionRequestParams
- type DescribeClusterAsGroupOptionResponse
- type DescribeClusterAsGroupOptionResponseParams
- type DescribeClusterAsGroupsRequest
- type DescribeClusterAsGroupsRequestParams
- type DescribeClusterAsGroupsResponse
- type DescribeClusterAsGroupsResponseParams
- type DescribeClusterAuthenticationOptionsRequest
- type DescribeClusterAuthenticationOptionsRequestParams
- type DescribeClusterAuthenticationOptionsResponse
- type DescribeClusterAuthenticationOptionsResponseParams
- type DescribeClusterCommonNamesRequest
- type DescribeClusterCommonNamesRequestParams
- type DescribeClusterCommonNamesResponse
- type DescribeClusterCommonNamesResponseParams
- type DescribeClusterEndpointStatusRequest
- type DescribeClusterEndpointStatusRequestParams
- type DescribeClusterEndpointStatusResponse
- type DescribeClusterEndpointStatusResponseParams
- type DescribeClusterEndpointVipStatusRequest
- type DescribeClusterEndpointVipStatusRequestParams
- type DescribeClusterEndpointVipStatusResponse
- type DescribeClusterEndpointVipStatusResponseParams
- type DescribeClusterEndpointsRequest
- type DescribeClusterEndpointsRequestParams
- type DescribeClusterEndpointsResponse
- type DescribeClusterEndpointsResponseParams
- type DescribeClusterInstancesRequest
- type DescribeClusterInstancesRequestParams
- type DescribeClusterInstancesResponse
- type DescribeClusterInstancesResponseParams
- type DescribeClusterKubeconfigRequest
- type DescribeClusterKubeconfigRequestParams
- type DescribeClusterKubeconfigResponse
- type DescribeClusterKubeconfigResponseParams
- type DescribeClusterLevelAttributeRequest
- type DescribeClusterLevelAttributeRequestParams
- type DescribeClusterLevelAttributeResponse
- type DescribeClusterLevelAttributeResponseParams
- type DescribeClusterLevelChangeRecordsRequest
- type DescribeClusterLevelChangeRecordsRequestParams
- type DescribeClusterLevelChangeRecordsResponse
- type DescribeClusterLevelChangeRecordsResponseParams
- type DescribeClusterNodePoolDetailRequest
- type DescribeClusterNodePoolDetailRequestParams
- type DescribeClusterNodePoolDetailResponse
- type DescribeClusterNodePoolDetailResponseParams
- type DescribeClusterNodePoolsRequest
- type DescribeClusterNodePoolsRequestParams
- type DescribeClusterNodePoolsResponse
- type DescribeClusterNodePoolsResponseParams
- type DescribeClusterRouteTablesRequest
- type DescribeClusterRouteTablesRequestParams
- type DescribeClusterRouteTablesResponse
- type DescribeClusterRouteTablesResponseParams
- type DescribeClusterRoutesRequest
- type DescribeClusterRoutesRequestParams
- type DescribeClusterRoutesResponse
- type DescribeClusterRoutesResponseParams
- type DescribeClusterSecurityRequest
- type DescribeClusterSecurityRequestParams
- type DescribeClusterSecurityResponse
- type DescribeClusterSecurityResponseParams
- type DescribeClusterStatusRequest
- type DescribeClusterStatusRequestParams
- type DescribeClusterStatusResponse
- type DescribeClusterStatusResponseParams
- type DescribeClusterVirtualNodePoolsRequest
- type DescribeClusterVirtualNodePoolsRequestParams
- type DescribeClusterVirtualNodePoolsResponse
- type DescribeClusterVirtualNodePoolsResponseParams
- type DescribeClusterVirtualNodeRequest
- type DescribeClusterVirtualNodeRequestParams
- type DescribeClusterVirtualNodeResponse
- type DescribeClusterVirtualNodeResponseParams
- type DescribeClustersRequest
- type DescribeClustersRequestParams
- type DescribeClustersResponse
- type DescribeClustersResponseParams
- type DescribeECMInstancesRequest
- type DescribeECMInstancesRequestParams
- type DescribeECMInstancesResponse
- type DescribeECMInstancesResponseParams
- type DescribeEdgeAvailableExtraArgsRequest
- type DescribeEdgeAvailableExtraArgsRequestParams
- type DescribeEdgeAvailableExtraArgsResponse
- type DescribeEdgeAvailableExtraArgsResponseParams
- type DescribeEdgeCVMInstancesRequest
- type DescribeEdgeCVMInstancesRequestParams
- type DescribeEdgeCVMInstancesResponse
- type DescribeEdgeCVMInstancesResponseParams
- type DescribeEdgeClusterExtraArgsRequest
- type DescribeEdgeClusterExtraArgsRequestParams
- type DescribeEdgeClusterExtraArgsResponse
- type DescribeEdgeClusterExtraArgsResponseParams
- type DescribeEdgeClusterInstancesRequest
- type DescribeEdgeClusterInstancesRequestParams
- type DescribeEdgeClusterInstancesResponse
- type DescribeEdgeClusterInstancesResponseParams
- type DescribeEdgeClusterUpgradeInfoRequest
- type DescribeEdgeClusterUpgradeInfoRequestParams
- type DescribeEdgeClusterUpgradeInfoResponse
- type DescribeEdgeClusterUpgradeInfoResponseParams
- type DescribeEdgeLogSwitchesRequest
- type DescribeEdgeLogSwitchesRequestParams
- type DescribeEdgeLogSwitchesResponse
- type DescribeEdgeLogSwitchesResponseParams
- type DescribeEnableVpcCniProgressRequest
- type DescribeEnableVpcCniProgressRequestParams
- type DescribeEnableVpcCniProgressResponse
- type DescribeEnableVpcCniProgressResponseParams
- type DescribeEncryptionStatusRequest
- type DescribeEncryptionStatusRequestParams
- type DescribeEncryptionStatusResponse
- type DescribeEncryptionStatusResponseParams
- type DescribeExistedInstancesRequest
- type DescribeExistedInstancesRequestParams
- type DescribeExistedInstancesResponse
- type DescribeExistedInstancesResponseParams
- type DescribeImagesRequest
- type DescribeImagesRequestParams
- type DescribeImagesResponse
- type DescribeImagesResponseParams
- type DescribePrometheusInstanceRequest
- type DescribePrometheusInstanceRequestParams
- type DescribePrometheusInstanceResponse
- type DescribePrometheusInstanceResponseParams
- type DescribeRegionsRequest
- type DescribeRegionsRequestParams
- type DescribeRegionsResponse
- type DescribeRegionsResponseParams
- type DescribeResourceUsageRequest
- type DescribeResourceUsageRequestParams
- type DescribeResourceUsageResponse
- type DescribeResourceUsageResponseParams
- type DescribeRouteTableConflictsRequest
- type DescribeRouteTableConflictsRequestParams
- type DescribeRouteTableConflictsResponse
- type DescribeRouteTableConflictsResponseParams
- type DescribeTKEEdgeClusterCredentialRequest
- type DescribeTKEEdgeClusterCredentialRequestParams
- type DescribeTKEEdgeClusterCredentialResponse
- type DescribeTKEEdgeClusterCredentialResponseParams
- type DescribeTKEEdgeClusterStatusRequest
- type DescribeTKEEdgeClusterStatusRequestParams
- type DescribeTKEEdgeClusterStatusResponse
- type DescribeTKEEdgeClusterStatusResponseParams
- type DescribeTKEEdgeClustersRequest
- type DescribeTKEEdgeClustersRequestParams
- type DescribeTKEEdgeClustersResponse
- type DescribeTKEEdgeClustersResponseParams
- type DescribeTKEEdgeExternalKubeconfigRequest
- type DescribeTKEEdgeExternalKubeconfigRequestParams
- type DescribeTKEEdgeExternalKubeconfigResponse
- type DescribeTKEEdgeExternalKubeconfigResponseParams
- type DescribeTKEEdgeScriptRequest
- type DescribeTKEEdgeScriptRequestParams
- type DescribeTKEEdgeScriptResponse
- type DescribeTKEEdgeScriptResponseParams
- type DescribeVersionsRequest
- type DescribeVersionsRequestParams
- type DescribeVersionsResponse
- type DescribeVersionsResponseParams
- type DescribeVpcCniPodLimitsRequest
- type DescribeVpcCniPodLimitsRequestParams
- type DescribeVpcCniPodLimitsResponse
- type DescribeVpcCniPodLimitsResponseParams
- type DisableClusterDeletionProtectionRequest
- type DisableClusterDeletionProtectionRequestParams
- type DisableClusterDeletionProtectionResponse
- type DisableClusterDeletionProtectionResponseParams
- type DisableEncryptionProtectionRequest
- type DisableEncryptionProtectionRequestParams
- type DisableEncryptionProtectionResponse
- type DisableEncryptionProtectionResponseParams
- type DrainClusterVirtualNodeRequest
- type DrainClusterVirtualNodeRequestParams
- type DrainClusterVirtualNodeResponse
- type DrainClusterVirtualNodeResponseParams
- type DriverVersion
- type ECMEnhancedService
- type ECMRunMonitorServiceEnabled
- type ECMRunSecurityServiceEnabled
- type ECMZoneInstanceCountISP
- type EdgeArgsFlag
- type EdgeAvailableExtraArgs
- type EdgeCluster
- type EdgeClusterAdvancedSettings
- type EdgeClusterExtraArgs
- type EdgeClusterInternalLB
- type EdgeClusterPublicLB
- type EnableClusterDeletionProtectionRequest
- type EnableClusterDeletionProtectionRequestParams
- type EnableClusterDeletionProtectionResponse
- type EnableClusterDeletionProtectionResponseParams
- type EnableEncryptionProtectionRequest
- type EnableEncryptionProtectionRequestParams
- type EnableEncryptionProtectionResponse
- type EnableEncryptionProtectionResponseParams
- type EnableVpcCniNetworkTypeRequest
- type EnableVpcCniNetworkTypeRequestParams
- type EnableVpcCniNetworkTypeResponse
- type EnableVpcCniNetworkTypeResponseParams
- type EnhancedService
- type ExistedInstance
- type ExistedInstancesForNode
- type ExistedInstancesPara
- type ExtensionAddon
- type Filter
- type ForwardTKEEdgeApplicationRequestV3Request
- type ForwardTKEEdgeApplicationRequestV3RequestParams
- type ForwardTKEEdgeApplicationRequestV3Response
- type ForwardTKEEdgeApplicationRequestV3ResponseParams
- type GPUArgs
- type GetClusterLevelPriceRequest
- type GetClusterLevelPriceRequestParams
- type GetClusterLevelPriceResponse
- type GetClusterLevelPriceResponseParams
- type GetUpgradeInstanceProgressRequest
- type GetUpgradeInstanceProgressRequestParams
- type GetUpgradeInstanceProgressResponse
- type GetUpgradeInstanceProgressResponseParams
- type IPAddress
- type ImageInstance
- type InstallAddonRequest
- type InstallAddonRequestParams
- type InstallAddonResponse
- type InstallAddonResponseParams
- type InstallEdgeLogAgentRequest
- type InstallEdgeLogAgentRequestParams
- type InstallEdgeLogAgentResponse
- type InstallEdgeLogAgentResponseParams
- type Instance
- type InstanceAdvancedSettings
- type InstanceDataDiskMountSetting
- type InstanceExtraArgs
- type InstanceUpgradeClusterStatus
- type InstanceUpgradePreCheckResult
- type InstanceUpgradePreCheckResultItem
- type InstanceUpgradeProgressItem
- type KMSConfiguration
- type Label
- type LoginSettings
- type ManuallyAdded
- type ModifyClusterAsGroupAttributeRequest
- type ModifyClusterAsGroupAttributeRequestParams
- type ModifyClusterAsGroupAttributeResponse
- type ModifyClusterAsGroupAttributeResponseParams
- type ModifyClusterAsGroupOptionAttributeRequest
- type ModifyClusterAsGroupOptionAttributeRequestParams
- type ModifyClusterAsGroupOptionAttributeResponse
- type ModifyClusterAsGroupOptionAttributeResponseParams
- type ModifyClusterAttributeRequest
- type ModifyClusterAttributeRequestParams
- type ModifyClusterAttributeResponse
- type ModifyClusterAttributeResponseParams
- type ModifyClusterAuthenticationOptionsRequest
- type ModifyClusterAuthenticationOptionsRequestParams
- type ModifyClusterAuthenticationOptionsResponse
- type ModifyClusterAuthenticationOptionsResponseParams
- type ModifyClusterEndpointSPRequest
- type ModifyClusterEndpointSPRequestParams
- type ModifyClusterEndpointSPResponse
- type ModifyClusterEndpointSPResponseParams
- type ModifyClusterNodePoolRequest
- type ModifyClusterNodePoolRequestParams
- type ModifyClusterNodePoolResponse
- type ModifyClusterNodePoolResponseParams
- type ModifyClusterVirtualNodePoolRequest
- type ModifyClusterVirtualNodePoolRequestParams
- type ModifyClusterVirtualNodePoolResponse
- type ModifyClusterVirtualNodePoolResponseParams
- type ModifyNodePoolInstanceTypesRequest
- type ModifyNodePoolInstanceTypesRequestParams
- type ModifyNodePoolInstanceTypesResponse
- type ModifyNodePoolInstanceTypesResponseParams
- type ModifyPrometheusAlertRuleRequest
- type ModifyPrometheusAlertRuleRequestParams
- type ModifyPrometheusAlertRuleResponse
- type ModifyPrometheusAlertRuleResponseParams
- type NodeCountSummary
- type NodePool
- type NodePoolOption
- type OIDCConfigAuthenticationOptions
- type PodLimitsByType
- type PodLimitsInstance
- type PrometheusAlertRule
- type PrometheusAlertRuleDetail
- type PrometheusGrafanaInfo
- type PrometheusNotification
- type RegionInstance
- type RemoveNodeFromNodePoolRequest
- type RemoveNodeFromNodePoolRequestParams
- type RemoveNodeFromNodePoolResponse
- type RemoveNodeFromNodePoolResponseParams
- type ResourceDeleteOption
- type ResourceUsage
- type ResourceUsageDetail
- type RouteInfo
- type RouteTableConflict
- type RouteTableInfo
- type RunAutomationServiceEnabled
- type RunInstancesForNode
- type RunMonitorServiceEnabled
- type RunSecurityServiceEnabled
- type ServiceAccountAuthenticationOptions
- type SetNodePoolNodeProtectionRequest
- type SetNodePoolNodeProtectionRequestParams
- type SetNodePoolNodeProtectionResponse
- type SetNodePoolNodeProtectionResponseParams
- type Tag
- type TagSpecification
- type Taint
- type TaskStepInfo
- type UnavailableReason
- type UninstallEdgeLogAgentRequest
- type UninstallEdgeLogAgentRequestParams
- type UninstallEdgeLogAgentResponse
- type UninstallEdgeLogAgentResponseParams
- type UpdateAddonRequest
- type UpdateAddonRequestParams
- type UpdateAddonResponse
- type UpdateAddonResponseParams
- type UpdateClusterKubeconfigRequest
- type UpdateClusterKubeconfigRequestParams
- type UpdateClusterKubeconfigResponse
- type UpdateClusterKubeconfigResponseParams
- type UpdateClusterVersionRequest
- type UpdateClusterVersionRequestParams
- type UpdateClusterVersionResponse
- type UpdateClusterVersionResponseParams
- type UpdateEdgeClusterVersionRequest
- type UpdateEdgeClusterVersionRequestParams
- type UpdateEdgeClusterVersionResponse
- type UpdateEdgeClusterVersionResponseParams
- type UpgradeAbleInstancesItem
- type UpgradeClusterInstancesRequest
- type UpgradeClusterInstancesRequestParams
- type UpgradeClusterInstancesResponse
- type UpgradeClusterInstancesResponseParams
- type UpgradeNodeResetParam
- type VersionInstance
- type VirtualNode
- type VirtualNodePool
- type VirtualNodeSpec
Constants ¶
const ( // Operation failed. FAILEDOPERATION = "FailedOperation" // Failed to obtain user authentication information. FAILEDOPERATION_ACCOUNTCOMMON = "FailedOperation.AccountCommon" // The account is not verified. FAILEDOPERATION_ACCOUNTUSERNOTAUTHENTICATED = "FailedOperation.AccountUserNotAuthenticated" // An error occurs while creating scaling group resources. FAILEDOPERATION_ASCOMMON = "FailedOperation.AsCommon" // Not authorized to access this API FAILEDOPERATION_CAMNOAUTH = "FailedOperation.CamNoAuth" // The cluster cannot be deleted. FAILEDOPERATION_CLUSTERFORBIDDENTODELETE = "FailedOperation.ClusterForbiddenToDelete" // The cluster is not found. FAILEDOPERATION_CLUSTERNOTFOUND = "FailedOperation.ClusterNotFound" // Cluster status error. FAILEDOPERATION_CLUSTERSTATE = "FailedOperation.ClusterState" // The version of the cluster node is too old. FAILEDOPERATION_CLUSTERUPGRADENODEVERSION = "FailedOperation.ClusterUpgradeNodeVersion" // Internal client error. FAILEDOPERATION_COMPONENTCLIENTCOMMON = "FailedOperation.ComponentClientCommon" // Internal HTTP client error. FAILEDOPERATION_COMPONENTCLIENTHTTP = "FailedOperation.ComponentClientHttp" // Internal HTTP decapsulation failed. FAILEDOPERATION_COMPONENTCLIENTUNPACK = "FailedOperation.ComponentClientUnpack" // Failed to request (HTTP request) other Tencent Cloud services. FAILEDOPERATION_COMPONENTCLINETHTTP = "FailedOperation.ComponentClinetHttp" // Failed to create the node due to a CVM error FAILEDOPERATION_CVMCOMMON = "FailedOperation.CvmCommon" // Some of the specified CVMs are not found. FAILEDOPERATION_CVMNUMBERNOTMATCH = "FailedOperation.CvmNumberNotMatch" // The CVM does not match the VPC ID. FAILEDOPERATION_CVMVPCIDNOTMATCH = "FailedOperation.CvmVpcidNotMatch" // Database error. FAILEDOPERATION_DB = "FailedOperation.Db" // Record not found. FAILEDOPERATION_DBRECORDNOTFOUND = "FailedOperation.DbRecordNotFound" // Failed to obtain security group quota. FAILEDOPERATION_DFWGETUSGQUOTA = "FailedOperation.DfwGetUSGQuota" // Failed to enable the VPC-CNI mode. FAILEDOPERATION_ENABLEVPCCNIFAILED = "FailedOperation.EnableVPCCNIFailed" // Failed to connect to the customer Kubernetes cluster. FAILEDOPERATION_KUBECLIENTCONNECTION = "FailedOperation.KubeClientConnection" // Kubernetes API error. FAILEDOPERATION_KUBECOMMON = "FailedOperation.KubeCommon" // Failed to create the Kubernetes client. FAILEDOPERATION_KUBERNETESCLIENTBUILDERROR = "FailedOperation.KubernetesClientBuildError" // An error occurs while creating the cluster client. FAILEDOPERATION_KUBERNETESCREATEOPERATIONERROR = "FailedOperation.KubernetesCreateOperationError" // FAILEDOPERATION_KUBERNETESGETOPERATIONERROR = "FailedOperation.KubernetesGetOperationError" // Unknown Kubernetes error. FAILEDOPERATION_KUBERNETESINTERNAL = "FailedOperation.KubernetesInternal" // Failed to obtain the kubernetes resource list. FAILEDOPERATION_KUBERNETESLISTOPERATIONERROR = "FailedOperation.KubernetesListOperationError" // An unknown error occurs while calling the underlying CLB. FAILEDOPERATION_LBCOMMON = "FailedOperation.LbCommon" // Network extension error. FAILEDOPERATION_NETWORKSCALEERROR = "FailedOperation.NetworkScaleError" // The node has a secondary ENI. FAILEDOPERATION_NODEEXISTSSECONDARYNETWORKINTERFACE = "FailedOperation.NodeExistsSecondaryNetworkInterface" // The image OS is not supported. FAILEDOPERATION_OSNOTSUPPORT = "FailedOperation.OsNotSupport" // Invalid parameter. FAILEDOPERATION_PARAM = "FailedOperation.Param" // GPE error. FAILEDOPERATION_POLICYSERVERCOMMONERROR = "FailedOperation.PolicyServerCommonError" // Reached the quota limit. FAILEDOPERATION_QUOTAMAXCLSLIMIT = "FailedOperation.QuotaMaxClsLimit" // Reached the quota limit. FAILEDOPERATION_QUOTAMAXNODLIMIT = "FailedOperation.QuotaMaxNodLimit" // Insufficient security group quota. FAILEDOPERATION_QUOTAUSGLIMIT = "FailedOperation.QuotaUSGLimit" // The sub-account does not have the required RBAC permissions. FAILEDOPERATION_RBACFORBIDDEN = "FailedOperation.RBACForbidden" // Record not found. FAILEDOPERATION_RECORDNOTFOUND = "FailedOperation.RecordNotFound" // A same task is in progress. FAILEDOPERATION_TASKALREADYRUNNING = "FailedOperation.TaskAlreadyRunning" // This operation is not supported when the task is in the current status. FAILEDOPERATION_TASKLIFESTATEERROR = "FailedOperation.TaskLifeStateError" // Query failed. FAILEDOPERATION_TRADECOMMON = "FailedOperation.TradeCommon" // Unexpected error. FAILEDOPERATION_UNEXPECTEDERROR = "FailedOperation.UnexpectedError" // Unknown VPC error. FAILEDOPERATION_VPCUNEXPECTEDERROR = "FailedOperation.VPCUnexpectedError" // VPC error. FAILEDOPERATION_VPCCOMMON = "FailedOperation.VpcCommon" // VPC record not found. FAILEDOPERATION_VPCRECODRNOTFOUND = "FailedOperation.VpcRecodrNotFound" // Allowlist error. FAILEDOPERATION_WHITELISTUNEXPECTEDERROR = "FailedOperation.WhitelistUnexpectedError" // Internal error. INTERNALERROR = "InternalError" // Failed to obtain the user authentication information INTERNALERROR_ACCOUNTCOMMON = "InternalError.AccountCommon" // Account not verified. INTERNALERROR_ACCOUNTUSERNOTAUTHENTICATED = "InternalError.AccountUserNotAuthenticated" // Error creating scaling group resource. INTERNALERROR_ASCOMMON = "InternalError.AsCommon" // You do not have permissions. INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth" // CIDR conflicts with the CIDR of another cluster. INTERNALERROR_CIDRCONFLICTWITHOTHERCLUSTER = "InternalError.CidrConflictWithOtherCluster" // CIDR conflicts with another route. INTERNALERROR_CIDRCONFLICTWITHOTHERROUTE = "InternalError.CidrConflictWithOtherRoute" // CIDR conflicts with VPC. INTERNALERROR_CIDRCONFLICTWITHVPCCIDR = "InternalError.CidrConflictWithVpcCidr" // CIDR conflicts with global route. INTERNALERROR_CIDRCONFLICTWITHVPCGLOBALROUTE = "InternalError.CidrConflictWithVpcGlobalRoute" // Invalid CIDR. INTERNALERROR_CIDRINVALI = "InternalError.CidrInvali" // Invalid CIDR mask. INTERNALERROR_CIDRMASKSIZEOUTOFRANGE = "InternalError.CidrMaskSizeOutOfRange" // Cluster not found. INTERNALERROR_CLUSTERNOTFOUND = "InternalError.ClusterNotFound" // Cluster status error. INTERNALERROR_CLUSTERSTATE = "InternalError.ClusterState" // The version of the cluster node is outdated. INTERNALERROR_CLUSTERUPGRADENODEVERSION = "InternalError.ClusterUpgradeNodeVersion" // Command execution timeout. INTERNALERROR_CMDTIMEOUT = "InternalError.CmdTimeout" // Internal HTTP client error INTERNALERROR_COMPONENTCLIENTHTTP = "InternalError.ComponentClientHttp" // Error while requesting (HTTP) other Tencent Cloud services INTERNALERROR_COMPONENTCLINETHTTP = "InternalError.ComponentClinetHttp" // Failed to create cluster. INTERNALERROR_CREATEMASTERFAILED = "InternalError.CreateMasterFailed" // Error in node creation. INTERNALERROR_CVMCOMMON = "InternalError.CvmCommon" // CVM does not exist. INTERNALERROR_CVMNOTFOUND = "InternalError.CvmNotFound" // Some of the CVMs cannot be found INTERNALERROR_CVMNUMBERNOTMATCH = "InternalError.CvmNumberNotMatch" // Exceptional CVM status. INTERNALERROR_CVMSTATUS = "InternalError.CvmStatus" // DB error. INTERNALERROR_DB = "InternalError.Db" // Database error. INTERNALERROR_DBAFFECTIVEDROWS = "InternalError.DbAffectivedRows" // Record not found. INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound" // Failed to obtain total number of current security groups. INTERNALERROR_DFWGETUSGCOUNT = "InternalError.DfwGetUSGCount" // Failed to obtain security group quota. INTERNALERROR_DFWGETUSGQUOTA = "InternalError.DfwGetUSGQuota" // Empty clusters are not supported. INTERNALERROR_EMPTYCLUSTERNOTSUPPORT = "InternalError.EmptyClusterNotSupport" // Image not found. INTERNALERROR_IMAGEIDNOTFOUND = "InternalError.ImageIdNotFound" // Failed to initialize Master. INTERNALERROR_INITMASTERFAILED = "InternalError.InitMasterFailed" // Invalid CIDR. INTERNALERROR_INVALIDPRIVATENETWORKCIDR = "InternalError.InvalidPrivateNetworkCidr" // Failed to connect to the user’s Kubernetes cluster. INTERNALERROR_KUBECLIENTCONNECTION = "InternalError.KubeClientConnection" // Kubernetes API error. INTERNALERROR_KUBECOMMON = "InternalError.KubeCommon" // Failed to create the kubernetes client. INTERNALERROR_KUBERNETESCLIENTBUILDERROR = "InternalError.KubernetesClientBuildError" // Failed to create the kubernetes resource. INTERNALERROR_KUBERNETESCREATEOPERATIONERROR = "InternalError.KubernetesCreateOperationError" // Failed to delete the kubernetes resource. INTERNALERROR_KUBERNETESDELETEOPERATIONERROR = "InternalError.KubernetesDeleteOperationError" // Failed to obtain the kubernetes resources INTERNALERROR_KUBERNETESGETOPERATIONERROR = "InternalError.KubernetesGetOperationError" // Unknown Kubernetes error INTERNALERROR_KUBERNETESINTERNAL = "InternalError.KubernetesInternal" // Failed to obtain the kubernetes resource list. INTERNALERROR_KUBERNETESLISTOPERATIONERROR = "InternalError.KubernetesListOperationError" // Kubernetes Patch operation failed. INTERNALERROR_KUBERNETESPATCHOPERATIONERROR = "InternalError.KubernetesPatchOperationError" // An error occurs while calling the underlying CLB INTERNALERROR_LBCOMMON = "InternalError.LbCommon" // Image OS not supported. INTERNALERROR_OSNOTSUPPORT = "InternalError.OsNotSupport" // Parameter error. INTERNALERROR_PARAM = "InternalError.Param" // Pod not found INTERNALERROR_PODNOTFOUND = "InternalError.PodNotFound" // Cluster does not support the current operation. INTERNALERROR_PUBLICCLUSTEROPNOTSUPPORT = "InternalError.PublicClusterOpNotSupport" // Quota limit exceeded. INTERNALERROR_QUOTAMAXCLSLIMIT = "InternalError.QuotaMaxClsLimit" // Quota limit exceeded. INTERNALERROR_QUOTAMAXNODLIMIT = "InternalError.QuotaMaxNodLimit" // Quota limit exceeded. INTERNALERROR_QUOTAMAXRTLIMIT = "InternalError.QuotaMaxRtLimit" // Insufficient security group quota. INTERNALERROR_QUOTAUSGLIMIT = "InternalError.QuotaUSGLimit" // Resource already exists. INTERNALERROR_RESOURCEEXISTALREADY = "InternalError.ResourceExistAlready" // Route table is not empty. INTERNALERROR_ROUTETABLENOTEMPTY = "InternalError.RouteTableNotEmpty" // Route table does not exist. INTERNALERROR_ROUTETABLENOTFOUND = "InternalError.RouteTableNotFound" // A same task is in progress. INTERNALERROR_TASKALREADYRUNNING = "InternalError.TaskAlreadyRunning" // Failed to create the task. INTERNALERROR_TASKCREATEFAILED = "InternalError.TaskCreateFailed" // The task in the current state does not support this operation. INTERNALERROR_TASKLIFESTATEERROR = "InternalError.TaskLifeStateError" // No task found INTERNALERROR_TASKNOTFOUND = "InternalError.TaskNotFound" // Query failed INTERNALERROR_TRADECOMMON = "InternalError.TradeCommon" // Insufficient account balance. INTERNALERROR_TRADEINSUFFICIENTBALANCE = "InternalError.TradeInsufficientBalance" // Internal error. INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal" // Unknown internal error. INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" // Unknown VPC error INTERNALERROR_VPCUNEXPECTEDERROR = "InternalError.VPCUnexpectedError" // VPC error INTERNALERROR_VPCCOMMON = "InternalError.VpcCommon" // Peering connection does not exist INTERNALERROR_VPCPEERNOTFOUND = "InternalError.VpcPeerNotFound" // VPC record not found INTERNALERROR_VPCRECODRNOTFOUND = "InternalError.VpcRecodrNotFound" // VstationError. INTERNALERROR_VSTATIONERROR = "InternalError.VstationError" // Unknown allowlist error INTERNALERROR_WHITELISTUNEXPECTEDERROR = "InternalError.WhitelistUnexpectedError" // Parameter error. INVALIDPARAMETER = "InvalidParameter" // Auto scaling group creation parameter error. INVALIDPARAMETER_ASCOMMONERROR = "InvalidParameter.AsCommonError" // Invalid CIDR block mask (valid range: 10 to 24). INVALIDPARAMETER_CIDRMASKSIZEOUTOFRANGE = "InvalidParameter.CIDRMaskSizeOutOfRange" // The CIDR block conflicts with the CIDR blocks of other clusters. INVALIDPARAMETER_CIDRCONFLICTWITHOTHERCLUSTER = "InvalidParameter.CidrConflictWithOtherCluster" // The route to create conflicts with existing routes. INVALIDPARAMETER_CIDRCONFLICTWITHOTHERROUTE = "InvalidParameter.CidrConflictWithOtherRoute" // The CIDR block conflicts with the VPC’s CIDR block. INVALIDPARAMETER_CIDRCONFLICTWITHVPCCIDR = "InvalidParameter.CidrConflictWithVpcCidr" // The created route conflicts with the existing global route under the VPC. INVALIDPARAMETER_CIDRCONFLICTWITHVPCGLOBALROUTE = "InvalidParameter.CidrConflictWithVpcGlobalRoute" // Invalid CIDR block. INVALIDPARAMETER_CIDRINVALI = "InvalidParameter.CidrInvali" // Parameter error. The CIDR block does not meet the specification. INVALIDPARAMETER_CIDRINVALID = "InvalidParameter.CidrInvalid" // The CIDR block is not in the route table. INVALIDPARAMETER_CIDROUTOFROUTETABLE = "InvalidParameter.CidrOutOfRouteTable" // The cluster ID does not exist. INVALIDPARAMETER_CLUSTERNOTFOUND = "InvalidParameter.ClusterNotFound" // Next hop address is already associated with a CIDR block. INVALIDPARAMETER_GATEWAYALREADYASSOCIATEDCIDR = "InvalidParameter.GatewayAlreadyAssociatedCidr" // Invalid private CIDR block. INVALIDPARAMETER_INVALIDPRIVATENETWORKCIDR = "InvalidParameter.InvalidPrivateNetworkCIDR" // The iage OS is not supported. INVALIDPARAMETER_OSNOTSUPPORT = "InvalidParameter.OsNotSupport" // Invalid parameter. INVALIDPARAMETER_PARAM = "InvalidParameter.Param" // The PROM instance does not exist. INVALIDPARAMETER_PROMINSTANCENOTFOUND = "InvalidParameter.PromInstanceNotFound" // Route table is not empty. INVALIDPARAMETER_ROUTETABLENOTEMPTY = "InvalidParameter.RouteTableNotEmpty" // Invalid subnet. INVALIDPARAMETER_SUBNETINVALIDERROR = "InvalidParameter.SubnetInvalidError" // The subnet does not exist. INVALIDPARAMETER_SUBNETNOTEXIST = "InvalidParameter.SubnetNotExist" // Quota limit is exceeded. LIMITEXCEEDED = "LimitExceeded" // Missing parameter. MISSINGPARAMETER = "MissingParameter" // Operation denied. OPERATIONDENIED = "OperationDenied" // The cluster is under deletion protection and cannot be deleted. OPERATIONDENIED_CLUSTERINDELETIONPROTECTION = "OperationDenied.ClusterInDeletionProtection" // The resource is occupied. RESOURCEINUSE = "ResourceInUse" // A running Pod exists. RESOURCEINUSE_EXISTRUNNINGPOD = "ResourceInUse.ExistRunningPod" // The resource already exists. RESOURCEINUSE_RESOURCEEXISTALREADY = "ResourceInUse.ResourceExistAlready" // The subnet already exists. RESOURCEINUSE_SUBNETALREADYEXIST = "ResourceInUse.SubnetAlreadyExist" // Insufficient CVM resources. RESOURCEINSUFFICIENT_SPECIFIEDINSTANCETYPE = "ResourceInsufficient.SpecifiedInstanceType" // The resource does not exist. RESOURCENOTFOUND = "ResourceNotFound" // The scaling group does not exist. RESOURCENOTFOUND_ASASGNOTEXIST = "ResourceNotFound.AsAsgNotExist" // The cluster does not exist. RESOURCENOTFOUND_CLUSTERNOTFOUND = "ResourceNotFound.ClusterNotFound" // The specified resource is not found in the Kubernetes cluster. RESOURCENOTFOUND_KUBERESOURCENOTFOUND = "ResourceNotFound.KubeResourceNotFound" // The kubernetes resource does not exist. RESOURCENOTFOUND_KUBERNETESRESOURCENOTFOUND = "ResourceNotFound.KubernetesResourceNotFound" // Resource is unavailable RESOURCEUNAVAILABLE = "ResourceUnavailable" // Abnormal cluster status. RESOURCEUNAVAILABLE_CLUSTERINABNORMALSTAT = "ResourceUnavailable.ClusterInAbnormalStat" // The cluster’s status does support this operation. RESOURCEUNAVAILABLE_CLUSTERSTATE = "ResourceUnavailable.ClusterState" // The node pool is in an abnormal status. RESOURCEUNAVAILABLE_NODEPOOLSTATENOTNORMAL = "ResourceUnavailable.NodePoolStateNotNormal" // Unauthorized operation. UNAUTHORIZEDOPERATION = "UnauthorizedOperation" // The API has no CAM permissions. UNAUTHORIZEDOPERATION_CAMNOAUTH = "UnauthorizedOperation.CamNoAuth" // Unknown parameter. UNKNOWNPARAMETER = "UnknownParameter" // Unsupported operation. UNSUPPORTEDOPERATION = "UnsupportedOperation" // Failed to enable CA because AS is disabled. UNSUPPORTEDOPERATION_CAENABLEFAILED = "UnsupportedOperation.CaEnableFailed" // The VPC-CNI mode is not supported. UNSUPPORTEDOPERATION_CLUSTERNOTSUITENABLEVPCCNI = "UnsupportedOperation.ClusterNotSuitEnableVPCCNI" // The user is not in the allowlist. UNSUPPORTEDOPERATION_NOTINWHITELIST = "UnsupportedOperation.NotInWhitelist" // Virtual nodes cannot be installed. UNSUPPORTEDOPERATION_NOTSUPPORTINSTALLVIRTUALKUBELET = "UnsupportedOperation.NotSupportInstallVirtualKubelet" )
const APIVersion = "2018-05-25"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AcquireClusterAdminRoleRequest ¶
type AcquireClusterAdminRoleRequest struct { *tchttp.BaseRequest // Cluster ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` }
func NewAcquireClusterAdminRoleRequest ¶
func NewAcquireClusterAdminRoleRequest() (request *AcquireClusterAdminRoleRequest)
func (*AcquireClusterAdminRoleRequest) FromJsonString ¶
func (r *AcquireClusterAdminRoleRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*AcquireClusterAdminRoleRequest) ToJsonString ¶
func (r *AcquireClusterAdminRoleRequest) ToJsonString() string
type AcquireClusterAdminRoleRequestParams ¶
type AcquireClusterAdminRoleRequestParams struct { // Cluster ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` }
Predefined struct for user
type AcquireClusterAdminRoleResponse ¶
type AcquireClusterAdminRoleResponse struct { *tchttp.BaseResponse Response *AcquireClusterAdminRoleResponseParams `json:"Response"` }
func NewAcquireClusterAdminRoleResponse ¶
func NewAcquireClusterAdminRoleResponse() (response *AcquireClusterAdminRoleResponse)
func (*AcquireClusterAdminRoleResponse) FromJsonString ¶
func (r *AcquireClusterAdminRoleResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*AcquireClusterAdminRoleResponse) ToJsonString ¶
func (r *AcquireClusterAdminRoleResponse) ToJsonString() string
type AcquireClusterAdminRoleResponseParams ¶
type AcquireClusterAdminRoleResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type AddExistedInstancesRequest ¶
type AddExistedInstancesRequest struct { *tchttp.BaseRequest // Cluster ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // Instance list. Spot instance is not supported. InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" name:"InstanceIds"` // Detailed information of the instance InstanceAdvancedSettings *InstanceAdvancedSettings `json:"InstanceAdvancedSettings,omitnil,omitempty" name:"InstanceAdvancedSettings"` // Enhanced services. This parameter is used to specify whether to enable Cloud Security, Cloud Monitoring and other services. If this parameter is not specified, Cloud Monitor and Cloud Security are enabled by default. EnhancedService *EnhancedService `json:"EnhancedService,omitnil,omitempty" name:"EnhancedService"` // Node login information (currently only supports using Password or single KeyIds) LoginSettings *LoginSettings `json:"LoginSettings,omitnil,omitempty" name:"LoginSettings"` // When reinstalling the system, you can specify the HostName of the modified instance (when the cluster is in HostName mode, this parameter is required, and the rule name is the same as the [Create CVM Instance](https://intl.cloud.tencent.com/document/product/213/15730?from_cn_redirect=1) API HostName except for uppercase letters not being supported. HostName *string `json:"HostName,omitnil,omitempty" name:"HostName"` // Security group to which the instance belongs. This parameter can be obtained from the `sgId` field returned by DescribeSecurityGroups. If this parameter is not specified, the default security group is bound. (Currently, you can only set a single sgId) SecurityGroupIds []*string `json:"SecurityGroupIds,omitnil,omitempty" name:"SecurityGroupIds"` // Node pool options NodePool *NodePoolOption `json:"NodePool,omitnil,omitempty" name:"NodePool"` // Skips the specified verification. Valid values: GlobalRouteCIDRCheck, VpcCniCIDRCheck SkipValidateOptions []*string `json:"SkipValidateOptions,omitnil,omitempty" name:"SkipValidateOptions"` // This parameter is used to customize the configuration of an instance, which corresponds to the `InstanceIds` one-to-one in sequence. If this parameter is passed in, the default parameter `InstanceAdvancedSettings` will be overwritten and will not take effect. If this parameter is not passed in, the `InstanceAdvancedSettings` will take effect for each instance. // // The array length of `InstanceAdvancedSettingsOverride` should be the same as the array length of `InstanceIds`. If its array length is greater than the `InstanceIds` array length, an error will be reported. If its array length is less than the `InstanceIds` array length, the instance without corresponding configuration will use the default configuration. InstanceAdvancedSettingsOverrides []*InstanceAdvancedSettings `json:"InstanceAdvancedSettingsOverrides,omitnil,omitempty" name:"InstanceAdvancedSettingsOverrides"` // Node image ImageId *string `json:"ImageId,omitnil,omitempty" name:"ImageId"` }
func NewAddExistedInstancesRequest ¶
func NewAddExistedInstancesRequest() (request *AddExistedInstancesRequest)
func (*AddExistedInstancesRequest) FromJsonString ¶
func (r *AddExistedInstancesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*AddExistedInstancesRequest) ToJsonString ¶
func (r *AddExistedInstancesRequest) ToJsonString() string
type AddExistedInstancesRequestParams ¶
type AddExistedInstancesRequestParams struct { // Cluster ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // Instance list. Spot instance is not supported. InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" name:"InstanceIds"` // Detailed information of the instance InstanceAdvancedSettings *InstanceAdvancedSettings `json:"InstanceAdvancedSettings,omitnil,omitempty" name:"InstanceAdvancedSettings"` // Enhanced services. This parameter is used to specify whether to enable Cloud Security, Cloud Monitoring and other services. If this parameter is not specified, Cloud Monitor and Cloud Security are enabled by default. EnhancedService *EnhancedService `json:"EnhancedService,omitnil,omitempty" name:"EnhancedService"` // Node login information (currently only supports using Password or single KeyIds) LoginSettings *LoginSettings `json:"LoginSettings,omitnil,omitempty" name:"LoginSettings"` // When reinstalling the system, you can specify the HostName of the modified instance (when the cluster is in HostName mode, this parameter is required, and the rule name is the same as the [Create CVM Instance](https://intl.cloud.tencent.com/document/product/213/15730?from_cn_redirect=1) API HostName except for uppercase letters not being supported. HostName *string `json:"HostName,omitnil,omitempty" name:"HostName"` // Security group to which the instance belongs. This parameter can be obtained from the `sgId` field returned by DescribeSecurityGroups. If this parameter is not specified, the default security group is bound. (Currently, you can only set a single sgId) SecurityGroupIds []*string `json:"SecurityGroupIds,omitnil,omitempty" name:"SecurityGroupIds"` // Node pool options NodePool *NodePoolOption `json:"NodePool,omitnil,omitempty" name:"NodePool"` // Skips the specified verification. Valid values: GlobalRouteCIDRCheck, VpcCniCIDRCheck SkipValidateOptions []*string `json:"SkipValidateOptions,omitnil,omitempty" name:"SkipValidateOptions"` // This parameter is used to customize the configuration of an instance, which corresponds to the `InstanceIds` one-to-one in sequence. If this parameter is passed in, the default parameter `InstanceAdvancedSettings` will be overwritten and will not take effect. If this parameter is not passed in, the `InstanceAdvancedSettings` will take effect for each instance. // // The array length of `InstanceAdvancedSettingsOverride` should be the same as the array length of `InstanceIds`. If its array length is greater than the `InstanceIds` array length, an error will be reported. If its array length is less than the `InstanceIds` array length, the instance without corresponding configuration will use the default configuration. InstanceAdvancedSettingsOverrides []*InstanceAdvancedSettings `json:"InstanceAdvancedSettingsOverrides,omitnil,omitempty" name:"InstanceAdvancedSettingsOverrides"` // Node image ImageId *string `json:"ImageId,omitnil,omitempty" name:"ImageId"` }
Predefined struct for user
type AddExistedInstancesResponse ¶
type AddExistedInstancesResponse struct { *tchttp.BaseResponse Response *AddExistedInstancesResponseParams `json:"Response"` }
func NewAddExistedInstancesResponse ¶
func NewAddExistedInstancesResponse() (response *AddExistedInstancesResponse)
func (*AddExistedInstancesResponse) FromJsonString ¶
func (r *AddExistedInstancesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*AddExistedInstancesResponse) ToJsonString ¶
func (r *AddExistedInstancesResponse) ToJsonString() string
type AddExistedInstancesResponseParams ¶
type AddExistedInstancesResponseParams struct { // IDs of failed nodes // Note: This field may return null, indicating that no valid value was found. FailedInstanceIds []*string `json:"FailedInstanceIds,omitnil,omitempty" name:"FailedInstanceIds"` // IDs of successful nodes // Note: This field may return null, indicating that no valid value was found. SuccInstanceIds []*string `json:"SuccInstanceIds,omitnil,omitempty" name:"SuccInstanceIds"` // IDs of (successful or failed) nodes that timed out // Note: This field may return null, indicating that no valid value was found. TimeoutInstanceIds []*string `json:"TimeoutInstanceIds,omitnil,omitempty" name:"TimeoutInstanceIds"` // Causes of the failure to add a node to a cluster // Note: this field may return `null`, indicating that no valid value is obtained. FailedReasons []*string `json:"FailedReasons,omitnil,omitempty" name:"FailedReasons"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type AddNodeToNodePoolRequest ¶
type AddNodeToNodePoolRequest struct { *tchttp.BaseRequest // Cluster ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // Node pool ID NodePoolId *string `json:"NodePoolId,omitnil,omitempty" name:"NodePoolId"` // Node ID InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" name:"InstanceIds"` }
func NewAddNodeToNodePoolRequest ¶
func NewAddNodeToNodePoolRequest() (request *AddNodeToNodePoolRequest)
func (*AddNodeToNodePoolRequest) FromJsonString ¶
func (r *AddNodeToNodePoolRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*AddNodeToNodePoolRequest) ToJsonString ¶
func (r *AddNodeToNodePoolRequest) ToJsonString() string
type AddNodeToNodePoolRequestParams ¶
type AddNodeToNodePoolRequestParams struct { // Cluster ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // Node pool ID NodePoolId *string `json:"NodePoolId,omitnil,omitempty" name:"NodePoolId"` // Node ID InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" name:"InstanceIds"` }
Predefined struct for user
type AddNodeToNodePoolResponse ¶
type AddNodeToNodePoolResponse struct { *tchttp.BaseResponse Response *AddNodeToNodePoolResponseParams `json:"Response"` }
func NewAddNodeToNodePoolResponse ¶
func NewAddNodeToNodePoolResponse() (response *AddNodeToNodePoolResponse)
func (*AddNodeToNodePoolResponse) FromJsonString ¶
func (r *AddNodeToNodePoolResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*AddNodeToNodePoolResponse) ToJsonString ¶
func (r *AddNodeToNodePoolResponse) ToJsonString() string
type AddNodeToNodePoolResponseParams ¶
type AddNodeToNodePoolResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type AddVpcCniSubnetsRequest ¶
type AddVpcCniSubnetsRequest struct { *tchttp.BaseRequest // Cluster ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // The subnets added for the cluster container network SubnetIds []*string `json:"SubnetIds,omitnil,omitempty" name:"SubnetIds"` // ID of the VPC where the cluster resides VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"` // Whether to skip adding the VPC IP range to `NonMasqueradeCIDRs` field of `ip-masq-agent-config`. Default value: `false` SkipAddingNonMasqueradeCIDRs *bool `json:"SkipAddingNonMasqueradeCIDRs,omitnil,omitempty" name:"SkipAddingNonMasqueradeCIDRs"` }
func NewAddVpcCniSubnetsRequest ¶
func NewAddVpcCniSubnetsRequest() (request *AddVpcCniSubnetsRequest)
func (*AddVpcCniSubnetsRequest) FromJsonString ¶
func (r *AddVpcCniSubnetsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*AddVpcCniSubnetsRequest) ToJsonString ¶
func (r *AddVpcCniSubnetsRequest) ToJsonString() string
type AddVpcCniSubnetsRequestParams ¶
type AddVpcCniSubnetsRequestParams struct { // Cluster ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // The subnets added for the cluster container network SubnetIds []*string `json:"SubnetIds,omitnil,omitempty" name:"SubnetIds"` // ID of the VPC where the cluster resides VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"` // Whether to skip adding the VPC IP range to `NonMasqueradeCIDRs` field of `ip-masq-agent-config`. Default value: `false` SkipAddingNonMasqueradeCIDRs *bool `json:"SkipAddingNonMasqueradeCIDRs,omitnil,omitempty" name:"SkipAddingNonMasqueradeCIDRs"` }
Predefined struct for user
type AddVpcCniSubnetsResponse ¶
type AddVpcCniSubnetsResponse struct { *tchttp.BaseResponse Response *AddVpcCniSubnetsResponseParams `json:"Response"` }
func NewAddVpcCniSubnetsResponse ¶
func NewAddVpcCniSubnetsResponse() (response *AddVpcCniSubnetsResponse)
func (*AddVpcCniSubnetsResponse) FromJsonString ¶
func (r *AddVpcCniSubnetsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*AddVpcCniSubnetsResponse) ToJsonString ¶
func (r *AddVpcCniSubnetsResponse) ToJsonString() string
type AddVpcCniSubnetsResponseParams ¶
type AddVpcCniSubnetsResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type Addon ¶
type Addon struct { // Add-on name AddonName *string `json:"AddonName,omitnil,omitempty" name:"AddonName"` // Add-on version AddonVersion *string `json:"AddonVersion,omitnil,omitempty" name:"AddonVersion"` // Add-on parameters, which are base64-encoded strings in JSON/ // Note: u200dThis field may return `null`, indicating that no valid values can be obtained. RawValues *string `json:"RawValues,omitnil,omitempty" name:"RawValues"` // Add-on status // Note: u200dThis field may return `null`, indicating that no valid values can be obtained. Phase *string `json:"Phase,omitnil,omitempty" name:"Phase"` // Reason for add-on failure // Note: u200dThis field may return `null`, indicating that no valid values can be obtained. Reason *string `json:"Reason,omitnil,omitempty" name:"Reason"` }
type AutoScalingGroupRange ¶
type AutoUpgradeClusterLevel ¶
type AutoUpgradeClusterLevel struct { // Whether to enable Auto Cluster Upgrade IsAutoUpgrade *bool `json:"IsAutoUpgrade,omitnil,omitempty" name:"IsAutoUpgrade"` }
type AutoscalingAdded ¶
type AutoscalingAdded struct { // Number of nodes that are being added Joining *int64 `json:"Joining,omitnil,omitempty" name:"Joining"` // Number of nodes that are being initialized Initializing *int64 `json:"Initializing,omitnil,omitempty" name:"Initializing"` // Number of normal nodes Normal *int64 `json:"Normal,omitnil,omitempty" name:"Normal"` // Total number of nodes Total *int64 `json:"Total,omitnil,omitempty" name:"Total"` }
type BackupStorageLocation ¶
type BackupStorageLocation struct { // Backup repository name Name *string `json:"Name,omitnil,omitempty" name:"Name"` // Repository region, such as `ap-guangzhou` StorageRegion *string `json:"StorageRegion,omitnil,omitempty" name:"StorageRegion"` // The provider of storage service. It defaults to Tencent Cloud. // Note: This parameter may return null, indicating that no valid values can be obtained. Provider *string `json:"Provider,omitnil,omitempty" name:"Provider"` // COS bucket name. For COS storage type, it must start with the prefix `tke-backup`. // Note: This field may return null, indicating that no valid values can be obtained. Bucket *string `json:"Bucket,omitnil,omitempty" name:"Bucket"` // COS bucket path // Note: This field may return null, indicating that no valid values can be obtained. Path *string `json:"Path,omitnil,omitempty" name:"Path"` // Storage repository status // Note: This field may return null, indicating that no valid values can be obtained. State *string `json:"State,omitnil,omitempty" name:"State"` // Status information // Note: This field may return null, indicating that no valid values can be obtained. Message *string `json:"Message,omitnil,omitempty" name:"Message"` // Last checked time // Note: This parameter may return null, indicating that no valid values can be obtained. LastValidationTime *string `json:"LastValidationTime,omitnil,omitempty" name:"LastValidationTime"` }
type CUDNN ¶
type CUDNN struct { // cuDNN version Version *string `json:"Version,omitnil,omitempty" name:"Version"` // cuDNN name Name *string `json:"Name,omitnil,omitempty" name:"Name"` // Doc name of cuDNN DocName *string `json:"DocName,omitnil,omitempty" name:"DocName"` // Dev name of cuDNN DevName *string `json:"DevName,omitnil,omitempty" name:"DevName"` }
type CheckEdgeClusterCIDRRequest ¶
type CheckEdgeClusterCIDRRequest struct { *tchttp.BaseRequest // Cluster VPC ID VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"` // Cluster Pod CIDR block PodCIDR *string `json:"PodCIDR,omitnil,omitempty" name:"PodCIDR"` // Cluster service CIDR block ServiceCIDR *string `json:"ServiceCIDR,omitnil,omitempty" name:"ServiceCIDR"` }
func NewCheckEdgeClusterCIDRRequest ¶
func NewCheckEdgeClusterCIDRRequest() (request *CheckEdgeClusterCIDRRequest)
func (*CheckEdgeClusterCIDRRequest) FromJsonString ¶
func (r *CheckEdgeClusterCIDRRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CheckEdgeClusterCIDRRequest) ToJsonString ¶
func (r *CheckEdgeClusterCIDRRequest) ToJsonString() string
type CheckEdgeClusterCIDRRequestParams ¶
type CheckEdgeClusterCIDRRequestParams struct { // Cluster VPC ID VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"` // Cluster Pod CIDR block PodCIDR *string `json:"PodCIDR,omitnil,omitempty" name:"PodCIDR"` // Cluster service CIDR block ServiceCIDR *string `json:"ServiceCIDR,omitnil,omitempty" name:"ServiceCIDR"` }
Predefined struct for user
type CheckEdgeClusterCIDRResponse ¶
type CheckEdgeClusterCIDRResponse struct { *tchttp.BaseResponse Response *CheckEdgeClusterCIDRResponseParams `json:"Response"` }
func NewCheckEdgeClusterCIDRResponse ¶
func NewCheckEdgeClusterCIDRResponse() (response *CheckEdgeClusterCIDRResponse)
func (*CheckEdgeClusterCIDRResponse) FromJsonString ¶
func (r *CheckEdgeClusterCIDRResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CheckEdgeClusterCIDRResponse) ToJsonString ¶
func (r *CheckEdgeClusterCIDRResponse) ToJsonString() string
type CheckEdgeClusterCIDRResponseParams ¶
type CheckEdgeClusterCIDRResponseParams struct { // Return code. Valid values: // -1: Internal error // 0: No conflict // 1: Conflict between VPC and serviceCIDR // 2: Conflict between VPC and podCIDR // 3: Conflict between serviceCIDR and podCIDR ConflictCode *int64 `json:"ConflictCode,omitnil,omitempty" name:"ConflictCode"` // CIDR block conflict description ConflictMsg *string `json:"ConflictMsg,omitnil,omitempty" name:"ConflictMsg"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CheckInstancesUpgradeAbleRequest ¶
type CheckInstancesUpgradeAbleRequest struct { *tchttp.BaseRequest // Cluster ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // Specify the node list to check. If it’s not passed in, all nodes of the cluster will be checked. InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" name:"InstanceIds"` // Upgrade type UpgradeType *string `json:"UpgradeType,omitnil,omitempty" name:"UpgradeType"` // Pagination offset Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Pagination limit Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // Filtering Filter []*Filter `json:"Filter,omitnil,omitempty" name:"Filter"` }
func NewCheckInstancesUpgradeAbleRequest ¶
func NewCheckInstancesUpgradeAbleRequest() (request *CheckInstancesUpgradeAbleRequest)
func (*CheckInstancesUpgradeAbleRequest) FromJsonString ¶
func (r *CheckInstancesUpgradeAbleRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CheckInstancesUpgradeAbleRequest) ToJsonString ¶
func (r *CheckInstancesUpgradeAbleRequest) ToJsonString() string
type CheckInstancesUpgradeAbleRequestParams ¶
type CheckInstancesUpgradeAbleRequestParams struct { // Cluster ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // Specify the node list to check. If it’s not passed in, all nodes of the cluster will be checked. InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" name:"InstanceIds"` // Upgrade type UpgradeType *string `json:"UpgradeType,omitnil,omitempty" name:"UpgradeType"` // Pagination offset Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Pagination limit Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // Filtering Filter []*Filter `json:"Filter,omitnil,omitempty" name:"Filter"` }
Predefined struct for user
type CheckInstancesUpgradeAbleResponse ¶
type CheckInstancesUpgradeAbleResponse struct { *tchttp.BaseResponse Response *CheckInstancesUpgradeAbleResponseParams `json:"Response"` }
func NewCheckInstancesUpgradeAbleResponse ¶
func NewCheckInstancesUpgradeAbleResponse() (response *CheckInstancesUpgradeAbleResponse)
func (*CheckInstancesUpgradeAbleResponse) FromJsonString ¶
func (r *CheckInstancesUpgradeAbleResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CheckInstancesUpgradeAbleResponse) ToJsonString ¶
func (r *CheckInstancesUpgradeAbleResponse) ToJsonString() string
type CheckInstancesUpgradeAbleResponseParams ¶
type CheckInstancesUpgradeAbleResponseParams struct { // The current minor version of cluster Master ClusterVersion *string `json:"ClusterVersion,omitnil,omitempty" name:"ClusterVersion"` // The latest minor version of cluster Master corresponding major version LatestVersion *string `json:"LatestVersion,omitnil,omitempty" name:"LatestVersion"` // List of nodes that can be upgraded // Note: this field may return `null`, indicating that no valid value is obtained. UpgradeAbleInstances []*UpgradeAbleInstancesItem `json:"UpgradeAbleInstances,omitnil,omitempty" name:"UpgradeAbleInstances"` // Total number // Note: this field may return `null`, indicating that no valid value is obtained. Total *int64 `json:"Total,omitnil,omitempty" name:"Total"` // Note: This field may return `null`, indicating that no valid values can be obtained. UnavailableVersionReason []*UnavailableReason `json:"UnavailableVersionReason,omitnil,omitempty" name:"UnavailableVersionReason"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type Client ¶
func NewClient ¶
func NewClient(credential common.CredentialIface, region string, clientProfile *profile.ClientProfile) (client *Client, err error)
func NewClientWithSecretId ¶
Deprecated
func (*Client) AcquireClusterAdminRole ¶
func (c *Client) AcquireClusterAdminRole(request *AcquireClusterAdminRoleRequest) (response *AcquireClusterAdminRoleResponse, err error)
AcquireClusterAdminRole This API can be called to acquire the ClusterRole tke:admin. By setting a CAM policy, you can grant permission of this API to a sub-account that has higher permission in CAM. In this way, this sub-account can call this API directly to acquire the admin role of a Kubernetes cluster.
error code that may be returned:
FAILEDOPERATION_COMPONENTCLIENTHTTP = "FailedOperation.ComponentClientHttp" FAILEDOPERATION_KUBERNETESCREATEOPERATIONERROR = "FailedOperation.KubernetesCreateOperationError" FAILEDOPERATION_KUBERNETESGETOPERATIONERROR = "FailedOperation.KubernetesGetOperationError" INTERNALERROR = "InternalError" INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth" INTERNALERROR_KUBERNETESCLIENTBUILDERROR = "InternalError.KubernetesClientBuildError" INTERNALERROR_KUBERNETESCREATEOPERATIONERROR = "InternalError.KubernetesCreateOperationError" INTERNALERROR_KUBERNETESGETOPERATIONERROR = "InternalError.KubernetesGetOperationError" INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" INTERNALERROR_WHITELISTUNEXPECTEDERROR = "InternalError.WhitelistUnexpectedError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_PARAM = "InvalidParameter.Param" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_CLUSTERNOTFOUND = "ResourceNotFound.ClusterNotFound" RESOURCEUNAVAILABLE_CLUSTERSTATE = "ResourceUnavailable.ClusterState" UNAUTHORIZEDOPERATION_CAMNOAUTH = "UnauthorizedOperation.CamNoAuth" UNSUPPORTEDOPERATION_NOTINWHITELIST = "UnsupportedOperation.NotInWhitelist"
func (*Client) AcquireClusterAdminRoleWithContext ¶
func (c *Client) AcquireClusterAdminRoleWithContext(ctx context.Context, request *AcquireClusterAdminRoleRequest) (response *AcquireClusterAdminRoleResponse, err error)
AcquireClusterAdminRole This API can be called to acquire the ClusterRole tke:admin. By setting a CAM policy, you can grant permission of this API to a sub-account that has higher permission in CAM. In this way, this sub-account can call this API directly to acquire the admin role of a Kubernetes cluster.
error code that may be returned:
FAILEDOPERATION_COMPONENTCLIENTHTTP = "FailedOperation.ComponentClientHttp" FAILEDOPERATION_KUBERNETESCREATEOPERATIONERROR = "FailedOperation.KubernetesCreateOperationError" FAILEDOPERATION_KUBERNETESGETOPERATIONERROR = "FailedOperation.KubernetesGetOperationError" INTERNALERROR = "InternalError" INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth" INTERNALERROR_KUBERNETESCLIENTBUILDERROR = "InternalError.KubernetesClientBuildError" INTERNALERROR_KUBERNETESCREATEOPERATIONERROR = "InternalError.KubernetesCreateOperationError" INTERNALERROR_KUBERNETESGETOPERATIONERROR = "InternalError.KubernetesGetOperationError" INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" INTERNALERROR_WHITELISTUNEXPECTEDERROR = "InternalError.WhitelistUnexpectedError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_PARAM = "InvalidParameter.Param" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_CLUSTERNOTFOUND = "ResourceNotFound.ClusterNotFound" RESOURCEUNAVAILABLE_CLUSTERSTATE = "ResourceUnavailable.ClusterState" UNAUTHORIZEDOPERATION_CAMNOAUTH = "UnauthorizedOperation.CamNoAuth" UNSUPPORTEDOPERATION_NOTINWHITELIST = "UnsupportedOperation.NotInWhitelist"
func (*Client) AddExistedInstances ¶
func (c *Client) AddExistedInstances(request *AddExistedInstancesRequest) (response *AddExistedInstancesResponse, err error)
AddExistedInstances This API is used to add one or more existing instances to a cluster.
error code that may be returned:
FAILEDOPERATION_CLUSTERNOTFOUND = "FailedOperation.ClusterNotFound" FAILEDOPERATION_CLUSTERSTATE = "FailedOperation.ClusterState" FAILEDOPERATION_COMPONENTCLIENTHTTP = "FailedOperation.ComponentClientHttp" FAILEDOPERATION_CVMCOMMON = "FailedOperation.CvmCommon" FAILEDOPERATION_NETWORKSCALEERROR = "FailedOperation.NetworkScaleError" FAILEDOPERATION_NODEEXISTSSECONDARYNETWORKINTERFACE = "FailedOperation.NodeExistsSecondaryNetworkInterface" FAILEDOPERATION_PARAM = "FailedOperation.Param" FAILEDOPERATION_QUOTAMAXNODLIMIT = "FailedOperation.QuotaMaxNodLimit" INTERNALERROR = "InternalError" INTERNALERROR_CLUSTERNOTFOUND = "InternalError.ClusterNotFound" INTERNALERROR_CLUSTERSTATE = "InternalError.ClusterState" INTERNALERROR_CVMCOMMON = "InternalError.CvmCommon" INTERNALERROR_DB = "InternalError.Db" INTERNALERROR_DBAFFECTIVEDROWS = "InternalError.DbAffectivedRows" INTERNALERROR_PARAM = "InternalError.Param" INTERNALERROR_QUOTAMAXNODLIMIT = "InternalError.QuotaMaxNodLimit" INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal" INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" INVALIDPARAMETER = "InvalidParameter" LIMITEXCEEDED = "LimitExceeded"
func (*Client) AddExistedInstancesWithContext ¶
func (c *Client) AddExistedInstancesWithContext(ctx context.Context, request *AddExistedInstancesRequest) (response *AddExistedInstancesResponse, err error)
AddExistedInstances This API is used to add one or more existing instances to a cluster.
error code that may be returned:
FAILEDOPERATION_CLUSTERNOTFOUND = "FailedOperation.ClusterNotFound" FAILEDOPERATION_CLUSTERSTATE = "FailedOperation.ClusterState" FAILEDOPERATION_COMPONENTCLIENTHTTP = "FailedOperation.ComponentClientHttp" FAILEDOPERATION_CVMCOMMON = "FailedOperation.CvmCommon" FAILEDOPERATION_NETWORKSCALEERROR = "FailedOperation.NetworkScaleError" FAILEDOPERATION_NODEEXISTSSECONDARYNETWORKINTERFACE = "FailedOperation.NodeExistsSecondaryNetworkInterface" FAILEDOPERATION_PARAM = "FailedOperation.Param" FAILEDOPERATION_QUOTAMAXNODLIMIT = "FailedOperation.QuotaMaxNodLimit" INTERNALERROR = "InternalError" INTERNALERROR_CLUSTERNOTFOUND = "InternalError.ClusterNotFound" INTERNALERROR_CLUSTERSTATE = "InternalError.ClusterState" INTERNALERROR_CVMCOMMON = "InternalError.CvmCommon" INTERNALERROR_DB = "InternalError.Db" INTERNALERROR_DBAFFECTIVEDROWS = "InternalError.DbAffectivedRows" INTERNALERROR_PARAM = "InternalError.Param" INTERNALERROR_QUOTAMAXNODLIMIT = "InternalError.QuotaMaxNodLimit" INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal" INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" INVALIDPARAMETER = "InvalidParameter" LIMITEXCEEDED = "LimitExceeded"
func (*Client) AddNodeToNodePool ¶
func (c *Client) AddNodeToNodePool(request *AddNodeToNodePoolRequest) (response *AddNodeToNodePoolResponse, err error)
AddNodeToNodePool This API is used to move nodes in a cluster to a node pool.
error code that may be returned:
FAILEDOPERATION_COMPONENTCLIENTHTTP = "FailedOperation.ComponentClientHttp" FAILEDOPERATION_CVMCOMMON = "FailedOperation.CvmCommon" INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
func (*Client) AddNodeToNodePoolWithContext ¶
func (c *Client) AddNodeToNodePoolWithContext(ctx context.Context, request *AddNodeToNodePoolRequest) (response *AddNodeToNodePoolResponse, err error)
AddNodeToNodePool This API is used to move nodes in a cluster to a node pool.
error code that may be returned:
FAILEDOPERATION_COMPONENTCLIENTHTTP = "FailedOperation.ComponentClientHttp" FAILEDOPERATION_CVMCOMMON = "FailedOperation.CvmCommon" INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
func (*Client) AddVpcCniSubnets ¶
func (c *Client) AddVpcCniSubnets(request *AddVpcCniSubnetsRequest) (response *AddVpcCniSubnetsResponse, err error)
AddVpcCniSubnets This API is used to add subnets in the container network for a VPC-CNI cluster.
error code that may be returned:
FAILEDOPERATION_VPCRECODRNOTFOUND = "FailedOperation.VpcRecodrNotFound" INTERNALERROR = "InternalError" INTERNALERROR_DB = "InternalError.Db" INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound" INTERNALERROR_KUBECOMMON = "InternalError.KubeCommon" INTERNALERROR_PARAM = "InternalError.Param" INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal" INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" INTERNALERROR_VPCRECODRNOTFOUND = "InternalError.VpcRecodrNotFound" INVALIDPARAMETER_CLUSTERNOTFOUND = "InvalidParameter.ClusterNotFound" INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
func (*Client) AddVpcCniSubnetsWithContext ¶
func (c *Client) AddVpcCniSubnetsWithContext(ctx context.Context, request *AddVpcCniSubnetsRequest) (response *AddVpcCniSubnetsResponse, err error)
AddVpcCniSubnets This API is used to add subnets in the container network for a VPC-CNI cluster.
error code that may be returned:
FAILEDOPERATION_VPCRECODRNOTFOUND = "FailedOperation.VpcRecodrNotFound" INTERNALERROR = "InternalError" INTERNALERROR_DB = "InternalError.Db" INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound" INTERNALERROR_KUBECOMMON = "InternalError.KubeCommon" INTERNALERROR_PARAM = "InternalError.Param" INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal" INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" INTERNALERROR_VPCRECODRNOTFOUND = "InternalError.VpcRecodrNotFound" INVALIDPARAMETER_CLUSTERNOTFOUND = "InvalidParameter.ClusterNotFound" INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
func (*Client) CheckEdgeClusterCIDR ¶
func (c *Client) CheckEdgeClusterCIDR(request *CheckEdgeClusterCIDRRequest) (response *CheckEdgeClusterCIDRResponse, err error)
CheckEdgeClusterCIDR This API is used to check if the CIDR block of a TKE Edge cluster conflicts with other CIDR blocks.
error code that may be returned:
FAILEDOPERATION_VPCCOMMON = "FailedOperation.VpcCommon" INTERNALERROR = "InternalError" INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth" INTERNALERROR_CIDRCONFLICTWITHOTHERCLUSTER = "InternalError.CidrConflictWithOtherCluster" INTERNALERROR_CIDRCONFLICTWITHOTHERROUTE = "InternalError.CidrConflictWithOtherRoute" INTERNALERROR_CIDRCONFLICTWITHVPCCIDR = "InternalError.CidrConflictWithVpcCidr" INTERNALERROR_CIDRCONFLICTWITHVPCGLOBALROUTE = "InternalError.CidrConflictWithVpcGlobalRoute" INTERNALERROR_CIDRINVALI = "InternalError.CidrInvali" INTERNALERROR_CIDRMASKSIZEOUTOFRANGE = "InternalError.CidrMaskSizeOutOfRange" INTERNALERROR_CMDTIMEOUT = "InternalError.CmdTimeout" INTERNALERROR_INVALIDPRIVATENETWORKCIDR = "InternalError.InvalidPrivateNetworkCidr" INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal" INTERNALERROR_VPCCOMMON = "InternalError.VpcCommon" INTERNALERROR_VPCPEERNOTFOUND = "InternalError.VpcPeerNotFound" INTERNALERROR_VPCRECODRNOTFOUND = "InternalError.VpcRecodrNotFound" INTERNALERROR_VSTATIONERROR = "InternalError.VstationError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_PARAM = "InvalidParameter.Param" INVALIDPARAMETER_ROUTETABLENOTEMPTY = "InvalidParameter.RouteTableNotEmpty" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) CheckEdgeClusterCIDRWithContext ¶
func (c *Client) CheckEdgeClusterCIDRWithContext(ctx context.Context, request *CheckEdgeClusterCIDRRequest) (response *CheckEdgeClusterCIDRResponse, err error)
CheckEdgeClusterCIDR This API is used to check if the CIDR block of a TKE Edge cluster conflicts with other CIDR blocks.
error code that may be returned:
FAILEDOPERATION_VPCCOMMON = "FailedOperation.VpcCommon" INTERNALERROR = "InternalError" INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth" INTERNALERROR_CIDRCONFLICTWITHOTHERCLUSTER = "InternalError.CidrConflictWithOtherCluster" INTERNALERROR_CIDRCONFLICTWITHOTHERROUTE = "InternalError.CidrConflictWithOtherRoute" INTERNALERROR_CIDRCONFLICTWITHVPCCIDR = "InternalError.CidrConflictWithVpcCidr" INTERNALERROR_CIDRCONFLICTWITHVPCGLOBALROUTE = "InternalError.CidrConflictWithVpcGlobalRoute" INTERNALERROR_CIDRINVALI = "InternalError.CidrInvali" INTERNALERROR_CIDRMASKSIZEOUTOFRANGE = "InternalError.CidrMaskSizeOutOfRange" INTERNALERROR_CMDTIMEOUT = "InternalError.CmdTimeout" INTERNALERROR_INVALIDPRIVATENETWORKCIDR = "InternalError.InvalidPrivateNetworkCidr" INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal" INTERNALERROR_VPCCOMMON = "InternalError.VpcCommon" INTERNALERROR_VPCPEERNOTFOUND = "InternalError.VpcPeerNotFound" INTERNALERROR_VPCRECODRNOTFOUND = "InternalError.VpcRecodrNotFound" INTERNALERROR_VSTATIONERROR = "InternalError.VstationError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_PARAM = "InvalidParameter.Param" INVALIDPARAMETER_ROUTETABLENOTEMPTY = "InvalidParameter.RouteTableNotEmpty" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) CheckInstancesUpgradeAble ¶
func (c *Client) CheckInstancesUpgradeAble(request *CheckInstancesUpgradeAbleRequest) (response *CheckInstancesUpgradeAbleResponse, err error)
CheckInstancesUpgradeAble This API is used to query nodes eligible for an upgrade in the given node list.
error code that may be returned:
FAILEDOPERATION_KUBECLIENTCONNECTION = "FailedOperation.KubeClientConnection" FAILEDOPERATION_KUBECOMMON = "FailedOperation.KubeCommon" FAILEDOPERATION_POLICYSERVERCOMMONERROR = "FailedOperation.PolicyServerCommonError" INTERNALERROR = "InternalError" INTERNALERROR_DB = "InternalError.Db" INTERNALERROR_KUBECLIENTCONNECTION = "InternalError.KubeClientConnection" INTERNALERROR_KUBECOMMON = "InternalError.KubeCommon" INTERNALERROR_PARAM = "InternalError.Param" INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_PARAM = "InvalidParameter.Param" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_CLUSTERNOTFOUND = "ResourceNotFound.ClusterNotFound"
func (*Client) CheckInstancesUpgradeAbleWithContext ¶
func (c *Client) CheckInstancesUpgradeAbleWithContext(ctx context.Context, request *CheckInstancesUpgradeAbleRequest) (response *CheckInstancesUpgradeAbleResponse, err error)
CheckInstancesUpgradeAble This API is used to query nodes eligible for an upgrade in the given node list.
error code that may be returned:
FAILEDOPERATION_KUBECLIENTCONNECTION = "FailedOperation.KubeClientConnection" FAILEDOPERATION_KUBECOMMON = "FailedOperation.KubeCommon" FAILEDOPERATION_POLICYSERVERCOMMONERROR = "FailedOperation.PolicyServerCommonError" INTERNALERROR = "InternalError" INTERNALERROR_DB = "InternalError.Db" INTERNALERROR_KUBECLIENTCONNECTION = "InternalError.KubeClientConnection" INTERNALERROR_KUBECOMMON = "InternalError.KubeCommon" INTERNALERROR_PARAM = "InternalError.Param" INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_PARAM = "InvalidParameter.Param" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_CLUSTERNOTFOUND = "ResourceNotFound.ClusterNotFound"
func (*Client) CreateBackupStorageLocation ¶
func (c *Client) CreateBackupStorageLocation(request *CreateBackupStorageLocationRequest) (response *CreateBackupStorageLocationResponse, err error)
CreateBackupStorageLocation This API is used to create a backup repository. You can specify the storage type (such as COS), the bucket region and the name. Up to 100 repositories can be created. Note that the settings of this API apply globally. You only need to create one backup repository, and back up TKE clusters in different regions in it.
error code that may be returned:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" LIMITEXCEEDED = "LimitExceeded" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNKNOWNPARAMETER = "UnknownParameter"
func (*Client) CreateBackupStorageLocationWithContext ¶
func (c *Client) CreateBackupStorageLocationWithContext(ctx context.Context, request *CreateBackupStorageLocationRequest) (response *CreateBackupStorageLocationResponse, err error)
CreateBackupStorageLocation This API is used to create a backup repository. You can specify the storage type (such as COS), the bucket region and the name. Up to 100 repositories can be created. Note that the settings of this API apply globally. You only need to create one backup repository, and back up TKE clusters in different regions in it.
error code that may be returned:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" LIMITEXCEEDED = "LimitExceeded" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNKNOWNPARAMETER = "UnknownParameter"
func (*Client) CreateCluster ¶
func (c *Client) CreateCluster(request *CreateClusterRequest) (response *CreateClusterResponse, err error)
CreateCluster This API is used to create a cluster.
error code that may be returned:
FAILEDOPERATION_ACCOUNTCOMMON = "FailedOperation.AccountCommon" FAILEDOPERATION_ACCOUNTUSERNOTAUTHENTICATED = "FailedOperation.AccountUserNotAuthenticated" FAILEDOPERATION_CAMNOAUTH = "FailedOperation.CamNoAuth" FAILEDOPERATION_COMPONENTCLIENTHTTP = "FailedOperation.ComponentClientHttp" FAILEDOPERATION_CVMCOMMON = "FailedOperation.CvmCommon" FAILEDOPERATION_CVMNUMBERNOTMATCH = "FailedOperation.CvmNumberNotMatch" FAILEDOPERATION_CVMVPCIDNOTMATCH = "FailedOperation.CvmVpcidNotMatch" FAILEDOPERATION_DBRECORDNOTFOUND = "FailedOperation.DbRecordNotFound" FAILEDOPERATION_DFWGETUSGQUOTA = "FailedOperation.DfwGetUSGQuota" FAILEDOPERATION_NODEEXISTSSECONDARYNETWORKINTERFACE = "FailedOperation.NodeExistsSecondaryNetworkInterface" FAILEDOPERATION_OSNOTSUPPORT = "FailedOperation.OsNotSupport" FAILEDOPERATION_PARAM = "FailedOperation.Param" FAILEDOPERATION_QUOTAMAXCLSLIMIT = "FailedOperation.QuotaMaxClsLimit" FAILEDOPERATION_QUOTAMAXNODLIMIT = "FailedOperation.QuotaMaxNodLimit" FAILEDOPERATION_QUOTAUSGLIMIT = "FailedOperation.QuotaUSGLimit" FAILEDOPERATION_TRADECOMMON = "FailedOperation.TradeCommon" FAILEDOPERATION_VPCCOMMON = "FailedOperation.VpcCommon" FAILEDOPERATION_VPCRECODRNOTFOUND = "FailedOperation.VpcRecodrNotFound" FAILEDOPERATION_WHITELISTUNEXPECTEDERROR = "FailedOperation.WhitelistUnexpectedError" INTERNALERROR = "InternalError" INTERNALERROR_ACCOUNTCOMMON = "InternalError.AccountCommon" INTERNALERROR_ACCOUNTUSERNOTAUTHENTICATED = "InternalError.AccountUserNotAuthenticated" INTERNALERROR_ASCOMMON = "InternalError.AsCommon" INTERNALERROR_CIDRCONFLICTWITHOTHERCLUSTER = "InternalError.CidrConflictWithOtherCluster" INTERNALERROR_CIDRCONFLICTWITHOTHERROUTE = "InternalError.CidrConflictWithOtherRoute" INTERNALERROR_CIDRCONFLICTWITHVPCCIDR = "InternalError.CidrConflictWithVpcCidr" INTERNALERROR_CIDRCONFLICTWITHVPCGLOBALROUTE = "InternalError.CidrConflictWithVpcGlobalRoute" INTERNALERROR_CIDRINVALI = "InternalError.CidrInvali" INTERNALERROR_CIDRMASKSIZEOUTOFRANGE = "InternalError.CidrMaskSizeOutOfRange" INTERNALERROR_COMPONENTCLINETHTTP = "InternalError.ComponentClinetHttp" INTERNALERROR_CREATEMASTERFAILED = "InternalError.CreateMasterFailed" INTERNALERROR_CVMCOMMON = "InternalError.CvmCommon" INTERNALERROR_CVMNUMBERNOTMATCH = "InternalError.CvmNumberNotMatch" INTERNALERROR_CVMSTATUS = "InternalError.CvmStatus" INTERNALERROR_DB = "InternalError.Db" INTERNALERROR_DBAFFECTIVEDROWS = "InternalError.DbAffectivedRows" INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound" INTERNALERROR_DFWGETUSGCOUNT = "InternalError.DfwGetUSGCount" INTERNALERROR_DFWGETUSGQUOTA = "InternalError.DfwGetUSGQuota" INTERNALERROR_INITMASTERFAILED = "InternalError.InitMasterFailed" INTERNALERROR_INVALIDPRIVATENETWORKCIDR = "InternalError.InvalidPrivateNetworkCidr" INTERNALERROR_OSNOTSUPPORT = "InternalError.OsNotSupport" INTERNALERROR_PARAM = "InternalError.Param" INTERNALERROR_PUBLICCLUSTEROPNOTSUPPORT = "InternalError.PublicClusterOpNotSupport" INTERNALERROR_QUOTAMAXCLSLIMIT = "InternalError.QuotaMaxClsLimit" INTERNALERROR_QUOTAMAXNODLIMIT = "InternalError.QuotaMaxNodLimit" INTERNALERROR_QUOTAUSGLIMIT = "InternalError.QuotaUSGLimit" INTERNALERROR_TASKCREATEFAILED = "InternalError.TaskCreateFailed" INTERNALERROR_TRADECOMMON = "InternalError.TradeCommon" INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal" INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" INTERNALERROR_VPCCOMMON = "InternalError.VpcCommon" INTERNALERROR_VPCRECODRNOTFOUND = "InternalError.VpcRecodrNotFound" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_CIDRMASKSIZEOUTOFRANGE = "InvalidParameter.CIDRMaskSizeOutOfRange" INVALIDPARAMETER_CIDRCONFLICTWITHOTHERCLUSTER = "InvalidParameter.CidrConflictWithOtherCluster" INVALIDPARAMETER_CIDRCONFLICTWITHOTHERROUTE = "InvalidParameter.CidrConflictWithOtherRoute" INVALIDPARAMETER_CIDRCONFLICTWITHVPCCIDR = "InvalidParameter.CidrConflictWithVpcCidr" INVALIDPARAMETER_CIDRCONFLICTWITHVPCGLOBALROUTE = "InvalidParameter.CidrConflictWithVpcGlobalRoute" INVALIDPARAMETER_CIDRINVALI = "InvalidParameter.CidrInvali" INVALIDPARAMETER_CIDRINVALID = "InvalidParameter.CidrInvalid" INVALIDPARAMETER_INVALIDPRIVATENETWORKCIDR = "InvalidParameter.InvalidPrivateNetworkCIDR" LIMITEXCEEDED = "LimitExceeded" RESOURCEINSUFFICIENT_SPECIFIEDINSTANCETYPE = "ResourceInsufficient.SpecifiedInstanceType"
func (*Client) CreateClusterEndpoint ¶
func (c *Client) CreateClusterEndpoint(request *CreateClusterEndpointRequest) (response *CreateClusterEndpointResponse, err error)
CreateClusterEndpoint This API is used to create a cluster access endpoint.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_KUBECLIENTCONNECTION = "FailedOperation.KubeClientConnection" INTERNALERROR = "InternalError" INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth" INTERNALERROR_CLUSTERSTATE = "InternalError.ClusterState" INTERNALERROR_DB = "InternalError.Db" INTERNALERROR_EMPTYCLUSTERNOTSUPPORT = "InternalError.EmptyClusterNotSupport" INTERNALERROR_PARAM = "InternalError.Param" INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_PARAM = "InvalidParameter.Param" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCEUNAVAILABLE_CLUSTERSTATE = "ResourceUnavailable.ClusterState" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) CreateClusterEndpointVip ¶
func (c *Client) CreateClusterEndpointVip(request *CreateClusterEndpointVipRequest) (response *CreateClusterEndpointVipResponse, err error)
CreateClusterEndpointVip This API is used to create a public network access port for a managed cluster. Note: This API will be disused soon. Please call `CreateClusterEndpoint` instead.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth" INTERNALERROR_CLUSTERNOTFOUND = "InternalError.ClusterNotFound" INTERNALERROR_CLUSTERSTATE = "InternalError.ClusterState" INTERNALERROR_CVMCOMMON = "InternalError.CvmCommon" INTERNALERROR_CVMNOTFOUND = "InternalError.CvmNotFound" INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" INVALIDPARAMETER = "InvalidParameter" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCEUNAVAILABLE_CLUSTERSTATE = "ResourceUnavailable.ClusterState" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) CreateClusterEndpointVipWithContext ¶
func (c *Client) CreateClusterEndpointVipWithContext(ctx context.Context, request *CreateClusterEndpointVipRequest) (response *CreateClusterEndpointVipResponse, err error)
CreateClusterEndpointVip This API is used to create a public network access port for a managed cluster. Note: This API will be disused soon. Please call `CreateClusterEndpoint` instead.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth" INTERNALERROR_CLUSTERNOTFOUND = "InternalError.ClusterNotFound" INTERNALERROR_CLUSTERSTATE = "InternalError.ClusterState" INTERNALERROR_CVMCOMMON = "InternalError.CvmCommon" INTERNALERROR_CVMNOTFOUND = "InternalError.CvmNotFound" INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" INVALIDPARAMETER = "InvalidParameter" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCEUNAVAILABLE_CLUSTERSTATE = "ResourceUnavailable.ClusterState" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) CreateClusterEndpointWithContext ¶
func (c *Client) CreateClusterEndpointWithContext(ctx context.Context, request *CreateClusterEndpointRequest) (response *CreateClusterEndpointResponse, err error)
CreateClusterEndpoint This API is used to create a cluster access endpoint.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_KUBECLIENTCONNECTION = "FailedOperation.KubeClientConnection" INTERNALERROR = "InternalError" INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth" INTERNALERROR_CLUSTERSTATE = "InternalError.ClusterState" INTERNALERROR_DB = "InternalError.Db" INTERNALERROR_EMPTYCLUSTERNOTSUPPORT = "InternalError.EmptyClusterNotSupport" INTERNALERROR_PARAM = "InternalError.Param" INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_PARAM = "InvalidParameter.Param" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCEUNAVAILABLE_CLUSTERSTATE = "ResourceUnavailable.ClusterState" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) CreateClusterInstances ¶
func (c *Client) CreateClusterInstances(request *CreateClusterInstancesRequest) (response *CreateClusterInstancesResponse, err error)
CreateClusterInstances This API is used to create one or more nodes in a cluster.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_ACCOUNTCOMMON = "FailedOperation.AccountCommon" FAILEDOPERATION_CLUSTERNOTFOUND = "FailedOperation.ClusterNotFound" FAILEDOPERATION_CLUSTERSTATE = "FailedOperation.ClusterState" FAILEDOPERATION_CVMCOMMON = "FailedOperation.CvmCommon" FAILEDOPERATION_DB = "FailedOperation.Db" FAILEDOPERATION_NETWORKSCALEERROR = "FailedOperation.NetworkScaleError" FAILEDOPERATION_PARAM = "FailedOperation.Param" FAILEDOPERATION_QUOTAMAXNODLIMIT = "FailedOperation.QuotaMaxNodLimit" INTERNALERROR = "InternalError" INTERNALERROR_ACCOUNTCOMMON = "InternalError.AccountCommon" INTERNALERROR_ACCOUNTUSERNOTAUTHENTICATED = "InternalError.AccountUserNotAuthenticated" INTERNALERROR_CLUSTERNOTFOUND = "InternalError.ClusterNotFound" INTERNALERROR_CLUSTERSTATE = "InternalError.ClusterState" INTERNALERROR_COMPONENTCLINETHTTP = "InternalError.ComponentClinetHttp" INTERNALERROR_CVMCOMMON = "InternalError.CvmCommon" INTERNALERROR_CVMNOTFOUND = "InternalError.CvmNotFound" INTERNALERROR_DB = "InternalError.Db" INTERNALERROR_DBAFFECTIVEDROWS = "InternalError.DbAffectivedRows" INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound" INTERNALERROR_IMAGEIDNOTFOUND = "InternalError.ImageIdNotFound" INTERNALERROR_OSNOTSUPPORT = "InternalError.OsNotSupport" INTERNALERROR_PARAM = "InternalError.Param" INTERNALERROR_QUOTAMAXCLSLIMIT = "InternalError.QuotaMaxClsLimit" INTERNALERROR_QUOTAMAXNODLIMIT = "InternalError.QuotaMaxNodLimit" INTERNALERROR_QUOTAMAXRTLIMIT = "InternalError.QuotaMaxRtLimit" INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal" INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" INTERNALERROR_VPCCOMMON = "InternalError.VpcCommon" INTERNALERROR_VPCPEERNOTFOUND = "InternalError.VpcPeerNotFound" INTERNALERROR_VPCRECODRNOTFOUND = "InternalError.VpcRecodrNotFound" INVALIDPARAMETER = "InvalidParameter" MISSINGPARAMETER = "MissingParameter" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT_SPECIFIEDINSTANCETYPE = "ResourceInsufficient.SpecifiedInstanceType" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) CreateClusterInstancesWithContext ¶
func (c *Client) CreateClusterInstancesWithContext(ctx context.Context, request *CreateClusterInstancesRequest) (response *CreateClusterInstancesResponse, err error)
CreateClusterInstances This API is used to create one or more nodes in a cluster.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_ACCOUNTCOMMON = "FailedOperation.AccountCommon" FAILEDOPERATION_CLUSTERNOTFOUND = "FailedOperation.ClusterNotFound" FAILEDOPERATION_CLUSTERSTATE = "FailedOperation.ClusterState" FAILEDOPERATION_CVMCOMMON = "FailedOperation.CvmCommon" FAILEDOPERATION_DB = "FailedOperation.Db" FAILEDOPERATION_NETWORKSCALEERROR = "FailedOperation.NetworkScaleError" FAILEDOPERATION_PARAM = "FailedOperation.Param" FAILEDOPERATION_QUOTAMAXNODLIMIT = "FailedOperation.QuotaMaxNodLimit" INTERNALERROR = "InternalError" INTERNALERROR_ACCOUNTCOMMON = "InternalError.AccountCommon" INTERNALERROR_ACCOUNTUSERNOTAUTHENTICATED = "InternalError.AccountUserNotAuthenticated" INTERNALERROR_CLUSTERNOTFOUND = "InternalError.ClusterNotFound" INTERNALERROR_CLUSTERSTATE = "InternalError.ClusterState" INTERNALERROR_COMPONENTCLINETHTTP = "InternalError.ComponentClinetHttp" INTERNALERROR_CVMCOMMON = "InternalError.CvmCommon" INTERNALERROR_CVMNOTFOUND = "InternalError.CvmNotFound" INTERNALERROR_DB = "InternalError.Db" INTERNALERROR_DBAFFECTIVEDROWS = "InternalError.DbAffectivedRows" INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound" INTERNALERROR_IMAGEIDNOTFOUND = "InternalError.ImageIdNotFound" INTERNALERROR_OSNOTSUPPORT = "InternalError.OsNotSupport" INTERNALERROR_PARAM = "InternalError.Param" INTERNALERROR_QUOTAMAXCLSLIMIT = "InternalError.QuotaMaxClsLimit" INTERNALERROR_QUOTAMAXNODLIMIT = "InternalError.QuotaMaxNodLimit" INTERNALERROR_QUOTAMAXRTLIMIT = "InternalError.QuotaMaxRtLimit" INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal" INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" INTERNALERROR_VPCCOMMON = "InternalError.VpcCommon" INTERNALERROR_VPCPEERNOTFOUND = "InternalError.VpcPeerNotFound" INTERNALERROR_VPCRECODRNOTFOUND = "InternalError.VpcRecodrNotFound" INVALIDPARAMETER = "InvalidParameter" MISSINGPARAMETER = "MissingParameter" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT_SPECIFIEDINSTANCETYPE = "ResourceInsufficient.SpecifiedInstanceType" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) CreateClusterNodePool ¶
func (c *Client) CreateClusterNodePool(request *CreateClusterNodePoolRequest) (response *CreateClusterNodePoolResponse, err error)
CreateClusterNodePool This API is used to create a node pool.
error code that may be returned:
FAILEDOPERATION_ASCOMMON = "FailedOperation.AsCommon" FAILEDOPERATION_COMPONENTCLIENTHTTP = "FailedOperation.ComponentClientHttp" FAILEDOPERATION_POLICYSERVERCOMMONERROR = "FailedOperation.PolicyServerCommonError" FAILEDOPERATION_UNEXPECTEDERROR = "FailedOperation.UnexpectedError" INTERNALERROR_ASCOMMON = "InternalError.AsCommon" INTERNALERROR_COMPONENTCLIENTHTTP = "InternalError.ComponentClientHttp" INTERNALERROR_DB = "InternalError.Db" INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound" INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" INVALIDPARAMETER_OSNOTSUPPORT = "InvalidParameter.OsNotSupport" INVALIDPARAMETER_PARAM = "InvalidParameter.Param" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_ASASGNOTEXIST = "ResourceNotFound.AsAsgNotExist" RESOURCEUNAVAILABLE_CLUSTERSTATE = "ResourceUnavailable.ClusterState"
func (*Client) CreateClusterNodePoolWithContext ¶
func (c *Client) CreateClusterNodePoolWithContext(ctx context.Context, request *CreateClusterNodePoolRequest) (response *CreateClusterNodePoolResponse, err error)
CreateClusterNodePool This API is used to create a node pool.
error code that may be returned:
FAILEDOPERATION_ASCOMMON = "FailedOperation.AsCommon" FAILEDOPERATION_COMPONENTCLIENTHTTP = "FailedOperation.ComponentClientHttp" FAILEDOPERATION_POLICYSERVERCOMMONERROR = "FailedOperation.PolicyServerCommonError" FAILEDOPERATION_UNEXPECTEDERROR = "FailedOperation.UnexpectedError" INTERNALERROR_ASCOMMON = "InternalError.AsCommon" INTERNALERROR_COMPONENTCLIENTHTTP = "InternalError.ComponentClientHttp" INTERNALERROR_DB = "InternalError.Db" INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound" INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" INVALIDPARAMETER_OSNOTSUPPORT = "InvalidParameter.OsNotSupport" INVALIDPARAMETER_PARAM = "InvalidParameter.Param" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_ASASGNOTEXIST = "ResourceNotFound.AsAsgNotExist" RESOURCEUNAVAILABLE_CLUSTERSTATE = "ResourceUnavailable.ClusterState"
func (*Client) CreateClusterRouteTable ¶
func (c *Client) CreateClusterRouteTable(request *CreateClusterRouteTableRequest) (response *CreateClusterRouteTableResponse, err error)
CreateClusterRouteTable This API is used to create a cluster route table.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INTERNALERROR_CIDRCONFLICTWITHOTHERCLUSTER = "InternalError.CidrConflictWithOtherCluster" INTERNALERROR_CIDRCONFLICTWITHOTHERROUTE = "InternalError.CidrConflictWithOtherRoute" INTERNALERROR_CIDRCONFLICTWITHVPCCIDR = "InternalError.CidrConflictWithVpcCidr" INTERNALERROR_CIDRCONFLICTWITHVPCGLOBALROUTE = "InternalError.CidrConflictWithVpcGlobalRoute" INTERNALERROR_DB = "InternalError.Db" INTERNALERROR_PARAM = "InternalError.Param" INTERNALERROR_QUOTAMAXRTLIMIT = "InternalError.QuotaMaxRtLimit" INTERNALERROR_RESOURCEEXISTALREADY = "InternalError.ResourceExistAlready" INTERNALERROR_VPCCOMMON = "InternalError.VpcCommon" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_CIDRCONFLICTWITHOTHERROUTE = "InvalidParameter.CidrConflictWithOtherRoute" INVALIDPARAMETER_CIDRCONFLICTWITHVPCCIDR = "InvalidParameter.CidrConflictWithVpcCidr" INVALIDPARAMETER_PARAM = "InvalidParameter.Param" RESOURCEINUSE_RESOURCEEXISTALREADY = "ResourceInUse.ResourceExistAlready"
func (*Client) CreateClusterRouteTableWithContext ¶
func (c *Client) CreateClusterRouteTableWithContext(ctx context.Context, request *CreateClusterRouteTableRequest) (response *CreateClusterRouteTableResponse, err error)
CreateClusterRouteTable This API is used to create a cluster route table.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INTERNALERROR_CIDRCONFLICTWITHOTHERCLUSTER = "InternalError.CidrConflictWithOtherCluster" INTERNALERROR_CIDRCONFLICTWITHOTHERROUTE = "InternalError.CidrConflictWithOtherRoute" INTERNALERROR_CIDRCONFLICTWITHVPCCIDR = "InternalError.CidrConflictWithVpcCidr" INTERNALERROR_CIDRCONFLICTWITHVPCGLOBALROUTE = "InternalError.CidrConflictWithVpcGlobalRoute" INTERNALERROR_DB = "InternalError.Db" INTERNALERROR_PARAM = "InternalError.Param" INTERNALERROR_QUOTAMAXRTLIMIT = "InternalError.QuotaMaxRtLimit" INTERNALERROR_RESOURCEEXISTALREADY = "InternalError.ResourceExistAlready" INTERNALERROR_VPCCOMMON = "InternalError.VpcCommon" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_CIDRCONFLICTWITHOTHERROUTE = "InvalidParameter.CidrConflictWithOtherRoute" INVALIDPARAMETER_CIDRCONFLICTWITHVPCCIDR = "InvalidParameter.CidrConflictWithVpcCidr" INVALIDPARAMETER_PARAM = "InvalidParameter.Param" RESOURCEINUSE_RESOURCEEXISTALREADY = "ResourceInUse.ResourceExistAlready"
func (*Client) CreateClusterVirtualNode ¶
func (c *Client) CreateClusterVirtualNode(request *CreateClusterVirtualNodeRequest) (response *CreateClusterVirtualNodeResponse, err error)
CreateClusterVirtualNode This API is used to create a virtual node.
error code that may be returned:
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" INVALIDPARAMETER_PARAM = "InvalidParameter.Param" INVALIDPARAMETER_SUBNETINVALIDERROR = "InvalidParameter.SubnetInvalidError" RESOURCEINUSE_SUBNETALREADYEXIST = "ResourceInUse.SubnetAlreadyExist" RESOURCEUNAVAILABLE_NODEPOOLSTATENOTNORMAL = "ResourceUnavailable.NodePoolStateNotNormal" UNSUPPORTEDOPERATION_NOTINWHITELIST = "UnsupportedOperation.NotInWhitelist" UNSUPPORTEDOPERATION_NOTSUPPORTINSTALLVIRTUALKUBELET = "UnsupportedOperation.NotSupportInstallVirtualKubelet"
func (*Client) CreateClusterVirtualNodePool ¶
func (c *Client) CreateClusterVirtualNodePool(request *CreateClusterVirtualNodePoolRequest) (response *CreateClusterVirtualNodePoolResponse, err error)
CreateClusterVirtualNodePool This API is used to create a virtual node pool.
error code that may be returned:
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" INVALIDPARAMETER_PARAM = "InvalidParameter.Param" INVALIDPARAMETER_SUBNETINVALIDERROR = "InvalidParameter.SubnetInvalidError" INVALIDPARAMETER_SUBNETNOTEXIST = "InvalidParameter.SubnetNotExist" RESOURCEINUSE_SUBNETALREADYEXIST = "ResourceInUse.SubnetAlreadyExist" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE_CLUSTERSTATE = "ResourceUnavailable.ClusterState" UNAUTHORIZEDOPERATION_CAMNOAUTH = "UnauthorizedOperation.CamNoAuth" UNSUPPORTEDOPERATION_NOTSUPPORTINSTALLVIRTUALKUBELET = "UnsupportedOperation.NotSupportInstallVirtualKubelet"
func (*Client) CreateClusterVirtualNodePoolWithContext ¶
func (c *Client) CreateClusterVirtualNodePoolWithContext(ctx context.Context, request *CreateClusterVirtualNodePoolRequest) (response *CreateClusterVirtualNodePoolResponse, err error)
CreateClusterVirtualNodePool This API is used to create a virtual node pool.
error code that may be returned:
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" INVALIDPARAMETER_PARAM = "InvalidParameter.Param" INVALIDPARAMETER_SUBNETINVALIDERROR = "InvalidParameter.SubnetInvalidError" INVALIDPARAMETER_SUBNETNOTEXIST = "InvalidParameter.SubnetNotExist" RESOURCEINUSE_SUBNETALREADYEXIST = "ResourceInUse.SubnetAlreadyExist" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE_CLUSTERSTATE = "ResourceUnavailable.ClusterState" UNAUTHORIZEDOPERATION_CAMNOAUTH = "UnauthorizedOperation.CamNoAuth" UNSUPPORTEDOPERATION_NOTSUPPORTINSTALLVIRTUALKUBELET = "UnsupportedOperation.NotSupportInstallVirtualKubelet"
func (*Client) CreateClusterVirtualNodeWithContext ¶
func (c *Client) CreateClusterVirtualNodeWithContext(ctx context.Context, request *CreateClusterVirtualNodeRequest) (response *CreateClusterVirtualNodeResponse, err error)
CreateClusterVirtualNode This API is used to create a virtual node.
error code that may be returned:
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" INVALIDPARAMETER_PARAM = "InvalidParameter.Param" INVALIDPARAMETER_SUBNETINVALIDERROR = "InvalidParameter.SubnetInvalidError" RESOURCEINUSE_SUBNETALREADYEXIST = "ResourceInUse.SubnetAlreadyExist" RESOURCEUNAVAILABLE_NODEPOOLSTATENOTNORMAL = "ResourceUnavailable.NodePoolStateNotNormal" UNSUPPORTEDOPERATION_NOTINWHITELIST = "UnsupportedOperation.NotInWhitelist" UNSUPPORTEDOPERATION_NOTSUPPORTINSTALLVIRTUALKUBELET = "UnsupportedOperation.NotSupportInstallVirtualKubelet"
func (*Client) CreateClusterWithContext ¶
func (c *Client) CreateClusterWithContext(ctx context.Context, request *CreateClusterRequest) (response *CreateClusterResponse, err error)
CreateCluster This API is used to create a cluster.
error code that may be returned:
FAILEDOPERATION_ACCOUNTCOMMON = "FailedOperation.AccountCommon" FAILEDOPERATION_ACCOUNTUSERNOTAUTHENTICATED = "FailedOperation.AccountUserNotAuthenticated" FAILEDOPERATION_CAMNOAUTH = "FailedOperation.CamNoAuth" FAILEDOPERATION_COMPONENTCLIENTHTTP = "FailedOperation.ComponentClientHttp" FAILEDOPERATION_CVMCOMMON = "FailedOperation.CvmCommon" FAILEDOPERATION_CVMNUMBERNOTMATCH = "FailedOperation.CvmNumberNotMatch" FAILEDOPERATION_CVMVPCIDNOTMATCH = "FailedOperation.CvmVpcidNotMatch" FAILEDOPERATION_DBRECORDNOTFOUND = "FailedOperation.DbRecordNotFound" FAILEDOPERATION_DFWGETUSGQUOTA = "FailedOperation.DfwGetUSGQuota" FAILEDOPERATION_NODEEXISTSSECONDARYNETWORKINTERFACE = "FailedOperation.NodeExistsSecondaryNetworkInterface" FAILEDOPERATION_OSNOTSUPPORT = "FailedOperation.OsNotSupport" FAILEDOPERATION_PARAM = "FailedOperation.Param" FAILEDOPERATION_QUOTAMAXCLSLIMIT = "FailedOperation.QuotaMaxClsLimit" FAILEDOPERATION_QUOTAMAXNODLIMIT = "FailedOperation.QuotaMaxNodLimit" FAILEDOPERATION_QUOTAUSGLIMIT = "FailedOperation.QuotaUSGLimit" FAILEDOPERATION_TRADECOMMON = "FailedOperation.TradeCommon" FAILEDOPERATION_VPCCOMMON = "FailedOperation.VpcCommon" FAILEDOPERATION_VPCRECODRNOTFOUND = "FailedOperation.VpcRecodrNotFound" FAILEDOPERATION_WHITELISTUNEXPECTEDERROR = "FailedOperation.WhitelistUnexpectedError" INTERNALERROR = "InternalError" INTERNALERROR_ACCOUNTCOMMON = "InternalError.AccountCommon" INTERNALERROR_ACCOUNTUSERNOTAUTHENTICATED = "InternalError.AccountUserNotAuthenticated" INTERNALERROR_ASCOMMON = "InternalError.AsCommon" INTERNALERROR_CIDRCONFLICTWITHOTHERCLUSTER = "InternalError.CidrConflictWithOtherCluster" INTERNALERROR_CIDRCONFLICTWITHOTHERROUTE = "InternalError.CidrConflictWithOtherRoute" INTERNALERROR_CIDRCONFLICTWITHVPCCIDR = "InternalError.CidrConflictWithVpcCidr" INTERNALERROR_CIDRCONFLICTWITHVPCGLOBALROUTE = "InternalError.CidrConflictWithVpcGlobalRoute" INTERNALERROR_CIDRINVALI = "InternalError.CidrInvali" INTERNALERROR_CIDRMASKSIZEOUTOFRANGE = "InternalError.CidrMaskSizeOutOfRange" INTERNALERROR_COMPONENTCLINETHTTP = "InternalError.ComponentClinetHttp" INTERNALERROR_CREATEMASTERFAILED = "InternalError.CreateMasterFailed" INTERNALERROR_CVMCOMMON = "InternalError.CvmCommon" INTERNALERROR_CVMNUMBERNOTMATCH = "InternalError.CvmNumberNotMatch" INTERNALERROR_CVMSTATUS = "InternalError.CvmStatus" INTERNALERROR_DB = "InternalError.Db" INTERNALERROR_DBAFFECTIVEDROWS = "InternalError.DbAffectivedRows" INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound" INTERNALERROR_DFWGETUSGCOUNT = "InternalError.DfwGetUSGCount" INTERNALERROR_DFWGETUSGQUOTA = "InternalError.DfwGetUSGQuota" INTERNALERROR_INITMASTERFAILED = "InternalError.InitMasterFailed" INTERNALERROR_INVALIDPRIVATENETWORKCIDR = "InternalError.InvalidPrivateNetworkCidr" INTERNALERROR_OSNOTSUPPORT = "InternalError.OsNotSupport" INTERNALERROR_PARAM = "InternalError.Param" INTERNALERROR_PUBLICCLUSTEROPNOTSUPPORT = "InternalError.PublicClusterOpNotSupport" INTERNALERROR_QUOTAMAXCLSLIMIT = "InternalError.QuotaMaxClsLimit" INTERNALERROR_QUOTAMAXNODLIMIT = "InternalError.QuotaMaxNodLimit" INTERNALERROR_QUOTAUSGLIMIT = "InternalError.QuotaUSGLimit" INTERNALERROR_TASKCREATEFAILED = "InternalError.TaskCreateFailed" INTERNALERROR_TRADECOMMON = "InternalError.TradeCommon" INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal" INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" INTERNALERROR_VPCCOMMON = "InternalError.VpcCommon" INTERNALERROR_VPCRECODRNOTFOUND = "InternalError.VpcRecodrNotFound" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_CIDRMASKSIZEOUTOFRANGE = "InvalidParameter.CIDRMaskSizeOutOfRange" INVALIDPARAMETER_CIDRCONFLICTWITHOTHERCLUSTER = "InvalidParameter.CidrConflictWithOtherCluster" INVALIDPARAMETER_CIDRCONFLICTWITHOTHERROUTE = "InvalidParameter.CidrConflictWithOtherRoute" INVALIDPARAMETER_CIDRCONFLICTWITHVPCCIDR = "InvalidParameter.CidrConflictWithVpcCidr" INVALIDPARAMETER_CIDRCONFLICTWITHVPCGLOBALROUTE = "InvalidParameter.CidrConflictWithVpcGlobalRoute" INVALIDPARAMETER_CIDRINVALI = "InvalidParameter.CidrInvali" INVALIDPARAMETER_CIDRINVALID = "InvalidParameter.CidrInvalid" INVALIDPARAMETER_INVALIDPRIVATENETWORKCIDR = "InvalidParameter.InvalidPrivateNetworkCIDR" LIMITEXCEEDED = "LimitExceeded" RESOURCEINSUFFICIENT_SPECIFIEDINSTANCETYPE = "ResourceInsufficient.SpecifiedInstanceType"
func (*Client) CreateECMInstances ¶
func (c *Client) CreateECMInstances(request *CreateECMInstancesRequest) (response *CreateECMInstancesResponse, err error)
CreateECMInstances This API is used to create an ECM instance.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth" INVALIDPARAMETER = "InvalidParameter" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) CreateECMInstancesWithContext ¶
func (c *Client) CreateECMInstancesWithContext(ctx context.Context, request *CreateECMInstancesRequest) (response *CreateECMInstancesResponse, err error)
CreateECMInstances This API is used to create an ECM instance.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth" INVALIDPARAMETER = "InvalidParameter" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) CreateEdgeCVMInstances ¶
func (c *Client) CreateEdgeCVMInstances(request *CreateEdgeCVMInstancesRequest) (response *CreateEdgeCVMInstancesResponse, err error)
CreateEdgeCVMInstances This API is used to create CVM instances in the specified TKE edge cluster.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth" INVALIDPARAMETER = "InvalidParameter" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) CreateEdgeCVMInstancesWithContext ¶
func (c *Client) CreateEdgeCVMInstancesWithContext(ctx context.Context, request *CreateEdgeCVMInstancesRequest) (response *CreateEdgeCVMInstancesResponse, err error)
CreateEdgeCVMInstances This API is used to create CVM instances in the specified TKE edge cluster.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth" INVALIDPARAMETER = "InvalidParameter" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) CreateEdgeLogConfig ¶
func (c *Client) CreateEdgeLogConfig(request *CreateEdgeLogConfigRequest) (response *CreateEdgeLogConfigResponse, err error)
CreateEdgeLogConfig This API is used to create log collection configuration for a TKE Edge cluster.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) CreateEdgeLogConfigWithContext ¶
func (c *Client) CreateEdgeLogConfigWithContext(ctx context.Context, request *CreateEdgeLogConfigRequest) (response *CreateEdgeLogConfigResponse, err error)
CreateEdgeLogConfig This API is used to create log collection configuration for a TKE Edge cluster.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) CreatePrometheusAlertRule ¶
func (c *Client) CreatePrometheusAlertRule(request *CreatePrometheusAlertRuleRequest) (response *CreatePrometheusAlertRuleResponse, err error)
CreatePrometheusAlertRule This API is used to create an alarm rule.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_PARAM = "InternalError.Param" INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" INVALIDPARAMETER_PARAM = "InvalidParameter.Param" INVALIDPARAMETER_PROMINSTANCENOTFOUND = "InvalidParameter.PromInstanceNotFound" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) CreatePrometheusAlertRuleWithContext ¶
func (c *Client) CreatePrometheusAlertRuleWithContext(ctx context.Context, request *CreatePrometheusAlertRuleRequest) (response *CreatePrometheusAlertRuleResponse, err error)
CreatePrometheusAlertRule This API is used to create an alarm rule.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_PARAM = "InternalError.Param" INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" INVALIDPARAMETER_PARAM = "InvalidParameter.Param" INVALIDPARAMETER_PROMINSTANCENOTFOUND = "InvalidParameter.PromInstanceNotFound" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) CreateTKEEdgeCluster ¶
func (c *Client) CreateTKEEdgeCluster(request *CreateTKEEdgeClusterRequest) (response *CreateTKEEdgeClusterResponse, err error)
CreateTKEEdgeCluster This API is used to create a TKE Edge cluster.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) CreateTKEEdgeClusterWithContext ¶
func (c *Client) CreateTKEEdgeClusterWithContext(ctx context.Context, request *CreateTKEEdgeClusterRequest) (response *CreateTKEEdgeClusterResponse, err error)
CreateTKEEdgeCluster This API is used to create a TKE Edge cluster.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DeleteAddon ¶
func (c *Client) DeleteAddon(request *DeleteAddonRequest) (response *DeleteAddonResponse, err error)
DeleteAddon This API is used to delete an add-on.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DeleteAddonWithContext ¶
func (c *Client) DeleteAddonWithContext(ctx context.Context, request *DeleteAddonRequest) (response *DeleteAddonResponse, err error)
DeleteAddon This API is used to delete an add-on.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DeleteBackupStorageLocation ¶
func (c *Client) DeleteBackupStorageLocation(request *DeleteBackupStorageLocationRequest) (response *DeleteBackupStorageLocationResponse, err error)
DeleteBackupStorageLocation This API is used to delete a backup repository.
error code that may be returned:
INVALIDPARAMETER = "InvalidParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNKNOWNPARAMETER = "UnknownParameter"
func (*Client) DeleteBackupStorageLocationWithContext ¶
func (c *Client) DeleteBackupStorageLocationWithContext(ctx context.Context, request *DeleteBackupStorageLocationRequest) (response *DeleteBackupStorageLocationResponse, err error)
DeleteBackupStorageLocation This API is used to delete a backup repository.
error code that may be returned:
INVALIDPARAMETER = "InvalidParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNKNOWNPARAMETER = "UnknownParameter"
func (*Client) DeleteCluster ¶
func (c *Client) DeleteCluster(request *DeleteClusterRequest) (response *DeleteClusterResponse, err error)
DeleteCluster This API is used to delete a cluster. (Cloud API v3).
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_CAMNOAUTH = "FailedOperation.CamNoAuth" FAILEDOPERATION_CLUSTERFORBIDDENTODELETE = "FailedOperation.ClusterForbiddenToDelete" FAILEDOPERATION_CLUSTERNOTFOUND = "FailedOperation.ClusterNotFound" FAILEDOPERATION_CLUSTERSTATE = "FailedOperation.ClusterState" FAILEDOPERATION_COMPONENTCLIENTCOMMON = "FailedOperation.ComponentClientCommon" FAILEDOPERATION_COMPONENTCLIENTHTTP = "FailedOperation.ComponentClientHttp" FAILEDOPERATION_COMPONENTCLINETHTTP = "FailedOperation.ComponentClinetHttp" FAILEDOPERATION_PARAM = "FailedOperation.Param" INTERNALERROR = "InternalError" INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth" INTERNALERROR_CLUSTERNOTFOUND = "InternalError.ClusterNotFound" INTERNALERROR_CLUSTERSTATE = "InternalError.ClusterState" INTERNALERROR_COMPONENTCLINETHTTP = "InternalError.ComponentClinetHttp" INTERNALERROR_PARAM = "InternalError.Param" INTERNALERROR_PUBLICCLUSTEROPNOTSUPPORT = "InternalError.PublicClusterOpNotSupport" INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal" INVALIDPARAMETER = "InvalidParameter" OPERATIONDENIED_CLUSTERINDELETIONPROTECTION = "OperationDenied.ClusterInDeletionProtection" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable"
func (*Client) DeleteClusterAsGroups ¶
func (c *Client) DeleteClusterAsGroups(request *DeleteClusterAsGroupsRequest) (response *DeleteClusterAsGroupsResponse, err error)
DeleteClusterAsGroups Delete a cluster scaling group
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_CLUSTERNOTFOUND = "FailedOperation.ClusterNotFound" FAILEDOPERATION_CLUSTERSTATE = "FailedOperation.ClusterState" FAILEDOPERATION_PARAM = "FailedOperation.Param" INTERNALERROR = "InternalError" INTERNALERROR_ACCOUNTUSERNOTAUTHENTICATED = "InternalError.AccountUserNotAuthenticated" INTERNALERROR_ASCOMMON = "InternalError.AsCommon" INTERNALERROR_CLUSTERNOTFOUND = "InternalError.ClusterNotFound" INTERNALERROR_PARAM = "InternalError.Param" INTERNALERROR_PUBLICCLUSTEROPNOTSUPPORT = "InternalError.PublicClusterOpNotSupport" INTERNALERROR_QUOTAMAXCLSLIMIT = "InternalError.QuotaMaxClsLimit" INTERNALERROR_QUOTAMAXNODLIMIT = "InternalError.QuotaMaxNodLimit" INTERNALERROR_QUOTAMAXRTLIMIT = "InternalError.QuotaMaxRtLimit" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_ASCOMMONERROR = "InvalidParameter.AsCommonError" INVALIDPARAMETER_PARAM = "InvalidParameter.Param" LIMITEXCEEDED = "LimitExceeded" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound" UNKNOWNPARAMETER = "UnknownParameter"
func (*Client) DeleteClusterAsGroupsWithContext ¶
func (c *Client) DeleteClusterAsGroupsWithContext(ctx context.Context, request *DeleteClusterAsGroupsRequest) (response *DeleteClusterAsGroupsResponse, err error)
DeleteClusterAsGroups Delete a cluster scaling group
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_CLUSTERNOTFOUND = "FailedOperation.ClusterNotFound" FAILEDOPERATION_CLUSTERSTATE = "FailedOperation.ClusterState" FAILEDOPERATION_PARAM = "FailedOperation.Param" INTERNALERROR = "InternalError" INTERNALERROR_ACCOUNTUSERNOTAUTHENTICATED = "InternalError.AccountUserNotAuthenticated" INTERNALERROR_ASCOMMON = "InternalError.AsCommon" INTERNALERROR_CLUSTERNOTFOUND = "InternalError.ClusterNotFound" INTERNALERROR_PARAM = "InternalError.Param" INTERNALERROR_PUBLICCLUSTEROPNOTSUPPORT = "InternalError.PublicClusterOpNotSupport" INTERNALERROR_QUOTAMAXCLSLIMIT = "InternalError.QuotaMaxClsLimit" INTERNALERROR_QUOTAMAXNODLIMIT = "InternalError.QuotaMaxNodLimit" INTERNALERROR_QUOTAMAXRTLIMIT = "InternalError.QuotaMaxRtLimit" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_ASCOMMONERROR = "InvalidParameter.AsCommonError" INVALIDPARAMETER_PARAM = "InvalidParameter.Param" LIMITEXCEEDED = "LimitExceeded" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound" UNKNOWNPARAMETER = "UnknownParameter"
func (*Client) DeleteClusterEndpoint ¶
func (c *Client) DeleteClusterEndpoint(request *DeleteClusterEndpointRequest) (response *DeleteClusterEndpointResponse, err error)
DeleteClusterEndpoint This API is used to delete a cluster access endpoint.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INTERNALERROR_ACCOUNTUSERNOTAUTHENTICATED = "InternalError.AccountUserNotAuthenticated" INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth" INTERNALERROR_CLUSTERNOTFOUND = "InternalError.ClusterNotFound" INTERNALERROR_CLUSTERSTATE = "InternalError.ClusterState" INTERNALERROR_CVMCOMMON = "InternalError.CvmCommon" INTERNALERROR_CVMNOTFOUND = "InternalError.CvmNotFound" INTERNALERROR_DB = "InternalError.Db" INTERNALERROR_KUBECOMMON = "InternalError.KubeCommon" INTERNALERROR_PARAM = "InternalError.Param" INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" INVALIDPARAMETER = "InvalidParameter" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DeleteClusterEndpointVip ¶
func (c *Client) DeleteClusterEndpointVip(request *DeleteClusterEndpointVipRequest) (response *DeleteClusterEndpointVipResponse, err error)
DeleteClusterEndpointVip Delete the external network access port of the managed cluster (the old way, only the external network port of the managed cluster is supported)
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth" INTERNALERROR_DB = "InternalError.Db" INTERNALERROR_DBAFFECTIVEDROWS = "InternalError.DbAffectivedRows" INTERNALERROR_DFWGETUSGCOUNT = "InternalError.DfwGetUSGCount" INTERNALERROR_DFWGETUSGQUOTA = "InternalError.DfwGetUSGQuota" INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_PARAM = "InvalidParameter.Param" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DeleteClusterEndpointVipWithContext ¶
func (c *Client) DeleteClusterEndpointVipWithContext(ctx context.Context, request *DeleteClusterEndpointVipRequest) (response *DeleteClusterEndpointVipResponse, err error)
DeleteClusterEndpointVip Delete the external network access port of the managed cluster (the old way, only the external network port of the managed cluster is supported)
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth" INTERNALERROR_DB = "InternalError.Db" INTERNALERROR_DBAFFECTIVEDROWS = "InternalError.DbAffectivedRows" INTERNALERROR_DFWGETUSGCOUNT = "InternalError.DfwGetUSGCount" INTERNALERROR_DFWGETUSGQUOTA = "InternalError.DfwGetUSGQuota" INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_PARAM = "InvalidParameter.Param" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DeleteClusterEndpointWithContext ¶
func (c *Client) DeleteClusterEndpointWithContext(ctx context.Context, request *DeleteClusterEndpointRequest) (response *DeleteClusterEndpointResponse, err error)
DeleteClusterEndpoint This API is used to delete a cluster access endpoint.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INTERNALERROR_ACCOUNTUSERNOTAUTHENTICATED = "InternalError.AccountUserNotAuthenticated" INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth" INTERNALERROR_CLUSTERNOTFOUND = "InternalError.ClusterNotFound" INTERNALERROR_CLUSTERSTATE = "InternalError.ClusterState" INTERNALERROR_CVMCOMMON = "InternalError.CvmCommon" INTERNALERROR_CVMNOTFOUND = "InternalError.CvmNotFound" INTERNALERROR_DB = "InternalError.Db" INTERNALERROR_KUBECOMMON = "InternalError.KubeCommon" INTERNALERROR_PARAM = "InternalError.Param" INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" INVALIDPARAMETER = "InvalidParameter" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DeleteClusterInstances ¶
func (c *Client) DeleteClusterInstances(request *DeleteClusterInstancesRequest) (response *DeleteClusterInstancesResponse, err error)
DeleteClusterInstances This API is used to delete one or more nodes from a cluster.
error code that may be returned:
FAILEDOPERATION_ASCOMMON = "FailedOperation.AsCommon" FAILEDOPERATION_CLUSTERNOTFOUND = "FailedOperation.ClusterNotFound" FAILEDOPERATION_CLUSTERSTATE = "FailedOperation.ClusterState" FAILEDOPERATION_DBRECORDNOTFOUND = "FailedOperation.DbRecordNotFound" FAILEDOPERATION_PARAM = "FailedOperation.Param" INTERNALERROR = "InternalError" INTERNALERROR_ASCOMMON = "InternalError.AsCommon" INTERNALERROR_CLUSTERNOTFOUND = "InternalError.ClusterNotFound" INTERNALERROR_CLUSTERSTATE = "InternalError.ClusterState" INTERNALERROR_DB = "InternalError.Db" INTERNALERROR_DBAFFECTIVEDROWS = "InternalError.DbAffectivedRows" INTERNALERROR_PARAM = "InternalError.Param" INTERNALERROR_PUBLICCLUSTEROPNOTSUPPORT = "InternalError.PublicClusterOpNotSupport" INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal" INVALIDPARAMETER = "InvalidParameter" LIMITEXCEEDED = "LimitExceeded"
func (*Client) DeleteClusterInstancesWithContext ¶
func (c *Client) DeleteClusterInstancesWithContext(ctx context.Context, request *DeleteClusterInstancesRequest) (response *DeleteClusterInstancesResponse, err error)
DeleteClusterInstances This API is used to delete one or more nodes from a cluster.
error code that may be returned:
FAILEDOPERATION_ASCOMMON = "FailedOperation.AsCommon" FAILEDOPERATION_CLUSTERNOTFOUND = "FailedOperation.ClusterNotFound" FAILEDOPERATION_CLUSTERSTATE = "FailedOperation.ClusterState" FAILEDOPERATION_DBRECORDNOTFOUND = "FailedOperation.DbRecordNotFound" FAILEDOPERATION_PARAM = "FailedOperation.Param" INTERNALERROR = "InternalError" INTERNALERROR_ASCOMMON = "InternalError.AsCommon" INTERNALERROR_CLUSTERNOTFOUND = "InternalError.ClusterNotFound" INTERNALERROR_CLUSTERSTATE = "InternalError.ClusterState" INTERNALERROR_DB = "InternalError.Db" INTERNALERROR_DBAFFECTIVEDROWS = "InternalError.DbAffectivedRows" INTERNALERROR_PARAM = "InternalError.Param" INTERNALERROR_PUBLICCLUSTEROPNOTSUPPORT = "InternalError.PublicClusterOpNotSupport" INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal" INVALIDPARAMETER = "InvalidParameter" LIMITEXCEEDED = "LimitExceeded"
func (*Client) DeleteClusterNodePool ¶
func (c *Client) DeleteClusterNodePool(request *DeleteClusterNodePoolRequest) (response *DeleteClusterNodePoolResponse, err error)
DeleteClusterNodePool This API is used to delete a node pool.
error code that may be returned:
FAILEDOPERATION_RECORDNOTFOUND = "FailedOperation.RecordNotFound" INTERNALERROR_DB = "InternalError.Db" INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound" INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" INVALIDPARAMETER_PARAM = "InvalidParameter.Param" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DeleteClusterNodePoolWithContext ¶
func (c *Client) DeleteClusterNodePoolWithContext(ctx context.Context, request *DeleteClusterNodePoolRequest) (response *DeleteClusterNodePoolResponse, err error)
DeleteClusterNodePool This API is used to delete a node pool.
error code that may be returned:
FAILEDOPERATION_RECORDNOTFOUND = "FailedOperation.RecordNotFound" INTERNALERROR_DB = "InternalError.Db" INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound" INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" INVALIDPARAMETER_PARAM = "InvalidParameter.Param" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DeleteClusterRoute ¶
func (c *Client) DeleteClusterRoute(request *DeleteClusterRouteRequest) (response *DeleteClusterRouteResponse, err error)
DeleteClusterRoute This API is used to delete a cluster route.
error code that may be returned:
FAILEDOPERATION_PARAM = "FailedOperation.Param" FAILEDOPERATION_VPCCOMMON = "FailedOperation.VpcCommon" INTERNALERROR = "InternalError" INTERNALERROR_DB = "InternalError.Db" INTERNALERROR_PARAM = "InternalError.Param" INTERNALERROR_ROUTETABLENOTFOUND = "InternalError.RouteTableNotFound" INTERNALERROR_VPCCOMMON = "InternalError.VpcCommon" INVALIDPARAMETER = "InvalidParameter"
func (*Client) DeleteClusterRouteTable ¶
func (c *Client) DeleteClusterRouteTable(request *DeleteClusterRouteTableRequest) (response *DeleteClusterRouteTableResponse, err error)
DeleteClusterRouteTable This API is used to delete cluster a route table.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INTERNALERROR_DB = "InternalError.Db" INTERNALERROR_ROUTETABLENOTEMPTY = "InternalError.RouteTableNotEmpty" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_ROUTETABLENOTEMPTY = "InvalidParameter.RouteTableNotEmpty"
func (*Client) DeleteClusterRouteTableWithContext ¶
func (c *Client) DeleteClusterRouteTableWithContext(ctx context.Context, request *DeleteClusterRouteTableRequest) (response *DeleteClusterRouteTableResponse, err error)
DeleteClusterRouteTable This API is used to delete cluster a route table.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INTERNALERROR_DB = "InternalError.Db" INTERNALERROR_ROUTETABLENOTEMPTY = "InternalError.RouteTableNotEmpty" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_ROUTETABLENOTEMPTY = "InvalidParameter.RouteTableNotEmpty"
func (*Client) DeleteClusterRouteWithContext ¶
func (c *Client) DeleteClusterRouteWithContext(ctx context.Context, request *DeleteClusterRouteRequest) (response *DeleteClusterRouteResponse, err error)
DeleteClusterRoute This API is used to delete a cluster route.
error code that may be returned:
FAILEDOPERATION_PARAM = "FailedOperation.Param" FAILEDOPERATION_VPCCOMMON = "FailedOperation.VpcCommon" INTERNALERROR = "InternalError" INTERNALERROR_DB = "InternalError.Db" INTERNALERROR_PARAM = "InternalError.Param" INTERNALERROR_ROUTETABLENOTFOUND = "InternalError.RouteTableNotFound" INTERNALERROR_VPCCOMMON = "InternalError.VpcCommon" INVALIDPARAMETER = "InvalidParameter"
func (*Client) DeleteClusterVirtualNode ¶
func (c *Client) DeleteClusterVirtualNode(request *DeleteClusterVirtualNodeRequest) (response *DeleteClusterVirtualNodeResponse, err error)
DeleteClusterVirtualNode This API is used to delete a virtual node.
error code that may be returned:
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" INVALIDPARAMETER_PARAM = "InvalidParameter.Param" RESOURCEINUSE_EXISTRUNNINGPOD = "ResourceInUse.ExistRunningPod" RESOURCEUNAVAILABLE_CLUSTERSTATE = "ResourceUnavailable.ClusterState"
func (*Client) DeleteClusterVirtualNodePool ¶
func (c *Client) DeleteClusterVirtualNodePool(request *DeleteClusterVirtualNodePoolRequest) (response *DeleteClusterVirtualNodePoolResponse, err error)
DeleteClusterVirtualNodePool This API is used to delete a virtual node pool.
error code that may be returned:
FAILEDOPERATION_RECORDNOTFOUND = "FailedOperation.RecordNotFound" INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound" INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" RESOURCEINUSE_EXISTRUNNINGPOD = "ResourceInUse.ExistRunningPod" RESOURCEUNAVAILABLE_CLUSTERSTATE = "ResourceUnavailable.ClusterState"
func (*Client) DeleteClusterVirtualNodePoolWithContext ¶
func (c *Client) DeleteClusterVirtualNodePoolWithContext(ctx context.Context, request *DeleteClusterVirtualNodePoolRequest) (response *DeleteClusterVirtualNodePoolResponse, err error)
DeleteClusterVirtualNodePool This API is used to delete a virtual node pool.
error code that may be returned:
FAILEDOPERATION_RECORDNOTFOUND = "FailedOperation.RecordNotFound" INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound" INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" RESOURCEINUSE_EXISTRUNNINGPOD = "ResourceInUse.ExistRunningPod" RESOURCEUNAVAILABLE_CLUSTERSTATE = "ResourceUnavailable.ClusterState"
func (*Client) DeleteClusterVirtualNodeWithContext ¶
func (c *Client) DeleteClusterVirtualNodeWithContext(ctx context.Context, request *DeleteClusterVirtualNodeRequest) (response *DeleteClusterVirtualNodeResponse, err error)
DeleteClusterVirtualNode This API is used to delete a virtual node.
error code that may be returned:
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" INVALIDPARAMETER_PARAM = "InvalidParameter.Param" RESOURCEINUSE_EXISTRUNNINGPOD = "ResourceInUse.ExistRunningPod" RESOURCEUNAVAILABLE_CLUSTERSTATE = "ResourceUnavailable.ClusterState"
func (*Client) DeleteClusterWithContext ¶
func (c *Client) DeleteClusterWithContext(ctx context.Context, request *DeleteClusterRequest) (response *DeleteClusterResponse, err error)
DeleteCluster This API is used to delete a cluster. (Cloud API v3).
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_CAMNOAUTH = "FailedOperation.CamNoAuth" FAILEDOPERATION_CLUSTERFORBIDDENTODELETE = "FailedOperation.ClusterForbiddenToDelete" FAILEDOPERATION_CLUSTERNOTFOUND = "FailedOperation.ClusterNotFound" FAILEDOPERATION_CLUSTERSTATE = "FailedOperation.ClusterState" FAILEDOPERATION_COMPONENTCLIENTCOMMON = "FailedOperation.ComponentClientCommon" FAILEDOPERATION_COMPONENTCLIENTHTTP = "FailedOperation.ComponentClientHttp" FAILEDOPERATION_COMPONENTCLINETHTTP = "FailedOperation.ComponentClinetHttp" FAILEDOPERATION_PARAM = "FailedOperation.Param" INTERNALERROR = "InternalError" INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth" INTERNALERROR_CLUSTERNOTFOUND = "InternalError.ClusterNotFound" INTERNALERROR_CLUSTERSTATE = "InternalError.ClusterState" INTERNALERROR_COMPONENTCLINETHTTP = "InternalError.ComponentClinetHttp" INTERNALERROR_PARAM = "InternalError.Param" INTERNALERROR_PUBLICCLUSTEROPNOTSUPPORT = "InternalError.PublicClusterOpNotSupport" INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal" INVALIDPARAMETER = "InvalidParameter" OPERATIONDENIED_CLUSTERINDELETIONPROTECTION = "OperationDenied.ClusterInDeletionProtection" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable"
func (*Client) DeleteECMInstances ¶
func (c *Client) DeleteECMInstances(request *DeleteECMInstancesRequest) (response *DeleteECMInstancesResponse, err error)
DeleteECMInstances This API is used to delete one or more ECM instances.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth" INVALIDPARAMETER = "InvalidParameter" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DeleteECMInstancesWithContext ¶
func (c *Client) DeleteECMInstancesWithContext(ctx context.Context, request *DeleteECMInstancesRequest) (response *DeleteECMInstancesResponse, err error)
DeleteECMInstances This API is used to delete one or more ECM instances.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth" INVALIDPARAMETER = "InvalidParameter" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DeleteEdgeCVMInstances ¶
func (c *Client) DeleteEdgeCVMInstances(request *DeleteEdgeCVMInstancesRequest) (response *DeleteEdgeCVMInstancesResponse, err error)
DeleteEdgeCVMInstances This API is used to delete one or more edge CVM instances.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth" INVALIDPARAMETER = "InvalidParameter" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DeleteEdgeCVMInstancesWithContext ¶
func (c *Client) DeleteEdgeCVMInstancesWithContext(ctx context.Context, request *DeleteEdgeCVMInstancesRequest) (response *DeleteEdgeCVMInstancesResponse, err error)
DeleteEdgeCVMInstances This API is used to delete one or more edge CVM instances.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth" INVALIDPARAMETER = "InvalidParameter" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DeleteEdgeClusterInstances ¶
func (c *Client) DeleteEdgeClusterInstances(request *DeleteEdgeClusterInstancesRequest) (response *DeleteEdgeClusterInstancesResponse, err error)
DeleteEdgeClusterInstances This API is used to delete one or more edge compute instances.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth" INVALIDPARAMETER = "InvalidParameter" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_CLUSTERNOTFOUND = "ResourceNotFound.ClusterNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DeleteEdgeClusterInstancesWithContext ¶
func (c *Client) DeleteEdgeClusterInstancesWithContext(ctx context.Context, request *DeleteEdgeClusterInstancesRequest) (response *DeleteEdgeClusterInstancesResponse, err error)
DeleteEdgeClusterInstances This API is used to delete one or more edge compute instances.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth" INVALIDPARAMETER = "InvalidParameter" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_CLUSTERNOTFOUND = "ResourceNotFound.ClusterNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DeletePrometheusAlertRule ¶
func (c *Client) DeletePrometheusAlertRule(request *DeletePrometheusAlertRuleRequest) (response *DeletePrometheusAlertRuleResponse, err error)
DeletePrometheusAlertRule This API is used to delete an alarm rule.
error code that may be returned:
FAILEDOPERATION_COMPONENTCLIENTHTTP = "FailedOperation.ComponentClientHttp" INTERNALERROR = "InternalError" INTERNALERROR_PARAM = "InternalError.Param" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_PROMINSTANCENOTFOUND = "InvalidParameter.PromInstanceNotFound"
func (*Client) DeletePrometheusAlertRuleWithContext ¶
func (c *Client) DeletePrometheusAlertRuleWithContext(ctx context.Context, request *DeletePrometheusAlertRuleRequest) (response *DeletePrometheusAlertRuleResponse, err error)
DeletePrometheusAlertRule This API is used to delete an alarm rule.
error code that may be returned:
FAILEDOPERATION_COMPONENTCLIENTHTTP = "FailedOperation.ComponentClientHttp" INTERNALERROR = "InternalError" INTERNALERROR_PARAM = "InternalError.Param" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_PROMINSTANCENOTFOUND = "InvalidParameter.PromInstanceNotFound"
func (*Client) DeleteTKEEdgeCluster ¶
func (c *Client) DeleteTKEEdgeCluster(request *DeleteTKEEdgeClusterRequest) (response *DeleteTKEEdgeClusterResponse, err error)
DeleteTKEEdgeCluster This API is used to delete a TKE Edge cluster.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DeleteTKEEdgeClusterWithContext ¶
func (c *Client) DeleteTKEEdgeClusterWithContext(ctx context.Context, request *DeleteTKEEdgeClusterRequest) (response *DeleteTKEEdgeClusterResponse, err error)
DeleteTKEEdgeCluster This API is used to delete a TKE Edge cluster.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeAddon ¶
func (c *Client) DescribeAddon(request *DescribeAddonRequest) (response *DescribeAddonResponse, err error)
DescribeAddon This API is used to query the list of add-ons.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeAddonValues ¶
func (c *Client) DescribeAddonValues(request *DescribeAddonValuesRequest) (response *DescribeAddonValuesResponse, err error)
DescribeAddonValues This API is used to query parameters of an add-on.
error code that may be returned:
RESOURCEUNAVAILABLE = "ResourceUnavailable"
func (*Client) DescribeAddonValuesWithContext ¶
func (c *Client) DescribeAddonValuesWithContext(ctx context.Context, request *DescribeAddonValuesRequest) (response *DescribeAddonValuesResponse, err error)
DescribeAddonValues This API is used to query parameters of an add-on.
error code that may be returned:
RESOURCEUNAVAILABLE = "ResourceUnavailable"
func (*Client) DescribeAddonWithContext ¶
func (c *Client) DescribeAddonWithContext(ctx context.Context, request *DescribeAddonRequest) (response *DescribeAddonResponse, err error)
DescribeAddon This API is used to query the list of add-ons.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeAvailableClusterVersion ¶
func (c *Client) DescribeAvailableClusterVersion(request *DescribeAvailableClusterVersionRequest) (response *DescribeAvailableClusterVersionResponse, err error)
DescribeAvailableClusterVersion This API is used to obtain all versions that the cluster can upgrade to.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_PARAM = "InternalError.Param" INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_PARAM = "InvalidParameter.Param" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_CLUSTERNOTFOUND = "ResourceNotFound.ClusterNotFound" RESOURCEUNAVAILABLE_CLUSTERINABNORMALSTAT = "ResourceUnavailable.ClusterInAbnormalStat"
func (*Client) DescribeAvailableClusterVersionWithContext ¶
func (c *Client) DescribeAvailableClusterVersionWithContext(ctx context.Context, request *DescribeAvailableClusterVersionRequest) (response *DescribeAvailableClusterVersionResponse, err error)
DescribeAvailableClusterVersion This API is used to obtain all versions that the cluster can upgrade to.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_PARAM = "InternalError.Param" INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_PARAM = "InvalidParameter.Param" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_CLUSTERNOTFOUND = "ResourceNotFound.ClusterNotFound" RESOURCEUNAVAILABLE_CLUSTERINABNORMALSTAT = "ResourceUnavailable.ClusterInAbnormalStat"
func (*Client) DescribeAvailableTKEEdgeVersion ¶
func (c *Client) DescribeAvailableTKEEdgeVersion(request *DescribeAvailableTKEEdgeVersionRequest) (response *DescribeAvailableTKEEdgeVersionResponse, err error)
DescribeAvailableTKEEdgeVersion This API is used to check the edge component versions and K8s versions supported by TKE Edge.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" RESOURCEINUSE = "ResourceInUse" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeAvailableTKEEdgeVersionWithContext ¶
func (c *Client) DescribeAvailableTKEEdgeVersionWithContext(ctx context.Context, request *DescribeAvailableTKEEdgeVersionRequest) (response *DescribeAvailableTKEEdgeVersionResponse, err error)
DescribeAvailableTKEEdgeVersion This API is used to check the edge component versions and K8s versions supported by TKE Edge.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" RESOURCEINUSE = "ResourceInUse" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeBackupStorageLocations ¶
func (c *Client) DescribeBackupStorageLocations(request *DescribeBackupStorageLocationsRequest) (response *DescribeBackupStorageLocationsResponse, err error)
DescribeBackupStorageLocations This API is used to query backup repositories.
error code that may be returned:
INVALIDPARAMETER = "InvalidParameter" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeBackupStorageLocationsWithContext ¶
func (c *Client) DescribeBackupStorageLocationsWithContext(ctx context.Context, request *DescribeBackupStorageLocationsRequest) (response *DescribeBackupStorageLocationsResponse, err error)
DescribeBackupStorageLocations This API is used to query backup repositories.
error code that may be returned:
INVALIDPARAMETER = "InvalidParameter" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeClusterAsGroupOption ¶
func (c *Client) DescribeClusterAsGroupOption(request *DescribeClusterAsGroupOptionRequest) (response *DescribeClusterAsGroupOptionResponse, err error)
DescribeClusterAsGroupOption Cluster auto scaling configuration
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_CLUSTERNOTFOUND = "FailedOperation.ClusterNotFound" FAILEDOPERATION_CLUSTERSTATE = "FailedOperation.ClusterState" FAILEDOPERATION_PARAM = "FailedOperation.Param" INTERNALERROR = "InternalError" INTERNALERROR_ACCOUNTUSERNOTAUTHENTICATED = "InternalError.AccountUserNotAuthenticated" INTERNALERROR_ASCOMMON = "InternalError.AsCommon" INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth" INTERNALERROR_CLUSTERNOTFOUND = "InternalError.ClusterNotFound" INTERNALERROR_CLUSTERSTATE = "InternalError.ClusterState" INTERNALERROR_PARAM = "InternalError.Param" INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeClusterAsGroupOptionWithContext ¶
func (c *Client) DescribeClusterAsGroupOptionWithContext(ctx context.Context, request *DescribeClusterAsGroupOptionRequest) (response *DescribeClusterAsGroupOptionResponse, err error)
DescribeClusterAsGroupOption Cluster auto scaling configuration
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_CLUSTERNOTFOUND = "FailedOperation.ClusterNotFound" FAILEDOPERATION_CLUSTERSTATE = "FailedOperation.ClusterState" FAILEDOPERATION_PARAM = "FailedOperation.Param" INTERNALERROR = "InternalError" INTERNALERROR_ACCOUNTUSERNOTAUTHENTICATED = "InternalError.AccountUserNotAuthenticated" INTERNALERROR_ASCOMMON = "InternalError.AsCommon" INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth" INTERNALERROR_CLUSTERNOTFOUND = "InternalError.ClusterNotFound" INTERNALERROR_CLUSTERSTATE = "InternalError.ClusterState" INTERNALERROR_PARAM = "InternalError.Param" INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeClusterAsGroups ¶
func (c *Client) DescribeClusterAsGroups(request *DescribeClusterAsGroupsRequest) (response *DescribeClusterAsGroupsResponse, err error)
DescribeClusterAsGroups Cluster-associated scaling group list
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_CLUSTERNOTFOUND = "FailedOperation.ClusterNotFound" FAILEDOPERATION_CLUSTERSTATE = "FailedOperation.ClusterState" FAILEDOPERATION_PARAM = "FailedOperation.Param" INTERNALERROR = "InternalError" INTERNALERROR_ACCOUNTUSERNOTAUTHENTICATED = "InternalError.AccountUserNotAuthenticated" INTERNALERROR_ASCOMMON = "InternalError.AsCommon" INTERNALERROR_CLUSTERNOTFOUND = "InternalError.ClusterNotFound" INTERNALERROR_CLUSTERSTATE = "InternalError.ClusterState" INTERNALERROR_DB = "InternalError.Db" INTERNALERROR_PARAM = "InternalError.Param" INTERNALERROR_PODNOTFOUND = "InternalError.PodNotFound" INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal" INTERNALERROR_VPCCOMMON = "InternalError.VpcCommon" INTERNALERROR_VPCPEERNOTFOUND = "InternalError.VpcPeerNotFound" INTERNALERROR_VPCRECODRNOTFOUND = "InternalError.VpcRecodrNotFound"
func (*Client) DescribeClusterAsGroupsWithContext ¶
func (c *Client) DescribeClusterAsGroupsWithContext(ctx context.Context, request *DescribeClusterAsGroupsRequest) (response *DescribeClusterAsGroupsResponse, err error)
DescribeClusterAsGroups Cluster-associated scaling group list
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_CLUSTERNOTFOUND = "FailedOperation.ClusterNotFound" FAILEDOPERATION_CLUSTERSTATE = "FailedOperation.ClusterState" FAILEDOPERATION_PARAM = "FailedOperation.Param" INTERNALERROR = "InternalError" INTERNALERROR_ACCOUNTUSERNOTAUTHENTICATED = "InternalError.AccountUserNotAuthenticated" INTERNALERROR_ASCOMMON = "InternalError.AsCommon" INTERNALERROR_CLUSTERNOTFOUND = "InternalError.ClusterNotFound" INTERNALERROR_CLUSTERSTATE = "InternalError.ClusterState" INTERNALERROR_DB = "InternalError.Db" INTERNALERROR_PARAM = "InternalError.Param" INTERNALERROR_PODNOTFOUND = "InternalError.PodNotFound" INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal" INTERNALERROR_VPCCOMMON = "InternalError.VpcCommon" INTERNALERROR_VPCPEERNOTFOUND = "InternalError.VpcPeerNotFound" INTERNALERROR_VPCRECODRNOTFOUND = "InternalError.VpcRecodrNotFound"
func (*Client) DescribeClusterAuthenticationOptions ¶
func (c *Client) DescribeClusterAuthenticationOptions(request *DescribeClusterAuthenticationOptionsRequest) (response *DescribeClusterAuthenticationOptionsResponse, err error)
DescribeClusterAuthenticationOptions This API is used to query cluster authentication configuration.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" INVALIDPARAMETER = "InvalidParameter" OPERATIONDENIED = "OperationDenied" RESOURCEUNAVAILABLE_CLUSTERSTATE = "ResourceUnavailable.ClusterState"
func (*Client) DescribeClusterAuthenticationOptionsWithContext ¶
func (c *Client) DescribeClusterAuthenticationOptionsWithContext(ctx context.Context, request *DescribeClusterAuthenticationOptionsRequest) (response *DescribeClusterAuthenticationOptionsResponse, err error)
DescribeClusterAuthenticationOptions This API is used to query cluster authentication configuration.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" INVALIDPARAMETER = "InvalidParameter" OPERATIONDENIED = "OperationDenied" RESOURCEUNAVAILABLE_CLUSTERSTATE = "ResourceUnavailable.ClusterState"
func (*Client) DescribeClusterCommonNames ¶
func (c *Client) DescribeClusterCommonNames(request *DescribeClusterCommonNamesRequest) (response *DescribeClusterCommonNamesResponse, err error)
DescribeClusterCommonNames This API is used to obtain the CommonName from the kube-apiserver client certificate that corresponding to the sub-account in RBAC authorization mode.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" INTERNALERROR_WHITELISTUNEXPECTEDERROR = "InternalError.WhitelistUnexpectedError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_PARAM = "InvalidParameter.Param" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_CLUSTERNOTFOUND = "ResourceNotFound.ClusterNotFound" RESOURCEUNAVAILABLE_CLUSTERSTATE = "ResourceUnavailable.ClusterState" UNAUTHORIZEDOPERATION_CAMNOAUTH = "UnauthorizedOperation.CamNoAuth" UNSUPPORTEDOPERATION_NOTINWHITELIST = "UnsupportedOperation.NotInWhitelist"
func (*Client) DescribeClusterCommonNamesWithContext ¶
func (c *Client) DescribeClusterCommonNamesWithContext(ctx context.Context, request *DescribeClusterCommonNamesRequest) (response *DescribeClusterCommonNamesResponse, err error)
DescribeClusterCommonNames This API is used to obtain the CommonName from the kube-apiserver client certificate that corresponding to the sub-account in RBAC authorization mode.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" INTERNALERROR_WHITELISTUNEXPECTEDERROR = "InternalError.WhitelistUnexpectedError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_PARAM = "InvalidParameter.Param" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_CLUSTERNOTFOUND = "ResourceNotFound.ClusterNotFound" RESOURCEUNAVAILABLE_CLUSTERSTATE = "ResourceUnavailable.ClusterState" UNAUTHORIZEDOPERATION_CAMNOAUTH = "UnauthorizedOperation.CamNoAuth" UNSUPPORTEDOPERATION_NOTINWHITELIST = "UnsupportedOperation.NotInWhitelist"
func (*Client) DescribeClusterEndpointStatus ¶
func (c *Client) DescribeClusterEndpointStatus(request *DescribeClusterEndpointStatusRequest) (response *DescribeClusterEndpointStatusResponse, err error)
DescribeClusterEndpointStatus Query cluster access port status (intranet / extranet access is enabled for independent clusters, and intranet access is supported for managed clusters)
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_KUBECLIENTCONNECTION = "FailedOperation.KubeClientConnection" FAILEDOPERATION_KUBERNETESINTERNAL = "FailedOperation.KubernetesInternal" INTERNALERROR = "InternalError" INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth" INTERNALERROR_CLUSTERNOTFOUND = "InternalError.ClusterNotFound" INTERNALERROR_CLUSTERSTATE = "InternalError.ClusterState" INTERNALERROR_KUBECLIENTCONNECTION = "InternalError.KubeClientConnection" INTERNALERROR_KUBECOMMON = "InternalError.KubeCommon" INTERNALERROR_KUBERNETESINTERNAL = "InternalError.KubernetesInternal" INTERNALERROR_PARAM = "InternalError.Param" INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" INTERNALERROR_VPCCOMMON = "InternalError.VpcCommon" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_PARAM = "InvalidParameter.Param" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeClusterEndpointStatusWithContext ¶
func (c *Client) DescribeClusterEndpointStatusWithContext(ctx context.Context, request *DescribeClusterEndpointStatusRequest) (response *DescribeClusterEndpointStatusResponse, err error)
DescribeClusterEndpointStatus Query cluster access port status (intranet / extranet access is enabled for independent clusters, and intranet access is supported for managed clusters)
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_KUBECLIENTCONNECTION = "FailedOperation.KubeClientConnection" FAILEDOPERATION_KUBERNETESINTERNAL = "FailedOperation.KubernetesInternal" INTERNALERROR = "InternalError" INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth" INTERNALERROR_CLUSTERNOTFOUND = "InternalError.ClusterNotFound" INTERNALERROR_CLUSTERSTATE = "InternalError.ClusterState" INTERNALERROR_KUBECLIENTCONNECTION = "InternalError.KubeClientConnection" INTERNALERROR_KUBECOMMON = "InternalError.KubeCommon" INTERNALERROR_KUBERNETESINTERNAL = "InternalError.KubernetesInternal" INTERNALERROR_PARAM = "InternalError.Param" INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" INTERNALERROR_VPCCOMMON = "InternalError.VpcCommon" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_PARAM = "InvalidParameter.Param" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeClusterEndpointVipStatus ¶
func (c *Client) DescribeClusterEndpointVipStatus(request *DescribeClusterEndpointVipStatusRequest) (response *DescribeClusterEndpointVipStatusResponse, err error)
DescribeClusterEndpointVipStatus Query cluster open port process status (only supports external ports of the managed cluster)
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INTERNALERROR_ACCOUNTUSERNOTAUTHENTICATED = "InternalError.AccountUserNotAuthenticated" INTERNALERROR_ASCOMMON = "InternalError.AsCommon" INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth" INTERNALERROR_DB = "InternalError.Db" INTERNALERROR_DBAFFECTIVEDROWS = "InternalError.DbAffectivedRows" INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound" INTERNALERROR_DFWGETUSGCOUNT = "InternalError.DfwGetUSGCount" INTERNALERROR_DFWGETUSGQUOTA = "InternalError.DfwGetUSGQuota" INTERNALERROR_IMAGEIDNOTFOUND = "InternalError.ImageIdNotFound" INTERNALERROR_PARAM = "InternalError.Param" INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal" INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_ASCOMMONERROR = "InvalidParameter.AsCommonError" INVALIDPARAMETER_PARAM = "InvalidParameter.Param" OPERATIONDENIED = "OperationDenied" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeClusterEndpointVipStatusWithContext ¶
func (c *Client) DescribeClusterEndpointVipStatusWithContext(ctx context.Context, request *DescribeClusterEndpointVipStatusRequest) (response *DescribeClusterEndpointVipStatusResponse, err error)
DescribeClusterEndpointVipStatus Query cluster open port process status (only supports external ports of the managed cluster)
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INTERNALERROR_ACCOUNTUSERNOTAUTHENTICATED = "InternalError.AccountUserNotAuthenticated" INTERNALERROR_ASCOMMON = "InternalError.AsCommon" INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth" INTERNALERROR_DB = "InternalError.Db" INTERNALERROR_DBAFFECTIVEDROWS = "InternalError.DbAffectivedRows" INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound" INTERNALERROR_DFWGETUSGCOUNT = "InternalError.DfwGetUSGCount" INTERNALERROR_DFWGETUSGQUOTA = "InternalError.DfwGetUSGQuota" INTERNALERROR_IMAGEIDNOTFOUND = "InternalError.ImageIdNotFound" INTERNALERROR_PARAM = "InternalError.Param" INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal" INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_ASCOMMONERROR = "InvalidParameter.AsCommonError" INVALIDPARAMETER_PARAM = "InvalidParameter.Param" OPERATIONDENIED = "OperationDenied" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeClusterEndpoints ¶
func (c *Client) DescribeClusterEndpoints(request *DescribeClusterEndpointsRequest) (response *DescribeClusterEndpointsResponse, err error)
DescribeClusterEndpoints This API is used to query cluster access addresses, including private network address, public network address, public network domain name, and security policy for public network access.
error code that may be returned:
FAILEDOPERATION_COMPONENTCLIENTHTTP = "FailedOperation.ComponentClientHttp" FAILEDOPERATION_KUBECOMMON = "FailedOperation.KubeCommon" FAILEDOPERATION_KUBERNETESCLIENTBUILDERROR = "FailedOperation.KubernetesClientBuildError" INTERNALERROR = "InternalError" INTERNALERROR_COMPONENTCLIENTHTTP = "InternalError.ComponentClientHttp" INTERNALERROR_KUBECLIENTCONNECTION = "InternalError.KubeClientConnection" INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_PARAM = "InvalidParameter.Param" RESOURCENOTFOUND_CLUSTERNOTFOUND = "ResourceNotFound.ClusterNotFound" RESOURCENOTFOUND_KUBERESOURCENOTFOUND = "ResourceNotFound.KubeResourceNotFound" RESOURCEUNAVAILABLE_CLUSTERINABNORMALSTAT = "ResourceUnavailable.ClusterInAbnormalStat" UNAUTHORIZEDOPERATION_CAMNOAUTH = "UnauthorizedOperation.CamNoAuth"
func (*Client) DescribeClusterEndpointsWithContext ¶
func (c *Client) DescribeClusterEndpointsWithContext(ctx context.Context, request *DescribeClusterEndpointsRequest) (response *DescribeClusterEndpointsResponse, err error)
DescribeClusterEndpoints This API is used to query cluster access addresses, including private network address, public network address, public network domain name, and security policy for public network access.
error code that may be returned:
FAILEDOPERATION_COMPONENTCLIENTHTTP = "FailedOperation.ComponentClientHttp" FAILEDOPERATION_KUBECOMMON = "FailedOperation.KubeCommon" FAILEDOPERATION_KUBERNETESCLIENTBUILDERROR = "FailedOperation.KubernetesClientBuildError" INTERNALERROR = "InternalError" INTERNALERROR_COMPONENTCLIENTHTTP = "InternalError.ComponentClientHttp" INTERNALERROR_KUBECLIENTCONNECTION = "InternalError.KubeClientConnection" INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_PARAM = "InvalidParameter.Param" RESOURCENOTFOUND_CLUSTERNOTFOUND = "ResourceNotFound.ClusterNotFound" RESOURCENOTFOUND_KUBERESOURCENOTFOUND = "ResourceNotFound.KubeResourceNotFound" RESOURCEUNAVAILABLE_CLUSTERINABNORMALSTAT = "ResourceUnavailable.ClusterInAbnormalStat" UNAUTHORIZEDOPERATION_CAMNOAUTH = "UnauthorizedOperation.CamNoAuth"
func (*Client) DescribeClusterInstances ¶
func (c *Client) DescribeClusterInstances(request *DescribeClusterInstancesRequest) (response *DescribeClusterInstancesResponse, err error)
DescribeClusterInstances This API is used to query information of node instances in a cluster.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DB = "FailedOperation.Db" INTERNALERROR = "InternalError" INTERNALERROR_DB = "InternalError.Db" INTERNALERROR_DBAFFECTIVEDROWS = "InternalError.DbAffectivedRows" INTERNALERROR_INITMASTERFAILED = "InternalError.InitMasterFailed" INTERNALERROR_PARAM = "InternalError.Param" INTERNALERROR_PUBLICCLUSTEROPNOTSUPPORT = "InternalError.PublicClusterOpNotSupport" INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal" INVALIDPARAMETER_CLUSTERNOTFOUND = "InvalidParameter.ClusterNotFound" INVALIDPARAMETER_PARAM = "InvalidParameter.Param" RESOURCEUNAVAILABLE_CLUSTERSTATE = "ResourceUnavailable.ClusterState" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeClusterInstancesWithContext ¶
func (c *Client) DescribeClusterInstancesWithContext(ctx context.Context, request *DescribeClusterInstancesRequest) (response *DescribeClusterInstancesResponse, err error)
DescribeClusterInstances This API is used to query information of node instances in a cluster.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DB = "FailedOperation.Db" INTERNALERROR = "InternalError" INTERNALERROR_DB = "InternalError.Db" INTERNALERROR_DBAFFECTIVEDROWS = "InternalError.DbAffectivedRows" INTERNALERROR_INITMASTERFAILED = "InternalError.InitMasterFailed" INTERNALERROR_PARAM = "InternalError.Param" INTERNALERROR_PUBLICCLUSTEROPNOTSUPPORT = "InternalError.PublicClusterOpNotSupport" INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal" INVALIDPARAMETER_CLUSTERNOTFOUND = "InvalidParameter.ClusterNotFound" INVALIDPARAMETER_PARAM = "InvalidParameter.Param" RESOURCEUNAVAILABLE_CLUSTERSTATE = "ResourceUnavailable.ClusterState" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeClusterKubeconfig ¶
func (c *Client) DescribeClusterKubeconfig(request *DescribeClusterKubeconfigRequest) (response *DescribeClusterKubeconfigResponse, err error)
DescribeClusterKubeconfig This API is used to obtain the cluster kubeconfig file. Different sub-accounts have their own kubeconfig files. The kubeconfig file contains the kube-apiserver client certificate of the corresponding sub-account. By default, the client certificate is created when this API is called for the first time, and the certificate is valid for 20 years with no permissions granted. For the cluster owner or primary account, the cluster-admin permission is granted by default.
error code that may be returned:
FAILEDOPERATION_COMPONENTCLIENTHTTP = "FailedOperation.ComponentClientHttp" FAILEDOPERATION_KUBECOMMON = "FailedOperation.KubeCommon" FAILEDOPERATION_KUBERNETESCLIENTBUILDERROR = "FailedOperation.KubernetesClientBuildError" FAILEDOPERATION_UNEXPECTEDERROR = "FailedOperation.UnexpectedError" INTERNALERROR = "InternalError" INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth" INTERNALERROR_COMPONENTCLIENTHTTP = "InternalError.ComponentClientHttp" INTERNALERROR_DB = "InternalError.Db" INTERNALERROR_KUBECLIENTCONNECTION = "InternalError.KubeClientConnection" INTERNALERROR_KUBERNETESCLIENTBUILDERROR = "InternalError.KubernetesClientBuildError" INTERNALERROR_KUBERNETESCREATEOPERATIONERROR = "InternalError.KubernetesCreateOperationError" INTERNALERROR_KUBERNETESDELETEOPERATIONERROR = "InternalError.KubernetesDeleteOperationError" INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" INTERNALERROR_WHITELISTUNEXPECTEDERROR = "InternalError.WhitelistUnexpectedError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_CLUSTERNOTFOUND = "InvalidParameter.ClusterNotFound" INVALIDPARAMETER_PARAM = "InvalidParameter.Param" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_CLUSTERNOTFOUND = "ResourceNotFound.ClusterNotFound" RESOURCENOTFOUND_KUBERNETESRESOURCENOTFOUND = "ResourceNotFound.KubernetesResourceNotFound" RESOURCEUNAVAILABLE_CLUSTERINABNORMALSTAT = "ResourceUnavailable.ClusterInAbnormalStat" UNAUTHORIZEDOPERATION_CAMNOAUTH = "UnauthorizedOperation.CamNoAuth"
func (*Client) DescribeClusterKubeconfigWithContext ¶
func (c *Client) DescribeClusterKubeconfigWithContext(ctx context.Context, request *DescribeClusterKubeconfigRequest) (response *DescribeClusterKubeconfigResponse, err error)
DescribeClusterKubeconfig This API is used to obtain the cluster kubeconfig file. Different sub-accounts have their own kubeconfig files. The kubeconfig file contains the kube-apiserver client certificate of the corresponding sub-account. By default, the client certificate is created when this API is called for the first time, and the certificate is valid for 20 years with no permissions granted. For the cluster owner or primary account, the cluster-admin permission is granted by default.
error code that may be returned:
FAILEDOPERATION_COMPONENTCLIENTHTTP = "FailedOperation.ComponentClientHttp" FAILEDOPERATION_KUBECOMMON = "FailedOperation.KubeCommon" FAILEDOPERATION_KUBERNETESCLIENTBUILDERROR = "FailedOperation.KubernetesClientBuildError" FAILEDOPERATION_UNEXPECTEDERROR = "FailedOperation.UnexpectedError" INTERNALERROR = "InternalError" INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth" INTERNALERROR_COMPONENTCLIENTHTTP = "InternalError.ComponentClientHttp" INTERNALERROR_DB = "InternalError.Db" INTERNALERROR_KUBECLIENTCONNECTION = "InternalError.KubeClientConnection" INTERNALERROR_KUBERNETESCLIENTBUILDERROR = "InternalError.KubernetesClientBuildError" INTERNALERROR_KUBERNETESCREATEOPERATIONERROR = "InternalError.KubernetesCreateOperationError" INTERNALERROR_KUBERNETESDELETEOPERATIONERROR = "InternalError.KubernetesDeleteOperationError" INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" INTERNALERROR_WHITELISTUNEXPECTEDERROR = "InternalError.WhitelistUnexpectedError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_CLUSTERNOTFOUND = "InvalidParameter.ClusterNotFound" INVALIDPARAMETER_PARAM = "InvalidParameter.Param" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_CLUSTERNOTFOUND = "ResourceNotFound.ClusterNotFound" RESOURCENOTFOUND_KUBERNETESRESOURCENOTFOUND = "ResourceNotFound.KubernetesResourceNotFound" RESOURCEUNAVAILABLE_CLUSTERINABNORMALSTAT = "ResourceUnavailable.ClusterInAbnormalStat" UNAUTHORIZEDOPERATION_CAMNOAUTH = "UnauthorizedOperation.CamNoAuth"
func (*Client) DescribeClusterLevelAttribute ¶
func (c *Client) DescribeClusterLevelAttribute(request *DescribeClusterLevelAttributeRequest) (response *DescribeClusterLevelAttributeResponse, err error)
DescribeClusterLevelAttribute This API is used to obtain the cluster model.
error code that may be returned:
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" INVALIDPARAMETER_PARAM = "InvalidParameter.Param" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable"
func (*Client) DescribeClusterLevelAttributeWithContext ¶
func (c *Client) DescribeClusterLevelAttributeWithContext(ctx context.Context, request *DescribeClusterLevelAttributeRequest) (response *DescribeClusterLevelAttributeResponse, err error)
DescribeClusterLevelAttribute This API is used to obtain the cluster model.
error code that may be returned:
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" INVALIDPARAMETER_PARAM = "InvalidParameter.Param" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable"
func (*Client) DescribeClusterLevelChangeRecords ¶
func (c *Client) DescribeClusterLevelChangeRecords(request *DescribeClusterLevelChangeRecordsRequest) (response *DescribeClusterLevelChangeRecordsResponse, err error)
DescribeClusterLevelChangeRecords This API is used to query the cluster model adjustment history.
error code that may be returned:
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" INVALIDPARAMETER_PARAM = "InvalidParameter.Param" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable"
func (*Client) DescribeClusterLevelChangeRecordsWithContext ¶
func (c *Client) DescribeClusterLevelChangeRecordsWithContext(ctx context.Context, request *DescribeClusterLevelChangeRecordsRequest) (response *DescribeClusterLevelChangeRecordsResponse, err error)
DescribeClusterLevelChangeRecords This API is used to query the cluster model adjustment history.
error code that may be returned:
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" INVALIDPARAMETER_PARAM = "InvalidParameter.Param" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable"
func (*Client) DescribeClusterNodePoolDetail ¶
func (c *Client) DescribeClusterNodePoolDetail(request *DescribeClusterNodePoolDetailRequest) (response *DescribeClusterNodePoolDetailResponse, err error)
DescribeClusterNodePoolDetail This API is used to query detailed information of a node pool.
error code that may be returned:
INTERNALERROR_CLUSTERNOTFOUND = "InternalError.ClusterNotFound" INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound" INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" INVALIDPARAMETER_PARAM = "InvalidParameter.Param" RESOURCENOTFOUND_CLUSTERNOTFOUND = "ResourceNotFound.ClusterNotFound"
func (*Client) DescribeClusterNodePoolDetailWithContext ¶
func (c *Client) DescribeClusterNodePoolDetailWithContext(ctx context.Context, request *DescribeClusterNodePoolDetailRequest) (response *DescribeClusterNodePoolDetailResponse, err error)
DescribeClusterNodePoolDetail This API is used to query detailed information of a node pool.
error code that may be returned:
INTERNALERROR_CLUSTERNOTFOUND = "InternalError.ClusterNotFound" INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound" INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" INVALIDPARAMETER_PARAM = "InvalidParameter.Param" RESOURCENOTFOUND_CLUSTERNOTFOUND = "ResourceNotFound.ClusterNotFound"
func (*Client) DescribeClusterNodePools ¶
func (c *Client) DescribeClusterNodePools(request *DescribeClusterNodePoolsRequest) (response *DescribeClusterNodePoolsResponse, err error)
DescribeClusterNodePools This API is used to query the node pool list
error code that may be returned:
INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound" INTERNALERROR_PARAM = "InternalError.Param" INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" INVALIDPARAMETER_PARAM = "InvalidParameter.Param" RESOURCENOTFOUND_CLUSTERNOTFOUND = "ResourceNotFound.ClusterNotFound"
func (*Client) DescribeClusterNodePoolsWithContext ¶
func (c *Client) DescribeClusterNodePoolsWithContext(ctx context.Context, request *DescribeClusterNodePoolsRequest) (response *DescribeClusterNodePoolsResponse, err error)
DescribeClusterNodePools This API is used to query the node pool list
error code that may be returned:
INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound" INTERNALERROR_PARAM = "InternalError.Param" INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" INVALIDPARAMETER_PARAM = "InvalidParameter.Param" RESOURCENOTFOUND_CLUSTERNOTFOUND = "ResourceNotFound.ClusterNotFound"
func (*Client) DescribeClusterRouteTables ¶
func (c *Client) DescribeClusterRouteTables(request *DescribeClusterRouteTablesRequest) (response *DescribeClusterRouteTablesResponse, err error)
DescribeClusterRouteTables This API is used to query one or more cluster route tables.
error code that may be returned:
INTERNALERROR_DB = "InternalError.Db"
func (*Client) DescribeClusterRouteTablesWithContext ¶
func (c *Client) DescribeClusterRouteTablesWithContext(ctx context.Context, request *DescribeClusterRouteTablesRequest) (response *DescribeClusterRouteTablesResponse, err error)
DescribeClusterRouteTables This API is used to query one or more cluster route tables.
error code that may be returned:
INTERNALERROR_DB = "InternalError.Db"
func (*Client) DescribeClusterRoutes ¶
func (c *Client) DescribeClusterRoutes(request *DescribeClusterRoutesRequest) (response *DescribeClusterRoutesResponse, err error)
DescribeClusterRoutes This API is used to query cluster routes.
error code that may be returned:
FAILEDOPERATION_DB = "FailedOperation.Db" INTERNALERROR_DB = "InternalError.Db" INTERNALERROR_PARAM = "InternalError.Param" INVALIDPARAMETER = "InvalidParameter"
func (*Client) DescribeClusterRoutesWithContext ¶
func (c *Client) DescribeClusterRoutesWithContext(ctx context.Context, request *DescribeClusterRoutesRequest) (response *DescribeClusterRoutesResponse, err error)
DescribeClusterRoutes This API is used to query cluster routes.
error code that may be returned:
FAILEDOPERATION_DB = "FailedOperation.Db" INTERNALERROR_DB = "InternalError.Db" INTERNALERROR_PARAM = "InternalError.Param" INVALIDPARAMETER = "InvalidParameter"
func (*Client) DescribeClusterSecurity ¶
func (c *Client) DescribeClusterSecurity(request *DescribeClusterSecurityRequest) (response *DescribeClusterSecurityResponse, err error)
DescribeClusterSecurity This API is used to query the key information of a cluster.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_COMPONENTCLIENTHTTP = "FailedOperation.ComponentClientHttp" FAILEDOPERATION_COMPONENTCLIENTUNPACK = "FailedOperation.ComponentClientUnpack" FAILEDOPERATION_DB = "FailedOperation.Db" FAILEDOPERATION_DBRECORDNOTFOUND = "FailedOperation.DbRecordNotFound" FAILEDOPERATION_KUBECOMMON = "FailedOperation.KubeCommon" FAILEDOPERATION_LBCOMMON = "FailedOperation.LbCommon" INTERNALERROR = "InternalError" INTERNALERROR_ACCOUNTUSERNOTAUTHENTICATED = "InternalError.AccountUserNotAuthenticated" INTERNALERROR_COMPONENTCLIENTHTTP = "InternalError.ComponentClientHttp" INTERNALERROR_DB = "InternalError.Db" INTERNALERROR_DBAFFECTIVEDROWS = "InternalError.DbAffectivedRows" INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound" INTERNALERROR_KUBECOMMON = "InternalError.KubeCommon" INTERNALERROR_LBCOMMON = "InternalError.LbCommon" INTERNALERROR_PARAM = "InternalError.Param" INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" INVALIDPARAMETER_CIDRINVALID = "InvalidParameter.CidrInvalid" INVALIDPARAMETER_PARAM = "InvalidParameter.Param" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_CLUSTERNOTFOUND = "ResourceNotFound.ClusterNotFound" RESOURCENOTFOUND_KUBERESOURCENOTFOUND = "ResourceNotFound.KubeResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCEUNAVAILABLE_CLUSTERINABNORMALSTAT = "ResourceUnavailable.ClusterInAbnormalStat" RESOURCEUNAVAILABLE_CLUSTERSTATE = "ResourceUnavailable.ClusterState" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_CAMNOAUTH = "UnauthorizedOperation.CamNoAuth" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeClusterSecurityWithContext ¶
func (c *Client) DescribeClusterSecurityWithContext(ctx context.Context, request *DescribeClusterSecurityRequest) (response *DescribeClusterSecurityResponse, err error)
DescribeClusterSecurity This API is used to query the key information of a cluster.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_COMPONENTCLIENTHTTP = "FailedOperation.ComponentClientHttp" FAILEDOPERATION_COMPONENTCLIENTUNPACK = "FailedOperation.ComponentClientUnpack" FAILEDOPERATION_DB = "FailedOperation.Db" FAILEDOPERATION_DBRECORDNOTFOUND = "FailedOperation.DbRecordNotFound" FAILEDOPERATION_KUBECOMMON = "FailedOperation.KubeCommon" FAILEDOPERATION_LBCOMMON = "FailedOperation.LbCommon" INTERNALERROR = "InternalError" INTERNALERROR_ACCOUNTUSERNOTAUTHENTICATED = "InternalError.AccountUserNotAuthenticated" INTERNALERROR_COMPONENTCLIENTHTTP = "InternalError.ComponentClientHttp" INTERNALERROR_DB = "InternalError.Db" INTERNALERROR_DBAFFECTIVEDROWS = "InternalError.DbAffectivedRows" INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound" INTERNALERROR_KUBECOMMON = "InternalError.KubeCommon" INTERNALERROR_LBCOMMON = "InternalError.LbCommon" INTERNALERROR_PARAM = "InternalError.Param" INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" INVALIDPARAMETER_CIDRINVALID = "InvalidParameter.CidrInvalid" INVALIDPARAMETER_PARAM = "InvalidParameter.Param" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_CLUSTERNOTFOUND = "ResourceNotFound.ClusterNotFound" RESOURCENOTFOUND_KUBERESOURCENOTFOUND = "ResourceNotFound.KubeResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCEUNAVAILABLE_CLUSTERINABNORMALSTAT = "ResourceUnavailable.ClusterInAbnormalStat" RESOURCEUNAVAILABLE_CLUSTERSTATE = "ResourceUnavailable.ClusterState" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_CAMNOAUTH = "UnauthorizedOperation.CamNoAuth" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeClusterStatus ¶
func (c *Client) DescribeClusterStatus(request *DescribeClusterStatusRequest) (response *DescribeClusterStatusResponse, err error)
DescribeClusterStatus This API is used to query the information of clusters under the current account.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_CAMNOAUTH = "FailedOperation.CamNoAuth" FAILEDOPERATION_COMPONENTCLIENTHTTP = "FailedOperation.ComponentClientHttp" FAILEDOPERATION_COMPONENTCLIENTUNPACK = "FailedOperation.ComponentClientUnpack" FAILEDOPERATION_COMPONENTCLINETHTTP = "FailedOperation.ComponentClinetHttp" FAILEDOPERATION_PARAM = "FailedOperation.Param" INTERNALERROR = "InternalError" INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth" INTERNALERROR_COMPONENTCLINETHTTP = "InternalError.ComponentClinetHttp" INTERNALERROR_CVMCOMMON = "InternalError.CvmCommon" INTERNALERROR_CVMNOTFOUND = "InternalError.CvmNotFound" INTERNALERROR_DB = "InternalError.Db" INTERNALERROR_PARAM = "InternalError.Param" INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal" INVALIDPARAMETER = "InvalidParameter" MISSINGPARAMETER = "MissingParameter" UNKNOWNPARAMETER = "UnknownParameter"
func (*Client) DescribeClusterStatusWithContext ¶
func (c *Client) DescribeClusterStatusWithContext(ctx context.Context, request *DescribeClusterStatusRequest) (response *DescribeClusterStatusResponse, err error)
DescribeClusterStatus This API is used to query the information of clusters under the current account.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_CAMNOAUTH = "FailedOperation.CamNoAuth" FAILEDOPERATION_COMPONENTCLIENTHTTP = "FailedOperation.ComponentClientHttp" FAILEDOPERATION_COMPONENTCLIENTUNPACK = "FailedOperation.ComponentClientUnpack" FAILEDOPERATION_COMPONENTCLINETHTTP = "FailedOperation.ComponentClinetHttp" FAILEDOPERATION_PARAM = "FailedOperation.Param" INTERNALERROR = "InternalError" INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth" INTERNALERROR_COMPONENTCLINETHTTP = "InternalError.ComponentClinetHttp" INTERNALERROR_CVMCOMMON = "InternalError.CvmCommon" INTERNALERROR_CVMNOTFOUND = "InternalError.CvmNotFound" INTERNALERROR_DB = "InternalError.Db" INTERNALERROR_PARAM = "InternalError.Param" INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal" INVALIDPARAMETER = "InvalidParameter" MISSINGPARAMETER = "MissingParameter" UNKNOWNPARAMETER = "UnknownParameter"
func (*Client) DescribeClusterVirtualNode ¶
func (c *Client) DescribeClusterVirtualNode(request *DescribeClusterVirtualNodeRequest) (response *DescribeClusterVirtualNodeResponse, err error)
DescribeClusterVirtualNode This API is used to query the list of virtual nodes.
error code that may be returned:
FAILEDOPERATION_KUBERNETESLISTOPERATIONERROR = "FailedOperation.KubernetesListOperationError" INTERNALERROR_KUBERNETESLISTOPERATIONERROR = "InternalError.KubernetesListOperationError" INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" INVALIDPARAMETER_PARAM = "InvalidParameter.Param" RESOURCEUNAVAILABLE_CLUSTERSTATE = "ResourceUnavailable.ClusterState" UNAUTHORIZEDOPERATION_CAMNOAUTH = "UnauthorizedOperation.CamNoAuth"
func (*Client) DescribeClusterVirtualNodePools ¶
func (c *Client) DescribeClusterVirtualNodePools(request *DescribeClusterVirtualNodePoolsRequest) (response *DescribeClusterVirtualNodePoolsResponse, err error)
DescribeClusterVirtualNodePools This API is used to query the list of virtual node pools.
error code that may be returned:
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_CLUSTERNOTFOUND = "ResourceNotFound.ClusterNotFound" RESOURCEUNAVAILABLE_CLUSTERSTATE = "ResourceUnavailable.ClusterState" UNAUTHORIZEDOPERATION_CAMNOAUTH = "UnauthorizedOperation.CamNoAuth"
func (*Client) DescribeClusterVirtualNodePoolsWithContext ¶
func (c *Client) DescribeClusterVirtualNodePoolsWithContext(ctx context.Context, request *DescribeClusterVirtualNodePoolsRequest) (response *DescribeClusterVirtualNodePoolsResponse, err error)
DescribeClusterVirtualNodePools This API is used to query the list of virtual node pools.
error code that may be returned:
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_CLUSTERNOTFOUND = "ResourceNotFound.ClusterNotFound" RESOURCEUNAVAILABLE_CLUSTERSTATE = "ResourceUnavailable.ClusterState" UNAUTHORIZEDOPERATION_CAMNOAUTH = "UnauthorizedOperation.CamNoAuth"
func (*Client) DescribeClusterVirtualNodeWithContext ¶
func (c *Client) DescribeClusterVirtualNodeWithContext(ctx context.Context, request *DescribeClusterVirtualNodeRequest) (response *DescribeClusterVirtualNodeResponse, err error)
DescribeClusterVirtualNode This API is used to query the list of virtual nodes.
error code that may be returned:
FAILEDOPERATION_KUBERNETESLISTOPERATIONERROR = "FailedOperation.KubernetesListOperationError" INTERNALERROR_KUBERNETESLISTOPERATIONERROR = "InternalError.KubernetesListOperationError" INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" INVALIDPARAMETER_PARAM = "InvalidParameter.Param" RESOURCEUNAVAILABLE_CLUSTERSTATE = "ResourceUnavailable.ClusterState" UNAUTHORIZEDOPERATION_CAMNOAUTH = "UnauthorizedOperation.CamNoAuth"
func (*Client) DescribeClusters ¶
func (c *Client) DescribeClusters(request *DescribeClustersRequest) (response *DescribeClustersResponse, err error)
DescribeClusters This API is used to query clusters list.
error code that may be returned:
FAILEDOPERATION_UNEXPECTEDERROR = "FailedOperation.UnexpectedError" INTERNALERROR = "InternalError" INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth" INTERNALERROR_DB = "InternalError.Db" INTERNALERROR_DBAFFECTIVEDROWS = "InternalError.DbAffectivedRows" INTERNALERROR_PARAM = "InternalError.Param" INTERNALERROR_PUBLICCLUSTEROPNOTSUPPORT = "InternalError.PublicClusterOpNotSupport" INTERNALERROR_QUOTAMAXCLSLIMIT = "InternalError.QuotaMaxClsLimit" INTERNALERROR_QUOTAMAXNODLIMIT = "InternalError.QuotaMaxNodLimit" INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_PARAM = "InvalidParameter.Param" LIMITEXCEEDED = "LimitExceeded" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION_CAMNOAUTH = "UnauthorizedOperation.CamNoAuth" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeClustersWithContext ¶
func (c *Client) DescribeClustersWithContext(ctx context.Context, request *DescribeClustersRequest) (response *DescribeClustersResponse, err error)
DescribeClusters This API is used to query clusters list.
error code that may be returned:
FAILEDOPERATION_UNEXPECTEDERROR = "FailedOperation.UnexpectedError" INTERNALERROR = "InternalError" INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth" INTERNALERROR_DB = "InternalError.Db" INTERNALERROR_DBAFFECTIVEDROWS = "InternalError.DbAffectivedRows" INTERNALERROR_PARAM = "InternalError.Param" INTERNALERROR_PUBLICCLUSTEROPNOTSUPPORT = "InternalError.PublicClusterOpNotSupport" INTERNALERROR_QUOTAMAXCLSLIMIT = "InternalError.QuotaMaxClsLimit" INTERNALERROR_QUOTAMAXNODLIMIT = "InternalError.QuotaMaxNodLimit" INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_PARAM = "InvalidParameter.Param" LIMITEXCEEDED = "LimitExceeded" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION_CAMNOAUTH = "UnauthorizedOperation.CamNoAuth" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeECMInstances ¶
func (c *Client) DescribeECMInstances(request *DescribeECMInstancesRequest) (response *DescribeECMInstancesResponse, err error)
DescribeECMInstances This API is used to obtain the ECM instance information.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth" INVALIDPARAMETER = "InvalidParameter" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeECMInstancesWithContext ¶
func (c *Client) DescribeECMInstancesWithContext(ctx context.Context, request *DescribeECMInstancesRequest) (response *DescribeECMInstancesResponse, err error)
DescribeECMInstances This API is used to obtain the ECM instance information.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth" INVALIDPARAMETER = "InvalidParameter" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeEdgeAvailableExtraArgs ¶
func (c *Client) DescribeEdgeAvailableExtraArgs(request *DescribeEdgeAvailableExtraArgsRequest) (response *DescribeEdgeAvailableExtraArgsResponse, err error)
DescribeEdgeAvailableExtraArgs This API is used to query the custom parameters available for an edge cluster.
error code that may be returned:
INTERNALERROR = "InternalError" INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
func (*Client) DescribeEdgeAvailableExtraArgsWithContext ¶
func (c *Client) DescribeEdgeAvailableExtraArgsWithContext(ctx context.Context, request *DescribeEdgeAvailableExtraArgsRequest) (response *DescribeEdgeAvailableExtraArgsResponse, err error)
DescribeEdgeAvailableExtraArgs This API is used to query the custom parameters available for an edge cluster.
error code that may be returned:
INTERNALERROR = "InternalError" INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
func (*Client) DescribeEdgeCVMInstances ¶
func (c *Client) DescribeEdgeCVMInstances(request *DescribeEdgeCVMInstancesRequest) (response *DescribeEdgeCVMInstancesResponse, err error)
DescribeEdgeCVMInstances This API is used to obtain the edge CVM instance information.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth" INVALIDPARAMETER = "InvalidParameter" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeEdgeCVMInstancesWithContext ¶
func (c *Client) DescribeEdgeCVMInstancesWithContext(ctx context.Context, request *DescribeEdgeCVMInstancesRequest) (response *DescribeEdgeCVMInstancesResponse, err error)
DescribeEdgeCVMInstances This API is used to obtain the edge CVM instance information.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth" INVALIDPARAMETER = "InvalidParameter" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeEdgeClusterExtraArgs ¶
func (c *Client) DescribeEdgeClusterExtraArgs(request *DescribeEdgeClusterExtraArgsRequest) (response *DescribeEdgeClusterExtraArgsResponse, err error)
DescribeEdgeClusterExtraArgs This API is used to query custom parameters of an edge cluster.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INTERNALERROR_CLUSTERNOTFOUND = "InternalError.ClusterNotFound" INVALIDPARAMETER_PARAM = "InvalidParameter.Param" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_CLUSTERNOTFOUND = "ResourceNotFound.ClusterNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeEdgeClusterExtraArgsWithContext ¶
func (c *Client) DescribeEdgeClusterExtraArgsWithContext(ctx context.Context, request *DescribeEdgeClusterExtraArgsRequest) (response *DescribeEdgeClusterExtraArgsResponse, err error)
DescribeEdgeClusterExtraArgs This API is used to query custom parameters of an edge cluster.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INTERNALERROR_CLUSTERNOTFOUND = "InternalError.ClusterNotFound" INVALIDPARAMETER_PARAM = "InvalidParameter.Param" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_CLUSTERNOTFOUND = "ResourceNotFound.ClusterNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeEdgeClusterInstances ¶
func (c *Client) DescribeEdgeClusterInstances(request *DescribeEdgeClusterInstancesRequest) (response *DescribeEdgeClusterInstancesResponse, err error)
DescribeEdgeClusterInstances This API is used to query the TKE Edge cluster node information.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth" INVALIDPARAMETER = "InvalidParameter" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeEdgeClusterInstancesWithContext ¶
func (c *Client) DescribeEdgeClusterInstancesWithContext(ctx context.Context, request *DescribeEdgeClusterInstancesRequest) (response *DescribeEdgeClusterInstancesResponse, err error)
DescribeEdgeClusterInstances This API is used to query the TKE Edge cluster node information.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth" INVALIDPARAMETER = "InvalidParameter" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeEdgeClusterUpgradeInfo ¶
func (c *Client) DescribeEdgeClusterUpgradeInfo(request *DescribeEdgeClusterUpgradeInfoRequest) (response *DescribeEdgeClusterUpgradeInfoResponse, err error)
DescribeEdgeClusterUpgradeInfo This API is used to query the upgrade information of an edge cluster, including the upgradeable components, the current upgrade status, and errors occur during the upgrade.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" MISSINGPARAMETER = "MissingParameter" UNKNOWNPARAMETER = "UnknownParameter"
func (*Client) DescribeEdgeClusterUpgradeInfoWithContext ¶
func (c *Client) DescribeEdgeClusterUpgradeInfoWithContext(ctx context.Context, request *DescribeEdgeClusterUpgradeInfoRequest) (response *DescribeEdgeClusterUpgradeInfoResponse, err error)
DescribeEdgeClusterUpgradeInfo This API is used to query the upgrade information of an edge cluster, including the upgradeable components, the current upgrade status, and errors occur during the upgrade.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" MISSINGPARAMETER = "MissingParameter" UNKNOWNPARAMETER = "UnknownParameter"
func (*Client) DescribeEdgeLogSwitches ¶
func (c *Client) DescribeEdgeLogSwitches(request *DescribeEdgeLogSwitchesRequest) (response *DescribeEdgeLogSwitchesResponse, err error)
DescribeEdgeLogSwitches This API is used to query the status of event storage, cluster auditing and logging.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_RBACFORBIDDEN = "FailedOperation.RBACForbidden" INTERNALERROR = "InternalError" INTERNALERROR_KUBERNETESCLIENTBUILDERROR = "InternalError.KubernetesClientBuildError" INTERNALERROR_KUBERNETESGETOPERATIONERROR = "InternalError.KubernetesGetOperationError" INTERNALERROR_PARAM = "InternalError.Param" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeEdgeLogSwitchesWithContext ¶
func (c *Client) DescribeEdgeLogSwitchesWithContext(ctx context.Context, request *DescribeEdgeLogSwitchesRequest) (response *DescribeEdgeLogSwitchesResponse, err error)
DescribeEdgeLogSwitches This API is used to query the status of event storage, cluster auditing and logging.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_RBACFORBIDDEN = "FailedOperation.RBACForbidden" INTERNALERROR = "InternalError" INTERNALERROR_KUBERNETESCLIENTBUILDERROR = "InternalError.KubernetesClientBuildError" INTERNALERROR_KUBERNETESGETOPERATIONERROR = "InternalError.KubernetesGetOperationError" INTERNALERROR_PARAM = "InternalError.Param" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeEnableVpcCniProgress ¶
func (c *Client) DescribeEnableVpcCniProgress(request *DescribeEnableVpcCniProgressRequest) (response *DescribeEnableVpcCniProgressResponse, err error)
DescribeEnableVpcCniProgress This API is used to query the task progress of enabling VPC-CNI mode.
error code that may be returned:
FAILEDOPERATION_ENABLEVPCCNIFAILED = "FailedOperation.EnableVPCCNIFailed" INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal" INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
func (*Client) DescribeEnableVpcCniProgressWithContext ¶
func (c *Client) DescribeEnableVpcCniProgressWithContext(ctx context.Context, request *DescribeEnableVpcCniProgressRequest) (response *DescribeEnableVpcCniProgressResponse, err error)
DescribeEnableVpcCniProgress This API is used to query the task progress of enabling VPC-CNI mode.
error code that may be returned:
FAILEDOPERATION_ENABLEVPCCNIFAILED = "FailedOperation.EnableVPCCNIFailed" INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal" INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
func (*Client) DescribeEncryptionStatus ¶
func (c *Client) DescribeEncryptionStatus(request *DescribeEncryptionStatusRequest) (response *DescribeEncryptionStatusResponse, err error)
DescribeEncryptionStatus This API is used to query the encryption status of etcd data.
error code that may be returned:
FAILEDOPERATION_ENABLEVPCCNIFAILED = "FailedOperation.EnableVPCCNIFailed" INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal" INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
func (*Client) DescribeEncryptionStatusWithContext ¶
func (c *Client) DescribeEncryptionStatusWithContext(ctx context.Context, request *DescribeEncryptionStatusRequest) (response *DescribeEncryptionStatusResponse, err error)
DescribeEncryptionStatus This API is used to query the encryption status of etcd data.
error code that may be returned:
FAILEDOPERATION_ENABLEVPCCNIFAILED = "FailedOperation.EnableVPCCNIFailed" INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal" INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal"
func (*Client) DescribeExistedInstances ¶
func (c *Client) DescribeExistedInstances(request *DescribeExistedInstancesRequest) (response *DescribeExistedInstancesResponse, err error)
DescribeExistedInstances This API is used to query one or more existing node and determine whether they can be added to a cluster.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_ASCOMMON = "FailedOperation.AsCommon" FAILEDOPERATION_CLUSTERNOTFOUND = "FailedOperation.ClusterNotFound" FAILEDOPERATION_CLUSTERSTATE = "FailedOperation.ClusterState" FAILEDOPERATION_CVMCOMMON = "FailedOperation.CvmCommon" FAILEDOPERATION_DB = "FailedOperation.Db" FAILEDOPERATION_PARAM = "FailedOperation.Param" INTERNALERROR = "InternalError" INTERNALERROR_ACCOUNTUSERNOTAUTHENTICATED = "InternalError.AccountUserNotAuthenticated" INTERNALERROR_ASCOMMON = "InternalError.AsCommon" INTERNALERROR_CLUSTERNOTFOUND = "InternalError.ClusterNotFound" INTERNALERROR_CLUSTERSTATE = "InternalError.ClusterState" INTERNALERROR_CREATEMASTERFAILED = "InternalError.CreateMasterFailed" INTERNALERROR_CVMCOMMON = "InternalError.CvmCommon" INTERNALERROR_CVMNOTFOUND = "InternalError.CvmNotFound" INTERNALERROR_DB = "InternalError.Db" INTERNALERROR_DBAFFECTIVEDROWS = "InternalError.DbAffectivedRows" INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound" INTERNALERROR_IMAGEIDNOTFOUND = "InternalError.ImageIdNotFound" INTERNALERROR_INITMASTERFAILED = "InternalError.InitMasterFailed" INTERNALERROR_INVALIDPRIVATENETWORKCIDR = "InternalError.InvalidPrivateNetworkCidr" INTERNALERROR_OSNOTSUPPORT = "InternalError.OsNotSupport" INTERNALERROR_PARAM = "InternalError.Param" INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal" INTERNALERROR_VPCCOMMON = "InternalError.VpcCommon" INTERNALERROR_VPCRECODRNOTFOUND = "InternalError.VpcRecodrNotFound" INVALIDPARAMETER = "InvalidParameter" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeExistedInstancesWithContext ¶
func (c *Client) DescribeExistedInstancesWithContext(ctx context.Context, request *DescribeExistedInstancesRequest) (response *DescribeExistedInstancesResponse, err error)
DescribeExistedInstances This API is used to query one or more existing node and determine whether they can be added to a cluster.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_ASCOMMON = "FailedOperation.AsCommon" FAILEDOPERATION_CLUSTERNOTFOUND = "FailedOperation.ClusterNotFound" FAILEDOPERATION_CLUSTERSTATE = "FailedOperation.ClusterState" FAILEDOPERATION_CVMCOMMON = "FailedOperation.CvmCommon" FAILEDOPERATION_DB = "FailedOperation.Db" FAILEDOPERATION_PARAM = "FailedOperation.Param" INTERNALERROR = "InternalError" INTERNALERROR_ACCOUNTUSERNOTAUTHENTICATED = "InternalError.AccountUserNotAuthenticated" INTERNALERROR_ASCOMMON = "InternalError.AsCommon" INTERNALERROR_CLUSTERNOTFOUND = "InternalError.ClusterNotFound" INTERNALERROR_CLUSTERSTATE = "InternalError.ClusterState" INTERNALERROR_CREATEMASTERFAILED = "InternalError.CreateMasterFailed" INTERNALERROR_CVMCOMMON = "InternalError.CvmCommon" INTERNALERROR_CVMNOTFOUND = "InternalError.CvmNotFound" INTERNALERROR_DB = "InternalError.Db" INTERNALERROR_DBAFFECTIVEDROWS = "InternalError.DbAffectivedRows" INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound" INTERNALERROR_IMAGEIDNOTFOUND = "InternalError.ImageIdNotFound" INTERNALERROR_INITMASTERFAILED = "InternalError.InitMasterFailed" INTERNALERROR_INVALIDPRIVATENETWORKCIDR = "InternalError.InvalidPrivateNetworkCidr" INTERNALERROR_OSNOTSUPPORT = "InternalError.OsNotSupport" INTERNALERROR_PARAM = "InternalError.Param" INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal" INTERNALERROR_VPCCOMMON = "InternalError.VpcCommon" INTERNALERROR_VPCRECODRNOTFOUND = "InternalError.VpcRecodrNotFound" INVALIDPARAMETER = "InvalidParameter" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeImages ¶
func (c *Client) DescribeImages(request *DescribeImagesRequest) (response *DescribeImagesResponse, err error)
DescribeImages This API is used to get image information.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth" INTERNALERROR_COMPONENTCLINETHTTP = "InternalError.ComponentClinetHttp" INTERNALERROR_DB = "InternalError.Db" INTERNALERROR_DBAFFECTIVEDROWS = "InternalError.DbAffectivedRows" INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound" INTERNALERROR_IMAGEIDNOTFOUND = "InternalError.ImageIdNotFound" INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal" INVALIDPARAMETER_PARAM = "InvalidParameter.Param" INVALIDPARAMETER_ROUTETABLENOTEMPTY = "InvalidParameter.RouteTableNotEmpty" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeImagesWithContext ¶
func (c *Client) DescribeImagesWithContext(ctx context.Context, request *DescribeImagesRequest) (response *DescribeImagesResponse, err error)
DescribeImages This API is used to get image information.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth" INTERNALERROR_COMPONENTCLINETHTTP = "InternalError.ComponentClinetHttp" INTERNALERROR_DB = "InternalError.Db" INTERNALERROR_DBAFFECTIVEDROWS = "InternalError.DbAffectivedRows" INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound" INTERNALERROR_IMAGEIDNOTFOUND = "InternalError.ImageIdNotFound" INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal" INVALIDPARAMETER_PARAM = "InvalidParameter.Param" INVALIDPARAMETER_ROUTETABLENOTEMPTY = "InvalidParameter.RouteTableNotEmpty" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribePrometheusInstance ¶
func (c *Client) DescribePrometheusInstance(request *DescribePrometheusInstanceRequest) (response *DescribePrometheusInstanceResponse, err error)
DescribePrometheusInstance This API is used to obtain the instance details.
error code that may be returned:
FAILEDOPERATION_COMPONENTCLIENTHTTP = "FailedOperation.ComponentClientHttp" FAILEDOPERATION_COMPONENTCLIENTUNPACK = "FailedOperation.ComponentClientUnpack" FAILEDOPERATION_KUBECOMMON = "FailedOperation.KubeCommon" INTERNALERROR = "InternalError" INTERNALERROR_DB = "InternalError.Db" INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound" INTERNALERROR_PARAM = "InternalError.Param" INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_CLUSTERNOTFOUND = "InvalidParameter.ClusterNotFound" INVALIDPARAMETER_PARAM = "InvalidParameter.Param" INVALIDPARAMETER_PROMINSTANCENOTFOUND = "InvalidParameter.PromInstanceNotFound"
func (*Client) DescribePrometheusInstanceWithContext ¶
func (c *Client) DescribePrometheusInstanceWithContext(ctx context.Context, request *DescribePrometheusInstanceRequest) (response *DescribePrometheusInstanceResponse, err error)
DescribePrometheusInstance This API is used to obtain the instance details.
error code that may be returned:
FAILEDOPERATION_COMPONENTCLIENTHTTP = "FailedOperation.ComponentClientHttp" FAILEDOPERATION_COMPONENTCLIENTUNPACK = "FailedOperation.ComponentClientUnpack" FAILEDOPERATION_KUBECOMMON = "FailedOperation.KubeCommon" INTERNALERROR = "InternalError" INTERNALERROR_DB = "InternalError.Db" INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound" INTERNALERROR_PARAM = "InternalError.Param" INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_CLUSTERNOTFOUND = "InvalidParameter.ClusterNotFound" INVALIDPARAMETER_PARAM = "InvalidParameter.Param" INVALIDPARAMETER_PROMINSTANCENOTFOUND = "InvalidParameter.PromInstanceNotFound"
func (*Client) DescribeRegions ¶
func (c *Client) DescribeRegions(request *DescribeRegionsRequest) (response *DescribeRegionsResponse, err error)
DescribeRegions This API is used to obtain all regions supported by TKE.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_COMPONENTCLIENTHTTP = "FailedOperation.ComponentClientHttp" INTERNALERROR = "InternalError" INTERNALERROR_ACCOUNTUSERNOTAUTHENTICATED = "InternalError.AccountUserNotAuthenticated" INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth" INTERNALERROR_DB = "InternalError.Db" INTERNALERROR_DBAFFECTIVEDROWS = "InternalError.DbAffectivedRows" INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound" INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal" INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeRegionsWithContext ¶
func (c *Client) DescribeRegionsWithContext(ctx context.Context, request *DescribeRegionsRequest) (response *DescribeRegionsResponse, err error)
DescribeRegions This API is used to obtain all regions supported by TKE.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_COMPONENTCLIENTHTTP = "FailedOperation.ComponentClientHttp" INTERNALERROR = "InternalError" INTERNALERROR_ACCOUNTUSERNOTAUTHENTICATED = "InternalError.AccountUserNotAuthenticated" INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth" INTERNALERROR_DB = "InternalError.Db" INTERNALERROR_DBAFFECTIVEDROWS = "InternalError.DbAffectivedRows" INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound" INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal" INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeResourceUsage ¶
func (c *Client) DescribeResourceUsage(request *DescribeResourceUsageRequest) (response *DescribeResourceUsageResponse, err error)
DescribeResourceUsage This API is used to query the cluster resource usage.
error code that may be returned:
FAILEDOPERATION_UNEXPECTEDERROR = "FailedOperation.UnexpectedError" INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_CLUSTERNOTFOUND = "InvalidParameter.ClusterNotFound" INVALIDPARAMETER_PARAM = "InvalidParameter.Param" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE_CLUSTERSTATE = "ResourceUnavailable.ClusterState"
func (*Client) DescribeResourceUsageWithContext ¶
func (c *Client) DescribeResourceUsageWithContext(ctx context.Context, request *DescribeResourceUsageRequest) (response *DescribeResourceUsageResponse, err error)
DescribeResourceUsage This API is used to query the cluster resource usage.
error code that may be returned:
FAILEDOPERATION_UNEXPECTEDERROR = "FailedOperation.UnexpectedError" INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_CLUSTERNOTFOUND = "InvalidParameter.ClusterNotFound" INVALIDPARAMETER_PARAM = "InvalidParameter.Param" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE_CLUSTERSTATE = "ResourceUnavailable.ClusterState"
func (*Client) DescribeRouteTableConflicts ¶
func (c *Client) DescribeRouteTableConflicts(request *DescribeRouteTableConflictsRequest) (response *DescribeRouteTableConflictsResponse, err error)
DescribeRouteTableConflicts This API is used to query the list of route table conflicts.
error code that may be returned:
FAILEDOPERATION_PARAM = "FailedOperation.Param" FAILEDOPERATION_VPCRECODRNOTFOUND = "FailedOperation.VpcRecodrNotFound" INTERNALERROR = "InternalError" INTERNALERROR_CIDRMASKSIZEOUTOFRANGE = "InternalError.CidrMaskSizeOutOfRange" INTERNALERROR_INVALIDPRIVATENETWORKCIDR = "InternalError.InvalidPrivateNetworkCidr" INTERNALERROR_PARAM = "InternalError.Param" INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal" INTERNALERROR_VPCRECODRNOTFOUND = "InternalError.VpcRecodrNotFound" INVALIDPARAMETER = "InvalidParameter"
func (*Client) DescribeRouteTableConflictsWithContext ¶
func (c *Client) DescribeRouteTableConflictsWithContext(ctx context.Context, request *DescribeRouteTableConflictsRequest) (response *DescribeRouteTableConflictsResponse, err error)
DescribeRouteTableConflicts This API is used to query the list of route table conflicts.
error code that may be returned:
FAILEDOPERATION_PARAM = "FailedOperation.Param" FAILEDOPERATION_VPCRECODRNOTFOUND = "FailedOperation.VpcRecodrNotFound" INTERNALERROR = "InternalError" INTERNALERROR_CIDRMASKSIZEOUTOFRANGE = "InternalError.CidrMaskSizeOutOfRange" INTERNALERROR_INVALIDPRIVATENETWORKCIDR = "InternalError.InvalidPrivateNetworkCidr" INTERNALERROR_PARAM = "InternalError.Param" INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal" INTERNALERROR_VPCRECODRNOTFOUND = "InternalError.VpcRecodrNotFound" INVALIDPARAMETER = "InvalidParameter"
func (*Client) DescribeTKEEdgeClusterCredential ¶
func (c *Client) DescribeTKEEdgeClusterCredential(request *DescribeTKEEdgeClusterCredentialRequest) (response *DescribeTKEEdgeClusterCredentialResponse, err error)
DescribeTKEEdgeClusterCredential This API is used to obtain the authentication information of a TKE Edge cluster.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeTKEEdgeClusterCredentialWithContext ¶
func (c *Client) DescribeTKEEdgeClusterCredentialWithContext(ctx context.Context, request *DescribeTKEEdgeClusterCredentialRequest) (response *DescribeTKEEdgeClusterCredentialResponse, err error)
DescribeTKEEdgeClusterCredential This API is used to obtain the authentication information of a TKE Edge cluster.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeTKEEdgeClusterStatus ¶
func (c *Client) DescribeTKEEdgeClusterStatus(request *DescribeTKEEdgeClusterStatusRequest) (response *DescribeTKEEdgeClusterStatusResponse, err error)
DescribeTKEEdgeClusterStatus This API is used to query the current status and process information of a TKE Edge cluster.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeTKEEdgeClusterStatusWithContext ¶
func (c *Client) DescribeTKEEdgeClusterStatusWithContext(ctx context.Context, request *DescribeTKEEdgeClusterStatusRequest) (response *DescribeTKEEdgeClusterStatusResponse, err error)
DescribeTKEEdgeClusterStatus This API is used to query the current status and process information of a TKE Edge cluster.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeTKEEdgeClusters ¶
func (c *Client) DescribeTKEEdgeClusters(request *DescribeTKEEdgeClustersRequest) (response *DescribeTKEEdgeClustersResponse, err error)
DescribeTKEEdgeClusters This API is used to query the list of TKE Edge clusters.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth" INVALIDPARAMETER = "InvalidParameter" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeTKEEdgeClustersWithContext ¶
func (c *Client) DescribeTKEEdgeClustersWithContext(ctx context.Context, request *DescribeTKEEdgeClustersRequest) (response *DescribeTKEEdgeClustersResponse, err error)
DescribeTKEEdgeClusters This API is used to query the list of TKE Edge clusters.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth" INVALIDPARAMETER = "InvalidParameter" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeTKEEdgeExternalKubeconfig ¶
func (c *Client) DescribeTKEEdgeExternalKubeconfig(request *DescribeTKEEdgeExternalKubeconfigRequest) (response *DescribeTKEEdgeExternalKubeconfigResponse, err error)
DescribeTKEEdgeExternalKubeconfig This API is used to obtain the kubeconfig for access to a TKE Edge cluster through the public network.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeTKEEdgeExternalKubeconfigWithContext ¶
func (c *Client) DescribeTKEEdgeExternalKubeconfigWithContext(ctx context.Context, request *DescribeTKEEdgeExternalKubeconfigRequest) (response *DescribeTKEEdgeExternalKubeconfigResponse, err error)
DescribeTKEEdgeExternalKubeconfig This API is used to obtain the kubeconfig for access to a TKE Edge cluster through the public network.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeTKEEdgeScript ¶
func (c *Client) DescribeTKEEdgeScript(request *DescribeTKEEdgeScriptRequest) (response *DescribeTKEEdgeScriptResponse, err error)
DescribeTKEEdgeScript This API is used to query the URL of TKE edge script. You can add external nodes to a TKE Edge cluster by downloading the URL.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeTKEEdgeScriptWithContext ¶
func (c *Client) DescribeTKEEdgeScriptWithContext(ctx context.Context, request *DescribeTKEEdgeScriptRequest) (response *DescribeTKEEdgeScriptResponse, err error)
DescribeTKEEdgeScript This API is used to query the URL of TKE edge script. You can add external nodes to a TKE Edge cluster by downloading the URL.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeVersions ¶
func (c *Client) DescribeVersions(request *DescribeVersionsRequest) (response *DescribeVersionsResponse, err error)
DescribeVersions This API is used to query cluster version information.
error code that may be returned:
FAILEDOPERATION_COMPONENTCLIENTHTTP = "FailedOperation.ComponentClientHttp" FAILEDOPERATION_COMPONENTCLINETHTTP = "FailedOperation.ComponentClinetHttp" INTERNALERROR = "InternalError" INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth" INTERNALERROR_COMPONENTCLINETHTTP = "InternalError.ComponentClinetHttp" INTERNALERROR_DB = "InternalError.Db" INTERNALERROR_DBAFFECTIVEDROWS = "InternalError.DbAffectivedRows" INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound" INTERNALERROR_PARAM = "InternalError.Param" INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal" INVALIDPARAMETER_PARAM = "InvalidParameter.Param" INVALIDPARAMETER_ROUTETABLENOTEMPTY = "InvalidParameter.RouteTableNotEmpty" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeVersionsWithContext ¶
func (c *Client) DescribeVersionsWithContext(ctx context.Context, request *DescribeVersionsRequest) (response *DescribeVersionsResponse, err error)
DescribeVersions This API is used to query cluster version information.
error code that may be returned:
FAILEDOPERATION_COMPONENTCLIENTHTTP = "FailedOperation.ComponentClientHttp" FAILEDOPERATION_COMPONENTCLINETHTTP = "FailedOperation.ComponentClinetHttp" INTERNALERROR = "InternalError" INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth" INTERNALERROR_COMPONENTCLINETHTTP = "InternalError.ComponentClinetHttp" INTERNALERROR_DB = "InternalError.Db" INTERNALERROR_DBAFFECTIVEDROWS = "InternalError.DbAffectivedRows" INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound" INTERNALERROR_PARAM = "InternalError.Param" INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal" INVALIDPARAMETER_PARAM = "InvalidParameter.Param" INVALIDPARAMETER_ROUTETABLENOTEMPTY = "InvalidParameter.RouteTableNotEmpty" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeVpcCniPodLimits ¶
func (c *Client) DescribeVpcCniPodLimits(request *DescribeVpcCniPodLimitsRequest) (response *DescribeVpcCniPodLimitsResponse, err error)
DescribeVpcCniPodLimits This API is used to query the maximum number of Pods in the VPC-CNI network mode supported by the models in the specified availability zone of the current user and region.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth" INTERNALERROR_DB = "InternalError.Db" INTERNALERROR_PARAM = "InternalError.Param" INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal" INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_PARAM = "InvalidParameter.Param" MISSINGPARAMETER = "MissingParameter" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeVpcCniPodLimitsWithContext ¶
func (c *Client) DescribeVpcCniPodLimitsWithContext(ctx context.Context, request *DescribeVpcCniPodLimitsRequest) (response *DescribeVpcCniPodLimitsResponse, err error)
DescribeVpcCniPodLimits This API is used to query the maximum number of Pods in the VPC-CNI network mode supported by the models in the specified availability zone of the current user and region.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth" INTERNALERROR_DB = "InternalError.Db" INTERNALERROR_PARAM = "InternalError.Param" INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal" INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_PARAM = "InvalidParameter.Param" MISSINGPARAMETER = "MissingParameter" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DisableClusterDeletionProtection ¶
func (c *Client) DisableClusterDeletionProtection(request *DisableClusterDeletionProtectionRequest) (response *DisableClusterDeletionProtectionResponse, err error)
DisableClusterDeletionProtection This API is used to disable cluster deletion protection.
error code that may be returned:
INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal" INVALIDPARAMETER_PARAM = "InvalidParameter.Param" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DisableClusterDeletionProtectionWithContext ¶
func (c *Client) DisableClusterDeletionProtectionWithContext(ctx context.Context, request *DisableClusterDeletionProtectionRequest) (response *DisableClusterDeletionProtectionResponse, err error)
DisableClusterDeletionProtection This API is used to disable cluster deletion protection.
error code that may be returned:
INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal" INVALIDPARAMETER_PARAM = "InvalidParameter.Param" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DisableEncryptionProtection ¶
func (c *Client) DisableEncryptionProtection(request *DisableEncryptionProtectionRequest) (response *DisableEncryptionProtectionResponse, err error)
DisableEncryptionProtection This API is used to disable encryption protection.
error code that may be returned:
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" INVALIDPARAMETER_PARAM = "InvalidParameter.Param" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DisableEncryptionProtectionWithContext ¶
func (c *Client) DisableEncryptionProtectionWithContext(ctx context.Context, request *DisableEncryptionProtectionRequest) (response *DisableEncryptionProtectionResponse, err error)
DisableEncryptionProtection This API is used to disable encryption protection.
error code that may be returned:
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" INVALIDPARAMETER_PARAM = "InvalidParameter.Param" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DrainClusterVirtualNode ¶
func (c *Client) DrainClusterVirtualNode(request *DrainClusterVirtualNodeRequest) (response *DrainClusterVirtualNodeResponse, err error)
DrainClusterVirtualNode This API is used to drain a virtual node.
error code that may be returned:
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" INVALIDPARAMETER_PARAM = "InvalidParameter.Param" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DrainClusterVirtualNodeWithContext ¶
func (c *Client) DrainClusterVirtualNodeWithContext(ctx context.Context, request *DrainClusterVirtualNodeRequest) (response *DrainClusterVirtualNodeResponse, err error)
DrainClusterVirtualNode This API is used to drain a virtual node.
error code that may be returned:
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" INVALIDPARAMETER_PARAM = "InvalidParameter.Param" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) EnableClusterDeletionProtection ¶
func (c *Client) EnableClusterDeletionProtection(request *EnableClusterDeletionProtectionRequest) (response *EnableClusterDeletionProtectionResponse, err error)
EnableClusterDeletionProtection This API is used to enable cluster deletion protection.
error code that may be returned:
INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal" INVALIDPARAMETER_PARAM = "InvalidParameter.Param" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) EnableClusterDeletionProtectionWithContext ¶
func (c *Client) EnableClusterDeletionProtectionWithContext(ctx context.Context, request *EnableClusterDeletionProtectionRequest) (response *EnableClusterDeletionProtectionResponse, err error)
EnableClusterDeletionProtection This API is used to enable cluster deletion protection.
error code that may be returned:
INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal" INVALIDPARAMETER_PARAM = "InvalidParameter.Param" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) EnableEncryptionProtection ¶
func (c *Client) EnableEncryptionProtection(request *EnableEncryptionProtectionRequest) (response *EnableEncryptionProtectionResponse, err error)
EnableEncryptionProtection This API is used to enable encryption protection.
error code that may be returned:
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" INVALIDPARAMETER_PARAM = "InvalidParameter.Param" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCEUNAVAILABLE_CLUSTERSTATE = "ResourceUnavailable.ClusterState"
func (*Client) EnableEncryptionProtectionWithContext ¶
func (c *Client) EnableEncryptionProtectionWithContext(ctx context.Context, request *EnableEncryptionProtectionRequest) (response *EnableEncryptionProtectionResponse, err error)
EnableEncryptionProtection This API is used to enable encryption protection.
error code that may be returned:
INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" INVALIDPARAMETER_PARAM = "InvalidParameter.Param" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCEUNAVAILABLE_CLUSTERSTATE = "ResourceUnavailable.ClusterState"
func (*Client) EnableVpcCniNetworkType ¶
func (c *Client) EnableVpcCniNetworkType(request *EnableVpcCniNetworkTypeRequest) (response *EnableVpcCniNetworkTypeResponse, err error)
EnableVpcCniNetworkType This API is used to enable the VPC-CNI network mode for GR clusters.
error code that may be returned:
FAILEDOPERATION_ENABLEVPCCNIFAILED = "FailedOperation.EnableVPCCNIFailed" INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal" INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" INVALIDPARAMETER_PARAM = "InvalidParameter.Param" UNSUPPORTEDOPERATION_CLUSTERNOTSUITENABLEVPCCNI = "UnsupportedOperation.ClusterNotSuitEnableVPCCNI"
func (*Client) EnableVpcCniNetworkTypeWithContext ¶
func (c *Client) EnableVpcCniNetworkTypeWithContext(ctx context.Context, request *EnableVpcCniNetworkTypeRequest) (response *EnableVpcCniNetworkTypeResponse, err error)
EnableVpcCniNetworkType This API is used to enable the VPC-CNI network mode for GR clusters.
error code that may be returned:
FAILEDOPERATION_ENABLEVPCCNIFAILED = "FailedOperation.EnableVPCCNIFailed" INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal" INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" INVALIDPARAMETER_PARAM = "InvalidParameter.Param" UNSUPPORTEDOPERATION_CLUSTERNOTSUITENABLEVPCCNI = "UnsupportedOperation.ClusterNotSuitEnableVPCCNI"
func (*Client) ForwardTKEEdgeApplicationRequestV3 ¶
func (c *Client) ForwardTKEEdgeApplicationRequestV3(request *ForwardTKEEdgeApplicationRequestV3Request) (response *ForwardTKEEdgeApplicationRequestV3Response, err error)
ForwardTKEEdgeApplicationRequestV3 This API is used to work with the add-ons of a TKE Edge cluster.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_RBACFORBIDDEN = "FailedOperation.RBACForbidden" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_NOTINWHITELIST = "UnsupportedOperation.NotInWhitelist"
func (*Client) ForwardTKEEdgeApplicationRequestV3WithContext ¶
func (c *Client) ForwardTKEEdgeApplicationRequestV3WithContext(ctx context.Context, request *ForwardTKEEdgeApplicationRequestV3Request) (response *ForwardTKEEdgeApplicationRequestV3Response, err error)
ForwardTKEEdgeApplicationRequestV3 This API is used to work with the add-ons of a TKE Edge cluster.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_RBACFORBIDDEN = "FailedOperation.RBACForbidden" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_NOTINWHITELIST = "UnsupportedOperation.NotInWhitelist"
func (*Client) GetClusterLevelPrice ¶
func (c *Client) GetClusterLevelPrice(request *GetClusterLevelPriceRequest) (response *GetClusterLevelPriceResponse, err error)
GetClusterLevelPrice Obtaining the price of specified cluster model
error code that may be returned:
FAILEDOPERATION_TRADECOMMON = "FailedOperation.TradeCommon" INTERNALERROR_TRADECOMMON = "InternalError.TradeCommon"
func (*Client) GetClusterLevelPriceWithContext ¶
func (c *Client) GetClusterLevelPriceWithContext(ctx context.Context, request *GetClusterLevelPriceRequest) (response *GetClusterLevelPriceResponse, err error)
GetClusterLevelPrice Obtaining the price of specified cluster model
error code that may be returned:
FAILEDOPERATION_TRADECOMMON = "FailedOperation.TradeCommon" INTERNALERROR_TRADECOMMON = "InternalError.TradeCommon"
func (*Client) GetUpgradeInstanceProgress ¶
func (c *Client) GetUpgradeInstanceProgress(request *GetUpgradeInstanceProgressRequest) (response *GetUpgradeInstanceProgressResponse, err error)
GetUpgradeInstanceProgress This API is used to obtain the current progress of the node upgrade.
error code that may be returned:
INTERNALERROR_TASKNOTFOUND = "InternalError.TaskNotFound" INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
func (*Client) GetUpgradeInstanceProgressWithContext ¶
func (c *Client) GetUpgradeInstanceProgressWithContext(ctx context.Context, request *GetUpgradeInstanceProgressRequest) (response *GetUpgradeInstanceProgressResponse, err error)
GetUpgradeInstanceProgress This API is used to obtain the current progress of the node upgrade.
error code that may be returned:
INTERNALERROR_TASKNOTFOUND = "InternalError.TaskNotFound" INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
func (*Client) InstallAddon ¶
func (c *Client) InstallAddon(request *InstallAddonRequest) (response *InstallAddonResponse, err error)
InstallAddon This API is used to install an add-on on the target cluster.
error code that may be returned:
INTERNALERROR_TASKNOTFOUND = "InternalError.TaskNotFound" INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
func (*Client) InstallAddonWithContext ¶
func (c *Client) InstallAddonWithContext(ctx context.Context, request *InstallAddonRequest) (response *InstallAddonResponse, err error)
InstallAddon This API is used to install an add-on on the target cluster.
error code that may be returned:
INTERNALERROR_TASKNOTFOUND = "InternalError.TaskNotFound" INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
func (*Client) InstallEdgeLogAgent ¶
func (c *Client) InstallEdgeLogAgent(request *InstallEdgeLogAgentRequest) (response *InstallEdgeLogAgentResponse, err error)
InstallEdgeLogAgent This API is used to install the log collection add-on on TKE Edge cluster nodes.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" INVALIDPARAMETER_PARAM = "InvalidParameter.Param" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) InstallEdgeLogAgentWithContext ¶
func (c *Client) InstallEdgeLogAgentWithContext(ctx context.Context, request *InstallEdgeLogAgentRequest) (response *InstallEdgeLogAgentResponse, err error)
InstallEdgeLogAgent This API is used to install the log collection add-on on TKE Edge cluster nodes.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" INVALIDPARAMETER_PARAM = "InvalidParameter.Param" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) ModifyClusterAsGroupAttribute ¶
func (c *Client) ModifyClusterAsGroupAttribute(request *ModifyClusterAsGroupAttributeRequest) (response *ModifyClusterAsGroupAttributeResponse, err error)
ModifyClusterAsGroupAttribute Modify cluster scaling group attributes
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_CLUSTERNOTFOUND = "FailedOperation.ClusterNotFound" FAILEDOPERATION_PARAM = "FailedOperation.Param" INTERNALERROR = "InternalError" INTERNALERROR_ACCOUNTUSERNOTAUTHENTICATED = "InternalError.AccountUserNotAuthenticated" INTERNALERROR_ASCOMMON = "InternalError.AsCommon" INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth" INTERNALERROR_PARAM = "InternalError.Param" INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_ASCOMMONERROR = "InvalidParameter.AsCommonError" INVALIDPARAMETER_CIDROUTOFROUTETABLE = "InvalidParameter.CidrOutOfRouteTable" INVALIDPARAMETER_GATEWAYALREADYASSOCIATEDCIDR = "InvalidParameter.GatewayAlreadyAssociatedCidr" INVALIDPARAMETER_PARAM = "InvalidParameter.Param" INVALIDPARAMETER_ROUTETABLENOTEMPTY = "InvalidParameter.RouteTableNotEmpty" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) ModifyClusterAsGroupAttributeWithContext ¶
func (c *Client) ModifyClusterAsGroupAttributeWithContext(ctx context.Context, request *ModifyClusterAsGroupAttributeRequest) (response *ModifyClusterAsGroupAttributeResponse, err error)
ModifyClusterAsGroupAttribute Modify cluster scaling group attributes
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_CLUSTERNOTFOUND = "FailedOperation.ClusterNotFound" FAILEDOPERATION_PARAM = "FailedOperation.Param" INTERNALERROR = "InternalError" INTERNALERROR_ACCOUNTUSERNOTAUTHENTICATED = "InternalError.AccountUserNotAuthenticated" INTERNALERROR_ASCOMMON = "InternalError.AsCommon" INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth" INTERNALERROR_PARAM = "InternalError.Param" INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_ASCOMMONERROR = "InvalidParameter.AsCommonError" INVALIDPARAMETER_CIDROUTOFROUTETABLE = "InvalidParameter.CidrOutOfRouteTable" INVALIDPARAMETER_GATEWAYALREADYASSOCIATEDCIDR = "InvalidParameter.GatewayAlreadyAssociatedCidr" INVALIDPARAMETER_PARAM = "InvalidParameter.Param" INVALIDPARAMETER_ROUTETABLENOTEMPTY = "InvalidParameter.RouteTableNotEmpty" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) ModifyClusterAsGroupOptionAttribute ¶
func (c *Client) ModifyClusterAsGroupOptionAttribute(request *ModifyClusterAsGroupOptionAttributeRequest) (response *ModifyClusterAsGroupOptionAttributeResponse, err error)
ModifyClusterAsGroupOptionAttribute This API is used to modify cluster auto scaling attributes.
error code that may be returned:
FAILEDOPERATION_KUBERNETESINTERNAL = "FailedOperation.KubernetesInternal" FAILEDOPERATION_UNEXPECTEDERROR = "FailedOperation.UnexpectedError" INTERNALERROR = "InternalError" INTERNALERROR_ASCOMMON = "InternalError.AsCommon" INTERNALERROR_CLUSTERNOTFOUND = "InternalError.ClusterNotFound" INTERNALERROR_CLUSTERSTATE = "InternalError.ClusterState" INTERNALERROR_CVMCOMMON = "InternalError.CvmCommon" INTERNALERROR_CVMNOTFOUND = "InternalError.CvmNotFound" INTERNALERROR_DB = "InternalError.Db" INTERNALERROR_DBAFFECTIVEDROWS = "InternalError.DbAffectivedRows" INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" INVALIDPARAMETER_PARAM = "InvalidParameter.Param" MISSINGPARAMETER = "MissingParameter" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) ModifyClusterAsGroupOptionAttributeWithContext ¶
func (c *Client) ModifyClusterAsGroupOptionAttributeWithContext(ctx context.Context, request *ModifyClusterAsGroupOptionAttributeRequest) (response *ModifyClusterAsGroupOptionAttributeResponse, err error)
ModifyClusterAsGroupOptionAttribute This API is used to modify cluster auto scaling attributes.
error code that may be returned:
FAILEDOPERATION_KUBERNETESINTERNAL = "FailedOperation.KubernetesInternal" FAILEDOPERATION_UNEXPECTEDERROR = "FailedOperation.UnexpectedError" INTERNALERROR = "InternalError" INTERNALERROR_ASCOMMON = "InternalError.AsCommon" INTERNALERROR_CLUSTERNOTFOUND = "InternalError.ClusterNotFound" INTERNALERROR_CLUSTERSTATE = "InternalError.ClusterState" INTERNALERROR_CVMCOMMON = "InternalError.CvmCommon" INTERNALERROR_CVMNOTFOUND = "InternalError.CvmNotFound" INTERNALERROR_DB = "InternalError.Db" INTERNALERROR_DBAFFECTIVEDROWS = "InternalError.DbAffectivedRows" INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" INVALIDPARAMETER_PARAM = "InvalidParameter.Param" MISSINGPARAMETER = "MissingParameter" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) ModifyClusterAttribute ¶
func (c *Client) ModifyClusterAttribute(request *ModifyClusterAttributeRequest) (response *ModifyClusterAttributeResponse, err error)
ModifyClusterAttribute This API is used to modify cluster attributes.
error code that may be returned:
FAILEDOPERATION_COMPONENTCLIENTHTTP = "FailedOperation.ComponentClientHttp" FAILEDOPERATION_TRADECOMMON = "FailedOperation.TradeCommon" FAILEDOPERATION_UNEXPECTEDERROR = "FailedOperation.UnexpectedError" INTERNALERROR = "InternalError" INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth" INTERNALERROR_DB = "InternalError.Db" INTERNALERROR_DBAFFECTIVEDROWS = "InternalError.DbAffectivedRows" INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound" INTERNALERROR_PARAM = "InternalError.Param" INTERNALERROR_TRADECOMMON = "InternalError.TradeCommon" INTERNALERROR_TRADEINSUFFICIENTBALANCE = "InternalError.TradeInsufficientBalance" INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" INVALIDPARAMETER_PARAM = "InvalidParameter.Param" MISSINGPARAMETER = "MissingParameter" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCEUNAVAILABLE_CLUSTERSTATE = "ResourceUnavailable.ClusterState"
func (*Client) ModifyClusterAttributeWithContext ¶
func (c *Client) ModifyClusterAttributeWithContext(ctx context.Context, request *ModifyClusterAttributeRequest) (response *ModifyClusterAttributeResponse, err error)
ModifyClusterAttribute This API is used to modify cluster attributes.
error code that may be returned:
FAILEDOPERATION_COMPONENTCLIENTHTTP = "FailedOperation.ComponentClientHttp" FAILEDOPERATION_TRADECOMMON = "FailedOperation.TradeCommon" FAILEDOPERATION_UNEXPECTEDERROR = "FailedOperation.UnexpectedError" INTERNALERROR = "InternalError" INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth" INTERNALERROR_DB = "InternalError.Db" INTERNALERROR_DBAFFECTIVEDROWS = "InternalError.DbAffectivedRows" INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound" INTERNALERROR_PARAM = "InternalError.Param" INTERNALERROR_TRADECOMMON = "InternalError.TradeCommon" INTERNALERROR_TRADEINSUFFICIENTBALANCE = "InternalError.TradeInsufficientBalance" INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" INVALIDPARAMETER_PARAM = "InvalidParameter.Param" MISSINGPARAMETER = "MissingParameter" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCEUNAVAILABLE_CLUSTERSTATE = "ResourceUnavailable.ClusterState"
func (*Client) ModifyClusterAuthenticationOptions ¶
func (c *Client) ModifyClusterAuthenticationOptions(request *ModifyClusterAuthenticationOptionsRequest) (response *ModifyClusterAuthenticationOptionsResponse, err error)
ModifyClusterAuthenticationOptions This API is used to modify cluster authentication configuration.
error code that may be returned:
FAILEDOPERATION_KUBECOMMON = "FailedOperation.KubeCommon" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_PARAM = "InvalidParameter.Param" OPERATIONDENIED = "OperationDenied" RESOURCEUNAVAILABLE_CLUSTERSTATE = "ResourceUnavailable.ClusterState"
func (*Client) ModifyClusterAuthenticationOptionsWithContext ¶
func (c *Client) ModifyClusterAuthenticationOptionsWithContext(ctx context.Context, request *ModifyClusterAuthenticationOptionsRequest) (response *ModifyClusterAuthenticationOptionsResponse, err error)
ModifyClusterAuthenticationOptions This API is used to modify cluster authentication configuration.
error code that may be returned:
FAILEDOPERATION_KUBECOMMON = "FailedOperation.KubeCommon" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_PARAM = "InvalidParameter.Param" OPERATIONDENIED = "OperationDenied" RESOURCEUNAVAILABLE_CLUSTERSTATE = "ResourceUnavailable.ClusterState"
func (*Client) ModifyClusterEndpointSP ¶
func (c *Client) ModifyClusterEndpointSP(request *ModifyClusterEndpointSPRequest) (response *ModifyClusterEndpointSPResponse, err error)
ModifyClusterEndpointSP Modify the security policy of the external port of the managed cluster (the old way, only the external port of the managed cluster is supported)
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_KUBERNETESGETOPERATIONERROR = "FailedOperation.KubernetesGetOperationError" FAILEDOPERATION_LBCOMMON = "FailedOperation.LbCommon" FAILEDOPERATION_VPCUNEXPECTEDERROR = "FailedOperation.VPCUnexpectedError" INTERNALERROR = "InternalError" INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth" INTERNALERROR_CLUSTERNOTFOUND = "InternalError.ClusterNotFound" INTERNALERROR_DB = "InternalError.Db" INTERNALERROR_PARAM = "InternalError.Param" INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal" INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" INTERNALERROR_VPCUNEXPECTEDERROR = "InternalError.VPCUnexpectedError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_PARAM = "InvalidParameter.Param" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) ModifyClusterEndpointSPWithContext ¶
func (c *Client) ModifyClusterEndpointSPWithContext(ctx context.Context, request *ModifyClusterEndpointSPRequest) (response *ModifyClusterEndpointSPResponse, err error)
ModifyClusterEndpointSP Modify the security policy of the external port of the managed cluster (the old way, only the external port of the managed cluster is supported)
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_KUBERNETESGETOPERATIONERROR = "FailedOperation.KubernetesGetOperationError" FAILEDOPERATION_LBCOMMON = "FailedOperation.LbCommon" FAILEDOPERATION_VPCUNEXPECTEDERROR = "FailedOperation.VPCUnexpectedError" INTERNALERROR = "InternalError" INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth" INTERNALERROR_CLUSTERNOTFOUND = "InternalError.ClusterNotFound" INTERNALERROR_DB = "InternalError.Db" INTERNALERROR_PARAM = "InternalError.Param" INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal" INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" INTERNALERROR_VPCUNEXPECTEDERROR = "InternalError.VPCUnexpectedError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_PARAM = "InvalidParameter.Param" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) ModifyClusterNodePool ¶
func (c *Client) ModifyClusterNodePool(request *ModifyClusterNodePoolRequest) (response *ModifyClusterNodePoolResponse, err error)
ModifyClusterNodePool This API is used to edit a node pool.
error code that may be returned:
FAILEDOPERATION_COMPONENTCLIENTHTTP = "FailedOperation.ComponentClientHttp" FAILEDOPERATION_RECORDNOTFOUND = "FailedOperation.RecordNotFound" INTERNALERROR_DB = "InternalError.Db" INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" INVALIDPARAMETER_PARAM = "InvalidParameter.Param" OPERATIONDENIED = "OperationDenied" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_ASASGNOTEXIST = "ResourceNotFound.AsAsgNotExist" UNSUPPORTEDOPERATION_CAENABLEFAILED = "UnsupportedOperation.CaEnableFailed"
func (*Client) ModifyClusterNodePoolWithContext ¶
func (c *Client) ModifyClusterNodePoolWithContext(ctx context.Context, request *ModifyClusterNodePoolRequest) (response *ModifyClusterNodePoolResponse, err error)
ModifyClusterNodePool This API is used to edit a node pool.
error code that may be returned:
FAILEDOPERATION_COMPONENTCLIENTHTTP = "FailedOperation.ComponentClientHttp" FAILEDOPERATION_RECORDNOTFOUND = "FailedOperation.RecordNotFound" INTERNALERROR_DB = "InternalError.Db" INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" INVALIDPARAMETER_PARAM = "InvalidParameter.Param" OPERATIONDENIED = "OperationDenied" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_ASASGNOTEXIST = "ResourceNotFound.AsAsgNotExist" UNSUPPORTEDOPERATION_CAENABLEFAILED = "UnsupportedOperation.CaEnableFailed"
func (*Client) ModifyClusterVirtualNodePool ¶
func (c *Client) ModifyClusterVirtualNodePool(request *ModifyClusterVirtualNodePoolRequest) (response *ModifyClusterVirtualNodePoolResponse, err error)
ModifyClusterVirtualNodePool This API is used to modify a virtual node pool.
error code that may be returned:
FAILEDOPERATION_RECORDNOTFOUND = "FailedOperation.RecordNotFound" INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" INVALIDPARAMETER_PARAM = "InvalidParameter.Param" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE_NODEPOOLSTATENOTNORMAL = "ResourceUnavailable.NodePoolStateNotNormal"
func (*Client) ModifyClusterVirtualNodePoolWithContext ¶
func (c *Client) ModifyClusterVirtualNodePoolWithContext(ctx context.Context, request *ModifyClusterVirtualNodePoolRequest) (response *ModifyClusterVirtualNodePoolResponse, err error)
ModifyClusterVirtualNodePool This API is used to modify a virtual node pool.
error code that may be returned:
FAILEDOPERATION_RECORDNOTFOUND = "FailedOperation.RecordNotFound" INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" INVALIDPARAMETER_PARAM = "InvalidParameter.Param" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE_NODEPOOLSTATENOTNORMAL = "ResourceUnavailable.NodePoolStateNotNormal"
func (*Client) ModifyNodePoolInstanceTypes ¶
func (c *Client) ModifyNodePoolInstanceTypes(request *ModifyNodePoolInstanceTypesRequest) (response *ModifyNodePoolInstanceTypesResponse, err error)
ModifyNodePoolInstanceTypes This API is used to modify the model of instances in a node pool.
error code that may be returned:
FAILEDOPERATION_COMPONENTCLIENTHTTP = "FailedOperation.ComponentClientHttp" INTERNALERROR = "InternalError" INTERNALERROR_ACCOUNTUSERNOTAUTHENTICATED = "InternalError.AccountUserNotAuthenticated" INTERNALERROR_CLUSTERNOTFOUND = "InternalError.ClusterNotFound" INTERNALERROR_DB = "InternalError.Db" INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound" INTERNALERROR_PARAM = "InternalError.Param" INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal" INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_PARAM = "InvalidParameter.Param" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) ModifyNodePoolInstanceTypesWithContext ¶
func (c *Client) ModifyNodePoolInstanceTypesWithContext(ctx context.Context, request *ModifyNodePoolInstanceTypesRequest) (response *ModifyNodePoolInstanceTypesResponse, err error)
ModifyNodePoolInstanceTypes This API is used to modify the model of instances in a node pool.
error code that may be returned:
FAILEDOPERATION_COMPONENTCLIENTHTTP = "FailedOperation.ComponentClientHttp" INTERNALERROR = "InternalError" INTERNALERROR_ACCOUNTUSERNOTAUTHENTICATED = "InternalError.AccountUserNotAuthenticated" INTERNALERROR_CLUSTERNOTFOUND = "InternalError.ClusterNotFound" INTERNALERROR_DB = "InternalError.Db" INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound" INTERNALERROR_PARAM = "InternalError.Param" INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal" INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_PARAM = "InvalidParameter.Param" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) ModifyPrometheusAlertRule ¶
func (c *Client) ModifyPrometheusAlertRule(request *ModifyPrometheusAlertRuleRequest) (response *ModifyPrometheusAlertRuleResponse, err error)
ModifyPrometheusAlertRule This API is used to modify an alert rule.
error code that may be returned:
FAILEDOPERATION_COMPONENTCLIENTHTTP = "FailedOperation.ComponentClientHttp" FAILEDOPERATION_KUBECOMMON = "FailedOperation.KubeCommon" INTERNALERROR = "InternalError" INTERNALERROR_PARAM = "InternalError.Param" INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_PARAM = "InvalidParameter.Param" INVALIDPARAMETER_PROMINSTANCENOTFOUND = "InvalidParameter.PromInstanceNotFound"
func (*Client) ModifyPrometheusAlertRuleWithContext ¶
func (c *Client) ModifyPrometheusAlertRuleWithContext(ctx context.Context, request *ModifyPrometheusAlertRuleRequest) (response *ModifyPrometheusAlertRuleResponse, err error)
ModifyPrometheusAlertRule This API is used to modify an alert rule.
error code that may be returned:
FAILEDOPERATION_COMPONENTCLIENTHTTP = "FailedOperation.ComponentClientHttp" FAILEDOPERATION_KUBECOMMON = "FailedOperation.KubeCommon" INTERNALERROR = "InternalError" INTERNALERROR_PARAM = "InternalError.Param" INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_PARAM = "InvalidParameter.Param" INVALIDPARAMETER_PROMINSTANCENOTFOUND = "InvalidParameter.PromInstanceNotFound"
func (*Client) RemoveNodeFromNodePool ¶
func (c *Client) RemoveNodeFromNodePool(request *RemoveNodeFromNodePoolRequest) (response *RemoveNodeFromNodePoolResponse, err error)
RemoveNodeFromNodePool This API is used to remove a node from a node pool but retain it in the cluster.
error code that may be returned:
FAILEDOPERATION_RECORDNOTFOUND = "FailedOperation.RecordNotFound" INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" INVALIDPARAMETER_PARAM = "InvalidParameter.Param" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) RemoveNodeFromNodePoolWithContext ¶
func (c *Client) RemoveNodeFromNodePoolWithContext(ctx context.Context, request *RemoveNodeFromNodePoolRequest) (response *RemoveNodeFromNodePoolResponse, err error)
RemoveNodeFromNodePool This API is used to remove a node from a node pool but retain it in the cluster.
error code that may be returned:
FAILEDOPERATION_RECORDNOTFOUND = "FailedOperation.RecordNotFound" INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" INVALIDPARAMETER_PARAM = "InvalidParameter.Param" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) SetNodePoolNodeProtection ¶
func (c *Client) SetNodePoolNodeProtection(request *SetNodePoolNodeProtectionRequest) (response *SetNodePoolNodeProtectionResponse, err error)
SetNodePoolNodeProtection This API is used to enable removal protection for the nodes automatically created by the scaling group in a node pool.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_ACCOUNTUSERNOTAUTHENTICATED = "InternalError.AccountUserNotAuthenticated" INTERNALERROR_CLUSTERNOTFOUND = "InternalError.ClusterNotFound" INTERNALERROR_DB = "InternalError.Db" INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound" INTERNALERROR_PARAM = "InternalError.Param" INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal" INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
func (*Client) SetNodePoolNodeProtectionWithContext ¶
func (c *Client) SetNodePoolNodeProtectionWithContext(ctx context.Context, request *SetNodePoolNodeProtectionRequest) (response *SetNodePoolNodeProtectionResponse, err error)
SetNodePoolNodeProtection This API is used to enable removal protection for the nodes automatically created by the scaling group in a node pool.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_ACCOUNTUSERNOTAUTHENTICATED = "InternalError.AccountUserNotAuthenticated" INTERNALERROR_CLUSTERNOTFOUND = "InternalError.ClusterNotFound" INTERNALERROR_DB = "InternalError.Db" INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound" INTERNALERROR_PARAM = "InternalError.Param" INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal" INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_PARAM = "InvalidParameter.Param"
func (*Client) UninstallEdgeLogAgent ¶
func (c *Client) UninstallEdgeLogAgent(request *UninstallEdgeLogAgentRequest) (response *UninstallEdgeLogAgentResponse, err error)
UninstallEdgeLogAgent This API is used to uninstall the log collection add-on from TKE Edge cluster nodes.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) UninstallEdgeLogAgentWithContext ¶
func (c *Client) UninstallEdgeLogAgentWithContext(ctx context.Context, request *UninstallEdgeLogAgentRequest) (response *UninstallEdgeLogAgentResponse, err error)
UninstallEdgeLogAgent This API is used to uninstall the log collection add-on from TKE Edge cluster nodes.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) UpdateAddon ¶
func (c *Client) UpdateAddon(request *UpdateAddonRequest) (response *UpdateAddonResponse, err error)
UpdateAddon This API is used to update parameters and version of an add-on.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) UpdateAddonWithContext ¶
func (c *Client) UpdateAddonWithContext(ctx context.Context, request *UpdateAddonRequest) (response *UpdateAddonResponse, err error)
UpdateAddon This API is used to update parameters and version of an add-on.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) UpdateClusterKubeconfig ¶
func (c *Client) UpdateClusterKubeconfig(request *UpdateClusterKubeconfigRequest) (response *UpdateClusterKubeconfigResponse, err error)
UpdateClusterKubeconfig This API is used to update the Kubeconfig information of a cluster.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_DB = "InternalError.Db" INTERNALERROR_KUBERNETESPATCHOPERATIONERROR = "InternalError.KubernetesPatchOperationError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_PARAM = "InvalidParameter.Param" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) UpdateClusterKubeconfigWithContext ¶
func (c *Client) UpdateClusterKubeconfigWithContext(ctx context.Context, request *UpdateClusterKubeconfigRequest) (response *UpdateClusterKubeconfigResponse, err error)
UpdateClusterKubeconfig This API is used to update the Kubeconfig information of a cluster.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_DB = "InternalError.Db" INTERNALERROR_KUBERNETESPATCHOPERATIONERROR = "InternalError.KubernetesPatchOperationError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_PARAM = "InvalidParameter.Param" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) UpdateClusterVersion ¶
func (c *Client) UpdateClusterVersion(request *UpdateClusterVersionRequest) (response *UpdateClusterVersionResponse, err error)
UpdateClusterVersion This API is used to upgrade the master component of the cluster to the specified version.
error code that may be returned:
FAILEDOPERATION_CLUSTERUPGRADENODEVERSION = "FailedOperation.ClusterUpgradeNodeVersion" FAILEDOPERATION_COMPONENTCLIENTHTTP = "FailedOperation.ComponentClientHttp" INTERNALERROR = "InternalError" INTERNALERROR_CLUSTERUPGRADENODEVERSION = "InternalError.ClusterUpgradeNodeVersion" INTERNALERROR_PARAM = "InternalError.Param" INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_PARAM = "InvalidParameter.Param" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE_CLUSTERSTATE = "ResourceUnavailable.ClusterState"
func (*Client) UpdateClusterVersionWithContext ¶
func (c *Client) UpdateClusterVersionWithContext(ctx context.Context, request *UpdateClusterVersionRequest) (response *UpdateClusterVersionResponse, err error)
UpdateClusterVersion This API is used to upgrade the master component of the cluster to the specified version.
error code that may be returned:
FAILEDOPERATION_CLUSTERUPGRADENODEVERSION = "FailedOperation.ClusterUpgradeNodeVersion" FAILEDOPERATION_COMPONENTCLIENTHTTP = "FailedOperation.ComponentClientHttp" INTERNALERROR = "InternalError" INTERNALERROR_CLUSTERUPGRADENODEVERSION = "InternalError.ClusterUpgradeNodeVersion" INTERNALERROR_PARAM = "InternalError.Param" INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_PARAM = "InvalidParameter.Param" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE_CLUSTERSTATE = "ResourceUnavailable.ClusterState"
func (*Client) UpdateEdgeClusterVersion ¶
func (c *Client) UpdateEdgeClusterVersion(request *UpdateEdgeClusterVersionRequest) (response *UpdateEdgeClusterVersionResponse, err error)
UpdateEdgeClusterVersion This API is used to upgrade an edge cluster component to a TKE Edge version.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_CLUSTERUPGRADENODEVERSION = "FailedOperation.ClusterUpgradeNodeVersion" INTERNALERROR = "InternalError" INTERNALERROR_CLUSTERUPGRADENODEVERSION = "InternalError.ClusterUpgradeNodeVersion" INTERNALERROR_PARAM = "InternalError.Param" INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_PARAM = "InvalidParameter.Param" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE_CLUSTERSTATE = "ResourceUnavailable.ClusterState"
func (*Client) UpdateEdgeClusterVersionWithContext ¶
func (c *Client) UpdateEdgeClusterVersionWithContext(ctx context.Context, request *UpdateEdgeClusterVersionRequest) (response *UpdateEdgeClusterVersionResponse, err error)
UpdateEdgeClusterVersion This API is used to upgrade an edge cluster component to a TKE Edge version.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_CLUSTERUPGRADENODEVERSION = "FailedOperation.ClusterUpgradeNodeVersion" INTERNALERROR = "InternalError" INTERNALERROR_CLUSTERUPGRADENODEVERSION = "InternalError.ClusterUpgradeNodeVersion" INTERNALERROR_PARAM = "InternalError.Param" INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_PARAM = "InvalidParameter.Param" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE_CLUSTERSTATE = "ResourceUnavailable.ClusterState"
func (*Client) UpgradeClusterInstances ¶
func (c *Client) UpgradeClusterInstances(request *UpgradeClusterInstancesRequest) (response *UpgradeClusterInstancesResponse, err error)
UpgradeClusterInstances This API is used to upgrade work nodes in a cluster.
error code that may be returned:
FAILEDOPERATION_TASKALREADYRUNNING = "FailedOperation.TaskAlreadyRunning" FAILEDOPERATION_TASKLIFESTATEERROR = "FailedOperation.TaskLifeStateError" INTERNALERROR_CLUSTERNOTFOUND = "InternalError.ClusterNotFound" INTERNALERROR_PARAM = "InternalError.Param" INTERNALERROR_TASKALREADYRUNNING = "InternalError.TaskAlreadyRunning" INTERNALERROR_TASKLIFESTATEERROR = "InternalError.TaskLifeStateError" INTERNALERROR_TASKNOTFOUND = "InternalError.TaskNotFound" INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal" INVALIDPARAMETER_PARAM = "InvalidParameter.Param" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE_CLUSTERSTATE = "ResourceUnavailable.ClusterState"
func (*Client) UpgradeClusterInstancesWithContext ¶
func (c *Client) UpgradeClusterInstancesWithContext(ctx context.Context, request *UpgradeClusterInstancesRequest) (response *UpgradeClusterInstancesResponse, err error)
UpgradeClusterInstances This API is used to upgrade work nodes in a cluster.
error code that may be returned:
FAILEDOPERATION_TASKALREADYRUNNING = "FailedOperation.TaskAlreadyRunning" FAILEDOPERATION_TASKLIFESTATEERROR = "FailedOperation.TaskLifeStateError" INTERNALERROR_CLUSTERNOTFOUND = "InternalError.ClusterNotFound" INTERNALERROR_PARAM = "InternalError.Param" INTERNALERROR_TASKALREADYRUNNING = "InternalError.TaskAlreadyRunning" INTERNALERROR_TASKLIFESTATEERROR = "InternalError.TaskLifeStateError" INTERNALERROR_TASKNOTFOUND = "InternalError.TaskNotFound" INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal" INVALIDPARAMETER_PARAM = "InvalidParameter.Param" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE_CLUSTERSTATE = "ResourceUnavailable.ClusterState"
type Cluster ¶
type Cluster struct { // Cluster ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // Cluster name ClusterName *string `json:"ClusterName,omitnil,omitempty" name:"ClusterName"` // Cluster description ClusterDescription *string `json:"ClusterDescription,omitnil,omitempty" name:"ClusterDescription"` // Cluster version. The default value is 1.10.5. ClusterVersion *string `json:"ClusterVersion,omitnil,omitempty" name:"ClusterVersion"` // Cluster operating system. centOS 7.2x86_64 or ubuntu 16.04.1 LTSx86_64. Default value: ubuntu 16.04.1 LTSx86_64 ClusterOs *string `json:"ClusterOs,omitnil,omitempty" name:"ClusterOs"` // Cluster type. Managed cluster: MANAGED_CLUSTER; Self-deployed cluster: INDEPENDENT_CLUSTER. ClusterType *string `json:"ClusterType,omitnil,omitempty" name:"ClusterType"` // Cluster network-related parameters ClusterNetworkSettings *ClusterNetworkSettings `json:"ClusterNetworkSettings,omitnil,omitempty" name:"ClusterNetworkSettings"` // Current number of nodes in the cluster ClusterNodeNum *uint64 `json:"ClusterNodeNum,omitnil,omitempty" name:"ClusterNodeNum"` // ID of the project to which the cluster belongs ProjectId *uint64 `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` // Tag description list. TagSpecification []*TagSpecification `json:"TagSpecification,omitnil,omitempty" name:"TagSpecification"` // Cluster status. Values: `Trading` (Preparing), `Creating`, `Running`, `Deleting`, `Idling` (Idle), `Recovering`, `Scaling`, `Upgrading` (Upgrading the cluster), `WaittingForConnect` (Pending registration), `Pause` (Cluster upgrade paused), `NodeUpgrading` (Upgrading the node), `RuntimeUpgrading` (Upgrading the node runtime), `MasterScaling` (Scaling Master), `ClusterLevelUpgrading` (Adjusting cluster specification level), `ResourceIsolate` (Isolating), `ResourceIsolated` (Isolated), `ResourceReverse` (Overdue payment made. Recovering the cluster), and `Abnormal`. ClusterStatus *string `json:"ClusterStatus,omitnil,omitempty" name:"ClusterStatus"` // Cluster attributes (including a map of different cluster attributes, with attribute fields including NodeNameType (lan-ip mode and hostname mode, with lan-ip mode as default)) Property *string `json:"Property,omitnil,omitempty" name:"Property"` // Number of primary nodes currently in the cluster ClusterMaterNodeNum *uint64 `json:"ClusterMaterNodeNum,omitnil,omitempty" name:"ClusterMaterNodeNum"` // ID of the image used by the cluster // Note: this field may return null, indicating that no valid value is obtained. ImageId *string `json:"ImageId,omitnil,omitempty" name:"ImageId"` // Container image tag // Note: This field may return null, indicating that no valid value was found. OsCustomizeType *string `json:"OsCustomizeType,omitnil,omitempty" name:"OsCustomizeType"` // Runtime environment of the cluster. Values can be `docker` or `containerd`. // Note: this field may return null, indicating that no valid value is obtained. ContainerRuntime *string `json:"ContainerRuntime,omitnil,omitempty" name:"ContainerRuntime"` // Creation time // Note: this field may return null, indicating that no valid value is obtained. CreatedTime *string `json:"CreatedTime,omitnil,omitempty" name:"CreatedTime"` // Whether Deletion Protection is enabled // Note: this field may return null, indicating that no valid value is obtained. DeletionProtection *bool `json:"DeletionProtection,omitnil,omitempty" name:"DeletionProtection"` // Specifies whether the cluster supports external nodes. // Note: this field may return `null`, indicating that no valid value can be obtained. EnableExternalNode *bool `json:"EnableExternalNode,omitnil,omitempty" name:"EnableExternalNode"` // Cluster models. It’s valid for managed clusters. // Note: This field may return `null`, indicating that no valid values can be obtained. ClusterLevel *string `json:"ClusterLevel,omitnil,omitempty" name:"ClusterLevel"` // The target cluster model for auto-upgrade // Note: this field may return null, indicating that no valid value is obtained. AutoUpgradeClusterLevel *bool `json:"AutoUpgradeClusterLevel,omitnil,omitempty" name:"AutoUpgradeClusterLevel"` // Note: this field may return `null`, indicating that no valid values can be obtained. QGPUShareEnable *bool `json:"QGPUShareEnable,omitnil,omitempty" name:"QGPUShareEnable"` // Runtime version // Note: This field may return `null`, indicating that no valid value can be obtained. RuntimeVersion *string `json:"RuntimeVersion,omitnil,omitempty" name:"RuntimeVersion"` // Number of current etcd in the cluster // Note: This field may return `null`, indicating that no valid values can be obtained. ClusterEtcdNodeNum *uint64 `json:"ClusterEtcdNodeNum,omitnil,omitempty" name:"ClusterEtcdNodeNum"` }
type ClusterAdvancedSettings ¶
type ClusterAdvancedSettings struct { // Whether IPVS is enabled IPVS *bool `json:"IPVS,omitnil,omitempty" name:"IPVS"` // Whether auto-scaling is enabled for nodes in the cluster (Enabling this function is not supported when you create a cluster) AsEnabled *bool `json:"AsEnabled,omitnil,omitempty" name:"AsEnabled"` // Type of runtime component used by the cluster. The types include "docker" and "containerd". Default value: docker ContainerRuntime *string `json:"ContainerRuntime,omitnil,omitempty" name:"ContainerRuntime"` // NodeName type for a node in a cluster (This includes the two forms of **hostname** and **lan-ip**, with the default as **lan-ip**. If **hostname** is used, you need to set the HostName parameter when creating a node, and the InstanceName needs to be the same as the HostName.) NodeNameType *string `json:"NodeNameType,omitnil,omitempty" name:"NodeNameType"` // Cluster custom parameter ExtraArgs *ClusterExtraArgs `json:"ExtraArgs,omitnil,omitempty" name:"ExtraArgs"` // Cluster network type, which can be GR (Global Router) or VPC-CNI. The default value is GR. NetworkType *string `json:"NetworkType,omitnil,omitempty" name:"NetworkType"` // Whether a cluster in VPC-CNI mode uses dynamic IP addresses. The default value is FALSE, which indicates that static IP addresses are used. IsNonStaticIpMode *bool `json:"IsNonStaticIpMode,omitnil,omitempty" name:"IsNonStaticIpMode"` // Indicates whether to enable cluster deletion protection. DeletionProtection *bool `json:"DeletionProtection,omitnil,omitempty" name:"DeletionProtection"` // Cluster network proxy model, which is only used when ipvs-bpf mode is used. At present, TKE cluster supports three network proxy modes including `iptables`, `ipvs` and `ipvs-bpf` and their parameter setting relationships are as follows: // `iptables`: do not set IPVS and KubeProxyMode. // `ipvs`: set IPVS to `true` and do not set KubeProxyMode. // `ipvs-bpf`: set KubeProxyMode to `kube-proxy-bpf`. // The following conditions are required to use ipvs-bpf network mode: // 1. The cluster version must be v1.14 or later. // 2. The system image must be Tencent Linux 2.4. KubeProxyMode *string `json:"KubeProxyMode,omitnil,omitempty" name:"KubeProxyMode"` // Indicates whether to enable auditing AuditEnabled *bool `json:"AuditEnabled,omitnil,omitempty" name:"AuditEnabled"` // Specifies the ID of logset to which the audit logs are uploaded. AuditLogsetId *string `json:"AuditLogsetId,omitnil,omitempty" name:"AuditLogsetId"` // Specifies the ID of topic to which the audit logs are uploaded. AuditLogTopicId *string `json:"AuditLogTopicId,omitnil,omitempty" name:"AuditLogTopicId"` // Specifies the ENI type. Values: `tke-route-eni` (multi-IP shared ENI); `tke-direct-eni` (independent ENI). It defaults to `tke-route-eni`. VpcCniType *string `json:"VpcCniType,omitnil,omitempty" name:"VpcCniType"` // Runtime version RuntimeVersion *string `json:"RuntimeVersion,omitnil,omitempty" name:"RuntimeVersion"` // Indicates whether to enable the custom mode for the node’s pod CIDR range EnableCustomizedPodCIDR *bool `json:"EnableCustomizedPodCIDR,omitnil,omitempty" name:"EnableCustomizedPodCIDR"` // The basic number of Pods in custom mode BasePodNumber *int64 `json:"BasePodNumber,omitnil,omitempty" name:"BasePodNumber"` // Specifies whether to enable Cilium. If it’s left empty, Cilium is not enabled. If `clusterIP` is passed in, it means to enable Cilium to support the clusterIP service type. CiliumMode *string `json:"CiliumMode,omitnil,omitempty" name:"CiliumMode"` // Whether it is a dual-stack cluster in VPC-CNI mode. Default value: `false`, which indicates it is not a dual-stack cluster. IsDualStack *bool `json:"IsDualStack,omitnil,omitempty" name:"IsDualStack"` QGPUShareEnable *bool `json:"QGPUShareEnable,omitnil,omitempty" name:"QGPUShareEnable"` }
type ClusterAsGroup ¶
type ClusterAsGroup struct { // Scaling group ID AutoScalingGroupId *string `json:"AutoScalingGroupId,omitnil,omitempty" name:"AutoScalingGroupId"` // Scaling group status (`enabled`, `enabling`, `disabled`, `disabling`, `updating`, `deleting`, `scaleDownEnabling`, `scaleDownDisabling`) Status *string `json:"Status,omitnil,omitempty" name:"Status"` // Whether the node is set to unschedulable // Note: this field may return null, indicating that no valid value was found. IsUnschedulable *bool `json:"IsUnschedulable,omitnil,omitempty" name:"IsUnschedulable"` // Scaling group label list // Note: this field may return null, indicating that no valid value was found. Labels []*Label `json:"Labels,omitnil,omitempty" name:"Labels"` // Creation time CreatedTime *string `json:"CreatedTime,omitnil,omitempty" name:"CreatedTime"` }
type ClusterAsGroupAttribute ¶
type ClusterAsGroupAttribute struct { // Scaling group ID AutoScalingGroupId *string `json:"AutoScalingGroupId,omitnil,omitempty" name:"AutoScalingGroupId"` // Whether it is enabled AutoScalingGroupEnabled *bool `json:"AutoScalingGroupEnabled,omitnil,omitempty" name:"AutoScalingGroupEnabled"` // Maximum and minimum number of pods in a scaling group AutoScalingGroupRange *AutoScalingGroupRange `json:"AutoScalingGroupRange,omitnil,omitempty" name:"AutoScalingGroupRange"` }
type ClusterAsGroupOption ¶
type ClusterAsGroupOption struct { // Whether to enable scale-in // Note: this field may return null, indicating that no valid value was found. IsScaleDownEnabled *bool `json:"IsScaleDownEnabled,omitnil,omitempty" name:"IsScaleDownEnabled"` // The scale-out method when there are multiple scaling groups. `random`: select a random scaling group. `most-pods`: choose the scaling group that can schedule the most pods. `least-waste`: select the scaling group that can ensure the fewest remaining resources after Pod scheduling.. The default value is `random`.) // Note: this field may return null, indicating that no valid value was found. Expander *string `json:"Expander,omitnil,omitempty" name:"Expander"` // Max concurrent scale-in volume // Note: this field may return null, indicating that no valid value was found. MaxEmptyBulkDelete *int64 `json:"MaxEmptyBulkDelete,omitnil,omitempty" name:"MaxEmptyBulkDelete"` // Number of minutes after cluster scale-out when the system starts judging whether to perform scale-in // Note: this field may return null, indicating that no valid value was found. ScaleDownDelay *int64 `json:"ScaleDownDelay,omitnil,omitempty" name:"ScaleDownDelay"` // Number of consecutive minutes of idleness after which the node is subject to scale-in (default value: 10) // Note: this field may return null, indicating that no valid value was found. ScaleDownUnneededTime *int64 `json:"ScaleDownUnneededTime,omitnil,omitempty" name:"ScaleDownUnneededTime"` // Percentage of node resource usage below which the node is considered to be idle (default value: 50) // Note: this field may return null, indicating that no valid value was found. ScaleDownUtilizationThreshold *int64 `json:"ScaleDownUtilizationThreshold,omitnil,omitempty" name:"ScaleDownUtilizationThreshold"` // Do not scale in a node if it contains local storage Pods. Default: `true`. // Note: u200dThis field may return `null`, indicating that no valid values can be obtained. SkipNodesWithLocalStorage *bool `json:"SkipNodesWithLocalStorage,omitnil,omitempty" name:"SkipNodesWithLocalStorage"` // Do not scale in a node if it contains Pods in the kube-system namespace that are not managed by DaemonSet. Default: `true`. // Note: u200dThis field may return `null`, indicating that no valid values can be obtained. SkipNodesWithSystemPods *bool `json:"SkipNodesWithSystemPods,omitnil,omitempty" name:"SkipNodesWithSystemPods"` // Whether to ignore DaemonSet pods by default when calculating resource usage (default value: False: do not ignore) // Note: this field may return null, indicating that no valid value was found. IgnoreDaemonSetsUtilization *bool `json:"IgnoreDaemonSetsUtilization,omitnil,omitempty" name:"IgnoreDaemonSetsUtilization"` // Number at which CA health detection is triggered (default value: 3). After the number specified in OkTotalUnreadyCount is exceeded, CA will perform health detection. // Note: this field may return null, indicating that no valid value was found. OkTotalUnreadyCount *int64 `json:"OkTotalUnreadyCount,omitnil,omitempty" name:"OkTotalUnreadyCount"` // Max percentage of unready nodes. After the max percentage is exceeded, CA will stop operation. // Note: this field may return null, indicating that no valid value was found. MaxTotalUnreadyPercentage *int64 `json:"MaxTotalUnreadyPercentage,omitnil,omitempty" name:"MaxTotalUnreadyPercentage"` // Amount of time before unready nodes become eligible for scale-in // Note: this field may return null, indicating that no valid value was found. ScaleDownUnreadyTime *int64 `json:"ScaleDownUnreadyTime,omitnil,omitempty" name:"ScaleDownUnreadyTime"` // Waiting time before CA deletes nodes that are not registered in Kubernetes // Note: this field may return null, indicating that no valid value was found. UnregisteredNodeRemovalTime *int64 `json:"UnregisteredNodeRemovalTime,omitnil,omitempty" name:"UnregisteredNodeRemovalTime"` }
type ClusterBasicSettings ¶
type ClusterBasicSettings struct { // Cluster operating system. Public image (enter the image name) and custom image (enter the image ID) are supported. For details, see https://intl.cloud.tencent.com/document/product/457/68289?from_cn_redirect=1 ClusterOs *string `json:"ClusterOs,omitnil,omitempty" name:"ClusterOs"` // Cluster version. The default value is 1.10.5. ClusterVersion *string `json:"ClusterVersion,omitnil,omitempty" name:"ClusterVersion"` // Cluster name ClusterName *string `json:"ClusterName,omitnil,omitempty" name:"ClusterName"` // Cluster description ClusterDescription *string `json:"ClusterDescription,omitnil,omitempty" name:"ClusterDescription"` // VPC ID, in the format of vpc-xxx, which is required when you create an empty managed cluster. VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"` // ID of the project to which the new resources in the cluster belong. ProjectId *int64 `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` // Tag description list. This parameter is used to bind a tag to a resource instance. Currently, a tag can only be bound to cluster instances. TagSpecification []*TagSpecification `json:"TagSpecification,omitnil,omitempty" name:"TagSpecification"` // Container image tag, `DOCKER_CUSTOMIZE` (container customized tag), `GENERAL` (general tag, default value) OsCustomizeType *string `json:"OsCustomizeType,omitnil,omitempty" name:"OsCustomizeType"` // Whether to enable the node’s default security group (default: `No`, Alpha feature) NeedWorkSecurityGroup *bool `json:"NeedWorkSecurityGroup,omitnil,omitempty" name:"NeedWorkSecurityGroup"` // When the Cilium Overlay add-on is selected, TKE will take two IPs from the subnet to create the private network CLB. SubnetId *string `json:"SubnetId,omitnil,omitempty" name:"SubnetId"` // Cluster specifications available for managed clusters ClusterLevel *string `json:"ClusterLevel,omitnil,omitempty" name:"ClusterLevel"` // Auto cluster upgrade for managed clusters AutoUpgradeClusterLevel *AutoUpgradeClusterLevel `json:"AutoUpgradeClusterLevel,omitnil,omitempty" name:"AutoUpgradeClusterLevel"` }
type ClusterCIDRSettings ¶
type ClusterCIDRSettings struct { // CIDR used to assign container and service IPs for the cluster. It cannot conflict with the VPC's CIDR or the CIDRs of other clusters in the same VPC ClusterCIDR *string `json:"ClusterCIDR,omitnil,omitempty" name:"ClusterCIDR"` // Whether to ignore ClusterCIDR conflict errors, which are not ignored by default IgnoreClusterCIDRConflict *bool `json:"IgnoreClusterCIDRConflict,omitnil,omitempty" name:"IgnoreClusterCIDRConflict"` // Maximum number of Pods on each node. Value range: 16 to 256. When its power is not 2, it will round upward to the closest power of 2. MaxNodePodNum *uint64 `json:"MaxNodePodNum,omitnil,omitempty" name:"MaxNodePodNum"` // The maximum number of services in a cluster. The range is from 32 to 32768. When its power is not 2, it will round upward to the closest power of 2. Default value is 256. MaxClusterServiceNum *uint64 `json:"MaxClusterServiceNum,omitnil,omitempty" name:"MaxClusterServiceNum"` // The CIDR block used to assign cluster service IP addresses. It must conflict with neither the VPC CIDR block nor with CIDR blocks of other clusters in the same VPC instance. The IP range must be within the private network IP range, such as 10.1.0.0/14, 192.168.0.1/18, and 172.16.0.0/16. ServiceCIDR *string `json:"ServiceCIDR,omitnil,omitempty" name:"ServiceCIDR"` // Subnet ID of the ENI in VPC-CNI network mode EniSubnetIds []*string `json:"EniSubnetIds,omitnil,omitempty" name:"EniSubnetIds"` // Repossession time of ENI IP addresses in VPC-CNI network mode, whose range is [300,15768000) ClaimExpiredSeconds *int64 `json:"ClaimExpiredSeconds,omitnil,omitempty" name:"ClaimExpiredSeconds"` // Whether to ignore ServiceCIDR conflict errors. It is only valid in VPC-CNI mode. Default value: `false`. IgnoreServiceCIDRConflict *bool `json:"IgnoreServiceCIDRConflict,omitnil,omitempty" name:"IgnoreServiceCIDRConflict"` }
type ClusterCondition ¶
type ClusterCondition struct { // Process type Type *string `json:"Type,omitnil,omitempty" name:"Type"` // Process status Status *string `json:"Status,omitnil,omitempty" name:"Status"` // Last time when the status is probed // Note: This field may return `null`, indicating that no valid values can be obtained. LastProbeTime *string `json:"LastProbeTime,omitnil,omitempty" name:"LastProbeTime"` // Last time when transiting to the process // Note: This field may return `null`, indicating that no valid values can be obtained. LastTransitionTime *string `json:"LastTransitionTime,omitnil,omitempty" name:"LastTransitionTime"` // Reasons for transiting to the process // Note: This field may return `null`, indicating that no valid values can be obtained. Reason *string `json:"Reason,omitnil,omitempty" name:"Reason"` // More information on transition // Note: This field may return `null`, indicating that no valid values can be obtained. Message *string `json:"Message,omitnil,omitempty" name:"Message"` }
type ClusterCredential ¶
type ClusterExtraArgs ¶
type ClusterExtraArgs struct { // kube-apiserver custom parameter, in the format of ["k1=v1", "k1=v2"], for example: ["max-requests-inflight=500","feature-gates=PodShareProcessNamespace=true,DynamicKubeletConfig=true"]. // Note: this field may return `null`, indicating that no valid value is obtained. KubeAPIServer []*string `json:"KubeAPIServer,omitnil,omitempty" name:"KubeAPIServer"` // kube-controller-manager custom parameter // Note: this field may return null, indicating that no valid value is obtained. KubeControllerManager []*string `json:"KubeControllerManager,omitnil,omitempty" name:"KubeControllerManager"` // kube-scheduler custom parameter // Note: this field may return null, indicating that no valid value is obtained. KubeScheduler []*string `json:"KubeScheduler,omitnil,omitempty" name:"KubeScheduler"` // etcd custom parameter, which is only effective for self-deployed cluster. // Note: this field may return `null`, indicating that no valid value is obtained. Etcd []*string `json:"Etcd,omitnil,omitempty" name:"Etcd"` }
type ClusterLevelAttribute ¶
type ClusterLevelAttribute struct { // Cluster model Name *string `json:"Name,omitnil,omitempty" name:"Name"` // Model name Alias *string `json:"Alias,omitnil,omitempty" name:"Alias"` // Number of nodes NodeCount *uint64 `json:"NodeCount,omitnil,omitempty" name:"NodeCount"` // Number of Pods PodCount *uint64 `json:"PodCount,omitnil,omitempty" name:"PodCount"` // Number of ConfigMap ConfigMapCount *uint64 `json:"ConfigMapCount,omitnil,omitempty" name:"ConfigMapCount"` // Number of ReplicaSets RSCount *uint64 `json:"RSCount,omitnil,omitempty" name:"RSCount"` // Number of CRDs CRDCount *uint64 `json:"CRDCount,omitnil,omitempty" name:"CRDCount"` // Whether it is enabled Enable *bool `json:"Enable,omitnil,omitempty" name:"Enable"` // Number of other resources // Note: This field may return `null`, indicating that no valid values can be obtained. OtherCount *uint64 `json:"OtherCount,omitnil,omitempty" name:"OtherCount"` }
type ClusterLevelChangeRecord ¶
type ClusterLevelChangeRecord struct { // Record ID ID *string `json:"ID,omitnil,omitempty" name:"ID"` // Cluster ID ClusterID *string `json:"ClusterID,omitnil,omitempty" name:"ClusterID"` // Status (valid values: `trading`, `upgrading`, `success`, `failed`) Status *string `json:"Status,omitnil,omitempty" name:"Status"` // Status description Message *string `json:"Message,omitnil,omitempty" name:"Message"` // Original model OldLevel *string `json:"OldLevel,omitnil,omitempty" name:"OldLevel"` // New model NewLevel *string `json:"NewLevel,omitnil,omitempty" name:"NewLevel"` // Trigger type (valid values: `manual`, `auto`) TriggerType *string `json:"TriggerType,omitnil,omitempty" name:"TriggerType"` // Creation time CreatedAt *string `json:"CreatedAt,omitnil,omitempty" name:"CreatedAt"` // Start time StartedAt *string `json:"StartedAt,omitnil,omitempty" name:"StartedAt"` // End time EndedAt *string `json:"EndedAt,omitnil,omitempty" name:"EndedAt"` }
type ClusterNetworkSettings ¶
type ClusterNetworkSettings struct { // CIDR used to assign container and service IPs for the cluster. It cannot conflict with the VPC's CIDR or the CIDRs of other clusters in the same VPC. ClusterCIDR *string `json:"ClusterCIDR,omitnil,omitempty" name:"ClusterCIDR"` // Whether to ignore ClusterCIDR conflict errors. It defaults to not ignore. IgnoreClusterCIDRConflict *bool `json:"IgnoreClusterCIDRConflict,omitnil,omitempty" name:"IgnoreClusterCIDRConflict"` // Maximum number of pods on each node in the cluster. Default value: 256 MaxNodePodNum *uint64 `json:"MaxNodePodNum,omitnil,omitempty" name:"MaxNodePodNum"` // Maximum number of cluster services. Default value: 256 MaxClusterServiceNum *uint64 `json:"MaxClusterServiceNum,omitnil,omitempty" name:"MaxClusterServiceNum"` // Whether IPVS is enabled. Default value: disabled Ipvs *bool `json:"Ipvs,omitnil,omitempty" name:"Ipvs"` // Cluster VPC ID, which is required when you create an empty cluster; otherwise, it is automatically set to be consistent with that of the nodes in the cluster VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"` // Whether CNI is enabled for network plugin(s). Default value: enabled Cni *bool `json:"Cni,omitnil,omitempty" name:"Cni"` // The network mode of service. This parameter is only applicable to ipvs+bpf mode. // Note: this field may return `null`, indicating that no valid value can be obtained. KubeProxyMode *string `json:"KubeProxyMode,omitnil,omitempty" name:"KubeProxyMode"` // The IP range for service assignment. It cannot conflict with the VPC’s CIDR block nor the CIDR blocks of other clusters in the same VPC. // Note: this field may return `null`, indicating that no valid value can be obtained. ServiceCIDR *string `json:"ServiceCIDR,omitnil,omitempty" name:"ServiceCIDR"` // The container subnet associated with the cluster // Note: this field may return `null`, indicating that no valid value can be obtained. Subnets []*string `json:"Subnets,omitnil,omitempty" name:"Subnets"` // Whether to ignore ServiceCIDR conflict errors. It is only valid in VPC-CNI mode. Default value: `false`. // Note: This field may return `null`, indicating that no valid value can be obtained. IgnoreServiceCIDRConflict *bool `json:"IgnoreServiceCIDRConflict,omitnil,omitempty" name:"IgnoreServiceCIDRConflict"` // Whether it is a dual-stack cluster in VPC-CNI mode. Default value: `false`, which indicates it is not a dual-stack cluster. // Note: This field may return `null`, indicating that no valid value can be obtained. IsDualStack *bool `json:"IsDualStack,omitnil,omitempty" name:"IsDualStack"` // It is used to automatically assign the IP ranges for the service. // Note: This field may return `null`, indicating that no valid value can be obtained. Ipv6ServiceCIDR *string `json:"Ipv6ServiceCIDR,omitnil,omitempty" name:"Ipv6ServiceCIDR"` // Cluster Cilium Mode configuration // - clusterIP // Note: This field may return `null`, indicating that no valid value can be obtained. CiliumMode *string `json:"CiliumMode,omitnil,omitempty" name:"CiliumMode"` }
type ClusterStatus ¶
type ClusterStatus struct { // Cluster ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // Cluster status ClusterState *string `json:"ClusterState,omitnil,omitempty" name:"ClusterState"` // Status of nodes in the cluster ClusterInstanceState *string `json:"ClusterInstanceState,omitnil,omitempty" name:"ClusterInstanceState"` // Indicates whether the monitoring service is enabled for the cluster ClusterBMonitor *bool `json:"ClusterBMonitor,omitnil,omitempty" name:"ClusterBMonitor"` // Number of cluster nodes being created. "-1" indicates that the request to obtain the node status timed out. "-2" indicates that the request failed. ClusterInitNodeNum *int64 `json:"ClusterInitNodeNum,omitnil,omitempty" name:"ClusterInitNodeNum"` // Number of running nodes in the cluster. "-1" indicates that the request to obtain the node status timed out. "-2" indicates that the request failed. ClusterRunningNodeNum *int64 `json:"ClusterRunningNodeNum,omitnil,omitempty" name:"ClusterRunningNodeNum"` // Number of abnormal nodes in the cluster. "-1" indicates that the request to obtain the node status timed out. "-2" indicates that the request failed. ClusterFailedNodeNum *int64 `json:"ClusterFailedNodeNum,omitnil,omitempty" name:"ClusterFailedNodeNum"` // Number of shutdown nodes in the cluster. "-1" indicates that the request to obtain the node status timed out. "-2" indicates that the request failed. // Note: this field may return `null`, indicating that no valid value can be found. ClusterClosedNodeNum *int64 `json:"ClusterClosedNodeNum,omitnil,omitempty" name:"ClusterClosedNodeNum"` // Number of nodes being shut down in the cluster. "-1" indicates that the request to obtain the node status timed out. "-2" indicates that the request failed. // Note: this field may return `null`, indicating that no valid value can be found. ClusterClosingNodeNum *int64 `json:"ClusterClosingNodeNum,omitnil,omitempty" name:"ClusterClosingNodeNum"` // Indicates whether to enable cluster deletion protection // Note: this field may return `null`, indicating that no valid value can be found. ClusterDeletionProtection *bool `json:"ClusterDeletionProtection,omitnil,omitempty" name:"ClusterDeletionProtection"` // Indicates whether the cluster is auditable // Note: this field may return `null`, indicating that no valid value can be found. ClusterAuditEnabled *bool `json:"ClusterAuditEnabled,omitnil,omitempty" name:"ClusterAuditEnabled"` }
type ClusterVersion ¶
type CommonName ¶
type CreateBackupStorageLocationRequest ¶
type CreateBackupStorageLocationRequest struct { *tchttp.BaseRequest // Repository region, such as `ap-guangzhou` StorageRegion *string `json:"StorageRegion,omitnil,omitempty" name:"StorageRegion"` // COS bucket name. For COS storage type, it must start with the prefix `tke-backup`. Bucket *string `json:"Bucket,omitnil,omitempty" name:"Bucket"` // Backup repository name Name *string `json:"Name,omitnil,omitempty" name:"Name"` // The provider of storage service. It defaults to Tencent Cloud. Provider *string `json:"Provider,omitnil,omitempty" name:"Provider"` // COS bucket path Path *string `json:"Path,omitnil,omitempty" name:"Path"` }
func NewCreateBackupStorageLocationRequest ¶
func NewCreateBackupStorageLocationRequest() (request *CreateBackupStorageLocationRequest)
func (*CreateBackupStorageLocationRequest) FromJsonString ¶
func (r *CreateBackupStorageLocationRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateBackupStorageLocationRequest) ToJsonString ¶
func (r *CreateBackupStorageLocationRequest) ToJsonString() string
type CreateBackupStorageLocationRequestParams ¶
type CreateBackupStorageLocationRequestParams struct { // Repository region, such as `ap-guangzhou` StorageRegion *string `json:"StorageRegion,omitnil,omitempty" name:"StorageRegion"` // COS bucket name. For COS storage type, it must start with the prefix `tke-backup`. Bucket *string `json:"Bucket,omitnil,omitempty" name:"Bucket"` // Backup repository name Name *string `json:"Name,omitnil,omitempty" name:"Name"` // The provider of storage service. It defaults to Tencent Cloud. Provider *string `json:"Provider,omitnil,omitempty" name:"Provider"` // COS bucket path Path *string `json:"Path,omitnil,omitempty" name:"Path"` }
Predefined struct for user
type CreateBackupStorageLocationResponse ¶
type CreateBackupStorageLocationResponse struct { *tchttp.BaseResponse Response *CreateBackupStorageLocationResponseParams `json:"Response"` }
func NewCreateBackupStorageLocationResponse ¶
func NewCreateBackupStorageLocationResponse() (response *CreateBackupStorageLocationResponse)
func (*CreateBackupStorageLocationResponse) FromJsonString ¶
func (r *CreateBackupStorageLocationResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateBackupStorageLocationResponse) ToJsonString ¶
func (r *CreateBackupStorageLocationResponse) ToJsonString() string
type CreateBackupStorageLocationResponseParams ¶
type CreateBackupStorageLocationResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateClusterEndpointRequest ¶
type CreateClusterEndpointRequest struct { *tchttp.BaseRequest // Cluster ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // The ID of the subnet where the cluster's port is located (only needs to be entered when the non-public network access is enabled, and must be within the subnet of the cluster's VPC). SubnetId *string `json:"SubnetId,omitnil,omitempty" name:"SubnetId"` // Whether public network access is enabled or not (True = public network access, FALSE = private network access, with the default value as FALSE). IsExtranet *bool `json:"IsExtranet,omitnil,omitempty" name:"IsExtranet"` // The domain name Domain *string `json:"Domain,omitnil,omitempty" name:"Domain"` // The security group in use, which must be passed in when public access is enabled. SecurityGroup *string `json:"SecurityGroup,omitnil,omitempty" name:"SecurityGroup"` // LB parameters in a JSON string. It is only required for public network access: {"InternetAccessible":{"InternetChargeType":"TRAFFIC_POSTPAID_BY_HOUR","InternetMaxBandwidthOut":200},"VipIsp":"","BandwidthPackageId":""}. // Description of parameters: // `InternetAccessible.InternetChargeType`: `TRAFFIC_POSTPAID_BY_HOUR` (Pay-as-you-go by traffic on an hourly basis); `BANDWIDTH_POSTPAID_BY_HOUR` (Pay-as-you-go by bandwidth on an hourly basis); `InternetAccessible.BANDWIDTH_PACKAGE` (Bill-by-bandwidth package). // `InternetMaxBandwidthOut`: Outbound bandwidth cap in Mbps. Value range: 0 - 2048. Default value: 10. // `VipIsp`: `CMCC` (China Mobile), `CTCC`·(China Telecom) and `CUCC` (China Unicom). If it is not specified, BGP line is used by default. To query ISPs available in a region, call `DescribeSingleIsp`. If this parameter is specified, the network billing mode must be `BANDWIDTH_PACKAGE`. // `BandwidthPackageId`: Bandwidth package ID. If this parameter is specified, only `BANDWIDTH_PACKAGE` is supported for `InternetAccessible.InternetChargeType`. ExtensiveParameters *string `json:"ExtensiveParameters,omitnil,omitempty" name:"ExtensiveParameters"` }
func NewCreateClusterEndpointRequest ¶
func NewCreateClusterEndpointRequest() (request *CreateClusterEndpointRequest)
func (*CreateClusterEndpointRequest) FromJsonString ¶
func (r *CreateClusterEndpointRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateClusterEndpointRequest) ToJsonString ¶
func (r *CreateClusterEndpointRequest) ToJsonString() string
type CreateClusterEndpointRequestParams ¶
type CreateClusterEndpointRequestParams struct { // Cluster ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // The ID of the subnet where the cluster's port is located (only needs to be entered when the non-public network access is enabled, and must be within the subnet of the cluster's VPC). SubnetId *string `json:"SubnetId,omitnil,omitempty" name:"SubnetId"` // Whether public network access is enabled or not (True = public network access, FALSE = private network access, with the default value as FALSE). IsExtranet *bool `json:"IsExtranet,omitnil,omitempty" name:"IsExtranet"` // The domain name Domain *string `json:"Domain,omitnil,omitempty" name:"Domain"` // The security group in use, which must be passed in when public access is enabled. SecurityGroup *string `json:"SecurityGroup,omitnil,omitempty" name:"SecurityGroup"` // LB parameters in a JSON string. It is only required for public network access: {"InternetAccessible":{"InternetChargeType":"TRAFFIC_POSTPAID_BY_HOUR","InternetMaxBandwidthOut":200},"VipIsp":"","BandwidthPackageId":""}. // Description of parameters: // `InternetAccessible.InternetChargeType`: `TRAFFIC_POSTPAID_BY_HOUR` (Pay-as-you-go by traffic on an hourly basis); `BANDWIDTH_POSTPAID_BY_HOUR` (Pay-as-you-go by bandwidth on an hourly basis); `InternetAccessible.BANDWIDTH_PACKAGE` (Bill-by-bandwidth package). // `InternetMaxBandwidthOut`: Outbound bandwidth cap in Mbps. Value range: 0 - 2048. Default value: 10. // `VipIsp`: `CMCC` (China Mobile), `CTCC`·(China Telecom) and `CUCC` (China Unicom). If it is not specified, BGP line is used by default. To query ISPs available in a region, call `DescribeSingleIsp`. If this parameter is specified, the network billing mode must be `BANDWIDTH_PACKAGE`. // `BandwidthPackageId`: Bandwidth package ID. If this parameter is specified, only `BANDWIDTH_PACKAGE` is supported for `InternetAccessible.InternetChargeType`. ExtensiveParameters *string `json:"ExtensiveParameters,omitnil,omitempty" name:"ExtensiveParameters"` }
Predefined struct for user
type CreateClusterEndpointResponse ¶
type CreateClusterEndpointResponse struct { *tchttp.BaseResponse Response *CreateClusterEndpointResponseParams `json:"Response"` }
func NewCreateClusterEndpointResponse ¶
func NewCreateClusterEndpointResponse() (response *CreateClusterEndpointResponse)
func (*CreateClusterEndpointResponse) FromJsonString ¶
func (r *CreateClusterEndpointResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateClusterEndpointResponse) ToJsonString ¶
func (r *CreateClusterEndpointResponse) ToJsonString() string
type CreateClusterEndpointResponseParams ¶
type CreateClusterEndpointResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateClusterEndpointVipRequest ¶
type CreateClusterEndpointVipRequest struct { *tchttp.BaseRequest // Cluster ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // Security policy opens single IP or CIDR to the Internet (for example: '192.168.1.0/24', with 'reject all' as the default). SecurityPolicies []*string `json:"SecurityPolicies,omitnil,omitempty" name:"SecurityPolicies"` }
func NewCreateClusterEndpointVipRequest ¶
func NewCreateClusterEndpointVipRequest() (request *CreateClusterEndpointVipRequest)
func (*CreateClusterEndpointVipRequest) FromJsonString ¶
func (r *CreateClusterEndpointVipRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateClusterEndpointVipRequest) ToJsonString ¶
func (r *CreateClusterEndpointVipRequest) ToJsonString() string
type CreateClusterEndpointVipRequestParams ¶
type CreateClusterEndpointVipRequestParams struct { // Cluster ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // Security policy opens single IP or CIDR to the Internet (for example: '192.168.1.0/24', with 'reject all' as the default). SecurityPolicies []*string `json:"SecurityPolicies,omitnil,omitempty" name:"SecurityPolicies"` }
Predefined struct for user
type CreateClusterEndpointVipResponse ¶
type CreateClusterEndpointVipResponse struct { *tchttp.BaseResponse Response *CreateClusterEndpointVipResponseParams `json:"Response"` }
func NewCreateClusterEndpointVipResponse ¶
func NewCreateClusterEndpointVipResponse() (response *CreateClusterEndpointVipResponse)
func (*CreateClusterEndpointVipResponse) FromJsonString ¶
func (r *CreateClusterEndpointVipResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateClusterEndpointVipResponse) ToJsonString ¶
func (r *CreateClusterEndpointVipResponse) ToJsonString() string
type CreateClusterEndpointVipResponseParams ¶
type CreateClusterEndpointVipResponseParams struct { // Request job's FlowId RequestFlowId *int64 `json:"RequestFlowId,omitnil,omitempty" name:"RequestFlowId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateClusterInstancesRequest ¶
type CreateClusterInstancesRequest struct { *tchttp.BaseRequest // Cluster ID. Enter the ClusterId field returned by the DescribeClusters API ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // Pass-through parameter for CVM creation in the format of a JSON string. To ensure the idempotence of requests for adding cluster nodes, you need to add the ClientToken field in this parameter. For more information, see the documentation for [RunInstances](https://intl.cloud.tencent.com/document/product/213/15730?from_cn_redirect=1) API. RunInstancePara *string `json:"RunInstancePara,omitnil,omitempty" name:"RunInstancePara"` // Additional parameter to be set for the instance InstanceAdvancedSettings *InstanceAdvancedSettings `json:"InstanceAdvancedSettings,omitnil,omitempty" name:"InstanceAdvancedSettings"` // Skips the specified verification. Valid values: GlobalRouteCIDRCheck, VpcCniCIDRCheck SkipValidateOptions []*string `json:"SkipValidateOptions,omitnil,omitempty" name:"SkipValidateOptions"` }
func NewCreateClusterInstancesRequest ¶
func NewCreateClusterInstancesRequest() (request *CreateClusterInstancesRequest)
func (*CreateClusterInstancesRequest) FromJsonString ¶
func (r *CreateClusterInstancesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateClusterInstancesRequest) ToJsonString ¶
func (r *CreateClusterInstancesRequest) ToJsonString() string
type CreateClusterInstancesRequestParams ¶
type CreateClusterInstancesRequestParams struct { // Cluster ID. Enter the ClusterId field returned by the DescribeClusters API ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // Pass-through parameter for CVM creation in the format of a JSON string. To ensure the idempotence of requests for adding cluster nodes, you need to add the ClientToken field in this parameter. For more information, see the documentation for [RunInstances](https://intl.cloud.tencent.com/document/product/213/15730?from_cn_redirect=1) API. RunInstancePara *string `json:"RunInstancePara,omitnil,omitempty" name:"RunInstancePara"` // Additional parameter to be set for the instance InstanceAdvancedSettings *InstanceAdvancedSettings `json:"InstanceAdvancedSettings,omitnil,omitempty" name:"InstanceAdvancedSettings"` // Skips the specified verification. Valid values: GlobalRouteCIDRCheck, VpcCniCIDRCheck SkipValidateOptions []*string `json:"SkipValidateOptions,omitnil,omitempty" name:"SkipValidateOptions"` }
Predefined struct for user
type CreateClusterInstancesResponse ¶
type CreateClusterInstancesResponse struct { *tchttp.BaseResponse Response *CreateClusterInstancesResponseParams `json:"Response"` }
func NewCreateClusterInstancesResponse ¶
func NewCreateClusterInstancesResponse() (response *CreateClusterInstancesResponse)
func (*CreateClusterInstancesResponse) FromJsonString ¶
func (r *CreateClusterInstancesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateClusterInstancesResponse) ToJsonString ¶
func (r *CreateClusterInstancesResponse) ToJsonString() string
type CreateClusterInstancesResponseParams ¶
type CreateClusterInstancesResponseParams struct { // Instance ID InstanceIdSet []*string `json:"InstanceIdSet,omitnil,omitempty" name:"InstanceIdSet"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateClusterNodePoolRequest ¶
type CreateClusterNodePoolRequest struct { *tchttp.BaseRequest // Cluster ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // AS group parameters. For details, see https://intl.cloud.tencent.com/document/product/377/20440?from_cn_redirect=1 AutoScalingGroupPara *string `json:"AutoScalingGroupPara,omitnil,omitempty" name:"AutoScalingGroupPara"` // Running parameters. For details, see https://intl.cloud.tencent.com/document/product/377/20447?from_cn_redirect=1 LaunchConfigurePara *string `json:"LaunchConfigurePara,omitnil,omitempty" name:"LaunchConfigurePara"` // Sample parameters InstanceAdvancedSettings *InstanceAdvancedSettings `json:"InstanceAdvancedSettings,omitnil,omitempty" name:"InstanceAdvancedSettings"` // Indicates whether to enable auto scaling EnableAutoscale *bool `json:"EnableAutoscale,omitnil,omitempty" name:"EnableAutoscale"` // Node pool name Name *string `json:"Name,omitnil,omitempty" name:"Name"` // Labels Labels []*Label `json:"Labels,omitnil,omitempty" name:"Labels"` // Taints Taints []*Taint `json:"Taints,omitnil,omitempty" name:"Taints"` // Node pool runtime type and version ContainerRuntime *string `json:"ContainerRuntime,omitnil,omitempty" name:"ContainerRuntime"` // Runtime version RuntimeVersion *string `json:"RuntimeVersion,omitnil,omitempty" name:"RuntimeVersion"` // Node pool operating system (enter the image ID for a custom image, and enter the OS name for a public image) NodePoolOs *string `json:"NodePoolOs,omitnil,omitempty" name:"NodePoolOs"` // Container image tag, `DOCKER_CUSTOMIZE` (container customized tag), `GENERAL` (general tag, default value) OsCustomizeType *string `json:"OsCustomizeType,omitnil,omitempty" name:"OsCustomizeType"` // Resource tag Tags []*Tag `json:"Tags,omitnil,omitempty" name:"Tags"` // Whether Deletion Protection is enabled DeletionProtection *bool `json:"DeletionProtection,omitnil,omitempty" name:"DeletionProtection"` }
func NewCreateClusterNodePoolRequest ¶
func NewCreateClusterNodePoolRequest() (request *CreateClusterNodePoolRequest)
func (*CreateClusterNodePoolRequest) FromJsonString ¶
func (r *CreateClusterNodePoolRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateClusterNodePoolRequest) ToJsonString ¶
func (r *CreateClusterNodePoolRequest) ToJsonString() string
type CreateClusterNodePoolRequestParams ¶
type CreateClusterNodePoolRequestParams struct { // Cluster ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // AS group parameters. For details, see https://intl.cloud.tencent.com/document/product/377/20440?from_cn_redirect=1 AutoScalingGroupPara *string `json:"AutoScalingGroupPara,omitnil,omitempty" name:"AutoScalingGroupPara"` // Running parameters. For details, see https://intl.cloud.tencent.com/document/product/377/20447?from_cn_redirect=1 LaunchConfigurePara *string `json:"LaunchConfigurePara,omitnil,omitempty" name:"LaunchConfigurePara"` // Sample parameters InstanceAdvancedSettings *InstanceAdvancedSettings `json:"InstanceAdvancedSettings,omitnil,omitempty" name:"InstanceAdvancedSettings"` // Indicates whether to enable auto scaling EnableAutoscale *bool `json:"EnableAutoscale,omitnil,omitempty" name:"EnableAutoscale"` // Node pool name Name *string `json:"Name,omitnil,omitempty" name:"Name"` // Labels Labels []*Label `json:"Labels,omitnil,omitempty" name:"Labels"` // Taints Taints []*Taint `json:"Taints,omitnil,omitempty" name:"Taints"` // Node pool runtime type and version ContainerRuntime *string `json:"ContainerRuntime,omitnil,omitempty" name:"ContainerRuntime"` // Runtime version RuntimeVersion *string `json:"RuntimeVersion,omitnil,omitempty" name:"RuntimeVersion"` // Node pool operating system (enter the image ID for a custom image, and enter the OS name for a public image) NodePoolOs *string `json:"NodePoolOs,omitnil,omitempty" name:"NodePoolOs"` // Container image tag, `DOCKER_CUSTOMIZE` (container customized tag), `GENERAL` (general tag, default value) OsCustomizeType *string `json:"OsCustomizeType,omitnil,omitempty" name:"OsCustomizeType"` // Resource tag Tags []*Tag `json:"Tags,omitnil,omitempty" name:"Tags"` // Whether Deletion Protection is enabled DeletionProtection *bool `json:"DeletionProtection,omitnil,omitempty" name:"DeletionProtection"` }
Predefined struct for user
type CreateClusterNodePoolResponse ¶
type CreateClusterNodePoolResponse struct { *tchttp.BaseResponse Response *CreateClusterNodePoolResponseParams `json:"Response"` }
func NewCreateClusterNodePoolResponse ¶
func NewCreateClusterNodePoolResponse() (response *CreateClusterNodePoolResponse)
func (*CreateClusterNodePoolResponse) FromJsonString ¶
func (r *CreateClusterNodePoolResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateClusterNodePoolResponse) ToJsonString ¶
func (r *CreateClusterNodePoolResponse) ToJsonString() string
type CreateClusterNodePoolResponseParams ¶
type CreateClusterNodePoolResponseParams struct { // Node pool ID NodePoolId *string `json:"NodePoolId,omitnil,omitempty" name:"NodePoolId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateClusterRequest ¶
type CreateClusterRequest struct { *tchttp.BaseRequest // Container networking configuration information for the cluster ClusterCIDRSettings *ClusterCIDRSettings `json:"ClusterCIDRSettings,omitnil,omitempty" name:"ClusterCIDRSettings"` // Cluster type. Managed cluster: MANAGED_CLUSTER; self-deployed cluster: INDEPENDENT_CLUSTER. ClusterType *string `json:"ClusterType,omitnil,omitempty" name:"ClusterType"` // Pass-through parameter for CVM creation in the format of a JSON string. For more information, see the API for [creating a CVM instance](https://intl.cloud.tencent.com/document/product/213/15730?from_cn_redirect=1). RunInstancesForNode []*RunInstancesForNode `json:"RunInstancesForNode,omitnil,omitempty" name:"RunInstancesForNode"` // Basic configuration information of the cluster ClusterBasicSettings *ClusterBasicSettings `json:"ClusterBasicSettings,omitnil,omitempty" name:"ClusterBasicSettings"` // Advanced configuration information of the cluster ClusterAdvancedSettings *ClusterAdvancedSettings `json:"ClusterAdvancedSettings,omitnil,omitempty" name:"ClusterAdvancedSettings"` // Advanced configuration information of the node InstanceAdvancedSettings *InstanceAdvancedSettings `json:"InstanceAdvancedSettings,omitnil,omitempty" name:"InstanceAdvancedSettings"` // The configuration information for existing instances. All instances must be in the same VPC. Up to 100 instances are allowed in one VPC. Spot instances are not supported. ExistedInstancesForNode []*ExistedInstancesForNode `json:"ExistedInstancesForNode,omitnil,omitempty" name:"ExistedInstancesForNode"` // CVM type and the corresponding data disk mounting configuration information. InstanceDataDiskMountSettings []*InstanceDataDiskMountSetting `json:"InstanceDataDiskMountSettings,omitnil,omitempty" name:"InstanceDataDiskMountSettings"` // Information of the add-on to be installed ExtensionAddons []*ExtensionAddon `json:"ExtensionAddons,omitnil,omitempty" name:"ExtensionAddons"` }
func NewCreateClusterRequest ¶
func NewCreateClusterRequest() (request *CreateClusterRequest)
func (*CreateClusterRequest) FromJsonString ¶
func (r *CreateClusterRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateClusterRequest) ToJsonString ¶
func (r *CreateClusterRequest) ToJsonString() string
type CreateClusterRequestParams ¶
type CreateClusterRequestParams struct { // Container networking configuration information for the cluster ClusterCIDRSettings *ClusterCIDRSettings `json:"ClusterCIDRSettings,omitnil,omitempty" name:"ClusterCIDRSettings"` // Cluster type. Managed cluster: MANAGED_CLUSTER; self-deployed cluster: INDEPENDENT_CLUSTER. ClusterType *string `json:"ClusterType,omitnil,omitempty" name:"ClusterType"` // Pass-through parameter for CVM creation in the format of a JSON string. For more information, see the API for [creating a CVM instance](https://intl.cloud.tencent.com/document/product/213/15730?from_cn_redirect=1). RunInstancesForNode []*RunInstancesForNode `json:"RunInstancesForNode,omitnil,omitempty" name:"RunInstancesForNode"` // Basic configuration information of the cluster ClusterBasicSettings *ClusterBasicSettings `json:"ClusterBasicSettings,omitnil,omitempty" name:"ClusterBasicSettings"` // Advanced configuration information of the cluster ClusterAdvancedSettings *ClusterAdvancedSettings `json:"ClusterAdvancedSettings,omitnil,omitempty" name:"ClusterAdvancedSettings"` // Advanced configuration information of the node InstanceAdvancedSettings *InstanceAdvancedSettings `json:"InstanceAdvancedSettings,omitnil,omitempty" name:"InstanceAdvancedSettings"` // The configuration information for existing instances. All instances must be in the same VPC. Up to 100 instances are allowed in one VPC. Spot instances are not supported. ExistedInstancesForNode []*ExistedInstancesForNode `json:"ExistedInstancesForNode,omitnil,omitempty" name:"ExistedInstancesForNode"` // CVM type and the corresponding data disk mounting configuration information. InstanceDataDiskMountSettings []*InstanceDataDiskMountSetting `json:"InstanceDataDiskMountSettings,omitnil,omitempty" name:"InstanceDataDiskMountSettings"` // Information of the add-on to be installed ExtensionAddons []*ExtensionAddon `json:"ExtensionAddons,omitnil,omitempty" name:"ExtensionAddons"` }
Predefined struct for user
type CreateClusterResponse ¶
type CreateClusterResponse struct { *tchttp.BaseResponse Response *CreateClusterResponseParams `json:"Response"` }
func NewCreateClusterResponse ¶
func NewCreateClusterResponse() (response *CreateClusterResponse)
func (*CreateClusterResponse) FromJsonString ¶
func (r *CreateClusterResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateClusterResponse) ToJsonString ¶
func (r *CreateClusterResponse) ToJsonString() string
type CreateClusterResponseParams ¶
type CreateClusterResponseParams struct { // Cluster ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateClusterRouteTableRequest ¶
type CreateClusterRouteTableRequest struct { *tchttp.BaseRequest // Route table name RouteTableName *string `json:"RouteTableName,omitnil,omitempty" name:"RouteTableName"` // Route table CIDR RouteTableCidrBlock *string `json:"RouteTableCidrBlock,omitnil,omitempty" name:"RouteTableCidrBlock"` // VPC bound to the route table VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"` // Whether to ignore CIDR conflicts IgnoreClusterCidrConflict *int64 `json:"IgnoreClusterCidrConflict,omitnil,omitempty" name:"IgnoreClusterCidrConflict"` }
func NewCreateClusterRouteTableRequest ¶
func NewCreateClusterRouteTableRequest() (request *CreateClusterRouteTableRequest)
func (*CreateClusterRouteTableRequest) FromJsonString ¶
func (r *CreateClusterRouteTableRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateClusterRouteTableRequest) ToJsonString ¶
func (r *CreateClusterRouteTableRequest) ToJsonString() string
type CreateClusterRouteTableRequestParams ¶
type CreateClusterRouteTableRequestParams struct { // Route table name RouteTableName *string `json:"RouteTableName,omitnil,omitempty" name:"RouteTableName"` // Route table CIDR RouteTableCidrBlock *string `json:"RouteTableCidrBlock,omitnil,omitempty" name:"RouteTableCidrBlock"` // VPC bound to the route table VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"` // Whether to ignore CIDR conflicts IgnoreClusterCidrConflict *int64 `json:"IgnoreClusterCidrConflict,omitnil,omitempty" name:"IgnoreClusterCidrConflict"` }
Predefined struct for user
type CreateClusterRouteTableResponse ¶
type CreateClusterRouteTableResponse struct { *tchttp.BaseResponse Response *CreateClusterRouteTableResponseParams `json:"Response"` }
func NewCreateClusterRouteTableResponse ¶
func NewCreateClusterRouteTableResponse() (response *CreateClusterRouteTableResponse)
func (*CreateClusterRouteTableResponse) FromJsonString ¶
func (r *CreateClusterRouteTableResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateClusterRouteTableResponse) ToJsonString ¶
func (r *CreateClusterRouteTableResponse) ToJsonString() string
type CreateClusterRouteTableResponseParams ¶
type CreateClusterRouteTableResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateClusterVirtualNodePoolRequest ¶
type CreateClusterVirtualNodePoolRequest struct { *tchttp.BaseRequest // Cluster ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // Node pool name Name *string `json:"Name,omitnil,omitempty" name:"Name"` // List of subnet IDs SubnetIds []*string `json:"SubnetIds,omitnil,omitempty" name:"SubnetIds"` // List of security group IDs SecurityGroupIds []*string `json:"SecurityGroupIds,omitnil,omitempty" name:"SecurityGroupIds"` // Virtual node labels Labels []*Label `json:"Labels,omitnil,omitempty" name:"Labels"` // Virtual node taint Taints []*Taint `json:"Taints,omitnil,omitempty" name:"Taints"` // List of nodes VirtualNodes []*VirtualNodeSpec `json:"VirtualNodes,omitnil,omitempty" name:"VirtualNodes"` // Setting of deletion protection DeletionProtection *bool `json:"DeletionProtection,omitnil,omitempty" name:"DeletionProtection"` // Node pool OS: // - `linux` (default value) // - `windows` OS *string `json:"OS,omitnil,omitempty" name:"OS"` }
func NewCreateClusterVirtualNodePoolRequest ¶
func NewCreateClusterVirtualNodePoolRequest() (request *CreateClusterVirtualNodePoolRequest)
func (*CreateClusterVirtualNodePoolRequest) FromJsonString ¶
func (r *CreateClusterVirtualNodePoolRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateClusterVirtualNodePoolRequest) ToJsonString ¶
func (r *CreateClusterVirtualNodePoolRequest) ToJsonString() string
type CreateClusterVirtualNodePoolRequestParams ¶
type CreateClusterVirtualNodePoolRequestParams struct { // Cluster ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // Node pool name Name *string `json:"Name,omitnil,omitempty" name:"Name"` // List of subnet IDs SubnetIds []*string `json:"SubnetIds,omitnil,omitempty" name:"SubnetIds"` // List of security group IDs SecurityGroupIds []*string `json:"SecurityGroupIds,omitnil,omitempty" name:"SecurityGroupIds"` // Virtual node labels Labels []*Label `json:"Labels,omitnil,omitempty" name:"Labels"` // Virtual node taint Taints []*Taint `json:"Taints,omitnil,omitempty" name:"Taints"` // List of nodes VirtualNodes []*VirtualNodeSpec `json:"VirtualNodes,omitnil,omitempty" name:"VirtualNodes"` // Setting of deletion protection DeletionProtection *bool `json:"DeletionProtection,omitnil,omitempty" name:"DeletionProtection"` // Node pool OS: // - `linux` (default value) // - `windows` OS *string `json:"OS,omitnil,omitempty" name:"OS"` }
Predefined struct for user
type CreateClusterVirtualNodePoolResponse ¶
type CreateClusterVirtualNodePoolResponse struct { *tchttp.BaseResponse Response *CreateClusterVirtualNodePoolResponseParams `json:"Response"` }
func NewCreateClusterVirtualNodePoolResponse ¶
func NewCreateClusterVirtualNodePoolResponse() (response *CreateClusterVirtualNodePoolResponse)
func (*CreateClusterVirtualNodePoolResponse) FromJsonString ¶
func (r *CreateClusterVirtualNodePoolResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateClusterVirtualNodePoolResponse) ToJsonString ¶
func (r *CreateClusterVirtualNodePoolResponse) ToJsonString() string
type CreateClusterVirtualNodePoolResponseParams ¶
type CreateClusterVirtualNodePoolResponseParams struct { // Node pool ID NodePoolId *string `json:"NodePoolId,omitnil,omitempty" name:"NodePoolId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateClusterVirtualNodeRequest ¶
type CreateClusterVirtualNodeRequest struct { *tchttp.BaseRequest // Cluster ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // Node pool NodePoolId *string `json:"NodePoolId,omitnil,omitempty" name:"NodePoolId"` // Subnet SubnetId *string `json:"SubnetId,omitnil,omitempty" name:"SubnetId"` // List of subnet IDs (this parameter and `SubnetId` are mutually exclusive) SubnetIds []*string `json:"SubnetIds,omitnil,omitempty" name:"SubnetIds"` // List of virtual nodes VirtualNodes []*VirtualNodeSpec `json:"VirtualNodes,omitnil,omitempty" name:"VirtualNodes"` }
func NewCreateClusterVirtualNodeRequest ¶
func NewCreateClusterVirtualNodeRequest() (request *CreateClusterVirtualNodeRequest)
func (*CreateClusterVirtualNodeRequest) FromJsonString ¶
func (r *CreateClusterVirtualNodeRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateClusterVirtualNodeRequest) ToJsonString ¶
func (r *CreateClusterVirtualNodeRequest) ToJsonString() string
type CreateClusterVirtualNodeRequestParams ¶
type CreateClusterVirtualNodeRequestParams struct { // Cluster ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // Node pool NodePoolId *string `json:"NodePoolId,omitnil,omitempty" name:"NodePoolId"` // Subnet SubnetId *string `json:"SubnetId,omitnil,omitempty" name:"SubnetId"` // List of subnet IDs (this parameter and `SubnetId` are mutually exclusive) SubnetIds []*string `json:"SubnetIds,omitnil,omitempty" name:"SubnetIds"` // List of virtual nodes VirtualNodes []*VirtualNodeSpec `json:"VirtualNodes,omitnil,omitempty" name:"VirtualNodes"` }
Predefined struct for user
type CreateClusterVirtualNodeResponse ¶
type CreateClusterVirtualNodeResponse struct { *tchttp.BaseResponse Response *CreateClusterVirtualNodeResponseParams `json:"Response"` }
func NewCreateClusterVirtualNodeResponse ¶
func NewCreateClusterVirtualNodeResponse() (response *CreateClusterVirtualNodeResponse)
func (*CreateClusterVirtualNodeResponse) FromJsonString ¶
func (r *CreateClusterVirtualNodeResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateClusterVirtualNodeResponse) ToJsonString ¶
func (r *CreateClusterVirtualNodeResponse) ToJsonString() string
type CreateClusterVirtualNodeResponseParams ¶
type CreateClusterVirtualNodeResponseParams struct { // Virtual node name NodeName *string `json:"NodeName,omitnil,omitempty" name:"NodeName"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateECMInstancesRequest ¶
type CreateECMInstancesRequest struct { *tchttp.BaseRequest // Cluster ID ClusterID *string `json:"ClusterID,omitnil,omitempty" name:"ClusterID"` // Module ID ModuleId *string `json:"ModuleId,omitnil,omitempty" name:"ModuleId"` // Instance AZ, number of instances and ISP ZoneInstanceCountISPSet []*ECMZoneInstanceCountISP `json:"ZoneInstanceCountISPSet,omitnil,omitempty" name:"ZoneInstanceCountISPSet"` // Password Password *string `json:"Password,omitnil,omitempty" name:"Password"` // Public network bandwidth InternetMaxBandwidthOut *int64 `json:"InternetMaxBandwidthOut,omitnil,omitempty" name:"InternetMaxBandwidthOut"` // Image ID ImageId *string `json:"ImageId,omitnil,omitempty" name:"ImageId"` // Instance name InstanceName *string `json:"InstanceName,omitnil,omitempty" name:"InstanceName"` // Host name HostName *string `json:"HostName,omitnil,omitempty" name:"HostName"` // Enhanced service (including CWP and Cloud Monitoring) EnhancedService *ECMEnhancedService `json:"EnhancedService,omitnil,omitempty" name:"EnhancedService"` // Custom script UserData *string `json:"UserData,omitnil,omitempty" name:"UserData"` // Instance extension information External *string `json:"External,omitnil,omitempty" name:"External"` // Security group of the instance SecurityGroupIds []*string `json:"SecurityGroupIds,omitnil,omitempty" name:"SecurityGroupIds"` }
func NewCreateECMInstancesRequest ¶
func NewCreateECMInstancesRequest() (request *CreateECMInstancesRequest)
func (*CreateECMInstancesRequest) FromJsonString ¶
func (r *CreateECMInstancesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateECMInstancesRequest) ToJsonString ¶
func (r *CreateECMInstancesRequest) ToJsonString() string
type CreateECMInstancesRequestParams ¶
type CreateECMInstancesRequestParams struct { // Cluster ID ClusterID *string `json:"ClusterID,omitnil,omitempty" name:"ClusterID"` // Module ID ModuleId *string `json:"ModuleId,omitnil,omitempty" name:"ModuleId"` // Instance AZ, number of instances and ISP ZoneInstanceCountISPSet []*ECMZoneInstanceCountISP `json:"ZoneInstanceCountISPSet,omitnil,omitempty" name:"ZoneInstanceCountISPSet"` // Password Password *string `json:"Password,omitnil,omitempty" name:"Password"` // Public network bandwidth InternetMaxBandwidthOut *int64 `json:"InternetMaxBandwidthOut,omitnil,omitempty" name:"InternetMaxBandwidthOut"` // Image ID ImageId *string `json:"ImageId,omitnil,omitempty" name:"ImageId"` // Instance name InstanceName *string `json:"InstanceName,omitnil,omitempty" name:"InstanceName"` // Host name HostName *string `json:"HostName,omitnil,omitempty" name:"HostName"` // Enhanced service (including CWP and Cloud Monitoring) EnhancedService *ECMEnhancedService `json:"EnhancedService,omitnil,omitempty" name:"EnhancedService"` // Custom script UserData *string `json:"UserData,omitnil,omitempty" name:"UserData"` // Instance extension information External *string `json:"External,omitnil,omitempty" name:"External"` // Security group of the instance SecurityGroupIds []*string `json:"SecurityGroupIds,omitnil,omitempty" name:"SecurityGroupIds"` }
Predefined struct for user
type CreateECMInstancesResponse ¶
type CreateECMInstancesResponse struct { *tchttp.BaseResponse Response *CreateECMInstancesResponseParams `json:"Response"` }
func NewCreateECMInstancesResponse ¶
func NewCreateECMInstancesResponse() (response *CreateECMInstancesResponse)
func (*CreateECMInstancesResponse) FromJsonString ¶
func (r *CreateECMInstancesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateECMInstancesResponse) ToJsonString ¶
func (r *CreateECMInstancesResponse) ToJsonString() string
type CreateECMInstancesResponseParams ¶
type CreateECMInstancesResponseParams struct { // ECM ID list EcmIdSet []*string `json:"EcmIdSet,omitnil,omitempty" name:"EcmIdSet"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateEdgeCVMInstancesRequest ¶
type CreateEdgeCVMInstancesRequest struct { *tchttp.BaseRequest // Cluster ID ClusterID *string `json:"ClusterID,omitnil,omitempty" name:"ClusterID"` // Pass-through parameter for CVM creation in the format of a JSON string. To ensure the idempotency of requests for adding cluster nodes, you need to add the `ClientToken` field in this parameter. For more information, see the documentation for [RunInstances](https://intl.cloud.tencent.com/document/product/213/15730?from_cn_redirect=1) API. RunInstancePara *string `json:"RunInstancePara,omitnil,omitempty" name:"RunInstancePara"` // Region of the CVM instances to create CvmRegion *string `json:"CvmRegion,omitnil,omitempty" name:"CvmRegion"` // Quantity of CVM instances to create CvmCount *int64 `json:"CvmCount,omitnil,omitempty" name:"CvmCount"` // Instance extension information External *string `json:"External,omitnil,omitempty" name:"External"` // Custom script UserScript *string `json:"UserScript,omitnil,omitempty" name:"UserScript"` // Whether to enable ENI EnableEni *bool `json:"EnableEni,omitnil,omitempty" name:"EnableEni"` }
func NewCreateEdgeCVMInstancesRequest ¶
func NewCreateEdgeCVMInstancesRequest() (request *CreateEdgeCVMInstancesRequest)
func (*CreateEdgeCVMInstancesRequest) FromJsonString ¶
func (r *CreateEdgeCVMInstancesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateEdgeCVMInstancesRequest) ToJsonString ¶
func (r *CreateEdgeCVMInstancesRequest) ToJsonString() string
type CreateEdgeCVMInstancesRequestParams ¶
type CreateEdgeCVMInstancesRequestParams struct { // Cluster ID ClusterID *string `json:"ClusterID,omitnil,omitempty" name:"ClusterID"` // Pass-through parameter for CVM creation in the format of a JSON string. To ensure the idempotency of requests for adding cluster nodes, you need to add the `ClientToken` field in this parameter. For more information, see the documentation for [RunInstances](https://intl.cloud.tencent.com/document/product/213/15730?from_cn_redirect=1) API. RunInstancePara *string `json:"RunInstancePara,omitnil,omitempty" name:"RunInstancePara"` // Region of the CVM instances to create CvmRegion *string `json:"CvmRegion,omitnil,omitempty" name:"CvmRegion"` // Quantity of CVM instances to create CvmCount *int64 `json:"CvmCount,omitnil,omitempty" name:"CvmCount"` // Instance extension information External *string `json:"External,omitnil,omitempty" name:"External"` // Custom script UserScript *string `json:"UserScript,omitnil,omitempty" name:"UserScript"` // Whether to enable ENI EnableEni *bool `json:"EnableEni,omitnil,omitempty" name:"EnableEni"` }
Predefined struct for user
type CreateEdgeCVMInstancesResponse ¶
type CreateEdgeCVMInstancesResponse struct { *tchttp.BaseResponse Response *CreateEdgeCVMInstancesResponseParams `json:"Response"` }
func NewCreateEdgeCVMInstancesResponse ¶
func NewCreateEdgeCVMInstancesResponse() (response *CreateEdgeCVMInstancesResponse)
func (*CreateEdgeCVMInstancesResponse) FromJsonString ¶
func (r *CreateEdgeCVMInstancesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateEdgeCVMInstancesResponse) ToJsonString ¶
func (r *CreateEdgeCVMInstancesResponse) ToJsonString() string
type CreateEdgeCVMInstancesResponseParams ¶
type CreateEdgeCVMInstancesResponseParams struct { // List of CVM IDs CvmIdSet []*string `json:"CvmIdSet,omitnil,omitempty" name:"CvmIdSet"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateEdgeLogConfigRequest ¶
type CreateEdgeLogConfigRequest struct { *tchttp.BaseRequest // Cluster ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // Log collection configuration in json form LogConfig *string `json:"LogConfig,omitnil,omitempty" name:"LogConfig"` // CLS logset ID LogsetId *string `json:"LogsetId,omitnil,omitempty" name:"LogsetId"` }
func NewCreateEdgeLogConfigRequest ¶
func NewCreateEdgeLogConfigRequest() (request *CreateEdgeLogConfigRequest)
func (*CreateEdgeLogConfigRequest) FromJsonString ¶
func (r *CreateEdgeLogConfigRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateEdgeLogConfigRequest) ToJsonString ¶
func (r *CreateEdgeLogConfigRequest) ToJsonString() string
type CreateEdgeLogConfigRequestParams ¶
type CreateEdgeLogConfigRequestParams struct { // Cluster ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // Log collection configuration in json form LogConfig *string `json:"LogConfig,omitnil,omitempty" name:"LogConfig"` // CLS logset ID LogsetId *string `json:"LogsetId,omitnil,omitempty" name:"LogsetId"` }
Predefined struct for user
type CreateEdgeLogConfigResponse ¶
type CreateEdgeLogConfigResponse struct { *tchttp.BaseResponse Response *CreateEdgeLogConfigResponseParams `json:"Response"` }
func NewCreateEdgeLogConfigResponse ¶
func NewCreateEdgeLogConfigResponse() (response *CreateEdgeLogConfigResponse)
func (*CreateEdgeLogConfigResponse) FromJsonString ¶
func (r *CreateEdgeLogConfigResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateEdgeLogConfigResponse) ToJsonString ¶
func (r *CreateEdgeLogConfigResponse) ToJsonString() string
type CreateEdgeLogConfigResponseParams ¶
type CreateEdgeLogConfigResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreatePrometheusAlertRuleRequest ¶
type CreatePrometheusAlertRuleRequest struct { *tchttp.BaseRequest // Instance ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Alarm configurations AlertRule *PrometheusAlertRuleDetail `json:"AlertRule,omitnil,omitempty" name:"AlertRule"` }
func NewCreatePrometheusAlertRuleRequest ¶
func NewCreatePrometheusAlertRuleRequest() (request *CreatePrometheusAlertRuleRequest)
func (*CreatePrometheusAlertRuleRequest) FromJsonString ¶
func (r *CreatePrometheusAlertRuleRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreatePrometheusAlertRuleRequest) ToJsonString ¶
func (r *CreatePrometheusAlertRuleRequest) ToJsonString() string
type CreatePrometheusAlertRuleRequestParams ¶
type CreatePrometheusAlertRuleRequestParams struct { // Instance ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Alarm configurations AlertRule *PrometheusAlertRuleDetail `json:"AlertRule,omitnil,omitempty" name:"AlertRule"` }
Predefined struct for user
type CreatePrometheusAlertRuleResponse ¶
type CreatePrometheusAlertRuleResponse struct { *tchttp.BaseResponse Response *CreatePrometheusAlertRuleResponseParams `json:"Response"` }
func NewCreatePrometheusAlertRuleResponse ¶
func NewCreatePrometheusAlertRuleResponse() (response *CreatePrometheusAlertRuleResponse)
func (*CreatePrometheusAlertRuleResponse) FromJsonString ¶
func (r *CreatePrometheusAlertRuleResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreatePrometheusAlertRuleResponse) ToJsonString ¶
func (r *CreatePrometheusAlertRuleResponse) ToJsonString() string
type CreatePrometheusAlertRuleResponseParams ¶
type CreatePrometheusAlertRuleResponseParams struct { // Alarm ID Id *string `json:"Id,omitnil,omitempty" name:"Id"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateTKEEdgeClusterRequest ¶
type CreateTKEEdgeClusterRequest struct { *tchttp.BaseRequest K8SVersion *string `json:"K8SVersion,omitnil,omitempty" name:"K8SVersion"` // VPC ID VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"` // Cluster name ClusterName *string `json:"ClusterName,omitnil,omitempty" name:"ClusterName"` // Cluster Pod CIDR block PodCIDR *string `json:"PodCIDR,omitnil,omitempty" name:"PodCIDR"` // Cluster service CIDR block ServiceCIDR *string `json:"ServiceCIDR,omitnil,omitempty" name:"ServiceCIDR"` // Cluster description ClusterDesc *string `json:"ClusterDesc,omitnil,omitempty" name:"ClusterDesc"` // Cluster advanced settings ClusterAdvancedSettings *EdgeClusterAdvancedSettings `json:"ClusterAdvancedSettings,omitnil,omitempty" name:"ClusterAdvancedSettings"` // Maximum number of Pods on the node MaxNodePodNum *int64 `json:"MaxNodePodNum,omitnil,omitempty" name:"MaxNodePodNum"` // Public LB of the TKE Edge cluster PublicLB *EdgeClusterPublicLB `json:"PublicLB,omitnil,omitempty" name:"PublicLB"` // Cluster specification level ClusterLevel *string `json:"ClusterLevel,omitnil,omitempty" name:"ClusterLevel"` // Whether auto upgrade is supported AutoUpgradeClusterLevel *bool `json:"AutoUpgradeClusterLevel,omitnil,omitempty" name:"AutoUpgradeClusterLevel"` // Cluster billing mode ChargeType *string `json:"ChargeType,omitnil,omitempty" name:"ChargeType"` // Edge cluster version. It is the set of versions of all cluster components. EdgeVersion *string `json:"EdgeVersion,omitnil,omitempty" name:"EdgeVersion"` // Prefix of the image registry of an edge component RegistryPrefix *string `json:"RegistryPrefix,omitnil,omitempty" name:"RegistryPrefix"` // u200dTags bound with the cluster TagSpecification *TagSpecification `json:"TagSpecification,omitnil,omitempty" name:"TagSpecification"` }
func NewCreateTKEEdgeClusterRequest ¶
func NewCreateTKEEdgeClusterRequest() (request *CreateTKEEdgeClusterRequest)
func (*CreateTKEEdgeClusterRequest) FromJsonString ¶
func (r *CreateTKEEdgeClusterRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateTKEEdgeClusterRequest) ToJsonString ¶
func (r *CreateTKEEdgeClusterRequest) ToJsonString() string
type CreateTKEEdgeClusterRequestParams ¶
type CreateTKEEdgeClusterRequestParams struct { K8SVersion *string `json:"K8SVersion,omitnil,omitempty" name:"K8SVersion"` // VPC ID VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"` // Cluster name ClusterName *string `json:"ClusterName,omitnil,omitempty" name:"ClusterName"` // Cluster Pod CIDR block PodCIDR *string `json:"PodCIDR,omitnil,omitempty" name:"PodCIDR"` // Cluster service CIDR block ServiceCIDR *string `json:"ServiceCIDR,omitnil,omitempty" name:"ServiceCIDR"` // Cluster description ClusterDesc *string `json:"ClusterDesc,omitnil,omitempty" name:"ClusterDesc"` // Cluster advanced settings ClusterAdvancedSettings *EdgeClusterAdvancedSettings `json:"ClusterAdvancedSettings,omitnil,omitempty" name:"ClusterAdvancedSettings"` // Maximum number of Pods on the node MaxNodePodNum *int64 `json:"MaxNodePodNum,omitnil,omitempty" name:"MaxNodePodNum"` // Public LB of the TKE Edge cluster PublicLB *EdgeClusterPublicLB `json:"PublicLB,omitnil,omitempty" name:"PublicLB"` // Cluster specification level ClusterLevel *string `json:"ClusterLevel,omitnil,omitempty" name:"ClusterLevel"` // Whether auto upgrade is supported AutoUpgradeClusterLevel *bool `json:"AutoUpgradeClusterLevel,omitnil,omitempty" name:"AutoUpgradeClusterLevel"` // Cluster billing mode ChargeType *string `json:"ChargeType,omitnil,omitempty" name:"ChargeType"` // Edge cluster version. It is the set of versions of all cluster components. EdgeVersion *string `json:"EdgeVersion,omitnil,omitempty" name:"EdgeVersion"` // Prefix of the image registry of an edge component RegistryPrefix *string `json:"RegistryPrefix,omitnil,omitempty" name:"RegistryPrefix"` // u200dTags bound with the cluster TagSpecification *TagSpecification `json:"TagSpecification,omitnil,omitempty" name:"TagSpecification"` }
Predefined struct for user
type CreateTKEEdgeClusterResponse ¶
type CreateTKEEdgeClusterResponse struct { *tchttp.BaseResponse Response *CreateTKEEdgeClusterResponseParams `json:"Response"` }
func NewCreateTKEEdgeClusterResponse ¶
func NewCreateTKEEdgeClusterResponse() (response *CreateTKEEdgeClusterResponse)
func (*CreateTKEEdgeClusterResponse) FromJsonString ¶
func (r *CreateTKEEdgeClusterResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateTKEEdgeClusterResponse) ToJsonString ¶
func (r *CreateTKEEdgeClusterResponse) ToJsonString() string
type CreateTKEEdgeClusterResponseParams ¶
type CreateTKEEdgeClusterResponseParams struct { // TKE Edge cluster ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CustomDriver ¶
type CustomDriver struct { // URL of custom GPU driver address // Note: This field may return `null`, indicating that no valid values can be obtained. Address *string `json:"Address,omitnil,omitempty" name:"Address"` }
type DataDisk ¶
type DataDisk struct { // Disk type // Note: this field may return null, indicating that no valid values can be obtained. DiskType *string `json:"DiskType,omitnil,omitempty" name:"DiskType"` // File system (ext3/ext4/xfs) // Note: This field may return null, indicating that no valid value was found. FileSystem *string `json:"FileSystem,omitnil,omitempty" name:"FileSystem"` // Disk size (G) // Note: This field may return null, indicating that no valid value was found. DiskSize *int64 `json:"DiskSize,omitnil,omitempty" name:"DiskSize"` // Whether the disk is auto-formatted and mounted // Note: this field may return `null`, indicating that no valid value is obtained. AutoFormatAndMount *bool `json:"AutoFormatAndMount,omitnil,omitempty" name:"AutoFormatAndMount"` // Mounted device name or partition name (only required when adding an existing node) // Note: This field may return `null`, indicating that no valid values can be obtained. DiskPartition *string `json:"DiskPartition,omitnil,omitempty" name:"DiskPartition"` // Mounting directory // Note: This field may return null, indicating that no valid value was found. MountTarget *string `json:"MountTarget,omitnil,omitempty" name:"MountTarget"` }
type DeleteAddonRequest ¶
type DeleteAddonRequest struct { *tchttp.BaseRequest // Cluster ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // Add-on name AddonName *string `json:"AddonName,omitnil,omitempty" name:"AddonName"` }
func NewDeleteAddonRequest ¶
func NewDeleteAddonRequest() (request *DeleteAddonRequest)
func (*DeleteAddonRequest) FromJsonString ¶
func (r *DeleteAddonRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteAddonRequest) ToJsonString ¶
func (r *DeleteAddonRequest) ToJsonString() string
type DeleteAddonRequestParams ¶
type DeleteAddonRequestParams struct { // Cluster ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // Add-on name AddonName *string `json:"AddonName,omitnil,omitempty" name:"AddonName"` }
Predefined struct for user
type DeleteAddonResponse ¶
type DeleteAddonResponse struct { *tchttp.BaseResponse Response *DeleteAddonResponseParams `json:"Response"` }
func NewDeleteAddonResponse ¶
func NewDeleteAddonResponse() (response *DeleteAddonResponse)
func (*DeleteAddonResponse) FromJsonString ¶
func (r *DeleteAddonResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteAddonResponse) ToJsonString ¶
func (r *DeleteAddonResponse) ToJsonString() string
type DeleteAddonResponseParams ¶
type DeleteAddonResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteBackupStorageLocationRequest ¶
type DeleteBackupStorageLocationRequest struct { *tchttp.BaseRequest // Backup repository name Name *string `json:"Name,omitnil,omitempty" name:"Name"` }
func NewDeleteBackupStorageLocationRequest ¶
func NewDeleteBackupStorageLocationRequest() (request *DeleteBackupStorageLocationRequest)
func (*DeleteBackupStorageLocationRequest) FromJsonString ¶
func (r *DeleteBackupStorageLocationRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteBackupStorageLocationRequest) ToJsonString ¶
func (r *DeleteBackupStorageLocationRequest) ToJsonString() string
type DeleteBackupStorageLocationRequestParams ¶
type DeleteBackupStorageLocationRequestParams struct { // Backup repository name Name *string `json:"Name,omitnil,omitempty" name:"Name"` }
Predefined struct for user
type DeleteBackupStorageLocationResponse ¶
type DeleteBackupStorageLocationResponse struct { *tchttp.BaseResponse Response *DeleteBackupStorageLocationResponseParams `json:"Response"` }
func NewDeleteBackupStorageLocationResponse ¶
func NewDeleteBackupStorageLocationResponse() (response *DeleteBackupStorageLocationResponse)
func (*DeleteBackupStorageLocationResponse) FromJsonString ¶
func (r *DeleteBackupStorageLocationResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteBackupStorageLocationResponse) ToJsonString ¶
func (r *DeleteBackupStorageLocationResponse) ToJsonString() string
type DeleteBackupStorageLocationResponseParams ¶
type DeleteBackupStorageLocationResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteClusterAsGroupsRequest ¶
type DeleteClusterAsGroupsRequest struct { *tchttp.BaseRequest // The cluster ID, obtained through the [DescribeClusters](https://intl.cloud.tencent.com/document/api/457/31862?from_cn_redirect=1) API. ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // Cluster scaling group ID list AutoScalingGroupIds []*string `json:"AutoScalingGroupIds,omitnil,omitempty" name:"AutoScalingGroupIds"` // Whether to keep nodes in the scaling group. Default to **false** (not keep) KeepInstance *bool `json:"KeepInstance,omitnil,omitempty" name:"KeepInstance"` }
func NewDeleteClusterAsGroupsRequest ¶
func NewDeleteClusterAsGroupsRequest() (request *DeleteClusterAsGroupsRequest)
func (*DeleteClusterAsGroupsRequest) FromJsonString ¶
func (r *DeleteClusterAsGroupsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteClusterAsGroupsRequest) ToJsonString ¶
func (r *DeleteClusterAsGroupsRequest) ToJsonString() string
type DeleteClusterAsGroupsRequestParams ¶
type DeleteClusterAsGroupsRequestParams struct { // The cluster ID, obtained through the [DescribeClusters](https://intl.cloud.tencent.com/document/api/457/31862?from_cn_redirect=1) API. ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // Cluster scaling group ID list AutoScalingGroupIds []*string `json:"AutoScalingGroupIds,omitnil,omitempty" name:"AutoScalingGroupIds"` // Whether to keep nodes in the scaling group. Default to **false** (not keep) KeepInstance *bool `json:"KeepInstance,omitnil,omitempty" name:"KeepInstance"` }
Predefined struct for user
type DeleteClusterAsGroupsResponse ¶
type DeleteClusterAsGroupsResponse struct { *tchttp.BaseResponse Response *DeleteClusterAsGroupsResponseParams `json:"Response"` }
func NewDeleteClusterAsGroupsResponse ¶
func NewDeleteClusterAsGroupsResponse() (response *DeleteClusterAsGroupsResponse)
func (*DeleteClusterAsGroupsResponse) FromJsonString ¶
func (r *DeleteClusterAsGroupsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteClusterAsGroupsResponse) ToJsonString ¶
func (r *DeleteClusterAsGroupsResponse) ToJsonString() string
type DeleteClusterAsGroupsResponseParams ¶
type DeleteClusterAsGroupsResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteClusterEndpointRequest ¶
type DeleteClusterEndpointRequest struct { *tchttp.BaseRequest // Cluster ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // Whether public network access is enabled or not (True = public network access, FALSE = private network access, with the default value as FALSE). IsExtranet *bool `json:"IsExtranet,omitnil,omitempty" name:"IsExtranet"` }
func NewDeleteClusterEndpointRequest ¶
func NewDeleteClusterEndpointRequest() (request *DeleteClusterEndpointRequest)
func (*DeleteClusterEndpointRequest) FromJsonString ¶
func (r *DeleteClusterEndpointRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteClusterEndpointRequest) ToJsonString ¶
func (r *DeleteClusterEndpointRequest) ToJsonString() string
type DeleteClusterEndpointRequestParams ¶
type DeleteClusterEndpointRequestParams struct { // Cluster ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // Whether public network access is enabled or not (True = public network access, FALSE = private network access, with the default value as FALSE). IsExtranet *bool `json:"IsExtranet,omitnil,omitempty" name:"IsExtranet"` }
Predefined struct for user
type DeleteClusterEndpointResponse ¶
type DeleteClusterEndpointResponse struct { *tchttp.BaseResponse Response *DeleteClusterEndpointResponseParams `json:"Response"` }
func NewDeleteClusterEndpointResponse ¶
func NewDeleteClusterEndpointResponse() (response *DeleteClusterEndpointResponse)
func (*DeleteClusterEndpointResponse) FromJsonString ¶
func (r *DeleteClusterEndpointResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteClusterEndpointResponse) ToJsonString ¶
func (r *DeleteClusterEndpointResponse) ToJsonString() string
type DeleteClusterEndpointResponseParams ¶
type DeleteClusterEndpointResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteClusterEndpointVipRequest ¶
type DeleteClusterEndpointVipRequest struct { *tchttp.BaseRequest // Cluster ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` }
func NewDeleteClusterEndpointVipRequest ¶
func NewDeleteClusterEndpointVipRequest() (request *DeleteClusterEndpointVipRequest)
func (*DeleteClusterEndpointVipRequest) FromJsonString ¶
func (r *DeleteClusterEndpointVipRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteClusterEndpointVipRequest) ToJsonString ¶
func (r *DeleteClusterEndpointVipRequest) ToJsonString() string
type DeleteClusterEndpointVipRequestParams ¶
type DeleteClusterEndpointVipRequestParams struct { // Cluster ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` }
Predefined struct for user
type DeleteClusterEndpointVipResponse ¶
type DeleteClusterEndpointVipResponse struct { *tchttp.BaseResponse Response *DeleteClusterEndpointVipResponseParams `json:"Response"` }
func NewDeleteClusterEndpointVipResponse ¶
func NewDeleteClusterEndpointVipResponse() (response *DeleteClusterEndpointVipResponse)
func (*DeleteClusterEndpointVipResponse) FromJsonString ¶
func (r *DeleteClusterEndpointVipResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteClusterEndpointVipResponse) ToJsonString ¶
func (r *DeleteClusterEndpointVipResponse) ToJsonString() string
type DeleteClusterEndpointVipResponseParams ¶
type DeleteClusterEndpointVipResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteClusterInstancesRequest ¶
type DeleteClusterInstancesRequest struct { *tchttp.BaseRequest // Cluster ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // List of Instance IDs InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" name:"InstanceIds"` // Policy used to delete an instance in the cluster: `terminate` (terminates the instance. Only available for pay-as-you-go CVMs); `retain` (only removes it from the cluster. The instance will be retained.) InstanceDeleteMode *string `json:"InstanceDeleteMode,omitnil,omitempty" name:"InstanceDeleteMode"` // Whether or not there is forced deletion (when a node is initialized, the parameters can be specified as TRUE) ForceDelete *bool `json:"ForceDelete,omitnil,omitempty" name:"ForceDelete"` }
func NewDeleteClusterInstancesRequest ¶
func NewDeleteClusterInstancesRequest() (request *DeleteClusterInstancesRequest)
func (*DeleteClusterInstancesRequest) FromJsonString ¶
func (r *DeleteClusterInstancesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteClusterInstancesRequest) ToJsonString ¶
func (r *DeleteClusterInstancesRequest) ToJsonString() string
type DeleteClusterInstancesRequestParams ¶
type DeleteClusterInstancesRequestParams struct { // Cluster ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // List of Instance IDs InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" name:"InstanceIds"` // Policy used to delete an instance in the cluster: `terminate` (terminates the instance. Only available for pay-as-you-go CVMs); `retain` (only removes it from the cluster. The instance will be retained.) InstanceDeleteMode *string `json:"InstanceDeleteMode,omitnil,omitempty" name:"InstanceDeleteMode"` // Whether or not there is forced deletion (when a node is initialized, the parameters can be specified as TRUE) ForceDelete *bool `json:"ForceDelete,omitnil,omitempty" name:"ForceDelete"` }
Predefined struct for user
type DeleteClusterInstancesResponse ¶
type DeleteClusterInstancesResponse struct { *tchttp.BaseResponse Response *DeleteClusterInstancesResponseParams `json:"Response"` }
func NewDeleteClusterInstancesResponse ¶
func NewDeleteClusterInstancesResponse() (response *DeleteClusterInstancesResponse)
func (*DeleteClusterInstancesResponse) FromJsonString ¶
func (r *DeleteClusterInstancesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteClusterInstancesResponse) ToJsonString ¶
func (r *DeleteClusterInstancesResponse) ToJsonString() string
type DeleteClusterInstancesResponseParams ¶
type DeleteClusterInstancesResponseParams struct { // IDs of deleted instances SuccInstanceIds []*string `json:"SuccInstanceIds,omitnil,omitempty" name:"SuccInstanceIds"` // IDs of instances failed to be deleted FailedInstanceIds []*string `json:"FailedInstanceIds,omitnil,omitempty" name:"FailedInstanceIds"` // IDs of instances that cannot be found NotFoundInstanceIds []*string `json:"NotFoundInstanceIds,omitnil,omitempty" name:"NotFoundInstanceIds"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteClusterNodePoolRequest ¶
type DeleteClusterNodePoolRequest struct { *tchttp.BaseRequest // ClusterId of a node pool ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // IDs of node pools to delete NodePoolIds []*string `json:"NodePoolIds,omitnil,omitempty" name:"NodePoolIds"` // Indicates whether nodes in a node pool are retained when the node pool is deleted. (The nodes are removed from the cluster. However, the corresponding instances will not be terminated.) KeepInstance *bool `json:"KeepInstance,omitnil,omitempty" name:"KeepInstance"` }
func NewDeleteClusterNodePoolRequest ¶
func NewDeleteClusterNodePoolRequest() (request *DeleteClusterNodePoolRequest)
func (*DeleteClusterNodePoolRequest) FromJsonString ¶
func (r *DeleteClusterNodePoolRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteClusterNodePoolRequest) ToJsonString ¶
func (r *DeleteClusterNodePoolRequest) ToJsonString() string
type DeleteClusterNodePoolRequestParams ¶
type DeleteClusterNodePoolRequestParams struct { // ClusterId of a node pool ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // IDs of node pools to delete NodePoolIds []*string `json:"NodePoolIds,omitnil,omitempty" name:"NodePoolIds"` // Indicates whether nodes in a node pool are retained when the node pool is deleted. (The nodes are removed from the cluster. However, the corresponding instances will not be terminated.) KeepInstance *bool `json:"KeepInstance,omitnil,omitempty" name:"KeepInstance"` }
Predefined struct for user
type DeleteClusterNodePoolResponse ¶
type DeleteClusterNodePoolResponse struct { *tchttp.BaseResponse Response *DeleteClusterNodePoolResponseParams `json:"Response"` }
func NewDeleteClusterNodePoolResponse ¶
func NewDeleteClusterNodePoolResponse() (response *DeleteClusterNodePoolResponse)
func (*DeleteClusterNodePoolResponse) FromJsonString ¶
func (r *DeleteClusterNodePoolResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteClusterNodePoolResponse) ToJsonString ¶
func (r *DeleteClusterNodePoolResponse) ToJsonString() string
type DeleteClusterNodePoolResponseParams ¶
type DeleteClusterNodePoolResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteClusterRequest ¶
type DeleteClusterRequest struct { *tchttp.BaseRequest // Cluster ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // Policy used to delete an instance in the cluster: terminate (terminates the instance. Only available for instances on pay-as-you-go CVMs); retain (only removes it from the cluster. The instance will be retained.) InstanceDeleteMode *string `json:"InstanceDeleteMode,omitnil,omitempty" name:"InstanceDeleteMode"` // Specifies the policy to deal with resources in the cluster when the cluster is deleted. It only supports CBS now. The default policy is to retain CBS disks. ResourceDeleteOptions []*ResourceDeleteOption `json:"ResourceDeleteOptions,omitnil,omitempty" name:"ResourceDeleteOptions"` }
func NewDeleteClusterRequest ¶
func NewDeleteClusterRequest() (request *DeleteClusterRequest)
func (*DeleteClusterRequest) FromJsonString ¶
func (r *DeleteClusterRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteClusterRequest) ToJsonString ¶
func (r *DeleteClusterRequest) ToJsonString() string
type DeleteClusterRequestParams ¶
type DeleteClusterRequestParams struct { // Cluster ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // Policy used to delete an instance in the cluster: terminate (terminates the instance. Only available for instances on pay-as-you-go CVMs); retain (only removes it from the cluster. The instance will be retained.) InstanceDeleteMode *string `json:"InstanceDeleteMode,omitnil,omitempty" name:"InstanceDeleteMode"` // Specifies the policy to deal with resources in the cluster when the cluster is deleted. It only supports CBS now. The default policy is to retain CBS disks. ResourceDeleteOptions []*ResourceDeleteOption `json:"ResourceDeleteOptions,omitnil,omitempty" name:"ResourceDeleteOptions"` }
Predefined struct for user
type DeleteClusterResponse ¶
type DeleteClusterResponse struct { *tchttp.BaseResponse Response *DeleteClusterResponseParams `json:"Response"` }
func NewDeleteClusterResponse ¶
func NewDeleteClusterResponse() (response *DeleteClusterResponse)
func (*DeleteClusterResponse) FromJsonString ¶
func (r *DeleteClusterResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteClusterResponse) ToJsonString ¶
func (r *DeleteClusterResponse) ToJsonString() string
type DeleteClusterResponseParams ¶
type DeleteClusterResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteClusterRouteRequest ¶
type DeleteClusterRouteRequest struct { *tchttp.BaseRequest // Route table name. RouteTableName *string `json:"RouteTableName,omitnil,omitempty" name:"RouteTableName"` // Next hop address. GatewayIp *string `json:"GatewayIp,omitnil,omitempty" name:"GatewayIp"` // Destination CIDR. DestinationCidrBlock *string `json:"DestinationCidrBlock,omitnil,omitempty" name:"DestinationCidrBlock"` }
func NewDeleteClusterRouteRequest ¶
func NewDeleteClusterRouteRequest() (request *DeleteClusterRouteRequest)
func (*DeleteClusterRouteRequest) FromJsonString ¶
func (r *DeleteClusterRouteRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteClusterRouteRequest) ToJsonString ¶
func (r *DeleteClusterRouteRequest) ToJsonString() string
type DeleteClusterRouteRequestParams ¶
type DeleteClusterRouteRequestParams struct { // Route table name. RouteTableName *string `json:"RouteTableName,omitnil,omitempty" name:"RouteTableName"` // Next hop address. GatewayIp *string `json:"GatewayIp,omitnil,omitempty" name:"GatewayIp"` // Destination CIDR. DestinationCidrBlock *string `json:"DestinationCidrBlock,omitnil,omitempty" name:"DestinationCidrBlock"` }
Predefined struct for user
type DeleteClusterRouteResponse ¶
type DeleteClusterRouteResponse struct { *tchttp.BaseResponse Response *DeleteClusterRouteResponseParams `json:"Response"` }
func NewDeleteClusterRouteResponse ¶
func NewDeleteClusterRouteResponse() (response *DeleteClusterRouteResponse)
func (*DeleteClusterRouteResponse) FromJsonString ¶
func (r *DeleteClusterRouteResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteClusterRouteResponse) ToJsonString ¶
func (r *DeleteClusterRouteResponse) ToJsonString() string
type DeleteClusterRouteResponseParams ¶
type DeleteClusterRouteResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteClusterRouteTableRequest ¶
type DeleteClusterRouteTableRequest struct { *tchttp.BaseRequest // Route table name RouteTableName *string `json:"RouteTableName,omitnil,omitempty" name:"RouteTableName"` }
func NewDeleteClusterRouteTableRequest ¶
func NewDeleteClusterRouteTableRequest() (request *DeleteClusterRouteTableRequest)
func (*DeleteClusterRouteTableRequest) FromJsonString ¶
func (r *DeleteClusterRouteTableRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteClusterRouteTableRequest) ToJsonString ¶
func (r *DeleteClusterRouteTableRequest) ToJsonString() string
type DeleteClusterRouteTableRequestParams ¶
type DeleteClusterRouteTableRequestParams struct { // Route table name RouteTableName *string `json:"RouteTableName,omitnil,omitempty" name:"RouteTableName"` }
Predefined struct for user
type DeleteClusterRouteTableResponse ¶
type DeleteClusterRouteTableResponse struct { *tchttp.BaseResponse Response *DeleteClusterRouteTableResponseParams `json:"Response"` }
func NewDeleteClusterRouteTableResponse ¶
func NewDeleteClusterRouteTableResponse() (response *DeleteClusterRouteTableResponse)
func (*DeleteClusterRouteTableResponse) FromJsonString ¶
func (r *DeleteClusterRouteTableResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteClusterRouteTableResponse) ToJsonString ¶
func (r *DeleteClusterRouteTableResponse) ToJsonString() string
type DeleteClusterRouteTableResponseParams ¶
type DeleteClusterRouteTableResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteClusterVirtualNodePoolRequest ¶
type DeleteClusterVirtualNodePoolRequest struct { *tchttp.BaseRequest // Cluster ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // List of virtual node pool IDs NodePoolIds []*string `json:"NodePoolIds,omitnil,omitempty" name:"NodePoolIds"` // Whether to forcibly delete the nodes with pods. Values: `true`, `false`. Force *bool `json:"Force,omitnil,omitempty" name:"Force"` }
func NewDeleteClusterVirtualNodePoolRequest ¶
func NewDeleteClusterVirtualNodePoolRequest() (request *DeleteClusterVirtualNodePoolRequest)
func (*DeleteClusterVirtualNodePoolRequest) FromJsonString ¶
func (r *DeleteClusterVirtualNodePoolRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteClusterVirtualNodePoolRequest) ToJsonString ¶
func (r *DeleteClusterVirtualNodePoolRequest) ToJsonString() string
type DeleteClusterVirtualNodePoolRequestParams ¶
type DeleteClusterVirtualNodePoolRequestParams struct { // Cluster ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // List of virtual node pool IDs NodePoolIds []*string `json:"NodePoolIds,omitnil,omitempty" name:"NodePoolIds"` // Whether to forcibly delete the nodes with pods. Values: `true`, `false`. Force *bool `json:"Force,omitnil,omitempty" name:"Force"` }
Predefined struct for user
type DeleteClusterVirtualNodePoolResponse ¶
type DeleteClusterVirtualNodePoolResponse struct { *tchttp.BaseResponse Response *DeleteClusterVirtualNodePoolResponseParams `json:"Response"` }
func NewDeleteClusterVirtualNodePoolResponse ¶
func NewDeleteClusterVirtualNodePoolResponse() (response *DeleteClusterVirtualNodePoolResponse)
func (*DeleteClusterVirtualNodePoolResponse) FromJsonString ¶
func (r *DeleteClusterVirtualNodePoolResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteClusterVirtualNodePoolResponse) ToJsonString ¶
func (r *DeleteClusterVirtualNodePoolResponse) ToJsonString() string
type DeleteClusterVirtualNodePoolResponseParams ¶
type DeleteClusterVirtualNodePoolResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteClusterVirtualNodeRequest ¶
type DeleteClusterVirtualNodeRequest struct { *tchttp.BaseRequest // Cluster ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // List of virtual nodes NodeNames []*string `json:"NodeNames,omitnil,omitempty" name:"NodeNames"` // Whether to forcibly delete running pods in the virtual node. Values: `true`, `false`. Force *bool `json:"Force,omitnil,omitempty" name:"Force"` }
func NewDeleteClusterVirtualNodeRequest ¶
func NewDeleteClusterVirtualNodeRequest() (request *DeleteClusterVirtualNodeRequest)
func (*DeleteClusterVirtualNodeRequest) FromJsonString ¶
func (r *DeleteClusterVirtualNodeRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteClusterVirtualNodeRequest) ToJsonString ¶
func (r *DeleteClusterVirtualNodeRequest) ToJsonString() string
type DeleteClusterVirtualNodeRequestParams ¶
type DeleteClusterVirtualNodeRequestParams struct { // Cluster ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // List of virtual nodes NodeNames []*string `json:"NodeNames,omitnil,omitempty" name:"NodeNames"` // Whether to forcibly delete running pods in the virtual node. Values: `true`, `false`. Force *bool `json:"Force,omitnil,omitempty" name:"Force"` }
Predefined struct for user
type DeleteClusterVirtualNodeResponse ¶
type DeleteClusterVirtualNodeResponse struct { *tchttp.BaseResponse Response *DeleteClusterVirtualNodeResponseParams `json:"Response"` }
func NewDeleteClusterVirtualNodeResponse ¶
func NewDeleteClusterVirtualNodeResponse() (response *DeleteClusterVirtualNodeResponse)
func (*DeleteClusterVirtualNodeResponse) FromJsonString ¶
func (r *DeleteClusterVirtualNodeResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteClusterVirtualNodeResponse) ToJsonString ¶
func (r *DeleteClusterVirtualNodeResponse) ToJsonString() string
type DeleteClusterVirtualNodeResponseParams ¶
type DeleteClusterVirtualNodeResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteECMInstancesRequest ¶
type DeleteECMInstancesRequest struct { *tchttp.BaseRequest // Cluster ID ClusterID *string `json:"ClusterID,omitnil,omitempty" name:"ClusterID"` // IDs of ECMs to be deleted EcmIdSet []*string `json:"EcmIdSet,omitnil,omitempty" name:"EcmIdSet"` }
func NewDeleteECMInstancesRequest ¶
func NewDeleteECMInstancesRequest() (request *DeleteECMInstancesRequest)
func (*DeleteECMInstancesRequest) FromJsonString ¶
func (r *DeleteECMInstancesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteECMInstancesRequest) ToJsonString ¶
func (r *DeleteECMInstancesRequest) ToJsonString() string
type DeleteECMInstancesRequestParams ¶
type DeleteECMInstancesRequestParams struct { // Cluster ID ClusterID *string `json:"ClusterID,omitnil,omitempty" name:"ClusterID"` // IDs of ECMs to be deleted EcmIdSet []*string `json:"EcmIdSet,omitnil,omitempty" name:"EcmIdSet"` }
Predefined struct for user
type DeleteECMInstancesResponse ¶
type DeleteECMInstancesResponse struct { *tchttp.BaseResponse Response *DeleteECMInstancesResponseParams `json:"Response"` }
func NewDeleteECMInstancesResponse ¶
func NewDeleteECMInstancesResponse() (response *DeleteECMInstancesResponse)
func (*DeleteECMInstancesResponse) FromJsonString ¶
func (r *DeleteECMInstancesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteECMInstancesResponse) ToJsonString ¶
func (r *DeleteECMInstancesResponse) ToJsonString() string
type DeleteECMInstancesResponseParams ¶
type DeleteECMInstancesResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteEdgeCVMInstancesRequest ¶
type DeleteEdgeCVMInstancesRequest struct { *tchttp.BaseRequest // Cluster ID ClusterID *string `json:"ClusterID,omitnil,omitempty" name:"ClusterID"` // IDs of CVMs to be deleted CvmIdSet []*string `json:"CvmIdSet,omitnil,omitempty" name:"CvmIdSet"` }
func NewDeleteEdgeCVMInstancesRequest ¶
func NewDeleteEdgeCVMInstancesRequest() (request *DeleteEdgeCVMInstancesRequest)
func (*DeleteEdgeCVMInstancesRequest) FromJsonString ¶
func (r *DeleteEdgeCVMInstancesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteEdgeCVMInstancesRequest) ToJsonString ¶
func (r *DeleteEdgeCVMInstancesRequest) ToJsonString() string
type DeleteEdgeCVMInstancesRequestParams ¶
type DeleteEdgeCVMInstancesRequestParams struct { // Cluster ID ClusterID *string `json:"ClusterID,omitnil,omitempty" name:"ClusterID"` // IDs of CVMs to be deleted CvmIdSet []*string `json:"CvmIdSet,omitnil,omitempty" name:"CvmIdSet"` }
Predefined struct for user
type DeleteEdgeCVMInstancesResponse ¶
type DeleteEdgeCVMInstancesResponse struct { *tchttp.BaseResponse Response *DeleteEdgeCVMInstancesResponseParams `json:"Response"` }
func NewDeleteEdgeCVMInstancesResponse ¶
func NewDeleteEdgeCVMInstancesResponse() (response *DeleteEdgeCVMInstancesResponse)
func (*DeleteEdgeCVMInstancesResponse) FromJsonString ¶
func (r *DeleteEdgeCVMInstancesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteEdgeCVMInstancesResponse) ToJsonString ¶
func (r *DeleteEdgeCVMInstancesResponse) ToJsonString() string
type DeleteEdgeCVMInstancesResponseParams ¶
type DeleteEdgeCVMInstancesResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteEdgeClusterInstancesRequest ¶
type DeleteEdgeClusterInstancesRequest struct { *tchttp.BaseRequest // Cluster ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // Array of instance IDs to be deleted InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" name:"InstanceIds"` }
func NewDeleteEdgeClusterInstancesRequest ¶
func NewDeleteEdgeClusterInstancesRequest() (request *DeleteEdgeClusterInstancesRequest)
func (*DeleteEdgeClusterInstancesRequest) FromJsonString ¶
func (r *DeleteEdgeClusterInstancesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteEdgeClusterInstancesRequest) ToJsonString ¶
func (r *DeleteEdgeClusterInstancesRequest) ToJsonString() string
type DeleteEdgeClusterInstancesRequestParams ¶
type DeleteEdgeClusterInstancesRequestParams struct { // Cluster ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // Array of instance IDs to be deleted InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" name:"InstanceIds"` }
Predefined struct for user
type DeleteEdgeClusterInstancesResponse ¶
type DeleteEdgeClusterInstancesResponse struct { *tchttp.BaseResponse Response *DeleteEdgeClusterInstancesResponseParams `json:"Response"` }
func NewDeleteEdgeClusterInstancesResponse ¶
func NewDeleteEdgeClusterInstancesResponse() (response *DeleteEdgeClusterInstancesResponse)
func (*DeleteEdgeClusterInstancesResponse) FromJsonString ¶
func (r *DeleteEdgeClusterInstancesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteEdgeClusterInstancesResponse) ToJsonString ¶
func (r *DeleteEdgeClusterInstancesResponse) ToJsonString() string
type DeleteEdgeClusterInstancesResponseParams ¶
type DeleteEdgeClusterInstancesResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DeletePrometheusAlertRuleRequest ¶
type DeletePrometheusAlertRuleRequest struct { *tchttp.BaseRequest // Instance ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // The ID list of alarm rules AlertIds []*string `json:"AlertIds,omitnil,omitempty" name:"AlertIds"` }
func NewDeletePrometheusAlertRuleRequest ¶
func NewDeletePrometheusAlertRuleRequest() (request *DeletePrometheusAlertRuleRequest)
func (*DeletePrometheusAlertRuleRequest) FromJsonString ¶
func (r *DeletePrometheusAlertRuleRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeletePrometheusAlertRuleRequest) ToJsonString ¶
func (r *DeletePrometheusAlertRuleRequest) ToJsonString() string
type DeletePrometheusAlertRuleRequestParams ¶
type DeletePrometheusAlertRuleRequestParams struct { // Instance ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // The ID list of alarm rules AlertIds []*string `json:"AlertIds,omitnil,omitempty" name:"AlertIds"` }
Predefined struct for user
type DeletePrometheusAlertRuleResponse ¶
type DeletePrometheusAlertRuleResponse struct { *tchttp.BaseResponse Response *DeletePrometheusAlertRuleResponseParams `json:"Response"` }
func NewDeletePrometheusAlertRuleResponse ¶
func NewDeletePrometheusAlertRuleResponse() (response *DeletePrometheusAlertRuleResponse)
func (*DeletePrometheusAlertRuleResponse) FromJsonString ¶
func (r *DeletePrometheusAlertRuleResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeletePrometheusAlertRuleResponse) ToJsonString ¶
func (r *DeletePrometheusAlertRuleResponse) ToJsonString() string
type DeletePrometheusAlertRuleResponseParams ¶
type DeletePrometheusAlertRuleResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteTKEEdgeClusterRequest ¶
type DeleteTKEEdgeClusterRequest struct { *tchttp.BaseRequest // Cluster ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` }
func NewDeleteTKEEdgeClusterRequest ¶
func NewDeleteTKEEdgeClusterRequest() (request *DeleteTKEEdgeClusterRequest)
func (*DeleteTKEEdgeClusterRequest) FromJsonString ¶
func (r *DeleteTKEEdgeClusterRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteTKEEdgeClusterRequest) ToJsonString ¶
func (r *DeleteTKEEdgeClusterRequest) ToJsonString() string
type DeleteTKEEdgeClusterRequestParams ¶
type DeleteTKEEdgeClusterRequestParams struct { // Cluster ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` }
Predefined struct for user
type DeleteTKEEdgeClusterResponse ¶
type DeleteTKEEdgeClusterResponse struct { *tchttp.BaseResponse Response *DeleteTKEEdgeClusterResponseParams `json:"Response"` }
func NewDeleteTKEEdgeClusterResponse ¶
func NewDeleteTKEEdgeClusterResponse() (response *DeleteTKEEdgeClusterResponse)
func (*DeleteTKEEdgeClusterResponse) FromJsonString ¶
func (r *DeleteTKEEdgeClusterResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteTKEEdgeClusterResponse) ToJsonString ¶
func (r *DeleteTKEEdgeClusterResponse) ToJsonString() string
type DeleteTKEEdgeClusterResponseParams ¶
type DeleteTKEEdgeClusterResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeAddonRequest ¶
type DescribeAddonRequest struct { *tchttp.BaseRequest // Cluster ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // Add-on name (all add-ons in the cluster are returned if this parameter is not specified) AddonName *string `json:"AddonName,omitnil,omitempty" name:"AddonName"` }
func NewDescribeAddonRequest ¶
func NewDescribeAddonRequest() (request *DescribeAddonRequest)
func (*DescribeAddonRequest) FromJsonString ¶
func (r *DescribeAddonRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeAddonRequest) ToJsonString ¶
func (r *DescribeAddonRequest) ToJsonString() string
type DescribeAddonRequestParams ¶
type DescribeAddonRequestParams struct { // Cluster ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // Add-on name (all add-ons in the cluster are returned if this parameter is not specified) AddonName *string `json:"AddonName,omitnil,omitempty" name:"AddonName"` }
Predefined struct for user
type DescribeAddonResponse ¶
type DescribeAddonResponse struct { *tchttp.BaseResponse Response *DescribeAddonResponseParams `json:"Response"` }
func NewDescribeAddonResponse ¶
func NewDescribeAddonResponse() (response *DescribeAddonResponse)
func (*DescribeAddonResponse) FromJsonString ¶
func (r *DescribeAddonResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeAddonResponse) ToJsonString ¶
func (r *DescribeAddonResponse) ToJsonString() string
type DescribeAddonResponseParams ¶
type DescribeAddonResponseParams struct { // List of add-ons Addons []*Addon `json:"Addons,omitnil,omitempty" name:"Addons"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeAddonValuesRequest ¶
type DescribeAddonValuesRequest struct { *tchttp.BaseRequest // Cluster ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // Add-on name AddonName *string `json:"AddonName,omitnil,omitempty" name:"AddonName"` }
func NewDescribeAddonValuesRequest ¶
func NewDescribeAddonValuesRequest() (request *DescribeAddonValuesRequest)
func (*DescribeAddonValuesRequest) FromJsonString ¶
func (r *DescribeAddonValuesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeAddonValuesRequest) ToJsonString ¶
func (r *DescribeAddonValuesRequest) ToJsonString() string
type DescribeAddonValuesRequestParams ¶
type DescribeAddonValuesRequestParams struct { // Cluster ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // Add-on name AddonName *string `json:"AddonName,omitnil,omitempty" name:"AddonName"` }
Predefined struct for user
type DescribeAddonValuesResponse ¶
type DescribeAddonValuesResponse struct { *tchttp.BaseResponse Response *DescribeAddonValuesResponseParams `json:"Response"` }
func NewDescribeAddonValuesResponse ¶
func NewDescribeAddonValuesResponse() (response *DescribeAddonValuesResponse)
func (*DescribeAddonValuesResponse) FromJsonString ¶
func (r *DescribeAddonValuesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeAddonValuesResponse) ToJsonString ¶
func (r *DescribeAddonValuesResponse) ToJsonString() string
type DescribeAddonValuesResponseParams ¶
type DescribeAddonValuesResponseParams struct { // Parameters in a JSON string. If the add-on has been installed, the configured parameters are used for rendering. Values *string `json:"Values,omitnil,omitempty" name:"Values"` // List of parameters supported by the add-on in a JSON string. The default values are used. DefaultValues *string `json:"DefaultValues,omitnil,omitempty" name:"DefaultValues"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeAvailableClusterVersionRequest ¶
type DescribeAvailableClusterVersionRequest struct { *tchttp.BaseRequest // Cluster ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // List of cluster IDs ClusterIds []*string `json:"ClusterIds,omitnil,omitempty" name:"ClusterIds"` }
func NewDescribeAvailableClusterVersionRequest ¶
func NewDescribeAvailableClusterVersionRequest() (request *DescribeAvailableClusterVersionRequest)
func (*DescribeAvailableClusterVersionRequest) FromJsonString ¶
func (r *DescribeAvailableClusterVersionRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeAvailableClusterVersionRequest) ToJsonString ¶
func (r *DescribeAvailableClusterVersionRequest) ToJsonString() string
type DescribeAvailableClusterVersionRequestParams ¶
type DescribeAvailableClusterVersionRequestParams struct { // Cluster ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // List of cluster IDs ClusterIds []*string `json:"ClusterIds,omitnil,omitempty" name:"ClusterIds"` }
Predefined struct for user
type DescribeAvailableClusterVersionResponse ¶
type DescribeAvailableClusterVersionResponse struct { *tchttp.BaseResponse Response *DescribeAvailableClusterVersionResponseParams `json:"Response"` }
func NewDescribeAvailableClusterVersionResponse ¶
func NewDescribeAvailableClusterVersionResponse() (response *DescribeAvailableClusterVersionResponse)
func (*DescribeAvailableClusterVersionResponse) FromJsonString ¶
func (r *DescribeAvailableClusterVersionResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeAvailableClusterVersionResponse) ToJsonString ¶
func (r *DescribeAvailableClusterVersionResponse) ToJsonString() string
type DescribeAvailableClusterVersionResponseParams ¶
type DescribeAvailableClusterVersionResponseParams struct { // Upgradable cluster version // Note: this field may return `null`, indicating that no valid value is obtained. Versions []*string `json:"Versions,omitnil,omitempty" name:"Versions"` // Cluster information // Note: this field may return `null`, indicating that no valid value is obtained. Clusters []*ClusterVersion `json:"Clusters,omitnil,omitempty" name:"Clusters"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeAvailableTKEEdgeVersionRequest ¶
type DescribeAvailableTKEEdgeVersionRequest struct { *tchttp.BaseRequest // You can enter the `ClusterId` to query the current and latest versions of all cluster components. ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` }
func NewDescribeAvailableTKEEdgeVersionRequest ¶
func NewDescribeAvailableTKEEdgeVersionRequest() (request *DescribeAvailableTKEEdgeVersionRequest)
func (*DescribeAvailableTKEEdgeVersionRequest) FromJsonString ¶
func (r *DescribeAvailableTKEEdgeVersionRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeAvailableTKEEdgeVersionRequest) ToJsonString ¶
func (r *DescribeAvailableTKEEdgeVersionRequest) ToJsonString() string
type DescribeAvailableTKEEdgeVersionRequestParams ¶
type DescribeAvailableTKEEdgeVersionRequestParams struct { // You can enter the `ClusterId` to query the current and latest versions of all cluster components. ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` }
Predefined struct for user
type DescribeAvailableTKEEdgeVersionResponse ¶
type DescribeAvailableTKEEdgeVersionResponse struct { *tchttp.BaseResponse Response *DescribeAvailableTKEEdgeVersionResponseParams `json:"Response"` }
func NewDescribeAvailableTKEEdgeVersionResponse ¶
func NewDescribeAvailableTKEEdgeVersionResponse() (response *DescribeAvailableTKEEdgeVersionResponse)
func (*DescribeAvailableTKEEdgeVersionResponse) FromJsonString ¶
func (r *DescribeAvailableTKEEdgeVersionResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeAvailableTKEEdgeVersionResponse) ToJsonString ¶
func (r *DescribeAvailableTKEEdgeVersionResponse) ToJsonString() string
type DescribeAvailableTKEEdgeVersionResponseParams ¶
type DescribeAvailableTKEEdgeVersionResponseParams struct { // Version list Versions []*string `json:"Versions,omitnil,omitempty" name:"Versions"` // Latest version of the edge cluster // Note: This field may return `null`, indicating that no valid value can be obtained. EdgeVersionLatest *string `json:"EdgeVersionLatest,omitnil,omitempty" name:"EdgeVersionLatest"` // Current version of the edge cluster // Note: This field may return `null`, indicating that no valid value can be obtained. EdgeVersionCurrent *string `json:"EdgeVersionCurrent,omitnil,omitempty" name:"EdgeVersionCurrent"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeBackupStorageLocationsRequest ¶
type DescribeBackupStorageLocationsRequest struct { *tchttp.BaseRequest // Names of repositories. If it’s not specified, all storage repository names in the current region are returned. Names []*string `json:"Names,omitnil,omitempty" name:"Names"` }
func NewDescribeBackupStorageLocationsRequest ¶
func NewDescribeBackupStorageLocationsRequest() (request *DescribeBackupStorageLocationsRequest)
func (*DescribeBackupStorageLocationsRequest) FromJsonString ¶
func (r *DescribeBackupStorageLocationsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeBackupStorageLocationsRequest) ToJsonString ¶
func (r *DescribeBackupStorageLocationsRequest) ToJsonString() string
type DescribeBackupStorageLocationsRequestParams ¶
type DescribeBackupStorageLocationsRequestParams struct { // Names of repositories. If it’s not specified, all storage repository names in the current region are returned. Names []*string `json:"Names,omitnil,omitempty" name:"Names"` }
Predefined struct for user
type DescribeBackupStorageLocationsResponse ¶
type DescribeBackupStorageLocationsResponse struct { *tchttp.BaseResponse Response *DescribeBackupStorageLocationsResponseParams `json:"Response"` }
func NewDescribeBackupStorageLocationsResponse ¶
func NewDescribeBackupStorageLocationsResponse() (response *DescribeBackupStorageLocationsResponse)
func (*DescribeBackupStorageLocationsResponse) FromJsonString ¶
func (r *DescribeBackupStorageLocationsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeBackupStorageLocationsResponse) ToJsonString ¶
func (r *DescribeBackupStorageLocationsResponse) ToJsonString() string
type DescribeBackupStorageLocationsResponseParams ¶
type DescribeBackupStorageLocationsResponseParams struct { // Detailed information of the backup repository // Note: This parameter may return null, indicating that no valid values can be obtained. BackupStorageLocationSet []*BackupStorageLocation `json:"BackupStorageLocationSet,omitnil,omitempty" name:"BackupStorageLocationSet"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeClusterAsGroupOptionRequest ¶
type DescribeClusterAsGroupOptionRequest struct { *tchttp.BaseRequest // Cluster ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` }
func NewDescribeClusterAsGroupOptionRequest ¶
func NewDescribeClusterAsGroupOptionRequest() (request *DescribeClusterAsGroupOptionRequest)
func (*DescribeClusterAsGroupOptionRequest) FromJsonString ¶
func (r *DescribeClusterAsGroupOptionRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeClusterAsGroupOptionRequest) ToJsonString ¶
func (r *DescribeClusterAsGroupOptionRequest) ToJsonString() string
type DescribeClusterAsGroupOptionRequestParams ¶
type DescribeClusterAsGroupOptionRequestParams struct { // Cluster ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` }
Predefined struct for user
type DescribeClusterAsGroupOptionResponse ¶
type DescribeClusterAsGroupOptionResponse struct { *tchttp.BaseResponse Response *DescribeClusterAsGroupOptionResponseParams `json:"Response"` }
func NewDescribeClusterAsGroupOptionResponse ¶
func NewDescribeClusterAsGroupOptionResponse() (response *DescribeClusterAsGroupOptionResponse)
func (*DescribeClusterAsGroupOptionResponse) FromJsonString ¶
func (r *DescribeClusterAsGroupOptionResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeClusterAsGroupOptionResponse) ToJsonString ¶
func (r *DescribeClusterAsGroupOptionResponse) ToJsonString() string
type DescribeClusterAsGroupOptionResponseParams ¶
type DescribeClusterAsGroupOptionResponseParams struct { // Cluster auto scaling attributes // Note: this field may return null, indicating that no valid value was found. ClusterAsGroupOption *ClusterAsGroupOption `json:"ClusterAsGroupOption,omitnil,omitempty" name:"ClusterAsGroupOption"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeClusterAsGroupsRequest ¶
type DescribeClusterAsGroupsRequest struct { *tchttp.BaseRequest // Cluster ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // Scaling group ID list. If this value is null, it indicates that all cluster-associated scaling groups are pulled. AutoScalingGroupIds []*string `json:"AutoScalingGroupIds,omitnil,omitempty" name:"AutoScalingGroupIds"` // Offset. This value defaults to 0. For more information on Offset, see the relevant sections in API [Overview](https://intl.cloud.tencent.com/document/api/213/15688?from_cn_redirect=1). Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Number of returned results. This value defaults to 20. The maximum is 100. For more information on Limit, see the relevant sections in API [Overview](https://intl.cloud.tencent.com/document/api/213/15688?from_cn_redirect=1). Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` }
func NewDescribeClusterAsGroupsRequest ¶
func NewDescribeClusterAsGroupsRequest() (request *DescribeClusterAsGroupsRequest)
func (*DescribeClusterAsGroupsRequest) FromJsonString ¶
func (r *DescribeClusterAsGroupsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeClusterAsGroupsRequest) ToJsonString ¶
func (r *DescribeClusterAsGroupsRequest) ToJsonString() string
type DescribeClusterAsGroupsRequestParams ¶
type DescribeClusterAsGroupsRequestParams struct { // Cluster ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // Scaling group ID list. If this value is null, it indicates that all cluster-associated scaling groups are pulled. AutoScalingGroupIds []*string `json:"AutoScalingGroupIds,omitnil,omitempty" name:"AutoScalingGroupIds"` // Offset. This value defaults to 0. For more information on Offset, see the relevant sections in API [Overview](https://intl.cloud.tencent.com/document/api/213/15688?from_cn_redirect=1). Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Number of returned results. This value defaults to 20. The maximum is 100. For more information on Limit, see the relevant sections in API [Overview](https://intl.cloud.tencent.com/document/api/213/15688?from_cn_redirect=1). Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` }
Predefined struct for user
type DescribeClusterAsGroupsResponse ¶
type DescribeClusterAsGroupsResponse struct { *tchttp.BaseResponse Response *DescribeClusterAsGroupsResponseParams `json:"Response"` }
func NewDescribeClusterAsGroupsResponse ¶
func NewDescribeClusterAsGroupsResponse() (response *DescribeClusterAsGroupsResponse)
func (*DescribeClusterAsGroupsResponse) FromJsonString ¶
func (r *DescribeClusterAsGroupsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeClusterAsGroupsResponse) ToJsonString ¶
func (r *DescribeClusterAsGroupsResponse) ToJsonString() string
type DescribeClusterAsGroupsResponseParams ¶
type DescribeClusterAsGroupsResponseParams struct { // Total number of scaling groups associated with the cluster TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // Cluster-associated scaling group list ClusterAsGroupSet []*ClusterAsGroup `json:"ClusterAsGroupSet,omitnil,omitempty" name:"ClusterAsGroupSet"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeClusterAuthenticationOptionsRequest ¶
type DescribeClusterAuthenticationOptionsRequest struct { *tchttp.BaseRequest // Cluster ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` }
func NewDescribeClusterAuthenticationOptionsRequest ¶
func NewDescribeClusterAuthenticationOptionsRequest() (request *DescribeClusterAuthenticationOptionsRequest)
func (*DescribeClusterAuthenticationOptionsRequest) FromJsonString ¶
func (r *DescribeClusterAuthenticationOptionsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeClusterAuthenticationOptionsRequest) ToJsonString ¶
func (r *DescribeClusterAuthenticationOptionsRequest) ToJsonString() string
type DescribeClusterAuthenticationOptionsRequestParams ¶
type DescribeClusterAuthenticationOptionsRequestParams struct { // Cluster ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` }
Predefined struct for user
type DescribeClusterAuthenticationOptionsResponse ¶
type DescribeClusterAuthenticationOptionsResponse struct { *tchttp.BaseResponse Response *DescribeClusterAuthenticationOptionsResponseParams `json:"Response"` }
func NewDescribeClusterAuthenticationOptionsResponse ¶
func NewDescribeClusterAuthenticationOptionsResponse() (response *DescribeClusterAuthenticationOptionsResponse)
func (*DescribeClusterAuthenticationOptionsResponse) FromJsonString ¶
func (r *DescribeClusterAuthenticationOptionsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeClusterAuthenticationOptionsResponse) ToJsonString ¶
func (r *DescribeClusterAuthenticationOptionsResponse) ToJsonString() string
type DescribeClusterAuthenticationOptionsResponseParams ¶
type DescribeClusterAuthenticationOptionsResponseParams struct { // ServiceAccount authentication configuration // Note: this field may return `null`, indicating that no valid values can be obtained. ServiceAccounts *ServiceAccountAuthenticationOptions `json:"ServiceAccounts,omitnil,omitempty" name:"ServiceAccounts"` // Result of the last modification. Values: `Updating`, `Success`, `Failed` or `TimeOut`. // Note: this field may return `null`, indicating that no valid values can be obtained. LatestOperationState *string `json:"LatestOperationState,omitnil,omitempty" name:"LatestOperationState"` // OIDC authentication configurations // Note: This field may return `null`, indicating that no valid value can be obtained. OIDCConfig *OIDCConfigAuthenticationOptions `json:"OIDCConfig,omitnil,omitempty" name:"OIDCConfig"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeClusterCommonNamesRequest ¶
type DescribeClusterCommonNamesRequest struct { *tchttp.BaseRequest // Cluster ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // Sub-account. Up to 50 sub-accounts can be passed in at a time. SubaccountUins []*string `json:"SubaccountUins,omitnil,omitempty" name:"SubaccountUins"` // Role ID. Up to 50 role IDs can be passed in at a time. RoleIds []*string `json:"RoleIds,omitnil,omitempty" name:"RoleIds"` }
func NewDescribeClusterCommonNamesRequest ¶
func NewDescribeClusterCommonNamesRequest() (request *DescribeClusterCommonNamesRequest)
func (*DescribeClusterCommonNamesRequest) FromJsonString ¶
func (r *DescribeClusterCommonNamesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeClusterCommonNamesRequest) ToJsonString ¶
func (r *DescribeClusterCommonNamesRequest) ToJsonString() string
type DescribeClusterCommonNamesRequestParams ¶
type DescribeClusterCommonNamesRequestParams struct { // Cluster ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // Sub-account. Up to 50 sub-accounts can be passed in at a time. SubaccountUins []*string `json:"SubaccountUins,omitnil,omitempty" name:"SubaccountUins"` // Role ID. Up to 50 role IDs can be passed in at a time. RoleIds []*string `json:"RoleIds,omitnil,omitempty" name:"RoleIds"` }
Predefined struct for user
type DescribeClusterCommonNamesResponse ¶
type DescribeClusterCommonNamesResponse struct { *tchttp.BaseResponse Response *DescribeClusterCommonNamesResponseParams `json:"Response"` }
func NewDescribeClusterCommonNamesResponse ¶
func NewDescribeClusterCommonNamesResponse() (response *DescribeClusterCommonNamesResponse)
func (*DescribeClusterCommonNamesResponse) FromJsonString ¶
func (r *DescribeClusterCommonNamesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeClusterCommonNamesResponse) ToJsonString ¶
func (r *DescribeClusterCommonNamesResponse) ToJsonString() string
type DescribeClusterCommonNamesResponseParams ¶
type DescribeClusterCommonNamesResponseParams struct { // The CommonName in the certificate of the client corresponding to the sub-account UIN CommonNames []*CommonName `json:"CommonNames,omitnil,omitempty" name:"CommonNames"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeClusterEndpointStatusRequest ¶
type DescribeClusterEndpointStatusRequest struct { *tchttp.BaseRequest // Cluster ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // Whether public network access is enabled or not (True = public network access, FALSE = private network access, with the default value as FALSE). IsExtranet *bool `json:"IsExtranet,omitnil,omitempty" name:"IsExtranet"` }
func NewDescribeClusterEndpointStatusRequest ¶
func NewDescribeClusterEndpointStatusRequest() (request *DescribeClusterEndpointStatusRequest)
func (*DescribeClusterEndpointStatusRequest) FromJsonString ¶
func (r *DescribeClusterEndpointStatusRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeClusterEndpointStatusRequest) ToJsonString ¶
func (r *DescribeClusterEndpointStatusRequest) ToJsonString() string
type DescribeClusterEndpointStatusRequestParams ¶
type DescribeClusterEndpointStatusRequestParams struct { // Cluster ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // Whether public network access is enabled or not (True = public network access, FALSE = private network access, with the default value as FALSE). IsExtranet *bool `json:"IsExtranet,omitnil,omitempty" name:"IsExtranet"` }
Predefined struct for user
type DescribeClusterEndpointStatusResponse ¶
type DescribeClusterEndpointStatusResponse struct { *tchttp.BaseResponse Response *DescribeClusterEndpointStatusResponseParams `json:"Response"` }
func NewDescribeClusterEndpointStatusResponse ¶
func NewDescribeClusterEndpointStatusResponse() (response *DescribeClusterEndpointStatusResponse)
func (*DescribeClusterEndpointStatusResponse) FromJsonString ¶
func (r *DescribeClusterEndpointStatusResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeClusterEndpointStatusResponse) ToJsonString ¶
func (r *DescribeClusterEndpointStatusResponse) ToJsonString() string
type DescribeClusterEndpointStatusResponseParams ¶
type DescribeClusterEndpointStatusResponseParams struct { // The status of cluster access port. It can be `Created` (enabled); `Creating` (enabling) and `NotFound` (not enabled) // Note: this field may return `null`, indicating that no valid value is obtained. Status *string `json:"Status,omitnil,omitempty" name:"Status"` // Details of the error occurred while opening the access port // Note: this field may return `null`, indicating that no valid value is obtained. ErrorMsg *string `json:"ErrorMsg,omitnil,omitempty" name:"ErrorMsg"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeClusterEndpointVipStatusRequest ¶
type DescribeClusterEndpointVipStatusRequest struct { *tchttp.BaseRequest // Cluster ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` }
func NewDescribeClusterEndpointVipStatusRequest ¶
func NewDescribeClusterEndpointVipStatusRequest() (request *DescribeClusterEndpointVipStatusRequest)
func (*DescribeClusterEndpointVipStatusRequest) FromJsonString ¶
func (r *DescribeClusterEndpointVipStatusRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeClusterEndpointVipStatusRequest) ToJsonString ¶
func (r *DescribeClusterEndpointVipStatusRequest) ToJsonString() string
type DescribeClusterEndpointVipStatusRequestParams ¶
type DescribeClusterEndpointVipStatusRequestParams struct { // Cluster ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` }
Predefined struct for user
type DescribeClusterEndpointVipStatusResponse ¶
type DescribeClusterEndpointVipStatusResponse struct { *tchttp.BaseResponse Response *DescribeClusterEndpointVipStatusResponseParams `json:"Response"` }
func NewDescribeClusterEndpointVipStatusResponse ¶
func NewDescribeClusterEndpointVipStatusResponse() (response *DescribeClusterEndpointVipStatusResponse)
func (*DescribeClusterEndpointVipStatusResponse) FromJsonString ¶
func (r *DescribeClusterEndpointVipStatusResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeClusterEndpointVipStatusResponse) ToJsonString ¶
func (r *DescribeClusterEndpointVipStatusResponse) ToJsonString() string
type DescribeClusterEndpointVipStatusResponseParams ¶
type DescribeClusterEndpointVipStatusResponseParams struct { // Port operation status (Creating = in the process of creation; CreateFailed = creation has failed; Created = creation completed; Deleting = in the process of deletion; DeletedFailed = deletion has failed; Deleted = deletion completed; NotFound = operation not found) Status *string `json:"Status,omitnil,omitempty" name:"Status"` // Reason for operation failure ErrorMsg *string `json:"ErrorMsg,omitnil,omitempty" name:"ErrorMsg"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeClusterEndpointsRequest ¶
type DescribeClusterEndpointsRequest struct { *tchttp.BaseRequest // Cluster ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` }
func NewDescribeClusterEndpointsRequest ¶
func NewDescribeClusterEndpointsRequest() (request *DescribeClusterEndpointsRequest)
func (*DescribeClusterEndpointsRequest) FromJsonString ¶
func (r *DescribeClusterEndpointsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeClusterEndpointsRequest) ToJsonString ¶
func (r *DescribeClusterEndpointsRequest) ToJsonString() string
type DescribeClusterEndpointsRequestParams ¶
type DescribeClusterEndpointsRequestParams struct { // Cluster ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` }
Predefined struct for user
type DescribeClusterEndpointsResponse ¶
type DescribeClusterEndpointsResponse struct { *tchttp.BaseResponse Response *DescribeClusterEndpointsResponseParams `json:"Response"` }
func NewDescribeClusterEndpointsResponse ¶
func NewDescribeClusterEndpointsResponse() (response *DescribeClusterEndpointsResponse)
func (*DescribeClusterEndpointsResponse) FromJsonString ¶
func (r *DescribeClusterEndpointsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeClusterEndpointsResponse) ToJsonString ¶
func (r *DescribeClusterEndpointsResponse) ToJsonString() string
type DescribeClusterEndpointsResponseParams ¶
type DescribeClusterEndpointsResponseParams struct { // CA certificate of cluster APIServer CertificationAuthority *string `json:"CertificationAuthority,omitnil,omitempty" name:"CertificationAuthority"` // Public network access address of cluster APIServer ClusterExternalEndpoint *string `json:"ClusterExternalEndpoint,omitnil,omitempty" name:"ClusterExternalEndpoint"` // Private network access address of cluster APIServer ClusterIntranetEndpoint *string `json:"ClusterIntranetEndpoint,omitnil,omitempty" name:"ClusterIntranetEndpoint"` // Domain name of cluster APIServer // Note: This field may return `null`, indicating that no valid values can be obtained. ClusterDomain *string `json:"ClusterDomain,omitnil,omitempty" name:"ClusterDomain"` // Public network access ACL of cluster APIServer // Note: This field may return `null`, indicating that no valid values can be obtained. ClusterExternalACL []*string `json:"ClusterExternalACL,omitnil,omitempty" name:"ClusterExternalACL"` // Public network domain name // Note: This field may return `null`, indicating that no valid values can be obtained. ClusterExternalDomain *string `json:"ClusterExternalDomain,omitnil,omitempty" name:"ClusterExternalDomain"` // Private network domain name // Note: This field may return `null`, indicating that no valid values can be obtained. ClusterIntranetDomain *string `json:"ClusterIntranetDomain,omitnil,omitempty" name:"ClusterIntranetDomain"` // Public network security group // Note: This field may return `null`, indicating that no valid values can be obtained. SecurityGroup *string `json:"SecurityGroup,omitnil,omitempty" name:"SecurityGroup"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeClusterInstancesRequest ¶
type DescribeClusterInstancesRequest struct { *tchttp.BaseRequest // Cluster ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // Offset. Default value: 0 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Maximum number of output entries. Default value: 20 Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // List of instance IDs to be obtained. This parameter is empty by default, which indicates that all instances in the cluster will be pulled. InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" name:"InstanceIds"` // Node role. Valid values are MASTER, WORKER, ETCD, MASTER_ETCD, and ALL. Default value: WORKER. InstanceRole *string `json:"InstanceRole,omitnil,omitempty" name:"InstanceRole"` // Filters include `nodepool-id` and `nodepool-instance-type` (how the instance is added to the pool). For `nodepool-instance-type`, the values can be `MANUALLY_ADDED`, `AUTOSCALING_ADDED` and `ALL`. Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` }
func NewDescribeClusterInstancesRequest ¶
func NewDescribeClusterInstancesRequest() (request *DescribeClusterInstancesRequest)
func (*DescribeClusterInstancesRequest) FromJsonString ¶
func (r *DescribeClusterInstancesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeClusterInstancesRequest) ToJsonString ¶
func (r *DescribeClusterInstancesRequest) ToJsonString() string
type DescribeClusterInstancesRequestParams ¶
type DescribeClusterInstancesRequestParams struct { // Cluster ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // Offset. Default value: 0 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Maximum number of output entries. Default value: 20 Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // List of instance IDs to be obtained. This parameter is empty by default, which indicates that all instances in the cluster will be pulled. InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" name:"InstanceIds"` // Node role. Valid values are MASTER, WORKER, ETCD, MASTER_ETCD, and ALL. Default value: WORKER. InstanceRole *string `json:"InstanceRole,omitnil,omitempty" name:"InstanceRole"` // Filters include `nodepool-id` and `nodepool-instance-type` (how the instance is added to the pool). For `nodepool-instance-type`, the values can be `MANUALLY_ADDED`, `AUTOSCALING_ADDED` and `ALL`. Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` }
Predefined struct for user
type DescribeClusterInstancesResponse ¶
type DescribeClusterInstancesResponse struct { *tchttp.BaseResponse Response *DescribeClusterInstancesResponseParams `json:"Response"` }
func NewDescribeClusterInstancesResponse ¶
func NewDescribeClusterInstancesResponse() (response *DescribeClusterInstancesResponse)
func (*DescribeClusterInstancesResponse) FromJsonString ¶
func (r *DescribeClusterInstancesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeClusterInstancesResponse) ToJsonString ¶
func (r *DescribeClusterInstancesResponse) ToJsonString() string
type DescribeClusterInstancesResponseParams ¶
type DescribeClusterInstancesResponseParams struct { // Total number of instances in the cluster TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // List of instances in the cluster InstanceSet []*Instance `json:"InstanceSet,omitnil,omitempty" name:"InstanceSet"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeClusterKubeconfigRequest ¶
type DescribeClusterKubeconfigRequest struct { *tchttp.BaseRequest // Cluster ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // Defaults to `false`, which means to obtain the kubeconfig of private network IsExtranet *bool `json:"IsExtranet,omitnil,omitempty" name:"IsExtranet"` }
func NewDescribeClusterKubeconfigRequest ¶
func NewDescribeClusterKubeconfigRequest() (request *DescribeClusterKubeconfigRequest)
func (*DescribeClusterKubeconfigRequest) FromJsonString ¶
func (r *DescribeClusterKubeconfigRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeClusterKubeconfigRequest) ToJsonString ¶
func (r *DescribeClusterKubeconfigRequest) ToJsonString() string
type DescribeClusterKubeconfigRequestParams ¶
type DescribeClusterKubeconfigRequestParams struct { // Cluster ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // Defaults to `false`, which means to obtain the kubeconfig of private network IsExtranet *bool `json:"IsExtranet,omitnil,omitempty" name:"IsExtranet"` }
Predefined struct for user
type DescribeClusterKubeconfigResponse ¶
type DescribeClusterKubeconfigResponse struct { *tchttp.BaseResponse Response *DescribeClusterKubeconfigResponseParams `json:"Response"` }
func NewDescribeClusterKubeconfigResponse ¶
func NewDescribeClusterKubeconfigResponse() (response *DescribeClusterKubeconfigResponse)
func (*DescribeClusterKubeconfigResponse) FromJsonString ¶
func (r *DescribeClusterKubeconfigResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeClusterKubeconfigResponse) ToJsonString ¶
func (r *DescribeClusterKubeconfigResponse) ToJsonString() string
type DescribeClusterKubeconfigResponseParams ¶
type DescribeClusterKubeconfigResponseParams struct { // Sub-account kubeconfig file, used to access the cluster kube-apiserver directly Kubeconfig *string `json:"Kubeconfig,omitnil,omitempty" name:"Kubeconfig"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeClusterLevelAttributeRequest ¶
type DescribeClusterLevelAttributeRequest struct { *tchttp.BaseRequest // Cluster ID (available for cluster model adjustment) ClusterID *string `json:"ClusterID,omitnil,omitempty" name:"ClusterID"` }
func NewDescribeClusterLevelAttributeRequest ¶
func NewDescribeClusterLevelAttributeRequest() (request *DescribeClusterLevelAttributeRequest)
func (*DescribeClusterLevelAttributeRequest) FromJsonString ¶
func (r *DescribeClusterLevelAttributeRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeClusterLevelAttributeRequest) ToJsonString ¶
func (r *DescribeClusterLevelAttributeRequest) ToJsonString() string
type DescribeClusterLevelAttributeRequestParams ¶
type DescribeClusterLevelAttributeRequestParams struct { // Cluster ID (available for cluster model adjustment) ClusterID *string `json:"ClusterID,omitnil,omitempty" name:"ClusterID"` }
Predefined struct for user
type DescribeClusterLevelAttributeResponse ¶
type DescribeClusterLevelAttributeResponse struct { *tchttp.BaseResponse Response *DescribeClusterLevelAttributeResponseParams `json:"Response"` }
func NewDescribeClusterLevelAttributeResponse ¶
func NewDescribeClusterLevelAttributeResponse() (response *DescribeClusterLevelAttributeResponse)
func (*DescribeClusterLevelAttributeResponse) FromJsonString ¶
func (r *DescribeClusterLevelAttributeResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeClusterLevelAttributeResponse) ToJsonString ¶
func (r *DescribeClusterLevelAttributeResponse) ToJsonString() string
type DescribeClusterLevelAttributeResponseParams ¶
type DescribeClusterLevelAttributeResponseParams struct { // Total number TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // Cluster model Items []*ClusterLevelAttribute `json:"Items,omitnil,omitempty" name:"Items"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeClusterLevelChangeRecordsRequest ¶
type DescribeClusterLevelChangeRecordsRequest struct { *tchttp.BaseRequest // Cluster ID ClusterID *string `json:"ClusterID,omitnil,omitempty" name:"ClusterID"` // Start time StartAt *string `json:"StartAt,omitnil,omitempty" name:"StartAt"` // End time EndAt *string `json:"EndAt,omitnil,omitempty" name:"EndAt"` // Offset. Default value: `0` Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Maximum number of output entries. Default value: `20` Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` }
func NewDescribeClusterLevelChangeRecordsRequest ¶
func NewDescribeClusterLevelChangeRecordsRequest() (request *DescribeClusterLevelChangeRecordsRequest)
func (*DescribeClusterLevelChangeRecordsRequest) FromJsonString ¶
func (r *DescribeClusterLevelChangeRecordsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeClusterLevelChangeRecordsRequest) ToJsonString ¶
func (r *DescribeClusterLevelChangeRecordsRequest) ToJsonString() string
type DescribeClusterLevelChangeRecordsRequestParams ¶
type DescribeClusterLevelChangeRecordsRequestParams struct { // Cluster ID ClusterID *string `json:"ClusterID,omitnil,omitempty" name:"ClusterID"` // Start time StartAt *string `json:"StartAt,omitnil,omitempty" name:"StartAt"` // End time EndAt *string `json:"EndAt,omitnil,omitempty" name:"EndAt"` // Offset. Default value: `0` Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Maximum number of output entries. Default value: `20` Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` }
Predefined struct for user
type DescribeClusterLevelChangeRecordsResponse ¶
type DescribeClusterLevelChangeRecordsResponse struct { *tchttp.BaseResponse Response *DescribeClusterLevelChangeRecordsResponseParams `json:"Response"` }
func NewDescribeClusterLevelChangeRecordsResponse ¶
func NewDescribeClusterLevelChangeRecordsResponse() (response *DescribeClusterLevelChangeRecordsResponse)
func (*DescribeClusterLevelChangeRecordsResponse) FromJsonString ¶
func (r *DescribeClusterLevelChangeRecordsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeClusterLevelChangeRecordsResponse) ToJsonString ¶
func (r *DescribeClusterLevelChangeRecordsResponse) ToJsonString() string
type DescribeClusterLevelChangeRecordsResponseParams ¶
type DescribeClusterLevelChangeRecordsResponseParams struct { // Total number TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // Cluster model Items []*ClusterLevelChangeRecord `json:"Items,omitnil,omitempty" name:"Items"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeClusterNodePoolDetailRequest ¶
type DescribeClusterNodePoolDetailRequest struct { *tchttp.BaseRequest // Cluster ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // Node pool ID NodePoolId *string `json:"NodePoolId,omitnil,omitempty" name:"NodePoolId"` }
func NewDescribeClusterNodePoolDetailRequest ¶
func NewDescribeClusterNodePoolDetailRequest() (request *DescribeClusterNodePoolDetailRequest)
func (*DescribeClusterNodePoolDetailRequest) FromJsonString ¶
func (r *DescribeClusterNodePoolDetailRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeClusterNodePoolDetailRequest) ToJsonString ¶
func (r *DescribeClusterNodePoolDetailRequest) ToJsonString() string
type DescribeClusterNodePoolDetailRequestParams ¶
type DescribeClusterNodePoolDetailRequestParams struct { // Cluster ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // Node pool ID NodePoolId *string `json:"NodePoolId,omitnil,omitempty" name:"NodePoolId"` }
Predefined struct for user
type DescribeClusterNodePoolDetailResponse ¶
type DescribeClusterNodePoolDetailResponse struct { *tchttp.BaseResponse Response *DescribeClusterNodePoolDetailResponseParams `json:"Response"` }
func NewDescribeClusterNodePoolDetailResponse ¶
func NewDescribeClusterNodePoolDetailResponse() (response *DescribeClusterNodePoolDetailResponse)
func (*DescribeClusterNodePoolDetailResponse) FromJsonString ¶
func (r *DescribeClusterNodePoolDetailResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeClusterNodePoolDetailResponse) ToJsonString ¶
func (r *DescribeClusterNodePoolDetailResponse) ToJsonString() string
type DescribeClusterNodePoolDetailResponseParams ¶
type DescribeClusterNodePoolDetailResponseParams struct { // Node pool details NodePool *NodePool `json:"NodePool,omitnil,omitempty" name:"NodePool"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeClusterNodePoolsRequest ¶
type DescribeClusterNodePoolsRequest struct { *tchttp.BaseRequest // ClusterId (cluster ID) ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // · NodePoolsName // Filters by the node pool name // Type: String // Required: No // // · NodePoolsId // Filters by the node pool ID // Type: String // Required: No // // · tags // Filters by key-value pairs of tags // Type: String // Required: No // // · tag:tag-key // Filters by key-value pairs of tags // Type: String // Required: No Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` }
func NewDescribeClusterNodePoolsRequest ¶
func NewDescribeClusterNodePoolsRequest() (request *DescribeClusterNodePoolsRequest)
func (*DescribeClusterNodePoolsRequest) FromJsonString ¶
func (r *DescribeClusterNodePoolsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeClusterNodePoolsRequest) ToJsonString ¶
func (r *DescribeClusterNodePoolsRequest) ToJsonString() string
type DescribeClusterNodePoolsRequestParams ¶
type DescribeClusterNodePoolsRequestParams struct { // ClusterId (cluster ID) ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // · NodePoolsName // Filters by the node pool name // Type: String // Required: No // // · NodePoolsId // Filters by the node pool ID // Type: String // Required: No // // · tags // Filters by key-value pairs of tags // Type: String // Required: No // // · tag:tag-key // Filters by key-value pairs of tags // Type: String // Required: No Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` }
Predefined struct for user
type DescribeClusterNodePoolsResponse ¶
type DescribeClusterNodePoolsResponse struct { *tchttp.BaseResponse Response *DescribeClusterNodePoolsResponseParams `json:"Response"` }
func NewDescribeClusterNodePoolsResponse ¶
func NewDescribeClusterNodePoolsResponse() (response *DescribeClusterNodePoolsResponse)
func (*DescribeClusterNodePoolsResponse) FromJsonString ¶
func (r *DescribeClusterNodePoolsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeClusterNodePoolsResponse) ToJsonString ¶
func (r *DescribeClusterNodePoolsResponse) ToJsonString() string
type DescribeClusterNodePoolsResponseParams ¶
type DescribeClusterNodePoolsResponseParams struct { // NodePools (node pool list) // Note: this field may return `null`, indicating that no valid value is obtained. NodePoolSet []*NodePool `json:"NodePoolSet,omitnil,omitempty" name:"NodePoolSet"` // Total resources TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeClusterRouteTablesRequest ¶
type DescribeClusterRouteTablesRequest struct {
*tchttp.BaseRequest
}
func NewDescribeClusterRouteTablesRequest ¶
func NewDescribeClusterRouteTablesRequest() (request *DescribeClusterRouteTablesRequest)
func (*DescribeClusterRouteTablesRequest) FromJsonString ¶
func (r *DescribeClusterRouteTablesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeClusterRouteTablesRequest) ToJsonString ¶
func (r *DescribeClusterRouteTablesRequest) ToJsonString() string
type DescribeClusterRouteTablesRequestParams ¶
type DescribeClusterRouteTablesRequestParams struct { }
Predefined struct for user
type DescribeClusterRouteTablesResponse ¶
type DescribeClusterRouteTablesResponse struct { *tchttp.BaseResponse Response *DescribeClusterRouteTablesResponseParams `json:"Response"` }
func NewDescribeClusterRouteTablesResponse ¶
func NewDescribeClusterRouteTablesResponse() (response *DescribeClusterRouteTablesResponse)
func (*DescribeClusterRouteTablesResponse) FromJsonString ¶
func (r *DescribeClusterRouteTablesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeClusterRouteTablesResponse) ToJsonString ¶
func (r *DescribeClusterRouteTablesResponse) ToJsonString() string
type DescribeClusterRouteTablesResponseParams ¶
type DescribeClusterRouteTablesResponseParams struct { // Number of instances that match the filter condition(s). TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // Object of cluster route table. RouteTableSet []*RouteTableInfo `json:"RouteTableSet,omitnil,omitempty" name:"RouteTableSet"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeClusterRoutesRequest ¶
type DescribeClusterRoutesRequest struct { *tchttp.BaseRequest // Route table name. RouteTableName *string `json:"RouteTableName,omitnil,omitempty" name:"RouteTableName"` // Filtering conditions, which are optional. Currently, only filtering by GatewayIP is supported. Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` }
func NewDescribeClusterRoutesRequest ¶
func NewDescribeClusterRoutesRequest() (request *DescribeClusterRoutesRequest)
func (*DescribeClusterRoutesRequest) FromJsonString ¶
func (r *DescribeClusterRoutesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeClusterRoutesRequest) ToJsonString ¶
func (r *DescribeClusterRoutesRequest) ToJsonString() string
type DescribeClusterRoutesRequestParams ¶
type DescribeClusterRoutesRequestParams struct { // Route table name. RouteTableName *string `json:"RouteTableName,omitnil,omitempty" name:"RouteTableName"` // Filtering conditions, which are optional. Currently, only filtering by GatewayIP is supported. Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` }
Predefined struct for user
type DescribeClusterRoutesResponse ¶
type DescribeClusterRoutesResponse struct { *tchttp.BaseResponse Response *DescribeClusterRoutesResponseParams `json:"Response"` }
func NewDescribeClusterRoutesResponse ¶
func NewDescribeClusterRoutesResponse() (response *DescribeClusterRoutesResponse)
func (*DescribeClusterRoutesResponse) FromJsonString ¶
func (r *DescribeClusterRoutesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeClusterRoutesResponse) ToJsonString ¶
func (r *DescribeClusterRoutesResponse) ToJsonString() string
type DescribeClusterRoutesResponseParams ¶
type DescribeClusterRoutesResponseParams struct { // Number of instances that match the filter condition(s). TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // Object of cluster route. RouteSet []*RouteInfo `json:"RouteSet,omitnil,omitempty" name:"RouteSet"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeClusterSecurityRequest ¶
type DescribeClusterSecurityRequest struct { *tchttp.BaseRequest // Cluster ID. Enter the ClusterId field returned by the DescribeClusters API ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` }
func NewDescribeClusterSecurityRequest ¶
func NewDescribeClusterSecurityRequest() (request *DescribeClusterSecurityRequest)
func (*DescribeClusterSecurityRequest) FromJsonString ¶
func (r *DescribeClusterSecurityRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeClusterSecurityRequest) ToJsonString ¶
func (r *DescribeClusterSecurityRequest) ToJsonString() string
type DescribeClusterSecurityRequestParams ¶
type DescribeClusterSecurityRequestParams struct { // Cluster ID. Enter the ClusterId field returned by the DescribeClusters API ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` }
Predefined struct for user
type DescribeClusterSecurityResponse ¶
type DescribeClusterSecurityResponse struct { *tchttp.BaseResponse Response *DescribeClusterSecurityResponseParams `json:"Response"` }
func NewDescribeClusterSecurityResponse ¶
func NewDescribeClusterSecurityResponse() (response *DescribeClusterSecurityResponse)
func (*DescribeClusterSecurityResponse) FromJsonString ¶
func (r *DescribeClusterSecurityResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeClusterSecurityResponse) ToJsonString ¶
func (r *DescribeClusterSecurityResponse) ToJsonString() string
type DescribeClusterSecurityResponseParams ¶
type DescribeClusterSecurityResponseParams struct { // Cluster's account name UserName *string `json:"UserName,omitnil,omitempty" name:"UserName"` // Cluster's password Password *string `json:"Password,omitnil,omitempty" name:"Password"` // Cluster's access CA certificate CertificationAuthority *string `json:"CertificationAuthority,omitnil,omitempty" name:"CertificationAuthority"` // Cluster's access address ClusterExternalEndpoint *string `json:"ClusterExternalEndpoint,omitnil,omitempty" name:"ClusterExternalEndpoint"` // Domain name accessed by the cluster Domain *string `json:"Domain,omitnil,omitempty" name:"Domain"` // Cluster's endpoint address PgwEndpoint *string `json:"PgwEndpoint,omitnil,omitempty" name:"PgwEndpoint"` // Cluster's access policy group // Note: This field may return null, indicating that no valid value was found. SecurityPolicy []*string `json:"SecurityPolicy,omitnil,omitempty" name:"SecurityPolicy"` // Cluster Kubeconfig file // Note: This field may return null, indicating that no valid value was found. Kubeconfig *string `json:"Kubeconfig,omitnil,omitempty" name:"Kubeconfig"` // Access address of the cluster JnsGw // Note: This field may return null, indicating that no valid value was found. JnsGwEndpoint *string `json:"JnsGwEndpoint,omitnil,omitempty" name:"JnsGwEndpoint"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeClusterStatusRequest ¶
type DescribeClusterStatusRequest struct { *tchttp.BaseRequest // Cluster ID list. All clusters are pulled if it is left empty. ClusterIds []*string `json:"ClusterIds,omitnil,omitempty" name:"ClusterIds"` }
func NewDescribeClusterStatusRequest ¶
func NewDescribeClusterStatusRequest() (request *DescribeClusterStatusRequest)
func (*DescribeClusterStatusRequest) FromJsonString ¶
func (r *DescribeClusterStatusRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeClusterStatusRequest) ToJsonString ¶
func (r *DescribeClusterStatusRequest) ToJsonString() string
type DescribeClusterStatusRequestParams ¶
type DescribeClusterStatusRequestParams struct { // Cluster ID list. All clusters are pulled if it is left empty. ClusterIds []*string `json:"ClusterIds,omitnil,omitempty" name:"ClusterIds"` }
Predefined struct for user
type DescribeClusterStatusResponse ¶
type DescribeClusterStatusResponse struct { *tchttp.BaseResponse Response *DescribeClusterStatusResponseParams `json:"Response"` }
func NewDescribeClusterStatusResponse ¶
func NewDescribeClusterStatusResponse() (response *DescribeClusterStatusResponse)
func (*DescribeClusterStatusResponse) FromJsonString ¶
func (r *DescribeClusterStatusResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeClusterStatusResponse) ToJsonString ¶
func (r *DescribeClusterStatusResponse) ToJsonString() string
type DescribeClusterStatusResponseParams ¶
type DescribeClusterStatusResponseParams struct { // Cluster status list ClusterStatusSet []*ClusterStatus `json:"ClusterStatusSet,omitnil,omitempty" name:"ClusterStatusSet"` // Number of clusters TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeClusterVirtualNodePoolsRequest ¶
type DescribeClusterVirtualNodePoolsRequest struct { *tchttp.BaseRequest // Cluster ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` }
func NewDescribeClusterVirtualNodePoolsRequest ¶
func NewDescribeClusterVirtualNodePoolsRequest() (request *DescribeClusterVirtualNodePoolsRequest)
func (*DescribeClusterVirtualNodePoolsRequest) FromJsonString ¶
func (r *DescribeClusterVirtualNodePoolsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeClusterVirtualNodePoolsRequest) ToJsonString ¶
func (r *DescribeClusterVirtualNodePoolsRequest) ToJsonString() string
type DescribeClusterVirtualNodePoolsRequestParams ¶
type DescribeClusterVirtualNodePoolsRequestParams struct { // Cluster ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` }
Predefined struct for user
type DescribeClusterVirtualNodePoolsResponse ¶
type DescribeClusterVirtualNodePoolsResponse struct { *tchttp.BaseResponse Response *DescribeClusterVirtualNodePoolsResponseParams `json:"Response"` }
func NewDescribeClusterVirtualNodePoolsResponse ¶
func NewDescribeClusterVirtualNodePoolsResponse() (response *DescribeClusterVirtualNodePoolsResponse)
func (*DescribeClusterVirtualNodePoolsResponse) FromJsonString ¶
func (r *DescribeClusterVirtualNodePoolsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeClusterVirtualNodePoolsResponse) ToJsonString ¶
func (r *DescribeClusterVirtualNodePoolsResponse) ToJsonString() string
type DescribeClusterVirtualNodePoolsResponseParams ¶
type DescribeClusterVirtualNodePoolsResponseParams struct { // Total number of node pools // Note: This field may return null, indicating that no valid values can be obtained. TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // List of virtual node pools // Note: This field may return null, indicating that no valid values can be obtained. NodePoolSet []*VirtualNodePool `json:"NodePoolSet,omitnil,omitempty" name:"NodePoolSet"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeClusterVirtualNodeRequest ¶
type DescribeClusterVirtualNodeRequest struct { *tchttp.BaseRequest // Cluster ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // Node pool ID NodePoolId *string `json:"NodePoolId,omitnil,omitempty" name:"NodePoolId"` // Node name NodeNames []*string `json:"NodeNames,omitnil,omitempty" name:"NodeNames"` }
func NewDescribeClusterVirtualNodeRequest ¶
func NewDescribeClusterVirtualNodeRequest() (request *DescribeClusterVirtualNodeRequest)
func (*DescribeClusterVirtualNodeRequest) FromJsonString ¶
func (r *DescribeClusterVirtualNodeRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeClusterVirtualNodeRequest) ToJsonString ¶
func (r *DescribeClusterVirtualNodeRequest) ToJsonString() string
type DescribeClusterVirtualNodeRequestParams ¶
type DescribeClusterVirtualNodeRequestParams struct { // Cluster ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // Node pool ID NodePoolId *string `json:"NodePoolId,omitnil,omitempty" name:"NodePoolId"` // Node name NodeNames []*string `json:"NodeNames,omitnil,omitempty" name:"NodeNames"` }
Predefined struct for user
type DescribeClusterVirtualNodeResponse ¶
type DescribeClusterVirtualNodeResponse struct { *tchttp.BaseResponse Response *DescribeClusterVirtualNodeResponseParams `json:"Response"` }
func NewDescribeClusterVirtualNodeResponse ¶
func NewDescribeClusterVirtualNodeResponse() (response *DescribeClusterVirtualNodeResponse)
func (*DescribeClusterVirtualNodeResponse) FromJsonString ¶
func (r *DescribeClusterVirtualNodeResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeClusterVirtualNodeResponse) ToJsonString ¶
func (r *DescribeClusterVirtualNodeResponse) ToJsonString() string
type DescribeClusterVirtualNodeResponseParams ¶
type DescribeClusterVirtualNodeResponseParams struct { // List of nodes // Note: This field may return null, indicating that no valid values can be obtained. Nodes []*VirtualNode `json:"Nodes,omitnil,omitempty" name:"Nodes"` // Total number of nodes // Note: This field may return null, indicating that no valid values can be obtained. TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeClustersRequest ¶
type DescribeClustersRequest struct { *tchttp.BaseRequest // Cluster ID list (When it is empty, // all clusters under the account will be obtained) ClusterIds []*string `json:"ClusterIds,omitnil,omitempty" name:"ClusterIds"` // Offset. Default value: 0 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Maximum number of output entries. Default value: 20 Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // · ClusterName // Filters by the cluster name // Type: String // Required: No // // · ClusterType // Filters by the cluster type // Type: String // Required: No // // · ClusterStatus // Filters by the cluster status // Type: String // Required: No // // · Tags // Filters by key-value pairs of tags // Type: String // Required: No // // · vpc-id // Filters by the VPC ID // Type: String // Required: No // // · tag-key // Filters by the tag key // Type: String // Required: No // // · tag-value // Filters by the tag value // Type: String // Required: No // // · tag:tag-key // Filters by key-value pairs of tags // Type: String // Required: No Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` // Cluster type, such as `MANAGED_CLUSTER` ClusterType *string `json:"ClusterType,omitnil,omitempty" name:"ClusterType"` }
func NewDescribeClustersRequest ¶
func NewDescribeClustersRequest() (request *DescribeClustersRequest)
func (*DescribeClustersRequest) FromJsonString ¶
func (r *DescribeClustersRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeClustersRequest) ToJsonString ¶
func (r *DescribeClustersRequest) ToJsonString() string
type DescribeClustersRequestParams ¶
type DescribeClustersRequestParams struct { // Cluster ID list (When it is empty, // all clusters under the account will be obtained) ClusterIds []*string `json:"ClusterIds,omitnil,omitempty" name:"ClusterIds"` // Offset. Default value: 0 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Maximum number of output entries. Default value: 20 Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // · ClusterName // Filters by the cluster name // Type: String // Required: No // // · ClusterType // Filters by the cluster type // Type: String // Required: No // // · ClusterStatus // Filters by the cluster status // Type: String // Required: No // // · Tags // Filters by key-value pairs of tags // Type: String // Required: No // // · vpc-id // Filters by the VPC ID // Type: String // Required: No // // · tag-key // Filters by the tag key // Type: String // Required: No // // · tag-value // Filters by the tag value // Type: String // Required: No // // · tag:tag-key // Filters by key-value pairs of tags // Type: String // Required: No Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` // Cluster type, such as `MANAGED_CLUSTER` ClusterType *string `json:"ClusterType,omitnil,omitempty" name:"ClusterType"` }
Predefined struct for user
type DescribeClustersResponse ¶
type DescribeClustersResponse struct { *tchttp.BaseResponse Response *DescribeClustersResponseParams `json:"Response"` }
func NewDescribeClustersResponse ¶
func NewDescribeClustersResponse() (response *DescribeClustersResponse)
func (*DescribeClustersResponse) FromJsonString ¶
func (r *DescribeClustersResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeClustersResponse) ToJsonString ¶
func (r *DescribeClustersResponse) ToJsonString() string
type DescribeClustersResponseParams ¶
type DescribeClustersResponseParams struct { // Total number of clusters TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // Cluster information list Clusters []*Cluster `json:"Clusters,omitnil,omitempty" name:"Clusters"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeECMInstancesRequest ¶
type DescribeECMInstancesRequest struct { *tchttp.BaseRequest // Cluster ID ClusterID *string `json:"ClusterID,omitnil,omitempty" name:"ClusterID"` // Filter condition // Only filtering by an ECM ID is supported Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` }
func NewDescribeECMInstancesRequest ¶
func NewDescribeECMInstancesRequest() (request *DescribeECMInstancesRequest)
func (*DescribeECMInstancesRequest) FromJsonString ¶
func (r *DescribeECMInstancesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeECMInstancesRequest) ToJsonString ¶
func (r *DescribeECMInstancesRequest) ToJsonString() string
type DescribeECMInstancesRequestParams ¶
type DescribeECMInstancesRequestParams struct { // Cluster ID ClusterID *string `json:"ClusterID,omitnil,omitempty" name:"ClusterID"` // Filter condition // Only filtering by an ECM ID is supported Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` }
Predefined struct for user
type DescribeECMInstancesResponse ¶
type DescribeECMInstancesResponse struct { *tchttp.BaseResponse Response *DescribeECMInstancesResponseParams `json:"Response"` }
func NewDescribeECMInstancesResponse ¶
func NewDescribeECMInstancesResponse() (response *DescribeECMInstancesResponse)
func (*DescribeECMInstancesResponse) FromJsonString ¶
func (r *DescribeECMInstancesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeECMInstancesResponse) ToJsonString ¶
func (r *DescribeECMInstancesResponse) ToJsonString() string
type DescribeECMInstancesResponseParams ¶
type DescribeECMInstancesResponseParams struct { // Number of instances matched the condition TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // List of the returned instance information InstanceInfoSet []*string `json:"InstanceInfoSet,omitnil,omitempty" name:"InstanceInfoSet"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeEdgeAvailableExtraArgsRequest ¶
type DescribeEdgeAvailableExtraArgsRequest struct { *tchttp.BaseRequest // Cluster version ClusterVersion *string `json:"ClusterVersion,omitnil,omitempty" name:"ClusterVersion"` }
func NewDescribeEdgeAvailableExtraArgsRequest ¶
func NewDescribeEdgeAvailableExtraArgsRequest() (request *DescribeEdgeAvailableExtraArgsRequest)
func (*DescribeEdgeAvailableExtraArgsRequest) FromJsonString ¶
func (r *DescribeEdgeAvailableExtraArgsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeEdgeAvailableExtraArgsRequest) ToJsonString ¶
func (r *DescribeEdgeAvailableExtraArgsRequest) ToJsonString() string
type DescribeEdgeAvailableExtraArgsRequestParams ¶
type DescribeEdgeAvailableExtraArgsRequestParams struct { // Cluster version ClusterVersion *string `json:"ClusterVersion,omitnil,omitempty" name:"ClusterVersion"` }
Predefined struct for user
type DescribeEdgeAvailableExtraArgsResponse ¶
type DescribeEdgeAvailableExtraArgsResponse struct { *tchttp.BaseResponse Response *DescribeEdgeAvailableExtraArgsResponseParams `json:"Response"` }
func NewDescribeEdgeAvailableExtraArgsResponse ¶
func NewDescribeEdgeAvailableExtraArgsResponse() (response *DescribeEdgeAvailableExtraArgsResponse)
func (*DescribeEdgeAvailableExtraArgsResponse) FromJsonString ¶
func (r *DescribeEdgeAvailableExtraArgsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeEdgeAvailableExtraArgsResponse) ToJsonString ¶
func (r *DescribeEdgeAvailableExtraArgsResponse) ToJsonString() string
type DescribeEdgeAvailableExtraArgsResponseParams ¶
type DescribeEdgeAvailableExtraArgsResponseParams struct { // Cluster version // Note: This field may return `null`, indicating that no valid values can be obtained. ClusterVersion *string `json:"ClusterVersion,omitnil,omitempty" name:"ClusterVersion"` // Available custom parameters // Note: This field may return `null`, indicating that no valid values can be obtained. AvailableExtraArgs *EdgeAvailableExtraArgs `json:"AvailableExtraArgs,omitnil,omitempty" name:"AvailableExtraArgs"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeEdgeCVMInstancesRequest ¶
type DescribeEdgeCVMInstancesRequest struct { *tchttp.BaseRequest // Cluster ID ClusterID *string `json:"ClusterID,omitnil,omitempty" name:"ClusterID"` // Filter condition // Only `cvm-id` is supported. Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` }
func NewDescribeEdgeCVMInstancesRequest ¶
func NewDescribeEdgeCVMInstancesRequest() (request *DescribeEdgeCVMInstancesRequest)
func (*DescribeEdgeCVMInstancesRequest) FromJsonString ¶
func (r *DescribeEdgeCVMInstancesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeEdgeCVMInstancesRequest) ToJsonString ¶
func (r *DescribeEdgeCVMInstancesRequest) ToJsonString() string
type DescribeEdgeCVMInstancesRequestParams ¶
type DescribeEdgeCVMInstancesRequestParams struct { // Cluster ID ClusterID *string `json:"ClusterID,omitnil,omitempty" name:"ClusterID"` // Filter condition // Only `cvm-id` is supported. Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` }
Predefined struct for user
type DescribeEdgeCVMInstancesResponse ¶
type DescribeEdgeCVMInstancesResponse struct { *tchttp.BaseResponse Response *DescribeEdgeCVMInstancesResponseParams `json:"Response"` }
func NewDescribeEdgeCVMInstancesResponse ¶
func NewDescribeEdgeCVMInstancesResponse() (response *DescribeEdgeCVMInstancesResponse)
func (*DescribeEdgeCVMInstancesResponse) FromJsonString ¶
func (r *DescribeEdgeCVMInstancesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeEdgeCVMInstancesResponse) ToJsonString ¶
func (r *DescribeEdgeCVMInstancesResponse) ToJsonString() string
type DescribeEdgeCVMInstancesResponseParams ¶
type DescribeEdgeCVMInstancesResponseParams struct { // Number of instances matched the condition TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // List of the returned instance information InstanceInfoSet []*string `json:"InstanceInfoSet,omitnil,omitempty" name:"InstanceInfoSet"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeEdgeClusterExtraArgsRequest ¶
type DescribeEdgeClusterExtraArgsRequest struct { *tchttp.BaseRequest // Cluster ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` }
func NewDescribeEdgeClusterExtraArgsRequest ¶
func NewDescribeEdgeClusterExtraArgsRequest() (request *DescribeEdgeClusterExtraArgsRequest)
func (*DescribeEdgeClusterExtraArgsRequest) FromJsonString ¶
func (r *DescribeEdgeClusterExtraArgsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeEdgeClusterExtraArgsRequest) ToJsonString ¶
func (r *DescribeEdgeClusterExtraArgsRequest) ToJsonString() string
type DescribeEdgeClusterExtraArgsRequestParams ¶
type DescribeEdgeClusterExtraArgsRequestParams struct { // Cluster ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` }
Predefined struct for user
type DescribeEdgeClusterExtraArgsResponse ¶
type DescribeEdgeClusterExtraArgsResponse struct { *tchttp.BaseResponse Response *DescribeEdgeClusterExtraArgsResponseParams `json:"Response"` }
func NewDescribeEdgeClusterExtraArgsResponse ¶
func NewDescribeEdgeClusterExtraArgsResponse() (response *DescribeEdgeClusterExtraArgsResponse)
func (*DescribeEdgeClusterExtraArgsResponse) FromJsonString ¶
func (r *DescribeEdgeClusterExtraArgsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeEdgeClusterExtraArgsResponse) ToJsonString ¶
func (r *DescribeEdgeClusterExtraArgsResponse) ToJsonString() string
type DescribeEdgeClusterExtraArgsResponseParams ¶
type DescribeEdgeClusterExtraArgsResponseParams struct { // Custom parameters of the cluster // Note: This field may return `null`, indicating that no valid values can be obtained. ClusterExtraArgs *EdgeClusterExtraArgs `json:"ClusterExtraArgs,omitnil,omitempty" name:"ClusterExtraArgs"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeEdgeClusterInstancesRequest ¶
type DescribeEdgeClusterInstancesRequest struct { *tchttp.BaseRequest // Cluster ID ClusterID *string `json:"ClusterID,omitnil,omitempty" name:"ClusterID"` // Max number of returned entries Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // Offset Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Filter condition. Only `NodeName` is supported. Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` }
func NewDescribeEdgeClusterInstancesRequest ¶
func NewDescribeEdgeClusterInstancesRequest() (request *DescribeEdgeClusterInstancesRequest)
func (*DescribeEdgeClusterInstancesRequest) FromJsonString ¶
func (r *DescribeEdgeClusterInstancesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeEdgeClusterInstancesRequest) ToJsonString ¶
func (r *DescribeEdgeClusterInstancesRequest) ToJsonString() string
type DescribeEdgeClusterInstancesRequestParams ¶
type DescribeEdgeClusterInstancesRequestParams struct { // Cluster ID ClusterID *string `json:"ClusterID,omitnil,omitempty" name:"ClusterID"` // Max number of returned entries Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // Offset Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Filter condition. Only `NodeName` is supported. Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` }
Predefined struct for user
type DescribeEdgeClusterInstancesResponse ¶
type DescribeEdgeClusterInstancesResponse struct { *tchttp.BaseResponse Response *DescribeEdgeClusterInstancesResponseParams `json:"Response"` }
func NewDescribeEdgeClusterInstancesResponse ¶
func NewDescribeEdgeClusterInstancesResponse() (response *DescribeEdgeClusterInstancesResponse)
func (*DescribeEdgeClusterInstancesResponse) FromJsonString ¶
func (r *DescribeEdgeClusterInstancesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeEdgeClusterInstancesResponse) ToJsonString ¶
func (r *DescribeEdgeClusterInstancesResponse) ToJsonString() string
type DescribeEdgeClusterInstancesResponseParams ¶
type DescribeEdgeClusterInstancesResponseParams struct { // Total number of nodes in the cluster TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // Array of node information InstanceInfoSet *string `json:"InstanceInfoSet,omitnil,omitempty" name:"InstanceInfoSet"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeEdgeClusterUpgradeInfoRequest ¶
type DescribeEdgeClusterUpgradeInfoRequest struct { *tchttp.BaseRequest // Cluster ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // Target TKEEdge version EdgeVersion *string `json:"EdgeVersion,omitnil,omitempty" name:"EdgeVersion"` }
func NewDescribeEdgeClusterUpgradeInfoRequest ¶
func NewDescribeEdgeClusterUpgradeInfoRequest() (request *DescribeEdgeClusterUpgradeInfoRequest)
func (*DescribeEdgeClusterUpgradeInfoRequest) FromJsonString ¶
func (r *DescribeEdgeClusterUpgradeInfoRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeEdgeClusterUpgradeInfoRequest) ToJsonString ¶
func (r *DescribeEdgeClusterUpgradeInfoRequest) ToJsonString() string
type DescribeEdgeClusterUpgradeInfoRequestParams ¶
type DescribeEdgeClusterUpgradeInfoRequestParams struct { // Cluster ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // Target TKEEdge version EdgeVersion *string `json:"EdgeVersion,omitnil,omitempty" name:"EdgeVersion"` }
Predefined struct for user
type DescribeEdgeClusterUpgradeInfoResponse ¶
type DescribeEdgeClusterUpgradeInfoResponse struct { *tchttp.BaseResponse Response *DescribeEdgeClusterUpgradeInfoResponseParams `json:"Response"` }
func NewDescribeEdgeClusterUpgradeInfoResponse ¶
func NewDescribeEdgeClusterUpgradeInfoResponse() (response *DescribeEdgeClusterUpgradeInfoResponse)
func (*DescribeEdgeClusterUpgradeInfoResponse) FromJsonString ¶
func (r *DescribeEdgeClusterUpgradeInfoResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeEdgeClusterUpgradeInfoResponse) ToJsonString ¶
func (r *DescribeEdgeClusterUpgradeInfoResponse) ToJsonString() string
type DescribeEdgeClusterUpgradeInfoResponseParams ¶
type DescribeEdgeClusterUpgradeInfoResponseParams struct { // Upgradeable cluster component // Note: This field may return `null`, indicating that no valid value can be obtained. ComponentVersion *string `json:"ComponentVersion,omitnil,omitempty" name:"ComponentVersion"` // Current version of the edge cluster // Note: This field may return `null`, indicating that no valid value can be obtained. EdgeVersionCurrent *string `json:"EdgeVersionCurrent,omitnil,omitempty" name:"EdgeVersionCurrent"` // Prefix of the image registry of an edge component (including domain name and namespace) // Note: This field may return `null`, indicating that no valid value can be obtained. RegistryPrefix *string `json:"RegistryPrefix,omitnil,omitempty" name:"RegistryPrefix"` // Cluster upgrade status. Valid values: `Running`, `Updating`, `Failed` // Note: This field may return `null`, indicating that no valid value can be obtained. ClusterUpgradeStatus *string `json:"ClusterUpgradeStatus,omitnil,omitempty" name:"ClusterUpgradeStatus"` // Reason for `Updating` or `Failed` // Note: This field may return `null`, indicating that no valid value can be obtained. ClusterUpgradeStatusReason *string `json:"ClusterUpgradeStatusReason,omitnil,omitempty" name:"ClusterUpgradeStatusReason"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeEdgeLogSwitchesRequest ¶
type DescribeEdgeLogSwitchesRequest struct { *tchttp.BaseRequest // List of cluster IDs ClusterIds []*string `json:"ClusterIds,omitnil,omitempty" name:"ClusterIds"` }
func NewDescribeEdgeLogSwitchesRequest ¶
func NewDescribeEdgeLogSwitchesRequest() (request *DescribeEdgeLogSwitchesRequest)
func (*DescribeEdgeLogSwitchesRequest) FromJsonString ¶
func (r *DescribeEdgeLogSwitchesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeEdgeLogSwitchesRequest) ToJsonString ¶
func (r *DescribeEdgeLogSwitchesRequest) ToJsonString() string
type DescribeEdgeLogSwitchesRequestParams ¶
type DescribeEdgeLogSwitchesRequestParams struct { // List of cluster IDs ClusterIds []*string `json:"ClusterIds,omitnil,omitempty" name:"ClusterIds"` }
Predefined struct for user
type DescribeEdgeLogSwitchesResponse ¶
type DescribeEdgeLogSwitchesResponse struct { *tchttp.BaseResponse Response *DescribeEdgeLogSwitchesResponseParams `json:"Response"` }
func NewDescribeEdgeLogSwitchesResponse ¶
func NewDescribeEdgeLogSwitchesResponse() (response *DescribeEdgeLogSwitchesResponse)
func (*DescribeEdgeLogSwitchesResponse) FromJsonString ¶
func (r *DescribeEdgeLogSwitchesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeEdgeLogSwitchesResponse) ToJsonString ¶
func (r *DescribeEdgeLogSwitchesResponse) ToJsonString() string
type DescribeEdgeLogSwitchesResponseParams ¶
type DescribeEdgeLogSwitchesResponseParams struct { // Array of TKE Edge cluster log switches // Note: This field may return `null`, indicating that no valid values can be obtained. SwitchSet []*string `json:"SwitchSet,omitnil,omitempty" name:"SwitchSet"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeEnableVpcCniProgressRequest ¶
type DescribeEnableVpcCniProgressRequest struct { *tchttp.BaseRequest // ID of the cluster for which you want to enable the VPC-CNI mode ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` }
func NewDescribeEnableVpcCniProgressRequest ¶
func NewDescribeEnableVpcCniProgressRequest() (request *DescribeEnableVpcCniProgressRequest)
func (*DescribeEnableVpcCniProgressRequest) FromJsonString ¶
func (r *DescribeEnableVpcCniProgressRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeEnableVpcCniProgressRequest) ToJsonString ¶
func (r *DescribeEnableVpcCniProgressRequest) ToJsonString() string
type DescribeEnableVpcCniProgressRequestParams ¶
type DescribeEnableVpcCniProgressRequestParams struct { // ID of the cluster for which you want to enable the VPC-CNI mode ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` }
Predefined struct for user
type DescribeEnableVpcCniProgressResponse ¶
type DescribeEnableVpcCniProgressResponse struct { *tchttp.BaseResponse Response *DescribeEnableVpcCniProgressResponseParams `json:"Response"` }
func NewDescribeEnableVpcCniProgressResponse ¶
func NewDescribeEnableVpcCniProgressResponse() (response *DescribeEnableVpcCniProgressResponse)
func (*DescribeEnableVpcCniProgressResponse) FromJsonString ¶
func (r *DescribeEnableVpcCniProgressResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeEnableVpcCniProgressResponse) ToJsonString ¶
func (r *DescribeEnableVpcCniProgressResponse) ToJsonString() string
type DescribeEnableVpcCniProgressResponseParams ¶
type DescribeEnableVpcCniProgressResponseParams struct { // Task status, which can be `Running`, `Succeed`, or `Failed`. Status *string `json:"Status,omitnil,omitempty" name:"Status"` // The description for the task status when the task status is “Failed”, for example, failed to install the IPAMD component. // Note: this field may return `null`, indicating that no valid values can be obtained. ErrorMessage *string `json:"ErrorMessage,omitnil,omitempty" name:"ErrorMessage"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeEncryptionStatusRequest ¶
type DescribeEncryptionStatusRequest struct { *tchttp.BaseRequest // Cluster ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` }
func NewDescribeEncryptionStatusRequest ¶
func NewDescribeEncryptionStatusRequest() (request *DescribeEncryptionStatusRequest)
func (*DescribeEncryptionStatusRequest) FromJsonString ¶
func (r *DescribeEncryptionStatusRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeEncryptionStatusRequest) ToJsonString ¶
func (r *DescribeEncryptionStatusRequest) ToJsonString() string
type DescribeEncryptionStatusRequestParams ¶
type DescribeEncryptionStatusRequestParams struct { // Cluster ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` }
Predefined struct for user
type DescribeEncryptionStatusResponse ¶
type DescribeEncryptionStatusResponse struct { *tchttp.BaseResponse Response *DescribeEncryptionStatusResponseParams `json:"Response"` }
func NewDescribeEncryptionStatusResponse ¶
func NewDescribeEncryptionStatusResponse() (response *DescribeEncryptionStatusResponse)
func (*DescribeEncryptionStatusResponse) FromJsonString ¶
func (r *DescribeEncryptionStatusResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeEncryptionStatusResponse) ToJsonString ¶
func (r *DescribeEncryptionStatusResponse) ToJsonString() string
type DescribeEncryptionStatusResponseParams ¶
type DescribeEncryptionStatusResponseParams struct { // Encryption status Status *string `json:"Status,omitnil,omitempty" name:"Status"` // Encryption error message ErrorMsg *string `json:"ErrorMsg,omitnil,omitempty" name:"ErrorMsg"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeExistedInstancesRequest ¶
type DescribeExistedInstancesRequest struct { *tchttp.BaseRequest // Cluster ID. Enter the `ClusterId` field returned when you call the DescribeClusters API (Only VPC ID obtained through `ClusterId` need filtering conditions. When comparing statuses, the nodes on all clusters in this region will be used for comparison. You cannot specify `InstanceIds` and `ClusterId` at the same time.) ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // Query by one or more instance ID(s). Instance ID format: ins-xxxxxxxx. (Refer to section ID.N of the API overview for this parameter's specific format.) Up to 100 instances are allowed for each request. You cannot specify InstanceIds and Filters at the same time. InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" name:"InstanceIds"` // Filter condition. For fields and other information, see [the DescribeInstances API](https://intl.cloud.tencent.com/document/api/213/15728?from_cn_redirect=1). If a ClusterId has been set, then the cluster's VPC ID will be attached as a query field. In this situation, if a "vpc-id" is specified in Filter, then the specified VPC ID must be consistent with the cluster's VPC ID. Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` // Filter by instance IP (Supports both private and public IPs) VagueIpAddress *string `json:"VagueIpAddress,omitnil,omitempty" name:"VagueIpAddress"` // Filter by instance name VagueInstanceName *string `json:"VagueInstanceName,omitnil,omitempty" name:"VagueInstanceName"` // Offset. Default value: 0. For more information on Offset, see the relevant section in the API [Introduction](https://intl.cloud.tencent.com/document/api/213/15688?from_cn_redirect=1). Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Number of returned results. Default value: 20. Maximum value: 100. For more information on Limit, see the relevant section in the API [Introduction](https://intl.cloud.tencent.com/document/api/213/15688?from_cn_redirect=1). Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` // Filter by multiple instance IPs IpAddresses []*string `json:"IpAddresses,omitnil,omitempty" name:"IpAddresses"` }
func NewDescribeExistedInstancesRequest ¶
func NewDescribeExistedInstancesRequest() (request *DescribeExistedInstancesRequest)
func (*DescribeExistedInstancesRequest) FromJsonString ¶
func (r *DescribeExistedInstancesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeExistedInstancesRequest) ToJsonString ¶
func (r *DescribeExistedInstancesRequest) ToJsonString() string
type DescribeExistedInstancesRequestParams ¶
type DescribeExistedInstancesRequestParams struct { // Cluster ID. Enter the `ClusterId` field returned when you call the DescribeClusters API (Only VPC ID obtained through `ClusterId` need filtering conditions. When comparing statuses, the nodes on all clusters in this region will be used for comparison. You cannot specify `InstanceIds` and `ClusterId` at the same time.) ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // Query by one or more instance ID(s). Instance ID format: ins-xxxxxxxx. (Refer to section ID.N of the API overview for this parameter's specific format.) Up to 100 instances are allowed for each request. You cannot specify InstanceIds and Filters at the same time. InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" name:"InstanceIds"` // Filter condition. For fields and other information, see [the DescribeInstances API](https://intl.cloud.tencent.com/document/api/213/15728?from_cn_redirect=1). If a ClusterId has been set, then the cluster's VPC ID will be attached as a query field. In this situation, if a "vpc-id" is specified in Filter, then the specified VPC ID must be consistent with the cluster's VPC ID. Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` // Filter by instance IP (Supports both private and public IPs) VagueIpAddress *string `json:"VagueIpAddress,omitnil,omitempty" name:"VagueIpAddress"` // Filter by instance name VagueInstanceName *string `json:"VagueInstanceName,omitnil,omitempty" name:"VagueInstanceName"` // Offset. Default value: 0. For more information on Offset, see the relevant section in the API [Introduction](https://intl.cloud.tencent.com/document/api/213/15688?from_cn_redirect=1). Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Number of returned results. Default value: 20. Maximum value: 100. For more information on Limit, see the relevant section in the API [Introduction](https://intl.cloud.tencent.com/document/api/213/15688?from_cn_redirect=1). Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` // Filter by multiple instance IPs IpAddresses []*string `json:"IpAddresses,omitnil,omitempty" name:"IpAddresses"` }
Predefined struct for user
type DescribeExistedInstancesResponse ¶
type DescribeExistedInstancesResponse struct { *tchttp.BaseResponse Response *DescribeExistedInstancesResponseParams `json:"Response"` }
func NewDescribeExistedInstancesResponse ¶
func NewDescribeExistedInstancesResponse() (response *DescribeExistedInstancesResponse)
func (*DescribeExistedInstancesResponse) FromJsonString ¶
func (r *DescribeExistedInstancesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeExistedInstancesResponse) ToJsonString ¶
func (r *DescribeExistedInstancesResponse) ToJsonString() string
type DescribeExistedInstancesResponseParams ¶
type DescribeExistedInstancesResponseParams struct { // Array of existing instance information. // Note: This field may return null, indicating that no valid values can be obtained. ExistedInstanceSet []*ExistedInstance `json:"ExistedInstanceSet,omitnil,omitempty" name:"ExistedInstanceSet"` // Number of instances that match the filter condition(s). TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeImagesRequest ¶
type DescribeImagesRequest struct {
*tchttp.BaseRequest
}
func NewDescribeImagesRequest ¶
func NewDescribeImagesRequest() (request *DescribeImagesRequest)
func (*DescribeImagesRequest) FromJsonString ¶
func (r *DescribeImagesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeImagesRequest) ToJsonString ¶
func (r *DescribeImagesRequest) ToJsonString() string
type DescribeImagesRequestParams ¶
type DescribeImagesRequestParams struct { }
Predefined struct for user
type DescribeImagesResponse ¶
type DescribeImagesResponse struct { *tchttp.BaseResponse Response *DescribeImagesResponseParams `json:"Response"` }
func NewDescribeImagesResponse ¶
func NewDescribeImagesResponse() (response *DescribeImagesResponse)
func (*DescribeImagesResponse) FromJsonString ¶
func (r *DescribeImagesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeImagesResponse) ToJsonString ¶
func (r *DescribeImagesResponse) ToJsonString() string
type DescribeImagesResponseParams ¶
type DescribeImagesResponseParams struct { // Number of images // Note: this field may return null, indicating that no valid values can be obtained. TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // Image information list // Note: this field may return null, indicating that no valid values can be obtained. ImageInstanceSet []*ImageInstance `json:"ImageInstanceSet,omitnil,omitempty" name:"ImageInstanceSet"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribePrometheusInstanceRequest ¶
type DescribePrometheusInstanceRequest struct { *tchttp.BaseRequest // Instance ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` }
func NewDescribePrometheusInstanceRequest ¶
func NewDescribePrometheusInstanceRequest() (request *DescribePrometheusInstanceRequest)
func (*DescribePrometheusInstanceRequest) FromJsonString ¶
func (r *DescribePrometheusInstanceRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribePrometheusInstanceRequest) ToJsonString ¶
func (r *DescribePrometheusInstanceRequest) ToJsonString() string
type DescribePrometheusInstanceRequestParams ¶
type DescribePrometheusInstanceRequestParams struct { // Instance ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` }
Predefined struct for user
type DescribePrometheusInstanceResponse ¶
type DescribePrometheusInstanceResponse struct { *tchttp.BaseResponse Response *DescribePrometheusInstanceResponseParams `json:"Response"` }
func NewDescribePrometheusInstanceResponse ¶
func NewDescribePrometheusInstanceResponse() (response *DescribePrometheusInstanceResponse)
func (*DescribePrometheusInstanceResponse) FromJsonString ¶
func (r *DescribePrometheusInstanceResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribePrometheusInstanceResponse) ToJsonString ¶
func (r *DescribePrometheusInstanceResponse) ToJsonString() string
type DescribePrometheusInstanceResponseParams ¶
type DescribePrometheusInstanceResponseParams struct { // Instance ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Instance name Name *string `json:"Name,omitnil,omitempty" name:"Name"` // VPC ID VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"` // Subnet ID SubnetId *string `json:"SubnetId,omitnil,omitempty" name:"SubnetId"` // COS bucket name COSBucket *string `json:"COSBucket,omitnil,omitempty" name:"COSBucket"` // Data query address QueryAddress *string `json:"QueryAddress,omitnil,omitempty" name:"QueryAddress"` // The grafana related information in the instance // Note: this field may return `null`, indicating that no valid value can be obtained. Grafana *PrometheusGrafanaInfo `json:"Grafana,omitnil,omitempty" name:"Grafana"` // Custom alertmanager // Note: this field may return `null`, indicating that no valid value can be obtained. AlertManagerUrl *string `json:"AlertManagerUrl,omitnil,omitempty" name:"AlertManagerUrl"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeRegionsRequest ¶
type DescribeRegionsRequest struct {
*tchttp.BaseRequest
}
func NewDescribeRegionsRequest ¶
func NewDescribeRegionsRequest() (request *DescribeRegionsRequest)
func (*DescribeRegionsRequest) FromJsonString ¶
func (r *DescribeRegionsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeRegionsRequest) ToJsonString ¶
func (r *DescribeRegionsRequest) ToJsonString() string
type DescribeRegionsRequestParams ¶
type DescribeRegionsRequestParams struct { }
Predefined struct for user
type DescribeRegionsResponse ¶
type DescribeRegionsResponse struct { *tchttp.BaseResponse Response *DescribeRegionsResponseParams `json:"Response"` }
func NewDescribeRegionsResponse ¶
func NewDescribeRegionsResponse() (response *DescribeRegionsResponse)
func (*DescribeRegionsResponse) FromJsonString ¶
func (r *DescribeRegionsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeRegionsResponse) ToJsonString ¶
func (r *DescribeRegionsResponse) ToJsonString() string
type DescribeRegionsResponseParams ¶
type DescribeRegionsResponseParams struct { // Number of regions // Note: this field may return null, indicating that no valid values can be obtained. TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // ## Region List // Note: this field may return null, indicating that no valid values can be obtained. RegionInstanceSet []*RegionInstance `json:"RegionInstanceSet,omitnil,omitempty" name:"RegionInstanceSet"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeResourceUsageRequest ¶
type DescribeResourceUsageRequest struct { *tchttp.BaseRequest // Cluster ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` }
func NewDescribeResourceUsageRequest ¶
func NewDescribeResourceUsageRequest() (request *DescribeResourceUsageRequest)
func (*DescribeResourceUsageRequest) FromJsonString ¶
func (r *DescribeResourceUsageRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeResourceUsageRequest) ToJsonString ¶
func (r *DescribeResourceUsageRequest) ToJsonString() string
type DescribeResourceUsageRequestParams ¶
type DescribeResourceUsageRequestParams struct { // Cluster ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` }
Predefined struct for user
type DescribeResourceUsageResponse ¶
type DescribeResourceUsageResponse struct { *tchttp.BaseResponse Response *DescribeResourceUsageResponseParams `json:"Response"` }
func NewDescribeResourceUsageResponse ¶
func NewDescribeResourceUsageResponse() (response *DescribeResourceUsageResponse)
func (*DescribeResourceUsageResponse) FromJsonString ¶
func (r *DescribeResourceUsageResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeResourceUsageResponse) ToJsonString ¶
func (r *DescribeResourceUsageResponse) ToJsonString() string
type DescribeResourceUsageResponseParams ¶
type DescribeResourceUsageResponseParams struct { // CRD usage CRDUsage *ResourceUsage `json:"CRDUsage,omitnil,omitempty" name:"CRDUsage"` // Pod usage PodUsage *uint64 `json:"PodUsage,omitnil,omitempty" name:"PodUsage"` // ReplicaSet usage RSUsage *uint64 `json:"RSUsage,omitnil,omitempty" name:"RSUsage"` // ConfigMap usage ConfigMapUsage *uint64 `json:"ConfigMapUsage,omitnil,omitempty" name:"ConfigMapUsage"` // Other resource usage OtherUsage *ResourceUsage `json:"OtherUsage,omitnil,omitempty" name:"OtherUsage"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeRouteTableConflictsRequest ¶
type DescribeRouteTableConflictsRequest struct { *tchttp.BaseRequest // Route table CIDR RouteTableCidrBlock *string `json:"RouteTableCidrBlock,omitnil,omitempty" name:"RouteTableCidrBlock"` // VPC bound to the route table VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"` }
func NewDescribeRouteTableConflictsRequest ¶
func NewDescribeRouteTableConflictsRequest() (request *DescribeRouteTableConflictsRequest)
func (*DescribeRouteTableConflictsRequest) FromJsonString ¶
func (r *DescribeRouteTableConflictsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeRouteTableConflictsRequest) ToJsonString ¶
func (r *DescribeRouteTableConflictsRequest) ToJsonString() string
type DescribeRouteTableConflictsRequestParams ¶
type DescribeRouteTableConflictsRequestParams struct { // Route table CIDR RouteTableCidrBlock *string `json:"RouteTableCidrBlock,omitnil,omitempty" name:"RouteTableCidrBlock"` // VPC bound to the route table VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"` }
Predefined struct for user
type DescribeRouteTableConflictsResponse ¶
type DescribeRouteTableConflictsResponse struct { *tchttp.BaseResponse Response *DescribeRouteTableConflictsResponseParams `json:"Response"` }
func NewDescribeRouteTableConflictsResponse ¶
func NewDescribeRouteTableConflictsResponse() (response *DescribeRouteTableConflictsResponse)
func (*DescribeRouteTableConflictsResponse) FromJsonString ¶
func (r *DescribeRouteTableConflictsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeRouteTableConflictsResponse) ToJsonString ¶
func (r *DescribeRouteTableConflictsResponse) ToJsonString() string
type DescribeRouteTableConflictsResponseParams ¶
type DescribeRouteTableConflictsResponseParams struct { // Whether there is a conflict in the route table. HasConflict *bool `json:"HasConflict,omitnil,omitempty" name:"HasConflict"` // Route table conflict list. // Note: This field may return null, indicating that no valid values can be obtained. RouteTableConflictSet []*RouteTableConflict `json:"RouteTableConflictSet,omitnil,omitempty" name:"RouteTableConflictSet"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeTKEEdgeClusterCredentialRequest ¶
type DescribeTKEEdgeClusterCredentialRequest struct { *tchttp.BaseRequest // Cluster ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` }
func NewDescribeTKEEdgeClusterCredentialRequest ¶
func NewDescribeTKEEdgeClusterCredentialRequest() (request *DescribeTKEEdgeClusterCredentialRequest)
func (*DescribeTKEEdgeClusterCredentialRequest) FromJsonString ¶
func (r *DescribeTKEEdgeClusterCredentialRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeTKEEdgeClusterCredentialRequest) ToJsonString ¶
func (r *DescribeTKEEdgeClusterCredentialRequest) ToJsonString() string
type DescribeTKEEdgeClusterCredentialRequestParams ¶
type DescribeTKEEdgeClusterCredentialRequestParams struct { // Cluster ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` }
Predefined struct for user
type DescribeTKEEdgeClusterCredentialResponse ¶
type DescribeTKEEdgeClusterCredentialResponse struct { *tchttp.BaseResponse Response *DescribeTKEEdgeClusterCredentialResponseParams `json:"Response"` }
func NewDescribeTKEEdgeClusterCredentialResponse ¶
func NewDescribeTKEEdgeClusterCredentialResponse() (response *DescribeTKEEdgeClusterCredentialResponse)
func (*DescribeTKEEdgeClusterCredentialResponse) FromJsonString ¶
func (r *DescribeTKEEdgeClusterCredentialResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeTKEEdgeClusterCredentialResponse) ToJsonString ¶
func (r *DescribeTKEEdgeClusterCredentialResponse) ToJsonString() string
type DescribeTKEEdgeClusterCredentialResponseParams ¶
type DescribeTKEEdgeClusterCredentialResponseParams struct { // Access address of the cluster // Note: This field may return `null`, indicating that no valid values can be obtained. Addresses []*IPAddress `json:"Addresses,omitnil,omitempty" name:"Addresses"` // Cluster authentication information Credential *ClusterCredential `json:"Credential,omitnil,omitempty" name:"Credential"` // Public network access information of the cluster PublicLB *EdgeClusterPublicLB `json:"PublicLB,omitnil,omitempty" name:"PublicLB"` // Private network access information of the cluster InternalLB *EdgeClusterInternalLB `json:"InternalLB,omitnil,omitempty" name:"InternalLB"` // CoreDns deployment information of the cluster CoreDns *string `json:"CoreDns,omitnil,omitempty" name:"CoreDns"` // Multi-region health check deployment information of the cluster HealthRegion *string `json:"HealthRegion,omitnil,omitempty" name:"HealthRegion"` // Health check deployment information of the cluster Health *string `json:"Health,omitnil,omitempty" name:"Health"` // Whether to deploy GridDaemon to support headless service GridDaemon *string `json:"GridDaemon,omitnil,omitempty" name:"GridDaemon"` // Access kins clusters over the public network UnitCluster *string `json:"UnitCluster,omitnil,omitempty" name:"UnitCluster"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeTKEEdgeClusterStatusRequest ¶
type DescribeTKEEdgeClusterStatusRequest struct { *tchttp.BaseRequest // Edge compute cluster ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` }
func NewDescribeTKEEdgeClusterStatusRequest ¶
func NewDescribeTKEEdgeClusterStatusRequest() (request *DescribeTKEEdgeClusterStatusRequest)
func (*DescribeTKEEdgeClusterStatusRequest) FromJsonString ¶
func (r *DescribeTKEEdgeClusterStatusRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeTKEEdgeClusterStatusRequest) ToJsonString ¶
func (r *DescribeTKEEdgeClusterStatusRequest) ToJsonString() string
type DescribeTKEEdgeClusterStatusRequestParams ¶
type DescribeTKEEdgeClusterStatusRequestParams struct { // Edge compute cluster ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` }
Predefined struct for user
type DescribeTKEEdgeClusterStatusResponse ¶
type DescribeTKEEdgeClusterStatusResponse struct { *tchttp.BaseResponse Response *DescribeTKEEdgeClusterStatusResponseParams `json:"Response"` }
func NewDescribeTKEEdgeClusterStatusResponse ¶
func NewDescribeTKEEdgeClusterStatusResponse() (response *DescribeTKEEdgeClusterStatusResponse)
func (*DescribeTKEEdgeClusterStatusResponse) FromJsonString ¶
func (r *DescribeTKEEdgeClusterStatusResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeTKEEdgeClusterStatusResponse) ToJsonString ¶
func (r *DescribeTKEEdgeClusterStatusResponse) ToJsonString() string
type DescribeTKEEdgeClusterStatusResponseParams ¶
type DescribeTKEEdgeClusterStatusResponseParams struct { // Current cluster status Phase *string `json:"Phase,omitnil,omitempty" name:"Phase"` // Array of cluster processes Conditions []*ClusterCondition `json:"Conditions,omitnil,omitempty" name:"Conditions"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeTKEEdgeClustersRequest ¶
type DescribeTKEEdgeClustersRequest struct { *tchttp.BaseRequest // Cluster ID list (when it is empty, // all clusters under the account are obtained) ClusterIds []*string `json:"ClusterIds,omitnil,omitempty" name:"ClusterIds"` // Offset. Default value: `0` Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Maximum number of output entries. Default value: `20` Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` // Filter conditions. Values: `ClusterName` and tags in the format of ["key1:value1","key2:value2"]. Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` }
func NewDescribeTKEEdgeClustersRequest ¶
func NewDescribeTKEEdgeClustersRequest() (request *DescribeTKEEdgeClustersRequest)
func (*DescribeTKEEdgeClustersRequest) FromJsonString ¶
func (r *DescribeTKEEdgeClustersRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeTKEEdgeClustersRequest) ToJsonString ¶
func (r *DescribeTKEEdgeClustersRequest) ToJsonString() string
type DescribeTKEEdgeClustersRequestParams ¶
type DescribeTKEEdgeClustersRequestParams struct { // Cluster ID list (when it is empty, // all clusters under the account are obtained) ClusterIds []*string `json:"ClusterIds,omitnil,omitempty" name:"ClusterIds"` // Offset. Default value: `0` Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Maximum number of output entries. Default value: `20` Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` // Filter conditions. Values: `ClusterName` and tags in the format of ["key1:value1","key2:value2"]. Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` }
Predefined struct for user
type DescribeTKEEdgeClustersResponse ¶
type DescribeTKEEdgeClustersResponse struct { *tchttp.BaseResponse Response *DescribeTKEEdgeClustersResponseParams `json:"Response"` }
func NewDescribeTKEEdgeClustersResponse ¶
func NewDescribeTKEEdgeClustersResponse() (response *DescribeTKEEdgeClustersResponse)
func (*DescribeTKEEdgeClustersResponse) FromJsonString ¶
func (r *DescribeTKEEdgeClustersResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeTKEEdgeClustersResponse) ToJsonString ¶
func (r *DescribeTKEEdgeClustersResponse) ToJsonString() string
type DescribeTKEEdgeClustersResponseParams ¶
type DescribeTKEEdgeClustersResponseParams struct { // Total number of clusters TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // Cluster information list Clusters []*EdgeCluster `json:"Clusters,omitnil,omitempty" name:"Clusters"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeTKEEdgeExternalKubeconfigRequest ¶
type DescribeTKEEdgeExternalKubeconfigRequest struct { *tchttp.BaseRequest // Cluster ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` }
func NewDescribeTKEEdgeExternalKubeconfigRequest ¶
func NewDescribeTKEEdgeExternalKubeconfigRequest() (request *DescribeTKEEdgeExternalKubeconfigRequest)
func (*DescribeTKEEdgeExternalKubeconfigRequest) FromJsonString ¶
func (r *DescribeTKEEdgeExternalKubeconfigRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeTKEEdgeExternalKubeconfigRequest) ToJsonString ¶
func (r *DescribeTKEEdgeExternalKubeconfigRequest) ToJsonString() string
type DescribeTKEEdgeExternalKubeconfigRequestParams ¶
type DescribeTKEEdgeExternalKubeconfigRequestParams struct { // Cluster ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` }
Predefined struct for user
type DescribeTKEEdgeExternalKubeconfigResponse ¶
type DescribeTKEEdgeExternalKubeconfigResponse struct { *tchttp.BaseResponse Response *DescribeTKEEdgeExternalKubeconfigResponseParams `json:"Response"` }
func NewDescribeTKEEdgeExternalKubeconfigResponse ¶
func NewDescribeTKEEdgeExternalKubeconfigResponse() (response *DescribeTKEEdgeExternalKubeconfigResponse)
func (*DescribeTKEEdgeExternalKubeconfigResponse) FromJsonString ¶
func (r *DescribeTKEEdgeExternalKubeconfigResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeTKEEdgeExternalKubeconfigResponse) ToJsonString ¶
func (r *DescribeTKEEdgeExternalKubeconfigResponse) ToJsonString() string
type DescribeTKEEdgeExternalKubeconfigResponseParams ¶
type DescribeTKEEdgeExternalKubeconfigResponseParams struct { // Kubeconfig file content Kubeconfig *string `json:"Kubeconfig,omitnil,omitempty" name:"Kubeconfig"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeTKEEdgeScriptRequest ¶
type DescribeTKEEdgeScriptRequest struct { *tchttp.BaseRequest // Cluster ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // ENI Interface *string `json:"Interface,omitnil,omitempty" name:"Interface"` // Name of the name NodeName *string `json:"NodeName,omitnil,omitempty" name:"NodeName"` // Node configuration in JSON format Config *string `json:"Config,omitnil,omitempty" name:"Config"` // A legacy version of edgectl script can be downloaded. The latest version is downloaded by default. The version information can be checked in the script. ScriptVersion *string `json:"ScriptVersion,omitnil,omitempty" name:"ScriptVersion"` }
func NewDescribeTKEEdgeScriptRequest ¶
func NewDescribeTKEEdgeScriptRequest() (request *DescribeTKEEdgeScriptRequest)
func (*DescribeTKEEdgeScriptRequest) FromJsonString ¶
func (r *DescribeTKEEdgeScriptRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeTKEEdgeScriptRequest) ToJsonString ¶
func (r *DescribeTKEEdgeScriptRequest) ToJsonString() string
type DescribeTKEEdgeScriptRequestParams ¶
type DescribeTKEEdgeScriptRequestParams struct { // Cluster ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // ENI Interface *string `json:"Interface,omitnil,omitempty" name:"Interface"` // Name of the name NodeName *string `json:"NodeName,omitnil,omitempty" name:"NodeName"` // Node configuration in JSON format Config *string `json:"Config,omitnil,omitempty" name:"Config"` // A legacy version of edgectl script can be downloaded. The latest version is downloaded by default. The version information can be checked in the script. ScriptVersion *string `json:"ScriptVersion,omitnil,omitempty" name:"ScriptVersion"` }
Predefined struct for user
type DescribeTKEEdgeScriptResponse ¶
type DescribeTKEEdgeScriptResponse struct { *tchttp.BaseResponse Response *DescribeTKEEdgeScriptResponseParams `json:"Response"` }
func NewDescribeTKEEdgeScriptResponse ¶
func NewDescribeTKEEdgeScriptResponse() (response *DescribeTKEEdgeScriptResponse)
func (*DescribeTKEEdgeScriptResponse) FromJsonString ¶
func (r *DescribeTKEEdgeScriptResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeTKEEdgeScriptResponse) ToJsonString ¶
func (r *DescribeTKEEdgeScriptResponse) ToJsonString() string
type DescribeTKEEdgeScriptResponseParams ¶
type DescribeTKEEdgeScriptResponseParams struct { // Whether to download the link Link *string `json:"Link,omitnil,omitempty" name:"Link"` // Whether to download the desired token Token *string `json:"Token,omitnil,omitempty" name:"Token"` // Whether to download the command Command *string `json:"Command,omitnil,omitempty" name:"Command"` // Version of edgectl script. The latest version is obtained by default. // Note: This field may return `null`, indicating that no valid values can be obtained. ScriptVersion *string `json:"ScriptVersion,omitnil,omitempty" name:"ScriptVersion"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeVersionsRequest ¶
type DescribeVersionsRequest struct {
*tchttp.BaseRequest
}
func NewDescribeVersionsRequest ¶
func NewDescribeVersionsRequest() (request *DescribeVersionsRequest)
func (*DescribeVersionsRequest) FromJsonString ¶
func (r *DescribeVersionsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeVersionsRequest) ToJsonString ¶
func (r *DescribeVersionsRequest) ToJsonString() string
type DescribeVersionsRequestParams ¶
type DescribeVersionsRequestParams struct { }
Predefined struct for user
type DescribeVersionsResponse ¶
type DescribeVersionsResponse struct { *tchttp.BaseResponse Response *DescribeVersionsResponseParams `json:"Response"` }
func NewDescribeVersionsResponse ¶
func NewDescribeVersionsResponse() (response *DescribeVersionsResponse)
func (*DescribeVersionsResponse) FromJsonString ¶
func (r *DescribeVersionsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeVersionsResponse) ToJsonString ¶
func (r *DescribeVersionsResponse) ToJsonString() string
type DescribeVersionsResponseParams ¶
type DescribeVersionsResponseParams struct { // Number of versions // Note: this field may return `null`, indicating that no valid values can be obtained. TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // Version list // Note: this field may return `null`, indicating that no valid values can be obtained. VersionInstanceSet []*VersionInstance `json:"VersionInstanceSet,omitnil,omitempty" name:"VersionInstanceSet"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeVpcCniPodLimitsRequest ¶
type DescribeVpcCniPodLimitsRequest struct { *tchttp.BaseRequest // The availability zone of the model to query, for example, `ap-guangzhou-3`. This field is left empty by default, that is, do not filter by the availability zone. Zone *string `json:"Zone,omitnil,omitempty" name:"Zone"` // The instance family to query, for example, `S5`. This field is left empty by default, that is, do not filter by the instance family. InstanceFamily *string `json:"InstanceFamily,omitnil,omitempty" name:"InstanceFamily"` // The instance model to query, for example, `S5.LARGE8`. This field is empty by default, that is, do not filter by instance type. InstanceType *string `json:"InstanceType,omitnil,omitempty" name:"InstanceType"` }
func NewDescribeVpcCniPodLimitsRequest ¶
func NewDescribeVpcCniPodLimitsRequest() (request *DescribeVpcCniPodLimitsRequest)
func (*DescribeVpcCniPodLimitsRequest) FromJsonString ¶
func (r *DescribeVpcCniPodLimitsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeVpcCniPodLimitsRequest) ToJsonString ¶
func (r *DescribeVpcCniPodLimitsRequest) ToJsonString() string
type DescribeVpcCniPodLimitsRequestParams ¶
type DescribeVpcCniPodLimitsRequestParams struct { // The availability zone of the model to query, for example, `ap-guangzhou-3`. This field is left empty by default, that is, do not filter by the availability zone. Zone *string `json:"Zone,omitnil,omitempty" name:"Zone"` // The instance family to query, for example, `S5`. This field is left empty by default, that is, do not filter by the instance family. InstanceFamily *string `json:"InstanceFamily,omitnil,omitempty" name:"InstanceFamily"` // The instance model to query, for example, `S5.LARGE8`. This field is empty by default, that is, do not filter by instance type. InstanceType *string `json:"InstanceType,omitnil,omitempty" name:"InstanceType"` }
Predefined struct for user
type DescribeVpcCniPodLimitsResponse ¶
type DescribeVpcCniPodLimitsResponse struct { *tchttp.BaseResponse Response *DescribeVpcCniPodLimitsResponseParams `json:"Response"` }
func NewDescribeVpcCniPodLimitsResponse ¶
func NewDescribeVpcCniPodLimitsResponse() (response *DescribeVpcCniPodLimitsResponse)
func (*DescribeVpcCniPodLimitsResponse) FromJsonString ¶
func (r *DescribeVpcCniPodLimitsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeVpcCniPodLimitsResponse) ToJsonString ¶
func (r *DescribeVpcCniPodLimitsResponse) ToJsonString() string
type DescribeVpcCniPodLimitsResponseParams ¶
type DescribeVpcCniPodLimitsResponseParams struct { // The number of the models // Note: this field may return `null`, indicating that no valid value can be obtained. TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // The model information and the maximum supported number of Pods in the VPC-CNI mode // Note: this field may return `null`, indicating that no valid value can be obtained. PodLimitsInstanceSet []*PodLimitsInstance `json:"PodLimitsInstanceSet,omitnil,omitempty" name:"PodLimitsInstanceSet"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DisableClusterDeletionProtectionRequest ¶
type DisableClusterDeletionProtectionRequest struct { *tchttp.BaseRequest // Cluster ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` }
func NewDisableClusterDeletionProtectionRequest ¶
func NewDisableClusterDeletionProtectionRequest() (request *DisableClusterDeletionProtectionRequest)
func (*DisableClusterDeletionProtectionRequest) FromJsonString ¶
func (r *DisableClusterDeletionProtectionRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DisableClusterDeletionProtectionRequest) ToJsonString ¶
func (r *DisableClusterDeletionProtectionRequest) ToJsonString() string
type DisableClusterDeletionProtectionRequestParams ¶
type DisableClusterDeletionProtectionRequestParams struct { // Cluster ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` }
Predefined struct for user
type DisableClusterDeletionProtectionResponse ¶
type DisableClusterDeletionProtectionResponse struct { *tchttp.BaseResponse Response *DisableClusterDeletionProtectionResponseParams `json:"Response"` }
func NewDisableClusterDeletionProtectionResponse ¶
func NewDisableClusterDeletionProtectionResponse() (response *DisableClusterDeletionProtectionResponse)
func (*DisableClusterDeletionProtectionResponse) FromJsonString ¶
func (r *DisableClusterDeletionProtectionResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DisableClusterDeletionProtectionResponse) ToJsonString ¶
func (r *DisableClusterDeletionProtectionResponse) ToJsonString() string
type DisableClusterDeletionProtectionResponseParams ¶
type DisableClusterDeletionProtectionResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DisableEncryptionProtectionRequest ¶
type DisableEncryptionProtectionRequest struct { *tchttp.BaseRequest // Cluster ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` }
func NewDisableEncryptionProtectionRequest ¶
func NewDisableEncryptionProtectionRequest() (request *DisableEncryptionProtectionRequest)
func (*DisableEncryptionProtectionRequest) FromJsonString ¶
func (r *DisableEncryptionProtectionRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DisableEncryptionProtectionRequest) ToJsonString ¶
func (r *DisableEncryptionProtectionRequest) ToJsonString() string
type DisableEncryptionProtectionRequestParams ¶
type DisableEncryptionProtectionRequestParams struct { // Cluster ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` }
Predefined struct for user
type DisableEncryptionProtectionResponse ¶
type DisableEncryptionProtectionResponse struct { *tchttp.BaseResponse Response *DisableEncryptionProtectionResponseParams `json:"Response"` }
func NewDisableEncryptionProtectionResponse ¶
func NewDisableEncryptionProtectionResponse() (response *DisableEncryptionProtectionResponse)
func (*DisableEncryptionProtectionResponse) FromJsonString ¶
func (r *DisableEncryptionProtectionResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DisableEncryptionProtectionResponse) ToJsonString ¶
func (r *DisableEncryptionProtectionResponse) ToJsonString() string
type DisableEncryptionProtectionResponseParams ¶
type DisableEncryptionProtectionResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DrainClusterVirtualNodeRequest ¶
type DrainClusterVirtualNodeRequest struct { *tchttp.BaseRequest // Cluster ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // Node name NodeName *string `json:"NodeName,omitnil,omitempty" name:"NodeName"` }
func NewDrainClusterVirtualNodeRequest ¶
func NewDrainClusterVirtualNodeRequest() (request *DrainClusterVirtualNodeRequest)
func (*DrainClusterVirtualNodeRequest) FromJsonString ¶
func (r *DrainClusterVirtualNodeRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DrainClusterVirtualNodeRequest) ToJsonString ¶
func (r *DrainClusterVirtualNodeRequest) ToJsonString() string
type DrainClusterVirtualNodeRequestParams ¶
type DrainClusterVirtualNodeRequestParams struct { // Cluster ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // Node name NodeName *string `json:"NodeName,omitnil,omitempty" name:"NodeName"` }
Predefined struct for user
type DrainClusterVirtualNodeResponse ¶
type DrainClusterVirtualNodeResponse struct { *tchttp.BaseResponse Response *DrainClusterVirtualNodeResponseParams `json:"Response"` }
func NewDrainClusterVirtualNodeResponse ¶
func NewDrainClusterVirtualNodeResponse() (response *DrainClusterVirtualNodeResponse)
func (*DrainClusterVirtualNodeResponse) FromJsonString ¶
func (r *DrainClusterVirtualNodeResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DrainClusterVirtualNodeResponse) ToJsonString ¶
func (r *DrainClusterVirtualNodeResponse) ToJsonString() string
type DrainClusterVirtualNodeResponseParams ¶
type DrainClusterVirtualNodeResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DriverVersion ¶
type ECMEnhancedService ¶
type ECMEnhancedService struct { // Whether Cloud Monitoring is enabled SecurityService *ECMRunMonitorServiceEnabled `json:"SecurityService,omitnil,omitempty" name:"SecurityService"` // Whether Cloud Workload Protection is enabled MonitorService *ECMRunSecurityServiceEnabled `json:"MonitorService,omitnil,omitempty" name:"MonitorService"` }
type ECMRunMonitorServiceEnabled ¶
type ECMRunMonitorServiceEnabled struct { // Whether it is enabled Enabled *bool `json:"Enabled,omitnil,omitempty" name:"Enabled"` }
type ECMZoneInstanceCountISP ¶
type ECMZoneInstanceCountISP struct { // Instance AZ Zone *string `json:"Zone,omitnil,omitempty" name:"Zone"` // Number of instances to be created in the current AZ InstanceCount *int64 `json:"InstanceCount,omitnil,omitempty" name:"InstanceCount"` // ISP ISP *string `json:"ISP,omitnil,omitempty" name:"ISP"` }
type EdgeArgsFlag ¶
type EdgeArgsFlag struct { // Parameter name // Note: This field may return `null`, indicating that no valid values can be obtained. Name *string `json:"Name,omitnil,omitempty" name:"Name"` // Parameter type // Note: This field may return `null`, indicating that no valid values can be obtained. Type *string `json:"Type,omitnil,omitempty" name:"Type"` // Parameter description // Note: This field may return `null`, indicating that no valid values can be obtained. Usage *string `json:"Usage,omitnil,omitempty" name:"Usage"` // Default value of the parameter // Note: This field may return `null`, indicating that no valid values can be obtained. Default *string `json:"Default,omitnil,omitempty" name:"Default"` // Valid value or range. Options: `[]` (it indicates a range, for example, “[1, 5]” indicates the parameter must be equal or larger than 1, and be equal or smaller than 5), and `()` (it indicates a valid value, for example, “('aa', 'bb')” indicates the parameter must be “aa” or “bb”. If it is left empty, the verification can be skipped.) // Note: This field may return `null`, indicating that no valid values can be obtained. Constraint *string `json:"Constraint,omitnil,omitempty" name:"Constraint"` }
type EdgeAvailableExtraArgs ¶
type EdgeAvailableExtraArgs struct { // kube-apiserver custom parameter // Note: This field may return `null`, indicating that no valid values can be obtained. KubeAPIServer []*EdgeArgsFlag `json:"KubeAPIServer,omitnil,omitempty" name:"KubeAPIServer"` // kube-controller-manager custom parameter // Note: This field may return `null`, indicating that no valid values can be obtained. KubeControllerManager []*EdgeArgsFlag `json:"KubeControllerManager,omitnil,omitempty" name:"KubeControllerManager"` // kube-scheduler custom parameter // Note: This field may return `null`, indicating that no valid values can be obtained. KubeScheduler []*EdgeArgsFlag `json:"KubeScheduler,omitnil,omitempty" name:"KubeScheduler"` // kubelet custom parameter // Note: This field may return `null`, indicating that no valid values can be obtained. Kubelet []*EdgeArgsFlag `json:"Kubelet,omitnil,omitempty" name:"Kubelet"` }
type EdgeCluster ¶
type EdgeCluster struct { // Cluster ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // Cluster name ClusterName *string `json:"ClusterName,omitnil,omitempty" name:"ClusterName"` // VPC ID VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"` // Cluster Pod CIDR block PodCIDR *string `json:"PodCIDR,omitnil,omitempty" name:"PodCIDR"` // Cluster service CIDR block ServiceCIDR *string `json:"ServiceCIDR,omitnil,omitempty" name:"ServiceCIDR"` K8SVersion *string `json:"K8SVersion,omitnil,omitempty" name:"K8SVersion"` // Cluster status Status *string `json:"Status,omitnil,omitempty" name:"Status"` // Cluster description ClusterDesc *string `json:"ClusterDesc,omitnil,omitempty" name:"ClusterDesc"` // Cluster creation time CreatedTime *string `json:"CreatedTime,omitnil,omitempty" name:"CreatedTime"` // Edge cluster version EdgeClusterVersion *string `json:"EdgeClusterVersion,omitnil,omitempty" name:"EdgeClusterVersion"` // Maximum number of Pods on the node // Note: This field may return `null`, indicating that no valid values can be obtained. MaxNodePodNum *int64 `json:"MaxNodePodNum,omitnil,omitempty" name:"MaxNodePodNum"` // Cluster advanced settings // Note: This field may return `null`, indicating that no valid values can be obtained. ClusterAdvancedSettings *EdgeClusterAdvancedSettings `json:"ClusterAdvancedSettings,omitnil,omitempty" name:"ClusterAdvancedSettings"` // TKE edge cluster level // Note: This field may return `null`, indicating that no valid values can be obtained. Level *string `json:"Level,omitnil,omitempty" name:"Level"` // Whether to support auto upgrade of cluster spec level // Note: This field may return `null`, indicating that no valid values can be obtained. AutoUpgradeClusterLevel *bool `json:"AutoUpgradeClusterLevel,omitnil,omitempty" name:"AutoUpgradeClusterLevel"` // Cluster billing mode. Valid values: `POSTPAID_BY_HOUR`, `PREPAID` // Note: This field may return `null`, indicating that no valid values can be obtained. ChargeType *string `json:"ChargeType,omitnil,omitempty" name:"ChargeType"` // Edge cluster component version // Note: This field may return null, indicating that no valid values can be obtained. EdgeVersion *string `json:"EdgeVersion,omitnil,omitempty" name:"EdgeVersion"` // u200dTags bound with the cluster // Note: u200dThis field may return `null`, indicating that no valid values can be obtained. TagSpecification *TagSpecification `json:"TagSpecification,omitnil,omitempty" name:"TagSpecification"` }
type EdgeClusterAdvancedSettings ¶
type EdgeClusterAdvancedSettings struct { // Custom parameters of the cluster // Note: This field may return `null`, indicating that no valid values can be obtained. ExtraArgs *EdgeClusterExtraArgs `json:"ExtraArgs,omitnil,omitempty" name:"ExtraArgs"` // Runtime type. Valid values: "docker" (default), "containerd". // Note: This field may return `null`, indicating that no valid values can be obtained. Runtime *string `json:"Runtime,omitnil,omitempty" name:"Runtime"` // Forwarding mode of kube-proxy. Valid values: "iptables" (default), "ipvs". // Note: This field may return `null`, indicating that no valid values can be obtained. ProxyMode *string `json:"ProxyMode,omitnil,omitempty" name:"ProxyMode"` }
type EdgeClusterExtraArgs ¶
type EdgeClusterExtraArgs struct { // kube-apiserver custom parameter, in the format of ["k1=v1", "k1=v2"], for example: ["max-requests-inflight=500","feature-gates=PodShareProcessNamespace=true,DynamicKubeletConfig=true"] // Note: This field may return `null`, indicating that no valid values can be obtained. KubeAPIServer []*string `json:"KubeAPIServer,omitnil,omitempty" name:"KubeAPIServer"` // kube-controller-manager custom parameter // Note: This field may return `null`, indicating that no valid values can be obtained. KubeControllerManager []*string `json:"KubeControllerManager,omitnil,omitempty" name:"KubeControllerManager"` // kube-scheduler custom parameter // Note: This field may return `null`, indicating that no valid values can be obtained. KubeScheduler []*string `json:"KubeScheduler,omitnil,omitempty" name:"KubeScheduler"` }
type EdgeClusterInternalLB ¶
type EdgeClusterInternalLB struct { // Whether the private LB is enabled // Note: This field may return `null`, indicating that no valid values can be obtained. Enabled *bool `json:"Enabled,omitnil,omitempty" name:"Enabled"` // ID of the subnet associated with the private LB // Note: This field may return `null`, indicating that no valid values can be obtained. SubnetId []*string `json:"SubnetId,omitnil,omitempty" name:"SubnetId"` }
type EdgeClusterPublicLB ¶
type EdgeClusterPublicLB struct { // Whether the public LB is enabled // Note: This field may return `null`, indicating that no valid values can be obtained. Enabled *bool `json:"Enabled,omitnil,omitempty" name:"Enabled"` // Public network CIDR block allowed to access // Note: This field may return `null`, indicating that no valid values can be obtained. AllowFromCidrs []*string `json:"AllowFromCidrs,omitnil,omitempty" name:"AllowFromCidrs"` }
type EnableClusterDeletionProtectionRequest ¶
type EnableClusterDeletionProtectionRequest struct { *tchttp.BaseRequest // Cluster ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` }
func NewEnableClusterDeletionProtectionRequest ¶
func NewEnableClusterDeletionProtectionRequest() (request *EnableClusterDeletionProtectionRequest)
func (*EnableClusterDeletionProtectionRequest) FromJsonString ¶
func (r *EnableClusterDeletionProtectionRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*EnableClusterDeletionProtectionRequest) ToJsonString ¶
func (r *EnableClusterDeletionProtectionRequest) ToJsonString() string
type EnableClusterDeletionProtectionRequestParams ¶
type EnableClusterDeletionProtectionRequestParams struct { // Cluster ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` }
Predefined struct for user
type EnableClusterDeletionProtectionResponse ¶
type EnableClusterDeletionProtectionResponse struct { *tchttp.BaseResponse Response *EnableClusterDeletionProtectionResponseParams `json:"Response"` }
func NewEnableClusterDeletionProtectionResponse ¶
func NewEnableClusterDeletionProtectionResponse() (response *EnableClusterDeletionProtectionResponse)
func (*EnableClusterDeletionProtectionResponse) FromJsonString ¶
func (r *EnableClusterDeletionProtectionResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*EnableClusterDeletionProtectionResponse) ToJsonString ¶
func (r *EnableClusterDeletionProtectionResponse) ToJsonString() string
type EnableClusterDeletionProtectionResponseParams ¶
type EnableClusterDeletionProtectionResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type EnableEncryptionProtectionRequest ¶
type EnableEncryptionProtectionRequest struct { *tchttp.BaseRequest // Cluster ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // KMS encryption configuration KMSConfiguration *KMSConfiguration `json:"KMSConfiguration,omitnil,omitempty" name:"KMSConfiguration"` }
func NewEnableEncryptionProtectionRequest ¶
func NewEnableEncryptionProtectionRequest() (request *EnableEncryptionProtectionRequest)
func (*EnableEncryptionProtectionRequest) FromJsonString ¶
func (r *EnableEncryptionProtectionRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*EnableEncryptionProtectionRequest) ToJsonString ¶
func (r *EnableEncryptionProtectionRequest) ToJsonString() string
type EnableEncryptionProtectionRequestParams ¶
type EnableEncryptionProtectionRequestParams struct { // Cluster ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // KMS encryption configuration KMSConfiguration *KMSConfiguration `json:"KMSConfiguration,omitnil,omitempty" name:"KMSConfiguration"` }
Predefined struct for user
type EnableEncryptionProtectionResponse ¶
type EnableEncryptionProtectionResponse struct { *tchttp.BaseResponse Response *EnableEncryptionProtectionResponseParams `json:"Response"` }
func NewEnableEncryptionProtectionResponse ¶
func NewEnableEncryptionProtectionResponse() (response *EnableEncryptionProtectionResponse)
func (*EnableEncryptionProtectionResponse) FromJsonString ¶
func (r *EnableEncryptionProtectionResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*EnableEncryptionProtectionResponse) ToJsonString ¶
func (r *EnableEncryptionProtectionResponse) ToJsonString() string
type EnableEncryptionProtectionResponseParams ¶
type EnableEncryptionProtectionResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type EnableVpcCniNetworkTypeRequest ¶
type EnableVpcCniNetworkTypeRequest struct { *tchttp.BaseRequest // Cluster ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // The VPC-CNI mode. `tke-route-eni`: Multi-IP ENI, `tke-direct-eni`: Independent ENI VpcCniType *string `json:"VpcCniType,omitnil,omitempty" name:"VpcCniType"` // Whether to enable static IP address EnableStaticIp *bool `json:"EnableStaticIp,omitnil,omitempty" name:"EnableStaticIp"` // The container subnet being used Subnets []*string `json:"Subnets,omitnil,omitempty" name:"Subnets"` // Specifies when to release the IP after the Pod termination in static IP mode. It must be longer than 300 seconds. If this parameter is left empty, the IP address will never be released. ExpiredSeconds *uint64 `json:"ExpiredSeconds,omitnil,omitempty" name:"ExpiredSeconds"` // Whether to skip adding the VPC IP range to `NonMasqueradeCIDRs` field of `ip-masq-agent-config`. Default value: `false` SkipAddingNonMasqueradeCIDRs *bool `json:"SkipAddingNonMasqueradeCIDRs,omitnil,omitempty" name:"SkipAddingNonMasqueradeCIDRs"` }
func NewEnableVpcCniNetworkTypeRequest ¶
func NewEnableVpcCniNetworkTypeRequest() (request *EnableVpcCniNetworkTypeRequest)
func (*EnableVpcCniNetworkTypeRequest) FromJsonString ¶
func (r *EnableVpcCniNetworkTypeRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*EnableVpcCniNetworkTypeRequest) ToJsonString ¶
func (r *EnableVpcCniNetworkTypeRequest) ToJsonString() string
type EnableVpcCniNetworkTypeRequestParams ¶
type EnableVpcCniNetworkTypeRequestParams struct { // Cluster ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // The VPC-CNI mode. `tke-route-eni`: Multi-IP ENI, `tke-direct-eni`: Independent ENI VpcCniType *string `json:"VpcCniType,omitnil,omitempty" name:"VpcCniType"` // Whether to enable static IP address EnableStaticIp *bool `json:"EnableStaticIp,omitnil,omitempty" name:"EnableStaticIp"` // The container subnet being used Subnets []*string `json:"Subnets,omitnil,omitempty" name:"Subnets"` // Specifies when to release the IP after the Pod termination in static IP mode. It must be longer than 300 seconds. If this parameter is left empty, the IP address will never be released. ExpiredSeconds *uint64 `json:"ExpiredSeconds,omitnil,omitempty" name:"ExpiredSeconds"` // Whether to skip adding the VPC IP range to `NonMasqueradeCIDRs` field of `ip-masq-agent-config`. Default value: `false` SkipAddingNonMasqueradeCIDRs *bool `json:"SkipAddingNonMasqueradeCIDRs,omitnil,omitempty" name:"SkipAddingNonMasqueradeCIDRs"` }
Predefined struct for user
type EnableVpcCniNetworkTypeResponse ¶
type EnableVpcCniNetworkTypeResponse struct { *tchttp.BaseResponse Response *EnableVpcCniNetworkTypeResponseParams `json:"Response"` }
func NewEnableVpcCniNetworkTypeResponse ¶
func NewEnableVpcCniNetworkTypeResponse() (response *EnableVpcCniNetworkTypeResponse)
func (*EnableVpcCniNetworkTypeResponse) FromJsonString ¶
func (r *EnableVpcCniNetworkTypeResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*EnableVpcCniNetworkTypeResponse) ToJsonString ¶
func (r *EnableVpcCniNetworkTypeResponse) ToJsonString() string
type EnableVpcCniNetworkTypeResponseParams ¶
type EnableVpcCniNetworkTypeResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type EnhancedService ¶
type EnhancedService struct { // Enables cloud security service. If this parameter is not specified, the cloud security service will be enabled by default. SecurityService *RunSecurityServiceEnabled `json:"SecurityService,omitnil,omitempty" name:"SecurityService"` // Enables cloud monitor service. If this parameter is not specified, the cloud monitor service will be enabled by default. MonitorService *RunMonitorServiceEnabled `json:"MonitorService,omitnil,omitempty" name:"MonitorService"` // Whether to enable the TAT service. If this parameter is not specified, the TAT service is enabled for public images and disabled for other images by default. AutomationService *RunAutomationServiceEnabled `json:"AutomationService,omitnil,omitempty" name:"AutomationService"` }
type ExistedInstance ¶
type ExistedInstance struct { // Whether the instance supports being added to the cluster (TRUE: support; FALSE: not support). // Note: This field may return null, indicating that no valid values can be obtained. Usable *bool `json:"Usable,omitnil,omitempty" name:"Usable"` // Reason that the instance does not support being added. // Note: This field may return null, indicating that no valid values can be obtained. UnusableReason *string `json:"UnusableReason,omitnil,omitempty" name:"UnusableReason"` // ID of the cluster in which the instance currently resides. // Note: This field may return null, indicating that no valid values can be obtained. AlreadyInCluster *string `json:"AlreadyInCluster,omitnil,omitempty" name:"AlreadyInCluster"` // Instance ID, in the format of ins-xxxxxxxx. InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Instance name. // Note: This field may return null, indicating that no valid values can be obtained. InstanceName *string `json:"InstanceName,omitnil,omitempty" name:"InstanceName"` // List of private IPs of the instance's primary ENI. // Note: This field may return null, indicating that no valid values can be obtained. PrivateIpAddresses []*string `json:"PrivateIpAddresses,omitnil,omitempty" name:"PrivateIpAddresses"` // List of public IPs of the instance's primary ENI. // Note: This field may return null, indicating that no valid values can be obtained. PublicIpAddresses []*string `json:"PublicIpAddresses,omitnil,omitempty" name:"PublicIpAddresses"` // Creation time, which follows the ISO8601 standard and uses UTC time. Format: YYYY-MM-DDThh:mm:ssZ. // Note: This field may return null, indicating that no valid values can be obtained. CreatedTime *string `json:"CreatedTime,omitnil,omitempty" name:"CreatedTime"` // Instance's number of CPU cores. Unit: cores. // Note: This field may return null, indicating that no valid values can be obtained. CPU *uint64 `json:"CPU,omitnil,omitempty" name:"CPU"` // Instance's memory capacity. Unit: GB. // Note: This field may return null, indicating that no valid values can be obtained. Memory *uint64 `json:"Memory,omitnil,omitempty" name:"Memory"` // Operating system name. // Note: This field may return null, indicating that no valid values can be obtained. OsName *string `json:"OsName,omitnil,omitempty" name:"OsName"` // Instance model. // Note: This field may return null, indicating that no valid values can be obtained. InstanceType *string `json:"InstanceType,omitnil,omitempty" name:"InstanceType"` // Auto scaling group ID // Note: This field may return null, indicating that no valid value was found. AutoscalingGroupId *string `json:"AutoscalingGroupId,omitnil,omitempty" name:"AutoscalingGroupId"` // Instance billing method. Valid values: POSTPAID_BY_HOUR (pay-as-you-go hourly); CDHPAID (billed based on CDH, i.e., only CDH is billed but not the instances on CDH) // Note: This field may return null, indicating that no valid value was found. InstanceChargeType *string `json:"InstanceChargeType,omitnil,omitempty" name:"InstanceChargeType"` // IPv6 address of the instance // Note: This field may return `null`, indicating that no valid values can be obtained. // Note: This field may return `null`, indicating that no valid values can be obtained. IPv6Addresses []*string `json:"IPv6Addresses,omitnil,omitempty" name:"IPv6Addresses"` }
type ExistedInstancesForNode ¶
type ExistedInstancesForNode struct { // Node role. Values: MASTER_ETCD, WORKER. You only need to specify MASTER_ETCD when creating a self-deployed cluster (INDEPENDENT_CLUSTER). NodeRole *string `json:"NodeRole,omitnil,omitempty" name:"NodeRole"` // Reinstallation parameter of existing instances ExistedInstancesPara *ExistedInstancesPara `json:"ExistedInstancesPara,omitnil,omitempty" name:"ExistedInstancesPara"` // Advanced node setting, which overrides the InstanceAdvancedSettings item set at the cluster level (currently valid for the ExtraArgs node custom parameter only) InstanceAdvancedSettingsOverride *InstanceAdvancedSettings `json:"InstanceAdvancedSettingsOverride,omitnil,omitempty" name:"InstanceAdvancedSettingsOverride"` // When the custom PodCIDR mode is enabled for the cluster, you can specify the maximum number of pods per node. DesiredPodNumbers []*int64 `json:"DesiredPodNumbers,omitnil,omitempty" name:"DesiredPodNumbers"` }
type ExistedInstancesPara ¶
type ExistedInstancesPara struct { // Cluster ID InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" name:"InstanceIds"` // Additional parameter to be set for the instance InstanceAdvancedSettings *InstanceAdvancedSettings `json:"InstanceAdvancedSettings,omitnil,omitempty" name:"InstanceAdvancedSettings"` // Enhanced services. This parameter is used to specify whether to enable Cloud Security, Cloud Monitor and other services. If this parameter is not specified, Cloud Monitor and Cloud Security are enabled by default. EnhancedService *EnhancedService `json:"EnhancedService,omitnil,omitempty" name:"EnhancedService"` // Node login information (currently only supports using Password or single KeyIds) LoginSettings *LoginSettings `json:"LoginSettings,omitnil,omitempty" name:"LoginSettings"` // Security group to which the instance belongs. This parameter can be obtained from the sgId field in the returned values of DescribeSecurityGroups. If this parameter is not specified, the default security group is bound. (Currently, you can only set a single sgId) SecurityGroupIds []*string `json:"SecurityGroupIds,omitnil,omitempty" name:"SecurityGroupIds"` // When reinstalling the system, you can specify the HostName of the modified instance (when the cluster is in HostName mode, this parameter is required, and the rule name is the same as the [Create CVM Instance](https://intl.cloud.tencent.com/document/product/213/15730?from_cn_redirect=1) API HostName except for uppercase letters not being supported. HostName *string `json:"HostName,omitnil,omitempty" name:"HostName"` }
type ExtensionAddon ¶
type ForwardTKEEdgeApplicationRequestV3Request ¶
type ForwardTKEEdgeApplicationRequestV3Request struct { *tchttp.BaseRequest // Access to request the cluster add-on Method *string `json:"Method,omitnil,omitempty" name:"Method"` // Path to request the cluster add-on Path *string `json:"Path,omitnil,omitempty" name:"Path"` // Data format allowed to receive the requested cluster add-on Accept *string `json:"Accept,omitnil,omitempty" name:"Accept"` // Data format for requesting the cluster add-on ContentType *string `json:"ContentType,omitnil,omitempty" name:"ContentType"` // Data sent to request the cluster add-on RequestBody *string `json:"RequestBody,omitnil,omitempty" name:"RequestBody"` // Cluster name (for example, `cls-1234abcd`) ClusterName *string `json:"ClusterName,omitnil,omitempty" name:"ClusterName"` // Whether to encode the request content EncodedBody *string `json:"EncodedBody,omitnil,omitempty" name:"EncodedBody"` }
func NewForwardTKEEdgeApplicationRequestV3Request ¶
func NewForwardTKEEdgeApplicationRequestV3Request() (request *ForwardTKEEdgeApplicationRequestV3Request)
func (*ForwardTKEEdgeApplicationRequestV3Request) FromJsonString ¶
func (r *ForwardTKEEdgeApplicationRequestV3Request) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ForwardTKEEdgeApplicationRequestV3Request) ToJsonString ¶
func (r *ForwardTKEEdgeApplicationRequestV3Request) ToJsonString() string
type ForwardTKEEdgeApplicationRequestV3RequestParams ¶
type ForwardTKEEdgeApplicationRequestV3RequestParams struct { // Access to request the cluster add-on Method *string `json:"Method,omitnil,omitempty" name:"Method"` // Path to request the cluster add-on Path *string `json:"Path,omitnil,omitempty" name:"Path"` // Data format allowed to receive the requested cluster add-on Accept *string `json:"Accept,omitnil,omitempty" name:"Accept"` // Data format for requesting the cluster add-on ContentType *string `json:"ContentType,omitnil,omitempty" name:"ContentType"` // Data sent to request the cluster add-on RequestBody *string `json:"RequestBody,omitnil,omitempty" name:"RequestBody"` // Cluster name (for example, `cls-1234abcd`) ClusterName *string `json:"ClusterName,omitnil,omitempty" name:"ClusterName"` // Whether to encode the request content EncodedBody *string `json:"EncodedBody,omitnil,omitempty" name:"EncodedBody"` }
Predefined struct for user
type ForwardTKEEdgeApplicationRequestV3Response ¶
type ForwardTKEEdgeApplicationRequestV3Response struct { *tchttp.BaseResponse Response *ForwardTKEEdgeApplicationRequestV3ResponseParams `json:"Response"` }
func NewForwardTKEEdgeApplicationRequestV3Response ¶
func NewForwardTKEEdgeApplicationRequestV3Response() (response *ForwardTKEEdgeApplicationRequestV3Response)
func (*ForwardTKEEdgeApplicationRequestV3Response) FromJsonString ¶
func (r *ForwardTKEEdgeApplicationRequestV3Response) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ForwardTKEEdgeApplicationRequestV3Response) ToJsonString ¶
func (r *ForwardTKEEdgeApplicationRequestV3Response) ToJsonString() string
type ForwardTKEEdgeApplicationRequestV3ResponseParams ¶
type ForwardTKEEdgeApplicationRequestV3ResponseParams struct { // Data returned after requesting the cluster add-on ResponseBody *string `json:"ResponseBody,omitnil,omitempty" name:"ResponseBody"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type GPUArgs ¶
type GPUArgs struct { // Whether to enable MIG // Note: This field may return `null`, indicating that no valid values can be obtained. MIGEnable *bool `json:"MIGEnable,omitnil,omitempty" name:"MIGEnable"` // GPU driver version Driver *DriverVersion `json:"Driver,omitnil,omitempty" name:"Driver"` // CUDA version // Note: This field may return `null`, indicating that no valid values can be obtained. CUDA *DriverVersion `json:"CUDA,omitnil,omitempty" name:"CUDA"` // cuDNN version // Note: This field may return `null`, indicating that no valid values can be obtained. CUDNN *CUDNN `json:"CUDNN,omitnil,omitempty" name:"CUDNN"` // Custom GPU driver // Note: This field may return `null`, indicating that no valid values can be obtained. CustomDriver *CustomDriver `json:"CustomDriver,omitnil,omitempty" name:"CustomDriver"` }
type GetClusterLevelPriceRequest ¶
type GetClusterLevelPriceRequest struct { *tchttp.BaseRequest // The cluster model. It’s used for price query. ClusterLevel *string `json:"ClusterLevel,omitnil,omitempty" name:"ClusterLevel"` }
func NewGetClusterLevelPriceRequest ¶
func NewGetClusterLevelPriceRequest() (request *GetClusterLevelPriceRequest)
func (*GetClusterLevelPriceRequest) FromJsonString ¶
func (r *GetClusterLevelPriceRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*GetClusterLevelPriceRequest) ToJsonString ¶
func (r *GetClusterLevelPriceRequest) ToJsonString() string
type GetClusterLevelPriceRequestParams ¶
type GetClusterLevelPriceRequestParams struct { // The cluster model. It’s used for price query. ClusterLevel *string `json:"ClusterLevel,omitnil,omitempty" name:"ClusterLevel"` }
Predefined struct for user
type GetClusterLevelPriceResponse ¶
type GetClusterLevelPriceResponse struct { *tchttp.BaseResponse Response *GetClusterLevelPriceResponseParams `json:"Response"` }
func NewGetClusterLevelPriceResponse ¶
func NewGetClusterLevelPriceResponse() (response *GetClusterLevelPriceResponse)
func (*GetClusterLevelPriceResponse) FromJsonString ¶
func (r *GetClusterLevelPriceResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*GetClusterLevelPriceResponse) ToJsonString ¶
func (r *GetClusterLevelPriceResponse) ToJsonString() string
type GetClusterLevelPriceResponseParams ¶
type GetClusterLevelPriceResponseParams struct { // Discount price (unit: US cent) Cost *uint64 `json:"Cost,omitnil,omitempty" name:"Cost"` // Original price (unit: US cent) TotalCost *uint64 `json:"TotalCost,omitnil,omitempty" name:"TotalCost"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type GetUpgradeInstanceProgressRequest ¶
type GetUpgradeInstanceProgressRequest struct { *tchttp.BaseRequest // Cluster ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // Maximum number of nodes to be queried Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // The starting node for the query Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` }
func NewGetUpgradeInstanceProgressRequest ¶
func NewGetUpgradeInstanceProgressRequest() (request *GetUpgradeInstanceProgressRequest)
func (*GetUpgradeInstanceProgressRequest) FromJsonString ¶
func (r *GetUpgradeInstanceProgressRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*GetUpgradeInstanceProgressRequest) ToJsonString ¶
func (r *GetUpgradeInstanceProgressRequest) ToJsonString() string
type GetUpgradeInstanceProgressRequestParams ¶
type GetUpgradeInstanceProgressRequestParams struct { // Cluster ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // Maximum number of nodes to be queried Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // The starting node for the query Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` }
Predefined struct for user
type GetUpgradeInstanceProgressResponse ¶
type GetUpgradeInstanceProgressResponse struct { *tchttp.BaseResponse Response *GetUpgradeInstanceProgressResponseParams `json:"Response"` }
func NewGetUpgradeInstanceProgressResponse ¶
func NewGetUpgradeInstanceProgressResponse() (response *GetUpgradeInstanceProgressResponse)
func (*GetUpgradeInstanceProgressResponse) FromJsonString ¶
func (r *GetUpgradeInstanceProgressResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*GetUpgradeInstanceProgressResponse) ToJsonString ¶
func (r *GetUpgradeInstanceProgressResponse) ToJsonString() string
type GetUpgradeInstanceProgressResponseParams ¶
type GetUpgradeInstanceProgressResponseParams struct { // Total nodes to upgrade Total *int64 `json:"Total,omitnil,omitempty" name:"Total"` // Total upgraded nodes Done *int64 `json:"Done,omitnil,omitempty" name:"Done"` // The lifecycle of the upgrade task // process: running // paused: stopped // pausing: stopping // done: completed // timeout: timed out // aborted: canceled LifeState *string `json:"LifeState,omitnil,omitempty" name:"LifeState"` // Details of upgrade progress of each node Instances []*InstanceUpgradeProgressItem `json:"Instances,omitnil,omitempty" name:"Instances"` // Current cluster status ClusterStatus *InstanceUpgradeClusterStatus `json:"ClusterStatus,omitnil,omitempty" name:"ClusterStatus"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ImageInstance ¶
type ImageInstance struct { // Image alias // Note: this field may return null, indicating that no valid values can be obtained. Alias *string `json:"Alias,omitnil,omitempty" name:"Alias"` // Operating system name // Note: this field may return null, indicating that no valid values can be obtained. OsName *string `json:"OsName,omitnil,omitempty" name:"OsName"` // Image ID // Note: this field may return null, indicating that no valid values can be obtained. ImageId *string `json:"ImageId,omitnil,omitempty" name:"ImageId"` // Container image tag, **DOCKER_CUSTOMIZE** (container customized tag), **GENERAL** (general tag, default value) // Note: this field may return null, indicating that no valid values can be obtained. OsCustomizeType *string `json:"OsCustomizeType,omitnil,omitempty" name:"OsCustomizeType"` }
type InstallAddonRequest ¶
type InstallAddonRequest struct { *tchttp.BaseRequest // Cluster ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // Add-on name AddonName *string `json:"AddonName,omitnil,omitempty" name:"AddonName"` // Add-on version. If it is not specified, the latest version is installed by default. AddonVersion *string `json:"AddonVersion,omitnil,omitempty" name:"AddonVersion"` // Add-on parameters in a base64-encoded JSON string. You can query add-on parameters via `DescribeAddonValues`. RawValues *string `json:"RawValues,omitnil,omitempty" name:"RawValues"` }
func NewInstallAddonRequest ¶
func NewInstallAddonRequest() (request *InstallAddonRequest)
func (*InstallAddonRequest) FromJsonString ¶
func (r *InstallAddonRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*InstallAddonRequest) ToJsonString ¶
func (r *InstallAddonRequest) ToJsonString() string
type InstallAddonRequestParams ¶
type InstallAddonRequestParams struct { // Cluster ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // Add-on name AddonName *string `json:"AddonName,omitnil,omitempty" name:"AddonName"` // Add-on version. If it is not specified, the latest version is installed by default. AddonVersion *string `json:"AddonVersion,omitnil,omitempty" name:"AddonVersion"` // Add-on parameters in a base64-encoded JSON string. You can query add-on parameters via `DescribeAddonValues`. RawValues *string `json:"RawValues,omitnil,omitempty" name:"RawValues"` }
Predefined struct for user
type InstallAddonResponse ¶
type InstallAddonResponse struct { *tchttp.BaseResponse Response *InstallAddonResponseParams `json:"Response"` }
func NewInstallAddonResponse ¶
func NewInstallAddonResponse() (response *InstallAddonResponse)
func (*InstallAddonResponse) FromJsonString ¶
func (r *InstallAddonResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*InstallAddonResponse) ToJsonString ¶
func (r *InstallAddonResponse) ToJsonString() string
type InstallAddonResponseParams ¶
type InstallAddonResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type InstallEdgeLogAgentRequest ¶
type InstallEdgeLogAgentRequest struct { *tchttp.BaseRequest // Cluster ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` }
func NewInstallEdgeLogAgentRequest ¶
func NewInstallEdgeLogAgentRequest() (request *InstallEdgeLogAgentRequest)
func (*InstallEdgeLogAgentRequest) FromJsonString ¶
func (r *InstallEdgeLogAgentRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*InstallEdgeLogAgentRequest) ToJsonString ¶
func (r *InstallEdgeLogAgentRequest) ToJsonString() string
type InstallEdgeLogAgentRequestParams ¶
type InstallEdgeLogAgentRequestParams struct { // Cluster ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` }
Predefined struct for user
type InstallEdgeLogAgentResponse ¶
type InstallEdgeLogAgentResponse struct { *tchttp.BaseResponse Response *InstallEdgeLogAgentResponseParams `json:"Response"` }
func NewInstallEdgeLogAgentResponse ¶
func NewInstallEdgeLogAgentResponse() (response *InstallEdgeLogAgentResponse)
func (*InstallEdgeLogAgentResponse) FromJsonString ¶
func (r *InstallEdgeLogAgentResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*InstallEdgeLogAgentResponse) ToJsonString ¶
func (r *InstallEdgeLogAgentResponse) ToJsonString() string
type InstallEdgeLogAgentResponseParams ¶
type InstallEdgeLogAgentResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type Instance ¶
type Instance struct { // Instance ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Node role: MASTER, WORKER, ETCD, MASTER_ETCD, and ALL. Default value: WORKER InstanceRole *string `json:"InstanceRole,omitnil,omitempty" name:"InstanceRole"` // Reason for instance exception (or initialization) FailedReason *string `json:"FailedReason,omitnil,omitempty" name:"FailedReason"` // Instance status (running, initializing, or failed) InstanceState *string `json:"InstanceState,omitnil,omitempty" name:"InstanceState"` // Whether the instance is drained // Note: this field may return null, indicating that no valid value is obtained. DrainStatus *string `json:"DrainStatus,omitnil,omitempty" name:"DrainStatus"` // Node settings // Note: this field may return null, indicating that no valid value is obtained. InstanceAdvancedSettings *InstanceAdvancedSettings `json:"InstanceAdvancedSettings,omitnil,omitempty" name:"InstanceAdvancedSettings"` // Creation time CreatedTime *string `json:"CreatedTime,omitnil,omitempty" name:"CreatedTime"` // Node private IP // Note: this field may return null, indicating that no valid values can be obtained. LanIP *string `json:"LanIP,omitnil,omitempty" name:"LanIP"` // Resource pool ID // Note: this field may return null, indicating that no valid values can be obtained. NodePoolId *string `json:"NodePoolId,omitnil,omitempty" name:"NodePoolId"` // ID of the auto-scaling group // Note: this field may return null, indicating that no valid value is obtained. AutoscalingGroupId *string `json:"AutoscalingGroupId,omitnil,omitempty" name:"AutoscalingGroupId"` }
type InstanceAdvancedSettings ¶
type InstanceAdvancedSettings struct { // When the custom PodCIDR mode is enabled for the cluster, you can specify the maximum number of pods per node. // Note: this field may return `null`, indicating that no valid values can be obtained. DesiredPodNumber *int64 `json:"DesiredPodNumber,omitnil,omitempty" name:"DesiredPodNumber"` // GPU driver parameters // Note: This field may return `null`, indicating that no valid value can be obtained. GPUArgs *GPUArgs `json:"GPUArgs,omitnil,omitempty" name:"GPUArgs"` // Specifies the base64-encoded custom script to be executed before initialization of the node. It’s only valid for adding existing nodes for now. // Note: this field may return `null`, indicating that no valid values can be obtained. PreStartUserScript *string `json:"PreStartUserScript,omitnil,omitempty" name:"PreStartUserScript"` // Node taint // Note: This field may return `null`, indicating that no valid value can be obtained. Taints []*Taint `json:"Taints,omitnil,omitempty" name:"Taints"` // Data disk mount point. By default, no data disk is mounted. Data disks in ext3, ext4, or XFS file system formats will be mounted directly, while data disks in other file systems and unformatted data disks will automatically be formatted as ext4 (xfs for tlinux system) and then mounted. Please back up your data in advance. This setting is only applicable to CVMs with a single data disk. // Note: in multi-disk scenarios, use the DataDisks data structure below to set the corresponding information, such as cloud disk type, cloud disk size, mount path, and whether to perform formatting. // Note: this field may return `null`, indicating that no valid values can be obtained. MountTarget *string `json:"MountTarget,omitnil,omitempty" name:"MountTarget"` // Specified value of dockerd --graph. Default value: /var/lib/docker // Note: This field may return null, indicating that no valid value was found. DockerGraphPath *string `json:"DockerGraphPath,omitnil,omitempty" name:"DockerGraphPath"` // Base64-encoded user script, which will be executed after the K8s component starts running. You need to ensure the reentrant and retry logic of the script. The script and its log files can be viewed at the node path: /data/ccs_userscript/. If you want to initialize nodes before adding them to the scheduling list, you can use this parameter together with the unschedulable parameter. After the final initialization of userScript is completed, add the kubectl uncordon nodename --kubeconfig=/root/.kube/config command to enable the node for scheduling. // Note: This field may return null, indicating that no valid value was found. UserScript *string `json:"UserScript,omitnil,omitempty" name:"UserScript"` // Sets whether the added node is schedulable. 0 (default): schedulable; other values: unschedulable. After node initialization is completed, you can run kubectl uncordon nodename to enable this node for scheduling. Unschedulable *int64 `json:"Unschedulable,omitnil,omitempty" name:"Unschedulable"` // Node label array // Note: This field may return null, indicating that no valid value was found. Labels []*Label `json:"Labels,omitnil,omitempty" name:"Labels"` // Mounting information of multiple data disks. When you create a node, ensure that the CVM purchase parameter specifies the information required for the purchase of multiple data disks. For example, the `DataDisks` under `RunInstancesPara` of the `CreateClusterInstances` API should be configured accordingly (Referto document of CreateClusterInstances API). When you add an existing node, ensure that the specified partition exists in the node. // Note: this field may return `null`, indicating that no valid values can be obtained. DataDisks []*DataDisk `json:"DataDisks,omitnil,omitempty" name:"DataDisks"` // Information about node custom parameters // Note: This field may return null, indicating that no valid value was found. ExtraArgs *InstanceExtraArgs `json:"ExtraArgs,omitnil,omitempty" name:"ExtraArgs"` }
type InstanceDataDiskMountSetting ¶
type InstanceDataDiskMountSetting struct { // CVM instance type InstanceType *string `json:"InstanceType,omitnil,omitempty" name:"InstanceType"` // Data disk mounting information DataDisks []*DataDisk `json:"DataDisks,omitnil,omitempty" name:"DataDisks"` // Availability zone where the CVM instance is located Zone *string `json:"Zone,omitnil,omitempty" name:"Zone"` }
type InstanceExtraArgs ¶
type InstanceExtraArgs struct { // Kubelet custom parameter, in the format of ["k1=v1", "k1=v2"], for example: ["root-dir=/var/lib/kubelet","feature-gates=PodShareProcessNamespace=true,DynamicKubeletConfig=true"]. // Note: this field may return `null`, indicating that no valid value is obtained. Kubelet []*string `json:"Kubelet,omitnil,omitempty" name:"Kubelet"` }
type InstanceUpgradePreCheckResult ¶
type InstanceUpgradePreCheckResult struct { // Whether the check is passed CheckPass *bool `json:"CheckPass,omitnil,omitempty" name:"CheckPass"` // Array of check items Items []*InstanceUpgradePreCheckResultItem `json:"Items,omitnil,omitempty" name:"Items"` // List of independent pods on this node SinglePods []*string `json:"SinglePods,omitnil,omitempty" name:"SinglePods"` }
type InstanceUpgradePreCheckResultItem ¶
type InstanceUpgradePreCheckResultItem struct { // The namespace of the workload Namespace *string `json:"Namespace,omitnil,omitempty" name:"Namespace"` // Workload type WorkLoadKind *string `json:"WorkLoadKind,omitnil,omitempty" name:"WorkLoadKind"` // Workload name WorkLoadName *string `json:"WorkLoadName,omitnil,omitempty" name:"WorkLoadName"` // The number of running pods in the workload before draining the node Before *uint64 `json:"Before,omitnil,omitempty" name:"Before"` // The number of running pods in the workload after draining the node After *uint64 `json:"After,omitnil,omitempty" name:"After"` // The pod list of the workload on this node Pods []*string `json:"Pods,omitnil,omitempty" name:"Pods"` }
type InstanceUpgradeProgressItem ¶
type InstanceUpgradeProgressItem struct { // Node instance ID InstanceID *string `json:"InstanceID,omitnil,omitempty" name:"InstanceID"` // Task lifecycle // process: running // paused: stopped // pausing: stopping // done: completed // timeout: timed out // aborted: canceled // pending: not started LifeState *string `json:"LifeState,omitnil,omitempty" name:"LifeState"` // Upgrade start time // Note: this field may return `null`, indicating that no valid value is obtained. StartAt *string `json:"StartAt,omitnil,omitempty" name:"StartAt"` // Upgrade end time // Note: this field may return `null`, indicating that no valid value is obtained. EndAt *string `json:"EndAt,omitnil,omitempty" name:"EndAt"` // Check result before upgrading CheckResult *InstanceUpgradePreCheckResult `json:"CheckResult,omitnil,omitempty" name:"CheckResult"` // Upgrade steps details Detail []*TaskStepInfo `json:"Detail,omitnil,omitempty" name:"Detail"` }
type KMSConfiguration ¶
type LoginSettings ¶
type LoginSettings struct { // Login password of the instance. <br><li>For Linux instances, the password must include 8-30 characters, and contain at least two of the following character sets: [a-z], [A-Z], [0-9] and [()\`~!@#$%^&*-+=|{}[]:;',.?/]. <br><li>For Windows instances, the password must include 12-30 characters, and contain at least three of the following character sets: [a-z], [A-Z], [0-9] and [()\`~!@#$%^&*-+=|{}[]:;',.?/]. <br><br>If it's not specified, the user needs to set the login password using the **Reset password** option in the CVM console or calling the API `ResetInstancesPassword` to complete the creation of the CVM instance(s). // Note: This field may return `null`, indicating that no valid values can be obtained. Password *string `json:"Password,omitnil,omitempty" name:"Password"` // List of key IDs. After an instance is associated with a key, you can access the instance with the private key in the key pair. You can call [`DescribeKeyPairs`](https://intl.cloud.tencent.com/document/api/213/15699?from_cn_redirect=1) to obtain `KeyId`. You cannot specify a key and a password at the same time. Windows instances do not support keys. // Note: This field may return `null`, indicating that no valid values can be obtained. KeyIds []*string `json:"KeyIds,omitnil,omitempty" name:"KeyIds"` // Whether to keep the original settings of an image. You cannot specify this parameter and `Password` or `KeyIds.N` at the same time. You can specify this parameter as `TRUE` only when you create an instance using a custom image, a shared image, or an imported image. Valid values: <br><li>TRUE: keep the login settings of the image <br><li>FALSE: do not keep the login settings of the image <br><br>Default value: FALSE. // Note: This field may return null, indicating that no valid value is found. KeepImageLogin *string `json:"KeepImageLogin,omitnil,omitempty" name:"KeepImageLogin"` }
type ManuallyAdded ¶
type ManuallyAdded struct { // Number of nodes that are being added Joining *int64 `json:"Joining,omitnil,omitempty" name:"Joining"` // Number of nodes that are being initialized Initializing *int64 `json:"Initializing,omitnil,omitempty" name:"Initializing"` // Number of normal nodes Normal *int64 `json:"Normal,omitnil,omitempty" name:"Normal"` // Total number of nodes Total *int64 `json:"Total,omitnil,omitempty" name:"Total"` }
type ModifyClusterAsGroupAttributeRequest ¶
type ModifyClusterAsGroupAttributeRequest struct { *tchttp.BaseRequest // Cluster ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // Cluster-associated scaling group attributes ClusterAsGroupAttribute *ClusterAsGroupAttribute `json:"ClusterAsGroupAttribute,omitnil,omitempty" name:"ClusterAsGroupAttribute"` }
func NewModifyClusterAsGroupAttributeRequest ¶
func NewModifyClusterAsGroupAttributeRequest() (request *ModifyClusterAsGroupAttributeRequest)
func (*ModifyClusterAsGroupAttributeRequest) FromJsonString ¶
func (r *ModifyClusterAsGroupAttributeRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyClusterAsGroupAttributeRequest) ToJsonString ¶
func (r *ModifyClusterAsGroupAttributeRequest) ToJsonString() string
type ModifyClusterAsGroupAttributeRequestParams ¶
type ModifyClusterAsGroupAttributeRequestParams struct { // Cluster ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // Cluster-associated scaling group attributes ClusterAsGroupAttribute *ClusterAsGroupAttribute `json:"ClusterAsGroupAttribute,omitnil,omitempty" name:"ClusterAsGroupAttribute"` }
Predefined struct for user
type ModifyClusterAsGroupAttributeResponse ¶
type ModifyClusterAsGroupAttributeResponse struct { *tchttp.BaseResponse Response *ModifyClusterAsGroupAttributeResponseParams `json:"Response"` }
func NewModifyClusterAsGroupAttributeResponse ¶
func NewModifyClusterAsGroupAttributeResponse() (response *ModifyClusterAsGroupAttributeResponse)
func (*ModifyClusterAsGroupAttributeResponse) FromJsonString ¶
func (r *ModifyClusterAsGroupAttributeResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyClusterAsGroupAttributeResponse) ToJsonString ¶
func (r *ModifyClusterAsGroupAttributeResponse) ToJsonString() string
type ModifyClusterAsGroupAttributeResponseParams ¶
type ModifyClusterAsGroupAttributeResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyClusterAsGroupOptionAttributeRequest ¶
type ModifyClusterAsGroupOptionAttributeRequest struct { *tchttp.BaseRequest // Cluster ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // Cluster auto scaling attributes ClusterAsGroupOption *ClusterAsGroupOption `json:"ClusterAsGroupOption,omitnil,omitempty" name:"ClusterAsGroupOption"` }
func NewModifyClusterAsGroupOptionAttributeRequest ¶
func NewModifyClusterAsGroupOptionAttributeRequest() (request *ModifyClusterAsGroupOptionAttributeRequest)
func (*ModifyClusterAsGroupOptionAttributeRequest) FromJsonString ¶
func (r *ModifyClusterAsGroupOptionAttributeRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyClusterAsGroupOptionAttributeRequest) ToJsonString ¶
func (r *ModifyClusterAsGroupOptionAttributeRequest) ToJsonString() string
type ModifyClusterAsGroupOptionAttributeRequestParams ¶
type ModifyClusterAsGroupOptionAttributeRequestParams struct { // Cluster ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // Cluster auto scaling attributes ClusterAsGroupOption *ClusterAsGroupOption `json:"ClusterAsGroupOption,omitnil,omitempty" name:"ClusterAsGroupOption"` }
Predefined struct for user
type ModifyClusterAsGroupOptionAttributeResponse ¶
type ModifyClusterAsGroupOptionAttributeResponse struct { *tchttp.BaseResponse Response *ModifyClusterAsGroupOptionAttributeResponseParams `json:"Response"` }
func NewModifyClusterAsGroupOptionAttributeResponse ¶
func NewModifyClusterAsGroupOptionAttributeResponse() (response *ModifyClusterAsGroupOptionAttributeResponse)
func (*ModifyClusterAsGroupOptionAttributeResponse) FromJsonString ¶
func (r *ModifyClusterAsGroupOptionAttributeResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyClusterAsGroupOptionAttributeResponse) ToJsonString ¶
func (r *ModifyClusterAsGroupOptionAttributeResponse) ToJsonString() string
type ModifyClusterAsGroupOptionAttributeResponseParams ¶
type ModifyClusterAsGroupOptionAttributeResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyClusterAttributeRequest ¶
type ModifyClusterAttributeRequest struct { *tchttp.BaseRequest // Cluster ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // Project of the Cluster ProjectId *int64 `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` // Cluster name ClusterName *string `json:"ClusterName,omitnil,omitempty" name:"ClusterName"` // Cluster description ClusterDesc *string `json:"ClusterDesc,omitnil,omitempty" name:"ClusterDesc"` // Cluster specification ClusterLevel *string `json:"ClusterLevel,omitnil,omitempty" name:"ClusterLevel"` // Auto-upgrades cluster specification AutoUpgradeClusterLevel *AutoUpgradeClusterLevel `json:"AutoUpgradeClusterLevel,omitnil,omitempty" name:"AutoUpgradeClusterLevel"` QGPUShareEnable *bool `json:"QGPUShareEnable,omitnil,omitempty" name:"QGPUShareEnable"` }
func NewModifyClusterAttributeRequest ¶
func NewModifyClusterAttributeRequest() (request *ModifyClusterAttributeRequest)
func (*ModifyClusterAttributeRequest) FromJsonString ¶
func (r *ModifyClusterAttributeRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyClusterAttributeRequest) ToJsonString ¶
func (r *ModifyClusterAttributeRequest) ToJsonString() string
type ModifyClusterAttributeRequestParams ¶
type ModifyClusterAttributeRequestParams struct { // Cluster ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // Project of the Cluster ProjectId *int64 `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` // Cluster name ClusterName *string `json:"ClusterName,omitnil,omitempty" name:"ClusterName"` // Cluster description ClusterDesc *string `json:"ClusterDesc,omitnil,omitempty" name:"ClusterDesc"` // Cluster specification ClusterLevel *string `json:"ClusterLevel,omitnil,omitempty" name:"ClusterLevel"` // Auto-upgrades cluster specification AutoUpgradeClusterLevel *AutoUpgradeClusterLevel `json:"AutoUpgradeClusterLevel,omitnil,omitempty" name:"AutoUpgradeClusterLevel"` QGPUShareEnable *bool `json:"QGPUShareEnable,omitnil,omitempty" name:"QGPUShareEnable"` }
Predefined struct for user
type ModifyClusterAttributeResponse ¶
type ModifyClusterAttributeResponse struct { *tchttp.BaseResponse Response *ModifyClusterAttributeResponseParams `json:"Response"` }
func NewModifyClusterAttributeResponse ¶
func NewModifyClusterAttributeResponse() (response *ModifyClusterAttributeResponse)
func (*ModifyClusterAttributeResponse) FromJsonString ¶
func (r *ModifyClusterAttributeResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyClusterAttributeResponse) ToJsonString ¶
func (r *ModifyClusterAttributeResponse) ToJsonString() string
type ModifyClusterAttributeResponseParams ¶
type ModifyClusterAttributeResponseParams struct { // Project of the Cluster // Note: this field may return null, indicating that no valid values can be obtained. ProjectId *int64 `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` // Cluster name // Note: this field may return null, indicating that no valid values can be obtained. ClusterName *string `json:"ClusterName,omitnil,omitempty" name:"ClusterName"` // Cluster description // Note: this field may return null, indicating that no valid values can be obtained. ClusterDesc *string `json:"ClusterDesc,omitnil,omitempty" name:"ClusterDesc"` // Cluster specification // Note: This field may return `null`, indicating that no valid values can be obtained. ClusterLevel *string `json:"ClusterLevel,omitnil,omitempty" name:"ClusterLevel"` // Auto-upgrades cluster specification // Note: This field may return `null`, indicating that no valid values can be obtained. AutoUpgradeClusterLevel *AutoUpgradeClusterLevel `json:"AutoUpgradeClusterLevel,omitnil,omitempty" name:"AutoUpgradeClusterLevel"` // Note: This field may return `null`, indicating that no valid value can be obtained. QGPUShareEnable *bool `json:"QGPUShareEnable,omitnil,omitempty" name:"QGPUShareEnable"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyClusterAuthenticationOptionsRequest ¶
type ModifyClusterAuthenticationOptionsRequest struct { *tchttp.BaseRequest // Cluster ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // ServiceAccount authentication configuration ServiceAccounts *ServiceAccountAuthenticationOptions `json:"ServiceAccounts,omitnil,omitempty" name:"ServiceAccounts"` // OIDC authentication configurations OIDCConfig *OIDCConfigAuthenticationOptions `json:"OIDCConfig,omitnil,omitempty" name:"OIDCConfig"` }
func NewModifyClusterAuthenticationOptionsRequest ¶
func NewModifyClusterAuthenticationOptionsRequest() (request *ModifyClusterAuthenticationOptionsRequest)
func (*ModifyClusterAuthenticationOptionsRequest) FromJsonString ¶
func (r *ModifyClusterAuthenticationOptionsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyClusterAuthenticationOptionsRequest) ToJsonString ¶
func (r *ModifyClusterAuthenticationOptionsRequest) ToJsonString() string
type ModifyClusterAuthenticationOptionsRequestParams ¶
type ModifyClusterAuthenticationOptionsRequestParams struct { // Cluster ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // ServiceAccount authentication configuration ServiceAccounts *ServiceAccountAuthenticationOptions `json:"ServiceAccounts,omitnil,omitempty" name:"ServiceAccounts"` // OIDC authentication configurations OIDCConfig *OIDCConfigAuthenticationOptions `json:"OIDCConfig,omitnil,omitempty" name:"OIDCConfig"` }
Predefined struct for user
type ModifyClusterAuthenticationOptionsResponse ¶
type ModifyClusterAuthenticationOptionsResponse struct { *tchttp.BaseResponse Response *ModifyClusterAuthenticationOptionsResponseParams `json:"Response"` }
func NewModifyClusterAuthenticationOptionsResponse ¶
func NewModifyClusterAuthenticationOptionsResponse() (response *ModifyClusterAuthenticationOptionsResponse)
func (*ModifyClusterAuthenticationOptionsResponse) FromJsonString ¶
func (r *ModifyClusterAuthenticationOptionsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyClusterAuthenticationOptionsResponse) ToJsonString ¶
func (r *ModifyClusterAuthenticationOptionsResponse) ToJsonString() string
type ModifyClusterAuthenticationOptionsResponseParams ¶
type ModifyClusterAuthenticationOptionsResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyClusterEndpointSPRequest ¶
type ModifyClusterEndpointSPRequest struct { *tchttp.BaseRequest // Cluster ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // Security policy opens single IP or CIDR block to the Internet (for example: '192.168.1.0/24', with 'reject all' as the default). SecurityPolicies []*string `json:"SecurityPolicies,omitnil,omitempty" name:"SecurityPolicies"` // Modify public network security group SecurityGroup *string `json:"SecurityGroup,omitnil,omitempty" name:"SecurityGroup"` }
func NewModifyClusterEndpointSPRequest ¶
func NewModifyClusterEndpointSPRequest() (request *ModifyClusterEndpointSPRequest)
func (*ModifyClusterEndpointSPRequest) FromJsonString ¶
func (r *ModifyClusterEndpointSPRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyClusterEndpointSPRequest) ToJsonString ¶
func (r *ModifyClusterEndpointSPRequest) ToJsonString() string
type ModifyClusterEndpointSPRequestParams ¶
type ModifyClusterEndpointSPRequestParams struct { // Cluster ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // Security policy opens single IP or CIDR block to the Internet (for example: '192.168.1.0/24', with 'reject all' as the default). SecurityPolicies []*string `json:"SecurityPolicies,omitnil,omitempty" name:"SecurityPolicies"` // Modify public network security group SecurityGroup *string `json:"SecurityGroup,omitnil,omitempty" name:"SecurityGroup"` }
Predefined struct for user
type ModifyClusterEndpointSPResponse ¶
type ModifyClusterEndpointSPResponse struct { *tchttp.BaseResponse Response *ModifyClusterEndpointSPResponseParams `json:"Response"` }
func NewModifyClusterEndpointSPResponse ¶
func NewModifyClusterEndpointSPResponse() (response *ModifyClusterEndpointSPResponse)
func (*ModifyClusterEndpointSPResponse) FromJsonString ¶
func (r *ModifyClusterEndpointSPResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyClusterEndpointSPResponse) ToJsonString ¶
func (r *ModifyClusterEndpointSPResponse) ToJsonString() string
type ModifyClusterEndpointSPResponseParams ¶
type ModifyClusterEndpointSPResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyClusterNodePoolRequest ¶
type ModifyClusterNodePoolRequest struct { *tchttp.BaseRequest // Cluster ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // Node pool ID NodePoolId *string `json:"NodePoolId,omitnil,omitempty" name:"NodePoolId"` // Name Name *string `json:"Name,omitnil,omitempty" name:"Name"` // Maximum number of nodes MaxNodesNum *int64 `json:"MaxNodesNum,omitnil,omitempty" name:"MaxNodesNum"` // Minimum number of nodes MinNodesNum *int64 `json:"MinNodesNum,omitnil,omitempty" name:"MinNodesNum"` // Labels Labels []*Label `json:"Labels,omitnil,omitempty" name:"Labels"` // Taints Taints []*Taint `json:"Taints,omitnil,omitempty" name:"Taints"` // Indicates whether auto scaling is enabled. EnableAutoscale *bool `json:"EnableAutoscale,omitnil,omitempty" name:"EnableAutoscale"` // Operating system name OsName *string `json:"OsName,omitnil,omitempty" name:"OsName"` // Image tag, `DOCKER_CUSTOMIZE` (container customized tag), `GENERAL` (general tag, default value) OsCustomizeType *string `json:"OsCustomizeType,omitnil,omitempty" name:"OsCustomizeType"` // GPU driver version, CUDA version, cuDNN version and wether to enable MIG GPUArgs *GPUArgs `json:"GPUArgs,omitnil,omitempty" name:"GPUArgs"` // Base64-encoded custom script UserScript *string `json:"UserScript,omitnil,omitempty" name:"UserScript"` // Ignore existing nodes when update `Label` and `Taint` IgnoreExistedNode *bool `json:"IgnoreExistedNode,omitnil,omitempty" name:"IgnoreExistedNode"` // Node custom parameter ExtraArgs *InstanceExtraArgs `json:"ExtraArgs,omitnil,omitempty" name:"ExtraArgs"` // Resource tag Tags []*Tag `json:"Tags,omitnil,omitempty" name:"Tags"` // Sets whether the added node is schedulable. 0 (default): schedulable; other values: unschedulable. After node initialization is completed, you can run `kubectl uncordon nodename` to enable this node for scheduling. Unschedulable *int64 `json:"Unschedulable,omitnil,omitempty" name:"Unschedulable"` // Whether Deletion Protection is enabled DeletionProtection *bool `json:"DeletionProtection,omitnil,omitempty" name:"DeletionProtection"` // Specified value of dockerd --graph. Default value: /var/lib/docker DockerGraphPath *string `json:"DockerGraphPath,omitnil,omitempty" name:"DockerGraphPath"` }
func NewModifyClusterNodePoolRequest ¶
func NewModifyClusterNodePoolRequest() (request *ModifyClusterNodePoolRequest)
func (*ModifyClusterNodePoolRequest) FromJsonString ¶
func (r *ModifyClusterNodePoolRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyClusterNodePoolRequest) ToJsonString ¶
func (r *ModifyClusterNodePoolRequest) ToJsonString() string
type ModifyClusterNodePoolRequestParams ¶
type ModifyClusterNodePoolRequestParams struct { // Cluster ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // Node pool ID NodePoolId *string `json:"NodePoolId,omitnil,omitempty" name:"NodePoolId"` // Name Name *string `json:"Name,omitnil,omitempty" name:"Name"` // Maximum number of nodes MaxNodesNum *int64 `json:"MaxNodesNum,omitnil,omitempty" name:"MaxNodesNum"` // Minimum number of nodes MinNodesNum *int64 `json:"MinNodesNum,omitnil,omitempty" name:"MinNodesNum"` // Labels Labels []*Label `json:"Labels,omitnil,omitempty" name:"Labels"` // Taints Taints []*Taint `json:"Taints,omitnil,omitempty" name:"Taints"` // Indicates whether auto scaling is enabled. EnableAutoscale *bool `json:"EnableAutoscale,omitnil,omitempty" name:"EnableAutoscale"` // Operating system name OsName *string `json:"OsName,omitnil,omitempty" name:"OsName"` // Image tag, `DOCKER_CUSTOMIZE` (container customized tag), `GENERAL` (general tag, default value) OsCustomizeType *string `json:"OsCustomizeType,omitnil,omitempty" name:"OsCustomizeType"` // GPU driver version, CUDA version, cuDNN version and wether to enable MIG GPUArgs *GPUArgs `json:"GPUArgs,omitnil,omitempty" name:"GPUArgs"` // Base64-encoded custom script UserScript *string `json:"UserScript,omitnil,omitempty" name:"UserScript"` // Ignore existing nodes when update `Label` and `Taint` IgnoreExistedNode *bool `json:"IgnoreExistedNode,omitnil,omitempty" name:"IgnoreExistedNode"` // Node custom parameter ExtraArgs *InstanceExtraArgs `json:"ExtraArgs,omitnil,omitempty" name:"ExtraArgs"` // Resource tag Tags []*Tag `json:"Tags,omitnil,omitempty" name:"Tags"` // Sets whether the added node is schedulable. 0 (default): schedulable; other values: unschedulable. After node initialization is completed, you can run `kubectl uncordon nodename` to enable this node for scheduling. Unschedulable *int64 `json:"Unschedulable,omitnil,omitempty" name:"Unschedulable"` // Whether Deletion Protection is enabled DeletionProtection *bool `json:"DeletionProtection,omitnil,omitempty" name:"DeletionProtection"` // Specified value of dockerd --graph. Default value: /var/lib/docker DockerGraphPath *string `json:"DockerGraphPath,omitnil,omitempty" name:"DockerGraphPath"` }
Predefined struct for user
type ModifyClusterNodePoolResponse ¶
type ModifyClusterNodePoolResponse struct { *tchttp.BaseResponse Response *ModifyClusterNodePoolResponseParams `json:"Response"` }
func NewModifyClusterNodePoolResponse ¶
func NewModifyClusterNodePoolResponse() (response *ModifyClusterNodePoolResponse)
func (*ModifyClusterNodePoolResponse) FromJsonString ¶
func (r *ModifyClusterNodePoolResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyClusterNodePoolResponse) ToJsonString ¶
func (r *ModifyClusterNodePoolResponse) ToJsonString() string
type ModifyClusterNodePoolResponseParams ¶
type ModifyClusterNodePoolResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyClusterVirtualNodePoolRequest ¶
type ModifyClusterVirtualNodePoolRequest struct { *tchttp.BaseRequest // Cluster ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // Node pool ID NodePoolId *string `json:"NodePoolId,omitnil,omitempty" name:"NodePoolId"` // Node pool name Name *string `json:"Name,omitnil,omitempty" name:"Name"` // List of security group IDs SecurityGroupIds []*string `json:"SecurityGroupIds,omitnil,omitempty" name:"SecurityGroupIds"` // Virtual node labels Labels []*Label `json:"Labels,omitnil,omitempty" name:"Labels"` // Virtual node taint Taints []*Taint `json:"Taints,omitnil,omitempty" name:"Taints"` // Setting of deletion protection DeletionProtection *bool `json:"DeletionProtection,omitnil,omitempty" name:"DeletionProtection"` }
func NewModifyClusterVirtualNodePoolRequest ¶
func NewModifyClusterVirtualNodePoolRequest() (request *ModifyClusterVirtualNodePoolRequest)
func (*ModifyClusterVirtualNodePoolRequest) FromJsonString ¶
func (r *ModifyClusterVirtualNodePoolRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyClusterVirtualNodePoolRequest) ToJsonString ¶
func (r *ModifyClusterVirtualNodePoolRequest) ToJsonString() string
type ModifyClusterVirtualNodePoolRequestParams ¶
type ModifyClusterVirtualNodePoolRequestParams struct { // Cluster ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // Node pool ID NodePoolId *string `json:"NodePoolId,omitnil,omitempty" name:"NodePoolId"` // Node pool name Name *string `json:"Name,omitnil,omitempty" name:"Name"` // List of security group IDs SecurityGroupIds []*string `json:"SecurityGroupIds,omitnil,omitempty" name:"SecurityGroupIds"` // Virtual node labels Labels []*Label `json:"Labels,omitnil,omitempty" name:"Labels"` // Virtual node taint Taints []*Taint `json:"Taints,omitnil,omitempty" name:"Taints"` // Setting of deletion protection DeletionProtection *bool `json:"DeletionProtection,omitnil,omitempty" name:"DeletionProtection"` }
Predefined struct for user
type ModifyClusterVirtualNodePoolResponse ¶
type ModifyClusterVirtualNodePoolResponse struct { *tchttp.BaseResponse Response *ModifyClusterVirtualNodePoolResponseParams `json:"Response"` }
func NewModifyClusterVirtualNodePoolResponse ¶
func NewModifyClusterVirtualNodePoolResponse() (response *ModifyClusterVirtualNodePoolResponse)
func (*ModifyClusterVirtualNodePoolResponse) FromJsonString ¶
func (r *ModifyClusterVirtualNodePoolResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyClusterVirtualNodePoolResponse) ToJsonString ¶
func (r *ModifyClusterVirtualNodePoolResponse) ToJsonString() string
type ModifyClusterVirtualNodePoolResponseParams ¶
type ModifyClusterVirtualNodePoolResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyNodePoolInstanceTypesRequest ¶
type ModifyNodePoolInstanceTypesRequest struct { *tchttp.BaseRequest // Cluster ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // Node pool ID NodePoolId *string `json:"NodePoolId,omitnil,omitempty" name:"NodePoolId"` // List of instance types InstanceTypes []*string `json:"InstanceTypes,omitnil,omitempty" name:"InstanceTypes"` }
func NewModifyNodePoolInstanceTypesRequest ¶
func NewModifyNodePoolInstanceTypesRequest() (request *ModifyNodePoolInstanceTypesRequest)
func (*ModifyNodePoolInstanceTypesRequest) FromJsonString ¶
func (r *ModifyNodePoolInstanceTypesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyNodePoolInstanceTypesRequest) ToJsonString ¶
func (r *ModifyNodePoolInstanceTypesRequest) ToJsonString() string
type ModifyNodePoolInstanceTypesRequestParams ¶
type ModifyNodePoolInstanceTypesRequestParams struct { // Cluster ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // Node pool ID NodePoolId *string `json:"NodePoolId,omitnil,omitempty" name:"NodePoolId"` // List of instance types InstanceTypes []*string `json:"InstanceTypes,omitnil,omitempty" name:"InstanceTypes"` }
Predefined struct for user
type ModifyNodePoolInstanceTypesResponse ¶
type ModifyNodePoolInstanceTypesResponse struct { *tchttp.BaseResponse Response *ModifyNodePoolInstanceTypesResponseParams `json:"Response"` }
func NewModifyNodePoolInstanceTypesResponse ¶
func NewModifyNodePoolInstanceTypesResponse() (response *ModifyNodePoolInstanceTypesResponse)
func (*ModifyNodePoolInstanceTypesResponse) FromJsonString ¶
func (r *ModifyNodePoolInstanceTypesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyNodePoolInstanceTypesResponse) ToJsonString ¶
func (r *ModifyNodePoolInstanceTypesResponse) ToJsonString() string
type ModifyNodePoolInstanceTypesResponseParams ¶
type ModifyNodePoolInstanceTypesResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyPrometheusAlertRuleRequest ¶
type ModifyPrometheusAlertRuleRequest struct { *tchttp.BaseRequest // Instance ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Alarm configurations AlertRule *PrometheusAlertRuleDetail `json:"AlertRule,omitnil,omitempty" name:"AlertRule"` }
func NewModifyPrometheusAlertRuleRequest ¶
func NewModifyPrometheusAlertRuleRequest() (request *ModifyPrometheusAlertRuleRequest)
func (*ModifyPrometheusAlertRuleRequest) FromJsonString ¶
func (r *ModifyPrometheusAlertRuleRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyPrometheusAlertRuleRequest) ToJsonString ¶
func (r *ModifyPrometheusAlertRuleRequest) ToJsonString() string
type ModifyPrometheusAlertRuleRequestParams ¶
type ModifyPrometheusAlertRuleRequestParams struct { // Instance ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Alarm configurations AlertRule *PrometheusAlertRuleDetail `json:"AlertRule,omitnil,omitempty" name:"AlertRule"` }
Predefined struct for user
type ModifyPrometheusAlertRuleResponse ¶
type ModifyPrometheusAlertRuleResponse struct { *tchttp.BaseResponse Response *ModifyPrometheusAlertRuleResponseParams `json:"Response"` }
func NewModifyPrometheusAlertRuleResponse ¶
func NewModifyPrometheusAlertRuleResponse() (response *ModifyPrometheusAlertRuleResponse)
func (*ModifyPrometheusAlertRuleResponse) FromJsonString ¶
func (r *ModifyPrometheusAlertRuleResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyPrometheusAlertRuleResponse) ToJsonString ¶
func (r *ModifyPrometheusAlertRuleResponse) ToJsonString() string
type ModifyPrometheusAlertRuleResponseParams ¶
type ModifyPrometheusAlertRuleResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type NodeCountSummary ¶
type NodeCountSummary struct { // Nodes that are manually managed // Note: this field may return `null`, indicating that no valid value is obtained. ManuallyAdded *ManuallyAdded `json:"ManuallyAdded,omitnil,omitempty" name:"ManuallyAdded"` // Nodes that are automatically managed // Note: this field may return `null`, indicating that no valid value is obtained. AutoscalingAdded *AutoscalingAdded `json:"AutoscalingAdded,omitnil,omitempty" name:"AutoscalingAdded"` }
type NodePool ¶
type NodePool struct { // Node pool ID NodePoolId *string `json:"NodePoolId,omitnil,omitempty" name:"NodePoolId"` // Node pool name Name *string `json:"Name,omitnil,omitempty" name:"Name"` // Cluster instance ID ClusterInstanceId *string `json:"ClusterInstanceId,omitnil,omitempty" name:"ClusterInstanceId"` // The lifecycle state of the current node pool. Valid values: `creating`, `normal`, `updating`, `deleting`, and `deleted`. LifeState *string `json:"LifeState,omitnil,omitempty" name:"LifeState"` // Launch configuration ID LaunchConfigurationId *string `json:"LaunchConfigurationId,omitnil,omitempty" name:"LaunchConfigurationId"` // Auto-scaling group ID AutoscalingGroupId *string `json:"AutoscalingGroupId,omitnil,omitempty" name:"AutoscalingGroupId"` // Labels Labels []*Label `json:"Labels,omitnil,omitempty" name:"Labels"` // Array of taint Taints []*Taint `json:"Taints,omitnil,omitempty" name:"Taints"` // Node list NodeCountSummary *NodeCountSummary `json:"NodeCountSummary,omitnil,omitempty" name:"NodeCountSummary"` AutoscalingGroupStatus *string `json:"AutoscalingGroupStatus,omitnil,omitempty" name:"AutoscalingGroupStatus"` // Maximum number of nodes // Note: this field may return `null`, indicating that no valid value is obtained. MaxNodesNum *int64 `json:"MaxNodesNum,omitnil,omitempty" name:"MaxNodesNum"` // Minimum number of nodes // Note: this field may return `null`, indicating that no valid value is obtained. MinNodesNum *int64 `json:"MinNodesNum,omitnil,omitempty" name:"MinNodesNum"` // Desired number of nodes // Note: this field may return `null`, indicating that no valid value is obtained. DesiredNodesNum *int64 `json:"DesiredNodesNum,omitnil,omitempty" name:"DesiredNodesNum"` // The operating system of the node pool // Note: this field may return `null`, indicating that no valid value is obtained. NodePoolOs *string `json:"NodePoolOs,omitnil,omitempty" name:"NodePoolOs"` // Container image tag, `DOCKER_CUSTOMIZE` (container customized tag), `GENERAL` (general tag, default value) // Note: this field may return `null`, indicating that no valid value is obtained. OsCustomizeType *string `json:"OsCustomizeType,omitnil,omitempty" name:"OsCustomizeType"` // Image ID // Note: this field may return `null`, indicating that no valid value is obtained. ImageId *string `json:"ImageId,omitnil,omitempty" name:"ImageId"` // This parameter is required when the custom PodCIDR mode is enabled for the cluster. // Note: this field may return `null`, indicating that no valid value is obtained. DesiredPodNum *int64 `json:"DesiredPodNum,omitnil,omitempty" name:"DesiredPodNum"` // Custom script // Note: this field may return `null`, indicating that no valid value is obtained. UserScript *string `json:"UserScript,omitnil,omitempty" name:"UserScript"` // Resource tag // Note: this field may return `null`, indicating that no valid values can be obtained. Tags []*Tag `json:"Tags,omitnil,omitempty" name:"Tags"` // Whether Deletion Protection is enabled // Note: this field may return `null`, indicating that no valid values can be obtained. DeletionProtection *bool `json:"DeletionProtection,omitnil,omitempty" name:"DeletionProtection"` }
type NodePoolOption ¶
type NodePoolOption struct { // Whether to add to the node pool. AddToNodePool *bool `json:"AddToNodePool,omitnil,omitempty" name:"AddToNodePool"` // Node pool ID NodePoolId *string `json:"NodePoolId,omitnil,omitempty" name:"NodePoolId"` // Whether to inherit the node pool configuration. InheritConfigurationFromNodePool *bool `json:"InheritConfigurationFromNodePool,omitnil,omitempty" name:"InheritConfigurationFromNodePool"` }
type OIDCConfigAuthenticationOptions ¶
type OIDCConfigAuthenticationOptions struct { // Creating an identity provider // Note: This field may return `null`, indicating that no valid value can be obtained. AutoCreateOIDCConfig *bool `json:"AutoCreateOIDCConfig,omitnil,omitempty" name:"AutoCreateOIDCConfig"` // Creating ClientId of the identity provider // Note: This field may return `null`, indicating that no valid value can be obtained. AutoCreateClientId []*string `json:"AutoCreateClientId,omitnil,omitempty" name:"AutoCreateClientId"` // Creating the PodIdentityWebhook component // Note: This field may return `null`, indicating that no valid value can be obtained. AutoInstallPodIdentityWebhookAddon *bool `json:"AutoInstallPodIdentityWebhookAddon,omitnil,omitempty" name:"AutoInstallPodIdentityWebhookAddon"` }
type PodLimitsByType ¶
type PodLimitsByType struct { // The number of Pods supported by a TKE shared ENI in non-static IP address mode // Note: this field may return `null`, indicating that no valid value can be obtained. TKERouteENINonStaticIP *int64 `json:"TKERouteENINonStaticIP,omitnil,omitempty" name:"TKERouteENINonStaticIP"` // The number of Pods supported by a TKE shared ENI in static IP address mode // Note: this field may return `null`, indicating that no valid value can be obtained. TKERouteENIStaticIP *int64 `json:"TKERouteENIStaticIP,omitnil,omitempty" name:"TKERouteENIStaticIP"` // The number of Pods supported by TKE independent ENI mode // Note: this field may return `null`, indicating that no valid value can be obtained. TKEDirectENI *int64 `json:"TKEDirectENI,omitnil,omitempty" name:"TKEDirectENI"` }
type PodLimitsInstance ¶
type PodLimitsInstance struct { // The availability zone where the model is located // Note: this field may return `null`, indicating that no valid value can be obtained. Zone *string `json:"Zone,omitnil,omitempty" name:"Zone"` // The instance family to which the model belongs // Note: this field may return `null`, indicating that no valid value can be obtained. InstanceFamily *string `json:"InstanceFamily,omitnil,omitempty" name:"InstanceFamily"` // Instance type // Note: this field may return `null`, indicating that no valid value can be obtained. InstanceType *string `json:"InstanceType,omitnil,omitempty" name:"InstanceType"` // The maximum number of Pods in the VPC-CNI mode supported by the model // Note: this field may return `null`, indicating that no valid value can be obtained. PodLimits *PodLimitsByType `json:"PodLimits,omitnil,omitempty" name:"PodLimits"` }
type PrometheusAlertRule ¶
type PrometheusAlertRule struct { // Rule name Name *string `json:"Name,omitnil,omitempty" name:"Name"` // PromQL contents Rule *string `json:"Rule,omitnil,omitempty" name:"Rule"` // Additional labels Labels []*Label `json:"Labels,omitnil,omitempty" name:"Labels"` // Alarm delivery template Template *string `json:"Template,omitnil,omitempty" name:"Template"` // Duration For *string `json:"For,omitnil,omitempty" name:"For"` // Rule description // Note: this field may return `null`, indicating that no valid value can be obtained. Describe *string `json:"Describe,omitnil,omitempty" name:"Describe"` // Refer to annotations in prometheus rule // Note: this field may return `null`, indicating that no valid value can be obtained. Annotations []*Label `json:"Annotations,omitnil,omitempty" name:"Annotations"` // Alarm rule status // Note: this field may return `null`, indicating that no valid values can be obtained. RuleState *int64 `json:"RuleState,omitnil,omitempty" name:"RuleState"` }
type PrometheusAlertRuleDetail ¶
type PrometheusAlertRuleDetail struct { // Rule name Name *string `json:"Name,omitnil,omitempty" name:"Name"` // Rule list Rules []*PrometheusAlertRule `json:"Rules,omitnil,omitempty" name:"Rules"` // Last modification time UpdatedAt *string `json:"UpdatedAt,omitnil,omitempty" name:"UpdatedAt"` // Alarm delivery methods Notification *PrometheusNotification `json:"Notification,omitnil,omitempty" name:"Notification"` // Alarm rule ID Id *string `json:"Id,omitnil,omitempty" name:"Id"` // If the alarm is delivered via a template, the TemplateId is the template ID. // Note: this field may return `null`, indicating that no valid value can be obtained. TemplateId *string `json:"TemplateId,omitnil,omitempty" name:"TemplateId"` // Alarm interval // Note: this field may return `null`, indicating that no valid value can be obtained. Interval *string `json:"Interval,omitnil,omitempty" name:"Interval"` }
type PrometheusGrafanaInfo ¶
type PrometheusGrafanaInfo struct { // Whether it is enabled Enabled *bool `json:"Enabled,omitnil,omitempty" name:"Enabled"` // Domain name. It will be effective only when the public network access is enabled. Domain *string `json:"Domain,omitnil,omitempty" name:"Domain"` // The private network or public network address Address *string `json:"Address,omitnil,omitempty" name:"Address"` // Whether the public network access is enabled. // `close`: the public network access is not enabled // `opening`: the public network access is being enabled // `open`: the public network access is enabled Internet *string `json:"Internet,omitnil,omitempty" name:"Internet"` // The user name of the grafana admin AdminUser *string `json:"AdminUser,omitnil,omitempty" name:"AdminUser"` }
type PrometheusNotification ¶
type PrometheusNotification struct { // Whether it is enabled Enabled *bool `json:"Enabled,omitnil,omitempty" name:"Enabled"` // Convergence time RepeatInterval *string `json:"RepeatInterval,omitnil,omitempty" name:"RepeatInterval"` // Start time TimeRangeStart *string `json:"TimeRangeStart,omitnil,omitempty" name:"TimeRangeStart"` // End time TimeRangeEnd *string `json:"TimeRangeEnd,omitnil,omitempty" name:"TimeRangeEnd"` // Alarm delivery method. Valid values: `SMS`, `EMAIL`, `CALL`, and `WECHAT` // It respectively represents SMS, email, phone calls, and WeChat. // Note: this field may return `null`, indicating that no valid value can be obtained. NotifyWay []*string `json:"NotifyWay,omitnil,omitempty" name:"NotifyWay"` // The alarm recipient group (user group) // Note: this field may return `null`, indicating that no valid value can be obtained. ReceiverGroups []*uint64 `json:"ReceiverGroups,omitnil,omitempty" name:"ReceiverGroups"` // The alarm sequence of phone calls // This parameter is used when you specify `CALL` for `NotifyWay`. // Note: this field may return `null`, indicating that no valid value can be obtained. PhoneNotifyOrder []*uint64 `json:"PhoneNotifyOrder,omitnil,omitempty" name:"PhoneNotifyOrder"` // The number of phone call alarms // This parameter is used when you specify `CALL` for `NotifyWay`. // Note: this field may return `null`, indicating that no valid value can be obtained. PhoneCircleTimes *int64 `json:"PhoneCircleTimes,omitnil,omitempty" name:"PhoneCircleTimes"` // Dialing interval in seconds within one polling // This parameter is used when you specify `CALL` for `NotifyWay`. // Note: this field may return `null`, indicating that no valid value can be obtained. PhoneInnerInterval *int64 `json:"PhoneInnerInterval,omitnil,omitempty" name:"PhoneInnerInterval"` // Polling interval in seconds // This parameter is used when you specify `CALL` for `NotifyWay`. // Note: this field may return `null`, indicating that no valid value can be obtained. PhoneCircleInterval *int64 `json:"PhoneCircleInterval,omitnil,omitempty" name:"PhoneCircleInterval"` // Phone call alarm arrival notification // This parameter is used when you specify `CALL` for `NotifyWay`. // Note: this field may return `null`, indicating that no valid value can be obtained. PhoneArriveNotice *bool `json:"PhoneArriveNotice,omitnil,omitempty" name:"PhoneArriveNotice"` // Channel type. Default value: `amp`. The following channels are supported: // amp // webhook // Note: this field may return `null`, indicating that no valid value can be obtained. Type *string `json:"Type,omitnil,omitempty" name:"Type"` // This parameter is required if `Type` is `webhook`. // Note: this field may return `null`, indicating that no valid value can be obtained. WebHook *string `json:"WebHook,omitnil,omitempty" name:"WebHook"` }
type RegionInstance ¶
type RegionInstance struct { // Region name // Note: this field may return null, indicating that no valid values can be obtained. RegionName *string `json:"RegionName,omitnil,omitempty" name:"RegionName"` // Region ID // Note: this field may return null, indicating that no valid values can be obtained. RegionId *int64 `json:"RegionId,omitnil,omitempty" name:"RegionId"` // Region status // Note: this field may return null, indicating that no valid values can be obtained. Status *string `json:"Status,omitnil,omitempty" name:"Status"` // Status of region-related features (return all attributes in JSON format) // Note: this field may return null, indicating that no valid values can be obtained. FeatureGates *string `json:"FeatureGates,omitnil,omitempty" name:"FeatureGates"` // Region abbreviation // Note: this field may return null, indicating that no valid values can be obtained. Alias *string `json:"Alias,omitnil,omitempty" name:"Alias"` // Whitelisted location // Note: this field may return null, indicating that no valid values can be obtained. Remark *string `json:"Remark,omitnil,omitempty" name:"Remark"` }
type RemoveNodeFromNodePoolRequest ¶
type RemoveNodeFromNodePoolRequest struct { *tchttp.BaseRequest // Cluster ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // Node pool ID NodePoolId *string `json:"NodePoolId,omitnil,omitempty" name:"NodePoolId"` // The node ID list. Up to 100 nodes can be removed at a time. InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" name:"InstanceIds"` }
func NewRemoveNodeFromNodePoolRequest ¶
func NewRemoveNodeFromNodePoolRequest() (request *RemoveNodeFromNodePoolRequest)
func (*RemoveNodeFromNodePoolRequest) FromJsonString ¶
func (r *RemoveNodeFromNodePoolRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*RemoveNodeFromNodePoolRequest) ToJsonString ¶
func (r *RemoveNodeFromNodePoolRequest) ToJsonString() string
type RemoveNodeFromNodePoolRequestParams ¶
type RemoveNodeFromNodePoolRequestParams struct { // Cluster ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // Node pool ID NodePoolId *string `json:"NodePoolId,omitnil,omitempty" name:"NodePoolId"` // The node ID list. Up to 100 nodes can be removed at a time. InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" name:"InstanceIds"` }
Predefined struct for user
type RemoveNodeFromNodePoolResponse ¶
type RemoveNodeFromNodePoolResponse struct { *tchttp.BaseResponse Response *RemoveNodeFromNodePoolResponseParams `json:"Response"` }
func NewRemoveNodeFromNodePoolResponse ¶
func NewRemoveNodeFromNodePoolResponse() (response *RemoveNodeFromNodePoolResponse)
func (*RemoveNodeFromNodePoolResponse) FromJsonString ¶
func (r *RemoveNodeFromNodePoolResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*RemoveNodeFromNodePoolResponse) ToJsonString ¶
func (r *RemoveNodeFromNodePoolResponse) ToJsonString() string
type RemoveNodeFromNodePoolResponseParams ¶
type RemoveNodeFromNodePoolResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ResourceDeleteOption ¶
type ResourceDeleteOption struct { // Resource type, for example `CBS` ResourceType *string `json:"ResourceType,omitnil,omitempty" name:"ResourceType"` // Specifies the policy to deal with resources in the cluster when the cluster is deleted. It can be `terminate` or `retain`. DeleteMode *string `json:"DeleteMode,omitnil,omitempty" name:"DeleteMode"` }
type ResourceUsage ¶
type ResourceUsage struct { // Resource type Name *string `json:"Name,omitnil,omitempty" name:"Name"` // Resource usage Usage *uint64 `json:"Usage,omitnil,omitempty" name:"Usage"` // Resource usage details Details []*ResourceUsageDetail `json:"Details,omitnil,omitempty" name:"Details"` }
type ResourceUsageDetail ¶
type RouteInfo ¶
type RouteInfo struct { // Route table name. RouteTableName *string `json:"RouteTableName,omitnil,omitempty" name:"RouteTableName"` // Destination CIDR. DestinationCidrBlock *string `json:"DestinationCidrBlock,omitnil,omitempty" name:"DestinationCidrBlock"` // Next hop address. GatewayIp *string `json:"GatewayIp,omitnil,omitempty" name:"GatewayIp"` }
type RouteTableConflict ¶
type RouteTableConflict struct { // Route table type. RouteTableType *string `json:"RouteTableType,omitnil,omitempty" name:"RouteTableType"` // Route table CIDR. // Note: This field may return null, indicating that no valid values can be obtained. RouteTableCidrBlock *string `json:"RouteTableCidrBlock,omitnil,omitempty" name:"RouteTableCidrBlock"` // Route table name. // Note: This field may return null, indicating that no valid values can be obtained. RouteTableName *string `json:"RouteTableName,omitnil,omitempty" name:"RouteTableName"` // Route table ID. // Note: This field may return null, indicating that no valid values can be obtained. RouteTableId *string `json:"RouteTableId,omitnil,omitempty" name:"RouteTableId"` }
type RouteTableInfo ¶
type RouteTableInfo struct { // Route table name. RouteTableName *string `json:"RouteTableName,omitnil,omitempty" name:"RouteTableName"` // Route table CIDR. RouteTableCidrBlock *string `json:"RouteTableCidrBlock,omitnil,omitempty" name:"RouteTableCidrBlock"` // VPC instance ID. VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"` }
type RunAutomationServiceEnabled ¶
type RunAutomationServiceEnabled struct { // Whether to enable the TAT service. Valid values: <br><li>`TRUE`: yes;<br><li>`FALSE`: no<br><br>Default: `FALSE`. Enabled *bool `json:"Enabled,omitnil,omitempty" name:"Enabled"` }
type RunInstancesForNode ¶
type RunInstancesForNode struct { // Node role. Values: MASTER_ETCD, WORKER. You only need to specify MASTER_ETCD when creating a self-deployed cluster (INDEPENDENT_CLUSTER). NodeRole *string `json:"NodeRole,omitnil,omitempty" name:"NodeRole"` // Pass-through parameter for CVM creation in the format of a JSON string. For more information, see the API for [creating a CVM instance](https://intl.cloud.tencent.com/document/product/213/15730?from_cn_redirect=1). Pass any parameter other than common parameters. ImageId will be replaced with the image corresponding to the TKE cluster operating system. RunInstancesPara []*string `json:"RunInstancesPara,omitnil,omitempty" name:"RunInstancesPara"` // An advanced node setting. This parameter overrides the InstanceAdvancedSettings item set at the cluster level and corresponds to RunInstancesPara in a one-to-one sequential manner (currently valid for the ExtraArgs node custom parameter only). InstanceAdvancedSettingsOverrides []*InstanceAdvancedSettings `json:"InstanceAdvancedSettingsOverrides,omitnil,omitempty" name:"InstanceAdvancedSettingsOverrides"` }
type RunMonitorServiceEnabled ¶
type RunMonitorServiceEnabled struct { // Whether to enable [Cloud Monitor](https://intl.cloud.tencent.com/document/product/248?from_cn_redirect=1). Valid values: <br><li>TRUE: enable Cloud Monitor <br><li>FALSE: do not enable Cloud Monitor <br><br>Default value: TRUE. Enabled *bool `json:"Enabled,omitnil,omitempty" name:"Enabled"` }
type RunSecurityServiceEnabled ¶
type RunSecurityServiceEnabled struct { // Whether to enable [Cloud Security](https://intl.cloud.tencent.com/document/product/296?from_cn_redirect=1). Valid values: <br><li>TRUE: enable Cloud Security <br><li>FALSE: do not enable Cloud Security <br><br>Default value: TRUE. Enabled *bool `json:"Enabled,omitnil,omitempty" name:"Enabled"` }
type ServiceAccountAuthenticationOptions ¶
type ServiceAccountAuthenticationOptions struct { // Use TKE default issuer and jwksuri // Note: This field may return `null`, indicating that no valid values can be obtained. UseTKEDefault *bool `json:"UseTKEDefault,omitnil,omitempty" name:"UseTKEDefault"` // service-account-issuer // Note: this field may return `null`, indicating that no valid values can be obtained. Issuer *string `json:"Issuer,omitnil,omitempty" name:"Issuer"` // service-account-jwks-uri // Note: this field may return `null`, indicating that no valid values can be obtained. JWKSURI *string `json:"JWKSURI,omitnil,omitempty" name:"JWKSURI"` // If it is set to `true`, a RABC rule is automatically created to allow anonymous users to access `/.well-known/openid-configuration` and `/openid/v1/jwks`. // Note: this field may return `null`, indicating that no valid values can be obtained. AutoCreateDiscoveryAnonymousAuth *bool `json:"AutoCreateDiscoveryAnonymousAuth,omitnil,omitempty" name:"AutoCreateDiscoveryAnonymousAuth"` }
type SetNodePoolNodeProtectionRequest ¶
type SetNodePoolNodeProtectionRequest struct { *tchttp.BaseRequest // Cluster ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // Node pool ID NodePoolId *string `json:"NodePoolId,omitnil,omitempty" name:"NodePoolId"` // Node ID InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" name:"InstanceIds"` // Whether the node needs removal protection ProtectedFromScaleIn *bool `json:"ProtectedFromScaleIn,omitnil,omitempty" name:"ProtectedFromScaleIn"` }
func NewSetNodePoolNodeProtectionRequest ¶
func NewSetNodePoolNodeProtectionRequest() (request *SetNodePoolNodeProtectionRequest)
func (*SetNodePoolNodeProtectionRequest) FromJsonString ¶
func (r *SetNodePoolNodeProtectionRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*SetNodePoolNodeProtectionRequest) ToJsonString ¶
func (r *SetNodePoolNodeProtectionRequest) ToJsonString() string
type SetNodePoolNodeProtectionRequestParams ¶
type SetNodePoolNodeProtectionRequestParams struct { // Cluster ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // Node pool ID NodePoolId *string `json:"NodePoolId,omitnil,omitempty" name:"NodePoolId"` // Node ID InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" name:"InstanceIds"` // Whether the node needs removal protection ProtectedFromScaleIn *bool `json:"ProtectedFromScaleIn,omitnil,omitempty" name:"ProtectedFromScaleIn"` }
Predefined struct for user
type SetNodePoolNodeProtectionResponse ¶
type SetNodePoolNodeProtectionResponse struct { *tchttp.BaseResponse Response *SetNodePoolNodeProtectionResponseParams `json:"Response"` }
func NewSetNodePoolNodeProtectionResponse ¶
func NewSetNodePoolNodeProtectionResponse() (response *SetNodePoolNodeProtectionResponse)
func (*SetNodePoolNodeProtectionResponse) FromJsonString ¶
func (r *SetNodePoolNodeProtectionResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*SetNodePoolNodeProtectionResponse) ToJsonString ¶
func (r *SetNodePoolNodeProtectionResponse) ToJsonString() string
type SetNodePoolNodeProtectionResponseParams ¶
type SetNodePoolNodeProtectionResponseParams struct { // ID of the node that has successfully set the removal protection // Note: this field may return `null`, indicating that no valid values can be obtained. SucceedInstanceIds []*string `json:"SucceedInstanceIds,omitnil,omitempty" name:"SucceedInstanceIds"` // ID of the node that fails to set the removal protection // Note: this field may return `null`, indicating that no valid values can be obtained. FailedInstanceIds []*string `json:"FailedInstanceIds,omitnil,omitempty" name:"FailedInstanceIds"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type TagSpecification ¶
type TaskStepInfo ¶
type TaskStepInfo struct { // Step name Step *string `json:"Step,omitnil,omitempty" name:"Step"` // Lifecycle // pending: the step is not started // running: the step is in progress // success: the step is completed // failed: the step failed LifeState *string `json:"LifeState,omitnil,omitempty" name:"LifeState"` // Step start time // Note: this field may return `null`, indicating that no valid value is obtained. StartAt *string `json:"StartAt,omitnil,omitempty" name:"StartAt"` // Step end time // Note: this field may return `null`, indicating that no valid value is obtained. EndAt *string `json:"EndAt,omitnil,omitempty" name:"EndAt"` // If the lifecycle of the step is failed, this field will display the error information. // Note: this field may return `null`, indicating that no valid value is obtained. FailedMsg *string `json:"FailedMsg,omitnil,omitempty" name:"FailedMsg"` }
type UnavailableReason ¶
type UnavailableReason struct { // Note: This field may return `null`, indicating that no valid values can be obtained. InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Note: This field may return `null`, indicating that no valid values can be obtained. Reason *string `json:"Reason,omitnil,omitempty" name:"Reason"` }
type UninstallEdgeLogAgentRequest ¶
type UninstallEdgeLogAgentRequest struct { *tchttp.BaseRequest // Cluster ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` }
func NewUninstallEdgeLogAgentRequest ¶
func NewUninstallEdgeLogAgentRequest() (request *UninstallEdgeLogAgentRequest)
func (*UninstallEdgeLogAgentRequest) FromJsonString ¶
func (r *UninstallEdgeLogAgentRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UninstallEdgeLogAgentRequest) ToJsonString ¶
func (r *UninstallEdgeLogAgentRequest) ToJsonString() string
type UninstallEdgeLogAgentRequestParams ¶
type UninstallEdgeLogAgentRequestParams struct { // Cluster ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` }
Predefined struct for user
type UninstallEdgeLogAgentResponse ¶
type UninstallEdgeLogAgentResponse struct { *tchttp.BaseResponse Response *UninstallEdgeLogAgentResponseParams `json:"Response"` }
func NewUninstallEdgeLogAgentResponse ¶
func NewUninstallEdgeLogAgentResponse() (response *UninstallEdgeLogAgentResponse)
func (*UninstallEdgeLogAgentResponse) FromJsonString ¶
func (r *UninstallEdgeLogAgentResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UninstallEdgeLogAgentResponse) ToJsonString ¶
func (r *UninstallEdgeLogAgentResponse) ToJsonString() string
type UninstallEdgeLogAgentResponseParams ¶
type UninstallEdgeLogAgentResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type UpdateAddonRequest ¶
type UpdateAddonRequest struct { *tchttp.BaseRequest // Cluster ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // Add-on name AddonName *string `json:"AddonName,omitnil,omitempty" name:"AddonName"` // Add-on version. The add-on version is not updated if this parameter is not specified. AddonVersion *string `json:"AddonVersion,omitnil,omitempty" name:"AddonVersion"` // Add-on parameters in a base64-encoded JSON string. You can query add-on parameters via `DescribeAddonValues`. RawValues *string `json:"RawValues,omitnil,omitempty" name:"RawValues"` }
func NewUpdateAddonRequest ¶
func NewUpdateAddonRequest() (request *UpdateAddonRequest)
func (*UpdateAddonRequest) FromJsonString ¶
func (r *UpdateAddonRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UpdateAddonRequest) ToJsonString ¶
func (r *UpdateAddonRequest) ToJsonString() string
type UpdateAddonRequestParams ¶
type UpdateAddonRequestParams struct { // Cluster ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // Add-on name AddonName *string `json:"AddonName,omitnil,omitempty" name:"AddonName"` // Add-on version. The add-on version is not updated if this parameter is not specified. AddonVersion *string `json:"AddonVersion,omitnil,omitempty" name:"AddonVersion"` // Add-on parameters in a base64-encoded JSON string. You can query add-on parameters via `DescribeAddonValues`. RawValues *string `json:"RawValues,omitnil,omitempty" name:"RawValues"` }
Predefined struct for user
type UpdateAddonResponse ¶
type UpdateAddonResponse struct { *tchttp.BaseResponse Response *UpdateAddonResponseParams `json:"Response"` }
func NewUpdateAddonResponse ¶
func NewUpdateAddonResponse() (response *UpdateAddonResponse)
func (*UpdateAddonResponse) FromJsonString ¶
func (r *UpdateAddonResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UpdateAddonResponse) ToJsonString ¶
func (r *UpdateAddonResponse) ToJsonString() string
type UpdateAddonResponseParams ¶
type UpdateAddonResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type UpdateClusterKubeconfigRequest ¶
type UpdateClusterKubeconfigRequest struct { *tchttp.BaseRequest // The cluster ID. ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // List of sub-account UINs. If it’s not specified, the SubUin used to invoke this API is used. SubAccounts []*string `json:"SubAccounts,omitnil,omitempty" name:"SubAccounts"` }
func NewUpdateClusterKubeconfigRequest ¶
func NewUpdateClusterKubeconfigRequest() (request *UpdateClusterKubeconfigRequest)
func (*UpdateClusterKubeconfigRequest) FromJsonString ¶
func (r *UpdateClusterKubeconfigRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UpdateClusterKubeconfigRequest) ToJsonString ¶
func (r *UpdateClusterKubeconfigRequest) ToJsonString() string
type UpdateClusterKubeconfigRequestParams ¶
type UpdateClusterKubeconfigRequestParams struct { // The cluster ID. ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // List of sub-account UINs. If it’s not specified, the SubUin used to invoke this API is used. SubAccounts []*string `json:"SubAccounts,omitnil,omitempty" name:"SubAccounts"` }
Predefined struct for user
type UpdateClusterKubeconfigResponse ¶
type UpdateClusterKubeconfigResponse struct { *tchttp.BaseResponse Response *UpdateClusterKubeconfigResponseParams `json:"Response"` }
func NewUpdateClusterKubeconfigResponse ¶
func NewUpdateClusterKubeconfigResponse() (response *UpdateClusterKubeconfigResponse)
func (*UpdateClusterKubeconfigResponse) FromJsonString ¶
func (r *UpdateClusterKubeconfigResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UpdateClusterKubeconfigResponse) ToJsonString ¶
func (r *UpdateClusterKubeconfigResponse) ToJsonString() string
type UpdateClusterKubeconfigResponseParams ¶
type UpdateClusterKubeconfigResponseParams struct { // List of updated sub-account UINs // Note: This parameter may return null, indicating that no valid values can be obtained. UpdatedSubAccounts []*string `json:"UpdatedSubAccounts,omitnil,omitempty" name:"UpdatedSubAccounts"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type UpdateClusterVersionRequest ¶
type UpdateClusterVersionRequest struct { *tchttp.BaseRequest // Cluster ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // The version that needs to upgrade to DstVersion *string `json:"DstVersion,omitnil,omitempty" name:"DstVersion"` // Cluster custom parameter ExtraArgs *ClusterExtraArgs `json:"ExtraArgs,omitnil,omitempty" name:"ExtraArgs"` // The maximum tolerable number of unavailable pods MaxNotReadyPercent *float64 `json:"MaxNotReadyPercent,omitnil,omitempty" name:"MaxNotReadyPercent"` // Whether to skip the precheck SkipPreCheck *bool `json:"SkipPreCheck,omitnil,omitempty" name:"SkipPreCheck"` }
func NewUpdateClusterVersionRequest ¶
func NewUpdateClusterVersionRequest() (request *UpdateClusterVersionRequest)
func (*UpdateClusterVersionRequest) FromJsonString ¶
func (r *UpdateClusterVersionRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UpdateClusterVersionRequest) ToJsonString ¶
func (r *UpdateClusterVersionRequest) ToJsonString() string
type UpdateClusterVersionRequestParams ¶
type UpdateClusterVersionRequestParams struct { // Cluster ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // The version that needs to upgrade to DstVersion *string `json:"DstVersion,omitnil,omitempty" name:"DstVersion"` // Cluster custom parameter ExtraArgs *ClusterExtraArgs `json:"ExtraArgs,omitnil,omitempty" name:"ExtraArgs"` // The maximum tolerable number of unavailable pods MaxNotReadyPercent *float64 `json:"MaxNotReadyPercent,omitnil,omitempty" name:"MaxNotReadyPercent"` // Whether to skip the precheck SkipPreCheck *bool `json:"SkipPreCheck,omitnil,omitempty" name:"SkipPreCheck"` }
Predefined struct for user
type UpdateClusterVersionResponse ¶
type UpdateClusterVersionResponse struct { *tchttp.BaseResponse Response *UpdateClusterVersionResponseParams `json:"Response"` }
func NewUpdateClusterVersionResponse ¶
func NewUpdateClusterVersionResponse() (response *UpdateClusterVersionResponse)
func (*UpdateClusterVersionResponse) FromJsonString ¶
func (r *UpdateClusterVersionResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UpdateClusterVersionResponse) ToJsonString ¶
func (r *UpdateClusterVersionResponse) ToJsonString() string
type UpdateClusterVersionResponseParams ¶
type UpdateClusterVersionResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type UpdateEdgeClusterVersionRequest ¶
type UpdateEdgeClusterVersionRequest struct { *tchttp.BaseRequest // Cluster ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // Target version EdgeVersion *string `json:"EdgeVersion,omitnil,omitempty" name:"EdgeVersion"` // Prefix of the image repository of a custom edge component RegistryPrefix *string `json:"RegistryPrefix,omitnil,omitempty" name:"RegistryPrefix"` // Whether to skip precheck SkipPreCheck *bool `json:"SkipPreCheck,omitnil,omitempty" name:"SkipPreCheck"` }
func NewUpdateEdgeClusterVersionRequest ¶
func NewUpdateEdgeClusterVersionRequest() (request *UpdateEdgeClusterVersionRequest)
func (*UpdateEdgeClusterVersionRequest) FromJsonString ¶
func (r *UpdateEdgeClusterVersionRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UpdateEdgeClusterVersionRequest) ToJsonString ¶
func (r *UpdateEdgeClusterVersionRequest) ToJsonString() string
type UpdateEdgeClusterVersionRequestParams ¶
type UpdateEdgeClusterVersionRequestParams struct { // Cluster ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // Target version EdgeVersion *string `json:"EdgeVersion,omitnil,omitempty" name:"EdgeVersion"` // Prefix of the image repository of a custom edge component RegistryPrefix *string `json:"RegistryPrefix,omitnil,omitempty" name:"RegistryPrefix"` // Whether to skip precheck SkipPreCheck *bool `json:"SkipPreCheck,omitnil,omitempty" name:"SkipPreCheck"` }
Predefined struct for user
type UpdateEdgeClusterVersionResponse ¶
type UpdateEdgeClusterVersionResponse struct { *tchttp.BaseResponse Response *UpdateEdgeClusterVersionResponseParams `json:"Response"` }
func NewUpdateEdgeClusterVersionResponse ¶
func NewUpdateEdgeClusterVersionResponse() (response *UpdateEdgeClusterVersionResponse)
func (*UpdateEdgeClusterVersionResponse) FromJsonString ¶
func (r *UpdateEdgeClusterVersionResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UpdateEdgeClusterVersionResponse) ToJsonString ¶
func (r *UpdateEdgeClusterVersionResponse) ToJsonString() string
type UpdateEdgeClusterVersionResponseParams ¶
type UpdateEdgeClusterVersionResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type UpgradeAbleInstancesItem ¶
type UpgradeAbleInstancesItem struct { // Node ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // The current version of the node Version *string `json:"Version,omitnil,omitempty" name:"Version"` // The latest minor version of the current version // Note: this field may return `null`, indicating that no valid value is obtained. LatestVersion *string `json:"LatestVersion,omitnil,omitempty" name:"LatestVersion"` // RuntimeVersion RuntimeVersion *string `json:"RuntimeVersion,omitnil,omitempty" name:"RuntimeVersion"` // RuntimeLatestVersion RuntimeLatestVersion *string `json:"RuntimeLatestVersion,omitnil,omitempty" name:"RuntimeLatestVersion"` }
type UpgradeClusterInstancesRequest ¶
type UpgradeClusterInstancesRequest struct { *tchttp.BaseRequest // Cluster ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // create: starting an upgrade task // pause: pausing the task // resume: continuing the task // abort: stopping the task Operation *string `json:"Operation,omitnil,omitempty" name:"Operation"` // Upgrade type. It’s only required when `Operation` is set as `create`. // reset: the reinstallation and upgrade of major version // hot: the hot upgrade of minor version // major: in-place upgrade of major version UpgradeType *string `json:"UpgradeType,omitnil,omitempty" name:"UpgradeType"` // List of nodes that need to upgrade InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" name:"InstanceIds"` // This parameter is used when the node joins the cluster again. Refer to the API of creating one or more cluster nodes. ResetParam *UpgradeNodeResetParam `json:"ResetParam,omitnil,omitempty" name:"ResetParam"` // Whether to skip the pre-upgrade check of the node SkipPreCheck *bool `json:"SkipPreCheck,omitnil,omitempty" name:"SkipPreCheck"` // The maximum tolerable proportion of unavailable pods MaxNotReadyPercent *float64 `json:"MaxNotReadyPercent,omitnil,omitempty" name:"MaxNotReadyPercent"` // Whether to upgrade node runtime. Values: `true`, `false` (default). UpgradeRunTime *bool `json:"UpgradeRunTime,omitnil,omitempty" name:"UpgradeRunTime"` }
func NewUpgradeClusterInstancesRequest ¶
func NewUpgradeClusterInstancesRequest() (request *UpgradeClusterInstancesRequest)
func (*UpgradeClusterInstancesRequest) FromJsonString ¶
func (r *UpgradeClusterInstancesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UpgradeClusterInstancesRequest) ToJsonString ¶
func (r *UpgradeClusterInstancesRequest) ToJsonString() string
type UpgradeClusterInstancesRequestParams ¶
type UpgradeClusterInstancesRequestParams struct { // Cluster ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // create: starting an upgrade task // pause: pausing the task // resume: continuing the task // abort: stopping the task Operation *string `json:"Operation,omitnil,omitempty" name:"Operation"` // Upgrade type. It’s only required when `Operation` is set as `create`. // reset: the reinstallation and upgrade of major version // hot: the hot upgrade of minor version // major: in-place upgrade of major version UpgradeType *string `json:"UpgradeType,omitnil,omitempty" name:"UpgradeType"` // List of nodes that need to upgrade InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" name:"InstanceIds"` // This parameter is used when the node joins the cluster again. Refer to the API of creating one or more cluster nodes. ResetParam *UpgradeNodeResetParam `json:"ResetParam,omitnil,omitempty" name:"ResetParam"` // Whether to skip the pre-upgrade check of the node SkipPreCheck *bool `json:"SkipPreCheck,omitnil,omitempty" name:"SkipPreCheck"` // The maximum tolerable proportion of unavailable pods MaxNotReadyPercent *float64 `json:"MaxNotReadyPercent,omitnil,omitempty" name:"MaxNotReadyPercent"` // Whether to upgrade node runtime. Values: `true`, `false` (default). UpgradeRunTime *bool `json:"UpgradeRunTime,omitnil,omitempty" name:"UpgradeRunTime"` }
Predefined struct for user
type UpgradeClusterInstancesResponse ¶
type UpgradeClusterInstancesResponse struct { *tchttp.BaseResponse Response *UpgradeClusterInstancesResponseParams `json:"Response"` }
func NewUpgradeClusterInstancesResponse ¶
func NewUpgradeClusterInstancesResponse() (response *UpgradeClusterInstancesResponse)
func (*UpgradeClusterInstancesResponse) FromJsonString ¶
func (r *UpgradeClusterInstancesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UpgradeClusterInstancesResponse) ToJsonString ¶
func (r *UpgradeClusterInstancesResponse) ToJsonString() string
type UpgradeClusterInstancesResponseParams ¶
type UpgradeClusterInstancesResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type UpgradeNodeResetParam ¶
type UpgradeNodeResetParam struct { // Additional parameters set for the instance InstanceAdvancedSettings *InstanceAdvancedSettings `json:"InstanceAdvancedSettings,omitnil,omitempty" name:"InstanceAdvancedSettings"` // Enhanced services. You can use this parameter to specify whether to enable services such as Cloud Security and Cloud Monitor. If this parameter is not specified, Cloud Monitor and Cloud Security will be enabled by default. EnhancedService *EnhancedService `json:"EnhancedService,omitnil,omitempty" name:"EnhancedService"` // Node login information. For now, it only supports Password or a single KeyIds LoginSettings *LoginSettings `json:"LoginSettings,omitnil,omitempty" name:"LoginSettings"` // Security group to which the instance belongs. This parameter can be obtained from the `sgId` field in the response of `DescribeSecurityGroups`. If this parameter is not specified, the default security group is bound. (Currently, you can only set a single sgId.) SecurityGroupIds []*string `json:"SecurityGroupIds,omitnil,omitempty" name:"SecurityGroupIds"` }
type VersionInstance ¶
type VersionInstance struct { // Version name // Note: this field may return `null`, indicating that no valid values can be obtained. Name *string `json:"Name,omitnil,omitempty" name:"Name"` // Version Info // Note: this field may return `null`, indicating that no valid values can be obtained. Version *string `json:"Version,omitnil,omitempty" name:"Version"` // Remark // Note: this field may return `null`, indicating that no valid values can be obtained. Remark *string `json:"Remark,omitnil,omitempty" name:"Remark"` }
type VirtualNode ¶
type VirtualNode struct { // Virtual node name Name *string `json:"Name,omitnil,omitempty" name:"Name"` // Subnet of the virtual node SubnetId *string `json:"SubnetId,omitnil,omitempty" name:"SubnetId"` // Virtual node status Phase *string `json:"Phase,omitnil,omitempty" name:"Phase"` // Creation time // Note: This field may return null, indicating that no valid values can be obtained. CreatedTime *string `json:"CreatedTime,omitnil,omitempty" name:"CreatedTime"` }
type VirtualNodePool ¶
type VirtualNodePool struct { // Node pool ID NodePoolId *string `json:"NodePoolId,omitnil,omitempty" name:"NodePoolId"` // List of subnets // Note: This field may return null, indicating that no valid values can be obtained. SubnetIds []*string `json:"SubnetIds,omitnil,omitempty" name:"SubnetIds"` // Node pool name Name *string `json:"Name,omitnil,omitempty" name:"Name"` // Node pool lifecycle status LifeState *string `json:"LifeState,omitnil,omitempty" name:"LifeState"` // Virtual node labels // Note: This field may return null, indicating that no valid values can be obtained. Labels []*Label `json:"Labels,omitnil,omitempty" name:"Labels"` // Virtual node taint // Note: This field may return null, indicating that no valid values can be obtained. Taints []*Taint `json:"Taints,omitnil,omitempty" name:"Taints"` }