@pulumi/newrelic 5.1.0 → 5.2.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/alertChannel.d.ts +2 -1
- package/alertChannel.js +22 -22
- package/alertChannel.js.map +1 -1
- package/alertCondition.d.ts +8 -7
- package/alertCondition.js +22 -22
- package/alertCondition.js.map +1 -1
- package/alertMutingRule.d.ts +5 -4
- package/alertMutingRule.js +22 -22
- package/alertMutingRule.js.map +1 -1
- package/alertPolicy.js +20 -20
- package/alertPolicy.js.map +1 -1
- package/alertPolicyChannel.js +22 -22
- package/alertPolicyChannel.js.map +1 -1
- package/apiAccessKey.js +24 -22
- package/apiAccessKey.js.map +1 -1
- package/cloud/awsGovcloudIntegrations.d.ts +2 -1
- package/cloud/awsGovcloudIntegrations.js +22 -22
- package/cloud/awsGovcloudIntegrations.js.map +1 -1
- package/cloud/awsGovcloudLinkAccount.js +26 -24
- package/cloud/awsGovcloudLinkAccount.js.map +1 -1
- package/cloud/awsIntegrations.d.ts +2 -1
- package/cloud/awsIntegrations.js +22 -22
- package/cloud/awsIntegrations.js.map +1 -1
- package/cloud/awsLinkAccount.js +22 -22
- package/cloud/awsLinkAccount.js.map +1 -1
- package/cloud/azureIntegrations.d.ts +89 -64
- package/cloud/azureIntegrations.js +26 -22
- package/cloud/azureIntegrations.js.map +1 -1
- package/cloud/azureLinkAccount.js +25 -23
- package/cloud/azureLinkAccount.js.map +1 -1
- package/cloud/gcpIntegrations.d.ts +14 -1
- package/cloud/gcpIntegrations.js +24 -22
- package/cloud/gcpIntegrations.js.map +1 -1
- package/cloud/gcpLinkAccount.js +21 -21
- package/cloud/gcpLinkAccount.js.map +1 -1
- package/cloud/index.d.ts +24 -8
- package/cloud/index.js +25 -40
- package/cloud/index.js.map +1 -1
- package/entityTags.d.ts +2 -32
- package/entityTags.js +22 -53
- package/entityTags.js.map +1 -1
- package/eventsToMetricsRule.js +22 -22
- package/eventsToMetricsRule.js.map +1 -1
- package/getAlertChannel.d.ts +1 -1
- package/getAlertChannel.js.map +1 -1
- package/getEntity.d.ts +14 -4
- package/getEntity.js +1 -1
- package/getEntity.js.map +1 -1
- package/getObfuscationExpression.d.ts +65 -0
- package/getObfuscationExpression.js +48 -0
- package/getObfuscationExpression.js.map +1 -0
- package/index.d.ts +87 -26
- package/index.js +92 -81
- package/index.js.map +1 -1
- package/infraAlertCondition.d.ts +11 -10
- package/infraAlertCondition.js +22 -22
- package/infraAlertCondition.js.map +1 -1
- package/insights/event.d.ts +2 -1
- package/insights/event.js +17 -17
- package/insights/event.js.map +1 -1
- package/insights/index.d.ts +3 -1
- package/insights/index.js +4 -19
- package/insights/index.js.map +1 -1
- package/notificationChannel.d.ts +68 -13
- package/notificationChannel.js +88 -34
- package/notificationChannel.js.map +1 -1
- package/notificationDestination.d.ts +2 -1
- package/notificationDestination.js +22 -22
- package/notificationDestination.js.map +1 -1
- package/nrqlAlertCondition.d.ts +22 -21
- package/nrqlAlertCondition.js +27 -27
- package/nrqlAlertCondition.js.map +1 -1
- package/nrqlDropRule.js +22 -22
- package/nrqlDropRule.js.map +1 -1
- package/obfuscationExpression.d.ts +108 -0
- package/obfuscationExpression.js +82 -0
- package/obfuscationExpression.js.map +1 -0
- package/obfuscationRule.d.ts +143 -0
- package/obfuscationRule.js +101 -0
- package/obfuscationRule.js.map +1 -0
- package/oneDashboard.d.ts +113 -3
- package/oneDashboard.js +123 -24
- package/oneDashboard.js.map +1 -1
- package/oneDashboardJson.d.ts +3 -15
- package/oneDashboardJson.js +22 -34
- package/oneDashboardJson.js.map +1 -1
- package/oneDashboardRaw.d.ts +4 -1
- package/oneDashboardRaw.js +24 -22
- package/oneDashboardRaw.js.map +1 -1
- package/package.json +2 -2
- package/package.json.dev +2 -2
- package/plugins/applicationSettings.js +22 -22
- package/plugins/applicationSettings.js.map +1 -1
- package/plugins/index.d.ts +6 -2
- package/plugins/index.js +7 -22
- package/plugins/index.js.map +1 -1
- package/plugins/workload.d.ts +120 -2
- package/plugins/workload.js +110 -23
- package/plugins/workload.js.map +1 -1
- package/provider.d.ts +3 -3
- package/provider.js +19 -14
- package/provider.js.map +1 -1
- package/serviceLevel.d.ts +2 -1
- package/serviceLevel.js +22 -22
- package/serviceLevel.js.map +1 -1
- package/synthetics/alertCondition.js +22 -22
- package/synthetics/alertCondition.js.map +1 -1
- package/synthetics/brokenLinksMonitor.d.ts +9 -8
- package/synthetics/brokenLinksMonitor.js +26 -26
- package/synthetics/brokenLinksMonitor.js.map +1 -1
- package/synthetics/certCheckMonitor.d.ts +6 -5
- package/synthetics/certCheckMonitor.js +26 -26
- package/synthetics/certCheckMonitor.js.map +1 -1
- package/synthetics/getPrivateLocation.d.ts +35 -0
- package/synthetics/getPrivateLocation.js +27 -0
- package/synthetics/getPrivateLocation.js.map +1 -1
- package/synthetics/getSecureCredential.d.ts +1 -0
- package/synthetics/getSecureCredential.js.map +1 -1
- package/synthetics/index.d.ts +33 -11
- package/synthetics/index.js +34 -45
- package/synthetics/index.js.map +1 -1
- package/synthetics/monitor.d.ts +29 -33
- package/synthetics/monitor.js +40 -45
- package/synthetics/monitor.js.map +1 -1
- package/synthetics/multiLocationAlertCondition.d.ts +2 -1
- package/synthetics/multiLocationAlertCondition.js +22 -22
- package/synthetics/multiLocationAlertCondition.js.map +1 -1
- package/synthetics/privateLocation.d.ts +7 -8
- package/synthetics/privateLocation.js +24 -25
- package/synthetics/privateLocation.js.map +1 -1
- package/synthetics/scriptMonitor.d.ts +15 -21
- package/synthetics/scriptMonitor.js +32 -39
- package/synthetics/scriptMonitor.js.map +1 -1
- package/synthetics/secureCredential.js +25 -23
- package/synthetics/secureCredential.js.map +1 -1
- package/synthetics/stepMonitor.d.ts +6 -5
- package/synthetics/stepMonitor.js +26 -26
- package/synthetics/stepMonitor.js.map +1 -1
- package/types/index.js.map +1 -1
- package/types/input.d.ts +288 -72
- package/types/output.d.ts +282 -72
- package/utilities.js +13 -1
- package/utilities.js.map +1 -1
- package/workflow.d.ts +99 -112
- package/workflow.js +82 -105
- package/workflow.js.map +1 -1
|
@@ -32,6 +32,28 @@ const utilities = require("../utilities");
|
|
|
32
32
|
* ```
|
|
33
33
|
*/
|
|
34
34
|
class AlertCondition extends pulumi.CustomResource {
|
|
35
|
+
/**
|
|
36
|
+
* Get an existing AlertCondition resource's state with the given name, ID, and optional extra
|
|
37
|
+
* properties used to qualify the lookup.
|
|
38
|
+
*
|
|
39
|
+
* @param name The _unique_ name of the resulting resource.
|
|
40
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
41
|
+
* @param state Any extra arguments used during the lookup.
|
|
42
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
43
|
+
*/
|
|
44
|
+
static get(name, id, state, opts) {
|
|
45
|
+
return new AlertCondition(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* Returns true if the given object is an instance of AlertCondition. 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) {
|
|
52
|
+
if (obj === undefined || obj === null) {
|
|
53
|
+
return false;
|
|
54
|
+
}
|
|
55
|
+
return obj['__pulumiType'] === AlertCondition.__pulumiType;
|
|
56
|
+
}
|
|
35
57
|
constructor(name, argsOrState, opts) {
|
|
36
58
|
let resourceInputs = {};
|
|
37
59
|
opts = opts || {};
|
|
@@ -60,28 +82,6 @@ class AlertCondition extends pulumi.CustomResource {
|
|
|
60
82
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
61
83
|
super(AlertCondition.__pulumiType, name, resourceInputs, opts);
|
|
62
84
|
}
|
|
63
|
-
/**
|
|
64
|
-
* Get an existing AlertCondition resource's state with the given name, ID, and optional extra
|
|
65
|
-
* properties used to qualify the lookup.
|
|
66
|
-
*
|
|
67
|
-
* @param name The _unique_ name of the resulting resource.
|
|
68
|
-
* @param id The _unique_ provider ID of the resource to lookup.
|
|
69
|
-
* @param state Any extra arguments used during the lookup.
|
|
70
|
-
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
71
|
-
*/
|
|
72
|
-
static get(name, id, state, opts) {
|
|
73
|
-
return new AlertCondition(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
74
|
-
}
|
|
75
|
-
/**
|
|
76
|
-
* Returns true if the given object is an instance of AlertCondition. This is designed to work even
|
|
77
|
-
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
78
|
-
*/
|
|
79
|
-
static isInstance(obj) {
|
|
80
|
-
if (obj === undefined || obj === null) {
|
|
81
|
-
return false;
|
|
82
|
-
}
|
|
83
|
-
return obj['__pulumiType'] === AlertCondition.__pulumiType;
|
|
84
|
-
}
|
|
85
85
|
}
|
|
86
86
|
exports.AlertCondition = AlertCondition;
|
|
87
87
|
/** @internal */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"alertCondition.js","sourceRoot":"","sources":["../../synthetics/alertCondition.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,MAAa,cAAe,SAAQ,MAAM,CAAC,cAAc;
|
|
1
|
+
{"version":3,"file":"alertCondition.js","sourceRoot":"","sources":["../../synthetics/alertCondition.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,MAAa,cAAe,SAAQ,MAAM,CAAC,cAAc;IACrD;;;;;;;;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;;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SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACrD,MAAM,IAAI,KAAK,CAAC,sCAAsC,CAAC,CAAC;aAC3D;YACD,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,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,UAAU,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;SACrE;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;;AAnFL,wCAoFC;AAtEG,gBAAgB;AACO,2BAAY,GAAG,mDAAmD,CAAC"}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
-
import
|
|
2
|
+
import * as inputs from "../types/input";
|
|
3
|
+
import * as outputs from "../types/output";
|
|
3
4
|
/**
|
|
4
|
-
* Use this resource to create, update, and delete
|
|
5
|
+
* Use this resource to create, update, and delete a Synthetics Broken Links monitor in New Relic.
|
|
5
6
|
*
|
|
6
7
|
* ## Example Usage
|
|
7
8
|
*
|
|
@@ -33,12 +34,12 @@ import { input as inputs, output as outputs } from "../types";
|
|
|
33
34
|
* import * as pulumi from "@pulumi/pulumi";
|
|
34
35
|
* import * as newrelic from "@pulumi/newrelic";
|
|
35
36
|
*
|
|
36
|
-
* const
|
|
37
|
+
* const location = new newrelic.synthetics.PrivateLocation("location", {
|
|
37
38
|
* description: "Test Description",
|
|
38
39
|
* verifiedScriptExecution: false,
|
|
39
40
|
* });
|
|
40
41
|
* const monitor = new newrelic.synthetics.BrokenLinksMonitor("monitor", {
|
|
41
|
-
* locationsPrivates: ["newrelic_synthetics_private_location.
|
|
42
|
+
* locationsPrivates: ["newrelic_synthetics_private_location.location.id"],
|
|
42
43
|
* period: "EVERY_6_HOURS",
|
|
43
44
|
* status: "ENABLED",
|
|
44
45
|
* tags: [{
|
|
@@ -54,7 +55,7 @@ import { input as inputs, output as outputs } from "../types";
|
|
|
54
55
|
* Synthetics broken links monitor scripts can be imported using the `guid`, e.g. bash
|
|
55
56
|
*
|
|
56
57
|
* ```sh
|
|
57
|
-
* $ pulumi import newrelic:synthetics/brokenLinksMonitor:BrokenLinksMonitor
|
|
58
|
+
* $ pulumi import newrelic:synthetics/brokenLinksMonitor:BrokenLinksMonitor monitor <guid>
|
|
58
59
|
* ```
|
|
59
60
|
*/
|
|
60
61
|
export declare class BrokenLinksMonitor extends pulumi.CustomResource {
|
|
@@ -106,7 +107,7 @@ export declare class BrokenLinksMonitor extends pulumi.CustomResource {
|
|
|
106
107
|
*/
|
|
107
108
|
readonly tags: pulumi.Output<outputs.synthetics.BrokenLinksMonitorTag[] | undefined>;
|
|
108
109
|
/**
|
|
109
|
-
* The
|
|
110
|
+
* The URI the monitor runs against.
|
|
110
111
|
*/
|
|
111
112
|
readonly uri: pulumi.Output<string>;
|
|
112
113
|
/**
|
|
@@ -155,7 +156,7 @@ export interface BrokenLinksMonitorState {
|
|
|
155
156
|
*/
|
|
156
157
|
tags?: pulumi.Input<pulumi.Input<inputs.synthetics.BrokenLinksMonitorTag>[]>;
|
|
157
158
|
/**
|
|
158
|
-
* The
|
|
159
|
+
* The URI the monitor runs against.
|
|
159
160
|
*/
|
|
160
161
|
uri?: pulumi.Input<string>;
|
|
161
162
|
}
|
|
@@ -192,7 +193,7 @@ export interface BrokenLinksMonitorArgs {
|
|
|
192
193
|
*/
|
|
193
194
|
tags?: pulumi.Input<pulumi.Input<inputs.synthetics.BrokenLinksMonitorTag>[]>;
|
|
194
195
|
/**
|
|
195
|
-
* The
|
|
196
|
+
* The URI the monitor runs against.
|
|
196
197
|
*/
|
|
197
198
|
uri: pulumi.Input<string>;
|
|
198
199
|
}
|
|
@@ -6,7 +6,7 @@ exports.BrokenLinksMonitor = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
8
|
/**
|
|
9
|
-
* Use this resource to create, update, and delete
|
|
9
|
+
* Use this resource to create, update, and delete a Synthetics Broken Links monitor in New Relic.
|
|
10
10
|
*
|
|
11
11
|
* ## Example Usage
|
|
12
12
|
*
|
|
@@ -38,12 +38,12 @@ const utilities = require("../utilities");
|
|
|
38
38
|
* import * as pulumi from "@pulumi/pulumi";
|
|
39
39
|
* import * as newrelic from "@pulumi/newrelic";
|
|
40
40
|
*
|
|
41
|
-
* const
|
|
41
|
+
* const location = new newrelic.synthetics.PrivateLocation("location", {
|
|
42
42
|
* description: "Test Description",
|
|
43
43
|
* verifiedScriptExecution: false,
|
|
44
44
|
* });
|
|
45
45
|
* const monitor = new newrelic.synthetics.BrokenLinksMonitor("monitor", {
|
|
46
|
-
* locationsPrivates: ["newrelic_synthetics_private_location.
|
|
46
|
+
* locationsPrivates: ["newrelic_synthetics_private_location.location.id"],
|
|
47
47
|
* period: "EVERY_6_HOURS",
|
|
48
48
|
* status: "ENABLED",
|
|
49
49
|
* tags: [{
|
|
@@ -59,10 +59,32 @@ const utilities = require("../utilities");
|
|
|
59
59
|
* Synthetics broken links monitor scripts can be imported using the `guid`, e.g. bash
|
|
60
60
|
*
|
|
61
61
|
* ```sh
|
|
62
|
-
* $ pulumi import newrelic:synthetics/brokenLinksMonitor:BrokenLinksMonitor
|
|
62
|
+
* $ pulumi import newrelic:synthetics/brokenLinksMonitor:BrokenLinksMonitor monitor <guid>
|
|
63
63
|
* ```
|
|
64
64
|
*/
|
|
65
65
|
class BrokenLinksMonitor extends pulumi.CustomResource {
|
|
66
|
+
/**
|
|
67
|
+
* Get an existing BrokenLinksMonitor resource's state with the given name, ID, and optional extra
|
|
68
|
+
* properties used to qualify the lookup.
|
|
69
|
+
*
|
|
70
|
+
* @param name The _unique_ name of the resulting resource.
|
|
71
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
72
|
+
* @param state Any extra arguments used during the lookup.
|
|
73
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
74
|
+
*/
|
|
75
|
+
static get(name, id, state, opts) {
|
|
76
|
+
return new BrokenLinksMonitor(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
77
|
+
}
|
|
78
|
+
/**
|
|
79
|
+
* Returns true if the given object is an instance of BrokenLinksMonitor. This is designed to work even
|
|
80
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
81
|
+
*/
|
|
82
|
+
static isInstance(obj) {
|
|
83
|
+
if (obj === undefined || obj === null) {
|
|
84
|
+
return false;
|
|
85
|
+
}
|
|
86
|
+
return obj['__pulumiType'] === BrokenLinksMonitor.__pulumiType;
|
|
87
|
+
}
|
|
66
88
|
constructor(name, argsOrState, opts) {
|
|
67
89
|
let resourceInputs = {};
|
|
68
90
|
opts = opts || {};
|
|
@@ -102,28 +124,6 @@ class BrokenLinksMonitor extends pulumi.CustomResource {
|
|
|
102
124
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
103
125
|
super(BrokenLinksMonitor.__pulumiType, name, resourceInputs, opts);
|
|
104
126
|
}
|
|
105
|
-
/**
|
|
106
|
-
* Get an existing BrokenLinksMonitor resource's state with the given name, ID, and optional extra
|
|
107
|
-
* properties used to qualify the lookup.
|
|
108
|
-
*
|
|
109
|
-
* @param name The _unique_ name of the resulting resource.
|
|
110
|
-
* @param id The _unique_ provider ID of the resource to lookup.
|
|
111
|
-
* @param state Any extra arguments used during the lookup.
|
|
112
|
-
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
113
|
-
*/
|
|
114
|
-
static get(name, id, state, opts) {
|
|
115
|
-
return new BrokenLinksMonitor(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
116
|
-
}
|
|
117
|
-
/**
|
|
118
|
-
* Returns true if the given object is an instance of BrokenLinksMonitor. This is designed to work even
|
|
119
|
-
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
120
|
-
*/
|
|
121
|
-
static isInstance(obj) {
|
|
122
|
-
if (obj === undefined || obj === null) {
|
|
123
|
-
return false;
|
|
124
|
-
}
|
|
125
|
-
return obj['__pulumiType'] === BrokenLinksMonitor.__pulumiType;
|
|
126
|
-
}
|
|
127
127
|
}
|
|
128
128
|
exports.BrokenLinksMonitor = BrokenLinksMonitor;
|
|
129
129
|
/** @internal */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"brokenLinksMonitor.js","sourceRoot":"","sources":["../../synthetics/brokenLinksMonitor.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;
|
|
1
|
+
{"version":3,"file":"brokenLinksMonitor.js","sourceRoot":"","sources":["../../synthetics/brokenLinksMonitor.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwDG;AACH,MAAa,kBAAmB,SAAQ,MAAM,CAAC,cAAc;IACzD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA+B,EAAE,IAAmC;QAC7H,OAAO,IAAI,kBAAkB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CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,KAAK,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,SAAS,CAAC;YACpD,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC9C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,kBAAkB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACvE,CAAC;;AA9GL,gDA+GC;AAjGG,gBAAgB;AACO,+BAAY,GAAG,2DAA2D,CAAC"}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
-
import
|
|
2
|
+
import * as inputs from "../types/input";
|
|
3
|
+
import * as outputs from "../types/output";
|
|
3
4
|
/**
|
|
4
|
-
* Use this resource to create, update, and delete a
|
|
5
|
+
* Use this resource to create, update, and delete a Synthetics Certificate Check monitor in New Relic.
|
|
5
6
|
*
|
|
6
7
|
* ## Example Usage
|
|
7
8
|
*
|
|
@@ -11,7 +12,7 @@ import { input as inputs, output as outputs } from "../types";
|
|
|
11
12
|
*
|
|
12
13
|
* const cert_check_monitor = new newrelic.synthetics.CertCheckMonitor("cert-check-monitor", {
|
|
13
14
|
* certificateExpiration: 10,
|
|
14
|
-
* domain: "
|
|
15
|
+
* domain: "www.example.com",
|
|
15
16
|
* locationsPublics: ["AP_SOUTH_1"],
|
|
16
17
|
* period: "EVERY_6_HOURS",
|
|
17
18
|
* status: "ENABLED",
|
|
@@ -34,12 +35,12 @@ import { input as inputs, output as outputs } from "../types";
|
|
|
34
35
|
* import * as pulumi from "@pulumi/pulumi";
|
|
35
36
|
* import * as newrelic from "@pulumi/newrelic";
|
|
36
37
|
*
|
|
37
|
-
* const
|
|
38
|
+
* const location = new newrelic.synthetics.PrivateLocation("location", {
|
|
38
39
|
* description: "Test Description",
|
|
39
40
|
* verifiedScriptExecution: false,
|
|
40
41
|
* });
|
|
41
42
|
* const monitor = new newrelic.synthetics.CertCheckMonitor("monitor", {
|
|
42
|
-
* locationsPrivates: ["newrelic_synthetics_private_location.
|
|
43
|
+
* locationsPrivates: ["newrelic_synthetics_private_location.location.id"],
|
|
43
44
|
* period: "EVERY_6_HOURS",
|
|
44
45
|
* status: "ENABLED",
|
|
45
46
|
* tags: [{
|
|
@@ -6,7 +6,7 @@ exports.CertCheckMonitor = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
8
|
/**
|
|
9
|
-
* Use this resource to create, update, and delete a
|
|
9
|
+
* Use this resource to create, update, and delete a Synthetics Certificate Check monitor in New Relic.
|
|
10
10
|
*
|
|
11
11
|
* ## Example Usage
|
|
12
12
|
*
|
|
@@ -16,7 +16,7 @@ const utilities = require("../utilities");
|
|
|
16
16
|
*
|
|
17
17
|
* const cert_check_monitor = new newrelic.synthetics.CertCheckMonitor("cert-check-monitor", {
|
|
18
18
|
* certificateExpiration: 10,
|
|
19
|
-
* domain: "
|
|
19
|
+
* domain: "www.example.com",
|
|
20
20
|
* locationsPublics: ["AP_SOUTH_1"],
|
|
21
21
|
* period: "EVERY_6_HOURS",
|
|
22
22
|
* status: "ENABLED",
|
|
@@ -39,12 +39,12 @@ const utilities = require("../utilities");
|
|
|
39
39
|
* import * as pulumi from "@pulumi/pulumi";
|
|
40
40
|
* import * as newrelic from "@pulumi/newrelic";
|
|
41
41
|
*
|
|
42
|
-
* const
|
|
42
|
+
* const location = new newrelic.synthetics.PrivateLocation("location", {
|
|
43
43
|
* description: "Test Description",
|
|
44
44
|
* verifiedScriptExecution: false,
|
|
45
45
|
* });
|
|
46
46
|
* const monitor = new newrelic.synthetics.CertCheckMonitor("monitor", {
|
|
47
|
-
* locationsPrivates: ["newrelic_synthetics_private_location.
|
|
47
|
+
* locationsPrivates: ["newrelic_synthetics_private_location.location.id"],
|
|
48
48
|
* period: "EVERY_6_HOURS",
|
|
49
49
|
* status: "ENABLED",
|
|
50
50
|
* tags: [{
|
|
@@ -64,6 +64,28 @@ const utilities = require("../utilities");
|
|
|
64
64
|
* ```
|
|
65
65
|
*/
|
|
66
66
|
class CertCheckMonitor extends pulumi.CustomResource {
|
|
67
|
+
/**
|
|
68
|
+
* Get an existing CertCheckMonitor resource's state with the given name, ID, and optional extra
|
|
69
|
+
* properties used to qualify the lookup.
|
|
70
|
+
*
|
|
71
|
+
* @param name The _unique_ name of the resulting resource.
|
|
72
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
73
|
+
* @param state Any extra arguments used during the lookup.
|
|
74
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
75
|
+
*/
|
|
76
|
+
static get(name, id, state, opts) {
|
|
77
|
+
return new CertCheckMonitor(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
78
|
+
}
|
|
79
|
+
/**
|
|
80
|
+
* Returns true if the given object is an instance of CertCheckMonitor. This is designed to work even
|
|
81
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
82
|
+
*/
|
|
83
|
+
static isInstance(obj) {
|
|
84
|
+
if (obj === undefined || obj === null) {
|
|
85
|
+
return false;
|
|
86
|
+
}
|
|
87
|
+
return obj['__pulumiType'] === CertCheckMonitor.__pulumiType;
|
|
88
|
+
}
|
|
67
89
|
constructor(name, argsOrState, opts) {
|
|
68
90
|
let resourceInputs = {};
|
|
69
91
|
opts = opts || {};
|
|
@@ -106,28 +128,6 @@ class CertCheckMonitor extends pulumi.CustomResource {
|
|
|
106
128
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
107
129
|
super(CertCheckMonitor.__pulumiType, name, resourceInputs, opts);
|
|
108
130
|
}
|
|
109
|
-
/**
|
|
110
|
-
* Get an existing CertCheckMonitor resource's state with the given name, ID, and optional extra
|
|
111
|
-
* properties used to qualify the lookup.
|
|
112
|
-
*
|
|
113
|
-
* @param name The _unique_ name of the resulting resource.
|
|
114
|
-
* @param id The _unique_ provider ID of the resource to lookup.
|
|
115
|
-
* @param state Any extra arguments used during the lookup.
|
|
116
|
-
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
117
|
-
*/
|
|
118
|
-
static get(name, id, state, opts) {
|
|
119
|
-
return new CertCheckMonitor(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
120
|
-
}
|
|
121
|
-
/**
|
|
122
|
-
* Returns true if the given object is an instance of CertCheckMonitor. This is designed to work even
|
|
123
|
-
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
124
|
-
*/
|
|
125
|
-
static isInstance(obj) {
|
|
126
|
-
if (obj === undefined || obj === null) {
|
|
127
|
-
return false;
|
|
128
|
-
}
|
|
129
|
-
return obj['__pulumiType'] === CertCheckMonitor.__pulumiType;
|
|
130
|
-
}
|
|
131
131
|
}
|
|
132
132
|
exports.CertCheckMonitor = CertCheckMonitor;
|
|
133
133
|
/** @internal */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"certCheckMonitor.js","sourceRoot":"","sources":["../../synthetics/certCheckMonitor.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;
|
|
1
|
+
{"version":3,"file":"certCheckMonitor.js","sourceRoot":"","sources":["../../synthetics/certCheckMonitor.ts"],"names":[],"mappings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I,CAAC,CAAC;IACrE,CAAC;;AAjHL,4CAkHC;AApGG,gBAAgB;AACO,6BAAY,GAAG,uDAAuD,CAAC"}
|
|
@@ -1,12 +1,42 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
3
|
* Use this data source to get information about a specific Synthetics monitor private location in New Relic that already exists.
|
|
4
|
+
*
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as newrelic from "@pulumi/newrelic";
|
|
10
|
+
*
|
|
11
|
+
* const example = newrelic.synthetics.getPrivateLocation({
|
|
12
|
+
* accountId: 123456,
|
|
13
|
+
* name: "My private location",
|
|
14
|
+
* });
|
|
15
|
+
* const foo = new newrelic.synthetics.Monitor("foo", {locationsPrivates: [data.newrelic_synthetics_monitor_location.example.id]});
|
|
16
|
+
* ```
|
|
17
|
+
*
|
|
18
|
+
* ```typescript
|
|
19
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
20
|
+
* import * as newrelic from "@pulumi/newrelic";
|
|
21
|
+
*
|
|
22
|
+
* const example = newrelic.synthetics.getPrivateLocation({
|
|
23
|
+
* accountId: 123456,
|
|
24
|
+
* name: "My private location",
|
|
25
|
+
* });
|
|
26
|
+
* const foo = new newrelic.synthetics.StepMonitor("foo", {locationPrivates: [{
|
|
27
|
+
* guid: example.then(example => example.id),
|
|
28
|
+
* }]});
|
|
29
|
+
* ```
|
|
4
30
|
*/
|
|
5
31
|
export declare function getPrivateLocation(args: GetPrivateLocationArgs, opts?: pulumi.InvokeOptions): Promise<GetPrivateLocationResult>;
|
|
6
32
|
/**
|
|
7
33
|
* A collection of arguments for invoking getPrivateLocation.
|
|
8
34
|
*/
|
|
9
35
|
export interface GetPrivateLocationArgs {
|
|
36
|
+
/**
|
|
37
|
+
* The New Relic account ID of the associated private location. If left empty will default to account ID specified in provider level configuration.
|
|
38
|
+
*/
|
|
39
|
+
accountId?: number;
|
|
10
40
|
/**
|
|
11
41
|
* The name of the Synthetics monitor private location.
|
|
12
42
|
*/
|
|
@@ -16,6 +46,7 @@ export interface GetPrivateLocationArgs {
|
|
|
16
46
|
* A collection of values returned by getPrivateLocation.
|
|
17
47
|
*/
|
|
18
48
|
export interface GetPrivateLocationResult {
|
|
49
|
+
readonly accountId?: number;
|
|
19
50
|
/**
|
|
20
51
|
* The provider-assigned unique ID for this managed resource.
|
|
21
52
|
*/
|
|
@@ -27,6 +58,10 @@ export declare function getPrivateLocationOutput(args: GetPrivateLocationOutputA
|
|
|
27
58
|
* A collection of arguments for invoking getPrivateLocation.
|
|
28
59
|
*/
|
|
29
60
|
export interface GetPrivateLocationOutputArgs {
|
|
61
|
+
/**
|
|
62
|
+
* The New Relic account ID of the associated private location. If left empty will default to account ID specified in provider level configuration.
|
|
63
|
+
*/
|
|
64
|
+
accountId?: pulumi.Input<number>;
|
|
30
65
|
/**
|
|
31
66
|
* The name of the Synthetics monitor private location.
|
|
32
67
|
*/
|
|
@@ -7,6 +7,32 @@ const pulumi = require("@pulumi/pulumi");
|
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
8
|
/**
|
|
9
9
|
* Use this data source to get information about a specific Synthetics monitor private location in New Relic that already exists.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as newrelic from "@pulumi/newrelic";
|
|
16
|
+
*
|
|
17
|
+
* const example = newrelic.synthetics.getPrivateLocation({
|
|
18
|
+
* accountId: 123456,
|
|
19
|
+
* name: "My private location",
|
|
20
|
+
* });
|
|
21
|
+
* const foo = new newrelic.synthetics.Monitor("foo", {locationsPrivates: [data.newrelic_synthetics_monitor_location.example.id]});
|
|
22
|
+
* ```
|
|
23
|
+
*
|
|
24
|
+
* ```typescript
|
|
25
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
26
|
+
* import * as newrelic from "@pulumi/newrelic";
|
|
27
|
+
*
|
|
28
|
+
* const example = newrelic.synthetics.getPrivateLocation({
|
|
29
|
+
* accountId: 123456,
|
|
30
|
+
* name: "My private location",
|
|
31
|
+
* });
|
|
32
|
+
* const foo = new newrelic.synthetics.StepMonitor("foo", {locationPrivates: [{
|
|
33
|
+
* guid: example.then(example => example.id),
|
|
34
|
+
* }]});
|
|
35
|
+
* ```
|
|
10
36
|
*/
|
|
11
37
|
function getPrivateLocation(args, opts) {
|
|
12
38
|
if (!opts) {
|
|
@@ -14,6 +40,7 @@ function getPrivateLocation(args, opts) {
|
|
|
14
40
|
}
|
|
15
41
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
16
42
|
return pulumi.runtime.invoke("newrelic:synthetics/getPrivateLocation:getPrivateLocation", {
|
|
43
|
+
"accountId": args.accountId,
|
|
17
44
|
"name": args.name,
|
|
18
45
|
}, opts);
|
|
19
46
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getPrivateLocation.js","sourceRoot":"","sources":["../../synthetics/getPrivateLocation.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"getPrivateLocation.js","sourceRoot":"","sources":["../../synthetics/getPrivateLocation.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,SAAgB,kBAAkB,CAAC,IAA4B,EAAE,IAA2B;IACxF,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;IACnE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,2DAA2D,EAAE;QACtF,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAVD,gDAUC;AA4BD,SAAgB,wBAAwB,CAAC,IAAkC,EAAE,IAA2B;IACpG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,kBAAkB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACtE,CAAC;AAFD,4DAEC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getSecureCredential.js","sourceRoot":"","sources":["../../synthetics/getSecureCredential.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,mBAAmB,CAAC,IAA6B,EAAE,IAA2B;IAC1F,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;IACnE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,6DAA6D,EAAE;QACxF,KAAK,EAAE,IAAI,CAAC,GAAG;KAClB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AATD,kDASC;
|
|
1
|
+
{"version":3,"file":"getSecureCredential.js","sourceRoot":"","sources":["../../synthetics/getSecureCredential.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,mBAAmB,CAAC,IAA6B,EAAE,IAA2B;IAC1F,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;IACnE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,6DAA6D,EAAE;QACxF,KAAK,EAAE,IAAI,CAAC,GAAG;KAClB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AATD,kDASC;AAgCD,SAAgB,yBAAyB,CAAC,IAAmC,EAAE,IAA2B;IACtG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,mBAAmB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACvE,CAAC;AAFD,8DAEC"}
|
package/synthetics/index.d.ts
CHANGED
|
@@ -1,11 +1,33 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
3
|
-
export
|
|
4
|
-
export
|
|
5
|
-
export
|
|
6
|
-
export
|
|
7
|
-
export
|
|
8
|
-
export
|
|
9
|
-
export
|
|
10
|
-
export
|
|
11
|
-
export
|
|
1
|
+
export { AlertConditionArgs, AlertConditionState } from "./alertCondition";
|
|
2
|
+
export type AlertCondition = import("./alertCondition").AlertCondition;
|
|
3
|
+
export declare const AlertCondition: typeof import("./alertCondition").AlertCondition;
|
|
4
|
+
export { BrokenLinksMonitorArgs, BrokenLinksMonitorState } from "./brokenLinksMonitor";
|
|
5
|
+
export type BrokenLinksMonitor = import("./brokenLinksMonitor").BrokenLinksMonitor;
|
|
6
|
+
export declare const BrokenLinksMonitor: typeof import("./brokenLinksMonitor").BrokenLinksMonitor;
|
|
7
|
+
export { CertCheckMonitorArgs, CertCheckMonitorState } from "./certCheckMonitor";
|
|
8
|
+
export type CertCheckMonitor = import("./certCheckMonitor").CertCheckMonitor;
|
|
9
|
+
export declare const CertCheckMonitor: typeof import("./certCheckMonitor").CertCheckMonitor;
|
|
10
|
+
export { GetPrivateLocationArgs, GetPrivateLocationResult, GetPrivateLocationOutputArgs } from "./getPrivateLocation";
|
|
11
|
+
export declare const getPrivateLocation: typeof import("./getPrivateLocation").getPrivateLocation;
|
|
12
|
+
export declare const getPrivateLocationOutput: typeof import("./getPrivateLocation").getPrivateLocationOutput;
|
|
13
|
+
export { GetSecureCredentialArgs, GetSecureCredentialResult, GetSecureCredentialOutputArgs } from "./getSecureCredential";
|
|
14
|
+
export declare const getSecureCredential: typeof import("./getSecureCredential").getSecureCredential;
|
|
15
|
+
export declare const getSecureCredentialOutput: typeof import("./getSecureCredential").getSecureCredentialOutput;
|
|
16
|
+
export { MonitorArgs, MonitorState } from "./monitor";
|
|
17
|
+
export type Monitor = import("./monitor").Monitor;
|
|
18
|
+
export declare const Monitor: typeof import("./monitor").Monitor;
|
|
19
|
+
export { MultiLocationAlertConditionArgs, MultiLocationAlertConditionState } from "./multiLocationAlertCondition";
|
|
20
|
+
export type MultiLocationAlertCondition = import("./multiLocationAlertCondition").MultiLocationAlertCondition;
|
|
21
|
+
export declare const MultiLocationAlertCondition: typeof import("./multiLocationAlertCondition").MultiLocationAlertCondition;
|
|
22
|
+
export { PrivateLocationArgs, PrivateLocationState } from "./privateLocation";
|
|
23
|
+
export type PrivateLocation = import("./privateLocation").PrivateLocation;
|
|
24
|
+
export declare const PrivateLocation: typeof import("./privateLocation").PrivateLocation;
|
|
25
|
+
export { ScriptMonitorArgs, ScriptMonitorState } from "./scriptMonitor";
|
|
26
|
+
export type ScriptMonitor = import("./scriptMonitor").ScriptMonitor;
|
|
27
|
+
export declare const ScriptMonitor: typeof import("./scriptMonitor").ScriptMonitor;
|
|
28
|
+
export { SecureCredentialArgs, SecureCredentialState } from "./secureCredential";
|
|
29
|
+
export type SecureCredential = import("./secureCredential").SecureCredential;
|
|
30
|
+
export declare const SecureCredential: typeof import("./secureCredential").SecureCredential;
|
|
31
|
+
export { StepMonitorArgs, StepMonitorState } from "./stepMonitor";
|
|
32
|
+
export type StepMonitor = import("./stepMonitor").StepMonitor;
|
|
33
|
+
export declare const StepMonitor: typeof import("./stepMonitor").StepMonitor;
|