provider

package
v3.0.23 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2022 License: MPL-2.0 Imports: 7 Imported by: 0

README

provider

Refer to the Terraform Registory for docs: newrelic.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewNewrelicProvider_Override

func NewNewrelicProvider_Override(n NewrelicProvider, scope constructs.Construct, id *string, config *NewrelicProviderConfig)

Create a new {@link https://www.terraform.io/docs/providers/newrelic newrelic} Resource.

func NewrelicProvider_IsConstruct

func NewrelicProvider_IsConstruct(x interface{}) *bool

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct` instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on disk are seen as independent, completely different libraries. As a consequence, the class `Construct` in each copy of the `constructs` library is seen as a different class, and an instance of one class will not test as `instanceof` the other class. `npm install` will not create installations like this, but users may manually symlink construct libraries together or use a monorepo tool: in those cases, multiple copies of the `constructs` library can be accidentally installed, and `instanceof` will behave unpredictably. It is safest to avoid using `instanceof`, and using this type-testing method instead.

Returns: true if `x` is an object created from a class which extends `Construct`.

func NewrelicProvider_TfResourceType

func NewrelicProvider_TfResourceType() *string

Types

type NewrelicProvider

type NewrelicProvider interface {
	cdktf.TerraformProvider
	AccountId() *float64
	SetAccountId(val *float64)
	AccountIdInput() *float64
	AdminApiKey() *string
	SetAdminApiKey(val *string)
	AdminApiKeyInput() *string
	Alias() *string
	SetAlias(val *string)
	AliasInput() *string
	ApiKey() *string
	SetApiKey(val *string)
	ApiKeyInput() *string
	ApiUrl() *string
	SetApiUrl(val *string)
	ApiUrlInput() *string
	CacertFile() *string
	SetCacertFile(val *string)
	CacertFileInput() *string
	// Experimental.
	CdktfStack() cdktf.TerraformStack
	// Experimental.
	ConstructNodeMetadata() *map[string]interface{}
	// Experimental.
	Fqn() *string
	// Experimental.
	FriendlyUniqueId() *string
	InfrastructureApiUrl() *string
	SetInfrastructureApiUrl(val *string)
	InfrastructureApiUrlInput() *string
	InsecureSkipVerify() interface{}
	SetInsecureSkipVerify(val interface{})
	InsecureSkipVerifyInput() interface{}
	InsightsInsertKey() *string
	SetInsightsInsertKey(val *string)
	InsightsInsertKeyInput() *string
	InsightsInsertUrl() *string
	SetInsightsInsertUrl(val *string)
	InsightsInsertUrlInput() *string
	InsightsQueryUrl() *string
	SetInsightsQueryUrl(val *string)
	InsightsQueryUrlInput() *string
	// Experimental.
	MetaAttributes() *map[string]interface{}
	NerdgraphApiUrl() *string
	SetNerdgraphApiUrl(val *string)
	NerdgraphApiUrlInput() *string
	// The tree node.
	Node() constructs.Node
	// Experimental.
	RawOverrides() interface{}
	Region() *string
	SetRegion(val *string)
	RegionInput() *string
	SyntheticsApiUrl() *string
	SetSyntheticsApiUrl(val *string)
	SyntheticsApiUrlInput() *string
	// Experimental.
	TerraformGeneratorMetadata() *cdktf.TerraformProviderGeneratorMetadata
	// Experimental.
	TerraformProviderSource() *string
	// Experimental.
	TerraformResourceType() *string
	// Experimental.
	AddOverride(path *string, value interface{})
	// Overrides the auto-generated logical ID with a specific ID.
	// Experimental.
	OverrideLogicalId(newLogicalId *string)
	ResetAdminApiKey()
	ResetAlias()
	ResetApiKey()
	ResetApiUrl()
	ResetCacertFile()
	ResetInfrastructureApiUrl()
	ResetInsecureSkipVerify()
	ResetInsightsInsertKey()
	ResetInsightsInsertUrl()
	ResetInsightsQueryUrl()
	ResetNerdgraphApiUrl()
	// Resets a previously passed logical Id to use the auto-generated logical id again.
	// Experimental.
	ResetOverrideLogicalId()
	ResetRegion()
	ResetSyntheticsApiUrl()
	SynthesizeAttributes() *map[string]interface{}
	// Experimental.
	ToMetadata() interface{}
	// Returns a string representation of this construct.
	ToString() *string
	// Adds this resource to the terraform JSON output.
	// Experimental.
	ToTerraform() interface{}
}

Represents a {@link https://www.terraform.io/docs/providers/newrelic newrelic}.

func NewNewrelicProvider

func NewNewrelicProvider(scope constructs.Construct, id *string, config *NewrelicProviderConfig) NewrelicProvider

Create a new {@link https://www.terraform.io/docs/providers/newrelic newrelic} Resource.

type NewrelicProviderConfig

type NewrelicProviderConfig struct {
	// Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/newrelic#account_id NewrelicProvider#account_id}.
	AccountId *float64 `field:"required" json:"accountId" yaml:"accountId"`
	// Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/newrelic#admin_api_key NewrelicProvider#admin_api_key}.
	AdminApiKey *string `field:"optional" json:"adminApiKey" yaml:"adminApiKey"`
	// Alias name.
	//
	// Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/newrelic#alias NewrelicProvider#alias}
	Alias *string `field:"optional" json:"alias" yaml:"alias"`
	// Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/newrelic#api_key NewrelicProvider#api_key}.
	ApiKey *string `field:"optional" json:"apiKey" yaml:"apiKey"`
	// Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/newrelic#api_url NewrelicProvider#api_url}.
	ApiUrl *string `field:"optional" json:"apiUrl" yaml:"apiUrl"`
	// Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/newrelic#cacert_file NewrelicProvider#cacert_file}.
	CacertFile *string `field:"optional" json:"cacertFile" yaml:"cacertFile"`
	// Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/newrelic#infrastructure_api_url NewrelicProvider#infrastructure_api_url}.
	InfrastructureApiUrl *string `field:"optional" json:"infrastructureApiUrl" yaml:"infrastructureApiUrl"`
	// Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/newrelic#insecure_skip_verify NewrelicProvider#insecure_skip_verify}.
	InsecureSkipVerify interface{} `field:"optional" json:"insecureSkipVerify" yaml:"insecureSkipVerify"`
	// Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/newrelic#insights_insert_key NewrelicProvider#insights_insert_key}.
	InsightsInsertKey *string `field:"optional" json:"insightsInsertKey" yaml:"insightsInsertKey"`
	// Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/newrelic#insights_insert_url NewrelicProvider#insights_insert_url}.
	InsightsInsertUrl *string `field:"optional" json:"insightsInsertUrl" yaml:"insightsInsertUrl"`
	// Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/newrelic#insights_query_url NewrelicProvider#insights_query_url}.
	InsightsQueryUrl *string `field:"optional" json:"insightsQueryUrl" yaml:"insightsQueryUrl"`
	// Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/newrelic#nerdgraph_api_url NewrelicProvider#nerdgraph_api_url}.
	NerdgraphApiUrl *string `field:"optional" json:"nerdgraphApiUrl" yaml:"nerdgraphApiUrl"`
	// The data center for which your New Relic account is configured. Only one region per provider block is permitted.
	//
	// Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/newrelic#region NewrelicProvider#region}
	Region *string `field:"optional" json:"region" yaml:"region"`
	// Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/newrelic#synthetics_api_url NewrelicProvider#synthetics_api_url}.
	SyntheticsApiUrl *string `field:"optional" json:"syntheticsApiUrl" yaml:"syntheticsApiUrl"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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