@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,105 @@
|
|
|
1
|
+
import { Construct } from 'constructs';
|
|
2
|
+
import * as cdktf from 'cdktf';
|
|
3
|
+
export interface CloudAzureLinkAccountConfig extends cdktf.TerraformMetaArguments {
|
|
4
|
+
/**
|
|
5
|
+
* The New Relic account ID where you want to link the Azure account.
|
|
6
|
+
*
|
|
7
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/cloud_azure_link_account#account_id CloudAzureLinkAccount#account_id}
|
|
8
|
+
*/
|
|
9
|
+
readonly accountId?: number;
|
|
10
|
+
/**
|
|
11
|
+
* Application ID for Azure account
|
|
12
|
+
*
|
|
13
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/cloud_azure_link_account#application_id CloudAzureLinkAccount#application_id}
|
|
14
|
+
*/
|
|
15
|
+
readonly applicationId: string;
|
|
16
|
+
/**
|
|
17
|
+
* Value of the client secret from Azure
|
|
18
|
+
*
|
|
19
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/cloud_azure_link_account#client_secret CloudAzureLinkAccount#client_secret}
|
|
20
|
+
*/
|
|
21
|
+
readonly clientSecret: string;
|
|
22
|
+
/**
|
|
23
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/cloud_azure_link_account#id CloudAzureLinkAccount#id}
|
|
24
|
+
*
|
|
25
|
+
* Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2.
|
|
26
|
+
* 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.
|
|
27
|
+
*/
|
|
28
|
+
readonly id?: string;
|
|
29
|
+
/**
|
|
30
|
+
* Name of the linked account
|
|
31
|
+
*
|
|
32
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/cloud_azure_link_account#name CloudAzureLinkAccount#name}
|
|
33
|
+
*/
|
|
34
|
+
readonly name: string;
|
|
35
|
+
/**
|
|
36
|
+
* Subscription ID for the Azure account
|
|
37
|
+
*
|
|
38
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/cloud_azure_link_account#subscription_id CloudAzureLinkAccount#subscription_id}
|
|
39
|
+
*/
|
|
40
|
+
readonly subscriptionId: string;
|
|
41
|
+
/**
|
|
42
|
+
* Tenant ID for the Azure account
|
|
43
|
+
*
|
|
44
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/cloud_azure_link_account#tenant_id CloudAzureLinkAccount#tenant_id}
|
|
45
|
+
*/
|
|
46
|
+
readonly tenantId: string;
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* Represents a {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/cloud_azure_link_account newrelic_cloud_azure_link_account}
|
|
50
|
+
*/
|
|
51
|
+
export declare class CloudAzureLinkAccount extends cdktf.TerraformResource {
|
|
52
|
+
static readonly tfResourceType = "newrelic_cloud_azure_link_account";
|
|
53
|
+
/**
|
|
54
|
+
* Generates CDKTF code for importing a CloudAzureLinkAccount resource upon running "cdktf plan <stack-name>"
|
|
55
|
+
* @param scope The scope in which to define this construct
|
|
56
|
+
* @param importToId The construct id used in the generated config for the CloudAzureLinkAccount to import
|
|
57
|
+
* @param importFromId The id of the existing CloudAzureLinkAccount that should be imported. Refer to the {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/cloud_azure_link_account#import import section} in the documentation of this resource for the id to use
|
|
58
|
+
* @param provider? Optional instance of the provider where the CloudAzureLinkAccount to import is found
|
|
59
|
+
*/
|
|
60
|
+
static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider): any;
|
|
61
|
+
/**
|
|
62
|
+
* Create a new {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/cloud_azure_link_account newrelic_cloud_azure_link_account} Resource
|
|
63
|
+
*
|
|
64
|
+
* @param scope The scope in which to define this construct
|
|
65
|
+
* @param id The scoped construct ID. Must be unique amongst siblings in the same scope
|
|
66
|
+
* @param options CloudAzureLinkAccountConfig
|
|
67
|
+
*/
|
|
68
|
+
constructor(scope: Construct, id: string, config: CloudAzureLinkAccountConfig);
|
|
69
|
+
private _accountId?;
|
|
70
|
+
get accountId(): number;
|
|
71
|
+
set accountId(value: number);
|
|
72
|
+
resetAccountId(): void;
|
|
73
|
+
get accountIdInput(): number;
|
|
74
|
+
private _applicationId?;
|
|
75
|
+
get applicationId(): string;
|
|
76
|
+
set applicationId(value: string);
|
|
77
|
+
get applicationIdInput(): string;
|
|
78
|
+
private _clientSecret?;
|
|
79
|
+
get clientSecret(): string;
|
|
80
|
+
set clientSecret(value: string);
|
|
81
|
+
get clientSecretInput(): string;
|
|
82
|
+
private _id?;
|
|
83
|
+
get id(): string;
|
|
84
|
+
set id(value: string);
|
|
85
|
+
resetId(): void;
|
|
86
|
+
get idInput(): string;
|
|
87
|
+
private _name?;
|
|
88
|
+
get name(): string;
|
|
89
|
+
set name(value: string);
|
|
90
|
+
get nameInput(): string;
|
|
91
|
+
private _subscriptionId?;
|
|
92
|
+
get subscriptionId(): string;
|
|
93
|
+
set subscriptionId(value: string);
|
|
94
|
+
get subscriptionIdInput(): string;
|
|
95
|
+
private _tenantId?;
|
|
96
|
+
get tenantId(): string;
|
|
97
|
+
set tenantId(value: string);
|
|
98
|
+
get tenantIdInput(): string;
|
|
99
|
+
protected synthesizeAttributes(): {
|
|
100
|
+
[name: string]: any;
|
|
101
|
+
};
|
|
102
|
+
protected synthesizeHclAttributes(): {
|
|
103
|
+
[name: string]: any;
|
|
104
|
+
};
|
|
105
|
+
}
|
|
@@ -0,0 +1,214 @@
|
|
|
1
|
+
// https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/cloud_azure_link_account
|
|
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/cloud_azure_link_account newrelic_cloud_azure_link_account}
|
|
6
|
+
*/
|
|
7
|
+
export class CloudAzureLinkAccount extends cdktf.TerraformResource {
|
|
8
|
+
// =================
|
|
9
|
+
// STATIC PROPERTIES
|
|
10
|
+
// =================
|
|
11
|
+
static tfResourceType = "newrelic_cloud_azure_link_account";
|
|
12
|
+
// ==============
|
|
13
|
+
// STATIC Methods
|
|
14
|
+
// ==============
|
|
15
|
+
/**
|
|
16
|
+
* Generates CDKTF code for importing a CloudAzureLinkAccount 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 CloudAzureLinkAccount to import
|
|
19
|
+
* @param importFromId The id of the existing CloudAzureLinkAccount that should be imported. Refer to the {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/cloud_azure_link_account#import import section} in the documentation of this resource for the id to use
|
|
20
|
+
* @param provider? Optional instance of the provider where the CloudAzureLinkAccount to import is found
|
|
21
|
+
*/
|
|
22
|
+
static generateConfigForImport(scope, importToId, importFromId, provider) {
|
|
23
|
+
return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "newrelic_cloud_azure_link_account", 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/cloud_azure_link_account newrelic_cloud_azure_link_account} 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 CloudAzureLinkAccountConfig
|
|
34
|
+
*/
|
|
35
|
+
constructor(scope, id, config) {
|
|
36
|
+
super(scope, id, {
|
|
37
|
+
terraformResourceType: 'newrelic_cloud_azure_link_account',
|
|
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._applicationId = config.applicationId;
|
|
53
|
+
this._clientSecret = config.clientSecret;
|
|
54
|
+
this._id = config.id;
|
|
55
|
+
this._name = config.name;
|
|
56
|
+
this._subscriptionId = config.subscriptionId;
|
|
57
|
+
this._tenantId = config.tenantId;
|
|
58
|
+
}
|
|
59
|
+
// ==========
|
|
60
|
+
// ATTRIBUTES
|
|
61
|
+
// ==========
|
|
62
|
+
// account_id - computed: true, optional: true, required: false
|
|
63
|
+
_accountId;
|
|
64
|
+
get accountId() {
|
|
65
|
+
return this.getNumberAttribute('account_id');
|
|
66
|
+
}
|
|
67
|
+
set accountId(value) {
|
|
68
|
+
this._accountId = value;
|
|
69
|
+
}
|
|
70
|
+
resetAccountId() {
|
|
71
|
+
this._accountId = undefined;
|
|
72
|
+
}
|
|
73
|
+
// Temporarily expose input value. Use with caution.
|
|
74
|
+
get accountIdInput() {
|
|
75
|
+
return this._accountId;
|
|
76
|
+
}
|
|
77
|
+
// application_id - computed: false, optional: false, required: true
|
|
78
|
+
_applicationId;
|
|
79
|
+
get applicationId() {
|
|
80
|
+
return this.getStringAttribute('application_id');
|
|
81
|
+
}
|
|
82
|
+
set applicationId(value) {
|
|
83
|
+
this._applicationId = value;
|
|
84
|
+
}
|
|
85
|
+
// Temporarily expose input value. Use with caution.
|
|
86
|
+
get applicationIdInput() {
|
|
87
|
+
return this._applicationId;
|
|
88
|
+
}
|
|
89
|
+
// client_secret - computed: false, optional: false, required: true
|
|
90
|
+
_clientSecret;
|
|
91
|
+
get clientSecret() {
|
|
92
|
+
return this.getStringAttribute('client_secret');
|
|
93
|
+
}
|
|
94
|
+
set clientSecret(value) {
|
|
95
|
+
this._clientSecret = value;
|
|
96
|
+
}
|
|
97
|
+
// Temporarily expose input value. Use with caution.
|
|
98
|
+
get clientSecretInput() {
|
|
99
|
+
return this._clientSecret;
|
|
100
|
+
}
|
|
101
|
+
// id - computed: true, optional: true, required: false
|
|
102
|
+
_id;
|
|
103
|
+
get id() {
|
|
104
|
+
return this.getStringAttribute('id');
|
|
105
|
+
}
|
|
106
|
+
set id(value) {
|
|
107
|
+
this._id = value;
|
|
108
|
+
}
|
|
109
|
+
resetId() {
|
|
110
|
+
this._id = undefined;
|
|
111
|
+
}
|
|
112
|
+
// Temporarily expose input value. Use with caution.
|
|
113
|
+
get idInput() {
|
|
114
|
+
return this._id;
|
|
115
|
+
}
|
|
116
|
+
// name - computed: false, optional: false, required: true
|
|
117
|
+
_name;
|
|
118
|
+
get name() {
|
|
119
|
+
return this.getStringAttribute('name');
|
|
120
|
+
}
|
|
121
|
+
set name(value) {
|
|
122
|
+
this._name = value;
|
|
123
|
+
}
|
|
124
|
+
// Temporarily expose input value. Use with caution.
|
|
125
|
+
get nameInput() {
|
|
126
|
+
return this._name;
|
|
127
|
+
}
|
|
128
|
+
// subscription_id - computed: false, optional: false, required: true
|
|
129
|
+
_subscriptionId;
|
|
130
|
+
get subscriptionId() {
|
|
131
|
+
return this.getStringAttribute('subscription_id');
|
|
132
|
+
}
|
|
133
|
+
set subscriptionId(value) {
|
|
134
|
+
this._subscriptionId = value;
|
|
135
|
+
}
|
|
136
|
+
// Temporarily expose input value. Use with caution.
|
|
137
|
+
get subscriptionIdInput() {
|
|
138
|
+
return this._subscriptionId;
|
|
139
|
+
}
|
|
140
|
+
// tenant_id - computed: false, optional: false, required: true
|
|
141
|
+
_tenantId;
|
|
142
|
+
get tenantId() {
|
|
143
|
+
return this.getStringAttribute('tenant_id');
|
|
144
|
+
}
|
|
145
|
+
set tenantId(value) {
|
|
146
|
+
this._tenantId = value;
|
|
147
|
+
}
|
|
148
|
+
// Temporarily expose input value. Use with caution.
|
|
149
|
+
get tenantIdInput() {
|
|
150
|
+
return this._tenantId;
|
|
151
|
+
}
|
|
152
|
+
// =========
|
|
153
|
+
// SYNTHESIS
|
|
154
|
+
// =========
|
|
155
|
+
synthesizeAttributes() {
|
|
156
|
+
return {
|
|
157
|
+
account_id: cdktf.numberToTerraform(this._accountId),
|
|
158
|
+
application_id: cdktf.stringToTerraform(this._applicationId),
|
|
159
|
+
client_secret: cdktf.stringToTerraform(this._clientSecret),
|
|
160
|
+
id: cdktf.stringToTerraform(this._id),
|
|
161
|
+
name: cdktf.stringToTerraform(this._name),
|
|
162
|
+
subscription_id: cdktf.stringToTerraform(this._subscriptionId),
|
|
163
|
+
tenant_id: cdktf.stringToTerraform(this._tenantId),
|
|
164
|
+
};
|
|
165
|
+
}
|
|
166
|
+
synthesizeHclAttributes() {
|
|
167
|
+
const attrs = {
|
|
168
|
+
account_id: {
|
|
169
|
+
value: cdktf.numberToHclTerraform(this._accountId),
|
|
170
|
+
isBlock: false,
|
|
171
|
+
type: "simple",
|
|
172
|
+
storageClassType: "number",
|
|
173
|
+
},
|
|
174
|
+
application_id: {
|
|
175
|
+
value: cdktf.stringToHclTerraform(this._applicationId),
|
|
176
|
+
isBlock: false,
|
|
177
|
+
type: "simple",
|
|
178
|
+
storageClassType: "string",
|
|
179
|
+
},
|
|
180
|
+
client_secret: {
|
|
181
|
+
value: cdktf.stringToHclTerraform(this._clientSecret),
|
|
182
|
+
isBlock: false,
|
|
183
|
+
type: "simple",
|
|
184
|
+
storageClassType: "string",
|
|
185
|
+
},
|
|
186
|
+
id: {
|
|
187
|
+
value: cdktf.stringToHclTerraform(this._id),
|
|
188
|
+
isBlock: false,
|
|
189
|
+
type: "simple",
|
|
190
|
+
storageClassType: "string",
|
|
191
|
+
},
|
|
192
|
+
name: {
|
|
193
|
+
value: cdktf.stringToHclTerraform(this._name),
|
|
194
|
+
isBlock: false,
|
|
195
|
+
type: "simple",
|
|
196
|
+
storageClassType: "string",
|
|
197
|
+
},
|
|
198
|
+
subscription_id: {
|
|
199
|
+
value: cdktf.stringToHclTerraform(this._subscriptionId),
|
|
200
|
+
isBlock: false,
|
|
201
|
+
type: "simple",
|
|
202
|
+
storageClassType: "string",
|
|
203
|
+
},
|
|
204
|
+
tenant_id: {
|
|
205
|
+
value: cdktf.stringToHclTerraform(this._tenantId),
|
|
206
|
+
isBlock: false,
|
|
207
|
+
type: "simple",
|
|
208
|
+
storageClassType: "string",
|
|
209
|
+
},
|
|
210
|
+
};
|
|
211
|
+
// remove undefined attributes
|
|
212
|
+
return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
|
|
213
|
+
}
|
|
214
|
+
}
|