Documentation ¶
Index ¶
- Constants
- Variables
- func AwsGovCloudIntegrationAPIGatewayElem() *schema.Resource
- func AwsGovCloudIntegrationAlbElem() *schema.Resource
- func AwsGovCloudIntegrationAutoScalingElem() *schema.Resource
- func AwsGovCloudIntegrationAwsDirectConnectElem() *schema.Resource
- func AwsGovCloudIntegrationAwsStatesElem() *schema.Resource
- func AwsGovCloudIntegrationCloudTrailElem() *schema.Resource
- func AwsGovCloudIntegrationDynamodbElem() *schema.Resource
- func AwsGovCloudIntegrationEbsElem() *schema.Resource
- func AwsGovCloudIntegrationEc2Elem() *schema.Resource
- func AwsGovCloudIntegrationElasticSearchElem() *schema.Resource
- func AwsGovCloudIntegrationElbElem() *schema.Resource
- func AwsGovCloudIntegrationEmrElem() *schema.Resource
- func AwsGovCloudIntegrationIamElem() *schema.Resource
- func AwsGovCloudIntegrationLambdaElem() *schema.Resource
- func AwsGovCloudIntegrationRdsElem() *schema.Resource
- func AwsGovCloudIntegrationRedshiftElem() *schema.Resource
- func AwsGovCloudIntegrationRoute53Elem() *schema.Resource
- func AwsGovCloudIntegrationS3Elem() *schema.Resource
- func AwsGovCloudIntegrationSchemaBase() map[string]*schema.Schema
- func AwsGovCloudIntegrationSnsElem() *schema.Resource
- func AwsGovCloudIntegrationSqsElem() *schema.Resource
- func Provider() *schema.Provider
- type Config
- type InsightsEvent
- type ProviderConfig
Constants ¶
View Source
const TerraformProviderProductUserAgent = "terraform-provider-newrelic"
TerraformProviderProductUserAgent string used to identify this provider in User Agent requests
Variables ¶
View Source
var ( // ProviderVersion is set during the release process to the // release version of the binary via `-ldflags`. This is technically // set in main.go which sets the variable below. // // Note: This is a temporary workaround until we figure out why the original way // no longer works. ProviderVersion = "dev" )
Functions ¶
func AwsGovCloudIntegrationAPIGatewayElem ¶ added in v2.43.2
func AwsGovCloudIntegrationAlbElem ¶ added in v2.43.2
func AwsGovCloudIntegrationAutoScalingElem ¶ added in v2.43.2
func AwsGovCloudIntegrationAwsDirectConnectElem ¶ added in v2.43.2
func AwsGovCloudIntegrationAwsStatesElem ¶ added in v2.43.2
func AwsGovCloudIntegrationCloudTrailElem ¶ added in v2.43.2
func AwsGovCloudIntegrationDynamodbElem ¶ added in v2.43.2
func AwsGovCloudIntegrationEbsElem ¶ added in v2.43.2
func AwsGovCloudIntegrationEc2Elem ¶ added in v2.43.2
func AwsGovCloudIntegrationElasticSearchElem ¶ added in v2.43.2
func AwsGovCloudIntegrationElbElem ¶ added in v2.43.2
func AwsGovCloudIntegrationEmrElem ¶ added in v2.43.2
func AwsGovCloudIntegrationIamElem ¶ added in v2.43.2
func AwsGovCloudIntegrationLambdaElem ¶ added in v2.43.2
func AwsGovCloudIntegrationRdsElem ¶ added in v2.43.2
func AwsGovCloudIntegrationRedshiftElem ¶ added in v2.43.2
func AwsGovCloudIntegrationRoute53Elem ¶ added in v2.43.2
func AwsGovCloudIntegrationS3Elem ¶ added in v2.43.2
func AwsGovCloudIntegrationSchemaBase ¶ added in v2.43.2
func AwsGovCloudIntegrationSnsElem ¶ added in v2.43.2
func AwsGovCloudIntegrationSqsElem ¶ added in v2.43.2
Types ¶
type Config ¶
type Config struct { AdminAPIKey string PersonalAPIKey string Region string APIURL string CACertFile string InfrastructureAPIURL string InsecureSkipVerify bool InsightsAccountID string InsightsInsertKey string InsightsInsertURL string InsightsQueryKey string InsightsQueryURL string NerdGraphAPIURL string SyntheticsAPIURL string // contains filtered or unexported fields }
Config contains New Relic provider settings
func (*Config) ClientInsightsInsert ¶
func (c *Config) ClientInsightsInsert() (*insights.InsertClient, error)
ClientInsightsInsert returns a new Insights insert client
type InsightsEvent ¶
InsightsEvent represents an Insights event
func (*InsightsEvent) MarshalJSON ¶
func (e *InsightsEvent) MarshalJSON() ([]byte, error)
MarshalJSON implements a custom marshal method for InsightsEvent
type ProviderConfig ¶
type ProviderConfig struct { NewClient *nr.NewRelic InsightsInsertClient *insights.InsertClient AccountID int PersonalAPIKey string }
ProviderConfig for the custom provider
Source Files ¶
- config.go
- data_source_newrelic_account.go
- data_source_newrelic_alert_channel.go
- data_source_newrelic_alert_policy.go
- data_source_newrelic_application.go
- data_source_newrelic_cloud_account.go
- data_source_newrelic_entity.go
- data_source_newrelic_key_transaction.go
- data_source_newrelic_plugin.go
- data_source_newrelic_plugin_component.go
- data_source_newrelic_synthetics_monitor.go
- data_source_newrelic_synthetics_monitor_location.go
- data_source_newrelic_synthetics_secure_credential.go
- helpers.go
- provider.go
- resource_helpers.go
- resource_newrelic_alert_channel.go
- resource_newrelic_alert_condition.go
- resource_newrelic_alert_muting_rule.go
- resource_newrelic_alert_policy.go
- resource_newrelic_alert_policy_channel.go
- resource_newrelic_api_access_key.go
- resource_newrelic_application_settings.go
- resource_newrelic_cloud_aws_govcloud_integrations.go
- resource_newrelic_cloud_aws_govcloud_link_account.go
- resource_newrelic_cloud_aws_integrations.go
- resource_newrelic_cloud_aws_link_account.go
- resource_newrelic_cloud_azure_integrations.go
- resource_newrelic_cloud_azure_link_account.go
- resource_newrelic_cloud_gcp_integrations.go
- resource_newrelic_cloud_gcp_link_account.go
- resource_newrelic_dashboard.go
- resource_newrelic_entity_tags.go
- resource_newrelic_events_to_metrics_rule.go
- resource_newrelic_infra_alert_condition.go
- resource_newrelic_insights_event.go
- resource_newrelic_notifications_channel.go
- resource_newrelic_notifications_destination.go
- resource_newrelic_nrql_alert_condition.go
- resource_newrelic_nrql_drop_rule.go
- resource_newrelic_one_dashboard.go
- resource_newrelic_one_dashboard_raw.go
- resource_newrelic_plugins_alert_condition.go
- resource_newrelic_service_level.go
- resource_newrelic_synthetics_alert_condition.go
- resource_newrelic_synthetics_monitor.go
- resource_newrelic_synthetics_monitor_script.go
- resource_newrelic_synthetics_multilocation_alert_condition.go
- resource_newrelic_synthetics_secure_credential.go
- resource_newrelic_workload.go
- structures.go
- structures_newrelic_alert_channel.go
- structures_newrelic_alert_condition.go
- structures_newrelic_alert_muting_rule.go
- structures_newrelic_alert_policy.go
- structures_newrelic_alert_policy_channel.go
- structures_newrelic_application_settings.go
- structures_newrelic_infra_alert_condition.go
- structures_newrelic_notifications_channel.go
- structures_newrelic_notifications_destination.go
- structures_newrelic_nrql_alert_condition.go
- structures_newrelic_one_dashboard.go
- structures_newrelic_one_dashboard_raw.go
- structures_newrelic_service_level.go
- structures_newrelic_synthetics_multilocation_alert_condition.go
- structures_newrelic_synthetics_secure_credential.go
- structures_newrelic_workload.go
- validation.go
Click to show internal directories.
Click to hide internal directories.