aom

package
v1.71.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 30, 2024 License: MPL-2.0 Imports: 26 Imported by: 3

Documentation

Overview

Generated by PMS #271

Index

Constants

View Source
const (
	AppNotExistsCode = "AOM.30004003"
	ComNotExistsCode = "AOM.30004203"
	EnvNotExistsCode = "AOM.30004303"
)

Variables

This section is empty.

Functions

func AlarmActionRuleSmnTopicsSchema added in v1.49.0

func AlarmActionRuleSmnTopicsSchema() *schema.Resource

func AlarmSilenceRuleSilenceConditionsSchema added in v1.49.0

func AlarmSilenceRuleSilenceConditionsSchema() *schema.Resource

func AlarmSilenceRuleSilenceTimeSchema added in v1.49.0

func AlarmSilenceRuleSilenceTimeSchema() *schema.Resource

func AlarmSilenceRuleconditionsSchema added in v1.49.0

func AlarmSilenceRuleconditionsSchema() *schema.Resource

func DataSourceAggregationMetrics added in v1.68.0

func DataSourceAggregationMetrics() *schema.Resource

@API AOM GET /v1/{project_id}/aom/aggr-metrics

func DataSourceAlarmGroupRules added in v1.68.1

func DataSourceAlarmGroupRules() *schema.Resource

@API AOM GET /v2/{project_id}/alert/group-rules

func DataSourceAlarmRules added in v1.68.0

func DataSourceAlarmRules() *schema.Resource

@API AOM GET /v4/{project_id}/alarm-rules

func DataSourceAlarmRulesTemplates added in v1.68.0

func DataSourceAlarmRulesTemplates() *schema.Resource

@API AOM GET /v4/{project_id}/alarm-rules-template

func DataSourceAlarmSilenceRules added in v1.68.1

func DataSourceAlarmSilenceRules() *schema.Resource

@API AOM GET /v2/{project_id}/alert/mute-rules

func DataSourceAomAlarmActionRules added in v1.67.0

func DataSourceAomAlarmActionRules() *schema.Resource

func DataSourceAomPromInstances added in v1.67.0

func DataSourceAomPromInstances() *schema.Resource

@API AOM GET /v1/{project_id}/aom/prometheus

func DataSourceDashboards added in v1.68.0

func DataSourceDashboards() *schema.Resource

@API AOM GET /v2/{project_id}/aom/dashboards

func DataSourceDashboardsFolders added in v1.68.0

func DataSourceDashboardsFolders() *schema.Resource

@API AOM GET /v2/{project_id}/aom/dashboards-folder

func DataSourceMessageTemplates added in v1.69.0

func DataSourceMessageTemplates() *schema.Resource

@API AOM GET /v2/{project_id}/events/notification/templates

func DataSourceMultiAccountAggregationRules added in v1.67.0

func DataSourceMultiAccountAggregationRules() *schema.Resource

@API AOM GET /v1/{project_id}/aom/aggr-config

func DataSourceOrganizationAccounts added in v1.68.0

func DataSourceOrganizationAccounts() *schema.Resource

@API AOM GET /v1/{project_id}/aom/organization-counts

func DataSourceServiceDiscoveryRules added in v1.69.1

func DataSourceServiceDiscoveryRules() *schema.Resource

@API AOM GET /v1/{project_id}/inv/servicediscoveryrules

func FilterListAlarmSilenceRules added in v1.49.0

func FilterListAlarmSilenceRules(all []interface{}, id string) []interface{}

func FilterRules

func FilterRules(allRules []aom.AppRules, name string) (*aom.AppRules, error)

func GetAlarmGroupRule added in v1.68.1

func GetAlarmGroupRule(client *golangsdk.ServiceClient, name string) (interface{}, error)

func GetMessageTemplate added in v1.69.0

func GetMessageTemplate(client *golangsdk.ServiceClient, name string) (interface{}, error)

func ResourceAlarmActionRule added in v1.49.0

func ResourceAlarmActionRule() *schema.Resource

@API AOM DELETE /v2/{project_id}/alert/action-rules @API AOM POST /v2/{project_id}/alert/action-rules @API AOM PUT /v2/{project_id}/alert/action-rules @API AOM GET /v2/{project_id}/alert/action-rules/{rule_name}

func ResourceAlarmGroupRule added in v1.68.1

func ResourceAlarmGroupRule() *schema.Resource

@API AOM POST /v2/{project_id}/alert/group-rules @API AOM PUT /v2/{project_id}/alert/group-rules @API AOM DELETE /v2/{project_id}/alert/group-rules @API AOM GET /v2/{project_id}/alert/group-rules

func ResourceAlarmPolicy added in v1.40.0

func ResourceAlarmPolicy() *schema.Resource

func ResourceAlarmRule

func ResourceAlarmRule() *schema.Resource

@API AOM DELETE /v2/{project_id}/alarm-rules/{alarm_rule_id} @API AOM GET /v2/{project_id}/alarm-rules/{alarm_rule_id} @API AOM POST /v2/{project_id}/alarm-rules @API AOM PUT /v2/{project_id}/alarm-rules

func ResourceAlarmRuleV4 added in v1.68.0

func ResourceAlarmRuleV4() *schema.Resource

@API AOM POST /v4/{project_id}/alarm-rules @API AOM GET /v4/{project_id}/alarm-rules @API AOM DELETE /v4/{project_id}/alarm-rules

