lts

package
v1.73.0 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2025 License: MPL-2.0 Imports: 26 Imported by: 3

Documentation

Overview

Generated by PMS #213

Generated by PMS #226

Generated by PMS #221

Generated by PMS #229

Generated by PMS #227

Index

Constants

View Source
const EPSTagKey string = "_sys_enterprise_project_id"

Variables

This section is empty.

Functions

func AOMAccesseschema added in v1.66.0

func AOMAccesseschema() *schema.Resource

func BuildGetOrDeleteHostGroupBodyParams added in v1.53.0

func BuildGetOrDeleteHostGroupBodyParams(id string) map[string]interface{}

func BuildGetOrDeleteSearchCriteriaBodyParams added in v1.56.0

func BuildGetOrDeleteSearchCriteriaBodyParams(id string) map[string]interface{}

func DataSourceAOMAccesses added in v1.66.0

func DataSourceAOMAccesses() *schema.Resource

@API LTS GET /v2/{project_id}/lts/aom-mapping

func DataSourceCceAccesses added in v1.66.0

func DataSourceCceAccesses() *schema.Resource

@API LTS POST /v3/{project_id}/lts/access-config-list

func DataSourceCustomTemplates added in v1.57.0

func DataSourceCustomTemplates() *schema.Resource

@API LTS GET /v3/{project_id}/lts/struct/customtemplate

func DataSourceLtsGroups added in v1.66.0

func DataSourceLtsGroups() *schema.Resource

func DataSourceLtsHostGroups added in v1.66.0

func DataSourceLtsHostGroups() *schema.Resource

func DataSourceLtsNotificationTemplates added in v1.66.0

func DataSourceLtsNotificationTemplates() *schema.Resource

func DataSourceLtsSearchCriteria added in v1.66.0

func DataSourceLtsSearchCriteria() *schema.Resource

func DataSourceLtsStreams added in v1.66.0

func DataSourceLtsStreams() *schema.Resource

func DataSourceLtsTransfers added in v1.66.0

func DataSourceLtsTransfers() *schema.Resource

@API LTS GET /v2/{project_id}/transfers

func GetLogConvergeConfigsById added in v1.63.2

func GetLogConvergeConfigsById(client *golangsdk.ServiceClient, memberAccountId string) (interface{}, error)

func GetLogConvergeSwitchEnabled added in v1.63.2

func GetLogConvergeSwitchEnabled(client *golangsdk.ServiceClient) (bool, error)

func GetMetricRuleById added in v1.72.0

func GetMetricRuleById(client *golangsdk.ServiceClient, ruleId string) (interface{}, error)

GetMetricRuleById is a method used to get metric rule detail by rule ID.

func ResourceAOMAccess added in v1.56.0

func ResourceAOMAccess() *schema.Resource

@API LTS DELETE /v2/{project_id}/lts/aom-mapping @API LTS POST /v2/{project_id}/lts/aom-mapping @API LTS PUT /v2/{project_id}/lts/aom-mapping @API LTS GET /v2/{project_id}/lts/aom-mapping/{rule_id}

func ResourceAomMappingRule

func ResourceAomMappingRule() *schema.Resource

@API LTS POST /v2/{project_id}/lts/aom-mapping @API LTS GET /v2/{project_id}/lts/aom-mapping/{rule_id} @API LTS PUT /v2/{project_id}/lts/aom-mapping @API LTS DELETE /v2/{project_id}/lts/aom-mapping

func ResourceCceAccessConfig added in v1.63.0

func ResourceCceAccessConfig() *schema.Resource

@API LTS DELETE /v3/{project_id}/lts/access-config @API LTS POST /v3/{project_id}/lts/access-config @API LTS PUT /v3/{project_id}/lts/access-config @API LTS POST /v3/{project_id}/lts/access-config-list

func ResourceCrossAccountAccess added in v1.63.0

func ResourceCrossAccountAccess() *schema.Resource

@API LTS DELETE /v3/{project_id}/lts/access-config @API LTS POST /v2.0/{project_id}/lts/createAgencyAccess @API LTS POST /v1/{project_id}/{resource_type}/{resource_id}/tags/action @API LTS POST /v3/{project_id}/lts/access-config-list

func ResourceHostAccessConfig added in v1.56.0

func ResourceHostAccessConfig() *schema.Resource

@API LTS DELETE /v3/{project_id}/lts/access-config @API LTS POST /v3/{project_id}/lts/access-config @API LTS PUT /v3/{project_id}/lts/access-config @API LTS POST /v3/{project_id}/lts/access-config-list

