@pulumi/gcp 7.12.0 → 7.13.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.
- package/appengine/applicationUrlDispatchRules.d.ts +1 -1
- package/appengine/applicationUrlDispatchRules.js +1 -1
- package/appengine/engineSplitTraffic.d.ts +2 -2
- package/appengine/engineSplitTraffic.js +2 -2
- package/appengine/serviceNetworkSettings.d.ts +1 -1
- package/appengine/serviceNetworkSettings.js +1 -1
- package/appengine/standardAppVersion.d.ts +2 -2
- package/appengine/standardAppVersion.js +2 -2
- package/bigquery/routine.d.ts +49 -6
- package/bigquery/routine.js +36 -6
- package/bigquery/routine.js.map +1 -1
- package/certificatemanager/dnsAuthorization.d.ts +20 -7
- package/certificatemanager/dnsAuthorization.js +10 -7
- package/certificatemanager/dnsAuthorization.js.map +1 -1
- package/clouddeploy/automation.d.ts +8 -0
- package/clouddeploy/automation.js +8 -0
- package/clouddeploy/automation.js.map +1 -1
- package/clouddeploy/getTargetIamPolicy.d.ts +86 -0
- package/clouddeploy/getTargetIamPolicy.js +53 -0
- package/clouddeploy/getTargetIamPolicy.js.map +1 -0
- package/clouddeploy/index.d.ts +12 -0
- package/clouddeploy/index.js +19 -1
- package/clouddeploy/index.js.map +1 -1
- package/clouddeploy/targetIamBinding.d.ts +58 -0
- package/clouddeploy/targetIamBinding.js +67 -0
- package/clouddeploy/targetIamBinding.js.map +1 -0
- package/clouddeploy/targetIamMember.d.ts +58 -0
- package/clouddeploy/targetIamMember.js +67 -0
- package/clouddeploy/targetIamMember.js.map +1 -0
- package/clouddeploy/targetIamPolicy.d.ts +50 -0
- package/clouddeploy/targetIamPolicy.js +60 -0
- package/clouddeploy/targetIamPolicy.js.map +1 -0
- package/compute/regionTargetHttpsProxy.d.ts +69 -11
- package/compute/regionTargetHttpsProxy.js +39 -3
- package/compute/regionTargetHttpsProxy.js.map +1 -1
- package/gkehub/scope.d.ts +35 -0
- package/gkehub/scope.js +7 -0
- package/gkehub/scope.js.map +1 -1
- package/monitoring/getAppEngineService.d.ts +2 -2
- package/monitoring/getAppEngineService.js +2 -2
- package/package.json +1 -1
- package/spanner/databaseIAMBinding.d.ts +74 -0
- package/spanner/databaseIAMBinding.js +62 -0
- package/spanner/databaseIAMBinding.js.map +1 -1
- package/spanner/databaseIAMMember.d.ts +74 -0
- package/spanner/databaseIAMMember.js +62 -0
- package/spanner/databaseIAMMember.js.map +1 -1
- package/spanner/databaseIAMPolicy.d.ts +62 -0
- package/spanner/databaseIAMPolicy.js +62 -0
- package/spanner/databaseIAMPolicy.js.map +1 -1
- package/types/input.d.ts +57 -2
- package/types/output.d.ts +65 -5
|
@@ -27,7 +27,7 @@ import * as outputs from "../types/output";
|
|
|
27
27
|
* const adminV3 = new gcp.appengine.StandardAppVersion("admin_v3", {
|
|
28
28
|
* versionId: "v3",
|
|
29
29
|
* service: "admin",
|
|
30
|
-
* runtime: "
|
|
30
|
+
* runtime: "nodejs20",
|
|
31
31
|
* entrypoint: {
|
|
32
32
|
* shell: "node ./app.js",
|
|
33
33
|
* },
|
|
@@ -31,7 +31,7 @@ const utilities = require("../utilities");
|
|
|
31
31
|
* const adminV3 = new gcp.appengine.StandardAppVersion("admin_v3", {
|
|
32
32
|
* versionId: "v3",
|
|
33
33
|
* service: "admin",
|
|
34
|
-
* runtime: "
|
|
34
|
+
* runtime: "nodejs20",
|
|
35
35
|
* entrypoint: {
|
|
36
36
|
* shell: "node ./app.js",
|
|
37
37
|
* },
|
|
@@ -28,7 +28,7 @@ import * as outputs from "../types/output";
|
|
|
28
28
|
* versionId: "v1",
|
|
29
29
|
* service: "liveapp",
|
|
30
30
|
* deleteServiceOnDestroy: true,
|
|
31
|
-
* runtime: "
|
|
31
|
+
* runtime: "nodejs20",
|
|
32
32
|
* entrypoint: {
|
|
33
33
|
* shell: "node ./app.js",
|
|
34
34
|
* },
|
|
@@ -45,7 +45,7 @@ import * as outputs from "../types/output";
|
|
|
45
45
|
* versionId: "v2",
|
|
46
46
|
* service: "liveapp",
|
|
47
47
|
* noopOnDestroy: true,
|
|
48
|
-
* runtime: "
|
|
48
|
+
* runtime: "nodejs20",
|
|
49
49
|
* entrypoint: {
|
|
50
50
|
* shell: "node ./app.js",
|
|
51
51
|
* },
|
|
@@ -32,7 +32,7 @@ const utilities = require("../utilities");
|
|
|
32
32
|
* versionId: "v1",
|
|
33
33
|
* service: "liveapp",
|
|
34
34
|
* deleteServiceOnDestroy: true,
|
|
35
|
-
* runtime: "
|
|
35
|
+
* runtime: "nodejs20",
|
|
36
36
|
* entrypoint: {
|
|
37
37
|
* shell: "node ./app.js",
|
|
38
38
|
* },
|
|
@@ -49,7 +49,7 @@ const utilities = require("../utilities");
|
|
|
49
49
|
* versionId: "v2",
|
|
50
50
|
* service: "liveapp",
|
|
51
51
|
* noopOnDestroy: true,
|
|
52
|
-
* runtime: "
|
|
52
|
+
* runtime: "nodejs20",
|
|
53
53
|
* entrypoint: {
|
|
54
54
|
* shell: "node ./app.js",
|
|
55
55
|
* },
|
|
@@ -46,7 +46,7 @@ import * as outputs from "../types/output";
|
|
|
46
46
|
* const myappV1 = new gcp.appengine.StandardAppVersion("myapp_v1", {
|
|
47
47
|
* versionId: "v1",
|
|
48
48
|
* service: "myapp",
|
|
49
|
-
* runtime: "
|
|
49
|
+
* runtime: "nodejs20",
|
|
50
50
|
* entrypoint: {
|
|
51
51
|
* shell: "node ./app.js",
|
|
52
52
|
* },
|
|
@@ -77,7 +77,7 @@ import * as outputs from "../types/output";
|
|
|
77
77
|
* const myappV2 = new gcp.appengine.StandardAppVersion("myapp_v2", {
|
|
78
78
|
* versionId: "v2",
|
|
79
79
|
* service: "myapp",
|
|
80
|
-
* runtime: "
|
|
80
|
+
* runtime: "nodejs20",
|
|
81
81
|
* appEngineApis: true,
|
|
82
82
|
* entrypoint: {
|
|
83
83
|
* shell: "node ./app.js",
|
|
@@ -50,7 +50,7 @@ const utilities = require("../utilities");
|
|
|
50
50
|
* const myappV1 = new gcp.appengine.StandardAppVersion("myapp_v1", {
|
|
51
51
|
* versionId: "v1",
|
|
52
52
|
* service: "myapp",
|
|
53
|
-
* runtime: "
|
|
53
|
+
* runtime: "nodejs20",
|
|
54
54
|
* entrypoint: {
|
|
55
55
|
* shell: "node ./app.js",
|
|
56
56
|
* },
|
|
@@ -81,7 +81,7 @@ const utilities = require("../utilities");
|
|
|
81
81
|
* const myappV2 = new gcp.appengine.StandardAppVersion("myapp_v2", {
|
|
82
82
|
* versionId: "v2",
|
|
83
83
|
* service: "myapp",
|
|
84
|
-
* runtime: "
|
|
84
|
+
* runtime: "nodejs20",
|
|
85
85
|
* appEngineApis: true,
|
|
86
86
|
* entrypoint: {
|
|
87
87
|
* shell: "node ./app.js",
|
package/bigquery/routine.d.ts
CHANGED
|
@@ -11,7 +11,7 @@ import * as outputs from "../types/output";
|
|
|
11
11
|
* * [Routines Intro](https://cloud.google.com/bigquery/docs/reference/rest/v2/routines)
|
|
12
12
|
*
|
|
13
13
|
* ## Example Usage
|
|
14
|
-
* ###
|
|
14
|
+
* ### Bigquery Routine Basic
|
|
15
15
|
*
|
|
16
16
|
* ```typescript
|
|
17
17
|
* import * as pulumi from "@pulumi/pulumi";
|
|
@@ -26,7 +26,7 @@ import * as outputs from "../types/output";
|
|
|
26
26
|
* definitionBody: "CREATE FUNCTION Add(x FLOAT64, y FLOAT64) RETURNS FLOAT64 AS (x + y);",
|
|
27
27
|
* });
|
|
28
28
|
* ```
|
|
29
|
-
* ###
|
|
29
|
+
* ### Bigquery Routine Json
|
|
30
30
|
*
|
|
31
31
|
* ```typescript
|
|
32
32
|
* import * as pulumi from "@pulumi/pulumi";
|
|
@@ -52,7 +52,7 @@ import * as outputs from "../types/output";
|
|
|
52
52
|
* returnType: "{\"typeKind\" : \"FLOAT64\"}",
|
|
53
53
|
* });
|
|
54
54
|
* ```
|
|
55
|
-
* ###
|
|
55
|
+
* ### Bigquery Routine Tvf
|
|
56
56
|
*
|
|
57
57
|
* ```typescript
|
|
58
58
|
* import * as pulumi from "@pulumi/pulumi";
|
|
@@ -82,7 +82,7 @@ import * as outputs from "../types/output";
|
|
|
82
82
|
* }),
|
|
83
83
|
* });
|
|
84
84
|
* ```
|
|
85
|
-
* ###
|
|
85
|
+
* ### Bigquery Routine Pyspark
|
|
86
86
|
*
|
|
87
87
|
* ```typescript
|
|
88
88
|
* import * as pulumi from "@pulumi/pulumi";
|
|
@@ -125,7 +125,7 @@ import * as outputs from "../types/output";
|
|
|
125
125
|
* },
|
|
126
126
|
* });
|
|
127
127
|
* ```
|
|
128
|
-
* ###
|
|
128
|
+
* ### Bigquery Routine Pyspark Mainfile
|
|
129
129
|
*
|
|
130
130
|
* ```typescript
|
|
131
131
|
* import * as pulumi from "@pulumi/pulumi";
|
|
@@ -153,7 +153,7 @@ import * as outputs from "../types/output";
|
|
|
153
153
|
* },
|
|
154
154
|
* });
|
|
155
155
|
* ```
|
|
156
|
-
* ###
|
|
156
|
+
* ### Bigquery Routine Spark Jar
|
|
157
157
|
*
|
|
158
158
|
* ```typescript
|
|
159
159
|
* import * as pulumi from "@pulumi/pulumi";
|
|
@@ -184,6 +184,34 @@ import * as outputs from "../types/output";
|
|
|
184
184
|
* },
|
|
185
185
|
* });
|
|
186
186
|
* ```
|
|
187
|
+
* ### Bigquery Routine Remote Function
|
|
188
|
+
*
|
|
189
|
+
* ```typescript
|
|
190
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
191
|
+
* import * as gcp from "@pulumi/gcp";
|
|
192
|
+
*
|
|
193
|
+
* const test = new gcp.bigquery.Dataset("test", {datasetId: "dataset_id"});
|
|
194
|
+
* const testConnection = new gcp.bigquery.Connection("test", {
|
|
195
|
+
* connectionId: "connection_id",
|
|
196
|
+
* location: "US",
|
|
197
|
+
* cloudResource: {},
|
|
198
|
+
* });
|
|
199
|
+
* const remoteFunction = new gcp.bigquery.Routine("remote_function", {
|
|
200
|
+
* datasetId: test.datasetId,
|
|
201
|
+
* routineId: "routine_id",
|
|
202
|
+
* routineType: "SCALAR_FUNCTION",
|
|
203
|
+
* definitionBody: "",
|
|
204
|
+
* returnType: "{\"typeKind\" : \"STRING\"}",
|
|
205
|
+
* remoteFunctionOptions: {
|
|
206
|
+
* endpoint: "https://us-east1-my_gcf_project.cloudfunctions.net/remote_add",
|
|
207
|
+
* connection: testConnection.name,
|
|
208
|
+
* maxBatchingRows: "10",
|
|
209
|
+
* userDefinedContext: {
|
|
210
|
+
* z: "1.5",
|
|
211
|
+
* },
|
|
212
|
+
* },
|
|
213
|
+
* });
|
|
214
|
+
* ```
|
|
187
215
|
*
|
|
188
216
|
* ## Import
|
|
189
217
|
*
|
|
@@ -276,6 +304,11 @@ export declare class Routine extends pulumi.CustomResource {
|
|
|
276
304
|
* If it is not provided, the provider project is used.
|
|
277
305
|
*/
|
|
278
306
|
readonly project: pulumi.Output<string>;
|
|
307
|
+
/**
|
|
308
|
+
* Remote function specific options.
|
|
309
|
+
* Structure is documented below.
|
|
310
|
+
*/
|
|
311
|
+
readonly remoteFunctionOptions: pulumi.Output<outputs.bigquery.RoutineRemoteFunctionOptions | undefined>;
|
|
279
312
|
/**
|
|
280
313
|
* Optional. Can be set only if routineType = "TABLE_VALUED_FUNCTION".
|
|
281
314
|
* If absent, the return table type is inferred from definitionBody at query time in each query
|
|
@@ -373,6 +406,11 @@ export interface RoutineState {
|
|
|
373
406
|
* If it is not provided, the provider project is used.
|
|
374
407
|
*/
|
|
375
408
|
project?: pulumi.Input<string>;
|
|
409
|
+
/**
|
|
410
|
+
* Remote function specific options.
|
|
411
|
+
* Structure is documented below.
|
|
412
|
+
*/
|
|
413
|
+
remoteFunctionOptions?: pulumi.Input<inputs.bigquery.RoutineRemoteFunctionOptions>;
|
|
376
414
|
/**
|
|
377
415
|
* Optional. Can be set only if routineType = "TABLE_VALUED_FUNCTION".
|
|
378
416
|
* If absent, the return table type is inferred from definitionBody at query time in each query
|
|
@@ -452,6 +490,11 @@ export interface RoutineArgs {
|
|
|
452
490
|
* If it is not provided, the provider project is used.
|
|
453
491
|
*/
|
|
454
492
|
project?: pulumi.Input<string>;
|
|
493
|
+
/**
|
|
494
|
+
* Remote function specific options.
|
|
495
|
+
* Structure is documented below.
|
|
496
|
+
*/
|
|
497
|
+
remoteFunctionOptions?: pulumi.Input<inputs.bigquery.RoutineRemoteFunctionOptions>;
|
|
455
498
|
/**
|
|
456
499
|
* Optional. Can be set only if routineType = "TABLE_VALUED_FUNCTION".
|
|
457
500
|
* If absent, the return table type is inferred from definitionBody at query time in each query
|
package/bigquery/routine.js
CHANGED
|
@@ -15,7 +15,7 @@ const utilities = require("../utilities");
|
|
|
15
15
|
* * [Routines Intro](https://cloud.google.com/bigquery/docs/reference/rest/v2/routines)
|
|
16
16
|
*
|
|
17
17
|
* ## Example Usage
|
|
18
|
-
* ###
|
|
18
|
+
* ### Bigquery Routine Basic
|
|
19
19
|
*
|
|
20
20
|
* ```typescript
|
|
21
21
|
* import * as pulumi from "@pulumi/pulumi";
|
|
@@ -30,7 +30,7 @@ const utilities = require("../utilities");
|
|
|
30
30
|
* definitionBody: "CREATE FUNCTION Add(x FLOAT64, y FLOAT64) RETURNS FLOAT64 AS (x + y);",
|
|
31
31
|
* });
|
|
32
32
|
* ```
|
|
33
|
-
* ###
|
|
33
|
+
* ### Bigquery Routine Json
|
|
34
34
|
*
|
|
35
35
|
* ```typescript
|
|
36
36
|
* import * as pulumi from "@pulumi/pulumi";
|
|
@@ -56,7 +56,7 @@ const utilities = require("../utilities");
|
|
|
56
56
|
* returnType: "{\"typeKind\" : \"FLOAT64\"}",
|
|
57
57
|
* });
|
|
58
58
|
* ```
|
|
59
|
-
* ###
|
|
59
|
+
* ### Bigquery Routine Tvf
|
|
60
60
|
*
|
|
61
61
|
* ```typescript
|
|
62
62
|
* import * as pulumi from "@pulumi/pulumi";
|
|
@@ -86,7 +86,7 @@ const utilities = require("../utilities");
|
|
|
86
86
|
* }),
|
|
87
87
|
* });
|
|
88
88
|
* ```
|
|
89
|
-
* ###
|
|
89
|
+
* ### Bigquery Routine Pyspark
|
|
90
90
|
*
|
|
91
91
|
* ```typescript
|
|
92
92
|
* import * as pulumi from "@pulumi/pulumi";
|
|
@@ -129,7 +129,7 @@ const utilities = require("../utilities");
|
|
|
129
129
|
* },
|
|
130
130
|
* });
|
|
131
131
|
* ```
|
|
132
|
-
* ###
|
|
132
|
+
* ### Bigquery Routine Pyspark Mainfile
|
|
133
133
|
*
|
|
134
134
|
* ```typescript
|
|
135
135
|
* import * as pulumi from "@pulumi/pulumi";
|
|
@@ -157,7 +157,7 @@ const utilities = require("../utilities");
|
|
|
157
157
|
* },
|
|
158
158
|
* });
|
|
159
159
|
* ```
|
|
160
|
-
* ###
|
|
160
|
+
* ### Bigquery Routine Spark Jar
|
|
161
161
|
*
|
|
162
162
|
* ```typescript
|
|
163
163
|
* import * as pulumi from "@pulumi/pulumi";
|
|
@@ -188,6 +188,34 @@ const utilities = require("../utilities");
|
|
|
188
188
|
* },
|
|
189
189
|
* });
|
|
190
190
|
* ```
|
|
191
|
+
* ### Bigquery Routine Remote Function
|
|
192
|
+
*
|
|
193
|
+
* ```typescript
|
|
194
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
195
|
+
* import * as gcp from "@pulumi/gcp";
|
|
196
|
+
*
|
|
197
|
+
* const test = new gcp.bigquery.Dataset("test", {datasetId: "dataset_id"});
|
|
198
|
+
* const testConnection = new gcp.bigquery.Connection("test", {
|
|
199
|
+
* connectionId: "connection_id",
|
|
200
|
+
* location: "US",
|
|
201
|
+
* cloudResource: {},
|
|
202
|
+
* });
|
|
203
|
+
* const remoteFunction = new gcp.bigquery.Routine("remote_function", {
|
|
204
|
+
* datasetId: test.datasetId,
|
|
205
|
+
* routineId: "routine_id",
|
|
206
|
+
* routineType: "SCALAR_FUNCTION",
|
|
207
|
+
* definitionBody: "",
|
|
208
|
+
* returnType: "{\"typeKind\" : \"STRING\"}",
|
|
209
|
+
* remoteFunctionOptions: {
|
|
210
|
+
* endpoint: "https://us-east1-my_gcf_project.cloudfunctions.net/remote_add",
|
|
211
|
+
* connection: testConnection.name,
|
|
212
|
+
* maxBatchingRows: "10",
|
|
213
|
+
* userDefinedContext: {
|
|
214
|
+
* z: "1.5",
|
|
215
|
+
* },
|
|
216
|
+
* },
|
|
217
|
+
* });
|
|
218
|
+
* ```
|
|
191
219
|
*
|
|
192
220
|
* ## Import
|
|
193
221
|
*
|
|
@@ -251,6 +279,7 @@ class Routine extends pulumi.CustomResource {
|
|
|
251
279
|
resourceInputs["language"] = state ? state.language : undefined;
|
|
252
280
|
resourceInputs["lastModifiedTime"] = state ? state.lastModifiedTime : undefined;
|
|
253
281
|
resourceInputs["project"] = state ? state.project : undefined;
|
|
282
|
+
resourceInputs["remoteFunctionOptions"] = state ? state.remoteFunctionOptions : undefined;
|
|
254
283
|
resourceInputs["returnTableType"] = state ? state.returnTableType : undefined;
|
|
255
284
|
resourceInputs["returnType"] = state ? state.returnType : undefined;
|
|
256
285
|
resourceInputs["routineId"] = state ? state.routineId : undefined;
|
|
@@ -279,6 +308,7 @@ class Routine extends pulumi.CustomResource {
|
|
|
279
308
|
resourceInputs["importedLibraries"] = args ? args.importedLibraries : undefined;
|
|
280
309
|
resourceInputs["language"] = args ? args.language : undefined;
|
|
281
310
|
resourceInputs["project"] = args ? args.project : undefined;
|
|
311
|
+
resourceInputs["remoteFunctionOptions"] = args ? args.remoteFunctionOptions : undefined;
|
|
282
312
|
resourceInputs["returnTableType"] = args ? args.returnTableType : undefined;
|
|
283
313
|
resourceInputs["returnType"] = args ? args.returnType : undefined;
|
|
284
314
|
resourceInputs["routineId"] = args ? args.routineId : undefined;
|
package/bigquery/routine.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"routine.js","sourceRoot":"","sources":["../../bigquery/routine.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"routine.js","sourceRoot":"","sources":["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,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,cAAc,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACnD,cAAc,CAAC,kBAAkB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC1D;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,OAAO,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC5D,CAAC;;AApLL,0BAqLC;AAvKG,gBAAgB;AACO,oBAAY,GAAG,8BAA8B,CAAC"}
|
|
@@ -13,7 +13,8 @@ import * as outputs from "../types/output";
|
|
|
13
13
|
*
|
|
14
14
|
* const _default = new gcp.certificatemanager.DnsAuthorization("default", {
|
|
15
15
|
* name: "dns-auth",
|
|
16
|
-
*
|
|
16
|
+
* location: "global",
|
|
17
|
+
* description: "The default dns",
|
|
17
18
|
* domain: "subdomain.hashicorptest.com",
|
|
18
19
|
* });
|
|
19
20
|
* export const recordNameToInsert = _default.dnsResourceRecords.apply(dnsResourceRecords => dnsResourceRecords[0].name);
|
|
@@ -25,24 +26,24 @@ import * as outputs from "../types/output";
|
|
|
25
26
|
*
|
|
26
27
|
* DnsAuthorization can be imported using any of these accepted formats:
|
|
27
28
|
*
|
|
28
|
-
* * `projects/{{project}}/locations/
|
|
29
|
+
* * `projects/{{project}}/locations/{{location}}/dnsAuthorizations/{{name}}`
|
|
29
30
|
*
|
|
30
|
-
* * `{{project}}/{{name}}`
|
|
31
|
+
* * `{{project}}/{{location}}/{{name}}`
|
|
31
32
|
*
|
|
32
|
-
* * `{{name}}`
|
|
33
|
+
* * `{{location}}/{{name}}`
|
|
33
34
|
*
|
|
34
35
|
* When using the `pulumi import` command, DnsAuthorization can be imported using one of the formats above. For example:
|
|
35
36
|
*
|
|
36
37
|
* ```sh
|
|
37
|
-
* $ pulumi import gcp:certificatemanager/dnsAuthorization:DnsAuthorization default projects/{{project}}/locations/
|
|
38
|
+
* $ pulumi import gcp:certificatemanager/dnsAuthorization:DnsAuthorization default projects/{{project}}/locations/{{location}}/dnsAuthorizations/{{name}}
|
|
38
39
|
* ```
|
|
39
40
|
*
|
|
40
41
|
* ```sh
|
|
41
|
-
* $ pulumi import gcp:certificatemanager/dnsAuthorization:DnsAuthorization default {{project}}/{{name}}
|
|
42
|
+
* $ pulumi import gcp:certificatemanager/dnsAuthorization:DnsAuthorization default {{project}}/{{location}}/{{name}}
|
|
42
43
|
* ```
|
|
43
44
|
*
|
|
44
45
|
* ```sh
|
|
45
|
-
* $ pulumi import gcp:certificatemanager/dnsAuthorization:DnsAuthorization default {{name}}
|
|
46
|
+
* $ pulumi import gcp:certificatemanager/dnsAuthorization:DnsAuthorization default {{location}}/{{name}}
|
|
46
47
|
* ```
|
|
47
48
|
*/
|
|
48
49
|
export declare class DnsAuthorization extends pulumi.CustomResource {
|
|
@@ -92,6 +93,10 @@ export declare class DnsAuthorization extends pulumi.CustomResource {
|
|
|
92
93
|
readonly labels: pulumi.Output<{
|
|
93
94
|
[key: string]: string;
|
|
94
95
|
} | undefined>;
|
|
96
|
+
/**
|
|
97
|
+
* The Certificate Manager location. If not specified, "global" is used.
|
|
98
|
+
*/
|
|
99
|
+
readonly location: pulumi.Output<string | undefined>;
|
|
95
100
|
/**
|
|
96
101
|
* Name of the resource; provided by the client when the resource is created.
|
|
97
102
|
* The name must be 1-64 characters long, and match the regular expression [a-zA-Z][a-zA-Z0-9_-]* which means the first character must be a letter,
|
|
@@ -157,6 +162,10 @@ export interface DnsAuthorizationState {
|
|
|
157
162
|
labels?: pulumi.Input<{
|
|
158
163
|
[key: string]: pulumi.Input<string>;
|
|
159
164
|
}>;
|
|
165
|
+
/**
|
|
166
|
+
* The Certificate Manager location. If not specified, "global" is used.
|
|
167
|
+
*/
|
|
168
|
+
location?: pulumi.Input<string>;
|
|
160
169
|
/**
|
|
161
170
|
* Name of the resource; provided by the client when the resource is created.
|
|
162
171
|
* The name must be 1-64 characters long, and match the regular expression [a-zA-Z][a-zA-Z0-9_-]* which means the first character must be a letter,
|
|
@@ -201,6 +210,10 @@ export interface DnsAuthorizationArgs {
|
|
|
201
210
|
labels?: pulumi.Input<{
|
|
202
211
|
[key: string]: pulumi.Input<string>;
|
|
203
212
|
}>;
|
|
213
|
+
/**
|
|
214
|
+
* The Certificate Manager location. If not specified, "global" is used.
|
|
215
|
+
*/
|
|
216
|
+
location?: pulumi.Input<string>;
|
|
204
217
|
/**
|
|
205
218
|
* Name of the resource; provided by the client when the resource is created.
|
|
206
219
|
* The name must be 1-64 characters long, and match the regular expression [a-zA-Z][a-zA-Z0-9_-]* which means the first character must be a letter,
|
|
@@ -17,7 +17,8 @@ const utilities = require("../utilities");
|
|
|
17
17
|
*
|
|
18
18
|
* const _default = new gcp.certificatemanager.DnsAuthorization("default", {
|
|
19
19
|
* name: "dns-auth",
|
|
20
|
-
*
|
|
20
|
+
* location: "global",
|
|
21
|
+
* description: "The default dns",
|
|
21
22
|
* domain: "subdomain.hashicorptest.com",
|
|
22
23
|
* });
|
|
23
24
|
* export const recordNameToInsert = _default.dnsResourceRecords.apply(dnsResourceRecords => dnsResourceRecords[0].name);
|
|
@@ -29,24 +30,24 @@ const utilities = require("../utilities");
|
|
|
29
30
|
*
|
|
30
31
|
* DnsAuthorization can be imported using any of these accepted formats:
|
|
31
32
|
*
|
|
32
|
-
* * `projects/{{project}}/locations/
|
|
33
|
+
* * `projects/{{project}}/locations/{{location}}/dnsAuthorizations/{{name}}`
|
|
33
34
|
*
|
|
34
|
-
* * `{{project}}/{{name}}`
|
|
35
|
+
* * `{{project}}/{{location}}/{{name}}`
|
|
35
36
|
*
|
|
36
|
-
* * `{{name}}`
|
|
37
|
+
* * `{{location}}/{{name}}`
|
|
37
38
|
*
|
|
38
39
|
* When using the `pulumi import` command, DnsAuthorization can be imported using one of the formats above. For example:
|
|
39
40
|
*
|
|
40
41
|
* ```sh
|
|
41
|
-
* $ pulumi import gcp:certificatemanager/dnsAuthorization:DnsAuthorization default projects/{{project}}/locations/
|
|
42
|
+
* $ pulumi import gcp:certificatemanager/dnsAuthorization:DnsAuthorization default projects/{{project}}/locations/{{location}}/dnsAuthorizations/{{name}}
|
|
42
43
|
* ```
|
|
43
44
|
*
|
|
44
45
|
* ```sh
|
|
45
|
-
* $ pulumi import gcp:certificatemanager/dnsAuthorization:DnsAuthorization default {{project}}/{{name}}
|
|
46
|
+
* $ pulumi import gcp:certificatemanager/dnsAuthorization:DnsAuthorization default {{project}}/{{location}}/{{name}}
|
|
46
47
|
* ```
|
|
47
48
|
*
|
|
48
49
|
* ```sh
|
|
49
|
-
* $ pulumi import gcp:certificatemanager/dnsAuthorization:DnsAuthorization default {{name}}
|
|
50
|
+
* $ pulumi import gcp:certificatemanager/dnsAuthorization:DnsAuthorization default {{location}}/{{name}}
|
|
50
51
|
* ```
|
|
51
52
|
*/
|
|
52
53
|
class DnsAuthorization extends pulumi.CustomResource {
|
|
@@ -82,6 +83,7 @@ class DnsAuthorization extends pulumi.CustomResource {
|
|
|
82
83
|
resourceInputs["domain"] = state ? state.domain : undefined;
|
|
83
84
|
resourceInputs["effectiveLabels"] = state ? state.effectiveLabels : undefined;
|
|
84
85
|
resourceInputs["labels"] = state ? state.labels : undefined;
|
|
86
|
+
resourceInputs["location"] = state ? state.location : undefined;
|
|
85
87
|
resourceInputs["name"] = state ? state.name : undefined;
|
|
86
88
|
resourceInputs["project"] = state ? state.project : undefined;
|
|
87
89
|
resourceInputs["pulumiLabels"] = state ? state.pulumiLabels : undefined;
|
|
@@ -94,6 +96,7 @@ class DnsAuthorization extends pulumi.CustomResource {
|
|
|
94
96
|
resourceInputs["description"] = args ? args.description : undefined;
|
|
95
97
|
resourceInputs["domain"] = args ? args.domain : undefined;
|
|
96
98
|
resourceInputs["labels"] = args ? args.labels : undefined;
|
|
99
|
+
resourceInputs["location"] = args ? args.location : undefined;
|
|
97
100
|
resourceInputs["name"] = args ? args.name : undefined;
|
|
98
101
|
resourceInputs["project"] = args ? args.project : undefined;
|
|
99
102
|
resourceInputs["dnsResourceRecords"] = undefined /*out*/;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dnsAuthorization.js","sourceRoot":"","sources":["../../certificatemanager/dnsAuthorization.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"dnsAuthorization.js","sourceRoot":"","sources":["../../certificatemanager/dnsAuthorization.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4CG;AACH,MAAa,gBAAiB,SAAQ,MAAM,CAAC,cAAc;IACvD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA6B,EAAE,IAAmC;QAC3H,OAAO,IAAI,gBAAgB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACvE,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,gBAAgB,CAAC,YAAY,CAAC;IACjE,CAAC;IA6DD,YAAY,IAAY,EAAE,WAA0D,EAAE,IAAmC;QACrH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,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AAC;;AAxHL,4CAyHC;AA3GG,gBAAgB;AACO,6BAAY,GAAG,0DAA0D,CAAC"}
|
|
@@ -2,6 +2,14 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
2
2
|
import * as inputs from "../types/input";
|
|
3
3
|
import * as outputs from "../types/output";
|
|
4
4
|
/**
|
|
5
|
+
* An `Automation` enables the automation of manually driven actions for a Delivery Pipeline, which includes Release promotion amongst Targets, Rollout repair and Rollout deployment strategy advancement.
|
|
6
|
+
*
|
|
7
|
+
* To get more information about Automation, see:
|
|
8
|
+
*
|
|
9
|
+
* * [API documentation](https://cloud.google.com/deploy/docs/api/reference/rest/v1/projects.locations.deliveryPipelines.automations)
|
|
10
|
+
* * How-to Guides
|
|
11
|
+
* * [Automate your deployment](https://cloud.google.com/deploy/docs/automation)
|
|
12
|
+
*
|
|
5
13
|
* ## Example Usage
|
|
6
14
|
* ### Clouddeploy Automation Basic
|
|
7
15
|
*
|
|
@@ -6,6 +6,14 @@ exports.Automation = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
8
|
/**
|
|
9
|
+
* An `Automation` enables the automation of manually driven actions for a Delivery Pipeline, which includes Release promotion amongst Targets, Rollout repair and Rollout deployment strategy advancement.
|
|
10
|
+
*
|
|
11
|
+
* To get more information about Automation, see:
|
|
12
|
+
*
|
|
13
|
+
* * [API documentation](https://cloud.google.com/deploy/docs/api/reference/rest/v1/projects.locations.deliveryPipelines.automations)
|
|
14
|
+
* * How-to Guides
|
|
15
|
+
* * [Automate your deployment](https://cloud.google.com/deploy/docs/automation)
|
|
16
|
+
*
|
|
9
17
|
* ## Example Usage
|
|
10
18
|
* ### Clouddeploy Automation Basic
|
|
11
19
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"automation.js","sourceRoot":"","sources":["../../clouddeploy/automation.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCA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,CAAC,CAAC,SAAS,CAAC;YAC1E,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACjD,cAAc,CAAC,sBAAsB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3D,cAAc,CAAC,iBAAiB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACtD,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3C,cAAc,CAAC,cAAc,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACnD,cAAc,CAAC,KAAK,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC1C,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACpD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,UAAU,GAAG,EAAE,uBAAuB,EAAE,CAAC,iBAAiB,EAAE,cAAc,CAAC,EAAE,CAAC;QACpF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,UAAU,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC/D,CAAC;;AArLL,gCAsLC;AAxKG,gBAAgB;AACO,uBAAY,GAAG,uCAAuC,CAAC"}
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Retrieves the current IAM policy data for target
|
|
4
|
+
*
|
|
5
|
+
* ## example
|
|
6
|
+
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as gcp from "@pulumi/gcp";
|
|
10
|
+
*
|
|
11
|
+
* const policy = gcp.clouddeploy.getTargetIamPolicy({
|
|
12
|
+
* project: _default.project,
|
|
13
|
+
* location: _default.location,
|
|
14
|
+
* name: _default.name,
|
|
15
|
+
* });
|
|
16
|
+
* ```
|
|
17
|
+
*/
|
|
18
|
+
export declare function getTargetIamPolicy(args: GetTargetIamPolicyArgs, opts?: pulumi.InvokeOptions): Promise<GetTargetIamPolicyResult>;
|
|
19
|
+
/**
|
|
20
|
+
* A collection of arguments for invoking getTargetIamPolicy.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetTargetIamPolicyArgs {
|
|
23
|
+
location?: string;
|
|
24
|
+
/**
|
|
25
|
+
* Used to find the parent resource to bind the IAM policy to
|
|
26
|
+
*/
|
|
27
|
+
name: string;
|
|
28
|
+
/**
|
|
29
|
+
* The ID of the project in which the resource belongs.
|
|
30
|
+
* If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used.
|
|
31
|
+
*/
|
|
32
|
+
project?: string;
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* A collection of values returned by getTargetIamPolicy.
|
|
36
|
+
*/
|
|
37
|
+
export interface GetTargetIamPolicyResult {
|
|
38
|
+
/**
|
|
39
|
+
* (Computed) The etag of the IAM policy.
|
|
40
|
+
*/
|
|
41
|
+
readonly etag: string;
|
|
42
|
+
/**
|
|
43
|
+
* The provider-assigned unique ID for this managed resource.
|
|
44
|
+
*/
|
|
45
|
+
readonly id: string;
|
|
46
|
+
readonly location: string;
|
|
47
|
+
readonly name: string;
|
|
48
|
+
/**
|
|
49
|
+
* (Required only by `gcp.clouddeploy.TargetIamPolicy`) The policy data generated by
|
|
50
|
+
* a `gcp.organizations.getIAMPolicy` data source.
|
|
51
|
+
*/
|
|
52
|
+
readonly policyData: string;
|
|
53
|
+
readonly project: string;
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* Retrieves the current IAM policy data for target
|
|
57
|
+
*
|
|
58
|
+
* ## example
|
|
59
|
+
*
|
|
60
|
+
* ```typescript
|
|
61
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
62
|
+
* import * as gcp from "@pulumi/gcp";
|
|
63
|
+
*
|
|
64
|
+
* const policy = gcp.clouddeploy.getTargetIamPolicy({
|
|
65
|
+
* project: _default.project,
|
|
66
|
+
* location: _default.location,
|
|
67
|
+
* name: _default.name,
|
|
68
|
+
* });
|
|
69
|
+
* ```
|
|
70
|
+
*/
|
|
71
|
+
export declare function getTargetIamPolicyOutput(args: GetTargetIamPolicyOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetTargetIamPolicyResult>;
|
|
72
|
+
/**
|
|
73
|
+
* A collection of arguments for invoking getTargetIamPolicy.
|
|
74
|
+
*/
|
|
75
|
+
export interface GetTargetIamPolicyOutputArgs {
|
|
76
|
+
location?: pulumi.Input<string>;
|
|
77
|
+
/**
|
|
78
|
+
* Used to find the parent resource to bind the IAM policy to
|
|
79
|
+
*/
|
|
80
|
+
name: pulumi.Input<string>;
|
|
81
|
+
/**
|
|
82
|
+
* The ID of the project in which the resource belongs.
|
|
83
|
+
* If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used.
|
|
84
|
+
*/
|
|
85
|
+
project?: pulumi.Input<string>;
|
|
86
|
+
}
|