Documentation
¶
Index ¶
- type CancelLogDownloadTaskRequest
- func NewCancelLogDownloadTaskRequest(regionId string, logtopicUID string, downloadTaskUID string) *CancelLogDownloadTaskRequest
- func NewCancelLogDownloadTaskRequestWithAllParams(regionId string, logtopicUID string, downloadTaskUID string) *CancelLogDownloadTaskRequest
- func NewCancelLogDownloadTaskRequestWithoutParam() *CancelLogDownloadTaskRequest
- type CancelLogDownloadTaskResponse
- type CancelLogDownloadTaskResult
- type CreateCollectInfoRequest
- func NewCreateCollectInfoRequest(regionId string, logtopicUID string, appCode string, enabled bool, ...) *CreateCollectInfoRequest
- func NewCreateCollectInfoRequestWithAllParams(regionId string, logtopicUID string, agResource []logs.AgResource, ...) *CreateCollectInfoRequest
- func NewCreateCollectInfoRequestWithoutParam() *CreateCollectInfoRequest
- func (r CreateCollectInfoRequest) GetRegionId() string
- func (r *CreateCollectInfoRequest) SetAgResource(agResource []logs.AgResource)
- func (r *CreateCollectInfoRequest) SetAppCode(appCode string)
- func (r *CreateCollectInfoRequest) SetBinlogSpec(binlogSpec *logs.BinlogSpec)
- func (r *CreateCollectInfoRequest) SetEnabled(enabled bool)
- func (r *CreateCollectInfoRequest) SetFilterEnabled(filterEnabled bool)
- func (r *CreateCollectInfoRequest) SetK8sSpec(k8sSpec *logs.K8sSpec)
- func (r *CreateCollectInfoRequest) SetLogFile(logFile string)
- func (r *CreateCollectInfoRequest) SetLogFilters(logFilters []string)
- func (r *CreateCollectInfoRequest) SetLogPath(logPath string)
- func (r *CreateCollectInfoRequest) SetLogtopicEnabled(logtopicEnabled bool)
- func (r *CreateCollectInfoRequest) SetLogtopicUID(logtopicUID string)
- func (r *CreateCollectInfoRequest) SetName(name string)
- func (r *CreateCollectInfoRequest) SetRegexpStr(regexpStr string)
- func (r *CreateCollectInfoRequest) SetRegionId(regionId string)
- func (r *CreateCollectInfoRequest) SetResourceMode(resourceMode int64)
- func (r *CreateCollectInfoRequest) SetResourceType(resourceType string)
- func (r *CreateCollectInfoRequest) SetResources(resources []logs.Resource)
- func (r *CreateCollectInfoRequest) SetServiceCode(serviceCode string)
- func (r *CreateCollectInfoRequest) SetTagResource(tagResource *logs.TagResource)
- func (r *CreateCollectInfoRequest) SetTemplateUID(templateUID string)
- type CreateCollectInfoResponse
- type CreateCollectInfoResult
- type CreateIndexOptionRequest
- func NewCreateIndexOptionRequest(regionId string, logtopicUID string, logReduce bool, fulltextIndex bool, ...) *CreateIndexOptionRequest
- func NewCreateIndexOptionRequestWithAllParams(regionId string, logtopicUID string, logReduce bool, fulltextIndex bool, ...) *CreateIndexOptionRequest
- func NewCreateIndexOptionRequestWithoutParam() *CreateIndexOptionRequest
- func (r CreateIndexOptionRequest) GetRegionId() string
- func (r *CreateIndexOptionRequest) SetCaseSensitive(caseSensitive bool)
- func (r *CreateIndexOptionRequest) SetChn(chn bool)
- func (r *CreateIndexOptionRequest) SetFieldIndexOptions(fieldIndexOptions []logs.FieldIndexOption)
- func (r *CreateIndexOptionRequest) SetFulltextIndex(fulltextIndex bool)
- func (r *CreateIndexOptionRequest) SetLogReduce(logReduce bool)
- func (r *CreateIndexOptionRequest) SetLogtopicUID(logtopicUID string)
- func (r *CreateIndexOptionRequest) SetMaxTextLen(maxTextLen int)
- func (r *CreateIndexOptionRequest) SetRegionId(regionId string)
- func (r *CreateIndexOptionRequest) SetToken(token []string)
- type CreateIndexOptionResponse
- type CreateIndexOptionResult
- type CreateLogDownloadTaskRequest
- func NewCreateLogDownloadTaskRequest(regionId string, logtopicUID string) *CreateLogDownloadTaskRequest
- func NewCreateLogDownloadTaskRequestWithAllParams(regionId string, logtopicUID string, name *string, keyword *string, ...) *CreateLogDownloadTaskRequest
- func NewCreateLogDownloadTaskRequestWithoutParam() *CreateLogDownloadTaskRequest
- func (r CreateLogDownloadTaskRequest) GetRegionId() string
- func (r *CreateLogDownloadTaskRequest) SetCompress(compress int)
- func (r *CreateLogDownloadTaskRequest) SetEndTimestamp(endTimestamp int)
- func (r *CreateLogDownloadTaskRequest) SetFileSort(fileSort int)
- func (r *CreateLogDownloadTaskRequest) SetFormat(format int)
- func (r *CreateLogDownloadTaskRequest) SetKeyword(keyword string)
- func (r *CreateLogDownloadTaskRequest) SetLogCount(logCount int)
- func (r *CreateLogDownloadTaskRequest) SetLogtopicUID(logtopicUID string)
- func (r *CreateLogDownloadTaskRequest) SetName(name string)
- func (r *CreateLogDownloadTaskRequest) SetQuote(quote int)
- func (r *CreateLogDownloadTaskRequest) SetRegionId(regionId string)
- func (r *CreateLogDownloadTaskRequest) SetStartTimestamp(startTimestamp int)
- type CreateLogDownloadTaskResponse
- type CreateLogDownloadTaskResult
- type CreateLogsetRequest
- func (r CreateLogsetRequest) GetRegionId() string
- func (r *CreateLogsetRequest) SetDescription(description string)
- func (r *CreateLogsetRequest) SetInner(inner bool)
- func (r *CreateLogsetRequest) SetLifeCycle(lifeCycle int)
- func (r *CreateLogsetRequest) SetName(name string)
- func (r *CreateLogsetRequest) SetRegionId(regionId string)
- func (r *CreateLogsetRequest) SetResourceGroupUID(resourceGroupUID string)
- func (r *CreateLogsetRequest) SetTags(tags []logs.Tag)
- type CreateLogsetResponse
- type CreateLogsetResult
- type CreateLogtopicRequest
- func NewCreateLogtopicRequest(regionId string, logsetUID string, name string) *CreateLogtopicRequest
- func NewCreateLogtopicRequestWithAllParams(regionId string, logsetUID string, name string, description *string, ...) *CreateLogtopicRequest
- func NewCreateLogtopicRequestWithoutParam() *CreateLogtopicRequest
- func (r CreateLogtopicRequest) GetRegionId() string
- func (r *CreateLogtopicRequest) SetDescription(description string)
- func (r *CreateLogtopicRequest) SetInOrder(inOrder bool)
- func (r *CreateLogtopicRequest) SetLifeCycle(lifeCycle int)
- func (r *CreateLogtopicRequest) SetLogsetUID(logsetUID string)
- func (r *CreateLogtopicRequest) SetName(name string)
- func (r *CreateLogtopicRequest) SetRegionId(regionId string)
- func (r *CreateLogtopicRequest) SetTags(tags []logs.Tag)
- type CreateLogtopicResponse
- type CreateLogtopicResult
- type CreateMetricTaskRequest
- func NewCreateMetricTaskRequest(regionId string, logsetUID string, logtopicUID string, customUnit string, ...) *CreateMetricTaskRequest
- func NewCreateMetricTaskRequestWithAllParams(regionId string, logsetUID string, logtopicUID string, aggregate *string, ...) *CreateMetricTaskRequest
- func NewCreateMetricTaskRequestWithoutParam() *CreateMetricTaskRequest
- func (r CreateMetricTaskRequest) GetRegionId() string
- func (r *CreateMetricTaskRequest) SetAggregate(aggregate string)
- func (r *CreateMetricTaskRequest) SetCustomUnit(customUnit string)
- func (r *CreateMetricTaskRequest) SetDataField(dataField string)
- func (r *CreateMetricTaskRequest) SetFilterContent(filterContent string)
- func (r *CreateMetricTaskRequest) SetFilterOpen(filterOpen string)
- func (r *CreateMetricTaskRequest) SetFilterType(filterType string)
- func (r *CreateMetricTaskRequest) SetInterval(interval int64)
- func (r *CreateMetricTaskRequest) SetLogsetUID(logsetUID string)
- func (r *CreateMetricTaskRequest) SetLogtopicUID(logtopicUID string)
- func (r *CreateMetricTaskRequest) SetMetric(metric string)
- func (r *CreateMetricTaskRequest) SetName(name string)
- func (r *CreateMetricTaskRequest) SetRegionId(regionId string)
- func (r *CreateMetricTaskRequest) SetSettingType(settingType string)
- func (r *CreateMetricTaskRequest) SetSqlSpec(sqlSpec *logs.MetricTaskSqlSpec)
- func (r *CreateMetricTaskRequest) SetUnit(unit string)
- type CreateMetricTaskResponse
- type CreateMetricTaskResult
- type CreateParserRequest
- func NewCreateParserRequest(regionId string, logtopicUID string, parserFields []logs.ParserField, ...) *CreateParserRequest
- func NewCreateParserRequestWithAllParams(regionId string, logtopicUID string, indexToken []string, ...) *CreateParserRequest
- func NewCreateParserRequestWithoutParam() *CreateParserRequest
- func (r CreateParserRequest) GetRegionId() string
- func (r *CreateParserRequest) SetIndexToken(indexToken []string)
- func (r *CreateParserRequest) SetLogtopicUID(logtopicUID string)
- func (r *CreateParserRequest) SetParserFields(parserFields []logs.ParserField)
- func (r *CreateParserRequest) SetParserMode(parserMode string)
- func (r *CreateParserRequest) SetParserPattern(parserPattern string)
- func (r *CreateParserRequest) SetParserSample(parserSample string)
- func (r *CreateParserRequest) SetPipelines(pipelines []logs.PipelineSpec)
- func (r *CreateParserRequest) SetRegionId(regionId string)
- func (r *CreateParserRequest) SetReserveOriginContent(reserveOriginContent bool)
- type CreateParserResponse
- type CreateParserResult
- type CreateSubscribeRequest
- func NewCreateSubscribeRequest(regionId string, logsetUID string, logtopicUID string) *CreateSubscribeRequest
- func NewCreateSubscribeRequestWithAllParams(regionId string, logsetUID string, logtopicUID string) *CreateSubscribeRequest
- func NewCreateSubscribeRequestWithoutParam() *CreateSubscribeRequest
- type CreateSubscribeResponse
- type CreateSubscribeResult
- type DeleteCollectInfoRequest
- type DeleteCollectInfoResponse
- type DeleteCollectInfoResult
- type DeleteIndexOptionRequest
- type DeleteIndexOptionResponse
- type DeleteIndexOptionResult
- type DeleteLogsetRequest
- type DeleteLogsetResponse
- type DeleteLogsetResult
- type DeleteLogtopicRequest
- type DeleteLogtopicResponse
- type DeleteLogtopicResult
- type DeleteMetricTaskRequest
- func NewDeleteMetricTaskRequest(regionId string, logsetUID string, logtopicUID string, logmetrictaskUID string) *DeleteMetricTaskRequest
- func NewDeleteMetricTaskRequestWithAllParams(regionId string, logsetUID string, logtopicUID string, logmetrictaskUID string) *DeleteMetricTaskRequest
- func NewDeleteMetricTaskRequestWithoutParam() *DeleteMetricTaskRequest
- func (r DeleteMetricTaskRequest) GetRegionId() string
- func (r *DeleteMetricTaskRequest) SetLogmetrictaskUID(logmetrictaskUID string)
- func (r *DeleteMetricTaskRequest) SetLogsetUID(logsetUID string)
- func (r *DeleteMetricTaskRequest) SetLogtopicUID(logtopicUID string)
- func (r *DeleteMetricTaskRequest) SetRegionId(regionId string)
- type DeleteMetricTaskResponse
- type DeleteMetricTaskResult
- type DescribeCollectInfoBatchRequest
- func NewDescribeCollectInfoBatchRequest(regionId string, collectInfoUIDs string) *DescribeCollectInfoBatchRequest
- func NewDescribeCollectInfoBatchRequestWithAllParams(regionId string, collectInfoUIDs string) *DescribeCollectInfoBatchRequest
- func NewDescribeCollectInfoBatchRequestWithoutParam() *DescribeCollectInfoBatchRequest
- type DescribeCollectInfoBatchResponse
- type DescribeCollectInfoBatchResult
- type DescribeCollectInfoRequest
- type DescribeCollectInfoResponse
- type DescribeCollectInfoResult
- type DescribeCollectInfosRequest
- func NewDescribeCollectInfosRequest(regionId string, logtopicUID string) *DescribeCollectInfosRequest
- func NewDescribeCollectInfosRequestWithAllParams(regionId string, logtopicUID string, pageNumber *int, pageSize *int, ...) *DescribeCollectInfosRequest
- func NewDescribeCollectInfosRequestWithoutParam() *DescribeCollectInfosRequest
- func (r DescribeCollectInfosRequest) GetRegionId() string
- func (r *DescribeCollectInfosRequest) SetCollectInfoUID(collectInfoUID string)
- func (r *DescribeCollectInfosRequest) SetLogtopicUID(logtopicUID string)
- func (r *DescribeCollectInfosRequest) SetName(name string)
- func (r *DescribeCollectInfosRequest) SetPageNumber(pageNumber int)
- func (r *DescribeCollectInfosRequest) SetPageSize(pageSize int)
- func (r *DescribeCollectInfosRequest) SetRegionId(regionId string)
- type DescribeCollectInfosResponse
- type DescribeCollectInfosResult
- type DescribeCollectResourcesRequest
- func NewDescribeCollectResourcesRequest(regionId string, collectInfoUID string) *DescribeCollectResourcesRequest
- func NewDescribeCollectResourcesRequestWithAllParams(regionId string, collectInfoUID string, pageNumber *int, pageSize *int) *DescribeCollectResourcesRequest
- func NewDescribeCollectResourcesRequestWithoutParam() *DescribeCollectResourcesRequest
- func (r DescribeCollectResourcesRequest) GetRegionId() string
- func (r *DescribeCollectResourcesRequest) SetCollectInfoUID(collectInfoUID string)
- func (r *DescribeCollectResourcesRequest) SetPageNumber(pageNumber int)
- func (r *DescribeCollectResourcesRequest) SetPageSize(pageSize int)
- func (r *DescribeCollectResourcesRequest) SetRegionId(regionId string)
- type DescribeCollectResourcesResponse
- type DescribeCollectResourcesResult
- type DescribeIndexOptionRequest
- type DescribeIndexOptionResponse
- type DescribeIndexOptionResult
- type DescribeLogsetRequest
- type DescribeLogsetResponse
- type DescribeLogsetResult
- type DescribeLogsetsRequest
- func (r DescribeLogsetsRequest) GetRegionId() string
- func (r *DescribeLogsetsRequest) SetFilters(filters []logs.Filter)
- func (r *DescribeLogsetsRequest) SetName(name string)
- func (r *DescribeLogsetsRequest) SetPageNumber(pageNumber int)
- func (r *DescribeLogsetsRequest) SetPageSize(pageSize int)
- func (r *DescribeLogsetsRequest) SetRegionId(regionId string)
- func (r *DescribeLogsetsRequest) SetResourceGroupIds(resourceGroupIds []string)
- func (r *DescribeLogsetsRequest) SetTags(tags []logs.TagFilter)
- type DescribeLogsetsResponse
- type DescribeLogsetsResult
- type DescribeLogtopicRequest
- type DescribeLogtopicResponse
- type DescribeLogtopicResult
- type DescribeLogtopicsGlobalRequest
- func NewDescribeLogtopicsGlobalRequest(regionId string) *DescribeLogtopicsGlobalRequest
- func NewDescribeLogtopicsGlobalRequestWithAllParams(regionId string, filters []logs.Filter, tags []logs.TagFilter, appName *string) *DescribeLogtopicsGlobalRequest
- func NewDescribeLogtopicsGlobalRequestWithoutParam() *DescribeLogtopicsGlobalRequest
- func (r DescribeLogtopicsGlobalRequest) GetRegionId() string
- func (r *DescribeLogtopicsGlobalRequest) SetAppName(appName string)
- func (r *DescribeLogtopicsGlobalRequest) SetFilters(filters []logs.Filter)
- func (r *DescribeLogtopicsGlobalRequest) SetRegionId(regionId string)
- func (r *DescribeLogtopicsGlobalRequest) SetTags(tags []logs.TagFilter)
- type DescribeLogtopicsGlobalResponse
- type DescribeLogtopicsGlobalResult
- type DescribeLogtopicsRequest
- func NewDescribeLogtopicsRequest(regionId string, logsetUID string) *DescribeLogtopicsRequest
- func NewDescribeLogtopicsRequestWithAllParams(regionId string, logsetUID string, pageNumber *int, pageSize *int, ...) *DescribeLogtopicsRequest
- func NewDescribeLogtopicsRequestWithoutParam() *DescribeLogtopicsRequest
- func (r DescribeLogtopicsRequest) GetRegionId() string
- func (r *DescribeLogtopicsRequest) SetAppName(appName string)
- func (r *DescribeLogtopicsRequest) SetFilters(filters []logs.Filter)
- func (r *DescribeLogtopicsRequest) SetLogsetUID(logsetUID string)
- func (r *DescribeLogtopicsRequest) SetName(name string)
- func (r *DescribeLogtopicsRequest) SetPageNumber(pageNumber int)
- func (r *DescribeLogtopicsRequest) SetPageSize(pageSize int)
- func (r *DescribeLogtopicsRequest) SetRegionId(regionId string)
- func (r *DescribeLogtopicsRequest) SetTags(tags []logs.TagFilter)
- type DescribeLogtopicsResponse
- type DescribeLogtopicsResult
- type DescribeMetricTaskRequest
- func NewDescribeMetricTaskRequest(regionId string, logsetUID string, logtopicUID string, logmetrictaskUID string) *DescribeMetricTaskRequest
- func NewDescribeMetricTaskRequestWithAllParams(regionId string, logsetUID string, logtopicUID string, logmetrictaskUID string) *DescribeMetricTaskRequest
- func NewDescribeMetricTaskRequestWithoutParam() *DescribeMetricTaskRequest
- func (r DescribeMetricTaskRequest) GetRegionId() string
- func (r *DescribeMetricTaskRequest) SetLogmetrictaskUID(logmetrictaskUID string)
- func (r *DescribeMetricTaskRequest) SetLogsetUID(logsetUID string)
- func (r *DescribeMetricTaskRequest) SetLogtopicUID(logtopicUID string)
- func (r *DescribeMetricTaskRequest) SetRegionId(regionId string)
- type DescribeMetricTaskResponse
- type DescribeMetricTaskResult
- type DescribeMetricTasksRequest
- func NewDescribeMetricTasksRequest(regionId string, logsetUID string, logtopicUID string) *DescribeMetricTasksRequest
- func NewDescribeMetricTasksRequestWithAllParams(regionId string, logsetUID string, logtopicUID string, pageNumber *int64, ...) *DescribeMetricTasksRequest
- func NewDescribeMetricTasksRequestWithoutParam() *DescribeMetricTasksRequest
- func (r DescribeMetricTasksRequest) GetRegionId() string
- func (r *DescribeMetricTasksRequest) SetLogsetUID(logsetUID string)
- func (r *DescribeMetricTasksRequest) SetLogtopicUID(logtopicUID string)
- func (r *DescribeMetricTasksRequest) SetPageNumber(pageNumber int64)
- func (r *DescribeMetricTasksRequest) SetPageSize(pageSize int64)
- func (r *DescribeMetricTasksRequest) SetRegionId(regionId string)
- type DescribeMetricTasksResponse
- type DescribeMetricTasksResult
- type DescribeParserRequest
- type DescribeParserResponse
- type DescribeParserResult
- type DescribeSubscribeRequest
- func NewDescribeSubscribeRequest(regionId string, logsetUID string, logtopicUID string) *DescribeSubscribeRequest
- func NewDescribeSubscribeRequestWithAllParams(regionId string, logsetUID string, logtopicUID string) *DescribeSubscribeRequest
- func NewDescribeSubscribeRequestWithoutParam() *DescribeSubscribeRequest
- type DescribeSubscribeResponse
- type DescribeSubscribeResult
- type GetLogDownloadTasksRequest
- type GetLogDownloadTasksResponse
- type GetLogDownloadTasksResult
- type GetLogsRequest
- func (r GetLogsRequest) GetRegionId() string
- func (r *GetLogsRequest) SetEndTime(endTime string)
- func (r *GetLogsRequest) SetExpr(expr string)
- func (r *GetLogsRequest) SetFilters(filters []logs.Filter)
- func (r *GetLogsRequest) SetLogsetUID(logsetUID string)
- func (r *GetLogsRequest) SetLogtopicUID(logtopicUID string)
- func (r *GetLogsRequest) SetRegionId(regionId string)
- func (r *GetLogsRequest) SetSort(sort string)
- func (r *GetLogsRequest) SetStartTime(startTime string)
- func (r *GetLogsRequest) SetTaskID(taskID string)
- type GetLogsResponse
- type GetLogsResult
- type HistogramsRequest
- func NewHistogramsRequest(regionId string, logsetUID string, logtopicUID string, action string) *HistogramsRequest
- func NewHistogramsRequestWithAllParams(regionId string, logsetUID string, logtopicUID string, action string, ...) *HistogramsRequest
- func NewHistogramsRequestWithoutParam() *HistogramsRequest
- func (r HistogramsRequest) GetRegionId() string
- func (r *HistogramsRequest) SetAction(action string)
- func (r *HistogramsRequest) SetCaseSensitive(caseSensitive bool)
- func (r *HistogramsRequest) SetEndTime(endTime string)
- func (r *HistogramsRequest) SetExpr(expr string)
- func (r *HistogramsRequest) SetLogsetUID(logsetUID string)
- func (r *HistogramsRequest) SetLogtopicUID(logtopicUID string)
- func (r *HistogramsRequest) SetRegionId(regionId string)
- func (r *HistogramsRequest) SetStartTime(startTime string)
- type HistogramsResponse
- type HistogramsResult
- type InstanceCollectConfigListRequest
- func NewInstanceCollectConfigListRequest(pin string, product string, instance string) *InstanceCollectConfigListRequest
- func NewInstanceCollectConfigListRequestWithAllParams(pin string, product string, instance string) *InstanceCollectConfigListRequest
- func NewInstanceCollectConfigListRequestWithoutParam() *InstanceCollectConfigListRequest
- type InstanceCollectConfigListResponse
- type InstanceCollectConfigListResult
- type InstanceCollectConfigModifyRequest
- func NewInstanceCollectConfigModifyRequest(pin string, product string, instance string) *InstanceCollectConfigModifyRequest
- func NewInstanceCollectConfigModifyRequestWithAllParams(pin string, product string, instance string, ...) *InstanceCollectConfigModifyRequest
- func NewInstanceCollectConfigModifyRequestWithoutParam() *InstanceCollectConfigModifyRequest
- func (r InstanceCollectConfigModifyRequest) GetRegionId() string
- func (r *InstanceCollectConfigModifyRequest) SetConfigs(configs []logs.InstanceCollectConfigInfo)
- func (r *InstanceCollectConfigModifyRequest) SetInstance(instance string)
- func (r *InstanceCollectConfigModifyRequest) SetPin(pin string)
- func (r *InstanceCollectConfigModifyRequest) SetProduct(product string)
- type InstanceCollectConfigModifyResponse
- type InstanceCollectConfigModifyResult
- type K8sAgentHeartbeatRequest
- type K8sAgentHeartbeatResponse
- type K8sAgentHeartbeatResult
- type K8sDispatchConfNewRequest
- func (r K8sDispatchConfNewRequest) GetRegionId() string
- func (r *K8sDispatchConfNewRequest) SetClusterName(clusterName string)
- func (r *K8sDispatchConfNewRequest) SetConf(conf string)
- func (r *K8sDispatchConfNewRequest) SetNodeIp(nodeIp string)
- func (r *K8sDispatchConfNewRequest) SetTenantName(tenantName string)
- func (r *K8sDispatchConfNewRequest) SetZoneName(zoneName string)
- type K8sDispatchConfNewResponse
- type K8sDispatchConfNewResult
- type K8sDispatchConfRequest
- func (r K8sDispatchConfRequest) GetRegionId() string
- func (r *K8sDispatchConfRequest) SetClusterName(clusterName string)
- func (r *K8sDispatchConfRequest) SetConf(conf string)
- func (r *K8sDispatchConfRequest) SetNodeIp(nodeIp string)
- func (r *K8sDispatchConfRequest) SetTenantName(tenantName string)
- func (r *K8sDispatchConfRequest) SetZoneName(zoneName string)
- type K8sDispatchConfResponse
- type K8sDispatchConfResult
- type K8sWatchHeartbeatRequest
- func (r K8sWatchHeartbeatRequest) GetRegionId() string
- func (r *K8sWatchHeartbeatRequest) SetCloud(cloud bool)
- func (r *K8sWatchHeartbeatRequest) SetCluster(cluster string)
- func (r *K8sWatchHeartbeatRequest) SetContainerCount(containerCount int)
- func (r *K8sWatchHeartbeatRequest) SetDevId(devId string)
- func (r *K8sWatchHeartbeatRequest) SetLatestPodChangeTime(latestPodChangeTime int64)
- func (r *K8sWatchHeartbeatRequest) SetNodeCount(nodeCount int)
- type K8sWatchHeartbeatResponse
- type K8sWatchHeartbeatResult
- type K8sconfigNewV2Request
- func (r K8sconfigNewV2Request) GetRegionId() string
- func (r *K8sconfigNewV2Request) SetCloud(cloud bool)
- func (r *K8sconfigNewV2Request) SetClusterName(clusterName string)
- func (r *K8sconfigNewV2Request) SetConf(conf string)
- func (r *K8sconfigNewV2Request) SetNodeIp(nodeIp string)
- func (r *K8sconfigNewV2Request) SetTenantName(tenantName string)
- func (r *K8sconfigNewV2Request) SetZoneName(zoneName string)
- type K8sconfigNewV2Response
- type K8sconfigNewV2Result
- type LogAggregateRequest
- func (r LogAggregateRequest) GetRegionId() string
- func (r *LogAggregateRequest) SetCluster(cluster string)
- func (r *LogAggregateRequest) SetContainerName(containerName string)
- func (r *LogAggregateRequest) SetDirection(direction string)
- func (r *LogAggregateRequest) SetDuration(duration string)
- func (r *LogAggregateRequest) SetEndTime(endTime int64)
- func (r *LogAggregateRequest) SetFilePath(filePath []string)
- func (r *LogAggregateRequest) SetFmtFilter(fmtFilter *logs.FormatFilter)
- func (r *LogAggregateRequest) SetGroupBy(groupBy string)
- func (r *LogAggregateRequest) SetInstance(instance string)
- func (r *LogAggregateRequest) SetIp(ip []string)
- func (r *LogAggregateRequest) SetLimit(limit int)
- func (r *LogAggregateRequest) SetLineFilter(lineFilter *logs.LineFilter)
- func (r *LogAggregateRequest) SetLogType(logType string)
- func (r *LogAggregateRequest) SetMetric(metric *logs.LokiMetricParam)
- func (r *LogAggregateRequest) SetNamespace(namespace string)
- func (r *LogAggregateRequest) SetPin(pin string)
- func (r *LogAggregateRequest) SetPodName(podName []string)
- func (r *LogAggregateRequest) SetProduct(product string)
- func (r *LogAggregateRequest) SetQueryType(queryType string)
- func (r *LogAggregateRequest) SetStartTime(startTime int64)
- func (r *LogAggregateRequest) SetStep(step float32)
- func (r *LogAggregateRequest) SetStreamFilter(streamFilter []logs.StreamFilter)
- type LogAggregateResponse
- type LogAggregateResult
- type LogCountRequest
- func (r LogCountRequest) GetRegionId() string
- func (r *LogCountRequest) SetCluster(cluster string)
- func (r *LogCountRequest) SetContainerName(containerName string)
- func (r *LogCountRequest) SetDirection(direction string)
- func (r *LogCountRequest) SetDuration(duration string)
- func (r *LogCountRequest) SetEndTime(endTime int64)
- func (r *LogCountRequest) SetFilePath(filePath []string)
- func (r *LogCountRequest) SetFmtFilter(fmtFilter *logs.FormatFilter)
- func (r *LogCountRequest) SetGroupBy(groupBy string)
- func (r *LogCountRequest) SetInstance(instance string)
- func (r *LogCountRequest) SetIp(ip []string)
- func (r *LogCountRequest) SetLimit(limit int)
- func (r *LogCountRequest) SetLineFilter(lineFilter *logs.LineFilter)
- func (r *LogCountRequest) SetLogType(logType string)
- func (r *LogCountRequest) SetMetric(metric *logs.LokiMetricParam)
- func (r *LogCountRequest) SetNamespace(namespace string)
- func (r *LogCountRequest) SetPin(pin string)
- func (r *LogCountRequest) SetPodName(podName []string)
- func (r *LogCountRequest) SetProduct(product string)
- func (r *LogCountRequest) SetQueryType(queryType string)
- func (r *LogCountRequest) SetStartTime(startTime int64)
- func (r *LogCountRequest) SetStep(step float32)
- func (r *LogCountRequest) SetStreamFilter(streamFilter []logs.StreamFilter)
- type LogCountResponse
- type LogCountResult
- type LogDetailPublicRequest
- func (r LogDetailPublicRequest) GetRegionId() string
- func (r *LogDetailPublicRequest) SetCluster(cluster string)
- func (r *LogDetailPublicRequest) SetContainerName(containerName string)
- func (r *LogDetailPublicRequest) SetDirection(direction string)
- func (r *LogDetailPublicRequest) SetEndTime(endTime int64)
- func (r *LogDetailPublicRequest) SetFilePath(filePath []string)
- func (r *LogDetailPublicRequest) SetFmtFilter(fmtFilter *logs.FormatFilter)
- func (r *LogDetailPublicRequest) SetInstance(instance string)
- func (r *LogDetailPublicRequest) SetIp(ip []string)
- func (r *LogDetailPublicRequest) SetLimit(limit int)
- func (r *LogDetailPublicRequest) SetLineFilter(lineFilter *logs.LineFilter)
- func (r *LogDetailPublicRequest) SetLogType(logType string)
- func (r *LogDetailPublicRequest) SetNamespace(namespace string)
- func (r *LogDetailPublicRequest) SetPodName(podName []string)
- func (r *LogDetailPublicRequest) SetProduct(product string)
- func (r *LogDetailPublicRequest) SetSearchId(searchId string)
- func (r *LogDetailPublicRequest) SetStartTime(startTime int64)
- func (r *LogDetailPublicRequest) SetStep(step float32)
- func (r *LogDetailPublicRequest) SetStreamFilter(streamFilter []logs.StreamFilter)
- type LogDetailPublicResponse
- type LogDetailPublicResult
- type LogDetailRequest
- func (r LogDetailRequest) GetRegionId() string
- func (r *LogDetailRequest) SetCluster(cluster string)
- func (r *LogDetailRequest) SetContainerName(containerName string)
- func (r *LogDetailRequest) SetDirection(direction string)
- func (r *LogDetailRequest) SetEndTime(endTime int64)
- func (r *LogDetailRequest) SetFilePath(filePath []string)
- func (r *LogDetailRequest) SetFmtFilter(fmtFilter *logs.FormatFilter)
- func (r *LogDetailRequest) SetInstance(instance string)
- func (r *LogDetailRequest) SetIp(ip []string)
- func (r *LogDetailRequest) SetLimit(limit int)
- func (r *LogDetailRequest) SetLineFilter(lineFilter *logs.LineFilter)
- func (r *LogDetailRequest) SetLogType(logType string)
- func (r *LogDetailRequest) SetNamespace(namespace string)
- func (r *LogDetailRequest) SetPin(pin string)
- func (r *LogDetailRequest) SetPodName(podName []string)
- func (r *LogDetailRequest) SetProduct(product string)
- func (r *LogDetailRequest) SetSearchId(searchId string)
- func (r *LogDetailRequest) SetStartTime(startTime int64)
- func (r *LogDetailRequest) SetStep(step float32)
- func (r *LogDetailRequest) SetStreamFilter(streamFilter []logs.StreamFilter)
- type LogDetailResponse
- type LogDetailResult
- type LogSearchIdRequest
- func (r LogSearchIdRequest) GetRegionId() string
- func (r *LogSearchIdRequest) SetApps(apps []string)
- func (r *LogSearchIdRequest) SetChunks(chunks []string)
- func (r *LogSearchIdRequest) SetClazz(clazz string)
- func (r *LogSearchIdRequest) SetDirection(direction string)
- func (r *LogSearchIdRequest) SetEndTime(endTime string)
- func (r *LogSearchIdRequest) SetExclude(exclude string)
- func (r *LogSearchIdRequest) SetFilePaths(filePaths []string)
- func (r *LogSearchIdRequest) SetHosts(hosts []string)
- func (r *LogSearchIdRequest) SetIndexParams(indexParams interface{})
- func (r *LogSearchIdRequest) SetInstanceName(instanceName string)
- func (r *LogSearchIdRequest) SetKeyword(keyword string)
- func (r *LogSearchIdRequest) SetLifecycle(lifecycle int)
- func (r *LogSearchIdRequest) SetLimit(limit int)
- func (r *LogSearchIdRequest) SetLogLevel(logLevel string)
- func (r *LogSearchIdRequest) SetLogTypeName(logTypeName string)
- func (r *LogSearchIdRequest) SetPin(pin string)
- func (r *LogSearchIdRequest) SetProductName(productName string)
- func (r *LogSearchIdRequest) SetQuerySql(querySql string)
- func (r *LogSearchIdRequest) SetSearchEndTime(searchEndTime int64)
- func (r *LogSearchIdRequest) SetSearchId(searchId string)
- func (r *LogSearchIdRequest) SetSearchIndex(searchIndex int)
- func (r *LogSearchIdRequest) SetSearchType(searchType string)
- func (r *LogSearchIdRequest) SetStartTime(startTime string)
- func (r *LogSearchIdRequest) SetThread(thread string)
- func (r *LogSearchIdRequest) SetTimeUnit(timeUnit string)
- type LogSearchIdResponse
- type LogSearchIdResult
- type LogSearchRequest
- type LogSearchResponse
- type LogSearchResult
- type ProductPodChangeRequest
- type ProductPodChangeResponse
- type ProductPodChangeResult
- type ProductPodLabelSelectRequest
- func NewProductPodLabelSelectRequest() *ProductPodLabelSelectRequest
- func NewProductPodLabelSelectRequestWithAllParams(operate *string, podInfo *string, tenant *string, podListStr *string, ...) *ProductPodLabelSelectRequest
- func NewProductPodLabelSelectRequestWithoutParam() *ProductPodLabelSelectRequest
- func (r ProductPodLabelSelectRequest) GetRegionId() string
- func (r *ProductPodLabelSelectRequest) SetAllTenantDistributability(allTenantDistributability bool)
- func (r *ProductPodLabelSelectRequest) SetOperate(operate string)
- func (r *ProductPodLabelSelectRequest) SetPodInfo(podInfo string)
- func (r *ProductPodLabelSelectRequest) SetPodListStr(podListStr string)
- func (r *ProductPodLabelSelectRequest) SetProductName(productName string)
- func (r *ProductPodLabelSelectRequest) SetTenant(tenant string)
- type ProductPodLabelSelectResponse
- type ProductPodLabelSelectResult
- type PushRequest
- type PushResponse
- type PushResult
- type SearchRequest
- func (r SearchRequest) GetRegionId() string
- func (r *SearchRequest) SetAction(action string)
- func (r *SearchRequest) SetCaseSensitive(caseSensitive bool)
- func (r *SearchRequest) SetEndTime(endTime string)
- func (r *SearchRequest) SetExpr(expr string)
- func (r *SearchRequest) SetFilters(filters []logs.Filter)
- func (r *SearchRequest) SetLogsetUID(logsetUID string)
- func (r *SearchRequest) SetLogtopicUID(logtopicUID string)
- func (r *SearchRequest) SetPageNumber(pageNumber int)
- func (r *SearchRequest) SetPageSize(pageSize int)
- func (r *SearchRequest) SetRegionId(regionId string)
- func (r *SearchRequest) SetSort(sort string)
- func (r *SearchRequest) SetStartTime(startTime string)
- type SearchResponse
- type SearchResult
- type TestMetricTaskRequest
- func NewTestMetricTaskRequest(regionId string, logsetUID string, logtopicUID string, content []string) *TestMetricTaskRequest
- func NewTestMetricTaskRequestWithAllParams(regionId string, logsetUID string, logtopicUID string, aggregate *string, ...) *TestMetricTaskRequest
- func NewTestMetricTaskRequestWithoutParam() *TestMetricTaskRequest
- func (r TestMetricTaskRequest) GetRegionId() string
- func (r *TestMetricTaskRequest) SetAggregate(aggregate string)
- func (r *TestMetricTaskRequest) SetContent(content []string)
- func (r *TestMetricTaskRequest) SetDataField(dataField string)
- func (r *TestMetricTaskRequest) SetFilterContent(filterContent string)
- func (r *TestMetricTaskRequest) SetFilterOpen(filterOpen string)
- func (r *TestMetricTaskRequest) SetFilterType(filterType string)
- func (r *TestMetricTaskRequest) SetLogsetUID(logsetUID string)
- func (r *TestMetricTaskRequest) SetLogtopicUID(logtopicUID string)
- func (r *TestMetricTaskRequest) SetMetric(metric string)
- func (r *TestMetricTaskRequest) SetRegionId(regionId string)
- func (r *TestMetricTaskRequest) SetSettingType(settingType string)
- func (r *TestMetricTaskRequest) SetSqlSpec(sqlSpec *logs.MetricTaskSqlSpec)
- type TestMetricTaskResponse
- type TestMetricTaskResult
- type UpdateCollectInfoRequest
- func NewUpdateCollectInfoRequest(regionId string, collectInfoUID string, enabled bool, resourceType string) *UpdateCollectInfoRequest
- func NewUpdateCollectInfoRequestWithAllParams(regionId string, collectInfoUID string, agResource []logs.AgResource, ...) *UpdateCollectInfoRequest
- func NewUpdateCollectInfoRequestWithoutParam() *UpdateCollectInfoRequest
- func (r UpdateCollectInfoRequest) GetRegionId() string
- func (r *UpdateCollectInfoRequest) SetAgResource(agResource []logs.AgResource)
- func (r *UpdateCollectInfoRequest) SetBinlogSpec(binlogSpec *logs.BinlogSpec)
- func (r *UpdateCollectInfoRequest) SetCollectInfoUID(collectInfoUID string)
- func (r *UpdateCollectInfoRequest) SetEnabled(enabled bool)
- func (r *UpdateCollectInfoRequest) SetFilterEnabled(filterEnabled bool)
- func (r *UpdateCollectInfoRequest) SetK8sSpec(k8sSpec *logs.K8sSpec)
- func (r *UpdateCollectInfoRequest) SetLogFile(logFile string)
- func (r *UpdateCollectInfoRequest) SetLogFilters(logFilters []string)
- func (r *UpdateCollectInfoRequest) SetLogPath(logPath string)
- func (r *UpdateCollectInfoRequest) SetLogtopicEnabled(logtopicEnabled bool)
- func (r *UpdateCollectInfoRequest) SetName(name string)
- func (r *UpdateCollectInfoRequest) SetRegexpStr(regexpStr string)
- func (r *UpdateCollectInfoRequest) SetRegionId(regionId string)
- func (r *UpdateCollectInfoRequest) SetResourceMode(resourceMode int64)
- func (r *UpdateCollectInfoRequest) SetResourceType(resourceType string)
- func (r *UpdateCollectInfoRequest) SetResources(resources []logs.Resource)
- func (r *UpdateCollectInfoRequest) SetTagResource(tagResource *logs.TagResource)
- type UpdateCollectInfoResponse
- type UpdateCollectInfoResult
- type UpdateCollectInfoStatusRequest
- func NewUpdateCollectInfoStatusRequest(regionId string, collectInfoUID string, enabled bool) *UpdateCollectInfoStatusRequest
- func NewUpdateCollectInfoStatusRequestWithAllParams(regionId string, collectInfoUID string, enabled bool) *UpdateCollectInfoStatusRequest
- func NewUpdateCollectInfoStatusRequestWithoutParam() *UpdateCollectInfoStatusRequest
- type UpdateCollectInfoStatusResponse
- type UpdateCollectInfoStatusResult
- type UpdateCollectResourcesRequest
- func NewUpdateCollectResourcesRequest(regionId string, collectInfoUID string, action string) *UpdateCollectResourcesRequest
- func NewUpdateCollectResourcesRequestWithAllParams(regionId string, collectInfoUID string, action string, ...) *UpdateCollectResourcesRequest
- func NewUpdateCollectResourcesRequestWithoutParam() *UpdateCollectResourcesRequest
- func (r UpdateCollectResourcesRequest) GetRegionId() string
- func (r *UpdateCollectResourcesRequest) SetAction(action string)
- func (r *UpdateCollectResourcesRequest) SetCollectInfoUID(collectInfoUID string)
- func (r *UpdateCollectResourcesRequest) SetRegionId(regionId string)
- func (r *UpdateCollectResourcesRequest) SetResources(resources []logs.Resource)
- type UpdateCollectResourcesResponse
- type UpdateCollectResourcesResult
- type UpdateIndexOptionRequest
- func NewUpdateIndexOptionRequest(regionId string, logtopicUID string, logReduce bool, fulltextIndex bool, ...) *UpdateIndexOptionRequest
- func NewUpdateIndexOptionRequestWithAllParams(regionId string, logtopicUID string, logReduce bool, fulltextIndex bool, ...) *UpdateIndexOptionRequest
- func NewUpdateIndexOptionRequestWithoutParam() *UpdateIndexOptionRequest
- func (r UpdateIndexOptionRequest) GetRegionId() string
- func (r *UpdateIndexOptionRequest) SetCaseSensitive(caseSensitive bool)
- func (r *UpdateIndexOptionRequest) SetChn(chn bool)
- func (r *UpdateIndexOptionRequest) SetFieldIndexOptions(fieldIndexOptions []logs.FieldIndexOption)
- func (r *UpdateIndexOptionRequest) SetFulltextIndex(fulltextIndex bool)
- func (r *UpdateIndexOptionRequest) SetLogReduce(logReduce bool)
- func (r *UpdateIndexOptionRequest) SetLogtopicUID(logtopicUID string)
- func (r *UpdateIndexOptionRequest) SetMaxTextLen(maxTextLen int)
- func (r *UpdateIndexOptionRequest) SetRegionId(regionId string)
- func (r *UpdateIndexOptionRequest) SetToken(token []string)
- type UpdateIndexOptionResponse
- type UpdateIndexOptionResult
- type UpdateLogsetRequest
- func (r UpdateLogsetRequest) GetRegionId() string
- func (r *UpdateLogsetRequest) SetDescription(description string)
- func (r *UpdateLogsetRequest) SetLifeCycle(lifeCycle int)
- func (r *UpdateLogsetRequest) SetLogsetUID(logsetUID string)
- func (r *UpdateLogsetRequest) SetName(name string)
- func (r *UpdateLogsetRequest) SetRegionId(regionId string)
- func (r *UpdateLogsetRequest) SetTags(tags []logs.Tag)
- type UpdateLogsetResponse
- type UpdateLogsetResult
- type UpdateLogtopicRequest
- func NewUpdateLogtopicRequest(regionId string, logtopicUID string, description string) *UpdateLogtopicRequest
- func NewUpdateLogtopicRequestWithAllParams(regionId string, logtopicUID string, name *string, description string, ...) *UpdateLogtopicRequest
- func NewUpdateLogtopicRequestWithoutParam() *UpdateLogtopicRequest
- func (r UpdateLogtopicRequest) GetRegionId() string
- func (r *UpdateLogtopicRequest) SetDescription(description string)
- func (r *UpdateLogtopicRequest) SetInOrder(inOrder bool)
- func (r *UpdateLogtopicRequest) SetLifeCycle(lifeCycle int)
- func (r *UpdateLogtopicRequest) SetLogtopicUID(logtopicUID string)
- func (r *UpdateLogtopicRequest) SetName(name string)
- func (r *UpdateLogtopicRequest) SetRegionId(regionId string)
- type UpdateLogtopicResponse
- type UpdateLogtopicResult
- type UpdateMetricTaskRequest
- func NewUpdateMetricTaskRequest(regionId string, logsetUID string, logtopicUID string, logmetrictaskUID string, ...) *UpdateMetricTaskRequest
- func NewUpdateMetricTaskRequestWithAllParams(regionId string, logsetUID string, logtopicUID string, logmetrictaskUID string, ...) *UpdateMetricTaskRequest
- func NewUpdateMetricTaskRequestWithoutParam() *UpdateMetricTaskRequest
- func (r UpdateMetricTaskRequest) GetRegionId() string
- func (r *UpdateMetricTaskRequest) SetAggregate(aggregate string)
- func (r *UpdateMetricTaskRequest) SetCustomUnit(customUnit string)
- func (r *UpdateMetricTaskRequest) SetDataField(dataField string)
- func (r *UpdateMetricTaskRequest) SetFilterContent(filterContent string)
- func (r *UpdateMetricTaskRequest) SetFilterOpen(filterOpen string)
- func (r *UpdateMetricTaskRequest) SetFilterType(filterType string)
- func (r *UpdateMetricTaskRequest) SetLogmetrictaskUID(logmetrictaskUID string)
- func (r *UpdateMetricTaskRequest) SetLogsetUID(logsetUID string)
- func (r *UpdateMetricTaskRequest) SetLogtopicUID(logtopicUID string)
- func (r *UpdateMetricTaskRequest) SetMetric(metric string)
- func (r *UpdateMetricTaskRequest) SetName(name string)
- func (r *UpdateMetricTaskRequest) SetRegionId(regionId string)
- func (r *UpdateMetricTaskRequest) SetSettingType(settingType string)
- func (r *UpdateMetricTaskRequest) SetSqlSpec(sqlSpec *logs.MetricTaskSqlSpec)
- func (r *UpdateMetricTaskRequest) SetUnit(unit string)
- type UpdateMetricTaskResponse
- type UpdateMetricTaskResult
- type UpdateParserRequest
- func NewUpdateParserRequest(regionId string, logtopicUID string, parserFields []logs.ParserField, ...) *UpdateParserRequest
- func NewUpdateParserRequestWithAllParams(regionId string, logtopicUID string, indexToken []string, ...) *UpdateParserRequest
- func NewUpdateParserRequestWithoutParam() *UpdateParserRequest
- func (r UpdateParserRequest) GetRegionId() string
- func (r *UpdateParserRequest) SetIndexToken(indexToken []string)
- func (r *UpdateParserRequest) SetLogtopicUID(logtopicUID string)
- func (r *UpdateParserRequest) SetParserFields(parserFields []logs.ParserField)
- func (r *UpdateParserRequest) SetParserMode(parserMode string)
- func (r *UpdateParserRequest) SetParserPattern(parserPattern string)
- func (r *UpdateParserRequest) SetParserSample(parserSample string)
- func (r *UpdateParserRequest) SetPipelines(pipelines []logs.PipelineSpec)
- func (r *UpdateParserRequest) SetRegionId(regionId string)
- func (r *UpdateParserRequest) SetReserveOriginContent(reserveOriginContent bool)
- type UpdateParserResponse
- type UpdateParserResult
- type UpdateSubscribeRequest
- func NewUpdateSubscribeRequest(regionId string, logsetUID string, logtopicUID string) *UpdateSubscribeRequest
- func NewUpdateSubscribeRequestWithAllParams(regionId string, logsetUID string, logtopicUID string, status *int64) *UpdateSubscribeRequest
- func NewUpdateSubscribeRequestWithoutParam() *UpdateSubscribeRequest
- func (r UpdateSubscribeRequest) GetRegionId() string
- func (r *UpdateSubscribeRequest) SetLogsetUID(logsetUID string)
- func (r *UpdateSubscribeRequest) SetLogtopicUID(logtopicUID string)
- func (r *UpdateSubscribeRequest) SetRegionId(regionId string)
- func (r *UpdateSubscribeRequest) SetStatus(status int64)
- type UpdateSubscribeResponse
- type UpdateSubscribeResult
- type ValidateParserRequest
- func (r ValidateParserRequest) GetRegionId() string
- func (r *ValidateParserRequest) SetParserMode(parserMode string)
- func (r *ValidateParserRequest) SetParserPattern(parserPattern string)
- func (r *ValidateParserRequest) SetParserSample(parserSample string)
- func (r *ValidateParserRequest) SetPipelines(pipelines []logs.PipelineSpec)
- func (r *ValidateParserRequest) SetReserveOriginContent(reserveOriginContent bool)
- type ValidateParserResponse
- type ValidateParserResult
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CancelLogDownloadTaskRequest ¶ added in v1.63.0
type CancelLogDownloadTaskRequest struct {
core.JDCloudRequest
/* 地域 Id */
RegionId string `json:"regionId"`
/* 日志主题 UID */
LogtopicUID string `json:"logtopicUID"`
/* 日志下载任务 UID */
DownloadTaskUID string `json:"downloadTaskUID"`
}
func NewCancelLogDownloadTaskRequest ¶ added in v1.63.0
func NewCancelLogDownloadTaskRequest( regionId string, logtopicUID string, downloadTaskUID string, ) *CancelLogDownloadTaskRequest
* param regionId: 地域 Id (Required) * param logtopicUID: 日志主题 UID (Required) * param downloadTaskUID: 日志下载任务 UID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewCancelLogDownloadTaskRequestWithAllParams ¶ added in v1.63.0
func NewCancelLogDownloadTaskRequestWithAllParams( regionId string, logtopicUID string, downloadTaskUID string, ) *CancelLogDownloadTaskRequest
* param regionId: 地域 Id (Required) * param logtopicUID: 日志主题 UID (Required) * param downloadTaskUID: 日志下载任务 UID (Required)
func NewCancelLogDownloadTaskRequestWithoutParam ¶ added in v1.63.0
func NewCancelLogDownloadTaskRequestWithoutParam() *CancelLogDownloadTaskRequest
This constructor has better compatible ability when API parameters changed
func (CancelLogDownloadTaskRequest) GetRegionId ¶ added in v1.63.0
func (r CancelLogDownloadTaskRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*CancelLogDownloadTaskRequest) SetDownloadTaskUID ¶ added in v1.63.0
func (r *CancelLogDownloadTaskRequest) SetDownloadTaskUID(downloadTaskUID string)
param downloadTaskUID: 日志下载任务 UID(Required)
func (*CancelLogDownloadTaskRequest) SetLogtopicUID ¶ added in v1.63.0
func (r *CancelLogDownloadTaskRequest) SetLogtopicUID(logtopicUID string)
param logtopicUID: 日志主题 UID(Required)
func (*CancelLogDownloadTaskRequest) SetRegionId ¶ added in v1.63.0
func (r *CancelLogDownloadTaskRequest) SetRegionId(regionId string)
param regionId: 地域 Id(Required)
type CancelLogDownloadTaskResponse ¶ added in v1.63.0
type CancelLogDownloadTaskResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result CancelLogDownloadTaskResult `json:"result"`
}
type CancelLogDownloadTaskResult ¶ added in v1.63.0
type CancelLogDownloadTaskResult struct {
DownloadTaskUID string `json:"downloadTaskUID"`
}
type CreateCollectInfoRequest ¶ added in v1.11.0
type CreateCollectInfoRequest struct {
core.JDCloudRequest
/* 地域 Id */
RegionId string `json:"regionId"`
/* 日志主题 UID */
LogtopicUID string `json:"logtopicUID"`
/* 高可用组资源 (Optional) */
AgResource []logs.AgResource `json:"agResource"`
/* 日志来源,只能是 custom/jdcloud */
AppCode string `json:"appCode"`
/* (Optional) */
BinlogSpec *logs.BinlogSpec `json:"binlogSpec"`
/* 采集状态,0-禁用,1-启用 */
Enabled bool `json:"enabled"`
/* 过滤器是否启用。当appcode为custom时必填 (Optional) */
FilterEnabled *bool `json:"filterEnabled"`
/* (Optional) */
K8sSpec *logs.K8sSpec `json:"k8sSpec"`
/* 日志文件名。当appcode为custom时为必填。日志文件名支持正则表达式。 (Optional) */
LogFile *string `json:"logFile"`
/* 过滤器。设置过滤器后可根据用户设定的关键词采集部分日志,如仅采集 Error 的日志。目前最大允许5个。 (Optional) */
LogFilters []string `json:"logFilters"`
/* 日志路径。当appcode为custom时为必填。目前仅支持对 Linux 云主机上的日志进行采集,路径支持通配符“*”和“?”,文件路径应符合 Linux 的文件路径规则 (Optional) */
LogPath *string `json:"logPath"`
/* 目的地是否是日志服务logtopic,只支持业务应用日志 (Optional) */
LogtopicEnabled *bool `json:"logtopicEnabled"`
/* 采集配置名称 (Optional) */
Name *string `json:"name"`
/* 首行正则 (Optional) */
RegexpStr *string `json:"regexpStr"`
/* 采集资源时选择的模式,1.正常的选择实例模式(默认模式);2.选择标签tag模式 3.选择高可用组ag模式 (Optional) */
ResourceMode *int64 `json:"resourceMode"`
/* 采集实例类型, 只能是 all/part 当选择all时,传入的实例列表无效;custom类型的采集配置目前仅支持part方式,即用户指定实例列表; */
ResourceType string `json:"resourceType"`
/* 采集实例列表:jdcloud类型最多添加20个资源;custom类型支持的资源数量不限; (Optional) */
Resources []logs.Resource `json:"resources"`
/* 产品线,当日志来源为jdcloud时,填写云产品serviceCode。否则填写自定义日志类型:vm,k8s,binlog,etc */
ServiceCode string `json:"serviceCode"`
/* (Optional) */
TagResource *logs.TagResource `json:"tagResource"`
/* 日志类型。当appcode为jdcloud时为必填 (Optional) */
TemplateUID *string `json:"templateUID"`
}
func NewCreateCollectInfoRequest ¶ added in v1.11.0
func NewCreateCollectInfoRequest( regionId string, logtopicUID string, appCode string, enabled bool, resourceType string, serviceCode string, ) *CreateCollectInfoRequest
* param regionId: 地域 Id (Required) * param logtopicUID: 日志主题 UID (Required) * param appCode: 日志来源,只能是 custom/jdcloud (Required) * param enabled: 采集状态,0-禁用,1-启用 (Required) * param resourceType: 采集实例类型, 只能是 all/part 当选择all时,传入的实例列表无效;custom类型的采集配置目前仅支持part方式,即用户指定实例列表; (Required) * param serviceCode: 产品线,当日志来源为jdcloud时,填写云产品serviceCode。否则填写自定义日志类型:vm,k8s,binlog,etc (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewCreateCollectInfoRequestWithAllParams ¶ added in v1.11.0
func NewCreateCollectInfoRequestWithAllParams( regionId string, logtopicUID string, agResource []logs.AgResource, appCode string, binlogSpec *logs.BinlogSpec, enabled bool, filterEnabled *bool, k8sSpec *logs.K8sSpec, logFile *string, logFilters []string, logPath *string, logtopicEnabled *bool, name *string, regexpStr *string, resourceMode *int64, resourceType string, resources []logs.Resource, serviceCode string, tagResource *logs.TagResource, templateUID *string, ) *CreateCollectInfoRequest
* param regionId: 地域 Id (Required) * param logtopicUID: 日志主题 UID (Required) * param agResource: 高可用组资源 (Optional) * param appCode: 日志来源,只能是 custom/jdcloud (Required) * param binlogSpec: (Optional) * param enabled: 采集状态,0-禁用,1-启用 (Required) * param filterEnabled: 过滤器是否启用。当appcode为custom时必填 (Optional) * param k8sSpec: (Optional) * param logFile: 日志文件名。当appcode为custom时为必填。日志文件名支持正则表达式。 (Optional) * param logFilters: 过滤器。设置过滤器后可根据用户设定的关键词采集部分日志,如仅采集 Error 的日志。目前最大允许5个。 (Optional) * param logPath: 日志路径。当appcode为custom时为必填。目前仅支持对 Linux 云主机上的日志进行采集,路径支持通配符“*”和“?”,文件路径应符合 Linux 的文件路径规则 (Optional) * param logtopicEnabled: 目的地是否是日志服务logtopic,只支持业务应用日志 (Optional) * param name: 采集配置名称 (Optional) * param regexpStr: 首行正则 (Optional) * param resourceMode: 采集资源时选择的模式,1.正常的选择实例模式(默认模式);2.选择标签tag模式 3.选择高可用组ag模式 (Optional) * param resourceType: 采集实例类型, 只能是 all/part 当选择all时,传入的实例列表无效;custom类型的采集配置目前仅支持part方式,即用户指定实例列表; (Required) * param resources: 采集实例列表:jdcloud类型最多添加20个资源;custom类型支持的资源数量不限; (Optional) * param serviceCode: 产品线,当日志来源为jdcloud时,填写云产品serviceCode。否则填写自定义日志类型:vm,k8s,binlog,etc (Required) * param tagResource: (Optional) * param templateUID: 日志类型。当appcode为jdcloud时为必填 (Optional)
func NewCreateCollectInfoRequestWithoutParam ¶ added in v1.11.0
func NewCreateCollectInfoRequestWithoutParam() *CreateCollectInfoRequest
This constructor has better compatible ability when API parameters changed
func (CreateCollectInfoRequest) GetRegionId ¶ added in v1.11.0
func (r CreateCollectInfoRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*CreateCollectInfoRequest) SetAgResource ¶ added in v1.56.0
func (r *CreateCollectInfoRequest) SetAgResource(agResource []logs.AgResource)
param agResource: 高可用组资源(Optional)
func (*CreateCollectInfoRequest) SetAppCode ¶ added in v1.11.0
func (r *CreateCollectInfoRequest) SetAppCode(appCode string)
param appCode: 日志来源,只能是 custom/jdcloud(Required)
func (*CreateCollectInfoRequest) SetBinlogSpec ¶ added in v1.63.0
func (r *CreateCollectInfoRequest) SetBinlogSpec(binlogSpec *logs.BinlogSpec)
param binlogSpec: (Optional)
func (*CreateCollectInfoRequest) SetEnabled ¶ added in v1.11.0
func (r *CreateCollectInfoRequest) SetEnabled(enabled bool)
param enabled: 采集状态,0-禁用,1-启用(Required)
func (*CreateCollectInfoRequest) SetFilterEnabled ¶ added in v1.11.0
func (r *CreateCollectInfoRequest) SetFilterEnabled(filterEnabled bool)
param filterEnabled: 过滤器是否启用。当appcode为custom时必填(Optional)
func (*CreateCollectInfoRequest) SetK8sSpec ¶ added in v1.63.0
func (r *CreateCollectInfoRequest) SetK8sSpec(k8sSpec *logs.K8sSpec)
param k8sSpec: (Optional)
func (*CreateCollectInfoRequest) SetLogFile ¶ added in v1.11.0
func (r *CreateCollectInfoRequest) SetLogFile(logFile string)
param logFile: 日志文件名。当appcode为custom时为必填。日志文件名支持正则表达式。(Optional)
func (*CreateCollectInfoRequest) SetLogFilters ¶ added in v1.11.0
func (r *CreateCollectInfoRequest) SetLogFilters(logFilters []string)
param logFilters: 过滤器。设置过滤器后可根据用户设定的关键词采集部分日志,如仅采集 Error 的日志。目前最大允许5个。(Optional)
func (*CreateCollectInfoRequest) SetLogPath ¶ added in v1.11.0
func (r *CreateCollectInfoRequest) SetLogPath(logPath string)
param logPath: 日志路径。当appcode为custom时为必填。目前仅支持对 Linux 云主机上的日志进行采集,路径支持通配符“*”和“?”,文件路径应符合 Linux 的文件路径规则(Optional)
func (*CreateCollectInfoRequest) SetLogtopicEnabled ¶ added in v1.56.0
func (r *CreateCollectInfoRequest) SetLogtopicEnabled(logtopicEnabled bool)
param logtopicEnabled: 目的地是否是日志服务logtopic,只支持业务应用日志(Optional)
func (*CreateCollectInfoRequest) SetLogtopicUID ¶ added in v1.11.0
func (r *CreateCollectInfoRequest) SetLogtopicUID(logtopicUID string)
param logtopicUID: 日志主题 UID(Required)
func (*CreateCollectInfoRequest) SetName ¶ added in v1.63.0
func (r *CreateCollectInfoRequest) SetName(name string)
param name: 采集配置名称(Optional)
func (*CreateCollectInfoRequest) SetRegexpStr ¶ added in v1.56.0
func (r *CreateCollectInfoRequest) SetRegexpStr(regexpStr string)
param regexpStr: 首行正则(Optional)
func (*CreateCollectInfoRequest) SetRegionId ¶ added in v1.11.0
func (r *CreateCollectInfoRequest) SetRegionId(regionId string)
param regionId: 地域 Id(Required)
func (*CreateCollectInfoRequest) SetResourceMode ¶ added in v1.56.0
func (r *CreateCollectInfoRequest) SetResourceMode(resourceMode int64)
param resourceMode: 采集资源时选择的模式,1.正常的选择实例模式(默认模式);2.选择标签tag模式 3.选择高可用组ag模式(Optional)
func (*CreateCollectInfoRequest) SetResourceType ¶ added in v1.11.0
func (r *CreateCollectInfoRequest) SetResourceType(resourceType string)
param resourceType: 采集实例类型, 只能是 all/part 当选择all时,传入的实例列表无效;custom类型的采集配置目前仅支持part方式,即用户指定实例列表;(Required)
func (*CreateCollectInfoRequest) SetResources ¶ added in v1.11.0
func (r *CreateCollectInfoRequest) SetResources(resources []logs.Resource)
param resources: 采集实例列表:jdcloud类型最多添加20个资源;custom类型支持的资源数量不限;(Optional)
func (*CreateCollectInfoRequest) SetServiceCode ¶ added in v1.11.0
func (r *CreateCollectInfoRequest) SetServiceCode(serviceCode string)
param serviceCode: 产品线,当日志来源为jdcloud时,填写云产品serviceCode。否则填写自定义日志类型:vm,k8s,binlog,etc(Required)
func (*CreateCollectInfoRequest) SetTagResource ¶ added in v1.56.0
func (r *CreateCollectInfoRequest) SetTagResource(tagResource *logs.TagResource)
param tagResource: (Optional)
func (*CreateCollectInfoRequest) SetTemplateUID ¶ added in v1.11.0
func (r *CreateCollectInfoRequest) SetTemplateUID(templateUID string)
param templateUID: 日志类型。当appcode为jdcloud时为必填(Optional)
type CreateCollectInfoResponse ¶ added in v1.11.0
type CreateCollectInfoResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result CreateCollectInfoResult `json:"result"`
}
type CreateCollectInfoResult ¶ added in v1.11.0
type CreateCollectInfoResult struct {
UID string `json:"uID"`
}
type CreateIndexOptionRequest ¶ added in v1.63.0
type CreateIndexOptionRequest struct {
core.JDCloudRequest
/* 地域 Id */
RegionId string `json:"regionId"`
/* 日志主题 UID */
LogtopicUID string `json:"logtopicUID"`
/* 是否开启日志聚类,0-禁用,1-启用 */
LogReduce bool `json:"logReduce"`
/* 是否开启全文检索,0-禁用,1-启用 */
FulltextIndex bool `json:"fulltextIndex"`
/* 是否大小写敏感 */
CaseSensitive bool `json:"caseSensitive"`
/* 是否开启中文分词 */
Chn bool `json:"chn"`
/* 分词符 (Optional) */
Token []string `json:"token"`
/* 字段索引配置 (Optional) */
FieldIndexOptions []logs.FieldIndexOption `json:"fieldIndexOptions"`
/* 统计分析字段最大长度 */
MaxTextLen int `json:"maxTextLen"`
}
func NewCreateIndexOptionRequest ¶ added in v1.63.0
func NewCreateIndexOptionRequest( regionId string, logtopicUID string, logReduce bool, fulltextIndex bool, caseSensitive bool, chn bool, maxTextLen int, ) *CreateIndexOptionRequest
* param regionId: 地域 Id (Required) * param logtopicUID: 日志主题 UID (Required) * param logReduce: 是否开启日志聚类,0-禁用,1-启用 (Required) * param fulltextIndex: 是否开启全文检索,0-禁用,1-启用 (Required) * param caseSensitive: 是否大小写敏感 (Required) * param chn: 是否开启中文分词 (Required) * param maxTextLen: 统计分析字段最大长度 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewCreateIndexOptionRequestWithAllParams ¶ added in v1.63.0
func NewCreateIndexOptionRequestWithAllParams( regionId string, logtopicUID string, logReduce bool, fulltextIndex bool, caseSensitive bool, chn bool, token []string, fieldIndexOptions []logs.FieldIndexOption, maxTextLen int, ) *CreateIndexOptionRequest
* param regionId: 地域 Id (Required) * param logtopicUID: 日志主题 UID (Required) * param logReduce: 是否开启日志聚类,0-禁用,1-启用 (Required) * param fulltextIndex: 是否开启全文检索,0-禁用,1-启用 (Required) * param caseSensitive: 是否大小写敏感 (Required) * param chn: 是否开启中文分词 (Required) * param token: 分词符 (Optional) * param fieldIndexOptions: 字段索引配置 (Optional) * param maxTextLen: 统计分析字段最大长度 (Required)
func NewCreateIndexOptionRequestWithoutParam ¶ added in v1.63.0
func NewCreateIndexOptionRequestWithoutParam() *CreateIndexOptionRequest
This constructor has better compatible ability when API parameters changed
func (CreateIndexOptionRequest) GetRegionId ¶ added in v1.63.0
func (r CreateIndexOptionRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*CreateIndexOptionRequest) SetCaseSensitive ¶ added in v1.63.0
func (r *CreateIndexOptionRequest) SetCaseSensitive(caseSensitive bool)
param caseSensitive: 是否大小写敏感(Required)
func (*CreateIndexOptionRequest) SetChn ¶ added in v1.63.0
func (r *CreateIndexOptionRequest) SetChn(chn bool)
param chn: 是否开启中文分词(Required)
func (*CreateIndexOptionRequest) SetFieldIndexOptions ¶ added in v1.63.0
func (r *CreateIndexOptionRequest) SetFieldIndexOptions(fieldIndexOptions []logs.FieldIndexOption)
param fieldIndexOptions: 字段索引配置(Optional)
func (*CreateIndexOptionRequest) SetFulltextIndex ¶ added in v1.63.0
func (r *CreateIndexOptionRequest) SetFulltextIndex(fulltextIndex bool)
param fulltextIndex: 是否开启全文检索,0-禁用,1-启用(Required)
func (*CreateIndexOptionRequest) SetLogReduce ¶ added in v1.63.0
func (r *CreateIndexOptionRequest) SetLogReduce(logReduce bool)
param logReduce: 是否开启日志聚类,0-禁用,1-启用(Required)
func (*CreateIndexOptionRequest) SetLogtopicUID ¶ added in v1.63.0
func (r *CreateIndexOptionRequest) SetLogtopicUID(logtopicUID string)
param logtopicUID: 日志主题 UID(Required)
func (*CreateIndexOptionRequest) SetMaxTextLen ¶ added in v1.63.0
func (r *CreateIndexOptionRequest) SetMaxTextLen(maxTextLen int)
param maxTextLen: 统计分析字段最大长度(Required)
func (*CreateIndexOptionRequest) SetRegionId ¶ added in v1.63.0
func (r *CreateIndexOptionRequest) SetRegionId(regionId string)
param regionId: 地域 Id(Required)
func (*CreateIndexOptionRequest) SetToken ¶ added in v1.63.0
func (r *CreateIndexOptionRequest) SetToken(token []string)
param token: 分词符(Optional)
type CreateIndexOptionResponse ¶ added in v1.63.0
type CreateIndexOptionResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result CreateIndexOptionResult `json:"result"`
}
type CreateIndexOptionResult ¶ added in v1.63.0
type CreateIndexOptionResult struct {
UID string `json:"uID"`
}
type CreateLogDownloadTaskRequest ¶ added in v1.63.0
type CreateLogDownloadTaskRequest struct {
core.JDCloudRequest
/* 地域 Id */
RegionId string `json:"regionId"`
/* 日志主题 UID */
LogtopicUID string `json:"logtopicUID"`
/* Name 任务名 (Optional) */
Name *string `json:"name"`
/* Keyword 查询关键字 (Optional) */
Keyword *string `json:"keyword"`
/* Compress 压缩方式:0:不压缩,1:gzip,2:snappy (Optional) */
Compress *int `json:"compress"`
/* Format 文件格式:0: CSV, 1:JSON (Optional) */
Format *int `json:"format"`
/* 日志条数 (Optional) */
LogCount *int `json:"logCount"`
/* Quote quote:0:双引号;1:单引号 (Optional) */
Quote *int `json:"quote"`
/* FileSort 文件排序,0:正序,1:倒序 (Optional) */
FileSort *int `json:"fileSort"`
/* StartTimestamp 下载内容开始时间 (Optional) */
StartTimestamp *int `json:"startTimestamp"`
/* EndTimestamp 下载内容截止时间 (Optional) */
EndTimestamp *int `json:"endTimestamp"`
}
func NewCreateLogDownloadTaskRequest ¶ added in v1.63.0
func NewCreateLogDownloadTaskRequest( regionId string, logtopicUID string, ) *CreateLogDownloadTaskRequest
* param regionId: 地域 Id (Required) * param logtopicUID: 日志主题 UID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewCreateLogDownloadTaskRequestWithAllParams ¶ added in v1.63.0
func NewCreateLogDownloadTaskRequestWithAllParams( regionId string, logtopicUID string, name *string, keyword *string, compress *int, format *int, logCount *int, quote *int, fileSort *int, startTimestamp *int, endTimestamp *int, ) *CreateLogDownloadTaskRequest
* param regionId: 地域 Id (Required) * param logtopicUID: 日志主题 UID (Required) * param name: Name 任务名 (Optional) * param keyword: Keyword 查询关键字 (Optional) * param compress: Compress 压缩方式:0:不压缩,1:gzip,2:snappy (Optional) * param format: Format 文件格式:0: CSV, 1:JSON (Optional) * param logCount: 日志条数 (Optional) * param quote: Quote quote:0:双引号;1:单引号 (Optional) * param fileSort: FileSort 文件排序,0:正序,1:倒序 (Optional) * param startTimestamp: StartTimestamp 下载内容开始时间 (Optional) * param endTimestamp: EndTimestamp 下载内容截止时间 (Optional)
func NewCreateLogDownloadTaskRequestWithoutParam ¶ added in v1.63.0
func NewCreateLogDownloadTaskRequestWithoutParam() *CreateLogDownloadTaskRequest
This constructor has better compatible ability when API parameters changed
func (CreateLogDownloadTaskRequest) GetRegionId ¶ added in v1.63.0
func (r CreateLogDownloadTaskRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*CreateLogDownloadTaskRequest) SetCompress ¶ added in v1.63.0
func (r *CreateLogDownloadTaskRequest) SetCompress(compress int)
param compress: Compress 压缩方式:0:不压缩,1:gzip,2:snappy(Optional)
func (*CreateLogDownloadTaskRequest) SetEndTimestamp ¶ added in v1.63.0
func (r *CreateLogDownloadTaskRequest) SetEndTimestamp(endTimestamp int)
param endTimestamp: EndTimestamp 下载内容截止时间(Optional)
func (*CreateLogDownloadTaskRequest) SetFileSort ¶ added in v1.63.0
func (r *CreateLogDownloadTaskRequest) SetFileSort(fileSort int)
param fileSort: FileSort 文件排序,0:正序,1:倒序(Optional)
func (*CreateLogDownloadTaskRequest) SetFormat ¶ added in v1.63.0
func (r *CreateLogDownloadTaskRequest) SetFormat(format int)
param format: Format 文件格式:0: CSV, 1:JSON(Optional)
func (*CreateLogDownloadTaskRequest) SetKeyword ¶ added in v1.63.0
func (r *CreateLogDownloadTaskRequest) SetKeyword(keyword string)
param keyword: Keyword 查询关键字(Optional)
func (*CreateLogDownloadTaskRequest) SetLogCount ¶ added in v1.63.0
func (r *CreateLogDownloadTaskRequest) SetLogCount(logCount int)
param logCount: 日志条数(Optional)
func (*CreateLogDownloadTaskRequest) SetLogtopicUID ¶ added in v1.63.0
func (r *CreateLogDownloadTaskRequest) SetLogtopicUID(logtopicUID string)
param logtopicUID: 日志主题 UID(Required)
func (*CreateLogDownloadTaskRequest) SetName ¶ added in v1.63.0
func (r *CreateLogDownloadTaskRequest) SetName(name string)
param name: Name 任务名(Optional)
func (*CreateLogDownloadTaskRequest) SetQuote ¶ added in v1.63.0
func (r *CreateLogDownloadTaskRequest) SetQuote(quote int)
param quote: Quote quote:0:双引号;1:单引号(Optional)
func (*CreateLogDownloadTaskRequest) SetRegionId ¶ added in v1.63.0
func (r *CreateLogDownloadTaskRequest) SetRegionId(regionId string)
param regionId: 地域 Id(Required)
func (*CreateLogDownloadTaskRequest) SetStartTimestamp ¶ added in v1.63.0
func (r *CreateLogDownloadTaskRequest) SetStartTimestamp(startTimestamp int)
param startTimestamp: StartTimestamp 下载内容开始时间(Optional)
type CreateLogDownloadTaskResponse ¶ added in v1.63.0
type CreateLogDownloadTaskResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result CreateLogDownloadTaskResult `json:"result"`
}
type CreateLogDownloadTaskResult ¶ added in v1.63.0
type CreateLogDownloadTaskResult struct {
DownloadTaskUID string `json:"downloadTaskUID"`
}
type CreateLogsetRequest ¶ added in v1.11.0
type CreateLogsetRequest struct {
core.JDCloudRequest
/* 地域 Id */
RegionId string `json:"regionId"`
/* 日志集名称 */
Name string `json:"name"`
/* 日志集描述 (Optional) */
Description *string `json:"description"`
/* 保存周期,只能是 7, 15, 30 (Optional) */
LifeCycle *int `json:"lifeCycle"`
/* 标签列表 (Optional) */
Tags []logs.Tag `json:"tags"`
/* 资源组信息 (Optional) */
ResourceGroupUID *string `json:"resourceGroupUID"`
/* 是否是内部资源。 设置为 true,则外部租户不可见。 (Optional) */
Inner *bool `json:"inner"`
}
func NewCreateLogsetRequest ¶ added in v1.11.0
func NewCreateLogsetRequest( regionId string, name string, ) *CreateLogsetRequest
* param regionId: 地域 Id (Required) * param name: 日志集名称 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewCreateLogsetRequestWithAllParams ¶ added in v1.11.0
func NewCreateLogsetRequestWithAllParams( regionId string, name string, description *string, lifeCycle *int, tags []logs.Tag, resourceGroupUID *string, inner *bool, ) *CreateLogsetRequest
* param regionId: 地域 Id (Required) * param name: 日志集名称 (Required) * param description: 日志集描述 (Optional) * param lifeCycle: 保存周期,只能是 7, 15, 30 (Optional) * param tags: 标签列表 (Optional) * param resourceGroupUID: 资源组信息 (Optional) * param inner: 是否是内部资源。 设置为 true,则外部租户不可见。 (Optional)
func NewCreateLogsetRequestWithoutParam ¶ added in v1.11.0
func NewCreateLogsetRequestWithoutParam() *CreateLogsetRequest
This constructor has better compatible ability when API parameters changed
func (CreateLogsetRequest) GetRegionId ¶ added in v1.11.0
func (r CreateLogsetRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*CreateLogsetRequest) SetDescription ¶ added in v1.11.0
func (r *CreateLogsetRequest) SetDescription(description string)
param description: 日志集描述(Optional)
func (*CreateLogsetRequest) SetInner ¶ added in v1.63.0
func (r *CreateLogsetRequest) SetInner(inner bool)
param inner: 是否是内部资源。 设置为 true,则外部租户不可见。(Optional)
func (*CreateLogsetRequest) SetLifeCycle ¶ added in v1.11.0
func (r *CreateLogsetRequest) SetLifeCycle(lifeCycle int)
param lifeCycle: 保存周期,只能是 7, 15, 30(Optional)
func (*CreateLogsetRequest) SetName ¶ added in v1.11.0
func (r *CreateLogsetRequest) SetName(name string)
param name: 日志集名称(Required)
func (*CreateLogsetRequest) SetRegionId ¶ added in v1.11.0
func (r *CreateLogsetRequest) SetRegionId(regionId string)
param regionId: 地域 Id(Required)
func (*CreateLogsetRequest) SetResourceGroupUID ¶ added in v1.63.0
func (r *CreateLogsetRequest) SetResourceGroupUID(resourceGroupUID string)
param resourceGroupUID: 资源组信息(Optional)
func (*CreateLogsetRequest) SetTags ¶ added in v1.63.0
func (r *CreateLogsetRequest) SetTags(tags []logs.Tag)
param tags: 标签列表(Optional)
type CreateLogsetResponse ¶ added in v1.11.0
type CreateLogsetResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result CreateLogsetResult `json:"result"`
}
type CreateLogsetResult ¶ added in v1.11.0
type CreateLogsetResult struct {
UID string `json:"uID"`
}
type CreateLogtopicRequest ¶ added in v1.11.0
type CreateLogtopicRequest struct {
core.JDCloudRequest
/* 地域 Id */
RegionId string `json:"regionId"`
/* 日志集 UID */
LogsetUID string `json:"logsetUID"`
/* 日志主题名称 */
Name string `json:"name"`
/* 日志集描述 (Optional) */
Description *string `json:"description"`
/* 保序 (Optional) */
InOrder *bool `json:"inOrder"`
/* 保存周期,只能是 7, 15, 30 (Optional) */
LifeCycle *int `json:"lifeCycle"`
/* 标签列表 (Optional) */
Tags []logs.Tag `json:"tags"`
}
func NewCreateLogtopicRequest ¶ added in v1.11.0
func NewCreateLogtopicRequest( regionId string, logsetUID string, name string, ) *CreateLogtopicRequest
* param regionId: 地域 Id (Required) * param logsetUID: 日志集 UID (Required) * param name: 日志主题名称 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewCreateLogtopicRequestWithAllParams ¶ added in v1.11.0
func NewCreateLogtopicRequestWithAllParams( regionId string, logsetUID string, name string, description *string, inOrder *bool, lifeCycle *int, tags []logs.Tag, ) *CreateLogtopicRequest
* param regionId: 地域 Id (Required) * param logsetUID: 日志集 UID (Required) * param name: 日志主题名称 (Required) * param description: 日志集描述 (Optional) * param inOrder: 保序 (Optional) * param lifeCycle: 保存周期,只能是 7, 15, 30 (Optional) * param tags: 标签列表 (Optional)
func NewCreateLogtopicRequestWithoutParam ¶ added in v1.11.0
func NewCreateLogtopicRequestWithoutParam() *CreateLogtopicRequest
This constructor has better compatible ability when API parameters changed
func (CreateLogtopicRequest) GetRegionId ¶ added in v1.11.0
func (r CreateLogtopicRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*CreateLogtopicRequest) SetDescription ¶ added in v1.11.0
func (r *CreateLogtopicRequest) SetDescription(description string)
param description: 日志集描述(Optional)
func (*CreateLogtopicRequest) SetInOrder ¶ added in v1.63.0
func (r *CreateLogtopicRequest) SetInOrder(inOrder bool)
param inOrder: 保序(Optional)
func (*CreateLogtopicRequest) SetLifeCycle ¶ added in v1.63.0
func (r *CreateLogtopicRequest) SetLifeCycle(lifeCycle int)
param lifeCycle: 保存周期,只能是 7, 15, 30(Optional)
func (*CreateLogtopicRequest) SetLogsetUID ¶ added in v1.11.0
func (r *CreateLogtopicRequest) SetLogsetUID(logsetUID string)
param logsetUID: 日志集 UID(Required)
func (*CreateLogtopicRequest) SetName ¶ added in v1.11.0
func (r *CreateLogtopicRequest) SetName(name string)
param name: 日志主题名称(Required)
func (*CreateLogtopicRequest) SetRegionId ¶ added in v1.11.0
func (r *CreateLogtopicRequest) SetRegionId(regionId string)
param regionId: 地域 Id(Required)
func (*CreateLogtopicRequest) SetTags ¶ added in v1.63.0
func (r *CreateLogtopicRequest) SetTags(tags []logs.Tag)
param tags: 标签列表(Optional)
type CreateLogtopicResponse ¶ added in v1.11.0
type CreateLogtopicResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result CreateLogtopicResult `json:"result"`
}
type CreateLogtopicResult ¶ added in v1.11.0
type CreateLogtopicResult struct {
UID string `json:"uID"`
}
type CreateMetricTaskRequest ¶ added in v1.13.0
type CreateMetricTaskRequest struct {
core.JDCloudRequest
/* 地域 Id */
RegionId string `json:"regionId"`
/* 日志集 UID */
LogsetUID string `json:"logsetUID"`
/* 日志主题 UID */
LogtopicUID string `json:"logtopicUID"`
/* 聚合函数,支持 count sum max min avg; 配置方式(SettingType) 为 空或visual 时,必填; (Optional) */
Aggregate *string `json:"aggregate"`
/* 自定义单位 */
CustomUnit string `json:"customUnit"`
/* 查询字段,支持 英文字母 数字 下划线 中划线 点(中文日志原文和各产品线的key); 配置方式(SettingType) 为 空或visual 时,必填; (Optional) */
DataField *string `json:"dataField"`
/* 过滤语法,可以为空 (Optional) */
FilterContent *string `json:"filterContent"`
/* 是否打开过滤; 配置方式(SettingType) 为 空或visual 时,必填; (Optional) */
FilterOpen *string `json:"filterOpen"`
/* 过滤类型,只能是fulltext和 advance; 配置方式(SettingType) 为 空或visual 时,必填; (Optional) */
FilterType *string `json:"filterType"`
/* 时间周期,固定60s */
Interval int64 `json:"interval"`
/* 监控项 , 支持大小写英文字母 下划线 数字 点,且不超过255byte(不支持中划线); 配置方式(SettingType) 为 空或visual 时,必填; (Optional) */
Metric *string `json:"metric"`
/* 监控任务名称,同一个日志主题下唯一,支持中文 大小写英文字母 下划线 中划线 数字,且不超过32字符 */
Name string `json:"name"`
/* 配置方式: 可选参数;枚举值 visual,sql;分别代表可视化配置及sql配置方式,传空表示可视化配置; (Optional) */
SettingType *string `json:"settingType"`
/* (Optional) */
SqlSpec *logs.MetricTaskSqlSpec `json:"sqlSpec"`
/* 单位 */
Unit string `json:"unit"`
}
func NewCreateMetricTaskRequest ¶ added in v1.13.0
func NewCreateMetricTaskRequest( regionId string, logsetUID string, logtopicUID string, customUnit string, interval int64, name string, unit string, ) *CreateMetricTaskRequest
* param regionId: 地域 Id (Required) * param logsetUID: 日志集 UID (Required) * param logtopicUID: 日志主题 UID (Required) * param customUnit: 自定义单位 (Required) * param interval: 时间周期,固定60s (Required) * param name: 监控任务名称,同一个日志主题下唯一,支持中文 大小写英文字母 下划线 中划线 数字,且不超过32字符 (Required) * param unit: 单位 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewCreateMetricTaskRequestWithAllParams ¶ added in v1.13.0
func NewCreateMetricTaskRequestWithAllParams( regionId string, logsetUID string, logtopicUID string, aggregate *string, customUnit string, dataField *string, filterContent *string, filterOpen *string, filterType *string, interval int64, metric *string, name string, settingType *string, sqlSpec *logs.MetricTaskSqlSpec, unit string, ) *CreateMetricTaskRequest
* param regionId: 地域 Id (Required) * param logsetUID: 日志集 UID (Required) * param logtopicUID: 日志主题 UID (Required) * param aggregate: 聚合函数,支持 count sum max min avg; 配置方式(SettingType) 为 空或visual 时,必填; (Optional) * param customUnit: 自定义单位 (Required) * param dataField: 查询字段,支持 英文字母 数字 下划线 中划线 点(中文日志原文和各产品线的key); 配置方式(SettingType) 为 空或visual 时,必填; (Optional) * param filterContent: 过滤语法,可以为空 (Optional) * param filterOpen: 是否打开过滤; 配置方式(SettingType) 为 空或visual 时,必填; (Optional) * param filterType: 过滤类型,只能是fulltext和 advance; 配置方式(SettingType) 为 空或visual 时,必填; (Optional) * param interval: 时间周期,固定60s (Required) * param metric: 监控项 , 支持大小写英文字母 下划线 数字 点,且不超过255byte(不支持中划线); 配置方式(SettingType) 为 空或visual 时,必填; (Optional) * param name: 监控任务名称,同一个日志主题下唯一,支持中文 大小写英文字母 下划线 中划线 数字,且不超过32字符 (Required) * param settingType: 配置方式: 可选参数;枚举值 visual,sql;分别代表可视化配置及sql配置方式,传空表示可视化配置; (Optional) * param sqlSpec: (Optional) * param unit: 单位 (Required)
func NewCreateMetricTaskRequestWithoutParam ¶ added in v1.13.0
func NewCreateMetricTaskRequestWithoutParam() *CreateMetricTaskRequest
This constructor has better compatible ability when API parameters changed
func (CreateMetricTaskRequest) GetRegionId ¶ added in v1.13.0
func (r CreateMetricTaskRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*CreateMetricTaskRequest) SetAggregate ¶ added in v1.13.0
func (r *CreateMetricTaskRequest) SetAggregate(aggregate string)
param aggregate: 聚合函数,支持 count sum max min avg; 配置方式(SettingType) 为 空或visual 时,必填;(Optional)
func (*CreateMetricTaskRequest) SetCustomUnit ¶ added in v1.13.0
func (r *CreateMetricTaskRequest) SetCustomUnit(customUnit string)
param customUnit: 自定义单位(Required)
func (*CreateMetricTaskRequest) SetDataField ¶ added in v1.13.0
func (r *CreateMetricTaskRequest) SetDataField(dataField string)
param dataField: 查询字段,支持 英文字母 数字 下划线 中划线 点(中文日志原文和各产品线的key); 配置方式(SettingType) 为 空或visual 时,必填;(Optional)
func (*CreateMetricTaskRequest) SetFilterContent ¶ added in v1.13.0
func (r *CreateMetricTaskRequest) SetFilterContent(filterContent string)
param filterContent: 过滤语法,可以为空(Optional)
func (*CreateMetricTaskRequest) SetFilterOpen ¶ added in v1.13.0
func (r *CreateMetricTaskRequest) SetFilterOpen(filterOpen string)
param filterOpen: 是否打开过滤; 配置方式(SettingType) 为 空或visual 时,必填;(Optional)
func (*CreateMetricTaskRequest) SetFilterType ¶ added in v1.13.0
func (r *CreateMetricTaskRequest) SetFilterType(filterType string)
param filterType: 过滤类型,只能是fulltext和 advance; 配置方式(SettingType) 为 空或visual 时,必填;(Optional)
func (*CreateMetricTaskRequest) SetInterval ¶ added in v1.13.0
func (r *CreateMetricTaskRequest) SetInterval(interval int64)
param interval: 时间周期,固定60s(Required)
func (*CreateMetricTaskRequest) SetLogsetUID ¶ added in v1.13.0
func (r *CreateMetricTaskRequest) SetLogsetUID(logsetUID string)
param logsetUID: 日志集 UID(Required)
func (*CreateMetricTaskRequest) SetLogtopicUID ¶ added in v1.13.0
func (r *CreateMetricTaskRequest) SetLogtopicUID(logtopicUID string)
param logtopicUID: 日志主题 UID(Required)
func (*CreateMetricTaskRequest) SetMetric ¶ added in v1.13.0
func (r *CreateMetricTaskRequest) SetMetric(metric string)
param metric: 监控项 , 支持大小写英文字母 下划线 数字 点,且不超过255byte(不支持中划线); 配置方式(SettingType) 为 空或visual 时,必填;(Optional)
func (*CreateMetricTaskRequest) SetName ¶ added in v1.13.0
func (r *CreateMetricTaskRequest) SetName(name string)
param name: 监控任务名称,同一个日志主题下唯一,支持中文 大小写英文字母 下划线 中划线 数字,且不超过32字符(Required)
func (*CreateMetricTaskRequest) SetRegionId ¶ added in v1.13.0
func (r *CreateMetricTaskRequest) SetRegionId(regionId string)
param regionId: 地域 Id(Required)
func (*CreateMetricTaskRequest) SetSettingType ¶ added in v1.56.0
func (r *CreateMetricTaskRequest) SetSettingType(settingType string)
param settingType: 配置方式: 可选参数;枚举值 visual,sql;分别代表可视化配置及sql配置方式,传空表示可视化配置;(Optional)
func (*CreateMetricTaskRequest) SetSqlSpec ¶ added in v1.56.0
func (r *CreateMetricTaskRequest) SetSqlSpec(sqlSpec *logs.MetricTaskSqlSpec)
param sqlSpec: (Optional)
func (*CreateMetricTaskRequest) SetUnit ¶ added in v1.13.0
func (r *CreateMetricTaskRequest) SetUnit(unit string)
param unit: 单位(Required)
type CreateMetricTaskResponse ¶ added in v1.13.0
type CreateMetricTaskResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result CreateMetricTaskResult `json:"result"`
}
type CreateMetricTaskResult ¶ added in v1.13.0
type CreateParserRequest ¶ added in v1.56.0
type CreateParserRequest struct {
core.JDCloudRequest
/* 地域 Id */
RegionId string `json:"regionId"`
/* 日志主题 UID */
LogtopicUID string `json:"logtopicUID"`
/* 行级索引分词符。 Rune 数组 (Optional) */
IndexToken []string `json:"indexToken"`
/* */
ParserFields []logs.ParserField `json:"parserFields"`
/* 解析类型。oneline - 单行,split - 分割, json - json, regexp - regexp */
ParserMode string `json:"parserMode"`
/* 解析语法 (Optional) */
ParserPattern *string `json:"parserPattern"`
/* 日志样例 (Optional) */
ParserSample *string `json:"parserSample"`
/* 预处理任务列表。按照数组的顺序执行。 (Optional) */
Pipelines []logs.PipelineSpec `json:"pipelines"`
/* 是否保留原始内容字段 (Optional) */
ReserveOriginContent *bool `json:"reserveOriginContent"`
}
func NewCreateParserRequest ¶ added in v1.56.0
func NewCreateParserRequest( regionId string, logtopicUID string, parserFields []logs.ParserField, parserMode string, ) *CreateParserRequest
* param regionId: 地域 Id (Required) * param logtopicUID: 日志主题 UID (Required) * param parserFields: (Required) * param parserMode: 解析类型。oneline - 单行,split - 分割, json - json, regexp - regexp (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewCreateParserRequestWithAllParams ¶ added in v1.56.0
func NewCreateParserRequestWithAllParams( regionId string, logtopicUID string, indexToken []string, parserFields []logs.ParserField, parserMode string, parserPattern *string, parserSample *string, pipelines []logs.PipelineSpec, reserveOriginContent *bool, ) *CreateParserRequest
* param regionId: 地域 Id (Required) * param logtopicUID: 日志主题 UID (Required) * param indexToken: 行级索引分词符。 Rune 数组 (Optional) * param parserFields: (Required) * param parserMode: 解析类型。oneline - 单行,split - 分割, json - json, regexp - regexp (Required) * param parserPattern: 解析语法 (Optional) * param parserSample: 日志样例 (Optional) * param pipelines: 预处理任务列表。按照数组的顺序执行。 (Optional) * param reserveOriginContent: 是否保留原始内容字段 (Optional)
func NewCreateParserRequestWithoutParam ¶ added in v1.56.0
func NewCreateParserRequestWithoutParam() *CreateParserRequest
This constructor has better compatible ability when API parameters changed
func (CreateParserRequest) GetRegionId ¶ added in v1.56.0
func (r CreateParserRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*CreateParserRequest) SetIndexToken ¶ added in v1.63.0
func (r *CreateParserRequest) SetIndexToken(indexToken []string)
param indexToken: 行级索引分词符。 Rune 数组(Optional)
func (*CreateParserRequest) SetLogtopicUID ¶ added in v1.56.0
func (r *CreateParserRequest) SetLogtopicUID(logtopicUID string)
param logtopicUID: 日志主题 UID(Required)
func (*CreateParserRequest) SetParserFields ¶ added in v1.56.0
func (r *CreateParserRequest) SetParserFields(parserFields []logs.ParserField)
param parserFields: (Required)
func (*CreateParserRequest) SetParserMode ¶ added in v1.56.0
func (r *CreateParserRequest) SetParserMode(parserMode string)
param parserMode: 解析类型。oneline - 单行,split - 分割, json - json, regexp - regexp(Required)
func (*CreateParserRequest) SetParserPattern ¶ added in v1.56.0
func (r *CreateParserRequest) SetParserPattern(parserPattern string)
param parserPattern: 解析语法(Optional)
func (*CreateParserRequest) SetParserSample ¶ added in v1.56.0
func (r *CreateParserRequest) SetParserSample(parserSample string)
param parserSample: 日志样例(Optional)
func (*CreateParserRequest) SetPipelines ¶ added in v1.56.0
func (r *CreateParserRequest) SetPipelines(pipelines []logs.PipelineSpec)
param pipelines: 预处理任务列表。按照数组的顺序执行。(Optional)
func (*CreateParserRequest) SetRegionId ¶ added in v1.56.0
func (r *CreateParserRequest) SetRegionId(regionId string)
param regionId: 地域 Id(Required)
func (*CreateParserRequest) SetReserveOriginContent ¶ added in v1.63.0
func (r *CreateParserRequest) SetReserveOriginContent(reserveOriginContent bool)
param reserveOriginContent: 是否保留原始内容字段(Optional)
type CreateParserResponse ¶ added in v1.56.0
type CreateParserResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result CreateParserResult `json:"result"`
}
type CreateParserResult ¶ added in v1.56.0
type CreateParserResult struct {
}
type CreateSubscribeRequest ¶ added in v1.56.0
type CreateSubscribeRequest struct {
core.JDCloudRequest
/* 地域 Id */
RegionId string `json:"regionId"`
/* 日志集 UID */
LogsetUID string `json:"logsetUID"`
/* 日志主题 UID */
LogtopicUID string `json:"logtopicUID"`
}
func NewCreateSubscribeRequest ¶ added in v1.56.0
func NewCreateSubscribeRequest( regionId string, logsetUID string, logtopicUID string, ) *CreateSubscribeRequest
* param regionId: 地域 Id (Required) * param logsetUID: 日志集 UID (Required) * param logtopicUID: 日志主题 UID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewCreateSubscribeRequestWithAllParams ¶ added in v1.56.0
func NewCreateSubscribeRequestWithAllParams( regionId string, logsetUID string, logtopicUID string, ) *CreateSubscribeRequest
* param regionId: 地域 Id (Required) * param logsetUID: 日志集 UID (Required) * param logtopicUID: 日志主题 UID (Required)
func NewCreateSubscribeRequestWithoutParam ¶ added in v1.56.0
func NewCreateSubscribeRequestWithoutParam() *CreateSubscribeRequest
This constructor has better compatible ability when API parameters changed
func (CreateSubscribeRequest) GetRegionId ¶ added in v1.56.0
func (r CreateSubscribeRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*CreateSubscribeRequest) SetLogsetUID ¶ added in v1.56.0
func (r *CreateSubscribeRequest) SetLogsetUID(logsetUID string)
param logsetUID: 日志集 UID(Required)
func (*CreateSubscribeRequest) SetLogtopicUID ¶ added in v1.56.0
func (r *CreateSubscribeRequest) SetLogtopicUID(logtopicUID string)
param logtopicUID: 日志主题 UID(Required)
func (*CreateSubscribeRequest) SetRegionId ¶ added in v1.56.0
func (r *CreateSubscribeRequest) SetRegionId(regionId string)
param regionId: 地域 Id(Required)
type CreateSubscribeResponse ¶ added in v1.56.0
type CreateSubscribeResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result CreateSubscribeResult `json:"result"`
}
type CreateSubscribeResult ¶ added in v1.56.0
type CreateSubscribeResult struct {
}
type DeleteCollectInfoRequest ¶ added in v1.63.0
type DeleteCollectInfoRequest struct {
core.JDCloudRequest
/* 地域 Id */
RegionId string `json:"regionId"`
/* 采集配置 UID */
CollectInfoUID string `json:"collectInfoUID"`
}
func NewDeleteCollectInfoRequest ¶ added in v1.63.0
func NewDeleteCollectInfoRequest( regionId string, collectInfoUID string, ) *DeleteCollectInfoRequest
* param regionId: 地域 Id (Required) * param collectInfoUID: 采集配置 UID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDeleteCollectInfoRequestWithAllParams ¶ added in v1.63.0
func NewDeleteCollectInfoRequestWithAllParams( regionId string, collectInfoUID string, ) *DeleteCollectInfoRequest
* param regionId: 地域 Id (Required) * param collectInfoUID: 采集配置 UID (Required)
func NewDeleteCollectInfoRequestWithoutParam ¶ added in v1.63.0
func NewDeleteCollectInfoRequestWithoutParam() *DeleteCollectInfoRequest
This constructor has better compatible ability when API parameters changed
func (DeleteCollectInfoRequest) GetRegionId ¶ added in v1.63.0
func (r DeleteCollectInfoRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DeleteCollectInfoRequest) SetCollectInfoUID ¶ added in v1.63.0
func (r *DeleteCollectInfoRequest) SetCollectInfoUID(collectInfoUID string)
param collectInfoUID: 采集配置 UID(Required)
func (*DeleteCollectInfoRequest) SetRegionId ¶ added in v1.63.0
func (r *DeleteCollectInfoRequest) SetRegionId(regionId string)
param regionId: 地域 Id(Required)
type DeleteCollectInfoResponse ¶ added in v1.63.0
type DeleteCollectInfoResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result DeleteCollectInfoResult `json:"result"`
}
type DeleteCollectInfoResult ¶ added in v1.63.0
type DeleteCollectInfoResult struct {
}
type DeleteIndexOptionRequest ¶ added in v1.63.0
type DeleteIndexOptionRequest struct {
core.JDCloudRequest
/* 地域 Id */
RegionId string `json:"regionId"`
/* 日志主题 UID */
LogtopicUID string `json:"logtopicUID"`
}
func NewDeleteIndexOptionRequest ¶ added in v1.63.0
func NewDeleteIndexOptionRequest( regionId string, logtopicUID string, ) *DeleteIndexOptionRequest
* param regionId: 地域 Id (Required) * param logtopicUID: 日志主题 UID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDeleteIndexOptionRequestWithAllParams ¶ added in v1.63.0
func NewDeleteIndexOptionRequestWithAllParams( regionId string, logtopicUID string, ) *DeleteIndexOptionRequest
* param regionId: 地域 Id (Required) * param logtopicUID: 日志主题 UID (Required)
func NewDeleteIndexOptionRequestWithoutParam ¶ added in v1.63.0
func NewDeleteIndexOptionRequestWithoutParam() *DeleteIndexOptionRequest
This constructor has better compatible ability when API parameters changed
func (DeleteIndexOptionRequest) GetRegionId ¶ added in v1.63.0
func (r DeleteIndexOptionRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DeleteIndexOptionRequest) SetLogtopicUID ¶ added in v1.63.0
func (r *DeleteIndexOptionRequest) SetLogtopicUID(logtopicUID string)
param logtopicUID: 日志主题 UID(Required)
func (*DeleteIndexOptionRequest) SetRegionId ¶ added in v1.63.0
func (r *DeleteIndexOptionRequest) SetRegionId(regionId string)
param regionId: 地域 Id(Required)
type DeleteIndexOptionResponse ¶ added in v1.63.0
type DeleteIndexOptionResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result DeleteIndexOptionResult `json:"result"`
}
type DeleteIndexOptionResult ¶ added in v1.63.0
type DeleteIndexOptionResult struct {
}
type DeleteLogsetRequest ¶ added in v1.11.0
type DeleteLogsetRequest struct {
core.JDCloudRequest
/* 地域 Id */
RegionId string `json:"regionId"`
/* 日志集ID,多个日志集ID以逗号分割 */
LogsetUIDs string `json:"logsetUIDs"`
}
func NewDeleteLogsetRequest ¶ added in v1.11.0
func NewDeleteLogsetRequest( regionId string, logsetUIDs string, ) *DeleteLogsetRequest
* param regionId: 地域 Id (Required) * param logsetUIDs: 日志集ID,多个日志集ID以逗号分割 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDeleteLogsetRequestWithAllParams ¶ added in v1.11.0
func NewDeleteLogsetRequestWithAllParams( regionId string, logsetUIDs string, ) *DeleteLogsetRequest
* param regionId: 地域 Id (Required) * param logsetUIDs: 日志集ID,多个日志集ID以逗号分割 (Required)
func NewDeleteLogsetRequestWithoutParam ¶ added in v1.11.0
func NewDeleteLogsetRequestWithoutParam() *DeleteLogsetRequest
This constructor has better compatible ability when API parameters changed
func (DeleteLogsetRequest) GetRegionId ¶ added in v1.11.0
func (r DeleteLogsetRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DeleteLogsetRequest) SetLogsetUIDs ¶ added in v1.11.0
func (r *DeleteLogsetRequest) SetLogsetUIDs(logsetUIDs string)
param logsetUIDs: 日志集ID,多个日志集ID以逗号分割(Required)
func (*DeleteLogsetRequest) SetRegionId ¶ added in v1.11.0
func (r *DeleteLogsetRequest) SetRegionId(regionId string)
param regionId: 地域 Id(Required)
type DeleteLogsetResponse ¶ added in v1.11.0
type DeleteLogsetResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result DeleteLogsetResult `json:"result"`
}
type DeleteLogsetResult ¶ added in v1.11.0
type DeleteLogsetResult struct {
}
type DeleteLogtopicRequest ¶ added in v1.11.0
type DeleteLogtopicRequest struct {
core.JDCloudRequest
/* 地域 Id */
RegionId string `json:"regionId"`
/* 日志集 UID */
LogsetUID string `json:"logsetUID"`
/* 日志主题ID,多个日志主题ID以逗号分割 */
LogtopicUIDs string `json:"logtopicUIDs"`
}
func NewDeleteLogtopicRequest ¶ added in v1.11.0
func NewDeleteLogtopicRequest( regionId string, logsetUID string, logtopicUIDs string, ) *DeleteLogtopicRequest
* param regionId: 地域 Id (Required) * param logsetUID: 日志集 UID (Required) * param logtopicUIDs: 日志主题ID,多个日志主题ID以逗号分割 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDeleteLogtopicRequestWithAllParams ¶ added in v1.11.0
func NewDeleteLogtopicRequestWithAllParams( regionId string, logsetUID string, logtopicUIDs string, ) *DeleteLogtopicRequest
* param regionId: 地域 Id (Required) * param logsetUID: 日志集 UID (Required) * param logtopicUIDs: 日志主题ID,多个日志主题ID以逗号分割 (Required)
func NewDeleteLogtopicRequestWithoutParam ¶ added in v1.11.0
func NewDeleteLogtopicRequestWithoutParam() *DeleteLogtopicRequest
This constructor has better compatible ability when API parameters changed
func (DeleteLogtopicRequest) GetRegionId ¶ added in v1.11.0
func (r DeleteLogtopicRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DeleteLogtopicRequest) SetLogsetUID ¶ added in v1.11.0
func (r *DeleteLogtopicRequest) SetLogsetUID(logsetUID string)
param logsetUID: 日志集 UID(Required)
func (*DeleteLogtopicRequest) SetLogtopicUIDs ¶ added in v1.11.0
func (r *DeleteLogtopicRequest) SetLogtopicUIDs(logtopicUIDs string)
param logtopicUIDs: 日志主题ID,多个日志主题ID以逗号分割(Required)
func (*DeleteLogtopicRequest) SetRegionId ¶ added in v1.11.0
func (r *DeleteLogtopicRequest) SetRegionId(regionId string)
param regionId: 地域 Id(Required)
type DeleteLogtopicResponse ¶ added in v1.11.0
type DeleteLogtopicResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result DeleteLogtopicResult `json:"result"`
}
type DeleteLogtopicResult ¶ added in v1.11.0
type DeleteLogtopicResult struct {
}
type DeleteMetricTaskRequest ¶ added in v1.13.0
type DeleteMetricTaskRequest struct {
core.JDCloudRequest
/* 地域 Id */
RegionId string `json:"regionId"`
/* 日志集 UID */
LogsetUID string `json:"logsetUID"`
/* 日志主题 UID */
LogtopicUID string `json:"logtopicUID"`
/* */
LogmetrictaskUID string `json:"logmetrictaskUID"`
}
func NewDeleteMetricTaskRequest ¶ added in v1.13.0
func NewDeleteMetricTaskRequest( regionId string, logsetUID string, logtopicUID string, logmetrictaskUID string, ) *DeleteMetricTaskRequest
* param regionId: 地域 Id (Required) * param logsetUID: 日志集 UID (Required) * param logtopicUID: 日志主题 UID (Required) * param logmetrictaskUID: (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDeleteMetricTaskRequestWithAllParams ¶ added in v1.13.0
func NewDeleteMetricTaskRequestWithAllParams( regionId string, logsetUID string, logtopicUID string, logmetrictaskUID string, ) *DeleteMetricTaskRequest
* param regionId: 地域 Id (Required) * param logsetUID: 日志集 UID (Required) * param logtopicUID: 日志主题 UID (Required) * param logmetrictaskUID: (Required)
func NewDeleteMetricTaskRequestWithoutParam ¶ added in v1.13.0
func NewDeleteMetricTaskRequestWithoutParam() *DeleteMetricTaskRequest
This constructor has better compatible ability when API parameters changed
func (DeleteMetricTaskRequest) GetRegionId ¶ added in v1.13.0
func (r DeleteMetricTaskRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DeleteMetricTaskRequest) SetLogmetrictaskUID ¶ added in v1.13.0
func (r *DeleteMetricTaskRequest) SetLogmetrictaskUID(logmetrictaskUID string)
param logmetrictaskUID: (Required)
func (*DeleteMetricTaskRequest) SetLogsetUID ¶ added in v1.13.0
func (r *DeleteMetricTaskRequest) SetLogsetUID(logsetUID string)
param logsetUID: 日志集 UID(Required)
func (*DeleteMetricTaskRequest) SetLogtopicUID ¶ added in v1.13.0
func (r *DeleteMetricTaskRequest) SetLogtopicUID(logtopicUID string)
param logtopicUID: 日志主题 UID(Required)
func (*DeleteMetricTaskRequest) SetRegionId ¶ added in v1.13.0
func (r *DeleteMetricTaskRequest) SetRegionId(regionId string)
param regionId: 地域 Id(Required)
type DeleteMetricTaskResponse ¶ added in v1.13.0
type DeleteMetricTaskResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result DeleteMetricTaskResult `json:"result"`
}
type DeleteMetricTaskResult ¶ added in v1.13.0
type DeleteMetricTaskResult struct {
Suc string `json:"suc"`
}
type DescribeCollectInfoBatchRequest ¶ added in v1.63.0
type DescribeCollectInfoBatchRequest struct {
core.JDCloudRequest
/* 地域 Id */
RegionId string `json:"regionId"`
/* 采集配置 UID 列表,以逗号分隔 */
CollectInfoUIDs string `json:"collectInfoUIDs"`
}
func NewDescribeCollectInfoBatchRequest ¶ added in v1.63.0
func NewDescribeCollectInfoBatchRequest( regionId string, collectInfoUIDs string, ) *DescribeCollectInfoBatchRequest
* param regionId: 地域 Id (Required) * param collectInfoUIDs: 采集配置 UID 列表,以逗号分隔 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeCollectInfoBatchRequestWithAllParams ¶ added in v1.63.0
func NewDescribeCollectInfoBatchRequestWithAllParams( regionId string, collectInfoUIDs string, ) *DescribeCollectInfoBatchRequest
* param regionId: 地域 Id (Required) * param collectInfoUIDs: 采集配置 UID 列表,以逗号分隔 (Required)
func NewDescribeCollectInfoBatchRequestWithoutParam ¶ added in v1.63.0
func NewDescribeCollectInfoBatchRequestWithoutParam() *DescribeCollectInfoBatchRequest
This constructor has better compatible ability when API parameters changed
func (DescribeCollectInfoBatchRequest) GetRegionId ¶ added in v1.63.0
func (r DescribeCollectInfoBatchRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeCollectInfoBatchRequest) SetCollectInfoUIDs ¶ added in v1.63.0
func (r *DescribeCollectInfoBatchRequest) SetCollectInfoUIDs(collectInfoUIDs string)
param collectInfoUIDs: 采集配置 UID 列表,以逗号分隔(Required)
func (*DescribeCollectInfoBatchRequest) SetRegionId ¶ added in v1.63.0
func (r *DescribeCollectInfoBatchRequest) SetRegionId(regionId string)
param regionId: 地域 Id(Required)
type DescribeCollectInfoBatchResponse ¶ added in v1.63.0
type DescribeCollectInfoBatchResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result DescribeCollectInfoBatchResult `json:"result"`
}
type DescribeCollectInfoBatchResult ¶ added in v1.63.0
type DescribeCollectInfoRequest ¶ added in v1.11.0
type DescribeCollectInfoRequest struct {
core.JDCloudRequest
/* 地域 Id */
RegionId string `json:"regionId"`
/* 采集配置 UID */
CollectInfoUID string `json:"collectInfoUID"`
}
func NewDescribeCollectInfoRequest ¶ added in v1.11.0
func NewDescribeCollectInfoRequest( regionId string, collectInfoUID string, ) *DescribeCollectInfoRequest
* param regionId: 地域 Id (Required) * param collectInfoUID: 采集配置 UID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeCollectInfoRequestWithAllParams ¶ added in v1.11.0
func NewDescribeCollectInfoRequestWithAllParams( regionId string, collectInfoUID string, ) *DescribeCollectInfoRequest
* param regionId: 地域 Id (Required) * param collectInfoUID: 采集配置 UID (Required)
func NewDescribeCollectInfoRequestWithoutParam ¶ added in v1.11.0
func NewDescribeCollectInfoRequestWithoutParam() *DescribeCollectInfoRequest
This constructor has better compatible ability when API parameters changed
func (DescribeCollectInfoRequest) GetRegionId ¶ added in v1.11.0
func (r DescribeCollectInfoRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeCollectInfoRequest) SetCollectInfoUID ¶ added in v1.11.0
func (r *DescribeCollectInfoRequest) SetCollectInfoUID(collectInfoUID string)
param collectInfoUID: 采集配置 UID(Required)
func (*DescribeCollectInfoRequest) SetRegionId ¶ added in v1.11.0
func (r *DescribeCollectInfoRequest) SetRegionId(regionId string)
param regionId: 地域 Id(Required)
type DescribeCollectInfoResponse ¶ added in v1.11.0
type DescribeCollectInfoResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result DescribeCollectInfoResult `json:"result"`
}
type DescribeCollectInfoResult ¶ added in v1.11.0
type DescribeCollectInfoResult struct {
UID string `json:"uID"`
AgResource []logs.AgResourceEnd `json:"agResource"`
AppCode string `json:"appCode"`
BinlogSpec interface{} `json:"binlogSpec"`
Detail logs.CollectTempalteEnd `json:"detail"`
Enabled int64 `json:"enabled"`
HasResource bool `json:"hasResource"`
K8sSpec interface{} `json:"k8sSpec"`
LogsetUID string `json:"logsetUID"`
LogtopicUID string `json:"logtopicUID"`
Name string `json:"name"`
ResourceMode int64 `json:"resourceMode"`
ResourceType string `json:"resourceType"`
ServiceCode string `json:"serviceCode"`
TagResource logs.TagResourceEnd `json:"tagResource"`
TemplateName string `json:"templateName"`
TemplateUID string `json:"templateUID"`
}
type DescribeCollectInfosRequest ¶ added in v1.63.0
type DescribeCollectInfosRequest struct {
core.JDCloudRequest
/* 地域 Id */
RegionId string `json:"regionId"`
/* 日志主题 UID */
LogtopicUID string `json:"logtopicUID"`
/* 当前所在页,默认为1 (Optional) */
PageNumber *int `json:"pageNumber"`
/* 页面大小,默认为20;取值范围[1, 200] (Optional) */
PageSize *int `json:"pageSize"`
/* 采集配置名称 (Optional) */
Name *string `json:"name"`
/* 采集配置UID (Optional) */
CollectInfoUID *string `json:"collectInfoUID"`
}
func NewDescribeCollectInfosRequest ¶ added in v1.63.0
func NewDescribeCollectInfosRequest( regionId string, logtopicUID string, ) *DescribeCollectInfosRequest
* param regionId: 地域 Id (Required) * param logtopicUID: 日志主题 UID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeCollectInfosRequestWithAllParams ¶ added in v1.63.0
func NewDescribeCollectInfosRequestWithAllParams( regionId string, logtopicUID string, pageNumber *int, pageSize *int, name *string, collectInfoUID *string, ) *DescribeCollectInfosRequest
* param regionId: 地域 Id (Required) * param logtopicUID: 日志主题 UID (Required) * param pageNumber: 当前所在页,默认为1 (Optional) * param pageSize: 页面大小,默认为20;取值范围[1, 200] (Optional) * param name: 采集配置名称 (Optional) * param collectInfoUID: 采集配置UID (Optional)
func NewDescribeCollectInfosRequestWithoutParam ¶ added in v1.63.0
func NewDescribeCollectInfosRequestWithoutParam() *DescribeCollectInfosRequest
This constructor has better compatible ability when API parameters changed
func (DescribeCollectInfosRequest) GetRegionId ¶ added in v1.63.0
func (r DescribeCollectInfosRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeCollectInfosRequest) SetCollectInfoUID ¶ added in v1.63.0
func (r *DescribeCollectInfosRequest) SetCollectInfoUID(collectInfoUID string)
param collectInfoUID: 采集配置UID(Optional)
func (*DescribeCollectInfosRequest) SetLogtopicUID ¶ added in v1.63.0
func (r *DescribeCollectInfosRequest) SetLogtopicUID(logtopicUID string)
param logtopicUID: 日志主题 UID(Required)
func (*DescribeCollectInfosRequest) SetName ¶ added in v1.63.0
func (r *DescribeCollectInfosRequest) SetName(name string)
param name: 采集配置名称(Optional)
func (*DescribeCollectInfosRequest) SetPageNumber ¶ added in v1.63.0
func (r *DescribeCollectInfosRequest) SetPageNumber(pageNumber int)
param pageNumber: 当前所在页,默认为1(Optional)
func (*DescribeCollectInfosRequest) SetPageSize ¶ added in v1.63.0
func (r *DescribeCollectInfosRequest) SetPageSize(pageSize int)
param pageSize: 页面大小,默认为20;取值范围[1, 200](Optional)
func (*DescribeCollectInfosRequest) SetRegionId ¶ added in v1.63.0
func (r *DescribeCollectInfosRequest) SetRegionId(regionId string)
param regionId: 地域 Id(Required)
type DescribeCollectInfosResponse ¶ added in v1.63.0
type DescribeCollectInfosResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result DescribeCollectInfosResult `json:"result"`
}
type DescribeCollectInfosResult ¶ added in v1.63.0
type DescribeCollectResourcesRequest ¶ added in v1.11.0
type DescribeCollectResourcesRequest struct {
core.JDCloudRequest
/* 地域 Id */
RegionId string `json:"regionId"`
/* 采集配置 UID */
CollectInfoUID string `json:"collectInfoUID"`
/* 当前所在页,默认为1 (Optional) */
PageNumber *int `json:"pageNumber"`
/* 页面大小,默认为20;取值范围[1, 100] (Optional) */
PageSize *int `json:"pageSize"`
}
func NewDescribeCollectResourcesRequest ¶ added in v1.11.0
func NewDescribeCollectResourcesRequest( regionId string, collectInfoUID string, ) *DescribeCollectResourcesRequest
* param regionId: 地域 Id (Required) * param collectInfoUID: 采集配置 UID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeCollectResourcesRequestWithAllParams ¶ added in v1.11.0
func NewDescribeCollectResourcesRequestWithAllParams( regionId string, collectInfoUID string, pageNumber *int, pageSize *int, ) *DescribeCollectResourcesRequest
* param regionId: 地域 Id (Required) * param collectInfoUID: 采集配置 UID (Required) * param pageNumber: 当前所在页,默认为1 (Optional) * param pageSize: 页面大小,默认为20;取值范围[1, 100] (Optional)
func NewDescribeCollectResourcesRequestWithoutParam ¶ added in v1.11.0
func NewDescribeCollectResourcesRequestWithoutParam() *DescribeCollectResourcesRequest
This constructor has better compatible ability when API parameters changed
func (DescribeCollectResourcesRequest) GetRegionId ¶ added in v1.11.0
func (r DescribeCollectResourcesRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeCollectResourcesRequest) SetCollectInfoUID ¶ added in v1.11.0
func (r *DescribeCollectResourcesRequest) SetCollectInfoUID(collectInfoUID string)
param collectInfoUID: 采集配置 UID(Required)
func (*DescribeCollectResourcesRequest) SetPageNumber ¶ added in v1.11.0
func (r *DescribeCollectResourcesRequest) SetPageNumber(pageNumber int)
param pageNumber: 当前所在页,默认为1(Optional)
func (*DescribeCollectResourcesRequest) SetPageSize ¶ added in v1.11.0
func (r *DescribeCollectResourcesRequest) SetPageSize(pageSize int)
param pageSize: 页面大小,默认为20;取值范围[1, 100](Optional)
func (*DescribeCollectResourcesRequest) SetRegionId ¶ added in v1.11.0
func (r *DescribeCollectResourcesRequest) SetRegionId(regionId string)
param regionId: 地域 Id(Required)
type DescribeCollectResourcesResponse ¶ added in v1.11.0
type DescribeCollectResourcesResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result DescribeCollectResourcesResult `json:"result"`
}
type DescribeCollectResourcesResult ¶ added in v1.11.0
type DescribeIndexOptionRequest ¶ added in v1.63.0
type DescribeIndexOptionRequest struct {
core.JDCloudRequest
/* 地域 Id */
RegionId string `json:"regionId"`
/* 日志主题 UID */
LogtopicUID string `json:"logtopicUID"`
}
func NewDescribeIndexOptionRequest ¶ added in v1.63.0
func NewDescribeIndexOptionRequest( regionId string, logtopicUID string, ) *DescribeIndexOptionRequest
* param regionId: 地域 Id (Required) * param logtopicUID: 日志主题 UID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeIndexOptionRequestWithAllParams ¶ added in v1.63.0
func NewDescribeIndexOptionRequestWithAllParams( regionId string, logtopicUID string, ) *DescribeIndexOptionRequest
* param regionId: 地域 Id (Required) * param logtopicUID: 日志主题 UID (Required)
func NewDescribeIndexOptionRequestWithoutParam ¶ added in v1.63.0
func NewDescribeIndexOptionRequestWithoutParam() *DescribeIndexOptionRequest
This constructor has better compatible ability when API parameters changed
func (DescribeIndexOptionRequest) GetRegionId ¶ added in v1.63.0
func (r DescribeIndexOptionRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeIndexOptionRequest) SetLogtopicUID ¶ added in v1.63.0
func (r *DescribeIndexOptionRequest) SetLogtopicUID(logtopicUID string)
param logtopicUID: 日志主题 UID(Required)
func (*DescribeIndexOptionRequest) SetRegionId ¶ added in v1.63.0
func (r *DescribeIndexOptionRequest) SetRegionId(regionId string)
param regionId: 地域 Id(Required)
type DescribeIndexOptionResponse ¶ added in v1.63.0
type DescribeIndexOptionResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result DescribeIndexOptionResult `json:"result"`
}
type DescribeIndexOptionResult ¶ added in v1.63.0
type DescribeIndexOptionResult struct {
CaseSensitive bool `json:"caseSensitive"`
Chn bool `json:"chn"`
FieldIndexOptions []logs.FieldIndexOption `json:"fieldIndexOptions"`
FulltextIndex bool `json:"fulltextIndex"`
LogReduce bool `json:"logReduce"`
MaxTextLen int64 `json:"maxTextLen"`
Token []string `json:"token"`
Uid string `json:"uid"`
}
type DescribeLogsetRequest ¶ added in v1.11.0
type DescribeLogsetRequest struct {
core.JDCloudRequest
/* 地域 Id */
RegionId string `json:"regionId"`
/* 日志集 UID */
LogsetUID string `json:"logsetUID"`
}
func NewDescribeLogsetRequest ¶ added in v1.11.0
func NewDescribeLogsetRequest( regionId string, logsetUID string, ) *DescribeLogsetRequest
* param regionId: 地域 Id (Required) * param logsetUID: 日志集 UID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeLogsetRequestWithAllParams ¶ added in v1.11.0
func NewDescribeLogsetRequestWithAllParams( regionId string, logsetUID string, ) *DescribeLogsetRequest
* param regionId: 地域 Id (Required) * param logsetUID: 日志集 UID (Required)
func NewDescribeLogsetRequestWithoutParam ¶ added in v1.11.0
func NewDescribeLogsetRequestWithoutParam() *DescribeLogsetRequest
This constructor has better compatible ability when API parameters changed
func (DescribeLogsetRequest) GetRegionId ¶ added in v1.11.0
func (r DescribeLogsetRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeLogsetRequest) SetLogsetUID ¶ added in v1.11.0
func (r *DescribeLogsetRequest) SetLogsetUID(logsetUID string)
param logsetUID: 日志集 UID(Required)
func (*DescribeLogsetRequest) SetRegionId ¶ added in v1.11.0
func (r *DescribeLogsetRequest) SetRegionId(regionId string)
param regionId: 地域 Id(Required)
type DescribeLogsetResponse ¶ added in v1.11.0
type DescribeLogsetResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result DescribeLogsetResult `json:"result"`
}
type DescribeLogsetResult ¶ added in v1.11.0
type DescribeLogsetResult struct {
UID string `json:"uID"`
CreateTime string `json:"createTime"`
Description string `json:"description"`
HasTopic bool `json:"hasTopic"`
LifeCycle int64 `json:"lifeCycle"`
Name string `json:"name"`
Region string `json:"region"`
ResourceGroupUID string `json:"resourceGroupUID"`
Tags []logs.Tag `json:"tags"`
}
type DescribeLogsetsRequest ¶ added in v1.11.0
type DescribeLogsetsRequest struct {
core.JDCloudRequest
/* 地域 Id */
RegionId string `json:"regionId"`
/* 当前所在页,默认为1 (Optional) */
PageNumber *int `json:"pageNumber"`
/* 页面大小,默认为20;取值范围[1, 200] (Optional) */
PageSize *int `json:"pageSize"`
/* 日志集名称. 已废弃,需要通过filter传递 (Optional) */
Name *string `json:"name"`
/* 过滤条件,key,Values。 支持的key: name (Optional) */
Filters []logs.Filter `json:"filters"`
/* 标签过滤条件,key,Values (Optional) */
Tags []logs.TagFilter `json:"tags"`
/* 资源组过滤条件 (Optional) */
ResourceGroupIds []string `json:"resourceGroupIds"`
}
func NewDescribeLogsetsRequest ¶ added in v1.11.0
func NewDescribeLogsetsRequest( regionId string, ) *DescribeLogsetsRequest
* param regionId: 地域 Id (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeLogsetsRequestWithAllParams ¶ added in v1.11.0
func NewDescribeLogsetsRequestWithAllParams( regionId string, pageNumber *int, pageSize *int, name *string, filters []logs.Filter, tags []logs.TagFilter, resourceGroupIds []string, ) *DescribeLogsetsRequest
* param regionId: 地域 Id (Required) * param pageNumber: 当前所在页,默认为1 (Optional) * param pageSize: 页面大小,默认为20;取值范围[1, 200] (Optional) * param name: 日志集名称. 已废弃,需要通过filter传递 (Optional) * param filters: 过滤条件,key,Values。 支持的key: name (Optional) * param tags: 标签过滤条件,key,Values (Optional) * param resourceGroupIds: 资源组过滤条件 (Optional)
func NewDescribeLogsetsRequestWithoutParam ¶ added in v1.11.0
func NewDescribeLogsetsRequestWithoutParam() *DescribeLogsetsRequest
This constructor has better compatible ability when API parameters changed
func (DescribeLogsetsRequest) GetRegionId ¶ added in v1.11.0
func (r DescribeLogsetsRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeLogsetsRequest) SetFilters ¶ added in v1.63.0
func (r *DescribeLogsetsRequest) SetFilters(filters []logs.Filter)
param filters: 过滤条件,key,Values。 支持的key: name(Optional)
func (*DescribeLogsetsRequest) SetName ¶ added in v1.11.0
func (r *DescribeLogsetsRequest) SetName(name string)
param name: 日志集名称. 已废弃,需要通过filter传递(Optional)
func (*DescribeLogsetsRequest) SetPageNumber ¶ added in v1.11.0
func (r *DescribeLogsetsRequest) SetPageNumber(pageNumber int)
param pageNumber: 当前所在页,默认为1(Optional)
func (*DescribeLogsetsRequest) SetPageSize ¶ added in v1.11.0
func (r *DescribeLogsetsRequest) SetPageSize(pageSize int)
param pageSize: 页面大小,默认为20;取值范围[1, 200](Optional)
func (*DescribeLogsetsRequest) SetRegionId ¶ added in v1.11.0
func (r *DescribeLogsetsRequest) SetRegionId(regionId string)
param regionId: 地域 Id(Required)
func (*DescribeLogsetsRequest) SetResourceGroupIds ¶ added in v1.63.0
func (r *DescribeLogsetsRequest) SetResourceGroupIds(resourceGroupIds []string)
param resourceGroupIds: 资源组过滤条件(Optional)
func (*DescribeLogsetsRequest) SetTags ¶ added in v1.63.0
func (r *DescribeLogsetsRequest) SetTags(tags []logs.TagFilter)
param tags: 标签过滤条件,key,Values(Optional)
type DescribeLogsetsResponse ¶ added in v1.11.0
type DescribeLogsetsResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result DescribeLogsetsResult `json:"result"`
}
type DescribeLogsetsResult ¶ added in v1.11.0
type DescribeLogtopicRequest ¶ added in v1.11.0
type DescribeLogtopicRequest struct {
core.JDCloudRequest
/* 地域 Id */
RegionId string `json:"regionId"`
/* 日志主题 UID */
LogtopicUID string `json:"logtopicUID"`
}
func NewDescribeLogtopicRequest ¶ added in v1.11.0
func NewDescribeLogtopicRequest( regionId string, logtopicUID string, ) *DescribeLogtopicRequest
* param regionId: 地域 Id (Required) * param logtopicUID: 日志主题 UID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeLogtopicRequestWithAllParams ¶ added in v1.11.0
func NewDescribeLogtopicRequestWithAllParams( regionId string, logtopicUID string, ) *DescribeLogtopicRequest
* param regionId: 地域 Id (Required) * param logtopicUID: 日志主题 UID (Required)
func NewDescribeLogtopicRequestWithoutParam ¶ added in v1.11.0
func NewDescribeLogtopicRequestWithoutParam() *DescribeLogtopicRequest
This constructor has better compatible ability when API parameters changed
func (DescribeLogtopicRequest) GetRegionId ¶ added in v1.11.0
func (r DescribeLogtopicRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeLogtopicRequest) SetLogtopicUID ¶ added in v1.11.0
func (r *DescribeLogtopicRequest) SetLogtopicUID(logtopicUID string)
param logtopicUID: 日志主题 UID(Required)
func (*DescribeLogtopicRequest) SetRegionId ¶ added in v1.11.0
func (r *DescribeLogtopicRequest) SetRegionId(regionId string)
param regionId: 地域 Id(Required)
type DescribeLogtopicResponse ¶ added in v1.11.0
type DescribeLogtopicResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result DescribeLogtopicResult `json:"result"`
}
type DescribeLogtopicResult ¶ added in v1.11.0
type DescribeLogtopicResult struct {
UID string `json:"uID"`
AppCode string `json:"appCode"`
AppName string `json:"appName"`
CollectInfoUID string `json:"collectInfoUID"`
CreateTime string `json:"createTime"`
Description string `json:"description"`
InOrder bool `json:"inOrder"`
LifeCycle int64 `json:"lifeCycle"`
LogsetName string `json:"logsetName"`
LogsetUID string `json:"logsetUID"`
Name string `json:"name"`
PrePattern string `json:"prePattern"`
Region string `json:"region"`
ServiceCode string `json:"serviceCode"`
}
type DescribeLogtopicsGlobalRequest ¶ added in v1.63.0
type DescribeLogtopicsGlobalRequest struct {
core.JDCloudRequest
/* 地域 Id */
RegionId string `json:"regionId"`
/* 过滤条件,key,Values, 合法的key:logtopicName, logtopicUID, logsetName, logsetUID (Optional) */
Filters []logs.Filter `json:"filters"`
/* 过滤条件,key,Values (Optional) */
Tags []logs.TagFilter `json:"tags"`
/* 日志主题采集的日志类型 (Optional) */
AppName *string `json:"appName"`
}
func NewDescribeLogtopicsGlobalRequest ¶ added in v1.63.0
func NewDescribeLogtopicsGlobalRequest( regionId string, ) *DescribeLogtopicsGlobalRequest
* param regionId: 地域 Id (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeLogtopicsGlobalRequestWithAllParams ¶ added in v1.63.0
func NewDescribeLogtopicsGlobalRequestWithAllParams( regionId string, filters []logs.Filter, tags []logs.TagFilter, appName *string, ) *DescribeLogtopicsGlobalRequest
* param regionId: 地域 Id (Required) * param filters: 过滤条件,key,Values, 合法的key:logtopicName, logtopicUID, logsetName, logsetUID (Optional) * param tags: 过滤条件,key,Values (Optional) * param appName: 日志主题采集的日志类型 (Optional)
func NewDescribeLogtopicsGlobalRequestWithoutParam ¶ added in v1.63.0
func NewDescribeLogtopicsGlobalRequestWithoutParam() *DescribeLogtopicsGlobalRequest
This constructor has better compatible ability when API parameters changed
func (DescribeLogtopicsGlobalRequest) GetRegionId ¶ added in v1.63.0
func (r DescribeLogtopicsGlobalRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeLogtopicsGlobalRequest) SetAppName ¶ added in v1.63.0
func (r *DescribeLogtopicsGlobalRequest) SetAppName(appName string)
param appName: 日志主题采集的日志类型(Optional)
func (*DescribeLogtopicsGlobalRequest) SetFilters ¶ added in v1.63.0
func (r *DescribeLogtopicsGlobalRequest) SetFilters(filters []logs.Filter)
param filters: 过滤条件,key,Values, 合法的key:logtopicName, logtopicUID, logsetName, logsetUID(Optional)
func (*DescribeLogtopicsGlobalRequest) SetRegionId ¶ added in v1.63.0
func (r *DescribeLogtopicsGlobalRequest) SetRegionId(regionId string)
param regionId: 地域 Id(Required)
func (*DescribeLogtopicsGlobalRequest) SetTags ¶ added in v1.63.0
func (r *DescribeLogtopicsGlobalRequest) SetTags(tags []logs.TagFilter)
param tags: 过滤条件,key,Values(Optional)
type DescribeLogtopicsGlobalResponse ¶ added in v1.63.0
type DescribeLogtopicsGlobalResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result DescribeLogtopicsGlobalResult `json:"result"`
}
type DescribeLogtopicsGlobalResult ¶ added in v1.63.0
type DescribeLogtopicsGlobalResult struct {
Data []logs.LogtopicBaseEnd `json:"data"`
}
type DescribeLogtopicsRequest ¶ added in v1.11.0
type DescribeLogtopicsRequest struct {
core.JDCloudRequest
/* 地域 Id */
RegionId string `json:"regionId"`
/* 日志集 UID */
LogsetUID string `json:"logsetUID"`
/* 当前所在页,默认为1 (Optional) */
PageNumber *int `json:"pageNumber"`
/* 页面大小,默认为20;取值范围[1, 200] (Optional) */
PageSize *int `json:"pageSize"`
/* 日志主题名称 (Optional) */
Name *string `json:"name"`
/* 日志主题采集的日志类型 (Optional) */
AppName *string `json:"appName"`
/* 过滤条件,key,Values (Optional) */
Filters []logs.Filter `json:"filters"`
/* 过滤条件,key,Values (Optional) */
Tags []logs.TagFilter `json:"tags"`
}
func NewDescribeLogtopicsRequest ¶ added in v1.11.0
func NewDescribeLogtopicsRequest( regionId string, logsetUID string, ) *DescribeLogtopicsRequest
* param regionId: 地域 Id (Required) * param logsetUID: 日志集 UID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeLogtopicsRequestWithAllParams ¶ added in v1.11.0
func NewDescribeLogtopicsRequestWithAllParams( regionId string, logsetUID string, pageNumber *int, pageSize *int, name *string, appName *string, filters []logs.Filter, tags []logs.TagFilter, ) *DescribeLogtopicsRequest
* param regionId: 地域 Id (Required) * param logsetUID: 日志集 UID (Required) * param pageNumber: 当前所在页,默认为1 (Optional) * param pageSize: 页面大小,默认为20;取值范围[1, 200] (Optional) * param name: 日志主题名称 (Optional) * param appName: 日志主题采集的日志类型 (Optional) * param filters: 过滤条件,key,Values (Optional) * param tags: 过滤条件,key,Values (Optional)
func NewDescribeLogtopicsRequestWithoutParam ¶ added in v1.11.0
func NewDescribeLogtopicsRequestWithoutParam() *DescribeLogtopicsRequest
This constructor has better compatible ability when API parameters changed
func (DescribeLogtopicsRequest) GetRegionId ¶ added in v1.11.0
func (r DescribeLogtopicsRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeLogtopicsRequest) SetAppName ¶ added in v1.56.0
func (r *DescribeLogtopicsRequest) SetAppName(appName string)
param appName: 日志主题采集的日志类型(Optional)
func (*DescribeLogtopicsRequest) SetFilters ¶ added in v1.63.0
func (r *DescribeLogtopicsRequest) SetFilters(filters []logs.Filter)
param filters: 过滤条件,key,Values(Optional)
func (*DescribeLogtopicsRequest) SetLogsetUID ¶ added in v1.11.0
func (r *DescribeLogtopicsRequest) SetLogsetUID(logsetUID string)
param logsetUID: 日志集 UID(Required)
func (*DescribeLogtopicsRequest) SetName ¶ added in v1.11.0
func (r *DescribeLogtopicsRequest) SetName(name string)
param name: 日志主题名称(Optional)
func (*DescribeLogtopicsRequest) SetPageNumber ¶ added in v1.11.0
func (r *DescribeLogtopicsRequest) SetPageNumber(pageNumber int)
param pageNumber: 当前所在页,默认为1(Optional)
func (*DescribeLogtopicsRequest) SetPageSize ¶ added in v1.11.0
func (r *DescribeLogtopicsRequest) SetPageSize(pageSize int)
param pageSize: 页面大小,默认为20;取值范围[1, 200](Optional)
func (*DescribeLogtopicsRequest) SetRegionId ¶ added in v1.11.0
func (r *DescribeLogtopicsRequest) SetRegionId(regionId string)
param regionId: 地域 Id(Required)
func (*DescribeLogtopicsRequest) SetTags ¶ added in v1.63.0
func (r *DescribeLogtopicsRequest) SetTags(tags []logs.TagFilter)
param tags: 过滤条件,key,Values(Optional)
type DescribeLogtopicsResponse ¶ added in v1.11.0
type DescribeLogtopicsResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result DescribeLogtopicsResult `json:"result"`
}
type DescribeLogtopicsResult ¶ added in v1.11.0
type DescribeMetricTaskRequest ¶ added in v1.13.0
type DescribeMetricTaskRequest struct {
core.JDCloudRequest
/* 地域 Id */
RegionId string `json:"regionId"`
/* 日志集 UID */
LogsetUID string `json:"logsetUID"`
/* 日志主题 UID */
LogtopicUID string `json:"logtopicUID"`
/* */
LogmetrictaskUID string `json:"logmetrictaskUID"`
}
func NewDescribeMetricTaskRequest ¶ added in v1.13.0
func NewDescribeMetricTaskRequest( regionId string, logsetUID string, logtopicUID string, logmetrictaskUID string, ) *DescribeMetricTaskRequest
* param regionId: 地域 Id (Required) * param logsetUID: 日志集 UID (Required) * param logtopicUID: 日志主题 UID (Required) * param logmetrictaskUID: (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeMetricTaskRequestWithAllParams ¶ added in v1.13.0
func NewDescribeMetricTaskRequestWithAllParams( regionId string, logsetUID string, logtopicUID string, logmetrictaskUID string, ) *DescribeMetricTaskRequest
* param regionId: 地域 Id (Required) * param logsetUID: 日志集 UID (Required) * param logtopicUID: 日志主题 UID (Required) * param logmetrictaskUID: (Required)
func NewDescribeMetricTaskRequestWithoutParam ¶ added in v1.13.0
func NewDescribeMetricTaskRequestWithoutParam() *DescribeMetricTaskRequest
This constructor has better compatible ability when API parameters changed
func (DescribeMetricTaskRequest) GetRegionId ¶ added in v1.13.0
func (r DescribeMetricTaskRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeMetricTaskRequest) SetLogmetrictaskUID ¶ added in v1.13.0
func (r *DescribeMetricTaskRequest) SetLogmetrictaskUID(logmetrictaskUID string)
param logmetrictaskUID: (Required)
func (*DescribeMetricTaskRequest) SetLogsetUID ¶ added in v1.13.0
func (r *DescribeMetricTaskRequest) SetLogsetUID(logsetUID string)
param logsetUID: 日志集 UID(Required)
func (*DescribeMetricTaskRequest) SetLogtopicUID ¶ added in v1.13.0
func (r *DescribeMetricTaskRequest) SetLogtopicUID(logtopicUID string)
param logtopicUID: 日志主题 UID(Required)
func (*DescribeMetricTaskRequest) SetRegionId ¶ added in v1.13.0
func (r *DescribeMetricTaskRequest) SetRegionId(regionId string)
param regionId: 地域 Id(Required)
type DescribeMetricTaskResponse ¶ added in v1.13.0
type DescribeMetricTaskResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result DescribeMetricTaskResult `json:"result"`
}
type DescribeMetricTaskResult ¶ added in v1.13.0
type DescribeMetricTaskResult struct {
Data logs.MetrictaskDetailEnd `json:"data"`
}
type DescribeMetricTasksRequest ¶ added in v1.13.0
type DescribeMetricTasksRequest struct {
core.JDCloudRequest
/* 地域 Id */
RegionId string `json:"regionId"`
/* 日志集 UID */
LogsetUID string `json:"logsetUID"`
/* 日志主题 UID */
LogtopicUID string `json:"logtopicUID"`
/* 当前所在页,默认为1
in: query (Optional) */
PageNumber *int64 `json:"pageNumber"`
/* 页面大小,默认为20;取值范围[1, 100]
in: query (Optional) */
PageSize *int64 `json:"pageSize"`
}
func NewDescribeMetricTasksRequest ¶ added in v1.13.0
func NewDescribeMetricTasksRequest( regionId string, logsetUID string, logtopicUID string, ) *DescribeMetricTasksRequest
* param regionId: 地域 Id (Required) * param logsetUID: 日志集 UID (Required) * param logtopicUID: 日志主题 UID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeMetricTasksRequestWithAllParams ¶ added in v1.13.0
func NewDescribeMetricTasksRequestWithAllParams( regionId string, logsetUID string, logtopicUID string, pageNumber *int64, pageSize *int64, ) *DescribeMetricTasksRequest
- param regionId: 地域 Id (Required)
- param logsetUID: 日志集 UID (Required)
- param logtopicUID: 日志主题 UID (Required)
- param pageNumber: 当前所在页,默认为1
in: query (Optional)
- param pageSize: 页面大小,默认为20;取值范围[1, 100]
in: query (Optional)
func NewDescribeMetricTasksRequestWithoutParam ¶ added in v1.13.0
func NewDescribeMetricTasksRequestWithoutParam() *DescribeMetricTasksRequest
This constructor has better compatible ability when API parameters changed
func (DescribeMetricTasksRequest) GetRegionId ¶ added in v1.13.0
func (r DescribeMetricTasksRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeMetricTasksRequest) SetLogsetUID ¶ added in v1.13.0
func (r *DescribeMetricTasksRequest) SetLogsetUID(logsetUID string)
param logsetUID: 日志集 UID(Required)
func (*DescribeMetricTasksRequest) SetLogtopicUID ¶ added in v1.13.0
func (r *DescribeMetricTasksRequest) SetLogtopicUID(logtopicUID string)
param logtopicUID: 日志主题 UID(Required)
func (*DescribeMetricTasksRequest) SetPageNumber ¶ added in v1.13.0
func (r *DescribeMetricTasksRequest) SetPageNumber(pageNumber int64)
param pageNumber: 当前所在页,默认为1
in: query(Optional)
func (*DescribeMetricTasksRequest) SetPageSize ¶ added in v1.13.0
func (r *DescribeMetricTasksRequest) SetPageSize(pageSize int64)
param pageSize: 页面大小,默认为20;取值范围[1, 100]
in: query(Optional)
func (*DescribeMetricTasksRequest) SetRegionId ¶ added in v1.13.0
func (r *DescribeMetricTasksRequest) SetRegionId(regionId string)
param regionId: 地域 Id(Required)
type DescribeMetricTasksResponse ¶ added in v1.13.0
type DescribeMetricTasksResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result DescribeMetricTasksResult `json:"result"`
}
type DescribeMetricTasksResult ¶ added in v1.13.0
type DescribeParserRequest ¶ added in v1.56.0
type DescribeParserRequest struct {
core.JDCloudRequest
/* 地域 Id */
RegionId string `json:"regionId"`
/* 日志主题 UID */
LogtopicUID string `json:"logtopicUID"`
}
func NewDescribeParserRequest ¶ added in v1.56.0
func NewDescribeParserRequest( regionId string, logtopicUID string, ) *DescribeParserRequest
* param regionId: 地域 Id (Required) * param logtopicUID: 日志主题 UID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeParserRequestWithAllParams ¶ added in v1.56.0
func NewDescribeParserRequestWithAllParams( regionId string, logtopicUID string, ) *DescribeParserRequest
* param regionId: 地域 Id (Required) * param logtopicUID: 日志主题 UID (Required)
func NewDescribeParserRequestWithoutParam ¶ added in v1.56.0
func NewDescribeParserRequestWithoutParam() *DescribeParserRequest
This constructor has better compatible ability when API parameters changed
func (DescribeParserRequest) GetRegionId ¶ added in v1.56.0
func (r DescribeParserRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeParserRequest) SetLogtopicUID ¶ added in v1.56.0
func (r *DescribeParserRequest) SetLogtopicUID(logtopicUID string)
param logtopicUID: 日志主题 UID(Required)
func (*DescribeParserRequest) SetRegionId ¶ added in v1.56.0
func (r *DescribeParserRequest) SetRegionId(regionId string)
param regionId: 地域 Id(Required)
type DescribeParserResponse ¶ added in v1.56.0
type DescribeParserResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result DescribeParserResult `json:"result"`
}
type DescribeParserResult ¶ added in v1.56.0
type DescribeParserResult struct {
}
type DescribeSubscribeRequest ¶ added in v1.56.0
type DescribeSubscribeRequest struct {
core.JDCloudRequest
/* 地域 Id */
RegionId string `json:"regionId"`
/* 日志集 UID */
LogsetUID string `json:"logsetUID"`
/* 日志主题 UID */
LogtopicUID string `json:"logtopicUID"`
}
func NewDescribeSubscribeRequest ¶ added in v1.56.0
func NewDescribeSubscribeRequest( regionId string, logsetUID string, logtopicUID string, ) *DescribeSubscribeRequest
* param regionId: 地域 Id (Required) * param logsetUID: 日志集 UID (Required) * param logtopicUID: 日志主题 UID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeSubscribeRequestWithAllParams ¶ added in v1.56.0
func NewDescribeSubscribeRequestWithAllParams( regionId string, logsetUID string, logtopicUID string, ) *DescribeSubscribeRequest
* param regionId: 地域 Id (Required) * param logsetUID: 日志集 UID (Required) * param logtopicUID: 日志主题 UID (Required)
func NewDescribeSubscribeRequestWithoutParam ¶ added in v1.56.0
func NewDescribeSubscribeRequestWithoutParam() *DescribeSubscribeRequest
This constructor has better compatible ability when API parameters changed
func (DescribeSubscribeRequest) GetRegionId ¶ added in v1.56.0
func (r DescribeSubscribeRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeSubscribeRequest) SetLogsetUID ¶ added in v1.56.0
func (r *DescribeSubscribeRequest) SetLogsetUID(logsetUID string)
param logsetUID: 日志集 UID(Required)
func (*DescribeSubscribeRequest) SetLogtopicUID ¶ added in v1.56.0
func (r *DescribeSubscribeRequest) SetLogtopicUID(logtopicUID string)
param logtopicUID: 日志主题 UID(Required)
func (*DescribeSubscribeRequest) SetRegionId ¶ added in v1.56.0
func (r *DescribeSubscribeRequest) SetRegionId(regionId string)
param regionId: 地域 Id(Required)
type DescribeSubscribeResponse ¶ added in v1.56.0
type DescribeSubscribeResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result DescribeSubscribeResult `json:"result"`
}
type DescribeSubscribeResult ¶ added in v1.56.0
type DescribeSubscribeResult struct {
CreatedTime string `json:"createdTime"`
KafkaBroker string `json:"kafkaBroker"`
KafkaPassword string `json:"kafkaPassword"`
KafkaTopic string `json:"kafkaTopic"`
KafkaUsername string `json:"kafkaUsername"`
LogtopicId string `json:"logtopicId"`
Pin string `json:"pin"`
Status int64 `json:"status"`
UpdatedTime string `json:"updatedTime"`
}
type GetLogDownloadTasksRequest ¶ added in v1.63.0
type GetLogDownloadTasksRequest struct {
core.JDCloudRequest
/* 地域 Id */
RegionId string `json:"regionId"`
/* 日志主题 UID */
LogtopicUID string `json:"logtopicUID"`
}
func NewGetLogDownloadTasksRequest ¶ added in v1.63.0
func NewGetLogDownloadTasksRequest( regionId string, logtopicUID string, ) *GetLogDownloadTasksRequest
* param regionId: 地域 Id (Required) * param logtopicUID: 日志主题 UID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewGetLogDownloadTasksRequestWithAllParams ¶ added in v1.63.0
func NewGetLogDownloadTasksRequestWithAllParams( regionId string, logtopicUID string, ) *GetLogDownloadTasksRequest
* param regionId: 地域 Id (Required) * param logtopicUID: 日志主题 UID (Required)
func NewGetLogDownloadTasksRequestWithoutParam ¶ added in v1.63.0
func NewGetLogDownloadTasksRequestWithoutParam() *GetLogDownloadTasksRequest
This constructor has better compatible ability when API parameters changed
func (GetLogDownloadTasksRequest) GetRegionId ¶ added in v1.63.0
func (r GetLogDownloadTasksRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*GetLogDownloadTasksRequest) SetLogtopicUID ¶ added in v1.63.0
func (r *GetLogDownloadTasksRequest) SetLogtopicUID(logtopicUID string)
param logtopicUID: 日志主题 UID(Required)
func (*GetLogDownloadTasksRequest) SetRegionId ¶ added in v1.63.0
func (r *GetLogDownloadTasksRequest) SetRegionId(regionId string)
param regionId: 地域 Id(Required)
type GetLogDownloadTasksResponse ¶ added in v1.63.0
type GetLogDownloadTasksResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result GetLogDownloadTasksResult `json:"result"`
}
type GetLogDownloadTasksResult ¶ added in v1.63.0
type GetLogDownloadTasksResult struct {
Data []logs.LogDownloadTask `json:"data"`
}
type GetLogsRequest ¶ added in v1.56.0
type GetLogsRequest struct {
core.JDCloudRequest
/* 地域 Id */
RegionId string `json:"regionId"`
/* 日志集ID */
LogsetUID string `json:"logsetUID"`
/* 日志主题ID */
LogtopicUID string `json:"logtopicUID"`
/* 扫描任务ID。 第一次调用传入空值即可。后续调用需传入该任务ID,以连续读取剩余日志。 (Optional) */
TaskID *string `json:"taskID"`
/* Base64编码的搜索表达式, (Optional) */
Expr *string `json:"expr"`
/* 开始时间。格式 “YYYY-MM-DDThh:mm:ssTZD”, 比如 “2018-11-09T15:34:46+0800”.必填 (Optional) */
StartTime *string `json:"startTime"`
/* 结束时间。格式 “YYYY-MM-DDThh:mm:ssTZD”, 比如 “2018-11-09T15:34:46+0800”.必填 (Optional) */
EndTime *string `json:"endTime"`
/* 返回排序,不填或者为空,默认为desc,"asc":按照时间正序返回结果,"desc":按照时间倒序返回结果 (Optional) */
Sort *string `json:"sort"`
/* 指定返回字段,只对系统日志生效,不填默认按照产品线配置返回字段,Name支持:key,Values填入返回字段 (Optional) */
Filters []logs.Filter `json:"filters"`
}
func NewGetLogsRequest ¶ added in v1.56.0
func NewGetLogsRequest( regionId string, logsetUID string, logtopicUID string, ) *GetLogsRequest
* param regionId: 地域 Id (Required) * param logsetUID: 日志集ID (Required) * param logtopicUID: 日志主题ID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewGetLogsRequestWithAllParams ¶ added in v1.56.0
func NewGetLogsRequestWithAllParams( regionId string, logsetUID string, logtopicUID string, taskID *string, expr *string, startTime *string, endTime *string, sort *string, filters []logs.Filter, ) *GetLogsRequest
* param regionId: 地域 Id (Required) * param logsetUID: 日志集ID (Required) * param logtopicUID: 日志主题ID (Required) * param taskID: 扫描任务ID。 第一次调用传入空值即可。后续调用需传入该任务ID,以连续读取剩余日志。 (Optional) * param expr: Base64编码的搜索表达式, (Optional) * param startTime: 开始时间。格式 “YYYY-MM-DDThh:mm:ssTZD”, 比如 “2018-11-09T15:34:46+0800”.必填 (Optional) * param endTime: 结束时间。格式 “YYYY-MM-DDThh:mm:ssTZD”, 比如 “2018-11-09T15:34:46+0800”.必填 (Optional) * param sort: 返回排序,不填或者为空,默认为desc,"asc":按照时间正序返回结果,"desc":按照时间倒序返回结果 (Optional) * param filters: 指定返回字段,只对系统日志生效,不填默认按照产品线配置返回字段,Name支持:key,Values填入返回字段 (Optional)
func NewGetLogsRequestWithoutParam ¶ added in v1.56.0
func NewGetLogsRequestWithoutParam() *GetLogsRequest
This constructor has better compatible ability when API parameters changed
func (GetLogsRequest) GetRegionId ¶ added in v1.56.0
func (r GetLogsRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*GetLogsRequest) SetEndTime ¶ added in v1.56.0
func (r *GetLogsRequest) SetEndTime(endTime string)
param endTime: 结束时间。格式 “YYYY-MM-DDThh:mm:ssTZD”, 比如 “2018-11-09T15:34:46+0800”.必填(Optional)
func (*GetLogsRequest) SetExpr ¶ added in v1.56.0
func (r *GetLogsRequest) SetExpr(expr string)
param expr: Base64编码的搜索表达式,(Optional)
func (*GetLogsRequest) SetFilters ¶ added in v1.56.0
func (r *GetLogsRequest) SetFilters(filters []logs.Filter)
param filters: 指定返回字段,只对系统日志生效,不填默认按照产品线配置返回字段,Name支持:key,Values填入返回字段(Optional)
func (*GetLogsRequest) SetLogsetUID ¶ added in v1.56.0
func (r *GetLogsRequest) SetLogsetUID(logsetUID string)
param logsetUID: 日志集ID(Required)
func (*GetLogsRequest) SetLogtopicUID ¶ added in v1.56.0
func (r *GetLogsRequest) SetLogtopicUID(logtopicUID string)
param logtopicUID: 日志主题ID(Required)
func (*GetLogsRequest) SetRegionId ¶ added in v1.56.0
func (r *GetLogsRequest) SetRegionId(regionId string)
param regionId: 地域 Id(Required)
func (*GetLogsRequest) SetSort ¶ added in v1.56.0
func (r *GetLogsRequest) SetSort(sort string)
param sort: 返回排序,不填或者为空,默认为desc,"asc":按照时间正序返回结果,"desc":按照时间倒序返回结果(Optional)
func (*GetLogsRequest) SetStartTime ¶ added in v1.56.0
func (r *GetLogsRequest) SetStartTime(startTime string)
param startTime: 开始时间。格式 “YYYY-MM-DDThh:mm:ssTZD”, 比如 “2018-11-09T15:34:46+0800”.必填(Optional)
func (*GetLogsRequest) SetTaskID ¶ added in v1.56.0
func (r *GetLogsRequest) SetTaskID(taskID string)
param taskID: 扫描任务ID。 第一次调用传入空值即可。后续调用需传入该任务ID,以连续读取剩余日志。(Optional)
type GetLogsResponse ¶ added in v1.56.0
type GetLogsResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result GetLogsResult `json:"result"`
}
type GetLogsResult ¶ added in v1.56.0
type GetLogsResult struct {
Data []interface{} `json:"data"`
SearchFields logs.SearchFields `json:"searchFields"`
TaskID string `json:"taskID"`
TaskStatus string `json:"taskStatus"`
Total int64 `json:"total"`
}
type HistogramsRequest ¶ added in v1.56.0
type HistogramsRequest struct {
core.JDCloudRequest
/* 地域 Id */
RegionId string `json:"regionId"`
/* 日志集ID */
LogsetUID string `json:"logsetUID"`
/* 日志主题ID */
LogtopicUID string `json:"logtopicUID"`
/* "preview"表示预览, "fulltext"表示全文检索, "advance"表示按照搜索语句检索 */
Action string `json:"action"`
/* Base64编码的搜索表达式, (Optional) */
Expr *string `json:"expr"`
/* 搜索关键字大小写敏感, 默认false (Optional) */
CaseSensitive *bool `json:"caseSensitive"`
/* 开始时间。格式 “YYYY-MM-DDThh:mm:ssTZD”, 比如 “2018-11-09T15:34:46+0800”.当action != preview时,必填 (Optional) */
StartTime *string `json:"startTime"`
/* 结束时间。格式 “YYYY-MM-DDThh:mm:ssTZD”, 比如 “2018-11-09T15:34:46+0800”.当action != preview时,必填 (Optional) */
EndTime *string `json:"endTime"`
}
func NewHistogramsRequest ¶ added in v1.56.0
func NewHistogramsRequest( regionId string, logsetUID string, logtopicUID string, action string, ) *HistogramsRequest
* param regionId: 地域 Id (Required) * param logsetUID: 日志集ID (Required) * param logtopicUID: 日志主题ID (Required) * param action: "preview"表示预览, "fulltext"表示全文检索, "advance"表示按照搜索语句检索 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewHistogramsRequestWithAllParams ¶ added in v1.56.0
func NewHistogramsRequestWithAllParams( regionId string, logsetUID string, logtopicUID string, action string, expr *string, caseSensitive *bool, startTime *string, endTime *string, ) *HistogramsRequest
* param regionId: 地域 Id (Required) * param logsetUID: 日志集ID (Required) * param logtopicUID: 日志主题ID (Required) * param action: "preview"表示预览, "fulltext"表示全文检索, "advance"表示按照搜索语句检索 (Required) * param expr: Base64编码的搜索表达式, (Optional) * param caseSensitive: 搜索关键字大小写敏感, 默认false (Optional) * param startTime: 开始时间。格式 “YYYY-MM-DDThh:mm:ssTZD”, 比如 “2018-11-09T15:34:46+0800”.当action != preview时,必填 (Optional) * param endTime: 结束时间。格式 “YYYY-MM-DDThh:mm:ssTZD”, 比如 “2018-11-09T15:34:46+0800”.当action != preview时,必填 (Optional)
func NewHistogramsRequestWithoutParam ¶ added in v1.56.0
func NewHistogramsRequestWithoutParam() *HistogramsRequest
This constructor has better compatible ability when API parameters changed
func (HistogramsRequest) GetRegionId ¶ added in v1.56.0
func (r HistogramsRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*HistogramsRequest) SetAction ¶ added in v1.56.0
func (r *HistogramsRequest) SetAction(action string)
param action: "preview"表示预览, "fulltext"表示全文检索, "advance"表示按照搜索语句检索(Required)
func (*HistogramsRequest) SetCaseSensitive ¶ added in v1.56.0
func (r *HistogramsRequest) SetCaseSensitive(caseSensitive bool)
param caseSensitive: 搜索关键字大小写敏感, 默认false(Optional)
func (*HistogramsRequest) SetEndTime ¶ added in v1.56.0
func (r *HistogramsRequest) SetEndTime(endTime string)
param endTime: 结束时间。格式 “YYYY-MM-DDThh:mm:ssTZD”, 比如 “2018-11-09T15:34:46+0800”.当action != preview时,必填(Optional)
func (*HistogramsRequest) SetExpr ¶ added in v1.56.0
func (r *HistogramsRequest) SetExpr(expr string)
param expr: Base64编码的搜索表达式,(Optional)
func (*HistogramsRequest) SetLogsetUID ¶ added in v1.56.0
func (r *HistogramsRequest) SetLogsetUID(logsetUID string)
param logsetUID: 日志集ID(Required)
func (*HistogramsRequest) SetLogtopicUID ¶ added in v1.56.0
func (r *HistogramsRequest) SetLogtopicUID(logtopicUID string)
param logtopicUID: 日志主题ID(Required)
func (*HistogramsRequest) SetRegionId ¶ added in v1.56.0
func (r *HistogramsRequest) SetRegionId(regionId string)
param regionId: 地域 Id(Required)
func (*HistogramsRequest) SetStartTime ¶ added in v1.56.0
func (r *HistogramsRequest) SetStartTime(startTime string)
param startTime: 开始时间。格式 “YYYY-MM-DDThh:mm:ssTZD”, 比如 “2018-11-09T15:34:46+0800”.当action != preview时,必填(Optional)
type HistogramsResponse ¶ added in v1.56.0
type HistogramsResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result HistogramsResult `json:"result"`
}
type HistogramsResult ¶ added in v1.56.0
type HistogramsResult struct {
Count int64 `json:"count"`
Data []interface{} `json:"data"`
Progress string `json:"progress"`
SearchFields logs.SearchFields `json:"searchFields"`
Total int64 `json:"total"`
}
type InstanceCollectConfigListRequest ¶ added in v1.63.0
type InstanceCollectConfigListRequest struct {
core.JDCloudRequest
/* 租户,必填 */
Pin string `json:"pin"`
/* 产品名,必填 */
Product string `json:"product"`
/* 实例,必填 */
Instance string `json:"instance"`
}
func NewInstanceCollectConfigListRequest ¶ added in v1.63.0
func NewInstanceCollectConfigListRequest( pin string, product string, instance string, ) *InstanceCollectConfigListRequest
* param pin: 租户,必填 (Required) * param product: 产品名,必填 (Required) * param instance: 实例,必填 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewInstanceCollectConfigListRequestWithAllParams ¶ added in v1.63.0
func NewInstanceCollectConfigListRequestWithAllParams( pin string, product string, instance string, ) *InstanceCollectConfigListRequest
* param pin: 租户,必填 (Required) * param product: 产品名,必填 (Required) * param instance: 实例,必填 (Required)
func NewInstanceCollectConfigListRequestWithoutParam ¶ added in v1.63.0
func NewInstanceCollectConfigListRequestWithoutParam() *InstanceCollectConfigListRequest
This constructor has better compatible ability when API parameters changed
func (InstanceCollectConfigListRequest) GetRegionId ¶ added in v1.63.0
func (r InstanceCollectConfigListRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*InstanceCollectConfigListRequest) SetInstance ¶ added in v1.63.0
func (r *InstanceCollectConfigListRequest) SetInstance(instance string)
param instance: 实例,必填(Required)
func (*InstanceCollectConfigListRequest) SetPin ¶ added in v1.63.0
func (r *InstanceCollectConfigListRequest) SetPin(pin string)
param pin: 租户,必填(Required)
func (*InstanceCollectConfigListRequest) SetProduct ¶ added in v1.63.0
func (r *InstanceCollectConfigListRequest) SetProduct(product string)
param product: 产品名,必填(Required)
type InstanceCollectConfigListResponse ¶ added in v1.63.0
type InstanceCollectConfigListResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result InstanceCollectConfigListResult `json:"result"`
}
type InstanceCollectConfigListResult ¶ added in v1.63.0
type InstanceCollectConfigListResult struct {
Data []logs.InstanceCollectConfigInfo `json:"data"`
}
type InstanceCollectConfigModifyRequest ¶ added in v1.63.0
type InstanceCollectConfigModifyRequest struct {
core.JDCloudRequest
/* 租户,必填 */
Pin string `json:"pin"`
/* 产品名,必填 */
Product string `json:"product"`
/* 实例,必填 */
Instance string `json:"instance"`
/* 修改的采集配置信息 (Optional) */
Configs []logs.InstanceCollectConfigInfo `json:"configs"`
}
func NewInstanceCollectConfigModifyRequest ¶ added in v1.63.0
func NewInstanceCollectConfigModifyRequest( pin string, product string, instance string, ) *InstanceCollectConfigModifyRequest
* param pin: 租户,必填 (Required) * param product: 产品名,必填 (Required) * param instance: 实例,必填 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewInstanceCollectConfigModifyRequestWithAllParams ¶ added in v1.63.0
func NewInstanceCollectConfigModifyRequestWithAllParams( pin string, product string, instance string, configs []logs.InstanceCollectConfigInfo, ) *InstanceCollectConfigModifyRequest
* param pin: 租户,必填 (Required) * param product: 产品名,必填 (Required) * param instance: 实例,必填 (Required) * param configs: 修改的采集配置信息 (Optional)
func NewInstanceCollectConfigModifyRequestWithoutParam ¶ added in v1.63.0
func NewInstanceCollectConfigModifyRequestWithoutParam() *InstanceCollectConfigModifyRequest
This constructor has better compatible ability when API parameters changed
func (InstanceCollectConfigModifyRequest) GetRegionId ¶ added in v1.63.0
func (r InstanceCollectConfigModifyRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*InstanceCollectConfigModifyRequest) SetConfigs ¶ added in v1.63.0
func (r *InstanceCollectConfigModifyRequest) SetConfigs(configs []logs.InstanceCollectConfigInfo)
param configs: 修改的采集配置信息(Optional)
func (*InstanceCollectConfigModifyRequest) SetInstance ¶ added in v1.63.0
func (r *InstanceCollectConfigModifyRequest) SetInstance(instance string)
param instance: 实例,必填(Required)
func (*InstanceCollectConfigModifyRequest) SetPin ¶ added in v1.63.0
func (r *InstanceCollectConfigModifyRequest) SetPin(pin string)
param pin: 租户,必填(Required)
func (*InstanceCollectConfigModifyRequest) SetProduct ¶ added in v1.63.0
func (r *InstanceCollectConfigModifyRequest) SetProduct(product string)
param product: 产品名,必填(Required)
type InstanceCollectConfigModifyResponse ¶ added in v1.63.0
type InstanceCollectConfigModifyResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result InstanceCollectConfigModifyResult `json:"result"`
}
type InstanceCollectConfigModifyResult ¶ added in v1.63.0
type InstanceCollectConfigModifyResult struct {
Result string `json:"result"`
}
type K8sAgentHeartbeatRequest ¶ added in v1.63.0
type K8sAgentHeartbeatRequest struct {
core.JDCloudRequest
}
func NewK8sAgentHeartbeatRequest ¶ added in v1.63.0
func NewK8sAgentHeartbeatRequest() *K8sAgentHeartbeatRequest
* * @Deprecated, not compatible when mandatory parameters changed
func NewK8sAgentHeartbeatRequestWithAllParams ¶ added in v1.63.0
func NewK8sAgentHeartbeatRequestWithAllParams() *K8sAgentHeartbeatRequest
func NewK8sAgentHeartbeatRequestWithoutParam ¶ added in v1.63.0
func NewK8sAgentHeartbeatRequestWithoutParam() *K8sAgentHeartbeatRequest
This constructor has better compatible ability when API parameters changed
func (K8sAgentHeartbeatRequest) GetRegionId ¶ added in v1.63.0
func (r K8sAgentHeartbeatRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
type K8sAgentHeartbeatResponse ¶ added in v1.63.0
type K8sAgentHeartbeatResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result K8sAgentHeartbeatResult `json:"result"`
}
type K8sAgentHeartbeatResult ¶ added in v1.63.0
type K8sAgentHeartbeatResult struct {
}
type K8sDispatchConfNewRequest ¶ added in v1.63.0
type K8sDispatchConfNewRequest struct {
core.JDCloudRequest
/* 租户字段 (Optional) */
TenantName *string `json:"tenantName"`
/* 集群字段 (Optional) */
ClusterName *string `json:"clusterName"`
/* 机房字段 (Optional) */
ZoneName *string `json:"zoneName"`
/* node-ip字段 (Optional) */
NodeIp *string `json:"nodeIp"`
/* 采集配置字段 (Optional) */
Conf *string `json:"conf"`
}
func NewK8sDispatchConfNewRequest ¶ added in v1.63.0
func NewK8sDispatchConfNewRequest() *K8sDispatchConfNewRequest
* * @Deprecated, not compatible when mandatory parameters changed
func NewK8sDispatchConfNewRequestWithAllParams ¶ added in v1.63.0
func NewK8sDispatchConfNewRequestWithAllParams( tenantName *string, clusterName *string, zoneName *string, nodeIp *string, conf *string, ) *K8sDispatchConfNewRequest
* param tenantName: 租户字段 (Optional) * param clusterName: 集群字段 (Optional) * param zoneName: 机房字段 (Optional) * param nodeIp: node-ip字段 (Optional) * param conf: 采集配置字段 (Optional)
func NewK8sDispatchConfNewRequestWithoutParam ¶ added in v1.63.0
func NewK8sDispatchConfNewRequestWithoutParam() *K8sDispatchConfNewRequest
This constructor has better compatible ability when API parameters changed
func (K8sDispatchConfNewRequest) GetRegionId ¶ added in v1.63.0
func (r K8sDispatchConfNewRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*K8sDispatchConfNewRequest) SetClusterName ¶ added in v1.63.0
func (r *K8sDispatchConfNewRequest) SetClusterName(clusterName string)
param clusterName: 集群字段(Optional)
func (*K8sDispatchConfNewRequest) SetConf ¶ added in v1.63.0
func (r *K8sDispatchConfNewRequest) SetConf(conf string)
param conf: 采集配置字段(Optional)
func (*K8sDispatchConfNewRequest) SetNodeIp ¶ added in v1.63.0
func (r *K8sDispatchConfNewRequest) SetNodeIp(nodeIp string)
param nodeIp: node-ip字段(Optional)
func (*K8sDispatchConfNewRequest) SetTenantName ¶ added in v1.63.0
func (r *K8sDispatchConfNewRequest) SetTenantName(tenantName string)
param tenantName: 租户字段(Optional)
func (*K8sDispatchConfNewRequest) SetZoneName ¶ added in v1.63.0
func (r *K8sDispatchConfNewRequest) SetZoneName(zoneName string)
param zoneName: 机房字段(Optional)
type K8sDispatchConfNewResponse ¶ added in v1.63.0
type K8sDispatchConfNewResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result K8sDispatchConfNewResult `json:"result"`
}
type K8sDispatchConfNewResult ¶ added in v1.63.0
type K8sDispatchConfNewResult struct {
Result bool `json:"result"`
}
type K8sDispatchConfRequest ¶ added in v1.63.0
type K8sDispatchConfRequest struct {
core.JDCloudRequest
/* 租户字段 (Optional) */
TenantName *string `json:"tenantName"`
/* 集群字段 (Optional) */
ClusterName *string `json:"clusterName"`
/* 机房字段 (Optional) */
ZoneName *string `json:"zoneName"`
/* node-ip字段 (Optional) */
NodeIp *string `json:"nodeIp"`
/* 采集配置字段 (Optional) */
Conf *string `json:"conf"`
}
func NewK8sDispatchConfRequest ¶ added in v1.63.0
func NewK8sDispatchConfRequest() *K8sDispatchConfRequest
* * @Deprecated, not compatible when mandatory parameters changed
func NewK8sDispatchConfRequestWithAllParams ¶ added in v1.63.0
func NewK8sDispatchConfRequestWithAllParams( tenantName *string, clusterName *string, zoneName *string, nodeIp *string, conf *string, ) *K8sDispatchConfRequest
* param tenantName: 租户字段 (Optional) * param clusterName: 集群字段 (Optional) * param zoneName: 机房字段 (Optional) * param nodeIp: node-ip字段 (Optional) * param conf: 采集配置字段 (Optional)
func NewK8sDispatchConfRequestWithoutParam ¶ added in v1.63.0
func NewK8sDispatchConfRequestWithoutParam() *K8sDispatchConfRequest
This constructor has better compatible ability when API parameters changed
func (K8sDispatchConfRequest) GetRegionId ¶ added in v1.63.0
func (r K8sDispatchConfRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*K8sDispatchConfRequest) SetClusterName ¶ added in v1.63.0
func (r *K8sDispatchConfRequest) SetClusterName(clusterName string)
param clusterName: 集群字段(Optional)
func (*K8sDispatchConfRequest) SetConf ¶ added in v1.63.0
func (r *K8sDispatchConfRequest) SetConf(conf string)
param conf: 采集配置字段(Optional)
func (*K8sDispatchConfRequest) SetNodeIp ¶ added in v1.63.0
func (r *K8sDispatchConfRequest) SetNodeIp(nodeIp string)
param nodeIp: node-ip字段(Optional)
func (*K8sDispatchConfRequest) SetTenantName ¶ added in v1.63.0
func (r *K8sDispatchConfRequest) SetTenantName(tenantName string)
param tenantName: 租户字段(Optional)
func (*K8sDispatchConfRequest) SetZoneName ¶ added in v1.63.0
func (r *K8sDispatchConfRequest) SetZoneName(zoneName string)
param zoneName: 机房字段(Optional)
type K8sDispatchConfResponse ¶ added in v1.63.0
type K8sDispatchConfResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result K8sDispatchConfResult `json:"result"`
}
type K8sDispatchConfResult ¶ added in v1.63.0
type K8sDispatchConfResult struct {
Result bool `json:"result"`
}
type K8sWatchHeartbeatRequest ¶ added in v1.63.0
type K8sWatchHeartbeatRequest struct {
core.JDCloudRequest
/* 集群 (Optional) */
Cluster *string `json:"cluster"`
/* 设备id (Optional) */
DevId *string `json:"devId"`
/* 公有云集群标识 (Optional) */
Cloud *bool `json:"cloud"`
/* node数量 (Optional) */
NodeCount *int `json:"nodeCount"`
/* 容器数量 (Optional) */
ContainerCount *int `json:"containerCount"`
/* 最新容器变化时间 (Optional) */
LatestPodChangeTime *int64 `json:"latestPodChangeTime"`
}
func NewK8sWatchHeartbeatRequest ¶ added in v1.63.0
func NewK8sWatchHeartbeatRequest() *K8sWatchHeartbeatRequest
* * @Deprecated, not compatible when mandatory parameters changed
func NewK8sWatchHeartbeatRequestWithAllParams ¶ added in v1.63.0
func NewK8sWatchHeartbeatRequestWithAllParams( cluster *string, devId *string, cloud *bool, nodeCount *int, containerCount *int, latestPodChangeTime *int64, ) *K8sWatchHeartbeatRequest
* param cluster: 集群 (Optional) * param devId: 设备id (Optional) * param cloud: 公有云集群标识 (Optional) * param nodeCount: node数量 (Optional) * param containerCount: 容器数量 (Optional) * param latestPodChangeTime: 最新容器变化时间 (Optional)
func NewK8sWatchHeartbeatRequestWithoutParam ¶ added in v1.63.0
func NewK8sWatchHeartbeatRequestWithoutParam() *K8sWatchHeartbeatRequest
This constructor has better compatible ability when API parameters changed
func (K8sWatchHeartbeatRequest) GetRegionId ¶ added in v1.63.0
func (r K8sWatchHeartbeatRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*K8sWatchHeartbeatRequest) SetCloud ¶ added in v1.63.0
func (r *K8sWatchHeartbeatRequest) SetCloud(cloud bool)
param cloud: 公有云集群标识(Optional)
func (*K8sWatchHeartbeatRequest) SetCluster ¶ added in v1.63.0
func (r *K8sWatchHeartbeatRequest) SetCluster(cluster string)
param cluster: 集群(Optional)
func (*K8sWatchHeartbeatRequest) SetContainerCount ¶ added in v1.63.0
func (r *K8sWatchHeartbeatRequest) SetContainerCount(containerCount int)
param containerCount: 容器数量(Optional)
func (*K8sWatchHeartbeatRequest) SetDevId ¶ added in v1.63.0
func (r *K8sWatchHeartbeatRequest) SetDevId(devId string)
param devId: 设备id(Optional)
func (*K8sWatchHeartbeatRequest) SetLatestPodChangeTime ¶ added in v1.63.0
func (r *K8sWatchHeartbeatRequest) SetLatestPodChangeTime(latestPodChangeTime int64)
param latestPodChangeTime: 最新容器变化时间(Optional)
func (*K8sWatchHeartbeatRequest) SetNodeCount ¶ added in v1.63.0
func (r *K8sWatchHeartbeatRequest) SetNodeCount(nodeCount int)
param nodeCount: node数量(Optional)
type K8sWatchHeartbeatResponse ¶ added in v1.63.0
type K8sWatchHeartbeatResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result K8sWatchHeartbeatResult `json:"result"`
}
type K8sWatchHeartbeatResult ¶ added in v1.63.0
type K8sWatchHeartbeatResult struct {
Result bool `json:"result"`
}
type K8sconfigNewV2Request ¶ added in v1.63.0
type K8sconfigNewV2Request struct {
core.JDCloudRequest
/* 租户字段 (Optional) */
TenantName *string `json:"tenantName"`
/* 集群字段 (Optional) */
ClusterName *string `json:"clusterName"`
/* 机房字段 (Optional) */
ZoneName *string `json:"zoneName"`
/* node-ip字段 (Optional) */
NodeIp *string `json:"nodeIp"`
/* 采集配置字段 (Optional) */
Conf *string `json:"conf"`
/* 是否为公有云 (Optional) */
Cloud *bool `json:"cloud"`
}
func NewK8sconfigNewV2Request ¶ added in v1.63.0
func NewK8sconfigNewV2Request() *K8sconfigNewV2Request
* * @Deprecated, not compatible when mandatory parameters changed
func NewK8sconfigNewV2RequestWithAllParams ¶ added in v1.63.0
func NewK8sconfigNewV2RequestWithAllParams( tenantName *string, clusterName *string, zoneName *string, nodeIp *string, conf *string, cloud *bool, ) *K8sconfigNewV2Request
* param tenantName: 租户字段 (Optional) * param clusterName: 集群字段 (Optional) * param zoneName: 机房字段 (Optional) * param nodeIp: node-ip字段 (Optional) * param conf: 采集配置字段 (Optional) * param cloud: 是否为公有云 (Optional)
func NewK8sconfigNewV2RequestWithoutParam ¶ added in v1.63.0
func NewK8sconfigNewV2RequestWithoutParam() *K8sconfigNewV2Request
This constructor has better compatible ability when API parameters changed
func (K8sconfigNewV2Request) GetRegionId ¶ added in v1.63.0
func (r K8sconfigNewV2Request) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*K8sconfigNewV2Request) SetCloud ¶ added in v1.63.0
func (r *K8sconfigNewV2Request) SetCloud(cloud bool)
param cloud: 是否为公有云(Optional)
func (*K8sconfigNewV2Request) SetClusterName ¶ added in v1.63.0
func (r *K8sconfigNewV2Request) SetClusterName(clusterName string)
param clusterName: 集群字段(Optional)
func (*K8sconfigNewV2Request) SetConf ¶ added in v1.63.0
func (r *K8sconfigNewV2Request) SetConf(conf string)
param conf: 采集配置字段(Optional)
func (*K8sconfigNewV2Request) SetNodeIp ¶ added in v1.63.0
func (r *K8sconfigNewV2Request) SetNodeIp(nodeIp string)
param nodeIp: node-ip字段(Optional)
func (*K8sconfigNewV2Request) SetTenantName ¶ added in v1.63.0
func (r *K8sconfigNewV2Request) SetTenantName(tenantName string)
param tenantName: 租户字段(Optional)
func (*K8sconfigNewV2Request) SetZoneName ¶ added in v1.63.0
func (r *K8sconfigNewV2Request) SetZoneName(zoneName string)
param zoneName: 机房字段(Optional)
type K8sconfigNewV2Response ¶ added in v1.63.0
type K8sconfigNewV2Response struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result K8sconfigNewV2Result `json:"result"`
}
type K8sconfigNewV2Result ¶ added in v1.63.0
type K8sconfigNewV2Result struct {
Result bool `json:"result"`
}
type LogAggregateRequest ¶ added in v1.63.0
type LogAggregateRequest struct {
core.JDCloudRequest
/* 租户,必填 */
Pin string `json:"pin"`
/* 产品,必填 */
Product string `json:"product"`
/* 实例 (Optional) */
Instance *string `json:"instance"`
/* 日志类型 (Optional) */
LogType *string `json:"logType"`
/* ip (Optional) */
Ip []string `json:"ip"`
/* pod name (Optional) */
PodName []string `json:"podName"`
/* 命名空间 (Optional) */
Namespace *string `json:"namespace"`
/* 集群 (Optional) */
Cluster *string `json:"cluster"`
/* 容器名 (Optional) */
ContainerName *string `json:"containerName"`
/* 文件路径 (Optional) */
FilePath []string `json:"filePath"`
/* 开始时间纳秒数字,默认一小时前 (Optional) */
StartTime *int64 `json:"startTime"`
/* 结束时间纳秒数字,默认现在 (Optional) */
EndTime *int64 `json:"endTime"`
/* 正序:FORWARD、倒序:BACKWARD,默认BACKWARD (Optional) */
Direction *string `json:"direction"`
/* 查询数量数字,默认100 (Optional) */
Limit *int `json:"limit"`
/* 步长时间(单位:秒),10、0.5 (Optional) */
Step *float32 `json:"step"`
/* label过滤 (Optional) */
StreamFilter []logs.StreamFilter `json:"streamFilter"`
/* 行过滤 (Optional) */
LineFilter *logs.LineFilter `json:"lineFilter"`
/* 格式化过滤条件 (Optional) */
FmtFilter *logs.FormatFilter `json:"fmtFilter"`
/* 指标函数及参数 (Optional) */
Metric *logs.LokiMetricParam `json:"metric"`
/* 检索类型枚举:range (Optional) */
QueryType *string `json:"queryType"`
/* 时间区间1s、1m、1h (Optional) */
Duration *string `json:"duration"`
/* 分组字段,逗号分隔 (Optional) */
GroupBy *string `json:"groupBy"`
}
func NewLogAggregateRequest ¶ added in v1.63.0
func NewLogAggregateRequest( pin string, product string, ) *LogAggregateRequest
* param pin: 租户,必填 (Required) * param product: 产品,必填 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewLogAggregateRequestWithAllParams ¶ added in v1.63.0
func NewLogAggregateRequestWithAllParams( pin string, product string, instance *string, logType *string, ip []string, podName []string, namespace *string, cluster *string, containerName *string, filePath []string, startTime *int64, endTime *int64, direction *string, limit *int, step *float32, streamFilter []logs.StreamFilter, lineFilter *logs.LineFilter, fmtFilter *logs.FormatFilter, metric *logs.LokiMetricParam, queryType *string, duration *string, groupBy *string, ) *LogAggregateRequest
* param pin: 租户,必填 (Required) * param product: 产品,必填 (Required) * param instance: 实例 (Optional) * param logType: 日志类型 (Optional) * param ip: ip (Optional) * param podName: pod name (Optional) * param namespace: 命名空间 (Optional) * param cluster: 集群 (Optional) * param containerName: 容器名 (Optional) * param filePath: 文件路径 (Optional) * param startTime: 开始时间纳秒数字,默认一小时前 (Optional) * param endTime: 结束时间纳秒数字,默认现在 (Optional) * param direction: 正序:FORWARD、倒序:BACKWARD,默认BACKWARD (Optional) * param limit: 查询数量数字,默认100 (Optional) * param step: 步长时间(单位:秒),10、0.5 (Optional) * param streamFilter: label过滤 (Optional) * param lineFilter: 行过滤 (Optional) * param fmtFilter: 格式化过滤条件 (Optional) * param metric: 指标函数及参数 (Optional) * param queryType: 检索类型枚举:range (Optional) * param duration: 时间区间1s、1m、1h (Optional) * param groupBy: 分组字段,逗号分隔 (Optional)
func NewLogAggregateRequestWithoutParam ¶ added in v1.63.0
func NewLogAggregateRequestWithoutParam() *LogAggregateRequest
This constructor has better compatible ability when API parameters changed
func (LogAggregateRequest) GetRegionId ¶ added in v1.63.0
func (r LogAggregateRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*LogAggregateRequest) SetCluster ¶ added in v1.63.0
func (r *LogAggregateRequest) SetCluster(cluster string)
param cluster: 集群(Optional)
func (*LogAggregateRequest) SetContainerName ¶ added in v1.63.0
func (r *LogAggregateRequest) SetContainerName(containerName string)
param containerName: 容器名(Optional)
func (*LogAggregateRequest) SetDirection ¶ added in v1.63.0
func (r *LogAggregateRequest) SetDirection(direction string)
param direction: 正序:FORWARD、倒序:BACKWARD,默认BACKWARD(Optional)
func (*LogAggregateRequest) SetDuration ¶ added in v1.63.0
func (r *LogAggregateRequest) SetDuration(duration string)
param duration: 时间区间1s、1m、1h(Optional)
func (*LogAggregateRequest) SetEndTime ¶ added in v1.63.0
func (r *LogAggregateRequest) SetEndTime(endTime int64)
param endTime: 结束时间纳秒数字,默认现在(Optional)
func (*LogAggregateRequest) SetFilePath ¶ added in v1.63.0
func (r *LogAggregateRequest) SetFilePath(filePath []string)
param filePath: 文件路径(Optional)
func (*LogAggregateRequest) SetFmtFilter ¶ added in v1.63.0
func (r *LogAggregateRequest) SetFmtFilter(fmtFilter *logs.FormatFilter)
param fmtFilter: 格式化过滤条件(Optional)
func (*LogAggregateRequest) SetGroupBy ¶ added in v1.63.0
func (r *LogAggregateRequest) SetGroupBy(groupBy string)
param groupBy: 分组字段,逗号分隔(Optional)
func (*LogAggregateRequest) SetInstance ¶ added in v1.63.0
func (r *LogAggregateRequest) SetInstance(instance string)
param instance: 实例(Optional)
func (*LogAggregateRequest) SetIp ¶ added in v1.63.0
func (r *LogAggregateRequest) SetIp(ip []string)
param ip: ip(Optional)
func (*LogAggregateRequest) SetLimit ¶ added in v1.63.0
func (r *LogAggregateRequest) SetLimit(limit int)
param limit: 查询数量数字,默认100(Optional)
func (*LogAggregateRequest) SetLineFilter ¶ added in v1.63.0
func (r *LogAggregateRequest) SetLineFilter(lineFilter *logs.LineFilter)
param lineFilter: 行过滤(Optional)
func (*LogAggregateRequest) SetLogType ¶ added in v1.63.0
func (r *LogAggregateRequest) SetLogType(logType string)
param logType: 日志类型(Optional)
func (*LogAggregateRequest) SetMetric ¶ added in v1.63.0
func (r *LogAggregateRequest) SetMetric(metric *logs.LokiMetricParam)
param metric: 指标函数及参数(Optional)
func (*LogAggregateRequest) SetNamespace ¶ added in v1.63.0
func (r *LogAggregateRequest) SetNamespace(namespace string)
param namespace: 命名空间(Optional)
func (*LogAggregateRequest) SetPin ¶ added in v1.63.0
func (r *LogAggregateRequest) SetPin(pin string)
param pin: 租户,必填(Required)
func (*LogAggregateRequest) SetPodName ¶ added in v1.63.0
func (r *LogAggregateRequest) SetPodName(podName []string)
param podName: pod name(Optional)
func (*LogAggregateRequest) SetProduct ¶ added in v1.63.0
func (r *LogAggregateRequest) SetProduct(product string)
param product: 产品,必填(Required)
func (*LogAggregateRequest) SetQueryType ¶ added in v1.63.0
func (r *LogAggregateRequest) SetQueryType(queryType string)
param queryType: 检索类型枚举:range(Optional)
func (*LogAggregateRequest) SetStartTime ¶ added in v1.63.0
func (r *LogAggregateRequest) SetStartTime(startTime int64)
param startTime: 开始时间纳秒数字,默认一小时前(Optional)
func (*LogAggregateRequest) SetStep ¶ added in v1.63.0
func (r *LogAggregateRequest) SetStep(step float32)
param step: 步长时间(单位:秒),10、0.5(Optional)
func (*LogAggregateRequest) SetStreamFilter ¶ added in v1.63.0
func (r *LogAggregateRequest) SetStreamFilter(streamFilter []logs.StreamFilter)
param streamFilter: label过滤(Optional)
type LogAggregateResponse ¶ added in v1.63.0
type LogAggregateResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result LogAggregateResult `json:"result"`
}
type LogAggregateResult ¶ added in v1.63.0
type LogAggregateResult struct {
Status string `json:"status"`
Completed bool `json:"completed"`
Data logs.LokiResponseData `json:"data"`
}
type LogCountRequest ¶ added in v1.63.0
type LogCountRequest struct {
core.JDCloudRequest
/* 租户,必填 */
Pin string `json:"pin"`
/* 产品,必填 */
Product string `json:"product"`
/* 实例 (Optional) */
Instance *string `json:"instance"`
/* 日志类型 (Optional) */
LogType *string `json:"logType"`
/* ip (Optional) */
Ip []string `json:"ip"`
/* pod name (Optional) */
PodName []string `json:"podName"`
/* 命名空间 (Optional) */
Namespace *string `json:"namespace"`
/* 集群 (Optional) */
Cluster *string `json:"cluster"`
/* 容器名 (Optional) */
ContainerName *string `json:"containerName"`
/* 文件路径 (Optional) */
FilePath []string `json:"filePath"`
/* 开始时间纳秒数字,默认一小时前 (Optional) */
StartTime *int64 `json:"startTime"`
/* 结束时间纳秒数字,默认现在 (Optional) */
EndTime *int64 `json:"endTime"`
/* 正序:FORWARD、倒序:BACKWARD,默认BACKWARD (Optional) */
Direction *string `json:"direction"`
/* 查询数量数字,默认100 (Optional) */
Limit *int `json:"limit"`
/* 步长时间(单位:秒),10、0.5 (Optional) */
Step *float32 `json:"step"`
/* label过滤 (Optional) */
StreamFilter []logs.StreamFilter `json:"streamFilter"`
/* 行过滤 (Optional) */
LineFilter *logs.LineFilter `json:"lineFilter"`
/* 格式化过滤条件 (Optional) */
FmtFilter *logs.FormatFilter `json:"fmtFilter"`
/* 指标函数及参数 (Optional) */
Metric *logs.LokiMetricParam `json:"metric"`
/* 检索类型枚举:range (Optional) */
QueryType *string `json:"queryType"`
/* 时间区间1s、1m、1h (Optional) */
Duration *string `json:"duration"`
/* 分组字段,逗号分隔 (Optional) */
GroupBy *string `json:"groupBy"`
}
func NewLogCountRequest ¶ added in v1.63.0
func NewLogCountRequest( pin string, product string, ) *LogCountRequest
* param pin: 租户,必填 (Required) * param product: 产品,必填 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewLogCountRequestWithAllParams ¶ added in v1.63.0
func NewLogCountRequestWithAllParams( pin string, product string, instance *string, logType *string, ip []string, podName []string, namespace *string, cluster *string, containerName *string, filePath []string, startTime *int64, endTime *int64, direction *string, limit *int, step *float32, streamFilter []logs.StreamFilter, lineFilter *logs.LineFilter, fmtFilter *logs.FormatFilter, metric *logs.LokiMetricParam, queryType *string, duration *string, groupBy *string, ) *LogCountRequest
* param pin: 租户,必填 (Required) * param product: 产品,必填 (Required) * param instance: 实例 (Optional) * param logType: 日志类型 (Optional) * param ip: ip (Optional) * param podName: pod name (Optional) * param namespace: 命名空间 (Optional) * param cluster: 集群 (Optional) * param containerName: 容器名 (Optional) * param filePath: 文件路径 (Optional) * param startTime: 开始时间纳秒数字,默认一小时前 (Optional) * param endTime: 结束时间纳秒数字,默认现在 (Optional) * param direction: 正序:FORWARD、倒序:BACKWARD,默认BACKWARD (Optional) * param limit: 查询数量数字,默认100 (Optional) * param step: 步长时间(单位:秒),10、0.5 (Optional) * param streamFilter: label过滤 (Optional) * param lineFilter: 行过滤 (Optional) * param fmtFilter: 格式化过滤条件 (Optional) * param metric: 指标函数及参数 (Optional) * param queryType: 检索类型枚举:range (Optional) * param duration: 时间区间1s、1m、1h (Optional) * param groupBy: 分组字段,逗号分隔 (Optional)
func NewLogCountRequestWithoutParam ¶ added in v1.63.0
func NewLogCountRequestWithoutParam() *LogCountRequest
This constructor has better compatible ability when API parameters changed
func (LogCountRequest) GetRegionId ¶ added in v1.63.0
func (r LogCountRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*LogCountRequest) SetCluster ¶ added in v1.63.0
func (r *LogCountRequest) SetCluster(cluster string)
param cluster: 集群(Optional)
func (*LogCountRequest) SetContainerName ¶ added in v1.63.0
func (r *LogCountRequest) SetContainerName(containerName string)
param containerName: 容器名(Optional)
func (*LogCountRequest) SetDirection ¶ added in v1.63.0
func (r *LogCountRequest) SetDirection(direction string)
param direction: 正序:FORWARD、倒序:BACKWARD,默认BACKWARD(Optional)
func (*LogCountRequest) SetDuration ¶ added in v1.63.0
func (r *LogCountRequest) SetDuration(duration string)
param duration: 时间区间1s、1m、1h(Optional)
func (*LogCountRequest) SetEndTime ¶ added in v1.63.0
func (r *LogCountRequest) SetEndTime(endTime int64)
param endTime: 结束时间纳秒数字,默认现在(Optional)
func (*LogCountRequest) SetFilePath ¶ added in v1.63.0
func (r *LogCountRequest) SetFilePath(filePath []string)
param filePath: 文件路径(Optional)
func (*LogCountRequest) SetFmtFilter ¶ added in v1.63.0
func (r *LogCountRequest) SetFmtFilter(fmtFilter *logs.FormatFilter)
param fmtFilter: 格式化过滤条件(Optional)
func (*LogCountRequest) SetGroupBy ¶ added in v1.63.0
func (r *LogCountRequest) SetGroupBy(groupBy string)
param groupBy: 分组字段,逗号分隔(Optional)
func (*LogCountRequest) SetInstance ¶ added in v1.63.0
func (r *LogCountRequest) SetInstance(instance string)
param instance: 实例(Optional)
func (*LogCountRequest) SetIp ¶ added in v1.63.0
func (r *LogCountRequest) SetIp(ip []string)
param ip: ip(Optional)
func (*LogCountRequest) SetLimit ¶ added in v1.63.0
func (r *LogCountRequest) SetLimit(limit int)
param limit: 查询数量数字,默认100(Optional)
func (*LogCountRequest) SetLineFilter ¶ added in v1.63.0
func (r *LogCountRequest) SetLineFilter(lineFilter *logs.LineFilter)
param lineFilter: 行过滤(Optional)
func (*LogCountRequest) SetLogType ¶ added in v1.63.0
func (r *LogCountRequest) SetLogType(logType string)
param logType: 日志类型(Optional)
func (*LogCountRequest) SetMetric ¶ added in v1.63.0
func (r *LogCountRequest) SetMetric(metric *logs.LokiMetricParam)
param metric: 指标函数及参数(Optional)
func (*LogCountRequest) SetNamespace ¶ added in v1.63.0
func (r *LogCountRequest) SetNamespace(namespace string)
param namespace: 命名空间(Optional)
func (*LogCountRequest) SetPin ¶ added in v1.63.0
func (r *LogCountRequest) SetPin(pin string)
param pin: 租户,必填(Required)
func (*LogCountRequest) SetPodName ¶ added in v1.63.0
func (r *LogCountRequest) SetPodName(podName []string)
param podName: pod name(Optional)
func (*LogCountRequest) SetProduct ¶ added in v1.63.0
func (r *LogCountRequest) SetProduct(product string)
param product: 产品,必填(Required)
func (*LogCountRequest) SetQueryType ¶ added in v1.63.0
func (r *LogCountRequest) SetQueryType(queryType string)
param queryType: 检索类型枚举:range(Optional)
func (*LogCountRequest) SetStartTime ¶ added in v1.63.0
func (r *LogCountRequest) SetStartTime(startTime int64)
param startTime: 开始时间纳秒数字,默认一小时前(Optional)
func (*LogCountRequest) SetStep ¶ added in v1.63.0
func (r *LogCountRequest) SetStep(step float32)
param step: 步长时间(单位:秒),10、0.5(Optional)
func (*LogCountRequest) SetStreamFilter ¶ added in v1.63.0
func (r *LogCountRequest) SetStreamFilter(streamFilter []logs.StreamFilter)
param streamFilter: label过滤(Optional)
type LogCountResponse ¶ added in v1.63.0
type LogCountResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result LogCountResult `json:"result"`
}
type LogCountResult ¶ added in v1.63.0
type LogCountResult struct {
Status string `json:"status"`
Completed bool `json:"completed"`
Data logs.LokiResponseData `json:"data"`
}
type LogDetailPublicRequest ¶ added in v1.63.0
type LogDetailPublicRequest struct {
core.JDCloudRequest
/* 产品名称 */
Product string `json:"product"`
/* 实例名称 (Optional) */
Instance *string `json:"instance"`
/* UUID,同一批次保持一致,必填 (Optional) */
SearchId *string `json:"searchId"`
/* 日志类型 (Optional) */
LogType *string `json:"logType"`
/* ip (Optional) */
Ip []string `json:"ip"`
/* pod name (Optional) */
PodName []string `json:"podName"`
/* 命名空间 (Optional) */
Namespace *string `json:"namespace"`
/* 集群 (Optional) */
Cluster *string `json:"cluster"`
/* 容器名 (Optional) */
ContainerName *string `json:"containerName"`
/* 文件路径 (Optional) */
FilePath []string `json:"filePath"`
/* 开始时间纳秒数字,默认一小时前 (Optional) */
StartTime *int64 `json:"startTime"`
/* 结束时间纳秒数字,默认现在 (Optional) */
EndTime *int64 `json:"endTime"`
/* 正序:FORWARD、倒序:BACKWARD,默认BACKWARD (Optional) */
Direction *string `json:"direction"`
/* 查询数量数字,默认100 (Optional) */
Limit *int `json:"limit"`
/* 步长时间(单位:秒),10、0.5 (Optional) */
Step *float32 `json:"step"`
/* label过滤 (Optional) */
StreamFilter []logs.StreamFilter `json:"streamFilter"`
/* 行过滤 (Optional) */
LineFilter *logs.LineFilter `json:"lineFilter"`
/* 格式化过滤条件 (Optional) */
FmtFilter *logs.FormatFilter `json:"fmtFilter"`
}
func NewLogDetailPublicRequest ¶ added in v1.63.0
func NewLogDetailPublicRequest( product string, ) *LogDetailPublicRequest
* param product: 产品名称 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewLogDetailPublicRequestWithAllParams ¶ added in v1.63.0
func NewLogDetailPublicRequestWithAllParams( product string, instance *string, searchId *string, logType *string, ip []string, podName []string, namespace *string, cluster *string, containerName *string, filePath []string, startTime *int64, endTime *int64, direction *string, limit *int, step *float32, streamFilter []logs.StreamFilter, lineFilter *logs.LineFilter, fmtFilter *logs.FormatFilter, ) *LogDetailPublicRequest
* param product: 产品名称 (Required) * param instance: 实例名称 (Optional) * param searchId: UUID,同一批次保持一致,必填 (Optional) * param logType: 日志类型 (Optional) * param ip: ip (Optional) * param podName: pod name (Optional) * param namespace: 命名空间 (Optional) * param cluster: 集群 (Optional) * param containerName: 容器名 (Optional) * param filePath: 文件路径 (Optional) * param startTime: 开始时间纳秒数字,默认一小时前 (Optional) * param endTime: 结束时间纳秒数字,默认现在 (Optional) * param direction: 正序:FORWARD、倒序:BACKWARD,默认BACKWARD (Optional) * param limit: 查询数量数字,默认100 (Optional) * param step: 步长时间(单位:秒),10、0.5 (Optional) * param streamFilter: label过滤 (Optional) * param lineFilter: 行过滤 (Optional) * param fmtFilter: 格式化过滤条件 (Optional)
func NewLogDetailPublicRequestWithoutParam ¶ added in v1.63.0
func NewLogDetailPublicRequestWithoutParam() *LogDetailPublicRequest
This constructor has better compatible ability when API parameters changed
func (LogDetailPublicRequest) GetRegionId ¶ added in v1.63.0
func (r LogDetailPublicRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*LogDetailPublicRequest) SetCluster ¶ added in v1.63.0
func (r *LogDetailPublicRequest) SetCluster(cluster string)
param cluster: 集群(Optional)
func (*LogDetailPublicRequest) SetContainerName ¶ added in v1.63.0
func (r *LogDetailPublicRequest) SetContainerName(containerName string)
param containerName: 容器名(Optional)
func (*LogDetailPublicRequest) SetDirection ¶ added in v1.63.0
func (r *LogDetailPublicRequest) SetDirection(direction string)
param direction: 正序:FORWARD、倒序:BACKWARD,默认BACKWARD(Optional)
func (*LogDetailPublicRequest) SetEndTime ¶ added in v1.63.0
func (r *LogDetailPublicRequest) SetEndTime(endTime int64)
param endTime: 结束时间纳秒数字,默认现在(Optional)
func (*LogDetailPublicRequest) SetFilePath ¶ added in v1.63.0
func (r *LogDetailPublicRequest) SetFilePath(filePath []string)
param filePath: 文件路径(Optional)
func (*LogDetailPublicRequest) SetFmtFilter ¶ added in v1.63.0
func (r *LogDetailPublicRequest) SetFmtFilter(fmtFilter *logs.FormatFilter)
param fmtFilter: 格式化过滤条件(Optional)
func (*LogDetailPublicRequest) SetInstance ¶ added in v1.63.0
func (r *LogDetailPublicRequest) SetInstance(instance string)
param instance: 实例名称(Optional)
func (*LogDetailPublicRequest) SetIp ¶ added in v1.63.0
func (r *LogDetailPublicRequest) SetIp(ip []string)
param ip: ip(Optional)
func (*LogDetailPublicRequest) SetLimit ¶ added in v1.63.0
func (r *LogDetailPublicRequest) SetLimit(limit int)
param limit: 查询数量数字,默认100(Optional)
func (*LogDetailPublicRequest) SetLineFilter ¶ added in v1.63.0
func (r *LogDetailPublicRequest) SetLineFilter(lineFilter *logs.LineFilter)
param lineFilter: 行过滤(Optional)
func (*LogDetailPublicRequest) SetLogType ¶ added in v1.63.0
func (r *LogDetailPublicRequest) SetLogType(logType string)
param logType: 日志类型(Optional)
func (*LogDetailPublicRequest) SetNamespace ¶ added in v1.63.0
func (r *LogDetailPublicRequest) SetNamespace(namespace string)
param namespace: 命名空间(Optional)
func (*LogDetailPublicRequest) SetPodName ¶ added in v1.63.0
func (r *LogDetailPublicRequest) SetPodName(podName []string)
param podName: pod name(Optional)
func (*LogDetailPublicRequest) SetProduct ¶ added in v1.63.0
func (r *LogDetailPublicRequest) SetProduct(product string)
param product: 产品名称(Required)
func (*LogDetailPublicRequest) SetSearchId ¶ added in v1.63.0
func (r *LogDetailPublicRequest) SetSearchId(searchId string)
param searchId: UUID,同一批次保持一致,必填(Optional)
func (*LogDetailPublicRequest) SetStartTime ¶ added in v1.63.0
func (r *LogDetailPublicRequest) SetStartTime(startTime int64)
param startTime: 开始时间纳秒数字,默认一小时前(Optional)
func (*LogDetailPublicRequest) SetStep ¶ added in v1.63.0
func (r *LogDetailPublicRequest) SetStep(step float32)
param step: 步长时间(单位:秒),10、0.5(Optional)
func (*LogDetailPublicRequest) SetStreamFilter ¶ added in v1.63.0
func (r *LogDetailPublicRequest) SetStreamFilter(streamFilter []logs.StreamFilter)
param streamFilter: label过滤(Optional)
type LogDetailPublicResponse ¶ added in v1.63.0
type LogDetailPublicResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result LogDetailPublicResult `json:"result"`
}
type LogDetailPublicResult ¶ added in v1.63.0
type LogDetailPublicResult struct {
Status string `json:"status"`
Completed bool `json:"completed"`
Data logs.LokiResponseData `json:"data"`
}
type LogDetailRequest ¶ added in v1.63.0
type LogDetailRequest struct {
core.JDCloudRequest
/* 租户 */
Pin string `json:"pin"`
/* UUID,同一批次保持一致,必填 (Optional) */
SearchId *string `json:"searchId"`
/* 产品名,必填 */
Product string `json:"product"`
/* 实例 (Optional) */
Instance *string `json:"instance"`
/* 日志类型 (Optional) */
LogType *string `json:"logType"`
/* ip (Optional) */
Ip []string `json:"ip"`
/* pod name (Optional) */
PodName []string `json:"podName"`
/* 命名空间 (Optional) */
Namespace *string `json:"namespace"`
/* 集群 (Optional) */
Cluster *string `json:"cluster"`
/* 容器名 (Optional) */
ContainerName *string `json:"containerName"`
/* 文件路径 (Optional) */
FilePath []string `json:"filePath"`
/* 开始时间纳秒数字,默认一小时前 (Optional) */
StartTime *int64 `json:"startTime"`
/* 结束时间纳秒数字,默认现在 (Optional) */
EndTime *int64 `json:"endTime"`
/* 正序:FORWARD、倒序:BACKWARD,默认BACKWARD (Optional) */
Direction *string `json:"direction"`
/* 查询数量数字,默认100 (Optional) */
Limit *int `json:"limit"`
/* 步长时间(单位:秒),10、0.5 (Optional) */
Step *float32 `json:"step"`
/* label过滤 (Optional) */
StreamFilter []logs.StreamFilter `json:"streamFilter"`
/* 行过滤 (Optional) */
LineFilter *logs.LineFilter `json:"lineFilter"`
/* 格式化过滤条件 (Optional) */
FmtFilter *logs.FormatFilter `json:"fmtFilter"`
}
func NewLogDetailRequest ¶ added in v1.63.0
func NewLogDetailRequest( pin string, product string, ) *LogDetailRequest
* param pin: 租户 (Required) * param product: 产品名,必填 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewLogDetailRequestWithAllParams ¶ added in v1.63.0
func NewLogDetailRequestWithAllParams( pin string, searchId *string, product string, instance *string, logType *string, ip []string, podName []string, namespace *string, cluster *string, containerName *string, filePath []string, startTime *int64, endTime *int64, direction *string, limit *int, step *float32, streamFilter []logs.StreamFilter, lineFilter *logs.LineFilter, fmtFilter *logs.FormatFilter, ) *LogDetailRequest
* param pin: 租户 (Required) * param searchId: UUID,同一批次保持一致,必填 (Optional) * param product: 产品名,必填 (Required) * param instance: 实例 (Optional) * param logType: 日志类型 (Optional) * param ip: ip (Optional) * param podName: pod name (Optional) * param namespace: 命名空间 (Optional) * param cluster: 集群 (Optional) * param containerName: 容器名 (Optional) * param filePath: 文件路径 (Optional) * param startTime: 开始时间纳秒数字,默认一小时前 (Optional) * param endTime: 结束时间纳秒数字,默认现在 (Optional) * param direction: 正序:FORWARD、倒序:BACKWARD,默认BACKWARD (Optional) * param limit: 查询数量数字,默认100 (Optional) * param step: 步长时间(单位:秒),10、0.5 (Optional) * param streamFilter: label过滤 (Optional) * param lineFilter: 行过滤 (Optional) * param fmtFilter: 格式化过滤条件 (Optional)
func NewLogDetailRequestWithoutParam ¶ added in v1.63.0
func NewLogDetailRequestWithoutParam() *LogDetailRequest
This constructor has better compatible ability when API parameters changed
func (LogDetailRequest) GetRegionId ¶ added in v1.63.0
func (r LogDetailRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*LogDetailRequest) SetCluster ¶ added in v1.63.0
func (r *LogDetailRequest) SetCluster(cluster string)
param cluster: 集群(Optional)
func (*LogDetailRequest) SetContainerName ¶ added in v1.63.0
func (r *LogDetailRequest) SetContainerName(containerName string)
param containerName: 容器名(Optional)
func (*LogDetailRequest) SetDirection ¶ added in v1.63.0
func (r *LogDetailRequest) SetDirection(direction string)
param direction: 正序:FORWARD、倒序:BACKWARD,默认BACKWARD(Optional)
func (*LogDetailRequest) SetEndTime ¶ added in v1.63.0
func (r *LogDetailRequest) SetEndTime(endTime int64)
param endTime: 结束时间纳秒数字,默认现在(Optional)
func (*LogDetailRequest) SetFilePath ¶ added in v1.63.0
func (r *LogDetailRequest) SetFilePath(filePath []string)
param filePath: 文件路径(Optional)
func (*LogDetailRequest) SetFmtFilter ¶ added in v1.63.0
func (r *LogDetailRequest) SetFmtFilter(fmtFilter *logs.FormatFilter)
param fmtFilter: 格式化过滤条件(Optional)
func (*LogDetailRequest) SetInstance ¶ added in v1.63.0
func (r *LogDetailRequest) SetInstance(instance string)
param instance: 实例(Optional)
func (*LogDetailRequest) SetIp ¶ added in v1.63.0
func (r *LogDetailRequest) SetIp(ip []string)
param ip: ip(Optional)
func (*LogDetailRequest) SetLimit ¶ added in v1.63.0
func (r *LogDetailRequest) SetLimit(limit int)
param limit: 查询数量数字,默认100(Optional)
func (*LogDetailRequest) SetLineFilter ¶ added in v1.63.0
func (r *LogDetailRequest) SetLineFilter(lineFilter *logs.LineFilter)
param lineFilter: 行过滤(Optional)
func (*LogDetailRequest) SetLogType ¶ added in v1.63.0
func (r *LogDetailRequest) SetLogType(logType string)
param logType: 日志类型(Optional)
func (*LogDetailRequest) SetNamespace ¶ added in v1.63.0
func (r *LogDetailRequest) SetNamespace(namespace string)
param namespace: 命名空间(Optional)
func (*LogDetailRequest) SetPin ¶ added in v1.63.0
func (r *LogDetailRequest) SetPin(pin string)
param pin: 租户(Required)
func (*LogDetailRequest) SetPodName ¶ added in v1.63.0
func (r *LogDetailRequest) SetPodName(podName []string)
param podName: pod name(Optional)
func (*LogDetailRequest) SetProduct ¶ added in v1.63.0
func (r *LogDetailRequest) SetProduct(product string)
param product: 产品名,必填(Required)
func (*LogDetailRequest) SetSearchId ¶ added in v1.63.0
func (r *LogDetailRequest) SetSearchId(searchId string)
param searchId: UUID,同一批次保持一致,必填(Optional)
func (*LogDetailRequest) SetStartTime ¶ added in v1.63.0
func (r *LogDetailRequest) SetStartTime(startTime int64)
param startTime: 开始时间纳秒数字,默认一小时前(Optional)
func (*LogDetailRequest) SetStep ¶ added in v1.63.0
func (r *LogDetailRequest) SetStep(step float32)
param step: 步长时间(单位:秒),10、0.5(Optional)
func (*LogDetailRequest) SetStreamFilter ¶ added in v1.63.0
func (r *LogDetailRequest) SetStreamFilter(streamFilter []logs.StreamFilter)
param streamFilter: label过滤(Optional)
type LogDetailResponse ¶ added in v1.63.0
type LogDetailResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result LogDetailResult `json:"result"`
}
type LogDetailResult ¶ added in v1.63.0
type LogDetailResult struct {
Status string `json:"status"`
Completed bool `json:"completed"`
Data logs.LokiResponseData `json:"data"`
}
type LogSearchIdRequest ¶ added in v1.63.0
type LogSearchIdRequest struct {
core.JDCloudRequest
/* 租户信息 (Optional) */
Pin *string `json:"pin"`
/* 搜索应用 (Optional) */
Apps []string `json:"apps"`
/* 搜索关键字 (Optional) */
Keyword *string `json:"keyword"`
/* 排除关键字 (Optional) */
Exclude *string `json:"exclude"`
/* 查询机器 (Optional) */
Hosts []string `json:"hosts"`
/* 日志路径 (Optional) */
FilePaths []string `json:"filePaths"`
/* 日志等级,枚举类型取值为:DEBUG,INFO,WARN,ERROR,FATAL,ALL,UNKNOWN (Optional) */
LogLevel *string `json:"logLevel"`
/* 线程 (Optional) */
Thread *string `json:"thread"`
/* 类名 (Optional) */
Clazz *string `json:"clazz"`
/* 限制条数 (Optional) */
Limit *int `json:"limit"`
/* 开始时间 (Optional) */
StartTime *string `json:"startTime"`
/* 结束时间 (Optional) */
EndTime *string `json:"endTime"`
/* 查询时间单位,枚举类型取值为:NANOSECONDS,MICROSECONDS,SECONDS,MINUTES,DAYS (Optional) */
TimeUnit *string `json:"timeUnit"`
/* 搜索类型:regular、exact (Optional) */
SearchType *string `json:"searchType"`
/* 应用名 (Optional) */
InstanceName *string `json:"instanceName"`
/* 产品名 (Optional) */
ProductName *string `json:"productName"`
/* 日志类型名称 (Optional) */
LogTypeName *string `json:"logTypeName"`
/* chunks (Optional) */
Chunks []string `json:"chunks"`
/* 匹配方向 (Optional) */
Direction *string `json:"direction"`
/* 查询id (Optional) */
SearchId *string `json:"searchId"`
/* 检索index (Optional) */
SearchIndex *int `json:"searchIndex"`
/* searchEndTime (Optional) */
SearchEndTime *int64 `json:"searchEndTime"`
/* lifecycle (Optional) */
Lifecycle *int `json:"lifecycle"`
/* 查询sql (Optional) */
QuerySql *string `json:"querySql"`
/* 索引参数列表,map类型,key必须是string类型,value可自定义 (Optional) */
IndexParams *interface{} `json:"indexParams"`
}
func NewLogSearchIdRequest ¶ added in v1.63.0
func NewLogSearchIdRequest() *LogSearchIdRequest
* * @Deprecated, not compatible when mandatory parameters changed
func NewLogSearchIdRequestWithAllParams ¶ added in v1.63.0
func NewLogSearchIdRequestWithAllParams( pin *string, apps []string, keyword *string, exclude *string, hosts []string, filePaths []string, logLevel *string, thread *string, clazz *string, limit *int, startTime *string, endTime *string, timeUnit *string, searchType *string, instanceName *string, productName *string, logTypeName *string, chunks []string, direction *string, searchId *string, searchIndex *int, searchEndTime *int64, lifecycle *int, querySql *string, indexParams *interface{}, ) *LogSearchIdRequest
* param pin: 租户信息 (Optional) * param apps: 搜索应用 (Optional) * param keyword: 搜索关键字 (Optional) * param exclude: 排除关键字 (Optional) * param hosts: 查询机器 (Optional) * param filePaths: 日志路径 (Optional) * param logLevel: 日志等级,枚举类型取值为:DEBUG,INFO,WARN,ERROR,FATAL,ALL,UNKNOWN (Optional) * param thread: 线程 (Optional) * param clazz: 类名 (Optional) * param limit: 限制条数 (Optional) * param startTime: 开始时间 (Optional) * param endTime: 结束时间 (Optional) * param timeUnit: 查询时间单位,枚举类型取值为:NANOSECONDS,MICROSECONDS,SECONDS,MINUTES,DAYS (Optional) * param searchType: 搜索类型:regular、exact (Optional) * param instanceName: 应用名 (Optional) * param productName: 产品名 (Optional) * param logTypeName: 日志类型名称 (Optional) * param chunks: chunks (Optional) * param direction: 匹配方向 (Optional) * param searchId: 查询id (Optional) * param searchIndex: 检索index (Optional) * param searchEndTime: searchEndTime (Optional) * param lifecycle: lifecycle (Optional) * param querySql: 查询sql (Optional) * param indexParams: 索引参数列表,map类型,key必须是string类型,value可自定义 (Optional)
func NewLogSearchIdRequestWithoutParam ¶ added in v1.63.0
func NewLogSearchIdRequestWithoutParam() *LogSearchIdRequest
This constructor has better compatible ability when API parameters changed
func (LogSearchIdRequest) GetRegionId ¶ added in v1.63.0
func (r LogSearchIdRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*LogSearchIdRequest) SetApps ¶ added in v1.63.0
func (r *LogSearchIdRequest) SetApps(apps []string)
param apps: 搜索应用(Optional)
func (*LogSearchIdRequest) SetChunks ¶ added in v1.63.0
func (r *LogSearchIdRequest) SetChunks(chunks []string)
param chunks: chunks(Optional)
func (*LogSearchIdRequest) SetClazz ¶ added in v1.63.0
func (r *LogSearchIdRequest) SetClazz(clazz string)
param clazz: 类名(Optional)
func (*LogSearchIdRequest) SetDirection ¶ added in v1.63.0
func (r *LogSearchIdRequest) SetDirection(direction string)
param direction: 匹配方向(Optional)
func (*LogSearchIdRequest) SetEndTime ¶ added in v1.63.0
func (r *LogSearchIdRequest) SetEndTime(endTime string)
param endTime: 结束时间(Optional)
func (*LogSearchIdRequest) SetExclude ¶ added in v1.63.0
func (r *LogSearchIdRequest) SetExclude(exclude string)
param exclude: 排除关键字(Optional)
func (*LogSearchIdRequest) SetFilePaths ¶ added in v1.63.0
func (r *LogSearchIdRequest) SetFilePaths(filePaths []string)
param filePaths: 日志路径(Optional)
func (*LogSearchIdRequest) SetHosts ¶ added in v1.63.0
func (r *LogSearchIdRequest) SetHosts(hosts []string)
param hosts: 查询机器(Optional)
func (*LogSearchIdRequest) SetIndexParams ¶ added in v1.63.0
func (r *LogSearchIdRequest) SetIndexParams(indexParams interface{})
param indexParams: 索引参数列表,map类型,key必须是string类型,value可自定义(Optional)
func (*LogSearchIdRequest) SetInstanceName ¶ added in v1.63.0
func (r *LogSearchIdRequest) SetInstanceName(instanceName string)
param instanceName: 应用名(Optional)
func (*LogSearchIdRequest) SetKeyword ¶ added in v1.63.0
func (r *LogSearchIdRequest) SetKeyword(keyword string)
param keyword: 搜索关键字(Optional)
func (*LogSearchIdRequest) SetLifecycle ¶ added in v1.63.0
func (r *LogSearchIdRequest) SetLifecycle(lifecycle int)
param lifecycle: lifecycle(Optional)
func (*LogSearchIdRequest) SetLimit ¶ added in v1.63.0
func (r *LogSearchIdRequest) SetLimit(limit int)
param limit: 限制条数(Optional)
func (*LogSearchIdRequest) SetLogLevel ¶ added in v1.63.0
func (r *LogSearchIdRequest) SetLogLevel(logLevel string)
param logLevel: 日志等级,枚举类型取值为:DEBUG,INFO,WARN,ERROR,FATAL,ALL,UNKNOWN(Optional)
func (*LogSearchIdRequest) SetLogTypeName ¶ added in v1.63.0
func (r *LogSearchIdRequest) SetLogTypeName(logTypeName string)
param logTypeName: 日志类型名称(Optional)
func (*LogSearchIdRequest) SetPin ¶ added in v1.63.0
func (r *LogSearchIdRequest) SetPin(pin string)
param pin: 租户信息(Optional)
func (*LogSearchIdRequest) SetProductName ¶ added in v1.63.0
func (r *LogSearchIdRequest) SetProductName(productName string)
param productName: 产品名(Optional)
func (*LogSearchIdRequest) SetQuerySql ¶ added in v1.63.0
func (r *LogSearchIdRequest) SetQuerySql(querySql string)
param querySql: 查询sql(Optional)
func (*LogSearchIdRequest) SetSearchEndTime ¶ added in v1.63.0
func (r *LogSearchIdRequest) SetSearchEndTime(searchEndTime int64)
param searchEndTime: searchEndTime(Optional)
func (*LogSearchIdRequest) SetSearchId ¶ added in v1.63.0
func (r *LogSearchIdRequest) SetSearchId(searchId string)
param searchId: 查询id(Optional)
func (*LogSearchIdRequest) SetSearchIndex ¶ added in v1.63.0
func (r *LogSearchIdRequest) SetSearchIndex(searchIndex int)
param searchIndex: 检索index(Optional)
func (*LogSearchIdRequest) SetSearchType ¶ added in v1.63.0
func (r *LogSearchIdRequest) SetSearchType(searchType string)
param searchType: 搜索类型:regular、exact(Optional)
func (*LogSearchIdRequest) SetStartTime ¶ added in v1.63.0
func (r *LogSearchIdRequest) SetStartTime(startTime string)
param startTime: 开始时间(Optional)
func (*LogSearchIdRequest) SetThread ¶ added in v1.63.0
func (r *LogSearchIdRequest) SetThread(thread string)
param thread: 线程(Optional)
func (*LogSearchIdRequest) SetTimeUnit ¶ added in v1.63.0
func (r *LogSearchIdRequest) SetTimeUnit(timeUnit string)
param timeUnit: 查询时间单位,枚举类型取值为:NANOSECONDS,MICROSECONDS,SECONDS,MINUTES,DAYS(Optional)
type LogSearchIdResponse ¶ added in v1.63.0
type LogSearchIdResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result LogSearchIdResult `json:"result"`
}
type LogSearchIdResult ¶ added in v1.63.0
type LogSearchRequest ¶ added in v1.63.0
type LogSearchRequest struct {
core.JDCloudRequest
/* 检索id (Optional) */
SearchId *string `json:"searchId"`
/* response状态码 (Optional) */
Limit *int `json:"limit"`
}
func NewLogSearchRequest ¶ added in v1.63.0
func NewLogSearchRequest() *LogSearchRequest
* * @Deprecated, not compatible when mandatory parameters changed
func NewLogSearchRequestWithAllParams ¶ added in v1.63.0
func NewLogSearchRequestWithAllParams( searchId *string, limit *int, ) *LogSearchRequest
* param searchId: 检索id (Optional) * param limit: response状态码 (Optional)
func NewLogSearchRequestWithoutParam ¶ added in v1.63.0
func NewLogSearchRequestWithoutParam() *LogSearchRequest
This constructor has better compatible ability when API parameters changed
func (LogSearchRequest) GetRegionId ¶ added in v1.63.0
func (r LogSearchRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*LogSearchRequest) SetLimit ¶ added in v1.63.0
func (r *LogSearchRequest) SetLimit(limit int)
param limit: response状态码(Optional)
func (*LogSearchRequest) SetSearchId ¶ added in v1.63.0
func (r *LogSearchRequest) SetSearchId(searchId string)
param searchId: 检索id(Optional)
type LogSearchResponse ¶ added in v1.63.0
type LogSearchResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result LogSearchResult `json:"result"`
}
type LogSearchResult ¶ added in v1.63.0
type ProductPodChangeRequest ¶ added in v1.63.0
type ProductPodChangeRequest struct {
core.JDCloudRequest
}
func NewProductPodChangeRequest ¶ added in v1.63.0
func NewProductPodChangeRequest() *ProductPodChangeRequest
* * @Deprecated, not compatible when mandatory parameters changed
func NewProductPodChangeRequestWithAllParams ¶ added in v1.63.0
func NewProductPodChangeRequestWithAllParams() *ProductPodChangeRequest
func NewProductPodChangeRequestWithoutParam ¶ added in v1.63.0
func NewProductPodChangeRequestWithoutParam() *ProductPodChangeRequest
This constructor has better compatible ability when API parameters changed
func (ProductPodChangeRequest) GetRegionId ¶ added in v1.63.0
func (r ProductPodChangeRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
type ProductPodChangeResponse ¶ added in v1.63.0
type ProductPodChangeResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result ProductPodChangeResult `json:"result"`
}
type ProductPodChangeResult ¶ added in v1.63.0
type ProductPodChangeResult struct {
Result bool `json:"result"`
}
type ProductPodLabelSelectRequest ¶ added in v1.63.0
type ProductPodLabelSelectRequest struct {
core.JDCloudRequest
/* 操作类型 (Optional) */
Operate *string `json:"operate"`
/* pod详情 (Optional) */
PodInfo *string `json:"podInfo"`
/* 租户 (Optional) */
Tenant *string `json:"tenant"`
/* pod详情数组 (Optional) */
PodListStr *string `json:"podListStr"`
/* 产品名 (Optional) */
ProductName *string `json:"productName"`
/* 是否所有租户可见 (Optional) */
AllTenantDistributability *bool `json:"allTenantDistributability"`
}
func NewProductPodLabelSelectRequest ¶ added in v1.63.0
func NewProductPodLabelSelectRequest() *ProductPodLabelSelectRequest
* * @Deprecated, not compatible when mandatory parameters changed
func NewProductPodLabelSelectRequestWithAllParams ¶ added in v1.63.0
func NewProductPodLabelSelectRequestWithAllParams( operate *string, podInfo *string, tenant *string, podListStr *string, productName *string, allTenantDistributability *bool, ) *ProductPodLabelSelectRequest
* param operate: 操作类型 (Optional) * param podInfo: pod详情 (Optional) * param tenant: 租户 (Optional) * param podListStr: pod详情数组 (Optional) * param productName: 产品名 (Optional) * param allTenantDistributability: 是否所有租户可见 (Optional)
func NewProductPodLabelSelectRequestWithoutParam ¶ added in v1.63.0
func NewProductPodLabelSelectRequestWithoutParam() *ProductPodLabelSelectRequest
This constructor has better compatible ability when API parameters changed
func (ProductPodLabelSelectRequest) GetRegionId ¶ added in v1.63.0
func (r ProductPodLabelSelectRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*ProductPodLabelSelectRequest) SetAllTenantDistributability ¶ added in v1.63.0
func (r *ProductPodLabelSelectRequest) SetAllTenantDistributability(allTenantDistributability bool)
param allTenantDistributability: 是否所有租户可见(Optional)
func (*ProductPodLabelSelectRequest) SetOperate ¶ added in v1.63.0
func (r *ProductPodLabelSelectRequest) SetOperate(operate string)
param operate: 操作类型(Optional)
func (*ProductPodLabelSelectRequest) SetPodInfo ¶ added in v1.63.0
func (r *ProductPodLabelSelectRequest) SetPodInfo(podInfo string)
param podInfo: pod详情(Optional)
func (*ProductPodLabelSelectRequest) SetPodListStr ¶ added in v1.63.0
func (r *ProductPodLabelSelectRequest) SetPodListStr(podListStr string)
param podListStr: pod详情数组(Optional)
func (*ProductPodLabelSelectRequest) SetProductName ¶ added in v1.63.0
func (r *ProductPodLabelSelectRequest) SetProductName(productName string)
param productName: 产品名(Optional)
func (*ProductPodLabelSelectRequest) SetTenant ¶ added in v1.63.0
func (r *ProductPodLabelSelectRequest) SetTenant(tenant string)
param tenant: 租户(Optional)
type ProductPodLabelSelectResponse ¶ added in v1.63.0
type ProductPodLabelSelectResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result ProductPodLabelSelectResult `json:"result"`
}
type ProductPodLabelSelectResult ¶ added in v1.63.0
type ProductPodLabelSelectResult struct {
Result bool `json:"result"`
}
type PushRequest ¶ added in v1.63.0
type PushRequest struct {
core.JDCloudRequest
/* 日志主题uid */
LogtopicUID string `json:"logtopicUID"`
}
func NewPushRequest ¶ added in v1.63.0
func NewPushRequest( logtopicUID string, ) *PushRequest
* param logtopicUID: 日志主题uid (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewPushRequestWithAllParams ¶ added in v1.63.0
func NewPushRequestWithAllParams( logtopicUID string, ) *PushRequest
* param logtopicUID: 日志主题uid (Required)
func NewPushRequestWithoutParam ¶ added in v1.63.0
func NewPushRequestWithoutParam() *PushRequest
This constructor has better compatible ability when API parameters changed
func (PushRequest) GetRegionId ¶ added in v1.63.0
func (r PushRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*PushRequest) SetLogtopicUID ¶ added in v1.63.0
func (r *PushRequest) SetLogtopicUID(logtopicUID string)
param logtopicUID: 日志主题uid(Required)
type PushResponse ¶ added in v1.63.0
type PushResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result PushResult `json:"result"`
}
type PushResult ¶ added in v1.63.0
type PushResult struct {
}
type SearchRequest ¶ added in v1.13.0
type SearchRequest struct {
core.JDCloudRequest
/* 地域 Id */
RegionId string `json:"regionId"`
/* 日志集ID */
LogsetUID string `json:"logsetUID"`
/* 日志主题ID */
LogtopicUID string `json:"logtopicUID"`
/* "preview"表示预览, "fulltext"表示全文检索, "advance"表示按照搜索语句检索 */
Action string `json:"action"`
/* Base64编码的搜索表达式, (Optional) */
Expr *string `json:"expr"`
/* 搜索关键字大小写敏感, 默认false (Optional) */
CaseSensitive *bool `json:"caseSensitive"`
/* 开始时间。格式 “YYYY-MM-DDThh:mm:ssTZD”, 比如 “2018-11-09T15:34:46+0800”.当action != preview时,必填 (Optional) */
StartTime *string `json:"startTime"`
/* 结束时间。格式 “YYYY-MM-DDThh:mm:ssTZD”, 比如 “2018-11-09T15:34:46+0800”.当action != preview时,必填 (Optional) */
EndTime *string `json:"endTime"`
/* 页数。 最小为1,最大为99 (Optional) */
PageNumber *int `json:"pageNumber"`
/* 每页个数。默认为10,最大100 (Optional) */
PageSize *int `json:"pageSize"`
/* 返回排序,不填或者为空,默认为desc,"asc":按照时间正序返回结果,"desc":按照时间倒序返回结果 (Optional) */
Sort *string `json:"sort"`
/* 指定返回字段,只对系统日志生效,不填默认按照产品线配置返回字段,Name支持:key,Values填入返回字段 (Optional) */
Filters []logs.Filter `json:"filters"`
}
func NewSearchRequest ¶ added in v1.13.0
func NewSearchRequest( regionId string, logsetUID string, logtopicUID string, action string, ) *SearchRequest
* param regionId: 地域 Id (Required) * param logsetUID: 日志集ID (Required) * param logtopicUID: 日志主题ID (Required) * param action: "preview"表示预览, "fulltext"表示全文检索, "advance"表示按照搜索语句检索 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewSearchRequestWithAllParams ¶ added in v1.13.0
func NewSearchRequestWithAllParams( regionId string, logsetUID string, logtopicUID string, action string, expr *string, caseSensitive *bool, startTime *string, endTime *string, pageNumber *int, pageSize *int, sort *string, filters []logs.Filter, ) *SearchRequest
* param regionId: 地域 Id (Required) * param logsetUID: 日志集ID (Required) * param logtopicUID: 日志主题ID (Required) * param action: "preview"表示预览, "fulltext"表示全文检索, "advance"表示按照搜索语句检索 (Required) * param expr: Base64编码的搜索表达式, (Optional) * param caseSensitive: 搜索关键字大小写敏感, 默认false (Optional) * param startTime: 开始时间。格式 “YYYY-MM-DDThh:mm:ssTZD”, 比如 “2018-11-09T15:34:46+0800”.当action != preview时,必填 (Optional) * param endTime: 结束时间。格式 “YYYY-MM-DDThh:mm:ssTZD”, 比如 “2018-11-09T15:34:46+0800”.当action != preview时,必填 (Optional) * param pageNumber: 页数。 最小为1,最大为99 (Optional) * param pageSize: 每页个数。默认为10,最大100 (Optional) * param sort: 返回排序,不填或者为空,默认为desc,"asc":按照时间正序返回结果,"desc":按照时间倒序返回结果 (Optional) * param filters: 指定返回字段,只对系统日志生效,不填默认按照产品线配置返回字段,Name支持:key,Values填入返回字段 (Optional)
func NewSearchRequestWithoutParam ¶ added in v1.13.0
func NewSearchRequestWithoutParam() *SearchRequest
This constructor has better compatible ability when API parameters changed
func (SearchRequest) GetRegionId ¶ added in v1.13.0
func (r SearchRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*SearchRequest) SetAction ¶ added in v1.13.0
func (r *SearchRequest) SetAction(action string)
param action: "preview"表示预览, "fulltext"表示全文检索, "advance"表示按照搜索语句检索(Required)
func (*SearchRequest) SetCaseSensitive ¶ added in v1.13.0
func (r *SearchRequest) SetCaseSensitive(caseSensitive bool)
param caseSensitive: 搜索关键字大小写敏感, 默认false(Optional)
func (*SearchRequest) SetEndTime ¶ added in v1.13.0
func (r *SearchRequest) SetEndTime(endTime string)
param endTime: 结束时间。格式 “YYYY-MM-DDThh:mm:ssTZD”, 比如 “2018-11-09T15:34:46+0800”.当action != preview时,必填(Optional)
func (*SearchRequest) SetExpr ¶ added in v1.13.0
func (r *SearchRequest) SetExpr(expr string)
param expr: Base64编码的搜索表达式,(Optional)
func (*SearchRequest) SetFilters ¶ added in v1.17.0
func (r *SearchRequest) SetFilters(filters []logs.Filter)
param filters: 指定返回字段,只对系统日志生效,不填默认按照产品线配置返回字段,Name支持:key,Values填入返回字段(Optional)
func (*SearchRequest) SetLogsetUID ¶ added in v1.13.0
func (r *SearchRequest) SetLogsetUID(logsetUID string)
param logsetUID: 日志集ID(Required)
func (*SearchRequest) SetLogtopicUID ¶ added in v1.13.0
func (r *SearchRequest) SetLogtopicUID(logtopicUID string)
param logtopicUID: 日志主题ID(Required)
func (*SearchRequest) SetPageNumber ¶ added in v1.13.0
func (r *SearchRequest) SetPageNumber(pageNumber int)
param pageNumber: 页数。 最小为1,最大为99(Optional)
func (*SearchRequest) SetPageSize ¶ added in v1.13.0
func (r *SearchRequest) SetPageSize(pageSize int)
param pageSize: 每页个数。默认为10,最大100(Optional)
func (*SearchRequest) SetRegionId ¶ added in v1.13.0
func (r *SearchRequest) SetRegionId(regionId string)
param regionId: 地域 Id(Required)
func (*SearchRequest) SetSort ¶ added in v1.17.0
func (r *SearchRequest) SetSort(sort string)
param sort: 返回排序,不填或者为空,默认为desc,"asc":按照时间正序返回结果,"desc":按照时间倒序返回结果(Optional)
func (*SearchRequest) SetStartTime ¶ added in v1.13.0
func (r *SearchRequest) SetStartTime(startTime string)
param startTime: 开始时间。格式 “YYYY-MM-DDThh:mm:ssTZD”, 比如 “2018-11-09T15:34:46+0800”.当action != preview时,必填(Optional)
type SearchResponse ¶ added in v1.13.0
type SearchResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result SearchResult `json:"result"`
}
type SearchResult ¶ added in v1.13.0
type SearchResult struct {
Data []interface{} `json:"data"`
SearchFields logs.SearchFields `json:"searchFields"`
Total int64 `json:"total"`
}
type TestMetricTaskRequest ¶ added in v1.13.0
type TestMetricTaskRequest struct {
core.JDCloudRequest
/* 地域 Id */
RegionId string `json:"regionId"`
/* 日志集 UID */
LogsetUID string `json:"logsetUID"`
/* 日志主题 UID */
LogtopicUID string `json:"logtopicUID"`
/* 聚合函数,支持 count sum max min avg; 配置方式(SettingType) 为 空或visual 时,必填; (Optional) */
Aggregate *string `json:"aggregate"`
/* 测试内容 */
Content []string `json:"content"`
/* 查询字段,支持 英文字母 数字 下划线 中划线 点(中文日志原文和各产品线的key); 配置方式(SettingType) 为 空或visual 时,必填; (Optional) */
DataField *string `json:"dataField"`
/* 过滤语法,可以为空 (Optional) */
FilterContent *string `json:"filterContent"`
/* 是否打开过滤; 配置方式(SettingType) 为 空或visual 时,必填; (Optional) */
FilterOpen *string `json:"filterOpen"`
/* 过滤类型,只能是fulltext和 advance; 配置方式(SettingType) 为 空或visual 时,必填; (Optional) */
FilterType *string `json:"filterType"`
/* 监控项 , 支持大小写英文字母 下划线 数字 点,且不超过255byte(不支持中划线); 配置方式(SettingType) 为 空或visual 时,必填; (Optional) */
Metric *string `json:"metric"`
/* 配置方式: 可选参数;枚举值 visual,sql;分别代表可视化配置及sql配置方式,传空表示可视化配置; (Optional) */
SettingType *string `json:"settingType"`
/* (Optional) */
SqlSpec *logs.MetricTaskSqlSpec `json:"sqlSpec"`
}
func NewTestMetricTaskRequest ¶ added in v1.13.0
func NewTestMetricTaskRequest( regionId string, logsetUID string, logtopicUID string, content []string, ) *TestMetricTaskRequest
* param regionId: 地域 Id (Required) * param logsetUID: 日志集 UID (Required) * param logtopicUID: 日志主题 UID (Required) * param content: 测试内容 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewTestMetricTaskRequestWithAllParams ¶ added in v1.13.0
func NewTestMetricTaskRequestWithAllParams( regionId string, logsetUID string, logtopicUID string, aggregate *string, content []string, dataField *string, filterContent *string, filterOpen *string, filterType *string, metric *string, settingType *string, sqlSpec *logs.MetricTaskSqlSpec, ) *TestMetricTaskRequest
* param regionId: 地域 Id (Required) * param logsetUID: 日志集 UID (Required) * param logtopicUID: 日志主题 UID (Required) * param aggregate: 聚合函数,支持 count sum max min avg; 配置方式(SettingType) 为 空或visual 时,必填; (Optional) * param content: 测试内容 (Required) * param dataField: 查询字段,支持 英文字母 数字 下划线 中划线 点(中文日志原文和各产品线的key); 配置方式(SettingType) 为 空或visual 时,必填; (Optional) * param filterContent: 过滤语法,可以为空 (Optional) * param filterOpen: 是否打开过滤; 配置方式(SettingType) 为 空或visual 时,必填; (Optional) * param filterType: 过滤类型,只能是fulltext和 advance; 配置方式(SettingType) 为 空或visual 时,必填; (Optional) * param metric: 监控项 , 支持大小写英文字母 下划线 数字 点,且不超过255byte(不支持中划线); 配置方式(SettingType) 为 空或visual 时,必填; (Optional) * param settingType: 配置方式: 可选参数;枚举值 visual,sql;分别代表可视化配置及sql配置方式,传空表示可视化配置; (Optional) * param sqlSpec: (Optional)
func NewTestMetricTaskRequestWithoutParam ¶ added in v1.13.0
func NewTestMetricTaskRequestWithoutParam() *TestMetricTaskRequest
This constructor has better compatible ability when API parameters changed
func (TestMetricTaskRequest) GetRegionId ¶ added in v1.13.0
func (r TestMetricTaskRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*TestMetricTaskRequest) SetAggregate ¶ added in v1.13.0
func (r *TestMetricTaskRequest) SetAggregate(aggregate string)
param aggregate: 聚合函数,支持 count sum max min avg; 配置方式(SettingType) 为 空或visual 时,必填;(Optional)
func (*TestMetricTaskRequest) SetContent ¶ added in v1.13.0
func (r *TestMetricTaskRequest) SetContent(content []string)
param content: 测试内容(Required)
func (*TestMetricTaskRequest) SetDataField ¶ added in v1.13.0
func (r *TestMetricTaskRequest) SetDataField(dataField string)
param dataField: 查询字段,支持 英文字母 数字 下划线 中划线 点(中文日志原文和各产品线的key); 配置方式(SettingType) 为 空或visual 时,必填;(Optional)
func (*TestMetricTaskRequest) SetFilterContent ¶ added in v1.13.0
func (r *TestMetricTaskRequest) SetFilterContent(filterContent string)
param filterContent: 过滤语法,可以为空(Optional)
func (*TestMetricTaskRequest) SetFilterOpen ¶ added in v1.13.0
func (r *TestMetricTaskRequest) SetFilterOpen(filterOpen string)
param filterOpen: 是否打开过滤; 配置方式(SettingType) 为 空或visual 时,必填;(Optional)
func (*TestMetricTaskRequest) SetFilterType ¶ added in v1.13.0
func (r *TestMetricTaskRequest) SetFilterType(filterType string)
param filterType: 过滤类型,只能是fulltext和 advance; 配置方式(SettingType) 为 空或visual 时,必填;(Optional)
func (*TestMetricTaskRequest) SetLogsetUID ¶ added in v1.13.0
func (r *TestMetricTaskRequest) SetLogsetUID(logsetUID string)
param logsetUID: 日志集 UID(Required)
func (*TestMetricTaskRequest) SetLogtopicUID ¶ added in v1.13.0
func (r *TestMetricTaskRequest) SetLogtopicUID(logtopicUID string)
param logtopicUID: 日志主题 UID(Required)
func (*TestMetricTaskRequest) SetMetric ¶ added in v1.56.0
func (r *TestMetricTaskRequest) SetMetric(metric string)
param metric: 监控项 , 支持大小写英文字母 下划线 数字 点,且不超过255byte(不支持中划线); 配置方式(SettingType) 为 空或visual 时,必填;(Optional)
func (*TestMetricTaskRequest) SetRegionId ¶ added in v1.13.0
func (r *TestMetricTaskRequest) SetRegionId(regionId string)
param regionId: 地域 Id(Required)
func (*TestMetricTaskRequest) SetSettingType ¶ added in v1.56.0
func (r *TestMetricTaskRequest) SetSettingType(settingType string)
param settingType: 配置方式: 可选参数;枚举值 visual,sql;分别代表可视化配置及sql配置方式,传空表示可视化配置;(Optional)
func (*TestMetricTaskRequest) SetSqlSpec ¶ added in v1.56.0
func (r *TestMetricTaskRequest) SetSqlSpec(sqlSpec *logs.MetricTaskSqlSpec)
param sqlSpec: (Optional)
type TestMetricTaskResponse ¶ added in v1.13.0
type TestMetricTaskResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result TestMetricTaskResult `json:"result"`
}
type TestMetricTaskResult ¶ added in v1.13.0
type UpdateCollectInfoRequest ¶ added in v1.11.0
type UpdateCollectInfoRequest struct {
core.JDCloudRequest
/* 地域 Id */
RegionId string `json:"regionId"`
/* 采集配置 UID */
CollectInfoUID string `json:"collectInfoUID"`
/* 高可用组资源 (Optional) */
AgResource []logs.AgResource `json:"agResource"`
/* (Optional) */
BinlogSpec *logs.BinlogSpec `json:"binlogSpec"`
/* 采集状态,0-禁用,1-启用 */
Enabled bool `json:"enabled"`
/* 过滤器是否启用。当appcode为custom时必填 (Optional) */
FilterEnabled *bool `json:"filterEnabled"`
/* (Optional) */
K8sSpec *logs.K8sSpec `json:"k8sSpec"`
/* 日志文件名。当appcode为custom时为必填。日志文件名支持正则表达式。 (Optional) */
LogFile *string `json:"logFile"`
/* 过滤器。设置过滤器后可根据用户设定的关键词采集部分日志,如仅采集 Error 的日志。目前最大允许5个。 (Optional) */
LogFilters []string `json:"logFilters"`
/* 日志路径。当appcode为custom时为必填。目前仅支持对 Linux 云主机上的日志进行采集,路径支持通配符“*”和“?”,文件路径应符合 Linux 的文件路径规则 (Optional) */
LogPath *string `json:"logPath"`
/* 目的地是否是日志服务logtopic,只支持业务应用日志 (Optional) */
LogtopicEnabled *bool `json:"logtopicEnabled"`
/* 采集配置名称 (Optional) */
Name *string `json:"name"`
/* 首行正则 (Optional) */
RegexpStr *string `json:"regexpStr"`
/* 采集资源时选择的模式,1.正常的选择实例模式(默认模式);2.选择标签tag模式 3.选择高可用组ag模式 (Optional) */
ResourceMode *int64 `json:"resourceMode"`
/* 采集实例类型, 只能是 all/part 当选择all时,传入的实例列表无效;custom类型的采集配置目前仅支持part方式,即用户指定实例列表; */
ResourceType string `json:"resourceType"`
/* 采集实例列表:jdcloud类型最多添加20个资源;custom类型支持的资源数量不限; (Optional) */
Resources []logs.Resource `json:"resources"`
/* (Optional) */
TagResource *logs.TagResource `json:"tagResource"`
}
func NewUpdateCollectInfoRequest ¶ added in v1.11.0
func NewUpdateCollectInfoRequest( regionId string, collectInfoUID string, enabled bool, resourceType string, ) *UpdateCollectInfoRequest
* param regionId: 地域 Id (Required) * param collectInfoUID: 采集配置 UID (Required) * param enabled: 采集状态,0-禁用,1-启用 (Required) * param resourceType: 采集实例类型, 只能是 all/part 当选择all时,传入的实例列表无效;custom类型的采集配置目前仅支持part方式,即用户指定实例列表; (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewUpdateCollectInfoRequestWithAllParams ¶ added in v1.11.0
func NewUpdateCollectInfoRequestWithAllParams( regionId string, collectInfoUID string, agResource []logs.AgResource, binlogSpec *logs.BinlogSpec, enabled bool, filterEnabled *bool, k8sSpec *logs.K8sSpec, logFile *string, logFilters []string, logPath *string, logtopicEnabled *bool, name *string, regexpStr *string, resourceMode *int64, resourceType string, resources []logs.Resource, tagResource *logs.TagResource, ) *UpdateCollectInfoRequest
* param regionId: 地域 Id (Required) * param collectInfoUID: 采集配置 UID (Required) * param agResource: 高可用组资源 (Optional) * param binlogSpec: (Optional) * param enabled: 采集状态,0-禁用,1-启用 (Required) * param filterEnabled: 过滤器是否启用。当appcode为custom时必填 (Optional) * param k8sSpec: (Optional) * param logFile: 日志文件名。当appcode为custom时为必填。日志文件名支持正则表达式。 (Optional) * param logFilters: 过滤器。设置过滤器后可根据用户设定的关键词采集部分日志,如仅采集 Error 的日志。目前最大允许5个。 (Optional) * param logPath: 日志路径。当appcode为custom时为必填。目前仅支持对 Linux 云主机上的日志进行采集,路径支持通配符“*”和“?”,文件路径应符合 Linux 的文件路径规则 (Optional) * param logtopicEnabled: 目的地是否是日志服务logtopic,只支持业务应用日志 (Optional) * param name: 采集配置名称 (Optional) * param regexpStr: 首行正则 (Optional) * param resourceMode: 采集资源时选择的模式,1.正常的选择实例模式(默认模式);2.选择标签tag模式 3.选择高可用组ag模式 (Optional) * param resourceType: 采集实例类型, 只能是 all/part 当选择all时,传入的实例列表无效;custom类型的采集配置目前仅支持part方式,即用户指定实例列表; (Required) * param resources: 采集实例列表:jdcloud类型最多添加20个资源;custom类型支持的资源数量不限; (Optional) * param tagResource: (Optional)
func NewUpdateCollectInfoRequestWithoutParam ¶ added in v1.11.0
func NewUpdateCollectInfoRequestWithoutParam() *UpdateCollectInfoRequest
This constructor has better compatible ability when API parameters changed
func (UpdateCollectInfoRequest) GetRegionId ¶ added in v1.11.0
func (r UpdateCollectInfoRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*UpdateCollectInfoRequest) SetAgResource ¶ added in v1.56.0
func (r *UpdateCollectInfoRequest) SetAgResource(agResource []logs.AgResource)
param agResource: 高可用组资源(Optional)
func (*UpdateCollectInfoRequest) SetBinlogSpec ¶ added in v1.63.0
func (r *UpdateCollectInfoRequest) SetBinlogSpec(binlogSpec *logs.BinlogSpec)
param binlogSpec: (Optional)
func (*UpdateCollectInfoRequest) SetCollectInfoUID ¶ added in v1.11.0
func (r *UpdateCollectInfoRequest) SetCollectInfoUID(collectInfoUID string)
param collectInfoUID: 采集配置 UID(Required)
func (*UpdateCollectInfoRequest) SetEnabled ¶ added in v1.11.0
func (r *UpdateCollectInfoRequest) SetEnabled(enabled bool)
param enabled: 采集状态,0-禁用,1-启用(Required)
func (*UpdateCollectInfoRequest) SetFilterEnabled ¶ added in v1.11.0
func (r *UpdateCollectInfoRequest) SetFilterEnabled(filterEnabled bool)
param filterEnabled: 过滤器是否启用。当appcode为custom时必填(Optional)
func (*UpdateCollectInfoRequest) SetK8sSpec ¶ added in v1.63.0
func (r *UpdateCollectInfoRequest) SetK8sSpec(k8sSpec *logs.K8sSpec)
param k8sSpec: (Optional)
func (*UpdateCollectInfoRequest) SetLogFile ¶ added in v1.11.0
func (r *UpdateCollectInfoRequest) SetLogFile(logFile string)
param logFile: 日志文件名。当appcode为custom时为必填。日志文件名支持正则表达式。(Optional)
func (*UpdateCollectInfoRequest) SetLogFilters ¶ added in v1.11.0
func (r *UpdateCollectInfoRequest) SetLogFilters(logFilters []string)
param logFilters: 过滤器。设置过滤器后可根据用户设定的关键词采集部分日志,如仅采集 Error 的日志。目前最大允许5个。(Optional)
func (*UpdateCollectInfoRequest) SetLogPath ¶ added in v1.11.0
func (r *UpdateCollectInfoRequest) SetLogPath(logPath string)
param logPath: 日志路径。当appcode为custom时为必填。目前仅支持对 Linux 云主机上的日志进行采集,路径支持通配符“*”和“?”,文件路径应符合 Linux 的文件路径规则(Optional)
func (*UpdateCollectInfoRequest) SetLogtopicEnabled ¶ added in v1.56.0
func (r *UpdateCollectInfoRequest) SetLogtopicEnabled(logtopicEnabled bool)
param logtopicEnabled: 目的地是否是日志服务logtopic,只支持业务应用日志(Optional)
func (*UpdateCollectInfoRequest) SetName ¶ added in v1.63.0
func (r *UpdateCollectInfoRequest) SetName(name string)
param name: 采集配置名称(Optional)
func (*UpdateCollectInfoRequest) SetRegexpStr ¶ added in v1.56.0
func (r *UpdateCollectInfoRequest) SetRegexpStr(regexpStr string)
param regexpStr: 首行正则(Optional)
func (*UpdateCollectInfoRequest) SetRegionId ¶ added in v1.11.0
func (r *UpdateCollectInfoRequest) SetRegionId(regionId string)
param regionId: 地域 Id(Required)
func (*UpdateCollectInfoRequest) SetResourceMode ¶ added in v1.56.0
func (r *UpdateCollectInfoRequest) SetResourceMode(resourceMode int64)
param resourceMode: 采集资源时选择的模式,1.正常的选择实例模式(默认模式);2.选择标签tag模式 3.选择高可用组ag模式(Optional)
func (*UpdateCollectInfoRequest) SetResourceType ¶ added in v1.11.0
func (r *UpdateCollectInfoRequest) SetResourceType(resourceType string)
param resourceType: 采集实例类型, 只能是 all/part 当选择all时,传入的实例列表无效;custom类型的采集配置目前仅支持part方式,即用户指定实例列表;(Required)
func (*UpdateCollectInfoRequest) SetResources ¶ added in v1.11.0
func (r *UpdateCollectInfoRequest) SetResources(resources []logs.Resource)
param resources: 采集实例列表:jdcloud类型最多添加20个资源;custom类型支持的资源数量不限;(Optional)
func (*UpdateCollectInfoRequest) SetTagResource ¶ added in v1.56.0
func (r *UpdateCollectInfoRequest) SetTagResource(tagResource *logs.TagResource)
param tagResource: (Optional)
type UpdateCollectInfoResponse ¶ added in v1.11.0
type UpdateCollectInfoResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result UpdateCollectInfoResult `json:"result"`
}
type UpdateCollectInfoResult ¶ added in v1.11.0
type UpdateCollectInfoResult struct {
}
type UpdateCollectInfoStatusRequest ¶ added in v1.63.0
type UpdateCollectInfoStatusRequest struct {
core.JDCloudRequest
/* 地域 Id */
RegionId string `json:"regionId"`
/* 采集配置 UID */
CollectInfoUID string `json:"collectInfoUID"`
/* 采集状态,0-禁用,1-启用 */
Enabled bool `json:"enabled"`
}
func NewUpdateCollectInfoStatusRequest ¶ added in v1.63.0
func NewUpdateCollectInfoStatusRequest( regionId string, collectInfoUID string, enabled bool, ) *UpdateCollectInfoStatusRequest
* param regionId: 地域 Id (Required) * param collectInfoUID: 采集配置 UID (Required) * param enabled: 采集状态,0-禁用,1-启用 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewUpdateCollectInfoStatusRequestWithAllParams ¶ added in v1.63.0
func NewUpdateCollectInfoStatusRequestWithAllParams( regionId string, collectInfoUID string, enabled bool, ) *UpdateCollectInfoStatusRequest
* param regionId: 地域 Id (Required) * param collectInfoUID: 采集配置 UID (Required) * param enabled: 采集状态,0-禁用,1-启用 (Required)
func NewUpdateCollectInfoStatusRequestWithoutParam ¶ added in v1.63.0
func NewUpdateCollectInfoStatusRequestWithoutParam() *UpdateCollectInfoStatusRequest
This constructor has better compatible ability when API parameters changed
func (UpdateCollectInfoStatusRequest) GetRegionId ¶ added in v1.63.0
func (r UpdateCollectInfoStatusRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*UpdateCollectInfoStatusRequest) SetCollectInfoUID ¶ added in v1.63.0
func (r *UpdateCollectInfoStatusRequest) SetCollectInfoUID(collectInfoUID string)
param collectInfoUID: 采集配置 UID(Required)
func (*UpdateCollectInfoStatusRequest) SetEnabled ¶ added in v1.63.0
func (r *UpdateCollectInfoStatusRequest) SetEnabled(enabled bool)
param enabled: 采集状态,0-禁用,1-启用(Required)
func (*UpdateCollectInfoStatusRequest) SetRegionId ¶ added in v1.63.0
func (r *UpdateCollectInfoStatusRequest) SetRegionId(regionId string)
param regionId: 地域 Id(Required)
type UpdateCollectInfoStatusResponse ¶ added in v1.63.0
type UpdateCollectInfoStatusResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result UpdateCollectInfoStatusResult `json:"result"`
}
type UpdateCollectInfoStatusResult ¶ added in v1.63.0
type UpdateCollectInfoStatusResult struct {
}
type UpdateCollectResourcesRequest ¶ added in v1.11.0
type UpdateCollectResourcesRequest struct {
core.JDCloudRequest
/* 地域 Id */
RegionId string `json:"regionId"`
/* 采集配置 UID */
CollectInfoUID string `json:"collectInfoUID"`
/* action */
Action string `json:"action"`
/* 采集实例列表(系统日志存在上限限制) (Optional) */
Resources []logs.Resource `json:"resources"`
}
func NewUpdateCollectResourcesRequest ¶ added in v1.11.0
func NewUpdateCollectResourcesRequest( regionId string, collectInfoUID string, action string, ) *UpdateCollectResourcesRequest
* param regionId: 地域 Id (Required) * param collectInfoUID: 采集配置 UID (Required) * param action: action (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewUpdateCollectResourcesRequestWithAllParams ¶ added in v1.11.0
func NewUpdateCollectResourcesRequestWithAllParams( regionId string, collectInfoUID string, action string, resources []logs.Resource, ) *UpdateCollectResourcesRequest
* param regionId: 地域 Id (Required) * param collectInfoUID: 采集配置 UID (Required) * param action: action (Required) * param resources: 采集实例列表(系统日志存在上限限制) (Optional)
func NewUpdateCollectResourcesRequestWithoutParam ¶ added in v1.11.0
func NewUpdateCollectResourcesRequestWithoutParam() *UpdateCollectResourcesRequest
This constructor has better compatible ability when API parameters changed
func (UpdateCollectResourcesRequest) GetRegionId ¶ added in v1.11.0
func (r UpdateCollectResourcesRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*UpdateCollectResourcesRequest) SetAction ¶ added in v1.11.0
func (r *UpdateCollectResourcesRequest) SetAction(action string)
param action: action(Required)
func (*UpdateCollectResourcesRequest) SetCollectInfoUID ¶ added in v1.11.0
func (r *UpdateCollectResourcesRequest) SetCollectInfoUID(collectInfoUID string)
param collectInfoUID: 采集配置 UID(Required)
func (*UpdateCollectResourcesRequest) SetRegionId ¶ added in v1.11.0
func (r *UpdateCollectResourcesRequest) SetRegionId(regionId string)
param regionId: 地域 Id(Required)
func (*UpdateCollectResourcesRequest) SetResources ¶ added in v1.11.0
func (r *UpdateCollectResourcesRequest) SetResources(resources []logs.Resource)
param resources: 采集实例列表(系统日志存在上限限制)(Optional)
type UpdateCollectResourcesResponse ¶ added in v1.11.0
type UpdateCollectResourcesResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result UpdateCollectResourcesResult `json:"result"`
}
type UpdateCollectResourcesResult ¶ added in v1.11.0
type UpdateCollectResourcesResult struct {
}
type UpdateIndexOptionRequest ¶ added in v1.63.0
type UpdateIndexOptionRequest struct {
core.JDCloudRequest
/* 地域 Id */
RegionId string `json:"regionId"`
/* 日志主题 UID */
LogtopicUID string `json:"logtopicUID"`
/* 是否开启日志聚类,0-禁用,1-启用 */
LogReduce bool `json:"logReduce"`
/* 是否开启全文检索,0-禁用,1-启用 */
FulltextIndex bool `json:"fulltextIndex"`
/* 是否大小写敏感 */
CaseSensitive bool `json:"caseSensitive"`
/* 是否开启中文分词 */
Chn bool `json:"chn"`
/* 分词符 (Optional) */
Token []string `json:"token"`
/* 字段索引配置 (Optional) */
FieldIndexOptions []logs.FieldIndexOption `json:"fieldIndexOptions"`
/* 统计分析字段最大长度 */
MaxTextLen int `json:"maxTextLen"`
}
func NewUpdateIndexOptionRequest ¶ added in v1.63.0
func NewUpdateIndexOptionRequest( regionId string, logtopicUID string, logReduce bool, fulltextIndex bool, caseSensitive bool, chn bool, maxTextLen int, ) *UpdateIndexOptionRequest
* param regionId: 地域 Id (Required) * param logtopicUID: 日志主题 UID (Required) * param logReduce: 是否开启日志聚类,0-禁用,1-启用 (Required) * param fulltextIndex: 是否开启全文检索,0-禁用,1-启用 (Required) * param caseSensitive: 是否大小写敏感 (Required) * param chn: 是否开启中文分词 (Required) * param maxTextLen: 统计分析字段最大长度 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewUpdateIndexOptionRequestWithAllParams ¶ added in v1.63.0
func NewUpdateIndexOptionRequestWithAllParams( regionId string, logtopicUID string, logReduce bool, fulltextIndex bool, caseSensitive bool, chn bool, token []string, fieldIndexOptions []logs.FieldIndexOption, maxTextLen int, ) *UpdateIndexOptionRequest
* param regionId: 地域 Id (Required) * param logtopicUID: 日志主题 UID (Required) * param logReduce: 是否开启日志聚类,0-禁用,1-启用 (Required) * param fulltextIndex: 是否开启全文检索,0-禁用,1-启用 (Required) * param caseSensitive: 是否大小写敏感 (Required) * param chn: 是否开启中文分词 (Required) * param token: 分词符 (Optional) * param fieldIndexOptions: 字段索引配置 (Optional) * param maxTextLen: 统计分析字段最大长度 (Required)
func NewUpdateIndexOptionRequestWithoutParam ¶ added in v1.63.0
func NewUpdateIndexOptionRequestWithoutParam() *UpdateIndexOptionRequest
This constructor has better compatible ability when API parameters changed
func (UpdateIndexOptionRequest) GetRegionId ¶ added in v1.63.0
func (r UpdateIndexOptionRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*UpdateIndexOptionRequest) SetCaseSensitive ¶ added in v1.63.0
func (r *UpdateIndexOptionRequest) SetCaseSensitive(caseSensitive bool)
param caseSensitive: 是否大小写敏感(Required)
func (*UpdateIndexOptionRequest) SetChn ¶ added in v1.63.0
func (r *UpdateIndexOptionRequest) SetChn(chn bool)
param chn: 是否开启中文分词(Required)
func (*UpdateIndexOptionRequest) SetFieldIndexOptions ¶ added in v1.63.0
func (r *UpdateIndexOptionRequest) SetFieldIndexOptions(fieldIndexOptions []logs.FieldIndexOption)
param fieldIndexOptions: 字段索引配置(Optional)
func (*UpdateIndexOptionRequest) SetFulltextIndex ¶ added in v1.63.0
func (r *UpdateIndexOptionRequest) SetFulltextIndex(fulltextIndex bool)
param fulltextIndex: 是否开启全文检索,0-禁用,1-启用(Required)
func (*UpdateIndexOptionRequest) SetLogReduce ¶ added in v1.63.0
func (r *UpdateIndexOptionRequest) SetLogReduce(logReduce bool)
param logReduce: 是否开启日志聚类,0-禁用,1-启用(Required)
func (*UpdateIndexOptionRequest) SetLogtopicUID ¶ added in v1.63.0
func (r *UpdateIndexOptionRequest) SetLogtopicUID(logtopicUID string)
param logtopicUID: 日志主题 UID(Required)
func (*UpdateIndexOptionRequest) SetMaxTextLen ¶ added in v1.63.0
func (r *UpdateIndexOptionRequest) SetMaxTextLen(maxTextLen int)
param maxTextLen: 统计分析字段最大长度(Required)
func (*UpdateIndexOptionRequest) SetRegionId ¶ added in v1.63.0
func (r *UpdateIndexOptionRequest) SetRegionId(regionId string)
param regionId: 地域 Id(Required)
func (*UpdateIndexOptionRequest) SetToken ¶ added in v1.63.0
func (r *UpdateIndexOptionRequest) SetToken(token []string)
param token: 分词符(Optional)
type UpdateIndexOptionResponse ¶ added in v1.63.0
type UpdateIndexOptionResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result UpdateIndexOptionResult `json:"result"`
}
type UpdateIndexOptionResult ¶ added in v1.63.0
type UpdateIndexOptionResult struct {
}
type UpdateLogsetRequest ¶ added in v1.11.0
type UpdateLogsetRequest struct {
core.JDCloudRequest
/* 地域 Id */
RegionId string `json:"regionId"`
/* 日志集 UID */
LogsetUID string `json:"logsetUID"`
/* 日志集名称 */
Name string `json:"name"`
/* 日志集描述 (Optional) */
Description *string `json:"description"`
/* 保存周期,只能是 7, 15, 30 (Optional) */
LifeCycle *int `json:"lifeCycle"`
/* 标签列表 (Optional) */
Tags []logs.Tag `json:"tags"`
}
func NewUpdateLogsetRequest ¶ added in v1.11.0
func NewUpdateLogsetRequest( regionId string, logsetUID string, name string, ) *UpdateLogsetRequest
* param regionId: 地域 Id (Required) * param logsetUID: 日志集 UID (Required) * param name: 日志集名称 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewUpdateLogsetRequestWithAllParams ¶ added in v1.11.0
func NewUpdateLogsetRequestWithAllParams( regionId string, logsetUID string, name string, description *string, lifeCycle *int, tags []logs.Tag, ) *UpdateLogsetRequest
* param regionId: 地域 Id (Required) * param logsetUID: 日志集 UID (Required) * param name: 日志集名称 (Required) * param description: 日志集描述 (Optional) * param lifeCycle: 保存周期,只能是 7, 15, 30 (Optional) * param tags: 标签列表 (Optional)
func NewUpdateLogsetRequestWithoutParam ¶ added in v1.11.0
func NewUpdateLogsetRequestWithoutParam() *UpdateLogsetRequest
This constructor has better compatible ability when API parameters changed
func (UpdateLogsetRequest) GetRegionId ¶ added in v1.11.0
func (r UpdateLogsetRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*UpdateLogsetRequest) SetDescription ¶ added in v1.11.0
func (r *UpdateLogsetRequest) SetDescription(description string)
param description: 日志集描述(Optional)
func (*UpdateLogsetRequest) SetLifeCycle ¶ added in v1.11.0
func (r *UpdateLogsetRequest) SetLifeCycle(lifeCycle int)
param lifeCycle: 保存周期,只能是 7, 15, 30(Optional)
func (*UpdateLogsetRequest) SetLogsetUID ¶ added in v1.11.0
func (r *UpdateLogsetRequest) SetLogsetUID(logsetUID string)
param logsetUID: 日志集 UID(Required)
func (*UpdateLogsetRequest) SetName ¶ added in v1.63.0
func (r *UpdateLogsetRequest) SetName(name string)
param name: 日志集名称(Required)
func (*UpdateLogsetRequest) SetRegionId ¶ added in v1.11.0
func (r *UpdateLogsetRequest) SetRegionId(regionId string)
param regionId: 地域 Id(Required)
func (*UpdateLogsetRequest) SetTags ¶ added in v1.63.0
func (r *UpdateLogsetRequest) SetTags(tags []logs.Tag)
param tags: 标签列表(Optional)
type UpdateLogsetResponse ¶ added in v1.11.0
type UpdateLogsetResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result UpdateLogsetResult `json:"result"`
}
type UpdateLogsetResult ¶ added in v1.11.0
type UpdateLogsetResult struct {
}
type UpdateLogtopicRequest ¶ added in v1.11.0
type UpdateLogtopicRequest struct {
core.JDCloudRequest
/* 地域 Id */
RegionId string `json:"regionId"`
/* 日志主题 UID */
LogtopicUID string `json:"logtopicUID"`
/* 日志主题名称 (Optional) */
Name *string `json:"name"`
/* 日志主题描述 */
Description string `json:"description"`
/* 保存周期,只能是 7, 15, 30 (Optional) */
LifeCycle *int `json:"lifeCycle"`
/* 保序 (Optional) */
InOrder *bool `json:"inOrder"`
}
func NewUpdateLogtopicRequest ¶ added in v1.11.0
func NewUpdateLogtopicRequest( regionId string, logtopicUID string, description string, ) *UpdateLogtopicRequest
* param regionId: 地域 Id (Required) * param logtopicUID: 日志主题 UID (Required) * param description: 日志主题描述 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewUpdateLogtopicRequestWithAllParams ¶ added in v1.11.0
func NewUpdateLogtopicRequestWithAllParams( regionId string, logtopicUID string, name *string, description string, lifeCycle *int, inOrder *bool, ) *UpdateLogtopicRequest
* param regionId: 地域 Id (Required) * param logtopicUID: 日志主题 UID (Required) * param name: 日志主题名称 (Optional) * param description: 日志主题描述 (Required) * param lifeCycle: 保存周期,只能是 7, 15, 30 (Optional) * param inOrder: 保序 (Optional)
func NewUpdateLogtopicRequestWithoutParam ¶ added in v1.11.0
func NewUpdateLogtopicRequestWithoutParam() *UpdateLogtopicRequest
This constructor has better compatible ability when API parameters changed
func (UpdateLogtopicRequest) GetRegionId ¶ added in v1.11.0
func (r UpdateLogtopicRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*UpdateLogtopicRequest) SetDescription ¶ added in v1.11.0
func (r *UpdateLogtopicRequest) SetDescription(description string)
param description: 日志主题描述(Required)
func (*UpdateLogtopicRequest) SetInOrder ¶ added in v1.63.0
func (r *UpdateLogtopicRequest) SetInOrder(inOrder bool)
param inOrder: 保序(Optional)
func (*UpdateLogtopicRequest) SetLifeCycle ¶ added in v1.63.0
func (r *UpdateLogtopicRequest) SetLifeCycle(lifeCycle int)
param lifeCycle: 保存周期,只能是 7, 15, 30(Optional)
func (*UpdateLogtopicRequest) SetLogtopicUID ¶ added in v1.11.0
func (r *UpdateLogtopicRequest) SetLogtopicUID(logtopicUID string)
param logtopicUID: 日志主题 UID(Required)
func (*UpdateLogtopicRequest) SetName ¶ added in v1.63.0
func (r *UpdateLogtopicRequest) SetName(name string)
param name: 日志主题名称(Optional)
func (*UpdateLogtopicRequest) SetRegionId ¶ added in v1.11.0
func (r *UpdateLogtopicRequest) SetRegionId(regionId string)
param regionId: 地域 Id(Required)
type UpdateLogtopicResponse ¶ added in v1.11.0
type UpdateLogtopicResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result UpdateLogtopicResult `json:"result"`
}
type UpdateLogtopicResult ¶ added in v1.11.0
type UpdateLogtopicResult struct {
}
type UpdateMetricTaskRequest ¶ added in v1.13.0
type UpdateMetricTaskRequest struct {
core.JDCloudRequest
/* 地域 Id */
RegionId string `json:"regionId"`
/* 日志集 UID */
LogsetUID string `json:"logsetUID"`
/* 日志主题 UID */
LogtopicUID string `json:"logtopicUID"`
/* */
LogmetrictaskUID string `json:"logmetrictaskUID"`
/* 聚合函数,支持 count sum max min avg; 配置方式(SettingType) 为 空或visual 时,必填; (Optional) */
Aggregate *string `json:"aggregate"`
/* 自定义单位 */
CustomUnit string `json:"customUnit"`
/* 查询字段,支持 英文字母 数字 下划线 中划线 点(中文日志原文和各产品线的key); 配置方式(SettingType) 为 空或visual 时,必填; (Optional) */
DataField *string `json:"dataField"`
/* 过滤语法,可以为空 (Optional) */
FilterContent *string `json:"filterContent"`
/* 是否打开过滤; 配置方式(SettingType) 为 空或visual 时,必填; (Optional) */
FilterOpen *string `json:"filterOpen"`
/* 过滤类型,只能是fulltext和 advance; 配置方式(SettingType) 为 空或visual 时,必填; (Optional) */
FilterType *string `json:"filterType"`
/* 监控项 , 支持大小写英文字母 下划线 数字 点,且不超过255byte(不支持中划线); 配置方式(SettingType) 为 空或visual 时,必填; (Optional) */
Metric *string `json:"metric"`
/* 监控任务名称,同一日志主题下唯一,支持中文 大小写英文字母 下划线 中划线 数字,且不超过32 */
Name string `json:"name"`
/* 配置方式: 可选参数;枚举值 visual,sql;分别代表可视化配置及sql配置方式,传空表示可视化配置; (Optional) */
SettingType *string `json:"settingType"`
/* (Optional) */
SqlSpec *logs.MetricTaskSqlSpec `json:"sqlSpec"`
/* 单位 */
Unit string `json:"unit"`
}
func NewUpdateMetricTaskRequest ¶ added in v1.13.0
func NewUpdateMetricTaskRequest( regionId string, logsetUID string, logtopicUID string, logmetrictaskUID string, customUnit string, name string, unit string, ) *UpdateMetricTaskRequest
* param regionId: 地域 Id (Required) * param logsetUID: 日志集 UID (Required) * param logtopicUID: 日志主题 UID (Required) * param logmetrictaskUID: (Required) * param customUnit: 自定义单位 (Required) * param name: 监控任务名称,同一日志主题下唯一,支持中文 大小写英文字母 下划线 中划线 数字,且不超过32 (Required) * param unit: 单位 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewUpdateMetricTaskRequestWithAllParams ¶ added in v1.13.0
func NewUpdateMetricTaskRequestWithAllParams( regionId string, logsetUID string, logtopicUID string, logmetrictaskUID string, aggregate *string, customUnit string, dataField *string, filterContent *string, filterOpen *string, filterType *string, metric *string, name string, settingType *string, sqlSpec *logs.MetricTaskSqlSpec, unit string, ) *UpdateMetricTaskRequest
* param regionId: 地域 Id (Required) * param logsetUID: 日志集 UID (Required) * param logtopicUID: 日志主题 UID (Required) * param logmetrictaskUID: (Required) * param aggregate: 聚合函数,支持 count sum max min avg; 配置方式(SettingType) 为 空或visual 时,必填; (Optional) * param customUnit: 自定义单位 (Required) * param dataField: 查询字段,支持 英文字母 数字 下划线 中划线 点(中文日志原文和各产品线的key); 配置方式(SettingType) 为 空或visual 时,必填; (Optional) * param filterContent: 过滤语法,可以为空 (Optional) * param filterOpen: 是否打开过滤; 配置方式(SettingType) 为 空或visual 时,必填; (Optional) * param filterType: 过滤类型,只能是fulltext和 advance; 配置方式(SettingType) 为 空或visual 时,必填; (Optional) * param metric: 监控项 , 支持大小写英文字母 下划线 数字 点,且不超过255byte(不支持中划线); 配置方式(SettingType) 为 空或visual 时,必填; (Optional) * param name: 监控任务名称,同一日志主题下唯一,支持中文 大小写英文字母 下划线 中划线 数字,且不超过32 (Required) * param settingType: 配置方式: 可选参数;枚举值 visual,sql;分别代表可视化配置及sql配置方式,传空表示可视化配置; (Optional) * param sqlSpec: (Optional) * param unit: 单位 (Required)
func NewUpdateMetricTaskRequestWithoutParam ¶ added in v1.13.0
func NewUpdateMetricTaskRequestWithoutParam() *UpdateMetricTaskRequest
This constructor has better compatible ability when API parameters changed
func (UpdateMetricTaskRequest) GetRegionId ¶ added in v1.13.0
func (r UpdateMetricTaskRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*UpdateMetricTaskRequest) SetAggregate ¶ added in v1.56.0
func (r *UpdateMetricTaskRequest) SetAggregate(aggregate string)
param aggregate: 聚合函数,支持 count sum max min avg; 配置方式(SettingType) 为 空或visual 时,必填;(Optional)
func (*UpdateMetricTaskRequest) SetCustomUnit ¶ added in v1.13.0
func (r *UpdateMetricTaskRequest) SetCustomUnit(customUnit string)
param customUnit: 自定义单位(Required)
func (*UpdateMetricTaskRequest) SetDataField ¶ added in v1.56.0
func (r *UpdateMetricTaskRequest) SetDataField(dataField string)
param dataField: 查询字段,支持 英文字母 数字 下划线 中划线 点(中文日志原文和各产品线的key); 配置方式(SettingType) 为 空或visual 时,必填;(Optional)
func (*UpdateMetricTaskRequest) SetFilterContent ¶ added in v1.13.0
func (r *UpdateMetricTaskRequest) SetFilterContent(filterContent string)
param filterContent: 过滤语法,可以为空(Optional)
func (*UpdateMetricTaskRequest) SetFilterOpen ¶ added in v1.13.0
func (r *UpdateMetricTaskRequest) SetFilterOpen(filterOpen string)
param filterOpen: 是否打开过滤; 配置方式(SettingType) 为 空或visual 时,必填;(Optional)
func (*UpdateMetricTaskRequest) SetFilterType ¶ added in v1.13.0
func (r *UpdateMetricTaskRequest) SetFilterType(filterType string)
param filterType: 过滤类型,只能是fulltext和 advance; 配置方式(SettingType) 为 空或visual 时,必填;(Optional)
func (*UpdateMetricTaskRequest) SetLogmetrictaskUID ¶ added in v1.13.0
func (r *UpdateMetricTaskRequest) SetLogmetrictaskUID(logmetrictaskUID string)
param logmetrictaskUID: (Required)
func (*UpdateMetricTaskRequest) SetLogsetUID ¶ added in v1.13.0
func (r *UpdateMetricTaskRequest) SetLogsetUID(logsetUID string)
param logsetUID: 日志集 UID(Required)
func (*UpdateMetricTaskRequest) SetLogtopicUID ¶ added in v1.13.0
func (r *UpdateMetricTaskRequest) SetLogtopicUID(logtopicUID string)
param logtopicUID: 日志主题 UID(Required)
func (*UpdateMetricTaskRequest) SetMetric ¶ added in v1.56.0
func (r *UpdateMetricTaskRequest) SetMetric(metric string)
param metric: 监控项 , 支持大小写英文字母 下划线 数字 点,且不超过255byte(不支持中划线); 配置方式(SettingType) 为 空或visual 时,必填;(Optional)
func (*UpdateMetricTaskRequest) SetName ¶ added in v1.13.0
func (r *UpdateMetricTaskRequest) SetName(name string)
param name: 监控任务名称,同一日志主题下唯一,支持中文 大小写英文字母 下划线 中划线 数字,且不超过32(Required)
func (*UpdateMetricTaskRequest) SetRegionId ¶ added in v1.13.0
func (r *UpdateMetricTaskRequest) SetRegionId(regionId string)
param regionId: 地域 Id(Required)
func (*UpdateMetricTaskRequest) SetSettingType ¶ added in v1.56.0
func (r *UpdateMetricTaskRequest) SetSettingType(settingType string)
param settingType: 配置方式: 可选参数;枚举值 visual,sql;分别代表可视化配置及sql配置方式,传空表示可视化配置;(Optional)
func (*UpdateMetricTaskRequest) SetSqlSpec ¶ added in v1.56.0
func (r *UpdateMetricTaskRequest) SetSqlSpec(sqlSpec *logs.MetricTaskSqlSpec)
param sqlSpec: (Optional)
func (*UpdateMetricTaskRequest) SetUnit ¶ added in v1.13.0
func (r *UpdateMetricTaskRequest) SetUnit(unit string)
param unit: 单位(Required)
type UpdateMetricTaskResponse ¶ added in v1.13.0
type UpdateMetricTaskResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result UpdateMetricTaskResult `json:"result"`
}
type UpdateMetricTaskResult ¶ added in v1.13.0
type UpdateMetricTaskResult struct {
Suc string `json:"suc"`
}
type UpdateParserRequest ¶ added in v1.56.0
type UpdateParserRequest struct {
core.JDCloudRequest
/* 地域 Id */
RegionId string `json:"regionId"`
/* 日志主题 UID */
LogtopicUID string `json:"logtopicUID"`
/* 行级索引分词符。 Rune 数组 (Optional) */
IndexToken []string `json:"indexToken"`
/* */
ParserFields []logs.ParserField `json:"parserFields"`
/* 解析类型。oneline - 单行,split - 分割, json - json, regexp - regexp */
ParserMode string `json:"parserMode"`
/* 解析语法 (Optional) */
ParserPattern *string `json:"parserPattern"`
/* 日志样例 (Optional) */
ParserSample *string `json:"parserSample"`
/* 预处理任务列表。按照数组的顺序执行。 (Optional) */
Pipelines []logs.PipelineSpec `json:"pipelines"`
/* 是否保留原始内容字段 (Optional) */
ReserveOriginContent *bool `json:"reserveOriginContent"`
}
func NewUpdateParserRequest ¶ added in v1.56.0
func NewUpdateParserRequest( regionId string, logtopicUID string, parserFields []logs.ParserField, parserMode string, ) *UpdateParserRequest
* param regionId: 地域 Id (Required) * param logtopicUID: 日志主题 UID (Required) * param parserFields: (Required) * param parserMode: 解析类型。oneline - 单行,split - 分割, json - json, regexp - regexp (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewUpdateParserRequestWithAllParams ¶ added in v1.56.0
func NewUpdateParserRequestWithAllParams( regionId string, logtopicUID string, indexToken []string, parserFields []logs.ParserField, parserMode string, parserPattern *string, parserSample *string, pipelines []logs.PipelineSpec, reserveOriginContent *bool, ) *UpdateParserRequest
* param regionId: 地域 Id (Required) * param logtopicUID: 日志主题 UID (Required) * param indexToken: 行级索引分词符。 Rune 数组 (Optional) * param parserFields: (Required) * param parserMode: 解析类型。oneline - 单行,split - 分割, json - json, regexp - regexp (Required) * param parserPattern: 解析语法 (Optional) * param parserSample: 日志样例 (Optional) * param pipelines: 预处理任务列表。按照数组的顺序执行。 (Optional) * param reserveOriginContent: 是否保留原始内容字段 (Optional)
func NewUpdateParserRequestWithoutParam ¶ added in v1.56.0
func NewUpdateParserRequestWithoutParam() *UpdateParserRequest
This constructor has better compatible ability when API parameters changed
func (UpdateParserRequest) GetRegionId ¶ added in v1.56.0
func (r UpdateParserRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*UpdateParserRequest) SetIndexToken ¶ added in v1.63.0
func (r *UpdateParserRequest) SetIndexToken(indexToken []string)
param indexToken: 行级索引分词符。 Rune 数组(Optional)
func (*UpdateParserRequest) SetLogtopicUID ¶ added in v1.56.0
func (r *UpdateParserRequest) SetLogtopicUID(logtopicUID string)
param logtopicUID: 日志主题 UID(Required)
func (*UpdateParserRequest) SetParserFields ¶ added in v1.56.0
func (r *UpdateParserRequest) SetParserFields(parserFields []logs.ParserField)
param parserFields: (Required)
func (*UpdateParserRequest) SetParserMode ¶ added in v1.56.0
func (r *UpdateParserRequest) SetParserMode(parserMode string)
param parserMode: 解析类型。oneline - 单行,split - 分割, json - json, regexp - regexp(Required)
func (*UpdateParserRequest) SetParserPattern ¶ added in v1.56.0
func (r *UpdateParserRequest) SetParserPattern(parserPattern string)
param parserPattern: 解析语法(Optional)
func (*UpdateParserRequest) SetParserSample ¶ added in v1.56.0
func (r *UpdateParserRequest) SetParserSample(parserSample string)
param parserSample: 日志样例(Optional)
func (*UpdateParserRequest) SetPipelines ¶ added in v1.56.0
func (r *UpdateParserRequest) SetPipelines(pipelines []logs.PipelineSpec)
param pipelines: 预处理任务列表。按照数组的顺序执行。(Optional)
func (*UpdateParserRequest) SetRegionId ¶ added in v1.56.0
func (r *UpdateParserRequest) SetRegionId(regionId string)
param regionId: 地域 Id(Required)
func (*UpdateParserRequest) SetReserveOriginContent ¶ added in v1.63.0
func (r *UpdateParserRequest) SetReserveOriginContent(reserveOriginContent bool)
param reserveOriginContent: 是否保留原始内容字段(Optional)
type UpdateParserResponse ¶ added in v1.56.0
type UpdateParserResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result UpdateParserResult `json:"result"`
}
type UpdateParserResult ¶ added in v1.56.0
type UpdateParserResult struct {
}
type UpdateSubscribeRequest ¶ added in v1.56.0
type UpdateSubscribeRequest struct {
core.JDCloudRequest
/* 地域 Id */
RegionId string `json:"regionId"`
/* 日志集 UID */
LogsetUID string `json:"logsetUID"`
/* 日志主题 UID */
LogtopicUID string `json:"logtopicUID"`
/* 日志订阅状态,0表示未创建,1表示刚创建,2表示开启,3表示关闭 (Optional) */
Status *int64 `json:"status"`
}
func NewUpdateSubscribeRequest ¶ added in v1.56.0
func NewUpdateSubscribeRequest( regionId string, logsetUID string, logtopicUID string, ) *UpdateSubscribeRequest
* param regionId: 地域 Id (Required) * param logsetUID: 日志集 UID (Required) * param logtopicUID: 日志主题 UID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewUpdateSubscribeRequestWithAllParams ¶ added in v1.56.0
func NewUpdateSubscribeRequestWithAllParams( regionId string, logsetUID string, logtopicUID string, status *int64, ) *UpdateSubscribeRequest
* param regionId: 地域 Id (Required) * param logsetUID: 日志集 UID (Required) * param logtopicUID: 日志主题 UID (Required) * param status: 日志订阅状态,0表示未创建,1表示刚创建,2表示开启,3表示关闭 (Optional)
func NewUpdateSubscribeRequestWithoutParam ¶ added in v1.56.0
func NewUpdateSubscribeRequestWithoutParam() *UpdateSubscribeRequest
This constructor has better compatible ability when API parameters changed
func (UpdateSubscribeRequest) GetRegionId ¶ added in v1.56.0
func (r UpdateSubscribeRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*UpdateSubscribeRequest) SetLogsetUID ¶ added in v1.56.0
func (r *UpdateSubscribeRequest) SetLogsetUID(logsetUID string)
param logsetUID: 日志集 UID(Required)
func (*UpdateSubscribeRequest) SetLogtopicUID ¶ added in v1.56.0
func (r *UpdateSubscribeRequest) SetLogtopicUID(logtopicUID string)
param logtopicUID: 日志主题 UID(Required)
func (*UpdateSubscribeRequest) SetRegionId ¶ added in v1.56.0
func (r *UpdateSubscribeRequest) SetRegionId(regionId string)
param regionId: 地域 Id(Required)
func (*UpdateSubscribeRequest) SetStatus ¶ added in v1.56.0
func (r *UpdateSubscribeRequest) SetStatus(status int64)
param status: 日志订阅状态,0表示未创建,1表示刚创建,2表示开启,3表示关闭(Optional)
type UpdateSubscribeResponse ¶ added in v1.56.0
type UpdateSubscribeResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result UpdateSubscribeResult `json:"result"`
}
type UpdateSubscribeResult ¶ added in v1.56.0
type UpdateSubscribeResult struct {
}
type ValidateParserRequest ¶ added in v1.56.0
type ValidateParserRequest struct {
core.JDCloudRequest
/* 解析类型。oneline - 单行,split - 分割, json - json, regexp - regexp */
ParserMode string `json:"parserMode"`
/* 解析语法 (Optional) */
ParserPattern *string `json:"parserPattern"`
/* 日志样例 (Optional) */
ParserSample *string `json:"parserSample"`
/* 预处理任务列表。按照数组的顺序执行。 (Optional) */
Pipelines []logs.PipelineSpec `json:"pipelines"`
/* 是否保留原始内容字段 (Optional) */
ReserveOriginContent *bool `json:"reserveOriginContent"`
}
func NewValidateParserRequest ¶ added in v1.56.0
func NewValidateParserRequest( parserMode string, ) *ValidateParserRequest
* param parserMode: 解析类型。oneline - 单行,split - 分割, json - json, regexp - regexp (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewValidateParserRequestWithAllParams ¶ added in v1.56.0
func NewValidateParserRequestWithAllParams( parserMode string, parserPattern *string, parserSample *string, pipelines []logs.PipelineSpec, reserveOriginContent *bool, ) *ValidateParserRequest
* param parserMode: 解析类型。oneline - 单行,split - 分割, json - json, regexp - regexp (Required) * param parserPattern: 解析语法 (Optional) * param parserSample: 日志样例 (Optional) * param pipelines: 预处理任务列表。按照数组的顺序执行。 (Optional) * param reserveOriginContent: 是否保留原始内容字段 (Optional)
func NewValidateParserRequestWithoutParam ¶ added in v1.56.0
func NewValidateParserRequestWithoutParam() *ValidateParserRequest
This constructor has better compatible ability when API parameters changed
func (ValidateParserRequest) GetRegionId ¶ added in v1.56.0
func (r ValidateParserRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*ValidateParserRequest) SetParserMode ¶ added in v1.56.0
func (r *ValidateParserRequest) SetParserMode(parserMode string)
param parserMode: 解析类型。oneline - 单行,split - 分割, json - json, regexp - regexp(Required)
func (*ValidateParserRequest) SetParserPattern ¶ added in v1.56.0
func (r *ValidateParserRequest) SetParserPattern(parserPattern string)
param parserPattern: 解析语法(Optional)
func (*ValidateParserRequest) SetParserSample ¶ added in v1.56.0
func (r *ValidateParserRequest) SetParserSample(parserSample string)
param parserSample: 日志样例(Optional)
func (*ValidateParserRequest) SetPipelines ¶ added in v1.56.0
func (r *ValidateParserRequest) SetPipelines(pipelines []logs.PipelineSpec)
param pipelines: 预处理任务列表。按照数组的顺序执行。(Optional)
func (*ValidateParserRequest) SetReserveOriginContent ¶ added in v1.63.0
func (r *ValidateParserRequest) SetReserveOriginContent(reserveOriginContent bool)
param reserveOriginContent: 是否保留原始内容字段(Optional)
type ValidateParserResponse ¶ added in v1.56.0
type ValidateParserResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result ValidateParserResult `json:"result"`
}
type ValidateParserResult ¶ added in v1.56.0
type ValidateParserResult struct {
}
Source Files
¶
- CancelLogDownloadTask.go
- CreateCollectInfo.go
- CreateIndexOption.go
- CreateLogDownloadTask.go
- CreateLogset.go
- CreateLogtopic.go
- CreateMetricTask.go
- CreateParser.go
- CreateSubscribe.go
- DeleteCollectInfo.go
- DeleteIndexOption.go
- DeleteLogset.go
- DeleteLogtopic.go
- DeleteMetricTask.go
- DescribeCollectInfo.go
- DescribeCollectInfoBatch.go
- DescribeCollectInfos.go
- DescribeCollectResources.go
- DescribeIndexOption.go
- DescribeLogset.go
- DescribeLogsets.go
- DescribeLogtopic.go
- DescribeLogtopics.go
- DescribeLogtopicsGlobal.go
- DescribeMetricTask.go
- DescribeMetricTasks.go
- DescribeParser.go
- DescribeSubscribe.go
- GetLogDownloadTasks.go
- GetLogs.go
- Histograms.go
- InstanceCollectConfigList.go
- InstanceCollectConfigModify.go
- K8sAgentHeartbeat.go
- K8sDispatchConf.go
- K8sDispatchConfNew.go
- K8sWatchHeartbeat.go
- K8sconfigNewV2.go
- LogAggregate.go
- LogCount.go
- LogDetail.go
- LogDetailPublic.go
- LogSearch.go
- LogSearchId.go
- ProductPodChange.go
- ProductPodLabelSelect.go
- Push.go
- Search.go
- TestMetricTask.go
- UpdateCollectInfo.go
- UpdateCollectInfoStatus.go
- UpdateCollectResources.go
- UpdateIndexOption.go
- UpdateLogset.go
- UpdateLogtopic.go
- UpdateMetricTask.go
- UpdateParser.go
- UpdateSubscribe.go
- ValidateParser.go