Documentation ¶
Index ¶
- Constants
- type AttachCBSSpec
- type ChargeProperties
- type Client
- func (c *Client) CreateInstanceNew(request *CreateInstanceNewRequest) (response *CreateInstanceNewResponse, err error)
- func (c *Client) CreateInstanceNewWithContext(ctx context.Context, request *CreateInstanceNewRequest) (response *CreateInstanceNewResponse, err error)
- func (c *Client) DescribeClusterConfigs(request *DescribeClusterConfigsRequest) (response *DescribeClusterConfigsResponse, err error)
- func (c *Client) DescribeClusterConfigsWithContext(ctx context.Context, request *DescribeClusterConfigsRequest) (response *DescribeClusterConfigsResponse, err error)
- func (c *Client) DescribeDatabaseAuditDownload(request *DescribeDatabaseAuditDownloadRequest) (response *DescribeDatabaseAuditDownloadResponse, err error)
- func (c *Client) DescribeDatabaseAuditDownloadWithContext(ctx context.Context, request *DescribeDatabaseAuditDownloadRequest) (response *DescribeDatabaseAuditDownloadResponse, err error)
- func (c *Client) DescribeDatabaseAuditRecords(request *DescribeDatabaseAuditRecordsRequest) (response *DescribeDatabaseAuditRecordsResponse, err error)
- func (c *Client) DescribeDatabaseAuditRecordsWithContext(ctx context.Context, request *DescribeDatabaseAuditRecordsRequest) (response *DescribeDatabaseAuditRecordsResponse, err error)
- func (c *Client) DescribeInstance(request *DescribeInstanceRequest) (response *DescribeInstanceResponse, err error)
- func (c *Client) DescribeInstanceNodes(request *DescribeInstanceNodesRequest) (response *DescribeInstanceNodesResponse, err error)
- func (c *Client) DescribeInstanceNodesInfo(request *DescribeInstanceNodesInfoRequest) (response *DescribeInstanceNodesInfoResponse, err error)
- func (c *Client) DescribeInstanceNodesInfoWithContext(ctx context.Context, request *DescribeInstanceNodesInfoRequest) (response *DescribeInstanceNodesInfoResponse, err error)
- func (c *Client) DescribeInstanceNodesWithContext(ctx context.Context, request *DescribeInstanceNodesRequest) (response *DescribeInstanceNodesResponse, err error)
- func (c *Client) DescribeInstanceState(request *DescribeInstanceStateRequest) (response *DescribeInstanceStateResponse, err error)
- func (c *Client) DescribeInstanceStateWithContext(ctx context.Context, request *DescribeInstanceStateRequest) (response *DescribeInstanceStateResponse, err error)
- func (c *Client) DescribeInstanceWithContext(ctx context.Context, request *DescribeInstanceRequest) (response *DescribeInstanceResponse, err error)
- func (c *Client) DescribeInstances(request *DescribeInstancesRequest) (response *DescribeInstancesResponse, err error)
- func (c *Client) DescribeInstancesWithContext(ctx context.Context, request *DescribeInstancesRequest) (response *DescribeInstancesResponse, err error)
- func (c *Client) DescribeSlowQueryRecords(request *DescribeSlowQueryRecordsRequest) (response *DescribeSlowQueryRecordsResponse, err error)
- func (c *Client) DescribeSlowQueryRecordsDownload(request *DescribeSlowQueryRecordsDownloadRequest) (response *DescribeSlowQueryRecordsDownloadResponse, err error)
- func (c *Client) DescribeSlowQueryRecordsDownloadWithContext(ctx context.Context, request *DescribeSlowQueryRecordsDownloadRequest) (response *DescribeSlowQueryRecordsDownloadResponse, err error)
- func (c *Client) DescribeSlowQueryRecordsWithContext(ctx context.Context, request *DescribeSlowQueryRecordsRequest) (response *DescribeSlowQueryRecordsResponse, err error)
- func (c *Client) DestroyInstance(request *DestroyInstanceRequest) (response *DestroyInstanceResponse, err error)
- func (c *Client) DestroyInstanceWithContext(ctx context.Context, request *DestroyInstanceRequest) (response *DestroyInstanceResponse, err error)
- func (c *Client) ModifyInstance(request *ModifyInstanceRequest) (response *ModifyInstanceResponse, err error)
- func (c *Client) ModifyInstanceWithContext(ctx context.Context, request *ModifyInstanceRequest) (response *ModifyInstanceResponse, err error)
- func (c *Client) ResizeDisk(request *ResizeDiskRequest) (response *ResizeDiskResponse, err error)
- func (c *Client) ResizeDiskWithContext(ctx context.Context, request *ResizeDiskRequest) (response *ResizeDiskResponse, err error)
- func (c *Client) RestartClusterForNode(request *RestartClusterForNodeRequest) (response *RestartClusterForNodeResponse, err error)
- func (c *Client) RestartClusterForNodeWithContext(ctx context.Context, request *RestartClusterForNodeRequest) (response *RestartClusterForNodeResponse, 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) ScaleUpInstance(request *ScaleUpInstanceRequest) (response *ScaleUpInstanceResponse, err error)
- func (c *Client) ScaleUpInstanceWithContext(ctx context.Context, request *ScaleUpInstanceRequest) (response *ScaleUpInstanceResponse, err error)
- type ClusterConfigsInfoFromEMR
- type ConfigKeyValue
- type CreateInstanceNewRequest
- type CreateInstanceNewRequestParams
- type CreateInstanceNewResponse
- type CreateInstanceNewResponseParams
- type CreateInstanceSpec
- type DataBaseAuditRecord
- type DescribeClusterConfigsRequest
- type DescribeClusterConfigsRequestParams
- type DescribeClusterConfigsResponse
- type DescribeClusterConfigsResponseParams
- type DescribeDatabaseAuditDownloadRequest
- type DescribeDatabaseAuditDownloadRequestParams
- type DescribeDatabaseAuditDownloadResponse
- type DescribeDatabaseAuditDownloadResponseParams
- type DescribeDatabaseAuditRecordsRequest
- type DescribeDatabaseAuditRecordsRequestParams
- type DescribeDatabaseAuditRecordsResponse
- type DescribeDatabaseAuditRecordsResponseParams
- type DescribeInstanceNodesInfoRequest
- type DescribeInstanceNodesInfoRequestParams
- type DescribeInstanceNodesInfoResponse
- type DescribeInstanceNodesInfoResponseParams
- type DescribeInstanceNodesRequest
- type DescribeInstanceNodesRequestParams
- type DescribeInstanceNodesResponse
- type DescribeInstanceNodesResponseParams
- type DescribeInstanceRequest
- type DescribeInstanceRequestParams
- type DescribeInstanceResponse
- type DescribeInstanceResponseParams
- type DescribeInstanceStateRequest
- type DescribeInstanceStateRequestParams
- type DescribeInstanceStateResponse
- type DescribeInstanceStateResponseParams
- type DescribeInstancesRequest
- type DescribeInstancesRequestParams
- type DescribeInstancesResponse
- type DescribeInstancesResponseParams
- type DescribeSlowQueryRecordsDownloadRequest
- type DescribeSlowQueryRecordsDownloadRequestParams
- type DescribeSlowQueryRecordsDownloadResponse
- type DescribeSlowQueryRecordsDownloadResponseParams
- type DescribeSlowQueryRecordsRequest
- type DescribeSlowQueryRecordsRequestParams
- type DescribeSlowQueryRecordsResponse
- type DescribeSlowQueryRecordsResponseParams
- type DestroyInstanceRequest
- type DestroyInstanceRequestParams
- type DestroyInstanceResponse
- type DestroyInstanceResponseParams
- type InstanceInfo
- type InstanceNode
- type ModifyInstanceRequest
- type ModifyInstanceRequestParams
- type ModifyInstanceResponse
- type ModifyInstanceResponseParams
- type NetworkInfo
- type NodeInfo
- type NodesSummary
- type ResizeDiskRequest
- type ResizeDiskRequestParams
- type ResizeDiskResponse
- type ResizeDiskResponseParams
- type RestartClusterForNodeRequest
- type RestartClusterForNodeRequestParams
- type RestartClusterForNodeResponse
- type RestartClusterForNodeResponseParams
- type ScaleOutInstanceRequest
- type ScaleOutInstanceRequestParams
- type ScaleOutInstanceResponse
- type ScaleOutInstanceResponseParams
- type ScaleUpInstanceRequest
- type ScaleUpInstanceRequestParams
- type ScaleUpInstanceResponse
- type ScaleUpInstanceResponseParams
- type SearchTags
- type SlowQueryRecord
- type Tag
Constants ¶
const APIVersion = "2021-12-28"
const (
// Internal error.
INTERNALERROR = "InternalError"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AttachCBSSpec ¶
type AttachCBSSpec struct { // Node disk type, such as CLOUD_SSD"\"CLOUD_PREMIUM DiskType *string `json:"DiskType,omitnil,omitempty" name:"DiskType"` // Disk capacity, in GB DiskSize *int64 `json:"DiskSize,omitnil,omitempty" name:"DiskSize"` // Total number of disks DiskCount *int64 `json:"DiskCount,omitnil,omitempty" name:"DiskCount"` // Description DiskDesc *string `json:"DiskDesc,omitnil,omitempty" name:"DiskDesc"` }
type ChargeProperties ¶
type ChargeProperties struct { // Billing type: PREPAID for prepayment, and POSTPAID_BY_HOUR for postpayment. // Note: This field may return null, indicating that no valid values can be obtained. ChargeType *string `json:"ChargeType,omitnil,omitempty" name:"ChargeType"` // Whether to automatically renew. 1 means automatic renewal is enabled. // Note: This field may return null, indicating that no valid values can be obtained. RenewFlag *int64 `json:"RenewFlag,omitnil,omitempty" name:"RenewFlag"` // Billing duration // Note: This field may return null, indicating that no valid values can be obtained. TimeSpan *int64 `json:"TimeSpan,omitnil,omitempty" name:"TimeSpan"` // Billing time unit, and "m" means month, etc. // Note: This field may return null, indicating that no valid values can be obtained. TimeUnit *string `json:"TimeUnit,omitnil,omitempty" name:"TimeUnit"` }
type Client ¶
func NewClient ¶
func NewClient(credential common.CredentialIface, region string, clientProfile *profile.ClientProfile) (client *Client, err error)
func NewClientWithSecretId ¶
Deprecated
func (*Client) CreateInstanceNew ¶
func (c *Client) CreateInstanceNew(request *CreateInstanceNewRequest) (response *CreateInstanceNewResponse, err error)
CreateInstanceNew This API is used to create clusters.
func (*Client) CreateInstanceNewWithContext ¶
func (c *Client) CreateInstanceNewWithContext(ctx context.Context, request *CreateInstanceNewRequest) (response *CreateInstanceNewResponse, err error)
CreateInstanceNew This API is used to create clusters.
func (*Client) DescribeClusterConfigs ¶
func (c *Client) DescribeClusterConfigs(request *DescribeClusterConfigsRequest) (response *DescribeClusterConfigsResponse, err error)
DescribeClusterConfigs This API is used to get the contents of the latest configuration files (config.xml, metrika.xml, and user.xml) of the cluster and display them to the user.
func (*Client) DescribeClusterConfigsWithContext ¶
func (c *Client) DescribeClusterConfigsWithContext(ctx context.Context, request *DescribeClusterConfigsRequest) (response *DescribeClusterConfigsResponse, err error)
DescribeClusterConfigs This API is used to get the contents of the latest configuration files (config.xml, metrika.xml, and user.xml) of the cluster and display them to the user.
func (*Client) DescribeDatabaseAuditDownload ¶
func (c *Client) DescribeDatabaseAuditDownload(request *DescribeDatabaseAuditDownloadRequest) (response *DescribeDatabaseAuditDownloadResponse, err error)
DescribeDatabaseAuditDownload This API is used to download database audit logs.
func (*Client) DescribeDatabaseAuditDownloadWithContext ¶
func (c *Client) DescribeDatabaseAuditDownloadWithContext(ctx context.Context, request *DescribeDatabaseAuditDownloadRequest) (response *DescribeDatabaseAuditDownloadResponse, err error)
DescribeDatabaseAuditDownload This API is used to download database audit logs.
func (*Client) DescribeDatabaseAuditRecords ¶
func (c *Client) DescribeDatabaseAuditRecords(request *DescribeDatabaseAuditRecordsRequest) (response *DescribeDatabaseAuditRecordsResponse, err error)
DescribeDatabaseAuditRecords This API is used to get database audit records.
func (*Client) DescribeDatabaseAuditRecordsWithContext ¶
func (c *Client) DescribeDatabaseAuditRecordsWithContext(ctx context.Context, request *DescribeDatabaseAuditRecordsRequest) (response *DescribeDatabaseAuditRecordsResponse, err error)
DescribeDatabaseAuditRecords This API is used to get database audit records.
func (*Client) DescribeInstance ¶
func (c *Client) DescribeInstance(request *DescribeInstanceRequest) (response *DescribeInstanceResponse, err error)
DescribeInstance This API is used to query the specific information of a cluster based on the cluster ID.
func (*Client) DescribeInstanceNodes ¶
func (c *Client) DescribeInstanceNodes(request *DescribeInstanceNodesRequest) (response *DescribeInstanceNodesResponse, err error)
DescribeInstanceNodes This API is used to get the list of cluster node information.
func (*Client) DescribeInstanceNodesInfo ¶
func (c *Client) DescribeInstanceNodesInfo(request *DescribeInstanceNodesInfoRequest) (response *DescribeInstanceNodesInfoResponse, err error)
DescribeInstanceNodesInfo This API is used to get the BE/FE node roles.
func (*Client) DescribeInstanceNodesInfoWithContext ¶
func (c *Client) DescribeInstanceNodesInfoWithContext(ctx context.Context, request *DescribeInstanceNodesInfoRequest) (response *DescribeInstanceNodesInfoResponse, err error)
DescribeInstanceNodesInfo This API is used to get the BE/FE node roles.
func (*Client) DescribeInstanceNodesWithContext ¶
func (c *Client) DescribeInstanceNodesWithContext(ctx context.Context, request *DescribeInstanceNodesRequest) (response *DescribeInstanceNodesResponse, err error)
DescribeInstanceNodes This API is used to get the list of cluster node information.
func (*Client) DescribeInstanceState ¶
func (c *Client) DescribeInstanceState(request *DescribeInstanceStateRequest) (response *DescribeInstanceStateResponse, err error)
DescribeInstanceState This API is used to display cluster status, process progress, etc. in the cluster details page.
func (*Client) DescribeInstanceStateWithContext ¶
func (c *Client) DescribeInstanceStateWithContext(ctx context.Context, request *DescribeInstanceStateRequest) (response *DescribeInstanceStateResponse, err error)
DescribeInstanceState This API is used to display cluster status, process progress, etc. in the cluster details page.
func (*Client) DescribeInstanceWithContext ¶
func (c *Client) DescribeInstanceWithContext(ctx context.Context, request *DescribeInstanceRequest) (response *DescribeInstanceResponse, err error)
DescribeInstance This API is used to query the specific information of a cluster based on the cluster ID.
func (*Client) DescribeInstances ¶
func (c *Client) DescribeInstances(request *DescribeInstancesRequest) (response *DescribeInstancesResponse, err error)
DescribeInstances This API is used to get the list of clusters.
error code that may be returned:
INTERNALERROR = "InternalError"
func (*Client) DescribeInstancesWithContext ¶
func (c *Client) DescribeInstancesWithContext(ctx context.Context, request *DescribeInstancesRequest) (response *DescribeInstancesResponse, err error)
DescribeInstances This API is used to get the list of clusters.
error code that may be returned:
INTERNALERROR = "InternalError"
func (*Client) DescribeSlowQueryRecords ¶
func (c *Client) DescribeSlowQueryRecords(request *DescribeSlowQueryRecordsRequest) (response *DescribeSlowQueryRecordsResponse, err error)
DescribeSlowQueryRecords This API is used to get the slow log list.
error code that may be returned:
INTERNALERROR = "InternalError"
func (*Client) DescribeSlowQueryRecordsDownload ¶
func (c *Client) DescribeSlowQueryRecordsDownload(request *DescribeSlowQueryRecordsDownloadRequest) (response *DescribeSlowQueryRecordsDownloadResponse, err error)
DescribeSlowQueryRecordsDownload This API is used to download slow log files.
error code that may be returned:
INTERNALERROR = "InternalError"
func (*Client) DescribeSlowQueryRecordsDownloadWithContext ¶
func (c *Client) DescribeSlowQueryRecordsDownloadWithContext(ctx context.Context, request *DescribeSlowQueryRecordsDownloadRequest) (response *DescribeSlowQueryRecordsDownloadResponse, err error)
DescribeSlowQueryRecordsDownload This API is used to download slow log files.
error code that may be returned:
INTERNALERROR = "InternalError"
func (*Client) DescribeSlowQueryRecordsWithContext ¶
func (c *Client) DescribeSlowQueryRecordsWithContext(ctx context.Context, request *DescribeSlowQueryRecordsRequest) (response *DescribeSlowQueryRecordsResponse, err error)
DescribeSlowQueryRecords This API is used to get the slow log list.
error code that may be returned:
INTERNALERROR = "InternalError"
func (*Client) DestroyInstance ¶
func (c *Client) DestroyInstance(request *DestroyInstanceRequest) (response *DestroyInstanceResponse, err error)
DestroyInstance This API is used to terminate clusters.
error code that may be returned:
INTERNALERROR = "InternalError"
func (*Client) DestroyInstanceWithContext ¶
func (c *Client) DestroyInstanceWithContext(ctx context.Context, request *DestroyInstanceRequest) (response *DestroyInstanceResponse, err error)
DestroyInstance This API is used to terminate clusters.
error code that may be returned:
INTERNALERROR = "InternalError"
func (*Client) ModifyInstance ¶
func (c *Client) ModifyInstance(request *ModifyInstanceRequest) (response *ModifyInstanceResponse, err error)
ModifyInstance This API is used to modify the cluster's name.
error code that may be returned:
INTERNALERROR = "InternalError"
func (*Client) ModifyInstanceWithContext ¶
func (c *Client) ModifyInstanceWithContext(ctx context.Context, request *ModifyInstanceRequest) (response *ModifyInstanceResponse, err error)
ModifyInstance This API is used to modify the cluster's name.
error code that may be returned:
INTERNALERROR = "InternalError"
func (*Client) ResizeDisk ¶
func (c *Client) ResizeDisk(request *ResizeDiskRequest) (response *ResizeDiskResponse, err error)
ResizeDisk This API is used to expand cloud disks.
error code that may be returned:
INTERNALERROR = "InternalError"
func (*Client) ResizeDiskWithContext ¶
func (c *Client) ResizeDiskWithContext(ctx context.Context, request *ResizeDiskRequest) (response *ResizeDiskResponse, err error)
ResizeDisk This API is used to expand cloud disks.
error code that may be returned:
INTERNALERROR = "InternalError"
func (*Client) RestartClusterForNode ¶
func (c *Client) RestartClusterForNode(request *RestartClusterForNodeRequest) (response *RestartClusterForNodeResponse, err error)
RestartClusterForNode This API is used to indicate the rolling restart of the clusters.
error code that may be returned:
INTERNALERROR = "InternalError"
func (*Client) RestartClusterForNodeWithContext ¶
func (c *Client) RestartClusterForNodeWithContext(ctx context.Context, request *RestartClusterForNodeRequest) (response *RestartClusterForNodeResponse, err error)
RestartClusterForNode This API is used to indicate the rolling restart of the clusters.
error code that may be returned:
INTERNALERROR = "InternalError"
func (*Client) ScaleOutInstance ¶
func (c *Client) ScaleOutInstance(request *ScaleOutInstanceRequest) (response *ScaleOutInstanceResponse, err error)
ScaleOutInstance This API is used to horizontally scale out nodes.
error code that may be returned:
INTERNALERROR = "InternalError"
func (*Client) ScaleOutInstanceWithContext ¶
func (c *Client) ScaleOutInstanceWithContext(ctx context.Context, request *ScaleOutInstanceRequest) (response *ScaleOutInstanceResponse, err error)
ScaleOutInstance This API is used to horizontally scale out nodes.
error code that may be returned:
INTERNALERROR = "InternalError"
func (*Client) ScaleUpInstance ¶
func (c *Client) ScaleUpInstance(request *ScaleUpInstanceRequest) (response *ScaleUpInstanceResponse, err error)
ScaleUpInstance This API is used to scale up/down computing resources.
error code that may be returned:
INTERNALERROR = "InternalError"
func (*Client) ScaleUpInstanceWithContext ¶
func (c *Client) ScaleUpInstanceWithContext(ctx context.Context, request *ScaleUpInstanceRequest) (response *ScaleUpInstanceResponse, err error)
ScaleUpInstance This API is used to scale up/down computing resources.
error code that may be returned:
INTERNALERROR = "InternalError"
type ClusterConfigsInfoFromEMR ¶
type ClusterConfigsInfoFromEMR struct { // Configuration file's name FileName *string `json:"FileName,omitnil,omitempty" name:"FileName"` // Related attribute information corresponding to the configuration files FileConf *string `json:"FileConf,omitnil,omitempty" name:"FileConf"` // Other attribute information corresponding to the configuration files KeyConf *string `json:"KeyConf,omitnil,omitempty" name:"KeyConf"` // Contents of the configuration files, base64 encoded OriParam *string `json:"OriParam,omitnil,omitempty" name:"OriParam"` // This is used to indicate whether the current configuration file has been modified without a restart, and reminds the user that a restart is needed. NeedRestart *int64 `json:"NeedRestart,omitnil,omitempty" name:"NeedRestart"` // Configuration file path // Note: This field may return null, indicating that no valid values can be obtained. FilePath *string `json:"FilePath,omitnil,omitempty" name:"FilePath"` // kv value of a configuration file // Note: This field may return null, indicating that no valid values can be obtained. // // Deprecated: FileKeyValues is deprecated. FileKeyValues *string `json:"FileKeyValues,omitnil,omitempty" name:"FileKeyValues"` // kv value of a configuration file // Note: This field may return null, indicating that no valid values can be obtained. FileKeyValuesNew []*ConfigKeyValue `json:"FileKeyValuesNew,omitnil,omitempty" name:"FileKeyValuesNew"` }
type ConfigKeyValue ¶
type ConfigKeyValue struct { // key // Note: This field may return null, indicating that no valid values can be obtained. KeyName *string `json:"KeyName,omitnil,omitempty" name:"KeyName"` // Value // Note: This field may return null, indicating that no valid values can be obtained. Value *string `json:"Value,omitnil,omitempty" name:"Value"` // Notes // Note: This field may return null, indicating that no valid values can be obtained. Message *string `json:"Message,omitnil,omitempty" name:"Message"` // 1 indicates read-only, 2 indicates editable but undeletable, and 3 indicates deletable. // Note: This field may return null, indicating that no valid values can be obtained. Display *int64 `json:"Display,omitnil,omitempty" name:"Display"` // 0 means not supported, and 1 means hot update is supported. // Note: This field may return null, indicating that no valid values can be obtained. SupportHotUpdate *int64 `json:"SupportHotUpdate,omitnil,omitempty" name:"SupportHotUpdate"` }
type CreateInstanceNewRequest ¶
type CreateInstanceNewRequest struct { *tchttp.BaseRequest // Availability zone Zone *string `json:"Zone,omitnil,omitempty" name:"Zone"` // FE specifications FeSpec *CreateInstanceSpec `json:"FeSpec,omitnil,omitempty" name:"FeSpec"` // BE specifications. BeSpec *CreateInstanceSpec `json:"BeSpec,omitnil,omitempty" name:"BeSpec"` // Whether it is highly available. HaFlag *bool `json:"HaFlag,omitnil,omitempty" name:"HaFlag"` // User VPCID UserVPCId *string `json:"UserVPCId,omitnil,omitempty" name:"UserVPCId"` // User subnet ID UserSubnetId *string `json:"UserSubnetId,omitnil,omitempty" name:"UserSubnetId"` // Product version number ProductVersion *string `json:"ProductVersion,omitnil,omitempty" name:"ProductVersion"` // Payment type ChargeProperties *ChargeProperties `json:"ChargeProperties,omitnil,omitempty" name:"ChargeProperties"` // Instance name InstanceName *string `json:"InstanceName,omitnil,omitempty" name:"InstanceName"` // Database password DorisUserPwd *string `json:"DorisUserPwd,omitnil,omitempty" name:"DorisUserPwd"` // Tag list Tags []*Tag `json:"Tags,omitnil,omitempty" name:"Tags"` // High availability type: // 0 indicates non-high availability (only one FE, FeSpec.CreateInstanceSpec.Count=1), // 1 indicates read high availability (at least 3 FEs must be deployed, FeSpec.CreateInstanceSpec.Count>=3, and it must be an odd number), // 2 indicates read and write high availability (at least 5 FEs must be deployed, FeSpec.CreateInstanceSpec.Count>=5, and it must be an odd number). HaType *int64 `json:"HaType,omitnil,omitempty" name:"HaType"` // Whether the table name is case sensitive, 0 refers to sensitive, 1 refers to insensitive, compared in lowercase; 2 refers to insensitive, and the table name is changed to lowercase for storage. CaseSensitive *int64 `json:"CaseSensitive,omitnil,omitempty" name:"CaseSensitive"` // Whether to enable multi-availability zone. EnableMultiZones *bool `json:"EnableMultiZones,omitnil,omitempty" name:"EnableMultiZones"` // After the Multi-AZ is enabled, all user's Availability Zones and Subnets information are shown. UserMultiZoneInfos *NetworkInfo `json:"UserMultiZoneInfos,omitnil,omitempty" name:"UserMultiZoneInfos"` }
func NewCreateInstanceNewRequest ¶
func NewCreateInstanceNewRequest() (request *CreateInstanceNewRequest)
func (*CreateInstanceNewRequest) FromJsonString ¶
func (r *CreateInstanceNewRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateInstanceNewRequest) ToJsonString ¶
func (r *CreateInstanceNewRequest) ToJsonString() string
type CreateInstanceNewRequestParams ¶
type CreateInstanceNewRequestParams struct { // Availability zone Zone *string `json:"Zone,omitnil,omitempty" name:"Zone"` // FE specifications FeSpec *CreateInstanceSpec `json:"FeSpec,omitnil,omitempty" name:"FeSpec"` // BE specifications. BeSpec *CreateInstanceSpec `json:"BeSpec,omitnil,omitempty" name:"BeSpec"` // Whether it is highly available. HaFlag *bool `json:"HaFlag,omitnil,omitempty" name:"HaFlag"` // User VPCID UserVPCId *string `json:"UserVPCId,omitnil,omitempty" name:"UserVPCId"` // User subnet ID UserSubnetId *string `json:"UserSubnetId,omitnil,omitempty" name:"UserSubnetId"` // Product version number ProductVersion *string `json:"ProductVersion,omitnil,omitempty" name:"ProductVersion"` // Payment type ChargeProperties *ChargeProperties `json:"ChargeProperties,omitnil,omitempty" name:"ChargeProperties"` // Instance name InstanceName *string `json:"InstanceName,omitnil,omitempty" name:"InstanceName"` // Database password DorisUserPwd *string `json:"DorisUserPwd,omitnil,omitempty" name:"DorisUserPwd"` // Tag list Tags []*Tag `json:"Tags,omitnil,omitempty" name:"Tags"` // High availability type: // 0 indicates non-high availability (only one FE, FeSpec.CreateInstanceSpec.Count=1), // 1 indicates read high availability (at least 3 FEs must be deployed, FeSpec.CreateInstanceSpec.Count>=3, and it must be an odd number), // 2 indicates read and write high availability (at least 5 FEs must be deployed, FeSpec.CreateInstanceSpec.Count>=5, and it must be an odd number). HaType *int64 `json:"HaType,omitnil,omitempty" name:"HaType"` // Whether the table name is case sensitive, 0 refers to sensitive, 1 refers to insensitive, compared in lowercase; 2 refers to insensitive, and the table name is changed to lowercase for storage. CaseSensitive *int64 `json:"CaseSensitive,omitnil,omitempty" name:"CaseSensitive"` // Whether to enable multi-availability zone. EnableMultiZones *bool `json:"EnableMultiZones,omitnil,omitempty" name:"EnableMultiZones"` // After the Multi-AZ is enabled, all user's Availability Zones and Subnets information are shown. UserMultiZoneInfos *NetworkInfo `json:"UserMultiZoneInfos,omitnil,omitempty" name:"UserMultiZoneInfos"` }
Predefined struct for user
type CreateInstanceNewResponse ¶
type CreateInstanceNewResponse struct { *tchttp.BaseResponse Response *CreateInstanceNewResponseParams `json:"Response"` }
func NewCreateInstanceNewResponse ¶
func NewCreateInstanceNewResponse() (response *CreateInstanceNewResponse)
func (*CreateInstanceNewResponse) FromJsonString ¶
func (r *CreateInstanceNewResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateInstanceNewResponse) ToJsonString ¶
func (r *CreateInstanceNewResponse) ToJsonString() string
type CreateInstanceNewResponseParams ¶
type CreateInstanceNewResponseParams struct { // Process ID FlowId *string `json:"FlowId,omitnil,omitempty" name:"FlowId"` // Instance ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Error message 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 CreateInstanceSpec ¶
type DataBaseAuditRecord ¶
type DataBaseAuditRecord struct { // Query user // Note: This field may return null, indicating that no valid values can be obtained. OsUser *string `json:"OsUser,omitnil,omitempty" name:"OsUser"` // Query ID // Note: This field may return null, indicating that no valid values can be obtained. InitialQueryId *string `json:"InitialQueryId,omitnil,omitempty" name:"InitialQueryId"` // SQL statement // Note: This field may return null, indicating that no valid values can be obtained. Sql *string `json:"Sql,omitnil,omitempty" name:"Sql"` // Start time // Note: This field may return null, indicating that no valid values can be obtained. QueryStartTime *string `json:"QueryStartTime,omitnil,omitempty" name:"QueryStartTime"` // Execution duration // Note: This field may return null, indicating that no valid values can be obtained. DurationMs *int64 `json:"DurationMs,omitnil,omitempty" name:"DurationMs"` // The number of read rows // Note: This field may return null, indicating that no valid values can be obtained. ReadRows *int64 `json:"ReadRows,omitnil,omitempty" name:"ReadRows"` // Total number of read bytes // Note: This field may return null, indicating that no valid values can be obtained. ResultRows *int64 `json:"ResultRows,omitnil,omitempty" name:"ResultRows"` // Result bytes // Note: This field may return null, indicating that no valid values can be obtained. ResultBytes *uint64 `json:"ResultBytes,omitnil,omitempty" name:"ResultBytes"` // Memory // Note: This field may return null, indicating that no valid values can be obtained. MemoryUsage *int64 `json:"MemoryUsage,omitnil,omitempty" name:"MemoryUsage"` // Initial query IP // Note: This field may return null, indicating that no valid values can be obtained. InitialAddress *string `json:"InitialAddress,omitnil,omitempty" name:"InitialAddress"` // Database // Note: This field may return null, indicating that no valid values can be obtained. DbName *string `json:"DbName,omitnil,omitempty" name:"DbName"` // SQL type // Note: This field may return null, indicating that no valid values can be obtained. SqlType *string `json:"SqlType,omitnil,omitempty" name:"SqlType"` // Catalog name // Note: This field may return null, indicating that no valid values can be obtained. Catalog *string `json:"Catalog,omitnil,omitempty" name:"Catalog"` }
type DescribeClusterConfigsRequest ¶
type DescribeClusterConfigsRequest struct { *tchttp.BaseRequest // Cluster instance ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // 0 indicates public cloud query, and 1 Qinge query. Qinge query shows all that needs to be displayed. ConfigType *int64 `json:"ConfigType,omitnil,omitempty" name:"ConfigType"` // Search for files with fuzzy keywords FileName *string `json:"FileName,omitnil,omitempty" name:"FileName"` // 0 indicates cluster dimension and 1 node dimension ClusterConfigType *int64 `json:"ClusterConfigType,omitnil,omitempty" name:"ClusterConfigType"` // eth0's IP address IPAddress *string `json:"IPAddress,omitnil,omitempty" name:"IPAddress"` }
func NewDescribeClusterConfigsRequest ¶
func NewDescribeClusterConfigsRequest() (request *DescribeClusterConfigsRequest)
func (*DescribeClusterConfigsRequest) FromJsonString ¶
func (r *DescribeClusterConfigsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeClusterConfigsRequest) ToJsonString ¶
func (r *DescribeClusterConfigsRequest) ToJsonString() string
type DescribeClusterConfigsRequestParams ¶
type DescribeClusterConfigsRequestParams struct { // Cluster instance ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // 0 indicates public cloud query, and 1 Qinge query. Qinge query shows all that needs to be displayed. ConfigType *int64 `json:"ConfigType,omitnil,omitempty" name:"ConfigType"` // Search for files with fuzzy keywords FileName *string `json:"FileName,omitnil,omitempty" name:"FileName"` // 0 indicates cluster dimension and 1 node dimension ClusterConfigType *int64 `json:"ClusterConfigType,omitnil,omitempty" name:"ClusterConfigType"` // eth0's IP address IPAddress *string `json:"IPAddress,omitnil,omitempty" name:"IPAddress"` }
Predefined struct for user
type DescribeClusterConfigsResponse ¶
type DescribeClusterConfigsResponse struct { *tchttp.BaseResponse Response *DescribeClusterConfigsResponseParams `json:"Response"` }
func NewDescribeClusterConfigsResponse ¶
func NewDescribeClusterConfigsResponse() (response *DescribeClusterConfigsResponse)
func (*DescribeClusterConfigsResponse) FromJsonString ¶
func (r *DescribeClusterConfigsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeClusterConfigsResponse) ToJsonString ¶
func (r *DescribeClusterConfigsResponse) ToJsonString() string
type DescribeClusterConfigsResponseParams ¶
type DescribeClusterConfigsResponseParams struct { // Return information about the instance's configuration file. ClusterConfList []*ClusterConfigsInfoFromEMR `json:"ClusterConfList,omitnil,omitempty" name:"ClusterConfList"` // Return the current kernel version. If it does not exist, a null character string is returned. BuildVersion *string `json:"BuildVersion,omitnil,omitempty" name:"BuildVersion"` // 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 DescribeDatabaseAuditDownloadRequest ¶
type DescribeDatabaseAuditDownloadRequest struct { *tchttp.BaseRequest // Instance ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Start time StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"` // End time EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"` // Paging PageSize *int64 `json:"PageSize,omitnil,omitempty" name:"PageSize"` // Paging PageNum *int64 `json:"PageNum,omitnil,omitempty" name:"PageNum"` // Sort parameters OrderType *string `json:"OrderType,omitnil,omitempty" name:"OrderType"` // User User *string `json:"User,omitnil,omitempty" name:"User"` // Database DbName *string `json:"DbName,omitnil,omitempty" name:"DbName"` // SQL type SqlType *string `json:"SqlType,omitnil,omitempty" name:"SqlType"` // SQL statement Sql *string `json:"Sql,omitnil,omitempty" name:"Sql"` // Users (multiple selections) Users []*string `json:"Users,omitnil,omitempty" name:"Users"` // Databases (multiple selections) DbNames []*string `json:"DbNames,omitnil,omitempty" name:"DbNames"` // SQL types (multiple selections) SqlTypes []*string `json:"SqlTypes,omitnil,omitempty" name:"SqlTypes"` // Catalog names (multiple selections) Catalogs []*string `json:"Catalogs,omitnil,omitempty" name:"Catalogs"` }
func NewDescribeDatabaseAuditDownloadRequest ¶
func NewDescribeDatabaseAuditDownloadRequest() (request *DescribeDatabaseAuditDownloadRequest)
func (*DescribeDatabaseAuditDownloadRequest) FromJsonString ¶
func (r *DescribeDatabaseAuditDownloadRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDatabaseAuditDownloadRequest) ToJsonString ¶
func (r *DescribeDatabaseAuditDownloadRequest) ToJsonString() string
type DescribeDatabaseAuditDownloadRequestParams ¶
type DescribeDatabaseAuditDownloadRequestParams struct { // Instance ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Start time StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"` // End time EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"` // Paging PageSize *int64 `json:"PageSize,omitnil,omitempty" name:"PageSize"` // Paging PageNum *int64 `json:"PageNum,omitnil,omitempty" name:"PageNum"` // Sort parameters OrderType *string `json:"OrderType,omitnil,omitempty" name:"OrderType"` // User User *string `json:"User,omitnil,omitempty" name:"User"` // Database DbName *string `json:"DbName,omitnil,omitempty" name:"DbName"` // SQL type SqlType *string `json:"SqlType,omitnil,omitempty" name:"SqlType"` // SQL statement Sql *string `json:"Sql,omitnil,omitempty" name:"Sql"` // Users (multiple selections) Users []*string `json:"Users,omitnil,omitempty" name:"Users"` // Databases (multiple selections) DbNames []*string `json:"DbNames,omitnil,omitempty" name:"DbNames"` // SQL types (multiple selections) SqlTypes []*string `json:"SqlTypes,omitnil,omitempty" name:"SqlTypes"` // Catalog names (multiple selections) Catalogs []*string `json:"Catalogs,omitnil,omitempty" name:"Catalogs"` }
Predefined struct for user
type DescribeDatabaseAuditDownloadResponse ¶
type DescribeDatabaseAuditDownloadResponse struct { *tchttp.BaseResponse Response *DescribeDatabaseAuditDownloadResponseParams `json:"Response"` }
func NewDescribeDatabaseAuditDownloadResponse ¶
func NewDescribeDatabaseAuditDownloadResponse() (response *DescribeDatabaseAuditDownloadResponse)
func (*DescribeDatabaseAuditDownloadResponse) FromJsonString ¶
func (r *DescribeDatabaseAuditDownloadResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDatabaseAuditDownloadResponse) ToJsonString ¶
func (r *DescribeDatabaseAuditDownloadResponse) ToJsonString() string
type DescribeDatabaseAuditDownloadResponseParams ¶
type DescribeDatabaseAuditDownloadResponseParams struct { // The cos address of the log CosUrl *string `json:"CosUrl,omitnil,omitempty" name:"CosUrl"` // 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 DescribeDatabaseAuditRecordsRequest ¶
type DescribeDatabaseAuditRecordsRequest struct { *tchttp.BaseRequest // Instance ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Start time StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"` // End time EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"` // Paging PageSize *int64 `json:"PageSize,omitnil,omitempty" name:"PageSize"` // Paging PageNum *int64 `json:"PageNum,omitnil,omitempty" name:"PageNum"` // Sort parameters OrderType *string `json:"OrderType,omitnil,omitempty" name:"OrderType"` // User User *string `json:"User,omitnil,omitempty" name:"User"` // Database DbName *string `json:"DbName,omitnil,omitempty" name:"DbName"` // SQL type SqlType *string `json:"SqlType,omitnil,omitempty" name:"SqlType"` // SQL statement Sql *string `json:"Sql,omitnil,omitempty" name:"Sql"` // Users (multiple selections) Users []*string `json:"Users,omitnil,omitempty" name:"Users"` // Databases (multiple selections) DbNames []*string `json:"DbNames,omitnil,omitempty" name:"DbNames"` // SQL types (multiple selections) SqlTypes []*string `json:"SqlTypes,omitnil,omitempty" name:"SqlTypes"` // Catalog names (multiple selections) Catalogs []*string `json:"Catalogs,omitnil,omitempty" name:"Catalogs"` }
func NewDescribeDatabaseAuditRecordsRequest ¶
func NewDescribeDatabaseAuditRecordsRequest() (request *DescribeDatabaseAuditRecordsRequest)
func (*DescribeDatabaseAuditRecordsRequest) FromJsonString ¶
func (r *DescribeDatabaseAuditRecordsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDatabaseAuditRecordsRequest) ToJsonString ¶
func (r *DescribeDatabaseAuditRecordsRequest) ToJsonString() string
type DescribeDatabaseAuditRecordsRequestParams ¶
type DescribeDatabaseAuditRecordsRequestParams struct { // Instance ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Start time StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"` // End time EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"` // Paging PageSize *int64 `json:"PageSize,omitnil,omitempty" name:"PageSize"` // Paging PageNum *int64 `json:"PageNum,omitnil,omitempty" name:"PageNum"` // Sort parameters OrderType *string `json:"OrderType,omitnil,omitempty" name:"OrderType"` // User User *string `json:"User,omitnil,omitempty" name:"User"` // Database DbName *string `json:"DbName,omitnil,omitempty" name:"DbName"` // SQL type SqlType *string `json:"SqlType,omitnil,omitempty" name:"SqlType"` // SQL statement Sql *string `json:"Sql,omitnil,omitempty" name:"Sql"` // Users (multiple selections) Users []*string `json:"Users,omitnil,omitempty" name:"Users"` // Databases (multiple selections) DbNames []*string `json:"DbNames,omitnil,omitempty" name:"DbNames"` // SQL types (multiple selections) SqlTypes []*string `json:"SqlTypes,omitnil,omitempty" name:"SqlTypes"` // Catalog names (multiple selections) Catalogs []*string `json:"Catalogs,omitnil,omitempty" name:"Catalogs"` }
Predefined struct for user
type DescribeDatabaseAuditRecordsResponse ¶
type DescribeDatabaseAuditRecordsResponse struct { *tchttp.BaseResponse Response *DescribeDatabaseAuditRecordsResponseParams `json:"Response"` }
func NewDescribeDatabaseAuditRecordsResponse ¶
func NewDescribeDatabaseAuditRecordsResponse() (response *DescribeDatabaseAuditRecordsResponse)
func (*DescribeDatabaseAuditRecordsResponse) FromJsonString ¶
func (r *DescribeDatabaseAuditRecordsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDatabaseAuditRecordsResponse) ToJsonString ¶
func (r *DescribeDatabaseAuditRecordsResponse) ToJsonString() string
type DescribeDatabaseAuditRecordsResponseParams ¶
type DescribeDatabaseAuditRecordsResponseParams struct { // Total TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // Record list SlowQueryRecords *DataBaseAuditRecord `json:"SlowQueryRecords,omitnil,omitempty" name:"SlowQueryRecords"` // 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 DescribeInstanceNodesInfoRequest ¶
type DescribeInstanceNodesInfoRequest struct { *tchttp.BaseRequest // Cluster ID InstanceID *string `json:"InstanceID,omitnil,omitempty" name:"InstanceID"` }
func NewDescribeInstanceNodesInfoRequest ¶
func NewDescribeInstanceNodesInfoRequest() (request *DescribeInstanceNodesInfoRequest)
func (*DescribeInstanceNodesInfoRequest) FromJsonString ¶
func (r *DescribeInstanceNodesInfoRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeInstanceNodesInfoRequest) ToJsonString ¶
func (r *DescribeInstanceNodesInfoRequest) ToJsonString() string
type DescribeInstanceNodesInfoRequestParams ¶
type DescribeInstanceNodesInfoRequestParams struct { // Cluster ID InstanceID *string `json:"InstanceID,omitnil,omitempty" name:"InstanceID"` }
Predefined struct for user
type DescribeInstanceNodesInfoResponse ¶
type DescribeInstanceNodesInfoResponse struct { *tchttp.BaseResponse Response *DescribeInstanceNodesInfoResponseParams `json:"Response"` }
func NewDescribeInstanceNodesInfoResponse ¶
func NewDescribeInstanceNodesInfoResponse() (response *DescribeInstanceNodesInfoResponse)
func (*DescribeInstanceNodesInfoResponse) FromJsonString ¶
func (r *DescribeInstanceNodesInfoResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeInstanceNodesInfoResponse) ToJsonString ¶
func (r *DescribeInstanceNodesInfoResponse) ToJsonString() string
type DescribeInstanceNodesInfoResponseParams ¶
type DescribeInstanceNodesInfoResponseParams struct { // Be node // Note: This field may return null, indicating that no valid values can be obtained. BeNodes []*string `json:"BeNodes,omitnil,omitempty" name:"BeNodes"` // Fe node // Note: This field may return null, indicating that no valid values can be obtained. FeNodes []*string `json:"FeNodes,omitnil,omitempty" name:"FeNodes"` // Fe master node FeMaster *string `json:"FeMaster,omitnil,omitempty" name:"FeMaster"` // Be node information // Note: This field may return null, indicating that no valid values can be obtained. BeNodeInfos []*NodeInfo `json:"BeNodeInfos,omitnil,omitempty" name:"BeNodeInfos"` // Fe node information // Note: This field may return null, indicating that no valid values can be obtained. FeNodeInfos []*NodeInfo `json:"FeNodeInfos,omitnil,omitempty" name:"FeNodeInfos"` // 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 DescribeInstanceNodesRequest ¶
type DescribeInstanceNodesRequest struct { *tchttp.BaseRequest // Cluster instance ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Cluster role type, defaulted as "data node". NodeRole *string `json:"NodeRole,omitnil,omitempty" name:"NodeRole"` // Pagination parameters. The first page is 0, and the second page is 10. Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Pagination parameters. The pagination step length is 10 by default. Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // Display policy, and all items are displayed when All is selected. DisplayPolicy *string `json:"DisplayPolicy,omitnil,omitempty" name:"DisplayPolicy"` }
func NewDescribeInstanceNodesRequest ¶
func NewDescribeInstanceNodesRequest() (request *DescribeInstanceNodesRequest)
func (*DescribeInstanceNodesRequest) FromJsonString ¶
func (r *DescribeInstanceNodesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeInstanceNodesRequest) ToJsonString ¶
func (r *DescribeInstanceNodesRequest) ToJsonString() string
type DescribeInstanceNodesRequestParams ¶
type DescribeInstanceNodesRequestParams struct { // Cluster instance ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Cluster role type, defaulted as "data node". NodeRole *string `json:"NodeRole,omitnil,omitempty" name:"NodeRole"` // Pagination parameters. The first page is 0, and the second page is 10. Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Pagination parameters. The pagination step length is 10 by default. Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // Display policy, and all items are displayed when All is selected. DisplayPolicy *string `json:"DisplayPolicy,omitnil,omitempty" name:"DisplayPolicy"` }
Predefined struct for user
type DescribeInstanceNodesResponse ¶
type DescribeInstanceNodesResponse struct { *tchttp.BaseResponse Response *DescribeInstanceNodesResponseParams `json:"Response"` }
func NewDescribeInstanceNodesResponse ¶
func NewDescribeInstanceNodesResponse() (response *DescribeInstanceNodesResponse)
func (*DescribeInstanceNodesResponse) FromJsonString ¶
func (r *DescribeInstanceNodesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeInstanceNodesResponse) ToJsonString ¶
func (r *DescribeInstanceNodesResponse) ToJsonString() string
type DescribeInstanceNodesResponseParams ¶
type DescribeInstanceNodesResponseParams struct { // Total number TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // Total number of instance nodes // Note: This field may return null, indicating that no valid values can be obtained. InstanceNodesList []*InstanceNode `json:"InstanceNodesList,omitnil,omitempty" name:"InstanceNodesList"` // 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 DescribeInstanceRequest ¶
type DescribeInstanceRequest struct { *tchttp.BaseRequest // Cluster instance ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` }
func NewDescribeInstanceRequest ¶
func NewDescribeInstanceRequest() (request *DescribeInstanceRequest)
func (*DescribeInstanceRequest) FromJsonString ¶
func (r *DescribeInstanceRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeInstanceRequest) ToJsonString ¶
func (r *DescribeInstanceRequest) ToJsonString() string
type DescribeInstanceRequestParams ¶
type DescribeInstanceRequestParams struct { // Cluster instance ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` }
Predefined struct for user
type DescribeInstanceResponse ¶
type DescribeInstanceResponse struct { *tchttp.BaseResponse Response *DescribeInstanceResponseParams `json:"Response"` }
func NewDescribeInstanceResponse ¶
func NewDescribeInstanceResponse() (response *DescribeInstanceResponse)
func (*DescribeInstanceResponse) FromJsonString ¶
func (r *DescribeInstanceResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeInstanceResponse) ToJsonString ¶
func (r *DescribeInstanceResponse) ToJsonString() string
type DescribeInstanceResponseParams ¶
type DescribeInstanceResponseParams struct { // Instance description information InstanceInfo *InstanceInfo `json:"InstanceInfo,omitnil,omitempty" name:"InstanceInfo"` // 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 DescribeInstanceStateRequest ¶
type DescribeInstanceStateRequest struct { *tchttp.BaseRequest // Cluster instance name InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` }
func NewDescribeInstanceStateRequest ¶
func NewDescribeInstanceStateRequest() (request *DescribeInstanceStateRequest)
func (*DescribeInstanceStateRequest) FromJsonString ¶
func (r *DescribeInstanceStateRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeInstanceStateRequest) ToJsonString ¶
func (r *DescribeInstanceStateRequest) ToJsonString() string
type DescribeInstanceStateRequestParams ¶
type DescribeInstanceStateRequestParams struct { // Cluster instance name InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` }
Predefined struct for user
type DescribeInstanceStateResponse ¶
type DescribeInstanceStateResponse struct { *tchttp.BaseResponse Response *DescribeInstanceStateResponseParams `json:"Response"` }
func NewDescribeInstanceStateResponse ¶
func NewDescribeInstanceStateResponse() (response *DescribeInstanceStateResponse)
func (*DescribeInstanceStateResponse) FromJsonString ¶
func (r *DescribeInstanceStateResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeInstanceStateResponse) ToJsonString ¶
func (r *DescribeInstanceStateResponse) ToJsonString() string
type DescribeInstanceStateResponseParams ¶
type DescribeInstanceStateResponseParams struct { // Cluster status. Example: Serving InstanceState *string `json:"InstanceState,omitnil,omitempty" name:"InstanceState"` // Creation time of cluster operation // Note: This field may return null, indicating that no valid values can be obtained. FlowCreateTime *string `json:"FlowCreateTime,omitnil,omitempty" name:"FlowCreateTime"` // Cluster operation name // Note: This field may return null, indicating that no valid values can be obtained. FlowName *string `json:"FlowName,omitnil,omitempty" name:"FlowName"` // Cluster operation progress // Note: This field may return null, indicating that no valid values can be obtained. FlowProgress *float64 `json:"FlowProgress,omitnil,omitempty" name:"FlowProgress"` // Cluster status description. Example: running // Note: This field may return null, indicating that no valid values can be obtained. InstanceStateDesc *string `json:"InstanceStateDesc,omitnil,omitempty" name:"InstanceStateDesc"` // Cluster process error messages, such as "Creation failed, insufficient resources" // Note: This field may return null, indicating that no valid values can be obtained. FlowMsg *string `json:"FlowMsg,omitnil,omitempty" name:"FlowMsg"` // 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 // The name of the cluster ID for the search SearchInstanceId *string `json:"SearchInstanceId,omitnil,omitempty" name:"SearchInstanceId"` // The cluster name for the search SearchInstanceName *string `json:"SearchInstanceName,omitnil,omitempty" name:"SearchInstanceName"` // Pagination parameters. The first page is 0, and the second page is 10. Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Pagination parameters. The pagination step length is 10 by default. Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // Search tag list SearchTags []*SearchTags `json:"SearchTags,omitnil,omitempty" name:"SearchTags"` }
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 { // The name of the cluster ID for the search SearchInstanceId *string `json:"SearchInstanceId,omitnil,omitempty" name:"SearchInstanceId"` // The cluster name for the search SearchInstanceName *string `json:"SearchInstanceName,omitnil,omitempty" name:"SearchInstanceName"` // Pagination parameters. The first page is 0, and the second page is 10. Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Pagination parameters. The pagination step length is 10 by default. Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // Search tag list SearchTags []*SearchTags `json:"SearchTags,omitnil,omitempty" name:"SearchTags"` }
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 { // Total Number of Instances TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // Quantities of instances array InstancesList []*InstanceInfo `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 DescribeSlowQueryRecordsDownloadRequest ¶
type DescribeSlowQueryRecordsDownloadRequest struct { *tchttp.BaseRequest // Instance ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Slow log time QueryDurationMs *int64 `json:"QueryDurationMs,omitnil,omitempty" name:"QueryDurationMs"` // Start time StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"` // End time EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"` // Sort parameters DurationMs *string `json:"DurationMs,omitnil,omitempty" name:"DurationMs"` // Query SQL Sql *string `json:"Sql,omitnil,omitempty" name:"Sql"` // Sort parameters ReadRows *string `json:"ReadRows,omitnil,omitempty" name:"ReadRows"` // Sort parameters ResultBytes *string `json:"ResultBytes,omitnil,omitempty" name:"ResultBytes"` // Sort parameters MemoryUsage *string `json:"MemoryUsage,omitnil,omitempty" name:"MemoryUsage"` // IsQuery condition IsQuery *int64 `json:"IsQuery,omitnil,omitempty" name:"IsQuery"` // Database name DbName []*string `json:"DbName,omitnil,omitempty" name:"DbName"` // catalog name CatalogName []*string `json:"CatalogName,omitnil,omitempty" name:"CatalogName"` }
func NewDescribeSlowQueryRecordsDownloadRequest ¶
func NewDescribeSlowQueryRecordsDownloadRequest() (request *DescribeSlowQueryRecordsDownloadRequest)
func (*DescribeSlowQueryRecordsDownloadRequest) FromJsonString ¶
func (r *DescribeSlowQueryRecordsDownloadRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeSlowQueryRecordsDownloadRequest) ToJsonString ¶
func (r *DescribeSlowQueryRecordsDownloadRequest) ToJsonString() string
type DescribeSlowQueryRecordsDownloadRequestParams ¶
type DescribeSlowQueryRecordsDownloadRequestParams struct { // Instance ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Slow log time QueryDurationMs *int64 `json:"QueryDurationMs,omitnil,omitempty" name:"QueryDurationMs"` // Start time StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"` // End time EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"` // Sort parameters DurationMs *string `json:"DurationMs,omitnil,omitempty" name:"DurationMs"` // Query SQL Sql *string `json:"Sql,omitnil,omitempty" name:"Sql"` // Sort parameters ReadRows *string `json:"ReadRows,omitnil,omitempty" name:"ReadRows"` // Sort parameters ResultBytes *string `json:"ResultBytes,omitnil,omitempty" name:"ResultBytes"` // Sort parameters MemoryUsage *string `json:"MemoryUsage,omitnil,omitempty" name:"MemoryUsage"` // IsQuery condition IsQuery *int64 `json:"IsQuery,omitnil,omitempty" name:"IsQuery"` // Database name DbName []*string `json:"DbName,omitnil,omitempty" name:"DbName"` // catalog name CatalogName []*string `json:"CatalogName,omitnil,omitempty" name:"CatalogName"` }
Predefined struct for user
type DescribeSlowQueryRecordsDownloadResponse ¶
type DescribeSlowQueryRecordsDownloadResponse struct { *tchttp.BaseResponse Response *DescribeSlowQueryRecordsDownloadResponseParams `json:"Response"` }
func NewDescribeSlowQueryRecordsDownloadResponse ¶
func NewDescribeSlowQueryRecordsDownloadResponse() (response *DescribeSlowQueryRecordsDownloadResponse)
func (*DescribeSlowQueryRecordsDownloadResponse) FromJsonString ¶
func (r *DescribeSlowQueryRecordsDownloadResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeSlowQueryRecordsDownloadResponse) ToJsonString ¶
func (r *DescribeSlowQueryRecordsDownloadResponse) ToJsonString() string
type DescribeSlowQueryRecordsDownloadResponseParams ¶
type DescribeSlowQueryRecordsDownloadResponseParams struct { // cos address CosUrl *string `json:"CosUrl,omitnil,omitempty" name:"CosUrl"` // 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 DescribeSlowQueryRecordsRequest ¶
type DescribeSlowQueryRecordsRequest struct { *tchttp.BaseRequest // Instance ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Slow log time QueryDurationMs *int64 `json:"QueryDurationMs,omitnil,omitempty" name:"QueryDurationMs"` // Start time StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"` // End time EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"` // Paging PageSize *int64 `json:"PageSize,omitnil,omitempty" name:"PageSize"` // Paging PageNum *int64 `json:"PageNum,omitnil,omitempty" name:"PageNum"` // Sort parameters DurationMs *string `json:"DurationMs,omitnil,omitempty" name:"DurationMs"` // Database name DbName []*string `json:"DbName,omitnil,omitempty" name:"DbName"` // Whether it is a query. 0 indicates no, and 1 indicates yes. IsQuery *int64 `json:"IsQuery,omitnil,omitempty" name:"IsQuery"` // catalog name CatalogName []*string `json:"CatalogName,omitnil,omitempty" name:"CatalogName"` // SQL name Sql *string `json:"Sql,omitnil,omitempty" name:"Sql"` // ReadRows sort field ReadRows *string `json:"ReadRows,omitnil,omitempty" name:"ReadRows"` // ResultBytes sort field ResultBytes *string `json:"ResultBytes,omitnil,omitempty" name:"ResultBytes"` // MemoryUsage sort field MemoryUsage *string `json:"MemoryUsage,omitnil,omitempty" name:"MemoryUsage"` }
func NewDescribeSlowQueryRecordsRequest ¶
func NewDescribeSlowQueryRecordsRequest() (request *DescribeSlowQueryRecordsRequest)
func (*DescribeSlowQueryRecordsRequest) FromJsonString ¶
func (r *DescribeSlowQueryRecordsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeSlowQueryRecordsRequest) ToJsonString ¶
func (r *DescribeSlowQueryRecordsRequest) ToJsonString() string
type DescribeSlowQueryRecordsRequestParams ¶
type DescribeSlowQueryRecordsRequestParams struct { // Instance ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Slow log time QueryDurationMs *int64 `json:"QueryDurationMs,omitnil,omitempty" name:"QueryDurationMs"` // Start time StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"` // End time EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"` // Paging PageSize *int64 `json:"PageSize,omitnil,omitempty" name:"PageSize"` // Paging PageNum *int64 `json:"PageNum,omitnil,omitempty" name:"PageNum"` // Sort parameters DurationMs *string `json:"DurationMs,omitnil,omitempty" name:"DurationMs"` // Database name DbName []*string `json:"DbName,omitnil,omitempty" name:"DbName"` // Whether it is a query. 0 indicates no, and 1 indicates yes. IsQuery *int64 `json:"IsQuery,omitnil,omitempty" name:"IsQuery"` // catalog name CatalogName []*string `json:"CatalogName,omitnil,omitempty" name:"CatalogName"` // SQL name Sql *string `json:"Sql,omitnil,omitempty" name:"Sql"` // ReadRows sort field ReadRows *string `json:"ReadRows,omitnil,omitempty" name:"ReadRows"` // ResultBytes sort field ResultBytes *string `json:"ResultBytes,omitnil,omitempty" name:"ResultBytes"` // MemoryUsage sort field MemoryUsage *string `json:"MemoryUsage,omitnil,omitempty" name:"MemoryUsage"` }
Predefined struct for user
type DescribeSlowQueryRecordsResponse ¶
type DescribeSlowQueryRecordsResponse struct { *tchttp.BaseResponse Response *DescribeSlowQueryRecordsResponseParams `json:"Response"` }
func NewDescribeSlowQueryRecordsResponse ¶
func NewDescribeSlowQueryRecordsResponse() (response *DescribeSlowQueryRecordsResponse)
func (*DescribeSlowQueryRecordsResponse) FromJsonString ¶
func (r *DescribeSlowQueryRecordsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeSlowQueryRecordsResponse) ToJsonString ¶
func (r *DescribeSlowQueryRecordsResponse) ToJsonString() string
type DescribeSlowQueryRecordsResponseParams ¶
type DescribeSlowQueryRecordsResponseParams struct { // Total TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // Record list SlowQueryRecords []*SlowQueryRecord `json:"SlowQueryRecords,omitnil,omitempty" name:"SlowQueryRecords"` // All database names // Note: This field may return null, indicating that no valid values can be obtained. DBNameList []*string `json:"DBNameList,omitnil,omitempty" name:"DBNameList"` // All catalog names // Note: This field may return null, indicating that no valid values can be obtained. CatalogNameList []*string `json:"CatalogNameList,omitnil,omitempty" name:"CatalogNameList"` // 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 DestroyInstanceRequest ¶
type DestroyInstanceRequest struct { *tchttp.BaseRequest // Cluster ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` }
func NewDestroyInstanceRequest ¶
func NewDestroyInstanceRequest() (request *DestroyInstanceRequest)
func (*DestroyInstanceRequest) FromJsonString ¶
func (r *DestroyInstanceRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DestroyInstanceRequest) ToJsonString ¶
func (r *DestroyInstanceRequest) ToJsonString() string
type DestroyInstanceRequestParams ¶
type DestroyInstanceRequestParams struct { // Cluster ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` }
Predefined struct for user
type DestroyInstanceResponse ¶
type DestroyInstanceResponse struct { *tchttp.BaseResponse Response *DestroyInstanceResponseParams `json:"Response"` }
func NewDestroyInstanceResponse ¶
func NewDestroyInstanceResponse() (response *DestroyInstanceResponse)
func (*DestroyInstanceResponse) FromJsonString ¶
func (r *DestroyInstanceResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DestroyInstanceResponse) ToJsonString ¶
func (r *DestroyInstanceResponse) ToJsonString() string
type DestroyInstanceResponseParams ¶
type DestroyInstanceResponseParams struct { // Process ID FlowId *string `json:"FlowId,omitnil,omitempty" name:"FlowId"` // Cluster ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Error message 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 InstanceInfo ¶
type InstanceInfo struct { // Cluster instance ID, "cdw-xxxx" string type // Note: This field may return null, indicating that no valid values can be obtained. InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Cluster instance name // Note: This field may return null, indicating that no valid values can be obtained. InstanceName *string `json:"InstanceName,omitnil,omitempty" name:"InstanceName"` // Status, // Init is being created. Serving is running. // Deleted indicates the cluster has been terminated. Deleting indicates the cluster is being terminated. // Modify indicates the cluster is being changed. // Note: This field may return null, indicating that no valid values can be obtained. Status *string `json:"Status,omitnil,omitempty" name:"Status"` // Version // Note: This field may return null, indicating that no valid values can be obtained. Version *string `json:"Version,omitnil,omitempty" name:"Version"` // Region, ap-guangzhou // Note: This field may return null, indicating that no valid values can be obtained. Region *string `json:"Region,omitnil,omitempty" name:"Region"` // Availability zone, ap-guangzhou-3 // Note: This field may return null, indicating that no valid values can be obtained. Zone *string `json:"Zone,omitnil,omitempty" name:"Zone"` // VPC name // Note: This field may return null, indicating that no valid values can be obtained. VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"` // Subnet name // Note: This field may return null, indicating that no valid values can be obtained. SubnetId *string `json:"SubnetId,omitnil,omitempty" name:"SubnetId"` // Payment type: hour and prepay // Note: This field may return null, indicating that no valid values can be obtained. PayMode *string `json:"PayMode,omitnil,omitempty" name:"PayMode"` // Creation time // Note: This field may return null, indicating that no valid values can be obtained. CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"` // Expiration time // Note: This field may return null, indicating that no valid values can be obtained. ExpireTime *string `json:"ExpireTime,omitnil,omitempty" name:"ExpireTime"` // Data node description information // Note: This field may return null, indicating that no valid values can be obtained. MasterSummary *NodesSummary `json:"MasterSummary,omitnil,omitempty" name:"MasterSummary"` // Zookeeper node description information // Note: This field may return null, indicating that no valid values can be obtained. CoreSummary *NodesSummary `json:"CoreSummary,omitnil,omitempty" name:"CoreSummary"` // High availability, being true or false // Note: This field may return null, indicating that no valid values can be obtained. HA *string `json:"HA,omitnil,omitempty" name:"HA"` // High availability type: // 0: non-high availability // 1: read high availability // 2: read-write high availability // Note: This field may return null, indicating that no valid values can be obtained. HaType *int64 `json:"HaType,omitnil,omitempty" name:"HaType"` // Access address. Example: 10.0.0.1:9000 // Note: This field may return null, indicating that no valid values can be obtained. AccessInfo *string `json:"AccessInfo,omitnil,omitempty" name:"AccessInfo"` // Record ID, in numerical type // Note: This field may return null, indicating that no valid values can be obtained. Id *int64 `json:"Id,omitnil,omitempty" name:"Id"` // Region ID, indicating the region // Note: This field may return null, indicating that no valid values can be obtained. RegionId *int64 `json:"RegionId,omitnil,omitempty" name:"RegionId"` // Note about availability zone, such as Guangzhou Zone 2 // Note: This field may return null, indicating that no valid values can be obtained. ZoneDesc *string `json:"ZoneDesc,omitnil,omitempty" name:"ZoneDesc"` // Error process description information // Note: This field may return null, indicating that no valid values can be obtained. FlowMsg *string `json:"FlowMsg,omitnil,omitempty" name:"FlowMsg"` // Status description, such as "running" // Note: This field may return null, indicating that no valid values can be obtained. StatusDesc *string `json:"StatusDesc,omitnil,omitempty" name:"StatusDesc"` // Automatic renewal marker // Note: This field may return null, indicating that no valid values can be obtained. RenewFlag *bool `json:"RenewFlag,omitnil,omitempty" name:"RenewFlag"` // Tag list // Note: This field may return null, indicating that no valid values can be obtained. Tags []*Tag `json:"Tags,omitnil,omitempty" name:"Tags"` // Monitoring Information // Note: This field may return null, indicating that no valid values can be obtained. Monitor *string `json:"Monitor,omitnil,omitempty" name:"Monitor"` // Whether to enable logs. // Note: This field may return null, indicating that no valid values can be obtained. HasClsTopic *bool `json:"HasClsTopic,omitnil,omitempty" name:"HasClsTopic"` // Log Topic ID // Note: This field may return null, indicating that no valid values can be obtained. ClsTopicId *string `json:"ClsTopicId,omitnil,omitempty" name:"ClsTopicId"` // Logset ID // Note: This field may return null, indicating that no valid values can be obtained. ClsLogSetId *string `json:"ClsLogSetId,omitnil,omitempty" name:"ClsLogSetId"` // Whether to support XML configuration management. // Note: This field may return null, indicating that no valid values can be obtained. EnableXMLConfig *int64 `json:"EnableXMLConfig,omitnil,omitempty" name:"EnableXMLConfig"` // Region // Note: This field may return null, indicating that no valid values can be obtained. RegionDesc *string `json:"RegionDesc,omitnil,omitempty" name:"RegionDesc"` // Elastic network interface address // Note: This field may return null, indicating that no valid values can be obtained. Eip *string `json:"Eip,omitnil,omitempty" name:"Eip"` // Cold and hot stratification coefficient // Note: This field may return null, indicating that no valid values can be obtained. CosMoveFactor *int64 `json:"CosMoveFactor,omitnil,omitempty" name:"CosMoveFactor"` // external/local/yunti // Note: This field may return null, indicating that no valid values can be obtained. Kind *string `json:"Kind,omitnil,omitempty" name:"Kind"` // COS bucket // Note: This field may return null, indicating that no valid values can be obtained. CosBucketName *string `json:"CosBucketName,omitnil,omitempty" name:"CosBucketName"` // cbs // Note: This field may return null, indicating that no valid values can be obtained. CanAttachCbs *bool `json:"CanAttachCbs,omitnil,omitempty" name:"CanAttachCbs"` // Minor versions // Note: This field may return null, indicating that no valid values can be obtained. BuildVersion *string `json:"BuildVersion,omitnil,omitempty" name:"BuildVersion"` // Component Information // Note: The return type here is map[string]struct, not the string type displayed. You can refer to "Sample Value" to parse the data. // Note: This field may return null, indicating that no valid values can be obtained. Components *string `json:"Components,omitnil,omitempty" name:"Components"` // Determine whether the audit log table has a catalog field. // Note: This field may return null, indicating that no valid values can be obtained. // // Deprecated: IfExistCatalog is deprecated. IfExistCatalog *int64 `json:"IfExistCatalog,omitnil,omitempty" name:"IfExistCatalog"` // Page features, used to block some page entrances on the front end. // Note: This field may return null, indicating that no valid values can be obtained. Characteristic []*string `json:"Characteristic,omitnil,omitempty" name:"Characteristic"` // Timeout period, in seconds // Note: This field may return null, indicating that no valid values can be obtained. RestartTimeout *string `json:"RestartTimeout,omitnil,omitempty" name:"RestartTimeout"` // The timeout time for the graceful restart of the kernel. If it is -1, it means it is not set. // Note: This field may return null, indicating that no valid values can be obtained. GraceShutdownWaitSeconds *string `json:"GraceShutdownWaitSeconds,omitnil,omitempty" name:"GraceShutdownWaitSeconds"` // Whether the table name is case sensitive, 0 refers to sensitive, 1 refers to insensitive, compared in lowercase; 2 refers to insensitive, and the table name is changed to lowercase for storage. // Note: This field may return null, indicating that no valid values can be obtained. CaseSensitive *int64 `json:"CaseSensitive,omitnil,omitempty" name:"CaseSensitive"` // Whether users can bind security groups. // Note: This field may return null, indicating that no valid values can be obtained. IsWhiteSGs *bool `json:"IsWhiteSGs,omitnil,omitempty" name:"IsWhiteSGs"` // Bound security group information // Note: This field may return null, indicating that no valid values can be obtained. BindSGs []*string `json:"BindSGs,omitnil,omitempty" name:"BindSGs"` // Whether it is a multi-AZ. // Note: This field may return null, indicating that no valid values can be obtained. EnableMultiZones *bool `json:"EnableMultiZones,omitnil,omitempty" name:"EnableMultiZones"` // User availability zone and subnet information // Note: This field may return null, indicating that no valid values can be obtained. UserNetworkInfos *string `json:"UserNetworkInfos,omitnil,omitempty" name:"UserNetworkInfos"` // Whether to enable hot and cold stratification. 0 refers to disabled, and 1 refers to enabled. // Note: This field may return null, indicating that no valid values can be obtained. EnableCoolDown *int64 `json:"EnableCoolDown,omitnil,omitempty" name:"EnableCoolDown"` // COS buckets are used for hot and cold stratification // Note: This field may return null, indicating that no valid values can be obtained. CoolDownBucket *string `json:"CoolDownBucket,omitnil,omitempty" name:"CoolDownBucket"` }
type InstanceNode ¶
type InstanceNode struct { // IP address Ip *string `json:"Ip,omitnil,omitempty" name:"Ip"` // Model, such as S1 Spec *string `json:"Spec,omitnil,omitempty" name:"Spec"` // Number of CPU cores Core *int64 `json:"Core,omitnil,omitempty" name:"Core"` // Memory size Memory *int64 `json:"Memory,omitnil,omitempty" name:"Memory"` // Disk type DiskType *string `json:"DiskType,omitnil,omitempty" name:"DiskType"` // Disk size DiskSize *int64 `json:"DiskSize,omitnil,omitempty" name:"DiskSize"` // The name of the clickhouse cluster to which it belongs. Role *string `json:"Role,omitnil,omitempty" name:"Role"` // Status // Note: This field may return null, indicating that no valid values can be obtained. Status *string `json:"Status,omitnil,omitempty" name:"Status"` // rip // Note: This field may return null, indicating that no valid values can be obtained. Rip *string `json:"Rip,omitnil,omitempty" name:"Rip"` // FE node role // Note: This field may return null, indicating that no valid values can be obtained. FeRole *string `json:"FeRole,omitnil,omitempty" name:"FeRole"` // UUID // Note: This field may return null, indicating that no valid values can be obtained. UUID *string `json:"UUID,omitnil,omitempty" name:"UUID"` }
type ModifyInstanceRequest ¶
type ModifyInstanceRequest struct { *tchttp.BaseRequest // Instance ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Newly modified instance name InstanceName *string `json:"InstanceName,omitnil,omitempty" name:"InstanceName"` }
func NewModifyInstanceRequest ¶
func NewModifyInstanceRequest() (request *ModifyInstanceRequest)
func (*ModifyInstanceRequest) FromJsonString ¶
func (r *ModifyInstanceRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyInstanceRequest) ToJsonString ¶
func (r *ModifyInstanceRequest) ToJsonString() string
type ModifyInstanceRequestParams ¶
type ModifyInstanceRequestParams struct { // Instance ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Newly modified instance name InstanceName *string `json:"InstanceName,omitnil,omitempty" name:"InstanceName"` }
Predefined struct for user
type ModifyInstanceResponse ¶
type ModifyInstanceResponse struct { *tchttp.BaseResponse Response *ModifyInstanceResponseParams `json:"Response"` }
func NewModifyInstanceResponse ¶
func NewModifyInstanceResponse() (response *ModifyInstanceResponse)
func (*ModifyInstanceResponse) FromJsonString ¶
func (r *ModifyInstanceResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyInstanceResponse) ToJsonString ¶
func (r *ModifyInstanceResponse) ToJsonString() string
type ModifyInstanceResponseParams ¶
type ModifyInstanceResponseParams 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 NetworkInfo ¶
type NetworkInfo struct { // Availability zone // Note: This field may return null, indicating that no valid values can be obtained. Zone *string `json:"Zone,omitnil,omitempty" name:"Zone"` // Subnet ID // Note: This field may return null, indicating that no valid values can be obtained. SubnetId *string `json:"SubnetId,omitnil,omitempty" name:"SubnetId"` // The number of available IP addresses in the current subnet // Note: This field may return null, indicating that no valid values can be obtained. SubnetIpNum *int64 `json:"SubnetIpNum,omitnil,omitempty" name:"SubnetIpNum"` }
type NodeInfo ¶
type NodeInfo struct { // User IP // Note: This field may return null, indicating that no valid values can be obtained. Ip *string `json:"Ip,omitnil,omitempty" name:"Ip"` // Node status // Note: This field may return null, indicating that no valid values can be obtained. Status *int64 `json:"Status,omitnil,omitempty" name:"Status"` // Node role name // Note: This field may return null, indicating that no valid values can be obtained. NodeName *string `json:"NodeName,omitnil,omitempty" name:"NodeName"` // Component name // Note: This field may return null, indicating that no valid values can be obtained. ComponentName *string `json:"ComponentName,omitnil,omitempty" name:"ComponentName"` // Node role // Note: This field may return null, indicating that no valid values can be obtained. NodeRole *string `json:"NodeRole,omitnil,omitempty" name:"NodeRole"` // The time when the node was last restarted // Note: This field may return null, indicating that no valid values can be obtained. LastRestartTime *string `json:"LastRestartTime,omitnil,omitempty" name:"LastRestartTime"` // The availability zone where the node is located // Note: This field may return null, indicating that no valid values can be obtained. Zone *string `json:"Zone,omitnil,omitempty" name:"Zone"` }
type NodesSummary ¶
type NodesSummary struct { // Model, such as S1 Spec *string `json:"Spec,omitnil,omitempty" name:"Spec"` // Number of nodes NodeSize *int64 `json:"NodeSize,omitnil,omitempty" name:"NodeSize"` // Number of CPU cores, in counts Core *int64 `json:"Core,omitnil,omitempty" name:"Core"` // Memory size, in GB Memory *int64 `json:"Memory,omitnil,omitempty" name:"Memory"` // Disk size, in GB Disk *int64 `json:"Disk,omitnil,omitempty" name:"Disk"` // Disk type DiskType *string `json:"DiskType,omitnil,omitempty" name:"DiskType"` // Disk description DiskDesc *string `json:"DiskDesc,omitnil,omitempty" name:"DiskDesc"` // Information of mounted cloud disks // Note: This field may return null, indicating that no valid values can be obtained. AttachCBSSpec *AttachCBSSpec `json:"AttachCBSSpec,omitnil,omitempty" name:"AttachCBSSpec"` // Sub-product name // Note: This field may return null, indicating that no valid values can be obtained. SubProductType *string `json:"SubProductType,omitnil,omitempty" name:"SubProductType"` // Specified cores // Note: This field may return null, indicating that no valid values can be obtained. SpecCore *int64 `json:"SpecCore,omitnil,omitempty" name:"SpecCore"` // Specified memory // Note: This field may return null, indicating that no valid values can be obtained. SpecMemory *int64 `json:"SpecMemory,omitnil,omitempty" name:"SpecMemory"` // Disk size // Note: This field may return null, indicating that no valid values can be obtained. DiskCount *int64 `json:"DiskCount,omitnil,omitempty" name:"DiskCount"` // Whether it is encrypted. // Note: This field may return null, indicating that no valid values can be obtained. Encrypt *int64 `json:"Encrypt,omitnil,omitempty" name:"Encrypt"` // Maximum disk // Note: This field may return null, indicating that no valid values can be obtained. MaxDiskSize *int64 `json:"MaxDiskSize,omitnil,omitempty" name:"MaxDiskSize"` }
type ResizeDiskRequest ¶
type ResizeDiskRequest struct { *tchttp.BaseRequest // Cluster ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Role (MATER/CORE), MASTER corresponds to FE, CORE corresponds to BE. Type *string `json:"Type,omitnil,omitempty" name:"Type"` // Cloud disk size DiskSize *uint64 `json:"DiskSize,omitnil,omitempty" name:"DiskSize"` }
func NewResizeDiskRequest ¶
func NewResizeDiskRequest() (request *ResizeDiskRequest)
func (*ResizeDiskRequest) FromJsonString ¶
func (r *ResizeDiskRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ResizeDiskRequest) ToJsonString ¶
func (r *ResizeDiskRequest) ToJsonString() string
type ResizeDiskRequestParams ¶
type ResizeDiskRequestParams struct { // Cluster ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Role (MATER/CORE), MASTER corresponds to FE, CORE corresponds to BE. Type *string `json:"Type,omitnil,omitempty" name:"Type"` // Cloud disk size DiskSize *uint64 `json:"DiskSize,omitnil,omitempty" name:"DiskSize"` }
Predefined struct for user
type ResizeDiskResponse ¶
type ResizeDiskResponse struct { *tchttp.BaseResponse Response *ResizeDiskResponseParams `json:"Response"` }
func NewResizeDiskResponse ¶
func NewResizeDiskResponse() (response *ResizeDiskResponse)
func (*ResizeDiskResponse) FromJsonString ¶
func (r *ResizeDiskResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ResizeDiskResponse) ToJsonString ¶
func (r *ResizeDiskResponse) ToJsonString() string
type ResizeDiskResponseParams ¶
type ResizeDiskResponseParams struct { // Instance ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Process ID FlowId *string `json:"FlowId,omitnil,omitempty" name:"FlowId"` // Error message 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 RestartClusterForNodeRequest ¶
type RestartClusterForNodeRequest struct { *tchttp.BaseRequest // Cluster ID, such as cdwch-xxxx InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Configuration file's name ConfigName *string `json:"ConfigName,omitnil,omitempty" name:"ConfigName"` // Each batch of restarts BatchSize *int64 `json:"BatchSize,omitnil,omitempty" name:"BatchSize"` // Restart node NodeList []*string `json:"NodeList,omitnil,omitempty" name:"NodeList"` // False means non-rolling restart, and true means rolling restart. RollingRestart *bool `json:"RollingRestart,omitnil,omitempty" name:"RollingRestart"` }
func NewRestartClusterForNodeRequest ¶
func NewRestartClusterForNodeRequest() (request *RestartClusterForNodeRequest)
func (*RestartClusterForNodeRequest) FromJsonString ¶
func (r *RestartClusterForNodeRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*RestartClusterForNodeRequest) ToJsonString ¶
func (r *RestartClusterForNodeRequest) ToJsonString() string
type RestartClusterForNodeRequestParams ¶
type RestartClusterForNodeRequestParams struct { // Cluster ID, such as cdwch-xxxx InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Configuration file's name ConfigName *string `json:"ConfigName,omitnil,omitempty" name:"ConfigName"` // Each batch of restarts BatchSize *int64 `json:"BatchSize,omitnil,omitempty" name:"BatchSize"` // Restart node NodeList []*string `json:"NodeList,omitnil,omitempty" name:"NodeList"` // False means non-rolling restart, and true means rolling restart. RollingRestart *bool `json:"RollingRestart,omitnil,omitempty" name:"RollingRestart"` }
Predefined struct for user
type RestartClusterForNodeResponse ¶
type RestartClusterForNodeResponse struct { *tchttp.BaseResponse Response *RestartClusterForNodeResponseParams `json:"Response"` }
func NewRestartClusterForNodeResponse ¶
func NewRestartClusterForNodeResponse() (response *RestartClusterForNodeResponse)
func (*RestartClusterForNodeResponse) FromJsonString ¶
func (r *RestartClusterForNodeResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*RestartClusterForNodeResponse) ToJsonString ¶
func (r *RestartClusterForNodeResponse) ToJsonString() string
type RestartClusterForNodeResponseParams ¶
type RestartClusterForNodeResponseParams struct { // Process related information FlowId *int64 `json:"FlowId,omitnil,omitempty" name:"FlowId"` // Error message 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 ScaleOutInstanceRequest ¶
type ScaleOutInstanceRequest struct { *tchttp.BaseRequest // Cluster ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Role (MATER/CORE), MASTER corresponds to FE, CORE corresponds to BE. Type *string `json:"Type,omitnil,omitempty" name:"Type"` // Number of nodes NodeCount *uint64 `json:"NodeCount,omitnil,omitempty" name:"NodeCount"` // Cluster high availability type after scaled out: 0 indicates non-high availability, 1 indicates read high availability, and 2 indicates read-write high availability. HaType *int64 `json:"HaType,omitnil,omitempty" name:"HaType"` }
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 { // Cluster ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Role (MATER/CORE), MASTER corresponds to FE, CORE corresponds to BE. Type *string `json:"Type,omitnil,omitempty" name:"Type"` // Number of nodes NodeCount *uint64 `json:"NodeCount,omitnil,omitempty" name:"NodeCount"` // Cluster high availability type after scaled out: 0 indicates non-high availability, 1 indicates read high availability, and 2 indicates read-write high availability. HaType *int64 `json:"HaType,omitnil,omitempty" name:"HaType"` }
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 { // Process ID FlowId *string `json:"FlowId,omitnil,omitempty" name:"FlowId"` // Cluster ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Error message 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 ScaleUpInstanceRequest ¶
type ScaleUpInstanceRequest struct { *tchttp.BaseRequest // Cluster ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Node specifications SpecName *string `json:"SpecName,omitnil,omitempty" name:"SpecName"` // Role (MATER/CORE). MASTER corresponds to FE, and CORE corresponds to BE. Type *string `json:"Type,omitnil,omitempty" name:"Type"` }
func NewScaleUpInstanceRequest ¶
func NewScaleUpInstanceRequest() (request *ScaleUpInstanceRequest)
func (*ScaleUpInstanceRequest) FromJsonString ¶
func (r *ScaleUpInstanceRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ScaleUpInstanceRequest) ToJsonString ¶
func (r *ScaleUpInstanceRequest) ToJsonString() string
type ScaleUpInstanceRequestParams ¶
type ScaleUpInstanceRequestParams struct { // Cluster ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Node specifications SpecName *string `json:"SpecName,omitnil,omitempty" name:"SpecName"` // Role (MATER/CORE). MASTER corresponds to FE, and CORE corresponds to BE. Type *string `json:"Type,omitnil,omitempty" name:"Type"` }
Predefined struct for user
type ScaleUpInstanceResponse ¶
type ScaleUpInstanceResponse struct { *tchttp.BaseResponse Response *ScaleUpInstanceResponseParams `json:"Response"` }
func NewScaleUpInstanceResponse ¶
func NewScaleUpInstanceResponse() (response *ScaleUpInstanceResponse)
func (*ScaleUpInstanceResponse) FromJsonString ¶
func (r *ScaleUpInstanceResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ScaleUpInstanceResponse) ToJsonString ¶
func (r *ScaleUpInstanceResponse) ToJsonString() string
type ScaleUpInstanceResponseParams ¶
type ScaleUpInstanceResponseParams struct { // Process ID FlowId *string `json:"FlowId,omitnil,omitempty" name:"FlowId"` // Instance ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Error message 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 SearchTags ¶
type SearchTags struct { // Tag key TagKey *string `json:"TagKey,omitnil,omitempty" name:"TagKey"` // Tag value TagValue *string `json:"TagValue,omitnil,omitempty" name:"TagValue"` // 1 means only the tag key is entered without a value, and 0 means both the key and the value are entered. AllValue *int64 `json:"AllValue,omitnil,omitempty" name:"AllValue"` }
type SlowQueryRecord ¶
type SlowQueryRecord struct { // User query OsUser *string `json:"OsUser,omitnil,omitempty" name:"OsUser"` // ID query InitialQueryId *string `json:"InitialQueryId,omitnil,omitempty" name:"InitialQueryId"` // SQL statement Sql *string `json:"Sql,omitnil,omitempty" name:"Sql"` // Start time QueryStartTime *string `json:"QueryStartTime,omitnil,omitempty" name:"QueryStartTime"` // Execution duration DurationMs *int64 `json:"DurationMs,omitnil,omitempty" name:"DurationMs"` // The number of read rows ReadRows *int64 `json:"ReadRows,omitnil,omitempty" name:"ReadRows"` // Total number of read bytes ResultRows *int64 `json:"ResultRows,omitnil,omitempty" name:"ResultRows"` // Result bytes ResultBytes *uint64 `json:"ResultBytes,omitnil,omitempty" name:"ResultBytes"` // Memory MemoryUsage *int64 `json:"MemoryUsage,omitnil,omitempty" name:"MemoryUsage"` // Initial query IP InitialAddress *string `json:"InitialAddress,omitnil,omitempty" name:"InitialAddress"` // Database name // Note: This field may return null, indicating that no valid values can be obtained. DbName *string `json:"DbName,omitnil,omitempty" name:"DbName"` // Whether it is a query. 0 indicates no, and 1 indicates query statement. // Note: This field may return null, indicating that no valid values can be obtained. IsQuery *int64 `json:"IsQuery,omitnil,omitempty" name:"IsQuery"` // MB format of ResultBytes // Note: This field may return null, indicating that no valid values can be obtained. ResultBytesMB *float64 `json:"ResultBytesMB,omitnil,omitempty" name:"ResultBytesMB"` // MemoryUsage, in MB // Note: This field may return null, indicating that no valid values can be obtained. MemoryUsageMB *float64 `json:"MemoryUsageMB,omitnil,omitempty" name:"MemoryUsageMB"` // DurationMs, in seconds // Note: This field may return null, indicating that no valid values can be obtained. DurationSec *float64 `json:"DurationSec,omitnil,omitempty" name:"DurationSec"` }