@pulumi/gcp 6.25.0 → 6.27.0-alpha.1654878845
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/bigquery/connection.d.ts +115 -10
- package/bigquery/connection.js +58 -1
- package/bigquery/connection.js.map +1 -1
- package/clouddeploy/deliveryPipeline.d.ts +1 -1
- package/clouddeploy/deliveryPipeline.js +1 -1
- package/clouddeploy/target.d.ts +1 -1
- package/clouddeploy/target.js +1 -1
- package/cloudfunctions/function.d.ts +12 -0
- package/cloudfunctions/function.js +2 -0
- package/cloudfunctions/function.js.map +1 -1
- package/cloudfunctions/getFunction.d.ts +1 -0
- package/cloudfunctions/getFunction.js.map +1 -1
- package/cloudfunctionsv2/function.d.ts +2 -2
- package/cloudfunctionsv2/function.js +2 -2
- package/compute/backendBucket.d.ts +36 -0
- package/compute/backendBucket.js +36 -0
- package/compute/backendBucket.js.map +1 -1
- package/config/vars.d.ts +1 -0
- package/config/vars.js +6 -0
- package/config/vars.js.map +1 -1
- package/container/cluster.d.ts +1 -1
- package/dataplex/index.d.ts +1 -0
- package/dataplex/index.js +37 -0
- package/dataplex/index.js.map +1 -0
- package/dataplex/lake.d.ts +224 -0
- package/dataplex/lake.js +115 -0
- package/dataplex/lake.js.map +1 -0
- package/eventarc/trigger.d.ts +4 -1
- package/eventarc/trigger.js +4 -1
- package/eventarc/trigger.js.map +1 -1
- package/index.d.ts +2 -1
- package/index.js +4 -2
- package/index.js.map +1 -1
- package/memcache/instance.d.ts +43 -2
- package/memcache/instance.js +16 -0
- package/memcache/instance.js.map +1 -1
- package/package.json +2 -2
- package/package.json.dev +2 -2
- package/provider.d.ts +2 -0
- package/provider.js +1 -0
- package/provider.js.map +1 -1
- package/sql/databaseInstance.d.ts +4 -4
- package/sql/databaseInstance.js +1 -1
- package/tags/getTagKey.d.ts +60 -0
- package/tags/getTagKey.js +38 -0
- package/tags/getTagKey.js.map +1 -0
- package/tags/getTagValue.d.ts +60 -0
- package/tags/getTagValue.js +38 -0
- package/tags/getTagValue.js.map +1 -0
- package/tags/index.d.ts +2 -0
- package/tags/index.js +2 -0
- package/tags/index.js.map +1 -1
- package/types/input.d.ts +179 -2
- package/types/output.d.ts +184 -2
package/bigquery/connection.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ import { input as inputs, output as outputs } from "../types";
|
|
|
5
5
|
*
|
|
6
6
|
* To get more information about Connection, see:
|
|
7
7
|
*
|
|
8
|
-
* * [API documentation](https://cloud.google.com/bigquery/docs/reference/bigqueryconnection/rest/
|
|
8
|
+
* * [API documentation](https://cloud.google.com/bigquery/docs/reference/bigqueryconnection/rest/v1/projects.locations.connections/create)
|
|
9
9
|
* * How-to Guides
|
|
10
10
|
* * [Cloud SQL federated queries](https://cloud.google.com/bigquery/docs/cloud-sql-federated-queries)
|
|
11
11
|
*
|
|
@@ -40,6 +40,7 @@ import { input as inputs, output as outputs } from "../types";
|
|
|
40
40
|
* const connection = new gcp.bigquery.Connection("connection", {
|
|
41
41
|
* friendlyName: "👋",
|
|
42
42
|
* description: "a riveting description",
|
|
43
|
+
* location: "US",
|
|
43
44
|
* cloudSql: {
|
|
44
45
|
* instanceId: instance.connectionName,
|
|
45
46
|
* database: db.name,
|
|
@@ -105,6 +106,56 @@ import { input as inputs, output as outputs } from "../types";
|
|
|
105
106
|
* location: "US",
|
|
106
107
|
* });
|
|
107
108
|
* ```
|
|
109
|
+
* ### Bigquery Connection Aws
|
|
110
|
+
*
|
|
111
|
+
* ```typescript
|
|
112
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
113
|
+
* import * as gcp from "@pulumi/gcp";
|
|
114
|
+
*
|
|
115
|
+
* const connection = new gcp.bigquery.Connection("connection", {
|
|
116
|
+
* aws: {
|
|
117
|
+
* accessRole: {
|
|
118
|
+
* iamRoleId: "arn:aws:iam::999999999999:role/omnirole",
|
|
119
|
+
* },
|
|
120
|
+
* },
|
|
121
|
+
* connectionId: "my-connection",
|
|
122
|
+
* description: "a riveting description",
|
|
123
|
+
* friendlyName: "👋",
|
|
124
|
+
* location: "aws-us-east-1",
|
|
125
|
+
* });
|
|
126
|
+
* ```
|
|
127
|
+
* ### Bigquery Connection Azure
|
|
128
|
+
*
|
|
129
|
+
* ```typescript
|
|
130
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
131
|
+
* import * as gcp from "@pulumi/gcp";
|
|
132
|
+
*
|
|
133
|
+
* const connection = new gcp.bigquery.Connection("connection", {
|
|
134
|
+
* azure: {
|
|
135
|
+
* customerTenantId: "customer-tenant-id",
|
|
136
|
+
* },
|
|
137
|
+
* connectionId: "my-connection",
|
|
138
|
+
* description: "a riveting description",
|
|
139
|
+
* friendlyName: "👋",
|
|
140
|
+
* location: "azure-eastus2",
|
|
141
|
+
* });
|
|
142
|
+
* ```
|
|
143
|
+
* ### Bigquery Connection Cloudspanner
|
|
144
|
+
*
|
|
145
|
+
* ```typescript
|
|
146
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
147
|
+
* import * as gcp from "@pulumi/gcp";
|
|
148
|
+
*
|
|
149
|
+
* const connection = new gcp.bigquery.Connection("connection", {
|
|
150
|
+
* cloudSpanner: {
|
|
151
|
+
* database: "projects/project/instances/instance/databases/database",
|
|
152
|
+
* },
|
|
153
|
+
* connectionId: "my-connection",
|
|
154
|
+
* description: "a riveting description",
|
|
155
|
+
* friendlyName: "👋",
|
|
156
|
+
* location: "US",
|
|
157
|
+
* });
|
|
158
|
+
* ```
|
|
108
159
|
*
|
|
109
160
|
* ## Import
|
|
110
161
|
*
|
|
@@ -139,12 +190,27 @@ export declare class Connection extends pulumi.CustomResource {
|
|
|
139
190
|
*/
|
|
140
191
|
static isInstance(obj: any): obj is Connection;
|
|
141
192
|
/**
|
|
142
|
-
*
|
|
193
|
+
* Connection properties specific to Amazon Web Services.
|
|
194
|
+
* Structure is documented below.
|
|
195
|
+
*/
|
|
196
|
+
readonly aws: pulumi.Output<outputs.bigquery.ConnectionAws | undefined>;
|
|
197
|
+
/**
|
|
198
|
+
* Container for connection properties specific to Azure.
|
|
199
|
+
* Structure is documented below.
|
|
200
|
+
*/
|
|
201
|
+
readonly azure: pulumi.Output<outputs.bigquery.ConnectionAzure | undefined>;
|
|
202
|
+
/**
|
|
203
|
+
* Container for connection properties for delegation of access to GCP resources.
|
|
143
204
|
* Structure is documented below.
|
|
144
205
|
*/
|
|
145
206
|
readonly cloudResource: pulumi.Output<outputs.bigquery.ConnectionCloudResource | undefined>;
|
|
146
207
|
/**
|
|
147
|
-
* Cloud
|
|
208
|
+
* Connection properties specific to Cloud Spanner
|
|
209
|
+
* Structure is documented below.
|
|
210
|
+
*/
|
|
211
|
+
readonly cloudSpanner: pulumi.Output<outputs.bigquery.ConnectionCloudSpanner | undefined>;
|
|
212
|
+
/**
|
|
213
|
+
* A nested object resource
|
|
148
214
|
* Structure is documented below.
|
|
149
215
|
*/
|
|
150
216
|
readonly cloudSql: pulumi.Output<outputs.bigquery.ConnectionCloudSql | undefined>;
|
|
@@ -168,7 +234,10 @@ export declare class Connection extends pulumi.CustomResource {
|
|
|
168
234
|
* The geographic location where the connection should reside.
|
|
169
235
|
* Cloud SQL instance must be in the same location as the connection
|
|
170
236
|
* with following exceptions: Cloud SQL us-central1 maps to BigQuery US, Cloud SQL europe-west1 maps to BigQuery EU.
|
|
171
|
-
* Examples: US, EU, asia-northeast1, us-central1, europe-west1.
|
|
237
|
+
* Examples: US, EU, asia-northeast1, us-central1, europe-west1.
|
|
238
|
+
* Spanner Connections same as spanner region
|
|
239
|
+
* AWS allowed regions are aws-us-east-1
|
|
240
|
+
* Azure allowed regions are azure-eastus2
|
|
172
241
|
*/
|
|
173
242
|
readonly location: pulumi.Output<string | undefined>;
|
|
174
243
|
/**
|
|
@@ -195,12 +264,27 @@ export declare class Connection extends pulumi.CustomResource {
|
|
|
195
264
|
*/
|
|
196
265
|
export interface ConnectionState {
|
|
197
266
|
/**
|
|
198
|
-
*
|
|
267
|
+
* Connection properties specific to Amazon Web Services.
|
|
268
|
+
* Structure is documented below.
|
|
269
|
+
*/
|
|
270
|
+
aws?: pulumi.Input<inputs.bigquery.ConnectionAws>;
|
|
271
|
+
/**
|
|
272
|
+
* Container for connection properties specific to Azure.
|
|
273
|
+
* Structure is documented below.
|
|
274
|
+
*/
|
|
275
|
+
azure?: pulumi.Input<inputs.bigquery.ConnectionAzure>;
|
|
276
|
+
/**
|
|
277
|
+
* Container for connection properties for delegation of access to GCP resources.
|
|
199
278
|
* Structure is documented below.
|
|
200
279
|
*/
|
|
201
280
|
cloudResource?: pulumi.Input<inputs.bigquery.ConnectionCloudResource>;
|
|
202
281
|
/**
|
|
203
|
-
* Cloud
|
|
282
|
+
* Connection properties specific to Cloud Spanner
|
|
283
|
+
* Structure is documented below.
|
|
284
|
+
*/
|
|
285
|
+
cloudSpanner?: pulumi.Input<inputs.bigquery.ConnectionCloudSpanner>;
|
|
286
|
+
/**
|
|
287
|
+
* A nested object resource
|
|
204
288
|
* Structure is documented below.
|
|
205
289
|
*/
|
|
206
290
|
cloudSql?: pulumi.Input<inputs.bigquery.ConnectionCloudSql>;
|
|
@@ -224,7 +308,10 @@ export interface ConnectionState {
|
|
|
224
308
|
* The geographic location where the connection should reside.
|
|
225
309
|
* Cloud SQL instance must be in the same location as the connection
|
|
226
310
|
* with following exceptions: Cloud SQL us-central1 maps to BigQuery US, Cloud SQL europe-west1 maps to BigQuery EU.
|
|
227
|
-
* Examples: US, EU, asia-northeast1, us-central1, europe-west1.
|
|
311
|
+
* Examples: US, EU, asia-northeast1, us-central1, europe-west1.
|
|
312
|
+
* Spanner Connections same as spanner region
|
|
313
|
+
* AWS allowed regions are aws-us-east-1
|
|
314
|
+
* Azure allowed regions are azure-eastus2
|
|
228
315
|
*/
|
|
229
316
|
location?: pulumi.Input<string>;
|
|
230
317
|
/**
|
|
@@ -243,12 +330,27 @@ export interface ConnectionState {
|
|
|
243
330
|
*/
|
|
244
331
|
export interface ConnectionArgs {
|
|
245
332
|
/**
|
|
246
|
-
*
|
|
333
|
+
* Connection properties specific to Amazon Web Services.
|
|
334
|
+
* Structure is documented below.
|
|
335
|
+
*/
|
|
336
|
+
aws?: pulumi.Input<inputs.bigquery.ConnectionAws>;
|
|
337
|
+
/**
|
|
338
|
+
* Container for connection properties specific to Azure.
|
|
339
|
+
* Structure is documented below.
|
|
340
|
+
*/
|
|
341
|
+
azure?: pulumi.Input<inputs.bigquery.ConnectionAzure>;
|
|
342
|
+
/**
|
|
343
|
+
* Container for connection properties for delegation of access to GCP resources.
|
|
247
344
|
* Structure is documented below.
|
|
248
345
|
*/
|
|
249
346
|
cloudResource?: pulumi.Input<inputs.bigquery.ConnectionCloudResource>;
|
|
250
347
|
/**
|
|
251
|
-
* Cloud
|
|
348
|
+
* Connection properties specific to Cloud Spanner
|
|
349
|
+
* Structure is documented below.
|
|
350
|
+
*/
|
|
351
|
+
cloudSpanner?: pulumi.Input<inputs.bigquery.ConnectionCloudSpanner>;
|
|
352
|
+
/**
|
|
353
|
+
* A nested object resource
|
|
252
354
|
* Structure is documented below.
|
|
253
355
|
*/
|
|
254
356
|
cloudSql?: pulumi.Input<inputs.bigquery.ConnectionCloudSql>;
|
|
@@ -268,7 +370,10 @@ export interface ConnectionArgs {
|
|
|
268
370
|
* The geographic location where the connection should reside.
|
|
269
371
|
* Cloud SQL instance must be in the same location as the connection
|
|
270
372
|
* with following exceptions: Cloud SQL us-central1 maps to BigQuery US, Cloud SQL europe-west1 maps to BigQuery EU.
|
|
271
|
-
* Examples: US, EU, asia-northeast1, us-central1, europe-west1.
|
|
373
|
+
* Examples: US, EU, asia-northeast1, us-central1, europe-west1.
|
|
374
|
+
* Spanner Connections same as spanner region
|
|
375
|
+
* AWS allowed regions are aws-us-east-1
|
|
376
|
+
* Azure allowed regions are azure-eastus2
|
|
272
377
|
*/
|
|
273
378
|
location?: pulumi.Input<string>;
|
|
274
379
|
/**
|
package/bigquery/connection.js
CHANGED
|
@@ -10,7 +10,7 @@ const utilities = require("../utilities");
|
|
|
10
10
|
*
|
|
11
11
|
* To get more information about Connection, see:
|
|
12
12
|
*
|
|
13
|
-
* * [API documentation](https://cloud.google.com/bigquery/docs/reference/bigqueryconnection/rest/
|
|
13
|
+
* * [API documentation](https://cloud.google.com/bigquery/docs/reference/bigqueryconnection/rest/v1/projects.locations.connections/create)
|
|
14
14
|
* * How-to Guides
|
|
15
15
|
* * [Cloud SQL federated queries](https://cloud.google.com/bigquery/docs/cloud-sql-federated-queries)
|
|
16
16
|
*
|
|
@@ -45,6 +45,7 @@ const utilities = require("../utilities");
|
|
|
45
45
|
* const connection = new gcp.bigquery.Connection("connection", {
|
|
46
46
|
* friendlyName: "👋",
|
|
47
47
|
* description: "a riveting description",
|
|
48
|
+
* location: "US",
|
|
48
49
|
* cloudSql: {
|
|
49
50
|
* instanceId: instance.connectionName,
|
|
50
51
|
* database: db.name,
|
|
@@ -110,6 +111,56 @@ const utilities = require("../utilities");
|
|
|
110
111
|
* location: "US",
|
|
111
112
|
* });
|
|
112
113
|
* ```
|
|
114
|
+
* ### Bigquery Connection Aws
|
|
115
|
+
*
|
|
116
|
+
* ```typescript
|
|
117
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
118
|
+
* import * as gcp from "@pulumi/gcp";
|
|
119
|
+
*
|
|
120
|
+
* const connection = new gcp.bigquery.Connection("connection", {
|
|
121
|
+
* aws: {
|
|
122
|
+
* accessRole: {
|
|
123
|
+
* iamRoleId: "arn:aws:iam::999999999999:role/omnirole",
|
|
124
|
+
* },
|
|
125
|
+
* },
|
|
126
|
+
* connectionId: "my-connection",
|
|
127
|
+
* description: "a riveting description",
|
|
128
|
+
* friendlyName: "👋",
|
|
129
|
+
* location: "aws-us-east-1",
|
|
130
|
+
* });
|
|
131
|
+
* ```
|
|
132
|
+
* ### Bigquery Connection Azure
|
|
133
|
+
*
|
|
134
|
+
* ```typescript
|
|
135
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
136
|
+
* import * as gcp from "@pulumi/gcp";
|
|
137
|
+
*
|
|
138
|
+
* const connection = new gcp.bigquery.Connection("connection", {
|
|
139
|
+
* azure: {
|
|
140
|
+
* customerTenantId: "customer-tenant-id",
|
|
141
|
+
* },
|
|
142
|
+
* connectionId: "my-connection",
|
|
143
|
+
* description: "a riveting description",
|
|
144
|
+
* friendlyName: "👋",
|
|
145
|
+
* location: "azure-eastus2",
|
|
146
|
+
* });
|
|
147
|
+
* ```
|
|
148
|
+
* ### Bigquery Connection Cloudspanner
|
|
149
|
+
*
|
|
150
|
+
* ```typescript
|
|
151
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
152
|
+
* import * as gcp from "@pulumi/gcp";
|
|
153
|
+
*
|
|
154
|
+
* const connection = new gcp.bigquery.Connection("connection", {
|
|
155
|
+
* cloudSpanner: {
|
|
156
|
+
* database: "projects/project/instances/instance/databases/database",
|
|
157
|
+
* },
|
|
158
|
+
* connectionId: "my-connection",
|
|
159
|
+
* description: "a riveting description",
|
|
160
|
+
* friendlyName: "👋",
|
|
161
|
+
* location: "US",
|
|
162
|
+
* });
|
|
163
|
+
* ```
|
|
113
164
|
*
|
|
114
165
|
* ## Import
|
|
115
166
|
*
|
|
@@ -133,7 +184,10 @@ class Connection extends pulumi.CustomResource {
|
|
|
133
184
|
opts = opts || {};
|
|
134
185
|
if (opts.id) {
|
|
135
186
|
const state = argsOrState;
|
|
187
|
+
resourceInputs["aws"] = state ? state.aws : undefined;
|
|
188
|
+
resourceInputs["azure"] = state ? state.azure : undefined;
|
|
136
189
|
resourceInputs["cloudResource"] = state ? state.cloudResource : undefined;
|
|
190
|
+
resourceInputs["cloudSpanner"] = state ? state.cloudSpanner : undefined;
|
|
137
191
|
resourceInputs["cloudSql"] = state ? state.cloudSql : undefined;
|
|
138
192
|
resourceInputs["connectionId"] = state ? state.connectionId : undefined;
|
|
139
193
|
resourceInputs["description"] = state ? state.description : undefined;
|
|
@@ -145,7 +199,10 @@ class Connection extends pulumi.CustomResource {
|
|
|
145
199
|
}
|
|
146
200
|
else {
|
|
147
201
|
const args = argsOrState;
|
|
202
|
+
resourceInputs["aws"] = args ? args.aws : undefined;
|
|
203
|
+
resourceInputs["azure"] = args ? args.azure : undefined;
|
|
148
204
|
resourceInputs["cloudResource"] = args ? args.cloudResource : undefined;
|
|
205
|
+
resourceInputs["cloudSpanner"] = args ? args.cloudSpanner : undefined;
|
|
149
206
|
resourceInputs["cloudSql"] = args ? args.cloudSql : undefined;
|
|
150
207
|
resourceInputs["connectionId"] = args ? args.connectionId : undefined;
|
|
151
208
|
resourceInputs["description"] = args ? args.description : undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"connection.js","sourceRoot":"","sources":["../../bigquery/connection.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"connection.js","sourceRoot":"","sources":["../../bigquery/connection.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4KG;AACH,MAAa,UAAW,SAAQ,MAAM,CAAC,cAAc;IAkGjD,YAAY,IAAY,EAAE,WAA8C,EAAE,IAAmC;QACzG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA0C,CAAC;YACzD,cAAc,CAAC,KAAK,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC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AM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,UAAU,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC/D,CAAC;IAnID;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAuB,EAAE,IAAmC;QACrH,OAAO,IAAI,UAAU,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACjE,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,UAAU,CAAC,YAAY,CAAC;IAC3D,CAAC;;AA1BL,gCAqIC;AAvHG,gBAAgB;AACO,uBAAY,GAAG,oCAAoC,CAAC"}
|
|
@@ -5,7 +5,7 @@ import { input as inputs, output as outputs } from "../types";
|
|
|
5
5
|
*
|
|
6
6
|
* ## Example Usage
|
|
7
7
|
* ### Delivery_pipeline
|
|
8
|
-
*
|
|
8
|
+
* Creates a basic Cloud Deploy delivery pipeline
|
|
9
9
|
* ```typescript
|
|
10
10
|
* import * as pulumi from "@pulumi/pulumi";
|
|
11
11
|
* import * as gcp from "@pulumi/gcp";
|
|
@@ -10,7 +10,7 @@ const utilities = require("../utilities");
|
|
|
10
10
|
*
|
|
11
11
|
* ## Example Usage
|
|
12
12
|
* ### Delivery_pipeline
|
|
13
|
-
*
|
|
13
|
+
* Creates a basic Cloud Deploy delivery pipeline
|
|
14
14
|
* ```typescript
|
|
15
15
|
* import * as pulumi from "@pulumi/pulumi";
|
|
16
16
|
* import * as gcp from "@pulumi/gcp";
|
package/clouddeploy/target.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ import { input as inputs, output as outputs } from "../types";
|
|
|
5
5
|
*
|
|
6
6
|
* ## Example Usage
|
|
7
7
|
* ### Target
|
|
8
|
-
*
|
|
8
|
+
* Creates a basic Cloud Deploy target
|
|
9
9
|
* ```typescript
|
|
10
10
|
* import * as pulumi from "@pulumi/pulumi";
|
|
11
11
|
* import * as gcp from "@pulumi/gcp";
|
package/clouddeploy/target.js
CHANGED
|
@@ -10,7 +10,7 @@ const utilities = require("../utilities");
|
|
|
10
10
|
*
|
|
11
11
|
* ## Example Usage
|
|
12
12
|
* ### Target
|
|
13
|
-
*
|
|
13
|
+
* Creates a basic Cloud Deploy target
|
|
14
14
|
* ```typescript
|
|
15
15
|
* import * as pulumi from "@pulumi/pulumi";
|
|
16
16
|
* import * as gcp from "@pulumi/gcp";
|
|
@@ -122,6 +122,10 @@ export declare class Function extends pulumi.CustomResource {
|
|
|
122
122
|
* Description of the function.
|
|
123
123
|
*/
|
|
124
124
|
readonly description: pulumi.Output<string | undefined>;
|
|
125
|
+
/**
|
|
126
|
+
* Docker Registry to use for storing the function's Docker images. Allowed values are CONTAINER_REGISTRY (default) and ARTIFACT_REGISTRY.
|
|
127
|
+
*/
|
|
128
|
+
readonly dockerRegistry: pulumi.Output<string>;
|
|
125
129
|
/**
|
|
126
130
|
* User managed repository created in Artifact Registry optionally with a customer managed encryption key. If specified, deployments will use Artifact Registry. This is the repository to which the function docker image will be pushed after it is built by Cloud Build. If unspecified, Container Registry will be used by default, unless specified otherwise by other means.
|
|
127
131
|
*/
|
|
@@ -256,6 +260,10 @@ export interface FunctionState {
|
|
|
256
260
|
* Description of the function.
|
|
257
261
|
*/
|
|
258
262
|
description?: pulumi.Input<string>;
|
|
263
|
+
/**
|
|
264
|
+
* Docker Registry to use for storing the function's Docker images. Allowed values are CONTAINER_REGISTRY (default) and ARTIFACT_REGISTRY.
|
|
265
|
+
*/
|
|
266
|
+
dockerRegistry?: pulumi.Input<string>;
|
|
259
267
|
/**
|
|
260
268
|
* User managed repository created in Artifact Registry optionally with a customer managed encryption key. If specified, deployments will use Artifact Registry. This is the repository to which the function docker image will be pushed after it is built by Cloud Build. If unspecified, Container Registry will be used by default, unless specified otherwise by other means.
|
|
261
269
|
*/
|
|
@@ -382,6 +390,10 @@ export interface FunctionArgs {
|
|
|
382
390
|
* Description of the function.
|
|
383
391
|
*/
|
|
384
392
|
description?: pulumi.Input<string>;
|
|
393
|
+
/**
|
|
394
|
+
* Docker Registry to use for storing the function's Docker images. Allowed values are CONTAINER_REGISTRY (default) and ARTIFACT_REGISTRY.
|
|
395
|
+
*/
|
|
396
|
+
dockerRegistry?: pulumi.Input<string>;
|
|
385
397
|
/**
|
|
386
398
|
* User managed repository created in Artifact Registry optionally with a customer managed encryption key. If specified, deployments will use Artifact Registry. This is the repository to which the function docker image will be pushed after it is built by Cloud Build. If unspecified, Container Registry will be used by default, unless specified otherwise by other means.
|
|
387
399
|
*/
|
|
@@ -106,6 +106,7 @@ class Function extends pulumi.CustomResource {
|
|
|
106
106
|
resourceInputs["availableMemoryMb"] = state ? state.availableMemoryMb : undefined;
|
|
107
107
|
resourceInputs["buildEnvironmentVariables"] = state ? state.buildEnvironmentVariables : undefined;
|
|
108
108
|
resourceInputs["description"] = state ? state.description : undefined;
|
|
109
|
+
resourceInputs["dockerRegistry"] = state ? state.dockerRegistry : undefined;
|
|
109
110
|
resourceInputs["dockerRepository"] = state ? state.dockerRepository : undefined;
|
|
110
111
|
resourceInputs["entryPoint"] = state ? state.entryPoint : undefined;
|
|
111
112
|
resourceInputs["environmentVariables"] = state ? state.environmentVariables : undefined;
|
|
@@ -140,6 +141,7 @@ class Function extends pulumi.CustomResource {
|
|
|
140
141
|
resourceInputs["availableMemoryMb"] = args ? args.availableMemoryMb : undefined;
|
|
141
142
|
resourceInputs["buildEnvironmentVariables"] = args ? args.buildEnvironmentVariables : undefined;
|
|
142
143
|
resourceInputs["description"] = args ? args.description : undefined;
|
|
144
|
+
resourceInputs["dockerRegistry"] = args ? args.dockerRegistry : undefined;
|
|
143
145
|
resourceInputs["dockerRepository"] = args ? args.dockerRepository : undefined;
|
|
144
146
|
resourceInputs["entryPoint"] = args ? args.entryPoint : undefined;
|
|
145
147
|
resourceInputs["environmentVariables"] = args ? args.environmentVariables : undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"function.js","sourceRoot":"","sources":["../../cloudfunctions/function.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2FG;AACH,MAAa,QAAS,SAAQ,MAAM,CAAC,cAAc;
|
|
1
|
+
{"version":3,"file":"function.js","sourceRoot":"","sources":["../../cloudfunctions/function.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2FG;AACH,MAAa,QAAS,SAAQ,MAAM,CAAC,cAAc;IA4J/C,YAAY,IAAY,EAAE,WAA0C,EAAE,IAAmC;QACrG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAwC,CAAC;YACvD,cAAc,CAAC,mBAAmB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,iBAAiB,CAAC,CAAC,CAAC,SAAS,CAAC;YAClF,cAAc,CAAC,2BAA2B,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,yBAAyB,CAAC,CAAC,CAAC,SAAS,CAAC;YAClG,cAAc,CAAC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CAAC,SAAS,CAAC;YACpE,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,4BAA4B,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,0BAA0B,CAAC,CAAC,CAAC,SAAS,CAAC;SACrG;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,QAAQ,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC7D,CAAC;IAlOD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAqB,EAAE,IAAmC;QACnH,OAAO,IAAI,QAAQ,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC/D,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,QAAQ,CAAC,YAAY,CAAC;IACzD,CAAC;;AA1BL,4BAoOC;AAtNG,gBAAgB;AACO,qBAAY,GAAG,sCAAsC,CAAC"}
|
|
@@ -51,6 +51,7 @@ export interface GetFunctionResult {
|
|
|
51
51
|
* Description of the function.
|
|
52
52
|
*/
|
|
53
53
|
readonly description: string;
|
|
54
|
+
readonly dockerRegistry: string;
|
|
54
55
|
readonly dockerRepository: string;
|
|
55
56
|
/**
|
|
56
57
|
* Name of a JavaScript function that will be executed when the Google Cloud Function is triggered.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getFunction.js","sourceRoot":"","sources":["../../cloudfunctions/getFunction.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,WAAW,CAAC,IAAqB,EAAE,IAA2B;IAC1E,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;IACnE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,4CAA4C,EAAE;QACvE,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAXD,kCAWC;
|
|
1
|
+
{"version":3,"file":"getFunction.js","sourceRoot":"","sources":["../../cloudfunctions/getFunction.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,WAAW,CAAC,IAAqB,EAAE,IAA2B;IAC1E,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;IACnE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,4CAA4C,EAAE;QACvE,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAXD,kCAWC;AAmHD,SAAgB,iBAAiB,CAAC,IAA2B,EAAE,IAA2B;IACtF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,WAAW,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC/D,CAAC;AAFD,8CAEC"}
|
|
@@ -24,7 +24,7 @@ import { input as inputs, output as outputs } from "../types";
|
|
|
24
24
|
* location: "us-central1",
|
|
25
25
|
* description: "a new function",
|
|
26
26
|
* buildConfig: {
|
|
27
|
-
* runtime: "
|
|
27
|
+
* runtime: "nodejs16",
|
|
28
28
|
* entryPoint: "helloHttp",
|
|
29
29
|
* source: {
|
|
30
30
|
* storageSource: {
|
|
@@ -67,7 +67,7 @@ import { input as inputs, output as outputs } from "../types";
|
|
|
67
67
|
* location: "us-central1",
|
|
68
68
|
* description: "a new function",
|
|
69
69
|
* buildConfig: {
|
|
70
|
-
* runtime: "
|
|
70
|
+
* runtime: "nodejs16",
|
|
71
71
|
* entryPoint: "helloHttp",
|
|
72
72
|
* environmentVariables: {
|
|
73
73
|
* BUILD_CONFIG_TEST: "build_test",
|
|
@@ -29,7 +29,7 @@ const utilities = require("../utilities");
|
|
|
29
29
|
* location: "us-central1",
|
|
30
30
|
* description: "a new function",
|
|
31
31
|
* buildConfig: {
|
|
32
|
-
* runtime: "
|
|
32
|
+
* runtime: "nodejs16",
|
|
33
33
|
* entryPoint: "helloHttp",
|
|
34
34
|
* source: {
|
|
35
35
|
* storageSource: {
|
|
@@ -72,7 +72,7 @@ const utilities = require("../utilities");
|
|
|
72
72
|
* location: "us-central1",
|
|
73
73
|
* description: "a new function",
|
|
74
74
|
* buildConfig: {
|
|
75
|
-
* runtime: "
|
|
75
|
+
* runtime: "nodejs16",
|
|
76
76
|
* entryPoint: "helloHttp",
|
|
77
77
|
* environmentVariables: {
|
|
78
78
|
* BUILD_CONFIG_TEST: "build_test",
|
|
@@ -47,6 +47,42 @@ import { input as inputs, output as outputs } from "../types";
|
|
|
47
47
|
* edgeSecurityPolicy: policy.id,
|
|
48
48
|
* });
|
|
49
49
|
* ```
|
|
50
|
+
* ### Backend Bucket Query String Whitelist
|
|
51
|
+
*
|
|
52
|
+
* ```typescript
|
|
53
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
54
|
+
* import * as gcp from "@pulumi/gcp";
|
|
55
|
+
*
|
|
56
|
+
* const imageBucket = new gcp.storage.Bucket("imageBucket", {location: "EU"});
|
|
57
|
+
* const imageBackend = new gcp.compute.BackendBucket("imageBackend", {
|
|
58
|
+
* description: "Contains beautiful images",
|
|
59
|
+
* bucketName: imageBucket.name,
|
|
60
|
+
* enableCdn: true,
|
|
61
|
+
* cdnPolicy: {
|
|
62
|
+
* cacheKeyPolicy: {
|
|
63
|
+
* queryStringWhitelists: ["image-version"],
|
|
64
|
+
* },
|
|
65
|
+
* },
|
|
66
|
+
* });
|
|
67
|
+
* ```
|
|
68
|
+
* ### Backend Bucket Include Http Headers
|
|
69
|
+
*
|
|
70
|
+
* ```typescript
|
|
71
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
72
|
+
* import * as gcp from "@pulumi/gcp";
|
|
73
|
+
*
|
|
74
|
+
* const imageBucket = new gcp.storage.Bucket("imageBucket", {location: "EU"});
|
|
75
|
+
* const imageBackend = new gcp.compute.BackendBucket("imageBackend", {
|
|
76
|
+
* description: "Contains beautiful images",
|
|
77
|
+
* bucketName: imageBucket.name,
|
|
78
|
+
* enableCdn: true,
|
|
79
|
+
* cdnPolicy: {
|
|
80
|
+
* cacheKeyPolicy: {
|
|
81
|
+
* includeHttpHeaders: ["X-My-Header-Field"],
|
|
82
|
+
* },
|
|
83
|
+
* },
|
|
84
|
+
* });
|
|
85
|
+
* ```
|
|
50
86
|
*
|
|
51
87
|
* ## Import
|
|
52
88
|
*
|
package/compute/backendBucket.js
CHANGED
|
@@ -52,6 +52,42 @@ const utilities = require("../utilities");
|
|
|
52
52
|
* edgeSecurityPolicy: policy.id,
|
|
53
53
|
* });
|
|
54
54
|
* ```
|
|
55
|
+
* ### Backend Bucket Query String Whitelist
|
|
56
|
+
*
|
|
57
|
+
* ```typescript
|
|
58
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
59
|
+
* import * as gcp from "@pulumi/gcp";
|
|
60
|
+
*
|
|
61
|
+
* const imageBucket = new gcp.storage.Bucket("imageBucket", {location: "EU"});
|
|
62
|
+
* const imageBackend = new gcp.compute.BackendBucket("imageBackend", {
|
|
63
|
+
* description: "Contains beautiful images",
|
|
64
|
+
* bucketName: imageBucket.name,
|
|
65
|
+
* enableCdn: true,
|
|
66
|
+
* cdnPolicy: {
|
|
67
|
+
* cacheKeyPolicy: {
|
|
68
|
+
* queryStringWhitelists: ["image-version"],
|
|
69
|
+
* },
|
|
70
|
+
* },
|
|
71
|
+
* });
|
|
72
|
+
* ```
|
|
73
|
+
* ### Backend Bucket Include Http Headers
|
|
74
|
+
*
|
|
75
|
+
* ```typescript
|
|
76
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
77
|
+
* import * as gcp from "@pulumi/gcp";
|
|
78
|
+
*
|
|
79
|
+
* const imageBucket = new gcp.storage.Bucket("imageBucket", {location: "EU"});
|
|
80
|
+
* const imageBackend = new gcp.compute.BackendBucket("imageBackend", {
|
|
81
|
+
* description: "Contains beautiful images",
|
|
82
|
+
* bucketName: imageBucket.name,
|
|
83
|
+
* enableCdn: true,
|
|
84
|
+
* cdnPolicy: {
|
|
85
|
+
* cacheKeyPolicy: {
|
|
86
|
+
* includeHttpHeaders: ["X-My-Header-Field"],
|
|
87
|
+
* },
|
|
88
|
+
* },
|
|
89
|
+
* });
|
|
90
|
+
* ```
|
|
55
91
|
*
|
|
56
92
|
* ## Import
|
|
57
93
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"backendBucket.js","sourceRoot":"","sources":["../../compute/backendBucket.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"backendBucket.js","sourceRoot":"","s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C,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,cAAc,CAAC,mBAAmB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACxD,cAAc,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAClD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,aAAa,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAClE,CAAC;IAtHD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA0B,EAAE,IAAmC;QACxH,OAAO,IAAI,aAAa,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACpE,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,aAAa,CAAC,YAAY,CAAC;IAC9D,CAAC;;AA1BL,sCAwHC;AA1GG,gBAAgB;AACO,0BAAY,GAAG,yCAAyC,CAAC"}
|
package/config/vars.d.ts
CHANGED
|
@@ -43,6 +43,7 @@ export declare const dataCatalogCustomEndpoint: string | undefined;
|
|
|
43
43
|
export declare const dataFusionCustomEndpoint: string | undefined;
|
|
44
44
|
export declare const dataLossPreventionCustomEndpoint: string | undefined;
|
|
45
45
|
export declare const dataflowCustomEndpoint: string | undefined;
|
|
46
|
+
export declare const dataplexCustomEndpoint: string | undefined;
|
|
46
47
|
export declare const dataprocCustomEndpoint: string | undefined;
|
|
47
48
|
export declare const dataprocMetastoreCustomEndpoint: string | undefined;
|
|
48
49
|
export declare const datastoreCustomEndpoint: string | undefined;
|
package/config/vars.js
CHANGED
|
@@ -269,6 +269,12 @@ Object.defineProperty(exports, "dataflowCustomEndpoint", {
|
|
|
269
269
|
},
|
|
270
270
|
enumerable: true,
|
|
271
271
|
});
|
|
272
|
+
Object.defineProperty(exports, "dataplexCustomEndpoint", {
|
|
273
|
+
get() {
|
|
274
|
+
return __config.get("dataplexCustomEndpoint");
|
|
275
|
+
},
|
|
276
|
+
enumerable: true,
|
|
277
|
+
});
|
|
272
278
|
Object.defineProperty(exports, "dataprocCustomEndpoint", {
|
|
273
279
|
get() {
|
|
274
280
|
return __config.get("dataprocCustomEndpoint");
|