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 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) CreateConfigExtra(request *CreateConfigExtraRequest) (response *CreateConfigExtraResponse, err error)
- func (c *Client) CreateConfigExtraWithContext(ctx context.Context, request *CreateConfigExtraRequest) (response *CreateConfigExtraResponse, 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) CreateDashboardSubscribe(request *CreateDashboardSubscribeRequest) (response *CreateDashboardSubscribeResponse, err error)
- func (c *Client) CreateDashboardSubscribeWithContext(ctx context.Context, request *CreateDashboardSubscribeRequest) (response *CreateDashboardSubscribeResponse, 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) DeleteConfigExtra(request *DeleteConfigExtraRequest) (response *DeleteConfigExtraResponse, err error)
- func (c *Client) DeleteConfigExtraWithContext(ctx context.Context, request *DeleteConfigExtraRequest) (response *DeleteConfigExtraResponse, 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) DeleteDashboardSubscribe(request *DeleteDashboardSubscribeRequest) (response *DeleteDashboardSubscribeResponse, err error)
- func (c *Client) DeleteDashboardSubscribeWithContext(ctx context.Context, request *DeleteDashboardSubscribeRequest) (response *DeleteDashboardSubscribeResponse, 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) DescribeConfigExtras(request *DescribeConfigExtrasRequest) (response *DescribeConfigExtrasResponse, err error)
- func (c *Client) DescribeConfigExtrasWithContext(ctx context.Context, request *DescribeConfigExtrasRequest) (response *DescribeConfigExtrasResponse, 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) DescribeDashboardSubscribes(request *DescribeDashboardSubscribesRequest) (response *DescribeDashboardSubscribesResponse, err error)
- func (c *Client) DescribeDashboardSubscribesWithContext(ctx context.Context, request *DescribeDashboardSubscribesRequest) (response *DescribeDashboardSubscribesResponse, err error)
- func (c *Client) DescribeDashboards(request *DescribeDashboardsRequest) (response *DescribeDashboardsResponse, err error)
- func (c *Client) DescribeDashboardsWithContext(ctx context.Context, request *DescribeDashboardsRequest) (response *DescribeDashboardsResponse, 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) ModifyConfigExtra(request *ModifyConfigExtraRequest) (response *ModifyConfigExtraResponse, err error)
- func (c *Client) ModifyConfigExtraWithContext(ctx context.Context, request *ModifyConfigExtraRequest) (response *ModifyConfigExtraResponse, 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) ModifyDashboardSubscribe(request *ModifyDashboardSubscribeRequest) (response *ModifyDashboardSubscribeResponse, err error)
- func (c *Client) ModifyDashboardSubscribeWithContext(ctx context.Context, request *ModifyDashboardSubscribeRequest) (response *ModifyDashboardSubscribeResponse, 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) SearchDashboardSubscribe(request *SearchDashboardSubscribeRequest) (response *SearchDashboardSubscribeResponse, err error)
- func (c *Client) SearchDashboardSubscribeWithContext(ctx context.Context, request *SearchDashboardSubscribeRequest) (response *SearchDashboardSubscribeResponse, 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 CollectConfig
- type CollectInfo
- type Column
- type CompressInfo
- type ConfigExtraInfo
- type ConfigInfo
- type ConsumerContent
- type ContainerFileInfo
- type ContainerStdoutInfo
- type ContainerWorkLoadInfo
- 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 CreateConfigExtraRequest
- type CreateConfigExtraRequestParams
- type CreateConfigExtraResponse
- type CreateConfigExtraResponseParams
- 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 CreateDashboardSubscribeRequest
- type CreateDashboardSubscribeRequestParams
- type CreateDashboardSubscribeResponse
- type CreateDashboardSubscribeResponseParams
- 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 DashboardInfo
- type DashboardNoticeMode
- type DashboardSubscribeData
- type DashboardTemplateVariable
- type DashboardTopicInfo
- 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 DeleteConfigExtraRequest
- type DeleteConfigExtraRequestParams
- type DeleteConfigExtraResponse
- type DeleteConfigExtraResponseParams
- 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 DeleteDashboardSubscribeRequest
- type DeleteDashboardSubscribeRequestParams
- type DeleteDashboardSubscribeResponse
- type DeleteDashboardSubscribeResponseParams
- 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 DescribeConfigExtrasRequest
- type DescribeConfigExtrasRequestParams
- type DescribeConfigExtrasResponse
- type DescribeConfigExtrasResponseParams
- 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 DescribeDashboardSubscribesRequest
- type DescribeDashboardSubscribesRequestParams
- type DescribeDashboardSubscribesResponse
- type DescribeDashboardSubscribesResponseParams
- type DescribeDashboardsRequest
- type DescribeDashboardsRequestParams
- type DescribeDashboardsResponse
- type DescribeDashboardsResponseParams
- 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 FilePathInfo
- type Filter
- type FilterRuleInfo
- type FullTextInfo
- type GetAlarmLogRequest
- type GetAlarmLogRequestParams
- type GetAlarmLogResponse
- type GetAlarmLogResponseParams
- type GroupTriggerConditionInfo
- type HighLightItem
- type HistogramInfo
- type HostFileInfo
- 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 ModifyConfigExtraRequest
- type ModifyConfigExtraRequestParams
- type ModifyConfigExtraResponse
- type ModifyConfigExtraResponseParams
- 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 ModifyDashboardSubscribeRequest
- type ModifyDashboardSubscribeRequestParams
- type ModifyDashboardSubscribeResponse
- type ModifyDashboardSubscribeResponseParams
- 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 SearchDashboardSubscribeRequest
- type SearchDashboardSubscribeRequestParams
- type SearchDashboardSubscribeResponse
- type SearchDashboardSubscribeResponseParams
- 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 TopicIdAndRegion
- type TopicInfo
- type UploadLogRequest
- type UploadLogRequestParams
- type UploadLogResponse
- type UploadLogResponseParams
- type ValueInfo
- type WebCallback
Constants ¶
const ( // CAM签名/鉴权错误。 AUTHFAILURE = "AuthFailure" // 请求未授权。 AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" // 操作失败。 FAILEDOPERATION = "FailedOperation" // 告警策略通知模板已经绑定到了某个告警策略上。 FAILEDOPERATION_BINDEDALARM = "FailedOperation.BindedAlarm" // 桶内无相应前缀文件,请使用正确的桶、文件前缀和压缩方式。 FAILEDOPERATION_BUCKETNOFILE = "FailedOperation.BucketNoFile" // 文件解压缩失败,请选择正确的压缩方式。 FAILEDOPERATION_DECOMPRESSFILE = "FailedOperation.DecompressFile" // 文件下载失败,请稍后再试。 FAILEDOPERATION_DOWNLOADFILE = "FailedOperation.DownLoadFile" // 获取文件列表失败,请稍后再试。 FAILEDOPERATION_GETLISTFILE = "FailedOperation.GetListFile" // 检索日志触发最大条数限制。 FAILEDOPERATION_GETLOGREACHLIMIT = "FailedOperation.GetlogReachLimit" // 低频不支持配置kv和tag索引。 FAILEDOPERATION_INVALIDINDEXRULEFORSEARCHLOW = "FailedOperation.InValidIndexRuleForSearchLow" // 该告警策略状态异常,请检查下日志主题ID是否都存在。 FAILEDOPERATION_INVALIDALARM = "FailedOperation.InvalidAlarm" // 检索游标已失效或不存在。 FAILEDOPERATION_INVALIDCONTEXT = "FailedOperation.InvalidContext" // 离线存储保存时间不得少于7天。 FAILEDOPERATION_INVALIDPERIOD = "FailedOperation.InvalidPeriod" // 相同的日志集已存在。 FAILEDOPERATION_LOGSETCONFLICT = "FailedOperation.LogsetConflict" // 日志集下存在日志主题。 FAILEDOPERATION_LOGSETNOTEMPTY = "FailedOperation.LogsetNotEmpty" // 无效的Content。 FAILEDOPERATION_MISSINGCONTENT = "FailedOperation.MissingContent" // 修改的生命周期被禁止。 FAILEDOPERATION_PERIODMODIFYFORBIDDEN = "FailedOperation.PeriodModifyForbidden" // 文件预览失败,请稍后再试。 FAILEDOPERATION_PREVIEWFILE = "FailedOperation.PreviewFile" // 查询语句运行失败。 FAILEDOPERATION_QUERYERROR = "FailedOperation.QueryError" // 读取文件内容失败,请确认文件可读。 FAILEDOPERATION_READFILE = "FailedOperation.ReadFile" // 读qps超过限制。 FAILEDOPERATION_READQPSLIMIT = "FailedOperation.ReadQpsLimit" // 查询超时。 FAILEDOPERATION_SEARCHTIMEOUT = "FailedOperation.SearchTimeout" // 投递任务不允许重试。 FAILEDOPERATION_SHIPPERTASKNOTTORETRY = "FailedOperation.ShipperTaskNotToRetry" // 查询语句解析错误。 FAILEDOPERATION_SYNTAXERROR = "FailedOperation.SyntaxError" // 请求标签服务限频。 FAILEDOPERATION_TAGQPSLIMIT = "FailedOperation.TagQpsLimit" // 操作超时 FAILEDOPERATION_TIMEOUT = "FailedOperation.Timeout" // 日志主题已关闭。 FAILEDOPERATION_TOPICCLOSED = "FailedOperation.TopicClosed" // topic创建中 FAILEDOPERATION_TOPICCREATING = "FailedOperation.TopicCreating" // 日志主题已隔离。 FAILEDOPERATION_TOPICISOLATED = "FailedOperation.TopicIsolated" // 写qps超过限制。 FAILEDOPERATION_WRITEQPSLIMIT = "FailedOperation.WriteQpsLimit" // 写流量超过限制。 FAILEDOPERATION_WRITETRAFFICLIMIT = "FailedOperation.WriteTrafficLimit" // 内部错误。 INTERNALERROR = "InternalError" // DB错误。 INTERNALERROR_DBERROR = "InternalError.DbError" // 角色非法。 INTERNALERROR_ILLEGALROLE = "InternalError.IllegalRole" // 检索错误 INTERNALERROR_SEARCHERROR = "InternalError.SearchError" // 检索失败 INTERNALERROR_SEARCHFAILED = "InternalError.SearchFailed" // 参数错误。 INVALIDPARAMETER = "InvalidParameter" // 告警策略已经存在。 INVALIDPARAMETER_ALARMCONFLICT = "InvalidParameter.AlarmConflict" // 告警策略通知模板已经存在。 INVALIDPARAMETER_ALARMNOTICECONFLICT = "InvalidParameter.AlarmNoticeConflict" // 相同的采集配置规则已经存在。 INVALIDPARAMETER_CONFIGCONFLICT = "InvalidParameter.ConfigConflict" // 无效的Content。 INVALIDPARAMETER_CONTENT = "InvalidParameter.Content" // 仪表盘命名冲突。 INVALIDPARAMETER_DASHBOARDNAMECONFLICT = "InvalidParameter.DashboardNameConflict" // 数据加工任务冲突。 INVALIDPARAMETER_DATAFROMTASKCONFLICT = "InvalidParameter.DataFromTaskConflict" // 数据加工任务不存在。 INVALIDPARAMETER_DATAFROMTASKNOTEXIST = "InvalidParameter.DataFromTaskNotExist" // 数据库唯一键冲突。 INVALIDPARAMETER_DBDUPLICATION = "InvalidParameter.DbDuplication" // 导出任务已经存在。 INVALIDPARAMETER_EXPORTCONFLICT = "InvalidParameter.ExportConflict" // 低频不支持配置kv和tag索引。 INVALIDPARAMETER_INVALIDINDEXRULEFORSEARCHLOW = "InvalidParameter.InValidIndexRuleForSearchLow" // 指定日志主题已经存在索引规则。 INVALIDPARAMETER_INDEXCONFLICT = "InvalidParameter.IndexConflict" // 无效的数据加工语句。 INVALIDPARAMETER_INVALIDETLCONTENT = "InvalidParameter.InvalidEtlContent" // 相同的日志集已存在。 INVALIDPARAMETER_LOGSETCONFLICT = "InvalidParameter.LogsetConflict" // 同名机器组已经存在。 INVALIDPARAMETER_MACHINEGROUPCONFLICT = "InvalidParameter.MachineGroupConflict" // 参数错误。 INVALIDPARAMETER_PARAMERROR = "InvalidParameter.ParamError" // 投递规则命名冲突。 INVALIDPARAMETER_SHIPPERCONFLICT = "InvalidParameter.ShipperConflict" // 指定日志集下已经有同名的日志主题。 INVALIDPARAMETER_TOPICCONFLICT = "InvalidParameter.TopicConflict" // 参数取值错误。 INVALIDPARAMETERVALUE = "InvalidParameterValue" // 超过配额限制。 LIMITEXCEEDED = "LimitExceeded" // 采集规则配置超过最大值限制。 LIMITEXCEEDED_CONFIG = "LimitExceeded.Config" // 创建日志导出任务数量超出限制。 LIMITEXCEEDED_EXPORT = "LimitExceeded.Export" // 索引操作超过频率限制。 LIMITEXCEEDED_INDEXOPERATING = "LimitExceeded.IndexOperating" // 并发查询超过限制,单topic并发最大值15。 LIMITEXCEEDED_LOGSEARCH = "LimitExceeded.LogSearch" // 日志大小超过限制。 LIMITEXCEEDED_LOGSIZE = "LimitExceeded.LogSize" // 日志集数量超出限制。 LIMITEXCEEDED_LOGSET = "LimitExceeded.Logset" // 机器组超过限制。 LIMITEXCEEDED_MACHINEGROUP = "LimitExceeded.MachineGroup" // 机器组IP超过限制。 LIMITEXCEEDED_MACHINEGROUPIP = "LimitExceeded.MachineGroupIp" // 机器组Label超过限制。 LIMITEXCEEDED_MACHINEGROUPIPLABELS = "LimitExceeded.MachineGroupIpLabels" // 分区超过限制。 LIMITEXCEEDED_PARTITION = "LimitExceeded.Partition" // 记录超过限制 LIMITEXCEEDED_RECORDOUTOFLIMIT = "LimitExceeded.RecordOutOfLimit" // 检索内存超限。 LIMITEXCEEDED_SEARCHRESOURCES = "LimitExceeded.SearchResources" // 检索接口返回的日志量太大, 超过20MB限制。 LIMITEXCEEDED_SEARCHRESULTTOOLARGE = "LimitExceeded.SearchResultTooLarge" // 投递规则超出限制。 LIMITEXCEEDED_SHIPPER = "LimitExceeded.Shipper" // tag超过限制。 LIMITEXCEEDED_TAG = "LimitExceeded.Tag" // 日志主题数目超过限制。 LIMITEXCEEDED_TOPIC = "LimitExceeded.Topic" // 缺少参数错误。 MISSINGPARAMETER = "MissingParameter" // 操作被拒绝。 OPERATIONDENIED = "OperationDenied" // ACL校验失败。 OPERATIONDENIED_ACLFAILED = "OperationDenied.ACLFailed" // 账户已销毁。 OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" // 账户欠费。 OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" // 账户不存在。 OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists" // 低频不支持告警。 OPERATIONDENIED_ALARMNOTSUPPORTFORSEARCHLOW = "OperationDenied.AlarmNotSupportForSearchLow" // 字段没有开启分析功能。 OPERATIONDENIED_ANALYSISSWITCHCLOSE = "OperationDenied.AnalysisSwitchClose" // 不支持新语法。 OPERATIONDENIED_NEWSYNTAXNOTSUPPORTED = "OperationDenied.NewSyntaxNotSupported" // 通知模板已绑定告警,无法删除。 OPERATIONDENIED_NOTICEHASALARM = "OperationDenied.NoticeHasAlarm" // 操作低频检索不支持。 OPERATIONDENIED_OPERATIONNOTSUPPORTINSEARCHLOW = "OperationDenied.OperationNotSupportInSearchLow" // topic绑定了数据加工。 OPERATIONDENIED_TOPICHASDATAFORMTASK = "OperationDenied.TopicHasDataFormTask" // topic绑定了函数投递。 OPERATIONDENIED_TOPICHASDELIVERFUNCTION = "OperationDenied.TopicHasDeliverFunction" // topic配置有外部数据源配置,不能删除 OPERATIONDENIED_TOPICHASEXTERNALDATASOURCECONFIG = "OperationDenied.TopicHasExternalDatasourceConfig" // topic绑定了scheduleSql任务。 OPERATIONDENIED_TOPICHASSCHEDULESQLTASK = "OperationDenied.TopicHasScheduleSqlTask" // 请求的次数超过了频率限制。 REQUESTLIMITEXCEEDED = "RequestLimitExceeded" // 资源不存在。 RESOURCENOTFOUND = "ResourceNotFound" // agent version不存在。 RESOURCENOTFOUND_AGENTVERSIONNOTEXIST = "ResourceNotFound.AgentVersionNotExist" // 告警策略不存在。 RESOURCENOTFOUND_ALARMNOTEXIST = "ResourceNotFound.AlarmNotExist" // 告警策略通知模板不存在。 RESOURCENOTFOUND_ALARMNOTICENOTEXIST = "ResourceNotFound.AlarmNoticeNotExist" // 指定的采集规则配置不存在。 RESOURCENOTFOUND_CONFIGNOTEXIST = "ResourceNotFound.ConfigNotExist" // 仪表盘记录不存在。 RESOURCENOTFOUND_DASHBOARDRECORDNOTEXIST = "ResourceNotFound.DashboardRecordNotExist" // 仪表盘订阅记录不存在。 RESOURCENOTFOUND_DASHBOARDSUBSCRIBERECORDNOTEXIST = "ResourceNotFound.DashboardSubscribeRecordNotExist" // 数据加工任务不存在。 RESOURCENOTFOUND_DATAFROMTASKNOTEXIST = "ResourceNotFound.DataFromTaskNotExist" // 日志导出不存在。 RESOURCENOTFOUND_EXPORTNOTEXIST = "ResourceNotFound.ExportNotExist" // 索引不存在。 RESOURCENOTFOUND_INDEXNOTEXIST = "ResourceNotFound.IndexNotExist" // 指定的日志集不存在。 RESOURCENOTFOUND_LOGSETNOTEXIST = "ResourceNotFound.LogsetNotExist" // 机器组不存在。 RESOURCENOTFOUND_MACHINEGROUPNOTEXIST = "ResourceNotFound.MachineGroupNotExist" // 分区不存在。 RESOURCENOTFOUND_PARTITIONNOTEXIST = "ResourceNotFound.PartitionNotExist" // 记录不存在 RESOURCENOTFOUND_RECORDNOTEXIST = "ResourceNotFound.RecordNotExist" // 投递规则不存在。 RESOURCENOTFOUND_SHIPPERNOTEXIST = "ResourceNotFound.ShipperNotExist" // 投递任务不存在。 RESOURCENOTFOUND_SHIPPERTASKNOTEXIST = "ResourceNotFound.ShipperTaskNotExist" // 日志主题不存在。 RESOURCENOTFOUND_TOPICNOTEXIST = "ResourceNotFound.TopicNotExist" // 未授权操作。 UNAUTHORIZEDOPERATION = "UnauthorizedOperation" // 未知参数错误。 UNKNOWNPARAMETER = "UnknownParameter" // 操作不支持。 UNSUPPORTEDOPERATION = "UnsupportedOperation" )
const APIVersion = "2020-10-16"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddMachineGroupInfoRequest ¶ added in v1.0.531
type AddMachineGroupInfoRequest struct { *tchttp.BaseRequest // 机器组ID GroupId *string `json:"GroupId,omitnil,omitempty" name:"GroupId"` // 机器组类型 // 目前type支持 ip 和 label MachineGroupType *MachineGroupTypeInfo `json:"MachineGroupType,omitnil,omitempty" name:"MachineGroupType"` }
func NewAddMachineGroupInfoRequest ¶ added in v1.0.531
func NewAddMachineGroupInfoRequest() (request *AddMachineGroupInfoRequest)
func (*AddMachineGroupInfoRequest) FromJsonString ¶ added in v1.0.531
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 ¶ added in v1.0.531
func (r *AddMachineGroupInfoRequest) ToJsonString() string
type AddMachineGroupInfoRequestParams ¶ added in v1.0.531
type AddMachineGroupInfoRequestParams struct { // 机器组ID GroupId *string `json:"GroupId,omitnil,omitempty" name:"GroupId"` // 机器组类型 // 目前type支持 ip 和 label MachineGroupType *MachineGroupTypeInfo `json:"MachineGroupType,omitnil,omitempty" name:"MachineGroupType"` }
Predefined struct for user
type AddMachineGroupInfoResponse ¶ added in v1.0.531
type AddMachineGroupInfoResponse struct { *tchttp.BaseResponse Response *AddMachineGroupInfoResponseParams `json:"Response"` }
func NewAddMachineGroupInfoResponse ¶ added in v1.0.531
func NewAddMachineGroupInfoResponse() (response *AddMachineGroupInfoResponse)
func (*AddMachineGroupInfoResponse) FromJsonString ¶ added in v1.0.531
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 ¶ added in v1.0.531
func (r *AddMachineGroupInfoResponse) ToJsonString() string
type AddMachineGroupInfoResponseParams ¶ added in v1.0.531
type AddMachineGroupInfoResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type AlarmAnalysisConfig ¶ added in v1.0.438
type AlarmAnalysisConfig struct { // 键。支持以下key: // SyntaxRule:语法规则,value支持 0:Lucene语法;1: CQL语法。 // QueryIndex:执行语句序号。value支持 -1:自定义; 1:执行语句1; 2:执行语句2。 // CustomQuery:检索语句。 QueryIndex为-1时有效且必填,value示例: "* | select count(*) as count"。 // Fields:字段。value支持 __SOURCE__;__FILENAME__;__HOSTNAME__;__TIMESTAMP__;__INDEX_STATUS__;__PKG_LOGID__;__TOPIC__。 // Format:显示形式。value支持 1:每条日志一行;2:每条日志每个字段一行。 // Limit:最大日志条数。 value示例: 5。 // 注意:此字段可能返回 null,表示取不到有效值。 Key *string `json:"Key,omitnil,omitempty" name:"Key"` // 值。 // 键对应值如下: // SyntaxRule:语法规则,value支持 0:Lucene语法;1: CQL语法。 // QueryIndex:执行语句序号。value支持 -1:自定义; 1:执行语句1; 2:执行语句2。 // CustomQuery:检索语句。 QueryIndex为-1时有效且必填,value示例: "* | select count(*) as count"。 // Fields:字段。value支持 __SOURCE__;__FILENAME__;__HOSTNAME__;__TIMESTAMP__;__INDEX_STATUS__;__PKG_LOGID__;__TOPIC__。 // Format:显示形式。value支持 1:每条日志一行;2:每条日志每个字段一行。 // Limit:最大日志条数。 value示例: 5。 // 注意:此字段可能返回 null,表示取不到有效值。 Value *string `json:"Value,omitnil,omitempty" name:"Value"` }
type AlarmClassification ¶ added in v1.0.803
type AlarmInfo ¶
type AlarmInfo struct { // 告警策略名称。 Name *string `json:"Name,omitnil,omitempty" name:"Name"` // 监控对象列表。 AlarmTargets []*AlarmTargetInfo `json:"AlarmTargets,omitnil,omitempty" name:"AlarmTargets"` // 监控任务运行时间点。 MonitorTime *MonitorTime `json:"MonitorTime,omitnil,omitempty" name:"MonitorTime"` // 单触发条件。与MultiConditions参数互斥。 Condition *string `json:"Condition,omitnil,omitempty" name:"Condition"` // 持续周期。持续满足触发条件TriggerCount个周期后,再进行告警;最小值为1,最大值为10。 TriggerCount *int64 `json:"TriggerCount,omitnil,omitempty" name:"TriggerCount"` // 告警重复的周期。单位是min。取值范围是0~1440。 AlarmPeriod *int64 `json:"AlarmPeriod,omitnil,omitempty" name:"AlarmPeriod"` // 关联的告警通知模板列表。 AlarmNoticeIds []*string `json:"AlarmNoticeIds,omitnil,omitempty" name:"AlarmNoticeIds"` // 开启状态。 Status *bool `json:"Status,omitnil,omitempty" name:"Status"` // 告警策略ID。 AlarmId *string `json:"AlarmId,omitnil,omitempty" name:"AlarmId"` // 创建时间。 CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"` // 最近更新时间。 UpdateTime *string `json:"UpdateTime,omitnil,omitempty" name:"UpdateTime"` // 自定义通知模板 // 注意:此字段可能返回 null,表示取不到有效值。 MessageTemplate *string `json:"MessageTemplate,omitnil,omitempty" name:"MessageTemplate"` // 自定义回调模板 // 注意:此字段可能返回 null,表示取不到有效值。 CallBack *CallBackInfo `json:"CallBack,omitnil,omitempty" name:"CallBack"` // 多维分析设置 // 注意:此字段可能返回 null,表示取不到有效值。 Analysis []*AnalysisDimensional `json:"Analysis,omitnil,omitempty" name:"Analysis"` // 分组触发状态。1:开启,0:关闭(默认) // 注意:此字段可能返回 null,表示取不到有效值。 GroupTriggerStatus *bool `json:"GroupTriggerStatus,omitnil,omitempty" name:"GroupTriggerStatus"` // 分组触发条件。 // 注意:此字段可能返回 null,表示取不到有效值。 GroupTriggerCondition []*string `json:"GroupTriggerCondition,omitnil,omitempty" name:"GroupTriggerCondition"` // 监控对象类型。0:执行语句共用监控对象;1:每个执行语句单独选择监控对象。 // 注意:此字段可能返回 null,表示取不到有效值。 MonitorObjectType *uint64 `json:"MonitorObjectType,omitnil,omitempty" name:"MonitorObjectType"` // 告警级别。0:警告(Warn);1:提醒(Info);2:紧急 (Critical)。 // 注意:此字段可能返回 null,表示取不到有效值。 AlarmLevel *uint64 `json:"AlarmLevel,omitnil,omitempty" name:"AlarmLevel"` // 多触发条件。与 // Condition互斥。 // 注意:此字段可能返回 null,表示取不到有效值。 MultiConditions []*MultiCondition `json:"MultiConditions,omitnil,omitempty" name:"MultiConditions"` }
type AlarmNotice ¶
type AlarmNotice struct { // 告警通知模板名称。 Name *string `json:"Name,omitnil,omitempty" name:"Name"` // 告警模板的类型。可选值: // <br><li> Trigger - 告警触发</li> // <br><li> Recovery - 告警恢复</li> // <br><li> All - 告警触发和告警恢复</li> Type *string `json:"Type,omitnil,omitempty" name:"Type"` // 告警通知模板接收者信息。 // 注意:此字段可能返回 null,表示取不到有效值。 NoticeReceivers []*NoticeReceiver `json:"NoticeReceivers,omitnil,omitempty" name:"NoticeReceivers"` // 告警通知模板回调信息。 // 注意:此字段可能返回 null,表示取不到有效值。 WebCallbacks []*WebCallback `json:"WebCallbacks,omitnil,omitempty" name:"WebCallbacks"` // 告警通知模板ID。 // 注意:此字段可能返回 null,表示取不到有效值。 AlarmNoticeId *string `json:"AlarmNoticeId,omitnil,omitempty" name:"AlarmNoticeId"` // 创建时间。 // 注意:此字段可能返回 null,表示取不到有效值。 CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"` // 最近更新时间。 // 注意:此字段可能返回 null,表示取不到有效值。 UpdateTime *string `json:"UpdateTime,omitnil,omitempty" name:"UpdateTime"` // 通知规则。 // 注意:此字段可能返回 null,表示取不到有效值。 NoticeRules []*NoticeRule `json:"NoticeRules,omitnil,omitempty" name:"NoticeRules"` }
type AlarmShieldInfo ¶ added in v1.0.854
type AlarmShieldInfo struct { // 通知渠道组Id AlarmNoticeId *string `json:"AlarmNoticeId,omitnil,omitempty" name:"AlarmNoticeId"` // 屏蔽规则id TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"` // 屏蔽开始时间(秒级时间戳)。 StartTime *uint64 `json:"StartTime,omitnil,omitempty" name:"StartTime"` // 屏蔽结束时间(秒级时间戳)。 EndTime *uint64 `json:"EndTime,omitnil,omitempty" name:"EndTime"` // 屏蔽类型。1:屏蔽所有通知,2:按照Rule参数屏蔽匹配规则的通知。 Type *uint64 `json:"Type,omitnil,omitempty" name:"Type"` // 屏蔽规则,当Type为2时必填。规则填写方式详见[产品文档](https://cloud.tencent.com/document/product/614/103178#rule)。 // 注意:此字段可能返回 null,表示取不到有效值。 Rule *string `json:"Rule,omitnil,omitempty" name:"Rule"` // 屏蔽原因。 Reason *string `json:"Reason,omitnil,omitempty" name:"Reason"` // 规则创建来源。 // 1. 控制台,2.api,3.告警通知 Source *uint64 `json:"Source,omitnil,omitempty" name:"Source"` // 操作者。 Operator *string `json:"Operator,omitnil,omitempty" name:"Operator"` // 规则状态。 // 0:暂未生效,1:生效中,2:已失效 Status *uint64 `json:"Status,omitnil,omitempty" name:"Status"` // 规则创建时间。 CreateTime *uint64 `json:"CreateTime,omitnil,omitempty" name:"CreateTime"` // 规则更新时间。 UpdateTime *uint64 `json:"UpdateTime,omitnil,omitempty" name:"UpdateTime"` }
type AlarmTarget ¶
type AlarmTarget struct { // 日志主题ID。 // 注意:此字段可能返回 null,表示取不到有效值。 TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"` // 查询语句。 // 注意:此字段可能返回 null,表示取不到有效值。 Query *string `json:"Query,omitnil,omitempty" name:"Query"` // 告警对象序号;从1开始递增。 // 注意:此字段可能返回 null,表示取不到有效值。 Number *int64 `json:"Number,omitnil,omitempty" name:"Number"` // 查询范围起始时间相对于告警执行时间的偏移,单位为分钟,取值为非正,最大值为0,最小值为-1440。 // 注意:此字段可能返回 null,表示取不到有效值。 StartTimeOffset *int64 `json:"StartTimeOffset,omitnil,omitempty" name:"StartTimeOffset"` // 查询范围终止时间相对于告警执行时间的偏移,单位为分钟,取值为非正,须大于StartTimeOffset,最大值为0,最小值为-1440。 // 注意:此字段可能返回 null,表示取不到有效值。 EndTimeOffset *int64 `json:"EndTimeOffset,omitnil,omitempty" name:"EndTimeOffset"` // 日志集ID。 // 注意:此字段可能返回 null,表示取不到有效值。 LogsetId *string `json:"LogsetId,omitnil,omitempty" name:"LogsetId"` // 检索语法规则,默认值为0。 // 0:Lucene语法,1:CQL语法。 // 详细说明参见<a href="https://cloud.tencent.com/document/product/614/47044#RetrievesConditionalRules" target="_blank">检索条件语法规则</a> // 注意:此字段可能返回 null,表示取不到有效值。 SyntaxRule *uint64 `json:"SyntaxRule,omitnil,omitempty" name:"SyntaxRule"` }
type AlarmTargetInfo ¶
type AlarmTargetInfo struct { // 日志集ID。 LogsetId *string `json:"LogsetId,omitnil,omitempty" name:"LogsetId"` // 日志集名称。 LogsetName *string `json:"LogsetName,omitnil,omitempty" name:"LogsetName"` // 日志主题ID。 TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"` // 日志主题名称。 TopicName *string `json:"TopicName,omitnil,omitempty" name:"TopicName"` // 查询语句。 Query *string `json:"Query,omitnil,omitempty" name:"Query"` // 告警对象序号。 Number *int64 `json:"Number,omitnil,omitempty" name:"Number"` // 查询范围起始时间相对于告警执行时间的偏移,单位为分钟,取值为非正,最大值为0,最小值为-1440。 StartTimeOffset *int64 `json:"StartTimeOffset,omitnil,omitempty" name:"StartTimeOffset"` // 查询范围终止时间相对于告警执行时间的偏移,单位为分钟,取值为非正,须大于StartTimeOffset,最大值为0,最小值为-1440。 EndTimeOffset *int64 `json:"EndTimeOffset,omitnil,omitempty" name:"EndTimeOffset"` }
type AlertHistoryNotice ¶ added in v1.0.641
type AlertHistoryRecord ¶ added in v1.0.641
type AlertHistoryRecord struct { // 告警历史ID RecordId *string `json:"RecordId,omitnil,omitempty" name:"RecordId"` // 告警策略ID AlarmId *string `json:"AlarmId,omitnil,omitempty" name:"AlarmId"` // 告警策略名称 AlarmName *string `json:"AlarmName,omitnil,omitempty" name:"AlarmName"` // 监控对象ID TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"` // 监控对象名称 TopicName *string `json:"TopicName,omitnil,omitempty" name:"TopicName"` // 监控对象所属地域 Region *string `json:"Region,omitnil,omitempty" name:"Region"` // 触发条件 Trigger *string `json:"Trigger,omitnil,omitempty" name:"Trigger"` // 持续周期,持续满足触发条件TriggerCount个周期后,再进行告警 TriggerCount *int64 `json:"TriggerCount,omitnil,omitempty" name:"TriggerCount"` // 告警通知发送频率,单位为分钟 AlarmPeriod *int64 `json:"AlarmPeriod,omitnil,omitempty" name:"AlarmPeriod"` // 通知渠道组 Notices []*AlertHistoryNotice `json:"Notices,omitnil,omitempty" name:"Notices"` // 告警持续时间,单位为分钟 Duration *int64 `json:"Duration,omitnil,omitempty" name:"Duration"` // 告警状态,0代表未恢复,1代表已恢复,2代表已失效 Status *int64 `json:"Status,omitnil,omitempty" name:"Status"` // 告警发生时间,毫秒级Unix时间戳 CreateTime *uint64 `json:"CreateTime,omitnil,omitempty" name:"CreateTime"` // 告警分组触发时对应的分组信息 // 注意:此字段可能返回 null,表示取不到有效值。 GroupTriggerCondition []*GroupTriggerConditionInfo `json:"GroupTriggerCondition,omitnil,omitempty" name:"GroupTriggerCondition"` // 告警级别,0代表警告(Warn),1代表提醒(Info),2代表紧急 (Critical) // 注意:此字段可能返回 null,表示取不到有效值。 AlarmLevel *uint64 `json:"AlarmLevel,omitnil,omitempty" name:"AlarmLevel"` // 监控对象类型。 // 0:执行语句共用监控对象; 1:每个执行语句单独选择监控对象。 // 注意:此字段可能返回 null,表示取不到有效值。 MonitorObjectType *uint64 `json:"MonitorObjectType,omitnil,omitempty" name:"MonitorObjectType"` }
type AnalysisDimensional ¶ added in v1.0.228
type AnalysisDimensional struct { // 分析名称 // 注意:此字段可能返回 null,表示取不到有效值。 Name *string `json:"Name,omitnil,omitempty" name:"Name"` // 分析类型:query,field ,original // 注意:此字段可能返回 null,表示取不到有效值。 Type *string `json:"Type,omitnil,omitempty" name:"Type"` // 分析内容 // 注意:此字段可能返回 null,表示取不到有效值。 Content *string `json:"Content,omitnil,omitempty" name:"Content"` // 多维分析配置。 // // 当Analysis的Type字段为query(自定义)时,支持 // { // "Key": "SyntaxRule", // 语法规则 // "Value": "1" //0:Lucene语法 ,1: CQL语法 // } // // 当Analysis的Type字段为field(top5)时, 支持 // { // "Key": "QueryIndex", // "Value": "-1" // -1:自定义, 1:执行语句1, 2:执行语句2 // },{ // "Key": "CustomQuery", //检索语句。 QueryIndex为-1时有效且必填 // "Value": "* | select count(*) as count" // },{ // "Key": "SyntaxRule", // 查不到这个字段也是老语法(Lucene) // "Value": "0"//0:Lucene, 1:CQL // } // // 当Analysis的Type字段为original(原始日志)时, 支持 // { // "Key": "Fields", // "Value": "__SOURCE__,__HOSTNAME__,__TIMESTAMP__,__PKG_LOGID__,__TAG__.pod_ip" // }, { // "Key": "QueryIndex", // "Value": "-1" // -1:自定义, 1:执行语句1, 2:执行语句2 // },{ // "Key": "CustomQuery", // //检索语句。 QueryIndex为-1时有效且必填 // "Value": "* | select count(*) as count" // },{ // "Key": "Format", //显示形式。1:每条日志一行,2:每条日志每个字段一行 // "Value": "2" // }, // { // "Key": "Limit", //最大日志条数 // "Value": "5" // },{ // "Key": "SyntaxRule", // 查不到这个字段也是老语法 // "Value": "0"//0:Lucene, 1:CQL // } // 注意:此字段可能返回 null,表示取不到有效值。 ConfigInfo []*AlarmAnalysisConfig `json:"ConfigInfo,omitnil,omitempty" name:"ConfigInfo"` }
type ApplyConfigToMachineGroupRequest ¶ added in v1.0.209
type ApplyConfigToMachineGroupRequest struct { *tchttp.BaseRequest // 采集配置ID ConfigId *string `json:"ConfigId,omitnil,omitempty" name:"ConfigId"` // 机器组ID GroupId *string `json:"GroupId,omitnil,omitempty" name:"GroupId"` }
func NewApplyConfigToMachineGroupRequest ¶ added in v1.0.209
func NewApplyConfigToMachineGroupRequest() (request *ApplyConfigToMachineGroupRequest)
func (*ApplyConfigToMachineGroupRequest) FromJsonString ¶ added in v1.0.209
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 ¶ added in v1.0.209
func (r *ApplyConfigToMachineGroupRequest) ToJsonString() string
type ApplyConfigToMachineGroupRequestParams ¶ added in v1.0.426
type ApplyConfigToMachineGroupRequestParams struct { // 采集配置ID ConfigId *string `json:"ConfigId,omitnil,omitempty" name:"ConfigId"` // 机器组ID GroupId *string `json:"GroupId,omitnil,omitempty" name:"GroupId"` }
Predefined struct for user
type ApplyConfigToMachineGroupResponse ¶ added in v1.0.209
type ApplyConfigToMachineGroupResponse struct { *tchttp.BaseResponse Response *ApplyConfigToMachineGroupResponseParams `json:"Response"` }
func NewApplyConfigToMachineGroupResponse ¶ added in v1.0.209
func NewApplyConfigToMachineGroupResponse() (response *ApplyConfigToMachineGroupResponse)
func (*ApplyConfigToMachineGroupResponse) FromJsonString ¶ added in v1.0.209
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 ¶ added in v1.0.209
func (r *ApplyConfigToMachineGroupResponse) ToJsonString() string
type ApplyConfigToMachineGroupResponseParams ¶ added in v1.0.426
type ApplyConfigToMachineGroupResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CallBackInfo ¶
type CallBackInfo struct { // 回调时的Body。 // 可将各类告警变量放在请求内容中,详见[帮助文档](https://cloud.tencent.com/document/product/614/74718)。 // 如下示例: // // “` // { // "TopicId": "{{ .QueryLog[0][0].topicId }}", // "key": "{{.Alarm}}", // "time": "{{ .QueryLog[0][0].time }}", // "log": "{{ .QueryLog[0][0].content.__CONTENT__ }}", // "namespace": "{{ .QueryLog[0][0].content.__TAG__.namespace }}" // } // “` Body *string `json:"Body,omitnil,omitempty" name:"Body"` // 回调时的HTTP请求头部字段。 // 例如:下面请求头部字段来告知服务器请求主体的内容类型为JSON。 // “` // "Content-Type: application/json" // “` // 注意:此字段可能返回 null,表示取不到有效值。 Headers []*string `json:"Headers,omitnil,omitempty" name:"Headers"` }
type CheckFunctionRequest ¶ added in v1.0.784
type CheckFunctionRequest struct { *tchttp.BaseRequest // 用户输入的加工语句 EtlContent *string `json:"EtlContent,omitnil,omitempty" name:"EtlContent"` // 加工任务目的topic_id以及别名 DstResources []*DataTransformResouceInfo `json:"DstResources,omitnil,omitempty" name:"DstResources"` // 数据加工目标主题的类型. 1 固定主题 2动态创建 FuncType *int64 `json:"FuncType,omitnil,omitempty" name:"FuncType"` }
func NewCheckFunctionRequest ¶ added in v1.0.784
func NewCheckFunctionRequest() (request *CheckFunctionRequest)
func (*CheckFunctionRequest) FromJsonString ¶ added in v1.0.784
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 ¶ added in v1.0.784
func (r *CheckFunctionRequest) ToJsonString() string
type CheckFunctionRequestParams ¶ added in v1.0.784
type CheckFunctionRequestParams struct { // 用户输入的加工语句 EtlContent *string `json:"EtlContent,omitnil,omitempty" name:"EtlContent"` // 加工任务目的topic_id以及别名 DstResources []*DataTransformResouceInfo `json:"DstResources,omitnil,omitempty" name:"DstResources"` // 数据加工目标主题的类型. 1 固定主题 2动态创建 FuncType *int64 `json:"FuncType,omitnil,omitempty" name:"FuncType"` }
Predefined struct for user
type CheckFunctionResponse ¶ added in v1.0.784
type CheckFunctionResponse struct { *tchttp.BaseResponse Response *CheckFunctionResponseParams `json:"Response"` }
func NewCheckFunctionResponse ¶ added in v1.0.784
func NewCheckFunctionResponse() (response *CheckFunctionResponse)
func (*CheckFunctionResponse) FromJsonString ¶ added in v1.0.784
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 ¶ added in v1.0.784
func (r *CheckFunctionResponse) ToJsonString() string
type CheckFunctionResponseParams ¶ added in v1.0.784
type CheckFunctionResponseParams struct { // 失败错误码 ErrorCode *int64 `json:"ErrorCode,omitnil,omitempty" name:"ErrorCode"` // 失败错误信息 ErrorMsg *string `json:"ErrorMsg,omitnil,omitempty" name:"ErrorMsg"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CheckRechargeKafkaServerRequest ¶ added in v1.0.693
type CheckRechargeKafkaServerRequest struct { *tchttp.BaseRequest // 导入Kafka类型,0: 腾讯云CKafka;1: 用户自建Kafka。 KafkaType *uint64 `json:"KafkaType,omitnil,omitempty" name:"KafkaType"` // 腾讯云CKafka实例ID。 // KafkaType为0时,KafkaInstance必填 KafkaInstance *string `json:"KafkaInstance,omitnil,omitempty" name:"KafkaInstance"` // 服务地址。 // KafkaType为1时,ServerAddr必填 ServerAddr *string `json:"ServerAddr,omitnil,omitempty" name:"ServerAddr"` // ServerAddr是否为加密连接,默认值false。当KafkaType为1用户自建kafka时生效。 IsEncryptionAddr *bool `json:"IsEncryptionAddr,omitnil,omitempty" name:"IsEncryptionAddr"` // 加密访问协议。KafkaType参数为1并且IsEncryptionAddr参数为true时必填。 Protocol *KafkaProtocolInfo `json:"Protocol,omitnil,omitempty" name:"Protocol"` }
func NewCheckRechargeKafkaServerRequest ¶ added in v1.0.693
func NewCheckRechargeKafkaServerRequest() (request *CheckRechargeKafkaServerRequest)
func (*CheckRechargeKafkaServerRequest) FromJsonString ¶ added in v1.0.693
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 ¶ added in v1.0.693
func (r *CheckRechargeKafkaServerRequest) ToJsonString() string
type CheckRechargeKafkaServerRequestParams ¶ added in v1.0.693
type CheckRechargeKafkaServerRequestParams struct { // 导入Kafka类型,0: 腾讯云CKafka;1: 用户自建Kafka。 KafkaType *uint64 `json:"KafkaType,omitnil,omitempty" name:"KafkaType"` // 腾讯云CKafka实例ID。 // KafkaType为0时,KafkaInstance必填 KafkaInstance *string `json:"KafkaInstance,omitnil,omitempty" name:"KafkaInstance"` // 服务地址。 // KafkaType为1时,ServerAddr必填 ServerAddr *string `json:"ServerAddr,omitnil,omitempty" name:"ServerAddr"` // ServerAddr是否为加密连接,默认值false。当KafkaType为1用户自建kafka时生效。 IsEncryptionAddr *bool `json:"IsEncryptionAddr,omitnil,omitempty" name:"IsEncryptionAddr"` // 加密访问协议。KafkaType参数为1并且IsEncryptionAddr参数为true时必填。 Protocol *KafkaProtocolInfo `json:"Protocol,omitnil,omitempty" name:"Protocol"` }
Predefined struct for user
type CheckRechargeKafkaServerResponse ¶ added in v1.0.693
type CheckRechargeKafkaServerResponse struct { *tchttp.BaseResponse Response *CheckRechargeKafkaServerResponseParams `json:"Response"` }
func NewCheckRechargeKafkaServerResponse ¶ added in v1.0.693
func NewCheckRechargeKafkaServerResponse() (response *CheckRechargeKafkaServerResponse)
func (*CheckRechargeKafkaServerResponse) FromJsonString ¶ added in v1.0.693
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 ¶ added in v1.0.693
func (r *CheckRechargeKafkaServerResponse) ToJsonString() string
type CheckRechargeKafkaServerResponseParams ¶ added in v1.0.693
type CheckRechargeKafkaServerResponseParams struct { // Kafka集群可访问状态,0:可正常访问 ... // 注意:此字段可能返回 null,表示取不到有效值。 Status *int64 `json:"Status,omitnil,omitempty" name:"Status"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type Ckafka ¶ added in v1.0.315
type Ckafka struct { // Ckafka 的 Vip Vip *string `json:"Vip,omitnil,omitempty" name:"Vip"` // Ckafka 的 Vport Vport *string `json:"Vport,omitnil,omitempty" name:"Vport"` // Ckafka 的 InstanceId InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Ckafka 的 InstanceName InstanceName *string `json:"InstanceName,omitnil,omitempty" name:"InstanceName"` // Ckafka 的 TopicId TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"` // Ckafka 的 TopicName 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 ¶ added in v1.0.531
func (c *Client) AddMachineGroupInfo(request *AddMachineGroupInfoRequest) (response *AddMachineGroupInfoResponse, err error)
AddMachineGroupInfo 用于添加机器组信息
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INVALIDPARAMETER_DBDUPLICATION = "InvalidParameter.DbDuplication"
func (*Client) AddMachineGroupInfoWithContext ¶ added in v1.0.531
func (c *Client) AddMachineGroupInfoWithContext(ctx context.Context, request *AddMachineGroupInfoRequest) (response *AddMachineGroupInfoResponse, err error)
AddMachineGroupInfo 用于添加机器组信息
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INVALIDPARAMETER_DBDUPLICATION = "InvalidParameter.DbDuplication"
func (*Client) ApplyConfigToMachineGroup ¶ added in v1.0.209
func (c *Client) ApplyConfigToMachineGroup(request *ApplyConfigToMachineGroupRequest) (response *ApplyConfigToMachineGroupResponse, err error)
ApplyConfigToMachineGroup 应用采集配置到指定机器组
可能返回的错误码:
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 ¶ added in v1.0.324
func (c *Client) ApplyConfigToMachineGroupWithContext(ctx context.Context, request *ApplyConfigToMachineGroupRequest) (response *ApplyConfigToMachineGroupResponse, err error)
ApplyConfigToMachineGroup 应用采集配置到指定机器组
可能返回的错误码:
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 ¶ added in v1.0.784
func (c *Client) CheckFunction(request *CheckFunctionRequest) (response *CheckFunctionResponse, err error)
CheckFunction 本接口用于数据加工DSL函数的语法校验。
可能返回的错误码:
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 ¶ added in v1.0.784
func (c *Client) CheckFunctionWithContext(ctx context.Context, request *CheckFunctionRequest) (response *CheckFunctionResponse, err error)
CheckFunction 本接口用于数据加工DSL函数的语法校验。
可能返回的错误码:
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 ¶ added in v1.0.693
func (c *Client) CheckRechargeKafkaServer(request *CheckRechargeKafkaServerRequest) (response *CheckRechargeKafkaServerResponse, err error)
CheckRechargeKafkaServer 本接口用于校验Kafka服务集群是否可以正常访问
可能返回的错误码:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter"
func (*Client) CheckRechargeKafkaServerWithContext ¶ added in v1.0.693
func (c *Client) CheckRechargeKafkaServerWithContext(ctx context.Context, request *CheckRechargeKafkaServerRequest) (response *CheckRechargeKafkaServerResponse, err error)
CheckRechargeKafkaServer 本接口用于校验Kafka服务集群是否可以正常访问
可能返回的错误码:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter"
func (*Client) CloseKafkaConsumer ¶ added in v1.0.382
func (c *Client) CloseKafkaConsumer(request *CloseKafkaConsumerRequest) (response *CloseKafkaConsumerResponse, err error)
CloseKafkaConsumer 关闭Kafka协议消费
可能返回的错误码:
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 ¶ added in v1.0.382
func (c *Client) CloseKafkaConsumerWithContext(ctx context.Context, request *CloseKafkaConsumerRequest) (response *CloseKafkaConsumerResponse, err error)
CloseKafkaConsumer 关闭Kafka协议消费
可能返回的错误码:
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 本接口用于创建告警策略。
可能返回的错误码:
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 该接口用于创建通知渠道组。
可能返回的错误码:
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) CreateAlarmNoticeWithContext ¶ added in v1.0.324
func (c *Client) CreateAlarmNoticeWithContext(ctx context.Context, request *CreateAlarmNoticeRequest) (response *CreateAlarmNoticeResponse, err error)
CreateAlarmNotice 该接口用于创建通知渠道组。
可能返回的错误码:
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) CreateAlarmShield ¶ added in v1.0.854
func (c *Client) CreateAlarmShield(request *CreateAlarmShieldRequest) (response *CreateAlarmShieldResponse, err error)
CreateAlarmShield 该接口用于创建告警屏蔽规则。
可能返回的错误码:
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 ¶ added in v1.0.854
func (c *Client) CreateAlarmShieldWithContext(ctx context.Context, request *CreateAlarmShieldRequest) (response *CreateAlarmShieldResponse, err error)
CreateAlarmShield 该接口用于创建告警屏蔽规则。
可能返回的错误码:
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 ¶ added in v1.0.324
func (c *Client) CreateAlarmWithContext(ctx context.Context, request *CreateAlarmRequest) (response *CreateAlarmResponse, err error)
CreateAlarm 本接口用于创建告警策略。
可能返回的错误码:
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 ¶ added in v1.0.209
func (c *Client) CreateConfig(request *CreateConfigRequest) (response *CreateConfigResponse, err error)
CreateConfig 创建采集规则配置
可能返回的错误码:
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) CreateConfigExtra ¶ added in v1.0.365
func (c *Client) CreateConfigExtra(request *CreateConfigExtraRequest) (response *CreateConfigExtraResponse, err error)
CreateConfigExtra 本接口用于创建特殊采集配置任务,特殊采集配置应用于自建K8S环境的采集Agent
可能返回的错误码:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_DBDUPLICATION = "InvalidParameter.DbDuplication" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists" RESOURCENOTFOUND_TOPICNOTEXIST = "ResourceNotFound.TopicNotExist"
func (*Client) CreateConfigExtraWithContext ¶ added in v1.0.365
func (c *Client) CreateConfigExtraWithContext(ctx context.Context, request *CreateConfigExtraRequest) (response *CreateConfigExtraResponse, err error)
CreateConfigExtra 本接口用于创建特殊采集配置任务,特殊采集配置应用于自建K8S环境的采集Agent
可能返回的错误码:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_DBDUPLICATION = "InvalidParameter.DbDuplication" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists" RESOURCENOTFOUND_TOPICNOTEXIST = "ResourceNotFound.TopicNotExist"
func (*Client) CreateConfigWithContext ¶ added in v1.0.324
func (c *Client) CreateConfigWithContext(ctx context.Context, request *CreateConfigRequest) (response *CreateConfigResponse, err error)
CreateConfig 创建采集规则配置
可能返回的错误码:
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 ¶ added in v1.0.315
func (c *Client) CreateConsumer(request *CreateConsumerRequest) (response *CreateConsumerResponse, err error)
CreateConsumer 本接口用于创建投递CKafka任务
可能返回的错误码:
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 ¶ added in v1.0.324
func (c *Client) CreateConsumerWithContext(ctx context.Context, request *CreateConsumerRequest) (response *CreateConsumerResponse, err error)
CreateConsumer 本接口用于创建投递CKafka任务
可能返回的错误码:
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 ¶ added in v1.0.613
func (c *Client) CreateCosRecharge(request *CreateCosRechargeRequest) (response *CreateCosRechargeResponse, err error)
CreateCosRecharge 本接口用于创建cos导入任务
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" 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) CreateCosRechargeWithContext ¶ added in v1.0.613
func (c *Client) CreateCosRechargeWithContext(ctx context.Context, request *CreateCosRechargeRequest) (response *CreateCosRechargeResponse, err error)
CreateCosRecharge 本接口用于创建cos导入任务
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" 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) CreateDashboardSubscribe ¶ added in v1.0.912
func (c *Client) CreateDashboardSubscribe(request *CreateDashboardSubscribeRequest) (response *CreateDashboardSubscribeResponse, err error)
CreateDashboardSubscribe 此接口用于创建仪表盘订阅
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_DASHBOARDNAMECONFLICT = "InvalidParameter.DashboardNameConflict" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCENOTFOUND_DASHBOARDRECORDNOTEXIST = "ResourceNotFound.DashboardRecordNotExist"
func (*Client) CreateDashboardSubscribeWithContext ¶ added in v1.0.912
func (c *Client) CreateDashboardSubscribeWithContext(ctx context.Context, request *CreateDashboardSubscribeRequest) (response *CreateDashboardSubscribeResponse, err error)
CreateDashboardSubscribe 此接口用于创建仪表盘订阅
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_DASHBOARDNAMECONFLICT = "InvalidParameter.DashboardNameConflict" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCENOTFOUND_DASHBOARDRECORDNOTEXIST = "ResourceNotFound.DashboardRecordNotExist"
func (*Client) CreateDataTransform ¶ added in v1.0.380
func (c *Client) CreateDataTransform(request *CreateDataTransformRequest) (response *CreateDataTransformResponse, err error)
CreateDataTransform 本接口用于创建数据加工任务。
可能返回的错误码:
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 ¶ added in v1.0.380
func (c *Client) CreateDataTransformWithContext(ctx context.Context, request *CreateDataTransformRequest) (response *CreateDataTransformResponse, err error)
CreateDataTransform 本接口用于创建数据加工任务。
可能返回的错误码:
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 ¶ added in v1.0.804
func (c *Client) CreateDeliverCloudFunction(request *CreateDeliverCloudFunctionRequest) (response *CreateDeliverCloudFunctionResponse, err error)
CreateDeliverCloudFunction 本接口用于创建投递SCF任务
可能返回的错误码:
FAILEDOPERATION = "FailedOperation"
func (*Client) CreateDeliverCloudFunctionWithContext ¶ added in v1.0.804
func (c *Client) CreateDeliverCloudFunctionWithContext(ctx context.Context, request *CreateDeliverCloudFunctionRequest) (response *CreateDeliverCloudFunctionResponse, err error)
CreateDeliverCloudFunction 本接口用于创建投递SCF任务
可能返回的错误码:
FAILEDOPERATION = "FailedOperation"
func (*Client) CreateExport ¶
func (c *Client) CreateExport(request *CreateExportRequest) (response *CreateExportResponse, err error)
CreateExport 本接口仅创建下载任务,任务返回的下载地址,请用户调用DescribeExports查看任务列表。其中有下载地址CosPath参数。参考文档https://cloud.tencent.com/document/product/614/56449
可能返回的错误码:
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 ¶ added in v1.0.324
func (c *Client) CreateExportWithContext(ctx context.Context, request *CreateExportRequest) (response *CreateExportResponse, err error)
CreateExport 本接口仅创建下载任务,任务返回的下载地址,请用户调用DescribeExports查看任务列表。其中有下载地址CosPath参数。参考文档https://cloud.tencent.com/document/product/614/56449
可能返回的错误码:
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 本接口用于创建索引
可能返回的错误码:
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 ¶ added in v1.0.324
func (c *Client) CreateIndexWithContext(ctx context.Context, request *CreateIndexRequest) (response *CreateIndexResponse, err error)
CreateIndex 本接口用于创建索引
可能返回的错误码:
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 ¶ added in v1.0.693
func (c *Client) CreateKafkaRecharge(request *CreateKafkaRechargeRequest) (response *CreateKafkaRechargeResponse, err error)
CreateKafkaRecharge 本接口用于创建Kafka数据订阅任务
可能返回的错误码:
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 ¶ added in v1.0.693
func (c *Client) CreateKafkaRechargeWithContext(ctx context.Context, request *CreateKafkaRechargeRequest) (response *CreateKafkaRechargeResponse, err error)
CreateKafkaRecharge 本接口用于创建Kafka数据订阅任务
可能返回的错误码:
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 ¶ added in v1.0.209
func (c *Client) CreateLogset(request *CreateLogsetRequest) (response *CreateLogsetResponse, err error)
CreateLogset 本接口用于创建日志集,返回新创建的日志集的 ID。
可能返回的错误码:
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 ¶ added in v1.0.324
func (c *Client) CreateLogsetWithContext(ctx context.Context, request *CreateLogsetRequest) (response *CreateLogsetResponse, err error)
CreateLogset 本接口用于创建日志集,返回新创建的日志集的 ID。
可能返回的错误码:
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 创建机器组
可能返回的错误码:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_TIMEOUT = "FailedOperation.Timeout" 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 ¶ added in v1.0.324
func (c *Client) CreateMachineGroupWithContext(ctx context.Context, request *CreateMachineGroupRequest) (response *CreateMachineGroupResponse, err error)
CreateMachineGroup 创建机器组
可能返回的错误码:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_TIMEOUT = "FailedOperation.Timeout" 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 ¶ added in v1.0.704
func (c *Client) CreateScheduledSql(request *CreateScheduledSqlRequest) (response *CreateScheduledSqlResponse, err error)
CreateScheduledSql 本接口用于创建定时SQL分析任务
可能返回的错误码:
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 ¶ added in v1.0.704
func (c *Client) CreateScheduledSqlWithContext(ctx context.Context, request *CreateScheduledSqlRequest) (response *CreateScheduledSqlResponse, err error)
CreateScheduledSql 本接口用于创建定时SQL分析任务
可能返回的错误码:
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 ¶ added in v1.0.210
func (c *Client) CreateShipper(request *CreateShipperRequest) (response *CreateShipperResponse, err error)
CreateShipper 新建投递到COS的任务,【!!!注意】使用此接口,需要检查是否配置了投递COS的角色和权限。如果没有配置,请参考文档投递权限查看和配置https://cloud.tencent.com/document/product/614/71623。
可能返回的错误码:
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 ¶ added in v1.0.324
func (c *Client) CreateShipperWithContext(ctx context.Context, request *CreateShipperRequest) (response *CreateShipperResponse, err error)
CreateShipper 新建投递到COS的任务,【!!!注意】使用此接口,需要检查是否配置了投递COS的角色和权限。如果没有配置,请参考文档投递权限查看和配置https://cloud.tencent.com/document/product/614/71623。
可能返回的错误码:
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 本接口用于创建日志主题。
可能返回的错误码:
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 ¶ added in v1.0.324
func (c *Client) CreateTopicWithContext(ctx context.Context, request *CreateTopicRequest) (response *CreateTopicResponse, err error)
CreateTopic 本接口用于创建日志主题。
可能返回的错误码:
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 本接口用于删除告警策略。
可能返回的错误码:
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 该接口用于删除通知渠道组
可能返回的错误码:
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 ¶ added in v1.0.324
func (c *Client) DeleteAlarmNoticeWithContext(ctx context.Context, request *DeleteAlarmNoticeRequest) (response *DeleteAlarmNoticeResponse, err error)
DeleteAlarmNotice 该接口用于删除通知渠道组
可能返回的错误码:
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 ¶ added in v1.0.854
func (c *Client) DeleteAlarmShield(request *DeleteAlarmShieldRequest) (response *DeleteAlarmShieldResponse, err error)
DeleteAlarmShield 该接口用于删除告警屏蔽规则。
可能返回的错误码:
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 ¶ added in v1.0.854
func (c *Client) DeleteAlarmShieldWithContext(ctx context.Context, request *DeleteAlarmShieldRequest) (response *DeleteAlarmShieldResponse, err error)
DeleteAlarmShield 该接口用于删除告警屏蔽规则。
可能返回的错误码:
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 ¶ added in v1.0.324
func (c *Client) DeleteAlarmWithContext(ctx context.Context, request *DeleteAlarmRequest) (response *DeleteAlarmResponse, err error)
DeleteAlarm 本接口用于删除告警策略。
可能返回的错误码:
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 ¶ added in v1.0.209
func (c *Client) DeleteConfig(request *DeleteConfigRequest) (response *DeleteConfigResponse, err error)
DeleteConfig 删除采集规则配置
可能返回的错误码:
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) DeleteConfigExtra ¶ added in v1.0.365
func (c *Client) DeleteConfigExtra(request *DeleteConfigExtraRequest) (response *DeleteConfigExtraResponse, err error)
DeleteConfigExtra 本接口用于删除特殊采集规则配置,特殊采集配置应用于自建K8S环境的采集Agent
可能返回的错误码:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists"
func (*Client) DeleteConfigExtraWithContext ¶ added in v1.0.365
func (c *Client) DeleteConfigExtraWithContext(ctx context.Context, request *DeleteConfigExtraRequest) (response *DeleteConfigExtraResponse, err error)
DeleteConfigExtra 本接口用于删除特殊采集规则配置,特殊采集配置应用于自建K8S环境的采集Agent
可能返回的错误码:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists"
func (*Client) DeleteConfigFromMachineGroup ¶ added in v1.0.209
func (c *Client) DeleteConfigFromMachineGroup(request *DeleteConfigFromMachineGroupRequest) (response *DeleteConfigFromMachineGroupResponse, err error)
DeleteConfigFromMachineGroup 删除应用到机器组的采集配置
可能返回的错误码:
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 ¶ added in v1.0.324
func (c *Client) DeleteConfigFromMachineGroupWithContext(ctx context.Context, request *DeleteConfigFromMachineGroupRequest) (response *DeleteConfigFromMachineGroupResponse, err error)
DeleteConfigFromMachineGroup 删除应用到机器组的采集配置
可能返回的错误码:
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 ¶ added in v1.0.324
func (c *Client) DeleteConfigWithContext(ctx context.Context, request *DeleteConfigRequest) (response *DeleteConfigResponse, err error)
DeleteConfig 删除采集规则配置
可能返回的错误码:
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 ¶ added in v1.0.315
func (c *Client) DeleteConsumer(request *DeleteConsumerRequest) (response *DeleteConsumerResponse, err error)
DeleteConsumer 本接口用于删除投递配置
可能返回的错误码:
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 ¶ added in v1.0.324
func (c *Client) DeleteConsumerWithContext(ctx context.Context, request *DeleteConsumerRequest) (response *DeleteConsumerResponse, err error)
DeleteConsumer 本接口用于删除投递配置
可能返回的错误码:
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) DeleteDashboardSubscribe ¶ added in v1.0.912
func (c *Client) DeleteDashboardSubscribe(request *DeleteDashboardSubscribeRequest) (response *DeleteDashboardSubscribeResponse, err error)
DeleteDashboardSubscribe 此接口用于删除仪表盘订阅
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists" RESOURCENOTFOUND_DASHBOARDSUBSCRIBERECORDNOTEXIST = "ResourceNotFound.DashboardSubscribeRecordNotExist"
func (*Client) DeleteDashboardSubscribeWithContext ¶ added in v1.0.912
func (c *Client) DeleteDashboardSubscribeWithContext(ctx context.Context, request *DeleteDashboardSubscribeRequest) (response *DeleteDashboardSubscribeResponse, err error)
DeleteDashboardSubscribe 此接口用于删除仪表盘订阅
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists" RESOURCENOTFOUND_DASHBOARDSUBSCRIBERECORDNOTEXIST = "ResourceNotFound.DashboardSubscribeRecordNotExist"
func (*Client) DeleteDataTransform ¶ added in v1.0.380
func (c *Client) DeleteDataTransform(request *DeleteDataTransformRequest) (response *DeleteDataTransformResponse, err error)
DeleteDataTransform 本接口用于删除数据加工任务
可能返回的错误码:
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 ¶ added in v1.0.380
func (c *Client) DeleteDataTransformWithContext(ctx context.Context, request *DeleteDataTransformRequest) (response *DeleteDataTransformResponse, err error)
DeleteDataTransform 本接口用于删除数据加工任务
可能返回的错误码:
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 本接口用于删除日志下载任务
可能返回的错误码:
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 ¶ added in v1.0.324
func (c *Client) DeleteExportWithContext(ctx context.Context, request *DeleteExportRequest) (response *DeleteExportResponse, err error)
DeleteExport 本接口用于删除日志下载任务
可能返回的错误码:
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 本接口用于删除日志主题的索引配置,删除索引配置后将无法检索和查询采集到的日志。
可能返回的错误码:
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 ¶ added in v1.0.324
func (c *Client) DeleteIndexWithContext(ctx context.Context, request *DeleteIndexRequest) (response *DeleteIndexResponse, err error)
DeleteIndex 本接口用于删除日志主题的索引配置,删除索引配置后将无法检索和查询采集到的日志。
可能返回的错误码:
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 ¶ added in v1.0.693
func (c *Client) DeleteKafkaRecharge(request *DeleteKafkaRechargeRequest) (response *DeleteKafkaRechargeResponse, err error)
DeleteKafkaRecharge 本接口用于删除Kafka数据订阅任务
可能返回的错误码:
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 ¶ added in v1.0.693
func (c *Client) DeleteKafkaRechargeWithContext(ctx context.Context, request *DeleteKafkaRechargeRequest) (response *DeleteKafkaRechargeResponse, err error)
DeleteKafkaRecharge 本接口用于删除Kafka数据订阅任务
可能返回的错误码:
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 ¶ added in v1.0.209
func (c *Client) DeleteLogset(request *DeleteLogsetRequest) (response *DeleteLogsetResponse, err error)
DeleteLogset 本接口用于删除日志集。
可能返回的错误码:
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 ¶ added in v1.0.324
func (c *Client) DeleteLogsetWithContext(ctx context.Context, request *DeleteLogsetRequest) (response *DeleteLogsetResponse, err error)
DeleteLogset 本接口用于删除日志集。
可能返回的错误码:
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 删除机器组
可能返回的错误码:
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 ¶ added in v1.0.531
func (c *Client) DeleteMachineGroupInfo(request *DeleteMachineGroupInfoRequest) (response *DeleteMachineGroupInfoResponse, err error)
DeleteMachineGroupInfo 用于删除机器组信息
可能返回的错误码:
FAILEDOPERATION = "FailedOperation"
func (*Client) DeleteMachineGroupInfoWithContext ¶ added in v1.0.531
func (c *Client) DeleteMachineGroupInfoWithContext(ctx context.Context, request *DeleteMachineGroupInfoRequest) (response *DeleteMachineGroupInfoResponse, err error)
DeleteMachineGroupInfo 用于删除机器组信息
可能返回的错误码:
FAILEDOPERATION = "FailedOperation"
func (*Client) DeleteMachineGroupWithContext ¶ added in v1.0.324
func (c *Client) DeleteMachineGroupWithContext(ctx context.Context, request *DeleteMachineGroupRequest) (response *DeleteMachineGroupResponse, err error)
DeleteMachineGroup 删除机器组
可能返回的错误码:
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 ¶ added in v1.0.708
func (c *Client) DeleteScheduledSql(request *DeleteScheduledSqlRequest) (response *DeleteScheduledSqlResponse, err error)
DeleteScheduledSql 本接口用于删除定时SQL分析任务
可能返回的错误码:
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 ¶ added in v1.0.708
func (c *Client) DeleteScheduledSqlWithContext(ctx context.Context, request *DeleteScheduledSqlRequest) (response *DeleteScheduledSqlResponse, err error)
DeleteScheduledSql 本接口用于删除定时SQL分析任务
可能返回的错误码:
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 ¶ added in v1.0.210
func (c *Client) DeleteShipper(request *DeleteShipperRequest) (response *DeleteShipperResponse, err error)
DeleteShipper 删除投递COS任务
可能返回的错误码:
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 ¶ added in v1.0.324
func (c *Client) DeleteShipperWithContext(ctx context.Context, request *DeleteShipperRequest) (response *DeleteShipperResponse, err error)
DeleteShipper 删除投递COS任务
可能返回的错误码:
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 本接口用于删除日志主题。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_TAGQPSLIMIT = "FailedOperation.TagQpsLimit" 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 ¶ added in v1.0.324
func (c *Client) DeleteTopicWithContext(ctx context.Context, request *DeleteTopicRequest) (response *DeleteTopicResponse, err error)
DeleteTopic 本接口用于删除日志主题。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_TAGQPSLIMIT = "FailedOperation.TagQpsLimit" 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 该接口用于获取通知渠道组列表
可能返回的错误码:
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 ¶ added in v1.0.324
func (c *Client) DescribeAlarmNoticesWithContext(ctx context.Context, request *DescribeAlarmNoticesRequest) (response *DescribeAlarmNoticesResponse, err error)
DescribeAlarmNotices 该接口用于获取通知渠道组列表
可能返回的错误码:
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 ¶ added in v1.0.854
func (c *Client) DescribeAlarmShields(request *DescribeAlarmShieldsRequest) (response *DescribeAlarmShieldsResponse, err error)
DescribeAlarmShields 获取告警屏蔽配置规则
可能返回的错误码:
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 ¶ added in v1.0.854
func (c *Client) DescribeAlarmShieldsWithContext(ctx context.Context, request *DescribeAlarmShieldsRequest) (response *DescribeAlarmShieldsResponse, err error)
DescribeAlarmShields 获取告警屏蔽配置规则
可能返回的错误码:
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 本接口用于获取告警策略列表。
可能返回的错误码:
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 ¶ added in v1.0.324
func (c *Client) DescribeAlarmsWithContext(ctx context.Context, request *DescribeAlarmsRequest) (response *DescribeAlarmsResponse, err error)
DescribeAlarms 本接口用于获取告警策略列表。
可能返回的错误码:
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 ¶ added in v1.0.641
func (c *Client) DescribeAlertRecordHistory(request *DescribeAlertRecordHistoryRequest) (response *DescribeAlertRecordHistoryResponse, err error)
DescribeAlertRecordHistory 获取告警历史,例如今天未恢复的告警
可能返回的错误码:
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 ¶ added in v1.0.641
func (c *Client) DescribeAlertRecordHistoryWithContext(ctx context.Context, request *DescribeAlertRecordHistoryRequest) (response *DescribeAlertRecordHistoryResponse, err error)
DescribeAlertRecordHistory 获取告警历史,例如今天未恢复的告警
可能返回的错误码:
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) DescribeConfigExtras ¶ added in v1.0.365
func (c *Client) DescribeConfigExtras(request *DescribeConfigExtrasRequest) (response *DescribeConfigExtrasResponse, err error)
DescribeConfigExtras 本接口用于获取特殊采集配置,特殊采集配置应用于自建K8S环境的采集Agent
可能返回的错误码:
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_TOPICNOTEXIST = "ResourceNotFound.TopicNotExist"
func (*Client) DescribeConfigExtrasWithContext ¶ added in v1.0.365
func (c *Client) DescribeConfigExtrasWithContext(ctx context.Context, request *DescribeConfigExtrasRequest) (response *DescribeConfigExtrasResponse, err error)
DescribeConfigExtras 本接口用于获取特殊采集配置,特殊采集配置应用于自建K8S环境的采集Agent
可能返回的错误码:
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_TOPICNOTEXIST = "ResourceNotFound.TopicNotExist"
func (*Client) DescribeConfigMachineGroups ¶ added in v1.0.209
func (c *Client) DescribeConfigMachineGroups(request *DescribeConfigMachineGroupsRequest) (response *DescribeConfigMachineGroupsResponse, err error)
DescribeConfigMachineGroups 获取采集规则配置所绑定的机器组
可能返回的错误码:
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 ¶ added in v1.0.324
func (c *Client) DescribeConfigMachineGroupsWithContext(ctx context.Context, request *DescribeConfigMachineGroupsRequest) (response *DescribeConfigMachineGroupsResponse, err error)
DescribeConfigMachineGroups 获取采集规则配置所绑定的机器组
可能返回的错误码:
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 ¶ added in v1.0.209
func (c *Client) DescribeConfigs(request *DescribeConfigsRequest) (response *DescribeConfigsResponse, err error)
DescribeConfigs 获取采集规则配置
可能返回的错误码:
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 ¶ added in v1.0.324
func (c *Client) DescribeConfigsWithContext(ctx context.Context, request *DescribeConfigsRequest) (response *DescribeConfigsResponse, err error)
DescribeConfigs 获取采集规则配置
可能返回的错误码:
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 ¶ added in v1.0.315
func (c *Client) DescribeConsumer(request *DescribeConsumerRequest) (response *DescribeConsumerResponse, err error)
DescribeConsumer 本接口用于获取投递配置
可能返回的错误码:
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 ¶ added in v1.0.324
func (c *Client) DescribeConsumerWithContext(ctx context.Context, request *DescribeConsumerRequest) (response *DescribeConsumerResponse, err error)
DescribeConsumer 本接口用于获取投递配置
可能返回的错误码:
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 ¶ added in v1.0.613
func (c *Client) DescribeCosRecharges(request *DescribeCosRechargesRequest) (response *DescribeCosRechargesResponse, err error)
DescribeCosRecharges 本接口用于获取cos导入配置
可能返回的错误码:
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 ¶ added in v1.0.613
func (c *Client) DescribeCosRechargesWithContext(ctx context.Context, request *DescribeCosRechargesRequest) (response *DescribeCosRechargesResponse, err error)
DescribeCosRecharges 本接口用于获取cos导入配置
可能返回的错误码:
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) DescribeDashboardSubscribes ¶ added in v1.0.912
func (c *Client) DescribeDashboardSubscribes(request *DescribeDashboardSubscribesRequest) (response *DescribeDashboardSubscribesResponse, err error)
DescribeDashboardSubscribes
本接口用于获取仪表盘订阅列表,支持分页
可能返回的错误码:
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" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeDashboardSubscribesWithContext ¶ added in v1.0.912
func (c *Client) DescribeDashboardSubscribesWithContext(ctx context.Context, request *DescribeDashboardSubscribesRequest) (response *DescribeDashboardSubscribesResponse, err error)
DescribeDashboardSubscribes
本接口用于获取仪表盘订阅列表,支持分页
可能返回的错误码:
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" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeDashboards ¶ added in v1.0.710
func (c *Client) DescribeDashboards(request *DescribeDashboardsRequest) (response *DescribeDashboardsResponse, err error)
DescribeDashboards 本接口用于获取仪表盘
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_TAGQPSLIMIT = "FailedOperation.TagQpsLimit" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" LIMITEXCEEDED = "LimitExceeded" LIMITEXCEEDED_TAG = "LimitExceeded.Tag" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACLFAILED = "OperationDenied.ACLFailed" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists"
func (*Client) DescribeDashboardsWithContext ¶ added in v1.0.710
func (c *Client) DescribeDashboardsWithContext(ctx context.Context, request *DescribeDashboardsRequest) (response *DescribeDashboardsResponse, err error)
DescribeDashboards 本接口用于获取仪表盘
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_TAGQPSLIMIT = "FailedOperation.TagQpsLimit" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" LIMITEXCEEDED = "LimitExceeded" LIMITEXCEEDED_TAG = "LimitExceeded.Tag" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACLFAILED = "OperationDenied.ACLFailed" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists"
func (*Client) DescribeDataTransformInfo ¶ added in v1.0.380
func (c *Client) DescribeDataTransformInfo(request *DescribeDataTransformInfoRequest) (response *DescribeDataTransformInfoResponse, err error)
DescribeDataTransformInfo 本接口用于获取数据加工任务列表基本信息
可能返回的错误码:
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 ¶ added in v1.0.380
func (c *Client) DescribeDataTransformInfoWithContext(ctx context.Context, request *DescribeDataTransformInfoRequest) (response *DescribeDataTransformInfoResponse, err error)
DescribeDataTransformInfo 本接口用于获取数据加工任务列表基本信息
可能返回的错误码:
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 本接口用于获取日志下载任务列表
可能返回的错误码:
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 ¶ added in v1.0.324
func (c *Client) DescribeExportsWithContext(ctx context.Context, request *DescribeExportsRequest) (response *DescribeExportsResponse, err error)
DescribeExports 本接口用于获取日志下载任务列表
可能返回的错误码:
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 本接口用于获取索引配置信息
可能返回的错误码:
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 ¶ added in v1.0.324
func (c *Client) DescribeIndexWithContext(ctx context.Context, request *DescribeIndexRequest) (response *DescribeIndexResponse, err error)
DescribeIndex 本接口用于获取索引配置信息
可能返回的错误码:
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 ¶ added in v1.0.712
func (c *Client) DescribeKafkaConsumer(request *DescribeKafkaConsumerRequest) (response *DescribeKafkaConsumerResponse, err error)
DescribeKafkaConsumer 获取Kafka协议消费信息
可能返回的错误码:
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 ¶ added in v1.0.712
func (c *Client) DescribeKafkaConsumerWithContext(ctx context.Context, request *DescribeKafkaConsumerRequest) (response *DescribeKafkaConsumerResponse, err error)
DescribeKafkaConsumer 获取Kafka协议消费信息
可能返回的错误码:
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 ¶ added in v1.0.693
func (c *Client) DescribeKafkaRecharges(request *DescribeKafkaRechargesRequest) (response *DescribeKafkaRechargesResponse, err error)
DescribeKafkaRecharges 本接口用于获取Kafka数据订阅任务
可能返回的错误码:
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 ¶ added in v1.0.693
func (c *Client) DescribeKafkaRechargesWithContext(ctx context.Context, request *DescribeKafkaRechargesRequest) (response *DescribeKafkaRechargesResponse, err error)
DescribeKafkaRecharges 本接口用于获取Kafka数据订阅任务
可能返回的错误码:
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 本接口用于搜索日志上下文附近的内容,详情参考[上下文检索](https://cloud.tencent.com/document/product/614/53248)。
API返回数据包最大49MB,建议启用 gzip 压缩(HTTP Request Header Accept-Encoding:gzip)。
可能返回的错误码:
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 ¶ added in v1.0.324
func (c *Client) DescribeLogContextWithContext(ctx context.Context, request *DescribeLogContextRequest) (response *DescribeLogContextResponse, err error)
DescribeLogContext 本接口用于搜索日志上下文附近的内容,详情参考[上下文检索](https://cloud.tencent.com/document/product/614/53248)。
API返回数据包最大49MB,建议启用 gzip 压缩(HTTP Request Header Accept-Encoding:gzip)。
可能返回的错误码:
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 ¶ added in v1.0.375
func (c *Client) DescribeLogHistogram(request *DescribeLogHistogramRequest) (response *DescribeLogHistogramResponse, err error)
DescribeLogHistogram 本接口用于构建日志数量直方图
可能返回的错误码:
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 ¶ added in v1.0.375
func (c *Client) DescribeLogHistogramWithContext(ctx context.Context, request *DescribeLogHistogramRequest) (response *DescribeLogHistogramResponse, err error)
DescribeLogHistogram 本接口用于构建日志数量直方图
可能返回的错误码:
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 ¶ added in v1.0.209
func (c *Client) DescribeLogsets(request *DescribeLogsetsRequest) (response *DescribeLogsetsResponse, err error)
DescribeLogsets 本接口用于获取日志集信息列表。
可能返回的错误码:
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 ¶ added in v1.0.324
func (c *Client) DescribeLogsetsWithContext(ctx context.Context, request *DescribeLogsetsRequest) (response *DescribeLogsetsResponse, err error)
DescribeLogsets 本接口用于获取日志集信息列表。
可能返回的错误码:
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 ¶ added in v1.0.209
func (c *Client) DescribeMachineGroupConfigs(request *DescribeMachineGroupConfigsRequest) (response *DescribeMachineGroupConfigsResponse, err error)
DescribeMachineGroupConfigs 获取机器组绑定的采集规则配置
可能返回的错误码:
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 ¶ added in v1.0.324
func (c *Client) DescribeMachineGroupConfigsWithContext(ctx context.Context, request *DescribeMachineGroupConfigsRequest) (response *DescribeMachineGroupConfigsResponse, err error)
DescribeMachineGroupConfigs 获取机器组绑定的采集规则配置
可能返回的错误码:
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 获取机器组信息列表
可能返回的错误码:
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 ¶ added in v1.0.324
func (c *Client) DescribeMachineGroupsWithContext(ctx context.Context, request *DescribeMachineGroupsRequest) (response *DescribeMachineGroupsResponse, err error)
DescribeMachineGroups 获取机器组信息列表
可能返回的错误码:
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 获取指定机器组下的机器状态
可能返回的错误码:
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 ¶ added in v1.0.324
func (c *Client) DescribeMachinesWithContext(ctx context.Context, request *DescribeMachinesRequest) (response *DescribeMachinesResponse, err error)
DescribeMachines 获取指定机器组下的机器状态
可能返回的错误码:
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 本接口用于获取主题分区列表。
可能返回的错误码:
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 ¶ added in v1.0.324
func (c *Client) DescribePartitionsWithContext(ctx context.Context, request *DescribePartitionsRequest) (response *DescribePartitionsResponse, err error)
DescribePartitions 本接口用于获取主题分区列表。
可能返回的错误码:
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 ¶ added in v1.0.708
func (c *Client) DescribeScheduledSqlInfo(request *DescribeScheduledSqlInfoRequest) (response *DescribeScheduledSqlInfoResponse, err error)
DescribeScheduledSqlInfo 本接口用于获取定时SQL分析任务列表
可能返回的错误码:
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 ¶ added in v1.0.708
func (c *Client) DescribeScheduledSqlInfoWithContext(ctx context.Context, request *DescribeScheduledSqlInfoRequest) (response *DescribeScheduledSqlInfoResponse, err error)
DescribeScheduledSqlInfo 本接口用于获取定时SQL分析任务列表
可能返回的错误码:
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 ¶ added in v1.0.210
func (c *Client) DescribeShipperTasks(request *DescribeShipperTasksRequest) (response *DescribeShipperTasksResponse, err error)
DescribeShipperTasks 获取投递任务列表
可能返回的错误码:
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 ¶ added in v1.0.324
func (c *Client) DescribeShipperTasksWithContext(ctx context.Context, request *DescribeShipperTasksRequest) (response *DescribeShipperTasksResponse, err error)
DescribeShipperTasks 获取投递任务列表
可能返回的错误码:
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 ¶ added in v1.0.210
func (c *Client) DescribeShippers(request *DescribeShippersRequest) (response *DescribeShippersResponse, err error)
DescribeShippers 获取投递到COS的任务配置信息
可能返回的错误码:
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 ¶ added in v1.0.324
func (c *Client) DescribeShippersWithContext(ctx context.Context, request *DescribeShippersRequest) (response *DescribeShippersResponse, err error)
DescribeShippers 获取投递到COS的任务配置信息
可能返回的错误码:
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 本接口用于获取日志主题列表,支持分页
可能返回的错误码:
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 ¶ added in v1.0.324
func (c *Client) DescribeTopicsWithContext(ctx context.Context, request *DescribeTopicsRequest) (response *DescribeTopicsResponse, err error)
DescribeTopics 本接口用于获取日志主题列表,支持分页
可能返回的错误码:
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 本接口用于获取告警策略执行详情
可能返回的错误码:
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 ¶ added in v1.0.324
func (c *Client) GetAlarmLogWithContext(ctx context.Context, request *GetAlarmLogRequest) (response *GetAlarmLogResponse, err error)
GetAlarmLog 本接口用于获取告警策略执行详情
可能返回的错误码:
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 本接口用于合并一个读写态的主题分区,合并时指定一个主题分区 ID,日志服务会自动合并范围右相邻的分区。
可能返回的错误码:
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 ¶ added in v1.0.324
func (c *Client) MergePartitionWithContext(ctx context.Context, request *MergePartitionRequest) (response *MergePartitionResponse, err error)
MergePartition 本接口用于合并一个读写态的主题分区,合并时指定一个主题分区 ID,日志服务会自动合并范围右相邻的分区。
可能返回的错误码:
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 本接口用于修改告警策略。需要至少修改一项有效内容。
可能返回的错误码:
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 该接口用于修改通知渠道组
可能返回的错误码:
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 ¶ added in v1.0.324
func (c *Client) ModifyAlarmNoticeWithContext(ctx context.Context, request *ModifyAlarmNoticeRequest) (response *ModifyAlarmNoticeResponse, err error)
ModifyAlarmNotice 该接口用于修改通知渠道组
可能返回的错误码:
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 ¶ added in v1.0.854
func (c *Client) ModifyAlarmShield(request *ModifyAlarmShieldRequest) (response *ModifyAlarmShieldResponse, err error)
ModifyAlarmShield 该接口用于修改告警屏蔽规则。
可能返回的错误码:
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 ¶ added in v1.0.854
func (c *Client) ModifyAlarmShieldWithContext(ctx context.Context, request *ModifyAlarmShieldRequest) (response *ModifyAlarmShieldResponse, err error)
ModifyAlarmShield 该接口用于修改告警屏蔽规则。
可能返回的错误码:
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 ¶ added in v1.0.324
func (c *Client) ModifyAlarmWithContext(ctx context.Context, request *ModifyAlarmRequest) (response *ModifyAlarmResponse, err error)
ModifyAlarm 本接口用于修改告警策略。需要至少修改一项有效内容。
可能返回的错误码:
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 ¶ added in v1.0.209
func (c *Client) ModifyConfig(request *ModifyConfigRequest) (response *ModifyConfigResponse, err error)
ModifyConfig 修改采集规则配置
可能返回的错误码:
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) ModifyConfigExtra ¶ added in v1.0.365
func (c *Client) ModifyConfigExtra(request *ModifyConfigExtraRequest) (response *ModifyConfigExtraResponse, err error)
ModifyConfigExtra 本接口用于修改特殊采集配置任务,特殊采集配置应用于自建K8S环境的采集Agent
可能返回的错误码:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_DBDUPLICATION = "InvalidParameter.DbDuplication" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists" RESOURCENOTFOUND_TOPICNOTEXIST = "ResourceNotFound.TopicNotExist"
func (*Client) ModifyConfigExtraWithContext ¶ added in v1.0.365
func (c *Client) ModifyConfigExtraWithContext(ctx context.Context, request *ModifyConfigExtraRequest) (response *ModifyConfigExtraResponse, err error)
ModifyConfigExtra 本接口用于修改特殊采集配置任务,特殊采集配置应用于自建K8S环境的采集Agent
可能返回的错误码:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_DBDUPLICATION = "InvalidParameter.DbDuplication" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists" RESOURCENOTFOUND_TOPICNOTEXIST = "ResourceNotFound.TopicNotExist"
func (*Client) ModifyConfigWithContext ¶ added in v1.0.324
func (c *Client) ModifyConfigWithContext(ctx context.Context, request *ModifyConfigRequest) (response *ModifyConfigResponse, err error)
ModifyConfig 修改采集规则配置
可能返回的错误码:
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 ¶ added in v1.0.315
func (c *Client) ModifyConsumer(request *ModifyConsumerRequest) (response *ModifyConsumerResponse, err error)
ModifyConsumer 本接口用于修改投递Ckafka任务
可能返回的错误码:
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 ¶ added in v1.0.324
func (c *Client) ModifyConsumerWithContext(ctx context.Context, request *ModifyConsumerRequest) (response *ModifyConsumerResponse, err error)
ModifyConsumer 本接口用于修改投递Ckafka任务
可能返回的错误码:
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 ¶ added in v1.0.613
func (c *Client) ModifyCosRecharge(request *ModifyCosRechargeRequest) (response *ModifyCosRechargeResponse, err error)
ModifyCosRecharge 本接口用于修改cos导入任务
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" 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) ModifyCosRechargeWithContext ¶ added in v1.0.613
func (c *Client) ModifyCosRechargeWithContext(ctx context.Context, request *ModifyCosRechargeRequest) (response *ModifyCosRechargeResponse, err error)
ModifyCosRecharge 本接口用于修改cos导入任务
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" 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) ModifyDashboardSubscribe ¶ added in v1.0.912
func (c *Client) ModifyDashboardSubscribe(request *ModifyDashboardSubscribeRequest) (response *ModifyDashboardSubscribeResponse, err error)
ModifyDashboardSubscribe 此接口用于修改仪表盘订阅
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_DBDUPLICATION = "InvalidParameter.DbDuplication" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCENOTFOUND_DASHBOARDRECORDNOTEXIST = "ResourceNotFound.DashboardRecordNotExist" RESOURCENOTFOUND_DASHBOARDSUBSCRIBERECORDNOTEXIST = "ResourceNotFound.DashboardSubscribeRecordNotExist"
func (*Client) ModifyDashboardSubscribeWithContext ¶ added in v1.0.912
func (c *Client) ModifyDashboardSubscribeWithContext(ctx context.Context, request *ModifyDashboardSubscribeRequest) (response *ModifyDashboardSubscribeResponse, err error)
ModifyDashboardSubscribe 此接口用于修改仪表盘订阅
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_DBDUPLICATION = "InvalidParameter.DbDuplication" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCENOTFOUND_DASHBOARDRECORDNOTEXIST = "ResourceNotFound.DashboardRecordNotExist" RESOURCENOTFOUND_DASHBOARDSUBSCRIBERECORDNOTEXIST = "ResourceNotFound.DashboardSubscribeRecordNotExist"
func (*Client) ModifyDataTransform ¶ added in v1.0.380
func (c *Client) ModifyDataTransform(request *ModifyDataTransformRequest) (response *ModifyDataTransformResponse, err error)
ModifyDataTransform 本接口用于修改数据加工任务
可能返回的错误码:
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 ¶ added in v1.0.380
func (c *Client) ModifyDataTransformWithContext(ctx context.Context, request *ModifyDataTransformRequest) (response *ModifyDataTransformResponse, err error)
ModifyDataTransform 本接口用于修改数据加工任务
可能返回的错误码:
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 本接口用于修改索引配置,该接口除受默认接口请求频率限制外,针对单个日志主题,并发数不能超过1,即同一时间同一个日志主题只能有一个正在执行的索引配置修改操作。
可能返回的错误码:
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 ¶ added in v1.0.324
func (c *Client) ModifyIndexWithContext(ctx context.Context, request *ModifyIndexRequest) (response *ModifyIndexResponse, err error)
ModifyIndex 本接口用于修改索引配置,该接口除受默认接口请求频率限制外,针对单个日志主题,并发数不能超过1,即同一时间同一个日志主题只能有一个正在执行的索引配置修改操作。
可能返回的错误码:
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 ¶ added in v1.0.712
func (c *Client) ModifyKafkaConsumer(request *ModifyKafkaConsumerRequest) (response *ModifyKafkaConsumerResponse, err error)
ModifyKafkaConsumer 修改Kafka协议消费信息
可能返回的错误码:
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 ¶ added in v1.0.712
func (c *Client) ModifyKafkaConsumerWithContext(ctx context.Context, request *ModifyKafkaConsumerRequest) (response *ModifyKafkaConsumerResponse, err error)
ModifyKafkaConsumer 修改Kafka协议消费信息
可能返回的错误码:
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 ¶ added in v1.0.693
func (c *Client) ModifyKafkaRecharge(request *ModifyKafkaRechargeRequest) (response *ModifyKafkaRechargeResponse, err error)
ModifyKafkaRecharge 本接口用于修改Kafka数据订阅任务
可能返回的错误码:
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 ¶ added in v1.0.693
func (c *Client) ModifyKafkaRechargeWithContext(ctx context.Context, request *ModifyKafkaRechargeRequest) (response *ModifyKafkaRechargeResponse, err error)
ModifyKafkaRecharge 本接口用于修改Kafka数据订阅任务
可能返回的错误码:
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 ¶ added in v1.0.209
func (c *Client) ModifyLogset(request *ModifyLogsetRequest) (response *ModifyLogsetResponse, err error)
ModifyLogset 本接口用于修改日志集信息
可能返回的错误码:
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 ¶ added in v1.0.324
func (c *Client) ModifyLogsetWithContext(ctx context.Context, request *ModifyLogsetRequest) (response *ModifyLogsetResponse, err error)
ModifyLogset 本接口用于修改日志集信息
可能返回的错误码:
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 修改机器组
可能返回的错误码:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_TIMEOUT = "FailedOperation.Timeout" 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 ¶ added in v1.0.324
func (c *Client) ModifyMachineGroupWithContext(ctx context.Context, request *ModifyMachineGroupRequest) (response *ModifyMachineGroupResponse, err error)
ModifyMachineGroup 修改机器组
可能返回的错误码:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_TIMEOUT = "FailedOperation.Timeout" 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 ¶ added in v1.0.708
func (c *Client) ModifyScheduledSql(request *ModifyScheduledSqlRequest) (response *ModifyScheduledSqlResponse, err error)
ModifyScheduledSql 本接口用于修改定时SQL分析任务
可能返回的错误码:
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 ¶ added in v1.0.708
func (c *Client) ModifyScheduledSqlWithContext(ctx context.Context, request *ModifyScheduledSqlRequest) (response *ModifyScheduledSqlResponse, err error)
ModifyScheduledSql 本接口用于修改定时SQL分析任务
可能返回的错误码:
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 ¶ added in v1.0.210
func (c *Client) ModifyShipper(request *ModifyShipperRequest) (response *ModifyShipperResponse, err error)
ModifyShipper 修改现有的投递规则,客户如果使用此接口,需要自行处理CLS对指定bucket的写权限。
可能返回的错误码:
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 ¶ added in v1.0.324
func (c *Client) ModifyShipperWithContext(ctx context.Context, request *ModifyShipperRequest) (response *ModifyShipperResponse, err error)
ModifyShipper 修改现有的投递规则,客户如果使用此接口,需要自行处理CLS对指定bucket的写权限。
可能返回的错误码:
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 本接口用于修改日志主题。
可能返回的错误码:
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 ¶ added in v1.0.324
func (c *Client) ModifyTopicWithContext(ctx context.Context, request *ModifyTopicRequest) (response *ModifyTopicResponse, err error)
ModifyTopic 本接口用于修改日志主题。
可能返回的错误码:
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 ¶ added in v1.0.382
func (c *Client) OpenKafkaConsumer(request *OpenKafkaConsumerRequest) (response *OpenKafkaConsumerResponse, err error)
OpenKafkaConsumer 打开Kafka协议消费功能
可能返回的错误码:
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 ¶ added in v1.0.382
func (c *Client) OpenKafkaConsumerWithContext(ctx context.Context, request *OpenKafkaConsumerRequest) (response *OpenKafkaConsumerResponse, err error)
OpenKafkaConsumer 打开Kafka协议消费功能
可能返回的错误码:
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 ¶ added in v1.0.693
func (c *Client) PreviewKafkaRecharge(request *PreviewKafkaRechargeRequest) (response *PreviewKafkaRechargeResponse, err error)
PreviewKafkaRecharge 本接口用于预览Kafka数据订阅任务客户日志信息
可能返回的错误码:
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 ¶ added in v1.0.693
func (c *Client) PreviewKafkaRechargeWithContext(ctx context.Context, request *PreviewKafkaRechargeRequest) (response *PreviewKafkaRechargeResponse, err error)
PreviewKafkaRecharge 本接口用于预览Kafka数据订阅任务客户日志信息
可能返回的错误码:
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 ¶ added in v1.0.753
func (c *Client) QueryMetric(request *QueryMetricRequest) (response *QueryMetricResponse, err error)
QueryMetric 查询指定时刻指标的最新值
可能返回的错误码:
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 ¶ added in v1.0.753
func (c *Client) QueryMetricWithContext(ctx context.Context, request *QueryMetricRequest) (response *QueryMetricResponse, err error)
QueryMetric 查询指定时刻指标的最新值
可能返回的错误码:
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 ¶ added in v1.0.753
func (c *Client) QueryRangeMetric(request *QueryRangeMetricRequest) (response *QueryRangeMetricResponse, err error)
QueryRangeMetric 查询指定时间范围内指标的变化趋势
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_QUERYERROR = "FailedOperation.QueryError" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" MISSINGPARAMETER = "MissingParameter"
func (*Client) QueryRangeMetricWithContext ¶ added in v1.0.753
func (c *Client) QueryRangeMetricWithContext(ctx context.Context, request *QueryRangeMetricRequest) (response *QueryRangeMetricResponse, err error)
QueryRangeMetric 查询指定时间范围内指标的变化趋势
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_QUERYERROR = "FailedOperation.QueryError" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" MISSINGPARAMETER = "MissingParameter"
func (*Client) RetryShipperTask ¶ added in v1.0.210
func (c *Client) RetryShipperTask(request *RetryShipperTaskRequest) (response *RetryShipperTaskResponse, err error)
RetryShipperTask 重试失败的投递任务
可能返回的错误码:
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 ¶ added in v1.0.324
func (c *Client) RetryShipperTaskWithContext(ctx context.Context, request *RetryShipperTaskRequest) (response *RetryShipperTaskResponse, err error)
RetryShipperTask 重试失败的投递任务
可能返回的错误码:
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 ¶ added in v1.0.731
func (c *Client) SearchCosRechargeInfo(request *SearchCosRechargeInfoRequest) (response *SearchCosRechargeInfoResponse, err error)
SearchCosRechargeInfo 本接口用于预览cos导入信息
可能返回的错误码:
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 ¶ added in v1.0.731
func (c *Client) SearchCosRechargeInfoWithContext(ctx context.Context, request *SearchCosRechargeInfoRequest) (response *SearchCosRechargeInfoResponse, err error)
SearchCosRechargeInfo 本接口用于预览cos导入信息
可能返回的错误码:
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) SearchDashboardSubscribe ¶ added in v1.0.912
func (c *Client) SearchDashboardSubscribe(request *SearchDashboardSubscribeRequest) (response *SearchDashboardSubscribeResponse, err error)
SearchDashboardSubscribe 此接口用于预览仪表盘订阅
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCENOTFOUND_DASHBOARDRECORDNOTEXIST = "ResourceNotFound.DashboardRecordNotExist"
func (*Client) SearchDashboardSubscribeWithContext ¶ added in v1.0.912
func (c *Client) SearchDashboardSubscribeWithContext(ctx context.Context, request *SearchDashboardSubscribeRequest) (response *SearchDashboardSubscribeResponse, err error)
SearchDashboardSubscribe 此接口用于预览仪表盘订阅
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCENOTFOUND_DASHBOARDRECORDNOTEXIST = "ResourceNotFound.DashboardRecordNotExist"
func (*Client) SearchLog ¶
func (c *Client) SearchLog(request *SearchLogRequest) (response *SearchLogResponse, err error)
SearchLog 本接口用于检索分析日志,使用该接口时请注意如下事项:
1. 该接口除受默认接口请求频率限制外,针对单个日志主题,查询并发数不能超过15。
2. 检索语法建议使用CQL语法规则,请使用SyntaxRule参数,将值设置为1。
3. API返回数据包最大49MB,建议启用 gzip 压缩(HTTP Request Header Accept-Encoding:gzip)。
可能返回的错误码:
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 ¶ added in v1.0.324
func (c *Client) SearchLogWithContext(ctx context.Context, request *SearchLogRequest) (response *SearchLogResponse, err error)
SearchLog 本接口用于检索分析日志,使用该接口时请注意如下事项:
1. 该接口除受默认接口请求频率限制外,针对单个日志主题,查询并发数不能超过15。
2. 检索语法建议使用CQL语法规则,请使用SyntaxRule参数,将值设置为1。
3. API返回数据包最大49MB,建议启用 gzip 压缩(HTTP Request Header Accept-Encoding:gzip)。
可能返回的错误码:
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 本接口用于分裂主题分区
可能返回的错误码:
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 ¶ added in v1.0.324
func (c *Client) SplitPartitionWithContext(ctx context.Context, request *SplitPartitionRequest) (response *SplitPartitionResponse, err error)
SplitPartition 本接口用于分裂主题分区
可能返回的错误码:
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 ¶ added in v1.0.228
func (c *Client) UploadLog(request *UploadLogRequest, data []byte) (response *UploadLogResponse, err error)
UploadLog ## 提示
为了保障您日志数据的可靠性以及更高效地使用日志服务,建议您使用CLS优化后的接口[上传结构化日志](https://cloud.tencent.com/document/product/614/16873)。
同时我们给此接口专门优化定制了多个语言版本的SDK供您选择,SDK提供统一的异步发送、资源控制、自动重试、优雅关闭、感知上报等功能,使上报日志功能更完善,详情请参考[SDK采集](https://cloud.tencent.com/document/product/614/67157)。
同时云API上传日志接口也支持同步上传日志数据,如果您选择继续使用此接口请参考下文。
## 功能描述
本接口用于将日志写入到指定的日志主题。
日志服务提供以下两种模式:
#### 负载均衡模式
系统根据当前日志主题下所有可读写的分区,遵循负载均衡原则自动分配写入的目标分区。该模式适合消费不保序的场景。
#### 哈希路由模式
系统根据携带的哈希值(X-CLS-HashKey)将数据写入到符合范围要求的目标分区。例如,可以将某个日志源端通过 hashkey 与某个主题分区强绑定,这样可以保证数据在该分区上写入和消费是严格保序的。
#### 输入参数(pb二进制流,位于body中)
| 字段名 | 类型 | 位置 | 必须 | 含义 |
| ------------ | ------- | ---- | ---- | ------------------------------------------------------------ |
| logGroupList | message | pb | 是 | logGroup 列表,封装好的日志组列表内容,建议 logGroup 数量不要超过5个 |
LogGroup 说明:
| 字段名 | 是否必选 | 含义 |
| ----------- | -------- | ------------------------------------------------------------ |
| logs | 是 | 日志数组,表示有多个 Log 组成的集合,一个 Log 表示一条日志,一个 LogGroup 中 Log 个数不能超过10000 |
| contextFlow | 否 | LogGroup 的唯一ID,需要使用上下文功能时传入。格式:"{上下文ID}-{LogGroupID}"。<br>上下文ID:唯一标识一个上下文(连续滚动的一系列日志文件,或者是需要保序的一系列日志),16进制64位整型字符串。<br>LogGroupID:连续递增的一串整型,16进制64位整型字符串。样例:"102700A66102516A-59F59"。 |
| filename | 否 | 日志文件名 |
| source | 否 | 日志来源,一般使用机器 IP 作为标识 |
| logTags | 否 | 日志的标签列表 |
Log 说明:
| 字段名 | 是否必选 | 含义 |
| -------- | -------- | ------------------------------------------------------------ |
| time | 是 | 日志时间(Unix 格式时间戳),支持秒、毫秒,建议采用毫秒 |
| contents | 否 | key-value 格式的日志内容,表示一条日志里的多个 key-value 组合 |
Content 说明:
| 字段名 | 是否必选 | 含义 |
| ------ | -------- | ------------------------------------------------------------ |
| key | 是 | 单条日志里某个字段组的 key 值,不能以`_`开头 |
| value | 是 | 单条日志某个字段组的 value 值,单条日志 value 不能超过1MB,LogGroup 中所有 value 总和不能超过5MB |
LogTag 说明:
| 字段名 | 是否必选 | 含义 |
| ------ | -------- | -------------------------------- |
| key | 是 | 自定义的标签 key |
| value | 是 | 自定义的标签 key 对应的 value 值 |
## PB 编译示例
本示例将说明如何使用官方 protoc 编译工具将 PB 描述文件 编译生成为 C++ 语言可调用的上传日志接口。
> ?目前 protoc 官方支持 Java、C++、Python 等语言的编译,详情请参见 [protoc](https://github.com/protocolbuffers/protobuf)。
#### 1. 安装 Protocol Buffer
下载 [Protocol Buffer](https://main.qcloudimg.com/raw/d7810aaf8b3073fbbc9d4049c21532aa/protobuf-2.6.1.tar.gz) ,解压并安装。示例版本为 protobuf 2.6.1,环境为 Centos 7.3 系统。 解压`protobuf-2.6.1.tar.gz`压缩包至`/usr/local`目录并进入该目录,执行命令如下:
```
tar -zxvf protobuf-2.6.1.tar.gz -C /usr/local/ && cd /usr/local/protobuf-2.6.1
```
开始编译和安装,配置环境变量,执行命令如下:
```
[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
```
编译成功后,您可以使用以下命令查看版本:
```
[root@VM_0_8_centos protobuf-2.6.1]# protoc --version
liprotoc 2.6.1
```
#### 2. 创建 PB 描述文件
PB 描述文件是通信双方约定的数据交换格式,上传日志时须将规定的协议格式编译成对应语言版本的调用接口,然后添加到工程代码里,详情请参见 [protoc](https://github.com/protocolbuffers/protobuf) 。
以日志服务所规定的 PB 数据格式内容为准, 在本地创建 PB 消息描述文件 cls.proto。
> !PB 描述文件内容不可更改,且文件名须以`.proto`结尾。
cls.proto 内容(PB 描述文件)如下:
```
package cls;
message Log
{
message Content { required string key = 1; // 每组字段的 key required string value = 2; // 每组字段的 value } required int64 time = 1; // 时间戳,UNIX时间格式 repeated Content contents = 2; // 一条日志里的多个kv组合
}
message LogTag
{
required string key = 1; required string value = 2;
}
message LogGroup
{
repeated Log logs = 1; // 多条日志合成的日志数组 optional string contextFlow = 2; // 目前暂无效用 optional string filename = 3; // 日志文件名 optional string source = 4; // 日志来源,一般使用机器IP repeated LogTag logTags = 5;
}
message LogGroupList
{
repeated LogGroup logGroupList = 1; // 日志组列表
}
```
#### 3. 编译生成
此例中,使用 proto 编译器生成 C++ 语言的文件,在 cls.proto 文件的同一目录下,执行如下编译命令:
```
protoc --cpp_out=./ ./cls.proto
```
> ?`--cpp_out=./`表示编译成 cpp 格式并输出当前目录下,`./cls.proto`表示位于当前目录下的 cls.proto 描述文件。
编译成功后,会输出对应语言的代码文件。此例会生成 cls.pb.h 头文件和 [cls.pb.cc](http://cls.pb.cc) 代码实现文件,如下所示:
```
[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. 调用
将生成的 cls.pb.h 头文件引入代码中,调用接口进行数据格式封装。
可能返回的错误码:
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 ¶ added in v1.0.324
func (c *Client) UploadLogWithContext(ctx context.Context, request *UploadLogRequest, data []byte) (response *UploadLogResponse, err error)
UploadLog ## 提示
为了保障您日志数据的可靠性以及更高效地使用日志服务,建议您使用CLS优化后的接口[上传结构化日志](https://cloud.tencent.com/document/product/614/16873)。
同时我们给此接口专门优化定制了多个语言版本的SDK供您选择,SDK提供统一的异步发送、资源控制、自动重试、优雅关闭、感知上报等功能,使上报日志功能更完善,详情请参考[SDK采集](https://cloud.tencent.com/document/product/614/67157)。
同时云API上传日志接口也支持同步上传日志数据,如果您选择继续使用此接口请参考下文。
## 功能描述
本接口用于将日志写入到指定的日志主题。
日志服务提供以下两种模式:
#### 负载均衡模式
系统根据当前日志主题下所有可读写的分区,遵循负载均衡原则自动分配写入的目标分区。该模式适合消费不保序的场景。
#### 哈希路由模式
系统根据携带的哈希值(X-CLS-HashKey)将数据写入到符合范围要求的目标分区。例如,可以将某个日志源端通过 hashkey 与某个主题分区强绑定,这样可以保证数据在该分区上写入和消费是严格保序的。
#### 输入参数(pb二进制流,位于body中)
| 字段名 | 类型 | 位置 | 必须 | 含义 |
| ------------ | ------- | ---- | ---- | ------------------------------------------------------------ |
| logGroupList | message | pb | 是 | logGroup 列表,封装好的日志组列表内容,建议 logGroup 数量不要超过5个 |
LogGroup 说明:
| 字段名 | 是否必选 | 含义 |
| ----------- | -------- | ------------------------------------------------------------ |
| logs | 是 | 日志数组,表示有多个 Log 组成的集合,一个 Log 表示一条日志,一个 LogGroup 中 Log 个数不能超过10000 |
| contextFlow | 否 | LogGroup 的唯一ID,需要使用上下文功能时传入。格式:"{上下文ID}-{LogGroupID}"。<br>上下文ID:唯一标识一个上下文(连续滚动的一系列日志文件,或者是需要保序的一系列日志),16进制64位整型字符串。<br>LogGroupID:连续递增的一串整型,16进制64位整型字符串。样例:"102700A66102516A-59F59"。 |
| filename | 否 | 日志文件名 |
| source | 否 | 日志来源,一般使用机器 IP 作为标识 |
| logTags | 否 | 日志的标签列表 |
Log 说明:
| 字段名 | 是否必选 | 含义 |
| -------- | -------- | ------------------------------------------------------------ |
| time | 是 | 日志时间(Unix 格式时间戳),支持秒、毫秒,建议采用毫秒 |
| contents | 否 | key-value 格式的日志内容,表示一条日志里的多个 key-value 组合 |
Content 说明:
| 字段名 | 是否必选 | 含义 |
| ------ | -------- | ------------------------------------------------------------ |
| key | 是 | 单条日志里某个字段组的 key 值,不能以`_`开头 |
| value | 是 | 单条日志某个字段组的 value 值,单条日志 value 不能超过1MB,LogGroup 中所有 value 总和不能超过5MB |
LogTag 说明:
| 字段名 | 是否必选 | 含义 |
| ------ | -------- | -------------------------------- |
| key | 是 | 自定义的标签 key |
| value | 是 | 自定义的标签 key 对应的 value 值 |
## PB 编译示例
本示例将说明如何使用官方 protoc 编译工具将 PB 描述文件 编译生成为 C++ 语言可调用的上传日志接口。
> ?目前 protoc 官方支持 Java、C++、Python 等语言的编译,详情请参见 [protoc](https://github.com/protocolbuffers/protobuf)。
#### 1. 安装 Protocol Buffer
下载 [Protocol Buffer](https://main.qcloudimg.com/raw/d7810aaf8b3073fbbc9d4049c21532aa/protobuf-2.6.1.tar.gz) ,解压并安装。示例版本为 protobuf 2.6.1,环境为 Centos 7.3 系统。 解压`protobuf-2.6.1.tar.gz`压缩包至`/usr/local`目录并进入该目录,执行命令如下:
```
tar -zxvf protobuf-2.6.1.tar.gz -C /usr/local/ && cd /usr/local/protobuf-2.6.1
```
开始编译和安装,配置环境变量,执行命令如下:
```
[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
```
编译成功后,您可以使用以下命令查看版本:
```
[root@VM_0_8_centos protobuf-2.6.1]# protoc --version
liprotoc 2.6.1
```
#### 2. 创建 PB 描述文件
PB 描述文件是通信双方约定的数据交换格式,上传日志时须将规定的协议格式编译成对应语言版本的调用接口,然后添加到工程代码里,详情请参见 [protoc](https://github.com/protocolbuffers/protobuf) 。
以日志服务所规定的 PB 数据格式内容为准, 在本地创建 PB 消息描述文件 cls.proto。
> !PB 描述文件内容不可更改,且文件名须以`.proto`结尾。
cls.proto 内容(PB 描述文件)如下:
```
package cls;
message Log
{
message Content { required string key = 1; // 每组字段的 key required string value = 2; // 每组字段的 value } required int64 time = 1; // 时间戳,UNIX时间格式 repeated Content contents = 2; // 一条日志里的多个kv组合
}
message LogTag
{
required string key = 1; required string value = 2;
}
message LogGroup
{
repeated Log logs = 1; // 多条日志合成的日志数组 optional string contextFlow = 2; // 目前暂无效用 optional string filename = 3; // 日志文件名 optional string source = 4; // 日志来源,一般使用机器IP repeated LogTag logTags = 5;
}
message LogGroupList
{
repeated LogGroup logGroupList = 1; // 日志组列表
}
```
#### 3. 编译生成
此例中,使用 proto 编译器生成 C++ 语言的文件,在 cls.proto 文件的同一目录下,执行如下编译命令:
```
protoc --cpp_out=./ ./cls.proto
```
> ?`--cpp_out=./`表示编译成 cpp 格式并输出当前目录下,`./cls.proto`表示位于当前目录下的 cls.proto 描述文件。
编译成功后,会输出对应语言的代码文件。此例会生成 cls.pb.h 头文件和 [cls.pb.cc](http://cls.pb.cc) 代码实现文件,如下所示:
```
[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. 调用
将生成的 cls.pb.h 头文件引入代码中,调用接口进行数据格式封装。
可能返回的错误码:
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 ¶ added in v1.0.382
type CloseKafkaConsumerRequest struct { *tchttp.BaseRequest // 日志主题ID FromTopicId *string `json:"FromTopicId,omitnil,omitempty" name:"FromTopicId"` }
func NewCloseKafkaConsumerRequest ¶ added in v1.0.382
func NewCloseKafkaConsumerRequest() (request *CloseKafkaConsumerRequest)
func (*CloseKafkaConsumerRequest) FromJsonString ¶ added in v1.0.382
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 ¶ added in v1.0.382
func (r *CloseKafkaConsumerRequest) ToJsonString() string
type CloseKafkaConsumerRequestParams ¶ added in v1.0.426
type CloseKafkaConsumerRequestParams struct { // 日志主题ID FromTopicId *string `json:"FromTopicId,omitnil,omitempty" name:"FromTopicId"` }
Predefined struct for user
type CloseKafkaConsumerResponse ¶ added in v1.0.382
type CloseKafkaConsumerResponse struct { *tchttp.BaseResponse Response *CloseKafkaConsumerResponseParams `json:"Response"` }
func NewCloseKafkaConsumerResponse ¶ added in v1.0.382
func NewCloseKafkaConsumerResponse() (response *CloseKafkaConsumerResponse)
func (*CloseKafkaConsumerResponse) FromJsonString ¶ added in v1.0.382
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 ¶ added in v1.0.382
func (r *CloseKafkaConsumerResponse) ToJsonString() string
type CloseKafkaConsumerResponseParams ¶ added in v1.0.426
type CloseKafkaConsumerResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CollectConfig ¶ added in v1.0.870
type CollectConfig struct { // 指定采集类型的采集配置名称信息。 // <li>当CollectInfo中Type为0:表示元数据配置,name为元数据名称。 // 目前支持"container_id","container_name","image_name","namespace","pod_uid","pod_name","pod_ip"。 // </li> // <li>当CollectInfo中Type为1:指定pod label,name为指定pod label名称。</li> Name *string `json:"Name,omitnil,omitempty" name:"Name"` }
type CollectInfo ¶ added in v1.0.870
type CollectInfo struct { // 采集类型,必填字段。 // <li>0:元数据配置。</li> // <li>1:指定Pod Label。</li> // 注意:此字段可能返回 null,表示取不到有效值。 Type *uint64 `json:"Type,omitnil,omitempty" name:"Type"` // 指定采集类型的采集配置信息。 // <li>当Type为0时,CollectConfigs不允许为空。</li> // <li>当Type为1时,CollectConfigs为空时,表示选择所有Pod Label;否则CollectConfigs为指定Pod Label。</li> // 注意:此字段可能返回 null,表示取不到有效值。 CollectConfigs []*CollectConfig `json:"CollectConfigs,omitnil,omitempty" name:"CollectConfigs"` }
type CompressInfo ¶ added in v1.0.210
type CompressInfo struct { // 压缩格式,支持gzip、lzop、snappy和none不压缩 Format *string `json:"Format,omitnil,omitempty" name:"Format"` }
type ConfigExtraInfo ¶ added in v1.0.365
type ConfigExtraInfo struct { // 采集规则扩展配置ID ConfigExtraId *string `json:"ConfigExtraId,omitnil,omitempty" name:"ConfigExtraId"` // 采集规则名称 Name *string `json:"Name,omitnil,omitempty" name:"Name"` // 日志主题ID TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"` // 类型:container_stdout、container_file、host_file Type *string `json:"Type,omitnil,omitempty" name:"Type"` // 节点文件配置信息 // 注意:此字段可能返回 null,表示取不到有效值。 HostFile *HostFileInfo `json:"HostFile,omitnil,omitempty" name:"HostFile"` // 容器文件路径信息 // 注意:此字段可能返回 null,表示取不到有效值。 ContainerFile *ContainerFileInfo `json:"ContainerFile,omitnil,omitempty" name:"ContainerFile"` // 容器标准输出信息 // 注意:此字段可能返回 null,表示取不到有效值。 ContainerStdout *ContainerStdoutInfo `json:"ContainerStdout,omitnil,omitempty" name:"ContainerStdout"` // 日志格式化方式 // 注意:此字段可能返回 null,表示取不到有效值。 LogFormat *string `json:"LogFormat,omitnil,omitempty" name:"LogFormat"` // 采集的日志类型,json_log代表json格式日志,delimiter_log代表分隔符格式日志,minimalist_log代表极简日志,multiline_log代表多行日志,fullregex_log代表完整正则,默认为minimalist_log // 注意:此字段可能返回 null,表示取不到有效值。 LogType *string `json:"LogType,omitnil,omitempty" name:"LogType"` // 提取规则,如果设置了ExtractRule,则必须设置LogType // 注意:此字段可能返回 null,表示取不到有效值。 ExtractRule *ExtractRuleInfo `json:"ExtractRule,omitnil,omitempty" name:"ExtractRule"` // 采集黑名单路径列表 // 注意:此字段可能返回 null,表示取不到有效值。 ExcludePaths []*ExcludePathInfo `json:"ExcludePaths,omitnil,omitempty" name:"ExcludePaths"` // 更新时间 UpdateTime *string `json:"UpdateTime,omitnil,omitempty" name:"UpdateTime"` // 创建时间 CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"` // 用户自定义解析字符串 // 注意:此字段可能返回 null,表示取不到有效值。 UserDefineRule *string `json:"UserDefineRule,omitnil,omitempty" name:"UserDefineRule"` // 机器组ID GroupId *string `json:"GroupId,omitnil,omitempty" name:"GroupId"` // 自建采集配置标 // 注意:此字段可能返回 null,表示取不到有效值。 ConfigFlag *string `json:"ConfigFlag,omitnil,omitempty" name:"ConfigFlag"` // 日志集ID // 注意:此字段可能返回 null,表示取不到有效值。 LogsetId *string `json:"LogsetId,omitnil,omitempty" name:"LogsetId"` // 日志集name // 注意:此字段可能返回 null,表示取不到有效值。 LogsetName *string `json:"LogsetName,omitnil,omitempty" name:"LogsetName"` // 日志主题name // 注意:此字段可能返回 null,表示取不到有效值。 TopicName *string `json:"TopicName,omitnil,omitempty" name:"TopicName"` // 采集相关配置信息。详情见 CollectInfo复杂类型配置。 // 注意:此字段可能返回 null,表示取不到有效值。 CollectInfos []*CollectInfo `json:"CollectInfos,omitnil,omitempty" name:"CollectInfos"` // 高级采集配置。 Json字符串, Key/Value定义为如下: // - ClsAgentFileTimeout(超时属性), 取值范围: 大于等于0的整数, 0为不超时 // - ClsAgentMaxDepth(最大目录深度),取值范围: 大于等于0的整数 // - ClsAgentParseFailMerge(合并解析失败日志),取值范围: true或false // 样例:{"ClsAgentFileTimeout":0,"ClsAgentMaxDepth":10,"ClsAgentParseFailMerge":true} // 注意:此字段可能返回 null,表示取不到有效值。 AdvancedConfig *string `json:"AdvancedConfig,omitnil,omitempty" name:"AdvancedConfig"` }
type ConfigInfo ¶ added in v1.0.209
type ConfigInfo struct { // 采集规则配置ID ConfigId *string `json:"ConfigId,omitnil,omitempty" name:"ConfigId"` // 采集规则配置名称 // 注意:此字段可能返回 null,表示取不到有效值。 Name *string `json:"Name,omitnil,omitempty" name:"Name"` // 日志格式化方式 // 注意:此字段可能返回 null,表示取不到有效值。 LogFormat *string `json:"LogFormat,omitnil,omitempty" name:"LogFormat"` // 日志采集路径 // 注意:此字段可能返回 null,表示取不到有效值。 Path *string `json:"Path,omitnil,omitempty" name:"Path"` // 采集的日志类型。 // - json_log代表:JSON-文件日志(详见[使用 JSON 提取模式采集日志](https://cloud.tencent.com/document/product/614/17419)); // - delimiter_log代表:分隔符-文件日志(详见[使用分隔符提取模式采集日志](https://cloud.tencent.com/document/product/614/17420)); // - minimalist_log代表:单行全文-文件日志(详见[使用单行全文提取模式采集日志](https://cloud.tencent.com/document/product/614/17421)); // - fullregex_log代表:单行完全正则-文件日志(详见[使用单行-完全正则提取模式采集日志](https://cloud.tencent.com/document/product/614/52365)); // - multiline_log代表:多行全文-文件日志(详见[使用多行全文提取模式采集日志](https://cloud.tencent.com/document/product/614/17422)); // - multiline_fullregex_log代表:多行完全正则-文件日志(详见[使用多行-完全正则提取模式采集日志](https://cloud.tencent.com/document/product/614/52366)); // - user_define_log代表:组合解析(适用于多格式嵌套的日志,详见[使用组合解析提取模式采集日志](https://cloud.tencent.com/document/product/614/61310)); // - service_syslog代表:syslog 采集(详见[采集 Syslog](https://cloud.tencent.com/document/product/614/81454)); // - windows_event_log代表:Windows事件日志(详见[采集 Windows 事件日志](https://cloud.tencent.com/document/product/614/96678))。 // 注意:此字段可能返回 null,表示取不到有效值。 LogType *string `json:"LogType,omitnil,omitempty" name:"LogType"` // 提取规则,如果设置了ExtractRule,则必须设置LogType // 注意:此字段可能返回 null,表示取不到有效值。 ExtractRule *ExtractRuleInfo `json:"ExtractRule,omitnil,omitempty" name:"ExtractRule"` // 采集黑名单路径列表 // 注意:此字段可能返回 null,表示取不到有效值。 ExcludePaths []*ExcludePathInfo `json:"ExcludePaths,omitnil,omitempty" name:"ExcludePaths"` // 采集配置所属日志主题ID即TopicId Output *string `json:"Output,omitnil,omitempty" name:"Output"` // 更新时间 // 注意:此字段可能返回 null,表示取不到有效值。 UpdateTime *string `json:"UpdateTime,omitnil,omitempty" name:"UpdateTime"` // 创建时间 CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"` // 用户自定义解析字符串,详见[使用组合解析提取模式采集日志](https://cloud.tencent.com/document/product/614/61310)。 // 注意:此字段可能返回 null,表示取不到有效值。 UserDefineRule *string `json:"UserDefineRule,omitnil,omitempty" name:"UserDefineRule"` // 高级采集配置。 Json字符串, Key/Value定义为如下: // - ClsAgentFileTimeout(超时属性), 取值范围: 大于等于0的整数, 0为不超时 // - ClsAgentMaxDepth(最大目录深度),取值范围: 大于等于0的整数 // - ClsAgentParseFailMerge(合并解析失败日志),取值范围: true或false // 样例: // `{\"ClsAgentFileTimeout\":0,\"ClsAgentMaxDepth\":10,\"ClsAgentParseFailMerge\":true}` // // 控制台默认占位值:`{\"ClsAgentDefault\":0}` // 注意:此字段可能返回 null,表示取不到有效值。 AdvancedConfig *string `json:"AdvancedConfig,omitnil,omitempty" name:"AdvancedConfig"` }
type ConsumerContent ¶ added in v1.0.315
type ConsumerContent struct { // 是否投递 TAG 信息。 // 当EnableTag为true时,表示投递TAG元信息。 // 注意:此字段可能返回 null,表示取不到有效值。 EnableTag *bool `json:"EnableTag,omitnil,omitempty" name:"EnableTag"` // 需要投递的元数据列表,目前仅支持:\_\_SOURCE\_\_,\_\_FILENAME\_\_,\_\_TIMESTAMP\_\_,\_\_HOSTNAME\_\_和\_\_PKGID\_\_ // 注意:此字段可能返回 null,表示取不到有效值。 MetaFields []*string `json:"MetaFields,omitnil,omitempty" name:"MetaFields"` // 当EnableTag为true时,必须填写TagJsonNotTiled字段。 // TagJsonNotTiled用于标识tag信息是否json平铺。 // // TagJsonNotTiled为true时不平铺,示例: // TAG信息:`{"__TAG__":{"fieldA":200,"fieldB":"text"}}` // 不平铺:`{"__TAG__":{"fieldA":200,"fieldB":"text"}}` // // TagJsonNotTiled为false时平铺,示例: // TAG信息:`{"__TAG__":{"fieldA":200,"fieldB":"text"}}` // 平铺:`{"__TAG__.fieldA":200,"__TAG__.fieldB":"text"}` // 注意:此字段可能返回 null,表示取不到有效值。 TagJsonNotTiled *bool `json:"TagJsonNotTiled,omitnil,omitempty" name:"TagJsonNotTiled"` // 投递时间戳精度,可选项 [1:秒;2:毫秒] ,默认是1。 // 注意:此字段可能返回 null,表示取不到有效值。 TimestampAccuracy *int64 `json:"TimestampAccuracy,omitnil,omitempty" name:"TimestampAccuracy"` // 投递Json格式。 // JsonType为0:和原始日志一致,不转义。示例: // 日志原文:`{"a":"aa", "b":{"b1":"b1b1", "c1":"c1c1"}}` // 投递到Ckafka:`{"a":"aa", "b":{"b1":"b1b1", "c1":"c1c1"}}` // // JsonType为1:转义。示例: // 日志原文:`{"a":"aa", "b":{"b1":"b1b1", "c1":"c1c1"}}` // 投递到Ckafka:`{"a":"aa","b":"{\"b1\":\"b1b1\", \"c1\":\"c1c1\"}"}` // 注意:此字段可能返回 null,表示取不到有效值。 JsonType *int64 `json:"JsonType,omitnil,omitempty" name:"JsonType"` }
type ContainerFileInfo ¶ added in v1.0.365
type ContainerFileInfo struct { // namespace可以多个,用分隔号分割,例如A,B Namespace *string `json:"Namespace,omitnil,omitempty" name:"Namespace"` // 容器名称 Container *string `json:"Container,omitnil,omitempty" name:"Container"` // 日志文件夹 LogPath *string `json:"LogPath,omitnil,omitempty" name:"LogPath"` // 日志名称 FilePattern *string `json:"FilePattern,omitnil,omitempty" name:"FilePattern"` // 日志文件信息 FilePaths []*FilePathInfo `json:"FilePaths,omitnil,omitempty" name:"FilePaths"` // pod标签信息 // 注意:此字段可能返回 null,表示取不到有效值。 IncludeLabels []*string `json:"IncludeLabels,omitnil,omitempty" name:"IncludeLabels"` // 工作负载信息 // 注意:此字段可能返回 null,表示取不到有效值。 WorkLoad *ContainerWorkLoadInfo `json:"WorkLoad,omitnil,omitempty" name:"WorkLoad"` // 需要排除的namespace可以多个,用分隔号分割,例如A,B // 注意:此字段可能返回 null,表示取不到有效值。 ExcludeNamespace *string `json:"ExcludeNamespace,omitnil,omitempty" name:"ExcludeNamespace"` // 需要排除的pod标签信息 // 注意:此字段可能返回 null,表示取不到有效值。 ExcludeLabels []*string `json:"ExcludeLabels,omitnil,omitempty" name:"ExcludeLabels"` // metadata信息 // 注意:此字段可能返回 null,表示取不到有效值。 CustomLabels []*string `json:"CustomLabels,omitnil,omitempty" name:"CustomLabels"` }
type ContainerStdoutInfo ¶ added in v1.0.365
type ContainerStdoutInfo struct { // 是否所有容器 AllContainers *bool `json:"AllContainers,omitnil,omitempty" name:"AllContainers"` // container为空表所有的,不为空采集指定的容器 // 注意:此字段可能返回 null,表示取不到有效值。 Container *string `json:"Container,omitnil,omitempty" name:"Container"` // namespace可以多个,用分隔号分割,例如A,B;为空或者没有这个字段,表示所有namespace // 注意:此字段可能返回 null,表示取不到有效值。 Namespace *string `json:"Namespace,omitnil,omitempty" name:"Namespace"` // pod标签信息 // 注意:此字段可能返回 null,表示取不到有效值。 IncludeLabels []*string `json:"IncludeLabels,omitnil,omitempty" name:"IncludeLabels"` // 工作负载信息 // 注意:此字段可能返回 null,表示取不到有效值。 WorkLoads []*ContainerWorkLoadInfo `json:"WorkLoads,omitnil,omitempty" name:"WorkLoads"` // 需要排除的namespace可以多个,用分隔号分割,例如A,B // 注意:此字段可能返回 null,表示取不到有效值。 ExcludeNamespace *string `json:"ExcludeNamespace,omitnil,omitempty" name:"ExcludeNamespace"` // 需要排除的pod标签信息 // 注意:此字段可能返回 null,表示取不到有效值。 ExcludeLabels []*string `json:"ExcludeLabels,omitnil,omitempty" name:"ExcludeLabels"` // metadata信息 // 注意:此字段可能返回 null,表示取不到有效值。 CustomLabels []*string `json:"CustomLabels,omitnil,omitempty" name:"CustomLabels"` }
type ContainerWorkLoadInfo ¶ added in v1.0.365
type ContainerWorkLoadInfo struct { // 工作负载的类型 Kind *string `json:"Kind,omitnil,omitempty" name:"Kind"` // 工作负载的名称 Name *string `json:"Name,omitnil,omitempty" name:"Name"` // 容器名 // 注意:此字段可能返回 null,表示取不到有效值。 Container *string `json:"Container,omitnil,omitempty" name:"Container"` // 命名空间 // 注意:此字段可能返回 null,表示取不到有效值。 Namespace *string `json:"Namespace,omitnil,omitempty" name:"Namespace"` }
type ContentInfo ¶ added in v1.0.210
type ContentInfo struct { // 内容格式,支持json、csv Format *string `json:"Format,omitnil,omitempty" name:"Format"` // csv格式内容描述 // 注意:此字段可能返回 null,表示取不到有效值。 Csv *CsvInfo `json:"Csv,omitnil,omitempty" name:"Csv"` // json格式内容描述 // 注意:此字段可能返回 null,表示取不到有效值。 Json *JsonInfo `json:"Json,omitnil,omitempty" name:"Json"` // parquet格式内容描述 // 注意:此字段可能返回 null,表示取不到有效值。 Parquet *ParquetInfo `json:"Parquet,omitnil,omitempty" name:"Parquet"` }
type CosRechargeInfo ¶ added in v1.0.613
type CosRechargeInfo struct { // COS导入配置ID // 注意:此字段可能返回 null,表示取不到有效值。 Id *string `json:"Id,omitnil,omitempty" name:"Id"` // 日志主题ID // 注意:此字段可能返回 null,表示取不到有效值。 TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"` // 日志集ID // 注意:此字段可能返回 null,表示取不到有效值。 LogsetId *string `json:"LogsetId,omitnil,omitempty" name:"LogsetId"` // COS导入任务名称 // 注意:此字段可能返回 null,表示取不到有效值。 Name *string `json:"Name,omitnil,omitempty" name:"Name"` // COS存储桶 // 注意:此字段可能返回 null,表示取不到有效值。 Bucket *string `json:"Bucket,omitnil,omitempty" name:"Bucket"` // COS存储桶所在地域 // 注意:此字段可能返回 null,表示取不到有效值。 BucketRegion *string `json:"BucketRegion,omitnil,omitempty" name:"BucketRegion"` // COS文件所在文件夹的前缀 // 注意:此字段可能返回 null,表示取不到有效值。 Prefix *string `json:"Prefix,omitnil,omitempty" name:"Prefix"` // 采集的日志类型,json_log代表json格式日志,delimiter_log代表分隔符格式日志,minimalist_log代表单行全文; // 默认为minimalist_log // 注意:此字段可能返回 null,表示取不到有效值。 LogType *string `json:"LogType,omitnil,omitempty" name:"LogType"` // 状态 status 0: 已创建, 1: 运行中, 2: 已停止, 3: 已完成, 4: 运行失败。 // 注意:此字段可能返回 null,表示取不到有效值。 Status *uint64 `json:"Status,omitnil,omitempty" name:"Status"` // 是否启用: 0: 未启用 , 1:启用 // 注意:此字段可能返回 null,表示取不到有效值。 Enable *uint64 `json:"Enable,omitnil,omitempty" name:"Enable"` // 创建时间 // 注意:此字段可能返回 null,表示取不到有效值。 CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"` // 更新时间 // 注意:此字段可能返回 null,表示取不到有效值。 UpdateTime *string `json:"UpdateTime,omitnil,omitempty" name:"UpdateTime"` // 进度条百分值 // 注意:此字段可能返回 null,表示取不到有效值。 Progress *uint64 `json:"Progress,omitnil,omitempty" name:"Progress"` // supported: "", "gzip", "lzop", "snappy”; 默认空 // 注意:此字段可能返回 null,表示取不到有效值。 Compress *string `json:"Compress,omitnil,omitempty" name:"Compress"` // 见: ExtractRuleInfo 结构描述 // 注意:此字段可能返回 null,表示取不到有效值。 ExtractRuleInfo *ExtractRuleInfo `json:"ExtractRuleInfo,omitnil,omitempty" name:"ExtractRuleInfo"` // COS导入任务类型。1:一次性导入任务;2:持续性导入任务。 // 注意:此字段可能返回 null,表示取不到有效值。 TaskType *uint64 `json:"TaskType,omitnil,omitempty" name:"TaskType"` // 元数据。支持 bucket,object。 // 注意:此字段可能返回 null,表示取不到有效值。 Metadata []*string `json:"Metadata,omitnil,omitempty" name:"Metadata"` }
type CreateAlarmNoticeRequest ¶
type CreateAlarmNoticeRequest struct { *tchttp.BaseRequest // 通知渠道组名称。 Name *string `json:"Name,omitnil,omitempty" name:"Name"` // 通知类型。可选值: // - Trigger - 告警触发 // - Recovery - 告警恢复 // - All - 告警触发和告警恢复 // // // 注意: // - Type、NoticeReceivers和WebCallbacks是一组rule配置,其中Type必填,NoticeReceivers和WebCallbacks至少一个不为空;NoticeRules是另一组rule配置,其中rule不许为空 // - 2组rule配置互斥 // - rule配置 与 deliver配置(DeliverStatus与DeliverConfig)至少填写一组配置 Type *string `json:"Type,omitnil,omitempty" name:"Type"` // 通知接收对象。 // 注意: // - Type、NoticeReceivers和WebCallbacks是一组rule配置,其中Type必填,NoticeReceivers和WebCallbacks至少一个不为空;NoticeRules是另一组rule配置,其中rule不许为空 // - 2组rule配置互斥 // - rule配置 与 deliver配置(DeliverStatus与DeliverConfig)至少填写一组配置 NoticeReceivers []*NoticeReceiver `json:"NoticeReceivers,omitnil,omitempty" name:"NoticeReceivers"` // 接口回调信息(包括企业微信)。 // 注意: // - Type、NoticeReceivers和WebCallbacks是一组rule配置,其中Type必填,NoticeReceivers和WebCallbacks至少一个不为空;NoticeRules是另一组rule配置,其中rule不许为空 // - 2组rule配置互斥 // - rule配置 与 deliver配置(DeliverStatus与DeliverConfig)至少填写一组配置 WebCallbacks []*WebCallback `json:"WebCallbacks,omitnil,omitempty" name:"WebCallbacks"` // 通知规则。 // 注意: // - Type、NoticeReceivers和WebCallbacks是一组rule配置,其中Type必填,NoticeReceivers和WebCallbacks至少一个不为空;NoticeRules是另一组rule配置,其中rule不许为空 // - 2组rule配置互斥 // - rule配置 与 deliver配置(DeliverStatus与DeliverConfig)至少填写一组配置 // 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 ¶ added in v1.0.426
type CreateAlarmNoticeRequestParams struct { // 通知渠道组名称。 Name *string `json:"Name,omitnil,omitempty" name:"Name"` // 通知类型。可选值: // - Trigger - 告警触发 // - Recovery - 告警恢复 // - All - 告警触发和告警恢复 // // // 注意: // - Type、NoticeReceivers和WebCallbacks是一组rule配置,其中Type必填,NoticeReceivers和WebCallbacks至少一个不为空;NoticeRules是另一组rule配置,其中rule不许为空 // - 2组rule配置互斥 // - rule配置 与 deliver配置(DeliverStatus与DeliverConfig)至少填写一组配置 Type *string `json:"Type,omitnil,omitempty" name:"Type"` // 通知接收对象。 // 注意: // - Type、NoticeReceivers和WebCallbacks是一组rule配置,其中Type必填,NoticeReceivers和WebCallbacks至少一个不为空;NoticeRules是另一组rule配置,其中rule不许为空 // - 2组rule配置互斥 // - rule配置 与 deliver配置(DeliverStatus与DeliverConfig)至少填写一组配置 NoticeReceivers []*NoticeReceiver `json:"NoticeReceivers,omitnil,omitempty" name:"NoticeReceivers"` // 接口回调信息(包括企业微信)。 // 注意: // - Type、NoticeReceivers和WebCallbacks是一组rule配置,其中Type必填,NoticeReceivers和WebCallbacks至少一个不为空;NoticeRules是另一组rule配置,其中rule不许为空 // - 2组rule配置互斥 // - rule配置 与 deliver配置(DeliverStatus与DeliverConfig)至少填写一组配置 WebCallbacks []*WebCallback `json:"WebCallbacks,omitnil,omitempty" name:"WebCallbacks"` // 通知规则。 // 注意: // - Type、NoticeReceivers和WebCallbacks是一组rule配置,其中Type必填,NoticeReceivers和WebCallbacks至少一个不为空;NoticeRules是另一组rule配置,其中rule不许为空 // - 2组rule配置互斥 // - rule配置 与 deliver配置(DeliverStatus与DeliverConfig)至少填写一组配置 // 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 ¶ added in v1.0.426
type CreateAlarmNoticeResponseParams struct { // 告警模板ID AlarmNoticeId *string `json:"AlarmNoticeId,omitnil,omitempty" name:"AlarmNoticeId"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateAlarmRequest ¶
type CreateAlarmRequest struct { *tchttp.BaseRequest // 告警策略名称 Name *string `json:"Name,omitnil,omitempty" name:"Name"` // 监控对象列表。 AlarmTargets []*AlarmTarget `json:"AlarmTargets,omitnil,omitempty" name:"AlarmTargets"` // 监控任务运行时间点。 MonitorTime *MonitorTime `json:"MonitorTime,omitnil,omitempty" name:"MonitorTime"` // 持续周期。持续满足触发条件TriggerCount个周期后,再进行告警;最小值为1,最大值为10。 TriggerCount *int64 `json:"TriggerCount,omitnil,omitempty" name:"TriggerCount"` // 告警重复的周期,单位是分钟。取值范围是0~1440。 AlarmPeriod *int64 `json:"AlarmPeriod,omitnil,omitempty" name:"AlarmPeriod"` // 关联的告警通知模板列表。 AlarmNoticeIds []*string `json:"AlarmNoticeIds,omitnil,omitempty" name:"AlarmNoticeIds"` // 触发条件 // 注意: // - Condition和AlarmLevel是一组配置,MultiConditions是另一组配置,2组配置互斥。 Condition *string `json:"Condition,omitnil,omitempty" name:"Condition"` // 告警级别 // 0:警告(Warn); 1:提醒(Info); 2:紧急 (Critical)。 // 注意: // - 不填则默认为0。 // - Condition和AlarmLevel是一组配置,MultiConditions是另一组配置,2组配置互斥。 AlarmLevel *uint64 `json:"AlarmLevel,omitnil,omitempty" name:"AlarmLevel"` // 多触发条件 // 注意: // - Condition和AlarmLevel是一组配置,MultiConditions是另一组配置,2组配置互斥。 // // MultiConditions []*MultiCondition `json:"MultiConditions,omitnil,omitempty" name:"MultiConditions"` // 是否开启告警策略。 // 默认值为true Status *bool `json:"Status,omitnil,omitempty" name:"Status"` // 该参数已废弃,请使用Status参数控制是否开启告警策略。 Enable *bool `json:"Enable,omitnil,omitempty" name:"Enable"` // 用户自定义告警内容 MessageTemplate *string `json:"MessageTemplate,omitnil,omitempty" name:"MessageTemplate"` // 用户自定义回调 CallBack *CallBackInfo `json:"CallBack,omitnil,omitempty" name:"CallBack"` // 多维分析 Analysis []*AnalysisDimensional `json:"Analysis,omitnil,omitempty" name:"Analysis"` // 分组触发状态。 // 默认值false GroupTriggerStatus *bool `json:"GroupTriggerStatus,omitnil,omitempty" name:"GroupTriggerStatus"` // 分组触发条件。 GroupTriggerCondition []*string `json:"GroupTriggerCondition,omitnil,omitempty" name:"GroupTriggerCondition"` // 标签描述列表,通过指定该参数可以同时绑定标签到相应的告警策略。 // // 最大支持10个标签键值对,并且不能有重复的键值对。 Tags []*Tag `json:"Tags,omitnil,omitempty" name:"Tags"` // 监控对象类型。0:执行语句共用监控对象; 1:每个执行语句单独选择监控对象。 // 不填则默认为0。 // 当值为1时,AlarmTargets元素个数不能超过10个,AlarmTargets中的Number必须是从1开始的连续正整数,不能重复。 MonitorObjectType *uint64 `json:"MonitorObjectType,omitnil,omitempty" name:"MonitorObjectType"` // 告警附加分类信息列表。 // Classifications元素个数不能超过20个。 // Classifications元素的Key不能为空,不能重复,长度不能超过50个字符,符合正则 `^[a-z]([a-z0-9_]{0,49})$`。 // Classifications元素的Value长度不能超过200个字符。 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 ¶ added in v1.0.426
type CreateAlarmRequestParams struct { // 告警策略名称 Name *string `json:"Name,omitnil,omitempty" name:"Name"` // 监控对象列表。 AlarmTargets []*AlarmTarget `json:"AlarmTargets,omitnil,omitempty" name:"AlarmTargets"` // 监控任务运行时间点。 MonitorTime *MonitorTime `json:"MonitorTime,omitnil,omitempty" name:"MonitorTime"` // 持续周期。持续满足触发条件TriggerCount个周期后,再进行告警;最小值为1,最大值为10。 TriggerCount *int64 `json:"TriggerCount,omitnil,omitempty" name:"TriggerCount"` // 告警重复的周期,单位是分钟。取值范围是0~1440。 AlarmPeriod *int64 `json:"AlarmPeriod,omitnil,omitempty" name:"AlarmPeriod"` // 关联的告警通知模板列表。 AlarmNoticeIds []*string `json:"AlarmNoticeIds,omitnil,omitempty" name:"AlarmNoticeIds"` // 触发条件 // 注意: // - Condition和AlarmLevel是一组配置,MultiConditions是另一组配置,2组配置互斥。 Condition *string `json:"Condition,omitnil,omitempty" name:"Condition"` // 告警级别 // 0:警告(Warn); 1:提醒(Info); 2:紧急 (Critical)。 // 注意: // - 不填则默认为0。 // - Condition和AlarmLevel是一组配置,MultiConditions是另一组配置,2组配置互斥。 AlarmLevel *uint64 `json:"AlarmLevel,omitnil,omitempty" name:"AlarmLevel"` // 多触发条件 // 注意: // - Condition和AlarmLevel是一组配置,MultiConditions是另一组配置,2组配置互斥。 // // MultiConditions []*MultiCondition `json:"MultiConditions,omitnil,omitempty" name:"MultiConditions"` // 是否开启告警策略。 // 默认值为true Status *bool `json:"Status,omitnil,omitempty" name:"Status"` // 该参数已废弃,请使用Status参数控制是否开启告警策略。 Enable *bool `json:"Enable,omitnil,omitempty" name:"Enable"` // 用户自定义告警内容 MessageTemplate *string `json:"MessageTemplate,omitnil,omitempty" name:"MessageTemplate"` // 用户自定义回调 CallBack *CallBackInfo `json:"CallBack,omitnil,omitempty" name:"CallBack"` // 多维分析 Analysis []*AnalysisDimensional `json:"Analysis,omitnil,omitempty" name:"Analysis"` // 分组触发状态。 // 默认值false GroupTriggerStatus *bool `json:"GroupTriggerStatus,omitnil,omitempty" name:"GroupTriggerStatus"` // 分组触发条件。 GroupTriggerCondition []*string `json:"GroupTriggerCondition,omitnil,omitempty" name:"GroupTriggerCondition"` // 标签描述列表,通过指定该参数可以同时绑定标签到相应的告警策略。 // // 最大支持10个标签键值对,并且不能有重复的键值对。 Tags []*Tag `json:"Tags,omitnil,omitempty" name:"Tags"` // 监控对象类型。0:执行语句共用监控对象; 1:每个执行语句单独选择监控对象。 // 不填则默认为0。 // 当值为1时,AlarmTargets元素个数不能超过10个,AlarmTargets中的Number必须是从1开始的连续正整数,不能重复。 MonitorObjectType *uint64 `json:"MonitorObjectType,omitnil,omitempty" name:"MonitorObjectType"` // 告警附加分类信息列表。 // Classifications元素个数不能超过20个。 // Classifications元素的Key不能为空,不能重复,长度不能超过50个字符,符合正则 `^[a-z]([a-z0-9_]{0,49})$`。 // Classifications元素的Value长度不能超过200个字符。 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 ¶ added in v1.0.426
type CreateAlarmResponseParams struct { // 告警策略ID。 AlarmId *string `json:"AlarmId,omitnil,omitempty" name:"AlarmId"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateAlarmShieldRequest ¶ added in v1.0.854
type CreateAlarmShieldRequest struct { *tchttp.BaseRequest // 通知渠道组id。 AlarmNoticeId *string `json:"AlarmNoticeId,omitnil,omitempty" name:"AlarmNoticeId"` // 屏蔽开始时间(秒级时间戳)。 StartTime *uint64 `json:"StartTime,omitnil,omitempty" name:"StartTime"` // 屏蔽结束时间(秒级时间戳)。 EndTime *uint64 `json:"EndTime,omitnil,omitempty" name:"EndTime"` // 屏蔽类型。1:屏蔽所有通知,2:按照Rule参数屏蔽匹配规则的通知。 Type *uint64 `json:"Type,omitnil,omitempty" name:"Type"` // 屏蔽原因。 Reason *string `json:"Reason,omitnil,omitempty" name:"Reason"` // 屏蔽规则,当Type为2时必填。规则填写方式详见[产品文档](https://cloud.tencent.com/document/product/614/103178#rule)。 Rule *string `json:"Rule,omitnil,omitempty" name:"Rule"` }
func NewCreateAlarmShieldRequest ¶ added in v1.0.854
func NewCreateAlarmShieldRequest() (request *CreateAlarmShieldRequest)
func (*CreateAlarmShieldRequest) FromJsonString ¶ added in v1.0.854
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 ¶ added in v1.0.854
func (r *CreateAlarmShieldRequest) ToJsonString() string
type CreateAlarmShieldRequestParams ¶ added in v1.0.854
type CreateAlarmShieldRequestParams struct { // 通知渠道组id。 AlarmNoticeId *string `json:"AlarmNoticeId,omitnil,omitempty" name:"AlarmNoticeId"` // 屏蔽开始时间(秒级时间戳)。 StartTime *uint64 `json:"StartTime,omitnil,omitempty" name:"StartTime"` // 屏蔽结束时间(秒级时间戳)。 EndTime *uint64 `json:"EndTime,omitnil,omitempty" name:"EndTime"` // 屏蔽类型。1:屏蔽所有通知,2:按照Rule参数屏蔽匹配规则的通知。 Type *uint64 `json:"Type,omitnil,omitempty" name:"Type"` // 屏蔽原因。 Reason *string `json:"Reason,omitnil,omitempty" name:"Reason"` // 屏蔽规则,当Type为2时必填。规则填写方式详见[产品文档](https://cloud.tencent.com/document/product/614/103178#rule)。 Rule *string `json:"Rule,omitnil,omitempty" name:"Rule"` }
Predefined struct for user
type CreateAlarmShieldResponse ¶ added in v1.0.854
type CreateAlarmShieldResponse struct { *tchttp.BaseResponse Response *CreateAlarmShieldResponseParams `json:"Response"` }
func NewCreateAlarmShieldResponse ¶ added in v1.0.854
func NewCreateAlarmShieldResponse() (response *CreateAlarmShieldResponse)
func (*CreateAlarmShieldResponse) FromJsonString ¶ added in v1.0.854
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 ¶ added in v1.0.854
func (r *CreateAlarmShieldResponse) ToJsonString() string
type CreateAlarmShieldResponseParams ¶ added in v1.0.854
type CreateAlarmShieldResponseParams struct { // 屏蔽规则ID。 TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateConfigExtraRequest ¶ added in v1.0.365
type CreateConfigExtraRequest struct { *tchttp.BaseRequest // 采集配置规程名称,最长63个字符,只能包含小写字符、数字及分隔符(“-”),且必须以小写字符开头,数字或小写字符结尾 Name *string `json:"Name,omitnil,omitempty" name:"Name"` // 日志主题id TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"` // 日志源类型。支持 container_stdout:容器标准输出;container_file:容器文件路径;host_file:节点文件路径。 Type *string `json:"Type,omitnil,omitempty" name:"Type"` // 采集的日志类型,默认为minimalist_log。支持以下类型: // - json_log代表:JSON-文件日志(详见[使用 JSON 提取模式采集日志](https://cloud.tencent.com/document/product/614/17419)); // - delimiter_log代表:分隔符-文件日志(详见[使用分隔符提取模式采集日志](https://cloud.tencent.com/document/product/614/17420)); // - minimalist_log代表:单行全文-文件日志(详见[使用单行全文提取模式采集日志](https://cloud.tencent.com/document/product/614/17421)); // - fullregex_log代表:单行完全正则-文件日志(详见[使用单行-完全正则提取模式采集日志](https://cloud.tencent.com/document/product/614/52365)); // - multiline_log代表:多行全文-文件日志(详见[使用多行全文提取模式采集日志](https://cloud.tencent.com/document/product/614/17422)); // - multiline_fullregex_log代表:多行完全正则-文件日志(详见[使用多行-完全正则提取模式采集日志](https://cloud.tencent.com/document/product/614/52366)); // - user_define_log代表:组合解析(适用于多格式嵌套的日志,详见[使用组合解析提取模式采集日志](https://cloud.tencent.com/document/product/614/61310))。 LogType *string `json:"LogType,omitnil,omitempty" name:"LogType"` // 采集配置标记。 // - 目前只支持label_k8s,用于标记自建k8s集群使用的采集配置 ConfigFlag *string `json:"ConfigFlag,omitnil,omitempty" name:"ConfigFlag"` // 日志集id LogsetId *string `json:"LogsetId,omitnil,omitempty" name:"LogsetId"` // 日志集name LogsetName *string `json:"LogsetName,omitnil,omitempty" name:"LogsetName"` // 日志主题名称 TopicName *string `json:"TopicName,omitnil,omitempty" name:"TopicName"` // 节点文件路径类型配置。 HostFile *HostFileInfo `json:"HostFile,omitnil,omitempty" name:"HostFile"` // 容器文件路径类型配置。 ContainerFile *ContainerFileInfo `json:"ContainerFile,omitnil,omitempty" name:"ContainerFile"` // 容器标准输出类型配置。 ContainerStdout *ContainerStdoutInfo `json:"ContainerStdout,omitnil,omitempty" name:"ContainerStdout"` // 日志格式化方式,用于容器采集场景。 // - stdout-docker-json:用于docker容器采集场景 // - stdout-containerd:用于containerd容器采集场景 LogFormat *string `json:"LogFormat,omitnil,omitempty" name:"LogFormat"` // 提取规则,如果设置了ExtractRule,则必须设置LogType ExtractRule *ExtractRuleInfo `json:"ExtractRule,omitnil,omitempty" name:"ExtractRule"` // 采集黑名单路径列表 ExcludePaths []*ExcludePathInfo `json:"ExcludePaths,omitnil,omitempty" name:"ExcludePaths"` // 组合解析采集规则,用于复杂场景下的日志采集。 // - 取值参考:[使用组合解析提取模式采集日志 // ](https://cloud.tencent.com/document/product/614/61310) UserDefineRule *string `json:"UserDefineRule,omitnil,omitempty" name:"UserDefineRule"` // 绑定的机器组id GroupId *string `json:"GroupId,omitnil,omitempty" name:"GroupId"` // 绑定的机器组id列表 GroupIds []*string `json:"GroupIds,omitnil,omitempty" name:"GroupIds"` // 采集相关配置信息。详情见CollectInfo复杂类型配置。 CollectInfos []*CollectInfo `json:"CollectInfos,omitnil,omitempty" name:"CollectInfos"` // 高级采集配置。 Json字符串, Key/Value定义为如下: // - ClsAgentFileTimeout(超时属性), 取值范围: 大于等于0的整数, 0为不超时 // - ClsAgentMaxDepth(最大目录深度),取值范围: 大于等于0的整数 // - ClsAgentParseFailMerge(合并解析失败日志),取值范围: true或false // - ClsAgentDefault(自定义默认值,无特殊含义,用于清空其他选项),建议取值0 AdvancedConfig *string `json:"AdvancedConfig,omitnil,omitempty" name:"AdvancedConfig"` }
func NewCreateConfigExtraRequest ¶ added in v1.0.365
func NewCreateConfigExtraRequest() (request *CreateConfigExtraRequest)
func (*CreateConfigExtraRequest) FromJsonString ¶ added in v1.0.365
func (r *CreateConfigExtraRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateConfigExtraRequest) ToJsonString ¶ added in v1.0.365
func (r *CreateConfigExtraRequest) ToJsonString() string
type CreateConfigExtraRequestParams ¶ added in v1.0.426
type CreateConfigExtraRequestParams struct { // 采集配置规程名称,最长63个字符,只能包含小写字符、数字及分隔符(“-”),且必须以小写字符开头,数字或小写字符结尾 Name *string `json:"Name,omitnil,omitempty" name:"Name"` // 日志主题id TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"` // 日志源类型。支持 container_stdout:容器标准输出;container_file:容器文件路径;host_file:节点文件路径。 Type *string `json:"Type,omitnil,omitempty" name:"Type"` // 采集的日志类型,默认为minimalist_log。支持以下类型: // - json_log代表:JSON-文件日志(详见[使用 JSON 提取模式采集日志](https://cloud.tencent.com/document/product/614/17419)); // - delimiter_log代表:分隔符-文件日志(详见[使用分隔符提取模式采集日志](https://cloud.tencent.com/document/product/614/17420)); // - minimalist_log代表:单行全文-文件日志(详见[使用单行全文提取模式采集日志](https://cloud.tencent.com/document/product/614/17421)); // - fullregex_log代表:单行完全正则-文件日志(详见[使用单行-完全正则提取模式采集日志](https://cloud.tencent.com/document/product/614/52365)); // - multiline_log代表:多行全文-文件日志(详见[使用多行全文提取模式采集日志](https://cloud.tencent.com/document/product/614/17422)); // - multiline_fullregex_log代表:多行完全正则-文件日志(详见[使用多行-完全正则提取模式采集日志](https://cloud.tencent.com/document/product/614/52366)); // - user_define_log代表:组合解析(适用于多格式嵌套的日志,详见[使用组合解析提取模式采集日志](https://cloud.tencent.com/document/product/614/61310))。 LogType *string `json:"LogType,omitnil,omitempty" name:"LogType"` // 采集配置标记。 // - 目前只支持label_k8s,用于标记自建k8s集群使用的采集配置 ConfigFlag *string `json:"ConfigFlag,omitnil,omitempty" name:"ConfigFlag"` // 日志集id LogsetId *string `json:"LogsetId,omitnil,omitempty" name:"LogsetId"` // 日志集name LogsetName *string `json:"LogsetName,omitnil,omitempty" name:"LogsetName"` // 日志主题名称 TopicName *string `json:"TopicName,omitnil,omitempty" name:"TopicName"` // 节点文件路径类型配置。 HostFile *HostFileInfo `json:"HostFile,omitnil,omitempty" name:"HostFile"` // 容器文件路径类型配置。 ContainerFile *ContainerFileInfo `json:"ContainerFile,omitnil,omitempty" name:"ContainerFile"` // 容器标准输出类型配置。 ContainerStdout *ContainerStdoutInfo `json:"ContainerStdout,omitnil,omitempty" name:"ContainerStdout"` // 日志格式化方式,用于容器采集场景。 // - stdout-docker-json:用于docker容器采集场景 // - stdout-containerd:用于containerd容器采集场景 LogFormat *string `json:"LogFormat,omitnil,omitempty" name:"LogFormat"` // 提取规则,如果设置了ExtractRule,则必须设置LogType ExtractRule *ExtractRuleInfo `json:"ExtractRule,omitnil,omitempty" name:"ExtractRule"` // 采集黑名单路径列表 ExcludePaths []*ExcludePathInfo `json:"ExcludePaths,omitnil,omitempty" name:"ExcludePaths"` // 组合解析采集规则,用于复杂场景下的日志采集。 // - 取值参考:[使用组合解析提取模式采集日志 // ](https://cloud.tencent.com/document/product/614/61310) UserDefineRule *string `json:"UserDefineRule,omitnil,omitempty" name:"UserDefineRule"` // 绑定的机器组id GroupId *string `json:"GroupId,omitnil,omitempty" name:"GroupId"` // 绑定的机器组id列表 GroupIds []*string `json:"GroupIds,omitnil,omitempty" name:"GroupIds"` // 采集相关配置信息。详情见CollectInfo复杂类型配置。 CollectInfos []*CollectInfo `json:"CollectInfos,omitnil,omitempty" name:"CollectInfos"` // 高级采集配置。 Json字符串, Key/Value定义为如下: // - ClsAgentFileTimeout(超时属性), 取值范围: 大于等于0的整数, 0为不超时 // - ClsAgentMaxDepth(最大目录深度),取值范围: 大于等于0的整数 // - ClsAgentParseFailMerge(合并解析失败日志),取值范围: true或false // - ClsAgentDefault(自定义默认值,无特殊含义,用于清空其他选项),建议取值0 AdvancedConfig *string `json:"AdvancedConfig,omitnil,omitempty" name:"AdvancedConfig"` }
Predefined struct for user
type CreateConfigExtraResponse ¶ added in v1.0.365
type CreateConfigExtraResponse struct { *tchttp.BaseResponse Response *CreateConfigExtraResponseParams `json:"Response"` }
func NewCreateConfigExtraResponse ¶ added in v1.0.365
func NewCreateConfigExtraResponse() (response *CreateConfigExtraResponse)
func (*CreateConfigExtraResponse) FromJsonString ¶ added in v1.0.365
func (r *CreateConfigExtraResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateConfigExtraResponse) ToJsonString ¶ added in v1.0.365
func (r *CreateConfigExtraResponse) ToJsonString() string
type CreateConfigExtraResponseParams ¶ added in v1.0.426
type CreateConfigExtraResponseParams struct { // 采集配置扩展信息ID ConfigExtraId *string `json:"ConfigExtraId,omitnil,omitempty" name:"ConfigExtraId"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateConfigRequest ¶ added in v1.0.209
type CreateConfigRequest struct { *tchttp.BaseRequest // 采集配置名称 Name *string `json:"Name,omitnil,omitempty" name:"Name"` // 采集配置所属日志主题ID即TopicId Output *string `json:"Output,omitnil,omitempty" name:"Output"` // 日志采集路径,包含文件名,支持多个路径,多个路径之间英文逗号分隔,文件采集情况下必填 Path *string `json:"Path,omitnil,omitempty" name:"Path"` // 采集的日志类型,默认为minimalist_log。支持以下类型: // - json_log代表:JSON-文件日志(详见[使用 JSON 提取模式采集日志](https://cloud.tencent.com/document/product/614/17419)); // - delimiter_log代表:分隔符-文件日志(详见[使用分隔符提取模式采集日志](https://cloud.tencent.com/document/product/614/17420)); // - minimalist_log代表:单行全文-文件日志(详见[使用单行全文提取模式采集日志](https://cloud.tencent.com/document/product/614/17421)); // - fullregex_log代表:单行完全正则-文件日志(详见[使用单行-完全正则提取模式采集日志](https://cloud.tencent.com/document/product/614/52365)); // - multiline_log代表:多行全文-文件日志(详见[使用多行全文提取模式采集日志](https://cloud.tencent.com/document/product/614/17422)); // - multiline_fullregex_log代表:多行完全正则-文件日志(详见[使用多行-完全正则提取模式采集日志](https://cloud.tencent.com/document/product/614/52366)); // - user_define_log代表:组合解析(适用于多格式嵌套的日志,详见[使用组合解析提取模式采集日志](https://cloud.tencent.com/document/product/614/61310)); // - service_syslog代表:syslog 采集(详见[采集 Syslog](https://cloud.tencent.com/document/product/614/81454)); // - windows_event_log代表:Windows事件日志(详见[采集 Windows 事件日志](https://cloud.tencent.com/document/product/614/96678))。 LogType *string `json:"LogType,omitnil,omitempty" name:"LogType"` // 提取规则,如果设置了ExtractRule,则必须设置LogType ExtractRule *ExtractRuleInfo `json:"ExtractRule,omitnil,omitempty" name:"ExtractRule"` // 采集黑名单路径列表 ExcludePaths []*ExcludePathInfo `json:"ExcludePaths,omitnil,omitempty" name:"ExcludePaths"` // 用户自定义采集规则,Json格式序列化的字符串。当LogType为user_define_log时,必填。 UserDefineRule *string `json:"UserDefineRule,omitnil,omitempty" name:"UserDefineRule"` // 高级采集配置。 Json字符串, Key/Value定义为如下: // - ClsAgentFileTimeout(超时属性), 取值范围: 大于等于0的整数, 0为不超时 // - ClsAgentMaxDepth(最大目录深度),取值范围: 大于等于0的整数 // - ClsAgentParseFailMerge(合并解析失败日志),取值范围: true或false // 样例: // `{\"ClsAgentFileTimeout\":0,\"ClsAgentMaxDepth\":10,\"ClsAgentParseFailMerge\":true}` // // 控制台默认占位值:`{\"ClsAgentDefault\":0}` AdvancedConfig *string `json:"AdvancedConfig,omitnil,omitempty" name:"AdvancedConfig"` }
func NewCreateConfigRequest ¶ added in v1.0.209
func NewCreateConfigRequest() (request *CreateConfigRequest)
func (*CreateConfigRequest) FromJsonString ¶ added in v1.0.209
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 ¶ added in v1.0.209
func (r *CreateConfigRequest) ToJsonString() string
type CreateConfigRequestParams ¶ added in v1.0.426
type CreateConfigRequestParams struct { // 采集配置名称 Name *string `json:"Name,omitnil,omitempty" name:"Name"` // 采集配置所属日志主题ID即TopicId Output *string `json:"Output,omitnil,omitempty" name:"Output"` // 日志采集路径,包含文件名,支持多个路径,多个路径之间英文逗号分隔,文件采集情况下必填 Path *string `json:"Path,omitnil,omitempty" name:"Path"` // 采集的日志类型,默认为minimalist_log。支持以下类型: // - json_log代表:JSON-文件日志(详见[使用 JSON 提取模式采集日志](https://cloud.tencent.com/document/product/614/17419)); // - delimiter_log代表:分隔符-文件日志(详见[使用分隔符提取模式采集日志](https://cloud.tencent.com/document/product/614/17420)); // - minimalist_log代表:单行全文-文件日志(详见[使用单行全文提取模式采集日志](https://cloud.tencent.com/document/product/614/17421)); // - fullregex_log代表:单行完全正则-文件日志(详见[使用单行-完全正则提取模式采集日志](https://cloud.tencent.com/document/product/614/52365)); // - multiline_log代表:多行全文-文件日志(详见[使用多行全文提取模式采集日志](https://cloud.tencent.com/document/product/614/17422)); // - multiline_fullregex_log代表:多行完全正则-文件日志(详见[使用多行-完全正则提取模式采集日志](https://cloud.tencent.com/document/product/614/52366)); // - user_define_log代表:组合解析(适用于多格式嵌套的日志,详见[使用组合解析提取模式采集日志](https://cloud.tencent.com/document/product/614/61310)); // - service_syslog代表:syslog 采集(详见[采集 Syslog](https://cloud.tencent.com/document/product/614/81454)); // - windows_event_log代表:Windows事件日志(详见[采集 Windows 事件日志](https://cloud.tencent.com/document/product/614/96678))。 LogType *string `json:"LogType,omitnil,omitempty" name:"LogType"` // 提取规则,如果设置了ExtractRule,则必须设置LogType ExtractRule *ExtractRuleInfo `json:"ExtractRule,omitnil,omitempty" name:"ExtractRule"` // 采集黑名单路径列表 ExcludePaths []*ExcludePathInfo `json:"ExcludePaths,omitnil,omitempty" name:"ExcludePaths"` // 用户自定义采集规则,Json格式序列化的字符串。当LogType为user_define_log时,必填。 UserDefineRule *string `json:"UserDefineRule,omitnil,omitempty" name:"UserDefineRule"` // 高级采集配置。 Json字符串, Key/Value定义为如下: // - ClsAgentFileTimeout(超时属性), 取值范围: 大于等于0的整数, 0为不超时 // - ClsAgentMaxDepth(最大目录深度),取值范围: 大于等于0的整数 // - ClsAgentParseFailMerge(合并解析失败日志),取值范围: true或false // 样例: // `{\"ClsAgentFileTimeout\":0,\"ClsAgentMaxDepth\":10,\"ClsAgentParseFailMerge\":true}` // // 控制台默认占位值:`{\"ClsAgentDefault\":0}` AdvancedConfig *string `json:"AdvancedConfig,omitnil,omitempty" name:"AdvancedConfig"` }
Predefined struct for user
type CreateConfigResponse ¶ added in v1.0.209
type CreateConfigResponse struct { *tchttp.BaseResponse Response *CreateConfigResponseParams `json:"Response"` }
func NewCreateConfigResponse ¶ added in v1.0.209
func NewCreateConfigResponse() (response *CreateConfigResponse)
func (*CreateConfigResponse) FromJsonString ¶ added in v1.0.209
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 ¶ added in v1.0.209
func (r *CreateConfigResponse) ToJsonString() string
type CreateConfigResponseParams ¶ added in v1.0.426
type CreateConfigResponseParams struct { // 采集配置ID ConfigId *string `json:"ConfigId,omitnil,omitempty" name:"ConfigId"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateConsumerRequest ¶ added in v1.0.315
type CreateConsumerRequest struct { *tchttp.BaseRequest // 投递任务绑定的日志主题 ID TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"` // 是否投递日志的元数据信息,默认为 true。 // 当NeedContent为true时:字段Content有效。 // 当NeedContent为false时:字段Content无效。 NeedContent *bool `json:"NeedContent,omitnil,omitempty" name:"NeedContent"` // 如果需要投递元数据信息,元数据信息的描述 Content *ConsumerContent `json:"Content,omitnil,omitempty" name:"Content"` // CKafka的描述 Ckafka *Ckafka `json:"Ckafka,omitnil,omitempty" name:"Ckafka"` // 投递时压缩方式,取值0,2,3。[0:NONE;2:SNAPPY;3:LZ4] Compression *int64 `json:"Compression,omitnil,omitempty" name:"Compression"` }
func NewCreateConsumerRequest ¶ added in v1.0.315
func NewCreateConsumerRequest() (request *CreateConsumerRequest)
func (*CreateConsumerRequest) FromJsonString ¶ added in v1.0.315
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 ¶ added in v1.0.315
func (r *CreateConsumerRequest) ToJsonString() string
type CreateConsumerRequestParams ¶ added in v1.0.426
type CreateConsumerRequestParams struct { // 投递任务绑定的日志主题 ID TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"` // 是否投递日志的元数据信息,默认为 true。 // 当NeedContent为true时:字段Content有效。 // 当NeedContent为false时:字段Content无效。 NeedContent *bool `json:"NeedContent,omitnil,omitempty" name:"NeedContent"` // 如果需要投递元数据信息,元数据信息的描述 Content *ConsumerContent `json:"Content,omitnil,omitempty" name:"Content"` // CKafka的描述 Ckafka *Ckafka `json:"Ckafka,omitnil,omitempty" name:"Ckafka"` // 投递时压缩方式,取值0,2,3。[0:NONE;2:SNAPPY;3:LZ4] Compression *int64 `json:"Compression,omitnil,omitempty" name:"Compression"` }
Predefined struct for user
type CreateConsumerResponse ¶ added in v1.0.315
type CreateConsumerResponse struct { *tchttp.BaseResponse Response *CreateConsumerResponseParams `json:"Response"` }
func NewCreateConsumerResponse ¶ added in v1.0.315
func NewCreateConsumerResponse() (response *CreateConsumerResponse)
func (*CreateConsumerResponse) FromJsonString ¶ added in v1.0.315
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 ¶ added in v1.0.315
func (r *CreateConsumerResponse) ToJsonString() string
type CreateConsumerResponseParams ¶ added in v1.0.426
type CreateConsumerResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateCosRechargeRequest ¶ added in v1.0.613
type CreateCosRechargeRequest struct { *tchttp.BaseRequest // 日志主题 ID TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"` // 日志集ID LogsetId *string `json:"LogsetId,omitnil,omitempty" name:"LogsetId"` // 投递任务名称 Name *string `json:"Name,omitnil,omitempty" name:"Name"` // COS存储桶,详见产品支持的[存储桶命名规范](https://cloud.tencent.com/document/product/436/13312)。 Bucket *string `json:"Bucket,omitnil,omitempty" name:"Bucket"` // COS存储桶所在地域,详见产品支持的[地域列表](https://cloud.tencent.com/document/product/436/6224)。 BucketRegion *string `json:"BucketRegion,omitnil,omitempty" name:"BucketRegion"` // 采集的日志类型,json_log代表json格式日志,delimiter_log代表分隔符格式日志,minimalist_log代表单行全文; // 默认为minimalist_log LogType *string `json:"LogType,omitnil,omitempty" name:"LogType"` // COS文件所在文件夹的前缀。默认为空,投递存储桶下所有的文件。 Prefix *string `json:"Prefix,omitnil,omitempty" name:"Prefix"` // supported: "", "gzip", "lzop", "snappy"; 默认空 Compress *string `json:"Compress,omitnil,omitempty" name:"Compress"` // 提取规则,如果设置了ExtractRule,则必须设置LogType ExtractRuleInfo *ExtractRuleInfo `json:"ExtractRuleInfo,omitnil,omitempty" name:"ExtractRuleInfo"` // COS导入任务类型。1:一次性导入任务;2:持续性导入任务。默认为1:一次性导入任务 TaskType *uint64 `json:"TaskType,omitnil,omitempty" name:"TaskType"` // 元数据。 Metadata []*string `json:"Metadata,omitnil,omitempty" name:"Metadata"` }
func NewCreateCosRechargeRequest ¶ added in v1.0.613
func NewCreateCosRechargeRequest() (request *CreateCosRechargeRequest)
func (*CreateCosRechargeRequest) FromJsonString ¶ added in v1.0.613
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 ¶ added in v1.0.613
func (r *CreateCosRechargeRequest) ToJsonString() string
type CreateCosRechargeRequestParams ¶ added in v1.0.613
type CreateCosRechargeRequestParams struct { // 日志主题 ID TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"` // 日志集ID LogsetId *string `json:"LogsetId,omitnil,omitempty" name:"LogsetId"` // 投递任务名称 Name *string `json:"Name,omitnil,omitempty" name:"Name"` // COS存储桶,详见产品支持的[存储桶命名规范](https://cloud.tencent.com/document/product/436/13312)。 Bucket *string `json:"Bucket,omitnil,omitempty" name:"Bucket"` // COS存储桶所在地域,详见产品支持的[地域列表](https://cloud.tencent.com/document/product/436/6224)。 BucketRegion *string `json:"BucketRegion,omitnil,omitempty" name:"BucketRegion"` // 采集的日志类型,json_log代表json格式日志,delimiter_log代表分隔符格式日志,minimalist_log代表单行全文; // 默认为minimalist_log LogType *string `json:"LogType,omitnil,omitempty" name:"LogType"` // COS文件所在文件夹的前缀。默认为空,投递存储桶下所有的文件。 Prefix *string `json:"Prefix,omitnil,omitempty" name:"Prefix"` // supported: "", "gzip", "lzop", "snappy"; 默认空 Compress *string `json:"Compress,omitnil,omitempty" name:"Compress"` // 提取规则,如果设置了ExtractRule,则必须设置LogType ExtractRuleInfo *ExtractRuleInfo `json:"ExtractRuleInfo,omitnil,omitempty" name:"ExtractRuleInfo"` // COS导入任务类型。1:一次性导入任务;2:持续性导入任务。默认为1:一次性导入任务 TaskType *uint64 `json:"TaskType,omitnil,omitempty" name:"TaskType"` // 元数据。 Metadata []*string `json:"Metadata,omitnil,omitempty" name:"Metadata"` }
Predefined struct for user
type CreateCosRechargeResponse ¶ added in v1.0.613
type CreateCosRechargeResponse struct { *tchttp.BaseResponse Response *CreateCosRechargeResponseParams `json:"Response"` }
func NewCreateCosRechargeResponse ¶ added in v1.0.613
func NewCreateCosRechargeResponse() (response *CreateCosRechargeResponse)
func (*CreateCosRechargeResponse) FromJsonString ¶ added in v1.0.613
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 ¶ added in v1.0.613
func (r *CreateCosRechargeResponse) ToJsonString() string
type CreateCosRechargeResponseParams ¶ added in v1.0.613
type CreateCosRechargeResponseParams struct { // COS导入任务id // 注意:此字段可能返回 null,表示取不到有效值。 Id *string `json:"Id,omitnil,omitempty" name:"Id"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateDashboardSubscribeRequest ¶ added in v1.0.912
type CreateDashboardSubscribeRequest struct {
*tchttp.BaseRequest
}
func NewCreateDashboardSubscribeRequest ¶ added in v1.0.912
func NewCreateDashboardSubscribeRequest() (request *CreateDashboardSubscribeRequest)
func (*CreateDashboardSubscribeRequest) FromJsonString ¶ added in v1.0.912
func (r *CreateDashboardSubscribeRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateDashboardSubscribeRequest) ToJsonString ¶ added in v1.0.912
func (r *CreateDashboardSubscribeRequest) ToJsonString() string
type CreateDashboardSubscribeRequestParams ¶ added in v1.0.912
type CreateDashboardSubscribeRequestParams struct { }
Predefined struct for user
type CreateDashboardSubscribeResponse ¶ added in v1.0.912
type CreateDashboardSubscribeResponse struct { *tchttp.BaseResponse Response *CreateDashboardSubscribeResponseParams `json:"Response"` }
func NewCreateDashboardSubscribeResponse ¶ added in v1.0.912
func NewCreateDashboardSubscribeResponse() (response *CreateDashboardSubscribeResponse)
func (*CreateDashboardSubscribeResponse) FromJsonString ¶ added in v1.0.912
func (r *CreateDashboardSubscribeResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateDashboardSubscribeResponse) ToJsonString ¶ added in v1.0.912
func (r *CreateDashboardSubscribeResponse) ToJsonString() string
type CreateDashboardSubscribeResponseParams ¶ added in v1.0.912
type CreateDashboardSubscribeResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateDataTransformRequest ¶ added in v1.0.380
type CreateDataTransformRequest struct { *tchttp.BaseRequest // 任务类型. 1: 指定主题;2:动态创建。详情请参考[创建加工任务文档](https://cloud.tencent.com/document/product/614/63940)。 FuncType *int64 `json:"FuncType,omitnil,omitempty" name:"FuncType"` // 源日志主题 SrcTopicId *string `json:"SrcTopicId,omitnil,omitempty" name:"SrcTopicId"` // 加工任务名称 Name *string `json:"Name,omitnil,omitempty" name:"Name"` // 加工语句。 当FuncType为2时,EtlContent必须使用[log_auto_output](https://cloud.tencent.com/document/product/614/70733#b3c58797-4825-4807-bef4-68106e25024f) // // 其他参考文档: // // - [创建加工任务](https://cloud.tencent.com/document/product/614/63940) // - [函数总览](https://cloud.tencent.com/document/product/614/70395) EtlContent *string `json:"EtlContent,omitnil,omitempty" name:"EtlContent"` // 加工类型。 // 1:使用源日志主题中的随机数据,进行加工预览;2:使用用户自定义测试数据,进行加工预览;3:创建真实加工任务。 TaskType *int64 `json:"TaskType,omitnil,omitempty" name:"TaskType"` // 加工任务目的topic_id以及别名,当FuncType=1时,该参数必填,当FuncType=2时,无需填写。 DstResources []*DataTransformResouceInfo `json:"DstResources,omitnil,omitempty" name:"DstResources"` // 任务启动状态. 默认为1:开启, 2:关闭 EnableFlag *int64 `json:"EnableFlag,omitnil,omitempty" name:"EnableFlag"` // 用于预览加工结果的测试数据 PreviewLogStatistics []*PreviewLogStatistic `json:"PreviewLogStatistics,omitnil,omitempty" name:"PreviewLogStatistics"` }
func NewCreateDataTransformRequest ¶ added in v1.0.380
func NewCreateDataTransformRequest() (request *CreateDataTransformRequest)
func (*CreateDataTransformRequest) FromJsonString ¶ added in v1.0.380
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 ¶ added in v1.0.380
func (r *CreateDataTransformRequest) ToJsonString() string
type CreateDataTransformRequestParams ¶ added in v1.0.426
type CreateDataTransformRequestParams struct { // 任务类型. 1: 指定主题;2:动态创建。详情请参考[创建加工任务文档](https://cloud.tencent.com/document/product/614/63940)。 FuncType *int64 `json:"FuncType,omitnil,omitempty" name:"FuncType"` // 源日志主题 SrcTopicId *string `json:"SrcTopicId,omitnil,omitempty" name:"SrcTopicId"` // 加工任务名称 Name *string `json:"Name,omitnil,omitempty" name:"Name"` // 加工语句。 当FuncType为2时,EtlContent必须使用[log_auto_output](https://cloud.tencent.com/document/product/614/70733#b3c58797-4825-4807-bef4-68106e25024f) // // 其他参考文档: // // - [创建加工任务](https://cloud.tencent.com/document/product/614/63940) // - [函数总览](https://cloud.tencent.com/document/product/614/70395) EtlContent *string `json:"EtlContent,omitnil,omitempty" name:"EtlContent"` // 加工类型。 // 1:使用源日志主题中的随机数据,进行加工预览;2:使用用户自定义测试数据,进行加工预览;3:创建真实加工任务。 TaskType *int64 `json:"TaskType,omitnil,omitempty" name:"TaskType"` // 加工任务目的topic_id以及别名,当FuncType=1时,该参数必填,当FuncType=2时,无需填写。 DstResources []*DataTransformResouceInfo `json:"DstResources,omitnil,omitempty" name:"DstResources"` // 任务启动状态. 默认为1:开启, 2:关闭 EnableFlag *int64 `json:"EnableFlag,omitnil,omitempty" name:"EnableFlag"` // 用于预览加工结果的测试数据 PreviewLogStatistics []*PreviewLogStatistic `json:"PreviewLogStatistics,omitnil,omitempty" name:"PreviewLogStatistics"` }
Predefined struct for user
type CreateDataTransformResponse ¶ added in v1.0.380
type CreateDataTransformResponse struct { *tchttp.BaseResponse Response *CreateDataTransformResponseParams `json:"Response"` }
func NewCreateDataTransformResponse ¶ added in v1.0.380
func NewCreateDataTransformResponse() (response *CreateDataTransformResponse)
func (*CreateDataTransformResponse) FromJsonString ¶ added in v1.0.380
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 ¶ added in v1.0.380
func (r *CreateDataTransformResponse) ToJsonString() string
type CreateDataTransformResponseParams ¶ added in v1.0.426
type CreateDataTransformResponseParams struct { // 任务id TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateDeliverCloudFunctionRequest ¶ added in v1.0.804
type CreateDeliverCloudFunctionRequest struct { *tchttp.BaseRequest // 投递规则属于的 topic id TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"` // 投递的云函数名字。仅支持[事件函数](https://cloud.tencent.com/document/product/583/9694#scf-.E4.BA.8B.E4.BB.B6.E5.87.BD.E6.95.B0) ([函数类型选型](https://cloud.tencent.com/document/product/583/73483)) FunctionName *string `json:"FunctionName,omitnil,omitempty" name:"FunctionName"` // 命名空间 Namespace *string `json:"Namespace,omitnil,omitempty" name:"Namespace"` // 函数版本 Qualifier *string `json:"Qualifier,omitnil,omitempty" name:"Qualifier"` // 投递最长等待时间,单位:秒 Timeout *uint64 `json:"Timeout,omitnil,omitempty" name:"Timeout"` // 投递最大消息数 MaxMsgNum *uint64 `json:"MaxMsgNum,omitnil,omitempty" name:"MaxMsgNum"` }
func NewCreateDeliverCloudFunctionRequest ¶ added in v1.0.804
func NewCreateDeliverCloudFunctionRequest() (request *CreateDeliverCloudFunctionRequest)
func (*CreateDeliverCloudFunctionRequest) FromJsonString ¶ added in v1.0.804
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 ¶ added in v1.0.804
func (r *CreateDeliverCloudFunctionRequest) ToJsonString() string
type CreateDeliverCloudFunctionRequestParams ¶ added in v1.0.804
type CreateDeliverCloudFunctionRequestParams struct { // 投递规则属于的 topic id TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"` // 投递的云函数名字。仅支持[事件函数](https://cloud.tencent.com/document/product/583/9694#scf-.E4.BA.8B.E4.BB.B6.E5.87.BD.E6.95.B0) ([函数类型选型](https://cloud.tencent.com/document/product/583/73483)) FunctionName *string `json:"FunctionName,omitnil,omitempty" name:"FunctionName"` // 命名空间 Namespace *string `json:"Namespace,omitnil,omitempty" name:"Namespace"` // 函数版本 Qualifier *string `json:"Qualifier,omitnil,omitempty" name:"Qualifier"` // 投递最长等待时间,单位:秒 Timeout *uint64 `json:"Timeout,omitnil,omitempty" name:"Timeout"` // 投递最大消息数 MaxMsgNum *uint64 `json:"MaxMsgNum,omitnil,omitempty" name:"MaxMsgNum"` }
Predefined struct for user
type CreateDeliverCloudFunctionResponse ¶ added in v1.0.804
type CreateDeliverCloudFunctionResponse struct { *tchttp.BaseResponse Response *CreateDeliverCloudFunctionResponseParams `json:"Response"` }
func NewCreateDeliverCloudFunctionResponse ¶ added in v1.0.804
func NewCreateDeliverCloudFunctionResponse() (response *CreateDeliverCloudFunctionResponse)
func (*CreateDeliverCloudFunctionResponse) FromJsonString ¶ added in v1.0.804
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 ¶ added in v1.0.804
func (r *CreateDeliverCloudFunctionResponse) ToJsonString() string
type CreateDeliverCloudFunctionResponseParams ¶ added in v1.0.804
type CreateDeliverCloudFunctionResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateExportRequest ¶
type CreateExportRequest struct { *tchttp.BaseRequest // 日志主题ID TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"` // 日志导出数量, 最大值5000万 Count *uint64 `json:"Count,omitnil,omitempty" name:"Count"` // 日志导出检索语句,不支持<a href="https://cloud.tencent.com/document/product/614/44061" target="_blank">[SQL语句]</a> Query *string `json:"Query,omitnil,omitempty" name:"Query"` // 日志导出起始时间,毫秒时间戳 From *int64 `json:"From,omitnil,omitempty" name:"From"` // 日志导出结束时间,毫秒时间戳 To *int64 `json:"To,omitnil,omitempty" name:"To"` // 日志导出时间排序。desc,asc,默认为desc Order *string `json:"Order,omitnil,omitempty" name:"Order"` // 日志导出数据格式。json,csv,默认为json Format *string `json:"Format,omitnil,omitempty" name:"Format"` // 语法规则, 默认值为0。 // 0:Lucene语法,1:CQL语法。 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 ¶ added in v1.0.426
type CreateExportRequestParams struct { // 日志主题ID TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"` // 日志导出数量, 最大值5000万 Count *uint64 `json:"Count,omitnil,omitempty" name:"Count"` // 日志导出检索语句,不支持<a href="https://cloud.tencent.com/document/product/614/44061" target="_blank">[SQL语句]</a> Query *string `json:"Query,omitnil,omitempty" name:"Query"` // 日志导出起始时间,毫秒时间戳 From *int64 `json:"From,omitnil,omitempty" name:"From"` // 日志导出结束时间,毫秒时间戳 To *int64 `json:"To,omitnil,omitempty" name:"To"` // 日志导出时间排序。desc,asc,默认为desc Order *string `json:"Order,omitnil,omitempty" name:"Order"` // 日志导出数据格式。json,csv,默认为json Format *string `json:"Format,omitnil,omitempty" name:"Format"` // 语法规则, 默认值为0。 // 0:Lucene语法,1:CQL语法。 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 ¶ added in v1.0.426
type CreateExportResponseParams struct { // 日志导出ID。 ExportId *string `json:"ExportId,omitnil,omitempty" name:"ExportId"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateIndexRequest ¶
type CreateIndexRequest struct { *tchttp.BaseRequest // 日志主题ID TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"` // 索引规则 Rule *RuleInfo `json:"Rule,omitnil,omitempty" name:"Rule"` // 是否生效,默认为true Status *bool `json:"Status,omitnil,omitempty" name:"Status"` // 内置保留字段(`__FILENAME__`,`__HOSTNAME__`及`__SOURCE__`)是否包含至全文索引,默认为false,推荐设置为true // * false:不包含 // * true:包含 IncludeInternalFields *bool `json:"IncludeInternalFields,omitnil,omitempty" name:"IncludeInternalFields"` // 元数据字段(前缀为`__TAG__`的字段)是否包含至全文索引,默认为0,推荐设置为1 // * 0:仅包含开启键值索引的元数据字段 // * 1:包含所有元数据字段 // * 2:不包含任何元数据字段 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 ¶ added in v1.0.426
type CreateIndexRequestParams struct { // 日志主题ID TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"` // 索引规则 Rule *RuleInfo `json:"Rule,omitnil,omitempty" name:"Rule"` // 是否生效,默认为true Status *bool `json:"Status,omitnil,omitempty" name:"Status"` // 内置保留字段(`__FILENAME__`,`__HOSTNAME__`及`__SOURCE__`)是否包含至全文索引,默认为false,推荐设置为true // * false:不包含 // * true:包含 IncludeInternalFields *bool `json:"IncludeInternalFields,omitnil,omitempty" name:"IncludeInternalFields"` // 元数据字段(前缀为`__TAG__`的字段)是否包含至全文索引,默认为0,推荐设置为1 // * 0:仅包含开启键值索引的元数据字段 // * 1:包含所有元数据字段 // * 2:不包含任何元数据字段 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 ¶ added in v1.0.426
type CreateIndexResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateKafkaRechargeRequest ¶ added in v1.0.693
type CreateKafkaRechargeRequest struct { *tchttp.BaseRequest // 导入CLS目标topic ID TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"` // Kafka导入配置名称 Name *string `json:"Name,omitnil,omitempty" name:"Name"` // 导入Kafka类型,0: 腾讯云CKafka,1: 用户自建Kafka KafkaType *uint64 `json:"KafkaType,omitnil,omitempty" name:"KafkaType"` // 用户需要导入的Kafka相关topic列表,多个topic之间使用半角逗号隔开 UserKafkaTopics *string `json:"UserKafkaTopics,omitnil,omitempty" name:"UserKafkaTopics"` // 导入数据位置,-2:最早(默认),-1:最晚 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 日志导入规则。 LogRechargeRule *LogRechargeRuleInfo `json:"LogRechargeRule,omitnil,omitempty" name:"LogRechargeRule"` // 腾讯云CKafka实例ID,KafkaType为0时必填。 KafkaInstance *string `json:"KafkaInstance,omitnil,omitempty" name:"KafkaInstance"` // 服务地址,KafkaType为1时必填。 ServerAddr *string `json:"ServerAddr,omitnil,omitempty" name:"ServerAddr"` // ServerAddr是否为加密连接,KafkaType为1时必填。 IsEncryptionAddr *bool `json:"IsEncryptionAddr,omitnil,omitempty" name:"IsEncryptionAddr"` // 加密访问协议。 // KafkaType为1并且IsEncryptionAddr为true时Protocol必填。 Protocol *KafkaProtocolInfo `json:"Protocol,omitnil,omitempty" name:"Protocol"` // 用户Kafka消费组名称 ConsumerGroupName *string `json:"ConsumerGroupName,omitnil,omitempty" name:"ConsumerGroupName"` }
func NewCreateKafkaRechargeRequest ¶ added in v1.0.693
func NewCreateKafkaRechargeRequest() (request *CreateKafkaRechargeRequest)
func (*CreateKafkaRechargeRequest) FromJsonString ¶ added in v1.0.693
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 ¶ added in v1.0.693
func (r *CreateKafkaRechargeRequest) ToJsonString() string
type CreateKafkaRechargeRequestParams ¶ added in v1.0.693
type CreateKafkaRechargeRequestParams struct { // 导入CLS目标topic ID TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"` // Kafka导入配置名称 Name *string `json:"Name,omitnil,omitempty" name:"Name"` // 导入Kafka类型,0: 腾讯云CKafka,1: 用户自建Kafka KafkaType *uint64 `json:"KafkaType,omitnil,omitempty" name:"KafkaType"` // 用户需要导入的Kafka相关topic列表,多个topic之间使用半角逗号隔开 UserKafkaTopics *string `json:"UserKafkaTopics,omitnil,omitempty" name:"UserKafkaTopics"` // 导入数据位置,-2:最早(默认),-1:最晚 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 日志导入规则。 LogRechargeRule *LogRechargeRuleInfo `json:"LogRechargeRule,omitnil,omitempty" name:"LogRechargeRule"` // 腾讯云CKafka实例ID,KafkaType为0时必填。 KafkaInstance *string `json:"KafkaInstance,omitnil,omitempty" name:"KafkaInstance"` // 服务地址,KafkaType为1时必填。 ServerAddr *string `json:"ServerAddr,omitnil,omitempty" name:"ServerAddr"` // ServerAddr是否为加密连接,KafkaType为1时必填。 IsEncryptionAddr *bool `json:"IsEncryptionAddr,omitnil,omitempty" name:"IsEncryptionAddr"` // 加密访问协议。 // KafkaType为1并且IsEncryptionAddr为true时Protocol必填。 Protocol *KafkaProtocolInfo `json:"Protocol,omitnil,omitempty" name:"Protocol"` // 用户Kafka消费组名称 ConsumerGroupName *string `json:"ConsumerGroupName,omitnil,omitempty" name:"ConsumerGroupName"` }
Predefined struct for user
type CreateKafkaRechargeResponse ¶ added in v1.0.693
type CreateKafkaRechargeResponse struct { *tchttp.BaseResponse Response *CreateKafkaRechargeResponseParams `json:"Response"` }
func NewCreateKafkaRechargeResponse ¶ added in v1.0.693
func NewCreateKafkaRechargeResponse() (response *CreateKafkaRechargeResponse)
func (*CreateKafkaRechargeResponse) FromJsonString ¶ added in v1.0.693
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 ¶ added in v1.0.693
func (r *CreateKafkaRechargeResponse) ToJsonString() string
type CreateKafkaRechargeResponseParams ¶ added in v1.0.693
type CreateKafkaRechargeResponseParams struct { // Kafka导入配置ID Id *string `json:"Id,omitnil,omitempty" name:"Id"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateLogsetRequest ¶ added in v1.0.209
type CreateLogsetRequest struct { *tchttp.BaseRequest // 日志集名字,不能重名 LogsetName *string `json:"LogsetName,omitnil,omitempty" name:"LogsetName"` // 标签描述列表。最大支持10个标签键值对,并且不能有重复的键值对 Tags []*Tag `json:"Tags,omitnil,omitempty" name:"Tags"` }
func NewCreateLogsetRequest ¶ added in v1.0.209
func NewCreateLogsetRequest() (request *CreateLogsetRequest)
func (*CreateLogsetRequest) FromJsonString ¶ added in v1.0.209
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 ¶ added in v1.0.209
func (r *CreateLogsetRequest) ToJsonString() string
type CreateLogsetRequestParams ¶ added in v1.0.426
type CreateLogsetRequestParams struct { // 日志集名字,不能重名 LogsetName *string `json:"LogsetName,omitnil,omitempty" name:"LogsetName"` // 标签描述列表。最大支持10个标签键值对,并且不能有重复的键值对 Tags []*Tag `json:"Tags,omitnil,omitempty" name:"Tags"` }
Predefined struct for user
type CreateLogsetResponse ¶ added in v1.0.209
type CreateLogsetResponse struct { *tchttp.BaseResponse Response *CreateLogsetResponseParams `json:"Response"` }
func NewCreateLogsetResponse ¶ added in v1.0.209
func NewCreateLogsetResponse() (response *CreateLogsetResponse)
func (*CreateLogsetResponse) FromJsonString ¶ added in v1.0.209
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 ¶ added in v1.0.209
func (r *CreateLogsetResponse) ToJsonString() string
type CreateLogsetResponseParams ¶ added in v1.0.426
type CreateLogsetResponseParams struct { // 日志集ID LogsetId *string `json:"LogsetId,omitnil,omitempty" name:"LogsetId"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateMachineGroupRequest ¶
type CreateMachineGroupRequest struct { *tchttp.BaseRequest // 机器组名字,不能重复 GroupName *string `json:"GroupName,omitnil,omitempty" name:"GroupName"` // 创建机器组类型。取值如下: // - Type:ip,Values中为ip字符串列表创建机器组 // - Type:label,Values中为标签字符串列表创建机器组 MachineGroupType *MachineGroupTypeInfo `json:"MachineGroupType,omitnil,omitempty" name:"MachineGroupType"` // 标签描述列表,通过指定该参数可以同时绑定标签到相应的机器组。最大支持10个标签键值对,同一个资源只能绑定到同一个标签键下。 Tags []*Tag `json:"Tags,omitnil,omitempty" name:"Tags"` // 是否开启机器组自动更新。默认false AutoUpdate *bool `json:"AutoUpdate,omitnil,omitempty" name:"AutoUpdate"` // 升级开始时间,建议业务低峰期升级LogListener UpdateStartTime *string `json:"UpdateStartTime,omitnil,omitempty" name:"UpdateStartTime"` // 升级结束时间,建议业务低峰期升级LogListener UpdateEndTime *string `json:"UpdateEndTime,omitnil,omitempty" name:"UpdateEndTime"` // 是否开启服务日志,用于记录因Loglistener 服务自身产生的log,开启后,会创建内部日志集cls_service_logging和日志主题loglistener_status,loglistener_alarm,loglistener_business,不产生计费。默认false ServiceLogging *bool `json:"ServiceLogging,omitnil,omitempty" name:"ServiceLogging"` // 机器组中机器离线清理时间。单位:天 DelayCleanupTime *int64 `json:"DelayCleanupTime,omitnil,omitempty" name:"DelayCleanupTime"` // 机器组元数据信息列表 MetaTags []*MetaTagInfo `json:"MetaTags,omitnil,omitempty" name:"MetaTags"` // 系统类型,取值如下: // - 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 ¶ added in v1.0.426
type CreateMachineGroupRequestParams struct { // 机器组名字,不能重复 GroupName *string `json:"GroupName,omitnil,omitempty" name:"GroupName"` // 创建机器组类型。取值如下: // - Type:ip,Values中为ip字符串列表创建机器组 // - Type:label,Values中为标签字符串列表创建机器组 MachineGroupType *MachineGroupTypeInfo `json:"MachineGroupType,omitnil,omitempty" name:"MachineGroupType"` // 标签描述列表,通过指定该参数可以同时绑定标签到相应的机器组。最大支持10个标签键值对,同一个资源只能绑定到同一个标签键下。 Tags []*Tag `json:"Tags,omitnil,omitempty" name:"Tags"` // 是否开启机器组自动更新。默认false AutoUpdate *bool `json:"AutoUpdate,omitnil,omitempty" name:"AutoUpdate"` // 升级开始时间,建议业务低峰期升级LogListener UpdateStartTime *string `json:"UpdateStartTime,omitnil,omitempty" name:"UpdateStartTime"` // 升级结束时间,建议业务低峰期升级LogListener UpdateEndTime *string `json:"UpdateEndTime,omitnil,omitempty" name:"UpdateEndTime"` // 是否开启服务日志,用于记录因Loglistener 服务自身产生的log,开启后,会创建内部日志集cls_service_logging和日志主题loglistener_status,loglistener_alarm,loglistener_business,不产生计费。默认false ServiceLogging *bool `json:"ServiceLogging,omitnil,omitempty" name:"ServiceLogging"` // 机器组中机器离线清理时间。单位:天 DelayCleanupTime *int64 `json:"DelayCleanupTime,omitnil,omitempty" name:"DelayCleanupTime"` // 机器组元数据信息列表 MetaTags []*MetaTagInfo `json:"MetaTags,omitnil,omitempty" name:"MetaTags"` // 系统类型,取值如下: // - 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 ¶ added in v1.0.426
type CreateMachineGroupResponseParams struct { // 机器组ID GroupId *string `json:"GroupId,omitnil,omitempty" name:"GroupId"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateScheduledSqlRequest ¶ added in v1.0.704
type CreateScheduledSqlRequest struct { *tchttp.BaseRequest // 源日志主题 SrcTopicId *string `json:"SrcTopicId,omitnil,omitempty" name:"SrcTopicId"` // 任务名称 Name *string `json:"Name,omitnil,omitempty" name:"Name"` // 任务启动状态. 1开启, 2关闭 EnableFlag *int64 `json:"EnableFlag,omitnil,omitempty" name:"EnableFlag"` // 定时SQL分析目标日志主题 DstResource *ScheduledSqlResouceInfo `json:"DstResource,omitnil,omitempty" name:"DstResource"` // 查询语句 ScheduledSqlContent *string `json:"ScheduledSqlContent,omitnil,omitempty" name:"ScheduledSqlContent"` // 调度开始时间,Unix时间戳,单位ms ProcessStartTime *uint64 `json:"ProcessStartTime,omitnil,omitempty" name:"ProcessStartTime"` // 调度类型,1:持续运行 2:指定时间范围 ProcessType *int64 `json:"ProcessType,omitnil,omitempty" name:"ProcessType"` // 调度周期(分钟) ProcessPeriod *int64 `json:"ProcessPeriod,omitnil,omitempty" name:"ProcessPeriod"` // 单次查询的时间窗口,如果您的目标主题为指标主题,建议该参数的大小不超过30分钟,否则可能转指标失败。 ProcessTimeWindow *string `json:"ProcessTimeWindow,omitnil,omitempty" name:"ProcessTimeWindow"` // 执行延迟(秒) ProcessDelay *int64 `json:"ProcessDelay,omitnil,omitempty" name:"ProcessDelay"` // 源topicId的地域信息 SrcTopicRegion *string `json:"SrcTopicRegion,omitnil,omitempty" name:"SrcTopicRegion"` // 调度结束时间,当ProcessType=2时为必传字段, Unix时间戳,单位ms ProcessEndTime *uint64 `json:"ProcessEndTime,omitnil,omitempty" name:"ProcessEndTime"` // 查询语法规则。 默认值为0。0:Lucene语法,1:CQL语法 SyntaxRule *uint64 `json:"SyntaxRule,omitnil,omitempty" name:"SyntaxRule"` }
func NewCreateScheduledSqlRequest ¶ added in v1.0.704
func NewCreateScheduledSqlRequest() (request *CreateScheduledSqlRequest)
func (*CreateScheduledSqlRequest) FromJsonString ¶ added in v1.0.704
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 ¶ added in v1.0.704
func (r *CreateScheduledSqlRequest) ToJsonString() string
type CreateScheduledSqlRequestParams ¶ added in v1.0.704
type CreateScheduledSqlRequestParams struct { // 源日志主题 SrcTopicId *string `json:"SrcTopicId,omitnil,omitempty" name:"SrcTopicId"` // 任务名称 Name *string `json:"Name,omitnil,omitempty" name:"Name"` // 任务启动状态. 1开启, 2关闭 EnableFlag *int64 `json:"EnableFlag,omitnil,omitempty" name:"EnableFlag"` // 定时SQL分析目标日志主题 DstResource *ScheduledSqlResouceInfo `json:"DstResource,omitnil,omitempty" name:"DstResource"` // 查询语句 ScheduledSqlContent *string `json:"ScheduledSqlContent,omitnil,omitempty" name:"ScheduledSqlContent"` // 调度开始时间,Unix时间戳,单位ms ProcessStartTime *uint64 `json:"ProcessStartTime,omitnil,omitempty" name:"ProcessStartTime"` // 调度类型,1:持续运行 2:指定时间范围 ProcessType *int64 `json:"ProcessType,omitnil,omitempty" name:"ProcessType"` // 调度周期(分钟) ProcessPeriod *int64 `json:"ProcessPeriod,omitnil,omitempty" name:"ProcessPeriod"` // 单次查询的时间窗口,如果您的目标主题为指标主题,建议该参数的大小不超过30分钟,否则可能转指标失败。 ProcessTimeWindow *string `json:"ProcessTimeWindow,omitnil,omitempty" name:"ProcessTimeWindow"` // 执行延迟(秒) ProcessDelay *int64 `json:"ProcessDelay,omitnil,omitempty" name:"ProcessDelay"` // 源topicId的地域信息 SrcTopicRegion *string `json:"SrcTopicRegion,omitnil,omitempty" name:"SrcTopicRegion"` // 调度结束时间,当ProcessType=2时为必传字段, Unix时间戳,单位ms ProcessEndTime *uint64 `json:"ProcessEndTime,omitnil,omitempty" name:"ProcessEndTime"` // 查询语法规则。 默认值为0。0:Lucene语法,1:CQL语法 SyntaxRule *uint64 `json:"SyntaxRule,omitnil,omitempty" name:"SyntaxRule"` }
Predefined struct for user
type CreateScheduledSqlResponse ¶ added in v1.0.704
type CreateScheduledSqlResponse struct { *tchttp.BaseResponse Response *CreateScheduledSqlResponseParams `json:"Response"` }
func NewCreateScheduledSqlResponse ¶ added in v1.0.704
func NewCreateScheduledSqlResponse() (response *CreateScheduledSqlResponse)
func (*CreateScheduledSqlResponse) FromJsonString ¶ added in v1.0.704
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 ¶ added in v1.0.704
func (r *CreateScheduledSqlResponse) ToJsonString() string
type CreateScheduledSqlResponseParams ¶ added in v1.0.704
type CreateScheduledSqlResponseParams struct { // 任务id TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateShipperRequest ¶ added in v1.0.210
type CreateShipperRequest struct { *tchttp.BaseRequest // 创建的投递规则所属的日志主题ID TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"` // COS存储桶,详见产品支持的[存储桶命名规范](https://cloud.tencent.com/document/product/436/13312)。 Bucket *string `json:"Bucket,omitnil,omitempty" name:"Bucket"` // 投递规则投递的新的目录前缀。 // - 仅支持0-9A-Za-z-_/ // - 最大支持256个字符 Prefix *string `json:"Prefix,omitnil,omitempty" name:"Prefix"` // 投递规则的名字 ShipperName *string `json:"ShipperName,omitnil,omitempty" name:"ShipperName"` // 投递的时间间隔,单位 秒,默认300,范围 300-900 Interval *uint64 `json:"Interval,omitnil,omitempty" name:"Interval"` // 投递的文件的最大值,单位 MB,默认256,范围 5-256 MaxSize *uint64 `json:"MaxSize,omitnil,omitempty" name:"MaxSize"` // 投递日志的过滤规则,匹配的日志进行投递,各rule之间是and关系,最多5个,数组为空则表示不过滤而全部投递 FilterRules []*FilterRuleInfo `json:"FilterRules,omitnil,omitempty" name:"FilterRules"` // 投递日志的分区规则,支持strftime的时间格式表示 Partition *string `json:"Partition,omitnil,omitempty" name:"Partition"` // 投递日志的压缩配置 Compress *CompressInfo `json:"Compress,omitnil,omitempty" name:"Compress"` // 投递日志的内容格式配置 Content *ContentInfo `json:"Content,omitnil,omitempty" name:"Content"` // 投递文件命名配置,0:随机数命名,1:投递时间命名,默认0(随机数命名) FilenameMode *uint64 `json:"FilenameMode,omitnil,omitempty" name:"FilenameMode"` // 投递数据范围的开始时间点(秒级时间戳),不能超出日志主题的生命周期起点。 // 如果用户不填写,默认为用户新建投递任务的时间。 StartTime *int64 `json:"StartTime,omitnil,omitempty" name:"StartTime"` // 投递数据范围的结束时间点(秒级时间戳),不能填写未来时间。 // 如果用户不填写,默认为持续投递,即无限。 EndTime *int64 `json:"EndTime,omitnil,omitempty" name:"EndTime"` // cos桶存储类型。支持:STANDARD_IA、ARCHIVE、DEEP_ARCHIVE、STANDARD、MAZ_STANDARD、MAZ_STANDARD_IA、INTELLIGENT_TIERING。 // // 1. STANDARD_IA:低频存储; // 2. ARCHIVE:归档存储; // 3. DEEP_ARCHIVE:深度归档存储; // 4. STANDARD:标准存储; // 5. MAZ_STANDARD:标准存储(多 AZ); // 6. MAZ_STANDARD_IA:低频存储(多 AZ); // 7. INTELLIGENT_TIERING:智能分层存储。 StorageType *string `json:"StorageType,omitnil,omitempty" name:"StorageType"` }
func NewCreateShipperRequest ¶ added in v1.0.210
func NewCreateShipperRequest() (request *CreateShipperRequest)
func (*CreateShipperRequest) FromJsonString ¶ added in v1.0.210
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 ¶ added in v1.0.210
func (r *CreateShipperRequest) ToJsonString() string
type CreateShipperRequestParams ¶ added in v1.0.426
type CreateShipperRequestParams struct { // 创建的投递规则所属的日志主题ID TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"` // COS存储桶,详见产品支持的[存储桶命名规范](https://cloud.tencent.com/document/product/436/13312)。 Bucket *string `json:"Bucket,omitnil,omitempty" name:"Bucket"` // 投递规则投递的新的目录前缀。 // - 仅支持0-9A-Za-z-_/ // - 最大支持256个字符 Prefix *string `json:"Prefix,omitnil,omitempty" name:"Prefix"` // 投递规则的名字 ShipperName *string `json:"ShipperName,omitnil,omitempty" name:"ShipperName"` // 投递的时间间隔,单位 秒,默认300,范围 300-900 Interval *uint64 `json:"Interval,omitnil,omitempty" name:"Interval"` // 投递的文件的最大值,单位 MB,默认256,范围 5-256 MaxSize *uint64 `json:"MaxSize,omitnil,omitempty" name:"MaxSize"` // 投递日志的过滤规则,匹配的日志进行投递,各rule之间是and关系,最多5个,数组为空则表示不过滤而全部投递 FilterRules []*FilterRuleInfo `json:"FilterRules,omitnil,omitempty" name:"FilterRules"` // 投递日志的分区规则,支持strftime的时间格式表示 Partition *string `json:"Partition,omitnil,omitempty" name:"Partition"` // 投递日志的压缩配置 Compress *CompressInfo `json:"Compress,omitnil,omitempty" name:"Compress"` // 投递日志的内容格式配置 Content *ContentInfo `json:"Content,omitnil,omitempty" name:"Content"` // 投递文件命名配置,0:随机数命名,1:投递时间命名,默认0(随机数命名) FilenameMode *uint64 `json:"FilenameMode,omitnil,omitempty" name:"FilenameMode"` // 投递数据范围的开始时间点(秒级时间戳),不能超出日志主题的生命周期起点。 // 如果用户不填写,默认为用户新建投递任务的时间。 StartTime *int64 `json:"StartTime,omitnil,omitempty" name:"StartTime"` // 投递数据范围的结束时间点(秒级时间戳),不能填写未来时间。 // 如果用户不填写,默认为持续投递,即无限。 EndTime *int64 `json:"EndTime,omitnil,omitempty" name:"EndTime"` // cos桶存储类型。支持:STANDARD_IA、ARCHIVE、DEEP_ARCHIVE、STANDARD、MAZ_STANDARD、MAZ_STANDARD_IA、INTELLIGENT_TIERING。 // // 1. STANDARD_IA:低频存储; // 2. ARCHIVE:归档存储; // 3. DEEP_ARCHIVE:深度归档存储; // 4. STANDARD:标准存储; // 5. MAZ_STANDARD:标准存储(多 AZ); // 6. MAZ_STANDARD_IA:低频存储(多 AZ); // 7. INTELLIGENT_TIERING:智能分层存储。 StorageType *string `json:"StorageType,omitnil,omitempty" name:"StorageType"` }
Predefined struct for user
type CreateShipperResponse ¶ added in v1.0.210
type CreateShipperResponse struct { *tchttp.BaseResponse Response *CreateShipperResponseParams `json:"Response"` }
func NewCreateShipperResponse ¶ added in v1.0.210
func NewCreateShipperResponse() (response *CreateShipperResponse)
func (*CreateShipperResponse) FromJsonString ¶ added in v1.0.210
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 ¶ added in v1.0.210
func (r *CreateShipperResponse) ToJsonString() string
type CreateShipperResponseParams ¶ added in v1.0.426
type CreateShipperResponseParams struct { // 投递任务ID ShipperId *string `json:"ShipperId,omitnil,omitempty" name:"ShipperId"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateTopicRequest ¶
type CreateTopicRequest struct { *tchttp.BaseRequest // 日志集ID LogsetId *string `json:"LogsetId,omitnil,omitempty" name:"LogsetId"` // 日志主题名称 TopicName *string `json:"TopicName,omitnil,omitempty" name:"TopicName"` // 日志主题分区个数。默认创建1个,最大支持创建10个分区。 PartitionCount *int64 `json:"PartitionCount,omitnil,omitempty" name:"PartitionCount"` // 标签描述列表,通过指定该参数可以同时绑定标签到相应的日志主题。最大支持10个标签键值对,同一个资源只能绑定到同一个标签键下。 Tags []*Tag `json:"Tags,omitnil,omitempty" name:"Tags"` // 是否开启自动分裂,默认值为true AutoSplit *bool `json:"AutoSplit,omitnil,omitempty" name:"AutoSplit"` // 开启自动分裂后,每个主题能够允许的最大分区数,默认值为50 MaxSplitPartitions *int64 `json:"MaxSplitPartitions,omitnil,omitempty" name:"MaxSplitPartitions"` // 日志主题的存储类型,可选值 hot(标准存储),cold(低频存储);默认为hot。 StorageType *string `json:"StorageType,omitnil,omitempty" name:"StorageType"` // 生命周期,单位天,标准存储取值范围1\~3600,低频存储取值范围7\~3600天。取值为3640时代表永久保存。 // 不传此值,默认获取该日志主题对应日志集的Period值(当获取失败时默认为30天)。 Period *int64 `json:"Period,omitnil,omitempty" name:"Period"` // 日志主题描述 Describes *string `json:"Describes,omitnil,omitempty" name:"Describes"` // 0:关闭日志沉降。 // 非0:开启日志沉降后标准存储的天数,HotPeriod需要大于等于7,且小于Period。 // 仅在StorageType为 hot 时生效。 HotPeriod *uint64 `json:"HotPeriod,omitnil,omitempty" name:"HotPeriod"` // 免鉴权开关。 false:关闭; true:开启。默认为false。 // 开启后将支持指定操作匿名访问该日志主题。详情请参见[日志主题](https://cloud.tencent.com/document/product/614/41035)。 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 ¶ added in v1.0.426
type CreateTopicRequestParams struct { // 日志集ID LogsetId *string `json:"LogsetId,omitnil,omitempty" name:"LogsetId"` // 日志主题名称 TopicName *string `json:"TopicName,omitnil,omitempty" name:"TopicName"` // 日志主题分区个数。默认创建1个,最大支持创建10个分区。 PartitionCount *int64 `json:"PartitionCount,omitnil,omitempty" name:"PartitionCount"` // 标签描述列表,通过指定该参数可以同时绑定标签到相应的日志主题。最大支持10个标签键值对,同一个资源只能绑定到同一个标签键下。 Tags []*Tag `json:"Tags,omitnil,omitempty" name:"Tags"` // 是否开启自动分裂,默认值为true AutoSplit *bool `json:"AutoSplit,omitnil,omitempty" name:"AutoSplit"` // 开启自动分裂后,每个主题能够允许的最大分区数,默认值为50 MaxSplitPartitions *int64 `json:"MaxSplitPartitions,omitnil,omitempty" name:"MaxSplitPartitions"` // 日志主题的存储类型,可选值 hot(标准存储),cold(低频存储);默认为hot。 StorageType *string `json:"StorageType,omitnil,omitempty" name:"StorageType"` // 生命周期,单位天,标准存储取值范围1\~3600,低频存储取值范围7\~3600天。取值为3640时代表永久保存。 // 不传此值,默认获取该日志主题对应日志集的Period值(当获取失败时默认为30天)。 Period *int64 `json:"Period,omitnil,omitempty" name:"Period"` // 日志主题描述 Describes *string `json:"Describes,omitnil,omitempty" name:"Describes"` // 0:关闭日志沉降。 // 非0:开启日志沉降后标准存储的天数,HotPeriod需要大于等于7,且小于Period。 // 仅在StorageType为 hot 时生效。 HotPeriod *uint64 `json:"HotPeriod,omitnil,omitempty" name:"HotPeriod"` // 免鉴权开关。 false:关闭; true:开启。默认为false。 // 开启后将支持指定操作匿名访问该日志主题。详情请参见[日志主题](https://cloud.tencent.com/document/product/614/41035)。 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 ¶ added in v1.0.426
type CreateTopicResponseParams struct { // 日志主题ID TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CsvInfo ¶ added in v1.0.210
type CsvInfo struct { // csv首行是否打印key PrintKey *bool `json:"PrintKey,omitnil,omitempty" name:"PrintKey"` // 每列key的名字 // 注意:此字段可能返回 null,表示取不到有效值。 Keys []*string `json:"Keys,omitnil,omitempty" name:"Keys"` // 各字段间的分隔符 Delimiter *string `json:"Delimiter,omitnil,omitempty" name:"Delimiter"` // 若字段内容中包含分隔符,则使用该转义符包裹改字段,只能填写单引号、双引号、空字符串 EscapeChar *string `json:"EscapeChar,omitnil,omitempty" name:"EscapeChar"` // 对于上面指定的不存在字段使用该内容填充 NonExistingField *string `json:"NonExistingField,omitnil,omitempty" name:"NonExistingField"` }
type DashboardInfo ¶ added in v1.0.710
type DashboardInfo struct { // 仪表盘id DashboardId *string `json:"DashboardId,omitnil,omitempty" name:"DashboardId"` // 仪表盘名字 DashboardName *string `json:"DashboardName,omitnil,omitempty" name:"DashboardName"` // 仪表盘数据 // 注意:此字段可能返回 null,表示取不到有效值。 Data *string `json:"Data,omitnil,omitempty" name:"Data"` // 创建仪表盘的时间 CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"` // AssumerUin非空则表示创建该日志主题的服务方Uin // 注意:此字段可能返回 null,表示取不到有效值。 AssumerUin *uint64 `json:"AssumerUin,omitnil,omitempty" name:"AssumerUin"` // RoleName非空则表示创建该日志主题的服务方使用的角色 // 注意:此字段可能返回 null,表示取不到有效值。 RoleName *string `json:"RoleName,omitnil,omitempty" name:"RoleName"` // AssumerName非空则表示创建该日志主题的服务方名称 // 注意:此字段可能返回 null,表示取不到有效值。 AssumerName *string `json:"AssumerName,omitnil,omitempty" name:"AssumerName"` // 日志主题绑定的标签信息 // 注意:此字段可能返回 null,表示取不到有效值。 Tags []*Tag `json:"Tags,omitnil,omitempty" name:"Tags"` // 仪表盘所在地域: 为了兼容老的地域。 // 注意:此字段可能返回 null,表示取不到有效值。 DashboardRegion *string `json:"DashboardRegion,omitnil,omitempty" name:"DashboardRegion"` // 修改仪表盘的时间 // 注意:此字段可能返回 null,表示取不到有效值。 UpdateTime *string `json:"UpdateTime,omitnil,omitempty" name:"UpdateTime"` // 仪表盘对应的topic相关信息 // 注意:此字段可能返回 null,表示取不到有效值。 DashboardTopicInfos []*DashboardTopicInfo `json:"DashboardTopicInfos,omitnil,omitempty" name:"DashboardTopicInfos"` }
type DashboardNoticeMode ¶ added in v1.0.913
type DashboardNoticeMode struct { // 仪表盘通知方式。<br> // <li/>Uin:腾讯云用户<br> // <li/>Group:腾讯云用户组<br> // <li/>Email:自定义Email<br> // <li/>WeCom: 企业微信回调 ReceiverType *string `json:"ReceiverType,omitnil,omitempty" name:"ReceiverType"` // 知方式对应的值。 // <br> <li/> 当ReceiverType不是 Wecom 时,Values必填。 Values []*string `json:"Values,omitnil,omitempty" name:"Values"` // 仪表盘通知渠道。 // <br><li/> 支持:["Email","Sms","WeChat","Phone"]。 // <br><li/> 当ReceiverType是 Email 或 Wecom 时,ReceiverChannels不能赋值。 // 注意:此字段可能返回 null,表示取不到有效值。 ReceiverChannels []*string `json:"ReceiverChannels,omitnil,omitempty" name:"ReceiverChannels"` // 回调Url。 // <br><li/> 当ReceiverType是 Wecom 时,Url必填。 // <br><li/> 当ReceiverType不是 Wecom 时,Url不能填写。 // 注意:此字段可能返回 null,表示取不到有效值。 Url *string `json:"Url,omitnil,omitempty" name:"Url"` }
type DashboardSubscribeData ¶ added in v1.0.913
type DashboardSubscribeData struct { // 仪表盘订阅通知方式。 NoticeModes []*DashboardNoticeMode `json:"NoticeModes,omitnil,omitempty" name:"NoticeModes"` // 仪表盘订阅时间,为空标识取仪表盘默认的时间。 // 注意:此字段可能返回 null,表示取不到有效值。 DashboardTime []*string `json:"DashboardTime,omitnil,omitempty" name:"DashboardTime"` // 仪表盘订阅模板变量。 // 注意:此字段可能返回 null,表示取不到有效值。 TemplateVariables []*DashboardTemplateVariable `json:"TemplateVariables,omitnil,omitempty" name:"TemplateVariables"` // 时区。参考:https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#SHANGHAI // 注意:此字段可能返回 null,表示取不到有效值。 Timezone *string `json:"Timezone,omitnil,omitempty" name:"Timezone"` // 语言。 zh 中文、en`英文。 // 注意:此字段可能返回 null,表示取不到有效值。 SubscribeLanguage *string `json:"SubscribeLanguage,omitnil,omitempty" name:"SubscribeLanguage"` // 调用链接域名。http:// 或者 https:// 开头,不能/结尾 // 注意:此字段可能返回 null,表示取不到有效值。 JumpDomain *string `json:"JumpDomain,omitnil,omitempty" name:"JumpDomain"` // 自定义跳转链接。 // 注意:此字段可能返回 null,表示取不到有效值。 JumpUrl *string `json:"JumpUrl,omitnil,omitempty" name:"JumpUrl"` }
type DashboardTemplateVariable ¶ added in v1.0.913
type DashboardTopicInfo ¶ added in v1.0.710
type DataTransformResouceInfo ¶ added in v1.0.380
type DataTransformTaskInfo ¶ added in v1.0.380
type DataTransformTaskInfo struct { // 数据加工任务名称 Name *string `json:"Name,omitnil,omitempty" name:"Name"` // 数据加工任务id TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"` // 任务启用状态,默认为1,正常开启, 2关闭 EnableFlag *int64 `json:"EnableFlag,omitnil,omitempty" name:"EnableFlag"` // 加工任务类型,1: DSL, 2:SQL Type *int64 `json:"Type,omitnil,omitempty" name:"Type"` // 源日志主题 SrcTopicId *string `json:"SrcTopicId,omitnil,omitempty" name:"SrcTopicId"` // 当前加工任务状态(1准备中/2运行中/3停止中/4已停止) Status *int64 `json:"Status,omitnil,omitempty" name:"Status"` // 加工任务创建时间 CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"` // 最近修改时间 UpdateTime *string `json:"UpdateTime,omitnil,omitempty" name:"UpdateTime"` // 最后启用时间,如果需要重建集群,修改该时间 LastEnableTime *string `json:"LastEnableTime,omitnil,omitempty" name:"LastEnableTime"` // 日志主题名称 SrcTopicName *string `json:"SrcTopicName,omitnil,omitempty" name:"SrcTopicName"` // 日志集id LogsetId *string `json:"LogsetId,omitnil,omitempty" name:"LogsetId"` // 加工任务目的topic_id以及别名 DstResources []*DataTransformResouceInfo `json:"DstResources,omitnil,omitempty" name:"DstResources"` // 加工逻辑函数。 EtlContent *string `json:"EtlContent,omitnil,omitempty" name:"EtlContent"` }
type DeleteAlarmNoticeRequest ¶
type DeleteAlarmNoticeRequest struct { *tchttp.BaseRequest // 通知渠道组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 ¶ added in v1.0.426
type DeleteAlarmNoticeRequestParams struct { // 通知渠道组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 ¶ added in v1.0.426
type DeleteAlarmNoticeResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteAlarmRequest ¶
type DeleteAlarmRequest struct { *tchttp.BaseRequest // 告警策略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 ¶ added in v1.0.426
type DeleteAlarmRequestParams struct { // 告警策略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 ¶ added in v1.0.426
type DeleteAlarmResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteAlarmShieldRequest ¶ added in v1.0.854
type DeleteAlarmShieldRequest struct { *tchttp.BaseRequest // 屏蔽规则id。 TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"` // 通知渠道组id。 AlarmNoticeId *string `json:"AlarmNoticeId,omitnil,omitempty" name:"AlarmNoticeId"` }
func NewDeleteAlarmShieldRequest ¶ added in v1.0.854
func NewDeleteAlarmShieldRequest() (request *DeleteAlarmShieldRequest)
func (*DeleteAlarmShieldRequest) FromJsonString ¶ added in v1.0.854
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 ¶ added in v1.0.854
func (r *DeleteAlarmShieldRequest) ToJsonString() string
type DeleteAlarmShieldRequestParams ¶ added in v1.0.854
type DeleteAlarmShieldRequestParams struct { // 屏蔽规则id。 TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"` // 通知渠道组id。 AlarmNoticeId *string `json:"AlarmNoticeId,omitnil,omitempty" name:"AlarmNoticeId"` }
Predefined struct for user
type DeleteAlarmShieldResponse ¶ added in v1.0.854
type DeleteAlarmShieldResponse struct { *tchttp.BaseResponse Response *DeleteAlarmShieldResponseParams `json:"Response"` }
func NewDeleteAlarmShieldResponse ¶ added in v1.0.854
func NewDeleteAlarmShieldResponse() (response *DeleteAlarmShieldResponse)
func (*DeleteAlarmShieldResponse) FromJsonString ¶ added in v1.0.854
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 ¶ added in v1.0.854
func (r *DeleteAlarmShieldResponse) ToJsonString() string
type DeleteAlarmShieldResponseParams ¶ added in v1.0.854
type DeleteAlarmShieldResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteConfigExtraRequest ¶ added in v1.0.365
type DeleteConfigExtraRequest struct { *tchttp.BaseRequest // 特殊采集规则扩展配置ID ConfigExtraId *string `json:"ConfigExtraId,omitnil,omitempty" name:"ConfigExtraId"` }
func NewDeleteConfigExtraRequest ¶ added in v1.0.365
func NewDeleteConfigExtraRequest() (request *DeleteConfigExtraRequest)
func (*DeleteConfigExtraRequest) FromJsonString ¶ added in v1.0.365
func (r *DeleteConfigExtraRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteConfigExtraRequest) ToJsonString ¶ added in v1.0.365
func (r *DeleteConfigExtraRequest) ToJsonString() string
type DeleteConfigExtraRequestParams ¶ added in v1.0.426
type DeleteConfigExtraRequestParams struct { // 特殊采集规则扩展配置ID ConfigExtraId *string `json:"ConfigExtraId,omitnil,omitempty" name:"ConfigExtraId"` }
Predefined struct for user
type DeleteConfigExtraResponse ¶ added in v1.0.365
type DeleteConfigExtraResponse struct { *tchttp.BaseResponse Response *DeleteConfigExtraResponseParams `json:"Response"` }
func NewDeleteConfigExtraResponse ¶ added in v1.0.365
func NewDeleteConfigExtraResponse() (response *DeleteConfigExtraResponse)
func (*DeleteConfigExtraResponse) FromJsonString ¶ added in v1.0.365
func (r *DeleteConfigExtraResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteConfigExtraResponse) ToJsonString ¶ added in v1.0.365
func (r *DeleteConfigExtraResponse) ToJsonString() string
type DeleteConfigExtraResponseParams ¶ added in v1.0.426
type DeleteConfigExtraResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteConfigFromMachineGroupRequest ¶ added in v1.0.209
type DeleteConfigFromMachineGroupRequest struct { *tchttp.BaseRequest // 机器组ID GroupId *string `json:"GroupId,omitnil,omitempty" name:"GroupId"` // 采集配置ID ConfigId *string `json:"ConfigId,omitnil,omitempty" name:"ConfigId"` }
func NewDeleteConfigFromMachineGroupRequest ¶ added in v1.0.209
func NewDeleteConfigFromMachineGroupRequest() (request *DeleteConfigFromMachineGroupRequest)
func (*DeleteConfigFromMachineGroupRequest) FromJsonString ¶ added in v1.0.209
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 ¶ added in v1.0.209
func (r *DeleteConfigFromMachineGroupRequest) ToJsonString() string
type DeleteConfigFromMachineGroupRequestParams ¶ added in v1.0.426
type DeleteConfigFromMachineGroupRequestParams struct { // 机器组ID GroupId *string `json:"GroupId,omitnil,omitempty" name:"GroupId"` // 采集配置ID ConfigId *string `json:"ConfigId,omitnil,omitempty" name:"ConfigId"` }
Predefined struct for user
type DeleteConfigFromMachineGroupResponse ¶ added in v1.0.209
type DeleteConfigFromMachineGroupResponse struct { *tchttp.BaseResponse Response *DeleteConfigFromMachineGroupResponseParams `json:"Response"` }
func NewDeleteConfigFromMachineGroupResponse ¶ added in v1.0.209
func NewDeleteConfigFromMachineGroupResponse() (response *DeleteConfigFromMachineGroupResponse)
func (*DeleteConfigFromMachineGroupResponse) FromJsonString ¶ added in v1.0.209
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 ¶ added in v1.0.209
func (r *DeleteConfigFromMachineGroupResponse) ToJsonString() string
type DeleteConfigFromMachineGroupResponseParams ¶ added in v1.0.426
type DeleteConfigFromMachineGroupResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteConfigRequest ¶ added in v1.0.209
type DeleteConfigRequest struct { *tchttp.BaseRequest // 采集规则配置ID ConfigId *string `json:"ConfigId,omitnil,omitempty" name:"ConfigId"` }
func NewDeleteConfigRequest ¶ added in v1.0.209
func NewDeleteConfigRequest() (request *DeleteConfigRequest)
func (*DeleteConfigRequest) FromJsonString ¶ added in v1.0.209
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 ¶ added in v1.0.209
func (r *DeleteConfigRequest) ToJsonString() string
type DeleteConfigRequestParams ¶ added in v1.0.426
type DeleteConfigRequestParams struct { // 采集规则配置ID ConfigId *string `json:"ConfigId,omitnil,omitempty" name:"ConfigId"` }
Predefined struct for user
type DeleteConfigResponse ¶ added in v1.0.209
type DeleteConfigResponse struct { *tchttp.BaseResponse Response *DeleteConfigResponseParams `json:"Response"` }
func NewDeleteConfigResponse ¶ added in v1.0.209
func NewDeleteConfigResponse() (response *DeleteConfigResponse)
func (*DeleteConfigResponse) FromJsonString ¶ added in v1.0.209
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 ¶ added in v1.0.209
func (r *DeleteConfigResponse) ToJsonString() string
type DeleteConfigResponseParams ¶ added in v1.0.426
type DeleteConfigResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteConsumerRequest ¶ added in v1.0.315
type DeleteConsumerRequest struct { *tchttp.BaseRequest // 投递任务绑定的日志主题 ID TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"` }
func NewDeleteConsumerRequest ¶ added in v1.0.315
func NewDeleteConsumerRequest() (request *DeleteConsumerRequest)
func (*DeleteConsumerRequest) FromJsonString ¶ added in v1.0.315
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 ¶ added in v1.0.315
func (r *DeleteConsumerRequest) ToJsonString() string
type DeleteConsumerRequestParams ¶ added in v1.0.426
type DeleteConsumerRequestParams struct { // 投递任务绑定的日志主题 ID TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"` }
Predefined struct for user
type DeleteConsumerResponse ¶ added in v1.0.315
type DeleteConsumerResponse struct { *tchttp.BaseResponse Response *DeleteConsumerResponseParams `json:"Response"` }
func NewDeleteConsumerResponse ¶ added in v1.0.315
func NewDeleteConsumerResponse() (response *DeleteConsumerResponse)
func (*DeleteConsumerResponse) FromJsonString ¶ added in v1.0.315
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 ¶ added in v1.0.315
func (r *DeleteConsumerResponse) ToJsonString() string
type DeleteConsumerResponseParams ¶ added in v1.0.426
type DeleteConsumerResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteDashboardSubscribeRequest ¶ added in v1.0.912
type DeleteDashboardSubscribeRequest struct {
*tchttp.BaseRequest
}
func NewDeleteDashboardSubscribeRequest ¶ added in v1.0.912
func NewDeleteDashboardSubscribeRequest() (request *DeleteDashboardSubscribeRequest)
func (*DeleteDashboardSubscribeRequest) FromJsonString ¶ added in v1.0.912
func (r *DeleteDashboardSubscribeRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteDashboardSubscribeRequest) ToJsonString ¶ added in v1.0.912
func (r *DeleteDashboardSubscribeRequest) ToJsonString() string
type DeleteDashboardSubscribeRequestParams ¶ added in v1.0.912
type DeleteDashboardSubscribeRequestParams struct { }
Predefined struct for user
type DeleteDashboardSubscribeResponse ¶ added in v1.0.912
type DeleteDashboardSubscribeResponse struct { *tchttp.BaseResponse Response *DeleteDashboardSubscribeResponseParams `json:"Response"` }
func NewDeleteDashboardSubscribeResponse ¶ added in v1.0.912
func NewDeleteDashboardSubscribeResponse() (response *DeleteDashboardSubscribeResponse)
func (*DeleteDashboardSubscribeResponse) FromJsonString ¶ added in v1.0.912
func (r *DeleteDashboardSubscribeResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteDashboardSubscribeResponse) ToJsonString ¶ added in v1.0.912
func (r *DeleteDashboardSubscribeResponse) ToJsonString() string
type DeleteDashboardSubscribeResponseParams ¶ added in v1.0.912
type DeleteDashboardSubscribeResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteDataTransformRequest ¶ added in v1.0.380
type DeleteDataTransformRequest struct { *tchttp.BaseRequest // 数据加工任务id TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"` }
func NewDeleteDataTransformRequest ¶ added in v1.0.380
func NewDeleteDataTransformRequest() (request *DeleteDataTransformRequest)
func (*DeleteDataTransformRequest) FromJsonString ¶ added in v1.0.380
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 ¶ added in v1.0.380
func (r *DeleteDataTransformRequest) ToJsonString() string
type DeleteDataTransformRequestParams ¶ added in v1.0.426
type DeleteDataTransformRequestParams struct { // 数据加工任务id TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"` }
Predefined struct for user
type DeleteDataTransformResponse ¶ added in v1.0.380
type DeleteDataTransformResponse struct { *tchttp.BaseResponse Response *DeleteDataTransformResponseParams `json:"Response"` }
func NewDeleteDataTransformResponse ¶ added in v1.0.380
func NewDeleteDataTransformResponse() (response *DeleteDataTransformResponse)
func (*DeleteDataTransformResponse) FromJsonString ¶ added in v1.0.380
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 ¶ added in v1.0.380
func (r *DeleteDataTransformResponse) ToJsonString() string
type DeleteDataTransformResponseParams ¶ added in v1.0.426
type DeleteDataTransformResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteExportRequest ¶
type DeleteExportRequest struct { *tchttp.BaseRequest // 日志导出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 ¶ added in v1.0.426
type DeleteExportRequestParams struct { // 日志导出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 ¶ added in v1.0.426
type DeleteExportResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteIndexRequest ¶
type DeleteIndexRequest struct { *tchttp.BaseRequest // 日志主题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 ¶ added in v1.0.426
type DeleteIndexRequestParams struct { // 日志主题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 ¶ added in v1.0.426
type DeleteIndexResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteKafkaRechargeRequest ¶ added in v1.0.693
type DeleteKafkaRechargeRequest struct { *tchttp.BaseRequest // Kafka导入配置ID Id *string `json:"Id,omitnil,omitempty" name:"Id"` // 导入CLS目标topic ID TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"` }
func NewDeleteKafkaRechargeRequest ¶ added in v1.0.693
func NewDeleteKafkaRechargeRequest() (request *DeleteKafkaRechargeRequest)
func (*DeleteKafkaRechargeRequest) FromJsonString ¶ added in v1.0.693
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 ¶ added in v1.0.693
func (r *DeleteKafkaRechargeRequest) ToJsonString() string
type DeleteKafkaRechargeRequestParams ¶ added in v1.0.693
type DeleteKafkaRechargeRequestParams struct { // Kafka导入配置ID Id *string `json:"Id,omitnil,omitempty" name:"Id"` // 导入CLS目标topic ID TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"` }
Predefined struct for user
type DeleteKafkaRechargeResponse ¶ added in v1.0.693
type DeleteKafkaRechargeResponse struct { *tchttp.BaseResponse Response *DeleteKafkaRechargeResponseParams `json:"Response"` }
func NewDeleteKafkaRechargeResponse ¶ added in v1.0.693
func NewDeleteKafkaRechargeResponse() (response *DeleteKafkaRechargeResponse)
func (*DeleteKafkaRechargeResponse) FromJsonString ¶ added in v1.0.693
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 ¶ added in v1.0.693
func (r *DeleteKafkaRechargeResponse) ToJsonString() string
type DeleteKafkaRechargeResponseParams ¶ added in v1.0.693
type DeleteKafkaRechargeResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteLogsetRequest ¶ added in v1.0.209
type DeleteLogsetRequest struct { *tchttp.BaseRequest // 日志集ID LogsetId *string `json:"LogsetId,omitnil,omitempty" name:"LogsetId"` }
func NewDeleteLogsetRequest ¶ added in v1.0.209
func NewDeleteLogsetRequest() (request *DeleteLogsetRequest)
func (*DeleteLogsetRequest) FromJsonString ¶ added in v1.0.209
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 ¶ added in v1.0.209
func (r *DeleteLogsetRequest) ToJsonString() string
type DeleteLogsetRequestParams ¶ added in v1.0.426
type DeleteLogsetRequestParams struct { // 日志集ID LogsetId *string `json:"LogsetId,omitnil,omitempty" name:"LogsetId"` }
Predefined struct for user
type DeleteLogsetResponse ¶ added in v1.0.209
type DeleteLogsetResponse struct { *tchttp.BaseResponse Response *DeleteLogsetResponseParams `json:"Response"` }
func NewDeleteLogsetResponse ¶ added in v1.0.209
func NewDeleteLogsetResponse() (response *DeleteLogsetResponse)
func (*DeleteLogsetResponse) FromJsonString ¶ added in v1.0.209
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 ¶ added in v1.0.209
func (r *DeleteLogsetResponse) ToJsonString() string
type DeleteLogsetResponseParams ¶ added in v1.0.426
type DeleteLogsetResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteMachineGroupInfoRequest ¶ added in v1.0.531
type DeleteMachineGroupInfoRequest struct { *tchttp.BaseRequest // 机器组ID GroupId *string `json:"GroupId,omitnil,omitempty" name:"GroupId"` // 机器组类型 // 目前type支持 ip 和 label MachineGroupType *MachineGroupTypeInfo `json:"MachineGroupType,omitnil,omitempty" name:"MachineGroupType"` }
func NewDeleteMachineGroupInfoRequest ¶ added in v1.0.531
func NewDeleteMachineGroupInfoRequest() (request *DeleteMachineGroupInfoRequest)
func (*DeleteMachineGroupInfoRequest) FromJsonString ¶ added in v1.0.531
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 ¶ added in v1.0.531
func (r *DeleteMachineGroupInfoRequest) ToJsonString() string
type DeleteMachineGroupInfoRequestParams ¶ added in v1.0.531
type DeleteMachineGroupInfoRequestParams struct { // 机器组ID GroupId *string `json:"GroupId,omitnil,omitempty" name:"GroupId"` // 机器组类型 // 目前type支持 ip 和 label MachineGroupType *MachineGroupTypeInfo `json:"MachineGroupType,omitnil,omitempty" name:"MachineGroupType"` }
Predefined struct for user
type DeleteMachineGroupInfoResponse ¶ added in v1.0.531
type DeleteMachineGroupInfoResponse struct { *tchttp.BaseResponse Response *DeleteMachineGroupInfoResponseParams `json:"Response"` }
func NewDeleteMachineGroupInfoResponse ¶ added in v1.0.531
func NewDeleteMachineGroupInfoResponse() (response *DeleteMachineGroupInfoResponse)
func (*DeleteMachineGroupInfoResponse) FromJsonString ¶ added in v1.0.531
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 ¶ added in v1.0.531
func (r *DeleteMachineGroupInfoResponse) ToJsonString() string
type DeleteMachineGroupInfoResponseParams ¶ added in v1.0.531
type DeleteMachineGroupInfoResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteMachineGroupRequest ¶
type DeleteMachineGroupRequest struct { *tchttp.BaseRequest // 机器组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 ¶ added in v1.0.426
type DeleteMachineGroupRequestParams struct { // 机器组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 ¶ added in v1.0.426
type DeleteMachineGroupResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteScheduledSqlRequest ¶ added in v1.0.708
type DeleteScheduledSqlRequest struct { *tchttp.BaseRequest // 任务ID TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"` // 源日志主题ID SrcTopicId *string `json:"SrcTopicId,omitnil,omitempty" name:"SrcTopicId"` }
func NewDeleteScheduledSqlRequest ¶ added in v1.0.708
func NewDeleteScheduledSqlRequest() (request *DeleteScheduledSqlRequest)
func (*DeleteScheduledSqlRequest) FromJsonString ¶ added in v1.0.708
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 ¶ added in v1.0.708
func (r *DeleteScheduledSqlRequest) ToJsonString() string
type DeleteScheduledSqlRequestParams ¶ added in v1.0.708
type DeleteScheduledSqlRequestParams struct { // 任务ID TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"` // 源日志主题ID SrcTopicId *string `json:"SrcTopicId,omitnil,omitempty" name:"SrcTopicId"` }
Predefined struct for user
type DeleteScheduledSqlResponse ¶ added in v1.0.708
type DeleteScheduledSqlResponse struct { *tchttp.BaseResponse Response *DeleteScheduledSqlResponseParams `json:"Response"` }
func NewDeleteScheduledSqlResponse ¶ added in v1.0.708
func NewDeleteScheduledSqlResponse() (response *DeleteScheduledSqlResponse)
func (*DeleteScheduledSqlResponse) FromJsonString ¶ added in v1.0.708
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 ¶ added in v1.0.708
func (r *DeleteScheduledSqlResponse) ToJsonString() string
type DeleteScheduledSqlResponseParams ¶ added in v1.0.708
type DeleteScheduledSqlResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteShipperRequest ¶ added in v1.0.210
type DeleteShipperRequest struct { *tchttp.BaseRequest // 投递规则ID ShipperId *string `json:"ShipperId,omitnil,omitempty" name:"ShipperId"` }
func NewDeleteShipperRequest ¶ added in v1.0.210
func NewDeleteShipperRequest() (request *DeleteShipperRequest)
func (*DeleteShipperRequest) FromJsonString ¶ added in v1.0.210
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 ¶ added in v1.0.210
func (r *DeleteShipperRequest) ToJsonString() string
type DeleteShipperRequestParams ¶ added in v1.0.426
type DeleteShipperRequestParams struct { // 投递规则ID ShipperId *string `json:"ShipperId,omitnil,omitempty" name:"ShipperId"` }
Predefined struct for user
type DeleteShipperResponse ¶ added in v1.0.210
type DeleteShipperResponse struct { *tchttp.BaseResponse Response *DeleteShipperResponseParams `json:"Response"` }
func NewDeleteShipperResponse ¶ added in v1.0.210
func NewDeleteShipperResponse() (response *DeleteShipperResponse)
func (*DeleteShipperResponse) FromJsonString ¶ added in v1.0.210
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 ¶ added in v1.0.210
func (r *DeleteShipperResponse) ToJsonString() string
type DeleteShipperResponseParams ¶ added in v1.0.426
type DeleteShipperResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteTopicRequest ¶
type DeleteTopicRequest struct { *tchttp.BaseRequest // 日志主题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 ¶ added in v1.0.426
type DeleteTopicRequestParams struct { // 日志主题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 ¶ added in v1.0.426
type DeleteTopicResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeAlarmNoticesRequest ¶
type DescribeAlarmNoticesRequest struct { *tchttp.BaseRequest // <li> name // 按照【通知渠道组名称】进行过滤。 // 类型:String // 必选:否</li> // <li> alarmNoticeId // 按照【通知渠道组ID】进行过滤。 // 类型:String // 必选:否</li> // <li> uid // 按照【接收用户ID】进行过滤。 // 类型:String // 必选:否</li> // <li> groupId // 按照【接收用户组ID】进行过滤。 // 类型:String // 必选:否</li> // // <li> deliverFlag // 按照【投递状态】进行过滤。 // 类型:String // 必选:否 // 可选值: "1":未启用, "2": 已启用, "3":投递异常</li> // // 每次请求的Filters的上限为10,Filter.Values的上限为5。 Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` // 分页的偏移量,默认值为0。 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 分页单页限制数目,默认值为20,最大值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 ¶ added in v1.0.426
type DescribeAlarmNoticesRequestParams struct { // <li> name // 按照【通知渠道组名称】进行过滤。 // 类型:String // 必选:否</li> // <li> alarmNoticeId // 按照【通知渠道组ID】进行过滤。 // 类型:String // 必选:否</li> // <li> uid // 按照【接收用户ID】进行过滤。 // 类型:String // 必选:否</li> // <li> groupId // 按照【接收用户组ID】进行过滤。 // 类型:String // 必选:否</li> // // <li> deliverFlag // 按照【投递状态】进行过滤。 // 类型:String // 必选:否 // 可选值: "1":未启用, "2": 已启用, "3":投递异常</li> // // 每次请求的Filters的上限为10,Filter.Values的上限为5。 Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` // 分页的偏移量,默认值为0。 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 分页单页限制数目,默认值为20,最大值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 ¶ added in v1.0.426
type DescribeAlarmNoticesResponseParams struct { // 告警通知模板列表。 // 注意:此字段可能返回 null,表示取不到有效值。 AlarmNotices []*AlarmNotice `json:"AlarmNotices,omitnil,omitempty" name:"AlarmNotices"` // 符合条件的告警通知模板总数。 TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeAlarmShieldsRequest ¶ added in v1.0.854
type DescribeAlarmShieldsRequest struct { *tchttp.BaseRequest // 通知渠道组id。 AlarmNoticeId *string `json:"AlarmNoticeId,omitnil,omitempty" name:"AlarmNoticeId"` // - taskId:按照【规则id】进行过滤。类型:String 必选:否 // - status:按照【规则状态】进行过滤。类型:String。 支持 0:暂未生效,1:生效中,2:已失效。 必选:否 // 每次请求的Filters的上限为10,Filter.Values的上限为100。 Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` // 分页的偏移量,默认值为0。 Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 分页单页限制数目,默认值为20,最大值100。 Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` }
func NewDescribeAlarmShieldsRequest ¶ added in v1.0.854
func NewDescribeAlarmShieldsRequest() (request *DescribeAlarmShieldsRequest)
func (*DescribeAlarmShieldsRequest) FromJsonString ¶ added in v1.0.854
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 ¶ added in v1.0.854
func (r *DescribeAlarmShieldsRequest) ToJsonString() string
type DescribeAlarmShieldsRequestParams ¶ added in v1.0.854
type DescribeAlarmShieldsRequestParams struct { // 通知渠道组id。 AlarmNoticeId *string `json:"AlarmNoticeId,omitnil,omitempty" name:"AlarmNoticeId"` // - taskId:按照【规则id】进行过滤。类型:String 必选:否 // - status:按照【规则状态】进行过滤。类型:String。 支持 0:暂未生效,1:生效中,2:已失效。 必选:否 // 每次请求的Filters的上限为10,Filter.Values的上限为100。 Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` // 分页的偏移量,默认值为0。 Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 分页单页限制数目,默认值为20,最大值100。 Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` }
Predefined struct for user
type DescribeAlarmShieldsResponse ¶ added in v1.0.854
type DescribeAlarmShieldsResponse struct { *tchttp.BaseResponse Response *DescribeAlarmShieldsResponseParams `json:"Response"` }
func NewDescribeAlarmShieldsResponse ¶ added in v1.0.854
func NewDescribeAlarmShieldsResponse() (response *DescribeAlarmShieldsResponse)
func (*DescribeAlarmShieldsResponse) FromJsonString ¶ added in v1.0.854
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 ¶ added in v1.0.854
func (r *DescribeAlarmShieldsResponse) ToJsonString() string
type DescribeAlarmShieldsResponseParams ¶ added in v1.0.854
type DescribeAlarmShieldsResponseParams struct { // 符合条件的规则总数目 TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // 告警屏蔽规则详情 AlarmShields []*AlarmShieldInfo `json:"AlarmShields,omitnil,omitempty" name:"AlarmShields"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeAlarmsRequest ¶
type DescribeAlarmsRequest struct { *tchttp.BaseRequest // name // - 按照【告警策略名称】进行过滤。 // - 类型:String // - 必选:否 // // alarmId // - 按照【告警策略ID】进行过滤。 // - 类型:String // - 必选:否 // // topicId // - 按照【监控对象的日志主题ID】进行过滤。 // - 类型:String // - 必选:否 // // enable // - 按照【启用状态】进行过滤。 // - 类型:String // - 备注:enable参数值范围: 1, t, T, TRUE, true, True, 0, f, F, FALSE, false, False。 其它值将返回参数错误信息. // - 必选:否 // // 每次请求的Filters的上限为10,Filter.Values的上限为5。 Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` // 分页的偏移量,默认值为0。 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 分页单页限制数目,默认值为20,最大值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 ¶ added in v1.0.426
type DescribeAlarmsRequestParams struct { // name // - 按照【告警策略名称】进行过滤。 // - 类型:String // - 必选:否 // // alarmId // - 按照【告警策略ID】进行过滤。 // - 类型:String // - 必选:否 // // topicId // - 按照【监控对象的日志主题ID】进行过滤。 // - 类型:String // - 必选:否 // // enable // - 按照【启用状态】进行过滤。 // - 类型:String // - 备注:enable参数值范围: 1, t, T, TRUE, true, True, 0, f, F, FALSE, false, False。 其它值将返回参数错误信息. // - 必选:否 // // 每次请求的Filters的上限为10,Filter.Values的上限为5。 Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` // 分页的偏移量,默认值为0。 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 分页单页限制数目,默认值为20,最大值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 ¶ added in v1.0.426
type DescribeAlarmsResponseParams struct { // 告警策略列表。 Alarms []*AlarmInfo `json:"Alarms,omitnil,omitempty" name:"Alarms"` // 符合查询条件的告警策略数目。 TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeAlertRecordHistoryRequest ¶ added in v1.0.641
type DescribeAlertRecordHistoryRequest struct { *tchttp.BaseRequest // 查询时间范围启始时间,毫秒级unix时间戳 From *uint64 `json:"From,omitnil,omitempty" name:"From"` // 查询时间范围结束时间,毫秒级unix时间戳 To *uint64 `json:"To,omitnil,omitempty" name:"To"` // 分页的偏移量,默认值为0。 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 分页单页限制数目,最大值100。 Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // - alertId:按照告警策略ID进行过滤。类型:String 必选:否 // - topicId:按照监控对象ID进行过滤。类型:String 必选:否 // - status:按照告警状态进行过滤。类型:String 必选:否,0代表未恢复,1代表已恢复,2代表已失效 // - alarmLevel:按照告警等级进行过滤。类型:String 必选:否,0代表警告,1代表提醒,2代表紧急 // // 每次请求的Filters的上限为10,Filter.Values的上限为100。 Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` }
func NewDescribeAlertRecordHistoryRequest ¶ added in v1.0.641
func NewDescribeAlertRecordHistoryRequest() (request *DescribeAlertRecordHistoryRequest)
func (*DescribeAlertRecordHistoryRequest) FromJsonString ¶ added in v1.0.641
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 ¶ added in v1.0.641
func (r *DescribeAlertRecordHistoryRequest) ToJsonString() string
type DescribeAlertRecordHistoryRequestParams ¶ added in v1.0.641
type DescribeAlertRecordHistoryRequestParams struct { // 查询时间范围启始时间,毫秒级unix时间戳 From *uint64 `json:"From,omitnil,omitempty" name:"From"` // 查询时间范围结束时间,毫秒级unix时间戳 To *uint64 `json:"To,omitnil,omitempty" name:"To"` // 分页的偏移量,默认值为0。 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 分页单页限制数目,最大值100。 Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // - alertId:按照告警策略ID进行过滤。类型:String 必选:否 // - topicId:按照监控对象ID进行过滤。类型:String 必选:否 // - status:按照告警状态进行过滤。类型:String 必选:否,0代表未恢复,1代表已恢复,2代表已失效 // - alarmLevel:按照告警等级进行过滤。类型:String 必选:否,0代表警告,1代表提醒,2代表紧急 // // 每次请求的Filters的上限为10,Filter.Values的上限为100。 Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` }
Predefined struct for user
type DescribeAlertRecordHistoryResponse ¶ added in v1.0.641
type DescribeAlertRecordHistoryResponse struct { *tchttp.BaseResponse Response *DescribeAlertRecordHistoryResponseParams `json:"Response"` }
func NewDescribeAlertRecordHistoryResponse ¶ added in v1.0.641
func NewDescribeAlertRecordHistoryResponse() (response *DescribeAlertRecordHistoryResponse)
func (*DescribeAlertRecordHistoryResponse) FromJsonString ¶ added in v1.0.641
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 ¶ added in v1.0.641
func (r *DescribeAlertRecordHistoryResponse) ToJsonString() string
type DescribeAlertRecordHistoryResponseParams ¶ added in v1.0.641
type DescribeAlertRecordHistoryResponseParams struct { // 告警历史总数 TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // 告警历史详情 Records []*AlertHistoryRecord `json:"Records,omitnil,omitempty" name:"Records"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeConfigExtrasRequest ¶ added in v1.0.365
type DescribeConfigExtrasRequest struct { *tchttp.BaseRequest // 过滤器,支持如下选项: // name // - 按照【特殊采集配置名称】进行模糊匹配过滤。 // - 类型:String // // configExtraId // - 按照【特殊采集配置ID】进行过滤。 // - 类型:String // // topicId // - 按照【日志主题】进行过滤。 // - 类型:String // // machineGroupId // - 按照【机器组ID】进行过滤。 // - 类型:String // // 每次请求的Filters的上限为10,Filter.Values的上限为5。 Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` // 分页的偏移量,默认值为0 Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 分页单页的限制数目,默认值为20,最大值100 Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` }
func NewDescribeConfigExtrasRequest ¶ added in v1.0.365
func NewDescribeConfigExtrasRequest() (request *DescribeConfigExtrasRequest)
func (*DescribeConfigExtrasRequest) FromJsonString ¶ added in v1.0.365
func (r *DescribeConfigExtrasRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeConfigExtrasRequest) ToJsonString ¶ added in v1.0.365
func (r *DescribeConfigExtrasRequest) ToJsonString() string
type DescribeConfigExtrasRequestParams ¶ added in v1.0.426
type DescribeConfigExtrasRequestParams struct { // 过滤器,支持如下选项: // name // - 按照【特殊采集配置名称】进行模糊匹配过滤。 // - 类型:String // // configExtraId // - 按照【特殊采集配置ID】进行过滤。 // - 类型:String // // topicId // - 按照【日志主题】进行过滤。 // - 类型:String // // machineGroupId // - 按照【机器组ID】进行过滤。 // - 类型:String // // 每次请求的Filters的上限为10,Filter.Values的上限为5。 Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` // 分页的偏移量,默认值为0 Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 分页单页的限制数目,默认值为20,最大值100 Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` }
Predefined struct for user
type DescribeConfigExtrasResponse ¶ added in v1.0.365
type DescribeConfigExtrasResponse struct { *tchttp.BaseResponse Response *DescribeConfigExtrasResponseParams `json:"Response"` }
func NewDescribeConfigExtrasResponse ¶ added in v1.0.365
func NewDescribeConfigExtrasResponse() (response *DescribeConfigExtrasResponse)
func (*DescribeConfigExtrasResponse) FromJsonString ¶ added in v1.0.365
func (r *DescribeConfigExtrasResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeConfigExtrasResponse) ToJsonString ¶ added in v1.0.365
func (r *DescribeConfigExtrasResponse) ToJsonString() string
type DescribeConfigExtrasResponseParams ¶ added in v1.0.426
type DescribeConfigExtrasResponseParams struct { // 采集配置列表 // 注意:此字段可能返回 null,表示取不到有效值。 Configs []*ConfigExtraInfo `json:"Configs,omitnil,omitempty" name:"Configs"` // 过滤到的总数目 TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeConfigMachineGroupsRequest ¶ added in v1.0.209
type DescribeConfigMachineGroupsRequest struct { *tchttp.BaseRequest // 采集配置ID ConfigId *string `json:"ConfigId,omitnil,omitempty" name:"ConfigId"` }
func NewDescribeConfigMachineGroupsRequest ¶ added in v1.0.209
func NewDescribeConfigMachineGroupsRequest() (request *DescribeConfigMachineGroupsRequest)
func (*DescribeConfigMachineGroupsRequest) FromJsonString ¶ added in v1.0.209
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 ¶ added in v1.0.209
func (r *DescribeConfigMachineGroupsRequest) ToJsonString() string
type DescribeConfigMachineGroupsRequestParams ¶ added in v1.0.426
type DescribeConfigMachineGroupsRequestParams struct { // 采集配置ID ConfigId *string `json:"ConfigId,omitnil,omitempty" name:"ConfigId"` }
Predefined struct for user
type DescribeConfigMachineGroupsResponse ¶ added in v1.0.209
type DescribeConfigMachineGroupsResponse struct { *tchttp.BaseResponse Response *DescribeConfigMachineGroupsResponseParams `json:"Response"` }
func NewDescribeConfigMachineGroupsResponse ¶ added in v1.0.209
func NewDescribeConfigMachineGroupsResponse() (response *DescribeConfigMachineGroupsResponse)
func (*DescribeConfigMachineGroupsResponse) FromJsonString ¶ added in v1.0.209
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 ¶ added in v1.0.209
func (r *DescribeConfigMachineGroupsResponse) ToJsonString() string
type DescribeConfigMachineGroupsResponseParams ¶ added in v1.0.426
type DescribeConfigMachineGroupsResponseParams struct { // 采集规则配置绑定的机器组列表 // 注意:此字段可能返回 null,表示取不到有效值。 MachineGroups []*MachineGroupInfo `json:"MachineGroups,omitnil,omitempty" name:"MachineGroups"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeConfigsRequest ¶ added in v1.0.209
type DescribeConfigsRequest struct { *tchttp.BaseRequest // configName // - 按照【采集配置名称】进行模糊匹配过滤。 // - 类型:String // - 必选:否 // // configId // - 按照【采集配置ID】进行过滤。 // - 类型:String // - 必选:否 // // topicId // - 按照【日志主题】进行过滤。 // - 类型:String // - 必选:否 // // 每次请求的Filters的上限为10,Filter.Values的上限为5。 Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` // 分页的偏移量,默认值为0 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 分页单页的限制数目,默认值为20,最大值100 Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` }
func NewDescribeConfigsRequest ¶ added in v1.0.209
func NewDescribeConfigsRequest() (request *DescribeConfigsRequest)
func (*DescribeConfigsRequest) FromJsonString ¶ added in v1.0.209
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 ¶ added in v1.0.209
func (r *DescribeConfigsRequest) ToJsonString() string
type DescribeConfigsRequestParams ¶ added in v1.0.426
type DescribeConfigsRequestParams struct { // configName // - 按照【采集配置名称】进行模糊匹配过滤。 // - 类型:String // - 必选:否 // // configId // - 按照【采集配置ID】进行过滤。 // - 类型:String // - 必选:否 // // topicId // - 按照【日志主题】进行过滤。 // - 类型:String // - 必选:否 // // 每次请求的Filters的上限为10,Filter.Values的上限为5。 Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` // 分页的偏移量,默认值为0 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 分页单页的限制数目,默认值为20,最大值100 Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` }
Predefined struct for user
type DescribeConfigsResponse ¶ added in v1.0.209
type DescribeConfigsResponse struct { *tchttp.BaseResponse Response *DescribeConfigsResponseParams `json:"Response"` }
func NewDescribeConfigsResponse ¶ added in v1.0.209
func NewDescribeConfigsResponse() (response *DescribeConfigsResponse)
func (*DescribeConfigsResponse) FromJsonString ¶ added in v1.0.209
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 ¶ added in v1.0.209
func (r *DescribeConfigsResponse) ToJsonString() string
type DescribeConfigsResponseParams ¶ added in v1.0.426
type DescribeConfigsResponseParams struct { // 采集配置列表 // 注意:此字段可能返回 null,表示取不到有效值。 Configs []*ConfigInfo `json:"Configs,omitnil,omitempty" name:"Configs"` // 过滤到的总数目 TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeConsumerRequest ¶ added in v1.0.315
type DescribeConsumerRequest struct { *tchttp.BaseRequest // 投递任务绑定的日志主题 ID TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"` }
func NewDescribeConsumerRequest ¶ added in v1.0.315
func NewDescribeConsumerRequest() (request *DescribeConsumerRequest)
func (*DescribeConsumerRequest) FromJsonString ¶ added in v1.0.315
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 ¶ added in v1.0.315
func (r *DescribeConsumerRequest) ToJsonString() string
type DescribeConsumerRequestParams ¶ added in v1.0.426
type DescribeConsumerRequestParams struct { // 投递任务绑定的日志主题 ID TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"` }
Predefined struct for user
type DescribeConsumerResponse ¶ added in v1.0.315
type DescribeConsumerResponse struct { *tchttp.BaseResponse Response *DescribeConsumerResponseParams `json:"Response"` }
func NewDescribeConsumerResponse ¶ added in v1.0.315
func NewDescribeConsumerResponse() (response *DescribeConsumerResponse)
func (*DescribeConsumerResponse) FromJsonString ¶ added in v1.0.315
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 ¶ added in v1.0.315
func (r *DescribeConsumerResponse) ToJsonString() string
type DescribeConsumerResponseParams ¶ added in v1.0.426
type DescribeConsumerResponseParams struct { // 投递任务是否生效 Effective *bool `json:"Effective,omitnil,omitempty" name:"Effective"` // 是否投递日志的元数据信息 NeedContent *bool `json:"NeedContent,omitnil,omitempty" name:"NeedContent"` // 如果需要投递元数据信息,元数据信息的描述 // 注意:此字段可能返回 null,表示取不到有效值。 Content *ConsumerContent `json:"Content,omitnil,omitempty" name:"Content"` // CKafka的描述 Ckafka *Ckafka `json:"Ckafka,omitnil,omitempty" name:"Ckafka"` // 压缩方式[0:NONE;2:SNAPPY;3:LZ4] // 注意:此字段可能返回 null,表示取不到有效值。 Compression *int64 `json:"Compression,omitnil,omitempty" name:"Compression"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeCosRechargesRequest ¶ added in v1.0.613
type DescribeCosRechargesRequest struct { *tchttp.BaseRequest // 日志主题 ID TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"` // 状态 status 0: 已创建, 1: 运行中, 2: 已停止, 3: 已完成, 4: 运行失败。 Status *uint64 `json:"Status,omitnil,omitempty" name:"Status"` // 是否启用: 0: 未启用 , 1:启用 Enable *uint64 `json:"Enable,omitnil,omitempty" name:"Enable"` }
func NewDescribeCosRechargesRequest ¶ added in v1.0.613
func NewDescribeCosRechargesRequest() (request *DescribeCosRechargesRequest)
func (*DescribeCosRechargesRequest) FromJsonString ¶ added in v1.0.613
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 ¶ added in v1.0.613
func (r *DescribeCosRechargesRequest) ToJsonString() string
type DescribeCosRechargesRequestParams ¶ added in v1.0.613
type DescribeCosRechargesRequestParams struct { // 日志主题 ID TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"` // 状态 status 0: 已创建, 1: 运行中, 2: 已停止, 3: 已完成, 4: 运行失败。 Status *uint64 `json:"Status,omitnil,omitempty" name:"Status"` // 是否启用: 0: 未启用 , 1:启用 Enable *uint64 `json:"Enable,omitnil,omitempty" name:"Enable"` }
Predefined struct for user
type DescribeCosRechargesResponse ¶ added in v1.0.613
type DescribeCosRechargesResponse struct { *tchttp.BaseResponse Response *DescribeCosRechargesResponseParams `json:"Response"` }
func NewDescribeCosRechargesResponse ¶ added in v1.0.613
func NewDescribeCosRechargesResponse() (response *DescribeCosRechargesResponse)
func (*DescribeCosRechargesResponse) FromJsonString ¶ added in v1.0.613
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 ¶ added in v1.0.613
func (r *DescribeCosRechargesResponse) ToJsonString() string
type DescribeCosRechargesResponseParams ¶ added in v1.0.613
type DescribeCosRechargesResponseParams struct { // 见: CosRechargeInfo 结构描述 // 注意:此字段可能返回 null,表示取不到有效值。 Data []*CosRechargeInfo `json:"Data,omitnil,omitempty" name:"Data"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeDashboardSubscribesRequest ¶ added in v1.0.912
type DescribeDashboardSubscribesRequest struct {
*tchttp.BaseRequest
}
func NewDescribeDashboardSubscribesRequest ¶ added in v1.0.912
func NewDescribeDashboardSubscribesRequest() (request *DescribeDashboardSubscribesRequest)
func (*DescribeDashboardSubscribesRequest) FromJsonString ¶ added in v1.0.912
func (r *DescribeDashboardSubscribesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDashboardSubscribesRequest) ToJsonString ¶ added in v1.0.912
func (r *DescribeDashboardSubscribesRequest) ToJsonString() string
type DescribeDashboardSubscribesRequestParams ¶ added in v1.0.912
type DescribeDashboardSubscribesRequestParams struct { }
Predefined struct for user
type DescribeDashboardSubscribesResponse ¶ added in v1.0.912
type DescribeDashboardSubscribesResponse struct { *tchttp.BaseResponse Response *DescribeDashboardSubscribesResponseParams `json:"Response"` }
func NewDescribeDashboardSubscribesResponse ¶ added in v1.0.912
func NewDescribeDashboardSubscribesResponse() (response *DescribeDashboardSubscribesResponse)
func (*DescribeDashboardSubscribesResponse) FromJsonString ¶ added in v1.0.912
func (r *DescribeDashboardSubscribesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDashboardSubscribesResponse) ToJsonString ¶ added in v1.0.912
func (r *DescribeDashboardSubscribesResponse) ToJsonString() string
type DescribeDashboardSubscribesResponseParams ¶ added in v1.0.912
type DescribeDashboardSubscribesResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeDashboardsRequest ¶ added in v1.0.710
type DescribeDashboardsRequest struct { *tchttp.BaseRequest // 分页的偏移量,默认值为0。 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 分页单页限制数目,默认值为20,最大值100。 Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // - dashboardId 按照【仪表盘id】进行过滤,类型:String, 必选:否。 // - dashboardName 按照【仪表盘名字】进行模糊搜索过滤,类型:String,必选:否。 // - dashboardRegion 按照【仪表盘地域】进行过滤,为了兼容老的仪表盘,通过云API创建的仪表盘没有地域属性,类型:String,必选:否。 // - tagKey 按照【标签键】进行过滤,类型:String,必选:否。 // - tag:tagKey 按照【标签键值对】进行过滤。tagKey使用具体的标签键进行替换,类型:String,必选:否,使用请参考[示例2](https://cloud.tencent.com/document/api/614/95636#4.-.E7.A4.BA.E4.BE.8B)。 // // 每次请求的Filters的上限为10,Filter.Values的上限为100。 Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` // 按照topicId和regionId过滤。 TopicIdRegionFilter []*TopicIdAndRegion `json:"TopicIdRegionFilter,omitnil,omitempty" name:"TopicIdRegionFilter"` }
func NewDescribeDashboardsRequest ¶ added in v1.0.710
func NewDescribeDashboardsRequest() (request *DescribeDashboardsRequest)
func (*DescribeDashboardsRequest) FromJsonString ¶ added in v1.0.710
func (r *DescribeDashboardsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDashboardsRequest) ToJsonString ¶ added in v1.0.710
func (r *DescribeDashboardsRequest) ToJsonString() string
type DescribeDashboardsRequestParams ¶ added in v1.0.710
type DescribeDashboardsRequestParams struct { // 分页的偏移量,默认值为0。 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 分页单页限制数目,默认值为20,最大值100。 Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // - dashboardId 按照【仪表盘id】进行过滤,类型:String, 必选:否。 // - dashboardName 按照【仪表盘名字】进行模糊搜索过滤,类型:String,必选:否。 // - dashboardRegion 按照【仪表盘地域】进行过滤,为了兼容老的仪表盘,通过云API创建的仪表盘没有地域属性,类型:String,必选:否。 // - tagKey 按照【标签键】进行过滤,类型:String,必选:否。 // - tag:tagKey 按照【标签键值对】进行过滤。tagKey使用具体的标签键进行替换,类型:String,必选:否,使用请参考[示例2](https://cloud.tencent.com/document/api/614/95636#4.-.E7.A4.BA.E4.BE.8B)。 // // 每次请求的Filters的上限为10,Filter.Values的上限为100。 Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` // 按照topicId和regionId过滤。 TopicIdRegionFilter []*TopicIdAndRegion `json:"TopicIdRegionFilter,omitnil,omitempty" name:"TopicIdRegionFilter"` }
Predefined struct for user
type DescribeDashboardsResponse ¶ added in v1.0.710
type DescribeDashboardsResponse struct { *tchttp.BaseResponse Response *DescribeDashboardsResponseParams `json:"Response"` }
func NewDescribeDashboardsResponse ¶ added in v1.0.710
func NewDescribeDashboardsResponse() (response *DescribeDashboardsResponse)
func (*DescribeDashboardsResponse) FromJsonString ¶ added in v1.0.710
func (r *DescribeDashboardsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDashboardsResponse) ToJsonString ¶ added in v1.0.710
func (r *DescribeDashboardsResponse) ToJsonString() string
type DescribeDashboardsResponseParams ¶ added in v1.0.710
type DescribeDashboardsResponseParams struct { // 仪表盘的数量 TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // 仪表盘详细明细 DashboardInfos []*DashboardInfo `json:"DashboardInfos,omitnil,omitempty" name:"DashboardInfos"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeDataTransformInfoRequest ¶ added in v1.0.380
type DescribeDataTransformInfoRequest struct { *tchttp.BaseRequest // <br><li> taskName // // 按照【加工任务名称】进行过滤。 // 类型:String // // 必选:否 // // <br><li> taskId // // 按照【加工任务id】进行过滤。 // 类型:String // // 必选:否 // // <br><li> topicId // // 按照【源topicId】进行过滤。 // 类型:String // // 必选:否 // // 每次请求的Filters的上限为10,Filter.Values的上限为100。 Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` // 分页的偏移量,默认值为0。 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 分页单页限制数目,默认值为20,最大值100。 Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // 默认值为2. 1: 获取单个任务的详细信息 2:获取任务列表 Type *int64 `json:"Type,omitnil,omitempty" name:"Type"` // Type为1, 此参数必填 TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"` }
func NewDescribeDataTransformInfoRequest ¶ added in v1.0.380
func NewDescribeDataTransformInfoRequest() (request *DescribeDataTransformInfoRequest)
func (*DescribeDataTransformInfoRequest) FromJsonString ¶ added in v1.0.380
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 ¶ added in v1.0.380
func (r *DescribeDataTransformInfoRequest) ToJsonString() string
type DescribeDataTransformInfoRequestParams ¶ added in v1.0.426
type DescribeDataTransformInfoRequestParams struct { // <br><li> taskName // // 按照【加工任务名称】进行过滤。 // 类型:String // // 必选:否 // // <br><li> taskId // // 按照【加工任务id】进行过滤。 // 类型:String // // 必选:否 // // <br><li> topicId // // 按照【源topicId】进行过滤。 // 类型:String // // 必选:否 // // 每次请求的Filters的上限为10,Filter.Values的上限为100。 Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` // 分页的偏移量,默认值为0。 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 分页单页限制数目,默认值为20,最大值100。 Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // 默认值为2. 1: 获取单个任务的详细信息 2:获取任务列表 Type *int64 `json:"Type,omitnil,omitempty" name:"Type"` // Type为1, 此参数必填 TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"` }
Predefined struct for user
type DescribeDataTransformInfoResponse ¶ added in v1.0.380
type DescribeDataTransformInfoResponse struct { *tchttp.BaseResponse Response *DescribeDataTransformInfoResponseParams `json:"Response"` }
func NewDescribeDataTransformInfoResponse ¶ added in v1.0.380
func NewDescribeDataTransformInfoResponse() (response *DescribeDataTransformInfoResponse)
func (*DescribeDataTransformInfoResponse) FromJsonString ¶ added in v1.0.380
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 ¶ added in v1.0.380
func (r *DescribeDataTransformInfoResponse) ToJsonString() string
type DescribeDataTransformInfoResponseParams ¶ added in v1.0.426
type DescribeDataTransformInfoResponseParams struct { // 数据加工任务列表信息 DataTransformTaskInfos []*DataTransformTaskInfo `json:"DataTransformTaskInfos,omitnil,omitempty" name:"DataTransformTaskInfos"` // 任务总次数 TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeExportsRequest ¶
type DescribeExportsRequest struct { *tchttp.BaseRequest // 日志主题ID TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"` // 分页的偏移量,默认值为0 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 分页单页限制数目,默认值为20,最大值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 ¶ added in v1.0.426
type DescribeExportsRequestParams struct { // 日志主题ID TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"` // 分页的偏移量,默认值为0 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 分页单页限制数目,默认值为20,最大值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 ¶ added in v1.0.426
type DescribeExportsResponseParams struct { // 日志导出列表 Exports []*ExportInfo `json:"Exports,omitnil,omitempty" name:"Exports"` // 总数目 TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeIndexRequest ¶
type DescribeIndexRequest struct { *tchttp.BaseRequest // 日志主题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 ¶ added in v1.0.426
type DescribeIndexRequestParams struct { // 日志主题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 ¶ added in v1.0.426
type DescribeIndexResponseParams struct { // 日志主题ID TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"` // 是否生效 Status *bool `json:"Status,omitnil,omitempty" name:"Status"` // 索引配置信息 // 注意:此字段可能返回 null,表示取不到有效值。 Rule *RuleInfo `json:"Rule,omitnil,omitempty" name:"Rule"` // 索引修改时间,初始值为索引创建时间。 ModifyTime *string `json:"ModifyTime,omitnil,omitempty" name:"ModifyTime"` // 内置保留字段(`__FILENAME__`,`__HOSTNAME__`及`__SOURCE__`)是否包含至全文索引 // * false:不包含 // * true:包含 // 注意:此字段可能返回 null,表示取不到有效值。 IncludeInternalFields *bool `json:"IncludeInternalFields,omitnil,omitempty" name:"IncludeInternalFields"` // 元数据字段(前缀为`__TAG__`的字段)是否包含至全文索引 // * 0:仅包含开启键值索引的元数据字段 // * 1:包含所有元数据字段 // * 2:不包含任何元数据字段 // 注意:此字段可能返回 null,表示取不到有效值。 MetadataFlag *uint64 `json:"MetadataFlag,omitnil,omitempty" name:"MetadataFlag"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeKafkaConsumerRequest ¶ added in v1.0.712
type DescribeKafkaConsumerRequest struct { *tchttp.BaseRequest // 日志主题ID FromTopicId *string `json:"FromTopicId,omitnil,omitempty" name:"FromTopicId"` }
func NewDescribeKafkaConsumerRequest ¶ added in v1.0.712
func NewDescribeKafkaConsumerRequest() (request *DescribeKafkaConsumerRequest)
func (*DescribeKafkaConsumerRequest) FromJsonString ¶ added in v1.0.712
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 ¶ added in v1.0.712
func (r *DescribeKafkaConsumerRequest) ToJsonString() string
type DescribeKafkaConsumerRequestParams ¶ added in v1.0.712
type DescribeKafkaConsumerRequestParams struct { // 日志主题ID FromTopicId *string `json:"FromTopicId,omitnil,omitempty" name:"FromTopicId"` }
Predefined struct for user
type DescribeKafkaConsumerResponse ¶ added in v1.0.712
type DescribeKafkaConsumerResponse struct { *tchttp.BaseResponse Response *DescribeKafkaConsumerResponseParams `json:"Response"` }
func NewDescribeKafkaConsumerResponse ¶ added in v1.0.712
func NewDescribeKafkaConsumerResponse() (response *DescribeKafkaConsumerResponse)
func (*DescribeKafkaConsumerResponse) FromJsonString ¶ added in v1.0.712
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 ¶ added in v1.0.712
func (r *DescribeKafkaConsumerResponse) ToJsonString() string
type DescribeKafkaConsumerResponseParams ¶ added in v1.0.712
type DescribeKafkaConsumerResponseParams struct { // Kafka协议消费是否打开 Status *bool `json:"Status,omitnil,omitempty" name:"Status"` // KafkaConsumer 消费时使用的Topic参数 TopicID *string `json:"TopicID,omitnil,omitempty" name:"TopicID"` // 压缩方式[0:NONE;2:SNAPPY;3:LZ4] Compression *int64 `json:"Compression,omitnil,omitempty" name:"Compression"` // kafka协议消费数据格式 ConsumerContent *KafkaConsumerContent `json:"ConsumerContent,omitnil,omitempty" name:"ConsumerContent"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeKafkaRechargesRequest ¶ added in v1.0.693
type DescribeKafkaRechargesRequest struct { *tchttp.BaseRequest // 日志主题 ID TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"` // 导入配置ID Id *string `json:"Id,omitnil,omitempty" name:"Id"` // 状态 status 1: 运行中, 2: 暂停... Status *uint64 `json:"Status,omitnil,omitempty" name:"Status"` }
func NewDescribeKafkaRechargesRequest ¶ added in v1.0.693
func NewDescribeKafkaRechargesRequest() (request *DescribeKafkaRechargesRequest)
func (*DescribeKafkaRechargesRequest) FromJsonString ¶ added in v1.0.693
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 ¶ added in v1.0.693
func (r *DescribeKafkaRechargesRequest) ToJsonString() string
type DescribeKafkaRechargesRequestParams ¶ added in v1.0.693
type DescribeKafkaRechargesRequestParams struct { // 日志主题 ID TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"` // 导入配置ID Id *string `json:"Id,omitnil,omitempty" name:"Id"` // 状态 status 1: 运行中, 2: 暂停... Status *uint64 `json:"Status,omitnil,omitempty" name:"Status"` }
Predefined struct for user
type DescribeKafkaRechargesResponse ¶ added in v1.0.693
type DescribeKafkaRechargesResponse struct { *tchttp.BaseResponse Response *DescribeKafkaRechargesResponseParams `json:"Response"` }
func NewDescribeKafkaRechargesResponse ¶ added in v1.0.693
func NewDescribeKafkaRechargesResponse() (response *DescribeKafkaRechargesResponse)
func (*DescribeKafkaRechargesResponse) FromJsonString ¶ added in v1.0.693
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 ¶ added in v1.0.693
func (r *DescribeKafkaRechargesResponse) ToJsonString() string
type DescribeKafkaRechargesResponseParams ¶ added in v1.0.693
type DescribeKafkaRechargesResponseParams struct { // KafkaRechargeInfo 信息列表 Infos []*KafkaRechargeInfo `json:"Infos,omitnil,omitempty" name:"Infos"` // Kafka导入信息总条数 TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeLogContextRequest ¶
type DescribeLogContextRequest struct { *tchttp.BaseRequest // 要查询的日志主题ID TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"` // 日志时间, 需按照 UTC+8 时区将日志中的Unix时间戳转换为 YYYY-mm-dd HH:MM:SS.FFF 格式的字符串。 BTime *string `json:"BTime,omitnil,omitempty" name:"BTime"` // 日志包序号。SearchLog接口返回信息中Results结构体中的PkgId。 PkgId *string `json:"PkgId,omitnil,omitempty" name:"PkgId"` // 日志包内一条日志的序号。 // SearchLog接口返回信息中Results结构中的PkgLogId。 PkgLogId *int64 `json:"PkgLogId,omitnil,omitempty" name:"PkgLogId"` // 前${PrevLogs}条日志,默认值10。 PrevLogs *int64 `json:"PrevLogs,omitnil,omitempty" name:"PrevLogs"` // 后${NextLogs}条日志,默认值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 ¶ added in v1.0.426
type DescribeLogContextRequestParams struct { // 要查询的日志主题ID TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"` // 日志时间, 需按照 UTC+8 时区将日志中的Unix时间戳转换为 YYYY-mm-dd HH:MM:SS.FFF 格式的字符串。 BTime *string `json:"BTime,omitnil,omitempty" name:"BTime"` // 日志包序号。SearchLog接口返回信息中Results结构体中的PkgId。 PkgId *string `json:"PkgId,omitnil,omitempty" name:"PkgId"` // 日志包内一条日志的序号。 // SearchLog接口返回信息中Results结构中的PkgLogId。 PkgLogId *int64 `json:"PkgLogId,omitnil,omitempty" name:"PkgLogId"` // 前${PrevLogs}条日志,默认值10。 PrevLogs *int64 `json:"PrevLogs,omitnil,omitempty" name:"PrevLogs"` // 后${NextLogs}条日志,默认值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 ¶ added in v1.0.426
type DescribeLogContextResponseParams struct { // 日志上下文信息集合 LogContextInfos []*LogContextInfo `json:"LogContextInfos,omitnil,omitempty" name:"LogContextInfos"` // 上文日志是否已经返回完成(当PrevOver为false,表示有上文日志还未全部返回)。 PrevOver *bool `json:"PrevOver,omitnil,omitempty" name:"PrevOver"` // 下文日志是否已经返回完成(当NextOver为false,表示有下文日志还未全部返回)。 NextOver *bool `json:"NextOver,omitnil,omitempty" name:"NextOver"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeLogHistogramRequest ¶ added in v1.0.375
type DescribeLogHistogramRequest struct { *tchttp.BaseRequest // 要查询的日志的起始时间,Unix时间戳,单位ms From *int64 `json:"From,omitnil,omitempty" name:"From"` // 要查询的日志的结束时间,Unix时间戳,单位ms To *int64 `json:"To,omitnil,omitempty" name:"To"` // 查询语句 Query *string `json:"Query,omitnil,omitempty" name:"Query"` // 要查询的日志主题ID TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"` // 时间间隔: 单位ms 限制性条件:(To-From) / interval <= 200 Interval *int64 `json:"Interval,omitnil,omitempty" name:"Interval"` // 检索语法规则,默认值为0。 // 0:Lucene语法,1:CQL语法。 // 详细说明参见<a href="https://cloud.tencent.com/document/product/614/47044#RetrievesConditionalRules" target="_blank">检索条件语法规则</a> SyntaxRule *uint64 `json:"SyntaxRule,omitnil,omitempty" name:"SyntaxRule"` }
func NewDescribeLogHistogramRequest ¶ added in v1.0.375
func NewDescribeLogHistogramRequest() (request *DescribeLogHistogramRequest)
func (*DescribeLogHistogramRequest) FromJsonString ¶ added in v1.0.375
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 ¶ added in v1.0.375
func (r *DescribeLogHistogramRequest) ToJsonString() string
type DescribeLogHistogramRequestParams ¶ added in v1.0.426
type DescribeLogHistogramRequestParams struct { // 要查询的日志的起始时间,Unix时间戳,单位ms From *int64 `json:"From,omitnil,omitempty" name:"From"` // 要查询的日志的结束时间,Unix时间戳,单位ms To *int64 `json:"To,omitnil,omitempty" name:"To"` // 查询语句 Query *string `json:"Query,omitnil,omitempty" name:"Query"` // 要查询的日志主题ID TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"` // 时间间隔: 单位ms 限制性条件:(To-From) / interval <= 200 Interval *int64 `json:"Interval,omitnil,omitempty" name:"Interval"` // 检索语法规则,默认值为0。 // 0:Lucene语法,1:CQL语法。 // 详细说明参见<a href="https://cloud.tencent.com/document/product/614/47044#RetrievesConditionalRules" target="_blank">检索条件语法规则</a> SyntaxRule *uint64 `json:"SyntaxRule,omitnil,omitempty" name:"SyntaxRule"` }
Predefined struct for user
type DescribeLogHistogramResponse ¶ added in v1.0.375
type DescribeLogHistogramResponse struct { *tchttp.BaseResponse Response *DescribeLogHistogramResponseParams `json:"Response"` }
func NewDescribeLogHistogramResponse ¶ added in v1.0.375
func NewDescribeLogHistogramResponse() (response *DescribeLogHistogramResponse)
func (*DescribeLogHistogramResponse) FromJsonString ¶ added in v1.0.375
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 ¶ added in v1.0.375
func (r *DescribeLogHistogramResponse) ToJsonString() string
type DescribeLogHistogramResponseParams ¶ added in v1.0.426
type DescribeLogHistogramResponseParams struct { // 统计周期: 单位ms Interval *int64 `json:"Interval,omitnil,omitempty" name:"Interval"` // 命中关键字的日志总条数 TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // 周期内统计结果详情 HistogramInfos []*HistogramInfo `json:"HistogramInfos,omitnil,omitempty" name:"HistogramInfos"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeLogsetsRequest ¶ added in v1.0.209
type DescribeLogsetsRequest struct { *tchttp.BaseRequest // logsetName // - 按照【日志集名称】进行过滤。 // - 类型:String // - 必选:否 // // logsetId // - 按照【日志集ID】进行过滤。 // - 类型:String // - 必选:否 // // tagKey // - 按照【标签键】进行过滤。 // - 类型:String // - 必选:否 // // tag:tagKey // - 按照【标签键值对】进行过滤。tagKey使用具体的标签键进行替换。 // - 类型:String // - 必选:否 // // 每次请求的Filters的上限为10,Filter.Values的上限为5。 Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` // 分页的偏移量,默认值为0 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 分页单页的限制数目,默认值为20,最大值100 Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` }
func NewDescribeLogsetsRequest ¶ added in v1.0.209
func NewDescribeLogsetsRequest() (request *DescribeLogsetsRequest)
func (*DescribeLogsetsRequest) FromJsonString ¶ added in v1.0.209
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 ¶ added in v1.0.209
func (r *DescribeLogsetsRequest) ToJsonString() string
type DescribeLogsetsRequestParams ¶ added in v1.0.426
type DescribeLogsetsRequestParams struct { // logsetName // - 按照【日志集名称】进行过滤。 // - 类型:String // - 必选:否 // // logsetId // - 按照【日志集ID】进行过滤。 // - 类型:String // - 必选:否 // // tagKey // - 按照【标签键】进行过滤。 // - 类型:String // - 必选:否 // // tag:tagKey // - 按照【标签键值对】进行过滤。tagKey使用具体的标签键进行替换。 // - 类型:String // - 必选:否 // // 每次请求的Filters的上限为10,Filter.Values的上限为5。 Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` // 分页的偏移量,默认值为0 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 分页单页的限制数目,默认值为20,最大值100 Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` }
Predefined struct for user
type DescribeLogsetsResponse ¶ added in v1.0.209
type DescribeLogsetsResponse struct { *tchttp.BaseResponse Response *DescribeLogsetsResponseParams `json:"Response"` }
func NewDescribeLogsetsResponse ¶ added in v1.0.209
func NewDescribeLogsetsResponse() (response *DescribeLogsetsResponse)
func (*DescribeLogsetsResponse) FromJsonString ¶ added in v1.0.209
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 ¶ added in v1.0.209
func (r *DescribeLogsetsResponse) ToJsonString() string
type DescribeLogsetsResponseParams ¶ added in v1.0.426
type DescribeLogsetsResponseParams struct { // 分页的总数目 TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // 日志集列表 Logsets []*LogsetInfo `json:"Logsets,omitnil,omitempty" name:"Logsets"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeMachineGroupConfigsRequest ¶ added in v1.0.209
type DescribeMachineGroupConfigsRequest struct { *tchttp.BaseRequest // 机器组ID GroupId *string `json:"GroupId,omitnil,omitempty" name:"GroupId"` }
func NewDescribeMachineGroupConfigsRequest ¶ added in v1.0.209
func NewDescribeMachineGroupConfigsRequest() (request *DescribeMachineGroupConfigsRequest)
func (*DescribeMachineGroupConfigsRequest) FromJsonString ¶ added in v1.0.209
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 ¶ added in v1.0.209
func (r *DescribeMachineGroupConfigsRequest) ToJsonString() string
type DescribeMachineGroupConfigsRequestParams ¶ added in v1.0.426
type DescribeMachineGroupConfigsRequestParams struct { // 机器组ID GroupId *string `json:"GroupId,omitnil,omitempty" name:"GroupId"` }
Predefined struct for user
type DescribeMachineGroupConfigsResponse ¶ added in v1.0.209
type DescribeMachineGroupConfigsResponse struct { *tchttp.BaseResponse Response *DescribeMachineGroupConfigsResponseParams `json:"Response"` }
func NewDescribeMachineGroupConfigsResponse ¶ added in v1.0.209
func NewDescribeMachineGroupConfigsResponse() (response *DescribeMachineGroupConfigsResponse)
func (*DescribeMachineGroupConfigsResponse) FromJsonString ¶ added in v1.0.209
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 ¶ added in v1.0.209
func (r *DescribeMachineGroupConfigsResponse) ToJsonString() string
type DescribeMachineGroupConfigsResponseParams ¶ added in v1.0.426
type DescribeMachineGroupConfigsResponseParams struct { // 采集规则配置列表 // 注意:此字段可能返回 null,表示取不到有效值。 Configs []*ConfigInfo `json:"Configs,omitnil,omitempty" name:"Configs"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeMachineGroupsRequest ¶
type DescribeMachineGroupsRequest struct { *tchttp.BaseRequest // machineGroupName // - 按照【机器组名称】进行过滤。 // - 类型:String // - 必选:否 // // machineGroupId // - 按照【机器组ID】进行过滤。 // - 类型:String // - 必选:否 // // osType // - 按照【操作系统类型】进行过滤。 // - 类型:Int // - 必选:否 // // tagKey // - 按照【标签键】进行过滤。 // - 类型:String // - 必选:否 // // tag:tagKey // - 按照【标签键值对】进行过滤。tagKey使用具体的标签键进行替换。 // - 类型:String // - 必选:否 // // 每次请求的Filters的上限为10,Filter.Values的上限为5。 Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` // 分页的偏移量,默认值为0 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 分页单页的限制数目,默认值为20,最大值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 ¶ added in v1.0.426
type DescribeMachineGroupsRequestParams struct { // machineGroupName // - 按照【机器组名称】进行过滤。 // - 类型:String // - 必选:否 // // machineGroupId // - 按照【机器组ID】进行过滤。 // - 类型:String // - 必选:否 // // osType // - 按照【操作系统类型】进行过滤。 // - 类型:Int // - 必选:否 // // tagKey // - 按照【标签键】进行过滤。 // - 类型:String // - 必选:否 // // tag:tagKey // - 按照【标签键值对】进行过滤。tagKey使用具体的标签键进行替换。 // - 类型:String // - 必选:否 // // 每次请求的Filters的上限为10,Filter.Values的上限为5。 Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` // 分页的偏移量,默认值为0 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 分页单页的限制数目,默认值为20,最大值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 ¶ added in v1.0.426
type DescribeMachineGroupsResponseParams struct { // 机器组信息列表 // 注意:此字段可能返回 null,表示取不到有效值。 MachineGroups []*MachineGroupInfo `json:"MachineGroups,omitnil,omitempty" name:"MachineGroups"` // 分页的总数目 TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeMachinesRequest ¶
type DescribeMachinesRequest struct { *tchttp.BaseRequest // 查询的机器组ID 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 ¶ added in v1.0.426
type DescribeMachinesRequestParams struct { // 查询的机器组ID 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 ¶ added in v1.0.426
type DescribeMachinesResponseParams struct { // 机器状态信息组 Machines []*MachineInfo `json:"Machines,omitnil,omitempty" name:"Machines"` // 机器组是否开启自动升级功能。 0:未开启自动升级;1:开启了自动升级。 AutoUpdate *int64 `json:"AutoUpdate,omitnil,omitempty" name:"AutoUpdate"` // 机器组自动升级功能预设开始时间 UpdateStartTime *string `json:"UpdateStartTime,omitnil,omitempty" name:"UpdateStartTime"` // 机器组自动升级功能预设结束时间 UpdateEndTime *string `json:"UpdateEndTime,omitnil,omitempty" name:"UpdateEndTime"` // 当前用户可用最新的Loglistener版本 LatestAgentVersion *string `json:"LatestAgentVersion,omitnil,omitempty" name:"LatestAgentVersion"` // 是否开启服务日志 ServiceLogging *bool `json:"ServiceLogging,omitnil,omitempty" name:"ServiceLogging"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribePartitionsRequest ¶
type DescribePartitionsRequest struct { *tchttp.BaseRequest // 日志主题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 ¶ added in v1.0.426
type DescribePartitionsRequestParams struct { // 日志主题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 ¶ added in v1.0.426
type DescribePartitionsResponseParams struct { // 分区列表 Partitions []*PartitionInfo `json:"Partitions,omitnil,omitempty" name:"Partitions"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeScheduledSqlInfoRequest ¶ added in v1.0.708
type DescribeScheduledSqlInfoRequest struct { *tchttp.BaseRequest // 分页的偏移量,默认值为0。 Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 分页单页限制数目,默认值为20,最大值100。 Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` // 任务名称。 Name *string `json:"Name,omitnil,omitempty" name:"Name"` // 任务id。 TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"` // <li>srcTopicName按照【源日志主题名称】进行过滤,模糊匹配。类型:String。必选:否</li> // <li>dstTopicName按照【目标日志主题名称】进行过滤,模糊匹配。类型:String。必选:否</li> // <li>srcTopicId按照【源日志主题ID】进行过滤。类型:String。必选:否</li> // <li>dstTopicId按照【目标日志主题ID】进行过滤。类型:String。必选:否</li> // <li>bizType按照【主题类型】进行过滤,0:日志主题;1:指标主题。类型:String。必选:否</li> // <li>status按照【任务状态】进行过滤,1:运行;2:停止。类型:String。必选:否</li> // <li>taskName按照【任务名称】进行过滤,模糊匹配。类型:String。必选:否</li> // <li>taskId按照【任务ID】进行过滤,模糊匹配。类型:String。必选:否</li> Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` }
func NewDescribeScheduledSqlInfoRequest ¶ added in v1.0.708
func NewDescribeScheduledSqlInfoRequest() (request *DescribeScheduledSqlInfoRequest)
func (*DescribeScheduledSqlInfoRequest) FromJsonString ¶ added in v1.0.708
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 ¶ added in v1.0.708
func (r *DescribeScheduledSqlInfoRequest) ToJsonString() string
type DescribeScheduledSqlInfoRequestParams ¶ added in v1.0.708
type DescribeScheduledSqlInfoRequestParams struct { // 分页的偏移量,默认值为0。 Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 分页单页限制数目,默认值为20,最大值100。 Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` // 任务名称。 Name *string `json:"Name,omitnil,omitempty" name:"Name"` // 任务id。 TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"` // <li>srcTopicName按照【源日志主题名称】进行过滤,模糊匹配。类型:String。必选:否</li> // <li>dstTopicName按照【目标日志主题名称】进行过滤,模糊匹配。类型:String。必选:否</li> // <li>srcTopicId按照【源日志主题ID】进行过滤。类型:String。必选:否</li> // <li>dstTopicId按照【目标日志主题ID】进行过滤。类型:String。必选:否</li> // <li>bizType按照【主题类型】进行过滤,0:日志主题;1:指标主题。类型:String。必选:否</li> // <li>status按照【任务状态】进行过滤,1:运行;2:停止。类型:String。必选:否</li> // <li>taskName按照【任务名称】进行过滤,模糊匹配。类型:String。必选:否</li> // <li>taskId按照【任务ID】进行过滤,模糊匹配。类型:String。必选:否</li> Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` }
Predefined struct for user
type DescribeScheduledSqlInfoResponse ¶ added in v1.0.708
type DescribeScheduledSqlInfoResponse struct { *tchttp.BaseResponse Response *DescribeScheduledSqlInfoResponseParams `json:"Response"` }
func NewDescribeScheduledSqlInfoResponse ¶ added in v1.0.708
func NewDescribeScheduledSqlInfoResponse() (response *DescribeScheduledSqlInfoResponse)
func (*DescribeScheduledSqlInfoResponse) FromJsonString ¶ added in v1.0.708
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 ¶ added in v1.0.708
func (r *DescribeScheduledSqlInfoResponse) ToJsonString() string
type DescribeScheduledSqlInfoResponseParams ¶ added in v1.0.708
type DescribeScheduledSqlInfoResponseParams struct { // ScheduledSQL任务列表信息 ScheduledSqlTaskInfos []*ScheduledSqlTaskInfo `json:"ScheduledSqlTaskInfos,omitnil,omitempty" name:"ScheduledSqlTaskInfos"` // 任务总次数 TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeShipperTasksRequest ¶ added in v1.0.210
type DescribeShipperTasksRequest struct { *tchttp.BaseRequest // 投递规则ID ShipperId *string `json:"ShipperId,omitnil,omitempty" name:"ShipperId"` // 查询的开始时间戳,支持最近3天的查询, 毫秒。 // StartTime必须小于EndTime StartTime *int64 `json:"StartTime,omitnil,omitempty" name:"StartTime"` // 查询的结束时间戳, 毫秒。 // StartTime必须小于EndTime EndTime *int64 `json:"EndTime,omitnil,omitempty" name:"EndTime"` }
func NewDescribeShipperTasksRequest ¶ added in v1.0.210
func NewDescribeShipperTasksRequest() (request *DescribeShipperTasksRequest)
func (*DescribeShipperTasksRequest) FromJsonString ¶ added in v1.0.210
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 ¶ added in v1.0.210
func (r *DescribeShipperTasksRequest) ToJsonString() string
type DescribeShipperTasksRequestParams ¶ added in v1.0.426
type DescribeShipperTasksRequestParams struct { // 投递规则ID ShipperId *string `json:"ShipperId,omitnil,omitempty" name:"ShipperId"` // 查询的开始时间戳,支持最近3天的查询, 毫秒。 // StartTime必须小于EndTime StartTime *int64 `json:"StartTime,omitnil,omitempty" name:"StartTime"` // 查询的结束时间戳, 毫秒。 // StartTime必须小于EndTime EndTime *int64 `json:"EndTime,omitnil,omitempty" name:"EndTime"` }
Predefined struct for user
type DescribeShipperTasksResponse ¶ added in v1.0.210
type DescribeShipperTasksResponse struct { *tchttp.BaseResponse Response *DescribeShipperTasksResponseParams `json:"Response"` }
func NewDescribeShipperTasksResponse ¶ added in v1.0.210
func NewDescribeShipperTasksResponse() (response *DescribeShipperTasksResponse)
func (*DescribeShipperTasksResponse) FromJsonString ¶ added in v1.0.210
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 ¶ added in v1.0.210
func (r *DescribeShipperTasksResponse) ToJsonString() string
type DescribeShipperTasksResponseParams ¶ added in v1.0.426
type DescribeShipperTasksResponseParams struct { // 投递任务列表 // 注意:此字段可能返回 null,表示取不到有效值。 Tasks []*ShipperTaskInfo `json:"Tasks,omitnil,omitempty" name:"Tasks"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeShippersRequest ¶ added in v1.0.210
type DescribeShippersRequest struct { *tchttp.BaseRequest // - shipperName:按照【投递规则名称】进行过滤。类型:String。必选:否 // - shipperId:按照【投递规则ID】进行过滤。类型:String。必选:否 // - topicId:按照【日志主题】进行过滤。类型:String。必选:否 // // 每次请求的Filters的上限为10,Filter.Values的上限为5。 Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` // 分页的偏移量,默认值为0 Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 分页单页的限制数目,默认值为20,最大值100 Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` }
func NewDescribeShippersRequest ¶ added in v1.0.210
func NewDescribeShippersRequest() (request *DescribeShippersRequest)
func (*DescribeShippersRequest) FromJsonString ¶ added in v1.0.210
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 ¶ added in v1.0.210
func (r *DescribeShippersRequest) ToJsonString() string
type DescribeShippersRequestParams ¶ added in v1.0.426
type DescribeShippersRequestParams struct { // - shipperName:按照【投递规则名称】进行过滤。类型:String。必选:否 // - shipperId:按照【投递规则ID】进行过滤。类型:String。必选:否 // - topicId:按照【日志主题】进行过滤。类型:String。必选:否 // // 每次请求的Filters的上限为10,Filter.Values的上限为5。 Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` // 分页的偏移量,默认值为0 Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 分页单页的限制数目,默认值为20,最大值100 Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` }
Predefined struct for user
type DescribeShippersResponse ¶ added in v1.0.210
type DescribeShippersResponse struct { *tchttp.BaseResponse Response *DescribeShippersResponseParams `json:"Response"` }
func NewDescribeShippersResponse ¶ added in v1.0.210
func NewDescribeShippersResponse() (response *DescribeShippersResponse)
func (*DescribeShippersResponse) FromJsonString ¶ added in v1.0.210
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 ¶ added in v1.0.210
func (r *DescribeShippersResponse) ToJsonString() string
type DescribeShippersResponseParams ¶ added in v1.0.426
type DescribeShippersResponseParams struct { // 投递规则列表 // 注意:此字段可能返回 null,表示取不到有效值。 Shippers []*ShipperInfo `json:"Shippers,omitnil,omitempty" name:"Shippers"` // 本次查询获取到的总数 TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeTopicsRequest ¶
type DescribeTopicsRequest struct { *tchttp.BaseRequest // <li> topicName按照【日志主题名称】进行过滤,默认为模糊匹配,可使用PreciseSearch参数设置为精确匹配。类型:String必选:否<br><li> logsetName按照【日志集名称】进行过滤,默认为模糊匹配,可使用PreciseSearch参数设置为精确匹配。类型:String必选:否<br><li> topicId按照【日志主题ID】进行过滤。类型:String必选:否<br><li> logsetId按照【日志集ID】进行过滤,可通过调用DescribeLogsets查询已创建的日志集列表或登录控制台进行查看;也可以调用CreateLogset创建新的日志集。类型:String必选:否<br><li> tagKey按照【标签键】进行过滤。类型:String必选:否<br><li> tag:tagKey按照【标签键值对】进行过滤。tagKey使用具体的标签键进行替换,例如tag:exampleKey。类型:String必选:否<br><li> storageType按照【日志主题的存储类型】进行过滤。可选值 hot(标准存储),cold(低频存储)类型:String必选:否每次请求的Filters的上限为10,Filter.Values的上限为100。 Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` // 分页的偏移量,默认值为0。 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 分页单页限制数目,默认值为20,最大值100。 Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // 控制Filters相关字段是否为精确匹配。 // - 0: 默认值,topicName和logsetName模糊匹配 // - 1: topicName精确匹配 // - 2: logsetName精确匹配 // - 3: topicName和logsetName都精确匹配 PreciseSearch *uint64 `json:"PreciseSearch,omitnil,omitempty" name:"PreciseSearch"` // 主题类型 // - 0:日志主题,默认值 // - 1:指标主题 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 ¶ added in v1.0.426
type DescribeTopicsRequestParams struct { // <li> topicName按照【日志主题名称】进行过滤,默认为模糊匹配,可使用PreciseSearch参数设置为精确匹配。类型:String必选:否<br><li> logsetName按照【日志集名称】进行过滤,默认为模糊匹配,可使用PreciseSearch参数设置为精确匹配。类型:String必选:否<br><li> topicId按照【日志主题ID】进行过滤。类型:String必选:否<br><li> logsetId按照【日志集ID】进行过滤,可通过调用DescribeLogsets查询已创建的日志集列表或登录控制台进行查看;也可以调用CreateLogset创建新的日志集。类型:String必选:否<br><li> tagKey按照【标签键】进行过滤。类型:String必选:否<br><li> tag:tagKey按照【标签键值对】进行过滤。tagKey使用具体的标签键进行替换,例如tag:exampleKey。类型:String必选:否<br><li> storageType按照【日志主题的存储类型】进行过滤。可选值 hot(标准存储),cold(低频存储)类型:String必选:否每次请求的Filters的上限为10,Filter.Values的上限为100。 Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` // 分页的偏移量,默认值为0。 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 分页单页限制数目,默认值为20,最大值100。 Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // 控制Filters相关字段是否为精确匹配。 // - 0: 默认值,topicName和logsetName模糊匹配 // - 1: topicName精确匹配 // - 2: logsetName精确匹配 // - 3: topicName和logsetName都精确匹配 PreciseSearch *uint64 `json:"PreciseSearch,omitnil,omitempty" name:"PreciseSearch"` // 主题类型 // - 0:日志主题,默认值 // - 1:指标主题 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 ¶ added in v1.0.426
type DescribeTopicsResponseParams struct { // 日志主题列表 Topics []*TopicInfo `json:"Topics,omitnil,omitempty" name:"Topics"` // 总数目 TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DynamicIndex ¶ added in v1.0.635
type DynamicIndex struct { // 键值索引自动配置开关 // 注意:此字段可能返回 null,表示取不到有效值。 Status *bool `json:"Status,omitnil,omitempty" name:"Status"` }
type EventLog ¶ added in v1.0.718
type EventLog struct { // 事件通道,支持Application,Security,Setup,System,ALL EventChannel *string `json:"EventChannel,omitnil,omitempty" name:"EventChannel"` // 时间类型,1:用户自定义,2:当前时间 TimeType *uint64 `json:"TimeType,omitnil,omitempty" name:"TimeType"` // 时间,用户选择自定义时间类型时,需要指定时间 Timestamp *uint64 `json:"Timestamp,omitnil,omitempty" name:"Timestamp"` // 事件ID过滤列表 EventIDs []*string `json:"EventIDs,omitnil,omitempty" name:"EventIDs"` }
type ExcludePathInfo ¶ added in v1.0.209
type ExportInfo ¶
type ExportInfo struct { // 日志主题ID TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"` // 日志导出任务ID ExportId *string `json:"ExportId,omitnil,omitempty" name:"ExportId"` // 日志导出查询语句 Query *string `json:"Query,omitnil,omitempty" name:"Query"` // 日志导出文件名 FileName *string `json:"FileName,omitnil,omitempty" name:"FileName"` // 日志文件大小 FileSize *uint64 `json:"FileSize,omitnil,omitempty" name:"FileSize"` // 日志导出时间排序 Order *string `json:"Order,omitnil,omitempty" name:"Order"` // 日志导出格式 Format *string `json:"Format,omitnil,omitempty" name:"Format"` // 日志导出数量 Count *uint64 `json:"Count,omitnil,omitempty" name:"Count"` // 日志下载状态。Processing:导出正在进行中,Completed:导出完成,Failed:导出失败,Expired:日志导出已过期(三天有效期), Queuing 排队中 Status *string `json:"Status,omitnil,omitempty" name:"Status"` // 日志导出起始时间 From *int64 `json:"From,omitnil,omitempty" name:"From"` // 日志导出结束时间 To *int64 `json:"To,omitnil,omitempty" name:"To"` // 日志导出路径,有效期一个小时,请尽快使用该路径下载。 CosPath *string `json:"CosPath,omitnil,omitempty" name:"CosPath"` // 日志导出创建时间 CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"` // 语法规则。 默认值为0。 // 0:Lucene语法,1:CQL语法。 SyntaxRule *uint64 `json:"SyntaxRule,omitnil,omitempty" name:"SyntaxRule"` }
type ExtractRuleInfo ¶ added in v1.0.209
type ExtractRuleInfo struct { // 时间字段的key名字,TikeKey和TimeFormat必须成对出现 // 注意:此字段可能返回 null,表示取不到有效值。 TimeKey *string `json:"TimeKey,omitnil,omitempty" name:"TimeKey"` // 时间字段的格式,参考c语言的strftime函数对于时间的格式说明输出参数 // 注意:此字段可能返回 null,表示取不到有效值。 TimeFormat *string `json:"TimeFormat,omitnil,omitempty" name:"TimeFormat"` // 分隔符类型日志的分隔符,只有LogType为delimiter_log时有效 // 注意:此字段可能返回 null,表示取不到有效值。 Delimiter *string `json:"Delimiter,omitnil,omitempty" name:"Delimiter"` // 整条日志匹配规则,只有LogType为fullregex_log时有效 // 注意:此字段可能返回 null,表示取不到有效值。 LogRegex *string `json:"LogRegex,omitnil,omitempty" name:"LogRegex"` // 行首匹配规则,只有LogType为multiline_log或fullregex_log时有效 // 注意:此字段可能返回 null,表示取不到有效值。 BeginRegex *string `json:"BeginRegex,omitnil,omitempty" name:"BeginRegex"` // 取的每个字段的key名字,为空的key代表丢弃这个字段,只有LogType为delimiter_log时有效,json_log的日志使用json本身的key。限制100个。 // 注意:此字段可能返回 null,表示取不到有效值。 Keys []*string `json:"Keys,omitnil,omitempty" name:"Keys"` // 日志过滤规则列表(旧版),需要过滤日志的key,及其对应的regex。 // 注意:2.9.3及以上版本LogListener ,建议使用AdvanceFilterRules配置日志过滤规则。 // // 注意:此字段可能返回 null,表示取不到有效值。 FilterKeyRegex []*KeyRegexInfo `json:"FilterKeyRegex,omitnil,omitempty" name:"FilterKeyRegex"` // 解析失败日志是否上传,true表示上传,false表示不上传 // 注意:此字段可能返回 null,表示取不到有效值。 UnMatchUpLoadSwitch *bool `json:"UnMatchUpLoadSwitch,omitnil,omitempty" name:"UnMatchUpLoadSwitch"` // 失败日志的key,当UnMatchUpLoadSwitch为true时必填 // 注意:此字段可能返回 null,表示取不到有效值。 UnMatchLogKey *string `json:"UnMatchLogKey,omitnil,omitempty" name:"UnMatchLogKey"` // 增量采集模式下的回溯数据量,默认:-1(全量采集);其他非负数表示增量采集(从最新的位置,往前采集${Backtracking}字节(Byte)的日志)最大支持1073741824(1G)。 // 注意: // - COS导入不支持此字段。 // 注意:此字段可能返回 null,表示取不到有效值。 Backtracking *int64 `json:"Backtracking,omitnil,omitempty" name:"Backtracking"` // 是否为Gbk编码。 0:否;1:是。 // 注意 // - 目前取0值时,表示UTF-8编码 // - COS导入不支持此字段。 // 注意:此字段可能返回 null,表示取不到有效值。 IsGBK *int64 `json:"IsGBK,omitnil,omitempty" name:"IsGBK"` // 是否为标准json。 0:否; 1:是。 // - 标准json指采集器使用业界标准开源解析器进行json解析,非标json指采集器使用CLS自研json解析器进行解析,两种解析器没有本质区别,建议客户使用标准json进行解析。 // 注意:此字段可能返回 null,表示取不到有效值。 JsonStandard *int64 `json:"JsonStandard,omitnil,omitempty" name:"JsonStandard"` // syslog传输协议,取值为tcp或者udp,只有在LogType为service_syslog时生效,其余类型无需填写。 // 注意: // - 该字段适用于:创建采集规则配置、修改采集规则配置。 // - COS导入不支持此字段。 // 注意:此字段可能返回 null,表示取不到有效值。 Protocol *string `json:"Protocol,omitnil,omitempty" name:"Protocol"` // syslog系统日志采集指定采集器监听的地址和端口 ,形式:[ip]:[port],只有在LogType为service_syslog时生效,其余类型无需填写。 // 注意: // - 该字段适用于:创建采集规则配置、修改采集规则配置。 // - COS导入不支持此字段。 // 注意:此字段可能返回 null,表示取不到有效值。 Address *string `json:"Address,omitnil,omitempty" name:"Address"` // rfc3164:指定系统日志采集使用RFC3164协议解析日志。 // rfc5424:指定系统日志采集使用RFC5424协议解析日志。 // auto:自动匹配rfc3164或者rfc5424其中一种协议。 // 只有在LogType为service_syslog时生效,其余类型无需填写。 // 注意: // - 该字段适用于:创建采集规则配置、修改采集规则配置 // - COS导入不支持此字段。 // 注意:此字段可能返回 null,表示取不到有效值。 ParseProtocol *string `json:"ParseProtocol,omitnil,omitempty" name:"ParseProtocol"` // 元数据类型。0: 不使用元数据信息;1:使用机器组元数据;2:使用用户自定义元数据;3:使用采集配置路径。 // 注意: // - COS导入不支持此字段。 MetadataType *int64 `json:"MetadataType,omitnil,omitempty" name:"MetadataType"` // 采集配置路径正则表达式。 // 注意: // - MetadataType为3时必填。 // - COS导入不支持此字段。 // 注意:此字段可能返回 null,表示取不到有效值。 PathRegex *string `json:"PathRegex,omitnil,omitempty" name:"PathRegex"` // 用户自定义元数据信息。 // 注意: // - MetadataType为2时必填。 // - COS导入不支持此字段。 MetaTags []*MetaTagInfo `json:"MetaTags,omitnil,omitempty" name:"MetaTags"` // Windows事件日志采集规则,只有在LogType为windows_event_log时生效,其余类型无需填写。 EventLogRules []*EventLog `json:"EventLogRules,omitnil,omitempty" name:"EventLogRules"` }
type FilePathInfo ¶ added in v1.0.728
type FilterRuleInfo ¶ added in v1.0.210
type FullTextInfo ¶
type FullTextInfo struct { // 是否大小写敏感 CaseSensitive *bool `json:"CaseSensitive,omitnil,omitempty" name:"CaseSensitive"` // 全文索引的分词符,其中的每个字符代表一个分词符; // 仅支持英文符号、\n\t\r及转义符\; // 注意:\n\t\r本身已被转义,直接使用双引号包裹即可作为入参,无需再次转义。使用API Explorer进行调试时请使用JSON参数输入方式,以避免\n\t\r被重复转义 Tokenizer *string `json:"Tokenizer,omitnil,omitempty" name:"Tokenizer"` // 是否包含中文 // 注意:此字段可能返回 null,表示取不到有效值。 ContainZH *bool `json:"ContainZH,omitnil,omitempty" name:"ContainZH"` }
type GetAlarmLogRequest ¶
type GetAlarmLogRequest struct { *tchttp.BaseRequest // 要查询的执行详情的起始时间,Unix时间戳,单位ms。 From *int64 `json:"From,omitnil,omitempty" name:"From"` // 要查询的执行详情的结束时间,Unix时间戳,单位ms。 To *int64 `json:"To,omitnil,omitempty" name:"To"` // 查询过滤条件,例如: // - 按告警策略ID查询:`alert_id:"alarm-0745ec00-e605-xxxx-b50b-54afe61fc971"` // - 按监控对象ID查询:`monitored_object:"823d8bfa-76a7-xxxx-8399-8cda74d4009b" ` // - 按告警策略ID及监控对象ID查询:`alert_id:"alarm-0745ec00-e605-xxxx-b50b-54afe61fc971" AND monitored_object:"823d8bfa-76a7-xxxx-8399-8cda74d4009b"` // - 按告警策略ID及监控对象ID查询支持SQL语句:`(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"` // 单次查询返回的执行详情条数,最大值为1000 Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // 透传上次接口返回的Context值,可获取后续更多日志,总计最多可获取1万条原始日志,过期时间1小时。 // 注意: // * 透传该参数时,请勿修改除该参数外的其它参数 // * 仅当检索分析语句(Query)不包含SQL时有效,SQL获取后续结果参考<a href="https://cloud.tencent.com/document/product/614/58977" target="_blank">SQL LIMIT语法</a> Context *string `json:"Context,omitnil,omitempty" name:"Context"` // 原始日志是否按时间排序返回;可选值:asc(升序)、desc(降序),默认为 desc // 注意: // * 仅当检索分析语句(Query)不包含SQL时有效 // * SQL结果排序方式参考<a href="https://cloud.tencent.com/document/product/614/58978" target="_blank">SQL ORDER BY语法</a> Sort *string `json:"Sort,omitnil,omitempty" name:"Sort"` // true:代表使用新的检索结果返回方式,输出参数AnalysisRecords和Columns有效; // false:代表使用老的检索结果返回方式,输出AnalysisResults和ColNames有效; // 两种返回方式在编码格式上有少量区别,建议使用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 ¶ added in v1.0.426
type GetAlarmLogRequestParams struct { // 要查询的执行详情的起始时间,Unix时间戳,单位ms。 From *int64 `json:"From,omitnil,omitempty" name:"From"` // 要查询的执行详情的结束时间,Unix时间戳,单位ms。 To *int64 `json:"To,omitnil,omitempty" name:"To"` // 查询过滤条件,例如: // - 按告警策略ID查询:`alert_id:"alarm-0745ec00-e605-xxxx-b50b-54afe61fc971"` // - 按监控对象ID查询:`monitored_object:"823d8bfa-76a7-xxxx-8399-8cda74d4009b" ` // - 按告警策略ID及监控对象ID查询:`alert_id:"alarm-0745ec00-e605-xxxx-b50b-54afe61fc971" AND monitored_object:"823d8bfa-76a7-xxxx-8399-8cda74d4009b"` // - 按告警策略ID及监控对象ID查询支持SQL语句:`(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"` // 单次查询返回的执行详情条数,最大值为1000 Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // 透传上次接口返回的Context值,可获取后续更多日志,总计最多可获取1万条原始日志,过期时间1小时。 // 注意: // * 透传该参数时,请勿修改除该参数外的其它参数 // * 仅当检索分析语句(Query)不包含SQL时有效,SQL获取后续结果参考<a href="https://cloud.tencent.com/document/product/614/58977" target="_blank">SQL LIMIT语法</a> Context *string `json:"Context,omitnil,omitempty" name:"Context"` // 原始日志是否按时间排序返回;可选值:asc(升序)、desc(降序),默认为 desc // 注意: // * 仅当检索分析语句(Query)不包含SQL时有效 // * SQL结果排序方式参考<a href="https://cloud.tencent.com/document/product/614/58978" target="_blank">SQL ORDER BY语法</a> Sort *string `json:"Sort,omitnil,omitempty" name:"Sort"` // true:代表使用新的检索结果返回方式,输出参数AnalysisRecords和Columns有效; // false:代表使用老的检索结果返回方式,输出AnalysisResults和ColNames有效; // 两种返回方式在编码格式上有少量区别,建议使用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 ¶ added in v1.0.426
type GetAlarmLogResponseParams struct { // 加载后续详情的Context Context *string `json:"Context,omitnil,omitempty" name:"Context"` // 指定时间范围内的告警执行详情是否完整返回 ListOver *bool `json:"ListOver,omitnil,omitempty" name:"ListOver"` // 返回的结果是否为SQL分析结果 Analysis *bool `json:"Analysis,omitnil,omitempty" name:"Analysis"` // 分析结果的列名,如果Query语句有SQL查询,则返回查询字段的列名; // 否则为空。 // 注意:此字段可能返回 null,表示取不到有效值。 ColNames []*string `json:"ColNames,omitnil,omitempty" name:"ColNames"` // 执行详情查询结果。 // 当Query字段无SQL语句时,返回查询结果。 // 当Query字段有SQL语句时,可能返回null。 // 注意:此字段可能返回 null,表示取不到有效值。 Results []*LogInfo `json:"Results,omitnil,omitempty" name:"Results"` // 执行详情统计分析结果。当Query字段有SQL语句时,返回SQL统计结果,否则可能返回null。 // // 注意:此字段可能返回 null,表示取不到有效值。 AnalysisResults []*LogItems `json:"AnalysisResults,omitnil,omitempty" name:"AnalysisResults"` // 执行详情统计分析结果;UseNewAnalysis为true有效。 // 注意:此字段可能返回 null,表示取不到有效值。 AnalysisRecords []*string `json:"AnalysisRecords,omitnil,omitempty" name:"AnalysisRecords"` // 分析结果的列名, UseNewAnalysis为true有效 // 注意:此字段可能返回 null,表示取不到有效值。 Columns []*Column `json:"Columns,omitnil,omitempty" name:"Columns"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type GroupTriggerConditionInfo ¶ added in v1.0.641
type HighLightItem ¶ added in v1.0.857
type HistogramInfo ¶ added in v1.0.375
type HostFileInfo ¶ added in v1.0.365
type HostFileInfo struct { // 日志文件夹 LogPath *string `json:"LogPath,omitnil,omitempty" name:"LogPath"` // 日志文件名 FilePattern *string `json:"FilePattern,omitnil,omitempty" name:"FilePattern"` // metadata信息 // 注意:此字段可能返回 null,表示取不到有效值。 CustomLabels []*string `json:"CustomLabels,omitnil,omitempty" name:"CustomLabels"` }
type JsonInfo ¶ added in v1.0.210
type JsonInfo struct { // 启用标志 EnableTag *bool `json:"EnableTag,omitnil,omitempty" name:"EnableTag"` // 元数据信息列表, 可选值为 __SOURCE__、__FILENAME__、__TIMESTAMP__、__HOSTNAME__。 // 注意:此字段可能返回 null,表示取不到有效值。 MetaFields []*string `json:"MetaFields,omitnil,omitempty" name:"MetaFields"` // 投递Json格式,0:字符串方式投递;1:以结构化方式投递 // 注意:此字段可能返回 null,表示取不到有效值。 JsonType *int64 `json:"JsonType,omitnil,omitempty" name:"JsonType"` }
type KafkaConsumerContent ¶ added in v1.0.693
type KafkaConsumerContent struct { // 消费数据格式。 0:原始内容;1:JSON。 Format *int64 `json:"Format,omitnil,omitempty" name:"Format"` // 是否投递 TAG 信息 // Format为0时,此字段不需要赋值 EnableTag *bool `json:"EnableTag,omitnil,omitempty" name:"EnableTag"` // 元数据信息列表, 可选值为:\_\_SOURCE\_\_、\_\_FILENAME\_\_ // 、\_\_TIMESTAMP\_\_、\_\_HOSTNAME\_\_、\_\_PKGID\_\_ // Format为0时,此字段不需要赋值 MetaFields []*string `json:"MetaFields,omitnil,omitempty" name:"MetaFields"` // tag数据处理方式:1:不平铺(默认值);2:平铺。 // // 不平铺示例: // TAG信息:`{"__TAG__":{"fieldA":200,"fieldB":"text"}}` // 不平铺:`{"__TAG__":{"fieldA":200,"fieldB":"text"}}` // // 平铺示例: // TAG信息:`{"__TAG__":{"fieldA":200,"fieldB":"text"}}` // 平铺:`{"__TAG__.fieldA":200,"__TAG__.fieldB":"text"}` // 注意:此字段可能返回 null,表示取不到有效值。 TagTransaction *int64 `json:"TagTransaction,omitnil,omitempty" name:"TagTransaction"` // 消费数据Json格式: // 1:不转义(默认格式) // 2:转义 // // 投递Json格式。 // JsonType为1:和原始日志一致,不转义。示例: // 日志原文:`{"a":"aa", "b":{"b1":"b1b1", "c1":"c1c1"}}` // 投递到Ckafka:`{"a":"aa", "b":{"b1":"b1b1", "c1":"c1c1"}}` // // JsonType为2:转义。示例: // 日志原文:`{"a":"aa", "b":{"b1":"b1b1", "c1":"c1c1"}}` // 投递到Ckafka:`{"a":"aa","b":"{\"b1\":\"b1b1\", \"c1\":\"c1c1\"}"}` JsonType *int64 `json:"JsonType,omitnil,omitempty" name:"JsonType"` }
type KafkaProtocolInfo ¶ added in v1.0.693
type KafkaProtocolInfo struct { // 协议类型,支持的协议类型包括 plaintext、sasl_plaintext 或 sasl_ssl。建议使用 sasl_ssl,此协议会进行连接加密同时需要用户认证。 // 入参必填 // 注意:此字段可能返回 null,表示取不到有效值。 Protocol *string `json:"Protocol,omitnil,omitempty" name:"Protocol"` // 加密类型,支持 PLAIN、SCRAM-SHA-256 或 SCRAM-SHA-512。 // 当Protocol为sasl_plaintext或sasl_ssl时必填 // 注意:此字段可能返回 null,表示取不到有效值。 Mechanism *string `json:"Mechanism,omitnil,omitempty" name:"Mechanism"` // 用户名。 // 当Protocol为sasl_plaintext或sasl_ssl时必填 // 注意:此字段可能返回 null,表示取不到有效值。 UserName *string `json:"UserName,omitnil,omitempty" name:"UserName"` // 用户密码。 // 当Protocol为sasl_plaintext或sasl_ssl时必填 // 注意:此字段可能返回 null,表示取不到有效值。 Password *string `json:"Password,omitnil,omitempty" name:"Password"` }
type KafkaRechargeInfo ¶ added in v1.0.693
type KafkaRechargeInfo struct { // Kafka数据订阅配置的ID。 // 注意:此字段可能返回 null,表示取不到有效值。 Id *string `json:"Id,omitnil,omitempty" name:"Id"` // 日志主题ID // 注意:此字段可能返回 null,表示取不到有效值。 TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"` // Kafka导入任务名称 // 注意:此字段可能返回 null,表示取不到有效值。 Name *string `json:"Name,omitnil,omitempty" name:"Name"` // 导入Kafka类型,0: 腾讯云CKafka,1: 用户自建Kafka // 注意:此字段可能返回 null,表示取不到有效值。 KafkaType *uint64 `json:"KafkaType,omitnil,omitempty" name:"KafkaType"` // 腾讯云CKafka实例ID,KafkaType为0时必填 // 注意:此字段可能返回 null,表示取不到有效值。 KafkaInstance *string `json:"KafkaInstance,omitnil,omitempty" name:"KafkaInstance"` // 服务地址 // 注意:此字段可能返回 null,表示取不到有效值。 ServerAddr *string `json:"ServerAddr,omitnil,omitempty" name:"ServerAddr"` // ServerAddr是否为加密连接 // 注意:此字段可能返回 null,表示取不到有效值。 IsEncryptionAddr *bool `json:"IsEncryptionAddr,omitnil,omitempty" name:"IsEncryptionAddr"` // 加密访问协议,IsEncryptionAddr参数为true时必填 Protocol *KafkaProtocolInfo `json:"Protocol,omitnil,omitempty" name:"Protocol"` // 用户需要导入的Kafka相关topic列表,多个topic之间使用半角逗号隔开 // 注意:此字段可能返回 null,表示取不到有效值。 UserKafkaTopics *string `json:"UserKafkaTopics,omitnil,omitempty" name:"UserKafkaTopics"` // 用户Kafka消费组名称 // 注意:此字段可能返回 null,表示取不到有效值。 ConsumerGroupName *string `json:"ConsumerGroupName,omitnil,omitempty" name:"ConsumerGroupName"` // 状态 ,1:运行中;2:暂停。 // 注意:此字段可能返回 null,表示取不到有效值。 Status *int64 `json:"Status,omitnil,omitempty" name:"Status"` // 导入数据位置,-2:最早(默认),-1:最晚 // 注意:此字段可能返回 null,表示取不到有效值。 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 创建时间 // 注意:此字段可能返回 null,表示取不到有效值。 CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"` // 更新时间 // 注意:此字段可能返回 null,表示取不到有效值。 UpdateTime *string `json:"UpdateTime,omitnil,omitempty" name:"UpdateTime"` // 日志导入规则 // 注意:此字段可能返回 null,表示取不到有效值。 LogRechargeRule *LogRechargeRuleInfo `json:"LogRechargeRule,omitnil,omitempty" name:"LogRechargeRule"` }
type KeyRegexInfo ¶ added in v1.0.209
type KeyValueInfo ¶
type KeyValueInfo struct { // 需要配置键值或者元字段索引的字段名称,仅支持字母、数字、下划线和-./@,且不能以下划线开头 // // 注意: // 1,元字段(tag)的Key无需额外添加`__TAG__.`前缀,与上传日志时对应的字段Key一致即可,腾讯云控制台展示时将自动添加`__TAG__.`前缀 // 2,键值索引(KeyValue)及元字段索引(Tag)中的Key总数不能超过300 // 3,Key的层级不能超过10层,例如a.b.c.d.e.f.g.h.j.k // 4,不允许同时包含json父子级字段,例如a及a.b Key *string `json:"Key,omitnil,omitempty" name:"Key"` // 字段的索引描述信息 Value *ValueInfo `json:"Value,omitnil,omitempty" name:"Value"` }
type LogContextInfo ¶
type LogContextInfo struct { // 日志来源设备 Source *string `json:"Source,omitnil,omitempty" name:"Source"` // 采集路径 Filename *string `json:"Filename,omitnil,omitempty" name:"Filename"` // 日志内容 Content *string `json:"Content,omitnil,omitempty" name:"Content"` // 日志包序号 PkgId *string `json:"PkgId,omitnil,omitempty" name:"PkgId"` // 日志包内一条日志的序号 PkgLogId *int64 `json:"PkgLogId,omitnil,omitempty" name:"PkgLogId"` // 日志时间戳 BTime *int64 `json:"BTime,omitnil,omitempty" name:"BTime"` // 日志来源主机名称 // 注意:此字段可能返回 null,表示取不到有效值。 HostName *string `json:"HostName,omitnil,omitempty" name:"HostName"` // 原始日志(仅在日志创建索引异常时有值) // 注意:此字段可能返回 null,表示取不到有效值。 RawLog *string `json:"RawLog,omitnil,omitempty" name:"RawLog"` // 日志创建索引异常原因(仅在日志创建索引异常时有值) // 注意:此字段可能返回 null,表示取不到有效值。 IndexStatus *string `json:"IndexStatus,omitnil,omitempty" name:"IndexStatus"` // 日志内容的高亮描述信息 // 注意:此字段可能返回 null,表示取不到有效值。 HighLights []*HighLightItem `json:"HighLights,omitnil,omitempty" name:"HighLights"` }
type LogInfo ¶
type LogInfo struct { // 日志时间,单位ms Time *int64 `json:"Time,omitnil,omitempty" name:"Time"` // 日志主题ID TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"` // 日志主题名称 TopicName *string `json:"TopicName,omitnil,omitempty" name:"TopicName"` // 日志来源IP Source *string `json:"Source,omitnil,omitempty" name:"Source"` // 日志文件名称 FileName *string `json:"FileName,omitnil,omitempty" name:"FileName"` // 日志上报请求包的ID PkgId *string `json:"PkgId,omitnil,omitempty" name:"PkgId"` // 请求包内日志的ID PkgLogId *string `json:"PkgLogId,omitnil,omitempty" name:"PkgLogId"` // 日志内容的Json序列化字符串 // 注意:此字段可能返回 null,表示取不到有效值。 LogJson *string `json:"LogJson,omitnil,omitempty" name:"LogJson"` // 日志来源主机名称 // 注意:此字段可能返回 null,表示取不到有效值。 HostName *string `json:"HostName,omitnil,omitempty" name:"HostName"` // 原始日志(仅在日志创建索引异常时有值) // 注意:此字段可能返回 null,表示取不到有效值。 RawLog *string `json:"RawLog,omitnil,omitempty" name:"RawLog"` // 日志创建索引异常原因(仅在日志创建索引异常时有值) // 注意:此字段可能返回 null,表示取不到有效值。 IndexStatus *string `json:"IndexStatus,omitnil,omitempty" name:"IndexStatus"` }
type LogItems ¶
type LogItems struct { // 分析结果返回的KV数据对 Data []*LogItem `json:"Data,omitnil,omitempty" name:"Data"` }
type LogRechargeRuleInfo ¶ added in v1.0.693
type LogRechargeRuleInfo struct { // 导入类型,支持json_log:json格式日志,minimalist_log: 单行全文,fullregex_log: 单行完全正则 RechargeType *string `json:"RechargeType,omitnil,omitempty" name:"RechargeType"` // 解析编码格式,0: UTF-8(默认值),1: GBK EncodingFormat *uint64 `json:"EncodingFormat,omitnil,omitempty" name:"EncodingFormat"` // 使用默认时间,true:开启(默认值), flase:关闭 DefaultTimeSwitch *bool `json:"DefaultTimeSwitch,omitnil,omitempty" name:"DefaultTimeSwitch"` // 整条日志匹配规则,只有RechargeType为fullregex_log时有效 // 注意:此字段可能返回 null,表示取不到有效值。 LogRegex *string `json:"LogRegex,omitnil,omitempty" name:"LogRegex"` // 解析失败日志是否上传,true表示上传,false表示不上传 UnMatchLogSwitch *bool `json:"UnMatchLogSwitch,omitnil,omitempty" name:"UnMatchLogSwitch"` // 解析失败日志的键名称 // 注意:此字段可能返回 null,表示取不到有效值。 UnMatchLogKey *string `json:"UnMatchLogKey,omitnil,omitempty" name:"UnMatchLogKey"` // 解析失败日志时间来源,0: 系统当前时间,1: Kafka消息时间戳 // 注意:此字段可能返回 null,表示取不到有效值。 UnMatchLogTimeSrc *uint64 `json:"UnMatchLogTimeSrc,omitnil,omitempty" name:"UnMatchLogTimeSrc"` // 默认时间来源,0: 系统当前时间,1: Kafka消息时间戳 // 注意:此字段可能返回 null,表示取不到有效值。 DefaultTimeSrc *uint64 `json:"DefaultTimeSrc,omitnil,omitempty" name:"DefaultTimeSrc"` // 时间字段 // 注意:此字段可能返回 null,表示取不到有效值。 TimeKey *string `json:"TimeKey,omitnil,omitempty" name:"TimeKey"` // 时间提取正则表达式 // 注意:此字段可能返回 null,表示取不到有效值。 TimeRegex *string `json:"TimeRegex,omitnil,omitempty" name:"TimeRegex"` // 时间字段格式 // 注意:此字段可能返回 null,表示取不到有效值。 TimeFormat *string `json:"TimeFormat,omitnil,omitempty" name:"TimeFormat"` // 时间字段时区 // 注意:此字段可能返回 null,表示取不到有效值。 TimeZone *string `json:"TimeZone,omitnil,omitempty" name:"TimeZone"` // 元数据信息,Kafka导入支持kafka_topic,kafka_partition,kafka_offset,kafka_timestamp // 注意:此字段可能返回 null,表示取不到有效值。 Metadata []*string `json:"Metadata,omitnil,omitempty" name:"Metadata"` // 日志Key列表,RechargeType为full_regex_log时必填 // 注意:此字段可能返回 null,表示取不到有效值。 Keys []*string `json:"Keys,omitnil,omitempty" name:"Keys"` }
type LogsetInfo ¶ added in v1.0.209
type LogsetInfo struct { // 日志集ID LogsetId *string `json:"LogsetId,omitnil,omitempty" name:"LogsetId"` // 日志集名称 LogsetName *string `json:"LogsetName,omitnil,omitempty" name:"LogsetName"` // 创建时间 CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"` // 云产品标识,日志集由其它云产品创建时,该字段会显示云产品名称,例如CDN、TKE // 注意:此字段可能返回 null,表示取不到有效值。 AssumerName *string `json:"AssumerName,omitnil,omitempty" name:"AssumerName"` // 日志集绑定的标签 // 注意:此字段可能返回 null,表示取不到有效值。 Tags []*Tag `json:"Tags,omitnil,omitempty" name:"Tags"` // 日志集下日志主题的数目 TopicCount *int64 `json:"TopicCount,omitnil,omitempty" name:"TopicCount"` // 若AssumerName非空,则表示创建该日志集的服务方角色 RoleName *string `json:"RoleName,omitnil,omitempty" name:"RoleName"` }
type MachineGroupInfo ¶
type MachineGroupInfo struct { // 机器组ID GroupId *string `json:"GroupId,omitnil,omitempty" name:"GroupId"` // 机器组名称 GroupName *string `json:"GroupName,omitnil,omitempty" name:"GroupName"` // 机器组类型 MachineGroupType *MachineGroupTypeInfo `json:"MachineGroupType,omitnil,omitempty" name:"MachineGroupType"` // 创建时间 CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"` // 机器组绑定的标签列表 // 注意:此字段可能返回 null,表示取不到有效值。 Tags []*Tag `json:"Tags,omitnil,omitempty" name:"Tags"` // 是否开启机器组自动更新 // 注意:此字段可能返回 null,表示取不到有效值。 AutoUpdate *string `json:"AutoUpdate,omitnil,omitempty" name:"AutoUpdate"` // 升级开始时间,建议业务低峰期升级LogListener // 注意:此字段可能返回 null,表示取不到有效值。 UpdateStartTime *string `json:"UpdateStartTime,omitnil,omitempty" name:"UpdateStartTime"` // 升级结束时间,建议业务低峰期升级LogListener // 注意:此字段可能返回 null,表示取不到有效值。 UpdateEndTime *string `json:"UpdateEndTime,omitnil,omitempty" name:"UpdateEndTime"` // 是否开启服务日志,用于记录因Loglistener 服务自身产生的log,开启后,会创建内部日志集cls_service_logging和日志主题loglistener_status,loglistener_alarm,loglistener_business,不产生计费 // 注意:此字段可能返回 null,表示取不到有效值。 ServiceLogging *bool `json:"ServiceLogging,omitnil,omitempty" name:"ServiceLogging"` // 机器组中机器离线定期清理时间 // 注意:此字段可能返回 null,表示取不到有效值。 DelayCleanupTime *int64 `json:"DelayCleanupTime,omitnil,omitempty" name:"DelayCleanupTime"` // 机器组元数据信息列表 MetaTags []*MetaTagInfo `json:"MetaTags,omitnil,omitempty" name:"MetaTags"` // 操作系统类型,0: Linux,1: windows OSType *uint64 `json:"OSType,omitnil,omitempty" name:"OSType"` }
type MachineGroupTypeInfo ¶
type MachineInfo ¶
type MachineInfo struct { // 机器的IP Ip *string `json:"Ip,omitnil,omitempty" name:"Ip"` // 机器实例ID // 注意:此字段可能返回 null,表示取不到有效值。 InstanceID *string `json:"InstanceID,omitnil,omitempty" name:"InstanceID"` // 机器状态,0:异常,1:正常 Status *uint64 `json:"Status,omitnil,omitempty" name:"Status"` // 机器离线时间,空为正常,异常返回具体时间 OfflineTime *string `json:"OfflineTime,omitnil,omitempty" name:"OfflineTime"` // 机器是否开启自动升级。0:关闭,1:开启 AutoUpdate *int64 `json:"AutoUpdate,omitnil,omitempty" name:"AutoUpdate"` // 机器当前版本号。 Version *string `json:"Version,omitnil,omitempty" name:"Version"` // 机器升级功能状态。 0:升级成功;1:升级中;-1:升级失败。 UpdateStatus *int64 `json:"UpdateStatus,omitnil,omitempty" name:"UpdateStatus"` // 机器升级结果标识。 // 0:成功;1200:升级成功;其他值表示异常。 ErrCode *int64 `json:"ErrCode,omitnil,omitempty" name:"ErrCode"` // 机器升级结果信息。 // “ok”:成功;“update success”:升级成功;其他值为失败原因。 ErrMsg *string `json:"ErrMsg,omitnil,omitempty" name:"ErrMsg"` }
type MergePartitionRequest ¶
type MergePartitionRequest struct { *tchttp.BaseRequest // 日志主题ID TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"` // 合并的PartitionId(找到下一个分区InclusiveBeginKey与入参PartitionId对应的ExclusiveEndKey相等,且找到的分区必须是读写分区(Staus:readwrite),入参PartitionId与找到的PartitionId设置为只读分区(Status:readonly),再新建一个新的读写分区) 。[获取分区列表](https://cloud.tencent.com/document/product/614/56469) // // 1. 入参PartitionId只能是读写分区(Status的值有readonly,readwrite),且能找到入参PartitionId的下一个可读写分区(找到下一个分区InclusiveBeginKey与入参PartitionId对应的ExclusiveEndKey相等); // 2. 入参PartitionId不能是最后一个分区(PartitionId的ExclusiveEndKey不能是ffffffffffffffffffffffffffffffff); // 3. topic的分区数量是有限制的(默认50个),合并之后不能超过最大分区,否则不能合并。 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 ¶ added in v1.0.426
type MergePartitionRequestParams struct { // 日志主题ID TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"` // 合并的PartitionId(找到下一个分区InclusiveBeginKey与入参PartitionId对应的ExclusiveEndKey相等,且找到的分区必须是读写分区(Staus:readwrite),入参PartitionId与找到的PartitionId设置为只读分区(Status:readonly),再新建一个新的读写分区) 。[获取分区列表](https://cloud.tencent.com/document/product/614/56469) // // 1. 入参PartitionId只能是读写分区(Status的值有readonly,readwrite),且能找到入参PartitionId的下一个可读写分区(找到下一个分区InclusiveBeginKey与入参PartitionId对应的ExclusiveEndKey相等); // 2. 入参PartitionId不能是最后一个分区(PartitionId的ExclusiveEndKey不能是ffffffffffffffffffffffffffffffff); // 3. topic的分区数量是有限制的(默认50个),合并之后不能超过最大分区,否则不能合并。 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 ¶ added in v1.0.426
type MergePartitionResponseParams struct { // 合并结果集 Partitions []*PartitionInfo `json:"Partitions,omitnil,omitempty" name:"Partitions"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type MetaTagInfo ¶ added in v1.0.648
type MetricLabel ¶ added in v1.0.803
type ModifyAlarmNoticeRequest ¶
type ModifyAlarmNoticeRequest struct { *tchttp.BaseRequest // 通知渠道组ID。 AlarmNoticeId *string `json:"AlarmNoticeId,omitnil,omitempty" name:"AlarmNoticeId"` // 通知渠道组名称。 Name *string `json:"Name,omitnil,omitempty" name:"Name"` // 通知类型。可选值: // <li> Trigger - 告警触发</li> // <li> Recovery - 告警恢复</li> // <li> All - 告警触发和告警恢复</li> Type *string `json:"Type,omitnil,omitempty" name:"Type"` // 通知接收对象。 NoticeReceivers []*NoticeReceiver `json:"NoticeReceivers,omitnil,omitempty" name:"NoticeReceivers"` // 接口回调信息(包括企业微信)。 WebCallbacks []*WebCallback `json:"WebCallbacks,omitnil,omitempty" name:"WebCallbacks"` // 通知规则。 // // 注意: // // - Type、NoticeReceivers和WebCallbacks是一组配置,NoticeRules是另一组配置,2组配置互斥。 // - 传其中一组数据,则另一组数据置空。 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 ¶ added in v1.0.426
type ModifyAlarmNoticeRequestParams struct { // 通知渠道组ID。 AlarmNoticeId *string `json:"AlarmNoticeId,omitnil,omitempty" name:"AlarmNoticeId"` // 通知渠道组名称。 Name *string `json:"Name,omitnil,omitempty" name:"Name"` // 通知类型。可选值: // <li> Trigger - 告警触发</li> // <li> Recovery - 告警恢复</li> // <li> All - 告警触发和告警恢复</li> Type *string `json:"Type,omitnil,omitempty" name:"Type"` // 通知接收对象。 NoticeReceivers []*NoticeReceiver `json:"NoticeReceivers,omitnil,omitempty" name:"NoticeReceivers"` // 接口回调信息(包括企业微信)。 WebCallbacks []*WebCallback `json:"WebCallbacks,omitnil,omitempty" name:"WebCallbacks"` // 通知规则。 // // 注意: // // - Type、NoticeReceivers和WebCallbacks是一组配置,NoticeRules是另一组配置,2组配置互斥。 // - 传其中一组数据,则另一组数据置空。 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 ¶ added in v1.0.426
type ModifyAlarmNoticeResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyAlarmRequest ¶
type ModifyAlarmRequest struct { *tchttp.BaseRequest // 告警策略ID。 AlarmId *string `json:"AlarmId,omitnil,omitempty" name:"AlarmId"` // 告警策略名称 Name *string `json:"Name,omitnil,omitempty" name:"Name"` // 监控任务运行时间点。 MonitorTime *MonitorTime `json:"MonitorTime,omitnil,omitempty" name:"MonitorTime"` // 触发条件。 // // 注意: // - Condition和AlarmLevel是一组配置,MultiConditions是另一组配置,2组配置互斥。 Condition *string `json:"Condition,omitnil,omitempty" name:"Condition"` // 告警级别。 // // 0:警告(Warn);1:提醒(Info);2:紧急 (Critical) // // 注意: // - Condition和AlarmLevel是一组配置,MultiConditions是另一组配置,2组配置互斥。 AlarmLevel *uint64 `json:"AlarmLevel,omitnil,omitempty" name:"AlarmLevel"` // 多触发条件。 // // 注意: // - Condition和AlarmLevel是一组配置,MultiConditions是另一组配置,2组配置互斥。 MultiConditions []*MultiCondition `json:"MultiConditions,omitnil,omitempty" name:"MultiConditions"` // 持续周期。持续满足触发条件TriggerCount个周期后,再进行告警;最小值为1,最大值为10。 TriggerCount *int64 `json:"TriggerCount,omitnil,omitempty" name:"TriggerCount"` // 告警重复的周期。单位是分钟。取值范围是0~1440。 AlarmPeriod *int64 `json:"AlarmPeriod,omitnil,omitempty" name:"AlarmPeriod"` // 关联的告警通知模板列表。 AlarmNoticeIds []*string `json:"AlarmNoticeIds,omitnil,omitempty" name:"AlarmNoticeIds"` // 监控对象列表。 AlarmTargets []*AlarmTarget `json:"AlarmTargets,omitnil,omitempty" name:"AlarmTargets"` // 是否开启告警策略。 Status *bool `json:"Status,omitnil,omitempty" name:"Status"` // 该参数已废弃,请使用Status参数控制是否开启告警策略。 Enable *bool `json:"Enable,omitnil,omitempty" name:"Enable"` // 用户自定义告警内容 MessageTemplate *string `json:"MessageTemplate,omitnil,omitempty" name:"MessageTemplate"` // 用户自定义回调 CallBack *CallBackInfo `json:"CallBack,omitnil,omitempty" name:"CallBack"` // 多维分析 Analysis []*AnalysisDimensional `json:"Analysis,omitnil,omitempty" name:"Analysis"` // 分组触发状态。true:开启,false:关闭(默认) GroupTriggerStatus *bool `json:"GroupTriggerStatus,omitnil,omitempty" name:"GroupTriggerStatus"` // 分组触发条件。 GroupTriggerCondition []*string `json:"GroupTriggerCondition,omitnil,omitempty" name:"GroupTriggerCondition"` // 标签描述列表,通过指定该参数可以同时绑定标签到相应的告警策略。最大支持10个标签键值对,并且不能有重复的键值对。 Tags []*Tag `json:"Tags,omitnil,omitempty" name:"Tags"` // 监控对象类型。0:执行语句共用监控对象; 1:每个执行语句单独选择监控对象。 // 当值为1时,AlarmTargets元素个数不能超过10个,AlarmTargets中的Number必须是从1开始的连续正整数,不能重复。 MonitorObjectType *uint64 `json:"MonitorObjectType,omitnil,omitempty" name:"MonitorObjectType"` // 告警附加分类信息列表。 // Classifications元素个数不能超过20个。 // Classifications元素的Key不能为空,不能重复,长度不能超过50个字符,符合正则 `^[a-z]([a-z0-9_]{0,49})$`。 // Classifications元素的Value长度不能超过200个字符。 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 ¶ added in v1.0.426
type ModifyAlarmRequestParams struct { // 告警策略ID。 AlarmId *string `json:"AlarmId,omitnil,omitempty" name:"AlarmId"` // 告警策略名称 Name *string `json:"Name,omitnil,omitempty" name:"Name"` // 监控任务运行时间点。 MonitorTime *MonitorTime `json:"MonitorTime,omitnil,omitempty" name:"MonitorTime"` // 触发条件。 // // 注意: // - Condition和AlarmLevel是一组配置,MultiConditions是另一组配置,2组配置互斥。 Condition *string `json:"Condition,omitnil,omitempty" name:"Condition"` // 告警级别。 // // 0:警告(Warn);1:提醒(Info);2:紧急 (Critical) // // 注意: // - Condition和AlarmLevel是一组配置,MultiConditions是另一组配置,2组配置互斥。 AlarmLevel *uint64 `json:"AlarmLevel,omitnil,omitempty" name:"AlarmLevel"` // 多触发条件。 // // 注意: // - Condition和AlarmLevel是一组配置,MultiConditions是另一组配置,2组配置互斥。 MultiConditions []*MultiCondition `json:"MultiConditions,omitnil,omitempty" name:"MultiConditions"` // 持续周期。持续满足触发条件TriggerCount个周期后,再进行告警;最小值为1,最大值为10。 TriggerCount *int64 `json:"TriggerCount,omitnil,omitempty" name:"TriggerCount"` // 告警重复的周期。单位是分钟。取值范围是0~1440。 AlarmPeriod *int64 `json:"AlarmPeriod,omitnil,omitempty" name:"AlarmPeriod"` // 关联的告警通知模板列表。 AlarmNoticeIds []*string `json:"AlarmNoticeIds,omitnil,omitempty" name:"AlarmNoticeIds"` // 监控对象列表。 AlarmTargets []*AlarmTarget `json:"AlarmTargets,omitnil,omitempty" name:"AlarmTargets"` // 是否开启告警策略。 Status *bool `json:"Status,omitnil,omitempty" name:"Status"` // 该参数已废弃,请使用Status参数控制是否开启告警策略。 Enable *bool `json:"Enable,omitnil,omitempty" name:"Enable"` // 用户自定义告警内容 MessageTemplate *string `json:"MessageTemplate,omitnil,omitempty" name:"MessageTemplate"` // 用户自定义回调 CallBack *CallBackInfo `json:"CallBack,omitnil,omitempty" name:"CallBack"` // 多维分析 Analysis []*AnalysisDimensional `json:"Analysis,omitnil,omitempty" name:"Analysis"` // 分组触发状态。true:开启,false:关闭(默认) GroupTriggerStatus *bool `json:"GroupTriggerStatus,omitnil,omitempty" name:"GroupTriggerStatus"` // 分组触发条件。 GroupTriggerCondition []*string `json:"GroupTriggerCondition,omitnil,omitempty" name:"GroupTriggerCondition"` // 标签描述列表,通过指定该参数可以同时绑定标签到相应的告警策略。最大支持10个标签键值对,并且不能有重复的键值对。 Tags []*Tag `json:"Tags,omitnil,omitempty" name:"Tags"` // 监控对象类型。0:执行语句共用监控对象; 1:每个执行语句单独选择监控对象。 // 当值为1时,AlarmTargets元素个数不能超过10个,AlarmTargets中的Number必须是从1开始的连续正整数,不能重复。 MonitorObjectType *uint64 `json:"MonitorObjectType,omitnil,omitempty" name:"MonitorObjectType"` // 告警附加分类信息列表。 // Classifications元素个数不能超过20个。 // Classifications元素的Key不能为空,不能重复,长度不能超过50个字符,符合正则 `^[a-z]([a-z0-9_]{0,49})$`。 // Classifications元素的Value长度不能超过200个字符。 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 ¶ added in v1.0.426
type ModifyAlarmResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyAlarmShieldRequest ¶ added in v1.0.854
type ModifyAlarmShieldRequest struct { *tchttp.BaseRequest // 屏蔽规则ID。 TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"` // 通知渠道组id。 AlarmNoticeId *string `json:"AlarmNoticeId,omitnil,omitempty" name:"AlarmNoticeId"` // 屏蔽开始时间(秒级时间戳)。 StartTime *uint64 `json:"StartTime,omitnil,omitempty" name:"StartTime"` // 屏蔽结束时间(秒级时间戳)。 EndTime *uint64 `json:"EndTime,omitnil,omitempty" name:"EndTime"` // 屏蔽类型。1:屏蔽所有通知,2:按照Rule参数屏蔽匹配规则的通知。 Type *uint64 `json:"Type,omitnil,omitempty" name:"Type"` // 屏蔽规则,当Type为2时必填。规则填写方式详见[产品文档](https://cloud.tencent.com/document/product/614/103178#rule)。 Rule *string `json:"Rule,omitnil,omitempty" name:"Rule"` // 屏蔽原因。 Reason *string `json:"Reason,omitnil,omitempty" name:"Reason"` // 规则状态。只有规则状态为生效中(status:1)时,才能将其修改为已失效(status:2)。 Status *uint64 `json:"Status,omitnil,omitempty" name:"Status"` }
func NewModifyAlarmShieldRequest ¶ added in v1.0.854
func NewModifyAlarmShieldRequest() (request *ModifyAlarmShieldRequest)
func (*ModifyAlarmShieldRequest) FromJsonString ¶ added in v1.0.854
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 ¶ added in v1.0.854
func (r *ModifyAlarmShieldRequest) ToJsonString() string
type ModifyAlarmShieldRequestParams ¶ added in v1.0.854
type ModifyAlarmShieldRequestParams struct { // 屏蔽规则ID。 TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"` // 通知渠道组id。 AlarmNoticeId *string `json:"AlarmNoticeId,omitnil,omitempty" name:"AlarmNoticeId"` // 屏蔽开始时间(秒级时间戳)。 StartTime *uint64 `json:"StartTime,omitnil,omitempty" name:"StartTime"` // 屏蔽结束时间(秒级时间戳)。 EndTime *uint64 `json:"EndTime,omitnil,omitempty" name:"EndTime"` // 屏蔽类型。1:屏蔽所有通知,2:按照Rule参数屏蔽匹配规则的通知。 Type *uint64 `json:"Type,omitnil,omitempty" name:"Type"` // 屏蔽规则,当Type为2时必填。规则填写方式详见[产品文档](https://cloud.tencent.com/document/product/614/103178#rule)。 Rule *string `json:"Rule,omitnil,omitempty" name:"Rule"` // 屏蔽原因。 Reason *string `json:"Reason,omitnil,omitempty" name:"Reason"` // 规则状态。只有规则状态为生效中(status:1)时,才能将其修改为已失效(status:2)。 Status *uint64 `json:"Status,omitnil,omitempty" name:"Status"` }
Predefined struct for user
type ModifyAlarmShieldResponse ¶ added in v1.0.854
type ModifyAlarmShieldResponse struct { *tchttp.BaseResponse Response *ModifyAlarmShieldResponseParams `json:"Response"` }
func NewModifyAlarmShieldResponse ¶ added in v1.0.854
func NewModifyAlarmShieldResponse() (response *ModifyAlarmShieldResponse)
func (*ModifyAlarmShieldResponse) FromJsonString ¶ added in v1.0.854
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 ¶ added in v1.0.854
func (r *ModifyAlarmShieldResponse) ToJsonString() string
type ModifyAlarmShieldResponseParams ¶ added in v1.0.854
type ModifyAlarmShieldResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyConfigExtraRequest ¶ added in v1.0.365
type ModifyConfigExtraRequest struct { *tchttp.BaseRequest // 采集配置扩展信息id ConfigExtraId *string `json:"ConfigExtraId,omitnil,omitempty" name:"ConfigExtraId"` // 采集配置规程名称,最长63个字符,只能包含小写字符、数字及分隔符(“-”),且必须以小写字符开头,数字或小写字符结尾 Name *string `json:"Name,omitnil,omitempty" name:"Name"` // 日志主题id TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"` // 节点文件配置信息 HostFile *HostFileInfo `json:"HostFile,omitnil,omitempty" name:"HostFile"` // 采集配置标记。 // - 目前只支持label_k8s,用于标记自建k8s集群使用的采集配置 ContainerFile *ContainerFileInfo `json:"ContainerFile,omitnil,omitempty" name:"ContainerFile"` // 容器标准输出信息 ContainerStdout *ContainerStdoutInfo `json:"ContainerStdout,omitnil,omitempty" name:"ContainerStdout"` // 采集的日志类型,默认为minimalist_log。支持以下类型: // - json_log代表:JSON-文件日志(详见[使用 JSON 提取模式采集日志](https://cloud.tencent.com/document/product/614/17419)); // - delimiter_log代表:分隔符-文件日志(详见[使用分隔符提取模式采集日志](https://cloud.tencent.com/document/product/614/17420)); // - minimalist_log代表:单行全文-文件日志(详见[使用单行全文提取模式采集日志](https://cloud.tencent.com/document/product/614/17421)); // - fullregex_log代表:单行完全正则-文件日志(详见[使用单行-完全正则提取模式采集日志](https://cloud.tencent.com/document/product/614/52365)); // - multiline_log代表:多行全文-文件日志(详见[使用多行全文提取模式采集日志](https://cloud.tencent.com/document/product/614/17422)); // - multiline_fullregex_log代表:多行完全正则-文件日志(详见[使用多行-完全正则提取模式采集日志](https://cloud.tencent.com/document/product/614/52366)); // - user_define_log代表:组合解析(适用于多格式嵌套的日志,详见[使用组合解析提取模式采集日志](https://cloud.tencent.com/document/product/614/61310))。 LogType *string `json:"LogType,omitnil,omitempty" name:"LogType"` // 日志格式化方式,用于容器采集场景。 // - stdout-docker-json:用于docker容器采集场景 // - stdout-containerd:用于containerd容器采集场景 LogFormat *string `json:"LogFormat,omitnil,omitempty" name:"LogFormat"` // 提取规则,如果设置了ExtractRule,则必须设置LogType ExtractRule *ExtractRuleInfo `json:"ExtractRule,omitnil,omitempty" name:"ExtractRule"` // 采集黑名单路径列表 ExcludePaths []*ExcludePathInfo `json:"ExcludePaths,omitnil,omitempty" name:"ExcludePaths"` // 组合解析采集规则,用于复杂场景下的日志采集。 // - 取值参考:[使用组合解析提取模式采集日志 // ](https://cloud.tencent.com/document/product/614/61310) UserDefineRule *string `json:"UserDefineRule,omitnil,omitempty" name:"UserDefineRule"` // 类型:container_stdout、container_file、host_file Type *string `json:"Type,omitnil,omitempty" name:"Type"` // 机器组ID GroupId *string `json:"GroupId,omitnil,omitempty" name:"GroupId"` // 自建采集配置标 ConfigFlag *string `json:"ConfigFlag,omitnil,omitempty" name:"ConfigFlag"` // 日志集ID LogsetId *string `json:"LogsetId,omitnil,omitempty" name:"LogsetId"` // 日志集name LogsetName *string `json:"LogsetName,omitnil,omitempty" name:"LogsetName"` // 日志主题name TopicName *string `json:"TopicName,omitnil,omitempty" name:"TopicName"` // 高级采集配置。 Json字符串, Key/Value定义为如下: // - ClsAgentFileTimeout(超时属性), 取值范围: 大于等于0的整数, 0为不超时 // - ClsAgentMaxDepth(最大目录深度),取值范围: 大于等于0的整数 // - ClsAgentParseFailMerge(合并解析失败日志),取值范围: true或false // - ClsAgentDefault(自定义默认值,无特殊含义,用于清空其他选项),建议取值0 AdvancedConfig *string `json:"AdvancedConfig,omitnil,omitempty" name:"AdvancedConfig"` }
func NewModifyConfigExtraRequest ¶ added in v1.0.365
func NewModifyConfigExtraRequest() (request *ModifyConfigExtraRequest)
func (*ModifyConfigExtraRequest) FromJsonString ¶ added in v1.0.365
func (r *ModifyConfigExtraRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyConfigExtraRequest) ToJsonString ¶ added in v1.0.365
func (r *ModifyConfigExtraRequest) ToJsonString() string
type ModifyConfigExtraRequestParams ¶ added in v1.0.426
type ModifyConfigExtraRequestParams struct { // 采集配置扩展信息id ConfigExtraId *string `json:"ConfigExtraId,omitnil,omitempty" name:"ConfigExtraId"` // 采集配置规程名称,最长63个字符,只能包含小写字符、数字及分隔符(“-”),且必须以小写字符开头,数字或小写字符结尾 Name *string `json:"Name,omitnil,omitempty" name:"Name"` // 日志主题id TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"` // 节点文件配置信息 HostFile *HostFileInfo `json:"HostFile,omitnil,omitempty" name:"HostFile"` // 采集配置标记。 // - 目前只支持label_k8s,用于标记自建k8s集群使用的采集配置 ContainerFile *ContainerFileInfo `json:"ContainerFile,omitnil,omitempty" name:"ContainerFile"` // 容器标准输出信息 ContainerStdout *ContainerStdoutInfo `json:"ContainerStdout,omitnil,omitempty" name:"ContainerStdout"` // 采集的日志类型,默认为minimalist_log。支持以下类型: // - json_log代表:JSON-文件日志(详见[使用 JSON 提取模式采集日志](https://cloud.tencent.com/document/product/614/17419)); // - delimiter_log代表:分隔符-文件日志(详见[使用分隔符提取模式采集日志](https://cloud.tencent.com/document/product/614/17420)); // - minimalist_log代表:单行全文-文件日志(详见[使用单行全文提取模式采集日志](https://cloud.tencent.com/document/product/614/17421)); // - fullregex_log代表:单行完全正则-文件日志(详见[使用单行-完全正则提取模式采集日志](https://cloud.tencent.com/document/product/614/52365)); // - multiline_log代表:多行全文-文件日志(详见[使用多行全文提取模式采集日志](https://cloud.tencent.com/document/product/614/17422)); // - multiline_fullregex_log代表:多行完全正则-文件日志(详见[使用多行-完全正则提取模式采集日志](https://cloud.tencent.com/document/product/614/52366)); // - user_define_log代表:组合解析(适用于多格式嵌套的日志,详见[使用组合解析提取模式采集日志](https://cloud.tencent.com/document/product/614/61310))。 LogType *string `json:"LogType,omitnil,omitempty" name:"LogType"` // 日志格式化方式,用于容器采集场景。 // - stdout-docker-json:用于docker容器采集场景 // - stdout-containerd:用于containerd容器采集场景 LogFormat *string `json:"LogFormat,omitnil,omitempty" name:"LogFormat"` // 提取规则,如果设置了ExtractRule,则必须设置LogType ExtractRule *ExtractRuleInfo `json:"ExtractRule,omitnil,omitempty" name:"ExtractRule"` // 采集黑名单路径列表 ExcludePaths []*ExcludePathInfo `json:"ExcludePaths,omitnil,omitempty" name:"ExcludePaths"` // 组合解析采集规则,用于复杂场景下的日志采集。 // - 取值参考:[使用组合解析提取模式采集日志 // ](https://cloud.tencent.com/document/product/614/61310) UserDefineRule *string `json:"UserDefineRule,omitnil,omitempty" name:"UserDefineRule"` // 类型:container_stdout、container_file、host_file Type *string `json:"Type,omitnil,omitempty" name:"Type"` // 机器组ID GroupId *string `json:"GroupId,omitnil,omitempty" name:"GroupId"` // 自建采集配置标 ConfigFlag *string `json:"ConfigFlag,omitnil,omitempty" name:"ConfigFlag"` // 日志集ID LogsetId *string `json:"LogsetId,omitnil,omitempty" name:"LogsetId"` // 日志集name LogsetName *string `json:"LogsetName,omitnil,omitempty" name:"LogsetName"` // 日志主题name TopicName *string `json:"TopicName,omitnil,omitempty" name:"TopicName"` // 高级采集配置。 Json字符串, Key/Value定义为如下: // - ClsAgentFileTimeout(超时属性), 取值范围: 大于等于0的整数, 0为不超时 // - ClsAgentMaxDepth(最大目录深度),取值范围: 大于等于0的整数 // - ClsAgentParseFailMerge(合并解析失败日志),取值范围: true或false // - ClsAgentDefault(自定义默认值,无特殊含义,用于清空其他选项),建议取值0 AdvancedConfig *string `json:"AdvancedConfig,omitnil,omitempty" name:"AdvancedConfig"` }
Predefined struct for user
type ModifyConfigExtraResponse ¶ added in v1.0.365
type ModifyConfigExtraResponse struct { *tchttp.BaseResponse Response *ModifyConfigExtraResponseParams `json:"Response"` }
func NewModifyConfigExtraResponse ¶ added in v1.0.365
func NewModifyConfigExtraResponse() (response *ModifyConfigExtraResponse)
func (*ModifyConfigExtraResponse) FromJsonString ¶ added in v1.0.365
func (r *ModifyConfigExtraResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyConfigExtraResponse) ToJsonString ¶ added in v1.0.365
func (r *ModifyConfigExtraResponse) ToJsonString() string
type ModifyConfigExtraResponseParams ¶ added in v1.0.426
type ModifyConfigExtraResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyConfigRequest ¶ added in v1.0.209
type ModifyConfigRequest struct { *tchttp.BaseRequest // 采集规则配置ID,通过[获取采集规则配置](https://cloud.tencent.com/document/product/614/58616)返回信息获取。 ConfigId *string `json:"ConfigId,omitnil,omitempty" name:"ConfigId"` // 采集规则配置名称 Name *string `json:"Name,omitnil,omitempty" name:"Name"` // 日志采集路径,包含文件名 Path *string `json:"Path,omitnil,omitempty" name:"Path"` // 采集的日志类型。支持以下类型: // - json_log代表:JSON-文件日志(详见[使用 JSON 提取模式采集日志](https://cloud.tencent.com/document/product/614/17419)); // - delimiter_log代表:分隔符-文件日志(详见[使用分隔符提取模式采集日志](https://cloud.tencent.com/document/product/614/17420)); // - minimalist_log代表:单行全文-文件日志(详见[使用单行全文提取模式采集日志](https://cloud.tencent.com/document/product/614/17421)); // - fullregex_log代表:单行完全正则-文件日志(详见[使用单行-完全正则提取模式采集日志](https://cloud.tencent.com/document/product/614/52365)); // - multiline_log代表:多行全文-文件日志(详见[使用多行全文提取模式采集日志](https://cloud.tencent.com/document/product/614/17422)); // - multiline_fullregex_log代表:多行完全正则-文件日志(详见[使用多行-完全正则提取模式采集日志](https://cloud.tencent.com/document/product/614/52366)); // - user_define_log代表:组合解析(适用于多格式嵌套的日志,详见[使用组合解析提取模式采集日志](https://cloud.tencent.com/document/product/614/61310)); // - service_syslog代表:syslog 采集(详见[采集 Syslog](https://cloud.tencent.com/document/product/614/81454)); // - windows_event_log代表:Windows事件日志(详见[采集 Windows 事件日志](https://cloud.tencent.com/document/product/614/96678))。 // LogType *string `json:"LogType,omitnil,omitempty" name:"LogType"` // 提取规则,如果设置了ExtractRule,则必须设置LogType ExtractRule *ExtractRuleInfo `json:"ExtractRule,omitnil,omitempty" name:"ExtractRule"` // 采集黑名单路径列表 ExcludePaths []*ExcludePathInfo `json:"ExcludePaths,omitnil,omitempty" name:"ExcludePaths"` // 采集配置关联的日志主题(TopicId) Output *string `json:"Output,omitnil,omitempty" name:"Output"` // 用户自定义解析字符串,Json格式序列化的字符串。 UserDefineRule *string `json:"UserDefineRule,omitnil,omitempty" name:"UserDefineRule"` // 高级采集配置。 Json字符串, Key/Value定义为如下: // - ClsAgentFileTimeout(超时属性), 取值范围: 大于等于0的整数, 0为不超时 // - ClsAgentMaxDepth(最大目录深度),取值范围: 大于等于0的整数 // - ClsAgentParseFailMerge(合并解析失败日志),取值范围: true或false // 样例: // `{\"ClsAgentFileTimeout\":0,\"ClsAgentMaxDepth\":10,\"ClsAgentParseFailMerge\":true}` AdvancedConfig *string `json:"AdvancedConfig,omitnil,omitempty" name:"AdvancedConfig"` }
func NewModifyConfigRequest ¶ added in v1.0.209
func NewModifyConfigRequest() (request *ModifyConfigRequest)
func (*ModifyConfigRequest) FromJsonString ¶ added in v1.0.209
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 ¶ added in v1.0.209
func (r *ModifyConfigRequest) ToJsonString() string
type ModifyConfigRequestParams ¶ added in v1.0.426
type ModifyConfigRequestParams struct { // 采集规则配置ID,通过[获取采集规则配置](https://cloud.tencent.com/document/product/614/58616)返回信息获取。 ConfigId *string `json:"ConfigId,omitnil,omitempty" name:"ConfigId"` // 采集规则配置名称 Name *string `json:"Name,omitnil,omitempty" name:"Name"` // 日志采集路径,包含文件名 Path *string `json:"Path,omitnil,omitempty" name:"Path"` // 采集的日志类型。支持以下类型: // - json_log代表:JSON-文件日志(详见[使用 JSON 提取模式采集日志](https://cloud.tencent.com/document/product/614/17419)); // - delimiter_log代表:分隔符-文件日志(详见[使用分隔符提取模式采集日志](https://cloud.tencent.com/document/product/614/17420)); // - minimalist_log代表:单行全文-文件日志(详见[使用单行全文提取模式采集日志](https://cloud.tencent.com/document/product/614/17421)); // - fullregex_log代表:单行完全正则-文件日志(详见[使用单行-完全正则提取模式采集日志](https://cloud.tencent.com/document/product/614/52365)); // - multiline_log代表:多行全文-文件日志(详见[使用多行全文提取模式采集日志](https://cloud.tencent.com/document/product/614/17422)); // - multiline_fullregex_log代表:多行完全正则-文件日志(详见[使用多行-完全正则提取模式采集日志](https://cloud.tencent.com/document/product/614/52366)); // - user_define_log代表:组合解析(适用于多格式嵌套的日志,详见[使用组合解析提取模式采集日志](https://cloud.tencent.com/document/product/614/61310)); // - service_syslog代表:syslog 采集(详见[采集 Syslog](https://cloud.tencent.com/document/product/614/81454)); // - windows_event_log代表:Windows事件日志(详见[采集 Windows 事件日志](https://cloud.tencent.com/document/product/614/96678))。 // LogType *string `json:"LogType,omitnil,omitempty" name:"LogType"` // 提取规则,如果设置了ExtractRule,则必须设置LogType ExtractRule *ExtractRuleInfo `json:"ExtractRule,omitnil,omitempty" name:"ExtractRule"` // 采集黑名单路径列表 ExcludePaths []*ExcludePathInfo `json:"ExcludePaths,omitnil,omitempty" name:"ExcludePaths"` // 采集配置关联的日志主题(TopicId) Output *string `json:"Output,omitnil,omitempty" name:"Output"` // 用户自定义解析字符串,Json格式序列化的字符串。 UserDefineRule *string `json:"UserDefineRule,omitnil,omitempty" name:"UserDefineRule"` // 高级采集配置。 Json字符串, Key/Value定义为如下: // - ClsAgentFileTimeout(超时属性), 取值范围: 大于等于0的整数, 0为不超时 // - ClsAgentMaxDepth(最大目录深度),取值范围: 大于等于0的整数 // - ClsAgentParseFailMerge(合并解析失败日志),取值范围: true或false // 样例: // `{\"ClsAgentFileTimeout\":0,\"ClsAgentMaxDepth\":10,\"ClsAgentParseFailMerge\":true}` AdvancedConfig *string `json:"AdvancedConfig,omitnil,omitempty" name:"AdvancedConfig"` }
Predefined struct for user
type ModifyConfigResponse ¶ added in v1.0.209
type ModifyConfigResponse struct { *tchttp.BaseResponse Response *ModifyConfigResponseParams `json:"Response"` }
func NewModifyConfigResponse ¶ added in v1.0.209
func NewModifyConfigResponse() (response *ModifyConfigResponse)
func (*ModifyConfigResponse) FromJsonString ¶ added in v1.0.209
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 ¶ added in v1.0.209
func (r *ModifyConfigResponse) ToJsonString() string
type ModifyConfigResponseParams ¶ added in v1.0.426
type ModifyConfigResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyConsumerRequest ¶ added in v1.0.315
type ModifyConsumerRequest struct { *tchttp.BaseRequest // 投递任务绑定的日志主题 ID TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"` // 投递任务是否生效,默认不生效 Effective *bool `json:"Effective,omitnil,omitempty" name:"Effective"` // 是否投递日志的元数据信息,默认为 true。 // 当NeedContent为true时:字段Content有效。 // 当NeedContent为false时:字段Content无效。 NeedContent *bool `json:"NeedContent,omitnil,omitempty" name:"NeedContent"` // 如果需要投递元数据信息,元数据信息的描述 Content *ConsumerContent `json:"Content,omitnil,omitempty" name:"Content"` // CKafka的描述 Ckafka *Ckafka `json:"Ckafka,omitnil,omitempty" name:"Ckafka"` // 投递时压缩方式,取值0,2,3。[0:NONE;2:SNAPPY;3:LZ4] Compression *int64 `json:"Compression,omitnil,omitempty" name:"Compression"` }
func NewModifyConsumerRequest ¶ added in v1.0.315
func NewModifyConsumerRequest() (request *ModifyConsumerRequest)
func (*ModifyConsumerRequest) FromJsonString ¶ added in v1.0.315
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 ¶ added in v1.0.315
func (r *ModifyConsumerRequest) ToJsonString() string
type ModifyConsumerRequestParams ¶ added in v1.0.426
type ModifyConsumerRequestParams struct { // 投递任务绑定的日志主题 ID TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"` // 投递任务是否生效,默认不生效 Effective *bool `json:"Effective,omitnil,omitempty" name:"Effective"` // 是否投递日志的元数据信息,默认为 true。 // 当NeedContent为true时:字段Content有效。 // 当NeedContent为false时:字段Content无效。 NeedContent *bool `json:"NeedContent,omitnil,omitempty" name:"NeedContent"` // 如果需要投递元数据信息,元数据信息的描述 Content *ConsumerContent `json:"Content,omitnil,omitempty" name:"Content"` // CKafka的描述 Ckafka *Ckafka `json:"Ckafka,omitnil,omitempty" name:"Ckafka"` // 投递时压缩方式,取值0,2,3。[0:NONE;2:SNAPPY;3:LZ4] Compression *int64 `json:"Compression,omitnil,omitempty" name:"Compression"` }
Predefined struct for user
type ModifyConsumerResponse ¶ added in v1.0.315
type ModifyConsumerResponse struct { *tchttp.BaseResponse Response *ModifyConsumerResponseParams `json:"Response"` }
func NewModifyConsumerResponse ¶ added in v1.0.315
func NewModifyConsumerResponse() (response *ModifyConsumerResponse)
func (*ModifyConsumerResponse) FromJsonString ¶ added in v1.0.315
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 ¶ added in v1.0.315
func (r *ModifyConsumerResponse) ToJsonString() string
type ModifyConsumerResponseParams ¶ added in v1.0.426
type ModifyConsumerResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyCosRechargeRequest ¶ added in v1.0.613
type ModifyCosRechargeRequest struct { *tchttp.BaseRequest // COS导入配置Id Id *string `json:"Id,omitnil,omitempty" name:"Id"` // 日志主题Id TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"` // COS导入任务名称 Name *string `json:"Name,omitnil,omitempty" name:"Name"` // 任务状态 0: 停用 , 1:启用 Enable *uint64 `json:"Enable,omitnil,omitempty" name:"Enable"` // COS存储桶,详见产品支持的[存储桶命名规范](https://cloud.tencent.com/document/product/436/13312)。 Bucket *string `json:"Bucket,omitnil,omitempty" name:"Bucket"` // COS存储桶所在地域,详见产品支持的[地域列表](https://cloud.tencent.com/document/product/436/6224)。 BucketRegion *string `json:"BucketRegion,omitnil,omitempty" name:"BucketRegion"` // COS文件所在文件夹的前缀。为空串时投递存储桶下所有的文件。 Prefix *string `json:"Prefix,omitnil,omitempty" name:"Prefix"` // 采集的日志类型,json_log代表json格式日志,delimiter_log代表分隔符格式日志,minimalist_log代表单行全文; 默认为minimalist_log LogType *string `json:"LogType,omitnil,omitempty" name:"LogType"` // 解析格式。supported: "", "gzip", "lzop", "snappy"; 默认空 Compress *string `json:"Compress,omitnil,omitempty" name:"Compress"` // 提取规则,如果设置了ExtractRule,则必须设置LogType ExtractRuleInfo *ExtractRuleInfo `json:"ExtractRuleInfo,omitnil,omitempty" name:"ExtractRuleInfo"` // COS导入任务类型。1:一次性导入任务;2:持续性导入任务。 TaskType *uint64 `json:"TaskType,omitnil,omitempty" name:"TaskType"` // 元数据。支持 bucket,object。 Metadata []*string `json:"Metadata,omitnil,omitempty" name:"Metadata"` }
func NewModifyCosRechargeRequest ¶ added in v1.0.613
func NewModifyCosRechargeRequest() (request *ModifyCosRechargeRequest)
func (*ModifyCosRechargeRequest) FromJsonString ¶ added in v1.0.613
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 ¶ added in v1.0.613
func (r *ModifyCosRechargeRequest) ToJsonString() string
type ModifyCosRechargeRequestParams ¶ added in v1.0.613
type ModifyCosRechargeRequestParams struct { // COS导入配置Id Id *string `json:"Id,omitnil,omitempty" name:"Id"` // 日志主题Id TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"` // COS导入任务名称 Name *string `json:"Name,omitnil,omitempty" name:"Name"` // 任务状态 0: 停用 , 1:启用 Enable *uint64 `json:"Enable,omitnil,omitempty" name:"Enable"` // COS存储桶,详见产品支持的[存储桶命名规范](https://cloud.tencent.com/document/product/436/13312)。 Bucket *string `json:"Bucket,omitnil,omitempty" name:"Bucket"` // COS存储桶所在地域,详见产品支持的[地域列表](https://cloud.tencent.com/document/product/436/6224)。 BucketRegion *string `json:"BucketRegion,omitnil,omitempty" name:"BucketRegion"` // COS文件所在文件夹的前缀。为空串时投递存储桶下所有的文件。 Prefix *string `json:"Prefix,omitnil,omitempty" name:"Prefix"` // 采集的日志类型,json_log代表json格式日志,delimiter_log代表分隔符格式日志,minimalist_log代表单行全文; 默认为minimalist_log LogType *string `json:"LogType,omitnil,omitempty" name:"LogType"` // 解析格式。supported: "", "gzip", "lzop", "snappy"; 默认空 Compress *string `json:"Compress,omitnil,omitempty" name:"Compress"` // 提取规则,如果设置了ExtractRule,则必须设置LogType ExtractRuleInfo *ExtractRuleInfo `json:"ExtractRuleInfo,omitnil,omitempty" name:"ExtractRuleInfo"` // COS导入任务类型。1:一次性导入任务;2:持续性导入任务。 TaskType *uint64 `json:"TaskType,omitnil,omitempty" name:"TaskType"` // 元数据。支持 bucket,object。 Metadata []*string `json:"Metadata,omitnil,omitempty" name:"Metadata"` }
Predefined struct for user
type ModifyCosRechargeResponse ¶ added in v1.0.613
type ModifyCosRechargeResponse struct { *tchttp.BaseResponse Response *ModifyCosRechargeResponseParams `json:"Response"` }
func NewModifyCosRechargeResponse ¶ added in v1.0.613
func NewModifyCosRechargeResponse() (response *ModifyCosRechargeResponse)
func (*ModifyCosRechargeResponse) FromJsonString ¶ added in v1.0.613
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 ¶ added in v1.0.613
func (r *ModifyCosRechargeResponse) ToJsonString() string
type ModifyCosRechargeResponseParams ¶ added in v1.0.613
type ModifyCosRechargeResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyDashboardSubscribeRequest ¶ added in v1.0.912
type ModifyDashboardSubscribeRequest struct {
*tchttp.BaseRequest
}
func NewModifyDashboardSubscribeRequest ¶ added in v1.0.912
func NewModifyDashboardSubscribeRequest() (request *ModifyDashboardSubscribeRequest)
func (*ModifyDashboardSubscribeRequest) FromJsonString ¶ added in v1.0.912
func (r *ModifyDashboardSubscribeRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyDashboardSubscribeRequest) ToJsonString ¶ added in v1.0.912
func (r *ModifyDashboardSubscribeRequest) ToJsonString() string
type ModifyDashboardSubscribeRequestParams ¶ added in v1.0.912
type ModifyDashboardSubscribeRequestParams struct { }
Predefined struct for user
type ModifyDashboardSubscribeResponse ¶ added in v1.0.912
type ModifyDashboardSubscribeResponse struct { *tchttp.BaseResponse Response *ModifyDashboardSubscribeResponseParams `json:"Response"` }
func NewModifyDashboardSubscribeResponse ¶ added in v1.0.912
func NewModifyDashboardSubscribeResponse() (response *ModifyDashboardSubscribeResponse)
func (*ModifyDashboardSubscribeResponse) FromJsonString ¶ added in v1.0.912
func (r *ModifyDashboardSubscribeResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyDashboardSubscribeResponse) ToJsonString ¶ added in v1.0.912
func (r *ModifyDashboardSubscribeResponse) ToJsonString() string
type ModifyDashboardSubscribeResponseParams ¶ added in v1.0.912
type ModifyDashboardSubscribeResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyDataTransformRequest ¶ added in v1.0.380
type ModifyDataTransformRequest struct { *tchttp.BaseRequest // 加工任务id TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"` // 加工任务名称 Name *string `json:"Name,omitnil,omitempty" name:"Name"` // 加工语句。 当FuncType为2时,EtlContent必须使用[log_auto_output](https://cloud.tencent.com/document/product/614/70733#b3c58797-4825-4807-bef4-68106e25024f) // // 其他参考文档: // // - [创建加工任务](https://cloud.tencent.com/document/product/614/63940) // - [函数总览](https://cloud.tencent.com/document/product/614/70395) EtlContent *string `json:"EtlContent,omitnil,omitempty" name:"EtlContent"` // 任务启动状态. 默认为1,开启, 2关闭 EnableFlag *int64 `json:"EnableFlag,omitnil,omitempty" name:"EnableFlag"` // 加工任务目的topic_id以及别名 DstResources []*DataTransformResouceInfo `json:"DstResources,omitnil,omitempty" name:"DstResources"` // 是否开启投递服务日志。1关闭,2开启 HasServicesLog *uint64 `json:"HasServicesLog,omitnil,omitempty" name:"HasServicesLog"` }
func NewModifyDataTransformRequest ¶ added in v1.0.380
func NewModifyDataTransformRequest() (request *ModifyDataTransformRequest)
func (*ModifyDataTransformRequest) FromJsonString ¶ added in v1.0.380
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 ¶ added in v1.0.380
func (r *ModifyDataTransformRequest) ToJsonString() string
type ModifyDataTransformRequestParams ¶ added in v1.0.426
type ModifyDataTransformRequestParams struct { // 加工任务id TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"` // 加工任务名称 Name *string `json:"Name,omitnil,omitempty" name:"Name"` // 加工语句。 当FuncType为2时,EtlContent必须使用[log_auto_output](https://cloud.tencent.com/document/product/614/70733#b3c58797-4825-4807-bef4-68106e25024f) // // 其他参考文档: // // - [创建加工任务](https://cloud.tencent.com/document/product/614/63940) // - [函数总览](https://cloud.tencent.com/document/product/614/70395) EtlContent *string `json:"EtlContent,omitnil,omitempty" name:"EtlContent"` // 任务启动状态. 默认为1,开启, 2关闭 EnableFlag *int64 `json:"EnableFlag,omitnil,omitempty" name:"EnableFlag"` // 加工任务目的topic_id以及别名 DstResources []*DataTransformResouceInfo `json:"DstResources,omitnil,omitempty" name:"DstResources"` // 是否开启投递服务日志。1关闭,2开启 HasServicesLog *uint64 `json:"HasServicesLog,omitnil,omitempty" name:"HasServicesLog"` }
Predefined struct for user
type ModifyDataTransformResponse ¶ added in v1.0.380
type ModifyDataTransformResponse struct { *tchttp.BaseResponse Response *ModifyDataTransformResponseParams `json:"Response"` }
func NewModifyDataTransformResponse ¶ added in v1.0.380
func NewModifyDataTransformResponse() (response *ModifyDataTransformResponse)
func (*ModifyDataTransformResponse) FromJsonString ¶ added in v1.0.380
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 ¶ added in v1.0.380
func (r *ModifyDataTransformResponse) ToJsonString() string
type ModifyDataTransformResponseParams ¶ added in v1.0.426
type ModifyDataTransformResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyIndexRequest ¶
type ModifyIndexRequest struct { *tchttp.BaseRequest // 日志主题ID TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"` // 默认不生效 Status *bool `json:"Status,omitnil,omitempty" name:"Status"` // 索引规则 Rule *RuleInfo `json:"Rule,omitnil,omitempty" name:"Rule"` // 内置保留字段(`__FILENAME__`,`__HOSTNAME__`及`__SOURCE__`)是否包含至全文索引,默认为false,推荐设置为true // * false:不包含 // * true:包含 IncludeInternalFields *bool `json:"IncludeInternalFields,omitnil,omitempty" name:"IncludeInternalFields"` // 元数据字段(前缀为`__TAG__`的字段)是否包含至全文索引,默认为0,推荐设置为1 // * 0:仅包含开启键值索引的元数据字段 // * 1:包含所有元数据字段 // * 2:不包含任何元数据字段 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 ¶ added in v1.0.426
type ModifyIndexRequestParams struct { // 日志主题ID TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"` // 默认不生效 Status *bool `json:"Status,omitnil,omitempty" name:"Status"` // 索引规则 Rule *RuleInfo `json:"Rule,omitnil,omitempty" name:"Rule"` // 内置保留字段(`__FILENAME__`,`__HOSTNAME__`及`__SOURCE__`)是否包含至全文索引,默认为false,推荐设置为true // * false:不包含 // * true:包含 IncludeInternalFields *bool `json:"IncludeInternalFields,omitnil,omitempty" name:"IncludeInternalFields"` // 元数据字段(前缀为`__TAG__`的字段)是否包含至全文索引,默认为0,推荐设置为1 // * 0:仅包含开启键值索引的元数据字段 // * 1:包含所有元数据字段 // * 2:不包含任何元数据字段 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 ¶ added in v1.0.426
type ModifyIndexResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyKafkaConsumerRequest ¶ added in v1.0.712
type ModifyKafkaConsumerRequest struct { *tchttp.BaseRequest // 日志主题ID FromTopicId *string `json:"FromTopicId,omitnil,omitempty" name:"FromTopicId"` // 压缩方式[0:NONE;2:SNAPPY;3:LZ4] Compression *int64 `json:"Compression,omitnil,omitempty" name:"Compression"` // kafka协议消费数据格式 ConsumerContent *KafkaConsumerContent `json:"ConsumerContent,omitnil,omitempty" name:"ConsumerContent"` }
func NewModifyKafkaConsumerRequest ¶ added in v1.0.712
func NewModifyKafkaConsumerRequest() (request *ModifyKafkaConsumerRequest)
func (*ModifyKafkaConsumerRequest) FromJsonString ¶ added in v1.0.712
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 ¶ added in v1.0.712
func (r *ModifyKafkaConsumerRequest) ToJsonString() string
type ModifyKafkaConsumerRequestParams ¶ added in v1.0.712
type ModifyKafkaConsumerRequestParams struct { // 日志主题ID FromTopicId *string `json:"FromTopicId,omitnil,omitempty" name:"FromTopicId"` // 压缩方式[0:NONE;2:SNAPPY;3:LZ4] Compression *int64 `json:"Compression,omitnil,omitempty" name:"Compression"` // kafka协议消费数据格式 ConsumerContent *KafkaConsumerContent `json:"ConsumerContent,omitnil,omitempty" name:"ConsumerContent"` }
Predefined struct for user
type ModifyKafkaConsumerResponse ¶ added in v1.0.712
type ModifyKafkaConsumerResponse struct { *tchttp.BaseResponse Response *ModifyKafkaConsumerResponseParams `json:"Response"` }
func NewModifyKafkaConsumerResponse ¶ added in v1.0.712
func NewModifyKafkaConsumerResponse() (response *ModifyKafkaConsumerResponse)
func (*ModifyKafkaConsumerResponse) FromJsonString ¶ added in v1.0.712
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 ¶ added in v1.0.712
func (r *ModifyKafkaConsumerResponse) ToJsonString() string
type ModifyKafkaConsumerResponseParams ¶ added in v1.0.712
type ModifyKafkaConsumerResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyKafkaRechargeRequest ¶ added in v1.0.693
type ModifyKafkaRechargeRequest struct { *tchttp.BaseRequest // Kafka导入配置ID Id *string `json:"Id,omitnil,omitempty" name:"Id"` // 导入CLS目标topic ID TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"` // Kafka导入配置名称 Name *string `json:"Name,omitnil,omitempty" name:"Name"` // 导入Kafka类型,0:腾讯云CKafka:1:用户自建Kafka。 KafkaType *uint64 `json:"KafkaType,omitnil,omitempty" name:"KafkaType"` // 腾讯云CKafka实例ID,KafkaType为0时必填。 KafkaInstance *string `json:"KafkaInstance,omitnil,omitempty" name:"KafkaInstance"` // 服务地址,KafkaType为1时必填。 ServerAddr *string `json:"ServerAddr,omitnil,omitempty" name:"ServerAddr"` // ServerAddr是否为加密连接,KafkaType为1时必填。 IsEncryptionAddr *bool `json:"IsEncryptionAddr,omitnil,omitempty" name:"IsEncryptionAddr"` // 加密访问协议,KafkaType参数为1并且IsEncryptionAddr参数为true时必填。 Protocol *KafkaProtocolInfo `json:"Protocol,omitnil,omitempty" name:"Protocol"` // 用户需要导入的Kafka相关topic列表,多个topic之间使用半角逗号隔开 UserKafkaTopics *string `json:"UserKafkaTopics,omitnil,omitempty" name:"UserKafkaTopics"` // 用户Kafka消费组名称 ConsumerGroupName *string `json:"ConsumerGroupName,omitnil,omitempty" name:"ConsumerGroupName"` // 日志导入规则 LogRechargeRule *LogRechargeRuleInfo `json:"LogRechargeRule,omitnil,omitempty" name:"LogRechargeRule"` // 导入控制,1:暂停;2:继续。 StatusControl *uint64 `json:"StatusControl,omitnil,omitempty" name:"StatusControl"` }
func NewModifyKafkaRechargeRequest ¶ added in v1.0.693
func NewModifyKafkaRechargeRequest() (request *ModifyKafkaRechargeRequest)
func (*ModifyKafkaRechargeRequest) FromJsonString ¶ added in v1.0.693
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 ¶ added in v1.0.693
func (r *ModifyKafkaRechargeRequest) ToJsonString() string
type ModifyKafkaRechargeRequestParams ¶ added in v1.0.693
type ModifyKafkaRechargeRequestParams struct { // Kafka导入配置ID Id *string `json:"Id,omitnil,omitempty" name:"Id"` // 导入CLS目标topic ID TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"` // Kafka导入配置名称 Name *string `json:"Name,omitnil,omitempty" name:"Name"` // 导入Kafka类型,0:腾讯云CKafka:1:用户自建Kafka。 KafkaType *uint64 `json:"KafkaType,omitnil,omitempty" name:"KafkaType"` // 腾讯云CKafka实例ID,KafkaType为0时必填。 KafkaInstance *string `json:"KafkaInstance,omitnil,omitempty" name:"KafkaInstance"` // 服务地址,KafkaType为1时必填。 ServerAddr *string `json:"ServerAddr,omitnil,omitempty" name:"ServerAddr"` // ServerAddr是否为加密连接,KafkaType为1时必填。 IsEncryptionAddr *bool `json:"IsEncryptionAddr,omitnil,omitempty" name:"IsEncryptionAddr"` // 加密访问协议,KafkaType参数为1并且IsEncryptionAddr参数为true时必填。 Protocol *KafkaProtocolInfo `json:"Protocol,omitnil,omitempty" name:"Protocol"` // 用户需要导入的Kafka相关topic列表,多个topic之间使用半角逗号隔开 UserKafkaTopics *string `json:"UserKafkaTopics,omitnil,omitempty" name:"UserKafkaTopics"` // 用户Kafka消费组名称 ConsumerGroupName *string `json:"ConsumerGroupName,omitnil,omitempty" name:"ConsumerGroupName"` // 日志导入规则 LogRechargeRule *LogRechargeRuleInfo `json:"LogRechargeRule,omitnil,omitempty" name:"LogRechargeRule"` // 导入控制,1:暂停;2:继续。 StatusControl *uint64 `json:"StatusControl,omitnil,omitempty" name:"StatusControl"` }
Predefined struct for user
type ModifyKafkaRechargeResponse ¶ added in v1.0.693
type ModifyKafkaRechargeResponse struct { *tchttp.BaseResponse Response *ModifyKafkaRechargeResponseParams `json:"Response"` }
func NewModifyKafkaRechargeResponse ¶ added in v1.0.693
func NewModifyKafkaRechargeResponse() (response *ModifyKafkaRechargeResponse)
func (*ModifyKafkaRechargeResponse) FromJsonString ¶ added in v1.0.693
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 ¶ added in v1.0.693
func (r *ModifyKafkaRechargeResponse) ToJsonString() string
type ModifyKafkaRechargeResponseParams ¶ added in v1.0.693
type ModifyKafkaRechargeResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyLogsetRequest ¶ added in v1.0.209
type ModifyLogsetRequest struct { *tchttp.BaseRequest // 日志集ID LogsetId *string `json:"LogsetId,omitnil,omitempty" name:"LogsetId"` // 日志集名称 LogsetName *string `json:"LogsetName,omitnil,omitempty" name:"LogsetName"` // 日志集的绑定的标签键值对。最大支持10个标签键值对,同一个资源只能同时绑定一个标签键。 Tags []*Tag `json:"Tags,omitnil,omitempty" name:"Tags"` }
func NewModifyLogsetRequest ¶ added in v1.0.209
func NewModifyLogsetRequest() (request *ModifyLogsetRequest)
func (*ModifyLogsetRequest) FromJsonString ¶ added in v1.0.209
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 ¶ added in v1.0.209
func (r *ModifyLogsetRequest) ToJsonString() string
type ModifyLogsetRequestParams ¶ added in v1.0.426
type ModifyLogsetRequestParams struct { // 日志集ID LogsetId *string `json:"LogsetId,omitnil,omitempty" name:"LogsetId"` // 日志集名称 LogsetName *string `json:"LogsetName,omitnil,omitempty" name:"LogsetName"` // 日志集的绑定的标签键值对。最大支持10个标签键值对,同一个资源只能同时绑定一个标签键。 Tags []*Tag `json:"Tags,omitnil,omitempty" name:"Tags"` }
Predefined struct for user
type ModifyLogsetResponse ¶ added in v1.0.209
type ModifyLogsetResponse struct { *tchttp.BaseResponse Response *ModifyLogsetResponseParams `json:"Response"` }
func NewModifyLogsetResponse ¶ added in v1.0.209
func NewModifyLogsetResponse() (response *ModifyLogsetResponse)
func (*ModifyLogsetResponse) FromJsonString ¶ added in v1.0.209
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 ¶ added in v1.0.209
func (r *ModifyLogsetResponse) ToJsonString() string
type ModifyLogsetResponseParams ¶ added in v1.0.426
type ModifyLogsetResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyMachineGroupRequest ¶
type ModifyMachineGroupRequest struct { *tchttp.BaseRequest // 机器组ID GroupId *string `json:"GroupId,omitnil,omitempty" name:"GroupId"` // 机器组名称 GroupName *string `json:"GroupName,omitnil,omitempty" name:"GroupName"` // 机器组类型。Type:ip,Values中为ip字符串列表机器组;Type:label,Values中为标签字符串列表机器组。 MachineGroupType *MachineGroupTypeInfo `json:"MachineGroupType,omitnil,omitempty" name:"MachineGroupType"` // 标签列表 Tags []*Tag `json:"Tags,omitnil,omitempty" name:"Tags"` // 是否开启机器组自动更新 AutoUpdate *bool `json:"AutoUpdate,omitnil,omitempty" name:"AutoUpdate"` // 升级开始时间,建议业务低峰期升级LogListener UpdateStartTime *string `json:"UpdateStartTime,omitnil,omitempty" name:"UpdateStartTime"` // 升级结束时间,建议业务低峰期升级LogListener UpdateEndTime *string `json:"UpdateEndTime,omitnil,omitempty" name:"UpdateEndTime"` // 是否开启服务日志,用于记录因Loglistener 服务自身产生的log,开启后,会创建内部日志集cls_service_logging和日志主题loglistener_status,loglistener_alarm,loglistener_business,不产生计费 ServiceLogging *bool `json:"ServiceLogging,omitnil,omitempty" name:"ServiceLogging"` // 机器组中机器定期离线清理时间。单位:天 DelayCleanupTime *int64 `json:"DelayCleanupTime,omitnil,omitempty" name:"DelayCleanupTime"` // 机器组元数据信息列表 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 ¶ added in v1.0.426
type ModifyMachineGroupRequestParams struct { // 机器组ID GroupId *string `json:"GroupId,omitnil,omitempty" name:"GroupId"` // 机器组名称 GroupName *string `json:"GroupName,omitnil,omitempty" name:"GroupName"` // 机器组类型。Type:ip,Values中为ip字符串列表机器组;Type:label,Values中为标签字符串列表机器组。 MachineGroupType *MachineGroupTypeInfo `json:"MachineGroupType,omitnil,omitempty" name:"MachineGroupType"` // 标签列表 Tags []*Tag `json:"Tags,omitnil,omitempty" name:"Tags"` // 是否开启机器组自动更新 AutoUpdate *bool `json:"AutoUpdate,omitnil,omitempty" name:"AutoUpdate"` // 升级开始时间,建议业务低峰期升级LogListener UpdateStartTime *string `json:"UpdateStartTime,omitnil,omitempty" name:"UpdateStartTime"` // 升级结束时间,建议业务低峰期升级LogListener UpdateEndTime *string `json:"UpdateEndTime,omitnil,omitempty" name:"UpdateEndTime"` // 是否开启服务日志,用于记录因Loglistener 服务自身产生的log,开启后,会创建内部日志集cls_service_logging和日志主题loglistener_status,loglistener_alarm,loglistener_business,不产生计费 ServiceLogging *bool `json:"ServiceLogging,omitnil,omitempty" name:"ServiceLogging"` // 机器组中机器定期离线清理时间。单位:天 DelayCleanupTime *int64 `json:"DelayCleanupTime,omitnil,omitempty" name:"DelayCleanupTime"` // 机器组元数据信息列表 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 ¶ added in v1.0.426
type ModifyMachineGroupResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyScheduledSqlRequest ¶ added in v1.0.708
type ModifyScheduledSqlRequest struct { *tchttp.BaseRequest // 任务ID TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"` // 源日志主题 SrcTopicId *string `json:"SrcTopicId,omitnil,omitempty" name:"SrcTopicId"` // 任务启动状态. 1开启, 2关闭 EnableFlag *int64 `json:"EnableFlag,omitnil,omitempty" name:"EnableFlag"` // 定时SQL分析的目标日志主题 DstResource *ScheduledSqlResouceInfo `json:"DstResource,omitnil,omitempty" name:"DstResource"` // 查询语句 ScheduledSqlContent *string `json:"ScheduledSqlContent,omitnil,omitempty" name:"ScheduledSqlContent"` // 调度周期(分钟) ProcessPeriod *int64 `json:"ProcessPeriod,omitnil,omitempty" name:"ProcessPeriod"` // 单次查询的时间窗口. 例子中为近15分钟 ProcessTimeWindow *string `json:"ProcessTimeWindow,omitnil,omitempty" name:"ProcessTimeWindow"` // 执行延迟(秒) ProcessDelay *int64 `json:"ProcessDelay,omitnil,omitempty" name:"ProcessDelay"` // 源topicId的地域信息 SrcTopicRegion *string `json:"SrcTopicRegion,omitnil,omitempty" name:"SrcTopicRegion"` // 任务名称 Name *string `json:"Name,omitnil,omitempty" name:"Name"` // 语法规则。 默认值为0。 0:Lucene语法,1:CQL语法 SyntaxRule *uint64 `json:"SyntaxRule,omitnil,omitempty" name:"SyntaxRule"` }
func NewModifyScheduledSqlRequest ¶ added in v1.0.708
func NewModifyScheduledSqlRequest() (request *ModifyScheduledSqlRequest)
func (*ModifyScheduledSqlRequest) FromJsonString ¶ added in v1.0.708
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 ¶ added in v1.0.708
func (r *ModifyScheduledSqlRequest) ToJsonString() string
type ModifyScheduledSqlRequestParams ¶ added in v1.0.708
type ModifyScheduledSqlRequestParams struct { // 任务ID TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"` // 源日志主题 SrcTopicId *string `json:"SrcTopicId,omitnil,omitempty" name:"SrcTopicId"` // 任务启动状态. 1开启, 2关闭 EnableFlag *int64 `json:"EnableFlag,omitnil,omitempty" name:"EnableFlag"` // 定时SQL分析的目标日志主题 DstResource *ScheduledSqlResouceInfo `json:"DstResource,omitnil,omitempty" name:"DstResource"` // 查询语句 ScheduledSqlContent *string `json:"ScheduledSqlContent,omitnil,omitempty" name:"ScheduledSqlContent"` // 调度周期(分钟) ProcessPeriod *int64 `json:"ProcessPeriod,omitnil,omitempty" name:"ProcessPeriod"` // 单次查询的时间窗口. 例子中为近15分钟 ProcessTimeWindow *string `json:"ProcessTimeWindow,omitnil,omitempty" name:"ProcessTimeWindow"` // 执行延迟(秒) ProcessDelay *int64 `json:"ProcessDelay,omitnil,omitempty" name:"ProcessDelay"` // 源topicId的地域信息 SrcTopicRegion *string `json:"SrcTopicRegion,omitnil,omitempty" name:"SrcTopicRegion"` // 任务名称 Name *string `json:"Name,omitnil,omitempty" name:"Name"` // 语法规则。 默认值为0。 0:Lucene语法,1:CQL语法 SyntaxRule *uint64 `json:"SyntaxRule,omitnil,omitempty" name:"SyntaxRule"` }
Predefined struct for user
type ModifyScheduledSqlResponse ¶ added in v1.0.708
type ModifyScheduledSqlResponse struct { *tchttp.BaseResponse Response *ModifyScheduledSqlResponseParams `json:"Response"` }
func NewModifyScheduledSqlResponse ¶ added in v1.0.708
func NewModifyScheduledSqlResponse() (response *ModifyScheduledSqlResponse)
func (*ModifyScheduledSqlResponse) FromJsonString ¶ added in v1.0.708
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 ¶ added in v1.0.708
func (r *ModifyScheduledSqlResponse) ToJsonString() string
type ModifyScheduledSqlResponseParams ¶ added in v1.0.708
type ModifyScheduledSqlResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyShipperRequest ¶ added in v1.0.210
type ModifyShipperRequest struct { *tchttp.BaseRequest // 投递规则ID ShipperId *string `json:"ShipperId,omitnil,omitempty" name:"ShipperId"` // COS存储桶,详见产品支持的[存储桶命名规范](https://cloud.tencent.com/document/product/436/13312)。 Bucket *string `json:"Bucket,omitnil,omitempty" name:"Bucket"` // 投递规则投递的新的目录前缀。 // - 仅支持0-9A-Za-z-_/ // - 最大支持256个字符 Prefix *string `json:"Prefix,omitnil,omitempty" name:"Prefix"` // 投递规则的开关状态。true:开启投递任务;false:关闭投递任务。 Status *bool `json:"Status,omitnil,omitempty" name:"Status"` // 投递规则的名字 ShipperName *string `json:"ShipperName,omitnil,omitempty" name:"ShipperName"` // 投递的时间间隔,单位 秒,默认300,范围 300-900 Interval *uint64 `json:"Interval,omitnil,omitempty" name:"Interval"` // 投递的文件的最大值,单位 MB,默认256,范围 5-256 MaxSize *uint64 `json:"MaxSize,omitnil,omitempty" name:"MaxSize"` // 投递日志的过滤规则,匹配的日志进行投递,各rule之间是and关系,最多5个,数组为空则表示不过滤而全部投递 FilterRules []*FilterRuleInfo `json:"FilterRules,omitnil,omitempty" name:"FilterRules"` // 投递日志的分区规则,支持strftime的时间格式表示 Partition *string `json:"Partition,omitnil,omitempty" name:"Partition"` // 投递日志的压缩配置 Compress *CompressInfo `json:"Compress,omitnil,omitempty" name:"Compress"` // 投递日志的内容格式配置 Content *ContentInfo `json:"Content,omitnil,omitempty" name:"Content"` // 投递文件命名配置,0:随机数命名,1:投递时间命名。 FilenameMode *uint64 `json:"FilenameMode,omitnil,omitempty" name:"FilenameMode"` // cos桶存储类型。支持:STANDARD_IA、ARCHIVE、DEEP_ARCHIVE、STANDARD、MAZ_STANDARD、MAZ_STANDARD_IA、INTELLIGENT_TIERING。 // // 1. STANDARD_IA:低频存储; // 2. ARCHIVE:归档存储; // 3. DEEP_ARCHIVE:深度归档存储; // 4. STANDARD:标准存储; // 5. MAZ_STANDARD:标准存储(多 AZ); // 6. MAZ_STANDARD_IA:低频存储(多 AZ); // 7. INTELLIGENT_TIERING:智能分层存储。 StorageType *string `json:"StorageType,omitnil,omitempty" name:"StorageType"` }
func NewModifyShipperRequest ¶ added in v1.0.210
func NewModifyShipperRequest() (request *ModifyShipperRequest)
func (*ModifyShipperRequest) FromJsonString ¶ added in v1.0.210
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 ¶ added in v1.0.210
func (r *ModifyShipperRequest) ToJsonString() string
type ModifyShipperRequestParams ¶ added in v1.0.426
type ModifyShipperRequestParams struct { // 投递规则ID ShipperId *string `json:"ShipperId,omitnil,omitempty" name:"ShipperId"` // COS存储桶,详见产品支持的[存储桶命名规范](https://cloud.tencent.com/document/product/436/13312)。 Bucket *string `json:"Bucket,omitnil,omitempty" name:"Bucket"` // 投递规则投递的新的目录前缀。 // - 仅支持0-9A-Za-z-_/ // - 最大支持256个字符 Prefix *string `json:"Prefix,omitnil,omitempty" name:"Prefix"` // 投递规则的开关状态。true:开启投递任务;false:关闭投递任务。 Status *bool `json:"Status,omitnil,omitempty" name:"Status"` // 投递规则的名字 ShipperName *string `json:"ShipperName,omitnil,omitempty" name:"ShipperName"` // 投递的时间间隔,单位 秒,默认300,范围 300-900 Interval *uint64 `json:"Interval,omitnil,omitempty" name:"Interval"` // 投递的文件的最大值,单位 MB,默认256,范围 5-256 MaxSize *uint64 `json:"MaxSize,omitnil,omitempty" name:"MaxSize"` // 投递日志的过滤规则,匹配的日志进行投递,各rule之间是and关系,最多5个,数组为空则表示不过滤而全部投递 FilterRules []*FilterRuleInfo `json:"FilterRules,omitnil,omitempty" name:"FilterRules"` // 投递日志的分区规则,支持strftime的时间格式表示 Partition *string `json:"Partition,omitnil,omitempty" name:"Partition"` // 投递日志的压缩配置 Compress *CompressInfo `json:"Compress,omitnil,omitempty" name:"Compress"` // 投递日志的内容格式配置 Content *ContentInfo `json:"Content,omitnil,omitempty" name:"Content"` // 投递文件命名配置,0:随机数命名,1:投递时间命名。 FilenameMode *uint64 `json:"FilenameMode,omitnil,omitempty" name:"FilenameMode"` // cos桶存储类型。支持:STANDARD_IA、ARCHIVE、DEEP_ARCHIVE、STANDARD、MAZ_STANDARD、MAZ_STANDARD_IA、INTELLIGENT_TIERING。 // // 1. STANDARD_IA:低频存储; // 2. ARCHIVE:归档存储; // 3. DEEP_ARCHIVE:深度归档存储; // 4. STANDARD:标准存储; // 5. MAZ_STANDARD:标准存储(多 AZ); // 6. MAZ_STANDARD_IA:低频存储(多 AZ); // 7. INTELLIGENT_TIERING:智能分层存储。 StorageType *string `json:"StorageType,omitnil,omitempty" name:"StorageType"` }
Predefined struct for user
type ModifyShipperResponse ¶ added in v1.0.210
type ModifyShipperResponse struct { *tchttp.BaseResponse Response *ModifyShipperResponseParams `json:"Response"` }
func NewModifyShipperResponse ¶ added in v1.0.210
func NewModifyShipperResponse() (response *ModifyShipperResponse)
func (*ModifyShipperResponse) FromJsonString ¶ added in v1.0.210
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 ¶ added in v1.0.210
func (r *ModifyShipperResponse) ToJsonString() string
type ModifyShipperResponseParams ¶ added in v1.0.426
type ModifyShipperResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyTopicRequest ¶
type ModifyTopicRequest struct { *tchttp.BaseRequest // 日志主题ID TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"` // 日志主题名称 TopicName *string `json:"TopicName,omitnil,omitempty" name:"TopicName"` // 标签描述列表,通过指定该参数可以同时绑定标签到相应的日志主题。最大支持10个标签键值对,并且不能有重复的键值对。 Tags []*Tag `json:"Tags,omitnil,omitempty" name:"Tags"` // 主题是否开启采集,true:开启采集;false:关闭采集。 // 控制台目前不支持修改此参数。 Status *bool `json:"Status,omitnil,omitempty" name:"Status"` // 是否开启自动分裂 AutoSplit *bool `json:"AutoSplit,omitnil,omitempty" name:"AutoSplit"` // 若开启最大分裂,该主题能够能够允许的最大分区数 MaxSplitPartitions *int64 `json:"MaxSplitPartitions,omitnil,omitempty" name:"MaxSplitPartitions"` // 生命周期,单位天,标准存储取值范围1\~3600,低频存储取值范围7\~3600。取值为3640时代表永久保存 Period *int64 `json:"Period,omitnil,omitempty" name:"Period"` // 日志主题描述 Describes *string `json:"Describes,omitnil,omitempty" name:"Describes"` // 0:关闭日志沉降。 // 非0:开启日志沉降后标准存储的天数。HotPeriod需要大于等于7,且小于Period。仅在StorageType为 hot 时生效 HotPeriod *uint64 `json:"HotPeriod,omitnil,omitempty" name:"HotPeriod"` // 免鉴权开关。 false:关闭; true:开启。 // 开启后将支持指定操作匿名访问该日志主题。详情请参见[日志主题](https://cloud.tencent.com/document/product/614/41035)。 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 ¶ added in v1.0.426
type ModifyTopicRequestParams struct { // 日志主题ID TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"` // 日志主题名称 TopicName *string `json:"TopicName,omitnil,omitempty" name:"TopicName"` // 标签描述列表,通过指定该参数可以同时绑定标签到相应的日志主题。最大支持10个标签键值对,并且不能有重复的键值对。 Tags []*Tag `json:"Tags,omitnil,omitempty" name:"Tags"` // 主题是否开启采集,true:开启采集;false:关闭采集。 // 控制台目前不支持修改此参数。 Status *bool `json:"Status,omitnil,omitempty" name:"Status"` // 是否开启自动分裂 AutoSplit *bool `json:"AutoSplit,omitnil,omitempty" name:"AutoSplit"` // 若开启最大分裂,该主题能够能够允许的最大分区数 MaxSplitPartitions *int64 `json:"MaxSplitPartitions,omitnil,omitempty" name:"MaxSplitPartitions"` // 生命周期,单位天,标准存储取值范围1\~3600,低频存储取值范围7\~3600。取值为3640时代表永久保存 Period *int64 `json:"Period,omitnil,omitempty" name:"Period"` // 日志主题描述 Describes *string `json:"Describes,omitnil,omitempty" name:"Describes"` // 0:关闭日志沉降。 // 非0:开启日志沉降后标准存储的天数。HotPeriod需要大于等于7,且小于Period。仅在StorageType为 hot 时生效 HotPeriod *uint64 `json:"HotPeriod,omitnil,omitempty" name:"HotPeriod"` // 免鉴权开关。 false:关闭; true:开启。 // 开启后将支持指定操作匿名访问该日志主题。详情请参见[日志主题](https://cloud.tencent.com/document/product/614/41035)。 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 ¶ added in v1.0.426
type ModifyTopicResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type MonitorTime ¶
type MultiCondition ¶ added in v1.0.728
type MultiCondition struct { // 触发条件。 // 注意:此字段可能返回 null,表示取不到有效值。 Condition *string `json:"Condition,omitnil,omitempty" name:"Condition"` // 告警级别。0:警告(Warn); 1:提醒(Info); 2:紧急 (Critical)。 // <li> 不填则默认为0。 // 注意:此字段可能返回 null,表示取不到有效值。 AlarmLevel *uint64 `json:"AlarmLevel,omitnil,omitempty" name:"AlarmLevel"` }
type MultiTopicSearchInformation ¶ added in v1.0.683
type NoticeReceiver ¶
type NoticeReceiver struct { // 接受者类型。可选值: // - Uin - 用户ID // - Group - 用户组ID // 暂不支持其余接收者类型。 ReceiverType *string `json:"ReceiverType,omitnil,omitempty" name:"ReceiverType"` // 接收者。 // 当ReceiverType为Uin时,ReceiverIds的值为用户uid。[子用户信息查询](https://cloud.tencent.com/document/api/598/53486) // 当ReceiverType为Group时,ReceiverIds的值为用户组id。[CAM用户组](https://cloud.tencent.com/document/product/598/14985) ReceiverIds []*int64 `json:"ReceiverIds,omitnil,omitempty" name:"ReceiverIds"` // 通知接收渠道。 // - Email - 邮件 // - Sms - 短信 // - WeChat - 微信 // - Phone - 电话 ReceiverChannels []*string `json:"ReceiverChannels,omitnil,omitempty" name:"ReceiverChannels"` // 允许接收信息的开始时间。格式:`15:04:05`,必填。 StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"` // 允许接收信息的结束时间。格式:`15:04:05`,必填。 EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"` // 位序。 // // - 入参时无效。 // - 出参时有效。 Index *int64 `json:"Index,omitnil,omitempty" name:"Index"` }
type NoticeRule ¶ added in v1.0.728
type NoticeRule struct { // 告警通知模板接收者信息。 // 注意:此字段可能返回 null,表示取不到有效值。 NoticeReceivers []*NoticeReceiver `json:"NoticeReceivers,omitnil,omitempty" name:"NoticeReceivers"` // 告警通知模板回调信息。 // 注意:此字段可能返回 null,表示取不到有效值。 WebCallbacks []*WebCallback `json:"WebCallbacks,omitnil,omitempty" name:"WebCallbacks"` // 匹配规则 JSON串。 // **rule规则树格式为嵌套结构体JSON字符串** // `{"Value":"AND","Type":"Operation","Children":[{"Value":"OR","Type":"Operation","Children":[{"Type":"Condition","Value":"Level","Children":[{"Value":"In","Type":"Compare"},{"Value":"[1,0]","Type":"Value"}]},{"Type":"Condition","Value":"Level","Children":[{"Value":"NotIn","Type":"Compare"},{"Value":"[2]","Type":"Value"}]}]}]}` // // **rule规则树限制规则如下**: // - 顶层rule中Type可取值:`Condition`,`Operation` // - Type为`Operation`的子节点支持的Type可取值:`Condition`,`Operation` // - Type为`Condition`的子节点支持的Type可取值:`String`,`Compare`,`Array`,`TimeRange`,`Value`,`Key` // - 其他Type无子节点 // - 当rule Type为`Operation`时,value可取值:`AND`,`OR` // - 当rule Type为`Condition`时,value不可为空,子节点个数不能小于2 // - 当子节点Type为 `Compare` 时,value可取值:`>`,`<`,`>=`,`<=`,`=`,`!=`,`Between`,`NotBetween`,`=~`,`!=~`,`In`,`NotIn` // - value为`Between`,`NotBetween`时,下一个子节点value必须是长度为2的数组 // - value为`=~`,`!=~`时,下一个子节点value必须是一个正则表达式 // - value为`In`,`NotIn`时, 下一个子节点value必须是一个数组 // // **业务参数含义**: // - Type:Condition 表示是规则条件,Value:Level 表示告警等级 // - 子节点Type支持`Compare`,Value支持`In`,`NotIn` // - 下一个子节点value支持的值:0(警告),1(提醒),2 (紧急) // 以下示例表示:告警等级属于提醒 // `{\"Value\":\"AND\",\"Type\":\"Operation\",\"Children\":[{\"Type\":\"Condition\",\"Value\":\"Level\",\"Children\":[{\"Value\":\"In\",\"Type\":\"Compare\"},{\"Value\":\"[1]\",\"Type\":\"Value\"}]}]}` // // - Type:Condition 表示是规则条件,Value:NotifyType 表示通知类型 // - 子节点Type支持`Compare`,Value支持`In`,`NotIn` // - 下一个子节点value支持的值:1(告警通知),2 (恢复通知) // 以下示例表示:通知类型属于告警通知或通知类型不属于恢复通知 // `{\"Value\":\"AND\",\"Type\":\"Operation\",\"Children\":[{\"Value\":\"OR\",\"Type\":\"Operation\",\"Children\":[{\"Type\":\"Condition\",\"Value\":\"NotifyType\",\"Children\":[{\"Value\":\"In\",\"Type\":\"Compare\"},{\"Value\":\"[1]\",\"Type\":\"Value\"}]},{\"Type\":\"Condition\",\"Value\":\"NotifyType\",\"Children\":[{\"Value\":\"NotIn\",\"Type\":\"Compare\"},{\"Value\":\"[2]\",\"Type\":\"Value\"}]}]}]}` // // - Type:Condition 表示是规则条件,Value:AlarmID 表示告警策略 // - 子节点Type支持`Compare`,Value支持`In`,`NotIn` // - 下一个子节点value支持的值:告警策略id数组 // 以下示例表示:告警策略属于alarm-53af048c-254b-4c73-bb48-xxx,alarm-6dfa8bc5-08da-4d64-b6cb-xxx或告警策略不属于alarm-1036314c-1e49-4cee-a8fb-xxx // `"{\"Value\":\"AND\",\"Type\":\"Operation\",\"Children\":[{\"Value\":\"OR\",\"Type\":\"Operation\",\"Children\":[{\"Type\":\"Condition\",\"Value\":\"AlarmID\",\"Children\":[{\"Value\":\"In\",\"Type\":\"Compare\"},{\"Value\":\"[\\\"alarm-53af048c-254b-4c73-bb48-xxx\\\",\\\"alarm-6dfa8bc5-08da-4d64-b6cb-xxx\\\"]\",\"Type\":\"Value\"}]},{\"Type\":\"Condition\",\"Value\":\"AlarmID\",\"Children\":[{\"Value\":\"NotIn\",\"Type\":\"Compare\"},{\"Value\":\"[\\\"alarm-1036314c-1e49-4cee-a8fb-xxx\\\"]\",\"Type\":\"Value\"}]}]}]}"` // // - Type:Condition 表示是规则条件,Value:AlarmName 表示告警策略名称 // - 子节点Type支持`Compare`,Value支持`=~`,`!=~` // - 下一个子节点value支持的值:必须是正则表达式 // 以下示例表示:告警策略名称正则匹配^test$或告警策略名称正则不匹配^hahaha$ // `{\"Value\":\"AND\",\"Type\":\"Operation\",\"Children\":[{\"Value\":\"OR\",\"Type\":\"Operation\",\"Children\":[{\"Type\":\"Condition\",\"Value\":\"AlarmName\",\"Children\":[{\"Value\":\"=~\",\"Type\":\"Compare\"},{\"Value\":\"^test$\",\"Type\":\"Value\"}]},{\"Type\":\"Condition\",\"Value\":\"AlarmName\",\"Children\":[{\"Value\":\"!=~\",\"Type\":\"Compare\"},{\"Value\":\"^hahaha$\",\"Type\":\"Value\"}]}]}]}` // // - Type:Condition 表示是规则条件,Value:Label 表示告警分类字段 // - 子节点Type支持`Compare`,Value支持`In`,`NotIn`,`=~`,`!=~` // - 下一个子节点value支持的值:`In`,`NotIn` 时value是数组,`=~`,`!=~`时value是正则表达式 // 以下示例表示:告警分类字段key1属于v1或告警分类字段key2不属于v2或告警分类字段key3正则匹配^test$或告警分类字段key4正则不匹配^hahaha$ // `{\"Value\":\"AND\",\"Type\":\"Operation\",\"Children\":[{\"Value\":\"OR\",\"Type\":\"Operation\",\"Children\":[{\"Type\":\"Condition\",\"Value\":\"Label\",\"Children\":[{\"Value\":\"key1\",\"Type\":\"Key\"},{\"Value\":\"In\",\"Type\":\"Compare\"},{\"Value\":\"[\\\"v1\\\"]\",\"Type\":\"Value\"}]},{\"Type\":\"Condition\",\"Value\":\"Label\",\"Children\":[{\"Value\":\"key2\",\"Type\":\"Key\"},{\"Value\":\"NotIn\",\"Type\":\"Compare\"},{\"Value\":\"[\\\"v2\\\"]\",\"Type\":\"Value\"}]},{\"Type\":\"Condition\",\"Value\":\"Label\",\"Children\":[{\"Value\":\"key3\",\"Type\":\"Key\"},{\"Value\":\"=~\",\"Type\":\"Compare\"},{\"Value\":\"^test$\",\"Type\":\"Value\"}]},{\"Type\":\"Condition\",\"Value\":\"Label\",\"Children\":[{\"Value\":\"key4\",\"Type\":\"Key\"},{\"Value\":\"!=~\",\"Type\":\"Compare\"},{\"Value\":\"^hahaha$\",\"Type\":\"Value\"}]}]}]}` // // - Type:Condition 表示是规则条件,Value:NotifyTime 表示通知时间 // - 子节点Type支持`Compare`,Value支持`Between `,`NotBetween ` // - 下一个子节点value支持的值:长度为2,格式为`14:20:36`的字符串数组 // 以下示例表示:通知时间在指定范围内14:18:36至14:33:36或通知时间不在指定范围内14:20:36至14:30:36 // `{\"Value\":\"AND\",\"Type\":\"Operation\",\"Children\":[{\"Value\":\"OR\",\"Type\":\"Operation\",\"Children\":[{\"Type\":\"Condition\",\"Value\":\"NotifyTime\",\"Children\":[{\"Value\":\"Between\",\"Type\":\"Compare\"},{\"Value\":\"[\\\"14:18:36\\\",\\\"14:33:36\\\"]\",\"Type\":\"Value\"}]},{\"Type\":\"Condition\",\"Value\":\"NotifyTime\",\"Children\":[{\"Value\":\"NotBetween\",\"Type\":\"Compare\"},{\"Value\":\"[\\\"14:20:36\\\",\\\"14:30:36\\\"]\",\"Type\":\"Value\"}]}]}]}` // // - Type:Condition 表示是规则条件,Value:Duration 表示告警持续时间 // - 子节点Type支持`Compare`,Value支持`>`,`<`,`>=`,`<=` // - 下一个子节点value支持的值:整型值单位分钟 // 以下示例表示:告警持续时间大于1分钟或告警持续时间大于等于2分钟或告警持续时间小于3分钟或告警持续时间小于等于4分钟 // `{\"Value\":\"AND\",\"Type\":\"Operation\",\"Children\":[{\"Value\":\"OR\",\"Type\":\"Operation\",\"Children\":[{\"Type\":\"Condition\",\"Value\":\"Duration\",\"Children\":[{\"Value\":\">\",\"Type\":\"Compare\"},{\"Value\":1,\"Type\":\"Value\"}]},{\"Type\":\"Condition\",\"Value\":\"Duration\",\"Children\":[{\"Value\":\">=\",\"Type\":\"Compare\"},{\"Value\":2,\"Type\":\"Value\"}]},{\"Type\":\"Condition\",\"Value\":\"Duration\",\"Children\":[{\"Value\":\"<\",\"Type\":\"Compare\"},{\"Value\":3,\"Type\":\"Value\"}]},{\"Type\":\"Condition\",\"Value\":\"Duration\",\"Children\":[{\"Value\":\"<=\",\"Type\":\"Compare\"},{\"Value\":4,\"Type\":\"Value\"}]}]}]}` // 注意:此字段可能返回 null,表示取不到有效值。 Rule *string `json:"Rule,omitnil,omitempty" name:"Rule"` }
type OpenKafkaConsumerRequest ¶ added in v1.0.382
type OpenKafkaConsumerRequest struct { *tchttp.BaseRequest // 日志主题ID FromTopicId *string `json:"FromTopicId,omitnil,omitempty" name:"FromTopicId"` // 压缩方式[0:NONE;2:SNAPPY;3:LZ4],默认:0 Compression *int64 `json:"Compression,omitnil,omitempty" name:"Compression"` // kafka协议消费数据格式 ConsumerContent *KafkaConsumerContent `json:"ConsumerContent,omitnil,omitempty" name:"ConsumerContent"` }
func NewOpenKafkaConsumerRequest ¶ added in v1.0.382
func NewOpenKafkaConsumerRequest() (request *OpenKafkaConsumerRequest)
func (*OpenKafkaConsumerRequest) FromJsonString ¶ added in v1.0.382
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 ¶ added in v1.0.382
func (r *OpenKafkaConsumerRequest) ToJsonString() string
type OpenKafkaConsumerRequestParams ¶ added in v1.0.426
type OpenKafkaConsumerRequestParams struct { // 日志主题ID FromTopicId *string `json:"FromTopicId,omitnil,omitempty" name:"FromTopicId"` // 压缩方式[0:NONE;2:SNAPPY;3:LZ4],默认:0 Compression *int64 `json:"Compression,omitnil,omitempty" name:"Compression"` // kafka协议消费数据格式 ConsumerContent *KafkaConsumerContent `json:"ConsumerContent,omitnil,omitempty" name:"ConsumerContent"` }
Predefined struct for user
type OpenKafkaConsumerResponse ¶ added in v1.0.382
type OpenKafkaConsumerResponse struct { *tchttp.BaseResponse Response *OpenKafkaConsumerResponseParams `json:"Response"` }
func NewOpenKafkaConsumerResponse ¶ added in v1.0.382
func NewOpenKafkaConsumerResponse() (response *OpenKafkaConsumerResponse)
func (*OpenKafkaConsumerResponse) FromJsonString ¶ added in v1.0.382
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 ¶ added in v1.0.382
func (r *OpenKafkaConsumerResponse) ToJsonString() string
type OpenKafkaConsumerResponseParams ¶ added in v1.0.426
type OpenKafkaConsumerResponseParams struct { // KafkaConsumer 消费时使用的Topic参数 TopicID *string `json:"TopicID,omitnil,omitempty" name:"TopicID"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ParquetInfo ¶ added in v1.0.392
type ParquetInfo struct { // ParquetKeyInfo数组 ParquetKeyInfo []*ParquetKeyInfo `json:"ParquetKeyInfo,omitnil,omitempty" name:"ParquetKeyInfo"` }
type ParquetKeyInfo ¶ added in v1.0.392
type ParquetKeyInfo struct { // 键值名称 KeyName *string `json:"KeyName,omitnil,omitempty" name:"KeyName"` // 数据类型,目前支持6种类型:string、boolean、int32、int64、float、double KeyType *string `json:"KeyType,omitnil,omitempty" name:"KeyType"` // 解析失败赋值信息 // 注意:此字段可能返回 null,表示取不到有效值。 KeyNonExistingField *string `json:"KeyNonExistingField,omitnil,omitempty" name:"KeyNonExistingField"` }
type PartitionInfo ¶
type PartitionInfo struct { // 分区ID PartitionId *int64 `json:"PartitionId,omitnil,omitempty" name:"PartitionId"` // 分区的状态(readwrite或者是readonly) Status *string `json:"Status,omitnil,omitempty" name:"Status"` // 分区哈希键起始key InclusiveBeginKey *string `json:"InclusiveBeginKey,omitnil,omitempty" name:"InclusiveBeginKey"` // 分区哈希键结束key ExclusiveEndKey *string `json:"ExclusiveEndKey,omitnil,omitempty" name:"ExclusiveEndKey"` // 分区创建时间 CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"` // 只读分区数据停止写入时间 // 注意:此字段可能返回 null,表示取不到有效值。 LastWriteTime *string `json:"LastWriteTime,omitnil,omitempty" name:"LastWriteTime"` }
type PreviewKafkaRechargeRequest ¶ added in v1.0.693
type PreviewKafkaRechargeRequest struct { *tchttp.BaseRequest // 预览类型,1:源数据预览;2:导出结果预览。 PreviewType *uint64 `json:"PreviewType,omitnil,omitempty" name:"PreviewType"` // 导入Kafka类型,0:腾讯云CKafka;1:用户自建Kafka。 KafkaType *uint64 `json:"KafkaType,omitnil,omitempty" name:"KafkaType"` // 用户需要导入的Kafka相关topic列表,多个topic之间使用半角逗号隔开。 // 最多支持100个。 UserKafkaTopics *string `json:"UserKafkaTopics,omitnil,omitempty" name:"UserKafkaTopics"` // 导入数据位置,-2:最早;-1:最晚。 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 腾讯云CKafka实例ID,当KafkaType为0时参数KafkaInstance有效且必填。 KafkaInstance *string `json:"KafkaInstance,omitnil,omitempty" name:"KafkaInstance"` // 服务地址。 // KafkaType为1时ServerAddr必填。 ServerAddr *string `json:"ServerAddr,omitnil,omitempty" name:"ServerAddr"` // ServerAddr是否为加密连接。 // KafkaType为1时有效。 IsEncryptionAddr *bool `json:"IsEncryptionAddr,omitnil,omitempty" name:"IsEncryptionAddr"` // 加密访问协议。 // KafkaType为1并且IsEncryptionAddr为true时Protocol必填。 Protocol *KafkaProtocolInfo `json:"Protocol,omitnil,omitempty" name:"Protocol"` // 用户Kafka消费组 ConsumerGroupName *string `json:"ConsumerGroupName,omitnil,omitempty" name:"ConsumerGroupName"` // 日志导入规则 LogRechargeRule *LogRechargeRuleInfo `json:"LogRechargeRule,omitnil,omitempty" name:"LogRechargeRule"` }
func NewPreviewKafkaRechargeRequest ¶ added in v1.0.693
func NewPreviewKafkaRechargeRequest() (request *PreviewKafkaRechargeRequest)
func (*PreviewKafkaRechargeRequest) FromJsonString ¶ added in v1.0.693
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 ¶ added in v1.0.693
func (r *PreviewKafkaRechargeRequest) ToJsonString() string
type PreviewKafkaRechargeRequestParams ¶ added in v1.0.693
type PreviewKafkaRechargeRequestParams struct { // 预览类型,1:源数据预览;2:导出结果预览。 PreviewType *uint64 `json:"PreviewType,omitnil,omitempty" name:"PreviewType"` // 导入Kafka类型,0:腾讯云CKafka;1:用户自建Kafka。 KafkaType *uint64 `json:"KafkaType,omitnil,omitempty" name:"KafkaType"` // 用户需要导入的Kafka相关topic列表,多个topic之间使用半角逗号隔开。 // 最多支持100个。 UserKafkaTopics *string `json:"UserKafkaTopics,omitnil,omitempty" name:"UserKafkaTopics"` // 导入数据位置,-2:最早;-1:最晚。 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 腾讯云CKafka实例ID,当KafkaType为0时参数KafkaInstance有效且必填。 KafkaInstance *string `json:"KafkaInstance,omitnil,omitempty" name:"KafkaInstance"` // 服务地址。 // KafkaType为1时ServerAddr必填。 ServerAddr *string `json:"ServerAddr,omitnil,omitempty" name:"ServerAddr"` // ServerAddr是否为加密连接。 // KafkaType为1时有效。 IsEncryptionAddr *bool `json:"IsEncryptionAddr,omitnil,omitempty" name:"IsEncryptionAddr"` // 加密访问协议。 // KafkaType为1并且IsEncryptionAddr为true时Protocol必填。 Protocol *KafkaProtocolInfo `json:"Protocol,omitnil,omitempty" name:"Protocol"` // 用户Kafka消费组 ConsumerGroupName *string `json:"ConsumerGroupName,omitnil,omitempty" name:"ConsumerGroupName"` // 日志导入规则 LogRechargeRule *LogRechargeRuleInfo `json:"LogRechargeRule,omitnil,omitempty" name:"LogRechargeRule"` }
Predefined struct for user
type PreviewKafkaRechargeResponse ¶ added in v1.0.693
type PreviewKafkaRechargeResponse struct { *tchttp.BaseResponse Response *PreviewKafkaRechargeResponseParams `json:"Response"` }
func NewPreviewKafkaRechargeResponse ¶ added in v1.0.693
func NewPreviewKafkaRechargeResponse() (response *PreviewKafkaRechargeResponse)
func (*PreviewKafkaRechargeResponse) FromJsonString ¶ added in v1.0.693
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 ¶ added in v1.0.693
func (r *PreviewKafkaRechargeResponse) ToJsonString() string
type PreviewKafkaRechargeResponseParams ¶ added in v1.0.693
type PreviewKafkaRechargeResponseParams struct { // 日志样例,PreviewType为2时返回 LogSample *string `json:"LogSample,omitnil,omitempty" name:"LogSample"` // 日志预览结果 // 注意:此字段可能返回 null,表示取不到有效值。 LogData *string `json:"LogData,omitnil,omitempty" name:"LogData"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type PreviewLogStatistic ¶ added in v1.0.380
type PreviewLogStatistic struct { // 日志内容 LogContent *string `json:"LogContent,omitnil,omitempty" name:"LogContent"` // 行号。从0开始 LineNum *int64 `json:"LineNum,omitnil,omitempty" name:"LineNum"` // 目标日志主题 DstTopicId *string `json:"DstTopicId,omitnil,omitempty" name:"DstTopicId"` // 失败错误信息, 空字符串""表示正常 FailReason *string `json:"FailReason,omitnil,omitempty" name:"FailReason"` // 日志时间,格式:`2024-05-07 17:13:17.105` // // - 入参时无效 // - 出参时有效,为日志中的时间格式 Time *string `json:"Time,omitnil,omitempty" name:"Time"` // 目标topic-name // 注意:此字段可能返回 null,表示取不到有效值。 // // Deprecated: DstTopicName is deprecated. DstTopicName *string `json:"DstTopicName,omitnil,omitempty" name:"DstTopicName"` }
type QueryMetricRequest ¶ added in v1.0.753
type QueryMetricRequest struct { *tchttp.BaseRequest // 查询语句,使用PromQL语法 Query *string `json:"Query,omitnil,omitempty" name:"Query"` // 指标主题ID TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"` // 查询时间,秒级Unix时间戳 Time *uint64 `json:"Time,omitnil,omitempty" name:"Time"` }
func NewQueryMetricRequest ¶ added in v1.0.753
func NewQueryMetricRequest() (request *QueryMetricRequest)
func (*QueryMetricRequest) FromJsonString ¶ added in v1.0.753
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 ¶ added in v1.0.753
func (r *QueryMetricRequest) ToJsonString() string
type QueryMetricRequestParams ¶ added in v1.0.753
type QueryMetricRequestParams struct { // 查询语句,使用PromQL语法 Query *string `json:"Query,omitnil,omitempty" name:"Query"` // 指标主题ID TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"` // 查询时间,秒级Unix时间戳 Time *uint64 `json:"Time,omitnil,omitempty" name:"Time"` }
Predefined struct for user
type QueryMetricResponse ¶ added in v1.0.753
type QueryMetricResponse struct { *tchttp.BaseResponse Response *QueryMetricResponseParams `json:"Response"` }
func NewQueryMetricResponse ¶ added in v1.0.753
func NewQueryMetricResponse() (response *QueryMetricResponse)
func (*QueryMetricResponse) FromJsonString ¶ added in v1.0.753
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 ¶ added in v1.0.753
func (r *QueryMetricResponse) ToJsonString() string
type QueryMetricResponseParams ¶ added in v1.0.753
type QueryMetricResponseParams struct { // 指标查询结果类型 ResultType *string `json:"ResultType,omitnil,omitempty" name:"ResultType"` // 指标查询结果 Result *string `json:"Result,omitnil,omitempty" name:"Result"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type QueryRangeMetricRequest ¶ added in v1.0.753
type QueryRangeMetricRequest struct { *tchttp.BaseRequest // 指标主题ID TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"` // 查询语句,使用PromQL语法 Query *string `json:"Query,omitnil,omitempty" name:"Query"` // 查询起始时间,秒级Unix时间戳 Start *uint64 `json:"Start,omitnil,omitempty" name:"Start"` // 查询结束时间,秒级Unix时间戳 End *uint64 `json:"End,omitnil,omitempty" name:"End"` // 查询时间间隔,单位秒 Step *uint64 `json:"Step,omitnil,omitempty" name:"Step"` }
func NewQueryRangeMetricRequest ¶ added in v1.0.753
func NewQueryRangeMetricRequest() (request *QueryRangeMetricRequest)
func (*QueryRangeMetricRequest) FromJsonString ¶ added in v1.0.753
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 ¶ added in v1.0.753
func (r *QueryRangeMetricRequest) ToJsonString() string
type QueryRangeMetricRequestParams ¶ added in v1.0.753
type QueryRangeMetricRequestParams struct { // 指标主题ID TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"` // 查询语句,使用PromQL语法 Query *string `json:"Query,omitnil,omitempty" name:"Query"` // 查询起始时间,秒级Unix时间戳 Start *uint64 `json:"Start,omitnil,omitempty" name:"Start"` // 查询结束时间,秒级Unix时间戳 End *uint64 `json:"End,omitnil,omitempty" name:"End"` // 查询时间间隔,单位秒 Step *uint64 `json:"Step,omitnil,omitempty" name:"Step"` }
Predefined struct for user
type QueryRangeMetricResponse ¶ added in v1.0.753
type QueryRangeMetricResponse struct { *tchttp.BaseResponse Response *QueryRangeMetricResponseParams `json:"Response"` }
func NewQueryRangeMetricResponse ¶ added in v1.0.753
func NewQueryRangeMetricResponse() (response *QueryRangeMetricResponse)
func (*QueryRangeMetricResponse) FromJsonString ¶ added in v1.0.753
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 ¶ added in v1.0.753
func (r *QueryRangeMetricResponse) ToJsonString() string
type QueryRangeMetricResponseParams ¶ added in v1.0.753
type QueryRangeMetricResponseParams struct { // 指标查询结果类型 ResultType *string `json:"ResultType,omitnil,omitempty" name:"ResultType"` // 指标查询结果 Result *string `json:"Result,omitnil,omitempty" name:"Result"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type RetryShipperTaskRequest ¶ added in v1.0.210
type RetryShipperTaskRequest struct { *tchttp.BaseRequest // 投递规则ID ShipperId *string `json:"ShipperId,omitnil,omitempty" name:"ShipperId"` // 投递任务ID TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"` }
func NewRetryShipperTaskRequest ¶ added in v1.0.210
func NewRetryShipperTaskRequest() (request *RetryShipperTaskRequest)
func (*RetryShipperTaskRequest) FromJsonString ¶ added in v1.0.210
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 ¶ added in v1.0.210
func (r *RetryShipperTaskRequest) ToJsonString() string
type RetryShipperTaskRequestParams ¶ added in v1.0.426
type RetryShipperTaskRequestParams struct { // 投递规则ID ShipperId *string `json:"ShipperId,omitnil,omitempty" name:"ShipperId"` // 投递任务ID TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"` }
Predefined struct for user
type RetryShipperTaskResponse ¶ added in v1.0.210
type RetryShipperTaskResponse struct { *tchttp.BaseResponse Response *RetryShipperTaskResponseParams `json:"Response"` }
func NewRetryShipperTaskResponse ¶ added in v1.0.210
func NewRetryShipperTaskResponse() (response *RetryShipperTaskResponse)
func (*RetryShipperTaskResponse) FromJsonString ¶ added in v1.0.210
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 ¶ added in v1.0.210
func (r *RetryShipperTaskResponse) ToJsonString() string
type RetryShipperTaskResponseParams ¶ added in v1.0.426
type RetryShipperTaskResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type RuleInfo ¶
type RuleInfo struct { // 全文索引配置, 为空时代表未开启全文索引 // 注意:此字段可能返回 null,表示取不到有效值。 FullText *FullTextInfo `json:"FullText,omitnil,omitempty" name:"FullText"` // 键值索引配置,为空时代表未开启键值索引 // 注意:此字段可能返回 null,表示取不到有效值。 KeyValue *RuleKeyValueInfo `json:"KeyValue,omitnil,omitempty" name:"KeyValue"` // 元字段索引配置,为空时代表未开启元字段索引 // 注意:此字段可能返回 null,表示取不到有效值。 Tag *RuleTagInfo `json:"Tag,omitnil,omitempty" name:"Tag"` // 键值索引自动配置,为空时代表未开启该功能。 // 启用后自动将日志内的字段添加到键值索引中,包括日志中后续新增的字段。 // 注意:此字段可能返回 null,表示取不到有效值。 DynamicIndex *DynamicIndex `json:"DynamicIndex,omitnil,omitempty" name:"DynamicIndex"` }
type RuleKeyValueInfo ¶
type RuleKeyValueInfo struct { // 是否大小写敏感 CaseSensitive *bool `json:"CaseSensitive,omitnil,omitempty" name:"CaseSensitive"` // 需要建立索引的键值对信息 KeyValues []*KeyValueInfo `json:"KeyValues,omitnil,omitempty" name:"KeyValues"` }
type RuleTagInfo ¶
type RuleTagInfo struct { // 是否大小写敏感 CaseSensitive *bool `json:"CaseSensitive,omitnil,omitempty" name:"CaseSensitive"` // 元字段索引配置中的字段信息 KeyValues []*KeyValueInfo `json:"KeyValues,omitnil,omitempty" name:"KeyValues"` }
type ScheduledSqlResouceInfo ¶ added in v1.0.704
type ScheduledSqlResouceInfo struct { // 目标主题id TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"` // 主题的地域信息 Region *string `json:"Region,omitnil,omitempty" name:"Region"` // 主题类型:0为日志主题,1为指标主题 BizType *int64 `json:"BizType,omitnil,omitempty" name:"BizType"` // 指标名称。当BizType为1时,MetricName需要填写 MetricName *string `json:"MetricName,omitnil,omitempty" name:"MetricName"` // 指标名称 // BizType为1时,优先使用MetricNames字段多指标只能填充到MetricNames字段,单指标建议填充到MetricName字段 MetricNames []*string `json:"MetricNames,omitnil,omitempty" name:"MetricNames"` // 指标维度,不接受时间类型。 MetricLabels []*string `json:"MetricLabels,omitnil,omitempty" name:"MetricLabels"` // 指标时间戳,默认值为SQL查询时间范围的左侧时间点,您也可以指定其他字段(类型为uinx时间、TimeStamp,精度毫秒)为指标时间戳。 CustomTime *string `json:"CustomTime,omitnil,omitempty" name:"CustomTime"` // 除了MetricLabels,您还可以使用该参数,为指标补充静态的维度。 // 维度名以字母或下划线开头,后面可以跟字母、数字或下划线,长度小于等于1024 字节 CustomMetricLabels []*MetricLabel `json:"CustomMetricLabels,omitnil,omitempty" name:"CustomMetricLabels"` }
type ScheduledSqlTaskInfo ¶ added in v1.0.708
type ScheduledSqlTaskInfo struct { // ScheduledSql任务id TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"` // ScheduledSql任务名称 Name *string `json:"Name,omitnil,omitempty" name:"Name"` // 源日志主题id SrcTopicId *string `json:"SrcTopicId,omitnil,omitempty" name:"SrcTopicId"` // 源日志主题名称 SrcTopicName *string `json:"SrcTopicName,omitnil,omitempty" name:"SrcTopicName"` // 定时SQL分析目标主题 DstResource *ScheduledSqlResouceInfo `json:"DstResource,omitnil,omitempty" name:"DstResource"` // 任务创建时间 CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"` // 任务更新时间 UpdateTime *string `json:"UpdateTime,omitnil,omitempty" name:"UpdateTime"` // 任务状态,1:运行 2:停止 3:异常-找不到源日志主题 4:异常-找不到目标主题 // // 5: 访问权限问题 6:内部故障 7:其他故障 Status *int64 `json:"Status,omitnil,omitempty" name:"Status"` // 任务启用状态,1开启, 2关闭 EnableFlag *int64 `json:"EnableFlag,omitnil,omitempty" name:"EnableFlag"` // 查询语句 ScheduledSqlContent *string `json:"ScheduledSqlContent,omitnil,omitempty" name:"ScheduledSqlContent"` // 调度开始时间 ProcessStartTime *string `json:"ProcessStartTime,omitnil,omitempty" name:"ProcessStartTime"` // 调度类型,1:持续运行 2:指定时间范围 ProcessType *int64 `json:"ProcessType,omitnil,omitempty" name:"ProcessType"` // 调度结束时间,当process_type=2时为必传字段 ProcessEndTime *string `json:"ProcessEndTime,omitnil,omitempty" name:"ProcessEndTime"` // 调度周期(分钟) ProcessPeriod *int64 `json:"ProcessPeriod,omitnil,omitempty" name:"ProcessPeriod"` // 查询的时间窗口. @m-15m, @m,意为近15分钟 ProcessTimeWindow *string `json:"ProcessTimeWindow,omitnil,omitempty" name:"ProcessTimeWindow"` // 执行延迟(秒) ProcessDelay *int64 `json:"ProcessDelay,omitnil,omitempty" name:"ProcessDelay"` // 源topicId的地域信息 SrcTopicRegion *string `json:"SrcTopicRegion,omitnil,omitempty" name:"SrcTopicRegion"` // 语法规则,0:Lucene语法,1:CQL语法 // 注意:此字段可能返回 null,表示取不到有效值。 SyntaxRule *uint64 `json:"SyntaxRule,omitnil,omitempty" name:"SyntaxRule"` // 是否开启投递服务日志。1:关闭,2:开启。 // 注意:此字段可能返回 null,表示取不到有效值。 HasServicesLog *uint64 `json:"HasServicesLog,omitnil,omitempty" name:"HasServicesLog"` }
type SearchCosRechargeInfoRequest ¶ added in v1.0.731
type SearchCosRechargeInfoRequest struct { *tchttp.BaseRequest // 日志主题 ID TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"` // 日志集ID LogsetId *string `json:"LogsetId,omitnil,omitempty" name:"LogsetId"` // 投递任务名称 Name *string `json:"Name,omitnil,omitempty" name:"Name"` // COS存储桶,详见产品支持的[存储桶命名规范](https://cloud.tencent.com/document/product/436/13312)。 Bucket *string `json:"Bucket,omitnil,omitempty" name:"Bucket"` // COS存储桶所在地域,详见产品支持的[地域列表](https://cloud.tencent.com/document/product/436/6224)。 BucketRegion *string `json:"BucketRegion,omitnil,omitempty" name:"BucketRegion"` // COS文件所在文件夹的前缀。默认为空,投递存储桶下所有的文件。 Prefix *string `json:"Prefix,omitnil,omitempty" name:"Prefix"` // 压缩模式: "", "gzip", "lzop", "snappy"; 默认"" Compress *string `json:"Compress,omitnil,omitempty" name:"Compress"` }
func NewSearchCosRechargeInfoRequest ¶ added in v1.0.731
func NewSearchCosRechargeInfoRequest() (request *SearchCosRechargeInfoRequest)
func (*SearchCosRechargeInfoRequest) FromJsonString ¶ added in v1.0.731
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 ¶ added in v1.0.731
func (r *SearchCosRechargeInfoRequest) ToJsonString() string
type SearchCosRechargeInfoRequestParams ¶ added in v1.0.731
type SearchCosRechargeInfoRequestParams struct { // 日志主题 ID TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"` // 日志集ID LogsetId *string `json:"LogsetId,omitnil,omitempty" name:"LogsetId"` // 投递任务名称 Name *string `json:"Name,omitnil,omitempty" name:"Name"` // COS存储桶,详见产品支持的[存储桶命名规范](https://cloud.tencent.com/document/product/436/13312)。 Bucket *string `json:"Bucket,omitnil,omitempty" name:"Bucket"` // COS存储桶所在地域,详见产品支持的[地域列表](https://cloud.tencent.com/document/product/436/6224)。 BucketRegion *string `json:"BucketRegion,omitnil,omitempty" name:"BucketRegion"` // COS文件所在文件夹的前缀。默认为空,投递存储桶下所有的文件。 Prefix *string `json:"Prefix,omitnil,omitempty" name:"Prefix"` // 压缩模式: "", "gzip", "lzop", "snappy"; 默认"" Compress *string `json:"Compress,omitnil,omitempty" name:"Compress"` }
Predefined struct for user
type SearchCosRechargeInfoResponse ¶ added in v1.0.731
type SearchCosRechargeInfoResponse struct { *tchttp.BaseResponse Response *SearchCosRechargeInfoResponseParams `json:"Response"` }
func NewSearchCosRechargeInfoResponse ¶ added in v1.0.731
func NewSearchCosRechargeInfoResponse() (response *SearchCosRechargeInfoResponse)
func (*SearchCosRechargeInfoResponse) FromJsonString ¶ added in v1.0.731
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 ¶ added in v1.0.731
func (r *SearchCosRechargeInfoResponse) ToJsonString() string
type SearchCosRechargeInfoResponseParams ¶ added in v1.0.731
type SearchCosRechargeInfoResponseParams struct { // 匹配到的存储桶下的某个文件的前几行数据 // 注意:此字段可能返回 null,表示取不到有效值。 Data []*string `json:"Data,omitnil,omitempty" name:"Data"` // 匹配到的存储桶下的文件个数 Sum *uint64 `json:"Sum,omitnil,omitempty" name:"Sum"` // 当前预览文件路径 // 注意:此字段可能返回 null,表示取不到有效值。 Path *string `json:"Path,omitnil,omitempty" name:"Path"` // 预览获取数据失败原因 // 注意:此字段可能返回 null,表示取不到有效值。 Msg *string `json:"Msg,omitnil,omitempty" name:"Msg"` // 状态 Status *int64 `json:"Status,omitnil,omitempty" name:"Status"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type SearchDashboardSubscribeRequest ¶ added in v1.0.912
type SearchDashboardSubscribeRequest struct { *tchttp.BaseRequest // 仪表盘id。 DashboardId *string `json:"DashboardId,omitnil,omitempty" name:"DashboardId"` // 仪表盘订阅数据。 SubscribeData *DashboardSubscribeData `json:"SubscribeData,omitnil,omitempty" name:"SubscribeData"` // 仪表盘订阅Id。 Id *uint64 `json:"Id,omitnil,omitempty" name:"Id"` // 仪表盘订阅名称。 Name *string `json:"Name,omitnil,omitempty" name:"Name"` }
func NewSearchDashboardSubscribeRequest ¶ added in v1.0.912
func NewSearchDashboardSubscribeRequest() (request *SearchDashboardSubscribeRequest)
func (*SearchDashboardSubscribeRequest) FromJsonString ¶ added in v1.0.912
func (r *SearchDashboardSubscribeRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*SearchDashboardSubscribeRequest) ToJsonString ¶ added in v1.0.912
func (r *SearchDashboardSubscribeRequest) ToJsonString() string
type SearchDashboardSubscribeRequestParams ¶ added in v1.0.912
type SearchDashboardSubscribeRequestParams struct { // 仪表盘id。 DashboardId *string `json:"DashboardId,omitnil,omitempty" name:"DashboardId"` // 仪表盘订阅数据。 SubscribeData *DashboardSubscribeData `json:"SubscribeData,omitnil,omitempty" name:"SubscribeData"` // 仪表盘订阅Id。 Id *uint64 `json:"Id,omitnil,omitempty" name:"Id"` // 仪表盘订阅名称。 Name *string `json:"Name,omitnil,omitempty" name:"Name"` }
Predefined struct for user
type SearchDashboardSubscribeResponse ¶ added in v1.0.912
type SearchDashboardSubscribeResponse struct { *tchttp.BaseResponse Response *SearchDashboardSubscribeResponseParams `json:"Response"` }
func NewSearchDashboardSubscribeResponse ¶ added in v1.0.912
func NewSearchDashboardSubscribeResponse() (response *SearchDashboardSubscribeResponse)
func (*SearchDashboardSubscribeResponse) FromJsonString ¶ added in v1.0.912
func (r *SearchDashboardSubscribeResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*SearchDashboardSubscribeResponse) ToJsonString ¶ added in v1.0.912
func (r *SearchDashboardSubscribeResponse) ToJsonString() string
type SearchDashboardSubscribeResponseParams ¶ added in v1.0.912
type SearchDashboardSubscribeResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type SearchLogErrors ¶ added in v1.0.722
type SearchLogErrors struct { // 日志主题ID // 注意:此字段可能返回 null,表示取不到有效值。 TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"` // 错误信息 // 注意:此字段可能返回 null,表示取不到有效值。 ErrorMsg *string `json:"ErrorMsg,omitnil,omitempty" name:"ErrorMsg"` // 错误码 // 注意:此字段可能返回 null,表示取不到有效值。 ErrorCodeStr *string `json:"ErrorCodeStr,omitnil,omitempty" name:"ErrorCodeStr"` }
type SearchLogInfos ¶ added in v1.0.722
type SearchLogInfos struct { // 日志主题ID TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"` // 日志存储生命周期 Period *int64 `json:"Period,omitnil,omitempty" name:"Period"` // 透传本次接口返回的Context值,可获取后续更多日志,过期时间1小时 // 注意:此字段可能返回 null,表示取不到有效值。 Context *string `json:"Context,omitnil,omitempty" name:"Context"` }
type SearchLogRequest ¶
type SearchLogRequest struct { *tchttp.BaseRequest // 要检索分析的日志的起始时间,Unix时间戳(毫秒) From *int64 `json:"From,omitnil,omitempty" name:"From"` // 要检索分析的日志的结束时间,Unix时间戳(毫秒) To *int64 `json:"To,omitnil,omitempty" name:"To"` // 检索分析语句,最大长度为12KB // 语句由 <a href="https://cloud.tencent.com/document/product/614/47044" target="_blank">[检索条件]</a> | <a href="https://cloud.tencent.com/document/product/614/44061" target="_blank">[SQL语句]</a>构成,无需对日志进行统计分析时,可省略其中的管道符<code> | </code>及SQL语句 // 使用*或空字符串可查询所有日志 Query *string `json:"Query,omitnil,omitempty" name:"Query"` // 检索语法规则,默认值为0,推荐使用1 (CQL语法)。 // 0:Lucene语法,1:CQL语法。 // 详细说明参见<a href="https://cloud.tencent.com/document/product/614/47044#RetrievesConditionalRules" target="_blank">检索条件语法规则</a> SyntaxRule *uint64 `json:"SyntaxRule,omitnil,omitempty" name:"SyntaxRule"` // - 要检索分析的日志主题ID,仅能指定一个日志主题。 // - 如需同时检索多个日志主题,请使用Topics参数。 // - TopicId 和 Topics 不能同时使用,在一次请求中有且只能选择一个。 TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"` // - 要检索分析的日志主题列表,最大支持20个日志主题。 // - 检索单个日志主题时请使用TopicId。 // - TopicId 和 Topics 不能同时使用,在一次请求中有且只能选择一个。 Topics []*MultiTopicSearchInformation `json:"Topics,omitnil,omitempty" name:"Topics"` // 表示单次查询返回的原始日志条数,默认为100,最大值为1000,获取后续日志需使用Context参数 // 注意: // * 仅当检索分析语句(Query)不包含SQL时有效 // * SQL结果条数指定方式参考<a href="https://cloud.tencent.com/document/product/614/58977" target="_blank">SQL LIMIT语法</a> Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // 原始日志是否按时间排序返回;可选值:asc(升序)、desc(降序),默认为 desc // 注意: // * 仅当检索分析语句(Query)不包含SQL时有效 // * SQL结果排序方式参考<a href="https://cloud.tencent.com/document/product/614/58978" target="_blank">SQL ORDER BY语法</a> Sort *string `json:"Sort,omitnil,omitempty" name:"Sort"` // 透传上次接口返回的Context值,可获取后续更多日志,总计最多可获取1万条原始日志,过期时间1小时。 // 注意: // * 透传该参数时,请勿修改除该参数外的其它参数 // * 仅适用于单日志主题检索,检索多个日志主题时,请使用Topics中的Context // * 仅当检索分析语句(Query)不包含SQL时有效,SQL获取后续结果参考<a href="https://cloud.tencent.com/document/product/614/58977" target="_blank">SQL LIMIT语法</a> Context *string `json:"Context,omitnil,omitempty" name:"Context"` // 执行统计分析(Query中包含SQL)时,是否对原始日志先进行采样,再进行统计分析。 // 0:自动采样; // 0~1:按指定采样率采样,例如0.02; // 1:不采样,即精确分析 // 默认值为1 SamplingRate *float64 `json:"SamplingRate,omitnil,omitempty" name:"SamplingRate"` // 为true代表使用新的检索结果返回方式,输出参数AnalysisRecords和Columns有效 // 为false时代表使用老的检索结果返回方式, 输出AnalysisResults和ColNames有效 // 两种返回方式在编码格式上有少量区别,建议使用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 ¶ added in v1.0.426
type SearchLogRequestParams struct { // 要检索分析的日志的起始时间,Unix时间戳(毫秒) From *int64 `json:"From,omitnil,omitempty" name:"From"` // 要检索分析的日志的结束时间,Unix时间戳(毫秒) To *int64 `json:"To,omitnil,omitempty" name:"To"` // 检索分析语句,最大长度为12KB // 语句由 <a href="https://cloud.tencent.com/document/product/614/47044" target="_blank">[检索条件]</a> | <a href="https://cloud.tencent.com/document/product/614/44061" target="_blank">[SQL语句]</a>构成,无需对日志进行统计分析时,可省略其中的管道符<code> | </code>及SQL语句 // 使用*或空字符串可查询所有日志 Query *string `json:"Query,omitnil,omitempty" name:"Query"` // 检索语法规则,默认值为0,推荐使用1 (CQL语法)。 // 0:Lucene语法,1:CQL语法。 // 详细说明参见<a href="https://cloud.tencent.com/document/product/614/47044#RetrievesConditionalRules" target="_blank">检索条件语法规则</a> SyntaxRule *uint64 `json:"SyntaxRule,omitnil,omitempty" name:"SyntaxRule"` // - 要检索分析的日志主题ID,仅能指定一个日志主题。 // - 如需同时检索多个日志主题,请使用Topics参数。 // - TopicId 和 Topics 不能同时使用,在一次请求中有且只能选择一个。 TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"` // - 要检索分析的日志主题列表,最大支持20个日志主题。 // - 检索单个日志主题时请使用TopicId。 // - TopicId 和 Topics 不能同时使用,在一次请求中有且只能选择一个。 Topics []*MultiTopicSearchInformation `json:"Topics,omitnil,omitempty" name:"Topics"` // 表示单次查询返回的原始日志条数,默认为100,最大值为1000,获取后续日志需使用Context参数 // 注意: // * 仅当检索分析语句(Query)不包含SQL时有效 // * SQL结果条数指定方式参考<a href="https://cloud.tencent.com/document/product/614/58977" target="_blank">SQL LIMIT语法</a> Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // 原始日志是否按时间排序返回;可选值:asc(升序)、desc(降序),默认为 desc // 注意: // * 仅当检索分析语句(Query)不包含SQL时有效 // * SQL结果排序方式参考<a href="https://cloud.tencent.com/document/product/614/58978" target="_blank">SQL ORDER BY语法</a> Sort *string `json:"Sort,omitnil,omitempty" name:"Sort"` // 透传上次接口返回的Context值,可获取后续更多日志,总计最多可获取1万条原始日志,过期时间1小时。 // 注意: // * 透传该参数时,请勿修改除该参数外的其它参数 // * 仅适用于单日志主题检索,检索多个日志主题时,请使用Topics中的Context // * 仅当检索分析语句(Query)不包含SQL时有效,SQL获取后续结果参考<a href="https://cloud.tencent.com/document/product/614/58977" target="_blank">SQL LIMIT语法</a> Context *string `json:"Context,omitnil,omitempty" name:"Context"` // 执行统计分析(Query中包含SQL)时,是否对原始日志先进行采样,再进行统计分析。 // 0:自动采样; // 0~1:按指定采样率采样,例如0.02; // 1:不采样,即精确分析 // 默认值为1 SamplingRate *float64 `json:"SamplingRate,omitnil,omitempty" name:"SamplingRate"` // 为true代表使用新的检索结果返回方式,输出参数AnalysisRecords和Columns有效 // 为false时代表使用老的检索结果返回方式, 输出AnalysisResults和ColNames有效 // 两种返回方式在编码格式上有少量区别,建议使用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 ¶ added in v1.0.426
type SearchLogResponseParams struct { // 透传本次接口返回的Context值,可获取后续更多日志,过期时间1小时。 // 注意: // * 仅适用于单日志主题检索,检索多个日志主题时,请使用Topics中的Context Context *string `json:"Context,omitnil,omitempty" name:"Context"` // 符合检索条件的日志是否已全部返回,如未全部返回可使用Context参数获取后续更多日志 // 注意:仅当检索分析语句(Query)不包含SQL时有效 ListOver *bool `json:"ListOver,omitnil,omitempty" name:"ListOver"` // 返回的是否为统计分析(即SQL)结果 Analysis *bool `json:"Analysis,omitnil,omitempty" name:"Analysis"` // 匹配检索条件的原始日志 // 注意:此字段可能返回 null,表示取不到有效值。 Results []*LogInfo `json:"Results,omitnil,omitempty" name:"Results"` // 日志统计分析结果的列名 // 当UseNewAnalysis为false时生效 // 注意:此字段可能返回 null,表示取不到有效值。 ColNames []*string `json:"ColNames,omitnil,omitempty" name:"ColNames"` // 日志统计分析结果 // 当UseNewAnalysis为false时生效 // 注意:此字段可能返回 null,表示取不到有效值。 AnalysisResults []*LogItems `json:"AnalysisResults,omitnil,omitempty" name:"AnalysisResults"` // 日志统计分析结果 // 当UseNewAnalysis为true时生效 // 注意:此字段可能返回 null,表示取不到有效值。 AnalysisRecords []*string `json:"AnalysisRecords,omitnil,omitempty" name:"AnalysisRecords"` // 日志统计分析结果的列属性 // 当UseNewAnalysis为true时生效 // 注意:此字段可能返回 null,表示取不到有效值。 Columns []*Column `json:"Columns,omitnil,omitempty" name:"Columns"` // 本次统计分析使用的采样率 // 注意:此字段可能返回 null,表示取不到有效值。 SamplingRate *float64 `json:"SamplingRate,omitnil,omitempty" name:"SamplingRate"` // 使用多日志主题检索时,各个日志主题的基本信息,例如报错信息。 // 注意:此字段可能返回 null,表示取不到有效值。 Topics *SearchLogTopics `json:"Topics,omitnil,omitempty" name:"Topics"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type SearchLogTopics ¶ added in v1.0.722
type SearchLogTopics struct { // 多日志主题检索对应的错误信息 // 注意:此字段可能返回 null,表示取不到有效值。 Errors []*SearchLogErrors `json:"Errors,omitnil,omitempty" name:"Errors"` // 多日志主题检索各日志主题信息 // 注意:此字段可能返回 null,表示取不到有效值。 Infos []*SearchLogInfos `json:"Infos,omitnil,omitempty" name:"Infos"` }
type ShipperInfo ¶ added in v1.0.210
type ShipperInfo struct { // 投递规则ID ShipperId *string `json:"ShipperId,omitnil,omitempty" name:"ShipperId"` // 日志主题ID TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"` // 投递的bucket地址 Bucket *string `json:"Bucket,omitnil,omitempty" name:"Bucket"` // 投递的前缀目录 Prefix *string `json:"Prefix,omitnil,omitempty" name:"Prefix"` // 投递规则的名字 ShipperName *string `json:"ShipperName,omitnil,omitempty" name:"ShipperName"` // 投递的时间间隔,单位 秒 Interval *uint64 `json:"Interval,omitnil,omitempty" name:"Interval"` // 投递的文件的最大值,单位 MB MaxSize *uint64 `json:"MaxSize,omitnil,omitempty" name:"MaxSize"` // 是否生效 Status *bool `json:"Status,omitnil,omitempty" name:"Status"` // 投递日志的过滤规则 // 注意:此字段可能返回 null,表示取不到有效值。 FilterRules []*FilterRuleInfo `json:"FilterRules,omitnil,omitempty" name:"FilterRules"` // 投递日志的分区规则,支持strftime的时间格式表示 Partition *string `json:"Partition,omitnil,omitempty" name:"Partition"` // 投递日志的压缩配置 // 注意:此字段可能返回 null,表示取不到有效值。 Compress *CompressInfo `json:"Compress,omitnil,omitempty" name:"Compress"` // 投递日志的内容格式配置 // 注意:此字段可能返回 null,表示取不到有效值。 Content *ContentInfo `json:"Content,omitnil,omitempty" name:"Content"` // 投递日志的创建时间 CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"` // 投递文件命名配置,0:随机数命名,1:投递时间命名,默认0(随机数命名) // 注意:此字段可能返回 null,表示取不到有效值。 FilenameMode *uint64 `json:"FilenameMode,omitnil,omitempty" name:"FilenameMode"` // 投递数据范围的开始时间点 // 注意:此字段可能返回 null,表示取不到有效值。 StartTime *int64 `json:"StartTime,omitnil,omitempty" name:"StartTime"` // 投递数据范围的结束时间点 // 注意:此字段可能返回 null,表示取不到有效值。 EndTime *int64 `json:"EndTime,omitnil,omitempty" name:"EndTime"` // 历史数据投递的进度(仅当用户选择的数据内中历史数据时才有效) // 注意:此字段可能返回 null,表示取不到有效值。 Progress *float64 `json:"Progress,omitnil,omitempty" name:"Progress"` // 历史数据全部投递完成剩余的时间(仅当用户选择的数据中有历史数据时才有效) // 注意:此字段可能返回 null,表示取不到有效值。 RemainTime *int64 `json:"RemainTime,omitnil,omitempty" name:"RemainTime"` // 历史任务状态: // 0:实时任务 // 1:任务准备中 // 2:任务运行中 // 3:任务运行异常 // 4:任务运行结束 // 注意:此字段可能返回 null,表示取不到有效值。 HistoryStatus *int64 `json:"HistoryStatus,omitnil,omitempty" name:"HistoryStatus"` // cos桶类型 // 注意:此字段可能返回 null,表示取不到有效值。 StorageType *string `json:"StorageType,omitnil,omitempty" name:"StorageType"` }
type ShipperTaskInfo ¶ added in v1.0.210
type ShipperTaskInfo struct { // 投递任务ID TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"` // 投递信息ID ShipperId *string `json:"ShipperId,omitnil,omitempty" name:"ShipperId"` // 日志主题ID TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"` // 本批投递的日志的开始时间戳,毫秒 RangeStart *int64 `json:"RangeStart,omitnil,omitempty" name:"RangeStart"` // 本批投递的日志的结束时间戳, 毫秒 RangeEnd *int64 `json:"RangeEnd,omitnil,omitempty" name:"RangeEnd"` // 本次投递任务的开始时间戳, 毫秒 StartTime *int64 `json:"StartTime,omitnil,omitempty" name:"StartTime"` // 本次投递任务的结束时间戳, 毫秒 EndTime *int64 `json:"EndTime,omitnil,omitempty" name:"EndTime"` // 本次投递的结果,"success","running","failed" Status *string `json:"Status,omitnil,omitempty" name:"Status"` // 结果的详细信息 Message *string `json:"Message,omitnil,omitempty" name:"Message"` }
type SplitPartitionRequest ¶
type SplitPartitionRequest struct { *tchttp.BaseRequest // 日志主题ID TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"` // 待分裂分区ID PartitionId *int64 `json:"PartitionId,omitnil,omitempty" name:"PartitionId"` // 分区切分的哈希key的位置,只在Number=2时有意义 SplitKey *string `json:"SplitKey,omitnil,omitempty" name:"SplitKey"` // 分区分裂个数(可选),默认等于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 ¶ added in v1.0.426
type SplitPartitionRequestParams struct { // 日志主题ID TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"` // 待分裂分区ID PartitionId *int64 `json:"PartitionId,omitnil,omitempty" name:"PartitionId"` // 分区切分的哈希key的位置,只在Number=2时有意义 SplitKey *string `json:"SplitKey,omitnil,omitempty" name:"SplitKey"` // 分区分裂个数(可选),默认等于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 ¶ added in v1.0.426
type SplitPartitionResponseParams struct { // 分裂结果集 Partitions []*PartitionInfo `json:"Partitions,omitnil,omitempty" name:"Partitions"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type TopicIdAndRegion ¶ added in v1.0.710
type TopicIdAndRegion struct { // 日志主题id TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"` // 日志主题id所在的地域id。 // // id,地域,简称信息如下: // - 1, 广州,ap-guangzhou // - 4, 上海,ap-shanghai // - 5, 中国香港,ap-hongkong // - 6, 多伦多,na-toronto // - 7, 上海金融,ap-shanghai-fsi // - 8, 北京,ap-beijing // - 9, 新加坡,ap-singapore // - 11, 深圳金融,ap-shenzhen-fsi // - 15, 硅谷,na-siliconvalley // - 16, 成都,ap-chengdu // - 17, 法兰克福,eu-frankfurt // - 18, 首尔,ap-seoul // - 19, 重庆,ap-chongqing // - 21, 孟买,ap-mumbai // - 22, 弗吉尼亚,na-ashburn // - 23, 曼谷,ap-bangkok // - 25, 东京,ap-tokyo // - 33, 南京,ap-nanjing // - 46, 北京金融,ap-beijing-fsi // - 72, 雅加达,ap-jakarta // - 74, 圣保罗,sa-saopaulo RegionId *uint64 `json:"RegionId,omitnil,omitempty" name:"RegionId"` }
type TopicInfo ¶
type TopicInfo struct { // 日志集ID LogsetId *string `json:"LogsetId,omitnil,omitempty" name:"LogsetId"` // 主题ID TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"` // 主题名称 TopicName *string `json:"TopicName,omitnil,omitempty" name:"TopicName"` // 主题分区个数 PartitionCount *int64 `json:"PartitionCount,omitnil,omitempty" name:"PartitionCount"` // 主题是否开启索引(主题类型需为日志主题) Index *bool `json:"Index,omitnil,omitempty" name:"Index"` // 云产品标识,主题由其它云产品创建时,该字段会显示云产品名称,例如CDN、TKE // 注意:此字段可能返回 null,表示取不到有效值。 AssumerName *string `json:"AssumerName,omitnil,omitempty" name:"AssumerName"` // 创建时间 CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"` // 主题是否开启采集,true:开启采集;false:关闭采集。 // 创建日志主题时默认开启,可通过SDK调用ModifyTopic修改此字段。 // 控制台目前不支持修改此参数。 Status *bool `json:"Status,omitnil,omitempty" name:"Status"` // 主题绑定的标签信息 // 注意:此字段可能返回 null,表示取不到有效值。 Tags []*Tag `json:"Tags,omitnil,omitempty" name:"Tags"` // 该主题是否开启自动分裂 // 注意:此字段可能返回 null,表示取不到有效值。 AutoSplit *bool `json:"AutoSplit,omitnil,omitempty" name:"AutoSplit"` // 若开启自动分裂的话,该主题能够允许的最大分区数 // 注意:此字段可能返回 null,表示取不到有效值。 MaxSplitPartitions *int64 `json:"MaxSplitPartitions,omitnil,omitempty" name:"MaxSplitPartitions"` // 主题的存储类型 // 注意:此字段可能返回 null,表示取不到有效值。 StorageType *string `json:"StorageType,omitnil,omitempty" name:"StorageType"` // 生命周期,单位天,可取值范围1~3600。取值为3640时代表永久保存 // 注意:此字段可能返回 null,表示取不到有效值。 Period *int64 `json:"Period,omitnil,omitempty" name:"Period"` // 云产品二级标识,日志主题由其它云产品创建时,该字段会显示云产品名称及其日志类型的二级分类,例如TKE-Audit、TKE-Event。部分云产品仅有云产品标识(AssumerName),无该字段。 // 注意:此字段可能返回 null,表示取不到有效值。 SubAssumerName *string `json:"SubAssumerName,omitnil,omitempty" name:"SubAssumerName"` // 主题描述 // 注意:此字段可能返回 null,表示取不到有效值。 Describes *string `json:"Describes,omitnil,omitempty" name:"Describes"` // 开启日志沉降,标准存储的生命周期, hotPeriod < Period。 // 标准存储为 hotPeriod, 低频存储则为 Period-hotPeriod。(主题类型需为日志主题) // HotPeriod=0为没有开启日志沉降。 // 注意:此字段可能返回 null,表示取不到有效值。 HotPeriod *uint64 `json:"HotPeriod,omitnil,omitempty" name:"HotPeriod"` // 主题类型。 // - 0: 日志主题 // - 1: 指标主题 // 注意:此字段可能返回 null,表示取不到有效值。 BizType *uint64 `json:"BizType,omitnil,omitempty" name:"BizType"` // 免鉴权开关。 false:关闭; true:开启。 // 开启后将支持指定操作匿名访问该日志主题。详情请参见[日志主题](https://cloud.tencent.com/document/product/614/41035)。 // 注意:此字段可能返回 null,表示取不到有效值。 IsWebTracking *bool `json:"IsWebTracking,omitnil,omitempty" name:"IsWebTracking"` }
type UploadLogRequest ¶ added in v1.0.228
type UploadLogRequest struct { *tchttp.BaseRequest // 主题id TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"` // 根据 hashkey 写入相应范围的主题分区 HashKey *string `json:"HashKey,omitnil,omitempty" name:"HashKey"` // 压缩方法 CompressType *string `json:"CompressType,omitnil,omitempty" name:"CompressType"` }
func NewUploadLogRequest ¶ added in v1.0.228
func NewUploadLogRequest() (request *UploadLogRequest)
func (*UploadLogRequest) FromJsonString ¶ added in v1.0.228
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 ¶ added in v1.0.228
func (r *UploadLogRequest) ToJsonString() string
type UploadLogRequestParams ¶ added in v1.0.426
type UploadLogRequestParams struct { // 主题id TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"` // 根据 hashkey 写入相应范围的主题分区 HashKey *string `json:"HashKey,omitnil,omitempty" name:"HashKey"` // 压缩方法 CompressType *string `json:"CompressType,omitnil,omitempty" name:"CompressType"` }
Predefined struct for user
type UploadLogResponse ¶ added in v1.0.228
type UploadLogResponse struct { *tchttp.BaseResponse Response *UploadLogResponseParams `json:"Response"` }
func NewUploadLogResponse ¶ added in v1.0.228
func NewUploadLogResponse() (response *UploadLogResponse)
func (*UploadLogResponse) FromJsonString ¶ added in v1.0.228
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 ¶ added in v1.0.228
func (r *UploadLogResponse) ToJsonString() string
type UploadLogResponseParams ¶ added in v1.0.426
type UploadLogResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ValueInfo ¶
type ValueInfo struct { // 字段类型,目前支持的类型有:long、text、double Type *string `json:"Type,omitnil,omitempty" name:"Type"` // 字段的分词符,其中的每个字符代表一个分词符; // 仅支持英文符号、\n\t\r及转义符\; // long及double类型字段需为空; // 注意:\n\t\r本身已被转义,直接使用双引号包裹即可作为入参,无需再次转义。使用API Explorer进行调试时请使用JSON参数输入方式,以避免\n\t\r被重复转义 Tokenizer *string `json:"Tokenizer,omitnil,omitempty" name:"Tokenizer"` // 字段是否开启分析功能 SqlFlag *bool `json:"SqlFlag,omitnil,omitempty" name:"SqlFlag"` // 是否包含中文,long及double类型字段需为false // 注意:此字段可能返回 null,表示取不到有效值。 ContainZH *bool `json:"ContainZH,omitnil,omitempty" name:"ContainZH"` }
type WebCallback ¶
type WebCallback struct { // 回调地址。最大支持1024个字节数。 Url *string `json:"Url,omitnil,omitempty" name:"Url"` // 回调的类型。可选值: // - WeCom // - Http // - DingTalk // - Lark CallbackType *string `json:"CallbackType,omitnil,omitempty" name:"CallbackType"` // 回调方法。可选值: // - POST(默认值) // - PUT // // 注意: // - 参数CallbackType为Http时为必选。 // 注意:此字段可能返回 null,表示取不到有效值。 Method *string `json:"Method,omitnil,omitempty" name:"Method"` // 请求头。 // 注意:该参数已废弃,请在<a href="https://cloud.tencent.com/document/product/614/56466">创建告警策略</a>接口CallBack参数中指定请求头。 // 注意:此字段可能返回 null,表示取不到有效值。 Headers []*string `json:"Headers,omitnil,omitempty" name:"Headers"` // 请求内容。 // 注意:该参数已废弃,请在<a href="https://cloud.tencent.com/document/product/614/56466">创建告警策略</a>接口CallBack参数中指定请求内容。 // 注意:此字段可能返回 null,表示取不到有效值。 Body *string `json:"Body,omitnil,omitempty" name:"Body"` // 序号。 // - 入参无效。 // - 出参有效。 Index *int64 `json:"Index,omitnil,omitempty" name:"Index"` }