newrelic

package
v1.44.1-0...-77b165e Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2025 License: MPL-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PlanSuffix = "@TIDgmz7xq9ge3py@PUBIDnewrelicinc1635200720692.newrelic_liftr_payg"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type FilteringTagModel

type FilteringTagModel struct {
	Action tagrules.TagAction `tfschema:"action"`
	Name   string             `tfschema:"name"`
	Value  string             `tfschema:"value"`
}

type NewRelicMonitorModel

type NewRelicMonitorModel struct {
	Name                  string                         `tfschema:"name"`
	ResourceGroupName     string                         `tfschema:"resource_group_name"`
	AccountCreationSource monitors.AccountCreationSource `tfschema:"account_creation_source"`
	AccountId             string                         `tfschema:"account_id"`
	IngestionKey          string                         `tfschema:"ingestion_key"`
	Location              string                         `tfschema:"location"`
	OrganizationId        string                         `tfschema:"organization_id"`
	OrgCreationSource     monitors.OrgCreationSource     `tfschema:"org_creation_source"`
	PlanData              []PlanDataModel                `tfschema:"plan"`
	UserId                string                         `tfschema:"user_id"`
	UserInfo              []UserInfoModel                `tfschema:"user"`
}

type NewRelicMonitorResource

type NewRelicMonitorResource struct{}

func (NewRelicMonitorResource) Arguments

func (r NewRelicMonitorResource) Arguments() map[string]*pluginsdk.Schema

func (NewRelicMonitorResource) Attributes

func (r NewRelicMonitorResource) Attributes() map[string]*pluginsdk.Schema

func (NewRelicMonitorResource) Create

func (NewRelicMonitorResource) Delete

func (NewRelicMonitorResource) IDValidationFunc

func (NewRelicMonitorResource) ModelObject

func (r NewRelicMonitorResource) ModelObject() interface{}

func (NewRelicMonitorResource) Read

func (NewRelicMonitorResource) ResourceType

func (r NewRelicMonitorResource) ResourceType() string

type NewRelicTagRuleModel

type NewRelicTagRuleModel struct {
	NewRelicMonitorId      string              `tfschema:"monitor_id"`
	AadLogEnabled          bool                `tfschema:"azure_active_directory_log_enabled"`
	ActivityLogEnabled     bool                `tfschema:"activity_log_enabled"`
	LogTagFilter           []FilteringTagModel `tfschema:"log_tag_filter"`
	MetricEnabled          bool                `tfschema:"metric_enabled"`
	MetricTagFilter        []FilteringTagModel `tfschema:"metric_tag_filter"`
	SubscriptionLogEnabled bool                `tfschema:"subscription_log_enabled"`
}

type NewRelicTagRuleResource

type NewRelicTagRuleResource struct{}

func (NewRelicTagRuleResource) Arguments

func (r NewRelicTagRuleResource) Arguments() map[string]*pluginsdk.Schema

func (NewRelicTagRuleResource) Attributes

func (r NewRelicTagRuleResource) Attributes() map[string]*pluginsdk.Schema

func (NewRelicTagRuleResource) Create

func (NewRelicTagRuleResource) Delete

func (NewRelicTagRuleResource) IDValidationFunc

func (NewRelicTagRuleResource) ModelObject

func (r NewRelicTagRuleResource) ModelObject() interface{}

func (NewRelicTagRuleResource) Read

func (NewRelicTagRuleResource) ResourceType

func (r NewRelicTagRuleResource) ResourceType() string

func (NewRelicTagRuleResource) Update

type PlanDataModel

type PlanDataModel struct {
	EffectiveDate string             `tfschema:"effective_date"`
	BillingCycle  string             `tfschema:"billing_cycle"`
	PlanDetails   string             `tfschema:"plan_id"`
	UsageType     monitors.UsageType `tfschema:"usage_type"`
}

type Registration

type Registration struct{}

func (Registration) DataSources

func (r Registration) DataSources() []sdk.DataSource

DataSources returns a list of Data Sources supported by this Service

func (Registration) Name

func (r Registration) Name() string

Name is the name of this Service

func (Registration) Resources

func (r Registration) Resources() []sdk.Resource

Resources returns a list of Resources supported by this Service

func (Registration) WebsiteCategories

func (r Registration) WebsiteCategories() []string

WebsiteCategories returns a list of categories which can be used for the sidebar

type UserInfoModel

type UserInfoModel struct {
	EmailAddress string `tfschema:"email"`
	FirstName    string `tfschema:"first_name"`
	LastName     string `tfschema:"last_name"`
	PhoneNumber  string `tfschema:"phone_number"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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