@pulumi/gcp 6.4.0 → 6.6.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.
Files changed (107) hide show
  1. package/apigee/environmentIamBinding.d.ts +166 -0
  2. package/apigee/environmentIamBinding.js +155 -0
  3. package/apigee/environmentIamBinding.js.map +1 -0
  4. package/apigee/environmentIamMember.d.ts +166 -0
  5. package/apigee/environmentIamMember.js +155 -0
  6. package/apigee/environmentIamMember.js.map +1 -0
  7. package/apigee/environmentIamPolicy.d.ts +156 -0
  8. package/apigee/environmentIamPolicy.js +148 -0
  9. package/apigee/environmentIamPolicy.js.map +1 -0
  10. package/apigee/index.d.ts +3 -0
  11. package/apigee/index.js +15 -0
  12. package/apigee/index.js.map +1 -1
  13. package/bigquery/dataTransferConfig.d.ts +3 -3
  14. package/bigquery/routine.d.ts +24 -3
  15. package/bigquery/routine.js +2 -0
  16. package/bigquery/routine.js.map +1 -1
  17. package/certificateauthority/authority.d.ts +2 -1
  18. package/certificateauthority/authority.js +2 -1
  19. package/certificateauthority/authority.js.map +1 -1
  20. package/certificateauthority/certificate.d.ts +2 -0
  21. package/certificateauthority/certificate.js +2 -0
  22. package/certificateauthority/certificate.js.map +1 -1
  23. package/certificateauthority/certificateTemplate.d.ts +3 -0
  24. package/certificateauthority/certificateTemplate.js +3 -0
  25. package/certificateauthority/certificateTemplate.js.map +1 -1
  26. package/cloudbuild/trigger.d.ts +7 -0
  27. package/cloudbuild/trigger.js +7 -0
  28. package/cloudbuild/trigger.js.map +1 -1
  29. package/cloudbuild/workerPool.d.ts +60 -0
  30. package/cloudbuild/workerPool.js +60 -0
  31. package/cloudbuild/workerPool.js.map +1 -1
  32. package/cloudfunctions/function.d.ts +12 -0
  33. package/cloudfunctions/function.js +2 -0
  34. package/cloudfunctions/function.js.map +1 -1
  35. package/cloudfunctions/getFunction.d.ts +1 -0
  36. package/cloudfunctions/getFunction.js.map +1 -1
  37. package/compute/forwardingRule.d.ts +199 -10
  38. package/compute/forwardingRule.js +190 -4
  39. package/compute/forwardingRule.js.map +1 -1
  40. package/compute/networkPeering.d.ts +5 -5
  41. package/compute/networkPeering.js +5 -5
  42. package/compute/packetMirroring.d.ts +1 -1
  43. package/compute/packetMirroring.js +1 -1
  44. package/compute/regionBackendService.d.ts +6 -6
  45. package/compute/subnetwork.d.ts +9 -15
  46. package/compute/subnetwork.js.map +1 -1
  47. package/config/vars.d.ts +3 -0
  48. package/config/vars.js +18 -0
  49. package/config/vars.js.map +1 -1
  50. package/container/awsCluster.d.ts +326 -0
  51. package/container/awsCluster.js +198 -0
  52. package/container/awsCluster.js.map +1 -0
  53. package/container/awsNodePool.d.ts +355 -0
  54. package/container/awsNodePool.js +242 -0
  55. package/container/awsNodePool.js.map +1 -0
  56. package/container/azureClient.d.ts +156 -0
  57. package/container/azureClient.js +110 -0
  58. package/container/azureClient.js.map +1 -0
  59. package/container/azureCluster.d.ts +322 -0
  60. package/container/azureCluster.js +180 -0
  61. package/container/azureCluster.js.map +1 -0
  62. package/container/azureNodePool.d.ts +323 -0
  63. package/container/azureNodePool.js +200 -0
  64. package/container/azureNodePool.js.map +1 -0
  65. package/container/getAwsVersions.d.ts +66 -0
  66. package/container/getAwsVersions.js +42 -0
  67. package/container/getAwsVersions.js.map +1 -0
  68. package/container/getAzureVersions.d.ts +66 -0
  69. package/container/getAzureVersions.js +42 -0
  70. package/container/getAzureVersions.js.map +1 -0
  71. package/container/index.d.ts +7 -0
  72. package/container/index.js +27 -0
  73. package/container/index.js.map +1 -1
  74. package/filestore/instance.d.ts +33 -13
  75. package/filestore/instance.js +7 -12
  76. package/filestore/instance.js.map +1 -1
  77. package/notebooks/index.d.ts +3 -0
  78. package/notebooks/index.js +15 -0
  79. package/notebooks/index.js.map +1 -1
  80. package/notebooks/runtimeIamBinding.d.ts +193 -0
  81. package/notebooks/runtimeIamBinding.js +157 -0
  82. package/notebooks/runtimeIamBinding.js.map +1 -0
  83. package/notebooks/runtimeIamMember.d.ts +193 -0
  84. package/notebooks/runtimeIamMember.js +157 -0
  85. package/notebooks/runtimeIamMember.js.map +1 -0
  86. package/notebooks/runtimeIamPolicy.d.ts +183 -0
  87. package/notebooks/runtimeIamPolicy.js +150 -0
  88. package/notebooks/runtimeIamPolicy.js.map +1 -0
  89. package/osconfig/index.d.ts +1 -0
  90. package/osconfig/index.js +5 -0
  91. package/osconfig/index.js.map +1 -1
  92. package/osconfig/osPolicyAssignment.d.ts +672 -0
  93. package/osconfig/osPolicyAssignment.js +568 -0
  94. package/osconfig/osPolicyAssignment.js.map +1 -0
  95. package/package.json +2 -2
  96. package/package.json.dev +1 -1
  97. package/provider.d.ts +6 -0
  98. package/provider.js +3 -0
  99. package/provider.js.map +1 -1
  100. package/storage/bucket.d.ts +12 -0
  101. package/storage/bucket.js +2 -0
  102. package/storage/bucket.js.map +1 -1
  103. package/storage/getBucket.d.ts +1 -0
  104. package/storage/getBucket.js.map +1 -1
  105. package/types/input.d.ts +7380 -6218
  106. package/types/output.d.ts +6360 -5196
  107. package/vertex/aiMetadataStore.d.ts +3 -3
