pulumi-logtail 0.6.4 → 0.6.5
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/package.json +4 -1
- package/bin/config/index.d.ts +0 -1
- package/bin/config/index.js +0 -21
- package/bin/config/index.js.map +0 -1
- package/bin/config/vars.d.ts +0 -6
- package/bin/config/vars.js +0 -13
- package/bin/config/vars.js.map +0 -1
- package/bin/getMetric.d.ts +0 -29
- package/bin/getMetric.js +0 -23
- package/bin/getMetric.js.map +0 -1
- package/bin/getSource.d.ts +0 -45
- package/bin/getSource.js +0 -21
- package/bin/getSource.js.map +0 -1
- package/bin/getSourceGroup.d.ts +0 -26
- package/bin/getSourceGroup.js +0 -21
- package/bin/getSourceGroup.js.map +0 -1
- package/bin/index.d.ts +0 -24
- package/bin/index.js +0 -57
- package/bin/index.js.map +0 -1
- package/bin/metric.d.ts +0 -108
- package/bin/metric.js +0 -71
- package/bin/metric.js.map +0 -1
- package/bin/package.json +0 -60
- package/bin/provider.d.ts +0 -39
- package/bin/provider.js +0 -50
- package/bin/provider.js.map +0 -1
- package/bin/source.d.ts +0 -311
- package/bin/source.js +0 -94
- package/bin/source.js.map +0 -1
- package/bin/sourceGroup.d.ts +0 -88
- package/bin/sourceGroup.js +0 -57
- package/bin/sourceGroup.js.map +0 -1
- package/bin/types/index.d.ts +0 -3
- package/bin/types/index.js +0 -11
- package/bin/types/index.js.map +0 -1
- package/bin/types/input.d.ts +0 -23
- package/bin/types/input.js +0 -5
- package/bin/types/input.js.map +0 -1
- package/bin/types/output.d.ts +0 -29
- package/bin/types/output.js +0 -5
- package/bin/types/output.js.map +0 -1
- package/bin/utilities.d.ts +0 -5
- package/bin/utilities.js +0 -141
- package/bin/utilities.js.map +0 -1
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pulumi-logtail",
|
|
3
3
|
"description": "A Pulumi provider for managing Logtail log management and analytics resources, dynamically bridged from the Terraform Logtail provider with support for sources, metrics, and log aggregation.",
|
|
4
|
-
"version": "0.6.
|
|
4
|
+
"version": "0.6.5",
|
|
5
5
|
"homepage": "https://github.com/hckhanh/pulumi-any-terraform",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -47,6 +47,9 @@
|
|
|
47
47
|
"infrastructure"
|
|
48
48
|
],
|
|
49
49
|
"license": "MIT",
|
|
50
|
+
"publishConfig": {
|
|
51
|
+
"access": "public"
|
|
52
|
+
},
|
|
50
53
|
"pulumi": {
|
|
51
54
|
"resource": true,
|
|
52
55
|
"name": "terraform-provider",
|
package/bin/config/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./vars";
|
package/bin/config/index.js
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
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
|
-
// Export members:
|
|
20
|
-
__exportStar(require("./vars"), exports);
|
|
21
|
-
//# sourceMappingURL=index.js.map
|
package/bin/config/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../config/index.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;AAEjF,kBAAkB;AAClB,yCAAuB"}
|
package/bin/config/vars.d.ts
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Better Stack Telemetry API token. The value can be omitted if `LOGTAIL_API_TOKEN` environment variable is set. See
|
|
3
|
-
* https://betterstack.com/docs/logs/api/getting-started/#get-an-logs-api-token on how to obtain the API token for your
|
|
4
|
-
* team.
|
|
5
|
-
*/
|
|
6
|
-
export declare const apiToken: string | undefined;
|
package/bin/config/vars.js
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
|
-
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
const pulumi = require("@pulumi/pulumi");
|
|
6
|
-
const __config = new pulumi.Config("logtail");
|
|
7
|
-
Object.defineProperty(exports, "apiToken", {
|
|
8
|
-
get() {
|
|
9
|
-
return __config.get("apiToken");
|
|
10
|
-
},
|
|
11
|
-
enumerable: true,
|
|
12
|
-
});
|
|
13
|
-
//# sourceMappingURL=vars.js.map
|
package/bin/config/vars.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"vars.js","sourceRoot":"","sources":["../../config/vars.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;AAEjF,yCAAyC;AAIzC,MAAM,QAAQ,GAAG,IAAI,MAAM,CAAC,MAAM,CAAC,SAAS,CAAC,CAAC;AAQ9C,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,UAAU,EAAE;IACvC,GAAG;QACC,OAAO,QAAQ,CAAC,GAAG,CAAC,UAAU,CAAC,CAAC;IACpC,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC"}
|
package/bin/getMetric.d.ts
DELETED
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
-
export declare function getMetric(args: GetMetricArgs, opts?: pulumi.InvokeOptions): Promise<GetMetricResult>;
|
|
3
|
-
/**
|
|
4
|
-
* A collection of arguments for invoking getMetric.
|
|
5
|
-
*/
|
|
6
|
-
export interface GetMetricArgs {
|
|
7
|
-
name: string;
|
|
8
|
-
sourceId: string;
|
|
9
|
-
}
|
|
10
|
-
/**
|
|
11
|
-
* A collection of values returned by getMetric.
|
|
12
|
-
*/
|
|
13
|
-
export interface GetMetricResult {
|
|
14
|
-
readonly aggregations: string[];
|
|
15
|
-
readonly id: string;
|
|
16
|
-
readonly name: string;
|
|
17
|
-
readonly sourceId: string;
|
|
18
|
-
readonly sqlExpression: string;
|
|
19
|
-
readonly teamName: string;
|
|
20
|
-
readonly type: string;
|
|
21
|
-
}
|
|
22
|
-
export declare function getMetricOutput(args: GetMetricOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetMetricResult>;
|
|
23
|
-
/**
|
|
24
|
-
* A collection of arguments for invoking getMetric.
|
|
25
|
-
*/
|
|
26
|
-
export interface GetMetricOutputArgs {
|
|
27
|
-
name: pulumi.Input<string>;
|
|
28
|
-
sourceId: pulumi.Input<string>;
|
|
29
|
-
}
|
package/bin/getMetric.js
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
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.getMetric = getMetric;
|
|
6
|
-
exports.getMetricOutput = getMetricOutput;
|
|
7
|
-
const pulumi = require("@pulumi/pulumi");
|
|
8
|
-
const utilities = require("./utilities");
|
|
9
|
-
function getMetric(args, opts) {
|
|
10
|
-
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
11
|
-
return pulumi.runtime.invoke("logtail:index/getMetric:getMetric", {
|
|
12
|
-
"name": args.name,
|
|
13
|
-
"sourceId": args.sourceId,
|
|
14
|
-
}, opts, utilities.getPackage());
|
|
15
|
-
}
|
|
16
|
-
function getMetricOutput(args, opts) {
|
|
17
|
-
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
18
|
-
return pulumi.runtime.invokeOutput("logtail:index/getMetric:getMetric", {
|
|
19
|
-
"name": args.name,
|
|
20
|
-
"sourceId": args.sourceId,
|
|
21
|
-
}, opts, utilities.getPackage());
|
|
22
|
-
}
|
|
23
|
-
//# sourceMappingURL=getMetric.js.map
|
package/bin/getMetric.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"getMetric.js","sourceRoot":"","sources":["../getMetric.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;AAKjF,8BAMC;AAsBD,0CAMC;AArCD,yCAAyC;AACzC,yCAAyC;AAEzC,SAAgB,SAAS,CAAC,IAAmB,EAAE,IAA2B;IACtE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,mCAAmC,EAAE;QAC9D,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,UAAU,EAAE,IAAI,CAAC,QAAQ;KAC5B,EAAE,IAAI,EAAE,SAAS,CAAC,UAAU,EAAE,CAAC,CAAC;AACrC,CAAC;AAsBD,SAAgB,eAAe,CAAC,IAAyB,EAAE,IAAiC;IACxF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,mCAAmC,EAAE;QACpE,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,UAAU,EAAE,IAAI,CAAC,QAAQ;KAC5B,EAAE,IAAI,EAAE,SAAS,CAAC,UAAU,EAAE,CAAC,CAAC;AACrC,CAAC"}
|
package/bin/getSource.d.ts
DELETED
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
-
import * as outputs from "./types/output";
|
|
3
|
-
export declare function getSource(args: GetSourceArgs, opts?: pulumi.InvokeOptions): Promise<GetSourceResult>;
|
|
4
|
-
/**
|
|
5
|
-
* A collection of arguments for invoking getSource.
|
|
6
|
-
*/
|
|
7
|
-
export interface GetSourceArgs {
|
|
8
|
-
tableName: string;
|
|
9
|
-
}
|
|
10
|
-
/**
|
|
11
|
-
* A collection of values returned by getSource.
|
|
12
|
-
*/
|
|
13
|
-
export interface GetSourceResult {
|
|
14
|
-
readonly createdAt: string;
|
|
15
|
-
readonly customBuckets: outputs.GetSourceCustomBucket[];
|
|
16
|
-
readonly dataRegion: string;
|
|
17
|
-
readonly id: string;
|
|
18
|
-
readonly ingestingHost: string;
|
|
19
|
-
readonly ingestingPaused: boolean;
|
|
20
|
-
readonly liveTailPattern: string;
|
|
21
|
-
readonly logsRetention: number;
|
|
22
|
-
readonly metricsRetention: number;
|
|
23
|
-
readonly name: string;
|
|
24
|
-
readonly platform: string;
|
|
25
|
-
readonly scrapeFrequencySecs: number;
|
|
26
|
-
readonly scrapeRequestBasicAuthPassword: string;
|
|
27
|
-
readonly scrapeRequestBasicAuthUser: string;
|
|
28
|
-
readonly scrapeRequestHeaders: {
|
|
29
|
-
[key: string]: string;
|
|
30
|
-
}[];
|
|
31
|
-
readonly scrapeUrls: string[];
|
|
32
|
-
readonly sourceGroupId: number;
|
|
33
|
-
readonly tableName: string;
|
|
34
|
-
readonly teamName: string;
|
|
35
|
-
readonly token: string;
|
|
36
|
-
readonly updatedAt: string;
|
|
37
|
-
readonly vrlTransformation: string;
|
|
38
|
-
}
|
|
39
|
-
export declare function getSourceOutput(args: GetSourceOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetSourceResult>;
|
|
40
|
-
/**
|
|
41
|
-
* A collection of arguments for invoking getSource.
|
|
42
|
-
*/
|
|
43
|
-
export interface GetSourceOutputArgs {
|
|
44
|
-
tableName: pulumi.Input<string>;
|
|
45
|
-
}
|
package/bin/getSource.js
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
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.getSource = getSource;
|
|
6
|
-
exports.getSourceOutput = getSourceOutput;
|
|
7
|
-
const pulumi = require("@pulumi/pulumi");
|
|
8
|
-
const utilities = require("./utilities");
|
|
9
|
-
function getSource(args, opts) {
|
|
10
|
-
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
11
|
-
return pulumi.runtime.invoke("logtail:index/getSource:getSource", {
|
|
12
|
-
"tableName": args.tableName,
|
|
13
|
-
}, opts, utilities.getPackage());
|
|
14
|
-
}
|
|
15
|
-
function getSourceOutput(args, opts) {
|
|
16
|
-
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
17
|
-
return pulumi.runtime.invokeOutput("logtail:index/getSource:getSource", {
|
|
18
|
-
"tableName": args.tableName,
|
|
19
|
-
}, opts, utilities.getPackage());
|
|
20
|
-
}
|
|
21
|
-
//# sourceMappingURL=getSource.js.map
|
package/bin/getSource.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"getSource.js","sourceRoot":"","sources":["../getSource.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;AAOjF,8BAKC;AAoCD,0CAKC;AAnDD,yCAAyC;AAGzC,yCAAyC;AAEzC,SAAgB,SAAS,CAAC,IAAmB,EAAE,IAA2B;IACtE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,mCAAmC,EAAE;QAC9D,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,EAAE,SAAS,CAAC,UAAU,EAAE,CAAC,CAAC;AACrC,CAAC;AAoCD,SAAgB,eAAe,CAAC,IAAyB,EAAE,IAAiC;IACxF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,mCAAmC,EAAE;QACpE,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,EAAE,SAAS,CAAC,UAAU,EAAE,CAAC,CAAC;AACrC,CAAC"}
|
package/bin/getSourceGroup.d.ts
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
-
export declare function getSourceGroup(args: GetSourceGroupArgs, opts?: pulumi.InvokeOptions): Promise<GetSourceGroupResult>;
|
|
3
|
-
/**
|
|
4
|
-
* A collection of arguments for invoking getSourceGroup.
|
|
5
|
-
*/
|
|
6
|
-
export interface GetSourceGroupArgs {
|
|
7
|
-
name: string;
|
|
8
|
-
}
|
|
9
|
-
/**
|
|
10
|
-
* A collection of values returned by getSourceGroup.
|
|
11
|
-
*/
|
|
12
|
-
export interface GetSourceGroupResult {
|
|
13
|
-
readonly createdAt: string;
|
|
14
|
-
readonly id: string;
|
|
15
|
-
readonly name: string;
|
|
16
|
-
readonly sortIndex: number;
|
|
17
|
-
readonly teamName: string;
|
|
18
|
-
readonly updatedAt: string;
|
|
19
|
-
}
|
|
20
|
-
export declare function getSourceGroupOutput(args: GetSourceGroupOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetSourceGroupResult>;
|
|
21
|
-
/**
|
|
22
|
-
* A collection of arguments for invoking getSourceGroup.
|
|
23
|
-
*/
|
|
24
|
-
export interface GetSourceGroupOutputArgs {
|
|
25
|
-
name: pulumi.Input<string>;
|
|
26
|
-
}
|
package/bin/getSourceGroup.js
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
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.getSourceGroup = getSourceGroup;
|
|
6
|
-
exports.getSourceGroupOutput = getSourceGroupOutput;
|
|
7
|
-
const pulumi = require("@pulumi/pulumi");
|
|
8
|
-
const utilities = require("./utilities");
|
|
9
|
-
function getSourceGroup(args, opts) {
|
|
10
|
-
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
11
|
-
return pulumi.runtime.invoke("logtail:index/getSourceGroup:getSourceGroup", {
|
|
12
|
-
"name": args.name,
|
|
13
|
-
}, opts, utilities.getPackage());
|
|
14
|
-
}
|
|
15
|
-
function getSourceGroupOutput(args, opts) {
|
|
16
|
-
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
17
|
-
return pulumi.runtime.invokeOutput("logtail:index/getSourceGroup:getSourceGroup", {
|
|
18
|
-
"name": args.name,
|
|
19
|
-
}, opts, utilities.getPackage());
|
|
20
|
-
}
|
|
21
|
-
//# sourceMappingURL=getSourceGroup.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"getSourceGroup.js","sourceRoot":"","sources":["../getSourceGroup.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;AAKjF,wCAKC;AAoBD,oDAKC;AAjCD,yCAAyC;AACzC,yCAAyC;AAEzC,SAAgB,cAAc,CAAC,IAAwB,EAAE,IAA2B;IAChF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,6CAA6C,EAAE;QACxE,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,EAAE,SAAS,CAAC,UAAU,EAAE,CAAC,CAAC;AACrC,CAAC;AAoBD,SAAgB,oBAAoB,CAAC,IAA8B,EAAE,IAAiC;IAClG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,6CAA6C,EAAE;QAC9E,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,EAAE,SAAS,CAAC,UAAU,EAAE,CAAC,CAAC;AACrC,CAAC"}
|
package/bin/index.d.ts
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
export { GetMetricArgs, GetMetricResult, GetMetricOutputArgs } from "./getMetric";
|
|
2
|
-
export declare const getMetric: typeof import("./getMetric").getMetric;
|
|
3
|
-
export declare const getMetricOutput: typeof import("./getMetric").getMetricOutput;
|
|
4
|
-
export { GetSourceArgs, GetSourceResult, GetSourceOutputArgs } from "./getSource";
|
|
5
|
-
export declare const getSource: typeof import("./getSource").getSource;
|
|
6
|
-
export declare const getSourceOutput: typeof import("./getSource").getSourceOutput;
|
|
7
|
-
export { GetSourceGroupArgs, GetSourceGroupResult, GetSourceGroupOutputArgs } from "./getSourceGroup";
|
|
8
|
-
export declare const getSourceGroup: typeof import("./getSourceGroup").getSourceGroup;
|
|
9
|
-
export declare const getSourceGroupOutput: typeof import("./getSourceGroup").getSourceGroupOutput;
|
|
10
|
-
export { MetricArgs, MetricState } from "./metric";
|
|
11
|
-
export type Metric = import("./metric").Metric;
|
|
12
|
-
export declare const Metric: typeof import("./metric").Metric;
|
|
13
|
-
export { ProviderArgs } from "./provider";
|
|
14
|
-
export type Provider = import("./provider").Provider;
|
|
15
|
-
export declare const Provider: typeof import("./provider").Provider;
|
|
16
|
-
export { SourceArgs, SourceState } from "./source";
|
|
17
|
-
export type Source = import("./source").Source;
|
|
18
|
-
export declare const Source: typeof import("./source").Source;
|
|
19
|
-
export { SourceGroupArgs, SourceGroupState } from "./sourceGroup";
|
|
20
|
-
export type SourceGroup = import("./sourceGroup").SourceGroup;
|
|
21
|
-
export declare const SourceGroup: typeof import("./sourceGroup").SourceGroup;
|
|
22
|
-
import * as config from "./config";
|
|
23
|
-
import * as types from "./types";
|
|
24
|
-
export { config, types, };
|
package/bin/index.js
DELETED
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
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.types = exports.config = exports.SourceGroup = exports.Source = exports.Provider = exports.Metric = exports.getSourceGroupOutput = exports.getSourceGroup = exports.getSourceOutput = exports.getSource = exports.getMetricOutput = exports.getMetric = void 0;
|
|
6
|
-
const pulumi = require("@pulumi/pulumi");
|
|
7
|
-
const utilities = require("./utilities");
|
|
8
|
-
exports.getMetric = null;
|
|
9
|
-
exports.getMetricOutput = null;
|
|
10
|
-
utilities.lazyLoad(exports, ["getMetric", "getMetricOutput"], () => require("./getMetric"));
|
|
11
|
-
exports.getSource = null;
|
|
12
|
-
exports.getSourceOutput = null;
|
|
13
|
-
utilities.lazyLoad(exports, ["getSource", "getSourceOutput"], () => require("./getSource"));
|
|
14
|
-
exports.getSourceGroup = null;
|
|
15
|
-
exports.getSourceGroupOutput = null;
|
|
16
|
-
utilities.lazyLoad(exports, ["getSourceGroup", "getSourceGroupOutput"], () => require("./getSourceGroup"));
|
|
17
|
-
exports.Metric = null;
|
|
18
|
-
utilities.lazyLoad(exports, ["Metric"], () => require("./metric"));
|
|
19
|
-
exports.Provider = null;
|
|
20
|
-
utilities.lazyLoad(exports, ["Provider"], () => require("./provider"));
|
|
21
|
-
exports.Source = null;
|
|
22
|
-
utilities.lazyLoad(exports, ["Source"], () => require("./source"));
|
|
23
|
-
exports.SourceGroup = null;
|
|
24
|
-
utilities.lazyLoad(exports, ["SourceGroup"], () => require("./sourceGroup"));
|
|
25
|
-
// Export sub-modules:
|
|
26
|
-
const config = require("./config");
|
|
27
|
-
exports.config = config;
|
|
28
|
-
const types = require("./types");
|
|
29
|
-
exports.types = types;
|
|
30
|
-
const _module = {
|
|
31
|
-
version: utilities.getVersion(),
|
|
32
|
-
construct: (name, type, urn) => {
|
|
33
|
-
switch (type) {
|
|
34
|
-
case "logtail:index/metric:Metric":
|
|
35
|
-
return new exports.Metric(name, undefined, { urn });
|
|
36
|
-
case "logtail:index/source:Source":
|
|
37
|
-
return new exports.Source(name, undefined, { urn });
|
|
38
|
-
case "logtail:index/sourceGroup:SourceGroup":
|
|
39
|
-
return new exports.SourceGroup(name, undefined, { urn });
|
|
40
|
-
default:
|
|
41
|
-
throw new Error(`unknown resource type ${type}`);
|
|
42
|
-
}
|
|
43
|
-
},
|
|
44
|
-
};
|
|
45
|
-
pulumi.runtime.registerResourceModule("logtail", "index/metric", _module);
|
|
46
|
-
pulumi.runtime.registerResourceModule("logtail", "index/source", _module);
|
|
47
|
-
pulumi.runtime.registerResourceModule("logtail", "index/sourceGroup", _module);
|
|
48
|
-
pulumi.runtime.registerResourcePackage("logtail", {
|
|
49
|
-
version: utilities.getVersion(),
|
|
50
|
-
constructProvider: (name, type, urn) => {
|
|
51
|
-
if (type !== "pulumi:providers:logtail") {
|
|
52
|
-
throw new Error(`unknown provider type ${type}`);
|
|
53
|
-
}
|
|
54
|
-
return new exports.Provider(name, undefined, { urn });
|
|
55
|
-
},
|
|
56
|
-
});
|
|
57
|
-
//# sourceMappingURL=index.js.map
|
package/bin/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAI5B,QAAA,SAAS,GAA2C,IAAW,CAAC;AAChE,QAAA,eAAe,GAAiD,IAAW,CAAC;AACzF,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,WAAW,EAAC,iBAAiB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,aAAa,CAAC,CAAC,CAAC;AAG9E,QAAA,SAAS,GAA2C,IAAW,CAAC;AAChE,QAAA,eAAe,GAAiD,IAAW,CAAC;AACzF,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,WAAW,EAAC,iBAAiB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,aAAa,CAAC,CAAC,CAAC;AAG9E,QAAA,cAAc,GAAqD,IAAW,CAAC;AAC/E,QAAA,oBAAoB,GAA2D,IAAW,CAAC;AACxG,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,gBAAgB,EAAC,sBAAsB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,kBAAkB,CAAC,CAAC,CAAC;AAI7F,QAAA,MAAM,GAAqC,IAAW,CAAC;AACpE,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,QAAQ,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC,CAAC;AAItD,QAAA,QAAQ,GAAyC,IAAW,CAAC;AAC1E,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,UAAU,CAAC,EAAE,GAAG,EAA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AAsB,CAAC,SAAS,EAAE,mBAAmB,EAAE,OAAO,CAAC,CAAA;AAC9E,MAAM,CAAC,OAAO,CAAC,uBAAuB,CAAC,SAAS,EAAE;IAC9C,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE;IAC/B,iBAAiB,EAAE,CAAC,IAAY,EAAE,IAAY,EAAE,GAAW,EAA2B,EAAE;QACpF,IAAI,IAAI,KAAK,0BAA0B,EAAE,CAAC;YACtC,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;QACrD,CAAC;QACD,OAAO,IAAI,gBAAQ,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAC;IACvD,CAAC;CACJ,CAAC,CAAC"}
|
package/bin/metric.d.ts
DELETED
|
@@ -1,108 +0,0 @@
|
|
|
1
|
-
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
-
export declare class Metric extends pulumi.CustomResource {
|
|
3
|
-
/**
|
|
4
|
-
* Get an existing Metric resource's state with the given name, ID, and optional extra
|
|
5
|
-
* properties used to qualify the lookup.
|
|
6
|
-
*
|
|
7
|
-
* @param name The _unique_ name of the resulting resource.
|
|
8
|
-
* @param id The _unique_ provider ID of the resource to lookup.
|
|
9
|
-
* @param state Any extra arguments used during the lookup.
|
|
10
|
-
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
11
|
-
*/
|
|
12
|
-
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: MetricState, opts?: pulumi.CustomResourceOptions): Metric;
|
|
13
|
-
/**
|
|
14
|
-
* Returns true if the given object is an instance of Metric. This is designed to work even
|
|
15
|
-
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
16
|
-
*/
|
|
17
|
-
static isInstance(obj: any): obj is Metric;
|
|
18
|
-
/**
|
|
19
|
-
* The list of aggregations to perform on the metric.
|
|
20
|
-
*/
|
|
21
|
-
readonly aggregations: pulumi.Output<string[]>;
|
|
22
|
-
/**
|
|
23
|
-
* The name of this metric.
|
|
24
|
-
*/
|
|
25
|
-
readonly name: pulumi.Output<string>;
|
|
26
|
-
/**
|
|
27
|
-
* The ID of the source this metric belongs to.
|
|
28
|
-
*/
|
|
29
|
-
readonly sourceId: pulumi.Output<string>;
|
|
30
|
-
/**
|
|
31
|
-
* The SQL expression used to extract the metric value.
|
|
32
|
-
*/
|
|
33
|
-
readonly sqlExpression: pulumi.Output<string>;
|
|
34
|
-
/**
|
|
35
|
-
* Used to specify the team the resource should be created in when using global tokens.
|
|
36
|
-
*/
|
|
37
|
-
readonly teamName: pulumi.Output<string | undefined>;
|
|
38
|
-
/**
|
|
39
|
-
* The type of the metric.
|
|
40
|
-
*/
|
|
41
|
-
readonly type: pulumi.Output<string>;
|
|
42
|
-
/**
|
|
43
|
-
* Create a Metric resource with the given unique name, arguments, and options.
|
|
44
|
-
*
|
|
45
|
-
* @param name The _unique_ name of the resource.
|
|
46
|
-
* @param args The arguments to use to populate this resource's properties.
|
|
47
|
-
* @param opts A bag of options that control this resource's behavior.
|
|
48
|
-
*/
|
|
49
|
-
constructor(name: string, args: MetricArgs, opts?: pulumi.CustomResourceOptions);
|
|
50
|
-
}
|
|
51
|
-
/**
|
|
52
|
-
* Input properties used for looking up and filtering Metric resources.
|
|
53
|
-
*/
|
|
54
|
-
export interface MetricState {
|
|
55
|
-
/**
|
|
56
|
-
* The list of aggregations to perform on the metric.
|
|
57
|
-
*/
|
|
58
|
-
aggregations?: pulumi.Input<pulumi.Input<string>[]>;
|
|
59
|
-
/**
|
|
60
|
-
* The name of this metric.
|
|
61
|
-
*/
|
|
62
|
-
name?: pulumi.Input<string>;
|
|
63
|
-
/**
|
|
64
|
-
* The ID of the source this metric belongs to.
|
|
65
|
-
*/
|
|
66
|
-
sourceId?: pulumi.Input<string>;
|
|
67
|
-
/**
|
|
68
|
-
* The SQL expression used to extract the metric value.
|
|
69
|
-
*/
|
|
70
|
-
sqlExpression?: pulumi.Input<string>;
|
|
71
|
-
/**
|
|
72
|
-
* Used to specify the team the resource should be created in when using global tokens.
|
|
73
|
-
*/
|
|
74
|
-
teamName?: pulumi.Input<string>;
|
|
75
|
-
/**
|
|
76
|
-
* The type of the metric.
|
|
77
|
-
*/
|
|
78
|
-
type?: pulumi.Input<string>;
|
|
79
|
-
}
|
|
80
|
-
/**
|
|
81
|
-
* The set of arguments for constructing a Metric resource.
|
|
82
|
-
*/
|
|
83
|
-
export interface MetricArgs {
|
|
84
|
-
/**
|
|
85
|
-
* The list of aggregations to perform on the metric.
|
|
86
|
-
*/
|
|
87
|
-
aggregations: pulumi.Input<pulumi.Input<string>[]>;
|
|
88
|
-
/**
|
|
89
|
-
* The name of this metric.
|
|
90
|
-
*/
|
|
91
|
-
name?: pulumi.Input<string>;
|
|
92
|
-
/**
|
|
93
|
-
* The ID of the source this metric belongs to.
|
|
94
|
-
*/
|
|
95
|
-
sourceId: pulumi.Input<string>;
|
|
96
|
-
/**
|
|
97
|
-
* The SQL expression used to extract the metric value.
|
|
98
|
-
*/
|
|
99
|
-
sqlExpression: pulumi.Input<string>;
|
|
100
|
-
/**
|
|
101
|
-
* Used to specify the team the resource should be created in when using global tokens.
|
|
102
|
-
*/
|
|
103
|
-
teamName?: pulumi.Input<string>;
|
|
104
|
-
/**
|
|
105
|
-
* The type of the metric.
|
|
106
|
-
*/
|
|
107
|
-
type: pulumi.Input<string>;
|
|
108
|
-
}
|
package/bin/metric.js
DELETED
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
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.Metric = void 0;
|
|
6
|
-
const pulumi = require("@pulumi/pulumi");
|
|
7
|
-
const utilities = require("./utilities");
|
|
8
|
-
class Metric extends pulumi.CustomResource {
|
|
9
|
-
/**
|
|
10
|
-
* Get an existing Metric resource's state with the given name, ID, and optional extra
|
|
11
|
-
* properties used to qualify the lookup.
|
|
12
|
-
*
|
|
13
|
-
* @param name The _unique_ name of the resulting resource.
|
|
14
|
-
* @param id The _unique_ provider ID of the resource to lookup.
|
|
15
|
-
* @param state Any extra arguments used during the lookup.
|
|
16
|
-
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
17
|
-
*/
|
|
18
|
-
static get(name, id, state, opts) {
|
|
19
|
-
return new Metric(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
20
|
-
}
|
|
21
|
-
/**
|
|
22
|
-
* Returns true if the given object is an instance of Metric. This is designed to work even
|
|
23
|
-
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
24
|
-
*/
|
|
25
|
-
static isInstance(obj) {
|
|
26
|
-
if (obj === undefined || obj === null) {
|
|
27
|
-
return false;
|
|
28
|
-
}
|
|
29
|
-
return obj['__pulumiType'] === Metric.__pulumiType;
|
|
30
|
-
}
|
|
31
|
-
constructor(name, argsOrState, opts) {
|
|
32
|
-
let resourceInputs = {};
|
|
33
|
-
opts = opts || {};
|
|
34
|
-
if (opts.id) {
|
|
35
|
-
const state = argsOrState;
|
|
36
|
-
resourceInputs["aggregations"] = state ? state.aggregations : undefined;
|
|
37
|
-
resourceInputs["name"] = state ? state.name : undefined;
|
|
38
|
-
resourceInputs["sourceId"] = state ? state.sourceId : undefined;
|
|
39
|
-
resourceInputs["sqlExpression"] = state ? state.sqlExpression : undefined;
|
|
40
|
-
resourceInputs["teamName"] = state ? state.teamName : undefined;
|
|
41
|
-
resourceInputs["type"] = state ? state.type : undefined;
|
|
42
|
-
}
|
|
43
|
-
else {
|
|
44
|
-
const args = argsOrState;
|
|
45
|
-
if ((!args || args.aggregations === undefined) && !opts.urn) {
|
|
46
|
-
throw new Error("Missing required property 'aggregations'");
|
|
47
|
-
}
|
|
48
|
-
if ((!args || args.sourceId === undefined) && !opts.urn) {
|
|
49
|
-
throw new Error("Missing required property 'sourceId'");
|
|
50
|
-
}
|
|
51
|
-
if ((!args || args.sqlExpression === undefined) && !opts.urn) {
|
|
52
|
-
throw new Error("Missing required property 'sqlExpression'");
|
|
53
|
-
}
|
|
54
|
-
if ((!args || args.type === undefined) && !opts.urn) {
|
|
55
|
-
throw new Error("Missing required property 'type'");
|
|
56
|
-
}
|
|
57
|
-
resourceInputs["aggregations"] = args ? args.aggregations : undefined;
|
|
58
|
-
resourceInputs["name"] = args ? args.name : undefined;
|
|
59
|
-
resourceInputs["sourceId"] = args ? args.sourceId : undefined;
|
|
60
|
-
resourceInputs["sqlExpression"] = args ? args.sqlExpression : undefined;
|
|
61
|
-
resourceInputs["teamName"] = args ? args.teamName : undefined;
|
|
62
|
-
resourceInputs["type"] = args ? args.type : undefined;
|
|
63
|
-
}
|
|
64
|
-
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
65
|
-
super(Metric.__pulumiType, name, resourceInputs, opts, false /*dependency*/, utilities.getPackage());
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
exports.Metric = Metric;
|
|
69
|
-
/** @internal */
|
|
70
|
-
Metric.__pulumiType = 'logtail:index/metric:Metric';
|
|
71
|
-
//# sourceMappingURL=metric.js.map
|
package/bin/metric.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"metric.js","sourceRoot":"","sources":["../metric.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,MAAa,MAAO,SAAQ,MAAM,CAAC,cAAc;IAC7C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAmB,EAAE,IAAmC;QACjH,OAAO,IAAI,MAAM,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC7D,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SA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AAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,MAAM,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,EAAE,KAAK,CAAC,cAAc,EAAE,SAAS,CAAC,UAAU,EAAE,CAAC,CAAC;IACzG,CAAC;;AA/FL,wBAgGC;AAlFG,gBAAgB;AACO,mBAAY,GAAG,6BAA6B,CAAC"}
|
package/bin/package.json
DELETED
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "pulumi-logtail",
|
|
3
|
-
"description": "A Pulumi provider for managing Logtail log management and analytics resources, dynamically bridged from the Terraform Logtail provider with support for sources, metrics, and log aggregation.",
|
|
4
|
-
"version": "0.6.4",
|
|
5
|
-
"homepage": "https://github.com/hckhanh/pulumi-any-terraform",
|
|
6
|
-
"repository": {
|
|
7
|
-
"type": "git",
|
|
8
|
-
"url": "git+https://github.com/hckhanh/pulumi-any-terraform.git",
|
|
9
|
-
"directory": "packages/logtail"
|
|
10
|
-
},
|
|
11
|
-
"private": false,
|
|
12
|
-
"main": "./bin/index.js",
|
|
13
|
-
"module": "./bin/index.js",
|
|
14
|
-
"types": "./bin/index.d.ts",
|
|
15
|
-
"exports": {
|
|
16
|
-
".": "./bin/index.js",
|
|
17
|
-
"./package.json": "./package.json"
|
|
18
|
-
},
|
|
19
|
-
"dependencies": {
|
|
20
|
-
"async-mutex": "0.5.0"
|
|
21
|
-
},
|
|
22
|
-
"devDependencies": {
|
|
23
|
-
"@pulumi/pulumi": "3.190.0",
|
|
24
|
-
"@types/node": "24.2.1",
|
|
25
|
-
"typescript": "5.9.2"
|
|
26
|
-
},
|
|
27
|
-
"peerDependencies": {
|
|
28
|
-
"@pulumi/pulumi": ">=3.190.0"
|
|
29
|
-
},
|
|
30
|
-
"files": [
|
|
31
|
-
"bin",
|
|
32
|
-
"README.md"
|
|
33
|
-
],
|
|
34
|
-
"keywords": [
|
|
35
|
-
"pulumi",
|
|
36
|
-
"logtail",
|
|
37
|
-
"log-management",
|
|
38
|
-
"log-analytics",
|
|
39
|
-
"logging",
|
|
40
|
-
"observability",
|
|
41
|
-
"monitoring",
|
|
42
|
-
"metrics",
|
|
43
|
-
"sources",
|
|
44
|
-
"log-aggregation",
|
|
45
|
-
"terraform",
|
|
46
|
-
"provider",
|
|
47
|
-
"infrastructure"
|
|
48
|
-
],
|
|
49
|
-
"license": "MIT",
|
|
50
|
-
"pulumi": {
|
|
51
|
-
"resource": true,
|
|
52
|
-
"name": "terraform-provider",
|
|
53
|
-
"version": "0.8.0",
|
|
54
|
-
"parameterization": {
|
|
55
|
-
"name": "logtail",
|
|
56
|
-
"version": "0.6.3",
|
|
57
|
-
"value": "eyJyZW1vdGUiOnsidXJsIjoicmVnaXN0cnkub3BlbnRvZnUub3JnL2JldHRlcnN0YWNraHEvbG9ndGFpbCIsInZlcnNpb24iOiIwLjYuMyJ9fQ=="
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
}
|
package/bin/provider.d.ts
DELETED
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
-
/**
|
|
3
|
-
* The provider type for the logtail package. By default, resources use package-wide configuration
|
|
4
|
-
* settings, however an explicit `Provider` instance may be created and passed during resource
|
|
5
|
-
* construction to achieve fine-grained programmatic control over provider settings. See the
|
|
6
|
-
* [documentation](https://www.pulumi.com/docs/reference/programming-model/#providers) for more information.
|
|
7
|
-
*/
|
|
8
|
-
export declare class Provider extends pulumi.ProviderResource {
|
|
9
|
-
/**
|
|
10
|
-
* Returns true if the given object is an instance of Provider. This is designed to work even
|
|
11
|
-
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
12
|
-
*/
|
|
13
|
-
static isInstance(obj: any): obj is Provider;
|
|
14
|
-
/**
|
|
15
|
-
* Better Stack Telemetry API token. The value can be omitted if `LOGTAIL_API_TOKEN` environment variable is set. See
|
|
16
|
-
* https://betterstack.com/docs/logs/api/getting-started/#get-an-logs-api-token on how to obtain the API token for your
|
|
17
|
-
* team.
|
|
18
|
-
*/
|
|
19
|
-
readonly apiToken: pulumi.Output<string>;
|
|
20
|
-
/**
|
|
21
|
-
* Create a Provider resource with the given unique name, arguments, and options.
|
|
22
|
-
*
|
|
23
|
-
* @param name The _unique_ name of the resource.
|
|
24
|
-
* @param args The arguments to use to populate this resource's properties.
|
|
25
|
-
* @param opts A bag of options that control this resource's behavior.
|
|
26
|
-
*/
|
|
27
|
-
constructor(name: string, args: ProviderArgs, opts?: pulumi.ResourceOptions);
|
|
28
|
-
}
|
|
29
|
-
/**
|
|
30
|
-
* The set of arguments for constructing a Provider resource.
|
|
31
|
-
*/
|
|
32
|
-
export interface ProviderArgs {
|
|
33
|
-
/**
|
|
34
|
-
* Better Stack Telemetry API token. The value can be omitted if `LOGTAIL_API_TOKEN` environment variable is set. See
|
|
35
|
-
* https://betterstack.com/docs/logs/api/getting-started/#get-an-logs-api-token on how to obtain the API token for your
|
|
36
|
-
* team.
|
|
37
|
-
*/
|
|
38
|
-
apiToken: pulumi.Input<string>;
|
|
39
|
-
}
|