@pulumi/newrelic 4.12.0 → 4.13.1

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.
@@ -0,0 +1,142 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Use this resource to link an Azure account to New Relic.
4
+ *
5
+ * ## Prerequisite
6
+ *
7
+ * Some configuration is required in Azure for the New Relic Azure cloud integrations to be able to pull data.
8
+ *
9
+ * To start receiving Azure data with New Relic Azure integrations, connect your Azure account to New Relic infrastructure monitoring. If you don't have one already, create a New Relic account. It's free, forever.
10
+ *
11
+ * Setup is required in Azure for this resource to work properly. You can find instructions on how to set up Azure on [our documentation](https://docs.newrelic.com/docs/infrastructure/microsoft-azure-integrations/get-started/activate-azure-integrations/).
12
+ *
13
+ * ## Example Usage
14
+ *
15
+ * ```typescript
16
+ * import * as pulumi from "@pulumi/pulumi";
17
+ * import * as newrelic from "@pulumi/newrelic";
18
+ *
19
+ * const foo = new newrelic.cloud.AzureLinkAccount("foo", {
20
+ * accountId: Number.parseFloat("The New Relic account ID where you want to link the Azure account"),
21
+ * applicationId: "ID of the application",
22
+ * clientSecret: "Secret value of client's Azure account",
23
+ * subscriptionId: "Subscription ID of Azure",
24
+ * tenantId: "Tenant ID of the Azure",
25
+ * });
26
+ * ```
27
+ *
28
+ * ## Import
29
+ *
30
+ * Linked Azure accounts can be imported using `id`, you can find the `id` of existing Azure linked accounts in Azure dashboard under Infrastructure in NewRelic bash
31
+ *
32
+ * ```sh
33
+ * $ pulumi import newrelic:cloud/azureLinkAccount:AzureLinkAccount foo <id>
34
+ * ```
35
+ */
36
+ export declare class AzureLinkAccount extends pulumi.CustomResource {
37
+ /**
38
+ * Get an existing AzureLinkAccount resource's state with the given name, ID, and optional extra
39
+ * properties used to qualify the lookup.
40
+ *
41
+ * @param name The _unique_ name of the resulting resource.
42
+ * @param id The _unique_ provider ID of the resource to lookup.
43
+ * @param state Any extra arguments used during the lookup.
44
+ * @param opts Optional settings to control the behavior of the CustomResource.
45
+ */
46
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: AzureLinkAccountState, opts?: pulumi.CustomResourceOptions): AzureLinkAccount;
47
+ /**
48
+ * Returns true if the given object is an instance of AzureLinkAccount. This is designed to work even
49
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
50
+ */
51
+ static isInstance(obj: any): obj is AzureLinkAccount;
52
+ /**
53
+ * - Account ID of the New Relic.
54
+ */
55
+ readonly accountId: pulumi.Output<number>;
56
+ /**
57
+ * - Application ID of the App.
58
+ */
59
+ readonly applicationId: pulumi.Output<string>;
60
+ /**
61
+ * - Secret Value of the client.
62
+ */
63
+ readonly clientSecret: pulumi.Output<string>;
64
+ /**
65
+ * - The name of the application in New Relic APM.
66
+ */
67
+ readonly name: pulumi.Output<string>;
68
+ /**
69
+ * - Subscription ID of the Azure cloud account.
70
+ */
71
+ readonly subscriptionId: pulumi.Output<string>;
72
+ /**
73
+ * - Tenant ID of the Azure cloud account.
74
+ */
75
+ readonly tenantId: pulumi.Output<string>;
76
+ /**
77
+ * Create a AzureLinkAccount resource with the given unique name, arguments, and options.
78
+ *
79
+ * @param name The _unique_ name of the resource.
80
+ * @param args The arguments to use to populate this resource's properties.
81
+ * @param opts A bag of options that control this resource's behavior.
82
+ */
83
+ constructor(name: string, args: AzureLinkAccountArgs, opts?: pulumi.CustomResourceOptions);
84
+ }
85
+ /**
86
+ * Input properties used for looking up and filtering AzureLinkAccount resources.
87
+ */
88
+ export interface AzureLinkAccountState {
89
+ /**
90
+ * - Account ID of the New Relic.
91
+ */
92
+ accountId?: pulumi.Input<number>;
93
+ /**
94
+ * - Application ID of the App.
95
+ */
96
+ applicationId?: pulumi.Input<string>;
97
+ /**
98
+ * - Secret Value of the client.
99
+ */
100
+ clientSecret?: pulumi.Input<string>;
101
+ /**
102
+ * - The name of the application in New Relic APM.
103
+ */
104
+ name?: pulumi.Input<string>;
105
+ /**
106
+ * - Subscription ID of the Azure cloud account.
107
+ */
108
+ subscriptionId?: pulumi.Input<string>;
109
+ /**
110
+ * - Tenant ID of the Azure cloud account.
111
+ */
112
+ tenantId?: pulumi.Input<string>;
113
+ }
114
+ /**
115
+ * The set of arguments for constructing a AzureLinkAccount resource.
116
+ */
117
+ export interface AzureLinkAccountArgs {
118
+ /**
119
+ * - Account ID of the New Relic.
120
+ */
121
+ accountId?: pulumi.Input<number>;
122
+ /**
123
+ * - Application ID of the App.
124
+ */
125
+ applicationId: pulumi.Input<string>;
126
+ /**
127
+ * - Secret Value of the client.
128
+ */
129
+ clientSecret: pulumi.Input<string>;
130
+ /**
131
+ * - The name of the application in New Relic APM.
132
+ */
133
+ name?: pulumi.Input<string>;
134
+ /**
135
+ * - Subscription ID of the Azure cloud account.
136
+ */
137
+ subscriptionId: pulumi.Input<string>;
138
+ /**
139
+ * - Tenant ID of the Azure cloud account.
140
+ */
141
+ tenantId: pulumi.Input<string>;
142
+ }
@@ -0,0 +1,105 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.AzureLinkAccount = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Use this resource to link an Azure account to New Relic.
10
+ *
11
+ * ## Prerequisite
12
+ *
13
+ * Some configuration is required in Azure for the New Relic Azure cloud integrations to be able to pull data.
14
+ *
15
+ * To start receiving Azure data with New Relic Azure integrations, connect your Azure account to New Relic infrastructure monitoring. If you don't have one already, create a New Relic account. It's free, forever.
16
+ *
17
+ * Setup is required in Azure for this resource to work properly. You can find instructions on how to set up Azure on [our documentation](https://docs.newrelic.com/docs/infrastructure/microsoft-azure-integrations/get-started/activate-azure-integrations/).
18
+ *
19
+ * ## Example Usage
20
+ *
21
+ * ```typescript
22
+ * import * as pulumi from "@pulumi/pulumi";
23
+ * import * as newrelic from "@pulumi/newrelic";
24
+ *
25
+ * const foo = new newrelic.cloud.AzureLinkAccount("foo", {
26
+ * accountId: Number.parseFloat("The New Relic account ID where you want to link the Azure account"),
27
+ * applicationId: "ID of the application",
28
+ * clientSecret: "Secret value of client's Azure account",
29
+ * subscriptionId: "Subscription ID of Azure",
30
+ * tenantId: "Tenant ID of the Azure",
31
+ * });
32
+ * ```
33
+ *
34
+ * ## Import
35
+ *
36
+ * Linked Azure accounts can be imported using `id`, you can find the `id` of existing Azure linked accounts in Azure dashboard under Infrastructure in NewRelic bash
37
+ *
38
+ * ```sh
39
+ * $ pulumi import newrelic:cloud/azureLinkAccount:AzureLinkAccount foo <id>
40
+ * ```
41
+ */
42
+ class AzureLinkAccount extends pulumi.CustomResource {
43
+ constructor(name, argsOrState, opts) {
44
+ let resourceInputs = {};
45
+ opts = opts || {};
46
+ if (opts.id) {
47
+ const state = argsOrState;
48
+ resourceInputs["accountId"] = state ? state.accountId : undefined;
49
+ resourceInputs["applicationId"] = state ? state.applicationId : undefined;
50
+ resourceInputs["clientSecret"] = state ? state.clientSecret : undefined;
51
+ resourceInputs["name"] = state ? state.name : undefined;
52
+ resourceInputs["subscriptionId"] = state ? state.subscriptionId : undefined;
53
+ resourceInputs["tenantId"] = state ? state.tenantId : undefined;
54
+ }
55
+ else {
56
+ const args = argsOrState;
57
+ if ((!args || args.applicationId === undefined) && !opts.urn) {
58
+ throw new Error("Missing required property 'applicationId'");
59
+ }
60
+ if ((!args || args.clientSecret === undefined) && !opts.urn) {
61
+ throw new Error("Missing required property 'clientSecret'");
62
+ }
63
+ if ((!args || args.subscriptionId === undefined) && !opts.urn) {
64
+ throw new Error("Missing required property 'subscriptionId'");
65
+ }
66
+ if ((!args || args.tenantId === undefined) && !opts.urn) {
67
+ throw new Error("Missing required property 'tenantId'");
68
+ }
69
+ resourceInputs["accountId"] = args ? args.accountId : undefined;
70
+ resourceInputs["applicationId"] = args ? args.applicationId : undefined;
71
+ resourceInputs["clientSecret"] = args ? args.clientSecret : undefined;
72
+ resourceInputs["name"] = args ? args.name : undefined;
73
+ resourceInputs["subscriptionId"] = args ? args.subscriptionId : undefined;
74
+ resourceInputs["tenantId"] = args ? args.tenantId : undefined;
75
+ }
76
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
77
+ super(AzureLinkAccount.__pulumiType, name, resourceInputs, opts);
78
+ }
79
+ /**
80
+ * Get an existing AzureLinkAccount resource's state with the given name, ID, and optional extra
81
+ * properties used to qualify the lookup.
82
+ *
83
+ * @param name The _unique_ name of the resulting resource.
84
+ * @param id The _unique_ provider ID of the resource to lookup.
85
+ * @param state Any extra arguments used during the lookup.
86
+ * @param opts Optional settings to control the behavior of the CustomResource.
87
+ */
88
+ static get(name, id, state, opts) {
89
+ return new AzureLinkAccount(name, state, Object.assign(Object.assign({}, opts), { id: id }));
90
+ }
91
+ /**
92
+ * Returns true if the given object is an instance of AzureLinkAccount. This is designed to work even
93
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
94
+ */
95
+ static isInstance(obj) {
96
+ if (obj === undefined || obj === null) {
97
+ return false;
98
+ }
99
+ return obj['__pulumiType'] === AzureLinkAccount.__pulumiType;
100
+ }
101
+ }
102
+ exports.AzureLinkAccount = AzureLinkAccount;
103
+ /** @internal */
104
+ AzureLinkAccount.__pulumiType = 'newrelic:cloud/azureLinkAccount:AzureLinkAccount';
105
+ //# sourceMappingURL=azureLinkAccount.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"azureLinkAccount.js","sourceRoot":"","sources":["../../cloud/azureLinkAccount.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH,MAAa,gBAAiB,SAAQ,MAAM,CAAC,cAAc;IA6DvD,YAAY,IAAY,EAAE,WAA0D,EAAE,IAAmC;QACrH,IAAI,cAAc,GAAkB,EAAE,CA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CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACvE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,gBAAgB,CAAC,YAAY,CAAC;IACjE,CAAC;;AA1BL,4CAgGC;AAlFG,gBAAgB;AACO,6BAAY,GAAG,kDAAkD,CAAC"}
@@ -0,0 +1,107 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Use this resource to link a GCP account to New Relic.
4
+ *
5
+ * ## Prerequisite
6
+ *
7
+ * To start receiving Google Cloud Platform (GCP) data with New Relic GCP integrations, connect your Google project to New Relic infrastructure monitoring. If you don't have one already, create a New Relic account. It's free, forever.
8
+ *
9
+ * Setup is required in GCP for this resource to work properly. The New Relic GCP integration can be done by creating a user account or a service account.
10
+ *
11
+ * A user with Project IAM Admin role is needed to add the service account ID as a member in your GCP project.
12
+ *
13
+ * In the GCP project IAM & admin, the service account must have the Project Viewer role and the Service Usage Consumer role or, alternatively, a custom role.
14
+ *
15
+ * Follow the [steps outlined here](https://docs.newrelic.com/docs/infrastructure/google-cloud-platform-integrations/get-started/connect-google-cloud-platform-services-new-relic) to set up the integration.
16
+ *
17
+ * ## Example Usage
18
+ *
19
+ * ```typescript
20
+ * import * as pulumi from "@pulumi/pulumi";
21
+ * import * as newrelic from "@pulumi/newrelic";
22
+ *
23
+ * const foo = new newrelic.cloud.GcpLinkAccount("foo", {
24
+ * accountId: Number.parseFloat("account id of newrelic account"),
25
+ * projectId: "id of the Project",
26
+ * });
27
+ * ```
28
+ *
29
+ * ## Import
30
+ *
31
+ * Linked GCP accounts can be imported using `id`, you can find the `id` of an existing GCP linked accounts in GCP dashboard under Infrastructure in Newrelic Console. bash
32
+ *
33
+ * ```sh
34
+ * $ pulumi import newrelic:cloud/gcpLinkAccount:GcpLinkAccount newrelic_cloud_gcp_link_account.foo <id>
35
+ * ```
36
+ */
37
+ export declare class GcpLinkAccount extends pulumi.CustomResource {
38
+ /**
39
+ * Get an existing GcpLinkAccount resource's state with the given name, ID, and optional extra
40
+ * properties used to qualify the lookup.
41
+ *
42
+ * @param name The _unique_ name of the resulting resource.
43
+ * @param id The _unique_ provider ID of the resource to lookup.
44
+ * @param state Any extra arguments used during the lookup.
45
+ * @param opts Optional settings to control the behavior of the CustomResource.
46
+ */
47
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: GcpLinkAccountState, opts?: pulumi.CustomResourceOptions): GcpLinkAccount;
48
+ /**
49
+ * Returns true if the given object is an instance of GcpLinkAccount. This is designed to work even
50
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
51
+ */
52
+ static isInstance(obj: any): obj is GcpLinkAccount;
53
+ /**
54
+ * - Account ID of the New Relic account.
55
+ */
56
+ readonly accountId: pulumi.Output<number>;
57
+ /**
58
+ * - The name of the GCP account in New Relic.
59
+ */
60
+ readonly name: pulumi.Output<string>;
61
+ /**
62
+ * - Project ID of the GCP account.
63
+ */
64
+ readonly projectId: pulumi.Output<string>;
65
+ /**
66
+ * Create a GcpLinkAccount resource with the given unique name, arguments, and options.
67
+ *
68
+ * @param name The _unique_ name of the resource.
69
+ * @param args The arguments to use to populate this resource's properties.
70
+ * @param opts A bag of options that control this resource's behavior.
71
+ */
72
+ constructor(name: string, args: GcpLinkAccountArgs, opts?: pulumi.CustomResourceOptions);
73
+ }
74
+ /**
75
+ * Input properties used for looking up and filtering GcpLinkAccount resources.
76
+ */
77
+ export interface GcpLinkAccountState {
78
+ /**
79
+ * - Account ID of the New Relic account.
80
+ */
81
+ accountId?: pulumi.Input<number>;
82
+ /**
83
+ * - The name of the GCP account in New Relic.
84
+ */
85
+ name?: pulumi.Input<string>;
86
+ /**
87
+ * - Project ID of the GCP account.
88
+ */
89
+ projectId?: pulumi.Input<string>;
90
+ }
91
+ /**
92
+ * The set of arguments for constructing a GcpLinkAccount resource.
93
+ */
94
+ export interface GcpLinkAccountArgs {
95
+ /**
96
+ * - Account ID of the New Relic account.
97
+ */
98
+ accountId?: pulumi.Input<number>;
99
+ /**
100
+ * - The name of the GCP account in New Relic.
101
+ */
102
+ name?: pulumi.Input<string>;
103
+ /**
104
+ * - Project ID of the GCP account.
105
+ */
106
+ projectId: pulumi.Input<string>;
107
+ }
@@ -0,0 +1,91 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.GcpLinkAccount = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Use this resource to link a GCP account to New Relic.
10
+ *
11
+ * ## Prerequisite
12
+ *
13
+ * To start receiving Google Cloud Platform (GCP) data with New Relic GCP integrations, connect your Google project to New Relic infrastructure monitoring. If you don't have one already, create a New Relic account. It's free, forever.
14
+ *
15
+ * Setup is required in GCP for this resource to work properly. The New Relic GCP integration can be done by creating a user account or a service account.
16
+ *
17
+ * A user with Project IAM Admin role is needed to add the service account ID as a member in your GCP project.
18
+ *
19
+ * In the GCP project IAM & admin, the service account must have the Project Viewer role and the Service Usage Consumer role or, alternatively, a custom role.
20
+ *
21
+ * Follow the [steps outlined here](https://docs.newrelic.com/docs/infrastructure/google-cloud-platform-integrations/get-started/connect-google-cloud-platform-services-new-relic) to set up the integration.
22
+ *
23
+ * ## Example Usage
24
+ *
25
+ * ```typescript
26
+ * import * as pulumi from "@pulumi/pulumi";
27
+ * import * as newrelic from "@pulumi/newrelic";
28
+ *
29
+ * const foo = new newrelic.cloud.GcpLinkAccount("foo", {
30
+ * accountId: Number.parseFloat("account id of newrelic account"),
31
+ * projectId: "id of the Project",
32
+ * });
33
+ * ```
34
+ *
35
+ * ## Import
36
+ *
37
+ * Linked GCP accounts can be imported using `id`, you can find the `id` of an existing GCP linked accounts in GCP dashboard under Infrastructure in Newrelic Console. bash
38
+ *
39
+ * ```sh
40
+ * $ pulumi import newrelic:cloud/gcpLinkAccount:GcpLinkAccount newrelic_cloud_gcp_link_account.foo <id>
41
+ * ```
42
+ */
43
+ class GcpLinkAccount extends pulumi.CustomResource {
44
+ constructor(name, argsOrState, opts) {
45
+ let resourceInputs = {};
46
+ opts = opts || {};
47
+ if (opts.id) {
48
+ const state = argsOrState;
49
+ resourceInputs["accountId"] = state ? state.accountId : undefined;
50
+ resourceInputs["name"] = state ? state.name : undefined;
51
+ resourceInputs["projectId"] = state ? state.projectId : undefined;
52
+ }
53
+ else {
54
+ const args = argsOrState;
55
+ if ((!args || args.projectId === undefined) && !opts.urn) {
56
+ throw new Error("Missing required property 'projectId'");
57
+ }
58
+ resourceInputs["accountId"] = args ? args.accountId : undefined;
59
+ resourceInputs["name"] = args ? args.name : undefined;
60
+ resourceInputs["projectId"] = args ? args.projectId : undefined;
61
+ }
62
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
63
+ super(GcpLinkAccount.__pulumiType, name, resourceInputs, opts);
64
+ }
65
+ /**
66
+ * Get an existing GcpLinkAccount resource's state with the given name, ID, and optional extra
67
+ * properties used to qualify the lookup.
68
+ *
69
+ * @param name The _unique_ name of the resulting resource.
70
+ * @param id The _unique_ provider ID of the resource to lookup.
71
+ * @param state Any extra arguments used during the lookup.
72
+ * @param opts Optional settings to control the behavior of the CustomResource.
73
+ */
74
+ static get(name, id, state, opts) {
75
+ return new GcpLinkAccount(name, state, Object.assign(Object.assign({}, opts), { id: id }));
76
+ }
77
+ /**
78
+ * Returns true if the given object is an instance of GcpLinkAccount. This is designed to work even
79
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
80
+ */
81
+ static isInstance(obj) {
82
+ if (obj === undefined || obj === null) {
83
+ return false;
84
+ }
85
+ return obj['__pulumiType'] === GcpLinkAccount.__pulumiType;
86
+ }
87
+ }
88
+ exports.GcpLinkAccount = GcpLinkAccount;
89
+ /** @internal */
90
+ GcpLinkAccount.__pulumiType = 'newrelic:cloud/gcpLinkAccount:GcpLinkAccount';
91
+ //# sourceMappingURL=gcpLinkAccount.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"gcpLinkAccount.js","sourceRoot":"","sources":["../../cloud/gcpLinkAccount.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AACH,MAAa,cAAe,SAAQ,MAAM,CAAC,cAAc;IAiDrD,YAAY,IAAY,EAAE,WAAsD,EAAE,IAAmC;QACjH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA8C,CAAC;YAC7D,cAAc,CAAC,WAAW,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,MAAM,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,cAAc,CAAC,WAAW,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;SACrE;aAAM;YACH,MAAM,IAAI,GAAG,WAA6C,CAAC;YAC3D,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,SAAS,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACtD,MAAM,IAAI,KAAK,CAAC,uCAAuC,CAAC,CAAC;aAC5D;YACD,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;SACnE;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,cAAc,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACnE,CAAC;IAnED;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA2B,EAAE,IAAmC;QACzH,OAAO,IAAI,cAAc,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACrE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,cAAc,CAAC,YAAY,CAAC;IAC/D,CAAC;;AA1BL,wCAqEC;AAvDG,gBAAgB;AACO,2BAAY,GAAG,8CAA8C,CAAC"}
@@ -0,0 +1,4 @@
1
+ export * from "./awsGovcloudLinkAccount";
2
+ export * from "./awsLinkAccount";
3
+ export * from "./azureLinkAccount";
4
+ export * from "./gcpLinkAccount";
package/cloud/index.js ADDED
@@ -0,0 +1,52 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
5
+ if (k2 === undefined) k2 = k;
6
+ var desc = Object.getOwnPropertyDescriptor(m, k);
7
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
8
+ desc = { enumerable: true, get: function() { return m[k]; } };
9
+ }
10
+ Object.defineProperty(o, k2, desc);
11
+ }) : (function(o, m, k, k2) {
12
+ if (k2 === undefined) k2 = k;
13
+ o[k2] = m[k];
14
+ }));
15
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
17
+ };
18
+ Object.defineProperty(exports, "__esModule", { value: true });
19
+ const pulumi = require("@pulumi/pulumi");
20
+ const utilities = require("../utilities");
21
+ // Export members:
22
+ __exportStar(require("./awsGovcloudLinkAccount"), exports);
23
+ __exportStar(require("./awsLinkAccount"), exports);
24
+ __exportStar(require("./azureLinkAccount"), exports);
25
+ __exportStar(require("./gcpLinkAccount"), exports);
26
+ // Import resources to register:
27
+ const awsGovcloudLinkAccount_1 = require("./awsGovcloudLinkAccount");
28
+ const awsLinkAccount_1 = require("./awsLinkAccount");
29
+ const azureLinkAccount_1 = require("./azureLinkAccount");
30
+ const gcpLinkAccount_1 = require("./gcpLinkAccount");
31
+ const _module = {
32
+ version: utilities.getVersion(),
33
+ construct: (name, type, urn) => {
34
+ switch (type) {
35
+ case "newrelic:cloud/awsGovcloudLinkAccount:AwsGovcloudLinkAccount":
36
+ return new awsGovcloudLinkAccount_1.AwsGovcloudLinkAccount(name, undefined, { urn });
37
+ case "newrelic:cloud/awsLinkAccount:AwsLinkAccount":
38
+ return new awsLinkAccount_1.AwsLinkAccount(name, undefined, { urn });
39
+ case "newrelic:cloud/azureLinkAccount:AzureLinkAccount":
40
+ return new azureLinkAccount_1.AzureLinkAccount(name, undefined, { urn });
41
+ case "newrelic:cloud/gcpLinkAccount:GcpLinkAccount":
42
+ return new gcpLinkAccount_1.GcpLinkAccount(name, undefined, { urn });
43
+ default:
44
+ throw new Error(`unknown resource type ${type}`);
45
+ }
46
+ },
47
+ };
48
+ pulumi.runtime.registerResourceModule("newrelic", "cloud/awsGovcloudLinkAccount", _module);
49
+ pulumi.runtime.registerResourceModule("newrelic", "cloud/awsLinkAccount", _module);
50
+ pulumi.runtime.registerResourceModule("newrelic", "cloud/azureLinkAccount", _module);
51
+ pulumi.runtime.registerResourceModule("newrelic", "cloud/gcpLinkAccount", _module);
52
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../cloud/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;;;;;;;;;;;;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C,kBAAkB;AAClB,2DAAyC;AACzC,mDAAiC;AACjC,qDAAmC;AACnC,mDAAiC;AAEjC,gCAAgC;AAChC,qEAAkE;AAClE,qDAAkD;AAClD,yDAAsD;AACtD,qDAAkD;AAElD,MAAM,OAAO,GAAG;IACZ,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE;IAC/B,SAAS,EAAE,CAAC,IAAY,EAAE,IAAY,EAAE,GAAW,EAAmB,EAAE;QACpE,QAAQ,IAAI,EAAE;YACV,KAAK,8DAA8D;gBAC/D,OAAO,IAAI,+CAAsB,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACpE,KAAK,8CAA8C;gBAC/C,OAAO,IAAI,+BAAc,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YAC5D,KAAK,kDAAkD;gBACnD,OAAO,IAAI,mCAAgB,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YAC9D,KAAK,8CAA8C;gBAC/C,OAAO,IAAI,+BAAc,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YAC5D;gBACI,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACxD;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,UAAU,EAAE,8BAA8B,EAAE,OAAO,CAAC,CAAA;AAC1F,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,UAAU,EAAE,sBAAsB,EAAE,OAAO,CAAC,CAAA;AAClF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,UAAU,EAAE,wBAAwB,EAAE,OAAO,CAAC,CAAA;AACpF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,UAAU,EAAE,sBAAsB,EAAE,OAAO,CAAC,CAAA"}
@@ -1,6 +1,6 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
2
  /**
3
- * #### DEPRECATED! Use at your own risk. Use the `newrelic.getEntity` data source instead. This feature may be removed in the next major release.
3
+ * #### DEPRECATED! Use at your own risk. Use the `newrelic.getEntity` data source instead. This feature may be removed in the next major release
4
4
  *
5
5
  * Use this data source to get information about a specific application in New Relic that already exists.
6
6
  *
package/getApplication.js CHANGED
@@ -6,7 +6,7 @@ exports.getApplicationOutput = exports.getApplication = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
8
  /**
9
- * #### DEPRECATED! Use at your own risk. Use the `newrelic.getEntity` data source instead. This feature may be removed in the next major release.
9
+ * #### DEPRECATED! Use at your own risk. Use the `newrelic.getEntity` data source instead. This feature may be removed in the next major release
10
10
  *
11
11
  * Use this data source to get information about a specific application in New Relic that already exists.
12
12
  *
package/index.d.ts CHANGED
@@ -21,9 +21,10 @@ export * from "./oneDashboard";
21
21
  export * from "./oneDashboardRaw";
22
22
  export * from "./provider";
23
23
  export * from "./serviceLevel";
24
+ import * as cloud from "./cloud";
24
25
  import * as config from "./config";
25
26
  import * as insights from "./insights";
26
27
  import * as plugins from "./plugins";
27
28
  import * as synthetics from "./synthetics";
28
29
  import * as types from "./types";
29
- export { config, insights, plugins, synthetics, types, };
30
+ export { cloud, config, insights, plugins, synthetics, types, };
package/index.js CHANGED
@@ -16,7 +16,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
16
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
17
17
  };
18
18
  Object.defineProperty(exports, "__esModule", { value: true });
19
- exports.types = exports.synthetics = exports.plugins = exports.insights = exports.config = void 0;
19
+ exports.types = exports.synthetics = exports.plugins = exports.insights = exports.config = exports.cloud = void 0;
20
20
  const pulumi = require("@pulumi/pulumi");
21
21
  const utilities = require("./utilities");
22
22
  // Export members:
@@ -44,6 +44,8 @@ __exportStar(require("./oneDashboardRaw"), exports);
44
44
  __exportStar(require("./provider"), exports);
45
45
  __exportStar(require("./serviceLevel"), exports);
46
46
  // Export sub-modules:
47
+ const cloud = require("./cloud");
48
+ exports.cloud = cloud;
47
49
  const config = require("./config");
48
50
  exports.config = config;
49
51
  const insights = require("./insights");
package/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;;;;;;;;;;;;;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,kBAAkB;AAClB,iDAA+B;AAC/B,mDAAiC;AACjC,oDAAkC;AAClC,gDAA8B;AAC9B,uDAAqC;AACrC,iDAA+B;AAC/B,8CAA4B;AAC5B,+CAA6B;AAC7B,wDAAsC;AACtC,+CAA6B;AAC7B,oDAAkC;AAClC,mDAAiC;AACjC,mDAAiC;AACjC,oDAAkC;AAClC,8CAA4B;AAC5B,sDAAoC;AACpC,wDAAsC;AACtC,uDAAqC;AACrC,iDAA+B;AAC/B,iDAA+B;AAC/B,oDAAkC;AAClC,6CAA2B;AAC3B,iDAA+B;AAE/B,sBAAsB;AACtB,mCAAmC;AAO/B,wBAA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