func ResourceHostGroup added in v1.53.0

func ResourceHostGroup() *schema.Resource

@API LTS POST /v3/{project_id}/lts/host-group-list @API LTS DELETE /v3/{project_id}/lts/host-group @API LTS POST /v3/{project_id}/lts/host-group @API LTS PUT /v3/{project_id}/lts/host-group

func ResourceKeywordsAlarmRule added in v1.56.0

func ResourceKeywordsAlarmRule() *schema.Resource

@API LTS GET /v2/{project_id}/lts/alarms/keywords-alarm-rule @API LTS POST /v2/{project_id}/lts/alarms/keywords-alarm-rule @API LTS PUT /v2/{project_id}/lts/alarms/keywords-alarm-rule @API LTS DELETE /v2/{project_id}/lts/alarms/keywords-alarm-rule/{keywords_alarm_rule_id} @API LTS PUT /v2/{project_id}/lts/alarms/status

func ResourceLTSGroup added in v1.55.0

func ResourceLTSGroup() *schema.Resource

@API LTS POST /v2/{project_id}/groups @API LTS GET /v2/{project_id}/groups @API LTS POST /v2/{project_id}/groups/{log_group_id} @API LTS DELETE /v2/{project_id}/groups/{log_group_id} @API LTS POST /v1/{project_id}/{resource_type}/{resource_id}/tags/action

func ResourceLTSStream added in v1.55.0

func ResourceLTSStream() *schema.Resource

@API LTS POST /v2/{project_id}/groups/{log_group_id}/streams @API LTS GET /v2/{project_id}/groups/{log_group_id}/streams @API LTS PUT /v2/{project_id}/groups/{log_group_id}/streams-ttl/{log_stream_id} @API LTS DELETE /v2/{project_id}/groups/{log_group_id}/streams/{log_stream_id} @API LTS POST /v1/{project_id}/{resource_type}/{resource_id}/tags/action

func ResourceLogConverge added in v1.63.2

func ResourceLogConverge() *schema.Resource

@API LTS PUT /v1/{project_id}/lts/log-converge-config @API LTS GET /v1/{project_id}/lts/log-converge-config/{member_account_id}

func ResourceLogConvergeSwitch added in v1.63.2

func ResourceLogConvergeSwitch() *schema.Resource

@API LTS PUT /v1/{project_id}/lts/log-converge-config/switch @API LTS GET /v1/{project_id}/lts/log-converge-config/switch

func ResourceLtsDashboard

func ResourceLtsDashboard() *schema.Resource

@API LTS POST /v2/{project_id}/lts/template-dashboard @API LTS GET /v2/{project_id}/dashboards @API LTS DELETE /v2/{project_id}/dashboard

func ResourceLtsElb

func ResourceLtsElb() *schema.Resource

@API ELB POST /v3/{project_id}/elb/logtanks @API ELB GET /v3/{project_id}/elb/logtanks/{logtank_id} @API ELB PUT /v3/{project_id}/elb/logtanks/{logtank_id} @API ELB DELETE /v3/{project_id}/elb/logtanks/{logtank_id}

func ResourceLtsStruct

func ResourceLtsStruct() *schema.Resource

@API LTS POST /v2/{project_id}/lts/struct/template @API LTS POST /v3/{project_id}/lts/struct/template @API LTS GET /v2/{project_id}/lts/struct/template @API LTS DELETE /v2/{project_id}/lts/struct/template @API LTS PUT /v3/{project_id}/lts/struct/template

func ResourceLtsTransfer added in v1.55.0

func ResourceLtsTransfer() *schema.Resource

@API LTS DELETE /v2/{project_id}/transfers @API LTS GET /v2/{project_id}/transfers @API LTS POST /v2/{project_id}/transfers @API LTS PUT /v2/{project_id}/transfers

func ResourceMetricRule added in v1.72.0

func ResourceMetricRule() *schema.Resource

@API LTS POST /v2/{project_id}/lts/log2metric/rules @API LTS GET /v2/{project_id}/lts/log2metric/rules/{rule_id} @API LTS PUT /v2/{project_id}/lts/log2metric/rules/{rule_id} @API LTS DELETE /v2/{project_id}/lts/log2metric/rules/{rule_id}

func ResourceNotificationTemplate added in v1.56.0

func ResourceNotificationTemplate() *schema.Resource