@@ -0,0 +1,568 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
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.OsPolicyAssignment = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Represents an OSPolicyAssignment resource.
10
+ *
11
+ * ## Example Usage
12
+ * ### Fixed_os_policy_assignment
13
+ * An example of an osconfig os policy assignment with fixed rollout disruption budget
14
+ * ```typescript
15
+ * import * as pulumi from "@pulumi/pulumi";
16
+ * import * as gcp from "@pulumi/gcp";
17
+ *
18
+ * const primary = new gcp.osconfig.OsPolicyAssignment("primary", {
19
+ * description: "A test os policy assignment",
20
+ * instanceFilter: {
21
+ * all: false,
22
+ * exclusionLabels: [{
23
+ * labels: {
24
+ * "label-two": "value-two",
25
+ * },
26
+ * }],
27
+ * inclusionLabels: [{
28
+ * labels: {
29
+ * "label-one": "value-one",
30
+ * },
31
+ * }],
32
+ * inventories: [{
33
+ * osShortName: "centos",
34
+ * osVersion: "8.*",
35
+ * }],
36
+ * },
37
+ * location: "us-west1-a",
38
+ * osPolicies: [{
39
+ * allowNoResourceGroupMatch: false,
40
+ * description: "A test os policy",
41
+ * id: "policy",
42
+ * mode: "VALIDATION",
43
+ * resourceGroups: [
44
+ * {
45
+ * inventoryFilters: [{
46
+ * osShortName: "centos",
47
+ * osVersion: "8.*",
48
+ * }],
49
+ * resources: [
50
+ * {
51
+ * id: "apt",
52
+ * pkg: {
53
+ * apt: {
54
+ * name: "bazel",
55
+ * },
56
+ * desiredState: "INSTALLED",
57
+ * },
58
+ * },
59
+ * {
60
+ * id: "deb1",
61
+ * pkg: {
62
+ * deb: {
63
+ * source: {
64
+ * localPath: "$HOME/package.deb",
65
+ * },
66
+ * },
67
+ * desiredState: "INSTALLED",
68
+ * },
69
+ * },
70
+ * {
71
+ * id: "deb2",
72
+ * pkg: {
73
+ * deb: {
74
+ * pullDeps: true,
75
+ * source: {
76
+ * allowInsecure: true,
77
+ * remote: {
78
+ * sha256Checksum: "3bbfd1043cd7afdb78cf9afec36c0c5370d2fea98166537b4e67f3816f256025",
79
+ * uri: "ftp.us.debian.org/debian/package.deb",
80
+ * },
81
+ * },
82
+ * },
83
+ * desiredState: "INSTALLED",
84
+ * },
85
+ * },
86
+ * {
87
+ * id: "deb3",
88
+ * pkg: {
89
+ * deb: {
90
+ * pullDeps: true,
91
+ * source: {
92
+ * gcs: {
93
+ * bucket: "test-bucket",
94
+ * generation: 1,
95
+ * object: "test-object",
96
+ * },
97
+ * },
98
+ * },
99
+ * desiredState: "INSTALLED",
100
+ * },
101
+ * },
102
+ * {
103
+ * id: "yum",
104
+ * pkg: {
105
+ * desiredState: "INSTALLED",
106
+ * yum: {
107
+ * name: "gstreamer-plugins-base-devel.x86_64",
108
+ * },
109
+ * },
110
+ * },
111
+ * {
112
+ * id: "zypper",
113
+ * pkg: {
114
+ * desiredState: "INSTALLED",
115
+ * zypper: {
116
+ * name: "gcc",
117
+ * },
118
+ * },
119
+ * },
120
+ * {
121
+ * id: "rpm1",
122
+ * pkg: {
123
+ * desiredState: "INSTALLED",
124
+ * rpm: {
125
+ * pullDeps: true,
126
+ * source: {
127
+ * localPath: "$HOME/package.rpm",
128
+ * },
129
+ * },
130
+ * },
131
+ * },
132
+ * {
133
+ * id: "rpm2",
134
+ * pkg: {
135
+ * desiredState: "INSTALLED",
136
+ * rpm: {
137
+ * source: {
138
+ * allowInsecure: true,
139
+ * remote: {
140
+ * sha256Checksum: "3bbfd1043cd7afdb78cf9afec36c0c5370d2fea98166537b4e67f3816f256025",
141
+ * uri: "https://mirror.jaleco.com/centos/8.3.2011/BaseOS/x86_64/os/Packages/efi-filesystem-3-2.el8.noarch.rpm",
142
+ * },
143
+ * },
144
+ * },
145
+ * },
146
+ * },
147
+ * {
148
+ * id: "rpm3",
149
+ * pkg: {
150
+ * desiredState: "INSTALLED",
151
+ * rpm: {
152
+ * source: {
153
+ * gcs: {
154
+ * bucket: "test-bucket",
155
+ * generation: 1,
156
+ * object: "test-object",
157
+ * },
158
+ * },
159
+ * },
160
+ * },
161
+ * },
162
+ * ],
163
+ * },
164
+ * {
165
+ * resources: [
166
+ * {
167
+ * id: "apt-to-deb",
168
+ * pkg: {
169
+ * apt: {
170
+ * name: "bazel",
171
+ * },
172
+ * desiredState: "INSTALLED",
173
+ * },
174
+ * },
175
+ * {
176
+ * id: "deb-local-path-to-gcs",
177
+ * pkg: {
178
+ * deb: {
179
+ * source: {
180
+ * localPath: "$HOME/package.deb",
181
+ * },
182
+ * },
183
+ * desiredState: "INSTALLED",
184
+ * },
185
+ * },
186
+ * {
187
+ * id: "googet",
188
+ * pkg: {
189
+ * desiredState: "INSTALLED",
190
+ * googet: {
191
+ * name: "gcc",
192
+ * },
193
+ * },
194
+ * },
195
+ * {
196
+ * id: "msi1",
197
+ * pkg: {
198
+ * desiredState: "INSTALLED",
199
+ * msi: {
200
+ * properties: ["REBOOT=ReallySuppress"],
201
+ * source: {
202
+ * localPath: "$HOME/package.msi",
203
+ * },
204
+ * },
205
+ * },
206
+ * },
207
+ * {
208
+ * id: "msi2",
209
+ * pkg: {
210
+ * desiredState: "INSTALLED",
211
+ * msi: {
212
+ * source: {
213
+ * allowInsecure: true,
214
+ * remote: {
215
+ * sha256Checksum: "3bbfd1043cd7afdb78cf9afec36c0c5370d2fea98166537b4e67f3816f256025",
216
+ * uri: "https://remote.uri.com/package.msi",
217
+ * },
218
+ * },
219
+ * },
220
+ * },
221
+ * },
222
+ * {
223
+ * id: "msi3",
224
+ * pkg: {
225
+ * desiredState: "INSTALLED",
226
+ * msi: {
227
+ * source: {
228
+ * gcs: {
229
+ * bucket: "test-bucket",
230
+ * generation: 1,
231
+ * object: "test-object",
232
+ * },
233
+ * },
234
+ * },
235
+ * },
236
+ * },
237
+ * ],
238
+ * },
239
+ * ],
240
+ * }],
241
+ * project: "my-project-name",
242
+ * rollout: {
243
+ * disruptionBudget: {
244
+ * fixed: 1,
245
+ * },
246
+ * minWaitDuration: "3.5s",
247
+ * },
248
+ * });
249
+ * ```
250
+ * ### Percent_os_policy_assignment
251
+ * An example of an osconfig os policy assignment with percent rollout disruption budget
252
+ * ```typescript
253
+ * import * as pulumi from "@pulumi/pulumi";
254
+ * import * as gcp from "@pulumi/gcp";
255
+ *
256
+ * const primary = new gcp.osconfig.OsPolicyAssignment("primary", {
257
+ * description: "A test os policy assignment",
258
+ * instanceFilter: {
259
+ * all: true,
260
+ * },
261
+ * location: "us-west1-a",
262
+ * osPolicies: [{
263
+ * id: "policy",
264
+ * mode: "VALIDATION",
265
+ * resourceGroups: [
266
+ * {
267
+ * resources: [
268
+ * {
269
+ * id: "apt-to-yum",
270
+ * repository: {
271
+ * apt: {
272
+ * archiveType: "DEB",
273
+ * components: ["doc"],
274
+ * distribution: "debian",
275
+ * gpgKey: ".gnupg/pubring.kbx",
276
+ * uri: "https://atl.mirrors.clouvider.net/debian",
277
+ * },
278
+ * },
279
+ * },
280
+ * {
281
+ * id: "yum",
282
+ * repository: {
283
+ * yum: {
284
+ * baseUrl: "http://centos.s.uw.edu/centos/",
285
+ * displayName: "yum",
286
+ * gpgKeys: ["RPM-GPG-KEY-CentOS-7"],
287
+ * id: "yum",
288
+ * },
289
+ * },
290
+ * },
291
+ * {
292
+ * id: "zypper",
293
+ * repository: {
294
+ * zypper: {
295
+ * baseUrl: "http://mirror.dal10.us.leaseweb.net/opensuse",
296
+ * displayName: "zypper",
297
+ * gpgKeys: ["sample-key-uri"],
298
+ * id: "zypper",
299
+ * },
300
+ * },
301
+ * },
302
+ * {
303
+ * id: "goo",
304
+ * repository: {
305
+ * goo: {
306
+ * name: "goo",
307
+ * url: "https://foo.com/googet/bar",
308
+ * },
309
+ * },
310
+ * },
311
+ * {
312
+ * exec: {
313
+ * enforce: {
314
+ * args: ["arg1"],
315
+ * file: {
316
+ * allowInsecure: true,
317
+ * remote: {
318
+ * sha256Checksum: "c7938fed83afdccbb0e86a2a2e4cad7d5035012ca3214b4a61268393635c3063",
319
+ * uri: "https://www.example.com/script.sh",
320
+ * },
321
+ * },
322
+ * interpreter: "SHELL",
323
+ * outputFilePath: "$HOME/out",
324
+ * },
325
+ * validate: {
326
+ * args: ["arg1"],
327
+ * file: {
328
+ * localPath: "$HOME/script.sh",
329
+ * },
330
+ * interpreter: "SHELL",
331
+ * outputFilePath: "$HOME/out",
332
+ * },
333
+ * },
334
+ * id: "exec1",
335
+ * },
336
+ * {
337
+ * exec: {
338
+ * enforce: {
339
+ * args: ["arg1"],
340
+ * file: {
341
+ * localPath: "$HOME/script.sh",
342
+ * },
343
+ * interpreter: "SHELL",
344
+ * outputFilePath: "$HOME/out",
345
+ * },
346
+ * validate: {
347
+ * args: ["arg1"],
348
+ * file: {
349
+ * allowInsecure: true,
350
+ * remote: {
351
+ * sha256Checksum: "c7938fed83afdccbb0e86a2a2e4cad7d5035012ca3214b4a61268393635c3063",
352
+ * uri: "https://www.example.com/script.sh",
353
+ * },
354
+ * },
355
+ * interpreter: "SHELL",
356
+ * outputFilePath: "$HOME/out",
357
+ * },
358
+ * },
359
+ * id: "exec2",
360
+ * },
361
+ * {
362
+ * exec: {
363
+ * enforce: {
364
+ * interpreter: "SHELL",
365
+ * outputFilePath: "$HOME/out",
366
+ * script: "pwd",
367
+ * },
368
+ * validate: {
369
+ * file: {
370
+ * allowInsecure: true,
371
+ * gcs: {
372
+ * bucket: "test-bucket",
373
+ * generation: 1,
374
+ * object: "test-object",
375
+ * },
376
+ * },
377
+ * interpreter: "SHELL",
378
+ * outputFilePath: "$HOME/out",
379
+ * },
380
+ * },
381
+ * id: "exec3",
382
+ * },
383
+ * {
384
+ * exec: {
385
+ * enforce: {
386
+ * file: {
387
+ * allowInsecure: true,
388
+ * gcs: {
389
+ * bucket: "test-bucket",
390
+ * generation: 1,
391
+ * object: "test-object",
392
+ * },
393
+ * },
394
+ * interpreter: "SHELL",
395
+ * outputFilePath: "$HOME/out",
396
+ * },
397
+ * validate: {
398
+ * interpreter: "SHELL",
399
+ * outputFilePath: "$HOME/out",
400
+ * script: "pwd",
401
+ * },
402
+ * },
403
+ * id: "exec4",
404
+ * },
405
+ * {
406
+ * file: {
407
+ * file: {
408
+ * localPath: "$HOME/file",
409
+ * },
410
+ * path: "$HOME/file",
411
+ * state: "PRESENT",
412
+ * },
413
+ * id: "file1",
414
+ * },
415
+ * ],
416
+ * },
417
+ * {
418
+ * resources: [
419
+ * {
420
+ * file: {
421
+ * file: {
422
+ * allowInsecure: true,
423
+ * remote: {
424
+ * sha256Checksum: "c7938fed83afdccbb0e86a2a2e4cad7d5035012ca3214b4a61268393635c3063",
425
+ * uri: "https://www.example.com/file",
426
+ * },
427
+ * },
428
+ * path: "$HOME/file",
429
+ * state: "PRESENT",
430
+ * },
431
+ * id: "file2",
432
+ * },
433
+ * {
434
+ * file: {
435
+ * file: {
436
+ * gcs: {
437
+ * bucket: "test-bucket",
438
+ * generation: 1,
439
+ * object: "test-object",
440
+ * },
441
+ * },
442
+ * path: "$HOME/file",
443
+ * state: "PRESENT",
444
+ * },
445
+ * id: "file3",
446
+ * },
447
+ * {
448
+ * file: {
449
+ * content: "sample-content",
450
+ * path: "$HOME/file",
451
+ * state: "PRESENT",
452
+ * },
453
+ * id: "file4",
454
+ * },
455
+ * ],
456
+ * },
457
+ * ],
458
+ * }],
459
+ * project: "my-project-name",
460
+ * rollout: {
461
+ * disruptionBudget: {
462
+ * percent: 1,
463
+ * },
464
+ * minWaitDuration: "3.5s",
465
+ * },
466
+ * });
467
+ * ```
468
+ *
469
+ * ## Import
470
+ *
471
+ * OSPolicyAssignment can be imported using any of these accepted formats
472
+ *
473
+ * ```sh
474
+ * $ pulumi import gcp:osconfig/osPolicyAssignment:OsPolicyAssignment default projects/{{project}}/locations/{{location}}/osPolicyAssignments/{{name}}
475
+ * ```
476
+ *
477
+ * ```sh
478
+ * $ pulumi import gcp:osconfig/osPolicyAssignment:OsPolicyAssignment default {{project}}/{{location}}/{{name}}
479
+ * ```
480
+ *
481
+ * ```sh
482
+ * $ pulumi import gcp:osconfig/osPolicyAssignment:OsPolicyAssignment default {{location}}/{{name}}
483
+ * ```
484
+ */
485
+ class OsPolicyAssignment extends pulumi.CustomResource {
486
+ constructor(name, argsOrState, opts) {
487
+ let inputs = {};
488
+ opts = opts || {};
489
+ if (opts.id) {
490
+ const state = argsOrState;
491
+ inputs["baseline"] = state ? state.baseline : undefined;
492
+ inputs["deleted"] = state ? state.deleted : undefined;
493
+ inputs["description"] = state ? state.description : undefined;
494
+ inputs["etag"] = state ? state.etag : undefined;
495
+ inputs["instanceFilter"] = state ? state.instanceFilter : undefined;
496
+ inputs["location"] = state ? state.location : undefined;
497
+ inputs["name"] = state ? state.name : undefined;
498
+ inputs["osPolicies"] = state ? state.osPolicies : undefined;
499
+ inputs["project"] = state ? state.project : undefined;
500
+ inputs["reconciling"] = state ? state.reconciling : undefined;
501
+ inputs["revisionCreateTime"] = state ? state.revisionCreateTime : undefined;
502
+ inputs["revisionId"] = state ? state.revisionId : undefined;
503
+ inputs["rollout"] = state ? state.rollout : undefined;
504
+ inputs["rolloutState"] = state ? state.rolloutState : undefined;
505
+ inputs["uid"] = state ? state.uid : undefined;
506
+ }
507
+ else {
508
+ const args = argsOrState;
509
+ if ((!args || args.instanceFilter === undefined) && !opts.urn) {
510
+ throw new Error("Missing required property 'instanceFilter'");
511
+ }
512
+ if ((!args || args.location === undefined) && !opts.urn) {
513
+ throw new Error("Missing required property 'location'");
514
+ }
515
+ if ((!args || args.osPolicies === undefined) && !opts.urn) {
516
+ throw new Error("Missing required property 'osPolicies'");
517
+ }
518
+ if ((!args || args.rollout === undefined) && !opts.urn) {
519
+ throw new Error("Missing required property 'rollout'");
520
+ }
521
+ inputs["description"] = args ? args.description : undefined;
522
+ inputs["instanceFilter"] = args ? args.instanceFilter : undefined;
523
+ inputs["location"] = args ? args.location : undefined;
524
+ inputs["name"] = args ? args.name : undefined;
525
+ inputs["osPolicies"] = args ? args.osPolicies : undefined;
526
+ inputs["project"] = args ? args.project : undefined;
527
+ inputs["rollout"] = args ? args.rollout : undefined;
528
+ inputs["baseline"] = undefined /*out*/;
529
+ inputs["deleted"] = undefined /*out*/;
530
+ inputs["etag"] = undefined /*out*/;
531
+ inputs["reconciling"] = undefined /*out*/;
532
+ inputs["revisionCreateTime"] = undefined /*out*/;
533
+ inputs["revisionId"] = undefined /*out*/;
534
+ inputs["rolloutState"] = undefined /*out*/;
535
+ inputs["uid"] = undefined /*out*/;
536
+ }
537
+ if (!opts.version) {
538
+ opts = pulumi.mergeOptions(opts, { version: utilities.getVersion() });
539
+ }
540
+ super(OsPolicyAssignment.__pulumiType, name, inputs, opts);
541
+ }
542
+ /**
543
+ * Get an existing OsPolicyAssignment resource's state with the given name, ID, and optional extra
544
+ * properties used to qualify the lookup.
545
+ *
546
+ * @param name The _unique_ name of the resulting resource.
547
+ * @param id The _unique_ provider ID of the resource to lookup.
548
+ * @param state Any extra arguments used during the lookup.
549
+ * @param opts Optional settings to control the behavior of the CustomResource.
550
+ */
551
+ static get(name, id, state, opts) {
552
+ return new OsPolicyAssignment(name, state, Object.assign(Object.assign({}, opts), { id: id }));
553
+ }
554
+ /**
555
+ * Returns true if the given object is an instance of OsPolicyAssignment. This is designed to work even
556
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
557
+ */
558
+ static isInstance(obj) {
559
+ if (obj === undefined || obj === null) {
560
+ return false;
561
+ }
562
+ return obj['__pulumiType'] === OsPolicyAssignment.__pulumiType;
563
+ }
564
+ }
565
+ exports.OsPolicyAssignment = OsPolicyAssignment;
566
+ /** @internal */
567
+ OsPolicyAssignment.__pulumiType = 'gcp:osconfig/osPolicyAssignment:OsPolicyAssignment';
568
+ //# sourceMappingURL=osPolicyAssignment.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"osPolicyAssignment.js","sourceRoot":"","sources":["../../osconfig/osPolicyAssignment.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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,MAAM,CAAC,oBAAoB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACjD,MAAM,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACzC,MAAM,CAAC,cAAc,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3C,MAAM,CAAC,KAAK,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACrC;QACD,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;YACf,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,EAAE,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE,EAAC,CAAC,CAAC;SACxE;QACD,KAAK,CAAC,kBAAkB,CAAC,YAAY,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,CAAC,CAAC;IAC/D,CAAC;IA3JD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA+B,EAAE,IAAmC;QAC7H,OAAO,IAAI,kBAAkB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACzE,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,kBAAkB,CAAC,YAAY,CAAC;IACnE,CAAC;;AA1BL,gDA6JC;AA/IG,gBAAgB;AACO,+BAAY,GAAG,oDAAoD,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pulumi/gcp",
3
- "version": "v6.4.0",
3
+ "version": "v6.6.0",
4
4
  "description": "A Pulumi package for creating and managing Google Cloud Platform resources.",
