@cdktf-providers/newrelic 3.75.4 → 3.76.0
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/README.md +3 -3
- package/dist/account-management/index.d.ts +6 -6
- package/dist/account-management/index.js +6 -6
- package/dist/alert-channel/index.d.ts +30 -30
- package/dist/alert-channel/index.js +6 -6
- package/dist/alert-condition/index.d.ts +23 -23
- package/dist/alert-condition/index.js +6 -6
- package/dist/alert-muting-rule/index.d.ts +23 -23
- package/dist/alert-muting-rule/index.js +6 -6
- package/dist/alert-policy/index.d.ts +8 -8
- package/dist/alert-policy/index.js +6 -6
- package/dist/alert-policy-channel/index.d.ts +9 -9
- package/dist/alert-policy-channel/index.js +6 -6
- package/dist/api-access-key/index.d.ts +10 -10
- package/dist/api-access-key/index.js +6 -6
- package/dist/application-settings/index.d.ts +27 -27
- package/dist/application-settings/index.js +6 -6
- package/dist/browser-application/index.d.ts +9 -9
- package/dist/browser-application/index.js +6 -6
- package/dist/cloud-aws-govcloud-integrations/index.d.ts +110 -110
- package/dist/cloud-aws-govcloud-integrations/index.js +6 -6
- package/dist/cloud-aws-govcloud-link-account/index.d.ts +8 -8
- package/dist/cloud-aws-govcloud-link-account/index.js +6 -6
- package/dist/cloud-aws-integrations/index.d.ts +231 -231
- package/dist/cloud-aws-integrations/index.js +6 -6
- package/dist/cloud-aws-link-account/index.d.ts +8 -8
- package/dist/cloud-aws-link-account/index.js +6 -6
- package/dist/cloud-azure-integrations/index.d.ts +109 -109
- package/dist/cloud-azure-integrations/index.js +6 -6
- package/dist/cloud-azure-link-account/index.d.ts +10 -10
- package/dist/cloud-azure-link-account/index.js +6 -6
- package/dist/cloud-gcp-integrations/index.d.ts +62 -62
- package/dist/cloud-gcp-integrations/index.js +6 -6
- package/dist/cloud-gcp-link-account/index.d.ts +7 -7
- package/dist/cloud-gcp-link-account/index.js +6 -6
- package/dist/cloud-oci-link-account/index.d.ts +18 -18
- package/dist/cloud-oci-link-account/index.js +6 -6
- package/dist/data-newrelic-account/index.d.ts +7 -7
- package/dist/data-newrelic-account/index.js +6 -6
- package/dist/data-newrelic-alert-channel/index.d.ts +6 -6
- package/dist/data-newrelic-alert-channel/index.js +6 -6
- package/dist/data-newrelic-alert-policy/index.d.ts +7 -7
- package/dist/data-newrelic-alert-policy/index.js +6 -6
- package/dist/data-newrelic-application/index.d.ts +5 -5
- package/dist/data-newrelic-application/index.js +6 -6
- package/dist/data-newrelic-authentication-domain/index.d.ts +4 -4
- package/dist/data-newrelic-authentication-domain/index.js +6 -6
- package/dist/data-newrelic-cloud-account/index.d.ts +7 -7
- package/dist/data-newrelic-cloud-account/index.js +6 -6
- package/dist/data-newrelic-entity/index.d.ts +14 -14
- package/dist/data-newrelic-entity/index.js +6 -6
- package/dist/data-newrelic-group/index.d.ts +5 -5
- package/dist/data-newrelic-group/index.js +6 -6
- package/dist/data-newrelic-key-transaction/index.d.ts +7 -7
- package/dist/data-newrelic-key-transaction/index.js +6 -6
- package/dist/data-newrelic-notification-destination/index.d.ts +8 -8
- package/dist/data-newrelic-notification-destination/index.js +6 -6
- package/dist/data-newrelic-obfuscation-expression/index.d.ts +6 -6
- package/dist/data-newrelic-obfuscation-expression/index.js +6 -6
- package/dist/data-newrelic-service-level-alert-helper/index.d.ts +11 -11
- package/dist/data-newrelic-service-level-alert-helper/index.js +6 -6
- package/dist/data-newrelic-synthetics-private-location/index.d.ts +7 -7
- package/dist/data-newrelic-synthetics-private-location/index.js +6 -6
- package/dist/data-newrelic-synthetics-secure-credential/index.d.ts +6 -6
- package/dist/data-newrelic-synthetics-secure-credential/index.js +6 -6
- package/dist/data-newrelic-test-grok-pattern/index.d.ts +7 -7
- package/dist/data-newrelic-test-grok-pattern/index.js +6 -6
- package/dist/data-newrelic-user/index.d.ts +6 -6
- package/dist/data-newrelic-user/index.js +6 -6
- package/dist/data-partition-rule/index.d.ts +12 -12
- package/dist/data-partition-rule/index.js +6 -6
- package/dist/entity-tags/index.d.ts +10 -10
- package/dist/entity-tags/index.js +6 -6
- package/dist/events-to-metrics-rule/index.d.ts +9 -9
- package/dist/events-to-metrics-rule/index.js +6 -6
- package/dist/group/index.d.ts +7 -7
- package/dist/group/index.js +6 -6
- package/dist/infra-alert-condition/index.d.ts +25 -25
- package/dist/infra-alert-condition/index.js +6 -6
- package/dist/insights-event/index.d.ts +11 -11
- package/dist/insights-event/index.js +6 -6
- package/dist/key-transaction/index.d.ts +9 -9
- package/dist/key-transaction/index.js +6 -6
- package/dist/log-parsing-rule/index.d.ts +12 -12
- package/dist/log-parsing-rule/index.js +6 -6
- package/dist/monitor-downtime/index.d.ts +20 -20
- package/dist/monitor-downtime/index.js +6 -6
- package/dist/notification-channel/index.d.ts +18 -18
- package/dist/notification-channel/index.js +6 -6
- package/dist/notification-destination/index.d.ts +28 -28
- package/dist/notification-destination/index.js +6 -6
- package/dist/nrql-alert-condition/index.d.ts +151 -71
- package/dist/nrql-alert-condition/index.js +222 -6
- package/dist/nrql-drop-rule/index.d.ts +10 -10
- package/dist/nrql-drop-rule/index.js +6 -6
- package/dist/obfuscation-expression/index.d.ts +8 -8
- package/dist/obfuscation-expression/index.js +6 -6
- package/dist/obfuscation-rule/index.d.ts +13 -13
- package/dist/obfuscation-rule/index.js +6 -6
- package/dist/one-dashboard/index-structs/structs0.d.ts +382 -382
- package/dist/one-dashboard/index-structs/structs400.d.ts +212 -212
- package/dist/one-dashboard/index.d.ts +10 -10
- package/dist/one-dashboard/index.js +5 -5
- package/dist/one-dashboard-json/index.d.ts +9 -9
- package/dist/one-dashboard-json/index.js +6 -6
- package/dist/one-dashboard-raw/index.d.ts +20 -20
- package/dist/one-dashboard-raw/index.js +6 -6
- package/dist/pipeline-cloud-rule/index.d.ts +8 -8
- package/dist/pipeline-cloud-rule/index.js +6 -6
- package/dist/provider/index.d.ts +17 -17
- package/dist/provider/index.js +6 -6
- package/dist/service-level/index.d.ts +38 -38
- package/dist/service-level/index.js +6 -6
- package/dist/synthetics-alert-condition/index.d.ts +9 -9
- package/dist/synthetics-alert-condition/index.js +6 -6
- package/dist/synthetics-broken-links-monitor/index.d.ts +17 -17
- package/dist/synthetics-broken-links-monitor/index.js +6 -6
- package/dist/synthetics-cert-check-monitor/index.d.ts +18 -18
- package/dist/synthetics-cert-check-monitor/index.js +6 -6
- package/dist/synthetics-monitor/index.d.ts +31 -31
- package/dist/synthetics-monitor/index.js +6 -6
- package/dist/synthetics-multilocation-alert-condition/index.d.ts +14 -14
- package/dist/synthetics-multilocation-alert-condition/index.js +6 -6
- package/dist/synthetics-private-location/index.d.ts +8 -8
- package/dist/synthetics-private-location/index.js +6 -6
- package/dist/synthetics-script-monitor/index.d.ts +26 -26
- package/dist/synthetics-script-monitor/index.js +6 -6
- package/dist/synthetics-secure-credential/index.d.ts +11 -11
- package/dist/synthetics-secure-credential/index.js +6 -6
- package/dist/synthetics-step-monitor/index.d.ts +25 -25
- package/dist/synthetics-step-monitor/index.js +6 -6
- package/dist/user/index.d.ts +8 -8
- package/dist/user/index.js +6 -6
- package/dist/workflow/index.d.ts +26 -26
- package/dist/workflow/index.js +6 -6
- package/dist/workload/index.d.ts +32 -32
- package/dist/workload/index.js +6 -6
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
# @cdktf-providers/newrelic (v3.
|
|
1
|
+
# @cdktf-providers/newrelic (v3.76.0)
|
|
2
2
|
|
|
3
|
-
This package provides the prebuilt [Terraform newrelic/newrelic provider](https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
3
|
+
This package provides the prebuilt [Terraform newrelic/newrelic provider](https://registry.terraform.io/providers/newrelic/newrelic/3.76.0/docs) bindings for [CDK for Terraform (CDKTF)](https://cdk.tf).
|
|
4
4
|
|
|
5
5
|
The bindings are **automatically generated** from the upstream provider schema. They are intended for use in TypeScript CDKTF applications, and always match the version of the upstream Terraform provider.
|
|
6
6
|
|
|
@@ -12,7 +12,7 @@ For more details, see the [cdktf-providers](https://github.com/shunueda/cdktf-pr
|
|
|
12
12
|
|
|
13
13
|
## Docs
|
|
14
14
|
|
|
15
|
-
See provider documentation on [registry.terraform.io](https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
15
|
+
See provider documentation on [registry.terraform.io](https://registry.terraform.io/providers/newrelic/newrelic/3.76.0/docs).
|
|
16
16
|
|
|
17
17
|
## Disclaimer
|
|
18
18
|
|
|
@@ -2,7 +2,7 @@ import { Construct } from 'constructs';
|
|
|
2
2
|
import * as cdktf from 'cdktf';
|
|
3
3
|
export interface AccountManagementConfig extends cdktf.TerraformMetaArguments {
|
|
4
4
|
/**
|
|
5
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
5
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.0/docs/resources/account_management#id AccountManagement#id}
|
|
6
6
|
*
|
|
7
7
|
* Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2.
|
|
8
8
|
* 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.
|
|
@@ -11,18 +11,18 @@ export interface AccountManagementConfig extends cdktf.TerraformMetaArguments {
|
|
|
11
11
|
/**
|
|
12
12
|
* Name of the account to be created
|
|
13
13
|
*
|
|
14
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
14
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.0/docs/resources/account_management#name AccountManagement#name}
|
|
15
15
|
*/
|
|
16
16
|
readonly name: string;
|
|
17
17
|
/**
|
|
18
18
|
* A description of what this parsing rule represents.
|
|
19
19
|
*
|
|
20
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
20
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.0/docs/resources/account_management#region AccountManagement#region}
|
|
21
21
|
*/
|
|
22
22
|
readonly region: string;
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
|
-
* Represents a {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
25
|
+
* Represents a {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.0/docs/resources/account_management newrelic_account_management}
|
|
26
26
|
*/
|
|
27
27
|
export declare class AccountManagement extends cdktf.TerraformResource {
|
|
28
28
|
static readonly tfResourceType = "newrelic_account_management";
|
|
@@ -30,12 +30,12 @@ export declare class AccountManagement extends cdktf.TerraformResource {
|
|
|
30
30
|
* Generates CDKTF code for importing a AccountManagement resource upon running "cdktf plan <stack-name>"
|
|
31
31
|
* @param scope The scope in which to define this construct
|
|
32
32
|
* @param importToId The construct id used in the generated config for the AccountManagement to import
|
|
33
|
-
* @param importFromId The id of the existing AccountManagement that should be imported. Refer to the {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
33
|
+
* @param importFromId The id of the existing AccountManagement that should be imported. Refer to the {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.0/docs/resources/account_management#import import section} in the documentation of this resource for the id to use
|
|
34
34
|
* @param provider? Optional instance of the provider where the AccountManagement to import is found
|
|
35
35
|
*/
|
|
36
36
|
static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider): any;
|
|
37
37
|
/**
|
|
38
|
-
* Create a new {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
38
|
+
* Create a new {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.0/docs/resources/account_management newrelic_account_management} Resource
|
|
39
39
|
*
|
|
40
40
|
* @param scope The scope in which to define this construct
|
|
41
41
|
* @param id The scoped construct ID. Must be unique amongst siblings in the same scope
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
// https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
1
|
+
// https://registry.terraform.io/providers/newrelic/newrelic/3.76.0/docs/resources/account_management
|
|
2
2
|
// generated from terraform resource schema
|
|
3
3
|
import * as cdktf from 'cdktf';
|
|
4
4
|
/**
|
|
5
|
-
* Represents a {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
5
|
+
* Represents a {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.0/docs/resources/account_management newrelic_account_management}
|
|
6
6
|
*/
|
|
7
7
|
export class AccountManagement extends cdktf.TerraformResource {
|
|
8
8
|
// =================
|
|
@@ -16,7 +16,7 @@ export class AccountManagement extends cdktf.TerraformResource {
|
|
|
16
16
|
* Generates CDKTF code for importing a AccountManagement resource upon running "cdktf plan <stack-name>"
|
|
17
17
|
* @param scope The scope in which to define this construct
|
|
18
18
|
* @param importToId The construct id used in the generated config for the AccountManagement to import
|
|
19
|
-
* @param importFromId The id of the existing AccountManagement that should be imported. Refer to the {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
19
|
+
* @param importFromId The id of the existing AccountManagement that should be imported. Refer to the {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.0/docs/resources/account_management#import import section} in the documentation of this resource for the id to use
|
|
20
20
|
* @param provider? Optional instance of the provider where the AccountManagement to import is found
|
|
21
21
|
*/
|
|
22
22
|
static generateConfigForImport(scope, importToId, importFromId, provider) {
|
|
@@ -26,7 +26,7 @@ export class AccountManagement extends cdktf.TerraformResource {
|
|
|
26
26
|
// INITIALIZER
|
|
27
27
|
// ===========
|
|
28
28
|
/**
|
|
29
|
-
* Create a new {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
29
|
+
* Create a new {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.0/docs/resources/account_management newrelic_account_management} Resource
|
|
30
30
|
*
|
|
31
31
|
* @param scope The scope in which to define this construct
|
|
32
32
|
* @param id The scoped construct ID. Must be unique amongst siblings in the same scope
|
|
@@ -37,8 +37,8 @@ export class AccountManagement extends cdktf.TerraformResource {
|
|
|
37
37
|
terraformResourceType: 'newrelic_account_management',
|
|
38
38
|
terraformGeneratorMetadata: {
|
|
39
39
|
providerName: 'newrelic',
|
|
40
|
-
providerVersion: '3.
|
|
41
|
-
providerVersionConstraint: '3.
|
|
40
|
+
providerVersion: '3.76.0',
|
|
41
|
+
providerVersionConstraint: '3.76.0'
|
|
42
42
|
},
|
|
43
43
|
provider: config.provider,
|
|
44
44
|
dependsOn: config.dependsOn,
|
|
@@ -4,11 +4,11 @@ export interface AlertChannelConfig extends cdktf.TerraformMetaArguments {
|
|
|
4
4
|
/**
|
|
5
5
|
* The New Relic account ID where you want to create alert channels.
|
|
6
6
|
*
|
|
7
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
7
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.0/docs/resources/alert_channel#account_id AlertChannel#account_id}
|
|
8
8
|
*/
|
|
9
9
|
readonly accountId?: number;
|
|
10
10
|
/**
|
|
11
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
11
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.0/docs/resources/alert_channel#id AlertChannel#id}
|
|
12
12
|
*
|
|
13
13
|
* Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2.
|
|
14
14
|
* 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.
|
|
@@ -17,19 +17,19 @@ export interface AlertChannelConfig extends cdktf.TerraformMetaArguments {
|
|
|
17
17
|
/**
|
|
18
18
|
* (Required) The name of the channel.
|
|
19
19
|
*
|
|
20
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
20
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.0/docs/resources/alert_channel#name AlertChannel#name}
|
|
21
21
|
*/
|
|
22
22
|
readonly name: string;
|
|
23
23
|
/**
|
|
24
|
-
* (Required) The type of channel. One of: (pagerduty, slack, user, victorops, webhook
|
|
24
|
+
* (Required) The type of channel. One of: (email, opsgenie, pagerduty, slack, user, victorops, webhook).
|
|
25
25
|
*
|
|
26
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
26
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.0/docs/resources/alert_channel#type AlertChannel#type}
|
|
27
27
|
*/
|
|
28
28
|
readonly type: string;
|
|
29
29
|
/**
|
|
30
30
|
* config block
|
|
31
31
|
*
|
|
32
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
32
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.0/docs/resources/alert_channel#config AlertChannel#config}
|
|
33
33
|
*/
|
|
34
34
|
readonly config?: AlertChannelConfigA;
|
|
35
35
|
}
|
|
@@ -37,43 +37,43 @@ export interface AlertChannelConfigA {
|
|
|
37
37
|
/**
|
|
38
38
|
* The API key for integrating with OpsGenie.
|
|
39
39
|
*
|
|
40
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
40
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.0/docs/resources/alert_channel#api_key AlertChannel#api_key}
|
|
41
41
|
*/
|
|
42
42
|
readonly apiKey?: string;
|
|
43
43
|
/**
|
|
44
44
|
* Specifies an authentication password for use with a channel. Supported by the webhook channel type.
|
|
45
45
|
*
|
|
46
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
46
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.0/docs/resources/alert_channel#auth_password AlertChannel#auth_password}
|
|
47
47
|
*/
|
|
48
48
|
readonly authPassword?: string;
|
|
49
49
|
/**
|
|
50
50
|
* Specifies an authentication method for use with a channel. Supported by the webhook channel type. Only HTTP basic authentication is currently supported via the value BASIC.
|
|
51
51
|
*
|
|
52
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
52
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.0/docs/resources/alert_channel#auth_type AlertChannel#auth_type}
|
|
53
53
|
*/
|
|
54
54
|
readonly authType?: string;
|
|
55
55
|
/**
|
|
56
56
|
* Specifies an authentication username for use with a channel. Supported by the webhook channel type.
|
|
57
57
|
*
|
|
58
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
58
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.0/docs/resources/alert_channel#auth_username AlertChannel#auth_username}
|
|
59
59
|
*/
|
|
60
60
|
readonly authUsername?: string;
|
|
61
61
|
/**
|
|
62
62
|
* The base URL of the webhook destination.
|
|
63
63
|
*
|
|
64
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
64
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.0/docs/resources/alert_channel#base_url AlertChannel#base_url}
|
|
65
65
|
*/
|
|
66
66
|
readonly baseUrl?: string;
|
|
67
67
|
/**
|
|
68
68
|
* The Slack channel to send notifications to.
|
|
69
69
|
*
|
|
70
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
70
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.0/docs/resources/alert_channel#channel AlertChannel#channel}
|
|
71
71
|
*/
|
|
72
72
|
readonly channel?: string;
|
|
73
73
|
/**
|
|
74
74
|
* A map of key/value pairs that represents extra HTTP headers to be sent along with the webhook payload.
|
|
75
75
|
*
|
|
76
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
76
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.0/docs/resources/alert_channel#headers AlertChannel#headers}
|
|
77
77
|
*/
|
|
78
78
|
readonly headers?: {
|
|
79
79
|
[key: string]: string;
|
|
@@ -81,25 +81,25 @@ export interface AlertChannelConfigA {
|
|
|
81
81
|
/**
|
|
82
82
|
* Use instead of headers if the desired payload is more complex than a list of key/value pairs (e.g. a set of headers that makes use of nested objects). The value provided should be a valid JSON string with escaped double quotes. Conflicts with headers.
|
|
83
83
|
*
|
|
84
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
84
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.0/docs/resources/alert_channel#headers_string AlertChannel#headers_string}
|
|
85
85
|
*/
|
|
86
86
|
readonly headersString?: string;
|
|
87
87
|
/**
|
|
88
88
|
* true or false. Flag for whether or not to attach a JSON document containing information about the associated alert to the email that is sent to recipients.
|
|
89
89
|
*
|
|
90
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
90
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.0/docs/resources/alert_channel#include_json_attachment AlertChannel#include_json_attachment}
|
|
91
91
|
*/
|
|
92
92
|
readonly includeJsonAttachment?: string;
|
|
93
93
|
/**
|
|
94
94
|
* The key for integrating with VictorOps.
|
|
95
95
|
*
|
|
96
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
96
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.0/docs/resources/alert_channel#key AlertChannel#key}
|
|
97
97
|
*/
|
|
98
98
|
readonly key?: string;
|
|
99
99
|
/**
|
|
100
100
|
* A map of key/value pairs that represents the webhook payload. Must provide payload_type if setting this argument.
|
|
101
101
|
*
|
|
102
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
102
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.0/docs/resources/alert_channel#payload AlertChannel#payload}
|
|
103
103
|
*/
|
|
104
104
|
readonly payload?: {
|
|
105
105
|
[key: string]: string;
|
|
@@ -107,61 +107,61 @@ export interface AlertChannelConfigA {
|
|
|
107
107
|
/**
|
|
108
108
|
* Use instead of payload if the desired payload is more complex than a list of key/value pairs (e.g. a payload that makes use of nested objects). The value provided should be a valid JSON string with escaped double quotes. Conflicts with payload.
|
|
109
109
|
*
|
|
110
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
110
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.0/docs/resources/alert_channel#payload_string AlertChannel#payload_string}
|
|
111
111
|
*/
|
|
112
112
|
readonly payloadString?: string;
|
|
113
113
|
/**
|
|
114
114
|
* Can either be application/json or application/x-www-form-urlencoded. The payload_type argument is required if payload is set.
|
|
115
115
|
*
|
|
116
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
116
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.0/docs/resources/alert_channel#payload_type AlertChannel#payload_type}
|
|
117
117
|
*/
|
|
118
118
|
readonly payloadType?: string;
|
|
119
119
|
/**
|
|
120
120
|
* A set of recipients for targeting notifications. Multiple values are comma separated.
|
|
121
121
|
*
|
|
122
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
122
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.0/docs/resources/alert_channel#recipients AlertChannel#recipients}
|
|
123
123
|
*/
|
|
124
124
|
readonly recipients?: string;
|
|
125
125
|
/**
|
|
126
126
|
* The data center region to store your data. Valid values are US and EU. Default is US.
|
|
127
127
|
*
|
|
128
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
128
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.0/docs/resources/alert_channel#region AlertChannel#region}
|
|
129
129
|
*/
|
|
130
130
|
readonly region?: string;
|
|
131
131
|
/**
|
|
132
132
|
* The route key for integrating with VictorOps.
|
|
133
133
|
*
|
|
134
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
134
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.0/docs/resources/alert_channel#route_key AlertChannel#route_key}
|
|
135
135
|
*/
|
|
136
136
|
readonly routeKey?: string;
|
|
137
137
|
/**
|
|
138
138
|
* Specifies the service key for integrating with Pagerduty.
|
|
139
139
|
*
|
|
140
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
140
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.0/docs/resources/alert_channel#service_key AlertChannel#service_key}
|
|
141
141
|
*/
|
|
142
142
|
readonly serviceKey?: string;
|
|
143
143
|
/**
|
|
144
144
|
* A set of tags for targeting notifications. Multiple values are comma separated.
|
|
145
145
|
*
|
|
146
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
146
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.0/docs/resources/alert_channel#tags AlertChannel#tags}
|
|
147
147
|
*/
|
|
148
148
|
readonly tags?: string;
|
|
149
149
|
/**
|
|
150
150
|
* A set of teams for targeting notifications. Multiple values are comma separated.
|
|
151
151
|
*
|
|
152
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
152
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.0/docs/resources/alert_channel#teams AlertChannel#teams}
|
|
153
153
|
*/
|
|
154
154
|
readonly teams?: string;
|
|
155
155
|
/**
|
|
156
156
|
* Your organization's Slack URL.
|
|
157
157
|
*
|
|
158
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
158
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.0/docs/resources/alert_channel#url AlertChannel#url}
|
|
159
159
|
*/
|
|
160
160
|
readonly url?: string;
|
|
161
161
|
/**
|
|
162
162
|
* The user ID for use with the user channel type.
|
|
163
163
|
*
|
|
164
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
164
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.0/docs/resources/alert_channel#user_id AlertChannel#user_id}
|
|
165
165
|
*/
|
|
166
166
|
readonly userId?: string;
|
|
167
167
|
}
|
|
@@ -295,7 +295,7 @@ export declare class AlertChannelConfigAOutputReference extends cdktf.ComplexObj
|
|
|
295
295
|
get userIdInput(): string;
|
|
296
296
|
}
|
|
297
297
|
/**
|
|
298
|
-
* Represents a {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
298
|
+
* Represents a {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.0/docs/resources/alert_channel newrelic_alert_channel}
|
|
299
299
|
*/
|
|
300
300
|
export declare class AlertChannel extends cdktf.TerraformResource {
|
|
301
301
|
static readonly tfResourceType = "newrelic_alert_channel";
|
|
@@ -303,12 +303,12 @@ export declare class AlertChannel extends cdktf.TerraformResource {
|
|
|
303
303
|
* Generates CDKTF code for importing a AlertChannel resource upon running "cdktf plan <stack-name>"
|
|
304
304
|
* @param scope The scope in which to define this construct
|
|
305
305
|
* @param importToId The construct id used in the generated config for the AlertChannel to import
|
|
306
|
-
* @param importFromId The id of the existing AlertChannel that should be imported. Refer to the {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
306
|
+
* @param importFromId The id of the existing AlertChannel that should be imported. Refer to the {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.0/docs/resources/alert_channel#import import section} in the documentation of this resource for the id to use
|
|
307
307
|
* @param provider? Optional instance of the provider where the AlertChannel to import is found
|
|
308
308
|
*/
|
|
309
309
|
static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider): any;
|
|
310
310
|
/**
|
|
311
|
-
* Create a new {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
311
|
+
* Create a new {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.0/docs/resources/alert_channel newrelic_alert_channel} Resource
|
|
312
312
|
*
|
|
313
313
|
* @param scope The scope in which to define this construct
|
|
314
314
|
* @param id The scoped construct ID. Must be unique amongst siblings in the same scope
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
1
|
+
// https://registry.terraform.io/providers/newrelic/newrelic/3.76.0/docs/resources/alert_channel
|
|
2
2
|
// generated from terraform resource schema
|
|
3
3
|
import * as cdktf from 'cdktf';
|
|
4
4
|
export function alertChannelConfigAToTerraform(struct) {
|
|
@@ -635,7 +635,7 @@ export class AlertChannelConfigAOutputReference extends cdktf.ComplexObject {
|
|
|
635
635
|
}
|
|
636
636
|
}
|
|
637
637
|
/**
|
|
638
|
-
* Represents a {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
638
|
+
* Represents a {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.0/docs/resources/alert_channel newrelic_alert_channel}
|
|
639
639
|
*/
|
|
640
640
|
export class AlertChannel extends cdktf.TerraformResource {
|
|
641
641
|
// =================
|
|
@@ -649,7 +649,7 @@ export class AlertChannel extends cdktf.TerraformResource {
|
|
|
649
649
|
* Generates CDKTF code for importing a AlertChannel resource upon running "cdktf plan <stack-name>"
|
|
650
650
|
* @param scope The scope in which to define this construct
|
|
651
651
|
* @param importToId The construct id used in the generated config for the AlertChannel to import
|
|
652
|
-
* @param importFromId The id of the existing AlertChannel that should be imported. Refer to the {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
652
|
+
* @param importFromId The id of the existing AlertChannel that should be imported. Refer to the {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.0/docs/resources/alert_channel#import import section} in the documentation of this resource for the id to use
|
|
653
653
|
* @param provider? Optional instance of the provider where the AlertChannel to import is found
|
|
654
654
|
*/
|
|
655
655
|
static generateConfigForImport(scope, importToId, importFromId, provider) {
|
|
@@ -659,7 +659,7 @@ export class AlertChannel extends cdktf.TerraformResource {
|
|
|
659
659
|
// INITIALIZER
|
|
660
660
|
// ===========
|
|
661
661
|
/**
|
|
662
|
-
* Create a new {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
662
|
+
* Create a new {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.0/docs/resources/alert_channel newrelic_alert_channel} Resource
|
|
663
663
|
*
|
|
664
664
|
* @param scope The scope in which to define this construct
|
|
665
665
|
* @param id The scoped construct ID. Must be unique amongst siblings in the same scope
|
|
@@ -670,8 +670,8 @@ export class AlertChannel extends cdktf.TerraformResource {
|
|
|
670
670
|
terraformResourceType: 'newrelic_alert_channel',
|
|
671
671
|
terraformGeneratorMetadata: {
|
|
672
672
|
providerName: 'newrelic',
|
|
673
|
-
providerVersion: '3.
|
|
674
|
-
providerVersionConstraint: '3.
|
|
673
|
+
providerVersion: '3.76.0',
|
|
674
|
+
providerVersionConstraint: '3.76.0'
|
|
675
675
|
},
|
|
676
676
|
provider: config.provider,
|
|
677
677
|
dependsOn: config.dependsOn,
|
|
@@ -4,29 +4,29 @@ export interface AlertConditionConfig extends cdktf.TerraformMetaArguments {
|
|
|
4
4
|
/**
|
|
5
5
|
* One of (application, instance). Choose application for most scenarios. If you are using the JVM plugin in New Relic, the instance setting allows your condition to trigger for specific app instances.
|
|
6
6
|
*
|
|
7
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
7
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.0/docs/resources/alert_condition#condition_scope AlertCondition#condition_scope}
|
|
8
8
|
*/
|
|
9
9
|
readonly conditionScope?: string;
|
|
10
10
|
/**
|
|
11
11
|
* Whether the condition is enabled.
|
|
12
12
|
*
|
|
13
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
13
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.0/docs/resources/alert_condition#enabled AlertCondition#enabled}
|
|
14
14
|
*/
|
|
15
15
|
readonly enabled?: boolean | cdktf.IResolvable;
|
|
16
16
|
/**
|
|
17
17
|
* The instance IDs associated with this condition.
|
|
18
18
|
*
|
|
19
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
19
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.0/docs/resources/alert_condition#entities AlertCondition#entities}
|
|
20
20
|
*/
|
|
21
21
|
readonly entities: number[];
|
|
22
22
|
/**
|
|
23
23
|
* A valid Garbage Collection metric e.g. GC/G1 Young Generation. This is required if you are using apm_jvm_metric with gc_cpu_time condition type.
|
|
24
24
|
*
|
|
25
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
25
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.0/docs/resources/alert_condition#gc_metric AlertCondition#gc_metric}
|
|
26
26
|
*/
|
|
27
27
|
readonly gcMetric?: string;
|
|
28
28
|
/**
|
|
29
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
29
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.0/docs/resources/alert_condition#id AlertCondition#id}
|
|
30
30
|
*
|
|
31
31
|
* Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2.
|
|
32
32
|
* 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.
|
|
@@ -35,55 +35,55 @@ export interface AlertConditionConfig extends cdktf.TerraformMetaArguments {
|
|
|
35
35
|
/**
|
|
36
36
|
* The metric field accepts parameters based on the type set.
|
|
37
37
|
*
|
|
38
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
38
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.0/docs/resources/alert_condition#metric AlertCondition#metric}
|
|
39
39
|
*/
|
|
40
40
|
readonly metric: string;
|
|
41
41
|
/**
|
|
42
42
|
* The title of the condition. Must be between 1 and 128 characters, inclusive.
|
|
43
43
|
*
|
|
44
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
44
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.0/docs/resources/alert_condition#name AlertCondition#name}
|
|
45
45
|
*/
|
|
46
46
|
readonly name: string;
|
|
47
47
|
/**
|
|
48
48
|
* The ID of the policy where this condition should be used.
|
|
49
49
|
*
|
|
50
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
50
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.0/docs/resources/alert_condition#policy_id AlertCondition#policy_id}
|
|
51
51
|
*/
|
|
52
52
|
readonly policyId: number;
|
|
53
53
|
/**
|
|
54
54
|
* Runbook URL to display in notifications.
|
|
55
55
|
*
|
|
56
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
56
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.0/docs/resources/alert_condition#runbook_url AlertCondition#runbook_url}
|
|
57
57
|
*/
|
|
58
58
|
readonly runbookUrl?: string;
|
|
59
59
|
/**
|
|
60
|
-
* The type of condition. One of: (
|
|
60
|
+
* The type of condition. One of: (apm_app_metric, apm_jvm_metric, apm_kt_metric, browser_metric, mobile_metric, servers_metric).
|
|
61
61
|
*
|
|
62
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
62
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.0/docs/resources/alert_condition#type AlertCondition#type}
|
|
63
63
|
*/
|
|
64
64
|
readonly type: string;
|
|
65
65
|
/**
|
|
66
66
|
* A custom metric to be evaluated.
|
|
67
67
|
*
|
|
68
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
68
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.0/docs/resources/alert_condition#user_defined_metric AlertCondition#user_defined_metric}
|
|
69
69
|
*/
|
|
70
70
|
readonly userDefinedMetric?: string;
|
|
71
71
|
/**
|
|
72
72
|
* One of: (average, min, max, total, sample_size, percent, rate).
|
|
73
73
|
*
|
|
74
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
74
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.0/docs/resources/alert_condition#user_defined_value_function AlertCondition#user_defined_value_function}
|
|
75
75
|
*/
|
|
76
76
|
readonly userDefinedValueFunction?: string;
|
|
77
77
|
/**
|
|
78
78
|
* Automatically close instance-based incidents, including JVM health metric incidents, after the number of hours specified. Must be between 1 and 720 hours.
|
|
79
79
|
*
|
|
80
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
80
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.0/docs/resources/alert_condition#violation_close_timer AlertCondition#violation_close_timer}
|
|
81
81
|
*/
|
|
82
82
|
readonly violationCloseTimer?: number;
|
|
83
83
|
/**
|
|
84
84
|
* term block
|
|
85
85
|
*
|
|
86
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
86
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.0/docs/resources/alert_condition#term AlertCondition#term}
|
|
87
87
|
*/
|
|
88
88
|
readonly term: AlertConditionTerm[] | cdktf.IResolvable;
|
|
89
89
|
}
|
|
@@ -91,31 +91,31 @@ export interface AlertConditionTerm {
|
|
|
91
91
|
/**
|
|
92
92
|
* In minutes, must be in the range of 5 to 120, inclusive.
|
|
93
93
|
*
|
|
94
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
94
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.0/docs/resources/alert_condition#duration AlertCondition#duration}
|
|
95
95
|
*/
|
|
96
96
|
readonly duration: number;
|
|
97
97
|
/**
|
|
98
98
|
* One of (above, below, equal). Defaults to equal.
|
|
99
99
|
*
|
|
100
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
100
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.0/docs/resources/alert_condition#operator AlertCondition#operator}
|
|
101
101
|
*/
|
|
102
102
|
readonly operator?: string;
|
|
103
103
|
/**
|
|
104
104
|
* One of (critical, warning). Defaults to critical.
|
|
105
105
|
*
|
|
106
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
106
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.0/docs/resources/alert_condition#priority AlertCondition#priority}
|
|
107
107
|
*/
|
|
108
108
|
readonly priority?: string;
|
|
109
109
|
/**
|
|
110
110
|
* Must be 0 or greater.
|
|
111
111
|
*
|
|
112
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
112
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.0/docs/resources/alert_condition#threshold AlertCondition#threshold}
|
|
113
113
|
*/
|
|
114
114
|
readonly threshold: number;
|
|
115
115
|
/**
|
|
116
116
|
* One of (all, any).
|
|
117
117
|
*
|
|
118
|
-
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
118
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.0/docs/resources/alert_condition#time_function AlertCondition#time_function}
|
|
119
119
|
*/
|
|
120
120
|
readonly timeFunction: string;
|
|
121
121
|
}
|
|
@@ -173,7 +173,7 @@ export declare class AlertConditionTermList extends cdktf.ComplexList {
|
|
|
173
173
|
get(index: number): AlertConditionTermOutputReference;
|
|
174
174
|
}
|
|
175
175
|
/**
|
|
176
|
-
* Represents a {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
176
|
+
* Represents a {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.0/docs/resources/alert_condition newrelic_alert_condition}
|
|
177
177
|
*/
|
|
178
178
|
export declare class AlertCondition extends cdktf.TerraformResource {
|
|
179
179
|
static readonly tfResourceType = "newrelic_alert_condition";
|
|
@@ -181,12 +181,12 @@ export declare class AlertCondition extends cdktf.TerraformResource {
|
|
|
181
181
|
* Generates CDKTF code for importing a AlertCondition resource upon running "cdktf plan <stack-name>"
|
|
182
182
|
* @param scope The scope in which to define this construct
|
|
183
183
|
* @param importToId The construct id used in the generated config for the AlertCondition to import
|
|
184
|
-
* @param importFromId The id of the existing AlertCondition that should be imported. Refer to the {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
184
|
+
* @param importFromId The id of the existing AlertCondition that should be imported. Refer to the {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.0/docs/resources/alert_condition#import import section} in the documentation of this resource for the id to use
|
|
185
185
|
* @param provider? Optional instance of the provider where the AlertCondition to import is found
|
|
186
186
|
*/
|
|
187
187
|
static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider): any;
|
|
188
188
|
/**
|
|
189
|
-
* Create a new {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
189
|
+
* Create a new {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.0/docs/resources/alert_condition newrelic_alert_condition} Resource
|
|
190
190
|
*
|
|
191
191
|
* @param scope The scope in which to define this construct
|
|
192
192
|
* @param id The scoped construct ID. Must be unique amongst siblings in the same scope
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
1
|
+
// https://registry.terraform.io/providers/newrelic/newrelic/3.76.0/docs/resources/alert_condition
|
|
2
2
|
// generated from terraform resource schema
|
|
3
3
|
import * as cdktf from 'cdktf';
|
|
4
4
|
export function alertConditionTermToTerraform(struct) {
|
|
@@ -213,7 +213,7 @@ export class AlertConditionTermList extends cdktf.ComplexList {
|
|
|
213
213
|
}
|
|
214
214
|
}
|
|
215
215
|
/**
|
|
216
|
-
* Represents a {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
216
|
+
* Represents a {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.0/docs/resources/alert_condition newrelic_alert_condition}
|
|
217
217
|
*/
|
|
218
218
|
export class AlertCondition extends cdktf.TerraformResource {
|
|
219
219
|
// =================
|
|
@@ -227,7 +227,7 @@ export class AlertCondition extends cdktf.TerraformResource {
|
|
|
227
227
|
* Generates CDKTF code for importing a AlertCondition resource upon running "cdktf plan <stack-name>"
|
|
228
228
|
* @param scope The scope in which to define this construct
|
|
229
229
|
* @param importToId The construct id used in the generated config for the AlertCondition to import
|
|
230
|
-
* @param importFromId The id of the existing AlertCondition that should be imported. Refer to the {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
230
|
+
* @param importFromId The id of the existing AlertCondition that should be imported. Refer to the {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.0/docs/resources/alert_condition#import import section} in the documentation of this resource for the id to use
|
|
231
231
|
* @param provider? Optional instance of the provider where the AlertCondition to import is found
|
|
232
232
|
*/
|
|
233
233
|
static generateConfigForImport(scope, importToId, importFromId, provider) {
|
|
@@ -237,7 +237,7 @@ export class AlertCondition extends cdktf.TerraformResource {
|
|
|
237
237
|
// INITIALIZER
|
|
238
238
|
// ===========
|
|
239
239
|
/**
|
|
240
|
-
* Create a new {@link https://registry.terraform.io/providers/newrelic/newrelic/3.
|
|
240
|
+
* Create a new {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.0/docs/resources/alert_condition newrelic_alert_condition} Resource
|
|
241
241
|
*
|
|
242
242
|
* @param scope The scope in which to define this construct
|
|
243
243
|
* @param id The scoped construct ID. Must be unique amongst siblings in the same scope
|
|
@@ -248,8 +248,8 @@ export class AlertCondition extends cdktf.TerraformResource {
|
|
|
248
248
|
terraformResourceType: 'newrelic_alert_condition',
|
|
249
249
|
terraformGeneratorMetadata: {
|
|
250
250
|
providerName: 'newrelic',
|
|
251
|
-
providerVersion: '3.
|
|
252
|
-
providerVersionConstraint: '3.
|
|
251
|
+
providerVersion: '3.76.0',
|
|
252
|
+
providerVersionConstraint: '3.76.0'
|
|
253
253
|
},
|
|
254
254
|
provider: config.provider,
|
|
255
255
|
dependsOn: config.dependsOn,
|