@API LTS GET /v2/{project_id}/{domain_id}/lts/events/notification/template/{template_name} @API LTS DELETE /v2/{project_id}/{domain_id}/lts/events/notification/templates @API LTS POST /v2/{project_id}/{domain_id}/lts/events/notification/templates @API LTS PUT /v2/{project_id}/{domain_id}/lts/events/notification/templates

func ResourceSQLAlarmRule added in v1.56.0

func ResourceSQLAlarmRule() *schema.Resource

@API LTS PUT /v2/{project_id}/lts/alarms/status @API LTS GET /v2/{project_id}/lts/alarms/sql-alarm-rule @API LTS POST /v2/{project_id}/lts/alarms/sql-alarm-rule @API LTS PUT /v2/{project_id}/lts/alarms/sql-alarm-rule @API LTS DELETE /v2/{project_id}/lts/alarms/sql-alarm-rule/{sql_alarm_rule_id}

func ResourceSearchCriteria added in v1.56.0

func ResourceSearchCriteria() *schema.Resource

@API LTS POST /v1.0/{project_id}/groups/{group_id}/topics/{topic_id}/search-criterias @API LTS GET /v1.0/{project_id}/groups/{group_id}/topics/{topic_id}/search-criterias @API LTS DELETE /v1.0/{project_id}/groups/{group_id}/topics/{topic_id}/search-criterias

func ResourceStructConfig added in v1.56.0

func ResourceStructConfig() *schema.Resource

@API LTS DELETE /v2/{project_id}/lts/struct/template @API LTS GET /v2/{project_id}/lts/struct/template @API LTS POST /v3/{project_id}/lts/struct/template @API LTS PUT /v3/{project_id}/lts/struct/template

func ResourceStructCustomConfig added in v1.57.0

func ResourceStructCustomConfig() *schema.Resource

@API LTS GET /v2/{project_id}/lts/struct/template @API LTS POST /v2/{project_id}/lts/struct/template @API LTS PUT /v2/{project_id}/lts/struct/template @API LTS DELETE /v2/{project_id}/lts/struct/template

func ResourceWAFAccess added in v1.57.0

func ResourceWAFAccess() *schema.Resource

@API WAF GET /v1/{project_id}/waf/config/lts @API WAF PUT /v1/{project_id}/waf/config/lts/{ltsconfig_id}

func SuppressCaseDiffs

func SuppressCaseDiffs(_, old, new string, _ *schema.ResourceData) bool

Types

type GroupsDSWrapper added in v1.66.0

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

func (*GroupsDSWrapper) ListLogGroups added in v1.66.0

func (w *GroupsDSWrapper) ListLogGroups() (*gjson.Result, error)

@API LTS GET /v2/{project_id}/groups

type HostGroupsDSWrapper added in v1.66.0

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

func (*HostGroupsDSWrapper) ListHostGroup added in v1.66.0

func (w *HostGroupsDSWrapper) ListHostGroup() (*gjson.Result, error)

@API LTS POST /v3/{project_id}/lts/host-group-list

type NotificationTemplatesDSWrapper added in v1.66.0

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

func (*NotificationTemplatesDSWrapper) ListNotificationTemplates added in v1.66.0

func (w *NotificationTemplatesDSWrapper) ListNotificationTemplates() (*gjson.Result, error)

@API LTS GET /v2/{project_id}/{domain_id}/lts/events/notification/templates

type SearchCriteriaDSWrapper added in v1.66.0

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

func (*SearchCriteriaDSWrapper) ListQueryAllSearchCriterias added in v1.66.0

func (w *SearchCriteriaDSWrapper) ListQueryAllSearchCriterias() (*gjson.Result, error)

@API LTS GET /v1.0/{project_id}/lts/groups/{group_id}/search-criterias

type StreamsDSWrapper added in v1.66.0

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

func (*StreamsDSWrapper) ListLogStreams added in v1.66.0

func (w *StreamsDSWrapper) ListLogStreams() (*gjson.Result, error)

@API LTS GET /v2/{project_id}/log-streams

type TagsMap added in v1.66.0

type TagsMap struct {
	// The key of the tag.
	Key string `json:"key" required:"true"`
	// The value of the tag.
	// The value can be an empty string.
	Value string `json:"value"`
	// Whether to apply to the log stream.
	TagsToStreamsEnable bool `json:"tags_to_streams_enable"`
}

The tag field information.

Jump to

Keyboard shortcuts

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