Documentation ¶
Index ¶
- Constants
- type AddMachineGroupInfoRequest
- type AddMachineGroupInfoRequestParams
- type AddMachineGroupInfoResponse
- type AddMachineGroupInfoResponseParams
- type AlarmAnalysisConfig
- type AlarmClassification
- type AlarmInfo
- type AlarmNotice
- type AlarmShieldInfo
- type AlarmTarget
- type AlarmTargetInfo
- type AlertHistoryNotice
- type AlertHistoryRecord
- type AnalysisDimensional
- type AnonymousInfo
- type ApplyConfigToMachineGroupRequest
- type ApplyConfigToMachineGroupRequestParams
- type ApplyConfigToMachineGroupResponse
- type ApplyConfigToMachineGroupResponseParams
- type CallBackInfo
- type CheckFunctionRequest
- type CheckFunctionRequestParams
- type CheckFunctionResponse
- type CheckFunctionResponseParams
- type CheckRechargeKafkaServerRequest
- type CheckRechargeKafkaServerRequestParams
- type CheckRechargeKafkaServerResponse
- type CheckRechargeKafkaServerResponseParams
- type Ckafka
- type Client
- func (c *Client) AddMachineGroupInfo(request *AddMachineGroupInfoRequest) (response *AddMachineGroupInfoResponse, err error)
- func (c *Client) AddMachineGroupInfoWithContext(ctx context.Context, request *AddMachineGroupInfoRequest) (response *AddMachineGroupInfoResponse, err error)
- func (c *Client) ApplyConfigToMachineGroup(request *ApplyConfigToMachineGroupRequest) (response *ApplyConfigToMachineGroupResponse, err error)
- func (c *Client) ApplyConfigToMachineGroupWithContext(ctx context.Context, request *ApplyConfigToMachineGroupRequest) (response *ApplyConfigToMachineGroupResponse, err error)
- func (c *Client) CheckFunction(request *CheckFunctionRequest) (response *CheckFunctionResponse, err error)
- func (c *Client) CheckFunctionWithContext(ctx context.Context, request *CheckFunctionRequest) (response *CheckFunctionResponse, err error)
- func (c *Client) CheckRechargeKafkaServer(request *CheckRechargeKafkaServerRequest) (response *CheckRechargeKafkaServerResponse, err error)
- func (c *Client) CheckRechargeKafkaServerWithContext(ctx context.Context, request *CheckRechargeKafkaServerRequest) (response *CheckRechargeKafkaServerResponse, err error)
- func (c *Client) CloseKafkaConsumer(request *CloseKafkaConsumerRequest) (response *CloseKafkaConsumerResponse, err error)
- func (c *Client) CloseKafkaConsumerWithContext(ctx context.Context, request *CloseKafkaConsumerRequest) (response *CloseKafkaConsumerResponse, err error)
- func (c *Client) CreateAlarm(request *CreateAlarmRequest) (response *CreateAlarmResponse, err error)
- func (c *Client) CreateAlarmNotice(request *CreateAlarmNoticeRequest) (response *CreateAlarmNoticeResponse, err error)
- func (c *Client) CreateAlarmNoticeWithContext(ctx context.Context, request *CreateAlarmNoticeRequest) (response *CreateAlarmNoticeResponse, err error)
- func (c *Client) CreateAlarmShield(request *CreateAlarmShieldRequest) (response *CreateAlarmShieldResponse, err error)
- func (c *Client) CreateAlarmShieldWithContext(ctx context.Context, request *CreateAlarmShieldRequest) (response *CreateAlarmShieldResponse, err error)
- func (c *Client) CreateAlarmWithContext(ctx context.Context, request *CreateAlarmRequest) (response *CreateAlarmResponse, err error)
- func (c *Client) CreateConfig(request *CreateConfigRequest) (response *CreateConfigResponse, err error)
- func (c *Client) CreateConfigWithContext(ctx context.Context, request *CreateConfigRequest) (response *CreateConfigResponse, err error)
- func (c *Client) CreateConsumer(request *CreateConsumerRequest) (response *CreateConsumerResponse, err error)
- func (c *Client) CreateConsumerWithContext(ctx context.Context, request *CreateConsumerRequest) (response *CreateConsumerResponse, err error)
- func (c *Client) CreateCosRecharge(request *CreateCosRechargeRequest) (response *CreateCosRechargeResponse, err error)
- func (c *Client) CreateCosRechargeWithContext(ctx context.Context, request *CreateCosRechargeRequest) (response *CreateCosRechargeResponse, err error)
- func (c *Client) CreateDataTransform(request *CreateDataTransformRequest) (response *CreateDataTransformResponse, err error)
- func (c *Client) CreateDataTransformWithContext(ctx context.Context, request *CreateDataTransformRequest) (response *CreateDataTransformResponse, err error)
- func (c *Client) CreateDeliverCloudFunction(request *CreateDeliverCloudFunctionRequest) (response *CreateDeliverCloudFunctionResponse, err error)
- func (c *Client) CreateDeliverCloudFunctionWithContext(ctx context.Context, request *CreateDeliverCloudFunctionRequest) (response *CreateDeliverCloudFunctionResponse, err error)
- func (c *Client) CreateExport(request *CreateExportRequest) (response *CreateExportResponse, err error)
- func (c *Client) CreateExportWithContext(ctx context.Context, request *CreateExportRequest) (response *CreateExportResponse, err error)
- func (c *Client) CreateIndex(request *CreateIndexRequest) (response *CreateIndexResponse, err error)
- func (c *Client) CreateIndexWithContext(ctx context.Context, request *CreateIndexRequest) (response *CreateIndexResponse, err error)
- func (c *Client) CreateKafkaRecharge(request *CreateKafkaRechargeRequest) (response *CreateKafkaRechargeResponse, err error)
- func (c *Client) CreateKafkaRechargeWithContext(ctx context.Context, request *CreateKafkaRechargeRequest) (response *CreateKafkaRechargeResponse, err error)
- func (c *Client) CreateLogset(request *CreateLogsetRequest) (response *CreateLogsetResponse, err error)
- func (c *Client) CreateLogsetWithContext(ctx context.Context, request *CreateLogsetRequest) (response *CreateLogsetResponse, err error)
- func (c *Client) CreateMachineGroup(request *CreateMachineGroupRequest) (response *CreateMachineGroupResponse, err error)
- func (c *Client) CreateMachineGroupWithContext(ctx context.Context, request *CreateMachineGroupRequest) (response *CreateMachineGroupResponse, err error)
- func (c *Client) CreateScheduledSql(request *CreateScheduledSqlRequest) (response *CreateScheduledSqlResponse, err error)
- func (c *Client) CreateScheduledSqlWithContext(ctx context.Context, request *CreateScheduledSqlRequest) (response *CreateScheduledSqlResponse, err error)
- func (c *Client) CreateShipper(request *CreateShipperRequest) (response *CreateShipperResponse, err error)
- func (c *Client) CreateShipperWithContext(ctx context.Context, request *CreateShipperRequest) (response *CreateShipperResponse, err error)
- func (c *Client) CreateTopic(request *CreateTopicRequest) (response *CreateTopicResponse, err error)
- func (c *Client) CreateTopicWithContext(ctx context.Context, request *CreateTopicRequest) (response *CreateTopicResponse, err error)
- func (c *Client) DeleteAlarm(request *DeleteAlarmRequest) (response *DeleteAlarmResponse, err error)
- func (c *Client) DeleteAlarmNotice(request *DeleteAlarmNoticeRequest) (response *DeleteAlarmNoticeResponse, err error)
- func (c *Client) DeleteAlarmNoticeWithContext(ctx context.Context, request *DeleteAlarmNoticeRequest) (response *DeleteAlarmNoticeResponse, err error)
- func (c *Client) DeleteAlarmShield(request *DeleteAlarmShieldRequest) (response *DeleteAlarmShieldResponse, err error)
- func (c *Client) DeleteAlarmShieldWithContext(ctx context.Context, request *DeleteAlarmShieldRequest) (response *DeleteAlarmShieldResponse, err error)
- func (c *Client) DeleteAlarmWithContext(ctx context.Context, request *DeleteAlarmRequest) (response *DeleteAlarmResponse, err error)
- func (c *Client) DeleteConfig(request *DeleteConfigRequest) (response *DeleteConfigResponse, err error)
- func (c *Client) DeleteConfigFromMachineGroup(request *DeleteConfigFromMachineGroupRequest) (response *DeleteConfigFromMachineGroupResponse, err error)
- func (c *Client) DeleteConfigFromMachineGroupWithContext(ctx context.Context, request *DeleteConfigFromMachineGroupRequest) (response *DeleteConfigFromMachineGroupResponse, err error)
- func (c *Client) DeleteConfigWithContext(ctx context.Context, request *DeleteConfigRequest) (response *DeleteConfigResponse, err error)
- func (c *Client) DeleteConsumer(request *DeleteConsumerRequest) (response *DeleteConsumerResponse, err error)
- func (c *Client) DeleteConsumerWithContext(ctx context.Context, request *DeleteConsumerRequest) (response *DeleteConsumerResponse, err error)
- func (c *Client) DeleteDataTransform(request *DeleteDataTransformRequest) (response *DeleteDataTransformResponse, err error)
- func (c *Client) DeleteDataTransformWithContext(ctx context.Context, request *DeleteDataTransformRequest) (response *DeleteDataTransformResponse, err error)
- func (c *Client) DeleteExport(request *DeleteExportRequest) (response *DeleteExportResponse, err error)
- func (c *Client) DeleteExportWithContext(ctx context.Context, request *DeleteExportRequest) (response *DeleteExportResponse, err error)
- func (c *Client) DeleteIndex(request *DeleteIndexRequest) (response *DeleteIndexResponse, err error)
- func (c *Client) DeleteIndexWithContext(ctx context.Context, request *DeleteIndexRequest) (response *DeleteIndexResponse, err error)
- func (c *Client) DeleteKafkaRecharge(request *DeleteKafkaRechargeRequest) (response *DeleteKafkaRechargeResponse, err error)
- func (c *Client) DeleteKafkaRechargeWithContext(ctx context.Context, request *DeleteKafkaRechargeRequest) (response *DeleteKafkaRechargeResponse, err error)
- func (c *Client) DeleteLogset(request *DeleteLogsetRequest) (response *DeleteLogsetResponse, err error)
- func (c *Client) DeleteLogsetWithContext(ctx context.Context, request *DeleteLogsetRequest) (response *DeleteLogsetResponse, err error)
- func (c *Client) DeleteMachineGroup(request *DeleteMachineGroupRequest) (response *DeleteMachineGroupResponse, err error)
- func (c *Client) DeleteMachineGroupInfo(request *DeleteMachineGroupInfoRequest) (response *DeleteMachineGroupInfoResponse, err error)
- func (c *Client) DeleteMachineGroupInfoWithContext(ctx context.Context, request *DeleteMachineGroupInfoRequest) (response *DeleteMachineGroupInfoResponse, err error)
- func (c *Client) DeleteMachineGroupWithContext(ctx context.Context, request *DeleteMachineGroupRequest) (response *DeleteMachineGroupResponse, err error)
- func (c *Client) DeleteScheduledSql(request *DeleteScheduledSqlRequest) (response *DeleteScheduledSqlResponse, err error)
- func (c *Client) DeleteScheduledSqlWithContext(ctx context.Context, request *DeleteScheduledSqlRequest) (response *DeleteScheduledSqlResponse, err error)
- func (c *Client) DeleteShipper(request *DeleteShipperRequest) (response *DeleteShipperResponse, err error)
- func (c *Client) DeleteShipperWithContext(ctx context.Context, request *DeleteShipperRequest) (response *DeleteShipperResponse, err error)
- func (c *Client) DeleteTopic(request *DeleteTopicRequest) (response *DeleteTopicResponse, err error)
- func (c *Client) DeleteTopicWithContext(ctx context.Context, request *DeleteTopicRequest) (response *DeleteTopicResponse, err error)
- func (c *Client) DescribeAlarmNotices(request *DescribeAlarmNoticesRequest) (response *DescribeAlarmNoticesResponse, err error)
- func (c *Client) DescribeAlarmNoticesWithContext(ctx context.Context, request *DescribeAlarmNoticesRequest) (response *DescribeAlarmNoticesResponse, err error)
- func (c *Client) DescribeAlarmShields(request *DescribeAlarmShieldsRequest) (response *DescribeAlarmShieldsResponse, err error)
- func (c *Client) DescribeAlarmShieldsWithContext(ctx context.Context, request *DescribeAlarmShieldsRequest) (response *DescribeAlarmShieldsResponse, err error)
- func (c *Client) DescribeAlarms(request *DescribeAlarmsRequest) (response *DescribeAlarmsResponse, err error)
- func (c *Client) DescribeAlarmsWithContext(ctx context.Context, request *DescribeAlarmsRequest) (response *DescribeAlarmsResponse, err error)
- func (c *Client) DescribeAlertRecordHistory(request *DescribeAlertRecordHistoryRequest) (response *DescribeAlertRecordHistoryResponse, err error)
- func (c *Client) DescribeAlertRecordHistoryWithContext(ctx context.Context, request *DescribeAlertRecordHistoryRequest) (response *DescribeAlertRecordHistoryResponse, err error)
- func (c *Client) DescribeConfigMachineGroups(request *DescribeConfigMachineGroupsRequest) (response *DescribeConfigMachineGroupsResponse, err error)
- func (c *Client) DescribeConfigMachineGroupsWithContext(ctx context.Context, request *DescribeConfigMachineGroupsRequest) (response *DescribeConfigMachineGroupsResponse, err error)
- func (c *Client) DescribeConfigs(request *DescribeConfigsRequest) (response *DescribeConfigsResponse, err error)
- func (c *Client) DescribeConfigsWithContext(ctx context.Context, request *DescribeConfigsRequest) (response *DescribeConfigsResponse, err error)
- func (c *Client) DescribeConsumer(request *DescribeConsumerRequest) (response *DescribeConsumerResponse, err error)
- func (c *Client) DescribeConsumerWithContext(ctx context.Context, request *DescribeConsumerRequest) (response *DescribeConsumerResponse, err error)
- func (c *Client) DescribeCosRecharges(request *DescribeCosRechargesRequest) (response *DescribeCosRechargesResponse, err error)
- func (c *Client) DescribeCosRechargesWithContext(ctx context.Context, request *DescribeCosRechargesRequest) (response *DescribeCosRechargesResponse, err error)
- func (c *Client) DescribeDataTransformInfo(request *DescribeDataTransformInfoRequest) (response *DescribeDataTransformInfoResponse, err error)
- func (c *Client) DescribeDataTransformInfoWithContext(ctx context.Context, request *DescribeDataTransformInfoRequest) (response *DescribeDataTransformInfoResponse, err error)
- func (c *Client) DescribeExports(request *DescribeExportsRequest) (response *DescribeExportsResponse, err error)
- func (c *Client) DescribeExportsWithContext(ctx context.Context, request *DescribeExportsRequest) (response *DescribeExportsResponse, err error)
- func (c *Client) DescribeIndex(request *DescribeIndexRequest) (response *DescribeIndexResponse, err error)
- func (c *Client) DescribeIndexWithContext(ctx context.Context, request *DescribeIndexRequest) (response *DescribeIndexResponse, err error)
- func (c *Client) DescribeKafkaConsumer(request *DescribeKafkaConsumerRequest) (response *DescribeKafkaConsumerResponse, err error)
- func (c *Client) DescribeKafkaConsumerWithContext(ctx context.Context, request *DescribeKafkaConsumerRequest) (response *DescribeKafkaConsumerResponse, err error)
- func (c *Client) DescribeKafkaRecharges(request *DescribeKafkaRechargesRequest) (response *DescribeKafkaRechargesResponse, err error)
- func (c *Client) DescribeKafkaRechargesWithContext(ctx context.Context, request *DescribeKafkaRechargesRequest) (response *DescribeKafkaRechargesResponse, err error)
- func (c *Client) DescribeLogContext(request *DescribeLogContextRequest) (response *DescribeLogContextResponse, err error)
- func (c *Client) DescribeLogContextWithContext(ctx context.Context, request *DescribeLogContextRequest) (response *DescribeLogContextResponse, err error)
- func (c *Client) DescribeLogHistogram(request *DescribeLogHistogramRequest) (response *DescribeLogHistogramResponse, err error)
- func (c *Client) DescribeLogHistogramWithContext(ctx context.Context, request *DescribeLogHistogramRequest) (response *DescribeLogHistogramResponse, err error)
- func (c *Client) DescribeLogsets(request *DescribeLogsetsRequest) (response *DescribeLogsetsResponse, err error)
- func (c *Client) DescribeLogsetsWithContext(ctx context.Context, request *DescribeLogsetsRequest) (response *DescribeLogsetsResponse, err error)
- func (c *Client) DescribeMachineGroupConfigs(request *DescribeMachineGroupConfigsRequest) (response *DescribeMachineGroupConfigsResponse, err error)
- func (c *Client) DescribeMachineGroupConfigsWithContext(ctx context.Context, request *DescribeMachineGroupConfigsRequest) (response *DescribeMachineGroupConfigsResponse, err error)
- func (c *Client) DescribeMachineGroups(request *DescribeMachineGroupsRequest) (response *DescribeMachineGroupsResponse, err error)
- func (c *Client) DescribeMachineGroupsWithContext(ctx context.Context, request *DescribeMachineGroupsRequest) (response *DescribeMachineGroupsResponse, err error)
- func (c *Client) DescribeMachines(request *DescribeMachinesRequest) (response *DescribeMachinesResponse, err error)
- func (c *Client) DescribeMachinesWithContext(ctx context.Context, request *DescribeMachinesRequest) (response *DescribeMachinesResponse, err error)
- func (c *Client) DescribePartitions(request *DescribePartitionsRequest) (response *DescribePartitionsResponse, err error)
- func (c *Client) DescribePartitionsWithContext(ctx context.Context, request *DescribePartitionsRequest) (response *DescribePartitionsResponse, err error)
- func (c *Client) DescribeScheduledSqlInfo(request *DescribeScheduledSqlInfoRequest) (response *DescribeScheduledSqlInfoResponse, err error)
- func (c *Client) DescribeScheduledSqlInfoWithContext(ctx context.Context, request *DescribeScheduledSqlInfoRequest) (response *DescribeScheduledSqlInfoResponse, err error)
- func (c *Client) DescribeShipperTasks(request *DescribeShipperTasksRequest) (response *DescribeShipperTasksResponse, err error)
- func (c *Client) DescribeShipperTasksWithContext(ctx context.Context, request *DescribeShipperTasksRequest) (response *DescribeShipperTasksResponse, err error)
- func (c *Client) DescribeShippers(request *DescribeShippersRequest) (response *DescribeShippersResponse, err error)
- func (c *Client) DescribeShippersWithContext(ctx context.Context, request *DescribeShippersRequest) (response *DescribeShippersResponse, err error)
- func (c *Client) DescribeTopics(request *DescribeTopicsRequest) (response *DescribeTopicsResponse, err error)
- func (c *Client) DescribeTopicsWithContext(ctx context.Context, request *DescribeTopicsRequest) (response *DescribeTopicsResponse, err error)
- func (c *Client) GetAlarmLog(request *GetAlarmLogRequest) (response *GetAlarmLogResponse, err error)
- func (c *Client) GetAlarmLogWithContext(ctx context.Context, request *GetAlarmLogRequest) (response *GetAlarmLogResponse, err error)
- func (c *Client) MergePartition(request *MergePartitionRequest) (response *MergePartitionResponse, err error)
- func (c *Client) MergePartitionWithContext(ctx context.Context, request *MergePartitionRequest) (response *MergePartitionResponse, err error)
- func (c *Client) ModifyAlarm(request *ModifyAlarmRequest) (response *ModifyAlarmResponse, err error)
- func (c *Client) ModifyAlarmNotice(request *ModifyAlarmNoticeRequest) (response *ModifyAlarmNoticeResponse, err error)
- func (c *Client) ModifyAlarmNoticeWithContext(ctx context.Context, request *ModifyAlarmNoticeRequest) (response *ModifyAlarmNoticeResponse, err error)
- func (c *Client) ModifyAlarmShield(request *ModifyAlarmShieldRequest) (response *ModifyAlarmShieldResponse, err error)
- func (c *Client) ModifyAlarmShieldWithContext(ctx context.Context, request *ModifyAlarmShieldRequest) (response *ModifyAlarmShieldResponse, err error)
- func (c *Client) ModifyAlarmWithContext(ctx context.Context, request *ModifyAlarmRequest) (response *ModifyAlarmResponse, err error)
- func (c *Client) ModifyConfig(request *ModifyConfigRequest) (response *ModifyConfigResponse, err error)
- func (c *Client) ModifyConfigWithContext(ctx context.Context, request *ModifyConfigRequest) (response *ModifyConfigResponse, err error)
- func (c *Client) ModifyConsumer(request *ModifyConsumerRequest) (response *ModifyConsumerResponse, err error)
- func (c *Client) ModifyConsumerWithContext(ctx context.Context, request *ModifyConsumerRequest) (response *ModifyConsumerResponse, err error)
- func (c *Client) ModifyCosRecharge(request *ModifyCosRechargeRequest) (response *ModifyCosRechargeResponse, err error)
- func (c *Client) ModifyCosRechargeWithContext(ctx context.Context, request *ModifyCosRechargeRequest) (response *ModifyCosRechargeResponse, err error)
- func (c *Client) ModifyDataTransform(request *ModifyDataTransformRequest) (response *ModifyDataTransformResponse, err error)
- func (c *Client) ModifyDataTransformWithContext(ctx context.Context, request *ModifyDataTransformRequest) (response *ModifyDataTransformResponse, err error)
- func (c *Client) ModifyIndex(request *ModifyIndexRequest) (response *ModifyIndexResponse, err error)
- func (c *Client) ModifyIndexWithContext(ctx context.Context, request *ModifyIndexRequest) (response *ModifyIndexResponse, err error)
- func (c *Client) ModifyKafkaConsumer(request *ModifyKafkaConsumerRequest) (response *ModifyKafkaConsumerResponse, err error)
- func (c *Client) ModifyKafkaConsumerWithContext(ctx context.Context, request *ModifyKafkaConsumerRequest) (response *ModifyKafkaConsumerResponse, err error)
- func (c *Client) ModifyKafkaRecharge(request *ModifyKafkaRechargeRequest) (response *ModifyKafkaRechargeResponse, err error)
- func (c *Client) ModifyKafkaRechargeWithContext(ctx context.Context, request *ModifyKafkaRechargeRequest) (response *ModifyKafkaRechargeResponse, err error)
- func (c *Client) ModifyLogset(request *ModifyLogsetRequest) (response *ModifyLogsetResponse, err error)
- func (c *Client) ModifyLogsetWithContext(ctx context.Context, request *ModifyLogsetRequest) (response *ModifyLogsetResponse, err error)
- func (c *Client) ModifyMachineGroup(request *ModifyMachineGroupRequest) (response *ModifyMachineGroupResponse, err error)
- func (c *Client) ModifyMachineGroupWithContext(ctx context.Context, request *ModifyMachineGroupRequest) (response *ModifyMachineGroupResponse, err error)
- func (c *Client) ModifyScheduledSql(request *ModifyScheduledSqlRequest) (response *ModifyScheduledSqlResponse, err error)
- func (c *Client) ModifyScheduledSqlWithContext(ctx context.Context, request *ModifyScheduledSqlRequest) (response *ModifyScheduledSqlResponse, err error)
- func (c *Client) ModifyShipper(request *ModifyShipperRequest) (response *ModifyShipperResponse, err error)
- func (c *Client) ModifyShipperWithContext(ctx context.Context, request *ModifyShipperRequest) (response *ModifyShipperResponse, err error)
- func (c *Client) ModifyTopic(request *ModifyTopicRequest) (response *ModifyTopicResponse, err error)
- func (c *Client) ModifyTopicWithContext(ctx context.Context, request *ModifyTopicRequest) (response *ModifyTopicResponse, err error)
- func (c *Client) OpenKafkaConsumer(request *OpenKafkaConsumerRequest) (response *OpenKafkaConsumerResponse, err error)
- func (c *Client) OpenKafkaConsumerWithContext(ctx context.Context, request *OpenKafkaConsumerRequest) (response *OpenKafkaConsumerResponse, err error)
- func (c *Client) PreviewKafkaRecharge(request *PreviewKafkaRechargeRequest) (response *PreviewKafkaRechargeResponse, err error)
- func (c *Client) PreviewKafkaRechargeWithContext(ctx context.Context, request *PreviewKafkaRechargeRequest) (response *PreviewKafkaRechargeResponse, err error)
- func (c *Client) QueryMetric(request *QueryMetricRequest) (response *QueryMetricResponse, err error)
- func (c *Client) QueryMetricWithContext(ctx context.Context, request *QueryMetricRequest) (response *QueryMetricResponse, err error)
- func (c *Client) QueryRangeMetric(request *QueryRangeMetricRequest) (response *QueryRangeMetricResponse, err error)
- func (c *Client) QueryRangeMetricWithContext(ctx context.Context, request *QueryRangeMetricRequest) (response *QueryRangeMetricResponse, err error)
- func (c *Client) RetryShipperTask(request *RetryShipperTaskRequest) (response *RetryShipperTaskResponse, err error)
- func (c *Client) RetryShipperTaskWithContext(ctx context.Context, request *RetryShipperTaskRequest) (response *RetryShipperTaskResponse, err error)
- func (c *Client) SearchCosRechargeInfo(request *SearchCosRechargeInfoRequest) (response *SearchCosRechargeInfoResponse, err error)
- func (c *Client) SearchCosRechargeInfoWithContext(ctx context.Context, request *SearchCosRechargeInfoRequest) (response *SearchCosRechargeInfoResponse, err error)
- func (c *Client) SearchLog(request *SearchLogRequest) (response *SearchLogResponse, err error)
- func (c *Client) SearchLogWithContext(ctx context.Context, request *SearchLogRequest) (response *SearchLogResponse, err error)
- func (c *Client) SplitPartition(request *SplitPartitionRequest) (response *SplitPartitionResponse, err error)
- func (c *Client) SplitPartitionWithContext(ctx context.Context, request *SplitPartitionRequest) (response *SplitPartitionResponse, err error)
- func (c *Client) UploadLog(request *UploadLogRequest, data []byte) (response *UploadLogResponse, err error)
- func (c *Client) UploadLogWithContext(ctx context.Context, request *UploadLogRequest, data []byte) (response *UploadLogResponse, err error)
- type CloseKafkaConsumerRequest
- type CloseKafkaConsumerRequestParams
- type CloseKafkaConsumerResponse
- type CloseKafkaConsumerResponseParams
- type Column
- type CompressInfo
- type ConditionInfo
- type ConfigInfo
- type ConsumerContent
- type ContentInfo
- type CosRechargeInfo
- type CreateAlarmNoticeRequest
- type CreateAlarmNoticeRequestParams
- type CreateAlarmNoticeResponse
- type CreateAlarmNoticeResponseParams
- type CreateAlarmRequest
- type CreateAlarmRequestParams
- type CreateAlarmResponse
- type CreateAlarmResponseParams
- type CreateAlarmShieldRequest
- type CreateAlarmShieldRequestParams
- type CreateAlarmShieldResponse
- type CreateAlarmShieldResponseParams
- type CreateConfigRequest
- type CreateConfigRequestParams
- type CreateConfigResponse
- type CreateConfigResponseParams
- type CreateConsumerRequest
- type CreateConsumerRequestParams
- type CreateConsumerResponse
- type CreateConsumerResponseParams
- type CreateCosRechargeRequest
- type CreateCosRechargeRequestParams
- type CreateCosRechargeResponse
- type CreateCosRechargeResponseParams
- type CreateDataTransformRequest
- type CreateDataTransformRequestParams
- type CreateDataTransformResponse
- type CreateDataTransformResponseParams
- type CreateDeliverCloudFunctionRequest
- type CreateDeliverCloudFunctionRequestParams
- type CreateDeliverCloudFunctionResponse
- type CreateDeliverCloudFunctionResponseParams
- type CreateExportRequest
- type CreateExportRequestParams
- type CreateExportResponse
- type CreateExportResponseParams
- type CreateIndexRequest
- type CreateIndexRequestParams
- type CreateIndexResponse
- type CreateIndexResponseParams
- type CreateKafkaRechargeRequest
- type CreateKafkaRechargeRequestParams
- type CreateKafkaRechargeResponse
- type CreateKafkaRechargeResponseParams
- type CreateLogsetRequest
- type CreateLogsetRequestParams
- type CreateLogsetResponse
- type CreateLogsetResponseParams
- type CreateMachineGroupRequest
- type CreateMachineGroupRequestParams
- type CreateMachineGroupResponse
- type CreateMachineGroupResponseParams
- type CreateScheduledSqlRequest
- type CreateScheduledSqlRequestParams
- type CreateScheduledSqlResponse
- type CreateScheduledSqlResponseParams
- type CreateShipperRequest
- type CreateShipperRequestParams
- type CreateShipperResponse
- type CreateShipperResponseParams
- type CreateTopicRequest
- type CreateTopicRequestParams
- type CreateTopicResponse
- type CreateTopicResponseParams
- type CsvInfo
- type DataTransformResouceInfo
- type DataTransformTaskInfo
- type DeleteAlarmNoticeRequest
- type DeleteAlarmNoticeRequestParams
- type DeleteAlarmNoticeResponse
- type DeleteAlarmNoticeResponseParams
- type DeleteAlarmRequest
- type DeleteAlarmRequestParams
- type DeleteAlarmResponse
- type DeleteAlarmResponseParams
- type DeleteAlarmShieldRequest
- type DeleteAlarmShieldRequestParams
- type DeleteAlarmShieldResponse
- type DeleteAlarmShieldResponseParams
- type DeleteConfigFromMachineGroupRequest
- type DeleteConfigFromMachineGroupRequestParams
- type DeleteConfigFromMachineGroupResponse
- type DeleteConfigFromMachineGroupResponseParams
- type DeleteConfigRequest
- type DeleteConfigRequestParams
- type DeleteConfigResponse
- type DeleteConfigResponseParams
- type DeleteConsumerRequest
- type DeleteConsumerRequestParams
- type DeleteConsumerResponse
- type DeleteConsumerResponseParams
- type DeleteDataTransformRequest
- type DeleteDataTransformRequestParams
- type DeleteDataTransformResponse
- type DeleteDataTransformResponseParams
- type DeleteExportRequest
- type DeleteExportRequestParams
- type DeleteExportResponse
- type DeleteExportResponseParams
- type DeleteIndexRequest
- type DeleteIndexRequestParams
- type DeleteIndexResponse
- type DeleteIndexResponseParams
- type DeleteKafkaRechargeRequest
- type DeleteKafkaRechargeRequestParams
- type DeleteKafkaRechargeResponse
- type DeleteKafkaRechargeResponseParams
- type DeleteLogsetRequest
- type DeleteLogsetRequestParams
- type DeleteLogsetResponse
- type DeleteLogsetResponseParams
- type DeleteMachineGroupInfoRequest
- type DeleteMachineGroupInfoRequestParams
- type DeleteMachineGroupInfoResponse
- type DeleteMachineGroupInfoResponseParams
- type DeleteMachineGroupRequest
- type DeleteMachineGroupRequestParams
- type DeleteMachineGroupResponse
- type DeleteMachineGroupResponseParams
- type DeleteScheduledSqlRequest
- type DeleteScheduledSqlRequestParams
- type DeleteScheduledSqlResponse
- type DeleteScheduledSqlResponseParams
- type DeleteShipperRequest
- type DeleteShipperRequestParams
- type DeleteShipperResponse
- type DeleteShipperResponseParams
- type DeleteTopicRequest
- type DeleteTopicRequestParams
- type DeleteTopicResponse
- type DeleteTopicResponseParams
- type DescribeAlarmNoticesRequest
- type DescribeAlarmNoticesRequestParams
- type DescribeAlarmNoticesResponse
- type DescribeAlarmNoticesResponseParams
- type DescribeAlarmShieldsRequest
- type DescribeAlarmShieldsRequestParams
- type DescribeAlarmShieldsResponse
- type DescribeAlarmShieldsResponseParams
- type DescribeAlarmsRequest
- type DescribeAlarmsRequestParams
- type DescribeAlarmsResponse
- type DescribeAlarmsResponseParams
- type DescribeAlertRecordHistoryRequest
- type DescribeAlertRecordHistoryRequestParams
- type DescribeAlertRecordHistoryResponse
- type DescribeAlertRecordHistoryResponseParams
- type DescribeConfigMachineGroupsRequest
- type DescribeConfigMachineGroupsRequestParams
- type DescribeConfigMachineGroupsResponse
- type DescribeConfigMachineGroupsResponseParams
- type DescribeConfigsRequest
- type DescribeConfigsRequestParams
- type DescribeConfigsResponse
- type DescribeConfigsResponseParams
- type DescribeConsumerRequest
- type DescribeConsumerRequestParams
- type DescribeConsumerResponse
- type DescribeConsumerResponseParams
- type DescribeCosRechargesRequest
- type DescribeCosRechargesRequestParams
- type DescribeCosRechargesResponse
- type DescribeCosRechargesResponseParams
- type DescribeDataTransformInfoRequest
- type DescribeDataTransformInfoRequestParams
- type DescribeDataTransformInfoResponse
- type DescribeDataTransformInfoResponseParams
- type DescribeExportsRequest
- type DescribeExportsRequestParams
- type DescribeExportsResponse
- type DescribeExportsResponseParams
- type DescribeIndexRequest
- type DescribeIndexRequestParams
- type DescribeIndexResponse
- type DescribeIndexResponseParams
- type DescribeKafkaConsumerRequest
- type DescribeKafkaConsumerRequestParams
- type DescribeKafkaConsumerResponse
- type DescribeKafkaConsumerResponseParams
- type DescribeKafkaRechargesRequest
- type DescribeKafkaRechargesRequestParams
- type DescribeKafkaRechargesResponse
- type DescribeKafkaRechargesResponseParams
- type DescribeLogContextRequest
- type DescribeLogContextRequestParams
- type DescribeLogContextResponse
- type DescribeLogContextResponseParams
- type DescribeLogHistogramRequest
- type DescribeLogHistogramRequestParams
- type DescribeLogHistogramResponse
- type DescribeLogHistogramResponseParams
- type DescribeLogsetsRequest
- type DescribeLogsetsRequestParams
- type DescribeLogsetsResponse
- type DescribeLogsetsResponseParams
- type DescribeMachineGroupConfigsRequest
- type DescribeMachineGroupConfigsRequestParams
- type DescribeMachineGroupConfigsResponse
- type DescribeMachineGroupConfigsResponseParams
- type DescribeMachineGroupsRequest
- type DescribeMachineGroupsRequestParams
- type DescribeMachineGroupsResponse
- type DescribeMachineGroupsResponseParams
- type DescribeMachinesRequest
- type DescribeMachinesRequestParams
- type DescribeMachinesResponse
- type DescribeMachinesResponseParams
- type DescribePartitionsRequest
- type DescribePartitionsRequestParams
- type DescribePartitionsResponse
- type DescribePartitionsResponseParams
- type DescribeScheduledSqlInfoRequest
- type DescribeScheduledSqlInfoRequestParams
- type DescribeScheduledSqlInfoResponse
- type DescribeScheduledSqlInfoResponseParams
- type DescribeShipperTasksRequest
- type DescribeShipperTasksRequestParams
- type DescribeShipperTasksResponse
- type DescribeShipperTasksResponseParams
- type DescribeShippersRequest
- type DescribeShippersRequestParams
- type DescribeShippersResponse
- type DescribeShippersResponseParams
- type DescribeTopicsRequest
- type DescribeTopicsRequestParams
- type DescribeTopicsResponse
- type DescribeTopicsResponseParams
- type DynamicIndex
- type EventLog
- type ExcludePathInfo
- type ExportInfo
- type ExtractRuleInfo
- type Filter
- type FilterRuleInfo
- type FullTextInfo
- type GetAlarmLogRequest
- type GetAlarmLogRequestParams
- type GetAlarmLogResponse
- type GetAlarmLogResponseParams
- type GroupTriggerConditionInfo
- type HighLightItem
- type HistogramInfo
- type JsonInfo
- type KafkaConsumerContent
- type KafkaProtocolInfo
- type KafkaRechargeInfo
- type KeyRegexInfo
- type KeyValueInfo
- type LogContextInfo
- type LogInfo
- type LogItem
- type LogItems
- type LogRechargeRuleInfo
- type LogsetInfo
- type MachineGroupInfo
- type MachineGroupTypeInfo
- type MachineInfo
- type MergePartitionRequest
- type MergePartitionRequestParams
- type MergePartitionResponse
- type MergePartitionResponseParams
- type MetaTagInfo
- type MetricLabel
- type ModifyAlarmNoticeRequest
- type ModifyAlarmNoticeRequestParams
- type ModifyAlarmNoticeResponse
- type ModifyAlarmNoticeResponseParams
- type ModifyAlarmRequest
- type ModifyAlarmRequestParams
- type ModifyAlarmResponse
- type ModifyAlarmResponseParams
- type ModifyAlarmShieldRequest
- type ModifyAlarmShieldRequestParams
- type ModifyAlarmShieldResponse
- type ModifyAlarmShieldResponseParams
- type ModifyConfigRequest
- type ModifyConfigRequestParams
- type ModifyConfigResponse
- type ModifyConfigResponseParams
- type ModifyConsumerRequest
- type ModifyConsumerRequestParams
- type ModifyConsumerResponse
- type ModifyConsumerResponseParams
- type ModifyCosRechargeRequest
- type ModifyCosRechargeRequestParams
- type ModifyCosRechargeResponse
- type ModifyCosRechargeResponseParams
- type ModifyDataTransformRequest
- type ModifyDataTransformRequestParams
- type ModifyDataTransformResponse
- type ModifyDataTransformResponseParams
- type ModifyIndexRequest
- type ModifyIndexRequestParams
- type ModifyIndexResponse
- type ModifyIndexResponseParams
- type ModifyKafkaConsumerRequest
- type ModifyKafkaConsumerRequestParams
- type ModifyKafkaConsumerResponse
- type ModifyKafkaConsumerResponseParams
- type ModifyKafkaRechargeRequest
- type ModifyKafkaRechargeRequestParams
- type ModifyKafkaRechargeResponse
- type ModifyKafkaRechargeResponseParams
- type ModifyLogsetRequest
- type ModifyLogsetRequestParams
- type ModifyLogsetResponse
- type ModifyLogsetResponseParams
- type ModifyMachineGroupRequest
- type ModifyMachineGroupRequestParams
- type ModifyMachineGroupResponse
- type ModifyMachineGroupResponseParams
- type ModifyScheduledSqlRequest
- type ModifyScheduledSqlRequestParams
- type ModifyScheduledSqlResponse
- type ModifyScheduledSqlResponseParams
- type ModifyShipperRequest
- type ModifyShipperRequestParams
- type ModifyShipperResponse
- type ModifyShipperResponseParams
- type ModifyTopicRequest
- type ModifyTopicRequestParams
- type ModifyTopicResponse
- type ModifyTopicResponseParams
- type MonitorTime
- type MultiCondition
- type MultiTopicSearchInformation
- type NoticeReceiver
- type NoticeRule
- type OpenKafkaConsumerRequest
- type OpenKafkaConsumerRequestParams
- type OpenKafkaConsumerResponse
- type OpenKafkaConsumerResponseParams
- type ParquetInfo
- type ParquetKeyInfo
- type PartitionInfo
- type PreviewKafkaRechargeRequest
- type PreviewKafkaRechargeRequestParams
- type PreviewKafkaRechargeResponse
- type PreviewKafkaRechargeResponseParams
- type PreviewLogStatistic
- type QueryMetricRequest
- type QueryMetricRequestParams
- type QueryMetricResponse
- type QueryMetricResponseParams
- type QueryRangeMetricRequest
- type QueryRangeMetricRequestParams
- type QueryRangeMetricResponse
- type QueryRangeMetricResponseParams
- type RetryShipperTaskRequest
- type RetryShipperTaskRequestParams
- type RetryShipperTaskResponse
- type RetryShipperTaskResponseParams
- type RuleInfo
- type RuleKeyValueInfo
- type RuleTagInfo
- type ScheduledSqlResouceInfo
- type ScheduledSqlTaskInfo
- type SearchCosRechargeInfoRequest
- type SearchCosRechargeInfoRequestParams
- type SearchCosRechargeInfoResponse
- type SearchCosRechargeInfoResponseParams
- type SearchLogErrors
- type SearchLogInfos
- type SearchLogRequest
- type SearchLogRequestParams
- type SearchLogResponse
- type SearchLogResponseParams
- type SearchLogTopics
- type ShipperInfo
- type ShipperTaskInfo
- type SplitPartitionRequest
- type SplitPartitionRequestParams
- type SplitPartitionResponse
- type SplitPartitionResponseParams
- type Tag
- type TopicExtendInfo
- type TopicInfo
- type UploadLogRequest
- type UploadLogRequestParams
- type UploadLogResponse
- type UploadLogResponseParams
- type ValueInfo
- type WebCallback
Constants ¶
const ( // CAM signature/authentication error. AUTHFAILURE = "AuthFailure" // Request unauthorized. AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" // Operation failed. FAILEDOPERATION = "FailedOperation" // The alarm notification template has already been bound to an alarm policy. FAILEDOPERATION_BINDEDALARM = "FailedOperation.BindedAlarm" // No corresponding prefix files in the bucket. Please use the correct bucket, file prefix, and compression method. FAILEDOPERATION_BUCKETNOFILE = "FailedOperation.BucketNoFile" // File decompression failed. Please choose the correct compression method. FAILEDOPERATION_DECOMPRESSFILE = "FailedOperation.DecompressFile" // Failed to download file. Please try again later. FAILEDOPERATION_DOWNLOADFILE = "FailedOperation.DownLoadFile" // Failed to get the file list. Please try again later. FAILEDOPERATION_GETLISTFILE = "FailedOperation.GetListFile" // The number of searched logs has reached the upper limit. FAILEDOPERATION_GETLOGREACHLIMIT = "FailedOperation.GetlogReachLimit" // IA storage does not support key-value or tag index configuration. FAILEDOPERATION_INVALIDINDEXRULEFORSEARCHLOW = "FailedOperation.InValidIndexRuleForSearchLow" // The alarm policy is exceptional. Please check whether all the log topic IDs exist. FAILEDOPERATION_INVALIDALARM = "FailedOperation.InvalidAlarm" // The search cursor is invalid or does not exist. FAILEDOPERATION_INVALIDCONTEXT = "FailedOperation.InvalidContext" // The offline storage period cannot be less than 7 days. FAILEDOPERATION_INVALIDPERIOD = "FailedOperation.InvalidPeriod" // The same logset already exists. FAILEDOPERATION_LOGSETCONFLICT = "FailedOperation.LogsetConflict" // There are log topics under the logset. FAILEDOPERATION_LOGSETNOTEMPTY = "FailedOperation.LogsetNotEmpty" // Invalid `Content`. FAILEDOPERATION_MISSINGCONTENT = "FailedOperation.MissingContent" // The modified lifecycle is prohibited. FAILEDOPERATION_PERIODMODIFYFORBIDDEN = "FailedOperation.PeriodModifyForbidden" // File preview failed. Please try again later. FAILEDOPERATION_PREVIEWFILE = "FailedOperation.PreviewFile" // The query statement failed to run. FAILEDOPERATION_QUERYERROR = "FailedOperation.QueryError" // Failed to read file content. Please make sure the file is readable. FAILEDOPERATION_READFILE = "FailedOperation.ReadFile" // The read QPS exceeds the limit. FAILEDOPERATION_READQPSLIMIT = "FailedOperation.ReadQpsLimit" // The query timed out. FAILEDOPERATION_SEARCHTIMEOUT = "FailedOperation.SearchTimeout" // Shipping task retry is not allowed. FAILEDOPERATION_SHIPPERTASKNOTTORETRY = "FailedOperation.ShipperTaskNotToRetry" // An error occurred while parsing the query statement. FAILEDOPERATION_SYNTAXERROR = "FailedOperation.SyntaxError" // The frequency of tag service requests is limited. FAILEDOPERATION_TAGQPSLIMIT = "FailedOperation.TagQpsLimit" // Operation timed out FAILEDOPERATION_TIMEOUT = "FailedOperation.Timeout" // The log topic has been disabled. FAILEDOPERATION_TOPICCLOSED = "FailedOperation.TopicClosed" // The topic is being created. FAILEDOPERATION_TOPICCREATING = "FailedOperation.TopicCreating" // The log topic has been isolated. FAILEDOPERATION_TOPICISOLATED = "FailedOperation.TopicIsolated" // The write QPS exceeds the limit. FAILEDOPERATION_WRITEQPSLIMIT = "FailedOperation.WriteQpsLimit" // The write traffic exceeds the limit. FAILEDOPERATION_WRITETRAFFICLIMIT = "FailedOperation.WriteTrafficLimit" // Internal error. INTERNALERROR = "InternalError" // DB Error. INTERNALERROR_DBERROR = "InternalError.DbError" // Illegal role. INTERNALERROR_ILLEGALROLE = "InternalError.IllegalRole" // Retrieval error INTERNALERROR_SEARCHERROR = "InternalError.SearchError" // Retrieval failed INTERNALERROR_SEARCHFAILED = "InternalError.SearchFailed" // Incorrect parameter. INVALIDPARAMETER = "InvalidParameter" // The alarm policy already exists. INVALIDPARAMETER_ALARMCONFLICT = "InvalidParameter.AlarmConflict" // The alarm notification template already exists. INVALIDPARAMETER_ALARMNOTICECONFLICT = "InvalidParameter.AlarmNoticeConflict" // The same collection configuration rule already exists. INVALIDPARAMETER_CONFIGCONFLICT = "InvalidParameter.ConfigConflict" // Invalid `Content`. INVALIDPARAMETER_CONTENT = "InvalidParameter.Content" // There is a data processing task conflict. INVALIDPARAMETER_DATAFROMTASKCONFLICT = "InvalidParameter.DataFromTaskConflict" // The data processing task does not exist. INVALIDPARAMETER_DATAFROMTASKNOTEXIST = "InvalidParameter.DataFromTaskNotExist" // The unique key of database conflicts. INVALIDPARAMETER_DBDUPLICATION = "InvalidParameter.DbDuplication" // The export job already exists. INVALIDPARAMETER_EXPORTCONFLICT = "InvalidParameter.ExportConflict" // IA storage does not support key-value or tag index configuration. INVALIDPARAMETER_INVALIDINDEXRULEFORSEARCHLOW = "InvalidParameter.InValidIndexRuleForSearchLow" // An index rule already exists for the specified log topic. INVALIDPARAMETER_INDEXCONFLICT = "InvalidParameter.IndexConflict" // The data processing statement is invalid. INVALIDPARAMETER_INVALIDETLCONTENT = "InvalidParameter.InvalidEtlContent" // The same logset already exists. INVALIDPARAMETER_LOGSETCONFLICT = "InvalidParameter.LogsetConflict" // The same machine group already exists. INVALIDPARAMETER_MACHINEGROUPCONFLICT = "InvalidParameter.MachineGroupConflict" // Parameter error. INVALIDPARAMETER_PARAMERROR = "InvalidParameter.ParamError" // Shipping rule naming conflict. INVALIDPARAMETER_SHIPPERCONFLICT = "InvalidParameter.ShipperConflict" // There is already a log topic with the same name in the specified logset. INVALIDPARAMETER_TOPICCONFLICT = "InvalidParameter.TopicConflict" // Incorrect parameter value. INVALIDPARAMETERVALUE = "InvalidParameterValue" // The quota limit has been reached. LIMITEXCEEDED = "LimitExceeded" // The collection rule configuration exceeds the maximum value limit. LIMITEXCEEDED_CONFIG = "LimitExceeded.Config" // The number of log export tasks has exceeded the limit. LIMITEXCEEDED_EXPORT = "LimitExceeded.Export" // Index operations exceed the frequency limit. LIMITEXCEEDED_INDEXOPERATING = "LimitExceeded.IndexOperating" // The number of concurrent queries exceeds the limit, which is 15 per topic. LIMITEXCEEDED_LOGSEARCH = "LimitExceeded.LogSearch" // The log size exceeds the limit. LIMITEXCEEDED_LOGSIZE = "LimitExceeded.LogSize" // The number of logsets exceeds the limit. LIMITEXCEEDED_LOGSET = "LimitExceeded.Logset" // The number of machine groups exceeds the limit. LIMITEXCEEDED_MACHINEGROUP = "LimitExceeded.MachineGroup" // The number of machine group IPs exceeds the limit. LIMITEXCEEDED_MACHINEGROUPIP = "LimitExceeded.MachineGroupIp" // The number of machine group labels exceeds the limit. LIMITEXCEEDED_MACHINEGROUPIPLABELS = "LimitExceeded.MachineGroupIpLabels" // The number of partitions exceeds the limit. LIMITEXCEEDED_PARTITION = "LimitExceeded.Partition" // Record exceeds limit LIMITEXCEEDED_RECORDOUTOFLIMIT = "LimitExceeded.RecordOutOfLimit" // Out of search memory. LIMITEXCEEDED_SEARCHRESOURCES = "LimitExceeded.SearchResources" // The number of logs returned by the search API exceeds the upper limit (20 MB). LIMITEXCEEDED_SEARCHRESULTTOOLARGE = "LimitExceeded.SearchResultTooLarge" // The number of shipping rules exceeds the limit. LIMITEXCEEDED_SHIPPER = "LimitExceeded.Shipper" // The number of tags exceeds the limit. LIMITEXCEEDED_TAG = "LimitExceeded.Tag" // The number of log topics exceeds the limit. LIMITEXCEEDED_TOPIC = "LimitExceeded.Topic" // Missing parameter. MISSINGPARAMETER = "MissingParameter" // Operation denied. OPERATIONDENIED = "OperationDenied" // ACL verification failed. OPERATIONDENIED_ACLFAILED = "OperationDenied.ACLFailed" // The account has been terminated. OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" // The account has overdue payments. OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" // The account does not exist. OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists" // IA storage does not support alarms. OPERATIONDENIED_ALARMNOTSUPPORTFORSEARCHLOW = "OperationDenied.AlarmNotSupportForSearchLow" // The analysis feature is not enabled for the field. OPERATIONDENIED_ANALYSISSWITCHCLOSE = "OperationDenied.AnalysisSwitchClose" // New syntax is not supported. OPERATIONDENIED_NEWSYNTAXNOTSUPPORTED = "OperationDenied.NewSyntaxNotSupported" // The notification template is bound to an alarm and cannot be deleted. OPERATIONDENIED_NOTICEHASALARM = "OperationDenied.NoticeHasAlarm" // The operation is not supported in IA storage. OPERATIONDENIED_OPERATIONNOTSUPPORTINSEARCHLOW = "OperationDenied.OperationNotSupportInSearchLow" // A data processing task is bound to this topic. OPERATIONDENIED_TOPICHASDATAFORMTASK = "OperationDenied.TopicHasDataFormTask" // The topic is bound to a function for shipping. OPERATIONDENIED_TOPICHASDELIVERFUNCTION = "OperationDenied.TopicHasDeliverFunction" // Unable to delete this topic because an external data source is configured for it. OPERATIONDENIED_TOPICHASEXTERNALDATASOURCECONFIG = "OperationDenied.TopicHasExternalDatasourceConfig" // The topic is bound to the `scheduleSql` job. OPERATIONDENIED_TOPICHASSCHEDULESQLTASK = "OperationDenied.TopicHasScheduleSqlTask" // The resource does not exist. RESOURCENOTFOUND = "ResourceNotFound" // The agent version does not exist. RESOURCENOTFOUND_AGENTVERSIONNOTEXIST = "ResourceNotFound.AgentVersionNotExist" // The alarm policy does not exist. RESOURCENOTFOUND_ALARMNOTEXIST = "ResourceNotFound.AlarmNotExist" // The alarm notification template does not exist. RESOURCENOTFOUND_ALARMNOTICENOTEXIST = "ResourceNotFound.AlarmNoticeNotExist" // The specified collection rule configuration does not exist. RESOURCENOTFOUND_CONFIGNOTEXIST = "ResourceNotFound.ConfigNotExist" // Data processing task does not exist. RESOURCENOTFOUND_DATAFROMTASKNOTEXIST = "ResourceNotFound.DataFromTaskNotExist" // The log export does not exist. RESOURCENOTFOUND_EXPORTNOTEXIST = "ResourceNotFound.ExportNotExist" // The index does not exist. RESOURCENOTFOUND_INDEXNOTEXIST = "ResourceNotFound.IndexNotExist" // The specified logset does not exist. RESOURCENOTFOUND_LOGSETNOTEXIST = "ResourceNotFound.LogsetNotExist" // The machine group does not exist. RESOURCENOTFOUND_MACHINEGROUPNOTEXIST = "ResourceNotFound.MachineGroupNotExist" // The partition does not exist. RESOURCENOTFOUND_PARTITIONNOTEXIST = "ResourceNotFound.PartitionNotExist" // Record does not exist RESOURCENOTFOUND_RECORDNOTEXIST = "ResourceNotFound.RecordNotExist" // The shipping rule does not exist. RESOURCENOTFOUND_SHIPPERNOTEXIST = "ResourceNotFound.ShipperNotExist" // The shipping task does not exist. RESOURCENOTFOUND_SHIPPERTASKNOTEXIST = "ResourceNotFound.ShipperTaskNotExist" // The log topic does not exist. RESOURCENOTFOUND_TOPICNOTEXIST = "ResourceNotFound.TopicNotExist" // Unauthorized operation. UNAUTHORIZEDOPERATION = "UnauthorizedOperation" // Unknown parameter error. UNKNOWNPARAMETER = "UnknownParameter" // Unsupported operation. UNSUPPORTEDOPERATION = "UnsupportedOperation" )
const APIVersion = "2020-10-16"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddMachineGroupInfoRequest ¶
type AddMachineGroupInfoRequest struct { *tchttp.BaseRequest // Machine group ID GroupId *string `json:"GroupId,omitnil,omitempty" name:"GroupId"` // Machine group type // Supported types: `ip` and `label` MachineGroupType *MachineGroupTypeInfo `json:"MachineGroupType,omitnil,omitempty" name:"MachineGroupType"` }
func NewAddMachineGroupInfoRequest ¶
func NewAddMachineGroupInfoRequest() (request *AddMachineGroupInfoRequest)
func (*AddMachineGroupInfoRequest) FromJsonString ¶
func (r *AddMachineGroupInfoRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*AddMachineGroupInfoRequest) ToJsonString ¶
func (r *AddMachineGroupInfoRequest) ToJsonString() string
type AddMachineGroupInfoRequestParams ¶
type AddMachineGroupInfoRequestParams struct { // Machine group ID GroupId *string `json:"GroupId,omitnil,omitempty" name:"GroupId"` // Machine group type // Supported types: `ip` and `label` MachineGroupType *MachineGroupTypeInfo `json:"MachineGroupType,omitnil,omitempty" name:"MachineGroupType"` }
Predefined struct for user
type AddMachineGroupInfoResponse ¶
type AddMachineGroupInfoResponse struct { *tchttp.BaseResponse Response *AddMachineGroupInfoResponseParams `json:"Response"` }
func NewAddMachineGroupInfoResponse ¶
func NewAddMachineGroupInfoResponse() (response *AddMachineGroupInfoResponse)
func (*AddMachineGroupInfoResponse) FromJsonString ¶
func (r *AddMachineGroupInfoResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*AddMachineGroupInfoResponse) ToJsonString ¶
func (r *AddMachineGroupInfoResponse) ToJsonString() string
type AddMachineGroupInfoResponseParams ¶
type AddMachineGroupInfoResponseParams 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 AlarmAnalysisConfig ¶
type AlarmAnalysisConfig struct { // Keys. The following keys are supported: // SyntaxRule: Syntax rule, value supports 0: Lucene syntax; 1: CQL syntax. // QueryIndex: Serial number of execution statement. Value supports -1: Custom; 1: Execute Statement 1; 2: Execute Statement 2.CustomQuery: Search statement. Valid and required when QueryIndex is -1, example of value: "* | select count(*) as count".Fields: Fields. Value supports __SOURCE__; __FILENAME__; __HOSTNAME__; __TIMESTAMP__; __INDEX_STATUS__; __PKG_LOGID__; __TOPIC__. // Format: Display format. Value supports 1: One log per line; 2: One field per line per log. // Limit: Maximum number of logs. Example of value: 5.Note: This field may return null, indicating that no valid values can be obtained. Key *string `json:"Key,omitnil,omitempty" name:"Key"` // Value. // Key corresponds to the following values: // SyntaxRule: Syntax rule, value supports 0: Lucene syntax; 1: CQL syntax. // QueryIndex: Serial number of execution statement. Value supports -1: Custom; 1: Execute Statement 1; 2: Execute Statement 2.CustomQuery: Search statement. Valid and required when QueryIndex is -1, example of value: "* | select count(*) as count".Fields: Fields. Value supports __SOURCE__; __FILENAME__; __HOSTNAME__; __TIMESTAMP__; __INDEX_STATUS__; __PKG_LOGID__; __TOPIC__.Format: Display format. Value supports 1: One log per line; 2: One field per line per log.Limit: Maximum number of logs. Example of value: 5.Note: This field may return null, indicating that no valid values can be obtained. Value *string `json:"Value,omitnil,omitempty" name:"Value"` }
type AlarmClassification ¶
type AlarmInfo ¶
type AlarmInfo struct { // Alarm policy name Name *string `json:"Name,omitnil,omitempty" name:"Name"` // Monitoring object list AlarmTargets []*AlarmTargetInfo `json:"AlarmTargets,omitnil,omitempty" name:"AlarmTargets"` // Monitoring task running time point MonitorTime *MonitorTime `json:"MonitorTime,omitnil,omitempty" name:"MonitorTime"` // Single trigger condition. Mutually exclusive with the MultiConditions parameter. Condition *string `json:"Condition,omitnil,omitempty" name:"Condition"` // Alarm persistence cycle. An alarm will be triggered only after the corresponding trigger condition is met for the number of times specified by `TriggerCount`. Value range: 1–10. TriggerCount *int64 `json:"TriggerCount,omitnil,omitempty" name:"TriggerCount"` // Repeated alarm interval in minutes. Value range: 0–1440. AlarmPeriod *int64 `json:"AlarmPeriod,omitnil,omitempty" name:"AlarmPeriod"` // List of associated alarm notification templates AlarmNoticeIds []*string `json:"AlarmNoticeIds,omitnil,omitempty" name:"AlarmNoticeIds"` // Enablement status Status *bool `json:"Status,omitnil,omitempty" name:"Status"` // Alarm policy ID AlarmId *string `json:"AlarmId,omitnil,omitempty" name:"AlarmId"` // Creation time CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"` // Last update time UpdateTime *string `json:"UpdateTime,omitnil,omitempty" name:"UpdateTime"` // Custom notification template // Note: this field may return `null`, indicating that no valid values can be obtained. MessageTemplate *string `json:"MessageTemplate,omitnil,omitempty" name:"MessageTemplate"` // Custom callback template // Note: this field may return `null`, indicating that no valid values can be obtained. CallBack *CallBackInfo `json:"CallBack,omitnil,omitempty" name:"CallBack"` // Multi-Dimensional analysis settings // Note: this field may return `null`, indicating that no valid values can be obtained. Analysis []*AnalysisDimensional `json:"Analysis,omitnil,omitempty" name:"Analysis"` // Group trigger status. 1: Enabled, 0: Disabled (default) // Note: This field may return null, indicating that no valid values can be obtained. GroupTriggerStatus *bool `json:"GroupTriggerStatus,omitnil,omitempty" name:"GroupTriggerStatus"` // Group Trigger ConditionsNote: This field may return null, indicating that no valid values can be obtained. GroupTriggerCondition []*string `json:"GroupTriggerCondition,omitnil,omitempty" name:"GroupTriggerCondition"` // Type of the monitored object. 0: common monitoring objects for execution statements; 1: separately selected monitoring objects for each execution statement.Note: This field may return null, indicating that no valid values can be obtained. MonitorObjectType *uint64 `json:"MonitorObjectType,omitnil,omitempty" name:"MonitorObjectType"` // Alarm severity. 0: warning (Warn); 1: Reminder (Info); 2: urgent (Critical).Note: This field may return null, indicating that no valid values can be obtained. AlarmLevel *uint64 `json:"AlarmLevel,omitnil,omitempty" name:"AlarmLevel"` // Multiple trigger conditions. Exclusive with Condition.Note: This field may return null, indicating that no valid values can be obtained. MultiConditions []*MultiCondition `json:"MultiConditions,omitnil,omitempty" name:"MultiConditions"` }
type AlarmNotice ¶
type AlarmNotice struct { // Alarm notification template name Name *string `json:"Name,omitnil,omitempty" name:"Name"` // Alarm template type. Optional values:<br><li> Trigger - Alarm Trigger </li><br><li> Recovery - Alarm Recovery </li><br><li> All - Alarm Trigger and Alarm Recovery </li> Type *string `json:"Type,omitnil,omitempty" name:"Type"` // Information of the recipient in alarm notification template // Note: this field may return `null`, indicating that no valid values can be obtained. NoticeReceivers []*NoticeReceiver `json:"NoticeReceivers,omitnil,omitempty" name:"NoticeReceivers"` // Callback information of alarm notification template // Note: this field may return `null`, indicating that no valid values can be obtained. WebCallbacks []*WebCallback `json:"WebCallbacks,omitnil,omitempty" name:"WebCallbacks"` // Alarm notification template ID // Note: this field may return `null`, indicating that no valid values can be obtained. AlarmNoticeId *string `json:"AlarmNoticeId,omitnil,omitempty" name:"AlarmNoticeId"` // Creation time // Note: this field may return `null`, indicating that no valid values can be obtained. CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"` // Last update time // Note: this field may return `null`, indicating that no valid values can be obtained. UpdateTime *string `json:"UpdateTime,omitnil,omitempty" name:"UpdateTime"` // Notification rules.Note: This field may return null, indicating that no valid values can be obtained. NoticeRules []*NoticeRule `json:"NoticeRules,omitnil,omitempty" name:"NoticeRules"` }
type AlarmShieldInfo ¶
type AlarmShieldInfo struct { // Notification Channel Group ID AlarmNoticeId *string `json:"AlarmNoticeId,omitnil,omitempty" name:"AlarmNoticeId"` // Shield Rule ID TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"` // Block start time (second-level timestamp). StartTime *uint64 `json:"StartTime,omitnil,omitempty" name:"StartTime"` // Block end time (second-level timestamp). EndTime *uint64 `json:"EndTime,omitnil,omitempty" name:"EndTime"` // Block type. 1: Block all notifications, 2: Block matching rules notifications according to the Rule parameter. Type *uint64 `json:"Type,omitnil,omitempty" name:"Type"` // Rule for shielding, mandatory when Type is 2. See Product Documentation (https://intl.cloud.tencent.com/document/product/614/103178?from_cn_redirect=1#rule) for rule writing details.Note: This field may return null, indicating that no valid values can be obtained. Rule *string `json:"Rule,omitnil,omitempty" name:"Rule"` // Blocking reason. Reason *string `json:"Reason,omitnil,omitempty" name:"Reason"` // Rule Creation Source. // 1. Console; 2. API; 3. Alarm notification Source *uint64 `json:"Source,omitnil,omitempty" name:"Source"` // Operator. Operator *string `json:"Operator,omitnil,omitempty" name:"Operator"` // Rule Status. // 0: Not yet effective; 1: In effect; 2: Expired Status *uint64 `json:"Status,omitnil,omitempty" name:"Status"` // Rule Creation Time. CreateTime *uint64 `json:"CreateTime,omitnil,omitempty" name:"CreateTime"` // Rule Update Time. UpdateTime *uint64 `json:"UpdateTime,omitnil,omitempty" name:"UpdateTime"` }
type AlarmTarget ¶
type AlarmTarget struct { // Log topic IDNote: This field may return null, indicating that no valid values can be obtained. TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"` // Query statementNote: This field may return null, indicating that no valid values can be obtained. Query *string `json:"Query,omitnil,omitempty" name:"Query"` // Serial number of alarm object, which is incremental from 1.Note: This field may return null, indicating that no valid values can be obtained. Number *int64 `json:"Number,omitnil,omitempty" name:"Number"` // Offset of the query start time from the alarm execution time in minutes. The value cannot be positive. Maximum value: 0. Minimum value: -1440.Note: This field may return null, indicating that no valid values can be obtained. StartTimeOffset *int64 `json:"StartTimeOffset,omitnil,omitempty" name:"StartTimeOffset"` // Offset of the query end time from the alarm execution time in minutes. The value cannot be positive and must be greater than StartTimeOffset. Maximum value: 0. Minimum value: -1440.Note: This field may return null, indicating that no valid values can be obtained. EndTimeOffset *int64 `json:"EndTimeOffset,omitnil,omitempty" name:"EndTimeOffset"` // Logset IDNote: This field may return null, indicating that no valid values can be obtained. LogsetId *string `json:"LogsetId,omitnil,omitempty" name:"LogsetId"` // Search syntax rules; default value: 0.0: Lucene syntax; 1: CQL syntax.For detailed instructions, see <a href="https://intl.cloud.tencent.com/document/product/614/47044?from_cn_redirect=1#RetrievesConditionalRules" target="_blank">Search Condition Syntax Rules</a> // Note: This field may return null, indicating that no valid values can be obtained. SyntaxRule *uint64 `json:"SyntaxRule,omitnil,omitempty" name:"SyntaxRule"` }
type AlarmTargetInfo ¶
type AlarmTargetInfo struct { // Logset ID LogsetId *string `json:"LogsetId,omitnil,omitempty" name:"LogsetId"` // Logset name LogsetName *string `json:"LogsetName,omitnil,omitempty" name:"LogsetName"` // Log topic ID TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"` // Log topic name TopicName *string `json:"TopicName,omitnil,omitempty" name:"TopicName"` // Query statement Query *string `json:"Query,omitnil,omitempty" name:"Query"` // Monitoring object number Number *int64 `json:"Number,omitnil,omitempty" name:"Number"` // Offset of the query start time from the alarm execution time in minutes. The value cannot be positive. Value range: -1440–0. StartTimeOffset *int64 `json:"StartTimeOffset,omitnil,omitempty" name:"StartTimeOffset"` // Offset of the query end time from the alarm execution time in minutes. The value cannot be positive and must be greater than `StartTimeOffset`. Value range: -1440–0. EndTimeOffset *int64 `json:"EndTimeOffset,omitnil,omitempty" name:"EndTimeOffset"` }
type AlertHistoryNotice ¶
type AlertHistoryRecord ¶
type AlertHistoryRecord struct { // Alarm record ID RecordId *string `json:"RecordId,omitnil,omitempty" name:"RecordId"` // Alarm policy ID AlarmId *string `json:"AlarmId,omitnil,omitempty" name:"AlarmId"` // Alarm policy name AlarmName *string `json:"AlarmName,omitnil,omitempty" name:"AlarmName"` // ID of the monitored object TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"` // Name of the monitored object TopicName *string `json:"TopicName,omitnil,omitempty" name:"TopicName"` // Region of the monitored object Region *string `json:"Region,omitnil,omitempty" name:"Region"` // Trigger condition Trigger *string `json:"Trigger,omitnil,omitempty" name:"Trigger"` // Number of cycles for which the alarm lasts. An alarm will be triggered only after the trigger condition is met for the number of cycles specified by `TriggerCount`. TriggerCount *int64 `json:"TriggerCount,omitnil,omitempty" name:"TriggerCount"` // Alarm notification frequency (minutes) AlarmPeriod *int64 `json:"AlarmPeriod,omitnil,omitempty" name:"AlarmPeriod"` // Notification group Notices []*AlertHistoryNotice `json:"Notices,omitnil,omitempty" name:"Notices"` // Alarm duration (minutes) Duration *int64 `json:"Duration,omitnil,omitempty" name:"Duration"` // Alarm status. Valid values: `0` (uncleared), `1` (cleared), `2` (expired) Status *int64 `json:"Status,omitnil,omitempty" name:"Status"` // Alarm generation time, which is a Unix timestamp in ms CreateTime *uint64 `json:"CreateTime,omitnil,omitempty" name:"CreateTime"` // Group information corresponding to triggering by group // Note: This field may return null, indicating that no valid values can be obtained. GroupTriggerCondition []*GroupTriggerConditionInfo `json:"GroupTriggerCondition,omitnil,omitempty" name:"GroupTriggerCondition"` // Alarm severity. Valid values: `0` (Warn), `1` (Info), `2` (Critical) // Note: This field may return null, indicating that no valid values can be obtained. AlarmLevel *uint64 `json:"AlarmLevel,omitnil,omitempty" name:"AlarmLevel"` // Type of the monitored object // `0`: The same object is specified for all statements. `1`: An object is separately specified for each statement. // Note: This field may return null, indicating that no valid values can be obtained. MonitorObjectType *uint64 `json:"MonitorObjectType,omitnil,omitempty" name:"MonitorObjectType"` }
type AnalysisDimensional ¶
type AnalysisDimensional struct { // Analysis name // Note: This field may return null, indicating that no valid values can be obtained. Name *string `json:"Name,omitnil,omitempty" name:"Name"` // Type of data being analyzed. Valid values: `query`, `field`, `original` // Note: This field may return null, indicating that no valid values can be obtained. Type *string `json:"Type,omitnil,omitempty" name:"Type"` // Analysis content // Note: This field may return null, indicating that no valid values can be obtained. Content *string `json:"Content,omitnil,omitempty" name:"Content"` // Multi-dimensional analysis configuration. // // Supported when the type field of Analysis is query (custom){ // "Key": "SyntaxRule", // Syntax rules"Value": "1" // 0: Lucene syntax, 1: CQL syntax} // // Supported when the Type field of Analysis is field (top5) { // "Key": "QueryIndex", // "Value": "-1" // -1: Custom, 1: Execute Statement 1, 2: Execute Statement 2},{ // "Key": "CustomQuery", // Search statement. Valid and required when QueryIndex is -1 "Value": "* | select count(*) as count" // },{ // "Key": "SyntaxRule", // If this field cannot be found, it's assumed to be the legacy syntax (Lucene) // "Value": "0"//0:Lucene, 1:CQL // } // // When the Type field of Analysis is original (original log), it supports // { // "Key": "Fields", // "Value": "__SOURCE__,__HOSTNAME__,__TIMESTAMP__,__PKG_LOGID__,__TAG__.pod_ip" // }, { // "Key": "QueryIndex", // "Value": "-1" // -1: Custom, 1: Execute Statement 1, 2: Execute Statement 2},{ // "Key": "CustomQuery", // //Search statement. Valid and required when QueryIndex is -1 "Value": "* | select count(*) as count" // },{ // "Key": "Format", // Display format. 1: One log per line, 2: One field per line for each log "Value": "2" // }, // { // "Key": "Limit", // Maximum number of logs "Value": "5" // },{ // "Key": "SyntaxRule", // If this field cannot be found, it's considered the legacy syntax // "Value": "0"//0:Lucene, 1:CQL // } // Note: This field may return null, indicating that no valid values can be obtained. ConfigInfo []*AlarmAnalysisConfig `json:"ConfigInfo,omitnil,omitempty" name:"ConfigInfo"` }
type AnonymousInfo ¶
type AnonymousInfo struct { Operations []*string `json:"Operations,omitnil,omitempty" name:"Operations"` Conditions []*ConditionInfo `json:"Conditions,omitnil,omitempty" name:"Conditions"` }
type ApplyConfigToMachineGroupRequest ¶
type ApplyConfigToMachineGroupRequest struct { *tchttp.BaseRequest // Collection configuration ID ConfigId *string `json:"ConfigId,omitnil,omitempty" name:"ConfigId"` // Machine group ID GroupId *string `json:"GroupId,omitnil,omitempty" name:"GroupId"` }
func NewApplyConfigToMachineGroupRequest ¶
func NewApplyConfigToMachineGroupRequest() (request *ApplyConfigToMachineGroupRequest)
func (*ApplyConfigToMachineGroupRequest) FromJsonString ¶
func (r *ApplyConfigToMachineGroupRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ApplyConfigToMachineGroupRequest) ToJsonString ¶
func (r *ApplyConfigToMachineGroupRequest) ToJsonString() string
type ApplyConfigToMachineGroupRequestParams ¶
type ApplyConfigToMachineGroupRequestParams struct { // Collection configuration ID ConfigId *string `json:"ConfigId,omitnil,omitempty" name:"ConfigId"` // Machine group ID GroupId *string `json:"GroupId,omitnil,omitempty" name:"GroupId"` }
Predefined struct for user
type ApplyConfigToMachineGroupResponse ¶
type ApplyConfigToMachineGroupResponse struct { *tchttp.BaseResponse Response *ApplyConfigToMachineGroupResponseParams `json:"Response"` }
func NewApplyConfigToMachineGroupResponse ¶
func NewApplyConfigToMachineGroupResponse() (response *ApplyConfigToMachineGroupResponse)
func (*ApplyConfigToMachineGroupResponse) FromJsonString ¶
func (r *ApplyConfigToMachineGroupResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ApplyConfigToMachineGroupResponse) ToJsonString ¶
func (r *ApplyConfigToMachineGroupResponse) ToJsonString() string
type ApplyConfigToMachineGroupResponseParams ¶
type ApplyConfigToMachineGroupResponseParams 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 CallBackInfo ¶
type CheckFunctionRequest ¶
type CheckFunctionRequest struct { *tchttp.BaseRequest // Processing statement entered by the user EtlContent *string `json:"EtlContent,omitnil,omitempty" name:"EtlContent"` // Target topic ID and alias of the data processing task DstResources []*DataTransformResouceInfo `json:"DstResources,omitnil,omitempty" name:"DstResources"` // Type of the target topic for data processing. Valid values: 1 (fixed Topic) and 2 (dynamic creation) FuncType *int64 `json:"FuncType,omitnil,omitempty" name:"FuncType"` }
func NewCheckFunctionRequest ¶
func NewCheckFunctionRequest() (request *CheckFunctionRequest)
func (*CheckFunctionRequest) FromJsonString ¶
func (r *CheckFunctionRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CheckFunctionRequest) ToJsonString ¶
func (r *CheckFunctionRequest) ToJsonString() string
type CheckFunctionRequestParams ¶
type CheckFunctionRequestParams struct { // Processing statement entered by the user EtlContent *string `json:"EtlContent,omitnil,omitempty" name:"EtlContent"` // Target topic ID and alias of the data processing task DstResources []*DataTransformResouceInfo `json:"DstResources,omitnil,omitempty" name:"DstResources"` // Type of the target topic for data processing. Valid values: 1 (fixed Topic) and 2 (dynamic creation) FuncType *int64 `json:"FuncType,omitnil,omitempty" name:"FuncType"` }
Predefined struct for user
type CheckFunctionResponse ¶
type CheckFunctionResponse struct { *tchttp.BaseResponse Response *CheckFunctionResponseParams `json:"Response"` }
func NewCheckFunctionResponse ¶
func NewCheckFunctionResponse() (response *CheckFunctionResponse)
func (*CheckFunctionResponse) FromJsonString ¶
func (r *CheckFunctionResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CheckFunctionResponse) ToJsonString ¶
func (r *CheckFunctionResponse) ToJsonString() string
type CheckFunctionResponseParams ¶
type CheckFunctionResponseParams struct { // Failure error code ErrorCode *int64 `json:"ErrorCode,omitnil,omitempty" name:"ErrorCode"` // Failure 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 CheckRechargeKafkaServerRequest ¶
type CheckRechargeKafkaServerRequest struct { *tchttp.BaseRequest // Kafka type. Valid values: 0 (Tencent Cloud CKafka) and 1 (customer's Kafka). KafkaType *uint64 `json:"KafkaType,omitnil,omitempty" name:"KafkaType"` // Tencent Cloud CKafka Instance IDWhen KafkaType is 0, KafkaInstance is required KafkaInstance *string `json:"KafkaInstance,omitnil,omitempty" name:"KafkaInstance"` // Service AddressWhen KafkaType is 1, ServerAddr is required ServerAddr *string `json:"ServerAddr,omitnil,omitempty" name:"ServerAddr"` // Whether the service address uses an encrypted connection IsEncryptionAddr *bool `json:"IsEncryptionAddr,omitnil,omitempty" name:"IsEncryptionAddr"` // Encryption access protocol. Required when IsEncryptionAddr parameter is set to true Protocol *KafkaProtocolInfo `json:"Protocol,omitnil,omitempty" name:"Protocol"` }
func NewCheckRechargeKafkaServerRequest ¶
func NewCheckRechargeKafkaServerRequest() (request *CheckRechargeKafkaServerRequest)
func (*CheckRechargeKafkaServerRequest) FromJsonString ¶
func (r *CheckRechargeKafkaServerRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CheckRechargeKafkaServerRequest) ToJsonString ¶
func (r *CheckRechargeKafkaServerRequest) ToJsonString() string
type CheckRechargeKafkaServerRequestParams ¶
type CheckRechargeKafkaServerRequestParams struct { // Kafka type. Valid values: 0 (Tencent Cloud CKafka) and 1 (customer's Kafka). KafkaType *uint64 `json:"KafkaType,omitnil,omitempty" name:"KafkaType"` // Tencent Cloud CKafka Instance IDWhen KafkaType is 0, KafkaInstance is required KafkaInstance *string `json:"KafkaInstance,omitnil,omitempty" name:"KafkaInstance"` // Service AddressWhen KafkaType is 1, ServerAddr is required ServerAddr *string `json:"ServerAddr,omitnil,omitempty" name:"ServerAddr"` // Whether the service address uses an encrypted connection IsEncryptionAddr *bool `json:"IsEncryptionAddr,omitnil,omitempty" name:"IsEncryptionAddr"` // Encryption access protocol. Required when IsEncryptionAddr parameter is set to true Protocol *KafkaProtocolInfo `json:"Protocol,omitnil,omitempty" name:"Protocol"` }
Predefined struct for user
type CheckRechargeKafkaServerResponse ¶
type CheckRechargeKafkaServerResponse struct { *tchttp.BaseResponse Response *CheckRechargeKafkaServerResponseParams `json:"Response"` }
func NewCheckRechargeKafkaServerResponse ¶
func NewCheckRechargeKafkaServerResponse() (response *CheckRechargeKafkaServerResponse)
func (*CheckRechargeKafkaServerResponse) FromJsonString ¶
func (r *CheckRechargeKafkaServerResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CheckRechargeKafkaServerResponse) ToJsonString ¶
func (r *CheckRechargeKafkaServerResponse) ToJsonString() string
type CheckRechargeKafkaServerResponseParams ¶
type CheckRechargeKafkaServerResponseParams struct { // Kafka cluster accessibility. 0: Accessible. // Note: This field may return null, indicating that no valid values can be obtained. Status *int64 `json:"Status,omitnil,omitempty" name:"Status"` // 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 Ckafka ¶
type Ckafka struct { // CKafka VIP Vip *string `json:"Vip,omitnil,omitempty" name:"Vip"` // CKafka Vport Vport *string `json:"Vport,omitnil,omitempty" name:"Vport"` // CKafka instance ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // CKafka instance name InstanceName *string `json:"InstanceName,omitnil,omitempty" name:"InstanceName"` // CKafka topic ID TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"` // CKafka topic name TopicName *string `json:"TopicName,omitnil,omitempty" name:"TopicName"` }
type Client ¶
func NewClient ¶
func NewClient(credential common.CredentialIface, region string, clientProfile *profile.ClientProfile) (client *Client, err error)
func NewClientWithSecretId ¶
Deprecated
func (*Client) AddMachineGroupInfo ¶
func (c *Client) AddMachineGroupInfo(request *AddMachineGroupInfoRequest) (response *AddMachineGroupInfoResponse, err error)
AddMachineGroupInfo This API is used to add machine group information.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INVALIDPARAMETER_DBDUPLICATION = "InvalidParameter.DbDuplication"
func (*Client) AddMachineGroupInfoWithContext ¶
func (c *Client) AddMachineGroupInfoWithContext(ctx context.Context, request *AddMachineGroupInfoRequest) (response *AddMachineGroupInfoResponse, err error)
AddMachineGroupInfo This API is used to add machine group information.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INVALIDPARAMETER_DBDUPLICATION = "InvalidParameter.DbDuplication"
func (*Client) ApplyConfigToMachineGroup ¶
func (c *Client) ApplyConfigToMachineGroup(request *ApplyConfigToMachineGroupRequest) (response *ApplyConfigToMachineGroupResponse, err error)
ApplyConfigToMachineGroup This API is used to apply the collection configuration to a specified machine group.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists" RESOURCENOTFOUND_CONFIGNOTEXIST = "ResourceNotFound.ConfigNotExist" RESOURCENOTFOUND_MACHINEGROUPNOTEXIST = "ResourceNotFound.MachineGroupNotExist"
func (*Client) ApplyConfigToMachineGroupWithContext ¶
func (c *Client) ApplyConfigToMachineGroupWithContext(ctx context.Context, request *ApplyConfigToMachineGroupRequest) (response *ApplyConfigToMachineGroupResponse, err error)
ApplyConfigToMachineGroup This API is used to apply the collection configuration to a specified machine group.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists" RESOURCENOTFOUND_CONFIGNOTEXIST = "ResourceNotFound.ConfigNotExist" RESOURCENOTFOUND_MACHINEGROUPNOTEXIST = "ResourceNotFound.MachineGroupNotExist"
func (*Client) CheckFunction ¶
func (c *Client) CheckFunction(request *CheckFunctionRequest) (response *CheckFunctionResponse, err error)
CheckFunction This API is used to verify the syntax of data processing DSL functions.
error code that may be returned:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACLFAILED = "OperationDenied.ACLFailed" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_TOPICNOTEXIST = "ResourceNotFound.TopicNotExist"
func (*Client) CheckFunctionWithContext ¶
func (c *Client) CheckFunctionWithContext(ctx context.Context, request *CheckFunctionRequest) (response *CheckFunctionResponse, err error)
CheckFunction This API is used to verify the syntax of data processing DSL functions.
error code that may be returned:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACLFAILED = "OperationDenied.ACLFailed" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_TOPICNOTEXIST = "ResourceNotFound.TopicNotExist"
func (*Client) CheckRechargeKafkaServer ¶
func (c *Client) CheckRechargeKafkaServer(request *CheckRechargeKafkaServerRequest) (response *CheckRechargeKafkaServerResponse, err error)
CheckRechargeKafkaServer This API is used to check whether the Kafka service cluster is accessible.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter"
func (*Client) CheckRechargeKafkaServerWithContext ¶
func (c *Client) CheckRechargeKafkaServerWithContext(ctx context.Context, request *CheckRechargeKafkaServerRequest) (response *CheckRechargeKafkaServerResponse, err error)
CheckRechargeKafkaServer This API is used to check whether the Kafka service cluster is accessible.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter"
func (*Client) CloseKafkaConsumer ¶
func (c *Client) CloseKafkaConsumer(request *CloseKafkaConsumerRequest) (response *CloseKafkaConsumerResponse, err error)
CloseKafkaConsumer This API is used to disable Kafka consumption.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists" RESOURCENOTFOUND_TOPICNOTEXIST = "ResourceNotFound.TopicNotExist"
func (*Client) CloseKafkaConsumerWithContext ¶
func (c *Client) CloseKafkaConsumerWithContext(ctx context.Context, request *CloseKafkaConsumerRequest) (response *CloseKafkaConsumerResponse, err error)
CloseKafkaConsumer This API is used to disable Kafka consumption.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists" RESOURCENOTFOUND_TOPICNOTEXIST = "ResourceNotFound.TopicNotExist"
func (*Client) CreateAlarm ¶
func (c *Client) CreateAlarm(request *CreateAlarmRequest) (response *CreateAlarmResponse, err error)
CreateAlarm This API is used to create an alarm policy.
error code that may be returned:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_ALARMCONFLICT = "InvalidParameter.AlarmConflict" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACLFAILED = "OperationDenied.ACLFailed" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists" OPERATIONDENIED_ALARMNOTSUPPORTFORSEARCHLOW = "OperationDenied.AlarmNotSupportForSearchLow" RESOURCENOTFOUND_ALARMNOTICENOTEXIST = "ResourceNotFound.AlarmNoticeNotExist" RESOURCENOTFOUND_TOPICNOTEXIST = "ResourceNotFound.TopicNotExist"
func (*Client) CreateAlarmNotice ¶
func (c *Client) CreateAlarmNotice(request *CreateAlarmNoticeRequest) (response *CreateAlarmNoticeResponse, err error)
CreateAlarmNotice This API is used to create a notification group.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_ALARMNOTICECONFLICT = "InvalidParameter.AlarmNoticeConflict" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists"
func (*Client) CreateAlarmNoticeWithContext ¶
func (c *Client) CreateAlarmNoticeWithContext(ctx context.Context, request *CreateAlarmNoticeRequest) (response *CreateAlarmNoticeResponse, err error)
CreateAlarmNotice This API is used to create a notification group.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_ALARMNOTICECONFLICT = "InvalidParameter.AlarmNoticeConflict" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists"
func (*Client) CreateAlarmShield ¶
func (c *Client) CreateAlarmShield(request *CreateAlarmShieldRequest) (response *CreateAlarmShieldResponse, err error)
CreateAlarmShield This API is used to create an alarm blocking rule.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_TIMEOUT = "FailedOperation.Timeout" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_ALARMNOTICECONFLICT = "InvalidParameter.AlarmNoticeConflict" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists"
func (*Client) CreateAlarmShieldWithContext ¶
func (c *Client) CreateAlarmShieldWithContext(ctx context.Context, request *CreateAlarmShieldRequest) (response *CreateAlarmShieldResponse, err error)
CreateAlarmShield This API is used to create an alarm blocking rule.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_TIMEOUT = "FailedOperation.Timeout" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_ALARMNOTICECONFLICT = "InvalidParameter.AlarmNoticeConflict" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists"
func (*Client) CreateAlarmWithContext ¶
func (c *Client) CreateAlarmWithContext(ctx context.Context, request *CreateAlarmRequest) (response *CreateAlarmResponse, err error)
CreateAlarm This API is used to create an alarm policy.
error code that may be returned:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_ALARMCONFLICT = "InvalidParameter.AlarmConflict" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACLFAILED = "OperationDenied.ACLFailed" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists" OPERATIONDENIED_ALARMNOTSUPPORTFORSEARCHLOW = "OperationDenied.AlarmNotSupportForSearchLow" RESOURCENOTFOUND_ALARMNOTICENOTEXIST = "ResourceNotFound.AlarmNoticeNotExist" RESOURCENOTFOUND_TOPICNOTEXIST = "ResourceNotFound.TopicNotExist"
func (*Client) CreateConfig ¶
func (c *Client) CreateConfig(request *CreateConfigRequest) (response *CreateConfigResponse, err error)
CreateConfig This API is used to create collection rule configuration.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_CONFIGCONFLICT = "InvalidParameter.ConfigConflict" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED_CONFIG = "LimitExceeded.Config" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists" RESOURCENOTFOUND_CONFIGNOTEXIST = "ResourceNotFound.ConfigNotExist" RESOURCENOTFOUND_TOPICNOTEXIST = "ResourceNotFound.TopicNotExist"
func (*Client) CreateConfigWithContext ¶
func (c *Client) CreateConfigWithContext(ctx context.Context, request *CreateConfigRequest) (response *CreateConfigResponse, err error)
CreateConfig This API is used to create collection rule configuration.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_CONFIGCONFLICT = "InvalidParameter.ConfigConflict" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED_CONFIG = "LimitExceeded.Config" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists" RESOURCENOTFOUND_CONFIGNOTEXIST = "ResourceNotFound.ConfigNotExist" RESOURCENOTFOUND_TOPICNOTEXIST = "ResourceNotFound.TopicNotExist"
func (*Client) CreateConsumer ¶
func (c *Client) CreateConsumer(request *CreateConsumerRequest) (response *CreateConsumerResponse, err error)
CreateConsumer This API is used to create a CKafka delivery task.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_DBDUPLICATION = "InvalidParameter.DbDuplication" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACLFAILED = "OperationDenied.ACLFailed" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists"
func (*Client) CreateConsumerWithContext ¶
func (c *Client) CreateConsumerWithContext(ctx context.Context, request *CreateConsumerRequest) (response *CreateConsumerResponse, err error)
CreateConsumer This API is used to create a CKafka delivery task.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_DBDUPLICATION = "InvalidParameter.DbDuplication" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACLFAILED = "OperationDenied.ACLFailed" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists"
func (*Client) CreateCosRecharge ¶
func (c *Client) CreateCosRecharge(request *CreateCosRechargeRequest) (response *CreateCosRechargeResponse, err error)
CreateCosRecharge This API is used to create a COS import task.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_DBDUPLICATION = "InvalidParameter.DbDuplication" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACLFAILED = "OperationDenied.ACLFailed" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists" RESOURCENOTFOUND_TOPICNOTEXIST = "ResourceNotFound.TopicNotExist"
func (*Client) CreateCosRechargeWithContext ¶
func (c *Client) CreateCosRechargeWithContext(ctx context.Context, request *CreateCosRechargeRequest) (response *CreateCosRechargeResponse, err error)
CreateCosRecharge This API is used to create a COS import task.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_DBDUPLICATION = "InvalidParameter.DbDuplication" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACLFAILED = "OperationDenied.ACLFailed" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists" RESOURCENOTFOUND_TOPICNOTEXIST = "ResourceNotFound.TopicNotExist"
func (*Client) CreateDataTransform ¶
func (c *Client) CreateDataTransform(request *CreateDataTransformRequest) (response *CreateDataTransformResponse, err error)
CreateDataTransform This API is used to create a data processing task.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_DATAFROMTASKCONFLICT = "InvalidParameter.DataFromTaskConflict" INVALIDPARAMETER_INVALIDETLCONTENT = "InvalidParameter.InvalidEtlContent" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACLFAILED = "OperationDenied.ACLFailed" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_TOPICNOTEXIST = "ResourceNotFound.TopicNotExist"
func (*Client) CreateDataTransformWithContext ¶
func (c *Client) CreateDataTransformWithContext(ctx context.Context, request *CreateDataTransformRequest) (response *CreateDataTransformResponse, err error)
CreateDataTransform This API is used to create a data processing task.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_DATAFROMTASKCONFLICT = "InvalidParameter.DataFromTaskConflict" INVALIDPARAMETER_INVALIDETLCONTENT = "InvalidParameter.InvalidEtlContent" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACLFAILED = "OperationDenied.ACLFailed" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_TOPICNOTEXIST = "ResourceNotFound.TopicNotExist"
func (*Client) CreateDeliverCloudFunction ¶
func (c *Client) CreateDeliverCloudFunction(request *CreateDeliverCloudFunctionRequest) (response *CreateDeliverCloudFunctionResponse, err error)
CreateDeliverCloudFunction This API is used to create a delivery SCF task.
error code that may be returned:
FAILEDOPERATION = "FailedOperation"
func (*Client) CreateDeliverCloudFunctionWithContext ¶
func (c *Client) CreateDeliverCloudFunctionWithContext(ctx context.Context, request *CreateDeliverCloudFunctionRequest) (response *CreateDeliverCloudFunctionResponse, err error)
CreateDeliverCloudFunction This API is used to create a delivery SCF task.
error code that may be returned:
FAILEDOPERATION = "FailedOperation"
func (*Client) CreateExport ¶
func (c *Client) CreateExport(request *CreateExportRequest) (response *CreateExportResponse, err error)
CreateExport This API is used to create a download task. To get the returned download address, call DescribeExports to view the task list. The CosPath parameter is also included for download address. For more information, visit https://intl.cloud.tencent.com/document/product/614/56449.?from_cn_redirect=1
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_TOPICCLOSED = "FailedOperation.TopicClosed" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" LIMITEXCEEDED_EXPORT = "LimitExceeded.Export" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists" RESOURCENOTFOUND_TOPICNOTEXIST = "ResourceNotFound.TopicNotExist"
func (*Client) CreateExportWithContext ¶
func (c *Client) CreateExportWithContext(ctx context.Context, request *CreateExportRequest) (response *CreateExportResponse, err error)
CreateExport This API is used to create a download task. To get the returned download address, call DescribeExports to view the task list. The CosPath parameter is also included for download address. For more information, visit https://intl.cloud.tencent.com/document/product/614/56449.?from_cn_redirect=1
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_TOPICCLOSED = "FailedOperation.TopicClosed" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" LIMITEXCEEDED_EXPORT = "LimitExceeded.Export" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists" RESOURCENOTFOUND_TOPICNOTEXIST = "ResourceNotFound.TopicNotExist"
func (*Client) CreateIndex ¶
func (c *Client) CreateIndex(request *CreateIndexRequest) (response *CreateIndexResponse, err error)
CreateIndex This API is used to create an index.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INVALIDINDEXRULEFORSEARCHLOW = "FailedOperation.InValidIndexRuleForSearchLow" FAILEDOPERATION_TOPICISOLATED = "FailedOperation.TopicIsolated" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDINDEXRULEFORSEARCHLOW = "InvalidParameter.InValidIndexRuleForSearchLow" INVALIDPARAMETER_INDEXCONFLICT = "InvalidParameter.IndexConflict" LIMITEXCEEDED = "LimitExceeded" LIMITEXCEEDED_INDEXOPERATING = "LimitExceeded.IndexOperating" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists" RESOURCENOTFOUND_INDEXNOTEXIST = "ResourceNotFound.IndexNotExist" RESOURCENOTFOUND_TOPICNOTEXIST = "ResourceNotFound.TopicNotExist" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) CreateIndexWithContext ¶
func (c *Client) CreateIndexWithContext(ctx context.Context, request *CreateIndexRequest) (response *CreateIndexResponse, err error)
CreateIndex This API is used to create an index.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INVALIDINDEXRULEFORSEARCHLOW = "FailedOperation.InValidIndexRuleForSearchLow" FAILEDOPERATION_TOPICISOLATED = "FailedOperation.TopicIsolated" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDINDEXRULEFORSEARCHLOW = "InvalidParameter.InValidIndexRuleForSearchLow" INVALIDPARAMETER_INDEXCONFLICT = "InvalidParameter.IndexConflict" LIMITEXCEEDED = "LimitExceeded" LIMITEXCEEDED_INDEXOPERATING = "LimitExceeded.IndexOperating" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists" RESOURCENOTFOUND_INDEXNOTEXIST = "ResourceNotFound.IndexNotExist" RESOURCENOTFOUND_TOPICNOTEXIST = "ResourceNotFound.TopicNotExist" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) CreateKafkaRecharge ¶
func (c *Client) CreateKafkaRecharge(request *CreateKafkaRechargeRequest) (response *CreateKafkaRechargeResponse, err error)
CreateKafkaRecharge This API is used to create a Kafka data subscription task.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_TIMEOUT = "FailedOperation.Timeout" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_DBDUPLICATION = "InvalidParameter.DbDuplication" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists" RESOURCENOTFOUND_TOPICNOTEXIST = "ResourceNotFound.TopicNotExist"
func (*Client) CreateKafkaRechargeWithContext ¶
func (c *Client) CreateKafkaRechargeWithContext(ctx context.Context, request *CreateKafkaRechargeRequest) (response *CreateKafkaRechargeResponse, err error)
CreateKafkaRecharge This API is used to create a Kafka data subscription task.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_TIMEOUT = "FailedOperation.Timeout" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_DBDUPLICATION = "InvalidParameter.DbDuplication" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists" RESOURCENOTFOUND_TOPICNOTEXIST = "ResourceNotFound.TopicNotExist"
func (*Client) CreateLogset ¶
func (c *Client) CreateLogset(request *CreateLogsetRequest) (response *CreateLogsetResponse, err error)
CreateLogset This API is used to create a logset. The ID of the created logset is returned.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_LOGSETCONFLICT = "FailedOperation.LogsetConflict" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_LOGSETCONFLICT = "InvalidParameter.LogsetConflict" LIMITEXCEEDED = "LimitExceeded" LIMITEXCEEDED_LOGSET = "LimitExceeded.Logset" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists"
func (*Client) CreateLogsetWithContext ¶
func (c *Client) CreateLogsetWithContext(ctx context.Context, request *CreateLogsetRequest) (response *CreateLogsetResponse, err error)
CreateLogset This API is used to create a logset. The ID of the created logset is returned.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_LOGSETCONFLICT = "FailedOperation.LogsetConflict" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_LOGSETCONFLICT = "InvalidParameter.LogsetConflict" LIMITEXCEEDED = "LimitExceeded" LIMITEXCEEDED_LOGSET = "LimitExceeded.Logset" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists"
func (*Client) CreateMachineGroup ¶
func (c *Client) CreateMachineGroup(request *CreateMachineGroupRequest) (response *CreateMachineGroupResponse, err error)
CreateMachineGroup This API is used to create a machine group.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_MACHINEGROUPCONFLICT = "InvalidParameter.MachineGroupConflict" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" LIMITEXCEEDED_MACHINEGROUP = "LimitExceeded.MachineGroup" LIMITEXCEEDED_MACHINEGROUPIP = "LimitExceeded.MachineGroupIp" LIMITEXCEEDED_MACHINEGROUPIPLABELS = "LimitExceeded.MachineGroupIpLabels" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists"
func (*Client) CreateMachineGroupWithContext ¶
func (c *Client) CreateMachineGroupWithContext(ctx context.Context, request *CreateMachineGroupRequest) (response *CreateMachineGroupResponse, err error)
CreateMachineGroup This API is used to create a machine group.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_MACHINEGROUPCONFLICT = "InvalidParameter.MachineGroupConflict" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" LIMITEXCEEDED_MACHINEGROUP = "LimitExceeded.MachineGroup" LIMITEXCEEDED_MACHINEGROUPIP = "LimitExceeded.MachineGroupIp" LIMITEXCEEDED_MACHINEGROUPIPLABELS = "LimitExceeded.MachineGroupIpLabels" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists"
func (*Client) CreateScheduledSql ¶
func (c *Client) CreateScheduledSql(request *CreateScheduledSqlRequest) (response *CreateScheduledSqlResponse, err error)
CreateScheduledSql This API is used to create a scheduled SQL analysis task.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_DATAFROMTASKCONFLICT = "InvalidParameter.DataFromTaskConflict" INVALIDPARAMETER_INVALIDETLCONTENT = "InvalidParameter.InvalidEtlContent" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACLFAILED = "OperationDenied.ACLFailed" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_TOPICNOTEXIST = "ResourceNotFound.TopicNotExist"
func (*Client) CreateScheduledSqlWithContext ¶
func (c *Client) CreateScheduledSqlWithContext(ctx context.Context, request *CreateScheduledSqlRequest) (response *CreateScheduledSqlResponse, err error)
CreateScheduledSql This API is used to create a scheduled SQL analysis task.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_DATAFROMTASKCONFLICT = "InvalidParameter.DataFromTaskConflict" INVALIDPARAMETER_INVALIDETLCONTENT = "InvalidParameter.InvalidEtlContent" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACLFAILED = "OperationDenied.ACLFailed" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_TOPICNOTEXIST = "ResourceNotFound.TopicNotExist"
func (*Client) CreateShipper ¶
func (c *Client) CreateShipper(request *CreateShipperRequest) (response *CreateShipperResponse, err error)
CreateShipper This API is used to create a task to ship to COS. Note: To use this API, you need to check whether you have configured the role and permission for shipping to COS. If not, see **Viewing and Configuring Shipping Authorization** at https://intl.cloud.tencent.com/document/product/614/71623.?from_cn_redirect=1
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_SHIPPERCONFLICT = "InvalidParameter.ShipperConflict" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED_SHIPPER = "LimitExceeded.Shipper" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACLFAILED = "OperationDenied.ACLFailed" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists" RESOURCENOTFOUND_TOPICNOTEXIST = "ResourceNotFound.TopicNotExist"
func (*Client) CreateShipperWithContext ¶
func (c *Client) CreateShipperWithContext(ctx context.Context, request *CreateShipperRequest) (response *CreateShipperResponse, err error)
CreateShipper This API is used to create a task to ship to COS. Note: To use this API, you need to check whether you have configured the role and permission for shipping to COS. If not, see **Viewing and Configuring Shipping Authorization** at https://intl.cloud.tencent.com/document/product/614/71623.?from_cn_redirect=1
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_SHIPPERCONFLICT = "InvalidParameter.ShipperConflict" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED_SHIPPER = "LimitExceeded.Shipper" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACLFAILED = "OperationDenied.ACLFailed" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists" RESOURCENOTFOUND_TOPICNOTEXIST = "ResourceNotFound.TopicNotExist"
func (*Client) CreateTopic ¶
func (c *Client) CreateTopic(request *CreateTopicRequest) (response *CreateTopicResponse, err error)
CreateTopic This API is used to create a log topic.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INVALIDPERIOD = "FailedOperation.InvalidPeriod" FAILEDOPERATION_TOPICCREATING = "FailedOperation.TopicCreating" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_TOPICCONFLICT = "InvalidParameter.TopicConflict" LIMITEXCEEDED = "LimitExceeded" LIMITEXCEEDED_LOGSET = "LimitExceeded.Logset" LIMITEXCEEDED_TOPIC = "LimitExceeded.Topic" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists" RESOURCENOTFOUND_LOGSETNOTEXIST = "ResourceNotFound.LogsetNotExist"
func (*Client) CreateTopicWithContext ¶
func (c *Client) CreateTopicWithContext(ctx context.Context, request *CreateTopicRequest) (response *CreateTopicResponse, err error)
CreateTopic This API is used to create a log topic.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INVALIDPERIOD = "FailedOperation.InvalidPeriod" FAILEDOPERATION_TOPICCREATING = "FailedOperation.TopicCreating" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_TOPICCONFLICT = "InvalidParameter.TopicConflict" LIMITEXCEEDED = "LimitExceeded" LIMITEXCEEDED_LOGSET = "LimitExceeded.Logset" LIMITEXCEEDED_TOPIC = "LimitExceeded.Topic" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists" RESOURCENOTFOUND_LOGSETNOTEXIST = "ResourceNotFound.LogsetNotExist"
func (*Client) DeleteAlarm ¶
func (c *Client) DeleteAlarm(request *DeleteAlarmRequest) (response *DeleteAlarmResponse, err error)
DeleteAlarm This API is used to delete an alarm policy.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists" RESOURCENOTFOUND_ALARMNOTEXIST = "ResourceNotFound.AlarmNotExist"
func (*Client) DeleteAlarmNotice ¶
func (c *Client) DeleteAlarmNotice(request *DeleteAlarmNoticeRequest) (response *DeleteAlarmNoticeResponse, err error)
DeleteAlarmNotice This API is used to delete a notification group.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_BINDEDALARM = "FailedOperation.BindedAlarm" INTERNALERROR = "InternalError" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACLFAILED = "OperationDenied.ACLFailed" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists" OPERATIONDENIED_NOTICEHASALARM = "OperationDenied.NoticeHasAlarm" RESOURCENOTFOUND_ALARMNOTICENOTEXIST = "ResourceNotFound.AlarmNoticeNotExist"
func (*Client) DeleteAlarmNoticeWithContext ¶
func (c *Client) DeleteAlarmNoticeWithContext(ctx context.Context, request *DeleteAlarmNoticeRequest) (response *DeleteAlarmNoticeResponse, err error)
DeleteAlarmNotice This API is used to delete a notification group.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_BINDEDALARM = "FailedOperation.BindedAlarm" INTERNALERROR = "InternalError" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACLFAILED = "OperationDenied.ACLFailed" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists" OPERATIONDENIED_NOTICEHASALARM = "OperationDenied.NoticeHasAlarm" RESOURCENOTFOUND_ALARMNOTICENOTEXIST = "ResourceNotFound.AlarmNoticeNotExist"
func (*Client) DeleteAlarmShield ¶
func (c *Client) DeleteAlarmShield(request *DeleteAlarmShieldRequest) (response *DeleteAlarmShieldResponse, err error)
DeleteAlarmShield This API is used to delete an alarm blocking rule.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_TIMEOUT = "FailedOperation.Timeout" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_ALARMNOTICECONFLICT = "InvalidParameter.AlarmNoticeConflict" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists"
func (*Client) DeleteAlarmShieldWithContext ¶
func (c *Client) DeleteAlarmShieldWithContext(ctx context.Context, request *DeleteAlarmShieldRequest) (response *DeleteAlarmShieldResponse, err error)
DeleteAlarmShield This API is used to delete an alarm blocking rule.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_TIMEOUT = "FailedOperation.Timeout" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_ALARMNOTICECONFLICT = "InvalidParameter.AlarmNoticeConflict" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists"
func (*Client) DeleteAlarmWithContext ¶
func (c *Client) DeleteAlarmWithContext(ctx context.Context, request *DeleteAlarmRequest) (response *DeleteAlarmResponse, err error)
DeleteAlarm This API is used to delete an alarm policy.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists" RESOURCENOTFOUND_ALARMNOTEXIST = "ResourceNotFound.AlarmNotExist"
func (*Client) DeleteConfig ¶
func (c *Client) DeleteConfig(request *DeleteConfigRequest) (response *DeleteConfigResponse, err error)
DeleteConfig This API is used to delete collection rule configuration.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_CONFIGNOTEXIST = "ResourceNotFound.ConfigNotExist"
func (*Client) DeleteConfigFromMachineGroup ¶
func (c *Client) DeleteConfigFromMachineGroup(request *DeleteConfigFromMachineGroupRequest) (response *DeleteConfigFromMachineGroupResponse, err error)
DeleteConfigFromMachineGroup This API is used to delete the collection configuration applied to a machine group.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists" RESOURCENOTFOUND_CONFIGNOTEXIST = "ResourceNotFound.ConfigNotExist" RESOURCENOTFOUND_MACHINEGROUPNOTEXIST = "ResourceNotFound.MachineGroupNotExist"
func (*Client) DeleteConfigFromMachineGroupWithContext ¶
func (c *Client) DeleteConfigFromMachineGroupWithContext(ctx context.Context, request *DeleteConfigFromMachineGroupRequest) (response *DeleteConfigFromMachineGroupResponse, err error)
DeleteConfigFromMachineGroup This API is used to delete the collection configuration applied to a machine group.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists" RESOURCENOTFOUND_CONFIGNOTEXIST = "ResourceNotFound.ConfigNotExist" RESOURCENOTFOUND_MACHINEGROUPNOTEXIST = "ResourceNotFound.MachineGroupNotExist"
func (*Client) DeleteConfigWithContext ¶
func (c *Client) DeleteConfigWithContext(ctx context.Context, request *DeleteConfigRequest) (response *DeleteConfigResponse, err error)
DeleteConfig This API is used to delete collection rule configuration.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_CONFIGNOTEXIST = "ResourceNotFound.ConfigNotExist"
func (*Client) DeleteConsumer ¶
func (c *Client) DeleteConsumer(request *DeleteConsumerRequest) (response *DeleteConsumerResponse, err error)
DeleteConsumer This API is used to delete a shipping task.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACLFAILED = "OperationDenied.ACLFailed" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists"
func (*Client) DeleteConsumerWithContext ¶
func (c *Client) DeleteConsumerWithContext(ctx context.Context, request *DeleteConsumerRequest) (response *DeleteConsumerResponse, err error)
DeleteConsumer This API is used to delete a shipping task.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACLFAILED = "OperationDenied.ACLFailed" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists"
func (*Client) DeleteDataTransform ¶
func (c *Client) DeleteDataTransform(request *DeleteDataTransformRequest) (response *DeleteDataTransformResponse, err error)
DeleteDataTransform This API is used to delete a data processing task.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_DATAFROMTASKNOTEXIST = "InvalidParameter.DataFromTaskNotExist" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACLFAILED = "OperationDenied.ACLFailed" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_TOPICNOTEXIST = "ResourceNotFound.TopicNotExist"
func (*Client) DeleteDataTransformWithContext ¶
func (c *Client) DeleteDataTransformWithContext(ctx context.Context, request *DeleteDataTransformRequest) (response *DeleteDataTransformResponse, err error)
DeleteDataTransform This API is used to delete a data processing task.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_DATAFROMTASKNOTEXIST = "InvalidParameter.DataFromTaskNotExist" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACLFAILED = "OperationDenied.ACLFailed" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_TOPICNOTEXIST = "ResourceNotFound.TopicNotExist"
func (*Client) DeleteExport ¶
func (c *Client) DeleteExport(request *DeleteExportRequest) (response *DeleteExportResponse, err error)
DeleteExport This API is used to delete a log download task.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists" RESOURCENOTFOUND_EXPORTNOTEXIST = "ResourceNotFound.ExportNotExist"
func (*Client) DeleteExportWithContext ¶
func (c *Client) DeleteExportWithContext(ctx context.Context, request *DeleteExportRequest) (response *DeleteExportResponse, err error)
DeleteExport This API is used to delete a log download task.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists" RESOURCENOTFOUND_EXPORTNOTEXIST = "ResourceNotFound.ExportNotExist"
func (*Client) DeleteIndex ¶
func (c *Client) DeleteIndex(request *DeleteIndexRequest) (response *DeleteIndexResponse, err error)
DeleteIndex This API is used to delete the index configuration of a log topic. After deleting, you cannot retrieve or query the collected logs.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" LIMITEXCEEDED_INDEXOPERATING = "LimitExceeded.IndexOperating" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACLFAILED = "OperationDenied.ACLFailed" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists" RESOURCENOTFOUND_INDEXNOTEXIST = "ResourceNotFound.IndexNotExist" RESOURCENOTFOUND_TOPICNOTEXIST = "ResourceNotFound.TopicNotExist"
func (*Client) DeleteIndexWithContext ¶
func (c *Client) DeleteIndexWithContext(ctx context.Context, request *DeleteIndexRequest) (response *DeleteIndexResponse, err error)
DeleteIndex This API is used to delete the index configuration of a log topic. After deleting, you cannot retrieve or query the collected logs.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" LIMITEXCEEDED_INDEXOPERATING = "LimitExceeded.IndexOperating" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACLFAILED = "OperationDenied.ACLFailed" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists" RESOURCENOTFOUND_INDEXNOTEXIST = "ResourceNotFound.IndexNotExist" RESOURCENOTFOUND_TOPICNOTEXIST = "ResourceNotFound.TopicNotExist"
func (*Client) DeleteKafkaRecharge ¶
func (c *Client) DeleteKafkaRecharge(request *DeleteKafkaRechargeRequest) (response *DeleteKafkaRechargeResponse, err error)
DeleteKafkaRecharge This API is used to delete a Kafka data subscription task.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists" RESOURCENOTFOUND_TOPICNOTEXIST = "ResourceNotFound.TopicNotExist"
func (*Client) DeleteKafkaRechargeWithContext ¶
func (c *Client) DeleteKafkaRechargeWithContext(ctx context.Context, request *DeleteKafkaRechargeRequest) (response *DeleteKafkaRechargeResponse, err error)
DeleteKafkaRecharge This API is used to delete a Kafka data subscription task.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists" RESOURCENOTFOUND_TOPICNOTEXIST = "ResourceNotFound.TopicNotExist"
func (*Client) DeleteLogset ¶
func (c *Client) DeleteLogset(request *DeleteLogsetRequest) (response *DeleteLogsetResponse, err error)
DeleteLogset This API is used to delete a logset.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_LOGSETNOTEMPTY = "FailedOperation.LogsetNotEmpty" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACLFAILED = "OperationDenied.ACLFailed" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists" RESOURCENOTFOUND_LOGSETNOTEXIST = "ResourceNotFound.LogsetNotExist"
func (*Client) DeleteLogsetWithContext ¶
func (c *Client) DeleteLogsetWithContext(ctx context.Context, request *DeleteLogsetRequest) (response *DeleteLogsetResponse, err error)
DeleteLogset This API is used to delete a logset.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_LOGSETNOTEMPTY = "FailedOperation.LogsetNotEmpty" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACLFAILED = "OperationDenied.ACLFailed" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists" RESOURCENOTFOUND_LOGSETNOTEXIST = "ResourceNotFound.LogsetNotExist"
func (*Client) DeleteMachineGroup ¶
func (c *Client) DeleteMachineGroup(request *DeleteMachineGroupRequest) (response *DeleteMachineGroupResponse, err error)
DeleteMachineGroup This API is used to delete a machine group.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_MACHINEGROUPNOTEXIST = "ResourceNotFound.MachineGroupNotExist"
func (*Client) DeleteMachineGroupInfo ¶
func (c *Client) DeleteMachineGroupInfo(request *DeleteMachineGroupInfoRequest) (response *DeleteMachineGroupInfoResponse, err error)
DeleteMachineGroupInfo This API is used to delete machine group information.
error code that may be returned:
FAILEDOPERATION = "FailedOperation"
func (*Client) DeleteMachineGroupInfoWithContext ¶
func (c *Client) DeleteMachineGroupInfoWithContext(ctx context.Context, request *DeleteMachineGroupInfoRequest) (response *DeleteMachineGroupInfoResponse, err error)
DeleteMachineGroupInfo This API is used to delete machine group information.
error code that may be returned:
FAILEDOPERATION = "FailedOperation"
func (*Client) DeleteMachineGroupWithContext ¶
func (c *Client) DeleteMachineGroupWithContext(ctx context.Context, request *DeleteMachineGroupRequest) (response *DeleteMachineGroupResponse, err error)
DeleteMachineGroup This API is used to delete a machine group.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_MACHINEGROUPNOTEXIST = "ResourceNotFound.MachineGroupNotExist"
func (*Client) DeleteScheduledSql ¶
func (c *Client) DeleteScheduledSql(request *DeleteScheduledSqlRequest) (response *DeleteScheduledSqlResponse, err error)
DeleteScheduledSql This API is used to delete a scheduled SQL analysis task.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_DATAFROMTASKNOTEXIST = "InvalidParameter.DataFromTaskNotExist" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACLFAILED = "OperationDenied.ACLFailed" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_DATAFROMTASKNOTEXIST = "ResourceNotFound.DataFromTaskNotExist" RESOURCENOTFOUND_TOPICNOTEXIST = "ResourceNotFound.TopicNotExist"
func (*Client) DeleteScheduledSqlWithContext ¶
func (c *Client) DeleteScheduledSqlWithContext(ctx context.Context, request *DeleteScheduledSqlRequest) (response *DeleteScheduledSqlResponse, err error)
DeleteScheduledSql This API is used to delete a scheduled SQL analysis task.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_DATAFROMTASKNOTEXIST = "InvalidParameter.DataFromTaskNotExist" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACLFAILED = "OperationDenied.ACLFailed" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_DATAFROMTASKNOTEXIST = "ResourceNotFound.DataFromTaskNotExist" RESOURCENOTFOUND_TOPICNOTEXIST = "ResourceNotFound.TopicNotExist"
func (*Client) DeleteShipper ¶
func (c *Client) DeleteShipper(request *DeleteShipperRequest) (response *DeleteShipperResponse, err error)
DeleteShipper This API is used to delete a COS shipping task.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACLFAILED = "OperationDenied.ACLFailed" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists" RESOURCENOTFOUND_SHIPPERNOTEXIST = "ResourceNotFound.ShipperNotExist"
func (*Client) DeleteShipperWithContext ¶
func (c *Client) DeleteShipperWithContext(ctx context.Context, request *DeleteShipperRequest) (response *DeleteShipperResponse, err error)
DeleteShipper This API is used to delete a COS shipping task.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACLFAILED = "OperationDenied.ACLFailed" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists" RESOURCENOTFOUND_SHIPPERNOTEXIST = "ResourceNotFound.ShipperNotExist"
func (*Client) DeleteTopic ¶
func (c *Client) DeleteTopic(request *DeleteTopicRequest) (response *DeleteTopicResponse, err error)
DeleteTopic This API is used to delete a log topic.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_TAGQPSLIMIT = "FailedOperation.TagQpsLimit" FAILEDOPERATION_TIMEOUT = "FailedOperation.Timeout" INTERNALERROR = "InternalError" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACLFAILED = "OperationDenied.ACLFailed" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists" OPERATIONDENIED_TOPICHASDATAFORMTASK = "OperationDenied.TopicHasDataFormTask" OPERATIONDENIED_TOPICHASDELIVERFUNCTION = "OperationDenied.TopicHasDeliverFunction" OPERATIONDENIED_TOPICHASEXTERNALDATASOURCECONFIG = "OperationDenied.TopicHasExternalDatasourceConfig" OPERATIONDENIED_TOPICHASSCHEDULESQLTASK = "OperationDenied.TopicHasScheduleSqlTask" RESOURCENOTFOUND_LOGSETNOTEXIST = "ResourceNotFound.LogsetNotExist" RESOURCENOTFOUND_TOPICNOTEXIST = "ResourceNotFound.TopicNotExist"
func (*Client) DeleteTopicWithContext ¶
func (c *Client) DeleteTopicWithContext(ctx context.Context, request *DeleteTopicRequest) (response *DeleteTopicResponse, err error)
DeleteTopic This API is used to delete a log topic.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_TAGQPSLIMIT = "FailedOperation.TagQpsLimit" FAILEDOPERATION_TIMEOUT = "FailedOperation.Timeout" INTERNALERROR = "InternalError" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACLFAILED = "OperationDenied.ACLFailed" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists" OPERATIONDENIED_TOPICHASDATAFORMTASK = "OperationDenied.TopicHasDataFormTask" OPERATIONDENIED_TOPICHASDELIVERFUNCTION = "OperationDenied.TopicHasDeliverFunction" OPERATIONDENIED_TOPICHASEXTERNALDATASOURCECONFIG = "OperationDenied.TopicHasExternalDatasourceConfig" OPERATIONDENIED_TOPICHASSCHEDULESQLTASK = "OperationDenied.TopicHasScheduleSqlTask" RESOURCENOTFOUND_LOGSETNOTEXIST = "ResourceNotFound.LogsetNotExist" RESOURCENOTFOUND_TOPICNOTEXIST = "ResourceNotFound.TopicNotExist"
func (*Client) DescribeAlarmNotices ¶
func (c *Client) DescribeAlarmNotices(request *DescribeAlarmNoticesRequest) (response *DescribeAlarmNoticesResponse, err error)
DescribeAlarmNotices This API is used to get the notification group list.
error code that may be returned:
FAILEDOPERATION_TAGQPSLIMIT = "FailedOperation.TagQpsLimit" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACLFAILED = "OperationDenied.ACLFailed" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists"
func (*Client) DescribeAlarmNoticesWithContext ¶
func (c *Client) DescribeAlarmNoticesWithContext(ctx context.Context, request *DescribeAlarmNoticesRequest) (response *DescribeAlarmNoticesResponse, err error)
DescribeAlarmNotices This API is used to get the notification group list.
error code that may be returned:
FAILEDOPERATION_TAGQPSLIMIT = "FailedOperation.TagQpsLimit" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACLFAILED = "OperationDenied.ACLFailed" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists"
func (*Client) DescribeAlarmShields ¶
func (c *Client) DescribeAlarmShields(request *DescribeAlarmShieldsRequest) (response *DescribeAlarmShieldsResponse, err error)
DescribeAlarmShields This API is used to access alarm blocking configuration rules.
error code that may be returned:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_TIMEOUT = "FailedOperation.Timeout" INTERNALERROR = "InternalError" INTERNALERROR_DBERROR = "InternalError.DbError" INTERNALERROR_ILLEGALROLE = "InternalError.IllegalRole" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_PARAMERROR = "InvalidParameter.ParamError" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED_RECORDOUTOFLIMIT = "LimitExceeded.RecordOutOfLimit" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeAlarmShieldsWithContext ¶
func (c *Client) DescribeAlarmShieldsWithContext(ctx context.Context, request *DescribeAlarmShieldsRequest) (response *DescribeAlarmShieldsResponse, err error)
DescribeAlarmShields This API is used to access alarm blocking configuration rules.
error code that may be returned:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_TIMEOUT = "FailedOperation.Timeout" INTERNALERROR = "InternalError" INTERNALERROR_DBERROR = "InternalError.DbError" INTERNALERROR_ILLEGALROLE = "InternalError.IllegalRole" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_PARAMERROR = "InvalidParameter.ParamError" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED_RECORDOUTOFLIMIT = "LimitExceeded.RecordOutOfLimit" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeAlarms ¶
func (c *Client) DescribeAlarms(request *DescribeAlarmsRequest) (response *DescribeAlarmsResponse, err error)
DescribeAlarms This API is used to get the alarm policy list.
error code that may be returned:
FAILEDOPERATION_TAGQPSLIMIT = "FailedOperation.TagQpsLimit" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists" RESOURCENOTFOUND_TOPICNOTEXIST = "ResourceNotFound.TopicNotExist"
func (*Client) DescribeAlarmsWithContext ¶
func (c *Client) DescribeAlarmsWithContext(ctx context.Context, request *DescribeAlarmsRequest) (response *DescribeAlarmsResponse, err error)
DescribeAlarms This API is used to get the alarm policy list.
error code that may be returned:
FAILEDOPERATION_TAGQPSLIMIT = "FailedOperation.TagQpsLimit" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists" RESOURCENOTFOUND_TOPICNOTEXIST = "ResourceNotFound.TopicNotExist"
func (*Client) DescribeAlertRecordHistory ¶
func (c *Client) DescribeAlertRecordHistory(request *DescribeAlertRecordHistoryRequest) (response *DescribeAlertRecordHistoryResponse, err error)
DescribeAlertRecordHistory This API is used to get alarm records, such as today's uncleared alarms.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_TAGQPSLIMIT = "FailedOperation.TagQpsLimit" FAILEDOPERATION_TIMEOUT = "FailedOperation.Timeout" INTERNALERROR = "InternalError" INTERNALERROR_SEARCHERROR = "InternalError.SearchError" INTERNALERROR_SEARCHFAILED = "InternalError.SearchFailed" INVALIDPARAMETER = "InvalidParameter" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACLFAILED = "OperationDenied.ACLFailed" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists"
func (*Client) DescribeAlertRecordHistoryWithContext ¶
func (c *Client) DescribeAlertRecordHistoryWithContext(ctx context.Context, request *DescribeAlertRecordHistoryRequest) (response *DescribeAlertRecordHistoryResponse, err error)
DescribeAlertRecordHistory This API is used to get alarm records, such as today's uncleared alarms.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_TAGQPSLIMIT = "FailedOperation.TagQpsLimit" FAILEDOPERATION_TIMEOUT = "FailedOperation.Timeout" INTERNALERROR = "InternalError" INTERNALERROR_SEARCHERROR = "InternalError.SearchError" INTERNALERROR_SEARCHFAILED = "InternalError.SearchFailed" INVALIDPARAMETER = "InvalidParameter" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACLFAILED = "OperationDenied.ACLFailed" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists"
func (*Client) DescribeConfigMachineGroups ¶
func (c *Client) DescribeConfigMachineGroups(request *DescribeConfigMachineGroupsRequest) (response *DescribeConfigMachineGroupsResponse, err error)
DescribeConfigMachineGroups This API is used to get the machine group bound to collection rule configuration.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_CONFIGNOTEXIST = "ResourceNotFound.ConfigNotExist"
func (*Client) DescribeConfigMachineGroupsWithContext ¶
func (c *Client) DescribeConfigMachineGroupsWithContext(ctx context.Context, request *DescribeConfigMachineGroupsRequest) (response *DescribeConfigMachineGroupsResponse, err error)
DescribeConfigMachineGroups This API is used to get the machine group bound to collection rule configuration.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_CONFIGNOTEXIST = "ResourceNotFound.ConfigNotExist"
func (*Client) DescribeConfigs ¶
func (c *Client) DescribeConfigs(request *DescribeConfigsRequest) (response *DescribeConfigsResponse, err error)
DescribeConfigs This API is used to get collection rule configuration.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists" RESOURCENOTFOUND_TOPICNOTEXIST = "ResourceNotFound.TopicNotExist" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeConfigsWithContext ¶
func (c *Client) DescribeConfigsWithContext(ctx context.Context, request *DescribeConfigsRequest) (response *DescribeConfigsResponse, err error)
DescribeConfigs This API is used to get collection rule configuration.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists" RESOURCENOTFOUND_TOPICNOTEXIST = "ResourceNotFound.TopicNotExist" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeConsumer ¶
func (c *Client) DescribeConsumer(request *DescribeConsumerRequest) (response *DescribeConsumerResponse, err error)
DescribeConsumer This API is used to query a shipping task.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACLFAILED = "OperationDenied.ACLFailed" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists" RESOURCENOTFOUND_TOPICNOTEXIST = "ResourceNotFound.TopicNotExist"
func (*Client) DescribeConsumerWithContext ¶
func (c *Client) DescribeConsumerWithContext(ctx context.Context, request *DescribeConsumerRequest) (response *DescribeConsumerResponse, err error)
DescribeConsumer This API is used to query a shipping task.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACLFAILED = "OperationDenied.ACLFailed" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists" RESOURCENOTFOUND_TOPICNOTEXIST = "ResourceNotFound.TopicNotExist"
func (*Client) DescribeCosRecharges ¶
func (c *Client) DescribeCosRecharges(request *DescribeCosRechargesRequest) (response *DescribeCosRechargesResponse, err error)
DescribeCosRecharges This API is used to get COS import configuration.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_TOPICCONFLICT = "InvalidParameter.TopicConflict" LIMITEXCEEDED = "LimitExceeded" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACLFAILED = "OperationDenied.ACLFailed" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_TOPICNOTEXIST = "ResourceNotFound.TopicNotExist"
func (*Client) DescribeCosRechargesWithContext ¶
func (c *Client) DescribeCosRechargesWithContext(ctx context.Context, request *DescribeCosRechargesRequest) (response *DescribeCosRechargesResponse, err error)
DescribeCosRecharges This API is used to get COS import configuration.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_TOPICCONFLICT = "InvalidParameter.TopicConflict" LIMITEXCEEDED = "LimitExceeded" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACLFAILED = "OperationDenied.ACLFailed" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_TOPICNOTEXIST = "ResourceNotFound.TopicNotExist"
func (*Client) DescribeDataTransformInfo ¶
func (c *Client) DescribeDataTransformInfo(request *DescribeDataTransformInfoRequest) (response *DescribeDataTransformInfoResponse, err error)
DescribeDataTransformInfo This API is used to get the basic information of data processing tasks.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_TAGQPSLIMIT = "FailedOperation.TagQpsLimit" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACLFAILED = "OperationDenied.ACLFailed" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_TOPICNOTEXIST = "ResourceNotFound.TopicNotExist"
func (*Client) DescribeDataTransformInfoWithContext ¶
func (c *Client) DescribeDataTransformInfoWithContext(ctx context.Context, request *DescribeDataTransformInfoRequest) (response *DescribeDataTransformInfoResponse, err error)
DescribeDataTransformInfo This API is used to get the basic information of data processing tasks.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_TAGQPSLIMIT = "FailedOperation.TagQpsLimit" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACLFAILED = "OperationDenied.ACLFailed" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_TOPICNOTEXIST = "ResourceNotFound.TopicNotExist"
func (*Client) DescribeExports ¶
func (c *Client) DescribeExports(request *DescribeExportsRequest) (response *DescribeExportsResponse, err error)
DescribeExports This API is used to get the list of log download tasks.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_TOPICCLOSED = "FailedOperation.TopicClosed" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists" RESOURCENOTFOUND_EXPORTNOTEXIST = "ResourceNotFound.ExportNotExist" RESOURCENOTFOUND_TOPICNOTEXIST = "ResourceNotFound.TopicNotExist" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeExportsWithContext ¶
func (c *Client) DescribeExportsWithContext(ctx context.Context, request *DescribeExportsRequest) (response *DescribeExportsResponse, err error)
DescribeExports This API is used to get the list of log download tasks.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_TOPICCLOSED = "FailedOperation.TopicClosed" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists" RESOURCENOTFOUND_EXPORTNOTEXIST = "ResourceNotFound.ExportNotExist" RESOURCENOTFOUND_TOPICNOTEXIST = "ResourceNotFound.TopicNotExist" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeIndex ¶
func (c *Client) DescribeIndex(request *DescribeIndexRequest) (response *DescribeIndexResponse, err error)
DescribeIndex This API is used to get the index configuration information.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_TOPICISOLATED = "FailedOperation.TopicIsolated" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACLFAILED = "OperationDenied.ACLFailed" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists" RESOURCENOTFOUND_INDEXNOTEXIST = "ResourceNotFound.IndexNotExist" RESOURCENOTFOUND_TOPICNOTEXIST = "ResourceNotFound.TopicNotExist"
func (*Client) DescribeIndexWithContext ¶
func (c *Client) DescribeIndexWithContext(ctx context.Context, request *DescribeIndexRequest) (response *DescribeIndexResponse, err error)
DescribeIndex This API is used to get the index configuration information.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_TOPICISOLATED = "FailedOperation.TopicIsolated" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACLFAILED = "OperationDenied.ACLFailed" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists" RESOURCENOTFOUND_INDEXNOTEXIST = "ResourceNotFound.IndexNotExist" RESOURCENOTFOUND_TOPICNOTEXIST = "ResourceNotFound.TopicNotExist"
func (*Client) DescribeKafkaConsumer ¶
func (c *Client) DescribeKafkaConsumer(request *DescribeKafkaConsumerRequest) (response *DescribeKafkaConsumerResponse, err error)
DescribeKafkaConsumer This API is used to access Kafka protocol consumption information.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists" RESOURCENOTFOUND_TOPICNOTEXIST = "ResourceNotFound.TopicNotExist"
func (*Client) DescribeKafkaConsumerWithContext ¶
func (c *Client) DescribeKafkaConsumerWithContext(ctx context.Context, request *DescribeKafkaConsumerRequest) (response *DescribeKafkaConsumerResponse, err error)
DescribeKafkaConsumer This API is used to access Kafka protocol consumption information.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists" RESOURCENOTFOUND_TOPICNOTEXIST = "ResourceNotFound.TopicNotExist"
func (*Client) DescribeKafkaRecharges ¶
func (c *Client) DescribeKafkaRecharges(request *DescribeKafkaRechargesRequest) (response *DescribeKafkaRechargesResponse, err error)
DescribeKafkaRecharges This API is used to get the list of Kafka data subscription tasks.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_TOPICCONFLICT = "InvalidParameter.TopicConflict" LIMITEXCEEDED = "LimitExceeded" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACLFAILED = "OperationDenied.ACLFailed" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_TOPICNOTEXIST = "ResourceNotFound.TopicNotExist"
func (*Client) DescribeKafkaRechargesWithContext ¶
func (c *Client) DescribeKafkaRechargesWithContext(ctx context.Context, request *DescribeKafkaRechargesRequest) (response *DescribeKafkaRechargesResponse, err error)
DescribeKafkaRecharges This API is used to get the list of Kafka data subscription tasks.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_TOPICCONFLICT = "InvalidParameter.TopicConflict" LIMITEXCEEDED = "LimitExceeded" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACLFAILED = "OperationDenied.ACLFailed" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_TOPICNOTEXIST = "ResourceNotFound.TopicNotExist"
func (*Client) DescribeLogContext ¶
func (c *Client) DescribeLogContext(request *DescribeLogContextRequest) (response *DescribeLogContextResponse, err error)
DescribeLogContext This API is used to search for content near the log context. For more details, see [Context Search](https://intl.cloud.tencent.com/document/product/614/53248?from_cn_redirect=1).The maximum value of API's return data packet is 49MB. It is recommended to enable gzip compression (HTTP Request Header Accept-Encoding: gzip).
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INVALIDCONTEXT = "FailedOperation.InvalidContext" FAILEDOPERATION_QUERYERROR = "FailedOperation.QueryError" FAILEDOPERATION_SEARCHTIMEOUT = "FailedOperation.SearchTimeout" FAILEDOPERATION_SYNTAXERROR = "FailedOperation.SyntaxError" FAILEDOPERATION_TOPICISOLATED = "FailedOperation.TopicIsolated" INTERNALERROR = "InternalError" INTERNALERROR_SEARCHFAILED = "InternalError.SearchFailed" INVALIDPARAMETER = "InvalidParameter" LIMITEXCEEDED_LOGSEARCH = "LimitExceeded.LogSearch" LIMITEXCEEDED_SEARCHRESULTTOOLARGE = "LimitExceeded.SearchResultTooLarge" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists" RESOURCENOTFOUND_TOPICNOTEXIST = "ResourceNotFound.TopicNotExist"
func (*Client) DescribeLogContextWithContext ¶
func (c *Client) DescribeLogContextWithContext(ctx context.Context, request *DescribeLogContextRequest) (response *DescribeLogContextResponse, err error)
DescribeLogContext This API is used to search for content near the log context. For more details, see [Context Search](https://intl.cloud.tencent.com/document/product/614/53248?from_cn_redirect=1).The maximum value of API's return data packet is 49MB. It is recommended to enable gzip compression (HTTP Request Header Accept-Encoding: gzip).
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INVALIDCONTEXT = "FailedOperation.InvalidContext" FAILEDOPERATION_QUERYERROR = "FailedOperation.QueryError" FAILEDOPERATION_SEARCHTIMEOUT = "FailedOperation.SearchTimeout" FAILEDOPERATION_SYNTAXERROR = "FailedOperation.SyntaxError" FAILEDOPERATION_TOPICISOLATED = "FailedOperation.TopicIsolated" INTERNALERROR = "InternalError" INTERNALERROR_SEARCHFAILED = "InternalError.SearchFailed" INVALIDPARAMETER = "InvalidParameter" LIMITEXCEEDED_LOGSEARCH = "LimitExceeded.LogSearch" LIMITEXCEEDED_SEARCHRESULTTOOLARGE = "LimitExceeded.SearchResultTooLarge" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists" RESOURCENOTFOUND_TOPICNOTEXIST = "ResourceNotFound.TopicNotExist"
func (*Client) DescribeLogHistogram ¶
func (c *Client) DescribeLogHistogram(request *DescribeLogHistogramRequest) (response *DescribeLogHistogramResponse, err error)
DescribeLogHistogram This API is used to get a log count histogram.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INVALIDCONTEXT = "FailedOperation.InvalidContext" FAILEDOPERATION_QUERYERROR = "FailedOperation.QueryError" FAILEDOPERATION_SEARCHTIMEOUT = "FailedOperation.SearchTimeout" FAILEDOPERATION_SYNTAXERROR = "FailedOperation.SyntaxError" FAILEDOPERATION_TAGQPSLIMIT = "FailedOperation.TagQpsLimit" FAILEDOPERATION_TOPICISOLATED = "FailedOperation.TopicIsolated" INTERNALERROR = "InternalError" INTERNALERROR_SEARCHERROR = "InternalError.SearchError" INTERNALERROR_SEARCHFAILED = "InternalError.SearchFailed" INVALIDPARAMETER = "InvalidParameter" LIMITEXCEEDED_LOGSEARCH = "LimitExceeded.LogSearch" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists" OPERATIONDENIED_NEWSYNTAXNOTSUPPORTED = "OperationDenied.NewSyntaxNotSupported" RESOURCENOTFOUND_TOPICNOTEXIST = "ResourceNotFound.TopicNotExist"
func (*Client) DescribeLogHistogramWithContext ¶
func (c *Client) DescribeLogHistogramWithContext(ctx context.Context, request *DescribeLogHistogramRequest) (response *DescribeLogHistogramResponse, err error)
DescribeLogHistogram This API is used to get a log count histogram.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INVALIDCONTEXT = "FailedOperation.InvalidContext" FAILEDOPERATION_QUERYERROR = "FailedOperation.QueryError" FAILEDOPERATION_SEARCHTIMEOUT = "FailedOperation.SearchTimeout" FAILEDOPERATION_SYNTAXERROR = "FailedOperation.SyntaxError" FAILEDOPERATION_TAGQPSLIMIT = "FailedOperation.TagQpsLimit" FAILEDOPERATION_TOPICISOLATED = "FailedOperation.TopicIsolated" INTERNALERROR = "InternalError" INTERNALERROR_SEARCHERROR = "InternalError.SearchError" INTERNALERROR_SEARCHFAILED = "InternalError.SearchFailed" INVALIDPARAMETER = "InvalidParameter" LIMITEXCEEDED_LOGSEARCH = "LimitExceeded.LogSearch" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists" OPERATIONDENIED_NEWSYNTAXNOTSUPPORTED = "OperationDenied.NewSyntaxNotSupported" RESOURCENOTFOUND_TOPICNOTEXIST = "ResourceNotFound.TopicNotExist"
func (*Client) DescribeLogsets ¶
func (c *Client) DescribeLogsets(request *DescribeLogsetsRequest) (response *DescribeLogsetsResponse, err error)
DescribeLogsets This API is used to get the list of logsets.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_TAGQPSLIMIT = "FailedOperation.TagQpsLimit" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACLFAILED = "OperationDenied.ACLFailed" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DescribeLogsetsWithContext ¶
func (c *Client) DescribeLogsetsWithContext(ctx context.Context, request *DescribeLogsetsRequest) (response *DescribeLogsetsResponse, err error)
DescribeLogsets This API is used to get the list of logsets.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_TAGQPSLIMIT = "FailedOperation.TagQpsLimit" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACLFAILED = "OperationDenied.ACLFailed" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DescribeMachineGroupConfigs ¶
func (c *Client) DescribeMachineGroupConfigs(request *DescribeMachineGroupConfigsRequest) (response *DescribeMachineGroupConfigsResponse, err error)
DescribeMachineGroupConfigs This API is used to get the collection rule configuration bound to a machine group.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists" RESOURCENOTFOUND_CONFIGNOTEXIST = "ResourceNotFound.ConfigNotExist" RESOURCENOTFOUND_MACHINEGROUPNOTEXIST = "ResourceNotFound.MachineGroupNotExist"
func (*Client) DescribeMachineGroupConfigsWithContext ¶
func (c *Client) DescribeMachineGroupConfigsWithContext(ctx context.Context, request *DescribeMachineGroupConfigsRequest) (response *DescribeMachineGroupConfigsResponse, err error)
DescribeMachineGroupConfigs This API is used to get the collection rule configuration bound to a machine group.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists" RESOURCENOTFOUND_CONFIGNOTEXIST = "ResourceNotFound.ConfigNotExist" RESOURCENOTFOUND_MACHINEGROUPNOTEXIST = "ResourceNotFound.MachineGroupNotExist"
func (*Client) DescribeMachineGroups ¶
func (c *Client) DescribeMachineGroups(request *DescribeMachineGroupsRequest) (response *DescribeMachineGroupsResponse, err error)
DescribeMachineGroups This API is used to get the list of machine groups.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_TAGQPSLIMIT = "FailedOperation.TagQpsLimit" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeMachineGroupsWithContext ¶
func (c *Client) DescribeMachineGroupsWithContext(ctx context.Context, request *DescribeMachineGroupsRequest) (response *DescribeMachineGroupsResponse, err error)
DescribeMachineGroups This API is used to get the list of machine groups.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_TAGQPSLIMIT = "FailedOperation.TagQpsLimit" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeMachines ¶
func (c *Client) DescribeMachines(request *DescribeMachinesRequest) (response *DescribeMachinesResponse, err error)
DescribeMachines This API is used to get the status of a machine under the specified machine group.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists" RESOURCENOTFOUND_AGENTVERSIONNOTEXIST = "ResourceNotFound.AgentVersionNotExist" RESOURCENOTFOUND_MACHINEGROUPNOTEXIST = "ResourceNotFound.MachineGroupNotExist"
func (*Client) DescribeMachinesWithContext ¶
func (c *Client) DescribeMachinesWithContext(ctx context.Context, request *DescribeMachinesRequest) (response *DescribeMachinesResponse, err error)
DescribeMachines This API is used to get the status of a machine under the specified machine group.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists" RESOURCENOTFOUND_AGENTVERSIONNOTEXIST = "ResourceNotFound.AgentVersionNotExist" RESOURCENOTFOUND_MACHINEGROUPNOTEXIST = "ResourceNotFound.MachineGroupNotExist"
func (*Client) DescribePartitions ¶
func (c *Client) DescribePartitions(request *DescribePartitionsRequest) (response *DescribePartitionsResponse, err error)
DescribePartitions This API is used to get the list of topic partitions.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACLFAILED = "OperationDenied.ACLFailed" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_TOPICNOTEXIST = "ResourceNotFound.TopicNotExist"
func (*Client) DescribePartitionsWithContext ¶
func (c *Client) DescribePartitionsWithContext(ctx context.Context, request *DescribePartitionsRequest) (response *DescribePartitionsResponse, err error)
DescribePartitions This API is used to get the list of topic partitions.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACLFAILED = "OperationDenied.ACLFailed" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_TOPICNOTEXIST = "ResourceNotFound.TopicNotExist"
func (*Client) DescribeScheduledSqlInfo ¶
func (c *Client) DescribeScheduledSqlInfo(request *DescribeScheduledSqlInfoRequest) (response *DescribeScheduledSqlInfoResponse, err error)
DescribeScheduledSqlInfo This API is used to access the scheduled SQL analysis task list.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_TAGQPSLIMIT = "FailedOperation.TagQpsLimit" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACLFAILED = "OperationDenied.ACLFailed" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_TOPICNOTEXIST = "ResourceNotFound.TopicNotExist"
func (*Client) DescribeScheduledSqlInfoWithContext ¶
func (c *Client) DescribeScheduledSqlInfoWithContext(ctx context.Context, request *DescribeScheduledSqlInfoRequest) (response *DescribeScheduledSqlInfoResponse, err error)
DescribeScheduledSqlInfo This API is used to access the scheduled SQL analysis task list.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_TAGQPSLIMIT = "FailedOperation.TagQpsLimit" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACLFAILED = "OperationDenied.ACLFailed" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_TOPICNOTEXIST = "ResourceNotFound.TopicNotExist"
func (*Client) DescribeShipperTasks ¶
func (c *Client) DescribeShipperTasks(request *DescribeShipperTasksRequest) (response *DescribeShipperTasksResponse, err error)
DescribeShipperTasks This API is used to get the list of shipping tasks.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACLFAILED = "OperationDenied.ACLFailed" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists" RESOURCENOTFOUND_SHIPPERNOTEXIST = "ResourceNotFound.ShipperNotExist"
func (*Client) DescribeShipperTasksWithContext ¶
func (c *Client) DescribeShipperTasksWithContext(ctx context.Context, request *DescribeShipperTasksRequest) (response *DescribeShipperTasksResponse, err error)
DescribeShipperTasks This API is used to get the list of shipping tasks.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACLFAILED = "OperationDenied.ACLFailed" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists" RESOURCENOTFOUND_SHIPPERNOTEXIST = "ResourceNotFound.ShipperNotExist"
func (*Client) DescribeShippers ¶
func (c *Client) DescribeShippers(request *DescribeShippersRequest) (response *DescribeShippersResponse, err error)
DescribeShippers This API is used to get the configuration of the task shipped to COS.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACLFAILED = "OperationDenied.ACLFailed" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists" RESOURCENOTFOUND_TOPICNOTEXIST = "ResourceNotFound.TopicNotExist"
func (*Client) DescribeShippersWithContext ¶
func (c *Client) DescribeShippersWithContext(ctx context.Context, request *DescribeShippersRequest) (response *DescribeShippersResponse, err error)
DescribeShippers This API is used to get the configuration of the task shipped to COS.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACLFAILED = "OperationDenied.ACLFailed" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists" RESOURCENOTFOUND_TOPICNOTEXIST = "ResourceNotFound.TopicNotExist"
func (*Client) DescribeTopics ¶
func (c *Client) DescribeTopics(request *DescribeTopicsRequest) (response *DescribeTopicsResponse, err error)
DescribeTopics This API is used to get the list of log topics and supports pagination.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_TAGQPSLIMIT = "FailedOperation.TagQpsLimit" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACLFAILED = "OperationDenied.ACLFailed" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists" OPERATIONDENIED_ANALYSISSWITCHCLOSE = "OperationDenied.AnalysisSwitchClose" RESOURCENOTFOUND_LOGSETNOTEXIST = "ResourceNotFound.LogsetNotExist" RESOURCENOTFOUND_TOPICNOTEXIST = "ResourceNotFound.TopicNotExist" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeTopicsWithContext ¶
func (c *Client) DescribeTopicsWithContext(ctx context.Context, request *DescribeTopicsRequest) (response *DescribeTopicsResponse, err error)
DescribeTopics This API is used to get the list of log topics and supports pagination.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_TAGQPSLIMIT = "FailedOperation.TagQpsLimit" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACLFAILED = "OperationDenied.ACLFailed" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists" OPERATIONDENIED_ANALYSISSWITCHCLOSE = "OperationDenied.AnalysisSwitchClose" RESOURCENOTFOUND_LOGSETNOTEXIST = "ResourceNotFound.LogsetNotExist" RESOURCENOTFOUND_TOPICNOTEXIST = "ResourceNotFound.TopicNotExist" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) GetAlarmLog ¶
func (c *Client) GetAlarmLog(request *GetAlarmLogRequest) (response *GetAlarmLogResponse, err error)
GetAlarmLog This API is used to access alarm policy execution details.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_GETLOGREACHLIMIT = "FailedOperation.GetlogReachLimit" FAILEDOPERATION_INVALIDCONTEXT = "FailedOperation.InvalidContext" FAILEDOPERATION_QUERYERROR = "FailedOperation.QueryError" FAILEDOPERATION_SEARCHTIMEOUT = "FailedOperation.SearchTimeout" FAILEDOPERATION_SYNTAXERROR = "FailedOperation.SyntaxError" FAILEDOPERATION_TIMEOUT = "FailedOperation.Timeout" FAILEDOPERATION_TOPICISOLATED = "FailedOperation.TopicIsolated" INTERNALERROR = "InternalError" INTERNALERROR_SEARCHERROR = "InternalError.SearchError" INTERNALERROR_SEARCHFAILED = "InternalError.SearchFailed" INVALIDPARAMETER = "InvalidParameter" LIMITEXCEEDED_LOGSEARCH = "LimitExceeded.LogSearch" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists" RESOURCENOTFOUND_TOPICNOTEXIST = "ResourceNotFound.TopicNotExist" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) GetAlarmLogWithContext ¶
func (c *Client) GetAlarmLogWithContext(ctx context.Context, request *GetAlarmLogRequest) (response *GetAlarmLogResponse, err error)
GetAlarmLog This API is used to access alarm policy execution details.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_GETLOGREACHLIMIT = "FailedOperation.GetlogReachLimit" FAILEDOPERATION_INVALIDCONTEXT = "FailedOperation.InvalidContext" FAILEDOPERATION_QUERYERROR = "FailedOperation.QueryError" FAILEDOPERATION_SEARCHTIMEOUT = "FailedOperation.SearchTimeout" FAILEDOPERATION_SYNTAXERROR = "FailedOperation.SyntaxError" FAILEDOPERATION_TIMEOUT = "FailedOperation.Timeout" FAILEDOPERATION_TOPICISOLATED = "FailedOperation.TopicIsolated" INTERNALERROR = "InternalError" INTERNALERROR_SEARCHERROR = "InternalError.SearchError" INTERNALERROR_SEARCHFAILED = "InternalError.SearchFailed" INVALIDPARAMETER = "InvalidParameter" LIMITEXCEEDED_LOGSEARCH = "LimitExceeded.LogSearch" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists" RESOURCENOTFOUND_TOPICNOTEXIST = "ResourceNotFound.TopicNotExist" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) MergePartition ¶
func (c *Client) MergePartition(request *MergePartitionRequest) (response *MergePartitionResponse, err error)
MergePartition This API is used to merge a topic partition in read/write state. During merge, a topic partition ID can be specified, and CLS will automatically merge the partition adjacent to the right of the range.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" LIMITEXCEEDED_PARTITION = "LimitExceeded.Partition" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACLFAILED = "OperationDenied.ACLFailed" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists" RESOURCENOTFOUND_PARTITIONNOTEXIST = "ResourceNotFound.PartitionNotExist" RESOURCENOTFOUND_TOPICNOTEXIST = "ResourceNotFound.TopicNotExist" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) MergePartitionWithContext ¶
func (c *Client) MergePartitionWithContext(ctx context.Context, request *MergePartitionRequest) (response *MergePartitionResponse, err error)
MergePartition This API is used to merge a topic partition in read/write state. During merge, a topic partition ID can be specified, and CLS will automatically merge the partition adjacent to the right of the range.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" LIMITEXCEEDED_PARTITION = "LimitExceeded.Partition" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACLFAILED = "OperationDenied.ACLFailed" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists" RESOURCENOTFOUND_PARTITIONNOTEXIST = "ResourceNotFound.PartitionNotExist" RESOURCENOTFOUND_TOPICNOTEXIST = "ResourceNotFound.TopicNotExist" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) ModifyAlarm ¶
func (c *Client) ModifyAlarm(request *ModifyAlarmRequest) (response *ModifyAlarmResponse, err error)
ModifyAlarm This API is used to modify an alarm policy. At least one valid configuration item needs to be modified.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INVALIDALARM = "FailedOperation.InvalidAlarm" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_ALARMCONFLICT = "InvalidParameter.AlarmConflict" INVALIDPARAMETER_DBDUPLICATION = "InvalidParameter.DbDuplication" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists" OPERATIONDENIED_ALARMNOTSUPPORTFORSEARCHLOW = "OperationDenied.AlarmNotSupportForSearchLow" RESOURCENOTFOUND_ALARMNOTEXIST = "ResourceNotFound.AlarmNotExist" RESOURCENOTFOUND_ALARMNOTICENOTEXIST = "ResourceNotFound.AlarmNoticeNotExist" RESOURCENOTFOUND_TOPICNOTEXIST = "ResourceNotFound.TopicNotExist"
func (*Client) ModifyAlarmNotice ¶
func (c *Client) ModifyAlarmNotice(request *ModifyAlarmNoticeRequest) (response *ModifyAlarmNoticeResponse, err error)
ModifyAlarmNotice This API is used to modify a notification group.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_ALARMCONFLICT = "InvalidParameter.AlarmConflict" INVALIDPARAMETER_ALARMNOTICECONFLICT = "InvalidParameter.AlarmNoticeConflict" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACLFAILED = "OperationDenied.ACLFailed" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists" RESOURCENOTFOUND_ALARMNOTICENOTEXIST = "ResourceNotFound.AlarmNoticeNotExist"
func (*Client) ModifyAlarmNoticeWithContext ¶
func (c *Client) ModifyAlarmNoticeWithContext(ctx context.Context, request *ModifyAlarmNoticeRequest) (response *ModifyAlarmNoticeResponse, err error)
ModifyAlarmNotice This API is used to modify a notification group.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_ALARMCONFLICT = "InvalidParameter.AlarmConflict" INVALIDPARAMETER_ALARMNOTICECONFLICT = "InvalidParameter.AlarmNoticeConflict" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACLFAILED = "OperationDenied.ACLFailed" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists" RESOURCENOTFOUND_ALARMNOTICENOTEXIST = "ResourceNotFound.AlarmNoticeNotExist"
func (*Client) ModifyAlarmShield ¶
func (c *Client) ModifyAlarmShield(request *ModifyAlarmShieldRequest) (response *ModifyAlarmShieldResponse, err error)
ModifyAlarmShield This API is used to modify alarm blocking rules.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_TIMEOUT = "FailedOperation.Timeout" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_ALARMNOTICECONFLICT = "InvalidParameter.AlarmNoticeConflict" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists"
func (*Client) ModifyAlarmShieldWithContext ¶
func (c *Client) ModifyAlarmShieldWithContext(ctx context.Context, request *ModifyAlarmShieldRequest) (response *ModifyAlarmShieldResponse, err error)
ModifyAlarmShield This API is used to modify alarm blocking rules.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_TIMEOUT = "FailedOperation.Timeout" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_ALARMNOTICECONFLICT = "InvalidParameter.AlarmNoticeConflict" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists"
func (*Client) ModifyAlarmWithContext ¶
func (c *Client) ModifyAlarmWithContext(ctx context.Context, request *ModifyAlarmRequest) (response *ModifyAlarmResponse, err error)
ModifyAlarm This API is used to modify an alarm policy. At least one valid configuration item needs to be modified.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INVALIDALARM = "FailedOperation.InvalidAlarm" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_ALARMCONFLICT = "InvalidParameter.AlarmConflict" INVALIDPARAMETER_DBDUPLICATION = "InvalidParameter.DbDuplication" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists" OPERATIONDENIED_ALARMNOTSUPPORTFORSEARCHLOW = "OperationDenied.AlarmNotSupportForSearchLow" RESOURCENOTFOUND_ALARMNOTEXIST = "ResourceNotFound.AlarmNotExist" RESOURCENOTFOUND_ALARMNOTICENOTEXIST = "ResourceNotFound.AlarmNoticeNotExist" RESOURCENOTFOUND_TOPICNOTEXIST = "ResourceNotFound.TopicNotExist"
func (*Client) ModifyConfig ¶
func (c *Client) ModifyConfig(request *ModifyConfigRequest) (response *ModifyConfigResponse, err error)
ModifyConfig This API is used to modify collection rule configuration.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_CONFIGCONFLICT = "InvalidParameter.ConfigConflict" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_CONFIGNOTEXIST = "ResourceNotFound.ConfigNotExist" RESOURCENOTFOUND_TOPICNOTEXIST = "ResourceNotFound.TopicNotExist"
func (*Client) ModifyConfigWithContext ¶
func (c *Client) ModifyConfigWithContext(ctx context.Context, request *ModifyConfigRequest) (response *ModifyConfigResponse, err error)
ModifyConfig This API is used to modify collection rule configuration.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_CONFIGCONFLICT = "InvalidParameter.ConfigConflict" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_CONFIGNOTEXIST = "ResourceNotFound.ConfigNotExist" RESOURCENOTFOUND_TOPICNOTEXIST = "ResourceNotFound.TopicNotExist"
func (*Client) ModifyConsumer ¶
func (c *Client) ModifyConsumer(request *ModifyConsumerRequest) (response *ModifyConsumerResponse, err error)
ModifyConsumer This API is used to modify a CKafka delivery task.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACLFAILED = "OperationDenied.ACLFailed" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists" RESOURCENOTFOUND_RECORDNOTEXIST = "ResourceNotFound.RecordNotExist"
func (*Client) ModifyConsumerWithContext ¶
func (c *Client) ModifyConsumerWithContext(ctx context.Context, request *ModifyConsumerRequest) (response *ModifyConsumerResponse, err error)
ModifyConsumer This API is used to modify a CKafka delivery task.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACLFAILED = "OperationDenied.ACLFailed" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists" RESOURCENOTFOUND_RECORDNOTEXIST = "ResourceNotFound.RecordNotExist"
func (*Client) ModifyCosRecharge ¶
func (c *Client) ModifyCosRecharge(request *ModifyCosRechargeRequest) (response *ModifyCosRechargeResponse, err error)
ModifyCosRecharge This API is used to modify a COS import task.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_DBDUPLICATION = "InvalidParameter.DbDuplication" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACLFAILED = "OperationDenied.ACLFailed" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists" RESOURCENOTFOUND_TOPICNOTEXIST = "ResourceNotFound.TopicNotExist"
func (*Client) ModifyCosRechargeWithContext ¶
func (c *Client) ModifyCosRechargeWithContext(ctx context.Context, request *ModifyCosRechargeRequest) (response *ModifyCosRechargeResponse, err error)
ModifyCosRecharge This API is used to modify a COS import task.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_DBDUPLICATION = "InvalidParameter.DbDuplication" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACLFAILED = "OperationDenied.ACLFailed" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists" RESOURCENOTFOUND_TOPICNOTEXIST = "ResourceNotFound.TopicNotExist"
func (*Client) ModifyDataTransform ¶
func (c *Client) ModifyDataTransform(request *ModifyDataTransformRequest) (response *ModifyDataTransformResponse, err error)
ModifyDataTransform This API is used to modify a data processing task.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_DATAFROMTASKCONFLICT = "InvalidParameter.DataFromTaskConflict" INVALIDPARAMETER_DATAFROMTASKNOTEXIST = "InvalidParameter.DataFromTaskNotExist" INVALIDPARAMETER_INVALIDETLCONTENT = "InvalidParameter.InvalidEtlContent" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACLFAILED = "OperationDenied.ACLFailed" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_TOPICNOTEXIST = "ResourceNotFound.TopicNotExist"
func (*Client) ModifyDataTransformWithContext ¶
func (c *Client) ModifyDataTransformWithContext(ctx context.Context, request *ModifyDataTransformRequest) (response *ModifyDataTransformResponse, err error)
ModifyDataTransform This API is used to modify a data processing task.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_DATAFROMTASKCONFLICT = "InvalidParameter.DataFromTaskConflict" INVALIDPARAMETER_DATAFROMTASKNOTEXIST = "InvalidParameter.DataFromTaskNotExist" INVALIDPARAMETER_INVALIDETLCONTENT = "InvalidParameter.InvalidEtlContent" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACLFAILED = "OperationDenied.ACLFailed" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_TOPICNOTEXIST = "ResourceNotFound.TopicNotExist"
func (*Client) ModifyIndex ¶
func (c *Client) ModifyIndex(request *ModifyIndexRequest) (response *ModifyIndexResponse, err error)
ModifyIndex This API is used to modify the index configuration. It is subject to the default request frequency limit, and the number of concurrent requests to the same log topic cannot exceed 1, i.e., the index configuration of only one log topic can be modified at a time.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INVALIDINDEXRULEFORSEARCHLOW = "FailedOperation.InValidIndexRuleForSearchLow" FAILEDOPERATION_TOPICISOLATED = "FailedOperation.TopicIsolated" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDINDEXRULEFORSEARCHLOW = "InvalidParameter.InValidIndexRuleForSearchLow" LIMITEXCEEDED_INDEXOPERATING = "LimitExceeded.IndexOperating" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACLFAILED = "OperationDenied.ACLFailed" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists" RESOURCENOTFOUND_INDEXNOTEXIST = "ResourceNotFound.IndexNotExist" RESOURCENOTFOUND_TOPICNOTEXIST = "ResourceNotFound.TopicNotExist" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) ModifyIndexWithContext ¶
func (c *Client) ModifyIndexWithContext(ctx context.Context, request *ModifyIndexRequest) (response *ModifyIndexResponse, err error)
ModifyIndex This API is used to modify the index configuration. It is subject to the default request frequency limit, and the number of concurrent requests to the same log topic cannot exceed 1, i.e., the index configuration of only one log topic can be modified at a time.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INVALIDINDEXRULEFORSEARCHLOW = "FailedOperation.InValidIndexRuleForSearchLow" FAILEDOPERATION_TOPICISOLATED = "FailedOperation.TopicIsolated" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDINDEXRULEFORSEARCHLOW = "InvalidParameter.InValidIndexRuleForSearchLow" LIMITEXCEEDED_INDEXOPERATING = "LimitExceeded.IndexOperating" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACLFAILED = "OperationDenied.ACLFailed" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists" RESOURCENOTFOUND_INDEXNOTEXIST = "ResourceNotFound.IndexNotExist" RESOURCENOTFOUND_TOPICNOTEXIST = "ResourceNotFound.TopicNotExist" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) ModifyKafkaConsumer ¶
func (c *Client) ModifyKafkaConsumer(request *ModifyKafkaConsumerRequest) (response *ModifyKafkaConsumerResponse, err error)
ModifyKafkaConsumer This API is used to modify Kafka protocol consumption information.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACLFAILED = "OperationDenied.ACLFailed" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists" RESOURCENOTFOUND_TOPICNOTEXIST = "ResourceNotFound.TopicNotExist"
func (*Client) ModifyKafkaConsumerWithContext ¶
func (c *Client) ModifyKafkaConsumerWithContext(ctx context.Context, request *ModifyKafkaConsumerRequest) (response *ModifyKafkaConsumerResponse, err error)
ModifyKafkaConsumer This API is used to modify Kafka protocol consumption information.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACLFAILED = "OperationDenied.ACLFailed" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists" RESOURCENOTFOUND_TOPICNOTEXIST = "ResourceNotFound.TopicNotExist"
func (*Client) ModifyKafkaRecharge ¶
func (c *Client) ModifyKafkaRecharge(request *ModifyKafkaRechargeRequest) (response *ModifyKafkaRechargeResponse, err error)
ModifyKafkaRecharge This API is used to modify a Kafka data subscription task.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists"
func (*Client) ModifyKafkaRechargeWithContext ¶
func (c *Client) ModifyKafkaRechargeWithContext(ctx context.Context, request *ModifyKafkaRechargeRequest) (response *ModifyKafkaRechargeResponse, err error)
ModifyKafkaRecharge This API is used to modify a Kafka data subscription task.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists"
func (*Client) ModifyLogset ¶
func (c *Client) ModifyLogset(request *ModifyLogsetRequest) (response *ModifyLogsetResponse, err error)
ModifyLogset This API is used to modify a logset.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_PERIODMODIFYFORBIDDEN = "FailedOperation.PeriodModifyForbidden" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_LOGSETCONFLICT = "InvalidParameter.LogsetConflict" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACLFAILED = "OperationDenied.ACLFailed" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists" RESOURCENOTFOUND_LOGSETNOTEXIST = "ResourceNotFound.LogsetNotExist"
func (*Client) ModifyLogsetWithContext ¶
func (c *Client) ModifyLogsetWithContext(ctx context.Context, request *ModifyLogsetRequest) (response *ModifyLogsetResponse, err error)
ModifyLogset This API is used to modify a logset.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_PERIODMODIFYFORBIDDEN = "FailedOperation.PeriodModifyForbidden" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_LOGSETCONFLICT = "InvalidParameter.LogsetConflict" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACLFAILED = "OperationDenied.ACLFailed" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists" RESOURCENOTFOUND_LOGSETNOTEXIST = "ResourceNotFound.LogsetNotExist"
func (*Client) ModifyMachineGroup ¶
func (c *Client) ModifyMachineGroup(request *ModifyMachineGroupRequest) (response *ModifyMachineGroupResponse, err error)
ModifyMachineGroup This API is used to modify a machine group.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_MACHINEGROUPCONFLICT = "InvalidParameter.MachineGroupConflict" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED_MACHINEGROUPIP = "LimitExceeded.MachineGroupIp" LIMITEXCEEDED_MACHINEGROUPIPLABELS = "LimitExceeded.MachineGroupIpLabels" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists" RESOURCENOTFOUND_MACHINEGROUPNOTEXIST = "ResourceNotFound.MachineGroupNotExist"
func (*Client) ModifyMachineGroupWithContext ¶
func (c *Client) ModifyMachineGroupWithContext(ctx context.Context, request *ModifyMachineGroupRequest) (response *ModifyMachineGroupResponse, err error)
ModifyMachineGroup This API is used to modify a machine group.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_MACHINEGROUPCONFLICT = "InvalidParameter.MachineGroupConflict" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED_MACHINEGROUPIP = "LimitExceeded.MachineGroupIp" LIMITEXCEEDED_MACHINEGROUPIPLABELS = "LimitExceeded.MachineGroupIpLabels" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists" RESOURCENOTFOUND_MACHINEGROUPNOTEXIST = "ResourceNotFound.MachineGroupNotExist"
func (*Client) ModifyScheduledSql ¶
func (c *Client) ModifyScheduledSql(request *ModifyScheduledSqlRequest) (response *ModifyScheduledSqlResponse, err error)
ModifyScheduledSql This API is used to modify a scheduled SQL analysis task.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_DATAFROMTASKCONFLICT = "InvalidParameter.DataFromTaskConflict" INVALIDPARAMETER_INVALIDETLCONTENT = "InvalidParameter.InvalidEtlContent" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACLFAILED = "OperationDenied.ACLFailed" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_DATAFROMTASKNOTEXIST = "ResourceNotFound.DataFromTaskNotExist" RESOURCENOTFOUND_TOPICNOTEXIST = "ResourceNotFound.TopicNotExist"
func (*Client) ModifyScheduledSqlWithContext ¶
func (c *Client) ModifyScheduledSqlWithContext(ctx context.Context, request *ModifyScheduledSqlRequest) (response *ModifyScheduledSqlResponse, err error)
ModifyScheduledSql This API is used to modify a scheduled SQL analysis task.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_DATAFROMTASKCONFLICT = "InvalidParameter.DataFromTaskConflict" INVALIDPARAMETER_INVALIDETLCONTENT = "InvalidParameter.InvalidEtlContent" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACLFAILED = "OperationDenied.ACLFailed" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_DATAFROMTASKNOTEXIST = "ResourceNotFound.DataFromTaskNotExist" RESOURCENOTFOUND_TOPICNOTEXIST = "ResourceNotFound.TopicNotExist"
func (*Client) ModifyShipper ¶
func (c *Client) ModifyShipper(request *ModifyShipperRequest) (response *ModifyShipperResponse, err error)
ModifyShipper This API is used to modify an existing shipping rule. To use this API, you need to grant CLS the write permission of the specified bucket.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" OPERATIONDENIED_ACLFAILED = "OperationDenied.ACLFailed" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_SHIPPERNOTEXIST = "ResourceNotFound.ShipperNotExist"
func (*Client) ModifyShipperWithContext ¶
func (c *Client) ModifyShipperWithContext(ctx context.Context, request *ModifyShipperRequest) (response *ModifyShipperResponse, err error)
ModifyShipper This API is used to modify an existing shipping rule. To use this API, you need to grant CLS the write permission of the specified bucket.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" OPERATIONDENIED_ACLFAILED = "OperationDenied.ACLFailed" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_SHIPPERNOTEXIST = "ResourceNotFound.ShipperNotExist"
func (*Client) ModifyTopic ¶
func (c *Client) ModifyTopic(request *ModifyTopicRequest) (response *ModifyTopicResponse, err error)
ModifyTopic This API is used to modify a log topic.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INVALIDPERIOD = "FailedOperation.InvalidPeriod" FAILEDOPERATION_TAGQPSLIMIT = "FailedOperation.TagQpsLimit" FAILEDOPERATION_TOPICCLOSED = "FailedOperation.TopicClosed" FAILEDOPERATION_TOPICISOLATED = "FailedOperation.TopicIsolated" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_TOPICCONFLICT = "InvalidParameter.TopicConflict" LIMITEXCEEDED = "LimitExceeded" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACLFAILED = "OperationDenied.ACLFailed" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists" OPERATIONDENIED_TOPICHASSCHEDULESQLTASK = "OperationDenied.TopicHasScheduleSqlTask" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_TOPICNOTEXIST = "ResourceNotFound.TopicNotExist"
func (*Client) ModifyTopicWithContext ¶
func (c *Client) ModifyTopicWithContext(ctx context.Context, request *ModifyTopicRequest) (response *ModifyTopicResponse, err error)
ModifyTopic This API is used to modify a log topic.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INVALIDPERIOD = "FailedOperation.InvalidPeriod" FAILEDOPERATION_TAGQPSLIMIT = "FailedOperation.TagQpsLimit" FAILEDOPERATION_TOPICCLOSED = "FailedOperation.TopicClosed" FAILEDOPERATION_TOPICISOLATED = "FailedOperation.TopicIsolated" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_TOPICCONFLICT = "InvalidParameter.TopicConflict" LIMITEXCEEDED = "LimitExceeded" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACLFAILED = "OperationDenied.ACLFailed" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists" OPERATIONDENIED_TOPICHASSCHEDULESQLTASK = "OperationDenied.TopicHasScheduleSqlTask" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_TOPICNOTEXIST = "ResourceNotFound.TopicNotExist"
func (*Client) OpenKafkaConsumer ¶
func (c *Client) OpenKafkaConsumer(request *OpenKafkaConsumerRequest) (response *OpenKafkaConsumerResponse, err error)
OpenKafkaConsumer This API is used to enable the Kafka consumption feature.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_EXPORTCONFLICT = "InvalidParameter.ExportConflict" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACLFAILED = "OperationDenied.ACLFailed" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists" RESOURCENOTFOUND_TOPICNOTEXIST = "ResourceNotFound.TopicNotExist"
func (*Client) OpenKafkaConsumerWithContext ¶
func (c *Client) OpenKafkaConsumerWithContext(ctx context.Context, request *OpenKafkaConsumerRequest) (response *OpenKafkaConsumerResponse, err error)
OpenKafkaConsumer This API is used to enable the Kafka consumption feature.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_EXPORTCONFLICT = "InvalidParameter.ExportConflict" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACLFAILED = "OperationDenied.ACLFailed" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists" RESOURCENOTFOUND_TOPICNOTEXIST = "ResourceNotFound.TopicNotExist"
func (*Client) PreviewKafkaRecharge ¶
func (c *Client) PreviewKafkaRecharge(request *PreviewKafkaRechargeRequest) (response *PreviewKafkaRechargeResponse, err error)
PreviewKafkaRecharge This API is used to preview the logs of Kafka data subscription tasks.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_TIMEOUT = "FailedOperation.Timeout" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists"
func (*Client) PreviewKafkaRechargeWithContext ¶
func (c *Client) PreviewKafkaRechargeWithContext(ctx context.Context, request *PreviewKafkaRechargeRequest) (response *PreviewKafkaRechargeResponse, err error)
PreviewKafkaRecharge This API is used to preview the logs of Kafka data subscription tasks.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_TIMEOUT = "FailedOperation.Timeout" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists"
func (*Client) QueryMetric ¶
func (c *Client) QueryMetric(request *QueryMetricRequest) (response *QueryMetricResponse, err error)
QueryMetric This API is used to query the latest metric value at a specified time.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_QUERYERROR = "FailedOperation.QueryError" FAILEDOPERATION_TIMEOUT = "FailedOperation.Timeout" INTERNALERROR = "InternalError" INTERNALERROR_SEARCHERROR = "InternalError.SearchError" INTERNALERROR_SEARCHFAILED = "InternalError.SearchFailed" INVALIDPARAMETER = "InvalidParameter" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_TOPICNOTEXIST = "ResourceNotFound.TopicNotExist"
func (*Client) QueryMetricWithContext ¶
func (c *Client) QueryMetricWithContext(ctx context.Context, request *QueryMetricRequest) (response *QueryMetricResponse, err error)
QueryMetric This API is used to query the latest metric value at a specified time.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_QUERYERROR = "FailedOperation.QueryError" FAILEDOPERATION_TIMEOUT = "FailedOperation.Timeout" INTERNALERROR = "InternalError" INTERNALERROR_SEARCHERROR = "InternalError.SearchError" INTERNALERROR_SEARCHFAILED = "InternalError.SearchFailed" INVALIDPARAMETER = "InvalidParameter" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_TOPICNOTEXIST = "ResourceNotFound.TopicNotExist"
func (*Client) QueryRangeMetric ¶
func (c *Client) QueryRangeMetric(request *QueryRangeMetricRequest) (response *QueryRangeMetricResponse, err error)
QueryRangeMetric This API is used to query the trend of metrics within a specified time range.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_QUERYERROR = "FailedOperation.QueryError" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" MISSINGPARAMETER = "MissingParameter"
func (*Client) QueryRangeMetricWithContext ¶
func (c *Client) QueryRangeMetricWithContext(ctx context.Context, request *QueryRangeMetricRequest) (response *QueryRangeMetricResponse, err error)
QueryRangeMetric This API is used to query the trend of metrics within a specified time range.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_QUERYERROR = "FailedOperation.QueryError" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" MISSINGPARAMETER = "MissingParameter"
func (*Client) RetryShipperTask ¶
func (c *Client) RetryShipperTask(request *RetryShipperTaskRequest) (response *RetryShipperTaskResponse, err error)
RetryShipperTask This API is used to retry a failed shipping task.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_SHIPPERTASKNOTTORETRY = "FailedOperation.ShipperTaskNotToRetry" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACLFAILED = "OperationDenied.ACLFailed" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists" RESOURCENOTFOUND_SHIPPERNOTEXIST = "ResourceNotFound.ShipperNotExist" RESOURCENOTFOUND_SHIPPERTASKNOTEXIST = "ResourceNotFound.ShipperTaskNotExist"
func (*Client) RetryShipperTaskWithContext ¶
func (c *Client) RetryShipperTaskWithContext(ctx context.Context, request *RetryShipperTaskRequest) (response *RetryShipperTaskResponse, err error)
RetryShipperTask This API is used to retry a failed shipping task.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_SHIPPERTASKNOTTORETRY = "FailedOperation.ShipperTaskNotToRetry" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACLFAILED = "OperationDenied.ACLFailed" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists" RESOURCENOTFOUND_SHIPPERNOTEXIST = "ResourceNotFound.ShipperNotExist" RESOURCENOTFOUND_SHIPPERTASKNOTEXIST = "ResourceNotFound.ShipperTaskNotExist"
func (*Client) SearchCosRechargeInfo ¶
func (c *Client) SearchCosRechargeInfo(request *SearchCosRechargeInfoRequest) (response *SearchCosRechargeInfoResponse, err error)
SearchCosRechargeInfo This API is used to preview COS import information.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_BUCKETNOFILE = "FailedOperation.BucketNoFile" FAILEDOPERATION_DECOMPRESSFILE = "FailedOperation.DecompressFile" FAILEDOPERATION_DOWNLOADFILE = "FailedOperation.DownLoadFile" FAILEDOPERATION_GETLISTFILE = "FailedOperation.GetListFile" FAILEDOPERATION_PREVIEWFILE = "FailedOperation.PreviewFile" FAILEDOPERATION_READFILE = "FailedOperation.ReadFile" FAILEDOPERATION_TIMEOUT = "FailedOperation.Timeout" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_DBDUPLICATION = "InvalidParameter.DbDuplication" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACLFAILED = "OperationDenied.ACLFailed" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists" RESOURCENOTFOUND_TOPICNOTEXIST = "ResourceNotFound.TopicNotExist"
func (*Client) SearchCosRechargeInfoWithContext ¶
func (c *Client) SearchCosRechargeInfoWithContext(ctx context.Context, request *SearchCosRechargeInfoRequest) (response *SearchCosRechargeInfoResponse, err error)
SearchCosRechargeInfo This API is used to preview COS import information.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_BUCKETNOFILE = "FailedOperation.BucketNoFile" FAILEDOPERATION_DECOMPRESSFILE = "FailedOperation.DecompressFile" FAILEDOPERATION_DOWNLOADFILE = "FailedOperation.DownLoadFile" FAILEDOPERATION_GETLISTFILE = "FailedOperation.GetListFile" FAILEDOPERATION_PREVIEWFILE = "FailedOperation.PreviewFile" FAILEDOPERATION_READFILE = "FailedOperation.ReadFile" FAILEDOPERATION_TIMEOUT = "FailedOperation.Timeout" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_DBDUPLICATION = "InvalidParameter.DbDuplication" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACLFAILED = "OperationDenied.ACLFailed" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists" RESOURCENOTFOUND_TOPICNOTEXIST = "ResourceNotFound.TopicNotExist"
func (*Client) SearchLog ¶
func (c *Client) SearchLog(request *SearchLogRequest) (response *SearchLogResponse, err error)
SearchLog This API is used to search and analyze logs. When using this API, please note the following:1. Besides being subject to the default API request frequency limit by this API, for a single log topic, the concurrency number cannot exceed 15. 2. For search syntax, it's recommended to use the CQL syntax rule. Please use the SyntaxRule parameter and set its value to 1.
3. The maximum value of API's response data packet is 49MB. It is recommended to enable gzip compression (HTTP Request Header Accept-Encoding: gzip).
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INVALIDCONTEXT = "FailedOperation.InvalidContext" FAILEDOPERATION_QUERYERROR = "FailedOperation.QueryError" FAILEDOPERATION_SEARCHTIMEOUT = "FailedOperation.SearchTimeout" FAILEDOPERATION_SYNTAXERROR = "FailedOperation.SyntaxError" FAILEDOPERATION_TIMEOUT = "FailedOperation.Timeout" FAILEDOPERATION_TOPICISOLATED = "FailedOperation.TopicIsolated" INTERNALERROR = "InternalError" INTERNALERROR_SEARCHERROR = "InternalError.SearchError" INTERNALERROR_SEARCHFAILED = "InternalError.SearchFailed" INVALIDPARAMETER = "InvalidParameter" LIMITEXCEEDED_LOGSEARCH = "LimitExceeded.LogSearch" LIMITEXCEEDED_SEARCHRESOURCES = "LimitExceeded.SearchResources" LIMITEXCEEDED_SEARCHRESULTTOOLARGE = "LimitExceeded.SearchResultTooLarge" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists" OPERATIONDENIED_NEWSYNTAXNOTSUPPORTED = "OperationDenied.NewSyntaxNotSupported" OPERATIONDENIED_OPERATIONNOTSUPPORTINSEARCHLOW = "OperationDenied.OperationNotSupportInSearchLow" RESOURCENOTFOUND_TOPICNOTEXIST = "ResourceNotFound.TopicNotExist"
func (*Client) SearchLogWithContext ¶
func (c *Client) SearchLogWithContext(ctx context.Context, request *SearchLogRequest) (response *SearchLogResponse, err error)
SearchLog This API is used to search and analyze logs. When using this API, please note the following:1. Besides being subject to the default API request frequency limit by this API, for a single log topic, the concurrency number cannot exceed 15. 2. For search syntax, it's recommended to use the CQL syntax rule. Please use the SyntaxRule parameter and set its value to 1.
3. The maximum value of API's response data packet is 49MB. It is recommended to enable gzip compression (HTTP Request Header Accept-Encoding: gzip).
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INVALIDCONTEXT = "FailedOperation.InvalidContext" FAILEDOPERATION_QUERYERROR = "FailedOperation.QueryError" FAILEDOPERATION_SEARCHTIMEOUT = "FailedOperation.SearchTimeout" FAILEDOPERATION_SYNTAXERROR = "FailedOperation.SyntaxError" FAILEDOPERATION_TIMEOUT = "FailedOperation.Timeout" FAILEDOPERATION_TOPICISOLATED = "FailedOperation.TopicIsolated" INTERNALERROR = "InternalError" INTERNALERROR_SEARCHERROR = "InternalError.SearchError" INTERNALERROR_SEARCHFAILED = "InternalError.SearchFailed" INVALIDPARAMETER = "InvalidParameter" LIMITEXCEEDED_LOGSEARCH = "LimitExceeded.LogSearch" LIMITEXCEEDED_SEARCHRESOURCES = "LimitExceeded.SearchResources" LIMITEXCEEDED_SEARCHRESULTTOOLARGE = "LimitExceeded.SearchResultTooLarge" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists" OPERATIONDENIED_NEWSYNTAXNOTSUPPORTED = "OperationDenied.NewSyntaxNotSupported" OPERATIONDENIED_OPERATIONNOTSUPPORTINSEARCHLOW = "OperationDenied.OperationNotSupportInSearchLow" RESOURCENOTFOUND_TOPICNOTEXIST = "ResourceNotFound.TopicNotExist"
func (*Client) SplitPartition ¶
func (c *Client) SplitPartition(request *SplitPartitionRequest) (response *SplitPartitionResponse, err error)
SplitPartition This API is used to split a topic partition.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_TOPICCLOSED = "FailedOperation.TopicClosed" FAILEDOPERATION_TOPICISOLATED = "FailedOperation.TopicIsolated" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" LIMITEXCEEDED_PARTITION = "LimitExceeded.Partition" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACLFAILED = "OperationDenied.ACLFailed" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_PARTITIONNOTEXIST = "ResourceNotFound.PartitionNotExist" RESOURCENOTFOUND_TOPICNOTEXIST = "ResourceNotFound.TopicNotExist" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) SplitPartitionWithContext ¶
func (c *Client) SplitPartitionWithContext(ctx context.Context, request *SplitPartitionRequest) (response *SplitPartitionResponse, err error)
SplitPartition This API is used to split a topic partition.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_TOPICCLOSED = "FailedOperation.TopicClosed" FAILEDOPERATION_TOPICISOLATED = "FailedOperation.TopicIsolated" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" LIMITEXCEEDED_PARTITION = "LimitExceeded.Partition" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACLFAILED = "OperationDenied.ACLFailed" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_PARTITIONNOTEXIST = "ResourceNotFound.PartitionNotExist" RESOURCENOTFOUND_TOPICNOTEXIST = "ResourceNotFound.TopicNotExist" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) UploadLog ¶
func (c *Client) UploadLog(request *UploadLogRequest, data []byte) (response *UploadLogResponse, err error)
UploadLog ## Note
To ensure log data reliability and help you use CLS more efficiently, we recommend you use the optimized API to upload logs. For more information about the API, see [Uploading Log via API](https://intl.cloud.tencent.com/document/product/614/16873?from_cn_redirect=1).
For the optimized API, we have developed an SDK (available in multiple languages) that provides features including async sending, resource control, automatic retry, graceful shutdown, and detection-based reporting. For details, see [Uploading Log via SDK](https://intl.cloud.tencent.com/document/product/614/67157?from_cn_redirect=1).
`UploadLog` allows you to synchronously upload log data. If you still want to continue to use this API instead of the optimized one, read this document.
## Feature Description
This API is used to write logs to a specified log topic.
CLS provides the following two modes:
#### Load balancing mode
In this mode, logs will be automatically written to a target partition among all readable/writable partitions under the current log topic based on the load balancing principle. This mode is suitable for scenarios where sequential consumption is not needed.
#### Hash routing mode
In this mode, data will be written to a target partition that meets the range requirements based on the carried hash value (`X-CLS-HashKey`). For example, a log source can be bound to a topic partition through `HashKey`, strictly guaranteeing the sequence of the data written to and consumed in this partition.
#### Input parameters (pb binary streams in `body`)
| Parameter | Type | Location | Required | Description |
| ------------ | ------- | ---- | ---- | ------------------------------------------------------------ |
| logGroupList | message | pb | Yes | The `logGroup` list, which describes the encapsulated log groups. We recommend you enter up to five `logGroup` values. |
`LogGroup` description:
| Parameter | Required | Description |
| ----------- | -------- | ------------------------------------------------------------ |
| logs | Yes | Log array consisting of multiple `Log` values. The `Log` indicates a log, and a `LogGroup` can contain up to 10,000 `Log` values. |
| contextFlow | No | Unique `LogGroup` ID, which should be passed in if the context feature needs to be used. Format: "{Context ID}-{LogGroupID}". <br>Context ID: Uniquely identifies the context (a series of log files that are continuously scrolling or a series of logs that need to be sequenced), which is a 64-bit integer hex string. <br>LogGroupID: A 64-bit integer hex string that continuously increases, such as `102700A66102516A-59F59`. |
| filename | No | Log filename |
| source | No | Log source, which is generally the machine IP |
| logTags | No | List of log tags |
`Log` description:
| Parameter | Required | Description |
| -------- | -------- | ------------------------------------------------------------ |
| time | Yes | Unix timestamp of log time in seconds or milliseconds (recommended) |
| contents | No | Log content in key-value format. A log can contain multiple key-value pairs. |
`Content` description:
| Parameter | Required | Description |
| ------ | -------- | ------------------------------------------------------------ |
| key | Yes | Key of a field group in one log, which cannot start with `_`. |
| value | Yes | Value of a field group. The `value` of one log cannot exceed 1 MB and the total `value` in `LogGroup` cannot exceed 5 MB. |
`LogTag` description:
| Parameter | Required | Description |
| ------ | -------- | -------------------------------- |
| key | Yes | Key of a custom tag |
| value | Yes | Value corresponding to the custom tag key |
## pb Compilation Example
This example shows you how to use the protoc compiler to compile a pb description file into a log upload API in C++.
> ?Currently, protoc supports compilation in multiple programming languages such as Java, C++, and Python. For more information, see [protoc](https://github.com/protocolbuffers/protobuf).
#### 1. Install protocol buffers
Download [Protocol Buffers](https://main.qcloudimg.com/raw/d7810aaf8b3073fbbc9d4049c21532aa/protobuf-2.6.1.tar.gz), decompress the package, and install the tool. The version used in the example is protobuf 2.6.1 running on CentOS 7.3. Run the following command to decompress the `protobuf-2.6.1.tar.gz` package to the `/usr/local` directory and go to the directory:
```
tar -zxvf protobuf-2.6.1.tar.gz -C /usr/local/ && cd /usr/local/protobuf-2.6.1
```
Run the following commands to start compilation and installation and configure the environment variables:
```
[root@VM_0_8_centos protobuf-2.6.1]# ./configure
[root@VM_0_8_centos protobuf-2.6.1]# make && make install
[root@VM_0_8_centos protobuf-2.6.1]# export PATH=$PATH:/usr/local/protobuf-2.6.1/bin
```
After the compilation succeeds, run the following command to check the version:
```
[root@VM_0_8_centos protobuf-2.6.1]# protoc --version
liprotoc 2.6.1
```
#### 2. Create a pb description file
A pb description file is an agreed-on data interchange format for communication. To upload logs, compile the specified protocol format to an API in the target programming language and add the API to the project code. For more information, see [protoc](https://github.com/protocolbuffers/protobuf).
Create a pb message description file `cls.proto` based on the pb data format content specified by CLS.
> !The pb description file content cannot be modified, and the filename must end with `.proto`.
The content of `cls.proto` (pb description file) is as follows:
```
package cls;
message Log
{
message Content { required string key = 1; // Key of each field group required string value = 2; // Value of each field group } required int64 time = 1; // Unix timestamp repeated Content contents = 2; // Multiple key-value pairs in one log
}
message LogTag
{
required string key = 1; required string value = 2;
}
message LogGroup
{
repeated Log logs = 1; // Log array consisting of multiple logs optional string contextFlow = 2; // This parameter does not take effect currently optional string filename = 3; // Log filename optional string source = 4; // Log source, which is generally the machine IP repeated LogTag logTags = 5;
}
message LogGroupList
{
repeated LogGroup logGroupList = 1; // Log group list
}
```
#### 3. Compile and generate the API
This example uses the proto compiler to generate a C++ file in the same directory as the `cls.proto` file. Run the following compilation command:
```
protoc --cpp_out=./ ./cls.proto
```
> ?`--cpp_out=./` indicates that the file will be compiled in cpp format and output to the current directory. `./cls.proto` indicates the `cls.proto` description file in the current directory.
After the compilation succeeds, the code file in the corresponding programming language will be generated. This example generates the `cls.pb.h` header file and [cls.pb.cc](http://cls.pb.cc) code implementation file as shown below:
```
[root@VM_0_8_centos protobuf-2.6.1]# protoc --cpp_out=./ ./cls.proto
[root@VM_0_8_centos protobuf-2.6.1]# ls
cls.pb.cc cls.pb.h cls.proto
```
#### 4. Call the API
Import the generated `cls.pb.h` header file into the code and call the API for data encapsulation.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_MISSINGCONTENT = "FailedOperation.MissingContent" FAILEDOPERATION_READQPSLIMIT = "FailedOperation.ReadQpsLimit" FAILEDOPERATION_TOPICCLOSED = "FailedOperation.TopicClosed" FAILEDOPERATION_TOPICISOLATED = "FailedOperation.TopicIsolated" FAILEDOPERATION_WRITEQPSLIMIT = "FailedOperation.WriteQpsLimit" FAILEDOPERATION_WRITETRAFFICLIMIT = "FailedOperation.WriteTrafficLimit" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_CONTENT = "InvalidParameter.Content" LIMITEXCEEDED_LOGSIZE = "LimitExceeded.LogSize" LIMITEXCEEDED_TAG = "LimitExceeded.Tag" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACLFAILED = "OperationDenied.ACLFailed" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists" RESOURCENOTFOUND_PARTITIONNOTEXIST = "ResourceNotFound.PartitionNotExist" RESOURCENOTFOUND_TOPICNOTEXIST = "ResourceNotFound.TopicNotExist" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) UploadLogWithContext ¶
func (c *Client) UploadLogWithContext(ctx context.Context, request *UploadLogRequest, data []byte) (response *UploadLogResponse, err error)
UploadLog ## Note
To ensure log data reliability and help you use CLS more efficiently, we recommend you use the optimized API to upload logs. For more information about the API, see [Uploading Log via API](https://intl.cloud.tencent.com/document/product/614/16873?from_cn_redirect=1).
For the optimized API, we have developed an SDK (available in multiple languages) that provides features including async sending, resource control, automatic retry, graceful shutdown, and detection-based reporting. For details, see [Uploading Log via SDK](https://intl.cloud.tencent.com/document/product/614/67157?from_cn_redirect=1).
`UploadLog` allows you to synchronously upload log data. If you still want to continue to use this API instead of the optimized one, read this document.
## Feature Description
This API is used to write logs to a specified log topic.
CLS provides the following two modes:
#### Load balancing mode
In this mode, logs will be automatically written to a target partition among all readable/writable partitions under the current log topic based on the load balancing principle. This mode is suitable for scenarios where sequential consumption is not needed.
#### Hash routing mode
In this mode, data will be written to a target partition that meets the range requirements based on the carried hash value (`X-CLS-HashKey`). For example, a log source can be bound to a topic partition through `HashKey`, strictly guaranteeing the sequence of the data written to and consumed in this partition.
#### Input parameters (pb binary streams in `body`)
| Parameter | Type | Location | Required | Description |
| ------------ | ------- | ---- | ---- | ------------------------------------------------------------ |
| logGroupList | message | pb | Yes | The `logGroup` list, which describes the encapsulated log groups. We recommend you enter up to five `logGroup` values. |
`LogGroup` description:
| Parameter | Required | Description |
| ----------- | -------- | ------------------------------------------------------------ |
| logs | Yes | Log array consisting of multiple `Log` values. The `Log` indicates a log, and a `LogGroup` can contain up to 10,000 `Log` values. |
| contextFlow | No | Unique `LogGroup` ID, which should be passed in if the context feature needs to be used. Format: "{Context ID}-{LogGroupID}". <br>Context ID: Uniquely identifies the context (a series of log files that are continuously scrolling or a series of logs that need to be sequenced), which is a 64-bit integer hex string. <br>LogGroupID: A 64-bit integer hex string that continuously increases, such as `102700A66102516A-59F59`. |
| filename | No | Log filename |
| source | No | Log source, which is generally the machine IP |
| logTags | No | List of log tags |
`Log` description:
| Parameter | Required | Description |
| -------- | -------- | ------------------------------------------------------------ |
| time | Yes | Unix timestamp of log time in seconds or milliseconds (recommended) |
| contents | No | Log content in key-value format. A log can contain multiple key-value pairs. |
`Content` description:
| Parameter | Required | Description |
| ------ | -------- | ------------------------------------------------------------ |
| key | Yes | Key of a field group in one log, which cannot start with `_`. |
| value | Yes | Value of a field group. The `value` of one log cannot exceed 1 MB and the total `value` in `LogGroup` cannot exceed 5 MB. |
`LogTag` description:
| Parameter | Required | Description |
| ------ | -------- | -------------------------------- |
| key | Yes | Key of a custom tag |
| value | Yes | Value corresponding to the custom tag key |
## pb Compilation Example
This example shows you how to use the protoc compiler to compile a pb description file into a log upload API in C++.
> ?Currently, protoc supports compilation in multiple programming languages such as Java, C++, and Python. For more information, see [protoc](https://github.com/protocolbuffers/protobuf).
#### 1. Install protocol buffers
Download [Protocol Buffers](https://main.qcloudimg.com/raw/d7810aaf8b3073fbbc9d4049c21532aa/protobuf-2.6.1.tar.gz), decompress the package, and install the tool. The version used in the example is protobuf 2.6.1 running on CentOS 7.3. Run the following command to decompress the `protobuf-2.6.1.tar.gz` package to the `/usr/local` directory and go to the directory:
```
tar -zxvf protobuf-2.6.1.tar.gz -C /usr/local/ && cd /usr/local/protobuf-2.6.1
```
Run the following commands to start compilation and installation and configure the environment variables:
```
[root@VM_0_8_centos protobuf-2.6.1]# ./configure
[root@VM_0_8_centos protobuf-2.6.1]# make && make install
[root@VM_0_8_centos protobuf-2.6.1]# export PATH=$PATH:/usr/local/protobuf-2.6.1/bin
```
After the compilation succeeds, run the following command to check the version:
```
[root@VM_0_8_centos protobuf-2.6.1]# protoc --version
liprotoc 2.6.1
```
#### 2. Create a pb description file
A pb description file is an agreed-on data interchange format for communication. To upload logs, compile the specified protocol format to an API in the target programming language and add the API to the project code. For more information, see [protoc](https://github.com/protocolbuffers/protobuf).
Create a pb message description file `cls.proto` based on the pb data format content specified by CLS.
> !The pb description file content cannot be modified, and the filename must end with `.proto`.
The content of `cls.proto` (pb description file) is as follows:
```
package cls;
message Log
{
message Content { required string key = 1; // Key of each field group required string value = 2; // Value of each field group } required int64 time = 1; // Unix timestamp repeated Content contents = 2; // Multiple key-value pairs in one log
}
message LogTag
{
required string key = 1; required string value = 2;
}
message LogGroup
{
repeated Log logs = 1; // Log array consisting of multiple logs optional string contextFlow = 2; // This parameter does not take effect currently optional string filename = 3; // Log filename optional string source = 4; // Log source, which is generally the machine IP repeated LogTag logTags = 5;
}
message LogGroupList
{
repeated LogGroup logGroupList = 1; // Log group list
}
```
#### 3. Compile and generate the API
This example uses the proto compiler to generate a C++ file in the same directory as the `cls.proto` file. Run the following compilation command:
```
protoc --cpp_out=./ ./cls.proto
```
> ?`--cpp_out=./` indicates that the file will be compiled in cpp format and output to the current directory. `./cls.proto` indicates the `cls.proto` description file in the current directory.
After the compilation succeeds, the code file in the corresponding programming language will be generated. This example generates the `cls.pb.h` header file and [cls.pb.cc](http://cls.pb.cc) code implementation file as shown below:
```
[root@VM_0_8_centos protobuf-2.6.1]# protoc --cpp_out=./ ./cls.proto
[root@VM_0_8_centos protobuf-2.6.1]# ls
cls.pb.cc cls.pb.h cls.proto
```
#### 4. Call the API
Import the generated `cls.pb.h` header file into the code and call the API for data encapsulation.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_MISSINGCONTENT = "FailedOperation.MissingContent" FAILEDOPERATION_READQPSLIMIT = "FailedOperation.ReadQpsLimit" FAILEDOPERATION_TOPICCLOSED = "FailedOperation.TopicClosed" FAILEDOPERATION_TOPICISOLATED = "FailedOperation.TopicIsolated" FAILEDOPERATION_WRITEQPSLIMIT = "FailedOperation.WriteQpsLimit" FAILEDOPERATION_WRITETRAFFICLIMIT = "FailedOperation.WriteTrafficLimit" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_CONTENT = "InvalidParameter.Content" LIMITEXCEEDED_LOGSIZE = "LimitExceeded.LogSize" LIMITEXCEEDED_TAG = "LimitExceeded.Tag" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACLFAILED = "OperationDenied.ACLFailed" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists" RESOURCENOTFOUND_PARTITIONNOTEXIST = "ResourceNotFound.PartitionNotExist" RESOURCENOTFOUND_TOPICNOTEXIST = "ResourceNotFound.TopicNotExist" UNSUPPORTEDOPERATION = "UnsupportedOperation"
type CloseKafkaConsumerRequest ¶
type CloseKafkaConsumerRequest struct { *tchttp.BaseRequest // Log topic ID FromTopicId *string `json:"FromTopicId,omitnil,omitempty" name:"FromTopicId"` }
func NewCloseKafkaConsumerRequest ¶
func NewCloseKafkaConsumerRequest() (request *CloseKafkaConsumerRequest)
func (*CloseKafkaConsumerRequest) FromJsonString ¶
func (r *CloseKafkaConsumerRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CloseKafkaConsumerRequest) ToJsonString ¶
func (r *CloseKafkaConsumerRequest) ToJsonString() string
type CloseKafkaConsumerRequestParams ¶
type CloseKafkaConsumerRequestParams struct { // Log topic ID FromTopicId *string `json:"FromTopicId,omitnil,omitempty" name:"FromTopicId"` }
Predefined struct for user
type CloseKafkaConsumerResponse ¶
type CloseKafkaConsumerResponse struct { *tchttp.BaseResponse Response *CloseKafkaConsumerResponseParams `json:"Response"` }
func NewCloseKafkaConsumerResponse ¶
func NewCloseKafkaConsumerResponse() (response *CloseKafkaConsumerResponse)
func (*CloseKafkaConsumerResponse) FromJsonString ¶
func (r *CloseKafkaConsumerResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CloseKafkaConsumerResponse) ToJsonString ¶
func (r *CloseKafkaConsumerResponse) ToJsonString() string
type CloseKafkaConsumerResponseParams ¶
type CloseKafkaConsumerResponseParams 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 CompressInfo ¶
type CompressInfo struct { // Compression format. Valid values: `gzip`; `lzop`; `snappy`; `none` (no compression) Format *string `json:"Format,omitnil,omitempty" name:"Format"` }
type ConditionInfo ¶
type ConfigInfo ¶
type ConfigInfo struct { // Collection rule configuration ID ConfigId *string `json:"ConfigId,omitnil,omitempty" name:"ConfigId"` // Name of the collection rule configuration // Note: This field may return null, indicating that no valid values can be obtained. Name *string `json:"Name,omitnil,omitempty" name:"Name"` // Log formatting method // Note: this field may return `null`, indicating that no valid values can be obtained. LogFormat *string `json:"LogFormat,omitnil,omitempty" name:"LogFormat"` // Log collection path // Note: this field may return `null`, indicating that no valid values can be obtained. Path *string `json:"Path,omitnil,omitempty" name:"Path"` // Type of collected logs.- json_log: JSON File Log (For more information, see [Using JSON pattern to collect logs](https://intl.cloud.tencent.com/document/product/614/17419?from_cn_redirect=1));- delimiter_log: Delimiter - File Logs (For more information, see [Using delimiter pattern to collect logs](https://intl.cloud.tencent.com/document/product/614/17420?from_cn_redirect=1));- minimalist_log: Single-line Full-text File Log (For more information, see [Using single-line full-text pattern to collect logs](https://intl.cloud.tencent.com/document/product/614/17421?from_cn_redirect=1));- fullregex_log: Single line full regular expression - File log (For more information, see [Using single-line - complete regular expression pattern to collect logs](https://intl.cloud.tencent.com/document/product/614/52365?from_cn_redirect=1));- multiline_log: Multiline Full-text File Log (For more information, see [Using multi-line full-text pattern to collect logs](https://intl.cloud.tencent.com/document/product/614/17422?from_cn_redirect=1));- multiline_fullregex_log: Multi-line complete regular expression - File Logs (For more information, see [Using multi-line - complete regular expression pattern to collect logs](https://intl.cloud.tencent.com/document/product/614/52366?from_cn_redirect=1));- user_define_log: Combined parsing (Suitable for logs with multiple nested formats, see [Using combined parsing pattern to collect logs](https://intl.cloud.tencent.com/document/product/614/61310?from_cn_redirect=1));- service_syslog: syslog collection (For more information, see [Collect Syslog](https://intl.cloud.tencent.com/document/product/614/81454?from_cn_redirect=1));- windows_event_log represents: Windows event logs (see Collecting Windows Event Logs (https://intl.cloud.tencent.com/document/product/614/96678?from_cn_redirect=1) for details.).Note: This field may return null, indicating that no valid values can be obtained. LogType *string `json:"LogType,omitnil,omitempty" name:"LogType"` // Extraction rule. If `ExtractRule` is set, `LogType` must be set // Note: this field may return `null`, indicating that no valid values can be obtained. ExtractRule *ExtractRuleInfo `json:"ExtractRule,omitnil,omitempty" name:"ExtractRule"` // Collection path blocklist // Note: this field may return `null`, indicating that no valid values can be obtained. ExcludePaths []*ExcludePathInfo `json:"ExcludePaths,omitnil,omitempty" name:"ExcludePaths"` // Log topic ID (TopicId) of collection configuration Output *string `json:"Output,omitnil,omitempty" name:"Output"` // Update time // Note: this field may return `null`, indicating that no valid values can be obtained. UpdateTime *string `json:"UpdateTime,omitnil,omitempty" name:"UpdateTime"` // Creation time CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"` // User-defined parsing strings, see Collecting Logs Using Combined Parsing Extraction Mode (https://intl.cloud.tencent.com/document/product/614/61310?from_cn_redirect=1) for details.Note: This field may return null, indicating that no valid values can be obtained. UserDefineRule *string `json:"UserDefineRule,omitnil,omitempty" name:"UserDefineRule"` // Advanced collection configuration. A JSON string, Key/Value definition as follows:- ClsAgentFileTimeout (timeout property), value range: an integer greater than or equal to 0, where 0 means no timeout- ClsAgentMaxDepth (maximum directory depth), value range: an integer greater than or equal to 0- ClsAgentParseFailMerge (merge logs that failed parsing), value range: true or falseSample:`{\"ClsAgentFileTimeout\":0,\"ClsAgentMaxDepth\":10,\"ClsAgentParseFailMerge\":true}` // // Default placeholder value in the console: `{"ClsAgentDefault":0}`Note: This field may return null, indicating that no valid values can be obtained. AdvancedConfig *string `json:"AdvancedConfig,omitnil,omitempty" name:"AdvancedConfig"` }
type ConsumerContent ¶
type ConsumerContent struct { // Whether to deliver TAG information. // When EnableTag is true, it indicates the delivery of TAG metadata.Note: This field may return null, indicating that no valid values can be obtained. EnableTag *bool `json:"EnableTag,omitnil,omitempty" name:"EnableTag"` // List of metadata to ship. Supported metadata types: \_\_SOURCE\_\_, \_\_FILENAME\_\_, \_\_TIMESTAMP\_\_, \_\_HOSTNAME\_\_, and \_\_PKGID\_\_. // Note: This field may return null, indicating that no valid values can be obtained. MetaFields []*string `json:"MetaFields,omitnil,omitempty" name:"MetaFields"` // When EnableTag is true, the TagJsonNotTiled field must be filled.TagJsonNotTiled is used to indicate whether tag information is JSON flattened.When TagJsonNotTiled is true, it is not flattened. Example:TAG information: `{"__TAG__":{"fieldA":200,"fieldB":"text"}}` // Untiled: `{"__TAG__":{"fieldA":200,"fieldB":"text"}}`When TagJsonNotTiled is false, the data is tiled. Example:TAG information: `{"__TAG__":{"fieldA":200,"fieldB":"text"}}`Tiled: `{"__TAG__.fieldA":200,"__TAG__.fieldB":"text"}` // Note: This field may return null, indicating that no valid values can be obtained. TagJsonNotTiled *bool `json:"TagJsonNotTiled,omitnil,omitempty" name:"TagJsonNotTiled"` // Delivery timestamp precision, optional [1: second; 2: millisecond], default is 1.Note: This field may return null, indicating that no valid values can be obtained. TimestampAccuracy *int64 `json:"TimestampAccuracy,omitnil,omitempty" name:"TimestampAccuracy"` // Deliver in JSON format.JsonType is 0: Consistent with the original log, no escape. Example: // Original log: `{"a":"aa", "b":{"b1":"b1b1", "c1":"c1c1"}}`Deliver to CKafka: `{"a":"aa", "b":{"b1":"b1b1", "c1":"c1c1"}}`JsonType is 1: Escaped. Example:Original log: `{"a":"aa", "b":{"b1":"b1b1", "c1":"c1c1"}}`Delivered to CKafka: `{"a":"aa","b":"{\"b1\":\"b1b1\", \"c1\":\"c1c1\"}"}` // Note: This field may return null, indicating that no valid values can be obtained. JsonType *int64 `json:"JsonType,omitnil,omitempty" name:"JsonType"` }
type ContentInfo ¶
type ContentInfo struct { // Content format. Valid values: `json`, `csv` Format *string `json:"Format,omitnil,omitempty" name:"Format"` // CSV format content description // Note: this field may return `null`, indicating that no valid values can be obtained. Csv *CsvInfo `json:"Csv,omitnil,omitempty" name:"Csv"` // JSON format content description // Note: this field may return `null`, indicating that no valid values can be obtained. Json *JsonInfo `json:"Json,omitnil,omitempty" name:"Json"` // `Parquet` format description // Note: This field may return `null`, indicating that no valid value can be obtained. Parquet *ParquetInfo `json:"Parquet,omitnil,omitempty" name:"Parquet"` }
type CosRechargeInfo ¶
type CosRechargeInfo struct { // COS import configuration ID. // Note: This field may return null, indicating that no valid values can be obtained. Id *string `json:"Id,omitnil,omitempty" name:"Id"` // ID of the log topic. // Note: This field may return null, indicating that no valid values can be obtained. TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"` // ID of the logset. // Note: This field may return null, indicating that no valid values can be obtained. LogsetId *string `json:"LogsetId,omitnil,omitempty" name:"LogsetId"` // COS import task name. // Note: This field may return null, indicating that no valid values can be obtained. Name *string `json:"Name,omitnil,omitempty" name:"Name"` // COS bucket. // Note: This field may return null, indicating that no valid values can be obtained. Bucket *string `json:"Bucket,omitnil,omitempty" name:"Bucket"` // Region where the COS bucket is located. // Note: This field may return null, indicating that no valid values can be obtained. BucketRegion *string `json:"BucketRegion,omitnil,omitempty" name:"BucketRegion"` // The prefix of the folder where COS files are located. // Note: This field may return null, indicating that no valid values can be obtained. Prefix *string `json:"Prefix,omitnil,omitempty" name:"Prefix"` // The type of log collected. `json_log`: JSON logs; `delimiter_log`: separator logs; `minimalist_log`: full text in a single line // Default value: `minimalist_log` // Note: This field may return null, indicating that no valid values can be obtained. LogType *string `json:"LogType,omitnil,omitempty" name:"LogType"` // Status. `0`: Created, `1`: Running, `2`: Stopped, `3`: Completed, `4`: Run failed // Note: This field may return null, indicating that no valid values can be obtained. Status *uint64 `json:"Status,omitnil,omitempty" name:"Status"` // Whether the configuration is enabled. `0`: Not enabled, `1`: Enabled // Note: This field may return null, indicating that no valid values can be obtained. Enable *uint64 `json:"Enable,omitnil,omitempty" name:"Enable"` // Creation time. // Note: This field may return null, indicating that no valid values can be obtained. CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"` // Update time. // Note: This field may return null, indicating that no valid values can be obtained. UpdateTime *string `json:"UpdateTime,omitnil,omitempty" name:"UpdateTime"` // Progress in percentage. // Note: This field may return null, indicating that no valid values can be obtained. Progress *uint64 `json:"Progress,omitnil,omitempty" name:"Progress"` // Valid values: "" (default), "gzip", "lzop", "snappy" // Note: This field may return null, indicating that no valid values can be obtained. Compress *string `json:"Compress,omitnil,omitempty" name:"Compress"` // See the description of the `ExtractRuleInfo` structure. // Note: This field may return null, indicating that no valid values can be obtained. ExtractRuleInfo *ExtractRuleInfo `json:"ExtractRuleInfo,omitnil,omitempty" name:"ExtractRuleInfo"` }
type CreateAlarmNoticeRequest ¶
type CreateAlarmNoticeRequest struct { *tchttp.BaseRequest // Notification group name Name *string `json:"Name,omitnil,omitempty" name:"Name"` // Notification type. Optional Values:<li> Trigger - Alarm triggered </li><li> Recovery - Alarm recovery</li><li> All - Alarm triggered and alarm recovery</li> Type *string `json:"Type,omitnil,omitempty" name:"Type"` // Notification recipient NoticeReceivers []*NoticeReceiver `json:"NoticeReceivers,omitnil,omitempty" name:"NoticeReceivers"` // API callback information (including WeCom) WebCallbacks []*WebCallback `json:"WebCallbacks,omitnil,omitempty" name:"WebCallbacks"` // Notification RulesNote: - Type, NoticeReceivers, and WebCallbacks form one set of configurations, and NoticeRules form another set. The two sets of configurations are mutually exclusive. NoticeRules []*NoticeRule `json:"NoticeRules,omitnil,omitempty" name:"NoticeRules"` }
func NewCreateAlarmNoticeRequest ¶
func NewCreateAlarmNoticeRequest() (request *CreateAlarmNoticeRequest)
func (*CreateAlarmNoticeRequest) FromJsonString ¶
func (r *CreateAlarmNoticeRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateAlarmNoticeRequest) ToJsonString ¶
func (r *CreateAlarmNoticeRequest) ToJsonString() string
type CreateAlarmNoticeRequestParams ¶
type CreateAlarmNoticeRequestParams struct { // Notification group name Name *string `json:"Name,omitnil,omitempty" name:"Name"` // Notification type. Optional Values:<li> Trigger - Alarm triggered </li><li> Recovery - Alarm recovery</li><li> All - Alarm triggered and alarm recovery</li> Type *string `json:"Type,omitnil,omitempty" name:"Type"` // Notification recipient NoticeReceivers []*NoticeReceiver `json:"NoticeReceivers,omitnil,omitempty" name:"NoticeReceivers"` // API callback information (including WeCom) WebCallbacks []*WebCallback `json:"WebCallbacks,omitnil,omitempty" name:"WebCallbacks"` // Notification RulesNote: - Type, NoticeReceivers, and WebCallbacks form one set of configurations, and NoticeRules form another set. The two sets of configurations are mutually exclusive. NoticeRules []*NoticeRule `json:"NoticeRules,omitnil,omitempty" name:"NoticeRules"` }
Predefined struct for user
type CreateAlarmNoticeResponse ¶
type CreateAlarmNoticeResponse struct { *tchttp.BaseResponse Response *CreateAlarmNoticeResponseParams `json:"Response"` }
func NewCreateAlarmNoticeResponse ¶
func NewCreateAlarmNoticeResponse() (response *CreateAlarmNoticeResponse)
func (*CreateAlarmNoticeResponse) FromJsonString ¶
func (r *CreateAlarmNoticeResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateAlarmNoticeResponse) ToJsonString ¶
func (r *CreateAlarmNoticeResponse) ToJsonString() string
type CreateAlarmNoticeResponseParams ¶
type CreateAlarmNoticeResponseParams struct { // Alarm template ID AlarmNoticeId *string `json:"AlarmNoticeId,omitnil,omitempty" name:"AlarmNoticeId"` // 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 CreateAlarmRequest ¶
type CreateAlarmRequest struct { *tchttp.BaseRequest // Alarm policy name Name *string `json:"Name,omitnil,omitempty" name:"Name"` // Monitoring object list AlarmTargets []*AlarmTarget `json:"AlarmTargets,omitnil,omitempty" name:"AlarmTargets"` // Monitoring task running time point MonitorTime *MonitorTime `json:"MonitorTime,omitnil,omitempty" name:"MonitorTime"` // Alarm persistence cycle. An alarm will be triggered only after the corresponding trigger condition is met for the number of times specified by `TriggerCount`. Value range: 1–10. TriggerCount *int64 `json:"TriggerCount,omitnil,omitempty" name:"TriggerCount"` // Alarm repeat interval in minutes. The value range is 0~1440. AlarmPeriod *int64 `json:"AlarmPeriod,omitnil,omitempty" name:"AlarmPeriod"` // List of associated alarm notification templates AlarmNoticeIds []*string `json:"AlarmNoticeIds,omitnil,omitempty" name:"AlarmNoticeIds"` // Trigger ConditionNote:- Condition and AlarmLevel are one set of configurations, MultiConditions is another set of configurations. The two sets of configurations are mutually exclusive. Condition *string `json:"Condition,omitnil,omitempty" name:"Condition"` // Alarm Level0: Warning (Warn); 1: Reminder (Info); 2: Urgent (Critical). // Note:- If not specified, the default is 0. // - Condition and AlarmLevel are one set of configurations, MultiConditions is another set of configurations. The two sets of configurations are mutually exclusive. AlarmLevel *uint64 `json:"AlarmLevel,omitnil,omitempty" name:"AlarmLevel"` // Multiple trigger conditions // Note:- Condition and AlarmLevel form one set of configurations, while MultiConditions form another set of configurations, and the two sets are mutually exclusive. // // MultiConditions []*MultiCondition `json:"MultiConditions,omitnil,omitempty" name:"MultiConditions"` // Whether to enable the alarm policyThe default value is true Status *bool `json:"Status,omitnil,omitempty" name:"Status"` // This parameter has been deprecated, please use the Status parameter to control whether to enable the alarm policy. Enable *bool `json:"Enable,omitnil,omitempty" name:"Enable"` // Custom alarm content MessageTemplate *string `json:"MessageTemplate,omitnil,omitempty" name:"MessageTemplate"` // Custom callback CallBack *CallBackInfo `json:"CallBack,omitnil,omitempty" name:"CallBack"` // Multi-Dimensional analysis Analysis []*AnalysisDimensional `json:"Analysis,omitnil,omitempty" name:"Analysis"` // Group trigger status. // Default value is false GroupTriggerStatus *bool `json:"GroupTriggerStatus,omitnil,omitempty" name:"GroupTriggerStatus"` // Grouping Trigger Conditions. GroupTriggerCondition []*string `json:"GroupTriggerCondition,omitnil,omitempty" name:"GroupTriggerCondition"` // Tag description list, by specifying this parameter, you can simultaneously bind Tag to the corresponding alarm policy.Supports up to 10 Tag key-value pairs, and the pairs must be unique. Tags []*Tag `json:"Tags,omitnil,omitempty" name:"Tags"` // Monitored Object Type. 0: common monitoring objects for execution statements; 1: separately selected monitoring objects for each execution statement.If not specified, the default value is 0.When the value is 1, the number of AlarmTargets Elements (XML) cannot exceed 10, and the Numbers in AlarmTargets must be continuous positive integers starting from 1, without duplication. MonitorObjectType *uint64 `json:"MonitorObjectType,omitnil,omitempty" name:"MonitorObjectType"` // Alarms additional classification information listThe number of Classifications elements cannot exceed 20.The Key of Classifications element must not be empty and duplicated, and its length cannot exceed 50 characters, complying with the regular expression ^[a-z]([a-z0-9_]{0,49})$.The Value length of Classifications element cannot exceed 200 characters. Classifications []*AlarmClassification `json:"Classifications,omitnil,omitempty" name:"Classifications"` }
func NewCreateAlarmRequest ¶
func NewCreateAlarmRequest() (request *CreateAlarmRequest)
func (*CreateAlarmRequest) FromJsonString ¶
func (r *CreateAlarmRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateAlarmRequest) ToJsonString ¶
func (r *CreateAlarmRequest) ToJsonString() string
type CreateAlarmRequestParams ¶
type CreateAlarmRequestParams struct { // Alarm policy name Name *string `json:"Name,omitnil,omitempty" name:"Name"` // Monitoring object list AlarmTargets []*AlarmTarget `json:"AlarmTargets,omitnil,omitempty" name:"AlarmTargets"` // Monitoring task running time point MonitorTime *MonitorTime `json:"MonitorTime,omitnil,omitempty" name:"MonitorTime"` // Alarm persistence cycle. An alarm will be triggered only after the corresponding trigger condition is met for the number of times specified by `TriggerCount`. Value range: 1–10. TriggerCount *int64 `json:"TriggerCount,omitnil,omitempty" name:"TriggerCount"` // Alarm repeat interval in minutes. The value range is 0~1440. AlarmPeriod *int64 `json:"AlarmPeriod,omitnil,omitempty" name:"AlarmPeriod"` // List of associated alarm notification templates AlarmNoticeIds []*string `json:"AlarmNoticeIds,omitnil,omitempty" name:"AlarmNoticeIds"` // Trigger ConditionNote:- Condition and AlarmLevel are one set of configurations, MultiConditions is another set of configurations. The two sets of configurations are mutually exclusive. Condition *string `json:"Condition,omitnil,omitempty" name:"Condition"` // Alarm Level0: Warning (Warn); 1: Reminder (Info); 2: Urgent (Critical). // Note:- If not specified, the default is 0. // - Condition and AlarmLevel are one set of configurations, MultiConditions is another set of configurations. The two sets of configurations are mutually exclusive. AlarmLevel *uint64 `json:"AlarmLevel,omitnil,omitempty" name:"AlarmLevel"` // Multiple trigger conditions // Note:- Condition and AlarmLevel form one set of configurations, while MultiConditions form another set of configurations, and the two sets are mutually exclusive. // // MultiConditions []*MultiCondition `json:"MultiConditions,omitnil,omitempty" name:"MultiConditions"` // Whether to enable the alarm policyThe default value is true Status *bool `json:"Status,omitnil,omitempty" name:"Status"` // This parameter has been deprecated, please use the Status parameter to control whether to enable the alarm policy. Enable *bool `json:"Enable,omitnil,omitempty" name:"Enable"` // Custom alarm content MessageTemplate *string `json:"MessageTemplate,omitnil,omitempty" name:"MessageTemplate"` // Custom callback CallBack *CallBackInfo `json:"CallBack,omitnil,omitempty" name:"CallBack"` // Multi-Dimensional analysis Analysis []*AnalysisDimensional `json:"Analysis,omitnil,omitempty" name:"Analysis"` // Group trigger status. // Default value is false GroupTriggerStatus *bool `json:"GroupTriggerStatus,omitnil,omitempty" name:"GroupTriggerStatus"` // Grouping Trigger Conditions. GroupTriggerCondition []*string `json:"GroupTriggerCondition,omitnil,omitempty" name:"GroupTriggerCondition"` // Tag description list, by specifying this parameter, you can simultaneously bind Tag to the corresponding alarm policy.Supports up to 10 Tag key-value pairs, and the pairs must be unique. Tags []*Tag `json:"Tags,omitnil,omitempty" name:"Tags"` // Monitored Object Type. 0: common monitoring objects for execution statements; 1: separately selected monitoring objects for each execution statement.If not specified, the default value is 0.When the value is 1, the number of AlarmTargets Elements (XML) cannot exceed 10, and the Numbers in AlarmTargets must be continuous positive integers starting from 1, without duplication. MonitorObjectType *uint64 `json:"MonitorObjectType,omitnil,omitempty" name:"MonitorObjectType"` // Alarms additional classification information listThe number of Classifications elements cannot exceed 20.The Key of Classifications element must not be empty and duplicated, and its length cannot exceed 50 characters, complying with the regular expression ^[a-z]([a-z0-9_]{0,49})$.The Value length of Classifications element cannot exceed 200 characters. Classifications []*AlarmClassification `json:"Classifications,omitnil,omitempty" name:"Classifications"` }
Predefined struct for user
type CreateAlarmResponse ¶
type CreateAlarmResponse struct { *tchttp.BaseResponse Response *CreateAlarmResponseParams `json:"Response"` }
func NewCreateAlarmResponse ¶
func NewCreateAlarmResponse() (response *CreateAlarmResponse)
func (*CreateAlarmResponse) FromJsonString ¶
func (r *CreateAlarmResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateAlarmResponse) ToJsonString ¶
func (r *CreateAlarmResponse) ToJsonString() string
type CreateAlarmResponseParams ¶
type CreateAlarmResponseParams struct { // Alarm policy ID. AlarmId *string `json:"AlarmId,omitnil,omitempty" name:"AlarmId"` // 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 CreateAlarmShieldRequest ¶
type CreateAlarmShieldRequest struct { *tchttp.BaseRequest // Notification Channel Group ID AlarmNoticeId *string `json:"AlarmNoticeId,omitnil,omitempty" name:"AlarmNoticeId"` // Block start time (second-level timestamp). StartTime *uint64 `json:"StartTime,omitnil,omitempty" name:"StartTime"` // Block end time (second-level timestamp). EndTime *uint64 `json:"EndTime,omitnil,omitempty" name:"EndTime"` // Block type. 1: Block all notifications, 2: Block matching rules notifications according to the Rule parameter. Type *uint64 `json:"Type,omitnil,omitempty" name:"Type"` // Blocking reason. Reason *string `json:"Reason,omitnil,omitempty" name:"Reason"` // Blocking rules, required when Type is 2. For detailed information on filling in rules, see [Product Documentation](https://intl.cloud.tencent.com/document/product/614/103178?from_cn_redirect=1#rule). Rule *string `json:"Rule,omitnil,omitempty" name:"Rule"` }
func NewCreateAlarmShieldRequest ¶
func NewCreateAlarmShieldRequest() (request *CreateAlarmShieldRequest)
func (*CreateAlarmShieldRequest) FromJsonString ¶
func (r *CreateAlarmShieldRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateAlarmShieldRequest) ToJsonString ¶
func (r *CreateAlarmShieldRequest) ToJsonString() string
type CreateAlarmShieldRequestParams ¶
type CreateAlarmShieldRequestParams struct { // Notification Channel Group ID AlarmNoticeId *string `json:"AlarmNoticeId,omitnil,omitempty" name:"AlarmNoticeId"` // Block start time (second-level timestamp). StartTime *uint64 `json:"StartTime,omitnil,omitempty" name:"StartTime"` // Block end time (second-level timestamp). EndTime *uint64 `json:"EndTime,omitnil,omitempty" name:"EndTime"` // Block type. 1: Block all notifications, 2: Block matching rules notifications according to the Rule parameter. Type *uint64 `json:"Type,omitnil,omitempty" name:"Type"` // Blocking reason. Reason *string `json:"Reason,omitnil,omitempty" name:"Reason"` // Blocking rules, required when Type is 2. For detailed information on filling in rules, see [Product Documentation](https://intl.cloud.tencent.com/document/product/614/103178?from_cn_redirect=1#rule). Rule *string `json:"Rule,omitnil,omitempty" name:"Rule"` }
Predefined struct for user
type CreateAlarmShieldResponse ¶
type CreateAlarmShieldResponse struct { *tchttp.BaseResponse Response *CreateAlarmShieldResponseParams `json:"Response"` }
func NewCreateAlarmShieldResponse ¶
func NewCreateAlarmShieldResponse() (response *CreateAlarmShieldResponse)
func (*CreateAlarmShieldResponse) FromJsonString ¶
func (r *CreateAlarmShieldResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateAlarmShieldResponse) ToJsonString ¶
func (r *CreateAlarmShieldResponse) ToJsonString() string
type CreateAlarmShieldResponseParams ¶
type CreateAlarmShieldResponseParams struct { // Blocking Rule ID TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"` // 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 CreateConfigRequest ¶
type CreateConfigRequest struct { *tchttp.BaseRequest // Collection configuration name Name *string `json:"Name,omitnil,omitempty" name:"Name"` // Log topic ID (TopicId) of collection configuration Output *string `json:"Output,omitnil,omitempty" name:"Output"` // Log collection path containing the filename Path *string `json:"Path,omitnil,omitempty" name:"Path"` // The collected log type, default is minimalist_log. Supports the following types:- json_log: JSON File Log (For more information, see [Using JSON pattern to collect logs](https://intl.cloud.tencent.com/document/product/614/17419?from_cn_redirect=1));- delimiter_log: Delimiter - File Logs (For more information, see [Using delimiter pattern to collect logs](https://intl.cloud.tencent.com/document/product/614/17420?from_cn_redirect=1));- minimalist_log: Single-line Full-text File Log (For more information, see [Using single-line full-text pattern to collect logs](https://intl.cloud.tencent.com/document/product/614/17421?from_cn_redirect=1));- fullregex_log: Single line full regular expression - File log (For more information, see [Using single-line - complete regular expression pattern to collect logs](https://intl.cloud.tencent.com/document/product/614/52365?from_cn_redirect=1));- multiline_log: Multiline Full-text File Log (For more information, see [Using multi-line full-text pattern to collect logs](https://intl.cloud.tencent.com/document/product/614/17422?from_cn_redirect=1));- multiline_fullregex_log: Multi-line complete regular expression - File Logs (For more information, see [Using multi-line - complete regular expression pattern to collect logs](https://intl.cloud.tencent.com/document/product/614/52366?from_cn_redirect=1));- user_define_log: Combined parsing (Suitable for logs with multiple nested formats, see [Using combined parsing pattern to collect logs](https://intl.cloud.tencent.com/document/product/614/61310?from_cn_redirect=1));- service_syslog: syslog collection (For more information, see [Collect Syslog](https://intl.cloud.tencent.com/document/product/614/81454?from_cn_redirect=1));- windows_event_log: Windows event log (see [Collecting Windows Event Logs](https://intl.cloud.tencent.com/document/product/614/96678?from_cn_redirect=1)). LogType *string `json:"LogType,omitnil,omitempty" name:"LogType"` // Extraction rule. If `ExtractRule` is set, `LogType` must be set. ExtractRule *ExtractRuleInfo `json:"ExtractRule,omitnil,omitempty" name:"ExtractRule"` // Collection path blocklist ExcludePaths []*ExcludePathInfo `json:"ExcludePaths,omitnil,omitempty" name:"ExcludePaths"` // Custom collection rules, serialized JSON string. Required when LogType is user_define_log. UserDefineRule *string `json:"UserDefineRule,omitnil,omitempty" name:"UserDefineRule"` // Advanced collection configuration. A JSON string, Key/Value definition as follows:- ClsAgentFileTimeout (timeout property), value range: an integer greater than or equal to 0, where 0 means no timeout.- ClsAgentMaxDepth (maximum directory depth), value range: an integer greater than or equal to 0.- `ClsAgentParseFailMerge` (Merge Parsing Failure Log), value range: true or false // Sample:`{\"ClsAgentFileTimeout\":0,\"ClsAgentMaxDepth\":10,\"ClsAgentParseFailMerge\":true}` // // Default placeholder value in console: `{\"ClsAgentDefault\":0}` AdvancedConfig *string `json:"AdvancedConfig,omitnil,omitempty" name:"AdvancedConfig"` }
func NewCreateConfigRequest ¶
func NewCreateConfigRequest() (request *CreateConfigRequest)
func (*CreateConfigRequest) FromJsonString ¶
func (r *CreateConfigRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateConfigRequest) ToJsonString ¶
func (r *CreateConfigRequest) ToJsonString() string
type CreateConfigRequestParams ¶
type CreateConfigRequestParams struct { // Collection configuration name Name *string `json:"Name,omitnil,omitempty" name:"Name"` // Log topic ID (TopicId) of collection configuration Output *string `json:"Output,omitnil,omitempty" name:"Output"` // Log collection path containing the filename Path *string `json:"Path,omitnil,omitempty" name:"Path"` // The collected log type, default is minimalist_log. Supports the following types:- json_log: JSON File Log (For more information, see [Using JSON pattern to collect logs](https://intl.cloud.tencent.com/document/product/614/17419?from_cn_redirect=1));- delimiter_log: Delimiter - File Logs (For more information, see [Using delimiter pattern to collect logs](https://intl.cloud.tencent.com/document/product/614/17420?from_cn_redirect=1));- minimalist_log: Single-line Full-text File Log (For more information, see [Using single-line full-text pattern to collect logs](https://intl.cloud.tencent.com/document/product/614/17421?from_cn_redirect=1));- fullregex_log: Single line full regular expression - File log (For more information, see [Using single-line - complete regular expression pattern to collect logs](https://intl.cloud.tencent.com/document/product/614/52365?from_cn_redirect=1));- multiline_log: Multiline Full-text File Log (For more information, see [Using multi-line full-text pattern to collect logs](https://intl.cloud.tencent.com/document/product/614/17422?from_cn_redirect=1));- multiline_fullregex_log: Multi-line complete regular expression - File Logs (For more information, see [Using multi-line - complete regular expression pattern to collect logs](https://intl.cloud.tencent.com/document/product/614/52366?from_cn_redirect=1));- user_define_log: Combined parsing (Suitable for logs with multiple nested formats, see [Using combined parsing pattern to collect logs](https://intl.cloud.tencent.com/document/product/614/61310?from_cn_redirect=1));- service_syslog: syslog collection (For more information, see [Collect Syslog](https://intl.cloud.tencent.com/document/product/614/81454?from_cn_redirect=1));- windows_event_log: Windows event log (see [Collecting Windows Event Logs](https://intl.cloud.tencent.com/document/product/614/96678?from_cn_redirect=1)). LogType *string `json:"LogType,omitnil,omitempty" name:"LogType"` // Extraction rule. If `ExtractRule` is set, `LogType` must be set. ExtractRule *ExtractRuleInfo `json:"ExtractRule,omitnil,omitempty" name:"ExtractRule"` // Collection path blocklist ExcludePaths []*ExcludePathInfo `json:"ExcludePaths,omitnil,omitempty" name:"ExcludePaths"` // Custom collection rules, serialized JSON string. Required when LogType is user_define_log. UserDefineRule *string `json:"UserDefineRule,omitnil,omitempty" name:"UserDefineRule"` // Advanced collection configuration. A JSON string, Key/Value definition as follows:- ClsAgentFileTimeout (timeout property), value range: an integer greater than or equal to 0, where 0 means no timeout.- ClsAgentMaxDepth (maximum directory depth), value range: an integer greater than or equal to 0.- `ClsAgentParseFailMerge` (Merge Parsing Failure Log), value range: true or false // Sample:`{\"ClsAgentFileTimeout\":0,\"ClsAgentMaxDepth\":10,\"ClsAgentParseFailMerge\":true}` // // Default placeholder value in console: `{\"ClsAgentDefault\":0}` AdvancedConfig *string `json:"AdvancedConfig,omitnil,omitempty" name:"AdvancedConfig"` }
Predefined struct for user
type CreateConfigResponse ¶
type CreateConfigResponse struct { *tchttp.BaseResponse Response *CreateConfigResponseParams `json:"Response"` }
func NewCreateConfigResponse ¶
func NewCreateConfigResponse() (response *CreateConfigResponse)
func (*CreateConfigResponse) FromJsonString ¶
func (r *CreateConfigResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateConfigResponse) ToJsonString ¶
func (r *CreateConfigResponse) ToJsonString() string
type CreateConfigResponseParams ¶
type CreateConfigResponseParams struct { // Collection configuration ID ConfigId *string `json:"ConfigId,omitnil,omitempty" name:"ConfigId"` // 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 CreateConsumerRequest ¶
type CreateConsumerRequest struct { *tchttp.BaseRequest // Log topic ID to bind TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"` // Whether to deliver log Metadata information, default is true.When NeedContent is true: Content field is valid.When NeedContent is false: Content field is invalid. NeedContent *bool `json:"NeedContent,omitnil,omitempty" name:"NeedContent"` // Metadata to ship if `NeedContent` is `true` Content *ConsumerContent `json:"Content,omitnil,omitempty" name:"Content"` // CKafka information Ckafka *Ckafka `json:"Ckafka,omitnil,omitempty" name:"Ckafka"` // Compression method during delivery. Valid values: 0, 2, and 3. [0: NONE; 2: SNAPPY; 3: LZ4] Compression *int64 `json:"Compression,omitnil,omitempty" name:"Compression"` }
func NewCreateConsumerRequest ¶
func NewCreateConsumerRequest() (request *CreateConsumerRequest)
func (*CreateConsumerRequest) FromJsonString ¶
func (r *CreateConsumerRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateConsumerRequest) ToJsonString ¶
func (r *CreateConsumerRequest) ToJsonString() string
type CreateConsumerRequestParams ¶
type CreateConsumerRequestParams struct { // Log topic ID to bind TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"` // Whether to deliver log Metadata information, default is true.When NeedContent is true: Content field is valid.When NeedContent is false: Content field is invalid. NeedContent *bool `json:"NeedContent,omitnil,omitempty" name:"NeedContent"` // Metadata to ship if `NeedContent` is `true` Content *ConsumerContent `json:"Content,omitnil,omitempty" name:"Content"` // CKafka information Ckafka *Ckafka `json:"Ckafka,omitnil,omitempty" name:"Ckafka"` // Compression method during delivery. Valid values: 0, 2, and 3. [0: NONE; 2: SNAPPY; 3: LZ4] Compression *int64 `json:"Compression,omitnil,omitempty" name:"Compression"` }
Predefined struct for user
type CreateConsumerResponse ¶
type CreateConsumerResponse struct { *tchttp.BaseResponse Response *CreateConsumerResponseParams `json:"Response"` }
func NewCreateConsumerResponse ¶
func NewCreateConsumerResponse() (response *CreateConsumerResponse)
func (*CreateConsumerResponse) FromJsonString ¶
func (r *CreateConsumerResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateConsumerResponse) ToJsonString ¶
func (r *CreateConsumerResponse) ToJsonString() string
type CreateConsumerResponseParams ¶
type CreateConsumerResponseParams 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 CreateCosRechargeRequest ¶
type CreateCosRechargeRequest struct { *tchttp.BaseRequest // ID of the log topic. TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"` // ID of the logset. LogsetId *string `json:"LogsetId,omitnil,omitempty" name:"LogsetId"` // Shipping task name. Name *string `json:"Name,omitnil,omitempty" name:"Name"` // COS bucket, see the supported [bucket naming conventions](https://intl.cloud.tencent.com/document/product/436/13312?from_cn_redirect=1). Bucket *string `json:"Bucket,omitnil,omitempty" name:"Bucket"` // The region where the COS bucket is located, see the supported [region list](https://intl.cloud.tencent.com/document/product/436/6224?from_cn_redirect=1). BucketRegion *string `json:"BucketRegion,omitnil,omitempty" name:"BucketRegion"` // The prefix of the folder where COS files are located. Prefix *string `json:"Prefix,omitnil,omitempty" name:"Prefix"` // The type of log collected. `json_log`: JSON logs; `delimiter_log`: separator logs; `minimalist_log`: full text in a single line // Default value: `minimalist_log` LogType *string `json:"LogType,omitnil,omitempty" name:"LogType"` // Valid values: supported: "", "gzip", "lzop", "snappy"; Default value: "". Compress *string `json:"Compress,omitnil,omitempty" name:"Compress"` // Extraction rule. If `ExtractRule` is set, `LogType` must be set. ExtractRuleInfo *ExtractRuleInfo `json:"ExtractRuleInfo,omitnil,omitempty" name:"ExtractRuleInfo"` }
func NewCreateCosRechargeRequest ¶
func NewCreateCosRechargeRequest() (request *CreateCosRechargeRequest)
func (*CreateCosRechargeRequest) FromJsonString ¶
func (r *CreateCosRechargeRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateCosRechargeRequest) ToJsonString ¶
func (r *CreateCosRechargeRequest) ToJsonString() string
type CreateCosRechargeRequestParams ¶
type CreateCosRechargeRequestParams struct { // ID of the log topic. TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"` // ID of the logset. LogsetId *string `json:"LogsetId,omitnil,omitempty" name:"LogsetId"` // Shipping task name. Name *string `json:"Name,omitnil,omitempty" name:"Name"` // COS bucket, see the supported [bucket naming conventions](https://intl.cloud.tencent.com/document/product/436/13312?from_cn_redirect=1). Bucket *string `json:"Bucket,omitnil,omitempty" name:"Bucket"` // The region where the COS bucket is located, see the supported [region list](https://intl.cloud.tencent.com/document/product/436/6224?from_cn_redirect=1). BucketRegion *string `json:"BucketRegion,omitnil,omitempty" name:"BucketRegion"` // The prefix of the folder where COS files are located. Prefix *string `json:"Prefix,omitnil,omitempty" name:"Prefix"` // The type of log collected. `json_log`: JSON logs; `delimiter_log`: separator logs; `minimalist_log`: full text in a single line // Default value: `minimalist_log` LogType *string `json:"LogType,omitnil,omitempty" name:"LogType"` // Valid values: supported: "", "gzip", "lzop", "snappy"; Default value: "". Compress *string `json:"Compress,omitnil,omitempty" name:"Compress"` // Extraction rule. If `ExtractRule` is set, `LogType` must be set. ExtractRuleInfo *ExtractRuleInfo `json:"ExtractRuleInfo,omitnil,omitempty" name:"ExtractRuleInfo"` }
Predefined struct for user
type CreateCosRechargeResponse ¶
type CreateCosRechargeResponse struct { *tchttp.BaseResponse Response *CreateCosRechargeResponseParams `json:"Response"` }
func NewCreateCosRechargeResponse ¶
func NewCreateCosRechargeResponse() (response *CreateCosRechargeResponse)
func (*CreateCosRechargeResponse) FromJsonString ¶
func (r *CreateCosRechargeResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateCosRechargeResponse) ToJsonString ¶
func (r *CreateCosRechargeResponse) ToJsonString() string
type CreateCosRechargeResponseParams ¶
type CreateCosRechargeResponseParams struct { // cos_recharge record ID // Note: This field may return null, indicating that no valid values can be obtained. Id *string `json:"Id,omitnil,omitempty" name:"Id"` // 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 CreateDataTransformRequest ¶
type CreateDataTransformRequest struct { *tchttp.BaseRequest // Task type. 1: Specify topic; 2: Dynamic creation. For details, please refer to Creating Processing Task Document (https://intl.cloud.tencent.com/document/product/614/63940?from_cn_redirect=1). FuncType *int64 `json:"FuncType,omitnil,omitempty" name:"FuncType"` // Source log topic SrcTopicId *string `json:"SrcTopicId,omitnil,omitempty" name:"SrcTopicId"` // Data processing task name Name *string `json:"Name,omitnil,omitempty" name:"Name"` // Data processing statement EtlContent *string `json:"EtlContent,omitnil,omitempty" name:"EtlContent"` // Processing type. // 1: Process preview using random data from the source log topic; 2: Process preview using user-defined test data; 3: Create real processing tasks. TaskType *int64 `json:"TaskType,omitnil,omitempty" name:"TaskType"` // Destination topic_id and alias of processing task. This parameter is required when FuncType=1, and not required when FuncType=2. DstResources []*DataTransformResouceInfo `json:"DstResources,omitnil,omitempty" name:"DstResources"` // Task status. Valid values: 1 (enabled) and 2 (disabled). EnableFlag *int64 `json:"EnableFlag,omitnil,omitempty" name:"EnableFlag"` // Test data used for previewing the processing result PreviewLogStatistics []*PreviewLogStatistic `json:"PreviewLogStatistics,omitnil,omitempty" name:"PreviewLogStatistics"` }
func NewCreateDataTransformRequest ¶
func NewCreateDataTransformRequest() (request *CreateDataTransformRequest)
func (*CreateDataTransformRequest) FromJsonString ¶
func (r *CreateDataTransformRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateDataTransformRequest) ToJsonString ¶
func (r *CreateDataTransformRequest) ToJsonString() string
type CreateDataTransformRequestParams ¶
type CreateDataTransformRequestParams struct { // Task type. 1: Specify topic; 2: Dynamic creation. For details, please refer to Creating Processing Task Document (https://intl.cloud.tencent.com/document/product/614/63940?from_cn_redirect=1). FuncType *int64 `json:"FuncType,omitnil,omitempty" name:"FuncType"` // Source log topic SrcTopicId *string `json:"SrcTopicId,omitnil,omitempty" name:"SrcTopicId"` // Data processing task name Name *string `json:"Name,omitnil,omitempty" name:"Name"` // Data processing statement EtlContent *string `json:"EtlContent,omitnil,omitempty" name:"EtlContent"` // Processing type. // 1: Process preview using random data from the source log topic; 2: Process preview using user-defined test data; 3: Create real processing tasks. TaskType *int64 `json:"TaskType,omitnil,omitempty" name:"TaskType"` // Destination topic_id and alias of processing task. This parameter is required when FuncType=1, and not required when FuncType=2. DstResources []*DataTransformResouceInfo `json:"DstResources,omitnil,omitempty" name:"DstResources"` // Task status. Valid values: 1 (enabled) and 2 (disabled). EnableFlag *int64 `json:"EnableFlag,omitnil,omitempty" name:"EnableFlag"` // Test data used for previewing the processing result PreviewLogStatistics []*PreviewLogStatistic `json:"PreviewLogStatistics,omitnil,omitempty" name:"PreviewLogStatistics"` }
Predefined struct for user
type CreateDataTransformResponse ¶
type CreateDataTransformResponse struct { *tchttp.BaseResponse Response *CreateDataTransformResponseParams `json:"Response"` }
func NewCreateDataTransformResponse ¶
func NewCreateDataTransformResponse() (response *CreateDataTransformResponse)
func (*CreateDataTransformResponse) FromJsonString ¶
func (r *CreateDataTransformResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateDataTransformResponse) ToJsonString ¶
func (r *CreateDataTransformResponse) ToJsonString() string
type CreateDataTransformResponseParams ¶
type CreateDataTransformResponseParams struct { // Task ID TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"` // 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 CreateDeliverCloudFunctionRequest ¶
type CreateDeliverCloudFunctionRequest struct { *tchttp.BaseRequest // Topic id belonging to the delivery rule TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"` // Cloud Function name for delivery FunctionName *string `json:"FunctionName,omitnil,omitempty" name:"FunctionName"` // Namespace Namespace *string `json:"Namespace,omitnil,omitempty" name:"Namespace"` // Function version Qualifier *string `json:"Qualifier,omitnil,omitempty" name:"Qualifier"` // Maximum waiting time for delivery. Unit: seconds Timeout *uint64 `json:"Timeout,omitnil,omitempty" name:"Timeout"` // Maximum number of messages to deliver MaxMsgNum *uint64 `json:"MaxMsgNum,omitnil,omitempty" name:"MaxMsgNum"` }
func NewCreateDeliverCloudFunctionRequest ¶
func NewCreateDeliverCloudFunctionRequest() (request *CreateDeliverCloudFunctionRequest)
func (*CreateDeliverCloudFunctionRequest) FromJsonString ¶
func (r *CreateDeliverCloudFunctionRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateDeliverCloudFunctionRequest) ToJsonString ¶
func (r *CreateDeliverCloudFunctionRequest) ToJsonString() string
type CreateDeliverCloudFunctionRequestParams ¶
type CreateDeliverCloudFunctionRequestParams struct { // Topic id belonging to the delivery rule TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"` // Cloud Function name for delivery FunctionName *string `json:"FunctionName,omitnil,omitempty" name:"FunctionName"` // Namespace Namespace *string `json:"Namespace,omitnil,omitempty" name:"Namespace"` // Function version Qualifier *string `json:"Qualifier,omitnil,omitempty" name:"Qualifier"` // Maximum waiting time for delivery. Unit: seconds Timeout *uint64 `json:"Timeout,omitnil,omitempty" name:"Timeout"` // Maximum number of messages to deliver MaxMsgNum *uint64 `json:"MaxMsgNum,omitnil,omitempty" name:"MaxMsgNum"` }
Predefined struct for user
type CreateDeliverCloudFunctionResponse ¶
type CreateDeliverCloudFunctionResponse struct { *tchttp.BaseResponse Response *CreateDeliverCloudFunctionResponseParams `json:"Response"` }
func NewCreateDeliverCloudFunctionResponse ¶
func NewCreateDeliverCloudFunctionResponse() (response *CreateDeliverCloudFunctionResponse)
func (*CreateDeliverCloudFunctionResponse) FromJsonString ¶
func (r *CreateDeliverCloudFunctionResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateDeliverCloudFunctionResponse) ToJsonString ¶
func (r *CreateDeliverCloudFunctionResponse) ToJsonString() string
type CreateDeliverCloudFunctionResponseParams ¶
type CreateDeliverCloudFunctionResponseParams 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 CreateExportRequest ¶
type CreateExportRequest struct { *tchttp.BaseRequest // Log topic ID TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"` // Number of logs to be exported. Maximum value: 50 million Count *uint64 `json:"Count,omitnil,omitempty" name:"Count"` // Search statements for log export. <a href="https://intl.cloud.tencent.com/document/product/614/44061?from_cn_redirect=1" target="_blank">[SQL statements]</a> are not supported. Query *string `json:"Query,omitnil,omitempty" name:"Query"` // Start time of the log to be exported, which is a timestamp in milliseconds From *int64 `json:"From,omitnil,omitempty" name:"From"` // End time of the log to be exported, which is a timestamp in milliseconds To *int64 `json:"To,omitnil,omitempty" name:"To"` // Exported log sorting order by time. Valid values: `asc`: ascending; `desc`: descending. Default value: `desc` Order *string `json:"Order,omitnil,omitempty" name:"Order"` // Exported log data format. Valid values: `json`, `csv`. Default value: `json` Format *string `json:"Format,omitnil,omitempty" name:"Format"` // Syntax rules; the default value is 0.0: Lucene syntax; 1: CQL syntax. SyntaxRule *uint64 `json:"SyntaxRule,omitnil,omitempty" name:"SyntaxRule"` }
func NewCreateExportRequest ¶
func NewCreateExportRequest() (request *CreateExportRequest)
func (*CreateExportRequest) FromJsonString ¶
func (r *CreateExportRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateExportRequest) ToJsonString ¶
func (r *CreateExportRequest) ToJsonString() string
type CreateExportRequestParams ¶
type CreateExportRequestParams struct { // Log topic ID TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"` // Number of logs to be exported. Maximum value: 50 million Count *uint64 `json:"Count,omitnil,omitempty" name:"Count"` // Search statements for log export. <a href="https://intl.cloud.tencent.com/document/product/614/44061?from_cn_redirect=1" target="_blank">[SQL statements]</a> are not supported. Query *string `json:"Query,omitnil,omitempty" name:"Query"` // Start time of the log to be exported, which is a timestamp in milliseconds From *int64 `json:"From,omitnil,omitempty" name:"From"` // End time of the log to be exported, which is a timestamp in milliseconds To *int64 `json:"To,omitnil,omitempty" name:"To"` // Exported log sorting order by time. Valid values: `asc`: ascending; `desc`: descending. Default value: `desc` Order *string `json:"Order,omitnil,omitempty" name:"Order"` // Exported log data format. Valid values: `json`, `csv`. Default value: `json` Format *string `json:"Format,omitnil,omitempty" name:"Format"` // Syntax rules; the default value is 0.0: Lucene syntax; 1: CQL syntax. SyntaxRule *uint64 `json:"SyntaxRule,omitnil,omitempty" name:"SyntaxRule"` }
Predefined struct for user
type CreateExportResponse ¶
type CreateExportResponse struct { *tchttp.BaseResponse Response *CreateExportResponseParams `json:"Response"` }
func NewCreateExportResponse ¶
func NewCreateExportResponse() (response *CreateExportResponse)
func (*CreateExportResponse) FromJsonString ¶
func (r *CreateExportResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateExportResponse) ToJsonString ¶
func (r *CreateExportResponse) ToJsonString() string
type CreateExportResponseParams ¶
type CreateExportResponseParams struct { // Log export ID. ExportId *string `json:"ExportId,omitnil,omitempty" name:"ExportId"` // 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 CreateIndexRequest ¶
type CreateIndexRequest struct { *tchttp.BaseRequest // Log topic ID TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"` // Index rule Rule *RuleInfo `json:"Rule,omitnil,omitempty" name:"Rule"` // Whether to take effect. Default value: true Status *bool `json:"Status,omitnil,omitempty" name:"Status"` // Whether full-text indexing includes internal fields (`__FILENAME__`, `__HOSTNAME__`, and `__SOURCE__`). Default value: `false`. Recommended value: `true`. // * `false`: Full-text indexing does not include internal fields. // * `true`: Full-text indexing includes internal fields. IncludeInternalFields *bool `json:"IncludeInternalFields,omitnil,omitempty" name:"IncludeInternalFields"` // Whether full-text indexing includes metadata fields (which are prefixed with `__TAG__`). Default value: `0`. Recommended value: `1`. // * `0`: Full-text indexing includes only the metadata fields with key-value indexing enabled. // * `1`: Full-text indexing includes all metadata fields. // * `2`: Full-text indexing does not include metadata fields. MetadataFlag *uint64 `json:"MetadataFlag,omitnil,omitempty" name:"MetadataFlag"` }
func NewCreateIndexRequest ¶
func NewCreateIndexRequest() (request *CreateIndexRequest)
func (*CreateIndexRequest) FromJsonString ¶
func (r *CreateIndexRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateIndexRequest) ToJsonString ¶
func (r *CreateIndexRequest) ToJsonString() string
type CreateIndexRequestParams ¶
type CreateIndexRequestParams struct { // Log topic ID TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"` // Index rule Rule *RuleInfo `json:"Rule,omitnil,omitempty" name:"Rule"` // Whether to take effect. Default value: true Status *bool `json:"Status,omitnil,omitempty" name:"Status"` // Whether full-text indexing includes internal fields (`__FILENAME__`, `__HOSTNAME__`, and `__SOURCE__`). Default value: `false`. Recommended value: `true`. // * `false`: Full-text indexing does not include internal fields. // * `true`: Full-text indexing includes internal fields. IncludeInternalFields *bool `json:"IncludeInternalFields,omitnil,omitempty" name:"IncludeInternalFields"` // Whether full-text indexing includes metadata fields (which are prefixed with `__TAG__`). Default value: `0`. Recommended value: `1`. // * `0`: Full-text indexing includes only the metadata fields with key-value indexing enabled. // * `1`: Full-text indexing includes all metadata fields. // * `2`: Full-text indexing does not include metadata fields. MetadataFlag *uint64 `json:"MetadataFlag,omitnil,omitempty" name:"MetadataFlag"` }
Predefined struct for user
type CreateIndexResponse ¶
type CreateIndexResponse struct { *tchttp.BaseResponse Response *CreateIndexResponseParams `json:"Response"` }
func NewCreateIndexResponse ¶
func NewCreateIndexResponse() (response *CreateIndexResponse)
func (*CreateIndexResponse) FromJsonString ¶
func (r *CreateIndexResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateIndexResponse) ToJsonString ¶
func (r *CreateIndexResponse) ToJsonString() string
type CreateIndexResponseParams ¶
type CreateIndexResponseParams 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 CreateKafkaRechargeRequest ¶
type CreateKafkaRechargeRequest struct { *tchttp.BaseRequest // Target topic ID TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"` // Kafka data import configuration name Name *string `json:"Name,omitnil,omitempty" name:"Name"` // Kafka type. Valid values: 0 (Tencent Cloud CKafka) and 1 (customer's Kafka). KafkaType *uint64 `json:"KafkaType,omitnil,omitempty" name:"KafkaType"` // List of Kafka topics to import data from. Separate multiple topics with commas (,). UserKafkaTopics *string `json:"UserKafkaTopics,omitnil,omitempty" name:"UserKafkaTopics"` // Position for data import. Valid values: -2 (earliest, default) and -1 (latest). Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Log Import Rules. LogRechargeRule *LogRechargeRuleInfo `json:"LogRechargeRule,omitnil,omitempty" name:"LogRechargeRule"` // CKafka instance ID, which is required when `KafkaType` is set to `0` KafkaInstance *string `json:"KafkaInstance,omitnil,omitempty" name:"KafkaInstance"` // Service address, which is required when `KafkaType` is set to `1` ServerAddr *string `json:"ServerAddr,omitnil,omitempty" name:"ServerAddr"` // Whether the service address uses an encrypted connection, which is required when `KafkaType` is set to `1` IsEncryptionAddr *bool `json:"IsEncryptionAddr,omitnil,omitempty" name:"IsEncryptionAddr"` // Encrypted Access ProtocolWhen KafkaType is 1 and IsEncryptionAddr is true, Protocol is required Protocol *KafkaProtocolInfo `json:"Protocol,omitnil,omitempty" name:"Protocol"` // Kafka consumer group name ConsumerGroupName *string `json:"ConsumerGroupName,omitnil,omitempty" name:"ConsumerGroupName"` }
func NewCreateKafkaRechargeRequest ¶
func NewCreateKafkaRechargeRequest() (request *CreateKafkaRechargeRequest)
func (*CreateKafkaRechargeRequest) FromJsonString ¶
func (r *CreateKafkaRechargeRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateKafkaRechargeRequest) ToJsonString ¶
func (r *CreateKafkaRechargeRequest) ToJsonString() string
type CreateKafkaRechargeRequestParams ¶
type CreateKafkaRechargeRequestParams struct { // Target topic ID TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"` // Kafka data import configuration name Name *string `json:"Name,omitnil,omitempty" name:"Name"` // Kafka type. Valid values: 0 (Tencent Cloud CKafka) and 1 (customer's Kafka). KafkaType *uint64 `json:"KafkaType,omitnil,omitempty" name:"KafkaType"` // List of Kafka topics to import data from. Separate multiple topics with commas (,). UserKafkaTopics *string `json:"UserKafkaTopics,omitnil,omitempty" name:"UserKafkaTopics"` // Position for data import. Valid values: -2 (earliest, default) and -1 (latest). Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Log Import Rules. LogRechargeRule *LogRechargeRuleInfo `json:"LogRechargeRule,omitnil,omitempty" name:"LogRechargeRule"` // CKafka instance ID, which is required when `KafkaType` is set to `0` KafkaInstance *string `json:"KafkaInstance,omitnil,omitempty" name:"KafkaInstance"` // Service address, which is required when `KafkaType` is set to `1` ServerAddr *string `json:"ServerAddr,omitnil,omitempty" name:"ServerAddr"` // Whether the service address uses an encrypted connection, which is required when `KafkaType` is set to `1` IsEncryptionAddr *bool `json:"IsEncryptionAddr,omitnil,omitempty" name:"IsEncryptionAddr"` // Encrypted Access ProtocolWhen KafkaType is 1 and IsEncryptionAddr is true, Protocol is required Protocol *KafkaProtocolInfo `json:"Protocol,omitnil,omitempty" name:"Protocol"` // Kafka consumer group name ConsumerGroupName *string `json:"ConsumerGroupName,omitnil,omitempty" name:"ConsumerGroupName"` }
Predefined struct for user
type CreateKafkaRechargeResponse ¶
type CreateKafkaRechargeResponse struct { *tchttp.BaseResponse Response *CreateKafkaRechargeResponseParams `json:"Response"` }
func NewCreateKafkaRechargeResponse ¶
func NewCreateKafkaRechargeResponse() (response *CreateKafkaRechargeResponse)
func (*CreateKafkaRechargeResponse) FromJsonString ¶
func (r *CreateKafkaRechargeResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateKafkaRechargeResponse) ToJsonString ¶
func (r *CreateKafkaRechargeResponse) ToJsonString() string
type CreateKafkaRechargeResponseParams ¶
type CreateKafkaRechargeResponseParams struct { // Kafka data import configuration ID Id *string `json:"Id,omitnil,omitempty" name:"Id"` // 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 CreateLogsetRequest ¶
type CreateLogsetRequest struct { *tchttp.BaseRequest // Logset name, which must be unique LogsetName *string `json:"LogsetName,omitnil,omitempty" name:"LogsetName"` // Tag description list. Up to 10 tag key-value pairs are supported and must be unique. Tags []*Tag `json:"Tags,omitnil,omitempty" name:"Tags"` }
func NewCreateLogsetRequest ¶
func NewCreateLogsetRequest() (request *CreateLogsetRequest)
func (*CreateLogsetRequest) FromJsonString ¶
func (r *CreateLogsetRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateLogsetRequest) ToJsonString ¶
func (r *CreateLogsetRequest) ToJsonString() string
type CreateLogsetRequestParams ¶
type CreateLogsetRequestParams struct { // Logset name, which must be unique LogsetName *string `json:"LogsetName,omitnil,omitempty" name:"LogsetName"` // Tag description list. Up to 10 tag key-value pairs are supported and must be unique. Tags []*Tag `json:"Tags,omitnil,omitempty" name:"Tags"` }
Predefined struct for user
type CreateLogsetResponse ¶
type CreateLogsetResponse struct { *tchttp.BaseResponse Response *CreateLogsetResponseParams `json:"Response"` }
func NewCreateLogsetResponse ¶
func NewCreateLogsetResponse() (response *CreateLogsetResponse)
func (*CreateLogsetResponse) FromJsonString ¶
func (r *CreateLogsetResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateLogsetResponse) ToJsonString ¶
func (r *CreateLogsetResponse) ToJsonString() string
type CreateLogsetResponseParams ¶
type CreateLogsetResponseParams struct { // Logset ID LogsetId *string `json:"LogsetId,omitnil,omitempty" name:"LogsetId"` // 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 CreateMachineGroupRequest ¶
type CreateMachineGroupRequest struct { *tchttp.BaseRequest // Machine group name, which must be unique GroupName *string `json:"GroupName,omitnil,omitempty" name:"GroupName"` // Type of the machine group to be created. Valid values: `ip`: use the IP string list in `Values` to create a machine group; `label`: use the tag string list in `Values` to create a machine group MachineGroupType *MachineGroupTypeInfo `json:"MachineGroupType,omitnil,omitempty" name:"MachineGroupType"` // Tag description list. This parameter is used to bind a tag to a machine group. Up to 10 tag key-value pairs are supported, and a resource can be bound to only one tag key. Tags []*Tag `json:"Tags,omitnil,omitempty" name:"Tags"` // Whether to enable automatic update for the machine group AutoUpdate *bool `json:"AutoUpdate,omitnil,omitempty" name:"AutoUpdate"` // Update start time. We recommend you update LogListener during off-peak hours. UpdateStartTime *string `json:"UpdateStartTime,omitnil,omitempty" name:"UpdateStartTime"` // Update end time. We recommend you update LogListener during off-peak hours. UpdateEndTime *string `json:"UpdateEndTime,omitnil,omitempty" name:"UpdateEndTime"` // Whether to enable the service log to record the logs generated by the LogListener service itself. After it is enabled, the internal logset `cls_service_logging` and the `loglistener_status`, `loglistener_alarm`, and `loglistener_business` log topics will be created, which will not incur fees ServiceLogging *bool `json:"ServiceLogging,omitnil,omitempty" name:"ServiceLogging"` // Offline cleaning time for machines in machine group DelayCleanupTime *int64 `json:"DelayCleanupTime,omitnil,omitempty" name:"DelayCleanupTime"` // Metadata information list of a machine group MetaTags []*MetaTagInfo `json:"MetaTags,omitnil,omitempty" name:"MetaTags"` // System type, default 0, 0: Linux, 1: Windows OSType *uint64 `json:"OSType,omitnil,omitempty" name:"OSType"` }
func NewCreateMachineGroupRequest ¶
func NewCreateMachineGroupRequest() (request *CreateMachineGroupRequest)
func (*CreateMachineGroupRequest) FromJsonString ¶
func (r *CreateMachineGroupRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateMachineGroupRequest) ToJsonString ¶
func (r *CreateMachineGroupRequest) ToJsonString() string
type CreateMachineGroupRequestParams ¶
type CreateMachineGroupRequestParams struct { // Machine group name, which must be unique GroupName *string `json:"GroupName,omitnil,omitempty" name:"GroupName"` // Type of the machine group to be created. Valid values: `ip`: use the IP string list in `Values` to create a machine group; `label`: use the tag string list in `Values` to create a machine group MachineGroupType *MachineGroupTypeInfo `json:"MachineGroupType,omitnil,omitempty" name:"MachineGroupType"` // Tag description list. This parameter is used to bind a tag to a machine group. Up to 10 tag key-value pairs are supported, and a resource can be bound to only one tag key. Tags []*Tag `json:"Tags,omitnil,omitempty" name:"Tags"` // Whether to enable automatic update for the machine group AutoUpdate *bool `json:"AutoUpdate,omitnil,omitempty" name:"AutoUpdate"` // Update start time. We recommend you update LogListener during off-peak hours. UpdateStartTime *string `json:"UpdateStartTime,omitnil,omitempty" name:"UpdateStartTime"` // Update end time. We recommend you update LogListener during off-peak hours. UpdateEndTime *string `json:"UpdateEndTime,omitnil,omitempty" name:"UpdateEndTime"` // Whether to enable the service log to record the logs generated by the LogListener service itself. After it is enabled, the internal logset `cls_service_logging` and the `loglistener_status`, `loglistener_alarm`, and `loglistener_business` log topics will be created, which will not incur fees ServiceLogging *bool `json:"ServiceLogging,omitnil,omitempty" name:"ServiceLogging"` // Offline cleaning time for machines in machine group DelayCleanupTime *int64 `json:"DelayCleanupTime,omitnil,omitempty" name:"DelayCleanupTime"` // Metadata information list of a machine group MetaTags []*MetaTagInfo `json:"MetaTags,omitnil,omitempty" name:"MetaTags"` // System type, default 0, 0: Linux, 1: Windows OSType *uint64 `json:"OSType,omitnil,omitempty" name:"OSType"` }
Predefined struct for user
type CreateMachineGroupResponse ¶
type CreateMachineGroupResponse struct { *tchttp.BaseResponse Response *CreateMachineGroupResponseParams `json:"Response"` }
func NewCreateMachineGroupResponse ¶
func NewCreateMachineGroupResponse() (response *CreateMachineGroupResponse)
func (*CreateMachineGroupResponse) FromJsonString ¶
func (r *CreateMachineGroupResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateMachineGroupResponse) ToJsonString ¶
func (r *CreateMachineGroupResponse) ToJsonString() string
type CreateMachineGroupResponseParams ¶
type CreateMachineGroupResponseParams struct { // Machine group ID GroupId *string `json:"GroupId,omitnil,omitempty" name:"GroupId"` // 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 CreateScheduledSqlRequest ¶
type CreateScheduledSqlRequest struct { *tchttp.BaseRequest // Source log topic SrcTopicId *string `json:"SrcTopicId,omitnil,omitempty" name:"SrcTopicId"` // Task name Name *string `json:"Name,omitnil,omitempty" name:"Name"` // Task start status. 1: Enabled, 2: Disabled EnableFlag *int64 `json:"EnableFlag,omitnil,omitempty" name:"EnableFlag"` // Target log topic for scheduled SQL analysis DstResource *ScheduledSqlResouceInfo `json:"DstResource,omitnil,omitempty" name:"DstResource"` // Query statement ScheduledSqlContent *string `json:"ScheduledSqlContent,omitnil,omitempty" name:"ScheduledSqlContent"` // Schedule start time, Unix timestamp, in milliseconds ProcessStartTime *uint64 `json:"ProcessStartTime,omitnil,omitempty" name:"ProcessStartTime"` // Schedule type: 1: Continuous running; 2: Specified time range ProcessType *int64 `json:"ProcessType,omitnil,omitempty" name:"ProcessType"` // Scheduling interval (minutes) ProcessPeriod *int64 `json:"ProcessPeriod,omitnil,omitempty" name:"ProcessPeriod"` // Time window for a single query. If your target topic is a metric topic, it is recommended that the size of this parameter not exceed 30 minutes, otherwise, metric conversion may fail. ProcessTimeWindow *string `json:"ProcessTimeWindow,omitnil,omitempty" name:"ProcessTimeWindow"` // Execution delay (Seconds) ProcessDelay *int64 `json:"ProcessDelay,omitnil,omitempty" name:"ProcessDelay"` // Source topic ID region information SrcTopicRegion *string `json:"SrcTopicRegion,omitnil,omitempty" name:"SrcTopicRegion"` // Schedule end time. Required field when ProcessType=2, Unix timestamp, in milliseconds ProcessEndTime *uint64 `json:"ProcessEndTime,omitnil,omitempty" name:"ProcessEndTime"` // Query syntax rules. Default value is 0. 0: Lucene syntax, 1: CQL syntax SyntaxRule *uint64 `json:"SyntaxRule,omitnil,omitempty" name:"SyntaxRule"` }
func NewCreateScheduledSqlRequest ¶
func NewCreateScheduledSqlRequest() (request *CreateScheduledSqlRequest)
func (*CreateScheduledSqlRequest) FromJsonString ¶
func (r *CreateScheduledSqlRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateScheduledSqlRequest) ToJsonString ¶
func (r *CreateScheduledSqlRequest) ToJsonString() string
type CreateScheduledSqlRequestParams ¶
type CreateScheduledSqlRequestParams struct { // Source log topic SrcTopicId *string `json:"SrcTopicId,omitnil,omitempty" name:"SrcTopicId"` // Task name Name *string `json:"Name,omitnil,omitempty" name:"Name"` // Task start status. 1: Enabled, 2: Disabled EnableFlag *int64 `json:"EnableFlag,omitnil,omitempty" name:"EnableFlag"` // Target log topic for scheduled SQL analysis DstResource *ScheduledSqlResouceInfo `json:"DstResource,omitnil,omitempty" name:"DstResource"` // Query statement ScheduledSqlContent *string `json:"ScheduledSqlContent,omitnil,omitempty" name:"ScheduledSqlContent"` // Schedule start time, Unix timestamp, in milliseconds ProcessStartTime *uint64 `json:"ProcessStartTime,omitnil,omitempty" name:"ProcessStartTime"` // Schedule type: 1: Continuous running; 2: Specified time range ProcessType *int64 `json:"ProcessType,omitnil,omitempty" name:"ProcessType"` // Scheduling interval (minutes) ProcessPeriod *int64 `json:"ProcessPeriod,omitnil,omitempty" name:"ProcessPeriod"` // Time window for a single query. If your target topic is a metric topic, it is recommended that the size of this parameter not exceed 30 minutes, otherwise, metric conversion may fail. ProcessTimeWindow *string `json:"ProcessTimeWindow,omitnil,omitempty" name:"ProcessTimeWindow"` // Execution delay (Seconds) ProcessDelay *int64 `json:"ProcessDelay,omitnil,omitempty" name:"ProcessDelay"` // Source topic ID region information SrcTopicRegion *string `json:"SrcTopicRegion,omitnil,omitempty" name:"SrcTopicRegion"` // Schedule end time. Required field when ProcessType=2, Unix timestamp, in milliseconds ProcessEndTime *uint64 `json:"ProcessEndTime,omitnil,omitempty" name:"ProcessEndTime"` // Query syntax rules. Default value is 0. 0: Lucene syntax, 1: CQL syntax SyntaxRule *uint64 `json:"SyntaxRule,omitnil,omitempty" name:"SyntaxRule"` }
Predefined struct for user
type CreateScheduledSqlResponse ¶
type CreateScheduledSqlResponse struct { *tchttp.BaseResponse Response *CreateScheduledSqlResponseParams `json:"Response"` }
func NewCreateScheduledSqlResponse ¶
func NewCreateScheduledSqlResponse() (response *CreateScheduledSqlResponse)
func (*CreateScheduledSqlResponse) FromJsonString ¶
func (r *CreateScheduledSqlResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateScheduledSqlResponse) ToJsonString ¶
func (r *CreateScheduledSqlResponse) ToJsonString() string
type CreateScheduledSqlResponseParams ¶
type CreateScheduledSqlResponseParams struct { // Task ID TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"` // 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 CreateShipperRequest ¶
type CreateShipperRequest struct { *tchttp.BaseRequest // ID of the log topic to which the shipping rule to be created belongs TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"` // Destination bucket in the shipping rule to be created Bucket *string `json:"Bucket,omitnil,omitempty" name:"Bucket"` // Prefix of the shipping directory in the shipping rule to be created Prefix *string `json:"Prefix,omitnil,omitempty" name:"Prefix"` // Shipping rule name ShipperName *string `json:"ShipperName,omitnil,omitempty" name:"ShipperName"` // Interval between shipping tasks (in sec). Default value: 300. Value range: 300-900 Interval *uint64 `json:"Interval,omitnil,omitempty" name:"Interval"` // Maximum size of a file to be shipped, in MB. Default value: 256. Value range: 5-256 MaxSize *uint64 `json:"MaxSize,omitnil,omitempty" name:"MaxSize"` // Filter rules for shipped logs. Only logs matching the rules can be shipped. All rules are in the AND relationship, and up to five rules can be added. If the array is empty, no filtering will be performed, and all logs will be shipped. FilterRules []*FilterRuleInfo `json:"FilterRules,omitnil,omitempty" name:"FilterRules"` // Rules for partitioning logs to be shipped. `strftime` can be used to define the presentation of time format. Partition *string `json:"Partition,omitnil,omitempty" name:"Partition"` // Compression configuration of shipped log Compress *CompressInfo `json:"Compress,omitnil,omitempty" name:"Compress"` // Format configuration of shipped log content Content *ContentInfo `json:"Content,omitnil,omitempty" name:"Content"` // Naming a shipping file. Valid values: `0` (by random number); `1` (by shipping time). Default value: `0`. FilenameMode *uint64 `json:"FilenameMode,omitnil,omitempty" name:"FilenameMode"` // Start time for data shipping, which cannot be earlier than the lifecycle start time of the log topic. If you do not specify this parameter, it will be set to the time when you create the data shipping task. StartTime *int64 `json:"StartTime,omitnil,omitempty" name:"StartTime"` // End time for data shipping, which cannot be set to a future time. If you do not specify this parameter, it indicates continuous data shipping. EndTime *int64 `json:"EndTime,omitnil,omitempty" name:"EndTime"` // COS bucket storage type StorageType *string `json:"StorageType,omitnil,omitempty" name:"StorageType"` }
func NewCreateShipperRequest ¶
func NewCreateShipperRequest() (request *CreateShipperRequest)
func (*CreateShipperRequest) FromJsonString ¶
func (r *CreateShipperRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateShipperRequest) ToJsonString ¶
func (r *CreateShipperRequest) ToJsonString() string
type CreateShipperRequestParams ¶
type CreateShipperRequestParams struct { // ID of the log topic to which the shipping rule to be created belongs TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"` // Destination bucket in the shipping rule to be created Bucket *string `json:"Bucket,omitnil,omitempty" name:"Bucket"` // Prefix of the shipping directory in the shipping rule to be created Prefix *string `json:"Prefix,omitnil,omitempty" name:"Prefix"` // Shipping rule name ShipperName *string `json:"ShipperName,omitnil,omitempty" name:"ShipperName"` // Interval between shipping tasks (in sec). Default value: 300. Value range: 300-900 Interval *uint64 `json:"Interval,omitnil,omitempty" name:"Interval"` // Maximum size of a file to be shipped, in MB. Default value: 256. Value range: 5-256 MaxSize *uint64 `json:"MaxSize,omitnil,omitempty" name:"MaxSize"` // Filter rules for shipped logs. Only logs matching the rules can be shipped. All rules are in the AND relationship, and up to five rules can be added. If the array is empty, no filtering will be performed, and all logs will be shipped. FilterRules []*FilterRuleInfo `json:"FilterRules,omitnil,omitempty" name:"FilterRules"` // Rules for partitioning logs to be shipped. `strftime` can be used to define the presentation of time format. Partition *string `json:"Partition,omitnil,omitempty" name:"Partition"` // Compression configuration of shipped log Compress *CompressInfo `json:"Compress,omitnil,omitempty" name:"Compress"` // Format configuration of shipped log content Content *ContentInfo `json:"Content,omitnil,omitempty" name:"Content"` // Naming a shipping file. Valid values: `0` (by random number); `1` (by shipping time). Default value: `0`. FilenameMode *uint64 `json:"FilenameMode,omitnil,omitempty" name:"FilenameMode"` // Start time for data shipping, which cannot be earlier than the lifecycle start time of the log topic. If you do not specify this parameter, it will be set to the time when you create the data shipping task. StartTime *int64 `json:"StartTime,omitnil,omitempty" name:"StartTime"` // End time for data shipping, which cannot be set to a future time. If you do not specify this parameter, it indicates continuous data shipping. EndTime *int64 `json:"EndTime,omitnil,omitempty" name:"EndTime"` // COS bucket storage type StorageType *string `json:"StorageType,omitnil,omitempty" name:"StorageType"` }
Predefined struct for user
type CreateShipperResponse ¶
type CreateShipperResponse struct { *tchttp.BaseResponse Response *CreateShipperResponseParams `json:"Response"` }
func NewCreateShipperResponse ¶
func NewCreateShipperResponse() (response *CreateShipperResponse)
func (*CreateShipperResponse) FromJsonString ¶
func (r *CreateShipperResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateShipperResponse) ToJsonString ¶
func (r *CreateShipperResponse) ToJsonString() string
type CreateShipperResponseParams ¶
type CreateShipperResponseParams struct { // Shipping task ID. ShipperId *string `json:"ShipperId,omitnil,omitempty" name:"ShipperId"` // 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 CreateTopicRequest ¶
type CreateTopicRequest struct { *tchttp.BaseRequest // Logset ID LogsetId *string `json:"LogsetId,omitnil,omitempty" name:"LogsetId"` // Log topic name TopicName *string `json:"TopicName,omitnil,omitempty" name:"TopicName"` // Number of log topic partitions. Default value: 1. Maximum value: 10 PartitionCount *int64 `json:"PartitionCount,omitnil,omitempty" name:"PartitionCount"` // Tag description list. This parameter is used to bind a tag to a log topic. Up to 10 tag key-value pairs are supported, and a resource can be bound to only one tag key. Tags []*Tag `json:"Tags,omitnil,omitempty" name:"Tags"` // Whether to enable automatic split. Default value: true AutoSplit *bool `json:"AutoSplit,omitnil,omitempty" name:"AutoSplit"` // Maximum number of partitions to split into for this topic if automatic split is enabled. Default value: 50 MaxSplitPartitions *int64 `json:"MaxSplitPartitions,omitnil,omitempty" name:"MaxSplitPartitions"` // Log topic storage type. Valid values: `hot` (STANDARD storage); `cold` (IA storage). Default value: `hot`. StorageType *string `json:"StorageType,omitnil,omitempty" name:"StorageType"` // lifetime. Unit: days. Standard storage value range: 1 to 3600. Infrequent storage value range: 7 to 3600 days. A value of 3640 indicates permanent retention.If this value is not input, it defaults to the Period value of the log set corresponding to the accessed log topic (defaults to 30 days in case of access failure). Period *int64 `json:"Period,omitnil,omitempty" name:"Period"` // Log topic description Describes *string `json:"Describes,omitnil,omitempty" name:"Describes"` // 0: Disable log settlement.Non-zero: The number of Standard Storage days after enabling log settlement. HotPeriod needs to be greater than or equal to 7, and less than Period.Effective only when StorageType is hot. HotPeriod *uint64 `json:"HotPeriod,omitnil,omitempty" name:"HotPeriod"` // Authentication switch. false: off; true: on. Default is false.Once enabled, it will support specified operations for anonymous access to this log topic. For details, please see [log Topic](https://intl.cloud.tencent.com/document/product/614/41035?from_cn_redirect=1). IsWebTracking *bool `json:"IsWebTracking,omitnil,omitempty" name:"IsWebTracking"` }
func NewCreateTopicRequest ¶
func NewCreateTopicRequest() (request *CreateTopicRequest)
func (*CreateTopicRequest) FromJsonString ¶
func (r *CreateTopicRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateTopicRequest) ToJsonString ¶
func (r *CreateTopicRequest) ToJsonString() string
type CreateTopicRequestParams ¶
type CreateTopicRequestParams struct { // Logset ID LogsetId *string `json:"LogsetId,omitnil,omitempty" name:"LogsetId"` // Log topic name TopicName *string `json:"TopicName,omitnil,omitempty" name:"TopicName"` // Number of log topic partitions. Default value: 1. Maximum value: 10 PartitionCount *int64 `json:"PartitionCount,omitnil,omitempty" name:"PartitionCount"` // Tag description list. This parameter is used to bind a tag to a log topic. Up to 10 tag key-value pairs are supported, and a resource can be bound to only one tag key. Tags []*Tag `json:"Tags,omitnil,omitempty" name:"Tags"` // Whether to enable automatic split. Default value: true AutoSplit *bool `json:"AutoSplit,omitnil,omitempty" name:"AutoSplit"` // Maximum number of partitions to split into for this topic if automatic split is enabled. Default value: 50 MaxSplitPartitions *int64 `json:"MaxSplitPartitions,omitnil,omitempty" name:"MaxSplitPartitions"` // Log topic storage type. Valid values: `hot` (STANDARD storage); `cold` (IA storage). Default value: `hot`. StorageType *string `json:"StorageType,omitnil,omitempty" name:"StorageType"` // lifetime. Unit: days. Standard storage value range: 1 to 3600. Infrequent storage value range: 7 to 3600 days. A value of 3640 indicates permanent retention.If this value is not input, it defaults to the Period value of the log set corresponding to the accessed log topic (defaults to 30 days in case of access failure). Period *int64 `json:"Period,omitnil,omitempty" name:"Period"` // Log topic description Describes *string `json:"Describes,omitnil,omitempty" name:"Describes"` // 0: Disable log settlement.Non-zero: The number of Standard Storage days after enabling log settlement. HotPeriod needs to be greater than or equal to 7, and less than Period.Effective only when StorageType is hot. HotPeriod *uint64 `json:"HotPeriod,omitnil,omitempty" name:"HotPeriod"` // Authentication switch. false: off; true: on. Default is false.Once enabled, it will support specified operations for anonymous access to this log topic. For details, please see [log Topic](https://intl.cloud.tencent.com/document/product/614/41035?from_cn_redirect=1). IsWebTracking *bool `json:"IsWebTracking,omitnil,omitempty" name:"IsWebTracking"` }
Predefined struct for user
type CreateTopicResponse ¶
type CreateTopicResponse struct { *tchttp.BaseResponse Response *CreateTopicResponseParams `json:"Response"` }
func NewCreateTopicResponse ¶
func NewCreateTopicResponse() (response *CreateTopicResponse)
func (*CreateTopicResponse) FromJsonString ¶
func (r *CreateTopicResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateTopicResponse) ToJsonString ¶
func (r *CreateTopicResponse) ToJsonString() string
type CreateTopicResponseParams ¶
type CreateTopicResponseParams struct { // Log topic ID TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"` // 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 CsvInfo ¶
type CsvInfo struct { // Whether to print `key` on the first row of the CSV file PrintKey *bool `json:"PrintKey,omitnil,omitempty" name:"PrintKey"` // Names of keys // Note: this field may return `null`, indicating that no valid values can be obtained. Keys []*string `json:"Keys,omitnil,omitempty" name:"Keys"` // Field delimiter Delimiter *string `json:"Delimiter,omitnil,omitempty" name:"Delimiter"` // Escape character used to enclose any field delimiter in field content. You can enter only a single quotation mark, double quotation mark, or an empty string. EscapeChar *string `json:"EscapeChar,omitnil,omitempty" name:"EscapeChar"` // Content used to populate non-existing fields NonExistingField *string `json:"NonExistingField,omitnil,omitempty" name:"NonExistingField"` }
type DataTransformTaskInfo ¶
type DataTransformTaskInfo struct { // Data processing task name Name *string `json:"Name,omitnil,omitempty" name:"Name"` // Data processing task ID TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"` // Task status. Valid values: 1 (enabled) and 2 (disabled). EnableFlag *int64 `json:"EnableFlag,omitnil,omitempty" name:"EnableFlag"` // Task type. Valid values: 1 (DSL) and 2 (SQL). Type *int64 `json:"Type,omitnil,omitempty" name:"Type"` // Source log topic SrcTopicId *string `json:"SrcTopicId,omitnil,omitempty" name:"SrcTopicId"` // Current task status. Valid values: 1 (preparing), 2 (in progress), 3 (being stopped), and 4 (stopped). Status *int64 `json:"Status,omitnil,omitempty" name:"Status"` // Task creation time CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"` // Last modified time UpdateTime *string `json:"UpdateTime,omitnil,omitempty" name:"UpdateTime"` // Last enabled time. If you need to rebuild a cluster, modify this time. LastEnableTime *string `json:"LastEnableTime,omitnil,omitempty" name:"LastEnableTime"` // Log topic name SrcTopicName *string `json:"SrcTopicName,omitnil,omitempty" name:"SrcTopicName"` // Logset ID LogsetId *string `json:"LogsetId,omitnil,omitempty" name:"LogsetId"` // Target topic ID and alias of the data processing task DstResources []*DataTransformResouceInfo `json:"DstResources,omitnil,omitempty" name:"DstResources"` // Logical function for data processing EtlContent *string `json:"EtlContent,omitnil,omitempty" name:"EtlContent"` }
type DeleteAlarmNoticeRequest ¶
type DeleteAlarmNoticeRequest struct { *tchttp.BaseRequest // Notification group ID AlarmNoticeId *string `json:"AlarmNoticeId,omitnil,omitempty" name:"AlarmNoticeId"` }
func NewDeleteAlarmNoticeRequest ¶
func NewDeleteAlarmNoticeRequest() (request *DeleteAlarmNoticeRequest)
func (*DeleteAlarmNoticeRequest) FromJsonString ¶
func (r *DeleteAlarmNoticeRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteAlarmNoticeRequest) ToJsonString ¶
func (r *DeleteAlarmNoticeRequest) ToJsonString() string
type DeleteAlarmNoticeRequestParams ¶
type DeleteAlarmNoticeRequestParams struct { // Notification group ID AlarmNoticeId *string `json:"AlarmNoticeId,omitnil,omitempty" name:"AlarmNoticeId"` }
Predefined struct for user
type DeleteAlarmNoticeResponse ¶
type DeleteAlarmNoticeResponse struct { *tchttp.BaseResponse Response *DeleteAlarmNoticeResponseParams `json:"Response"` }
func NewDeleteAlarmNoticeResponse ¶
func NewDeleteAlarmNoticeResponse() (response *DeleteAlarmNoticeResponse)
func (*DeleteAlarmNoticeResponse) FromJsonString ¶
func (r *DeleteAlarmNoticeResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteAlarmNoticeResponse) ToJsonString ¶
func (r *DeleteAlarmNoticeResponse) ToJsonString() string
type DeleteAlarmNoticeResponseParams ¶
type DeleteAlarmNoticeResponseParams 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 DeleteAlarmRequest ¶
type DeleteAlarmRequest struct { *tchttp.BaseRequest // Alarm policy ID. AlarmId *string `json:"AlarmId,omitnil,omitempty" name:"AlarmId"` }
func NewDeleteAlarmRequest ¶
func NewDeleteAlarmRequest() (request *DeleteAlarmRequest)
func (*DeleteAlarmRequest) FromJsonString ¶
func (r *DeleteAlarmRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteAlarmRequest) ToJsonString ¶
func (r *DeleteAlarmRequest) ToJsonString() string
type DeleteAlarmRequestParams ¶
type DeleteAlarmRequestParams struct { // Alarm policy ID. AlarmId *string `json:"AlarmId,omitnil,omitempty" name:"AlarmId"` }
Predefined struct for user
type DeleteAlarmResponse ¶
type DeleteAlarmResponse struct { *tchttp.BaseResponse Response *DeleteAlarmResponseParams `json:"Response"` }
func NewDeleteAlarmResponse ¶
func NewDeleteAlarmResponse() (response *DeleteAlarmResponse)
func (*DeleteAlarmResponse) FromJsonString ¶
func (r *DeleteAlarmResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteAlarmResponse) ToJsonString ¶
func (r *DeleteAlarmResponse) ToJsonString() string
type DeleteAlarmResponseParams ¶
type DeleteAlarmResponseParams 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 DeleteAlarmShieldRequest ¶
type DeleteAlarmShieldRequest struct { *tchttp.BaseRequest // Blocking rule ID. TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"` // Notification channel group ID. AlarmNoticeId *string `json:"AlarmNoticeId,omitnil,omitempty" name:"AlarmNoticeId"` }
func NewDeleteAlarmShieldRequest ¶
func NewDeleteAlarmShieldRequest() (request *DeleteAlarmShieldRequest)
func (*DeleteAlarmShieldRequest) FromJsonString ¶
func (r *DeleteAlarmShieldRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteAlarmShieldRequest) ToJsonString ¶
func (r *DeleteAlarmShieldRequest) ToJsonString() string
type DeleteAlarmShieldRequestParams ¶
type DeleteAlarmShieldRequestParams struct { // Blocking rule ID. TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"` // Notification channel group ID. AlarmNoticeId *string `json:"AlarmNoticeId,omitnil,omitempty" name:"AlarmNoticeId"` }
Predefined struct for user
type DeleteAlarmShieldResponse ¶
type DeleteAlarmShieldResponse struct { *tchttp.BaseResponse Response *DeleteAlarmShieldResponseParams `json:"Response"` }
func NewDeleteAlarmShieldResponse ¶
func NewDeleteAlarmShieldResponse() (response *DeleteAlarmShieldResponse)
func (*DeleteAlarmShieldResponse) FromJsonString ¶
func (r *DeleteAlarmShieldResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteAlarmShieldResponse) ToJsonString ¶
func (r *DeleteAlarmShieldResponse) ToJsonString() string
type DeleteAlarmShieldResponseParams ¶
type DeleteAlarmShieldResponseParams 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 DeleteConfigFromMachineGroupRequest ¶
type DeleteConfigFromMachineGroupRequest struct { *tchttp.BaseRequest // Machine group ID GroupId *string `json:"GroupId,omitnil,omitempty" name:"GroupId"` // Collection configuration ID ConfigId *string `json:"ConfigId,omitnil,omitempty" name:"ConfigId"` }
func NewDeleteConfigFromMachineGroupRequest ¶
func NewDeleteConfigFromMachineGroupRequest() (request *DeleteConfigFromMachineGroupRequest)
func (*DeleteConfigFromMachineGroupRequest) FromJsonString ¶
func (r *DeleteConfigFromMachineGroupRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteConfigFromMachineGroupRequest) ToJsonString ¶
func (r *DeleteConfigFromMachineGroupRequest) ToJsonString() string
type DeleteConfigFromMachineGroupRequestParams ¶
type DeleteConfigFromMachineGroupRequestParams struct { // Machine group ID GroupId *string `json:"GroupId,omitnil,omitempty" name:"GroupId"` // Collection configuration ID ConfigId *string `json:"ConfigId,omitnil,omitempty" name:"ConfigId"` }
Predefined struct for user
type DeleteConfigFromMachineGroupResponse ¶
type DeleteConfigFromMachineGroupResponse struct { *tchttp.BaseResponse Response *DeleteConfigFromMachineGroupResponseParams `json:"Response"` }
func NewDeleteConfigFromMachineGroupResponse ¶
func NewDeleteConfigFromMachineGroupResponse() (response *DeleteConfigFromMachineGroupResponse)
func (*DeleteConfigFromMachineGroupResponse) FromJsonString ¶
func (r *DeleteConfigFromMachineGroupResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteConfigFromMachineGroupResponse) ToJsonString ¶
func (r *DeleteConfigFromMachineGroupResponse) ToJsonString() string
type DeleteConfigFromMachineGroupResponseParams ¶
type DeleteConfigFromMachineGroupResponseParams 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 DeleteConfigRequest ¶
type DeleteConfigRequest struct { *tchttp.BaseRequest // Collection rule configuration ID ConfigId *string `json:"ConfigId,omitnil,omitempty" name:"ConfigId"` }
func NewDeleteConfigRequest ¶
func NewDeleteConfigRequest() (request *DeleteConfigRequest)
func (*DeleteConfigRequest) FromJsonString ¶
func (r *DeleteConfigRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteConfigRequest) ToJsonString ¶
func (r *DeleteConfigRequest) ToJsonString() string
type DeleteConfigRequestParams ¶
type DeleteConfigRequestParams struct { // Collection rule configuration ID ConfigId *string `json:"ConfigId,omitnil,omitempty" name:"ConfigId"` }
Predefined struct for user
type DeleteConfigResponse ¶
type DeleteConfigResponse struct { *tchttp.BaseResponse Response *DeleteConfigResponseParams `json:"Response"` }
func NewDeleteConfigResponse ¶
func NewDeleteConfigResponse() (response *DeleteConfigResponse)
func (*DeleteConfigResponse) FromJsonString ¶
func (r *DeleteConfigResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteConfigResponse) ToJsonString ¶
func (r *DeleteConfigResponse) ToJsonString() string
type DeleteConfigResponseParams ¶
type DeleteConfigResponseParams 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 DeleteConsumerRequest ¶
type DeleteConsumerRequest struct { *tchttp.BaseRequest // Log topic ID bound to the task TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"` }
func NewDeleteConsumerRequest ¶
func NewDeleteConsumerRequest() (request *DeleteConsumerRequest)
func (*DeleteConsumerRequest) FromJsonString ¶
func (r *DeleteConsumerRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteConsumerRequest) ToJsonString ¶
func (r *DeleteConsumerRequest) ToJsonString() string
type DeleteConsumerRequestParams ¶
type DeleteConsumerRequestParams struct { // Log topic ID bound to the task TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"` }
Predefined struct for user
type DeleteConsumerResponse ¶
type DeleteConsumerResponse struct { *tchttp.BaseResponse Response *DeleteConsumerResponseParams `json:"Response"` }
func NewDeleteConsumerResponse ¶
func NewDeleteConsumerResponse() (response *DeleteConsumerResponse)
func (*DeleteConsumerResponse) FromJsonString ¶
func (r *DeleteConsumerResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteConsumerResponse) ToJsonString ¶
func (r *DeleteConsumerResponse) ToJsonString() string
type DeleteConsumerResponseParams ¶
type DeleteConsumerResponseParams 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 DeleteDataTransformRequest ¶
type DeleteDataTransformRequest struct { *tchttp.BaseRequest // Data processing task ID TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"` }
func NewDeleteDataTransformRequest ¶
func NewDeleteDataTransformRequest() (request *DeleteDataTransformRequest)
func (*DeleteDataTransformRequest) FromJsonString ¶
func (r *DeleteDataTransformRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteDataTransformRequest) ToJsonString ¶
func (r *DeleteDataTransformRequest) ToJsonString() string
type DeleteDataTransformRequestParams ¶
type DeleteDataTransformRequestParams struct { // Data processing task ID TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"` }
Predefined struct for user
type DeleteDataTransformResponse ¶
type DeleteDataTransformResponse struct { *tchttp.BaseResponse Response *DeleteDataTransformResponseParams `json:"Response"` }
func NewDeleteDataTransformResponse ¶
func NewDeleteDataTransformResponse() (response *DeleteDataTransformResponse)
func (*DeleteDataTransformResponse) FromJsonString ¶
func (r *DeleteDataTransformResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteDataTransformResponse) ToJsonString ¶
func (r *DeleteDataTransformResponse) ToJsonString() string
type DeleteDataTransformResponseParams ¶
type DeleteDataTransformResponseParams 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 DeleteExportRequest ¶
type DeleteExportRequest struct { *tchttp.BaseRequest // Log export ID ExportId *string `json:"ExportId,omitnil,omitempty" name:"ExportId"` }
func NewDeleteExportRequest ¶
func NewDeleteExportRequest() (request *DeleteExportRequest)
func (*DeleteExportRequest) FromJsonString ¶
func (r *DeleteExportRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteExportRequest) ToJsonString ¶
func (r *DeleteExportRequest) ToJsonString() string
type DeleteExportRequestParams ¶
type DeleteExportRequestParams struct { // Log export ID ExportId *string `json:"ExportId,omitnil,omitempty" name:"ExportId"` }
Predefined struct for user
type DeleteExportResponse ¶
type DeleteExportResponse struct { *tchttp.BaseResponse Response *DeleteExportResponseParams `json:"Response"` }
func NewDeleteExportResponse ¶
func NewDeleteExportResponse() (response *DeleteExportResponse)
func (*DeleteExportResponse) FromJsonString ¶
func (r *DeleteExportResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteExportResponse) ToJsonString ¶
func (r *DeleteExportResponse) ToJsonString() string
type DeleteExportResponseParams ¶
type DeleteExportResponseParams 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 DeleteIndexRequest ¶
type DeleteIndexRequest struct { *tchttp.BaseRequest // Log topic ID TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"` }
func NewDeleteIndexRequest ¶
func NewDeleteIndexRequest() (request *DeleteIndexRequest)
func (*DeleteIndexRequest) FromJsonString ¶
func (r *DeleteIndexRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteIndexRequest) ToJsonString ¶
func (r *DeleteIndexRequest) ToJsonString() string
type DeleteIndexRequestParams ¶
type DeleteIndexRequestParams struct { // Log topic ID TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"` }
Predefined struct for user
type DeleteIndexResponse ¶
type DeleteIndexResponse struct { *tchttp.BaseResponse Response *DeleteIndexResponseParams `json:"Response"` }
func NewDeleteIndexResponse ¶
func NewDeleteIndexResponse() (response *DeleteIndexResponse)
func (*DeleteIndexResponse) FromJsonString ¶
func (r *DeleteIndexResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteIndexResponse) ToJsonString ¶
func (r *DeleteIndexResponse) ToJsonString() string
type DeleteIndexResponseParams ¶
type DeleteIndexResponseParams 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 DeleteKafkaRechargeRequest ¶
type DeleteKafkaRechargeRequest struct { *tchttp.BaseRequest // Kafka data import configuration ID Id *string `json:"Id,omitnil,omitempty" name:"Id"` // Target CLS log topic ID TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"` }
func NewDeleteKafkaRechargeRequest ¶
func NewDeleteKafkaRechargeRequest() (request *DeleteKafkaRechargeRequest)
func (*DeleteKafkaRechargeRequest) FromJsonString ¶
func (r *DeleteKafkaRechargeRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteKafkaRechargeRequest) ToJsonString ¶
func (r *DeleteKafkaRechargeRequest) ToJsonString() string
type DeleteKafkaRechargeRequestParams ¶
type DeleteKafkaRechargeRequestParams struct { // Kafka data import configuration ID Id *string `json:"Id,omitnil,omitempty" name:"Id"` // Target CLS log topic ID TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"` }
Predefined struct for user
type DeleteKafkaRechargeResponse ¶
type DeleteKafkaRechargeResponse struct { *tchttp.BaseResponse Response *DeleteKafkaRechargeResponseParams `json:"Response"` }
func NewDeleteKafkaRechargeResponse ¶
func NewDeleteKafkaRechargeResponse() (response *DeleteKafkaRechargeResponse)
func (*DeleteKafkaRechargeResponse) FromJsonString ¶
func (r *DeleteKafkaRechargeResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteKafkaRechargeResponse) ToJsonString ¶
func (r *DeleteKafkaRechargeResponse) ToJsonString() string
type DeleteKafkaRechargeResponseParams ¶
type DeleteKafkaRechargeResponseParams 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 DeleteLogsetRequest ¶
type DeleteLogsetRequest struct { *tchttp.BaseRequest // Logset ID LogsetId *string `json:"LogsetId,omitnil,omitempty" name:"LogsetId"` }
func NewDeleteLogsetRequest ¶
func NewDeleteLogsetRequest() (request *DeleteLogsetRequest)
func (*DeleteLogsetRequest) FromJsonString ¶
func (r *DeleteLogsetRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteLogsetRequest) ToJsonString ¶
func (r *DeleteLogsetRequest) ToJsonString() string
type DeleteLogsetRequestParams ¶
type DeleteLogsetRequestParams struct { // Logset ID LogsetId *string `json:"LogsetId,omitnil,omitempty" name:"LogsetId"` }
Predefined struct for user
type DeleteLogsetResponse ¶
type DeleteLogsetResponse struct { *tchttp.BaseResponse Response *DeleteLogsetResponseParams `json:"Response"` }
func NewDeleteLogsetResponse ¶
func NewDeleteLogsetResponse() (response *DeleteLogsetResponse)
func (*DeleteLogsetResponse) FromJsonString ¶
func (r *DeleteLogsetResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteLogsetResponse) ToJsonString ¶
func (r *DeleteLogsetResponse) ToJsonString() string
type DeleteLogsetResponseParams ¶
type DeleteLogsetResponseParams 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 DeleteMachineGroupInfoRequest ¶
type DeleteMachineGroupInfoRequest struct { *tchttp.BaseRequest // Machine group ID GroupId *string `json:"GroupId,omitnil,omitempty" name:"GroupId"` // Machine group type // Supported types: `ip` and `label` MachineGroupType *MachineGroupTypeInfo `json:"MachineGroupType,omitnil,omitempty" name:"MachineGroupType"` }
func NewDeleteMachineGroupInfoRequest ¶
func NewDeleteMachineGroupInfoRequest() (request *DeleteMachineGroupInfoRequest)
func (*DeleteMachineGroupInfoRequest) FromJsonString ¶
func (r *DeleteMachineGroupInfoRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteMachineGroupInfoRequest) ToJsonString ¶
func (r *DeleteMachineGroupInfoRequest) ToJsonString() string
type DeleteMachineGroupInfoRequestParams ¶
type DeleteMachineGroupInfoRequestParams struct { // Machine group ID GroupId *string `json:"GroupId,omitnil,omitempty" name:"GroupId"` // Machine group type // Supported types: `ip` and `label` MachineGroupType *MachineGroupTypeInfo `json:"MachineGroupType,omitnil,omitempty" name:"MachineGroupType"` }
Predefined struct for user
type DeleteMachineGroupInfoResponse ¶
type DeleteMachineGroupInfoResponse struct { *tchttp.BaseResponse Response *DeleteMachineGroupInfoResponseParams `json:"Response"` }
func NewDeleteMachineGroupInfoResponse ¶
func NewDeleteMachineGroupInfoResponse() (response *DeleteMachineGroupInfoResponse)
func (*DeleteMachineGroupInfoResponse) FromJsonString ¶
func (r *DeleteMachineGroupInfoResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteMachineGroupInfoResponse) ToJsonString ¶
func (r *DeleteMachineGroupInfoResponse) ToJsonString() string
type DeleteMachineGroupInfoResponseParams ¶
type DeleteMachineGroupInfoResponseParams 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 DeleteMachineGroupRequest ¶
type DeleteMachineGroupRequest struct { *tchttp.BaseRequest // Machine group ID GroupId *string `json:"GroupId,omitnil,omitempty" name:"GroupId"` }
func NewDeleteMachineGroupRequest ¶
func NewDeleteMachineGroupRequest() (request *DeleteMachineGroupRequest)
func (*DeleteMachineGroupRequest) FromJsonString ¶
func (r *DeleteMachineGroupRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteMachineGroupRequest) ToJsonString ¶
func (r *DeleteMachineGroupRequest) ToJsonString() string
type DeleteMachineGroupRequestParams ¶
type DeleteMachineGroupRequestParams struct { // Machine group ID GroupId *string `json:"GroupId,omitnil,omitempty" name:"GroupId"` }
Predefined struct for user
type DeleteMachineGroupResponse ¶
type DeleteMachineGroupResponse struct { *tchttp.BaseResponse Response *DeleteMachineGroupResponseParams `json:"Response"` }
func NewDeleteMachineGroupResponse ¶
func NewDeleteMachineGroupResponse() (response *DeleteMachineGroupResponse)
func (*DeleteMachineGroupResponse) FromJsonString ¶
func (r *DeleteMachineGroupResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteMachineGroupResponse) ToJsonString ¶
func (r *DeleteMachineGroupResponse) ToJsonString() string
type DeleteMachineGroupResponseParams ¶
type DeleteMachineGroupResponseParams 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 DeleteScheduledSqlRequest ¶
type DeleteScheduledSqlRequest struct { *tchttp.BaseRequest // Task ID TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"` // Source Log Topic ID SrcTopicId *string `json:"SrcTopicId,omitnil,omitempty" name:"SrcTopicId"` }
func NewDeleteScheduledSqlRequest ¶
func NewDeleteScheduledSqlRequest() (request *DeleteScheduledSqlRequest)
func (*DeleteScheduledSqlRequest) FromJsonString ¶
func (r *DeleteScheduledSqlRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteScheduledSqlRequest) ToJsonString ¶
func (r *DeleteScheduledSqlRequest) ToJsonString() string
type DeleteScheduledSqlRequestParams ¶
type DeleteScheduledSqlRequestParams struct { // Task ID TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"` // Source Log Topic ID SrcTopicId *string `json:"SrcTopicId,omitnil,omitempty" name:"SrcTopicId"` }
Predefined struct for user
type DeleteScheduledSqlResponse ¶
type DeleteScheduledSqlResponse struct { *tchttp.BaseResponse Response *DeleteScheduledSqlResponseParams `json:"Response"` }
func NewDeleteScheduledSqlResponse ¶
func NewDeleteScheduledSqlResponse() (response *DeleteScheduledSqlResponse)
func (*DeleteScheduledSqlResponse) FromJsonString ¶
func (r *DeleteScheduledSqlResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteScheduledSqlResponse) ToJsonString ¶
func (r *DeleteScheduledSqlResponse) ToJsonString() string
type DeleteScheduledSqlResponseParams ¶
type DeleteScheduledSqlResponseParams 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 DeleteShipperRequest ¶
type DeleteShipperRequest struct { *tchttp.BaseRequest // Shipping rule ID ShipperId *string `json:"ShipperId,omitnil,omitempty" name:"ShipperId"` }
func NewDeleteShipperRequest ¶
func NewDeleteShipperRequest() (request *DeleteShipperRequest)
func (*DeleteShipperRequest) FromJsonString ¶
func (r *DeleteShipperRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteShipperRequest) ToJsonString ¶
func (r *DeleteShipperRequest) ToJsonString() string
type DeleteShipperRequestParams ¶
type DeleteShipperRequestParams struct { // Shipping rule ID ShipperId *string `json:"ShipperId,omitnil,omitempty" name:"ShipperId"` }
Predefined struct for user
type DeleteShipperResponse ¶
type DeleteShipperResponse struct { *tchttp.BaseResponse Response *DeleteShipperResponseParams `json:"Response"` }
func NewDeleteShipperResponse ¶
func NewDeleteShipperResponse() (response *DeleteShipperResponse)
func (*DeleteShipperResponse) FromJsonString ¶
func (r *DeleteShipperResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteShipperResponse) ToJsonString ¶
func (r *DeleteShipperResponse) ToJsonString() string
type DeleteShipperResponseParams ¶
type DeleteShipperResponseParams 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 DeleteTopicRequest ¶
type DeleteTopicRequest struct { *tchttp.BaseRequest // Log topic ID TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"` }
func NewDeleteTopicRequest ¶
func NewDeleteTopicRequest() (request *DeleteTopicRequest)
func (*DeleteTopicRequest) FromJsonString ¶
func (r *DeleteTopicRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteTopicRequest) ToJsonString ¶
func (r *DeleteTopicRequest) ToJsonString() string
type DeleteTopicRequestParams ¶
type DeleteTopicRequestParams struct { // Log topic ID TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"` }
Predefined struct for user
type DeleteTopicResponse ¶
type DeleteTopicResponse struct { *tchttp.BaseResponse Response *DeleteTopicResponseParams `json:"Response"` }
func NewDeleteTopicResponse ¶
func NewDeleteTopicResponse() (response *DeleteTopicResponse)
func (*DeleteTopicResponse) FromJsonString ¶
func (r *DeleteTopicResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteTopicResponse) ToJsonString ¶
func (r *DeleteTopicResponse) ToJsonString() string
type DeleteTopicResponseParams ¶
type DeleteTopicResponseParams 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 DescribeAlarmNoticesRequest ¶
type DescribeAlarmNoticesRequest struct { *tchttp.BaseRequest // <li> name // Filter by Notification Channel Group Name.Type: String // Required: No</li> // <li> alarmNoticeId // Filter by Notification Channel Group ID.Type: String // Required: No</li> // <li> uid // Filter by Receiving User ID.Type: String // Required: No</li> // <li> groupId // Filter by Receiving User Group ID.Type: String // Required: No</li> // // <li> deliverFlag // Filter by Delivery Status.Type: String // Required: No // Optional Values: "1": Not Enabled, "2": Enabled, "3": Delivery Exception</li>The maximum number of Filters per request is 10, and the maximum for Filter.Values is 5. Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` // Page offset. Default value: 0 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Maximum number of entries per page. Default value: 20. Maximum value: 100. Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` }
func NewDescribeAlarmNoticesRequest ¶
func NewDescribeAlarmNoticesRequest() (request *DescribeAlarmNoticesRequest)
func (*DescribeAlarmNoticesRequest) FromJsonString ¶
func (r *DescribeAlarmNoticesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeAlarmNoticesRequest) ToJsonString ¶
func (r *DescribeAlarmNoticesRequest) ToJsonString() string
type DescribeAlarmNoticesRequestParams ¶
type DescribeAlarmNoticesRequestParams struct { // <li> name // Filter by Notification Channel Group Name.Type: String // Required: No</li> // <li> alarmNoticeId // Filter by Notification Channel Group ID.Type: String // Required: No</li> // <li> uid // Filter by Receiving User ID.Type: String // Required: No</li> // <li> groupId // Filter by Receiving User Group ID.Type: String // Required: No</li> // // <li> deliverFlag // Filter by Delivery Status.Type: String // Required: No // Optional Values: "1": Not Enabled, "2": Enabled, "3": Delivery Exception</li>The maximum number of Filters per request is 10, and the maximum for Filter.Values is 5. Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` // Page offset. Default value: 0 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Maximum number of entries per page. Default value: 20. Maximum value: 100. Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` }
Predefined struct for user
type DescribeAlarmNoticesResponse ¶
type DescribeAlarmNoticesResponse struct { *tchttp.BaseResponse Response *DescribeAlarmNoticesResponseParams `json:"Response"` }
func NewDescribeAlarmNoticesResponse ¶
func NewDescribeAlarmNoticesResponse() (response *DescribeAlarmNoticesResponse)
func (*DescribeAlarmNoticesResponse) FromJsonString ¶
func (r *DescribeAlarmNoticesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeAlarmNoticesResponse) ToJsonString ¶
func (r *DescribeAlarmNoticesResponse) ToJsonString() string
type DescribeAlarmNoticesResponseParams ¶
type DescribeAlarmNoticesResponseParams struct { // Alarm notification template list // Note: this field may return `null`, indicating that no valid values can be obtained. AlarmNotices []*AlarmNotice `json:"AlarmNotices,omitnil,omitempty" name:"AlarmNotices"` // Total number of eligible alarm notification templates TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeAlarmShieldsRequest ¶
type DescribeAlarmShieldsRequest struct { *tchttp.BaseRequest // Notification Channel Group ID AlarmNoticeId *string `json:"AlarmNoticeId,omitnil,omitempty" name:"AlarmNoticeId"` // - taskId: Filter by [Rule ID]. Type: String. Optional: No // - status: Filter by [Rule Status]. Type: String. Supports 0: Not yet effective, 1: In Effect, 2: Expired. Optional: No // Each request can have up to 10 Filters. The upper limit of Filter.Values is 100. Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` // Page offset. Default value: 0 Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Maximum number of entries per page. Default value: 20. Maximum value: 100. Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` }
func NewDescribeAlarmShieldsRequest ¶
func NewDescribeAlarmShieldsRequest() (request *DescribeAlarmShieldsRequest)
func (*DescribeAlarmShieldsRequest) FromJsonString ¶
func (r *DescribeAlarmShieldsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeAlarmShieldsRequest) ToJsonString ¶
func (r *DescribeAlarmShieldsRequest) ToJsonString() string
type DescribeAlarmShieldsRequestParams ¶
type DescribeAlarmShieldsRequestParams struct { // Notification Channel Group ID AlarmNoticeId *string `json:"AlarmNoticeId,omitnil,omitempty" name:"AlarmNoticeId"` // - taskId: Filter by [Rule ID]. Type: String. Optional: No // - status: Filter by [Rule Status]. Type: String. Supports 0: Not yet effective, 1: In Effect, 2: Expired. Optional: No // Each request can have up to 10 Filters. The upper limit of Filter.Values is 100. Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` // Page offset. Default value: 0 Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Maximum number of entries per page. Default value: 20. Maximum value: 100. Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` }
Predefined struct for user
type DescribeAlarmShieldsResponse ¶
type DescribeAlarmShieldsResponse struct { *tchttp.BaseResponse Response *DescribeAlarmShieldsResponseParams `json:"Response"` }
func NewDescribeAlarmShieldsResponse ¶
func NewDescribeAlarmShieldsResponse() (response *DescribeAlarmShieldsResponse)
func (*DescribeAlarmShieldsResponse) FromJsonString ¶
func (r *DescribeAlarmShieldsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeAlarmShieldsResponse) ToJsonString ¶
func (r *DescribeAlarmShieldsResponse) ToJsonString() string
type DescribeAlarmShieldsResponseParams ¶
type DescribeAlarmShieldsResponseParams struct { // The total number of rules that meet the criteria TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // Details of the alarm blocking rules AlarmShields []*AlarmShieldInfo `json:"AlarmShields,omitnil,omitempty" name:"AlarmShields"` // 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 DescribeAlarmsRequest ¶
type DescribeAlarmsRequest struct { *tchttp.BaseRequest // name // - Filter by **alarm policy name** // - Type: String // - Required: No // // alarmId // - Filter by **alarm policy ID** // - Type: String // - Required: No // // topicId // - Filter by **log topic ID** // - Type: String // - Required: No // // enable // - Filter by **enablement status** // - Type: String // - Note: The valid values of `enable` include `1`, `t`, `T`, `TRUE`, `true`, `True`, `0`, `f`, `F`, `FALSE`, `false`, and `False`. If other values are entered, an "invalid parameter" error will be returned. // - Required: No // // Each request can contain up to 10 `Filters` and 5 `Filter.Values`. Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` // Page offset. Default value: 0 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Maximum number of entries per page. Default value: 20. Maximum value: 100. Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` }
func NewDescribeAlarmsRequest ¶
func NewDescribeAlarmsRequest() (request *DescribeAlarmsRequest)
func (*DescribeAlarmsRequest) FromJsonString ¶
func (r *DescribeAlarmsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeAlarmsRequest) ToJsonString ¶
func (r *DescribeAlarmsRequest) ToJsonString() string
type DescribeAlarmsRequestParams ¶
type DescribeAlarmsRequestParams struct { // name // - Filter by **alarm policy name** // - Type: String // - Required: No // // alarmId // - Filter by **alarm policy ID** // - Type: String // - Required: No // // topicId // - Filter by **log topic ID** // - Type: String // - Required: No // // enable // - Filter by **enablement status** // - Type: String // - Note: The valid values of `enable` include `1`, `t`, `T`, `TRUE`, `true`, `True`, `0`, `f`, `F`, `FALSE`, `false`, and `False`. If other values are entered, an "invalid parameter" error will be returned. // - Required: No // // Each request can contain up to 10 `Filters` and 5 `Filter.Values`. Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` // Page offset. Default value: 0 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Maximum number of entries per page. Default value: 20. Maximum value: 100. Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` }
Predefined struct for user
type DescribeAlarmsResponse ¶
type DescribeAlarmsResponse struct { *tchttp.BaseResponse Response *DescribeAlarmsResponseParams `json:"Response"` }
func NewDescribeAlarmsResponse ¶
func NewDescribeAlarmsResponse() (response *DescribeAlarmsResponse)
func (*DescribeAlarmsResponse) FromJsonString ¶
func (r *DescribeAlarmsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeAlarmsResponse) ToJsonString ¶
func (r *DescribeAlarmsResponse) ToJsonString() string
type DescribeAlarmsResponseParams ¶
type DescribeAlarmsResponseParams struct { // Alarm policy list Alarms []*AlarmInfo `json:"Alarms,omitnil,omitempty" name:"Alarms"` // Number of eligible alarm policies TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeAlertRecordHistoryRequest ¶
type DescribeAlertRecordHistoryRequest struct { *tchttp.BaseRequest // Start time of the query range, which is a Unix timestamp in ms From *uint64 `json:"From,omitnil,omitempty" name:"From"` // End time of the query range, which is a Unix timestamp in ms To *uint64 `json:"To,omitnil,omitempty" name:"To"` // Page offset. Default value: 0 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Maximum number of entries per page. Maximum value: 100 Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // - alertId: Filter by alarm policy ID. Type: String; optional // - topicId: Filter by ID of monitored object. Type: String; optional // - status: Filter by alarm status. Type: String, optional. Valid values: `0` (uncleared), `1` (cleared), `2` (expired) // - alarmLevel: Filter by alarm severity. Type: String, optional. Valid values: `0` (Warn), `1` (Info), `2` (Critical) // // Each request can have up to 10 `Filters` and 100 `Filter.Values`. Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` }
func NewDescribeAlertRecordHistoryRequest ¶
func NewDescribeAlertRecordHistoryRequest() (request *DescribeAlertRecordHistoryRequest)
func (*DescribeAlertRecordHistoryRequest) FromJsonString ¶
func (r *DescribeAlertRecordHistoryRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeAlertRecordHistoryRequest) ToJsonString ¶
func (r *DescribeAlertRecordHistoryRequest) ToJsonString() string
type DescribeAlertRecordHistoryRequestParams ¶
type DescribeAlertRecordHistoryRequestParams struct { // Start time of the query range, which is a Unix timestamp in ms From *uint64 `json:"From,omitnil,omitempty" name:"From"` // End time of the query range, which is a Unix timestamp in ms To *uint64 `json:"To,omitnil,omitempty" name:"To"` // Page offset. Default value: 0 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Maximum number of entries per page. Maximum value: 100 Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // - alertId: Filter by alarm policy ID. Type: String; optional // - topicId: Filter by ID of monitored object. Type: String; optional // - status: Filter by alarm status. Type: String, optional. Valid values: `0` (uncleared), `1` (cleared), `2` (expired) // - alarmLevel: Filter by alarm severity. Type: String, optional. Valid values: `0` (Warn), `1` (Info), `2` (Critical) // // Each request can have up to 10 `Filters` and 100 `Filter.Values`. Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` }
Predefined struct for user
type DescribeAlertRecordHistoryResponse ¶
type DescribeAlertRecordHistoryResponse struct { *tchttp.BaseResponse Response *DescribeAlertRecordHistoryResponseParams `json:"Response"` }
func NewDescribeAlertRecordHistoryResponse ¶
func NewDescribeAlertRecordHistoryResponse() (response *DescribeAlertRecordHistoryResponse)
func (*DescribeAlertRecordHistoryResponse) FromJsonString ¶
func (r *DescribeAlertRecordHistoryResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeAlertRecordHistoryResponse) ToJsonString ¶
func (r *DescribeAlertRecordHistoryResponse) ToJsonString() string
type DescribeAlertRecordHistoryResponseParams ¶
type DescribeAlertRecordHistoryResponseParams struct { // Total alarm records TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // Alarm record details Records []*AlertHistoryRecord `json:"Records,omitnil,omitempty" name:"Records"` // 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 DescribeConfigMachineGroupsRequest ¶
type DescribeConfigMachineGroupsRequest struct { *tchttp.BaseRequest // Collection configuration ID ConfigId *string `json:"ConfigId,omitnil,omitempty" name:"ConfigId"` }
func NewDescribeConfigMachineGroupsRequest ¶
func NewDescribeConfigMachineGroupsRequest() (request *DescribeConfigMachineGroupsRequest)
func (*DescribeConfigMachineGroupsRequest) FromJsonString ¶
func (r *DescribeConfigMachineGroupsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeConfigMachineGroupsRequest) ToJsonString ¶
func (r *DescribeConfigMachineGroupsRequest) ToJsonString() string
type DescribeConfigMachineGroupsRequestParams ¶
type DescribeConfigMachineGroupsRequestParams struct { // Collection configuration ID ConfigId *string `json:"ConfigId,omitnil,omitempty" name:"ConfigId"` }
Predefined struct for user
type DescribeConfigMachineGroupsResponse ¶
type DescribeConfigMachineGroupsResponse struct { *tchttp.BaseResponse Response *DescribeConfigMachineGroupsResponseParams `json:"Response"` }
func NewDescribeConfigMachineGroupsResponse ¶
func NewDescribeConfigMachineGroupsResponse() (response *DescribeConfigMachineGroupsResponse)
func (*DescribeConfigMachineGroupsResponse) FromJsonString ¶
func (r *DescribeConfigMachineGroupsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeConfigMachineGroupsResponse) ToJsonString ¶
func (r *DescribeConfigMachineGroupsResponse) ToJsonString() string
type DescribeConfigMachineGroupsResponseParams ¶
type DescribeConfigMachineGroupsResponseParams struct { // List of machine groups bound to the collection rule configuration // Note: this field may return `null`, indicating that no valid values can be obtained. MachineGroups []*MachineGroupInfo `json:"MachineGroups,omitnil,omitempty" name:"MachineGroups"` // 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 DescribeConfigsRequest ¶
type DescribeConfigsRequest struct { *tchttp.BaseRequest // configName // - Filter by fuzzy match of **collection configuration name** // - Type: String // - Required: No // // configId // - Filter by **collection configuration ID** // - Type: String // - Required: No // // topicId // - Filter by **log topic** // - Type: String // - Required: No // // Each request can contain up to 10 `Filters` and 5 `Filter.Values`. Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` // Page offset. Default value: 0 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Maximum number of entries per page. Default value: 20. Maximum value: 100 Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` }
func NewDescribeConfigsRequest ¶
func NewDescribeConfigsRequest() (request *DescribeConfigsRequest)
func (*DescribeConfigsRequest) FromJsonString ¶
func (r *DescribeConfigsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeConfigsRequest) ToJsonString ¶
func (r *DescribeConfigsRequest) ToJsonString() string
type DescribeConfigsRequestParams ¶
type DescribeConfigsRequestParams struct { // configName // - Filter by fuzzy match of **collection configuration name** // - Type: String // - Required: No // // configId // - Filter by **collection configuration ID** // - Type: String // - Required: No // // topicId // - Filter by **log topic** // - Type: String // - Required: No // // Each request can contain up to 10 `Filters` and 5 `Filter.Values`. Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` // Page offset. Default value: 0 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Maximum number of entries per page. Default value: 20. Maximum value: 100 Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` }
Predefined struct for user
type DescribeConfigsResponse ¶
type DescribeConfigsResponse struct { *tchttp.BaseResponse Response *DescribeConfigsResponseParams `json:"Response"` }
func NewDescribeConfigsResponse ¶
func NewDescribeConfigsResponse() (response *DescribeConfigsResponse)
func (*DescribeConfigsResponse) FromJsonString ¶
func (r *DescribeConfigsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeConfigsResponse) ToJsonString ¶
func (r *DescribeConfigsResponse) ToJsonString() string
type DescribeConfigsResponseParams ¶
type DescribeConfigsResponseParams struct { // Collection configuration list // Note: this field may return `null`, indicating that no valid values can be obtained. Configs []*ConfigInfo `json:"Configs,omitnil,omitempty" name:"Configs"` // Total number of filtered items TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeConsumerRequest ¶
type DescribeConsumerRequest struct { *tchttp.BaseRequest // Log topic ID bound to the task TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"` }
func NewDescribeConsumerRequest ¶
func NewDescribeConsumerRequest() (request *DescribeConsumerRequest)
func (*DescribeConsumerRequest) FromJsonString ¶
func (r *DescribeConsumerRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeConsumerRequest) ToJsonString ¶
func (r *DescribeConsumerRequest) ToJsonString() string
type DescribeConsumerRequestParams ¶
type DescribeConsumerRequestParams struct { // Log topic ID bound to the task TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"` }
Predefined struct for user
type DescribeConsumerResponse ¶
type DescribeConsumerResponse struct { *tchttp.BaseResponse Response *DescribeConsumerResponseParams `json:"Response"` }
func NewDescribeConsumerResponse ¶
func NewDescribeConsumerResponse() (response *DescribeConsumerResponse)
func (*DescribeConsumerResponse) FromJsonString ¶
func (r *DescribeConsumerResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeConsumerResponse) ToJsonString ¶
func (r *DescribeConsumerResponse) ToJsonString() string
type DescribeConsumerResponseParams ¶
type DescribeConsumerResponseParams struct { // Whether the shipping task is effective Effective *bool `json:"Effective,omitnil,omitempty" name:"Effective"` // Whether log metadata is shipped NeedContent *bool `json:"NeedContent,omitnil,omitempty" name:"NeedContent"` // Metadata shipped if `NeedContent` is `true` // Note: This field may return `null`, indicating that no valid value was found. Content *ConsumerContent `json:"Content,omitnil,omitempty" name:"Content"` // CKafka information Ckafka *Ckafka `json:"Ckafka,omitnil,omitempty" name:"Ckafka"` // Compression mode. Valid values: `0` (no compression), `2` (snappy), `3` (LZ4). // Note: This field may return null, indicating that no valid values can be obtained. Compression *int64 `json:"Compression,omitnil,omitempty" name:"Compression"` // 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 DescribeCosRechargesRequest ¶
type DescribeCosRechargesRequest struct { *tchttp.BaseRequest // ID of the log topic. TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"` // Status. `0`: Created, `1`: Running, `2`: Stopped, `3`: Completed, `4`: Run failed Status *uint64 `json:"Status,omitnil,omitempty" name:"Status"` // Whether the configuration is enabled. `0`: Not enabled, `1`: Enabled Enable *uint64 `json:"Enable,omitnil,omitempty" name:"Enable"` }
func NewDescribeCosRechargesRequest ¶
func NewDescribeCosRechargesRequest() (request *DescribeCosRechargesRequest)
func (*DescribeCosRechargesRequest) FromJsonString ¶
func (r *DescribeCosRechargesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeCosRechargesRequest) ToJsonString ¶
func (r *DescribeCosRechargesRequest) ToJsonString() string
type DescribeCosRechargesRequestParams ¶
type DescribeCosRechargesRequestParams struct { // ID of the log topic. TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"` // Status. `0`: Created, `1`: Running, `2`: Stopped, `3`: Completed, `4`: Run failed Status *uint64 `json:"Status,omitnil,omitempty" name:"Status"` // Whether the configuration is enabled. `0`: Not enabled, `1`: Enabled Enable *uint64 `json:"Enable,omitnil,omitempty" name:"Enable"` }
Predefined struct for user
type DescribeCosRechargesResponse ¶
type DescribeCosRechargesResponse struct { *tchttp.BaseResponse Response *DescribeCosRechargesResponseParams `json:"Response"` }
func NewDescribeCosRechargesResponse ¶
func NewDescribeCosRechargesResponse() (response *DescribeCosRechargesResponse)
func (*DescribeCosRechargesResponse) FromJsonString ¶
func (r *DescribeCosRechargesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeCosRechargesResponse) ToJsonString ¶
func (r *DescribeCosRechargesResponse) ToJsonString() string
type DescribeCosRechargesResponseParams ¶
type DescribeCosRechargesResponseParams struct { // See the description of the `CosRechargeInfo` structure. // Note: This field may return null, indicating that no valid values can be obtained. Data []*CosRechargeInfo `json:"Data,omitnil,omitempty" name:"Data"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeDataTransformInfoRequest ¶
type DescribeDataTransformInfoRequest struct { *tchttp.BaseRequest // <br><li>taskName // // Filter by **processing task name**. // Type: String // // Required: No // // <br><li>taskId // // Filter by **processing task ID**. // Type: String // // Required: No // // <br><li>srctopicId // // Filter by **source topic ID**. // Type: String // // Required: No // // Each request can have up to 10 `Filters` and 100 `Filter.Values`. Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` // The pagination offset. Default value: 0. Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Maximum number of entries per page. Default value: 20. Maximum value: 100. Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // Task type. Valid values: 1: Get the details of a single task. 2 (default): Get the task list. Type *int64 `json:"Type,omitnil,omitempty" name:"Type"` // Task ID, which is required when `Type` is set to `1` TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"` }
func NewDescribeDataTransformInfoRequest ¶
func NewDescribeDataTransformInfoRequest() (request *DescribeDataTransformInfoRequest)
func (*DescribeDataTransformInfoRequest) FromJsonString ¶
func (r *DescribeDataTransformInfoRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDataTransformInfoRequest) ToJsonString ¶
func (r *DescribeDataTransformInfoRequest) ToJsonString() string
type DescribeDataTransformInfoRequestParams ¶
type DescribeDataTransformInfoRequestParams struct { // <br><li>taskName // // Filter by **processing task name**. // Type: String // // Required: No // // <br><li>taskId // // Filter by **processing task ID**. // Type: String // // Required: No // // <br><li>srctopicId // // Filter by **source topic ID**. // Type: String // // Required: No // // Each request can have up to 10 `Filters` and 100 `Filter.Values`. Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` // The pagination offset. Default value: 0. Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Maximum number of entries per page. Default value: 20. Maximum value: 100. Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // Task type. Valid values: 1: Get the details of a single task. 2 (default): Get the task list. Type *int64 `json:"Type,omitnil,omitempty" name:"Type"` // Task ID, which is required when `Type` is set to `1` TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"` }
Predefined struct for user
type DescribeDataTransformInfoResponse ¶
type DescribeDataTransformInfoResponse struct { *tchttp.BaseResponse Response *DescribeDataTransformInfoResponseParams `json:"Response"` }
func NewDescribeDataTransformInfoResponse ¶
func NewDescribeDataTransformInfoResponse() (response *DescribeDataTransformInfoResponse)
func (*DescribeDataTransformInfoResponse) FromJsonString ¶
func (r *DescribeDataTransformInfoResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDataTransformInfoResponse) ToJsonString ¶
func (r *DescribeDataTransformInfoResponse) ToJsonString() string
type DescribeDataTransformInfoResponseParams ¶
type DescribeDataTransformInfoResponseParams struct { // List of data processing tasks DataTransformTaskInfos []*DataTransformTaskInfo `json:"DataTransformTaskInfos,omitnil,omitempty" name:"DataTransformTaskInfos"` // Total tasks TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeExportsRequest ¶
type DescribeExportsRequest struct { *tchttp.BaseRequest // Log topic ID TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"` // Page offset. Default value: 0 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Maximum number of entries per page. Default value: 20. Maximum value: 100 Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` }
func NewDescribeExportsRequest ¶
func NewDescribeExportsRequest() (request *DescribeExportsRequest)
func (*DescribeExportsRequest) FromJsonString ¶
func (r *DescribeExportsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeExportsRequest) ToJsonString ¶
func (r *DescribeExportsRequest) ToJsonString() string
type DescribeExportsRequestParams ¶
type DescribeExportsRequestParams struct { // Log topic ID TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"` // Page offset. Default value: 0 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Maximum number of entries per page. Default value: 20. Maximum value: 100 Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` }
Predefined struct for user
type DescribeExportsResponse ¶
type DescribeExportsResponse struct { *tchttp.BaseResponse Response *DescribeExportsResponseParams `json:"Response"` }
func NewDescribeExportsResponse ¶
func NewDescribeExportsResponse() (response *DescribeExportsResponse)
func (*DescribeExportsResponse) FromJsonString ¶
func (r *DescribeExportsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeExportsResponse) ToJsonString ¶
func (r *DescribeExportsResponse) ToJsonString() string
type DescribeExportsResponseParams ¶
type DescribeExportsResponseParams struct { // List of exported logs Exports []*ExportInfo `json:"Exports,omitnil,omitempty" name:"Exports"` // Total number TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeIndexRequest ¶
type DescribeIndexRequest struct { *tchttp.BaseRequest // Log topic ID TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"` }
func NewDescribeIndexRequest ¶
func NewDescribeIndexRequest() (request *DescribeIndexRequest)
func (*DescribeIndexRequest) FromJsonString ¶
func (r *DescribeIndexRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeIndexRequest) ToJsonString ¶
func (r *DescribeIndexRequest) ToJsonString() string
type DescribeIndexRequestParams ¶
type DescribeIndexRequestParams struct { // Log topic ID TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"` }
Predefined struct for user
type DescribeIndexResponse ¶
type DescribeIndexResponse struct { *tchttp.BaseResponse Response *DescribeIndexResponseParams `json:"Response"` }
func NewDescribeIndexResponse ¶
func NewDescribeIndexResponse() (response *DescribeIndexResponse)
func (*DescribeIndexResponse) FromJsonString ¶
func (r *DescribeIndexResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeIndexResponse) ToJsonString ¶
func (r *DescribeIndexResponse) ToJsonString() string
type DescribeIndexResponseParams ¶
type DescribeIndexResponseParams struct { // Log topic ID TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"` // Whether it takes effect Status *bool `json:"Status,omitnil,omitempty" name:"Status"` // Index configuration information // Note: this field may return `null`, indicating that no valid values can be obtained. Rule *RuleInfo `json:"Rule,omitnil,omitempty" name:"Rule"` // Index modification time. The default value is the index creation time. ModifyTime *string `json:"ModifyTime,omitnil,omitempty" name:"ModifyTime"` // Whether full-text indexing includes internal fields (`__FILENAME__`, `__HOSTNAME__`, and `__SOURCE__`) // * `false`: Full-text indexing does not include internal fields. // * `true`: Full-text indexing includes internal fields. // Note: This field may return null, indicating that no valid values can be obtained. IncludeInternalFields *bool `json:"IncludeInternalFields,omitnil,omitempty" name:"IncludeInternalFields"` // Whether full-text indexing includes metadata fields (which are prefixed with `__TAG__`) // * `0`: Full-text indexing includes only the metadata fields with key-value indexing enabled. // * `1`: Full-text indexing includes all metadata fields. // * `2`: Full-text indexing does not include metadata fields. // Note: This field may return null, indicating that no valid values can be obtained. MetadataFlag *uint64 `json:"MetadataFlag,omitnil,omitempty" name:"MetadataFlag"` // 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 DescribeKafkaConsumerRequest ¶
type DescribeKafkaConsumerRequest struct { *tchttp.BaseRequest // Log Topic ID FromTopicId *string `json:"FromTopicId,omitnil,omitempty" name:"FromTopicId"` }
func NewDescribeKafkaConsumerRequest ¶
func NewDescribeKafkaConsumerRequest() (request *DescribeKafkaConsumerRequest)
func (*DescribeKafkaConsumerRequest) FromJsonString ¶
func (r *DescribeKafkaConsumerRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeKafkaConsumerRequest) ToJsonString ¶
func (r *DescribeKafkaConsumerRequest) ToJsonString() string
type DescribeKafkaConsumerRequestParams ¶
type DescribeKafkaConsumerRequestParams struct { // Log Topic ID FromTopicId *string `json:"FromTopicId,omitnil,omitempty" name:"FromTopicId"` }
Predefined struct for user
type DescribeKafkaConsumerResponse ¶
type DescribeKafkaConsumerResponse struct { *tchttp.BaseResponse Response *DescribeKafkaConsumerResponseParams `json:"Response"` }
func NewDescribeKafkaConsumerResponse ¶
func NewDescribeKafkaConsumerResponse() (response *DescribeKafkaConsumerResponse)
func (*DescribeKafkaConsumerResponse) FromJsonString ¶
func (r *DescribeKafkaConsumerResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeKafkaConsumerResponse) ToJsonString ¶
func (r *DescribeKafkaConsumerResponse) ToJsonString() string
type DescribeKafkaConsumerResponseParams ¶
type DescribeKafkaConsumerResponseParams struct { // Whether Kafka Protocol Consumption is enabled Status *bool `json:"Status,omitnil,omitempty" name:"Status"` // Topic Parameter used by KafkaConsumer during consumption TopicID *string `json:"TopicID,omitnil,omitempty" name:"TopicID"` // Compression mode [0: NONE; 2: SNAPPY; 3: LZ4] Compression *int64 `json:"Compression,omitnil,omitempty" name:"Compression"` // Kafka protocol consumer data format ConsumerContent *KafkaConsumerContent `json:"ConsumerContent,omitnil,omitempty" name:"ConsumerContent"` // 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 DescribeKafkaRechargesRequest ¶
type DescribeKafkaRechargesRequest struct { *tchttp.BaseRequest // Log topic ID TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"` // Import configuration ID Id *string `json:"Id,omitnil,omitempty" name:"Id"` // Status. Valid values: 1 (running) and 2 (suspended). Status *uint64 `json:"Status,omitnil,omitempty" name:"Status"` }
func NewDescribeKafkaRechargesRequest ¶
func NewDescribeKafkaRechargesRequest() (request *DescribeKafkaRechargesRequest)
func (*DescribeKafkaRechargesRequest) FromJsonString ¶
func (r *DescribeKafkaRechargesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeKafkaRechargesRequest) ToJsonString ¶
func (r *DescribeKafkaRechargesRequest) ToJsonString() string
type DescribeKafkaRechargesRequestParams ¶
type DescribeKafkaRechargesRequestParams struct { // Log topic ID TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"` // Import configuration ID Id *string `json:"Id,omitnil,omitempty" name:"Id"` // Status. Valid values: 1 (running) and 2 (suspended). Status *uint64 `json:"Status,omitnil,omitempty" name:"Status"` }
Predefined struct for user
type DescribeKafkaRechargesResponse ¶
type DescribeKafkaRechargesResponse struct { *tchttp.BaseResponse Response *DescribeKafkaRechargesResponseParams `json:"Response"` }
func NewDescribeKafkaRechargesResponse ¶
func NewDescribeKafkaRechargesResponse() (response *DescribeKafkaRechargesResponse)
func (*DescribeKafkaRechargesResponse) FromJsonString ¶
func (r *DescribeKafkaRechargesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeKafkaRechargesResponse) ToJsonString ¶
func (r *DescribeKafkaRechargesResponse) ToJsonString() string
type DescribeKafkaRechargesResponseParams ¶
type DescribeKafkaRechargesResponseParams struct { // KafkaRechargeInfo list Infos []*KafkaRechargeInfo `json:"Infos,omitnil,omitempty" name:"Infos"` // Total Kafka data records imported TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeLogContextRequest ¶
type DescribeLogContextRequest struct { *tchttp.BaseRequest // Log topic ID to be queried TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"` // Log time in the format of YYYY-mm-dd HH:MM:SS.FFF BTime *string `json:"BTime,omitnil,omitempty" name:"BTime"` // Log package sequence number. PkgId in the Results structure of the returned information of SearchLog API. PkgId *string `json:"PkgId,omitnil,omitempty" name:"PkgId"` // Sequence number of a log within the log package. // The PkgLogId in the Results structure of the SearchLog API returned information. PkgLogId *int64 `json:"PkgLogId,omitnil,omitempty" name:"PkgLogId"` // The previous ${PrevLogs} logs. Default value: 10. PrevLogs *int64 `json:"PrevLogs,omitnil,omitempty" name:"PrevLogs"` // The next ${NextLogs} logs. Default value: 10. NextLogs *int64 `json:"NextLogs,omitnil,omitempty" name:"NextLogs"` }
func NewDescribeLogContextRequest ¶
func NewDescribeLogContextRequest() (request *DescribeLogContextRequest)
func (*DescribeLogContextRequest) FromJsonString ¶
func (r *DescribeLogContextRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeLogContextRequest) ToJsonString ¶
func (r *DescribeLogContextRequest) ToJsonString() string
type DescribeLogContextRequestParams ¶
type DescribeLogContextRequestParams struct { // Log topic ID to be queried TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"` // Log time in the format of YYYY-mm-dd HH:MM:SS.FFF BTime *string `json:"BTime,omitnil,omitempty" name:"BTime"` // Log package sequence number. PkgId in the Results structure of the returned information of SearchLog API. PkgId *string `json:"PkgId,omitnil,omitempty" name:"PkgId"` // Sequence number of a log within the log package. // The PkgLogId in the Results structure of the SearchLog API returned information. PkgLogId *int64 `json:"PkgLogId,omitnil,omitempty" name:"PkgLogId"` // The previous ${PrevLogs} logs. Default value: 10. PrevLogs *int64 `json:"PrevLogs,omitnil,omitempty" name:"PrevLogs"` // The next ${NextLogs} logs. Default value: 10. NextLogs *int64 `json:"NextLogs,omitnil,omitempty" name:"NextLogs"` }
Predefined struct for user
type DescribeLogContextResponse ¶
type DescribeLogContextResponse struct { *tchttp.BaseResponse Response *DescribeLogContextResponseParams `json:"Response"` }
func NewDescribeLogContextResponse ¶
func NewDescribeLogContextResponse() (response *DescribeLogContextResponse)
func (*DescribeLogContextResponse) FromJsonString ¶
func (r *DescribeLogContextResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeLogContextResponse) ToJsonString ¶
func (r *DescribeLogContextResponse) ToJsonString() string
type DescribeLogContextResponseParams ¶
type DescribeLogContextResponseParams struct { // Log context information set LogContextInfos []*LogContextInfo `json:"LogContextInfos,omitnil,omitempty" name:"LogContextInfos"` // Whether the previous logs have been fully returned (PrevOver is false indicates that some previous logs are yet to be returned). PrevOver *bool `json:"PrevOver,omitnil,omitempty" name:"PrevOver"` // Whether the subsequent logs have been fully returned (NextOver is false indicates that some subsequent logs are yet to be returned). NextOver *bool `json:"NextOver,omitnil,omitempty" name:"NextOver"` // 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 DescribeLogHistogramRequest ¶
type DescribeLogHistogramRequest struct { *tchttp.BaseRequest // Start time of the log to be queried, which is a Unix timestamp in milliseconds From *int64 `json:"From,omitnil,omitempty" name:"From"` // End time of the log to be queried, which is a Unix timestamp in milliseconds To *int64 `json:"To,omitnil,omitempty" name:"To"` // Query statement Query *string `json:"Query,omitnil,omitempty" name:"Query"` // ID of the log topic to be queried TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"` // Interval in milliseconds. Condition: (To-From) / Interval <= 200 Interval *int64 `json:"Interval,omitnil,omitempty" name:"Interval"` // Search syntax. Valid values: // `0` (default): Lucene; `1`: CQL // For more information, see <a href="https://intl.cloud.tencent.com/document/product/614/47044?from_cn_redirect=1#RetrievesConditionalRules" target="_blank">Search Syntax</a>. SyntaxRule *uint64 `json:"SyntaxRule,omitnil,omitempty" name:"SyntaxRule"` }
func NewDescribeLogHistogramRequest ¶
func NewDescribeLogHistogramRequest() (request *DescribeLogHistogramRequest)
func (*DescribeLogHistogramRequest) FromJsonString ¶
func (r *DescribeLogHistogramRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeLogHistogramRequest) ToJsonString ¶
func (r *DescribeLogHistogramRequest) ToJsonString() string
type DescribeLogHistogramRequestParams ¶
type DescribeLogHistogramRequestParams struct { // Start time of the log to be queried, which is a Unix timestamp in milliseconds From *int64 `json:"From,omitnil,omitempty" name:"From"` // End time of the log to be queried, which is a Unix timestamp in milliseconds To *int64 `json:"To,omitnil,omitempty" name:"To"` // Query statement Query *string `json:"Query,omitnil,omitempty" name:"Query"` // ID of the log topic to be queried TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"` // Interval in milliseconds. Condition: (To-From) / Interval <= 200 Interval *int64 `json:"Interval,omitnil,omitempty" name:"Interval"` // Search syntax. Valid values: // `0` (default): Lucene; `1`: CQL // For more information, see <a href="https://intl.cloud.tencent.com/document/product/614/47044?from_cn_redirect=1#RetrievesConditionalRules" target="_blank">Search Syntax</a>. SyntaxRule *uint64 `json:"SyntaxRule,omitnil,omitempty" name:"SyntaxRule"` }
Predefined struct for user
type DescribeLogHistogramResponse ¶
type DescribeLogHistogramResponse struct { *tchttp.BaseResponse Response *DescribeLogHistogramResponseParams `json:"Response"` }
func NewDescribeLogHistogramResponse ¶
func NewDescribeLogHistogramResponse() (response *DescribeLogHistogramResponse)
func (*DescribeLogHistogramResponse) FromJsonString ¶
func (r *DescribeLogHistogramResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeLogHistogramResponse) ToJsonString ¶
func (r *DescribeLogHistogramResponse) ToJsonString() string
type DescribeLogHistogramResponseParams ¶
type DescribeLogHistogramResponseParams struct { // Statistical period in milliseconds Interval *int64 `json:"Interval,omitnil,omitempty" name:"Interval"` // The number of logs that hit the keywords TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // Statistical result details within the period HistogramInfos []*HistogramInfo `json:"HistogramInfos,omitnil,omitempty" name:"HistogramInfos"` // 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 DescribeLogsetsRequest ¶
type DescribeLogsetsRequest struct { *tchttp.BaseRequest // logsetName // - Filter by **logset name** // - Type: String // - Required: No // // logsetId // - Filter by **logset ID** // - Type: String // - Required: No // // tagKey // - Filter by **tag key** // - Type: String // - Required: No // // tag:tagKey // - Filter by **tag key-value pair**. The `tagKey` should be replaced with a specified tag key. // - Type: String // - Required: No // // Each request can have up to 10 `Filters` and 5 `Filter.Values`. Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` // Page offset. Default value: 0 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Maximum number of entries per page. Default value: 20. Maximum value: 100 Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` }
func NewDescribeLogsetsRequest ¶
func NewDescribeLogsetsRequest() (request *DescribeLogsetsRequest)
func (*DescribeLogsetsRequest) FromJsonString ¶
func (r *DescribeLogsetsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeLogsetsRequest) ToJsonString ¶
func (r *DescribeLogsetsRequest) ToJsonString() string
type DescribeLogsetsRequestParams ¶
type DescribeLogsetsRequestParams struct { // logsetName // - Filter by **logset name** // - Type: String // - Required: No // // logsetId // - Filter by **logset ID** // - Type: String // - Required: No // // tagKey // - Filter by **tag key** // - Type: String // - Required: No // // tag:tagKey // - Filter by **tag key-value pair**. The `tagKey` should be replaced with a specified tag key. // - Type: String // - Required: No // // Each request can have up to 10 `Filters` and 5 `Filter.Values`. Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` // Page offset. Default value: 0 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Maximum number of entries per page. Default value: 20. Maximum value: 100 Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` }
Predefined struct for user
type DescribeLogsetsResponse ¶
type DescribeLogsetsResponse struct { *tchttp.BaseResponse Response *DescribeLogsetsResponseParams `json:"Response"` }
func NewDescribeLogsetsResponse ¶
func NewDescribeLogsetsResponse() (response *DescribeLogsetsResponse)
func (*DescribeLogsetsResponse) FromJsonString ¶
func (r *DescribeLogsetsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeLogsetsResponse) ToJsonString ¶
func (r *DescribeLogsetsResponse) ToJsonString() string
type DescribeLogsetsResponseParams ¶
type DescribeLogsetsResponseParams struct { // Total number of pages TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // Logset list Logsets []*LogsetInfo `json:"Logsets,omitnil,omitempty" name:"Logsets"` // 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 DescribeMachineGroupConfigsRequest ¶
type DescribeMachineGroupConfigsRequest struct { *tchttp.BaseRequest // Machine group ID GroupId *string `json:"GroupId,omitnil,omitempty" name:"GroupId"` }
func NewDescribeMachineGroupConfigsRequest ¶
func NewDescribeMachineGroupConfigsRequest() (request *DescribeMachineGroupConfigsRequest)
func (*DescribeMachineGroupConfigsRequest) FromJsonString ¶
func (r *DescribeMachineGroupConfigsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeMachineGroupConfigsRequest) ToJsonString ¶
func (r *DescribeMachineGroupConfigsRequest) ToJsonString() string
type DescribeMachineGroupConfigsRequestParams ¶
type DescribeMachineGroupConfigsRequestParams struct { // Machine group ID GroupId *string `json:"GroupId,omitnil,omitempty" name:"GroupId"` }
Predefined struct for user
type DescribeMachineGroupConfigsResponse ¶
type DescribeMachineGroupConfigsResponse struct { *tchttp.BaseResponse Response *DescribeMachineGroupConfigsResponseParams `json:"Response"` }
func NewDescribeMachineGroupConfigsResponse ¶
func NewDescribeMachineGroupConfigsResponse() (response *DescribeMachineGroupConfigsResponse)
func (*DescribeMachineGroupConfigsResponse) FromJsonString ¶
func (r *DescribeMachineGroupConfigsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeMachineGroupConfigsResponse) ToJsonString ¶
func (r *DescribeMachineGroupConfigsResponse) ToJsonString() string
type DescribeMachineGroupConfigsResponseParams ¶
type DescribeMachineGroupConfigsResponseParams struct { // Collection rule configuration list // Note: this field may return `null`, indicating that no valid values can be obtained. Configs []*ConfigInfo `json:"Configs,omitnil,omitempty" name:"Configs"` // 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 DescribeMachineGroupsRequest ¶
type DescribeMachineGroupsRequest struct { *tchttp.BaseRequest // machineGroupName // - Filter by [Machine Group Name]. // - Type: String // - Required: No // // machineGroupId // - Filter by [Machine group ID]. // - Type: String // - Required: No // // osType // - Filter by [Operating System Type]. // - Type: Int // - Required: No // // tagKey // - Filter by [Tag key]. // - Type: String // - Required: No // // tag:tagKey // - Filter by [Tag key-value pair]. Replace tagKey with the specific Tag key.- Type: String // - Required: No // // The maximum number of Filters per request is 10, and the maximum for Filter.Values is 5. Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` // Page offset. Default value: 0 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Maximum number of entries per page. Default value: 20. Maximum value: 100 Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` }
func NewDescribeMachineGroupsRequest ¶
func NewDescribeMachineGroupsRequest() (request *DescribeMachineGroupsRequest)
func (*DescribeMachineGroupsRequest) FromJsonString ¶
func (r *DescribeMachineGroupsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeMachineGroupsRequest) ToJsonString ¶
func (r *DescribeMachineGroupsRequest) ToJsonString() string
type DescribeMachineGroupsRequestParams ¶
type DescribeMachineGroupsRequestParams struct { // machineGroupName // - Filter by [Machine Group Name]. // - Type: String // - Required: No // // machineGroupId // - Filter by [Machine group ID]. // - Type: String // - Required: No // // osType // - Filter by [Operating System Type]. // - Type: Int // - Required: No // // tagKey // - Filter by [Tag key]. // - Type: String // - Required: No // // tag:tagKey // - Filter by [Tag key-value pair]. Replace tagKey with the specific Tag key.- Type: String // - Required: No // // The maximum number of Filters per request is 10, and the maximum for Filter.Values is 5. Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` // Page offset. Default value: 0 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Maximum number of entries per page. Default value: 20. Maximum value: 100 Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` }
Predefined struct for user
type DescribeMachineGroupsResponse ¶
type DescribeMachineGroupsResponse struct { *tchttp.BaseResponse Response *DescribeMachineGroupsResponseParams `json:"Response"` }
func NewDescribeMachineGroupsResponse ¶
func NewDescribeMachineGroupsResponse() (response *DescribeMachineGroupsResponse)
func (*DescribeMachineGroupsResponse) FromJsonString ¶
func (r *DescribeMachineGroupsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeMachineGroupsResponse) ToJsonString ¶
func (r *DescribeMachineGroupsResponse) ToJsonString() string
type DescribeMachineGroupsResponseParams ¶
type DescribeMachineGroupsResponseParams struct { // Machine group information list // Note: This field may return "null", indicating that no valid values can be obtained. MachineGroups []*MachineGroupInfo `json:"MachineGroups,omitnil,omitempty" name:"MachineGroups"` // Total number of pages TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeMachinesRequest ¶
type DescribeMachinesRequest struct { *tchttp.BaseRequest // ID of the machine group to be queried GroupId *string `json:"GroupId,omitnil,omitempty" name:"GroupId"` }
func NewDescribeMachinesRequest ¶
func NewDescribeMachinesRequest() (request *DescribeMachinesRequest)
func (*DescribeMachinesRequest) FromJsonString ¶
func (r *DescribeMachinesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeMachinesRequest) ToJsonString ¶
func (r *DescribeMachinesRequest) ToJsonString() string
type DescribeMachinesRequestParams ¶
type DescribeMachinesRequestParams struct { // ID of the machine group to be queried GroupId *string `json:"GroupId,omitnil,omitempty" name:"GroupId"` }
Predefined struct for user
type DescribeMachinesResponse ¶
type DescribeMachinesResponse struct { *tchttp.BaseResponse Response *DescribeMachinesResponseParams `json:"Response"` }
func NewDescribeMachinesResponse ¶
func NewDescribeMachinesResponse() (response *DescribeMachinesResponse)
func (*DescribeMachinesResponse) FromJsonString ¶
func (r *DescribeMachinesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeMachinesResponse) ToJsonString ¶
func (r *DescribeMachinesResponse) ToJsonString() string
type DescribeMachinesResponseParams ¶
type DescribeMachinesResponseParams struct { // Group of machine status information Machines []*MachineInfo `json:"Machines,omitnil,omitempty" name:"Machines"` // Whether the machine group has enabled automatic upgrade function. 0: Automatic upgrade not enabled; 1: Automatic upgrade enabled. AutoUpdate *int64 `json:"AutoUpdate,omitnil,omitempty" name:"AutoUpdate"` // Preset start time of automatic update of machine group UpdateStartTime *string `json:"UpdateStartTime,omitnil,omitempty" name:"UpdateStartTime"` // Preset end time of automatic update of machine group UpdateEndTime *string `json:"UpdateEndTime,omitnil,omitempty" name:"UpdateEndTime"` // Latest LogListener version available to the current user LatestAgentVersion *string `json:"LatestAgentVersion,omitnil,omitempty" name:"LatestAgentVersion"` // Whether to enable the service log ServiceLogging *bool `json:"ServiceLogging,omitnil,omitempty" name:"ServiceLogging"` // 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 DescribePartitionsRequest ¶
type DescribePartitionsRequest struct { *tchttp.BaseRequest // Log topic ID TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"` }
func NewDescribePartitionsRequest ¶
func NewDescribePartitionsRequest() (request *DescribePartitionsRequest)
func (*DescribePartitionsRequest) FromJsonString ¶
func (r *DescribePartitionsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribePartitionsRequest) ToJsonString ¶
func (r *DescribePartitionsRequest) ToJsonString() string
type DescribePartitionsRequestParams ¶
type DescribePartitionsRequestParams struct { // Log topic ID TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"` }
Predefined struct for user
type DescribePartitionsResponse ¶
type DescribePartitionsResponse struct { *tchttp.BaseResponse Response *DescribePartitionsResponseParams `json:"Response"` }
func NewDescribePartitionsResponse ¶
func NewDescribePartitionsResponse() (response *DescribePartitionsResponse)
func (*DescribePartitionsResponse) FromJsonString ¶
func (r *DescribePartitionsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribePartitionsResponse) ToJsonString ¶
func (r *DescribePartitionsResponse) ToJsonString() string
type DescribePartitionsResponseParams ¶
type DescribePartitionsResponseParams struct { // Partition list Partitions []*PartitionInfo `json:"Partitions,omitnil,omitempty" name:"Partitions"` // 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 DescribeScheduledSqlInfoRequest ¶
type DescribeScheduledSqlInfoRequest struct { *tchttp.BaseRequest // Page offset. Default value: 0 Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Maximum number of entries per page. Default value: 20. Maximum value: 100. Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` // Task name. Name *string `json:"Name,omitnil,omitempty" name:"Name"` // Task ID. TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"` // <li>srcTopicName: Filter by Source Log Topic Name, fuzzy match. Type: String. Required: No</li><li>dstTopicName: Filter by Destination Log Topic Name, fuzzy match. Type: String. Required: No</li><li>srcTopicId: Filter by Source Log Topic ID. Type: String. Required: No</li><li>dstTopicId: Filter by Destination Log Topic ID. Type: String. Required: No</li><li>bizType: Filter by Topic Type, 0: log topic; 1: metric topic. Type: String. Required: No</li><li>status: Filter by Task Status, 1: running; 2: stopped. Type: String. Required: No</li><li>taskName: Filter by Task Name, fuzzy match. Type: String. Required: No</li><li>taskId: Filter by Task ID, fuzzy match. Type: String. Required: No</li> Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` }
func NewDescribeScheduledSqlInfoRequest ¶
func NewDescribeScheduledSqlInfoRequest() (request *DescribeScheduledSqlInfoRequest)
func (*DescribeScheduledSqlInfoRequest) FromJsonString ¶
func (r *DescribeScheduledSqlInfoRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeScheduledSqlInfoRequest) ToJsonString ¶
func (r *DescribeScheduledSqlInfoRequest) ToJsonString() string
type DescribeScheduledSqlInfoRequestParams ¶
type DescribeScheduledSqlInfoRequestParams struct { // Page offset. Default value: 0 Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Maximum number of entries per page. Default value: 20. Maximum value: 100. Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` // Task name. Name *string `json:"Name,omitnil,omitempty" name:"Name"` // Task ID. TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"` // <li>srcTopicName: Filter by Source Log Topic Name, fuzzy match. Type: String. Required: No</li><li>dstTopicName: Filter by Destination Log Topic Name, fuzzy match. Type: String. Required: No</li><li>srcTopicId: Filter by Source Log Topic ID. Type: String. Required: No</li><li>dstTopicId: Filter by Destination Log Topic ID. Type: String. Required: No</li><li>bizType: Filter by Topic Type, 0: log topic; 1: metric topic. Type: String. Required: No</li><li>status: Filter by Task Status, 1: running; 2: stopped. Type: String. Required: No</li><li>taskName: Filter by Task Name, fuzzy match. Type: String. Required: No</li><li>taskId: Filter by Task ID, fuzzy match. Type: String. Required: No</li> Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` }
Predefined struct for user
type DescribeScheduledSqlInfoResponse ¶
type DescribeScheduledSqlInfoResponse struct { *tchttp.BaseResponse Response *DescribeScheduledSqlInfoResponseParams `json:"Response"` }
func NewDescribeScheduledSqlInfoResponse ¶
func NewDescribeScheduledSqlInfoResponse() (response *DescribeScheduledSqlInfoResponse)
func (*DescribeScheduledSqlInfoResponse) FromJsonString ¶
func (r *DescribeScheduledSqlInfoResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeScheduledSqlInfoResponse) ToJsonString ¶
func (r *DescribeScheduledSqlInfoResponse) ToJsonString() string
type DescribeScheduledSqlInfoResponseParams ¶
type DescribeScheduledSqlInfoResponseParams struct { // Scheduled SQL Task List Information ScheduledSqlTaskInfos []*ScheduledSqlTaskInfo `json:"ScheduledSqlTaskInfos,omitnil,omitempty" name:"ScheduledSqlTaskInfos"` // Total number of tasks TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeShipperTasksRequest ¶
type DescribeShipperTasksRequest struct { *tchttp.BaseRequest // Shipping rule ID ShipperId *string `json:"ShipperId,omitnil,omitempty" name:"ShipperId"` // Query start timestamp in milliseconds, which can be within the last three days StartTime *int64 `json:"StartTime,omitnil,omitempty" name:"StartTime"` // Query end timestamp in milliseconds EndTime *int64 `json:"EndTime,omitnil,omitempty" name:"EndTime"` }
func NewDescribeShipperTasksRequest ¶
func NewDescribeShipperTasksRequest() (request *DescribeShipperTasksRequest)
func (*DescribeShipperTasksRequest) FromJsonString ¶
func (r *DescribeShipperTasksRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeShipperTasksRequest) ToJsonString ¶
func (r *DescribeShipperTasksRequest) ToJsonString() string
type DescribeShipperTasksRequestParams ¶
type DescribeShipperTasksRequestParams struct { // Shipping rule ID ShipperId *string `json:"ShipperId,omitnil,omitempty" name:"ShipperId"` // Query start timestamp in milliseconds, which can be within the last three days StartTime *int64 `json:"StartTime,omitnil,omitempty" name:"StartTime"` // Query end timestamp in milliseconds EndTime *int64 `json:"EndTime,omitnil,omitempty" name:"EndTime"` }
Predefined struct for user
type DescribeShipperTasksResponse ¶
type DescribeShipperTasksResponse struct { *tchttp.BaseResponse Response *DescribeShipperTasksResponseParams `json:"Response"` }
func NewDescribeShipperTasksResponse ¶
func NewDescribeShipperTasksResponse() (response *DescribeShipperTasksResponse)
func (*DescribeShipperTasksResponse) FromJsonString ¶
func (r *DescribeShipperTasksResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeShipperTasksResponse) ToJsonString ¶
func (r *DescribeShipperTasksResponse) ToJsonString() string
type DescribeShipperTasksResponseParams ¶
type DescribeShipperTasksResponseParams struct { // Shipping task list // Note: this field may return `null`, indicating that no valid values can be obtained. Tasks []*ShipperTaskInfo `json:"Tasks,omitnil,omitempty" name:"Tasks"` // 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 DescribeShippersRequest ¶
type DescribeShippersRequest struct { *tchttp.BaseRequest // - shipperName: Filter by **shipping rule name**. Type: String. Required: No. // - shipperId: Filter by **shipping rule ID**. Type: String. Required: No. // - topicId: Filter by **log topic**. Type: String. Required: No. // // Each request can have up to 10 `Filters` and 100 `Filter.Values`. Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` // Page offset. Default value: 0 Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Maximum number of entries per page. Default value: 20. Maximum value: 100 Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` }
func NewDescribeShippersRequest ¶
func NewDescribeShippersRequest() (request *DescribeShippersRequest)
func (*DescribeShippersRequest) FromJsonString ¶
func (r *DescribeShippersRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeShippersRequest) ToJsonString ¶
func (r *DescribeShippersRequest) ToJsonString() string
type DescribeShippersRequestParams ¶
type DescribeShippersRequestParams struct { // - shipperName: Filter by **shipping rule name**. Type: String. Required: No. // - shipperId: Filter by **shipping rule ID**. Type: String. Required: No. // - topicId: Filter by **log topic**. Type: String. Required: No. // // Each request can have up to 10 `Filters` and 100 `Filter.Values`. Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` // Page offset. Default value: 0 Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Maximum number of entries per page. Default value: 20. Maximum value: 100 Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` }
Predefined struct for user
type DescribeShippersResponse ¶
type DescribeShippersResponse struct { *tchttp.BaseResponse Response *DescribeShippersResponseParams `json:"Response"` }
func NewDescribeShippersResponse ¶
func NewDescribeShippersResponse() (response *DescribeShippersResponse)
func (*DescribeShippersResponse) FromJsonString ¶
func (r *DescribeShippersResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeShippersResponse) ToJsonString ¶
func (r *DescribeShippersResponse) ToJsonString() string
type DescribeShippersResponseParams ¶
type DescribeShippersResponseParams struct { // Shipping rule list // Note: this field may return `null`, indicating that no valid values can be obtained. Shippers []*ShipperInfo `json:"Shippers,omitnil,omitempty" name:"Shippers"` // Total number of results obtained in this query TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeTopicsRequest ¶
type DescribeTopicsRequest struct { *tchttp.BaseRequest // <li>topicName: Filter by **log topic name**. Fuzzy match is implemented by default. You can use the `PreciseSearch` parameter to set exact match. Type: String. Required. No. <br><li>logsetName: Filter by **logset name**. Fuzzy match is implemented by default. You can use the `PreciseSearch` parameter to set exact match. Type: String. Required: No. <br><li>topicId: Filter by **log topic ID**. Type: String. Required: No. <br><li>logsetId: Filter by **logset ID**. You can call `DescribeLogsets` to query the list of created logsets or log in to the console to view them. You can also call `CreateLogset` to create a logset. Type: String. Required: No. <br><li>tagKey: Filter by **tag key**. Type: String. Required: No. <br><li>tag:tagKey: Filter by **tag key-value pair**. The `tagKey` should be replaced with a specified tag key, such as `tag:exampleKey`. Type: String. Required: No. <br><li>storageType: Filter by **log topic storage type**. Valid values: `hot` (standard storage) and `cold` (IA storage). Type: String. Required: No. Each request can have up to 10 `Filters` and 100 `Filter.Values`. Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` // Page offset. Default value: 0. Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Maximum number of entries per page. Default value: 20. Maximum value: 100. Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // Match mode for `Filters` fields. // - 0: Fuzzy match for `topicName` and `logsetName`. This is the default value. // - 1: Exact match for `topicName`. // - 2: Exact match for `logsetName`. // - 3: Exact match for `topicName` and `logsetName`. PreciseSearch *uint64 `json:"PreciseSearch,omitnil,omitempty" name:"PreciseSearch"` // Topic type // - 0 (default): Log topic. // - 1: Metric topic. BizType *uint64 `json:"BizType,omitnil,omitempty" name:"BizType"` }
func NewDescribeTopicsRequest ¶
func NewDescribeTopicsRequest() (request *DescribeTopicsRequest)
func (*DescribeTopicsRequest) FromJsonString ¶
func (r *DescribeTopicsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeTopicsRequest) ToJsonString ¶
func (r *DescribeTopicsRequest) ToJsonString() string
type DescribeTopicsRequestParams ¶
type DescribeTopicsRequestParams struct { // <li>topicName: Filter by **log topic name**. Fuzzy match is implemented by default. You can use the `PreciseSearch` parameter to set exact match. Type: String. Required. No. <br><li>logsetName: Filter by **logset name**. Fuzzy match is implemented by default. You can use the `PreciseSearch` parameter to set exact match. Type: String. Required: No. <br><li>topicId: Filter by **log topic ID**. Type: String. Required: No. <br><li>logsetId: Filter by **logset ID**. You can call `DescribeLogsets` to query the list of created logsets or log in to the console to view them. You can also call `CreateLogset` to create a logset. Type: String. Required: No. <br><li>tagKey: Filter by **tag key**. Type: String. Required: No. <br><li>tag:tagKey: Filter by **tag key-value pair**. The `tagKey` should be replaced with a specified tag key, such as `tag:exampleKey`. Type: String. Required: No. <br><li>storageType: Filter by **log topic storage type**. Valid values: `hot` (standard storage) and `cold` (IA storage). Type: String. Required: No. Each request can have up to 10 `Filters` and 100 `Filter.Values`. Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` // Page offset. Default value: 0. Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Maximum number of entries per page. Default value: 20. Maximum value: 100. Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // Match mode for `Filters` fields. // - 0: Fuzzy match for `topicName` and `logsetName`. This is the default value. // - 1: Exact match for `topicName`. // - 2: Exact match for `logsetName`. // - 3: Exact match for `topicName` and `logsetName`. PreciseSearch *uint64 `json:"PreciseSearch,omitnil,omitempty" name:"PreciseSearch"` // Topic type // - 0 (default): Log topic. // - 1: Metric topic. BizType *uint64 `json:"BizType,omitnil,omitempty" name:"BizType"` }
Predefined struct for user
type DescribeTopicsResponse ¶
type DescribeTopicsResponse struct { *tchttp.BaseResponse Response *DescribeTopicsResponseParams `json:"Response"` }
func NewDescribeTopicsResponse ¶
func NewDescribeTopicsResponse() (response *DescribeTopicsResponse)
func (*DescribeTopicsResponse) FromJsonString ¶
func (r *DescribeTopicsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeTopicsResponse) ToJsonString ¶
func (r *DescribeTopicsResponse) ToJsonString() string
type DescribeTopicsResponseParams ¶
type DescribeTopicsResponseParams struct { // Log topic list Topics []*TopicInfo `json:"Topics,omitnil,omitempty" name:"Topics"` // Total number TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DynamicIndex ¶
type DynamicIndex struct { // Key-Value Index Auto-Config Switch // Note: This field may return null, indicating that no valid values can be obtained. Status *bool `json:"Status,omitnil,omitempty" name:"Status"` }
type EventLog ¶
type EventLog struct { // Event channel, supports Application, Security, Setup, System, ALL EventChannel *string `json:"EventChannel,omitnil,omitempty" name:"EventChannel"` // Time type, 1: User-defined, 2: Current time TimeType *uint64 `json:"TimeType,omitnil,omitempty" name:"TimeType"` // Time, when choosing custom time type, a specific time is required Timestamp *uint64 `json:"Timestamp,omitnil,omitempty" name:"Timestamp"` // Event ID filter list EventIDs []*string `json:"EventIDs,omitnil,omitempty" name:"EventIDs"` }
type ExcludePathInfo ¶
type ExportInfo ¶
type ExportInfo struct { // Log topic ID TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"` // Log export task ID ExportId *string `json:"ExportId,omitnil,omitempty" name:"ExportId"` // Log export query statement Query *string `json:"Query,omitnil,omitempty" name:"Query"` // Log export filename FileName *string `json:"FileName,omitnil,omitempty" name:"FileName"` // Log file size FileSize *uint64 `json:"FileSize,omitnil,omitempty" name:"FileSize"` // Log export time sorting Order *string `json:"Order,omitnil,omitempty" name:"Order"` // Log export format Format *string `json:"Format,omitnil,omitempty" name:"Format"` // Number of logs to be exported Count *uint64 `json:"Count,omitnil,omitempty" name:"Count"` // Log download status. Valid values: `Processing`, `Completed`, `Failed`, `Expired` (three-day validity period), and `Queuing`. Status *string `json:"Status,omitnil,omitempty" name:"Status"` // Log export start time From *int64 `json:"From,omitnil,omitempty" name:"From"` // Log export end time To *int64 `json:"To,omitnil,omitempty" name:"To"` // Log export path, valid for one hour. Please download using this path as soon as possible. CosPath *string `json:"CosPath,omitnil,omitempty" name:"CosPath"` // Log export creation time CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"` // Syntax rules. The default value is 0.0: Lucene syntax, 1: CQL syntax. SyntaxRule *uint64 `json:"SyntaxRule,omitnil,omitempty" name:"SyntaxRule"` }
type ExtractRuleInfo ¶
type ExtractRuleInfo struct { // Key name for the time field. TikeKey and TimeFormat must appear in pairsNote: This field may return null, indicating that no valid values can be obtained. TimeKey *string `json:"TimeKey,omitnil,omitempty" name:"TimeKey"` // Time field format. For more information, please see the output parameters of the time format description of the `strftime` function in C language // Note: this field may return `null`, indicating that no valid values can be obtained. TimeFormat *string `json:"TimeFormat,omitnil,omitempty" name:"TimeFormat"` // Delimiter for log type. Valid only when LogType is delimiter_logNote: This field may return null, indicating that no valid values can be obtained. Delimiter *string `json:"Delimiter,omitnil,omitempty" name:"Delimiter"` // Full log matching rule. Valid only if LogType is fullregex_logNote: This field may return null, indicating that no valid values can be obtained. LogRegex *string `json:"LogRegex,omitnil,omitempty" name:"LogRegex"` // Line beginning matching rule, valid only if LogType is multiline_log or fullregex_logNote: This field may return null, indicating that no valid values can be obtained. BeginRegex *string `json:"BeginRegex,omitnil,omitempty" name:"BeginRegex"` // Key name of each extracted field. An empty key indicates discarding the field. Valid only if LogType is delimiter_log. json_log logs use the key of JSON itself. Limited to 100.Note: This field may return null, indicating that no valid values can be obtained. Keys []*string `json:"Keys,omitnil,omitempty" name:"Keys"` // Log filter rule list (previous version), keys to be filtered in the log and their corresponding regex.Note: For LogListener version 2.9.3 and later, it is recommended to use the AdvanceFilterRules configuration for log filtering.Note: This field may return null, indicating that no valid values can be obtained. FilterKeyRegex []*KeyRegexInfo `json:"FilterKeyRegex,omitnil,omitempty" name:"FilterKeyRegex"` // Whether to upload the logs that failed to be parsed. Valid values: `true`: yes; `false`: no // Note: this field may return `null`, indicating that no valid values can be obtained. UnMatchUpLoadSwitch *bool `json:"UnMatchUpLoadSwitch,omitnil,omitempty" name:"UnMatchUpLoadSwitch"` // Unmatched log key // Note: this field may return `null`, indicating that no valid values can be obtained. UnMatchLogKey *string `json:"UnMatchLogKey,omitnil,omitempty" name:"UnMatchLogKey"` // Backtracking data volume under incremental collection pattern, default -1 indicates full collection; other non-negative numbers indicate incremental collection (collect logs backward from the latest position by ${Backtracking} bytes) with a maximum support of 1073741824 (1G).Note: This field may return null, indicating that no valid values can be obtained. Backtracking *int64 `json:"Backtracking,omitnil,omitempty" name:"Backtracking"` // Whether to be encoded in GBK format. Valid values: `0` (No) and `1` (Yes). // Note: This field may return null, indicating that no valid values can be obtained. IsGBK *int64 `json:"IsGBK,omitnil,omitempty" name:"IsGBK"` // Whether to be formatted as JSON (standard). Valid values: `0` (No) and `1` (Yes). // Note: This field may return null, indicating that no valid values can be obtained. JsonStandard *int64 `json:"JsonStandard,omitnil,omitempty" name:"JsonStandard"` // Syslog protocol. Valid values: `tcp`, `udp`. // This field can be used when you create or modify collection rule configurations. // Note: This field may return null, indicating that no valid values can be obtained. Protocol *string `json:"Protocol,omitnil,omitempty" name:"Protocol"` // Listening address and port specified by the syslog collection. Format: [ip]:[port]. Example: 127.0.0.1:9000. // This field can be used when you create or modify collection rule configurations. // Note: This field may return null, indicating that no valid values can be obtained. Address *string `json:"Address,omitnil,omitempty" name:"Address"` // `rfc3164`: Resolve logs by using the RFC 3164 protocol during the syslog collection. // `rfc5424`: Resolve logs by using the RFC 5424 protocol during the syslog collection. // `auto`: Automatically match either the RFC 3164 or RFC 5424 protocol. // This field can be used when you create or modify collection rule configurations. // Note: This field may return null, indicating that no valid values can be obtained. ParseProtocol *string `json:"ParseProtocol,omitnil,omitempty" name:"ParseProtocol"` // Metadata type. Valid values: // 0: Do not use metadata. // 1: Use machine group metadata. // 2: Use user-defined metadata. // 3: Use the collection path to extract metadata. MetadataType *int64 `json:"MetadataType,omitnil,omitempty" name:"MetadataType"` // Regular expression of the collection configuration path, which is required when `MetadataType` is set to `3` // Note: This field may return null, indicating that no valid values can be obtained. PathRegex *string `json:"PathRegex,omitnil,omitempty" name:"PathRegex"` // User-defined metadata, which is required when `MetadataType` is set to `2`. MetaTags []*MetaTagInfo `json:"MetaTags,omitnil,omitempty" name:"MetaTags"` // Windows event log collection EventLogRules []*EventLog `json:"EventLogRules,omitnil,omitempty" name:"EventLogRules"` }
type FilterRuleInfo ¶
type FullTextInfo ¶
type FullTextInfo struct { // Case sensitivity CaseSensitive *bool `json:"CaseSensitive,omitnil,omitempty" name:"CaseSensitive"` // Separator of the full-text index. Each character represents a separator. // Only symbols, \n\t\r, and escape character \ are supported. // Note: \n\t\r can be directly enclosed in double quotes as the input parameter without escaping. When debugging with API Explorer, use the JSON parameter input method to avoid repeated escaping of \n\t\r. Tokenizer *string `json:"Tokenizer,omitnil,omitempty" name:"Tokenizer"` // Whether Chinese characters are contained // Note: this field may return `null`, indicating that no valid values can be obtained. ContainZH *bool `json:"ContainZH,omitnil,omitempty" name:"ContainZH"` }
type GetAlarmLogRequest ¶
type GetAlarmLogRequest struct { *tchttp.BaseRequest // Start time of the execution detail to be queried, Unix timestamp, unit: ms. From *int64 `json:"From,omitnil,omitempty" name:"From"` // End time of the execution detail to be queried, Unix timestamp, unit: ms. To *int64 `json:"To,omitnil,omitempty" name:"To"` // Query filter criteria, for example: // - Query by alert policy ID: `alert_id:"alarm-0745ec00-e605-xxxx-b50b-54afe61fc971"` // - Query by monitoring object ID: `monitored_object:"823d8bfa-76a7-xxxx-8399-8cda74d4009b" ` // - Query by alarm policy ID and monitoring object ID: `alert_id:"alarm-0745ec00-e605-xxxx-b50b-54afe61fc971" AND monitored_object:"823d8bfa-76a7-xxxx-8399-8cda74d4009b"` // - Query by alarm policy ID and monitoring object ID, supports SQL statement: `(alert_id:"alarm-5ce45495-09e8-4d58-xxxx-768134bf330c") AND (monitored_object:"3c514e84-6f1f-46ec-xxxx-05de6163f7fe") AND NOT condition_evaluate_result: "Skip" AND condition_evaluate_result:[* TO *] | SELECT count(*) as top50StatisticsTotalCount, count_if(condition_evaluate_result='ProcessError') as top50StatisticsFailureCount, count_if(notification_send_result!='NotSend') as top50NoticeTotalCount, count_if(notification_send_result='SendPartFail' or notification_send_result='SendFail') as top50NoticeFailureCount, alert_id, alert_name, monitored_object, topic_type, happen_threshold, alert_threshold, notify_template group by alert_id, alert_name, monitored_object, topic_type, happen_threshold, alert_threshold, notify_template order by top50StatisticsTotalCount desc limit 1` Query *string `json:"Query,omitnil,omitempty" name:"Query"` // The maximum number of execution details returned in a single query is 1000. Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // Pass the Context value returned by the last API call to retrieve more subsequent logs. A total of up to 10,000 raw logs can be obtained, with an expiration time of 1 hour.Note:* When passing this parameter, do not modify any other parameters except for this one* This is only valid when the retrieval analysis statement (Query) does not contain SQL. For obtaining subsequent SQL results, refer to <a href="https://intl.cloud.tencent.com/document/product/614/58977?from_cn_redirect=1" target="_blank">SQL LIMIT Syntax</a> Context *string `json:"Context,omitnil,omitempty" name:"Context"` // Whether the original logs are returned in time order. Optional values are: asc (ascending) or desc (descending). The default is descNote:* This is only valid when the search and analysis statement (Query) does not contain SQL* For SQL result sorting, refer to <a href="https://intl.cloud.tencent.com/document/product/614/58978?from_cn_redirect=1" target="_blank">SQL ORDER BY Syntax</a> Sort *string `json:"Sort,omitnil,omitempty" name:"Sort"` // true: Indicates the use of the new retrieval result return method, with valid output parameters AnalysisRecords and Columns.false: Indicates the use of the old retrieval result return method, with valid output parameters AnalysisResults and ColNames.There is a slight difference in encoding format between the two return methods, and it is recommended to use true. UseNewAnalysis *bool `json:"UseNewAnalysis,omitnil,omitempty" name:"UseNewAnalysis"` }
func NewGetAlarmLogRequest ¶
func NewGetAlarmLogRequest() (request *GetAlarmLogRequest)
func (*GetAlarmLogRequest) FromJsonString ¶
func (r *GetAlarmLogRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*GetAlarmLogRequest) ToJsonString ¶
func (r *GetAlarmLogRequest) ToJsonString() string
type GetAlarmLogRequestParams ¶
type GetAlarmLogRequestParams struct { // Start time of the execution detail to be queried, Unix timestamp, unit: ms. From *int64 `json:"From,omitnil,omitempty" name:"From"` // End time of the execution detail to be queried, Unix timestamp, unit: ms. To *int64 `json:"To,omitnil,omitempty" name:"To"` // Query filter criteria, for example: // - Query by alert policy ID: `alert_id:"alarm-0745ec00-e605-xxxx-b50b-54afe61fc971"` // - Query by monitoring object ID: `monitored_object:"823d8bfa-76a7-xxxx-8399-8cda74d4009b" ` // - Query by alarm policy ID and monitoring object ID: `alert_id:"alarm-0745ec00-e605-xxxx-b50b-54afe61fc971" AND monitored_object:"823d8bfa-76a7-xxxx-8399-8cda74d4009b"` // - Query by alarm policy ID and monitoring object ID, supports SQL statement: `(alert_id:"alarm-5ce45495-09e8-4d58-xxxx-768134bf330c") AND (monitored_object:"3c514e84-6f1f-46ec-xxxx-05de6163f7fe") AND NOT condition_evaluate_result: "Skip" AND condition_evaluate_result:[* TO *] | SELECT count(*) as top50StatisticsTotalCount, count_if(condition_evaluate_result='ProcessError') as top50StatisticsFailureCount, count_if(notification_send_result!='NotSend') as top50NoticeTotalCount, count_if(notification_send_result='SendPartFail' or notification_send_result='SendFail') as top50NoticeFailureCount, alert_id, alert_name, monitored_object, topic_type, happen_threshold, alert_threshold, notify_template group by alert_id, alert_name, monitored_object, topic_type, happen_threshold, alert_threshold, notify_template order by top50StatisticsTotalCount desc limit 1` Query *string `json:"Query,omitnil,omitempty" name:"Query"` // The maximum number of execution details returned in a single query is 1000. Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // Pass the Context value returned by the last API call to retrieve more subsequent logs. A total of up to 10,000 raw logs can be obtained, with an expiration time of 1 hour.Note:* When passing this parameter, do not modify any other parameters except for this one* This is only valid when the retrieval analysis statement (Query) does not contain SQL. For obtaining subsequent SQL results, refer to <a href="https://intl.cloud.tencent.com/document/product/614/58977?from_cn_redirect=1" target="_blank">SQL LIMIT Syntax</a> Context *string `json:"Context,omitnil,omitempty" name:"Context"` // Whether the original logs are returned in time order. Optional values are: asc (ascending) or desc (descending). The default is descNote:* This is only valid when the search and analysis statement (Query) does not contain SQL* For SQL result sorting, refer to <a href="https://intl.cloud.tencent.com/document/product/614/58978?from_cn_redirect=1" target="_blank">SQL ORDER BY Syntax</a> Sort *string `json:"Sort,omitnil,omitempty" name:"Sort"` // true: Indicates the use of the new retrieval result return method, with valid output parameters AnalysisRecords and Columns.false: Indicates the use of the old retrieval result return method, with valid output parameters AnalysisResults and ColNames.There is a slight difference in encoding format between the two return methods, and it is recommended to use true. UseNewAnalysis *bool `json:"UseNewAnalysis,omitnil,omitempty" name:"UseNewAnalysis"` }
Predefined struct for user
type GetAlarmLogResponse ¶
type GetAlarmLogResponse struct { *tchttp.BaseResponse Response *GetAlarmLogResponseParams `json:"Response"` }
func NewGetAlarmLogResponse ¶
func NewGetAlarmLogResponse() (response *GetAlarmLogResponse)
func (*GetAlarmLogResponse) FromJsonString ¶
func (r *GetAlarmLogResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*GetAlarmLogResponse) ToJsonString ¶
func (r *GetAlarmLogResponse) ToJsonString() string
type GetAlarmLogResponseParams ¶
type GetAlarmLogResponseParams struct { // Context for loading subsequent details Context *string `json:"Context,omitnil,omitempty" name:"Context"` // Whether alarm execution details within a specified time range are fully returned ListOver *bool `json:"ListOver,omitnil,omitempty" name:"ListOver"` // Whether return value is SQL analysis result or not Analysis *bool `json:"Analysis,omitnil,omitempty" name:"Analysis"` // Column names of analysis results. If the Query statement contains an SQL query, then column names of the queried fields will be returned;Otherwise, it will be empty. // Note: This field may return null, indicating that no valid values can be obtained. ColNames []*string `json:"ColNames,omitnil,omitempty" name:"ColNames"` // Execution details query results. // When there is no SQL statement in the Query field, it returns query results. // When there is an SQL statement in the Query field, it may return null. // Note: This field may return null, indicating that no valid values can be obtained. Results []*LogInfo `json:"Results,omitnil,omitempty" name:"Results"` // Execution details statistical analysis results. When there is an SQL statement in the Query field, it returns SQL statistical results; otherwise, it may return null. // // Note: This field may return null, indicating that no valid values can be obtained. AnalysisResults []*LogItems `json:"AnalysisResults,omitnil,omitempty" name:"AnalysisResults"` // Execution details statistical analysis results; only valid if UseNewAnalysis is true.Note: This field may return null, indicating that no valid values can be obtained. AnalysisRecords []*string `json:"AnalysisRecords,omitnil,omitempty" name:"AnalysisRecords"` // Column names of analysis results, valid only if UseNewAnalysis is trueNote: This field may return null, indicating that no valid values can be obtained. Columns []*Column `json:"Columns,omitnil,omitempty" name:"Columns"` // 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 HighLightItem ¶
type HistogramInfo ¶
type JsonInfo ¶
type JsonInfo struct { // Enablement flag EnableTag *bool `json:"EnableTag,omitnil,omitempty" name:"EnableTag"` // List of metadata. Supported metadata types: __SOURCE__, __FILENAME__, __TIMESTAMP__, __HOSTNAME__. // Note: This field may return null, indicating that no valid values can be obtained. MetaFields []*string `json:"MetaFields,omitnil,omitempty" name:"MetaFields"` // JSON format for shipping. `0`: String format; `1`: Structured format. // Note: This field may return null, indicating that no valid values can be obtained. JsonType *int64 `json:"JsonType,omitnil,omitempty" name:"JsonType"` }
type KafkaConsumerContent ¶
type KafkaConsumerContent struct { // Consumption data format. Valid values: 0 (original content) and 1 (JSON). Format *int64 `json:"Format,omitnil,omitempty" name:"Format"` // Whether to ship tag information // This parameter does not need to be set when `Format` is set to `0`. EnableTag *bool `json:"EnableTag,omitnil,omitempty" name:"EnableTag"` // Metadata information list. Valid values: \_\_SOURCE\_\_, \_\_FILENAME\_\_, // \_\_TIMESTAMP\_\_, \_\_HOSTNAME\_\_, and \_\_PKGID\_\_. // This parameter does not need to be set when `Format` is set to `0`. MetaFields []*string `json:"MetaFields,omitnil,omitempty" name:"MetaFields"` // Tag data processing mode: 1: Do not tile (default); 2: Tile. // // Untiled example: // TAG information: `{"__TAG__":{"fieldA":200,"fieldB":"text"}}` // Untiled: `{"__TAG__":{"fieldA":200,"fieldB":"text"}}` // // Tiled example: // TAG information: `{"__TAG__":{"fieldA":200,"fieldB":"text"}}` // Tiled: `{"__TAG__.fieldA":200,"__TAG__.fieldB":"text"}` // Note: This field may return null, indicating that no valid values can be obtained. TagTransaction *int64 `json:"TagTransaction,omitnil,omitempty" name:"TagTransaction"` // JSON data format: // 1: Not escaped (default format) // 2: Escaped // // Deliver in JSON format.JsonType is 1: Consistent with the original log, not escaped. Example: // Original log: `{"a":"aa", "b":{"b1":"b1b1", "c1":"c1c1"}}` // Deliver to CKafka: `{"a":"aa", "b":{"b1":"b1b1", "c1":"c1c1"}}`JsonType is 2: escaped. Example:Original log: `{"a":"aa", "b":{"b1":"b1b1", "c1":"c1c1"}}` // Deliver to CKafka: `{"a":"aa","b":"{\"b1\":\"b1b1\", \"c1\":\"c1c1\"}"}` JsonType *int64 `json:"JsonType,omitnil,omitempty" name:"JsonType"` }
type KafkaProtocolInfo ¶
type KafkaProtocolInfo struct { // Protocol type, including plaintext, sasl_plaintext, or sasl_ssl. sasl_ssl is recommended for encrypted connections and user authentication.Required input parameters // Note: This field may return null, indicating that no valid values can be obtained. Protocol *string `json:"Protocol,omitnil,omitempty" name:"Protocol"` // Encryption type, supports PLAIN, SCRAM-SHA-256, or SCRAM-SHA-512.Required when the Protocol is sasl_plaintext or sasl_ssl.Note: This field may return null, indicating that no valid values can be obtained. Mechanism *string `json:"Mechanism,omitnil,omitempty" name:"Mechanism"` // UsernameRequired when the Protocol is sasl_plaintext or sasl_ssl.Note: This field may return null, indicating that no valid values can be obtained. UserName *string `json:"UserName,omitnil,omitempty" name:"UserName"` // User PasswordRequired when the Protocol is sasl_plaintext or sasl_ssl.Note: This field may return null, indicating that no valid values can be obtained. Password *string `json:"Password,omitnil,omitempty" name:"Password"` }
type KafkaRechargeInfo ¶
type KafkaRechargeInfo struct { // ID of the Kafka data subscription configuration.Note: This field may return null, indicating that no valid values can be obtained. Id *string `json:"Id,omitnil,omitempty" name:"Id"` // Log topic ID // Note: This field may return null, indicating that no valid values can be obtained. TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"` // Kafka data import task name // Note: This field may return null, indicating that no valid values can be obtained. Name *string `json:"Name,omitnil,omitempty" name:"Name"` // Kafka type. Valid values: 0 (Tencent Cloud CKafka) and 1 (customer's Kafka). // Note: This field may return null, indicating that no valid values can be obtained. KafkaType *uint64 `json:"KafkaType,omitnil,omitempty" name:"KafkaType"` // CKafka instance ID, which is required when `KafkaType` is set to `0` // Note: This field may return null, indicating that no valid values can be obtained. KafkaInstance *string `json:"KafkaInstance,omitnil,omitempty" name:"KafkaInstance"` // Service address // Note: This field may return null, indicating that no valid values can be obtained. ServerAddr *string `json:"ServerAddr,omitnil,omitempty" name:"ServerAddr"` // Whether the service address uses an encrypted connection // Note: This field may return null, indicating that no valid values can be obtained. IsEncryptionAddr *bool `json:"IsEncryptionAddr,omitnil,omitempty" name:"IsEncryptionAddr"` // Encryption access protocol, which is required when `IsEncryptionAddr` is set to `true` Protocol *KafkaProtocolInfo `json:"Protocol,omitnil,omitempty" name:"Protocol"` // List of Kafka topics to import data from. Separate multiple topics with commas (,). // Note: This field may return null, indicating that no valid values can be obtained. UserKafkaTopics *string `json:"UserKafkaTopics,omitnil,omitempty" name:"UserKafkaTopics"` // Kafka consumer group name // Note: This field may return null, indicating that no valid values can be obtained. ConsumerGroupName *string `json:"ConsumerGroupName,omitnil,omitempty" name:"ConsumerGroupName"` // Status, 1: running; 2: paused.Note: This field may return null, indicating that no valid values can be obtained. Status *int64 `json:"Status,omitnil,omitempty" name:"Status"` // Import data position, -2: earliest (default), -1: latestNote: This field may return null, indicating that no valid values can be obtained. Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Creation time // Note: This field may return null, indicating that no valid values can be obtained. CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"` // Update time // Note: This field may return null, indicating that no valid values can be obtained. UpdateTime *string `json:"UpdateTime,omitnil,omitempty" name:"UpdateTime"` // Log import rule // Note: This field may return null, indicating that no valid values can be obtained. LogRechargeRule *LogRechargeRuleInfo `json:"LogRechargeRule,omitnil,omitempty" name:"LogRechargeRule"` }
type KeyRegexInfo ¶
type KeyValueInfo ¶
type KeyValueInfo struct { // Name of the field for which you want to configure a key-value or metadata field index. The name can contain letters, digits, underscores, and symbols -./@ and cannot start with an underscore. // // Note: // For a metadata field, set its `Key` to be consistent with the one for log uploading, without prefixing it with `__TAG__.`. `__TAG__.` will be prefixed automatically for display in the console. // 2. The total number of keys in key-value indexes (`KeyValue`) and metadata field indexes (`Tag`) cannot exceed 300. // 3. The number of levels in `Key` cannot exceed 10. Example: a.b.c.d.e.f.g.h.j.k // 4. JSON parent and child fields (such as “a” and “a.b”) cannot be contained at the same time. Key *string `json:"Key,omitnil,omitempty" name:"Key"` // Field index description information Value *ValueInfo `json:"Value,omitnil,omitempty" name:"Value"` }
type LogContextInfo ¶
type LogContextInfo struct { // Log source device Source *string `json:"Source,omitnil,omitempty" name:"Source"` // Collection path Filename *string `json:"Filename,omitnil,omitempty" name:"Filename"` // Log content Content *string `json:"Content,omitnil,omitempty" name:"Content"` // Log package number PkgId *string `json:"PkgId,omitnil,omitempty" name:"PkgId"` // Log number in log package PkgLogId *int64 `json:"PkgLogId,omitnil,omitempty" name:"PkgLogId"` // Log timestamp BTime *int64 `json:"BTime,omitnil,omitempty" name:"BTime"` // Source host name of logs // Note: This field may return `null`, indicating that no valid value was found. HostName *string `json:"HostName,omitnil,omitempty" name:"HostName"` // Raw log (this parameter has a value only when an exception occurred while creating indexes for logs). // Note: This field may return null, indicating that no valid values can be obtained. RawLog *string `json:"RawLog,omitnil,omitempty" name:"RawLog"` // The cause of index creation exception (this parameter has a value only when an exception occurred while creating indexes for logs). // Note: This field may return null, indicating that no valid values can be obtained. IndexStatus *string `json:"IndexStatus,omitnil,omitempty" name:"IndexStatus"` // Highlighted description of log contentNote: This field may return null, indicating that no valid values can be obtained. HighLights []*HighLightItem `json:"HighLights,omitnil,omitempty" name:"HighLights"` }
type LogInfo ¶
type LogInfo struct { // Log time in milliseconds Time *int64 `json:"Time,omitnil,omitempty" name:"Time"` // Log topic ID TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"` // Log topic name TopicName *string `json:"TopicName,omitnil,omitempty" name:"TopicName"` // Log source IP Source *string `json:"Source,omitnil,omitempty" name:"Source"` // Log filename FileName *string `json:"FileName,omitnil,omitempty" name:"FileName"` // ID of the request package for log reporting PkgId *string `json:"PkgId,omitnil,omitempty" name:"PkgId"` // Log ID in request package PkgLogId *string `json:"PkgLogId,omitnil,omitempty" name:"PkgLogId"` // Serialized JSON string of log content // Note: this field may return `null`, indicating that no valid values can be obtained. LogJson *string `json:"LogJson,omitnil,omitempty" name:"LogJson"` // Source host name of logs // Note: This field may return `null`, indicating that no valid value was found. HostName *string `json:"HostName,omitnil,omitempty" name:"HostName"` // Raw log (this parameter has a value only when an exception occurred while creating indexes for logs). // Note: This field may return null, indicating that no valid values can be obtained. RawLog *string `json:"RawLog,omitnil,omitempty" name:"RawLog"` // The cause of index creation exception (this parameter has a value only when an exception occurred while creating indexes for logs). // Note: This field may return null, indicating that no valid values can be obtained. IndexStatus *string `json:"IndexStatus,omitnil,omitempty" name:"IndexStatus"` }
type LogItems ¶
type LogItems struct { // Key-Value pair returned in analysis result Data []*LogItem `json:"Data,omitnil,omitempty" name:"Data"` }
type LogRechargeRuleInfo ¶
type LogRechargeRuleInfo struct { // Import type. Valid values: `json_log` (JSON logs), `minimalist_log` (single-line full text), and fullregex_log (single-line full regex) RechargeType *string `json:"RechargeType,omitnil,omitempty" name:"RechargeType"` // Encoding format. Valid values: 0 (default, UTF-8) and 1 GBK). EncodingFormat *uint64 `json:"EncodingFormat,omitnil,omitempty" name:"EncodingFormat"` // Whether to use the default time. Valid values: `true` (default) and `false`. DefaultTimeSwitch *bool `json:"DefaultTimeSwitch,omitnil,omitempty" name:"DefaultTimeSwitch"` // Full log matching rule, which is valid only if `RechargeType` is `fullregex_log`. // Note: This field may return null, indicating that no valid values can be obtained. LogRegex *string `json:"LogRegex,omitnil,omitempty" name:"LogRegex"` // Whether to upload the logs that failed to be parsed. Valid values: `true` and `false`. UnMatchLogSwitch *bool `json:"UnMatchLogSwitch,omitnil,omitempty" name:"UnMatchLogSwitch"` // Key of the log that failed to be parsed // Note: This field may return null, indicating that no valid values can be obtained. UnMatchLogKey *string `json:"UnMatchLogKey,omitnil,omitempty" name:"UnMatchLogKey"` // Time source of the log that failed to be parsed. Valid values: 0 (current system time) and 1 (Kafka message timestamp). // Note: This field may return null, indicating that no valid values can be obtained. UnMatchLogTimeSrc *uint64 `json:"UnMatchLogTimeSrc,omitnil,omitempty" name:"UnMatchLogTimeSrc"` // Default time source. Valid values: 0 (current system time) and 1 (Kafka message timestamp). // Note: This field may return null, indicating that no valid values can be obtained. DefaultTimeSrc *uint64 `json:"DefaultTimeSrc,omitnil,omitempty" name:"DefaultTimeSrc"` // Time field // Note: This field may return null, indicating that no valid values can be obtained. TimeKey *string `json:"TimeKey,omitnil,omitempty" name:"TimeKey"` // Time regular expression // Note: This field may return null, indicating that no valid values can be obtained. TimeRegex *string `json:"TimeRegex,omitnil,omitempty" name:"TimeRegex"` // Time field format // Note: This field may return null, indicating that no valid values can be obtained. TimeFormat *string `json:"TimeFormat,omitnil,omitempty" name:"TimeFormat"` // Time zone // Note: This field may return null, indicating that no valid values can be obtained. TimeZone *string `json:"TimeZone,omitnil,omitempty" name:"TimeZone"` // Metadata information. Kafka supports import of kafka_topic, kafka_partition, kafka_offset, and kafka_timestamp. // Note: This field may return null, indicating that no valid values can be obtained. Metadata []*string `json:"Metadata,omitnil,omitempty" name:"Metadata"` // List of log keys, which is required when `RechargeType` is set to `full_regex_log` // Note: This field may return null, indicating that no valid values can be obtained. Keys []*string `json:"Keys,omitnil,omitempty" name:"Keys"` }
type LogsetInfo ¶
type LogsetInfo struct { // Logset ID LogsetId *string `json:"LogsetId,omitnil,omitempty" name:"LogsetId"` // Logset name LogsetName *string `json:"LogsetName,omitnil,omitempty" name:"LogsetName"` // Creation time CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"` // Cloud product identifier. If the logset is created by another cloud product, this field returns the name of the cloud product, such as `CDN` or `TKE`. // Note: This field may return null, indicating that no valid values can be obtained. AssumerName *string `json:"AssumerName,omitnil,omitempty" name:"AssumerName"` // Tag bound to logset // Note: this field may return `null`, indicating that no valid values can be obtained. Tags []*Tag `json:"Tags,omitnil,omitempty" name:"Tags"` // Number of log topics in logset TopicCount *int64 `json:"TopicCount,omitnil,omitempty" name:"TopicCount"` // If `AssumerName` is not empty, it indicates the service provider who creates the logset. RoleName *string `json:"RoleName,omitnil,omitempty" name:"RoleName"` }
type MachineGroupInfo ¶
type MachineGroupInfo struct { // Machine group ID GroupId *string `json:"GroupId,omitnil,omitempty" name:"GroupId"` // Machine group name GroupName *string `json:"GroupName,omitnil,omitempty" name:"GroupName"` // Machine group type MachineGroupType *MachineGroupTypeInfo `json:"MachineGroupType,omitnil,omitempty" name:"MachineGroupType"` // Creation time CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"` // List of tags bound to machine group // Note: this field may return `null`, indicating that no valid values can be obtained. Tags []*Tag `json:"Tags,omitnil,omitempty" name:"Tags"` // Whether to enable automatic update for the machine group // Note: this field may return `null`, indicating that no valid values can be obtained. AutoUpdate *string `json:"AutoUpdate,omitnil,omitempty" name:"AutoUpdate"` // Update start time. We recommend you update LogListener during off-peak hours. // Note: this field may return `null`, indicating that no valid values can be obtained. UpdateStartTime *string `json:"UpdateStartTime,omitnil,omitempty" name:"UpdateStartTime"` // Update end time. We recommend you update LogListener during off-peak hours. // Note: this field may return `null`, indicating that no valid values can be obtained. UpdateEndTime *string `json:"UpdateEndTime,omitnil,omitempty" name:"UpdateEndTime"` // Whether to enable the service log to record the logs generated by the LogListener service itself. After it is enabled, the internal logset `cls_service_logging` and the `loglistener_status`, `loglistener_alarm`, and `loglistener_business` log topics will be created, which will not incur fees. // Note: this field may return `null`, indicating that no valid values can be obtained. ServiceLogging *bool `json:"ServiceLogging,omitnil,omitempty" name:"ServiceLogging"` // Regular cleanup time for offline machines in the machine group // Note: This field may return null, indicating that no valid values can be obtained. DelayCleanupTime *int64 `json:"DelayCleanupTime,omitnil,omitempty" name:"DelayCleanupTime"` // Metadata information list of a machine group MetaTags []*MetaTagInfo `json:"MetaTags,omitnil,omitempty" name:"MetaTags"` // Operating system type, 0: Linux, 1: Windows OSType *uint64 `json:"OSType,omitnil,omitempty" name:"OSType"` }
type MachineGroupTypeInfo ¶
type MachineGroupTypeInfo struct { // Machine group type. Valid values: `ip`: the IP addresses of collection machines are stored in `Values` of the machine group; `label`: the tags of the machines are stored in `Values` of the machine group Type *string `json:"Type,omitnil,omitempty" name:"Type"` // Machine description list Values []*string `json:"Values,omitnil,omitempty" name:"Values"` }
type MachineInfo ¶
type MachineInfo struct { // Machine IP Ip *string `json:"Ip,omitnil,omitempty" name:"Ip"` // Machine instance IDNote: This field may return null, indicating that no valid values can be obtained. InstanceID *string `json:"InstanceID,omitnil,omitempty" name:"InstanceID"` // Machine status. Valid values: `0`: exceptional; `1`: normal Status *uint64 `json:"Status,omitnil,omitempty" name:"Status"` // Machine disconnection time. If the value is empty, the machine is normal. If the machine is exceptional, a specific value will be returned. OfflineTime *string `json:"OfflineTime,omitnil,omitempty" name:"OfflineTime"` // Whether to enable automatic update for the machine. Valid values: `0`: no; `1`: yes AutoUpdate *int64 `json:"AutoUpdate,omitnil,omitempty" name:"AutoUpdate"` // Current machine version number Version *string `json:"Version,omitnil,omitempty" name:"Version"` // Machine upgrade status. 0: Upgrade successful; 1: Upgrading; -1: Upgrade failed. UpdateStatus *int64 `json:"UpdateStatus,omitnil,omitempty" name:"UpdateStatus"` // Machine upgrade result identifier.0: Success; 1200: Upgrade successful; Other values indicate exceptions. ErrCode *int64 `json:"ErrCode,omitnil,omitempty" name:"ErrCode"` // Machine upgrade result information."ok": Success; "update success": Upgrade successful; Other values indicate the reason for failure. ErrMsg *string `json:"ErrMsg,omitnil,omitempty" name:"ErrMsg"` }
type MergePartitionRequest ¶
type MergePartitionRequest struct { *tchttp.BaseRequest // Log topic ID TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"` // Merged `PartitionId` PartitionId *int64 `json:"PartitionId,omitnil,omitempty" name:"PartitionId"` }
func NewMergePartitionRequest ¶
func NewMergePartitionRequest() (request *MergePartitionRequest)
func (*MergePartitionRequest) FromJsonString ¶
func (r *MergePartitionRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*MergePartitionRequest) ToJsonString ¶
func (r *MergePartitionRequest) ToJsonString() string
type MergePartitionRequestParams ¶
type MergePartitionRequestParams struct { // Log topic ID TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"` // Merged `PartitionId` PartitionId *int64 `json:"PartitionId,omitnil,omitempty" name:"PartitionId"` }
Predefined struct for user
type MergePartitionResponse ¶
type MergePartitionResponse struct { *tchttp.BaseResponse Response *MergePartitionResponseParams `json:"Response"` }
func NewMergePartitionResponse ¶
func NewMergePartitionResponse() (response *MergePartitionResponse)
func (*MergePartitionResponse) FromJsonString ¶
func (r *MergePartitionResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*MergePartitionResponse) ToJsonString ¶
func (r *MergePartitionResponse) ToJsonString() string
type MergePartitionResponseParams ¶
type MergePartitionResponseParams struct { // Merge result set Partitions []*PartitionInfo `json:"Partitions,omitnil,omitempty" name:"Partitions"` // 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 MetaTagInfo ¶
type MetricLabel ¶
type MetricLabel struct { // Metric NameNote: This field may return null, indicating that no valid values can be obtained. Key *string `json:"Key,omitnil,omitempty" name:"Key"` // Metric content Note: This field may return null, indicating that no valid values can be obtained. Value *string `json:"Value,omitnil,omitempty" name:"Value"` }
type ModifyAlarmNoticeRequest ¶
type ModifyAlarmNoticeRequest struct { *tchttp.BaseRequest // Notification group ID AlarmNoticeId *string `json:"AlarmNoticeId,omitnil,omitempty" name:"AlarmNoticeId"` // Notification group name Name *string `json:"Name,omitnil,omitempty" name:"Name"` // Notification type. Optional Values: // <li> Trigger - Alarm trigger</li> // <li> Recovery - Alarm recovery</li> // <li> All - Alarm triggered and alarm recovery</li> Type *string `json:"Type,omitnil,omitempty" name:"Type"` // Notification recipient NoticeReceivers []*NoticeReceiver `json:"NoticeReceivers,omitnil,omitempty" name:"NoticeReceivers"` // API callback information (including WeCom) WebCallbacks []*WebCallback `json:"WebCallbacks,omitnil,omitempty" name:"WebCallbacks"` // Notification rulesNote: - Type, NoticeReceivers, and WebCallbacks are one set of configurations, while NoticeRules is another set of configurations. The two sets are mutually exclusive.- Submitting one set of data will nullify the other set. NoticeRules []*NoticeRule `json:"NoticeRules,omitnil,omitempty" name:"NoticeRules"` }
func NewModifyAlarmNoticeRequest ¶
func NewModifyAlarmNoticeRequest() (request *ModifyAlarmNoticeRequest)
func (*ModifyAlarmNoticeRequest) FromJsonString ¶
func (r *ModifyAlarmNoticeRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyAlarmNoticeRequest) ToJsonString ¶
func (r *ModifyAlarmNoticeRequest) ToJsonString() string
type ModifyAlarmNoticeRequestParams ¶
type ModifyAlarmNoticeRequestParams struct { // Notification group ID AlarmNoticeId *string `json:"AlarmNoticeId,omitnil,omitempty" name:"AlarmNoticeId"` // Notification group name Name *string `json:"Name,omitnil,omitempty" name:"Name"` // Notification type. Optional Values: // <li> Trigger - Alarm trigger</li> // <li> Recovery - Alarm recovery</li> // <li> All - Alarm triggered and alarm recovery</li> Type *string `json:"Type,omitnil,omitempty" name:"Type"` // Notification recipient NoticeReceivers []*NoticeReceiver `json:"NoticeReceivers,omitnil,omitempty" name:"NoticeReceivers"` // API callback information (including WeCom) WebCallbacks []*WebCallback `json:"WebCallbacks,omitnil,omitempty" name:"WebCallbacks"` // Notification rulesNote: - Type, NoticeReceivers, and WebCallbacks are one set of configurations, while NoticeRules is another set of configurations. The two sets are mutually exclusive.- Submitting one set of data will nullify the other set. NoticeRules []*NoticeRule `json:"NoticeRules,omitnil,omitempty" name:"NoticeRules"` }
Predefined struct for user
type ModifyAlarmNoticeResponse ¶
type ModifyAlarmNoticeResponse struct { *tchttp.BaseResponse Response *ModifyAlarmNoticeResponseParams `json:"Response"` }
func NewModifyAlarmNoticeResponse ¶
func NewModifyAlarmNoticeResponse() (response *ModifyAlarmNoticeResponse)
func (*ModifyAlarmNoticeResponse) FromJsonString ¶
func (r *ModifyAlarmNoticeResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyAlarmNoticeResponse) ToJsonString ¶
func (r *ModifyAlarmNoticeResponse) ToJsonString() string
type ModifyAlarmNoticeResponseParams ¶
type ModifyAlarmNoticeResponseParams 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 ModifyAlarmRequest ¶
type ModifyAlarmRequest struct { *tchttp.BaseRequest // Alarm policy ID AlarmId *string `json:"AlarmId,omitnil,omitempty" name:"AlarmId"` // Alarm policy name Name *string `json:"Name,omitnil,omitempty" name:"Name"` // Monitoring task running time point MonitorTime *MonitorTime `json:"MonitorTime,omitnil,omitempty" name:"MonitorTime"` // Trigger condition. Note: - Condition and AlarmLevel are one set of configurations, MultiConditions is another set of configurations. The two sets of configurations are mutually exclusive. Condition *string `json:"Condition,omitnil,omitempty" name:"Condition"` // Alarm level.0: Warning (Warn); 1: Reminder (Info); 2: Urgent (Critical) // // Note: - Condition and AlarmLevel are one set of configurations, MultiConditions is another set of configurations. The two sets of configurations are mutually exclusive. AlarmLevel *uint64 `json:"AlarmLevel,omitnil,omitempty" name:"AlarmLevel"` // Multiple trigger conditions. Note: - Condition and AlarmLevel are one set of configurations, MultiConditions is another set of configurations. The two sets of configurations are mutually exclusive. MultiConditions []*MultiCondition `json:"MultiConditions,omitnil,omitempty" name:"MultiConditions"` // Alarm persistence cycle. An alarm will be triggered only after the corresponding trigger condition is met for the number of times specified by `TriggerCount`. Value range: 1 to 10 TriggerCount *int64 `json:"TriggerCount,omitnil,omitempty" name:"TriggerCount"` // Repeated alarm interval in minutes. Value range: 0 to 1440 AlarmPeriod *int64 `json:"AlarmPeriod,omitnil,omitempty" name:"AlarmPeriod"` // List of associated alarm notification templates AlarmNoticeIds []*string `json:"AlarmNoticeIds,omitnil,omitempty" name:"AlarmNoticeIds"` // Monitoring object list AlarmTargets []*AlarmTarget `json:"AlarmTargets,omitnil,omitempty" name:"AlarmTargets"` // Whether to enable the alarm policy Status *bool `json:"Status,omitnil,omitempty" name:"Status"` // This parameter has been deprecated. Use the Status parameter to control whether to enable the alarm policy. Enable *bool `json:"Enable,omitnil,omitempty" name:"Enable"` // Custom alarm content MessageTemplate *string `json:"MessageTemplate,omitnil,omitempty" name:"MessageTemplate"` // Custom callback CallBack *CallBackInfo `json:"CallBack,omitnil,omitempty" name:"CallBack"` // Multi-Dimensional analysis Analysis []*AnalysisDimensional `json:"Analysis,omitnil,omitempty" name:"Analysis"` // Group trigger status. true: enabled; false: disabled (default) GroupTriggerStatus *bool `json:"GroupTriggerStatus,omitnil,omitempty" name:"GroupTriggerStatus"` // Grouping trigger conditions. GroupTriggerCondition []*string `json:"GroupTriggerCondition,omitnil,omitempty" name:"GroupTriggerCondition"` // Tag description list, by specifying this parameter, you can simultaneously bind a Tag to the corresponding alarm policy. Up to 10 Tag key-value pairs are supported, and they must be unique. Tags []*Tag `json:"Tags,omitnil,omitempty" name:"Tags"` // Monitored Object Type. 0: common monitoring objects for execution statements; 1: separately selected monitoring objects for each execution statement.When the value is 1, the number of AlarmTargets Elements (XML) cannot exceed 10, and the Numbers in AlarmTargets must be continuous positive integers starting from 1, without duplication. MonitorObjectType *uint64 `json:"MonitorObjectType,omitnil,omitempty" name:"MonitorObjectType"` // Alarm additional classification information list. // The number of Classifications elements cannot exceed 20.The Key of Classifications element must not be empty and duplicated, and its length cannot exceed 50 characters, complying with the regular expression ^[a-z]([a-z0-9_]{0,49})$.The Value length of Classifications element cannot exceed 200 characters. Classifications []*AlarmClassification `json:"Classifications,omitnil,omitempty" name:"Classifications"` }
func NewModifyAlarmRequest ¶
func NewModifyAlarmRequest() (request *ModifyAlarmRequest)
func (*ModifyAlarmRequest) FromJsonString ¶
func (r *ModifyAlarmRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyAlarmRequest) ToJsonString ¶
func (r *ModifyAlarmRequest) ToJsonString() string
type ModifyAlarmRequestParams ¶
type ModifyAlarmRequestParams struct { // Alarm policy ID AlarmId *string `json:"AlarmId,omitnil,omitempty" name:"AlarmId"` // Alarm policy name Name *string `json:"Name,omitnil,omitempty" name:"Name"` // Monitoring task running time point MonitorTime *MonitorTime `json:"MonitorTime,omitnil,omitempty" name:"MonitorTime"` // Trigger condition. Note: - Condition and AlarmLevel are one set of configurations, MultiConditions is another set of configurations. The two sets of configurations are mutually exclusive. Condition *string `json:"Condition,omitnil,omitempty" name:"Condition"` // Alarm level.0: Warning (Warn); 1: Reminder (Info); 2: Urgent (Critical) // // Note: - Condition and AlarmLevel are one set of configurations, MultiConditions is another set of configurations. The two sets of configurations are mutually exclusive. AlarmLevel *uint64 `json:"AlarmLevel,omitnil,omitempty" name:"AlarmLevel"` // Multiple trigger conditions. Note: - Condition and AlarmLevel are one set of configurations, MultiConditions is another set of configurations. The two sets of configurations are mutually exclusive. MultiConditions []*MultiCondition `json:"MultiConditions,omitnil,omitempty" name:"MultiConditions"` // Alarm persistence cycle. An alarm will be triggered only after the corresponding trigger condition is met for the number of times specified by `TriggerCount`. Value range: 1 to 10 TriggerCount *int64 `json:"TriggerCount,omitnil,omitempty" name:"TriggerCount"` // Repeated alarm interval in minutes. Value range: 0 to 1440 AlarmPeriod *int64 `json:"AlarmPeriod,omitnil,omitempty" name:"AlarmPeriod"` // List of associated alarm notification templates AlarmNoticeIds []*string `json:"AlarmNoticeIds,omitnil,omitempty" name:"AlarmNoticeIds"` // Monitoring object list AlarmTargets []*AlarmTarget `json:"AlarmTargets,omitnil,omitempty" name:"AlarmTargets"` // Whether to enable the alarm policy Status *bool `json:"Status,omitnil,omitempty" name:"Status"` // This parameter has been deprecated. Use the Status parameter to control whether to enable the alarm policy. Enable *bool `json:"Enable,omitnil,omitempty" name:"Enable"` // Custom alarm content MessageTemplate *string `json:"MessageTemplate,omitnil,omitempty" name:"MessageTemplate"` // Custom callback CallBack *CallBackInfo `json:"CallBack,omitnil,omitempty" name:"CallBack"` // Multi-Dimensional analysis Analysis []*AnalysisDimensional `json:"Analysis,omitnil,omitempty" name:"Analysis"` // Group trigger status. true: enabled; false: disabled (default) GroupTriggerStatus *bool `json:"GroupTriggerStatus,omitnil,omitempty" name:"GroupTriggerStatus"` // Grouping trigger conditions. GroupTriggerCondition []*string `json:"GroupTriggerCondition,omitnil,omitempty" name:"GroupTriggerCondition"` // Tag description list, by specifying this parameter, you can simultaneously bind a Tag to the corresponding alarm policy. Up to 10 Tag key-value pairs are supported, and they must be unique. Tags []*Tag `json:"Tags,omitnil,omitempty" name:"Tags"` // Monitored Object Type. 0: common monitoring objects for execution statements; 1: separately selected monitoring objects for each execution statement.When the value is 1, the number of AlarmTargets Elements (XML) cannot exceed 10, and the Numbers in AlarmTargets must be continuous positive integers starting from 1, without duplication. MonitorObjectType *uint64 `json:"MonitorObjectType,omitnil,omitempty" name:"MonitorObjectType"` // Alarm additional classification information list. // The number of Classifications elements cannot exceed 20.The Key of Classifications element must not be empty and duplicated, and its length cannot exceed 50 characters, complying with the regular expression ^[a-z]([a-z0-9_]{0,49})$.The Value length of Classifications element cannot exceed 200 characters. Classifications []*AlarmClassification `json:"Classifications,omitnil,omitempty" name:"Classifications"` }
Predefined struct for user
type ModifyAlarmResponse ¶
type ModifyAlarmResponse struct { *tchttp.BaseResponse Response *ModifyAlarmResponseParams `json:"Response"` }
func NewModifyAlarmResponse ¶
func NewModifyAlarmResponse() (response *ModifyAlarmResponse)
func (*ModifyAlarmResponse) FromJsonString ¶
func (r *ModifyAlarmResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyAlarmResponse) ToJsonString ¶
func (r *ModifyAlarmResponse) ToJsonString() string
type ModifyAlarmResponseParams ¶
type ModifyAlarmResponseParams 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 ModifyAlarmShieldRequest ¶
type ModifyAlarmShieldRequest struct { *tchttp.BaseRequest // Blocking rule ID. TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"` // Notification channel group ID. AlarmNoticeId *string `json:"AlarmNoticeId,omitnil,omitempty" name:"AlarmNoticeId"` // Block start time (second-level timestamp). StartTime *uint64 `json:"StartTime,omitnil,omitempty" name:"StartTime"` // Block end time (second-level timestamp). EndTime *uint64 `json:"EndTime,omitnil,omitempty" name:"EndTime"` // Block type. 1: Block all notifications, 2: Block matching rules notifications according to the Rule parameter. Type *uint64 `json:"Type,omitnil,omitempty" name:"Type"` // Blocking rules, required when Type is 2. For detailed information on filling in rules, see [Product Documentation](https://intl.cloud.tencent.com/document/product/614/103178?from_cn_redirect=1#rule). Rule *string `json:"Rule,omitnil,omitempty" name:"Rule"` // Blocking Reason Reason *string `json:"Reason,omitnil,omitempty" name:"Reason"` // Rule status. Only when the rule status is in effect (status:1) can it be modified to expired (status:2). Status *uint64 `json:"Status,omitnil,omitempty" name:"Status"` }
func NewModifyAlarmShieldRequest ¶
func NewModifyAlarmShieldRequest() (request *ModifyAlarmShieldRequest)
func (*ModifyAlarmShieldRequest) FromJsonString ¶
func (r *ModifyAlarmShieldRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyAlarmShieldRequest) ToJsonString ¶
func (r *ModifyAlarmShieldRequest) ToJsonString() string
type ModifyAlarmShieldRequestParams ¶
type ModifyAlarmShieldRequestParams struct { // Blocking rule ID. TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"` // Notification channel group ID. AlarmNoticeId *string `json:"AlarmNoticeId,omitnil,omitempty" name:"AlarmNoticeId"` // Block start time (second-level timestamp). StartTime *uint64 `json:"StartTime,omitnil,omitempty" name:"StartTime"` // Block end time (second-level timestamp). EndTime *uint64 `json:"EndTime,omitnil,omitempty" name:"EndTime"` // Block type. 1: Block all notifications, 2: Block matching rules notifications according to the Rule parameter. Type *uint64 `json:"Type,omitnil,omitempty" name:"Type"` // Blocking rules, required when Type is 2. For detailed information on filling in rules, see [Product Documentation](https://intl.cloud.tencent.com/document/product/614/103178?from_cn_redirect=1#rule). Rule *string `json:"Rule,omitnil,omitempty" name:"Rule"` // Blocking Reason Reason *string `json:"Reason,omitnil,omitempty" name:"Reason"` // Rule status. Only when the rule status is in effect (status:1) can it be modified to expired (status:2). Status *uint64 `json:"Status,omitnil,omitempty" name:"Status"` }
Predefined struct for user
type ModifyAlarmShieldResponse ¶
type ModifyAlarmShieldResponse struct { *tchttp.BaseResponse Response *ModifyAlarmShieldResponseParams `json:"Response"` }
func NewModifyAlarmShieldResponse ¶
func NewModifyAlarmShieldResponse() (response *ModifyAlarmShieldResponse)
func (*ModifyAlarmShieldResponse) FromJsonString ¶
func (r *ModifyAlarmShieldResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyAlarmShieldResponse) ToJsonString ¶
func (r *ModifyAlarmShieldResponse) ToJsonString() string
type ModifyAlarmShieldResponseParams ¶
type ModifyAlarmShieldResponseParams 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 ModifyConfigRequest ¶
type ModifyConfigRequest struct { *tchttp.BaseRequest // Collection rule configuration ID, accessed through [Access collection rule configuration](https://intl.cloud.tencent.com/document/product/614/58616?from_cn_redirect=1). ConfigId *string `json:"ConfigId,omitnil,omitempty" name:"ConfigId"` // Collection rule configuration name Name *string `json:"Name,omitnil,omitempty" name:"Name"` // Log collection path containing the filename Path *string `json:"Path,omitnil,omitempty" name:"Path"` // The types of logs collected. Supported types are: // - json_log: JSON File Log (For more information, see [Using JSON pattern to collect logs](https://intl.cloud.tencent.com/document/product/614/17419?from_cn_redirect=1));- delimiter_log: Delimiter - File Logs (For more information, see [Using delimiter pattern to collect logs](https://intl.cloud.tencent.com/document/product/614/17420?from_cn_redirect=1));- minimalist_log: Single-line Full-text File Log (For more information, see [Using single-line full-text pattern to collect logs](https://intl.cloud.tencent.com/document/product/614/17421?from_cn_redirect=1));- fullregex_log: Single line full regular expression - File log (For more information, see [Using single-line - complete regular expression pattern to collect logs](https://intl.cloud.tencent.com/document/product/614/52365?from_cn_redirect=1));- multiline_log: Multiline Full-text File Log (For more information, see [Using multi-line full-text pattern to collect logs](https://intl.cloud.tencent.com/document/product/614/17422?from_cn_redirect=1));- multiline_fullregex_log: Multi-line complete regular expression - File Logs (For more information, see [Using multi-line - complete regular expression pattern to collect logs](https://intl.cloud.tencent.com/document/product/614/52366?from_cn_redirect=1));- user_define_log: Combined parsing (Suitable for logs with multiple nested formats, see [Using combined parsing pattern to collect logs](https://intl.cloud.tencent.com/document/product/614/61310?from_cn_redirect=1));- service_syslog: syslog collection (For more information, see [Collect Syslog](https://intl.cloud.tencent.com/document/product/614/81454?from_cn_redirect=1));- windows_event_log: Windows event log (For more information, see [Collect Windows Event Log](https://intl.cloud.tencent.com/document/product/614/96678?from_cn_redirect=1)). LogType *string `json:"LogType,omitnil,omitempty" name:"LogType"` // Extraction rule. If `ExtractRule` is set, `LogType` must be set. ExtractRule *ExtractRuleInfo `json:"ExtractRule,omitnil,omitempty" name:"ExtractRule"` // Collection path blocklist ExcludePaths []*ExcludePathInfo `json:"ExcludePaths,omitnil,omitempty" name:"ExcludePaths"` // Log topic (TopicId) associated with collection configuration Output *string `json:"Output,omitnil,omitempty" name:"Output"` // Custom parsing string, serialized as a JSON string. UserDefineRule *string `json:"UserDefineRule,omitnil,omitempty" name:"UserDefineRule"` // Advanced collection configuration. A JSON string, Key/Value definition as follows: // - ClsAgentFileTimeout (timeout property), value range: an integer greater than or equal to 0, where 0 means no timeout- ClsAgentMaxDepth (maximum directory depth), value range: an integer greater than or equal to 0 // - ClsAgentParseFailMerge (merge logs that failed parsing), value range: true or false // Sample: // `{\"ClsAgentFileTimeout\":0,\"ClsAgentMaxDepth\":10,\"ClsAgentParseFailMerge\":true}` AdvancedConfig *string `json:"AdvancedConfig,omitnil,omitempty" name:"AdvancedConfig"` }
func NewModifyConfigRequest ¶
func NewModifyConfigRequest() (request *ModifyConfigRequest)
func (*ModifyConfigRequest) FromJsonString ¶
func (r *ModifyConfigRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyConfigRequest) ToJsonString ¶
func (r *ModifyConfigRequest) ToJsonString() string
type ModifyConfigRequestParams ¶
type ModifyConfigRequestParams struct { // Collection rule configuration ID, accessed through [Access collection rule configuration](https://intl.cloud.tencent.com/document/product/614/58616?from_cn_redirect=1). ConfigId *string `json:"ConfigId,omitnil,omitempty" name:"ConfigId"` // Collection rule configuration name Name *string `json:"Name,omitnil,omitempty" name:"Name"` // Log collection path containing the filename Path *string `json:"Path,omitnil,omitempty" name:"Path"` // The types of logs collected. Supported types are: // - json_log: JSON File Log (For more information, see [Using JSON pattern to collect logs](https://intl.cloud.tencent.com/document/product/614/17419?from_cn_redirect=1));- delimiter_log: Delimiter - File Logs (For more information, see [Using delimiter pattern to collect logs](https://intl.cloud.tencent.com/document/product/614/17420?from_cn_redirect=1));- minimalist_log: Single-line Full-text File Log (For more information, see [Using single-line full-text pattern to collect logs](https://intl.cloud.tencent.com/document/product/614/17421?from_cn_redirect=1));- fullregex_log: Single line full regular expression - File log (For more information, see [Using single-line - complete regular expression pattern to collect logs](https://intl.cloud.tencent.com/document/product/614/52365?from_cn_redirect=1));- multiline_log: Multiline Full-text File Log (For more information, see [Using multi-line full-text pattern to collect logs](https://intl.cloud.tencent.com/document/product/614/17422?from_cn_redirect=1));- multiline_fullregex_log: Multi-line complete regular expression - File Logs (For more information, see [Using multi-line - complete regular expression pattern to collect logs](https://intl.cloud.tencent.com/document/product/614/52366?from_cn_redirect=1));- user_define_log: Combined parsing (Suitable for logs with multiple nested formats, see [Using combined parsing pattern to collect logs](https://intl.cloud.tencent.com/document/product/614/61310?from_cn_redirect=1));- service_syslog: syslog collection (For more information, see [Collect Syslog](https://intl.cloud.tencent.com/document/product/614/81454?from_cn_redirect=1));- windows_event_log: Windows event log (For more information, see [Collect Windows Event Log](https://intl.cloud.tencent.com/document/product/614/96678?from_cn_redirect=1)). LogType *string `json:"LogType,omitnil,omitempty" name:"LogType"` // Extraction rule. If `ExtractRule` is set, `LogType` must be set. ExtractRule *ExtractRuleInfo `json:"ExtractRule,omitnil,omitempty" name:"ExtractRule"` // Collection path blocklist ExcludePaths []*ExcludePathInfo `json:"ExcludePaths,omitnil,omitempty" name:"ExcludePaths"` // Log topic (TopicId) associated with collection configuration Output *string `json:"Output,omitnil,omitempty" name:"Output"` // Custom parsing string, serialized as a JSON string. UserDefineRule *string `json:"UserDefineRule,omitnil,omitempty" name:"UserDefineRule"` // Advanced collection configuration. A JSON string, Key/Value definition as follows: // - ClsAgentFileTimeout (timeout property), value range: an integer greater than or equal to 0, where 0 means no timeout- ClsAgentMaxDepth (maximum directory depth), value range: an integer greater than or equal to 0 // - ClsAgentParseFailMerge (merge logs that failed parsing), value range: true or false // Sample: // `{\"ClsAgentFileTimeout\":0,\"ClsAgentMaxDepth\":10,\"ClsAgentParseFailMerge\":true}` AdvancedConfig *string `json:"AdvancedConfig,omitnil,omitempty" name:"AdvancedConfig"` }
Predefined struct for user
type ModifyConfigResponse ¶
type ModifyConfigResponse struct { *tchttp.BaseResponse Response *ModifyConfigResponseParams `json:"Response"` }
func NewModifyConfigResponse ¶
func NewModifyConfigResponse() (response *ModifyConfigResponse)
func (*ModifyConfigResponse) FromJsonString ¶
func (r *ModifyConfigResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyConfigResponse) ToJsonString ¶
func (r *ModifyConfigResponse) ToJsonString() string
type ModifyConfigResponseParams ¶
type ModifyConfigResponseParams 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 ModifyConsumerRequest ¶
type ModifyConsumerRequest struct { *tchttp.BaseRequest // Log topic ID bound to the task TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"` // Whether the shipping task takes effect (default: no) Effective *bool `json:"Effective,omitnil,omitempty" name:"Effective"` // Whether to deliver log Metadata information; the default is true.When NeedContent is true: Content field is valid.When NeedContent is false: Content field is invalid. NeedContent *bool `json:"NeedContent,omitnil,omitempty" name:"NeedContent"` // Metadata to ship if `NeedContent` is `true` Content *ConsumerContent `json:"Content,omitnil,omitempty" name:"Content"` // CKafka information Ckafka *Ckafka `json:"Ckafka,omitnil,omitempty" name:"Ckafka"` // Compression method during delivery. Valid values: 0, 2, and 3. [0: NONE; 2: SNAPPY; 3: LZ4] Compression *int64 `json:"Compression,omitnil,omitempty" name:"Compression"` }
func NewModifyConsumerRequest ¶
func NewModifyConsumerRequest() (request *ModifyConsumerRequest)
func (*ModifyConsumerRequest) FromJsonString ¶
func (r *ModifyConsumerRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyConsumerRequest) ToJsonString ¶
func (r *ModifyConsumerRequest) ToJsonString() string
type ModifyConsumerRequestParams ¶
type ModifyConsumerRequestParams struct { // Log topic ID bound to the task TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"` // Whether the shipping task takes effect (default: no) Effective *bool `json:"Effective,omitnil,omitempty" name:"Effective"` // Whether to deliver log Metadata information; the default is true.When NeedContent is true: Content field is valid.When NeedContent is false: Content field is invalid. NeedContent *bool `json:"NeedContent,omitnil,omitempty" name:"NeedContent"` // Metadata to ship if `NeedContent` is `true` Content *ConsumerContent `json:"Content,omitnil,omitempty" name:"Content"` // CKafka information Ckafka *Ckafka `json:"Ckafka,omitnil,omitempty" name:"Ckafka"` // Compression method during delivery. Valid values: 0, 2, and 3. [0: NONE; 2: SNAPPY; 3: LZ4] Compression *int64 `json:"Compression,omitnil,omitempty" name:"Compression"` }
Predefined struct for user
type ModifyConsumerResponse ¶
type ModifyConsumerResponse struct { *tchttp.BaseResponse Response *ModifyConsumerResponseParams `json:"Response"` }
func NewModifyConsumerResponse ¶
func NewModifyConsumerResponse() (response *ModifyConsumerResponse)
func (*ModifyConsumerResponse) FromJsonString ¶
func (r *ModifyConsumerResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyConsumerResponse) ToJsonString ¶
func (r *ModifyConsumerResponse) ToJsonString() string
type ModifyConsumerResponseParams ¶
type ModifyConsumerResponseParams 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 ModifyCosRechargeRequest ¶
type ModifyCosRechargeRequest struct { *tchttp.BaseRequest // COS import configuration ID. Id *string `json:"Id,omitnil,omitempty" name:"Id"` // ID of the log topic. TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"` // COS import task name. Name *string `json:"Name,omitnil,omitempty" name:"Name"` // Whether the configuration is enabled. `0`: Not enabled, `1`: Enabled Enable *uint64 `json:"Enable,omitnil,omitempty" name:"Enable"` }
func NewModifyCosRechargeRequest ¶
func NewModifyCosRechargeRequest() (request *ModifyCosRechargeRequest)
func (*ModifyCosRechargeRequest) FromJsonString ¶
func (r *ModifyCosRechargeRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyCosRechargeRequest) ToJsonString ¶
func (r *ModifyCosRechargeRequest) ToJsonString() string
type ModifyCosRechargeRequestParams ¶
type ModifyCosRechargeRequestParams struct { // COS import configuration ID. Id *string `json:"Id,omitnil,omitempty" name:"Id"` // ID of the log topic. TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"` // COS import task name. Name *string `json:"Name,omitnil,omitempty" name:"Name"` // Whether the configuration is enabled. `0`: Not enabled, `1`: Enabled Enable *uint64 `json:"Enable,omitnil,omitempty" name:"Enable"` }
Predefined struct for user
type ModifyCosRechargeResponse ¶
type ModifyCosRechargeResponse struct { *tchttp.BaseResponse Response *ModifyCosRechargeResponseParams `json:"Response"` }
func NewModifyCosRechargeResponse ¶
func NewModifyCosRechargeResponse() (response *ModifyCosRechargeResponse)
func (*ModifyCosRechargeResponse) FromJsonString ¶
func (r *ModifyCosRechargeResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyCosRechargeResponse) ToJsonString ¶
func (r *ModifyCosRechargeResponse) ToJsonString() string
type ModifyCosRechargeResponseParams ¶
type ModifyCosRechargeResponseParams 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 ModifyDataTransformRequest ¶
type ModifyDataTransformRequest struct { *tchttp.BaseRequest // Data processing task ID TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"` // Data processing task name Name *string `json:"Name,omitnil,omitempty" name:"Name"` // Data processing statement EtlContent *string `json:"EtlContent,omitnil,omitempty" name:"EtlContent"` // Task status. Valid values: 1 (enabled) and 2 (disabled). EnableFlag *int64 `json:"EnableFlag,omitnil,omitempty" name:"EnableFlag"` // Destination topic ID and alias of the data processing task DstResources []*DataTransformResouceInfo `json:"DstResources,omitnil,omitempty" name:"DstResources"` // Whether to enable delivery service log. 1 for disabled, 2 for enabled HasServicesLog *uint64 `json:"HasServicesLog,omitnil,omitempty" name:"HasServicesLog"` }
func NewModifyDataTransformRequest ¶
func NewModifyDataTransformRequest() (request *ModifyDataTransformRequest)
func (*ModifyDataTransformRequest) FromJsonString ¶
func (r *ModifyDataTransformRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyDataTransformRequest) ToJsonString ¶
func (r *ModifyDataTransformRequest) ToJsonString() string
type ModifyDataTransformRequestParams ¶
type ModifyDataTransformRequestParams struct { // Data processing task ID TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"` // Data processing task name Name *string `json:"Name,omitnil,omitempty" name:"Name"` // Data processing statement EtlContent *string `json:"EtlContent,omitnil,omitempty" name:"EtlContent"` // Task status. Valid values: 1 (enabled) and 2 (disabled). EnableFlag *int64 `json:"EnableFlag,omitnil,omitempty" name:"EnableFlag"` // Destination topic ID and alias of the data processing task DstResources []*DataTransformResouceInfo `json:"DstResources,omitnil,omitempty" name:"DstResources"` // Whether to enable delivery service log. 1 for disabled, 2 for enabled HasServicesLog *uint64 `json:"HasServicesLog,omitnil,omitempty" name:"HasServicesLog"` }
Predefined struct for user
type ModifyDataTransformResponse ¶
type ModifyDataTransformResponse struct { *tchttp.BaseResponse Response *ModifyDataTransformResponseParams `json:"Response"` }
func NewModifyDataTransformResponse ¶
func NewModifyDataTransformResponse() (response *ModifyDataTransformResponse)
func (*ModifyDataTransformResponse) FromJsonString ¶
func (r *ModifyDataTransformResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyDataTransformResponse) ToJsonString ¶
func (r *ModifyDataTransformResponse) ToJsonString() string
type ModifyDataTransformResponseParams ¶
type ModifyDataTransformResponseParams 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 ModifyIndexRequest ¶
type ModifyIndexRequest struct { *tchttp.BaseRequest // Log topic ID TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"` // It does not take effect by default Status *bool `json:"Status,omitnil,omitempty" name:"Status"` // Index rule Rule *RuleInfo `json:"Rule,omitnil,omitempty" name:"Rule"` // Whether full-text indexing includes internal fields (`__FILENAME__`, `__HOSTNAME__`, and `__SOURCE__`). Default value: `false`. Recommended value: `true`. // * `false`: Full-text indexing does not include internal fields. // * `true`: Full-text indexing includes internal fields. IncludeInternalFields *bool `json:"IncludeInternalFields,omitnil,omitempty" name:"IncludeInternalFields"` // Whether full-text indexing includes metadata fields (which are prefixed with `__TAG__`). Default value: `0`. Recommended value: `1`. // * `0`: Full-text indexing includes only metadata fields with key-value indexing enabled. // * `1`: Full-text indexing includes all metadata fields. // * `2`: Full-text indexing does not include metadata fields. MetadataFlag *uint64 `json:"MetadataFlag,omitnil,omitempty" name:"MetadataFlag"` }
func NewModifyIndexRequest ¶
func NewModifyIndexRequest() (request *ModifyIndexRequest)
func (*ModifyIndexRequest) FromJsonString ¶
func (r *ModifyIndexRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyIndexRequest) ToJsonString ¶
func (r *ModifyIndexRequest) ToJsonString() string
type ModifyIndexRequestParams ¶
type ModifyIndexRequestParams struct { // Log topic ID TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"` // It does not take effect by default Status *bool `json:"Status,omitnil,omitempty" name:"Status"` // Index rule Rule *RuleInfo `json:"Rule,omitnil,omitempty" name:"Rule"` // Whether full-text indexing includes internal fields (`__FILENAME__`, `__HOSTNAME__`, and `__SOURCE__`). Default value: `false`. Recommended value: `true`. // * `false`: Full-text indexing does not include internal fields. // * `true`: Full-text indexing includes internal fields. IncludeInternalFields *bool `json:"IncludeInternalFields,omitnil,omitempty" name:"IncludeInternalFields"` // Whether full-text indexing includes metadata fields (which are prefixed with `__TAG__`). Default value: `0`. Recommended value: `1`. // * `0`: Full-text indexing includes only metadata fields with key-value indexing enabled. // * `1`: Full-text indexing includes all metadata fields. // * `2`: Full-text indexing does not include metadata fields. MetadataFlag *uint64 `json:"MetadataFlag,omitnil,omitempty" name:"MetadataFlag"` }
Predefined struct for user
type ModifyIndexResponse ¶
type ModifyIndexResponse struct { *tchttp.BaseResponse Response *ModifyIndexResponseParams `json:"Response"` }
func NewModifyIndexResponse ¶
func NewModifyIndexResponse() (response *ModifyIndexResponse)
func (*ModifyIndexResponse) FromJsonString ¶
func (r *ModifyIndexResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyIndexResponse) ToJsonString ¶
func (r *ModifyIndexResponse) ToJsonString() string
type ModifyIndexResponseParams ¶
type ModifyIndexResponseParams 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 ModifyKafkaConsumerRequest ¶
type ModifyKafkaConsumerRequest struct { *tchttp.BaseRequest // Log Topic ID FromTopicId *string `json:"FromTopicId,omitnil,omitempty" name:"FromTopicId"` // Compression mode [0: NONE; 2: SNAPPY; 3: LZ4] Compression *int64 `json:"Compression,omitnil,omitempty" name:"Compression"` // Kafka protocol consumer data format ConsumerContent *KafkaConsumerContent `json:"ConsumerContent,omitnil,omitempty" name:"ConsumerContent"` }
func NewModifyKafkaConsumerRequest ¶
func NewModifyKafkaConsumerRequest() (request *ModifyKafkaConsumerRequest)
func (*ModifyKafkaConsumerRequest) FromJsonString ¶
func (r *ModifyKafkaConsumerRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyKafkaConsumerRequest) ToJsonString ¶
func (r *ModifyKafkaConsumerRequest) ToJsonString() string
type ModifyKafkaConsumerRequestParams ¶
type ModifyKafkaConsumerRequestParams struct { // Log Topic ID FromTopicId *string `json:"FromTopicId,omitnil,omitempty" name:"FromTopicId"` // Compression mode [0: NONE; 2: SNAPPY; 3: LZ4] Compression *int64 `json:"Compression,omitnil,omitempty" name:"Compression"` // Kafka protocol consumer data format ConsumerContent *KafkaConsumerContent `json:"ConsumerContent,omitnil,omitempty" name:"ConsumerContent"` }
Predefined struct for user
type ModifyKafkaConsumerResponse ¶
type ModifyKafkaConsumerResponse struct { *tchttp.BaseResponse Response *ModifyKafkaConsumerResponseParams `json:"Response"` }
func NewModifyKafkaConsumerResponse ¶
func NewModifyKafkaConsumerResponse() (response *ModifyKafkaConsumerResponse)
func (*ModifyKafkaConsumerResponse) FromJsonString ¶
func (r *ModifyKafkaConsumerResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyKafkaConsumerResponse) ToJsonString ¶
func (r *ModifyKafkaConsumerResponse) ToJsonString() string
type ModifyKafkaConsumerResponseParams ¶
type ModifyKafkaConsumerResponseParams 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 ModifyKafkaRechargeRequest ¶
type ModifyKafkaRechargeRequest struct { *tchttp.BaseRequest // Kafka data import configuration ID Id *string `json:"Id,omitnil,omitempty" name:"Id"` // Target topic ID TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"` // Kafka data import configuration name Name *string `json:"Name,omitnil,omitempty" name:"Name"` // Kafka type. Valid values: 0 (Tencent Cloud CKafka) and 1 (customer's Kafka) KafkaType *uint64 `json:"KafkaType,omitnil,omitempty" name:"KafkaType"` // CKafka instance ID, which is required when `KafkaType` is set to `0` KafkaInstance *string `json:"KafkaInstance,omitnil,omitempty" name:"KafkaInstance"` // Service address ServerAddr *string `json:"ServerAddr,omitnil,omitempty" name:"ServerAddr"` // Whether the service address uses an encrypted connection IsEncryptionAddr *bool `json:"IsEncryptionAddr,omitnil,omitempty" name:"IsEncryptionAddr"` // Encryption access protocol, which is required when IsEncryptionAddr` is set to `true` Protocol *KafkaProtocolInfo `json:"Protocol,omitnil,omitempty" name:"Protocol"` // List of Kafka topics to import data from. Separate multiple topics with commas (,). UserKafkaTopics *string `json:"UserKafkaTopics,omitnil,omitempty" name:"UserKafkaTopics"` // Kafka consumer group name ConsumerGroupName *string `json:"ConsumerGroupName,omitnil,omitempty" name:"ConsumerGroupName"` // Log import rule LogRechargeRule *LogRechargeRuleInfo `json:"LogRechargeRule,omitnil,omitempty" name:"LogRechargeRule"` // Import control. Valid values: 1 (suspend) and 2 (resume). StatusControl *uint64 `json:"StatusControl,omitnil,omitempty" name:"StatusControl"` }
func NewModifyKafkaRechargeRequest ¶
func NewModifyKafkaRechargeRequest() (request *ModifyKafkaRechargeRequest)
func (*ModifyKafkaRechargeRequest) FromJsonString ¶
func (r *ModifyKafkaRechargeRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyKafkaRechargeRequest) ToJsonString ¶
func (r *ModifyKafkaRechargeRequest) ToJsonString() string
type ModifyKafkaRechargeRequestParams ¶
type ModifyKafkaRechargeRequestParams struct { // Kafka data import configuration ID Id *string `json:"Id,omitnil,omitempty" name:"Id"` // Target topic ID TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"` // Kafka data import configuration name Name *string `json:"Name,omitnil,omitempty" name:"Name"` // Kafka type. Valid values: 0 (Tencent Cloud CKafka) and 1 (customer's Kafka) KafkaType *uint64 `json:"KafkaType,omitnil,omitempty" name:"KafkaType"` // CKafka instance ID, which is required when `KafkaType` is set to `0` KafkaInstance *string `json:"KafkaInstance,omitnil,omitempty" name:"KafkaInstance"` // Service address ServerAddr *string `json:"ServerAddr,omitnil,omitempty" name:"ServerAddr"` // Whether the service address uses an encrypted connection IsEncryptionAddr *bool `json:"IsEncryptionAddr,omitnil,omitempty" name:"IsEncryptionAddr"` // Encryption access protocol, which is required when IsEncryptionAddr` is set to `true` Protocol *KafkaProtocolInfo `json:"Protocol,omitnil,omitempty" name:"Protocol"` // List of Kafka topics to import data from. Separate multiple topics with commas (,). UserKafkaTopics *string `json:"UserKafkaTopics,omitnil,omitempty" name:"UserKafkaTopics"` // Kafka consumer group name ConsumerGroupName *string `json:"ConsumerGroupName,omitnil,omitempty" name:"ConsumerGroupName"` // Log import rule LogRechargeRule *LogRechargeRuleInfo `json:"LogRechargeRule,omitnil,omitempty" name:"LogRechargeRule"` // Import control. Valid values: 1 (suspend) and 2 (resume). StatusControl *uint64 `json:"StatusControl,omitnil,omitempty" name:"StatusControl"` }
Predefined struct for user
type ModifyKafkaRechargeResponse ¶
type ModifyKafkaRechargeResponse struct { *tchttp.BaseResponse Response *ModifyKafkaRechargeResponseParams `json:"Response"` }
func NewModifyKafkaRechargeResponse ¶
func NewModifyKafkaRechargeResponse() (response *ModifyKafkaRechargeResponse)
func (*ModifyKafkaRechargeResponse) FromJsonString ¶
func (r *ModifyKafkaRechargeResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyKafkaRechargeResponse) ToJsonString ¶
func (r *ModifyKafkaRechargeResponse) ToJsonString() string
type ModifyKafkaRechargeResponseParams ¶
type ModifyKafkaRechargeResponseParams 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 ModifyLogsetRequest ¶
type ModifyLogsetRequest struct { *tchttp.BaseRequest // Logset ID LogsetId *string `json:"LogsetId,omitnil,omitempty" name:"LogsetId"` // Logset name LogsetName *string `json:"LogsetName,omitnil,omitempty" name:"LogsetName"` // Tag key-value pair bound to logset. Up to 10 tag key-value pairs are supported, and a resource can be bound to only one tag key at any time. Tags []*Tag `json:"Tags,omitnil,omitempty" name:"Tags"` }
func NewModifyLogsetRequest ¶
func NewModifyLogsetRequest() (request *ModifyLogsetRequest)
func (*ModifyLogsetRequest) FromJsonString ¶
func (r *ModifyLogsetRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyLogsetRequest) ToJsonString ¶
func (r *ModifyLogsetRequest) ToJsonString() string
type ModifyLogsetRequestParams ¶
type ModifyLogsetRequestParams struct { // Logset ID LogsetId *string `json:"LogsetId,omitnil,omitempty" name:"LogsetId"` // Logset name LogsetName *string `json:"LogsetName,omitnil,omitempty" name:"LogsetName"` // Tag key-value pair bound to logset. Up to 10 tag key-value pairs are supported, and a resource can be bound to only one tag key at any time. Tags []*Tag `json:"Tags,omitnil,omitempty" name:"Tags"` }
Predefined struct for user
type ModifyLogsetResponse ¶
type ModifyLogsetResponse struct { *tchttp.BaseResponse Response *ModifyLogsetResponseParams `json:"Response"` }
func NewModifyLogsetResponse ¶
func NewModifyLogsetResponse() (response *ModifyLogsetResponse)
func (*ModifyLogsetResponse) FromJsonString ¶
func (r *ModifyLogsetResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyLogsetResponse) ToJsonString ¶
func (r *ModifyLogsetResponse) ToJsonString() string
type ModifyLogsetResponseParams ¶
type ModifyLogsetResponseParams 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 ModifyMachineGroupRequest ¶
type ModifyMachineGroupRequest struct { *tchttp.BaseRequest // Machine group ID GroupId *string `json:"GroupId,omitnil,omitempty" name:"GroupId"` // Machine group name GroupName *string `json:"GroupName,omitnil,omitempty" name:"GroupName"` // Machine group type MachineGroupType *MachineGroupTypeInfo `json:"MachineGroupType,omitnil,omitempty" name:"MachineGroupType"` // Tag list Tags []*Tag `json:"Tags,omitnil,omitempty" name:"Tags"` // Whether to enable automatic update for the machine group AutoUpdate *bool `json:"AutoUpdate,omitnil,omitempty" name:"AutoUpdate"` // Update start time. We recommend you update LogListener during off-peak hours. UpdateStartTime *string `json:"UpdateStartTime,omitnil,omitempty" name:"UpdateStartTime"` // Update end time. We recommend you update LogListener during off-peak hours. UpdateEndTime *string `json:"UpdateEndTime,omitnil,omitempty" name:"UpdateEndTime"` // Whether to enable the service log to record the logs generated by the LogListener service itself. After it is enabled, the internal logset `cls_service_logging` and the `loglistener_status`, `loglistener_alarm`, and `loglistener_business` log topics will be created, which will not incur fees. ServiceLogging *bool `json:"ServiceLogging,omitnil,omitempty" name:"ServiceLogging"` // Regular offline cleaning time for machines in machine group DelayCleanupTime *int64 `json:"DelayCleanupTime,omitnil,omitempty" name:"DelayCleanupTime"` // Metadata information list of a machine group MetaTags []*MetaTagInfo `json:"MetaTags,omitnil,omitempty" name:"MetaTags"` }
func NewModifyMachineGroupRequest ¶
func NewModifyMachineGroupRequest() (request *ModifyMachineGroupRequest)
func (*ModifyMachineGroupRequest) FromJsonString ¶
func (r *ModifyMachineGroupRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyMachineGroupRequest) ToJsonString ¶
func (r *ModifyMachineGroupRequest) ToJsonString() string
type ModifyMachineGroupRequestParams ¶
type ModifyMachineGroupRequestParams struct { // Machine group ID GroupId *string `json:"GroupId,omitnil,omitempty" name:"GroupId"` // Machine group name GroupName *string `json:"GroupName,omitnil,omitempty" name:"GroupName"` // Machine group type MachineGroupType *MachineGroupTypeInfo `json:"MachineGroupType,omitnil,omitempty" name:"MachineGroupType"` // Tag list Tags []*Tag `json:"Tags,omitnil,omitempty" name:"Tags"` // Whether to enable automatic update for the machine group AutoUpdate *bool `json:"AutoUpdate,omitnil,omitempty" name:"AutoUpdate"` // Update start time. We recommend you update LogListener during off-peak hours. UpdateStartTime *string `json:"UpdateStartTime,omitnil,omitempty" name:"UpdateStartTime"` // Update end time. We recommend you update LogListener during off-peak hours. UpdateEndTime *string `json:"UpdateEndTime,omitnil,omitempty" name:"UpdateEndTime"` // Whether to enable the service log to record the logs generated by the LogListener service itself. After it is enabled, the internal logset `cls_service_logging` and the `loglistener_status`, `loglistener_alarm`, and `loglistener_business` log topics will be created, which will not incur fees. ServiceLogging *bool `json:"ServiceLogging,omitnil,omitempty" name:"ServiceLogging"` // Regular offline cleaning time for machines in machine group DelayCleanupTime *int64 `json:"DelayCleanupTime,omitnil,omitempty" name:"DelayCleanupTime"` // Metadata information list of a machine group MetaTags []*MetaTagInfo `json:"MetaTags,omitnil,omitempty" name:"MetaTags"` }
Predefined struct for user
type ModifyMachineGroupResponse ¶
type ModifyMachineGroupResponse struct { *tchttp.BaseResponse Response *ModifyMachineGroupResponseParams `json:"Response"` }
func NewModifyMachineGroupResponse ¶
func NewModifyMachineGroupResponse() (response *ModifyMachineGroupResponse)
func (*ModifyMachineGroupResponse) FromJsonString ¶
func (r *ModifyMachineGroupResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyMachineGroupResponse) ToJsonString ¶
func (r *ModifyMachineGroupResponse) ToJsonString() string
type ModifyMachineGroupResponseParams ¶
type ModifyMachineGroupResponseParams 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 ModifyScheduledSqlRequest ¶
type ModifyScheduledSqlRequest struct { *tchttp.BaseRequest // Task ID TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"` // Source log topic SrcTopicId *string `json:"SrcTopicId,omitnil,omitempty" name:"SrcTopicId"` // Task start status. 1: Enabled, 2: Disabled EnableFlag *int64 `json:"EnableFlag,omitnil,omitempty" name:"EnableFlag"` // Target log topic for scheduled SQL analysis DstResource *ScheduledSqlResouceInfo `json:"DstResource,omitnil,omitempty" name:"DstResource"` // Queries statements ScheduledSqlContent *string `json:"ScheduledSqlContent,omitnil,omitempty" name:"ScheduledSqlContent"` // Scheduling interval (minutes) ProcessPeriod *int64 `json:"ProcessPeriod,omitnil,omitempty" name:"ProcessPeriod"` // Time window for a single query. Example: last 15 minutes ProcessTimeWindow *string `json:"ProcessTimeWindow,omitnil,omitempty" name:"ProcessTimeWindow"` // Execution delay (seconds) ProcessDelay *int64 `json:"ProcessDelay,omitnil,omitempty" name:"ProcessDelay"` // Region information of source topic ID SrcTopicRegion *string `json:"SrcTopicRegion,omitnil,omitempty" name:"SrcTopicRegion"` // Task Name Name *string `json:"Name,omitnil,omitempty" name:"Name"` // Syntax rules. Default value: 0. 0: Lucene syntax, 1: CQL syntax SyntaxRule *uint64 `json:"SyntaxRule,omitnil,omitempty" name:"SyntaxRule"` }
func NewModifyScheduledSqlRequest ¶
func NewModifyScheduledSqlRequest() (request *ModifyScheduledSqlRequest)
func (*ModifyScheduledSqlRequest) FromJsonString ¶
func (r *ModifyScheduledSqlRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyScheduledSqlRequest) ToJsonString ¶
func (r *ModifyScheduledSqlRequest) ToJsonString() string
type ModifyScheduledSqlRequestParams ¶
type ModifyScheduledSqlRequestParams struct { // Task ID TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"` // Source log topic SrcTopicId *string `json:"SrcTopicId,omitnil,omitempty" name:"SrcTopicId"` // Task start status. 1: Enabled, 2: Disabled EnableFlag *int64 `json:"EnableFlag,omitnil,omitempty" name:"EnableFlag"` // Target log topic for scheduled SQL analysis DstResource *ScheduledSqlResouceInfo `json:"DstResource,omitnil,omitempty" name:"DstResource"` // Queries statements ScheduledSqlContent *string `json:"ScheduledSqlContent,omitnil,omitempty" name:"ScheduledSqlContent"` // Scheduling interval (minutes) ProcessPeriod *int64 `json:"ProcessPeriod,omitnil,omitempty" name:"ProcessPeriod"` // Time window for a single query. Example: last 15 minutes ProcessTimeWindow *string `json:"ProcessTimeWindow,omitnil,omitempty" name:"ProcessTimeWindow"` // Execution delay (seconds) ProcessDelay *int64 `json:"ProcessDelay,omitnil,omitempty" name:"ProcessDelay"` // Region information of source topic ID SrcTopicRegion *string `json:"SrcTopicRegion,omitnil,omitempty" name:"SrcTopicRegion"` // Task Name Name *string `json:"Name,omitnil,omitempty" name:"Name"` // Syntax rules. Default value: 0. 0: Lucene syntax, 1: CQL syntax SyntaxRule *uint64 `json:"SyntaxRule,omitnil,omitempty" name:"SyntaxRule"` }
Predefined struct for user
type ModifyScheduledSqlResponse ¶
type ModifyScheduledSqlResponse struct { *tchttp.BaseResponse Response *ModifyScheduledSqlResponseParams `json:"Response"` }
func NewModifyScheduledSqlResponse ¶
func NewModifyScheduledSqlResponse() (response *ModifyScheduledSqlResponse)
func (*ModifyScheduledSqlResponse) FromJsonString ¶
func (r *ModifyScheduledSqlResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyScheduledSqlResponse) ToJsonString ¶
func (r *ModifyScheduledSqlResponse) ToJsonString() string
type ModifyScheduledSqlResponseParams ¶
type ModifyScheduledSqlResponseParams 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 ModifyShipperRequest ¶
type ModifyShipperRequest struct { *tchttp.BaseRequest // Shipping rule ID ShipperId *string `json:"ShipperId,omitnil,omitempty" name:"ShipperId"` // New destination bucket in shipping rule Bucket *string `json:"Bucket,omitnil,omitempty" name:"Bucket"` // New destination directory prefix in shipping rule Prefix *string `json:"Prefix,omitnil,omitempty" name:"Prefix"` // Shipping rule status Status *bool `json:"Status,omitnil,omitempty" name:"Status"` // Shipping rule name ShipperName *string `json:"ShipperName,omitnil,omitempty" name:"ShipperName"` // Shipping time interval in seconds. Default value: 300. Value range: 300 to 900 Interval *uint64 `json:"Interval,omitnil,omitempty" name:"Interval"` // Maximum size of a file to be shipped, in MB. Default value: 256. Value range: 5 to 256 MaxSize *uint64 `json:"MaxSize,omitnil,omitempty" name:"MaxSize"` // Filter rules for shipped logs. Only logs matching the rules can be shipped. All rules are in the AND relationship, and up to five rules can be added. If the array is empty, no filtering will be performed, and all logs will be shipped. FilterRules []*FilterRuleInfo `json:"FilterRules,omitnil,omitempty" name:"FilterRules"` // Partition rule of shipped log, which can be represented in `strftime` time format Partition *string `json:"Partition,omitnil,omitempty" name:"Partition"` // Compression configuration of shipped log Compress *CompressInfo `json:"Compress,omitnil,omitempty" name:"Compress"` // Format configuration of shipped log content Content *ContentInfo `json:"Content,omitnil,omitempty" name:"Content"` // Naming a shipping file. Valid values: `0` (by random number), `1` (by shipping time). Default value: `0`. FilenameMode *uint64 `json:"FilenameMode,omitnil,omitempty" name:"FilenameMode"` // COS bucket type StorageType *string `json:"StorageType,omitnil,omitempty" name:"StorageType"` }
func NewModifyShipperRequest ¶
func NewModifyShipperRequest() (request *ModifyShipperRequest)
func (*ModifyShipperRequest) FromJsonString ¶
func (r *ModifyShipperRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyShipperRequest) ToJsonString ¶
func (r *ModifyShipperRequest) ToJsonString() string
type ModifyShipperRequestParams ¶
type ModifyShipperRequestParams struct { // Shipping rule ID ShipperId *string `json:"ShipperId,omitnil,omitempty" name:"ShipperId"` // New destination bucket in shipping rule Bucket *string `json:"Bucket,omitnil,omitempty" name:"Bucket"` // New destination directory prefix in shipping rule Prefix *string `json:"Prefix,omitnil,omitempty" name:"Prefix"` // Shipping rule status Status *bool `json:"Status,omitnil,omitempty" name:"Status"` // Shipping rule name ShipperName *string `json:"ShipperName,omitnil,omitempty" name:"ShipperName"` // Shipping time interval in seconds. Default value: 300. Value range: 300 to 900 Interval *uint64 `json:"Interval,omitnil,omitempty" name:"Interval"` // Maximum size of a file to be shipped, in MB. Default value: 256. Value range: 5 to 256 MaxSize *uint64 `json:"MaxSize,omitnil,omitempty" name:"MaxSize"` // Filter rules for shipped logs. Only logs matching the rules can be shipped. All rules are in the AND relationship, and up to five rules can be added. If the array is empty, no filtering will be performed, and all logs will be shipped. FilterRules []*FilterRuleInfo `json:"FilterRules,omitnil,omitempty" name:"FilterRules"` // Partition rule of shipped log, which can be represented in `strftime` time format Partition *string `json:"Partition,omitnil,omitempty" name:"Partition"` // Compression configuration of shipped log Compress *CompressInfo `json:"Compress,omitnil,omitempty" name:"Compress"` // Format configuration of shipped log content Content *ContentInfo `json:"Content,omitnil,omitempty" name:"Content"` // Naming a shipping file. Valid values: `0` (by random number), `1` (by shipping time). Default value: `0`. FilenameMode *uint64 `json:"FilenameMode,omitnil,omitempty" name:"FilenameMode"` // COS bucket type StorageType *string `json:"StorageType,omitnil,omitempty" name:"StorageType"` }
Predefined struct for user
type ModifyShipperResponse ¶
type ModifyShipperResponse struct { *tchttp.BaseResponse Response *ModifyShipperResponseParams `json:"Response"` }
func NewModifyShipperResponse ¶
func NewModifyShipperResponse() (response *ModifyShipperResponse)
func (*ModifyShipperResponse) FromJsonString ¶
func (r *ModifyShipperResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyShipperResponse) ToJsonString ¶
func (r *ModifyShipperResponse) ToJsonString() string
type ModifyShipperResponseParams ¶
type ModifyShipperResponseParams 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 ModifyTopicRequest ¶
type ModifyTopicRequest struct { *tchttp.BaseRequest // Log topic ID TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"` // Log topic name TopicName *string `json:"TopicName,omitnil,omitempty" name:"TopicName"` // Tag description list. This parameter is used to bind a tag to a log topic. Up to 10 tag key-value pairs are supported, and they must be unique. Tags []*Tag `json:"Tags,omitnil,omitempty" name:"Tags"` // Whether the topic has log collection enabled. true: collection enabled; false: collection disabled.The console currently does not support modifying this parameter. Status *bool `json:"Status,omitnil,omitempty" name:"Status"` // Whether to enable automatic split AutoSplit *bool `json:"AutoSplit,omitnil,omitempty" name:"AutoSplit"` // Maximum number of partitions to split into for this topic if automatic split is enabled MaxSplitPartitions *int64 `json:"MaxSplitPartitions,omitnil,omitempty" name:"MaxSplitPartitions"` // Lifecycle in days. Value range: 1 to 3600 (STANDARD storage); 7 to 3600 (IA storage). 3640 indicates permanent retention. Period *int64 `json:"Period,omitnil,omitempty" name:"Period"` // Log topic description Describes *string `json:"Describes,omitnil,omitempty" name:"Describes"` // `0`: Disable log transitioning. // A value other than `0`: The number of STANDARD storage days after log transitioning is enabled (valid only if `StorageType` is `hot`). Note: `HotPeriod` should be greater than or equal to `7` and less than `Period`. HotPeriod *uint64 `json:"HotPeriod,omitnil,omitempty" name:"HotPeriod"` // Free authentication switch. false: disabled; true: enabled.Once enabled, it will support specified operations for anonymous access to this log topic. For details, please see [log Topic](https://intl.cloud.tencent.com/document/product/614/41035?from_cn_redirect=1). IsWebTracking *bool `json:"IsWebTracking,omitnil,omitempty" name:"IsWebTracking"` }
func NewModifyTopicRequest ¶
func NewModifyTopicRequest() (request *ModifyTopicRequest)
func (*ModifyTopicRequest) FromJsonString ¶
func (r *ModifyTopicRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyTopicRequest) ToJsonString ¶
func (r *ModifyTopicRequest) ToJsonString() string
type ModifyTopicRequestParams ¶
type ModifyTopicRequestParams struct { // Log topic ID TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"` // Log topic name TopicName *string `json:"TopicName,omitnil,omitempty" name:"TopicName"` // Tag description list. This parameter is used to bind a tag to a log topic. Up to 10 tag key-value pairs are supported, and they must be unique. Tags []*Tag `json:"Tags,omitnil,omitempty" name:"Tags"` // Whether the topic has log collection enabled. true: collection enabled; false: collection disabled.The console currently does not support modifying this parameter. Status *bool `json:"Status,omitnil,omitempty" name:"Status"` // Whether to enable automatic split AutoSplit *bool `json:"AutoSplit,omitnil,omitempty" name:"AutoSplit"` // Maximum number of partitions to split into for this topic if automatic split is enabled MaxSplitPartitions *int64 `json:"MaxSplitPartitions,omitnil,omitempty" name:"MaxSplitPartitions"` // Lifecycle in days. Value range: 1 to 3600 (STANDARD storage); 7 to 3600 (IA storage). 3640 indicates permanent retention. Period *int64 `json:"Period,omitnil,omitempty" name:"Period"` // Log topic description Describes *string `json:"Describes,omitnil,omitempty" name:"Describes"` // `0`: Disable log transitioning. // A value other than `0`: The number of STANDARD storage days after log transitioning is enabled (valid only if `StorageType` is `hot`). Note: `HotPeriod` should be greater than or equal to `7` and less than `Period`. HotPeriod *uint64 `json:"HotPeriod,omitnil,omitempty" name:"HotPeriod"` // Free authentication switch. false: disabled; true: enabled.Once enabled, it will support specified operations for anonymous access to this log topic. For details, please see [log Topic](https://intl.cloud.tencent.com/document/product/614/41035?from_cn_redirect=1). IsWebTracking *bool `json:"IsWebTracking,omitnil,omitempty" name:"IsWebTracking"` }
Predefined struct for user
type ModifyTopicResponse ¶
type ModifyTopicResponse struct { *tchttp.BaseResponse Response *ModifyTopicResponseParams `json:"Response"` }
func NewModifyTopicResponse ¶
func NewModifyTopicResponse() (response *ModifyTopicResponse)
func (*ModifyTopicResponse) FromJsonString ¶
func (r *ModifyTopicResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyTopicResponse) ToJsonString ¶
func (r *ModifyTopicResponse) ToJsonString() string
type ModifyTopicResponseParams ¶
type ModifyTopicResponseParams 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 MonitorTime ¶
type MonitorTime struct { // Valid values: // <br><li> `Period`: periodic execution // <br><li> `Fixed`: scheduled execution Type *string `json:"Type,omitnil,omitempty" name:"Type"` // Execution interval or scheduled time point in minutes. Value range: 1–1440. Time *int64 `json:"Time,omitnil,omitempty" name:"Time"` }
type MultiCondition ¶
type MultiCondition struct { // Trigger condition.Note: This field may return null, indicating that no valid values can be obtained. Condition *string `json:"Condition,omitnil,omitempty" name:"Condition"` // Alarm severity. 0: Warning (Warn); 1: Reminder (Info); 2: Urgent (Critical).<li> If not specified, the default is 0. // Note: This field may return null, indicating that no valid values can be obtained. AlarmLevel *uint64 `json:"AlarmLevel,omitnil,omitempty" name:"AlarmLevel"` }
type MultiTopicSearchInformation ¶
type MultiTopicSearchInformation struct { // ID of the log topic to be searched for TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"` // You can pass through the `Context` value (validity: 1 hour) returned by the last API to continue to get logs, which can get up to 10,000 raw logs. Context *string `json:"Context,omitnil,omitempty" name:"Context"` }
type NoticeReceiver ¶
type NoticeReceiver struct { // Recipient type. Valid values: // <br><li> `Uin`: user ID // <br><li> `Group`: user group ID // Currently, other recipient types are not supported. ReceiverType *string `json:"ReceiverType,omitnil,omitempty" name:"ReceiverType"` // Recipient ReceiverIds []*int64 `json:"ReceiverIds,omitnil,omitempty" name:"ReceiverIds"` // Notification method // <br><li> `Email`: email // <br><li> `Sms`: SMS // <br><li> `WeChat`: WeChat // <br><li> `Phone`: phone ReceiverChannels []*string `json:"ReceiverChannels,omitnil,omitempty" name:"ReceiverChannels"` // Start time for allowed message receipt StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"` // End time for allowed message receipt EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"` // Index Index *int64 `json:"Index,omitnil,omitempty" name:"Index"` }
type NoticeRule ¶
type NoticeRule struct { // Alarms notification template recipient informationNote: This field may return null, indicating that no valid values can be obtained. NoticeReceivers []*NoticeReceiver `json:"NoticeReceivers,omitnil,omitempty" name:"NoticeReceivers"` // Alarms notification template callback informationNote: This field may return null, indicating that no valid values can be obtained. WebCallbacks []*WebCallback `json:"WebCallbacks,omitnil,omitempty" name:"WebCallbacks"` // Matching rules. // Note: This field may return null, indicating that no valid values can be obtained. Rule *string `json:"Rule,omitnil,omitempty" name:"Rule"` }
type OpenKafkaConsumerRequest ¶
type OpenKafkaConsumerRequest struct { *tchttp.BaseRequest // Log Topic ID FromTopicId *string `json:"FromTopicId,omitnil,omitempty" name:"FromTopicId"` // Compression mode. Valid values: `0` (no compression); `2` (snappy); `3` (LZ4) Compression *int64 `json:"Compression,omitnil,omitempty" name:"Compression"` // Kafka consumer data format ConsumerContent *KafkaConsumerContent `json:"ConsumerContent,omitnil,omitempty" name:"ConsumerContent"` }
func NewOpenKafkaConsumerRequest ¶
func NewOpenKafkaConsumerRequest() (request *OpenKafkaConsumerRequest)
func (*OpenKafkaConsumerRequest) FromJsonString ¶
func (r *OpenKafkaConsumerRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*OpenKafkaConsumerRequest) ToJsonString ¶
func (r *OpenKafkaConsumerRequest) ToJsonString() string
type OpenKafkaConsumerRequestParams ¶
type OpenKafkaConsumerRequestParams struct { // Log Topic ID FromTopicId *string `json:"FromTopicId,omitnil,omitempty" name:"FromTopicId"` // Compression mode. Valid values: `0` (no compression); `2` (snappy); `3` (LZ4) Compression *int64 `json:"Compression,omitnil,omitempty" name:"Compression"` // Kafka consumer data format ConsumerContent *KafkaConsumerContent `json:"ConsumerContent,omitnil,omitempty" name:"ConsumerContent"` }
Predefined struct for user
type OpenKafkaConsumerResponse ¶
type OpenKafkaConsumerResponse struct { *tchttp.BaseResponse Response *OpenKafkaConsumerResponseParams `json:"Response"` }
func NewOpenKafkaConsumerResponse ¶
func NewOpenKafkaConsumerResponse() (response *OpenKafkaConsumerResponse)
func (*OpenKafkaConsumerResponse) FromJsonString ¶
func (r *OpenKafkaConsumerResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*OpenKafkaConsumerResponse) ToJsonString ¶
func (r *OpenKafkaConsumerResponse) ToJsonString() string
type OpenKafkaConsumerResponseParams ¶
type OpenKafkaConsumerResponseParams struct { // Topic Parameter used by KafkaConsumer during consumption TopicID *string `json:"TopicID,omitnil,omitempty" name:"TopicID"` // 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 ParquetInfo ¶
type ParquetInfo struct { // `ParquetKeyInfo` array ParquetKeyInfo []*ParquetKeyInfo `json:"ParquetKeyInfo,omitnil,omitempty" name:"ParquetKeyInfo"` }
type ParquetKeyInfo ¶
type ParquetKeyInfo struct { // Key name KeyName *string `json:"KeyName,omitnil,omitempty" name:"KeyName"` // Supported data types: string, boolean, int32, int64, float, and double KeyType *string `json:"KeyType,omitnil,omitempty" name:"KeyType"` // Assignment information returned upon resolution failure // Note: This field may return `null`, indicating that no valid value can be obtained. KeyNonExistingField *string `json:"KeyNonExistingField,omitnil,omitempty" name:"KeyNonExistingField"` }
type PartitionInfo ¶
type PartitionInfo struct { // Partition ID PartitionId *int64 `json:"PartitionId,omitnil,omitempty" name:"PartitionId"` // Partition status. Valid values: `readwrite`, `readonly` Status *string `json:"Status,omitnil,omitempty" name:"Status"` // Partition hash start key InclusiveBeginKey *string `json:"InclusiveBeginKey,omitnil,omitempty" name:"InclusiveBeginKey"` // Partition hash end key ExclusiveEndKey *string `json:"ExclusiveEndKey,omitnil,omitempty" name:"ExclusiveEndKey"` // Partition creation time CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"` // Last modified of read-only partition // Note: this field may return `null`, indicating that no valid values can be obtained. LastWriteTime *string `json:"LastWriteTime,omitnil,omitempty" name:"LastWriteTime"` }
type PreviewKafkaRechargeRequest ¶
type PreviewKafkaRechargeRequest struct { *tchttp.BaseRequest // Preview type. Valid values: 1 (source data preview) and 2 (result preview). PreviewType *uint64 `json:"PreviewType,omitnil,omitempty" name:"PreviewType"` // Kafka type. Valid values: 0 (Tencent Cloud CKafka) and 1 (customer's Kafka) KafkaType *uint64 `json:"KafkaType,omitnil,omitempty" name:"KafkaType"` // List of Kafka-related topics that the user needs to import, separated by commas. Supports up to 100 topics. UserKafkaTopics *string `json:"UserKafkaTopics,omitnil,omitempty" name:"UserKafkaTopics"` // Position for data import. Valid values: -2 (earliest, default) and -1 (latest). Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Tencent Cloud CKafka instance ID. // KafkaInstance is required when KafkaType is 0 KafkaInstance *string `json:"KafkaInstance,omitnil,omitempty" name:"KafkaInstance"` // Service AddressServerAddr is required when KafkaType is 1 ServerAddr *string `json:"ServerAddr,omitnil,omitempty" name:"ServerAddr"` // Whether ServerAddr is a secure connection. // Valid when KafkaType is 1. IsEncryptionAddr *bool `json:"IsEncryptionAddr,omitnil,omitempty" name:"IsEncryptionAddr"` // Encrypted Access ProtocolWhen KafkaType is 1 and IsEncryptionAddr is true, Protocol is required Protocol *KafkaProtocolInfo `json:"Protocol,omitnil,omitempty" name:"Protocol"` // Kafka consumer group name ConsumerGroupName *string `json:"ConsumerGroupName,omitnil,omitempty" name:"ConsumerGroupName"` // Log import rule LogRechargeRule *LogRechargeRuleInfo `json:"LogRechargeRule,omitnil,omitempty" name:"LogRechargeRule"` }
func NewPreviewKafkaRechargeRequest ¶
func NewPreviewKafkaRechargeRequest() (request *PreviewKafkaRechargeRequest)
func (*PreviewKafkaRechargeRequest) FromJsonString ¶
func (r *PreviewKafkaRechargeRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*PreviewKafkaRechargeRequest) ToJsonString ¶
func (r *PreviewKafkaRechargeRequest) ToJsonString() string
type PreviewKafkaRechargeRequestParams ¶
type PreviewKafkaRechargeRequestParams struct { // Preview type. Valid values: 1 (source data preview) and 2 (result preview). PreviewType *uint64 `json:"PreviewType,omitnil,omitempty" name:"PreviewType"` // Kafka type. Valid values: 0 (Tencent Cloud CKafka) and 1 (customer's Kafka) KafkaType *uint64 `json:"KafkaType,omitnil,omitempty" name:"KafkaType"` // List of Kafka-related topics that the user needs to import, separated by commas. Supports up to 100 topics. UserKafkaTopics *string `json:"UserKafkaTopics,omitnil,omitempty" name:"UserKafkaTopics"` // Position for data import. Valid values: -2 (earliest, default) and -1 (latest). Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Tencent Cloud CKafka instance ID. // KafkaInstance is required when KafkaType is 0 KafkaInstance *string `json:"KafkaInstance,omitnil,omitempty" name:"KafkaInstance"` // Service AddressServerAddr is required when KafkaType is 1 ServerAddr *string `json:"ServerAddr,omitnil,omitempty" name:"ServerAddr"` // Whether ServerAddr is a secure connection. // Valid when KafkaType is 1. IsEncryptionAddr *bool `json:"IsEncryptionAddr,omitnil,omitempty" name:"IsEncryptionAddr"` // Encrypted Access ProtocolWhen KafkaType is 1 and IsEncryptionAddr is true, Protocol is required Protocol *KafkaProtocolInfo `json:"Protocol,omitnil,omitempty" name:"Protocol"` // Kafka consumer group name ConsumerGroupName *string `json:"ConsumerGroupName,omitnil,omitempty" name:"ConsumerGroupName"` // Log import rule LogRechargeRule *LogRechargeRuleInfo `json:"LogRechargeRule,omitnil,omitempty" name:"LogRechargeRule"` }
Predefined struct for user
type PreviewKafkaRechargeResponse ¶
type PreviewKafkaRechargeResponse struct { *tchttp.BaseResponse Response *PreviewKafkaRechargeResponseParams `json:"Response"` }
func NewPreviewKafkaRechargeResponse ¶
func NewPreviewKafkaRechargeResponse() (response *PreviewKafkaRechargeResponse)
func (*PreviewKafkaRechargeResponse) FromJsonString ¶
func (r *PreviewKafkaRechargeResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*PreviewKafkaRechargeResponse) ToJsonString ¶
func (r *PreviewKafkaRechargeResponse) ToJsonString() string
type PreviewKafkaRechargeResponseParams ¶
type PreviewKafkaRechargeResponseParams struct { // Log sample, which is returned when `PreviewType` is set to `2` LogSample *string `json:"LogSample,omitnil,omitempty" name:"LogSample"` // Log preview result // Note: This field may return null, indicating that no valid values can be obtained. LogData *string `json:"LogData,omitnil,omitempty" name:"LogData"` // 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 PreviewLogStatistic ¶
type PreviewLogStatistic struct { // Log content LogContent *string `json:"LogContent,omitnil,omitempty" name:"LogContent"` // Line number LineNum *int64 `json:"LineNum,omitnil,omitempty" name:"LineNum"` // Target log topic DstTopicId *string `json:"DstTopicId,omitnil,omitempty" name:"DstTopicId"` // Error code. An empty string "" indicates no error. FailReason *string `json:"FailReason,omitnil,omitempty" name:"FailReason"` // Log timestamp Time *string `json:"Time,omitnil,omitempty" name:"Time"` // Target topic name // Note: This field may return null, indicating that no valid values can be obtained. DstTopicName *string `json:"DstTopicName,omitnil,omitempty" name:"DstTopicName"` }
type QueryMetricRequest ¶
type QueryMetricRequest struct { *tchttp.BaseRequest // Query statement, using PromQL syntax Query *string `json:"Query,omitnil,omitempty" name:"Query"` // Metric Topic ID TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"` // Query time, Unix Timestamp in seconds Time *uint64 `json:"Time,omitnil,omitempty" name:"Time"` }
func NewQueryMetricRequest ¶
func NewQueryMetricRequest() (request *QueryMetricRequest)
func (*QueryMetricRequest) FromJsonString ¶
func (r *QueryMetricRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*QueryMetricRequest) ToJsonString ¶
func (r *QueryMetricRequest) ToJsonString() string
type QueryMetricRequestParams ¶
type QueryMetricRequestParams struct { // Query statement, using PromQL syntax Query *string `json:"Query,omitnil,omitempty" name:"Query"` // Metric Topic ID TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"` // Query time, Unix Timestamp in seconds Time *uint64 `json:"Time,omitnil,omitempty" name:"Time"` }
Predefined struct for user
type QueryMetricResponse ¶
type QueryMetricResponse struct { *tchttp.BaseResponse Response *QueryMetricResponseParams `json:"Response"` }
func NewQueryMetricResponse ¶
func NewQueryMetricResponse() (response *QueryMetricResponse)
func (*QueryMetricResponse) FromJsonString ¶
func (r *QueryMetricResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*QueryMetricResponse) ToJsonString ¶
func (r *QueryMetricResponse) ToJsonString() string
type QueryMetricResponseParams ¶
type QueryMetricResponseParams struct { // Metric Query Result Type ResultType *string `json:"ResultType,omitnil,omitempty" name:"ResultType"` // Metric Query Result Result *string `json:"Result,omitnil,omitempty" name:"Result"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type QueryRangeMetricRequest ¶
type QueryRangeMetricRequest struct { *tchttp.BaseRequest // Metric Topic ID TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"` // Queries statements; using PromQL syntax Query *string `json:"Query,omitnil,omitempty" name:"Query"` // Queries start time; unix timestamp in seconds Start *uint64 `json:"Start,omitnil,omitempty" name:"Start"` // Queries end time; unix timestamp in seconds End *uint64 `json:"End,omitnil,omitempty" name:"End"` // Queries time interval, in seconds Step *uint64 `json:"Step,omitnil,omitempty" name:"Step"` }
func NewQueryRangeMetricRequest ¶
func NewQueryRangeMetricRequest() (request *QueryRangeMetricRequest)
func (*QueryRangeMetricRequest) FromJsonString ¶
func (r *QueryRangeMetricRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*QueryRangeMetricRequest) ToJsonString ¶
func (r *QueryRangeMetricRequest) ToJsonString() string
type QueryRangeMetricRequestParams ¶
type QueryRangeMetricRequestParams struct { // Metric Topic ID TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"` // Queries statements; using PromQL syntax Query *string `json:"Query,omitnil,omitempty" name:"Query"` // Queries start time; unix timestamp in seconds Start *uint64 `json:"Start,omitnil,omitempty" name:"Start"` // Queries end time; unix timestamp in seconds End *uint64 `json:"End,omitnil,omitempty" name:"End"` // Queries time interval, in seconds Step *uint64 `json:"Step,omitnil,omitempty" name:"Step"` }
Predefined struct for user
type QueryRangeMetricResponse ¶
type QueryRangeMetricResponse struct { *tchttp.BaseResponse Response *QueryRangeMetricResponseParams `json:"Response"` }
func NewQueryRangeMetricResponse ¶
func NewQueryRangeMetricResponse() (response *QueryRangeMetricResponse)
func (*QueryRangeMetricResponse) FromJsonString ¶
func (r *QueryRangeMetricResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*QueryRangeMetricResponse) ToJsonString ¶
func (r *QueryRangeMetricResponse) ToJsonString() string
type QueryRangeMetricResponseParams ¶
type QueryRangeMetricResponseParams struct { // Metric Query Result Type ResultType *string `json:"ResultType,omitnil,omitempty" name:"ResultType"` // Metric Query Result Result *string `json:"Result,omitnil,omitempty" name:"Result"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type RetryShipperTaskRequest ¶
type RetryShipperTaskRequest struct { *tchttp.BaseRequest // Shipping rule ID ShipperId *string `json:"ShipperId,omitnil,omitempty" name:"ShipperId"` // Shipping task ID TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"` }
func NewRetryShipperTaskRequest ¶
func NewRetryShipperTaskRequest() (request *RetryShipperTaskRequest)
func (*RetryShipperTaskRequest) FromJsonString ¶
func (r *RetryShipperTaskRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*RetryShipperTaskRequest) ToJsonString ¶
func (r *RetryShipperTaskRequest) ToJsonString() string
type RetryShipperTaskRequestParams ¶
type RetryShipperTaskRequestParams struct { // Shipping rule ID ShipperId *string `json:"ShipperId,omitnil,omitempty" name:"ShipperId"` // Shipping task ID TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"` }
Predefined struct for user
type RetryShipperTaskResponse ¶
type RetryShipperTaskResponse struct { *tchttp.BaseResponse Response *RetryShipperTaskResponseParams `json:"Response"` }
func NewRetryShipperTaskResponse ¶
func NewRetryShipperTaskResponse() (response *RetryShipperTaskResponse)
func (*RetryShipperTaskResponse) FromJsonString ¶
func (r *RetryShipperTaskResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*RetryShipperTaskResponse) ToJsonString ¶
func (r *RetryShipperTaskResponse) ToJsonString() string
type RetryShipperTaskResponseParams ¶
type RetryShipperTaskResponseParams 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 RuleInfo ¶
type RuleInfo struct { // Full-text index configuration. If empty, full-text indexing is not enabled. // Note: This field may return null, indicating that no valid values can be obtained. FullText *FullTextInfo `json:"FullText,omitnil,omitempty" name:"FullText"` // Key-value index configuration. If empty, key-value indexing is not enabled. // Note: This field may return null, indicating that no valid values can be obtained. KeyValue *RuleKeyValueInfo `json:"KeyValue,omitnil,omitempty" name:"KeyValue"` // Metadata field index configuration. If empty, metadata field indexing is not enabled. // Note: This field may return null, indicating that no valid values can be obtained. Tag *RuleTagInfo `json:"Tag,omitnil,omitempty" name:"Tag"` // Key-value index automatic configuration. If empty, the feature is not enabled.Once enabled, fields within logs are automatically added to the key-value index, including fields added to logs subsequently. // Note: This field may return null, indicating that no valid values can be obtained. DynamicIndex *DynamicIndex `json:"DynamicIndex,omitnil,omitempty" name:"DynamicIndex"` }
type RuleKeyValueInfo ¶
type RuleKeyValueInfo struct { // Case sensitivity CaseSensitive *bool `json:"CaseSensitive,omitnil,omitempty" name:"CaseSensitive"` // Key-value pair information of the index to be created KeyValues []*KeyValueInfo `json:"KeyValues,omitnil,omitempty" name:"KeyValues"` }
type RuleTagInfo ¶
type RuleTagInfo struct { // Case sensitivity CaseSensitive *bool `json:"CaseSensitive,omitnil,omitempty" name:"CaseSensitive"` // Field information in the metafield index configuration KeyValues []*KeyValueInfo `json:"KeyValues,omitnil,omitempty" name:"KeyValues"` }
type ScheduledSqlResouceInfo ¶
type ScheduledSqlResouceInfo struct { // Target topic ID TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"` // Region information for the topic Region *string `json:"Region,omitnil,omitempty" name:"Region"` // Topic type: 0 for log topic, and 1 for metric topic BizType *int64 `json:"BizType,omitnil,omitempty" name:"BizType"` // Metric name. When BizType is 1, MetricName needs to be specified. MetricName *string `json:"MetricName,omitnil,omitempty" name:"MetricName"` // Metric NameWhen BizType is 1, prioritize using the MetricNames field. Multiple metrics can only be filled in the MetricNames field, while it's recommended to fill a single metric in the MetricName field. MetricNames []*string `json:"MetricNames,omitnil,omitempty" name:"MetricNames"` // Metric dimension. Not accept time type. MetricLabels []*string `json:"MetricLabels,omitnil,omitempty" name:"MetricLabels"` // Metric timestamp. The default value is the left time point of the SQL query time range, but you can also specify other fields (The type is uinx time, TimeStamp, and precision millisecond) as the metric timestamp. CustomTime *string `json:"CustomTime,omitnil,omitempty" name:"CustomTime"` // In addition to MetricLabels, this parameter can be used to supplement static dimensions for the metric. // Dimension names must start with a letter or underscore, followed by letters, digits, or underscores, with a length less than or equal to 1024 bytes. CustomMetricLabels []*MetricLabel `json:"CustomMetricLabels,omitnil,omitempty" name:"CustomMetricLabels"` }
type ScheduledSqlTaskInfo ¶
type ScheduledSqlTaskInfo struct { // ScheduledSql task id TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"` // ScheduledSql task name Name *string `json:"Name,omitnil,omitempty" name:"Name"` // Source Log Topic ID SrcTopicId *string `json:"SrcTopicId,omitnil,omitempty" name:"SrcTopicId"` // Source Log Topic Name SrcTopicName *string `json:"SrcTopicName,omitnil,omitempty" name:"SrcTopicName"` // Scheduled SQL analysis of target topic DstResource *ScheduledSqlResouceInfo `json:"DstResource,omitnil,omitempty" name:"DstResource"` // Creation Time CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"` // Task Update Time UpdateTime *string `json:"UpdateTime,omitnil,omitempty" name:"UpdateTime"` // Task status: 1: Running 2: Stop 3: Exception - Source log topic not found 4: Exception - target topic not found5: Access permission issue 6: Internal failure 7: Other faults Status *int64 `json:"Status,omitnil,omitempty" name:"Status"` // Task status: 1 Enabled, 2 Disabled EnableFlag *int64 `json:"EnableFlag,omitnil,omitempty" name:"EnableFlag"` // Queries statements ScheduledSqlContent *string `json:"ScheduledSqlContent,omitnil,omitempty" name:"ScheduledSqlContent"` // Schedule Start Time ProcessStartTime *string `json:"ProcessStartTime,omitnil,omitempty" name:"ProcessStartTime"` // Schedule Type: 1 Continuous Running 2 Specified Time Range ProcessType *int64 `json:"ProcessType,omitnil,omitempty" name:"ProcessType"` // Schedule End Time, required when process_type=2 ProcessEndTime *string `json:"ProcessEndTime,omitnil,omitempty" name:"ProcessEndTime"` // Scheduling Interval (Minutes) ProcessPeriod *int64 `json:"ProcessPeriod,omitnil,omitempty" name:"ProcessPeriod"` // Query Time Window. @m-15m, @m, meaning the last 15 minutes ProcessTimeWindow *string `json:"ProcessTimeWindow,omitnil,omitempty" name:"ProcessTimeWindow"` // Execution Delay (Seconds) ProcessDelay *int64 `json:"ProcessDelay,omitnil,omitempty" name:"ProcessDelay"` // Source Topic ID Region Information SrcTopicRegion *string `json:"SrcTopicRegion,omitnil,omitempty" name:"SrcTopicRegion"` // Syntax Rules: 0 Lucene syntax, 1 CQL syntaxNote: This field may return null, indicating that no valid values can be obtained. SyntaxRule *uint64 `json:"SyntaxRule,omitnil,omitempty" name:"SyntaxRule"` }
type SearchCosRechargeInfoRequest ¶
type SearchCosRechargeInfoRequest struct { *tchttp.BaseRequest // Log topic ID TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"` // Logset ID LogsetId *string `json:"LogsetId,omitnil,omitempty" name:"LogsetId"` // Delivery Task Name Name *string `json:"Name,omitnil,omitempty" name:"Name"` // COS bucket, see the supported [bucket naming conventions](https://intl.cloud.tencent.com/document/product/436/13312?from_cn_redirect=1). Bucket *string `json:"Bucket,omitnil,omitempty" name:"Bucket"` // The region where the COS bucket is located, see the supported [region list](https://intl.cloud.tencent.com/document/product/436/6224?from_cn_redirect=1). BucketRegion *string `json:"BucketRegion,omitnil,omitempty" name:"BucketRegion"` // The prefix of the folder where COS files are located Prefix *string `json:"Prefix,omitnil,omitempty" name:"Prefix"` // Compression mode: "", "gzip", "lzop", and "snappy". The default mode is "". Compress *string `json:"Compress,omitnil,omitempty" name:"Compress"` }
func NewSearchCosRechargeInfoRequest ¶
func NewSearchCosRechargeInfoRequest() (request *SearchCosRechargeInfoRequest)
func (*SearchCosRechargeInfoRequest) FromJsonString ¶
func (r *SearchCosRechargeInfoRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*SearchCosRechargeInfoRequest) ToJsonString ¶
func (r *SearchCosRechargeInfoRequest) ToJsonString() string
type SearchCosRechargeInfoRequestParams ¶
type SearchCosRechargeInfoRequestParams struct { // Log topic ID TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"` // Logset ID LogsetId *string `json:"LogsetId,omitnil,omitempty" name:"LogsetId"` // Delivery Task Name Name *string `json:"Name,omitnil,omitempty" name:"Name"` // COS bucket, see the supported [bucket naming conventions](https://intl.cloud.tencent.com/document/product/436/13312?from_cn_redirect=1). Bucket *string `json:"Bucket,omitnil,omitempty" name:"Bucket"` // The region where the COS bucket is located, see the supported [region list](https://intl.cloud.tencent.com/document/product/436/6224?from_cn_redirect=1). BucketRegion *string `json:"BucketRegion,omitnil,omitempty" name:"BucketRegion"` // The prefix of the folder where COS files are located Prefix *string `json:"Prefix,omitnil,omitempty" name:"Prefix"` // Compression mode: "", "gzip", "lzop", and "snappy". The default mode is "". Compress *string `json:"Compress,omitnil,omitempty" name:"Compress"` }
Predefined struct for user
type SearchCosRechargeInfoResponse ¶
type SearchCosRechargeInfoResponse struct { *tchttp.BaseResponse Response *SearchCosRechargeInfoResponseParams `json:"Response"` }
func NewSearchCosRechargeInfoResponse ¶
func NewSearchCosRechargeInfoResponse() (response *SearchCosRechargeInfoResponse)
func (*SearchCosRechargeInfoResponse) FromJsonString ¶
func (r *SearchCosRechargeInfoResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*SearchCosRechargeInfoResponse) ToJsonString ¶
func (r *SearchCosRechargeInfoResponse) ToJsonString() string
type SearchCosRechargeInfoResponseParams ¶
type SearchCosRechargeInfoResponseParams struct { // The first few lines of a file under a matched bucketNote: This field may return null, indicating that no valid values can be obtained. Data []*string `json:"Data,omitnil,omitempty" name:"Data"` // Number of files under the matched bucket Sum *uint64 `json:"Sum,omitnil,omitempty" name:"Sum"` // Current preview file path // Note: This field may return null, indicating that no valid values can be obtained. Path *string `json:"Path,omitnil,omitempty" name:"Path"` // Reason for preview data retrieval failureNote: This field may return null, indicating that no valid values can be obtained. Msg *string `json:"Msg,omitnil,omitempty" name:"Msg"` // Status Status *int64 `json:"Status,omitnil,omitempty" name:"Status"` // 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 SearchLogErrors ¶
type SearchLogErrors struct { // Log topic IDNote: This field may return null, indicating that no valid values can be obtained. TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"` // Error MessageNote: This field may return null, indicating that no valid values can be obtained. ErrorMsg *string `json:"ErrorMsg,omitnil,omitempty" name:"ErrorMsg"` // Error CodeNote: This field may return null, indicating that no valid values can be obtained. ErrorCodeStr *string `json:"ErrorCodeStr,omitnil,omitempty" name:"ErrorCodeStr"` }
type SearchLogInfos ¶
type SearchLogInfos struct { // Log Topic ID TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"` // Log storage lifetime Period *int64 `json:"Period,omitnil,omitempty" name:"Period"` // You can pass through the Context value returned by this API to continue to get more logs. Expire time: 1 hour.Note: This field may return null, indicating that no valid values can be obtained. Context *string `json:"Context,omitnil,omitempty" name:"Context"` }
type SearchLogRequest ¶
type SearchLogRequest struct { *tchttp.BaseRequest // Start time of the log to be searched, which is a Unix timestamp in milliseconds From *int64 `json:"From,omitnil,omitempty" name:"From"` // End time of the log to be searched, which is a Unix timestamp in milliseconds To *int64 `json:"To,omitnil,omitempty" name:"To"` // Search and analysis statement. Maximum length: 12 KB // A statement is in the format of <a href="https://intl.cloud.tencent.com/document/product/614/47044?from_cn_redirect=1" target="_blank">[search criteria]</a> | <a href="https://intl.cloud.tencent.com/document/product/614/44061?from_cn_redirect=1" target="_blank">[SQL statement]</a>. You can omit the pipe symbol <code> | </code> and SQL statement when log analysis is not required. // Queries all logs using * or an empty string Query *string `json:"Query,omitnil,omitempty" name:"Query"` // Retrieval syntax rule, default is 0, recommended to use 1 (CQL syntax).0: Lucene syntax, 1: CQL syntax. // For detailed explanation, refer to <a href="https://intl.cloud.tencent.com/document/product/614/47044?from_cn_redirect=1#RetrievesConditionalRules" target="_blank">Retrieve Syntax Rules</a> SyntaxRule *uint64 `json:"SyntaxRule,omitnil,omitempty" name:"SyntaxRule"` // - The ID of the log topic to be searched for. Only one log topic can be specified. // - To search for multiple log topics at a time, use the `Topics` parameter. TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"` // - The IDs of the log topics (up to 20) to be searched for. // - To search for a single log topic, use the `TopicId` parameter. // - You cannot use both `TopicId` and `Topics`. Topics []*MultiTopicSearchInformation `json:"Topics,omitnil,omitempty" name:"Topics"` // Specifies the number of raw logs returned in a single query, default is 100, maximum is 1000. To obtain subsequent logs, use the Context parameter.Note:* This is only valid when the search and analysis statement (Query) does not contain SQL* Method for specifying SQL result count refers to <a href="https://intl.cloud.tencent.com/document/product/614/58977?from_cn_redirect=1" target="_blank">SQL LIMIT Syntax</a> Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // Time order of the logs returned. Valid values: `asc` (ascending); `desc`: (descending). Default value: `desc` // Notes: // * This parameter is valid only when the query statement (`Query`) does not contain an SQL statement. // * To sort the analysis results, see <a href="https://intl.cloud.tencent.com/document/product/614/58978?from_cn_redirect=1" target="_blank">SQL ORDER BY Syntax</a>. Sort *string `json:"Sort,omitnil,omitempty" name:"Sort"` // Pass the Context value returned by the last API call to retrieve more subsequent logs. A total of up to 10,000 raw logs can be obtained, with an expiration time of 1 hour.Note:* When passing this parameter, do not modify any other parameters except for this one* Only applicable for single log topic retrieval. When retrieving multiple log topics, use the Context in Topics.* This is only valid when the retrieval analysis statement (Query) does not contain SQL. For obtaining subsequent SQL results, refer to <a href="https://intl.cloud.tencent.com/document/product/614/58977?from_cn_redirect=1" target="_blank">SQL LIMIT Syntax</a> Context *string `json:"Context,omitnil,omitempty" name:"Context"` // Indicates whether to sample raw logs before statistical analysis (`Query` includes SQL statements). // `0`: Auto-sample. // `0-1`: Sample by the specified sample rate, such as `0.02`. // `1`: Precise analysis without sampling. // Default value: `1` SamplingRate *float64 `json:"SamplingRate,omitnil,omitempty" name:"SamplingRate"` // If the value is `true`, the new response method will be used, and the output parameters `AnalysisRecords` and `Columns` will be valid. // If the value is `false`, the old response method will be used, and the output parameters `AnalysisResults` and `ColNames` will be valid. // The two response methods differ slightly in terms of encoding format. You are advised to use the new method (`true`). UseNewAnalysis *bool `json:"UseNewAnalysis,omitnil,omitempty" name:"UseNewAnalysis"` }
func NewSearchLogRequest ¶
func NewSearchLogRequest() (request *SearchLogRequest)
func (*SearchLogRequest) FromJsonString ¶
func (r *SearchLogRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*SearchLogRequest) ToJsonString ¶
func (r *SearchLogRequest) ToJsonString() string
type SearchLogRequestParams ¶
type SearchLogRequestParams struct { // Start time of the log to be searched, which is a Unix timestamp in milliseconds From *int64 `json:"From,omitnil,omitempty" name:"From"` // End time of the log to be searched, which is a Unix timestamp in milliseconds To *int64 `json:"To,omitnil,omitempty" name:"To"` // Search and analysis statement. Maximum length: 12 KB // A statement is in the format of <a href="https://intl.cloud.tencent.com/document/product/614/47044?from_cn_redirect=1" target="_blank">[search criteria]</a> | <a href="https://intl.cloud.tencent.com/document/product/614/44061?from_cn_redirect=1" target="_blank">[SQL statement]</a>. You can omit the pipe symbol <code> | </code> and SQL statement when log analysis is not required. // Queries all logs using * or an empty string Query *string `json:"Query,omitnil,omitempty" name:"Query"` // Retrieval syntax rule, default is 0, recommended to use 1 (CQL syntax).0: Lucene syntax, 1: CQL syntax. // For detailed explanation, refer to <a href="https://intl.cloud.tencent.com/document/product/614/47044?from_cn_redirect=1#RetrievesConditionalRules" target="_blank">Retrieve Syntax Rules</a> SyntaxRule *uint64 `json:"SyntaxRule,omitnil,omitempty" name:"SyntaxRule"` // - The ID of the log topic to be searched for. Only one log topic can be specified. // - To search for multiple log topics at a time, use the `Topics` parameter. TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"` // - The IDs of the log topics (up to 20) to be searched for. // - To search for a single log topic, use the `TopicId` parameter. // - You cannot use both `TopicId` and `Topics`. Topics []*MultiTopicSearchInformation `json:"Topics,omitnil,omitempty" name:"Topics"` // Specifies the number of raw logs returned in a single query, default is 100, maximum is 1000. To obtain subsequent logs, use the Context parameter.Note:* This is only valid when the search and analysis statement (Query) does not contain SQL* Method for specifying SQL result count refers to <a href="https://intl.cloud.tencent.com/document/product/614/58977?from_cn_redirect=1" target="_blank">SQL LIMIT Syntax</a> Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // Time order of the logs returned. Valid values: `asc` (ascending); `desc`: (descending). Default value: `desc` // Notes: // * This parameter is valid only when the query statement (`Query`) does not contain an SQL statement. // * To sort the analysis results, see <a href="https://intl.cloud.tencent.com/document/product/614/58978?from_cn_redirect=1" target="_blank">SQL ORDER BY Syntax</a>. Sort *string `json:"Sort,omitnil,omitempty" name:"Sort"` // Pass the Context value returned by the last API call to retrieve more subsequent logs. A total of up to 10,000 raw logs can be obtained, with an expiration time of 1 hour.Note:* When passing this parameter, do not modify any other parameters except for this one* Only applicable for single log topic retrieval. When retrieving multiple log topics, use the Context in Topics.* This is only valid when the retrieval analysis statement (Query) does not contain SQL. For obtaining subsequent SQL results, refer to <a href="https://intl.cloud.tencent.com/document/product/614/58977?from_cn_redirect=1" target="_blank">SQL LIMIT Syntax</a> Context *string `json:"Context,omitnil,omitempty" name:"Context"` // Indicates whether to sample raw logs before statistical analysis (`Query` includes SQL statements). // `0`: Auto-sample. // `0-1`: Sample by the specified sample rate, such as `0.02`. // `1`: Precise analysis without sampling. // Default value: `1` SamplingRate *float64 `json:"SamplingRate,omitnil,omitempty" name:"SamplingRate"` // If the value is `true`, the new response method will be used, and the output parameters `AnalysisRecords` and `Columns` will be valid. // If the value is `false`, the old response method will be used, and the output parameters `AnalysisResults` and `ColNames` will be valid. // The two response methods differ slightly in terms of encoding format. You are advised to use the new method (`true`). UseNewAnalysis *bool `json:"UseNewAnalysis,omitnil,omitempty" name:"UseNewAnalysis"` }
Predefined struct for user
type SearchLogResponse ¶
type SearchLogResponse struct { *tchttp.BaseResponse Response *SearchLogResponseParams `json:"Response"` }
func NewSearchLogResponse ¶
func NewSearchLogResponse() (response *SearchLogResponse)
func (*SearchLogResponse) FromJsonString ¶
func (r *SearchLogResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*SearchLogResponse) ToJsonString ¶
func (r *SearchLogResponse) ToJsonString() string
type SearchLogResponseParams ¶
type SearchLogResponseParams struct { // Pass through the Context value returned by this API, which can access more logs later, with an expiration time of 1 hour.Note:* Applicable only for single log topic searches. When searching multiple log topics, please use the Context in Topics. Context *string `json:"Context,omitnil,omitempty" name:"Context"` // Whether to return all raw log query results. If not, you can use `Context` to continue to get logs. // Note: This parameter is valid only when the query statement (`Query`) does not contain an SQL statement. ListOver *bool `json:"ListOver,omitnil,omitempty" name:"ListOver"` // Whether the returned data is the analysis (SQL) result Analysis *bool `json:"Analysis,omitnil,omitempty" name:"Analysis"` // Raw logs that meet the search conditions // Note: This field may return `null`, indicating that no valid value was found. Results []*LogInfo `json:"Results,omitnil,omitempty" name:"Results"` // Column names of log analysis // This parameter is valid only when `UseNewAnalysis` is `false`. // Note: This field may return `null`, indicating that no valid value was found. ColNames []*string `json:"ColNames,omitnil,omitempty" name:"ColNames"` // Log analysis result // This parameter is valid only when `UseNewAnalysis` is `false`. // Note: This field may return `null`, indicating that no valid value was found. AnalysisResults []*LogItems `json:"AnalysisResults,omitnil,omitempty" name:"AnalysisResults"` // Log analysis result // This parameter is valid only when `UseNewAnalysis` is `true`. // Note: This field may return `null`, indicating that no valid value was found. AnalysisRecords []*string `json:"AnalysisRecords,omitnil,omitempty" name:"AnalysisRecords"` // Column attributes of log analysis // This parameter is valid only when `UseNewAnalysis` is `true`. // Note: This field may return `null`, indicating that no valid value was found. Columns []*Column `json:"Columns,omitnil,omitempty" name:"Columns"` // Sample rate used in this statistical analysis // Note: This field may return null, indicating that no valid values can be obtained. SamplingRate *float64 `json:"SamplingRate,omitnil,omitempty" name:"SamplingRate"` // Refers to the basic information of each log topic when multiple log topics are used for search, such as error messages.Note: This field may return null, indicating that no valid values can be obtained. Topics *SearchLogTopics `json:"Topics,omitnil,omitempty" name:"Topics"` // 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 SearchLogTopics ¶
type SearchLogTopics struct { // Error information for multi-log topic searchNote: This field may return null, indicating that no valid values can be obtained. Errors []*SearchLogErrors `json:"Errors,omitnil,omitempty" name:"Errors"` // Information for each log topic in multi-log topic searchNote: This field may return null, indicating that no valid values can be obtained. Infos []*SearchLogInfos `json:"Infos,omitnil,omitempty" name:"Infos"` }
type ShipperInfo ¶
type ShipperInfo struct { // Shipping rule ID ShipperId *string `json:"ShipperId,omitnil,omitempty" name:"ShipperId"` // Log topic ID TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"` // Bucket address shipped to Bucket *string `json:"Bucket,omitnil,omitempty" name:"Bucket"` // Shipping prefix directory Prefix *string `json:"Prefix,omitnil,omitempty" name:"Prefix"` // Shipping rule name ShipperName *string `json:"ShipperName,omitnil,omitempty" name:"ShipperName"` // Shipping time interval in seconds Interval *uint64 `json:"Interval,omitnil,omitempty" name:"Interval"` // Maximum size of shipped file in MB MaxSize *uint64 `json:"MaxSize,omitnil,omitempty" name:"MaxSize"` // Whether it takes effect Status *bool `json:"Status,omitnil,omitempty" name:"Status"` // Filter rule for shipped log // Note: this field may return `null`, indicating that no valid values can be obtained. FilterRules []*FilterRuleInfo `json:"FilterRules,omitnil,omitempty" name:"FilterRules"` // Partition rule of shipped log, which can be represented in `strftime` time format Partition *string `json:"Partition,omitnil,omitempty" name:"Partition"` // Compression configuration of shipped log // Note: this field may return `null`, indicating that no valid values can be obtained. Compress *CompressInfo `json:"Compress,omitnil,omitempty" name:"Compress"` // Format configuration of shipped log content // Note: this field may return `null`, indicating that no valid values can be obtained. Content *ContentInfo `json:"Content,omitnil,omitempty" name:"Content"` // Creation time of shipped log CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"` // Shipping file naming configuration. Valid values: `0` (by random number); `1` (by shipping time). Default value: `0`. // Note: This field may return null, indicating that no valid values can be obtained. FilenameMode *uint64 `json:"FilenameMode,omitnil,omitempty" name:"FilenameMode"` // Start time for data shipping // Note: This field may return null, indicating that no valid values can be obtained. StartTime *int64 `json:"StartTime,omitnil,omitempty" name:"StartTime"` // End time for data shipping // Note: This field may return null, indicating that no valid values can be obtained. EndTime *int64 `json:"EndTime,omitnil,omitempty" name:"EndTime"` // Progress of historical data shipping (valid only when the selected data scope contains historical data) // Note: This field may return null, indicating that no valid values can be obtained. Progress *float64 `json:"Progress,omitnil,omitempty" name:"Progress"` // Remaining time required for shipping all historical data (valid only when the selected data scope contains historical data) // Note: This field may return null, indicating that no valid values can be obtained. RemainTime *int64 `json:"RemainTime,omitnil,omitempty" name:"RemainTime"` // Status of historical data shipping. Valid values: // 0: Real-time data is being shipped. // 1: The system is preparing for historical data shipping. // 2: Historical data is being shipped. // 3: An error occurred while shipping historical data. // 4: Historical data shipping ended. // Note: This field may return null, indicating that no valid values can be obtained. HistoryStatus *int64 `json:"HistoryStatus,omitnil,omitempty" name:"HistoryStatus"` // COS bucket type // Note: This field may return null, indicating that no valid values can be obtained. StorageType *string `json:"StorageType,omitnil,omitempty" name:"StorageType"` }
type ShipperTaskInfo ¶
type ShipperTaskInfo struct { // Shipping task ID TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"` // Shipping information ID ShipperId *string `json:"ShipperId,omitnil,omitempty" name:"ShipperId"` // Log topic ID TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"` // Start timestamp of the current batch of shipped logs in milliseconds RangeStart *int64 `json:"RangeStart,omitnil,omitempty" name:"RangeStart"` // End timestamp of the current batch of shipped logs in milliseconds RangeEnd *int64 `json:"RangeEnd,omitnil,omitempty" name:"RangeEnd"` // Start timestamp of the current shipping task in milliseconds StartTime *int64 `json:"StartTime,omitnil,omitempty" name:"StartTime"` // End timestamp of the current shipping task in milliseconds EndTime *int64 `json:"EndTime,omitnil,omitempty" name:"EndTime"` // Result of the current shipping task. Valid values: `success`, `running`, `failed` Status *string `json:"Status,omitnil,omitempty" name:"Status"` // Result details Message *string `json:"Message,omitnil,omitempty" name:"Message"` }
type SplitPartitionRequest ¶
type SplitPartitionRequest struct { *tchttp.BaseRequest // Log topic ID TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"` // ID of the partition to be split PartitionId *int64 `json:"PartitionId,omitnil,omitempty" name:"PartitionId"` // Partition split hash key position, which is meaningful only if `Number=2` is set SplitKey *string `json:"SplitKey,omitnil,omitempty" name:"SplitKey"` // Number of partitions to split into, which is optional. Default value: 2 Number *int64 `json:"Number,omitnil,omitempty" name:"Number"` }
func NewSplitPartitionRequest ¶
func NewSplitPartitionRequest() (request *SplitPartitionRequest)
func (*SplitPartitionRequest) FromJsonString ¶
func (r *SplitPartitionRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*SplitPartitionRequest) ToJsonString ¶
func (r *SplitPartitionRequest) ToJsonString() string
type SplitPartitionRequestParams ¶
type SplitPartitionRequestParams struct { // Log topic ID TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"` // ID of the partition to be split PartitionId *int64 `json:"PartitionId,omitnil,omitempty" name:"PartitionId"` // Partition split hash key position, which is meaningful only if `Number=2` is set SplitKey *string `json:"SplitKey,omitnil,omitempty" name:"SplitKey"` // Number of partitions to split into, which is optional. Default value: 2 Number *int64 `json:"Number,omitnil,omitempty" name:"Number"` }
Predefined struct for user
type SplitPartitionResponse ¶
type SplitPartitionResponse struct { *tchttp.BaseResponse Response *SplitPartitionResponseParams `json:"Response"` }
func NewSplitPartitionResponse ¶
func NewSplitPartitionResponse() (response *SplitPartitionResponse)
func (*SplitPartitionResponse) FromJsonString ¶
func (r *SplitPartitionResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*SplitPartitionResponse) ToJsonString ¶
func (r *SplitPartitionResponse) ToJsonString() string
type SplitPartitionResponseParams ¶
type SplitPartitionResponseParams struct { // Split result set Partitions []*PartitionInfo `json:"Partitions,omitnil,omitempty" name:"Partitions"` // 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 Tag ¶
type Tag struct { // The tag key. // Note: This field may return null, indicating that no valid values can be obtained. Key *string `json:"Key,omitnil,omitempty" name:"Key"` // The tag value. // Note: This field may return null, indicating that no valid values can be obtained. Value *string `json:"Value,omitnil,omitempty" name:"Value"` }
type TopicExtendInfo ¶
type TopicExtendInfo struct {
AnonymousAccess *AnonymousInfo `json:"AnonymousAccess,omitnil,omitempty" name:"AnonymousAccess"`
}
type TopicInfo ¶
type TopicInfo struct { // Logset ID LogsetId *string `json:"LogsetId,omitnil,omitempty" name:"LogsetId"` // Topic ID TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"` // Topic Name TopicName *string `json:"TopicName,omitnil,omitempty" name:"TopicName"` // Number of topic partitions PartitionCount *int64 `json:"PartitionCount,omitnil,omitempty" name:"PartitionCount"` // Whether the topic has indexing enabled (the topic type must be log topic) Index *bool `json:"Index,omitnil,omitempty" name:"Index"` // Cloud product identifier. When the topic is created by other cloud products, this field displays the name of the cloud product, such as CDN, TKE.Note: This field may return null, indicating that no valid values can be obtained. AssumerName *string `json:"AssumerName,omitnil,omitempty" name:"AssumerName"` // Creation time CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"` // Whether the topic has log collection enabled. true: collection enabled; false: collection disabled.Log collection is enabled by default when creating a log topic, and this field can be modified by calling ModifyTopic through the SDK.The console currently does not support modifying this parameter. Status *bool `json:"Status,omitnil,omitempty" name:"Status"` // Tag information bound to the topicNote: This field may return null, indicating that no valid values can be obtained. Tags []*Tag `json:"Tags,omitnil,omitempty" name:"Tags"` // Whether automatic split is enabled for this topic // Note: this field may return `null`, indicating that no valid values can be obtained. AutoSplit *bool `json:"AutoSplit,omitnil,omitempty" name:"AutoSplit"` // Maximum number of partitions to split into for this topic if automatic split is enabled // Note: this field may return `null`, indicating that no valid values can be obtained. MaxSplitPartitions *int64 `json:"MaxSplitPartitions,omitnil,omitempty" name:"MaxSplitPartitions"` // Storage type of the topicNote: This field may return null, indicating that no valid values can be obtained. StorageType *string `json:"StorageType,omitnil,omitempty" name:"StorageType"` // Lifecycle in days. Value range: 1-3600 (3640 indicates permanent retention) // Note: This field may return `null`, indicating that no valid value was found. Period *int64 `json:"Period,omitnil,omitempty" name:"Period"` // Cloud product sub-identifier. If the log topic is created by another cloud product, this field returns the name of the cloud product and its log type, such as `TKE-Audit` or `TKE-Event`. Some products only return the cloud product identifier (`AssumerName`), without this field. // Note: This field may return null, indicating that no valid values can be obtained. SubAssumerName *string `json:"SubAssumerName,omitnil,omitempty" name:"SubAssumerName"` // Topic description // Note: This field may return null, indicating that no valid values can be obtained. Describes *string `json:"Describes,omitnil,omitempty" name:"Describes"` // Enable log sinking, with the lifecycle of standard storage, where hotPeriod < Period.For standard storage, hotPeriod is used, and for infrequent access storage, it is Period-hotPeriod. (The topic type must be a log topic)HotPeriod=0 indicates that log sinking is not enabled. // Note: This field may return null, indicating that no valid values can be obtained. HotPeriod *uint64 `json:"HotPeriod,omitnil,omitempty" name:"HotPeriod"` // Topic type. // - 0: log Topic // - 1: Metric Topic // Note: This field may return null, indicating that no valid values can be obtained. BizType *uint64 `json:"BizType,omitnil,omitempty" name:"BizType"` // Free authentication switch. false: disabled; true: enabled.After enabling, anonymous access to the log topic will be supported for specified operations. For details, please refer to Log Topic (https://intl.cloud.tencent.com/document/product/614/41035?from_cn_redirect=1).Note: This field may return null, indicating that no valid values can be obtained. IsWebTracking *bool `json:"IsWebTracking,omitnil,omitempty" name:"IsWebTracking"` Extends *TopicExtendInfo `json:"Extends,omitnil,omitempty" name:"Extends"` }
type UploadLogRequest ¶
type UploadLogRequest struct { *tchttp.BaseRequest // Topic ID TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"` // Topic partition where data will be written into by `HashKey` HashKey *string `json:"HashKey,omitnil,omitempty" name:"HashKey"` // Compression type CompressType *string `json:"CompressType,omitnil,omitempty" name:"CompressType"` }
func NewUploadLogRequest ¶
func NewUploadLogRequest() (request *UploadLogRequest)
func (*UploadLogRequest) FromJsonString ¶
func (r *UploadLogRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UploadLogRequest) ToJsonString ¶
func (r *UploadLogRequest) ToJsonString() string
type UploadLogRequestParams ¶
type UploadLogRequestParams struct { // Topic ID TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"` // Topic partition where data will be written into by `HashKey` HashKey *string `json:"HashKey,omitnil,omitempty" name:"HashKey"` // Compression type CompressType *string `json:"CompressType,omitnil,omitempty" name:"CompressType"` }
Predefined struct for user
type UploadLogResponse ¶
type UploadLogResponse struct { *tchttp.BaseResponse Response *UploadLogResponseParams `json:"Response"` }
func NewUploadLogResponse ¶
func NewUploadLogResponse() (response *UploadLogResponse)
func (*UploadLogResponse) FromJsonString ¶
func (r *UploadLogResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UploadLogResponse) ToJsonString ¶
func (r *UploadLogResponse) ToJsonString() string
type UploadLogResponseParams ¶
type UploadLogResponseParams 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 ValueInfo ¶
type ValueInfo struct { // Field type. Valid values: `long`, `text`, `double` Type *string `json:"Type,omitnil,omitempty" name:"Type"` // Separator of fields. Each character represents a separator. // Only symbols, \n\t\r, and escape character \ are supported. // `long` and `double` fields need to be null. // Note: \n\t\r can be directly enclosed in double quotes as the input parameter without escaping. When debugging with API Explorer, use the JSON parameter input method to avoid repeated escaping of \n\t\r. Tokenizer *string `json:"Tokenizer,omitnil,omitempty" name:"Tokenizer"` // Whether the analysis feature is enabled for the field SqlFlag *bool `json:"SqlFlag,omitnil,omitempty" name:"SqlFlag"` // Whether Chinese characters are contained. For `long` and `double` fields, set them to `false`. // Note: This field may return null, indicating that no valid values can be obtained. ContainZH *bool `json:"ContainZH,omitnil,omitempty" name:"ContainZH"` }
type WebCallback ¶
type WebCallback struct { // Callback address Url *string `json:"Url,omitnil,omitempty" name:"Url"` // Callback type. Valid values: // <li> WeCom // <li> Http CallbackType *string `json:"CallbackType,omitnil,omitempty" name:"CallbackType"` // Callback method. Valid values: // <li> POST // <li> PUT // Default value: `POST`. This parameter is required if `CallbackType` is `Http`. // Note: This field may return `null`, indicating that no valid value was found. Method *string `json:"Method,omitnil,omitempty" name:"Method"` // Request header // Note: This parameter is disused. To specify request headers, see `CallBack` in <a href="https://intl.cloud.tencent.com/document/product/614/56466?from_cn_redirect=1">CreateAlarmNotice</a>. // Note: This field may return `null`, indicating that no valid value was found. Headers []*string `json:"Headers,omitnil,omitempty" name:"Headers"` // Request content // Note: This parameter is disused. To specify request content, see `CallBack` in <a href="https://intl.cloud.tencent.com/document/product/614/56466?from_cn_redirect=1">CreateAlarmNotice</a>. // Note: This field may return `null`, indicating that no valid value was found. Body *string `json:"Body,omitnil,omitempty" name:"Body"` // Number Index *int64 `json:"Index,omitnil,omitempty" name:"Index"` }