Documentation ¶
Index ¶
- Variables
- func AlarmPolicyRule() map[string]*schema.Schema
- func DataSourceTencentCloudMonitorAlarmAllNamespaces() *schema.Resource
- func DataSourceTencentCloudMonitorAlarmBasicAlarms() *schema.Resource
- func DataSourceTencentCloudMonitorAlarmBasicMetric() *schema.Resource
- func DataSourceTencentCloudMonitorAlarmConditionsTemplate() *schema.Resource
- func DataSourceTencentCloudMonitorAlarmHistory() *schema.Resource
- func DataSourceTencentCloudMonitorAlarmMetric() *schema.Resource
- func DataSourceTencentCloudMonitorAlarmMonitorType() *schema.Resource
- func DataSourceTencentCloudMonitorAlarmNoticeCallbacks() *schema.Resource
- func DataSourceTencentCloudMonitorAlarmNotices() *schema.Resource
- func DataSourceTencentCloudMonitorAlarmPolicy() *schema.Resource
- func DataSourceTencentCloudMonitorBindingObjects() *schema.Resource
- func DataSourceTencentCloudMonitorData() *schema.Resource
- func DataSourceTencentCloudMonitorPolicyConditions() *schema.Resource
- func DataSourceTencentCloudMonitorPolicyGroups() *schema.Resource
- func DataSourceTencentCloudMonitorProductEvent() *schema.Resource
- func DataSourceTencentCloudMonitorProductNamespace() *schema.Resource
- func DataSourceTencentCloudMonitorStatisticData() *schema.Resource
- func ResourceTencentCloudMonitorAlarmNotice() *schema.Resource
- func ResourceTencentCloudMonitorAlarmPolicy() *schema.Resource
- func ResourceTencentCloudMonitorAlarmPolicySetDefault() *schema.Resource
- func ResourceTencentCloudMonitorBindingAlarmReceiver() *schema.Resource
- func ResourceTencentCloudMonitorBindingObject() *schema.Resource
- func ResourceTencentCloudMonitorPolicyBindingObject() *schema.Resource
- func ResourceTencentCloudMonitorPolicyGroup() *schema.Resource
- type MonitorService
- func (me *MonitorService) CheckCanCreateMysqlROInstance(ctx context.Context, mysqlId string) (can bool, errRet error)
- func (me *MonitorService) CleanGrafanaInstanceById(ctx context.Context, instanceId string) (errRet error)
- func (me *MonitorService) DeleteMonitorAlarmNoticeById(ctx context.Context, Id string) (errRet error)
- func (me *MonitorService) DeleteMonitorGrafanaInstanceById(ctx context.Context, instanceId string) (errRet error)
- func (me *MonitorService) DeleteMonitorGrafanaIntegrationById(ctx context.Context, integrationId, instanceId string) (errRet error)
- func (me *MonitorService) DeleteMonitorGrafanaNotificationChannelById(ctx context.Context, channelId, instanceId string) (errRet error)
- func (me *MonitorService) DeleteMonitorGrafanaPluginById(ctx context.Context, instanceId, pluginId string) (errRet error)
- func (me *MonitorService) DeleteMonitorManageGrafanaAttachmentById(ctx context.Context, instanceId string) (errRet error)
- func (me *MonitorService) DeleteMonitorRecordingRule(ctx context.Context, instanceId string, recordingRuleId string) (errRet error)
- func (me *MonitorService) DeleteMonitorSsoAccountById(ctx context.Context, instanceId, userId string) (errRet error)
- func (me *MonitorService) DeleteMonitorTmpAlertGroupById(ctx context.Context, instanceId, groupId string) (errRet error)
- func (me *MonitorService) DeleteMonitorTmpAlertRule(ctx context.Context, instanceId string, ruleId string) (errRet error)
- func (me *MonitorService) DeleteMonitorTmpExporterIntegrationById(ctx context.Context, tmpExporterIntegrationId string) (errRet error)
- func (me *MonitorService) DeleteMonitorTmpInstanceById(ctx context.Context, tmpInstanceId string) (errRet error)
- func (me *MonitorService) DeleteMonitorTmpScrapeJobById(ctx context.Context, tmpScrapeJobId string) (errRet error)
- func (me *MonitorService) DeletePrometheusClusterAgent(ctx context.Context, instanceId, clusterId, clusterType string) (errRet error)
- func (me *MonitorService) DeletePrometheusRecordRuleYaml(ctx context.Context, id, name string) (errRet error)
- func (me *MonitorService) DeleteTkeTmpAlertPolicyById(ctx context.Context, instanceId, tmpAlertPolicyId string) (errRet error)
- func (me *MonitorService) DeleteTkeTmpConfigByName(ctx context.Context, configId string, ServiceMonitors []*string, ...) (errRet error)
- func (me *MonitorService) DeleteTmpTkeTemplate(ctx context.Context, tempId string) (errRet error)
- func (me *MonitorService) DescribeAlarmNoticeById(ctx context.Context, alarmmap map[string]interface{}) (noticeIds []*monitor.AlarmNotice, errRet error)
- func (me *MonitorService) DescribeAlarmPolicyById(ctx context.Context, policyId string) (info *monitor.AlarmPolicy, errRet error)
- func (me *MonitorService) DescribeBindingAlarmPolicyObjectList(ctx context.Context, policyId string) (objects []*monitor.DescribeBindingPolicyObjectListInstance, errRet error)
- func (me *MonitorService) DescribeBindingPolicyObjectList(ctx context.Context, groupId int64) (objects []*monitor.DescribeBindingPolicyObjectListInstance, errRet error)
- func (me *MonitorService) DescribeMonitorAlarmAllNamespacesByFilter(ctx context.Context, param map[string]interface{}) (qce, custom []*monitor.CommonNamespace, common []*monitor.CommonNamespaceNew, ...)
- func (me *MonitorService) DescribeMonitorAlarmBasicAlarmsByFilter(ctx context.Context, param map[string]interface{}) (alarms []*monitor.DescribeBasicAlarmListAlarms, warning *string, errRet error)
- func (me *MonitorService) DescribeMonitorAlarmBasicMetricByFilter(ctx context.Context, param map[string]interface{}) (metric []*monitor.MetricSet, errRet error)
- func (me *MonitorService) DescribeMonitorAlarmConditionsTemplateByFilter(ctx context.Context, param map[string]interface{}) (alarmConditionsTemplate []*monitor.TemplateGroup, errRet error)
- func (me *MonitorService) DescribeMonitorAlarmHistoryByFilter(ctx context.Context, param map[string]interface{}) (alarmHistory []*monitor.AlarmHistory, errRet error)
- func (me *MonitorService) DescribeMonitorAlarmMetricByFilter(ctx context.Context, param map[string]interface{}) (alarmMetric []*monitor.Metric, errRet error)
- func (me *MonitorService) DescribeMonitorAlarmMonitorTypeByFilter(ctx context.Context, param map[string]interface{}) (alarmMonitor *monitor.DescribeMonitorTypesResponseParams, errRet error)
- func (me *MonitorService) DescribeMonitorAlarmNoticeCallbacksByFilter(ctx context.Context) (alarmNoticeCallbacks []*monitor.URLNotice, errRet error)
- func (me *MonitorService) DescribeMonitorAlarmPolicyByFilter(ctx context.Context, param map[string]interface{}) (alarmPolicy []*monitor.AlarmPolicy, errRet error)
- func (me *MonitorService) DescribeMonitorGrafanaDnsConfigById(ctx context.Context, instanceId string) (grafanaDnsConfig *monitor.DescribeDNSConfigResponseParams, errRet error)
- func (me *MonitorService) DescribeMonitorGrafanaEnvConfigById(ctx context.Context, instanceId string) (grafanaEnvConfig *monitor.DescribeGrafanaEnvironmentsResponseParams, ...)
- func (me *MonitorService) DescribeMonitorGrafanaInstance(ctx context.Context, instanceId string) (grafanaInstance *monitor.GrafanaInstanceInfo, errRet error)
- func (me *MonitorService) DescribeMonitorGrafanaIntegration(ctx context.Context, integrationId, instanceId string) (grafanaIntegration *monitor.GrafanaIntegrationConfig, errRet error)
- func (me *MonitorService) DescribeMonitorGrafanaNotificationChannel(ctx context.Context, channelId, instanceId string) (grafanaNotificationChannel *monitor.GrafanaChannel, errRet error)
- func (me *MonitorService) DescribeMonitorGrafanaPlugin(ctx context.Context, instanceId, pluginId string) (grafanaPlugin *monitor.GrafanaPlugin, errRet error)
- func (me *MonitorService) DescribeMonitorGrafanaPluginOverviewsByFilter(ctx context.Context, param map[string]interface{}) (pluginOverviews []*monitor.GrafanaPlugin, errRet error)
- func (me *MonitorService) DescribeMonitorGrafanaWhitelistConfigById(ctx context.Context, instanceId string) (grafanaWhitelistConfig *monitor.DescribeGrafanaWhiteListResponseParams, ...)
- func (me *MonitorService) DescribeMonitorManageGrafanaAttachmentById(ctx context.Context, instanceId string) (manageGrafanaAttachment *monitor.PrometheusInstancesItem, errRet error)
- func (me *MonitorService) DescribeMonitorRecordingRuleById(ctx context.Context, instanceId string, recordingRuleId string) (instance *monitor.RecordingRuleSet, errRet error)
- func (me *MonitorService) DescribeMonitorSsoAccount(ctx context.Context, instanceId, userId string) (ssoAccount *monitor.GrafanaAccountInfo, errRet error)
- func (me *MonitorService) DescribeMonitorStatisticDataByFilter(ctx context.Context, param map[string]interface{}) (statisticData *monitor.DescribeStatisticDataResponseParams, errRet error)
- func (me *MonitorService) DescribeMonitorTmpAlertGroupById(ctx context.Context, instanceId, groupId string) (tmpAlertGroup *monitor.PrometheusAlertGroupSet, errRet error)
- func (me *MonitorService) DescribeMonitorTmpAlertRuleById(ctx context.Context, instanceId string, tmpAlertRuleId string) (instance *monitor.PrometheusRuleSet, errRet error)
- func (me *MonitorService) DescribeMonitorTmpCvmAgent(ctx context.Context, instanceId string, tmpCvmAgentId string) (tmpCvmAgent *monitor.PrometheusAgent, errRet error)
- func (me *MonitorService) DescribeMonitorTmpExporterIntegration(ctx context.Context, tmpExporterIntegrationId string) (tmpExporterIntegration *monitor.IntegrationConfiguration, errRet error)
- func (me *MonitorService) DescribeMonitorTmpGrafanaConfigById(ctx context.Context, instanceId string) (tmpGrafanaConfig *monitor.DescribeGrafanaConfigResponseParams, errRet error)
- func (me *MonitorService) DescribeMonitorTmpInstance(ctx context.Context, tmpInstanceId string) (tmpInstance *monitor.PrometheusInstancesItem, errRet error)
- func (me *MonitorService) DescribeMonitorTmpInstancesByFilter(ctx context.Context, param map[string]interface{}) (tmpInstances []*monitor.PrometheusInstancesItem, errRet error)
- func (me *MonitorService) DescribeMonitorTmpRegionsByFilter(ctx context.Context, param map[string]interface{}) (tmpRegions []*monitor.PrometheusRegionItem, errRet error)
- func (me *MonitorService) DescribeMonitorTmpScrapeJob(ctx context.Context, tmpScrapeJobId string) (tmpScrapeJob *monitor.PrometheusScrapeJob, errRet error)
- func (me *MonitorService) DescribePolicyGroup(ctx context.Context, groupId int64) (info *monitor.DescribePolicyGroupListGroup, errRet error)
- func (me *MonitorService) DescribePolicyGroupDetailInfo(ctx context.Context, groupId int64) (response *monitor.DescribePolicyGroupInfoResponse, errRet error)
- func (me *MonitorService) DescribePrometheusRecordRuleByName(ctx context.Context, id, name string) (ret *monitor.DescribePrometheusRecordRulesResponse, errRet error)
- func (me *MonitorService) DescribePrometheusTempSync(ctx context.Context, templateId string) (targets []*monitor.PrometheusTemplateSyncTarget, errRet error)
- func (me *MonitorService) DescribeTkeTmpAlertPolicy(ctx context.Context, instanceId, tmpAlertPolicyId string) (tmpAlertPolicy *monitor.PrometheusAlertPolicyItem, errRet error)
- func (me *MonitorService) DescribeTkeTmpBasicConfigById(ctx context.Context, clusterId, clusterType, instanceId string) (respParams *monitor.DescribePrometheusConfigResponseParams, errRet error)
- func (me *MonitorService) DescribeTkeTmpConfigById(ctx context.Context, configId string) (respParams *monitor.DescribePrometheusConfigResponseParams, errRet error)
- func (me *MonitorService) DescribeTkeTmpGlobalNotification(ctx context.Context, instanceId string) (tmpNotification *monitor.PrometheusNotificationItem, errRet error)
- func (me *MonitorService) DescribeTmpTkeClusterAgentsById(ctx context.Context, instanceId, clusterId, clusterType string) (agents *monitor.PrometheusAgentOverview, errRet error)
- func (me *MonitorService) DescribeTmpTkeTemplateById(ctx context.Context, templateId string) (template *monitor.PrometheusTemp, errRet error)
- func (me *MonitorService) FullRegions() (regions []string, errRet error)
- func (me *MonitorService) GetConfigType(name string, respParams *monitor.DescribePrometheusConfigResponseParams) (configType string, config *monitor.PrometheusConfigItem, err error)
- func (me *MonitorService) IsolateMonitorTmpInstanceById(ctx context.Context, tmpInstanceId string) (errRet error)
- func (me *MonitorService) ModifyTkeTmpGlobalNotification(ctx context.Context, instanceId string, ...) (response *monitor.ModifyPrometheusGlobalNotificationResponse, errRet error)
- func (me *MonitorService) ParseConfigId(configId string) (ret *svctke.PrometheusConfigIds, err error)
- type PrometheusConfig
Constants ¶
This section is empty.
Variables ¶
View Source
var MonitorRegionMap = map[string]string{
"ap-guangzhou": "gz",
"ap-shenzhen-fsi": "szjr",
"ap-guangzhou-open": "gzopen",
"ap-shenzhen": "szx",
"ap-shanghai": "sh",
"ap-shanghai-fsi": "shjr",
"ap-nanjing": "nj",
"ap-jinan-ec": "jnec",
"ap-hangzhou-ec": "hzec",
"ap-fuzhou-ec": "fzec",
"ap-beijing": "bj",
"ap-tianjin": "tsn",
"ap-shijiazhuang-ec": "sjwec",
"ap-beijing-fsi": "bjjr",
"ap-wuhan-ec": "whec",
"ap-changsha-ec": "csec",
"ap-chengdu": "cd",
"ap-chongqing": "cq",
"ap-taipei": "tpe",
"ap-hongkong": "hk",
"ap-singapore": "sg",
"ap-bangkok": "th",
"ap-mumbai": "in",
"ap-seoul": "kr",
"ap-tokyo": "jp",
"na-siliconvalley": "usw",
"na-ashburn": "use",
"na-toronto": "ca",
"eu-frankfurt": "de",
"eu-moscow": "ru",
"ap-qingyuan": "qy",
"ap-xibei-ec": "xbec",
"ap-hefei-ec": "hfeec",
"ap-jakarta": "jkt",
"sa-saopaulo": "sao",
}
regions in monitor https://tapd.woa.com/qcloud_api/markdown_wikis/show/#1210161711000430909
Functions ¶
func AlarmPolicyRule ¶
func DataSourceTencentCloudMonitorStatisticData ¶ added in v1.81.62
func ResourceTencentCloudMonitorPolicyGroup ¶ added in v1.81.62
Types ¶
type MonitorService ¶
type MonitorService struct {
// contains filtered or unexported fields
}
func NewMonitorService ¶ added in v1.81.62
func NewMonitorService(client *connectivity.TencentCloudClient) MonitorService
func (*MonitorService) CheckCanCreateMysqlROInstance ¶
func (*MonitorService) CleanGrafanaInstanceById ¶
func (me *MonitorService) CleanGrafanaInstanceById(ctx context.Context, instanceId string) (errRet error)
func (*MonitorService) DeleteMonitorAlarmNoticeById ¶
func (me *MonitorService) DeleteMonitorAlarmNoticeById(ctx context.Context, Id string) (errRet error)
func (*MonitorService) DeleteMonitorGrafanaInstanceById ¶
func (me *MonitorService) DeleteMonitorGrafanaInstanceById(ctx context.Context, instanceId string) (errRet error)
func (*MonitorService) DeleteMonitorGrafanaIntegrationById ¶
func (me *MonitorService) DeleteMonitorGrafanaIntegrationById(ctx context.Context, integrationId, instanceId string) (errRet error)
func (*MonitorService) DeleteMonitorGrafanaNotificationChannelById ¶
func (me *MonitorService) DeleteMonitorGrafanaNotificationChannelById(ctx context.Context, channelId, instanceId string) (errRet error)
func (*MonitorService) DeleteMonitorGrafanaPluginById ¶
func (me *MonitorService) DeleteMonitorGrafanaPluginById(ctx context.Context, instanceId, pluginId string) (errRet error)
func (*MonitorService) DeleteMonitorManageGrafanaAttachmentById ¶
func (me *MonitorService) DeleteMonitorManageGrafanaAttachmentById(ctx context.Context, instanceId string) (errRet error)
func (*MonitorService) DeleteMonitorRecordingRule ¶
func (*MonitorService) DeleteMonitorSsoAccountById ¶
func (me *MonitorService) DeleteMonitorSsoAccountById(ctx context.Context, instanceId, userId string) (errRet error)
func (*MonitorService) DeleteMonitorTmpAlertGroupById ¶ added in v1.81.70
func (me *MonitorService) DeleteMonitorTmpAlertGroupById(ctx context.Context, instanceId, groupId string) (errRet error)
func (*MonitorService) DeleteMonitorTmpAlertRule ¶
func (*MonitorService) DeleteMonitorTmpExporterIntegrationById ¶
func (me *MonitorService) DeleteMonitorTmpExporterIntegrationById(ctx context.Context, tmpExporterIntegrationId string) (errRet error)
func (*MonitorService) DeleteMonitorTmpInstanceById ¶
func (me *MonitorService) DeleteMonitorTmpInstanceById(ctx context.Context, tmpInstanceId string) (errRet error)
func (*MonitorService) DeleteMonitorTmpScrapeJobById ¶
func (me *MonitorService) DeleteMonitorTmpScrapeJobById(ctx context.Context, tmpScrapeJobId string) (errRet error)
func (*MonitorService) DeletePrometheusClusterAgent ¶
func (me *MonitorService) DeletePrometheusClusterAgent(ctx context.Context, instanceId, clusterId, clusterType string) (errRet error)
func (*MonitorService) DeletePrometheusRecordRuleYaml ¶
func (me *MonitorService) DeletePrometheusRecordRuleYaml(ctx context.Context, id, name string) (errRet error)
func (*MonitorService) DeleteTkeTmpAlertPolicyById ¶
func (me *MonitorService) DeleteTkeTmpAlertPolicyById(ctx context.Context, instanceId, tmpAlertPolicyId string) (errRet error)
func (*MonitorService) DeleteTkeTmpConfigByName ¶
func (*MonitorService) DeleteTmpTkeTemplate ¶
func (me *MonitorService) DeleteTmpTkeTemplate(ctx context.Context, tempId string) (errRet error)
func (*MonitorService) DescribeAlarmNoticeById ¶
func (me *MonitorService) DescribeAlarmNoticeById(ctx context.Context, alarmmap map[string]interface{}) (noticeIds []*monitor.AlarmNotice, errRet error)
func (*MonitorService) DescribeAlarmPolicyById ¶
func (me *MonitorService) DescribeAlarmPolicyById(ctx context.Context, policyId string) (info *monitor.AlarmPolicy, errRet error)
func (*MonitorService) DescribeBindingAlarmPolicyObjectList ¶
func (me *MonitorService) DescribeBindingAlarmPolicyObjectList(ctx context.Context, policyId string) ( objects []*monitor.DescribeBindingPolicyObjectListInstance, errRet error)
func (*MonitorService) DescribeBindingPolicyObjectList ¶
func (me *MonitorService) DescribeBindingPolicyObjectList(ctx context.Context, groupId int64) (objects []*monitor.DescribeBindingPolicyObjectListInstance, errRet error)
func (*MonitorService) DescribeMonitorAlarmAllNamespacesByFilter ¶
func (me *MonitorService) DescribeMonitorAlarmAllNamespacesByFilter(ctx context.Context, param map[string]interface{}) ( qce, custom []*monitor.CommonNamespace, common []*monitor.CommonNamespaceNew, errRet error)
func (*MonitorService) DescribeMonitorAlarmBasicAlarmsByFilter ¶
func (me *MonitorService) DescribeMonitorAlarmBasicAlarmsByFilter(ctx context.Context, param map[string]interface{}) (alarms []*monitor.DescribeBasicAlarmListAlarms, warning *string, errRet error)
func (*MonitorService) DescribeMonitorAlarmBasicMetricByFilter ¶
func (*MonitorService) DescribeMonitorAlarmConditionsTemplateByFilter ¶
func (me *MonitorService) DescribeMonitorAlarmConditionsTemplateByFilter(ctx context.Context, param map[string]interface{}) (alarmConditionsTemplate []*monitor.TemplateGroup, errRet error)
func (*MonitorService) DescribeMonitorAlarmHistoryByFilter ¶
func (me *MonitorService) DescribeMonitorAlarmHistoryByFilter(ctx context.Context, param map[string]interface{}) (alarmHistory []*monitor.AlarmHistory, errRet error)
func (*MonitorService) DescribeMonitorAlarmMetricByFilter ¶
func (*MonitorService) DescribeMonitorAlarmMonitorTypeByFilter ¶
func (me *MonitorService) DescribeMonitorAlarmMonitorTypeByFilter(ctx context.Context, param map[string]interface{}) (alarmMonitor *monitor.DescribeMonitorTypesResponseParams, errRet error)
func (*MonitorService) DescribeMonitorAlarmNoticeCallbacksByFilter ¶
func (*MonitorService) DescribeMonitorAlarmPolicyByFilter ¶
func (me *MonitorService) DescribeMonitorAlarmPolicyByFilter(ctx context.Context, param map[string]interface{}) (alarmPolicy []*monitor.AlarmPolicy, errRet error)
func (*MonitorService) DescribeMonitorGrafanaDnsConfigById ¶
func (me *MonitorService) DescribeMonitorGrafanaDnsConfigById(ctx context.Context, instanceId string) (grafanaDnsConfig *monitor.DescribeDNSConfigResponseParams, errRet error)
func (*MonitorService) DescribeMonitorGrafanaEnvConfigById ¶
func (me *MonitorService) DescribeMonitorGrafanaEnvConfigById(ctx context.Context, instanceId string) (grafanaEnvConfig *monitor.DescribeGrafanaEnvironmentsResponseParams, errRet error)
func (*MonitorService) DescribeMonitorGrafanaInstance ¶
func (me *MonitorService) DescribeMonitorGrafanaInstance(ctx context.Context, instanceId string) (grafanaInstance *monitor.GrafanaInstanceInfo, errRet error)
func (*MonitorService) DescribeMonitorGrafanaIntegration ¶
func (me *MonitorService) DescribeMonitorGrafanaIntegration(ctx context.Context, integrationId, instanceId string) (grafanaIntegration *monitor.GrafanaIntegrationConfig, errRet error)
func (*MonitorService) DescribeMonitorGrafanaNotificationChannel ¶
func (me *MonitorService) DescribeMonitorGrafanaNotificationChannel(ctx context.Context, channelId, instanceId string) (grafanaNotificationChannel *monitor.GrafanaChannel, errRet error)
func (*MonitorService) DescribeMonitorGrafanaPlugin ¶
func (me *MonitorService) DescribeMonitorGrafanaPlugin(ctx context.Context, instanceId, pluginId string) (grafanaPlugin *monitor.GrafanaPlugin, errRet error)
func (*MonitorService) DescribeMonitorGrafanaPluginOverviewsByFilter ¶
func (me *MonitorService) DescribeMonitorGrafanaPluginOverviewsByFilter(ctx context.Context, param map[string]interface{}) (pluginOverviews []*monitor.GrafanaPlugin, errRet error)
func (*MonitorService) DescribeMonitorGrafanaWhitelistConfigById ¶
func (me *MonitorService) DescribeMonitorGrafanaWhitelistConfigById(ctx context.Context, instanceId string) (grafanaWhitelistConfig *monitor.DescribeGrafanaWhiteListResponseParams, errRet error)
func (*MonitorService) DescribeMonitorManageGrafanaAttachmentById ¶
func (me *MonitorService) DescribeMonitorManageGrafanaAttachmentById(ctx context.Context, instanceId string) (manageGrafanaAttachment *monitor.PrometheusInstancesItem, errRet error)
func (*MonitorService) DescribeMonitorRecordingRuleById ¶
func (me *MonitorService) DescribeMonitorRecordingRuleById(ctx context.Context, instanceId string, recordingRuleId string) (instance *monitor.RecordingRuleSet, errRet error)
func (*MonitorService) DescribeMonitorSsoAccount ¶
func (me *MonitorService) DescribeMonitorSsoAccount(ctx context.Context, instanceId, userId string) (ssoAccount *monitor.GrafanaAccountInfo, errRet error)
func (*MonitorService) DescribeMonitorStatisticDataByFilter ¶
func (me *MonitorService) DescribeMonitorStatisticDataByFilter(ctx context.Context, param map[string]interface{}) (statisticData *monitor.DescribeStatisticDataResponseParams, errRet error)
func (*MonitorService) DescribeMonitorTmpAlertGroupById ¶ added in v1.81.70
func (me *MonitorService) DescribeMonitorTmpAlertGroupById(ctx context.Context, instanceId, groupId string) (tmpAlertGroup *monitor.PrometheusAlertGroupSet, errRet error)
func (*MonitorService) DescribeMonitorTmpAlertRuleById ¶
func (me *MonitorService) DescribeMonitorTmpAlertRuleById(ctx context.Context, instanceId string, tmpAlertRuleId string) (instance *monitor.PrometheusRuleSet, errRet error)
func (*MonitorService) DescribeMonitorTmpCvmAgent ¶
func (me *MonitorService) DescribeMonitorTmpCvmAgent(ctx context.Context, instanceId string, tmpCvmAgentId string) (tmpCvmAgent *monitor.PrometheusAgent, errRet error)
func (*MonitorService) DescribeMonitorTmpExporterIntegration ¶
func (me *MonitorService) DescribeMonitorTmpExporterIntegration(ctx context.Context, tmpExporterIntegrationId string) (tmpExporterIntegration *monitor.IntegrationConfiguration, errRet error)
func (*MonitorService) DescribeMonitorTmpGrafanaConfigById ¶
func (me *MonitorService) DescribeMonitorTmpGrafanaConfigById(ctx context.Context, instanceId string) (tmpGrafanaConfig *monitor.DescribeGrafanaConfigResponseParams, errRet error)
func (*MonitorService) DescribeMonitorTmpInstance ¶
func (me *MonitorService) DescribeMonitorTmpInstance(ctx context.Context, tmpInstanceId string) (tmpInstance *monitor.PrometheusInstancesItem, errRet error)
DescribeMonitorTmpInstance tmp
func (*MonitorService) DescribeMonitorTmpInstancesByFilter ¶ added in v1.81.109
func (me *MonitorService) DescribeMonitorTmpInstancesByFilter(ctx context.Context, param map[string]interface{}) (tmpInstances []*monitor.PrometheusInstancesItem, errRet error)
func (*MonitorService) DescribeMonitorTmpRegionsByFilter ¶
func (me *MonitorService) DescribeMonitorTmpRegionsByFilter(ctx context.Context, param map[string]interface{}) (tmpRegions []*monitor.PrometheusRegionItem, errRet error)
func (*MonitorService) DescribeMonitorTmpScrapeJob ¶
func (me *MonitorService) DescribeMonitorTmpScrapeJob(ctx context.Context, tmpScrapeJobId string) (tmpScrapeJob *monitor.PrometheusScrapeJob, errRet error)
func (*MonitorService) DescribePolicyGroup ¶
func (me *MonitorService) DescribePolicyGroup(ctx context.Context, groupId int64) (info *monitor.DescribePolicyGroupListGroup, errRet error)
func (*MonitorService) DescribePolicyGroupDetailInfo ¶
func (me *MonitorService) DescribePolicyGroupDetailInfo(ctx context.Context, groupId int64) (response *monitor.DescribePolicyGroupInfoResponse, errRet error)
func (*MonitorService) DescribePrometheusRecordRuleByName ¶
func (me *MonitorService) DescribePrometheusRecordRuleByName(ctx context.Context, id, name string) ( ret *monitor.DescribePrometheusRecordRulesResponse, errRet error)
func (*MonitorService) DescribePrometheusTempSync ¶
func (me *MonitorService) DescribePrometheusTempSync(ctx context.Context, templateId string) (targets []*monitor.PrometheusTemplateSyncTarget, errRet error)
func (*MonitorService) DescribeTkeTmpAlertPolicy ¶
func (me *MonitorService) DescribeTkeTmpAlertPolicy(ctx context.Context, instanceId, tmpAlertPolicyId string) (tmpAlertPolicy *monitor.PrometheusAlertPolicyItem, errRet error)
func (*MonitorService) DescribeTkeTmpBasicConfigById ¶
func (me *MonitorService) DescribeTkeTmpBasicConfigById(ctx context.Context, clusterId, clusterType, instanceId string) (respParams *monitor.DescribePrometheusConfigResponseParams, errRet error)
func (*MonitorService) DescribeTkeTmpConfigById ¶
func (me *MonitorService) DescribeTkeTmpConfigById(ctx context.Context, configId string) (respParams *monitor.DescribePrometheusConfigResponseParams, errRet error)
func (*MonitorService) DescribeTkeTmpGlobalNotification ¶
func (me *MonitorService) DescribeTkeTmpGlobalNotification(ctx context.Context, instanceId string) (tmpNotification *monitor.PrometheusNotificationItem, errRet error)
func (*MonitorService) DescribeTmpTkeClusterAgentsById ¶
func (me *MonitorService) DescribeTmpTkeClusterAgentsById(ctx context.Context, instanceId, clusterId, clusterType string) (agents *monitor.PrometheusAgentOverview, errRet error)
func (*MonitorService) DescribeTmpTkeTemplateById ¶
func (me *MonitorService) DescribeTmpTkeTemplateById(ctx context.Context, templateId string) (template *monitor.PrometheusTemp, errRet error)
func (*MonitorService) FullRegions ¶
func (me *MonitorService) FullRegions() (regions []string, errRet error)
func (*MonitorService) GetConfigType ¶
func (me *MonitorService) GetConfigType(name string, respParams *monitor.DescribePrometheusConfigResponseParams) (configType string, config *monitor.PrometheusConfigItem, err error)
func (*MonitorService) IsolateMonitorTmpInstanceById ¶
func (me *MonitorService) IsolateMonitorTmpInstanceById(ctx context.Context, tmpInstanceId string) (errRet error)
func (*MonitorService) ModifyTkeTmpGlobalNotification ¶
func (me *MonitorService) ModifyTkeTmpGlobalNotification(ctx context.Context, instanceId string, notification monitor.PrometheusNotificationItem) (response *monitor.ModifyPrometheusGlobalNotificationResponse, errRet error)
func (*MonitorService) ParseConfigId ¶ added in v1.81.62
func (me *MonitorService) ParseConfigId(configId string) (ret *svctke.PrometheusConfigIds, err error)
type PrometheusConfig ¶
func (*PrometheusConfig) MarshalToYaml ¶
func (r *PrometheusConfig) MarshalToYaml(config *map[interface{}]interface{}) (string, error)
func (*PrometheusConfig) SetRegex ¶
func (r *PrometheusConfig) SetRegex(configs []interface{}) (*[]interface{}, error)
func (*PrometheusConfig) UnmarshalToMap ¶
func (r *PrometheusConfig) UnmarshalToMap() (map[interface{}]interface{}, error)
Source Files ¶
- data_source_tc_monitor_alarm_all_namespaces.go
- data_source_tc_monitor_alarm_basic_alarms.go
- data_source_tc_monitor_alarm_basic_metric.go
- data_source_tc_monitor_alarm_conditions_template.go
- data_source_tc_monitor_alarm_history.go
- data_source_tc_monitor_alarm_metric.go
- data_source_tc_monitor_alarm_monitor_type.go
- data_source_tc_monitor_alarm_notice_callbacks.go
- data_source_tc_monitor_alarm_notices.go
- data_source_tc_monitor_alarm_policy.go
- data_source_tc_monitor_binding_objects.go
- data_source_tc_monitor_data.go
- data_source_tc_monitor_policy_conditions.go
- data_source_tc_monitor_policy_groups.go
- data_source_tc_monitor_product_event.go
- data_source_tc_monitor_product_namespace.go
- data_source_tc_monitor_statistic_data.go
- extension_monitor.go
- resource_tc_monitor_alarm_notice.go
- resource_tc_monitor_alarm_policy.go
- resource_tc_monitor_alarm_policy_set_default.go
- resource_tc_monitor_binding_object.go
- resource_tc_monitor_binding_receiver.go
- resource_tc_monitor_policy_binding_object.go
- resource_tc_monitor_policy_group.go
- service_tencentcloud_monitor.go
Click to show internal directories.
Click to hide internal directories.