@pulumi/wavefront 1.5.0-alpha.1690537009 → 2.0.0-alpha.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 +1 -1
- package/ingestionPolicy.d.ts +17 -0
- package/ingestionPolicy.js +10 -0
- package/ingestionPolicy.js.map +1 -1
- package/package.json +2 -2
- package/provider.js +1 -1
- package/provider.js.map +1 -1
- package/types/input.d.ts +8 -0
- package/types/output.d.ts +8 -0
package/README.md
CHANGED
package/ingestionPolicy.d.ts
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "./types/input";
|
|
3
|
+
import * as outputs from "./types/output";
|
|
2
4
|
/**
|
|
3
5
|
* Provides a Wavefront Ingestion Policy Resource. This allows ingestion policies to be created, updated, and deleted.
|
|
4
6
|
*
|
|
@@ -35,15 +37,20 @@ export declare class IngestionPolicy extends pulumi.CustomResource {
|
|
|
35
37
|
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
36
38
|
*/
|
|
37
39
|
static isInstance(obj: any): obj is IngestionPolicy;
|
|
40
|
+
readonly accounts: pulumi.Output<string[] | undefined>;
|
|
38
41
|
/**
|
|
39
42
|
* The description of the ingestion policy.
|
|
40
43
|
*/
|
|
41
44
|
readonly description: pulumi.Output<string>;
|
|
45
|
+
readonly groups: pulumi.Output<string[] | undefined>;
|
|
42
46
|
/**
|
|
43
47
|
* The name of the ingestion policy.
|
|
44
48
|
*/
|
|
45
49
|
readonly name: pulumi.Output<string>;
|
|
50
|
+
readonly namespaces: pulumi.Output<string[] | undefined>;
|
|
46
51
|
readonly scope: pulumi.Output<string>;
|
|
52
|
+
readonly sources: pulumi.Output<string[] | undefined>;
|
|
53
|
+
readonly tags: pulumi.Output<outputs.IngestionPolicyTag[] | undefined>;
|
|
47
54
|
/**
|
|
48
55
|
* Create a IngestionPolicy resource with the given unique name, arguments, and options.
|
|
49
56
|
*
|
|
@@ -57,27 +64,37 @@ export declare class IngestionPolicy extends pulumi.CustomResource {
|
|
|
57
64
|
* Input properties used for looking up and filtering IngestionPolicy resources.
|
|
58
65
|
*/
|
|
59
66
|
export interface IngestionPolicyState {
|
|
67
|
+
accounts?: pulumi.Input<pulumi.Input<string>[]>;
|
|
60
68
|
/**
|
|
61
69
|
* The description of the ingestion policy.
|
|
62
70
|
*/
|
|
63
71
|
description?: pulumi.Input<string>;
|
|
72
|
+
groups?: pulumi.Input<pulumi.Input<string>[]>;
|
|
64
73
|
/**
|
|
65
74
|
* The name of the ingestion policy.
|
|
66
75
|
*/
|
|
67
76
|
name?: pulumi.Input<string>;
|
|
77
|
+
namespaces?: pulumi.Input<pulumi.Input<string>[]>;
|
|
68
78
|
scope?: pulumi.Input<string>;
|
|
79
|
+
sources?: pulumi.Input<pulumi.Input<string>[]>;
|
|
80
|
+
tags?: pulumi.Input<pulumi.Input<inputs.IngestionPolicyTag>[]>;
|
|
69
81
|
}
|
|
70
82
|
/**
|
|
71
83
|
* The set of arguments for constructing a IngestionPolicy resource.
|
|
72
84
|
*/
|
|
73
85
|
export interface IngestionPolicyArgs {
|
|
86
|
+
accounts?: pulumi.Input<pulumi.Input<string>[]>;
|
|
74
87
|
/**
|
|
75
88
|
* The description of the ingestion policy.
|
|
76
89
|
*/
|
|
77
90
|
description: pulumi.Input<string>;
|
|
91
|
+
groups?: pulumi.Input<pulumi.Input<string>[]>;
|
|
78
92
|
/**
|
|
79
93
|
* The name of the ingestion policy.
|
|
80
94
|
*/
|
|
81
95
|
name?: pulumi.Input<string>;
|
|
96
|
+
namespaces?: pulumi.Input<pulumi.Input<string>[]>;
|
|
82
97
|
scope: pulumi.Input<string>;
|
|
98
|
+
sources?: pulumi.Input<pulumi.Input<string>[]>;
|
|
99
|
+
tags?: pulumi.Input<pulumi.Input<inputs.IngestionPolicyTag>[]>;
|
|
83
100
|
}
|
package/ingestionPolicy.js
CHANGED
|
@@ -53,9 +53,14 @@ class IngestionPolicy extends pulumi.CustomResource {
|
|
|
53
53
|
opts = opts || {};
|
|
54
54
|
if (opts.id) {
|
|
55
55
|
const state = argsOrState;
|
|
56
|
+
resourceInputs["accounts"] = state ? state.accounts : undefined;
|
|
56
57
|
resourceInputs["description"] = state ? state.description : undefined;
|
|
58
|
+
resourceInputs["groups"] = state ? state.groups : undefined;
|
|
57
59
|
resourceInputs["name"] = state ? state.name : undefined;
|
|
60
|
+
resourceInputs["namespaces"] = state ? state.namespaces : undefined;
|
|
58
61
|
resourceInputs["scope"] = state ? state.scope : undefined;
|
|
62
|
+
resourceInputs["sources"] = state ? state.sources : undefined;
|
|
63
|
+
resourceInputs["tags"] = state ? state.tags : undefined;
|
|
59
64
|
}
|
|
60
65
|
else {
|
|
61
66
|
const args = argsOrState;
|
|
@@ -65,9 +70,14 @@ class IngestionPolicy extends pulumi.CustomResource {
|
|
|
65
70
|
if ((!args || args.scope === undefined) && !opts.urn) {
|
|
66
71
|
throw new Error("Missing required property 'scope'");
|
|
67
72
|
}
|
|
73
|
+
resourceInputs["accounts"] = args ? args.accounts : undefined;
|
|
68
74
|
resourceInputs["description"] = args ? args.description : undefined;
|
|
75
|
+
resourceInputs["groups"] = args ? args.groups : undefined;
|
|
69
76
|
resourceInputs["name"] = args ? args.name : undefined;
|
|
77
|
+
resourceInputs["namespaces"] = args ? args.namespaces : undefined;
|
|
70
78
|
resourceInputs["scope"] = args ? args.scope : undefined;
|
|
79
|
+
resourceInputs["sources"] = args ? args.sources : undefined;
|
|
80
|
+
resourceInputs["tags"] = args ? args.tags : undefined;
|
|
71
81
|
}
|
|
72
82
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
73
83
|
super(IngestionPolicy.__pulumiType, name, resourceInputs, opts);
|
package/ingestionPolicy.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ingestionPolicy.js","sourceRoot":"","sources":["../ingestionPolicy.ts"],"names":[],"mappings":";AAAA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AS,CAAC;YAC1D,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;SACzD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,eAAe,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACpE,CAAC;;AAnFL,0CAoFC;AAtEG,gBAAgB;AACO,4BAAY,GAAG,iDAAiD,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumi/wavefront",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "v2.0.0-alpha.0",
|
|
4
4
|
"description": "A Pulumi package for creating and managing wavefront cloud resources.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pulumi",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"license": "Apache-2.0",
|
|
12
12
|
"scripts": {
|
|
13
13
|
"build": "tsc",
|
|
14
|
-
"install": "node scripts/install-pulumi-plugin.js resource wavefront
|
|
14
|
+
"install": "node scripts/install-pulumi-plugin.js resource wavefront v2.0.0-alpha.0"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@pulumi/pulumi": "^3.0.0"
|
package/provider.js
CHANGED
|
@@ -20,7 +20,7 @@ class Provider extends pulumi.ProviderResource {
|
|
|
20
20
|
if (obj === undefined || obj === null) {
|
|
21
21
|
return false;
|
|
22
22
|
}
|
|
23
|
-
return obj['__pulumiType'] === Provider.__pulumiType;
|
|
23
|
+
return obj['__pulumiType'] === "pulumi:providers:" + Provider.__pulumiType;
|
|
24
24
|
}
|
|
25
25
|
/**
|
|
26
26
|
* Create a Provider resource with the given unique name, arguments, and options.
|
package/provider.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"provider.js","sourceRoot":"","sources":["../provider.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;GAKG;AACH,MAAa,QAAS,SAAQ,MAAM,CAAC,gBAAgB;IAIjD;;;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,QAAQ,CAAC,YAAY,CAAC;
|
|
1
|
+
{"version":3,"file":"provider.js","sourceRoot":"","sources":["../provider.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;GAKG;AACH,MAAa,QAAS,SAAQ,MAAM,CAAC,gBAAgB;IAIjD;;;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,mBAAmB,GAAG,QAAQ,CAAC,YA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/**
|
|
100
|
+
* Show events related to the sources included in queries
|
|
101
|
+
*/
|
|
102
|
+
noDefaultEvents?: pulumi.Input<boolean>;
|
|
99
103
|
/**
|
|
100
104
|
* Query expression to plot on the chart. See chart source queries.
|
|
101
105
|
*/
|
|
@@ -392,6 +396,10 @@ export interface DashboardSectionRowChartSource {
|
|
|
392
396
|
*/
|
|
393
397
|
sourceDescription?: pulumi.Input<string>;
|
|
394
398
|
}
|
|
399
|
+
export interface IngestionPolicyTag {
|
|
400
|
+
key: pulumi.Input<string>;
|
|
401
|
+
value: pulumi.Input<string>;
|
|
402
|
+
}
|
|
395
403
|
export interface MetricsPolicyPolicyRule {
|
|
396
404
|
/**
|
|
397
405
|
* Valid options are `ALLOW` and `BLOCK`.
|
package/types/output.d.ts
CHANGED
|
@@ -95,6 +95,10 @@ export interface DashboardSectionRowChart {
|
|
|
95
95
|
* Name of the source.
|
|
96
96
|
*/
|
|
97
97
|
name: string;
|
|
98
|
+
/**
|
|
99
|
+
* Show events related to the sources included in queries
|
|
100
|
+
*/
|
|
101
|
+
noDefaultEvents?: boolean;
|
|
98
102
|
/**
|
|
99
103
|
* Query expression to plot on the chart. See chart source queries.
|
|
100
104
|
*/
|
|
@@ -1509,6 +1513,10 @@ export interface GetUsersUser {
|
|
|
1509
1513
|
*/
|
|
1510
1514
|
userGroupIds: string[];
|
|
1511
1515
|
}
|
|
1516
|
+
export interface IngestionPolicyTag {
|
|
1517
|
+
key: string;
|
|
1518
|
+
value: string;
|
|
1519
|
+
}
|
|
1512
1520
|
export interface MetricsPolicyPolicyRule {
|
|
1513
1521
|
/**
|
|
1514
1522
|
* Valid options are `ALLOW` and `BLOCK`.
|