Documentation ¶
Overview ¶
Generated by PMS #271
Index ¶
- Constants
- func AlarmActionRuleSmnTopicsSchema() *schema.Resource
- func AlarmSilenceRuleSilenceConditionsSchema() *schema.Resource
- func AlarmSilenceRuleSilenceTimeSchema() *schema.Resource
- func AlarmSilenceRuleconditionsSchema() *schema.Resource
- func DataSourceAggregationMetrics() *schema.Resource
- func DataSourceAlarmGroupRules() *schema.Resource
- func DataSourceAlarmRules() *schema.Resource
- func DataSourceAlarmRulesTemplates() *schema.Resource
- func DataSourceAlarmSilenceRules() *schema.Resource
- func DataSourceAomAlarmActionRules() *schema.Resource
- func DataSourceAomPromInstances() *schema.Resource
- func DataSourceDashboards() *schema.Resource
- func DataSourceDashboardsFolders() *schema.Resource
- func DataSourceMessageTemplates() *schema.Resource
- func DataSourceMultiAccountAggregationRules() *schema.Resource
- func DataSourceOrganizationAccounts() *schema.Resource
- func DataSourceServiceDiscoveryRules() *schema.Resource
- func FilterListAlarmSilenceRules(all []interface{}, id string) []interface{}
- func FilterRules(allRules []aom.AppRules, name string) (*aom.AppRules, error)
- func GetAlarmGroupRule(client *golangsdk.ServiceClient, name string) (interface{}, error)
- func GetMessageTemplate(client *golangsdk.ServiceClient, name string) (interface{}, error)
- func ResourceAlarmActionRule() *schema.Resource
- func ResourceAlarmGroupRule() *schema.Resource
- func ResourceAlarmPolicy() *schema.Resource
- func ResourceAlarmRule() *schema.Resource
- func ResourceAlarmRuleV4() *schema.Resource
- func ResourceAlarmRulesTemplate() *schema.Resource
- func ResourceAlarmSilenceRule() *schema.Resource
- func ResourceCloudServiceAccess() *schema.Resource
- func ResourceCmdbApplication() *schema.Resource
- func ResourceCmdbComponent() *schema.Resource
- func ResourceCmdbEnvironment() *schema.Resource
- func ResourceDashboard() *schema.Resource
- func ResourceDashboardsFolder() *schema.Resource
- func ResourceEventAlarmRule() *schema.Resource
- func ResourceMessageTemplate() *schema.Resource
- func ResourceMultiAccountAggregationRule() *schema.Resource
- func ResourcePromInstance() *schema.Resource
- func ResourcePrometheusInstance() *schema.Resource
- func ResourceServiceDiscoveryRule() *schema.Resource
- type AlarmActionRulesDSWrapper
Constants ¶
const ( AppNotExistsCode = "AOM.30004003" ComNotExistsCode = "AOM.30004203" EnvNotExistsCode = "AOM.30004303" )
Variables ¶
This section is empty.
Functions ¶
func AlarmActionRuleSmnTopicsSchema ¶ added in v1.49.0
func AlarmSilenceRuleSilenceConditionsSchema ¶ added in v1.49.0
func AlarmSilenceRuleSilenceTimeSchema ¶ added in v1.49.0
func AlarmSilenceRuleconditionsSchema ¶ added in v1.49.0
func DataSourceAggregationMetrics ¶ added in v1.68.0
@API AOM GET /v1/{project_id}/aom/aggr-metrics
func DataSourceAlarmGroupRules ¶ added in v1.68.1
@API AOM GET /v2/{project_id}/alert/group-rules
func DataSourceAlarmRules ¶ added in v1.68.0
@API AOM GET /v4/{project_id}/alarm-rules
func DataSourceAlarmRulesTemplates ¶ added in v1.68.0
@API AOM GET /v4/{project_id}/alarm-rules-template
func DataSourceAlarmSilenceRules ¶ added in v1.68.1
@API AOM GET /v2/{project_id}/alert/mute-rules
func DataSourceAomAlarmActionRules ¶ added in v1.67.0
func DataSourceAomPromInstances ¶ added in v1.67.0
@API AOM GET /v1/{project_id}/aom/prometheus
func DataSourceDashboards ¶ added in v1.68.0
@API AOM GET /v2/{project_id}/aom/dashboards
func DataSourceDashboardsFolders ¶ added in v1.68.0
@API AOM GET /v2/{project_id}/aom/dashboards-folder
func DataSourceMessageTemplates ¶ added in v1.69.0
@API AOM GET /v2/{project_id}/events/notification/templates
func DataSourceMultiAccountAggregationRules ¶ added in v1.67.0
@API AOM GET /v1/{project_id}/aom/aggr-config
func DataSourceOrganizationAccounts ¶ added in v1.68.0
@API AOM GET /v1/{project_id}/aom/organization-counts
func DataSourceServiceDiscoveryRules ¶ added in v1.69.1
@API AOM GET /v1/{project_id}/inv/servicediscoveryrules
func FilterListAlarmSilenceRules ¶ added in v1.49.0
func FilterListAlarmSilenceRules(all []interface{}, id string) []interface{}
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
@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
@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 ResourceAlarmRule ¶
@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
@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
@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
@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
@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
@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
@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
@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
@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
@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
@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
@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
@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
@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 ResourceServiceDiscoveryRule ¶
@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 ¶
- data_source_huaweicloud_aom_aggregation_metrics.go
- data_source_huaweicloud_aom_alarm_action_rules.go
- data_source_huaweicloud_aom_alarm_group_rules.go
- data_source_huaweicloud_aom_alarm_rules.go
- data_source_huaweicloud_aom_alarm_rules_templates.go
- data_source_huaweicloud_aom_alarm_silence_rules.go
- data_source_huaweicloud_aom_dashboards.go
- data_source_huaweicloud_aom_dashboards_folders.go
- data_source_huaweicloud_aom_message_templates.go
- data_source_huaweicloud_aom_multi_account_aggregation_rules.go
- data_source_huaweicloud_aom_organization_accounts.go
- data_source_huaweicloud_aom_prom_instances.go
- data_source_huaweicloud_aom_service_discovery_rules.go
- resource_huaweicloud_aom_alarm_action_rule.go
- resource_huaweicloud_aom_alarm_group_rule.go
- resource_huaweicloud_aom_alarm_policy.go
- resource_huaweicloud_aom_alarm_rule.go
- resource_huaweicloud_aom_alarm_rules_template.go
- resource_huaweicloud_aom_alarm_silence_rule.go
- resource_huaweicloud_aom_cloud_service_access.go
- resource_huaweicloud_aom_cmdb_application.go
- resource_huaweicloud_aom_cmdb_component.go
- resource_huaweicloud_aom_cmdb_environment.go
- resource_huaweicloud_aom_dashboard.go
- resource_huaweicloud_aom_dashboards_folder.go
- resource_huaweicloud_aom_event_alarm_rule.go
- resource_huaweicloud_aom_message_template.go
- resource_huaweicloud_aom_multi_account_aggregation_rule.go
- resource_huaweicloud_aom_prom_instance.go
- resource_huaweicloud_aom_prometheus_instance.go
- resource_huaweicloud_aom_service_discovery_rule.go
- resource_huaweicloud_aomv4_alarm_rule.go