Provider
The provider type for the newrelic package. By default, resources use package-wide configuration
settings, however an explicit Provider instance may be created and passed during resource
construction to achieve fine-grained programmatic control over provider settings. See the
documentation for more information.
Create a Provider Resource
new Provider(name: string, args?: ProviderArgs, opts?: CustomResourceOptions);def Provider(resource_name, opts=None, account_id=None, admin_api_key=None, api_key=None, api_url=None, cacert_file=None, infrastructure_api_url=None, insecure_skip_verify=None, insights_insert_key=None, insights_insert_url=None, insights_query_url=None, nerdgraph_api_url=None, region=None, synthetics_api_url=None, __props__=None);func NewProvider(ctx *Context, name string, args *ProviderArgs, opts ...ResourceOption) (*Provider, error)public Provider(string name, ProviderArgs? args = null, CustomResourceOptions? opts = null)- name string
- The unique name of the resource.
- args ProviderArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- opts ResourceOptions
- A bag of options that control this resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args ProviderArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ProviderArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
Provider Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.
Inputs
The Provider resource accepts the following input properties:
- Account
Id int - Admin
Api stringKey - Api
Key string - Api
Url string - Cacert
File string - Infrastructure
Api stringUrl - Insecure
Skip boolVerify - Insights
Insert stringKey - Insights
Insert stringUrl - Insights
Query stringUrl - Nerdgraph
Api stringUrl - Region string
The data center for which your New Relic account is configured. Only one region per provider block is permitted.
- Synthetics
Api stringUrl
- Account
Id int - Admin
Api stringKey - Api
Key string - Api
Url string - Cacert
File string - Infrastructure
Api stringUrl - Insecure
Skip boolVerify - Insights
Insert stringKey - Insights
Insert stringUrl - Insights
Query stringUrl - Nerdgraph
Api stringUrl - Region string
The data center for which your New Relic account is configured. Only one region per provider block is permitted.
- Synthetics
Api stringUrl
- account
Id number - admin
Api stringKey - api
Key string - api
Url string - cacert
File string - infrastructure
Api stringUrl - insecure
Skip booleanVerify - insights
Insert stringKey - insights
Insert stringUrl - insights
Query stringUrl - nerdgraph
Api stringUrl - region string
The data center for which your New Relic account is configured. Only one region per provider block is permitted.
- synthetics
Api stringUrl
- account_
id float - admin_
api_ strkey - api_
key str - api_
url str - cacert_
file str - infrastructure_
api_ strurl - insecure_
skip_ boolverify - insights_
insert_ strkey - insights_
insert_ strurl - insights_
query_ strurl - nerdgraph_
api_ strurl - region str
The data center for which your New Relic account is configured. Only one region per provider block is permitted.
- synthetics_
api_ strurl
Outputs
All input properties are implicitly available as output properties. Additionally, the Provider resource produces the following output properties:
Package Details
- Repository
- https://github.com/pulumi/pulumi-newrelic
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
newrelicTerraform Provider.