@pulumi/oci 4.5.0 → 4.5.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/oci/gdpGdpPipeline.d.ts +371 -0
- package/oci/gdpGdpPipeline.js +160 -0
- package/oci/gdpGdpPipeline.js.map +1 -0
- package/oci/getGdpGdpPipeline.d.ts +169 -0
- package/oci/getGdpGdpPipeline.js +58 -0
- package/oci/getGdpGdpPipeline.js.map +1 -0
- package/oci/getGdpGdpPipelines.d.ts +100 -0
- package/oci/getGdpGdpPipelines.js +66 -0
- package/oci/getGdpGdpPipelines.js.map +1 -0
- package/oci/index.d.ts +9 -0
- package/oci/index.js +17 -6
- package/oci/index.js.map +1 -1
- package/package.json +2 -2
- package/types/input.d.ts +34 -0
- package/types/output.d.ts +169 -0
|
@@ -0,0 +1,371 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../types/input";
|
|
3
|
+
import * as outputs from "../types/output";
|
|
4
|
+
/**
|
|
5
|
+
* This resource provides the Gdp Pipeline resource in Oracle Cloud Infrastructure Gdp service.
|
|
6
|
+
* Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/
|
|
7
|
+
*
|
|
8
|
+
* Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/gdp
|
|
9
|
+
*
|
|
10
|
+
* Creates a new pipeline.
|
|
11
|
+
*
|
|
12
|
+
* ## Example Usage
|
|
13
|
+
*
|
|
14
|
+
* ```typescript
|
|
15
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
16
|
+
* import * as oci from "@pulumi/oci";
|
|
17
|
+
*
|
|
18
|
+
* const testGdpPipeline = new oci.oci.GdpGdpPipeline("test_gdp_pipeline", {
|
|
19
|
+
* bucketDetails: [{
|
|
20
|
+
* bucketType: gdpPipelineBucketDetailsBucketType,
|
|
21
|
+
* id: gdpPipelineBucketDetailsId,
|
|
22
|
+
* name: gdpPipelineBucketDetailsName,
|
|
23
|
+
* namespace: gdpPipelineBucketDetailsNamespace,
|
|
24
|
+
* }],
|
|
25
|
+
* compartmentId: compartmentId,
|
|
26
|
+
* displayName: gdpPipelineDisplayName,
|
|
27
|
+
* peeringRegion: gdpPipelinePeeringRegion,
|
|
28
|
+
* pipelineType: gdpPipelinePipelineType,
|
|
29
|
+
* approvalKeyVaultId: testVault.id,
|
|
30
|
+
* authorizationDetails: gdpPipelineAuthorizationDetails,
|
|
31
|
+
* definedTags: {
|
|
32
|
+
* "foo-namespace.bar-key": "value",
|
|
33
|
+
* },
|
|
34
|
+
* description: gdpPipelineDescription,
|
|
35
|
+
* env: gdpEnv,
|
|
36
|
+
* fileTypes: gdpPipelineFileTypes,
|
|
37
|
+
* freeformTags: {
|
|
38
|
+
* "bar-key": "value",
|
|
39
|
+
* },
|
|
40
|
+
* isApprovalNeeded: gdpPipelineIsApprovalNeeded,
|
|
41
|
+
* isChunkingEnabled: gdpPipelineIsChunkingEnabled,
|
|
42
|
+
* isFileOverrideInDestinationEnabled: gdpPipelineIsFileOverrideInDestinationEnabled,
|
|
43
|
+
* isScanningEnabled: gdpPipelineIsScanningEnabled,
|
|
44
|
+
* serviceLogGroupId: testLogGroup.id,
|
|
45
|
+
* });
|
|
46
|
+
* ```
|
|
47
|
+
*
|
|
48
|
+
* ## Import
|
|
49
|
+
*
|
|
50
|
+
* GdpPipelines can be imported using the `id`, e.g.
|
|
51
|
+
*
|
|
52
|
+
* ```sh
|
|
53
|
+
* $ pulumi import oci:oci/gdpGdpPipeline:GdpGdpPipeline test_gdp_pipeline "id"
|
|
54
|
+
* ```
|
|
55
|
+
*/
|
|
56
|
+
export declare class GdpGdpPipeline extends pulumi.CustomResource {
|
|
57
|
+
/**
|
|
58
|
+
* Get an existing GdpGdpPipeline resource's state with the given name, ID, and optional extra
|
|
59
|
+
* properties used to qualify the lookup.
|
|
60
|
+
*
|
|
61
|
+
* @param name The _unique_ name of the resulting resource.
|
|
62
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
63
|
+
* @param state Any extra arguments used during the lookup.
|
|
64
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
65
|
+
*/
|
|
66
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: GdpGdpPipelineState, opts?: pulumi.CustomResourceOptions): GdpGdpPipeline;
|
|
67
|
+
/**
|
|
68
|
+
* Returns true if the given object is an instance of GdpGdpPipeline. This is designed to work even
|
|
69
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
70
|
+
*/
|
|
71
|
+
static isInstance(obj: any): obj is GdpGdpPipeline;
|
|
72
|
+
/**
|
|
73
|
+
* (Updatable) The KMS vault OCID used for cryptographic approvals of transfers.
|
|
74
|
+
*/
|
|
75
|
+
readonly approvalKeyVaultId: pulumi.Output<string>;
|
|
76
|
+
/**
|
|
77
|
+
* (Updatable) Authorization information about the pipeline being configured.
|
|
78
|
+
*/
|
|
79
|
+
readonly authorizationDetails: pulumi.Output<string>;
|
|
80
|
+
/**
|
|
81
|
+
* Configuration information about the buckets used for this pipeline.
|
|
82
|
+
*/
|
|
83
|
+
readonly bucketDetails: pulumi.Output<outputs.oci.GdpGdpPipelineBucketDetail[]>;
|
|
84
|
+
/**
|
|
85
|
+
* (Updatable) The OCID of the compartment.
|
|
86
|
+
*/
|
|
87
|
+
readonly compartmentId: pulumi.Output<string>;
|
|
88
|
+
/**
|
|
89
|
+
* (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`
|
|
90
|
+
*/
|
|
91
|
+
readonly definedTags: pulumi.Output<{
|
|
92
|
+
[key: string]: string;
|
|
93
|
+
}>;
|
|
94
|
+
/**
|
|
95
|
+
* (Updatable) Short field input by customer for a description of the data pipeline use-case.
|
|
96
|
+
*/
|
|
97
|
+
readonly description: pulumi.Output<string>;
|
|
98
|
+
/**
|
|
99
|
+
* (Updatable) Pipeline short name.
|
|
100
|
+
*/
|
|
101
|
+
readonly displayName: pulumi.Output<string>;
|
|
102
|
+
/**
|
|
103
|
+
* The environment where the pipeline resides. Valid values are COMMERCIAL or USGOV. Defaults to COMMERCIAL.
|
|
104
|
+
*/
|
|
105
|
+
readonly env: pulumi.Output<string | undefined>;
|
|
106
|
+
/**
|
|
107
|
+
* (Updatable) List of file types allowed to be transferred in the pipeline according to the authorization details (e.g. .pdf, .xml, .doc).
|
|
108
|
+
*/
|
|
109
|
+
readonly fileTypes: pulumi.Output<string[]>;
|
|
110
|
+
/**
|
|
111
|
+
* (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
|
|
112
|
+
*/
|
|
113
|
+
readonly freeformTags: pulumi.Output<{
|
|
114
|
+
[key: string]: string;
|
|
115
|
+
}>;
|
|
116
|
+
/**
|
|
117
|
+
* (Updatable) Determines whether file transfers need to go through an approval workflow.
|
|
118
|
+
*/
|
|
119
|
+
readonly isApprovalNeeded: pulumi.Output<boolean>;
|
|
120
|
+
/**
|
|
121
|
+
* (Updatable) Determines whether file must be chunked during the transfer. This is only a property of SENDER pipelines.
|
|
122
|
+
*/
|
|
123
|
+
readonly isChunkingEnabled: pulumi.Output<boolean>;
|
|
124
|
+
/**
|
|
125
|
+
* (Updatable) Enable file override feature in destination bucket. If 2 files with same name exist in destination bucket, original file will be overwritten.
|
|
126
|
+
*/
|
|
127
|
+
readonly isFileOverrideInDestinationEnabled: pulumi.Output<boolean>;
|
|
128
|
+
/**
|
|
129
|
+
* (Updatable) Determines whether GDP Scanning should be enabled for the pipeline.
|
|
130
|
+
*/
|
|
131
|
+
readonly isScanningEnabled: pulumi.Output<boolean>;
|
|
132
|
+
/**
|
|
133
|
+
* Additional details about the current state of the pipeline.
|
|
134
|
+
*/
|
|
135
|
+
readonly lifecycleDetails: pulumi.Output<string>;
|
|
136
|
+
/**
|
|
137
|
+
* OCID of the peered pipeline. This null for SENDER pipeline.
|
|
138
|
+
*/
|
|
139
|
+
readonly peeredGdpPipelineId: pulumi.Output<string>;
|
|
140
|
+
/**
|
|
141
|
+
* Public region name where the peered pipeline exists.
|
|
142
|
+
*/
|
|
143
|
+
readonly peeringRegion: pulumi.Output<string>;
|
|
144
|
+
/**
|
|
145
|
+
* Type of pipeline. Can be SENDER or RECEIVER.
|
|
146
|
+
*/
|
|
147
|
+
readonly pipelineType: pulumi.Output<string>;
|
|
148
|
+
/**
|
|
149
|
+
* (Updatable) the OCID of the service log group.
|
|
150
|
+
*
|
|
151
|
+
* ** IMPORTANT **
|
|
152
|
+
* Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
|
153
|
+
*/
|
|
154
|
+
readonly serviceLogGroupId: pulumi.Output<string>;
|
|
155
|
+
/**
|
|
156
|
+
* The current state of the pipeline.
|
|
157
|
+
*/
|
|
158
|
+
readonly state: pulumi.Output<string>;
|
|
159
|
+
/**
|
|
160
|
+
* System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}`
|
|
161
|
+
*/
|
|
162
|
+
readonly systemTags: pulumi.Output<{
|
|
163
|
+
[key: string]: string;
|
|
164
|
+
}>;
|
|
165
|
+
/**
|
|
166
|
+
* The time the the pipeline was created. An RFC3339 formatted datetime string.
|
|
167
|
+
*/
|
|
168
|
+
readonly timeCreated: pulumi.Output<string>;
|
|
169
|
+
/**
|
|
170
|
+
* The time the pipeline was updated. An RFC3339 formatted datetime string.
|
|
171
|
+
*/
|
|
172
|
+
readonly timeUpdated: pulumi.Output<string>;
|
|
173
|
+
/**
|
|
174
|
+
* Create a GdpGdpPipeline resource with the given unique name, arguments, and options.
|
|
175
|
+
*
|
|
176
|
+
* @param name The _unique_ name of the resource.
|
|
177
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
178
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
179
|
+
*/
|
|
180
|
+
constructor(name: string, args: GdpGdpPipelineArgs, opts?: pulumi.CustomResourceOptions);
|
|
181
|
+
}
|
|
182
|
+
/**
|
|
183
|
+
* Input properties used for looking up and filtering GdpGdpPipeline resources.
|
|
184
|
+
*/
|
|
185
|
+
export interface GdpGdpPipelineState {
|
|
186
|
+
/**
|
|
187
|
+
* (Updatable) The KMS vault OCID used for cryptographic approvals of transfers.
|
|
188
|
+
*/
|
|
189
|
+
approvalKeyVaultId?: pulumi.Input<string>;
|
|
190
|
+
/**
|
|
191
|
+
* (Updatable) Authorization information about the pipeline being configured.
|
|
192
|
+
*/
|
|
193
|
+
authorizationDetails?: pulumi.Input<string>;
|
|
194
|
+
/**
|
|
195
|
+
* Configuration information about the buckets used for this pipeline.
|
|
196
|
+
*/
|
|
197
|
+
bucketDetails?: pulumi.Input<pulumi.Input<inputs.oci.GdpGdpPipelineBucketDetail>[]>;
|
|
198
|
+
/**
|
|
199
|
+
* (Updatable) The OCID of the compartment.
|
|
200
|
+
*/
|
|
201
|
+
compartmentId?: pulumi.Input<string>;
|
|
202
|
+
/**
|
|
203
|
+
* (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`
|
|
204
|
+
*/
|
|
205
|
+
definedTags?: pulumi.Input<{
|
|
206
|
+
[key: string]: pulumi.Input<string>;
|
|
207
|
+
}>;
|
|
208
|
+
/**
|
|
209
|
+
* (Updatable) Short field input by customer for a description of the data pipeline use-case.
|
|
210
|
+
*/
|
|
211
|
+
description?: pulumi.Input<string>;
|
|
212
|
+
/**
|
|
213
|
+
* (Updatable) Pipeline short name.
|
|
214
|
+
*/
|
|
215
|
+
displayName?: pulumi.Input<string>;
|
|
216
|
+
/**
|
|
217
|
+
* The environment where the pipeline resides. Valid values are COMMERCIAL or USGOV. Defaults to COMMERCIAL.
|
|
218
|
+
*/
|
|
219
|
+
env?: pulumi.Input<string>;
|
|
220
|
+
/**
|
|
221
|
+
* (Updatable) List of file types allowed to be transferred in the pipeline according to the authorization details (e.g. .pdf, .xml, .doc).
|
|
222
|
+
*/
|
|
223
|
+
fileTypes?: pulumi.Input<pulumi.Input<string>[]>;
|
|
224
|
+
/**
|
|
225
|
+
* (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
|
|
226
|
+
*/
|
|
227
|
+
freeformTags?: pulumi.Input<{
|
|
228
|
+
[key: string]: pulumi.Input<string>;
|
|
229
|
+
}>;
|
|
230
|
+
/**
|
|
231
|
+
* (Updatable) Determines whether file transfers need to go through an approval workflow.
|
|
232
|
+
*/
|
|
233
|
+
isApprovalNeeded?: pulumi.Input<boolean>;
|
|
234
|
+
/**
|
|
235
|
+
* (Updatable) Determines whether file must be chunked during the transfer. This is only a property of SENDER pipelines.
|
|
236
|
+
*/
|
|
237
|
+
isChunkingEnabled?: pulumi.Input<boolean>;
|
|
238
|
+
/**
|
|
239
|
+
* (Updatable) Enable file override feature in destination bucket. If 2 files with same name exist in destination bucket, original file will be overwritten.
|
|
240
|
+
*/
|
|
241
|
+
isFileOverrideInDestinationEnabled?: pulumi.Input<boolean>;
|
|
242
|
+
/**
|
|
243
|
+
* (Updatable) Determines whether GDP Scanning should be enabled for the pipeline.
|
|
244
|
+
*/
|
|
245
|
+
isScanningEnabled?: pulumi.Input<boolean>;
|
|
246
|
+
/**
|
|
247
|
+
* Additional details about the current state of the pipeline.
|
|
248
|
+
*/
|
|
249
|
+
lifecycleDetails?: pulumi.Input<string>;
|
|
250
|
+
/**
|
|
251
|
+
* OCID of the peered pipeline. This null for SENDER pipeline.
|
|
252
|
+
*/
|
|
253
|
+
peeredGdpPipelineId?: pulumi.Input<string>;
|
|
254
|
+
/**
|
|
255
|
+
* Public region name where the peered pipeline exists.
|
|
256
|
+
*/
|
|
257
|
+
peeringRegion?: pulumi.Input<string>;
|
|
258
|
+
/**
|
|
259
|
+
* Type of pipeline. Can be SENDER or RECEIVER.
|
|
260
|
+
*/
|
|
261
|
+
pipelineType?: pulumi.Input<string>;
|
|
262
|
+
/**
|
|
263
|
+
* (Updatable) the OCID of the service log group.
|
|
264
|
+
*
|
|
265
|
+
* ** IMPORTANT **
|
|
266
|
+
* Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
|
267
|
+
*/
|
|
268
|
+
serviceLogGroupId?: pulumi.Input<string>;
|
|
269
|
+
/**
|
|
270
|
+
* The current state of the pipeline.
|
|
271
|
+
*/
|
|
272
|
+
state?: pulumi.Input<string>;
|
|
273
|
+
/**
|
|
274
|
+
* System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}`
|
|
275
|
+
*/
|
|
276
|
+
systemTags?: pulumi.Input<{
|
|
277
|
+
[key: string]: pulumi.Input<string>;
|
|
278
|
+
}>;
|
|
279
|
+
/**
|
|
280
|
+
* The time the the pipeline was created. An RFC3339 formatted datetime string.
|
|
281
|
+
*/
|
|
282
|
+
timeCreated?: pulumi.Input<string>;
|
|
283
|
+
/**
|
|
284
|
+
* The time the pipeline was updated. An RFC3339 formatted datetime string.
|
|
285
|
+
*/
|
|
286
|
+
timeUpdated?: pulumi.Input<string>;
|
|
287
|
+
}
|
|
288
|
+
/**
|
|
289
|
+
* The set of arguments for constructing a GdpGdpPipeline resource.
|
|
290
|
+
*/
|
|
291
|
+
export interface GdpGdpPipelineArgs {
|
|
292
|
+
/**
|
|
293
|
+
* (Updatable) The KMS vault OCID used for cryptographic approvals of transfers.
|
|
294
|
+
*/
|
|
295
|
+
approvalKeyVaultId?: pulumi.Input<string>;
|
|
296
|
+
/**
|
|
297
|
+
* (Updatable) Authorization information about the pipeline being configured.
|
|
298
|
+
*/
|
|
299
|
+
authorizationDetails?: pulumi.Input<string>;
|
|
300
|
+
/**
|
|
301
|
+
* Configuration information about the buckets used for this pipeline.
|
|
302
|
+
*/
|
|
303
|
+
bucketDetails: pulumi.Input<pulumi.Input<inputs.oci.GdpGdpPipelineBucketDetail>[]>;
|
|
304
|
+
/**
|
|
305
|
+
* (Updatable) The OCID of the compartment.
|
|
306
|
+
*/
|
|
307
|
+
compartmentId: pulumi.Input<string>;
|
|
308
|
+
/**
|
|
309
|
+
* (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`
|
|
310
|
+
*/
|
|
311
|
+
definedTags?: pulumi.Input<{
|
|
312
|
+
[key: string]: pulumi.Input<string>;
|
|
313
|
+
}>;
|
|
314
|
+
/**
|
|
315
|
+
* (Updatable) Short field input by customer for a description of the data pipeline use-case.
|
|
316
|
+
*/
|
|
317
|
+
description?: pulumi.Input<string>;
|
|
318
|
+
/**
|
|
319
|
+
* (Updatable) Pipeline short name.
|
|
320
|
+
*/
|
|
321
|
+
displayName: pulumi.Input<string>;
|
|
322
|
+
/**
|
|
323
|
+
* The environment where the pipeline resides. Valid values are COMMERCIAL or USGOV. Defaults to COMMERCIAL.
|
|
324
|
+
*/
|
|
325
|
+
env?: pulumi.Input<string>;
|
|
326
|
+
/**
|
|
327
|
+
* (Updatable) List of file types allowed to be transferred in the pipeline according to the authorization details (e.g. .pdf, .xml, .doc).
|
|
328
|
+
*/
|
|
329
|
+
fileTypes?: pulumi.Input<pulumi.Input<string>[]>;
|
|
330
|
+
/**
|
|
331
|
+
* (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
|
|
332
|
+
*/
|
|
333
|
+
freeformTags?: pulumi.Input<{
|
|
334
|
+
[key: string]: pulumi.Input<string>;
|
|
335
|
+
}>;
|
|
336
|
+
/**
|
|
337
|
+
* (Updatable) Determines whether file transfers need to go through an approval workflow.
|
|
338
|
+
*/
|
|
339
|
+
isApprovalNeeded?: pulumi.Input<boolean>;
|
|
340
|
+
/**
|
|
341
|
+
* (Updatable) Determines whether file must be chunked during the transfer. This is only a property of SENDER pipelines.
|
|
342
|
+
*/
|
|
343
|
+
isChunkingEnabled?: pulumi.Input<boolean>;
|
|
344
|
+
/**
|
|
345
|
+
* (Updatable) Enable file override feature in destination bucket. If 2 files with same name exist in destination bucket, original file will be overwritten.
|
|
346
|
+
*/
|
|
347
|
+
isFileOverrideInDestinationEnabled?: pulumi.Input<boolean>;
|
|
348
|
+
/**
|
|
349
|
+
* (Updatable) Determines whether GDP Scanning should be enabled for the pipeline.
|
|
350
|
+
*/
|
|
351
|
+
isScanningEnabled?: pulumi.Input<boolean>;
|
|
352
|
+
/**
|
|
353
|
+
* Public region name where the peered pipeline exists.
|
|
354
|
+
*/
|
|
355
|
+
peeringRegion: pulumi.Input<string>;
|
|
356
|
+
/**
|
|
357
|
+
* Type of pipeline. Can be SENDER or RECEIVER.
|
|
358
|
+
*/
|
|
359
|
+
pipelineType: pulumi.Input<string>;
|
|
360
|
+
/**
|
|
361
|
+
* (Updatable) the OCID of the service log group.
|
|
362
|
+
*
|
|
363
|
+
* ** IMPORTANT **
|
|
364
|
+
* Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
|
365
|
+
*/
|
|
366
|
+
serviceLogGroupId?: pulumi.Input<string>;
|
|
367
|
+
/**
|
|
368
|
+
* The current state of the pipeline.
|
|
369
|
+
*/
|
|
370
|
+
state?: pulumi.Input<string>;
|
|
371
|
+
}
|
|
@@ -0,0 +1,160 @@
|
|
|
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.GdpGdpPipeline = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* This resource provides the Gdp Pipeline resource in Oracle Cloud Infrastructure Gdp service.
|
|
10
|
+
* Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/
|
|
11
|
+
*
|
|
12
|
+
* Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/gdp
|
|
13
|
+
*
|
|
14
|
+
* Creates a new pipeline.
|
|
15
|
+
*
|
|
16
|
+
* ## Example Usage
|
|
17
|
+
*
|
|
18
|
+
* ```typescript
|
|
19
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
20
|
+
* import * as oci from "@pulumi/oci";
|
|
21
|
+
*
|
|
22
|
+
* const testGdpPipeline = new oci.oci.GdpGdpPipeline("test_gdp_pipeline", {
|
|
23
|
+
* bucketDetails: [{
|
|
24
|
+
* bucketType: gdpPipelineBucketDetailsBucketType,
|
|
25
|
+
* id: gdpPipelineBucketDetailsId,
|
|
26
|
+
* name: gdpPipelineBucketDetailsName,
|
|
27
|
+
* namespace: gdpPipelineBucketDetailsNamespace,
|
|
28
|
+
* }],
|
|
29
|
+
* compartmentId: compartmentId,
|
|
30
|
+
* displayName: gdpPipelineDisplayName,
|
|
31
|
+
* peeringRegion: gdpPipelinePeeringRegion,
|
|
32
|
+
* pipelineType: gdpPipelinePipelineType,
|
|
33
|
+
* approvalKeyVaultId: testVault.id,
|
|
34
|
+
* authorizationDetails: gdpPipelineAuthorizationDetails,
|
|
35
|
+
* definedTags: {
|
|
36
|
+
* "foo-namespace.bar-key": "value",
|
|
37
|
+
* },
|
|
38
|
+
* description: gdpPipelineDescription,
|
|
39
|
+
* env: gdpEnv,
|
|
40
|
+
* fileTypes: gdpPipelineFileTypes,
|
|
41
|
+
* freeformTags: {
|
|
42
|
+
* "bar-key": "value",
|
|
43
|
+
* },
|
|
44
|
+
* isApprovalNeeded: gdpPipelineIsApprovalNeeded,
|
|
45
|
+
* isChunkingEnabled: gdpPipelineIsChunkingEnabled,
|
|
46
|
+
* isFileOverrideInDestinationEnabled: gdpPipelineIsFileOverrideInDestinationEnabled,
|
|
47
|
+
* isScanningEnabled: gdpPipelineIsScanningEnabled,
|
|
48
|
+
* serviceLogGroupId: testLogGroup.id,
|
|
49
|
+
* });
|
|
50
|
+
* ```
|
|
51
|
+
*
|
|
52
|
+
* ## Import
|
|
53
|
+
*
|
|
54
|
+
* GdpPipelines can be imported using the `id`, e.g.
|
|
55
|
+
*
|
|
56
|
+
* ```sh
|
|
57
|
+
* $ pulumi import oci:oci/gdpGdpPipeline:GdpGdpPipeline test_gdp_pipeline "id"
|
|
58
|
+
* ```
|
|
59
|
+
*/
|
|
60
|
+
class GdpGdpPipeline extends pulumi.CustomResource {
|
|
61
|
+
/**
|
|
62
|
+
* Get an existing GdpGdpPipeline resource's state with the given name, ID, and optional extra
|
|
63
|
+
* properties used to qualify the lookup.
|
|
64
|
+
*
|
|
65
|
+
* @param name The _unique_ name of the resulting resource.
|
|
66
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
67
|
+
* @param state Any extra arguments used during the lookup.
|
|
68
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
69
|
+
*/
|
|
70
|
+
static get(name, id, state, opts) {
|
|
71
|
+
return new GdpGdpPipeline(name, state, { ...opts, id: id });
|
|
72
|
+
}
|
|
73
|
+
/**
|
|
74
|
+
* Returns true if the given object is an instance of GdpGdpPipeline. This is designed to work even
|
|
75
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
76
|
+
*/
|
|
77
|
+
static isInstance(obj) {
|
|
78
|
+
if (obj === undefined || obj === null) {
|
|
79
|
+
return false;
|
|
80
|
+
}
|
|
81
|
+
return obj['__pulumiType'] === GdpGdpPipeline.__pulumiType;
|
|
82
|
+
}
|
|
83
|
+
constructor(name, argsOrState, opts) {
|
|
84
|
+
let resourceInputs = {};
|
|
85
|
+
opts = opts || {};
|
|
86
|
+
if (opts.id) {
|
|
87
|
+
const state = argsOrState;
|
|
88
|
+
resourceInputs["approvalKeyVaultId"] = state?.approvalKeyVaultId;
|
|
89
|
+
resourceInputs["authorizationDetails"] = state?.authorizationDetails;
|
|
90
|
+
resourceInputs["bucketDetails"] = state?.bucketDetails;
|
|
91
|
+
resourceInputs["compartmentId"] = state?.compartmentId;
|
|
92
|
+
resourceInputs["definedTags"] = state?.definedTags;
|
|
93
|
+
resourceInputs["description"] = state?.description;
|
|
94
|
+
resourceInputs["displayName"] = state?.displayName;
|
|
95
|
+
resourceInputs["env"] = state?.env;
|
|
96
|
+
resourceInputs["fileTypes"] = state?.fileTypes;
|
|
97
|
+
resourceInputs["freeformTags"] = state?.freeformTags;
|
|
98
|
+
resourceInputs["isApprovalNeeded"] = state?.isApprovalNeeded;
|
|
99
|
+
resourceInputs["isChunkingEnabled"] = state?.isChunkingEnabled;
|
|
100
|
+
resourceInputs["isFileOverrideInDestinationEnabled"] = state?.isFileOverrideInDestinationEnabled;
|
|
101
|
+
resourceInputs["isScanningEnabled"] = state?.isScanningEnabled;
|
|
102
|
+
resourceInputs["lifecycleDetails"] = state?.lifecycleDetails;
|
|
103
|
+
resourceInputs["peeredGdpPipelineId"] = state?.peeredGdpPipelineId;
|
|
104
|
+
resourceInputs["peeringRegion"] = state?.peeringRegion;
|
|
105
|
+
resourceInputs["pipelineType"] = state?.pipelineType;
|
|
106
|
+
resourceInputs["serviceLogGroupId"] = state?.serviceLogGroupId;
|
|
107
|
+
resourceInputs["state"] = state?.state;
|
|
108
|
+
resourceInputs["systemTags"] = state?.systemTags;
|
|
109
|
+
resourceInputs["timeCreated"] = state?.timeCreated;
|
|
110
|
+
resourceInputs["timeUpdated"] = state?.timeUpdated;
|
|
111
|
+
}
|
|
112
|
+
else {
|
|
113
|
+
const args = argsOrState;
|
|
114
|
+
if (args?.bucketDetails === undefined && !opts.urn) {
|
|
115
|
+
throw new Error("Missing required property 'bucketDetails'");
|
|
116
|
+
}
|
|
117
|
+
if (args?.compartmentId === undefined && !opts.urn) {
|
|
118
|
+
throw new Error("Missing required property 'compartmentId'");
|
|
119
|
+
}
|
|
120
|
+
if (args?.displayName === undefined && !opts.urn) {
|
|
121
|
+
throw new Error("Missing required property 'displayName'");
|
|
122
|
+
}
|
|
123
|
+
if (args?.peeringRegion === undefined && !opts.urn) {
|
|
124
|
+
throw new Error("Missing required property 'peeringRegion'");
|
|
125
|
+
}
|
|
126
|
+
if (args?.pipelineType === undefined && !opts.urn) {
|
|
127
|
+
throw new Error("Missing required property 'pipelineType'");
|
|
128
|
+
}
|
|
129
|
+
resourceInputs["approvalKeyVaultId"] = args?.approvalKeyVaultId;
|
|
130
|
+
resourceInputs["authorizationDetails"] = args?.authorizationDetails;
|
|
131
|
+
resourceInputs["bucketDetails"] = args?.bucketDetails;
|
|
132
|
+
resourceInputs["compartmentId"] = args?.compartmentId;
|
|
133
|
+
resourceInputs["definedTags"] = args?.definedTags;
|
|
134
|
+
resourceInputs["description"] = args?.description;
|
|
135
|
+
resourceInputs["displayName"] = args?.displayName;
|
|
136
|
+
resourceInputs["env"] = args?.env;
|
|
137
|
+
resourceInputs["fileTypes"] = args?.fileTypes;
|
|
138
|
+
resourceInputs["freeformTags"] = args?.freeformTags;
|
|
139
|
+
resourceInputs["isApprovalNeeded"] = args?.isApprovalNeeded;
|
|
140
|
+
resourceInputs["isChunkingEnabled"] = args?.isChunkingEnabled;
|
|
141
|
+
resourceInputs["isFileOverrideInDestinationEnabled"] = args?.isFileOverrideInDestinationEnabled;
|
|
142
|
+
resourceInputs["isScanningEnabled"] = args?.isScanningEnabled;
|
|
143
|
+
resourceInputs["peeringRegion"] = args?.peeringRegion;
|
|
144
|
+
resourceInputs["pipelineType"] = args?.pipelineType;
|
|
145
|
+
resourceInputs["serviceLogGroupId"] = args?.serviceLogGroupId;
|
|
146
|
+
resourceInputs["state"] = args?.state;
|
|
147
|
+
resourceInputs["lifecycleDetails"] = undefined /*out*/;
|
|
148
|
+
resourceInputs["peeredGdpPipelineId"] = undefined /*out*/;
|
|
149
|
+
resourceInputs["systemTags"] = undefined /*out*/;
|
|
150
|
+
resourceInputs["timeCreated"] = undefined /*out*/;
|
|
151
|
+
resourceInputs["timeUpdated"] = undefined /*out*/;
|
|
152
|
+
}
|
|
153
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
154
|
+
super(GdpGdpPipeline.__pulumiType, name, resourceInputs, opts);
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
exports.GdpGdpPipeline = GdpGdpPipeline;
|
|
158
|
+
/** @internal */
|
|
159
|
+
GdpGdpPipeline.__pulumiType = 'oci:oci/gdpGdpPipeline:GdpGdpPipeline';
|
|
160
|
+
//# sourceMappingURL=gdpGdpPipeline.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"gdpGdpPipeline.js","sourceRoot":"","sources":["../../oci/gdpGdpPipeline.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmDG;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,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACrE,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,cAAc,CAAC,YAAY,CAAC;IAC/D,CAAC;IA0GD,YAAY,IAAY,EAAE,WAAsD,EAAE,IAAmC;QACjH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA8C,CAAC;YAC7D,cAAc,CAAC,oBAAoB,CAAC,GAAG,KAAK,EAAE,kBAAkB,CAAC;YACjE,cAAc,CAAC,sBAAsB,CAAC,GAAG,KAAK,EAAE,oBAAoB,CAAC;YACrE,cAAc,CAA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