5
5
  "keywords": [
6
6
  "pulumi",
@@ -11,7 +11,7 @@
11
11
  "license": "Apache-2.0",
12
12
  "scripts": {
13
13
  "build": "tsc",
14
- "install": "node scripts/install-pulumi-plugin.js resource gcp v6.4.0"
14
+ "install": "node scripts/install-pulumi-plugin.js resource gcp v6.6.0"
15
15
  },
16
16
  "dependencies": {
17
17
  "@pulumi/pulumi": "^3.0.0",
package/package.json.dev CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pulumi/gcp",
3
- "version": "v6.4.0",
3
+ "version": "v6.6.0",
4
4
  "description": "A Pulumi package for creating and managing Google Cloud Platform resources.",
5
5
  "keywords": [
6
6
  "pulumi",
package/provider.d.ts CHANGED
@@ -43,6 +43,8 @@ export declare class Provider extends pulumi.ProviderResource {
43
43
  readonly composerCustomEndpoint: pulumi.Output<string | undefined>;
44
44
  readonly computeCustomEndpoint: pulumi.Output<string | undefined>;
45
45
  readonly containerAnalysisCustomEndpoint: pulumi.Output<string | undefined>;
46
+ readonly containerAwsCustomEndpoint: pulumi.Output<string | undefined>;
47
+ readonly containerAzureCustomEndpoint: pulumi.Output<string | undefined>;
46
48
  readonly containerCustomEndpoint: pulumi.Output<string | undefined>;
47
49
  readonly credentials: pulumi.Output<string | undefined>;
48
50
  readonly dataCatalogCustomEndpoint: pulumi.Output<string | undefined>;
@@ -87,6 +89,7 @@ export declare class Provider extends pulumi.ProviderResource {
87
89
  readonly project: pulumi.Output<string | undefined>;
88
90
  readonly pubsubCustomEndpoint: pulumi.Output<string | undefined>;
89
91
  readonly pubsubLiteCustomEndpoint: pulumi.Output<string | undefined>;
92
+ readonly recaptchaEnterpriseCustomEndpoint: pulumi.Output<string | undefined>;
90
93
  readonly redisCustomEndpoint: pulumi.Output<string | undefined>;
91
94
  readonly region: pulumi.Output<string | undefined>;
92
95
  readonly requestReason: pulumi.Output<string | undefined>;
@@ -158,6 +161,8 @@ export interface ProviderArgs {
158
161
  composerCustomEndpoint?: pulumi.Input<string>;
159
162
  computeCustomEndpoint?: pulumi.Input<string>;
160
163
  containerAnalysisCustomEndpoint?: pulumi.Input<string>;
164
+ containerAwsCustomEndpoint?: pulumi.Input<string>;
165
+ containerAzureCustomEndpoint?: pulumi.Input<string>;
161
166
  containerCustomEndpoint?: pulumi.Input<string>;
162
167
  credentials?: pulumi.Input<string>;
163
168
  dataCatalogCustomEndpoint?: pulumi.Input<string>;
@@ -204,6 +209,7 @@ export interface ProviderArgs {
204
209
  project?: pulumi.Input<string>;
205
210
  pubsubCustomEndpoint?: pulumi.Input<string>;
206
211
  pubsubLiteCustomEndpoint?: pulumi.Input<string>;
212
+ recaptchaEnterpriseCustomEndpoint?: pulumi.Input<string>;
207
213
  redisCustomEndpoint?: pulumi.Input<string>;
208
214
  region?: pulumi.Input<string>;
209
215
  requestReason?: pulumi.Input<string>;
package/provider.js CHANGED
@@ -56,6 +56,8 @@ class Provider extends pulumi.ProviderResource {
56
56
  inputs["composerCustomEndpoint"] = args ? args.composerCustomEndpoint : undefined;
57
57
  inputs["computeCustomEndpoint"] = args ? args.computeCustomEndpoint : undefined;
58
58
  inputs["containerAnalysisCustomEndpoint"] = args ? args.containerAnalysisCustomEndpoint : undefined;
59
+ inputs["containerAwsCustomEndpoint"] = args ? args.containerAwsCustomEndpoint : undefined;
60
+ inputs["containerAzureCustomEndpoint"] = args ? args.containerAzureCustomEndpoint : undefined;
59
61
  inputs["containerCustomEndpoint"] = args ? args.containerCustomEndpoint : undefined;
60
62
  inputs["credentials"] = args ? args.credentials : undefined;
61
63
  inputs["dataCatalogCustomEndpoint"] = args ? args.dataCatalogCustomEndpoint : undefined;
@@ -102,6 +104,7 @@ class Provider extends pulumi.ProviderResource {
102
104
  inputs["project"] = (_a = (args ? args.project : undefined)) !== null && _a !== void 0 ? _a : utilities.getEnv("GOOGLE_PROJECT", "GOOGLE_CLOUD_PROJECT", "GCLOUD_PROJECT", "CLOUDSDK_CORE_PROJECT");
103
105
  inputs["pubsubCustomEndpoint"] = args ? args.pubsubCustomEndpoint : undefined;
104
106
  inputs["pubsubLiteCustomEndpoint"] = args ? args.pubsubLiteCustomEndpoint : undefined;
107
+ inputs["recaptchaEnterpriseCustomEndpoint"] = args ? args.recaptchaEnterpriseCustomEndpoint : undefined;
105
108
  inputs["redisCustomEndpoint"] = args ? args.redisCustomEndpoint : undefined;
106
109
  inputs["region"] = (_b = (args ? args.region : undefined)) !== null && _b !== void 0 ? _b : utilities.getEnv("GOOGLE_REGION", "GCLOUD_REGION", "CLOUDSDK_COMPUTE_REGION");
107
110
  inputs["requestReason"] = args ? args.requestReason : undefined;