@cdktf-providers/newrelic 3.75.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +355 -0
- package/README.md +19 -0
- package/dist/account-management/index.d.ts +64 -0
- package/dist/account-management/index.js +131 -0
- package/dist/alert-channel/index.d.ts +347 -0
- package/dist/alert-channel/index.js +810 -0
- package/dist/alert-condition/index.d.ts +267 -0
- package/dist/alert-condition/index.js +587 -0
- package/dist/alert-muting-rule/index.d.ts +305 -0
- package/dist/alert-muting-rule/index.js +731 -0
- package/dist/alert-policy/index.d.ts +87 -0
- package/dist/alert-policy/index.js +180 -0
- package/dist/alert-policy-channel/index.d.ts +110 -0
- package/dist/alert-policy-channel/index.js +260 -0
- package/dist/api-access-key/index.d.ts +98 -0
- package/dist/api-access-key/index.js +230 -0
- package/dist/application-settings/index.d.ts +410 -0
- package/dist/application-settings/index.js +966 -0
- package/dist/browser-application/index.d.ts +101 -0
- package/dist/browser-application/index.js +215 -0
- package/dist/cloud-aws-govcloud-integrations/index.d.ts +1519 -0
- package/dist/cloud-aws-govcloud-integrations/index.js +3846 -0
- package/dist/cloud-aws-govcloud-link-account/index.d.ts +86 -0
- package/dist/cloud-aws-govcloud-link-account/index.js +177 -0
- package/dist/cloud-aws-integrations/index.d.ts +3294 -0
- package/dist/cloud-aws-integrations/index.js +8554 -0
- package/dist/cloud-aws-link-account/index.d.ts +86 -0
- package/dist/cloud-aws-link-account/index.js +177 -0
- package/dist/cloud-azure-integrations/index.d.ts +1662 -0
- package/dist/cloud-azure-integrations/index.js +4338 -0
- package/dist/cloud-azure-link-account/index.d.ts +105 -0
- package/dist/cloud-azure-link-account/index.js +214 -0
- package/dist/cloud-gcp-integrations/index.d.ts +1045 -0
- package/dist/cloud-gcp-integrations/index.js +2742 -0
- package/dist/cloud-gcp-link-account/index.d.ts +75 -0
- package/dist/cloud-gcp-link-account/index.js +154 -0
- package/dist/cloud-oci-link-account/index.d.ts +191 -0
- package/dist/cloud-oci-link-account/index.js +392 -0
- package/dist/data-newrelic-account/index.d.ts +77 -0
- package/dist/data-newrelic-account/index.js +160 -0
- package/dist/data-newrelic-alert-channel/index.d.ts +122 -0
- package/dist/data-newrelic-alert-channel/index.js +295 -0
- package/dist/data-newrelic-alert-policy/index.d.ts +78 -0
- package/dist/data-newrelic-alert-policy/index.js +165 -0
- package/dist/data-newrelic-application/index.d.ts +56 -0
- package/dist/data-newrelic-application/index.js +119 -0
- package/dist/data-newrelic-authentication-domain/index.d.ts +43 -0
- package/dist/data-newrelic-authentication-domain/index.js +92 -0
- package/dist/data-newrelic-cloud-account/index.d.ts +75 -0
- package/dist/data-newrelic-cloud-account/index.js +154 -0
- package/dist/data-newrelic-entity/index.d.ts +185 -0
- package/dist/data-newrelic-entity/index.js +414 -0
- package/dist/data-newrelic-group/index.d.ts +54 -0
- package/dist/data-newrelic-group/index.js +116 -0
- package/dist/data-newrelic-key-transaction/index.d.ts +78 -0
- package/dist/data-newrelic-key-transaction/index.js +165 -0
- package/dist/data-newrelic-notification-destination/index.d.ts +161 -0
- package/dist/data-newrelic-notification-destination/index.js +368 -0
- package/dist/data-newrelic-obfuscation-expression/index.d.ts +65 -0
- package/dist/data-newrelic-obfuscation-expression/index.js +134 -0
- package/dist/data-newrelic-service-level-alert-helper/index.d.ts +107 -0
- package/dist/data-newrelic-service-level-alert-helper/index.js +256 -0
- package/dist/data-newrelic-synthetics-private-location/index.d.ts +76 -0
- package/dist/data-newrelic-synthetics-private-location/index.js +157 -0
- package/dist/data-newrelic-synthetics-secure-credential/index.d.ts +67 -0
- package/dist/data-newrelic-synthetics-secure-credential/index.js +142 -0
- package/dist/data-newrelic-test-grok-pattern/index.d.ts +145 -0
- package/dist/data-newrelic-test-grok-pattern/index.js +312 -0
- package/dist/data-newrelic-user/index.d.ts +65 -0
- package/dist/data-newrelic-user/index.js +138 -0
- package/dist/data-partition-rule/index.d.ts +142 -0
- package/dist/data-partition-rule/index.js +327 -0
- package/dist/entity-tags/index.d.ts +152 -0
- package/dist/entity-tags/index.js +367 -0
- package/dist/events-to-metrics-rule/index.d.ts +98 -0
- package/dist/events-to-metrics-rule/index.js +204 -0
- package/dist/group/index.d.ts +75 -0
- package/dist/group/index.js +154 -0
- package/dist/index.d.ts +67 -0
- package/dist/index.js +68 -0
- package/dist/infra-alert-condition/index.d.ts +289 -0
- package/dist/infra-alert-condition/index.js +691 -0
- package/dist/insights-event/index.d.ts +182 -0
- package/dist/insights-event/index.js +427 -0
- package/dist/key-transaction/index.d.ts +96 -0
- package/dist/key-transaction/index.js +199 -0
- package/dist/lazy-index.d.ts +0 -0
- package/dist/lazy-index.js +68 -0
- package/dist/log-parsing-rule/index.d.ts +128 -0
- package/dist/log-parsing-rule/index.js +264 -0
- package/dist/monitor-downtime/index.d.ts +255 -0
- package/dist/monitor-downtime/index.js +603 -0
- package/dist/notification-channel/index.d.ts +236 -0
- package/dist/notification-channel/index.js +561 -0
- package/dist/notification-destination/index.d.ts +402 -0
- package/dist/notification-destination/index.js +1039 -0
- package/dist/nrql-alert-condition/index.d.ts +892 -0
- package/dist/nrql-alert-condition/index.js +2177 -0
- package/dist/nrql-drop-rule/index.d.ts +123 -0
- package/dist/nrql-drop-rule/index.js +291 -0
- package/dist/obfuscation-expression/index.d.ts +86 -0
- package/dist/obfuscation-expression/index.js +177 -0
- package/dist/obfuscation-rule/index.d.ts +169 -0
- package/dist/obfuscation-rule/index.js +372 -0
- package/dist/one-dashboard/index-structs/index.d.ts +2 -0
- package/dist/one-dashboard/index-structs/index.js +2 -0
- package/dist/one-dashboard/index-structs/structs0.d.ts +6996 -0
- package/dist/one-dashboard/index-structs/structs0.js +18191 -0
- package/dist/one-dashboard/index-structs/structs400.d.ts +3699 -0
- package/dist/one-dashboard/index-structs/structs400.js +9611 -0
- package/dist/one-dashboard/index.d.ts +112 -0
- package/dist/one-dashboard/index.js +232 -0
- package/dist/one-dashboard-json/index.d.ts +112 -0
- package/dist/one-dashboard-json/index.js +280 -0
- package/dist/one-dashboard-raw/index.d.ts +274 -0
- package/dist/one-dashboard-raw/index.js +666 -0
- package/dist/pipeline-cloud-rule/index.d.ts +86 -0
- package/dist/pipeline-cloud-rule/index.js +177 -0
- package/dist/provider/index.d.ts +160 -0
- package/dist/provider/index.js +378 -0
- package/dist/service-level/index.d.ts +501 -0
- package/dist/service-level/index.js +1425 -0
- package/dist/synthetics-alert-condition/index.d.ts +97 -0
- package/dist/synthetics-alert-condition/index.js +201 -0
- package/dist/synthetics-broken-links-monitor/index.d.ts +217 -0
- package/dist/synthetics-broken-links-monitor/index.js +474 -0
- package/dist/synthetics-cert-check-monitor/index.d.ts +222 -0
- package/dist/synthetics-cert-check-monitor/index.js +490 -0
- package/dist/synthetics-monitor/index.d.ts +404 -0
- package/dist/synthetics-monitor/index.js +885 -0
- package/dist/synthetics-multilocation-alert-condition/index.d.ts +177 -0
- package/dist/synthetics-multilocation-alert-condition/index.js +407 -0
- package/dist/synthetics-private-location/index.d.ts +90 -0
- package/dist/synthetics-private-location/index.js +193 -0
- package/dist/synthetics-script-monitor/index.d.ts +348 -0
- package/dist/synthetics-script-monitor/index.js +768 -0
- package/dist/synthetics-secure-credential/index.d.ts +132 -0
- package/dist/synthetics-secure-credential/index.js +306 -0
- package/dist/synthetics-step-monitor/index.d.ts +368 -0
- package/dist/synthetics-step-monitor/index.js +834 -0
- package/dist/user/index.d.ts +85 -0
- package/dist/user/index.js +174 -0
- package/dist/workflow/index.d.ts +441 -0
- package/dist/workflow/index.js +1066 -0
- package/dist/workload/index.d.ts +514 -0
- package/dist/workload/index.js +1283 -0
- package/package.json +50 -0
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import { Construct } from 'constructs';
|
|
2
|
+
import * as cdktf from 'cdktf';
|
|
3
|
+
export interface PipelineCloudRuleConfig extends cdktf.TerraformMetaArguments {
|
|
4
|
+
/**
|
|
5
|
+
* The account ID where the Pipeline Cloud rule will be created.
|
|
6
|
+
*
|
|
7
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/pipeline_cloud_rule#account_id PipelineCloudRule#account_id}
|
|
8
|
+
*/
|
|
9
|
+
readonly accountId?: number;
|
|
10
|
+
/**
|
|
11
|
+
* Provides additional information about the rule.
|
|
12
|
+
*
|
|
13
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/pipeline_cloud_rule#description PipelineCloudRule#description}
|
|
14
|
+
*/
|
|
15
|
+
readonly description?: string;
|
|
16
|
+
/**
|
|
17
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/pipeline_cloud_rule#id PipelineCloudRule#id}
|
|
18
|
+
*
|
|
19
|
+
* Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2.
|
|
20
|
+
* If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.
|
|
21
|
+
*/
|
|
22
|
+
readonly id?: string;
|
|
23
|
+
/**
|
|
24
|
+
* The name of the rule. This must be unique within an account.
|
|
25
|
+
*
|
|
26
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/pipeline_cloud_rule#name PipelineCloudRule#name}
|
|
27
|
+
*/
|
|
28
|
+
readonly name: string;
|
|
29
|
+
/**
|
|
30
|
+
* The NRQL query that defines which data will be processed by this pipeline cloud rule.
|
|
31
|
+
*
|
|
32
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/pipeline_cloud_rule#nrql PipelineCloudRule#nrql}
|
|
33
|
+
*/
|
|
34
|
+
readonly nrql: string;
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* Represents a {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/pipeline_cloud_rule newrelic_pipeline_cloud_rule}
|
|
38
|
+
*/
|
|
39
|
+
export declare class PipelineCloudRule extends cdktf.TerraformResource {
|
|
40
|
+
static readonly tfResourceType = "newrelic_pipeline_cloud_rule";
|
|
41
|
+
/**
|
|
42
|
+
* Generates CDKTF code for importing a PipelineCloudRule resource upon running "cdktf plan <stack-name>"
|
|
43
|
+
* @param scope The scope in which to define this construct
|
|
44
|
+
* @param importToId The construct id used in the generated config for the PipelineCloudRule to import
|
|
45
|
+
* @param importFromId The id of the existing PipelineCloudRule that should be imported. Refer to the {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/pipeline_cloud_rule#import import section} in the documentation of this resource for the id to use
|
|
46
|
+
* @param provider? Optional instance of the provider where the PipelineCloudRule to import is found
|
|
47
|
+
*/
|
|
48
|
+
static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider): any;
|
|
49
|
+
/**
|
|
50
|
+
* Create a new {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/pipeline_cloud_rule newrelic_pipeline_cloud_rule} Resource
|
|
51
|
+
*
|
|
52
|
+
* @param scope The scope in which to define this construct
|
|
53
|
+
* @param id The scoped construct ID. Must be unique amongst siblings in the same scope
|
|
54
|
+
* @param options PipelineCloudRuleConfig
|
|
55
|
+
*/
|
|
56
|
+
constructor(scope: Construct, id: string, config: PipelineCloudRuleConfig);
|
|
57
|
+
private _accountId?;
|
|
58
|
+
get accountId(): number;
|
|
59
|
+
set accountId(value: number);
|
|
60
|
+
resetAccountId(): void;
|
|
61
|
+
get accountIdInput(): number;
|
|
62
|
+
private _description?;
|
|
63
|
+
get description(): string;
|
|
64
|
+
set description(value: string);
|
|
65
|
+
resetDescription(): void;
|
|
66
|
+
get descriptionInput(): string;
|
|
67
|
+
private _id?;
|
|
68
|
+
get id(): string;
|
|
69
|
+
set id(value: string);
|
|
70
|
+
resetId(): void;
|
|
71
|
+
get idInput(): string;
|
|
72
|
+
private _name?;
|
|
73
|
+
get name(): string;
|
|
74
|
+
set name(value: string);
|
|
75
|
+
get nameInput(): string;
|
|
76
|
+
private _nrql?;
|
|
77
|
+
get nrql(): string;
|
|
78
|
+
set nrql(value: string);
|
|
79
|
+
get nrqlInput(): string;
|
|
80
|
+
protected synthesizeAttributes(): {
|
|
81
|
+
[name: string]: any;
|
|
82
|
+
};
|
|
83
|
+
protected synthesizeHclAttributes(): {
|
|
84
|
+
[name: string]: any;
|
|
85
|
+
};
|
|
86
|
+
}
|
|
@@ -0,0 +1,177 @@
|
|
|
1
|
+
// https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/pipeline_cloud_rule
|
|
2
|
+
// generated from terraform resource schema
|
|
3
|
+
import * as cdktf from 'cdktf';
|
|
4
|
+
/**
|
|
5
|
+
* Represents a {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/pipeline_cloud_rule newrelic_pipeline_cloud_rule}
|
|
6
|
+
*/
|
|
7
|
+
export class PipelineCloudRule extends cdktf.TerraformResource {
|
|
8
|
+
// =================
|
|
9
|
+
// STATIC PROPERTIES
|
|
10
|
+
// =================
|
|
11
|
+
static tfResourceType = "newrelic_pipeline_cloud_rule";
|
|
12
|
+
// ==============
|
|
13
|
+
// STATIC Methods
|
|
14
|
+
// ==============
|
|
15
|
+
/**
|
|
16
|
+
* Generates CDKTF code for importing a PipelineCloudRule resource upon running "cdktf plan <stack-name>"
|
|
17
|
+
* @param scope The scope in which to define this construct
|
|
18
|
+
* @param importToId The construct id used in the generated config for the PipelineCloudRule to import
|
|
19
|
+
* @param importFromId The id of the existing PipelineCloudRule that should be imported. Refer to the {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/pipeline_cloud_rule#import import section} in the documentation of this resource for the id to use
|
|
20
|
+
* @param provider? Optional instance of the provider where the PipelineCloudRule to import is found
|
|
21
|
+
*/
|
|
22
|
+
static generateConfigForImport(scope, importToId, importFromId, provider) {
|
|
23
|
+
return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "newrelic_pipeline_cloud_rule", importId: importFromId, provider });
|
|
24
|
+
}
|
|
25
|
+
// ===========
|
|
26
|
+
// INITIALIZER
|
|
27
|
+
// ===========
|
|
28
|
+
/**
|
|
29
|
+
* Create a new {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/pipeline_cloud_rule newrelic_pipeline_cloud_rule} Resource
|
|
30
|
+
*
|
|
31
|
+
* @param scope The scope in which to define this construct
|
|
32
|
+
* @param id The scoped construct ID. Must be unique amongst siblings in the same scope
|
|
33
|
+
* @param options PipelineCloudRuleConfig
|
|
34
|
+
*/
|
|
35
|
+
constructor(scope, id, config) {
|
|
36
|
+
super(scope, id, {
|
|
37
|
+
terraformResourceType: 'newrelic_pipeline_cloud_rule',
|
|
38
|
+
terraformGeneratorMetadata: {
|
|
39
|
+
providerName: 'newrelic',
|
|
40
|
+
providerVersion: '3.75.4',
|
|
41
|
+
providerVersionConstraint: '3.75.4'
|
|
42
|
+
},
|
|
43
|
+
provider: config.provider,
|
|
44
|
+
dependsOn: config.dependsOn,
|
|
45
|
+
count: config.count,
|
|
46
|
+
lifecycle: config.lifecycle,
|
|
47
|
+
provisioners: config.provisioners,
|
|
48
|
+
connection: config.connection,
|
|
49
|
+
forEach: config.forEach
|
|
50
|
+
});
|
|
51
|
+
this._accountId = config.accountId;
|
|
52
|
+
this._description = config.description;
|
|
53
|
+
this._id = config.id;
|
|
54
|
+
this._name = config.name;
|
|
55
|
+
this._nrql = config.nrql;
|
|
56
|
+
}
|
|
57
|
+
// ==========
|
|
58
|
+
// ATTRIBUTES
|
|
59
|
+
// ==========
|
|
60
|
+
// account_id - computed: true, optional: true, required: false
|
|
61
|
+
_accountId;
|
|
62
|
+
get accountId() {
|
|
63
|
+
return this.getNumberAttribute('account_id');
|
|
64
|
+
}
|
|
65
|
+
set accountId(value) {
|
|
66
|
+
this._accountId = value;
|
|
67
|
+
}
|
|
68
|
+
resetAccountId() {
|
|
69
|
+
this._accountId = undefined;
|
|
70
|
+
}
|
|
71
|
+
// Temporarily expose input value. Use with caution.
|
|
72
|
+
get accountIdInput() {
|
|
73
|
+
return this._accountId;
|
|
74
|
+
}
|
|
75
|
+
// description - computed: false, optional: true, required: false
|
|
76
|
+
_description;
|
|
77
|
+
get description() {
|
|
78
|
+
return this.getStringAttribute('description');
|
|
79
|
+
}
|
|
80
|
+
set description(value) {
|
|
81
|
+
this._description = value;
|
|
82
|
+
}
|
|
83
|
+
resetDescription() {
|
|
84
|
+
this._description = undefined;
|
|
85
|
+
}
|
|
86
|
+
// Temporarily expose input value. Use with caution.
|
|
87
|
+
get descriptionInput() {
|
|
88
|
+
return this._description;
|
|
89
|
+
}
|
|
90
|
+
// id - computed: true, optional: true, required: false
|
|
91
|
+
_id;
|
|
92
|
+
get id() {
|
|
93
|
+
return this.getStringAttribute('id');
|
|
94
|
+
}
|
|
95
|
+
set id(value) {
|
|
96
|
+
this._id = value;
|
|
97
|
+
}
|
|
98
|
+
resetId() {
|
|
99
|
+
this._id = undefined;
|
|
100
|
+
}
|
|
101
|
+
// Temporarily expose input value. Use with caution.
|
|
102
|
+
get idInput() {
|
|
103
|
+
return this._id;
|
|
104
|
+
}
|
|
105
|
+
// name - computed: false, optional: false, required: true
|
|
106
|
+
_name;
|
|
107
|
+
get name() {
|
|
108
|
+
return this.getStringAttribute('name');
|
|
109
|
+
}
|
|
110
|
+
set name(value) {
|
|
111
|
+
this._name = value;
|
|
112
|
+
}
|
|
113
|
+
// Temporarily expose input value. Use with caution.
|
|
114
|
+
get nameInput() {
|
|
115
|
+
return this._name;
|
|
116
|
+
}
|
|
117
|
+
// nrql - computed: false, optional: false, required: true
|
|
118
|
+
_nrql;
|
|
119
|
+
get nrql() {
|
|
120
|
+
return this.getStringAttribute('nrql');
|
|
121
|
+
}
|
|
122
|
+
set nrql(value) {
|
|
123
|
+
this._nrql = value;
|
|
124
|
+
}
|
|
125
|
+
// Temporarily expose input value. Use with caution.
|
|
126
|
+
get nrqlInput() {
|
|
127
|
+
return this._nrql;
|
|
128
|
+
}
|
|
129
|
+
// =========
|
|
130
|
+
// SYNTHESIS
|
|
131
|
+
// =========
|
|
132
|
+
synthesizeAttributes() {
|
|
133
|
+
return {
|
|
134
|
+
account_id: cdktf.numberToTerraform(this._accountId),
|
|
135
|
+
description: cdktf.stringToTerraform(this._description),
|
|
136
|
+
id: cdktf.stringToTerraform(this._id),
|
|
137
|
+
name: cdktf.stringToTerraform(this._name),
|
|
138
|
+
nrql: cdktf.stringToTerraform(this._nrql),
|
|
139
|
+
};
|
|
140
|
+
}
|
|
141
|
+
synthesizeHclAttributes() {
|
|
142
|
+
const attrs = {
|
|
143
|
+
account_id: {
|
|
144
|
+
value: cdktf.numberToHclTerraform(this._accountId),
|
|
145
|
+
isBlock: false,
|
|
146
|
+
type: "simple",
|
|
147
|
+
storageClassType: "number",
|
|
148
|
+
},
|
|
149
|
+
description: {
|
|
150
|
+
value: cdktf.stringToHclTerraform(this._description),
|
|
151
|
+
isBlock: false,
|
|
152
|
+
type: "simple",
|
|
153
|
+
storageClassType: "string",
|
|
154
|
+
},
|
|
155
|
+
id: {
|
|
156
|
+
value: cdktf.stringToHclTerraform(this._id),
|
|
157
|
+
isBlock: false,
|
|
158
|
+
type: "simple",
|
|
159
|
+
storageClassType: "string",
|
|
160
|
+
},
|
|
161
|
+
name: {
|
|
162
|
+
value: cdktf.stringToHclTerraform(this._name),
|
|
163
|
+
isBlock: false,
|
|
164
|
+
type: "simple",
|
|
165
|
+
storageClassType: "string",
|
|
166
|
+
},
|
|
167
|
+
nrql: {
|
|
168
|
+
value: cdktf.stringToHclTerraform(this._nrql),
|
|
169
|
+
isBlock: false,
|
|
170
|
+
type: "simple",
|
|
171
|
+
storageClassType: "string",
|
|
172
|
+
},
|
|
173
|
+
};
|
|
174
|
+
// remove undefined attributes
|
|
175
|
+
return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
|
|
176
|
+
}
|
|
177
|
+
}
|
|
@@ -0,0 +1,160 @@
|
|
|
1
|
+
import { Construct } from 'constructs';
|
|
2
|
+
import * as cdktf from 'cdktf';
|
|
3
|
+
export interface NewrelicProviderConfig {
|
|
4
|
+
/**
|
|
5
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs#account_id NewrelicProvider#account_id}
|
|
6
|
+
*/
|
|
7
|
+
readonly accountId: number;
|
|
8
|
+
/**
|
|
9
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs#admin_api_key NewrelicProvider#admin_api_key}
|
|
10
|
+
*/
|
|
11
|
+
readonly adminApiKey?: string;
|
|
12
|
+
/**
|
|
13
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs#api_key NewrelicProvider#api_key}
|
|
14
|
+
*/
|
|
15
|
+
readonly apiKey: string;
|
|
16
|
+
/**
|
|
17
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs#api_url NewrelicProvider#api_url}
|
|
18
|
+
*/
|
|
19
|
+
readonly apiUrl?: string;
|
|
20
|
+
/**
|
|
21
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs#cacert_file NewrelicProvider#cacert_file}
|
|
22
|
+
*/
|
|
23
|
+
readonly cacertFile?: string;
|
|
24
|
+
/**
|
|
25
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs#infrastructure_api_url NewrelicProvider#infrastructure_api_url}
|
|
26
|
+
*/
|
|
27
|
+
readonly infrastructureApiUrl?: string;
|
|
28
|
+
/**
|
|
29
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs#insecure_skip_verify NewrelicProvider#insecure_skip_verify}
|
|
30
|
+
*/
|
|
31
|
+
readonly insecureSkipVerify?: boolean | cdktf.IResolvable;
|
|
32
|
+
/**
|
|
33
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs#insights_insert_key NewrelicProvider#insights_insert_key}
|
|
34
|
+
*/
|
|
35
|
+
readonly insightsInsertKey?: string;
|
|
36
|
+
/**
|
|
37
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs#insights_insert_url NewrelicProvider#insights_insert_url}
|
|
38
|
+
*/
|
|
39
|
+
readonly insightsInsertUrl?: string;
|
|
40
|
+
/**
|
|
41
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs#insights_query_url NewrelicProvider#insights_query_url}
|
|
42
|
+
*/
|
|
43
|
+
readonly insightsQueryUrl?: string;
|
|
44
|
+
/**
|
|
45
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs#nerdgraph_api_url NewrelicProvider#nerdgraph_api_url}
|
|
46
|
+
*/
|
|
47
|
+
readonly nerdgraphApiUrl?: string;
|
|
48
|
+
/**
|
|
49
|
+
* The data center for which your New Relic account is configured. Only one region per provider block is permitted.
|
|
50
|
+
*
|
|
51
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs#region NewrelicProvider#region}
|
|
52
|
+
*/
|
|
53
|
+
readonly region?: string;
|
|
54
|
+
/**
|
|
55
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs#synthetics_api_url NewrelicProvider#synthetics_api_url}
|
|
56
|
+
*/
|
|
57
|
+
readonly syntheticsApiUrl?: string;
|
|
58
|
+
/**
|
|
59
|
+
* Alias name
|
|
60
|
+
*
|
|
61
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs#alias NewrelicProvider#alias}
|
|
62
|
+
*/
|
|
63
|
+
readonly alias?: string;
|
|
64
|
+
}
|
|
65
|
+
/**
|
|
66
|
+
* Represents a {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs newrelic}
|
|
67
|
+
*/
|
|
68
|
+
export declare class NewrelicProvider extends cdktf.TerraformProvider {
|
|
69
|
+
static readonly tfResourceType = "newrelic";
|
|
70
|
+
/**
|
|
71
|
+
* Generates CDKTF code for importing a NewrelicProvider resource upon running "cdktf plan <stack-name>"
|
|
72
|
+
* @param scope The scope in which to define this construct
|
|
73
|
+
* @param importToId The construct id used in the generated config for the NewrelicProvider to import
|
|
74
|
+
* @param importFromId The id of the existing NewrelicProvider that should be imported. Refer to the {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs#import import section} in the documentation of this resource for the id to use
|
|
75
|
+
* @param provider? Optional instance of the provider where the NewrelicProvider to import is found
|
|
76
|
+
*/
|
|
77
|
+
static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider): any;
|
|
78
|
+
/**
|
|
79
|
+
* Create a new {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs newrelic} Resource
|
|
80
|
+
*
|
|
81
|
+
* @param scope The scope in which to define this construct
|
|
82
|
+
* @param id The scoped construct ID. Must be unique amongst siblings in the same scope
|
|
83
|
+
* @param options NewrelicProviderConfig
|
|
84
|
+
*/
|
|
85
|
+
constructor(scope: Construct, id: string, config: NewrelicProviderConfig);
|
|
86
|
+
private _accountId?;
|
|
87
|
+
get accountId(): number | undefined;
|
|
88
|
+
set accountId(value: number | undefined);
|
|
89
|
+
get accountIdInput(): number;
|
|
90
|
+
private _adminApiKey?;
|
|
91
|
+
get adminApiKey(): string | undefined;
|
|
92
|
+
set adminApiKey(value: string | undefined);
|
|
93
|
+
resetAdminApiKey(): void;
|
|
94
|
+
get adminApiKeyInput(): string;
|
|
95
|
+
private _apiKey?;
|
|
96
|
+
get apiKey(): string | undefined;
|
|
97
|
+
set apiKey(value: string | undefined);
|
|
98
|
+
get apiKeyInput(): string;
|
|
99
|
+
private _apiUrl?;
|
|
100
|
+
get apiUrl(): string | undefined;
|
|
101
|
+
set apiUrl(value: string | undefined);
|
|
102
|
+
resetApiUrl(): void;
|
|
103
|
+
get apiUrlInput(): string;
|
|
104
|
+
private _cacertFile?;
|
|
105
|
+
get cacertFile(): string | undefined;
|
|
106
|
+
set cacertFile(value: string | undefined);
|
|
107
|
+
resetCacertFile(): void;
|
|
108
|
+
get cacertFileInput(): string;
|
|
109
|
+
private _infrastructureApiUrl?;
|
|
110
|
+
get infrastructureApiUrl(): string | undefined;
|
|
111
|
+
set infrastructureApiUrl(value: string | undefined);
|
|
112
|
+
resetInfrastructureApiUrl(): void;
|
|
113
|
+
get infrastructureApiUrlInput(): string;
|
|
114
|
+
private _insecureSkipVerify?;
|
|
115
|
+
get insecureSkipVerify(): boolean | cdktf.IResolvable | undefined;
|
|
116
|
+
set insecureSkipVerify(value: boolean | cdktf.IResolvable | undefined);
|
|
117
|
+
resetInsecureSkipVerify(): void;
|
|
118
|
+
get insecureSkipVerifyInput(): any;
|
|
119
|
+
private _insightsInsertKey?;
|
|
120
|
+
get insightsInsertKey(): string | undefined;
|
|
121
|
+
set insightsInsertKey(value: string | undefined);
|
|
122
|
+
resetInsightsInsertKey(): void;
|
|
123
|
+
get insightsInsertKeyInput(): string;
|
|
124
|
+
private _insightsInsertUrl?;
|
|
125
|
+
get insightsInsertUrl(): string | undefined;
|
|
126
|
+
set insightsInsertUrl(value: string | undefined);
|
|
127
|
+
resetInsightsInsertUrl(): void;
|
|
128
|
+
get insightsInsertUrlInput(): string;
|
|
129
|
+
private _insightsQueryUrl?;
|
|
130
|
+
get insightsQueryUrl(): string | undefined;
|
|
131
|
+
set insightsQueryUrl(value: string | undefined);
|
|
132
|
+
resetInsightsQueryUrl(): void;
|
|
133
|
+
get insightsQueryUrlInput(): string;
|
|
134
|
+
private _nerdgraphApiUrl?;
|
|
135
|
+
get nerdgraphApiUrl(): string | undefined;
|
|
136
|
+
set nerdgraphApiUrl(value: string | undefined);
|
|
137
|
+
resetNerdgraphApiUrl(): void;
|
|
138
|
+
get nerdgraphApiUrlInput(): string;
|
|
139
|
+
private _region?;
|
|
140
|
+
get region(): string | undefined;
|
|
141
|
+
set region(value: string | undefined);
|
|
142
|
+
resetRegion(): void;
|
|
143
|
+
get regionInput(): string;
|
|
144
|
+
private _syntheticsApiUrl?;
|
|
145
|
+
get syntheticsApiUrl(): string | undefined;
|
|
146
|
+
set syntheticsApiUrl(value: string | undefined);
|
|
147
|
+
resetSyntheticsApiUrl(): void;
|
|
148
|
+
get syntheticsApiUrlInput(): string;
|
|
149
|
+
private _alias?;
|
|
150
|
+
get alias(): string | undefined;
|
|
151
|
+
set alias(value: string | undefined);
|
|
152
|
+
resetAlias(): void;
|
|
153
|
+
get aliasInput(): string;
|
|
154
|
+
protected synthesizeAttributes(): {
|
|
155
|
+
[name: string]: any;
|
|
156
|
+
};
|
|
157
|
+
protected synthesizeHclAttributes(): {
|
|
158
|
+
[name: string]: any;
|
|
159
|
+
};
|
|
160
|
+
}
|