func ResourceAlarmRulesTemplate added in v1.68.0

func ResourceAlarmRulesTemplate() *schema.Resource

@API AOM POST /v4/{project_id}/alarm-rules-template @API AOM PUT /v4/{project_id}/alarm-rules-template @API AOM GET /v4/{project_id}/alarm-rules-template @API AOM DELETE /v4/{project_id}/alarm-rules-template

func ResourceAlarmSilenceRule added in v1.49.0

func ResourceAlarmSilenceRule() *schema.Resource

@API AOM POST /v2/{project_id}/alert/mute-rules @API AOM PUT /v2/{project_id}/alert/mute-rules @API AOM DELETE /v2/{project_id}/alert/mute-rules @API AOM GET /v2/{project_id}/alert/mute-rules

func ResourceCloudServiceAccess added in v1.68.0

func ResourceCloudServiceAccess() *schema.Resource

@API AOM POST /v1/{project_id}/prometheus/{prom_instance_id}/cloud-service @API AOM PUT /v1/{project_id}/prometheus/{prom_instance_id}/cloud-service/{provider} @API AOM DELETE /v1/{project_id}/prometheus/{prom_instance_id}/cloud-service/{provider} @API AOM GET /v1/{project_id}/prometheus/{prom_instance_id}/cloud-service/{provider}

func ResourceCmdbApplication added in v1.57.0

func ResourceCmdbApplication() *schema.Resource

@API AOM POST /v1/applications @API AOM DELETE /v1/applications/{application_id} @API AOM GET /v1/applications/{application_id} @API AOM PUT /v1/applications/{application_id}

func ResourceCmdbComponent added in v1.57.0

func ResourceCmdbComponent() *schema.Resource

@API AOM POST /v1/components @API AOM PUT /v1/components/{component_id} @API AOM DELETE /v1/components/{component_id} @API AOM GET /v1/components/{component_id}

func ResourceCmdbEnvironment added in v1.57.0

func ResourceCmdbEnvironment() *schema.Resource

@API AOM POST /v1/environments @API AOM DELETE /v1/environments/{environment_id} @API AOM GET /v1/environments/{environment_id} @API AOM PUT /v1/environments/{environment_id}

func ResourceDashboard added in v1.68.0

func ResourceDashboard() *schema.Resource

@API AOM POST /v2/{project_id}/aom/dashboards @API AOM DELETE /v2/{project_id}/aom/dashboards/{dashboard_id} @API AOM GET /v2/{project_id}/aom/dashboards/{dashboard_id} @API AOM GET /v2/{project_id}/aom/dashboards

func ResourceDashboardsFolder added in v1.68.0

func ResourceDashboardsFolder() *schema.Resource

@API AOM POST /v2/{project_id}/aom/dashboards-folder @API AOM PUT /v2/{project_id}/aom/dashboards-folder/{folder_id} @API AOM DELETE /v2/{project_id}/aom/dashboards-folder/{folder_id} @API AOM GET /v2/{project_id}/aom/dashboards-folder

func ResourceEventAlarmRule added in v1.49.0

func ResourceEventAlarmRule() *schema.Resource

@API AOM POST /v2/{project_id}/event2alarm-rule @API AOM PUT /v2/{project_id}/event2alarm-rule @API AOM DELETE /v2/{project_id}/event2alarm-rule @API AOM GET /v2/{project_id}/event2alarm-rule

func ResourceMessageTemplate added in v1.69.0

func ResourceMessageTemplate() *schema.Resource

@API AOM POST /v2/{project_id}/events/notification/templates @API AOM PUT /v2/{project_id}/events/notification/templates @API AOM DELETE /v2/{project_id}/events/notification/templates @API AOM GET /v2/{project_id}/events/notification/template/{name}

func ResourceMultiAccountAggregationRule added in v1.67.0

func ResourceMultiAccountAggregationRule() *schema.Resource

@API AOM POST /v1/{project_id}/aom/aggr-config @API AOM PUT /v1/{project_id}/aom/aggr-config/{metric_aggr_id} @API AOM DELETE /v1/{project_id}/aom/aggr-config/{metric_aggr_id} @API AOM GET /v1/{project_id}/aom/aggr-config

func ResourcePromInstance added in v1.61.0

func ResourcePromInstance() *schema.Resource

@API AOM POST /v1/{project_id}/aom/prometheus @API AOM DELETE /v1/{project_id}/aom/prometheus @API AOM GET /v1/{project_id}/aom/prometheus

func ResourcePrometheusInstance added in v1.40.0

func ResourcePrometheusInstance() *schema.Resource

func ResourceServiceDiscoveryRule

func ResourceServiceDiscoveryRule() *schema.Resource

@API AOM GET /v1/{project_id}/inv/servicediscoveryrules @API AOM PUT /v1/{project_id}/inv/servicediscoveryrules @API AOM DELETE /v1/{project_id}/inv/servicediscoveryrules

Types

type AlarmActionRulesDSWrapper added in v1.67.0

type AlarmActionRulesDSWrapper struct {
	*schemas.ResourceDataWrapper
	Config *config.Config
}

func (*AlarmActionRulesDSWrapper) ListActionRule added in v1.67.0

func (w *AlarmActionRulesDSWrapper) ListActionRule() (*gjson.Result, error)

@API AOM GET /v2/{project_id}/alert/action-rules

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL