@pulumi/wavefront 1.1.0 → 1.1.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.
- package/alert.d.ts +25 -22
- package/alert.js +34 -36
- package/alert.js.map +1 -1
- package/alertTarget.d.ts +9 -9
- package/alertTarget.js +27 -29
- package/alertTarget.js.map +1 -1
- package/cloudIntegrationAppDynamics.d.ts +56 -56
- package/cloudIntegrationAppDynamics.js +39 -41
- package/cloudIntegrationAppDynamics.js.map +1 -1
- package/cloudIntegrationAwsExternalId.d.ts +2 -2
- package/cloudIntegrationAwsExternalId.js +5 -7
- package/cloudIntegrationAwsExternalId.js.map +1 -1
- package/cloudIntegrationAzure.d.ts +32 -32
- package/cloudIntegrationAzure.js +27 -29
- package/cloudIntegrationAzure.js.map +1 -1
- package/cloudIntegrationAzureActivityLog.d.ts +29 -29
- package/cloudIntegrationAzureActivityLog.js +23 -25
- package/cloudIntegrationAzureActivityLog.js.map +1 -1
- package/cloudIntegrationCloudTrail.d.ts +31 -31
- package/cloudIntegrationCloudTrail.js +26 -28
- package/cloudIntegrationCloudTrail.js.map +1 -1
- package/cloudIntegrationCloudWatch.d.ts +51 -51
- package/cloudIntegrationCloudWatch.js +30 -32
- package/cloudIntegrationCloudWatch.js.map +1 -1
- package/cloudIntegrationEc2.d.ts +38 -23
- package/cloudIntegrationEc2.js +21 -23
- package/cloudIntegrationEc2.js.map +1 -1
- package/cloudIntegrationGcp.d.ts +30 -30
- package/cloudIntegrationGcp.js +24 -26
- package/cloudIntegrationGcp.js.map +1 -1
- package/cloudIntegrationGcpBilling.d.ts +26 -26
- package/cloudIntegrationGcpBilling.js +21 -23
- package/cloudIntegrationGcpBilling.js.map +1 -1
- package/cloudIntegrationNewRelic.d.ts +29 -29
- package/cloudIntegrationNewRelic.js +23 -25
- package/cloudIntegrationNewRelic.js.map +1 -1
- package/cloudIntegrationTesla.d.ts +23 -23
- package/cloudIntegrationTesla.js +19 -21
- package/cloudIntegrationTesla.js.map +1 -1
- package/config/index.js +5 -1
- package/config/index.js.map +1 -1
- package/dashboard.d.ts +34 -34
- package/dashboard.js +26 -28
- package/dashboard.js.map +1 -1
- package/dashboardJson.d.ts +4 -4
- package/dashboardJson.js +6 -8
- package/dashboardJson.js.map +1 -1
- package/derivedMetric.d.ts +13 -13
- package/derivedMetric.js +14 -16
- package/derivedMetric.js.map +1 -1
- package/externalLink.d.ts +22 -13
- package/externalLink.js +18 -20
- package/externalLink.js.map +1 -1
- package/getDefaultUserGroup.d.ts +1 -1
- package/getDefaultUserGroup.js +1 -3
- package/getDefaultUserGroup.js.map +1 -1
- package/index.js +5 -1
- package/index.js.map +1 -1
- package/ingestionPolicy.d.ts +7 -7
- package/ingestionPolicy.js +8 -10
- package/ingestionPolicy.js.map +1 -1
- package/maintenanceWindow.d.ts +54 -21
- package/maintenanceWindow.js +21 -23
- package/maintenanceWindow.js.map +1 -1
- package/package.json +3 -3
- package/package.json.bak +3 -2
- package/package.json.dev +4 -3
- package/provider.js +6 -8
- package/provider.js.map +1 -1
- package/role.d.ts +12 -12
- package/role.js +14 -16
- package/role.js.map +1 -1
- package/serviceAccount.d.ts +19 -19
- package/serviceAccount.js +16 -18
- package/serviceAccount.js.map +1 -1
- package/types/input.d.ts +86 -86
- package/types/output.d.ts +86 -86
- package/user.d.ts +11 -11
- package/user.js +13 -15
- package/user.js.map +1 -1
- package/userGroup.d.ts +7 -7
- package/userGroup.js +8 -10
- package/userGroup.js.map +1 -1
- package/utilities.js +6 -1
- package/utilities.js.map +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cloudIntegrationCloudWatch.js","sourceRoot":"","sources":["../cloudIntegrationCloudWatch.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,MAAa,0BAA2B,SAAQ,MAAM,CAAC,cAAc;IA0F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AAS,CAAC;SACvF;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,0BAA0B,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC/E,CAAC;IApID;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAuC,EAAE,IAAmC;QACrI,OAAO,IAAI,0BAA0B,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACjF,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,0BAA0B,CAAC,YAAY,CAAC;IAC3E,CAAC;;AA1BL,gEAsIC;AAxHG,gBAAgB;AACO,uCAAY,GAAG,uEAAuE,CAAC"}
|
package/cloudIntegrationEc2.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
3
|
* Provides a Wavefront Cloud Integration for EC2. This allows EC2 cloud integrations to be created,
|
|
4
|
-
* updated, and
|
|
4
|
+
* updated, and deleted.
|
|
5
5
|
*
|
|
6
6
|
* ## Example Usage
|
|
7
7
|
*
|
|
@@ -18,7 +18,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
18
18
|
*
|
|
19
19
|
* ## Import
|
|
20
20
|
*
|
|
21
|
-
* EC2 Cloud Integrations can be imported using the `id`, e.g.
|
|
21
|
+
* EC2 Cloud Integrations can be imported by using the `id`, e.g.
|
|
22
22
|
*
|
|
23
23
|
* ```sh
|
|
24
24
|
* $ pulumi import wavefront:index/cloudIntegrationEc2:CloudIntegrationEc2 ec2 a411c16b-3cf7-4f03-bf11-8ca05aab898d
|
|
@@ -41,34 +41,39 @@ export declare class CloudIntegrationEc2 extends pulumi.CustomResource {
|
|
|
41
41
|
*/
|
|
42
42
|
static isInstance(obj: any): obj is CloudIntegrationEc2;
|
|
43
43
|
/**
|
|
44
|
-
* A list of point tag key-values to add to every point ingested using this integration
|
|
44
|
+
* A list of point tag key-values to add to every point ingested using this integration.
|
|
45
45
|
*/
|
|
46
46
|
readonly additionalTags: pulumi.Output<{
|
|
47
47
|
[key: string]: string;
|
|
48
48
|
} | undefined>;
|
|
49
49
|
/**
|
|
50
|
-
* The Role ARN that the customer has created in AWS IAM to allow access to Wavefront
|
|
50
|
+
* The Role ARN that the customer has created in AWS IAM to allow access to Wavefront.
|
|
51
51
|
*/
|
|
52
52
|
readonly externalId: pulumi.Output<string>;
|
|
53
53
|
/**
|
|
54
|
-
* Forces this resource to save, even if errors are present
|
|
54
|
+
* Forces this resource to save, even if errors are present.
|
|
55
55
|
*/
|
|
56
56
|
readonly forceSave: pulumi.Output<boolean | undefined>;
|
|
57
|
+
/**
|
|
58
|
+
* A list of AWS instance tags to use as the `source` name
|
|
59
|
+
* in a series. Default is `["hostname", "host", "name"]`. If no tag in the list is found, the series source
|
|
60
|
+
* is set to the instance id.
|
|
61
|
+
*/
|
|
57
62
|
readonly hostnameTags: pulumi.Output<string[] | undefined>;
|
|
58
63
|
/**
|
|
59
|
-
* The human-readable name of this integration
|
|
64
|
+
* The human-readable name of this integration.
|
|
60
65
|
*/
|
|
61
66
|
readonly name: pulumi.Output<string>;
|
|
62
67
|
/**
|
|
63
|
-
* The external
|
|
68
|
+
* The external ID corresponding to the Role ARN.
|
|
64
69
|
*/
|
|
65
70
|
readonly roleArn: pulumi.Output<string>;
|
|
66
71
|
/**
|
|
67
|
-
* A value denoting which cloud service this service integrates with
|
|
72
|
+
* A value denoting which cloud service this service integrates with.
|
|
68
73
|
*/
|
|
69
74
|
readonly service: pulumi.Output<string>;
|
|
70
75
|
/**
|
|
71
|
-
* How often, in minutes, to refresh the service
|
|
76
|
+
* How often, in minutes, to refresh the service.
|
|
72
77
|
*/
|
|
73
78
|
readonly serviceRefreshRateInMinutes: pulumi.Output<number | undefined>;
|
|
74
79
|
/**
|
|
@@ -85,34 +90,39 @@ export declare class CloudIntegrationEc2 extends pulumi.CustomResource {
|
|
|
85
90
|
*/
|
|
86
91
|
export interface CloudIntegrationEc2State {
|
|
87
92
|
/**
|
|
88
|
-
* A list of point tag key-values to add to every point ingested using this integration
|
|
93
|
+
* A list of point tag key-values to add to every point ingested using this integration.
|
|
89
94
|
*/
|
|
90
95
|
additionalTags?: pulumi.Input<{
|
|
91
96
|
[key: string]: pulumi.Input<string>;
|
|
92
97
|
}>;
|
|
93
98
|
/**
|
|
94
|
-
* The Role ARN that the customer has created in AWS IAM to allow access to Wavefront
|
|
99
|
+
* The Role ARN that the customer has created in AWS IAM to allow access to Wavefront.
|
|
95
100
|
*/
|
|
96
101
|
externalId?: pulumi.Input<string>;
|
|
97
102
|
/**
|
|
98
|
-
* Forces this resource to save, even if errors are present
|
|
103
|
+
* Forces this resource to save, even if errors are present.
|
|
99
104
|
*/
|
|
100
105
|
forceSave?: pulumi.Input<boolean>;
|
|
106
|
+
/**
|
|
107
|
+
* A list of AWS instance tags to use as the `source` name
|
|
108
|
+
* in a series. Default is `["hostname", "host", "name"]`. If no tag in the list is found, the series source
|
|
109
|
+
* is set to the instance id.
|
|
110
|
+
*/
|
|
101
111
|
hostnameTags?: pulumi.Input<pulumi.Input<string>[]>;
|
|
102
112
|
/**
|
|
103
|
-
* The human-readable name of this integration
|
|
113
|
+
* The human-readable name of this integration.
|
|
104
114
|
*/
|
|
105
115
|
name?: pulumi.Input<string>;
|
|
106
116
|
/**
|
|
107
|
-
* The external
|
|
117
|
+
* The external ID corresponding to the Role ARN.
|
|
108
118
|
*/
|
|
109
119
|
roleArn?: pulumi.Input<string>;
|
|
110
120
|
/**
|
|
111
|
-
* A value denoting which cloud service this service integrates with
|
|
121
|
+
* A value denoting which cloud service this service integrates with.
|
|
112
122
|
*/
|
|
113
123
|
service?: pulumi.Input<string>;
|
|
114
124
|
/**
|
|
115
|
-
* How often, in minutes, to refresh the service
|
|
125
|
+
* How often, in minutes, to refresh the service.
|
|
116
126
|
*/
|
|
117
127
|
serviceRefreshRateInMinutes?: pulumi.Input<number>;
|
|
118
128
|
}
|
|
@@ -121,34 +131,39 @@ export interface CloudIntegrationEc2State {
|
|
|
121
131
|
*/
|
|
122
132
|
export interface CloudIntegrationEc2Args {
|
|
123
133
|
/**
|
|
124
|
-
* A list of point tag key-values to add to every point ingested using this integration
|
|
134
|
+
* A list of point tag key-values to add to every point ingested using this integration.
|
|
125
135
|
*/
|
|
126
136
|
additionalTags?: pulumi.Input<{
|
|
127
137
|
[key: string]: pulumi.Input<string>;
|
|
128
138
|
}>;
|
|
129
139
|
/**
|
|
130
|
-
* The Role ARN that the customer has created in AWS IAM to allow access to Wavefront
|
|
140
|
+
* The Role ARN that the customer has created in AWS IAM to allow access to Wavefront.
|
|
131
141
|
*/
|
|
132
142
|
externalId: pulumi.Input<string>;
|
|
133
143
|
/**
|
|
134
|
-
* Forces this resource to save, even if errors are present
|
|
144
|
+
* Forces this resource to save, even if errors are present.
|
|
135
145
|
*/
|
|
136
146
|
forceSave?: pulumi.Input<boolean>;
|
|
147
|
+
/**
|
|
148
|
+
* A list of AWS instance tags to use as the `source` name
|
|
149
|
+
* in a series. Default is `["hostname", "host", "name"]`. If no tag in the list is found, the series source
|
|
150
|
+
* is set to the instance id.
|
|
151
|
+
*/
|
|
137
152
|
hostnameTags?: pulumi.Input<pulumi.Input<string>[]>;
|
|
138
153
|
/**
|
|
139
|
-
* The human-readable name of this integration
|
|
154
|
+
* The human-readable name of this integration.
|
|
140
155
|
*/
|
|
141
156
|
name?: pulumi.Input<string>;
|
|
142
157
|
/**
|
|
143
|
-
* The external
|
|
158
|
+
* The external ID corresponding to the Role ARN.
|
|
144
159
|
*/
|
|
145
160
|
roleArn: pulumi.Input<string>;
|
|
146
161
|
/**
|
|
147
|
-
* A value denoting which cloud service this service integrates with
|
|
162
|
+
* A value denoting which cloud service this service integrates with.
|
|
148
163
|
*/
|
|
149
164
|
service: pulumi.Input<string>;
|
|
150
165
|
/**
|
|
151
|
-
* How often, in minutes, to refresh the service
|
|
166
|
+
* How often, in minutes, to refresh the service.
|
|
152
167
|
*/
|
|
153
168
|
serviceRefreshRateInMinutes?: pulumi.Input<number>;
|
|
154
169
|
}
|
package/cloudIntegrationEc2.js
CHANGED
|
@@ -7,7 +7,7 @@ const pulumi = require("@pulumi/pulumi");
|
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
9
|
* Provides a Wavefront Cloud Integration for EC2. This allows EC2 cloud integrations to be created,
|
|
10
|
-
* updated, and
|
|
10
|
+
* updated, and deleted.
|
|
11
11
|
*
|
|
12
12
|
* ## Example Usage
|
|
13
13
|
*
|
|
@@ -24,7 +24,7 @@ const utilities = require("./utilities");
|
|
|
24
24
|
*
|
|
25
25
|
* ## Import
|
|
26
26
|
*
|
|
27
|
-
* EC2 Cloud Integrations can be imported using the `id`, e.g.
|
|
27
|
+
* EC2 Cloud Integrations can be imported by using the `id`, e.g.
|
|
28
28
|
*
|
|
29
29
|
* ```sh
|
|
30
30
|
* $ pulumi import wavefront:index/cloudIntegrationEc2:CloudIntegrationEc2 ec2 a411c16b-3cf7-4f03-bf11-8ca05aab898d
|
|
@@ -32,18 +32,18 @@ const utilities = require("./utilities");
|
|
|
32
32
|
*/
|
|
33
33
|
class CloudIntegrationEc2 extends pulumi.CustomResource {
|
|
34
34
|
constructor(name, argsOrState, opts) {
|
|
35
|
-
let
|
|
35
|
+
let resourceInputs = {};
|
|
36
36
|
opts = opts || {};
|
|
37
37
|
if (opts.id) {
|
|
38
38
|
const state = argsOrState;
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
39
|
+
resourceInputs["additionalTags"] = state ? state.additionalTags : undefined;
|
|
40
|
+
resourceInputs["externalId"] = state ? state.externalId : undefined;
|
|
41
|
+
resourceInputs["forceSave"] = state ? state.forceSave : undefined;
|
|
42
|
+
resourceInputs["hostnameTags"] = state ? state.hostnameTags : undefined;
|
|
43
|
+
resourceInputs["name"] = state ? state.name : undefined;
|
|
44
|
+
resourceInputs["roleArn"] = state ? state.roleArn : undefined;
|
|
45
|
+
resourceInputs["service"] = state ? state.service : undefined;
|
|
46
|
+
resourceInputs["serviceRefreshRateInMinutes"] = state ? state.serviceRefreshRateInMinutes : undefined;
|
|
47
47
|
}
|
|
48
48
|
else {
|
|
49
49
|
const args = argsOrState;
|
|
@@ -56,19 +56,17 @@ class CloudIntegrationEc2 extends pulumi.CustomResource {
|
|
|
56
56
|
if ((!args || args.service === undefined) && !opts.urn) {
|
|
57
57
|
throw new Error("Missing required property 'service'");
|
|
58
58
|
}
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
59
|
+
resourceInputs["additionalTags"] = args ? args.additionalTags : undefined;
|
|
60
|
+
resourceInputs["externalId"] = args ? args.externalId : undefined;
|
|
61
|
+
resourceInputs["forceSave"] = args ? args.forceSave : undefined;
|
|
62
|
+
resourceInputs["hostnameTags"] = args ? args.hostnameTags : undefined;
|
|
63
|
+
resourceInputs["name"] = args ? args.name : undefined;
|
|
64
|
+
resourceInputs["roleArn"] = args ? args.roleArn : undefined;
|
|
65
|
+
resourceInputs["service"] = args ? args.service : undefined;
|
|
66
|
+
resourceInputs["serviceRefreshRateInMinutes"] = args ? args.serviceRefreshRateInMinutes : undefined;
|
|
67
67
|
}
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
}
|
|
71
|
-
super(CloudIntegrationEc2.__pulumiType, name, inputs, opts);
|
|
68
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
69
|
+
super(CloudIntegrationEc2.__pulumiType, name, resourceInputs, opts);
|
|
72
70
|
}
|
|
73
71
|
/**
|
|
74
72
|
* Get an existing CloudIntegrationEc2 resource's state with the given name, ID, and optional extra
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cloudIntegrationEc2.js","sourceRoot":"","sources":["../cloudIntegrationEc2.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,MAAa,mBAAoB,SAAQ,MAAM,CAAC,cAAc;
|
|
1
|
+
{"version":3,"file":"cloudIntegrationEc2.js","sourceRoot":"","sources":["../cloudIntegrationEc2.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,MAAa,mBAAoB,SAAQ,MAAM,CAAC,cAAc;IAuE1D,YAAY,IAAY,EAAE,WAAgE,EAAE,IAAmC;QAC3H,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAmD,CAAC;YAClE,cAAc,CAAC,gBAAgB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,cAAc,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5E,cAAc,CAAC,YAAY,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE,cAAc,CAAC,WAAW,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,cAAc,CAAC,GAAG,KAAK,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K,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,mBAAmB,CAAC,YAAY,CAAC;IACpE,CAAC;;AA1BL,kDA2GC;AA7FG,gBAAgB;AACO,gCAAY,GAAG,yDAAyD,CAAC"}
|
package/cloudIntegrationGcp.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
|
-
* Provides a Wavefront Cloud Integration for
|
|
4
|
-
* updated, and deleted.
|
|
3
|
+
* Provides a Wavefront Cloud Integration for Google Cloud Platform. This allows Google Cloud Platform cloud
|
|
4
|
+
* integrations to be created, updated, and deleted.
|
|
5
5
|
*
|
|
6
6
|
* ## Example Usage
|
|
7
7
|
*
|
|
@@ -17,7 +17,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
17
17
|
*
|
|
18
18
|
* ## Import
|
|
19
19
|
*
|
|
20
|
-
* GCP Cloud Integrations can be imported using the `id`, e.g.
|
|
20
|
+
* GCP Cloud Integrations can be imported by using the `id`, e.g.
|
|
21
21
|
*
|
|
22
22
|
* ```sh
|
|
23
23
|
* $ pulumi import wavefront:index/cloudIntegrationGcp:CloudIntegrationGcp gcp a411c16b-3cf7-4f03-bf11-8ca05aab898d
|
|
@@ -40,7 +40,7 @@ export declare class CloudIntegrationGcp extends pulumi.CustomResource {
|
|
|
40
40
|
*/
|
|
41
41
|
static isInstance(obj: any): obj is CloudIntegrationGcp;
|
|
42
42
|
/**
|
|
43
|
-
* A list of point tag key-values to add to every point ingested using this integration
|
|
43
|
+
* A list of point tag key-values to add to every point ingested using this integration.
|
|
44
44
|
*/
|
|
45
45
|
readonly additionalTags: pulumi.Output<{
|
|
46
46
|
[key: string]: string;
|
|
@@ -50,36 +50,36 @@ export declare class CloudIntegrationGcp extends pulumi.CustomResource {
|
|
|
50
50
|
* `BIGQUERY`, `BIGTABLE`, `CLOUDFUNCTIONS`, `CLOUDIOT`, `CLOUDSQL`, `CLOUDTASKS`, `COMPUTE`, `CONTAINER`,
|
|
51
51
|
* `DATAFLOW`, `DATAPROC`, `DATASTORE`, `FIREBASEDATABASE`, `FIREBASEHOSTING`, `FIRESTORE`, `INTERCONNECT`,
|
|
52
52
|
* `LOADBALANCING`, `LOGGING`, `ML`, `MONITORING`, `PUBSUB`, `REDIS`, `ROUTER`, `SERVICERUNTIME`, `SPANNER`, `STORAGE`,
|
|
53
|
-
* `TPU`, `VPN
|
|
53
|
+
* `TPU`, and `VPN`.
|
|
54
54
|
*/
|
|
55
55
|
readonly categories: pulumi.Output<string[] | undefined>;
|
|
56
56
|
/**
|
|
57
|
-
* Forces this resource to save, even if errors are present
|
|
57
|
+
* Forces this resource to save, even if errors are present.
|
|
58
58
|
*/
|
|
59
59
|
readonly forceSave: pulumi.Output<boolean | undefined>;
|
|
60
60
|
/**
|
|
61
61
|
* Private key for a Google Cloud Platform (GCP) service account within your project.
|
|
62
|
-
* The account must
|
|
62
|
+
* The account must have at least Viewer permissions. This key must be in the JSON format generated by GCP.
|
|
63
63
|
*/
|
|
64
64
|
readonly jsonKey: pulumi.Output<string>;
|
|
65
65
|
/**
|
|
66
|
-
* A regular expression that a metric name must match (case-insensitively) in order to be ingested
|
|
66
|
+
* A regular expression that a metric name must match (case-insensitively) in order to be ingested.
|
|
67
67
|
*/
|
|
68
68
|
readonly metricFilterRegex: pulumi.Output<string | undefined>;
|
|
69
69
|
/**
|
|
70
|
-
* The human-readable name of this integration
|
|
70
|
+
* The human-readable name of this integration.
|
|
71
71
|
*/
|
|
72
72
|
readonly name: pulumi.Output<string>;
|
|
73
73
|
/**
|
|
74
|
-
* The Google Cloud Platform (GCP) Project
|
|
74
|
+
* The Google Cloud Platform (GCP) Project ID.
|
|
75
75
|
*/
|
|
76
76
|
readonly projectId: pulumi.Output<string>;
|
|
77
77
|
/**
|
|
78
|
-
* A value denoting which cloud service this service integrates with
|
|
78
|
+
* A value denoting which cloud service this service integrates with.
|
|
79
79
|
*/
|
|
80
80
|
readonly service: pulumi.Output<string>;
|
|
81
81
|
/**
|
|
82
|
-
* How often, in minutes, to refresh the service
|
|
82
|
+
* How often, in minutes, to refresh the service.
|
|
83
83
|
*/
|
|
84
84
|
readonly serviceRefreshRateInMinutes: pulumi.Output<number | undefined>;
|
|
85
85
|
/**
|
|
@@ -96,7 +96,7 @@ export declare class CloudIntegrationGcp extends pulumi.CustomResource {
|
|
|
96
96
|
*/
|
|
97
97
|
export interface CloudIntegrationGcpState {
|
|
98
98
|
/**
|
|
99
|
-
* A list of point tag key-values to add to every point ingested using this integration
|
|
99
|
+
* A list of point tag key-values to add to every point ingested using this integration.
|
|
100
100
|
*/
|
|
101
101
|
additionalTags?: pulumi.Input<{
|
|
102
102
|
[key: string]: pulumi.Input<string>;
|
|
@@ -106,36 +106,36 @@ export interface CloudIntegrationGcpState {
|
|
|
106
106
|
* `BIGQUERY`, `BIGTABLE`, `CLOUDFUNCTIONS`, `CLOUDIOT`, `CLOUDSQL`, `CLOUDTASKS`, `COMPUTE`, `CONTAINER`,
|
|
107
107
|
* `DATAFLOW`, `DATAPROC`, `DATASTORE`, `FIREBASEDATABASE`, `FIREBASEHOSTING`, `FIRESTORE`, `INTERCONNECT`,
|
|
108
108
|
* `LOADBALANCING`, `LOGGING`, `ML`, `MONITORING`, `PUBSUB`, `REDIS`, `ROUTER`, `SERVICERUNTIME`, `SPANNER`, `STORAGE`,
|
|
109
|
-
* `TPU`, `VPN
|
|
109
|
+
* `TPU`, and `VPN`.
|
|
110
110
|
*/
|
|
111
111
|
categories?: pulumi.Input<pulumi.Input<string>[]>;
|
|
112
112
|
/**
|
|
113
|
-
* Forces this resource to save, even if errors are present
|
|
113
|
+
* Forces this resource to save, even if errors are present.
|
|
114
114
|
*/
|
|
115
115
|
forceSave?: pulumi.Input<boolean>;
|
|
116
116
|
/**
|
|
117
117
|
* Private key for a Google Cloud Platform (GCP) service account within your project.
|
|
118
|
-
* The account must
|
|
118
|
+
* The account must have at least Viewer permissions. This key must be in the JSON format generated by GCP.
|
|
119
119
|
*/
|
|
120
120
|
jsonKey?: pulumi.Input<string>;
|
|
121
121
|
/**
|
|
122
|
-
* A regular expression that a metric name must match (case-insensitively) in order to be ingested
|
|
122
|
+
* A regular expression that a metric name must match (case-insensitively) in order to be ingested.
|
|
123
123
|
*/
|
|
124
124
|
metricFilterRegex?: pulumi.Input<string>;
|
|
125
125
|
/**
|
|
126
|
-
* The human-readable name of this integration
|
|
126
|
+
* The human-readable name of this integration.
|
|
127
127
|
*/
|
|
128
128
|
name?: pulumi.Input<string>;
|
|
129
129
|
/**
|
|
130
|
-
* The Google Cloud Platform (GCP) Project
|
|
130
|
+
* The Google Cloud Platform (GCP) Project ID.
|
|
131
131
|
*/
|
|
132
132
|
projectId?: pulumi.Input<string>;
|
|
133
133
|
/**
|
|
134
|
-
* A value denoting which cloud service this service integrates with
|
|
134
|
+
* A value denoting which cloud service this service integrates with.
|
|
135
135
|
*/
|
|
136
136
|
service?: pulumi.Input<string>;
|
|
137
137
|
/**
|
|
138
|
-
* How often, in minutes, to refresh the service
|
|
138
|
+
* How often, in minutes, to refresh the service.
|
|
139
139
|
*/
|
|
140
140
|
serviceRefreshRateInMinutes?: pulumi.Input<number>;
|
|
141
141
|
}
|
|
@@ -144,7 +144,7 @@ export interface CloudIntegrationGcpState {
|
|
|
144
144
|
*/
|
|
145
145
|
export interface CloudIntegrationGcpArgs {
|
|
146
146
|
/**
|
|
147
|
-
* A list of point tag key-values to add to every point ingested using this integration
|
|
147
|
+
* A list of point tag key-values to add to every point ingested using this integration.
|
|
148
148
|
*/
|
|
149
149
|
additionalTags?: pulumi.Input<{
|
|
150
150
|
[key: string]: pulumi.Input<string>;
|
|
@@ -154,36 +154,36 @@ export interface CloudIntegrationGcpArgs {
|
|
|
154
154
|
* `BIGQUERY`, `BIGTABLE`, `CLOUDFUNCTIONS`, `CLOUDIOT`, `CLOUDSQL`, `CLOUDTASKS`, `COMPUTE`, `CONTAINER`,
|
|
155
155
|
* `DATAFLOW`, `DATAPROC`, `DATASTORE`, `FIREBASEDATABASE`, `FIREBASEHOSTING`, `FIRESTORE`, `INTERCONNECT`,
|
|
156
156
|
* `LOADBALANCING`, `LOGGING`, `ML`, `MONITORING`, `PUBSUB`, `REDIS`, `ROUTER`, `SERVICERUNTIME`, `SPANNER`, `STORAGE`,
|
|
157
|
-
* `TPU`, `VPN
|
|
157
|
+
* `TPU`, and `VPN`.
|
|
158
158
|
*/
|
|
159
159
|
categories?: pulumi.Input<pulumi.Input<string>[]>;
|
|
160
160
|
/**
|
|
161
|
-
* Forces this resource to save, even if errors are present
|
|
161
|
+
* Forces this resource to save, even if errors are present.
|
|
162
162
|
*/
|
|
163
163
|
forceSave?: pulumi.Input<boolean>;
|
|
164
164
|
/**
|
|
165
165
|
* Private key for a Google Cloud Platform (GCP) service account within your project.
|
|
166
|
-
* The account must
|
|
166
|
+
* The account must have at least Viewer permissions. This key must be in the JSON format generated by GCP.
|
|
167
167
|
*/
|
|
168
168
|
jsonKey: pulumi.Input<string>;
|
|
169
169
|
/**
|
|
170
|
-
* A regular expression that a metric name must match (case-insensitively) in order to be ingested
|
|
170
|
+
* A regular expression that a metric name must match (case-insensitively) in order to be ingested.
|
|
171
171
|
*/
|
|
172
172
|
metricFilterRegex?: pulumi.Input<string>;
|
|
173
173
|
/**
|
|
174
|
-
* The human-readable name of this integration
|
|
174
|
+
* The human-readable name of this integration.
|
|
175
175
|
*/
|
|
176
176
|
name?: pulumi.Input<string>;
|
|
177
177
|
/**
|
|
178
|
-
* The Google Cloud Platform (GCP) Project
|
|
178
|
+
* The Google Cloud Platform (GCP) Project ID.
|
|
179
179
|
*/
|
|
180
180
|
projectId: pulumi.Input<string>;
|
|
181
181
|
/**
|
|
182
|
-
* A value denoting which cloud service this service integrates with
|
|
182
|
+
* A value denoting which cloud service this service integrates with.
|
|
183
183
|
*/
|
|
184
184
|
service: pulumi.Input<string>;
|
|
185
185
|
/**
|
|
186
|
-
* How often, in minutes, to refresh the service
|
|
186
|
+
* How often, in minutes, to refresh the service.
|
|
187
187
|
*/
|
|
188
188
|
serviceRefreshRateInMinutes?: pulumi.Input<number>;
|
|
189
189
|
}
|
package/cloudIntegrationGcp.js
CHANGED
|
@@ -6,8 +6,8 @@ exports.CloudIntegrationGcp = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
-
* Provides a Wavefront Cloud Integration for
|
|
10
|
-
* updated, and deleted.
|
|
9
|
+
* Provides a Wavefront Cloud Integration for Google Cloud Platform. This allows Google Cloud Platform cloud
|
|
10
|
+
* integrations to be created, updated, and deleted.
|
|
11
11
|
*
|
|
12
12
|
* ## Example Usage
|
|
13
13
|
*
|
|
@@ -23,7 +23,7 @@ const utilities = require("./utilities");
|
|
|
23
23
|
*
|
|
24
24
|
* ## Import
|
|
25
25
|
*
|
|
26
|
-
* GCP Cloud Integrations can be imported using the `id`, e.g.
|
|
26
|
+
* GCP Cloud Integrations can be imported by using the `id`, e.g.
|
|
27
27
|
*
|
|
28
28
|
* ```sh
|
|
29
29
|
* $ pulumi import wavefront:index/cloudIntegrationGcp:CloudIntegrationGcp gcp a411c16b-3cf7-4f03-bf11-8ca05aab898d
|
|
@@ -31,19 +31,19 @@ const utilities = require("./utilities");
|
|
|
31
31
|
*/
|
|
32
32
|
class CloudIntegrationGcp extends pulumi.CustomResource {
|
|
33
33
|
constructor(name, argsOrState, opts) {
|
|
34
|
-
let
|
|
34
|
+
let resourceInputs = {};
|
|
35
35
|
opts = opts || {};
|
|
36
36
|
if (opts.id) {
|
|
37
37
|
const state = argsOrState;
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
38
|
+
resourceInputs["additionalTags"] = state ? state.additionalTags : undefined;
|
|
39
|
+
resourceInputs["categories"] = state ? state.categories : undefined;
|
|
40
|
+
resourceInputs["forceSave"] = state ? state.forceSave : undefined;
|
|
41
|
+
resourceInputs["jsonKey"] = state ? state.jsonKey : undefined;
|
|
42
|
+
resourceInputs["metricFilterRegex"] = state ? state.metricFilterRegex : undefined;
|
|
43
|
+
resourceInputs["name"] = state ? state.name : undefined;
|
|
44
|
+
resourceInputs["projectId"] = state ? state.projectId : undefined;
|
|
45
|
+
resourceInputs["service"] = state ? state.service : undefined;
|
|
46
|
+
resourceInputs["serviceRefreshRateInMinutes"] = state ? state.serviceRefreshRateInMinutes : undefined;
|
|
47
47
|
}
|
|
48
48
|
else {
|
|
49
49
|
const args = argsOrState;
|
|
@@ -56,20 +56,18 @@ class CloudIntegrationGcp extends pulumi.CustomResource {
|
|
|
56
56
|
if ((!args || args.service === undefined) && !opts.urn) {
|
|
57
57
|
throw new Error("Missing required property 'service'");
|
|
58
58
|
}
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
59
|
+
resourceInputs["additionalTags"] = args ? args.additionalTags : undefined;
|
|
60
|
+
resourceInputs["categories"] = args ? args.categories : undefined;
|
|
61
|
+
resourceInputs["forceSave"] = args ? args.forceSave : undefined;
|
|
62
|
+
resourceInputs["jsonKey"] = args ? args.jsonKey : undefined;
|
|
63
|
+
resourceInputs["metricFilterRegex"] = args ? args.metricFilterRegex : undefined;
|
|
64
|
+
resourceInputs["name"] = args ? args.name : undefined;
|
|
65
|
+
resourceInputs["projectId"] = args ? args.projectId : undefined;
|
|
66
|
+
resourceInputs["service"] = args ? args.service : undefined;
|
|
67
|
+
resourceInputs["serviceRefreshRateInMinutes"] = args ? args.serviceRefreshRateInMinutes : undefined;
|
|
68
68
|
}
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
}
|
|
72
|
-
super(CloudIntegrationGcp.__pulumiType, name, inputs, opts);
|
|
69
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
70
|
+
super(CloudIntegrationGcp.__pulumiType, name, resourceInputs, opts);
|
|
73
71
|
}
|
|
74
72
|
/**
|
|
75
73
|
* Get an existing CloudIntegrationGcp resource's state with the given name, ID, and optional extra
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cloudIntegrationGcp.js","sourceRoot":"","sources":["../cloudIntegrationGcp.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,MAAa,mBAAoB,SAAQ,MAAM,CAAC,cAAc;IA8E1D,YAAY,IAAY,EAAE,WAAgE,EAAE,IAAmC;QAC3H,IAAI,
|
|
1
|
+
{"version":3,"file":"cloudIntegrationGcp.js","sourceRoot":"","sources":["../cloudIntegrationGcp.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,MAAa,mBAAoB,SAAQ,MAAM,CAAC,cAAc;IA8E1D,YAAY,IAAY,EAAE,WAAgE,EAAE,IAAmC;QAC3H,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAmD,CAAC;YAClE,cAAc,CAAC,gBAAgB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,cAAc,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5E,cAAc,CAAC,YAAY,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE,cAAc,CAAC,WAAW,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC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