@pulumi/tailscale 1.0.0-alpha.1744183440 → 1.0.0-alpha.1744255572
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.
|
@@ -62,12 +62,16 @@ export declare class LogstreamConfiguration extends pulumi.CustomResource {
|
|
|
62
62
|
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
63
63
|
*/
|
|
64
64
|
static isInstance(obj: any): obj is LogstreamConfiguration;
|
|
65
|
+
/**
|
|
66
|
+
* The compression algorithm with which to compress logs. One of `none`, `zstd` or `gzip`. Defaults to `none`.
|
|
67
|
+
*/
|
|
68
|
+
readonly compressionFormat: pulumi.Output<string | undefined>;
|
|
65
69
|
/**
|
|
66
70
|
* The type of system to which logs are being streamed.
|
|
67
71
|
*/
|
|
68
72
|
readonly destinationType: pulumi.Output<string>;
|
|
69
73
|
/**
|
|
70
|
-
* The type of log that is streamed to this endpoint.
|
|
74
|
+
* The type of log that is streamed to this endpoint. Either `configuration` for configuration audit logs, or `network` for network flow logs.
|
|
71
75
|
*/
|
|
72
76
|
readonly logType: pulumi.Output<string>;
|
|
73
77
|
/**
|
|
@@ -106,6 +110,10 @@ export declare class LogstreamConfiguration extends pulumi.CustomResource {
|
|
|
106
110
|
* The token/password with which log streams to this endpoint should be authenticated, required unless destinationType is 's3'.
|
|
107
111
|
*/
|
|
108
112
|
readonly token: pulumi.Output<string | undefined>;
|
|
113
|
+
/**
|
|
114
|
+
* An optional number of minutes to wait in between uploading new logs. If the quantity of logs does not fit within a single upload, multiple uploads will be made.
|
|
115
|
+
*/
|
|
116
|
+
readonly uploadPeriodMinutes: pulumi.Output<number | undefined>;
|
|
109
117
|
/**
|
|
110
118
|
* The URL to which log streams are being posted. If destinationType is 's3' and you want to use the official Amazon S3 endpoint, leave this empty.
|
|
111
119
|
*/
|
|
@@ -127,12 +135,16 @@ export declare class LogstreamConfiguration extends pulumi.CustomResource {
|
|
|
127
135
|
* Input properties used for looking up and filtering LogstreamConfiguration resources.
|
|
128
136
|
*/
|
|
129
137
|
export interface LogstreamConfigurationState {
|
|
138
|
+
/**
|
|
139
|
+
* The compression algorithm with which to compress logs. One of `none`, `zstd` or `gzip`. Defaults to `none`.
|
|
140
|
+
*/
|
|
141
|
+
compressionFormat?: pulumi.Input<string>;
|
|
130
142
|
/**
|
|
131
143
|
* The type of system to which logs are being streamed.
|
|
132
144
|
*/
|
|
133
145
|
destinationType?: pulumi.Input<string>;
|
|
134
146
|
/**
|
|
135
|
-
* The type of log that is streamed to this endpoint.
|
|
147
|
+
* The type of log that is streamed to this endpoint. Either `configuration` for configuration audit logs, or `network` for network flow logs.
|
|
136
148
|
*/
|
|
137
149
|
logType?: pulumi.Input<string>;
|
|
138
150
|
/**
|
|
@@ -171,6 +183,10 @@ export interface LogstreamConfigurationState {
|
|
|
171
183
|
* The token/password with which log streams to this endpoint should be authenticated, required unless destinationType is 's3'.
|
|
172
184
|
*/
|
|
173
185
|
token?: pulumi.Input<string>;
|
|
186
|
+
/**
|
|
187
|
+
* An optional number of minutes to wait in between uploading new logs. If the quantity of logs does not fit within a single upload, multiple uploads will be made.
|
|
188
|
+
*/
|
|
189
|
+
uploadPeriodMinutes?: pulumi.Input<number>;
|
|
174
190
|
/**
|
|
175
191
|
* The URL to which log streams are being posted. If destinationType is 's3' and you want to use the official Amazon S3 endpoint, leave this empty.
|
|
176
192
|
*/
|
|
@@ -184,12 +200,16 @@ export interface LogstreamConfigurationState {
|
|
|
184
200
|
* The set of arguments for constructing a LogstreamConfiguration resource.
|
|
185
201
|
*/
|
|
186
202
|
export interface LogstreamConfigurationArgs {
|
|
203
|
+
/**
|
|
204
|
+
* The compression algorithm with which to compress logs. One of `none`, `zstd` or `gzip`. Defaults to `none`.
|
|
205
|
+
*/
|
|
206
|
+
compressionFormat?: pulumi.Input<string>;
|
|
187
207
|
/**
|
|
188
208
|
* The type of system to which logs are being streamed.
|
|
189
209
|
*/
|
|
190
210
|
destinationType: pulumi.Input<string>;
|
|
191
211
|
/**
|
|
192
|
-
* The type of log that is streamed to this endpoint.
|
|
212
|
+
* The type of log that is streamed to this endpoint. Either `configuration` for configuration audit logs, or `network` for network flow logs.
|
|
193
213
|
*/
|
|
194
214
|
logType: pulumi.Input<string>;
|
|
195
215
|
/**
|
|
@@ -228,6 +248,10 @@ export interface LogstreamConfigurationArgs {
|
|
|
228
248
|
* The token/password with which log streams to this endpoint should be authenticated, required unless destinationType is 's3'.
|
|
229
249
|
*/
|
|
230
250
|
token?: pulumi.Input<string>;
|
|
251
|
+
/**
|
|
252
|
+
* An optional number of minutes to wait in between uploading new logs. If the quantity of logs does not fit within a single upload, multiple uploads will be made.
|
|
253
|
+
*/
|
|
254
|
+
uploadPeriodMinutes?: pulumi.Input<number>;
|
|
231
255
|
/**
|
|
232
256
|
* The URL to which log streams are being posted. If destinationType is 's3' and you want to use the official Amazon S3 endpoint, leave this empty.
|
|
233
257
|
*/
|
|
@@ -80,6 +80,7 @@ class LogstreamConfiguration extends pulumi.CustomResource {
|
|
|
80
80
|
opts = opts || {};
|
|
81
81
|
if (opts.id) {
|
|
82
82
|
const state = argsOrState;
|
|
83
|
+
resourceInputs["compressionFormat"] = state ? state.compressionFormat : undefined;
|
|
83
84
|
resourceInputs["destinationType"] = state ? state.destinationType : undefined;
|
|
84
85
|
resourceInputs["logType"] = state ? state.logType : undefined;
|
|
85
86
|
resourceInputs["s3AccessKeyId"] = state ? state.s3AccessKeyId : undefined;
|
|
@@ -91,6 +92,7 @@ class LogstreamConfiguration extends pulumi.CustomResource {
|
|
|
91
92
|
resourceInputs["s3RoleArn"] = state ? state.s3RoleArn : undefined;
|
|
92
93
|
resourceInputs["s3SecretAccessKey"] = state ? state.s3SecretAccessKey : undefined;
|
|
93
94
|
resourceInputs["token"] = state ? state.token : undefined;
|
|
95
|
+
resourceInputs["uploadPeriodMinutes"] = state ? state.uploadPeriodMinutes : undefined;
|
|
94
96
|
resourceInputs["url"] = state ? state.url : undefined;
|
|
95
97
|
resourceInputs["user"] = state ? state.user : undefined;
|
|
96
98
|
}
|
|
@@ -102,6 +104,7 @@ class LogstreamConfiguration extends pulumi.CustomResource {
|
|
|
102
104
|
if ((!args || args.logType === undefined) && !opts.urn) {
|
|
103
105
|
throw new Error("Missing required property 'logType'");
|
|
104
106
|
}
|
|
107
|
+
resourceInputs["compressionFormat"] = args ? args.compressionFormat : undefined;
|
|
105
108
|
resourceInputs["destinationType"] = args ? args.destinationType : undefined;
|
|
106
109
|
resourceInputs["logType"] = args ? args.logType : undefined;
|
|
107
110
|
resourceInputs["s3AccessKeyId"] = args ? args.s3AccessKeyId : undefined;
|
|
@@ -113,6 +116,7 @@ class LogstreamConfiguration extends pulumi.CustomResource {
|
|
|
113
116
|
resourceInputs["s3RoleArn"] = args ? args.s3RoleArn : undefined;
|
|
114
117
|
resourceInputs["s3SecretAccessKey"] = (args === null || args === void 0 ? void 0 : args.s3SecretAccessKey) ? pulumi.secret(args.s3SecretAccessKey) : undefined;
|
|
115
118
|
resourceInputs["token"] = (args === null || args === void 0 ? void 0 : args.token) ? pulumi.secret(args.token) : undefined;
|
|
119
|
+
resourceInputs["uploadPeriodMinutes"] = args ? args.uploadPeriodMinutes : undefined;
|
|
116
120
|
resourceInputs["url"] = args ? args.url : undefined;
|
|
117
121
|
resourceInputs["user"] = args ? args.user : undefined;
|
|
118
122
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"logstreamConfiguration.js","sourceRoot":"","sources":["../logstreamConfiguration.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8CG;AACH,MAAa,sBAAuB,SAAQ,MAAM,CAAC,cAAc;IAC7D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAmC,EAAE,IAAmC;QACjI,OAAO,IAA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,SAAS,CAAC;YACpD,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,MAAM,UAAU,GAAG,EAAE,uBAAuB,EAAE,CAAC,mBAAmB,EAAE,OAAO,CAAC,EAAE,CAAC;QAC/E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,sBAAsB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC3E,CAAC;;AAjJL,wDAkJC;AApIG,gBAAgB;AACO,mCAAY,GAAG,+DAA+D,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumi/tailscale",
|
|
3
|
-
"version": "1.0.0-alpha.
|
|
3
|
+
"version": "1.0.0-alpha.1744255572",
|
|
4
4
|
"description": "A Pulumi package for creating and managing Tailscale cloud resources.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pulumi",
|
|
@@ -23,6 +23,6 @@
|
|
|
23
23
|
"pulumi": {
|
|
24
24
|
"resource": true,
|
|
25
25
|
"name": "tailscale",
|
|
26
|
-
"version": "1.0.0-alpha.
|
|
26
|
+
"version": "1.0.0-alpha.1744255572"
|
|
27
27
|
}
|
|
28
28
|
}
|