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) 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) 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) 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) DescribeKafkaUser(request *DescribeKafkaUserRequest) (response *DescribeKafkaUserResponse, err error)
- func (c *Client) DescribeKafkaUserWithContext(ctx context.Context, request *DescribeKafkaUserRequest) (response *DescribeKafkaUserResponse, 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) ModifyDataTransform(request *ModifyDataTransformRequest) (response *ModifyDataTransformResponse, err error)
- func (c *Client) ModifyDataTransformWithContext(ctx context.Context, request *ModifyDataTransformRequest) (response *ModifyDataTransformResponse, err error)
- func (c *Client) ModifyIndex(request *ModifyIndexRequest) (response *ModifyIndexResponse, err error)
- func (c *Client) ModifyIndexWithContext(ctx context.Context, request *ModifyIndexRequest) (response *ModifyIndexResponse, err error)
- func (c *Client) ModifyKafkaConsumer(request *ModifyKafkaConsumerRequest) (response *ModifyKafkaConsumerResponse, err error)
- func (c *Client) ModifyKafkaConsumerWithContext(ctx context.Context, request *ModifyKafkaConsumerRequest) (response *ModifyKafkaConsumerResponse, err error)
- func (c *Client) ModifyKafkaRecharge(request *ModifyKafkaRechargeRequest) (response *ModifyKafkaRechargeResponse, err error)
- func (c *Client) ModifyKafkaRechargeWithContext(ctx context.Context, request *ModifyKafkaRechargeRequest) (response *ModifyKafkaRechargeResponse, err error)
- func (c *Client) ModifyLogset(request *ModifyLogsetRequest) (response *ModifyLogsetResponse, err error)
- func (c *Client) ModifyLogsetWithContext(ctx context.Context, request *ModifyLogsetRequest) (response *ModifyLogsetResponse, err error)
- func (c *Client) ModifyMachineGroup(request *ModifyMachineGroupRequest) (response *ModifyMachineGroupResponse, err error)
- func (c *Client) ModifyMachineGroupWithContext(ctx context.Context, request *ModifyMachineGroupRequest) (response *ModifyMachineGroupResponse, err error)
- func (c *Client) ModifyScheduledSql(request *ModifyScheduledSqlRequest) (response *ModifyScheduledSqlResponse, err error)
- func (c *Client) ModifyScheduledSqlWithContext(ctx context.Context, request *ModifyScheduledSqlRequest) (response *ModifyScheduledSqlResponse, err error)
- func (c *Client) ModifyShipper(request *ModifyShipperRequest) (response *ModifyShipperResponse, err error)
- func (c *Client) ModifyShipperWithContext(ctx context.Context, request *ModifyShipperRequest) (response *ModifyShipperResponse, err error)
- func (c *Client) ModifyTopic(request *ModifyTopicRequest) (response *ModifyTopicResponse, err error)
- func (c *Client) ModifyTopicWithContext(ctx context.Context, request *ModifyTopicRequest) (response *ModifyTopicResponse, err error)
- func (c *Client) OpenKafkaConsumer(request *OpenKafkaConsumerRequest) (response *OpenKafkaConsumerResponse, err error)
- func (c *Client) OpenKafkaConsumerWithContext(ctx context.Context, request *OpenKafkaConsumerRequest) (response *OpenKafkaConsumerResponse, err error)
- func (c *Client) PreviewKafkaRecharge(request *PreviewKafkaRechargeRequest) (response *PreviewKafkaRechargeResponse, err error)
- func (c *Client) PreviewKafkaRechargeWithContext(ctx context.Context, request *PreviewKafkaRechargeRequest) (response *PreviewKafkaRechargeResponse, err error)
- func (c *Client) QueryMetric(request *QueryMetricRequest) (response *QueryMetricResponse, err error)
- func (c *Client) QueryMetricWithContext(ctx context.Context, request *QueryMetricRequest) (response *QueryMetricResponse, err error)
- func (c *Client) QueryRangeMetric(request *QueryRangeMetricRequest) (response *QueryRangeMetricResponse, err error)
- func (c *Client) QueryRangeMetricWithContext(ctx context.Context, request *QueryRangeMetricRequest) (response *QueryRangeMetricResponse, err error)
- func (c *Client) RetryShipperTask(request *RetryShipperTaskRequest) (response *RetryShipperTaskResponse, err error)
- func (c *Client) RetryShipperTaskWithContext(ctx context.Context, request *RetryShipperTaskRequest) (response *RetryShipperTaskResponse, err error)
- func (c *Client) SearchCosRechargeInfo(request *SearchCosRechargeInfoRequest) (response *SearchCosRechargeInfoResponse, err error)
- func (c *Client) SearchCosRechargeInfoWithContext(ctx context.Context, request *SearchCosRechargeInfoRequest) (response *SearchCosRechargeInfoResponse, err error)
- func (c *Client) SearchLog(request *SearchLogRequest) (response *SearchLogResponse, err error)
- func (c *Client) SearchLogWithContext(ctx context.Context, request *SearchLogRequest) (response *SearchLogResponse, err error)
- func (c *Client) SplitPartition(request *SplitPartitionRequest) (response *SplitPartitionResponse, err error)
- func (c *Client) SplitPartitionWithContext(ctx context.Context, request *SplitPartitionRequest) (response *SplitPartitionResponse, err error)
- func (c *Client) UploadLog(request *UploadLogRequest, data []byte) (response *UploadLogResponse, err error)
- func (c *Client) UploadLogWithContext(ctx context.Context, request *UploadLogRequest, data []byte) (response *UploadLogResponse, err error)
- type CloseKafkaConsumerRequest
- type CloseKafkaConsumerRequestParams
- type CloseKafkaConsumerResponse
- type CloseKafkaConsumerResponseParams
- type Column
- type CompressInfo
- type 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 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 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 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 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 DescribeKafkaUserRequest
- type DescribeKafkaUserRequestParams
- type DescribeKafkaUserResponse
- type DescribeKafkaUserResponseParams
- 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 ModifyDataTransformRequest
- type ModifyDataTransformRequestParams
- type ModifyDataTransformResponse
- type ModifyDataTransformResponseParams
- type ModifyIndexRequest
- type ModifyIndexRequestParams
- type ModifyIndexResponse
- type ModifyIndexResponseParams
- type ModifyKafkaConsumerRequest
- type ModifyKafkaConsumerRequestParams
- type ModifyKafkaConsumerResponse
- type ModifyKafkaConsumerResponseParams
- type ModifyKafkaRechargeRequest
- type ModifyKafkaRechargeRequestParams
- type ModifyKafkaRechargeResponse
- type ModifyKafkaRechargeResponseParams
- type ModifyLogsetRequest
- type ModifyLogsetRequestParams
- type ModifyLogsetResponse
- type ModifyLogsetResponseParams
- type ModifyMachineGroupRequest
- type ModifyMachineGroupRequestParams
- type ModifyMachineGroupResponse
- type ModifyMachineGroupResponseParams
- type ModifyScheduledSqlRequest
- type ModifyScheduledSqlRequestParams
- type ModifyScheduledSqlResponse
- type ModifyScheduledSqlResponseParams
- type ModifyShipperRequest
- type ModifyShipperRequestParams
- type ModifyShipperResponse
- type ModifyShipperResponseParams
- type ModifyTopicRequest
- type ModifyTopicRequestParams
- type ModifyTopicResponse
- type ModifyTopicResponseParams
- type MonitorTime
- type MultiCondition
- type MultiTopicSearchInformation
- type NoticeReceiver
- type NoticeRule
- type OpenKafkaConsumerRequest
- type OpenKafkaConsumerRequestParams
- type OpenKafkaConsumerResponse
- type OpenKafkaConsumerResponseParams
- type ParquetInfo
- type ParquetKeyInfo
- type PartitionInfo
- type PreviewKafkaRechargeRequest
- type PreviewKafkaRechargeRequestParams
- type PreviewKafkaRechargeResponse
- type PreviewKafkaRechargeResponseParams
- type PreviewLogStatistic
- type QueryMetricRequest
- type QueryMetricRequestParams
- type QueryMetricResponse
- type QueryMetricResponseParams
- type QueryRangeMetricRequest
- type QueryRangeMetricRequestParams
- type QueryRangeMetricResponse
- type QueryRangeMetricResponseParams
- type RetryShipperTaskRequest
- type RetryShipperTaskRequestParams
- type RetryShipperTaskResponse
- type RetryShipperTaskResponseParams
- type RuleInfo
- type RuleKeyValueInfo
- type RuleTagInfo
- type ScheduledSqlResouceInfo
- type ScheduledSqlTaskInfo
- type SearchCosRechargeInfoRequest
- type SearchCosRechargeInfoRequestParams
- type SearchCosRechargeInfoResponse
- type SearchCosRechargeInfoResponseParams
- type SearchLogErrors
- type SearchLogInfos
- type SearchLogRequest
- type SearchLogRequestParams
- type SearchLogResponse
- type SearchLogResponseParams
- type SearchLogTopics
- type ShipperInfo
- type ShipperTaskInfo
- type SplitPartitionRequest
- type SplitPartitionRequestParams
- type SplitPartitionResponse
- type SplitPartitionResponseParams
- type Tag
- type 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_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" // 资源不存在。 RESOURCENOTFOUND = "ResourceNotFound" // agent version不存在。 RESOURCENOTFOUND_AGENTVERSIONNOTEXIST = "ResourceNotFound.AgentVersionNotExist" // 告警策略不存在。 RESOURCENOTFOUND_ALARMNOTEXIST = "ResourceNotFound.AlarmNotExist" // 告警策略通知模板不存在。 RESOURCENOTFOUND_ALARMNOTICENOTEXIST = "ResourceNotFound.AlarmNoticeNotExist" // 指定的采集规则配置不存在。 RESOURCENOTFOUND_CONFIGNOTEXIST = "ResourceNotFound.ConfigNotExist" // 数据加工任务不存在。 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 ¶
type AddMachineGroupInfoRequest struct { *tchttp.BaseRequest // 机器组ID GroupId *string `json:"GroupId,omitnil" name:"GroupId"` // 机器组类型 // 目前type支持 ip 和 label MachineGroupType *MachineGroupTypeInfo `json:"MachineGroupType,omitnil" name:"MachineGroupType"` }
func NewAddMachineGroupInfoRequest ¶
func NewAddMachineGroupInfoRequest() (request *AddMachineGroupInfoRequest)
func (*AddMachineGroupInfoRequest) FromJsonString ¶
func (r *AddMachineGroupInfoRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*AddMachineGroupInfoRequest) ToJsonString ¶
func (r *AddMachineGroupInfoRequest) ToJsonString() string
type AddMachineGroupInfoRequestParams ¶
type AddMachineGroupInfoRequestParams struct { // 机器组ID GroupId *string `json:"GroupId,omitnil" name:"GroupId"` // 机器组类型 // 目前type支持 ip 和 label MachineGroupType *MachineGroupTypeInfo `json:"MachineGroupType,omitnil" name:"MachineGroupType"` }
Predefined struct for user
type AddMachineGroupInfoResponse ¶
type AddMachineGroupInfoResponse struct { *tchttp.BaseResponse Response *AddMachineGroupInfoResponseParams `json:"Response"` }
func NewAddMachineGroupInfoResponse ¶
func NewAddMachineGroupInfoResponse() (response *AddMachineGroupInfoResponse)
func (*AddMachineGroupInfoResponse) FromJsonString ¶
func (r *AddMachineGroupInfoResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*AddMachineGroupInfoResponse) ToJsonString ¶
func (r *AddMachineGroupInfoResponse) ToJsonString() string
type AddMachineGroupInfoResponseParams ¶
type AddMachineGroupInfoResponseParams struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type AlarmAnalysisConfig ¶
type AlarmClassification ¶
type AlarmInfo ¶
type AlarmInfo struct { // 告警策略名称。 Name *string `json:"Name,omitnil" name:"Name"` // 监控对象列表。 AlarmTargets []*AlarmTargetInfo `json:"AlarmTargets,omitnil" name:"AlarmTargets"` // 监控任务运行时间点。 MonitorTime *MonitorTime `json:"MonitorTime,omitnil" name:"MonitorTime"` // 单触发条件。与MultiConditions参数互斥。 Condition *string `json:"Condition,omitnil" name:"Condition"` // 持续周期。持续满足触发条件TriggerCount个周期后,再进行告警;最小值为1,最大值为10。 TriggerCount *int64 `json:"TriggerCount,omitnil" name:"TriggerCount"` // 告警重复的周期。单位是min。取值范围是0~1440。 AlarmPeriod *int64 `json:"AlarmPeriod,omitnil" name:"AlarmPeriod"` // 关联的告警通知模板列表。 AlarmNoticeIds []*string `json:"AlarmNoticeIds,omitnil" name:"AlarmNoticeIds"` // 开启状态。 Status *bool `json:"Status,omitnil" name:"Status"` // 告警策略ID。 AlarmId *string `json:"AlarmId,omitnil" name:"AlarmId"` // 创建时间。 CreateTime *string `json:"CreateTime,omitnil" name:"CreateTime"` // 最近更新时间。 UpdateTime *string `json:"UpdateTime,omitnil" name:"UpdateTime"` // 自定义通知模板 // 注意:此字段可能返回 null,表示取不到有效值。 MessageTemplate *string `json:"MessageTemplate,omitnil" name:"MessageTemplate"` // 自定义回调模板 // 注意:此字段可能返回 null,表示取不到有效值。 CallBack *CallBackInfo `json:"CallBack,omitnil" name:"CallBack"` // 多维分析设置 // 注意:此字段可能返回 null,表示取不到有效值。 Analysis []*AnalysisDimensional `json:"Analysis,omitnil" name:"Analysis"` // 分组触发状态。1:开启,0:关闭(默认) // 注意:此字段可能返回 null,表示取不到有效值。 GroupTriggerStatus *bool `json:"GroupTriggerStatus,omitnil" name:"GroupTriggerStatus"` // 分组触发条件。 // 注意:此字段可能返回 null,表示取不到有效值。 GroupTriggerCondition []*string `json:"GroupTriggerCondition,omitnil" name:"GroupTriggerCondition"` // 监控对象类型。0:执行语句共用监控对象;1:每个执行语句单独选择监控对象。 // 注意:此字段可能返回 null,表示取不到有效值。 MonitorObjectType *uint64 `json:"MonitorObjectType,omitnil" name:"MonitorObjectType"` // 告警级别。0:警告(Warn);1:提醒(Info);2:紧急 (Critical)。 // 注意:此字段可能返回 null,表示取不到有效值。 AlarmLevel *uint64 `json:"AlarmLevel,omitnil" name:"AlarmLevel"` // 多触发条件。与 // Condition互斥。 // 注意:此字段可能返回 null,表示取不到有效值。 MultiConditions []*MultiCondition `json:"MultiConditions,omitnil" name:"MultiConditions"` //Tags 标签 Tags []*Tag `json:"Tags,omitnil" name:"Tags"` }
type AlarmNotice ¶
type AlarmNotice struct { // 告警通知模板名称。 Name *string `json:"Name,omitnil" name:"Name"` // 告警模板的类型。可选值: // <br><li> Trigger - 告警触发</li> // <br><li> Recovery - 告警恢复</li> // <br><li> All - 告警触发和告警恢复</li> Type *string `json:"Type,omitnil" name:"Type"` // 告警通知模板接收者信息。 // 注意:此字段可能返回 null,表示取不到有效值。 NoticeReceivers []*NoticeReceiver `json:"NoticeReceivers,omitnil" name:"NoticeReceivers"` // 告警通知模板回调信息。 // 注意:此字段可能返回 null,表示取不到有效值。 WebCallbacks []*WebCallback `json:"WebCallbacks,omitnil" name:"WebCallbacks"` // 告警通知模板ID。 // 注意:此字段可能返回 null,表示取不到有效值。 AlarmNoticeId *string `json:"AlarmNoticeId,omitnil" name:"AlarmNoticeId"` // 创建时间。 // 注意:此字段可能返回 null,表示取不到有效值。 CreateTime *string `json:"CreateTime,omitnil" name:"CreateTime"` // 最近更新时间。 // 注意:此字段可能返回 null,表示取不到有效值。 UpdateTime *string `json:"UpdateTime,omitnil" name:"UpdateTime"` // 通知规则。 // 注意:此字段可能返回 null,表示取不到有效值。 NoticeRules []*NoticeRule `json:"NoticeRules,omitnil" name:"NoticeRules"` }
type AlarmShieldInfo ¶
type AlarmShieldInfo struct { // 通知渠道组Id AlarmNoticeId *string `json:"AlarmNoticeId,omitnil" name:"AlarmNoticeId"` // 屏蔽规则id TaskId *string `json:"TaskId,omitnil" name:"TaskId"` // 屏蔽开始时间(秒级时间戳)。 StartTime *uint64 `json:"StartTime,omitnil" name:"StartTime"` // 屏蔽结束时间(秒级时间戳)。 EndTime *uint64 `json:"EndTime,omitnil" name:"EndTime"` // 屏蔽类型。1:屏蔽所有通知,2:按照Rule参数屏蔽匹配规则的通知。 Type *uint64 `json:"Type,omitnil" name:"Type"` // 屏蔽规则,当Type为2时必填。规则填写方式详见[产品文档](https://cloud.tencent.com/document/product/614/103178#rule)。 // 注意:此字段可能返回 null,表示取不到有效值。 Rule *string `json:"Rule,omitnil" name:"Rule"` // 屏蔽原因。 Reason *string `json:"Reason,omitnil" name:"Reason"` // 规则创建来源。 // 1. 控制台,2.api,3.告警通知 Source *uint64 `json:"Source,omitnil" name:"Source"` // 操作者。 Operator *string `json:"Operator,omitnil" name:"Operator"` // 规则状态。 // 0:暂未生效,1:生效中,2:已失效 Status *uint64 `json:"Status,omitnil" name:"Status"` // 规则创建时间。 CreateTime *uint64 `json:"CreateTime,omitnil" name:"CreateTime"` // 规则更新时间。 UpdateTime *uint64 `json:"UpdateTime,omitnil" name:"UpdateTime"` }
type AlarmTarget ¶
type AlarmTarget struct { // 日志主题ID。 // 注意:此字段可能返回 null,表示取不到有效值。 TopicId *string `json:"TopicId,omitnil" name:"TopicId"` // 查询语句。 // 注意:此字段可能返回 null,表示取不到有效值。 Query *string `json:"Query,omitnil" name:"Query"` // 告警对象序号;从1开始递增。 // 注意:此字段可能返回 null,表示取不到有效值。 Number *int64 `json:"Number,omitnil" name:"Number"` // 查询范围起始时间相对于告警执行时间的偏移,单位为分钟,取值为非正,最大值为0,最小值为-1440。 // 注意:此字段可能返回 null,表示取不到有效值。 StartTimeOffset *int64 `json:"StartTimeOffset,omitnil" name:"StartTimeOffset"` // 查询范围终止时间相对于告警执行时间的偏移,单位为分钟,取值为非正,须大于StartTimeOffset,最大值为0,最小值为-1440。 // 注意:此字段可能返回 null,表示取不到有效值。 EndTimeOffset *int64 `json:"EndTimeOffset,omitnil" name:"EndTimeOffset"` // 日志集ID。 // 注意:此字段可能返回 null,表示取不到有效值。 LogsetId *string `json:"LogsetId,omitnil" 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" name:"SyntaxRule"` }
type AlarmTargetInfo ¶
type AlarmTargetInfo struct { // 日志集ID。 LogsetId *string `json:"LogsetId,omitnil" name:"LogsetId"` // 日志集名称。 LogsetName *string `json:"LogsetName,omitnil" name:"LogsetName"` // 日志主题ID。 TopicId *string `json:"TopicId,omitnil" name:"TopicId"` // 日志主题名称。 TopicName *string `json:"TopicName,omitnil" name:"TopicName"` // 查询语句。 Query *string `json:"Query,omitnil" name:"Query"` // 告警对象序号。 Number *int64 `json:"Number,omitnil" name:"Number"` // 查询范围起始时间相对于告警执行时间的偏移,单位为分钟,取值为非正,最大值为0,最小值为-1440。 StartTimeOffset *int64 `json:"StartTimeOffset,omitnil" name:"StartTimeOffset"` // 查询范围终止时间相对于告警执行时间的偏移,单位为分钟,取值为非正,须大于StartTimeOffset,最大值为0,最小值为-1440。 EndTimeOffset *int64 `json:"EndTimeOffset,omitnil" name:"EndTimeOffset"` }
type AlertHistoryNotice ¶
type AlertHistoryRecord ¶
type AlertHistoryRecord struct { // 告警历史ID RecordId *string `json:"RecordId,omitnil" name:"RecordId"` // 告警策略ID AlarmId *string `json:"AlarmId,omitnil" name:"AlarmId"` // 告警策略名称 AlarmName *string `json:"AlarmName,omitnil" name:"AlarmName"` // 监控对象ID TopicId *string `json:"TopicId,omitnil" name:"TopicId"` // 监控对象名称 TopicName *string `json:"TopicName,omitnil" name:"TopicName"` // 监控对象所属地域 Region *string `json:"Region,omitnil" name:"Region"` // 触发条件 Trigger *string `json:"Trigger,omitnil" name:"Trigger"` // 持续周期,持续满足触发条件TriggerCount个周期后,再进行告警 TriggerCount *int64 `json:"TriggerCount,omitnil" name:"TriggerCount"` // 告警通知发送频率,单位为分钟 AlarmPeriod *int64 `json:"AlarmPeriod,omitnil" name:"AlarmPeriod"` // 通知渠道组 Notices []*AlertHistoryNotice `json:"Notices,omitnil" name:"Notices"` // 告警持续时间,单位为分钟 Duration *int64 `json:"Duration,omitnil" name:"Duration"` // 告警状态,0代表未恢复,1代表已恢复,2代表已失效 Status *int64 `json:"Status,omitnil" name:"Status"` // 告警发生时间,毫秒级Unix时间戳 CreateTime *uint64 `json:"CreateTime,omitnil" name:"CreateTime"` // 告警分组触发时对应的分组信息 // 注意:此字段可能返回 null,表示取不到有效值。 GroupTriggerCondition []*GroupTriggerConditionInfo `json:"GroupTriggerCondition,omitnil" name:"GroupTriggerCondition"` // 告警级别,0代表警告(Warn),1代表提醒(Info),2代表紧急 (Critical) // 注意:此字段可能返回 null,表示取不到有效值。 AlarmLevel *uint64 `json:"AlarmLevel,omitnil" name:"AlarmLevel"` // 监控对象类型。 // 0:执行语句共用监控对象; 1:每个执行语句单独选择监控对象。 // 注意:此字段可能返回 null,表示取不到有效值。 MonitorObjectType *uint64 `json:"MonitorObjectType,omitnil" name:"MonitorObjectType"` }
type AnalysisDimensional ¶
type AnalysisDimensional struct { // 分析名称 // 注意:此字段可能返回 null,表示取不到有效值。 Name *string `json:"Name,omitnil" name:"Name"` // 分析类型:query,field ,original // 注意:此字段可能返回 null,表示取不到有效值。 Type *string `json:"Type,omitnil" name:"Type"` // 分析内容 // 注意:此字段可能返回 null,表示取不到有效值。 Content *string `json:"Content,omitnil" 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" name:"ConfigInfo"` }
type ApplyConfigToMachineGroupRequest ¶
type ApplyConfigToMachineGroupRequest struct { *tchttp.BaseRequest // 采集配置ID ConfigId *string `json:"ConfigId,omitnil" name:"ConfigId"` // 机器组ID GroupId *string `json:"GroupId,omitnil" name:"GroupId"` }
func NewApplyConfigToMachineGroupRequest ¶
func NewApplyConfigToMachineGroupRequest() (request *ApplyConfigToMachineGroupRequest)
func (*ApplyConfigToMachineGroupRequest) FromJsonString ¶
func (r *ApplyConfigToMachineGroupRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ApplyConfigToMachineGroupRequest) ToJsonString ¶
func (r *ApplyConfigToMachineGroupRequest) ToJsonString() string
type ApplyConfigToMachineGroupRequestParams ¶
type ApplyConfigToMachineGroupRequestParams struct { // 采集配置ID ConfigId *string `json:"ConfigId,omitnil" name:"ConfigId"` // 机器组ID GroupId *string `json:"GroupId,omitnil" name:"GroupId"` }
Predefined struct for user
type ApplyConfigToMachineGroupResponse ¶
type ApplyConfigToMachineGroupResponse struct { *tchttp.BaseResponse Response *ApplyConfigToMachineGroupResponseParams `json:"Response"` }
func NewApplyConfigToMachineGroupResponse ¶
func NewApplyConfigToMachineGroupResponse() (response *ApplyConfigToMachineGroupResponse)
func (*ApplyConfigToMachineGroupResponse) FromJsonString ¶
func (r *ApplyConfigToMachineGroupResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ApplyConfigToMachineGroupResponse) ToJsonString ¶
func (r *ApplyConfigToMachineGroupResponse) ToJsonString() string
type ApplyConfigToMachineGroupResponseParams ¶
type ApplyConfigToMachineGroupResponseParams struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type CallBackInfo ¶
type CheckFunctionRequest ¶
type CheckFunctionRequest struct { *tchttp.BaseRequest // 用户输入的加工语句 EtlContent *string `json:"EtlContent,omitnil" name:"EtlContent"` // 加工任务目的topic_id以及别名 DstResources []*DataTransformResouceInfo `json:"DstResources,omitnil" name:"DstResources"` // 数据加工目标主题的类型. 1 固定主题 2动态创建 FuncType *int64 `json:"FuncType,omitnil" name:"FuncType"` }
func NewCheckFunctionRequest ¶
func NewCheckFunctionRequest() (request *CheckFunctionRequest)
func (*CheckFunctionRequest) FromJsonString ¶
func (r *CheckFunctionRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CheckFunctionRequest) ToJsonString ¶
func (r *CheckFunctionRequest) ToJsonString() string
type CheckFunctionRequestParams ¶
type CheckFunctionRequestParams struct { // 用户输入的加工语句 EtlContent *string `json:"EtlContent,omitnil" name:"EtlContent"` // 加工任务目的topic_id以及别名 DstResources []*DataTransformResouceInfo `json:"DstResources,omitnil" name:"DstResources"` // 数据加工目标主题的类型. 1 固定主题 2动态创建 FuncType *int64 `json:"FuncType,omitnil" name:"FuncType"` }
Predefined struct for user
type CheckFunctionResponse ¶
type CheckFunctionResponse struct { *tchttp.BaseResponse Response *CheckFunctionResponseParams `json:"Response"` }
func NewCheckFunctionResponse ¶
func NewCheckFunctionResponse() (response *CheckFunctionResponse)
func (*CheckFunctionResponse) FromJsonString ¶
func (r *CheckFunctionResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CheckFunctionResponse) ToJsonString ¶
func (r *CheckFunctionResponse) ToJsonString() string
type CheckFunctionResponseParams ¶
type CheckFunctionResponseParams struct { // 失败错误码 ErrorCode *int64 `json:"ErrorCode,omitnil" name:"ErrorCode"` // 失败错误信息 ErrorMsg *string `json:"ErrorMsg,omitnil" name:"ErrorMsg"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type CheckRechargeKafkaServerRequest ¶
type CheckRechargeKafkaServerRequest struct { *tchttp.BaseRequest // 导入Kafka类型,0: 腾讯云CKafka,1: 用户自建Kafka KafkaType *uint64 `json:"KafkaType,omitnil" name:"KafkaType"` // 腾讯云CKafka实例ID。 // KafkaType为0时,KafkaInstance必填 KafkaInstance *string `json:"KafkaInstance,omitnil" name:"KafkaInstance"` // 服务地址。 // KafkaType为1时,ServerAddr必填 ServerAddr *string `json:"ServerAddr,omitnil" name:"ServerAddr"` // ServerAddr是否为加密连接 IsEncryptionAddr *bool `json:"IsEncryptionAddr,omitnil" name:"IsEncryptionAddr"` // 加密访问协议。IsEncryptionAddr参数为true时必填 Protocol *KafkaProtocolInfo `json:"Protocol,omitnil" name:"Protocol"` }
func NewCheckRechargeKafkaServerRequest ¶
func NewCheckRechargeKafkaServerRequest() (request *CheckRechargeKafkaServerRequest)
func (*CheckRechargeKafkaServerRequest) FromJsonString ¶
func (r *CheckRechargeKafkaServerRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CheckRechargeKafkaServerRequest) ToJsonString ¶
func (r *CheckRechargeKafkaServerRequest) ToJsonString() string
type CheckRechargeKafkaServerRequestParams ¶
type CheckRechargeKafkaServerRequestParams struct { // 导入Kafka类型,0: 腾讯云CKafka,1: 用户自建Kafka KafkaType *uint64 `json:"KafkaType,omitnil" name:"KafkaType"` // 腾讯云CKafka实例ID。 // KafkaType为0时,KafkaInstance必填 KafkaInstance *string `json:"KafkaInstance,omitnil" name:"KafkaInstance"` // 服务地址。 // KafkaType为1时,ServerAddr必填 ServerAddr *string `json:"ServerAddr,omitnil" name:"ServerAddr"` // ServerAddr是否为加密连接 IsEncryptionAddr *bool `json:"IsEncryptionAddr,omitnil" name:"IsEncryptionAddr"` // 加密访问协议。IsEncryptionAddr参数为true时必填 Protocol *KafkaProtocolInfo `json:"Protocol,omitnil" name:"Protocol"` }
Predefined struct for user
type CheckRechargeKafkaServerResponse ¶
type CheckRechargeKafkaServerResponse struct { *tchttp.BaseResponse Response *CheckRechargeKafkaServerResponseParams `json:"Response"` }
func NewCheckRechargeKafkaServerResponse ¶
func NewCheckRechargeKafkaServerResponse() (response *CheckRechargeKafkaServerResponse)
func (*CheckRechargeKafkaServerResponse) FromJsonString ¶
func (r *CheckRechargeKafkaServerResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CheckRechargeKafkaServerResponse) ToJsonString ¶
func (r *CheckRechargeKafkaServerResponse) ToJsonString() string
type CheckRechargeKafkaServerResponseParams ¶
type CheckRechargeKafkaServerResponseParams struct { // Kafka集群可访问状态,0:可正常访问 ... // 注意:此字段可能返回 null,表示取不到有效值。 Status *int64 `json:"Status,omitnil" name:"Status"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type Ckafka ¶
type Ckafka struct { // Ckafka 的 Vip Vip *string `json:"Vip,omitnil" name:"Vip"` // Ckafka 的 Vport Vport *string `json:"Vport,omitnil" name:"Vport"` // Ckafka 的 InstanceId InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"` // Ckafka 的 InstanceName InstanceName *string `json:"InstanceName,omitnil" name:"InstanceName"` // Ckafka 的 TopicId TopicId *string `json:"TopicId,omitnil" name:"TopicId"` // Ckafka 的 TopicName TopicName *string `json:"TopicName,omitnil" name:"TopicName"` }
type Client ¶
func NewClient ¶
func NewClient(credential common.CredentialIface, region string, clientProfile *profile.ClientProfile) (client *Client, err error)
func NewClientWithSecretId ¶
Deprecated
func (*Client) AddMachineGroupInfo ¶
func (c *Client) AddMachineGroupInfo(request *AddMachineGroupInfoRequest) (response *AddMachineGroupInfoResponse, err error)
AddMachineGroupInfo 用于添加机器组信息
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INVALIDPARAMETER_DBDUPLICATION = "InvalidParameter.DbDuplication"
func (*Client) AddMachineGroupInfoWithContext ¶
func (c *Client) AddMachineGroupInfoWithContext(ctx context.Context, request *AddMachineGroupInfoRequest) (response *AddMachineGroupInfoResponse, err error)
AddMachineGroupInfo 用于添加机器组信息
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INVALIDPARAMETER_DBDUPLICATION = "InvalidParameter.DbDuplication"
func (*Client) ApplyConfigToMachineGroup ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_ALARMNOTICECONFLICT = "InvalidParameter.AlarmNoticeConflict" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists"
func (*Client) CreateAlarmNoticeWithContext ¶
func (c *Client) CreateAlarmNoticeWithContext(ctx context.Context, request *CreateAlarmNoticeRequest) (response *CreateAlarmNoticeResponse, err error)
CreateAlarmNotice 该接口用于创建通知渠道组。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_ALARMNOTICECONFLICT = "InvalidParameter.AlarmNoticeConflict" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists"
func (*Client) CreateAlarmShield ¶
func (c *Client) CreateAlarmShield(request *CreateAlarmShieldRequest) (response *CreateAlarmShieldResponse, err error)
CreateAlarmShield 该接口用于创建告警屏蔽规则。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_TIMEOUT = "FailedOperation.Timeout" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_ALARMNOTICECONFLICT = "InvalidParameter.AlarmNoticeConflict" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists"
func (*Client) CreateAlarmShieldWithContext ¶
func (c *Client) CreateAlarmShieldWithContext(ctx context.Context, request *CreateAlarmShieldRequest) (response *CreateAlarmShieldResponse, err error)
CreateAlarmShield 该接口用于创建告警屏蔽规则。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_TIMEOUT = "FailedOperation.Timeout" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_ALARMNOTICECONFLICT = "InvalidParameter.AlarmNoticeConflict" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists"
func (*Client) CreateAlarmWithContext ¶
func (c *Client) CreateAlarmWithContext(ctx context.Context, request *CreateAlarmRequest) (response *CreateAlarmResponse, err error)
CreateAlarm 本接口用于创建告警策略。
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_ALARMCONFLICT = "InvalidParameter.AlarmConflict" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACLFAILED = "OperationDenied.ACLFailed" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists" OPERATIONDENIED_ALARMNOTSUPPORTFORSEARCHLOW = "OperationDenied.AlarmNotSupportForSearchLow" RESOURCENOTFOUND_ALARMNOTICENOTEXIST = "ResourceNotFound.AlarmNoticeNotExist" RESOURCENOTFOUND_TOPICNOTEXIST = "ResourceNotFound.TopicNotExist"
func (*Client) CreateConfig ¶
func (c *Client) CreateConfig(request *CreateConfigRequest) (response *CreateConfigResponse, err error)
CreateConfig 创建采集规则配置
可能返回的错误码:
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 ¶
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 ¶
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 ¶
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 ¶
func (c *Client) CreateConsumer(request *CreateConsumerRequest) (response *CreateConsumerResponse, err error)
CreateConsumer 本接口用于创建投递任务
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_DBDUPLICATION = "InvalidParameter.DbDuplication" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACLFAILED = "OperationDenied.ACLFailed" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists"
func (*Client) CreateConsumerWithContext ¶
func (c *Client) CreateConsumerWithContext(ctx context.Context, request *CreateConsumerRequest) (response *CreateConsumerResponse, err error)
CreateConsumer 本接口用于创建投递任务
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_DBDUPLICATION = "InvalidParameter.DbDuplication" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACLFAILED = "OperationDenied.ACLFailed" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists"
func (*Client) CreateCosRecharge ¶
func (c *Client) CreateCosRecharge(request *CreateCosRechargeRequest) (response *CreateCosRechargeResponse, err error)
CreateCosRecharge 本接口用于创建cos导入任务
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_DBDUPLICATION = "InvalidParameter.DbDuplication" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACLFAILED = "OperationDenied.ACLFailed" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists" RESOURCENOTFOUND_TOPICNOTEXIST = "ResourceNotFound.TopicNotExist"
func (*Client) CreateCosRechargeWithContext ¶
func (c *Client) CreateCosRechargeWithContext(ctx context.Context, request *CreateCosRechargeRequest) (response *CreateCosRechargeResponse, err error)
CreateCosRecharge 本接口用于创建cos导入任务
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_DBDUPLICATION = "InvalidParameter.DbDuplication" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACLFAILED = "OperationDenied.ACLFailed" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists" RESOURCENOTFOUND_TOPICNOTEXIST = "ResourceNotFound.TopicNotExist"
func (*Client) CreateDataTransform ¶
func (c *Client) CreateDataTransform(request *CreateDataTransformRequest) (response *CreateDataTransformResponse, err error)
CreateDataTransform 本接口用于创建数据加工任务。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_DATAFROMTASKCONFLICT = "InvalidParameter.DataFromTaskConflict" INVALIDPARAMETER_INVALIDETLCONTENT = "InvalidParameter.InvalidEtlContent" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACLFAILED = "OperationDenied.ACLFailed" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_TOPICNOTEXIST = "ResourceNotFound.TopicNotExist"
func (*Client) CreateDataTransformWithContext ¶
func (c *Client) CreateDataTransformWithContext(ctx context.Context, request *CreateDataTransformRequest) (response *CreateDataTransformResponse, err error)
CreateDataTransform 本接口用于创建数据加工任务。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_DATAFROMTASKCONFLICT = "InvalidParameter.DataFromTaskConflict" INVALIDPARAMETER_INVALIDETLCONTENT = "InvalidParameter.InvalidEtlContent" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACLFAILED = "OperationDenied.ACLFailed" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_TOPICNOTEXIST = "ResourceNotFound.TopicNotExist"
func (*Client) CreateDeliverCloudFunction ¶
func (c *Client) CreateDeliverCloudFunction(request *CreateDeliverCloudFunctionRequest) (response *CreateDeliverCloudFunctionResponse, err error)
CreateDeliverCloudFunction 本接口用于创建投递SCF任务
可能返回的错误码:
FAILEDOPERATION = "FailedOperation"
func (*Client) CreateDeliverCloudFunctionWithContext ¶
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 ¶
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 ¶
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 ¶
func (c *Client) CreateKafkaRecharge(request *CreateKafkaRechargeRequest) (response *CreateKafkaRechargeResponse, err error)
CreateKafkaRecharge 本接口用于创建Kafka数据订阅任务
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_DBDUPLICATION = "InvalidParameter.DbDuplication" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists" RESOURCENOTFOUND_TOPICNOTEXIST = "ResourceNotFound.TopicNotExist"
func (*Client) CreateKafkaRechargeWithContext ¶
func (c *Client) CreateKafkaRechargeWithContext(ctx context.Context, request *CreateKafkaRechargeRequest) (response *CreateKafkaRechargeResponse, err error)
CreateKafkaRecharge 本接口用于创建Kafka数据订阅任务
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_DBDUPLICATION = "InvalidParameter.DbDuplication" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists" RESOURCENOTFOUND_TOPICNOTEXIST = "ResourceNotFound.TopicNotExist"
func (*Client) CreateLogset ¶
func (c *Client) CreateLogset(request *CreateLogsetRequest) (response *CreateLogsetResponse, err error)
CreateLogset 本接口用于创建日志集,返回新创建的日志集的 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 ¶
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" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_MACHINEGROUPCONFLICT = "InvalidParameter.MachineGroupConflict" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" LIMITEXCEEDED_MACHINEGROUP = "LimitExceeded.MachineGroup" LIMITEXCEEDED_MACHINEGROUPIP = "LimitExceeded.MachineGroupIp" LIMITEXCEEDED_MACHINEGROUPIPLABELS = "LimitExceeded.MachineGroupIpLabels" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists"
func (*Client) CreateMachineGroupWithContext ¶
func (c *Client) CreateMachineGroupWithContext(ctx context.Context, request *CreateMachineGroupRequest) (response *CreateMachineGroupResponse, err error)
CreateMachineGroup 创建机器组
可能返回的错误码:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_MACHINEGROUPCONFLICT = "InvalidParameter.MachineGroupConflict" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" LIMITEXCEEDED_MACHINEGROUP = "LimitExceeded.MachineGroup" LIMITEXCEEDED_MACHINEGROUPIP = "LimitExceeded.MachineGroupIp" LIMITEXCEEDED_MACHINEGROUPIPLABELS = "LimitExceeded.MachineGroupIpLabels" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists"
func (*Client) CreateScheduledSql ¶
func (c *Client) CreateScheduledSql(request *CreateScheduledSqlRequest) (response *CreateScheduledSqlResponse, err error)
CreateScheduledSql 本接口用于创建定时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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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) DeleteDataTransform ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
func (c *Client) DeleteMachineGroupInfo(request *DeleteMachineGroupInfoRequest) (response *DeleteMachineGroupInfoResponse, err error)
DeleteMachineGroupInfo 用于删除机器组信息
可能返回的错误码:
FAILEDOPERATION = "FailedOperation"
func (*Client) DeleteMachineGroupInfoWithContext ¶
func (c *Client) DeleteMachineGroupInfoWithContext(ctx context.Context, request *DeleteMachineGroupInfoRequest) (response *DeleteMachineGroupInfoResponse, err error)
DeleteMachineGroupInfo 用于删除机器组信息
可能返回的错误码:
FAILEDOPERATION = "FailedOperation"
func (*Client) DeleteMachineGroupWithContext ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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) DescribeDashboards ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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) DescribeKafkaUser ¶
func (c *Client) DescribeKafkaUser(request *DescribeKafkaUserRequest) (response *DescribeKafkaUserResponse, err error)
DescribeKafkaUser 本接口用于获取kafka用户信息
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists"
func (*Client) DescribeKafkaUserWithContext ¶
func (c *Client) DescribeKafkaUserWithContext(ctx context.Context, request *DescribeKafkaUserRequest) (response *DescribeKafkaUserResponse, err error)
DescribeKafkaUser 本接口用于获取kafka用户信息
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists"
func (*Client) DescribeLogContext ¶
func (c *Client) DescribeLogContext(request *DescribeLogContextRequest) (response *DescribeLogContextResponse, err error)
DescribeLogContext 本接口用于搜索日志上下文附近的内容
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 ¶
func (c *Client) DescribeLogContextWithContext(ctx context.Context, request *DescribeLogContextRequest) (response *DescribeLogContextResponse, err error)
DescribeLogContext 本接口用于搜索日志上下文附近的内容
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
func (c *Client) ModifyConsumer(request *ModifyConsumerRequest) (response *ModifyConsumerResponse, err error)
ModifyConsumer 本接口用于修改投递任务
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACLFAILED = "OperationDenied.ACLFailed" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists" RESOURCENOTFOUND_RECORDNOTEXIST = "ResourceNotFound.RecordNotExist"
func (*Client) ModifyConsumerWithContext ¶
func (c *Client) ModifyConsumerWithContext(ctx context.Context, request *ModifyConsumerRequest) (response *ModifyConsumerResponse, err error)
ModifyConsumer 本接口用于修改投递任务
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACLFAILED = "OperationDenied.ACLFailed" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists" RESOURCENOTFOUND_RECORDNOTEXIST = "ResourceNotFound.RecordNotExist"
func (*Client) ModifyCosRecharge ¶
func (c *Client) ModifyCosRecharge(request *ModifyCosRechargeRequest) (response *ModifyCosRechargeResponse, err error)
ModifyCosRecharge 本接口用于修改cos导入任务
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_DBDUPLICATION = "InvalidParameter.DbDuplication" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACLFAILED = "OperationDenied.ACLFailed" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists" RESOURCENOTFOUND_TOPICNOTEXIST = "ResourceNotFound.TopicNotExist"
func (*Client) ModifyCosRechargeWithContext ¶
func (c *Client) ModifyCosRechargeWithContext(ctx context.Context, request *ModifyCosRechargeRequest) (response *ModifyCosRechargeResponse, err error)
ModifyCosRecharge 本接口用于修改cos导入任务
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_DBDUPLICATION = "InvalidParameter.DbDuplication" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACLFAILED = "OperationDenied.ACLFailed" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists" RESOURCENOTFOUND_TOPICNOTEXIST = "ResourceNotFound.TopicNotExist"
func (*Client) ModifyDataTransform ¶
func (c *Client) ModifyDataTransform(request *ModifyDataTransformRequest) (response *ModifyDataTransformResponse, err error)
ModifyDataTransform 本接口用于修改数据加工任务
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_DATAFROMTASKCONFLICT = "InvalidParameter.DataFromTaskConflict" INVALIDPARAMETER_DATAFROMTASKNOTEXIST = "InvalidParameter.DataFromTaskNotExist" INVALIDPARAMETER_INVALIDETLCONTENT = "InvalidParameter.InvalidEtlContent" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACLFAILED = "OperationDenied.ACLFailed" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_TOPICNOTEXIST = "ResourceNotFound.TopicNotExist"
func (*Client) ModifyDataTransformWithContext ¶
func (c *Client) ModifyDataTransformWithContext(ctx context.Context, request *ModifyDataTransformRequest) (response *ModifyDataTransformResponse, err error)
ModifyDataTransform 本接口用于修改数据加工任务
可能返回的错误码:
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_MACHINEGROUPCONFLICT = "InvalidParameter.MachineGroupConflict" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED_MACHINEGROUPIP = "LimitExceeded.MachineGroupIp" LIMITEXCEEDED_MACHINEGROUPIPLABELS = "LimitExceeded.MachineGroupIpLabels" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists" RESOURCENOTFOUND_MACHINEGROUPNOTEXIST = "ResourceNotFound.MachineGroupNotExist"
func (*Client) ModifyMachineGroupWithContext ¶
func (c *Client) ModifyMachineGroupWithContext(ctx context.Context, request *ModifyMachineGroupRequest) (response *ModifyMachineGroupResponse, err error)
ModifyMachineGroup 修改机器组
可能返回的错误码:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_MACHINEGROUPCONFLICT = "InvalidParameter.MachineGroupConflict" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED_MACHINEGROUPIP = "LimitExceeded.MachineGroupIp" LIMITEXCEEDED_MACHINEGROUPIPLABELS = "LimitExceeded.MachineGroupIpLabels" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists" RESOURCENOTFOUND_MACHINEGROUPNOTEXIST = "ResourceNotFound.MachineGroupNotExist"
func (*Client) ModifyScheduledSql ¶
func (c *Client) ModifyScheduledSql(request *ModifyScheduledSqlRequest) (response *ModifyScheduledSqlResponse, err error)
ModifyScheduledSql 本接口用于修改定时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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
func (c *Client) PreviewKafkaRecharge(request *PreviewKafkaRechargeRequest) (response *PreviewKafkaRechargeResponse, err error)
PreviewKafkaRecharge 本接口用于预览Kafka数据订阅任务客户日志信息
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists"
func (*Client) PreviewKafkaRechargeWithContext ¶
func (c *Client) PreviewKafkaRechargeWithContext(ctx context.Context, request *PreviewKafkaRechargeRequest) (response *PreviewKafkaRechargeResponse, err error)
PreviewKafkaRecharge 本接口用于预览Kafka数据订阅任务客户日志信息
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists"
func (*Client) QueryMetric ¶
func (c *Client) QueryMetric(request *QueryMetricRequest) (response *QueryMetricResponse, err error)
QueryMetric 查询指定时刻指标的最新值
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_QUERYERROR = "FailedOperation.QueryError" FAILEDOPERATION_TIMEOUT = "FailedOperation.Timeout" INTERNALERROR = "InternalError" INTERNALERROR_SEARCHERROR = "InternalError.SearchError" INTERNALERROR_SEARCHFAILED = "InternalError.SearchFailed" INVALIDPARAMETER = "InvalidParameter" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_TOPICNOTEXIST = "ResourceNotFound.TopicNotExist"
func (*Client) QueryMetricWithContext ¶
func (c *Client) QueryMetricWithContext(ctx context.Context, request *QueryMetricRequest) (response *QueryMetricResponse, err error)
QueryMetric 查询指定时刻指标的最新值
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_QUERYERROR = "FailedOperation.QueryError" FAILEDOPERATION_TIMEOUT = "FailedOperation.Timeout" INTERNALERROR = "InternalError" INTERNALERROR_SEARCHERROR = "InternalError.SearchError" INTERNALERROR_SEARCHFAILED = "InternalError.SearchFailed" INVALIDPARAMETER = "InvalidParameter" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_TOPICNOTEXIST = "ResourceNotFound.TopicNotExist"
func (*Client) QueryRangeMetric ¶
func (c *Client) QueryRangeMetric(request *QueryRangeMetricRequest) (response *QueryRangeMetricResponse, err error)
QueryRangeMetric 查询指定时间范围内指标的变化趋势
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_QUERYERROR = "FailedOperation.QueryError" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" MISSINGPARAMETER = "MissingParameter"
func (*Client) QueryRangeMetricWithContext ¶
func (c *Client) QueryRangeMetricWithContext(ctx context.Context, request *QueryRangeMetricRequest) (response *QueryRangeMetricResponse, err error)
QueryRangeMetric 查询指定时间范围内指标的变化趋势
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_QUERYERROR = "FailedOperation.QueryError" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" MISSINGPARAMETER = "MissingParameter"
func (*Client) RetryShipperTask ¶
func (c *Client) RetryShipperTask(request *RetryShipperTaskRequest) (response *RetryShipperTaskResponse, err error)
RetryShipperTask 重试失败的投递任务
可能返回的错误码:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_SHIPPERTASKNOTTORETRY = "FailedOperation.ShipperTaskNotToRetry" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACLFAILED = "OperationDenied.ACLFailed" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists" RESOURCENOTFOUND_SHIPPERNOTEXIST = "ResourceNotFound.ShipperNotExist" RESOURCENOTFOUND_SHIPPERTASKNOTEXIST = "ResourceNotFound.ShipperTaskNotExist"
func (*Client) RetryShipperTaskWithContext ¶
func (c *Client) RetryShipperTaskWithContext(ctx context.Context, request *RetryShipperTaskRequest) (response *RetryShipperTaskResponse, err error)
RetryShipperTask 重试失败的投递任务
可能返回的错误码:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_SHIPPERTASKNOTTORETRY = "FailedOperation.ShipperTaskNotToRetry" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACLFAILED = "OperationDenied.ACLFailed" OPERATIONDENIED_ACCOUNTDESTROY = "OperationDenied.AccountDestroy" OPERATIONDENIED_ACCOUNTISOLATE = "OperationDenied.AccountIsolate" OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists" RESOURCENOTFOUND_SHIPPERNOTEXIST = "ResourceNotFound.ShipperNotExist" RESOURCENOTFOUND_SHIPPERTASKNOTEXIST = "ResourceNotFound.ShipperTaskNotExist"
func (*Client) SearchCosRechargeInfo ¶
func (c *Client) SearchCosRechargeInfo(request *SearchCosRechargeInfoRequest) (response *SearchCosRechargeInfoResponse, err error)
SearchCosRechargeInfo 本接口用于预览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 ¶
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) SearchLog ¶
func (c *Client) SearchLog(request *SearchLogRequest) (response *SearchLogResponse, err error)
SearchLog 本接口用于检索分析日志, 该接口除受默认接口请求频率限制外,针对单个日志主题,查询并发数不能超过15。
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 ¶
func (c *Client) SearchLogWithContext(ctx context.Context, request *SearchLogRequest) (response *SearchLogResponse, err error)
SearchLog 本接口用于检索分析日志, 该接口除受默认接口请求频率限制外,针对单个日志主题,查询并发数不能超过15。
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 ¶
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 ¶
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 ¶
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 ¶
type CloseKafkaConsumerRequest struct { *tchttp.BaseRequest // 日志主题ID FromTopicId *string `json:"FromTopicId,omitnil" name:"FromTopicId"` }
func NewCloseKafkaConsumerRequest ¶
func NewCloseKafkaConsumerRequest() (request *CloseKafkaConsumerRequest)
func (*CloseKafkaConsumerRequest) FromJsonString ¶
func (r *CloseKafkaConsumerRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CloseKafkaConsumerRequest) ToJsonString ¶
func (r *CloseKafkaConsumerRequest) ToJsonString() string
type CloseKafkaConsumerRequestParams ¶
type CloseKafkaConsumerRequestParams struct { // 日志主题ID FromTopicId *string `json:"FromTopicId,omitnil" name:"FromTopicId"` }
Predefined struct for user
type CloseKafkaConsumerResponse ¶
type CloseKafkaConsumerResponse struct { *tchttp.BaseResponse Response *CloseKafkaConsumerResponseParams `json:"Response"` }
func NewCloseKafkaConsumerResponse ¶
func NewCloseKafkaConsumerResponse() (response *CloseKafkaConsumerResponse)
func (*CloseKafkaConsumerResponse) FromJsonString ¶
func (r *CloseKafkaConsumerResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CloseKafkaConsumerResponse) ToJsonString ¶
func (r *CloseKafkaConsumerResponse) ToJsonString() string
type CloseKafkaConsumerResponseParams ¶
type CloseKafkaConsumerResponseParams struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type CompressInfo ¶
type CompressInfo struct { // 压缩格式,支持gzip、lzop、snappy和none不压缩 Format *string `json:"Format,omitnil" name:"Format"` }
type ConfigExtraInfo ¶
type ConfigExtraInfo struct { // 采集规则扩展配置ID ConfigExtraId *string `json:"ConfigExtraId,omitnil" name:"ConfigExtraId"` // 采集规则名称 Name *string `json:"Name,omitnil" name:"Name"` // 日志主题ID TopicId *string `json:"TopicId,omitnil" name:"TopicId"` // 类型:container_stdout、container_file、host_file Type *string `json:"Type,omitnil" name:"Type"` // 节点文件配置信息 // 注意:此字段可能返回 null,表示取不到有效值。 HostFile *HostFileInfo `json:"HostFile,omitnil" name:"HostFile"` // 容器文件路径信息 // 注意:此字段可能返回 null,表示取不到有效值。 ContainerFile *ContainerFileInfo `json:"ContainerFile,omitnil" name:"ContainerFile"` // 容器标准输出信息 // 注意:此字段可能返回 null,表示取不到有效值。 ContainerStdout *ContainerStdoutInfo `json:"ContainerStdout,omitnil" name:"ContainerStdout"` // 日志格式化方式 // 注意:此字段可能返回 null,表示取不到有效值。 LogFormat *string `json:"LogFormat,omitnil" name:"LogFormat"` // 采集的日志类型,json_log代表json格式日志,delimiter_log代表分隔符格式日志,minimalist_log代表极简日志,multiline_log代表多行日志,fullregex_log代表完整正则,默认为minimalist_log // 注意:此字段可能返回 null,表示取不到有效值。 LogType *string `json:"LogType,omitnil" name:"LogType"` // 提取规则,如果设置了ExtractRule,则必须设置LogType // 注意:此字段可能返回 null,表示取不到有效值。 ExtractRule *ExtractRuleInfo `json:"ExtractRule,omitnil" name:"ExtractRule"` // 采集黑名单路径列表 // 注意:此字段可能返回 null,表示取不到有效值。 ExcludePaths []*ExcludePathInfo `json:"ExcludePaths,omitnil" name:"ExcludePaths"` // 更新时间 UpdateTime *string `json:"UpdateTime,omitnil" name:"UpdateTime"` // 创建时间 CreateTime *string `json:"CreateTime,omitnil" name:"CreateTime"` // 用户自定义解析字符串 // 注意:此字段可能返回 null,表示取不到有效值。 UserDefineRule *string `json:"UserDefineRule,omitnil" name:"UserDefineRule"` // 机器组ID GroupId *string `json:"GroupId,omitnil" name:"GroupId"` // 自建采集配置标 // 注意:此字段可能返回 null,表示取不到有效值。 ConfigFlag *string `json:"ConfigFlag,omitnil" name:"ConfigFlag"` // 日志集ID // 注意:此字段可能返回 null,表示取不到有效值。 LogsetId *string `json:"LogsetId,omitnil" name:"LogsetId"` // 日志集name // 注意:此字段可能返回 null,表示取不到有效值。 LogsetName *string `json:"LogsetName,omitnil" name:"LogsetName"` // 日志主题name // 注意:此字段可能返回 null,表示取不到有效值。 TopicName *string `json:"TopicName,omitnil" name:"TopicName"` // 高级采集配置。 Json字符串, Key/Value定义为如下: // - ClsAgentFileTimeout(超时属性), 取值范围: 大于等于0的整数, 0为不超时 // - ClsAgentMaxDepth(最大目录深度),取值范围: 大于等于0的整数 // - ClsAgentParseFailMerge(合并解析失败日志),取值范围: true或false // 样例:{"ClsAgentFileTimeout":0,"ClsAgentMaxDepth":10,"ClsAgentParseFailMerge":true} // 注意:此字段可能返回 null,表示取不到有效值。 AdvancedConfig *string `json:"AdvancedConfig,omitnil" name:"AdvancedConfig"` }
type ConfigInfo ¶
type ConfigInfo struct { // 采集规则配置ID ConfigId *string `json:"ConfigId,omitnil" name:"ConfigId"` // 采集规则配置名称 // 注意:此字段可能返回 null,表示取不到有效值。 Name *string `json:"Name,omitnil" name:"Name"` // 日志格式化方式 // 注意:此字段可能返回 null,表示取不到有效值。 LogFormat *string `json:"LogFormat,omitnil" name:"LogFormat"` // 日志采集路径 // 注意:此字段可能返回 null,表示取不到有效值。 Path *string `json:"Path,omitnil" name:"Path"` // 采集的日志类型,json_log代表json格式日志,delimiter_log代表分隔符格式日志,minimalist_log代表极简日志,multiline_log代表多行日志,fullregex_log代表完整正则,默认为minimalist_log // 注意:此字段可能返回 null,表示取不到有效值。 LogType *string `json:"LogType,omitnil" name:"LogType"` // 提取规则,如果设置了ExtractRule,则必须设置LogType // 注意:此字段可能返回 null,表示取不到有效值。 ExtractRule *ExtractRuleInfo `json:"ExtractRule,omitnil" name:"ExtractRule"` // 采集黑名单路径列表 // 注意:此字段可能返回 null,表示取不到有效值。 ExcludePaths []*ExcludePathInfo `json:"ExcludePaths,omitnil" name:"ExcludePaths"` // 采集配置所属日志主题ID即TopicId Output *string `json:"Output,omitnil" name:"Output"` // 更新时间 // 注意:此字段可能返回 null,表示取不到有效值。 UpdateTime *string `json:"UpdateTime,omitnil" name:"UpdateTime"` // 创建时间 CreateTime *string `json:"CreateTime,omitnil" name:"CreateTime"` // 用户自定义解析字符串 // 注意:此字段可能返回 null,表示取不到有效值。 UserDefineRule *string `json:"UserDefineRule,omitnil" name:"UserDefineRule"` // 高级采集配置。 Json字符串, Key/Value定义为如下: // - ClsAgentFileTimeout(超时属性), 取值范围: 大于等于0的整数, 0为不超时 // - ClsAgentMaxDepth(最大目录深度),取值范围: 大于等于0的整数 // - ClsAgentParseFailMerge(合并解析失败日志),取值范围: true或false // 样例:{"ClsAgentFileTimeout":0,"ClsAgentMaxDepth":10,"ClsAgentParseFailMerge":true} // 注意:此字段可能返回 null,表示取不到有效值。 AdvancedConfig *string `json:"AdvancedConfig,omitnil" name:"AdvancedConfig"` }
type ConsumerContent ¶
type ConsumerContent struct { // 是否投递 TAG 信息 // 注意:此字段可能返回 null,表示取不到有效值。 EnableTag *bool `json:"EnableTag,omitnil" name:"EnableTag"` // 需要投递的元数据列表,目前仅支持:\_\_SOURCE\_\_,\_\_FILENAME\_\_,\_\_TIMESTAMP\_\_,\_\_HOSTNAME\_\_和\_\_PKGID\_\_ // 注意:此字段可能返回 null,表示取不到有效值。 MetaFields []*string `json:"MetaFields,omitnil" name:"MetaFields"` // 当EnableTag为true时,必须填写TagJsonNotTiled字段,TagJsonNotTiled用于标识tag信息是否json平铺,TagJsonNotTiled为true时不平铺,false时平铺 // 注意:此字段可能返回 null,表示取不到有效值。 TagJsonNotTiled *bool `json:"TagJsonNotTiled,omitnil" name:"TagJsonNotTiled"` // 投递时间戳精度,可选项 [1:秒;2:毫秒] ,默认是秒 // 注意:此字段可能返回 null,表示取不到有效值。 TimestampAccuracy *int64 `json:"TimestampAccuracy,omitnil" name:"TimestampAccuracy"` }
type ContainerFileInfo ¶
type ContainerFileInfo struct { // namespace可以多个,用分隔号分割,例如A,B Namespace *string `json:"Namespace,omitnil" name:"Namespace"` // 容器名称 Container *string `json:"Container,omitnil" name:"Container"` // 日志文件夹 LogPath *string `json:"LogPath,omitnil" name:"LogPath"` // 日志名称 FilePattern *string `json:"FilePattern,omitnil" name:"FilePattern"` // 日志文件信息 FilePaths []*FilePathInfo `json:"FilePaths,omitnil" name:"FilePaths"` // pod标签信息 // 注意:此字段可能返回 null,表示取不到有效值。 IncludeLabels []*string `json:"IncludeLabels,omitnil" name:"IncludeLabels"` // 工作负载信息 // 注意:此字段可能返回 null,表示取不到有效值。 WorkLoad *ContainerWorkLoadInfo `json:"WorkLoad,omitnil" name:"WorkLoad"` // 需要排除的namespace可以多个,用分隔号分割,例如A,B // 注意:此字段可能返回 null,表示取不到有效值。 ExcludeNamespace *string `json:"ExcludeNamespace,omitnil" name:"ExcludeNamespace"` // 需要排除的pod标签信息 // 注意:此字段可能返回 null,表示取不到有效值。 ExcludeLabels []*string `json:"ExcludeLabels,omitnil" name:"ExcludeLabels"` // metadata信息 // 注意:此字段可能返回 null,表示取不到有效值。 CustomLabels []*string `json:"CustomLabels,omitnil" name:"CustomLabels"` }
type ContainerStdoutInfo ¶
type ContainerStdoutInfo struct { // 是否所有容器 AllContainers *bool `json:"AllContainers,omitnil" name:"AllContainers"` // container为空表所有的,不为空采集指定的容器 // 注意:此字段可能返回 null,表示取不到有效值。 Container *string `json:"Container,omitnil" name:"Container"` // namespace可以多个,用分隔号分割,例如A,B;为空或者没有这个字段,表示所有namespace // 注意:此字段可能返回 null,表示取不到有效值。 Namespace *string `json:"Namespace,omitnil" name:"Namespace"` // pod标签信息 // 注意:此字段可能返回 null,表示取不到有效值。 IncludeLabels []*string `json:"IncludeLabels,omitnil" name:"IncludeLabels"` // 工作负载信息 // 注意:此字段可能返回 null,表示取不到有效值。 WorkLoads []*ContainerWorkLoadInfo `json:"WorkLoads,omitnil" name:"WorkLoads"` // 需要排除的namespace可以多个,用分隔号分割,例如A,B // 注意:此字段可能返回 null,表示取不到有效值。 ExcludeNamespace *string `json:"ExcludeNamespace,omitnil" name:"ExcludeNamespace"` // 需要排除的pod标签信息 // 注意:此字段可能返回 null,表示取不到有效值。 ExcludeLabels []*string `json:"ExcludeLabels,omitnil" name:"ExcludeLabels"` // metadata信息 // 注意:此字段可能返回 null,表示取不到有效值。 CustomLabels []*string `json:"CustomLabels,omitnil" name:"CustomLabels"` }
type ContainerWorkLoadInfo ¶
type ContainerWorkLoadInfo struct { // 工作负载的类型 Kind *string `json:"Kind,omitnil" name:"Kind"` // 工作负载的名称 Name *string `json:"Name,omitnil" name:"Name"` // 容器名 // 注意:此字段可能返回 null,表示取不到有效值。 Container *string `json:"Container,omitnil" name:"Container"` // 命名空间 // 注意:此字段可能返回 null,表示取不到有效值。 Namespace *string `json:"Namespace,omitnil" name:"Namespace"` }
type ContentInfo ¶
type ContentInfo struct { // 内容格式,支持json、csv Format *string `json:"Format,omitnil" name:"Format"` // csv格式内容描述 // 注意:此字段可能返回 null,表示取不到有效值。 Csv *CsvInfo `json:"Csv,omitnil" name:"Csv"` // json格式内容描述 // 注意:此字段可能返回 null,表示取不到有效值。 Json *JsonInfo `json:"Json,omitnil" name:"Json"` // parquet格式内容描述 // 注意:此字段可能返回 null,表示取不到有效值。 Parquet *ParquetInfo `json:"Parquet,omitnil" name:"Parquet"` }
type CosRechargeInfo ¶
type CosRechargeInfo struct { // COS导入配置ID // 注意:此字段可能返回 null,表示取不到有效值。 Id *string `json:"Id,omitnil" name:"Id"` // 日志主题ID // 注意:此字段可能返回 null,表示取不到有效值。 TopicId *string `json:"TopicId,omitnil" name:"TopicId"` // 日志集ID // 注意:此字段可能返回 null,表示取不到有效值。 LogsetId *string `json:"LogsetId,omitnil" name:"LogsetId"` // COS导入任务名称 // 注意:此字段可能返回 null,表示取不到有效值。 Name *string `json:"Name,omitnil" name:"Name"` // COS存储桶 // 注意:此字段可能返回 null,表示取不到有效值。 Bucket *string `json:"Bucket,omitnil" name:"Bucket"` // COS存储桶所在地域 // 注意:此字段可能返回 null,表示取不到有效值。 BucketRegion *string `json:"BucketRegion,omitnil" name:"BucketRegion"` // COS文件所在文件夹的前缀 // 注意:此字段可能返回 null,表示取不到有效值。 Prefix *string `json:"Prefix,omitnil" name:"Prefix"` // 采集的日志类型,json_log代表json格式日志,delimiter_log代表分隔符格式日志,minimalist_log代表单行全文; // 默认为minimalist_log // 注意:此字段可能返回 null,表示取不到有效值。 LogType *string `json:"LogType,omitnil" name:"LogType"` // 状态 status 0: 已创建, 1: 运行中, 2: 已停止, 3: 已完成, 4: 运行失败。 // 注意:此字段可能返回 null,表示取不到有效值。 Status *uint64 `json:"Status,omitnil" name:"Status"` // 是否启用: 0: 未启用 , 1:启用 // 注意:此字段可能返回 null,表示取不到有效值。 Enable *uint64 `json:"Enable,omitnil" name:"Enable"` // 创建时间 // 注意:此字段可能返回 null,表示取不到有效值。 CreateTime *string `json:"CreateTime,omitnil" name:"CreateTime"` // 更新时间 // 注意:此字段可能返回 null,表示取不到有效值。 UpdateTime *string `json:"UpdateTime,omitnil" name:"UpdateTime"` // 进度条百分值 // 注意:此字段可能返回 null,表示取不到有效值。 Progress *uint64 `json:"Progress,omitnil" name:"Progress"` // supported: "", "gzip", "lzop", "snappy”; 默认空 // 注意:此字段可能返回 null,表示取不到有效值。 Compress *string `json:"Compress,omitnil" name:"Compress"` // 见: ExtractRuleInfo 结构描述 // 注意:此字段可能返回 null,表示取不到有效值。 ExtractRuleInfo *ExtractRuleInfo `json:"ExtractRuleInfo,omitnil" name:"ExtractRuleInfo"` }
type CreateAlarmNoticeRequest ¶
type CreateAlarmNoticeRequest struct { *tchttp.BaseRequest // 通知渠道组名称。 Name *string `json:"Name,omitnil" name:"Name"` // 通知类型。可选值: // <li> Trigger - 告警触发 </li> // <li> Recovery - 告警恢复</li> // <li> All - 告警触发和告警恢复</li> Type *string `json:"Type,omitnil" name:"Type"` // 通知接收对象。 NoticeReceivers []*NoticeReceiver `json:"NoticeReceivers,omitnil" name:"NoticeReceivers"` // 接口回调信息(包括企业微信)。 WebCallbacks []*WebCallback `json:"WebCallbacks,omitnil" name:"WebCallbacks"` // 通知规则。 // // 注意: // // - Type、NoticeReceivers和WebCallbacks是一组配置,NoticeRules是另一组配置,2组配置互斥。 // NoticeRules []*NoticeRule `json:"NoticeRules,omitnil" name:"NoticeRules"` }
func NewCreateAlarmNoticeRequest ¶
func NewCreateAlarmNoticeRequest() (request *CreateAlarmNoticeRequest)
func (*CreateAlarmNoticeRequest) FromJsonString ¶
func (r *CreateAlarmNoticeRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateAlarmNoticeRequest) ToJsonString ¶
func (r *CreateAlarmNoticeRequest) ToJsonString() string
type CreateAlarmNoticeRequestParams ¶
type CreateAlarmNoticeRequestParams struct { // 通知渠道组名称。 Name *string `json:"Name,omitnil" name:"Name"` // 通知类型。可选值: // <li> Trigger - 告警触发 </li> // <li> Recovery - 告警恢复</li> // <li> All - 告警触发和告警恢复</li> Type *string `json:"Type,omitnil" name:"Type"` // 通知接收对象。 NoticeReceivers []*NoticeReceiver `json:"NoticeReceivers,omitnil" name:"NoticeReceivers"` // 接口回调信息(包括企业微信)。 WebCallbacks []*WebCallback `json:"WebCallbacks,omitnil" name:"WebCallbacks"` // 通知规则。 // // 注意: // // - Type、NoticeReceivers和WebCallbacks是一组配置,NoticeRules是另一组配置,2组配置互斥。 // NoticeRules []*NoticeRule `json:"NoticeRules,omitnil" name:"NoticeRules"` }
Predefined struct for user
type CreateAlarmNoticeResponse ¶
type CreateAlarmNoticeResponse struct { *tchttp.BaseResponse Response *CreateAlarmNoticeResponseParams `json:"Response"` }
func NewCreateAlarmNoticeResponse ¶
func NewCreateAlarmNoticeResponse() (response *CreateAlarmNoticeResponse)
func (*CreateAlarmNoticeResponse) FromJsonString ¶
func (r *CreateAlarmNoticeResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateAlarmNoticeResponse) ToJsonString ¶
func (r *CreateAlarmNoticeResponse) ToJsonString() string
type CreateAlarmNoticeResponseParams ¶
type CreateAlarmNoticeResponseParams struct { // 告警模板ID AlarmNoticeId *string `json:"AlarmNoticeId,omitnil" name:"AlarmNoticeId"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type CreateAlarmRequest ¶
type CreateAlarmRequest struct { *tchttp.BaseRequest // 告警策略名称 Name *string `json:"Name,omitnil" name:"Name"` // 监控对象列表。 AlarmTargets []*AlarmTarget `json:"AlarmTargets,omitnil" name:"AlarmTargets"` // 监控任务运行时间点。 MonitorTime *MonitorTime `json:"MonitorTime,omitnil" name:"MonitorTime"` // 持续周期。持续满足触发条件TriggerCount个周期后,再进行告警;最小值为1,最大值为10。 TriggerCount *int64 `json:"TriggerCount,omitnil" name:"TriggerCount"` // 告警重复的周期,单位是分钟。取值范围是0~1440。 AlarmPeriod *int64 `json:"AlarmPeriod,omitnil" name:"AlarmPeriod"` // 关联的告警通知模板列表。 AlarmNoticeIds []*string `json:"AlarmNoticeIds,omitnil" name:"AlarmNoticeIds"` // 触发条件 // 注意: // - Condition和AlarmLevel是一组配置,MultiConditions是另一组配置,2组配置互斥。 Condition *string `json:"Condition,omitnil" name:"Condition"` // 告警级别 // 0:警告(Warn); 1:提醒(Info); 2:紧急 (Critical)。 // 注意: // - 不填则默认为0。 // - Condition和AlarmLevel是一组配置,MultiConditions是另一组配置,2组配置互斥。 AlarmLevel *uint64 `json:"AlarmLevel,omitnil" name:"AlarmLevel"` // 多触发条件 // 注意: // - Condition和AlarmLevel是一组配置,MultiConditions是另一组配置,2组配置互斥。 // // MultiConditions []*MultiCondition `json:"MultiConditions,omitnil" name:"MultiConditions"` // 是否开启告警策略。 // 默认值为true Status *bool `json:"Status,omitnil" name:"Status"` // 该参数已废弃,请使用Status参数控制是否开启告警策略。 Enable *bool `json:"Enable,omitnil" name:"Enable"` // 用户自定义告警内容 MessageTemplate *string `json:"MessageTemplate,omitnil" name:"MessageTemplate"` // 用户自定义回调 CallBack *CallBackInfo `json:"CallBack,omitnil" name:"CallBack"` // 多维分析 Analysis []*AnalysisDimensional `json:"Analysis,omitnil" name:"Analysis"` // 分组触发状态。 // 默认值false GroupTriggerStatus *bool `json:"GroupTriggerStatus,omitnil" name:"GroupTriggerStatus"` // 分组触发条件。 GroupTriggerCondition []*string `json:"GroupTriggerCondition,omitnil" name:"GroupTriggerCondition"` // 标签描述列表,通过指定该参数可以同时绑定标签到相应的告警策略。 // // 最大支持10个标签键值对,并且不能有重复的键值对。 Tags []*Tag `json:"Tags,omitnil" name:"Tags"` // 监控对象类型。0:执行语句共用监控对象; 1:每个执行语句单独选择监控对象。 // 不填则默认为0。 // 当值为1时,AlarmTargets元素个数不能超过10个,AlarmTargets中的Number必须是从1开始的连续正整数,不能重复。 MonitorObjectType *uint64 `json:"MonitorObjectType,omitnil" name:"MonitorObjectType"` // 告警附加分类信息列表。 // Classifications元素个数不能超过20个。 // Classifications元素的Key不能为空,不能重复,长度不能超过50个字符,符合正则 `^[a-z]([a-z0-9_]{0,49})$`。 // Classifications元素的Value长度不能超过200个字符。 Classifications []*AlarmClassification `json:"Classifications,omitnil" name:"Classifications"` }
func NewCreateAlarmRequest ¶
func NewCreateAlarmRequest() (request *CreateAlarmRequest)
func (*CreateAlarmRequest) FromJsonString ¶
func (r *CreateAlarmRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateAlarmRequest) ToJsonString ¶
func (r *CreateAlarmRequest) ToJsonString() string
type CreateAlarmRequestParams ¶
type CreateAlarmRequestParams struct { // 告警策略名称 Name *string `json:"Name,omitnil" name:"Name"` // 监控对象列表。 AlarmTargets []*AlarmTarget `json:"AlarmTargets,omitnil" name:"AlarmTargets"` // 监控任务运行时间点。 MonitorTime *MonitorTime `json:"MonitorTime,omitnil" name:"MonitorTime"` // 持续周期。持续满足触发条件TriggerCount个周期后,再进行告警;最小值为1,最大值为10。 TriggerCount *int64 `json:"TriggerCount,omitnil" name:"TriggerCount"` // 告警重复的周期,单位是分钟。取值范围是0~1440。 AlarmPeriod *int64 `json:"AlarmPeriod,omitnil" name:"AlarmPeriod"` // 关联的告警通知模板列表。 AlarmNoticeIds []*string `json:"AlarmNoticeIds,omitnil" name:"AlarmNoticeIds"` // 触发条件 // 注意: // - Condition和AlarmLevel是一组配置,MultiConditions是另一组配置,2组配置互斥。 Condition *string `json:"Condition,omitnil" name:"Condition"` // 告警级别 // 0:警告(Warn); 1:提醒(Info); 2:紧急 (Critical)。 // 注意: // - 不填则默认为0。 // - Condition和AlarmLevel是一组配置,MultiConditions是另一组配置,2组配置互斥。 AlarmLevel *uint64 `json:"AlarmLevel,omitnil" name:"AlarmLevel"` // 多触发条件 // 注意: // - Condition和AlarmLevel是一组配置,MultiConditions是另一组配置,2组配置互斥。 // // MultiConditions []*MultiCondition `json:"MultiConditions,omitnil" name:"MultiConditions"` // 是否开启告警策略。 // 默认值为true Status *bool `json:"Status,omitnil" name:"Status"` // 该参数已废弃,请使用Status参数控制是否开启告警策略。 Enable *bool `json:"Enable,omitnil" name:"Enable"` // 用户自定义告警内容 MessageTemplate *string `json:"MessageTemplate,omitnil" name:"MessageTemplate"` // 用户自定义回调 CallBack *CallBackInfo `json:"CallBack,omitnil" name:"CallBack"` // 多维分析 Analysis []*AnalysisDimensional `json:"Analysis,omitnil" name:"Analysis"` // 分组触发状态。 // 默认值false GroupTriggerStatus *bool `json:"GroupTriggerStatus,omitnil" name:"GroupTriggerStatus"` // 分组触发条件。 GroupTriggerCondition []*string `json:"GroupTriggerCondition,omitnil" name:"GroupTriggerCondition"` // 标签描述列表,通过指定该参数可以同时绑定标签到相应的告警策略。 // // 最大支持10个标签键值对,并且不能有重复的键值对。 Tags []*Tag `json:"Tags,omitnil" name:"Tags"` // 监控对象类型。0:执行语句共用监控对象; 1:每个执行语句单独选择监控对象。 // 不填则默认为0。 // 当值为1时,AlarmTargets元素个数不能超过10个,AlarmTargets中的Number必须是从1开始的连续正整数,不能重复。 MonitorObjectType *uint64 `json:"MonitorObjectType,omitnil" name:"MonitorObjectType"` // 告警附加分类信息列表。 // Classifications元素个数不能超过20个。 // Classifications元素的Key不能为空,不能重复,长度不能超过50个字符,符合正则 `^[a-z]([a-z0-9_]{0,49})$`。 // Classifications元素的Value长度不能超过200个字符。 Classifications []*AlarmClassification `json:"Classifications,omitnil" name:"Classifications"` }
Predefined struct for user
type CreateAlarmResponse ¶
type CreateAlarmResponse struct { *tchttp.BaseResponse Response *CreateAlarmResponseParams `json:"Response"` }
func NewCreateAlarmResponse ¶
func NewCreateAlarmResponse() (response *CreateAlarmResponse)
func (*CreateAlarmResponse) FromJsonString ¶
func (r *CreateAlarmResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateAlarmResponse) ToJsonString ¶
func (r *CreateAlarmResponse) ToJsonString() string
type CreateAlarmResponseParams ¶
type CreateAlarmResponseParams struct { // 告警策略ID。 AlarmId *string `json:"AlarmId,omitnil" name:"AlarmId"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type CreateAlarmShieldRequest ¶
type CreateAlarmShieldRequest struct { *tchttp.BaseRequest // 通知渠道组id。 AlarmNoticeId *string `json:"AlarmNoticeId,omitnil" name:"AlarmNoticeId"` // 屏蔽开始时间(秒级时间戳)。 StartTime *uint64 `json:"StartTime,omitnil" name:"StartTime"` // 屏蔽结束时间(秒级时间戳)。 EndTime *uint64 `json:"EndTime,omitnil" name:"EndTime"` // 屏蔽类型。1:屏蔽所有通知,2:按照Rule参数屏蔽匹配规则的通知。 Type *uint64 `json:"Type,omitnil" name:"Type"` // 屏蔽原因。 Reason *string `json:"Reason,omitnil" name:"Reason"` // 屏蔽规则,当Type为2时必填。规则填写方式详见[产品文档](https://cloud.tencent.com/document/product/614/103178#rule)。 Rule *string `json:"Rule,omitnil" name:"Rule"` }
func NewCreateAlarmShieldRequest ¶
func NewCreateAlarmShieldRequest() (request *CreateAlarmShieldRequest)
func (*CreateAlarmShieldRequest) FromJsonString ¶
func (r *CreateAlarmShieldRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateAlarmShieldRequest) ToJsonString ¶
func (r *CreateAlarmShieldRequest) ToJsonString() string
type CreateAlarmShieldRequestParams ¶
type CreateAlarmShieldRequestParams struct { // 通知渠道组id。 AlarmNoticeId *string `json:"AlarmNoticeId,omitnil" name:"AlarmNoticeId"` // 屏蔽开始时间(秒级时间戳)。 StartTime *uint64 `json:"StartTime,omitnil" name:"StartTime"` // 屏蔽结束时间(秒级时间戳)。 EndTime *uint64 `json:"EndTime,omitnil" name:"EndTime"` // 屏蔽类型。1:屏蔽所有通知,2:按照Rule参数屏蔽匹配规则的通知。 Type *uint64 `json:"Type,omitnil" name:"Type"` // 屏蔽原因。 Reason *string `json:"Reason,omitnil" name:"Reason"` // 屏蔽规则,当Type为2时必填。规则填写方式详见[产品文档](https://cloud.tencent.com/document/product/614/103178#rule)。 Rule *string `json:"Rule,omitnil" name:"Rule"` }
Predefined struct for user
type CreateAlarmShieldResponse ¶
type CreateAlarmShieldResponse struct { *tchttp.BaseResponse Response *CreateAlarmShieldResponseParams `json:"Response"` }
func NewCreateAlarmShieldResponse ¶
func NewCreateAlarmShieldResponse() (response *CreateAlarmShieldResponse)
func (*CreateAlarmShieldResponse) FromJsonString ¶
func (r *CreateAlarmShieldResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateAlarmShieldResponse) ToJsonString ¶
func (r *CreateAlarmShieldResponse) ToJsonString() string
type CreateAlarmShieldResponseParams ¶
type CreateAlarmShieldResponseParams struct { // 屏蔽规则ID。 TaskId *string `json:"TaskId,omitnil" name:"TaskId"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type CreateConfigExtraRequest ¶
type CreateConfigExtraRequest struct { *tchttp.BaseRequest // 采集配置规程名称,最长63个字符,只能包含小写字符、数字及分隔符(“-”),且必须以小写字符开头,数字或小写字符结尾 Name *string `json:"Name,omitnil" name:"Name"` // 日志主题id TopicId *string `json:"TopicId,omitnil" name:"TopicId"` // 类型:container_stdout、container_file、host_file Type *string `json:"Type,omitnil" name:"Type"` // 采集的日志类型,json_log代表json格式日志,delimiter_log代表分隔符格式日志,minimalist_log代表极简日志,multiline_log代表多行日志,fullregex_log代表完整正则,默认为minimalist_log LogType *string `json:"LogType,omitnil" name:"LogType"` // 采集配置标 ConfigFlag *string `json:"ConfigFlag,omitnil" name:"ConfigFlag"` // 日志集id LogsetId *string `json:"LogsetId,omitnil" name:"LogsetId"` // 日志集name LogsetName *string `json:"LogsetName,omitnil" name:"LogsetName"` // 日志主题名称 TopicName *string `json:"TopicName,omitnil" name:"TopicName"` // 节点文件配置信息 HostFile *HostFileInfo `json:"HostFile,omitnil" name:"HostFile"` // 容器文件路径信息 ContainerFile *ContainerFileInfo `json:"ContainerFile,omitnil" name:"ContainerFile"` // 容器标准输出信息 ContainerStdout *ContainerStdoutInfo `json:"ContainerStdout,omitnil" name:"ContainerStdout"` // 日志格式化方式 LogFormat *string `json:"LogFormat,omitnil" name:"LogFormat"` // 提取规则,如果设置了ExtractRule,则必须设置LogType ExtractRule *ExtractRuleInfo `json:"ExtractRule,omitnil" name:"ExtractRule"` // 采集黑名单路径列表 ExcludePaths []*ExcludePathInfo `json:"ExcludePaths,omitnil" name:"ExcludePaths"` // 用户自定义采集规则,Json格式序列化的字符串 UserDefineRule *string `json:"UserDefineRule,omitnil" name:"UserDefineRule"` // 绑定的机器组id GroupId *string `json:"GroupId,omitnil" name:"GroupId"` // 绑定的机器组id列表 GroupIds []*string `json:"GroupIds,omitnil" name:"GroupIds"` // 高级采集配置。 Json字符串, Key/Value定义为如下: // - ClsAgentFileTimeout(超时属性), 取值范围: 大于等于0的整数, 0为不超时 // - ClsAgentMaxDepth(最大目录深度),取值范围: 大于等于0的整数 // - ClsAgentParseFailMerge(合并解析失败日志),取值范围: true或false // 样例:{"ClsAgentFileTimeout":0,"ClsAgentMaxDepth":10,"ClsAgentParseFailMerge":true} AdvancedConfig *string `json:"AdvancedConfig,omitnil" name:"AdvancedConfig"` }
func NewCreateConfigExtraRequest ¶
func NewCreateConfigExtraRequest() (request *CreateConfigExtraRequest)
func (*CreateConfigExtraRequest) FromJsonString ¶
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 ¶
func (r *CreateConfigExtraRequest) ToJsonString() string
type CreateConfigExtraRequestParams ¶
type CreateConfigExtraRequestParams struct { // 采集配置规程名称,最长63个字符,只能包含小写字符、数字及分隔符(“-”),且必须以小写字符开头,数字或小写字符结尾 Name *string `json:"Name,omitnil" name:"Name"` // 日志主题id TopicId *string `json:"TopicId,omitnil" name:"TopicId"` // 类型:container_stdout、container_file、host_file Type *string `json:"Type,omitnil" name:"Type"` // 采集的日志类型,json_log代表json格式日志,delimiter_log代表分隔符格式日志,minimalist_log代表极简日志,multiline_log代表多行日志,fullregex_log代表完整正则,默认为minimalist_log LogType *string `json:"LogType,omitnil" name:"LogType"` // 采集配置标 ConfigFlag *string `json:"ConfigFlag,omitnil" name:"ConfigFlag"` // 日志集id LogsetId *string `json:"LogsetId,omitnil" name:"LogsetId"` // 日志集name LogsetName *string `json:"LogsetName,omitnil" name:"LogsetName"` // 日志主题名称 TopicName *string `json:"TopicName,omitnil" name:"TopicName"` // 节点文件配置信息 HostFile *HostFileInfo `json:"HostFile,omitnil" name:"HostFile"` // 容器文件路径信息 ContainerFile *ContainerFileInfo `json:"ContainerFile,omitnil" name:"ContainerFile"` // 容器标准输出信息 ContainerStdout *ContainerStdoutInfo `json:"ContainerStdout,omitnil" name:"ContainerStdout"` // 日志格式化方式 LogFormat *string `json:"LogFormat,omitnil" name:"LogFormat"` // 提取规则,如果设置了ExtractRule,则必须设置LogType ExtractRule *ExtractRuleInfo `json:"ExtractRule,omitnil" name:"ExtractRule"` // 采集黑名单路径列表 ExcludePaths []*ExcludePathInfo `json:"ExcludePaths,omitnil" name:"ExcludePaths"` // 用户自定义采集规则,Json格式序列化的字符串 UserDefineRule *string `json:"UserDefineRule,omitnil" name:"UserDefineRule"` // 绑定的机器组id GroupId *string `json:"GroupId,omitnil" name:"GroupId"` // 绑定的机器组id列表 GroupIds []*string `json:"GroupIds,omitnil" name:"GroupIds"` // 高级采集配置。 Json字符串, Key/Value定义为如下: // - ClsAgentFileTimeout(超时属性), 取值范围: 大于等于0的整数, 0为不超时 // - ClsAgentMaxDepth(最大目录深度),取值范围: 大于等于0的整数 // - ClsAgentParseFailMerge(合并解析失败日志),取值范围: true或false // 样例:{"ClsAgentFileTimeout":0,"ClsAgentMaxDepth":10,"ClsAgentParseFailMerge":true} AdvancedConfig *string `json:"AdvancedConfig,omitnil" name:"AdvancedConfig"` }
Predefined struct for user
type CreateConfigExtraResponse ¶
type CreateConfigExtraResponse struct { *tchttp.BaseResponse Response *CreateConfigExtraResponseParams `json:"Response"` }
func NewCreateConfigExtraResponse ¶
func NewCreateConfigExtraResponse() (response *CreateConfigExtraResponse)
func (*CreateConfigExtraResponse) FromJsonString ¶
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 ¶
func (r *CreateConfigExtraResponse) ToJsonString() string
type CreateConfigExtraResponseParams ¶
type CreateConfigExtraResponseParams struct { // 采集配置扩展信息ID ConfigExtraId *string `json:"ConfigExtraId,omitnil" name:"ConfigExtraId"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type CreateConfigRequest ¶
type CreateConfigRequest struct { *tchttp.BaseRequest // 采集配置名称 Name *string `json:"Name,omitnil" name:"Name"` // 采集配置所属日志主题ID即TopicId Output *string `json:"Output,omitnil" name:"Output"` // 日志采集路径,包含文件名 Path *string `json:"Path,omitnil" name:"Path"` // 采集的日志类型,json_log代表json格式日志,delimiter_log代表分隔符格式日志,minimalist_log代表极简日志,multiline_log代表多行日志,fullregex_log代表完整正则,默认为minimalist_log LogType *string `json:"LogType,omitnil" name:"LogType"` // 提取规则,如果设置了ExtractRule,则必须设置LogType ExtractRule *ExtractRuleInfo `json:"ExtractRule,omitnil" name:"ExtractRule"` // 采集黑名单路径列表 ExcludePaths []*ExcludePathInfo `json:"ExcludePaths,omitnil" name:"ExcludePaths"` // 用户自定义采集规则,Json格式序列化的字符串 UserDefineRule *string `json:"UserDefineRule,omitnil" name:"UserDefineRule"` // 高级采集配置。 Json字符串, Key/Value定义为如下: // - ClsAgentFileTimeout(超时属性), 取值范围: 大于等于0的整数, 0为不超时 // - ClsAgentMaxDepth(最大目录深度),取值范围: 大于等于0的整数 // - ClsAgentParseFailMerge(合并解析失败日志),取值范围: true或false // 样例:{"ClsAgentFileTimeout":0,"ClsAgentMaxDepth":10,"ClsAgentParseFailMerge":true} AdvancedConfig *string `json:"AdvancedConfig,omitnil" name:"AdvancedConfig"` }
func NewCreateConfigRequest ¶
func NewCreateConfigRequest() (request *CreateConfigRequest)
func (*CreateConfigRequest) FromJsonString ¶
func (r *CreateConfigRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateConfigRequest) ToJsonString ¶
func (r *CreateConfigRequest) ToJsonString() string
type CreateConfigRequestParams ¶
type CreateConfigRequestParams struct { // 采集配置名称 Name *string `json:"Name,omitnil" name:"Name"` // 采集配置所属日志主题ID即TopicId Output *string `json:"Output,omitnil" name:"Output"` // 日志采集路径,包含文件名 Path *string `json:"Path,omitnil" name:"Path"` // 采集的日志类型,json_log代表json格式日志,delimiter_log代表分隔符格式日志,minimalist_log代表极简日志,multiline_log代表多行日志,fullregex_log代表完整正则,默认为minimalist_log LogType *string `json:"LogType,omitnil" name:"LogType"` // 提取规则,如果设置了ExtractRule,则必须设置LogType ExtractRule *ExtractRuleInfo `json:"ExtractRule,omitnil" name:"ExtractRule"` // 采集黑名单路径列表 ExcludePaths []*ExcludePathInfo `json:"ExcludePaths,omitnil" name:"ExcludePaths"` // 用户自定义采集规则,Json格式序列化的字符串 UserDefineRule *string `json:"UserDefineRule,omitnil" name:"UserDefineRule"` // 高级采集配置。 Json字符串, Key/Value定义为如下: // - ClsAgentFileTimeout(超时属性), 取值范围: 大于等于0的整数, 0为不超时 // - ClsAgentMaxDepth(最大目录深度),取值范围: 大于等于0的整数 // - ClsAgentParseFailMerge(合并解析失败日志),取值范围: true或false // 样例:{"ClsAgentFileTimeout":0,"ClsAgentMaxDepth":10,"ClsAgentParseFailMerge":true} AdvancedConfig *string `json:"AdvancedConfig,omitnil" name:"AdvancedConfig"` }
Predefined struct for user
type CreateConfigResponse ¶
type CreateConfigResponse struct { *tchttp.BaseResponse Response *CreateConfigResponseParams `json:"Response"` }
func NewCreateConfigResponse ¶
func NewCreateConfigResponse() (response *CreateConfigResponse)
func (*CreateConfigResponse) FromJsonString ¶
func (r *CreateConfigResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateConfigResponse) ToJsonString ¶
func (r *CreateConfigResponse) ToJsonString() string
type CreateConfigResponseParams ¶
type CreateConfigResponseParams struct { // 采集配置ID ConfigId *string `json:"ConfigId,omitnil" name:"ConfigId"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type CreateConsumerRequest ¶
type CreateConsumerRequest struct { *tchttp.BaseRequest // 投递任务绑定的日志主题 ID TopicId *string `json:"TopicId,omitnil" name:"TopicId"` // 是否投递日志的元数据信息,默认为 true NeedContent *bool `json:"NeedContent,omitnil" name:"NeedContent"` // 如果需要投递元数据信息,元数据信息的描述 Content *ConsumerContent `json:"Content,omitnil" name:"Content"` // CKafka的描述 Ckafka *Ckafka `json:"Ckafka,omitnil" name:"Ckafka"` // 投递时压缩方式,取值0,2,3。[0:NONE;2:SNAPPY;3:LZ4] Compression *int64 `json:"Compression,omitnil" name:"Compression"` }
func NewCreateConsumerRequest ¶
func NewCreateConsumerRequest() (request *CreateConsumerRequest)
func (*CreateConsumerRequest) FromJsonString ¶
func (r *CreateConsumerRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateConsumerRequest) ToJsonString ¶
func (r *CreateConsumerRequest) ToJsonString() string
type CreateConsumerRequestParams ¶
type CreateConsumerRequestParams struct { // 投递任务绑定的日志主题 ID TopicId *string `json:"TopicId,omitnil" name:"TopicId"` // 是否投递日志的元数据信息,默认为 true NeedContent *bool `json:"NeedContent,omitnil" name:"NeedContent"` // 如果需要投递元数据信息,元数据信息的描述 Content *ConsumerContent `json:"Content,omitnil" name:"Content"` // CKafka的描述 Ckafka *Ckafka `json:"Ckafka,omitnil" name:"Ckafka"` // 投递时压缩方式,取值0,2,3。[0:NONE;2:SNAPPY;3:LZ4] Compression *int64 `json:"Compression,omitnil" name:"Compression"` }
Predefined struct for user
type CreateConsumerResponse ¶
type CreateConsumerResponse struct { *tchttp.BaseResponse Response *CreateConsumerResponseParams `json:"Response"` }
func NewCreateConsumerResponse ¶
func NewCreateConsumerResponse() (response *CreateConsumerResponse)
func (*CreateConsumerResponse) FromJsonString ¶
func (r *CreateConsumerResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateConsumerResponse) ToJsonString ¶
func (r *CreateConsumerResponse) ToJsonString() string
type CreateConsumerResponseParams ¶
type CreateConsumerResponseParams struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type CreateCosRechargeRequest ¶
type CreateCosRechargeRequest struct { *tchttp.BaseRequest // 日志主题 ID TopicId *string `json:"TopicId,omitnil" name:"TopicId"` // 日志集ID LogsetId *string `json:"LogsetId,omitnil" name:"LogsetId"` // 投递任务名称 Name *string `json:"Name,omitnil" name:"Name"` // COS存储桶。 // 存储桶命名规范:https://cloud.tencent.com/document/product/436/13312 Bucket *string `json:"Bucket,omitnil" name:"Bucket"` // COS存储桶所在地域。地域和访问域名:https://cloud.tencent.com/document/product/436/6224 BucketRegion *string `json:"BucketRegion,omitnil" name:"BucketRegion"` // COS文件所在文件夹的前缀 Prefix *string `json:"Prefix,omitnil" name:"Prefix"` // 采集的日志类型,json_log代表json格式日志,delimiter_log代表分隔符格式日志,minimalist_log代表单行全文; // 默认为minimalist_log LogType *string `json:"LogType,omitnil" name:"LogType"` // supported: "", "gzip", "lzop", "snappy"; 默认空 Compress *string `json:"Compress,omitnil" name:"Compress"` // 提取规则,如果设置了ExtractRule,则必须设置LogType ExtractRuleInfo *ExtractRuleInfo `json:"ExtractRuleInfo,omitnil" name:"ExtractRuleInfo"` }
func NewCreateCosRechargeRequest ¶
func NewCreateCosRechargeRequest() (request *CreateCosRechargeRequest)
func (*CreateCosRechargeRequest) FromJsonString ¶
func (r *CreateCosRechargeRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateCosRechargeRequest) ToJsonString ¶
func (r *CreateCosRechargeRequest) ToJsonString() string
type CreateCosRechargeRequestParams ¶
type CreateCosRechargeRequestParams struct { // 日志主题 ID TopicId *string `json:"TopicId,omitnil" name:"TopicId"` // 日志集ID LogsetId *string `json:"LogsetId,omitnil" name:"LogsetId"` // 投递任务名称 Name *string `json:"Name,omitnil" name:"Name"` // COS存储桶。 // 存储桶命名规范:https://cloud.tencent.com/document/product/436/13312 Bucket *string `json:"Bucket,omitnil" name:"Bucket"` // COS存储桶所在地域。地域和访问域名:https://cloud.tencent.com/document/product/436/6224 BucketRegion *string `json:"BucketRegion,omitnil" name:"BucketRegion"` // COS文件所在文件夹的前缀 Prefix *string `json:"Prefix,omitnil" name:"Prefix"` // 采集的日志类型,json_log代表json格式日志,delimiter_log代表分隔符格式日志,minimalist_log代表单行全文; // 默认为minimalist_log LogType *string `json:"LogType,omitnil" name:"LogType"` // supported: "", "gzip", "lzop", "snappy"; 默认空 Compress *string `json:"Compress,omitnil" name:"Compress"` // 提取规则,如果设置了ExtractRule,则必须设置LogType ExtractRuleInfo *ExtractRuleInfo `json:"ExtractRuleInfo,omitnil" name:"ExtractRuleInfo"` }
Predefined struct for user
type CreateCosRechargeResponse ¶
type CreateCosRechargeResponse struct { *tchttp.BaseResponse Response *CreateCosRechargeResponseParams `json:"Response"` }
func NewCreateCosRechargeResponse ¶
func NewCreateCosRechargeResponse() (response *CreateCosRechargeResponse)
func (*CreateCosRechargeResponse) FromJsonString ¶
func (r *CreateCosRechargeResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateCosRechargeResponse) ToJsonString ¶
func (r *CreateCosRechargeResponse) ToJsonString() string
type CreateCosRechargeResponseParams ¶
type CreateCosRechargeResponseParams struct { // cos_recharge记录id // 注意:此字段可能返回 null,表示取不到有效值。 Id *string `json:"Id,omitnil" name:"Id"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type CreateDataTransformRequest ¶
type CreateDataTransformRequest struct { *tchttp.BaseRequest // 任务类型. 1: 指定主题;2:动态创建 FuncType *int64 `json:"FuncType,omitnil" name:"FuncType"` // 源日志主题 SrcTopicId *string `json:"SrcTopicId,omitnil" name:"SrcTopicId"` // 加工任务名称 Name *string `json:"Name,omitnil" name:"Name"` // 加工语句 EtlContent *string `json:"EtlContent,omitnil" name:"EtlContent"` // 加工类型 1 使用源日志主题中的随机数据,进行加工预览 :2 使用用户自定义测试数据,进行加工预览 3 创建真实加工任务 TaskType *int64 `json:"TaskType,omitnil" name:"TaskType"` // 任务启动状态. 默认为1:开启, 2:关闭 EnableFlag *int64 `json:"EnableFlag,omitnil" name:"EnableFlag"` // 加工任务目的topic_id以及别名,当FuncType=1时,该参数必填,当FuncType=2时,无需填写 DstResources []*DataTransformResouceInfo `json:"DstResources,omitnil" name:"DstResources"` // 用于预览加工结果的测试数据 PreviewLogStatistics []*PreviewLogStatistic `json:"PreviewLogStatistics,omitnil" name:"PreviewLogStatistics"` }
func NewCreateDataTransformRequest ¶
func NewCreateDataTransformRequest() (request *CreateDataTransformRequest)
func (*CreateDataTransformRequest) FromJsonString ¶
func (r *CreateDataTransformRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateDataTransformRequest) ToJsonString ¶
func (r *CreateDataTransformRequest) ToJsonString() string
type CreateDataTransformRequestParams ¶
type CreateDataTransformRequestParams struct { // 任务类型. 1: 指定主题;2:动态创建 FuncType *int64 `json:"FuncType,omitnil" name:"FuncType"` // 源日志主题 SrcTopicId *string `json:"SrcTopicId,omitnil" name:"SrcTopicId"` // 加工任务名称 Name *string `json:"Name,omitnil" name:"Name"` // 加工语句 EtlContent *string `json:"EtlContent,omitnil" name:"EtlContent"` // 加工类型 1 使用源日志主题中的随机数据,进行加工预览 :2 使用用户自定义测试数据,进行加工预览 3 创建真实加工任务 TaskType *int64 `json:"TaskType,omitnil" name:"TaskType"` // 任务启动状态. 默认为1:开启, 2:关闭 EnableFlag *int64 `json:"EnableFlag,omitnil" name:"EnableFlag"` // 加工任务目的topic_id以及别名,当FuncType=1时,该参数必填,当FuncType=2时,无需填写 DstResources []*DataTransformResouceInfo `json:"DstResources,omitnil" name:"DstResources"` // 用于预览加工结果的测试数据 PreviewLogStatistics []*PreviewLogStatistic `json:"PreviewLogStatistics,omitnil" name:"PreviewLogStatistics"` }
Predefined struct for user
type CreateDataTransformResponse ¶
type CreateDataTransformResponse struct { *tchttp.BaseResponse Response *CreateDataTransformResponseParams `json:"Response"` }
func NewCreateDataTransformResponse ¶
func NewCreateDataTransformResponse() (response *CreateDataTransformResponse)
func (*CreateDataTransformResponse) FromJsonString ¶
func (r *CreateDataTransformResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateDataTransformResponse) ToJsonString ¶
func (r *CreateDataTransformResponse) ToJsonString() string
type CreateDataTransformResponseParams ¶
type CreateDataTransformResponseParams struct { // 任务id TaskId *string `json:"TaskId,omitnil" name:"TaskId"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type CreateDeliverCloudFunctionRequest ¶
type CreateDeliverCloudFunctionRequest struct { *tchttp.BaseRequest // 投递规则属于的 topic id TopicId *string `json:"TopicId,omitnil" name:"TopicId"` // 投递的云函数名字 FunctionName *string `json:"FunctionName,omitnil" name:"FunctionName"` // 命名空间 Namespace *string `json:"Namespace,omitnil" name:"Namespace"` // 函数版本 Qualifier *string `json:"Qualifier,omitnil" name:"Qualifier"` // 投递最长等待时间,单位:秒 Timeout *uint64 `json:"Timeout,omitnil" name:"Timeout"` // 投递最大消息数 MaxMsgNum *uint64 `json:"MaxMsgNum,omitnil" name:"MaxMsgNum"` }
func NewCreateDeliverCloudFunctionRequest ¶
func NewCreateDeliverCloudFunctionRequest() (request *CreateDeliverCloudFunctionRequest)
func (*CreateDeliverCloudFunctionRequest) FromJsonString ¶
func (r *CreateDeliverCloudFunctionRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateDeliverCloudFunctionRequest) ToJsonString ¶
func (r *CreateDeliverCloudFunctionRequest) ToJsonString() string
type CreateDeliverCloudFunctionRequestParams ¶
type CreateDeliverCloudFunctionRequestParams struct { // 投递规则属于的 topic id TopicId *string `json:"TopicId,omitnil" name:"TopicId"` // 投递的云函数名字 FunctionName *string `json:"FunctionName,omitnil" name:"FunctionName"` // 命名空间 Namespace *string `json:"Namespace,omitnil" name:"Namespace"` // 函数版本 Qualifier *string `json:"Qualifier,omitnil" name:"Qualifier"` // 投递最长等待时间,单位:秒 Timeout *uint64 `json:"Timeout,omitnil" name:"Timeout"` // 投递最大消息数 MaxMsgNum *uint64 `json:"MaxMsgNum,omitnil" name:"MaxMsgNum"` }
Predefined struct for user
type CreateDeliverCloudFunctionResponse ¶
type CreateDeliverCloudFunctionResponse struct { *tchttp.BaseResponse Response *CreateDeliverCloudFunctionResponseParams `json:"Response"` }
func NewCreateDeliverCloudFunctionResponse ¶
func NewCreateDeliverCloudFunctionResponse() (response *CreateDeliverCloudFunctionResponse)
func (*CreateDeliverCloudFunctionResponse) FromJsonString ¶
func (r *CreateDeliverCloudFunctionResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateDeliverCloudFunctionResponse) ToJsonString ¶
func (r *CreateDeliverCloudFunctionResponse) ToJsonString() string
type CreateDeliverCloudFunctionResponseParams ¶
type CreateDeliverCloudFunctionResponseParams struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type CreateExportRequest ¶
type CreateExportRequest struct { *tchttp.BaseRequest // 日志主题ID TopicId *string `json:"TopicId,omitnil" name:"TopicId"` // 日志导出数量, 最大值5000万 Count *uint64 `json:"Count,omitnil" name:"Count"` // 日志导出检索语句,不支持<a href="https://cloud.tencent.com/document/product/614/44061" target="_blank">[SQL语句]</a> Query *string `json:"Query,omitnil" name:"Query"` // 日志导出起始时间,毫秒时间戳 From *int64 `json:"From,omitnil" name:"From"` // 日志导出结束时间,毫秒时间戳 To *int64 `json:"To,omitnil" name:"To"` // 日志导出时间排序。desc,asc,默认为desc Order *string `json:"Order,omitnil" name:"Order"` // 日志导出数据格式。json,csv,默认为json Format *string `json:"Format,omitnil" name:"Format"` // 语法规则, 默认值为0。 // 0:Lucene语法,1:CQL语法。 SyntaxRule *uint64 `json:"SyntaxRule,omitnil" name:"SyntaxRule"` }
func NewCreateExportRequest ¶
func NewCreateExportRequest() (request *CreateExportRequest)
func (*CreateExportRequest) FromJsonString ¶
func (r *CreateExportRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateExportRequest) ToJsonString ¶
func (r *CreateExportRequest) ToJsonString() string
type CreateExportRequestParams ¶
type CreateExportRequestParams struct { // 日志主题ID TopicId *string `json:"TopicId,omitnil" name:"TopicId"` // 日志导出数量, 最大值5000万 Count *uint64 `json:"Count,omitnil" name:"Count"` // 日志导出检索语句,不支持<a href="https://cloud.tencent.com/document/product/614/44061" target="_blank">[SQL语句]</a> Query *string `json:"Query,omitnil" name:"Query"` // 日志导出起始时间,毫秒时间戳 From *int64 `json:"From,omitnil" name:"From"` // 日志导出结束时间,毫秒时间戳 To *int64 `json:"To,omitnil" name:"To"` // 日志导出时间排序。desc,asc,默认为desc Order *string `json:"Order,omitnil" name:"Order"` // 日志导出数据格式。json,csv,默认为json Format *string `json:"Format,omitnil" name:"Format"` // 语法规则, 默认值为0。 // 0:Lucene语法,1:CQL语法。 SyntaxRule *uint64 `json:"SyntaxRule,omitnil" name:"SyntaxRule"` }
Predefined struct for user
type CreateExportResponse ¶
type CreateExportResponse struct { *tchttp.BaseResponse Response *CreateExportResponseParams `json:"Response"` }
func NewCreateExportResponse ¶
func NewCreateExportResponse() (response *CreateExportResponse)
func (*CreateExportResponse) FromJsonString ¶
func (r *CreateExportResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateExportResponse) ToJsonString ¶
func (r *CreateExportResponse) ToJsonString() string
type CreateExportResponseParams ¶
type CreateExportResponseParams struct { // 日志导出ID。 ExportId *string `json:"ExportId,omitnil" name:"ExportId"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type CreateIndexRequest ¶
type CreateIndexRequest struct { *tchttp.BaseRequest // 日志主题ID TopicId *string `json:"TopicId,omitnil" name:"TopicId"` // 索引规则 Rule *RuleInfo `json:"Rule,omitnil" name:"Rule"` // 是否生效,默认为true Status *bool `json:"Status,omitnil" name:"Status"` // 内置保留字段(`__FILENAME__`,`__HOSTNAME__`及`__SOURCE__`)是否包含至全文索引,默认为false,推荐设置为true // * false:不包含 // * true:包含 IncludeInternalFields *bool `json:"IncludeInternalFields,omitnil" name:"IncludeInternalFields"` // 元数据字段(前缀为`__TAG__`的字段)是否包含至全文索引,默认为0,推荐设置为1 // * 0:仅包含开启键值索引的元数据字段 // * 1:包含所有元数据字段 // * 2:不包含任何元数据字段 MetadataFlag *uint64 `json:"MetadataFlag,omitnil" name:"MetadataFlag"` }
func NewCreateIndexRequest ¶
func NewCreateIndexRequest() (request *CreateIndexRequest)
func (*CreateIndexRequest) FromJsonString ¶
func (r *CreateIndexRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateIndexRequest) ToJsonString ¶
func (r *CreateIndexRequest) ToJsonString() string
type CreateIndexRequestParams ¶
type CreateIndexRequestParams struct { // 日志主题ID TopicId *string `json:"TopicId,omitnil" name:"TopicId"` // 索引规则 Rule *RuleInfo `json:"Rule,omitnil" name:"Rule"` // 是否生效,默认为true Status *bool `json:"Status,omitnil" name:"Status"` // 内置保留字段(`__FILENAME__`,`__HOSTNAME__`及`__SOURCE__`)是否包含至全文索引,默认为false,推荐设置为true // * false:不包含 // * true:包含 IncludeInternalFields *bool `json:"IncludeInternalFields,omitnil" name:"IncludeInternalFields"` // 元数据字段(前缀为`__TAG__`的字段)是否包含至全文索引,默认为0,推荐设置为1 // * 0:仅包含开启键值索引的元数据字段 // * 1:包含所有元数据字段 // * 2:不包含任何元数据字段 MetadataFlag *uint64 `json:"MetadataFlag,omitnil" name:"MetadataFlag"` }
Predefined struct for user
type CreateIndexResponse ¶
type CreateIndexResponse struct { *tchttp.BaseResponse Response *CreateIndexResponseParams `json:"Response"` }
func NewCreateIndexResponse ¶
func NewCreateIndexResponse() (response *CreateIndexResponse)
func (*CreateIndexResponse) FromJsonString ¶
func (r *CreateIndexResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateIndexResponse) ToJsonString ¶
func (r *CreateIndexResponse) ToJsonString() string
type CreateIndexResponseParams ¶
type CreateIndexResponseParams struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type CreateKafkaRechargeRequest ¶
type CreateKafkaRechargeRequest struct { *tchttp.BaseRequest // 导入CLS目标topic ID TopicId *string `json:"TopicId,omitnil" name:"TopicId"` // Kafka导入配置名称 Name *string `json:"Name,omitnil" name:"Name"` // 导入Kafka类型,0: 腾讯云CKafka,1: 用户自建Kafka KafkaType *uint64 `json:"KafkaType,omitnil" name:"KafkaType"` // 用户需要导入的Kafka相关topic列表,多个topic之间使用半角逗号隔开 UserKafkaTopics *string `json:"UserKafkaTopics,omitnil" name:"UserKafkaTopics"` // 导入数据位置,-2:最早(默认),-1:最晚 Offset *int64 `json:"Offset,omitnil" name:"Offset"` // 腾讯云CKafka实例ID,KafkaType为0时必填 KafkaInstance *string `json:"KafkaInstance,omitnil" name:"KafkaInstance"` // 服务地址,KafkaType为1时必填 ServerAddr *string `json:"ServerAddr,omitnil" name:"ServerAddr"` // ServerAddr是否为加密连接,KafkaType为1时必填 IsEncryptionAddr *bool `json:"IsEncryptionAddr,omitnil" name:"IsEncryptionAddr"` // 加密访问协议。 // KafkaType为1并且IsEncryptionAddr为true时Protocol必填 Protocol *KafkaProtocolInfo `json:"Protocol,omitnil" name:"Protocol"` // 用户Kafka消费组名称 ConsumerGroupName *string `json:"ConsumerGroupName,omitnil" name:"ConsumerGroupName"` // 日志导入规则。 // 必填字段。 LogRechargeRule *LogRechargeRuleInfo `json:"LogRechargeRule,omitnil" name:"LogRechargeRule"` }
func NewCreateKafkaRechargeRequest ¶
func NewCreateKafkaRechargeRequest() (request *CreateKafkaRechargeRequest)
func (*CreateKafkaRechargeRequest) FromJsonString ¶
func (r *CreateKafkaRechargeRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateKafkaRechargeRequest) ToJsonString ¶
func (r *CreateKafkaRechargeRequest) ToJsonString() string
type CreateKafkaRechargeRequestParams ¶
type CreateKafkaRechargeRequestParams struct { // 导入CLS目标topic ID TopicId *string `json:"TopicId,omitnil" name:"TopicId"` // Kafka导入配置名称 Name *string `json:"Name,omitnil" name:"Name"` // 导入Kafka类型,0: 腾讯云CKafka,1: 用户自建Kafka KafkaType *uint64 `json:"KafkaType,omitnil" name:"KafkaType"` // 用户需要导入的Kafka相关topic列表,多个topic之间使用半角逗号隔开 UserKafkaTopics *string `json:"UserKafkaTopics,omitnil" name:"UserKafkaTopics"` // 导入数据位置,-2:最早(默认),-1:最晚 Offset *int64 `json:"Offset,omitnil" name:"Offset"` // 腾讯云CKafka实例ID,KafkaType为0时必填 KafkaInstance *string `json:"KafkaInstance,omitnil" name:"KafkaInstance"` // 服务地址,KafkaType为1时必填 ServerAddr *string `json:"ServerAddr,omitnil" name:"ServerAddr"` // ServerAddr是否为加密连接,KafkaType为1时必填 IsEncryptionAddr *bool `json:"IsEncryptionAddr,omitnil" name:"IsEncryptionAddr"` // 加密访问协议。 // KafkaType为1并且IsEncryptionAddr为true时Protocol必填 Protocol *KafkaProtocolInfo `json:"Protocol,omitnil" name:"Protocol"` // 用户Kafka消费组名称 ConsumerGroupName *string `json:"ConsumerGroupName,omitnil" name:"ConsumerGroupName"` // 日志导入规则。 // 必填字段。 LogRechargeRule *LogRechargeRuleInfo `json:"LogRechargeRule,omitnil" name:"LogRechargeRule"` }
Predefined struct for user
type CreateKafkaRechargeResponse ¶
type CreateKafkaRechargeResponse struct { *tchttp.BaseResponse Response *CreateKafkaRechargeResponseParams `json:"Response"` }
func NewCreateKafkaRechargeResponse ¶
func NewCreateKafkaRechargeResponse() (response *CreateKafkaRechargeResponse)
func (*CreateKafkaRechargeResponse) FromJsonString ¶
func (r *CreateKafkaRechargeResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateKafkaRechargeResponse) ToJsonString ¶
func (r *CreateKafkaRechargeResponse) ToJsonString() string
type CreateKafkaRechargeResponseParams ¶
type CreateKafkaRechargeResponseParams struct { // Kafka导入配置ID Id *string `json:"Id,omitnil" name:"Id"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type CreateLogsetRequest ¶
type CreateLogsetRequest struct { *tchttp.BaseRequest // 日志集名字,不能重名 LogsetName *string `json:"LogsetName,omitnil" name:"LogsetName"` // 标签描述列表。最大支持10个标签键值对,并且不能有重复的键值对 Tags []*Tag `json:"Tags,omitnil" name:"Tags"` }
func NewCreateLogsetRequest ¶
func NewCreateLogsetRequest() (request *CreateLogsetRequest)
func (*CreateLogsetRequest) FromJsonString ¶
func (r *CreateLogsetRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateLogsetRequest) ToJsonString ¶
func (r *CreateLogsetRequest) ToJsonString() string
type CreateLogsetRequestParams ¶
type CreateLogsetRequestParams struct { // 日志集名字,不能重名 LogsetName *string `json:"LogsetName,omitnil" name:"LogsetName"` // 标签描述列表。最大支持10个标签键值对,并且不能有重复的键值对 Tags []*Tag `json:"Tags,omitnil" name:"Tags"` }
Predefined struct for user
type CreateLogsetResponse ¶
type CreateLogsetResponse struct { *tchttp.BaseResponse Response *CreateLogsetResponseParams `json:"Response"` }
func NewCreateLogsetResponse ¶
func NewCreateLogsetResponse() (response *CreateLogsetResponse)
func (*CreateLogsetResponse) FromJsonString ¶
func (r *CreateLogsetResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateLogsetResponse) ToJsonString ¶
func (r *CreateLogsetResponse) ToJsonString() string
type CreateLogsetResponseParams ¶
type CreateLogsetResponseParams struct { // 日志集ID LogsetId *string `json:"LogsetId,omitnil" name:"LogsetId"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type CreateMachineGroupRequest ¶
type CreateMachineGroupRequest struct { *tchttp.BaseRequest // 机器组名字,不能重复 GroupName *string `json:"GroupName,omitnil" name:"GroupName"` // 创建机器组类型,Type为ip,Values中为Ip字符串列表创建机器组,Type为label, Values中为标签字符串列表创建机器组 MachineGroupType *MachineGroupTypeInfo `json:"MachineGroupType,omitnil" name:"MachineGroupType"` // 标签描述列表,通过指定该参数可以同时绑定标签到相应的机器组。最大支持10个标签键值对,同一个资源只能绑定到同一个标签键下。 Tags []*Tag `json:"Tags,omitnil" name:"Tags"` // 是否开启机器组自动更新 AutoUpdate *bool `json:"AutoUpdate,omitnil" name:"AutoUpdate"` // 升级开始时间,建议业务低峰期升级LogListener UpdateStartTime *string `json:"UpdateStartTime,omitnil" name:"UpdateStartTime"` // 升级结束时间,建议业务低峰期升级LogListener UpdateEndTime *string `json:"UpdateEndTime,omitnil" name:"UpdateEndTime"` // 是否开启服务日志,用于记录因Loglistener 服务自身产生的log,开启后,会创建内部日志集cls_service_logging和日志主题loglistener_status,loglistener_alarm,loglistener_business,不产生计费 ServiceLogging *bool `json:"ServiceLogging,omitnil" name:"ServiceLogging"` // 机器组元数据信息列表 MetaTags []*MetaTagInfo `json:"MetaTags,omitnil" name:"MetaTags"` // 系统类型,默认0,0:Linux,1: Windows OSType *uint64 `json:"OSType,omitnil" name:"OSType"` }
func NewCreateMachineGroupRequest ¶
func NewCreateMachineGroupRequest() (request *CreateMachineGroupRequest)
func (*CreateMachineGroupRequest) FromJsonString ¶
func (r *CreateMachineGroupRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateMachineGroupRequest) ToJsonString ¶
func (r *CreateMachineGroupRequest) ToJsonString() string
type CreateMachineGroupRequestParams ¶
type CreateMachineGroupRequestParams struct { // 机器组名字,不能重复 GroupName *string `json:"GroupName,omitnil" name:"GroupName"` // 创建机器组类型,Type为ip,Values中为Ip字符串列表创建机器组,Type为label, Values中为标签字符串列表创建机器组 MachineGroupType *MachineGroupTypeInfo `json:"MachineGroupType,omitnil" name:"MachineGroupType"` // 标签描述列表,通过指定该参数可以同时绑定标签到相应的机器组。最大支持10个标签键值对,同一个资源只能绑定到同一个标签键下。 Tags []*Tag `json:"Tags,omitnil" name:"Tags"` // 是否开启机器组自动更新 AutoUpdate *bool `json:"AutoUpdate,omitnil" name:"AutoUpdate"` // 升级开始时间,建议业务低峰期升级LogListener UpdateStartTime *string `json:"UpdateStartTime,omitnil" name:"UpdateStartTime"` // 升级结束时间,建议业务低峰期升级LogListener UpdateEndTime *string `json:"UpdateEndTime,omitnil" name:"UpdateEndTime"` // 是否开启服务日志,用于记录因Loglistener 服务自身产生的log,开启后,会创建内部日志集cls_service_logging和日志主题loglistener_status,loglistener_alarm,loglistener_business,不产生计费 ServiceLogging *bool `json:"ServiceLogging,omitnil" name:"ServiceLogging"` // 机器组元数据信息列表 MetaTags []*MetaTagInfo `json:"MetaTags,omitnil" name:"MetaTags"` // 系统类型,默认0,0:Linux,1: Windows OSType *uint64 `json:"OSType,omitnil" name:"OSType"` }
Predefined struct for user
type CreateMachineGroupResponse ¶
type CreateMachineGroupResponse struct { *tchttp.BaseResponse Response *CreateMachineGroupResponseParams `json:"Response"` }
func NewCreateMachineGroupResponse ¶
func NewCreateMachineGroupResponse() (response *CreateMachineGroupResponse)
func (*CreateMachineGroupResponse) FromJsonString ¶
func (r *CreateMachineGroupResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateMachineGroupResponse) ToJsonString ¶
func (r *CreateMachineGroupResponse) ToJsonString() string
type CreateMachineGroupResponseParams ¶
type CreateMachineGroupResponseParams struct { // 机器组ID GroupId *string `json:"GroupId,omitnil" name:"GroupId"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type CreateScheduledSqlRequest ¶
type CreateScheduledSqlRequest struct { *tchttp.BaseRequest // 源日志主题 SrcTopicId *string `json:"SrcTopicId,omitnil" name:"SrcTopicId"` // 任务名称 Name *string `json:"Name,omitnil" name:"Name"` // 任务启动状态. 1开启, 2关闭 EnableFlag *int64 `json:"EnableFlag,omitnil" name:"EnableFlag"` // 定时SQL分析目标日志主题 DstResource *ScheduledSqlResouceInfo `json:"DstResource,omitnil" name:"DstResource"` // 查询语句 ScheduledSqlContent *string `json:"ScheduledSqlContent,omitnil" name:"ScheduledSqlContent"` // 调度开始时间,Unix时间戳,单位ms ProcessStartTime *uint64 `json:"ProcessStartTime,omitnil" name:"ProcessStartTime"` // 调度类型,1:持续运行 2:指定时间范围 ProcessType *int64 `json:"ProcessType,omitnil" name:"ProcessType"` // 调度周期(分钟) ProcessPeriod *int64 `json:"ProcessPeriod,omitnil" name:"ProcessPeriod"` // 单次查询的时间窗口,如果您的目标主题为指标主题,建议该参数的大小不超过30分钟,否则可能转指标失败。 ProcessTimeWindow *string `json:"ProcessTimeWindow,omitnil" name:"ProcessTimeWindow"` // 执行延迟(秒) ProcessDelay *int64 `json:"ProcessDelay,omitnil" name:"ProcessDelay"` // 源topicId的地域信息 SrcTopicRegion *string `json:"SrcTopicRegion,omitnil" name:"SrcTopicRegion"` // 调度结束时间,当ProcessType=2时为必传字段, Unix时间戳,单位ms ProcessEndTime *uint64 `json:"ProcessEndTime,omitnil" name:"ProcessEndTime"` // 查询语法规则。 默认值为0。0:Lucene语法,1:CQL语法 SyntaxRule *uint64 `json:"SyntaxRule,omitnil" name:"SyntaxRule"` }
func NewCreateScheduledSqlRequest ¶
func NewCreateScheduledSqlRequest() (request *CreateScheduledSqlRequest)
func (*CreateScheduledSqlRequest) FromJsonString ¶
func (r *CreateScheduledSqlRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateScheduledSqlRequest) ToJsonString ¶
func (r *CreateScheduledSqlRequest) ToJsonString() string
type CreateScheduledSqlRequestParams ¶
type CreateScheduledSqlRequestParams struct { // 源日志主题 SrcTopicId *string `json:"SrcTopicId,omitnil" name:"SrcTopicId"` // 任务名称 Name *string `json:"Name,omitnil" name:"Name"` // 任务启动状态. 1开启, 2关闭 EnableFlag *int64 `json:"EnableFlag,omitnil" name:"EnableFlag"` // 定时SQL分析目标日志主题 DstResource *ScheduledSqlResouceInfo `json:"DstResource,omitnil" name:"DstResource"` // 查询语句 ScheduledSqlContent *string `json:"ScheduledSqlContent,omitnil" name:"ScheduledSqlContent"` // 调度开始时间,Unix时间戳,单位ms ProcessStartTime *uint64 `json:"ProcessStartTime,omitnil" name:"ProcessStartTime"` // 调度类型,1:持续运行 2:指定时间范围 ProcessType *int64 `json:"ProcessType,omitnil" name:"ProcessType"` // 调度周期(分钟) ProcessPeriod *int64 `json:"ProcessPeriod,omitnil" name:"ProcessPeriod"` // 单次查询的时间窗口,如果您的目标主题为指标主题,建议该参数的大小不超过30分钟,否则可能转指标失败。 ProcessTimeWindow *string `json:"ProcessTimeWindow,omitnil" name:"ProcessTimeWindow"` // 执行延迟(秒) ProcessDelay *int64 `json:"ProcessDelay,omitnil" name:"ProcessDelay"` // 源topicId的地域信息 SrcTopicRegion *string `json:"SrcTopicRegion,omitnil" name:"SrcTopicRegion"` // 调度结束时间,当ProcessType=2时为必传字段, Unix时间戳,单位ms ProcessEndTime *uint64 `json:"ProcessEndTime,omitnil" name:"ProcessEndTime"` // 查询语法规则。 默认值为0。0:Lucene语法,1:CQL语法 SyntaxRule *uint64 `json:"SyntaxRule,omitnil" name:"SyntaxRule"` }
Predefined struct for user
type CreateScheduledSqlResponse ¶
type CreateScheduledSqlResponse struct { *tchttp.BaseResponse Response *CreateScheduledSqlResponseParams `json:"Response"` }
func NewCreateScheduledSqlResponse ¶
func NewCreateScheduledSqlResponse() (response *CreateScheduledSqlResponse)
func (*CreateScheduledSqlResponse) FromJsonString ¶
func (r *CreateScheduledSqlResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateScheduledSqlResponse) ToJsonString ¶
func (r *CreateScheduledSqlResponse) ToJsonString() string
type CreateScheduledSqlResponseParams ¶
type CreateScheduledSqlResponseParams struct { // 任务id TaskId *string `json:"TaskId,omitnil" name:"TaskId"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type CreateShipperRequest ¶
type CreateShipperRequest struct { *tchttp.BaseRequest // 创建的投递规则所属的日志主题ID TopicId *string `json:"TopicId,omitnil" name:"TopicId"` // 创建的投递规则投递的bucket Bucket *string `json:"Bucket,omitnil" name:"Bucket"` // 创建的投递规则投递目录的前缀 Prefix *string `json:"Prefix,omitnil" name:"Prefix"` // 投递规则的名字 ShipperName *string `json:"ShipperName,omitnil" name:"ShipperName"` // 投递的时间间隔,单位 秒,默认300,范围 300-900 Interval *uint64 `json:"Interval,omitnil" name:"Interval"` // 投递的文件的最大值,单位 MB,默认256,范围 5-256 MaxSize *uint64 `json:"MaxSize,omitnil" name:"MaxSize"` // 投递日志的过滤规则,匹配的日志进行投递,各rule之间是and关系,最多5个,数组为空则表示不过滤而全部投递 FilterRules []*FilterRuleInfo `json:"FilterRules,omitnil" name:"FilterRules"` // 投递日志的分区规则,支持strftime的时间格式表示 Partition *string `json:"Partition,omitnil" name:"Partition"` // 投递日志的压缩配置 Compress *CompressInfo `json:"Compress,omitnil" name:"Compress"` // 投递日志的内容格式配置 Content *ContentInfo `json:"Content,omitnil" name:"Content"` // 投递文件命名配置,0:随机数命名,1:投递时间命名,默认0(随机数命名) FilenameMode *uint64 `json:"FilenameMode,omitnil" name:"FilenameMode"` // 投递数据范围的开始时间点,不能超出日志主题的生命周期起点。如果用户不填写,默认为用户新建投递任务的时间。 StartTime *int64 `json:"StartTime,omitnil" name:"StartTime"` // 投递数据范围的结束时间点,不能填写未来时间。如果用户不填写,默认为持续投递,即无限。 EndTime *int64 `json:"EndTime,omitnil" name:"EndTime"` // cos桶存储类型 StorageType *string `json:"StorageType,omitnil" name:"StorageType"` }
func NewCreateShipperRequest ¶
func NewCreateShipperRequest() (request *CreateShipperRequest)
func (*CreateShipperRequest) FromJsonString ¶
func (r *CreateShipperRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateShipperRequest) ToJsonString ¶
func (r *CreateShipperRequest) ToJsonString() string
type CreateShipperRequestParams ¶
type CreateShipperRequestParams struct { // 创建的投递规则所属的日志主题ID TopicId *string `json:"TopicId,omitnil" name:"TopicId"` // 创建的投递规则投递的bucket Bucket *string `json:"Bucket,omitnil" name:"Bucket"` // 创建的投递规则投递目录的前缀 Prefix *string `json:"Prefix,omitnil" name:"Prefix"` // 投递规则的名字 ShipperName *string `json:"ShipperName,omitnil" name:"ShipperName"` // 投递的时间间隔,单位 秒,默认300,范围 300-900 Interval *uint64 `json:"Interval,omitnil" name:"Interval"` // 投递的文件的最大值,单位 MB,默认256,范围 5-256 MaxSize *uint64 `json:"MaxSize,omitnil" name:"MaxSize"` // 投递日志的过滤规则,匹配的日志进行投递,各rule之间是and关系,最多5个,数组为空则表示不过滤而全部投递 FilterRules []*FilterRuleInfo `json:"FilterRules,omitnil" name:"FilterRules"` // 投递日志的分区规则,支持strftime的时间格式表示 Partition *string `json:"Partition,omitnil" name:"Partition"` // 投递日志的压缩配置 Compress *CompressInfo `json:"Compress,omitnil" name:"Compress"` // 投递日志的内容格式配置 Content *ContentInfo `json:"Content,omitnil" name:"Content"` // 投递文件命名配置,0:随机数命名,1:投递时间命名,默认0(随机数命名) FilenameMode *uint64 `json:"FilenameMode,omitnil" name:"FilenameMode"` // 投递数据范围的开始时间点,不能超出日志主题的生命周期起点。如果用户不填写,默认为用户新建投递任务的时间。 StartTime *int64 `json:"StartTime,omitnil" name:"StartTime"` // 投递数据范围的结束时间点,不能填写未来时间。如果用户不填写,默认为持续投递,即无限。 EndTime *int64 `json:"EndTime,omitnil" name:"EndTime"` // cos桶存储类型 StorageType *string `json:"StorageType,omitnil" name:"StorageType"` }
Predefined struct for user
type CreateShipperResponse ¶
type CreateShipperResponse struct { *tchttp.BaseResponse Response *CreateShipperResponseParams `json:"Response"` }
func NewCreateShipperResponse ¶
func NewCreateShipperResponse() (response *CreateShipperResponse)
func (*CreateShipperResponse) FromJsonString ¶
func (r *CreateShipperResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateShipperResponse) ToJsonString ¶
func (r *CreateShipperResponse) ToJsonString() string
type CreateShipperResponseParams ¶
type CreateShipperResponseParams struct { // 投递任务ID ShipperId *string `json:"ShipperId,omitnil" name:"ShipperId"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type CreateTopicRequest ¶
type CreateTopicRequest struct { *tchttp.BaseRequest // 日志集ID LogsetId *string `json:"LogsetId,omitnil" name:"LogsetId"` // 日志主题名称 TopicName *string `json:"TopicName,omitnil" name:"TopicName"` // 日志主题分区个数。默认创建1个,最大支持创建10个分区。 PartitionCount *int64 `json:"PartitionCount,omitnil" name:"PartitionCount"` // 标签描述列表,通过指定该参数可以同时绑定标签到相应的日志主题。最大支持10个标签键值对,同一个资源只能绑定到同一个标签键下。 Tags []*Tag `json:"Tags,omitnil" name:"Tags"` // 是否开启自动分裂,默认值为true AutoSplit *bool `json:"AutoSplit,omitnil" name:"AutoSplit"` // 开启自动分裂后,每个主题能够允许的最大分区数,默认值为50 MaxSplitPartitions *int64 `json:"MaxSplitPartitions,omitnil" name:"MaxSplitPartitions"` // 日志主题的存储类型,可选值 hot(标准存储),cold(低频存储);默认为hot。 StorageType *string `json:"StorageType,omitnil" name:"StorageType"` // 生命周期,单位天,标准存储取值范围1\~3600,低频存储取值范围7\~3600天。取值为3640时代表永久保存 Period *int64 `json:"Period,omitnil" name:"Period"` // 日志主题描述 Describes *string `json:"Describes,omitnil" name:"Describes"` // 0:关闭日志沉降。 // 非0:开启日志沉降后标准存储的天数。HotPeriod需要大于等于7,且小于Period。仅在StorageType为 hot 时生效 HotPeriod *uint64 `json:"HotPeriod,omitnil" name:"HotPeriod"` // 免鉴权开关; false: 关闭 true: 开启 IsWebTracking *bool `json:"IsWebTracking,omitnil" name:"IsWebTracking"` }
func NewCreateTopicRequest ¶
func NewCreateTopicRequest() (request *CreateTopicRequest)
func (*CreateTopicRequest) FromJsonString ¶
func (r *CreateTopicRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateTopicRequest) ToJsonString ¶
func (r *CreateTopicRequest) ToJsonString() string
type CreateTopicRequestParams ¶
type CreateTopicRequestParams struct { // 日志集ID LogsetId *string `json:"LogsetId,omitnil" name:"LogsetId"` // 日志主题名称 TopicName *string `json:"TopicName,omitnil" name:"TopicName"` // 日志主题分区个数。默认创建1个,最大支持创建10个分区。 PartitionCount *int64 `json:"PartitionCount,omitnil" name:"PartitionCount"` // 标签描述列表,通过指定该参数可以同时绑定标签到相应的日志主题。最大支持10个标签键值对,同一个资源只能绑定到同一个标签键下。 Tags []*Tag `json:"Tags,omitnil" name:"Tags"` // 是否开启自动分裂,默认值为true AutoSplit *bool `json:"AutoSplit,omitnil" name:"AutoSplit"` // 开启自动分裂后,每个主题能够允许的最大分区数,默认值为50 MaxSplitPartitions *int64 `json:"MaxSplitPartitions,omitnil" name:"MaxSplitPartitions"` // 日志主题的存储类型,可选值 hot(标准存储),cold(低频存储);默认为hot。 StorageType *string `json:"StorageType,omitnil" name:"StorageType"` // 生命周期,单位天,标准存储取值范围1\~3600,低频存储取值范围7\~3600天。取值为3640时代表永久保存 Period *int64 `json:"Period,omitnil" name:"Period"` // 日志主题描述 Describes *string `json:"Describes,omitnil" name:"Describes"` // 0:关闭日志沉降。 // 非0:开启日志沉降后标准存储的天数。HotPeriod需要大于等于7,且小于Period。仅在StorageType为 hot 时生效 HotPeriod *uint64 `json:"HotPeriod,omitnil" name:"HotPeriod"` // 免鉴权开关; false: 关闭 true: 开启 IsWebTracking *bool `json:"IsWebTracking,omitnil" name:"IsWebTracking"` }
Predefined struct for user
type CreateTopicResponse ¶
type CreateTopicResponse struct { *tchttp.BaseResponse Response *CreateTopicResponseParams `json:"Response"` }
func NewCreateTopicResponse ¶
func NewCreateTopicResponse() (response *CreateTopicResponse)
func (*CreateTopicResponse) FromJsonString ¶
func (r *CreateTopicResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateTopicResponse) ToJsonString ¶
func (r *CreateTopicResponse) ToJsonString() string
type CreateTopicResponseParams ¶
type CreateTopicResponseParams struct { // 日志主题ID TopicId *string `json:"TopicId,omitnil" name:"TopicId"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type CsvInfo ¶
type CsvInfo struct { // csv首行是否打印key PrintKey *bool `json:"PrintKey,omitnil" name:"PrintKey"` // 每列key的名字 // 注意:此字段可能返回 null,表示取不到有效值。 Keys []*string `json:"Keys,omitnil" name:"Keys"` // 各字段间的分隔符 Delimiter *string `json:"Delimiter,omitnil" name:"Delimiter"` // 若字段内容中包含分隔符,则使用该转义符包裹改字段,只能填写单引号、双引号、空字符串 EscapeChar *string `json:"EscapeChar,omitnil" name:"EscapeChar"` // 对于上面指定的不存在字段使用该内容填充 NonExistingField *string `json:"NonExistingField,omitnil" name:"NonExistingField"` }
type DashboardInfo ¶
type DashboardInfo struct { // 仪表盘id DashboardId *string `json:"DashboardId,omitnil" name:"DashboardId"` // 仪表盘名字 DashboardName *string `json:"DashboardName,omitnil" name:"DashboardName"` // 仪表盘数据 // 注意:此字段可能返回 null,表示取不到有效值。 Data *string `json:"Data,omitnil" name:"Data"` // 创建仪表盘的时间 CreateTime *string `json:"CreateTime,omitnil" name:"CreateTime"` // AssumerUin非空则表示创建该日志主题的服务方Uin // 注意:此字段可能返回 null,表示取不到有效值。 AssumerUin *uint64 `json:"AssumerUin,omitnil" name:"AssumerUin"` // RoleName非空则表示创建该日志主题的服务方使用的角色 // 注意:此字段可能返回 null,表示取不到有效值。 RoleName *string `json:"RoleName,omitnil" name:"RoleName"` // AssumerName非空则表示创建该日志主题的服务方名称 // 注意:此字段可能返回 null,表示取不到有效值。 AssumerName *string `json:"AssumerName,omitnil" name:"AssumerName"` // 日志主题绑定的标签信息 // 注意:此字段可能返回 null,表示取不到有效值。 Tags []*Tag `json:"Tags,omitnil" name:"Tags"` // 仪表盘所在地域: 为了兼容老的地域。 // 注意:此字段可能返回 null,表示取不到有效值。 DashboardRegion *string `json:"DashboardRegion,omitnil" name:"DashboardRegion"` // 修改仪表盘的时间 // 注意:此字段可能返回 null,表示取不到有效值。 UpdateTime *string `json:"UpdateTime,omitnil" name:"UpdateTime"` // 仪表盘对应的topic相关信息 // 注意:此字段可能返回 null,表示取不到有效值。 DashboardTopicInfos []*DashboardTopicInfo `json:"DashboardTopicInfos,omitnil" name:"DashboardTopicInfos"` }
type DashboardTopicInfo ¶
type DataTransformTaskInfo ¶
type DataTransformTaskInfo struct { // 数据加工任务名称 Name *string `json:"Name,omitnil" name:"Name"` // 数据加工任务id TaskId *string `json:"TaskId,omitnil" name:"TaskId"` // 任务启用状态,默认为1,正常开启, 2关闭 EnableFlag *int64 `json:"EnableFlag,omitnil" name:"EnableFlag"` // 加工任务类型,1: DSL, 2:SQL Type *int64 `json:"Type,omitnil" name:"Type"` // 源日志主题 SrcTopicId *string `json:"SrcTopicId,omitnil" name:"SrcTopicId"` // 当前加工任务状态(1准备中/2运行中/3停止中/4已停止) Status *int64 `json:"Status,omitnil" name:"Status"` // 加工任务创建时间 CreateTime *string `json:"CreateTime,omitnil" name:"CreateTime"` // 最近修改时间 UpdateTime *string `json:"UpdateTime,omitnil" name:"UpdateTime"` // 最后启用时间,如果需要重建集群,修改该时间 LastEnableTime *string `json:"LastEnableTime,omitnil" name:"LastEnableTime"` // 日志主题名称 SrcTopicName *string `json:"SrcTopicName,omitnil" name:"SrcTopicName"` // 日志集id LogsetId *string `json:"LogsetId,omitnil" name:"LogsetId"` // 加工任务目的topic_id以及别名 DstResources []*DataTransformResouceInfo `json:"DstResources,omitnil" name:"DstResources"` // 加工逻辑函数 EtlContent *string `json:"EtlContent,omitnil" name:"EtlContent"` }
type DeleteAlarmNoticeRequest ¶
type DeleteAlarmNoticeRequest struct { *tchttp.BaseRequest // 通知渠道组ID AlarmNoticeId *string `json:"AlarmNoticeId,omitnil" name:"AlarmNoticeId"` }
func NewDeleteAlarmNoticeRequest ¶
func NewDeleteAlarmNoticeRequest() (request *DeleteAlarmNoticeRequest)
func (*DeleteAlarmNoticeRequest) FromJsonString ¶
func (r *DeleteAlarmNoticeRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteAlarmNoticeRequest) ToJsonString ¶
func (r *DeleteAlarmNoticeRequest) ToJsonString() string
type DeleteAlarmNoticeRequestParams ¶
type DeleteAlarmNoticeRequestParams struct { // 通知渠道组ID AlarmNoticeId *string `json:"AlarmNoticeId,omitnil" name:"AlarmNoticeId"` }
Predefined struct for user
type DeleteAlarmNoticeResponse ¶
type DeleteAlarmNoticeResponse struct { *tchttp.BaseResponse Response *DeleteAlarmNoticeResponseParams `json:"Response"` }
func NewDeleteAlarmNoticeResponse ¶
func NewDeleteAlarmNoticeResponse() (response *DeleteAlarmNoticeResponse)
func (*DeleteAlarmNoticeResponse) FromJsonString ¶
func (r *DeleteAlarmNoticeResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteAlarmNoticeResponse) ToJsonString ¶
func (r *DeleteAlarmNoticeResponse) ToJsonString() string
type DeleteAlarmNoticeResponseParams ¶
type DeleteAlarmNoticeResponseParams struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DeleteAlarmRequest ¶
type DeleteAlarmRequest struct { *tchttp.BaseRequest // 告警策略ID。 AlarmId *string `json:"AlarmId,omitnil" name:"AlarmId"` }
func NewDeleteAlarmRequest ¶
func NewDeleteAlarmRequest() (request *DeleteAlarmRequest)
func (*DeleteAlarmRequest) FromJsonString ¶
func (r *DeleteAlarmRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteAlarmRequest) ToJsonString ¶
func (r *DeleteAlarmRequest) ToJsonString() string
type DeleteAlarmRequestParams ¶
type DeleteAlarmRequestParams struct { // 告警策略ID。 AlarmId *string `json:"AlarmId,omitnil" name:"AlarmId"` }
Predefined struct for user
type DeleteAlarmResponse ¶
type DeleteAlarmResponse struct { *tchttp.BaseResponse Response *DeleteAlarmResponseParams `json:"Response"` }
func NewDeleteAlarmResponse ¶
func NewDeleteAlarmResponse() (response *DeleteAlarmResponse)
func (*DeleteAlarmResponse) FromJsonString ¶
func (r *DeleteAlarmResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteAlarmResponse) ToJsonString ¶
func (r *DeleteAlarmResponse) ToJsonString() string
type DeleteAlarmResponseParams ¶
type DeleteAlarmResponseParams struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DeleteAlarmShieldRequest ¶
type DeleteAlarmShieldRequest struct { *tchttp.BaseRequest // 屏蔽规则id。 TaskId *string `json:"TaskId,omitnil" name:"TaskId"` // 通知渠道组id。 AlarmNoticeId *string `json:"AlarmNoticeId,omitnil" name:"AlarmNoticeId"` }
func NewDeleteAlarmShieldRequest ¶
func NewDeleteAlarmShieldRequest() (request *DeleteAlarmShieldRequest)
func (*DeleteAlarmShieldRequest) FromJsonString ¶
func (r *DeleteAlarmShieldRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteAlarmShieldRequest) ToJsonString ¶
func (r *DeleteAlarmShieldRequest) ToJsonString() string
type DeleteAlarmShieldRequestParams ¶
type DeleteAlarmShieldRequestParams struct { // 屏蔽规则id。 TaskId *string `json:"TaskId,omitnil" name:"TaskId"` // 通知渠道组id。 AlarmNoticeId *string `json:"AlarmNoticeId,omitnil" name:"AlarmNoticeId"` }
Predefined struct for user
type DeleteAlarmShieldResponse ¶
type DeleteAlarmShieldResponse struct { *tchttp.BaseResponse Response *DeleteAlarmShieldResponseParams `json:"Response"` }
func NewDeleteAlarmShieldResponse ¶
func NewDeleteAlarmShieldResponse() (response *DeleteAlarmShieldResponse)
func (*DeleteAlarmShieldResponse) FromJsonString ¶
func (r *DeleteAlarmShieldResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteAlarmShieldResponse) ToJsonString ¶
func (r *DeleteAlarmShieldResponse) ToJsonString() string
type DeleteAlarmShieldResponseParams ¶
type DeleteAlarmShieldResponseParams struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DeleteConfigExtraRequest ¶
type DeleteConfigExtraRequest struct { *tchttp.BaseRequest // 采集规则扩展配置ID ConfigExtraId *string `json:"ConfigExtraId,omitnil" name:"ConfigExtraId"` }
func NewDeleteConfigExtraRequest ¶
func NewDeleteConfigExtraRequest() (request *DeleteConfigExtraRequest)
func (*DeleteConfigExtraRequest) FromJsonString ¶
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 ¶
func (r *DeleteConfigExtraRequest) ToJsonString() string
type DeleteConfigExtraRequestParams ¶
type DeleteConfigExtraRequestParams struct { // 采集规则扩展配置ID ConfigExtraId *string `json:"ConfigExtraId,omitnil" name:"ConfigExtraId"` }
Predefined struct for user
type DeleteConfigExtraResponse ¶
type DeleteConfigExtraResponse struct { *tchttp.BaseResponse Response *DeleteConfigExtraResponseParams `json:"Response"` }
func NewDeleteConfigExtraResponse ¶
func NewDeleteConfigExtraResponse() (response *DeleteConfigExtraResponse)
func (*DeleteConfigExtraResponse) FromJsonString ¶
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 ¶
func (r *DeleteConfigExtraResponse) ToJsonString() string
type DeleteConfigExtraResponseParams ¶
type DeleteConfigExtraResponseParams struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DeleteConfigFromMachineGroupRequest ¶
type DeleteConfigFromMachineGroupRequest struct { *tchttp.BaseRequest // 机器组ID GroupId *string `json:"GroupId,omitnil" name:"GroupId"` // 采集配置ID ConfigId *string `json:"ConfigId,omitnil" name:"ConfigId"` }
func NewDeleteConfigFromMachineGroupRequest ¶
func NewDeleteConfigFromMachineGroupRequest() (request *DeleteConfigFromMachineGroupRequest)
func (*DeleteConfigFromMachineGroupRequest) FromJsonString ¶
func (r *DeleteConfigFromMachineGroupRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteConfigFromMachineGroupRequest) ToJsonString ¶
func (r *DeleteConfigFromMachineGroupRequest) ToJsonString() string
type DeleteConfigFromMachineGroupRequestParams ¶
type DeleteConfigFromMachineGroupRequestParams struct { // 机器组ID GroupId *string `json:"GroupId,omitnil" name:"GroupId"` // 采集配置ID ConfigId *string `json:"ConfigId,omitnil" name:"ConfigId"` }
Predefined struct for user
type DeleteConfigFromMachineGroupResponse ¶
type DeleteConfigFromMachineGroupResponse struct { *tchttp.BaseResponse Response *DeleteConfigFromMachineGroupResponseParams `json:"Response"` }
func NewDeleteConfigFromMachineGroupResponse ¶
func NewDeleteConfigFromMachineGroupResponse() (response *DeleteConfigFromMachineGroupResponse)
func (*DeleteConfigFromMachineGroupResponse) FromJsonString ¶
func (r *DeleteConfigFromMachineGroupResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteConfigFromMachineGroupResponse) ToJsonString ¶
func (r *DeleteConfigFromMachineGroupResponse) ToJsonString() string
type DeleteConfigFromMachineGroupResponseParams ¶
type DeleteConfigFromMachineGroupResponseParams struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DeleteConfigRequest ¶
type DeleteConfigRequest struct { *tchttp.BaseRequest // 采集规则配置ID ConfigId *string `json:"ConfigId,omitnil" name:"ConfigId"` }
func NewDeleteConfigRequest ¶
func NewDeleteConfigRequest() (request *DeleteConfigRequest)
func (*DeleteConfigRequest) FromJsonString ¶
func (r *DeleteConfigRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteConfigRequest) ToJsonString ¶
func (r *DeleteConfigRequest) ToJsonString() string
type DeleteConfigRequestParams ¶
type DeleteConfigRequestParams struct { // 采集规则配置ID ConfigId *string `json:"ConfigId,omitnil" name:"ConfigId"` }
Predefined struct for user
type DeleteConfigResponse ¶
type DeleteConfigResponse struct { *tchttp.BaseResponse Response *DeleteConfigResponseParams `json:"Response"` }
func NewDeleteConfigResponse ¶
func NewDeleteConfigResponse() (response *DeleteConfigResponse)
func (*DeleteConfigResponse) FromJsonString ¶
func (r *DeleteConfigResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteConfigResponse) ToJsonString ¶
func (r *DeleteConfigResponse) ToJsonString() string
type DeleteConfigResponseParams ¶
type DeleteConfigResponseParams struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DeleteConsumerRequest ¶
type DeleteConsumerRequest struct { *tchttp.BaseRequest // 投递任务绑定的日志主题 ID TopicId *string `json:"TopicId,omitnil" name:"TopicId"` }
func NewDeleteConsumerRequest ¶
func NewDeleteConsumerRequest() (request *DeleteConsumerRequest)
func (*DeleteConsumerRequest) FromJsonString ¶
func (r *DeleteConsumerRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteConsumerRequest) ToJsonString ¶
func (r *DeleteConsumerRequest) ToJsonString() string
type DeleteConsumerRequestParams ¶
type DeleteConsumerRequestParams struct { // 投递任务绑定的日志主题 ID TopicId *string `json:"TopicId,omitnil" name:"TopicId"` }
Predefined struct for user
type DeleteConsumerResponse ¶
type DeleteConsumerResponse struct { *tchttp.BaseResponse Response *DeleteConsumerResponseParams `json:"Response"` }
func NewDeleteConsumerResponse ¶
func NewDeleteConsumerResponse() (response *DeleteConsumerResponse)
func (*DeleteConsumerResponse) FromJsonString ¶
func (r *DeleteConsumerResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteConsumerResponse) ToJsonString ¶
func (r *DeleteConsumerResponse) ToJsonString() string
type DeleteConsumerResponseParams ¶
type DeleteConsumerResponseParams struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DeleteDataTransformRequest ¶
type DeleteDataTransformRequest struct { *tchttp.BaseRequest // 数据加工任务id TaskId *string `json:"TaskId,omitnil" name:"TaskId"` }
func NewDeleteDataTransformRequest ¶
func NewDeleteDataTransformRequest() (request *DeleteDataTransformRequest)
func (*DeleteDataTransformRequest) FromJsonString ¶
func (r *DeleteDataTransformRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteDataTransformRequest) ToJsonString ¶
func (r *DeleteDataTransformRequest) ToJsonString() string
type DeleteDataTransformRequestParams ¶
type DeleteDataTransformRequestParams struct { // 数据加工任务id TaskId *string `json:"TaskId,omitnil" name:"TaskId"` }
Predefined struct for user
type DeleteDataTransformResponse ¶
type DeleteDataTransformResponse struct { *tchttp.BaseResponse Response *DeleteDataTransformResponseParams `json:"Response"` }
func NewDeleteDataTransformResponse ¶
func NewDeleteDataTransformResponse() (response *DeleteDataTransformResponse)
func (*DeleteDataTransformResponse) FromJsonString ¶
func (r *DeleteDataTransformResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteDataTransformResponse) ToJsonString ¶
func (r *DeleteDataTransformResponse) ToJsonString() string
type DeleteDataTransformResponseParams ¶
type DeleteDataTransformResponseParams struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DeleteExportRequest ¶
type DeleteExportRequest struct { *tchttp.BaseRequest // 日志导出ID ExportId *string `json:"ExportId,omitnil" name:"ExportId"` }
func NewDeleteExportRequest ¶
func NewDeleteExportRequest() (request *DeleteExportRequest)
func (*DeleteExportRequest) FromJsonString ¶
func (r *DeleteExportRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteExportRequest) ToJsonString ¶
func (r *DeleteExportRequest) ToJsonString() string
type DeleteExportRequestParams ¶
type DeleteExportRequestParams struct { // 日志导出ID ExportId *string `json:"ExportId,omitnil" name:"ExportId"` }
Predefined struct for user
type DeleteExportResponse ¶
type DeleteExportResponse struct { *tchttp.BaseResponse Response *DeleteExportResponseParams `json:"Response"` }
func NewDeleteExportResponse ¶
func NewDeleteExportResponse() (response *DeleteExportResponse)
func (*DeleteExportResponse) FromJsonString ¶
func (r *DeleteExportResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteExportResponse) ToJsonString ¶
func (r *DeleteExportResponse) ToJsonString() string
type DeleteExportResponseParams ¶
type DeleteExportResponseParams struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DeleteIndexRequest ¶
type DeleteIndexRequest struct { *tchttp.BaseRequest // 日志主题ID TopicId *string `json:"TopicId,omitnil" name:"TopicId"` }
func NewDeleteIndexRequest ¶
func NewDeleteIndexRequest() (request *DeleteIndexRequest)
func (*DeleteIndexRequest) FromJsonString ¶
func (r *DeleteIndexRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteIndexRequest) ToJsonString ¶
func (r *DeleteIndexRequest) ToJsonString() string
type DeleteIndexRequestParams ¶
type DeleteIndexRequestParams struct { // 日志主题ID TopicId *string `json:"TopicId,omitnil" name:"TopicId"` }
Predefined struct for user
type DeleteIndexResponse ¶
type DeleteIndexResponse struct { *tchttp.BaseResponse Response *DeleteIndexResponseParams `json:"Response"` }
func NewDeleteIndexResponse ¶
func NewDeleteIndexResponse() (response *DeleteIndexResponse)
func (*DeleteIndexResponse) FromJsonString ¶
func (r *DeleteIndexResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteIndexResponse) ToJsonString ¶
func (r *DeleteIndexResponse) ToJsonString() string
type DeleteIndexResponseParams ¶
type DeleteIndexResponseParams struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DeleteKafkaRechargeRequest ¶
type DeleteKafkaRechargeRequest struct { *tchttp.BaseRequest // Kafka导入配置ID Id *string `json:"Id,omitnil" name:"Id"` // 导入CLS目标topic ID TopicId *string `json:"TopicId,omitnil" name:"TopicId"` }
func NewDeleteKafkaRechargeRequest ¶
func NewDeleteKafkaRechargeRequest() (request *DeleteKafkaRechargeRequest)
func (*DeleteKafkaRechargeRequest) FromJsonString ¶
func (r *DeleteKafkaRechargeRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteKafkaRechargeRequest) ToJsonString ¶
func (r *DeleteKafkaRechargeRequest) ToJsonString() string
type DeleteKafkaRechargeRequestParams ¶
type DeleteKafkaRechargeRequestParams struct { // Kafka导入配置ID Id *string `json:"Id,omitnil" name:"Id"` // 导入CLS目标topic ID TopicId *string `json:"TopicId,omitnil" name:"TopicId"` }
Predefined struct for user
type DeleteKafkaRechargeResponse ¶
type DeleteKafkaRechargeResponse struct { *tchttp.BaseResponse Response *DeleteKafkaRechargeResponseParams `json:"Response"` }
func NewDeleteKafkaRechargeResponse ¶
func NewDeleteKafkaRechargeResponse() (response *DeleteKafkaRechargeResponse)
func (*DeleteKafkaRechargeResponse) FromJsonString ¶
func (r *DeleteKafkaRechargeResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteKafkaRechargeResponse) ToJsonString ¶
func (r *DeleteKafkaRechargeResponse) ToJsonString() string
type DeleteKafkaRechargeResponseParams ¶
type DeleteKafkaRechargeResponseParams struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DeleteLogsetRequest ¶
type DeleteLogsetRequest struct { *tchttp.BaseRequest // 日志集ID LogsetId *string `json:"LogsetId,omitnil" name:"LogsetId"` }
func NewDeleteLogsetRequest ¶
func NewDeleteLogsetRequest() (request *DeleteLogsetRequest)
func (*DeleteLogsetRequest) FromJsonString ¶
func (r *DeleteLogsetRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteLogsetRequest) ToJsonString ¶
func (r *DeleteLogsetRequest) ToJsonString() string
type DeleteLogsetRequestParams ¶
type DeleteLogsetRequestParams struct { // 日志集ID LogsetId *string `json:"LogsetId,omitnil" name:"LogsetId"` }
Predefined struct for user
type DeleteLogsetResponse ¶
type DeleteLogsetResponse struct { *tchttp.BaseResponse Response *DeleteLogsetResponseParams `json:"Response"` }
func NewDeleteLogsetResponse ¶
func NewDeleteLogsetResponse() (response *DeleteLogsetResponse)
func (*DeleteLogsetResponse) FromJsonString ¶
func (r *DeleteLogsetResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteLogsetResponse) ToJsonString ¶
func (r *DeleteLogsetResponse) ToJsonString() string
type DeleteLogsetResponseParams ¶
type DeleteLogsetResponseParams struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DeleteMachineGroupInfoRequest ¶
type DeleteMachineGroupInfoRequest struct { *tchttp.BaseRequest // 机器组ID GroupId *string `json:"GroupId,omitnil" name:"GroupId"` // 机器组类型 // 目前type支持 ip 和 label MachineGroupType *MachineGroupTypeInfo `json:"MachineGroupType,omitnil" name:"MachineGroupType"` }
func NewDeleteMachineGroupInfoRequest ¶
func NewDeleteMachineGroupInfoRequest() (request *DeleteMachineGroupInfoRequest)
func (*DeleteMachineGroupInfoRequest) FromJsonString ¶
func (r *DeleteMachineGroupInfoRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteMachineGroupInfoRequest) ToJsonString ¶
func (r *DeleteMachineGroupInfoRequest) ToJsonString() string
type DeleteMachineGroupInfoRequestParams ¶
type DeleteMachineGroupInfoRequestParams struct { // 机器组ID GroupId *string `json:"GroupId,omitnil" name:"GroupId"` // 机器组类型 // 目前type支持 ip 和 label MachineGroupType *MachineGroupTypeInfo `json:"MachineGroupType,omitnil" name:"MachineGroupType"` }
Predefined struct for user
type DeleteMachineGroupInfoResponse ¶
type DeleteMachineGroupInfoResponse struct { *tchttp.BaseResponse Response *DeleteMachineGroupInfoResponseParams `json:"Response"` }
func NewDeleteMachineGroupInfoResponse ¶
func NewDeleteMachineGroupInfoResponse() (response *DeleteMachineGroupInfoResponse)
func (*DeleteMachineGroupInfoResponse) FromJsonString ¶
func (r *DeleteMachineGroupInfoResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteMachineGroupInfoResponse) ToJsonString ¶
func (r *DeleteMachineGroupInfoResponse) ToJsonString() string
type DeleteMachineGroupInfoResponseParams ¶
type DeleteMachineGroupInfoResponseParams struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DeleteMachineGroupRequest ¶
type DeleteMachineGroupRequest struct { *tchttp.BaseRequest // 机器组ID GroupId *string `json:"GroupId,omitnil" name:"GroupId"` }
func NewDeleteMachineGroupRequest ¶
func NewDeleteMachineGroupRequest() (request *DeleteMachineGroupRequest)
func (*DeleteMachineGroupRequest) FromJsonString ¶
func (r *DeleteMachineGroupRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteMachineGroupRequest) ToJsonString ¶
func (r *DeleteMachineGroupRequest) ToJsonString() string
type DeleteMachineGroupRequestParams ¶
type DeleteMachineGroupRequestParams struct { // 机器组ID GroupId *string `json:"GroupId,omitnil" name:"GroupId"` }
Predefined struct for user
type DeleteMachineGroupResponse ¶
type DeleteMachineGroupResponse struct { *tchttp.BaseResponse Response *DeleteMachineGroupResponseParams `json:"Response"` }
func NewDeleteMachineGroupResponse ¶
func NewDeleteMachineGroupResponse() (response *DeleteMachineGroupResponse)
func (*DeleteMachineGroupResponse) FromJsonString ¶
func (r *DeleteMachineGroupResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteMachineGroupResponse) ToJsonString ¶
func (r *DeleteMachineGroupResponse) ToJsonString() string
type DeleteMachineGroupResponseParams ¶
type DeleteMachineGroupResponseParams struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DeleteScheduledSqlRequest ¶
type DeleteScheduledSqlRequest struct { *tchttp.BaseRequest // 任务ID TaskId *string `json:"TaskId,omitnil" name:"TaskId"` // 源日志主题ID SrcTopicId *string `json:"SrcTopicId,omitnil" name:"SrcTopicId"` }
func NewDeleteScheduledSqlRequest ¶
func NewDeleteScheduledSqlRequest() (request *DeleteScheduledSqlRequest)
func (*DeleteScheduledSqlRequest) FromJsonString ¶
func (r *DeleteScheduledSqlRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteScheduledSqlRequest) ToJsonString ¶
func (r *DeleteScheduledSqlRequest) ToJsonString() string
type DeleteScheduledSqlRequestParams ¶
type DeleteScheduledSqlRequestParams struct { // 任务ID TaskId *string `json:"TaskId,omitnil" name:"TaskId"` // 源日志主题ID SrcTopicId *string `json:"SrcTopicId,omitnil" name:"SrcTopicId"` }
Predefined struct for user
type DeleteScheduledSqlResponse ¶
type DeleteScheduledSqlResponse struct { *tchttp.BaseResponse Response *DeleteScheduledSqlResponseParams `json:"Response"` }
func NewDeleteScheduledSqlResponse ¶
func NewDeleteScheduledSqlResponse() (response *DeleteScheduledSqlResponse)
func (*DeleteScheduledSqlResponse) FromJsonString ¶
func (r *DeleteScheduledSqlResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteScheduledSqlResponse) ToJsonString ¶
func (r *DeleteScheduledSqlResponse) ToJsonString() string
type DeleteScheduledSqlResponseParams ¶
type DeleteScheduledSqlResponseParams struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DeleteShipperRequest ¶
type DeleteShipperRequest struct { *tchttp.BaseRequest // 投递规则ID ShipperId *string `json:"ShipperId,omitnil" name:"ShipperId"` }
func NewDeleteShipperRequest ¶
func NewDeleteShipperRequest() (request *DeleteShipperRequest)
func (*DeleteShipperRequest) FromJsonString ¶
func (r *DeleteShipperRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteShipperRequest) ToJsonString ¶
func (r *DeleteShipperRequest) ToJsonString() string
type DeleteShipperRequestParams ¶
type DeleteShipperRequestParams struct { // 投递规则ID ShipperId *string `json:"ShipperId,omitnil" name:"ShipperId"` }
Predefined struct for user
type DeleteShipperResponse ¶
type DeleteShipperResponse struct { *tchttp.BaseResponse Response *DeleteShipperResponseParams `json:"Response"` }
func NewDeleteShipperResponse ¶
func NewDeleteShipperResponse() (response *DeleteShipperResponse)
func (*DeleteShipperResponse) FromJsonString ¶
func (r *DeleteShipperResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteShipperResponse) ToJsonString ¶
func (r *DeleteShipperResponse) ToJsonString() string
type DeleteShipperResponseParams ¶
type DeleteShipperResponseParams struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DeleteTopicRequest ¶
type DeleteTopicRequest struct { *tchttp.BaseRequest // 日志主题ID TopicId *string `json:"TopicId,omitnil" name:"TopicId"` }
func NewDeleteTopicRequest ¶
func NewDeleteTopicRequest() (request *DeleteTopicRequest)
func (*DeleteTopicRequest) FromJsonString ¶
func (r *DeleteTopicRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteTopicRequest) ToJsonString ¶
func (r *DeleteTopicRequest) ToJsonString() string
type DeleteTopicRequestParams ¶
type DeleteTopicRequestParams struct { // 日志主题ID TopicId *string `json:"TopicId,omitnil" name:"TopicId"` }
Predefined struct for user
type DeleteTopicResponse ¶
type DeleteTopicResponse struct { *tchttp.BaseResponse Response *DeleteTopicResponseParams `json:"Response"` }
func NewDeleteTopicResponse ¶
func NewDeleteTopicResponse() (response *DeleteTopicResponse)
func (*DeleteTopicResponse) FromJsonString ¶
func (r *DeleteTopicResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteTopicResponse) ToJsonString ¶
func (r *DeleteTopicResponse) ToJsonString() string
type DeleteTopicResponseParams ¶
type DeleteTopicResponseParams struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil" 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" name:"Filters"` // 分页的偏移量,默认值为0。 Offset *int64 `json:"Offset,omitnil" name:"Offset"` // 分页单页限制数目,默认值为20,最大值100。 Limit *int64 `json:"Limit,omitnil" name:"Limit"` }
func NewDescribeAlarmNoticesRequest ¶
func NewDescribeAlarmNoticesRequest() (request *DescribeAlarmNoticesRequest)
func (*DescribeAlarmNoticesRequest) FromJsonString ¶
func (r *DescribeAlarmNoticesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeAlarmNoticesRequest) ToJsonString ¶
func (r *DescribeAlarmNoticesRequest) ToJsonString() string
type DescribeAlarmNoticesRequestParams ¶
type DescribeAlarmNoticesRequestParams struct { // <li> name // 按照【通知渠道组名称】进行过滤。 // 类型: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" name:"Filters"` // 分页的偏移量,默认值为0。 Offset *int64 `json:"Offset,omitnil" name:"Offset"` // 分页单页限制数目,默认值为20,最大值100。 Limit *int64 `json:"Limit,omitnil" name:"Limit"` }
Predefined struct for user
type DescribeAlarmNoticesResponse ¶
type DescribeAlarmNoticesResponse struct { *tchttp.BaseResponse Response *DescribeAlarmNoticesResponseParams `json:"Response"` }
func NewDescribeAlarmNoticesResponse ¶
func NewDescribeAlarmNoticesResponse() (response *DescribeAlarmNoticesResponse)
func (*DescribeAlarmNoticesResponse) FromJsonString ¶
func (r *DescribeAlarmNoticesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeAlarmNoticesResponse) ToJsonString ¶
func (r *DescribeAlarmNoticesResponse) ToJsonString() string
type DescribeAlarmNoticesResponseParams ¶
type DescribeAlarmNoticesResponseParams struct { // 告警通知模板列表。 // 注意:此字段可能返回 null,表示取不到有效值。 AlarmNotices []*AlarmNotice `json:"AlarmNotices,omitnil" name:"AlarmNotices"` // 符合条件的告警通知模板总数。 TotalCount *int64 `json:"TotalCount,omitnil" name:"TotalCount"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeAlarmShieldsRequest ¶
type DescribeAlarmShieldsRequest struct { *tchttp.BaseRequest // 通知渠道组id。 AlarmNoticeId *string `json:"AlarmNoticeId,omitnil" name:"AlarmNoticeId"` // - taskId:按照【规则id】进行过滤。类型:String 必选:否 // - status:按照【规则状态】进行过滤。类型:String。 支持 0:暂未生效,1:生效中,2:已失效。 必选:否 // 每次请求的Filters的上限为10,Filter.Values的上限为100。 Filters []*Filter `json:"Filters,omitnil" name:"Filters"` // 分页的偏移量,默认值为0。 Offset *uint64 `json:"Offset,omitnil" name:"Offset"` // 分页单页限制数目,默认值为20,最大值100。 Limit *uint64 `json:"Limit,omitnil" name:"Limit"` }
func NewDescribeAlarmShieldsRequest ¶
func NewDescribeAlarmShieldsRequest() (request *DescribeAlarmShieldsRequest)
func (*DescribeAlarmShieldsRequest) FromJsonString ¶
func (r *DescribeAlarmShieldsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeAlarmShieldsRequest) ToJsonString ¶
func (r *DescribeAlarmShieldsRequest) ToJsonString() string
type DescribeAlarmShieldsRequestParams ¶
type DescribeAlarmShieldsRequestParams struct { // 通知渠道组id。 AlarmNoticeId *string `json:"AlarmNoticeId,omitnil" name:"AlarmNoticeId"` // - taskId:按照【规则id】进行过滤。类型:String 必选:否 // - status:按照【规则状态】进行过滤。类型:String。 支持 0:暂未生效,1:生效中,2:已失效。 必选:否 // 每次请求的Filters的上限为10,Filter.Values的上限为100。 Filters []*Filter `json:"Filters,omitnil" name:"Filters"` // 分页的偏移量,默认值为0。 Offset *uint64 `json:"Offset,omitnil" name:"Offset"` // 分页单页限制数目,默认值为20,最大值100。 Limit *uint64 `json:"Limit,omitnil" name:"Limit"` }
Predefined struct for user
type DescribeAlarmShieldsResponse ¶
type DescribeAlarmShieldsResponse struct { *tchttp.BaseResponse Response *DescribeAlarmShieldsResponseParams `json:"Response"` }
func NewDescribeAlarmShieldsResponse ¶
func NewDescribeAlarmShieldsResponse() (response *DescribeAlarmShieldsResponse)
func (*DescribeAlarmShieldsResponse) FromJsonString ¶
func (r *DescribeAlarmShieldsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeAlarmShieldsResponse) ToJsonString ¶
func (r *DescribeAlarmShieldsResponse) ToJsonString() string
type DescribeAlarmShieldsResponseParams ¶
type DescribeAlarmShieldsResponseParams struct { // 符合条件的规则总数目 TotalCount *uint64 `json:"TotalCount,omitnil" name:"TotalCount"` // 告警屏蔽规则详情 AlarmShields []*AlarmShieldInfo `json:"AlarmShields,omitnil" name:"AlarmShields"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil" 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" name:"Filters"` // 分页的偏移量,默认值为0。 Offset *int64 `json:"Offset,omitnil" name:"Offset"` // 分页单页限制数目,默认值为20,最大值100。 Limit *int64 `json:"Limit,omitnil" name:"Limit"` }
func NewDescribeAlarmsRequest ¶
func NewDescribeAlarmsRequest() (request *DescribeAlarmsRequest)
func (*DescribeAlarmsRequest) FromJsonString ¶
func (r *DescribeAlarmsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeAlarmsRequest) ToJsonString ¶
func (r *DescribeAlarmsRequest) ToJsonString() string
type DescribeAlarmsRequestParams ¶
type DescribeAlarmsRequestParams struct { // name // - 按照【告警策略名称】进行过滤。 // - 类型: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" name:"Filters"` // 分页的偏移量,默认值为0。 Offset *int64 `json:"Offset,omitnil" name:"Offset"` // 分页单页限制数目,默认值为20,最大值100。 Limit *int64 `json:"Limit,omitnil" name:"Limit"` }
Predefined struct for user
type DescribeAlarmsResponse ¶
type DescribeAlarmsResponse struct { *tchttp.BaseResponse Response *DescribeAlarmsResponseParams `json:"Response"` }
func NewDescribeAlarmsResponse ¶
func NewDescribeAlarmsResponse() (response *DescribeAlarmsResponse)
func (*DescribeAlarmsResponse) FromJsonString ¶
func (r *DescribeAlarmsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeAlarmsResponse) ToJsonString ¶
func (r *DescribeAlarmsResponse) ToJsonString() string
type DescribeAlarmsResponseParams ¶
type DescribeAlarmsResponseParams struct { // 告警策略列表。 Alarms []*AlarmInfo `json:"Alarms,omitnil" name:"Alarms"` // 符合查询条件的告警策略数目。 TotalCount *int64 `json:"TotalCount,omitnil" name:"TotalCount"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeAlertRecordHistoryRequest ¶
type DescribeAlertRecordHistoryRequest struct { *tchttp.BaseRequest // 查询时间范围启始时间,毫秒级unix时间戳 From *uint64 `json:"From,omitnil" name:"From"` // 查询时间范围结束时间,毫秒级unix时间戳 To *uint64 `json:"To,omitnil" name:"To"` // 分页的偏移量,默认值为0。 Offset *int64 `json:"Offset,omitnil" name:"Offset"` // 分页单页限制数目,最大值100。 Limit *int64 `json:"Limit,omitnil" 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" name:"Filters"` }
func NewDescribeAlertRecordHistoryRequest ¶
func NewDescribeAlertRecordHistoryRequest() (request *DescribeAlertRecordHistoryRequest)
func (*DescribeAlertRecordHistoryRequest) FromJsonString ¶
func (r *DescribeAlertRecordHistoryRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeAlertRecordHistoryRequest) ToJsonString ¶
func (r *DescribeAlertRecordHistoryRequest) ToJsonString() string
type DescribeAlertRecordHistoryRequestParams ¶
type DescribeAlertRecordHistoryRequestParams struct { // 查询时间范围启始时间,毫秒级unix时间戳 From *uint64 `json:"From,omitnil" name:"From"` // 查询时间范围结束时间,毫秒级unix时间戳 To *uint64 `json:"To,omitnil" name:"To"` // 分页的偏移量,默认值为0。 Offset *int64 `json:"Offset,omitnil" name:"Offset"` // 分页单页限制数目,最大值100。 Limit *int64 `json:"Limit,omitnil" 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" name:"Filters"` }
Predefined struct for user
type DescribeAlertRecordHistoryResponse ¶
type DescribeAlertRecordHistoryResponse struct { *tchttp.BaseResponse Response *DescribeAlertRecordHistoryResponseParams `json:"Response"` }
func NewDescribeAlertRecordHistoryResponse ¶
func NewDescribeAlertRecordHistoryResponse() (response *DescribeAlertRecordHistoryResponse)
func (*DescribeAlertRecordHistoryResponse) FromJsonString ¶
func (r *DescribeAlertRecordHistoryResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeAlertRecordHistoryResponse) ToJsonString ¶
func (r *DescribeAlertRecordHistoryResponse) ToJsonString() string
type DescribeAlertRecordHistoryResponseParams ¶
type DescribeAlertRecordHistoryResponseParams struct { // 告警历史总数 TotalCount *int64 `json:"TotalCount,omitnil" name:"TotalCount"` // 告警历史详情 Records []*AlertHistoryRecord `json:"Records,omitnil" name:"Records"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeConfigExtrasRequest ¶
type DescribeConfigExtrasRequest struct { *tchttp.BaseRequest // 支持的key: topicId,name, configExtraId, machineGroupId Filters []*Filter `json:"Filters,omitnil" name:"Filters"` // 分页的偏移量,默认值为0 Offset *uint64 `json:"Offset,omitnil" name:"Offset"` // 分页单页的限制数目,默认值为20,最大值100 Limit *uint64 `json:"Limit,omitnil" name:"Limit"` }
func NewDescribeConfigExtrasRequest ¶
func NewDescribeConfigExtrasRequest() (request *DescribeConfigExtrasRequest)
func (*DescribeConfigExtrasRequest) FromJsonString ¶
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 ¶
func (r *DescribeConfigExtrasRequest) ToJsonString() string
type DescribeConfigExtrasRequestParams ¶
type DescribeConfigExtrasRequestParams struct { // 支持的key: topicId,name, configExtraId, machineGroupId Filters []*Filter `json:"Filters,omitnil" name:"Filters"` // 分页的偏移量,默认值为0 Offset *uint64 `json:"Offset,omitnil" name:"Offset"` // 分页单页的限制数目,默认值为20,最大值100 Limit *uint64 `json:"Limit,omitnil" name:"Limit"` }
Predefined struct for user
type DescribeConfigExtrasResponse ¶
type DescribeConfigExtrasResponse struct { *tchttp.BaseResponse Response *DescribeConfigExtrasResponseParams `json:"Response"` }
func NewDescribeConfigExtrasResponse ¶
func NewDescribeConfigExtrasResponse() (response *DescribeConfigExtrasResponse)
func (*DescribeConfigExtrasResponse) FromJsonString ¶
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 ¶
func (r *DescribeConfigExtrasResponse) ToJsonString() string
type DescribeConfigExtrasResponseParams ¶
type DescribeConfigExtrasResponseParams struct { // 采集配置列表 // 注意:此字段可能返回 null,表示取不到有效值。 Configs []*ConfigExtraInfo `json:"Configs,omitnil" name:"Configs"` // 过滤到的总数目 TotalCount *uint64 `json:"TotalCount,omitnil" name:"TotalCount"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeConfigMachineGroupsRequest ¶
type DescribeConfigMachineGroupsRequest struct { *tchttp.BaseRequest // 采集配置ID ConfigId *string `json:"ConfigId,omitnil" name:"ConfigId"` }
func NewDescribeConfigMachineGroupsRequest ¶
func NewDescribeConfigMachineGroupsRequest() (request *DescribeConfigMachineGroupsRequest)
func (*DescribeConfigMachineGroupsRequest) FromJsonString ¶
func (r *DescribeConfigMachineGroupsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeConfigMachineGroupsRequest) ToJsonString ¶
func (r *DescribeConfigMachineGroupsRequest) ToJsonString() string
type DescribeConfigMachineGroupsRequestParams ¶
type DescribeConfigMachineGroupsRequestParams struct { // 采集配置ID ConfigId *string `json:"ConfigId,omitnil" name:"ConfigId"` }
Predefined struct for user
type DescribeConfigMachineGroupsResponse ¶
type DescribeConfigMachineGroupsResponse struct { *tchttp.BaseResponse Response *DescribeConfigMachineGroupsResponseParams `json:"Response"` }
func NewDescribeConfigMachineGroupsResponse ¶
func NewDescribeConfigMachineGroupsResponse() (response *DescribeConfigMachineGroupsResponse)
func (*DescribeConfigMachineGroupsResponse) FromJsonString ¶
func (r *DescribeConfigMachineGroupsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeConfigMachineGroupsResponse) ToJsonString ¶
func (r *DescribeConfigMachineGroupsResponse) ToJsonString() string
type DescribeConfigMachineGroupsResponseParams ¶
type DescribeConfigMachineGroupsResponseParams struct { // 采集规则配置绑定的机器组列表 // 注意:此字段可能返回 null,表示取不到有效值。 MachineGroups []*MachineGroupInfo `json:"MachineGroups,omitnil" name:"MachineGroups"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeConfigsRequest ¶
type DescribeConfigsRequest struct { *tchttp.BaseRequest // configName // - 按照【采集配置名称】进行模糊匹配过滤。 // - 类型:String // - 必选:否 // // configId // - 按照【采集配置ID】进行过滤。 // - 类型:String // - 必选:否 // // topicId // - 按照【日志主题】进行过滤。 // - 类型:String // - 必选:否 // // 每次请求的Filters的上限为10,Filter.Values的上限为5。 Filters []*Filter `json:"Filters,omitnil" name:"Filters"` // 分页的偏移量,默认值为0 Offset *int64 `json:"Offset,omitnil" name:"Offset"` // 分页单页的限制数目,默认值为20,最大值100 Limit *int64 `json:"Limit,omitnil" name:"Limit"` }
func NewDescribeConfigsRequest ¶
func NewDescribeConfigsRequest() (request *DescribeConfigsRequest)
func (*DescribeConfigsRequest) FromJsonString ¶
func (r *DescribeConfigsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeConfigsRequest) ToJsonString ¶
func (r *DescribeConfigsRequest) ToJsonString() string
type DescribeConfigsRequestParams ¶
type DescribeConfigsRequestParams struct { // configName // - 按照【采集配置名称】进行模糊匹配过滤。 // - 类型:String // - 必选:否 // // configId // - 按照【采集配置ID】进行过滤。 // - 类型:String // - 必选:否 // // topicId // - 按照【日志主题】进行过滤。 // - 类型:String // - 必选:否 // // 每次请求的Filters的上限为10,Filter.Values的上限为5。 Filters []*Filter `json:"Filters,omitnil" name:"Filters"` // 分页的偏移量,默认值为0 Offset *int64 `json:"Offset,omitnil" name:"Offset"` // 分页单页的限制数目,默认值为20,最大值100 Limit *int64 `json:"Limit,omitnil" name:"Limit"` }
Predefined struct for user
type DescribeConfigsResponse ¶
type DescribeConfigsResponse struct { *tchttp.BaseResponse Response *DescribeConfigsResponseParams `json:"Response"` }
func NewDescribeConfigsResponse ¶
func NewDescribeConfigsResponse() (response *DescribeConfigsResponse)
func (*DescribeConfigsResponse) FromJsonString ¶
func (r *DescribeConfigsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeConfigsResponse) ToJsonString ¶
func (r *DescribeConfigsResponse) ToJsonString() string
type DescribeConfigsResponseParams ¶
type DescribeConfigsResponseParams struct { // 采集配置列表 // 注意:此字段可能返回 null,表示取不到有效值。 Configs []*ConfigInfo `json:"Configs,omitnil" name:"Configs"` // 过滤到的总数目 TotalCount *int64 `json:"TotalCount,omitnil" name:"TotalCount"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeConsumerRequest ¶
type DescribeConsumerRequest struct { *tchttp.BaseRequest // 投递任务绑定的日志主题 ID TopicId *string `json:"TopicId,omitnil" name:"TopicId"` }
func NewDescribeConsumerRequest ¶
func NewDescribeConsumerRequest() (request *DescribeConsumerRequest)
func (*DescribeConsumerRequest) FromJsonString ¶
func (r *DescribeConsumerRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeConsumerRequest) ToJsonString ¶
func (r *DescribeConsumerRequest) ToJsonString() string
type DescribeConsumerRequestParams ¶
type DescribeConsumerRequestParams struct { // 投递任务绑定的日志主题 ID TopicId *string `json:"TopicId,omitnil" name:"TopicId"` }
Predefined struct for user
type DescribeConsumerResponse ¶
type DescribeConsumerResponse struct { *tchttp.BaseResponse Response *DescribeConsumerResponseParams `json:"Response"` }
func NewDescribeConsumerResponse ¶
func NewDescribeConsumerResponse() (response *DescribeConsumerResponse)
func (*DescribeConsumerResponse) FromJsonString ¶
func (r *DescribeConsumerResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeConsumerResponse) ToJsonString ¶
func (r *DescribeConsumerResponse) ToJsonString() string
type DescribeConsumerResponseParams ¶
type DescribeConsumerResponseParams struct { // 投递任务是否生效 Effective *bool `json:"Effective,omitnil" name:"Effective"` // 是否投递日志的元数据信息 NeedContent *bool `json:"NeedContent,omitnil" name:"NeedContent"` // 如果需要投递元数据信息,元数据信息的描述 // 注意:此字段可能返回 null,表示取不到有效值。 Content *ConsumerContent `json:"Content,omitnil" name:"Content"` // CKafka的描述 Ckafka *Ckafka `json:"Ckafka,omitnil" name:"Ckafka"` // 压缩方式[0:NONE;2:SNAPPY;3:LZ4] // 注意:此字段可能返回 null,表示取不到有效值。 Compression *int64 `json:"Compression,omitnil" name:"Compression"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeCosRechargesRequest ¶
type DescribeCosRechargesRequest struct { *tchttp.BaseRequest // 日志主题 ID TopicId *string `json:"TopicId,omitnil" name:"TopicId"` // 状态 status 0: 已创建, 1: 运行中, 2: 已停止, 3: 已完成, 4: 运行失败。 Status *uint64 `json:"Status,omitnil" name:"Status"` // 是否启用: 0: 未启用 , 1:启用 Enable *uint64 `json:"Enable,omitnil" name:"Enable"` }
func NewDescribeCosRechargesRequest ¶
func NewDescribeCosRechargesRequest() (request *DescribeCosRechargesRequest)
func (*DescribeCosRechargesRequest) FromJsonString ¶
func (r *DescribeCosRechargesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeCosRechargesRequest) ToJsonString ¶
func (r *DescribeCosRechargesRequest) ToJsonString() string
type DescribeCosRechargesRequestParams ¶
type DescribeCosRechargesRequestParams struct { // 日志主题 ID TopicId *string `json:"TopicId,omitnil" name:"TopicId"` // 状态 status 0: 已创建, 1: 运行中, 2: 已停止, 3: 已完成, 4: 运行失败。 Status *uint64 `json:"Status,omitnil" name:"Status"` // 是否启用: 0: 未启用 , 1:启用 Enable *uint64 `json:"Enable,omitnil" name:"Enable"` }
Predefined struct for user
type DescribeCosRechargesResponse ¶
type DescribeCosRechargesResponse struct { *tchttp.BaseResponse Response *DescribeCosRechargesResponseParams `json:"Response"` }
func NewDescribeCosRechargesResponse ¶
func NewDescribeCosRechargesResponse() (response *DescribeCosRechargesResponse)
func (*DescribeCosRechargesResponse) FromJsonString ¶
func (r *DescribeCosRechargesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeCosRechargesResponse) ToJsonString ¶
func (r *DescribeCosRechargesResponse) ToJsonString() string
type DescribeCosRechargesResponseParams ¶
type DescribeCosRechargesResponseParams struct { // 见: CosRechargeInfo 结构描述 // 注意:此字段可能返回 null,表示取不到有效值。 Data []*CosRechargeInfo `json:"Data,omitnil" name:"Data"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeDashboardsRequest ¶
type DescribeDashboardsRequest struct { *tchttp.BaseRequest // 分页的偏移量,默认值为0。 Offset *int64 `json:"Offset,omitnil" name:"Offset"` // 分页单页限制数目,默认值为20,最大值100。 Limit *int64 `json:"Limit,omitnil" name:"Limit"` // <br><li>dashboardId // // 按照【仪表盘id】进行过滤。 // 类型:String // // 必选:否</li> // // <br><li> dashboardName // // 按照【仪表盘名字】进行模糊搜索过滤。 // 类型:String // // 必选:否</li> // // <br><li> dashboardRegion // // 按照【仪表盘地域】进行过滤,为了兼容老的仪表盘,通过云API创建的仪表盘没有地域属性 // 类型:String // // 必选:否</li> // // <br><li> tagKey // // 按照【标签键】进行过滤。 // // 类型:String // // 必选:否</li> // // <br><li> tag:tagKey // // 按照【标签键值对】进行过滤。tag-key使用具体的标签键进行替换。使用请参考示例2。 // // 类型:String // // 必选:否</li> // // 每次请求的Filters的上限为10,Filter.Values的上限为100。 Filters []*Filter `json:"Filters,omitnil" name:"Filters"` // 按照topicId和regionId过滤。 TopicIdRegionFilter []*TopicIdAndRegion `json:"TopicIdRegionFilter,omitnil" name:"TopicIdRegionFilter"` }
func NewDescribeDashboardsRequest ¶
func NewDescribeDashboardsRequest() (request *DescribeDashboardsRequest)
func (*DescribeDashboardsRequest) FromJsonString ¶
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 ¶
func (r *DescribeDashboardsRequest) ToJsonString() string
type DescribeDashboardsRequestParams ¶
type DescribeDashboardsRequestParams struct { // 分页的偏移量,默认值为0。 Offset *int64 `json:"Offset,omitnil" name:"Offset"` // 分页单页限制数目,默认值为20,最大值100。 Limit *int64 `json:"Limit,omitnil" name:"Limit"` // <br><li>dashboardId // // 按照【仪表盘id】进行过滤。 // 类型:String // // 必选:否</li> // // <br><li> dashboardName // // 按照【仪表盘名字】进行模糊搜索过滤。 // 类型:String // // 必选:否</li> // // <br><li> dashboardRegion // // 按照【仪表盘地域】进行过滤,为了兼容老的仪表盘,通过云API创建的仪表盘没有地域属性 // 类型:String // // 必选:否</li> // // <br><li> tagKey // // 按照【标签键】进行过滤。 // // 类型:String // // 必选:否</li> // // <br><li> tag:tagKey // // 按照【标签键值对】进行过滤。tag-key使用具体的标签键进行替换。使用请参考示例2。 // // 类型:String // // 必选:否</li> // // 每次请求的Filters的上限为10,Filter.Values的上限为100。 Filters []*Filter `json:"Filters,omitnil" name:"Filters"` // 按照topicId和regionId过滤。 TopicIdRegionFilter []*TopicIdAndRegion `json:"TopicIdRegionFilter,omitnil" name:"TopicIdRegionFilter"` }
Predefined struct for user
type DescribeDashboardsResponse ¶
type DescribeDashboardsResponse struct { *tchttp.BaseResponse Response *DescribeDashboardsResponseParams `json:"Response"` }
func NewDescribeDashboardsResponse ¶
func NewDescribeDashboardsResponse() (response *DescribeDashboardsResponse)
func (*DescribeDashboardsResponse) FromJsonString ¶
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 ¶
func (r *DescribeDashboardsResponse) ToJsonString() string
type DescribeDashboardsResponseParams ¶
type DescribeDashboardsResponseParams struct { // 仪表盘的数量 TotalCount *int64 `json:"TotalCount,omitnil" name:"TotalCount"` // 仪表盘详细明细 DashboardInfos []*DashboardInfo `json:"DashboardInfos,omitnil" name:"DashboardInfos"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeDataTransformInfoRequest ¶
type DescribeDataTransformInfoRequest struct { *tchttp.BaseRequest // <br><li> taskName // // 按照【加工任务名称】进行过滤。 // 类型:String // // 必选:否 // // <br><li> taskId // // 按照【加工任务id】进行过滤。 // 类型:String // // 必选:否 // // <br><li> srctopicId // // 按照【源topicId】进行过滤。 // 类型:String // // 必选:否 // // 每次请求的Filters的上限为10,Filter.Values的上限为100。 Filters []*Filter `json:"Filters,omitnil" name:"Filters"` // 分页的偏移量,默认值为0。 Offset *int64 `json:"Offset,omitnil" name:"Offset"` // 分页单页限制数目,默认值为20,最大值100。 Limit *int64 `json:"Limit,omitnil" name:"Limit"` // 默认值为2. 1: 获取单个任务的详细信息 2:获取任务列表 Type *int64 `json:"Type,omitnil" name:"Type"` // Type为1, 此参数必填 TaskId *string `json:"TaskId,omitnil" name:"TaskId"` }
func NewDescribeDataTransformInfoRequest ¶
func NewDescribeDataTransformInfoRequest() (request *DescribeDataTransformInfoRequest)
func (*DescribeDataTransformInfoRequest) FromJsonString ¶
func (r *DescribeDataTransformInfoRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDataTransformInfoRequest) ToJsonString ¶
func (r *DescribeDataTransformInfoRequest) ToJsonString() string
type DescribeDataTransformInfoRequestParams ¶
type DescribeDataTransformInfoRequestParams struct { // <br><li> taskName // // 按照【加工任务名称】进行过滤。 // 类型:String // // 必选:否 // // <br><li> taskId // // 按照【加工任务id】进行过滤。 // 类型:String // // 必选:否 // // <br><li> srctopicId // // 按照【源topicId】进行过滤。 // 类型:String // // 必选:否 // // 每次请求的Filters的上限为10,Filter.Values的上限为100。 Filters []*Filter `json:"Filters,omitnil" name:"Filters"` // 分页的偏移量,默认值为0。 Offset *int64 `json:"Offset,omitnil" name:"Offset"` // 分页单页限制数目,默认值为20,最大值100。 Limit *int64 `json:"Limit,omitnil" name:"Limit"` // 默认值为2. 1: 获取单个任务的详细信息 2:获取任务列表 Type *int64 `json:"Type,omitnil" name:"Type"` // Type为1, 此参数必填 TaskId *string `json:"TaskId,omitnil" name:"TaskId"` }
Predefined struct for user
type DescribeDataTransformInfoResponse ¶
type DescribeDataTransformInfoResponse struct { *tchttp.BaseResponse Response *DescribeDataTransformInfoResponseParams `json:"Response"` }
func NewDescribeDataTransformInfoResponse ¶
func NewDescribeDataTransformInfoResponse() (response *DescribeDataTransformInfoResponse)
func (*DescribeDataTransformInfoResponse) FromJsonString ¶
func (r *DescribeDataTransformInfoResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDataTransformInfoResponse) ToJsonString ¶
func (r *DescribeDataTransformInfoResponse) ToJsonString() string
type DescribeDataTransformInfoResponseParams ¶
type DescribeDataTransformInfoResponseParams struct { // 数据加工任务列表信息 DataTransformTaskInfos []*DataTransformTaskInfo `json:"DataTransformTaskInfos,omitnil" name:"DataTransformTaskInfos"` // 任务总次数 TotalCount *uint64 `json:"TotalCount,omitnil" name:"TotalCount"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeExportsRequest ¶
type DescribeExportsRequest struct { *tchttp.BaseRequest // 日志主题ID TopicId *string `json:"TopicId,omitnil" name:"TopicId"` // 分页的偏移量,默认值为0 Offset *int64 `json:"Offset,omitnil" name:"Offset"` // 分页单页限制数目,默认值为20,最大值100 Limit *int64 `json:"Limit,omitnil" name:"Limit"` }
func NewDescribeExportsRequest ¶
func NewDescribeExportsRequest() (request *DescribeExportsRequest)
func (*DescribeExportsRequest) FromJsonString ¶
func (r *DescribeExportsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeExportsRequest) ToJsonString ¶
func (r *DescribeExportsRequest) ToJsonString() string
type DescribeExportsRequestParams ¶
type DescribeExportsRequestParams struct { // 日志主题ID TopicId *string `json:"TopicId,omitnil" name:"TopicId"` // 分页的偏移量,默认值为0 Offset *int64 `json:"Offset,omitnil" name:"Offset"` // 分页单页限制数目,默认值为20,最大值100 Limit *int64 `json:"Limit,omitnil" name:"Limit"` }
Predefined struct for user
type DescribeExportsResponse ¶
type DescribeExportsResponse struct { *tchttp.BaseResponse Response *DescribeExportsResponseParams `json:"Response"` }
func NewDescribeExportsResponse ¶
func NewDescribeExportsResponse() (response *DescribeExportsResponse)
func (*DescribeExportsResponse) FromJsonString ¶
func (r *DescribeExportsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeExportsResponse) ToJsonString ¶
func (r *DescribeExportsResponse) ToJsonString() string
type DescribeExportsResponseParams ¶
type DescribeExportsResponseParams struct { // 日志导出列表 Exports []*ExportInfo `json:"Exports,omitnil" name:"Exports"` // 总数目 TotalCount *int64 `json:"TotalCount,omitnil" name:"TotalCount"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeIndexRequest ¶
type DescribeIndexRequest struct { *tchttp.BaseRequest // 日志主题ID TopicId *string `json:"TopicId,omitnil" name:"TopicId"` }
func NewDescribeIndexRequest ¶
func NewDescribeIndexRequest() (request *DescribeIndexRequest)
func (*DescribeIndexRequest) FromJsonString ¶
func (r *DescribeIndexRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeIndexRequest) ToJsonString ¶
func (r *DescribeIndexRequest) ToJsonString() string
type DescribeIndexRequestParams ¶
type DescribeIndexRequestParams struct { // 日志主题ID TopicId *string `json:"TopicId,omitnil" name:"TopicId"` }
Predefined struct for user
type DescribeIndexResponse ¶
type DescribeIndexResponse struct { *tchttp.BaseResponse Response *DescribeIndexResponseParams `json:"Response"` }
func NewDescribeIndexResponse ¶
func NewDescribeIndexResponse() (response *DescribeIndexResponse)
func (*DescribeIndexResponse) FromJsonString ¶
func (r *DescribeIndexResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeIndexResponse) ToJsonString ¶
func (r *DescribeIndexResponse) ToJsonString() string
type DescribeIndexResponseParams ¶
type DescribeIndexResponseParams struct { // 日志主题ID TopicId *string `json:"TopicId,omitnil" name:"TopicId"` // 是否生效 Status *bool `json:"Status,omitnil" name:"Status"` // 索引配置信息 // 注意:此字段可能返回 null,表示取不到有效值。 Rule *RuleInfo `json:"Rule,omitnil" name:"Rule"` // 索引修改时间,初始值为索引创建时间。 ModifyTime *string `json:"ModifyTime,omitnil" name:"ModifyTime"` // 内置保留字段(`__FILENAME__`,`__HOSTNAME__`及`__SOURCE__`)是否包含至全文索引 // * false:不包含 // * true:包含 // 注意:此字段可能返回 null,表示取不到有效值。 IncludeInternalFields *bool `json:"IncludeInternalFields,omitnil" name:"IncludeInternalFields"` // 元数据字段(前缀为`__TAG__`的字段)是否包含至全文索引 // * 0:仅包含开启键值索引的元数据字段 // * 1:包含所有元数据字段 // * 2:不包含任何元数据字段 // 注意:此字段可能返回 null,表示取不到有效值。 MetadataFlag *uint64 `json:"MetadataFlag,omitnil" name:"MetadataFlag"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeKafkaConsumerRequest ¶
type DescribeKafkaConsumerRequest struct { *tchttp.BaseRequest // 日志主题ID FromTopicId *string `json:"FromTopicId,omitnil" name:"FromTopicId"` }
func NewDescribeKafkaConsumerRequest ¶
func NewDescribeKafkaConsumerRequest() (request *DescribeKafkaConsumerRequest)
func (*DescribeKafkaConsumerRequest) FromJsonString ¶
func (r *DescribeKafkaConsumerRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeKafkaConsumerRequest) ToJsonString ¶
func (r *DescribeKafkaConsumerRequest) ToJsonString() string
type DescribeKafkaConsumerRequestParams ¶
type DescribeKafkaConsumerRequestParams struct { // 日志主题ID FromTopicId *string `json:"FromTopicId,omitnil" name:"FromTopicId"` }
Predefined struct for user
type DescribeKafkaConsumerResponse ¶
type DescribeKafkaConsumerResponse struct { *tchttp.BaseResponse Response *DescribeKafkaConsumerResponseParams `json:"Response"` }
func NewDescribeKafkaConsumerResponse ¶
func NewDescribeKafkaConsumerResponse() (response *DescribeKafkaConsumerResponse)
func (*DescribeKafkaConsumerResponse) FromJsonString ¶
func (r *DescribeKafkaConsumerResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeKafkaConsumerResponse) ToJsonString ¶
func (r *DescribeKafkaConsumerResponse) ToJsonString() string
type DescribeKafkaConsumerResponseParams ¶
type DescribeKafkaConsumerResponseParams struct { // Kafka协议消费是否打开 Status *bool `json:"Status,omitnil" name:"Status"` // KafkaConsumer 消费时使用的Topic参数 TopicID *string `json:"TopicID,omitnil" name:"TopicID"` // 压缩方式[0:NONE;2:SNAPPY;3:LZ4] Compression *int64 `json:"Compression,omitnil" name:"Compression"` // kafka协议消费数据格式 ConsumerContent *KafkaConsumerContent `json:"ConsumerContent,omitnil" name:"ConsumerContent"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeKafkaRechargesRequest ¶
type DescribeKafkaRechargesRequest struct { *tchttp.BaseRequest // 日志主题 ID TopicId *string `json:"TopicId,omitnil" name:"TopicId"` // 导入配置ID Id *string `json:"Id,omitnil" name:"Id"` // 状态 status 1: 运行中, 2: 暂停... Status *uint64 `json:"Status,omitnil" name:"Status"` }
func NewDescribeKafkaRechargesRequest ¶
func NewDescribeKafkaRechargesRequest() (request *DescribeKafkaRechargesRequest)
func (*DescribeKafkaRechargesRequest) FromJsonString ¶
func (r *DescribeKafkaRechargesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeKafkaRechargesRequest) ToJsonString ¶
func (r *DescribeKafkaRechargesRequest) ToJsonString() string
type DescribeKafkaRechargesRequestParams ¶
type DescribeKafkaRechargesRequestParams struct { // 日志主题 ID TopicId *string `json:"TopicId,omitnil" name:"TopicId"` // 导入配置ID Id *string `json:"Id,omitnil" name:"Id"` // 状态 status 1: 运行中, 2: 暂停... Status *uint64 `json:"Status,omitnil" name:"Status"` }
Predefined struct for user
type DescribeKafkaRechargesResponse ¶
type DescribeKafkaRechargesResponse struct { *tchttp.BaseResponse Response *DescribeKafkaRechargesResponseParams `json:"Response"` }
func NewDescribeKafkaRechargesResponse ¶
func NewDescribeKafkaRechargesResponse() (response *DescribeKafkaRechargesResponse)
func (*DescribeKafkaRechargesResponse) FromJsonString ¶
func (r *DescribeKafkaRechargesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeKafkaRechargesResponse) ToJsonString ¶
func (r *DescribeKafkaRechargesResponse) ToJsonString() string
type DescribeKafkaRechargesResponseParams ¶
type DescribeKafkaRechargesResponseParams struct { // KafkaRechargeInfo 信息列表 Infos []*KafkaRechargeInfo `json:"Infos,omitnil" name:"Infos"` // Kafka导入信息总条数 TotalCount *uint64 `json:"TotalCount,omitnil" name:"TotalCount"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeKafkaUserRequest ¶
type DescribeKafkaUserRequest struct { *tchttp.BaseRequest // kafka消费用户名 UserName *string `json:"UserName,omitnil" name:"UserName"` }
func NewDescribeKafkaUserRequest ¶
func NewDescribeKafkaUserRequest() (request *DescribeKafkaUserRequest)
func (*DescribeKafkaUserRequest) FromJsonString ¶
func (r *DescribeKafkaUserRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeKafkaUserRequest) ToJsonString ¶
func (r *DescribeKafkaUserRequest) ToJsonString() string
type DescribeKafkaUserRequestParams ¶
type DescribeKafkaUserRequestParams struct { // kafka消费用户名 UserName *string `json:"UserName,omitnil" name:"UserName"` }
Predefined struct for user
type DescribeKafkaUserResponse ¶
type DescribeKafkaUserResponse struct { *tchttp.BaseResponse Response *DescribeKafkaUserResponseParams `json:"Response"` }
func NewDescribeKafkaUserResponse ¶
func NewDescribeKafkaUserResponse() (response *DescribeKafkaUserResponse)
func (*DescribeKafkaUserResponse) FromJsonString ¶
func (r *DescribeKafkaUserResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeKafkaUserResponse) ToJsonString ¶
func (r *DescribeKafkaUserResponse) ToJsonString() string
type DescribeKafkaUserResponseParams ¶
type DescribeKafkaUserResponseParams struct { // kafka消费用户名 UserName *string `json:"UserName,omitnil" name:"UserName"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeLogContextRequest ¶
type DescribeLogContextRequest struct { *tchttp.BaseRequest // 要查询的日志主题ID TopicId *string `json:"TopicId,omitnil" name:"TopicId"` // 日志时间, 格式: YYYY-mm-dd HH:MM:SS.FFF BTime *string `json:"BTime,omitnil" name:"BTime"` // 日志包序号 PkgId *string `json:"PkgId,omitnil" name:"PkgId"` // 日志包内一条日志的序号 PkgLogId *int64 `json:"PkgLogId,omitnil" name:"PkgLogId"` // 上文日志条数, 默认值10 PrevLogs *int64 `json:"PrevLogs,omitnil" name:"PrevLogs"` // 下文日志条数, 默认值10 NextLogs *int64 `json:"NextLogs,omitnil" name:"NextLogs"` }
func NewDescribeLogContextRequest ¶
func NewDescribeLogContextRequest() (request *DescribeLogContextRequest)
func (*DescribeLogContextRequest) FromJsonString ¶
func (r *DescribeLogContextRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeLogContextRequest) ToJsonString ¶
func (r *DescribeLogContextRequest) ToJsonString() string
type DescribeLogContextRequestParams ¶
type DescribeLogContextRequestParams struct { // 要查询的日志主题ID TopicId *string `json:"TopicId,omitnil" name:"TopicId"` // 日志时间, 格式: YYYY-mm-dd HH:MM:SS.FFF BTime *string `json:"BTime,omitnil" name:"BTime"` // 日志包序号 PkgId *string `json:"PkgId,omitnil" name:"PkgId"` // 日志包内一条日志的序号 PkgLogId *int64 `json:"PkgLogId,omitnil" name:"PkgLogId"` // 上文日志条数, 默认值10 PrevLogs *int64 `json:"PrevLogs,omitnil" name:"PrevLogs"` // 下文日志条数, 默认值10 NextLogs *int64 `json:"NextLogs,omitnil" name:"NextLogs"` }
Predefined struct for user
type DescribeLogContextResponse ¶
type DescribeLogContextResponse struct { *tchttp.BaseResponse Response *DescribeLogContextResponseParams `json:"Response"` }
func NewDescribeLogContextResponse ¶
func NewDescribeLogContextResponse() (response *DescribeLogContextResponse)
func (*DescribeLogContextResponse) FromJsonString ¶
func (r *DescribeLogContextResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeLogContextResponse) ToJsonString ¶
func (r *DescribeLogContextResponse) ToJsonString() string
type DescribeLogContextResponseParams ¶
type DescribeLogContextResponseParams struct { // 日志上下文信息集合 LogContextInfos []*LogContextInfo `json:"LogContextInfos,omitnil" name:"LogContextInfos"` // 上文日志是否已经返回 PrevOver *bool `json:"PrevOver,omitnil" name:"PrevOver"` // 下文日志是否已经返回 NextOver *bool `json:"NextOver,omitnil" name:"NextOver"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeLogHistogramRequest ¶
type DescribeLogHistogramRequest struct { *tchttp.BaseRequest // 要查询的日志的起始时间,Unix时间戳,单位ms From *int64 `json:"From,omitnil" name:"From"` // 要查询的日志的结束时间,Unix时间戳,单位ms To *int64 `json:"To,omitnil" name:"To"` // 查询语句 Query *string `json:"Query,omitnil" name:"Query"` // 要查询的日志主题ID TopicId *string `json:"TopicId,omitnil" name:"TopicId"` // 时间间隔: 单位ms 限制性条件:(To-From) / interval <= 200 Interval *int64 `json:"Interval,omitnil" 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" name:"SyntaxRule"` }
func NewDescribeLogHistogramRequest ¶
func NewDescribeLogHistogramRequest() (request *DescribeLogHistogramRequest)
func (*DescribeLogHistogramRequest) FromJsonString ¶
func (r *DescribeLogHistogramRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeLogHistogramRequest) ToJsonString ¶
func (r *DescribeLogHistogramRequest) ToJsonString() string
type DescribeLogHistogramRequestParams ¶
type DescribeLogHistogramRequestParams struct { // 要查询的日志的起始时间,Unix时间戳,单位ms From *int64 `json:"From,omitnil" name:"From"` // 要查询的日志的结束时间,Unix时间戳,单位ms To *int64 `json:"To,omitnil" name:"To"` // 查询语句 Query *string `json:"Query,omitnil" name:"Query"` // 要查询的日志主题ID TopicId *string `json:"TopicId,omitnil" name:"TopicId"` // 时间间隔: 单位ms 限制性条件:(To-From) / interval <= 200 Interval *int64 `json:"Interval,omitnil" 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" name:"SyntaxRule"` }
Predefined struct for user
type DescribeLogHistogramResponse ¶
type DescribeLogHistogramResponse struct { *tchttp.BaseResponse Response *DescribeLogHistogramResponseParams `json:"Response"` }
func NewDescribeLogHistogramResponse ¶
func NewDescribeLogHistogramResponse() (response *DescribeLogHistogramResponse)
func (*DescribeLogHistogramResponse) FromJsonString ¶
func (r *DescribeLogHistogramResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeLogHistogramResponse) ToJsonString ¶
func (r *DescribeLogHistogramResponse) ToJsonString() string
type DescribeLogHistogramResponseParams ¶
type DescribeLogHistogramResponseParams struct { // 统计周期: 单位ms Interval *int64 `json:"Interval,omitnil" name:"Interval"` // 命中关键字的日志总条数 TotalCount *int64 `json:"TotalCount,omitnil" name:"TotalCount"` // 周期内统计结果详情 HistogramInfos []*HistogramInfo `json:"HistogramInfos,omitnil" name:"HistogramInfos"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeLogsetsRequest ¶
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" name:"Filters"` // 分页的偏移量,默认值为0 Offset *int64 `json:"Offset,omitnil" name:"Offset"` // 分页单页的限制数目,默认值为20,最大值100 Limit *int64 `json:"Limit,omitnil" name:"Limit"` }
func NewDescribeLogsetsRequest ¶
func NewDescribeLogsetsRequest() (request *DescribeLogsetsRequest)
func (*DescribeLogsetsRequest) FromJsonString ¶
func (r *DescribeLogsetsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeLogsetsRequest) ToJsonString ¶
func (r *DescribeLogsetsRequest) ToJsonString() string
type DescribeLogsetsRequestParams ¶
type DescribeLogsetsRequestParams struct { // logsetName // - 按照【日志集名称】进行过滤。 // - 类型:String // - 必选:否 // // logsetId // - 按照【日志集ID】进行过滤。 // - 类型:String // - 必选:否 // // tagKey // - 按照【标签键】进行过滤。 // - 类型:String // - 必选:否 // // tag:tagKey // - 按照【标签键值对】进行过滤。tagKey使用具体的标签键进行替换。 // - 类型:String // - 必选:否 // // 每次请求的Filters的上限为10,Filter.Values的上限为5。 Filters []*Filter `json:"Filters,omitnil" name:"Filters"` // 分页的偏移量,默认值为0 Offset *int64 `json:"Offset,omitnil" name:"Offset"` // 分页单页的限制数目,默认值为20,最大值100 Limit *int64 `json:"Limit,omitnil" name:"Limit"` }
Predefined struct for user
type DescribeLogsetsResponse ¶
type DescribeLogsetsResponse struct { *tchttp.BaseResponse Response *DescribeLogsetsResponseParams `json:"Response"` }
func NewDescribeLogsetsResponse ¶
func NewDescribeLogsetsResponse() (response *DescribeLogsetsResponse)
func (*DescribeLogsetsResponse) FromJsonString ¶
func (r *DescribeLogsetsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeLogsetsResponse) ToJsonString ¶
func (r *DescribeLogsetsResponse) ToJsonString() string
type DescribeLogsetsResponseParams ¶
type DescribeLogsetsResponseParams struct { // 分页的总数目 TotalCount *int64 `json:"TotalCount,omitnil" name:"TotalCount"` // 日志集列表 Logsets []*LogsetInfo `json:"Logsets,omitnil" name:"Logsets"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeMachineGroupConfigsRequest ¶
type DescribeMachineGroupConfigsRequest struct { *tchttp.BaseRequest // 机器组ID GroupId *string `json:"GroupId,omitnil" name:"GroupId"` }
func NewDescribeMachineGroupConfigsRequest ¶
func NewDescribeMachineGroupConfigsRequest() (request *DescribeMachineGroupConfigsRequest)
func (*DescribeMachineGroupConfigsRequest) FromJsonString ¶
func (r *DescribeMachineGroupConfigsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeMachineGroupConfigsRequest) ToJsonString ¶
func (r *DescribeMachineGroupConfigsRequest) ToJsonString() string
type DescribeMachineGroupConfigsRequestParams ¶
type DescribeMachineGroupConfigsRequestParams struct { // 机器组ID GroupId *string `json:"GroupId,omitnil" name:"GroupId"` }
Predefined struct for user
type DescribeMachineGroupConfigsResponse ¶
type DescribeMachineGroupConfigsResponse struct { *tchttp.BaseResponse Response *DescribeMachineGroupConfigsResponseParams `json:"Response"` }
func NewDescribeMachineGroupConfigsResponse ¶
func NewDescribeMachineGroupConfigsResponse() (response *DescribeMachineGroupConfigsResponse)
func (*DescribeMachineGroupConfigsResponse) FromJsonString ¶
func (r *DescribeMachineGroupConfigsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeMachineGroupConfigsResponse) ToJsonString ¶
func (r *DescribeMachineGroupConfigsResponse) ToJsonString() string
type DescribeMachineGroupConfigsResponseParams ¶
type DescribeMachineGroupConfigsResponseParams struct { // 采集规则配置列表 // 注意:此字段可能返回 null,表示取不到有效值。 Configs []*ConfigInfo `json:"Configs,omitnil" name:"Configs"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil" 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" name:"Filters"` // 分页的偏移量,默认值为0 Offset *int64 `json:"Offset,omitnil" name:"Offset"` // 分页单页的限制数目,默认值为20,最大值100 Limit *int64 `json:"Limit,omitnil" name:"Limit"` }
func NewDescribeMachineGroupsRequest ¶
func NewDescribeMachineGroupsRequest() (request *DescribeMachineGroupsRequest)
func (*DescribeMachineGroupsRequest) FromJsonString ¶
func (r *DescribeMachineGroupsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeMachineGroupsRequest) ToJsonString ¶
func (r *DescribeMachineGroupsRequest) ToJsonString() string
type DescribeMachineGroupsRequestParams ¶
type DescribeMachineGroupsRequestParams struct { // machineGroupName // - 按照【机器组名称】进行过滤。 // - 类型:String // - 必选:否 // // machineGroupId // - 按照【机器组ID】进行过滤。 // - 类型:String // - 必选:否 // // osType // - 按照【操作系统类型】进行过滤。 // - 类型:Int // - 必选:否 // // tagKey // - 按照【标签键】进行过滤。 // - 类型:String // - 必选:否 // // tag:tagKey // - 按照【标签键值对】进行过滤。tagKey使用具体的标签键进行替换。 // - 类型:String // - 必选:否 // // 每次请求的Filters的上限为10,Filter.Values的上限为5。 Filters []*Filter `json:"Filters,omitnil" name:"Filters"` // 分页的偏移量,默认值为0 Offset *int64 `json:"Offset,omitnil" name:"Offset"` // 分页单页的限制数目,默认值为20,最大值100 Limit *int64 `json:"Limit,omitnil" name:"Limit"` }
Predefined struct for user
type DescribeMachineGroupsResponse ¶
type DescribeMachineGroupsResponse struct { *tchttp.BaseResponse Response *DescribeMachineGroupsResponseParams `json:"Response"` }
func NewDescribeMachineGroupsResponse ¶
func NewDescribeMachineGroupsResponse() (response *DescribeMachineGroupsResponse)
func (*DescribeMachineGroupsResponse) FromJsonString ¶
func (r *DescribeMachineGroupsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeMachineGroupsResponse) ToJsonString ¶
func (r *DescribeMachineGroupsResponse) ToJsonString() string
type DescribeMachineGroupsResponseParams ¶
type DescribeMachineGroupsResponseParams struct { // 机器组信息列表 // 注意:此字段可能返回 null,表示取不到有效值。 MachineGroups []*MachineGroupInfo `json:"MachineGroups,omitnil" name:"MachineGroups"` // 分页的总数目 TotalCount *int64 `json:"TotalCount,omitnil" name:"TotalCount"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeMachinesRequest ¶
type DescribeMachinesRequest struct { *tchttp.BaseRequest // 查询的机器组ID GroupId *string `json:"GroupId,omitnil" name:"GroupId"` }
func NewDescribeMachinesRequest ¶
func NewDescribeMachinesRequest() (request *DescribeMachinesRequest)
func (*DescribeMachinesRequest) FromJsonString ¶
func (r *DescribeMachinesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeMachinesRequest) ToJsonString ¶
func (r *DescribeMachinesRequest) ToJsonString() string
type DescribeMachinesRequestParams ¶
type DescribeMachinesRequestParams struct { // 查询的机器组ID GroupId *string `json:"GroupId,omitnil" name:"GroupId"` }
Predefined struct for user
type DescribeMachinesResponse ¶
type DescribeMachinesResponse struct { *tchttp.BaseResponse Response *DescribeMachinesResponseParams `json:"Response"` }
func NewDescribeMachinesResponse ¶
func NewDescribeMachinesResponse() (response *DescribeMachinesResponse)
func (*DescribeMachinesResponse) FromJsonString ¶
func (r *DescribeMachinesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeMachinesResponse) ToJsonString ¶
func (r *DescribeMachinesResponse) ToJsonString() string
type DescribeMachinesResponseParams ¶
type DescribeMachinesResponseParams struct { // 机器状态信息组 Machines []*MachineInfo `json:"Machines,omitnil" name:"Machines"` // 机器组是否开启自动升级功能 AutoUpdate *int64 `json:"AutoUpdate,omitnil" name:"AutoUpdate"` // 机器组自动升级功能预设开始时间 UpdateStartTime *string `json:"UpdateStartTime,omitnil" name:"UpdateStartTime"` // 机器组自动升级功能预设结束时间 UpdateEndTime *string `json:"UpdateEndTime,omitnil" name:"UpdateEndTime"` // 当前用户可用最新的Loglistener版本 LatestAgentVersion *string `json:"LatestAgentVersion,omitnil" name:"LatestAgentVersion"` // 是否开启服务日志 ServiceLogging *bool `json:"ServiceLogging,omitnil" name:"ServiceLogging"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribePartitionsRequest ¶
type DescribePartitionsRequest struct { *tchttp.BaseRequest // 日志主题ID TopicId *string `json:"TopicId,omitnil" name:"TopicId"` }
func NewDescribePartitionsRequest ¶
func NewDescribePartitionsRequest() (request *DescribePartitionsRequest)
func (*DescribePartitionsRequest) FromJsonString ¶
func (r *DescribePartitionsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribePartitionsRequest) ToJsonString ¶
func (r *DescribePartitionsRequest) ToJsonString() string
type DescribePartitionsRequestParams ¶
type DescribePartitionsRequestParams struct { // 日志主题ID TopicId *string `json:"TopicId,omitnil" name:"TopicId"` }
Predefined struct for user
type DescribePartitionsResponse ¶
type DescribePartitionsResponse struct { *tchttp.BaseResponse Response *DescribePartitionsResponseParams `json:"Response"` }
func NewDescribePartitionsResponse ¶
func NewDescribePartitionsResponse() (response *DescribePartitionsResponse)
func (*DescribePartitionsResponse) FromJsonString ¶
func (r *DescribePartitionsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribePartitionsResponse) ToJsonString ¶
func (r *DescribePartitionsResponse) ToJsonString() string
type DescribePartitionsResponseParams ¶
type DescribePartitionsResponseParams struct { // 分区列表 Partitions []*PartitionInfo `json:"Partitions,omitnil" name:"Partitions"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeScheduledSqlInfoRequest ¶
type DescribeScheduledSqlInfoRequest struct { *tchttp.BaseRequest // 分页的偏移量,默认值为0。 Offset *uint64 `json:"Offset,omitnil" name:"Offset"` // 分页单页限制数目,默认值为20,最大值100。 Limit *uint64 `json:"Limit,omitnil" name:"Limit"` // 任务名称。 Name *string `json:"Name,omitnil" name:"Name"` // 任务id。 TaskId *string `json:"TaskId,omitnil" 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" name:"Filters"` }
func NewDescribeScheduledSqlInfoRequest ¶
func NewDescribeScheduledSqlInfoRequest() (request *DescribeScheduledSqlInfoRequest)
func (*DescribeScheduledSqlInfoRequest) FromJsonString ¶
func (r *DescribeScheduledSqlInfoRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeScheduledSqlInfoRequest) ToJsonString ¶
func (r *DescribeScheduledSqlInfoRequest) ToJsonString() string
type DescribeScheduledSqlInfoRequestParams ¶
type DescribeScheduledSqlInfoRequestParams struct { // 分页的偏移量,默认值为0。 Offset *uint64 `json:"Offset,omitnil" name:"Offset"` // 分页单页限制数目,默认值为20,最大值100。 Limit *uint64 `json:"Limit,omitnil" name:"Limit"` // 任务名称。 Name *string `json:"Name,omitnil" name:"Name"` // 任务id。 TaskId *string `json:"TaskId,omitnil" 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" name:"Filters"` }
Predefined struct for user
type DescribeScheduledSqlInfoResponse ¶
type DescribeScheduledSqlInfoResponse struct { *tchttp.BaseResponse Response *DescribeScheduledSqlInfoResponseParams `json:"Response"` }
func NewDescribeScheduledSqlInfoResponse ¶
func NewDescribeScheduledSqlInfoResponse() (response *DescribeScheduledSqlInfoResponse)
func (*DescribeScheduledSqlInfoResponse) FromJsonString ¶
func (r *DescribeScheduledSqlInfoResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeScheduledSqlInfoResponse) ToJsonString ¶
func (r *DescribeScheduledSqlInfoResponse) ToJsonString() string
type DescribeScheduledSqlInfoResponseParams ¶
type DescribeScheduledSqlInfoResponseParams struct { // ScheduledSQL任务列表信息 ScheduledSqlTaskInfos []*ScheduledSqlTaskInfo `json:"ScheduledSqlTaskInfos,omitnil" name:"ScheduledSqlTaskInfos"` // 任务总次数 TotalCount *uint64 `json:"TotalCount,omitnil" name:"TotalCount"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeShipperTasksRequest ¶
type DescribeShipperTasksRequest struct { *tchttp.BaseRequest // 投递规则ID ShipperId *string `json:"ShipperId,omitnil" name:"ShipperId"` // 查询的开始时间戳,支持最近3天的查询, 毫秒 StartTime *int64 `json:"StartTime,omitnil" name:"StartTime"` // 查询的结束时间戳, 毫秒 EndTime *int64 `json:"EndTime,omitnil" name:"EndTime"` }
func NewDescribeShipperTasksRequest ¶
func NewDescribeShipperTasksRequest() (request *DescribeShipperTasksRequest)
func (*DescribeShipperTasksRequest) FromJsonString ¶
func (r *DescribeShipperTasksRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeShipperTasksRequest) ToJsonString ¶
func (r *DescribeShipperTasksRequest) ToJsonString() string
type DescribeShipperTasksRequestParams ¶
type DescribeShipperTasksRequestParams struct { // 投递规则ID ShipperId *string `json:"ShipperId,omitnil" name:"ShipperId"` // 查询的开始时间戳,支持最近3天的查询, 毫秒 StartTime *int64 `json:"StartTime,omitnil" name:"StartTime"` // 查询的结束时间戳, 毫秒 EndTime *int64 `json:"EndTime,omitnil" name:"EndTime"` }
Predefined struct for user
type DescribeShipperTasksResponse ¶
type DescribeShipperTasksResponse struct { *tchttp.BaseResponse Response *DescribeShipperTasksResponseParams `json:"Response"` }
func NewDescribeShipperTasksResponse ¶
func NewDescribeShipperTasksResponse() (response *DescribeShipperTasksResponse)
func (*DescribeShipperTasksResponse) FromJsonString ¶
func (r *DescribeShipperTasksResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeShipperTasksResponse) ToJsonString ¶
func (r *DescribeShipperTasksResponse) ToJsonString() string
type DescribeShipperTasksResponseParams ¶
type DescribeShipperTasksResponseParams struct { // 投递任务列表 // 注意:此字段可能返回 null,表示取不到有效值。 Tasks []*ShipperTaskInfo `json:"Tasks,omitnil" name:"Tasks"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeShippersRequest ¶
type DescribeShippersRequest struct { *tchttp.BaseRequest // - shipperName:按照【投递规则名称】进行过滤。类型:String。必选:否 // - shipperId:按照【投递规则ID】进行过滤。类型:String。必选:否 // - topicId:按照【日志主题】进行过滤。类型:String。必选:否 // // 每次请求的Filters的上限为10,Filter.Values的上限为5。 Filters []*Filter `json:"Filters,omitnil" name:"Filters"` // 分页的偏移量,默认值为0 Offset *uint64 `json:"Offset,omitnil" name:"Offset"` // 分页单页的限制数目,默认值为20,最大值100 Limit *uint64 `json:"Limit,omitnil" name:"Limit"` }
func NewDescribeShippersRequest ¶
func NewDescribeShippersRequest() (request *DescribeShippersRequest)
func (*DescribeShippersRequest) FromJsonString ¶
func (r *DescribeShippersRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeShippersRequest) ToJsonString ¶
func (r *DescribeShippersRequest) ToJsonString() string
type DescribeShippersRequestParams ¶
type DescribeShippersRequestParams struct { // - shipperName:按照【投递规则名称】进行过滤。类型:String。必选:否 // - shipperId:按照【投递规则ID】进行过滤。类型:String。必选:否 // - topicId:按照【日志主题】进行过滤。类型:String。必选:否 // // 每次请求的Filters的上限为10,Filter.Values的上限为5。 Filters []*Filter `json:"Filters,omitnil" name:"Filters"` // 分页的偏移量,默认值为0 Offset *uint64 `json:"Offset,omitnil" name:"Offset"` // 分页单页的限制数目,默认值为20,最大值100 Limit *uint64 `json:"Limit,omitnil" name:"Limit"` }
Predefined struct for user
type DescribeShippersResponse ¶
type DescribeShippersResponse struct { *tchttp.BaseResponse Response *DescribeShippersResponseParams `json:"Response"` }
func NewDescribeShippersResponse ¶
func NewDescribeShippersResponse() (response *DescribeShippersResponse)
func (*DescribeShippersResponse) FromJsonString ¶
func (r *DescribeShippersResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeShippersResponse) ToJsonString ¶
func (r *DescribeShippersResponse) ToJsonString() string
type DescribeShippersResponseParams ¶
type DescribeShippersResponseParams struct { // 投递规则列表 // 注意:此字段可能返回 null,表示取不到有效值。 Shippers []*ShipperInfo `json:"Shippers,omitnil" name:"Shippers"` // 本次查询获取到的总数 TotalCount *uint64 `json:"TotalCount,omitnil" name:"TotalCount"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil" 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" name:"Filters"` // 分页的偏移量,默认值为0。 Offset *int64 `json:"Offset,omitnil" name:"Offset"` // 分页单页限制数目,默认值为20,最大值100。 Limit *int64 `json:"Limit,omitnil" name:"Limit"` // 控制Filters相关字段是否为精确匹配。 // - 0: 默认值,topicName和logsetName模糊匹配 // - 1: topicName精确匹配 // - 2: logsetName精确匹配 // - 3: topicName和logsetName都精确匹配 PreciseSearch *uint64 `json:"PreciseSearch,omitnil" name:"PreciseSearch"` // 主题类型 // - 0:日志主题,默认值 // - 1:指标主题 BizType *uint64 `json:"BizType,omitnil" name:"BizType"` }
func NewDescribeTopicsRequest ¶
func NewDescribeTopicsRequest() (request *DescribeTopicsRequest)
func (*DescribeTopicsRequest) FromJsonString ¶
func (r *DescribeTopicsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeTopicsRequest) ToJsonString ¶
func (r *DescribeTopicsRequest) ToJsonString() string
type DescribeTopicsRequestParams ¶
type DescribeTopicsRequestParams struct { // <li> topicName按照【日志主题名称】进行过滤,默认为模糊匹配,可使用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" name:"Filters"` // 分页的偏移量,默认值为0。 Offset *int64 `json:"Offset,omitnil" name:"Offset"` // 分页单页限制数目,默认值为20,最大值100。 Limit *int64 `json:"Limit,omitnil" name:"Limit"` // 控制Filters相关字段是否为精确匹配。 // - 0: 默认值,topicName和logsetName模糊匹配 // - 1: topicName精确匹配 // - 2: logsetName精确匹配 // - 3: topicName和logsetName都精确匹配 PreciseSearch *uint64 `json:"PreciseSearch,omitnil" name:"PreciseSearch"` // 主题类型 // - 0:日志主题,默认值 // - 1:指标主题 BizType *uint64 `json:"BizType,omitnil" name:"BizType"` }
Predefined struct for user
type DescribeTopicsResponse ¶
type DescribeTopicsResponse struct { *tchttp.BaseResponse Response *DescribeTopicsResponseParams `json:"Response"` }
func NewDescribeTopicsResponse ¶
func NewDescribeTopicsResponse() (response *DescribeTopicsResponse)
func (*DescribeTopicsResponse) FromJsonString ¶
func (r *DescribeTopicsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeTopicsResponse) ToJsonString ¶
func (r *DescribeTopicsResponse) ToJsonString() string
type DescribeTopicsResponseParams ¶
type DescribeTopicsResponseParams struct { // 日志主题列表 Topics []*TopicInfo `json:"Topics,omitnil" name:"Topics"` // 总数目 TotalCount *int64 `json:"TotalCount,omitnil" name:"TotalCount"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DynamicIndex ¶
type DynamicIndex struct { // 动态索引配置开关 // 注意:此字段可能返回 null,表示取不到有效值。 Status *bool `json:"Status,omitnil" name:"Status"` }
type EventLog ¶
type EventLog struct { // 事件通道,支持Application,Security,Setup,System,ALL EventChannel *string `json:"EventChannel,omitnil" name:"EventChannel"` // 时间类型,1:用户自定义,2:当前时间 TimeType *uint64 `json:"TimeType,omitnil" name:"TimeType"` // 时间,用户选择自定义时间类型时,需要指定时间 Timestamp *uint64 `json:"Timestamp,omitnil" name:"Timestamp"` // 事件ID过滤列表 EventIDs []*string `json:"EventIDs,omitnil" name:"EventIDs"` }
type ExcludePathInfo ¶
type ExportInfo ¶
type ExportInfo struct { // 日志主题ID TopicId *string `json:"TopicId,omitnil" name:"TopicId"` // 日志导出任务ID ExportId *string `json:"ExportId,omitnil" name:"ExportId"` // 日志导出查询语句 Query *string `json:"Query,omitnil" name:"Query"` // 日志导出文件名 FileName *string `json:"FileName,omitnil" name:"FileName"` // 日志文件大小 FileSize *uint64 `json:"FileSize,omitnil" name:"FileSize"` // 日志导出时间排序 Order *string `json:"Order,omitnil" name:"Order"` // 日志导出格式 Format *string `json:"Format,omitnil" name:"Format"` // 日志导出数量 Count *uint64 `json:"Count,omitnil" name:"Count"` // 日志下载状态。Processing:导出正在进行中,Completed:导出完成,Failed:导出失败,Expired:日志导出已过期(三天有效期), Queuing 排队中 Status *string `json:"Status,omitnil" name:"Status"` // 日志导出起始时间 From *int64 `json:"From,omitnil" name:"From"` // 日志导出结束时间 To *int64 `json:"To,omitnil" name:"To"` // 日志导出路径 CosPath *string `json:"CosPath,omitnil" name:"CosPath"` // 日志导出创建时间 CreateTime *string `json:"CreateTime,omitnil" name:"CreateTime"` // 语法规则。 默认值为0。 // 0:Lucene语法,1:CQL语法。 SyntaxRule *uint64 `json:"SyntaxRule,omitnil" name:"SyntaxRule"` }
type ExtractRuleInfo ¶
type ExtractRuleInfo struct { // 时间字段的key名字,time_key和time_format必须成对出现 // 注意:此字段可能返回 null,表示取不到有效值。 TimeKey *string `json:"TimeKey,omitnil" name:"TimeKey"` // 时间字段的格式,参考c语言的strftime函数对于时间的格式说明输出参数 // 注意:此字段可能返回 null,表示取不到有效值。 TimeFormat *string `json:"TimeFormat,omitnil" name:"TimeFormat"` // 分隔符类型日志的分隔符,只有log_type为delimiter_log时有效 // 注意:此字段可能返回 null,表示取不到有效值。 Delimiter *string `json:"Delimiter,omitnil" name:"Delimiter"` // 整条日志匹配规则,只有log_type为fullregex_log时有效 // 注意:此字段可能返回 null,表示取不到有效值。 LogRegex *string `json:"LogRegex,omitnil" name:"LogRegex"` // 行首匹配规则,只有log_type为multiline_log或fullregex_log时有效 // 注意:此字段可能返回 null,表示取不到有效值。 BeginRegex *string `json:"BeginRegex,omitnil" name:"BeginRegex"` // 取的每个字段的key名字,为空的key代表丢弃这个字段,只有log_type为delimiter_log时有效,json_log的日志使用json本身的key。限制100个。 // 注意:此字段可能返回 null,表示取不到有效值。 Keys []*string `json:"Keys,omitnil" name:"Keys"` // 需要过滤日志的key,及其对应的regex // 注意:此字段可能返回 null,表示取不到有效值。 FilterKeyRegex []*KeyRegexInfo `json:"FilterKeyRegex,omitnil" name:"FilterKeyRegex"` // 解析失败日志是否上传,true表示上传,false表示不上传 // 注意:此字段可能返回 null,表示取不到有效值。 UnMatchUpLoadSwitch *bool `json:"UnMatchUpLoadSwitch,omitnil" name:"UnMatchUpLoadSwitch"` // 失败日志的key // 注意:此字段可能返回 null,表示取不到有效值。 UnMatchLogKey *string `json:"UnMatchLogKey,omitnil" name:"UnMatchLogKey"` // 增量采集模式下的回溯数据量,默认-1(全量采集) // 注意:此字段可能返回 null,表示取不到有效值。 Backtracking *int64 `json:"Backtracking,omitnil" name:"Backtracking"` // 是否为Gbk编码. 0: 否, 1: 是 // 注意:此字段可能返回 null,表示取不到有效值。 IsGBK *int64 `json:"IsGBK,omitnil" name:"IsGBK"` // 是否为标准json. 0: 否, 1: 是 // 注意:此字段可能返回 null,表示取不到有效值。 JsonStandard *int64 `json:"JsonStandard,omitnil" name:"JsonStandard"` // syslog传输协议,取值为tcp或者udp。 // 该字段适用于:创建采集规则配置、修改采集规则配置 // 注意:此字段可能返回 null,表示取不到有效值。 Protocol *string `json:"Protocol,omitnil" name:"Protocol"` // syslog系统日志采集指定采集器监听的地址和端口 ,形式:[ip]:[port]。举例:127.0.0.1:9000 // 该字段适用于:创建采集规则配置、修改采集规则配置 // 注意:此字段可能返回 null,表示取不到有效值。 Address *string `json:"Address,omitnil" name:"Address"` // rfc3164:指定系统日志采集使用RFC3164协议解析日志。 // rfc5424:指定系统日志采集使用RFC5424协议解析日志。 // auto:自动匹配rfc3164或者rfc5424其中一种协议 // 该字段适用于:创建采集规则配置、修改采集规则配置 // 注意:此字段可能返回 null,表示取不到有效值。 ParseProtocol *string `json:"ParseProtocol,omitnil" name:"ParseProtocol"` // 元数据类型,0: 不使用元数据信息,1:使用机器组元数据,2:使用用户自定义元数据,3:使用采集配置路径, MetadataType *int64 `json:"MetadataType,omitnil" name:"MetadataType"` // 采集配置路径正则表达式,MetadataType为3时必填 // 注意:此字段可能返回 null,表示取不到有效值。 PathRegex *string `json:"PathRegex,omitnil" name:"PathRegex"` // 用户自定义元数据信息,MetadataType为2时必填 MetaTags []*MetaTagInfo `json:"MetaTags,omitnil" name:"MetaTags"` // Windows事件日志采集 EventLogRules []*EventLog `json:"EventLogRules,omitnil" name:"EventLogRules"` }
type FilePathInfo ¶
type FilterRuleInfo ¶
type FullTextInfo ¶
type FullTextInfo struct { // 是否大小写敏感 CaseSensitive *bool `json:"CaseSensitive,omitnil" name:"CaseSensitive"` // 全文索引的分词符,其中的每个字符代表一个分词符; // 仅支持英文符号、\n\t\r及转义符\; // 注意:\n\t\r本身已被转义,直接使用双引号包裹即可作为入参,无需再次转义。使用API Explorer进行调试时请使用JSON参数输入方式,以避免\n\t\r被重复转义 Tokenizer *string `json:"Tokenizer,omitnil" name:"Tokenizer"` // 是否包含中文 // 注意:此字段可能返回 null,表示取不到有效值。 ContainZH *bool `json:"ContainZH,omitnil" name:"ContainZH"` }
type GetAlarmLogRequest ¶
type GetAlarmLogRequest struct { *tchttp.BaseRequest // 要查询的执行详情的起始时间,Unix时间戳,单位ms From *int64 `json:"From,omitnil" name:"From"` // 要查询的执行详情的结束时间,Unix时间戳,单位ms To *int64 `json:"To,omitnil" 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" name:"Query"` // 单次查询返回的执行详情条数,最大值为1000 Limit *int64 `json:"Limit,omitnil" name:"Limit"` // 加载更多详情时使用,透传上次返回的Context值,获取后续的执行详情 Context *string `json:"Context,omitnil" name:"Context"` // 执行详情是否按时间排序返回;可选值:asc(升序)、desc(降序),默认为 desc Sort *string `json:"Sort,omitnil" name:"Sort"` // 如果Query包含SQL语句,UseNewAnalysis为true时响应参数AnalysisRecords和Columns有效, UseNewAnalysis为false时响应参数AnalysisResults和ColNames有效 UseNewAnalysis *bool `json:"UseNewAnalysis,omitnil" name:"UseNewAnalysis"` }
func NewGetAlarmLogRequest ¶
func NewGetAlarmLogRequest() (request *GetAlarmLogRequest)
func (*GetAlarmLogRequest) FromJsonString ¶
func (r *GetAlarmLogRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*GetAlarmLogRequest) ToJsonString ¶
func (r *GetAlarmLogRequest) ToJsonString() string
type GetAlarmLogRequestParams ¶
type GetAlarmLogRequestParams struct { // 要查询的执行详情的起始时间,Unix时间戳,单位ms From *int64 `json:"From,omitnil" name:"From"` // 要查询的执行详情的结束时间,Unix时间戳,单位ms To *int64 `json:"To,omitnil" 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" name:"Query"` // 单次查询返回的执行详情条数,最大值为1000 Limit *int64 `json:"Limit,omitnil" name:"Limit"` // 加载更多详情时使用,透传上次返回的Context值,获取后续的执行详情 Context *string `json:"Context,omitnil" name:"Context"` // 执行详情是否按时间排序返回;可选值:asc(升序)、desc(降序),默认为 desc Sort *string `json:"Sort,omitnil" name:"Sort"` // 如果Query包含SQL语句,UseNewAnalysis为true时响应参数AnalysisRecords和Columns有效, UseNewAnalysis为false时响应参数AnalysisResults和ColNames有效 UseNewAnalysis *bool `json:"UseNewAnalysis,omitnil" name:"UseNewAnalysis"` }
Predefined struct for user
type GetAlarmLogResponse ¶
type GetAlarmLogResponse struct { *tchttp.BaseResponse Response *GetAlarmLogResponseParams `json:"Response"` }
func NewGetAlarmLogResponse ¶
func NewGetAlarmLogResponse() (response *GetAlarmLogResponse)
func (*GetAlarmLogResponse) FromJsonString ¶
func (r *GetAlarmLogResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*GetAlarmLogResponse) ToJsonString ¶
func (r *GetAlarmLogResponse) ToJsonString() string
type GetAlarmLogResponseParams ¶
type GetAlarmLogResponseParams struct { // 加载后续详情的Context Context *string `json:"Context,omitnil" name:"Context"` // 指定时间范围内的告警执行详情是否完整返回 ListOver *bool `json:"ListOver,omitnil" name:"ListOver"` // 返回的结果是否为SQL分析结果 Analysis *bool `json:"Analysis,omitnil" name:"Analysis"` // 分析结果的列名,如果Query语句有SQL查询,则返回查询字段的列名; // 否则为空。 // 注意:此字段可能返回 null,表示取不到有效值。 ColNames []*string `json:"ColNames,omitnil" name:"ColNames"` // 执行详情查询结果。 // // 当Query字段无SQL语句时,返回查询结果。 // 当Query字段有SQL语句时,可能返回null。 // 注意:此字段可能返回 null,表示取不到有效值。 Results []*LogInfo `json:"Results,omitnil" name:"Results"` // 执行详情统计分析结果。当Query字段有SQL语句时,返回sql统计结果,否则可能返回null。 // // 注意:此字段可能返回 null,表示取不到有效值。 AnalysisResults []*LogItems `json:"AnalysisResults,omitnil" name:"AnalysisResults"` // 执行详情统计分析结果; UseNewAnalysis为true有效 // 注意:此字段可能返回 null,表示取不到有效值。 AnalysisRecords []*string `json:"AnalysisRecords,omitnil" name:"AnalysisRecords"` // 分析结果的列名, UseNewAnalysis为true有效 // 注意:此字段可能返回 null,表示取不到有效值。 Columns []*Column `json:"Columns,omitnil" name:"Columns"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type HighLightItem ¶
type HistogramInfo ¶
type HostFileInfo ¶
type JsonInfo ¶
type JsonInfo struct { // 启用标志 EnableTag *bool `json:"EnableTag,omitnil" name:"EnableTag"` // 元数据信息列表, 可选值为 __SOURCE__、__FILENAME__、__TIMESTAMP__、__HOSTNAME__。 // 注意:此字段可能返回 null,表示取不到有效值。 MetaFields []*string `json:"MetaFields,omitnil" name:"MetaFields"` // 投递Json格式,0:字符串方式投递;1:以结构化方式投递 // 注意:此字段可能返回 null,表示取不到有效值。 JsonType *int64 `json:"JsonType,omitnil" name:"JsonType"` }
type KafkaConsumerContent ¶
type KafkaConsumerContent struct { // 消费格式 0:全文;1:json Format *int64 `json:"Format,omitnil" name:"Format"` // 是否投递 TAG 信息 // Format为0时,此字段不需要赋值 EnableTag *bool `json:"EnableTag,omitnil" name:"EnableTag"` // 元数据信息列表, 可选值为:\_\_SOURCE\_\_、\_\_FILENAME\_\_ // 、\_\_TIMESTAMP\_\_、\_\_HOSTNAME\_\_、\_\_PKGID\_\_ // Format为0时,此字段不需要赋值 MetaFields []*string `json:"MetaFields,omitnil" name:"MetaFields"` // tag数据处理方式: // 1:不平铺(默认值) // 2:平铺 // 注意:此字段可能返回 null,表示取不到有效值。 TagTransaction *int64 `json:"TagTransaction,omitnil" name:"TagTransaction"` // 消费数据Json格式: // 1:不转义(默认格式) // 2:转义 JsonType *int64 `json:"JsonType,omitnil" name:"JsonType"` }
type KafkaProtocolInfo ¶
type KafkaProtocolInfo struct { // 协议类型,支持的协议类型包括 plaintext、sasl_plaintext 或 sasl_ssl。建议使用 sasl_ssl,此协议会进行连接加密同时需要用户认证。 // 入参必填 // 注意:此字段可能返回 null,表示取不到有效值。 Protocol *string `json:"Protocol,omitnil" name:"Protocol"` // 加密类型,支持 PLAIN、SCRAM-SHA-256 或 SCRAM-SHA-512。 // 当Protocol为sasl_plaintext或sasl_ssl时必填 // 注意:此字段可能返回 null,表示取不到有效值。 Mechanism *string `json:"Mechanism,omitnil" name:"Mechanism"` // 用户名。 // 当Protocol为sasl_plaintext或sasl_ssl时必填 // 注意:此字段可能返回 null,表示取不到有效值。 UserName *string `json:"UserName,omitnil" name:"UserName"` // 用户密码。 // 当Protocol为sasl_plaintext或sasl_ssl时必填 // 注意:此字段可能返回 null,表示取不到有效值。 Password *string `json:"Password,omitnil" name:"Password"` }
type KafkaRechargeInfo ¶
type KafkaRechargeInfo struct { // 主键ID // 注意:此字段可能返回 null,表示取不到有效值。 Id *string `json:"Id,omitnil" name:"Id"` // 日志主题ID // 注意:此字段可能返回 null,表示取不到有效值。 TopicId *string `json:"TopicId,omitnil" name:"TopicId"` // Kafka导入任务名称 // 注意:此字段可能返回 null,表示取不到有效值。 Name *string `json:"Name,omitnil" name:"Name"` // 导入Kafka类型,0: 腾讯云CKafka,1: 用户自建Kafka // 注意:此字段可能返回 null,表示取不到有效值。 KafkaType *uint64 `json:"KafkaType,omitnil" name:"KafkaType"` // 腾讯云CKafka实例ID,KafkaType为0时必填 // 注意:此字段可能返回 null,表示取不到有效值。 KafkaInstance *string `json:"KafkaInstance,omitnil" name:"KafkaInstance"` // 服务地址 // 注意:此字段可能返回 null,表示取不到有效值。 ServerAddr *string `json:"ServerAddr,omitnil" name:"ServerAddr"` // ServerAddr是否为加密连接 // 注意:此字段可能返回 null,表示取不到有效值。 IsEncryptionAddr *bool `json:"IsEncryptionAddr,omitnil" name:"IsEncryptionAddr"` // 加密访问协议,IsEncryptionAddr参数为true时必填 Protocol *KafkaProtocolInfo `json:"Protocol,omitnil" name:"Protocol"` // 用户需要导入的Kafka相关topic列表,多个topic之间使用半角逗号隔开 // 注意:此字段可能返回 null,表示取不到有效值。 UserKafkaTopics *string `json:"UserKafkaTopics,omitnil" name:"UserKafkaTopics"` // 用户Kafka消费组名称 // 注意:此字段可能返回 null,表示取不到有效值。 ConsumerGroupName *string `json:"ConsumerGroupName,omitnil" name:"ConsumerGroupName"` // 状态 status 1: 运行中, 2: 暂停 ... // 注意:此字段可能返回 null,表示取不到有效值。 Status *int64 `json:"Status,omitnil" name:"Status"` // 导入数据位置,-2:最早(默认),-1:最晚 // 注意:此字段可能返回 null,表示取不到有效值。 Offset *int64 `json:"Offset,omitnil" name:"Offset"` // 创建时间 // 注意:此字段可能返回 null,表示取不到有效值。 CreateTime *string `json:"CreateTime,omitnil" name:"CreateTime"` // 更新时间 // 注意:此字段可能返回 null,表示取不到有效值。 UpdateTime *string `json:"UpdateTime,omitnil" name:"UpdateTime"` // 日志导入规则 // 注意:此字段可能返回 null,表示取不到有效值。 LogRechargeRule *LogRechargeRuleInfo `json:"LogRechargeRule,omitnil" name:"LogRechargeRule"` }
type KeyRegexInfo ¶
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" name:"Key"` // 字段的索引描述信息 Value *ValueInfo `json:"Value,omitnil" name:"Value"` }
type LogContextInfo ¶
type LogContextInfo struct { // 日志来源设备 Source *string `json:"Source,omitnil" name:"Source"` // 采集路径 Filename *string `json:"Filename,omitnil" name:"Filename"` // 日志内容 Content *string `json:"Content,omitnil" name:"Content"` // 日志包序号 PkgId *string `json:"PkgId,omitnil" name:"PkgId"` // 日志包内一条日志的序号 PkgLogId *int64 `json:"PkgLogId,omitnil" name:"PkgLogId"` // 日志时间戳 BTime *int64 `json:"BTime,omitnil" name:"BTime"` // 日志来源主机名称 // 注意:此字段可能返回 null,表示取不到有效值。 HostName *string `json:"HostName,omitnil" name:"HostName"` // 原始日志(仅在日志创建索引异常时有值) // 注意:此字段可能返回 null,表示取不到有效值。 RawLog *string `json:"RawLog,omitnil" name:"RawLog"` // 日志创建索引异常原因(仅在日志创建索引异常时有值) // 注意:此字段可能返回 null,表示取不到有效值。 IndexStatus *string `json:"IndexStatus,omitnil" name:"IndexStatus"` // 日志内容的高亮描述信息 // 注意:此字段可能返回 null,表示取不到有效值。 HighLights []*HighLightItem `json:"HighLights,omitnil" name:"HighLights"` }
type LogInfo ¶
type LogInfo struct { // 日志时间,单位ms Time *int64 `json:"Time,omitnil" name:"Time"` // 日志主题ID TopicId *string `json:"TopicId,omitnil" name:"TopicId"` // 日志主题名称 TopicName *string `json:"TopicName,omitnil" name:"TopicName"` // 日志来源IP Source *string `json:"Source,omitnil" name:"Source"` // 日志文件名称 FileName *string `json:"FileName,omitnil" name:"FileName"` // 日志上报请求包的ID PkgId *string `json:"PkgId,omitnil" name:"PkgId"` // 请求包内日志的ID PkgLogId *string `json:"PkgLogId,omitnil" name:"PkgLogId"` // 日志内容的Json序列化字符串 // 注意:此字段可能返回 null,表示取不到有效值。 LogJson *string `json:"LogJson,omitnil" name:"LogJson"` // 日志来源主机名称 // 注意:此字段可能返回 null,表示取不到有效值。 HostName *string `json:"HostName,omitnil" name:"HostName"` // 原始日志(仅在日志创建索引异常时有值) // 注意:此字段可能返回 null,表示取不到有效值。 RawLog *string `json:"RawLog,omitnil" name:"RawLog"` // 日志创建索引异常原因(仅在日志创建索引异常时有值) // 注意:此字段可能返回 null,表示取不到有效值。 IndexStatus *string `json:"IndexStatus,omitnil" name:"IndexStatus"` }
type LogItems ¶
type LogItems struct { // 分析结果返回的KV数据对 Data []*LogItem `json:"Data,omitnil" name:"Data"` }
type LogRechargeRuleInfo ¶
type LogRechargeRuleInfo struct { // 导入类型,支持json_log:json格式日志,minimalist_log: 单行全文,fullregex_log: 单行完全正则 RechargeType *string `json:"RechargeType,omitnil" name:"RechargeType"` // 解析编码格式,0: UTF-8(默认值),1: GBK EncodingFormat *uint64 `json:"EncodingFormat,omitnil" name:"EncodingFormat"` // 使用默认时间,true:开启(默认值), flase:关闭 DefaultTimeSwitch *bool `json:"DefaultTimeSwitch,omitnil" name:"DefaultTimeSwitch"` // 整条日志匹配规则,只有RechargeType为fullregex_log时有效 // 注意:此字段可能返回 null,表示取不到有效值。 LogRegex *string `json:"LogRegex,omitnil" name:"LogRegex"` // 解析失败日志是否上传,true表示上传,false表示不上传 UnMatchLogSwitch *bool `json:"UnMatchLogSwitch,omitnil" name:"UnMatchLogSwitch"` // 解析失败日志的键名称 // 注意:此字段可能返回 null,表示取不到有效值。 UnMatchLogKey *string `json:"UnMatchLogKey,omitnil" name:"UnMatchLogKey"` // 解析失败日志时间来源,0: 系统当前时间,1: Kafka消息时间戳 // 注意:此字段可能返回 null,表示取不到有效值。 UnMatchLogTimeSrc *uint64 `json:"UnMatchLogTimeSrc,omitnil" name:"UnMatchLogTimeSrc"` // 默认时间来源,0: 系统当前时间,1: Kafka消息时间戳 // 注意:此字段可能返回 null,表示取不到有效值。 DefaultTimeSrc *uint64 `json:"DefaultTimeSrc,omitnil" name:"DefaultTimeSrc"` // 时间字段 // 注意:此字段可能返回 null,表示取不到有效值。 TimeKey *string `json:"TimeKey,omitnil" name:"TimeKey"` // 时间提取正则表达式 // 注意:此字段可能返回 null,表示取不到有效值。 TimeRegex *string `json:"TimeRegex,omitnil" name:"TimeRegex"` // 时间字段格式 // 注意:此字段可能返回 null,表示取不到有效值。 TimeFormat *string `json:"TimeFormat,omitnil" name:"TimeFormat"` // 时间字段时区 // 注意:此字段可能返回 null,表示取不到有效值。 TimeZone *string `json:"TimeZone,omitnil" name:"TimeZone"` // 元数据信息,Kafka导入支持kafka_topic,kafka_partition,kafka_offset,kafka_timestamp // 注意:此字段可能返回 null,表示取不到有效值。 Metadata []*string `json:"Metadata,omitnil" name:"Metadata"` // 日志Key列表,RechargeType为full_regex_log时必填 // 注意:此字段可能返回 null,表示取不到有效值。 Keys []*string `json:"Keys,omitnil" name:"Keys"` }
type LogsetInfo ¶
type LogsetInfo struct { // 日志集ID LogsetId *string `json:"LogsetId,omitnil" name:"LogsetId"` // 日志集名称 LogsetName *string `json:"LogsetName,omitnil" name:"LogsetName"` // 创建时间 CreateTime *string `json:"CreateTime,omitnil" name:"CreateTime"` // 云产品标识,日志集由其它云产品创建时,该字段会显示云产品名称,例如CDN、TKE // 注意:此字段可能返回 null,表示取不到有效值。 AssumerName *string `json:"AssumerName,omitnil" name:"AssumerName"` // 日志集绑定的标签 // 注意:此字段可能返回 null,表示取不到有效值。 Tags []*Tag `json:"Tags,omitnil" name:"Tags"` // 日志集下日志主题的数目 TopicCount *int64 `json:"TopicCount,omitnil" name:"TopicCount"` // 若AssumerName非空,则表示创建该日志集的服务方角色 RoleName *string `json:"RoleName,omitnil" name:"RoleName"` }
type MachineGroupInfo ¶
type MachineGroupInfo struct { // 机器组ID GroupId *string `json:"GroupId,omitnil" name:"GroupId"` // 机器组名称 GroupName *string `json:"GroupName,omitnil" name:"GroupName"` // 机器组类型 MachineGroupType *MachineGroupTypeInfo `json:"MachineGroupType,omitnil" name:"MachineGroupType"` // 创建时间 CreateTime *string `json:"CreateTime,omitnil" name:"CreateTime"` // 机器组绑定的标签列表 // 注意:此字段可能返回 null,表示取不到有效值。 Tags []*Tag `json:"Tags,omitnil" name:"Tags"` // 是否开启机器组自动更新 // 注意:此字段可能返回 null,表示取不到有效值。 AutoUpdate *string `json:"AutoUpdate,omitnil" name:"AutoUpdate"` // 升级开始时间,建议业务低峰期升级LogListener // 注意:此字段可能返回 null,表示取不到有效值。 UpdateStartTime *string `json:"UpdateStartTime,omitnil" name:"UpdateStartTime"` // 升级结束时间,建议业务低峰期升级LogListener // 注意:此字段可能返回 null,表示取不到有效值。 UpdateEndTime *string `json:"UpdateEndTime,omitnil" name:"UpdateEndTime"` // 是否开启服务日志,用于记录因Loglistener 服务自身产生的log,开启后,会创建内部日志集cls_service_logging和日志主题loglistener_status,loglistener_alarm,loglistener_business,不产生计费 // 注意:此字段可能返回 null,表示取不到有效值。 ServiceLogging *bool `json:"ServiceLogging,omitnil" name:"ServiceLogging"` // 机器组元数据信息列表 MetaTags []*MetaTagInfo `json:"MetaTags,omitnil" name:"MetaTags"` // 操作系统类型,0: Linux,1: windows OSType *uint64 `json:"OSType,omitnil" name:"OSType"` }
type MachineGroupTypeInfo ¶
type MachineInfo ¶
type MachineInfo struct { // 机器的IP Ip *string `json:"Ip,omitnil" name:"Ip"` // 机器实例ID // 注意:此字段可能返回 null,表示取不到有效值。 InstanceID *string `json:"InstanceID,omitnil" name:"InstanceID"` // 机器状态,0:异常,1:正常 Status *uint64 `json:"Status,omitnil" name:"Status"` // 机器离线时间,空为正常,异常返回具体时间 OfflineTime *string `json:"OfflineTime,omitnil" name:"OfflineTime"` // 机器是否开启自动升级。0:关闭,1:开启 AutoUpdate *int64 `json:"AutoUpdate,omitnil" name:"AutoUpdate"` // 机器当前版本号。 Version *string `json:"Version,omitnil" name:"Version"` // 机器升级功能状态。 UpdateStatus *int64 `json:"UpdateStatus,omitnil" name:"UpdateStatus"` // 机器升级结果标识。 ErrCode *int64 `json:"ErrCode,omitnil" name:"ErrCode"` // 机器升级结果信息。 ErrMsg *string `json:"ErrMsg,omitnil" name:"ErrMsg"` }
type MergePartitionRequest ¶
type MergePartitionRequest struct { *tchttp.BaseRequest // 日志主题ID TopicId *string `json:"TopicId,omitnil" name:"TopicId"` // 合并的PartitionId PartitionId *int64 `json:"PartitionId,omitnil" name:"PartitionId"` }
func NewMergePartitionRequest ¶
func NewMergePartitionRequest() (request *MergePartitionRequest)
func (*MergePartitionRequest) FromJsonString ¶
func (r *MergePartitionRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*MergePartitionRequest) ToJsonString ¶
func (r *MergePartitionRequest) ToJsonString() string
type MergePartitionRequestParams ¶
type MergePartitionRequestParams struct { // 日志主题ID TopicId *string `json:"TopicId,omitnil" name:"TopicId"` // 合并的PartitionId PartitionId *int64 `json:"PartitionId,omitnil" name:"PartitionId"` }
Predefined struct for user
type MergePartitionResponse ¶
type MergePartitionResponse struct { *tchttp.BaseResponse Response *MergePartitionResponseParams `json:"Response"` }
func NewMergePartitionResponse ¶
func NewMergePartitionResponse() (response *MergePartitionResponse)
func (*MergePartitionResponse) FromJsonString ¶
func (r *MergePartitionResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*MergePartitionResponse) ToJsonString ¶
func (r *MergePartitionResponse) ToJsonString() string
type MergePartitionResponseParams ¶
type MergePartitionResponseParams struct { // 合并结果集 Partitions []*PartitionInfo `json:"Partitions,omitnil" name:"Partitions"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type MetaTagInfo ¶
type MetricLabel ¶
type ModifyAlarmNoticeRequest ¶
type ModifyAlarmNoticeRequest struct { *tchttp.BaseRequest // 通知渠道组ID。 AlarmNoticeId *string `json:"AlarmNoticeId,omitnil" name:"AlarmNoticeId"` // 通知渠道组名称。 Name *string `json:"Name,omitnil" name:"Name"` // 通知类型。可选值: // <li> Trigger - 告警触发</li> // <li> Recovery - 告警恢复</li> // <li> All - 告警触发和告警恢复</li> Type *string `json:"Type,omitnil" name:"Type"` // 通知接收对象。 NoticeReceivers []*NoticeReceiver `json:"NoticeReceivers,omitnil" name:"NoticeReceivers"` // 接口回调信息(包括企业微信)。 WebCallbacks []*WebCallback `json:"WebCallbacks,omitnil" name:"WebCallbacks"` // 通知规则。 // // 注意: // // - Type、NoticeReceivers和WebCallbacks是一组配置,NoticeRules是另一组配置,2组配置互斥。 // - 传其中一组数据,则另一组数据置空。 NoticeRules []*NoticeRule `json:"NoticeRules,omitnil" name:"NoticeRules"` }
func NewModifyAlarmNoticeRequest ¶
func NewModifyAlarmNoticeRequest() (request *ModifyAlarmNoticeRequest)
func (*ModifyAlarmNoticeRequest) FromJsonString ¶
func (r *ModifyAlarmNoticeRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyAlarmNoticeRequest) ToJsonString ¶
func (r *ModifyAlarmNoticeRequest) ToJsonString() string
type ModifyAlarmNoticeRequestParams ¶
type ModifyAlarmNoticeRequestParams struct { // 通知渠道组ID。 AlarmNoticeId *string `json:"AlarmNoticeId,omitnil" name:"AlarmNoticeId"` // 通知渠道组名称。 Name *string `json:"Name,omitnil" name:"Name"` // 通知类型。可选值: // <li> Trigger - 告警触发</li> // <li> Recovery - 告警恢复</li> // <li> All - 告警触发和告警恢复</li> Type *string `json:"Type,omitnil" name:"Type"` // 通知接收对象。 NoticeReceivers []*NoticeReceiver `json:"NoticeReceivers,omitnil" name:"NoticeReceivers"` // 接口回调信息(包括企业微信)。 WebCallbacks []*WebCallback `json:"WebCallbacks,omitnil" name:"WebCallbacks"` // 通知规则。 // // 注意: // // - Type、NoticeReceivers和WebCallbacks是一组配置,NoticeRules是另一组配置,2组配置互斥。 // - 传其中一组数据,则另一组数据置空。 NoticeRules []*NoticeRule `json:"NoticeRules,omitnil" name:"NoticeRules"` }
Predefined struct for user
type ModifyAlarmNoticeResponse ¶
type ModifyAlarmNoticeResponse struct { *tchttp.BaseResponse Response *ModifyAlarmNoticeResponseParams `json:"Response"` }
func NewModifyAlarmNoticeResponse ¶
func NewModifyAlarmNoticeResponse() (response *ModifyAlarmNoticeResponse)
func (*ModifyAlarmNoticeResponse) FromJsonString ¶
func (r *ModifyAlarmNoticeResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyAlarmNoticeResponse) ToJsonString ¶
func (r *ModifyAlarmNoticeResponse) ToJsonString() string
type ModifyAlarmNoticeResponseParams ¶
type ModifyAlarmNoticeResponseParams struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type ModifyAlarmRequest ¶
type ModifyAlarmRequest struct { *tchttp.BaseRequest // 告警策略ID。 AlarmId *string `json:"AlarmId,omitnil" name:"AlarmId"` // 告警策略名称 Name *string `json:"Name,omitnil" name:"Name"` // 监控任务运行时间点。 MonitorTime *MonitorTime `json:"MonitorTime,omitnil" name:"MonitorTime"` // 触发条件。 // // 注意: // - Condition和AlarmLevel是一组配置,MultiConditions是另一组配置,2组配置互斥。 Condition *string `json:"Condition,omitnil" name:"Condition"` // 告警级别。 // // 0:警告(Warn);1:提醒(Info);2:紧急 (Critical) // // 注意: // - Condition和AlarmLevel是一组配置,MultiConditions是另一组配置,2组配置互斥。 AlarmLevel *uint64 `json:"AlarmLevel,omitnil" name:"AlarmLevel"` // 多触发条件。 // // 注意: // - Condition和AlarmLevel是一组配置,MultiConditions是另一组配置,2组配置互斥。 MultiConditions []*MultiCondition `json:"MultiConditions,omitnil" name:"MultiConditions"` // 持续周期。持续满足触发条件TriggerCount个周期后,再进行告警;最小值为1,最大值为10。 TriggerCount *int64 `json:"TriggerCount,omitnil" name:"TriggerCount"` // 告警重复的周期。单位是分钟。取值范围是0~1440。 AlarmPeriod *int64 `json:"AlarmPeriod,omitnil" name:"AlarmPeriod"` // 关联的告警通知模板列表。 AlarmNoticeIds []*string `json:"AlarmNoticeIds,omitnil" name:"AlarmNoticeIds"` // 监控对象列表。 AlarmTargets []*AlarmTarget `json:"AlarmTargets,omitnil" name:"AlarmTargets"` // 是否开启告警策略。 Status *bool `json:"Status,omitnil" name:"Status"` // 该参数已废弃,请使用Status参数控制是否开启告警策略。 Enable *bool `json:"Enable,omitnil" name:"Enable"` // 用户自定义告警内容 MessageTemplate *string `json:"MessageTemplate,omitnil" name:"MessageTemplate"` // 用户自定义回调 CallBack *CallBackInfo `json:"CallBack,omitnil" name:"CallBack"` // 多维分析 Analysis []*AnalysisDimensional `json:"Analysis,omitnil" name:"Analysis"` // 分组触发状态。true:开启,false:关闭(默认) GroupTriggerStatus *bool `json:"GroupTriggerStatus,omitnil" name:"GroupTriggerStatus"` // 分组触发条件。 GroupTriggerCondition []*string `json:"GroupTriggerCondition,omitnil" name:"GroupTriggerCondition"` // 标签描述列表,通过指定该参数可以同时绑定标签到相应的告警策略。最大支持10个标签键值对,并且不能有重复的键值对。 Tags []*Tag `json:"Tags,omitnil" name:"Tags"` // 监控对象类型。0:执行语句共用监控对象; 1:每个执行语句单独选择监控对象。 // 当值为1时,AlarmTargets元素个数不能超过10个,AlarmTargets中的Number必须是从1开始的连续正整数,不能重复。 MonitorObjectType *uint64 `json:"MonitorObjectType,omitnil" name:"MonitorObjectType"` // 告警附加分类信息列表。 // Classifications元素个数不能超过20个。 // Classifications元素的Key不能为空,不能重复,长度不能超过50个字符,符合正则 `^[a-z]([a-z0-9_]{0,49})$`。 // Classifications元素的Value长度不能超过200个字符。 Classifications []*AlarmClassification `json:"Classifications,omitnil" name:"Classifications"` }
func NewModifyAlarmRequest ¶
func NewModifyAlarmRequest() (request *ModifyAlarmRequest)
func (*ModifyAlarmRequest) FromJsonString ¶
func (r *ModifyAlarmRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyAlarmRequest) ToJsonString ¶
func (r *ModifyAlarmRequest) ToJsonString() string
type ModifyAlarmRequestParams ¶
type ModifyAlarmRequestParams struct { // 告警策略ID。 AlarmId *string `json:"AlarmId,omitnil" name:"AlarmId"` // 告警策略名称 Name *string `json:"Name,omitnil" name:"Name"` // 监控任务运行时间点。 MonitorTime *MonitorTime `json:"MonitorTime,omitnil" name:"MonitorTime"` // 触发条件。 // // 注意: // - Condition和AlarmLevel是一组配置,MultiConditions是另一组配置,2组配置互斥。 Condition *string `json:"Condition,omitnil" name:"Condition"` // 告警级别。 // // 0:警告(Warn);1:提醒(Info);2:紧急 (Critical) // // 注意: // - Condition和AlarmLevel是一组配置,MultiConditions是另一组配置,2组配置互斥。 AlarmLevel *uint64 `json:"AlarmLevel,omitnil" name:"AlarmLevel"` // 多触发条件。 // // 注意: // - Condition和AlarmLevel是一组配置,MultiConditions是另一组配置,2组配置互斥。 MultiConditions []*MultiCondition `json:"MultiConditions,omitnil" name:"MultiConditions"` // 持续周期。持续满足触发条件TriggerCount个周期后,再进行告警;最小值为1,最大值为10。 TriggerCount *int64 `json:"TriggerCount,omitnil" name:"TriggerCount"` // 告警重复的周期。单位是分钟。取值范围是0~1440。 AlarmPeriod *int64 `json:"AlarmPeriod,omitnil" name:"AlarmPeriod"` // 关联的告警通知模板列表。 AlarmNoticeIds []*string `json:"AlarmNoticeIds,omitnil" name:"AlarmNoticeIds"` // 监控对象列表。 AlarmTargets []*AlarmTarget `json:"AlarmTargets,omitnil" name:"AlarmTargets"` // 是否开启告警策略。 Status *bool `json:"Status,omitnil" name:"Status"` // 该参数已废弃,请使用Status参数控制是否开启告警策略。 Enable *bool `json:"Enable,omitnil" name:"Enable"` // 用户自定义告警内容 MessageTemplate *string `json:"MessageTemplate,omitnil" name:"MessageTemplate"` // 用户自定义回调 CallBack *CallBackInfo `json:"CallBack,omitnil" name:"CallBack"` // 多维分析 Analysis []*AnalysisDimensional `json:"Analysis,omitnil" name:"Analysis"` // 分组触发状态。true:开启,false:关闭(默认) GroupTriggerStatus *bool `json:"GroupTriggerStatus,omitnil" name:"GroupTriggerStatus"` // 分组触发条件。 GroupTriggerCondition []*string `json:"GroupTriggerCondition,omitnil" name:"GroupTriggerCondition"` // 标签描述列表,通过指定该参数可以同时绑定标签到相应的告警策略。最大支持10个标签键值对,并且不能有重复的键值对。 Tags []*Tag `json:"Tags,omitnil" name:"Tags"` // 监控对象类型。0:执行语句共用监控对象; 1:每个执行语句单独选择监控对象。 // 当值为1时,AlarmTargets元素个数不能超过10个,AlarmTargets中的Number必须是从1开始的连续正整数,不能重复。 MonitorObjectType *uint64 `json:"MonitorObjectType,omitnil" name:"MonitorObjectType"` // 告警附加分类信息列表。 // Classifications元素个数不能超过20个。 // Classifications元素的Key不能为空,不能重复,长度不能超过50个字符,符合正则 `^[a-z]([a-z0-9_]{0,49})$`。 // Classifications元素的Value长度不能超过200个字符。 Classifications []*AlarmClassification `json:"Classifications,omitnil" name:"Classifications"` }
Predefined struct for user
type ModifyAlarmResponse ¶
type ModifyAlarmResponse struct { *tchttp.BaseResponse Response *ModifyAlarmResponseParams `json:"Response"` }
func NewModifyAlarmResponse ¶
func NewModifyAlarmResponse() (response *ModifyAlarmResponse)
func (*ModifyAlarmResponse) FromJsonString ¶
func (r *ModifyAlarmResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyAlarmResponse) ToJsonString ¶
func (r *ModifyAlarmResponse) ToJsonString() string
type ModifyAlarmResponseParams ¶
type ModifyAlarmResponseParams struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type ModifyAlarmShieldRequest ¶
type ModifyAlarmShieldRequest struct { *tchttp.BaseRequest // 屏蔽规则ID。 TaskId *string `json:"TaskId,omitnil" name:"TaskId"` // 通知渠道组id。 AlarmNoticeId *string `json:"AlarmNoticeId,omitnil" name:"AlarmNoticeId"` // 屏蔽开始时间(秒级时间戳)。 StartTime *uint64 `json:"StartTime,omitnil" name:"StartTime"` // 屏蔽结束时间(秒级时间戳)。 EndTime *uint64 `json:"EndTime,omitnil" name:"EndTime"` // 屏蔽类型。1:屏蔽所有通知,2:按照Rule参数屏蔽匹配规则的通知。 Type *uint64 `json:"Type,omitnil" name:"Type"` // 屏蔽规则,当Type为2时必填。规则填写方式详见[产品文档](https://cloud.tencent.com/document/product/614/103178#rule)。 Rule *string `json:"Rule,omitnil" name:"Rule"` // 屏蔽原因。 Reason *string `json:"Reason,omitnil" name:"Reason"` // 规则状态。只有规则状态为生效中(status:1)时,才能将其修改为已失效(status:2)。 Status *uint64 `json:"Status,omitnil" name:"Status"` }
func NewModifyAlarmShieldRequest ¶
func NewModifyAlarmShieldRequest() (request *ModifyAlarmShieldRequest)
func (*ModifyAlarmShieldRequest) FromJsonString ¶
func (r *ModifyAlarmShieldRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyAlarmShieldRequest) ToJsonString ¶
func (r *ModifyAlarmShieldRequest) ToJsonString() string
type ModifyAlarmShieldRequestParams ¶
type ModifyAlarmShieldRequestParams struct { // 屏蔽规则ID。 TaskId *string `json:"TaskId,omitnil" name:"TaskId"` // 通知渠道组id。 AlarmNoticeId *string `json:"AlarmNoticeId,omitnil" name:"AlarmNoticeId"` // 屏蔽开始时间(秒级时间戳)。 StartTime *uint64 `json:"StartTime,omitnil" name:"StartTime"` // 屏蔽结束时间(秒级时间戳)。 EndTime *uint64 `json:"EndTime,omitnil" name:"EndTime"` // 屏蔽类型。1:屏蔽所有通知,2:按照Rule参数屏蔽匹配规则的通知。 Type *uint64 `json:"Type,omitnil" name:"Type"` // 屏蔽规则,当Type为2时必填。规则填写方式详见[产品文档](https://cloud.tencent.com/document/product/614/103178#rule)。 Rule *string `json:"Rule,omitnil" name:"Rule"` // 屏蔽原因。 Reason *string `json:"Reason,omitnil" name:"Reason"` // 规则状态。只有规则状态为生效中(status:1)时,才能将其修改为已失效(status:2)。 Status *uint64 `json:"Status,omitnil" name:"Status"` }
Predefined struct for user
type ModifyAlarmShieldResponse ¶
type ModifyAlarmShieldResponse struct { *tchttp.BaseResponse Response *ModifyAlarmShieldResponseParams `json:"Response"` }
func NewModifyAlarmShieldResponse ¶
func NewModifyAlarmShieldResponse() (response *ModifyAlarmShieldResponse)
func (*ModifyAlarmShieldResponse) FromJsonString ¶
func (r *ModifyAlarmShieldResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyAlarmShieldResponse) ToJsonString ¶
func (r *ModifyAlarmShieldResponse) ToJsonString() string
type ModifyAlarmShieldResponseParams ¶
type ModifyAlarmShieldResponseParams struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type ModifyConfigExtraRequest ¶
type ModifyConfigExtraRequest struct { *tchttp.BaseRequest // 采集配置扩展信息id ConfigExtraId *string `json:"ConfigExtraId,omitnil" name:"ConfigExtraId"` // 采集配置规程名称,最长63个字符,只能包含小写字符、数字及分隔符(“-”),且必须以小写字符开头,数字或小写字符结尾 Name *string `json:"Name,omitnil" name:"Name"` // 日志主题id TopicId *string `json:"TopicId,omitnil" name:"TopicId"` // 节点文件配置信息 HostFile *HostFileInfo `json:"HostFile,omitnil" name:"HostFile"` // 容器文件路径信息 ContainerFile *ContainerFileInfo `json:"ContainerFile,omitnil" name:"ContainerFile"` // 容器标准输出信息 ContainerStdout *ContainerStdoutInfo `json:"ContainerStdout,omitnil" name:"ContainerStdout"` // 采集的日志类型,json_log代表json格式日志,delimiter_log代表分隔符格式日志,minimalist_log代表极简日志,multiline_log代表多行日志,fullregex_log代表完整正则,默认为minimalist_log LogType *string `json:"LogType,omitnil" name:"LogType"` // 日志格式化方式 LogFormat *string `json:"LogFormat,omitnil" name:"LogFormat"` // 提取规则,如果设置了ExtractRule,则必须设置LogType ExtractRule *ExtractRuleInfo `json:"ExtractRule,omitnil" name:"ExtractRule"` // 采集黑名单路径列表 ExcludePaths []*ExcludePathInfo `json:"ExcludePaths,omitnil" name:"ExcludePaths"` // 用户自定义采集规则,Json格式序列化的字符串 UserDefineRule *string `json:"UserDefineRule,omitnil" name:"UserDefineRule"` // 类型:container_stdout、container_file、host_file Type *string `json:"Type,omitnil" name:"Type"` // 机器组ID GroupId *string `json:"GroupId,omitnil" name:"GroupId"` // 自建采集配置标 ConfigFlag *string `json:"ConfigFlag,omitnil" name:"ConfigFlag"` // 日志集ID LogsetId *string `json:"LogsetId,omitnil" name:"LogsetId"` // 日志集name LogsetName *string `json:"LogsetName,omitnil" name:"LogsetName"` // 日志主题name TopicName *string `json:"TopicName,omitnil" name:"TopicName"` // 高级采集配置。 Json字符串, Key/Value定义为如下: // - ClsAgentFileTimeout(超时属性), 取值范围: 大于等于0的整数, 0为不超时 // - ClsAgentMaxDepth(最大目录深度),取值范围: 大于等于0的整数 // - ClsAgentParseFailMerge(合并解析失败日志),取值范围: true或false // 样例:{"ClsAgentFileTimeout":0,"ClsAgentMaxDepth":10,"ClsAgentParseFailMerge":true} AdvancedConfig *string `json:"AdvancedConfig,omitnil" name:"AdvancedConfig"` }
func NewModifyConfigExtraRequest ¶
func NewModifyConfigExtraRequest() (request *ModifyConfigExtraRequest)
func (*ModifyConfigExtraRequest) FromJsonString ¶
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 ¶
func (r *ModifyConfigExtraRequest) ToJsonString() string
type ModifyConfigExtraRequestParams ¶
type ModifyConfigExtraRequestParams struct { // 采集配置扩展信息id ConfigExtraId *string `json:"ConfigExtraId,omitnil" name:"ConfigExtraId"` // 采集配置规程名称,最长63个字符,只能包含小写字符、数字及分隔符(“-”),且必须以小写字符开头,数字或小写字符结尾 Name *string `json:"Name,omitnil" name:"Name"` // 日志主题id TopicId *string `json:"TopicId,omitnil" name:"TopicId"` // 节点文件配置信息 HostFile *HostFileInfo `json:"HostFile,omitnil" name:"HostFile"` // 容器文件路径信息 ContainerFile *ContainerFileInfo `json:"ContainerFile,omitnil" name:"ContainerFile"` // 容器标准输出信息 ContainerStdout *ContainerStdoutInfo `json:"ContainerStdout,omitnil" name:"ContainerStdout"` // 采集的日志类型,json_log代表json格式日志,delimiter_log代表分隔符格式日志,minimalist_log代表极简日志,multiline_log代表多行日志,fullregex_log代表完整正则,默认为minimalist_log LogType *string `json:"LogType,omitnil" name:"LogType"` // 日志格式化方式 LogFormat *string `json:"LogFormat,omitnil" name:"LogFormat"` // 提取规则,如果设置了ExtractRule,则必须设置LogType ExtractRule *ExtractRuleInfo `json:"ExtractRule,omitnil" name:"ExtractRule"` // 采集黑名单路径列表 ExcludePaths []*ExcludePathInfo `json:"ExcludePaths,omitnil" name:"ExcludePaths"` // 用户自定义采集规则,Json格式序列化的字符串 UserDefineRule *string `json:"UserDefineRule,omitnil" name:"UserDefineRule"` // 类型:container_stdout、container_file、host_file Type *string `json:"Type,omitnil" name:"Type"` // 机器组ID GroupId *string `json:"GroupId,omitnil" name:"GroupId"` // 自建采集配置标 ConfigFlag *string `json:"ConfigFlag,omitnil" name:"ConfigFlag"` // 日志集ID LogsetId *string `json:"LogsetId,omitnil" name:"LogsetId"` // 日志集name LogsetName *string `json:"LogsetName,omitnil" name:"LogsetName"` // 日志主题name TopicName *string `json:"TopicName,omitnil" name:"TopicName"` // 高级采集配置。 Json字符串, Key/Value定义为如下: // - ClsAgentFileTimeout(超时属性), 取值范围: 大于等于0的整数, 0为不超时 // - ClsAgentMaxDepth(最大目录深度),取值范围: 大于等于0的整数 // - ClsAgentParseFailMerge(合并解析失败日志),取值范围: true或false // 样例:{"ClsAgentFileTimeout":0,"ClsAgentMaxDepth":10,"ClsAgentParseFailMerge":true} AdvancedConfig *string `json:"AdvancedConfig,omitnil" name:"AdvancedConfig"` }
Predefined struct for user
type ModifyConfigExtraResponse ¶
type ModifyConfigExtraResponse struct { *tchttp.BaseResponse Response *ModifyConfigExtraResponseParams `json:"Response"` }
func NewModifyConfigExtraResponse ¶
func NewModifyConfigExtraResponse() (response *ModifyConfigExtraResponse)
func (*ModifyConfigExtraResponse) FromJsonString ¶
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 ¶
func (r *ModifyConfigExtraResponse) ToJsonString() string
type ModifyConfigExtraResponseParams ¶
type ModifyConfigExtraResponseParams struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type ModifyConfigRequest ¶
type ModifyConfigRequest struct { *tchttp.BaseRequest // 采集规则配置ID ConfigId *string `json:"ConfigId,omitnil" name:"ConfigId"` // 采集规则配置名称 Name *string `json:"Name,omitnil" name:"Name"` // 日志采集路径,包含文件名 Path *string `json:"Path,omitnil" name:"Path"` // 采集的日志类型,json_log代表json格式日志,delimiter_log代表分隔符格式日志,minimalist_log代表极简日志,multiline_log代表多行日志,fullregex_log代表完整正则,默认为minimalist_log LogType *string `json:"LogType,omitnil" name:"LogType"` // 提取规则,如果设置了ExtractRule,则必须设置LogType ExtractRule *ExtractRuleInfo `json:"ExtractRule,omitnil" name:"ExtractRule"` // 采集黑名单路径列表 ExcludePaths []*ExcludePathInfo `json:"ExcludePaths,omitnil" name:"ExcludePaths"` // 采集配置关联的日志主题(TopicId) Output *string `json:"Output,omitnil" name:"Output"` // 用户自定义解析字符串,Json格式序列化的字符串 UserDefineRule *string `json:"UserDefineRule,omitnil" name:"UserDefineRule"` // 高级采集配置。 Json字符串, Key/Value定义为如下: // - ClsAgentFileTimeout(超时属性), 取值范围: 大于等于0的整数, 0为不超时 // - ClsAgentMaxDepth(最大目录深度),取值范围: 大于等于0的整数 // - ClsAgentParseFailMerge(合并解析失败日志),取值范围: true或false // 样例:{"ClsAgentFileTimeout":0,"ClsAgentMaxDepth":10,"ClsAgentParseFailMerge":true} AdvancedConfig *string `json:"AdvancedConfig,omitnil" name:"AdvancedConfig"` }
func NewModifyConfigRequest ¶
func NewModifyConfigRequest() (request *ModifyConfigRequest)
func (*ModifyConfigRequest) FromJsonString ¶
func (r *ModifyConfigRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyConfigRequest) ToJsonString ¶
func (r *ModifyConfigRequest) ToJsonString() string
type ModifyConfigRequestParams ¶
type ModifyConfigRequestParams struct { // 采集规则配置ID ConfigId *string `json:"ConfigId,omitnil" name:"ConfigId"` // 采集规则配置名称 Name *string `json:"Name,omitnil" name:"Name"` // 日志采集路径,包含文件名 Path *string `json:"Path,omitnil" name:"Path"` // 采集的日志类型,json_log代表json格式日志,delimiter_log代表分隔符格式日志,minimalist_log代表极简日志,multiline_log代表多行日志,fullregex_log代表完整正则,默认为minimalist_log LogType *string `json:"LogType,omitnil" name:"LogType"` // 提取规则,如果设置了ExtractRule,则必须设置LogType ExtractRule *ExtractRuleInfo `json:"ExtractRule,omitnil" name:"ExtractRule"` // 采集黑名单路径列表 ExcludePaths []*ExcludePathInfo `json:"ExcludePaths,omitnil" name:"ExcludePaths"` // 采集配置关联的日志主题(TopicId) Output *string `json:"Output,omitnil" name:"Output"` // 用户自定义解析字符串,Json格式序列化的字符串 UserDefineRule *string `json:"UserDefineRule,omitnil" name:"UserDefineRule"` // 高级采集配置。 Json字符串, Key/Value定义为如下: // - ClsAgentFileTimeout(超时属性), 取值范围: 大于等于0的整数, 0为不超时 // - ClsAgentMaxDepth(最大目录深度),取值范围: 大于等于0的整数 // - ClsAgentParseFailMerge(合并解析失败日志),取值范围: true或false // 样例:{"ClsAgentFileTimeout":0,"ClsAgentMaxDepth":10,"ClsAgentParseFailMerge":true} AdvancedConfig *string `json:"AdvancedConfig,omitnil" name:"AdvancedConfig"` }
Predefined struct for user
type ModifyConfigResponse ¶
type ModifyConfigResponse struct { *tchttp.BaseResponse Response *ModifyConfigResponseParams `json:"Response"` }
func NewModifyConfigResponse ¶
func NewModifyConfigResponse() (response *ModifyConfigResponse)
func (*ModifyConfigResponse) FromJsonString ¶
func (r *ModifyConfigResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyConfigResponse) ToJsonString ¶
func (r *ModifyConfigResponse) ToJsonString() string
type ModifyConfigResponseParams ¶
type ModifyConfigResponseParams struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type ModifyConsumerRequest ¶
type ModifyConsumerRequest struct { *tchttp.BaseRequest // 投递任务绑定的日志主题 ID TopicId *string `json:"TopicId,omitnil" name:"TopicId"` // 投递任务是否生效,默认不生效 Effective *bool `json:"Effective,omitnil" name:"Effective"` // 是否投递日志的元数据信息,默认为 false NeedContent *bool `json:"NeedContent,omitnil" name:"NeedContent"` // 如果需要投递元数据信息,元数据信息的描述 Content *ConsumerContent `json:"Content,omitnil" name:"Content"` // CKafka的描述 Ckafka *Ckafka `json:"Ckafka,omitnil" name:"Ckafka"` // 投递时压缩方式,取值0,2,3。[0:NONE;2:SNAPPY;3:LZ4] Compression *int64 `json:"Compression,omitnil" name:"Compression"` }
func NewModifyConsumerRequest ¶
func NewModifyConsumerRequest() (request *ModifyConsumerRequest)
func (*ModifyConsumerRequest) FromJsonString ¶
func (r *ModifyConsumerRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyConsumerRequest) ToJsonString ¶
func (r *ModifyConsumerRequest) ToJsonString() string
type ModifyConsumerRequestParams ¶
type ModifyConsumerRequestParams struct { // 投递任务绑定的日志主题 ID TopicId *string `json:"TopicId,omitnil" name:"TopicId"` // 投递任务是否生效,默认不生效 Effective *bool `json:"Effective,omitnil" name:"Effective"` // 是否投递日志的元数据信息,默认为 false NeedContent *bool `json:"NeedContent,omitnil" name:"NeedContent"` // 如果需要投递元数据信息,元数据信息的描述 Content *ConsumerContent `json:"Content,omitnil" name:"Content"` // CKafka的描述 Ckafka *Ckafka `json:"Ckafka,omitnil" name:"Ckafka"` // 投递时压缩方式,取值0,2,3。[0:NONE;2:SNAPPY;3:LZ4] Compression *int64 `json:"Compression,omitnil" name:"Compression"` }
Predefined struct for user
type ModifyConsumerResponse ¶
type ModifyConsumerResponse struct { *tchttp.BaseResponse Response *ModifyConsumerResponseParams `json:"Response"` }
func NewModifyConsumerResponse ¶
func NewModifyConsumerResponse() (response *ModifyConsumerResponse)
func (*ModifyConsumerResponse) FromJsonString ¶
func (r *ModifyConsumerResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyConsumerResponse) ToJsonString ¶
func (r *ModifyConsumerResponse) ToJsonString() string
type ModifyConsumerResponseParams ¶
type ModifyConsumerResponseParams struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type ModifyCosRechargeRequest ¶
type ModifyCosRechargeRequest struct { *tchttp.BaseRequest // COS导入配置ID Id *string `json:"Id,omitnil" name:"Id"` // 日志主题Id TopicId *string `json:"TopicId,omitnil" name:"TopicId"` // COS导入任务名称 Name *string `json:"Name,omitnil" name:"Name"` // 是否启用: 0: 未启用 , 1:启用 Enable *uint64 `json:"Enable,omitnil" name:"Enable"` }
func NewModifyCosRechargeRequest ¶
func NewModifyCosRechargeRequest() (request *ModifyCosRechargeRequest)
func (*ModifyCosRechargeRequest) FromJsonString ¶
func (r *ModifyCosRechargeRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyCosRechargeRequest) ToJsonString ¶
func (r *ModifyCosRechargeRequest) ToJsonString() string
type ModifyCosRechargeRequestParams ¶
type ModifyCosRechargeRequestParams struct { // COS导入配置ID Id *string `json:"Id,omitnil" name:"Id"` // 日志主题Id TopicId *string `json:"TopicId,omitnil" name:"TopicId"` // COS导入任务名称 Name *string `json:"Name,omitnil" name:"Name"` // 是否启用: 0: 未启用 , 1:启用 Enable *uint64 `json:"Enable,omitnil" name:"Enable"` }
Predefined struct for user
type ModifyCosRechargeResponse ¶
type ModifyCosRechargeResponse struct { *tchttp.BaseResponse Response *ModifyCosRechargeResponseParams `json:"Response"` }
func NewModifyCosRechargeResponse ¶
func NewModifyCosRechargeResponse() (response *ModifyCosRechargeResponse)
func (*ModifyCosRechargeResponse) FromJsonString ¶
func (r *ModifyCosRechargeResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyCosRechargeResponse) ToJsonString ¶
func (r *ModifyCosRechargeResponse) ToJsonString() string
type ModifyCosRechargeResponseParams ¶
type ModifyCosRechargeResponseParams struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type ModifyDataTransformRequest ¶
type ModifyDataTransformRequest struct { *tchttp.BaseRequest // 加工任务id TaskId *string `json:"TaskId,omitnil" name:"TaskId"` // 加工任务名称 Name *string `json:"Name,omitnil" name:"Name"` // 加工语句 EtlContent *string `json:"EtlContent,omitnil" name:"EtlContent"` // 任务启动状态. 默认为1,开启, 2关闭 EnableFlag *int64 `json:"EnableFlag,omitnil" name:"EnableFlag"` // 加工任务目的topic_id以及别名 DstResources []*DataTransformResouceInfo `json:"DstResources,omitnil" name:"DstResources"` // 是否开启投递服务日志。1关闭,2开启 HasServicesLog *uint64 `json:"HasServicesLog,omitnil" name:"HasServicesLog"` }
func NewModifyDataTransformRequest ¶
func NewModifyDataTransformRequest() (request *ModifyDataTransformRequest)
func (*ModifyDataTransformRequest) FromJsonString ¶
func (r *ModifyDataTransformRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyDataTransformRequest) ToJsonString ¶
func (r *ModifyDataTransformRequest) ToJsonString() string
type ModifyDataTransformRequestParams ¶
type ModifyDataTransformRequestParams struct { // 加工任务id TaskId *string `json:"TaskId,omitnil" name:"TaskId"` // 加工任务名称 Name *string `json:"Name,omitnil" name:"Name"` // 加工语句 EtlContent *string `json:"EtlContent,omitnil" name:"EtlContent"` // 任务启动状态. 默认为1,开启, 2关闭 EnableFlag *int64 `json:"EnableFlag,omitnil" name:"EnableFlag"` // 加工任务目的topic_id以及别名 DstResources []*DataTransformResouceInfo `json:"DstResources,omitnil" name:"DstResources"` // 是否开启投递服务日志。1关闭,2开启 HasServicesLog *uint64 `json:"HasServicesLog,omitnil" name:"HasServicesLog"` }
Predefined struct for user
type ModifyDataTransformResponse ¶
type ModifyDataTransformResponse struct { *tchttp.BaseResponse Response *ModifyDataTransformResponseParams `json:"Response"` }
func NewModifyDataTransformResponse ¶
func NewModifyDataTransformResponse() (response *ModifyDataTransformResponse)
func (*ModifyDataTransformResponse) FromJsonString ¶
func (r *ModifyDataTransformResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyDataTransformResponse) ToJsonString ¶
func (r *ModifyDataTransformResponse) ToJsonString() string
type ModifyDataTransformResponseParams ¶
type ModifyDataTransformResponseParams struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type ModifyIndexRequest ¶
type ModifyIndexRequest struct { *tchttp.BaseRequest // 日志主题ID TopicId *string `json:"TopicId,omitnil" name:"TopicId"` // 默认不生效 Status *bool `json:"Status,omitnil" name:"Status"` // 索引规则 Rule *RuleInfo `json:"Rule,omitnil" name:"Rule"` // 内置保留字段(`__FILENAME__`,`__HOSTNAME__`及`__SOURCE__`)是否包含至全文索引,默认为false,推荐设置为true // * false:不包含 // * true:包含 IncludeInternalFields *bool `json:"IncludeInternalFields,omitnil" name:"IncludeInternalFields"` // 元数据字段(前缀为`__TAG__`的字段)是否包含至全文索引,默认为0,推荐设置为1 // * 0:仅包含开启键值索引的元数据字段 // * 1:包含所有元数据字段 // * 2:不包含任何元数据字段 MetadataFlag *uint64 `json:"MetadataFlag,omitnil" name:"MetadataFlag"` }
func NewModifyIndexRequest ¶
func NewModifyIndexRequest() (request *ModifyIndexRequest)
func (*ModifyIndexRequest) FromJsonString ¶
func (r *ModifyIndexRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyIndexRequest) ToJsonString ¶
func (r *ModifyIndexRequest) ToJsonString() string
type ModifyIndexRequestParams ¶
type ModifyIndexRequestParams struct { // 日志主题ID TopicId *string `json:"TopicId,omitnil" name:"TopicId"` // 默认不生效 Status *bool `json:"Status,omitnil" name:"Status"` // 索引规则 Rule *RuleInfo `json:"Rule,omitnil" name:"Rule"` // 内置保留字段(`__FILENAME__`,`__HOSTNAME__`及`__SOURCE__`)是否包含至全文索引,默认为false,推荐设置为true // * false:不包含 // * true:包含 IncludeInternalFields *bool `json:"IncludeInternalFields,omitnil" name:"IncludeInternalFields"` // 元数据字段(前缀为`__TAG__`的字段)是否包含至全文索引,默认为0,推荐设置为1 // * 0:仅包含开启键值索引的元数据字段 // * 1:包含所有元数据字段 // * 2:不包含任何元数据字段 MetadataFlag *uint64 `json:"MetadataFlag,omitnil" name:"MetadataFlag"` }
Predefined struct for user
type ModifyIndexResponse ¶
type ModifyIndexResponse struct { *tchttp.BaseResponse Response *ModifyIndexResponseParams `json:"Response"` }
func NewModifyIndexResponse ¶
func NewModifyIndexResponse() (response *ModifyIndexResponse)
func (*ModifyIndexResponse) FromJsonString ¶
func (r *ModifyIndexResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyIndexResponse) ToJsonString ¶
func (r *ModifyIndexResponse) ToJsonString() string
type ModifyIndexResponseParams ¶
type ModifyIndexResponseParams struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type ModifyKafkaConsumerRequest ¶
type ModifyKafkaConsumerRequest struct { *tchttp.BaseRequest // 日志主题ID FromTopicId *string `json:"FromTopicId,omitnil" name:"FromTopicId"` // 压缩方式[0:NONE;2:SNAPPY;3:LZ4] Compression *int64 `json:"Compression,omitnil" name:"Compression"` // kafka协议消费数据格式 ConsumerContent *KafkaConsumerContent `json:"ConsumerContent,omitnil" name:"ConsumerContent"` }
func NewModifyKafkaConsumerRequest ¶
func NewModifyKafkaConsumerRequest() (request *ModifyKafkaConsumerRequest)
func (*ModifyKafkaConsumerRequest) FromJsonString ¶
func (r *ModifyKafkaConsumerRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyKafkaConsumerRequest) ToJsonString ¶
func (r *ModifyKafkaConsumerRequest) ToJsonString() string
type ModifyKafkaConsumerRequestParams ¶
type ModifyKafkaConsumerRequestParams struct { // 日志主题ID FromTopicId *string `json:"FromTopicId,omitnil" name:"FromTopicId"` // 压缩方式[0:NONE;2:SNAPPY;3:LZ4] Compression *int64 `json:"Compression,omitnil" name:"Compression"` // kafka协议消费数据格式 ConsumerContent *KafkaConsumerContent `json:"ConsumerContent,omitnil" name:"ConsumerContent"` }
Predefined struct for user
type ModifyKafkaConsumerResponse ¶
type ModifyKafkaConsumerResponse struct { *tchttp.BaseResponse Response *ModifyKafkaConsumerResponseParams `json:"Response"` }
func NewModifyKafkaConsumerResponse ¶
func NewModifyKafkaConsumerResponse() (response *ModifyKafkaConsumerResponse)
func (*ModifyKafkaConsumerResponse) FromJsonString ¶
func (r *ModifyKafkaConsumerResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyKafkaConsumerResponse) ToJsonString ¶
func (r *ModifyKafkaConsumerResponse) ToJsonString() string
type ModifyKafkaConsumerResponseParams ¶
type ModifyKafkaConsumerResponseParams struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type ModifyKafkaRechargeRequest ¶
type ModifyKafkaRechargeRequest struct { *tchttp.BaseRequest // Kafka导入配置ID Id *string `json:"Id,omitnil" name:"Id"` // 导入CLS目标topic ID TopicId *string `json:"TopicId,omitnil" name:"TopicId"` // Kafka导入配置名称 Name *string `json:"Name,omitnil" name:"Name"` // 导入Kafka类型,0: 腾讯云CKafka,1: 用户自建Kafka KafkaType *uint64 `json:"KafkaType,omitnil" name:"KafkaType"` // 腾讯云CKafka实例ID,KafkaType为0时必填 KafkaInstance *string `json:"KafkaInstance,omitnil" name:"KafkaInstance"` // 服务地址 ServerAddr *string `json:"ServerAddr,omitnil" name:"ServerAddr"` // ServerAddr是否为加密连接 IsEncryptionAddr *bool `json:"IsEncryptionAddr,omitnil" name:"IsEncryptionAddr"` // 加密访问协议,IsEncryptionAddr参数为true时必填 Protocol *KafkaProtocolInfo `json:"Protocol,omitnil" name:"Protocol"` // 用户需要导入的Kafka相关topic列表,多个topic之间使用半角逗号隔开 UserKafkaTopics *string `json:"UserKafkaTopics,omitnil" name:"UserKafkaTopics"` // 用户Kafka消费组名称 ConsumerGroupName *string `json:"ConsumerGroupName,omitnil" name:"ConsumerGroupName"` // 日志导入规则 LogRechargeRule *LogRechargeRuleInfo `json:"LogRechargeRule,omitnil" name:"LogRechargeRule"` // 导入控制,1:暂停,2:继续 StatusControl *uint64 `json:"StatusControl,omitnil" name:"StatusControl"` }
func NewModifyKafkaRechargeRequest ¶
func NewModifyKafkaRechargeRequest() (request *ModifyKafkaRechargeRequest)
func (*ModifyKafkaRechargeRequest) FromJsonString ¶
func (r *ModifyKafkaRechargeRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyKafkaRechargeRequest) ToJsonString ¶
func (r *ModifyKafkaRechargeRequest) ToJsonString() string
type ModifyKafkaRechargeRequestParams ¶
type ModifyKafkaRechargeRequestParams struct { // Kafka导入配置ID Id *string `json:"Id,omitnil" name:"Id"` // 导入CLS目标topic ID TopicId *string `json:"TopicId,omitnil" name:"TopicId"` // Kafka导入配置名称 Name *string `json:"Name,omitnil" name:"Name"` // 导入Kafka类型,0: 腾讯云CKafka,1: 用户自建Kafka KafkaType *uint64 `json:"KafkaType,omitnil" name:"KafkaType"` // 腾讯云CKafka实例ID,KafkaType为0时必填 KafkaInstance *string `json:"KafkaInstance,omitnil" name:"KafkaInstance"` // 服务地址 ServerAddr *string `json:"ServerAddr,omitnil" name:"ServerAddr"` // ServerAddr是否为加密连接 IsEncryptionAddr *bool `json:"IsEncryptionAddr,omitnil" name:"IsEncryptionAddr"` // 加密访问协议,IsEncryptionAddr参数为true时必填 Protocol *KafkaProtocolInfo `json:"Protocol,omitnil" name:"Protocol"` // 用户需要导入的Kafka相关topic列表,多个topic之间使用半角逗号隔开 UserKafkaTopics *string `json:"UserKafkaTopics,omitnil" name:"UserKafkaTopics"` // 用户Kafka消费组名称 ConsumerGroupName *string `json:"ConsumerGroupName,omitnil" name:"ConsumerGroupName"` // 日志导入规则 LogRechargeRule *LogRechargeRuleInfo `json:"LogRechargeRule,omitnil" name:"LogRechargeRule"` // 导入控制,1:暂停,2:继续 StatusControl *uint64 `json:"StatusControl,omitnil" name:"StatusControl"` }
Predefined struct for user
type ModifyKafkaRechargeResponse ¶
type ModifyKafkaRechargeResponse struct { *tchttp.BaseResponse Response *ModifyKafkaRechargeResponseParams `json:"Response"` }
func NewModifyKafkaRechargeResponse ¶
func NewModifyKafkaRechargeResponse() (response *ModifyKafkaRechargeResponse)
func (*ModifyKafkaRechargeResponse) FromJsonString ¶
func (r *ModifyKafkaRechargeResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyKafkaRechargeResponse) ToJsonString ¶
func (r *ModifyKafkaRechargeResponse) ToJsonString() string
type ModifyKafkaRechargeResponseParams ¶
type ModifyKafkaRechargeResponseParams struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type ModifyLogsetRequest ¶
type ModifyLogsetRequest struct { *tchttp.BaseRequest // 日志集ID LogsetId *string `json:"LogsetId,omitnil" name:"LogsetId"` // 日志集名称 LogsetName *string `json:"LogsetName,omitnil" name:"LogsetName"` // 日志集的绑定的标签键值对。最大支持10个标签键值对,同一个资源只能同时绑定一个标签键。 Tags []*Tag `json:"Tags,omitnil" name:"Tags"` }
func NewModifyLogsetRequest ¶
func NewModifyLogsetRequest() (request *ModifyLogsetRequest)
func (*ModifyLogsetRequest) FromJsonString ¶
func (r *ModifyLogsetRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyLogsetRequest) ToJsonString ¶
func (r *ModifyLogsetRequest) ToJsonString() string
type ModifyLogsetRequestParams ¶
type ModifyLogsetRequestParams struct { // 日志集ID LogsetId *string `json:"LogsetId,omitnil" name:"LogsetId"` // 日志集名称 LogsetName *string `json:"LogsetName,omitnil" name:"LogsetName"` // 日志集的绑定的标签键值对。最大支持10个标签键值对,同一个资源只能同时绑定一个标签键。 Tags []*Tag `json:"Tags,omitnil" name:"Tags"` }
Predefined struct for user
type ModifyLogsetResponse ¶
type ModifyLogsetResponse struct { *tchttp.BaseResponse Response *ModifyLogsetResponseParams `json:"Response"` }
func NewModifyLogsetResponse ¶
func NewModifyLogsetResponse() (response *ModifyLogsetResponse)
func (*ModifyLogsetResponse) FromJsonString ¶
func (r *ModifyLogsetResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyLogsetResponse) ToJsonString ¶
func (r *ModifyLogsetResponse) ToJsonString() string
type ModifyLogsetResponseParams ¶
type ModifyLogsetResponseParams struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type ModifyMachineGroupRequest ¶
type ModifyMachineGroupRequest struct { *tchttp.BaseRequest // 机器组ID GroupId *string `json:"GroupId,omitnil" name:"GroupId"` // 机器组名称 GroupName *string `json:"GroupName,omitnil" name:"GroupName"` // 机器组类型 MachineGroupType *MachineGroupTypeInfo `json:"MachineGroupType,omitnil" name:"MachineGroupType"` // 标签列表 Tags []*Tag `json:"Tags,omitnil" name:"Tags"` // 是否开启机器组自动更新 AutoUpdate *bool `json:"AutoUpdate,omitnil" name:"AutoUpdate"` // 升级开始时间,建议业务低峰期升级LogListener UpdateStartTime *string `json:"UpdateStartTime,omitnil" name:"UpdateStartTime"` // 升级结束时间,建议业务低峰期升级LogListener UpdateEndTime *string `json:"UpdateEndTime,omitnil" name:"UpdateEndTime"` // 是否开启服务日志,用于记录因Loglistener 服务自身产生的log,开启后,会创建内部日志集cls_service_logging和日志主题loglistener_status,loglistener_alarm,loglistener_business,不产生计费 ServiceLogging *bool `json:"ServiceLogging,omitnil" name:"ServiceLogging"` // 机器组元数据信息列表 MetaTags []*MetaTagInfo `json:"MetaTags,omitnil" name:"MetaTags"` }
func NewModifyMachineGroupRequest ¶
func NewModifyMachineGroupRequest() (request *ModifyMachineGroupRequest)
func (*ModifyMachineGroupRequest) FromJsonString ¶
func (r *ModifyMachineGroupRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyMachineGroupRequest) ToJsonString ¶
func (r *ModifyMachineGroupRequest) ToJsonString() string
type ModifyMachineGroupRequestParams ¶
type ModifyMachineGroupRequestParams struct { // 机器组ID GroupId *string `json:"GroupId,omitnil" name:"GroupId"` // 机器组名称 GroupName *string `json:"GroupName,omitnil" name:"GroupName"` // 机器组类型 MachineGroupType *MachineGroupTypeInfo `json:"MachineGroupType,omitnil" name:"MachineGroupType"` // 标签列表 Tags []*Tag `json:"Tags,omitnil" name:"Tags"` // 是否开启机器组自动更新 AutoUpdate *bool `json:"AutoUpdate,omitnil" name:"AutoUpdate"` // 升级开始时间,建议业务低峰期升级LogListener UpdateStartTime *string `json:"UpdateStartTime,omitnil" name:"UpdateStartTime"` // 升级结束时间,建议业务低峰期升级LogListener UpdateEndTime *string `json:"UpdateEndTime,omitnil" name:"UpdateEndTime"` // 是否开启服务日志,用于记录因Loglistener 服务自身产生的log,开启后,会创建内部日志集cls_service_logging和日志主题loglistener_status,loglistener_alarm,loglistener_business,不产生计费 ServiceLogging *bool `json:"ServiceLogging,omitnil" name:"ServiceLogging"` // 机器组元数据信息列表 MetaTags []*MetaTagInfo `json:"MetaTags,omitnil" name:"MetaTags"` }
Predefined struct for user
type ModifyMachineGroupResponse ¶
type ModifyMachineGroupResponse struct { *tchttp.BaseResponse Response *ModifyMachineGroupResponseParams `json:"Response"` }
func NewModifyMachineGroupResponse ¶
func NewModifyMachineGroupResponse() (response *ModifyMachineGroupResponse)
func (*ModifyMachineGroupResponse) FromJsonString ¶
func (r *ModifyMachineGroupResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyMachineGroupResponse) ToJsonString ¶
func (r *ModifyMachineGroupResponse) ToJsonString() string
type ModifyMachineGroupResponseParams ¶
type ModifyMachineGroupResponseParams struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type ModifyScheduledSqlRequest ¶
type ModifyScheduledSqlRequest struct { *tchttp.BaseRequest // 任务ID TaskId *string `json:"TaskId,omitnil" name:"TaskId"` // 源日志主题 SrcTopicId *string `json:"SrcTopicId,omitnil" name:"SrcTopicId"` // 任务启动状态. 1开启, 2关闭 EnableFlag *int64 `json:"EnableFlag,omitnil" name:"EnableFlag"` // 定时SQL分析的目标日志主题 DstResource *ScheduledSqlResouceInfo `json:"DstResource,omitnil" name:"DstResource"` // 查询语句 ScheduledSqlContent *string `json:"ScheduledSqlContent,omitnil" name:"ScheduledSqlContent"` // 调度周期(分钟) ProcessPeriod *int64 `json:"ProcessPeriod,omitnil" name:"ProcessPeriod"` // 单次查询的时间窗口. 例子中为近15分钟 ProcessTimeWindow *string `json:"ProcessTimeWindow,omitnil" name:"ProcessTimeWindow"` // 执行延迟(秒) ProcessDelay *int64 `json:"ProcessDelay,omitnil" name:"ProcessDelay"` // 源topicId的地域信息 SrcTopicRegion *string `json:"SrcTopicRegion,omitnil" name:"SrcTopicRegion"` // 任务名称 Name *string `json:"Name,omitnil" name:"Name"` // 语法规则。 默认值为0。 0:Lucene语法,1:CQL语法 SyntaxRule *uint64 `json:"SyntaxRule,omitnil" name:"SyntaxRule"` }
func NewModifyScheduledSqlRequest ¶
func NewModifyScheduledSqlRequest() (request *ModifyScheduledSqlRequest)
func (*ModifyScheduledSqlRequest) FromJsonString ¶
func (r *ModifyScheduledSqlRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyScheduledSqlRequest) ToJsonString ¶
func (r *ModifyScheduledSqlRequest) ToJsonString() string
type ModifyScheduledSqlRequestParams ¶
type ModifyScheduledSqlRequestParams struct { // 任务ID TaskId *string `json:"TaskId,omitnil" name:"TaskId"` // 源日志主题 SrcTopicId *string `json:"SrcTopicId,omitnil" name:"SrcTopicId"` // 任务启动状态. 1开启, 2关闭 EnableFlag *int64 `json:"EnableFlag,omitnil" name:"EnableFlag"` // 定时SQL分析的目标日志主题 DstResource *ScheduledSqlResouceInfo `json:"DstResource,omitnil" name:"DstResource"` // 查询语句 ScheduledSqlContent *string `json:"ScheduledSqlContent,omitnil" name:"ScheduledSqlContent"` // 调度周期(分钟) ProcessPeriod *int64 `json:"ProcessPeriod,omitnil" name:"ProcessPeriod"` // 单次查询的时间窗口. 例子中为近15分钟 ProcessTimeWindow *string `json:"ProcessTimeWindow,omitnil" name:"ProcessTimeWindow"` // 执行延迟(秒) ProcessDelay *int64 `json:"ProcessDelay,omitnil" name:"ProcessDelay"` // 源topicId的地域信息 SrcTopicRegion *string `json:"SrcTopicRegion,omitnil" name:"SrcTopicRegion"` // 任务名称 Name *string `json:"Name,omitnil" name:"Name"` // 语法规则。 默认值为0。 0:Lucene语法,1:CQL语法 SyntaxRule *uint64 `json:"SyntaxRule,omitnil" name:"SyntaxRule"` }
Predefined struct for user
type ModifyScheduledSqlResponse ¶
type ModifyScheduledSqlResponse struct { *tchttp.BaseResponse Response *ModifyScheduledSqlResponseParams `json:"Response"` }
func NewModifyScheduledSqlResponse ¶
func NewModifyScheduledSqlResponse() (response *ModifyScheduledSqlResponse)
func (*ModifyScheduledSqlResponse) FromJsonString ¶
func (r *ModifyScheduledSqlResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyScheduledSqlResponse) ToJsonString ¶
func (r *ModifyScheduledSqlResponse) ToJsonString() string
type ModifyScheduledSqlResponseParams ¶
type ModifyScheduledSqlResponseParams struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type ModifyShipperRequest ¶
type ModifyShipperRequest struct { *tchttp.BaseRequest // 投递规则ID ShipperId *string `json:"ShipperId,omitnil" name:"ShipperId"` // 投递规则投递的新的bucket Bucket *string `json:"Bucket,omitnil" name:"Bucket"` // 投递规则投递的新的目录前缀 Prefix *string `json:"Prefix,omitnil" name:"Prefix"` // 投递规则的开关状态 Status *bool `json:"Status,omitnil" name:"Status"` // 投递规则的名字 ShipperName *string `json:"ShipperName,omitnil" name:"ShipperName"` // 投递的时间间隔,单位 秒,默认300,范围 300-900 Interval *uint64 `json:"Interval,omitnil" name:"Interval"` // 投递的文件的最大值,单位 MB,默认256,范围 5-256 MaxSize *uint64 `json:"MaxSize,omitnil" name:"MaxSize"` // 投递日志的过滤规则,匹配的日志进行投递,各rule之间是and关系,最多5个,数组为空则表示不过滤而全部投递 FilterRules []*FilterRuleInfo `json:"FilterRules,omitnil" name:"FilterRules"` // 投递日志的分区规则,支持strftime的时间格式表示 Partition *string `json:"Partition,omitnil" name:"Partition"` // 投递日志的压缩配置 Compress *CompressInfo `json:"Compress,omitnil" name:"Compress"` // 投递日志的内容格式配置 Content *ContentInfo `json:"Content,omitnil" name:"Content"` // 投递文件命名配置,0:随机数命名,1:投递时间命名,默认0(随机数命名) FilenameMode *uint64 `json:"FilenameMode,omitnil" name:"FilenameMode"` // cos桶类型 StorageType *string `json:"StorageType,omitnil" name:"StorageType"` }
func NewModifyShipperRequest ¶
func NewModifyShipperRequest() (request *ModifyShipperRequest)
func (*ModifyShipperRequest) FromJsonString ¶
func (r *ModifyShipperRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyShipperRequest) ToJsonString ¶
func (r *ModifyShipperRequest) ToJsonString() string
type ModifyShipperRequestParams ¶
type ModifyShipperRequestParams struct { // 投递规则ID ShipperId *string `json:"ShipperId,omitnil" name:"ShipperId"` // 投递规则投递的新的bucket Bucket *string `json:"Bucket,omitnil" name:"Bucket"` // 投递规则投递的新的目录前缀 Prefix *string `json:"Prefix,omitnil" name:"Prefix"` // 投递规则的开关状态 Status *bool `json:"Status,omitnil" name:"Status"` // 投递规则的名字 ShipperName *string `json:"ShipperName,omitnil" name:"ShipperName"` // 投递的时间间隔,单位 秒,默认300,范围 300-900 Interval *uint64 `json:"Interval,omitnil" name:"Interval"` // 投递的文件的最大值,单位 MB,默认256,范围 5-256 MaxSize *uint64 `json:"MaxSize,omitnil" name:"MaxSize"` // 投递日志的过滤规则,匹配的日志进行投递,各rule之间是and关系,最多5个,数组为空则表示不过滤而全部投递 FilterRules []*FilterRuleInfo `json:"FilterRules,omitnil" name:"FilterRules"` // 投递日志的分区规则,支持strftime的时间格式表示 Partition *string `json:"Partition,omitnil" name:"Partition"` // 投递日志的压缩配置 Compress *CompressInfo `json:"Compress,omitnil" name:"Compress"` // 投递日志的内容格式配置 Content *ContentInfo `json:"Content,omitnil" name:"Content"` // 投递文件命名配置,0:随机数命名,1:投递时间命名,默认0(随机数命名) FilenameMode *uint64 `json:"FilenameMode,omitnil" name:"FilenameMode"` // cos桶类型 StorageType *string `json:"StorageType,omitnil" name:"StorageType"` }
Predefined struct for user
type ModifyShipperResponse ¶
type ModifyShipperResponse struct { *tchttp.BaseResponse Response *ModifyShipperResponseParams `json:"Response"` }
func NewModifyShipperResponse ¶
func NewModifyShipperResponse() (response *ModifyShipperResponse)
func (*ModifyShipperResponse) FromJsonString ¶
func (r *ModifyShipperResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyShipperResponse) ToJsonString ¶
func (r *ModifyShipperResponse) ToJsonString() string
type ModifyShipperResponseParams ¶
type ModifyShipperResponseParams struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type ModifyTopicRequest ¶
type ModifyTopicRequest struct { *tchttp.BaseRequest // 日志主题ID TopicId *string `json:"TopicId,omitnil" name:"TopicId"` // 日志主题名称 TopicName *string `json:"TopicName,omitnil" name:"TopicName"` // 标签描述列表,通过指定该参数可以同时绑定标签到相应的日志主题。最大支持10个标签键值对,并且不能有重复的键值对。 Tags []*Tag `json:"Tags,omitnil" name:"Tags"` // 该日志主题是否开始采集 Status *bool `json:"Status,omitnil" name:"Status"` // 是否开启自动分裂 AutoSplit *bool `json:"AutoSplit,omitnil" name:"AutoSplit"` // 若开启最大分裂,该主题能够能够允许的最大分区数 MaxSplitPartitions *int64 `json:"MaxSplitPartitions,omitnil" name:"MaxSplitPartitions"` // 生命周期,单位天,标准存储取值范围1\~3600,低频存储取值范围7\~3600。取值为3640时代表永久保存 Period *int64 `json:"Period,omitnil" name:"Period"` // 日志主题描述 Describes *string `json:"Describes,omitnil" name:"Describes"` // 0:关闭日志沉降。 // 非0:开启日志沉降后标准存储的天数。HotPeriod需要大于等于7,且小于Period。仅在StorageType为 hot 时生效 HotPeriod *uint64 `json:"HotPeriod,omitnil" name:"HotPeriod"` // 免鉴权开关; false: 关闭 true: 开启 IsWebTracking *bool `json:"IsWebTracking,omitnil" name:"IsWebTracking"` }
func NewModifyTopicRequest ¶
func NewModifyTopicRequest() (request *ModifyTopicRequest)
func (*ModifyTopicRequest) FromJsonString ¶
func (r *ModifyTopicRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyTopicRequest) ToJsonString ¶
func (r *ModifyTopicRequest) ToJsonString() string
type ModifyTopicRequestParams ¶
type ModifyTopicRequestParams struct { // 日志主题ID TopicId *string `json:"TopicId,omitnil" name:"TopicId"` // 日志主题名称 TopicName *string `json:"TopicName,omitnil" name:"TopicName"` // 标签描述列表,通过指定该参数可以同时绑定标签到相应的日志主题。最大支持10个标签键值对,并且不能有重复的键值对。 Tags []*Tag `json:"Tags,omitnil" name:"Tags"` // 该日志主题是否开始采集 Status *bool `json:"Status,omitnil" name:"Status"` // 是否开启自动分裂 AutoSplit *bool `json:"AutoSplit,omitnil" name:"AutoSplit"` // 若开启最大分裂,该主题能够能够允许的最大分区数 MaxSplitPartitions *int64 `json:"MaxSplitPartitions,omitnil" name:"MaxSplitPartitions"` // 生命周期,单位天,标准存储取值范围1\~3600,低频存储取值范围7\~3600。取值为3640时代表永久保存 Period *int64 `json:"Period,omitnil" name:"Period"` // 日志主题描述 Describes *string `json:"Describes,omitnil" name:"Describes"` // 0:关闭日志沉降。 // 非0:开启日志沉降后标准存储的天数。HotPeriod需要大于等于7,且小于Period。仅在StorageType为 hot 时生效 HotPeriod *uint64 `json:"HotPeriod,omitnil" name:"HotPeriod"` // 免鉴权开关; false: 关闭 true: 开启 IsWebTracking *bool `json:"IsWebTracking,omitnil" name:"IsWebTracking"` }
Predefined struct for user
type ModifyTopicResponse ¶
type ModifyTopicResponse struct { *tchttp.BaseResponse Response *ModifyTopicResponseParams `json:"Response"` }
func NewModifyTopicResponse ¶
func NewModifyTopicResponse() (response *ModifyTopicResponse)
func (*ModifyTopicResponse) FromJsonString ¶
func (r *ModifyTopicResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyTopicResponse) ToJsonString ¶
func (r *ModifyTopicResponse) ToJsonString() string
type ModifyTopicResponseParams ¶
type ModifyTopicResponseParams struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type MonitorTime ¶
type MultiCondition ¶
type NoticeReceiver ¶
type NoticeReceiver struct { // 接受者类型。可选值: // <br><li> Uin - 用户ID // <br><li> Group - 用户组ID // 暂不支持其余接收者类型。 ReceiverType *string `json:"ReceiverType,omitnil" name:"ReceiverType"` // 接收者。 ReceiverIds []*int64 `json:"ReceiverIds,omitnil" name:"ReceiverIds"` // 通知接收渠道。 // <br><li> Email - 邮件 // <br><li> Sms - 短信 // <br><li> WeChat - 微信 // <br><li> Phone - 电话 ReceiverChannels []*string `json:"ReceiverChannels,omitnil" name:"ReceiverChannels"` // 允许接收信息的开始时间。 StartTime *string `json:"StartTime,omitnil" name:"StartTime"` // 允许接收信息的结束时间。 EndTime *string `json:"EndTime,omitnil" name:"EndTime"` // 位序 Index *int64 `json:"Index,omitnil" name:"Index"` }
type NoticeRule ¶
type NoticeRule struct { // 告警通知模板接收者信息。 // 注意:此字段可能返回 null,表示取不到有效值。 NoticeReceivers []*NoticeReceiver `json:"NoticeReceivers,omitnil" name:"NoticeReceivers"` // 告警通知模板回调信息。 // 注意:此字段可能返回 null,表示取不到有效值。 WebCallbacks []*WebCallback `json:"WebCallbacks,omitnil" name:"WebCallbacks"` // 匹配规则。 // 注意:此字段可能返回 null,表示取不到有效值。 Rule *string `json:"Rule,omitnil" name:"Rule"` }
type OpenKafkaConsumerRequest ¶
type OpenKafkaConsumerRequest struct { *tchttp.BaseRequest // 日志主题ID FromTopicId *string `json:"FromTopicId,omitnil" name:"FromTopicId"` // 压缩方式[0:NONE;2:SNAPPY;3:LZ4] Compression *int64 `json:"Compression,omitnil" name:"Compression"` // kafka协议消费数据格式 ConsumerContent *KafkaConsumerContent `json:"ConsumerContent,omitnil" name:"ConsumerContent"` }
func NewOpenKafkaConsumerRequest ¶
func NewOpenKafkaConsumerRequest() (request *OpenKafkaConsumerRequest)
func (*OpenKafkaConsumerRequest) FromJsonString ¶
func (r *OpenKafkaConsumerRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*OpenKafkaConsumerRequest) ToJsonString ¶
func (r *OpenKafkaConsumerRequest) ToJsonString() string
type OpenKafkaConsumerRequestParams ¶
type OpenKafkaConsumerRequestParams struct { // 日志主题ID FromTopicId *string `json:"FromTopicId,omitnil" name:"FromTopicId"` // 压缩方式[0:NONE;2:SNAPPY;3:LZ4] Compression *int64 `json:"Compression,omitnil" name:"Compression"` // kafka协议消费数据格式 ConsumerContent *KafkaConsumerContent `json:"ConsumerContent,omitnil" name:"ConsumerContent"` }
Predefined struct for user
type OpenKafkaConsumerResponse ¶
type OpenKafkaConsumerResponse struct { *tchttp.BaseResponse Response *OpenKafkaConsumerResponseParams `json:"Response"` }
func NewOpenKafkaConsumerResponse ¶
func NewOpenKafkaConsumerResponse() (response *OpenKafkaConsumerResponse)
func (*OpenKafkaConsumerResponse) FromJsonString ¶
func (r *OpenKafkaConsumerResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*OpenKafkaConsumerResponse) ToJsonString ¶
func (r *OpenKafkaConsumerResponse) ToJsonString() string
type OpenKafkaConsumerResponseParams ¶
type OpenKafkaConsumerResponseParams struct { // KafkaConsumer 消费时使用的Topic参数 TopicID *string `json:"TopicID,omitnil" name:"TopicID"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type ParquetInfo ¶
type ParquetInfo struct { // ParquetKeyInfo数组 ParquetKeyInfo []*ParquetKeyInfo `json:"ParquetKeyInfo,omitnil" name:"ParquetKeyInfo"` }
type ParquetKeyInfo ¶
type ParquetKeyInfo struct { // 键值名称 KeyName *string `json:"KeyName,omitnil" name:"KeyName"` // 数据类型,目前支持6种类型:string、boolean、int32、int64、float、double KeyType *string `json:"KeyType,omitnil" name:"KeyType"` // 解析失败赋值信息 // 注意:此字段可能返回 null,表示取不到有效值。 KeyNonExistingField *string `json:"KeyNonExistingField,omitnil" name:"KeyNonExistingField"` }
type PartitionInfo ¶
type PartitionInfo struct { // 分区ID PartitionId *int64 `json:"PartitionId,omitnil" name:"PartitionId"` // 分区的状态(readwrite或者是readonly) Status *string `json:"Status,omitnil" name:"Status"` // 分区哈希键起始key InclusiveBeginKey *string `json:"InclusiveBeginKey,omitnil" name:"InclusiveBeginKey"` // 分区哈希键结束key ExclusiveEndKey *string `json:"ExclusiveEndKey,omitnil" name:"ExclusiveEndKey"` // 分区创建时间 CreateTime *string `json:"CreateTime,omitnil" name:"CreateTime"` // 只读分区数据停止写入时间 // 注意:此字段可能返回 null,表示取不到有效值。 LastWriteTime *string `json:"LastWriteTime,omitnil" name:"LastWriteTime"` }
type PreviewKafkaRechargeRequest ¶
type PreviewKafkaRechargeRequest struct { *tchttp.BaseRequest // 预览类型,1:源数据预览,2:导出结果预览 PreviewType *uint64 `json:"PreviewType,omitnil" name:"PreviewType"` // 导入Kafka类型,0: 腾讯云CKafka,1: 用户自建Kafka KafkaType *uint64 `json:"KafkaType,omitnil" name:"KafkaType"` // 用户需要导入的Kafka相关topic列表,多个topic之间使用半角逗号隔开。最多支持100个。 UserKafkaTopics *string `json:"UserKafkaTopics,omitnil" name:"UserKafkaTopics"` // 导入数据位置,-2:最早(默认),-1:最晚 Offset *int64 `json:"Offset,omitnil" name:"Offset"` // 腾讯云CKafka实例ID。 // KafkaType为0时KafkaInstance必填 KafkaInstance *string `json:"KafkaInstance,omitnil" name:"KafkaInstance"` // 服务地址。 // KafkaType为1时ServerAddr必填 ServerAddr *string `json:"ServerAddr,omitnil" name:"ServerAddr"` // ServerAddr是否为加密连接。。 // KafkaType为1时有效。 IsEncryptionAddr *bool `json:"IsEncryptionAddr,omitnil" name:"IsEncryptionAddr"` // 加密访问协议。 // KafkaType为1并且IsEncryptionAddr为true时Protocol必填 Protocol *KafkaProtocolInfo `json:"Protocol,omitnil" name:"Protocol"` // 用户Kafka消费组 ConsumerGroupName *string `json:"ConsumerGroupName,omitnil" name:"ConsumerGroupName"` // 日志导入规则 LogRechargeRule *LogRechargeRuleInfo `json:"LogRechargeRule,omitnil" name:"LogRechargeRule"` }
func NewPreviewKafkaRechargeRequest ¶
func NewPreviewKafkaRechargeRequest() (request *PreviewKafkaRechargeRequest)
func (*PreviewKafkaRechargeRequest) FromJsonString ¶
func (r *PreviewKafkaRechargeRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*PreviewKafkaRechargeRequest) ToJsonString ¶
func (r *PreviewKafkaRechargeRequest) ToJsonString() string
type PreviewKafkaRechargeRequestParams ¶
type PreviewKafkaRechargeRequestParams struct { // 预览类型,1:源数据预览,2:导出结果预览 PreviewType *uint64 `json:"PreviewType,omitnil" name:"PreviewType"` // 导入Kafka类型,0: 腾讯云CKafka,1: 用户自建Kafka KafkaType *uint64 `json:"KafkaType,omitnil" name:"KafkaType"` // 用户需要导入的Kafka相关topic列表,多个topic之间使用半角逗号隔开。最多支持100个。 UserKafkaTopics *string `json:"UserKafkaTopics,omitnil" name:"UserKafkaTopics"` // 导入数据位置,-2:最早(默认),-1:最晚 Offset *int64 `json:"Offset,omitnil" name:"Offset"` // 腾讯云CKafka实例ID。 // KafkaType为0时KafkaInstance必填 KafkaInstance *string `json:"KafkaInstance,omitnil" name:"KafkaInstance"` // 服务地址。 // KafkaType为1时ServerAddr必填 ServerAddr *string `json:"ServerAddr,omitnil" name:"ServerAddr"` // ServerAddr是否为加密连接。。 // KafkaType为1时有效。 IsEncryptionAddr *bool `json:"IsEncryptionAddr,omitnil" name:"IsEncryptionAddr"` // 加密访问协议。 // KafkaType为1并且IsEncryptionAddr为true时Protocol必填 Protocol *KafkaProtocolInfo `json:"Protocol,omitnil" name:"Protocol"` // 用户Kafka消费组 ConsumerGroupName *string `json:"ConsumerGroupName,omitnil" name:"ConsumerGroupName"` // 日志导入规则 LogRechargeRule *LogRechargeRuleInfo `json:"LogRechargeRule,omitnil" name:"LogRechargeRule"` }
Predefined struct for user
type PreviewKafkaRechargeResponse ¶
type PreviewKafkaRechargeResponse struct { *tchttp.BaseResponse Response *PreviewKafkaRechargeResponseParams `json:"Response"` }
func NewPreviewKafkaRechargeResponse ¶
func NewPreviewKafkaRechargeResponse() (response *PreviewKafkaRechargeResponse)
func (*PreviewKafkaRechargeResponse) FromJsonString ¶
func (r *PreviewKafkaRechargeResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*PreviewKafkaRechargeResponse) ToJsonString ¶
func (r *PreviewKafkaRechargeResponse) ToJsonString() string
type PreviewKafkaRechargeResponseParams ¶
type PreviewKafkaRechargeResponseParams struct { // 日志样例,PreviewType为2时返回 LogSample *string `json:"LogSample,omitnil" name:"LogSample"` // 日志预览结果 // 注意:此字段可能返回 null,表示取不到有效值。 LogData *string `json:"LogData,omitnil" name:"LogData"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type PreviewLogStatistic ¶
type PreviewLogStatistic struct { // 日志内容 LogContent *string `json:"LogContent,omitnil" name:"LogContent"` // 行号 LineNum *int64 `json:"LineNum,omitnil" name:"LineNum"` // 目标日志主题 DstTopicId *string `json:"DstTopicId,omitnil" name:"DstTopicId"` // 失败错误码, 空字符串""表示正常 FailReason *string `json:"FailReason,omitnil" name:"FailReason"` // 日志时间戳 Time *string `json:"Time,omitnil" name:"Time"` // 目标topic-name // 注意:此字段可能返回 null,表示取不到有效值。 DstTopicName *string `json:"DstTopicName,omitnil" name:"DstTopicName"` }
type QueryMetricRequest ¶
type QueryMetricRequest struct { *tchttp.BaseRequest // 查询语句,使用PromQL语法 Query *string `json:"Query,omitnil" name:"Query"` // 指标主题ID TopicId *string `json:"TopicId,omitnil" name:"TopicId"` // 查询时间,秒级Unix时间戳 Time *uint64 `json:"Time,omitnil" name:"Time"` }
func NewQueryMetricRequest ¶
func NewQueryMetricRequest() (request *QueryMetricRequest)
func (*QueryMetricRequest) FromJsonString ¶
func (r *QueryMetricRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*QueryMetricRequest) ToJsonString ¶
func (r *QueryMetricRequest) ToJsonString() string
type QueryMetricRequestParams ¶
type QueryMetricRequestParams struct { // 查询语句,使用PromQL语法 Query *string `json:"Query,omitnil" name:"Query"` // 指标主题ID TopicId *string `json:"TopicId,omitnil" name:"TopicId"` // 查询时间,秒级Unix时间戳 Time *uint64 `json:"Time,omitnil" name:"Time"` }
Predefined struct for user
type QueryMetricResponse ¶
type QueryMetricResponse struct { *tchttp.BaseResponse Response *QueryMetricResponseParams `json:"Response"` }
func NewQueryMetricResponse ¶
func NewQueryMetricResponse() (response *QueryMetricResponse)
func (*QueryMetricResponse) FromJsonString ¶
func (r *QueryMetricResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*QueryMetricResponse) ToJsonString ¶
func (r *QueryMetricResponse) ToJsonString() string
type QueryMetricResponseParams ¶
type QueryMetricResponseParams struct { // 指标查询结果类型 ResultType *string `json:"ResultType,omitnil" name:"ResultType"` // 指标查询结果 Result *string `json:"Result,omitnil" name:"Result"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type QueryRangeMetricRequest ¶
type QueryRangeMetricRequest struct { *tchttp.BaseRequest // 指标主题ID TopicId *string `json:"TopicId,omitnil" name:"TopicId"` // 查询语句,使用PromQL语法 Query *string `json:"Query,omitnil" name:"Query"` // 查询起始时间,秒级Unix时间戳 Start *uint64 `json:"Start,omitnil" name:"Start"` // 查询结束时间,秒级Unix时间戳 End *uint64 `json:"End,omitnil" name:"End"` // 查询时间间隔,单位秒 Step *uint64 `json:"Step,omitnil" name:"Step"` }
func NewQueryRangeMetricRequest ¶
func NewQueryRangeMetricRequest() (request *QueryRangeMetricRequest)
func (*QueryRangeMetricRequest) FromJsonString ¶
func (r *QueryRangeMetricRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*QueryRangeMetricRequest) ToJsonString ¶
func (r *QueryRangeMetricRequest) ToJsonString() string
type QueryRangeMetricRequestParams ¶
type QueryRangeMetricRequestParams struct { // 指标主题ID TopicId *string `json:"TopicId,omitnil" name:"TopicId"` // 查询语句,使用PromQL语法 Query *string `json:"Query,omitnil" name:"Query"` // 查询起始时间,秒级Unix时间戳 Start *uint64 `json:"Start,omitnil" name:"Start"` // 查询结束时间,秒级Unix时间戳 End *uint64 `json:"End,omitnil" name:"End"` // 查询时间间隔,单位秒 Step *uint64 `json:"Step,omitnil" name:"Step"` }
Predefined struct for user
type QueryRangeMetricResponse ¶
type QueryRangeMetricResponse struct { *tchttp.BaseResponse Response *QueryRangeMetricResponseParams `json:"Response"` }
func NewQueryRangeMetricResponse ¶
func NewQueryRangeMetricResponse() (response *QueryRangeMetricResponse)
func (*QueryRangeMetricResponse) FromJsonString ¶
func (r *QueryRangeMetricResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*QueryRangeMetricResponse) ToJsonString ¶
func (r *QueryRangeMetricResponse) ToJsonString() string
type QueryRangeMetricResponseParams ¶
type QueryRangeMetricResponseParams struct { // 指标查询结果类型 ResultType *string `json:"ResultType,omitnil" name:"ResultType"` // 指标查询结果 Result *string `json:"Result,omitnil" name:"Result"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type RetryShipperTaskRequest ¶
type RetryShipperTaskRequest struct { *tchttp.BaseRequest // 投递规则ID ShipperId *string `json:"ShipperId,omitnil" name:"ShipperId"` // 投递任务ID TaskId *string `json:"TaskId,omitnil" name:"TaskId"` }
func NewRetryShipperTaskRequest ¶
func NewRetryShipperTaskRequest() (request *RetryShipperTaskRequest)
func (*RetryShipperTaskRequest) FromJsonString ¶
func (r *RetryShipperTaskRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*RetryShipperTaskRequest) ToJsonString ¶
func (r *RetryShipperTaskRequest) ToJsonString() string
type RetryShipperTaskRequestParams ¶
type RetryShipperTaskRequestParams struct { // 投递规则ID ShipperId *string `json:"ShipperId,omitnil" name:"ShipperId"` // 投递任务ID TaskId *string `json:"TaskId,omitnil" name:"TaskId"` }
Predefined struct for user
type RetryShipperTaskResponse ¶
type RetryShipperTaskResponse struct { *tchttp.BaseResponse Response *RetryShipperTaskResponseParams `json:"Response"` }
func NewRetryShipperTaskResponse ¶
func NewRetryShipperTaskResponse() (response *RetryShipperTaskResponse)
func (*RetryShipperTaskResponse) FromJsonString ¶
func (r *RetryShipperTaskResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*RetryShipperTaskResponse) ToJsonString ¶
func (r *RetryShipperTaskResponse) ToJsonString() string
type RetryShipperTaskResponseParams ¶
type RetryShipperTaskResponseParams struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type RuleInfo ¶
type RuleInfo struct { // 全文索引配置, 如果为空时代表未开启全文索引 // 注意:此字段可能返回 null,表示取不到有效值。 FullText *FullTextInfo `json:"FullText,omitnil" name:"FullText"` // 键值索引配置,如果为空时代表未开启键值索引 // 注意:此字段可能返回 null,表示取不到有效值。 KeyValue *RuleKeyValueInfo `json:"KeyValue,omitnil" name:"KeyValue"` // 元字段索引配置,如果为空时代表未开启元字段索引 // 注意:此字段可能返回 null,表示取不到有效值。 Tag *RuleTagInfo `json:"Tag,omitnil" name:"Tag"` // 动态索引配置,为空时代表未开启动态索引。 // 启用后将自动把日志内的字段添加到键值索引字段列表中,包括日志中新增的字段。 // 注意:此字段可能返回 null,表示取不到有效值。 DynamicIndex *DynamicIndex `json:"DynamicIndex,omitnil" name:"DynamicIndex"` }
type RuleKeyValueInfo ¶
type RuleKeyValueInfo struct { // 是否大小写敏感 CaseSensitive *bool `json:"CaseSensitive,omitnil" name:"CaseSensitive"` // 需要建立索引的键值对信息 KeyValues []*KeyValueInfo `json:"KeyValues,omitnil" name:"KeyValues"` }
type RuleTagInfo ¶
type RuleTagInfo struct { // 是否大小写敏感 CaseSensitive *bool `json:"CaseSensitive,omitnil" name:"CaseSensitive"` // 元字段索引配置中的字段信息 KeyValues []*KeyValueInfo `json:"KeyValues,omitnil" name:"KeyValues"` }
type ScheduledSqlResouceInfo ¶
type ScheduledSqlResouceInfo struct { // 目标主题id TopicId *string `json:"TopicId,omitnil" name:"TopicId"` // 主题的地域信息 Region *string `json:"Region,omitnil" name:"Region"` // 主题类型:0为日志主题,1为指标主题 BizType *int64 `json:"BizType,omitnil" name:"BizType"` // 指标名称。当BizType为1时,MetricName需要填写 MetricName *string `json:"MetricName,omitnil" name:"MetricName"` // 指标名称 // BizType为1时,优先使用MetricNames字段多指标只能填充到MetricNames字段,单指标建议填充到MetricName字段 MetricNames []*string `json:"MetricNames,omitnil" name:"MetricNames"` // 指标维度,不接受时间类型。 MetricLabels []*string `json:"MetricLabels,omitnil" name:"MetricLabels"` // 指标时间戳,默认值为SQL查询时间范围的左侧时间点,您也可以指定其他字段(类型为uinx时间、TimeStamp,精度毫秒)为指标时间戳。 CustomTime *string `json:"CustomTime,omitnil" name:"CustomTime"` // 除了MetricLabels,您还可以使用该参数,为指标补充静态的维度。 // 维度名以字母或下划线开头,后面可以跟字母、数字或下划线,长度小于等于1024 字节 CustomMetricLabels []*MetricLabel `json:"CustomMetricLabels,omitnil" name:"CustomMetricLabels"` }
type ScheduledSqlTaskInfo ¶
type ScheduledSqlTaskInfo struct { // ScheduledSql任务id TaskId *string `json:"TaskId,omitnil" name:"TaskId"` // ScheduledSql任务名称 Name *string `json:"Name,omitnil" name:"Name"` // 源日志主题id SrcTopicId *string `json:"SrcTopicId,omitnil" name:"SrcTopicId"` // 源日志主题名称 SrcTopicName *string `json:"SrcTopicName,omitnil" name:"SrcTopicName"` // 定时SQL分析目标主题 DstResource *ScheduledSqlResouceInfo `json:"DstResource,omitnil" name:"DstResource"` // 任务创建时间 CreateTime *string `json:"CreateTime,omitnil" name:"CreateTime"` // 任务更新时间 UpdateTime *string `json:"UpdateTime,omitnil" name:"UpdateTime"` // 任务状态,1:运行 2:停止 3:异常-找不到源日志主题 4:异常-找不到目标主题 // // 5: 访问权限问题 6:内部故障 7:其他故障 Status *int64 `json:"Status,omitnil" name:"Status"` // 任务启用状态,1开启, 2关闭 EnableFlag *int64 `json:"EnableFlag,omitnil" name:"EnableFlag"` // 查询语句 ScheduledSqlContent *string `json:"ScheduledSqlContent,omitnil" name:"ScheduledSqlContent"` // 调度开始时间 ProcessStartTime *string `json:"ProcessStartTime,omitnil" name:"ProcessStartTime"` // 调度类型,1:持续运行 2:指定时间范围 ProcessType *int64 `json:"ProcessType,omitnil" name:"ProcessType"` // 调度结束时间,当process_type=2时为必传字段 ProcessEndTime *string `json:"ProcessEndTime,omitnil" name:"ProcessEndTime"` // 调度周期(分钟) ProcessPeriod *int64 `json:"ProcessPeriod,omitnil" name:"ProcessPeriod"` // 查询的时间窗口. @m-15m, @m,意为近15分钟 ProcessTimeWindow *string `json:"ProcessTimeWindow,omitnil" name:"ProcessTimeWindow"` // 执行延迟(秒) ProcessDelay *int64 `json:"ProcessDelay,omitnil" name:"ProcessDelay"` // 源topicId的地域信息 SrcTopicRegion *string `json:"SrcTopicRegion,omitnil" name:"SrcTopicRegion"` // 语法规则,0:Lucene语法,1:CQL语法 // 注意:此字段可能返回 null,表示取不到有效值。 SyntaxRule *uint64 `json:"SyntaxRule,omitnil" name:"SyntaxRule"` }
type SearchCosRechargeInfoRequest ¶
type SearchCosRechargeInfoRequest struct { *tchttp.BaseRequest // 日志主题 ID TopicId *string `json:"TopicId,omitnil" name:"TopicId"` // 日志集ID LogsetId *string `json:"LogsetId,omitnil" name:"LogsetId"` // 投递任务名称 Name *string `json:"Name,omitnil" name:"Name"` // 存储桶。 // 存储桶命名规范:https://cloud.tencent.com/document/product/436/13312 Bucket *string `json:"Bucket,omitnil" name:"Bucket"` // 存储桶所在地域。 // 地域和访问域名:https://cloud.tencent.com/document/product/436/6224 BucketRegion *string `json:"BucketRegion,omitnil" name:"BucketRegion"` // cos文件所在文件夹的前缀 Prefix *string `json:"Prefix,omitnil" name:"Prefix"` // 压缩模式: "", "gzip", "lzop", "snappy”; 默认"" Compress *string `json:"Compress,omitnil" name:"Compress"` }
func NewSearchCosRechargeInfoRequest ¶
func NewSearchCosRechargeInfoRequest() (request *SearchCosRechargeInfoRequest)
func (*SearchCosRechargeInfoRequest) FromJsonString ¶
func (r *SearchCosRechargeInfoRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*SearchCosRechargeInfoRequest) ToJsonString ¶
func (r *SearchCosRechargeInfoRequest) ToJsonString() string
type SearchCosRechargeInfoRequestParams ¶
type SearchCosRechargeInfoRequestParams struct { // 日志主题 ID TopicId *string `json:"TopicId,omitnil" name:"TopicId"` // 日志集ID LogsetId *string `json:"LogsetId,omitnil" name:"LogsetId"` // 投递任务名称 Name *string `json:"Name,omitnil" name:"Name"` // 存储桶。 // 存储桶命名规范:https://cloud.tencent.com/document/product/436/13312 Bucket *string `json:"Bucket,omitnil" name:"Bucket"` // 存储桶所在地域。 // 地域和访问域名:https://cloud.tencent.com/document/product/436/6224 BucketRegion *string `json:"BucketRegion,omitnil" name:"BucketRegion"` // cos文件所在文件夹的前缀 Prefix *string `json:"Prefix,omitnil" name:"Prefix"` // 压缩模式: "", "gzip", "lzop", "snappy”; 默认"" Compress *string `json:"Compress,omitnil" name:"Compress"` }
Predefined struct for user
type SearchCosRechargeInfoResponse ¶
type SearchCosRechargeInfoResponse struct { *tchttp.BaseResponse Response *SearchCosRechargeInfoResponseParams `json:"Response"` }
func NewSearchCosRechargeInfoResponse ¶
func NewSearchCosRechargeInfoResponse() (response *SearchCosRechargeInfoResponse)
func (*SearchCosRechargeInfoResponse) FromJsonString ¶
func (r *SearchCosRechargeInfoResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*SearchCosRechargeInfoResponse) ToJsonString ¶
func (r *SearchCosRechargeInfoResponse) ToJsonString() string
type SearchCosRechargeInfoResponseParams ¶
type SearchCosRechargeInfoResponseParams struct { // 匹配到的存储桶下的某个文件的前几行数据 // 注意:此字段可能返回 null,表示取不到有效值。 Data []*string `json:"Data,omitnil" name:"Data"` // 匹配到的存储桶下的文件个数 Sum *uint64 `json:"Sum,omitnil" name:"Sum"` // 当前预览文件路径 // 注意:此字段可能返回 null,表示取不到有效值。 Path *string `json:"Path,omitnil" name:"Path"` // 预览获取数据失败原因 // 注意:此字段可能返回 null,表示取不到有效值。 Msg *string `json:"Msg,omitnil" name:"Msg"` // 状态 Status *int64 `json:"Status,omitnil" name:"Status"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type SearchLogErrors ¶
type SearchLogErrors struct { // 日志主题ID // 注意:此字段可能返回 null,表示取不到有效值。 TopicId *string `json:"TopicId,omitnil" name:"TopicId"` // 错误信息 // 注意:此字段可能返回 null,表示取不到有效值。 ErrorMsg *string `json:"ErrorMsg,omitnil" name:"ErrorMsg"` // 错误码 // 注意:此字段可能返回 null,表示取不到有效值。 ErrorCodeStr *string `json:"ErrorCodeStr,omitnil" name:"ErrorCodeStr"` }
type SearchLogInfos ¶
type SearchLogRequest ¶
type SearchLogRequest struct { *tchttp.BaseRequest // 要检索分析的日志的起始时间,Unix时间戳(毫秒) From *int64 `json:"From,omitnil" name:"From"` // 要检索分析的日志的结束时间,Unix时间戳(毫秒) To *int64 `json:"To,omitnil" 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" name:"Query"` // - 要检索分析的日志主题ID,仅能指定一个日志主题。 // - 如需同时检索多个日志主题,请使用Topics参数。 TopicId *string `json:"TopicId,omitnil" name:"TopicId"` // 表示单次查询返回的原始日志条数,默认为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" name:"Limit"` // 透传上次接口返回的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" 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" name:"Sort"` // 为true代表使用新的检索结果返回方式,输出参数AnalysisRecords和Columns有效 // 为false时代表使用老的检索结果返回方式, 输出AnalysisResults和ColNames有效 // 两种返回方式在编码格式上有少量区别,建议使用true UseNewAnalysis *bool `json:"UseNewAnalysis,omitnil" name:"UseNewAnalysis"` // 执行统计分析(Query中包含SQL)时,是否对原始日志先进行采样,再进行统计分析。 // 0:自动采样; // 0~1:按指定采样率采样,例如0.02; // 1:不采样,即精确分析 // 默认值为1 SamplingRate *float64 `json:"SamplingRate,omitnil" name:"SamplingRate"` // 检索语法规则,默认值为0。 // 0:Lucene语法,1:CQL语法。 // 详细说明参见<a href="https://cloud.tencent.com/document/product/614/47044#RetrievesConditionalRules" target="_blank">检索条件语法规则</a> SyntaxRule *uint64 `json:"SyntaxRule,omitnil" name:"SyntaxRule"` // - 要检索分析的日志主题列表,最大支持20个日志主题。 // - 检索单个日志主题时请使用TopicId。 // - 不能同时使用TopicId和Topics。 Topics []*MultiTopicSearchInformation `json:"Topics,omitnil" name:"Topics"` }
func NewSearchLogRequest ¶
func NewSearchLogRequest() (request *SearchLogRequest)
func (*SearchLogRequest) FromJsonString ¶
func (r *SearchLogRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*SearchLogRequest) ToJsonString ¶
func (r *SearchLogRequest) ToJsonString() string
type SearchLogRequestParams ¶
type SearchLogRequestParams struct { // 要检索分析的日志的起始时间,Unix时间戳(毫秒) From *int64 `json:"From,omitnil" name:"From"` // 要检索分析的日志的结束时间,Unix时间戳(毫秒) To *int64 `json:"To,omitnil" 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" name:"Query"` // - 要检索分析的日志主题ID,仅能指定一个日志主题。 // - 如需同时检索多个日志主题,请使用Topics参数。 TopicId *string `json:"TopicId,omitnil" name:"TopicId"` // 表示单次查询返回的原始日志条数,默认为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" name:"Limit"` // 透传上次接口返回的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" 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" name:"Sort"` // 为true代表使用新的检索结果返回方式,输出参数AnalysisRecords和Columns有效 // 为false时代表使用老的检索结果返回方式, 输出AnalysisResults和ColNames有效 // 两种返回方式在编码格式上有少量区别,建议使用true UseNewAnalysis *bool `json:"UseNewAnalysis,omitnil" name:"UseNewAnalysis"` // 执行统计分析(Query中包含SQL)时,是否对原始日志先进行采样,再进行统计分析。 // 0:自动采样; // 0~1:按指定采样率采样,例如0.02; // 1:不采样,即精确分析 // 默认值为1 SamplingRate *float64 `json:"SamplingRate,omitnil" name:"SamplingRate"` // 检索语法规则,默认值为0。 // 0:Lucene语法,1:CQL语法。 // 详细说明参见<a href="https://cloud.tencent.com/document/product/614/47044#RetrievesConditionalRules" target="_blank">检索条件语法规则</a> SyntaxRule *uint64 `json:"SyntaxRule,omitnil" name:"SyntaxRule"` // - 要检索分析的日志主题列表,最大支持20个日志主题。 // - 检索单个日志主题时请使用TopicId。 // - 不能同时使用TopicId和Topics。 Topics []*MultiTopicSearchInformation `json:"Topics,omitnil" name:"Topics"` }
Predefined struct for user
type SearchLogResponse ¶
type SearchLogResponse struct { *tchttp.BaseResponse Response *SearchLogResponseParams `json:"Response"` }
func NewSearchLogResponse ¶
func NewSearchLogResponse() (response *SearchLogResponse)
func (*SearchLogResponse) FromJsonString ¶
func (r *SearchLogResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*SearchLogResponse) ToJsonString ¶
func (r *SearchLogResponse) ToJsonString() string
type SearchLogResponseParams ¶
type SearchLogResponseParams struct { // 透传本次接口返回的Context值,可获取后续更多日志,过期时间1小时。 // 注意: // * 仅适用于单日志主题检索,检索多个日志主题时,请使用Topics中的Context Context *string `json:"Context,omitnil" name:"Context"` // 符合检索条件的日志是否已全部返回,如未全部返回可使用Context参数获取后续更多日志 // 注意:仅当检索分析语句(Query)不包含SQL时有效 ListOver *bool `json:"ListOver,omitnil" name:"ListOver"` // 返回的是否为统计分析(即SQL)结果 Analysis *bool `json:"Analysis,omitnil" name:"Analysis"` // 匹配检索条件的原始日志 // 注意:此字段可能返回 null,表示取不到有效值。 Results []*LogInfo `json:"Results,omitnil" name:"Results"` // 日志统计分析结果的列名 // 当UseNewAnalysis为false时生效 // 注意:此字段可能返回 null,表示取不到有效值。 ColNames []*string `json:"ColNames,omitnil" name:"ColNames"` // 日志统计分析结果 // 当UseNewAnalysis为false时生效 // 注意:此字段可能返回 null,表示取不到有效值。 AnalysisResults []*LogItems `json:"AnalysisResults,omitnil" name:"AnalysisResults"` // 日志统计分析结果 // 当UseNewAnalysis为true时生效 // 注意:此字段可能返回 null,表示取不到有效值。 AnalysisRecords []*string `json:"AnalysisRecords,omitnil" name:"AnalysisRecords"` // 日志统计分析结果的列属性 // 当UseNewAnalysis为true时生效 // 注意:此字段可能返回 null,表示取不到有效值。 Columns []*Column `json:"Columns,omitnil" name:"Columns"` // 本次统计分析使用的采样率 // 注意:此字段可能返回 null,表示取不到有效值。 SamplingRate *float64 `json:"SamplingRate,omitnil" name:"SamplingRate"` // 使用多日志主题检索时,各个日志主题的基本信息,例如报错信息。 // 注意:此字段可能返回 null,表示取不到有效值。 Topics *SearchLogTopics `json:"Topics,omitnil" name:"Topics"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type SearchLogTopics ¶
type SearchLogTopics struct { // 多日志主题检索对应的错误信息 // 注意:此字段可能返回 null,表示取不到有效值。 Errors []*SearchLogErrors `json:"Errors,omitnil" name:"Errors"` // 多日志主题检索各日志主题信息 // 注意:此字段可能返回 null,表示取不到有效值。 Infos []*SearchLogInfos `json:"Infos,omitnil" name:"Infos"` }
type ShipperInfo ¶
type ShipperInfo struct { // 投递规则ID ShipperId *string `json:"ShipperId,omitnil" name:"ShipperId"` // 日志主题ID TopicId *string `json:"TopicId,omitnil" name:"TopicId"` // 投递的bucket地址 Bucket *string `json:"Bucket,omitnil" name:"Bucket"` // 投递的前缀目录 Prefix *string `json:"Prefix,omitnil" name:"Prefix"` // 投递规则的名字 ShipperName *string `json:"ShipperName,omitnil" name:"ShipperName"` // 投递的时间间隔,单位 秒 Interval *uint64 `json:"Interval,omitnil" name:"Interval"` // 投递的文件的最大值,单位 MB MaxSize *uint64 `json:"MaxSize,omitnil" name:"MaxSize"` // 是否生效 Status *bool `json:"Status,omitnil" name:"Status"` // 投递日志的过滤规则 // 注意:此字段可能返回 null,表示取不到有效值。 FilterRules []*FilterRuleInfo `json:"FilterRules,omitnil" name:"FilterRules"` // 投递日志的分区规则,支持strftime的时间格式表示 Partition *string `json:"Partition,omitnil" name:"Partition"` // 投递日志的压缩配置 // 注意:此字段可能返回 null,表示取不到有效值。 Compress *CompressInfo `json:"Compress,omitnil" name:"Compress"` // 投递日志的内容格式配置 // 注意:此字段可能返回 null,表示取不到有效值。 Content *ContentInfo `json:"Content,omitnil" name:"Content"` // 投递日志的创建时间 CreateTime *string `json:"CreateTime,omitnil" name:"CreateTime"` // 投递文件命名配置,0:随机数命名,1:投递时间命名,默认0(随机数命名) // 注意:此字段可能返回 null,表示取不到有效值。 FilenameMode *uint64 `json:"FilenameMode,omitnil" name:"FilenameMode"` // 投递数据范围的开始时间点 // 注意:此字段可能返回 null,表示取不到有效值。 StartTime *int64 `json:"StartTime,omitnil" name:"StartTime"` // 投递数据范围的结束时间点 // 注意:此字段可能返回 null,表示取不到有效值。 EndTime *int64 `json:"EndTime,omitnil" name:"EndTime"` // 历史数据投递的进度(仅当用户选择的数据内中历史数据时才有效) // 注意:此字段可能返回 null,表示取不到有效值。 Progress *float64 `json:"Progress,omitnil" name:"Progress"` // 历史数据全部投递完成剩余的时间(仅当用户选择的数据中有历史数据时才有效) // 注意:此字段可能返回 null,表示取不到有效值。 RemainTime *int64 `json:"RemainTime,omitnil" name:"RemainTime"` // 历史任务状态: // 0:实时任务 // 1:任务准备中 // 2:任务运行中 // 3:任务运行异常 // 4:任务运行结束 // 注意:此字段可能返回 null,表示取不到有效值。 HistoryStatus *int64 `json:"HistoryStatus,omitnil" name:"HistoryStatus"` // cos桶类型 // 注意:此字段可能返回 null,表示取不到有效值。 StorageType *string `json:"StorageType,omitnil" name:"StorageType"` }
type ShipperTaskInfo ¶
type ShipperTaskInfo struct { // 投递任务ID TaskId *string `json:"TaskId,omitnil" name:"TaskId"` // 投递信息ID ShipperId *string `json:"ShipperId,omitnil" name:"ShipperId"` // 日志主题ID TopicId *string `json:"TopicId,omitnil" name:"TopicId"` // 本批投递的日志的开始时间戳,毫秒 RangeStart *int64 `json:"RangeStart,omitnil" name:"RangeStart"` // 本批投递的日志的结束时间戳, 毫秒 RangeEnd *int64 `json:"RangeEnd,omitnil" name:"RangeEnd"` // 本次投递任务的开始时间戳, 毫秒 StartTime *int64 `json:"StartTime,omitnil" name:"StartTime"` // 本次投递任务的结束时间戳, 毫秒 EndTime *int64 `json:"EndTime,omitnil" name:"EndTime"` // 本次投递的结果,"success","running","failed" Status *string `json:"Status,omitnil" name:"Status"` // 结果的详细信息 Message *string `json:"Message,omitnil" name:"Message"` }
type SplitPartitionRequest ¶
type SplitPartitionRequest struct { *tchttp.BaseRequest // 日志主题ID TopicId *string `json:"TopicId,omitnil" name:"TopicId"` // 待分裂分区ID PartitionId *int64 `json:"PartitionId,omitnil" name:"PartitionId"` // 分区切分的哈希key的位置,只在Number=2时有意义 SplitKey *string `json:"SplitKey,omitnil" name:"SplitKey"` // 分区分裂个数(可选),默认等于2 Number *int64 `json:"Number,omitnil" name:"Number"` }
func NewSplitPartitionRequest ¶
func NewSplitPartitionRequest() (request *SplitPartitionRequest)
func (*SplitPartitionRequest) FromJsonString ¶
func (r *SplitPartitionRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*SplitPartitionRequest) ToJsonString ¶
func (r *SplitPartitionRequest) ToJsonString() string
type SplitPartitionRequestParams ¶
type SplitPartitionRequestParams struct { // 日志主题ID TopicId *string `json:"TopicId,omitnil" name:"TopicId"` // 待分裂分区ID PartitionId *int64 `json:"PartitionId,omitnil" name:"PartitionId"` // 分区切分的哈希key的位置,只在Number=2时有意义 SplitKey *string `json:"SplitKey,omitnil" name:"SplitKey"` // 分区分裂个数(可选),默认等于2 Number *int64 `json:"Number,omitnil" name:"Number"` }
Predefined struct for user
type SplitPartitionResponse ¶
type SplitPartitionResponse struct { *tchttp.BaseResponse Response *SplitPartitionResponseParams `json:"Response"` }
func NewSplitPartitionResponse ¶
func NewSplitPartitionResponse() (response *SplitPartitionResponse)
func (*SplitPartitionResponse) FromJsonString ¶
func (r *SplitPartitionResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*SplitPartitionResponse) ToJsonString ¶
func (r *SplitPartitionResponse) ToJsonString() string
type SplitPartitionResponseParams ¶
type SplitPartitionResponseParams struct { // 分裂结果集 Partitions []*PartitionInfo `json:"Partitions,omitnil" name:"Partitions"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type TopicIdAndRegion ¶
type TopicIdAndRegion struct { // 日志主题id TopicId *string `json:"TopicId,omitnil" name:"TopicId"` // 日志主题id 所在的地域id // 地域ID - 访问链接查看详情:https://iwiki.woa.com/pages/viewpage.action?pageId=780556968#id-地域码表-一.region大区(标准地域) RegionId *uint64 `json:"RegionId,omitnil" name:"RegionId"` }
type TopicInfo ¶
type TopicInfo struct { // 日志集ID LogsetId *string `json:"LogsetId,omitnil" name:"LogsetId"` // 主题ID TopicId *string `json:"TopicId,omitnil" name:"TopicId"` // 主题名称 TopicName *string `json:"TopicName,omitnil" name:"TopicName"` // 主题分区个数 PartitionCount *int64 `json:"PartitionCount,omitnil" name:"PartitionCount"` // 主题是否开启索引(主题类型需为日志主题) Index *bool `json:"Index,omitnil" name:"Index"` // 云产品标识,主题由其它云产品创建时,该字段会显示云产品名称,例如CDN、TKE // 注意:此字段可能返回 null,表示取不到有效值。 AssumerName *string `json:"AssumerName,omitnil" name:"AssumerName"` // 创建时间 CreateTime *string `json:"CreateTime,omitnil" name:"CreateTime"` // 主题是否开启采集 Status *bool `json:"Status,omitnil" name:"Status"` // 主题绑定的标签信息 // 注意:此字段可能返回 null,表示取不到有效值。 Tags []*Tag `json:"Tags,omitnil" name:"Tags"` // 该主题是否开启自动分裂 // 注意:此字段可能返回 null,表示取不到有效值。 AutoSplit *bool `json:"AutoSplit,omitnil" name:"AutoSplit"` // 若开启自动分裂的话,该主题能够允许的最大分区数 // 注意:此字段可能返回 null,表示取不到有效值。 MaxSplitPartitions *int64 `json:"MaxSplitPartitions,omitnil" name:"MaxSplitPartitions"` // 主题的存储类型 // 注意:此字段可能返回 null,表示取不到有效值。 StorageType *string `json:"StorageType,omitnil" name:"StorageType"` // 生命周期,单位天,可取值范围1~3600。取值为3640时代表永久保存 // 注意:此字段可能返回 null,表示取不到有效值。 Period *int64 `json:"Period,omitnil" name:"Period"` // 云产品二级标识,日志主题由其它云产品创建时,该字段会显示云产品名称及其日志类型的二级分类,例如TKE-Audit、TKE-Event。部分云产品仅有云产品标识(AssumerName),无该字段。 // 注意:此字段可能返回 null,表示取不到有效值。 SubAssumerName *string `json:"SubAssumerName,omitnil" name:"SubAssumerName"` // 主题描述 // 注意:此字段可能返回 null,表示取不到有效值。 Describes *string `json:"Describes,omitnil" name:"Describes"` // 开启日志沉降,标准存储的生命周期, hotPeriod < Period。 // 标准存储为 hotPeriod, 低频存储则为 Period-hotPeriod。(主题类型需为日志主题) // 注意:此字段可能返回 null,表示取不到有效值。 HotPeriod *uint64 `json:"HotPeriod,omitnil" name:"HotPeriod"` // 主题类型。 // - 0: 日志主题 // - 1: 指标主题 // 注意:此字段可能返回 null,表示取不到有效值。 BizType *uint64 `json:"BizType,omitnil" name:"BizType"` // 免鉴权开关。 // - false: 关闭 // - true: 开启 // 注意:此字段可能返回 null,表示取不到有效值。 IsWebTracking *bool `json:"IsWebTracking,omitnil" name:"IsWebTracking"` }
type UploadLogRequest ¶
type UploadLogRequest struct { *tchttp.BaseRequest // 主题id TopicId *string `json:"TopicId,omitnil" name:"TopicId"` // 根据 hashkey 写入相应范围的主题分区 HashKey *string `json:"HashKey,omitnil" name:"HashKey"` // 压缩方法 CompressType *string `json:"CompressType,omitnil" name:"CompressType"` }
func NewUploadLogRequest ¶
func NewUploadLogRequest() (request *UploadLogRequest)
func (*UploadLogRequest) FromJsonString ¶
func (r *UploadLogRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UploadLogRequest) ToJsonString ¶
func (r *UploadLogRequest) ToJsonString() string
type UploadLogRequestParams ¶
type UploadLogRequestParams struct { // 主题id TopicId *string `json:"TopicId,omitnil" name:"TopicId"` // 根据 hashkey 写入相应范围的主题分区 HashKey *string `json:"HashKey,omitnil" name:"HashKey"` // 压缩方法 CompressType *string `json:"CompressType,omitnil" name:"CompressType"` }
Predefined struct for user
type UploadLogResponse ¶
type UploadLogResponse struct { *tchttp.BaseResponse Response *UploadLogResponseParams `json:"Response"` }
func NewUploadLogResponse ¶
func NewUploadLogResponse() (response *UploadLogResponse)
func (*UploadLogResponse) FromJsonString ¶
func (r *UploadLogResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UploadLogResponse) ToJsonString ¶
func (r *UploadLogResponse) ToJsonString() string
type UploadLogResponseParams ¶
type UploadLogResponseParams struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type ValueInfo ¶
type ValueInfo struct { // 字段类型,目前支持的类型有:long、text、double Type *string `json:"Type,omitnil" name:"Type"` // 字段的分词符,其中的每个字符代表一个分词符; // 仅支持英文符号、\n\t\r及转义符\; // long及double类型字段需为空; // 注意:\n\t\r本身已被转义,直接使用双引号包裹即可作为入参,无需再次转义。使用API Explorer进行调试时请使用JSON参数输入方式,以避免\n\t\r被重复转义 Tokenizer *string `json:"Tokenizer,omitnil" name:"Tokenizer"` // 字段是否开启分析功能 SqlFlag *bool `json:"SqlFlag,omitnil" name:"SqlFlag"` // 是否包含中文,long及double类型字段需为false // 注意:此字段可能返回 null,表示取不到有效值。 ContainZH *bool `json:"ContainZH,omitnil" name:"ContainZH"` }
type WebCallback ¶
type WebCallback struct { // 回调地址。 Url *string `json:"Url,omitnil" name:"Url"` // 回调的类型。可选值: // <li> WeCom // <li> Http CallbackType *string `json:"CallbackType,omitnil" name:"CallbackType"` // 回调方法。可选值: // <li> POST // <li> PUT // 默认值为POST。CallbackType为Http时为必选。 // 注意:此字段可能返回 null,表示取不到有效值。 Method *string `json:"Method,omitnil" name:"Method"` // 请求头。 // 注意:该参数已废弃,请在<a href="https://cloud.tencent.com/document/product/614/56466">创建告警策略</a>接口CallBack参数中指定请求头。 // 注意:此字段可能返回 null,表示取不到有效值。 Headers []*string `json:"Headers,omitnil" name:"Headers"` // 请求内容。 // 注意:该参数已废弃,请在<a href="https://cloud.tencent.com/document/product/614/56466">创建告警策略</a>接口CallBack参数中指定请求内容。 // 注意:此字段可能返回 null,表示取不到有效值。 Body *string `json:"Body,omitnil" name:"Body"` // 序号 Index *int64 `json:"Index,omitnil" name:"Index"` }