Documentation
¶
Index ¶
- Constants
- type AddMetricScaleStrategyRequest
- type AddMetricScaleStrategyRequestParams
- type AddMetricScaleStrategyResponse
- type AddMetricScaleStrategyResponseParams
- type AddNodeResourceConfigRequest
- type AddNodeResourceConfigRequestParams
- type AddNodeResourceConfigResponse
- type AddNodeResourceConfigResponseParams
- type AddUsersForUserManagerRequest
- type AddUsersForUserManagerRequestParams
- type AddUsersForUserManagerResponse
- type AddUsersForUserManagerResponseParams
- type AllNodeResourceSpec
- type ApplicationStatics
- type Arg
- type AttachDisksRequest
- type AttachDisksRequestParams
- type AttachDisksResponse
- type AttachDisksResponseParams
- type AutoScaleGroupAdvanceAttrs
- type AutoScaleRecord
- type AutoScaleResourceConf
- type CBSInstance
- type COSSettings
- type CapacityGlobalConfig
- type CdbInfo
- type Client
- func (c *Client) AddMetricScaleStrategy(request *AddMetricScaleStrategyRequest) (response *AddMetricScaleStrategyResponse, err error)
- func (c *Client) AddMetricScaleStrategyWithContext(ctx context.Context, request *AddMetricScaleStrategyRequest) (response *AddMetricScaleStrategyResponse, err error)
- func (c *Client) AddNodeResourceConfig(request *AddNodeResourceConfigRequest) (response *AddNodeResourceConfigResponse, err error)
- func (c *Client) AddNodeResourceConfigWithContext(ctx context.Context, request *AddNodeResourceConfigRequest) (response *AddNodeResourceConfigResponse, err error)
- func (c *Client) AddUsersForUserManager(request *AddUsersForUserManagerRequest) (response *AddUsersForUserManagerResponse, err error)
- func (c *Client) AddUsersForUserManagerWithContext(ctx context.Context, request *AddUsersForUserManagerRequest) (response *AddUsersForUserManagerResponse, err error)
- func (c *Client) AttachDisks(request *AttachDisksRequest) (response *AttachDisksResponse, err error)
- func (c *Client) AttachDisksWithContext(ctx context.Context, request *AttachDisksRequest) (response *AttachDisksResponse, err error)
- func (c *Client) ConvertPreToPostCluster(request *ConvertPreToPostClusterRequest) (response *ConvertPreToPostClusterResponse, err error)
- func (c *Client) ConvertPreToPostClusterWithContext(ctx context.Context, request *ConvertPreToPostClusterRequest) (response *ConvertPreToPostClusterResponse, err error)
- func (c *Client) CreateCluster(request *CreateClusterRequest) (response *CreateClusterResponse, err error)
- func (c *Client) CreateClusterWithContext(ctx context.Context, request *CreateClusterRequest) (response *CreateClusterResponse, err error)
- func (c *Client) CreateGroupsSTD(request *CreateGroupsSTDRequest) (response *CreateGroupsSTDResponse, err error)
- func (c *Client) CreateGroupsSTDWithContext(ctx context.Context, request *CreateGroupsSTDRequest) (response *CreateGroupsSTDResponse, err error)
- func (c *Client) CreateInstance(request *CreateInstanceRequest) (response *CreateInstanceResponse, err error)
- func (c *Client) CreateInstanceWithContext(ctx context.Context, request *CreateInstanceRequest) (response *CreateInstanceResponse, err error)
- func (c *Client) CreateSLInstance(request *CreateSLInstanceRequest) (response *CreateSLInstanceResponse, err error)
- func (c *Client) CreateSLInstanceWithContext(ctx context.Context, request *CreateSLInstanceRequest) (response *CreateSLInstanceResponse, err error)
- func (c *Client) DeleteAutoScaleStrategy(request *DeleteAutoScaleStrategyRequest) (response *DeleteAutoScaleStrategyResponse, err error)
- func (c *Client) DeleteAutoScaleStrategyWithContext(ctx context.Context, request *DeleteAutoScaleStrategyRequest) (response *DeleteAutoScaleStrategyResponse, err error)
- func (c *Client) DeleteGroupsSTD(request *DeleteGroupsSTDRequest) (response *DeleteGroupsSTDResponse, err error)
- func (c *Client) DeleteGroupsSTDWithContext(ctx context.Context, request *DeleteGroupsSTDRequest) (response *DeleteGroupsSTDResponse, err error)
- func (c *Client) DeleteNodeResourceConfig(request *DeleteNodeResourceConfigRequest) (response *DeleteNodeResourceConfigResponse, err error)
- func (c *Client) DeleteNodeResourceConfigWithContext(ctx context.Context, request *DeleteNodeResourceConfigRequest) (response *DeleteNodeResourceConfigResponse, err error)
- func (c *Client) DeployYarnConf(request *DeployYarnConfRequest) (response *DeployYarnConfResponse, err error)
- func (c *Client) DeployYarnConfWithContext(ctx context.Context, request *DeployYarnConfRequest) (response *DeployYarnConfResponse, err error)
- func (c *Client) DescribeAutoScaleGroupGlobalConf(request *DescribeAutoScaleGroupGlobalConfRequest) (response *DescribeAutoScaleGroupGlobalConfResponse, err error)
- func (c *Client) DescribeAutoScaleGroupGlobalConfWithContext(ctx context.Context, request *DescribeAutoScaleGroupGlobalConfRequest) (response *DescribeAutoScaleGroupGlobalConfResponse, err error)
- func (c *Client) DescribeAutoScaleRecords(request *DescribeAutoScaleRecordsRequest) (response *DescribeAutoScaleRecordsResponse, err error)
- func (c *Client) DescribeAutoScaleRecordsWithContext(ctx context.Context, request *DescribeAutoScaleRecordsRequest) (response *DescribeAutoScaleRecordsResponse, err error)
- func (c *Client) DescribeAutoScaleStrategies(request *DescribeAutoScaleStrategiesRequest) (response *DescribeAutoScaleStrategiesResponse, err error)
- func (c *Client) DescribeAutoScaleStrategiesWithContext(ctx context.Context, request *DescribeAutoScaleStrategiesRequest) (response *DescribeAutoScaleStrategiesResponse, err error)
- func (c *Client) DescribeClusterFlowStatusDetail(request *DescribeClusterFlowStatusDetailRequest) (response *DescribeClusterFlowStatusDetailResponse, err error)
- func (c *Client) DescribeClusterFlowStatusDetailWithContext(ctx context.Context, request *DescribeClusterFlowStatusDetailRequest) (response *DescribeClusterFlowStatusDetailResponse, err error)
- func (c *Client) DescribeClusterNodes(request *DescribeClusterNodesRequest) (response *DescribeClusterNodesResponse, err error)
- func (c *Client) DescribeClusterNodesWithContext(ctx context.Context, request *DescribeClusterNodesRequest) (response *DescribeClusterNodesResponse, err error)
- func (c *Client) DescribeDAGInfo(request *DescribeDAGInfoRequest) (response *DescribeDAGInfoResponse, err error)
- func (c *Client) DescribeDAGInfoWithContext(ctx context.Context, request *DescribeDAGInfoRequest) (response *DescribeDAGInfoResponse, err error)
- func (c *Client) DescribeEmrApplicationStatics(request *DescribeEmrApplicationStaticsRequest) (response *DescribeEmrApplicationStaticsResponse, err error)
- func (c *Client) DescribeEmrApplicationStaticsWithContext(ctx context.Context, request *DescribeEmrApplicationStaticsRequest) (response *DescribeEmrApplicationStaticsResponse, err error)
- func (c *Client) DescribeEmrOverviewMetrics(request *DescribeEmrOverviewMetricsRequest) (response *DescribeEmrOverviewMetricsResponse, err error)
- func (c *Client) DescribeEmrOverviewMetricsWithContext(ctx context.Context, request *DescribeEmrOverviewMetricsRequest) (response *DescribeEmrOverviewMetricsResponse, err error)
- func (c *Client) DescribeGlobalConfig(request *DescribeGlobalConfigRequest) (response *DescribeGlobalConfigResponse, err error)
- func (c *Client) DescribeGlobalConfigWithContext(ctx context.Context, request *DescribeGlobalConfigRequest) (response *DescribeGlobalConfigResponse, err error)
- func (c *Client) DescribeGroupsSTD(request *DescribeGroupsSTDRequest) (response *DescribeGroupsSTDResponse, err error)
- func (c *Client) DescribeGroupsSTDWithContext(ctx context.Context, request *DescribeGroupsSTDRequest) (response *DescribeGroupsSTDResponse, err error)
- func (c *Client) DescribeHBaseTableOverview(request *DescribeHBaseTableOverviewRequest) (response *DescribeHBaseTableOverviewResponse, err error)
- func (c *Client) DescribeHBaseTableOverviewWithContext(ctx context.Context, request *DescribeHBaseTableOverviewRequest) (response *DescribeHBaseTableOverviewResponse, err error)
- func (c *Client) DescribeHDFSStorageInfo(request *DescribeHDFSStorageInfoRequest) (response *DescribeHDFSStorageInfoResponse, err error)
- func (c *Client) DescribeHDFSStorageInfoWithContext(ctx context.Context, request *DescribeHDFSStorageInfoRequest) (response *DescribeHDFSStorageInfoResponse, err error)
- func (c *Client) DescribeHiveQueries(request *DescribeHiveQueriesRequest) (response *DescribeHiveQueriesResponse, err error)
- func (c *Client) DescribeHiveQueriesWithContext(ctx context.Context, request *DescribeHiveQueriesRequest) (response *DescribeHiveQueriesResponse, err error)
- func (c *Client) DescribeInsightList(request *DescribeInsightListRequest) (response *DescribeInsightListResponse, err error)
- func (c *Client) DescribeInsightListWithContext(ctx context.Context, request *DescribeInsightListRequest) (response *DescribeInsightListResponse, err error)
- func (c *Client) DescribeInspectionTaskResult(request *DescribeInspectionTaskResultRequest) (response *DescribeInspectionTaskResultResponse, err error)
- func (c *Client) DescribeInspectionTaskResultWithContext(ctx context.Context, request *DescribeInspectionTaskResultRequest) (response *DescribeInspectionTaskResultResponse, err error)
- func (c *Client) DescribeInstances(request *DescribeInstancesRequest) (response *DescribeInstancesResponse, err error)
- func (c *Client) DescribeInstancesList(request *DescribeInstancesListRequest) (response *DescribeInstancesListResponse, err error)
- func (c *Client) DescribeInstancesListWithContext(ctx context.Context, request *DescribeInstancesListRequest) (response *DescribeInstancesListResponse, err error)
- func (c *Client) DescribeInstancesWithContext(ctx context.Context, request *DescribeInstancesRequest) (response *DescribeInstancesResponse, err error)
- func (c *Client) DescribeKyuubiQueryInfo(request *DescribeKyuubiQueryInfoRequest) (response *DescribeKyuubiQueryInfoResponse, err error)
- func (c *Client) DescribeKyuubiQueryInfoWithContext(ctx context.Context, request *DescribeKyuubiQueryInfoRequest) (response *DescribeKyuubiQueryInfoResponse, err error)
- func (c *Client) DescribeNodeDataDisks(request *DescribeNodeDataDisksRequest) (response *DescribeNodeDataDisksResponse, err error)
- func (c *Client) DescribeNodeDataDisksWithContext(ctx context.Context, request *DescribeNodeDataDisksRequest) (response *DescribeNodeDataDisksResponse, err error)
- func (c *Client) DescribeNodeResourceConfigFast(request *DescribeNodeResourceConfigFastRequest) (response *DescribeNodeResourceConfigFastResponse, err error)
- func (c *Client) DescribeNodeResourceConfigFastWithContext(ctx context.Context, request *DescribeNodeResourceConfigFastRequest) (response *DescribeNodeResourceConfigFastResponse, err error)
- func (c *Client) DescribeNodeSpec(request *DescribeNodeSpecRequest) (response *DescribeNodeSpecResponse, err error)
- func (c *Client) DescribeNodeSpecWithContext(ctx context.Context, request *DescribeNodeSpecRequest) (response *DescribeNodeSpecResponse, err error)
- func (c *Client) DescribeResourceSchedule(request *DescribeResourceScheduleRequest) (response *DescribeResourceScheduleResponse, err error)
- func (c *Client) DescribeResourceScheduleDiffDetail(request *DescribeResourceScheduleDiffDetailRequest) (response *DescribeResourceScheduleDiffDetailResponse, err error)
- func (c *Client) DescribeResourceScheduleDiffDetailWithContext(ctx context.Context, request *DescribeResourceScheduleDiffDetailRequest) (response *DescribeResourceScheduleDiffDetailResponse, err error)
- func (c *Client) DescribeResourceScheduleWithContext(ctx context.Context, request *DescribeResourceScheduleRequest) (response *DescribeResourceScheduleResponse, err error)
- func (c *Client) DescribeSLInstance(request *DescribeSLInstanceRequest) (response *DescribeSLInstanceResponse, err error)
- func (c *Client) DescribeSLInstanceList(request *DescribeSLInstanceListRequest) (response *DescribeSLInstanceListResponse, err error)
- func (c *Client) DescribeSLInstanceListWithContext(ctx context.Context, request *DescribeSLInstanceListRequest) (response *DescribeSLInstanceListResponse, err error)
- func (c *Client) DescribeSLInstanceWithContext(ctx context.Context, request *DescribeSLInstanceRequest) (response *DescribeSLInstanceResponse, err error)
- func (c *Client) DescribeServiceConfGroupInfos(request *DescribeServiceConfGroupInfosRequest) (response *DescribeServiceConfGroupInfosResponse, err error)
- func (c *Client) DescribeServiceConfGroupInfosWithContext(ctx context.Context, request *DescribeServiceConfGroupInfosRequest) (response *DescribeServiceConfGroupInfosResponse, err error)
- func (c *Client) DescribeServiceNodeInfos(request *DescribeServiceNodeInfosRequest) (response *DescribeServiceNodeInfosResponse, err error)
- func (c *Client) DescribeServiceNodeInfosWithContext(ctx context.Context, request *DescribeServiceNodeInfosRequest) (response *DescribeServiceNodeInfosResponse, err error)
- func (c *Client) DescribeSparkApplications(request *DescribeSparkApplicationsRequest) (response *DescribeSparkApplicationsResponse, err error)
- func (c *Client) DescribeSparkApplicationsWithContext(ctx context.Context, request *DescribeSparkApplicationsRequest) (response *DescribeSparkApplicationsResponse, err error)
- func (c *Client) DescribeSparkQueries(request *DescribeSparkQueriesRequest) (response *DescribeSparkQueriesResponse, err error)
- func (c *Client) DescribeSparkQueriesWithContext(ctx context.Context, request *DescribeSparkQueriesRequest) (response *DescribeSparkQueriesResponse, err error)
- func (c *Client) DescribeStarRocksQueryInfo(request *DescribeStarRocksQueryInfoRequest) (response *DescribeStarRocksQueryInfoResponse, err error)
- func (c *Client) DescribeStarRocksQueryInfoWithContext(ctx context.Context, request *DescribeStarRocksQueryInfoRequest) (response *DescribeStarRocksQueryInfoResponse, err error)
- func (c *Client) DescribeTrinoQueryInfo(request *DescribeTrinoQueryInfoRequest) (response *DescribeTrinoQueryInfoResponse, err error)
- func (c *Client) DescribeTrinoQueryInfoWithContext(ctx context.Context, request *DescribeTrinoQueryInfoRequest) (response *DescribeTrinoQueryInfoResponse, err error)
- func (c *Client) DescribeUsersForUserManager(request *DescribeUsersForUserManagerRequest) (response *DescribeUsersForUserManagerResponse, err error)
- func (c *Client) DescribeUsersForUserManagerWithContext(ctx context.Context, request *DescribeUsersForUserManagerRequest) (response *DescribeUsersForUserManagerResponse, err error)
- func (c *Client) DescribeYarnQueue(request *DescribeYarnQueueRequest) (response *DescribeYarnQueueResponse, err error)
- func (c *Client) DescribeYarnQueueWithContext(ctx context.Context, request *DescribeYarnQueueRequest) (response *DescribeYarnQueueResponse, err error)
- func (c *Client) DescribeYarnScheduleHistory(request *DescribeYarnScheduleHistoryRequest) (response *DescribeYarnScheduleHistoryResponse, err error)
- func (c *Client) DescribeYarnScheduleHistoryWithContext(ctx context.Context, request *DescribeYarnScheduleHistoryRequest) (response *DescribeYarnScheduleHistoryResponse, err error)
- func (c *Client) InquiryPriceCreateInstance(request *InquiryPriceCreateInstanceRequest) (response *InquiryPriceCreateInstanceResponse, err error)
- func (c *Client) InquiryPriceCreateInstanceWithContext(ctx context.Context, request *InquiryPriceCreateInstanceRequest) (response *InquiryPriceCreateInstanceResponse, err error)
- func (c *Client) InquiryPriceRenewInstance(request *InquiryPriceRenewInstanceRequest) (response *InquiryPriceRenewInstanceResponse, err error)
- func (c *Client) InquiryPriceRenewInstanceWithContext(ctx context.Context, request *InquiryPriceRenewInstanceRequest) (response *InquiryPriceRenewInstanceResponse, err error)
- func (c *Client) InquiryPriceScaleOutInstance(request *InquiryPriceScaleOutInstanceRequest) (response *InquiryPriceScaleOutInstanceResponse, err error)
- func (c *Client) InquiryPriceScaleOutInstanceWithContext(ctx context.Context, request *InquiryPriceScaleOutInstanceRequest) (response *InquiryPriceScaleOutInstanceResponse, err error)
- func (c *Client) InquiryPriceUpdateInstance(request *InquiryPriceUpdateInstanceRequest) (response *InquiryPriceUpdateInstanceResponse, err error)
- func (c *Client) InquiryPriceUpdateInstanceWithContext(ctx context.Context, request *InquiryPriceUpdateInstanceRequest) (response *InquiryPriceUpdateInstanceResponse, err error)
- func (c *Client) ModifyAutoRenewFlag(request *ModifyAutoRenewFlagRequest) (response *ModifyAutoRenewFlagResponse, err error)
- func (c *Client) ModifyAutoRenewFlagWithContext(ctx context.Context, request *ModifyAutoRenewFlagRequest) (response *ModifyAutoRenewFlagResponse, err error)
- func (c *Client) ModifyAutoScaleStrategy(request *ModifyAutoScaleStrategyRequest) (response *ModifyAutoScaleStrategyResponse, err error)
- func (c *Client) ModifyAutoScaleStrategyWithContext(ctx context.Context, request *ModifyAutoScaleStrategyRequest) (response *ModifyAutoScaleStrategyResponse, err error)
- func (c *Client) ModifyGlobalConfig(request *ModifyGlobalConfigRequest) (response *ModifyGlobalConfigResponse, err error)
- func (c *Client) ModifyGlobalConfigWithContext(ctx context.Context, request *ModifyGlobalConfigRequest) (response *ModifyGlobalConfigResponse, err error)
- func (c *Client) ModifyInspectionSettings(request *ModifyInspectionSettingsRequest) (response *ModifyInspectionSettingsResponse, err error)
- func (c *Client) ModifyInspectionSettingsWithContext(ctx context.Context, request *ModifyInspectionSettingsRequest) (response *ModifyInspectionSettingsResponse, err error)
- func (c *Client) ModifyInstanceBasic(request *ModifyInstanceBasicRequest) (response *ModifyInstanceBasicResponse, err error)
- func (c *Client) ModifyInstanceBasicWithContext(ctx context.Context, request *ModifyInstanceBasicRequest) (response *ModifyInstanceBasicResponse, err error)
- func (c *Client) ModifyResource(request *ModifyResourceRequest) (response *ModifyResourceResponse, err error)
- func (c *Client) ModifyResourceScheduleConfig(request *ModifyResourceScheduleConfigRequest) (response *ModifyResourceScheduleConfigResponse, err error)
- func (c *Client) ModifyResourceScheduleConfigWithContext(ctx context.Context, request *ModifyResourceScheduleConfigRequest) (response *ModifyResourceScheduleConfigResponse, err error)
- func (c *Client) ModifyResourceScheduler(request *ModifyResourceSchedulerRequest) (response *ModifyResourceSchedulerResponse, err error)
- func (c *Client) ModifyResourceSchedulerWithContext(ctx context.Context, request *ModifyResourceSchedulerRequest) (response *ModifyResourceSchedulerResponse, err error)
- func (c *Client) ModifyResourceWithContext(ctx context.Context, request *ModifyResourceRequest) (response *ModifyResourceResponse, err error)
- func (c *Client) ModifyResourcesTags(request *ModifyResourcesTagsRequest) (response *ModifyResourcesTagsResponse, err error)
- func (c *Client) ModifyResourcesTagsWithContext(ctx context.Context, request *ModifyResourcesTagsRequest) (response *ModifyResourcesTagsResponse, err error)
- func (c *Client) ModifySLInstance(request *ModifySLInstanceRequest) (response *ModifySLInstanceResponse, err error)
- func (c *Client) ModifySLInstanceBasic(request *ModifySLInstanceBasicRequest) (response *ModifySLInstanceBasicResponse, err error)
- func (c *Client) ModifySLInstanceBasicWithContext(ctx context.Context, request *ModifySLInstanceBasicRequest) (response *ModifySLInstanceBasicResponse, err error)
- func (c *Client) ModifySLInstanceWithContext(ctx context.Context, request *ModifySLInstanceRequest) (response *ModifySLInstanceResponse, err error)
- func (c *Client) ModifyUserGroup(request *ModifyUserGroupRequest) (response *ModifyUserGroupResponse, err error)
- func (c *Client) ModifyUserGroupWithContext(ctx context.Context, request *ModifyUserGroupRequest) (response *ModifyUserGroupResponse, err error)
- func (c *Client) ModifyUserManagerPwd(request *ModifyUserManagerPwdRequest) (response *ModifyUserManagerPwdResponse, err error)
- func (c *Client) ModifyUserManagerPwdWithContext(ctx context.Context, request *ModifyUserManagerPwdRequest) (response *ModifyUserManagerPwdResponse, err error)
- func (c *Client) ModifyUsersOfGroupSTD(request *ModifyUsersOfGroupSTDRequest) (response *ModifyUsersOfGroupSTDResponse, err error)
- func (c *Client) ModifyUsersOfGroupSTDWithContext(ctx context.Context, request *ModifyUsersOfGroupSTDRequest) (response *ModifyUsersOfGroupSTDResponse, err error)
- func (c *Client) ModifyYarnDeploy(request *ModifyYarnDeployRequest) (response *ModifyYarnDeployResponse, err error)
- func (c *Client) ModifyYarnDeployWithContext(ctx context.Context, request *ModifyYarnDeployRequest) (response *ModifyYarnDeployResponse, err error)
- func (c *Client) ModifyYarnQueueV2(request *ModifyYarnQueueV2Request) (response *ModifyYarnQueueV2Response, err error)
- func (c *Client) ModifyYarnQueueV2WithContext(ctx context.Context, request *ModifyYarnQueueV2Request) (response *ModifyYarnQueueV2Response, err error)
- func (c *Client) ResetYarnConfig(request *ResetYarnConfigRequest) (response *ResetYarnConfigResponse, err error)
- func (c *Client) ResetYarnConfigWithContext(ctx context.Context, request *ResetYarnConfigRequest) (response *ResetYarnConfigResponse, err error)
- func (c *Client) ResizeDataDisks(request *ResizeDataDisksRequest) (response *ResizeDataDisksResponse, err error)
- func (c *Client) ResizeDataDisksWithContext(ctx context.Context, request *ResizeDataDisksRequest) (response *ResizeDataDisksResponse, err error)
- func (c *Client) ScaleOutCluster(request *ScaleOutClusterRequest) (response *ScaleOutClusterResponse, err error)
- func (c *Client) ScaleOutClusterWithContext(ctx context.Context, request *ScaleOutClusterRequest) (response *ScaleOutClusterResponse, err error)
- func (c *Client) ScaleOutInstance(request *ScaleOutInstanceRequest) (response *ScaleOutInstanceResponse, err error)
- func (c *Client) ScaleOutInstanceWithContext(ctx context.Context, request *ScaleOutInstanceRequest) (response *ScaleOutInstanceResponse, err error)
- func (c *Client) SetNodeResourceConfigDefault(request *SetNodeResourceConfigDefaultRequest) (response *SetNodeResourceConfigDefaultResponse, err error)
- func (c *Client) SetNodeResourceConfigDefaultWithContext(ctx context.Context, request *SetNodeResourceConfigDefaultRequest) (response *SetNodeResourceConfigDefaultResponse, err error)
- func (c *Client) StartStopServiceOrMonitor(request *StartStopServiceOrMonitorRequest) (response *StartStopServiceOrMonitorResponse, err error)
- func (c *Client) StartStopServiceOrMonitorWithContext(ctx context.Context, request *StartStopServiceOrMonitorRequest) (response *StartStopServiceOrMonitorResponse, err error)
- func (c *Client) TerminateClusterNodes(request *TerminateClusterNodesRequest) (response *TerminateClusterNodesResponse, err error)
- func (c *Client) TerminateClusterNodesWithContext(ctx context.Context, request *TerminateClusterNodesRequest) (response *TerminateClusterNodesResponse, err error)
- func (c *Client) TerminateInstance(request *TerminateInstanceRequest) (response *TerminateInstanceResponse, err error)
- func (c *Client) TerminateInstanceWithContext(ctx context.Context, request *TerminateInstanceRequest) (response *TerminateInstanceResponse, err error)
- func (c *Client) TerminateSLInstance(request *TerminateSLInstanceRequest) (response *TerminateSLInstanceResponse, err error)
- func (c *Client) TerminateSLInstanceWithContext(ctx context.Context, request *TerminateSLInstanceRequest) (response *TerminateSLInstanceResponse, err error)
- func (c *Client) TerminateTasks(request *TerminateTasksRequest) (response *TerminateTasksResponse, err error)
- func (c *Client) TerminateTasksWithContext(ctx context.Context, request *TerminateTasksRequest) (response *TerminateTasksResponse, err error)
- type ClusterExternalServiceInfo
- type ClusterIDToFlowID
- type ClusterInstancesInfo
- type ClusterRelationMeta
- type ComponentBasicRestartInfo
- type ComputeResourceAdvanceParams
- type ConfigModifyInfoV2
- type ConfigSetInfo
- type ConfigurationItem
- type ConvertPreToPostClusterRequest
- type ConvertPreToPostClusterRequestParams
- type ConvertPreToPostClusterResponse
- type ConvertPreToPostClusterResponseParams
- type CreateClusterRequest
- type CreateClusterRequestParams
- type CreateClusterResponse
- type CreateClusterResponseParams
- type CreateGroupsSTDRequest
- type CreateGroupsSTDRequestParams
- type CreateGroupsSTDResponse
- type CreateGroupsSTDResponseParams
- type CreateInstanceRequest
- type CreateInstanceRequestParams
- type CreateInstanceResponse
- type CreateInstanceResponseParams
- type CreateSLInstanceRequest
- type CreateSLInstanceRequestParams
- type CreateSLInstanceResponse
- type CreateSLInstanceResponseParams
- type CustomMetaDBInfo
- type CustomMetaInfo
- type CustomServiceDefine
- type DAGInfo
- type DayRepeatStrategy
- type DefaultSetting
- type DeleteAutoScaleStrategyRequest
- type DeleteAutoScaleStrategyRequestParams
- type DeleteAutoScaleStrategyResponse
- type DeleteAutoScaleStrategyResponseParams
- type DeleteGroupsSTDRequest
- type DeleteGroupsSTDRequestParams
- type DeleteGroupsSTDResponse
- type DeleteGroupsSTDResponseParams
- type DeleteNodeResourceConfigRequest
- type DeleteNodeResourceConfigRequestParams
- type DeleteNodeResourceConfigResponse
- type DeleteNodeResourceConfigResponseParams
- type DependService
- type DeployYarnConfRequest
- type DeployYarnConfRequestParams
- type DeployYarnConfResponse
- type DeployYarnConfResponseParams
- type DescribeAutoScaleGroupGlobalConfRequest
- type DescribeAutoScaleGroupGlobalConfRequestParams
- type DescribeAutoScaleGroupGlobalConfResponse
- type DescribeAutoScaleGroupGlobalConfResponseParams
- type DescribeAutoScaleRecordsRequest
- type DescribeAutoScaleRecordsRequestParams
- type DescribeAutoScaleRecordsResponse
- type DescribeAutoScaleRecordsResponseParams
- type DescribeAutoScaleStrategiesRequest
- type DescribeAutoScaleStrategiesRequestParams
- type DescribeAutoScaleStrategiesResponse
- type DescribeAutoScaleStrategiesResponseParams
- type DescribeClusterFlowStatusDetailRequest
- type DescribeClusterFlowStatusDetailRequestParams
- type DescribeClusterFlowStatusDetailResponse
- type DescribeClusterFlowStatusDetailResponseParams
- type DescribeClusterNodesRequest
- type DescribeClusterNodesRequestParams
- type DescribeClusterNodesResponse
- type DescribeClusterNodesResponseParams
- type DescribeDAGInfoRequest
- type DescribeDAGInfoRequestParams
- type DescribeDAGInfoResponse
- type DescribeDAGInfoResponseParams
- type DescribeEmrApplicationStaticsRequest
- type DescribeEmrApplicationStaticsRequestParams
- type DescribeEmrApplicationStaticsResponse
- type DescribeEmrApplicationStaticsResponseParams
- type DescribeEmrOverviewMetricsRequest
- type DescribeEmrOverviewMetricsRequestParams
- type DescribeEmrOverviewMetricsResponse
- type DescribeEmrOverviewMetricsResponseParams
- type DescribeGlobalConfigRequest
- type DescribeGlobalConfigRequestParams
- type DescribeGlobalConfigResponse
- type DescribeGlobalConfigResponseParams
- type DescribeGroupsSTDRequest
- type DescribeGroupsSTDRequestParams
- type DescribeGroupsSTDResponse
- type DescribeGroupsSTDResponseParams
- type DescribeHBaseTableOverviewRequest
- type DescribeHBaseTableOverviewRequestParams
- type DescribeHBaseTableOverviewResponse
- type DescribeHBaseTableOverviewResponseParams
- type DescribeHDFSStorageInfoRequest
- type DescribeHDFSStorageInfoRequestParams
- type DescribeHDFSStorageInfoResponse
- type DescribeHDFSStorageInfoResponseParams
- type DescribeHiveQueriesRequest
- type DescribeHiveQueriesRequestParams
- type DescribeHiveQueriesResponse
- type DescribeHiveQueriesResponseParams
- type DescribeInsightListRequest
- type DescribeInsightListRequestParams
- type DescribeInsightListResponse
- type DescribeInsightListResponseParams
- type DescribeInspectionTaskResultRequest
- type DescribeInspectionTaskResultRequestParams
- type DescribeInspectionTaskResultResponse
- type DescribeInspectionTaskResultResponseParams
- type DescribeInstancesListRequest
- type DescribeInstancesListRequestParams
- type DescribeInstancesListResponse
- type DescribeInstancesListResponseParams
- type DescribeInstancesRequest
- type DescribeInstancesRequestParams
- type DescribeInstancesResponse
- type DescribeInstancesResponseParams
- type DescribeKyuubiQueryInfoRequest
- type DescribeKyuubiQueryInfoRequestParams
- type DescribeKyuubiQueryInfoResponse
- type DescribeKyuubiQueryInfoResponseParams
- type DescribeNodeDataDisksRequest
- type DescribeNodeDataDisksRequestParams
- type DescribeNodeDataDisksResponse
- type DescribeNodeDataDisksResponseParams
- type DescribeNodeResourceConfigFastRequest
- type DescribeNodeResourceConfigFastRequestParams
- type DescribeNodeResourceConfigFastResponse
- type DescribeNodeResourceConfigFastResponseParams
- type DescribeNodeSpec
- type DescribeNodeSpecRequest
- type DescribeNodeSpecRequestParams
- type DescribeNodeSpecResponse
- type DescribeNodeSpecResponseParams
- type DescribeResourceConfig
- type DescribeResourceScheduleDiffDetailRequest
- type DescribeResourceScheduleDiffDetailRequestParams
- type DescribeResourceScheduleDiffDetailResponse
- type DescribeResourceScheduleDiffDetailResponseParams
- type DescribeResourceScheduleRequest
- type DescribeResourceScheduleRequestParams
- type DescribeResourceScheduleResponse
- type DescribeResourceScheduleResponseParams
- type DescribeSLInstanceListRequest
- type DescribeSLInstanceListRequestParams
- type DescribeSLInstanceListResponse
- type DescribeSLInstanceListResponseParams
- type DescribeSLInstanceRequest
- type DescribeSLInstanceRequestParams
- type DescribeSLInstanceResponse
- type DescribeSLInstanceResponseParams
- type DescribeServiceConfGroupInfosRequest
- type DescribeServiceConfGroupInfosRequestParams
- type DescribeServiceConfGroupInfosResponse
- type DescribeServiceConfGroupInfosResponseParams
- type DescribeServiceNodeInfosRequest
- type DescribeServiceNodeInfosRequestParams
- type DescribeServiceNodeInfosResponse
- type DescribeServiceNodeInfosResponseParams
- type DescribeSparkApplicationsRequest
- type DescribeSparkApplicationsRequestParams
- type DescribeSparkApplicationsResponse
- type DescribeSparkApplicationsResponseParams
- type DescribeSparkQueriesRequest
- type DescribeSparkQueriesRequestParams
- type DescribeSparkQueriesResponse
- type DescribeSparkQueriesResponseParams
- type DescribeStarRocksQueryInfoRequest
- type DescribeStarRocksQueryInfoRequestParams
- type DescribeStarRocksQueryInfoResponse
- type DescribeStarRocksQueryInfoResponseParams
- type DescribeTrinoQueryInfoRequest
- type DescribeTrinoQueryInfoRequestParams
- type DescribeTrinoQueryInfoResponse
- type DescribeTrinoQueryInfoResponseParams
- type DescribeUsersForUserManagerRequest
- type DescribeUsersForUserManagerRequestParams
- type DescribeUsersForUserManagerResponse
- type DescribeUsersForUserManagerResponseParams
- type DescribeYarnQueueRequest
- type DescribeYarnQueueRequestParams
- type DescribeYarnQueueResponse
- type DescribeYarnQueueResponseParams
- type DescribeYarnScheduleHistoryRequest
- type DescribeYarnScheduleHistoryRequestParams
- type DescribeYarnScheduleHistoryResponse
- type DescribeYarnScheduleHistoryResponseParams
- type DiffDetail
- type DiffDetailItem
- type DiffHeader
- type DiskSpecInfo
- type Dps
- type DynamicPodSpec
- type EmrListInstance
- type EmrPrice
- type EmrProductConfigDetail
- type EmrProductConfigOutter
- type ExternalService
- type FairGlobalConfig
- type Filter
- type Filters
- type FlowExtraDetail
- type FlowParam
- type FlowParamsDesc
- type GroupGlobalConfs
- type GroupInfo
- type GroupInfos
- type HealthStatus
- type HiveQuery
- type HostVolumeContext
- type InquiryPriceCreateInstanceRequest
- type InquiryPriceCreateInstanceRequestParams
- type InquiryPriceCreateInstanceResponse
- type InquiryPriceCreateInstanceResponseParams
- type InquiryPriceRenewInstanceRequest
- type InquiryPriceRenewInstanceRequestParams
- type InquiryPriceRenewInstanceResponse
- type InquiryPriceRenewInstanceResponseParams
- type InquiryPriceScaleOutInstanceRequest
- type InquiryPriceScaleOutInstanceRequestParams
- type InquiryPriceScaleOutInstanceResponse
- type InquiryPriceScaleOutInstanceResponseParams
- type InquiryPriceUpdateInstanceRequest
- type InquiryPriceUpdateInstanceRequestParams
- type InquiryPriceUpdateInstanceResponse
- type InquiryPriceUpdateInstanceResponseParams
- type InsightResult
- type InspectionTaskSettings
- type InstanceChargePrepaid
- type Item
- type ItemSeq
- type KeyValue
- type KyuubiQueryInfo
- type LoadAutoScaleStrategy
- type LoadMetricsCondition
- type LoadMetricsConditions
- type LoginSettings
- type MetricTags
- type ModifyAutoRenewFlagRequest
- type ModifyAutoRenewFlagRequestParams
- type ModifyAutoRenewFlagResponse
- type ModifyAutoRenewFlagResponseParams
- type ModifyAutoScaleStrategyRequest
- type ModifyAutoScaleStrategyRequestParams
- type ModifyAutoScaleStrategyResponse
- type ModifyAutoScaleStrategyResponseParams
- type ModifyGlobalConfigRequest
- type ModifyGlobalConfigRequestParams
- type ModifyGlobalConfigResponse
- type ModifyGlobalConfigResponseParams
- type ModifyInspectionSettingsRequest
- type ModifyInspectionSettingsRequestParams
- type ModifyInspectionSettingsResponse
- type ModifyInspectionSettingsResponseParams
- type ModifyInstanceBasicRequest
- type ModifyInstanceBasicRequestParams
- type ModifyInstanceBasicResponse
- type ModifyInstanceBasicResponseParams
- type ModifyResourceRequest
- type ModifyResourceRequestParams
- type ModifyResourceResponse
- type ModifyResourceResponseParams
- type ModifyResourceScheduleConfigRequest
- type ModifyResourceScheduleConfigRequestParams
- type ModifyResourceScheduleConfigResponse
- type ModifyResourceScheduleConfigResponseParams
- type ModifyResourceSchedulerRequest
- type ModifyResourceSchedulerRequestParams
- type ModifyResourceSchedulerResponse
- type ModifyResourceSchedulerResponseParams
- type ModifyResourceTags
- type ModifyResourcesTagsRequest
- type ModifyResourcesTagsRequestParams
- type ModifyResourcesTagsResponse
- type ModifyResourcesTagsResponseParams
- type ModifySLInstanceBasicRequest
- type ModifySLInstanceBasicRequestParams
- type ModifySLInstanceBasicResponse
- type ModifySLInstanceBasicResponseParams
- type ModifySLInstanceRequest
- type ModifySLInstanceRequestParams
- type ModifySLInstanceResponse
- type ModifySLInstanceResponseParams
- type ModifyUserGroupRequest
- type ModifyUserGroupRequestParams
- type ModifyUserGroupResponse
- type ModifyUserGroupResponseParams
- type ModifyUserManagerPwdRequest
- type ModifyUserManagerPwdRequestParams
- type ModifyUserManagerPwdResponse
- type ModifyUserManagerPwdResponseParams
- type ModifyUsersOfGroupSTDRequest
- type ModifyUsersOfGroupSTDRequestParams
- type ModifyUsersOfGroupSTDResponse
- type ModifyUsersOfGroupSTDResponseParams
- type ModifyYarnDeployRequest
- type ModifyYarnDeployRequestParams
- type ModifyYarnDeployResponse
- type ModifyYarnDeployResponseParams
- type ModifyYarnQueueV2Request
- type ModifyYarnQueueV2RequestParams
- type ModifyYarnQueueV2Response
- type ModifyYarnQueueV2ResponseParams
- type MonthRepeatStrategy
- type MultiDisk
- type MultiDiskMC
- type MultiZoneSetting
- type NewResourceSpec
- type NodeDetailPriceResult
- type NodeHardwareInfo
- type NodeMark
- type NodeRenewPriceDetail
- type NodeResource
- type NodeResourceSpec
- type NodeSpecDisk
- type NodeSpecDiskV2
- type NodeSpecFamily
- type NodeSpecInstanceType
- type NodeSpecType
- type NotRepeatStrategy
- type OpScope
- type Order
- type OutterResource
- type OverviewMetricData
- type OverviewRow
- type PartDetailPriceItem
- type Period
- type PersistentVolumeContext
- type Placement
- type PodNewParameter
- type PodNewSpec
- type PodParameter
- type PodSpec
- type PodSpecInfo
- type PodVolume
- type PreExecuteFileSettings
- type PrePaySetting
- type PriceDetail
- type PriceResource
- type PriceResult
- type RenewPriceDetail
- type RepeatStrategy
- type ResetYarnConfigRequest
- type ResetYarnConfigRequestParams
- type ResetYarnConfigResponse
- type ResetYarnConfigResponseParams
- type ResizeDataDisksRequest
- type ResizeDataDisksRequestParams
- type ResizeDataDisksResponse
- type ResizeDataDisksResponseParams
- type Resource
- type ResourceDetail
- type RestartPolicy
- type ResultItem
- type SLInstance
- type SLInstanceInfo
- type ScaleOutClusterRequest
- type ScaleOutClusterRequestParams
- type ScaleOutClusterResponse
- type ScaleOutClusterResponseParams
- type ScaleOutInstanceRequest
- type ScaleOutInstanceRequestParams
- type ScaleOutInstanceResponse
- type ScaleOutInstanceResponseParams
- type ScaleOutNodeConfig
- type ScaleOutServiceConfGroupsInfo
- type SceneSoftwareConfig
- type SchedulerTaskDetail
- type SchedulerTaskInfo
- type ScriptBootstrapActionConfig
- type SearchItem
- type ServiceBasicRestartInfo
- type ServiceNodeDetailInfo
- type ServiceProcessFunctionInfo
- type SetNodeResourceConfigDefaultRequest
- type SetNodeResourceConfigDefaultRequestParams
- type SetNodeResourceConfigDefaultResponse
- type SetNodeResourceConfigDefaultResponseParams
- type ShortNodeInfo
- type SoftDependInfo
- type SparkApplicationsList
- type SparkQuery
- type StageInfoDetail
- type StarRocksQueryInfo
- type StartStopServiceOrMonitorRequest
- type StartStopServiceOrMonitorRequestParams
- type StartStopServiceOrMonitorResponse
- type StartStopServiceOrMonitorResponseParams
- type StopParams
- type StorageSummaryDistribution
- type StrategyConfig
- type SubnetInfo
- type TableSchemaItem
- type Tag
- type Taint
- type TaskSettings
- type TerminateClusterNodesRequest
- type TerminateClusterNodesRequestParams
- type TerminateClusterNodesResponse
- type TerminateClusterNodesResponseParams
- type TerminateInstanceRequest
- type TerminateInstanceRequestParams
- type TerminateInstanceResponse
- type TerminateInstanceResponseParams
- type TerminateSLInstanceRequest
- type TerminateSLInstanceRequestParams
- type TerminateSLInstanceResponse
- type TerminateSLInstanceResponseParams
- type TerminateTasksRequest
- type TerminateTasksRequestParams
- type TerminateTasksResponse
- type TerminateTasksResponseParams
- type TimeAutoScaleStrategy
- type TkeLabel
- type TopologyInfo
- type TriggerCondition
- type TrinoQueryInfo
- type UpdateInstanceSettings
- type UserInfoForUserManager
- type UserManagerFilter
- type UserManagerUserBriefInfo
- type VPCSettings
- type VirtualPrivateCloud
- type WeekRepeatStrategy
- type ZoneDetailPriceResult
- type ZoneResourceConfiguration
- type ZoneSetting
Constants ¶
const ( // CAM signature/authentication error. AUTHFAILURE = "AuthFailure" // Operation failed. FAILEDOPERATION = "FailedOperation" // Operation failed. FAILEDOPERATION_CHECKIFSUPPORTPODSTRETCH = "FailedOperation.CheckIfSupportPodStretch" // DB exception. FAILEDOPERATION_DBEXCEPTION = "FailedOperation.DBException" // Failed to fetch resource tag. FAILEDOPERATION_DESCRIBERESOURCETAGSFAILED = "FailedOperation.DescribeResourceTagsFailed" // Duplicate order. Please check the EMR console. FAILEDOPERATION_DUPLICATEORDERNOTALLOWED = "FailedOperation.DuplicateOrderNotAllowed" // Failed to query the CAM role. FAILEDOPERATION_GETCAMROLEFAILED = "FailedOperation.GetCamRoleFailed" // Failed to call the CAM service. FAILEDOPERATION_GETCAMSERVERFAILED = "FailedOperation.GetCamServerFailed" // Failed to fetch the specifications of the CVM. FAILEDOPERATION_GETCVMCONFIGQUOTAFAILED = "FailedOperation.GetCvmConfigQuotaFailed" // Failed to call the CVM service. FAILEDOPERATION_GETCVMSERVERFAILED = "FailedOperation.GetCvmServerFailed" // Failed to call the price inquiry center service. FAILEDOPERATION_GETTRADESERVERFAILED = "FailedOperation.GetTradeServerFailed" // No more scaling rules are allowed. FAILEDOPERATION_MORESTRATEGYNOTALLOWED = "FailedOperation.MoreStrategyNotAllowed" // Unauthorized operation. FAILEDOPERATION_NOTAUTHENTICATED = "FailedOperation.NotAuthenticated" // Operation failed. The pods are not supported. FAILEDOPERATION_NOTSUPPORTPOD = "FailedOperation.NotSupportPod" // Operation failed. FAILEDOPERATION_REFUNDCVMFAILED = "FailedOperation.RefundCvmFailed" // Operation failed. FAILEDOPERATION_SPECDELETEDENYFORAUTOSCALESTRATEGIES = "FailedOperation.SpecDeleteDenyForAutoScaleStrategies" // Internal error. INTERNALERROR = "InternalError" // An error occurred while calling another service API. INTERNALERROR_ACCOUNTCGWERROR = "InternalError.AccountCgwError" // An error occurred while calling another service API. INTERNALERROR_CAMCGWERROR = "InternalError.CamCgwError" // An error occurred while calling another service API. INTERNALERROR_CAMERROR = "InternalError.CamError" // An error occurred while calling another service API. INTERNALERROR_CBSCGWERROR = "InternalError.CbsCgwError" // An error occurred while calling another service API. INTERNALERROR_CBSERROR = "InternalError.CbsError" // An error occurred while calling another service API. INTERNALERROR_CDBCGWERROR = "InternalError.CdbCgwError" // An error occurred while calling another service API. INTERNALERROR_CDBERROR = "InternalError.CdbError" // CVM or CBS resources are insufficient, or the software is invalid. INTERNALERROR_CHECKQUOTAERR = "InternalError.CheckQuotaErr" // An error occurred while calling another service API. INTERNALERROR_CONFIGCGWERROR = "InternalError.ConfigCgwError" // An error occurred while calling another service API. INTERNALERROR_CVMERROR = "InternalError.CvmError" // Database query error. INTERNALERROR_DBQUERYEXCEPTION = "InternalError.DBQueryException" // An exception occurred when OpenTSDB is being requested. INTERNALERROR_DOOPENTSDBREQUESTEXCEPTION = "InternalError.DoOpenTSDBRequestException" // Error in calling EKS. INTERNALERROR_EKSERROR = "InternalError.EKSError" // An error occurred while calling another service API. INTERNALERROR_KMSERROR = "InternalError.KmsError" // Failed to request OpenTSDB. INTERNALERROR_OPENTSDBHTTPRETURNCODENOTOK = "InternalError.OpenTSDBHttpReturnCodeNotOK" // An error occurred while calling another service API. INTERNALERROR_PROJECTCGWERROR = "InternalError.ProjectCgwError" // An error occurred when calling a security group API. INTERNALERROR_SGERROR = "InternalError.SgError" // An error occurred while calling TKE. INTERNALERROR_TKEERROR = "InternalError.TKEError" // An error occurred while calling another service API. INTERNALERROR_TAGERROR = "InternalError.TagError" // An error occurred while calling another service API. INTERNALERROR_TRADECGWERROR = "InternalError.TradeCgwError" // An error occurred while calling another service API. INTERNALERROR_VPCCGWERROR = "InternalError.VpcCgwError" // An error occurred while calling another service API. INTERNALERROR_VPCERROR = "InternalError.VpcError" // An error occurred while calling another service API. INTERNALERROR_WOODSERVERERROR = "InternalError.WoodServerError" // Invalid parameter. INVALIDPARAMETER = "InvalidParameter" // Parameter error. INVALIDPARAMETER_APPIDRESOURCENOTMATCH = "InvalidParameter.AppIdResourceNotMatch" // Invalid CpuType parameter. INVALIDPARAMETER_CPUTYPE = "InvalidParameter.CpuType" // Incorrect display policy. INVALIDPARAMETER_DISPLAYSTRATEGYNOTMATCH = "InvalidParameter.DisplayStrategyNotMatch" // Parameter error. INVALIDPARAMETER_HALESSMASTERCOUNT = "InvalidParameter.HALessMasterCount" // Impala query parameter error. INVALIDPARAMETER_IMPALAQUERYEXCEPTION = "InvalidParameter.ImpalaQueryException" // The number of common nodes is invalid. INVALIDPARAMETER_INCORRECTCOMMONCOUNT = "InvalidParameter.IncorrectCommonCount" // The number of master nodes is invalid. INVALIDPARAMETER_INCORRECTMASTERCOUNT = "InvalidParameter.IncorrectMasterCount" // Invalid `AllNodeResourceSpec`. INVALIDPARAMETER_INVALIDALLNODERESOURCESPEC = "InvalidParameter.InvalidAllNodeResourceSpec" // Invalid `AppId`. INVALIDPARAMETER_INVALIDAPPID = "InvalidParameter.InvalidAppId" // Invalid auto-renewal flag. INVALIDPARAMETER_INVALIDAUTORENEW = "InvalidParameter.InvalidAutoRenew" // Invalid Classification parameter value. INVALIDPARAMETER_INVALIDCLASSIFICATION = "InvalidParameter.InvalidClassification" // Invalid ClickHouse cluster. INVALIDPARAMETER_INVALIDCLICKHOUSECLUSTER = "InvalidParameter.InvalidClickHouseCluster" // Invalid `ClientToken`. INVALIDPARAMETER_INVALIDCLIENTTOKEN = "InvalidParameter.InvalidClientToken" // Invalid parameter: ClusterId. INVALIDPARAMETER_INVALIDCLUSTERID = "InvalidParameter.InvalidClusterId" // Invalid parameter. INVALIDPARAMETER_INVALIDCOMMONDISKTYPE = "InvalidParameter.InvalidCommonDiskType" // Illegal metric comparison method. INVALIDPARAMETER_INVALIDCOMPAREMETHOD = "InvalidParameter.InvalidCompareMethod" // Invalid component. INVALIDPARAMETER_INVALIDCOMPONENT = "InvalidParameter.InvalidComponent" // At least one trigger condition is required. INVALIDPARAMETER_INVALIDCONDITIONNUM = "InvalidParameter.InvalidConditionNum" // The number of core nodes is invalid. INVALIDPARAMETER_INVALIDCORECOUNT = "InvalidParameter.InvalidCoreCount" // Parameter error. INVALIDPARAMETER_INVALIDCOREDISKTYPE = "InvalidParameter.InvalidCoreDiskType" // The CosBucket parameter is invalid. INVALIDPARAMETER_INVALIDCOSBUCKET = "InvalidParameter.InvalidCosBucket" // The CosFileUri parameter value is invalid. INVALIDPARAMETER_INVALIDCOSFILEURI = "InvalidParameter.InvalidCosFileURI" // The count must be greater than 0. INVALIDPARAMETER_INVALIDCOUNT = "InvalidParameter.InvalidCount" // A scale-out request only applies to task nodes or core nodes. INVALIDPARAMETER_INVALIDCOUNTNUM = "InvalidParameter.InvalidCountNum" // Error message: Invalid PodParameter. INVALIDPARAMETER_INVALIDCUSTOMIZEDPODPARAM = "InvalidParameter.InvalidCustomizedPodParam" // Conflict between`DependService` and `EnableKerberos`. INVALIDPARAMETER_INVALIDDEPENDSERVICEANDENABLEKERBEROSCONFLICT = "InvalidParameter.InvalidDependServiceAndEnableKerberosConflict" // Invalid number of disks. INVALIDPARAMETER_INVALIDDISKNUM = "InvalidParameter.InvalidDiskNum" // Invalid disk size. INVALIDPARAMETER_INVALIDDISKSIZE = "InvalidParameter.InvalidDiskSize" // Parameter error. INVALIDPARAMETER_INVALIDDISKTYPE = "InvalidParameter.InvalidDiskType" // Invalid EKS instance. INVALIDPARAMETER_INVALIDEKSINSTANCE = "InvalidParameter.InvalidEksInstance" // Invalid `CustomConfig`. INVALIDPARAMETER_INVALIDEXTENDFIELD = "InvalidParameter.InvalidExtendField" // Invalid filter parameter. INVALIDPARAMETER_INVALIDFILTERKEY = "InvalidParameter.InvalidFilterKey" // Invalid instance billing mode. INVALIDPARAMETER_INVALIDINSTANCECHARGETYPE = "InvalidParameter.InvalidInstanceChargeType" // Invalid cluster name. INVALIDPARAMETER_INVALIDINSTANCENAME = "InvalidParameter.InvalidInstanceName" // Invalid model. INVALIDPARAMETER_INVALIDINSTANCETYPE = "InvalidParameter.InvalidInstanceType" // Invalid process task. INVALIDPARAMETER_INVALIDJOBFLOW = "InvalidParameter.InvalidJobFlow" // Invalid LoadBalancerId. INVALIDPARAMETER_INVALIDLOADBALANCER = "InvalidParameter.InvalidLoadBalancer" // Invalid login settings. INVALIDPARAMETER_INVALIDLOGINSETTING = "InvalidParameter.InvalidLoginSetting" // Invalid parameter. INVALIDPARAMETER_INVALIDMASTERDISKTYPE = "InvalidParameter.InvalidMasterDiskType" // Invalid metadatabase URL. INVALIDPARAMETER_INVALIDMETADATAJDBCURL = "InvalidParameter.InvalidMetaDataJdbcUrl" // Invalid metadata table type. INVALIDPARAMETER_INVALIDMETATYPE = "InvalidParameter.InvalidMetaType" // Invalid target specification. INVALIDPARAMETER_INVALIDMODIFYSPEC = "InvalidParameter.InvalidModifySpec" // Illegal node count. INVALIDPARAMETER_INVALIDNODECOUNT = "InvalidParameter.InvalidNodeCount" // Incorrect node type. INVALIDPARAMETER_INVALIDNODEFLAG = "InvalidParameter.InvalidNodeFlag" // Invalid `NodeType`. INVALIDPARAMETER_INVALIDNODETYPE = "InvalidParameter.InvalidNodeType" // The SoftInfo parameter is invalid. INVALIDPARAMETER_INVALIDPARAMTERINVALIDSOFTINFO = "InvalidParameter.InvalidParamterInvalidSoftInfo" // Invalid password. INVALIDPARAMETER_INVALIDPASSWORD = "InvalidParameter.InvalidPassword" // Invalid billing mode. INVALIDPARAMETER_INVALIDPAYMODE = "InvalidParameter.InvalidPaymode" // Invalid bootstrap script. INVALIDPARAMETER_INVALIDPREEXECUTEDFILE = "InvalidParameter.InvalidPreExecutedFile" // Illegal metric processing method. INVALIDPARAMETER_INVALIDPROCESSMETHOD = "InvalidParameter.InvalidProcessMethod" // Invalid product ID. INVALIDPARAMETER_INVALIDPRODUCTID = "InvalidParameter.InvalidProductId" // Invalid product version. INVALIDPARAMETER_INVALIDPRODUCTVERSION = "InvalidParameter.InvalidProductVersion" // Invalid project ID. INVALIDPARAMETER_INVALIDPROJECTID = "InvalidParameter.InvalidProjectId" // Invalid auto-renewal identifier. INVALIDPARAMETER_INVALIDRENEWFLAG = "InvalidParameter.InvalidRenewFlag" // Invalid resource ID. INVALIDPARAMETER_INVALIDRESOURCEID = "InvalidParameter.InvalidResourceId" // Invalid resource ID. INVALIDPARAMETER_INVALIDRESOURCEIDS = "InvalidParameter.InvalidResourceIds" // Invalid resource specification. INVALIDPARAMETER_INVALIDRESOURCESPEC = "InvalidParameter.InvalidResourceSpec" // Invalid scaling action. INVALIDPARAMETER_INVALIDSCALEACTION = "InvalidParameter.InvalidScaleAction" // Invalid bootstrap script execution parameter. INVALIDPARAMETER_INVALIDSCRIPTBOOTSTRAPACTIONCONFIG = "InvalidParameter.InvalidScriptBootstrapActionConfig" // This EMR version does not support the security mode. INVALIDPARAMETER_INVALIDSECURITYSUPPORT = "InvalidParameter.InvalidSecuritySupport" // Invalid security group ID. INVALIDPARAMETER_INVALIDSERCURITYGRPUPID = "InvalidParameter.InvalidSercurityGrpupId" // The service name is invalid. INVALIDPARAMETER_INVALIDSERVICENAME = "InvalidParameter.InvalidServiceName" // The `ServiceNodeInfo` parameter is invalid or incorrect. INVALIDPARAMETER_INVALIDSERVICENODEINFO = "InvalidParameter.InvalidServiceNodeInfo" // The `InvalidSoftDeployInfo` parameter is invalid or incorrect. INVALIDPARAMETER_INVALIDSOFTDEPLOYINFO = "InvalidParameter.InvalidSoftDeployInfo" // Invalid `SoftInfo`. INVALIDPARAMETER_INVALIDSOFTINFO = "InvalidParameter.InvalidSoftInfo" // Incorrect parameter. INVALIDPARAMETER_INVALIDSOFTWARE = "InvalidParameter.InvalidSoftWare" // The software name is invalid. INVALIDPARAMETER_INVALIDSOFTWARENAME = "InvalidParameter.InvalidSoftWareName" // The software version is invalid. INVALIDPARAMETER_INVALIDSOFTWAREVERSION = "InvalidParameter.InvalidSoftWareVersion" // Invalid `StartTime` or `EndTime` parameter. INVALIDPARAMETER_INVALIDSTARTTIMEORENDTIME = "InvalidParameter.InvalidStartTimeOrEndTime" // The StatisticPeriod or TriggerThreshold parameter is invalid. INVALIDPARAMETER_INVALIDSTATISTICPERIODORTRIGGERTHRESHOLD = "InvalidParameter.InvalidStatisticPeriodOrTriggerThreshold" // Parameter error. INVALIDPARAMETER_INVALIDSTRATEGY = "InvalidParameter.InvalidStrategy" // Invalid rule priority. INVALIDPARAMETER_INVALIDSTRATEGYPRIORITY = "InvalidParameter.InvalidStrategyPriority" // Invalid specification. INVALIDPARAMETER_INVALIDSTRATEGYSPEC = "InvalidParameter.InvalidStrategySpec" // Unsupported scaling policy type. INVALIDPARAMETER_INVALIDSTRATEGYTYPE = "InvalidParameter.InvalidStrategyType" // Invalid subnet ID. INVALIDPARAMETER_INVALIDSUBNETID = "InvalidParameter.InvalidSubnetId" // Invalid high availability parameter. INVALIDPARAMETER_INVALIDSUPPORTHA = "InvalidParameter.InvalidSupportHA" // The number of task nodes cannot exceed 20. INVALIDPARAMETER_INVALIDTASKCOUNT = "InvalidParameter.InvalidTaskCount" // Parameter error. INVALIDPARAMETER_INVALIDTIMELAYOUT = "InvalidParameter.InvalidTimeLayout" // Invalid `timespan`. INVALIDPARAMETER_INVALIDTIMESPAN = "InvalidParameter.InvalidTimeSpan" // Invalid `TimeUnit`. INVALIDPARAMETER_INVALIDTIMEUNIT = "InvalidParameter.InvalidTimeUnit" // The TKE cluster ID is invalid, or the TKE cluster is not eligible. INVALIDPARAMETER_INVALIDTKEINSTANCE = "InvalidParameter.InvalidTkeInstance" // Parent account UIN parameter input error. INVALIDPARAMETER_INVALIDUINNUM = "InvalidParameter.InvalidUinNum" // Invalid unified metadatabase. INVALIDPARAMETER_INVALIDUNIFYMETA = "InvalidParameter.InvalidUnifyMeta" // Parameter error. INVALIDPARAMETER_INVALIDVENDORTYPE = "InvalidParameter.InvalidVendorType" // Parameter error. INVALIDPARAMETER_INVALIDVOLUMETYPE = "InvalidParameter.InvalidVolumeType" // Invalid VPC ID. INVALIDPARAMETER_INVALIDVPCID = "InvalidParameter.InvalidVpcId" // Invalid AZ. INVALIDPARAMETER_INVALIDZONE = "InvalidParameter.InvalidZone" // Invalid identifier for Kerberos support. INVALIDPARAMETER_KERBEROSSUPPORT = "InvalidParameter.KerberosSupport" // Parameter error. INVALIDPARAMETER_LESSCOMMONCOUNT = "InvalidParameter.LessCommonCount" // Parameter error. INVALIDPARAMETER_LESSTASKCOUNT = "InvalidParameter.LessTaskCount" // Number of CVM instances exceeds the maximum limit. INVALIDPARAMETER_MOREMAXLIMITNUM = "InvalidParameter.MoreMaxlimitNum" // Invalid parameter. Necessary components are missing. INVALIDPARAMETER_NOTCONTAINMUSTSELECTSOFTWARE = "InvalidParameter.NotContainMustSelectSoftware" // Invalid sorting field. INVALIDPARAMETER_ORDERFIELDNOTMATCH = "InvalidParameter.OrderFieldNotMatch" // The billing mode and resource do not match. INVALIDPARAMETER_PAYMODERESOURCENOTMATCH = "InvalidParameter.PayModeResourceNotMatch" // The project does not match the resource. INVALIDPARAMETER_PROJECTRESOURCENOTMATCH = "InvalidParameter.ProjectResourceNotMatch" // Duplicate execution time. INVALIDPARAMETER_REPEATEDEXECUTIONTIME = "InvalidParameter.RepeatedExecutionTime" // Repeated scaling rule name. INVALIDPARAMETER_REPEATEDSTRATEGYNAME = "InvalidParameter.RepeatedStrategyName" // Invalid ResourceProviderType parameter. INVALIDPARAMETER_RESOURCEPROVIDERTYPE = "InvalidParameter.ResourceProviderType" // This service does not support restart. INVALIDPARAMETER_RESTARTSERVICEUNSUPPORTED = "InvalidParameter.RestartServiceUnsupported" // Invalid product component exists. INVALIDPARAMETER_SOFTWARENOTINPRODUCR = "InvalidParameter.SoftwareNotInProducr" // There is an invalid product component. INVALIDPARAMETER_SOFTWARENOTINPRODUCT = "InvalidParameter.SoftwareNotInProduct" // The policy is not authorized. INVALIDPARAMETER_UNGRANTEDPOLICY = "InvalidParameter.UngrantedPolicy" // The role is not authorized. INVALIDPARAMETER_UNGRANTEDROLE = "InvalidParameter.UngrantedRole" // Parameter error. INVALIDPARAMETER_UNSATISFIEDSOFTDEPENDECY = "InvalidParameter.UnsatisfiedSoftDependecy" // The AZ and resource do not match. INVALIDPARAMETER_ZONERESOURCENOTMATCH = "InvalidParameter.ZoneResourceNotMatch" // Incorrect parameter value. INVALIDPARAMETERVALUE = "InvalidParameterValue" // The TKE cluster ID is invalid, or the TKE cluster is not eligible. INVALIDPARAMETERVALUE_INVALIDTKEINSTANCE = "InvalidParameterValue.InvalidTkeInstance" // The quota limit is exceeded. LIMITEXCEEDED = "LimitExceeded" // Request backlogs have exceeded the limit. LIMITEXCEEDED_REQUESTBACKLOGEXCEEDSLIMIT = "LimitExceeded.RequestBacklogExceedsLimit" // The number of security groups exceeds the limit. LIMITEXCEEDED_SECURITYGROUPNUMLIMITEXCEEDED = "LimitExceeded.SecurityGroupNumLimitExceeded" // Number of users exceeds the limit. LIMITEXCEEDED_USERCOUNTEXCEEDSLIMIT = "LimitExceeded.UserCountExceedsLimit" // Missing parameter. MISSINGPARAMETER = "MissingParameter" // Error of misiParameter errors are missing. MISSINGPARAMETER_MISSINGCORERESOURCE = "MissingParameter.MissingCoreResource" // Operation denied. OPERATIONDENIED = "OperationDenied" // Number of requests exceeds the frequency limit. REQUESTLIMITEXCEEDED = "RequestLimitExceeded" // The instance is under workflow. RESOURCEINUSE_INSTANCEINPROCESS = "ResourceInUse.InstanceInProcess" // The disk specification is insufficient. RESOURCEINSUFFICIENT_DISKINSUFFICIENT = "ResourceInsufficient.DiskInsufficient" // The node specification is unsupported or has been sold out. RESOURCEINSUFFICIENT_INSTANCEINSUFFICIENT = "ResourceInsufficient.InstanceInsufficient" // Resources do not exist. RESOURCENOTFOUND = "ResourceNotFound" // The instance was not found. RESOURCENOTFOUND_CLUSTERNOTFOUND = "ResourceNotFound.ClusterNotFound" // Unable to find the specified CVM instance. RESOURCENOTFOUND_CVMINSTANCENOTFOUND = "ResourceNotFound.CvmInstanceNotFound" // No hardware information found. RESOURCENOTFOUND_HARDWAREINFONOTFOUND = "ResourceNotFound.HardwareInfoNotFound" // The instance was not found. RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" // Unable to find the monitoring metadata. RESOURCENOTFOUND_RESOURCENOTFOUND = "ResourceNotFound.ResourceNotFound" // The specifications do not exist. RESOURCENOTFOUND_SPECNOTFOUND = "ResourceNotFound.SpecNotFound" // Corresponding scaling rules not found. RESOURCENOTFOUND_STRATEGYNOTFOUND = "ResourceNotFound.StrategyNotFound" // No corresponding subnet found. RESOURCENOTFOUND_SUBNETNOTFOUND = "ResourceNotFound.SubnetNotFound" // Preset components of the TKE cluster are not deployed. RESOURCENOTFOUND_TKEPRECONDITIONNOTFOUND = "ResourceNotFound.TKEPreconditionNotFound" // No specified tag found. RESOURCENOTFOUND_TAGSNOTFOUND = "ResourceNotFound.TagsNotFound" // Resources are unavailable. RESOURCEUNAVAILABLE_NOTSUPPORTNODETYPE = "ResourceUnavailable.NotSupportNodeType" // Resources are unavailable. RESOURCEUNAVAILABLE_NOTSUPPORTRESOURCETYPE = "ResourceUnavailable.NotSupportResourceType" // Duplicate resource specifications. RESOURCEUNAVAILABLE_REPEATSPEC = "ResourceUnavailable.RepeatSpec" // There is no default value of the current resource spec. RESOURCEUNAVAILABLE_RESOURCESPECNOTDEFAULTSPEC = "ResourceUnavailable.ResourceSpecNotDefaultSpec" // The resource specification does not exist. RESOURCEUNAVAILABLE_RESOURCESPECNOTEXIST = "ResourceUnavailable.ResourceSpecNotExist" // The resources have been sold out. RESOURCESSOLDOUT = "ResourcesSoldOut" // The CBS resources have been sold out. RESOURCESSOLDOUT_CBSSOLDOUT = "ResourcesSoldOut.CbsSoldOut" // CVM instances have been sold out. RESOURCESSOLDOUT_CVMSOLDOUT = "ResourcesSoldOut.CvmSoldOut" // Unauthorized operation. UNAUTHORIZEDOPERATION = "UnauthorizedOperation" // The `appId` is inconsistent. UNAUTHORIZEDOPERATION_APPIDMISMATCHED = "UnauthorizedOperation.AppIdMismatched" // Unauthorized operation. UNAUTHORIZEDOPERATION_CHECKCAMAUTH = "UnauthorizedOperation.CheckCamAuth" // Unknown parameter. UNKNOWNPARAMETER = "UnknownParameter" // Unsupported operation. UNSUPPORTEDOPERATION = "UnsupportedOperation" // This function is included in the allowlist. UNSUPPORTEDOPERATION_NOTINWHITELIST = "UnsupportedOperation.NotInWhiteList" // This operation is not supported. UNSUPPORTEDOPERATION_SERVICENOTSUPPORT = "UnsupportedOperation.ServiceNotSupport" )
const APIVersion = "2019-01-03"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddMetricScaleStrategyRequest ¶
type AddMetricScaleStrategyRequest struct { *tchttp.BaseRequest // Instance ID. InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // 1 indicates scaling by load rules. 2 indicates scaling by time rules. This parameter is required and should match the following rule policy. StrategyType *int64 `json:"StrategyType,omitnil,omitempty" name:"StrategyType"` // Load-based scale-out rules. LoadAutoScaleStrategy *LoadAutoScaleStrategy `json:"LoadAutoScaleStrategy,omitnil,omitempty" name:"LoadAutoScaleStrategy"` // Rule for time-based scaling TimeAutoScaleStrategy *TimeAutoScaleStrategy `json:"TimeAutoScaleStrategy,omitnil,omitempty" name:"TimeAutoScaleStrategy"` }
func NewAddMetricScaleStrategyRequest ¶
func NewAddMetricScaleStrategyRequest() (request *AddMetricScaleStrategyRequest)
func (*AddMetricScaleStrategyRequest) FromJsonString ¶
func (r *AddMetricScaleStrategyRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*AddMetricScaleStrategyRequest) ToJsonString ¶
func (r *AddMetricScaleStrategyRequest) ToJsonString() string
type AddMetricScaleStrategyRequestParams ¶
type AddMetricScaleStrategyRequestParams struct { // Instance ID. InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // 1 indicates scaling by load rules. 2 indicates scaling by time rules. This parameter is required and should match the following rule policy. StrategyType *int64 `json:"StrategyType,omitnil,omitempty" name:"StrategyType"` // Load-based scale-out rules. LoadAutoScaleStrategy *LoadAutoScaleStrategy `json:"LoadAutoScaleStrategy,omitnil,omitempty" name:"LoadAutoScaleStrategy"` // Rule for time-based scaling TimeAutoScaleStrategy *TimeAutoScaleStrategy `json:"TimeAutoScaleStrategy,omitnil,omitempty" name:"TimeAutoScaleStrategy"` }
Predefined struct for user
type AddMetricScaleStrategyResponse ¶
type AddMetricScaleStrategyResponse struct { *tchttp.BaseResponse Response *AddMetricScaleStrategyResponseParams `json:"Response"` }
func NewAddMetricScaleStrategyResponse ¶
func NewAddMetricScaleStrategyResponse() (response *AddMetricScaleStrategyResponse)
func (*AddMetricScaleStrategyResponse) FromJsonString ¶
func (r *AddMetricScaleStrategyResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*AddMetricScaleStrategyResponse) ToJsonString ¶
func (r *AddMetricScaleStrategyResponse) ToJsonString() string
type AddMetricScaleStrategyResponseParams ¶
type AddMetricScaleStrategyResponseParams struct { // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type AddNodeResourceConfigRequest ¶
type AddNodeResourceConfigRequest struct { *tchttp.BaseRequest // Cluster instance ID. InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Node type: Core, Task, and Router. ResourceType *string `json:"ResourceType,omitnil,omitempty" name:"ResourceType"` // Resource details. ResourceConfig *Resource `json:"ResourceConfig,omitnil,omitempty" name:"ResourceConfig"` // Payment mode. PayMode *int64 `json:"PayMode,omitnil,omitempty" name:"PayMode"` // Whether default configuration applies, DEFAULT or BACKUP. If it is not specified, the default configuration does not apply. IsDefault *string `json:"IsDefault,omitnil,omitempty" name:"IsDefault"` // Region ID. ZoneId *int64 `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // When multiple specifications are added, details of the first specifications are in the ResourceConfig parameter, and those of the second to n-th are in the MultipleResourceConfig parameter. MultipleResourceConfig []*Resource `json:"MultipleResourceConfig,omitnil,omitempty" name:"MultipleResourceConfig"` // The type can be ComputeResource, EMR, or a default value. The default value is EMR. ResourceBaseType *string `json:"ResourceBaseType,omitnil,omitempty" name:"ResourceBaseType"` // Computing resource ID. ComputeResourceId *string `json:"ComputeResourceId,omitnil,omitempty" name:"ComputeResourceId"` // Hardware type. HardwareResourceType *string `json:"HardwareResourceType,omitnil,omitempty" name:"HardwareResourceType"` }
func NewAddNodeResourceConfigRequest ¶
func NewAddNodeResourceConfigRequest() (request *AddNodeResourceConfigRequest)
func (*AddNodeResourceConfigRequest) FromJsonString ¶
func (r *AddNodeResourceConfigRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*AddNodeResourceConfigRequest) ToJsonString ¶
func (r *AddNodeResourceConfigRequest) ToJsonString() string
type AddNodeResourceConfigRequestParams ¶
type AddNodeResourceConfigRequestParams struct { // Cluster instance ID. InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Node type: Core, Task, and Router. ResourceType *string `json:"ResourceType,omitnil,omitempty" name:"ResourceType"` // Resource details. ResourceConfig *Resource `json:"ResourceConfig,omitnil,omitempty" name:"ResourceConfig"` // Payment mode. PayMode *int64 `json:"PayMode,omitnil,omitempty" name:"PayMode"` // Whether default configuration applies, DEFAULT or BACKUP. If it is not specified, the default configuration does not apply. IsDefault *string `json:"IsDefault,omitnil,omitempty" name:"IsDefault"` // Region ID. ZoneId *int64 `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // When multiple specifications are added, details of the first specifications are in the ResourceConfig parameter, and those of the second to n-th are in the MultipleResourceConfig parameter. MultipleResourceConfig []*Resource `json:"MultipleResourceConfig,omitnil,omitempty" name:"MultipleResourceConfig"` // The type can be ComputeResource, EMR, or a default value. The default value is EMR. ResourceBaseType *string `json:"ResourceBaseType,omitnil,omitempty" name:"ResourceBaseType"` // Computing resource ID. ComputeResourceId *string `json:"ComputeResourceId,omitnil,omitempty" name:"ComputeResourceId"` // Hardware type. HardwareResourceType *string `json:"HardwareResourceType,omitnil,omitempty" name:"HardwareResourceType"` }
Predefined struct for user
type AddNodeResourceConfigResponse ¶
type AddNodeResourceConfigResponse struct { *tchttp.BaseResponse Response *AddNodeResourceConfigResponseParams `json:"Response"` }
func NewAddNodeResourceConfigResponse ¶
func NewAddNodeResourceConfigResponse() (response *AddNodeResourceConfigResponse)
func (*AddNodeResourceConfigResponse) FromJsonString ¶
func (r *AddNodeResourceConfigResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*AddNodeResourceConfigResponse) ToJsonString ¶
func (r *AddNodeResourceConfigResponse) ToJsonString() string
type AddNodeResourceConfigResponseParams ¶
type AddNodeResourceConfigResponseParams struct { // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type AddUsersForUserManagerRequest ¶
type AddUsersForUserManagerRequest struct { *tchttp.BaseRequest // Cluster string ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // User information list UserManagerUserList []*UserInfoForUserManager `json:"UserManagerUserList,omitnil,omitempty" name:"UserManagerUserList"` }
func NewAddUsersForUserManagerRequest ¶
func NewAddUsersForUserManagerRequest() (request *AddUsersForUserManagerRequest)
func (*AddUsersForUserManagerRequest) FromJsonString ¶
func (r *AddUsersForUserManagerRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*AddUsersForUserManagerRequest) ToJsonString ¶
func (r *AddUsersForUserManagerRequest) ToJsonString() string
type AddUsersForUserManagerRequestParams ¶
type AddUsersForUserManagerRequestParams struct { // Cluster string ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // User information list UserManagerUserList []*UserInfoForUserManager `json:"UserManagerUserList,omitnil,omitempty" name:"UserManagerUserList"` }
Predefined struct for user
type AddUsersForUserManagerResponse ¶
type AddUsersForUserManagerResponse struct { *tchttp.BaseResponse Response *AddUsersForUserManagerResponseParams `json:"Response"` }
func NewAddUsersForUserManagerResponse ¶
func NewAddUsersForUserManagerResponse() (response *AddUsersForUserManagerResponse)
func (*AddUsersForUserManagerResponse) FromJsonString ¶
func (r *AddUsersForUserManagerResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*AddUsersForUserManagerResponse) ToJsonString ¶
func (r *AddUsersForUserManagerResponse) ToJsonString() string
type AddUsersForUserManagerResponseParams ¶
type AddUsersForUserManagerResponseParams struct { // The user list that is successfully added // Note: This field may return `null`, indicating that no valid value can be obtained. SuccessUserList []*string `json:"SuccessUserList,omitnil,omitempty" name:"SuccessUserList"` // The user list that is not successfully added // Note: This field may return `null`, indicating that no valid value can be obtained. FailedUserList []*string `json:"FailedUserList,omitnil,omitempty" name:"FailedUserList"` // Flow ID. If the flow ID is larger than 0, it means that the flow is launched; if the flow ID is equal to 0, it means that no flow is launched. FlowId *int64 `json:"FlowId,omitnil,omitempty" name:"FlowId"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type AllNodeResourceSpec ¶
type AllNodeResourceSpec struct { // The description of master nodes. // Note: This field may return null, indicating that no valid values can be obtained. MasterResourceSpec *NodeResourceSpec `json:"MasterResourceSpec,omitnil,omitempty" name:"MasterResourceSpec"` // The description of core nodes. // Note: This field may return null, indicating that no valid values can be obtained. CoreResourceSpec *NodeResourceSpec `json:"CoreResourceSpec,omitnil,omitempty" name:"CoreResourceSpec"` // The description of task nodes. // Note: This field may return null, indicating that no valid values can be obtained. TaskResourceSpec *NodeResourceSpec `json:"TaskResourceSpec,omitnil,omitempty" name:"TaskResourceSpec"` // The description of common nodes. // Note: This field may return null, indicating that no valid values can be obtained. CommonResourceSpec *NodeResourceSpec `json:"CommonResourceSpec,omitnil,omitempty" name:"CommonResourceSpec"` // Number of Master nodes. MasterCount *int64 `json:"MasterCount,omitnil,omitempty" name:"MasterCount"` // Number of core nodes. CoreCount *int64 `json:"CoreCount,omitnil,omitempty" name:"CoreCount"` // Number of task nodes. TaskCount *int64 `json:"TaskCount,omitnil,omitempty" name:"TaskCount"` // Number of common nodes. CommonCount *int64 `json:"CommonCount,omitnil,omitempty" name:"CommonCount"` }
type ApplicationStatics ¶
type ApplicationStatics struct { // Queue name Queue *string `json:"Queue,omitnil,omitempty" name:"Queue"` // Username User *string `json:"User,omitnil,omitempty" name:"User"` // Application type ApplicationType *string `json:"ApplicationType,omitnil,omitempty" name:"ApplicationType"` // `SumMemorySeconds` meaning SumMemorySeconds *int64 `json:"SumMemorySeconds,omitnil,omitempty" name:"SumMemorySeconds"` SumVCoreSeconds *int64 `json:"SumVCoreSeconds,omitnil,omitempty" name:"SumVCoreSeconds"` // SumHDFSBytesWritten (with unit) SumHDFSBytesWritten *string `json:"SumHDFSBytesWritten,omitnil,omitempty" name:"SumHDFSBytesWritten"` // SumHDFSBytesRead (with unit) SumHDFSBytesRead *string `json:"SumHDFSBytesRead,omitnil,omitempty" name:"SumHDFSBytesRead"` // Application count CountApps *int64 `json:"CountApps,omitnil,omitempty" name:"CountApps"` }
type AttachDisksRequest ¶
type AttachDisksRequest struct { *tchttp.BaseRequest // ID of the EMR cluster instance. InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Cloud disk ID required for mounting. DiskIds []*string `json:"DiskIds,omitnil,omitempty" name:"DiskIds"` // Mount mode. Valid values. // AUTO_RENEW: auto-renewal. // ALIGN_DEADLINE: automatic alignment with the deadline. AlignType *string `json:"AlignType,omitnil,omitempty" name:"AlignType"` // List of CVM node IDs requiring mounting. CvmInstanceIds []*string `json:"CvmInstanceIds,omitnil,omitempty" name:"CvmInstanceIds"` // Whether to mount newly purchased cloud disks. CreateDisk *bool `json:"CreateDisk,omitnil,omitempty" name:"CreateDisk"` // Specifications of newly purchased cloud disks. DiskSpec *NodeSpecDiskV2 `json:"DiskSpec,omitnil,omitempty" name:"DiskSpec"` // Optional parameter. Only mount operation is performed if this parameter is not passed. When True is passed, the CBS will be set to termination with the cloud host upon successful mounting. This is only applicable to pay-as-you-go cloud disk. DeleteWithInstance *bool `json:"DeleteWithInstance,omitnil,omitempty" name:"DeleteWithInstance"` // Name list of services that can be configured when a new disk is mounted. SelectiveConfServices []*string `json:"SelectiveConfServices,omitnil,omitempty" name:"SelectiveConfServices"` // Disk billing type (1: monthly subscription, 3: committed use). ChargeType *int64 `json:"ChargeType,omitnil,omitempty" name:"ChargeType"` // Disk committed use and purchase duration (only supports 12, 24, 36, 48, and 60). UnderWriteDuration *int64 `json:"UnderWriteDuration,omitnil,omitempty" name:"UnderWriteDuration"` }
func NewAttachDisksRequest ¶
func NewAttachDisksRequest() (request *AttachDisksRequest)
func (*AttachDisksRequest) FromJsonString ¶
func (r *AttachDisksRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*AttachDisksRequest) ToJsonString ¶
func (r *AttachDisksRequest) ToJsonString() string
type AttachDisksRequestParams ¶
type AttachDisksRequestParams struct { // ID of the EMR cluster instance. InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Cloud disk ID required for mounting. DiskIds []*string `json:"DiskIds,omitnil,omitempty" name:"DiskIds"` // Mount mode. Valid values. // AUTO_RENEW: auto-renewal. // ALIGN_DEADLINE: automatic alignment with the deadline. AlignType *string `json:"AlignType,omitnil,omitempty" name:"AlignType"` // List of CVM node IDs requiring mounting. CvmInstanceIds []*string `json:"CvmInstanceIds,omitnil,omitempty" name:"CvmInstanceIds"` // Whether to mount newly purchased cloud disks. CreateDisk *bool `json:"CreateDisk,omitnil,omitempty" name:"CreateDisk"` // Specifications of newly purchased cloud disks. DiskSpec *NodeSpecDiskV2 `json:"DiskSpec,omitnil,omitempty" name:"DiskSpec"` // Optional parameter. Only mount operation is performed if this parameter is not passed. When True is passed, the CBS will be set to termination with the cloud host upon successful mounting. This is only applicable to pay-as-you-go cloud disk. DeleteWithInstance *bool `json:"DeleteWithInstance,omitnil,omitempty" name:"DeleteWithInstance"` // Name list of services that can be configured when a new disk is mounted. SelectiveConfServices []*string `json:"SelectiveConfServices,omitnil,omitempty" name:"SelectiveConfServices"` // Disk billing type (1: monthly subscription, 3: committed use). ChargeType *int64 `json:"ChargeType,omitnil,omitempty" name:"ChargeType"` // Disk committed use and purchase duration (only supports 12, 24, 36, 48, and 60). UnderWriteDuration *int64 `json:"UnderWriteDuration,omitnil,omitempty" name:"UnderWriteDuration"` }
Predefined struct for user
type AttachDisksResponse ¶
type AttachDisksResponse struct { *tchttp.BaseResponse Response *AttachDisksResponseParams `json:"Response"` }
func NewAttachDisksResponse ¶
func NewAttachDisksResponse() (response *AttachDisksResponse)
func (*AttachDisksResponse) FromJsonString ¶
func (r *AttachDisksResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*AttachDisksResponse) ToJsonString ¶
func (r *AttachDisksResponse) ToJsonString() string
type AttachDisksResponseParams ¶
type AttachDisksResponseParams struct { // Flow ID. FlowId *int64 `json:"FlowId,omitnil,omitempty" name:"FlowId"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type AutoScaleGroupAdvanceAttrs ¶
type AutoScaleGroupAdvanceAttrs struct { // Advanced settings of computing resources. ComputeResourceAdvanceParams *ComputeResourceAdvanceParams `json:"ComputeResourceAdvanceParams,omitnil,omitempty" name:"ComputeResourceAdvanceParams"` }
type AutoScaleRecord ¶
type AutoScaleRecord struct { // Name of the scale-in or scale-out rule. StrategyName *string `json:"StrategyName,omitnil,omitempty" name:"StrategyName"` // "SCALE_OUT" and "SCALE_IN", representing expansion and reduction respectively. ScaleAction *string `json:"ScaleAction,omitnil,omitempty" name:"ScaleAction"` // The values are "SUCCESS", "FAILED", "PART_SUCCESS", "IN_PROCESS", which indicate success, failure, partial success, and in-progress, respectively. ActionStatus *string `json:"ActionStatus,omitnil,omitempty" name:"ActionStatus"` // Process initiation time. ActionTime *string `json:"ActionTime,omitnil,omitempty" name:"ActionTime"` // Description related to auto-scaling. ScaleInfo *string `json:"ScaleInfo,omitnil,omitempty" name:"ScaleInfo"` // Valid only when ScaleAction is SCALE_OUT. ExpectScaleNum *int64 `json:"ExpectScaleNum,omitnil,omitempty" name:"ExpectScaleNum"` // Process termination time. EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"` // Policy type. Valid values: 1 (load-based scaling), 2 (time-based scaling). StrategyType *int64 `json:"StrategyType,omitnil,omitempty" name:"StrategyType"` // Specification information used during scale-out. SpecInfo *string `json:"SpecInfo,omitnil,omitempty" name:"SpecInfo"` // Compensatory scale-out. 0: disable, 1: enable. CompensateFlag *int64 `json:"CompensateFlag,omitnil,omitempty" name:"CompensateFlag"` // Number of compensations. CompensateCount *int64 `json:"CompensateCount,omitnil,omitempty" name:"CompensateCount"` // Number of retries. RetryCount *uint64 `json:"RetryCount,omitnil,omitempty" name:"RetryCount"` // Retry information. RetryInfo *string `json:"RetryInfo,omitnil,omitempty" name:"RetryInfo"` // Retry description in English. RetryEnReason *string `json:"RetryEnReason,omitnil,omitempty" name:"RetryEnReason"` // Retry description. RetryReason *string `json:"RetryReason,omitnil,omitempty" name:"RetryReason"` }
type AutoScaleResourceConf ¶
type AutoScaleResourceConf struct { // Configuration ID. Id *int64 `json:"Id,omitnil,omitempty" name:"Id"` // Cluster instance ID. ClusterId *int64 `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // Minimum number of instances retained for automatic scaling ScaleLowerBound *int64 `json:"ScaleLowerBound,omitnil,omitempty" name:"ScaleLowerBound"` // Maximum number of instances for auto scaling ScaleUpperBound *int64 `json:"ScaleUpperBound,omitnil,omitempty" name:"ScaleUpperBound"` // Scale-out rule type. 1: load-based scale-out rule, 2: time-based scale-out rule StrategyType *int64 `json:"StrategyType,omitnil,omitempty" name:"StrategyType"` // Next scale-out time. NextTimeCanScale *uint64 `json:"NextTimeCanScale,omitnil,omitempty" name:"NextTimeCanScale"` // Graceful scale-in switch. GraceDownFlag *bool `json:"GraceDownFlag,omitnil,omitempty" name:"GraceDownFlag"` // "CVM" indicates that the CVM type is used for all specifications, and "Pod" indicates that the container type is used for specifications. The default value is "CVM". HardwareType *string `json:"HardwareType,omitnil,omitempty" name:"HardwareType"` // "POSTPAY" indicates the sole adoption of pay-as-you-go, and "SPOT_FIRST" indicates spot instance first, which is only supported when HardwareType is "HOST". "Pod" only supports pay-as-you-go. PayMode *string `json:"PayMode,omitnil,omitempty" name:"PayMode"` // The minimum percentage of pay-as-you-go resources in scenarios with spot instance first. It is an integer. PostPayPercentMin *int64 `json:"PostPayPercentMin,omitnil,omitempty" name:"PostPayPercentMin"` // When resource type is preset to HOST: Supports enabling/disabling "Fallback to pod when resources are insufficient"; Default state: 0 (disabled), Toggle state: 1 (enabled). ChangeToPod *int64 `json:"ChangeToPod,omitnil,omitempty" name:"ChangeToPod"` // Scaling group name. GroupName *string `json:"GroupName,omitnil,omitempty" name:"GroupName"` // Tag. YarnNodeLabel *string `json:"YarnNodeLabel,omitnil,omitempty" name:"YarnNodeLabel"` // Scaling group status. GroupStatus *int64 `json:"GroupStatus,omitnil,omitempty" name:"GroupStatus"` // Parallel scaling. 0: disabled; 1: enabled. Parallel *int64 `json:"Parallel,omitnil,omitempty" name:"Parallel"` // Whether MNode is supported. EnableMNode *int64 `json:"EnableMNode,omitnil,omitempty" name:"EnableMNode"` // More scaling group settings. ExtraAdvanceAttrs *AutoScaleGroupAdvanceAttrs `json:"ExtraAdvanceAttrs,omitnil,omitempty" name:"ExtraAdvanceAttrs"` }
type CBSInstance ¶
type CBSInstance struct { // Cloud disk ID. DiskId *string `json:"DiskId,omitnil,omitempty" name:"DiskId"` // Cloud disk type. DiskUsage *string `json:"DiskUsage,omitnil,omitempty" name:"DiskUsage"` // Cloud disk name. DiskName *string `json:"DiskName,omitnil,omitempty" name:"DiskName"` // Cloud disk size. DiskSize *int64 `json:"DiskSize,omitnil,omitempty" name:"DiskSize"` // Cloud disk media type. DiskType *string `json:"DiskType,omitnil,omitempty" name:"DiskType"` // Whether to delete it with the instance. DeleteWithInstance *bool `json:"DeleteWithInstance,omitnil,omitempty" name:"DeleteWithInstance"` // Cloud disk billing type. DiskChargeType *string `json:"DiskChargeType,omitnil,omitempty" name:"DiskChargeType"` // Cloud disk running status. DiskState *string `json:"DiskState,omitnil,omitempty" name:"DiskState"` // Whether to perform auto-renewal. RenewFlag *string `json:"RenewFlag,omitnil,omitempty" name:"RenewFlag"` // Expiration time. DeadlineTime *string `json:"DeadlineTime,omitnil,omitempty" name:"DeadlineTime"` // Whether the cloud disk is mounted on the cloud host. Attached *bool `json:"Attached,omitnil,omitempty" name:"Attached"` // Days remaining until disk expiration. DifferDaysOfDeadline *int64 `json:"DifferDaysOfDeadline,omitnil,omitempty" name:"DifferDaysOfDeadline"` // InstanceId of the CVM instance to which this cloud disk is currently mounted. // Note: This field may return null, indicating that no valid values can be obtained. InstanceIdList []*string `json:"InstanceIdList,omitnil,omitempty" name:"InstanceIdList"` // ID of the cloud host to which the Cloud disk is mounted. InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` Shareable *bool `json:"Shareable,omitnil,omitempty" name:"Shareable"` // EMR node ID. EmrResourceId *string `json:"EmrResourceId,omitnil,omitempty" name:"EmrResourceId"` // Committed use expiration time. UnderwriteExpiredTime *string `json:"UnderwriteExpiredTime,omitnil,omitempty" name:"UnderwriteExpiredTime"` }
type COSSettings ¶
type COSSettings struct { // COS `SecretId` CosSecretId *string `json:"CosSecretId,omitnil,omitempty" name:"CosSecretId"` // COS `SecrectKey` CosSecretKey *string `json:"CosSecretKey,omitnil,omitempty" name:"CosSecretKey"` // COS path to log LogOnCosPath *string `json:"LogOnCosPath,omitnil,omitempty" name:"LogOnCosPath"` }
type CapacityGlobalConfig ¶
type CapacityGlobalConfig struct { // Whether label-based scheduling is enabled. EnableLabel *bool `json:"EnableLabel,omitnil,omitempty" name:"EnableLabel"` // Path for tag information storage if label-based scheduling is enabled. // Note: This field may return null, indicating that no valid values can be obtained. LabelDir *string `json:"LabelDir,omitnil,omitempty" name:"LabelDir"` // Whether to overwrite the user-specified queue, wherein true indicates overwrite. // Note: This field may return null, indicating that no valid values can be obtained. QueueMappingOverride *bool `json:"QueueMappingOverride,omitnil,omitempty" name:"QueueMappingOverride"` // Advanced settings. // Note: This field may return null, indicating that no valid values can be obtained. DefaultSettings []*DefaultSetting `json:"DefaultSettings,omitnil,omitempty" name:"DefaultSettings"` }
type CdbInfo ¶
type CdbInfo struct { // Database instance. InstanceName *string `json:"InstanceName,omitnil,omitempty" name:"InstanceName"` // Database IP address. Ip *string `json:"Ip,omitnil,omitempty" name:"Ip"` // Database port. Port *int64 `json:"Port,omitnil,omitempty" name:"Port"` // Database memory specifications. MemSize *int64 `json:"MemSize,omitnil,omitempty" name:"MemSize"` // Database disk specifications. Volume *int64 `json:"Volume,omitnil,omitempty" name:"Volume"` // Service identifier. Service *string `json:"Service,omitnil,omitempty" name:"Service"` // Expiration time. ExpireTime *string `json:"ExpireTime,omitnil,omitempty" name:"ExpireTime"` // Application time. ApplyTime *string `json:"ApplyTime,omitnil,omitempty" name:"ApplyTime"` // Billing type. PayType *int64 `json:"PayType,omitnil,omitempty" name:"PayType"` // Expiration flag. ExpireFlag *bool `json:"ExpireFlag,omitnil,omitempty" name:"ExpireFlag"` // Database status. Status *int64 `json:"Status,omitnil,omitempty" name:"Status"` // Renewal flag. IsAutoRenew *int64 `json:"IsAutoRenew,omitnil,omitempty" name:"IsAutoRenew"` // Database string. SerialNo *string `json:"SerialNo,omitnil,omitempty" name:"SerialNo"` // ZoneId ZoneId *int64 `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // RegionId RegionId *int64 `json:"RegionId,omitnil,omitempty" name:"RegionId"` }
type Client ¶
func NewClient ¶
func NewClient(credential common.CredentialIface, region string, clientProfile *profile.ClientProfile) (client *Client, err error)
func NewClientWithSecretId ¶
Deprecated
func (*Client) AddMetricScaleStrategy ¶
func (c *Client) AddMetricScaleStrategy(request *AddMetricScaleStrategyRequest) (response *AddMetricScaleStrategyResponse, err error)
AddMetricScaleStrategy This API is used to add scaling rules by load and time.
error code that may be returned:
FAILEDOPERATION_MORESTRATEGYNOTALLOWED = "FailedOperation.MoreStrategyNotAllowed" INTERNALERROR_CAMCGWERROR = "InternalError.CamCgwError" INVALIDPARAMETER_INVALIDCOMPAREMETHOD = "InvalidParameter.InvalidCompareMethod" INVALIDPARAMETER_INVALIDCONDITIONNUM = "InvalidParameter.InvalidConditionNum" INVALIDPARAMETER_INVALIDPARAMTERINVALIDSOFTINFO = "InvalidParameter.InvalidParamterInvalidSoftInfo" INVALIDPARAMETER_INVALIDPROCESSMETHOD = "InvalidParameter.InvalidProcessMethod" INVALIDPARAMETER_INVALIDSCALEACTION = "InvalidParameter.InvalidScaleAction" INVALIDPARAMETER_INVALIDSOFTWARE = "InvalidParameter.InvalidSoftWare" INVALIDPARAMETER_INVALIDSTRATEGY = "InvalidParameter.InvalidStrategy" INVALIDPARAMETER_INVALIDSTRATEGYSPEC = "InvalidParameter.InvalidStrategySpec" INVALIDPARAMETER_INVALIDSTRATEGYTYPE = "InvalidParameter.InvalidStrategyType" INVALIDPARAMETER_INVALIDTIMELAYOUT = "InvalidParameter.InvalidTimeLayout" INVALIDPARAMETER_REPEATEDEXECUTIONTIME = "InvalidParameter.RepeatedExecutionTime" INVALIDPARAMETER_REPEATEDSTRATEGYNAME = "InvalidParameter.RepeatedStrategyName" UNAUTHORIZEDOPERATION_CHECKCAMAUTH = "UnauthorizedOperation.CheckCamAuth"
func (*Client) AddMetricScaleStrategyWithContext ¶
func (c *Client) AddMetricScaleStrategyWithContext(ctx context.Context, request *AddMetricScaleStrategyRequest) (response *AddMetricScaleStrategyResponse, err error)
AddMetricScaleStrategy This API is used to add scaling rules by load and time.
error code that may be returned:
FAILEDOPERATION_MORESTRATEGYNOTALLOWED = "FailedOperation.MoreStrategyNotAllowed" INTERNALERROR_CAMCGWERROR = "InternalError.CamCgwError" INVALIDPARAMETER_INVALIDCOMPAREMETHOD = "InvalidParameter.InvalidCompareMethod" INVALIDPARAMETER_INVALIDCONDITIONNUM = "InvalidParameter.InvalidConditionNum" INVALIDPARAMETER_INVALIDPARAMTERINVALIDSOFTINFO = "InvalidParameter.InvalidParamterInvalidSoftInfo" INVALIDPARAMETER_INVALIDPROCESSMETHOD = "InvalidParameter.InvalidProcessMethod" INVALIDPARAMETER_INVALIDSCALEACTION = "InvalidParameter.InvalidScaleAction" INVALIDPARAMETER_INVALIDSOFTWARE = "InvalidParameter.InvalidSoftWare" INVALIDPARAMETER_INVALIDSTRATEGY = "InvalidParameter.InvalidStrategy" INVALIDPARAMETER_INVALIDSTRATEGYSPEC = "InvalidParameter.InvalidStrategySpec" INVALIDPARAMETER_INVALIDSTRATEGYTYPE = "InvalidParameter.InvalidStrategyType" INVALIDPARAMETER_INVALIDTIMELAYOUT = "InvalidParameter.InvalidTimeLayout" INVALIDPARAMETER_REPEATEDEXECUTIONTIME = "InvalidParameter.RepeatedExecutionTime" INVALIDPARAMETER_REPEATEDSTRATEGYNAME = "InvalidParameter.RepeatedStrategyName" UNAUTHORIZEDOPERATION_CHECKCAMAUTH = "UnauthorizedOperation.CheckCamAuth"
func (*Client) AddNodeResourceConfig ¶
func (c *Client) AddNodeResourceConfig(request *AddNodeResourceConfigRequest) (response *AddNodeResourceConfigResponse, err error)
AddNodeResourceConfig This API is used to add node specifications of the current cluster.
error code that may be returned:
INTERNALERROR_ACCOUNTCGWERROR = "InternalError.AccountCgwError" INTERNALERROR_CAMCGWERROR = "InternalError.CamCgwError" INTERNALERROR_CAMERROR = "InternalError.CamError" INTERNALERROR_CBSCGWERROR = "InternalError.CbsCgwError" INTERNALERROR_CBSERROR = "InternalError.CbsError" INTERNALERROR_CDBCGWERROR = "InternalError.CdbCgwError" INTERNALERROR_CDBERROR = "InternalError.CdbError" INTERNALERROR_CONFIGCGWERROR = "InternalError.ConfigCgwError" INTERNALERROR_CVMERROR = "InternalError.CvmError" INTERNALERROR_KMSERROR = "InternalError.KmsError" INTERNALERROR_PROJECTCGWERROR = "InternalError.ProjectCgwError" INTERNALERROR_SGERROR = "InternalError.SgError" INTERNALERROR_TAGERROR = "InternalError.TagError" INTERNALERROR_TRADECGWERROR = "InternalError.TradeCgwError" INTERNALERROR_VPCCGWERROR = "InternalError.VpcCgwError" INTERNALERROR_VPCERROR = "InternalError.VpcError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDAPPID = "InvalidParameter.InvalidAppId" INVALIDPARAMETER_INVALIDCLUSTERID = "InvalidParameter.InvalidClusterId" RESOURCEUNAVAILABLE_REPEATSPEC = "ResourceUnavailable.RepeatSpec" RESOURCEUNAVAILABLE_RESOURCESPECNOTDEFAULTSPEC = "ResourceUnavailable.ResourceSpecNotDefaultSpec" RESOURCEUNAVAILABLE_RESOURCESPECNOTEXIST = "ResourceUnavailable.ResourceSpecNotExist" UNAUTHORIZEDOPERATION_CHECKCAMAUTH = "UnauthorizedOperation.CheckCamAuth"
func (*Client) AddNodeResourceConfigWithContext ¶
func (c *Client) AddNodeResourceConfigWithContext(ctx context.Context, request *AddNodeResourceConfigRequest) (response *AddNodeResourceConfigResponse, err error)
AddNodeResourceConfig This API is used to add node specifications of the current cluster.
error code that may be returned:
INTERNALERROR_ACCOUNTCGWERROR = "InternalError.AccountCgwError" INTERNALERROR_CAMCGWERROR = "InternalError.CamCgwError" INTERNALERROR_CAMERROR = "InternalError.CamError" INTERNALERROR_CBSCGWERROR = "InternalError.CbsCgwError" INTERNALERROR_CBSERROR = "InternalError.CbsError" INTERNALERROR_CDBCGWERROR = "InternalError.CdbCgwError" INTERNALERROR_CDBERROR = "InternalError.CdbError" INTERNALERROR_CONFIGCGWERROR = "InternalError.ConfigCgwError" INTERNALERROR_CVMERROR = "InternalError.CvmError" INTERNALERROR_KMSERROR = "InternalError.KmsError" INTERNALERROR_PROJECTCGWERROR = "InternalError.ProjectCgwError" INTERNALERROR_SGERROR = "InternalError.SgError" INTERNALERROR_TAGERROR = "InternalError.TagError" INTERNALERROR_TRADECGWERROR = "InternalError.TradeCgwError" INTERNALERROR_VPCCGWERROR = "InternalError.VpcCgwError" INTERNALERROR_VPCERROR = "InternalError.VpcError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDAPPID = "InvalidParameter.InvalidAppId" INVALIDPARAMETER_INVALIDCLUSTERID = "InvalidParameter.InvalidClusterId" RESOURCEUNAVAILABLE_REPEATSPEC = "ResourceUnavailable.RepeatSpec" RESOURCEUNAVAILABLE_RESOURCESPECNOTDEFAULTSPEC = "ResourceUnavailable.ResourceSpecNotDefaultSpec" RESOURCEUNAVAILABLE_RESOURCESPECNOTEXIST = "ResourceUnavailable.ResourceSpecNotExist" UNAUTHORIZEDOPERATION_CHECKCAMAUTH = "UnauthorizedOperation.CheckCamAuth"
func (*Client) AddUsersForUserManager ¶
func (c *Client) AddUsersForUserManager(request *AddUsersForUserManagerRequest) (response *AddUsersForUserManagerResponse, err error)
AddUsersForUserManager This API is available for clusters with OpenLDAP components configured.
This API is used to add user lists (user management).
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DBEXCEPTION = "FailedOperation.DBException" INTERNALERROR = "InternalError" INTERNALERROR_CAMCGWERROR = "InternalError.CamCgwError" INVALIDPARAMETER_INVALIDINSTANCENAME = "InvalidParameter.InvalidInstanceName" LIMITEXCEEDED_REQUESTBACKLOGEXCEEDSLIMIT = "LimitExceeded.RequestBacklogExceedsLimit" LIMITEXCEEDED_USERCOUNTEXCEEDSLIMIT = "LimitExceeded.UserCountExceedsLimit" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
func (*Client) AddUsersForUserManagerWithContext ¶
func (c *Client) AddUsersForUserManagerWithContext(ctx context.Context, request *AddUsersForUserManagerRequest) (response *AddUsersForUserManagerResponse, err error)
AddUsersForUserManager This API is available for clusters with OpenLDAP components configured.
This API is used to add user lists (user management).
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DBEXCEPTION = "FailedOperation.DBException" INTERNALERROR = "InternalError" INTERNALERROR_CAMCGWERROR = "InternalError.CamCgwError" INVALIDPARAMETER_INVALIDINSTANCENAME = "InvalidParameter.InvalidInstanceName" LIMITEXCEEDED_REQUESTBACKLOGEXCEEDSLIMIT = "LimitExceeded.RequestBacklogExceedsLimit" LIMITEXCEEDED_USERCOUNTEXCEEDSLIMIT = "LimitExceeded.UserCountExceedsLimit" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
func (*Client) AttachDisks ¶
func (c *Client) AttachDisks(request *AttachDisksRequest) (response *AttachDisksResponse, err error)
AttachDisks This API is used to mount cloud disks.
error code that may be returned:
INVALIDPARAMETER_INVALIDCLUSTERID = "InvalidParameter.InvalidClusterId" RESOURCEINUSE_INSTANCEINPROCESS = "ResourceInUse.InstanceInProcess"
func (*Client) AttachDisksWithContext ¶
func (c *Client) AttachDisksWithContext(ctx context.Context, request *AttachDisksRequest) (response *AttachDisksResponse, err error)
AttachDisks This API is used to mount cloud disks.
error code that may be returned:
INVALIDPARAMETER_INVALIDCLUSTERID = "InvalidParameter.InvalidClusterId" RESOURCEINUSE_INSTANCEINPROCESS = "ResourceInUse.InstanceInProcess"
func (*Client) ConvertPreToPostCluster ¶
func (c *Client) ConvertPreToPostCluster(request *ConvertPreToPostClusterRequest) (response *ConvertPreToPostClusterResponse, err error)
ConvertPreToPostCluster This API is used to convert a monthly subscription cluster to a pay-as-you-go cluster (excluding cdb).
error code that may be returned:
FAILEDOPERATION = "FailedOperation" RESOURCEINUSE_INSTANCEINPROCESS = "ResourceInUse.InstanceInProcess" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
func (*Client) ConvertPreToPostClusterWithContext ¶
func (c *Client) ConvertPreToPostClusterWithContext(ctx context.Context, request *ConvertPreToPostClusterRequest) (response *ConvertPreToPostClusterResponse, err error)
ConvertPreToPostCluster This API is used to convert a monthly subscription cluster to a pay-as-you-go cluster (excluding cdb).
error code that may be returned:
FAILEDOPERATION = "FailedOperation" RESOURCEINUSE_INSTANCEINPROCESS = "ResourceInUse.InstanceInProcess" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
func (*Client) CreateCluster ¶
func (c *Client) CreateCluster(request *CreateClusterRequest) (response *CreateClusterResponse, err error)
CreateCluster This API is used to create an EMR cluster instance.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_GETCVMSERVERFAILED = "FailedOperation.GetCvmServerFailed" INTERNALERROR_CDBERROR = "InternalError.CdbError" INTERNALERROR_CVMERROR = "InternalError.CvmError" INTERNALERROR_TRADECGWERROR = "InternalError.TradeCgwError" INVALIDPARAMETER_HALESSMASTERCOUNT = "InvalidParameter.HALessMasterCount" INVALIDPARAMETER_INCORRECTMASTERCOUNT = "InvalidParameter.IncorrectMasterCount" INVALIDPARAMETER_INVALIDALLNODERESOURCESPEC = "InvalidParameter.InvalidAllNodeResourceSpec" INVALIDPARAMETER_INVALIDCOMPONENT = "InvalidParameter.InvalidComponent" INVALIDPARAMETER_INVALIDCORECOUNT = "InvalidParameter.InvalidCoreCount" INVALIDPARAMETER_INVALIDCOREDISKTYPE = "InvalidParameter.InvalidCoreDiskType" INVALIDPARAMETER_INVALIDCOSBUCKET = "InvalidParameter.InvalidCosBucket" INVALIDPARAMETER_INVALIDDEPENDSERVICEANDENABLEKERBEROSCONFLICT = "InvalidParameter.InvalidDependServiceAndEnableKerberosConflict" INVALIDPARAMETER_INVALIDDISKNUM = "InvalidParameter.InvalidDiskNum" INVALIDPARAMETER_INVALIDINSTANCECHARGETYPE = "InvalidParameter.InvalidInstanceChargeType" INVALIDPARAMETER_INVALIDINSTANCETYPE = "InvalidParameter.InvalidInstanceType" INVALIDPARAMETER_INVALIDLOADBALANCER = "InvalidParameter.InvalidLoadBalancer" INVALIDPARAMETER_INVALIDMASTERDISKTYPE = "InvalidParameter.InvalidMasterDiskType" INVALIDPARAMETER_INVALIDMETATYPE = "InvalidParameter.InvalidMetaType" INVALIDPARAMETER_INVALIDPASSWORD = "InvalidParameter.InvalidPassword" INVALIDPARAMETER_INVALIDPRODUCTVERSION = "InvalidParameter.InvalidProductVersion" INVALIDPARAMETER_INVALIDRENEWFLAG = "InvalidParameter.InvalidRenewFlag" INVALIDPARAMETER_INVALIDRESOURCESPEC = "InvalidParameter.InvalidResourceSpec" INVALIDPARAMETER_INVALIDSCRIPTBOOTSTRAPACTIONCONFIG = "InvalidParameter.InvalidScriptBootstrapActionConfig" INVALIDPARAMETER_INVALIDSOFTINFO = "InvalidParameter.InvalidSoftInfo" INVALIDPARAMETER_INVALIDZONE = "InvalidParameter.InvalidZone" INVALIDPARAMETER_KERBEROSSUPPORT = "InvalidParameter.KerberosSupport" RESOURCEINSUFFICIENT_INSTANCEINSUFFICIENT = "ResourceInsufficient.InstanceInsufficient" RESOURCENOTFOUND_SUBNETNOTFOUND = "ResourceNotFound.SubnetNotFound" RESOURCESSOLDOUT_CVMSOLDOUT = "ResourcesSoldOut.CvmSoldOut"
func (*Client) CreateClusterWithContext ¶
func (c *Client) CreateClusterWithContext(ctx context.Context, request *CreateClusterRequest) (response *CreateClusterResponse, err error)
CreateCluster This API is used to create an EMR cluster instance.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_GETCVMSERVERFAILED = "FailedOperation.GetCvmServerFailed" INTERNALERROR_CDBERROR = "InternalError.CdbError" INTERNALERROR_CVMERROR = "InternalError.CvmError" INTERNALERROR_TRADECGWERROR = "InternalError.TradeCgwError" INVALIDPARAMETER_HALESSMASTERCOUNT = "InvalidParameter.HALessMasterCount" INVALIDPARAMETER_INCORRECTMASTERCOUNT = "InvalidParameter.IncorrectMasterCount" INVALIDPARAMETER_INVALIDALLNODERESOURCESPEC = "InvalidParameter.InvalidAllNodeResourceSpec" INVALIDPARAMETER_INVALIDCOMPONENT = "InvalidParameter.InvalidComponent" INVALIDPARAMETER_INVALIDCORECOUNT = "InvalidParameter.InvalidCoreCount" INVALIDPARAMETER_INVALIDCOREDISKTYPE = "InvalidParameter.InvalidCoreDiskType" INVALIDPARAMETER_INVALIDCOSBUCKET = "InvalidParameter.InvalidCosBucket" INVALIDPARAMETER_INVALIDDEPENDSERVICEANDENABLEKERBEROSCONFLICT = "InvalidParameter.InvalidDependServiceAndEnableKerberosConflict" INVALIDPARAMETER_INVALIDDISKNUM = "InvalidParameter.InvalidDiskNum" INVALIDPARAMETER_INVALIDINSTANCECHARGETYPE = "InvalidParameter.InvalidInstanceChargeType" INVALIDPARAMETER_INVALIDINSTANCETYPE = "InvalidParameter.InvalidInstanceType" INVALIDPARAMETER_INVALIDLOADBALANCER = "InvalidParameter.InvalidLoadBalancer" INVALIDPARAMETER_INVALIDMASTERDISKTYPE = "InvalidParameter.InvalidMasterDiskType" INVALIDPARAMETER_INVALIDMETATYPE = "InvalidParameter.InvalidMetaType" INVALIDPARAMETER_INVALIDPASSWORD = "InvalidParameter.InvalidPassword" INVALIDPARAMETER_INVALIDPRODUCTVERSION = "InvalidParameter.InvalidProductVersion" INVALIDPARAMETER_INVALIDRENEWFLAG = "InvalidParameter.InvalidRenewFlag" INVALIDPARAMETER_INVALIDRESOURCESPEC = "InvalidParameter.InvalidResourceSpec" INVALIDPARAMETER_INVALIDSCRIPTBOOTSTRAPACTIONCONFIG = "InvalidParameter.InvalidScriptBootstrapActionConfig" INVALIDPARAMETER_INVALIDSOFTINFO = "InvalidParameter.InvalidSoftInfo" INVALIDPARAMETER_INVALIDZONE = "InvalidParameter.InvalidZone" INVALIDPARAMETER_KERBEROSSUPPORT = "InvalidParameter.KerberosSupport" RESOURCEINSUFFICIENT_INSTANCEINSUFFICIENT = "ResourceInsufficient.InstanceInsufficient" RESOURCENOTFOUND_SUBNETNOTFOUND = "ResourceNotFound.SubnetNotFound" RESOURCESSOLDOUT_CVMSOLDOUT = "ResourcesSoldOut.CvmSoldOut"
func (*Client) CreateGroupsSTD ¶
func (c *Client) CreateGroupsSTD(request *CreateGroupsSTDRequest) (response *CreateGroupsSTDResponse, err error)
CreateGroupsSTD This API is used to create user groups in batches under User Management.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_GETCVMSERVERFAILED = "FailedOperation.GetCvmServerFailed" INTERNALERROR_CDBERROR = "InternalError.CdbError" INTERNALERROR_CVMERROR = "InternalError.CvmError" INTERNALERROR_TRADECGWERROR = "InternalError.TradeCgwError" INVALIDPARAMETER_HALESSMASTERCOUNT = "InvalidParameter.HALessMasterCount" INVALIDPARAMETER_INCORRECTMASTERCOUNT = "InvalidParameter.IncorrectMasterCount" INVALIDPARAMETER_INVALIDALLNODERESOURCESPEC = "InvalidParameter.InvalidAllNodeResourceSpec" INVALIDPARAMETER_INVALIDCOMPONENT = "InvalidParameter.InvalidComponent" INVALIDPARAMETER_INVALIDCORECOUNT = "InvalidParameter.InvalidCoreCount" INVALIDPARAMETER_INVALIDCOREDISKTYPE = "InvalidParameter.InvalidCoreDiskType" INVALIDPARAMETER_INVALIDCOSBUCKET = "InvalidParameter.InvalidCosBucket" INVALIDPARAMETER_INVALIDDEPENDSERVICEANDENABLEKERBEROSCONFLICT = "InvalidParameter.InvalidDependServiceAndEnableKerberosConflict" INVALIDPARAMETER_INVALIDDISKNUM = "InvalidParameter.InvalidDiskNum" INVALIDPARAMETER_INVALIDINSTANCECHARGETYPE = "InvalidParameter.InvalidInstanceChargeType" INVALIDPARAMETER_INVALIDINSTANCETYPE = "InvalidParameter.InvalidInstanceType" INVALIDPARAMETER_INVALIDLOADBALANCER = "InvalidParameter.InvalidLoadBalancer" INVALIDPARAMETER_INVALIDMASTERDISKTYPE = "InvalidParameter.InvalidMasterDiskType" INVALIDPARAMETER_INVALIDMETATYPE = "InvalidParameter.InvalidMetaType" INVALIDPARAMETER_INVALIDPASSWORD = "InvalidParameter.InvalidPassword" INVALIDPARAMETER_INVALIDPRODUCTVERSION = "InvalidParameter.InvalidProductVersion" INVALIDPARAMETER_INVALIDRENEWFLAG = "InvalidParameter.InvalidRenewFlag" INVALIDPARAMETER_INVALIDRESOURCESPEC = "InvalidParameter.InvalidResourceSpec" INVALIDPARAMETER_INVALIDSCRIPTBOOTSTRAPACTIONCONFIG = "InvalidParameter.InvalidScriptBootstrapActionConfig" INVALIDPARAMETER_INVALIDSOFTINFO = "InvalidParameter.InvalidSoftInfo" INVALIDPARAMETER_INVALIDZONE = "InvalidParameter.InvalidZone" INVALIDPARAMETER_KERBEROSSUPPORT = "InvalidParameter.KerberosSupport" RESOURCEINSUFFICIENT_INSTANCEINSUFFICIENT = "ResourceInsufficient.InstanceInsufficient" RESOURCENOTFOUND_SUBNETNOTFOUND = "ResourceNotFound.SubnetNotFound" RESOURCESSOLDOUT_CVMSOLDOUT = "ResourcesSoldOut.CvmSoldOut"
func (*Client) CreateGroupsSTDWithContext ¶
func (c *Client) CreateGroupsSTDWithContext(ctx context.Context, request *CreateGroupsSTDRequest) (response *CreateGroupsSTDResponse, err error)
CreateGroupsSTD This API is used to create user groups in batches under User Management.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_GETCVMSERVERFAILED = "FailedOperation.GetCvmServerFailed" INTERNALERROR_CDBERROR = "InternalError.CdbError" INTERNALERROR_CVMERROR = "InternalError.CvmError" INTERNALERROR_TRADECGWERROR = "InternalError.TradeCgwError" INVALIDPARAMETER_HALESSMASTERCOUNT = "InvalidParameter.HALessMasterCount" INVALIDPARAMETER_INCORRECTMASTERCOUNT = "InvalidParameter.IncorrectMasterCount" INVALIDPARAMETER_INVALIDALLNODERESOURCESPEC = "InvalidParameter.InvalidAllNodeResourceSpec" INVALIDPARAMETER_INVALIDCOMPONENT = "InvalidParameter.InvalidComponent" INVALIDPARAMETER_INVALIDCORECOUNT = "InvalidParameter.InvalidCoreCount" INVALIDPARAMETER_INVALIDCOREDISKTYPE = "InvalidParameter.InvalidCoreDiskType" INVALIDPARAMETER_INVALIDCOSBUCKET = "InvalidParameter.InvalidCosBucket" INVALIDPARAMETER_INVALIDDEPENDSERVICEANDENABLEKERBEROSCONFLICT = "InvalidParameter.InvalidDependServiceAndEnableKerberosConflict" INVALIDPARAMETER_INVALIDDISKNUM = "InvalidParameter.InvalidDiskNum" INVALIDPARAMETER_INVALIDINSTANCECHARGETYPE = "InvalidParameter.InvalidInstanceChargeType" INVALIDPARAMETER_INVALIDINSTANCETYPE = "InvalidParameter.InvalidInstanceType" INVALIDPARAMETER_INVALIDLOADBALANCER = "InvalidParameter.InvalidLoadBalancer" INVALIDPARAMETER_INVALIDMASTERDISKTYPE = "InvalidParameter.InvalidMasterDiskType" INVALIDPARAMETER_INVALIDMETATYPE = "InvalidParameter.InvalidMetaType" INVALIDPARAMETER_INVALIDPASSWORD = "InvalidParameter.InvalidPassword" INVALIDPARAMETER_INVALIDPRODUCTVERSION = "InvalidParameter.InvalidProductVersion" INVALIDPARAMETER_INVALIDRENEWFLAG = "InvalidParameter.InvalidRenewFlag" INVALIDPARAMETER_INVALIDRESOURCESPEC = "InvalidParameter.InvalidResourceSpec" INVALIDPARAMETER_INVALIDSCRIPTBOOTSTRAPACTIONCONFIG = "InvalidParameter.InvalidScriptBootstrapActionConfig" INVALIDPARAMETER_INVALIDSOFTINFO = "InvalidParameter.InvalidSoftInfo" INVALIDPARAMETER_INVALIDZONE = "InvalidParameter.InvalidZone" INVALIDPARAMETER_KERBEROSSUPPORT = "InvalidParameter.KerberosSupport" RESOURCEINSUFFICIENT_INSTANCEINSUFFICIENT = "ResourceInsufficient.InstanceInsufficient" RESOURCENOTFOUND_SUBNETNOTFOUND = "ResourceNotFound.SubnetNotFound" RESOURCESSOLDOUT_CVMSOLDOUT = "ResourcesSoldOut.CvmSoldOut"
func (*Client) CreateInstance ¶
func (c *Client) CreateInstance(request *CreateInstanceRequest) (response *CreateInstanceResponse, err error)
CreateInstance This API is used to create an EMR cluster instance.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DUPLICATEORDERNOTALLOWED = "FailedOperation.DuplicateOrderNotAllowed" FAILEDOPERATION_GETCVMSERVERFAILED = "FailedOperation.GetCvmServerFailed" INTERNALERROR = "InternalError" INTERNALERROR_ACCOUNTCGWERROR = "InternalError.AccountCgwError" INTERNALERROR_CAMCGWERROR = "InternalError.CamCgwError" INTERNALERROR_CAMERROR = "InternalError.CamError" INTERNALERROR_CBSCGWERROR = "InternalError.CbsCgwError" INTERNALERROR_CBSERROR = "InternalError.CbsError" INTERNALERROR_CDBCGWERROR = "InternalError.CdbCgwError" INTERNALERROR_CDBERROR = "InternalError.CdbError" INTERNALERROR_CHECKQUOTAERR = "InternalError.CheckQuotaErr" INTERNALERROR_CONFIGCGWERROR = "InternalError.ConfigCgwError" INTERNALERROR_CVMERROR = "InternalError.CvmError" INTERNALERROR_KMSERROR = "InternalError.KmsError" INTERNALERROR_PROJECTCGWERROR = "InternalError.ProjectCgwError" INTERNALERROR_SGERROR = "InternalError.SgError" INTERNALERROR_TAGERROR = "InternalError.TagError" INTERNALERROR_TRADECGWERROR = "InternalError.TradeCgwError" INTERNALERROR_VPCCGWERROR = "InternalError.VpcCgwError" INTERNALERROR_VPCERROR = "InternalError.VpcError" INTERNALERROR_WOODSERVERERROR = "InternalError.WoodServerError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_HALESSMASTERCOUNT = "InvalidParameter.HALessMasterCount" INVALIDPARAMETER_INCORRECTCOMMONCOUNT = "InvalidParameter.IncorrectCommonCount" INVALIDPARAMETER_INCORRECTMASTERCOUNT = "InvalidParameter.IncorrectMasterCount" INVALIDPARAMETER_INVALIDAUTORENEW = "InvalidParameter.InvalidAutoRenew" INVALIDPARAMETER_INVALIDCLIENTTOKEN = "InvalidParameter.InvalidClientToken" INVALIDPARAMETER_INVALIDCOMPONENT = "InvalidParameter.InvalidComponent" INVALIDPARAMETER_INVALIDCORECOUNT = "InvalidParameter.InvalidCoreCount" INVALIDPARAMETER_INVALIDCOSBUCKET = "InvalidParameter.InvalidCosBucket" INVALIDPARAMETER_INVALIDCOSFILEURI = "InvalidParameter.InvalidCosFileURI" INVALIDPARAMETER_INVALIDDISKSIZE = "InvalidParameter.InvalidDiskSize" INVALIDPARAMETER_INVALIDEXTENDFIELD = "InvalidParameter.InvalidExtendField" INVALIDPARAMETER_INVALIDINSTANCENAME = "InvalidParameter.InvalidInstanceName" INVALIDPARAMETER_INVALIDINSTANCETYPE = "InvalidParameter.InvalidInstanceType" INVALIDPARAMETER_INVALIDLOADBALANCER = "InvalidParameter.InvalidLoadBalancer" INVALIDPARAMETER_INVALIDLOGINSETTING = "InvalidParameter.InvalidLoginSetting" INVALIDPARAMETER_INVALIDMETADATAJDBCURL = "InvalidParameter.InvalidMetaDataJdbcUrl" INVALIDPARAMETER_INVALIDMETATYPE = "InvalidParameter.InvalidMetaType" INVALIDPARAMETER_INVALIDPASSWORD = "InvalidParameter.InvalidPassword" INVALIDPARAMETER_INVALIDPAYMODE = "InvalidParameter.InvalidPaymode" INVALIDPARAMETER_INVALIDPREEXECUTEDFILE = "InvalidParameter.InvalidPreExecutedFile" INVALIDPARAMETER_INVALIDPRODUCTID = "InvalidParameter.InvalidProductId" INVALIDPARAMETER_INVALIDPROJECTID = "InvalidParameter.InvalidProjectId" INVALIDPARAMETER_INVALIDRESOURCESPEC = "InvalidParameter.InvalidResourceSpec" INVALIDPARAMETER_INVALIDSECURITYSUPPORT = "InvalidParameter.InvalidSecuritySupport" INVALIDPARAMETER_INVALIDSERCURITYGRPUPID = "InvalidParameter.InvalidSercurityGrpupId" INVALIDPARAMETER_INVALIDSERVICENAME = "InvalidParameter.InvalidServiceName" INVALIDPARAMETER_INVALIDSOFTDEPLOYINFO = "InvalidParameter.InvalidSoftDeployInfo" INVALIDPARAMETER_INVALIDSOFTINFO = "InvalidParameter.InvalidSoftInfo" INVALIDPARAMETER_INVALIDSOFTWARE = "InvalidParameter.InvalidSoftWare" INVALIDPARAMETER_INVALIDSOFTWARENAME = "InvalidParameter.InvalidSoftWareName" INVALIDPARAMETER_INVALIDSOFTWAREVERSION = "InvalidParameter.InvalidSoftWareVersion" INVALIDPARAMETER_INVALIDSUBNETID = "InvalidParameter.InvalidSubnetId" INVALIDPARAMETER_INVALIDSUPPORTHA = "InvalidParameter.InvalidSupportHA" INVALIDPARAMETER_INVALIDTIMESPAN = "InvalidParameter.InvalidTimeSpan" INVALIDPARAMETER_INVALIDTIMEUNIT = "InvalidParameter.InvalidTimeUnit" INVALIDPARAMETER_INVALIDUNIFYMETA = "InvalidParameter.InvalidUnifyMeta" INVALIDPARAMETER_INVALIDVPCID = "InvalidParameter.InvalidVpcId" INVALIDPARAMETER_INVALIDZONE = "InvalidParameter.InvalidZone" INVALIDPARAMETER_NOTCONTAINMUSTSELECTSOFTWARE = "InvalidParameter.NotContainMustSelectSoftware" INVALIDPARAMETER_PAYMODERESOURCENOTMATCH = "InvalidParameter.PayModeResourceNotMatch" INVALIDPARAMETER_SOFTWARENOTINPRODUCT = "InvalidParameter.SoftwareNotInProduct" INVALIDPARAMETER_UNGRANTEDPOLICY = "InvalidParameter.UngrantedPolicy" INVALIDPARAMETER_UNGRANTEDROLE = "InvalidParameter.UngrantedRole" INVALIDPARAMETER_ZONERESOURCENOTMATCH = "InvalidParameter.ZoneResourceNotMatch" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED_SECURITYGROUPNUMLIMITEXCEEDED = "LimitExceeded.SecurityGroupNumLimitExceeded" MISSINGPARAMETER = "MissingParameter" RESOURCEINSUFFICIENT_DISKINSUFFICIENT = "ResourceInsufficient.DiskInsufficient" RESOURCEINSUFFICIENT_INSTANCEINSUFFICIENT = "ResourceInsufficient.InstanceInsufficient" RESOURCENOTFOUND_SUBNETNOTFOUND = "ResourceNotFound.SubnetNotFound" RESOURCENOTFOUND_TAGSNOTFOUND = "ResourceNotFound.TagsNotFound" RESOURCESSOLDOUT = "ResourcesSoldOut" RESOURCESSOLDOUT_CBSSOLDOUT = "ResourcesSoldOut.CbsSoldOut" RESOURCESSOLDOUT_CVMSOLDOUT = "ResourcesSoldOut.CvmSoldOut" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) CreateInstanceWithContext ¶
func (c *Client) CreateInstanceWithContext(ctx context.Context, request *CreateInstanceRequest) (response *CreateInstanceResponse, err error)
CreateInstance This API is used to create an EMR cluster instance.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DUPLICATEORDERNOTALLOWED = "FailedOperation.DuplicateOrderNotAllowed" FAILEDOPERATION_GETCVMSERVERFAILED = "FailedOperation.GetCvmServerFailed" INTERNALERROR = "InternalError" INTERNALERROR_ACCOUNTCGWERROR = "InternalError.AccountCgwError" INTERNALERROR_CAMCGWERROR = "InternalError.CamCgwError" INTERNALERROR_CAMERROR = "InternalError.CamError" INTERNALERROR_CBSCGWERROR = "InternalError.CbsCgwError" INTERNALERROR_CBSERROR = "InternalError.CbsError" INTERNALERROR_CDBCGWERROR = "InternalError.CdbCgwError" INTERNALERROR_CDBERROR = "InternalError.CdbError" INTERNALERROR_CHECKQUOTAERR = "InternalError.CheckQuotaErr" INTERNALERROR_CONFIGCGWERROR = "InternalError.ConfigCgwError" INTERNALERROR_CVMERROR = "InternalError.CvmError" INTERNALERROR_KMSERROR = "InternalError.KmsError" INTERNALERROR_PROJECTCGWERROR = "InternalError.ProjectCgwError" INTERNALERROR_SGERROR = "InternalError.SgError" INTERNALERROR_TAGERROR = "InternalError.TagError" INTERNALERROR_TRADECGWERROR = "InternalError.TradeCgwError" INTERNALERROR_VPCCGWERROR = "InternalError.VpcCgwError" INTERNALERROR_VPCERROR = "InternalError.VpcError" INTERNALERROR_WOODSERVERERROR = "InternalError.WoodServerError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_HALESSMASTERCOUNT = "InvalidParameter.HALessMasterCount" INVALIDPARAMETER_INCORRECTCOMMONCOUNT = "InvalidParameter.IncorrectCommonCount" INVALIDPARAMETER_INCORRECTMASTERCOUNT = "InvalidParameter.IncorrectMasterCount" INVALIDPARAMETER_INVALIDAUTORENEW = "InvalidParameter.InvalidAutoRenew" INVALIDPARAMETER_INVALIDCLIENTTOKEN = "InvalidParameter.InvalidClientToken" INVALIDPARAMETER_INVALIDCOMPONENT = "InvalidParameter.InvalidComponent" INVALIDPARAMETER_INVALIDCORECOUNT = "InvalidParameter.InvalidCoreCount" INVALIDPARAMETER_INVALIDCOSBUCKET = "InvalidParameter.InvalidCosBucket" INVALIDPARAMETER_INVALIDCOSFILEURI = "InvalidParameter.InvalidCosFileURI" INVALIDPARAMETER_INVALIDDISKSIZE = "InvalidParameter.InvalidDiskSize" INVALIDPARAMETER_INVALIDEXTENDFIELD = "InvalidParameter.InvalidExtendField" INVALIDPARAMETER_INVALIDINSTANCENAME = "InvalidParameter.InvalidInstanceName" INVALIDPARAMETER_INVALIDINSTANCETYPE = "InvalidParameter.InvalidInstanceType" INVALIDPARAMETER_INVALIDLOADBALANCER = "InvalidParameter.InvalidLoadBalancer" INVALIDPARAMETER_INVALIDLOGINSETTING = "InvalidParameter.InvalidLoginSetting" INVALIDPARAMETER_INVALIDMETADATAJDBCURL = "InvalidParameter.InvalidMetaDataJdbcUrl" INVALIDPARAMETER_INVALIDMETATYPE = "InvalidParameter.InvalidMetaType" INVALIDPARAMETER_INVALIDPASSWORD = "InvalidParameter.InvalidPassword" INVALIDPARAMETER_INVALIDPAYMODE = "InvalidParameter.InvalidPaymode" INVALIDPARAMETER_INVALIDPREEXECUTEDFILE = "InvalidParameter.InvalidPreExecutedFile" INVALIDPARAMETER_INVALIDPRODUCTID = "InvalidParameter.InvalidProductId" INVALIDPARAMETER_INVALIDPROJECTID = "InvalidParameter.InvalidProjectId" INVALIDPARAMETER_INVALIDRESOURCESPEC = "InvalidParameter.InvalidResourceSpec" INVALIDPARAMETER_INVALIDSECURITYSUPPORT = "InvalidParameter.InvalidSecuritySupport" INVALIDPARAMETER_INVALIDSERCURITYGRPUPID = "InvalidParameter.InvalidSercurityGrpupId" INVALIDPARAMETER_INVALIDSERVICENAME = "InvalidParameter.InvalidServiceName" INVALIDPARAMETER_INVALIDSOFTDEPLOYINFO = "InvalidParameter.InvalidSoftDeployInfo" INVALIDPARAMETER_INVALIDSOFTINFO = "InvalidParameter.InvalidSoftInfo" INVALIDPARAMETER_INVALIDSOFTWARE = "InvalidParameter.InvalidSoftWare" INVALIDPARAMETER_INVALIDSOFTWARENAME = "InvalidParameter.InvalidSoftWareName" INVALIDPARAMETER_INVALIDSOFTWAREVERSION = "InvalidParameter.InvalidSoftWareVersion" INVALIDPARAMETER_INVALIDSUBNETID = "InvalidParameter.InvalidSubnetId" INVALIDPARAMETER_INVALIDSUPPORTHA = "InvalidParameter.InvalidSupportHA" INVALIDPARAMETER_INVALIDTIMESPAN = "InvalidParameter.InvalidTimeSpan" INVALIDPARAMETER_INVALIDTIMEUNIT = "InvalidParameter.InvalidTimeUnit" INVALIDPARAMETER_INVALIDUNIFYMETA = "InvalidParameter.InvalidUnifyMeta" INVALIDPARAMETER_INVALIDVPCID = "InvalidParameter.InvalidVpcId" INVALIDPARAMETER_INVALIDZONE = "InvalidParameter.InvalidZone" INVALIDPARAMETER_NOTCONTAINMUSTSELECTSOFTWARE = "InvalidParameter.NotContainMustSelectSoftware" INVALIDPARAMETER_PAYMODERESOURCENOTMATCH = "InvalidParameter.PayModeResourceNotMatch" INVALIDPARAMETER_SOFTWARENOTINPRODUCT = "InvalidParameter.SoftwareNotInProduct" INVALIDPARAMETER_UNGRANTEDPOLICY = "InvalidParameter.UngrantedPolicy" INVALIDPARAMETER_UNGRANTEDROLE = "InvalidParameter.UngrantedRole" INVALIDPARAMETER_ZONERESOURCENOTMATCH = "InvalidParameter.ZoneResourceNotMatch" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED_SECURITYGROUPNUMLIMITEXCEEDED = "LimitExceeded.SecurityGroupNumLimitExceeded" MISSINGPARAMETER = "MissingParameter" RESOURCEINSUFFICIENT_DISKINSUFFICIENT = "ResourceInsufficient.DiskInsufficient" RESOURCEINSUFFICIENT_INSTANCEINSUFFICIENT = "ResourceInsufficient.InstanceInsufficient" RESOURCENOTFOUND_SUBNETNOTFOUND = "ResourceNotFound.SubnetNotFound" RESOURCENOTFOUND_TAGSNOTFOUND = "ResourceNotFound.TagsNotFound" RESOURCESSOLDOUT = "ResourcesSoldOut" RESOURCESSOLDOUT_CBSSOLDOUT = "ResourcesSoldOut.CbsSoldOut" RESOURCESSOLDOUT_CVMSOLDOUT = "ResourcesSoldOut.CvmSoldOut" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) CreateSLInstance ¶
func (c *Client) CreateSLInstance(request *CreateSLInstanceRequest) (response *CreateSLInstanceResponse, err error)
CreateSLInstance This API is used to create a Serverless HBase instance.- If the API call is successful, a Serverless HBase instance will be created. If the instance creation request is successful, the InstanceId of the created instance and the RequestID of the request will be returned.- This is an asynchronous API. The operation is not completed immediately when the API call returns. The instance operation result can be viewed by calling DescribeInstancesList to view the StatusDesc status of the current instance.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_REFUNDCVMFAILED = "FailedOperation.RefundCvmFailed" INTERNALERROR = "InternalError" INTERNALERROR_CAMCGWERROR = "InternalError.CamCgwError" INTERNALERROR_CVMERROR = "InternalError.CvmError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDAPPID = "InvalidParameter.InvalidAppId" INVALIDPARAMETER_INVALIDCLUSTERID = "InvalidParameter.InvalidClusterId" INVALIDPARAMETER_INVALIDDISKSIZE = "InvalidParameter.InvalidDiskSize" INVALIDPARAMETER_INVALIDINSTANCENAME = "InvalidParameter.InvalidInstanceName" INVALIDPARAMETER_INVALIDNODECOUNT = "InvalidParameter.InvalidNodeCount" INVALIDPARAMETER_INVALIDNODETYPE = "InvalidParameter.InvalidNodeType" INVALIDPARAMETER_INVALIDPASSWORD = "InvalidParameter.InvalidPassword" INVALIDPARAMETER_INVALIDPAYMODE = "InvalidParameter.InvalidPaymode" INVALIDPARAMETER_INVALIDRESOURCESPEC = "InvalidParameter.InvalidResourceSpec" INVALIDPARAMETER_INVALIDUINNUM = "InvalidParameter.InvalidUinNum" RESOURCEUNAVAILABLE_RESOURCESPECNOTEXIST = "ResourceUnavailable.ResourceSpecNotExist" UNAUTHORIZEDOPERATION_CHECKCAMAUTH = "UnauthorizedOperation.CheckCamAuth" UNSUPPORTEDOPERATION_SERVICENOTSUPPORT = "UnsupportedOperation.ServiceNotSupport"
func (*Client) CreateSLInstanceWithContext ¶
func (c *Client) CreateSLInstanceWithContext(ctx context.Context, request *CreateSLInstanceRequest) (response *CreateSLInstanceResponse, err error)
CreateSLInstance This API is used to create a Serverless HBase instance.- If the API call is successful, a Serverless HBase instance will be created. If the instance creation request is successful, the InstanceId of the created instance and the RequestID of the request will be returned.- This is an asynchronous API. The operation is not completed immediately when the API call returns. The instance operation result can be viewed by calling DescribeInstancesList to view the StatusDesc status of the current instance.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_REFUNDCVMFAILED = "FailedOperation.RefundCvmFailed" INTERNALERROR = "InternalError" INTERNALERROR_CAMCGWERROR = "InternalError.CamCgwError" INTERNALERROR_CVMERROR = "InternalError.CvmError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDAPPID = "InvalidParameter.InvalidAppId" INVALIDPARAMETER_INVALIDCLUSTERID = "InvalidParameter.InvalidClusterId" INVALIDPARAMETER_INVALIDDISKSIZE = "InvalidParameter.InvalidDiskSize" INVALIDPARAMETER_INVALIDINSTANCENAME = "InvalidParameter.InvalidInstanceName" INVALIDPARAMETER_INVALIDNODECOUNT = "InvalidParameter.InvalidNodeCount" INVALIDPARAMETER_INVALIDNODETYPE = "InvalidParameter.InvalidNodeType" INVALIDPARAMETER_INVALIDPASSWORD = "InvalidParameter.InvalidPassword" INVALIDPARAMETER_INVALIDPAYMODE = "InvalidParameter.InvalidPaymode" INVALIDPARAMETER_INVALIDRESOURCESPEC = "InvalidParameter.InvalidResourceSpec" INVALIDPARAMETER_INVALIDUINNUM = "InvalidParameter.InvalidUinNum" RESOURCEUNAVAILABLE_RESOURCESPECNOTEXIST = "ResourceUnavailable.ResourceSpecNotExist" UNAUTHORIZEDOPERATION_CHECKCAMAUTH = "UnauthorizedOperation.CheckCamAuth" UNSUPPORTEDOPERATION_SERVICENOTSUPPORT = "UnsupportedOperation.ServiceNotSupport"
func (*Client) DeleteAutoScaleStrategy ¶
func (c *Client) DeleteAutoScaleStrategy(request *DeleteAutoScaleStrategyRequest) (response *DeleteAutoScaleStrategyResponse, err error)
DeleteAutoScaleStrategy This API is used to delete automatic scaling rules. Nodes scaled based on these rules are destroyed in the background.
error code that may be returned:
INTERNALERROR_CAMCGWERROR = "InternalError.CamCgwError" INVALIDPARAMETER_INVALIDSTRATEGYTYPE = "InvalidParameter.InvalidStrategyType" RESOURCENOTFOUND_STRATEGYNOTFOUND = "ResourceNotFound.StrategyNotFound" UNAUTHORIZEDOPERATION_CHECKCAMAUTH = "UnauthorizedOperation.CheckCamAuth"
func (*Client) DeleteAutoScaleStrategyWithContext ¶
func (c *Client) DeleteAutoScaleStrategyWithContext(ctx context.Context, request *DeleteAutoScaleStrategyRequest) (response *DeleteAutoScaleStrategyResponse, err error)
DeleteAutoScaleStrategy This API is used to delete automatic scaling rules. Nodes scaled based on these rules are destroyed in the background.
error code that may be returned:
INTERNALERROR_CAMCGWERROR = "InternalError.CamCgwError" INVALIDPARAMETER_INVALIDSTRATEGYTYPE = "InvalidParameter.InvalidStrategyType" RESOURCENOTFOUND_STRATEGYNOTFOUND = "ResourceNotFound.StrategyNotFound" UNAUTHORIZEDOPERATION_CHECKCAMAUTH = "UnauthorizedOperation.CheckCamAuth"
func (*Client) DeleteGroupsSTD ¶
func (c *Client) DeleteGroupsSTD(request *DeleteGroupsSTDRequest) (response *DeleteGroupsSTDResponse, err error)
DeleteGroupsSTD This API is used to delete user groups in batches.
error code that may be returned:
INTERNALERROR_CAMCGWERROR = "InternalError.CamCgwError" INVALIDPARAMETER_INVALIDSTRATEGYTYPE = "InvalidParameter.InvalidStrategyType" RESOURCENOTFOUND_STRATEGYNOTFOUND = "ResourceNotFound.StrategyNotFound" UNAUTHORIZEDOPERATION_CHECKCAMAUTH = "UnauthorizedOperation.CheckCamAuth"
func (*Client) DeleteGroupsSTDWithContext ¶
func (c *Client) DeleteGroupsSTDWithContext(ctx context.Context, request *DeleteGroupsSTDRequest) (response *DeleteGroupsSTDResponse, err error)
DeleteGroupsSTD This API is used to delete user groups in batches.
error code that may be returned:
INTERNALERROR_CAMCGWERROR = "InternalError.CamCgwError" INVALIDPARAMETER_INVALIDSTRATEGYTYPE = "InvalidParameter.InvalidStrategyType" RESOURCENOTFOUND_STRATEGYNOTFOUND = "ResourceNotFound.StrategyNotFound" UNAUTHORIZEDOPERATION_CHECKCAMAUTH = "UnauthorizedOperation.CheckCamAuth"
func (*Client) DeleteNodeResourceConfig ¶
func (c *Client) DeleteNodeResourceConfig(request *DeleteNodeResourceConfigRequest) (response *DeleteNodeResourceConfigResponse, err error)
DeleteNodeResourceConfig This API is used to delete the node specifications of the current cluster.
error code that may be returned:
INTERNALERROR_CAMCGWERROR = "InternalError.CamCgwError" RESOURCEUNAVAILABLE_RESOURCESPECNOTEXIST = "ResourceUnavailable.ResourceSpecNotExist" UNAUTHORIZEDOPERATION_CHECKCAMAUTH = "UnauthorizedOperation.CheckCamAuth"
func (*Client) DeleteNodeResourceConfigWithContext ¶
func (c *Client) DeleteNodeResourceConfigWithContext(ctx context.Context, request *DeleteNodeResourceConfigRequest) (response *DeleteNodeResourceConfigResponse, err error)
DeleteNodeResourceConfig This API is used to delete the node specifications of the current cluster.
error code that may be returned:
INTERNALERROR_CAMCGWERROR = "InternalError.CamCgwError" RESOURCEUNAVAILABLE_RESOURCESPECNOTEXIST = "ResourceUnavailable.ResourceSpecNotExist" UNAUTHORIZEDOPERATION_CHECKCAMAUTH = "UnauthorizedOperation.CheckCamAuth"
func (*Client) DeployYarnConf ¶
func (c *Client) DeployYarnConf(request *DeployYarnConfRequest) (response *DeployYarnConfResponse, err error)
DeployYarnConf This API is used to bring the configuration into effect in YARN resource scheduling after deployment.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INTERNALERROR_CAMCGWERROR = "InternalError.CamCgwError" INTERNALERROR_WOODSERVERERROR = "InternalError.WoodServerError" INVALIDPARAMETER = "InvalidParameter" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" UNAUTHORIZEDOPERATION_CHECKCAMAUTH = "UnauthorizedOperation.CheckCamAuth"
func (*Client) DeployYarnConfWithContext ¶
func (c *Client) DeployYarnConfWithContext(ctx context.Context, request *DeployYarnConfRequest) (response *DeployYarnConfResponse, err error)
DeployYarnConf This API is used to bring the configuration into effect in YARN resource scheduling after deployment.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INTERNALERROR_CAMCGWERROR = "InternalError.CamCgwError" INTERNALERROR_WOODSERVERERROR = "InternalError.WoodServerError" INVALIDPARAMETER = "InvalidParameter" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" UNAUTHORIZEDOPERATION_CHECKCAMAUTH = "UnauthorizedOperation.CheckCamAuth"
func (*Client) DescribeAutoScaleGroupGlobalConf ¶
func (c *Client) DescribeAutoScaleGroupGlobalConf(request *DescribeAutoScaleGroupGlobalConfRequest) (response *DescribeAutoScaleGroupGlobalConfResponse, err error)
DescribeAutoScaleGroupGlobalConf This API is used to access the global configuration of automatic scaling.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR_CAMCGWERROR = "InternalError.CamCgwError" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" UNAUTHORIZEDOPERATION_CHECKCAMAUTH = "UnauthorizedOperation.CheckCamAuth"
func (*Client) DescribeAutoScaleGroupGlobalConfWithContext ¶
func (c *Client) DescribeAutoScaleGroupGlobalConfWithContext(ctx context.Context, request *DescribeAutoScaleGroupGlobalConfRequest) (response *DescribeAutoScaleGroupGlobalConfResponse, err error)
DescribeAutoScaleGroupGlobalConf This API is used to access the global configuration of automatic scaling.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR_CAMCGWERROR = "InternalError.CamCgwError" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" UNAUTHORIZEDOPERATION_CHECKCAMAUTH = "UnauthorizedOperation.CheckCamAuth"
func (*Client) DescribeAutoScaleRecords ¶
func (c *Client) DescribeAutoScaleRecords(request *DescribeAutoScaleRecordsRequest) (response *DescribeAutoScaleRecordsResponse, err error)
DescribeAutoScaleRecords This API is used to inquiry detailed records of cluster autoscaling.
error code that may be returned:
INVALIDPARAMETER_INVALIDFILTERKEY = "InvalidParameter.InvalidFilterKey" INVALIDPARAMETER_INVALIDSTARTTIMEORENDTIME = "InvalidParameter.InvalidStartTimeOrEndTime" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
func (*Client) DescribeAutoScaleRecordsWithContext ¶
func (c *Client) DescribeAutoScaleRecordsWithContext(ctx context.Context, request *DescribeAutoScaleRecordsRequest) (response *DescribeAutoScaleRecordsResponse, err error)
DescribeAutoScaleRecords This API is used to inquiry detailed records of cluster autoscaling.
error code that may be returned:
INVALIDPARAMETER_INVALIDFILTERKEY = "InvalidParameter.InvalidFilterKey" INVALIDPARAMETER_INVALIDSTARTTIMEORENDTIME = "InvalidParameter.InvalidStartTimeOrEndTime" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
func (*Client) DescribeAutoScaleStrategies ¶
func (c *Client) DescribeAutoScaleStrategies(request *DescribeAutoScaleStrategiesRequest) (response *DescribeAutoScaleStrategiesResponse, err error)
DescribeAutoScaleStrategies This API is used to access automatic scaling rules.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR_CAMCGWERROR = "InternalError.CamCgwError" INTERNALERROR_WOODSERVERERROR = "InternalError.WoodServerError" INVALIDPARAMETER_INVALIDSTRATEGYTYPE = "InvalidParameter.InvalidStrategyType" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
func (*Client) DescribeAutoScaleStrategiesWithContext ¶
func (c *Client) DescribeAutoScaleStrategiesWithContext(ctx context.Context, request *DescribeAutoScaleStrategiesRequest) (response *DescribeAutoScaleStrategiesResponse, err error)
DescribeAutoScaleStrategies This API is used to access automatic scaling rules.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR_CAMCGWERROR = "InternalError.CamCgwError" INTERNALERROR_WOODSERVERERROR = "InternalError.WoodServerError" INVALIDPARAMETER_INVALIDSTRATEGYTYPE = "InvalidParameter.InvalidStrategyType" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
func (*Client) DescribeClusterFlowStatusDetail ¶
func (c *Client) DescribeClusterFlowStatusDetail(request *DescribeClusterFlowStatusDetailRequest) (response *DescribeClusterFlowStatusDetailResponse, err error)
DescribeClusterFlowStatusDetail This API is used to query the EMR task running details status.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR_CAMCGWERROR = "InternalError.CamCgwError" INTERNALERROR_WOODSERVERERROR = "InternalError.WoodServerError" INVALIDPARAMETER_INVALIDAPPID = "InvalidParameter.InvalidAppId" INVALIDPARAMETER_INVALIDINSTANCENAME = "InvalidParameter.InvalidInstanceName" RESOURCENOTFOUND_CLUSTERNOTFOUND = "ResourceNotFound.ClusterNotFound" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" UNAUTHORIZEDOPERATION_CHECKCAMAUTH = "UnauthorizedOperation.CheckCamAuth"
func (*Client) DescribeClusterFlowStatusDetailWithContext ¶
func (c *Client) DescribeClusterFlowStatusDetailWithContext(ctx context.Context, request *DescribeClusterFlowStatusDetailRequest) (response *DescribeClusterFlowStatusDetailResponse, err error)
DescribeClusterFlowStatusDetail This API is used to query the EMR task running details status.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR_CAMCGWERROR = "InternalError.CamCgwError" INTERNALERROR_WOODSERVERERROR = "InternalError.WoodServerError" INVALIDPARAMETER_INVALIDAPPID = "InvalidParameter.InvalidAppId" INVALIDPARAMETER_INVALIDINSTANCENAME = "InvalidParameter.InvalidInstanceName" RESOURCENOTFOUND_CLUSTERNOTFOUND = "ResourceNotFound.ClusterNotFound" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" UNAUTHORIZEDOPERATION_CHECKCAMAUTH = "UnauthorizedOperation.CheckCamAuth"
func (*Client) DescribeClusterNodes ¶
func (c *Client) DescribeClusterNodes(request *DescribeClusterNodesRequest) (response *DescribeClusterNodesResponse, err error)
DescribeClusterNodes This API is used to query the information of nodes in a cluster.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_GETCAMROLEFAILED = "FailedOperation.GetCamRoleFailed" FAILEDOPERATION_GETCAMSERVERFAILED = "FailedOperation.GetCamServerFailed" INTERNALERROR = "InternalError" INTERNALERROR_ACCOUNTCGWERROR = "InternalError.AccountCgwError" INTERNALERROR_CAMCGWERROR = "InternalError.CamCgwError" INTERNALERROR_CAMERROR = "InternalError.CamError" INTERNALERROR_CBSCGWERROR = "InternalError.CbsCgwError" INTERNALERROR_CBSERROR = "InternalError.CbsError" INTERNALERROR_CDBCGWERROR = "InternalError.CdbCgwError" INTERNALERROR_CDBERROR = "InternalError.CdbError" INTERNALERROR_CONFIGCGWERROR = "InternalError.ConfigCgwError" INTERNALERROR_CVMERROR = "InternalError.CvmError" INTERNALERROR_KMSERROR = "InternalError.KmsError" INTERNALERROR_PROJECTCGWERROR = "InternalError.ProjectCgwError" INTERNALERROR_SGERROR = "InternalError.SgError" INTERNALERROR_TAGERROR = "InternalError.TagError" INTERNALERROR_TRADECGWERROR = "InternalError.TradeCgwError" INTERNALERROR_VPCCGWERROR = "InternalError.VpcCgwError" INTERNALERROR_VPCERROR = "InternalError.VpcError" INTERNALERROR_WOODSERVERERROR = "InternalError.WoodServerError" INVALIDPARAMETER_INVALIDAPPID = "InvalidParameter.InvalidAppId" INVALIDPARAMETER_INVALIDINSTANCENAME = "InvalidParameter.InvalidInstanceName" INVALIDPARAMETER_INVALIDNODETYPE = "InvalidParameter.InvalidNodeType" RESOURCENOTFOUND_CLUSTERNOTFOUND = "ResourceNotFound.ClusterNotFound" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" UNAUTHORIZEDOPERATION_CHECKCAMAUTH = "UnauthorizedOperation.CheckCamAuth" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeClusterNodesWithContext ¶
func (c *Client) DescribeClusterNodesWithContext(ctx context.Context, request *DescribeClusterNodesRequest) (response *DescribeClusterNodesResponse, err error)
DescribeClusterNodes This API is used to query the information of nodes in a cluster.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_GETCAMROLEFAILED = "FailedOperation.GetCamRoleFailed" FAILEDOPERATION_GETCAMSERVERFAILED = "FailedOperation.GetCamServerFailed" INTERNALERROR = "InternalError" INTERNALERROR_ACCOUNTCGWERROR = "InternalError.AccountCgwError" INTERNALERROR_CAMCGWERROR = "InternalError.CamCgwError" INTERNALERROR_CAMERROR = "InternalError.CamError" INTERNALERROR_CBSCGWERROR = "InternalError.CbsCgwError" INTERNALERROR_CBSERROR = "InternalError.CbsError" INTERNALERROR_CDBCGWERROR = "InternalError.CdbCgwError" INTERNALERROR_CDBERROR = "InternalError.CdbError" INTERNALERROR_CONFIGCGWERROR = "InternalError.ConfigCgwError" INTERNALERROR_CVMERROR = "InternalError.CvmError" INTERNALERROR_KMSERROR = "InternalError.KmsError" INTERNALERROR_PROJECTCGWERROR = "InternalError.ProjectCgwError" INTERNALERROR_SGERROR = "InternalError.SgError" INTERNALERROR_TAGERROR = "InternalError.TagError" INTERNALERROR_TRADECGWERROR = "InternalError.TradeCgwError" INTERNALERROR_VPCCGWERROR = "InternalError.VpcCgwError" INTERNALERROR_VPCERROR = "InternalError.VpcError" INTERNALERROR_WOODSERVERERROR = "InternalError.WoodServerError" INVALIDPARAMETER_INVALIDAPPID = "InvalidParameter.InvalidAppId" INVALIDPARAMETER_INVALIDINSTANCENAME = "InvalidParameter.InvalidInstanceName" INVALIDPARAMETER_INVALIDNODETYPE = "InvalidParameter.InvalidNodeType" RESOURCENOTFOUND_CLUSTERNOTFOUND = "ResourceNotFound.ClusterNotFound" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" UNAUTHORIZEDOPERATION_CHECKCAMAUTH = "UnauthorizedOperation.CheckCamAuth" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeDAGInfo ¶
func (c *Client) DescribeDAGInfo(request *DescribeDAGInfoRequest) (response *DescribeDAGInfoResponse, err error)
DescribeDAGInfo This API is used to query DAG information.
error code that may be returned:
INVALIDPARAMETER_INVALIDCLUSTERID = "InvalidParameter.InvalidClusterId" UNAUTHORIZEDOPERATION_APPIDMISMATCHED = "UnauthorizedOperation.AppIdMismatched"
func (*Client) DescribeDAGInfoWithContext ¶
func (c *Client) DescribeDAGInfoWithContext(ctx context.Context, request *DescribeDAGInfoRequest) (response *DescribeDAGInfoResponse, err error)
DescribeDAGInfo This API is used to query DAG information.
error code that may be returned:
INVALIDPARAMETER_INVALIDCLUSTERID = "InvalidParameter.InvalidClusterId" UNAUTHORIZEDOPERATION_APPIDMISMATCHED = "UnauthorizedOperation.AppIdMismatched"
func (*Client) DescribeEmrApplicationStatics ¶
func (c *Client) DescribeEmrApplicationStatics(request *DescribeEmrApplicationStaticsRequest) (response *DescribeEmrApplicationStaticsResponse, err error)
DescribeEmrApplicationStatics This API is used to query the YARN application statistics API.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR_CAMCGWERROR = "InternalError.CamCgwError" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
func (*Client) DescribeEmrApplicationStaticsWithContext ¶
func (c *Client) DescribeEmrApplicationStaticsWithContext(ctx context.Context, request *DescribeEmrApplicationStaticsRequest) (response *DescribeEmrApplicationStaticsResponse, err error)
DescribeEmrApplicationStatics This API is used to query the YARN application statistics API.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR_CAMCGWERROR = "InternalError.CamCgwError" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
func (*Client) DescribeEmrOverviewMetrics ¶
func (c *Client) DescribeEmrOverviewMetrics(request *DescribeEmrOverviewMetricsRequest) (response *DescribeEmrOverviewMetricsResponse, err error)
DescribeEmrOverviewMetrics This API is used to query the metric data on the monitoring overview page.
error code that may be returned:
RESOURCENOTFOUND_CLUSTERNOTFOUND = "ResourceNotFound.ClusterNotFound" RESOURCENOTFOUND_RESOURCENOTFOUND = "ResourceNotFound.ResourceNotFound" UNAUTHORIZEDOPERATION_APPIDMISMATCHED = "UnauthorizedOperation.AppIdMismatched"
func (*Client) DescribeEmrOverviewMetricsWithContext ¶
func (c *Client) DescribeEmrOverviewMetricsWithContext(ctx context.Context, request *DescribeEmrOverviewMetricsRequest) (response *DescribeEmrOverviewMetricsResponse, err error)
DescribeEmrOverviewMetrics This API is used to query the metric data on the monitoring overview page.
error code that may be returned:
RESOURCENOTFOUND_CLUSTERNOTFOUND = "ResourceNotFound.ClusterNotFound" RESOURCENOTFOUND_RESOURCENOTFOUND = "ResourceNotFound.ResourceNotFound" UNAUTHORIZEDOPERATION_APPIDMISMATCHED = "UnauthorizedOperation.AppIdMismatched"
func (*Client) DescribeGlobalConfig ¶
func (c *Client) DescribeGlobalConfig(request *DescribeGlobalConfigRequest) (response *DescribeGlobalConfigResponse, err error)
DescribeGlobalConfig This API is used to query the global configurations of YARN Resource Scheduling.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_CAMCGWERROR = "InternalError.CamCgwError" INTERNALERROR_WOODSERVERERROR = "InternalError.WoodServerError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDINSTANCENAME = "InvalidParameter.InvalidInstanceName" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
func (*Client) DescribeGlobalConfigWithContext ¶
func (c *Client) DescribeGlobalConfigWithContext(ctx context.Context, request *DescribeGlobalConfigRequest) (response *DescribeGlobalConfigResponse, err error)
DescribeGlobalConfig This API is used to query the global configurations of YARN Resource Scheduling.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_CAMCGWERROR = "InternalError.CamCgwError" INTERNALERROR_WOODSERVERERROR = "InternalError.WoodServerError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDINSTANCENAME = "InvalidParameter.InvalidInstanceName" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
func (*Client) DescribeGroupsSTD ¶
func (c *Client) DescribeGroupsSTD(request *DescribeGroupsSTDRequest) (response *DescribeGroupsSTDResponse, err error)
DescribeGroupsSTD This API is used to query a user group.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_CAMCGWERROR = "InternalError.CamCgwError" INTERNALERROR_WOODSERVERERROR = "InternalError.WoodServerError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDINSTANCENAME = "InvalidParameter.InvalidInstanceName" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
func (*Client) DescribeGroupsSTDWithContext ¶
func (c *Client) DescribeGroupsSTDWithContext(ctx context.Context, request *DescribeGroupsSTDRequest) (response *DescribeGroupsSTDResponse, err error)
DescribeGroupsSTD This API is used to query a user group.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_CAMCGWERROR = "InternalError.CamCgwError" INTERNALERROR_WOODSERVERERROR = "InternalError.WoodServerError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDINSTANCENAME = "InvalidParameter.InvalidInstanceName" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
func (*Client) DescribeHBaseTableOverview ¶
func (c *Client) DescribeHBaseTableOverview(request *DescribeHBaseTableOverviewRequest) (response *DescribeHBaseTableOverviewResponse, err error)
DescribeHBaseTableOverview This API is used to access the overview of HBase table-level monitoring data.
error code that may be returned:
INTERNALERROR_DOOPENTSDBREQUESTEXCEPTION = "InternalError.DoOpenTSDBRequestException" INTERNALERROR_OPENTSDBHTTPRETURNCODENOTOK = "InternalError.OpenTSDBHttpReturnCodeNotOK" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_CLUSTERNOTFOUND = "ResourceNotFound.ClusterNotFound"
func (*Client) DescribeHBaseTableOverviewWithContext ¶
func (c *Client) DescribeHBaseTableOverviewWithContext(ctx context.Context, request *DescribeHBaseTableOverviewRequest) (response *DescribeHBaseTableOverviewResponse, err error)
DescribeHBaseTableOverview This API is used to access the overview of HBase table-level monitoring data.
error code that may be returned:
INTERNALERROR_DOOPENTSDBREQUESTEXCEPTION = "InternalError.DoOpenTSDBRequestException" INTERNALERROR_OPENTSDBHTTPRETURNCODENOTOK = "InternalError.OpenTSDBHttpReturnCodeNotOK" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_CLUSTERNOTFOUND = "ResourceNotFound.ClusterNotFound"
func (*Client) DescribeHDFSStorageInfo ¶
func (c *Client) DescribeHDFSStorageInfo(request *DescribeHDFSStorageInfoRequest) (response *DescribeHDFSStorageInfoResponse, err error)
DescribeHDFSStorageInfo This API is used to query information of file(s) stored in HDFS.
error code that may be returned:
INTERNALERROR_DOOPENTSDBREQUESTEXCEPTION = "InternalError.DoOpenTSDBRequestException" INTERNALERROR_OPENTSDBHTTPRETURNCODENOTOK = "InternalError.OpenTSDBHttpReturnCodeNotOK" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_CLUSTERNOTFOUND = "ResourceNotFound.ClusterNotFound"
func (*Client) DescribeHDFSStorageInfoWithContext ¶
func (c *Client) DescribeHDFSStorageInfoWithContext(ctx context.Context, request *DescribeHDFSStorageInfoRequest) (response *DescribeHDFSStorageInfoResponse, err error)
DescribeHDFSStorageInfo This API is used to query information of file(s) stored in HDFS.
error code that may be returned:
INTERNALERROR_DOOPENTSDBREQUESTEXCEPTION = "InternalError.DoOpenTSDBRequestException" INTERNALERROR_OPENTSDBHTTPRETURNCODENOTOK = "InternalError.OpenTSDBHttpReturnCodeNotOK" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_CLUSTERNOTFOUND = "ResourceNotFound.ClusterNotFound"
func (*Client) DescribeHiveQueries ¶
func (c *Client) DescribeHiveQueries(request *DescribeHiveQueriesRequest) (response *DescribeHiveQueriesResponse, err error)
DescribeHiveQueries This API is used to inquiry Hive query data.
error code that may be returned:
INTERNALERROR_DBQUERYEXCEPTION = "InternalError.DBQueryException" INVALIDPARAMETER_IMPALAQUERYEXCEPTION = "InvalidParameter.ImpalaQueryException" RESOURCENOTFOUND_CLUSTERNOTFOUND = "ResourceNotFound.ClusterNotFound" UNAUTHORIZEDOPERATION_APPIDMISMATCHED = "UnauthorizedOperation.AppIdMismatched"
func (*Client) DescribeHiveQueriesWithContext ¶
func (c *Client) DescribeHiveQueriesWithContext(ctx context.Context, request *DescribeHiveQueriesRequest) (response *DescribeHiveQueriesResponse, err error)
DescribeHiveQueries This API is used to inquiry Hive query data.
error code that may be returned:
INTERNALERROR_DBQUERYEXCEPTION = "InternalError.DBQueryException" INVALIDPARAMETER_IMPALAQUERYEXCEPTION = "InvalidParameter.ImpalaQueryException" RESOURCENOTFOUND_CLUSTERNOTFOUND = "ResourceNotFound.ClusterNotFound" UNAUTHORIZEDOPERATION_APPIDMISMATCHED = "UnauthorizedOperation.AppIdMismatched"
func (*Client) DescribeInsightList ¶
func (c *Client) DescribeInsightList(request *DescribeInsightListRequest) (response *DescribeInsightListResponse, err error)
DescribeInsightList This API is used to obtain insight result information.
error code that may be returned:
RESOURCENOTFOUND_CLUSTERNOTFOUND = "ResourceNotFound.ClusterNotFound" UNAUTHORIZEDOPERATION_APPIDMISMATCHED = "UnauthorizedOperation.AppIdMismatched"
func (*Client) DescribeInsightListWithContext ¶
func (c *Client) DescribeInsightListWithContext(ctx context.Context, request *DescribeInsightListRequest) (response *DescribeInsightListResponse, err error)
DescribeInsightList This API is used to obtain insight result information.
error code that may be returned:
RESOURCENOTFOUND_CLUSTERNOTFOUND = "ResourceNotFound.ClusterNotFound" UNAUTHORIZEDOPERATION_APPIDMISMATCHED = "UnauthorizedOperation.AppIdMismatched"
func (*Client) DescribeInspectionTaskResult ¶
func (c *Client) DescribeInspectionTaskResult(request *DescribeInspectionTaskResultRequest) (response *DescribeInspectionTaskResultResponse, err error)
DescribeInspectionTaskResult This API is used to obtain the inspection task result list.
error code that may be returned:
INTERNALERROR = "InternalError" RESOURCENOTFOUND_CLUSTERNOTFOUND = "ResourceNotFound.ClusterNotFound"
func (*Client) DescribeInspectionTaskResultWithContext ¶
func (c *Client) DescribeInspectionTaskResultWithContext(ctx context.Context, request *DescribeInspectionTaskResultRequest) (response *DescribeInspectionTaskResultResponse, err error)
DescribeInspectionTaskResult This API is used to obtain the inspection task result list.
error code that may be returned:
INTERNALERROR = "InternalError" RESOURCENOTFOUND_CLUSTERNOTFOUND = "ResourceNotFound.ClusterNotFound"
func (*Client) DescribeInstances ¶
func (c *Client) DescribeInstances(request *DescribeInstancesRequest) (response *DescribeInstancesResponse, err error)
DescribeInstances This API is used to query the information of instances in a cluster.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DESCRIBERESOURCETAGSFAILED = "FailedOperation.DescribeResourceTagsFailed" FAILEDOPERATION_GETCAMROLEFAILED = "FailedOperation.GetCamRoleFailed" FAILEDOPERATION_GETCAMSERVERFAILED = "FailedOperation.GetCamServerFailed" INTERNALERROR = "InternalError" INTERNALERROR_ACCOUNTCGWERROR = "InternalError.AccountCgwError" INTERNALERROR_CAMCGWERROR = "InternalError.CamCgwError" INTERNALERROR_CAMERROR = "InternalError.CamError" INTERNALERROR_CBSCGWERROR = "InternalError.CbsCgwError" INTERNALERROR_CBSERROR = "InternalError.CbsError" INTERNALERROR_CDBCGWERROR = "InternalError.CdbCgwError" INTERNALERROR_CDBERROR = "InternalError.CdbError" INTERNALERROR_CONFIGCGWERROR = "InternalError.ConfigCgwError" INTERNALERROR_CVMERROR = "InternalError.CvmError" INTERNALERROR_KMSERROR = "InternalError.KmsError" INTERNALERROR_PROJECTCGWERROR = "InternalError.ProjectCgwError" INTERNALERROR_SGERROR = "InternalError.SgError" INTERNALERROR_TAGERROR = "InternalError.TagError" INTERNALERROR_TRADECGWERROR = "InternalError.TradeCgwError" INTERNALERROR_VPCCGWERROR = "InternalError.VpcCgwError" INTERNALERROR_VPCERROR = "InternalError.VpcError" INTERNALERROR_WOODSERVERERROR = "InternalError.WoodServerError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_DISPLAYSTRATEGYNOTMATCH = "InvalidParameter.DisplayStrategyNotMatch" INVALIDPARAMETER_INVALIDCLUSTERID = "InvalidParameter.InvalidClusterId" INVALIDPARAMETER_INVALIDINSTANCENAME = "InvalidParameter.InvalidInstanceName" INVALIDPARAMETER_ORDERFIELDNOTMATCH = "InvalidParameter.OrderFieldNotMatch" RESOURCENOTFOUND_CLUSTERNOTFOUND = "ResourceNotFound.ClusterNotFound" RESOURCENOTFOUND_HARDWAREINFONOTFOUND = "ResourceNotFound.HardwareInfoNotFound" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" UNAUTHORIZEDOPERATION_CHECKCAMAUTH = "UnauthorizedOperation.CheckCamAuth"
func (*Client) DescribeInstancesList ¶
func (c *Client) DescribeInstancesList(request *DescribeInstancesListRequest) (response *DescribeInstancesListResponse, err error)
DescribeInstancesList This API is used to query the cluster list.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DESCRIBERESOURCETAGSFAILED = "FailedOperation.DescribeResourceTagsFailed" FAILEDOPERATION_GETCAMROLEFAILED = "FailedOperation.GetCamRoleFailed" FAILEDOPERATION_GETCAMSERVERFAILED = "FailedOperation.GetCamServerFailed" INTERNALERROR = "InternalError" INTERNALERROR_ACCOUNTCGWERROR = "InternalError.AccountCgwError" INTERNALERROR_CAMCGWERROR = "InternalError.CamCgwError" INTERNALERROR_CAMERROR = "InternalError.CamError" INTERNALERROR_CBSCGWERROR = "InternalError.CbsCgwError" INTERNALERROR_CBSERROR = "InternalError.CbsError" INTERNALERROR_CDBCGWERROR = "InternalError.CdbCgwError" INTERNALERROR_CDBERROR = "InternalError.CdbError" INTERNALERROR_CONFIGCGWERROR = "InternalError.ConfigCgwError" INTERNALERROR_CVMERROR = "InternalError.CvmError" INTERNALERROR_KMSERROR = "InternalError.KmsError" INTERNALERROR_PROJECTCGWERROR = "InternalError.ProjectCgwError" INTERNALERROR_SGERROR = "InternalError.SgError" INTERNALERROR_TAGERROR = "InternalError.TagError" INTERNALERROR_TRADECGWERROR = "InternalError.TradeCgwError" INTERNALERROR_VPCCGWERROR = "InternalError.VpcCgwError" INTERNALERROR_VPCERROR = "InternalError.VpcError" INTERNALERROR_WOODSERVERERROR = "InternalError.WoodServerError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_DISPLAYSTRATEGYNOTMATCH = "InvalidParameter.DisplayStrategyNotMatch" INVALIDPARAMETER_INVALIDCLUSTERID = "InvalidParameter.InvalidClusterId" INVALIDPARAMETER_ORDERFIELDNOTMATCH = "InvalidParameter.OrderFieldNotMatch" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" UNAUTHORIZEDOPERATION_CHECKCAMAUTH = "UnauthorizedOperation.CheckCamAuth" UNSUPPORTEDOPERATION_NOTINWHITELIST = "UnsupportedOperation.NotInWhiteList"
func (*Client) DescribeInstancesListWithContext ¶
func (c *Client) DescribeInstancesListWithContext(ctx context.Context, request *DescribeInstancesListRequest) (response *DescribeInstancesListResponse, err error)
DescribeInstancesList This API is used to query the cluster list.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DESCRIBERESOURCETAGSFAILED = "FailedOperation.DescribeResourceTagsFailed" FAILEDOPERATION_GETCAMROLEFAILED = "FailedOperation.GetCamRoleFailed" FAILEDOPERATION_GETCAMSERVERFAILED = "FailedOperation.GetCamServerFailed" INTERNALERROR = "InternalError" INTERNALERROR_ACCOUNTCGWERROR = "InternalError.AccountCgwError" INTERNALERROR_CAMCGWERROR = "InternalError.CamCgwError" INTERNALERROR_CAMERROR = "InternalError.CamError" INTERNALERROR_CBSCGWERROR = "InternalError.CbsCgwError" INTERNALERROR_CBSERROR = "InternalError.CbsError" INTERNALERROR_CDBCGWERROR = "InternalError.CdbCgwError" INTERNALERROR_CDBERROR = "InternalError.CdbError" INTERNALERROR_CONFIGCGWERROR = "InternalError.ConfigCgwError" INTERNALERROR_CVMERROR = "InternalError.CvmError" INTERNALERROR_KMSERROR = "InternalError.KmsError" INTERNALERROR_PROJECTCGWERROR = "InternalError.ProjectCgwError" INTERNALERROR_SGERROR = "InternalError.SgError" INTERNALERROR_TAGERROR = "InternalError.TagError" INTERNALERROR_TRADECGWERROR = "InternalError.TradeCgwError" INTERNALERROR_VPCCGWERROR = "InternalError.VpcCgwError" INTERNALERROR_VPCERROR = "InternalError.VpcError" INTERNALERROR_WOODSERVERERROR = "InternalError.WoodServerError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_DISPLAYSTRATEGYNOTMATCH = "InvalidParameter.DisplayStrategyNotMatch" INVALIDPARAMETER_INVALIDCLUSTERID = "InvalidParameter.InvalidClusterId" INVALIDPARAMETER_ORDERFIELDNOTMATCH = "InvalidParameter.OrderFieldNotMatch" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" UNAUTHORIZEDOPERATION_CHECKCAMAUTH = "UnauthorizedOperation.CheckCamAuth" UNSUPPORTEDOPERATION_NOTINWHITELIST = "UnsupportedOperation.NotInWhiteList"
func (*Client) DescribeInstancesWithContext ¶
func (c *Client) DescribeInstancesWithContext(ctx context.Context, request *DescribeInstancesRequest) (response *DescribeInstancesResponse, err error)
DescribeInstances This API is used to query the information of instances in a cluster.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DESCRIBERESOURCETAGSFAILED = "FailedOperation.DescribeResourceTagsFailed" FAILEDOPERATION_GETCAMROLEFAILED = "FailedOperation.GetCamRoleFailed" FAILEDOPERATION_GETCAMSERVERFAILED = "FailedOperation.GetCamServerFailed" INTERNALERROR = "InternalError" INTERNALERROR_ACCOUNTCGWERROR = "InternalError.AccountCgwError" INTERNALERROR_CAMCGWERROR = "InternalError.CamCgwError" INTERNALERROR_CAMERROR = "InternalError.CamError" INTERNALERROR_CBSCGWERROR = "InternalError.CbsCgwError" INTERNALERROR_CBSERROR = "InternalError.CbsError" INTERNALERROR_CDBCGWERROR = "InternalError.CdbCgwError" INTERNALERROR_CDBERROR = "InternalError.CdbError" INTERNALERROR_CONFIGCGWERROR = "InternalError.ConfigCgwError" INTERNALERROR_CVMERROR = "InternalError.CvmError" INTERNALERROR_KMSERROR = "InternalError.KmsError" INTERNALERROR_PROJECTCGWERROR = "InternalError.ProjectCgwError" INTERNALERROR_SGERROR = "InternalError.SgError" INTERNALERROR_TAGERROR = "InternalError.TagError" INTERNALERROR_TRADECGWERROR = "InternalError.TradeCgwError" INTERNALERROR_VPCCGWERROR = "InternalError.VpcCgwError" INTERNALERROR_VPCERROR = "InternalError.VpcError" INTERNALERROR_WOODSERVERERROR = "InternalError.WoodServerError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_DISPLAYSTRATEGYNOTMATCH = "InvalidParameter.DisplayStrategyNotMatch" INVALIDPARAMETER_INVALIDCLUSTERID = "InvalidParameter.InvalidClusterId" INVALIDPARAMETER_INVALIDINSTANCENAME = "InvalidParameter.InvalidInstanceName" INVALIDPARAMETER_ORDERFIELDNOTMATCH = "InvalidParameter.OrderFieldNotMatch" RESOURCENOTFOUND_CLUSTERNOTFOUND = "ResourceNotFound.ClusterNotFound" RESOURCENOTFOUND_HARDWAREINFONOTFOUND = "ResourceNotFound.HardwareInfoNotFound" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" UNAUTHORIZEDOPERATION_CHECKCAMAUTH = "UnauthorizedOperation.CheckCamAuth"
func (*Client) DescribeKyuubiQueryInfo ¶
func (c *Client) DescribeKyuubiQueryInfo(request *DescribeKyuubiQueryInfoRequest) (response *DescribeKyuubiQueryInfoResponse, err error)
DescribeKyuubiQueryInfo This API is used to query Kyuubi query information.
error code that may be returned:
RESOURCENOTFOUND_CLUSTERNOTFOUND = "ResourceNotFound.ClusterNotFound" UNAUTHORIZEDOPERATION_APPIDMISMATCHED = "UnauthorizedOperation.AppIdMismatched"
func (*Client) DescribeKyuubiQueryInfoWithContext ¶
func (c *Client) DescribeKyuubiQueryInfoWithContext(ctx context.Context, request *DescribeKyuubiQueryInfoRequest) (response *DescribeKyuubiQueryInfoResponse, err error)
DescribeKyuubiQueryInfo This API is used to query Kyuubi query information.
error code that may be returned:
RESOURCENOTFOUND_CLUSTERNOTFOUND = "ResourceNotFound.ClusterNotFound" UNAUTHORIZEDOPERATION_APPIDMISMATCHED = "UnauthorizedOperation.AppIdMismatched"
func (*Client) DescribeNodeDataDisks ¶
func (c *Client) DescribeNodeDataDisks(request *DescribeNodeDataDisksRequest) (response *DescribeNodeDataDisksResponse, err error)
DescribeNodeDataDisks This API is used to query data disk information of nodes.
error code that may be returned:
INTERNALERROR_CBSERROR = "InternalError.CbsError" INVALIDPARAMETER_INVALIDCLUSTERID = "InvalidParameter.InvalidClusterId"
func (*Client) DescribeNodeDataDisksWithContext ¶
func (c *Client) DescribeNodeDataDisksWithContext(ctx context.Context, request *DescribeNodeDataDisksRequest) (response *DescribeNodeDataDisksResponse, err error)
DescribeNodeDataDisks This API is used to query data disk information of nodes.
error code that may be returned:
INTERNALERROR_CBSERROR = "InternalError.CbsError" INVALIDPARAMETER_INVALIDCLUSTERID = "InvalidParameter.InvalidClusterId"
func (*Client) DescribeNodeResourceConfigFast ¶
func (c *Client) DescribeNodeResourceConfigFast(request *DescribeNodeResourceConfigFastRequest) (response *DescribeNodeResourceConfigFastResponse, err error)
DescribeNodeResourceConfigFast This API is used to quickly obtain node specifications of the current cluster.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INTERNALERROR_CAMCGWERROR = "InternalError.CamCgwError" INTERNALERROR_CHECKQUOTAERR = "InternalError.CheckQuotaErr" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDDISKTYPE = "InvalidParameter.InvalidDiskType" INVALIDPARAMETER_INVALIDINSTANCETYPE = "InvalidParameter.InvalidInstanceType" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" RESOURCEUNAVAILABLE_NOTSUPPORTRESOURCETYPE = "ResourceUnavailable.NotSupportResourceType" RESOURCEUNAVAILABLE_RESOURCESPECNOTDEFAULTSPEC = "ResourceUnavailable.ResourceSpecNotDefaultSpec" RESOURCEUNAVAILABLE_RESOURCESPECNOTEXIST = "ResourceUnavailable.ResourceSpecNotExist" UNSUPPORTEDOPERATION_SERVICENOTSUPPORT = "UnsupportedOperation.ServiceNotSupport"
func (*Client) DescribeNodeResourceConfigFastWithContext ¶
func (c *Client) DescribeNodeResourceConfigFastWithContext(ctx context.Context, request *DescribeNodeResourceConfigFastRequest) (response *DescribeNodeResourceConfigFastResponse, err error)
DescribeNodeResourceConfigFast This API is used to quickly obtain node specifications of the current cluster.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INTERNALERROR_CAMCGWERROR = "InternalError.CamCgwError" INTERNALERROR_CHECKQUOTAERR = "InternalError.CheckQuotaErr" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDDISKTYPE = "InvalidParameter.InvalidDiskType" INVALIDPARAMETER_INVALIDINSTANCETYPE = "InvalidParameter.InvalidInstanceType" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" RESOURCEUNAVAILABLE_NOTSUPPORTRESOURCETYPE = "ResourceUnavailable.NotSupportResourceType" RESOURCEUNAVAILABLE_RESOURCESPECNOTDEFAULTSPEC = "ResourceUnavailable.ResourceSpecNotDefaultSpec" RESOURCEUNAVAILABLE_RESOURCESPECNOTEXIST = "ResourceUnavailable.ResourceSpecNotExist" UNSUPPORTEDOPERATION_SERVICENOTSUPPORT = "UnsupportedOperation.ServiceNotSupport"
func (*Client) DescribeNodeSpec ¶
func (c *Client) DescribeNodeSpec(request *DescribeNodeSpecRequest) (response *DescribeNodeSpecResponse, err error)
DescribeNodeSpec This API is used to query node specifications.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_GETCVMCONFIGQUOTAFAILED = "FailedOperation.GetCvmConfigQuotaFailed" FAILEDOPERATION_NOTAUTHENTICATED = "FailedOperation.NotAuthenticated" FAILEDOPERATION_SPECDELETEDENYFORAUTOSCALESTRATEGIES = "FailedOperation.SpecDeleteDenyForAutoScaleStrategies" INTERNALERROR = "InternalError" INTERNALERROR_ACCOUNTCGWERROR = "InternalError.AccountCgwError" INTERNALERROR_CAMCGWERROR = "InternalError.CamCgwError" INTERNALERROR_CAMERROR = "InternalError.CamError" INTERNALERROR_CBSCGWERROR = "InternalError.CbsCgwError" INTERNALERROR_CBSERROR = "InternalError.CbsError" INTERNALERROR_CDBCGWERROR = "InternalError.CdbCgwError" INTERNALERROR_CDBERROR = "InternalError.CdbError" INTERNALERROR_CVMERROR = "InternalError.CvmError" INTERNALERROR_KMSERROR = "InternalError.KmsError" INTERNALERROR_PROJECTCGWERROR = "InternalError.ProjectCgwError" INTERNALERROR_TKEERROR = "InternalError.TKEError" INTERNALERROR_TRADECGWERROR = "InternalError.TradeCgwError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_APPIDRESOURCENOTMATCH = "InvalidParameter.AppIdResourceNotMatch" INVALIDPARAMETER_CPUTYPE = "InvalidParameter.CpuType" INVALIDPARAMETER_DISPLAYSTRATEGYNOTMATCH = "InvalidParameter.DisplayStrategyNotMatch" INVALIDPARAMETER_INVALIDPAYMODE = "InvalidParameter.InvalidPaymode" INVALIDPARAMETER_INVALIDVENDORTYPE = "InvalidParameter.InvalidVendorType" INVALIDPARAMETER_INVALIDVOLUMETYPE = "InvalidParameter.InvalidVolumeType" INVALIDPARAMETER_INVALIDZONE = "InvalidParameter.InvalidZone" INVALIDPARAMETER_LESSCOMMONCOUNT = "InvalidParameter.LessCommonCount" INVALIDPARAMETER_LESSTASKCOUNT = "InvalidParameter.LessTaskCount" INVALIDPARAMETER_MOREMAXLIMITNUM = "InvalidParameter.MoreMaxlimitNum" INVALIDPARAMETER_NOTCONTAINMUSTSELECTSOFTWARE = "InvalidParameter.NotContainMustSelectSoftware" INVALIDPARAMETER_PAYMODERESOURCENOTMATCH = "InvalidParameter.PayModeResourceNotMatch" INVALIDPARAMETER_PROJECTRESOURCENOTMATCH = "InvalidParameter.ProjectResourceNotMatch" INVALIDPARAMETER_REPEATEDSTRATEGYNAME = "InvalidParameter.RepeatedStrategyName" INVALIDPARAMETER_RESOURCEPROVIDERTYPE = "InvalidParameter.ResourceProviderType" INVALIDPARAMETER_RESTARTSERVICEUNSUPPORTED = "InvalidParameter.RestartServiceUnsupported" INVALIDPARAMETER_SOFTWARENOTINPRODUCR = "InvalidParameter.SoftwareNotInProducr" INVALIDPARAMETER_UNGRANTEDPOLICY = "InvalidParameter.UngrantedPolicy" INVALIDPARAMETER_UNSATISFIEDSOFTDEPENDECY = "InvalidParameter.UnsatisfiedSoftDependecy" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDTKEINSTANCE = "InvalidParameterValue.InvalidTkeInstance" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" MISSINGPARAMETER_MISSINGCORERESOURCE = "MissingParameter.MissingCoreResource" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCENOTFOUND_SPECNOTFOUND = "ResourceNotFound.SpecNotFound" RESOURCEUNAVAILABLE_NOTSUPPORTNODETYPE = "ResourceUnavailable.NotSupportNodeType" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_NOTINWHITELIST = "UnsupportedOperation.NotInWhiteList"
func (*Client) DescribeNodeSpecWithContext ¶
func (c *Client) DescribeNodeSpecWithContext(ctx context.Context, request *DescribeNodeSpecRequest) (response *DescribeNodeSpecResponse, err error)
DescribeNodeSpec This API is used to query node specifications.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_GETCVMCONFIGQUOTAFAILED = "FailedOperation.GetCvmConfigQuotaFailed" FAILEDOPERATION_NOTAUTHENTICATED = "FailedOperation.NotAuthenticated" FAILEDOPERATION_SPECDELETEDENYFORAUTOSCALESTRATEGIES = "FailedOperation.SpecDeleteDenyForAutoScaleStrategies" INTERNALERROR = "InternalError" INTERNALERROR_ACCOUNTCGWERROR = "InternalError.AccountCgwError" INTERNALERROR_CAMCGWERROR = "InternalError.CamCgwError" INTERNALERROR_CAMERROR = "InternalError.CamError" INTERNALERROR_CBSCGWERROR = "InternalError.CbsCgwError" INTERNALERROR_CBSERROR = "InternalError.CbsError" INTERNALERROR_CDBCGWERROR = "InternalError.CdbCgwError" INTERNALERROR_CDBERROR = "InternalError.CdbError" INTERNALERROR_CVMERROR = "InternalError.CvmError" INTERNALERROR_KMSERROR = "InternalError.KmsError" INTERNALERROR_PROJECTCGWERROR = "InternalError.ProjectCgwError" INTERNALERROR_TKEERROR = "InternalError.TKEError" INTERNALERROR_TRADECGWERROR = "InternalError.TradeCgwError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_APPIDRESOURCENOTMATCH = "InvalidParameter.AppIdResourceNotMatch" INVALIDPARAMETER_CPUTYPE = "InvalidParameter.CpuType" INVALIDPARAMETER_DISPLAYSTRATEGYNOTMATCH = "InvalidParameter.DisplayStrategyNotMatch" INVALIDPARAMETER_INVALIDPAYMODE = "InvalidParameter.InvalidPaymode" INVALIDPARAMETER_INVALIDVENDORTYPE = "InvalidParameter.InvalidVendorType" INVALIDPARAMETER_INVALIDVOLUMETYPE = "InvalidParameter.InvalidVolumeType" INVALIDPARAMETER_INVALIDZONE = "InvalidParameter.InvalidZone" INVALIDPARAMETER_LESSCOMMONCOUNT = "InvalidParameter.LessCommonCount" INVALIDPARAMETER_LESSTASKCOUNT = "InvalidParameter.LessTaskCount" INVALIDPARAMETER_MOREMAXLIMITNUM = "InvalidParameter.MoreMaxlimitNum" INVALIDPARAMETER_NOTCONTAINMUSTSELECTSOFTWARE = "InvalidParameter.NotContainMustSelectSoftware" INVALIDPARAMETER_PAYMODERESOURCENOTMATCH = "InvalidParameter.PayModeResourceNotMatch" INVALIDPARAMETER_PROJECTRESOURCENOTMATCH = "InvalidParameter.ProjectResourceNotMatch" INVALIDPARAMETER_REPEATEDSTRATEGYNAME = "InvalidParameter.RepeatedStrategyName" INVALIDPARAMETER_RESOURCEPROVIDERTYPE = "InvalidParameter.ResourceProviderType" INVALIDPARAMETER_RESTARTSERVICEUNSUPPORTED = "InvalidParameter.RestartServiceUnsupported" INVALIDPARAMETER_SOFTWARENOTINPRODUCR = "InvalidParameter.SoftwareNotInProducr" INVALIDPARAMETER_UNGRANTEDPOLICY = "InvalidParameter.UngrantedPolicy" INVALIDPARAMETER_UNSATISFIEDSOFTDEPENDECY = "InvalidParameter.UnsatisfiedSoftDependecy" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDTKEINSTANCE = "InvalidParameterValue.InvalidTkeInstance" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" MISSINGPARAMETER_MISSINGCORERESOURCE = "MissingParameter.MissingCoreResource" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCENOTFOUND_SPECNOTFOUND = "ResourceNotFound.SpecNotFound" RESOURCEUNAVAILABLE_NOTSUPPORTNODETYPE = "ResourceUnavailable.NotSupportNodeType" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_NOTINWHITELIST = "UnsupportedOperation.NotInWhiteList"
func (*Client) DescribeResourceSchedule ¶
func (c *Client) DescribeResourceSchedule(request *DescribeResourceScheduleRequest) (response *DescribeResourceScheduleResponse, err error)
DescribeResourceSchedule This API is used to query YARN resource scheduling information. It has been deprecated. You can use the DescribeYarnQueue API to query queue information.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_CAMCGWERROR = "InternalError.CamCgwError" INTERNALERROR_WOODSERVERERROR = "InternalError.WoodServerError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDINSTANCENAME = "InvalidParameter.InvalidInstanceName" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
func (*Client) DescribeResourceScheduleDiffDetail ¶
func (c *Client) DescribeResourceScheduleDiffDetail(request *DescribeResourceScheduleDiffDetailRequest) (response *DescribeResourceScheduleDiffDetailResponse, err error)
DescribeResourceScheduleDiffDetail This API is used to query change details in YARN resource scheduling.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_CAMCGWERROR = "InternalError.CamCgwError" INTERNALERROR_WOODSERVERERROR = "InternalError.WoodServerError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDINSTANCENAME = "InvalidParameter.InvalidInstanceName" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
func (*Client) DescribeResourceScheduleDiffDetailWithContext ¶
func (c *Client) DescribeResourceScheduleDiffDetailWithContext(ctx context.Context, request *DescribeResourceScheduleDiffDetailRequest) (response *DescribeResourceScheduleDiffDetailResponse, err error)
DescribeResourceScheduleDiffDetail This API is used to query change details in YARN resource scheduling.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_CAMCGWERROR = "InternalError.CamCgwError" INTERNALERROR_WOODSERVERERROR = "InternalError.WoodServerError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDINSTANCENAME = "InvalidParameter.InvalidInstanceName" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
func (*Client) DescribeResourceScheduleWithContext ¶
func (c *Client) DescribeResourceScheduleWithContext(ctx context.Context, request *DescribeResourceScheduleRequest) (response *DescribeResourceScheduleResponse, err error)
DescribeResourceSchedule This API is used to query YARN resource scheduling information. It has been deprecated. You can use the DescribeYarnQueue API to query queue information.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_CAMCGWERROR = "InternalError.CamCgwError" INTERNALERROR_WOODSERVERERROR = "InternalError.WoodServerError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDINSTANCENAME = "InvalidParameter.InvalidInstanceName" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
func (*Client) DescribeSLInstance ¶
func (c *Client) DescribeSLInstance(request *DescribeSLInstanceRequest) (response *DescribeSLInstanceResponse, err error)
DescribeSLInstance This API is used to query the basic information of Serverless HBase instances.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_REFUNDCVMFAILED = "FailedOperation.RefundCvmFailed" INTERNALERROR = "InternalError" INTERNALERROR_CAMCGWERROR = "InternalError.CamCgwError" INTERNALERROR_CVMERROR = "InternalError.CvmError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDAPPID = "InvalidParameter.InvalidAppId" INVALIDPARAMETER_INVALIDCLUSTERID = "InvalidParameter.InvalidClusterId" INVALIDPARAMETER_INVALIDINSTANCENAME = "InvalidParameter.InvalidInstanceName" INVALIDPARAMETER_INVALIDZONE = "InvalidParameter.InvalidZone" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" RESOURCEUNAVAILABLE_RESOURCESPECNOTEXIST = "ResourceUnavailable.ResourceSpecNotExist" UNAUTHORIZEDOPERATION_CHECKCAMAUTH = "UnauthorizedOperation.CheckCamAuth" UNSUPPORTEDOPERATION_SERVICENOTSUPPORT = "UnsupportedOperation.ServiceNotSupport"
func (*Client) DescribeSLInstanceList ¶
func (c *Client) DescribeSLInstanceList(request *DescribeSLInstanceListRequest) (response *DescribeSLInstanceListResponse, err error)
DescribeSLInstanceList This API is used to query the detailed information of the Serverless HBase instance list.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DUPLICATEORDERNOTALLOWED = "FailedOperation.DuplicateOrderNotAllowed" INTERNALERROR = "InternalError" INTERNALERROR_ACCOUNTCGWERROR = "InternalError.AccountCgwError" INTERNALERROR_CAMCGWERROR = "InternalError.CamCgwError" INTERNALERROR_CAMERROR = "InternalError.CamError" INTERNALERROR_CBSCGWERROR = "InternalError.CbsCgwError" INTERNALERROR_CBSERROR = "InternalError.CbsError" INTERNALERROR_CDBCGWERROR = "InternalError.CdbCgwError" INTERNALERROR_CDBERROR = "InternalError.CdbError" INTERNALERROR_CHECKQUOTAERR = "InternalError.CheckQuotaErr" INTERNALERROR_CONFIGCGWERROR = "InternalError.ConfigCgwError" INTERNALERROR_CVMERROR = "InternalError.CvmError" INTERNALERROR_KMSERROR = "InternalError.KmsError" INTERNALERROR_PROJECTCGWERROR = "InternalError.ProjectCgwError" INTERNALERROR_SGERROR = "InternalError.SgError" INTERNALERROR_TAGERROR = "InternalError.TagError" INTERNALERROR_TRADECGWERROR = "InternalError.TradeCgwError" INTERNALERROR_VPCCGWERROR = "InternalError.VpcCgwError" INTERNALERROR_VPCERROR = "InternalError.VpcError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_DISPLAYSTRATEGYNOTMATCH = "InvalidParameter.DisplayStrategyNotMatch" INVALIDPARAMETER_INVALIDAUTORENEW = "InvalidParameter.InvalidAutoRenew" INVALIDPARAMETER_INVALIDCLIENTTOKEN = "InvalidParameter.InvalidClientToken" INVALIDPARAMETER_INVALIDCOMPONENT = "InvalidParameter.InvalidComponent" INVALIDPARAMETER_INVALIDCORECOUNT = "InvalidParameter.InvalidCoreCount" INVALIDPARAMETER_INVALIDDISKSIZE = "InvalidParameter.InvalidDiskSize" INVALIDPARAMETER_INVALIDEXTENDFIELD = "InvalidParameter.InvalidExtendField" INVALIDPARAMETER_INVALIDINSTANCENAME = "InvalidParameter.InvalidInstanceName" INVALIDPARAMETER_INVALIDINSTANCETYPE = "InvalidParameter.InvalidInstanceType" INVALIDPARAMETER_INVALIDLOGINSETTING = "InvalidParameter.InvalidLoginSetting" INVALIDPARAMETER_INVALIDMETATYPE = "InvalidParameter.InvalidMetaType" INVALIDPARAMETER_INVALIDPASSWORD = "InvalidParameter.InvalidPassword" INVALIDPARAMETER_INVALIDPAYMODE = "InvalidParameter.InvalidPaymode" INVALIDPARAMETER_INVALIDPREEXECUTEDFILE = "InvalidParameter.InvalidPreExecutedFile" INVALIDPARAMETER_INVALIDPRODUCTID = "InvalidParameter.InvalidProductId" INVALIDPARAMETER_INVALIDPROJECTID = "InvalidParameter.InvalidProjectId" INVALIDPARAMETER_INVALIDRESOURCESPEC = "InvalidParameter.InvalidResourceSpec" INVALIDPARAMETER_INVALIDSERCURITYGRPUPID = "InvalidParameter.InvalidSercurityGrpupId" INVALIDPARAMETER_INVALIDSERVICENAME = "InvalidParameter.InvalidServiceName" INVALIDPARAMETER_INVALIDSOFTDEPLOYINFO = "InvalidParameter.InvalidSoftDeployInfo" INVALIDPARAMETER_INVALIDSOFTINFO = "InvalidParameter.InvalidSoftInfo" INVALIDPARAMETER_INVALIDSOFTWARE = "InvalidParameter.InvalidSoftWare" INVALIDPARAMETER_INVALIDSOFTWARENAME = "InvalidParameter.InvalidSoftWareName" INVALIDPARAMETER_INVALIDSOFTWAREVERSION = "InvalidParameter.InvalidSoftWareVersion" INVALIDPARAMETER_INVALIDSUBNETID = "InvalidParameter.InvalidSubnetId" INVALIDPARAMETER_INVALIDSUPPORTHA = "InvalidParameter.InvalidSupportHA" INVALIDPARAMETER_INVALIDTIMESPAN = "InvalidParameter.InvalidTimeSpan" INVALIDPARAMETER_INVALIDTIMEUNIT = "InvalidParameter.InvalidTimeUnit" INVALIDPARAMETER_INVALIDVPCID = "InvalidParameter.InvalidVpcId" INVALIDPARAMETER_INVALIDZONE = "InvalidParameter.InvalidZone" INVALIDPARAMETER_NOTCONTAINMUSTSELECTSOFTWARE = "InvalidParameter.NotContainMustSelectSoftware" INVALIDPARAMETER_ORDERFIELDNOTMATCH = "InvalidParameter.OrderFieldNotMatch" INVALIDPARAMETER_PAYMODERESOURCENOTMATCH = "InvalidParameter.PayModeResourceNotMatch" INVALIDPARAMETER_SOFTWARENOTINPRODUCT = "InvalidParameter.SoftwareNotInProduct" INVALIDPARAMETER_UNGRANTEDPOLICY = "InvalidParameter.UngrantedPolicy" INVALIDPARAMETER_UNGRANTEDROLE = "InvalidParameter.UngrantedRole" INVALIDPARAMETER_ZONERESOURCENOTMATCH = "InvalidParameter.ZoneResourceNotMatch" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCEINSUFFICIENT_DISKINSUFFICIENT = "ResourceInsufficient.DiskInsufficient" RESOURCEINSUFFICIENT_INSTANCEINSUFFICIENT = "ResourceInsufficient.InstanceInsufficient" RESOURCENOTFOUND_TAGSNOTFOUND = "ResourceNotFound.TagsNotFound" RESOURCESSOLDOUT = "ResourcesSoldOut" RESOURCESSOLDOUT_CBSSOLDOUT = "ResourcesSoldOut.CbsSoldOut" RESOURCESSOLDOUT_CVMSOLDOUT = "ResourcesSoldOut.CvmSoldOut" UNAUTHORIZEDOPERATION_CHECKCAMAUTH = "UnauthorizedOperation.CheckCamAuth" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeSLInstanceListWithContext ¶
func (c *Client) DescribeSLInstanceListWithContext(ctx context.Context, request *DescribeSLInstanceListRequest) (response *DescribeSLInstanceListResponse, err error)
DescribeSLInstanceList This API is used to query the detailed information of the Serverless HBase instance list.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DUPLICATEORDERNOTALLOWED = "FailedOperation.DuplicateOrderNotAllowed" INTERNALERROR = "InternalError" INTERNALERROR_ACCOUNTCGWERROR = "InternalError.AccountCgwError" INTERNALERROR_CAMCGWERROR = "InternalError.CamCgwError" INTERNALERROR_CAMERROR = "InternalError.CamError" INTERNALERROR_CBSCGWERROR = "InternalError.CbsCgwError" INTERNALERROR_CBSERROR = "InternalError.CbsError" INTERNALERROR_CDBCGWERROR = "InternalError.CdbCgwError" INTERNALERROR_CDBERROR = "InternalError.CdbError" INTERNALERROR_CHECKQUOTAERR = "InternalError.CheckQuotaErr" INTERNALERROR_CONFIGCGWERROR = "InternalError.ConfigCgwError" INTERNALERROR_CVMERROR = "InternalError.CvmError" INTERNALERROR_KMSERROR = "InternalError.KmsError" INTERNALERROR_PROJECTCGWERROR = "InternalError.ProjectCgwError" INTERNALERROR_SGERROR = "InternalError.SgError" INTERNALERROR_TAGERROR = "InternalError.TagError" INTERNALERROR_TRADECGWERROR = "InternalError.TradeCgwError" INTERNALERROR_VPCCGWERROR = "InternalError.VpcCgwError" INTERNALERROR_VPCERROR = "InternalError.VpcError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_DISPLAYSTRATEGYNOTMATCH = "InvalidParameter.DisplayStrategyNotMatch" INVALIDPARAMETER_INVALIDAUTORENEW = "InvalidParameter.InvalidAutoRenew" INVALIDPARAMETER_INVALIDCLIENTTOKEN = "InvalidParameter.InvalidClientToken" INVALIDPARAMETER_INVALIDCOMPONENT = "InvalidParameter.InvalidComponent" INVALIDPARAMETER_INVALIDCORECOUNT = "InvalidParameter.InvalidCoreCount" INVALIDPARAMETER_INVALIDDISKSIZE = "InvalidParameter.InvalidDiskSize" INVALIDPARAMETER_INVALIDEXTENDFIELD = "InvalidParameter.InvalidExtendField" INVALIDPARAMETER_INVALIDINSTANCENAME = "InvalidParameter.InvalidInstanceName" INVALIDPARAMETER_INVALIDINSTANCETYPE = "InvalidParameter.InvalidInstanceType" INVALIDPARAMETER_INVALIDLOGINSETTING = "InvalidParameter.InvalidLoginSetting" INVALIDPARAMETER_INVALIDMETATYPE = "InvalidParameter.InvalidMetaType" INVALIDPARAMETER_INVALIDPASSWORD = "InvalidParameter.InvalidPassword" INVALIDPARAMETER_INVALIDPAYMODE = "InvalidParameter.InvalidPaymode" INVALIDPARAMETER_INVALIDPREEXECUTEDFILE = "InvalidParameter.InvalidPreExecutedFile" INVALIDPARAMETER_INVALIDPRODUCTID = "InvalidParameter.InvalidProductId" INVALIDPARAMETER_INVALIDPROJECTID = "InvalidParameter.InvalidProjectId" INVALIDPARAMETER_INVALIDRESOURCESPEC = "InvalidParameter.InvalidResourceSpec" INVALIDPARAMETER_INVALIDSERCURITYGRPUPID = "InvalidParameter.InvalidSercurityGrpupId" INVALIDPARAMETER_INVALIDSERVICENAME = "InvalidParameter.InvalidServiceName" INVALIDPARAMETER_INVALIDSOFTDEPLOYINFO = "InvalidParameter.InvalidSoftDeployInfo" INVALIDPARAMETER_INVALIDSOFTINFO = "InvalidParameter.InvalidSoftInfo" INVALIDPARAMETER_INVALIDSOFTWARE = "InvalidParameter.InvalidSoftWare" INVALIDPARAMETER_INVALIDSOFTWARENAME = "InvalidParameter.InvalidSoftWareName" INVALIDPARAMETER_INVALIDSOFTWAREVERSION = "InvalidParameter.InvalidSoftWareVersion" INVALIDPARAMETER_INVALIDSUBNETID = "InvalidParameter.InvalidSubnetId" INVALIDPARAMETER_INVALIDSUPPORTHA = "InvalidParameter.InvalidSupportHA" INVALIDPARAMETER_INVALIDTIMESPAN = "InvalidParameter.InvalidTimeSpan" INVALIDPARAMETER_INVALIDTIMEUNIT = "InvalidParameter.InvalidTimeUnit" INVALIDPARAMETER_INVALIDVPCID = "InvalidParameter.InvalidVpcId" INVALIDPARAMETER_INVALIDZONE = "InvalidParameter.InvalidZone" INVALIDPARAMETER_NOTCONTAINMUSTSELECTSOFTWARE = "InvalidParameter.NotContainMustSelectSoftware" INVALIDPARAMETER_ORDERFIELDNOTMATCH = "InvalidParameter.OrderFieldNotMatch" INVALIDPARAMETER_PAYMODERESOURCENOTMATCH = "InvalidParameter.PayModeResourceNotMatch" INVALIDPARAMETER_SOFTWARENOTINPRODUCT = "InvalidParameter.SoftwareNotInProduct" INVALIDPARAMETER_UNGRANTEDPOLICY = "InvalidParameter.UngrantedPolicy" INVALIDPARAMETER_UNGRANTEDROLE = "InvalidParameter.UngrantedRole" INVALIDPARAMETER_ZONERESOURCENOTMATCH = "InvalidParameter.ZoneResourceNotMatch" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCEINSUFFICIENT_DISKINSUFFICIENT = "ResourceInsufficient.DiskInsufficient" RESOURCEINSUFFICIENT_INSTANCEINSUFFICIENT = "ResourceInsufficient.InstanceInsufficient" RESOURCENOTFOUND_TAGSNOTFOUND = "ResourceNotFound.TagsNotFound" RESOURCESSOLDOUT = "ResourcesSoldOut" RESOURCESSOLDOUT_CBSSOLDOUT = "ResourcesSoldOut.CbsSoldOut" RESOURCESSOLDOUT_CVMSOLDOUT = "ResourcesSoldOut.CvmSoldOut" UNAUTHORIZEDOPERATION_CHECKCAMAUTH = "UnauthorizedOperation.CheckCamAuth" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeSLInstanceWithContext ¶
func (c *Client) DescribeSLInstanceWithContext(ctx context.Context, request *DescribeSLInstanceRequest) (response *DescribeSLInstanceResponse, err error)
DescribeSLInstance This API is used to query the basic information of Serverless HBase instances.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_REFUNDCVMFAILED = "FailedOperation.RefundCvmFailed" INTERNALERROR = "InternalError" INTERNALERROR_CAMCGWERROR = "InternalError.CamCgwError" INTERNALERROR_CVMERROR = "InternalError.CvmError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDAPPID = "InvalidParameter.InvalidAppId" INVALIDPARAMETER_INVALIDCLUSTERID = "InvalidParameter.InvalidClusterId" INVALIDPARAMETER_INVALIDINSTANCENAME = "InvalidParameter.InvalidInstanceName" INVALIDPARAMETER_INVALIDZONE = "InvalidParameter.InvalidZone" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" RESOURCEUNAVAILABLE_RESOURCESPECNOTEXIST = "ResourceUnavailable.ResourceSpecNotExist" UNAUTHORIZEDOPERATION_CHECKCAMAUTH = "UnauthorizedOperation.CheckCamAuth" UNSUPPORTEDOPERATION_SERVICENOTSUPPORT = "UnsupportedOperation.ServiceNotSupport"
func (*Client) DescribeServiceConfGroupInfos ¶
func (c *Client) DescribeServiceConfGroupInfos(request *DescribeServiceConfGroupInfosRequest) (response *DescribeServiceConfGroupInfosResponse, err error)
DescribeServiceConfGroupInfos This API is used to describe service configuration group information.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DUPLICATEORDERNOTALLOWED = "FailedOperation.DuplicateOrderNotAllowed" INTERNALERROR = "InternalError" INTERNALERROR_ACCOUNTCGWERROR = "InternalError.AccountCgwError" INTERNALERROR_CAMCGWERROR = "InternalError.CamCgwError" INTERNALERROR_CAMERROR = "InternalError.CamError" INTERNALERROR_CBSCGWERROR = "InternalError.CbsCgwError" INTERNALERROR_CBSERROR = "InternalError.CbsError" INTERNALERROR_CDBCGWERROR = "InternalError.CdbCgwError" INTERNALERROR_CDBERROR = "InternalError.CdbError" INTERNALERROR_CHECKQUOTAERR = "InternalError.CheckQuotaErr" INTERNALERROR_CONFIGCGWERROR = "InternalError.ConfigCgwError" INTERNALERROR_CVMERROR = "InternalError.CvmError" INTERNALERROR_KMSERROR = "InternalError.KmsError" INTERNALERROR_PROJECTCGWERROR = "InternalError.ProjectCgwError" INTERNALERROR_SGERROR = "InternalError.SgError" INTERNALERROR_TAGERROR = "InternalError.TagError" INTERNALERROR_TRADECGWERROR = "InternalError.TradeCgwError" INTERNALERROR_VPCCGWERROR = "InternalError.VpcCgwError" INTERNALERROR_VPCERROR = "InternalError.VpcError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_DISPLAYSTRATEGYNOTMATCH = "InvalidParameter.DisplayStrategyNotMatch" INVALIDPARAMETER_INVALIDAUTORENEW = "InvalidParameter.InvalidAutoRenew" INVALIDPARAMETER_INVALIDCLIENTTOKEN = "InvalidParameter.InvalidClientToken" INVALIDPARAMETER_INVALIDCOMPONENT = "InvalidParameter.InvalidComponent" INVALIDPARAMETER_INVALIDCORECOUNT = "InvalidParameter.InvalidCoreCount" INVALIDPARAMETER_INVALIDDISKSIZE = "InvalidParameter.InvalidDiskSize" INVALIDPARAMETER_INVALIDEXTENDFIELD = "InvalidParameter.InvalidExtendField" INVALIDPARAMETER_INVALIDINSTANCENAME = "InvalidParameter.InvalidInstanceName" INVALIDPARAMETER_INVALIDINSTANCETYPE = "InvalidParameter.InvalidInstanceType" INVALIDPARAMETER_INVALIDLOGINSETTING = "InvalidParameter.InvalidLoginSetting" INVALIDPARAMETER_INVALIDMETATYPE = "InvalidParameter.InvalidMetaType" INVALIDPARAMETER_INVALIDPASSWORD = "InvalidParameter.InvalidPassword" INVALIDPARAMETER_INVALIDPAYMODE = "InvalidParameter.InvalidPaymode" INVALIDPARAMETER_INVALIDPREEXECUTEDFILE = "InvalidParameter.InvalidPreExecutedFile" INVALIDPARAMETER_INVALIDPRODUCTID = "InvalidParameter.InvalidProductId" INVALIDPARAMETER_INVALIDPROJECTID = "InvalidParameter.InvalidProjectId" INVALIDPARAMETER_INVALIDRESOURCESPEC = "InvalidParameter.InvalidResourceSpec" INVALIDPARAMETER_INVALIDSERCURITYGRPUPID = "InvalidParameter.InvalidSercurityGrpupId" INVALIDPARAMETER_INVALIDSERVICENAME = "InvalidParameter.InvalidServiceName" INVALIDPARAMETER_INVALIDSOFTDEPLOYINFO = "InvalidParameter.InvalidSoftDeployInfo" INVALIDPARAMETER_INVALIDSOFTINFO = "InvalidParameter.InvalidSoftInfo" INVALIDPARAMETER_INVALIDSOFTWARE = "InvalidParameter.InvalidSoftWare" INVALIDPARAMETER_INVALIDSOFTWARENAME = "InvalidParameter.InvalidSoftWareName" INVALIDPARAMETER_INVALIDSOFTWAREVERSION = "InvalidParameter.InvalidSoftWareVersion" INVALIDPARAMETER_INVALIDSUBNETID = "InvalidParameter.InvalidSubnetId" INVALIDPARAMETER_INVALIDSUPPORTHA = "InvalidParameter.InvalidSupportHA" INVALIDPARAMETER_INVALIDTIMESPAN = "InvalidParameter.InvalidTimeSpan" INVALIDPARAMETER_INVALIDTIMEUNIT = "InvalidParameter.InvalidTimeUnit" INVALIDPARAMETER_INVALIDVPCID = "InvalidParameter.InvalidVpcId" INVALIDPARAMETER_INVALIDZONE = "InvalidParameter.InvalidZone" INVALIDPARAMETER_NOTCONTAINMUSTSELECTSOFTWARE = "InvalidParameter.NotContainMustSelectSoftware" INVALIDPARAMETER_ORDERFIELDNOTMATCH = "InvalidParameter.OrderFieldNotMatch" INVALIDPARAMETER_PAYMODERESOURCENOTMATCH = "InvalidParameter.PayModeResourceNotMatch" INVALIDPARAMETER_SOFTWARENOTINPRODUCT = "InvalidParameter.SoftwareNotInProduct" INVALIDPARAMETER_UNGRANTEDPOLICY = "InvalidParameter.UngrantedPolicy" INVALIDPARAMETER_UNGRANTEDROLE = "InvalidParameter.UngrantedRole" INVALIDPARAMETER_ZONERESOURCENOTMATCH = "InvalidParameter.ZoneResourceNotMatch" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCEINSUFFICIENT_DISKINSUFFICIENT = "ResourceInsufficient.DiskInsufficient" RESOURCEINSUFFICIENT_INSTANCEINSUFFICIENT = "ResourceInsufficient.InstanceInsufficient" RESOURCENOTFOUND_TAGSNOTFOUND = "ResourceNotFound.TagsNotFound" RESOURCESSOLDOUT = "ResourcesSoldOut" RESOURCESSOLDOUT_CBSSOLDOUT = "ResourcesSoldOut.CbsSoldOut" RESOURCESSOLDOUT_CVMSOLDOUT = "ResourcesSoldOut.CvmSoldOut" UNAUTHORIZEDOPERATION_CHECKCAMAUTH = "UnauthorizedOperation.CheckCamAuth" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeServiceConfGroupInfosWithContext ¶
func (c *Client) DescribeServiceConfGroupInfosWithContext(ctx context.Context, request *DescribeServiceConfGroupInfosRequest) (response *DescribeServiceConfGroupInfosResponse, err error)
DescribeServiceConfGroupInfos This API is used to describe service configuration group information.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DUPLICATEORDERNOTALLOWED = "FailedOperation.DuplicateOrderNotAllowed" INTERNALERROR = "InternalError" INTERNALERROR_ACCOUNTCGWERROR = "InternalError.AccountCgwError" INTERNALERROR_CAMCGWERROR = "InternalError.CamCgwError" INTERNALERROR_CAMERROR = "InternalError.CamError" INTERNALERROR_CBSCGWERROR = "InternalError.CbsCgwError" INTERNALERROR_CBSERROR = "InternalError.CbsError" INTERNALERROR_CDBCGWERROR = "InternalError.CdbCgwError" INTERNALERROR_CDBERROR = "InternalError.CdbError" INTERNALERROR_CHECKQUOTAERR = "InternalError.CheckQuotaErr" INTERNALERROR_CONFIGCGWERROR = "InternalError.ConfigCgwError" INTERNALERROR_CVMERROR = "InternalError.CvmError" INTERNALERROR_KMSERROR = "InternalError.KmsError" INTERNALERROR_PROJECTCGWERROR = "InternalError.ProjectCgwError" INTERNALERROR_SGERROR = "InternalError.SgError" INTERNALERROR_TAGERROR = "InternalError.TagError" INTERNALERROR_TRADECGWERROR = "InternalError.TradeCgwError" INTERNALERROR_VPCCGWERROR = "InternalError.VpcCgwError" INTERNALERROR_VPCERROR = "InternalError.VpcError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_DISPLAYSTRATEGYNOTMATCH = "InvalidParameter.DisplayStrategyNotMatch" INVALIDPARAMETER_INVALIDAUTORENEW = "InvalidParameter.InvalidAutoRenew" INVALIDPARAMETER_INVALIDCLIENTTOKEN = "InvalidParameter.InvalidClientToken" INVALIDPARAMETER_INVALIDCOMPONENT = "InvalidParameter.InvalidComponent" INVALIDPARAMETER_INVALIDCORECOUNT = "InvalidParameter.InvalidCoreCount" INVALIDPARAMETER_INVALIDDISKSIZE = "InvalidParameter.InvalidDiskSize" INVALIDPARAMETER_INVALIDEXTENDFIELD = "InvalidParameter.InvalidExtendField" INVALIDPARAMETER_INVALIDINSTANCENAME = "InvalidParameter.InvalidInstanceName" INVALIDPARAMETER_INVALIDINSTANCETYPE = "InvalidParameter.InvalidInstanceType" INVALIDPARAMETER_INVALIDLOGINSETTING = "InvalidParameter.InvalidLoginSetting" INVALIDPARAMETER_INVALIDMETATYPE = "InvalidParameter.InvalidMetaType" INVALIDPARAMETER_INVALIDPASSWORD = "InvalidParameter.InvalidPassword" INVALIDPARAMETER_INVALIDPAYMODE = "InvalidParameter.InvalidPaymode" INVALIDPARAMETER_INVALIDPREEXECUTEDFILE = "InvalidParameter.InvalidPreExecutedFile" INVALIDPARAMETER_INVALIDPRODUCTID = "InvalidParameter.InvalidProductId" INVALIDPARAMETER_INVALIDPROJECTID = "InvalidParameter.InvalidProjectId" INVALIDPARAMETER_INVALIDRESOURCESPEC = "InvalidParameter.InvalidResourceSpec" INVALIDPARAMETER_INVALIDSERCURITYGRPUPID = "InvalidParameter.InvalidSercurityGrpupId" INVALIDPARAMETER_INVALIDSERVICENAME = "InvalidParameter.InvalidServiceName" INVALIDPARAMETER_INVALIDSOFTDEPLOYINFO = "InvalidParameter.InvalidSoftDeployInfo" INVALIDPARAMETER_INVALIDSOFTINFO = "InvalidParameter.InvalidSoftInfo" INVALIDPARAMETER_INVALIDSOFTWARE = "InvalidParameter.InvalidSoftWare" INVALIDPARAMETER_INVALIDSOFTWARENAME = "InvalidParameter.InvalidSoftWareName" INVALIDPARAMETER_INVALIDSOFTWAREVERSION = "InvalidParameter.InvalidSoftWareVersion" INVALIDPARAMETER_INVALIDSUBNETID = "InvalidParameter.InvalidSubnetId" INVALIDPARAMETER_INVALIDSUPPORTHA = "InvalidParameter.InvalidSupportHA" INVALIDPARAMETER_INVALIDTIMESPAN = "InvalidParameter.InvalidTimeSpan" INVALIDPARAMETER_INVALIDTIMEUNIT = "InvalidParameter.InvalidTimeUnit" INVALIDPARAMETER_INVALIDVPCID = "InvalidParameter.InvalidVpcId" INVALIDPARAMETER_INVALIDZONE = "InvalidParameter.InvalidZone" INVALIDPARAMETER_NOTCONTAINMUSTSELECTSOFTWARE = "InvalidParameter.NotContainMustSelectSoftware" INVALIDPARAMETER_ORDERFIELDNOTMATCH = "InvalidParameter.OrderFieldNotMatch" INVALIDPARAMETER_PAYMODERESOURCENOTMATCH = "InvalidParameter.PayModeResourceNotMatch" INVALIDPARAMETER_SOFTWARENOTINPRODUCT = "InvalidParameter.SoftwareNotInProduct" INVALIDPARAMETER_UNGRANTEDPOLICY = "InvalidParameter.UngrantedPolicy" INVALIDPARAMETER_UNGRANTEDROLE = "InvalidParameter.UngrantedRole" INVALIDPARAMETER_ZONERESOURCENOTMATCH = "InvalidParameter.ZoneResourceNotMatch" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCEINSUFFICIENT_DISKINSUFFICIENT = "ResourceInsufficient.DiskInsufficient" RESOURCEINSUFFICIENT_INSTANCEINSUFFICIENT = "ResourceInsufficient.InstanceInsufficient" RESOURCENOTFOUND_TAGSNOTFOUND = "ResourceNotFound.TagsNotFound" RESOURCESSOLDOUT = "ResourcesSoldOut" RESOURCESSOLDOUT_CBSSOLDOUT = "ResourcesSoldOut.CbsSoldOut" RESOURCESSOLDOUT_CVMSOLDOUT = "ResourcesSoldOut.CvmSoldOut" UNAUTHORIZEDOPERATION_CHECKCAMAUTH = "UnauthorizedOperation.CheckCamAuth" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeServiceNodeInfos ¶
func (c *Client) DescribeServiceNodeInfos(request *DescribeServiceNodeInfosRequest) (response *DescribeServiceNodeInfosResponse, err error)
DescribeServiceNodeInfos This API is used to query service process information.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INTERNALERROR_ACCOUNTCGWERROR = "InternalError.AccountCgwError" INTERNALERROR_CAMCGWERROR = "InternalError.CamCgwError" INTERNALERROR_CAMERROR = "InternalError.CamError" INTERNALERROR_CBSCGWERROR = "InternalError.CbsCgwError" INTERNALERROR_CBSERROR = "InternalError.CbsError" INTERNALERROR_CDBCGWERROR = "InternalError.CdbCgwError" INTERNALERROR_CDBERROR = "InternalError.CdbError" INTERNALERROR_CONFIGCGWERROR = "InternalError.ConfigCgwError" INTERNALERROR_CVMERROR = "InternalError.CvmError" INTERNALERROR_KMSERROR = "InternalError.KmsError" INTERNALERROR_PROJECTCGWERROR = "InternalError.ProjectCgwError" INTERNALERROR_SGERROR = "InternalError.SgError" INTERNALERROR_TAGERROR = "InternalError.TagError" INTERNALERROR_TRADECGWERROR = "InternalError.TradeCgwError" INTERNALERROR_VPCCGWERROR = "InternalError.VpcCgwError" INTERNALERROR_VPCERROR = "InternalError.VpcError" INTERNALERROR_WOODSERVERERROR = "InternalError.WoodServerError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDAPPID = "InvalidParameter.InvalidAppId" RESOURCENOTFOUND_CLUSTERNOTFOUND = "ResourceNotFound.ClusterNotFound" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" UNAUTHORIZEDOPERATION_CHECKCAMAUTH = "UnauthorizedOperation.CheckCamAuth" UNSUPPORTEDOPERATION_SERVICENOTSUPPORT = "UnsupportedOperation.ServiceNotSupport"
func (*Client) DescribeServiceNodeInfosWithContext ¶
func (c *Client) DescribeServiceNodeInfosWithContext(ctx context.Context, request *DescribeServiceNodeInfosRequest) (response *DescribeServiceNodeInfosResponse, err error)
DescribeServiceNodeInfos This API is used to query service process information.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INTERNALERROR_ACCOUNTCGWERROR = "InternalError.AccountCgwError" INTERNALERROR_CAMCGWERROR = "InternalError.CamCgwError" INTERNALERROR_CAMERROR = "InternalError.CamError" INTERNALERROR_CBSCGWERROR = "InternalError.CbsCgwError" INTERNALERROR_CBSERROR = "InternalError.CbsError" INTERNALERROR_CDBCGWERROR = "InternalError.CdbCgwError" INTERNALERROR_CDBERROR = "InternalError.CdbError" INTERNALERROR_CONFIGCGWERROR = "InternalError.ConfigCgwError" INTERNALERROR_CVMERROR = "InternalError.CvmError" INTERNALERROR_KMSERROR = "InternalError.KmsError" INTERNALERROR_PROJECTCGWERROR = "InternalError.ProjectCgwError" INTERNALERROR_SGERROR = "InternalError.SgError" INTERNALERROR_TAGERROR = "InternalError.TagError" INTERNALERROR_TRADECGWERROR = "InternalError.TradeCgwError" INTERNALERROR_VPCCGWERROR = "InternalError.VpcCgwError" INTERNALERROR_VPCERROR = "InternalError.VpcError" INTERNALERROR_WOODSERVERERROR = "InternalError.WoodServerError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDAPPID = "InvalidParameter.InvalidAppId" RESOURCENOTFOUND_CLUSTERNOTFOUND = "ResourceNotFound.ClusterNotFound" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" UNAUTHORIZEDOPERATION_CHECKCAMAUTH = "UnauthorizedOperation.CheckCamAuth" UNSUPPORTEDOPERATION_SERVICENOTSUPPORT = "UnsupportedOperation.ServiceNotSupport"
func (*Client) DescribeSparkApplications ¶
func (c *Client) DescribeSparkApplications(request *DescribeSparkApplicationsRequest) (response *DescribeSparkApplicationsResponse, err error)
DescribeSparkApplications This API is used to obtain a Spark application list.
error code that may be returned:
RESOURCENOTFOUND_CLUSTERNOTFOUND = "ResourceNotFound.ClusterNotFound" UNAUTHORIZEDOPERATION_APPIDMISMATCHED = "UnauthorizedOperation.AppIdMismatched"
func (*Client) DescribeSparkApplicationsWithContext ¶
func (c *Client) DescribeSparkApplicationsWithContext(ctx context.Context, request *DescribeSparkApplicationsRequest) (response *DescribeSparkApplicationsResponse, err error)
DescribeSparkApplications This API is used to obtain a Spark application list.
error code that may be returned:
RESOURCENOTFOUND_CLUSTERNOTFOUND = "ResourceNotFound.ClusterNotFound" UNAUTHORIZEDOPERATION_APPIDMISMATCHED = "UnauthorizedOperation.AppIdMismatched"
func (*Client) DescribeSparkQueries ¶
func (c *Client) DescribeSparkQueries(request *DescribeSparkQueriesRequest) (response *DescribeSparkQueriesResponse, err error)
DescribeSparkQueries This API is used to query the Spark query information list.
error code that may be returned:
INVALIDPARAMETER_INVALIDCLUSTERID = "InvalidParameter.InvalidClusterId" UNAUTHORIZEDOPERATION_APPIDMISMATCHED = "UnauthorizedOperation.AppIdMismatched"
func (*Client) DescribeSparkQueriesWithContext ¶
func (c *Client) DescribeSparkQueriesWithContext(ctx context.Context, request *DescribeSparkQueriesRequest) (response *DescribeSparkQueriesResponse, err error)
DescribeSparkQueries This API is used to query the Spark query information list.
error code that may be returned:
INVALIDPARAMETER_INVALIDCLUSTERID = "InvalidParameter.InvalidClusterId" UNAUTHORIZEDOPERATION_APPIDMISMATCHED = "UnauthorizedOperation.AppIdMismatched"
func (*Client) DescribeStarRocksQueryInfo ¶
func (c *Client) DescribeStarRocksQueryInfo(request *DescribeStarRocksQueryInfoRequest) (response *DescribeStarRocksQueryInfoResponse, err error)
DescribeStarRocksQueryInfo This API is used to query StarRocks information.
error code that may be returned:
INVALIDPARAMETER_INVALIDCLUSTERID = "InvalidParameter.InvalidClusterId" UNAUTHORIZEDOPERATION_APPIDMISMATCHED = "UnauthorizedOperation.AppIdMismatched"
func (*Client) DescribeStarRocksQueryInfoWithContext ¶
func (c *Client) DescribeStarRocksQueryInfoWithContext(ctx context.Context, request *DescribeStarRocksQueryInfoRequest) (response *DescribeStarRocksQueryInfoResponse, err error)
DescribeStarRocksQueryInfo This API is used to query StarRocks information.
error code that may be returned:
INVALIDPARAMETER_INVALIDCLUSTERID = "InvalidParameter.InvalidClusterId" UNAUTHORIZEDOPERATION_APPIDMISMATCHED = "UnauthorizedOperation.AppIdMismatched"
func (*Client) DescribeTrinoQueryInfo ¶
func (c *Client) DescribeTrinoQueryInfo(request *DescribeTrinoQueryInfoRequest) (response *DescribeTrinoQueryInfoResponse, err error)
DescribeTrinoQueryInfo This API is used to query Trino(PrestoSQL) query information.
error code that may be returned:
RESOURCENOTFOUND_CLUSTERNOTFOUND = "ResourceNotFound.ClusterNotFound" UNAUTHORIZEDOPERATION_APPIDMISMATCHED = "UnauthorizedOperation.AppIdMismatched"
func (*Client) DescribeTrinoQueryInfoWithContext ¶
func (c *Client) DescribeTrinoQueryInfoWithContext(ctx context.Context, request *DescribeTrinoQueryInfoRequest) (response *DescribeTrinoQueryInfoResponse, err error)
DescribeTrinoQueryInfo This API is used to query Trino(PrestoSQL) query information.
error code that may be returned:
RESOURCENOTFOUND_CLUSTERNOTFOUND = "ResourceNotFound.ClusterNotFound" UNAUTHORIZEDOPERATION_APPIDMISMATCHED = "UnauthorizedOperation.AppIdMismatched"
func (*Client) DescribeUsersForUserManager ¶
func (c *Client) DescribeUsersForUserManager(request *DescribeUsersForUserManagerRequest) (response *DescribeUsersForUserManagerResponse, err error)
DescribeUsersForUserManager This API is available for clusters with OpenLDAP components configured.
This API is used to export users in batches. For a Kerberos cluster, set `NeedKeytabInfo` to `true` to obtain the download link of the Keytab file. If `SupportDownLoadKeyTab` is `true`, but `DownLoadKeyTabUrl` is null, the Keytab file is not ready yet (being generated) in the backend.
error code that may be returned:
INTERNALERROR = "InternalError" INVALIDPARAMETER_INVALIDINSTANCENAME = "InvalidParameter.InvalidInstanceName" RESOURCENOTFOUND_CLUSTERNOTFOUND = "ResourceNotFound.ClusterNotFound" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" UNAUTHORIZEDOPERATION_CHECKCAMAUTH = "UnauthorizedOperation.CheckCamAuth"
func (*Client) DescribeUsersForUserManagerWithContext ¶
func (c *Client) DescribeUsersForUserManagerWithContext(ctx context.Context, request *DescribeUsersForUserManagerRequest) (response *DescribeUsersForUserManagerResponse, err error)
DescribeUsersForUserManager This API is available for clusters with OpenLDAP components configured.
This API is used to export users in batches. For a Kerberos cluster, set `NeedKeytabInfo` to `true` to obtain the download link of the Keytab file. If `SupportDownLoadKeyTab` is `true`, but `DownLoadKeyTabUrl` is null, the Keytab file is not ready yet (being generated) in the backend.
error code that may be returned:
INTERNALERROR = "InternalError" INVALIDPARAMETER_INVALIDINSTANCENAME = "InvalidParameter.InvalidInstanceName" RESOURCENOTFOUND_CLUSTERNOTFOUND = "ResourceNotFound.ClusterNotFound" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" UNAUTHORIZEDOPERATION_CHECKCAMAUTH = "UnauthorizedOperation.CheckCamAuth"
func (*Client) DescribeYarnQueue ¶
func (c *Client) DescribeYarnQueue(request *DescribeYarnQueueRequest) (response *DescribeYarnQueueResponse, err error)
DescribeYarnQueue This API is used to obtain queue information in resource scheduling.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR_CAMCGWERROR = "InternalError.CamCgwError" INTERNALERROR_WOODSERVERERROR = "InternalError.WoodServerError" UNAUTHORIZEDOPERATION_CHECKCAMAUTH = "UnauthorizedOperation.CheckCamAuth"
func (*Client) DescribeYarnQueueWithContext ¶
func (c *Client) DescribeYarnQueueWithContext(ctx context.Context, request *DescribeYarnQueueRequest) (response *DescribeYarnQueueResponse, err error)
DescribeYarnQueue This API is used to obtain queue information in resource scheduling.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR_CAMCGWERROR = "InternalError.CamCgwError" INTERNALERROR_WOODSERVERERROR = "InternalError.WoodServerError" UNAUTHORIZEDOPERATION_CHECKCAMAUTH = "UnauthorizedOperation.CheckCamAuth"
func (*Client) DescribeYarnScheduleHistory ¶
func (c *Client) DescribeYarnScheduleHistory(request *DescribeYarnScheduleHistoryRequest) (response *DescribeYarnScheduleHistoryResponse, err error)
DescribeYarnScheduleHistory This API is used to view the YARN resource scheduling history. It has been deprecated. You can use the Process Center to view the history records.
error code that may be returned:
INTERNALERROR_CAMCGWERROR = "InternalError.CamCgwError"
func (*Client) DescribeYarnScheduleHistoryWithContext ¶
func (c *Client) DescribeYarnScheduleHistoryWithContext(ctx context.Context, request *DescribeYarnScheduleHistoryRequest) (response *DescribeYarnScheduleHistoryResponse, err error)
DescribeYarnScheduleHistory This API is used to view the YARN resource scheduling history. It has been deprecated. You can use the Process Center to view the history records.
error code that may be returned:
INTERNALERROR_CAMCGWERROR = "InternalError.CamCgwError"
func (*Client) InquiryPriceCreateInstance ¶
func (c *Client) InquiryPriceCreateInstance(request *InquiryPriceCreateInstanceRequest) (response *InquiryPriceCreateInstanceResponse, err error)
InquiryPriceCreateInstance This API is used to query price of instance creation.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_GETCAMSERVERFAILED = "FailedOperation.GetCamServerFailed" FAILEDOPERATION_GETTRADESERVERFAILED = "FailedOperation.GetTradeServerFailed" INTERNALERROR_ACCOUNTCGWERROR = "InternalError.AccountCgwError" INTERNALERROR_CAMCGWERROR = "InternalError.CamCgwError" INTERNALERROR_CAMERROR = "InternalError.CamError" INTERNALERROR_CBSCGWERROR = "InternalError.CbsCgwError" INTERNALERROR_CBSERROR = "InternalError.CbsError" INTERNALERROR_CDBCGWERROR = "InternalError.CdbCgwError" INTERNALERROR_CDBERROR = "InternalError.CdbError" INTERNALERROR_CONFIGCGWERROR = "InternalError.ConfigCgwError" INTERNALERROR_CVMERROR = "InternalError.CvmError" INTERNALERROR_KMSERROR = "InternalError.KmsError" INTERNALERROR_PROJECTCGWERROR = "InternalError.ProjectCgwError" INTERNALERROR_SGERROR = "InternalError.SgError" INTERNALERROR_TAGERROR = "InternalError.TagError" INTERNALERROR_TRADECGWERROR = "InternalError.TradeCgwError" INTERNALERROR_VPCCGWERROR = "InternalError.VpcCgwError" INTERNALERROR_VPCERROR = "InternalError.VpcError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_HALESSMASTERCOUNT = "InvalidParameter.HALessMasterCount" INVALIDPARAMETER_INCORRECTCOMMONCOUNT = "InvalidParameter.IncorrectCommonCount" INVALIDPARAMETER_INCORRECTMASTERCOUNT = "InvalidParameter.IncorrectMasterCount" INVALIDPARAMETER_INVALIDCOMMONDISKTYPE = "InvalidParameter.InvalidCommonDiskType" INVALIDPARAMETER_INVALIDCORECOUNT = "InvalidParameter.InvalidCoreCount" INVALIDPARAMETER_INVALIDINSTANCETYPE = "InvalidParameter.InvalidInstanceType" INVALIDPARAMETER_INVALIDMASTERDISKTYPE = "InvalidParameter.InvalidMasterDiskType" INVALIDPARAMETER_INVALIDRESOURCESPEC = "InvalidParameter.InvalidResourceSpec" INVALIDPARAMETER_INVALIDSOFTWARENAME = "InvalidParameter.InvalidSoftWareName" INVALIDPARAMETER_INVALIDTIMEUNIT = "InvalidParameter.InvalidTimeUnit" INVALIDPARAMETER_INVALIDUNIFYMETA = "InvalidParameter.InvalidUnifyMeta" INVALIDPARAMETER_INVALIDZONE = "InvalidParameter.InvalidZone" INVALIDPARAMETER_NOTCONTAINMUSTSELECTSOFTWARE = "InvalidParameter.NotContainMustSelectSoftware" INVALIDPARAMETER_SOFTWARENOTINPRODUCT = "InvalidParameter.SoftwareNotInProduct" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCEINSUFFICIENT_DISKINSUFFICIENT = "ResourceInsufficient.DiskInsufficient" RESOURCEINSUFFICIENT_INSTANCEINSUFFICIENT = "ResourceInsufficient.InstanceInsufficient" RESOURCENOTFOUND_SUBNETNOTFOUND = "ResourceNotFound.SubnetNotFound" RESOURCESSOLDOUT = "ResourcesSoldOut" RESOURCESSOLDOUT_CBSSOLDOUT = "ResourcesSoldOut.CbsSoldOut" RESOURCESSOLDOUT_CVMSOLDOUT = "ResourcesSoldOut.CvmSoldOut" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) InquiryPriceCreateInstanceWithContext ¶
func (c *Client) InquiryPriceCreateInstanceWithContext(ctx context.Context, request *InquiryPriceCreateInstanceRequest) (response *InquiryPriceCreateInstanceResponse, err error)
InquiryPriceCreateInstance This API is used to query price of instance creation.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_GETCAMSERVERFAILED = "FailedOperation.GetCamServerFailed" FAILEDOPERATION_GETTRADESERVERFAILED = "FailedOperation.GetTradeServerFailed" INTERNALERROR_ACCOUNTCGWERROR = "InternalError.AccountCgwError" INTERNALERROR_CAMCGWERROR = "InternalError.CamCgwError" INTERNALERROR_CAMERROR = "InternalError.CamError" INTERNALERROR_CBSCGWERROR = "InternalError.CbsCgwError" INTERNALERROR_CBSERROR = "InternalError.CbsError" INTERNALERROR_CDBCGWERROR = "InternalError.CdbCgwError" INTERNALERROR_CDBERROR = "InternalError.CdbError" INTERNALERROR_CONFIGCGWERROR = "InternalError.ConfigCgwError" INTERNALERROR_CVMERROR = "InternalError.CvmError" INTERNALERROR_KMSERROR = "InternalError.KmsError" INTERNALERROR_PROJECTCGWERROR = "InternalError.ProjectCgwError" INTERNALERROR_SGERROR = "InternalError.SgError" INTERNALERROR_TAGERROR = "InternalError.TagError" INTERNALERROR_TRADECGWERROR = "InternalError.TradeCgwError" INTERNALERROR_VPCCGWERROR = "InternalError.VpcCgwError" INTERNALERROR_VPCERROR = "InternalError.VpcError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_HALESSMASTERCOUNT = "InvalidParameter.HALessMasterCount" INVALIDPARAMETER_INCORRECTCOMMONCOUNT = "InvalidParameter.IncorrectCommonCount" INVALIDPARAMETER_INCORRECTMASTERCOUNT = "InvalidParameter.IncorrectMasterCount" INVALIDPARAMETER_INVALIDCOMMONDISKTYPE = "InvalidParameter.InvalidCommonDiskType" INVALIDPARAMETER_INVALIDCORECOUNT = "InvalidParameter.InvalidCoreCount" INVALIDPARAMETER_INVALIDINSTANCETYPE = "InvalidParameter.InvalidInstanceType" INVALIDPARAMETER_INVALIDMASTERDISKTYPE = "InvalidParameter.InvalidMasterDiskType" INVALIDPARAMETER_INVALIDRESOURCESPEC = "InvalidParameter.InvalidResourceSpec" INVALIDPARAMETER_INVALIDSOFTWARENAME = "InvalidParameter.InvalidSoftWareName" INVALIDPARAMETER_INVALIDTIMEUNIT = "InvalidParameter.InvalidTimeUnit" INVALIDPARAMETER_INVALIDUNIFYMETA = "InvalidParameter.InvalidUnifyMeta" INVALIDPARAMETER_INVALIDZONE = "InvalidParameter.InvalidZone" INVALIDPARAMETER_NOTCONTAINMUSTSELECTSOFTWARE = "InvalidParameter.NotContainMustSelectSoftware" INVALIDPARAMETER_SOFTWARENOTINPRODUCT = "InvalidParameter.SoftwareNotInProduct" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCEINSUFFICIENT_DISKINSUFFICIENT = "ResourceInsufficient.DiskInsufficient" RESOURCEINSUFFICIENT_INSTANCEINSUFFICIENT = "ResourceInsufficient.InstanceInsufficient" RESOURCENOTFOUND_SUBNETNOTFOUND = "ResourceNotFound.SubnetNotFound" RESOURCESSOLDOUT = "ResourcesSoldOut" RESOURCESSOLDOUT_CBSSOLDOUT = "ResourcesSoldOut.CbsSoldOut" RESOURCESSOLDOUT_CVMSOLDOUT = "ResourcesSoldOut.CvmSoldOut" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) InquiryPriceRenewInstance ¶
func (c *Client) InquiryPriceRenewInstance(request *InquiryPriceRenewInstanceRequest) (response *InquiryPriceRenewInstanceResponse, err error)
InquiryPriceRenewInstance This API is used to query the price for renewal.
error code that may be returned:
FAILEDOPERATION_GETCVMSERVERFAILED = "FailedOperation.GetCvmServerFailed" INTERNALERROR = "InternalError" INTERNALERROR_ACCOUNTCGWERROR = "InternalError.AccountCgwError" INTERNALERROR_CAMCGWERROR = "InternalError.CamCgwError" INTERNALERROR_CAMERROR = "InternalError.CamError" INTERNALERROR_CBSCGWERROR = "InternalError.CbsCgwError" INTERNALERROR_CBSERROR = "InternalError.CbsError" INTERNALERROR_CDBCGWERROR = "InternalError.CdbCgwError" INTERNALERROR_CDBERROR = "InternalError.CdbError" INTERNALERROR_CHECKQUOTAERR = "InternalError.CheckQuotaErr" INTERNALERROR_CONFIGCGWERROR = "InternalError.ConfigCgwError" INTERNALERROR_CVMERROR = "InternalError.CvmError" INTERNALERROR_KMSERROR = "InternalError.KmsError" INTERNALERROR_PROJECTCGWERROR = "InternalError.ProjectCgwError" INTERNALERROR_SGERROR = "InternalError.SgError" INTERNALERROR_TAGERROR = "InternalError.TagError" INTERNALERROR_TRADECGWERROR = "InternalError.TradeCgwError" INTERNALERROR_VPCCGWERROR = "InternalError.VpcCgwError" INTERNALERROR_VPCERROR = "InternalError.VpcError" INVALIDPARAMETER_INVALIDRESOURCEIDS = "InvalidParameter.InvalidResourceIds" INVALIDPARAMETER_INVALIDRESOURCESPEC = "InvalidParameter.InvalidResourceSpec" INVALIDPARAMETER_INVALIDTIMESPAN = "InvalidParameter.InvalidTimeSpan" INVALIDPARAMETER_INVALIDTIMEUNIT = "InvalidParameter.InvalidTimeUnit" INVALIDPARAMETER_PAYMODERESOURCENOTMATCH = "InvalidParameter.PayModeResourceNotMatch" INVALIDPARAMETER_PROJECTRESOURCENOTMATCH = "InvalidParameter.ProjectResourceNotMatch" INVALIDPARAMETER_ZONERESOURCENOTMATCH = "InvalidParameter.ZoneResourceNotMatch" RESOURCEINUSE_INSTANCEINPROCESS = "ResourceInUse.InstanceInProcess" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" RESOURCENOTFOUND_RESOURCENOTFOUND = "ResourceNotFound.ResourceNotFound"
func (*Client) InquiryPriceRenewInstanceWithContext ¶
func (c *Client) InquiryPriceRenewInstanceWithContext(ctx context.Context, request *InquiryPriceRenewInstanceRequest) (response *InquiryPriceRenewInstanceResponse, err error)
InquiryPriceRenewInstance This API is used to query the price for renewal.
error code that may be returned:
FAILEDOPERATION_GETCVMSERVERFAILED = "FailedOperation.GetCvmServerFailed" INTERNALERROR = "InternalError" INTERNALERROR_ACCOUNTCGWERROR = "InternalError.AccountCgwError" INTERNALERROR_CAMCGWERROR = "InternalError.CamCgwError" INTERNALERROR_CAMERROR = "InternalError.CamError" INTERNALERROR_CBSCGWERROR = "InternalError.CbsCgwError" INTERNALERROR_CBSERROR = "InternalError.CbsError" INTERNALERROR_CDBCGWERROR = "InternalError.CdbCgwError" INTERNALERROR_CDBERROR = "InternalError.CdbError" INTERNALERROR_CHECKQUOTAERR = "InternalError.CheckQuotaErr" INTERNALERROR_CONFIGCGWERROR = "InternalError.ConfigCgwError" INTERNALERROR_CVMERROR = "InternalError.CvmError" INTERNALERROR_KMSERROR = "InternalError.KmsError" INTERNALERROR_PROJECTCGWERROR = "InternalError.ProjectCgwError" INTERNALERROR_SGERROR = "InternalError.SgError" INTERNALERROR_TAGERROR = "InternalError.TagError" INTERNALERROR_TRADECGWERROR = "InternalError.TradeCgwError" INTERNALERROR_VPCCGWERROR = "InternalError.VpcCgwError" INTERNALERROR_VPCERROR = "InternalError.VpcError" INVALIDPARAMETER_INVALIDRESOURCEIDS = "InvalidParameter.InvalidResourceIds" INVALIDPARAMETER_INVALIDRESOURCESPEC = "InvalidParameter.InvalidResourceSpec" INVALIDPARAMETER_INVALIDTIMESPAN = "InvalidParameter.InvalidTimeSpan" INVALIDPARAMETER_INVALIDTIMEUNIT = "InvalidParameter.InvalidTimeUnit" INVALIDPARAMETER_PAYMODERESOURCENOTMATCH = "InvalidParameter.PayModeResourceNotMatch" INVALIDPARAMETER_PROJECTRESOURCENOTMATCH = "InvalidParameter.ProjectResourceNotMatch" INVALIDPARAMETER_ZONERESOURCENOTMATCH = "InvalidParameter.ZoneResourceNotMatch" RESOURCEINUSE_INSTANCEINPROCESS = "ResourceInUse.InstanceInProcess" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" RESOURCENOTFOUND_RESOURCENOTFOUND = "ResourceNotFound.ResourceNotFound"
func (*Client) InquiryPriceScaleOutInstance ¶
func (c *Client) InquiryPriceScaleOutInstance(request *InquiryPriceScaleOutInstanceRequest) (response *InquiryPriceScaleOutInstanceResponse, err error)
InquiryPriceScaleOutInstance This API is used to query price of scale-out.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR_ACCOUNTCGWERROR = "InternalError.AccountCgwError" INTERNALERROR_CAMCGWERROR = "InternalError.CamCgwError" INTERNALERROR_CAMERROR = "InternalError.CamError" INTERNALERROR_CBSCGWERROR = "InternalError.CbsCgwError" INTERNALERROR_CBSERROR = "InternalError.CbsError" INTERNALERROR_CDBCGWERROR = "InternalError.CdbCgwError" INTERNALERROR_CDBERROR = "InternalError.CdbError" INTERNALERROR_CHECKQUOTAERR = "InternalError.CheckQuotaErr" INTERNALERROR_CONFIGCGWERROR = "InternalError.ConfigCgwError" INTERNALERROR_CVMERROR = "InternalError.CvmError" INTERNALERROR_KMSERROR = "InternalError.KmsError" INTERNALERROR_PROJECTCGWERROR = "InternalError.ProjectCgwError" INTERNALERROR_SGERROR = "InternalError.SgError" INTERNALERROR_TAGERROR = "InternalError.TagError" INTERNALERROR_TRADECGWERROR = "InternalError.TradeCgwError" INTERNALERROR_VPCCGWERROR = "InternalError.VpcCgwError" INTERNALERROR_VPCERROR = "InternalError.VpcError" INVALIDPARAMETER_INVALIDAPPID = "InvalidParameter.InvalidAppId" INVALIDPARAMETER_INVALIDCORECOUNT = "InvalidParameter.InvalidCoreCount" INVALIDPARAMETER_INVALIDCOUNTNUM = "InvalidParameter.InvalidCountNum" INVALIDPARAMETER_INVALIDINSTANCETYPE = "InvalidParameter.InvalidInstanceType" INVALIDPARAMETER_INVALIDMODIFYSPEC = "InvalidParameter.InvalidModifySpec" INVALIDPARAMETER_INVALIDPAYMODE = "InvalidParameter.InvalidPaymode" INVALIDPARAMETER_INVALIDRESOURCESPEC = "InvalidParameter.InvalidResourceSpec" INVALIDPARAMETER_INVALIDTIMESPAN = "InvalidParameter.InvalidTimeSpan" INVALIDPARAMETER_INVALIDTIMEUNIT = "InvalidParameter.InvalidTimeUnit" INVALIDPARAMETER_INVALIDVPCID = "InvalidParameter.InvalidVpcId" RESOURCEINSUFFICIENT_DISKINSUFFICIENT = "ResourceInsufficient.DiskInsufficient" RESOURCEINSUFFICIENT_INSTANCEINSUFFICIENT = "ResourceInsufficient.InstanceInsufficient" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" RESOURCEUNAVAILABLE_RESOURCESPECNOTDEFAULTSPEC = "ResourceUnavailable.ResourceSpecNotDefaultSpec" RESOURCESSOLDOUT_CVMSOLDOUT = "ResourcesSoldOut.CvmSoldOut"
func (*Client) InquiryPriceScaleOutInstanceWithContext ¶
func (c *Client) InquiryPriceScaleOutInstanceWithContext(ctx context.Context, request *InquiryPriceScaleOutInstanceRequest) (response *InquiryPriceScaleOutInstanceResponse, err error)
InquiryPriceScaleOutInstance This API is used to query price of scale-out.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR_ACCOUNTCGWERROR = "InternalError.AccountCgwError" INTERNALERROR_CAMCGWERROR = "InternalError.CamCgwError" INTERNALERROR_CAMERROR = "InternalError.CamError" INTERNALERROR_CBSCGWERROR = "InternalError.CbsCgwError" INTERNALERROR_CBSERROR = "InternalError.CbsError" INTERNALERROR_CDBCGWERROR = "InternalError.CdbCgwError" INTERNALERROR_CDBERROR = "InternalError.CdbError" INTERNALERROR_CHECKQUOTAERR = "InternalError.CheckQuotaErr" INTERNALERROR_CONFIGCGWERROR = "InternalError.ConfigCgwError" INTERNALERROR_CVMERROR = "InternalError.CvmError" INTERNALERROR_KMSERROR = "InternalError.KmsError" INTERNALERROR_PROJECTCGWERROR = "InternalError.ProjectCgwError" INTERNALERROR_SGERROR = "InternalError.SgError" INTERNALERROR_TAGERROR = "InternalError.TagError" INTERNALERROR_TRADECGWERROR = "InternalError.TradeCgwError" INTERNALERROR_VPCCGWERROR = "InternalError.VpcCgwError" INTERNALERROR_VPCERROR = "InternalError.VpcError" INVALIDPARAMETER_INVALIDAPPID = "InvalidParameter.InvalidAppId" INVALIDPARAMETER_INVALIDCORECOUNT = "InvalidParameter.InvalidCoreCount" INVALIDPARAMETER_INVALIDCOUNTNUM = "InvalidParameter.InvalidCountNum" INVALIDPARAMETER_INVALIDINSTANCETYPE = "InvalidParameter.InvalidInstanceType" INVALIDPARAMETER_INVALIDMODIFYSPEC = "InvalidParameter.InvalidModifySpec" INVALIDPARAMETER_INVALIDPAYMODE = "InvalidParameter.InvalidPaymode" INVALIDPARAMETER_INVALIDRESOURCESPEC = "InvalidParameter.InvalidResourceSpec" INVALIDPARAMETER_INVALIDTIMESPAN = "InvalidParameter.InvalidTimeSpan" INVALIDPARAMETER_INVALIDTIMEUNIT = "InvalidParameter.InvalidTimeUnit" INVALIDPARAMETER_INVALIDVPCID = "InvalidParameter.InvalidVpcId" RESOURCEINSUFFICIENT_DISKINSUFFICIENT = "ResourceInsufficient.DiskInsufficient" RESOURCEINSUFFICIENT_INSTANCEINSUFFICIENT = "ResourceInsufficient.InstanceInsufficient" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" RESOURCEUNAVAILABLE_RESOURCESPECNOTDEFAULTSPEC = "ResourceUnavailable.ResourceSpecNotDefaultSpec" RESOURCESSOLDOUT_CVMSOLDOUT = "ResourcesSoldOut.CvmSoldOut"
func (*Client) InquiryPriceUpdateInstance ¶
func (c *Client) InquiryPriceUpdateInstance(request *InquiryPriceUpdateInstanceRequest) (response *InquiryPriceUpdateInstanceResponse, err error)
InquiryPriceUpdateInstance This API is used to query price of scaling.
error code that may be returned:
FAILEDOPERATION_GETTRADESERVERFAILED = "FailedOperation.GetTradeServerFailed" INTERNALERROR_ACCOUNTCGWERROR = "InternalError.AccountCgwError" INTERNALERROR_CAMCGWERROR = "InternalError.CamCgwError" INTERNALERROR_CAMERROR = "InternalError.CamError" INTERNALERROR_CBSCGWERROR = "InternalError.CbsCgwError" INTERNALERROR_CBSERROR = "InternalError.CbsError" INTERNALERROR_CDBCGWERROR = "InternalError.CdbCgwError" INTERNALERROR_CDBERROR = "InternalError.CdbError" INTERNALERROR_CHECKQUOTAERR = "InternalError.CheckQuotaErr" INTERNALERROR_CONFIGCGWERROR = "InternalError.ConfigCgwError" INTERNALERROR_CVMERROR = "InternalError.CvmError" INTERNALERROR_KMSERROR = "InternalError.KmsError" INTERNALERROR_PROJECTCGWERROR = "InternalError.ProjectCgwError" INTERNALERROR_SGERROR = "InternalError.SgError" INTERNALERROR_TAGERROR = "InternalError.TagError" INTERNALERROR_TRADECGWERROR = "InternalError.TradeCgwError" INTERNALERROR_VPCCGWERROR = "InternalError.VpcCgwError" INTERNALERROR_VPCERROR = "InternalError.VpcError" INVALIDPARAMETER_INVALIDAPPID = "InvalidParameter.InvalidAppId" INVALIDPARAMETER_INVALIDCLUSTERID = "InvalidParameter.InvalidClusterId" INVALIDPARAMETER_INVALIDMODIFYSPEC = "InvalidParameter.InvalidModifySpec" INVALIDPARAMETER_INVALIDRESOURCESPEC = "InvalidParameter.InvalidResourceSpec" INVALIDPARAMETER_INVALIDTIMESPAN = "InvalidParameter.InvalidTimeSpan" INVALIDPARAMETER_INVALIDTIMEUNIT = "InvalidParameter.InvalidTimeUnit" INVALIDPARAMETER_INVALIDVPCID = "InvalidParameter.InvalidVpcId" INVALIDPARAMETER_INVALIDZONE = "InvalidParameter.InvalidZone" INVALIDPARAMETER_ZONERESOURCENOTMATCH = "InvalidParameter.ZoneResourceNotMatch" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" RESOURCENOTFOUND_RESOURCENOTFOUND = "ResourceNotFound.ResourceNotFound"
func (*Client) InquiryPriceUpdateInstanceWithContext ¶
func (c *Client) InquiryPriceUpdateInstanceWithContext(ctx context.Context, request *InquiryPriceUpdateInstanceRequest) (response *InquiryPriceUpdateInstanceResponse, err error)
InquiryPriceUpdateInstance This API is used to query price of scaling.
error code that may be returned:
FAILEDOPERATION_GETTRADESERVERFAILED = "FailedOperation.GetTradeServerFailed" INTERNALERROR_ACCOUNTCGWERROR = "InternalError.AccountCgwError" INTERNALERROR_CAMCGWERROR = "InternalError.CamCgwError" INTERNALERROR_CAMERROR = "InternalError.CamError" INTERNALERROR_CBSCGWERROR = "InternalError.CbsCgwError" INTERNALERROR_CBSERROR = "InternalError.CbsError" INTERNALERROR_CDBCGWERROR = "InternalError.CdbCgwError" INTERNALERROR_CDBERROR = "InternalError.CdbError" INTERNALERROR_CHECKQUOTAERR = "InternalError.CheckQuotaErr" INTERNALERROR_CONFIGCGWERROR = "InternalError.ConfigCgwError" INTERNALERROR_CVMERROR = "InternalError.CvmError" INTERNALERROR_KMSERROR = "InternalError.KmsError" INTERNALERROR_PROJECTCGWERROR = "InternalError.ProjectCgwError" INTERNALERROR_SGERROR = "InternalError.SgError" INTERNALERROR_TAGERROR = "InternalError.TagError" INTERNALERROR_TRADECGWERROR = "InternalError.TradeCgwError" INTERNALERROR_VPCCGWERROR = "InternalError.VpcCgwError" INTERNALERROR_VPCERROR = "InternalError.VpcError" INVALIDPARAMETER_INVALIDAPPID = "InvalidParameter.InvalidAppId" INVALIDPARAMETER_INVALIDCLUSTERID = "InvalidParameter.InvalidClusterId" INVALIDPARAMETER_INVALIDMODIFYSPEC = "InvalidParameter.InvalidModifySpec" INVALIDPARAMETER_INVALIDRESOURCESPEC = "InvalidParameter.InvalidResourceSpec" INVALIDPARAMETER_INVALIDTIMESPAN = "InvalidParameter.InvalidTimeSpan" INVALIDPARAMETER_INVALIDTIMEUNIT = "InvalidParameter.InvalidTimeUnit" INVALIDPARAMETER_INVALIDVPCID = "InvalidParameter.InvalidVpcId" INVALIDPARAMETER_INVALIDZONE = "InvalidParameter.InvalidZone" INVALIDPARAMETER_ZONERESOURCENOTMATCH = "InvalidParameter.ZoneResourceNotMatch" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" RESOURCENOTFOUND_RESOURCENOTFOUND = "ResourceNotFound.ResourceNotFound"
func (*Client) ModifyAutoRenewFlag ¶
func (c *Client) ModifyAutoRenewFlag(request *ModifyAutoRenewFlagRequest) (response *ModifyAutoRenewFlagResponse, err error)
ModifyAutoRenewFlag This API is used to introduce the prerequisite prepaid clusters.
This API is used to enable or disable automatic renewal at the resource level.
error code that may be returned:
INVALIDPARAMETER = "InvalidParameter" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" RESOURCENOTFOUND_RESOURCENOTFOUND = "ResourceNotFound.ResourceNotFound"
func (*Client) ModifyAutoRenewFlagWithContext ¶
func (c *Client) ModifyAutoRenewFlagWithContext(ctx context.Context, request *ModifyAutoRenewFlagRequest) (response *ModifyAutoRenewFlagResponse, err error)
ModifyAutoRenewFlag This API is used to introduce the prerequisite prepaid clusters.
This API is used to enable or disable automatic renewal at the resource level.
error code that may be returned:
INVALIDPARAMETER = "InvalidParameter" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" RESOURCENOTFOUND_RESOURCENOTFOUND = "ResourceNotFound.ResourceNotFound"
func (*Client) ModifyAutoScaleStrategy ¶
func (c *Client) ModifyAutoScaleStrategy(request *ModifyAutoScaleStrategyRequest) (response *ModifyAutoScaleStrategyResponse, err error)
ModifyAutoScaleStrategy This API is used to modify automatic scaling rules.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR_CAMCGWERROR = "InternalError.CamCgwError" INVALIDPARAMETER_INVALIDSTATISTICPERIODORTRIGGERTHRESHOLD = "InvalidParameter.InvalidStatisticPeriodOrTriggerThreshold" INVALIDPARAMETER_INVALIDSTRATEGY = "InvalidParameter.InvalidStrategy" INVALIDPARAMETER_INVALIDSTRATEGYPRIORITY = "InvalidParameter.InvalidStrategyPriority" INVALIDPARAMETER_INVALIDSTRATEGYSPEC = "InvalidParameter.InvalidStrategySpec" INVALIDPARAMETER_INVALIDSTRATEGYTYPE = "InvalidParameter.InvalidStrategyType" INVALIDPARAMETER_INVALIDTIMELAYOUT = "InvalidParameter.InvalidTimeLayout" INVALIDPARAMETER_REPEATEDEXECUTIONTIME = "InvalidParameter.RepeatedExecutionTime" INVALIDPARAMETER_REPEATEDSTRATEGYNAME = "InvalidParameter.RepeatedStrategyName" RESOURCENOTFOUND_STRATEGYNOTFOUND = "ResourceNotFound.StrategyNotFound" UNAUTHORIZEDOPERATION_CHECKCAMAUTH = "UnauthorizedOperation.CheckCamAuth"
func (*Client) ModifyAutoScaleStrategyWithContext ¶
func (c *Client) ModifyAutoScaleStrategyWithContext(ctx context.Context, request *ModifyAutoScaleStrategyRequest) (response *ModifyAutoScaleStrategyResponse, err error)
ModifyAutoScaleStrategy This API is used to modify automatic scaling rules.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR_CAMCGWERROR = "InternalError.CamCgwError" INVALIDPARAMETER_INVALIDSTATISTICPERIODORTRIGGERTHRESHOLD = "InvalidParameter.InvalidStatisticPeriodOrTriggerThreshold" INVALIDPARAMETER_INVALIDSTRATEGY = "InvalidParameter.InvalidStrategy" INVALIDPARAMETER_INVALIDSTRATEGYPRIORITY = "InvalidParameter.InvalidStrategyPriority" INVALIDPARAMETER_INVALIDSTRATEGYSPEC = "InvalidParameter.InvalidStrategySpec" INVALIDPARAMETER_INVALIDSTRATEGYTYPE = "InvalidParameter.InvalidStrategyType" INVALIDPARAMETER_INVALIDTIMELAYOUT = "InvalidParameter.InvalidTimeLayout" INVALIDPARAMETER_REPEATEDEXECUTIONTIME = "InvalidParameter.RepeatedExecutionTime" INVALIDPARAMETER_REPEATEDSTRATEGYNAME = "InvalidParameter.RepeatedStrategyName" RESOURCENOTFOUND_STRATEGYNOTFOUND = "ResourceNotFound.StrategyNotFound" UNAUTHORIZEDOPERATION_CHECKCAMAUTH = "UnauthorizedOperation.CheckCamAuth"
func (*Client) ModifyGlobalConfig ¶
func (c *Client) ModifyGlobalConfig(request *ModifyGlobalConfigRequest) (response *ModifyGlobalConfigResponse, err error)
ModifyGlobalConfig This API is used to modify the global configuration of YARN Resource Scheduling.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_CAMCGWERROR = "InternalError.CamCgwError" INTERNALERROR_WOODSERVERERROR = "InternalError.WoodServerError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDINSTANCENAME = "InvalidParameter.InvalidInstanceName" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
func (*Client) ModifyGlobalConfigWithContext ¶
func (c *Client) ModifyGlobalConfigWithContext(ctx context.Context, request *ModifyGlobalConfigRequest) (response *ModifyGlobalConfigResponse, err error)
ModifyGlobalConfig This API is used to modify the global configuration of YARN Resource Scheduling.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_CAMCGWERROR = "InternalError.CamCgwError" INTERNALERROR_WOODSERVERERROR = "InternalError.WoodServerError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDINSTANCENAME = "InvalidParameter.InvalidInstanceName" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
func (*Client) ModifyInspectionSettings ¶
func (c *Client) ModifyInspectionSettings(request *ModifyInspectionSettingsRequest) (response *ModifyInspectionSettingsResponse, err error)
ModifyInspectionSettings This API is used to set inspection task configurations.
error code that may be returned:
INVALIDPARAMETER = "InvalidParameter"
func (*Client) ModifyInspectionSettingsWithContext ¶
func (c *Client) ModifyInspectionSettingsWithContext(ctx context.Context, request *ModifyInspectionSettingsRequest) (response *ModifyInspectionSettingsResponse, err error)
ModifyInspectionSettings This API is used to set inspection task configurations.
error code that may be returned:
INVALIDPARAMETER = "InvalidParameter"
func (*Client) ModifyInstanceBasic ¶
func (c *Client) ModifyInstanceBasic(request *ModifyInstanceBasicRequest) (response *ModifyInstanceBasicResponse, err error)
ModifyInstanceBasic This API is used to modify a cluster name.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_CAMCGWERROR = "InternalError.CamCgwError" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_CLUSTERNOTFOUND = "ResourceNotFound.ClusterNotFound" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" UNAUTHORIZEDOPERATION_CHECKCAMAUTH = "UnauthorizedOperation.CheckCamAuth"
func (*Client) ModifyInstanceBasicWithContext ¶
func (c *Client) ModifyInstanceBasicWithContext(ctx context.Context, request *ModifyInstanceBasicRequest) (response *ModifyInstanceBasicResponse, err error)
ModifyInstanceBasic This API is used to modify a cluster name.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_CAMCGWERROR = "InternalError.CamCgwError" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_CLUSTERNOTFOUND = "ResourceNotFound.ClusterNotFound" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" UNAUTHORIZEDOPERATION_CHECKCAMAUTH = "UnauthorizedOperation.CheckCamAuth"
func (*Client) ModifyResource ¶
func (c *Client) ModifyResource(request *ModifyResourceRequest) (response *ModifyResourceResponse, err error)
ModifyResource This API is used to resize an instance.
error code that may be returned:
FAILEDOPERATION_DUPLICATEORDERNOTALLOWED = "FailedOperation.DuplicateOrderNotAllowed" INTERNALERROR = "InternalError" INTERNALERROR_ACCOUNTCGWERROR = "InternalError.AccountCgwError" INTERNALERROR_CAMCGWERROR = "InternalError.CamCgwError" INTERNALERROR_CAMERROR = "InternalError.CamError" INTERNALERROR_CBSCGWERROR = "InternalError.CbsCgwError" INTERNALERROR_CBSERROR = "InternalError.CbsError" INTERNALERROR_CDBCGWERROR = "InternalError.CdbCgwError" INTERNALERROR_CDBERROR = "InternalError.CdbError" INTERNALERROR_CONFIGCGWERROR = "InternalError.ConfigCgwError" INTERNALERROR_CVMERROR = "InternalError.CvmError" INTERNALERROR_KMSERROR = "InternalError.KmsError" INTERNALERROR_PROJECTCGWERROR = "InternalError.ProjectCgwError" INTERNALERROR_SGERROR = "InternalError.SgError" INTERNALERROR_TAGERROR = "InternalError.TagError" INTERNALERROR_TRADECGWERROR = "InternalError.TradeCgwError" INTERNALERROR_VPCCGWERROR = "InternalError.VpcCgwError" INTERNALERROR_VPCERROR = "InternalError.VpcError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDCLASSIFICATION = "InvalidParameter.InvalidClassification" INVALIDPARAMETER_INVALIDMODIFYSPEC = "InvalidParameter.InvalidModifySpec" INVALIDPARAMETER_INVALIDPAYMODE = "InvalidParameter.InvalidPaymode" INVALIDPARAMETER_INVALIDRESOURCEID = "InvalidParameter.InvalidResourceId" INVALIDPARAMETER_INVALIDVPCID = "InvalidParameter.InvalidVpcId" RESOURCEINUSE_INSTANCEINPROCESS = "ResourceInUse.InstanceInProcess" RESOURCENOTFOUND_CLUSTERNOTFOUND = "ResourceNotFound.ClusterNotFound" RESOURCENOTFOUND_RESOURCENOTFOUND = "ResourceNotFound.ResourceNotFound"
func (*Client) ModifyResourceScheduleConfig ¶
func (c *Client) ModifyResourceScheduleConfig(request *ModifyResourceScheduleConfigRequest) (response *ModifyResourceScheduleConfigResponse, err error)
ModifyResourceScheduleConfig This API is deprecated. Use ModifyYarnQueueV2 to modify queue configuration. No related logs exist in the past one year.
This API is used to modify the resource configuration of YARN Resource Scheduling. It has been deprecated. Use the ModifyYarnQueueV2 API to modify the queue configuration.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INTERNALERROR_CAMCGWERROR = "InternalError.CamCgwError" INTERNALERROR_WOODSERVERERROR = "InternalError.WoodServerError" INVALIDPARAMETER = "InvalidParameter" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" UNAUTHORIZEDOPERATION_CHECKCAMAUTH = "UnauthorizedOperation.CheckCamAuth"
func (*Client) ModifyResourceScheduleConfigWithContext ¶
func (c *Client) ModifyResourceScheduleConfigWithContext(ctx context.Context, request *ModifyResourceScheduleConfigRequest) (response *ModifyResourceScheduleConfigResponse, err error)
ModifyResourceScheduleConfig This API is deprecated. Use ModifyYarnQueueV2 to modify queue configuration. No related logs exist in the past one year.
This API is used to modify the resource configuration of YARN Resource Scheduling. It has been deprecated. Use the ModifyYarnQueueV2 API to modify the queue configuration.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INTERNALERROR_CAMCGWERROR = "InternalError.CamCgwError" INTERNALERROR_WOODSERVERERROR = "InternalError.WoodServerError" INVALIDPARAMETER = "InvalidParameter" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" UNAUTHORIZEDOPERATION_CHECKCAMAUTH = "UnauthorizedOperation.CheckCamAuth"
func (*Client) ModifyResourceScheduler ¶
func (c *Client) ModifyResourceScheduler(request *ModifyResourceSchedulerRequest) (response *ModifyResourceSchedulerResponse, err error)
ModifyResourceScheduler This API is used to modify a YARN resource scheduler. After the modification, you can click Deploy to bring it into effect.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_CAMCGWERROR = "InternalError.CamCgwError" INVALIDPARAMETER = "InvalidParameter" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
func (*Client) ModifyResourceSchedulerWithContext ¶
func (c *Client) ModifyResourceSchedulerWithContext(ctx context.Context, request *ModifyResourceSchedulerRequest) (response *ModifyResourceSchedulerResponse, err error)
ModifyResourceScheduler This API is used to modify a YARN resource scheduler. After the modification, you can click Deploy to bring it into effect.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_CAMCGWERROR = "InternalError.CamCgwError" INVALIDPARAMETER = "InvalidParameter" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
func (*Client) ModifyResourceWithContext ¶
func (c *Client) ModifyResourceWithContext(ctx context.Context, request *ModifyResourceRequest) (response *ModifyResourceResponse, err error)
ModifyResource This API is used to resize an instance.
error code that may be returned:
FAILEDOPERATION_DUPLICATEORDERNOTALLOWED = "FailedOperation.DuplicateOrderNotAllowed" INTERNALERROR = "InternalError" INTERNALERROR_ACCOUNTCGWERROR = "InternalError.AccountCgwError" INTERNALERROR_CAMCGWERROR = "InternalError.CamCgwError" INTERNALERROR_CAMERROR = "InternalError.CamError" INTERNALERROR_CBSCGWERROR = "InternalError.CbsCgwError" INTERNALERROR_CBSERROR = "InternalError.CbsError" INTERNALERROR_CDBCGWERROR = "InternalError.CdbCgwError" INTERNALERROR_CDBERROR = "InternalError.CdbError" INTERNALERROR_CONFIGCGWERROR = "InternalError.ConfigCgwError" INTERNALERROR_CVMERROR = "InternalError.CvmError" INTERNALERROR_KMSERROR = "InternalError.KmsError" INTERNALERROR_PROJECTCGWERROR = "InternalError.ProjectCgwError" INTERNALERROR_SGERROR = "InternalError.SgError" INTERNALERROR_TAGERROR = "InternalError.TagError" INTERNALERROR_TRADECGWERROR = "InternalError.TradeCgwError" INTERNALERROR_VPCCGWERROR = "InternalError.VpcCgwError" INTERNALERROR_VPCERROR = "InternalError.VpcError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDCLASSIFICATION = "InvalidParameter.InvalidClassification" INVALIDPARAMETER_INVALIDMODIFYSPEC = "InvalidParameter.InvalidModifySpec" INVALIDPARAMETER_INVALIDPAYMODE = "InvalidParameter.InvalidPaymode" INVALIDPARAMETER_INVALIDRESOURCEID = "InvalidParameter.InvalidResourceId" INVALIDPARAMETER_INVALIDVPCID = "InvalidParameter.InvalidVpcId" RESOURCEINUSE_INSTANCEINPROCESS = "ResourceInUse.InstanceInProcess" RESOURCENOTFOUND_CLUSTERNOTFOUND = "ResourceNotFound.ClusterNotFound" RESOURCENOTFOUND_RESOURCENOTFOUND = "ResourceNotFound.ResourceNotFound"
func (*Client) ModifyResourcesTags ¶
func (c *Client) ModifyResourcesTags(request *ModifyResourcesTagsRequest) (response *ModifyResourcesTagsResponse, err error)
ModifyResourcesTags This API is used to forcibly modify tags.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_CAMCGWERROR = "InternalError.CamCgwError" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) ModifyResourcesTagsWithContext ¶
func (c *Client) ModifyResourcesTagsWithContext(ctx context.Context, request *ModifyResourcesTagsRequest) (response *ModifyResourcesTagsResponse, err error)
ModifyResourcesTags This API is used to forcibly modify tags.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_CAMCGWERROR = "InternalError.CamCgwError" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) ModifySLInstance ¶
func (c *Client) ModifySLInstance(request *ModifySLInstanceRequest) (response *ModifySLInstanceResponse, err error)
ModifySLInstance This API is used to resize a Serverless HBase instance.- If the API call is successful, a Serverless HBase instance will be created. If the instance creation request is successful, the RequestID of the request will be returned.- This is an asynchronous API. The operation is not completed immediately when the API call returns. The instance operation result can be viewed by calling DescribeInstancesList to view the StatusDesc status of the current instance.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_REFUNDCVMFAILED = "FailedOperation.RefundCvmFailed" INTERNALERROR = "InternalError" INTERNALERROR_CAMCGWERROR = "InternalError.CamCgwError" INTERNALERROR_CVMERROR = "InternalError.CvmError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDAPPID = "InvalidParameter.InvalidAppId" INVALIDPARAMETER_INVALIDINSTANCENAME = "InvalidParameter.InvalidInstanceName" INVALIDPARAMETER_INVALIDNODECOUNT = "InvalidParameter.InvalidNodeCount" INVALIDPARAMETER_INVALIDPAYMODE = "InvalidParameter.InvalidPaymode" INVALIDPARAMETER_INVALIDZONE = "InvalidParameter.InvalidZone" RESOURCEINUSE_INSTANCEINPROCESS = "ResourceInUse.InstanceInProcess" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" RESOURCEUNAVAILABLE_RESOURCESPECNOTEXIST = "ResourceUnavailable.ResourceSpecNotExist" UNAUTHORIZEDOPERATION_CHECKCAMAUTH = "UnauthorizedOperation.CheckCamAuth" UNSUPPORTEDOPERATION_SERVICENOTSUPPORT = "UnsupportedOperation.ServiceNotSupport"
func (*Client) ModifySLInstanceBasic ¶
func (c *Client) ModifySLInstanceBasic(request *ModifySLInstanceBasicRequest) (response *ModifySLInstanceBasicResponse, err error)
ModifySLInstanceBasic This API is used to modify the Serverless HBase instance name.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_CAMCGWERROR = "InternalError.CamCgwError" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_CLUSTERNOTFOUND = "ResourceNotFound.ClusterNotFound" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" UNAUTHORIZEDOPERATION_CHECKCAMAUTH = "UnauthorizedOperation.CheckCamAuth"
func (*Client) ModifySLInstanceBasicWithContext ¶
func (c *Client) ModifySLInstanceBasicWithContext(ctx context.Context, request *ModifySLInstanceBasicRequest) (response *ModifySLInstanceBasicResponse, err error)
ModifySLInstanceBasic This API is used to modify the Serverless HBase instance name.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_CAMCGWERROR = "InternalError.CamCgwError" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_CLUSTERNOTFOUND = "ResourceNotFound.ClusterNotFound" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" UNAUTHORIZEDOPERATION_CHECKCAMAUTH = "UnauthorizedOperation.CheckCamAuth"
func (*Client) ModifySLInstanceWithContext ¶
func (c *Client) ModifySLInstanceWithContext(ctx context.Context, request *ModifySLInstanceRequest) (response *ModifySLInstanceResponse, err error)
ModifySLInstance This API is used to resize a Serverless HBase instance.- If the API call is successful, a Serverless HBase instance will be created. If the instance creation request is successful, the RequestID of the request will be returned.- This is an asynchronous API. The operation is not completed immediately when the API call returns. The instance operation result can be viewed by calling DescribeInstancesList to view the StatusDesc status of the current instance.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_REFUNDCVMFAILED = "FailedOperation.RefundCvmFailed" INTERNALERROR = "InternalError" INTERNALERROR_CAMCGWERROR = "InternalError.CamCgwError" INTERNALERROR_CVMERROR = "InternalError.CvmError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDAPPID = "InvalidParameter.InvalidAppId" INVALIDPARAMETER_INVALIDINSTANCENAME = "InvalidParameter.InvalidInstanceName" INVALIDPARAMETER_INVALIDNODECOUNT = "InvalidParameter.InvalidNodeCount" INVALIDPARAMETER_INVALIDPAYMODE = "InvalidParameter.InvalidPaymode" INVALIDPARAMETER_INVALIDZONE = "InvalidParameter.InvalidZone" RESOURCEINUSE_INSTANCEINPROCESS = "ResourceInUse.InstanceInProcess" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" RESOURCEUNAVAILABLE_RESOURCESPECNOTEXIST = "ResourceUnavailable.ResourceSpecNotExist" UNAUTHORIZEDOPERATION_CHECKCAMAUTH = "UnauthorizedOperation.CheckCamAuth" UNSUPPORTEDOPERATION_SERVICENOTSUPPORT = "UnsupportedOperation.ServiceNotSupport"
func (*Client) ModifyUserGroup ¶
func (c *Client) ModifyUserGroup(request *ModifyUserGroupRequest) (response *ModifyUserGroupResponse, err error)
ModifyUserGroup This API is used to modify user groups under User Management.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INTERNALERROR_CAMCGWERROR = "InternalError.CamCgwError" INVALIDPARAMETER_INVALIDJOBFLOW = "InvalidParameter.InvalidJobFlow" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" UNAUTHORIZEDOPERATION_CHECKCAMAUTH = "UnauthorizedOperation.CheckCamAuth"
func (*Client) ModifyUserGroupWithContext ¶
func (c *Client) ModifyUserGroupWithContext(ctx context.Context, request *ModifyUserGroupRequest) (response *ModifyUserGroupResponse, err error)
ModifyUserGroup This API is used to modify user groups under User Management.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INTERNALERROR_CAMCGWERROR = "InternalError.CamCgwError" INVALIDPARAMETER_INVALIDJOBFLOW = "InvalidParameter.InvalidJobFlow" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" UNAUTHORIZEDOPERATION_CHECKCAMAUTH = "UnauthorizedOperation.CheckCamAuth"
func (*Client) ModifyUserManagerPwd ¶
func (c *Client) ModifyUserManagerPwd(request *ModifyUserManagerPwdRequest) (response *ModifyUserManagerPwdResponse, err error)
ModifyUserManagerPwd This API is used to change user password (user management).
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_CAMCGWERROR = "InternalError.CamCgwError" RESOURCENOTFOUND_CLUSTERNOTFOUND = "ResourceNotFound.ClusterNotFound" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" UNAUTHORIZEDOPERATION_CHECKCAMAUTH = "UnauthorizedOperation.CheckCamAuth"
func (*Client) ModifyUserManagerPwdWithContext ¶
func (c *Client) ModifyUserManagerPwdWithContext(ctx context.Context, request *ModifyUserManagerPwdRequest) (response *ModifyUserManagerPwdResponse, err error)
ModifyUserManagerPwd This API is used to change user password (user management).
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_CAMCGWERROR = "InternalError.CamCgwError" RESOURCENOTFOUND_CLUSTERNOTFOUND = "ResourceNotFound.ClusterNotFound" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" UNAUTHORIZEDOPERATION_CHECKCAMAUTH = "UnauthorizedOperation.CheckCamAuth"
func (*Client) ModifyUsersOfGroupSTD ¶
func (c *Client) ModifyUsersOfGroupSTD(request *ModifyUsersOfGroupSTDRequest) (response *ModifyUsersOfGroupSTDResponse, err error)
ModifyUsersOfGroupSTD This API is used to change the user information of user groups.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_CAMCGWERROR = "InternalError.CamCgwError" RESOURCENOTFOUND_CLUSTERNOTFOUND = "ResourceNotFound.ClusterNotFound" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" UNAUTHORIZEDOPERATION_CHECKCAMAUTH = "UnauthorizedOperation.CheckCamAuth"
func (*Client) ModifyUsersOfGroupSTDWithContext ¶
func (c *Client) ModifyUsersOfGroupSTDWithContext(ctx context.Context, request *ModifyUsersOfGroupSTDRequest) (response *ModifyUsersOfGroupSTDResponse, err error)
ModifyUsersOfGroupSTD This API is used to change the user information of user groups.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_CAMCGWERROR = "InternalError.CamCgwError" RESOURCENOTFOUND_CLUSTERNOTFOUND = "ResourceNotFound.ClusterNotFound" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" UNAUTHORIZEDOPERATION_CHECKCAMAUTH = "UnauthorizedOperation.CheckCamAuth"
func (*Client) ModifyYarnDeploy ¶
func (c *Client) ModifyYarnDeploy(request *ModifyYarnDeployRequest) (response *ModifyYarnDeployResponse, err error)
ModifyYarnDeploy This API is deprecated. Use DeployYarnConf to bring configurations into effect after deployment.
This API is used to bring configurations into effect after deployment. It has been deprecated. Use the DeployYarnConf API to bring configurations into effect after deployment.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR_CAMCGWERROR = "InternalError.CamCgwError" INTERNALERROR_WOODSERVERERROR = "InternalError.WoodServerError" INVALIDPARAMETER = "InvalidParameter"
func (*Client) ModifyYarnDeployWithContext ¶
func (c *Client) ModifyYarnDeployWithContext(ctx context.Context, request *ModifyYarnDeployRequest) (response *ModifyYarnDeployResponse, err error)
ModifyYarnDeploy This API is deprecated. Use DeployYarnConf to bring configurations into effect after deployment.
This API is used to bring configurations into effect after deployment. It has been deprecated. Use the DeployYarnConf API to bring configurations into effect after deployment.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR_CAMCGWERROR = "InternalError.CamCgwError" INTERNALERROR_WOODSERVERERROR = "InternalError.WoodServerError" INVALIDPARAMETER = "InvalidParameter"
func (*Client) ModifyYarnQueueV2 ¶
func (c *Client) ModifyYarnQueueV2(request *ModifyYarnQueueV2Request) (response *ModifyYarnQueueV2Response, err error)
ModifyYarnQueueV2 This API is used to modify queue information in resource scheduling.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR_CAMCGWERROR = "InternalError.CamCgwError" INTERNALERROR_WOODSERVERERROR = "InternalError.WoodServerError" UNAUTHORIZEDOPERATION_CHECKCAMAUTH = "UnauthorizedOperation.CheckCamAuth"
func (*Client) ModifyYarnQueueV2WithContext ¶
func (c *Client) ModifyYarnQueueV2WithContext(ctx context.Context, request *ModifyYarnQueueV2Request) (response *ModifyYarnQueueV2Response, err error)
ModifyYarnQueueV2 This API is used to modify queue information in resource scheduling.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR_CAMCGWERROR = "InternalError.CamCgwError" INTERNALERROR_WOODSERVERERROR = "InternalError.WoodServerError" UNAUTHORIZEDOPERATION_CHECKCAMAUTH = "UnauthorizedOperation.CheckCamAuth"
func (*Client) ResetYarnConfig ¶
func (c *Client) ResetYarnConfig(request *ResetYarnConfigRequest) (response *ResetYarnConfigResponse, err error)
ResetYarnConfig This API is used to modify the resource configuration of YARN resource scheduling.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INTERNALERROR_CAMCGWERROR = "InternalError.CamCgwError" INTERNALERROR_WOODSERVERERROR = "InternalError.WoodServerError" INVALIDPARAMETER = "InvalidParameter" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" UNAUTHORIZEDOPERATION_CHECKCAMAUTH = "UnauthorizedOperation.CheckCamAuth"
func (*Client) ResetYarnConfigWithContext ¶
func (c *Client) ResetYarnConfigWithContext(ctx context.Context, request *ResetYarnConfigRequest) (response *ResetYarnConfigResponse, err error)
ResetYarnConfig This API is used to modify the resource configuration of YARN resource scheduling.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INTERNALERROR_CAMCGWERROR = "InternalError.CamCgwError" INTERNALERROR_WOODSERVERERROR = "InternalError.WoodServerError" INVALIDPARAMETER = "InvalidParameter" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" UNAUTHORIZEDOPERATION_CHECKCAMAUTH = "UnauthorizedOperation.CheckCamAuth"
func (*Client) ResizeDataDisks ¶
func (c *Client) ResizeDataDisks(request *ResizeDataDisksRequest) (response *ResizeDataDisksResponse, err error)
ResizeDataDisks This API is used to scale out the cloud data disk.
error code that may be returned:
INVALIDPARAMETER_INVALIDDISKSIZE = "InvalidParameter.InvalidDiskSize" RESOURCEINUSE_INSTANCEINPROCESS = "ResourceInUse.InstanceInProcess" UNAUTHORIZEDOPERATION_CHECKCAMAUTH = "UnauthorizedOperation.CheckCamAuth"
func (*Client) ResizeDataDisksWithContext ¶
func (c *Client) ResizeDataDisksWithContext(ctx context.Context, request *ResizeDataDisksRequest) (response *ResizeDataDisksResponse, err error)
ResizeDataDisks This API is used to scale out the cloud data disk.
error code that may be returned:
INVALIDPARAMETER_INVALIDDISKSIZE = "InvalidParameter.InvalidDiskSize" RESOURCEINUSE_INSTANCEINPROCESS = "ResourceInUse.InstanceInProcess" UNAUTHORIZEDOPERATION_CHECKCAMAUTH = "UnauthorizedOperation.CheckCamAuth"
func (*Client) ScaleOutCluster ¶
func (c *Client) ScaleOutCluster(request *ScaleOutClusterRequest) (response *ScaleOutClusterResponse, err error)
ScaleOutCluster This API is used to scale out a cluster.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_GETCVMCONFIGQUOTAFAILED = "FailedOperation.GetCvmConfigQuotaFailed" INVALIDPARAMETER_INVALIDINSTANCECHARGETYPE = "InvalidParameter.InvalidInstanceChargeType" INVALIDPARAMETER_INVALIDINSTANCETYPE = "InvalidParameter.InvalidInstanceType" INVALIDPARAMETER_INVALIDNODEFLAG = "InvalidParameter.InvalidNodeFlag" INVALIDPARAMETER_INVALIDSOFTDEPLOYINFO = "InvalidParameter.InvalidSoftDeployInfo" RESOURCEINUSE_INSTANCEINPROCESS = "ResourceInUse.InstanceInProcess" RESOURCEINSUFFICIENT_DISKINSUFFICIENT = "ResourceInsufficient.DiskInsufficient" RESOURCEINSUFFICIENT_INSTANCEINSUFFICIENT = "ResourceInsufficient.InstanceInsufficient" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" RESOURCEUNAVAILABLE_RESOURCESPECNOTDEFAULTSPEC = "ResourceUnavailable.ResourceSpecNotDefaultSpec"
func (*Client) ScaleOutClusterWithContext ¶
func (c *Client) ScaleOutClusterWithContext(ctx context.Context, request *ScaleOutClusterRequest) (response *ScaleOutClusterResponse, err error)
ScaleOutCluster This API is used to scale out a cluster.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_GETCVMCONFIGQUOTAFAILED = "FailedOperation.GetCvmConfigQuotaFailed" INVALIDPARAMETER_INVALIDINSTANCECHARGETYPE = "InvalidParameter.InvalidInstanceChargeType" INVALIDPARAMETER_INVALIDINSTANCETYPE = "InvalidParameter.InvalidInstanceType" INVALIDPARAMETER_INVALIDNODEFLAG = "InvalidParameter.InvalidNodeFlag" INVALIDPARAMETER_INVALIDSOFTDEPLOYINFO = "InvalidParameter.InvalidSoftDeployInfo" RESOURCEINUSE_INSTANCEINPROCESS = "ResourceInUse.InstanceInProcess" RESOURCEINSUFFICIENT_DISKINSUFFICIENT = "ResourceInsufficient.DiskInsufficient" RESOURCEINSUFFICIENT_INSTANCEINSUFFICIENT = "ResourceInsufficient.InstanceInsufficient" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" RESOURCEUNAVAILABLE_RESOURCESPECNOTDEFAULTSPEC = "ResourceUnavailable.ResourceSpecNotDefaultSpec"
func (*Client) ScaleOutInstance ¶
func (c *Client) ScaleOutInstance(request *ScaleOutInstanceRequest) (response *ScaleOutInstanceResponse, err error)
ScaleOutInstance This API is used to scale out instances.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_CHECKIFSUPPORTPODSTRETCH = "FailedOperation.CheckIfSupportPodStretch" FAILEDOPERATION_DUPLICATEORDERNOTALLOWED = "FailedOperation.DuplicateOrderNotAllowed" FAILEDOPERATION_GETCVMCONFIGQUOTAFAILED = "FailedOperation.GetCvmConfigQuotaFailed" FAILEDOPERATION_GETCVMSERVERFAILED = "FailedOperation.GetCvmServerFailed" FAILEDOPERATION_NOTSUPPORTPOD = "FailedOperation.NotSupportPod" INTERNALERROR = "InternalError" INTERNALERROR_ACCOUNTCGWERROR = "InternalError.AccountCgwError" INTERNALERROR_CAMCGWERROR = "InternalError.CamCgwError" INTERNALERROR_CAMERROR = "InternalError.CamError" INTERNALERROR_CBSCGWERROR = "InternalError.CbsCgwError" INTERNALERROR_CBSERROR = "InternalError.CbsError" INTERNALERROR_CDBCGWERROR = "InternalError.CdbCgwError" INTERNALERROR_CDBERROR = "InternalError.CdbError" INTERNALERROR_CONFIGCGWERROR = "InternalError.ConfigCgwError" INTERNALERROR_CVMERROR = "InternalError.CvmError" INTERNALERROR_EKSERROR = "InternalError.EKSError" INTERNALERROR_KMSERROR = "InternalError.KmsError" INTERNALERROR_PROJECTCGWERROR = "InternalError.ProjectCgwError" INTERNALERROR_SGERROR = "InternalError.SgError" INTERNALERROR_TKEERROR = "InternalError.TKEError" INTERNALERROR_TAGERROR = "InternalError.TagError" INTERNALERROR_TRADECGWERROR = "InternalError.TradeCgwError" INTERNALERROR_VPCCGWERROR = "InternalError.VpcCgwError" INTERNALERROR_VPCERROR = "InternalError.VpcError" INTERNALERROR_WOODSERVERERROR = "InternalError.WoodServerError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_APPIDRESOURCENOTMATCH = "InvalidParameter.AppIdResourceNotMatch" INVALIDPARAMETER_INVALIDAPPID = "InvalidParameter.InvalidAppId" INVALIDPARAMETER_INVALIDCLICKHOUSECLUSTER = "InvalidParameter.InvalidClickHouseCluster" INVALIDPARAMETER_INVALIDCLIENTTOKEN = "InvalidParameter.InvalidClientToken" INVALIDPARAMETER_INVALIDCLUSTERID = "InvalidParameter.InvalidClusterId" INVALIDPARAMETER_INVALIDCORECOUNT = "InvalidParameter.InvalidCoreCount" INVALIDPARAMETER_INVALIDCOUNT = "InvalidParameter.InvalidCount" INVALIDPARAMETER_INVALIDCOUNTNUM = "InvalidParameter.InvalidCountNum" INVALIDPARAMETER_INVALIDCUSTOMIZEDPODPARAM = "InvalidParameter.InvalidCustomizedPodParam" INVALIDPARAMETER_INVALIDEKSINSTANCE = "InvalidParameter.InvalidEksInstance" INVALIDPARAMETER_INVALIDINSTANCENAME = "InvalidParameter.InvalidInstanceName" INVALIDPARAMETER_INVALIDJOBFLOW = "InvalidParameter.InvalidJobFlow" INVALIDPARAMETER_INVALIDPAYMODE = "InvalidParameter.InvalidPaymode" INVALIDPARAMETER_INVALIDRESOURCESPEC = "InvalidParameter.InvalidResourceSpec" INVALIDPARAMETER_INVALIDSERCURITYGRPUPID = "InvalidParameter.InvalidSercurityGrpupId" INVALIDPARAMETER_INVALIDSERVICENODEINFO = "InvalidParameter.InvalidServiceNodeInfo" INVALIDPARAMETER_INVALIDSOFTDEPLOYINFO = "InvalidParameter.InvalidSoftDeployInfo" INVALIDPARAMETER_INVALIDTASKCOUNT = "InvalidParameter.InvalidTaskCount" INVALIDPARAMETER_INVALIDTIMESPAN = "InvalidParameter.InvalidTimeSpan" INVALIDPARAMETER_INVALIDTIMEUNIT = "InvalidParameter.InvalidTimeUnit" INVALIDPARAMETER_INVALIDTKEINSTANCE = "InvalidParameter.InvalidTkeInstance" INVALIDPARAMETERVALUE_INVALIDTKEINSTANCE = "InvalidParameterValue.InvalidTkeInstance" RESOURCEINUSE_INSTANCEINPROCESS = "ResourceInUse.InstanceInProcess" RESOURCEINSUFFICIENT_DISKINSUFFICIENT = "ResourceInsufficient.DiskInsufficient" RESOURCEINSUFFICIENT_INSTANCEINSUFFICIENT = "ResourceInsufficient.InstanceInsufficient" RESOURCENOTFOUND_CLUSTERNOTFOUND = "ResourceNotFound.ClusterNotFound" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" RESOURCENOTFOUND_TKEPRECONDITIONNOTFOUND = "ResourceNotFound.TKEPreconditionNotFound" RESOURCENOTFOUND_TAGSNOTFOUND = "ResourceNotFound.TagsNotFound" RESOURCEUNAVAILABLE_RESOURCESPECNOTDEFAULTSPEC = "ResourceUnavailable.ResourceSpecNotDefaultSpec" RESOURCESSOLDOUT = "ResourcesSoldOut" RESOURCESSOLDOUT_CBSSOLDOUT = "ResourcesSoldOut.CbsSoldOut" RESOURCESSOLDOUT_CVMSOLDOUT = "ResourcesSoldOut.CvmSoldOut"
func (*Client) ScaleOutInstanceWithContext ¶
func (c *Client) ScaleOutInstanceWithContext(ctx context.Context, request *ScaleOutInstanceRequest) (response *ScaleOutInstanceResponse, err error)
ScaleOutInstance This API is used to scale out instances.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_CHECKIFSUPPORTPODSTRETCH = "FailedOperation.CheckIfSupportPodStretch" FAILEDOPERATION_DUPLICATEORDERNOTALLOWED = "FailedOperation.DuplicateOrderNotAllowed" FAILEDOPERATION_GETCVMCONFIGQUOTAFAILED = "FailedOperation.GetCvmConfigQuotaFailed" FAILEDOPERATION_GETCVMSERVERFAILED = "FailedOperation.GetCvmServerFailed" FAILEDOPERATION_NOTSUPPORTPOD = "FailedOperation.NotSupportPod" INTERNALERROR = "InternalError" INTERNALERROR_ACCOUNTCGWERROR = "InternalError.AccountCgwError" INTERNALERROR_CAMCGWERROR = "InternalError.CamCgwError" INTERNALERROR_CAMERROR = "InternalError.CamError" INTERNALERROR_CBSCGWERROR = "InternalError.CbsCgwError" INTERNALERROR_CBSERROR = "InternalError.CbsError" INTERNALERROR_CDBCGWERROR = "InternalError.CdbCgwError" INTERNALERROR_CDBERROR = "InternalError.CdbError" INTERNALERROR_CONFIGCGWERROR = "InternalError.ConfigCgwError" INTERNALERROR_CVMERROR = "InternalError.CvmError" INTERNALERROR_EKSERROR = "InternalError.EKSError" INTERNALERROR_KMSERROR = "InternalError.KmsError" INTERNALERROR_PROJECTCGWERROR = "InternalError.ProjectCgwError" INTERNALERROR_SGERROR = "InternalError.SgError" INTERNALERROR_TKEERROR = "InternalError.TKEError" INTERNALERROR_TAGERROR = "InternalError.TagError" INTERNALERROR_TRADECGWERROR = "InternalError.TradeCgwError" INTERNALERROR_VPCCGWERROR = "InternalError.VpcCgwError" INTERNALERROR_VPCERROR = "InternalError.VpcError" INTERNALERROR_WOODSERVERERROR = "InternalError.WoodServerError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_APPIDRESOURCENOTMATCH = "InvalidParameter.AppIdResourceNotMatch" INVALIDPARAMETER_INVALIDAPPID = "InvalidParameter.InvalidAppId" INVALIDPARAMETER_INVALIDCLICKHOUSECLUSTER = "InvalidParameter.InvalidClickHouseCluster" INVALIDPARAMETER_INVALIDCLIENTTOKEN = "InvalidParameter.InvalidClientToken" INVALIDPARAMETER_INVALIDCLUSTERID = "InvalidParameter.InvalidClusterId" INVALIDPARAMETER_INVALIDCORECOUNT = "InvalidParameter.InvalidCoreCount" INVALIDPARAMETER_INVALIDCOUNT = "InvalidParameter.InvalidCount" INVALIDPARAMETER_INVALIDCOUNTNUM = "InvalidParameter.InvalidCountNum" INVALIDPARAMETER_INVALIDCUSTOMIZEDPODPARAM = "InvalidParameter.InvalidCustomizedPodParam" INVALIDPARAMETER_INVALIDEKSINSTANCE = "InvalidParameter.InvalidEksInstance" INVALIDPARAMETER_INVALIDINSTANCENAME = "InvalidParameter.InvalidInstanceName" INVALIDPARAMETER_INVALIDJOBFLOW = "InvalidParameter.InvalidJobFlow" INVALIDPARAMETER_INVALIDPAYMODE = "InvalidParameter.InvalidPaymode" INVALIDPARAMETER_INVALIDRESOURCESPEC = "InvalidParameter.InvalidResourceSpec" INVALIDPARAMETER_INVALIDSERCURITYGRPUPID = "InvalidParameter.InvalidSercurityGrpupId" INVALIDPARAMETER_INVALIDSERVICENODEINFO = "InvalidParameter.InvalidServiceNodeInfo" INVALIDPARAMETER_INVALIDSOFTDEPLOYINFO = "InvalidParameter.InvalidSoftDeployInfo" INVALIDPARAMETER_INVALIDTASKCOUNT = "InvalidParameter.InvalidTaskCount" INVALIDPARAMETER_INVALIDTIMESPAN = "InvalidParameter.InvalidTimeSpan" INVALIDPARAMETER_INVALIDTIMEUNIT = "InvalidParameter.InvalidTimeUnit" INVALIDPARAMETER_INVALIDTKEINSTANCE = "InvalidParameter.InvalidTkeInstance" INVALIDPARAMETERVALUE_INVALIDTKEINSTANCE = "InvalidParameterValue.InvalidTkeInstance" RESOURCEINUSE_INSTANCEINPROCESS = "ResourceInUse.InstanceInProcess" RESOURCEINSUFFICIENT_DISKINSUFFICIENT = "ResourceInsufficient.DiskInsufficient" RESOURCEINSUFFICIENT_INSTANCEINSUFFICIENT = "ResourceInsufficient.InstanceInsufficient" RESOURCENOTFOUND_CLUSTERNOTFOUND = "ResourceNotFound.ClusterNotFound" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" RESOURCENOTFOUND_TKEPRECONDITIONNOTFOUND = "ResourceNotFound.TKEPreconditionNotFound" RESOURCENOTFOUND_TAGSNOTFOUND = "ResourceNotFound.TagsNotFound" RESOURCEUNAVAILABLE_RESOURCESPECNOTDEFAULTSPEC = "ResourceUnavailable.ResourceSpecNotDefaultSpec" RESOURCESSOLDOUT = "ResourcesSoldOut" RESOURCESSOLDOUT_CBSSOLDOUT = "ResourcesSoldOut.CbsSoldOut" RESOURCESSOLDOUT_CVMSOLDOUT = "ResourcesSoldOut.CvmSoldOut"
func (*Client) SetNodeResourceConfigDefault ¶
func (c *Client) SetNodeResourceConfigDefault(request *SetNodeResourceConfigDefaultRequest) (response *SetNodeResourceConfigDefaultResponse, err error)
SetNodeResourceConfigDefault This API is used to set specifications for a node in the current cluster to default or not.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_CAMCGWERROR = "InternalError.CamCgwError" INVALIDPARAMETER = "InvalidParameter" RESOURCEUNAVAILABLE_RESOURCESPECNOTEXIST = "ResourceUnavailable.ResourceSpecNotExist" UNAUTHORIZEDOPERATION_CHECKCAMAUTH = "UnauthorizedOperation.CheckCamAuth"
func (*Client) SetNodeResourceConfigDefaultWithContext ¶
func (c *Client) SetNodeResourceConfigDefaultWithContext(ctx context.Context, request *SetNodeResourceConfigDefaultRequest) (response *SetNodeResourceConfigDefaultResponse, err error)
SetNodeResourceConfigDefault This API is used to set specifications for a node in the current cluster to default or not.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_CAMCGWERROR = "InternalError.CamCgwError" INVALIDPARAMETER = "InvalidParameter" RESOURCEUNAVAILABLE_RESOURCESPECNOTEXIST = "ResourceUnavailable.ResourceSpecNotExist" UNAUTHORIZEDOPERATION_CHECKCAMAUTH = "UnauthorizedOperation.CheckCamAuth"
func (*Client) StartStopServiceOrMonitor ¶
func (c *Client) StartStopServiceOrMonitor(request *StartStopServiceOrMonitorRequest) (response *StartStopServiceOrMonitorResponse, err error)
StartStopServiceOrMonitor This API is used to start, stop, or restart services.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR_CAMCGWERROR = "InternalError.CamCgwError" INTERNALERROR_WOODSERVERERROR = "InternalError.WoodServerError" INVALIDPARAMETER_INVALIDINSTANCENAME = "InvalidParameter.InvalidInstanceName" INVALIDPARAMETER_INVALIDJOBFLOW = "InvalidParameter.InvalidJobFlow" RESOURCEINUSE_INSTANCEINPROCESS = "ResourceInUse.InstanceInProcess" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" UNAUTHORIZEDOPERATION_CHECKCAMAUTH = "UnauthorizedOperation.CheckCamAuth" UNSUPPORTEDOPERATION_SERVICENOTSUPPORT = "UnsupportedOperation.ServiceNotSupport"
func (*Client) StartStopServiceOrMonitorWithContext ¶
func (c *Client) StartStopServiceOrMonitorWithContext(ctx context.Context, request *StartStopServiceOrMonitorRequest) (response *StartStopServiceOrMonitorResponse, err error)
StartStopServiceOrMonitor This API is used to start, stop, or restart services.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR_CAMCGWERROR = "InternalError.CamCgwError" INTERNALERROR_WOODSERVERERROR = "InternalError.WoodServerError" INVALIDPARAMETER_INVALIDINSTANCENAME = "InvalidParameter.InvalidInstanceName" INVALIDPARAMETER_INVALIDJOBFLOW = "InvalidParameter.InvalidJobFlow" RESOURCEINUSE_INSTANCEINPROCESS = "ResourceInUse.InstanceInProcess" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" UNAUTHORIZEDOPERATION_CHECKCAMAUTH = "UnauthorizedOperation.CheckCamAuth" UNSUPPORTEDOPERATION_SERVICENOTSUPPORT = "UnsupportedOperation.ServiceNotSupport"
func (*Client) TerminateClusterNodes ¶
func (c *Client) TerminateClusterNodes(request *TerminateClusterNodesRequest) (response *TerminateClusterNodesResponse, err error)
TerminateClusterNodes This API is used to terminate cluster nodes.
error code that may be returned:
INVALIDPARAMETER_INVALIDNODEFLAG = "InvalidParameter.InvalidNodeFlag" INVALIDPARAMETER_INVALIDRESOURCEIDS = "InvalidParameter.InvalidResourceIds" RESOURCEINUSE_INSTANCEINPROCESS = "ResourceInUse.InstanceInProcess" RESOURCENOTFOUND_CVMINSTANCENOTFOUND = "ResourceNotFound.CvmInstanceNotFound" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
func (*Client) TerminateClusterNodesWithContext ¶
func (c *Client) TerminateClusterNodesWithContext(ctx context.Context, request *TerminateClusterNodesRequest) (response *TerminateClusterNodesResponse, err error)
TerminateClusterNodes This API is used to terminate cluster nodes.
error code that may be returned:
INVALIDPARAMETER_INVALIDNODEFLAG = "InvalidParameter.InvalidNodeFlag" INVALIDPARAMETER_INVALIDRESOURCEIDS = "InvalidParameter.InvalidResourceIds" RESOURCEINUSE_INSTANCEINPROCESS = "ResourceInUse.InstanceInProcess" RESOURCENOTFOUND_CVMINSTANCENOTFOUND = "ResourceNotFound.CvmInstanceNotFound" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
func (*Client) TerminateInstance ¶
func (c *Client) TerminateInstance(request *TerminateInstanceRequest) (response *TerminateInstanceResponse, err error)
TerminateInstance This API is used to terminate EMR instances. It is only supported in the official paid edition of EMR.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_REFUNDCVMFAILED = "FailedOperation.RefundCvmFailed" INTERNALERROR = "InternalError" INTERNALERROR_CAMCGWERROR = "InternalError.CamCgwError" INTERNALERROR_CVMERROR = "InternalError.CvmError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDAPPID = "InvalidParameter.InvalidAppId" INVALIDPARAMETER_INVALIDCLUSTERID = "InvalidParameter.InvalidClusterId" INVALIDPARAMETER_INVALIDINSTANCENAME = "InvalidParameter.InvalidInstanceName" RESOURCEINUSE_INSTANCEINPROCESS = "ResourceInUse.InstanceInProcess" RESOURCENOTFOUND_CLUSTERNOTFOUND = "ResourceNotFound.ClusterNotFound" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" UNAUTHORIZEDOPERATION_CHECKCAMAUTH = "UnauthorizedOperation.CheckCamAuth" UNSUPPORTEDOPERATION_SERVICENOTSUPPORT = "UnsupportedOperation.ServiceNotSupport"
func (*Client) TerminateInstanceWithContext ¶
func (c *Client) TerminateInstanceWithContext(ctx context.Context, request *TerminateInstanceRequest) (response *TerminateInstanceResponse, err error)
TerminateInstance This API is used to terminate EMR instances. It is only supported in the official paid edition of EMR.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_REFUNDCVMFAILED = "FailedOperation.RefundCvmFailed" INTERNALERROR = "InternalError" INTERNALERROR_CAMCGWERROR = "InternalError.CamCgwError" INTERNALERROR_CVMERROR = "InternalError.CvmError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDAPPID = "InvalidParameter.InvalidAppId" INVALIDPARAMETER_INVALIDCLUSTERID = "InvalidParameter.InvalidClusterId" INVALIDPARAMETER_INVALIDINSTANCENAME = "InvalidParameter.InvalidInstanceName" RESOURCEINUSE_INSTANCEINPROCESS = "ResourceInUse.InstanceInProcess" RESOURCENOTFOUND_CLUSTERNOTFOUND = "ResourceNotFound.ClusterNotFound" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" UNAUTHORIZEDOPERATION_CHECKCAMAUTH = "UnauthorizedOperation.CheckCamAuth" UNSUPPORTEDOPERATION_SERVICENOTSUPPORT = "UnsupportedOperation.ServiceNotSupport"
func (*Client) TerminateSLInstance ¶
func (c *Client) TerminateSLInstance(request *TerminateSLInstanceRequest) (response *TerminateSLInstanceResponse, err error)
TerminateSLInstance This API is used to terminate a Serverless HBase instance.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_REFUNDCVMFAILED = "FailedOperation.RefundCvmFailed" INTERNALERROR = "InternalError" INTERNALERROR_CAMCGWERROR = "InternalError.CamCgwError" INTERNALERROR_CVMERROR = "InternalError.CvmError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDAPPID = "InvalidParameter.InvalidAppId" INVALIDPARAMETER_INVALIDCLUSTERID = "InvalidParameter.InvalidClusterId" INVALIDPARAMETER_INVALIDINSTANCENAME = "InvalidParameter.InvalidInstanceName" INVALIDPARAMETER_INVALIDZONE = "InvalidParameter.InvalidZone" RESOURCEINUSE_INSTANCEINPROCESS = "ResourceInUse.InstanceInProcess" RESOURCENOTFOUND_CLUSTERNOTFOUND = "ResourceNotFound.ClusterNotFound" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" UNAUTHORIZEDOPERATION_CHECKCAMAUTH = "UnauthorizedOperation.CheckCamAuth" UNSUPPORTEDOPERATION_SERVICENOTSUPPORT = "UnsupportedOperation.ServiceNotSupport"
func (*Client) TerminateSLInstanceWithContext ¶
func (c *Client) TerminateSLInstanceWithContext(ctx context.Context, request *TerminateSLInstanceRequest) (response *TerminateSLInstanceResponse, err error)
TerminateSLInstance This API is used to terminate a Serverless HBase instance.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_REFUNDCVMFAILED = "FailedOperation.RefundCvmFailed" INTERNALERROR = "InternalError" INTERNALERROR_CAMCGWERROR = "InternalError.CamCgwError" INTERNALERROR_CVMERROR = "InternalError.CvmError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDAPPID = "InvalidParameter.InvalidAppId" INVALIDPARAMETER_INVALIDCLUSTERID = "InvalidParameter.InvalidClusterId" INVALIDPARAMETER_INVALIDINSTANCENAME = "InvalidParameter.InvalidInstanceName" INVALIDPARAMETER_INVALIDZONE = "InvalidParameter.InvalidZone" RESOURCEINUSE_INSTANCEINPROCESS = "ResourceInUse.InstanceInProcess" RESOURCENOTFOUND_CLUSTERNOTFOUND = "ResourceNotFound.ClusterNotFound" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" UNAUTHORIZEDOPERATION_CHECKCAMAUTH = "UnauthorizedOperation.CheckCamAuth" UNSUPPORTEDOPERATION_SERVICENOTSUPPORT = "UnsupportedOperation.ServiceNotSupport"
func (*Client) TerminateTasks ¶
func (c *Client) TerminateTasks(request *TerminateTasksRequest) (response *TerminateTasksResponse, err error)
TerminateTasks This API is used to terminate a task node.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_ACCOUNTCGWERROR = "InternalError.AccountCgwError" INTERNALERROR_CAMCGWERROR = "InternalError.CamCgwError" INTERNALERROR_CAMERROR = "InternalError.CamError" INTERNALERROR_CBSCGWERROR = "InternalError.CbsCgwError" INTERNALERROR_CBSERROR = "InternalError.CbsError" INTERNALERROR_CDBCGWERROR = "InternalError.CdbCgwError" INTERNALERROR_CDBERROR = "InternalError.CdbError" INTERNALERROR_CONFIGCGWERROR = "InternalError.ConfigCgwError" INTERNALERROR_CVMERROR = "InternalError.CvmError" INTERNALERROR_KMSERROR = "InternalError.KmsError" INTERNALERROR_PROJECTCGWERROR = "InternalError.ProjectCgwError" INTERNALERROR_SGERROR = "InternalError.SgError" INTERNALERROR_TAGERROR = "InternalError.TagError" INTERNALERROR_TRADECGWERROR = "InternalError.TradeCgwError" INTERNALERROR_VPCCGWERROR = "InternalError.VpcCgwError" INTERNALERROR_VPCERROR = "InternalError.VpcError" INTERNALERROR_WOODSERVERERROR = "InternalError.WoodServerError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDAPPID = "InvalidParameter.InvalidAppId" INVALIDPARAMETER_INVALIDINSTANCENAME = "InvalidParameter.InvalidInstanceName" INVALIDPARAMETER_INVALIDJOBFLOW = "InvalidParameter.InvalidJobFlow" INVALIDPARAMETER_INVALIDRESOURCEIDS = "InvalidParameter.InvalidResourceIds" RESOURCEINUSE_INSTANCEINPROCESS = "ResourceInUse.InstanceInProcess" RESOURCENOTFOUND_CLUSTERNOTFOUND = "ResourceNotFound.ClusterNotFound" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" RESOURCENOTFOUND_RESOURCENOTFOUND = "ResourceNotFound.ResourceNotFound" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) TerminateTasksWithContext ¶
func (c *Client) TerminateTasksWithContext(ctx context.Context, request *TerminateTasksRequest) (response *TerminateTasksResponse, err error)
TerminateTasks This API is used to terminate a task node.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_ACCOUNTCGWERROR = "InternalError.AccountCgwError" INTERNALERROR_CAMCGWERROR = "InternalError.CamCgwError" INTERNALERROR_CAMERROR = "InternalError.CamError" INTERNALERROR_CBSCGWERROR = "InternalError.CbsCgwError" INTERNALERROR_CBSERROR = "InternalError.CbsError" INTERNALERROR_CDBCGWERROR = "InternalError.CdbCgwError" INTERNALERROR_CDBERROR = "InternalError.CdbError" INTERNALERROR_CONFIGCGWERROR = "InternalError.ConfigCgwError" INTERNALERROR_CVMERROR = "InternalError.CvmError" INTERNALERROR_KMSERROR = "InternalError.KmsError" INTERNALERROR_PROJECTCGWERROR = "InternalError.ProjectCgwError" INTERNALERROR_SGERROR = "InternalError.SgError" INTERNALERROR_TAGERROR = "InternalError.TagError" INTERNALERROR_TRADECGWERROR = "InternalError.TradeCgwError" INTERNALERROR_VPCCGWERROR = "InternalError.VpcCgwError" INTERNALERROR_VPCERROR = "InternalError.VpcError" INTERNALERROR_WOODSERVERERROR = "InternalError.WoodServerError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDAPPID = "InvalidParameter.InvalidAppId" INVALIDPARAMETER_INVALIDINSTANCENAME = "InvalidParameter.InvalidInstanceName" INVALIDPARAMETER_INVALIDJOBFLOW = "InvalidParameter.InvalidJobFlow" INVALIDPARAMETER_INVALIDRESOURCEIDS = "InvalidParameter.InvalidResourceIds" RESOURCEINUSE_INSTANCEINPROCESS = "ResourceInUse.InstanceInProcess" RESOURCENOTFOUND_CLUSTERNOTFOUND = "ResourceNotFound.ClusterNotFound" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" RESOURCENOTFOUND_RESOURCENOTFOUND = "ResourceNotFound.ResourceNotFound" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
type ClusterExternalServiceInfo ¶
type ClusterExternalServiceInfo struct { // Dependency relationship. 0: being depended on by other clusters, 1: depending on other clusters. DependType *int64 `json:"DependType,omitnil,omitempty" name:"DependType"` // Shared component. Service *string `json:"Service,omitnil,omitempty" name:"Service"` // Shared cluster. ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // Shared cluster status. ClusterStatus *int64 `json:"ClusterStatus,omitnil,omitempty" name:"ClusterStatus"` }
type ClusterIDToFlowID ¶
type ClusterInstancesInfo ¶
type ClusterInstancesInfo struct { // ID. Id *int64 `json:"Id,omitnil,omitempty" name:"Id"` // Cluster ID. ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // Title // Note: this field may return null, indicating that no valid values can be obtained. // // Deprecated: Ftitle is deprecated. Ftitle *string `json:"Ftitle,omitnil,omitempty" name:"Ftitle"` // Cluster name. ClusterName *string `json:"ClusterName,omitnil,omitempty" name:"ClusterName"` // Region ID. RegionId *int64 `json:"RegionId,omitnil,omitempty" name:"RegionId"` // Region ID. ZoneId *int64 `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // User AppID. AppId *int64 `json:"AppId,omitnil,omitempty" name:"AppId"` // User UIN. Uin *string `json:"Uin,omitnil,omitempty" name:"Uin"` // Project ID. ProjectId *int64 `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` // Cluster VPCID. VpcId *int64 `json:"VpcId,omitnil,omitempty" name:"VpcId"` // Subnet ID. SubnetId *int64 `json:"SubnetId,omitnil,omitempty" name:"SubnetId"` // Instance status code. Valid range: // <li>2: the cluster is running.</li> // <li>3: the cluster is being created.</li> // <li>4: the cluster is being scaled out.</li> // <li>5: Router nodes are being added to the cluster.</li> // <li>6: components are being installed in the cluster.</li> // <li>7: commands are being executed in the cluster.</li> // <li>8: the service is being restarted.</li> // <li>9: maintenance is in progress.</li> // <li>10: the service is being suspended.</li> // <li>11: the cluster is exiting maintenance.</li> // <li>12: the cluster is exiting suspension.</li> // <li>13: the configuration is being distributed.</li> // <li>14: the cluster is being terminated.</li> // <li>15: the Core node is being destroyed.</li> // <li>16: the Task node is being destroyed.</li> // <li>17: the Router node is being destroyed.</li> // <li>18: the web proxy password is being changed.</li> // <li>19: the cluster is being isolated.</li> // <li>20: the cluster is undergoing a reversal transaction.</li> // <li>21: the cluster is being recycled.</li> // <li>22: the instance is waiting for resizing.</li> // <li>23: the cluster has been isolated.</li> // <li>24: the number of nodes is being reduced.</li> // <li>33: the cluster is waiting for a refund.</li> // <li>34: the cluster has received a refund.</li> // <li>301: creation failed.</li> // <li>302: scale-out failed.</li> Status *int64 `json:"Status,omitnil,omitempty" name:"Status"` // Adding time. AddTime *string `json:"AddTime,omitnil,omitempty" name:"AddTime"` // Runtime. RunTime *string `json:"RunTime,omitnil,omitempty" name:"RunTime"` // Cluster product configuration information // Note: this field may return null, indicating that no valid values can be obtained. // // Deprecated: Config is deprecated. Config *EmrProductConfigOutter `json:"Config,omitnil,omitempty" name:"Config"` // Public network IP address of the primary node. MasterIp *string `json:"MasterIp,omitnil,omitempty" name:"MasterIp"` // EMR version. EmrVersion *string `json:"EmrVersion,omitnil,omitempty" name:"EmrVersion"` // Charge type. ChargeType *int64 `json:"ChargeType,omitnil,omitempty" name:"ChargeType"` // Transaction version. TradeVersion *int64 `json:"TradeVersion,omitnil,omitempty" name:"TradeVersion"` // Resource order ID. ResourceOrderId *int64 `json:"ResourceOrderId,omitnil,omitempty" name:"ResourceOrderId"` // Whether it is a billing cluster. IsTradeCluster *int64 `json:"IsTradeCluster,omitnil,omitempty" name:"IsTradeCluster"` // Alarm information of cluster error status. AlarmInfo *string `json:"AlarmInfo,omitnil,omitempty" name:"AlarmInfo"` // Whether to adopt new architecture. IsWoodpeckerCluster *int64 `json:"IsWoodpeckerCluster,omitnil,omitempty" name:"IsWoodpeckerCluster"` // Metadatabase information. MetaDb *string `json:"MetaDb,omitnil,omitempty" name:"MetaDb"` // Tag information // Note: this field may return null, indicating that no valid values can be obtained. Tags []*Tag `json:"Tags,omitnil,omitempty" name:"Tags"` // Hive metadata information. HiveMetaDb *string `json:"HiveMetaDb,omitnil,omitempty" name:"HiveMetaDb"` // Cluster type: EMR,CLICKHOUSE,DRUID. ServiceClass *string `json:"ServiceClass,omitnil,omitempty" name:"ServiceClass"` // Alias serialization of all nodes in the cluster. AliasInfo *string `json:"AliasInfo,omitnil,omitempty" name:"AliasInfo"` // Cluster version ID. ProductId *int64 `json:"ProductId,omitnil,omitempty" name:"ProductId"` // Region ID. Zone *string `json:"Zone,omitnil,omitempty" name:"Zone"` // Scenario name. SceneName *string `json:"SceneName,omitnil,omitempty" name:"SceneName"` // Scenario-based cluster type. SceneServiceClass *string `json:"SceneServiceClass,omitnil,omitempty" name:"SceneServiceClass"` // Scenario-based EMR version. SceneEmrVersion *string `json:"SceneEmrVersion,omitnil,omitempty" name:"SceneEmrVersion"` // Scenario-based cluster type. DisplayName *string `json:"DisplayName,omitnil,omitempty" name:"DisplayName"` // vpc name VpcName *string `json:"VpcName,omitnil,omitempty" name:"VpcName"` // subnet name SubnetName *string `json:"SubnetName,omitnil,omitempty" name:"SubnetName"` // Cluster dependency // Note: This field may return `null`, indicating that no valid value was found. ClusterExternalServiceInfo []*ClusterExternalServiceInfo `json:"ClusterExternalServiceInfo,omitnil,omitempty" name:"ClusterExternalServiceInfo"` // Cluster vpcid string type. UniqVpcId *string `json:"UniqVpcId,omitnil,omitempty" name:"UniqVpcId"` // Subnet ID string type. UniqSubnetId *string `json:"UniqSubnetId,omitnil,omitempty" name:"UniqSubnetId"` // Node information // Note: This field may return `null`, indicating that no valid values can be obtained. TopologyInfoList []*TopologyInfo `json:"TopologyInfoList,omitnil,omitempty" name:"TopologyInfoList"` // Whether it is a cross-AZ cluster. IsMultiZoneCluster *bool `json:"IsMultiZoneCluster,omitnil,omitempty" name:"IsMultiZoneCluster"` // Whether to enable automatic compensation for abnormal nodes. IsCvmReplace *bool `json:"IsCvmReplace,omitnil,omitempty" name:"IsCvmReplace"` // Title. ClusterTitle *string `json:"ClusterTitle,omitnil,omitempty" name:"ClusterTitle"` // Cluster product configuration information // // Note: This field may return null, indicating that no valid values can be obtained. ConfigDetail *EmrProductConfigDetail `json:"ConfigDetail,omitnil,omitempty" name:"ConfigDetail"` // Number of file systems bound to a cluster. BindFileSystemNum *int64 `json:"BindFileSystemNum,omitnil,omitempty" name:"BindFileSystemNum"` // Bound list of the RSS cluster. // Note: This field may return null, indicating that no valid values can be obtained. ClusterRelationInfoList []*ClusterRelationMeta `json:"ClusterRelationInfoList,omitnil,omitempty" name:"ClusterRelationInfoList"` // Redis information. RedisId *string `json:"RedisId,omitnil,omitempty" name:"RedisId"` }
type ClusterRelationMeta ¶
type ClusterRelationMeta struct { // Cluster type. ClusterType *string `json:"ClusterType,omitnil,omitempty" name:"ClusterType"` // Cluster ID list. // Note: This field may return null, indicating that no valid values can be obtained. ClusterIdList []*string `json:"ClusterIdList,omitnil,omitempty" name:"ClusterIdList"` }
type ComponentBasicRestartInfo ¶
type ComponentBasicRestartInfo struct { // Process name which is required, such as NameNode. ComponentName *string `json:"ComponentName,omitnil,omitempty" name:"ComponentName"` // The target IP list. // Note: This field may return null, indicating that no valid values can be obtained. IpList []*string `json:"IpList,omitnil,omitempty" name:"IpList"` }
type ComputeResourceAdvanceParams ¶
type ComputeResourceAdvanceParams struct { // Node label array. Labels []*TkeLabel `json:"Labels,omitnil,omitempty" name:"Labels"` // Node taint. Taints []*Taint `json:"Taints,omitnil,omitempty" name:"Taints"` // Base64-encoded user script: executed before node initializing. PreStartUserScript *string `json:"PreStartUserScript,omitnil,omitempty" name:"PreStartUserScript"` // Base64-encoded user script. This script executes after Kubernetes components initialize. Users should ensure script reentrancy and implement retry logic. Both the script and its generated log files are accessible at the node path: /data/ccs_userscript/. UserScript *string `json:"UserScript,omitnil,omitempty" name:"UserScript"` }
type ConfigModifyInfoV2 ¶
type ConfigModifyInfoV2 struct { // Operation type. Valid values: // // - 0: create a queue. // - 1: edit - full overwrite. // - 2: create a sub-queue. // - 3: delete. // - 4: clone. It is the same as sub-queue creation. Especially, for `fair`, a sub-queue can be copied to a new queue. // - 6: edit - incremental update. OpType *uint64 `json:"OpType,omitnil,omitempty" name:"OpType"` // Queue name. It cannot be modified. Name *string `json:"Name,omitnil,omitempty" name:"Name"` // Create root queue: Pass "myId of root"; Create sub-queue: Pass "myId of the selected queue"; Clone queue: Pass "parentId of the selected queue". ParentId *string `json:"ParentId,omitnil,omitempty" name:"ParentId"` // Edit or delete operations: Require passing "myId of the selected queue". Passing is required for cloning only when the scheduler is `fair` in order to copy a sub-queue to a new queue. MyId *string `json:"MyId,omitnil,omitempty" name:"MyId"` // Basic configuration. The value of key is consistent with the field returned by **DescribeYarnQueue**.###### Fair scheduler // Values of key are as follows: // // - type: parent queue. Value: **parent** or **null**. // - aclSubmitApps: submission ACL. Value: **JSON string of the AclForYarnQueue type** or **null**. // - aclAdministerApps: administration ACL. Value: **JSON string of the AclForYarnQueue type** or **null**. // - minSharePreemptionTimeout: timeout of minimum share before preemption. Value: **numeric string** or **null**. // - fairSharePreemptionTimeout: timeout of fair share before preemption. Value: **numeric string** or **null**. // - fairSharePreemptionThreshold: fair share preemption threshold. Value: **numeric string** or **null**. Numeric string range: (0,1]. // - allowPreemptionFrom: preemption mode. Value: **Boolean string** or **null**. // - schedulingPolicy: scheduling policy. Value: **drf**, **fair**, **fifo**, or **null**. // // “` // type AclForYarnQueue struct { // User *string `json:"user"` // Username // Group *string `json:"group"`// Group name // } // “` // ###### Capacity scheduler // Values of key are as follows: // // - state: queue status. Value: **STOPPED** or **RUNNING**. // - default-node-label-expression: default tag expression. Value: **tag** or **null**. // - acl_submit_applications: submission ACL. Value: **JSON string of the AclForYarnQueue type** or **null**. // - acl_administer_queue: administration ACL. Value: **JSON string of the AclForYarnQueue type** or **null**. // - maximum-allocation-mb: maximum memory allocated to each container. Value: **numeric string** or **null**. // - maximum-allocation-vcores: maximum number of virtual cores allocated to each container. Value: **numeric string** or **null**. // “` // type AclForYarnQueue struct { // User *string `json:"user"` // Username // Group *string `json:"group"`// Group name // } // “` // Note: This field may return null, indicating that no valid values can be obtained. BasicParams *ItemSeq `json:"BasicParams,omitnil,omitempty" name:"BasicParams"` // Configuration set information. For the values, see the parameter description of ConfigSetInfo. Configuration set is the representation of the plan mode in the queue, containing different configuration item values for different time periods. The configuration set names of all queues are the same. For a single queue, the tags and parameters in each configuration set are the same, but the parameter values are different. // Note: This field may return null, indicating that no valid values can be obtained. ConfigSetParams []*ConfigSetInfo `json:"ConfigSetParams,omitnil,omitempty" name:"ConfigSetParams"` // This parameter is specific for capacity scheduling and is valid only when `OpType` is set to `6`. It indicates tags to be deleted from the queue. This parameter has a higher priority than LabelParams in ConfigSetParams. // Note: This field may return null, indicating that no valid values can be obtained. DeleteLables []*string `json:"DeleteLables,omitnil,omitempty" name:"DeleteLables"` }
type ConfigSetInfo ¶
type ConfigSetInfo struct { // Configuration set name. ConfigSet *string `json:"ConfigSet,omitnil,omitempty" name:"ConfigSet"` // The capacity scheduler will use it, where tag-related configuration is set. The key values are consistent with the fields returned by **DescribeYarnQueue**. // The key values are as follows: // - labelName: Tag name, that is, tags in tag management. // - capacity: Capacity. The value is a **numeric string**. // - maximum-capacity: Maximum capacity. The value is a **numeric string**. // Note: This field may return null, indicating that no valid values can be obtained. LabelParams []*ItemSeq `json:"LabelParams,omitnil,omitempty" name:"LabelParams"` // Set parameters related to the configuration set. The key values are consistent with the fields returned by **DescribeYarnQueue**. // ###### Fair scheduler. // The key values are as follows: // - minResources: Minimum resource amount. The value is a **JSON string of the YarnResource type** or **null**. // - maxResources: Maximum resource amount. The value is a **JSON string of the YarnResource type** or **null**. // - maxChildResources: Maximum resource amount for undeclared subqueues. The value is a **numeric string** or **null**. // - maxRunningApps: Maximum number of apps that can run concurrently. The value is a **numeric string** or **null**. // - weight: weight. The value is a **numeric string** or **null**. // - maxAMShare: Maximum App Master share. The value is a **numeric string** or **null**, where the number range is [0,1] or -1. // // “` // type YarnResource struct { // Vcores *int `json:"vcores"` // Memory *int `json:"memory"` // Type *string `json:"type"` // The value can be percent or null. When the value is percent, it indicates the percentage used; otherwise, the absolute value used is indicated. The value can be percent only for maxResources and maxChildResources. // } // “` // // ###### Capacity scheduler. // The key values are as follows: // - minimum-user-limit-percent: Minimum user capacity. The value is a **JSON string of the YarnResource type** or **null**, where the number range is [0,100]. // - user-limit-factor: User resource factor. The value is a **JSON string of the YarnResource type** or **null**. // - maximum-applications: Maximum number of applications, that is, Max-Applications. The value is a **numeric string** or **null**, where the numbers must be positive integers. // - maximum-am-resource-percent: maximum AM percent. The value is a **numeric string** or **null**, where the number range is [0,1] or -1. // - default-application-priority: Resource pool priority. The value is a **numeric string** or **null**, where the numbers must be positive integers. // Note: This field may return null, indicating that no valid values can be obtained. BasicParams []*Item `json:"BasicParams,omitnil,omitempty" name:"BasicParams"` }
type ConfigurationItem ¶
type ConfigurationItem struct { // Configuration item name. Name *string `json:"Name,omitnil,omitempty" name:"Name"` // Configuration item value. Value *string `json:"Value,omitnil,omitempty" name:"Value"` // Name of the configuration file where the configuration item is located. InFile *string `json:"InFile,omitnil,omitempty" name:"InFile"` }
type ConvertPreToPostClusterRequest ¶
type ConvertPreToPostClusterRequest struct { *tchttp.BaseRequest // Cluster instance ID. InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Non-reentrant identifier (5-minute window). Order identifier. ClientToken *string `json:"ClientToken,omitnil,omitempty" name:"ClientToken"` }
func NewConvertPreToPostClusterRequest ¶
func NewConvertPreToPostClusterRequest() (request *ConvertPreToPostClusterRequest)
func (*ConvertPreToPostClusterRequest) FromJsonString ¶
func (r *ConvertPreToPostClusterRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ConvertPreToPostClusterRequest) ToJsonString ¶
func (r *ConvertPreToPostClusterRequest) ToJsonString() string
type ConvertPreToPostClusterRequestParams ¶
type ConvertPreToPostClusterRequestParams struct { // Cluster instance ID. InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Non-reentrant identifier (5-minute window). Order identifier. ClientToken *string `json:"ClientToken,omitnil,omitempty" name:"ClientToken"` }
Predefined struct for user
type ConvertPreToPostClusterResponse ¶
type ConvertPreToPostClusterResponse struct { *tchttp.BaseResponse Response *ConvertPreToPostClusterResponseParams `json:"Response"` }
func NewConvertPreToPostClusterResponse ¶
func NewConvertPreToPostClusterResponse() (response *ConvertPreToPostClusterResponse)
func (*ConvertPreToPostClusterResponse) FromJsonString ¶
func (r *ConvertPreToPostClusterResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ConvertPreToPostClusterResponse) ToJsonString ¶
func (r *ConvertPreToPostClusterResponse) ToJsonString() string
type ConvertPreToPostClusterResponseParams ¶
type ConvertPreToPostClusterResponseParams struct { // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). 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 // The EMR version, such as `EMR-V2.3.0` that indicates the version 2.3.0 of EMR. You can query the EMR version [here](https://intl.cloud.tencent.com/document/product/589/66338?from_cn_redirect=1). ProductVersion *string `json:"ProductVersion,omitnil,omitempty" name:"ProductVersion"` // Whether to enable high availability for nodes. Valid values: // <li>`true`: Enable</li> // <li>`false`: Disable</li> EnableSupportHAFlag *bool `json:"EnableSupportHAFlag,omitnil,omitempty" name:"EnableSupportHAFlag"` // The instance name. // <li>Length limit: 6-36 characters.</li> // <li>Can contain only Chinese characters, letters, digits, hyphens (-), and underscores (_).</li> InstanceName *string `json:"InstanceName,omitnil,omitempty" name:"InstanceName"` // The instance billing mode. Valid values: // <li>`POSTPAID_BY_HOUR`: The postpaid mode by hour.</li> InstanceChargeType *string `json:"InstanceChargeType,omitnil,omitempty" name:"InstanceChargeType"` // The instance login setting. This parameter allows you to set a login password or key for your purchased node. // <li>If a key is set, the password will be used for login to the native component WebUI only.</li> // <li>If no key is set, the password will be used for login to all purchased nodes and the native component WebUI.</li> LoginSettings *LoginSettings `json:"LoginSettings,omitnil,omitempty" name:"LoginSettings"` // The configuration of cluster application scenario and supported components. SceneSoftwareConfig *SceneSoftwareConfig `json:"SceneSoftwareConfig,omitnil,omitempty" name:"SceneSoftwareConfig"` // The details of the monthly subscription, including the instance period and auto-renewal. It is required if `InstanceChargeType` is `PREPAID`. InstanceChargePrepaid *InstanceChargePrepaid `json:"InstanceChargePrepaid,omitnil,omitempty" name:"InstanceChargePrepaid"` // The ID of the security group to which the instance belongs, in the format of `sg-xxxxxxxx`. You can call the [DescribeSecurityGroups](https://intl.cloud.tencent.com/document/api/215/15808?from_cn_redirect=1) API and obtain this parameter from the `SecurityGroupId` field in the response. SecurityGroupIds []*string `json:"SecurityGroupIds,omitnil,omitempty" name:"SecurityGroupIds"` // The [Bootstrap action](https://intl.cloud.tencent.com/document/product/589/35656?from_cn_redirect=1) script settings. ScriptBootstrapActionConfig []*ScriptBootstrapActionConfig `json:"ScriptBootstrapActionConfig,omitnil,omitempty" name:"ScriptBootstrapActionConfig"` // Unique random identifier with the time efficiency of 5 minutes, which needs to be specified by the caller to prevent the client from repeatedly creating resources, for example, a9a90aa6-****-****-****-fae360632808. ClientToken *string `json:"ClientToken,omitnil,omitempty" name:"ClientToken"` // Whether to enable public IP access for master nodes. Valid values: // <li>`NEED_MASTER_WAN`: Enable public IP for master nodes.</li> // <li>`NOT_NEED_MASTER_WAN`: Disable.</li>The public IP is enabled for master nodes by default. NeedMasterWan *string `json:"NeedMasterWan,omitnil,omitempty" name:"NeedMasterWan"` // Whether to enable remote login over the public network. It is invalid if `SecurityGroupId` is passed in. It is disabled by default. Valid values: // <li>`true`: Enable</li> // <li>`false`: Disable</li> EnableRemoteLoginFlag *bool `json:"EnableRemoteLoginFlag,omitnil,omitempty" name:"EnableRemoteLoginFlag"` // Whether to enable Kerberos authentication. Valid values: // <li>`true`: Enable</li> // <li>`false` (default): Disable</li> EnableKerberosFlag *bool `json:"EnableKerberosFlag,omitnil,omitempty" name:"EnableKerberosFlag"` // [Custom software configuration](https://intl.cloud.tencent.com/document/product/589/35655?from_cn_redirect=1?from_cn_redirect=1) CustomConf *string `json:"CustomConf,omitnil,omitempty" name:"CustomConf"` // The tag description list. This parameter is used to bind a tag to a resource instance. Tags []*Tag `json:"Tags,omitnil,omitempty" name:"Tags"` // The list of spread placement group IDs. Only one can be specified. // You can call the [DescribeDisasterRecoverGroups](https://intl.cloud.tencent.com/document/product/213/17810?from_cn_redirect=1) API and obtain this parameter from the `DisasterRecoverGroupId` field in the response. DisasterRecoverGroupIds []*string `json:"DisasterRecoverGroupIds,omitnil,omitempty" name:"DisasterRecoverGroupIds"` // Whether to enable the cluster-level CBS encryption. Valid values: // <li>`true`: Enable</li> // <li>`false` (default): Disable</li> EnableCbsEncryptFlag *bool `json:"EnableCbsEncryptFlag,omitnil,omitempty" name:"EnableCbsEncryptFlag"` // The metadatabase information. If `MetaType` is `EMR_NEW_META`, `MetaDataJdbcUrl`, `MetaDataUser`, `MetaDataPass`, and `UnifyMetaInstanceId` are not required. // If `MetaType` is `EMR_EXIT_META`, `UnifyMetaInstanceId` is required. // If `MetaType` is `USER_CUSTOM_META`, `MetaDataJdbcUrl`, `MetaDataUser`, and `MetaDataPass` are required. MetaDBInfo *CustomMetaDBInfo `json:"MetaDBInfo,omitnil,omitempty" name:"MetaDBInfo"` // The shared component information. DependService []*DependService `json:"DependService,omitnil,omitempty" name:"DependService"` // The node resource specs. A spec is specified for each AZ, with the first spec for the primary AZ, the second for the backup AZ, and the third for the arbitrator AZ. If the multi-AZ mode is not enabled, only one spec is required. ZoneResourceConfiguration []*ZoneResourceConfiguration `json:"ZoneResourceConfiguration,omitnil,omitempty" name:"ZoneResourceConfiguration"` // COS bucket path, which is used when you create StarRocks compute-storage separation clusters. CosBucket *string `json:"CosBucket,omitnil,omitempty" name:"CosBucket"` // Node identifier information: currently used only in Terraform. NodeMarks []*NodeMark `json:"NodeMarks,omitnil,omitempty" name:"NodeMarks"` // clb id LoadBalancerId *string `json:"LoadBalancerId,omitnil,omitempty" name:"LoadBalancerId"` }
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 { // The EMR version, such as `EMR-V2.3.0` that indicates the version 2.3.0 of EMR. You can query the EMR version [here](https://intl.cloud.tencent.com/document/product/589/66338?from_cn_redirect=1). ProductVersion *string `json:"ProductVersion,omitnil,omitempty" name:"ProductVersion"` // Whether to enable high availability for nodes. Valid values: // <li>`true`: Enable</li> // <li>`false`: Disable</li> EnableSupportHAFlag *bool `json:"EnableSupportHAFlag,omitnil,omitempty" name:"EnableSupportHAFlag"` // The instance name. // <li>Length limit: 6-36 characters.</li> // <li>Can contain only Chinese characters, letters, digits, hyphens (-), and underscores (_).</li> InstanceName *string `json:"InstanceName,omitnil,omitempty" name:"InstanceName"` // The instance billing mode. Valid values: // <li>`POSTPAID_BY_HOUR`: The postpaid mode by hour.</li> InstanceChargeType *string `json:"InstanceChargeType,omitnil,omitempty" name:"InstanceChargeType"` // The instance login setting. This parameter allows you to set a login password or key for your purchased node. // <li>If a key is set, the password will be used for login to the native component WebUI only.</li> // <li>If no key is set, the password will be used for login to all purchased nodes and the native component WebUI.</li> LoginSettings *LoginSettings `json:"LoginSettings,omitnil,omitempty" name:"LoginSettings"` // The configuration of cluster application scenario and supported components. SceneSoftwareConfig *SceneSoftwareConfig `json:"SceneSoftwareConfig,omitnil,omitempty" name:"SceneSoftwareConfig"` // The details of the monthly subscription, including the instance period and auto-renewal. It is required if `InstanceChargeType` is `PREPAID`. InstanceChargePrepaid *InstanceChargePrepaid `json:"InstanceChargePrepaid,omitnil,omitempty" name:"InstanceChargePrepaid"` // The ID of the security group to which the instance belongs, in the format of `sg-xxxxxxxx`. You can call the [DescribeSecurityGroups](https://intl.cloud.tencent.com/document/api/215/15808?from_cn_redirect=1) API and obtain this parameter from the `SecurityGroupId` field in the response. SecurityGroupIds []*string `json:"SecurityGroupIds,omitnil,omitempty" name:"SecurityGroupIds"` // The [Bootstrap action](https://intl.cloud.tencent.com/document/product/589/35656?from_cn_redirect=1) script settings. ScriptBootstrapActionConfig []*ScriptBootstrapActionConfig `json:"ScriptBootstrapActionConfig,omitnil,omitempty" name:"ScriptBootstrapActionConfig"` // Unique random identifier with the time efficiency of 5 minutes, which needs to be specified by the caller to prevent the client from repeatedly creating resources, for example, a9a90aa6-****-****-****-fae360632808. ClientToken *string `json:"ClientToken,omitnil,omitempty" name:"ClientToken"` // Whether to enable public IP access for master nodes. Valid values: // <li>`NEED_MASTER_WAN`: Enable public IP for master nodes.</li> // <li>`NOT_NEED_MASTER_WAN`: Disable.</li>The public IP is enabled for master nodes by default. NeedMasterWan *string `json:"NeedMasterWan,omitnil,omitempty" name:"NeedMasterWan"` // Whether to enable remote login over the public network. It is invalid if `SecurityGroupId` is passed in. It is disabled by default. Valid values: // <li>`true`: Enable</li> // <li>`false`: Disable</li> EnableRemoteLoginFlag *bool `json:"EnableRemoteLoginFlag,omitnil,omitempty" name:"EnableRemoteLoginFlag"` // Whether to enable Kerberos authentication. Valid values: // <li>`true`: Enable</li> // <li>`false` (default): Disable</li> EnableKerberosFlag *bool `json:"EnableKerberosFlag,omitnil,omitempty" name:"EnableKerberosFlag"` // [Custom software configuration](https://intl.cloud.tencent.com/document/product/589/35655?from_cn_redirect=1?from_cn_redirect=1) CustomConf *string `json:"CustomConf,omitnil,omitempty" name:"CustomConf"` // The tag description list. This parameter is used to bind a tag to a resource instance. Tags []*Tag `json:"Tags,omitnil,omitempty" name:"Tags"` // The list of spread placement group IDs. Only one can be specified. // You can call the [DescribeDisasterRecoverGroups](https://intl.cloud.tencent.com/document/product/213/17810?from_cn_redirect=1) API and obtain this parameter from the `DisasterRecoverGroupId` field in the response. DisasterRecoverGroupIds []*string `json:"DisasterRecoverGroupIds,omitnil,omitempty" name:"DisasterRecoverGroupIds"` // Whether to enable the cluster-level CBS encryption. Valid values: // <li>`true`: Enable</li> // <li>`false` (default): Disable</li> EnableCbsEncryptFlag *bool `json:"EnableCbsEncryptFlag,omitnil,omitempty" name:"EnableCbsEncryptFlag"` // The metadatabase information. If `MetaType` is `EMR_NEW_META`, `MetaDataJdbcUrl`, `MetaDataUser`, `MetaDataPass`, and `UnifyMetaInstanceId` are not required. // If `MetaType` is `EMR_EXIT_META`, `UnifyMetaInstanceId` is required. // If `MetaType` is `USER_CUSTOM_META`, `MetaDataJdbcUrl`, `MetaDataUser`, and `MetaDataPass` are required. MetaDBInfo *CustomMetaDBInfo `json:"MetaDBInfo,omitnil,omitempty" name:"MetaDBInfo"` // The shared component information. DependService []*DependService `json:"DependService,omitnil,omitempty" name:"DependService"` // The node resource specs. A spec is specified for each AZ, with the first spec for the primary AZ, the second for the backup AZ, and the third for the arbitrator AZ. If the multi-AZ mode is not enabled, only one spec is required. ZoneResourceConfiguration []*ZoneResourceConfiguration `json:"ZoneResourceConfiguration,omitnil,omitempty" name:"ZoneResourceConfiguration"` // COS bucket path, which is used when you create StarRocks compute-storage separation clusters. CosBucket *string `json:"CosBucket,omitnil,omitempty" name:"CosBucket"` // Node identifier information: currently used only in Terraform. NodeMarks []*NodeMark `json:"NodeMarks,omitnil,omitempty" name:"NodeMarks"` // clb id LoadBalancerId *string `json:"LoadBalancerId,omitnil,omitempty" name:"LoadBalancerId"` }
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 { // Instance ID. InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateGroupsSTDRequest ¶
type CreateGroupsSTDRequest struct { *tchttp.BaseRequest // Cluster name. InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Batch user group information. Groups []*GroupInfo `json:"Groups,omitnil,omitempty" name:"Groups"` }
func NewCreateGroupsSTDRequest ¶
func NewCreateGroupsSTDRequest() (request *CreateGroupsSTDRequest)
func (*CreateGroupsSTDRequest) FromJsonString ¶
func (r *CreateGroupsSTDRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateGroupsSTDRequest) ToJsonString ¶
func (r *CreateGroupsSTDRequest) ToJsonString() string
type CreateGroupsSTDRequestParams ¶
type CreateGroupsSTDRequestParams struct { // Cluster name. InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Batch user group information. Groups []*GroupInfo `json:"Groups,omitnil,omitempty" name:"Groups"` }
Predefined struct for user
type CreateGroupsSTDResponse ¶
type CreateGroupsSTDResponse struct { *tchttp.BaseResponse Response *CreateGroupsSTDResponseParams `json:"Response"` }
func NewCreateGroupsSTDResponse ¶
func NewCreateGroupsSTDResponse() (response *CreateGroupsSTDResponse)
func (*CreateGroupsSTDResponse) FromJsonString ¶
func (r *CreateGroupsSTDResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateGroupsSTDResponse) ToJsonString ¶
func (r *CreateGroupsSTDResponse) ToJsonString() string
type CreateGroupsSTDResponseParams ¶
type CreateGroupsSTDResponseParams struct { // Output result of each user group. Data []*ResultItem `json:"Data,omitnil,omitempty" name:"Data"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateInstanceRequest ¶
type CreateInstanceRequest struct { *tchttp.BaseRequest // Product ID. Different product IDs stand for different EMR product versions. Valid range: // 51: STARROCKS-V1.4.0 // 54: STARROCKS-V2.0.0 // 27: KAFKA-V1.0.0 // 50: KAFKA-V2.0.0 // 16: EMR-V2.3.0 // 20: EMR-V2.5.0 // 30: EMR-V2.6.0 // 38: EMR-V2.7.0 // 25: EMR-V3.1.0 // 33: EMR-V3.2.1 // 34: EMR-V3.3.0 // 37: EMR-V3.4.0 // 44: EMR-V3.5.0 // 53: EMR-V3.6.0 ProductId *uint64 `json:"ProductId,omitnil,omitempty" name:"ProductId"` // List of deployed components. The list of component options varies by EMR product ID (i.e., `ProductId`; for specific meanings, please see the `ProductId` input parameter). For more information, please see [Component Version](https://intl.cloud.tencent.com/document/product/589/20279?from_cn_redirect=1). // Enter an instance value: `hive` or `flink`. Software []*string `json:"Software,omitnil,omitempty" name:"Software"` // Whether to enable high node availability. Valid values: // <li>0: does not enable high availability of node.</li> // <li>1: enables high availability of node.</li> SupportHA *uint64 `json:"SupportHA,omitnil,omitempty" name:"SupportHA"` // Instance name. // <li>Length limit: 6-36 characters.</li> // <li>Only letters, numbers, dashes (-), and underscores (_) are supported.</li> InstanceName *string `json:"InstanceName,omitnil,omitempty" name:"InstanceName"` // Instance billing mode. Valid values: // <li>0: pay-as-you-go.</li> PayMode *uint64 `json:"PayMode,omitnil,omitempty" name:"PayMode"` // Purchase duration of instance, which needs to be used together with `TimeUnit`. // <li>When `TimeUnit` is `s`, this parameter can only be filled with 3600, indicating a pay-as-you-go instance.</li> // <li>When `TimeUnit` is `m`, the number entered in this parameter indicates the purchase duration of the monthly-subscription instance; for example, 1 means one month</li> TimeSpan *uint64 `json:"TimeSpan,omitnil,omitempty" name:"TimeSpan"` // Time unit of instance purchase duration. Valid values: // <li>s: seconds. When `PayMode` is 0, `TimeUnit` can only be `s`.</li> // <li>m: month. When `PayMode` is 1, `TimeUnit` can only be `m`.</li> TimeUnit *string `json:"TimeUnit,omitnil,omitempty" name:"TimeUnit"` // Instance login settings. This parameter allows you to set the login password or key for your purchased node. // <li>If the key is set, the password will be only used for login to the native component WebUI.</li> // <li>If the key is not set, the password will be used for login to all purchased nodes and the native component WebUI.</li> LoginSettings *LoginSettings `json:"LoginSettings,omitnil,omitempty" name:"LoginSettings"` // Configuration information of VPC. This parameter is used to specify the VPC ID, subnet ID, etc. VPCSettings *VPCSettings `json:"VPCSettings,omitnil,omitempty" name:"VPCSettings"` // Node resource specification. ResourceSpec *NewResourceSpec `json:"ResourceSpec,omitnil,omitempty" name:"ResourceSpec"` // Parameter required for enabling COS access. COSSettings *COSSettings `json:"COSSettings,omitnil,omitempty" name:"COSSettings"` // Instance location. This parameter is used to specify the AZ, project, and other attributes of the instance. Placement *Placement `json:"Placement,omitnil,omitempty" name:"Placement"` // Security group to which an instance belongs in the format of `sg-xxxxxxxx`. This parameter can be obtained from the `SecurityGroupId` field in the return value of the [DescribeSecurityGroups](https://intl.cloud.tencent.com/document/api/215/15808) API. SgId *string `json:"SgId,omitnil,omitempty" name:"SgId"` // [Bootstrap action](https://intl.cloud.tencent.com/document/product/589/35656?from_cn_redirect=1) script settings PreExecutedFileSettings []*PreExecuteFileSettings `json:"PreExecutedFileSettings,omitnil,omitempty" name:"PreExecutedFileSettings"` // Whether auto-renewal is enabled. Valid values: // <li>0: auto-renewal not enabled.</li> // <li>1: auto-renewal enabled.</li> AutoRenew *uint64 `json:"AutoRenew,omitnil,omitempty" name:"AutoRenew"` // Unique random identifier with the time efficiency of 5 minutes, which needs to be specified by the caller to prevent the client from creating resources again, for example, a9a90aa6-****-****-****-fae36063280. ClientToken *string `json:"ClientToken,omitnil,omitempty" name:"ClientToken"` // Whether to enable public IP access for master node. Valid values: // <li>NEED_MASTER_WAN: enables public IP for master node.</li> // <li>NOT_NEED_MASTER_WAN: does not enable.</li>Public IP is enabled for master node by default. NeedMasterWan *string `json:"NeedMasterWan,omitnil,omitempty" name:"NeedMasterWan"` // Whether to enable remote public network login, i.e., port 22. When `SgId` is not empty, this parameter does not take effect. RemoteLoginAtCreate *int64 `json:"RemoteLoginAtCreate,omitnil,omitempty" name:"RemoteLoginAtCreate"` // Whether to enable secure cluster. 0: no; other values: yes. CheckSecurity *int64 `json:"CheckSecurity,omitnil,omitempty" name:"CheckSecurity"` // Accesses to external file system. ExtendFsField *string `json:"ExtendFsField,omitnil,omitempty" name:"ExtendFsField"` // Tag description list. This parameter is used to bind a tag to a resource instance. Tags []*Tag `json:"Tags,omitnil,omitempty" name:"Tags"` // List of spread placement group IDs. Only one can be specified currently. // This parameter can be obtained in the `SecurityGroupId` field in the return value of the [DescribeSecurityGroups](https://intl.cloud.tencent.com/document/product/213/15486?from_cn_redirect=1) API. DisasterRecoverGroupIds []*string `json:"DisasterRecoverGroupIds,omitnil,omitempty" name:"DisasterRecoverGroupIds"` // CBS disk encryption at the cluster level. 0: not encrypted, 1: encrypted CbsEncrypt *uint64 `json:"CbsEncrypt,omitnil,omitempty" name:"CbsEncrypt"` // Hive-shared metadatabase type. Valid values: // <li>EMR_DEFAULT_META: the cluster creates one by default.</li> // <li>EMR_EXIST_META: the cluster uses the specified EMR-MetaDB instance.</li> // <li>USER_CUSTOM_META: the cluster uses a custom MetaDB instance.</li> MetaType *string `json:"MetaType,omitnil,omitempty" name:"MetaType"` // EMR-MetaDB instance UnifyMetaInstanceId *string `json:"UnifyMetaInstanceId,omitnil,omitempty" name:"UnifyMetaInstanceId"` // Custom MetaDB instance information MetaDBInfo *CustomMetaInfo `json:"MetaDBInfo,omitnil,omitempty" name:"MetaDBInfo"` // Custom application role. ApplicationRole *string `json:"ApplicationRole,omitnil,omitempty" name:"ApplicationRole"` // Scenario-based values: // Hadoop-Kudu // Hadoop-Zookeeper // Hadoop-Presto // Hadoop-Hbase SceneName *string `json:"SceneName,omitnil,omitempty" name:"SceneName"` // Shared component information ExternalService []*ExternalService `json:"ExternalService,omitnil,omitempty" name:"ExternalService"` VersionID *int64 `json:"VersionID,omitnil,omitempty" name:"VersionID"` // `true` indicates that the multi-AZ deployment mode is enabled. This parameter is available only in cluster creation and cannot be changed after setting. MultiZone *bool `json:"MultiZone,omitnil,omitempty" name:"MultiZone"` // Node resource specs. The actual number of AZs is set, with the first AZ as the primary AZ, the second as the backup AZ, and the third as the arbitrator AZ. If the multi-AZ mode is not enabled, set the value to `1`. MultiZoneSettings []*MultiZoneSetting `json:"MultiZoneSettings,omitnil,omitempty" name:"MultiZoneSettings"` // COS bucket path, which is used when you create StarRocks compute-storage separation clusters. CosBucket *string `json:"CosBucket,omitnil,omitempty" name:"CosBucket"` // Node identifier information: currently used only in Terraform. NodeMarks []*NodeMark `json:"NodeMarks,omitnil,omitempty" name:"NodeMarks"` // CLB id LoadBalancerId *string `json:"LoadBalancerId,omitnil,omitempty" name:"LoadBalancerId"` }
func NewCreateInstanceRequest ¶
func NewCreateInstanceRequest() (request *CreateInstanceRequest)
func (*CreateInstanceRequest) FromJsonString ¶
func (r *CreateInstanceRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateInstanceRequest) ToJsonString ¶
func (r *CreateInstanceRequest) ToJsonString() string
type CreateInstanceRequestParams ¶
type CreateInstanceRequestParams struct { // Product ID. Different product IDs stand for different EMR product versions. Valid range: // 51: STARROCKS-V1.4.0 // 54: STARROCKS-V2.0.0 // 27: KAFKA-V1.0.0 // 50: KAFKA-V2.0.0 // 16: EMR-V2.3.0 // 20: EMR-V2.5.0 // 30: EMR-V2.6.0 // 38: EMR-V2.7.0 // 25: EMR-V3.1.0 // 33: EMR-V3.2.1 // 34: EMR-V3.3.0 // 37: EMR-V3.4.0 // 44: EMR-V3.5.0 // 53: EMR-V3.6.0 ProductId *uint64 `json:"ProductId,omitnil,omitempty" name:"ProductId"` // List of deployed components. The list of component options varies by EMR product ID (i.e., `ProductId`; for specific meanings, please see the `ProductId` input parameter). For more information, please see [Component Version](https://intl.cloud.tencent.com/document/product/589/20279?from_cn_redirect=1). // Enter an instance value: `hive` or `flink`. Software []*string `json:"Software,omitnil,omitempty" name:"Software"` // Whether to enable high node availability. Valid values: // <li>0: does not enable high availability of node.</li> // <li>1: enables high availability of node.</li> SupportHA *uint64 `json:"SupportHA,omitnil,omitempty" name:"SupportHA"` // Instance name. // <li>Length limit: 6-36 characters.</li> // <li>Only letters, numbers, dashes (-), and underscores (_) are supported.</li> InstanceName *string `json:"InstanceName,omitnil,omitempty" name:"InstanceName"` // Instance billing mode. Valid values: // <li>0: pay-as-you-go.</li> PayMode *uint64 `json:"PayMode,omitnil,omitempty" name:"PayMode"` // Purchase duration of instance, which needs to be used together with `TimeUnit`. // <li>When `TimeUnit` is `s`, this parameter can only be filled with 3600, indicating a pay-as-you-go instance.</li> // <li>When `TimeUnit` is `m`, the number entered in this parameter indicates the purchase duration of the monthly-subscription instance; for example, 1 means one month</li> TimeSpan *uint64 `json:"TimeSpan,omitnil,omitempty" name:"TimeSpan"` // Time unit of instance purchase duration. Valid values: // <li>s: seconds. When `PayMode` is 0, `TimeUnit` can only be `s`.</li> // <li>m: month. When `PayMode` is 1, `TimeUnit` can only be `m`.</li> TimeUnit *string `json:"TimeUnit,omitnil,omitempty" name:"TimeUnit"` // Instance login settings. This parameter allows you to set the login password or key for your purchased node. // <li>If the key is set, the password will be only used for login to the native component WebUI.</li> // <li>If the key is not set, the password will be used for login to all purchased nodes and the native component WebUI.</li> LoginSettings *LoginSettings `json:"LoginSettings,omitnil,omitempty" name:"LoginSettings"` // Configuration information of VPC. This parameter is used to specify the VPC ID, subnet ID, etc. VPCSettings *VPCSettings `json:"VPCSettings,omitnil,omitempty" name:"VPCSettings"` // Node resource specification. ResourceSpec *NewResourceSpec `json:"ResourceSpec,omitnil,omitempty" name:"ResourceSpec"` // Parameter required for enabling COS access. COSSettings *COSSettings `json:"COSSettings,omitnil,omitempty" name:"COSSettings"` // Instance location. This parameter is used to specify the AZ, project, and other attributes of the instance. Placement *Placement `json:"Placement,omitnil,omitempty" name:"Placement"` // Security group to which an instance belongs in the format of `sg-xxxxxxxx`. This parameter can be obtained from the `SecurityGroupId` field in the return value of the [DescribeSecurityGroups](https://intl.cloud.tencent.com/document/api/215/15808) API. SgId *string `json:"SgId,omitnil,omitempty" name:"SgId"` // [Bootstrap action](https://intl.cloud.tencent.com/document/product/589/35656?from_cn_redirect=1) script settings PreExecutedFileSettings []*PreExecuteFileSettings `json:"PreExecutedFileSettings,omitnil,omitempty" name:"PreExecutedFileSettings"` // Whether auto-renewal is enabled. Valid values: // <li>0: auto-renewal not enabled.</li> // <li>1: auto-renewal enabled.</li> AutoRenew *uint64 `json:"AutoRenew,omitnil,omitempty" name:"AutoRenew"` // Unique random identifier with the time efficiency of 5 minutes, which needs to be specified by the caller to prevent the client from creating resources again, for example, a9a90aa6-****-****-****-fae36063280. ClientToken *string `json:"ClientToken,omitnil,omitempty" name:"ClientToken"` // Whether to enable public IP access for master node. Valid values: // <li>NEED_MASTER_WAN: enables public IP for master node.</li> // <li>NOT_NEED_MASTER_WAN: does not enable.</li>Public IP is enabled for master node by default. NeedMasterWan *string `json:"NeedMasterWan,omitnil,omitempty" name:"NeedMasterWan"` // Whether to enable remote public network login, i.e., port 22. When `SgId` is not empty, this parameter does not take effect. RemoteLoginAtCreate *int64 `json:"RemoteLoginAtCreate,omitnil,omitempty" name:"RemoteLoginAtCreate"` // Whether to enable secure cluster. 0: no; other values: yes. CheckSecurity *int64 `json:"CheckSecurity,omitnil,omitempty" name:"CheckSecurity"` // Accesses to external file system. ExtendFsField *string `json:"ExtendFsField,omitnil,omitempty" name:"ExtendFsField"` // Tag description list. This parameter is used to bind a tag to a resource instance. Tags []*Tag `json:"Tags,omitnil,omitempty" name:"Tags"` // List of spread placement group IDs. Only one can be specified currently. // This parameter can be obtained in the `SecurityGroupId` field in the return value of the [DescribeSecurityGroups](https://intl.cloud.tencent.com/document/product/213/15486?from_cn_redirect=1) API. DisasterRecoverGroupIds []*string `json:"DisasterRecoverGroupIds,omitnil,omitempty" name:"DisasterRecoverGroupIds"` // CBS disk encryption at the cluster level. 0: not encrypted, 1: encrypted CbsEncrypt *uint64 `json:"CbsEncrypt,omitnil,omitempty" name:"CbsEncrypt"` // Hive-shared metadatabase type. Valid values: // <li>EMR_DEFAULT_META: the cluster creates one by default.</li> // <li>EMR_EXIST_META: the cluster uses the specified EMR-MetaDB instance.</li> // <li>USER_CUSTOM_META: the cluster uses a custom MetaDB instance.</li> MetaType *string `json:"MetaType,omitnil,omitempty" name:"MetaType"` // EMR-MetaDB instance UnifyMetaInstanceId *string `json:"UnifyMetaInstanceId,omitnil,omitempty" name:"UnifyMetaInstanceId"` // Custom MetaDB instance information MetaDBInfo *CustomMetaInfo `json:"MetaDBInfo,omitnil,omitempty" name:"MetaDBInfo"` // Custom application role. ApplicationRole *string `json:"ApplicationRole,omitnil,omitempty" name:"ApplicationRole"` // Scenario-based values: // Hadoop-Kudu // Hadoop-Zookeeper // Hadoop-Presto // Hadoop-Hbase SceneName *string `json:"SceneName,omitnil,omitempty" name:"SceneName"` // Shared component information ExternalService []*ExternalService `json:"ExternalService,omitnil,omitempty" name:"ExternalService"` VersionID *int64 `json:"VersionID,omitnil,omitempty" name:"VersionID"` // `true` indicates that the multi-AZ deployment mode is enabled. This parameter is available only in cluster creation and cannot be changed after setting. MultiZone *bool `json:"MultiZone,omitnil,omitempty" name:"MultiZone"` // Node resource specs. The actual number of AZs is set, with the first AZ as the primary AZ, the second as the backup AZ, and the third as the arbitrator AZ. If the multi-AZ mode is not enabled, set the value to `1`. MultiZoneSettings []*MultiZoneSetting `json:"MultiZoneSettings,omitnil,omitempty" name:"MultiZoneSettings"` // COS bucket path, which is used when you create StarRocks compute-storage separation clusters. CosBucket *string `json:"CosBucket,omitnil,omitempty" name:"CosBucket"` // Node identifier information: currently used only in Terraform. NodeMarks []*NodeMark `json:"NodeMarks,omitnil,omitempty" name:"NodeMarks"` // CLB id LoadBalancerId *string `json:"LoadBalancerId,omitnil,omitempty" name:"LoadBalancerId"` }
Predefined struct for user
type CreateInstanceResponse ¶
type CreateInstanceResponse struct { *tchttp.BaseResponse Response *CreateInstanceResponseParams `json:"Response"` }
func NewCreateInstanceResponse ¶
func NewCreateInstanceResponse() (response *CreateInstanceResponse)
func (*CreateInstanceResponse) FromJsonString ¶
func (r *CreateInstanceResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateInstanceResponse) ToJsonString ¶
func (r *CreateInstanceResponse) ToJsonString() string
type CreateInstanceResponseParams ¶
type CreateInstanceResponseParams struct { // Instance ID. InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateSLInstanceRequest ¶
type CreateSLInstanceRequest struct { *tchttp.BaseRequest // Instance name. InstanceName *string `json:"InstanceName,omitnil,omitempty" name:"InstanceName"` // Instance billing mode. 0 indicates postpaid, i.e., pay-as-you-go. PayMode *int64 `json:"PayMode,omitnil,omitempty" name:"PayMode"` // Instance storage type. Fill in CLOUD_HSSD to represent high-performance cloud storage. DiskType *string `json:"DiskType,omitnil,omitempty" name:"DiskType"` // The disk capacity of a single node of the instance, in GB. The disk capacity of a single node should be greater than or equal to 100 and less than or equal to 250 x the number of CPU cores. The capacity adjustment step is 100. DiskSize *int64 `json:"DiskSize,omitnil,omitempty" name:"DiskSize"` // Instance node specification. You can fill in 4C16G, 8C32G, 16C64G, or 32C128G, which is case-insensitive. NodeType *string `json:"NodeType,omitnil,omitempty" name:"NodeType"` // Detailed configuration of the instance AZ. Currently, multiple availability zones are supported. The number of AZs must be 1 or 3, including the region names, VPC information, and number of nodes. The total number of nodes across all zones must be greater than or equal to 3 and less than or equal to 50. ZoneSettings []*ZoneSetting `json:"ZoneSettings,omitnil,omitempty" name:"ZoneSettings"` // List of tags to be bound to the instance. Tags []*Tag `json:"Tags,omitnil,omitempty" name:"Tags"` // Prepaid parameter. PrePaySetting *PrePaySetting `json:"PrePaySetting,omitnil,omitempty" name:"PrePaySetting"` // The unique random identifier with a time efficiency of 5 minutes, which needs to be specified by the caller to prevent the client from creating resources repeatedly. For example: a9a90aa6-****-****-****-fae360632808. ClientToken *string `json:"ClientToken,omitnil,omitempty" name:"ClientToken"` DeploymentMode *string `json:"DeploymentMode,omitnil,omitempty" name:"DeploymentMode"` }
func NewCreateSLInstanceRequest ¶
func NewCreateSLInstanceRequest() (request *CreateSLInstanceRequest)
func (*CreateSLInstanceRequest) FromJsonString ¶
func (r *CreateSLInstanceRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateSLInstanceRequest) ToJsonString ¶
func (r *CreateSLInstanceRequest) ToJsonString() string
type CreateSLInstanceRequestParams ¶
type CreateSLInstanceRequestParams struct { // Instance name. InstanceName *string `json:"InstanceName,omitnil,omitempty" name:"InstanceName"` // Instance billing mode. 0 indicates postpaid, i.e., pay-as-you-go. PayMode *int64 `json:"PayMode,omitnil,omitempty" name:"PayMode"` // Instance storage type. Fill in CLOUD_HSSD to represent high-performance cloud storage. DiskType *string `json:"DiskType,omitnil,omitempty" name:"DiskType"` // The disk capacity of a single node of the instance, in GB. The disk capacity of a single node should be greater than or equal to 100 and less than or equal to 250 x the number of CPU cores. The capacity adjustment step is 100. DiskSize *int64 `json:"DiskSize,omitnil,omitempty" name:"DiskSize"` // Instance node specification. You can fill in 4C16G, 8C32G, 16C64G, or 32C128G, which is case-insensitive. NodeType *string `json:"NodeType,omitnil,omitempty" name:"NodeType"` // Detailed configuration of the instance AZ. Currently, multiple availability zones are supported. The number of AZs must be 1 or 3, including the region names, VPC information, and number of nodes. The total number of nodes across all zones must be greater than or equal to 3 and less than or equal to 50. ZoneSettings []*ZoneSetting `json:"ZoneSettings,omitnil,omitempty" name:"ZoneSettings"` // List of tags to be bound to the instance. Tags []*Tag `json:"Tags,omitnil,omitempty" name:"Tags"` // Prepaid parameter. PrePaySetting *PrePaySetting `json:"PrePaySetting,omitnil,omitempty" name:"PrePaySetting"` // The unique random identifier with a time efficiency of 5 minutes, which needs to be specified by the caller to prevent the client from creating resources repeatedly. For example: a9a90aa6-****-****-****-fae360632808. ClientToken *string `json:"ClientToken,omitnil,omitempty" name:"ClientToken"` DeploymentMode *string `json:"DeploymentMode,omitnil,omitempty" name:"DeploymentMode"` }
Predefined struct for user
type CreateSLInstanceResponse ¶
type CreateSLInstanceResponse struct { *tchttp.BaseResponse Response *CreateSLInstanceResponseParams `json:"Response"` }
func NewCreateSLInstanceResponse ¶
func NewCreateSLInstanceResponse() (response *CreateSLInstanceResponse)
func (*CreateSLInstanceResponse) FromJsonString ¶
func (r *CreateSLInstanceResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateSLInstanceResponse) ToJsonString ¶
func (r *CreateSLInstanceResponse) ToJsonString() string
type CreateSLInstanceResponseParams ¶
type CreateSLInstanceResponseParams struct { // Instance unique identifier (string). InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CustomMetaDBInfo ¶
type CustomMetaDBInfo struct { // The JDBC URL of the custom metadatabase instance. Example: jdbc:mysql://10.10.10.10:3306/dbname MetaDataJdbcUrl *string `json:"MetaDataJdbcUrl,omitnil,omitempty" name:"MetaDataJdbcUrl"` // The custom metadatabase instance username. MetaDataUser *string `json:"MetaDataUser,omitnil,omitempty" name:"MetaDataUser"` // The custom metadatabase instance password. MetaDataPass *string `json:"MetaDataPass,omitnil,omitempty" name:"MetaDataPass"` // The Hive-shared metadatabase type. Valid values: // <li>`EMR_DEFAULT_META`: The cluster creates one by default.</li> // <li>`EMR_EXIST_META`: The cluster uses the specified EMR metadatabase instance.</li> // <li>`USER_CUSTOM_META`: The cluster uses a custom metadatabase instance.</li> MetaType *string `json:"MetaType,omitnil,omitempty" name:"MetaType"` // The EMR-MetaDB instance. UnifyMetaInstanceId *string `json:"UnifyMetaInstanceId,omitnil,omitempty" name:"UnifyMetaInstanceId"` }
type CustomMetaInfo ¶
type CustomMetaInfo struct { // JDBC connection to custom MetaDB instance beginning with `jdbc:mysql://` MetaDataJdbcUrl *string `json:"MetaDataJdbcUrl,omitnil,omitempty" name:"MetaDataJdbcUrl"` // Custom MetaDB instance username MetaDataUser *string `json:"MetaDataUser,omitnil,omitempty" name:"MetaDataUser"` // Custom MetaDB instance password MetaDataPass *string `json:"MetaDataPass,omitnil,omitempty" name:"MetaDataPass"` }
type CustomServiceDefine ¶
type DayRepeatStrategy ¶
type DefaultSetting ¶
type DefaultSetting struct { // Name: the key for input parameters. Name *string `json:"Name,omitnil,omitempty" name:"Name"` // Description. Desc *string `json:"Desc,omitnil,omitempty" name:"Desc"` // Prompt. Prompt *string `json:"Prompt,omitnil,omitempty" name:"Prompt"` // Key: display the configuration item in the configuration file. Key *string `json:"Key,omitnil,omitempty" name:"Key"` // Name value. Value *string `json:"Value,omitnil,omitempty" name:"Value"` }
type DeleteAutoScaleStrategyRequest ¶
type DeleteAutoScaleStrategyRequest struct { *tchttp.BaseRequest // Instance ID. InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Automatic scaling rule type. 1: Scaling by load metrics; 2: Scaling by time rules. StrategyType *int64 `json:"StrategyType,omitnil,omitempty" name:"StrategyType"` // Rule ID. StrategyId *int64 `json:"StrategyId,omitnil,omitempty" name:"StrategyId"` // Scaling group ID. GroupId *int64 `json:"GroupId,omitnil,omitempty" name:"GroupId"` }
func NewDeleteAutoScaleStrategyRequest ¶
func NewDeleteAutoScaleStrategyRequest() (request *DeleteAutoScaleStrategyRequest)
func (*DeleteAutoScaleStrategyRequest) FromJsonString ¶
func (r *DeleteAutoScaleStrategyRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteAutoScaleStrategyRequest) ToJsonString ¶
func (r *DeleteAutoScaleStrategyRequest) ToJsonString() string
type DeleteAutoScaleStrategyRequestParams ¶
type DeleteAutoScaleStrategyRequestParams struct { // Instance ID. InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Automatic scaling rule type. 1: Scaling by load metrics; 2: Scaling by time rules. StrategyType *int64 `json:"StrategyType,omitnil,omitempty" name:"StrategyType"` // Rule ID. StrategyId *int64 `json:"StrategyId,omitnil,omitempty" name:"StrategyId"` // Scaling group ID. GroupId *int64 `json:"GroupId,omitnil,omitempty" name:"GroupId"` }
Predefined struct for user
type DeleteAutoScaleStrategyResponse ¶
type DeleteAutoScaleStrategyResponse struct { *tchttp.BaseResponse Response *DeleteAutoScaleStrategyResponseParams `json:"Response"` }
func NewDeleteAutoScaleStrategyResponse ¶
func NewDeleteAutoScaleStrategyResponse() (response *DeleteAutoScaleStrategyResponse)
func (*DeleteAutoScaleStrategyResponse) FromJsonString ¶
func (r *DeleteAutoScaleStrategyResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteAutoScaleStrategyResponse) ToJsonString ¶
func (r *DeleteAutoScaleStrategyResponse) ToJsonString() string
type DeleteAutoScaleStrategyResponseParams ¶
type DeleteAutoScaleStrategyResponseParams struct { // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteGroupsSTDRequest ¶
type DeleteGroupsSTDRequest struct { *tchttp.BaseRequest // Cluster name. InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // User group name array. GroupNames []*string `json:"GroupNames,omitnil,omitempty" name:"GroupNames"` }
func NewDeleteGroupsSTDRequest ¶
func NewDeleteGroupsSTDRequest() (request *DeleteGroupsSTDRequest)
func (*DeleteGroupsSTDRequest) FromJsonString ¶
func (r *DeleteGroupsSTDRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteGroupsSTDRequest) ToJsonString ¶
func (r *DeleteGroupsSTDRequest) ToJsonString() string
type DeleteGroupsSTDRequestParams ¶
type DeleteGroupsSTDRequestParams struct { // Cluster name. InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // User group name array. GroupNames []*string `json:"GroupNames,omitnil,omitempty" name:"GroupNames"` }
Predefined struct for user
type DeleteGroupsSTDResponse ¶
type DeleteGroupsSTDResponse struct { *tchttp.BaseResponse Response *DeleteGroupsSTDResponseParams `json:"Response"` }
func NewDeleteGroupsSTDResponse ¶
func NewDeleteGroupsSTDResponse() (response *DeleteGroupsSTDResponse)
func (*DeleteGroupsSTDResponse) FromJsonString ¶
func (r *DeleteGroupsSTDResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteGroupsSTDResponse) ToJsonString ¶
func (r *DeleteGroupsSTDResponse) ToJsonString() string
type DeleteGroupsSTDResponseParams ¶
type DeleteGroupsSTDResponseParams struct { // Deleting returned results. Data []*ResultItem `json:"Data,omitnil,omitempty" name:"Data"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteNodeResourceConfigRequest ¶
type DeleteNodeResourceConfigRequest struct { *tchttp.BaseRequest // Cluster instance ID. InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Node configuration ID. ResourceConfigId *uint64 `json:"ResourceConfigId,omitnil,omitempty" name:"ResourceConfigId"` // Node type: CORE, TASK, and ROUTER. ResourceType *string `json:"ResourceType,omitnil,omitempty" name:"ResourceType"` // The type can be ComputeResource, EMR, or a default value. The default value is EMR. ResourceBaseType *string `json:"ResourceBaseType,omitnil,omitempty" name:"ResourceBaseType"` // Computing resource ID. ComputeResourceId *string `json:"ComputeResourceId,omitnil,omitempty" name:"ComputeResourceId"` }
func NewDeleteNodeResourceConfigRequest ¶
func NewDeleteNodeResourceConfigRequest() (request *DeleteNodeResourceConfigRequest)
func (*DeleteNodeResourceConfigRequest) FromJsonString ¶
func (r *DeleteNodeResourceConfigRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteNodeResourceConfigRequest) ToJsonString ¶
func (r *DeleteNodeResourceConfigRequest) ToJsonString() string
type DeleteNodeResourceConfigRequestParams ¶
type DeleteNodeResourceConfigRequestParams struct { // Cluster instance ID. InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Node configuration ID. ResourceConfigId *uint64 `json:"ResourceConfigId,omitnil,omitempty" name:"ResourceConfigId"` // Node type: CORE, TASK, and ROUTER. ResourceType *string `json:"ResourceType,omitnil,omitempty" name:"ResourceType"` // The type can be ComputeResource, EMR, or a default value. The default value is EMR. ResourceBaseType *string `json:"ResourceBaseType,omitnil,omitempty" name:"ResourceBaseType"` // Computing resource ID. ComputeResourceId *string `json:"ComputeResourceId,omitnil,omitempty" name:"ComputeResourceId"` }
Predefined struct for user
type DeleteNodeResourceConfigResponse ¶
type DeleteNodeResourceConfigResponse struct { *tchttp.BaseResponse Response *DeleteNodeResourceConfigResponseParams `json:"Response"` }
func NewDeleteNodeResourceConfigResponse ¶
func NewDeleteNodeResourceConfigResponse() (response *DeleteNodeResourceConfigResponse)
func (*DeleteNodeResourceConfigResponse) FromJsonString ¶
func (r *DeleteNodeResourceConfigResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteNodeResourceConfigResponse) ToJsonString ¶
func (r *DeleteNodeResourceConfigResponse) ToJsonString() string
type DeleteNodeResourceConfigResponseParams ¶
type DeleteNodeResourceConfigResponseParams struct { // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DependService ¶
type DeployYarnConfRequest ¶
type DeployYarnConfRequest struct { *tchttp.BaseRequest // English ID of the EMR cluster. InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` }
func NewDeployYarnConfRequest ¶
func NewDeployYarnConfRequest() (request *DeployYarnConfRequest)
func (*DeployYarnConfRequest) FromJsonString ¶
func (r *DeployYarnConfRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeployYarnConfRequest) ToJsonString ¶
func (r *DeployYarnConfRequest) ToJsonString() string
type DeployYarnConfRequestParams ¶
type DeployYarnConfRequestParams struct { // English ID of the EMR cluster. InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` }
Predefined struct for user
type DeployYarnConfResponse ¶
type DeployYarnConfResponse struct { *tchttp.BaseResponse Response *DeployYarnConfResponseParams `json:"Response"` }
func NewDeployYarnConfResponse ¶
func NewDeployYarnConfResponse() (response *DeployYarnConfResponse)
func (*DeployYarnConfResponse) FromJsonString ¶
func (r *DeployYarnConfResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeployYarnConfResponse) ToJsonString ¶
func (r *DeployYarnConfResponse) ToJsonString() string
type DeployYarnConfResponseParams ¶
type DeployYarnConfResponseParams struct { // Process ID after the process is started. You can use the [DescribeClusterFlowStatusDetail](https://intl.cloud.tencent.com/document/product/589/107224?from_cn_redirect=1) API to obtain the process status. FlowId *uint64 `json:"FlowId,omitnil,omitempty" name:"FlowId"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeAutoScaleGroupGlobalConfRequest ¶
type DescribeAutoScaleGroupGlobalConfRequest struct { *tchttp.BaseRequest // Instance ID. InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` }
func NewDescribeAutoScaleGroupGlobalConfRequest ¶
func NewDescribeAutoScaleGroupGlobalConfRequest() (request *DescribeAutoScaleGroupGlobalConfRequest)
func (*DescribeAutoScaleGroupGlobalConfRequest) FromJsonString ¶
func (r *DescribeAutoScaleGroupGlobalConfRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeAutoScaleGroupGlobalConfRequest) ToJsonString ¶
func (r *DescribeAutoScaleGroupGlobalConfRequest) ToJsonString() string
type DescribeAutoScaleGroupGlobalConfRequestParams ¶
type DescribeAutoScaleGroupGlobalConfRequestParams struct { // Instance ID. InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` }
Predefined struct for user
type DescribeAutoScaleGroupGlobalConfResponse ¶
type DescribeAutoScaleGroupGlobalConfResponse struct { *tchttp.BaseResponse Response *DescribeAutoScaleGroupGlobalConfResponseParams `json:"Response"` }
func NewDescribeAutoScaleGroupGlobalConfResponse ¶
func NewDescribeAutoScaleGroupGlobalConfResponse() (response *DescribeAutoScaleGroupGlobalConfResponse)
func (*DescribeAutoScaleGroupGlobalConfResponse) FromJsonString ¶
func (r *DescribeAutoScaleGroupGlobalConfResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeAutoScaleGroupGlobalConfResponse) ToJsonString ¶
func (r *DescribeAutoScaleGroupGlobalConfResponse) ToJsonString() string
type DescribeAutoScaleGroupGlobalConfResponseParams ¶
type DescribeAutoScaleGroupGlobalConfResponseParams struct { // Global information of all scaling groups in the cluster. // Note: This field may return null, indicating that no valid values can be obtained. GroupGlobalConfs []*GroupGlobalConfs `json:"GroupGlobalConfs,omitnil,omitempty" name:"GroupGlobalConfs"` // Total number. TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeAutoScaleRecordsRequest ¶
type DescribeAutoScaleRecordsRequest struct { *tchttp.BaseRequest // The instance ID. InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Record filter parameter, which can only be "StartTime", "EndTime", "StrategyName", "ActionStatus", or "ScaleAction". // Time format. Either 2006-01-02 15:04:05 or 2006/01/02 15:04:05 for StartTime and EndTime. // ActionStatus: 0 (INITED), 1 (SUCCESS), 2 (FAILED), 3 (LIMITED_SUCCESSED), 4 (IN_PROCESS), 5 (IN_RETRY). // ScaleAction: 1 (scale out), 2 (scale in). Filters []*KeyValue `json:"Filters,omitnil,omitempty" name:"Filters"` // Pagination parameters. Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Pagination parameters. Maximum value: 100 Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // Whether it is automatic scaling (0) or managed scaling (1) RecordSource *int64 `json:"RecordSource,omitnil,omitempty" name:"RecordSource"` // Ascending or not. 1: ascending, 0: descending. Asc *int64 `json:"Asc,omitnil,omitempty" name:"Asc"` }
func NewDescribeAutoScaleRecordsRequest ¶
func NewDescribeAutoScaleRecordsRequest() (request *DescribeAutoScaleRecordsRequest)
func (*DescribeAutoScaleRecordsRequest) FromJsonString ¶
func (r *DescribeAutoScaleRecordsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeAutoScaleRecordsRequest) ToJsonString ¶
func (r *DescribeAutoScaleRecordsRequest) ToJsonString() string
type DescribeAutoScaleRecordsRequestParams ¶
type DescribeAutoScaleRecordsRequestParams struct { // The instance ID. InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Record filter parameter, which can only be "StartTime", "EndTime", "StrategyName", "ActionStatus", or "ScaleAction". // Time format. Either 2006-01-02 15:04:05 or 2006/01/02 15:04:05 for StartTime and EndTime. // ActionStatus: 0 (INITED), 1 (SUCCESS), 2 (FAILED), 3 (LIMITED_SUCCESSED), 4 (IN_PROCESS), 5 (IN_RETRY). // ScaleAction: 1 (scale out), 2 (scale in). Filters []*KeyValue `json:"Filters,omitnil,omitempty" name:"Filters"` // Pagination parameters. Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Pagination parameters. Maximum value: 100 Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // Whether it is automatic scaling (0) or managed scaling (1) RecordSource *int64 `json:"RecordSource,omitnil,omitempty" name:"RecordSource"` // Ascending or not. 1: ascending, 0: descending. Asc *int64 `json:"Asc,omitnil,omitempty" name:"Asc"` }
Predefined struct for user
type DescribeAutoScaleRecordsResponse ¶
type DescribeAutoScaleRecordsResponse struct { *tchttp.BaseResponse Response *DescribeAutoScaleRecordsResponseParams `json:"Response"` }
func NewDescribeAutoScaleRecordsResponse ¶
func NewDescribeAutoScaleRecordsResponse() (response *DescribeAutoScaleRecordsResponse)
func (*DescribeAutoScaleRecordsResponse) FromJsonString ¶
func (r *DescribeAutoScaleRecordsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeAutoScaleRecordsResponse) ToJsonString ¶
func (r *DescribeAutoScaleRecordsResponse) ToJsonString() string
type DescribeAutoScaleRecordsResponseParams ¶
type DescribeAutoScaleRecordsResponseParams struct { // Total scale-in and scale-out records. TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // Record list. RecordList []*AutoScaleRecord `json:"RecordList,omitnil,omitempty" name:"RecordList"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeAutoScaleStrategiesRequest ¶
type DescribeAutoScaleStrategiesRequest struct { *tchttp.BaseRequest // Instance ID. InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Scaling group ID. GroupId *int64 `json:"GroupId,omitnil,omitempty" name:"GroupId"` }
func NewDescribeAutoScaleStrategiesRequest ¶
func NewDescribeAutoScaleStrategiesRequest() (request *DescribeAutoScaleStrategiesRequest)
func (*DescribeAutoScaleStrategiesRequest) FromJsonString ¶
func (r *DescribeAutoScaleStrategiesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeAutoScaleStrategiesRequest) ToJsonString ¶
func (r *DescribeAutoScaleStrategiesRequest) ToJsonString() string
type DescribeAutoScaleStrategiesRequestParams ¶
type DescribeAutoScaleStrategiesRequestParams struct { // Instance ID. InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Scaling group ID. GroupId *int64 `json:"GroupId,omitnil,omitempty" name:"GroupId"` }
Predefined struct for user
type DescribeAutoScaleStrategiesResponse ¶
type DescribeAutoScaleStrategiesResponse struct { *tchttp.BaseResponse Response *DescribeAutoScaleStrategiesResponseParams `json:"Response"` }
func NewDescribeAutoScaleStrategiesResponse ¶
func NewDescribeAutoScaleStrategiesResponse() (response *DescribeAutoScaleStrategiesResponse)
func (*DescribeAutoScaleStrategiesResponse) FromJsonString ¶
func (r *DescribeAutoScaleStrategiesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeAutoScaleStrategiesResponse) ToJsonString ¶
func (r *DescribeAutoScaleStrategiesResponse) ToJsonString() string
type DescribeAutoScaleStrategiesResponseParams ¶
type DescribeAutoScaleStrategiesResponseParams struct { // Load-based scaling rules // // Note: This field may return null, indicating that no valid values can be obtained. LoadAutoScaleStrategies []*LoadAutoScaleStrategy `json:"LoadAutoScaleStrategies,omitnil,omitempty" name:"LoadAutoScaleStrategies"` // Scaling rules by time // // Note: This field may return null, indicating that no valid values can be obtained. TimeBasedAutoScaleStrategies []*TimeAutoScaleStrategy `json:"TimeBasedAutoScaleStrategies,omitnil,omitempty" name:"TimeBasedAutoScaleStrategies"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeClusterFlowStatusDetailRequest ¶
type DescribeClusterFlowStatusDetailRequest struct { *tchttp.BaseRequest // EMR instance ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Process-related parameters. FlowParam *FlowParam `json:"FlowParam,omitnil,omitempty" name:"FlowParam"` // Whether to return additional task information. // The default value is false. NeedExtraDetail *bool `json:"NeedExtraDetail,omitnil,omitempty" name:"NeedExtraDetail"` }
func NewDescribeClusterFlowStatusDetailRequest ¶
func NewDescribeClusterFlowStatusDetailRequest() (request *DescribeClusterFlowStatusDetailRequest)
func (*DescribeClusterFlowStatusDetailRequest) FromJsonString ¶
func (r *DescribeClusterFlowStatusDetailRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeClusterFlowStatusDetailRequest) ToJsonString ¶
func (r *DescribeClusterFlowStatusDetailRequest) ToJsonString() string
type DescribeClusterFlowStatusDetailRequestParams ¶
type DescribeClusterFlowStatusDetailRequestParams struct { // EMR instance ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Process-related parameters. FlowParam *FlowParam `json:"FlowParam,omitnil,omitempty" name:"FlowParam"` // Whether to return additional task information. // The default value is false. NeedExtraDetail *bool `json:"NeedExtraDetail,omitnil,omitempty" name:"NeedExtraDetail"` }
Predefined struct for user
type DescribeClusterFlowStatusDetailResponse ¶
type DescribeClusterFlowStatusDetailResponse struct { *tchttp.BaseResponse Response *DescribeClusterFlowStatusDetailResponseParams `json:"Response"` }
func NewDescribeClusterFlowStatusDetailResponse ¶
func NewDescribeClusterFlowStatusDetailResponse() (response *DescribeClusterFlowStatusDetailResponse)
func (*DescribeClusterFlowStatusDetailResponse) FromJsonString ¶
func (r *DescribeClusterFlowStatusDetailResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeClusterFlowStatusDetailResponse) ToJsonString ¶
func (r *DescribeClusterFlowStatusDetailResponse) ToJsonString() string
type DescribeClusterFlowStatusDetailResponseParams ¶
type DescribeClusterFlowStatusDetailResponseParams struct { // Task step details // // Note: This field may return null, indicating that no valid values can be obtained. StageDetails []*StageInfoDetail `json:"StageDetails,omitnil,omitempty" name:"StageDetails"` // Task parameters. // Note: This field may return null, indicating that no valid values can be obtained. FlowDesc []*FlowParamsDesc `json:"FlowDesc,omitnil,omitempty" name:"FlowDesc"` // Task name. FlowName *string `json:"FlowName,omitnil,omitempty" name:"FlowName"` // Overall task flow progress. // Example: 0.8. FlowTotalProgress *float64 `json:"FlowTotalProgress,omitnil,omitempty" name:"FlowTotalProgress"` // Overall process status definition. // 0: initializing. // 1: running. // 2: completed. // 3: completed (with skipped steps). // -1: failed. // -3: blocked. FlowTotalStatus *int64 `json:"FlowTotalStatus,omitnil,omitempty" name:"FlowTotalStatus"` // Additional process information. // This parameter is returned when NeedExtraDetail is true. // Note: This field may return null, indicating that no valid values can be obtained. FlowExtraDetail []*FlowExtraDetail `json:"FlowExtraDetail,omitnil,omitempty" name:"FlowExtraDetail"` // Flow description. FlowInfo *string `json:"FlowInfo,omitnil,omitempty" name:"FlowInfo"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeClusterNodesRequest ¶
type DescribeClusterNodesRequest struct { *tchttp.BaseRequest // Cluster instance ID in the format of emr-xxxxxxxx InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Node flag. Valid values: // <li>all: gets the information of nodes in all types except TencentDB information.</li> // <li>master: gets master node information.</li> // <li>core: gets core node information.</li> // <li>task: gets task node information.</li> // <li>common: gets common node information.</li> // <li>router: gets router node information.</li> // <li>db: gets TencentDB information in normal status.</li> // Note: only the above values are supported for the time being. Entering other values will cause errors. NodeFlag *string `json:"NodeFlag,omitnil,omitempty" name:"NodeFlag"` // Whether to carry CDB information when all node information is exported in CSV format. ExportDb *bool `json:"ExportDb,omitnil,omitempty" name:"ExportDb"` // Page number. Default value: 0, indicating the first page. Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Number of records to be returned per page. The default value is 100, and the maximum value is 100. // If both offset and limit are not set, or both are set to 0, all data will be returned. Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // Resource type. Valid values: all, host, pod. Default value: all HardwareResourceType *string `json:"HardwareResourceType,omitnil,omitempty" name:"HardwareResourceType"` // Searchable field SearchFields []*SearchItem `json:"SearchFields,omitnil,omitempty" name:"SearchFields"` // Order field. OrderField *string `json:"OrderField,omitnil,omitempty" name:"OrderField"` // Ascending or not. 1: ascending; 0: descending. Asc *int64 `json:"Asc,omitnil,omitempty" name:"Asc"` }
func NewDescribeClusterNodesRequest ¶
func NewDescribeClusterNodesRequest() (request *DescribeClusterNodesRequest)
func (*DescribeClusterNodesRequest) FromJsonString ¶
func (r *DescribeClusterNodesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeClusterNodesRequest) ToJsonString ¶
func (r *DescribeClusterNodesRequest) ToJsonString() string
type DescribeClusterNodesRequestParams ¶
type DescribeClusterNodesRequestParams struct { // Cluster instance ID in the format of emr-xxxxxxxx InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Node flag. Valid values: // <li>all: gets the information of nodes in all types except TencentDB information.</li> // <li>master: gets master node information.</li> // <li>core: gets core node information.</li> // <li>task: gets task node information.</li> // <li>common: gets common node information.</li> // <li>router: gets router node information.</li> // <li>db: gets TencentDB information in normal status.</li> // Note: only the above values are supported for the time being. Entering other values will cause errors. NodeFlag *string `json:"NodeFlag,omitnil,omitempty" name:"NodeFlag"` // Whether to carry CDB information when all node information is exported in CSV format. ExportDb *bool `json:"ExportDb,omitnil,omitempty" name:"ExportDb"` // Page number. Default value: 0, indicating the first page. Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Number of records to be returned per page. The default value is 100, and the maximum value is 100. // If both offset and limit are not set, or both are set to 0, all data will be returned. Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // Resource type. Valid values: all, host, pod. Default value: all HardwareResourceType *string `json:"HardwareResourceType,omitnil,omitempty" name:"HardwareResourceType"` // Searchable field SearchFields []*SearchItem `json:"SearchFields,omitnil,omitempty" name:"SearchFields"` // Order field. OrderField *string `json:"OrderField,omitnil,omitempty" name:"OrderField"` // Ascending or not. 1: ascending; 0: descending. Asc *int64 `json:"Asc,omitnil,omitempty" name:"Asc"` }
Predefined struct for user
type DescribeClusterNodesResponse ¶
type DescribeClusterNodesResponse struct { *tchttp.BaseResponse Response *DescribeClusterNodesResponseParams `json:"Response"` }
func NewDescribeClusterNodesResponse ¶
func NewDescribeClusterNodesResponse() (response *DescribeClusterNodesResponse)
func (*DescribeClusterNodesResponse) FromJsonString ¶
func (r *DescribeClusterNodesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeClusterNodesResponse) ToJsonString ¶
func (r *DescribeClusterNodesResponse) ToJsonString() string
type DescribeClusterNodesResponseParams ¶
type DescribeClusterNodesResponseParams struct { // Total number of queried nodes TotalCnt *int64 `json:"TotalCnt,omitnil,omitempty" name:"TotalCnt"` // List of node details // Note: this field may return null, indicating that no valid values can be obtained. NodeList []*NodeHardwareInfo `json:"NodeList,omitnil,omitempty" name:"NodeList"` // List of tag keys owned by user // Note: this field may return null, indicating that no valid values can be obtained. TagKeys []*string `json:"TagKeys,omitnil,omitempty" name:"TagKeys"` // Resource type list // Note: this field may return null, indicating that no valid values can be obtained. HardwareResourceTypeList []*string `json:"HardwareResourceTypeList,omitnil,omitempty" name:"HardwareResourceTypeList"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeDAGInfoRequest ¶
type DescribeDAGInfoRequest struct { *tchttp.BaseRequest // Cluster ID. InstanceID *string `json:"InstanceID,omitnil,omitempty" name:"InstanceID"` // DAG type. Only STARROCKS is supported currently. Type *string `json:"Type,omitnil,omitempty" name:"Type"` // Query ID list. The maximum length is 1. IDList []*string `json:"IDList,omitnil,omitempty" name:"IDList"` }
func NewDescribeDAGInfoRequest ¶
func NewDescribeDAGInfoRequest() (request *DescribeDAGInfoRequest)
func (*DescribeDAGInfoRequest) FromJsonString ¶
func (r *DescribeDAGInfoRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDAGInfoRequest) ToJsonString ¶
func (r *DescribeDAGInfoRequest) ToJsonString() string
type DescribeDAGInfoRequestParams ¶
type DescribeDAGInfoRequestParams struct { // Cluster ID. InstanceID *string `json:"InstanceID,omitnil,omitempty" name:"InstanceID"` // DAG type. Only STARROCKS is supported currently. Type *string `json:"Type,omitnil,omitempty" name:"Type"` // Query ID list. The maximum length is 1. IDList []*string `json:"IDList,omitnil,omitempty" name:"IDList"` }
Predefined struct for user
type DescribeDAGInfoResponse ¶
type DescribeDAGInfoResponse struct { *tchttp.BaseResponse Response *DescribeDAGInfoResponseParams `json:"Response"` }
func NewDescribeDAGInfoResponse ¶
func NewDescribeDAGInfoResponse() (response *DescribeDAGInfoResponse)
func (*DescribeDAGInfoResponse) FromJsonString ¶
func (r *DescribeDAGInfoResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDAGInfoResponse) ToJsonString ¶
func (r *DescribeDAGInfoResponse) ToJsonString() string
type DescribeDAGInfoResponseParams ¶
type DescribeDAGInfoResponseParams struct { // Total number, which is used for pagination query. TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // StarRocks information list. // Note: This field may return null, indicating that no valid values can be obtained. DAGInfoList []*DAGInfo `json:"DAGInfoList,omitnil,omitempty" name:"DAGInfoList"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeEmrApplicationStaticsRequest ¶
type DescribeEmrApplicationStaticsRequest struct { *tchttp.BaseRequest // Cluster ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Start time in the format of timestamp. Unit: seconds. StartTime *int64 `json:"StartTime,omitnil,omitempty" name:"StartTime"` // End time in the format of timestamp. Unit: seconds. EndTime *int64 `json:"EndTime,omitnil,omitempty" name:"EndTime"` // Queue name used for filtering Queues []*string `json:"Queues,omitnil,omitempty" name:"Queues"` // Username used for filtering Users []*string `json:"Users,omitnil,omitempty" name:"Users"` // Application type used for filtering ApplicationTypes []*string `json:"ApplicationTypes,omitnil,omitempty" name:"ApplicationTypes"` // Group field. Valid values: `queue`, `user`, and `applicationType`. GroupBy []*string `json:"GroupBy,omitnil,omitempty" name:"GroupBy"` // Sorting field. Valid values: `sumMemorySeconds`, `sumVCoreSeconds`, `sumHDFSBytesWritten`, and `sumHDFSBytesRead`. OrderBy *string `json:"OrderBy,omitnil,omitempty" name:"OrderBy"` // Order type. Valid values: `0` (descending) and `1`(ascending). IsAsc *int64 `json:"IsAsc,omitnil,omitempty" name:"IsAsc"` // Page number Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Page capacity in the range of [10,100]. Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` }
func NewDescribeEmrApplicationStaticsRequest ¶
func NewDescribeEmrApplicationStaticsRequest() (request *DescribeEmrApplicationStaticsRequest)
func (*DescribeEmrApplicationStaticsRequest) FromJsonString ¶
func (r *DescribeEmrApplicationStaticsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeEmrApplicationStaticsRequest) ToJsonString ¶
func (r *DescribeEmrApplicationStaticsRequest) ToJsonString() string
type DescribeEmrApplicationStaticsRequestParams ¶
type DescribeEmrApplicationStaticsRequestParams struct { // Cluster ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Start time in the format of timestamp. Unit: seconds. StartTime *int64 `json:"StartTime,omitnil,omitempty" name:"StartTime"` // End time in the format of timestamp. Unit: seconds. EndTime *int64 `json:"EndTime,omitnil,omitempty" name:"EndTime"` // Queue name used for filtering Queues []*string `json:"Queues,omitnil,omitempty" name:"Queues"` // Username used for filtering Users []*string `json:"Users,omitnil,omitempty" name:"Users"` // Application type used for filtering ApplicationTypes []*string `json:"ApplicationTypes,omitnil,omitempty" name:"ApplicationTypes"` // Group field. Valid values: `queue`, `user`, and `applicationType`. GroupBy []*string `json:"GroupBy,omitnil,omitempty" name:"GroupBy"` // Sorting field. Valid values: `sumMemorySeconds`, `sumVCoreSeconds`, `sumHDFSBytesWritten`, and `sumHDFSBytesRead`. OrderBy *string `json:"OrderBy,omitnil,omitempty" name:"OrderBy"` // Order type. Valid values: `0` (descending) and `1`(ascending). IsAsc *int64 `json:"IsAsc,omitnil,omitempty" name:"IsAsc"` // Page number Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Page capacity in the range of [10,100]. Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` }
Predefined struct for user
type DescribeEmrApplicationStaticsResponse ¶
type DescribeEmrApplicationStaticsResponse struct { *tchttp.BaseResponse Response *DescribeEmrApplicationStaticsResponseParams `json:"Response"` }
func NewDescribeEmrApplicationStaticsResponse ¶
func NewDescribeEmrApplicationStaticsResponse() (response *DescribeEmrApplicationStaticsResponse)
func (*DescribeEmrApplicationStaticsResponse) FromJsonString ¶
func (r *DescribeEmrApplicationStaticsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeEmrApplicationStaticsResponse) ToJsonString ¶
func (r *DescribeEmrApplicationStaticsResponse) ToJsonString() string
type DescribeEmrApplicationStaticsResponseParams ¶
type DescribeEmrApplicationStaticsResponseParams struct { // Application statistics Statics []*ApplicationStatics `json:"Statics,omitnil,omitempty" name:"Statics"` // Total count TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // Available queue name Queues []*string `json:"Queues,omitnil,omitempty" name:"Queues"` // Available usernames Users []*string `json:"Users,omitnil,omitempty" name:"Users"` // Available application type ApplicationTypes []*string `json:"ApplicationTypes,omitnil,omitempty" name:"ApplicationTypes"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeEmrOverviewMetricsRequest ¶
type DescribeEmrOverviewMetricsRequest struct { *tchttp.BaseRequest // End time End *int64 `json:"End,omitnil,omitempty" name:"End"` // Metric name. NODE.CPU: average CPU utilization and core count of the node; NODE.CPU.SLHBASE: average CPU utilization and core count of the Serverless instance; HDFS.NN.CAPACITY: storage utilization and total amount. Metric *string `json:"Metric,omitnil,omitempty" name:"Metric"` // Cluster ID. InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Granularity, for example, 30s-max, 1m-max, and 1h-max. Downsample *string `json:"Downsample,omitnil,omitempty" name:"Downsample"` // Start time, not required for pie charts Start *int64 `json:"Start,omitnil,omitempty" name:"Start"` // Aggregation method, for future use Aggregator *string `json:"Aggregator,omitnil,omitempty" name:"Aggregator"` // Specific type of metrics to be queried, for example, "{"type":"CapacityTotal|CapacityRemaining"}". Tags *string `json:"Tags,omitnil,omitempty" name:"Tags"` }
func NewDescribeEmrOverviewMetricsRequest ¶
func NewDescribeEmrOverviewMetricsRequest() (request *DescribeEmrOverviewMetricsRequest)
func (*DescribeEmrOverviewMetricsRequest) FromJsonString ¶
func (r *DescribeEmrOverviewMetricsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeEmrOverviewMetricsRequest) ToJsonString ¶
func (r *DescribeEmrOverviewMetricsRequest) ToJsonString() string
type DescribeEmrOverviewMetricsRequestParams ¶
type DescribeEmrOverviewMetricsRequestParams struct { // End time End *int64 `json:"End,omitnil,omitempty" name:"End"` // Metric name. NODE.CPU: average CPU utilization and core count of the node; NODE.CPU.SLHBASE: average CPU utilization and core count of the Serverless instance; HDFS.NN.CAPACITY: storage utilization and total amount. Metric *string `json:"Metric,omitnil,omitempty" name:"Metric"` // Cluster ID. InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Granularity, for example, 30s-max, 1m-max, and 1h-max. Downsample *string `json:"Downsample,omitnil,omitempty" name:"Downsample"` // Start time, not required for pie charts Start *int64 `json:"Start,omitnil,omitempty" name:"Start"` // Aggregation method, for future use Aggregator *string `json:"Aggregator,omitnil,omitempty" name:"Aggregator"` // Specific type of metrics to be queried, for example, "{"type":"CapacityTotal|CapacityRemaining"}". Tags *string `json:"Tags,omitnil,omitempty" name:"Tags"` }
Predefined struct for user
type DescribeEmrOverviewMetricsResponse ¶
type DescribeEmrOverviewMetricsResponse struct { *tchttp.BaseResponse Response *DescribeEmrOverviewMetricsResponseParams `json:"Response"` }
func NewDescribeEmrOverviewMetricsResponse ¶
func NewDescribeEmrOverviewMetricsResponse() (response *DescribeEmrOverviewMetricsResponse)
func (*DescribeEmrOverviewMetricsResponse) FromJsonString ¶
func (r *DescribeEmrOverviewMetricsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeEmrOverviewMetricsResponse) ToJsonString ¶
func (r *DescribeEmrOverviewMetricsResponse) ToJsonString() string
type DescribeEmrOverviewMetricsResponseParams ¶
type DescribeEmrOverviewMetricsResponseParams struct { // Metric data details. Result []*OverviewMetricData `json:"Result,omitnil,omitempty" name:"Result"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeGlobalConfigRequest ¶
type DescribeGlobalConfigRequest struct { *tchttp.BaseRequest // English ID of the EMR cluster. InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` }
func NewDescribeGlobalConfigRequest ¶
func NewDescribeGlobalConfigRequest() (request *DescribeGlobalConfigRequest)
func (*DescribeGlobalConfigRequest) FromJsonString ¶
func (r *DescribeGlobalConfigRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeGlobalConfigRequest) ToJsonString ¶
func (r *DescribeGlobalConfigRequest) ToJsonString() string
type DescribeGlobalConfigRequestParams ¶
type DescribeGlobalConfigRequestParams struct { // English ID of the EMR cluster. InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` }
Predefined struct for user
type DescribeGlobalConfigResponse ¶
type DescribeGlobalConfigResponse struct { *tchttp.BaseResponse Response *DescribeGlobalConfigResponseParams `json:"Response"` }
func NewDescribeGlobalConfigResponse ¶
func NewDescribeGlobalConfigResponse() (response *DescribeGlobalConfigResponse)
func (*DescribeGlobalConfigResponse) FromJsonString ¶
func (r *DescribeGlobalConfigResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeGlobalConfigResponse) ToJsonString ¶
func (r *DescribeGlobalConfigResponse) ToJsonString() string
type DescribeGlobalConfigResponseParams ¶
type DescribeGlobalConfigResponseParams struct { // Whether the resource scheduling feature is enabled. EnableResourceSchedule *bool `json:"EnableResourceSchedule,omitnil,omitempty" name:"EnableResourceSchedule"` // Currently effective resource scheduler. ActiveScheduler *string `json:"ActiveScheduler,omitnil,omitempty" name:"ActiveScheduler"` // Information of the fair scheduler. // Note: This field may return null, indicating that no valid values can be obtained. CapacityGlobalConfig *CapacityGlobalConfig `json:"CapacityGlobalConfig,omitnil,omitempty" name:"CapacityGlobalConfig"` // Information of the capacity scheduler. // Note: This field may return null, indicating that no valid values can be obtained. FairGlobalConfig *FairGlobalConfig `json:"FairGlobalConfig,omitnil,omitempty" name:"FairGlobalConfig"` // Latest resource scheduler. Scheduler *string `json:"Scheduler,omitnil,omitempty" name:"Scheduler"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeGroupsSTDRequest ¶
type DescribeGroupsSTDRequest struct { *tchttp.BaseRequest // Cluster name. InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Description key-value pair filter, which is used for conditional filtering queries. Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` // Description order, which is used for sorting. OrderFields *Order `json:"OrderFields,omitnil,omitempty" name:"OrderFields"` // Number of returns. Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // Pagination parameter. Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` }
func NewDescribeGroupsSTDRequest ¶
func NewDescribeGroupsSTDRequest() (request *DescribeGroupsSTDRequest)
func (*DescribeGroupsSTDRequest) FromJsonString ¶
func (r *DescribeGroupsSTDRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeGroupsSTDRequest) ToJsonString ¶
func (r *DescribeGroupsSTDRequest) ToJsonString() string
type DescribeGroupsSTDRequestParams ¶
type DescribeGroupsSTDRequestParams struct { // Cluster name. InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Description key-value pair filter, which is used for conditional filtering queries. Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` // Description order, which is used for sorting. OrderFields *Order `json:"OrderFields,omitnil,omitempty" name:"OrderFields"` // Number of returns. Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // Pagination parameter. Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` }
Predefined struct for user
type DescribeGroupsSTDResponse ¶
type DescribeGroupsSTDResponse struct { *tchttp.BaseResponse Response *DescribeGroupsSTDResponseParams `json:"Response"` }
func NewDescribeGroupsSTDResponse ¶
func NewDescribeGroupsSTDResponse() (response *DescribeGroupsSTDResponse)
func (*DescribeGroupsSTDResponse) FromJsonString ¶
func (r *DescribeGroupsSTDResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeGroupsSTDResponse) ToJsonString ¶
func (r *DescribeGroupsSTDResponse) ToJsonString() string
type DescribeGroupsSTDResponseParams ¶
type DescribeGroupsSTDResponseParams struct { // User group information. Data []*GroupInfos `json:"Data,omitnil,omitempty" name:"Data"` // Number of eligible user groups. TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeHBaseTableOverviewRequest ¶
type DescribeHBaseTableOverviewRequest struct { *tchttp.BaseRequest // Instance ID. InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Pagination query number offset, starting from 0. Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Page size for pagination query. The minimum value is 1, and the maximum value is 100. Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // Table name, supporting fuzzy matching Table *string `json:"Table,omitnil,omitempty" name:"Table"` // Field for sorting, with a default value OrderField *string `json:"OrderField,omitnil,omitempty" name:"OrderField"` // asc: Ascending; desc: Descending (default) OrderType *string `json:"OrderType,omitnil,omitempty" name:"OrderType"` }
func NewDescribeHBaseTableOverviewRequest ¶
func NewDescribeHBaseTableOverviewRequest() (request *DescribeHBaseTableOverviewRequest)
func (*DescribeHBaseTableOverviewRequest) FromJsonString ¶
func (r *DescribeHBaseTableOverviewRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeHBaseTableOverviewRequest) ToJsonString ¶
func (r *DescribeHBaseTableOverviewRequest) ToJsonString() string
type DescribeHBaseTableOverviewRequestParams ¶
type DescribeHBaseTableOverviewRequestParams struct { // Instance ID. InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Pagination query number offset, starting from 0. Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Page size for pagination query. The minimum value is 1, and the maximum value is 100. Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // Table name, supporting fuzzy matching Table *string `json:"Table,omitnil,omitempty" name:"Table"` // Field for sorting, with a default value OrderField *string `json:"OrderField,omitnil,omitempty" name:"OrderField"` // asc: Ascending; desc: Descending (default) OrderType *string `json:"OrderType,omitnil,omitempty" name:"OrderType"` }
Predefined struct for user
type DescribeHBaseTableOverviewResponse ¶
type DescribeHBaseTableOverviewResponse struct { *tchttp.BaseResponse Response *DescribeHBaseTableOverviewResponseParams `json:"Response"` }
func NewDescribeHBaseTableOverviewResponse ¶
func NewDescribeHBaseTableOverviewResponse() (response *DescribeHBaseTableOverviewResponse)
func (*DescribeHBaseTableOverviewResponse) FromJsonString ¶
func (r *DescribeHBaseTableOverviewResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeHBaseTableOverviewResponse) ToJsonString ¶
func (r *DescribeHBaseTableOverviewResponse) ToJsonString() string
type DescribeHBaseTableOverviewResponseParams ¶
type DescribeHBaseTableOverviewResponseParams struct { // Overview data array TableMonitorList []*OverviewRow `json:"TableMonitorList,omitnil,omitempty" name:"TableMonitorList"` // Overview data array length TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // Table schema information SchemaList []*TableSchemaItem `json:"SchemaList,omitnil,omitempty" name:"SchemaList"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeHDFSStorageInfoRequest ¶
type DescribeHDFSStorageInfoRequest struct { *tchttp.BaseRequest // Cluster ID. InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Query information obtainment start time (seconds). StartTime *int64 `json:"StartTime,omitnil,omitempty" name:"StartTime"` // Query information obtainment end time (seconds). EndTime *int64 `json:"EndTime,omitnil,omitempty" name:"EndTime"` }
func NewDescribeHDFSStorageInfoRequest ¶
func NewDescribeHDFSStorageInfoRequest() (request *DescribeHDFSStorageInfoRequest)
func (*DescribeHDFSStorageInfoRequest) FromJsonString ¶
func (r *DescribeHDFSStorageInfoRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeHDFSStorageInfoRequest) ToJsonString ¶
func (r *DescribeHDFSStorageInfoRequest) ToJsonString() string
type DescribeHDFSStorageInfoRequestParams ¶
type DescribeHDFSStorageInfoRequestParams struct { // Cluster ID. InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Query information obtainment start time (seconds). StartTime *int64 `json:"StartTime,omitnil,omitempty" name:"StartTime"` // Query information obtainment end time (seconds). EndTime *int64 `json:"EndTime,omitnil,omitempty" name:"EndTime"` }
Predefined struct for user
type DescribeHDFSStorageInfoResponse ¶
type DescribeHDFSStorageInfoResponse struct { *tchttp.BaseResponse Response *DescribeHDFSStorageInfoResponseParams `json:"Response"` }
func NewDescribeHDFSStorageInfoResponse ¶
func NewDescribeHDFSStorageInfoResponse() (response *DescribeHDFSStorageInfoResponse)
func (*DescribeHDFSStorageInfoResponse) FromJsonString ¶
func (r *DescribeHDFSStorageInfoResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeHDFSStorageInfoResponse) ToJsonString ¶
func (r *DescribeHDFSStorageInfoResponse) ToJsonString() string
type DescribeHDFSStorageInfoResponseParams ¶
type DescribeHDFSStorageInfoResponseParams struct { // Sampling time. SampleTime *int64 `json:"SampleTime,omitnil,omitempty" name:"SampleTime"` // Hdfs storage details. // Note: This field may return null, indicating that no valid values can be obtained. StorageSummaryDistribution []*StorageSummaryDistribution `json:"StorageSummaryDistribution,omitnil,omitempty" name:"StorageSummaryDistribution"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeHiveQueriesRequest ¶
type DescribeHiveQueriesRequest struct { *tchttp.BaseRequest // The cluster ID. InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // The start time in seconds. StartTime *uint64 `json:"StartTime,omitnil,omitempty" name:"StartTime"` // The end time in seconds. EndTime-StartTime should not exceed one day's duration, which is 86400 seconds. EndTime *uint64 `json:"EndTime,omitnil,omitempty" name:"EndTime"` // Starting offset for pagination. Start value: 0 Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Page size. Valid range: [1,100] Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` // Execution status, for example, ERROR. State []*string `json:"State,omitnil,omitempty" name:"State"` // Time point earlier than the end time. EndTimeGte *uint64 `json:"EndTimeGte,omitnil,omitempty" name:"EndTimeGte"` // Time point later than the end time. EndTimeLte *uint64 `json:"EndTimeLte,omitnil,omitempty" name:"EndTimeLte"` }
func NewDescribeHiveQueriesRequest ¶
func NewDescribeHiveQueriesRequest() (request *DescribeHiveQueriesRequest)
func (*DescribeHiveQueriesRequest) FromJsonString ¶
func (r *DescribeHiveQueriesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeHiveQueriesRequest) ToJsonString ¶
func (r *DescribeHiveQueriesRequest) ToJsonString() string
type DescribeHiveQueriesRequestParams ¶
type DescribeHiveQueriesRequestParams struct { // The cluster ID. InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // The start time in seconds. StartTime *uint64 `json:"StartTime,omitnil,omitempty" name:"StartTime"` // The end time in seconds. EndTime-StartTime should not exceed one day's duration, which is 86400 seconds. EndTime *uint64 `json:"EndTime,omitnil,omitempty" name:"EndTime"` // Starting offset for pagination. Start value: 0 Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Page size. Valid range: [1,100] Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` // Execution status, for example, ERROR. State []*string `json:"State,omitnil,omitempty" name:"State"` // Time point earlier than the end time. EndTimeGte *uint64 `json:"EndTimeGte,omitnil,omitempty" name:"EndTimeGte"` // Time point later than the end time. EndTimeLte *uint64 `json:"EndTimeLte,omitnil,omitempty" name:"EndTimeLte"` }
Predefined struct for user
type DescribeHiveQueriesResponse ¶
type DescribeHiveQueriesResponse struct { *tchttp.BaseResponse Response *DescribeHiveQueriesResponseParams `json:"Response"` }
func NewDescribeHiveQueriesResponse ¶
func NewDescribeHiveQueriesResponse() (response *DescribeHiveQueriesResponse)
func (*DescribeHiveQueriesResponse) FromJsonString ¶
func (r *DescribeHiveQueriesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeHiveQueriesResponse) ToJsonString ¶
func (r *DescribeHiveQueriesResponse) ToJsonString() string
type DescribeHiveQueriesResponseParams ¶
type DescribeHiveQueriesResponseParams struct { // Total items Total *int64 `json:"Total,omitnil,omitempty" name:"Total"` // Result list Results []*HiveQuery `json:"Results,omitnil,omitempty" name:"Results"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeInsightListRequest ¶
type DescribeInsightListRequest struct { *tchttp.BaseRequest // Cluster ID. InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Start time of the obtained insight result. The time is specific for filtering the start time of App or Hive querying. StartTime *int64 `json:"StartTime,omitnil,omitempty" name:"StartTime"` // End time of the obtained insight result. The time is specific for filtering the start time of App or Hive querying. EndTime *int64 `json:"EndTime,omitnil,omitempty" name:"EndTime"` // Page size for pagination query. The minimum value is 1, and the maximum value is 100. PageSize *int64 `json:"PageSize,omitnil,omitempty" name:"PageSize"` // Page number for pagination queries, starting from 1. Page *int64 `json:"Page,omitnil,omitempty" name:"Page"` // Query type. Types such as Hive,Spark,DLC_Spark,Spark_SQL,SCHEDULE,MapReduce,Trino are supported. All are queried by default. Type *string `json:"Type,omitnil,omitempty" name:"Type"` MustHasContext *bool `json:"MustHasContext,omitnil,omitempty" name:"MustHasContext"` }
func NewDescribeInsightListRequest ¶
func NewDescribeInsightListRequest() (request *DescribeInsightListRequest)
func (*DescribeInsightListRequest) FromJsonString ¶
func (r *DescribeInsightListRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeInsightListRequest) ToJsonString ¶
func (r *DescribeInsightListRequest) ToJsonString() string
type DescribeInsightListRequestParams ¶
type DescribeInsightListRequestParams struct { // Cluster ID. InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Start time of the obtained insight result. The time is specific for filtering the start time of App or Hive querying. StartTime *int64 `json:"StartTime,omitnil,omitempty" name:"StartTime"` // End time of the obtained insight result. The time is specific for filtering the start time of App or Hive querying. EndTime *int64 `json:"EndTime,omitnil,omitempty" name:"EndTime"` // Page size for pagination query. The minimum value is 1, and the maximum value is 100. PageSize *int64 `json:"PageSize,omitnil,omitempty" name:"PageSize"` // Page number for pagination queries, starting from 1. Page *int64 `json:"Page,omitnil,omitempty" name:"Page"` // Query type. Types such as Hive,Spark,DLC_Spark,Spark_SQL,SCHEDULE,MapReduce,Trino are supported. All are queried by default. Type *string `json:"Type,omitnil,omitempty" name:"Type"` MustHasContext *bool `json:"MustHasContext,omitnil,omitempty" name:"MustHasContext"` }
Predefined struct for user
type DescribeInsightListResponse ¶
type DescribeInsightListResponse struct { *tchttp.BaseResponse Response *DescribeInsightListResponseParams `json:"Response"` }
func NewDescribeInsightListResponse ¶
func NewDescribeInsightListResponse() (response *DescribeInsightListResponse)
func (*DescribeInsightListResponse) FromJsonString ¶
func (r *DescribeInsightListResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeInsightListResponse) ToJsonString ¶
func (r *DescribeInsightListResponse) ToJsonString() string
type DescribeInsightListResponseParams ¶
type DescribeInsightListResponseParams struct { // Total number, which is used for pagination query. TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // Insight result array. // Note: This field may return null, indicating that no valid values can be obtained. ResultList []*InsightResult `json:"ResultList,omitnil,omitempty" name:"ResultList"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeInspectionTaskResultRequest ¶
type DescribeInspectionTaskResultRequest struct { *tchttp.BaseRequest // Instance ID. InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Type. Type *string `json:"Type,omitnil,omitempty" name:"Type"` // Start time. StartTime *int64 `json:"StartTime,omitnil,omitempty" name:"StartTime"` // End time. EndTime *int64 `json:"EndTime,omitnil,omitempty" name:"EndTime"` // Page size. Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // Pagination offset. Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` }
func NewDescribeInspectionTaskResultRequest ¶
func NewDescribeInspectionTaskResultRequest() (request *DescribeInspectionTaskResultRequest)
func (*DescribeInspectionTaskResultRequest) FromJsonString ¶
func (r *DescribeInspectionTaskResultRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeInspectionTaskResultRequest) ToJsonString ¶
func (r *DescribeInspectionTaskResultRequest) ToJsonString() string
type DescribeInspectionTaskResultRequestParams ¶
type DescribeInspectionTaskResultRequestParams struct { // Instance ID. InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Type. Type *string `json:"Type,omitnil,omitempty" name:"Type"` // Start time. StartTime *int64 `json:"StartTime,omitnil,omitempty" name:"StartTime"` // End time. EndTime *int64 `json:"EndTime,omitnil,omitempty" name:"EndTime"` // Page size. Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // Pagination offset. Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` }
Predefined struct for user
type DescribeInspectionTaskResultResponse ¶
type DescribeInspectionTaskResultResponse struct { *tchttp.BaseResponse Response *DescribeInspectionTaskResultResponseParams `json:"Response"` }
func NewDescribeInspectionTaskResultResponse ¶
func NewDescribeInspectionTaskResultResponse() (response *DescribeInspectionTaskResultResponse)
func (*DescribeInspectionTaskResultResponse) FromJsonString ¶
func (r *DescribeInspectionTaskResultResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeInspectionTaskResultResponse) ToJsonString ¶
func (r *DescribeInspectionTaskResultResponse) ToJsonString() string
type DescribeInspectionTaskResultResponseParams ¶
type DescribeInspectionTaskResultResponseParams struct { // Inspection task record, encoded in Base64 format. InspectionResultInfo *string `json:"InspectionResultInfo,omitnil,omitempty" name:"InspectionResultInfo"` // The total number of records. Total *int64 `json:"Total,omitnil,omitempty" name:"Total"` // Category information encoded in Base64 format, which includes {"FixedTime": "Fixed time", "RealTime": "Real time"}. TypeInfo *string `json:"TypeInfo,omitnil,omitempty" name:"TypeInfo"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeInstancesListRequest ¶
type DescribeInstancesListRequest struct { *tchttp.BaseRequest // Cluster filtering policy. Valid values: <li>clusterList: Queries the list of clusters excluding terminated ones.</li><li>monitorManage: Queries the list of clusters excluding those terminated, under creation and not successfully created.</li><li>cloudHardwareManage/componentManage: Two reserved values, which have the same implications as those of `monitorManage`.</li> DisplayStrategy *string `json:"DisplayStrategy,omitnil,omitempty" name:"DisplayStrategy"` // Page number. Default value: `0`, indicating the first page. Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Number of records to be returned per page. The default value is 100, and the maximum value is 100. // If both limit and offset are 0, all records will be queried. Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` // Sorting field. Valid values: <li>clusterId: Sorting by instance ID. </li><li>addTime: Sorting by instance creation time.</li><li>status: Sorting by instance status code.</li> OrderField *string `json:"OrderField,omitnil,omitempty" name:"OrderField"` // Sort by OrderField in ascending or descending order. Valid values: <li>0: ascending order;</li> <li>1: descending order.</li> The default value is 0. Asc *int64 `json:"Asc,omitnil,omitempty" name:"Asc"` // Custom search filter. Examples: <li>instance of filtering by ClusterId: [{"Name":"ClusterId","Values":["emr-xxxxxxxx"]}]</li><li>instance of filtering by clusterName: [{"Name": "ClusterName","Values": ["cluster_name"]}]</li><li>instance of filtering by ClusterStatus: [{"Name": "ClusterStatus","Values": ["2"]}]</li>. Filters []*Filters `json:"Filters,omitnil,omitempty" name:"Filters"` }
func NewDescribeInstancesListRequest ¶
func NewDescribeInstancesListRequest() (request *DescribeInstancesListRequest)
func (*DescribeInstancesListRequest) FromJsonString ¶
func (r *DescribeInstancesListRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeInstancesListRequest) ToJsonString ¶
func (r *DescribeInstancesListRequest) ToJsonString() string
type DescribeInstancesListRequestParams ¶
type DescribeInstancesListRequestParams struct { // Cluster filtering policy. Valid values: <li>clusterList: Queries the list of clusters excluding terminated ones.</li><li>monitorManage: Queries the list of clusters excluding those terminated, under creation and not successfully created.</li><li>cloudHardwareManage/componentManage: Two reserved values, which have the same implications as those of `monitorManage`.</li> DisplayStrategy *string `json:"DisplayStrategy,omitnil,omitempty" name:"DisplayStrategy"` // Page number. Default value: `0`, indicating the first page. Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Number of records to be returned per page. The default value is 100, and the maximum value is 100. // If both limit and offset are 0, all records will be queried. Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` // Sorting field. Valid values: <li>clusterId: Sorting by instance ID. </li><li>addTime: Sorting by instance creation time.</li><li>status: Sorting by instance status code.</li> OrderField *string `json:"OrderField,omitnil,omitempty" name:"OrderField"` // Sort by OrderField in ascending or descending order. Valid values: <li>0: ascending order;</li> <li>1: descending order.</li> The default value is 0. Asc *int64 `json:"Asc,omitnil,omitempty" name:"Asc"` // Custom search filter. Examples: <li>instance of filtering by ClusterId: [{"Name":"ClusterId","Values":["emr-xxxxxxxx"]}]</li><li>instance of filtering by clusterName: [{"Name": "ClusterName","Values": ["cluster_name"]}]</li><li>instance of filtering by ClusterStatus: [{"Name": "ClusterStatus","Values": ["2"]}]</li>. Filters []*Filters `json:"Filters,omitnil,omitempty" name:"Filters"` }
Predefined struct for user
type DescribeInstancesListResponse ¶
type DescribeInstancesListResponse struct { *tchttp.BaseResponse Response *DescribeInstancesListResponseParams `json:"Response"` }
func NewDescribeInstancesListResponse ¶
func NewDescribeInstancesListResponse() (response *DescribeInstancesListResponse)
func (*DescribeInstancesListResponse) FromJsonString ¶
func (r *DescribeInstancesListResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeInstancesListResponse) ToJsonString ¶
func (r *DescribeInstancesListResponse) ToJsonString() string
type DescribeInstancesListResponseParams ¶
type DescribeInstancesListResponseParams struct { // Number of eligible instances. TotalCnt *int64 `json:"TotalCnt,omitnil,omitempty" name:"TotalCnt"` // Cluster instance list. InstancesList []*EmrListInstance `json:"InstancesList,omitnil,omitempty" name:"InstancesList"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeInstancesRequest ¶
type DescribeInstancesRequest struct { *tchttp.BaseRequest // Cluster filtering policy. Valid values: // <li>clusterList: queries the list of clusters except terminated ones.</li> // <li>monitorManage: queries the list of clusters except those that have been terminated, are being created, or failed to be created.</li> // <li>cloudHardwareManage/componentManage: reserved fields with the same meaning as `monitorManage`.</li> DisplayStrategy *string `json:"DisplayStrategy,omitnil,omitempty" name:"DisplayStrategy"` // Queries by one or more instance IDs in the format of `emr-xxxxxxxx`. For the format of this parameter, please see the `id.N` section in [API Overview](https://intl.cloud.tencent.com/document/api/213/15688). If no instance ID is entered, the list of all instances under this `APPID` will be returned. InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" name:"InstanceIds"` // Page number. Default value: 0, indicating the first page. Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Number of returned results per page. Default value: 10. Maximum value: 100 Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` // ID of the project to which the instance belongs. This parameter can be obtained from the `projectId` field in the return value of the `DescribeProject` API. If this value is -1, the list of all instances will be returned. ProjectId *int64 `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` // Sorting field. Valid values: // <li>clusterId: sorts by cluster ID.</li> // <li>addTime: sorts by instance creation time.</li> // <li>status: sorts by instance status code.</li> OrderField *string `json:"OrderField,omitnil,omitempty" name:"OrderField"` // Sorts according to `OrderField` in ascending or descending order. Valid values: // <li>0: descending order.</li> // <li>1: ascending order.</li>Default value: 0.� Asc *int64 `json:"Asc,omitnil,omitempty" name:"Asc"` }
func NewDescribeInstancesRequest ¶
func NewDescribeInstancesRequest() (request *DescribeInstancesRequest)
func (*DescribeInstancesRequest) FromJsonString ¶
func (r *DescribeInstancesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeInstancesRequest) ToJsonString ¶
func (r *DescribeInstancesRequest) ToJsonString() string
type DescribeInstancesRequestParams ¶
type DescribeInstancesRequestParams struct { // Cluster filtering policy. Valid values: // <li>clusterList: queries the list of clusters except terminated ones.</li> // <li>monitorManage: queries the list of clusters except those that have been terminated, are being created, or failed to be created.</li> // <li>cloudHardwareManage/componentManage: reserved fields with the same meaning as `monitorManage`.</li> DisplayStrategy *string `json:"DisplayStrategy,omitnil,omitempty" name:"DisplayStrategy"` // Queries by one or more instance IDs in the format of `emr-xxxxxxxx`. For the format of this parameter, please see the `id.N` section in [API Overview](https://intl.cloud.tencent.com/document/api/213/15688). If no instance ID is entered, the list of all instances under this `APPID` will be returned. InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" name:"InstanceIds"` // Page number. Default value: 0, indicating the first page. Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Number of returned results per page. Default value: 10. Maximum value: 100 Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` // ID of the project to which the instance belongs. This parameter can be obtained from the `projectId` field in the return value of the `DescribeProject` API. If this value is -1, the list of all instances will be returned. ProjectId *int64 `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` // Sorting field. Valid values: // <li>clusterId: sorts by cluster ID.</li> // <li>addTime: sorts by instance creation time.</li> // <li>status: sorts by instance status code.</li> OrderField *string `json:"OrderField,omitnil,omitempty" name:"OrderField"` // Sorts according to `OrderField` in ascending or descending order. Valid values: // <li>0: descending order.</li> // <li>1: ascending order.</li>Default value: 0.� Asc *int64 `json:"Asc,omitnil,omitempty" name:"Asc"` }
Predefined struct for user
type DescribeInstancesResponse ¶
type DescribeInstancesResponse struct { *tchttp.BaseResponse Response *DescribeInstancesResponseParams `json:"Response"` }
func NewDescribeInstancesResponse ¶
func NewDescribeInstancesResponse() (response *DescribeInstancesResponse)
func (*DescribeInstancesResponse) FromJsonString ¶
func (r *DescribeInstancesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeInstancesResponse) ToJsonString ¶
func (r *DescribeInstancesResponse) ToJsonString() string
type DescribeInstancesResponseParams ¶
type DescribeInstancesResponseParams struct { // Number of eligible instances. TotalCnt *int64 `json:"TotalCnt,omitnil,omitempty" name:"TotalCnt"` // List of EMR instance details. // Note: this field may return null, indicating that no valid values can be obtained. ClusterList []*ClusterInstancesInfo `json:"ClusterList,omitnil,omitempty" name:"ClusterList"` // List of tag keys associated to an instance. // Note: this field may return null, indicating that no valid values can be obtained. TagKeys []*string `json:"TagKeys,omitnil,omitempty" name:"TagKeys"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeKyuubiQueryInfoRequest ¶
type DescribeKyuubiQueryInfoRequest struct { *tchttp.BaseRequest // Cluster ID. InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Query information obtainment start time (seconds). StartTime *int64 `json:"StartTime,omitnil,omitempty" name:"StartTime"` // Query information obtainment end time (seconds). EndTime *int64 `json:"EndTime,omitnil,omitempty" name:"EndTime"` // Page size for pagination query. The minimum value is 1, and the maximum value is 100. PageSize *int64 `json:"PageSize,omitnil,omitempty" name:"PageSize"` // Page number for pagination queries, starting from 1. Page *int64 `json:"Page,omitnil,omitempty" name:"Page"` }
func NewDescribeKyuubiQueryInfoRequest ¶
func NewDescribeKyuubiQueryInfoRequest() (request *DescribeKyuubiQueryInfoRequest)
func (*DescribeKyuubiQueryInfoRequest) FromJsonString ¶
func (r *DescribeKyuubiQueryInfoRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeKyuubiQueryInfoRequest) ToJsonString ¶
func (r *DescribeKyuubiQueryInfoRequest) ToJsonString() string
type DescribeKyuubiQueryInfoRequestParams ¶
type DescribeKyuubiQueryInfoRequestParams struct { // Cluster ID. InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Query information obtainment start time (seconds). StartTime *int64 `json:"StartTime,omitnil,omitempty" name:"StartTime"` // Query information obtainment end time (seconds). EndTime *int64 `json:"EndTime,omitnil,omitempty" name:"EndTime"` // Page size for pagination query. The minimum value is 1, and the maximum value is 100. PageSize *int64 `json:"PageSize,omitnil,omitempty" name:"PageSize"` // Page number for pagination queries, starting from 1. Page *int64 `json:"Page,omitnil,omitempty" name:"Page"` }
Predefined struct for user
type DescribeKyuubiQueryInfoResponse ¶
type DescribeKyuubiQueryInfoResponse struct { *tchttp.BaseResponse Response *DescribeKyuubiQueryInfoResponseParams `json:"Response"` }
func NewDescribeKyuubiQueryInfoResponse ¶
func NewDescribeKyuubiQueryInfoResponse() (response *DescribeKyuubiQueryInfoResponse)
func (*DescribeKyuubiQueryInfoResponse) FromJsonString ¶
func (r *DescribeKyuubiQueryInfoResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeKyuubiQueryInfoResponse) ToJsonString ¶
func (r *DescribeKyuubiQueryInfoResponse) ToJsonString() string
type DescribeKyuubiQueryInfoResponseParams ¶
type DescribeKyuubiQueryInfoResponseParams struct { // Total number, which is used for pagination query. TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // Kyuubi information list. // Note: This field may return null, indicating that no valid values can be obtained. KyuubiQueryInfoList []*KyuubiQueryInfo `json:"KyuubiQueryInfoList,omitnil,omitempty" name:"KyuubiQueryInfoList"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeNodeDataDisksRequest ¶
type DescribeNodeDataDisksRequest struct { *tchttp.BaseRequest // ID of the EMR cluster instance. InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // ID list of node CVM instances. CvmInstanceIds []*string `json:"CvmInstanceIds,omitnil,omitempty" name:"CvmInstanceIds"` // Filter criteria for querying cloud disks. Filters []*Filters `json:"Filters,omitnil,omitempty" name:"Filters"` // Fuzzy search. InnerSearch *string `json:"InnerSearch,omitnil,omitempty" name:"InnerSearch"` // Number of items returned per page. The default value is 100, and the maximum value is 100. Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` // Data offset. Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` }
func NewDescribeNodeDataDisksRequest ¶
func NewDescribeNodeDataDisksRequest() (request *DescribeNodeDataDisksRequest)
func (*DescribeNodeDataDisksRequest) FromJsonString ¶
func (r *DescribeNodeDataDisksRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeNodeDataDisksRequest) ToJsonString ¶
func (r *DescribeNodeDataDisksRequest) ToJsonString() string
type DescribeNodeDataDisksRequestParams ¶
type DescribeNodeDataDisksRequestParams struct { // ID of the EMR cluster instance. InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // ID list of node CVM instances. CvmInstanceIds []*string `json:"CvmInstanceIds,omitnil,omitempty" name:"CvmInstanceIds"` // Filter criteria for querying cloud disks. Filters []*Filters `json:"Filters,omitnil,omitempty" name:"Filters"` // Fuzzy search. InnerSearch *string `json:"InnerSearch,omitnil,omitempty" name:"InnerSearch"` // Number of items returned per page. The default value is 100, and the maximum value is 100. Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` // Data offset. Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` }
Predefined struct for user
type DescribeNodeDataDisksResponse ¶
type DescribeNodeDataDisksResponse struct { *tchttp.BaseResponse Response *DescribeNodeDataDisksResponseParams `json:"Response"` }
func NewDescribeNodeDataDisksResponse ¶
func NewDescribeNodeDataDisksResponse() (response *DescribeNodeDataDisksResponse)
func (*DescribeNodeDataDisksResponse) FromJsonString ¶
func (r *DescribeNodeDataDisksResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeNodeDataDisksResponse) ToJsonString ¶
func (r *DescribeNodeDataDisksResponse) ToJsonString() string
type DescribeNodeDataDisksResponseParams ¶
type DescribeNodeDataDisksResponseParams struct { // Total number. TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // Cloud disk list. // Note: This field may return null, indicating that no valid values can be obtained. CBSList []*CBSInstance `json:"CBSList,omitnil,omitempty" name:"CBSList"` // Maximum cloud disk capacity. MaxSize *uint64 `json:"MaxSize,omitnil,omitempty" name:"MaxSize"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeNodeResourceConfigFastRequest ¶
type DescribeNodeResourceConfigFastRequest struct { *tchttp.BaseRequest // Cluster instance ID. InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Node type, CORE, TASK, ROUTER or ALL. ResourceType *string `json:"ResourceType,omitnil,omitempty" name:"ResourceType"` // Billing type. PayMode *int64 `json:"PayMode,omitnil,omitempty" name:"PayMode"` // Availability zone ID. ZoneId *int64 `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // The type can be ComputeResource, EMR, or a default value. The default value is EMR. ResourceBaseType *string `json:"ResourceBaseType,omitnil,omitempty" name:"ResourceBaseType"` // Computing resource ID. ComputeResourceId *string `json:"ComputeResourceId,omitnil,omitempty" name:"ComputeResourceId"` // Hardware type. HardwareResourceType *string `json:"HardwareResourceType,omitnil,omitempty" name:"HardwareResourceType"` }
func NewDescribeNodeResourceConfigFastRequest ¶
func NewDescribeNodeResourceConfigFastRequest() (request *DescribeNodeResourceConfigFastRequest)
func (*DescribeNodeResourceConfigFastRequest) FromJsonString ¶
func (r *DescribeNodeResourceConfigFastRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeNodeResourceConfigFastRequest) ToJsonString ¶
func (r *DescribeNodeResourceConfigFastRequest) ToJsonString() string
type DescribeNodeResourceConfigFastRequestParams ¶
type DescribeNodeResourceConfigFastRequestParams struct { // Cluster instance ID. InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Node type, CORE, TASK, ROUTER or ALL. ResourceType *string `json:"ResourceType,omitnil,omitempty" name:"ResourceType"` // Billing type. PayMode *int64 `json:"PayMode,omitnil,omitempty" name:"PayMode"` // Availability zone ID. ZoneId *int64 `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // The type can be ComputeResource, EMR, or a default value. The default value is EMR. ResourceBaseType *string `json:"ResourceBaseType,omitnil,omitempty" name:"ResourceBaseType"` // Computing resource ID. ComputeResourceId *string `json:"ComputeResourceId,omitnil,omitempty" name:"ComputeResourceId"` // Hardware type. HardwareResourceType *string `json:"HardwareResourceType,omitnil,omitempty" name:"HardwareResourceType"` }
Predefined struct for user
type DescribeNodeResourceConfigFastResponse ¶
type DescribeNodeResourceConfigFastResponse struct { *tchttp.BaseResponse Response *DescribeNodeResourceConfigFastResponseParams `json:"Response"` }
func NewDescribeNodeResourceConfigFastResponse ¶
func NewDescribeNodeResourceConfigFastResponse() (response *DescribeNodeResourceConfigFastResponse)
func (*DescribeNodeResourceConfigFastResponse) FromJsonString ¶
func (r *DescribeNodeResourceConfigFastResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeNodeResourceConfigFastResponse) ToJsonString ¶
func (r *DescribeNodeResourceConfigFastResponse) ToJsonString() string
type DescribeNodeResourceConfigFastResponseParams ¶
type DescribeNodeResourceConfigFastResponseParams struct { // Return value of the DescribeResourceConfig API. Data []*DescribeResourceConfig `json:"Data,omitnil,omitempty" name:"Data"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeNodeSpec ¶
type DescribeNodeSpec struct { // Node type. NodeType *string `json:"NodeType,omitnil,omitempty" name:"NodeType"` // Node type name. NodeName *string `json:"NodeName,omitnil,omitempty" name:"NodeName"` // Types array. // Note: This field may return null, indicating that no valid values can be obtained. Types []*NodeSpecType `json:"Types,omitnil,omitempty" name:"Types"` // Cloud Managed Node (M Node) model specifications list. // Note: This field may return null, indicating that no valid values can be obtained. CmnTypes []*NodeSpecType `json:"CmnTypes,omitnil,omitempty" name:"CmnTypes"` }
type DescribeNodeSpecRequest ¶
type DescribeNodeSpecRequest struct { *tchttp.BaseRequest // Availability zone (AZ) ID. https://document.capi.woa.com/document/api/1605/76892 can be accessed for related information. ZoneId *int64 `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // 0: pay-as-you-go; 1: yearly/monthly subscription; 99: a combination of pay-as-you-go and yearly/monthly subscription. Invalid values will suppress billing display. CvmPayMode *uint64 `json:"CvmPayMode,omitnil,omitempty" name:"CvmPayMode"` // Node type: Master,Core,Task,Router,All. NodeType *string `json:"NodeType,omitnil,omitempty" name:"NodeType"` // 0: old billing page; 1: new billing page. Invalid values will be deemed to be old billing by default. TradeType *uint64 `json:"TradeType,omitnil,omitempty" name:"TradeType"` // Product ID. If left blank, the value is "0". This field is used to represent the product ID in all situations. It is required in front-end scenarios. // // 44 EMR V3.5.0 // 43 EMR V3.4.0.tlinux // 42 EMR V2.7.0.tlinux // 41 DRUID V1.1.0 // 67 STARROCKS V2.2.0 // 45 DRUID V1.1.0.tlinux // 40 EMRCLOUD v3.2.0 // 47 EMR V4.0.0 // 48 STARROCKS V1.2.0 // 49 STARROCKS V1.3.0 // 50 KAFKA V2.0.0 // 51 STARROCKS V1.4.0 // 52 EMR-TKE V1.0.0 // 53 EMR V3.6.0 // 54 STARROCKS V2.0.0 // 55 EMR-TKE V1.0.1 // 56 EMR-TKE DLCV1.0.0 // 57 EMR V2.8.0 // 58 EMR V3.6.1 // 59 SERVERLESS V1.0.0 // 60 EMR-TKE V1.1.0 // 62 STARROCKS V2.1.1 // 63 STARROCKS V2.1.1.tlinux // 64 EMR-TKE TCCV1.0.0 // 65 EMR-TKE-AI V1.0.0 // 66 RSS V1.0.0 // 24 EMR TianQiong-V1.0.0 // 3 EMR V2.0.1.tlinux // 4 EMR V2.1.0 // 7 EMR V3.0.0 // 8 EMR V3.0.0.tlinux // 9 EMR V2.2.0 // 11 CLICKHOUSE V1.0.0 // 12 CLICKHOUSE V1.0.0.tlinux // 16 EMR V2.3.0 // 17 CLICKHOUSE V1.1.0 // 18 CLICKHOUSE V1.1.0.tlinux // 19 EMR V2.4.0 // 20 EMR V2.5.0 // 21 USERCUSTOM V1.0.0 // 22 CLICKHOUSE V1.2.0 // 39 STARROCKS V1.1.0 // 25 EMR V3.1.0 // 26 DORIS V1.0.0 // 27 KAFKA V1.0.0 // 28 EMR V3.2.0 // 29 EMR V2.5.1 // 30 EMR V2.6.0 // 32 DORIS V1.1.0 // 33 EMR V3.2.1 // 34 EMR V3.3.0 // 35 DORIS V1.2.0 // 36 STARROCKS V1.0.0 // 37 EMR V3.4.0 // 38 EMR V2.7.0 ProductId *uint64 `json:"ProductId,omitnil,omitempty" name:"ProductId"` // Scenario name. SceneName *string `json:"SceneName,omitnil,omitempty" name:"SceneName"` // The type can be ComputeResource, EMR, or a default value. The default value is EMR. ResourceBaseType *string `json:"ResourceBaseType,omitnil,omitempty" name:"ResourceBaseType"` // Computing resource ID. ComputeResourceId *string `json:"ComputeResourceId,omitnil,omitempty" name:"ComputeResourceId"` }
func NewDescribeNodeSpecRequest ¶
func NewDescribeNodeSpecRequest() (request *DescribeNodeSpecRequest)
func (*DescribeNodeSpecRequest) FromJsonString ¶
func (r *DescribeNodeSpecRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeNodeSpecRequest) ToJsonString ¶
func (r *DescribeNodeSpecRequest) ToJsonString() string
type DescribeNodeSpecRequestParams ¶
type DescribeNodeSpecRequestParams struct { // Availability zone (AZ) ID. https://document.capi.woa.com/document/api/1605/76892 can be accessed for related information. ZoneId *int64 `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // 0: pay-as-you-go; 1: yearly/monthly subscription; 99: a combination of pay-as-you-go and yearly/monthly subscription. Invalid values will suppress billing display. CvmPayMode *uint64 `json:"CvmPayMode,omitnil,omitempty" name:"CvmPayMode"` // Node type: Master,Core,Task,Router,All. NodeType *string `json:"NodeType,omitnil,omitempty" name:"NodeType"` // 0: old billing page; 1: new billing page. Invalid values will be deemed to be old billing by default. TradeType *uint64 `json:"TradeType,omitnil,omitempty" name:"TradeType"` // Product ID. If left blank, the value is "0". This field is used to represent the product ID in all situations. It is required in front-end scenarios. // // 44 EMR V3.5.0 // 43 EMR V3.4.0.tlinux // 42 EMR V2.7.0.tlinux // 41 DRUID V1.1.0 // 67 STARROCKS V2.2.0 // 45 DRUID V1.1.0.tlinux // 40 EMRCLOUD v3.2.0 // 47 EMR V4.0.0 // 48 STARROCKS V1.2.0 // 49 STARROCKS V1.3.0 // 50 KAFKA V2.0.0 // 51 STARROCKS V1.4.0 // 52 EMR-TKE V1.0.0 // 53 EMR V3.6.0 // 54 STARROCKS V2.0.0 // 55 EMR-TKE V1.0.1 // 56 EMR-TKE DLCV1.0.0 // 57 EMR V2.8.0 // 58 EMR V3.6.1 // 59 SERVERLESS V1.0.0 // 60 EMR-TKE V1.1.0 // 62 STARROCKS V2.1.1 // 63 STARROCKS V2.1.1.tlinux // 64 EMR-TKE TCCV1.0.0 // 65 EMR-TKE-AI V1.0.0 // 66 RSS V1.0.0 // 24 EMR TianQiong-V1.0.0 // 3 EMR V2.0.1.tlinux // 4 EMR V2.1.0 // 7 EMR V3.0.0 // 8 EMR V3.0.0.tlinux // 9 EMR V2.2.0 // 11 CLICKHOUSE V1.0.0 // 12 CLICKHOUSE V1.0.0.tlinux // 16 EMR V2.3.0 // 17 CLICKHOUSE V1.1.0 // 18 CLICKHOUSE V1.1.0.tlinux // 19 EMR V2.4.0 // 20 EMR V2.5.0 // 21 USERCUSTOM V1.0.0 // 22 CLICKHOUSE V1.2.0 // 39 STARROCKS V1.1.0 // 25 EMR V3.1.0 // 26 DORIS V1.0.0 // 27 KAFKA V1.0.0 // 28 EMR V3.2.0 // 29 EMR V2.5.1 // 30 EMR V2.6.0 // 32 DORIS V1.1.0 // 33 EMR V3.2.1 // 34 EMR V3.3.0 // 35 DORIS V1.2.0 // 36 STARROCKS V1.0.0 // 37 EMR V3.4.0 // 38 EMR V2.7.0 ProductId *uint64 `json:"ProductId,omitnil,omitempty" name:"ProductId"` // Scenario name. SceneName *string `json:"SceneName,omitnil,omitempty" name:"SceneName"` // The type can be ComputeResource, EMR, or a default value. The default value is EMR. ResourceBaseType *string `json:"ResourceBaseType,omitnil,omitempty" name:"ResourceBaseType"` // Computing resource ID. ComputeResourceId *string `json:"ComputeResourceId,omitnil,omitempty" name:"ComputeResourceId"` }
Predefined struct for user
type DescribeNodeSpecResponse ¶
type DescribeNodeSpecResponse struct { *tchttp.BaseResponse Response *DescribeNodeSpecResponseParams `json:"Response"` }
func NewDescribeNodeSpecResponse ¶
func NewDescribeNodeSpecResponse() (response *DescribeNodeSpecResponse)
func (*DescribeNodeSpecResponse) FromJsonString ¶
func (r *DescribeNodeSpecResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeNodeSpecResponse) ToJsonString ¶
func (r *DescribeNodeSpecResponse) ToJsonString() string
type DescribeNodeSpecResponseParams ¶
type DescribeNodeSpecResponseParams struct { // Node specification type. NodeSpecs []*DescribeNodeSpec `json:"NodeSpecs,omitnil,omitempty" name:"NodeSpecs"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeResourceConfig ¶
type DescribeResourceConfig struct { // Specification management type. ResourceType *string `json:"ResourceType,omitnil,omitempty" name:"ResourceType"` // Specification management data. ResourceData []*NodeResource `json:"ResourceData,omitnil,omitempty" name:"ResourceData"` }
type DescribeResourceScheduleDiffDetailRequest ¶
type DescribeResourceScheduleDiffDetailRequest struct { *tchttp.BaseRequest // English ID of the EMR cluster. InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Scheduler for the queried change details. The available values are fair and capacity. If this parameter is not passed or a null value is passed, the latest scheduler will be used. Scheduler *string `json:"Scheduler,omitnil,omitempty" name:"Scheduler"` }
func NewDescribeResourceScheduleDiffDetailRequest ¶
func NewDescribeResourceScheduleDiffDetailRequest() (request *DescribeResourceScheduleDiffDetailRequest)
func (*DescribeResourceScheduleDiffDetailRequest) FromJsonString ¶
func (r *DescribeResourceScheduleDiffDetailRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeResourceScheduleDiffDetailRequest) ToJsonString ¶
func (r *DescribeResourceScheduleDiffDetailRequest) ToJsonString() string
type DescribeResourceScheduleDiffDetailRequestParams ¶
type DescribeResourceScheduleDiffDetailRequestParams struct { // English ID of the EMR cluster. InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Scheduler for the queried change details. The available values are fair and capacity. If this parameter is not passed or a null value is passed, the latest scheduler will be used. Scheduler *string `json:"Scheduler,omitnil,omitempty" name:"Scheduler"` }
Predefined struct for user
type DescribeResourceScheduleDiffDetailResponse ¶
type DescribeResourceScheduleDiffDetailResponse struct { *tchttp.BaseResponse Response *DescribeResourceScheduleDiffDetailResponseParams `json:"Response"` }
func NewDescribeResourceScheduleDiffDetailResponse ¶
func NewDescribeResourceScheduleDiffDetailResponse() (response *DescribeResourceScheduleDiffDetailResponse)
func (*DescribeResourceScheduleDiffDetailResponse) FromJsonString ¶
func (r *DescribeResourceScheduleDiffDetailResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeResourceScheduleDiffDetailResponse) ToJsonString ¶
func (r *DescribeResourceScheduleDiffDetailResponse) ToJsonString() string
type DescribeResourceScheduleDiffDetailResponseParams ¶
type DescribeResourceScheduleDiffDetailResponseParams struct { // Details of change items. // Note: This field may return null, indicating that no valid values can be obtained. Details []*DiffDetail `json:"Details,omitnil,omitempty" name:"Details"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeResourceScheduleRequest ¶
type DescribeResourceScheduleRequest struct { *tchttp.BaseRequest // EMR cluster ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` }
func NewDescribeResourceScheduleRequest ¶
func NewDescribeResourceScheduleRequest() (request *DescribeResourceScheduleRequest)
func (*DescribeResourceScheduleRequest) FromJsonString ¶
func (r *DescribeResourceScheduleRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeResourceScheduleRequest) ToJsonString ¶
func (r *DescribeResourceScheduleRequest) ToJsonString() string
type DescribeResourceScheduleRequestParams ¶
type DescribeResourceScheduleRequestParams struct { // EMR cluster ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` }
Predefined struct for user
type DescribeResourceScheduleResponse ¶
type DescribeResourceScheduleResponse struct { *tchttp.BaseResponse Response *DescribeResourceScheduleResponseParams `json:"Response"` }
func NewDescribeResourceScheduleResponse ¶
func NewDescribeResourceScheduleResponse() (response *DescribeResourceScheduleResponse)
func (*DescribeResourceScheduleResponse) FromJsonString ¶
func (r *DescribeResourceScheduleResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeResourceScheduleResponse) ToJsonString ¶
func (r *DescribeResourceScheduleResponse) ToJsonString() string
type DescribeResourceScheduleResponseParams ¶
type DescribeResourceScheduleResponseParams struct { // Whether to enable the resource scheduling feature OpenSwitch *bool `json:"OpenSwitch,omitnil,omitempty" name:"OpenSwitch"` // The resource scheduler in service Scheduler *string `json:"Scheduler,omitnil,omitempty" name:"Scheduler"` // Fair Scheduler information FSInfo *string `json:"FSInfo,omitnil,omitempty" name:"FSInfo"` // Capacity Scheduler information CSInfo *string `json:"CSInfo,omitnil,omitempty" name:"CSInfo"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeSLInstanceListRequest ¶
type DescribeSLInstanceListRequest struct { *tchttp.BaseRequest // Instance filtering policy. Valid values: <li>clusterList: Query the list of instances except for those that have been terminated.</li> <li>monitorManage: Query the list of instances except for those that have been terminated, are being created, or fail to be created.</li> DisplayStrategy *string `json:"DisplayStrategy,omitnil,omitempty" name:"DisplayStrategy"` // Page number. The default value is 0, indicating the first page. Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Number of records to be returned per page. The default value is 10, and the maximum value is 100. Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // Sorting field. Valid values: <li>clusterId: Sort by instance ID.</li> <li>addTime: Sort by instance creation time.</li> <li>status: Sort by instance status code.</li> OrderField *string `json:"OrderField,omitnil,omitempty" name:"OrderField"` // Sorts by OrderField in ascending or descending order. Valid values: <li>0: ascending order;</li> <li>1: descending order.</li> The default value is 0. Asc *int64 `json:"Asc,omitnil,omitempty" name:"Asc"` // Custom search filters. Examples: <li>Filter instances by ClusterId: [{"Name":"ClusterId","Values":["emr-xxxxxxxx"]}]</li><li> Filter instances by clusterName: [{"Name": "ClusterName","Values": ["cluster_name"]}]</li><li>Filter instances by ClusterStatus: [{"Name": "ClusterStatus","Values": ["2"]}]</li> Filters []*Filters `json:"Filters,omitnil,omitempty" name:"Filters"` }
func NewDescribeSLInstanceListRequest ¶
func NewDescribeSLInstanceListRequest() (request *DescribeSLInstanceListRequest)
func (*DescribeSLInstanceListRequest) FromJsonString ¶
func (r *DescribeSLInstanceListRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeSLInstanceListRequest) ToJsonString ¶
func (r *DescribeSLInstanceListRequest) ToJsonString() string
type DescribeSLInstanceListRequestParams ¶
type DescribeSLInstanceListRequestParams struct { // Instance filtering policy. Valid values: <li>clusterList: Query the list of instances except for those that have been terminated.</li> <li>monitorManage: Query the list of instances except for those that have been terminated, are being created, or fail to be created.</li> DisplayStrategy *string `json:"DisplayStrategy,omitnil,omitempty" name:"DisplayStrategy"` // Page number. The default value is 0, indicating the first page. Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Number of records to be returned per page. The default value is 10, and the maximum value is 100. Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // Sorting field. Valid values: <li>clusterId: Sort by instance ID.</li> <li>addTime: Sort by instance creation time.</li> <li>status: Sort by instance status code.</li> OrderField *string `json:"OrderField,omitnil,omitempty" name:"OrderField"` // Sorts by OrderField in ascending or descending order. Valid values: <li>0: ascending order;</li> <li>1: descending order.</li> The default value is 0. Asc *int64 `json:"Asc,omitnil,omitempty" name:"Asc"` // Custom search filters. Examples: <li>Filter instances by ClusterId: [{"Name":"ClusterId","Values":["emr-xxxxxxxx"]}]</li><li> Filter instances by clusterName: [{"Name": "ClusterName","Values": ["cluster_name"]}]</li><li>Filter instances by ClusterStatus: [{"Name": "ClusterStatus","Values": ["2"]}]</li> Filters []*Filters `json:"Filters,omitnil,omitempty" name:"Filters"` }
Predefined struct for user
type DescribeSLInstanceListResponse ¶
type DescribeSLInstanceListResponse struct { *tchttp.BaseResponse Response *DescribeSLInstanceListResponseParams `json:"Response"` }
func NewDescribeSLInstanceListResponse ¶
func NewDescribeSLInstanceListResponse() (response *DescribeSLInstanceListResponse)
func (*DescribeSLInstanceListResponse) FromJsonString ¶
func (r *DescribeSLInstanceListResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeSLInstanceListResponse) ToJsonString ¶
func (r *DescribeSLInstanceListResponse) ToJsonString() string
type DescribeSLInstanceListResponseParams ¶
type DescribeSLInstanceListResponseParams struct { // Total number of qualified instances . TotalCnt *int64 `json:"TotalCnt,omitnil,omitempty" name:"TotalCnt"` // Instance information list. If pagination is applied, only the current page's instance information list is displayed. InstancesList []*SLInstanceInfo `json:"InstancesList,omitnil,omitempty" name:"InstancesList"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeSLInstanceRequest ¶
type DescribeSLInstanceRequest struct { *tchttp.BaseRequest // Instance unique identifier (string). InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` }
func NewDescribeSLInstanceRequest ¶
func NewDescribeSLInstanceRequest() (request *DescribeSLInstanceRequest)
func (*DescribeSLInstanceRequest) FromJsonString ¶
func (r *DescribeSLInstanceRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeSLInstanceRequest) ToJsonString ¶
func (r *DescribeSLInstanceRequest) ToJsonString() string
type DescribeSLInstanceRequestParams ¶
type DescribeSLInstanceRequestParams struct { // Instance unique identifier (string). InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` }
Predefined struct for user
type DescribeSLInstanceResponse ¶
type DescribeSLInstanceResponse struct { *tchttp.BaseResponse Response *DescribeSLInstanceResponseParams `json:"Response"` }
func NewDescribeSLInstanceResponse ¶
func NewDescribeSLInstanceResponse() (response *DescribeSLInstanceResponse)
func (*DescribeSLInstanceResponse) FromJsonString ¶
func (r *DescribeSLInstanceResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeSLInstanceResponse) ToJsonString ¶
func (r *DescribeSLInstanceResponse) ToJsonString() string
type DescribeSLInstanceResponseParams ¶
type DescribeSLInstanceResponseParams struct { // Character string identifier of the instance. InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Instance name. InstanceName *string `json:"InstanceName,omitnil,omitempty" name:"InstanceName"` // Instance billing mode. 0 indicates postpaid, i.e., pay-as-you-go; 1 indicates prepaid, i.e., monthly subscription. PayMode *int64 `json:"PayMode,omitnil,omitempty" name:"PayMode"` // Instance storage type. DiskType *string `json:"DiskType,omitnil,omitempty" name:"DiskType"` // Instance single-node disk capacity, in GB. DiskSize *int64 `json:"DiskSize,omitnil,omitempty" name:"DiskSize"` // Instance node specifications. NodeType *string `json:"NodeType,omitnil,omitempty" name:"NodeType"` // Detailed configuration of the instance AZ, including the AZ name, VPC information, and number of nodes. ZoneSettings []*ZoneSetting `json:"ZoneSettings,omitnil,omitempty" name:"ZoneSettings"` // List of tags bound to the instance. // Note: This field may return null, indicating that no valid values can be obtained. Tags []*Tag `json:"Tags,omitnil,omitempty" name:"Tags"` // Numeric identifier of the instance. ClusterId *int64 `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // Instance region ID. RegionId *int64 `json:"RegionId,omitnil,omitempty" name:"RegionId"` // Primary AZ of the instance. Zone *string `json:"Zone,omitnil,omitempty" name:"Zone"` // Instance expiration time. For post-paid instances, the API returns 0000-00-00 00:00:00. ExpireTime *string `json:"ExpireTime,omitnil,omitempty" name:"ExpireTime"` // Instance isolation time. For instances that are not isolated, the API returns 0000-00-00 00:00:00. IsolateTime *string `json:"IsolateTime,omitnil,omitempty" name:"IsolateTime"` // Instance creation time. CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"` // Instance status code: -2: "TERMINATED", 2: "RUNNING", 14: "TERMINATING", 19: "ISOLATING", 22: "ADJUSTING", and 201: "ISOLATED". Status *int64 `json:"Status,omitnil,omitempty" name:"Status"` // Auto-renewal flag. 0: notify before expiration but do not auto-renew; 1: notify before expiration and auto-renew; and 2: do not notify before expiration and do not auto-renew. If the business does not support renewal, the value is 0. AutoRenewFlag *int64 `json:"AutoRenewFlag,omitnil,omitempty" name:"AutoRenewFlag"` // Total number of instance nodes. NodeNum *int64 `json:"NodeNum,omitnil,omitempty" name:"NodeNum"` SLInstance []*SLInstance `json:"SLInstance,omitnil,omitempty" name:"SLInstance"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeServiceConfGroupInfosRequest ¶
type DescribeServiceConfGroupInfosRequest struct { *tchttp.BaseRequest // Cluster ID. InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Component name. ServiceName *string `json:"ServiceName,omitnil,omitempty" name:"ServiceName"` // Configuration group name. ConfGroupName *string `json:"ConfGroupName,omitnil,omitempty" name:"ConfGroupName"` // Page number, starting from 1. PageNo *int64 `json:"PageNo,omitnil,omitempty" name:"PageNo"` // Page size. PageSize *int64 `json:"PageSize,omitnil,omitempty" name:"PageSize"` }
func NewDescribeServiceConfGroupInfosRequest ¶
func NewDescribeServiceConfGroupInfosRequest() (request *DescribeServiceConfGroupInfosRequest)
func (*DescribeServiceConfGroupInfosRequest) FromJsonString ¶
func (r *DescribeServiceConfGroupInfosRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeServiceConfGroupInfosRequest) ToJsonString ¶
func (r *DescribeServiceConfGroupInfosRequest) ToJsonString() string
type DescribeServiceConfGroupInfosRequestParams ¶
type DescribeServiceConfGroupInfosRequestParams struct { // Cluster ID. InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Component name. ServiceName *string `json:"ServiceName,omitnil,omitempty" name:"ServiceName"` // Configuration group name. ConfGroupName *string `json:"ConfGroupName,omitnil,omitempty" name:"ConfGroupName"` // Page number, starting from 1. PageNo *int64 `json:"PageNo,omitnil,omitempty" name:"PageNo"` // Page size. PageSize *int64 `json:"PageSize,omitnil,omitempty" name:"PageSize"` }
Predefined struct for user
type DescribeServiceConfGroupInfosResponse ¶
type DescribeServiceConfGroupInfosResponse struct { *tchttp.BaseResponse Response *DescribeServiceConfGroupInfosResponseParams `json:"Response"` }
func NewDescribeServiceConfGroupInfosResponse ¶
func NewDescribeServiceConfGroupInfosResponse() (response *DescribeServiceConfGroupInfosResponse)
func (*DescribeServiceConfGroupInfosResponse) FromJsonString ¶
func (r *DescribeServiceConfGroupInfosResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeServiceConfGroupInfosResponse) ToJsonString ¶
func (r *DescribeServiceConfGroupInfosResponse) ToJsonString() string
type DescribeServiceConfGroupInfosResponseParams ¶
type DescribeServiceConfGroupInfosResponseParams struct { // List size. TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // Configuration item key-value list. ConfItemKVList []*ConfigurationItem `json:"ConfItemKVList,omitnil,omitempty" name:"ConfItemKVList"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeServiceNodeInfosRequest ¶
type DescribeServiceNodeInfosRequest struct { *tchttp.BaseRequest // Instance ID. InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Page number. Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Page size. Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // Searching fields. SearchText *string `json:"SearchText,omitnil,omitempty" name:"SearchText"` // Configuration status. -2: configuration failed; -1: configuration expired; 1: synchronized; -99: all. ConfStatus *int64 `json:"ConfStatus,omitnil,omitempty" name:"ConfStatus"` // Filter criteria: Maintenance status // // 0 indicates all statuses. // 1 indicates normal. // 2 indicates the maintenance status. MaintainStateId *int64 `json:"MaintainStateId,omitnil,omitempty" name:"MaintainStateId"` // Filter criteria: Operation status // // 0 indicates all statuses. // 1 indicates started. // 2 indicates stopped. OperatorStateId *int64 `json:"OperatorStateId,omitnil,omitempty" name:"OperatorStateId"` // Filter criteria: health status. // 0 indicates unavailable. // 1 indicates good. // -2 indicates unknown. // -99 indicates all. // -3 indicates potential risks. // -4 indicates undetected. HealthStateId *string `json:"HealthStateId,omitnil,omitempty" name:"HealthStateId"` // Service component names (in all caps, for example, YARN). ServiceName *string `json:"ServiceName,omitnil,omitempty" name:"ServiceName"` // Node names: master, core, task, common, and router. NodeTypeName *string `json:"NodeTypeName,omitnil,omitempty" name:"NodeTypeName"` // Filter criteria: whether DN is in the maintenance status. // 0 indicates all statuses. // 1 indicates the maintenance status. DataNodeMaintenanceId *int64 `json:"DataNodeMaintenanceId,omitnil,omitempty" name:"DataNodeMaintenanceId"` // Searchable fields (currently supported SearchType: ipv4). SearchFields []*SearchItem `json:"SearchFields,omitnil,omitempty" name:"SearchFields"` }
func NewDescribeServiceNodeInfosRequest ¶
func NewDescribeServiceNodeInfosRequest() (request *DescribeServiceNodeInfosRequest)
func (*DescribeServiceNodeInfosRequest) FromJsonString ¶
func (r *DescribeServiceNodeInfosRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeServiceNodeInfosRequest) ToJsonString ¶
func (r *DescribeServiceNodeInfosRequest) ToJsonString() string
type DescribeServiceNodeInfosRequestParams ¶
type DescribeServiceNodeInfosRequestParams struct { // Instance ID. InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Page number. Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Page size. Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // Searching fields. SearchText *string `json:"SearchText,omitnil,omitempty" name:"SearchText"` // Configuration status. -2: configuration failed; -1: configuration expired; 1: synchronized; -99: all. ConfStatus *int64 `json:"ConfStatus,omitnil,omitempty" name:"ConfStatus"` // Filter criteria: Maintenance status // // 0 indicates all statuses. // 1 indicates normal. // 2 indicates the maintenance status. MaintainStateId *int64 `json:"MaintainStateId,omitnil,omitempty" name:"MaintainStateId"` // Filter criteria: Operation status // // 0 indicates all statuses. // 1 indicates started. // 2 indicates stopped. OperatorStateId *int64 `json:"OperatorStateId,omitnil,omitempty" name:"OperatorStateId"` // Filter criteria: health status. // 0 indicates unavailable. // 1 indicates good. // -2 indicates unknown. // -99 indicates all. // -3 indicates potential risks. // -4 indicates undetected. HealthStateId *string `json:"HealthStateId,omitnil,omitempty" name:"HealthStateId"` // Service component names (in all caps, for example, YARN). ServiceName *string `json:"ServiceName,omitnil,omitempty" name:"ServiceName"` // Node names: master, core, task, common, and router. NodeTypeName *string `json:"NodeTypeName,omitnil,omitempty" name:"NodeTypeName"` // Filter criteria: whether DN is in the maintenance status. // 0 indicates all statuses. // 1 indicates the maintenance status. DataNodeMaintenanceId *int64 `json:"DataNodeMaintenanceId,omitnil,omitempty" name:"DataNodeMaintenanceId"` // Searchable fields (currently supported SearchType: ipv4). SearchFields []*SearchItem `json:"SearchFields,omitnil,omitempty" name:"SearchFields"` }
Predefined struct for user
type DescribeServiceNodeInfosResponse ¶
type DescribeServiceNodeInfosResponse struct { *tchttp.BaseResponse Response *DescribeServiceNodeInfosResponseParams `json:"Response"` }
func NewDescribeServiceNodeInfosResponse ¶
func NewDescribeServiceNodeInfosResponse() (response *DescribeServiceNodeInfosResponse)
func (*DescribeServiceNodeInfosResponse) FromJsonString ¶
func (r *DescribeServiceNodeInfosResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeServiceNodeInfosResponse) ToJsonString ¶
func (r *DescribeServiceNodeInfosResponse) ToJsonString() string
type DescribeServiceNodeInfosResponseParams ¶
type DescribeServiceNodeInfosResponseParams struct { // Total number. TotalCnt *int64 `json:"TotalCnt,omitnil,omitempty" name:"TotalCnt"` // Process information. // Note: This field may return null, indicating that no valid values can be obtained. ServiceNodeList []*ServiceNodeDetailInfo `json:"ServiceNodeList,omitnil,omitempty" name:"ServiceNodeList"` // Alias serialization of all nodes in the cluster. AliasInfo *string `json:"AliasInfo,omitnil,omitempty" name:"AliasInfo"` // Supported FlagNode list // // Note: This field may return null, indicating that no valid values can be obtained. SupportNodeFlagFilterList []*string `json:"SupportNodeFlagFilterList,omitnil,omitempty" name:"SupportNodeFlagFilterList"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeSparkApplicationsRequest ¶
type DescribeSparkApplicationsRequest struct { *tchttp.BaseRequest // Cluster ID. InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Querying start time. StartTime *int64 `json:"StartTime,omitnil,omitempty" name:"StartTime"` // Querying end time. EndTime *int64 `json:"EndTime,omitnil,omitempty" name:"EndTime"` // Number of entries per page. PageSize *int64 `json:"PageSize,omitnil,omitempty" name:"PageSize"` // Which page. Page *int64 `json:"Page,omitnil,omitempty" name:"Page"` }
func NewDescribeSparkApplicationsRequest ¶
func NewDescribeSparkApplicationsRequest() (request *DescribeSparkApplicationsRequest)
func (*DescribeSparkApplicationsRequest) FromJsonString ¶
func (r *DescribeSparkApplicationsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeSparkApplicationsRequest) ToJsonString ¶
func (r *DescribeSparkApplicationsRequest) ToJsonString() string
type DescribeSparkApplicationsRequestParams ¶
type DescribeSparkApplicationsRequestParams struct { // Cluster ID. InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Querying start time. StartTime *int64 `json:"StartTime,omitnil,omitempty" name:"StartTime"` // Querying end time. EndTime *int64 `json:"EndTime,omitnil,omitempty" name:"EndTime"` // Number of entries per page. PageSize *int64 `json:"PageSize,omitnil,omitempty" name:"PageSize"` // Which page. Page *int64 `json:"Page,omitnil,omitempty" name:"Page"` }
Predefined struct for user
type DescribeSparkApplicationsResponse ¶
type DescribeSparkApplicationsResponse struct { *tchttp.BaseResponse Response *DescribeSparkApplicationsResponseParams `json:"Response"` }
func NewDescribeSparkApplicationsResponse ¶
func NewDescribeSparkApplicationsResponse() (response *DescribeSparkApplicationsResponse)
func (*DescribeSparkApplicationsResponse) FromJsonString ¶
func (r *DescribeSparkApplicationsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeSparkApplicationsResponse) ToJsonString ¶
func (r *DescribeSparkApplicationsResponse) ToJsonString() string
type DescribeSparkApplicationsResponseParams ¶
type DescribeSparkApplicationsResponseParams struct { // The number of returns. TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // Spark application list. ResultList []*SparkApplicationsList `json:"ResultList,omitnil,omitempty" name:"ResultList"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeSparkQueriesRequest ¶
type DescribeSparkQueriesRequest struct { *tchttp.BaseRequest // Cluster ID. InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Start time. StartTime *int64 `json:"StartTime,omitnil,omitempty" name:"StartTime"` // End time. EndTime *int64 `json:"EndTime,omitnil,omitempty" name:"EndTime"` // Starting offset for pages, starting from 0. Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Page size. Valid range: [1,100]. Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // Execution status: RUNNING,COMPLETED, FAILED. Status []*string `json:"Status,omitnil,omitempty" name:"Status"` }
func NewDescribeSparkQueriesRequest ¶
func NewDescribeSparkQueriesRequest() (request *DescribeSparkQueriesRequest)
func (*DescribeSparkQueriesRequest) FromJsonString ¶
func (r *DescribeSparkQueriesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeSparkQueriesRequest) ToJsonString ¶
func (r *DescribeSparkQueriesRequest) ToJsonString() string
type DescribeSparkQueriesRequestParams ¶
type DescribeSparkQueriesRequestParams struct { // Cluster ID. InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Start time. StartTime *int64 `json:"StartTime,omitnil,omitempty" name:"StartTime"` // End time. EndTime *int64 `json:"EndTime,omitnil,omitempty" name:"EndTime"` // Starting offset for pages, starting from 0. Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Page size. Valid range: [1,100]. Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // Execution status: RUNNING,COMPLETED, FAILED. Status []*string `json:"Status,omitnil,omitempty" name:"Status"` }
Predefined struct for user
type DescribeSparkQueriesResponse ¶
type DescribeSparkQueriesResponse struct { *tchttp.BaseResponse Response *DescribeSparkQueriesResponseParams `json:"Response"` }
func NewDescribeSparkQueriesResponse ¶
func NewDescribeSparkQueriesResponse() (response *DescribeSparkQueriesResponse)
func (*DescribeSparkQueriesResponse) FromJsonString ¶
func (r *DescribeSparkQueriesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeSparkQueriesResponse) ToJsonString ¶
func (r *DescribeSparkQueriesResponse) ToJsonString() string
type DescribeSparkQueriesResponseParams ¶
type DescribeSparkQueriesResponseParams struct { // Total number. Total *int64 `json:"Total,omitnil,omitempty" name:"Total"` // Result list. // Note: This field may return null, indicating that no valid values can be obtained. Results []*SparkQuery `json:"Results,omitnil,omitempty" name:"Results"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeStarRocksQueryInfoRequest ¶
type DescribeStarRocksQueryInfoRequest struct { *tchttp.BaseRequest // Cluster ID. InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Query information obtainment start time (seconds). StartTime *int64 `json:"StartTime,omitnil,omitempty" name:"StartTime"` // Query information obtainment end time (seconds). EndTime *int64 `json:"EndTime,omitnil,omitempty" name:"EndTime"` // Page size for pagination query. The minimum value is 1, and the maximum value is 100. PageSize *int64 `json:"PageSize,omitnil,omitempty" name:"PageSize"` // Page number for pagination queries, starting from 1. Page *int64 `json:"Page,omitnil,omitempty" name:"Page"` }
func NewDescribeStarRocksQueryInfoRequest ¶
func NewDescribeStarRocksQueryInfoRequest() (request *DescribeStarRocksQueryInfoRequest)
func (*DescribeStarRocksQueryInfoRequest) FromJsonString ¶
func (r *DescribeStarRocksQueryInfoRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeStarRocksQueryInfoRequest) ToJsonString ¶
func (r *DescribeStarRocksQueryInfoRequest) ToJsonString() string
type DescribeStarRocksQueryInfoRequestParams ¶
type DescribeStarRocksQueryInfoRequestParams struct { // Cluster ID. InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Query information obtainment start time (seconds). StartTime *int64 `json:"StartTime,omitnil,omitempty" name:"StartTime"` // Query information obtainment end time (seconds). EndTime *int64 `json:"EndTime,omitnil,omitempty" name:"EndTime"` // Page size for pagination query. The minimum value is 1, and the maximum value is 100. PageSize *int64 `json:"PageSize,omitnil,omitempty" name:"PageSize"` // Page number for pagination queries, starting from 1. Page *int64 `json:"Page,omitnil,omitempty" name:"Page"` }
Predefined struct for user
type DescribeStarRocksQueryInfoResponse ¶
type DescribeStarRocksQueryInfoResponse struct { *tchttp.BaseResponse Response *DescribeStarRocksQueryInfoResponseParams `json:"Response"` }
func NewDescribeStarRocksQueryInfoResponse ¶
func NewDescribeStarRocksQueryInfoResponse() (response *DescribeStarRocksQueryInfoResponse)
func (*DescribeStarRocksQueryInfoResponse) FromJsonString ¶
func (r *DescribeStarRocksQueryInfoResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeStarRocksQueryInfoResponse) ToJsonString ¶
func (r *DescribeStarRocksQueryInfoResponse) ToJsonString() string
type DescribeStarRocksQueryInfoResponseParams ¶
type DescribeStarRocksQueryInfoResponseParams struct { // Total number, which is used for pagination query. TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // StarRocks information list. // Note: This field may return null, indicating that no valid values can be obtained. StarRocksQueryInfoList []*StarRocksQueryInfo `json:"StarRocksQueryInfoList,omitnil,omitempty" name:"StarRocksQueryInfoList"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeTrinoQueryInfoRequest ¶
type DescribeTrinoQueryInfoRequest struct { *tchttp.BaseRequest // Cluster ID. InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Obtain the start time for querying information (s). StartTime *int64 `json:"StartTime,omitnil,omitempty" name:"StartTime"` // Obtain the end time for querying information (s). EndTime *int64 `json:"EndTime,omitnil,omitempty" name:"EndTime"` // Page size for pagination queries. Minimum value: 1; maximum value: 100. PageSize *int64 `json:"PageSize,omitnil,omitempty" name:"PageSize"` // Page number for pagination queries, starting from 1. Page *int64 `json:"Page,omitnil,omitempty" name:"Page"` }
func NewDescribeTrinoQueryInfoRequest ¶
func NewDescribeTrinoQueryInfoRequest() (request *DescribeTrinoQueryInfoRequest)
func (*DescribeTrinoQueryInfoRequest) FromJsonString ¶
func (r *DescribeTrinoQueryInfoRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeTrinoQueryInfoRequest) ToJsonString ¶
func (r *DescribeTrinoQueryInfoRequest) ToJsonString() string
type DescribeTrinoQueryInfoRequestParams ¶
type DescribeTrinoQueryInfoRequestParams struct { // Cluster ID. InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Obtain the start time for querying information (s). StartTime *int64 `json:"StartTime,omitnil,omitempty" name:"StartTime"` // Obtain the end time for querying information (s). EndTime *int64 `json:"EndTime,omitnil,omitempty" name:"EndTime"` // Page size for pagination queries. Minimum value: 1; maximum value: 100. PageSize *int64 `json:"PageSize,omitnil,omitempty" name:"PageSize"` // Page number for pagination queries, starting from 1. Page *int64 `json:"Page,omitnil,omitempty" name:"Page"` }
Predefined struct for user
type DescribeTrinoQueryInfoResponse ¶
type DescribeTrinoQueryInfoResponse struct { *tchttp.BaseResponse Response *DescribeTrinoQueryInfoResponseParams `json:"Response"` }
func NewDescribeTrinoQueryInfoResponse ¶
func NewDescribeTrinoQueryInfoResponse() (response *DescribeTrinoQueryInfoResponse)
func (*DescribeTrinoQueryInfoResponse) FromJsonString ¶
func (r *DescribeTrinoQueryInfoResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeTrinoQueryInfoResponse) ToJsonString ¶
func (r *DescribeTrinoQueryInfoResponse) ToJsonString() string
type DescribeTrinoQueryInfoResponseParams ¶
type DescribeTrinoQueryInfoResponseParams struct { // Total number, which is used for pagination query. TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // Query result array. // Note: This field may return null, indicating that no valid values can be obtained. QueryInfoList []*TrinoQueryInfo `json:"QueryInfoList,omitnil,omitempty" name:"QueryInfoList"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeUsersForUserManagerRequest ¶
type DescribeUsersForUserManagerRequest struct { *tchttp.BaseRequest // Cluster instance ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Page number PageNo *int64 `json:"PageNo,omitnil,omitempty" name:"PageNo"` // Pagination size. // All are queried by default. If the PageNo and PageSize settings are inappropriate, all are queried. PageSize *int64 `json:"PageSize,omitnil,omitempty" name:"PageSize"` // User list query filter UserManagerFilter *UserManagerFilter `json:"UserManagerFilter,omitnil,omitempty" name:"UserManagerFilter"` // Whether the Keytab file information is required. This field is only valid for clusters with Kerberos enabled and defaults to `false`. NeedKeytabInfo *bool `json:"NeedKeytabInfo,omitnil,omitempty" name:"NeedKeytabInfo"` }
func NewDescribeUsersForUserManagerRequest ¶
func NewDescribeUsersForUserManagerRequest() (request *DescribeUsersForUserManagerRequest)
func (*DescribeUsersForUserManagerRequest) FromJsonString ¶
func (r *DescribeUsersForUserManagerRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeUsersForUserManagerRequest) ToJsonString ¶
func (r *DescribeUsersForUserManagerRequest) ToJsonString() string
type DescribeUsersForUserManagerRequestParams ¶
type DescribeUsersForUserManagerRequestParams struct { // Cluster instance ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Page number PageNo *int64 `json:"PageNo,omitnil,omitempty" name:"PageNo"` // Pagination size. // All are queried by default. If the PageNo and PageSize settings are inappropriate, all are queried. PageSize *int64 `json:"PageSize,omitnil,omitempty" name:"PageSize"` // User list query filter UserManagerFilter *UserManagerFilter `json:"UserManagerFilter,omitnil,omitempty" name:"UserManagerFilter"` // Whether the Keytab file information is required. This field is only valid for clusters with Kerberos enabled and defaults to `false`. NeedKeytabInfo *bool `json:"NeedKeytabInfo,omitnil,omitempty" name:"NeedKeytabInfo"` }
Predefined struct for user
type DescribeUsersForUserManagerResponse ¶
type DescribeUsersForUserManagerResponse struct { *tchttp.BaseResponse Response *DescribeUsersForUserManagerResponseParams `json:"Response"` }
func NewDescribeUsersForUserManagerResponse ¶
func NewDescribeUsersForUserManagerResponse() (response *DescribeUsersForUserManagerResponse)
func (*DescribeUsersForUserManagerResponse) FromJsonString ¶
func (r *DescribeUsersForUserManagerResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeUsersForUserManagerResponse) ToJsonString ¶
func (r *DescribeUsersForUserManagerResponse) ToJsonString() string
type DescribeUsersForUserManagerResponseParams ¶
type DescribeUsersForUserManagerResponseParams struct { // Total number TotalCnt *int64 `json:"TotalCnt,omitnil,omitempty" name:"TotalCnt"` // User information list // Note: This field may return null, indicating that no valid value can be obtained. UserManagerUserList []*UserManagerUserBriefInfo `json:"UserManagerUserList,omitnil,omitempty" name:"UserManagerUserList"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeYarnQueueRequest ¶
type DescribeYarnQueueRequest struct { *tchttp.BaseRequest // Cluster ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Scheduler. The values are as follows: // // 1. capacity // 2. fair Scheduler *string `json:"Scheduler,omitnil,omitempty" name:"Scheduler"` }
func NewDescribeYarnQueueRequest ¶
func NewDescribeYarnQueueRequest() (request *DescribeYarnQueueRequest)
func (*DescribeYarnQueueRequest) FromJsonString ¶
func (r *DescribeYarnQueueRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeYarnQueueRequest) ToJsonString ¶
func (r *DescribeYarnQueueRequest) ToJsonString() string
type DescribeYarnQueueRequestParams ¶
type DescribeYarnQueueRequestParams struct { // Cluster ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Scheduler. The values are as follows: // // 1. capacity // 2. fair Scheduler *string `json:"Scheduler,omitnil,omitempty" name:"Scheduler"` }
Predefined struct for user
type DescribeYarnQueueResponse ¶
type DescribeYarnQueueResponse struct { *tchttp.BaseResponse Response *DescribeYarnQueueResponseParams `json:"Response"` }
func NewDescribeYarnQueueResponse ¶
func NewDescribeYarnQueueResponse() (response *DescribeYarnQueueResponse)
func (*DescribeYarnQueueResponse) FromJsonString ¶
func (r *DescribeYarnQueueResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeYarnQueueResponse) ToJsonString ¶
func (r *DescribeYarnQueueResponse) ToJsonString() string
type DescribeYarnQueueResponseParams ¶
type DescribeYarnQueueResponseParams struct { // Queue information. It is a JSON string into which an object is converted. The corresponding Golang structure is as follows. For example, the first field `Name` of `QueueWithConfigSetForFairScheduler: “`Name string `json:"name"` //queue name “` - `Name: field name - `string`: field type - `json:"name`: indicates the corresponding `json key` during serialization/deserialization. Below, `json key` is used for referring.- `//`: the following comment content corresponds to the Name field seen on the page. Fields with types starting with `*` indicate that the value may be null under JSON specifications. Different languages need to be received through a type that can express null, such as Java's wrapper types. Fields with types starting with `[]` indicate an array type, which is used when `json key` calls `ModifyYarnQueueV2` API. - fair scheduler“`type QueueWithConfigSetForFairScheduler struct { Name string `json:"name"` //queue name MyId string `json:"myId"` // queue id, used for editing, deleting, and cloning ParentId string `json:"parentId"` // Parent queue Id Type *string `json:"type"` // queue affinity. Parent or empty. Setting to be a parent or empty can be performed only when it is confirmed that a queue is a parent queue and has no subqueues. The queue is normally used to support the placement policy nestedUserQueue AclSubmitApps *AclForYarnQueue `json:"aclSubmitApps"` // submission access control AclAdministerApps *AclForYarnQueue `json:"aclAdministerApps"` // management access control MinSharePreemptionTimeout *int `json:"minSharePreemptionTimeout"` // minimum share preemption timeout period FairSharePreemptionTimeout *int `json:"fairSharePreemptionTimeout"` // fair share preemption timeout period FairSharePreemptionThreshold *float32 `json:"fairSharePreemptionThreshold"` // fair share preemption threshold. Value range (0, 1] AllowPreemptionFrom *bool `json:"allowPreemptionFrom"` // preemption mode SchedulingPolicy *string `json:"schedulingPolicy"` // scheduling policy with the valid values of drf, fair, and fifo IsDefault *bool `json:"isDefault"` // whether it is the root.default queue IsRoot *bool `json:"isRoot"` // whether it is the root queue ConfigSets []ConfigSetForFairScheduler `json:"configSets"` // configuration set settings Children []QueueWithConfigSetForFairScheduler `json:"queues"` // subqueue information. recursive}type AclForYarnQueue struct { User *string `json:"user"` //username Group *string `json:"group"`//group name}type ConfigSetForFairScheduler struct { Name string `json:"name"` // configuration set name MinResources *YarnResource `json:"minResources"` // minimum resource amount MaxResources *YarnResource `json:"maxResources"` // maximum resource amount MaxChildResources *YarnResource `json:"maxChildResources"` //.The maximum quantity of resources that can be allocated to undefined subqueues MaxRunningApps *int `json:"maxRunningApps"` // the maximum number of apps that can run concurrently Weight *float32 `json:"weight"` // Weight MaxAMShare *float32 `json:"maxAMShare"` // App Master maximum share}type YarnResource struct { Vcores *int `json:"vcores"` Memory *int `json:"memory"` Type *string `json:"type"` // when the value is `percent`, it indicates usage as a percentage, otherwise an absolute value is used indeed}“`- Capacity scheduler“`type QueueForCapacitySchedulerV3 struct { Name string `json:"name"` // queue name MyId string `json:"myId"` // queue id, used in the case of editing, deleting, or cloning ParentId string `json:"parentId"` // parent queue id Configs []ConfigForCapacityV3 `json:"configs"` //configuration set settings State *string `json:"state"` // resource pool status DefaultNodeLabelExpression *string `json:"default-node-label-expression"` // default tag expression AclSubmitApps *AclForYarnQueue `json:"acl_submit_applications"` // submission access control AclAdminQueue *AclForYarnQueue `json:"acl_administer_queue"` //management access control MaxAllocationMB *int32 `json:"maximum-allocation-mb"` // maximum Memory allocated to Container MaxAllocationVcores *int32 `json:"maximum-allocation-vcores"` // the maximum number of Vcores for Container IsDefault *bool `json:"isDefault"`// whether it is the root.default queue IsRoot *bool `json:"isRoot"` // whether it is the root queue Queues []*QueueForCapacitySchedulerV3 `json:"queues"`//subqueue information. Recursive}type ConfigForCapacityV3 struct { Name string `json:"configName"` // configuration set name Labels []CapacityLabel `json:"labels"` // tag information MinUserLimitPercent *int32 `json:"minimum-user-limit-percent"` // minimum user capacity UserLimitFactor *float32 `json:"user-limit-factor" valid:"rangeExcludeLeft(0|)"` // user resource factor MaxApps *int32 `json:"maximum-applications" valid:"rangeExcludeLeft(0|)"` // the maximum number of applications Max-Applications MaxAmPercent *float32 `json:"maximum-am-resource-percent"` // the maximum AM ratio DefaultApplicationPriority *int32 `json:"default-application-priority"` // resource pool priority}type CapacityLabel struct { Name string `json:"labelName"` Capacity *float32 `json:"capacity"` // capacity MaxCapacity *float32 `json:"maximum-capacity"` //maximum capacity}type AclForYarnQueue struct { User *string `json:"user"` //username Group *string `json:"group"`//group name}“`. Queue *string `json:"Queue,omitnil,omitempty" name:"Queue"` // Version Version *string `json:"Version,omitnil,omitempty" name:"Version"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeYarnScheduleHistoryRequest ¶
type DescribeYarnScheduleHistoryRequest struct { *tchttp.BaseRequest // Cluster ID. InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Start time StartTime *uint64 `json:"StartTime,omitnil,omitempty" name:"StartTime"` // End time EndTime *uint64 `json:"EndTime,omitnil,omitempty" name:"EndTime"` // Page number. Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` // Page size. Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Scheduler type. The values are ALL, Capacity Scheduler, and Fair Scheduler. SchedulerType *string `json:"SchedulerType,omitnil,omitempty" name:"SchedulerType"` // Task type. 0: waiting; 1: executing; 2: completed; -1: failed; -99: all. TaskState *int64 `json:"TaskState,omitnil,omitempty" name:"TaskState"` }
func NewDescribeYarnScheduleHistoryRequest ¶
func NewDescribeYarnScheduleHistoryRequest() (request *DescribeYarnScheduleHistoryRequest)
func (*DescribeYarnScheduleHistoryRequest) FromJsonString ¶
func (r *DescribeYarnScheduleHistoryRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeYarnScheduleHistoryRequest) ToJsonString ¶
func (r *DescribeYarnScheduleHistoryRequest) ToJsonString() string
type DescribeYarnScheduleHistoryRequestParams ¶
type DescribeYarnScheduleHistoryRequestParams struct { // Cluster ID. InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Start time StartTime *uint64 `json:"StartTime,omitnil,omitempty" name:"StartTime"` // End time EndTime *uint64 `json:"EndTime,omitnil,omitempty" name:"EndTime"` // Page number. Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` // Page size. Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Scheduler type. The values are ALL, Capacity Scheduler, and Fair Scheduler. SchedulerType *string `json:"SchedulerType,omitnil,omitempty" name:"SchedulerType"` // Task type. 0: waiting; 1: executing; 2: completed; -1: failed; -99: all. TaskState *int64 `json:"TaskState,omitnil,omitempty" name:"TaskState"` }
Predefined struct for user
type DescribeYarnScheduleHistoryResponse ¶
type DescribeYarnScheduleHistoryResponse struct { *tchttp.BaseResponse Response *DescribeYarnScheduleHistoryResponseParams `json:"Response"` }
func NewDescribeYarnScheduleHistoryResponse ¶
func NewDescribeYarnScheduleHistoryResponse() (response *DescribeYarnScheduleHistoryResponse)
func (*DescribeYarnScheduleHistoryResponse) FromJsonString ¶
func (r *DescribeYarnScheduleHistoryResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeYarnScheduleHistoryResponse) ToJsonString ¶
func (r *DescribeYarnScheduleHistoryResponse) ToJsonString() string
type DescribeYarnScheduleHistoryResponseParams ¶
type DescribeYarnScheduleHistoryResponseParams struct { // Task details. // // Note: This field may return null, indicating that no valid values can be obtained. Tasks []*SchedulerTaskInfo `json:"Tasks,omitnil,omitempty" name:"Tasks"` // Total quantity of task details. Total *uint64 `json:"Total,omitnil,omitempty" name:"Total"` // Scheduling type filter list // // Note: This field may return null, indicating that no valid values can be obtained. SchedulerNameList []*string `json:"SchedulerNameList,omitnil,omitempty" name:"SchedulerNameList"` // Status filter list // // Note: This field may return null, indicating that no valid values can be obtained. StateList []*int64 `json:"StateList,omitnil,omitempty" name:"StateList"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DiffDetail ¶
type DiffDetail struct { // Tab page header. Name *string `json:"Name,omitnil,omitempty" name:"Name"` // Number of change items. Count *uint64 `json:"Count,omitnil,omitempty" name:"Count"` // Detailed data to be rendered. // Note: This field may return null, indicating that no valid values can be obtained. Rows []*DiffDetailItem `json:"Rows,omitnil,omitempty" name:"Rows"` // Header information to be rendered. // Note: This field may return null, indicating that no valid values can be obtained. Header []*DiffHeader `json:"Header,omitnil,omitempty" name:"Header"` }
type DiffDetailItem ¶
type DiffDetailItem struct { // Attribute. Attribute *string `json:"Attribute,omitnil,omitempty" name:"Attribute"` // Currently effective. InEffect *string `json:"InEffect,omitnil,omitempty" name:"InEffect"` // To be effective. PendingEffectiveness *string `json:"PendingEffectiveness,omitnil,omitempty" name:"PendingEffectiveness"` // Operation. Operation *string `json:"Operation,omitnil,omitempty" name:"Operation"` // Queue. Queue *string `json:"Queue,omitnil,omitempty" name:"Queue"` // Configuration set. ConfigSet *string `json:"ConfigSet,omitnil,omitempty" name:"ConfigSet"` // Tag. LabelName *string `json:"LabelName,omitnil,omitempty" name:"LabelName"` // Current position. InEffectIndex *string `json:"InEffectIndex,omitnil,omitempty" name:"InEffectIndex"` // Position to be effective. PendingEffectIndex *string `json:"PendingEffectIndex,omitnil,omitempty" name:"PendingEffectIndex"` // Plan mode name. PlanName *string `json:"PlanName,omitnil,omitempty" name:"PlanName"` // Tag. Label *string `json:"Label,omitnil,omitempty" name:"Label"` // Placement rule. RuleName *string `json:"RuleName,omitnil,omitempty" name:"RuleName"` // Username. UserName *string `json:"UserName,omitnil,omitempty" name:"UserName"` }
type DiffHeader ¶
type DiskSpecInfo ¶
type DiskSpecInfo struct { // Number of disks. Count *int64 `json:"Count,omitnil,omitempty" name:"Count"` // Valid values of the system disk type: // <li>CLOUD_SSD: Cloud SSD.</li> // <li>CLOUD_PREMIUM: Premium Cloud Disk.</li> // <li>CLOUD_BASIC: Cloud Disk.</li> // <li>LOCAL_BASIC: Local Disk.</li> // <li>LOCAL_SSD: Local SSD.</li> // // Valid values of the data disk type. // <li>CLOUD_SSD: Cloud SSD.</li> // <li>CLOUD_PREMIUM: Premium Cloud Disk.</li> // <li>CLOUD_BASIC: Cloud Disk.</li> // <li>LOCAL_BASIC: Local Disk.</li> // <li>LOCAL_SSD: Local SSD.</li> // <li>CLOUD_HSSD: Enhanced SSD.</li> // <li>CLOUD_THROUGHPUT: Throughput HDD.</li> // <li>CLOUD_TSSD: Tremendous SSD.</li> // <li>CLOUD_BIGDATA: Big Data Cloud Disk.</li> // <li>CLOUD_HIGHIO: High IO Cloud Disk.</li> // <li>CLOUD_BSSD: Balanced SSD.</li> // <li>REMOTE_SSD: Remote SSD.</li> DiskType *string `json:"DiskType,omitnil,omitempty" name:"DiskType"` // Data capacity in GB. DiskSize *int64 `json:"DiskSize,omitnil,omitempty" name:"DiskSize"` // Additional performance. ExtraPerformance *int64 `json:"ExtraPerformance,omitnil,omitempty" name:"ExtraPerformance"` }
type DynamicPodSpec ¶
type DynamicPodSpec struct { // Minimum number of CPUs RequestCpu *float64 `json:"RequestCpu,omitnil,omitempty" name:"RequestCpu"` // Maximum number of CPUs LimitCpu *float64 `json:"LimitCpu,omitnil,omitempty" name:"LimitCpu"` // Minimum memory in MB RequestMemory *float64 `json:"RequestMemory,omitnil,omitempty" name:"RequestMemory"` // Maximum memory in MB LimitMemory *float64 `json:"LimitMemory,omitnil,omitempty" name:"LimitMemory"` }
type EmrListInstance ¶
type EmrListInstance struct { // Cluster ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // Common status: cluster in production, cluster running, cluster creating, cluster closed, and cluster deleted. StatusDesc *string `json:"StatusDesc,omitnil,omitempty" name:"StatusDesc"` // Cluster name ClusterName *string `json:"ClusterName,omitnil,omitempty" name:"ClusterName"` // Cluster region ZoneId *uint64 `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // User APPID AppId *uint64 `json:"AppId,omitnil,omitempty" name:"AppId"` // Creation time AddTime *string `json:"AddTime,omitnil,omitempty" name:"AddTime"` // Running time RunTime *string `json:"RunTime,omitnil,omitempty" name:"RunTime"` // Cluster IP MasterIp *string `json:"MasterIp,omitnil,omitempty" name:"MasterIp"` // Cluster version EmrVersion *string `json:"EmrVersion,omitnil,omitempty" name:"EmrVersion"` // Cluster billing mode ChargeType *uint64 `json:"ChargeType,omitnil,omitempty" name:"ChargeType"` // EMR ID Id *uint64 `json:"Id,omitnil,omitempty" name:"Id"` // Product ID. ProductId *uint64 `json:"ProductId,omitnil,omitempty" name:"ProductId"` // Project ID. ProjectId *uint64 `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` // Region. RegionId *uint64 `json:"RegionId,omitnil,omitempty" name:"RegionId"` // Subnet ID. SubnetId *uint64 `json:"SubnetId,omitnil,omitempty" name:"SubnetId"` // Network ID. VpcId *uint64 `json:"VpcId,omitnil,omitempty" name:"VpcId"` // Region. Zone *string `json:"Zone,omitnil,omitempty" name:"Zone"` // Status code. Valid values: -2 (cluster deleted), -1 (cluster closed), 0 (cluster in production), 2 (cluster running), 3 (cluster creating). Status *uint64 `json:"Status,omitnil,omitempty" name:"Status"` // Instance tag // Note: This field may return `null`, indicating that no valid value can be obtained. Tags []*Tag `json:"Tags,omitnil,omitempty" name:"Tags"` // Alarm information. AlarmInfo *string `json:"AlarmInfo,omitnil,omitempty" name:"AlarmInfo"` // Whether it is a Woodpecker cluster. IsWoodpeckerCluster *uint64 `json:"IsWoodpeckerCluster,omitnil,omitempty" name:"IsWoodpeckerCluster"` // VPC name in Chinese. VpcName *string `json:"VpcName,omitnil,omitempty" name:"VpcName"` // Subnet in Chinese. SubnetName *string `json:"SubnetName,omitnil,omitempty" name:"SubnetName"` // String VpcId. UniqVpcId *string `json:"UniqVpcId,omitnil,omitempty" name:"UniqVpcId"` // String subnet. UniqSubnetId *string `json:"UniqSubnetId,omitnil,omitempty" name:"UniqSubnetId"` // Cluster type. ClusterClass *string `json:"ClusterClass,omitnil,omitempty" name:"ClusterClass"` // Whether it is a cross-AZ cluster. IsMultiZoneCluster *bool `json:"IsMultiZoneCluster,omitnil,omitempty" name:"IsMultiZoneCluster"` // Whether it is a cluster created by a cluster CVM. IsHandsCluster *bool `json:"IsHandsCluster,omitnil,omitempty" name:"IsHandsCluster"` // Client component information. // Note: This field may return null, indicating that no valid values can be obtained. OutSideSoftInfo []*SoftDependInfo `json:"OutSideSoftInfo,omitnil,omitempty" name:"OutSideSoftInfo"` // Whether the current cluster's scenarios support external clients. IsSupportOutsideCluster *bool `json:"IsSupportOutsideCluster,omitnil,omitempty" name:"IsSupportOutsideCluster"` // Whether the cluster is used in a dedicated cluster scenario. IsDedicatedCluster *bool `json:"IsDedicatedCluster,omitnil,omitempty" name:"IsDedicatedCluster"` // Cluster supports for cloning. IsSupportClone *bool `json:"IsSupportClone,omitnil,omitempty" name:"IsSupportClone"` }
type EmrPrice ¶
type EmrPrice struct { // List price. OriginalCost *string `json:"OriginalCost,omitnil,omitempty" name:"OriginalCost"` // Discounted price. DiscountCost *string `json:"DiscountCost,omitnil,omitempty" name:"DiscountCost"` // Unit. Unit *string `json:"Unit,omitnil,omitempty" name:"Unit"` // The queried spec. // Note: This field may return null, indicating that no valid values can be obtained. PriceSpec *PriceResource `json:"PriceSpec,omitnil,omitempty" name:"PriceSpec"` // Whether spot instances are supported. SupportSpotPaid *bool `json:"SupportSpotPaid,omitnil,omitempty" name:"SupportSpotPaid"` }
type EmrProductConfigDetail ¶
type EmrProductConfigDetail struct { // Software information. // Note: This field may return null, indicating that no valid values can be obtained. SoftInfo []*string `json:"SoftInfo,omitnil,omitempty" name:"SoftInfo"` // Number of Master nodes. MasterNodeSize *int64 `json:"MasterNodeSize,omitnil,omitempty" name:"MasterNodeSize"` // Number of Core nodes. CoreNodeSize *int64 `json:"CoreNodeSize,omitnil,omitempty" name:"CoreNodeSize"` // Number of Task nodes. TaskNodeSize *int64 `json:"TaskNodeSize,omitnil,omitempty" name:"TaskNodeSize"` // Number of Common nodes. ComNodeSize *int64 `json:"ComNodeSize,omitnil,omitempty" name:"ComNodeSize"` // Primary node resources // // Note: This field may return null, indicating that no valid values can be obtained. MasterResource *ResourceDetail `json:"MasterResource,omitnil,omitempty" name:"MasterResource"` // Core node resources // // Note: This field may return null, indicating that no valid values can be obtained. CoreResource *ResourceDetail `json:"CoreResource,omitnil,omitempty" name:"CoreResource"` // Task node resources // // Note: This field may return null, indicating that no valid values can be obtained. TaskResource *ResourceDetail `json:"TaskResource,omitnil,omitempty" name:"TaskResource"` // Common node resources // // Note: This field may return null, indicating that no valid values can be obtained. ComResource *ResourceDetail `json:"ComResource,omitnil,omitempty" name:"ComResource"` // Whether to use COS. OnCos *bool `json:"OnCos,omitnil,omitempty" name:"OnCos"` // Charge type. ChargeType *int64 `json:"ChargeType,omitnil,omitempty" name:"ChargeType"` // Number of Router nodes. RouterNodeSize *int64 `json:"RouterNodeSize,omitnil,omitempty" name:"RouterNodeSize"` // Whether HA is supported. SupportHA *bool `json:"SupportHA,omitnil,omitempty" name:"SupportHA"` // Whether security mode is supported. SecurityOn *bool `json:"SecurityOn,omitnil,omitempty" name:"SecurityOn"` // Security group name. SecurityGroup *string `json:"SecurityGroup,omitnil,omitempty" name:"SecurityGroup"` // Whether to enable CBS encryption. CbsEncrypt *int64 `json:"CbsEncrypt,omitnil,omitempty" name:"CbsEncrypt"` // Custom application role. ApplicationRole *string `json:"ApplicationRole,omitnil,omitempty" name:"ApplicationRole"` // Security group. // Note: This field may return null, indicating that no valid values can be obtained. SecurityGroups []*string `json:"SecurityGroups,omitnil,omitempty" name:"SecurityGroups"` // SSH key ID. PublicKeyId *string `json:"PublicKeyId,omitnil,omitempty" name:"PublicKeyId"` }
type EmrProductConfigOutter ¶
type EmrProductConfigOutter struct { // Software information // Note: this field may return null, indicating that no valid values can be obtained. SoftInfo []*string `json:"SoftInfo,omitnil,omitempty" name:"SoftInfo"` // Number of master nodes // Note: this field may return null, indicating that no valid values can be obtained. MasterNodeSize *int64 `json:"MasterNodeSize,omitnil,omitempty" name:"MasterNodeSize"` // Number of core nodes // Note: this field may return null, indicating that no valid values can be obtained. CoreNodeSize *int64 `json:"CoreNodeSize,omitnil,omitempty" name:"CoreNodeSize"` // Number of task nodes // Note: this field may return null, indicating that no valid values can be obtained. TaskNodeSize *int64 `json:"TaskNodeSize,omitnil,omitempty" name:"TaskNodeSize"` // Number of common nodes // Note: this field may return null, indicating that no valid values can be obtained. ComNodeSize *int64 `json:"ComNodeSize,omitnil,omitempty" name:"ComNodeSize"` // Master node resource // Note: this field may return null, indicating that no valid values can be obtained. MasterResource *OutterResource `json:"MasterResource,omitnil,omitempty" name:"MasterResource"` // Core node resource // Note: this field may return null, indicating that no valid values can be obtained. CoreResource *OutterResource `json:"CoreResource,omitnil,omitempty" name:"CoreResource"` // Task node resource // Note: this field may return null, indicating that no valid values can be obtained. TaskResource *OutterResource `json:"TaskResource,omitnil,omitempty" name:"TaskResource"` // Common node resource // Note: this field may return null, indicating that no valid values can be obtained. ComResource *OutterResource `json:"ComResource,omitnil,omitempty" name:"ComResource"` // Whether COS is used // Note: this field may return null, indicating that no valid values can be obtained. OnCos *bool `json:"OnCos,omitnil,omitempty" name:"OnCos"` // Billing mode // Note: this field may return null, indicating that no valid values can be obtained. ChargeType *int64 `json:"ChargeType,omitnil,omitempty" name:"ChargeType"` // Number of router nodes // Note: this field may return null, indicating that no valid values can be obtained. RouterNodeSize *int64 `json:"RouterNodeSize,omitnil,omitempty" name:"RouterNodeSize"` // Whether HA is supported // Note: this field may return null, indicating that no valid values can be obtained. SupportHA *bool `json:"SupportHA,omitnil,omitempty" name:"SupportHA"` // Whether secure mode is supported // Note: this field may return null, indicating that no valid values can be obtained. SecurityOn *bool `json:"SecurityOn,omitnil,omitempty" name:"SecurityOn"` // Initial security group ID of the cluster. // Note: This field may return null, indicating that no valid values can be obtained. SecurityGroup *string `json:"SecurityGroup,omitnil,omitempty" name:"SecurityGroup"` // Whether to enable CBS encryption // Note: this field may return null, indicating that no valid values can be obtained. CbsEncrypt *int64 `json:"CbsEncrypt,omitnil,omitempty" name:"CbsEncrypt"` // Custom application role // Note: this field may return `null`, indicating that no valid value can be obtained. ApplicationRole *string `json:"ApplicationRole,omitnil,omitempty" name:"ApplicationRole"` // Security group ID. // Note: This field may return null, indicating that no valid values can be obtained. SecurityGroups []*string `json:"SecurityGroups,omitnil,omitempty" name:"SecurityGroups"` // SSH key ID // Note: This field may return `null`, indicating that no valid values can be obtained. PublicKeyId *string `json:"PublicKeyId,omitnil,omitempty" name:"PublicKeyId"` }
type ExternalService ¶
type ExternalService struct { string `json:"ShareType,omitnil,omitempty" name:"ShareType"` // Custom parameters CustomServiceDefineList []*CustomServiceDefine `json:"CustomServiceDefineList,omitnil,omitempty" name:"CustomServiceDefineList"` // Shared component name Service *string `json:"Service,omitnil,omitempty" name:"Service"` // Shared component cluster InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` }ShareType *
type FairGlobalConfig ¶
type FairGlobalConfig struct { // Corresponds to <p>Program Upper Limit</p> of the page. // Note: This field may return null, indicating that no valid values can be obtained. UserMaxAppsDefault *int64 `json:"UserMaxAppsDefault,omitnil,omitempty" name:"UserMaxAppsDefault"` }
type FlowExtraDetail ¶
type FlowExtraDetail struct { // Additional information title. Title *string `json:"Title,omitnil,omitempty" name:"Title"` // Additional information. // Note: This field may return null, indicating that no valid values can be obtained. Detail []*FlowParamsDesc `json:"Detail,omitnil,omitempty" name:"Detail"` }
type FlowParamsDesc ¶
type GroupGlobalConfs ¶
type GroupGlobalConfs struct { // Scaling group information. // Note: This field may return null, indicating that no valid values can be obtained. GroupGlobalConf *AutoScaleResourceConf `json:"GroupGlobalConf,omitnil,omitempty" name:"GroupGlobalConf"` // Number of nodes scaled out in the current scaling group. CurrentNodes *int64 `json:"CurrentNodes,omitnil,omitempty" name:"CurrentNodes"` // Number of postpaid nodes scaled out in the current scaling group. CurrentPostPaidNodes *int64 `json:"CurrentPostPaidNodes,omitnil,omitempty" name:"CurrentPostPaidNodes"` // Number of spot instance nodes scaled out in the current scaling group. CurrentSpotPaidNodes *int64 `json:"CurrentSpotPaidNodes,omitnil,omitempty" name:"CurrentSpotPaidNodes"` }
type GroupInfos ¶
type GroupInfos struct { // User group name. GroupName *string `json:"GroupName,omitnil,omitempty" name:"GroupName"` // User name list. Users []*string `json:"Users,omitnil,omitempty" name:"Users"` // Remarks. Description *string `json:"Description,omitnil,omitempty" name:"Description"` // Creation time. CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"` // User group type. GroupType *int64 `json:"GroupType,omitnil,omitempty" name:"GroupType"` // User group type description. GroupTypeDesc *string `json:"GroupTypeDesc,omitnil,omitempty" name:"GroupTypeDesc"` }
type HealthStatus ¶
type HiveQuery ¶
type HiveQuery struct { // Query statement. Statement *string `json:"Statement,omitnil,omitempty" name:"Statement"` // Execution duration. Duration *string `json:"Duration,omitnil,omitempty" name:"Duration"` // Start time in milliseconds. StartTime *int64 `json:"StartTime,omitnil,omitempty" name:"StartTime"` // End time in milliseconds. EndTime *int64 `json:"EndTime,omitnil,omitempty" name:"EndTime"` // Status. State *string `json:"State,omitnil,omitempty" name:"State"` // User. User *string `json:"User,omitnil,omitempty" name:"User"` // AppId List // Note: This field may return null, indicating that no valid values can be obtained. JobIds []*string `json:"JobIds,omitnil,omitempty" name:"JobIds"` // Execution engine. ExecutionEngine *string `json:"ExecutionEngine,omitnil,omitempty" name:"ExecutionEngine"` // Query ID. Id *string `json:"Id,omitnil,omitempty" name:"Id"` }
type HostVolumeContext ¶
type HostVolumeContext struct { // Directory for mounting the host in the pod. As the mount point of the host in the resource, a specified mount point corresponds to the host path and is used as the data storage directory in the pod. VolumePath *string `json:"VolumePath,omitnil,omitempty" name:"VolumePath"` }
type InquiryPriceCreateInstanceRequest ¶
type InquiryPriceCreateInstanceRequest struct { *tchttp.BaseRequest // Time unit of instance purchase duration. Valid values: // <li>s: seconds. When `PayMode` is 0, `TimeUnit` can only be `s`.</li> TimeUnit *string `json:"TimeUnit,omitnil,omitempty" name:"TimeUnit"` // Purchase duration of instance, which needs to be used together with `TimeUnit`. // <li>When `TimeUnit` is `s`, this parameter can only be filled with 3600, indicating a pay-as-you-go instance.</li> // <li>When `TimeUnit` is `m`, the number entered in this parameter indicates the purchase duration of the monthly-subscription instance; for example, 1 means one month</li> TimeSpan *uint64 `json:"TimeSpan,omitnil,omitempty" name:"TimeSpan"` // Currency. Currency *string `json:"Currency,omitnil,omitempty" name:"Currency"` // Instance billing mode. Valid values: // <li>0: pay-as-you-go.</li> PayMode *uint64 `json:"PayMode,omitnil,omitempty" name:"PayMode"` // Whether to enable high availability of node. Valid values: // <li>0: does not enable high availability of node.</li> // <li>1: enables high availability of node.</li> SupportHA *uint64 `json:"SupportHA,omitnil,omitempty" name:"SupportHA"` // List of deployed components. Different required components need to be selected for different EMR product IDs (ProductId: For specific meanings, see the ProductId field in the input parameters): <li>When ProductId is 2 (EMR v2.0.1), the required components include hdfs-2.7.3, yarn-2.7.3, zookeeper-3.4.9, and knox-1.2.0.</li> <li>When ProductId is 16 (EMR v2.3.0), the required components include hdfs-2.8.5, yarn-2.8.5, zookeeper-3.5.5, and knox-1.2.0.</li> <li>When ProductId is 20 (EMR v2.5.0), the required components include hdfs-2.8.5, yarn-2.8.5, zookeeper-3.6.1, and knox-1.2.0.</li> <li>When ProductId is 30 (EMR v2.6.0), the required components include hdfs-2.8.5, yarn-2.8.5, zookeeper-3.6.1, openldap-2.4.44, and knox-1.2.0.</li> <li>When ProductId is 38 (EMR v2.7.0), the required components include hdfs-2.8.5, yarn-2.8.5, zookeeper-3.6.3, openldap-2.4.44, and knox-1.6.1.</li> <li>When ProductId is 57 (EMR v2.8.0), the required components include hdfs-2.8.5, yarn-2.8.5, zookeeper-3.6.3, openldap-2.4.44, and knox-1.6.1.</li> <li>When ProductId is 7 (EMR v3.0.0), the required components include hdfs-3.1.2, yarn-3.1.2, zookeeper-3.4.9, and knox-1.2.0.</li> <li>When ProductId is 25 (EMR v3.1.0), the required components include hdfs-3.1.2, yarn-3.1.2, zookeeper-3.6.1, and knox-1.2.0.</li> <li>When ProductId is 31 (EMR v3.1.1), the required components include hdfs-3.1.2, yarn-3.1.2, zookeeper-3.6.1, and knox-1.2.0.</li> <li>When ProductId is 28 (EMR v3.2.0), the required components include hdfs-3.2.2, yarn-3.2.2, zookeeper-3.6.1, and knox-1.2.0.</li> <li>When ProductId is 33 (EMR v3.2.1), the required components include hdfs-3.2.2, yarn-3.2.2, zookeeper-3.6.1, openldap-2.4.44, and knox-1.2.0.</li> <li>When ProductId is 34 (EMR v3.3.0), the required components include hdfs-3.2.2, yarn-3.2.2, zookeeper-3.6.1, openldap-2.4.44, and knox-1.2.0.</li> <li>When ProductId is 37 (EMR v3.4.0), the required components include hdfs-3.2.2, yarn-3.2.2, zookeeper-3.6.3, openldap-2.4.44, and knox-1.6.1.</li> <li>When ProductId is 44 (EMR v3.5.0), the required components include hdfs-3.2.2, yarn-3.2.2, zookeeper-3.6.3, openldap-2.4.44, and knox-1.6.1.</li> <li>When ProductId is 53 (EMR v3.6.0), the required components include hdfs-3.2.2, yarn-3.2.2, zookeeper-3.6.3, openldap-2.4.44, and knox-1.6.1.</li> <li>When ProductId is 58 (EMR v3.6.1), the required components include hdfs-3.2.2, yarn-3.2.2, zookeeper-3.6.3, openldap-2.4.46, and knox-1.6.1.</li> <li>When ProductId is 47 (EMR v4.0.0), the required components include hdfs-3.2.2, yarn-3.2.2, zookeeper-3.6.3, openldap-2.4.44, and knox-1.6.1.</li> Software []*string `json:"Software,omitnil,omitempty" name:"Software"` // Node specification queried for price. ResourceSpec *NewResourceSpec `json:"ResourceSpec,omitnil,omitempty" name:"ResourceSpec"` // Instance location. This parameter is used to specify the AZ, project, and other attributes of the instance. Placement *Placement `json:"Placement,omitnil,omitempty" name:"Placement"` // Configuration information of VPC. This parameter is used to specify the VPC ID, subnet ID, etc. VPCSettings *VPCSettings `json:"VPCSettings,omitnil,omitempty" name:"VPCSettings"` // Hive-shared metadatabase type. Valid values: // <li>EMR_DEFAULT_META: the cluster creates one by default.</li> // <li>EMR_EXIST_META: the cluster uses the specified EMR-MetaDB instance.</li> // <li>USER_CUSTOM_META: the cluster uses a custom MetaDB instance.</li> MetaType *string `json:"MetaType,omitnil,omitempty" name:"MetaType"` // EMR-MetaDB instance UnifyMetaInstanceId *string `json:"UnifyMetaInstanceId,omitnil,omitempty" name:"UnifyMetaInstanceId"` // Custom MetaDB instance information MetaDBInfo *CustomMetaInfo `json:"MetaDBInfo,omitnil,omitempty" name:"MetaDBInfo"` // Product ID. Different product IDs represent different EMR product versions. Valid values: <li>2: EMR v2.0.1;</li> <li>16: EMR v2.3.0;</li> <li>20: EMR v2.5.0;</li> <li>30: EMR v2.6.0;</li> <li>38: EMR v2.7.0;</li> <li>57: EMR v2.8.0;</li> <li>7: EMR v3.0.0;</li> <li>25: EMR v3.1.0;</li> <li>31: EMR v3.1.1;</li> <li>28: EMR v3.2.0</li> <li>33: EMR v3.2.1</li> <li>34: EMR v3.3.0</li> <li>37: EMR v3.4.0;</li> <li>44: EMR v3.5.0;</li> <li>53: EMR v3.6.0;</li> <li>58: EMR v3.6.1;</li> <li>47: EMR v4.0.0.</li> ProductId *uint64 `json:"ProductId,omitnil,omitempty" name:"ProductId"` // Scenario values: Hadoop-Kudu, Hadoop-ZooKeeper, Hadoop-Presto, and Hadoop-HBase. SceneName *string `json:"SceneName,omitnil,omitempty" name:"SceneName"` // Shared component information ExternalService []*ExternalService `json:"ExternalService,omitnil,omitempty" name:"ExternalService"` VersionID *uint64 `json:"VersionID,omitnil,omitempty" name:"VersionID"` // AZ specs MultiZoneSettings []*MultiZoneSetting `json:"MultiZoneSettings,omitnil,omitempty" name:"MultiZoneSettings"` }
func NewInquiryPriceCreateInstanceRequest ¶
func NewInquiryPriceCreateInstanceRequest() (request *InquiryPriceCreateInstanceRequest)
func (*InquiryPriceCreateInstanceRequest) FromJsonString ¶
func (r *InquiryPriceCreateInstanceRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*InquiryPriceCreateInstanceRequest) ToJsonString ¶
func (r *InquiryPriceCreateInstanceRequest) ToJsonString() string
type InquiryPriceCreateInstanceRequestParams ¶
type InquiryPriceCreateInstanceRequestParams struct { // Time unit of instance purchase duration. Valid values: // <li>s: seconds. When `PayMode` is 0, `TimeUnit` can only be `s`.</li> TimeUnit *string `json:"TimeUnit,omitnil,omitempty" name:"TimeUnit"` // Purchase duration of instance, which needs to be used together with `TimeUnit`. // <li>When `TimeUnit` is `s`, this parameter can only be filled with 3600, indicating a pay-as-you-go instance.</li> // <li>When `TimeUnit` is `m`, the number entered in this parameter indicates the purchase duration of the monthly-subscription instance; for example, 1 means one month</li> TimeSpan *uint64 `json:"TimeSpan,omitnil,omitempty" name:"TimeSpan"` // Currency. Currency *string `json:"Currency,omitnil,omitempty" name:"Currency"` // Instance billing mode. Valid values: // <li>0: pay-as-you-go.</li> PayMode *uint64 `json:"PayMode,omitnil,omitempty" name:"PayMode"` // Whether to enable high availability of node. Valid values: // <li>0: does not enable high availability of node.</li> // <li>1: enables high availability of node.</li> SupportHA *uint64 `json:"SupportHA,omitnil,omitempty" name:"SupportHA"` // List of deployed components. Different required components need to be selected for different EMR product IDs (ProductId: For specific meanings, see the ProductId field in the input parameters): <li>When ProductId is 2 (EMR v2.0.1), the required components include hdfs-2.7.3, yarn-2.7.3, zookeeper-3.4.9, and knox-1.2.0.</li> <li>When ProductId is 16 (EMR v2.3.0), the required components include hdfs-2.8.5, yarn-2.8.5, zookeeper-3.5.5, and knox-1.2.0.</li> <li>When ProductId is 20 (EMR v2.5.0), the required components include hdfs-2.8.5, yarn-2.8.5, zookeeper-3.6.1, and knox-1.2.0.</li> <li>When ProductId is 30 (EMR v2.6.0), the required components include hdfs-2.8.5, yarn-2.8.5, zookeeper-3.6.1, openldap-2.4.44, and knox-1.2.0.</li> <li>When ProductId is 38 (EMR v2.7.0), the required components include hdfs-2.8.5, yarn-2.8.5, zookeeper-3.6.3, openldap-2.4.44, and knox-1.6.1.</li> <li>When ProductId is 57 (EMR v2.8.0), the required components include hdfs-2.8.5, yarn-2.8.5, zookeeper-3.6.3, openldap-2.4.44, and knox-1.6.1.</li> <li>When ProductId is 7 (EMR v3.0.0), the required components include hdfs-3.1.2, yarn-3.1.2, zookeeper-3.4.9, and knox-1.2.0.</li> <li>When ProductId is 25 (EMR v3.1.0), the required components include hdfs-3.1.2, yarn-3.1.2, zookeeper-3.6.1, and knox-1.2.0.</li> <li>When ProductId is 31 (EMR v3.1.1), the required components include hdfs-3.1.2, yarn-3.1.2, zookeeper-3.6.1, and knox-1.2.0.</li> <li>When ProductId is 28 (EMR v3.2.0), the required components include hdfs-3.2.2, yarn-3.2.2, zookeeper-3.6.1, and knox-1.2.0.</li> <li>When ProductId is 33 (EMR v3.2.1), the required components include hdfs-3.2.2, yarn-3.2.2, zookeeper-3.6.1, openldap-2.4.44, and knox-1.2.0.</li> <li>When ProductId is 34 (EMR v3.3.0), the required components include hdfs-3.2.2, yarn-3.2.2, zookeeper-3.6.1, openldap-2.4.44, and knox-1.2.0.</li> <li>When ProductId is 37 (EMR v3.4.0), the required components include hdfs-3.2.2, yarn-3.2.2, zookeeper-3.6.3, openldap-2.4.44, and knox-1.6.1.</li> <li>When ProductId is 44 (EMR v3.5.0), the required components include hdfs-3.2.2, yarn-3.2.2, zookeeper-3.6.3, openldap-2.4.44, and knox-1.6.1.</li> <li>When ProductId is 53 (EMR v3.6.0), the required components include hdfs-3.2.2, yarn-3.2.2, zookeeper-3.6.3, openldap-2.4.44, and knox-1.6.1.</li> <li>When ProductId is 58 (EMR v3.6.1), the required components include hdfs-3.2.2, yarn-3.2.2, zookeeper-3.6.3, openldap-2.4.46, and knox-1.6.1.</li> <li>When ProductId is 47 (EMR v4.0.0), the required components include hdfs-3.2.2, yarn-3.2.2, zookeeper-3.6.3, openldap-2.4.44, and knox-1.6.1.</li> Software []*string `json:"Software,omitnil,omitempty" name:"Software"` // Node specification queried for price. ResourceSpec *NewResourceSpec `json:"ResourceSpec,omitnil,omitempty" name:"ResourceSpec"` // Instance location. This parameter is used to specify the AZ, project, and other attributes of the instance. Placement *Placement `json:"Placement,omitnil,omitempty" name:"Placement"` // Configuration information of VPC. This parameter is used to specify the VPC ID, subnet ID, etc. VPCSettings *VPCSettings `json:"VPCSettings,omitnil,omitempty" name:"VPCSettings"` // Hive-shared metadatabase type. Valid values: // <li>EMR_DEFAULT_META: the cluster creates one by default.</li> // <li>EMR_EXIST_META: the cluster uses the specified EMR-MetaDB instance.</li> // <li>USER_CUSTOM_META: the cluster uses a custom MetaDB instance.</li> MetaType *string `json:"MetaType,omitnil,omitempty" name:"MetaType"` // EMR-MetaDB instance UnifyMetaInstanceId *string `json:"UnifyMetaInstanceId,omitnil,omitempty" name:"UnifyMetaInstanceId"` // Custom MetaDB instance information MetaDBInfo *CustomMetaInfo `json:"MetaDBInfo,omitnil,omitempty" name:"MetaDBInfo"` // Product ID. Different product IDs represent different EMR product versions. Valid values: <li>2: EMR v2.0.1;</li> <li>16: EMR v2.3.0;</li> <li>20: EMR v2.5.0;</li> <li>30: EMR v2.6.0;</li> <li>38: EMR v2.7.0;</li> <li>57: EMR v2.8.0;</li> <li>7: EMR v3.0.0;</li> <li>25: EMR v3.1.0;</li> <li>31: EMR v3.1.1;</li> <li>28: EMR v3.2.0</li> <li>33: EMR v3.2.1</li> <li>34: EMR v3.3.0</li> <li>37: EMR v3.4.0;</li> <li>44: EMR v3.5.0;</li> <li>53: EMR v3.6.0;</li> <li>58: EMR v3.6.1;</li> <li>47: EMR v4.0.0.</li> ProductId *uint64 `json:"ProductId,omitnil,omitempty" name:"ProductId"` // Scenario values: Hadoop-Kudu, Hadoop-ZooKeeper, Hadoop-Presto, and Hadoop-HBase. SceneName *string `json:"SceneName,omitnil,omitempty" name:"SceneName"` // Shared component information ExternalService []*ExternalService `json:"ExternalService,omitnil,omitempty" name:"ExternalService"` VersionID *uint64 `json:"VersionID,omitnil,omitempty" name:"VersionID"` // AZ specs MultiZoneSettings []*MultiZoneSetting `json:"MultiZoneSettings,omitnil,omitempty" name:"MultiZoneSettings"` }
Predefined struct for user
type InquiryPriceCreateInstanceResponse ¶
type InquiryPriceCreateInstanceResponse struct { *tchttp.BaseResponse Response *InquiryPriceCreateInstanceResponseParams `json:"Response"` }
func NewInquiryPriceCreateInstanceResponse ¶
func NewInquiryPriceCreateInstanceResponse() (response *InquiryPriceCreateInstanceResponse)
func (*InquiryPriceCreateInstanceResponse) FromJsonString ¶
func (r *InquiryPriceCreateInstanceResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*InquiryPriceCreateInstanceResponse) ToJsonString ¶
func (r *InquiryPriceCreateInstanceResponse) ToJsonString() string
type InquiryPriceCreateInstanceResponseParams ¶
type InquiryPriceCreateInstanceResponseParams struct { // Original price. OriginalCost *float64 `json:"OriginalCost,omitnil,omitempty" name:"OriginalCost"` // Discounted price. DiscountCost *float64 `json:"DiscountCost,omitnil,omitempty" name:"DiscountCost"` // Time unit of purchase instances. Valid values. // <li>s: seconds.</li> TimeUnit *string `json:"TimeUnit,omitnil,omitempty" name:"TimeUnit"` // Instance purchase duration. TimeSpan *int64 `json:"TimeSpan,omitnil,omitempty" name:"TimeSpan"` // The price list. // Note: This field may return null, indicating that no valid values can be obtained. PriceList []*ZoneDetailPriceResult `json:"PriceList,omitnil,omitempty" name:"PriceList"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type InquiryPriceRenewInstanceRequest ¶
type InquiryPriceRenewInstanceRequest struct { *tchttp.BaseRequest // How long the instance will be renewed for, which needs to be used together with `TimeUnit`. TimeSpan *uint64 `json:"TimeSpan,omitnil,omitempty" name:"TimeSpan"` // Instance billing mode. PayMode *int64 `json:"PayMode,omitnil,omitempty" name:"PayMode"` // List of resource IDs of the node to be renewed. The resource ID is in the format of `emr-vm-xxxxxxxx`. A valid resource ID can be queried in the [console](https://console.cloud.tencent.com/emr/static/hardware). ResourceIds []*string `json:"ResourceIds,omitnil,omitempty" name:"ResourceIds"` // Unit of time for instance renewal. TimeUnit *string `json:"TimeUnit,omitnil,omitempty" name:"TimeUnit"` // Currency. Currency *string `json:"Currency,omitnil,omitempty" name:"Currency"` // Location of the instance. This parameter is used to specify the AZ, project, and other attributes of the instance. Placement *Placement `json:"Placement,omitnil,omitempty" name:"Placement"` // Whether to change from pay-as-you-go billing to monthly subscription billing. `0`: no; `1`: yes ModifyPayMode *int64 `json:"ModifyPayMode,omitnil,omitempty" name:"ModifyPayMode"` // Whether the renewal price for every node is required. NeedDetail *bool `json:"NeedDetail,omitnil,omitempty" name:"NeedDetail"` // Cluster ID. This parameter can be filled to get renewal information for all yearly/monthly subscription nodes in the cluster. InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` }
func NewInquiryPriceRenewInstanceRequest ¶
func NewInquiryPriceRenewInstanceRequest() (request *InquiryPriceRenewInstanceRequest)
func (*InquiryPriceRenewInstanceRequest) FromJsonString ¶
func (r *InquiryPriceRenewInstanceRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*InquiryPriceRenewInstanceRequest) ToJsonString ¶
func (r *InquiryPriceRenewInstanceRequest) ToJsonString() string
type InquiryPriceRenewInstanceRequestParams ¶
type InquiryPriceRenewInstanceRequestParams struct { // How long the instance will be renewed for, which needs to be used together with `TimeUnit`. TimeSpan *uint64 `json:"TimeSpan,omitnil,omitempty" name:"TimeSpan"` // Instance billing mode. PayMode *int64 `json:"PayMode,omitnil,omitempty" name:"PayMode"` // List of resource IDs of the node to be renewed. The resource ID is in the format of `emr-vm-xxxxxxxx`. A valid resource ID can be queried in the [console](https://console.cloud.tencent.com/emr/static/hardware). ResourceIds []*string `json:"ResourceIds,omitnil,omitempty" name:"ResourceIds"` // Unit of time for instance renewal. TimeUnit *string `json:"TimeUnit,omitnil,omitempty" name:"TimeUnit"` // Currency. Currency *string `json:"Currency,omitnil,omitempty" name:"Currency"` // Location of the instance. This parameter is used to specify the AZ, project, and other attributes of the instance. Placement *Placement `json:"Placement,omitnil,omitempty" name:"Placement"` // Whether to change from pay-as-you-go billing to monthly subscription billing. `0`: no; `1`: yes ModifyPayMode *int64 `json:"ModifyPayMode,omitnil,omitempty" name:"ModifyPayMode"` // Whether the renewal price for every node is required. NeedDetail *bool `json:"NeedDetail,omitnil,omitempty" name:"NeedDetail"` // Cluster ID. This parameter can be filled to get renewal information for all yearly/monthly subscription nodes in the cluster. InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` }
Predefined struct for user
type InquiryPriceRenewInstanceResponse ¶
type InquiryPriceRenewInstanceResponse struct { *tchttp.BaseResponse Response *InquiryPriceRenewInstanceResponseParams `json:"Response"` }
func NewInquiryPriceRenewInstanceResponse ¶
func NewInquiryPriceRenewInstanceResponse() (response *InquiryPriceRenewInstanceResponse)
func (*InquiryPriceRenewInstanceResponse) FromJsonString ¶
func (r *InquiryPriceRenewInstanceResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*InquiryPriceRenewInstanceResponse) ToJsonString ¶
func (r *InquiryPriceRenewInstanceResponse) ToJsonString() string
type InquiryPriceRenewInstanceResponseParams ¶
type InquiryPriceRenewInstanceResponseParams struct { // Original price. OriginalCost *float64 `json:"OriginalCost,omitnil,omitempty" name:"OriginalCost"` // Discounted price. DiscountCost *float64 `json:"DiscountCost,omitnil,omitempty" name:"DiscountCost"` // Time unit for instance renewal. TimeUnit *string `json:"TimeUnit,omitnil,omitempty" name:"TimeUnit"` // Duration of instance renewal. TimeSpan *int64 `json:"TimeSpan,omitnil,omitempty" name:"TimeSpan"` // Price details. // Note: This field may return null, indicating that no valid values can be obtained. PriceDetail []*PriceDetail `json:"PriceDetail,omitnil,omitempty" name:"PriceDetail"` // Node renewal pricing list. NodeRenewPriceDetails []*NodeRenewPriceDetail `json:"NodeRenewPriceDetails,omitnil,omitempty" name:"NodeRenewPriceDetails"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type InquiryPriceScaleOutInstanceRequest ¶
type InquiryPriceScaleOutInstanceRequest struct { *tchttp.BaseRequest // Time unit of scale-out. Valid value: // <li>s: Second. When `PayMode` is 0, `TimeUnit` can only be `s`.</li> TimeUnit *string `json:"TimeUnit,omitnil,omitempty" name:"TimeUnit"` // Time span of scale-out, which needs to be used together with `TimeUnit`. // <li>When `PayMode` is 0, `TimeSpan` can only be 3,600.</li> TimeSpan *uint64 `json:"TimeSpan,omitnil,omitempty" name:"TimeSpan"` // ID of the AZ where an instance resides. ZoneId *uint64 `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // Instance billing mode. Valid value: // <li>0: Pay-as-you-go.</li> PayMode *uint64 `json:"PayMode,omitnil,omitempty" name:"PayMode"` // Instance ID. InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Number of core nodes to be added. CoreCount *uint64 `json:"CoreCount,omitnil,omitempty" name:"CoreCount"` // Number of task nodes to be added. TaskCount *uint64 `json:"TaskCount,omitnil,omitempty" name:"TaskCount"` // Currency. Currency *string `json:"Currency,omitnil,omitempty" name:"Currency"` // Number of router nodes to be added. RouterCount *uint64 `json:"RouterCount,omitnil,omitempty" name:"RouterCount"` // Number of master nodes to be added. MasterCount *uint64 `json:"MasterCount,omitnil,omitempty" name:"MasterCount"` // The type can be ComputeResource, EMR, or a default value. The default value is EMR. ResourceBaseType *string `json:"ResourceBaseType,omitnil,omitempty" name:"ResourceBaseType"` // Computing resource ID. ComputeResourceId *string `json:"ComputeResourceId,omitnil,omitempty" name:"ComputeResourceId"` // Scale-out resource type. HardwareResourceType *string `json:"HardwareResourceType,omitnil,omitempty" name:"HardwareResourceType"` }
func NewInquiryPriceScaleOutInstanceRequest ¶
func NewInquiryPriceScaleOutInstanceRequest() (request *InquiryPriceScaleOutInstanceRequest)
func (*InquiryPriceScaleOutInstanceRequest) FromJsonString ¶
func (r *InquiryPriceScaleOutInstanceRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*InquiryPriceScaleOutInstanceRequest) ToJsonString ¶
func (r *InquiryPriceScaleOutInstanceRequest) ToJsonString() string
type InquiryPriceScaleOutInstanceRequestParams ¶
type InquiryPriceScaleOutInstanceRequestParams struct { // Time unit of scale-out. Valid value: // <li>s: Second. When `PayMode` is 0, `TimeUnit` can only be `s`.</li> TimeUnit *string `json:"TimeUnit,omitnil,omitempty" name:"TimeUnit"` // Time span of scale-out, which needs to be used together with `TimeUnit`. // <li>When `PayMode` is 0, `TimeSpan` can only be 3,600.</li> TimeSpan *uint64 `json:"TimeSpan,omitnil,omitempty" name:"TimeSpan"` // ID of the AZ where an instance resides. ZoneId *uint64 `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // Instance billing mode. Valid value: // <li>0: Pay-as-you-go.</li> PayMode *uint64 `json:"PayMode,omitnil,omitempty" name:"PayMode"` // Instance ID. InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Number of core nodes to be added. CoreCount *uint64 `json:"CoreCount,omitnil,omitempty" name:"CoreCount"` // Number of task nodes to be added. TaskCount *uint64 `json:"TaskCount,omitnil,omitempty" name:"TaskCount"` // Currency. Currency *string `json:"Currency,omitnil,omitempty" name:"Currency"` // Number of router nodes to be added. RouterCount *uint64 `json:"RouterCount,omitnil,omitempty" name:"RouterCount"` // Number of master nodes to be added. MasterCount *uint64 `json:"MasterCount,omitnil,omitempty" name:"MasterCount"` // The type can be ComputeResource, EMR, or a default value. The default value is EMR. ResourceBaseType *string `json:"ResourceBaseType,omitnil,omitempty" name:"ResourceBaseType"` // Computing resource ID. ComputeResourceId *string `json:"ComputeResourceId,omitnil,omitempty" name:"ComputeResourceId"` // Scale-out resource type. HardwareResourceType *string `json:"HardwareResourceType,omitnil,omitempty" name:"HardwareResourceType"` }
Predefined struct for user
type InquiryPriceScaleOutInstanceResponse ¶
type InquiryPriceScaleOutInstanceResponse struct { *tchttp.BaseResponse Response *InquiryPriceScaleOutInstanceResponseParams `json:"Response"` }
func NewInquiryPriceScaleOutInstanceResponse ¶
func NewInquiryPriceScaleOutInstanceResponse() (response *InquiryPriceScaleOutInstanceResponse)
func (*InquiryPriceScaleOutInstanceResponse) FromJsonString ¶
func (r *InquiryPriceScaleOutInstanceResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*InquiryPriceScaleOutInstanceResponse) ToJsonString ¶
func (r *InquiryPriceScaleOutInstanceResponse) ToJsonString() string
type InquiryPriceScaleOutInstanceResponseParams ¶
type InquiryPriceScaleOutInstanceResponseParams struct { // Original price. OriginalCost *string `json:"OriginalCost,omitnil,omitempty" name:"OriginalCost"` // Discounted price. DiscountCost *string `json:"DiscountCost,omitnil,omitempty" name:"DiscountCost"` // Time unit of scale-out. Valid values. // <li>s: second.</li> Unit *string `json:"Unit,omitnil,omitempty" name:"Unit"` // Node spec queried for price. // Note: This field may return null, indicating that no valid values can be obtained. PriceSpec *PriceResource `json:"PriceSpec,omitnil,omitempty" name:"PriceSpec"` // The inquiry results corresponding to the specs specified by the input parameter `MultipleResources`, with the result of the first spec returned by other output parameters. // Note: This field may return null, indicating that no valid values can be obtained. MultipleEmrPrice []*EmrPrice `json:"MultipleEmrPrice,omitnil,omitempty" name:"MultipleEmrPrice"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type InquiryPriceUpdateInstanceRequest ¶
type InquiryPriceUpdateInstanceRequest struct { *tchttp.BaseRequest // Time unit of scaling. Valid values: // <li>s: seconds. When `PayMode` is 0, `TimeUnit` can only be `s`.</li> TimeUnit *string `json:"TimeUnit,omitnil,omitempty" name:"TimeUnit"` // Duration of scaling, which needs to be used together with `TimeUnit`. // <li>When `PayMode` is 0, `TimeSpan` can only be 3,600.</li> TimeSpan *uint64 `json:"TimeSpan,omitnil,omitempty" name:"TimeSpan"` // Instance billing mode. Valid values: // <li>0: pay-as-you-go.</li> PayMode *uint64 `json:"PayMode,omitnil,omitempty" name:"PayMode"` // Currency. Currency *string `json:"Currency,omitnil,omitempty" name:"Currency"` // Target node specification. UpdateSpec *UpdateInstanceSettings `json:"UpdateSpec,omitnil,omitempty" name:"UpdateSpec"` // Instance location. This parameter is used to specify the AZ, project, and other attributes of the instance. Placement *Placement `json:"Placement,omitnil,omitempty" name:"Placement"` // The resource ID list for batch configuration change. ResourceIdList []*string `json:"ResourceIdList,omitnil,omitempty" name:"ResourceIdList"` }
func NewInquiryPriceUpdateInstanceRequest ¶
func NewInquiryPriceUpdateInstanceRequest() (request *InquiryPriceUpdateInstanceRequest)
func (*InquiryPriceUpdateInstanceRequest) FromJsonString ¶
func (r *InquiryPriceUpdateInstanceRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*InquiryPriceUpdateInstanceRequest) ToJsonString ¶
func (r *InquiryPriceUpdateInstanceRequest) ToJsonString() string
type InquiryPriceUpdateInstanceRequestParams ¶
type InquiryPriceUpdateInstanceRequestParams struct { // Time unit of scaling. Valid values: // <li>s: seconds. When `PayMode` is 0, `TimeUnit` can only be `s`.</li> TimeUnit *string `json:"TimeUnit,omitnil,omitempty" name:"TimeUnit"` // Duration of scaling, which needs to be used together with `TimeUnit`. // <li>When `PayMode` is 0, `TimeSpan` can only be 3,600.</li> TimeSpan *uint64 `json:"TimeSpan,omitnil,omitempty" name:"TimeSpan"` // Instance billing mode. Valid values: // <li>0: pay-as-you-go.</li> PayMode *uint64 `json:"PayMode,omitnil,omitempty" name:"PayMode"` // Currency. Currency *string `json:"Currency,omitnil,omitempty" name:"Currency"` // Target node specification. UpdateSpec *UpdateInstanceSettings `json:"UpdateSpec,omitnil,omitempty" name:"UpdateSpec"` // Instance location. This parameter is used to specify the AZ, project, and other attributes of the instance. Placement *Placement `json:"Placement,omitnil,omitempty" name:"Placement"` // The resource ID list for batch configuration change. ResourceIdList []*string `json:"ResourceIdList,omitnil,omitempty" name:"ResourceIdList"` }
Predefined struct for user
type InquiryPriceUpdateInstanceResponse ¶
type InquiryPriceUpdateInstanceResponse struct { *tchttp.BaseResponse Response *InquiryPriceUpdateInstanceResponseParams `json:"Response"` }
func NewInquiryPriceUpdateInstanceResponse ¶
func NewInquiryPriceUpdateInstanceResponse() (response *InquiryPriceUpdateInstanceResponse)
func (*InquiryPriceUpdateInstanceResponse) FromJsonString ¶
func (r *InquiryPriceUpdateInstanceResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*InquiryPriceUpdateInstanceResponse) ToJsonString ¶
func (r *InquiryPriceUpdateInstanceResponse) ToJsonString() string
type InquiryPriceUpdateInstanceResponseParams ¶
type InquiryPriceUpdateInstanceResponseParams struct { // Original price. OriginalCost *float64 `json:"OriginalCost,omitnil,omitempty" name:"OriginalCost"` // Discounted price. DiscountCost *float64 `json:"DiscountCost,omitnil,omitempty" name:"DiscountCost"` // Time unit of resizing. Valid values: // <li>s: second.</li> TimeUnit *string `json:"TimeUnit,omitnil,omitempty" name:"TimeUnit"` // Desizing duration. TimeSpan *int64 `json:"TimeSpan,omitnil,omitempty" name:"TimeSpan"` // Pricing details // Note: This field may return null, indicating that no valid values can be obtained. PriceDetail []*PriceDetail `json:"PriceDetail,omitnil,omitempty" name:"PriceDetail"` // New configuration price. // Note: This field may return null, indicating that no valid values can be obtained. NewConfigPrice *PriceResult `json:"NewConfigPrice,omitnil,omitempty" name:"NewConfigPrice"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type InsightResult ¶
type InsightResult struct { // When Type is HIVE, the value is Hive query ID; when Type is MAPREDUCE, SPARK or TEZ, the value is YarnAppID. ID *string `json:"ID,omitnil,omitempty" name:"ID"` // Insight application type. Value values: HIVE, SPARK, MAPREDUCE, and TEZ. Type *string `json:"Type,omitnil,omitempty" name:"Type"` // Insight rule ID. // HIVE-ScanManyMeta: too much scanned metadata. // HIVE-ScanManyPartition: large table scanning. // HIVE-SlowCompile: compilation duration too long. // HIVE-UnSuitableConfig: improper parameter. // MAPREDUCE-MapperDataSkew: Map data skew. // MAPREDUCE-MapperMemWaste: MapMemory resource waste. // MAPREDUCE-MapperSlowTask: slow map task. // MAPREDUCE-MapperTaskGC:MapperTaskGC // MAPREDUCE-MemExceeded: peak memory exceeded. // MAPREDUCE-ReducerDataSkew: Reduce data skew. // MAPREDUCE-ReducerMemWaste: ReduceMemory resource waste. // MAPREDUCE-ReducerSlowTask: slow reduce task. // MAPREDUCE-ReducerTaskGC:ReducerTaskGC // MAPREDUCE-SchedulingDelay: scheduling delay. // SPARK-CpuWaste: CPU resource waste. // SPARK-DataSkew: data skew. // SPARK-ExecutorGC:ExecutorGC // SPARK-MemExceeded: peak memory exceeded. // SPARK-MemWaste: Memory resource waste. // SPARK-ScheduleOverhead:ScheduleOverhead // SPARK-ScheduleSkew: scheduling skew. // SPARK-SlowTask: slow task. // TEZ-DataSkew: data skew. // TEZ-MapperDataSkew: Map data skew. // TEZ-ReducerDataSkew: Reduce data skew. // TEZ-TezMemWaste: Memory resource waste. // TEZ-TezSlowTask: slow task. // TEZ-TezTaskGC:TasksGC RuleID *string `json:"RuleID,omitnil,omitempty" name:"RuleID"` // Insight rule name. Refer to the description of RuleID. RuleName *string `json:"RuleName,omitnil,omitempty" name:"RuleName"` // Insight rules interpretation. RuleExplain *string `json:"RuleExplain,omitnil,omitempty" name:"RuleExplain"` // Details. Detail *string `json:"Detail,omitnil,omitempty" name:"Detail"` // Recommended message. Suggestion *string `json:"Suggestion,omitnil,omitempty" name:"Suggestion"` // Anomaly metrics measure insight severity. Higher values indicate greater severity within the same insight category. Metrics across different insight types cannot be meaningfully compared. Value *int64 `json:"Value,omitnil,omitempty" name:"Value"` // Scheduling task execution ID. ScheduleTaskExecID *string `json:"ScheduleTaskExecID,omitnil,omitempty" name:"ScheduleTaskExecID"` // Scheduling flow, DAG. ScheduleFlowName *string `json:"ScheduleFlowName,omitnil,omitempty" name:"ScheduleFlowName"` // A Task node in the scheduling flow. ScheduleTaskName *string `json:"ScheduleTaskName,omitnil,omitempty" name:"ScheduleTaskName"` // Core configurations for Yarn tasks. JobConf *string `json:"JobConf,omitnil,omitempty" name:"JobConf"` // Insight structure information. // Note: This field may return null, indicating that no valid values can be obtained. Context *string `json:"Context,omitnil,omitempty" name:"Context"` }
type InspectionTaskSettings ¶
type InspectionTaskSettings struct { // Unique identifier for inspection tasks. TaskType *string `json:"TaskType,omitnil,omitempty" name:"TaskType"` // Inspection task group name. Group *string `json:"Group,omitnil,omitempty" name:"Group"` // Inspection task name. Name *string `json:"Name,omitnil,omitempty" name:"Name"` // Inspection task parameter settings. TaskSettings []*TaskSettings `json:"TaskSettings,omitnil,omitempty" name:"TaskSettings"` // Whether it is selected, with the valid values of "true" and "false". Selected *string `json:"Selected,omitnil,omitempty" name:"Selected"` // Whether monitoring is enabled. Enable *string `json:"Enable,omitnil,omitempty" name:"Enable"` // Event JSON template. SettingsJson *string `json:"SettingsJson,omitnil,omitempty" name:"SettingsJson"` }
type InstanceChargePrepaid ¶
type InstanceChargePrepaid struct { // The period of monthly subscription, which defaults to 1 and is expressed in month. // Valid values: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 24, 36, 48, 60. Period *int64 `json:"Period,omitnil,omitempty" name:"Period"` // Whether to enable auto-renewal. Valid values: // <li>`true`: Enable</li> // <li>`false` (default): Disable</li> RenewFlag *bool `json:"RenewFlag,omitnil,omitempty" name:"RenewFlag"` }
type ItemSeq ¶
type ItemSeq struct { // Tag name. // Note: This field may return null, indicating that no valid values can be obtained. Items []*Item `json:"Items,omitnil,omitempty" name:"Items"` }
type KyuubiQueryInfo ¶
type KyuubiQueryInfo struct { // Submitter IP address. ClientIP *string `json:"ClientIP,omitnil,omitempty" name:"ClientIP"` // Execution duration. Duration *int64 `json:"Duration,omitnil,omitempty" name:"Duration"` // End time. EndTime *int64 `json:"EndTime,omitnil,omitempty" name:"EndTime"` // Engine Id EngineID *string `json:"EngineID,omitnil,omitempty" name:"EngineID"` // Computing engine. EngineType *string `json:"EngineType,omitnil,omitempty" name:"EngineType"` // ID Id *string `json:"Id,omitnil,omitempty" name:"Id"` // Session Id SessionID *string `json:"SessionID,omitnil,omitempty" name:"SessionID"` // Start time. BeginTime *int64 `json:"BeginTime,omitnil,omitempty" name:"BeginTime"` // Execution status. ExecutionState *string `json:"ExecutionState,omitnil,omitempty" name:"ExecutionState"` // Execution statement. ExecutionStatement *string `json:"ExecutionStatement,omitnil,omitempty" name:"ExecutionStatement"` // Statement Id StatementID *string `json:"StatementID,omitnil,omitempty" name:"StatementID"` // User who submits requests. User *string `json:"User,omitnil,omitempty" name:"User"` }
type LoadAutoScaleStrategy ¶
type LoadAutoScaleStrategy struct { // Rule ID. StrategyId *int64 `json:"StrategyId,omitnil,omitempty" name:"StrategyId"` // Rule name. StrategyName *string `json:"StrategyName,omitnil,omitempty" name:"StrategyName"` // Cooling time for a rule to take effect. CalmDownTime *int64 `json:"CalmDownTime,omitnil,omitempty" name:"CalmDownTime"` // Scaling action. 1: scale-out, 2: scale-in. ScaleAction *int64 `json:"ScaleAction,omitnil,omitempty" name:"ScaleAction"` // Scaling amount each time the rule takes effect. ScaleNum *int64 `json:"ScaleNum,omitnil,omitempty" name:"ScaleNum"` // Metric processing method. 1: MAX, 2: MIN, 3: AVG. ProcessMethod *int64 `json:"ProcessMethod,omitnil,omitempty" name:"ProcessMethod"` // Rule priority, which is not applicable during adding. The default is auto-increment. Priority *int64 `json:"Priority,omitnil,omitempty" name:"Priority"` // Rule status. 1: enabled, 3: disabled. StrategyStatus *int64 `json:"StrategyStatus,omitnil,omitempty" name:"StrategyStatus"` // Specified Yarn Node Label for rule scale-out. YarnNodeLabel *string `json:"YarnNodeLabel,omitnil,omitempty" name:"YarnNodeLabel"` // Effective time of the rule PeriodValid *string `json:"PeriodValid,omitnil,omitempty" name:"PeriodValid"` // Graceful scale-in switch GraceDownFlag *bool `json:"GraceDownFlag,omitnil,omitempty" name:"GraceDownFlag"` // Graceful scale-in wait time GraceDownTime *int64 `json:"GraceDownTime,omitnil,omitempty" name:"GraceDownTime"` // Bound tag list // // Note: This field may return null, indicating that no valid values can be obtained. Tags []*Tag `json:"Tags,omitnil,omitempty" name:"Tags"` // Preset configuration group. ConfigGroupAssigned *string `json:"ConfigGroupAssigned,omitnil,omitempty" name:"ConfigGroupAssigned"` // Calculation method of scale-out resources:"DEFAULT","INSTANCE", "CPU", "MEMORYGB". // "DEFAULT" indicates the default method, which is the same as "INSTANCE". // "INSTANCE" indicates calculation based on nodes (default mode). // "CPU" indicates calculation based on the quantity of cores of the machine. // "MEMORYGB" indicates calculation based on the memory size of the machine. MeasureMethod *string `json:"MeasureMethod,omitnil,omitempty" name:"MeasureMethod"` // Node deployment service list, such as ["HDFS-3.1.2","YARN-3.1.2"]. // Note: This field may return null, indicating that no valid values can be obtained. SoftDeployDesc []*string `json:"SoftDeployDesc,omitnil,omitempty" name:"SoftDeployDesc"` // Startup process list, such as ["NodeManager"]. ServiceNodeDesc *string `json:"ServiceNodeDesc,omitnil,omitempty" name:"ServiceNodeDesc"` // Startup process list. // Note: This field may return null, indicating that no valid values can be obtained. ServiceNodeInfo []*int64 `json:"ServiceNodeInfo,omitnil,omitempty" name:"ServiceNodeInfo"` // Node deployment service list. Only HDFS and YARN should be specified in the deployment service list. For details, see [Mapping Table for Component Names](https://www.tencentcloud.comom/document/product/589/98760?from_cn_redirect=1). // Note: This field may return null, indicating that no valid values can be obtained. SoftDeployInfo []*int64 `json:"SoftDeployInfo,omitnil,omitempty" name:"SoftDeployInfo"` // Multi-metric trigger condition. // Note: This field may return null, indicating that no valid values can be obtained. LoadMetricsConditions *LoadMetricsConditions `json:"LoadMetricsConditions,omitnil,omitempty" name:"LoadMetricsConditions"` // Scaling group ID. GroupId *int64 `json:"GroupId,omitnil,omitempty" name:"GroupId"` // Soft (for example, YARN). Soft *string `json:"Soft,omitnil,omitempty" name:"Soft"` }
type LoadMetricsCondition ¶
type LoadMetricsCondition struct { // Rule statistics cycle. Options include 1 min, 3 min, and 5 min. StatisticPeriod *int64 `json:"StatisticPeriod,omitnil,omitempty" name:"StatisticPeriod"` // Trigger count. Scaling begins only after it has been triggered continuously more than TriggerThreshold times. TriggerThreshold *int64 `json:"TriggerThreshold,omitnil,omitempty" name:"TriggerThreshold"` // Scaling load metric. LoadMetrics *string `json:"LoadMetrics,omitnil,omitempty" name:"LoadMetrics"` // Rule metadata record ID. MetricId *int64 `json:"MetricId,omitnil,omitempty" name:"MetricId"` // Trigger condition. // Note: This field may return null, indicating that no valid values can be obtained. Conditions []*TriggerCondition `json:"Conditions,omitnil,omitempty" name:"Conditions"` }
type LoadMetricsConditions ¶
type LoadMetricsConditions struct { // Trigger rule condition. // Note: This field may return null, indicating that no valid values can be obtained. LoadMetrics []*LoadMetricsCondition `json:"LoadMetrics,omitnil,omitempty" name:"LoadMetrics"` // 0: all conditions should be met. // 1: any one of the conditions is met. Match *int64 `json:"Match,omitnil,omitempty" name:"Match"` }
type LoginSettings ¶
type LoginSettings struct { // The login password of the instance, which contains 8 to 16 uppercase letters, lowercase letters, digits, and special characters (only !@%^*) and cannot start with a special character. Password *string `json:"Password,omitnil,omitempty" name:"Password"` // The key ID. After an instance is associated with a key, you can access it 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 `PublicKeyId`. PublicKeyId *string `json:"PublicKeyId,omitnil,omitempty" name:"PublicKeyId"` }
type MetricTags ¶
type ModifyAutoRenewFlagRequest ¶
type ModifyAutoRenewFlagRequest struct { *tchttp.BaseRequest // Cluster ID. InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Instance ID. ResourceIds []*string `json:"ResourceIds,omitnil,omitempty" name:"ResourceIds"` // NOTIFY_AND_MANUAL_RENEW: Notification of impending expiration, without auto-renewal. NOTIFY_AND_AUTO_RENEW: Notification of impending expiration, with auto-renewal. DISABLE_NOTIFY_AND_MANUAL_RENEW: No notification of impending expiration, without auto-renewal. RenewFlag *string `json:"RenewFlag,omitnil,omitempty" name:"RenewFlag"` // Computing resource ID. ComputeResourceId *string `json:"ComputeResourceId,omitnil,omitempty" name:"ComputeResourceId"` }
func NewModifyAutoRenewFlagRequest ¶
func NewModifyAutoRenewFlagRequest() (request *ModifyAutoRenewFlagRequest)
func (*ModifyAutoRenewFlagRequest) FromJsonString ¶
func (r *ModifyAutoRenewFlagRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyAutoRenewFlagRequest) ToJsonString ¶
func (r *ModifyAutoRenewFlagRequest) ToJsonString() string
type ModifyAutoRenewFlagRequestParams ¶
type ModifyAutoRenewFlagRequestParams struct { // Cluster ID. InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Instance ID. ResourceIds []*string `json:"ResourceIds,omitnil,omitempty" name:"ResourceIds"` // NOTIFY_AND_MANUAL_RENEW: Notification of impending expiration, without auto-renewal. NOTIFY_AND_AUTO_RENEW: Notification of impending expiration, with auto-renewal. DISABLE_NOTIFY_AND_MANUAL_RENEW: No notification of impending expiration, without auto-renewal. RenewFlag *string `json:"RenewFlag,omitnil,omitempty" name:"RenewFlag"` // Computing resource ID. ComputeResourceId *string `json:"ComputeResourceId,omitnil,omitempty" name:"ComputeResourceId"` }
Predefined struct for user
type ModifyAutoRenewFlagResponse ¶
type ModifyAutoRenewFlagResponse struct { *tchttp.BaseResponse Response *ModifyAutoRenewFlagResponseParams `json:"Response"` }
func NewModifyAutoRenewFlagResponse ¶
func NewModifyAutoRenewFlagResponse() (response *ModifyAutoRenewFlagResponse)
func (*ModifyAutoRenewFlagResponse) FromJsonString ¶
func (r *ModifyAutoRenewFlagResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyAutoRenewFlagResponse) ToJsonString ¶
func (r *ModifyAutoRenewFlagResponse) ToJsonString() string
type ModifyAutoRenewFlagResponseParams ¶
type ModifyAutoRenewFlagResponseParams struct { // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyAutoScaleStrategyRequest ¶
type ModifyAutoScaleStrategyRequest struct { *tchttp.BaseRequest // Instance ID. InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Automatic scaling rule type. 1: Scaling by load metrics; 2: Scaling by time StrategyType *int64 `json:"StrategyType,omitnil,omitempty" name:"StrategyType"` // Metric for load-based scaling. LoadAutoScaleStrategies []*LoadAutoScaleStrategy `json:"LoadAutoScaleStrategies,omitnil,omitempty" name:"LoadAutoScaleStrategies"` // Rule for time-based scaling TimeAutoScaleStrategies []*TimeAutoScaleStrategy `json:"TimeAutoScaleStrategies,omitnil,omitempty" name:"TimeAutoScaleStrategies"` // Scaling group ID. GroupId *int64 `json:"GroupId,omitnil,omitempty" name:"GroupId"` }
func NewModifyAutoScaleStrategyRequest ¶
func NewModifyAutoScaleStrategyRequest() (request *ModifyAutoScaleStrategyRequest)
func (*ModifyAutoScaleStrategyRequest) FromJsonString ¶
func (r *ModifyAutoScaleStrategyRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyAutoScaleStrategyRequest) ToJsonString ¶
func (r *ModifyAutoScaleStrategyRequest) ToJsonString() string
type ModifyAutoScaleStrategyRequestParams ¶
type ModifyAutoScaleStrategyRequestParams struct { // Instance ID. InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Automatic scaling rule type. 1: Scaling by load metrics; 2: Scaling by time StrategyType *int64 `json:"StrategyType,omitnil,omitempty" name:"StrategyType"` // Metric for load-based scaling. LoadAutoScaleStrategies []*LoadAutoScaleStrategy `json:"LoadAutoScaleStrategies,omitnil,omitempty" name:"LoadAutoScaleStrategies"` // Rule for time-based scaling TimeAutoScaleStrategies []*TimeAutoScaleStrategy `json:"TimeAutoScaleStrategies,omitnil,omitempty" name:"TimeAutoScaleStrategies"` // Scaling group ID. GroupId *int64 `json:"GroupId,omitnil,omitempty" name:"GroupId"` }
Predefined struct for user
type ModifyAutoScaleStrategyResponse ¶
type ModifyAutoScaleStrategyResponse struct { *tchttp.BaseResponse Response *ModifyAutoScaleStrategyResponseParams `json:"Response"` }
func NewModifyAutoScaleStrategyResponse ¶
func NewModifyAutoScaleStrategyResponse() (response *ModifyAutoScaleStrategyResponse)
func (*ModifyAutoScaleStrategyResponse) FromJsonString ¶
func (r *ModifyAutoScaleStrategyResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyAutoScaleStrategyResponse) ToJsonString ¶
func (r *ModifyAutoScaleStrategyResponse) ToJsonString() string
type ModifyAutoScaleStrategyResponseParams ¶
type ModifyAutoScaleStrategyResponseParams struct { // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyGlobalConfigRequest ¶
type ModifyGlobalConfigRequest struct { *tchttp.BaseRequest // English ID of the EMR cluster. InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // List of modified configurations. Key values have a one-to-one correspondence with the output parameters of the `DescribeGlobalConfig` API and are case-insensitive (if an error occurs indicating the key cannot be found, refer to the output parameters). The values are: // 1. enableResourceSchedule: Enables or disables resource scheduling. When disabling, a synchronous operation option (sync) is available with values true or false. // 2. scheduler type: scheduler. // 2. enableLabel: Enables or disables tags, with values true or false. // 2. tag directory: labelDir. // 3. whether to overwrite the user-specified queue, with values true or false. // 4. userMaxAppsDefault: program upper limit. // 5. dynamic configuration item: Corresponds to the Name field in the DefaultSettings object returned by the DescribeGlobalConfig API. // The values are strings. For **whether to overwrite the user-specified queue** and **program upper limit**, null in the JSON specifications means clearing the value of this configuration. Individual configuration items can be modified. For **dynamic configurations**, a full transmission is required to perform overwriting. Items []*Item `json:"Items,omitnil,omitempty" name:"Items"` }
func NewModifyGlobalConfigRequest ¶
func NewModifyGlobalConfigRequest() (request *ModifyGlobalConfigRequest)
func (*ModifyGlobalConfigRequest) FromJsonString ¶
func (r *ModifyGlobalConfigRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyGlobalConfigRequest) ToJsonString ¶
func (r *ModifyGlobalConfigRequest) ToJsonString() string
type ModifyGlobalConfigRequestParams ¶
type ModifyGlobalConfigRequestParams struct { // English ID of the EMR cluster. InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // List of modified configurations. Key values have a one-to-one correspondence with the output parameters of the `DescribeGlobalConfig` API and are case-insensitive (if an error occurs indicating the key cannot be found, refer to the output parameters). The values are: // 1. enableResourceSchedule: Enables or disables resource scheduling. When disabling, a synchronous operation option (sync) is available with values true or false. // 2. scheduler type: scheduler. // 2. enableLabel: Enables or disables tags, with values true or false. // 2. tag directory: labelDir. // 3. whether to overwrite the user-specified queue, with values true or false. // 4. userMaxAppsDefault: program upper limit. // 5. dynamic configuration item: Corresponds to the Name field in the DefaultSettings object returned by the DescribeGlobalConfig API. // The values are strings. For **whether to overwrite the user-specified queue** and **program upper limit**, null in the JSON specifications means clearing the value of this configuration. Individual configuration items can be modified. For **dynamic configurations**, a full transmission is required to perform overwriting. Items []*Item `json:"Items,omitnil,omitempty" name:"Items"` }
Predefined struct for user
type ModifyGlobalConfigResponse ¶
type ModifyGlobalConfigResponse struct { *tchttp.BaseResponse Response *ModifyGlobalConfigResponseParams `json:"Response"` }
func NewModifyGlobalConfigResponse ¶
func NewModifyGlobalConfigResponse() (response *ModifyGlobalConfigResponse)
func (*ModifyGlobalConfigResponse) FromJsonString ¶
func (r *ModifyGlobalConfigResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyGlobalConfigResponse) ToJsonString ¶
func (r *ModifyGlobalConfigResponse) ToJsonString() string
type ModifyGlobalConfigResponseParams ¶
type ModifyGlobalConfigResponseParams struct { // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyInspectionSettingsRequest ¶
type ModifyInspectionSettingsRequest struct { *tchttp.BaseRequest // Instance ID. InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Inspection type, FixedTime or RealTime. Type *string `json:"Type,omitnil,omitempty" name:"Type"` // Task configurations. Settings []*InspectionTaskSettings `json:"Settings,omitnil,omitempty" name:"Settings"` // Start timestamp. StartTime *int64 `json:"StartTime,omitnil,omitempty" name:"StartTime"` // End timestamp. EndTime *int64 `json:"EndTime,omitnil,omitempty" name:"EndTime"` // Inspection cycle, such as EveryDay, EveryWeek or EveryMonth. Strategy *string `json:"Strategy,omitnil,omitempty" name:"Strategy"` // Start time of each day. Clock *string `json:"Clock,omitnil,omitempty" name:"Clock"` // Day of the week. DayOfWeek *string `json:"DayOfWeek,omitnil,omitempty" name:"DayOfWeek"` // Number of the day in a month. DayOfMonth *string `json:"DayOfMonth,omitnil,omitempty" name:"DayOfMonth"` // Inspection job ID. JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` }
func NewModifyInspectionSettingsRequest ¶
func NewModifyInspectionSettingsRequest() (request *ModifyInspectionSettingsRequest)
func (*ModifyInspectionSettingsRequest) FromJsonString ¶
func (r *ModifyInspectionSettingsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyInspectionSettingsRequest) ToJsonString ¶
func (r *ModifyInspectionSettingsRequest) ToJsonString() string
type ModifyInspectionSettingsRequestParams ¶
type ModifyInspectionSettingsRequestParams struct { // Instance ID. InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Inspection type, FixedTime or RealTime. Type *string `json:"Type,omitnil,omitempty" name:"Type"` // Task configurations. Settings []*InspectionTaskSettings `json:"Settings,omitnil,omitempty" name:"Settings"` // Start timestamp. StartTime *int64 `json:"StartTime,omitnil,omitempty" name:"StartTime"` // End timestamp. EndTime *int64 `json:"EndTime,omitnil,omitempty" name:"EndTime"` // Inspection cycle, such as EveryDay, EveryWeek or EveryMonth. Strategy *string `json:"Strategy,omitnil,omitempty" name:"Strategy"` // Start time of each day. Clock *string `json:"Clock,omitnil,omitempty" name:"Clock"` // Day of the week. DayOfWeek *string `json:"DayOfWeek,omitnil,omitempty" name:"DayOfWeek"` // Number of the day in a month. DayOfMonth *string `json:"DayOfMonth,omitnil,omitempty" name:"DayOfMonth"` // Inspection job ID. JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` }
Predefined struct for user
type ModifyInspectionSettingsResponse ¶
type ModifyInspectionSettingsResponse struct { *tchttp.BaseResponse Response *ModifyInspectionSettingsResponseParams `json:"Response"` }
func NewModifyInspectionSettingsResponse ¶
func NewModifyInspectionSettingsResponse() (response *ModifyInspectionSettingsResponse)
func (*ModifyInspectionSettingsResponse) FromJsonString ¶
func (r *ModifyInspectionSettingsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyInspectionSettingsResponse) ToJsonString ¶
func (r *ModifyInspectionSettingsResponse) ToJsonString() string
type ModifyInspectionSettingsResponseParams ¶
type ModifyInspectionSettingsResponseParams struct { // Description of the returned value. Info *string `json:"Info,omitnil,omitempty" name:"Info"` // ID of the successfully modified inspection task. JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyInstanceBasicRequest ¶
type ModifyInstanceBasicRequest struct { *tchttp.BaseRequest // Cluster instance ID. InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Cluster name. ClusterName *string `json:"ClusterName,omitnil,omitempty" name:"ClusterName"` // Used to label computing resources that need to be modified. ResourceBaseType *string `json:"ResourceBaseType,omitnil,omitempty" name:"ResourceBaseType"` // Computing resource ID that needs to be modified, and can be used together with ResourceBaseType. ComputeResourceId *string `json:"ComputeResourceId,omitnil,omitempty" name:"ComputeResourceId"` }
func NewModifyInstanceBasicRequest ¶
func NewModifyInstanceBasicRequest() (request *ModifyInstanceBasicRequest)
func (*ModifyInstanceBasicRequest) FromJsonString ¶
func (r *ModifyInstanceBasicRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyInstanceBasicRequest) ToJsonString ¶
func (r *ModifyInstanceBasicRequest) ToJsonString() string
type ModifyInstanceBasicRequestParams ¶
type ModifyInstanceBasicRequestParams struct { // Cluster instance ID. InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Cluster name. ClusterName *string `json:"ClusterName,omitnil,omitempty" name:"ClusterName"` // Used to label computing resources that need to be modified. ResourceBaseType *string `json:"ResourceBaseType,omitnil,omitempty" name:"ResourceBaseType"` // Computing resource ID that needs to be modified, and can be used together with ResourceBaseType. ComputeResourceId *string `json:"ComputeResourceId,omitnil,omitempty" name:"ComputeResourceId"` }
Predefined struct for user
type ModifyInstanceBasicResponse ¶
type ModifyInstanceBasicResponse struct { *tchttp.BaseResponse Response *ModifyInstanceBasicResponseParams `json:"Response"` }
func NewModifyInstanceBasicResponse ¶
func NewModifyInstanceBasicResponse() (response *ModifyInstanceBasicResponse)
func (*ModifyInstanceBasicResponse) FromJsonString ¶
func (r *ModifyInstanceBasicResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyInstanceBasicResponse) ToJsonString ¶
func (r *ModifyInstanceBasicResponse) ToJsonString() string
type ModifyInstanceBasicResponseParams ¶
type ModifyInstanceBasicResponseParams struct { // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyResourceRequest ¶
type ModifyResourceRequest struct { *tchttp.BaseRequest // Instance ID. InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Billing type. PayMode *uint64 `json:"PayMode,omitnil,omitempty" name:"PayMode"` // Resized CPU. NewCpu *int64 `json:"NewCpu,omitnil,omitempty" name:"NewCpu"` // Resized memory. NewMem *int64 `json:"NewMem,omitnil,omitempty" name:"NewMem"` // Token ClientToken *string `json:"ClientToken,omitnil,omitempty" name:"ClientToken"` // Resized machine specifications. InstanceType *string `json:"InstanceType,omitnil,omitempty" name:"InstanceType"` // Node ID List. ResourceIdList []*string `json:"ResourceIdList,omitnil,omitempty" name:"ResourceIdList"` }
func NewModifyResourceRequest ¶
func NewModifyResourceRequest() (request *ModifyResourceRequest)
func (*ModifyResourceRequest) FromJsonString ¶
func (r *ModifyResourceRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyResourceRequest) ToJsonString ¶
func (r *ModifyResourceRequest) ToJsonString() string
type ModifyResourceRequestParams ¶
type ModifyResourceRequestParams struct { // Instance ID. InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Billing type. PayMode *uint64 `json:"PayMode,omitnil,omitempty" name:"PayMode"` // Resized CPU. NewCpu *int64 `json:"NewCpu,omitnil,omitempty" name:"NewCpu"` // Resized memory. NewMem *int64 `json:"NewMem,omitnil,omitempty" name:"NewMem"` // Token ClientToken *string `json:"ClientToken,omitnil,omitempty" name:"ClientToken"` // Resized machine specifications. InstanceType *string `json:"InstanceType,omitnil,omitempty" name:"InstanceType"` // Node ID List. ResourceIdList []*string `json:"ResourceIdList,omitnil,omitempty" name:"ResourceIdList"` }
Predefined struct for user
type ModifyResourceResponse ¶
type ModifyResourceResponse struct { *tchttp.BaseResponse Response *ModifyResourceResponseParams `json:"Response"` }
func NewModifyResourceResponse ¶
func NewModifyResourceResponse() (response *ModifyResourceResponse)
func (*ModifyResourceResponse) FromJsonString ¶
func (r *ModifyResourceResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyResourceResponse) ToJsonString ¶
func (r *ModifyResourceResponse) ToJsonString() string
type ModifyResourceResponseParams ¶
type ModifyResourceResponseParams struct { // Process traceId. TraceId *string `json:"TraceId,omitnil,omitempty" name:"TraceId"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyResourceScheduleConfigRequest ¶
type ModifyResourceScheduleConfigRequest struct { *tchttp.BaseRequest // EMR cluster ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Business identifier. `fair`: Edit fair configuration items; `fairPlan`: Edit the execution plan; `capacity`: Edit capacity configuration items. Key *string `json:"Key,omitnil,omitempty" name:"Key"` // Modified module information Value *string `json:"Value,omitnil,omitempty" name:"Value"` }
func NewModifyResourceScheduleConfigRequest ¶
func NewModifyResourceScheduleConfigRequest() (request *ModifyResourceScheduleConfigRequest)
func (*ModifyResourceScheduleConfigRequest) FromJsonString ¶
func (r *ModifyResourceScheduleConfigRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyResourceScheduleConfigRequest) ToJsonString ¶
func (r *ModifyResourceScheduleConfigRequest) ToJsonString() string
type ModifyResourceScheduleConfigRequestParams ¶
type ModifyResourceScheduleConfigRequestParams struct { // EMR cluster ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Business identifier. `fair`: Edit fair configuration items; `fairPlan`: Edit the execution plan; `capacity`: Edit capacity configuration items. Key *string `json:"Key,omitnil,omitempty" name:"Key"` // Modified module information Value *string `json:"Value,omitnil,omitempty" name:"Value"` }
Predefined struct for user
type ModifyResourceScheduleConfigResponse ¶
type ModifyResourceScheduleConfigResponse struct { *tchttp.BaseResponse Response *ModifyResourceScheduleConfigResponseParams `json:"Response"` }
func NewModifyResourceScheduleConfigResponse ¶
func NewModifyResourceScheduleConfigResponse() (response *ModifyResourceScheduleConfigResponse)
func (*ModifyResourceScheduleConfigResponse) FromJsonString ¶
func (r *ModifyResourceScheduleConfigResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyResourceScheduleConfigResponse) ToJsonString ¶
func (r *ModifyResourceScheduleConfigResponse) ToJsonString() string
type ModifyResourceScheduleConfigResponseParams ¶
type ModifyResourceScheduleConfigResponseParams struct { // `true`: Draft, indicating the resource pool is not refreshed. IsDraft *bool `json:"IsDraft,omitnil,omitempty" name:"IsDraft"` // Verification error information. If it is not empty, it means that verification fails and configuration is not successful. ErrorMsg *string `json:"ErrorMsg,omitnil,omitempty" name:"ErrorMsg"` // Returned data. Data *string `json:"Data,omitnil,omitempty" name:"Data"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyResourceSchedulerRequest ¶
type ModifyResourceSchedulerRequest struct { *tchttp.BaseRequest // EMR cluster ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // The original scheduler: `fair` OldValue *string `json:"OldValue,omitnil,omitempty" name:"OldValue"` // The new scheduler: `capacity` NewValue *string `json:"NewValue,omitnil,omitempty" name:"NewValue"` }
func NewModifyResourceSchedulerRequest ¶
func NewModifyResourceSchedulerRequest() (request *ModifyResourceSchedulerRequest)
func (*ModifyResourceSchedulerRequest) FromJsonString ¶
func (r *ModifyResourceSchedulerRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyResourceSchedulerRequest) ToJsonString ¶
func (r *ModifyResourceSchedulerRequest) ToJsonString() string
type ModifyResourceSchedulerRequestParams ¶
type ModifyResourceSchedulerRequestParams struct { // EMR cluster ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // The original scheduler: `fair` OldValue *string `json:"OldValue,omitnil,omitempty" name:"OldValue"` // The new scheduler: `capacity` NewValue *string `json:"NewValue,omitnil,omitempty" name:"NewValue"` }
Predefined struct for user
type ModifyResourceSchedulerResponse ¶
type ModifyResourceSchedulerResponse struct { *tchttp.BaseResponse Response *ModifyResourceSchedulerResponseParams `json:"Response"` }
func NewModifyResourceSchedulerResponse ¶
func NewModifyResourceSchedulerResponse() (response *ModifyResourceSchedulerResponse)
func (*ModifyResourceSchedulerResponse) FromJsonString ¶
func (r *ModifyResourceSchedulerResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyResourceSchedulerResponse) ToJsonString ¶
func (r *ModifyResourceSchedulerResponse) ToJsonString() string
type ModifyResourceSchedulerResponseParams ¶
type ModifyResourceSchedulerResponseParams struct { // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyResourceTags ¶
type ModifyResourceTags struct { // Cluster ID or CVM ID ResourceId *string `json:"ResourceId,omitnil,omitempty" name:"ResourceId"` // 6-segment resource expression Resource *string `json:"Resource,omitnil,omitempty" name:"Resource"` // Resource prefix ResourcePrefix *string `json:"ResourcePrefix,omitnil,omitempty" name:"ResourcePrefix"` // ap-beijing ResourceRegion *string `json:"ResourceRegion,omitnil,omitempty" name:"ResourceRegion"` // emr ServiceType *string `json:"ServiceType,omitnil,omitempty" name:"ServiceType"` // List of deleted tags DeleteTags []*Tag `json:"DeleteTags,omitnil,omitempty" name:"DeleteTags"` // List of added tags AddTags []*Tag `json:"AddTags,omitnil,omitempty" name:"AddTags"` // List of modified tags ModifyTags []*Tag `json:"ModifyTags,omitnil,omitempty" name:"ModifyTags"` }
type ModifyResourcesTagsRequest ¶
type ModifyResourcesTagsRequest struct { *tchttp.BaseRequest // Tag type. Valid values: Cluster and Node ModifyType *string `json:"ModifyType,omitnil,omitempty" name:"ModifyType"` // Tag information ModifyResourceTagsInfoList []*ModifyResourceTags `json:"ModifyResourceTagsInfoList,omitnil,omitempty" name:"ModifyResourceTagsInfoList"` }
func NewModifyResourcesTagsRequest ¶
func NewModifyResourcesTagsRequest() (request *ModifyResourcesTagsRequest)
func (*ModifyResourcesTagsRequest) FromJsonString ¶
func (r *ModifyResourcesTagsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyResourcesTagsRequest) ToJsonString ¶
func (r *ModifyResourcesTagsRequest) ToJsonString() string
type ModifyResourcesTagsRequestParams ¶
type ModifyResourcesTagsRequestParams struct { // Tag type. Valid values: Cluster and Node ModifyType *string `json:"ModifyType,omitnil,omitempty" name:"ModifyType"` // Tag information ModifyResourceTagsInfoList []*ModifyResourceTags `json:"ModifyResourceTagsInfoList,omitnil,omitempty" name:"ModifyResourceTagsInfoList"` }
Predefined struct for user
type ModifyResourcesTagsResponse ¶
type ModifyResourcesTagsResponse struct { *tchttp.BaseResponse Response *ModifyResourcesTagsResponseParams `json:"Response"` }
func NewModifyResourcesTagsResponse ¶
func NewModifyResourcesTagsResponse() (response *ModifyResourcesTagsResponse)
func (*ModifyResourcesTagsResponse) FromJsonString ¶
func (r *ModifyResourcesTagsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyResourcesTagsResponse) ToJsonString ¶
func (r *ModifyResourcesTagsResponse) ToJsonString() string
type ModifyResourcesTagsResponseParams ¶
type ModifyResourcesTagsResponseParams struct { // List of resource IDs with successful modification // Note: This field may return null, indicating that no valid values can be obtained. SuccessList []*string `json:"SuccessList,omitnil,omitempty" name:"SuccessList"` // List of resource IDs with failed modification // Note: This field may return null, indicating that no valid values can be obtained. FailList []*string `json:"FailList,omitnil,omitempty" name:"FailList"` // List of resource IDs with partial successful modification // Note: This field may return null, indicating that no valid values can be obtained. PartSuccessList []*string `json:"PartSuccessList,omitnil,omitempty" name:"PartSuccessList"` // Mapping list of cluster IDs and process IDs // Note: This field may return null, indicating that no valid values can be obtained. ClusterToFlowIdList []*ClusterIDToFlowID `json:"ClusterToFlowIdList,omitnil,omitempty" name:"ClusterToFlowIdList"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifySLInstanceBasicRequest ¶
type ModifySLInstanceBasicRequest struct { *tchttp.BaseRequest // Instance ID. InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Instance name. ClusterName *string `json:"ClusterName,omitnil,omitempty" name:"ClusterName"` }
func NewModifySLInstanceBasicRequest ¶
func NewModifySLInstanceBasicRequest() (request *ModifySLInstanceBasicRequest)
func (*ModifySLInstanceBasicRequest) FromJsonString ¶
func (r *ModifySLInstanceBasicRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifySLInstanceBasicRequest) ToJsonString ¶
func (r *ModifySLInstanceBasicRequest) ToJsonString() string
type ModifySLInstanceBasicRequestParams ¶
type ModifySLInstanceBasicRequestParams struct { // Instance ID. InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Instance name. ClusterName *string `json:"ClusterName,omitnil,omitempty" name:"ClusterName"` }
Predefined struct for user
type ModifySLInstanceBasicResponse ¶
type ModifySLInstanceBasicResponse struct { *tchttp.BaseResponse Response *ModifySLInstanceBasicResponseParams `json:"Response"` }
func NewModifySLInstanceBasicResponse ¶
func NewModifySLInstanceBasicResponse() (response *ModifySLInstanceBasicResponse)
func (*ModifySLInstanceBasicResponse) FromJsonString ¶
func (r *ModifySLInstanceBasicResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifySLInstanceBasicResponse) ToJsonString ¶
func (r *ModifySLInstanceBasicResponse) ToJsonString() string
type ModifySLInstanceBasicResponseParams ¶
type ModifySLInstanceBasicResponseParams struct { // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifySLInstanceRequest ¶
type ModifySLInstanceRequest struct { *tchttp.BaseRequest // Instance unique identifier (string). InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Region name to be changed. Zone *string `json:"Zone,omitnil,omitempty" name:"Zone"` // Target node count after configuration change in this region. The total number of nodes across all regions should be greater than or equal to 3 and less than or equal to 50. NodeNum *int64 `json:"NodeNum,omitnil,omitempty" name:"NodeNum"` // The unique random identifier with a time efficiency of 5 minutes, which needs to be specified by the caller to prevent the client from creating resources repeatedly. For example: a9a90aa6-****-****-****-fae360632808. ClientToken *string `json:"ClientToken,omitnil,omitempty" name:"ClientToken"` }
func NewModifySLInstanceRequest ¶
func NewModifySLInstanceRequest() (request *ModifySLInstanceRequest)
func (*ModifySLInstanceRequest) FromJsonString ¶
func (r *ModifySLInstanceRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifySLInstanceRequest) ToJsonString ¶
func (r *ModifySLInstanceRequest) ToJsonString() string
type ModifySLInstanceRequestParams ¶
type ModifySLInstanceRequestParams struct { // Instance unique identifier (string). InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Region name to be changed. Zone *string `json:"Zone,omitnil,omitempty" name:"Zone"` // Target node count after configuration change in this region. The total number of nodes across all regions should be greater than or equal to 3 and less than or equal to 50. NodeNum *int64 `json:"NodeNum,omitnil,omitempty" name:"NodeNum"` // The unique random identifier with a time efficiency of 5 minutes, which needs to be specified by the caller to prevent the client from creating resources repeatedly. For example: a9a90aa6-****-****-****-fae360632808. ClientToken *string `json:"ClientToken,omitnil,omitempty" name:"ClientToken"` }
Predefined struct for user
type ModifySLInstanceResponse ¶
type ModifySLInstanceResponse struct { *tchttp.BaseResponse Response *ModifySLInstanceResponseParams `json:"Response"` }
func NewModifySLInstanceResponse ¶
func NewModifySLInstanceResponse() (response *ModifySLInstanceResponse)
func (*ModifySLInstanceResponse) FromJsonString ¶
func (r *ModifySLInstanceResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifySLInstanceResponse) ToJsonString ¶
func (r *ModifySLInstanceResponse) ToJsonString() string
type ModifySLInstanceResponseParams ¶
type ModifySLInstanceResponseParams struct { // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyUserGroupRequest ¶
type ModifyUserGroupRequest struct { *tchttp.BaseRequest // User information list. Users []*string `json:"Users,omitnil,omitempty" name:"Users"` // User primary group. The CVM cluster is a required parameter, while the TKE cluster is optional. UserGroup *string `json:"UserGroup,omitnil,omitempty" name:"UserGroup"` // User subgroup. Groups []*string `json:"Groups,omitnil,omitempty" name:"Groups"` // Remarks. Remark *string `json:"Remark,omitnil,omitempty" name:"Remark"` }
func NewModifyUserGroupRequest ¶
func NewModifyUserGroupRequest() (request *ModifyUserGroupRequest)
func (*ModifyUserGroupRequest) FromJsonString ¶
func (r *ModifyUserGroupRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyUserGroupRequest) ToJsonString ¶
func (r *ModifyUserGroupRequest) ToJsonString() string
type ModifyUserGroupRequestParams ¶
type ModifyUserGroupRequestParams struct { // User information list. Users []*string `json:"Users,omitnil,omitempty" name:"Users"` // User primary group. The CVM cluster is a required parameter, while the TKE cluster is optional. UserGroup *string `json:"UserGroup,omitnil,omitempty" name:"UserGroup"` // User subgroup. Groups []*string `json:"Groups,omitnil,omitempty" name:"Groups"` // Remarks. Remark *string `json:"Remark,omitnil,omitempty" name:"Remark"` }
Predefined struct for user
type ModifyUserGroupResponse ¶
type ModifyUserGroupResponse struct { *tchttp.BaseResponse Response *ModifyUserGroupResponseParams `json:"Response"` }
func NewModifyUserGroupResponse ¶
func NewModifyUserGroupResponse() (response *ModifyUserGroupResponse)
func (*ModifyUserGroupResponse) FromJsonString ¶
func (r *ModifyUserGroupResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyUserGroupResponse) ToJsonString ¶
func (r *ModifyUserGroupResponse) ToJsonString() string
type ModifyUserGroupResponseParams ¶
type ModifyUserGroupResponseParams struct { // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyUserManagerPwdRequest ¶
type ModifyUserManagerPwdRequest struct { *tchttp.BaseRequest // Cluster instance ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Username UserName *string `json:"UserName,omitnil,omitempty" name:"UserName"` // Password PassWord *string `json:"PassWord,omitnil,omitempty" name:"PassWord"` }
func NewModifyUserManagerPwdRequest ¶
func NewModifyUserManagerPwdRequest() (request *ModifyUserManagerPwdRequest)
func (*ModifyUserManagerPwdRequest) FromJsonString ¶
func (r *ModifyUserManagerPwdRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyUserManagerPwdRequest) ToJsonString ¶
func (r *ModifyUserManagerPwdRequest) ToJsonString() string
type ModifyUserManagerPwdRequestParams ¶
type ModifyUserManagerPwdRequestParams struct { // Cluster instance ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Username UserName *string `json:"UserName,omitnil,omitempty" name:"UserName"` // Password PassWord *string `json:"PassWord,omitnil,omitempty" name:"PassWord"` }
Predefined struct for user
type ModifyUserManagerPwdResponse ¶
type ModifyUserManagerPwdResponse struct { *tchttp.BaseResponse Response *ModifyUserManagerPwdResponseParams `json:"Response"` }
func NewModifyUserManagerPwdResponse ¶
func NewModifyUserManagerPwdResponse() (response *ModifyUserManagerPwdResponse)
func (*ModifyUserManagerPwdResponse) FromJsonString ¶
func (r *ModifyUserManagerPwdResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyUserManagerPwdResponse) ToJsonString ¶
func (r *ModifyUserManagerPwdResponse) ToJsonString() string
type ModifyUserManagerPwdResponseParams ¶
type ModifyUserManagerPwdResponseParams struct { // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyUsersOfGroupSTDRequest ¶
type ModifyUsersOfGroupSTDRequest struct { *tchttp.BaseRequest // Cluster name. InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // User group name. Group *string `json:"Group,omitnil,omitempty" name:"Group"` // User list. Users []*string `json:"Users,omitnil,omitempty" name:"Users"` // User group description. Description *string `json:"Description,omitnil,omitempty" name:"Description"` // Enumeration class. Valid values: ADD, DELETE, SYNC. // // // Enumeration class description. // - ADD: Batched users to add. Adding the same user multiple times will not trigger an error. // - DELETE: Batched users to remove from the user group. Deleting non-existing users will not trigger an error. // - SYNC: Overwrites the entire user group. An empty list clears all existing members. // Defaults to SYNC. OperateAction *string `json:"OperateAction,omitnil,omitempty" name:"OperateAction"` }
func NewModifyUsersOfGroupSTDRequest ¶
func NewModifyUsersOfGroupSTDRequest() (request *ModifyUsersOfGroupSTDRequest)
func (*ModifyUsersOfGroupSTDRequest) FromJsonString ¶
func (r *ModifyUsersOfGroupSTDRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyUsersOfGroupSTDRequest) ToJsonString ¶
func (r *ModifyUsersOfGroupSTDRequest) ToJsonString() string
type ModifyUsersOfGroupSTDRequestParams ¶
type ModifyUsersOfGroupSTDRequestParams struct { // Cluster name. InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // User group name. Group *string `json:"Group,omitnil,omitempty" name:"Group"` // User list. Users []*string `json:"Users,omitnil,omitempty" name:"Users"` // User group description. Description *string `json:"Description,omitnil,omitempty" name:"Description"` // Enumeration class. Valid values: ADD, DELETE, SYNC. // // // Enumeration class description. // - ADD: Batched users to add. Adding the same user multiple times will not trigger an error. // - DELETE: Batched users to remove from the user group. Deleting non-existing users will not trigger an error. // - SYNC: Overwrites the entire user group. An empty list clears all existing members. // Defaults to SYNC. OperateAction *string `json:"OperateAction,omitnil,omitempty" name:"OperateAction"` }
Predefined struct for user
type ModifyUsersOfGroupSTDResponse ¶
type ModifyUsersOfGroupSTDResponse struct { *tchttp.BaseResponse Response *ModifyUsersOfGroupSTDResponseParams `json:"Response"` }
func NewModifyUsersOfGroupSTDResponse ¶
func NewModifyUsersOfGroupSTDResponse() (response *ModifyUsersOfGroupSTDResponse)
func (*ModifyUsersOfGroupSTDResponse) FromJsonString ¶
func (r *ModifyUsersOfGroupSTDResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyUsersOfGroupSTDResponse) ToJsonString ¶
func (r *ModifyUsersOfGroupSTDResponse) ToJsonString() string
type ModifyUsersOfGroupSTDResponseParams ¶
type ModifyUsersOfGroupSTDResponseParams struct { // Whether modification is successful. Data *bool `json:"Data,omitnil,omitempty" name:"Data"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyYarnDeployRequest ¶
type ModifyYarnDeployRequest struct { *tchttp.BaseRequest // Cluster ID. InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Scheduler after switching. The values are fair and capacity. NewScheduler *string `json:"NewScheduler,omitnil,omitempty" name:"NewScheduler"` // Currently used scheduler. The values are fair and capacity. OldScheduler *string `json:"OldScheduler,omitnil,omitempty" name:"OldScheduler"` }
func NewModifyYarnDeployRequest ¶
func NewModifyYarnDeployRequest() (request *ModifyYarnDeployRequest)
func (*ModifyYarnDeployRequest) FromJsonString ¶
func (r *ModifyYarnDeployRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyYarnDeployRequest) ToJsonString ¶
func (r *ModifyYarnDeployRequest) ToJsonString() string
type ModifyYarnDeployRequestParams ¶
type ModifyYarnDeployRequestParams struct { // Cluster ID. InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Scheduler after switching. The values are fair and capacity. NewScheduler *string `json:"NewScheduler,omitnil,omitempty" name:"NewScheduler"` // Currently used scheduler. The values are fair and capacity. OldScheduler *string `json:"OldScheduler,omitnil,omitempty" name:"OldScheduler"` }
Predefined struct for user
type ModifyYarnDeployResponse ¶
type ModifyYarnDeployResponse struct { *tchttp.BaseResponse Response *ModifyYarnDeployResponseParams `json:"Response"` }
func NewModifyYarnDeployResponse ¶
func NewModifyYarnDeployResponse() (response *ModifyYarnDeployResponse)
func (*ModifyYarnDeployResponse) FromJsonString ¶
func (r *ModifyYarnDeployResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyYarnDeployResponse) ToJsonString ¶
func (r *ModifyYarnDeployResponse) ToJsonString() string
type ModifyYarnDeployResponseParams ¶
type ModifyYarnDeployResponseParams struct { // When the value is "false", both the "Apply" and "Reset" buttons are grayed out. IsDraft *bool `json:"IsDraft,omitnil,omitempty" name:"IsDraft"` // Error information. This field is reserved. ErrorMsg *string `json:"ErrorMsg,omitnil,omitempty" name:"ErrorMsg"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyYarnQueueV2Request ¶
type ModifyYarnQueueV2Request struct { *tchttp.BaseRequest // Cluster ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Scheduler type. The values are as follows: // // 1. capacity // 2. fair Scheduler *string `json:"Scheduler,omitnil,omitempty" name:"Scheduler"` // Resource pool data ConfigModifyInfoList []*ConfigModifyInfoV2 `json:"ConfigModifyInfoList,omitnil,omitempty" name:"ConfigModifyInfoList"` }
func NewModifyYarnQueueV2Request ¶
func NewModifyYarnQueueV2Request() (request *ModifyYarnQueueV2Request)
func (*ModifyYarnQueueV2Request) FromJsonString ¶
func (r *ModifyYarnQueueV2Request) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyYarnQueueV2Request) ToJsonString ¶
func (r *ModifyYarnQueueV2Request) ToJsonString() string
type ModifyYarnQueueV2RequestParams ¶
type ModifyYarnQueueV2RequestParams struct { // Cluster ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Scheduler type. The values are as follows: // // 1. capacity // 2. fair Scheduler *string `json:"Scheduler,omitnil,omitempty" name:"Scheduler"` // Resource pool data ConfigModifyInfoList []*ConfigModifyInfoV2 `json:"ConfigModifyInfoList,omitnil,omitempty" name:"ConfigModifyInfoList"` }
Predefined struct for user
type ModifyYarnQueueV2Response ¶
type ModifyYarnQueueV2Response struct { *tchttp.BaseResponse Response *ModifyYarnQueueV2ResponseParams `json:"Response"` }
func NewModifyYarnQueueV2Response ¶
func NewModifyYarnQueueV2Response() (response *ModifyYarnQueueV2Response)
func (*ModifyYarnQueueV2Response) FromJsonString ¶
func (r *ModifyYarnQueueV2Response) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyYarnQueueV2Response) ToJsonString ¶
func (r *ModifyYarnQueueV2Response) ToJsonString() string
type ModifyYarnQueueV2ResponseParams ¶
type ModifyYarnQueueV2ResponseParams struct { // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type MonthRepeatStrategy ¶
type MonthRepeatStrategy struct { // Specific time for repetition task execution, such as 01:02:00. ExecuteAtTimeOfDay *string `json:"ExecuteAtTimeOfDay,omitnil,omitempty" name:"ExecuteAtTimeOfDay"` // Description of time period in days of the month. The length must be 2. For example, [2,10] indicates from the 2nd day to the 10th day every month. // // Note: This field may return null, indicating that no valid values can be obtained. DaysOfMonthRange []*uint64 `json:"DaysOfMonthRange,omitnil,omitempty" name:"DaysOfMonthRange"` }
type MultiDisk ¶
type MultiDisk struct { // Cloud disk type. // <li>CLOUD_SSD: Cloud SSD.</li> // <li>CLOUD_PREMIUM: Premium Cloud Disk.</li> // <li>CLOUD_HSSD: Enhanced SSD.</li> DiskType *string `json:"DiskType,omitnil,omitempty" name:"DiskType"` // Cloud disk size. Volume *int64 `json:"Volume,omitnil,omitempty" name:"Volume"` // Number of cloud disks of this type. Count *int64 `json:"Count,omitnil,omitempty" name:"Count"` }
type MultiDiskMC ¶
type MultiDiskMC struct { // Number of cloud disks of this type. Count *int64 `json:"Count,omitnil,omitempty" name:"Count"` // Disk type. // 1: Local Disk. // 2: Cloud Disk. // 3: Local SSD. // 4: Cloud SSD. // 5: Premium Cloud Disk. // 6: Enhanced SSD. // 11: Throughput HDD. // 12: Tremendous SSD. // 13: Balanced SSD. // 14: Big Data Cloud Disk. // 15: High IO Cloud Disk. // 16: Remote SSD. Type *int64 `json:"Type,omitnil,omitempty" name:"Type"` // Disk size. Size *string `json:"Size,omitnil,omitempty" name:"Size"` // Cloud disk size (bytes). Volume *int64 `json:"Volume,omitnil,omitempty" name:"Volume"` }
type MultiZoneSetting ¶
type MultiZoneSetting struct { // "master", "standby" or "third-party". ZoneTag *string `json:"ZoneTag,omitnil,omitempty" name:"ZoneTag"` // None VPCSettings *VPCSettings `json:"VPCSettings,omitnil,omitempty" name:"VPCSettings"` // None Placement *Placement `json:"Placement,omitnil,omitempty" name:"Placement"` // None ResourceSpec *NewResourceSpec `json:"ResourceSpec,omitnil,omitempty" name:"ResourceSpec"` }
type NewResourceSpec ¶
type NewResourceSpec struct { // Describes master node resource MasterResourceSpec *Resource `json:"MasterResourceSpec,omitnil,omitempty" name:"MasterResourceSpec"` // Describes core node resource CoreResourceSpec *Resource `json:"CoreResourceSpec,omitnil,omitempty" name:"CoreResourceSpec"` // Describes task node resource TaskResourceSpec *Resource `json:"TaskResourceSpec,omitnil,omitempty" name:"TaskResourceSpec"` // Number of master nodes MasterCount *int64 `json:"MasterCount,omitnil,omitempty" name:"MasterCount"` // Number of core nodes CoreCount *int64 `json:"CoreCount,omitnil,omitempty" name:"CoreCount"` // Number of task nodes TaskCount *int64 `json:"TaskCount,omitnil,omitempty" name:"TaskCount"` // Describes common node resource CommonResourceSpec *Resource `json:"CommonResourceSpec,omitnil,omitempty" name:"CommonResourceSpec"` // Number of common nodes CommonCount *int64 `json:"CommonCount,omitnil,omitempty" name:"CommonCount"` }
type NodeDetailPriceResult ¶
type NodeDetailPriceResult struct { // Node type: Master, Core, Task, Common, Router, and MySQL. NodeType *string `json:"NodeType,omitnil,omitempty" name:"NodeType"` // Price details by node part PartDetailPrice []*PartDetailPriceItem `json:"PartDetailPrice,omitnil,omitempty" name:"PartDetailPrice"` }
type NodeHardwareInfo ¶
type NodeHardwareInfo struct { // User AppID. AppId *int64 `json:"AppId,omitnil,omitempty" name:"AppId"` // Serial number. SerialNo *string `json:"SerialNo,omitnil,omitempty" name:"SerialNo"` // Machine instance ID. OrderNo *string `json:"OrderNo,omitnil,omitempty" name:"OrderNo"` // Public network IP address bound for the Master node. WanIp *string `json:"WanIp,omitnil,omitempty" name:"WanIp"` // Node type. 0: Common node; 1: Master node. // 2: Core node; 3: Task node. Flag *int64 `json:"Flag,omitnil,omitempty" name:"Flag"` // Node specifications. Spec *string `json:"Spec,omitnil,omitempty" name:"Spec"` // Number of node cores. CpuNum *int64 `json:"CpuNum,omitnil,omitempty" name:"CpuNum"` // Node memory (bytes). MemSize *int64 `json:"MemSize,omitnil,omitempty" name:"MemSize"` // Node memory (GB). MemDesc *string `json:"MemDesc,omitnil,omitempty" name:"MemDesc"` // The region where the node is located. RegionId *int64 `json:"RegionId,omitnil,omitempty" name:"RegionId"` // The zone where the node is located. ZoneId *int64 `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // Application time. ApplyTime *string `json:"ApplyTime,omitnil,omitempty" name:"ApplyTime"` // Release time. FreeTime *string `json:"FreeTime,omitnil,omitempty" name:"FreeTime"` // Hard disk size. DiskSize *string `json:"DiskSize,omitnil,omitempty" name:"DiskSize"` // Node description. NameTag *string `json:"NameTag,omitnil,omitempty" name:"NameTag"` // Node deployment service. Services *string `json:"Services,omitnil,omitempty" name:"Services"` // Disk type. Valid values: 1 (Local Disk), 2 (Cloud Disk), 3 (Local SSD), 4 (Cloud SSD), 5 (Premium Cloud Disk), 6 (Enhanced SSD), 11 (Throughput SSD), 12 (Tremendous SSD), 13 (Balanced SSD), 14 (Big Data Cloud Disk), 15 (High IO Cloud Disk), and 16 (Remote SSD). StorageType *int64 `json:"StorageType,omitnil,omitempty" name:"StorageType"` // System disk size (GB). RootSize *int64 `json:"RootSize,omitnil,omitempty" name:"RootSize"` // Payment type. Valid values: 0 (pay-as-you-go); 1 (yearly/monthly subscription). ChargeType *int64 `json:"ChargeType,omitnil,omitempty" name:"ChargeType"` // Database IP address. CdbIp *string `json:"CdbIp,omitnil,omitempty" name:"CdbIp"` // Database port. CdbPort *int64 `json:"CdbPort,omitnil,omitempty" name:"CdbPort"` // Hard disk capacity (bytes). HwDiskSize *int64 `json:"HwDiskSize,omitnil,omitempty" name:"HwDiskSize"` // Hard disk capacity description. HwDiskSizeDesc *string `json:"HwDiskSizeDesc,omitnil,omitempty" name:"HwDiskSizeDesc"` // Memory capacity (bytes). HwMemSize *int64 `json:"HwMemSize,omitnil,omitempty" name:"HwMemSize"` // Memory capacity description. HwMemSizeDesc *string `json:"HwMemSizeDesc,omitnil,omitempty" name:"HwMemSizeDesc"` // Expiration time. ExpireTime *string `json:"ExpireTime,omitnil,omitempty" name:"ExpireTime"` // Node resource ID. EmrResourceId *string `json:"EmrResourceId,omitnil,omitempty" name:"EmrResourceId"` // Renewal flag. IsAutoRenew *int64 `json:"IsAutoRenew,omitnil,omitempty" name:"IsAutoRenew"` // Device identification. DeviceClass *string `json:"DeviceClass,omitnil,omitempty" name:"DeviceClass"` // Supporting resizing. Mutable *int64 `json:"Mutable,omitnil,omitempty" name:"Mutable"` // Multi-cloud disk // Note: this field may return null, indicating that no valid values can be obtained. MCMultiDisk []*MultiDiskMC `json:"MCMultiDisk,omitnil,omitempty" name:"MCMultiDisk"` // Database information // Note: this field may return null, indicating that no valid values can be obtained. CdbNodeInfo *CdbInfo `json:"CdbNodeInfo,omitnil,omitempty" name:"CdbNodeInfo"` // Private network IP address. Ip *string `json:"Ip,omitnil,omitempty" name:"Ip"` // Whether this node can be terminated. 1: Yes, 0: No. Destroyable *int64 `json:"Destroyable,omitnil,omitempty" name:"Destroyable"` // Tags bound to node // Note: this field may return null, indicating that no valid values can be obtained. Tags []*Tag `json:"Tags,omitnil,omitempty" name:"Tags"` // Whether it is an automatic scaling node. 0: common node, 1: automatic scaling node. AutoFlag *int64 `json:"AutoFlag,omitnil,omitempty" name:"AutoFlag"` // Resource type, with the valid values of "host" and "pod". HardwareResourceType *string `json:"HardwareResourceType,omitnil,omitempty" name:"HardwareResourceType"` // Whether it is a floating specification. 1: Yes, 0: No. IsDynamicSpec *int64 `json:"IsDynamicSpec,omitnil,omitempty" name:"IsDynamicSpec"` // Floating specification value in the JSON string format. DynamicPodSpec *string `json:"DynamicPodSpec,omitnil,omitempty" name:"DynamicPodSpec"` // Whether the billing type can be changed. 1: Yes, 0: No. SupportModifyPayMode *int64 `json:"SupportModifyPayMode,omitnil,omitempty" name:"SupportModifyPayMode"` // System disk type. Valid values: 1 (Local Disk), 2 (Cloud Disk), 3 (Local SSD), 4 (Cloud SSD), 5 (Premium Cloud Disk), 6 (Enhanced SSD), 11 (Throughput HDD), 12 (Tremendous SSD), 13 (Balanced SSD), 14 (Big Data Cloud Disk), 15 (High IO Cloud Disk), and 16 (Remote SSD). RootStorageType *int64 `json:"RootStorageType,omitnil,omitempty" name:"RootStorageType"` // Availability information. Zone *string `json:"Zone,omitnil,omitempty" name:"Zone"` // Subnet // Note: This field may return `null`, indicating that no valid value can be obtained. SubnetInfo *SubnetInfo `json:"SubnetInfo,omitnil,omitempty" name:"SubnetInfo"` // Client. Clients *string `json:"Clients,omitnil,omitempty" name:"Clients"` // Current system time. CurrentTime *string `json:"CurrentTime,omitnil,omitempty" name:"CurrentTime"` // Indicates whether it is for federation. 1: Yes, 0: No. IsFederation *int64 `json:"IsFederation,omitnil,omitempty" name:"IsFederation"` // Device name. DeviceName *string `json:"DeviceName,omitnil,omitempty" name:"DeviceName"` // Service. ServiceClient *string `json:"ServiceClient,omitnil,omitempty" name:"ServiceClient"` // Whether instance protection is enabled. True: enabled, false: disabled. DisableApiTermination *bool `json:"DisableApiTermination,omitnil,omitempty" name:"DisableApiTermination"` // 0: old billing, 1: new billing. TradeVersion *int64 `json:"TradeVersion,omitnil,omitempty" name:"TradeVersion"` // Component status. ZooKeeper: STARTED, ResourceManager: STARTED, STARTED: Component is running, STOPPED: Component is halted. ServicesStatus *string `json:"ServicesStatus,omitnil,omitempty" name:"ServicesStatus"` // Remarks. Remark *string `json:"Remark,omitnil,omitempty" name:"Remark"` SharedClusterId *string `json:"SharedClusterId,omitnil,omitempty" name:"SharedClusterId"` SharedClusterIdDesc *string `json:"SharedClusterIdDesc,omitnil,omitempty" name:"SharedClusterIdDesc"` // Whether the resource is set for scheduled termination. TimingResource *bool `json:"TimingResource,omitnil,omitempty" name:"TimingResource"` // Corresponding TKE cluster ID in the case that the resource type (HardwareResourceType) is pod. TkeClusterId *string `json:"TkeClusterId,omitnil,omitempty" name:"TkeClusterId"` // Name list of services that can be configured when a new disk is mounted. ConfigurableServices []*string `json:"ConfigurableServices,omitnil,omitempty" name:"ConfigurableServices"` // Node labeling information: currently used only in the Terraform. NodeMark *string `json:"NodeMark,omitnil,omitempty" name:"NodeMark"` // Whether auto-renewal is available for committed use resources. UnderwriteSetAutoRenew *bool `json:"UnderwriteSetAutoRenew,omitnil,omitempty" name:"UnderwriteSetAutoRenew"` // GPU information. GpuDesc *string `json:"GpuDesc,omitnil,omitempty" name:"GpuDesc"` }
type NodeMark ¶
type NodeMark struct { // Node type: master, core, task, router. NodeType *string `json:"NodeType,omitnil,omitempty" name:"NodeType"` // Node tag information: currently used only in the Terraform. It serves as an input parameter to differentiate information of nodes with the same type. NodeNames []*string `json:"NodeNames,omitnil,omitempty" name:"NodeNames"` // Availability zone name. Zone *string `json:"Zone,omitnil,omitempty" name:"Zone"` }
type NodeRenewPriceDetail ¶
type NodeRenewPriceDetail struct { // Billing type (1: monthly subscription, 3: committed use). ChargeType *int64 `json:"ChargeType,omitnil,omitempty" name:"ChargeType"` // EMR resource ID. EmrResourceId *string `json:"EmrResourceId,omitnil,omitempty" name:"EmrResourceId"` // Node type. NodeType *string `json:"NodeType,omitnil,omitempty" name:"NodeType"` // Node private network IP. Ip *string `json:"Ip,omitnil,omitempty" name:"Ip"` // Current expiration time. ExpireTime *string `json:"ExpireTime,omitnil,omitempty" name:"ExpireTime"` // Original price. OriginalCost *float64 `json:"OriginalCost,omitnil,omitempty" name:"OriginalCost"` // Discount price. DiscountCost *float64 `json:"DiscountCost,omitnil,omitempty" name:"DiscountCost"` // Node component renewal pricing list. RenewPriceDetails []*RenewPriceDetail `json:"RenewPriceDetails,omitnil,omitempty" name:"RenewPriceDetails"` }
type NodeResource ¶
type NodeResource struct { // Configuration ID. ResourceConfigId *uint64 `json:"ResourceConfigId,omitnil,omitempty" name:"ResourceConfigId"` // Resource // Note: This field may return null, indicating that no valid values can be obtained. Resource *Resource `json:"Resource,omitnil,omitempty" name:"Resource"` // Creation time. CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"` // Update time. UpdateTime *string `json:"UpdateTime,omitnil,omitempty" name:"UpdateTime"` // Whether default configuration applies, DEFAULT or BACKUP. IsDefault *string `json:"IsDefault,omitnil,omitempty" name:"IsDefault"` // Remaining of this type. MaxResourceNum *uint64 `json:"MaxResourceNum,omitnil,omitempty" name:"MaxResourceNum"` // Supported committed use duration. // Note: This field may return null, indicating that no valid values can be obtained. PrepaidUnderwritePeriods []*int64 `json:"PrepaidUnderwritePeriods,omitnil,omitempty" name:"PrepaidUnderwritePeriods"` }
type NodeResourceSpec ¶
type NodeResourceSpec struct { // specifications type, such as S2.MEDIUM8. InstanceType *string `json:"InstanceType,omitnil,omitempty" name:"InstanceType"` // The system disk, which can be up to 1 PCS. // Note: This field may return null, indicating that no valid values can be obtained. SystemDisk []*DiskSpecInfo `json:"SystemDisk,omitnil,omitempty" name:"SystemDisk"` // The list of tags to be bound. // Note: This field may return null, indicating that no valid values can be obtained. Tags []*Tag `json:"Tags,omitnil,omitempty" name:"Tags"` // The cloud data disk, which can be up to 15 PCS. // Note: This field may return null, indicating that no valid values can be obtained. DataDisk []*DiskSpecInfo `json:"DataDisk,omitnil,omitempty" name:"DataDisk"` // The local data disk. // Note: This field may return null, indicating that no valid values can be obtained. LocalDataDisk []*DiskSpecInfo `json:"LocalDataDisk,omitnil,omitempty" name:"LocalDataDisk"` }
type NodeSpecDisk ¶
type NodeSpecDisk struct { // Quantity. Count *int64 `json:"Count,omitnil,omitempty" name:"Count"` // Name. Name *string `json:"Name,omitnil,omitempty" name:"Name"` // Disk type. DiskType *string `json:"DiskType,omitnil,omitempty" name:"DiskType"` // Specified disk size. DefaultDiskSize *int64 `json:"DefaultDiskSize,omitnil,omitempty" name:"DefaultDiskSize"` }
type NodeSpecDiskV2 ¶
type NodeSpecDiskV2 struct { // Quantity. Count *int64 `json:"Count,omitnil,omitempty" name:"Count"` // Name. Name *string `json:"Name,omitnil,omitempty" name:"Name"` // Disk type. DiskType *string `json:"DiskType,omitnil,omitempty" name:"DiskType"` // Specified disk size. DefaultDiskSize *int64 `json:"DefaultDiskSize,omitnil,omitempty" name:"DefaultDiskSize"` }
type NodeSpecFamily ¶
type NodeSpecFamily struct { // Model. InstanceFamily *string `json:"InstanceFamily,omitnil,omitempty" name:"InstanceFamily"` // Model name. FamilyName *string `json:"FamilyName,omitnil,omitempty" name:"FamilyName"` // Order. Order *int64 `json:"Order,omitnil,omitempty" name:"Order"` // InstanceType List. // Note: This field may return null, indicating that no valid values can be obtained. InstanceTypes []*NodeSpecInstanceType `json:"InstanceTypes,omitnil,omitempty" name:"InstanceTypes"` }
type NodeSpecInstanceType ¶
type NodeSpecInstanceType struct { // Specifications. InstanceType *string `json:"InstanceType,omitnil,omitempty" name:"InstanceType"` // 4 Cpu *int64 `json:"Cpu,omitnil,omitempty" name:"Cpu"` // 8, in GB. Memory *int64 `json:"Memory,omitnil,omitempty" name:"Memory"` // Order, with the smaller coming first. Order *int64 `json:"Order,omitnil,omitempty" name:"Order"` // Quantity. Num *int64 `json:"Num,omitnil,omitempty" name:"Num"` // Reasons for running out of stock. SellOutReason *string `json:"SellOutReason,omitnil,omitempty" name:"SellOutReason"` // System disk. // Note: This field may return null, indicating that no valid values can be obtained. SystemDisk []*NodeSpecDisk `json:"SystemDisk,omitnil,omitempty" name:"SystemDisk"` // Data disk. // Note: This field may return null, indicating that no valid values can be obtained. DataDisk []*NodeSpecDisk `json:"DataDisk,omitnil,omitempty" name:"DataDisk"` // Local data disk. // Note: This field may return null, indicating that no valid values can be obtained. LocalDataDisk []*NodeSpecDisk `json:"LocalDataDisk,omitnil,omitempty" name:"LocalDataDisk"` // Reasons for running out of stock. SoldOutReason *string `json:"SoldOutReason,omitnil,omitempty" name:"SoldOutReason"` // Model category. InstanceFamily *string `json:"InstanceFamily,omitnil,omitempty" name:"InstanceFamily"` // Node name. NodeName *string `json:"NodeName,omitnil,omitempty" name:"NodeName"` // Node type. NodeType *string `json:"NodeType,omitnil,omitempty" name:"NodeType"` // Category. Type *string `json:"Type,omitnil,omitempty" name:"Type"` // Category name. TypeName *string `json:"TypeName,omitnil,omitempty" name:"TypeName"` // Category classification. FamilyName *string `json:"FamilyName,omitnil,omitempty" name:"FamilyName"` // CPU type. CpuType *string `json:"CpuType,omitnil,omitempty" name:"CpuType"` // RunOut (denoting running out of stock), Less (denoting low inventory), and Enough (denoting sufficient). Remark *string `json:"Remark,omitnil,omitempty" name:"Remark"` // Original price. OriginPrice *float64 `json:"OriginPrice,omitnil,omitempty" name:"OriginPrice"` // Supported purchase terms for committed use billing models. // Note: This field may return null, indicating that no valid values can be obtained. PrepaidUnderwritePeriods []*int64 `json:"PrepaidUnderwritePeriods,omitnil,omitempty" name:"PrepaidUnderwritePeriods"` // GPU information. GpuDesc *string `json:"GpuDesc,omitnil,omitempty" name:"GpuDesc"` }
type NodeSpecType ¶
type NodeSpecType struct { // Model series. Type *string `json:"Type,omitnil,omitempty" name:"Type"` // Model series name. TypeName *string `json:"TypeName,omitnil,omitempty" name:"TypeName"` // Order. Order *int64 `json:"Order,omitnil,omitempty" name:"Order"` // InstanceFamily array. // Note: This field may return null, indicating that no valid values can be obtained. InstanceFamilies []*NodeSpecFamily `json:"InstanceFamilies,omitnil,omitempty" name:"InstanceFamilies"` }
type NotRepeatStrategy ¶
type NotRepeatStrategy struct { // The specific complete time when the task was executed, in the format of "2020-07-13 00:00:00". ExecuteAt *string `json:"ExecuteAt,omitnil,omitempty" name:"ExecuteAt"` }
type OpScope ¶
type OpScope struct { // The information of the services to operate on. // Note: This field may return null, indicating that no valid values can be obtained. ServiceInfoList []*ServiceBasicRestartInfo `json:"ServiceInfoList,omitnil,omitempty" name:"ServiceInfoList"` }
type OutterResource ¶
type OutterResource struct { // Specification // Note: this field may return null, indicating that no valid values can be obtained. Spec *string `json:"Spec,omitnil,omitempty" name:"Spec"` // Specification name // Note: this field may return null, indicating that no valid values can be obtained. SpecName *string `json:"SpecName,omitnil,omitempty" name:"SpecName"` // Disk type // Note: this field may return null, indicating that no valid values can be obtained. StorageType *int64 `json:"StorageType,omitnil,omitempty" name:"StorageType"` // Disk type // Note: this field may return null, indicating that no valid values can be obtained. DiskType *string `json:"DiskType,omitnil,omitempty" name:"DiskType"` // System disk size // Note: this field may return null, indicating that no valid values can be obtained. RootSize *int64 `json:"RootSize,omitnil,omitempty" name:"RootSize"` // Memory size // Note: this field may return null, indicating that no valid values can be obtained. MemSize *int64 `json:"MemSize,omitnil,omitempty" name:"MemSize"` // Number of CPUs // Note: this field may return null, indicating that no valid values can be obtained. Cpu *int64 `json:"Cpu,omitnil,omitempty" name:"Cpu"` // Disk size // Note: this field may return null, indicating that no valid values can be obtained. DiskSize *int64 `json:"DiskSize,omitnil,omitempty" name:"DiskSize"` // Specification // Note: this field may return null, indicating that no valid values can be obtained. InstanceType *string `json:"InstanceType,omitnil,omitempty" name:"InstanceType"` }
type OverviewMetricData ¶
type OverviewMetricData struct { // Metric name. Metric *string `json:"Metric,omitnil,omitempty" name:"Metric"` // First data timestamp. First *int64 `json:"First,omitnil,omitempty" name:"First"` // Last data timestamp. Last *int64 `json:"Last,omitnil,omitempty" name:"Last"` // Sampling point time interval. Interval *int64 `json:"Interval,omitnil,omitempty" name:"Interval"` // Sampling point data. // Note: This field may return null, indicating that no valid values can be obtained. DataPoints []*string `json:"DataPoints,omitnil,omitempty" name:"DataPoints"` // Metric tags. // Note: This field may return null, indicating that no valid values can be obtained. Tags *MetricTags `json:"Tags,omitnil,omitempty" name:"Tags"` }
type OverviewRow ¶
type OverviewRow struct { // Table name Table *string `json:"Table,omitnil,omitempty" name:"Table"` // Number of read requests ReadRequestCount *float64 `json:"ReadRequestCount,omitnil,omitempty" name:"ReadRequestCount"` // Number of write requests WriteRequestCount *float64 `json:"WriteRequestCount,omitnil,omitempty" name:"WriteRequestCount"` // Current memstore size MemstoreSize *float64 `json:"MemstoreSize,omitnil,omitempty" name:"MemstoreSize"` // Size of StoreFile in the current region StoreFileSize *float64 `json:"StoreFileSize,omitnil,omitempty" name:"StoreFileSize"` // Regions. Click to jump. Operation *string `json:"Operation,omitnil,omitempty" name:"Operation"` // StoreFile quantity. StoreFileNum *float64 `json:"StoreFileNum,omitnil,omitempty" name:"StoreFileNum"` }
type PartDetailPriceItem ¶
type PartDetailPriceItem struct { // Types, including node: node (denoting node), rootDisk (denoting system disk), dataDisk (denoting cloud data disk), and metaDB. InstanceType *string `json:"InstanceType,omitnil,omitempty" name:"InstanceType"` // Unit price (original price). Price *float64 `json:"Price,omitnil,omitempty" name:"Price"` // Unit price (discounted price). RealCost *float64 `json:"RealCost,omitnil,omitempty" name:"RealCost"` // Total price (discounted price). RealTotalCost *float64 `json:"RealTotalCost,omitnil,omitempty" name:"RealTotalCost"` // Discount. Policy *float64 `json:"Policy,omitnil,omitempty" name:"Policy"` // Quantity. GoodsNum *int64 `json:"GoodsNum,omitnil,omitempty" name:"GoodsNum"` }
type PersistentVolumeContext ¶
type PersistentVolumeContext struct { // Disk size in GB. DiskSize *uint64 `json:"DiskSize,omitnil,omitempty" name:"DiskSize"` // Disk type, CLOUD_PREMIUM or CLOUD_SSD. DiskType *string `json:"DiskType,omitnil,omitempty" name:"DiskType"` // Number of disks. DiskNum *int64 `json:"DiskNum,omitnil,omitempty" name:"DiskNum"` // Additional performance of cloud disks. ExtraPerformance *int64 `json:"ExtraPerformance,omitnil,omitempty" name:"ExtraPerformance"` }
type Placement ¶
type Placement struct { // The ID of the availability zone where the instance resides, such as `ap-guangzhou-1`. You can call the [DescribeZones](https://intl.cloud.tencent.com/document/product/213/15707?from_cn_redirect=1) API and obtain this ID from the `Zone` field in the response. Zone *string `json:"Zone,omitnil,omitempty" name:"Zone"` // Project ID of the instance. If no ID is passed in, the default project ID is used. ProjectId *int64 `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` }
type PodNewParameter ¶
type PodNewParameter struct { // The TKE or EKS cluster ID. InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Custom permissions // Examples: // { // "apiVersion": "v1", // "clusters": [ // { // "cluster": { // "certificate-authority-data": "xxxxxx==", // "server": "https://xxxxx.com" // }, // "name": "cls-xxxxx" // } // ], // "contexts": [ // { // "context": { // "cluster": "cls-xxxxx", // "user": "100014xxxxx" // }, // "name": "cls-a44yhcxxxxxxxxxx" // } // ], // "current-context": "cls-a4xxxx-context-default", // "kind": "Config", // "preferences": {}, // "users": [ // { // "name": "100014xxxxx", // "user": { // "client-certificate-data": "xxxxxx", // "client-key-data": "xxxxxx" // } // } // ] // } Config *string `json:"Config,omitnil,omitempty" name:"Config"` // Custom parameters // Examples: // { // "apiVersion": "apps/v1", // "kind": "Deployment", // "metadata": { // "name": "test-deployment", // "labels": { // "app": "test" // } // }, // "spec": { // "replicas": 3, // "selector": { // "matchLabels": { // "app": "test-app" // } // }, // "template": { // "metadata": { // "annotations": { // "your-organization.com/department-v1": "test-example-v1", // "your-organization.com/department-v2": "test-example-v2" // }, // "labels": { // "app": "test-app", // "environment": "production" // } // }, // "spec": { // "nodeSelector": { // "your-organization/node-test": "test-node" // }, // "containers": [ // { // "name": "nginx", // "image": "nginx:1.14.2", // "ports": [ // { // "containerPort": 80 // } // ] // } // ], // "affinity": { // "nodeAffinity": { // "requiredDuringSchedulingIgnoredDuringExecution": { // "nodeSelectorTerms": [ // { // "matchExpressions": [ // { // "key": "disk-type", // "operator": "In", // "values": [ // "ssd", // "sas" // ] // }, // { // "key": "cpu-num", // "operator": "Gt", // "values": [ // "6" // ] // } // ] // } // ] // } // } // } // } // } // } // } Parameter *string `json:"Parameter,omitnil,omitempty" name:"Parameter"` }
type PodNewSpec ¶
type PodNewSpec struct { // The identifier of an external resource provider, such as "cls-a1cd23fa". ResourceProviderIdentifier *string `json:"ResourceProviderIdentifier,omitnil,omitempty" name:"ResourceProviderIdentifier"` // The type of the external resource provider, such as "tke". Currently, only "tke" is supported. ResourceProviderType *string `json:"ResourceProviderType,omitnil,omitempty" name:"ResourceProviderType"` // The purpose of the resource, which means the node type and can only be "TASK". NodeFlag *string `json:"NodeFlag,omitnil,omitempty" name:"NodeFlag"` // The number of CPUs. Cpu *uint64 `json:"Cpu,omitnil,omitempty" name:"Cpu"` // The memory size in GB. Memory *uint64 `json:"Memory,omitnil,omitempty" name:"Memory"` // The EKS cluster - CPU type. Valid values: `intel` and `amd`. CpuType *string `json:"CpuType,omitnil,omitempty" name:"CpuType"` // The data directory mounting information of the pod node. PodVolumes []*PodVolume `json:"PodVolumes,omitnil,omitempty" name:"PodVolumes"` // Whether the dynamic spec is used. Valid values: // <li>`true`: Yes</li> // <li>`false` (default): No</li> EnableDynamicSpecFlag *bool `json:"EnableDynamicSpecFlag,omitnil,omitempty" name:"EnableDynamicSpecFlag"` // The dynamic spec. // Note: This field may return null, indicating that no valid values can be obtained. DynamicPodSpec *DynamicPodSpec `json:"DynamicPodSpec,omitnil,omitempty" name:"DynamicPodSpec"` // Unique ID of VPC network. VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"` // Unique ID of a VPC subnet. SubnetId *string `json:"SubnetId,omitnil,omitempty" name:"SubnetId"` // pod name PodName *string `json:"PodName,omitnil,omitempty" name:"PodName"` }
type PodParameter ¶
type PodParameter struct { // ID of TKE or EKS cluster ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // Custom permissions // Example: // { // "apiVersion": "v1", // "Clusters": [ // { // "cluster": { // "certificate-authority-data": "xxxxxx==", // "server": "https://xxxxx.com" // }, // "name": "cls-xxxxx" // } // ], // "contexts": [ // { // "context": { // "cluster": "cls-xxxxx", // "user": "100014xxxxx" // }, // "name": "cls-a44yhcxxxxxxxxxx" // } // ], // "current-context": "cls-a4xxxx-context-default", // "kind": "Config", // "preferences": {}, // "users": [ // { // "name": "100014xxxxx", // "user": { // "client-certificate-data": "xxxxxx", // "client-key-data": "xxxxxx" // } // } // ] // } Config *string `json:"Config,omitnil,omitempty" name:"Config"` // Custom parameters // Example: // { // "apiVersion": "apps/v1", // "kind": "Deployment", // "metadata": { // "name": "test-deployment", // "labels": { // "app": "test" // } // }, // "spec": { // "replicas": 3, // "selector": { // "matchLabels": { // "app": "test-app" // } // }, // "template": { // "metadata": { // "annotations": { // "your-organization.com/department-v1": "test-example-v1", // "your-organization.com/department-v2": "test-example-v2" // }, // "labels": { // "app": "test-app", // "environment": "production" // } // }, // "spec": { // "nodeSelector": { // "your-organization/node-test": "test-node" // }, // "containers": [ // { // "name": "nginx", // "image": "nginx:1.14.2", // "ports": [ // { // "containerPort": 80 // } // ] // } // ], // "affinity": { // "nodeAffinity": { // "requiredDuringSchedulingIgnoredDuringExecution": { // "nodeSelectorTerms": [ // { // "matchExpressions": [ // { // "key": "disk-type", // "operator": "In", // "values": [ // "ssd", // "sas" // ] // }, // { // "key": "cpu-num", // "operator": "Gt", // "values": [ // "6" // ] // } // ] // } // ] // } // } // } // } // } // } // } Parameter *string `json:"Parameter,omitnil,omitempty" name:"Parameter"` }
type PodSpec ¶
type PodSpec struct { // Identifier of external resource provider, such as "cls-a1cd23fa". ResourceProviderIdentifier *string `json:"ResourceProviderIdentifier,omitnil,omitempty" name:"ResourceProviderIdentifier"` // Type of external resource provider, such as "tke". Currently, only "tke" is supported. ResourceProviderType *string `json:"ResourceProviderType,omitnil,omitempty" name:"ResourceProviderType"` // Purpose of the resource, which means the node type and can only be "TASK". NodeType *string `json:"NodeType,omitnil,omitempty" name:"NodeType"` // Number of CPUs Cpu *uint64 `json:"Cpu,omitnil,omitempty" name:"Cpu"` // Memory size in GB. Memory *uint64 `json:"Memory,omitnil,omitempty" name:"Memory"` // Mount point of resources for the host. A specified mount point corresponds to the host path and is used as the data storage directory in the pod. (This parameter has been disused) DataVolumes []*string `json:"DataVolumes,omitnil,omitempty" name:"DataVolumes"` // EKS cluster - CPU type. Valid values: `intel` and `amd`. CpuType *string `json:"CpuType,omitnil,omitempty" name:"CpuType"` // Data directory mounting information of the pod node. PodVolumes []*PodVolume `json:"PodVolumes,omitnil,omitempty" name:"PodVolumes"` // Whether floating specification is used. `1`: Yes; `0`: No. IsDynamicSpec *uint64 `json:"IsDynamicSpec,omitnil,omitempty" name:"IsDynamicSpec"` // Floating specification // Note: This field may return null, indicating that no valid values can be obtained. DynamicPodSpec *DynamicPodSpec `json:"DynamicPodSpec,omitnil,omitempty" name:"DynamicPodSpec"` // Unique ID of VPC network. VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"` // Unique ID of a VPC subnet. SubnetId *string `json:"SubnetId,omitnil,omitempty" name:"SubnetId"` // pod name PodName *string `json:"PodName,omitnil,omitempty" name:"PodName"` }
type PodSpecInfo ¶
type PodSpecInfo struct { // The specified information such as pod spec and source for scale-out with pod resources. PodSpec *PodNewSpec `json:"PodSpec,omitnil,omitempty" name:"PodSpec"` // The custom pod permission and parameter. PodParameter *PodNewParameter `json:"PodParameter,omitnil,omitempty" name:"PodParameter"` }
type PodVolume ¶
type PodVolume struct { // Storage type, which can be "pvc" or "hostpath". VolumeType *string `json:"VolumeType,omitnil,omitempty" name:"VolumeType"` // This field will take effect if `VolumeType` is `pvc`. // Note: This field may return null, indicating that no valid values can be obtained. PVCVolume *PersistentVolumeContext `json:"PVCVolume,omitnil,omitempty" name:"PVCVolume"` // This field will take effect if `VolumeType` is `hostpath`. // Note: This field may return null, indicating that no valid values can be obtained. HostVolume *HostVolumeContext `json:"HostVolume,omitnil,omitempty" name:"HostVolume"` }
type PreExecuteFileSettings ¶
type PreExecuteFileSettings struct { // COS path to script, which has been disused Path *string `json:"Path,omitnil,omitempty" name:"Path"` // Execution script parameter Args []*string `json:"Args,omitnil,omitempty" name:"Args"` // COS bucket name, which has been disused Bucket *string `json:"Bucket,omitnil,omitempty" name:"Bucket"` // COS region name, which has been disused Region *string `json:"Region,omitnil,omitempty" name:"Region"` // COS domain data, which has been disused Domain *string `json:"Domain,omitnil,omitempty" name:"Domain"` // Execution sequence RunOrder *int64 `json:"RunOrder,omitnil,omitempty" name:"RunOrder"` // `resourceAfter` or `clusterAfter` WhenRun *string `json:"WhenRun,omitnil,omitempty" name:"WhenRun"` // Script name, which has been disused CosFileName *string `json:"CosFileName,omitnil,omitempty" name:"CosFileName"` // COS address of script CosFileURI *string `json:"CosFileURI,omitnil,omitempty" name:"CosFileURI"` // COS `SecretId` CosSecretId *string `json:"CosSecretId,omitnil,omitempty" name:"CosSecretId"` // COS `SecretKey` CosSecretKey *string `json:"CosSecretKey,omitnil,omitempty" name:"CosSecretKey"` // COS `appid`, which has been disused AppId *string `json:"AppId,omitnil,omitempty" name:"AppId"` // Remarks Remark *string `json:"Remark,omitnil,omitempty" name:"Remark"` }
type PrePaySetting ¶
type PrePaySetting struct { // Time. // Note: This field may return null, indicating that no valid values can be obtained. Period *Period `json:"Period,omitnil,omitempty" name:"Period"` // Auto-renewal flag. 0: notify before expiration but do not auto-renew; 1: notify before expiration and auto-renew; and 2: do not notify before expiration and do not auto-renew. AutoRenewFlag *int64 `json:"AutoRenewFlag,omitnil,omitempty" name:"AutoRenewFlag"` }
type PriceDetail ¶
type PriceDetail struct { // The node ID ResourceId *string `json:"ResourceId,omitnil,omitempty" name:"ResourceId"` // The price formula Formula *string `json:"Formula,omitnil,omitempty" name:"Formula"` // The original price OriginalCost *float64 `json:"OriginalCost,omitnil,omitempty" name:"OriginalCost"` // The discount price DiscountCost *float64 `json:"DiscountCost,omitnil,omitempty" name:"DiscountCost"` }
type PriceResource ¶
type PriceResource struct { // Required specifications. Spec *string `json:"Spec,omitnil,omitempty" name:"Spec"` // Hard disk type. StorageType *uint64 `json:"StorageType,omitnil,omitempty" name:"StorageType"` // Hard disk type. DiskType *string `json:"DiskType,omitnil,omitempty" name:"DiskType"` // System disk size. RootSize *int64 `json:"RootSize,omitnil,omitempty" name:"RootSize"` // Memory size. MemSize *int64 `json:"MemSize,omitnil,omitempty" name:"MemSize"` // Number of cores. Cpu *int64 `json:"Cpu,omitnil,omitempty" name:"Cpu"` // Hard disk size. DiskSize *int64 `json:"DiskSize,omitnil,omitempty" name:"DiskSize"` // List of cloud disks. // Note: This field may return null, indicating that no valid values can be obtained. MultiDisks []*MultiDisk `json:"MultiDisks,omitnil,omitempty" name:"MultiDisks"` // Number of disks. DiskCnt *int64 `json:"DiskCnt,omitnil,omitempty" name:"DiskCnt"` // Specifications. InstanceType *string `json:"InstanceType,omitnil,omitempty" name:"InstanceType"` // Tag // Note: This field may return null, indicating that no valid values can be obtained. Tags []*Tag `json:"Tags,omitnil,omitempty" name:"Tags"` // Number of disks. DiskNum *int64 `json:"DiskNum,omitnil,omitempty" name:"DiskNum"` // Number of local disks. LocalDiskNum *int64 `json:"LocalDiskNum,omitnil,omitempty" name:"LocalDiskNum"` // GPU information. GpuDesc *string `json:"GpuDesc,omitnil,omitempty" name:"GpuDesc"` }
type PriceResult ¶
type RenewPriceDetail ¶
type RenewPriceDetail struct { // Billing item name. BillingName *string `json:"BillingName,omitnil,omitempty" name:"BillingName"` // Discount. Policy *float64 `json:"Policy,omitnil,omitempty" name:"Policy"` // Quantity. Quantity *int64 `json:"Quantity,omitnil,omitempty" name:"Quantity"` // Original price. OriginalCost *float64 `json:"OriginalCost,omitnil,omitempty" name:"OriginalCost"` // Discount price. DiscountCost *float64 `json:"DiscountCost,omitnil,omitempty" name:"DiscountCost"` }
type RepeatStrategy ¶
type RepeatStrategy struct { // The valid values DAY, DOW, DOM, and NONE respectively indicate repetition by day, repetition by week, repetition by month, and one-time execution. This parameter is required. RepeatType *string `json:"RepeatType,omitnil,omitempty" name:"RepeatType"` // Daily repetition rule, which is effective when RepeatType is set to DAY // // Note: This field may return null, indicating that no valid values can be obtained. DayRepeat *DayRepeatStrategy `json:"DayRepeat,omitnil,omitempty" name:"DayRepeat"` // Weekly repetition rule, effective when RepeatType is DOW // // Note: This field may return null, indicating that no valid values can be obtained. WeekRepeat *WeekRepeatStrategy `json:"WeekRepeat,omitnil,omitempty" name:"WeekRepeat"` // Monthly repetition rule, valid when RepeatType is DOM // // Note: This field may return null, indicating that no valid values can be obtained. MonthRepeat *MonthRepeatStrategy `json:"MonthRepeat,omitnil,omitempty" name:"MonthRepeat"` // One-time execution rule, valid when RepeatType is NONE // // Note: This field may return null, indicating that no valid values can be obtained. NotRepeat *NotRepeatStrategy `json:"NotRepeat,omitnil,omitempty" name:"NotRepeat"` // Rule expiration time. After this time is due, the rule will be automatically set to the status "suspended". The format is "2020-07-23 00:00:00". It is required. Expire *string `json:"Expire,omitnil,omitempty" name:"Expire"` // Periodic rule start time. StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"` }
type ResetYarnConfigRequest ¶
type ResetYarnConfigRequest struct { *tchttp.BaseRequest // English ID of the EMR cluster. InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Alias of the configuration to be reset. The options are as follows: // // - capacityLabel: Reset the tag management configuration. // - fair: Reset the fair scheduling configuration. // - capacity: Reset the capacity scheduling configuration. Key *string `json:"Key,omitnil,omitempty" name:"Key"` }
func NewResetYarnConfigRequest ¶
func NewResetYarnConfigRequest() (request *ResetYarnConfigRequest)
func (*ResetYarnConfigRequest) FromJsonString ¶
func (r *ResetYarnConfigRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ResetYarnConfigRequest) ToJsonString ¶
func (r *ResetYarnConfigRequest) ToJsonString() string
type ResetYarnConfigRequestParams ¶
type ResetYarnConfigRequestParams struct { // English ID of the EMR cluster. InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Alias of the configuration to be reset. The options are as follows: // // - capacityLabel: Reset the tag management configuration. // - fair: Reset the fair scheduling configuration. // - capacity: Reset the capacity scheduling configuration. Key *string `json:"Key,omitnil,omitempty" name:"Key"` }
Predefined struct for user
type ResetYarnConfigResponse ¶
type ResetYarnConfigResponse struct { *tchttp.BaseResponse Response *ResetYarnConfigResponseParams `json:"Response"` }
func NewResetYarnConfigResponse ¶
func NewResetYarnConfigResponse() (response *ResetYarnConfigResponse)
func (*ResetYarnConfigResponse) FromJsonString ¶
func (r *ResetYarnConfigResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ResetYarnConfigResponse) ToJsonString ¶
func (r *ResetYarnConfigResponse) ToJsonString() string
type ResetYarnConfigResponseParams ¶
type ResetYarnConfigResponseParams struct { // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ResizeDataDisksRequest ¶
type ResizeDataDisksRequest struct { *tchttp.BaseRequest // ID of the EMR cluster instance. InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Scale-out value, which should be greater than the original capacity and a multiple of 10. DiskSize *int64 `json:"DiskSize,omitnil,omitempty" name:"DiskSize"` // ID list of nodes to be scaled out. CvmInstanceIds []*string `json:"CvmInstanceIds,omitnil,omitempty" name:"CvmInstanceIds"` // ID of the cloud disk to be scaled out. DiskIds []*string `json:"DiskIds,omitnil,omitempty" name:"DiskIds"` // Whether to scale out all cloud disks. ResizeAll *bool `json:"ResizeAll,omitnil,omitempty" name:"ResizeAll"` }
func NewResizeDataDisksRequest ¶
func NewResizeDataDisksRequest() (request *ResizeDataDisksRequest)
func (*ResizeDataDisksRequest) FromJsonString ¶
func (r *ResizeDataDisksRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ResizeDataDisksRequest) ToJsonString ¶
func (r *ResizeDataDisksRequest) ToJsonString() string
type ResizeDataDisksRequestParams ¶
type ResizeDataDisksRequestParams struct { // ID of the EMR cluster instance. InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Scale-out value, which should be greater than the original capacity and a multiple of 10. DiskSize *int64 `json:"DiskSize,omitnil,omitempty" name:"DiskSize"` // ID list of nodes to be scaled out. CvmInstanceIds []*string `json:"CvmInstanceIds,omitnil,omitempty" name:"CvmInstanceIds"` // ID of the cloud disk to be scaled out. DiskIds []*string `json:"DiskIds,omitnil,omitempty" name:"DiskIds"` // Whether to scale out all cloud disks. ResizeAll *bool `json:"ResizeAll,omitnil,omitempty" name:"ResizeAll"` }
Predefined struct for user
type ResizeDataDisksResponse ¶
type ResizeDataDisksResponse struct { *tchttp.BaseResponse Response *ResizeDataDisksResponseParams `json:"Response"` }
func NewResizeDataDisksResponse ¶
func NewResizeDataDisksResponse() (response *ResizeDataDisksResponse)
func (*ResizeDataDisksResponse) FromJsonString ¶
func (r *ResizeDataDisksResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ResizeDataDisksResponse) ToJsonString ¶
func (r *ResizeDataDisksResponse) ToJsonString() string
type ResizeDataDisksResponseParams ¶
type ResizeDataDisksResponseParams struct { // Flow ID. FlowId *int64 `json:"FlowId,omitnil,omitempty" name:"FlowId"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type Resource ¶
type Resource struct { // Node specifications description, such as CVM.SA2. Spec *string `json:"Spec,omitnil,omitempty" name:"Spec"` // Storage type. // Valid values: // <li>4: Cloud SSD.</li> // <li>5: Premium Cloud Disk.</li> // <li>6: Enhanced SSD.</li> // <li>11: Throughput HDD.</li> // <li>12: Tremendous SSD.</li>: this type is invalid upon creation, and automatic judgment will be conducted based on data disk type and node type. StorageType *int64 `json:"StorageType,omitnil,omitempty" name:"StorageType"` // Disk type. // Valid values. // <li>CLOUD_SSD: Cloud SSD.</li> // <li>CLOUD_PREMIUM: Premium Cloud Disk.</li> // <li>CLOUD_BASIC: Cloud Disk.</li> DiskType *string `json:"DiskType,omitnil,omitempty" name:"DiskType"` // Memory capacity, in MB. MemSize *int64 `json:"MemSize,omitnil,omitempty" name:"MemSize"` // Number of CPU cores. Cpu *int64 `json:"Cpu,omitnil,omitempty" name:"Cpu"` // Data disk capacity. DiskSize *int64 `json:"DiskSize,omitnil,omitempty" name:"DiskSize"` // System disk capacity. RootSize *int64 `json:"RootSize,omitnil,omitempty" name:"RootSize"` // List of cloud disks. When the data disk is a cloud disk, `DiskType` and `DiskSize` are used directly; `MultiDisks` will be used for the excessive part // Note: this field may return null, indicating that no valid values can be obtained. MultiDisks []*MultiDisk `json:"MultiDisks,omitnil,omitempty" name:"MultiDisks"` // List of tags to be bound // Note: this field may return null, indicating that no valid values can be obtained. Tags []*Tag `json:"Tags,omitnil,omitempty" name:"Tags"` // Specifications type, such as S2.MEDIUM8. InstanceType *string `json:"InstanceType,omitnil,omitempty" name:"InstanceType"` // Number of local disks. This field is deprecated. LocalDiskNum *uint64 `json:"LocalDiskNum,omitnil,omitempty" name:"LocalDiskNum"` // Number of local disks, such as 2. DiskNum *uint64 `json:"DiskNum,omitnil,omitempty" name:"DiskNum"` // GPU information. GpuDesc *string `json:"GpuDesc,omitnil,omitempty" name:"GpuDesc"` }
type ResourceDetail ¶
type ResourceDetail struct { // Specifications. Spec *string `json:"Spec,omitnil,omitempty" name:"Spec"` // Specifications name. SpecName *string `json:"SpecName,omitnil,omitempty" name:"SpecName"` // Hard disk type. StorageType *int64 `json:"StorageType,omitnil,omitempty" name:"StorageType"` // Hard disk type. DiskType *string `json:"DiskType,omitnil,omitempty" name:"DiskType"` // System disk size. RootSize *int64 `json:"RootSize,omitnil,omitempty" name:"RootSize"` // Memory size. MemSize *int64 `json:"MemSize,omitnil,omitempty" name:"MemSize"` // Number of CPUs. Cpu *int64 `json:"Cpu,omitnil,omitempty" name:"Cpu"` // Hard disk size. DiskSize *int64 `json:"DiskSize,omitnil,omitempty" name:"DiskSize"` // Specifications. InstanceType *string `json:"InstanceType,omitnil,omitempty" name:"InstanceType"` }
type RestartPolicy ¶
type RestartPolicy struct { // Restart policy name Name *string `json:"Name,omitnil,omitempty" name:"Name"` // Policy display name DisplayName *string `json:"DisplayName,omitnil,omitempty" name:"DisplayName"` // Policy description Describe *string `json:"Describe,omitnil,omitempty" name:"Describe"` // Optional range for the number of batch restarted nodes BatchSizeRange []*int64 `json:"BatchSizeRange,omitnil,omitempty" name:"BatchSizeRange"` // Whether it is the default policy IsDefault *string `json:"IsDefault,omitnil,omitempty" name:"IsDefault"` }
type ResultItem ¶
type ResultItem struct { // User group name. Item *string `json:"Item,omitnil,omitempty" name:"Item"` // Whether the user group is created successfully. Result *bool `json:"Result,omitnil,omitempty" name:"Result"` // Specify the reason for the failure in the case of creation failure. Reason *string `json:"Reason,omitnil,omitempty" name:"Reason"` }
type SLInstance ¶
type SLInstance struct { // EMR Instance Id InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // EMR Numeric Instance Id ClusterId *int64 `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // Instance Name InstanceName *string `json:"InstanceName,omitnil,omitempty" name:"InstanceName"` // Region id RegionId *int64 `json:"RegionId,omitnil,omitempty" name:"RegionId"` // Zone Name Zone *string `json:"Zone,omitnil,omitempty" name:"Zone"` // Pay Mode PayMode *int64 `json:"PayMode,omitnil,omitempty" name:"PayMode"` // Disk Type DiskType *string `json:"DiskType,omitnil,omitempty" name:"DiskType"` // Disk Size DiskSize *int64 `json:"DiskSize,omitnil,omitempty" name:"DiskSize"` // Node Type NodeType *string `json:"NodeType,omitnil,omitempty" name:"NodeType"` // Node Number NodeNum *int64 `json:"NodeNum,omitnil,omitempty" name:"NodeNum"` // Expire Time ExpireTime *string `json:"ExpireTime,omitnil,omitempty" name:"ExpireTime"` // Isolate Time IsolateTime *string `json:"IsolateTime,omitnil,omitempty" name:"IsolateTime"` // Create Time CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"` // Auto Renew Flag AutoRenewFlag *int64 `json:"AutoRenewFlag,omitnil,omitempty" name:"AutoRenewFlag"` // EMR Numeric Instance Status Status *int64 `json:"Status,omitnil,omitempty" name:"Status"` // Zone Setting ZoneSettings []*ZoneSetting `json:"ZoneSettings,omitnil,omitempty" name:"ZoneSettings"` // Bound Tags Tags []*Tag `json:"Tags,omitnil,omitempty" name:"Tags"` // Deploy Role DeployRole *string `json:"DeployRole,omitnil,omitempty" name:"DeployRole"` }
type SLInstanceInfo ¶
type SLInstanceInfo struct { // Instance string ID. ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // Instance numeric ID Id *uint64 `json:"Id,omitnil,omitempty" name:"Id"` // Status description. StatusDesc *string `json:"StatusDesc,omitnil,omitempty" name:"StatusDesc"` // Health status. HealthStatus *string `json:"HealthStatus,omitnil,omitempty" name:"HealthStatus"` // Instance name ClusterName *string `json:"ClusterName,omitnil,omitempty" name:"ClusterName"` // Region ID RegionId *uint64 `json:"RegionId,omitnil,omitempty" name:"RegionId"` // Primary AZ ID. ZoneId *int64 `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // Primary AZ. Zone *string `json:"Zone,omitnil,omitempty" name:"Zone"` // User APP ID. AppId *uint64 `json:"AppId,omitnil,omitempty" name:"AppId"` // Primary AZ VPC ID. VpcId *uint64 `json:"VpcId,omitnil,omitempty" name:"VpcId"` // Primary AZ subnet ID. SubnetId *uint64 `json:"SubnetId,omitnil,omitempty" name:"SubnetId"` // Status code Status *uint64 `json:"Status,omitnil,omitempty" name:"Status"` // Creation time. AddTime *string `json:"AddTime,omitnil,omitempty" name:"AddTime"` // Cluster billing type. 0 indicates pay-as-you-go. 1 indicates monthly subscription. PayMode *int64 `json:"PayMode,omitnil,omitempty" name:"PayMode"` // Multi-AZ information. // Note: This field may return null, indicating that no valid values can be obtained. ZoneSettings []*ZoneSetting `json:"ZoneSettings,omitnil,omitempty" name:"ZoneSettings"` // Instance tag. // Note: This field may return null, indicating that no valid values can be obtained. Tags []*Tag `json:"Tags,omitnil,omitempty" name:"Tags"` // Auto-renewal flag. 0: notify before expiration but do not auto-renew; 1: notify before expiration and auto-renew; and 2: do not notify before expiration and do not auto-renew. If the business does not support renewal, the value is set to 0. AutoRenewFlag *uint64 `json:"AutoRenewFlag,omitnil,omitempty" name:"AutoRenewFlag"` // Isolation time. For instances that are not isolated, the API returns 0000-00-00 00:00:00. IsolateTime *string `json:"IsolateTime,omitnil,omitempty" name:"IsolateTime"` // Expiration time. For post-paid instances, the API returns 0000-00-00 00:00:00. ExpireTime *string `json:"ExpireTime,omitnil,omitempty" name:"ExpireTime"` }
type ScaleOutClusterRequest ¶
type ScaleOutClusterRequest struct { *tchttp.BaseRequest // The node billing mode. Valid values: // <li>`POSTPAID_BY_HOUR`: The postpaid mode by hour.</li> // <li>`SPOTPAID`: The spot instance mode (for task nodes only).</li> InstanceChargeType *string `json:"InstanceChargeType,omitnil,omitempty" name:"InstanceChargeType"` // Cluster instance ID. InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Scale-up node type and quantity. ScaleOutNodeConfig *ScaleOutNodeConfig `json:"ScaleOutNodeConfig,omitnil,omitempty" name:"ScaleOutNodeConfig"` // Unique random identifier with the time efficiency of 5 minutes, which needs to be specified by the caller to prevent the client from creating resources again, for example, a9a90aa6-****-****-****-fae36063280. ClientToken *string `json:"ClientToken,omitnil,omitempty" name:"ClientToken"` // Setting of parameters related to monthly subscription. Through this parameter, you can specify the duration of purchase for monthly subscription instances, whether to set auto-renewal, and other attributes. This parameter is required when the specified instance is subject to the payment mode of prepaid. InstanceChargePrepaid *InstanceChargePrepaid `json:"InstanceChargePrepaid,omitnil,omitempty" name:"InstanceChargePrepaid"` // [Bootstrap Actions](https://www.tencentcloud.comom/document/product/589/35656?from_cn_redirect=1) script settings. ScriptBootstrapActionConfig []*ScriptBootstrapActionConfig `json:"ScriptBootstrapActionConfig,omitnil,omitempty" name:"ScriptBootstrapActionConfig"` // Scale-out deployment service. New nodes inherit services deployed in the current node type by default, including default optional services. This parameter only supports optional service filling, for example: HDFS, YARN, and Impala have been deployed to existing task nodes. When API is used to scale out the task nodes without deploying Impala, only HDFS and YARN are filled for deployment services. For more details, see [Mapping Table of Component Names](https://www.tencentcloud.comom/document/product/589/98760?from_cn_redirect=1). SoftDeployInfo []*int64 `json:"SoftDeployInfo,omitnil,omitempty" name:"SoftDeployInfo"` // Deployment process. By default, all scale-out service processes are deployed. Deployment processes can be modified. For example, HDFS, YARN, or Impala has been deployed for the current Task node. The default deployment services include DataNode,NodeManager,ImpalaServer. If users need to modify deployment process information, the deployment process can be DataNode, NodeManager, ImpalaServerCoordinator or DataNode, NodeManager, ImpalaServerExecutor. For more details, see [Mapping Table of Process Names](https://www.tencentcloud.comom/document/product/589/98760?from_cn_redirect=1). ServiceNodeInfo []*int64 `json:"ServiceNodeInfo,omitnil,omitempty" name:"ServiceNodeInfo"` // Spread placement group ID list. Only one can be specified currently. // This parameter can be obtained by calling the DisasterRecoverGroupId field in the return value of the [DescribeDisasterRecoverGroups](https://www.tencentcloud.comom/document/product/213/17810?from_cn_redirect=1) API. DisasterRecoverGroupIds []*string `json:"DisasterRecoverGroupIds,omitnil,omitempty" name:"DisasterRecoverGroupIds"` // List of tags bound to scale-out nodes. Tags []*Tag `json:"Tags,omitnil,omitempty" name:"Tags"` // Resource type selected for scale-out with valid values "HOST","POD","MNode", where HOST indicates an ordinary CVM resource, POD indicates a resource provided by the TKE cluster or EKS cluster, and MNode indicates a fully managed resource type. HardwareSourceType *string `json:"HardwareSourceType,omitnil,omitempty" name:"HardwareSourceType"` // Pod-related resource information. PodSpecInfo *PodSpecInfo `json:"PodSpecInfo,omitnil,omitempty" name:"PodSpecInfo"` // Machine group name selected for ClickHouse cluster scale-out. ClickHouseClusterName *string `json:"ClickHouseClusterName,omitnil,omitempty" name:"ClickHouseClusterName"` // Machine group type selected for ClickHouse cluster scale-out. "New" indicates creating a group type, and "old" indicates using an existing group type. ClickHouseClusterType *string `json:"ClickHouseClusterType,omitnil,omitempty" name:"ClickHouseClusterType"` // Specified Yarn Node Label for scale-out. YarnNodeLabel *string `json:"YarnNodeLabel,omitnil,omitempty" name:"YarnNodeLabel"` // Whether to start a service after scale-out (default: false). // <li>true: yes</li>. // <li>false: no</li>. EnableStartServiceFlag *bool `json:"EnableStartServiceFlag,omitnil,omitempty" name:"EnableStartServiceFlag"` // Specifications settings. ResourceSpec *NodeResourceSpec `json:"ResourceSpec,omitnil,omitempty" name:"ResourceSpec"` // Availability zone of the instance, such as ap-guangzhou-1. This parameter can also be obtained from the Zone field in the return value of [DescribeZones](https://www.tencentcloud.comom/document/product/213/15707?from_cn_redirect=1). Zone *string `json:"Zone,omitnil,omitempty" name:"Zone"` // Subnet, which is the subnet at the time of cluster creation by default. SubnetId *string `json:"SubnetId,omitnil,omitempty" name:"SubnetId"` // Configuration group specified for scale-out. ScaleOutServiceConfGroupsInfo []*ScaleOutServiceConfGroupsInfo `json:"ScaleOutServiceConfGroupsInfo,omitnil,omitempty" name:"ScaleOutServiceConfGroupsInfo"` // Node tag information: currently used only in Terraform. NodeMarks *NodeMark `json:"NodeMarks,omitnil,omitempty" name:"NodeMarks"` }
func NewScaleOutClusterRequest ¶
func NewScaleOutClusterRequest() (request *ScaleOutClusterRequest)
func (*ScaleOutClusterRequest) FromJsonString ¶
func (r *ScaleOutClusterRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ScaleOutClusterRequest) ToJsonString ¶
func (r *ScaleOutClusterRequest) ToJsonString() string
type ScaleOutClusterRequestParams ¶
type ScaleOutClusterRequestParams struct { // The node billing mode. Valid values: // <li>`POSTPAID_BY_HOUR`: The postpaid mode by hour.</li> // <li>`SPOTPAID`: The spot instance mode (for task nodes only).</li> InstanceChargeType *string `json:"InstanceChargeType,omitnil,omitempty" name:"InstanceChargeType"` // Cluster instance ID. InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Scale-up node type and quantity. ScaleOutNodeConfig *ScaleOutNodeConfig `json:"ScaleOutNodeConfig,omitnil,omitempty" name:"ScaleOutNodeConfig"` // Unique random identifier with the time efficiency of 5 minutes, which needs to be specified by the caller to prevent the client from creating resources again, for example, a9a90aa6-****-****-****-fae36063280. ClientToken *string `json:"ClientToken,omitnil,omitempty" name:"ClientToken"` // Setting of parameters related to monthly subscription. Through this parameter, you can specify the duration of purchase for monthly subscription instances, whether to set auto-renewal, and other attributes. This parameter is required when the specified instance is subject to the payment mode of prepaid. InstanceChargePrepaid *InstanceChargePrepaid `json:"InstanceChargePrepaid,omitnil,omitempty" name:"InstanceChargePrepaid"` // [Bootstrap Actions](https://www.tencentcloud.comom/document/product/589/35656?from_cn_redirect=1) script settings. ScriptBootstrapActionConfig []*ScriptBootstrapActionConfig `json:"ScriptBootstrapActionConfig,omitnil,omitempty" name:"ScriptBootstrapActionConfig"` // Scale-out deployment service. New nodes inherit services deployed in the current node type by default, including default optional services. This parameter only supports optional service filling, for example: HDFS, YARN, and Impala have been deployed to existing task nodes. When API is used to scale out the task nodes without deploying Impala, only HDFS and YARN are filled for deployment services. For more details, see [Mapping Table of Component Names](https://www.tencentcloud.comom/document/product/589/98760?from_cn_redirect=1). SoftDeployInfo []*int64 `json:"SoftDeployInfo,omitnil,omitempty" name:"SoftDeployInfo"` // Deployment process. By default, all scale-out service processes are deployed. Deployment processes can be modified. For example, HDFS, YARN, or Impala has been deployed for the current Task node. The default deployment services include DataNode,NodeManager,ImpalaServer. If users need to modify deployment process information, the deployment process can be DataNode, NodeManager, ImpalaServerCoordinator or DataNode, NodeManager, ImpalaServerExecutor. For more details, see [Mapping Table of Process Names](https://www.tencentcloud.comom/document/product/589/98760?from_cn_redirect=1). ServiceNodeInfo []*int64 `json:"ServiceNodeInfo,omitnil,omitempty" name:"ServiceNodeInfo"` // Spread placement group ID list. Only one can be specified currently. // This parameter can be obtained by calling the DisasterRecoverGroupId field in the return value of the [DescribeDisasterRecoverGroups](https://www.tencentcloud.comom/document/product/213/17810?from_cn_redirect=1) API. DisasterRecoverGroupIds []*string `json:"DisasterRecoverGroupIds,omitnil,omitempty" name:"DisasterRecoverGroupIds"` // List of tags bound to scale-out nodes. Tags []*Tag `json:"Tags,omitnil,omitempty" name:"Tags"` // Resource type selected for scale-out with valid values "HOST","POD","MNode", where HOST indicates an ordinary CVM resource, POD indicates a resource provided by the TKE cluster or EKS cluster, and MNode indicates a fully managed resource type. HardwareSourceType *string `json:"HardwareSourceType,omitnil,omitempty" name:"HardwareSourceType"` // Pod-related resource information. PodSpecInfo *PodSpecInfo `json:"PodSpecInfo,omitnil,omitempty" name:"PodSpecInfo"` // Machine group name selected for ClickHouse cluster scale-out. ClickHouseClusterName *string `json:"ClickHouseClusterName,omitnil,omitempty" name:"ClickHouseClusterName"` // Machine group type selected for ClickHouse cluster scale-out. "New" indicates creating a group type, and "old" indicates using an existing group type. ClickHouseClusterType *string `json:"ClickHouseClusterType,omitnil,omitempty" name:"ClickHouseClusterType"` // Specified Yarn Node Label for scale-out. YarnNodeLabel *string `json:"YarnNodeLabel,omitnil,omitempty" name:"YarnNodeLabel"` // Whether to start a service after scale-out (default: false). // <li>true: yes</li>. // <li>false: no</li>. EnableStartServiceFlag *bool `json:"EnableStartServiceFlag,omitnil,omitempty" name:"EnableStartServiceFlag"` // Specifications settings. ResourceSpec *NodeResourceSpec `json:"ResourceSpec,omitnil,omitempty" name:"ResourceSpec"` // Availability zone of the instance, such as ap-guangzhou-1. This parameter can also be obtained from the Zone field in the return value of [DescribeZones](https://www.tencentcloud.comom/document/product/213/15707?from_cn_redirect=1). Zone *string `json:"Zone,omitnil,omitempty" name:"Zone"` // Subnet, which is the subnet at the time of cluster creation by default. SubnetId *string `json:"SubnetId,omitnil,omitempty" name:"SubnetId"` // Configuration group specified for scale-out. ScaleOutServiceConfGroupsInfo []*ScaleOutServiceConfGroupsInfo `json:"ScaleOutServiceConfGroupsInfo,omitnil,omitempty" name:"ScaleOutServiceConfGroupsInfo"` // Node tag information: currently used only in Terraform. NodeMarks *NodeMark `json:"NodeMarks,omitnil,omitempty" name:"NodeMarks"` }
Predefined struct for user
type ScaleOutClusterResponse ¶
type ScaleOutClusterResponse struct { *tchttp.BaseResponse Response *ScaleOutClusterResponseParams `json:"Response"` }
func NewScaleOutClusterResponse ¶
func NewScaleOutClusterResponse() (response *ScaleOutClusterResponse)
func (*ScaleOutClusterResponse) FromJsonString ¶
func (r *ScaleOutClusterResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ScaleOutClusterResponse) ToJsonString ¶
func (r *ScaleOutClusterResponse) ToJsonString() string
type ScaleOutClusterResponseParams ¶
type ScaleOutClusterResponseParams struct { // Instance ID. InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Client token. ClientToken *string `json:"ClientToken,omitnil,omitempty" name:"ClientToken"` // Scale-out process ID. FlowId *int64 `json:"FlowId,omitnil,omitempty" name:"FlowId"` // Query process status and additional flow formation. TraceId *string `json:"TraceId,omitnil,omitempty" name:"TraceId"` // Order number. // Note: This field may return null, indicating that no valid values can be obtained. DealNames []*string `json:"DealNames,omitnil,omitempty" name:"DealNames"` // Large order number. BillId *string `json:"BillId,omitnil,omitempty" name:"BillId"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ScaleOutInstanceRequest ¶
type ScaleOutInstanceRequest struct { *tchttp.BaseRequest // Time unit of scale-out. Valid values: // <li>s: Second. When `PayMode` is 0, `TimeUnit` can only be `s`.</li> // <li>m: Month. When `PayMode` is 1, `TimeUnit` can only be `m`.</li> TimeUnit *string `json:"TimeUnit,omitnil,omitempty" name:"TimeUnit"` // Time span of scale-out, which needs to be used together with `TimeUnit`. TimeSpan *uint64 `json:"TimeSpan,omitnil,omitempty" name:"TimeSpan"` // Instance ID. InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Instance billing mode. Valid value: // <li>0: Pay-as-you-go.</li> PayMode *uint64 `json:"PayMode,omitnil,omitempty" name:"PayMode"` // Client token. ClientToken *string `json:"ClientToken,omitnil,omitempty" name:"ClientToken"` // Bootstrap script settings. PreExecutedFileSettings []*PreExecuteFileSettings `json:"PreExecutedFileSettings,omitnil,omitempty" name:"PreExecutedFileSettings"` // Number of task nodes to be added. TaskCount *uint64 `json:"TaskCount,omitnil,omitempty" name:"TaskCount"` // Number of core nodes to be added. CoreCount *uint64 `json:"CoreCount,omitnil,omitempty" name:"CoreCount"` // Processes unnecessary for scale-out. UnNecessaryNodeList []*uint64 `json:"UnNecessaryNodeList,omitnil,omitempty" name:"UnNecessaryNodeList"` // Number of router nodes to be added. RouterCount *uint64 `json:"RouterCount,omitnil,omitempty" name:"RouterCount"` // Deployed service. // <li>`SoftDeployInfo` and `ServiceNodeInfo` are in the same group and mutually exclusive with `UnNecessaryNodeList`.</li> // <li>The combination of `SoftDeployInfo` and `ServiceNodeInfo` is recommended.</li> SoftDeployInfo []*uint64 `json:"SoftDeployInfo,omitnil,omitempty" name:"SoftDeployInfo"` // Started process. ServiceNodeInfo []*uint64 `json:"ServiceNodeInfo,omitnil,omitempty" name:"ServiceNodeInfo"` // List of spread placement group IDs. Only one can be specified currently. DisasterRecoverGroupIds []*string `json:"DisasterRecoverGroupIds,omitnil,omitempty" name:"DisasterRecoverGroupIds"` // List of tags bound to added nodes. Tags []*Tag `json:"Tags,omitnil,omitempty" name:"Tags"` // Resource type selected for scale-out. Valid values: "HOST","POD","MNode", where HOST indicates an ordinary CVM resource, POD indicates a resource provided by the TKE cluster or EKS cluster, and MNode indicates a fully managed resource type. HardwareResourceType *string `json:"HardwareResourceType,omitnil,omitempty" name:"HardwareResourceType"` // Specified information such as pod specification and source for scale-out with pod resources. PodSpec *PodSpec `json:"PodSpec,omitnil,omitempty" name:"PodSpec"` // Server group name selected for ClickHouse cluster scale-out. ClickHouseClusterName *string `json:"ClickHouseClusterName,omitnil,omitempty" name:"ClickHouseClusterName"` // Server group type selected for ClickHouse cluster scale-out. Valid values: `new` (create a group) and `old` (select an existing group). ClickHouseClusterType *string `json:"ClickHouseClusterType,omitnil,omitempty" name:"ClickHouseClusterType"` // Yarn node label specified for rule-based scale-out. YarnNodeLabel *string `json:"YarnNodeLabel,omitnil,omitempty" name:"YarnNodeLabel"` // Custom pod permission and parameter PodParameter *PodParameter `json:"PodParameter,omitnil,omitempty" name:"PodParameter"` // Number of master nodes to be added. // When a ClickHouse cluster is scaled, this parameter does not take effect. // When a Kafka cluster is scaled, this parameter does not take effect. // When `HardwareResourceType` is `pod`, this parameter does not take effect. MasterCount *uint64 `json:"MasterCount,omitnil,omitempty" name:"MasterCount"` // Whether to start the service after scale-out. `true`: Yes; `false`: No. StartServiceAfterScaleOut *string `json:"StartServiceAfterScaleOut,omitnil,omitempty" name:"StartServiceAfterScaleOut"` // AZ, which defaults to the primary AZ of the cluster. ZoneId *int64 `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // Subnet, which defaults to the subnet used when the cluster is created. SubnetId *string `json:"SubnetId,omitnil,omitempty" name:"SubnetId"` // Pre-defined configuration set ScaleOutServiceConfAssign *string `json:"ScaleOutServiceConfAssign,omitnil,omitempty" name:"ScaleOutServiceConfAssign"` // Whether to enable auto-renewal. Valid values: `0` (no), `1` (yes). AutoRenew *int64 `json:"AutoRenew,omitnil,omitempty" name:"AutoRenew"` // The type can be ComputeResource, EMR, or a default value. The default value is EMR. When the type is EMR, InstanceId is effective. When the type is ComputeResource, ComputeResourceId is used. ResourceBaseType *string `json:"ResourceBaseType,omitnil,omitempty" name:"ResourceBaseType"` // Computing resource ID. ComputeResourceId *string `json:"ComputeResourceId,omitnil,omitempty" name:"ComputeResourceId"` // Advanced settings of computing resources. ComputeResourceAdvanceParams *ComputeResourceAdvanceParams `json:"ComputeResourceAdvanceParams,omitnil,omitempty" name:"ComputeResourceAdvanceParams"` // Node tag information: currently used only in Terraform. NodeMarks *NodeMark `json:"NodeMarks,omitnil,omitempty" name:"NodeMarks"` }
func NewScaleOutInstanceRequest ¶
func NewScaleOutInstanceRequest() (request *ScaleOutInstanceRequest)
func (*ScaleOutInstanceRequest) FromJsonString ¶
func (r *ScaleOutInstanceRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ScaleOutInstanceRequest) ToJsonString ¶
func (r *ScaleOutInstanceRequest) ToJsonString() string
type ScaleOutInstanceRequestParams ¶
type ScaleOutInstanceRequestParams struct { // Time unit of scale-out. Valid values: // <li>s: Second. When `PayMode` is 0, `TimeUnit` can only be `s`.</li> // <li>m: Month. When `PayMode` is 1, `TimeUnit` can only be `m`.</li> TimeUnit *string `json:"TimeUnit,omitnil,omitempty" name:"TimeUnit"` // Time span of scale-out, which needs to be used together with `TimeUnit`. TimeSpan *uint64 `json:"TimeSpan,omitnil,omitempty" name:"TimeSpan"` // Instance ID. InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Instance billing mode. Valid value: // <li>0: Pay-as-you-go.</li> PayMode *uint64 `json:"PayMode,omitnil,omitempty" name:"PayMode"` // Client token. ClientToken *string `json:"ClientToken,omitnil,omitempty" name:"ClientToken"` // Bootstrap script settings. PreExecutedFileSettings []*PreExecuteFileSettings `json:"PreExecutedFileSettings,omitnil,omitempty" name:"PreExecutedFileSettings"` // Number of task nodes to be added. TaskCount *uint64 `json:"TaskCount,omitnil,omitempty" name:"TaskCount"` // Number of core nodes to be added. CoreCount *uint64 `json:"CoreCount,omitnil,omitempty" name:"CoreCount"` // Processes unnecessary for scale-out. UnNecessaryNodeList []*uint64 `json:"UnNecessaryNodeList,omitnil,omitempty" name:"UnNecessaryNodeList"` // Number of router nodes to be added. RouterCount *uint64 `json:"RouterCount,omitnil,omitempty" name:"RouterCount"` // Deployed service. // <li>`SoftDeployInfo` and `ServiceNodeInfo` are in the same group and mutually exclusive with `UnNecessaryNodeList`.</li> // <li>The combination of `SoftDeployInfo` and `ServiceNodeInfo` is recommended.</li> SoftDeployInfo []*uint64 `json:"SoftDeployInfo,omitnil,omitempty" name:"SoftDeployInfo"` // Started process. ServiceNodeInfo []*uint64 `json:"ServiceNodeInfo,omitnil,omitempty" name:"ServiceNodeInfo"` // List of spread placement group IDs. Only one can be specified currently. DisasterRecoverGroupIds []*string `json:"DisasterRecoverGroupIds,omitnil,omitempty" name:"DisasterRecoverGroupIds"` // List of tags bound to added nodes. Tags []*Tag `json:"Tags,omitnil,omitempty" name:"Tags"` // Resource type selected for scale-out. Valid values: "HOST","POD","MNode", where HOST indicates an ordinary CVM resource, POD indicates a resource provided by the TKE cluster or EKS cluster, and MNode indicates a fully managed resource type. HardwareResourceType *string `json:"HardwareResourceType,omitnil,omitempty" name:"HardwareResourceType"` // Specified information such as pod specification and source for scale-out with pod resources. PodSpec *PodSpec `json:"PodSpec,omitnil,omitempty" name:"PodSpec"` // Server group name selected for ClickHouse cluster scale-out. ClickHouseClusterName *string `json:"ClickHouseClusterName,omitnil,omitempty" name:"ClickHouseClusterName"` // Server group type selected for ClickHouse cluster scale-out. Valid values: `new` (create a group) and `old` (select an existing group). ClickHouseClusterType *string `json:"ClickHouseClusterType,omitnil,omitempty" name:"ClickHouseClusterType"` // Yarn node label specified for rule-based scale-out. YarnNodeLabel *string `json:"YarnNodeLabel,omitnil,omitempty" name:"YarnNodeLabel"` // Custom pod permission and parameter PodParameter *PodParameter `json:"PodParameter,omitnil,omitempty" name:"PodParameter"` // Number of master nodes to be added. // When a ClickHouse cluster is scaled, this parameter does not take effect. // When a Kafka cluster is scaled, this parameter does not take effect. // When `HardwareResourceType` is `pod`, this parameter does not take effect. MasterCount *uint64 `json:"MasterCount,omitnil,omitempty" name:"MasterCount"` // Whether to start the service after scale-out. `true`: Yes; `false`: No. StartServiceAfterScaleOut *string `json:"StartServiceAfterScaleOut,omitnil,omitempty" name:"StartServiceAfterScaleOut"` // AZ, which defaults to the primary AZ of the cluster. ZoneId *int64 `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // Subnet, which defaults to the subnet used when the cluster is created. SubnetId *string `json:"SubnetId,omitnil,omitempty" name:"SubnetId"` // Pre-defined configuration set ScaleOutServiceConfAssign *string `json:"ScaleOutServiceConfAssign,omitnil,omitempty" name:"ScaleOutServiceConfAssign"` // Whether to enable auto-renewal. Valid values: `0` (no), `1` (yes). AutoRenew *int64 `json:"AutoRenew,omitnil,omitempty" name:"AutoRenew"` // The type can be ComputeResource, EMR, or a default value. The default value is EMR. When the type is EMR, InstanceId is effective. When the type is ComputeResource, ComputeResourceId is used. ResourceBaseType *string `json:"ResourceBaseType,omitnil,omitempty" name:"ResourceBaseType"` // Computing resource ID. ComputeResourceId *string `json:"ComputeResourceId,omitnil,omitempty" name:"ComputeResourceId"` // Advanced settings of computing resources. ComputeResourceAdvanceParams *ComputeResourceAdvanceParams `json:"ComputeResourceAdvanceParams,omitnil,omitempty" name:"ComputeResourceAdvanceParams"` // Node tag information: currently used only in Terraform. NodeMarks *NodeMark `json:"NodeMarks,omitnil,omitempty" name:"NodeMarks"` }
Predefined struct for user
type ScaleOutInstanceResponse ¶
type ScaleOutInstanceResponse struct { *tchttp.BaseResponse Response *ScaleOutInstanceResponseParams `json:"Response"` }
func NewScaleOutInstanceResponse ¶
func NewScaleOutInstanceResponse() (response *ScaleOutInstanceResponse)
func (*ScaleOutInstanceResponse) FromJsonString ¶
func (r *ScaleOutInstanceResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ScaleOutInstanceResponse) ToJsonString ¶
func (r *ScaleOutInstanceResponse) ToJsonString() string
type ScaleOutInstanceResponseParams ¶
type ScaleOutInstanceResponseParams struct { // Instance ID. InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Order number. // Note: This field may return null, indicating that no valid values can be obtained. DealNames []*string `json:"DealNames,omitnil,omitempty" name:"DealNames"` // Client Token. ClientToken *string `json:"ClientToken,omitnil,omitempty" name:"ClientToken"` // Scale-out process ID. FlowId *int64 `json:"FlowId,omitnil,omitempty" name:"FlowId"` // Large order number. BillId *string `json:"BillId,omitnil,omitempty" name:"BillId"` // TraceId for scale-out. TraceId *string `json:"TraceId,omitnil,omitempty" name:"TraceId"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ScaleOutNodeConfig ¶
type ScaleOutNodeConfig struct { // Valid values of node type: // <li>MASTER</li> // <li>TASK</li> // <li>CORE</li> // <li>ROUTER</li> NodeFlag *string `json:"NodeFlag,omitnil,omitempty" name:"NodeFlag"` // The number of nodes. NodeCount *uint64 `json:"NodeCount,omitnil,omitempty" name:"NodeCount"` }
type ScaleOutServiceConfGroupsInfo ¶
type ScaleOutServiceConfGroupsInfo struct { // Component version name, for example, HDFS-2.8.5. ServiceComponentName *string `json:"ServiceComponentName,omitnil,omitempty" name:"ServiceComponentName"` // Configuration group name, for example, hdfs-core-defaultGroup. If the ConfGroupName parameter is passed in, the configuration group dimension is used. // If the ConfGroupName parameter is not passed in, the cluster dimension is used. ConfGroupName *string `json:"ConfGroupName,omitnil,omitempty" name:"ConfGroupName"` }
type SceneSoftwareConfig ¶
type SceneSoftwareConfig struct { // The list of deployed components. The list of component options varies by `ProductVersion` (EMR version). For more information, see [Component Version](https://intl.cloud.tencent.com/document/product/589/20279?from_cn_redirect=1). // The instance type, `hive` or `flink`. Software []*string `json:"Software,omitnil,omitempty" name:"Software"` // The scenario name, which defaults to `Hadoop-Default`. For more details, see [here](https://intl.cloud.tencent.com/document/product/589/14624?from_cn_redirect=1). Valid values: // Hadoop-Kudu // Hadoop-Zookeeper // Hadoop-Presto // Hadoop-Hbase // Hadoop-Default SceneName *string `json:"SceneName,omitnil,omitempty" name:"SceneName"` }
type SchedulerTaskDetail ¶
type SchedulerTaskDetail struct { // Steps. Step *string `json:"Step,omitnil,omitempty" name:"Step"` // Progress. Progress *string `json:"Progress,omitnil,omitempty" name:"Progress"` // Failure information. FailReason *string `json:"FailReason,omitnil,omitempty" name:"FailReason"` // ID used to obtain details. JobId *uint64 `json:"JobId,omitnil,omitempty" name:"JobId"` }
type SchedulerTaskInfo ¶
type SchedulerTaskInfo struct { // Scheduler type SchedulerName *string `json:"SchedulerName,omitnil,omitempty" name:"SchedulerName"` // Operation type OperatorName *string `json:"OperatorName,omitnil,omitempty" name:"OperatorName"` // Start time. CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"` // End time. EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"` // Status. State *int64 `json:"State,omitnil,omitempty" name:"State"` // Details. // Note: This field may return null, indicating that no valid values can be obtained. Details []*SchedulerTaskDetail `json:"Details,omitnil,omitempty" name:"Details"` }
type ScriptBootstrapActionConfig ¶
type ScriptBootstrapActionConfig struct { // The COS URL of the script, in the format of `https://beijing-111111.cos.ap-beijing.myqcloud.com/data/test.sh`. For the COS bucket list, see [Bucket List](https://console.cloud.tencent.com/cos/bucket). CosFileURI *string `json:"CosFileURI,omitnil,omitempty" name:"CosFileURI"` // The execution time of the bootstrap action script. Valid values: // <li>`resourceAfter`: After node initialization</li> // <li>`clusterAfter`: After cluster start</li> // <li>`clusterBefore`: Before cluster start</li> ExecutionMoment *string `json:"ExecutionMoment,omitnil,omitempty" name:"ExecutionMoment"` // The execution script parameter. The parameter format must comply with standard shell specifications. Args []*string `json:"Args,omitnil,omitempty" name:"Args"` // The script file name. CosFileName *string `json:"CosFileName,omitnil,omitempty" name:"CosFileName"` // Remarks. Remark *string `json:"Remark,omitnil,omitempty" name:"Remark"` }
type SearchItem ¶
type ServiceBasicRestartInfo ¶
type ServiceBasicRestartInfo struct { // The service name (required), such as HDFS. ServiceName *string `json:"ServiceName,omitnil,omitempty" name:"ServiceName"` // If it is left empty, all processes will be operated on. ComponentInfoList []*ComponentBasicRestartInfo `json:"ComponentInfoList,omitnil,omitempty" name:"ComponentInfoList"` }
type ServiceNodeDetailInfo ¶
type ServiceNodeDetailInfo struct { // Process node IP Ip *string `json:"Ip,omitnil,omitempty" name:"Ip"` // Process type. NodeType *int64 `json:"NodeType,omitnil,omitempty" name:"NodeType"` // Process name NodeName *string `json:"NodeName,omitnil,omitempty" name:"NodeName"` // Service component status ServiceStatus *int64 `json:"ServiceStatus,omitnil,omitempty" name:"ServiceStatus"` // Process monitoring status MonitorStatus *int64 `json:"MonitorStatus,omitnil,omitempty" name:"MonitorStatus"` // Service component status Status *int64 `json:"Status,omitnil,omitempty" name:"Status"` // Process port information PortsInfo *string `json:"PortsInfo,omitnil,omitempty" name:"PortsInfo"` // Last restart time. LastRestartTime *string `json:"LastRestartTime,omitnil,omitempty" name:"LastRestartTime"` // Node type. Flag *int64 `json:"Flag,omitnil,omitempty" name:"Flag"` // Configuration group ID. ConfGroupId *int64 `json:"ConfGroupId,omitnil,omitempty" name:"ConfGroupId"` // Configuration group name. ConfGroupName *string `json:"ConfGroupName,omitnil,omitempty" name:"ConfGroupName"` // Whether the node needs to be restarted ConfStatus *int64 `json:"ConfStatus,omitnil,omitempty" name:"ConfStatus"` // Process detection information // // Note: This field may return null, indicating that no valid values can be obtained. ServiceDetectionInfo []*ServiceProcessFunctionInfo `json:"ServiceDetectionInfo,omitnil,omitempty" name:"ServiceDetectionInfo"` // Node type. NodeFlagFilter *string `json:"NodeFlagFilter,omitnil,omitempty" name:"NodeFlagFilter"` // Process health status // // Note: This field may return null, indicating that no valid values can be obtained. HealthStatus *HealthStatus `json:"HealthStatus,omitnil,omitempty" name:"HealthStatus"` // Whether the role supports monitoring. IsSupportRoleMonitor *bool `json:"IsSupportRoleMonitor,omitnil,omitempty" name:"IsSupportRoleMonitor"` // Suspension policy // // Note: This field may return null, indicating that no valid values can be obtained. StopPolicies []*RestartPolicy `json:"StopPolicies,omitnil,omitempty" name:"StopPolicies"` // Strong validation of the API in a test environment. This strong validation doesn't exist on the current network, but it does exist in the data returned by the emrcc interface. If it’s not applied, an error will be reported. Omitting it will result in an error. HAState *string `json:"HAState,omitnil,omitempty" name:"HAState"` // NameService name. NameService *string `json:"NameService,omitnil,omitempty" name:"NameService"` // Whether the federation is supported. IsFederation *bool `json:"IsFederation,omitnil,omitempty" name:"IsFederation"` // Whether the DataNode is in maintenance status. DataNodeMaintenanceState *int64 `json:"DataNodeMaintenanceState,omitnil,omitempty" name:"DataNodeMaintenanceState"` }
type ServiceProcessFunctionInfo ¶
type ServiceProcessFunctionInfo struct { // Detection alarm level. DetectAlert *string `json:"DetectAlert,omitnil,omitempty" name:"DetectAlert"` // Detection feature description // // Note: This field may return null, indicating that no valid values can be obtained. // // Deprecated: DetetcFunctionKey is deprecated. DetetcFunctionKey *string `json:"DetetcFunctionKey,omitnil,omitempty" name:"DetetcFunctionKey"` // Detection feature result // // Note: This field may return null, indicating that no valid values can be obtained. // // Deprecated: DetetcFunctionValue is deprecated. DetetcFunctionValue *string `json:"DetetcFunctionValue,omitnil,omitempty" name:"DetetcFunctionValue"` // Detection results. // Note: This field may return null, indicating that no valid values can be obtained. // // Deprecated: DetetcTime is deprecated. DetetcTime *string `json:"DetetcTime,omitnil,omitempty" name:"DetetcTime"` // Detection feature description. DetectFunctionKey *string `json:"DetectFunctionKey,omitnil,omitempty" name:"DetectFunctionKey"` // Detection feature result. DetectFunctionValue *string `json:"DetectFunctionValue,omitnil,omitempty" name:"DetectFunctionValue"` // Detection result. DetectTime *string `json:"DetectTime,omitnil,omitempty" name:"DetectTime"` }
type SetNodeResourceConfigDefaultRequest ¶
type SetNodeResourceConfigDefaultRequest struct { *tchttp.BaseRequest // Cluster instance ID. InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Configuration ID. ResourceConfigId *uint64 `json:"ResourceConfigId,omitnil,omitempty" name:"ResourceConfigId"` // Specification node type, with the valid values of CORE, TASK, and ROUTER. ResourceType *string `json:"ResourceType,omitnil,omitempty" name:"ResourceType"` // The type can be ComputeResource, EMR, or a default value. The default value is EMR. ResourceBaseType *string `json:"ResourceBaseType,omitnil,omitempty" name:"ResourceBaseType"` // Computing resource ID. ComputeResourceId *string `json:"ComputeResourceId,omitnil,omitempty" name:"ComputeResourceId"` // Hardware type. HardwareResourceType *string `json:"HardwareResourceType,omitnil,omitempty" name:"HardwareResourceType"` }
func NewSetNodeResourceConfigDefaultRequest ¶
func NewSetNodeResourceConfigDefaultRequest() (request *SetNodeResourceConfigDefaultRequest)
func (*SetNodeResourceConfigDefaultRequest) FromJsonString ¶
func (r *SetNodeResourceConfigDefaultRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*SetNodeResourceConfigDefaultRequest) ToJsonString ¶
func (r *SetNodeResourceConfigDefaultRequest) ToJsonString() string
type SetNodeResourceConfigDefaultRequestParams ¶
type SetNodeResourceConfigDefaultRequestParams struct { // Cluster instance ID. InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Configuration ID. ResourceConfigId *uint64 `json:"ResourceConfigId,omitnil,omitempty" name:"ResourceConfigId"` // Specification node type, with the valid values of CORE, TASK, and ROUTER. ResourceType *string `json:"ResourceType,omitnil,omitempty" name:"ResourceType"` // The type can be ComputeResource, EMR, or a default value. The default value is EMR. ResourceBaseType *string `json:"ResourceBaseType,omitnil,omitempty" name:"ResourceBaseType"` // Computing resource ID. ComputeResourceId *string `json:"ComputeResourceId,omitnil,omitempty" name:"ComputeResourceId"` // Hardware type. HardwareResourceType *string `json:"HardwareResourceType,omitnil,omitempty" name:"HardwareResourceType"` }
Predefined struct for user
type SetNodeResourceConfigDefaultResponse ¶
type SetNodeResourceConfigDefaultResponse struct { *tchttp.BaseResponse Response *SetNodeResourceConfigDefaultResponseParams `json:"Response"` }
func NewSetNodeResourceConfigDefaultResponse ¶
func NewSetNodeResourceConfigDefaultResponse() (response *SetNodeResourceConfigDefaultResponse)
func (*SetNodeResourceConfigDefaultResponse) FromJsonString ¶
func (r *SetNodeResourceConfigDefaultResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*SetNodeResourceConfigDefaultResponse) ToJsonString ¶
func (r *SetNodeResourceConfigDefaultResponse) ToJsonString() string
type SetNodeResourceConfigDefaultResponseParams ¶
type SetNodeResourceConfigDefaultResponseParams struct { // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ShortNodeInfo ¶
type SoftDependInfo ¶
type SparkApplicationsList ¶
type SparkApplicationsList struct { // Application ID. ID *string `json:"ID,omitnil,omitempty" name:"ID"` // Application name. Name *string `json:"Name,omitnil,omitempty" name:"Name"` // User. User *string `json:"User,omitnil,omitempty" name:"User"` // Start time. StartTime *int64 `json:"StartTime,omitnil,omitempty" name:"StartTime"` // End time. EndTime *int64 `json:"EndTime,omitnil,omitempty" name:"EndTime"` // Duration. Duration *int64 `json:"Duration,omitnil,omitempty" name:"Duration"` // Status. State *string `json:"State,omitnil,omitempty" name:"State"` // Type. ApplicationType *string `json:"ApplicationType,omitnil,omitempty" name:"ApplicationType"` // Number of cores multiplied by seconds. CoreSeconds *int64 `json:"CoreSeconds,omitnil,omitempty" name:"CoreSeconds"` // Memory MB multiplied by seconds. MemorySeconds *string `json:"MemorySeconds,omitnil,omitempty" name:"MemorySeconds"` // Insight result. Insight *string `json:"Insight,omitnil,omitempty" name:"Insight"` }
type SparkQuery ¶
type SparkQuery struct { // Execution statement. Statement *string `json:"Statement,omitnil,omitempty" name:"Statement"` // Execution duration (ms). Duration *int64 `json:"Duration,omitnil,omitempty" name:"Duration"` // Execution status. Status *string `json:"Status,omitnil,omitempty" name:"Status"` // Query ID. Id *string `json:"Id,omitnil,omitempty" name:"Id"` // Number of scanned partitions. ScanPartitionNum *int64 `json:"ScanPartitionNum,omitnil,omitempty" name:"ScanPartitionNum"` // Total number of scanned rows. ScanRowNum *int64 `json:"ScanRowNum,omitnil,omitempty" name:"ScanRowNum"` // Total number of scanned files. ScanFileNum *int64 `json:"ScanFileNum,omitnil,omitempty" name:"ScanFileNum"` // Total data volume scanned by query (bytes). ScanTotalData *int64 `json:"ScanTotalData,omitnil,omitempty" name:"ScanTotalData"` // Application ID. // Note: This field may return null, indicating that no valid values can be obtained. ApplicationId []*string `json:"ApplicationId,omitnil,omitempty" name:"ApplicationId"` // Total number of output rows. OutputRowNum *int64 `json:"OutputRowNum,omitnil,omitempty" name:"OutputRowNum"` // Total number of output files. OutputFileNum *int64 `json:"OutputFileNum,omitnil,omitempty" name:"OutputFileNum"` // Number of output partitions. OutputPartitionNum *int64 `json:"OutputPartitionNum,omitnil,omitempty" name:"OutputPartitionNum"` // Total output data volume (bytes). OutputTotalData *int64 `json:"OutputTotalData,omitnil,omitempty" name:"OutputTotalData"` // Start time. BeginTime *int64 `json:"BeginTime,omitnil,omitempty" name:"BeginTime"` // End time. EndTime *int64 `json:"EndTime,omitnil,omitempty" name:"EndTime"` }
type StageInfoDetail ¶
type StageInfoDetail struct { // Steps. Stage *string `json:"Stage,omitnil,omitempty" name:"Stage"` // Step name. Name *string `json:"Name,omitnil,omitempty" name:"Name"` // Indicates whether to display IsShow *bool `json:"IsShow,omitnil,omitempty" name:"IsShow"` // Whether it is a subprocess IsSubFlow *bool `json:"IsSubFlow,omitnil,omitempty" name:"IsSubFlow"` // Subprocess tag. SubFlowFlag *string `json:"SubFlowFlag,omitnil,omitempty" name:"SubFlowFlag"` // Step execution status. 0: not started, 1: in progress, 2: completed, 3: partially completed, -1: failed Status *int64 `json:"Status,omitnil,omitempty" name:"Status"` // Step running status description. Desc *string `json:"Desc,omitnil,omitempty" name:"Desc"` // Running progress. Progress *float64 `json:"Progress,omitnil,omitempty" name:"Progress"` // Start time // // Note: This field may return null, indicating that no valid values can be obtained. Starttime *string `json:"Starttime,omitnil,omitempty" name:"Starttime"` // End time // // Note: This field may return null, indicating that no valid values can be obtained. Endtime *string `json:"Endtime,omitnil,omitempty" name:"Endtime"` // Whether details are included. HadWoodDetail *bool `json:"HadWoodDetail,omitnil,omitempty" name:"HadWoodDetail"` // Wood subprocess ID. WoodJobId *uint64 `json:"WoodJobId,omitnil,omitempty" name:"WoodJobId"` // Multi-language version key. LanguageKey *string `json:"LanguageKey,omitnil,omitempty" name:"LanguageKey"` // Reason for stage failure. FailedReason *string `json:"FailedReason,omitnil,omitempty" name:"FailedReason"` // Step duration. TimeConsuming *string `json:"TimeConsuming,omitnil,omitempty" name:"TimeConsuming"` Id *int64 `json:"Id,omitnil,omitempty" name:"Id"` }
type StarRocksQueryInfo ¶
type StarRocksQueryInfo struct { // Submission IP address. ClientIP *string `json:"ClientIP,omitnil,omitempty" name:"ClientIP"` // Total CPU time (ns). CPUCost *int64 `json:"CPUCost,omitnil,omitempty" name:"CPUCost"` // Default DB. DefaultDB *string `json:"DefaultDB,omitnil,omitempty" name:"DefaultDB"` // End time. EndTime *int64 `json:"EndTime,omitnil,omitempty" name:"EndTime"` // Execution IP address. ExecutionIP *string `json:"ExecutionIP,omitnil,omitempty" name:"ExecutionIP"` // Query ID. QueryID *string `json:"QueryID,omitnil,omitempty" name:"QueryID"` // Query type. QueryType *string `json:"QueryType,omitnil,omitempty" name:"QueryType"` // Total memory consumed (bytes). MemCost *int64 `json:"MemCost,omitnil,omitempty" name:"MemCost"` // CPU usage (ns) at the plan stage. PlanCpuCosts *int64 `json:"PlanCpuCosts,omitnil,omitempty" name:"PlanCpuCosts"` // Memory usage (bytes) at the plan stage. PlanMemCosts *int64 `json:"PlanMemCosts,omitnil,omitempty" name:"PlanMemCosts"` // Execution duration. QueryTime *int64 `json:"QueryTime,omitnil,omitempty" name:"QueryTime"` // Resource group. ResourceGroup *string `json:"ResourceGroup,omitnil,omitempty" name:"ResourceGroup"` // Number of rows obtained. ReturnRows *int64 `json:"ReturnRows,omitnil,omitempty" name:"ReturnRows"` // Scanned data volume (bytes). ScanBytes *int64 `json:"ScanBytes,omitnil,omitempty" name:"ScanBytes"` // Number of scanned rows. ScanRows *int64 `json:"ScanRows,omitnil,omitempty" name:"ScanRows"` // Start time. BeginTime *int64 `json:"BeginTime,omitnil,omitempty" name:"BeginTime"` // Execution status. ExecutionState *string `json:"ExecutionState,omitnil,omitempty" name:"ExecutionState"` // Execution statement. ExecutionStatement *string `json:"ExecutionStatement,omitnil,omitempty" name:"ExecutionStatement"` // User. User *string `json:"User,omitnil,omitempty" name:"User"` }
type StartStopServiceOrMonitorRequest ¶
type StartStopServiceOrMonitorRequest struct { *tchttp.BaseRequest // The cluster ID. InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // The operation type. Valid values: // <li>StartService: Start service</li> // <li>StopService: Stop service</li> // <li>StartMonitor: Start maintenance</li> // <li>StopMonitor: Stop maintenance</li> // <li>RestartService: Restart service. If this type is selected, "StrategyConfig" is required.</li> OpType *string `json:"OpType,omitnil,omitempty" name:"OpType"` // The operation scope. OpScope *OpScope `json:"OpScope,omitnil,omitempty" name:"OpScope"` // The operation policy. StrategyConfig *StrategyConfig `json:"StrategyConfig,omitnil,omitempty" name:"StrategyConfig"` // Parameters used for suspending services. StopParams *StopParams `json:"StopParams,omitnil,omitempty" name:"StopParams"` // This parameter is available only when OpType is <li>StopMonitor</li>. True indicates that the system enters the maintenance mode but still monitors processes without starting them. KeepMonitorButNotRecoverProcess *bool `json:"KeepMonitorButNotRecoverProcess,omitnil,omitempty" name:"KeepMonitorButNotRecoverProcess"` }
func NewStartStopServiceOrMonitorRequest ¶
func NewStartStopServiceOrMonitorRequest() (request *StartStopServiceOrMonitorRequest)
func (*StartStopServiceOrMonitorRequest) FromJsonString ¶
func (r *StartStopServiceOrMonitorRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*StartStopServiceOrMonitorRequest) ToJsonString ¶
func (r *StartStopServiceOrMonitorRequest) ToJsonString() string
type StartStopServiceOrMonitorRequestParams ¶
type StartStopServiceOrMonitorRequestParams struct { // The cluster ID. InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // The operation type. Valid values: // <li>StartService: Start service</li> // <li>StopService: Stop service</li> // <li>StartMonitor: Start maintenance</li> // <li>StopMonitor: Stop maintenance</li> // <li>RestartService: Restart service. If this type is selected, "StrategyConfig" is required.</li> OpType *string `json:"OpType,omitnil,omitempty" name:"OpType"` // The operation scope. OpScope *OpScope `json:"OpScope,omitnil,omitempty" name:"OpScope"` // The operation policy. StrategyConfig *StrategyConfig `json:"StrategyConfig,omitnil,omitempty" name:"StrategyConfig"` // Parameters used for suspending services. StopParams *StopParams `json:"StopParams,omitnil,omitempty" name:"StopParams"` // This parameter is available only when OpType is <li>StopMonitor</li>. True indicates that the system enters the maintenance mode but still monitors processes without starting them. KeepMonitorButNotRecoverProcess *bool `json:"KeepMonitorButNotRecoverProcess,omitnil,omitempty" name:"KeepMonitorButNotRecoverProcess"` }
Predefined struct for user
type StartStopServiceOrMonitorResponse ¶
type StartStopServiceOrMonitorResponse struct { *tchttp.BaseResponse Response *StartStopServiceOrMonitorResponseParams `json:"Response"` }
func NewStartStopServiceOrMonitorResponse ¶
func NewStartStopServiceOrMonitorResponse() (response *StartStopServiceOrMonitorResponse)
func (*StartStopServiceOrMonitorResponse) FromJsonString ¶
func (r *StartStopServiceOrMonitorResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*StartStopServiceOrMonitorResponse) ToJsonString ¶
func (r *StartStopServiceOrMonitorResponse) ToJsonString() string
type StartStopServiceOrMonitorResponseParams ¶
type StartStopServiceOrMonitorResponseParams struct { // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type StopParams ¶
type StorageSummaryDistribution ¶
type StorageSummaryDistribution struct { // Data item. MetricItem *string `json:"MetricItem,omitnil,omitempty" name:"MetricItem"` // Data item description. MetricName *string `json:"MetricName,omitnil,omitempty" name:"MetricName"` // Sampling value. // Note: This field may return null, indicating that no valid values can be obtained. Dps []*Dps `json:"Dps,omitnil,omitempty" name:"Dps"` }
type StrategyConfig ¶
type StrategyConfig struct { // 0: disable rolling restart. // 1: enable rolling start. RollingRestartSwitch *int64 `json:"RollingRestartSwitch,omitnil,omitempty" name:"RollingRestartSwitch"` // Rolling restart quantity per batch, which is up to 99999. BatchSize *int64 `json:"BatchSize,omitnil,omitempty" name:"BatchSize"` // Stop and wait time for rolling restart per batch, with the maximum interval of 5 minutes and the unit of seconds. TimeWait *int64 `json:"TimeWait,omitnil,omitempty" name:"TimeWait"` // Operation failure processing policy. 0: Block upon failure, 1: Automatically skipping failure. DealOnFail *int64 `json:"DealOnFail,omitnil,omitempty" name:"DealOnFail"` // Parameters required in the instruction. // Note: This field may return null, indicating that no valid values can be obtained. Args []*Arg `json:"Args,omitnil,omitempty" name:"Args"` }
type SubnetInfo ¶
type TableSchemaItem ¶
type TableSchemaItem struct { // Column identifier Name *string `json:"Name,omitnil,omitempty" name:"Name"` // Whether it is sortable by this column Sortable *bool `json:"Sortable,omitnil,omitempty" name:"Sortable"` // Whether it is filterable WithFilter *bool `json:"WithFilter,omitnil,omitempty" name:"WithFilter"` // Filtered candidate set // // Note: This field may return null, indicating that no valid values can be obtained. Candidates []*string `json:"Candidates,omitnil,omitempty" name:"Candidates"` // Whether it is clickable. Clickable *bool `json:"Clickable,omitnil,omitempty" name:"Clickable"` // Display name. Title *string `json:"Title,omitnil,omitempty" name:"Title"` }
type TaskSettings ¶
type TaskSettings struct { // Parameter name. Name *string `json:"Name,omitnil,omitempty" name:"Name"` // Parameter value. Value *string `json:"Value,omitnil,omitempty" name:"Value"` // Unique parameter identifier. Key *string `json:"Key,omitnil,omitempty" name:"Key"` // Whether it is editable, "true" or "false". Editable *string `json:"Editable,omitnil,omitempty" name:"Editable"` }
type TerminateClusterNodesRequest ¶
type TerminateClusterNodesRequest struct { *tchttp.BaseRequest // The instance ID. InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // The list of resources to be terminated. CvmInstanceIds []*string `json:"CvmInstanceIds,omitnil,omitempty" name:"CvmInstanceIds"` // Valid values of node type: // <li>MASTER</li> // <li>TASK</li> // <li>CORE</li> // <li>ROUTER</li> NodeFlag *string `json:"NodeFlag,omitnil,omitempty" name:"NodeFlag"` // The graceful scale-in feature. Valid values: // <li>`true`: Enabled.</li> // <li>`false`: Disabled.</li> GraceDownFlag *bool `json:"GraceDownFlag,omitnil,omitempty" name:"GraceDownFlag"` // The graceful scale-in wait time in seconds. Value range: 60–1800. GraceDownTime *int64 `json:"GraceDownTime,omitnil,omitempty" name:"GraceDownTime"` }
func NewTerminateClusterNodesRequest ¶
func NewTerminateClusterNodesRequest() (request *TerminateClusterNodesRequest)
func (*TerminateClusterNodesRequest) FromJsonString ¶
func (r *TerminateClusterNodesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*TerminateClusterNodesRequest) ToJsonString ¶
func (r *TerminateClusterNodesRequest) ToJsonString() string
type TerminateClusterNodesRequestParams ¶
type TerminateClusterNodesRequestParams struct { // The instance ID. InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // The list of resources to be terminated. CvmInstanceIds []*string `json:"CvmInstanceIds,omitnil,omitempty" name:"CvmInstanceIds"` // Valid values of node type: // <li>MASTER</li> // <li>TASK</li> // <li>CORE</li> // <li>ROUTER</li> NodeFlag *string `json:"NodeFlag,omitnil,omitempty" name:"NodeFlag"` // The graceful scale-in feature. Valid values: // <li>`true`: Enabled.</li> // <li>`false`: Disabled.</li> GraceDownFlag *bool `json:"GraceDownFlag,omitnil,omitempty" name:"GraceDownFlag"` // The graceful scale-in wait time in seconds. Value range: 60–1800. GraceDownTime *int64 `json:"GraceDownTime,omitnil,omitempty" name:"GraceDownTime"` }
Predefined struct for user
type TerminateClusterNodesResponse ¶
type TerminateClusterNodesResponse struct { *tchttp.BaseResponse Response *TerminateClusterNodesResponseParams `json:"Response"` }
func NewTerminateClusterNodesResponse ¶
func NewTerminateClusterNodesResponse() (response *TerminateClusterNodesResponse)
func (*TerminateClusterNodesResponse) FromJsonString ¶
func (r *TerminateClusterNodesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*TerminateClusterNodesResponse) ToJsonString ¶
func (r *TerminateClusterNodesResponse) ToJsonString() string
type TerminateClusterNodesResponseParams ¶
type TerminateClusterNodesResponseParams struct { // The scale-in process ID. FlowId *int64 `json:"FlowId,omitnil,omitempty" name:"FlowId"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type TerminateInstanceRequest ¶
type TerminateInstanceRequest struct { *tchttp.BaseRequest // Instance ID. InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // ID of terminated node. This parameter is reserved and does not need to be configured. ResourceIds []*string `json:"ResourceIds,omitnil,omitempty" name:"ResourceIds"` // The type can be ComputeResource, EMR, or a default value. The default value is EMR. When the type is EMR, InstanceId is effective. When the type is ComputeResource, ComputeResourceId is used. ResourceBaseType *string `json:"ResourceBaseType,omitnil,omitempty" name:"ResourceBaseType"` // Computing resource ID. ComputeResourceId *string `json:"ComputeResourceId,omitnil,omitempty" name:"ComputeResourceId"` }
func NewTerminateInstanceRequest ¶
func NewTerminateInstanceRequest() (request *TerminateInstanceRequest)
func (*TerminateInstanceRequest) FromJsonString ¶
func (r *TerminateInstanceRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*TerminateInstanceRequest) ToJsonString ¶
func (r *TerminateInstanceRequest) ToJsonString() string
type TerminateInstanceRequestParams ¶
type TerminateInstanceRequestParams struct { // Instance ID. InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // ID of terminated node. This parameter is reserved and does not need to be configured. ResourceIds []*string `json:"ResourceIds,omitnil,omitempty" name:"ResourceIds"` // The type can be ComputeResource, EMR, or a default value. The default value is EMR. When the type is EMR, InstanceId is effective. When the type is ComputeResource, ComputeResourceId is used. ResourceBaseType *string `json:"ResourceBaseType,omitnil,omitempty" name:"ResourceBaseType"` // Computing resource ID. ComputeResourceId *string `json:"ComputeResourceId,omitnil,omitempty" name:"ComputeResourceId"` }
Predefined struct for user
type TerminateInstanceResponse ¶
type TerminateInstanceResponse struct { *tchttp.BaseResponse Response *TerminateInstanceResponseParams `json:"Response"` }
func NewTerminateInstanceResponse ¶
func NewTerminateInstanceResponse() (response *TerminateInstanceResponse)
func (*TerminateInstanceResponse) FromJsonString ¶
func (r *TerminateInstanceResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*TerminateInstanceResponse) ToJsonString ¶
func (r *TerminateInstanceResponse) ToJsonString() string
type TerminateInstanceResponseParams ¶
type TerminateInstanceResponseParams struct { // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type TerminateSLInstanceRequest ¶
type TerminateSLInstanceRequest struct { *tchttp.BaseRequest // Instance unique identifier (string). InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` }
func NewTerminateSLInstanceRequest ¶
func NewTerminateSLInstanceRequest() (request *TerminateSLInstanceRequest)
func (*TerminateSLInstanceRequest) FromJsonString ¶
func (r *TerminateSLInstanceRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*TerminateSLInstanceRequest) ToJsonString ¶
func (r *TerminateSLInstanceRequest) ToJsonString() string
type TerminateSLInstanceRequestParams ¶
type TerminateSLInstanceRequestParams struct { // Instance unique identifier (string). InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` }
Predefined struct for user
type TerminateSLInstanceResponse ¶
type TerminateSLInstanceResponse struct { *tchttp.BaseResponse Response *TerminateSLInstanceResponseParams `json:"Response"` }
func NewTerminateSLInstanceResponse ¶
func NewTerminateSLInstanceResponse() (response *TerminateSLInstanceResponse)
func (*TerminateSLInstanceResponse) FromJsonString ¶
func (r *TerminateSLInstanceResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*TerminateSLInstanceResponse) ToJsonString ¶
func (r *TerminateSLInstanceResponse) ToJsonString() string
type TerminateSLInstanceResponseParams ¶
type TerminateSLInstanceResponseParams struct { // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type TerminateTasksRequest ¶
type TerminateTasksRequest struct { *tchttp.BaseRequest // Instance ID. InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // List of resource IDs of the node to be terminated. The resource ID is in the format of `emr-vm-xxxxxxxx`. A valid resource ID can be queried in the [console](https://console.cloud.tencent.com/emr/static/hardware). ResourceIds []*string `json:"ResourceIds,omitnil,omitempty" name:"ResourceIds"` }
func NewTerminateTasksRequest ¶
func NewTerminateTasksRequest() (request *TerminateTasksRequest)
func (*TerminateTasksRequest) FromJsonString ¶
func (r *TerminateTasksRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*TerminateTasksRequest) ToJsonString ¶
func (r *TerminateTasksRequest) ToJsonString() string
type TerminateTasksRequestParams ¶
type TerminateTasksRequestParams struct { // Instance ID. InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // List of resource IDs of the node to be terminated. The resource ID is in the format of `emr-vm-xxxxxxxx`. A valid resource ID can be queried in the [console](https://console.cloud.tencent.com/emr/static/hardware). ResourceIds []*string `json:"ResourceIds,omitnil,omitempty" name:"ResourceIds"` }
Predefined struct for user
type TerminateTasksResponse ¶
type TerminateTasksResponse struct { *tchttp.BaseResponse Response *TerminateTasksResponseParams `json:"Response"` }
func NewTerminateTasksResponse ¶
func NewTerminateTasksResponse() (response *TerminateTasksResponse)
func (*TerminateTasksResponse) FromJsonString ¶
func (r *TerminateTasksResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*TerminateTasksResponse) ToJsonString ¶
func (r *TerminateTasksResponse) ToJsonString() string
type TerminateTasksResponseParams ¶
type TerminateTasksResponseParams struct { // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type TimeAutoScaleStrategy ¶
type TimeAutoScaleStrategy struct { // Policy name, which is unique within one cluster. StrategyName *string `json:"StrategyName,omitnil,omitempty" name:"StrategyName"` // Cooling time after policy trigger, during which auto scaling cannot be triggered. IntervalTime *uint64 `json:"IntervalTime,omitnil,omitempty" name:"IntervalTime"` // Scaling action. 1: scale-out, 2: scale-in. ScaleAction *uint64 `json:"ScaleAction,omitnil,omitempty" name:"ScaleAction"` // Scaling amount. ScaleNum *uint64 `json:"ScaleNum,omitnil,omitempty" name:"ScaleNum"` // Rule status. 1: valid; 2: invalid; 3: suspended. This field is required. StrategyStatus *uint64 `json:"StrategyStatus,omitnil,omitempty" name:"StrategyStatus"` // Rule priority. The smaller value indicates the higher priority. Priority *uint64 `json:"Priority,omitnil,omitempty" name:"Priority"` // When multiple rules are triggered at the same time and some are not really executed, retries will be performed within this time range. RetryValidTime *uint64 `json:"RetryValidTime,omitnil,omitempty" name:"RetryValidTime"` // Time scaling repetition policy // // Note: This field may return null, indicating that no valid values can be obtained. RepeatStrategy *RepeatStrategy `json:"RepeatStrategy,omitnil,omitempty" name:"RepeatStrategy"` // Unique policy ID. StrategyId *uint64 `json:"StrategyId,omitnil,omitempty" name:"StrategyId"` // Graceful scale-in switch. GraceDownFlag *bool `json:"GraceDownFlag,omitnil,omitempty" name:"GraceDownFlag"` // Graceful scale-in wait time. GraceDownTime *int64 `json:"GraceDownTime,omitnil,omitempty" name:"GraceDownTime"` // Bound tag list // // Note: This field may return null, indicating that no valid values can be obtained. Tags []*Tag `json:"Tags,omitnil,omitempty" name:"Tags"` // Preset configuration group. ConfigGroupAssigned *string `json:"ConfigGroupAssigned,omitnil,omitempty" name:"ConfigGroupAssigned"` // Calculation method of scale-out resources. Valid values: "DEFAULT","INSTANCE", "CPU" and "MEMORYGB". // "DEFAULT" indicates the default method, which is the same as "INSTANCE". // "INSTANCE" indicates calculation based on nodes (default mode). // "CPU" indicates calculation based on the quantity of cores of the machine. // "MEMORYGB" indicates calculation based on the memory size of the machine. MeasureMethod *string `json:"MeasureMethod,omitnil,omitempty" name:"MeasureMethod"` // Termination policy. "DEFAULT" denotes the default policy, which indicates that scale-in is triggered by scale-in rules. "TIMING" denotes timed destruction. TerminatePolicy *string `json:"TerminatePolicy,omitnil,omitempty" name:"TerminatePolicy"` // Maximum use time in seconds. The minimum value is 1 hour, and the maximum is 24 hours. MaxUse *int64 `json:"MaxUse,omitnil,omitempty" name:"MaxUse"` // Node deployment service list. Fill in only HDFS and YARN. For details, see [Mapping Table for Component Names](https://intl.cloud.tencent.com/document/product/589/98760?from_cn_redirect=1). // Note: This field may return null, indicating that no valid values can be obtained. SoftDeployInfo []*int64 `json:"SoftDeployInfo,omitnil,omitempty" name:"SoftDeployInfo"` // Startup process list // // Note: This field may return null, indicating that no valid values can be obtained. ServiceNodeInfo []*int64 `json:"ServiceNodeInfo,omitnil,omitempty" name:"ServiceNodeInfo"` // Compensatory scale-out. 0: disable, 1: enable. CompensateFlag *int64 `json:"CompensateFlag,omitnil,omitempty" name:"CompensateFlag"` // Scaling group ID. GroupId *int64 `json:"GroupId,omitnil,omitempty" name:"GroupId"` // Graceful scale-in business pod tag. Nodes are scaled in when the pod mentioned above is not found on the node or the graceful scale-in time is passed. GraceDownLabel []*TkeLabel `json:"GraceDownLabel,omitnil,omitempty" name:"GraceDownLabel"` }
type TopologyInfo ¶
type TopologyInfo struct { // Availability zone ID. ZoneId *int64 `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // Availability information. Zone *string `json:"Zone,omitnil,omitempty" name:"Zone"` // Subnet information // Note: This field may return `null`, indicating that no valid value can be obtained. SubnetInfoList []*SubnetInfo `json:"SubnetInfoList,omitnil,omitempty" name:"SubnetInfoList"` // Node information // Note: This field may return `null`, indicating that no valid value can be obtained. NodeInfoList []*ShortNodeInfo `json:"NodeInfoList,omitnil,omitempty" name:"NodeInfoList"` }
type TriggerCondition ¶
type TriggerCondition struct { // Conditional comparison method. 1: greater than, 2: less than, 3: greater than or equal to, 4: less than or equal to CompareMethod *int64 `json:"CompareMethod,omitnil,omitempty" name:"CompareMethod"` // Conditional threshold. Threshold *float64 `json:"Threshold,omitnil,omitempty" name:"Threshold"` }
type TrinoQueryInfo ¶
type TrinoQueryInfo struct { // catalog Catalog *string `json:"Catalog,omitnil,omitempty" name:"Catalog"` // IP address used for submission. ClientIpAddr *string `json:"ClientIpAddr,omitnil,omitempty" name:"ClientIpAddr"` // Number of segments. CompletedSplits *string `json:"CompletedSplits,omitnil,omitempty" name:"CompletedSplits"` // CPU time. CpuTime *int64 `json:"CpuTime,omitnil,omitempty" name:"CpuTime"` // Cumulative memory. CumulativeMemory *int64 `json:"CumulativeMemory,omitnil,omitempty" name:"CumulativeMemory"` // Execution duration. DurationMillis *int64 `json:"DurationMillis,omitnil,omitempty" name:"DurationMillis"` // End time (seconds). EndTime *int64 `json:"EndTime,omitnil,omitempty" name:"EndTime"` // Query ID. Id *string `json:"Id,omitnil,omitempty" name:"Id"` // Internal transmission volume. InternalNetworkBytes *int64 `json:"InternalNetworkBytes,omitnil,omitempty" name:"InternalNetworkBytes"` // Number of output bytes. OutputBytes *int64 `json:"OutputBytes,omitnil,omitempty" name:"OutputBytes"` // Peak memory. PeakUserMemoryBytes *int64 `json:"PeakUserMemoryBytes,omitnil,omitempty" name:"PeakUserMemoryBytes"` // Physical input volume. PhysicalInputBytes *int64 `json:"PhysicalInputBytes,omitnil,omitempty" name:"PhysicalInputBytes"` // Processed input volume. ProcessedInputBytes *int64 `json:"ProcessedInputBytes,omitnil,omitempty" name:"ProcessedInputBytes"` // Compilation duration. SqlCompileTime *int64 `json:"SqlCompileTime,omitnil,omitempty" name:"SqlCompileTime"` // Start time (seconds). StartTime *int64 `json:"StartTime,omitnil,omitempty" name:"StartTime"` // Execution status. State *string `json:"State,omitnil,omitempty" name:"State"` // Execution statement. Statement *string `json:"Statement,omitnil,omitempty" name:"Statement"` // User who submits requests. User *string `json:"User,omitnil,omitempty" name:"User"` // Number of bytes written. WrittenBytes *int64 `json:"WrittenBytes,omitnil,omitempty" name:"WrittenBytes"` }
type UpdateInstanceSettings ¶
type UpdateInstanceSettings struct { // Memory capacity in GB Memory *uint64 `json:"Memory,omitnil,omitempty" name:"Memory"` // Number of CPU cores CPUCores *uint64 `json:"CPUCores,omitnil,omitempty" name:"CPUCores"` // Machine resource ID (EMR resource identifier) ResourceId *string `json:"ResourceId,omitnil,omitempty" name:"ResourceId"` // Target machine specification InstanceType *string `json:"InstanceType,omitnil,omitempty" name:"InstanceType"` }
type UserInfoForUserManager ¶
type UserInfoForUserManager struct { // Username UserName *string `json:"UserName,omitnil,omitempty" name:"UserName"` // The group to which the user belongs UserGroup *string `json:"UserGroup,omitnil,omitempty" name:"UserGroup"` PassWord *string `json:"PassWord,omitnil,omitempty" name:"PassWord"` ReMark *string `json:"ReMark,omitnil,omitempty" name:"ReMark"` // User subgroup. Groups []*string `json:"Groups,omitnil,omitempty" name:"Groups"` }
type UserManagerFilter ¶
type UserManagerUserBriefInfo ¶
type UserManagerUserBriefInfo struct { // Username UserName *string `json:"UserName,omitnil,omitempty" name:"UserName"` // The group to which the user belongs UserGroup *string `json:"UserGroup,omitnil,omitempty" name:"UserGroup"` // `Manager` represents an admin, and `NormalUser` represents a general user. UserType *string `json:"UserType,omitnil,omitempty" name:"UserType"` // User creation time. CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"` // Whether the corresponding Keytab file of the user is available for download. This parameter applies only to a Kerberos-enabled cluster. SupportDownLoadKeyTab *bool `json:"SupportDownLoadKeyTab,omitnil,omitempty" name:"SupportDownLoadKeyTab"` // Download address of the keytab file. DownLoadKeyTabUrl *string `json:"DownLoadKeyTabUrl,omitnil,omitempty" name:"DownLoadKeyTabUrl"` }
type VPCSettings ¶
type VirtualPrivateCloud ¶
type WeekRepeatStrategy ¶
type WeekRepeatStrategy struct { // Specific time for repetition task execution, such as 01:02:00. ExecuteAtTimeOfDay *string `json:"ExecuteAtTimeOfDay,omitnil,omitempty" name:"ExecuteAtTimeOfDay"` // Ordinal number description of the day of a week, for example, [1,3,4] indicates Monday, Wednesday, and Thursday. // // Note: This field may return null, indicating that no valid values can be obtained. DaysOfWeek []*uint64 `json:"DaysOfWeek,omitnil,omitempty" name:"DaysOfWeek"` }
type ZoneDetailPriceResult ¶
type ZoneDetailPriceResult struct { // Availability zone ID. ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // Price details by node NodeDetailPrice []*NodeDetailPriceResult `json:"NodeDetailPrice,omitnil,omitempty" name:"NodeDetailPrice"` }
type ZoneResourceConfiguration ¶
type ZoneResourceConfiguration struct { // The VPC configuration information. This parameter is used to specify the VPC ID, subnet ID and other information. // Note: This field may return null, indicating that no valid values can be obtained. VirtualPrivateCloud *VirtualPrivateCloud `json:"VirtualPrivateCloud,omitnil,omitempty" name:"VirtualPrivateCloud"` // The instance location. This parameter is used to specify the AZ, project, and other attributes of the instance. // Note: This field may return null, indicating that no valid values can be obtained. Placement *Placement `json:"Placement,omitnil,omitempty" name:"Placement"` // The specs of all nodes. // Note: This field may return null, indicating that no valid values can be obtained. AllNodeResourceSpec *AllNodeResourceSpec `json:"AllNodeResourceSpec,omitnil,omitempty" name:"AllNodeResourceSpec"` // Leave ZoneTag empty in the case of a single availability zone. In the case of a dual-AZ deployment, select master for the first availability zone's ZoneTag and standby for the second. In the case of a three-AZ deployment, select master for the first availability zone's ZoneTag, standby for the second, and third-party for the third. Valid values. // <li>master</li> // <li>standby</li> // <li>third-party</li> ZoneTag *string `json:"ZoneTag,omitnil,omitempty" name:"ZoneTag"` }
type ZoneSetting ¶
type ZoneSetting struct { // Availability zone name Zone *string `json:"Zone,omitnil,omitempty" name:"Zone"` // AZ VPC and subnet. VPCSettings *VPCSettings `json:"VPCSettings,omitnil,omitempty" name:"VPCSettings"` // Number of AZ nodes. NodeNum *int64 `json:"NodeNum,omitnil,omitempty" name:"NodeNum"` }