@pulumi/gcp 8.30.1 → 8.31.0-alpha.1747312116
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/routine.d.ts +16 -0
- package/bigquery/routine.js +3 -0
- package/bigquery/routine.js.map +1 -1
- package/bigtable/table.d.ts +3 -3
- package/certificateauthority/authority.d.ts +36 -0
- package/certificateauthority/authority.js +36 -0
- package/certificateauthority/authority.js.map +1 -1
- package/cloudfunctionsv2/function.d.ts +2 -2
- package/cloudfunctionsv2/function.js +2 -2
- package/compute/crossSiteNetwork.d.ts +136 -0
- package/compute/crossSiteNetwork.js +93 -0
- package/compute/crossSiteNetwork.js.map +1 -0
- package/compute/getHealthCheck.d.ts +1 -0
- package/compute/getHealthCheck.js.map +1 -1
- package/compute/healthCheck.d.ts +50 -0
- package/compute/healthCheck.js +37 -0
- package/compute/healthCheck.js.map +1 -1
- package/compute/index.d.ts +3 -0
- package/compute/index.js +11 -6
- package/compute/index.js.map +1 -1
- package/compute/regionHealthCheck.d.ts +50 -0
- package/compute/regionHealthCheck.js +37 -0
- package/compute/regionHealthCheck.js.map +1 -1
- package/dataproc/getMetastoreService.d.ts +0 -3
- package/dataproc/getMetastoreService.js.map +1 -1
- package/dataproc/metastoreService.d.ts +0 -24
- package/dataproc/metastoreService.js +0 -2
- package/dataproc/metastoreService.js.map +1 -1
- package/diagflow/cxFlow.d.ts +138 -0
- package/diagflow/cxFlow.js +125 -0
- package/diagflow/cxFlow.js.map +1 -1
- package/diagflow/cxPage.d.ts +134 -0
- package/diagflow/cxPage.js +121 -0
- package/diagflow/cxPage.js.map +1 -1
- package/netapp/backup.d.ts +16 -0
- package/netapp/backup.js +4 -0
- package/netapp/backup.js.map +1 -1
- package/netapp/backupVault.d.ts +51 -0
- package/netapp/backupVault.js +10 -0
- package/netapp/backupVault.js.map +1 -1
- package/netapp/storagePool.d.ts +1 -1
- package/netapp/storagePool.js +1 -1
- package/networkconnectivity/internalRange.d.ts +12 -0
- package/networkconnectivity/internalRange.js +2 -0
- package/networkconnectivity/internalRange.js.map +1 -1
- package/networkconnectivity/regionalEndpoint.d.ts +6 -6
- package/networkconnectivity/regionalEndpoint.js +3 -3
- package/networkservices/edgeCacheOrigin.d.ts +18 -0
- package/networkservices/edgeCacheOrigin.js +2 -0
- package/networkservices/edgeCacheOrigin.js.map +1 -1
- package/package.json +2 -2
- package/redis/getInstance.d.ts +0 -3
- package/redis/getInstance.js.map +1 -1
- package/redis/instance.d.ts +0 -24
- package/redis/instance.js +0 -2
- package/redis/instance.js.map +1 -1
- package/spanner/database.d.ts +16 -0
- package/spanner/database.js +3 -0
- package/spanner/database.js.map +1 -1
- package/spanner/getDatabase.d.ts +1 -0
- package/spanner/getDatabase.js.map +1 -1
- package/storage/bucket.d.ts +2 -2
- package/storage/bucket.js +2 -2
- package/storage/getBucketObjectContent.d.ts +8 -0
- package/storage/getBucketObjectContent.js.map +1 -1
- package/types/input.d.ts +938 -21
- package/types/output.d.ts +1017 -21
package/bigquery/routine.d.ts
CHANGED
|
@@ -24,6 +24,7 @@ import * as outputs from "../types/output";
|
|
|
24
24
|
* routineId: "routine_id",
|
|
25
25
|
* routineType: "PROCEDURE",
|
|
26
26
|
* language: "SQL",
|
|
27
|
+
* securityMode: "INVOKER",
|
|
27
28
|
* definitionBody: "CREATE FUNCTION Add(x FLOAT64, y FLOAT64) RETURNS FLOAT64 AS (x + y);",
|
|
28
29
|
* });
|
|
29
30
|
* ```
|
|
@@ -364,6 +365,11 @@ export declare class Routine extends pulumi.CustomResource {
|
|
|
364
365
|
* Possible values are: `SCALAR_FUNCTION`, `PROCEDURE`, `TABLE_VALUED_FUNCTION`.
|
|
365
366
|
*/
|
|
366
367
|
readonly routineType: pulumi.Output<string>;
|
|
368
|
+
/**
|
|
369
|
+
* Optional. The security mode of the routine, if defined. If not defined, the security mode is automatically determined from the routine's configuration.
|
|
370
|
+
* Possible values are: `DEFINER`, `INVOKER`.
|
|
371
|
+
*/
|
|
372
|
+
readonly securityMode: pulumi.Output<string | undefined>;
|
|
367
373
|
/**
|
|
368
374
|
* Optional. If language is one of "PYTHON", "JAVA", "SCALA", this field stores the options for spark stored procedure.
|
|
369
375
|
* Structure is documented below.
|
|
@@ -471,6 +477,11 @@ export interface RoutineState {
|
|
|
471
477
|
* Possible values are: `SCALAR_FUNCTION`, `PROCEDURE`, `TABLE_VALUED_FUNCTION`.
|
|
472
478
|
*/
|
|
473
479
|
routineType?: pulumi.Input<string>;
|
|
480
|
+
/**
|
|
481
|
+
* Optional. The security mode of the routine, if defined. If not defined, the security mode is automatically determined from the routine's configuration.
|
|
482
|
+
* Possible values are: `DEFINER`, `INVOKER`.
|
|
483
|
+
*/
|
|
484
|
+
securityMode?: pulumi.Input<string>;
|
|
474
485
|
/**
|
|
475
486
|
* Optional. If language is one of "PYTHON", "JAVA", "SCALA", this field stores the options for spark stored procedure.
|
|
476
487
|
* Structure is documented below.
|
|
@@ -560,6 +571,11 @@ export interface RoutineArgs {
|
|
|
560
571
|
* Possible values are: `SCALAR_FUNCTION`, `PROCEDURE`, `TABLE_VALUED_FUNCTION`.
|
|
561
572
|
*/
|
|
562
573
|
routineType: pulumi.Input<string>;
|
|
574
|
+
/**
|
|
575
|
+
* Optional. The security mode of the routine, if defined. If not defined, the security mode is automatically determined from the routine's configuration.
|
|
576
|
+
* Possible values are: `DEFINER`, `INVOKER`.
|
|
577
|
+
*/
|
|
578
|
+
securityMode?: pulumi.Input<string>;
|
|
563
579
|
/**
|
|
564
580
|
* Optional. If language is one of "PYTHON", "JAVA", "SCALA", this field stores the options for spark stored procedure.
|
|
565
581
|
* Structure is documented below.
|
package/bigquery/routine.js
CHANGED
|
@@ -28,6 +28,7 @@ const utilities = require("../utilities");
|
|
|
28
28
|
* routineId: "routine_id",
|
|
29
29
|
* routineType: "PROCEDURE",
|
|
30
30
|
* language: "SQL",
|
|
31
|
+
* securityMode: "INVOKER",
|
|
31
32
|
* definitionBody: "CREATE FUNCTION Add(x FLOAT64, y FLOAT64) RETURNS FLOAT64 AS (x + y);",
|
|
32
33
|
* });
|
|
33
34
|
* ```
|
|
@@ -307,6 +308,7 @@ class Routine extends pulumi.CustomResource {
|
|
|
307
308
|
resourceInputs["returnType"] = state ? state.returnType : undefined;
|
|
308
309
|
resourceInputs["routineId"] = state ? state.routineId : undefined;
|
|
309
310
|
resourceInputs["routineType"] = state ? state.routineType : undefined;
|
|
311
|
+
resourceInputs["securityMode"] = state ? state.securityMode : undefined;
|
|
310
312
|
resourceInputs["sparkOptions"] = state ? state.sparkOptions : undefined;
|
|
311
313
|
}
|
|
312
314
|
else {
|
|
@@ -337,6 +339,7 @@ class Routine extends pulumi.CustomResource {
|
|
|
337
339
|
resourceInputs["returnType"] = args ? args.returnType : undefined;
|
|
338
340
|
resourceInputs["routineId"] = args ? args.routineId : undefined;
|
|
339
341
|
resourceInputs["routineType"] = args ? args.routineType : undefined;
|
|
342
|
+
resourceInputs["securityMode"] = args ? args.securityMode : undefined;
|
|
340
343
|
resourceInputs["sparkOptions"] = args ? args.sparkOptions : undefined;
|
|
341
344
|
resourceInputs["creationTime"] = undefined /*out*/;
|
|
342
345
|
resourceInputs["lastModifiedTime"] = undefined /*out*/;
|
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":["../../bigquery/routine.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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AAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,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,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;;AAlML,0BAmMC;AArLG,gBAAgB;AACO,oBAAY,GAAG,8BAA8B,CAAC"}
|
package/bigtable/table.d.ts
CHANGED
|
@@ -105,7 +105,7 @@ export declare class Table extends pulumi.CustomResource {
|
|
|
105
105
|
*/
|
|
106
106
|
static isInstance(obj: any): obj is Table;
|
|
107
107
|
/**
|
|
108
|
-
* Defines an automated backup policy for a table, specified by Retention Period and Frequency. To _create_ a table with automated backup disabled, omit
|
|
108
|
+
* Defines an automated backup policy for a table, specified by Retention Period and Frequency. To _create_ a table with automated backup disabled, either omit the automatedBackupPolicy argument, or set both Retention Period and Frequency properties to "0". To disable automated backup on an _existing_ table that has automated backup enabled, set _both_ Retention Period and Frequency properties to "0". When updating an existing table, to modify the Retention Period or Frequency properties of the resource's automated backup policy, set the respective property to a non-zero value. If the automatedBackupPolicy argument is not provided in the configuration on update, the resource's automated backup policy will _not_ be modified.
|
|
109
109
|
*
|
|
110
110
|
* -----
|
|
111
111
|
*/
|
|
@@ -155,7 +155,7 @@ export declare class Table extends pulumi.CustomResource {
|
|
|
155
155
|
*/
|
|
156
156
|
export interface TableState {
|
|
157
157
|
/**
|
|
158
|
-
* Defines an automated backup policy for a table, specified by Retention Period and Frequency. To _create_ a table with automated backup disabled, omit
|
|
158
|
+
* Defines an automated backup policy for a table, specified by Retention Period and Frequency. To _create_ a table with automated backup disabled, either omit the automatedBackupPolicy argument, or set both Retention Period and Frequency properties to "0". To disable automated backup on an _existing_ table that has automated backup enabled, set _both_ Retention Period and Frequency properties to "0". When updating an existing table, to modify the Retention Period or Frequency properties of the resource's automated backup policy, set the respective property to a non-zero value. If the automatedBackupPolicy argument is not provided in the configuration on update, the resource's automated backup policy will _not_ be modified.
|
|
159
159
|
*
|
|
160
160
|
* -----
|
|
161
161
|
*/
|
|
@@ -197,7 +197,7 @@ export interface TableState {
|
|
|
197
197
|
*/
|
|
198
198
|
export interface TableArgs {
|
|
199
199
|
/**
|
|
200
|
-
* Defines an automated backup policy for a table, specified by Retention Period and Frequency. To _create_ a table with automated backup disabled, omit
|
|
200
|
+
* Defines an automated backup policy for a table, specified by Retention Period and Frequency. To _create_ a table with automated backup disabled, either omit the automatedBackupPolicy argument, or set both Retention Period and Frequency properties to "0". To disable automated backup on an _existing_ table that has automated backup enabled, set _both_ Retention Period and Frequency properties to "0". When updating an existing table, to modify the Retention Period or Frequency properties of the resource's automated backup policy, set the respective property to a non-zero value. If the automatedBackupPolicy argument is not provided in the configuration on update, the resource's automated backup policy will _not_ be modified.
|
|
201
201
|
*
|
|
202
202
|
* -----
|
|
203
203
|
*/
|
|
@@ -54,6 +54,42 @@ import * as outputs from "../types/output";
|
|
|
54
54
|
* },
|
|
55
55
|
* });
|
|
56
56
|
* ```
|
|
57
|
+
* ### Privateca Certificate Authority Basic No Org
|
|
58
|
+
*
|
|
59
|
+
* ```typescript
|
|
60
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
61
|
+
* import * as gcp from "@pulumi/gcp";
|
|
62
|
+
*
|
|
63
|
+
* const _default = new gcp.certificateauthority.Authority("default", {
|
|
64
|
+
* pool: "ca-pool",
|
|
65
|
+
* certificateAuthorityId: "my-certificate-authority",
|
|
66
|
+
* location: "us-central1",
|
|
67
|
+
* deletionProtection: true,
|
|
68
|
+
* config: {
|
|
69
|
+
* subjectConfig: {
|
|
70
|
+
* subject: {
|
|
71
|
+
* commonName: "my-certificate-authority",
|
|
72
|
+
* },
|
|
73
|
+
* },
|
|
74
|
+
* x509Config: {
|
|
75
|
+
* caOptions: {
|
|
76
|
+
* isCa: true,
|
|
77
|
+
* },
|
|
78
|
+
* keyUsage: {
|
|
79
|
+
* baseKeyUsage: {
|
|
80
|
+
* certSign: true,
|
|
81
|
+
* crlSign: true,
|
|
82
|
+
* },
|
|
83
|
+
* extendedKeyUsage: {},
|
|
84
|
+
* },
|
|
85
|
+
* },
|
|
86
|
+
* },
|
|
87
|
+
* lifetime: `${10 * 365 * 24 * 3600}s`,
|
|
88
|
+
* keySpec: {
|
|
89
|
+
* algorithm: "RSA_PKCS1_4096_SHA256",
|
|
90
|
+
* },
|
|
91
|
+
* });
|
|
92
|
+
* ```
|
|
57
93
|
* ### Privateca Certificate Authority Subordinate
|
|
58
94
|
*
|
|
59
95
|
* ```typescript
|
|
@@ -58,6 +58,42 @@ const utilities = require("../utilities");
|
|
|
58
58
|
* },
|
|
59
59
|
* });
|
|
60
60
|
* ```
|
|
61
|
+
* ### Privateca Certificate Authority Basic No Org
|
|
62
|
+
*
|
|
63
|
+
* ```typescript
|
|
64
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
65
|
+
* import * as gcp from "@pulumi/gcp";
|
|
66
|
+
*
|
|
67
|
+
* const _default = new gcp.certificateauthority.Authority("default", {
|
|
68
|
+
* pool: "ca-pool",
|
|
69
|
+
* certificateAuthorityId: "my-certificate-authority",
|
|
70
|
+
* location: "us-central1",
|
|
71
|
+
* deletionProtection: true,
|
|
72
|
+
* config: {
|
|
73
|
+
* subjectConfig: {
|
|
74
|
+
* subject: {
|
|
75
|
+
* commonName: "my-certificate-authority",
|
|
76
|
+
* },
|
|
77
|
+
* },
|
|
78
|
+
* x509Config: {
|
|
79
|
+
* caOptions: {
|
|
80
|
+
* isCa: true,
|
|
81
|
+
* },
|
|
82
|
+
* keyUsage: {
|
|
83
|
+
* baseKeyUsage: {
|
|
84
|
+
* certSign: true,
|
|
85
|
+
* crlSign: true,
|
|
86
|
+
* },
|
|
87
|
+
* extendedKeyUsage: {},
|
|
88
|
+
* },
|
|
89
|
+
* },
|
|
90
|
+
* },
|
|
91
|
+
* lifetime: `${10 * 365 * 24 * 3600}s`,
|
|
92
|
+
* keySpec: {
|
|
93
|
+
* algorithm: "RSA_PKCS1_4096_SHA256",
|
|
94
|
+
* },
|
|
95
|
+
* });
|
|
96
|
+
* ```
|
|
61
97
|
* ### Privateca Certificate Authority Subordinate
|
|
62
98
|
*
|
|
63
99
|
* ```typescript
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"authority.js","sourceRoot":"","sources":["../../certificateauthority/authority.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"authority.js","sourceRoot":"","sources":["../../certificateauthority/authority.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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
* ### Cloudfunctions2 Automatic Base Image Update
|
|
712
712
|
*
|
|
713
713
|
* ```typescript
|
|
714
714
|
* import * as pulumi from "@pulumi/pulumi";
|
|
@@ -770,7 +770,7 @@ import * as outputs from "../types/output";
|
|
|
770
770
|
* },
|
|
771
771
|
* });
|
|
772
772
|
* ```
|
|
773
|
-
* ### Cloudfunctions2
|
|
773
|
+
* ### Cloudfunctions2 On Deploy Base Image Update
|
|
774
774
|
*
|
|
775
775
|
* ```typescript
|
|
776
776
|
* import * as pulumi from "@pulumi/pulumi";
|
|
@@ -712,7 +712,7 @@ const utilities = require("../utilities");
|
|
|
712
712
|
* dependsOn: [gcfCmekKeyuser],
|
|
713
713
|
* });
|
|
714
714
|
* ```
|
|
715
|
-
* ### Cloudfunctions2
|
|
715
|
+
* ### Cloudfunctions2 Automatic Base Image Update
|
|
716
716
|
*
|
|
717
717
|
* ```typescript
|
|
718
718
|
* import * as pulumi from "@pulumi/pulumi";
|
|
@@ -774,7 +774,7 @@ const utilities = require("../utilities");
|
|
|
774
774
|
* },
|
|
775
775
|
* });
|
|
776
776
|
* ```
|
|
777
|
-
* ### Cloudfunctions2
|
|
777
|
+
* ### Cloudfunctions2 On Deploy Base Image Update
|
|
778
778
|
*
|
|
779
779
|
* ```typescript
|
|
780
780
|
* import * as pulumi from "@pulumi/pulumi";
|
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* ## Example Usage
|
|
4
|
+
*
|
|
5
|
+
* ### Compute Cross Site Network Basic
|
|
6
|
+
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as gcp from "@pulumi/gcp";
|
|
10
|
+
*
|
|
11
|
+
* const project = gcp.organizations.getProject({});
|
|
12
|
+
* const example_cross_site_network = new gcp.compute.CrossSiteNetwork("example-cross-site-network", {
|
|
13
|
+
* name: "test-cross-site-network",
|
|
14
|
+
* description: "Example cross site network",
|
|
15
|
+
* });
|
|
16
|
+
* ```
|
|
17
|
+
*
|
|
18
|
+
* ## Import
|
|
19
|
+
*
|
|
20
|
+
* CrossSiteNetwork can be imported using any of these accepted formats:
|
|
21
|
+
*
|
|
22
|
+
* * `projects/{{project}}/global/crossSiteNetworks/{{name}}`
|
|
23
|
+
*
|
|
24
|
+
* * `{{project}}/{{name}}`
|
|
25
|
+
*
|
|
26
|
+
* * `{{name}}`
|
|
27
|
+
*
|
|
28
|
+
* When using the `pulumi import` command, CrossSiteNetwork can be imported using one of the formats above. For example:
|
|
29
|
+
*
|
|
30
|
+
* ```sh
|
|
31
|
+
* $ pulumi import gcp:compute/crossSiteNetwork:CrossSiteNetwork default projects/{{project}}/global/crossSiteNetworks/{{name}}
|
|
32
|
+
* ```
|
|
33
|
+
*
|
|
34
|
+
* ```sh
|
|
35
|
+
* $ pulumi import gcp:compute/crossSiteNetwork:CrossSiteNetwork default {{project}}/{{name}}
|
|
36
|
+
* ```
|
|
37
|
+
*
|
|
38
|
+
* ```sh
|
|
39
|
+
* $ pulumi import gcp:compute/crossSiteNetwork:CrossSiteNetwork default {{name}}
|
|
40
|
+
* ```
|
|
41
|
+
*/
|
|
42
|
+
export declare class CrossSiteNetwork extends pulumi.CustomResource {
|
|
43
|
+
/**
|
|
44
|
+
* Get an existing CrossSiteNetwork resource's state with the given name, ID, and optional extra
|
|
45
|
+
* properties used to qualify the lookup.
|
|
46
|
+
*
|
|
47
|
+
* @param name The _unique_ name of the resulting resource.
|
|
48
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
49
|
+
* @param state Any extra arguments used during the lookup.
|
|
50
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
51
|
+
*/
|
|
52
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: CrossSiteNetworkState, opts?: pulumi.CustomResourceOptions): CrossSiteNetwork;
|
|
53
|
+
/**
|
|
54
|
+
* Returns true if the given object is an instance of CrossSiteNetwork. This is designed to work even
|
|
55
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
56
|
+
*/
|
|
57
|
+
static isInstance(obj: any): obj is CrossSiteNetwork;
|
|
58
|
+
/**
|
|
59
|
+
* An optional description of this resource.
|
|
60
|
+
*/
|
|
61
|
+
readonly description: pulumi.Output<string | undefined>;
|
|
62
|
+
/**
|
|
63
|
+
* Name of the resource. Provided by the client when the resource is created. The name must be
|
|
64
|
+
* 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters
|
|
65
|
+
* long and match the regular expression `a-z?` which means the first
|
|
66
|
+
* character must be a lowercase letter, and all following characters must be a dash,
|
|
67
|
+
* lowercase letter, or digit, except the last character, which cannot be a dash.
|
|
68
|
+
*
|
|
69
|
+
*
|
|
70
|
+
* - - -
|
|
71
|
+
*/
|
|
72
|
+
readonly name: pulumi.Output<string>;
|
|
73
|
+
/**
|
|
74
|
+
* The ID of the project in which the resource belongs.
|
|
75
|
+
* If it is not provided, the provider project is used.
|
|
76
|
+
*/
|
|
77
|
+
readonly project: pulumi.Output<string>;
|
|
78
|
+
/**
|
|
79
|
+
* Create a CrossSiteNetwork resource with the given unique name, arguments, and options.
|
|
80
|
+
*
|
|
81
|
+
* @param name The _unique_ name of the resource.
|
|
82
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
83
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
84
|
+
*/
|
|
85
|
+
constructor(name: string, args?: CrossSiteNetworkArgs, opts?: pulumi.CustomResourceOptions);
|
|
86
|
+
}
|
|
87
|
+
/**
|
|
88
|
+
* Input properties used for looking up and filtering CrossSiteNetwork resources.
|
|
89
|
+
*/
|
|
90
|
+
export interface CrossSiteNetworkState {
|
|
91
|
+
/**
|
|
92
|
+
* An optional description of this resource.
|
|
93
|
+
*/
|
|
94
|
+
description?: pulumi.Input<string>;
|
|
95
|
+
/**
|
|
96
|
+
* Name of the resource. Provided by the client when the resource is created. The name must be
|
|
97
|
+
* 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters
|
|
98
|
+
* long and match the regular expression `a-z?` which means the first
|
|
99
|
+
* character must be a lowercase letter, and all following characters must be a dash,
|
|
100
|
+
* lowercase letter, or digit, except the last character, which cannot be a dash.
|
|
101
|
+
*
|
|
102
|
+
*
|
|
103
|
+
* - - -
|
|
104
|
+
*/
|
|
105
|
+
name?: pulumi.Input<string>;
|
|
106
|
+
/**
|
|
107
|
+
* The ID of the project in which the resource belongs.
|
|
108
|
+
* If it is not provided, the provider project is used.
|
|
109
|
+
*/
|
|
110
|
+
project?: pulumi.Input<string>;
|
|
111
|
+
}
|
|
112
|
+
/**
|
|
113
|
+
* The set of arguments for constructing a CrossSiteNetwork resource.
|
|
114
|
+
*/
|
|
115
|
+
export interface CrossSiteNetworkArgs {
|
|
116
|
+
/**
|
|
117
|
+
* An optional description of this resource.
|
|
118
|
+
*/
|
|
119
|
+
description?: pulumi.Input<string>;
|
|
120
|
+
/**
|
|
121
|
+
* Name of the resource. Provided by the client when the resource is created. The name must be
|
|
122
|
+
* 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters
|
|
123
|
+
* long and match the regular expression `a-z?` which means the first
|
|
124
|
+
* character must be a lowercase letter, and all following characters must be a dash,
|
|
125
|
+
* lowercase letter, or digit, except the last character, which cannot be a dash.
|
|
126
|
+
*
|
|
127
|
+
*
|
|
128
|
+
* - - -
|
|
129
|
+
*/
|
|
130
|
+
name?: pulumi.Input<string>;
|
|
131
|
+
/**
|
|
132
|
+
* The ID of the project in which the resource belongs.
|
|
133
|
+
* If it is not provided, the provider project is used.
|
|
134
|
+
*/
|
|
135
|
+
project?: pulumi.Input<string>;
|
|
136
|
+
}
|
|
@@ -0,0 +1,93 @@
|
|
|
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.CrossSiteNetwork = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* ## Example Usage
|
|
10
|
+
*
|
|
11
|
+
* ### Compute Cross Site Network Basic
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as gcp from "@pulumi/gcp";
|
|
16
|
+
*
|
|
17
|
+
* const project = gcp.organizations.getProject({});
|
|
18
|
+
* const example_cross_site_network = new gcp.compute.CrossSiteNetwork("example-cross-site-network", {
|
|
19
|
+
* name: "test-cross-site-network",
|
|
20
|
+
* description: "Example cross site network",
|
|
21
|
+
* });
|
|
22
|
+
* ```
|
|
23
|
+
*
|
|
24
|
+
* ## Import
|
|
25
|
+
*
|
|
26
|
+
* CrossSiteNetwork can be imported using any of these accepted formats:
|
|
27
|
+
*
|
|
28
|
+
* * `projects/{{project}}/global/crossSiteNetworks/{{name}}`
|
|
29
|
+
*
|
|
30
|
+
* * `{{project}}/{{name}}`
|
|
31
|
+
*
|
|
32
|
+
* * `{{name}}`
|
|
33
|
+
*
|
|
34
|
+
* When using the `pulumi import` command, CrossSiteNetwork can be imported using one of the formats above. For example:
|
|
35
|
+
*
|
|
36
|
+
* ```sh
|
|
37
|
+
* $ pulumi import gcp:compute/crossSiteNetwork:CrossSiteNetwork default projects/{{project}}/global/crossSiteNetworks/{{name}}
|
|
38
|
+
* ```
|
|
39
|
+
*
|
|
40
|
+
* ```sh
|
|
41
|
+
* $ pulumi import gcp:compute/crossSiteNetwork:CrossSiteNetwork default {{project}}/{{name}}
|
|
42
|
+
* ```
|
|
43
|
+
*
|
|
44
|
+
* ```sh
|
|
45
|
+
* $ pulumi import gcp:compute/crossSiteNetwork:CrossSiteNetwork default {{name}}
|
|
46
|
+
* ```
|
|
47
|
+
*/
|
|
48
|
+
class CrossSiteNetwork extends pulumi.CustomResource {
|
|
49
|
+
/**
|
|
50
|
+
* Get an existing CrossSiteNetwork resource's state with the given name, ID, and optional extra
|
|
51
|
+
* properties used to qualify the lookup.
|
|
52
|
+
*
|
|
53
|
+
* @param name The _unique_ name of the resulting resource.
|
|
54
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
55
|
+
* @param state Any extra arguments used during the lookup.
|
|
56
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
57
|
+
*/
|
|
58
|
+
static get(name, id, state, opts) {
|
|
59
|
+
return new CrossSiteNetwork(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* Returns true if the given object is an instance of CrossSiteNetwork. This is designed to work even
|
|
63
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
64
|
+
*/
|
|
65
|
+
static isInstance(obj) {
|
|
66
|
+
if (obj === undefined || obj === null) {
|
|
67
|
+
return false;
|
|
68
|
+
}
|
|
69
|
+
return obj['__pulumiType'] === CrossSiteNetwork.__pulumiType;
|
|
70
|
+
}
|
|
71
|
+
constructor(name, argsOrState, opts) {
|
|
72
|
+
let resourceInputs = {};
|
|
73
|
+
opts = opts || {};
|
|
74
|
+
if (opts.id) {
|
|
75
|
+
const state = argsOrState;
|
|
76
|
+
resourceInputs["description"] = state ? state.description : undefined;
|
|
77
|
+
resourceInputs["name"] = state ? state.name : undefined;
|
|
78
|
+
resourceInputs["project"] = state ? state.project : undefined;
|
|
79
|
+
}
|
|
80
|
+
else {
|
|
81
|
+
const args = argsOrState;
|
|
82
|
+
resourceInputs["description"] = args ? args.description : undefined;
|
|
83
|
+
resourceInputs["name"] = args ? args.name : undefined;
|
|
84
|
+
resourceInputs["project"] = args ? args.project : undefined;
|
|
85
|
+
}
|
|
86
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
87
|
+
super(CrossSiteNetwork.__pulumiType, name, resourceInputs, opts);
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
exports.CrossSiteNetwork = CrossSiteNetwork;
|
|
91
|
+
/** @internal */
|
|
92
|
+
CrossSiteNetwork.__pulumiType = 'gcp:compute/crossSiteNetwork:CrossSiteNetwork';
|
|
93
|
+
//# sourceMappingURL=crossSiteNetwork.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"crossSiteNetwork.js","sourceRoot":"","sources":["../../compute/crossSiteNetwork.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuCG;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;IA+BD,YAAY,IAAY,EAAE,WAA0D,EAAE,IAAmC;QACrH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAgD,CAAC;YAC/D,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,MAAM,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,cAAc,CAAC,SAAS,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;SACjE;aAAM;YACH,MAAM,IAAI,GAAG,WAA+C,CAAC;YAC7D,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE,cAAc,CAAC,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;SAC/D;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,gBAAgB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACrE,CAAC;;AAzEL,4CA0EC;AA5DG,gBAAgB;AACO,6BAAY,GAAG,+CAA+C,CAAC"}
|
|
@@ -39,6 +39,7 @@ export interface GetHealthCheckResult {
|
|
|
39
39
|
readonly creationTimestamp: string;
|
|
40
40
|
readonly description: string;
|
|
41
41
|
readonly grpcHealthChecks: outputs.compute.GetHealthCheckGrpcHealthCheck[];
|
|
42
|
+
readonly grpcTlsHealthChecks: outputs.compute.GetHealthCheckGrpcTlsHealthCheck[];
|
|
42
43
|
readonly healthyThreshold: number;
|
|
43
44
|
readonly http2HealthChecks: outputs.compute.GetHealthCheckHttp2HealthCheck[];
|
|
44
45
|
readonly httpHealthChecks: outputs.compute.GetHealthCheckHttpHealthCheck[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getHealthCheck.js","sourceRoot":"","sources":["../../compute/getHealthCheck.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;GAaG;AACH,SAAgB,cAAc,CAAC,IAAwB,EAAE,IAA2B;IAChF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,2CAA2C,EAAE;QACtE,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,SAAS,EAAE,IAAI,CAAC,OAAO;KAC1B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,wCAMC;
|
|
1
|
+
{"version":3,"file":"getHealthCheck.js","sourceRoot":"","sources":["../../compute/getHealthCheck.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;GAaG;AACH,SAAgB,cAAc,CAAC,IAAwB,EAAE,IAA2B;IAChF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,2CAA2C,EAAE;QACtE,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,SAAS,EAAE,IAAI,CAAC,OAAO;KAC1B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,wCAMC;AA+CD;;;;;;;;;;;;;GAaG;AACH,SAAgB,oBAAoB,CAAC,IAA8B,EAAE,IAAiC;IAClG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,2CAA2C,EAAE;QAC5E,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,SAAS,EAAE,IAAI,CAAC,OAAO;KAC1B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,oDAMC"}
|
package/compute/healthCheck.d.ts
CHANGED
|
@@ -246,6 +246,41 @@ import * as outputs from "../types/output";
|
|
|
246
246
|
* },
|
|
247
247
|
* });
|
|
248
248
|
* ```
|
|
249
|
+
* ### Health Check Grpc With Tls
|
|
250
|
+
*
|
|
251
|
+
* ```typescript
|
|
252
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
253
|
+
* import * as gcp from "@pulumi/gcp";
|
|
254
|
+
*
|
|
255
|
+
* const grpc_with_tls_health_check = new gcp.compute.HealthCheck("grpc-with-tls-health-check", {
|
|
256
|
+
* name: "grpc-with-tls-health-check",
|
|
257
|
+
* timeoutSec: 1,
|
|
258
|
+
* checkIntervalSec: 1,
|
|
259
|
+
* grpcTlsHealthCheck: {
|
|
260
|
+
* port: 443,
|
|
261
|
+
* },
|
|
262
|
+
* });
|
|
263
|
+
* ```
|
|
264
|
+
* ### Health Check Grpc With Tls Full
|
|
265
|
+
*
|
|
266
|
+
* ```typescript
|
|
267
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
268
|
+
* import * as gcp from "@pulumi/gcp";
|
|
269
|
+
*
|
|
270
|
+
* const grpc_with_tls_health_check = new gcp.compute.HealthCheck("grpc-with-tls-health-check", {
|
|
271
|
+
* name: "grpc-with-tls-health-check",
|
|
272
|
+
* description: "Health check via grpc with TLS",
|
|
273
|
+
* timeoutSec: 1,
|
|
274
|
+
* checkIntervalSec: 1,
|
|
275
|
+
* healthyThreshold: 4,
|
|
276
|
+
* unhealthyThreshold: 5,
|
|
277
|
+
* grpcTlsHealthCheck: {
|
|
278
|
+
* portSpecification: "USE_FIXED_PORT",
|
|
279
|
+
* port: 443,
|
|
280
|
+
* grpcServiceName: "testservice",
|
|
281
|
+
* },
|
|
282
|
+
* });
|
|
283
|
+
* ```
|
|
249
284
|
* ### Health Check With Logging
|
|
250
285
|
*
|
|
251
286
|
* ```typescript
|
|
@@ -384,6 +419,11 @@ export declare class HealthCheck extends pulumi.CustomResource {
|
|
|
384
419
|
* Structure is documented below.
|
|
385
420
|
*/
|
|
386
421
|
readonly grpcHealthCheck: pulumi.Output<outputs.compute.HealthCheckGrpcHealthCheck | undefined>;
|
|
422
|
+
/**
|
|
423
|
+
* A nested object resource.
|
|
424
|
+
* Structure is documented below.
|
|
425
|
+
*/
|
|
426
|
+
readonly grpcTlsHealthCheck: pulumi.Output<outputs.compute.HealthCheckGrpcTlsHealthCheck | undefined>;
|
|
387
427
|
/**
|
|
388
428
|
* A so-far unhealthy instance will be marked healthy after this many
|
|
389
429
|
* consecutive successes. The default value is 2.
|
|
@@ -503,6 +543,11 @@ export interface HealthCheckState {
|
|
|
503
543
|
* Structure is documented below.
|
|
504
544
|
*/
|
|
505
545
|
grpcHealthCheck?: pulumi.Input<inputs.compute.HealthCheckGrpcHealthCheck>;
|
|
546
|
+
/**
|
|
547
|
+
* A nested object resource.
|
|
548
|
+
* Structure is documented below.
|
|
549
|
+
*/
|
|
550
|
+
grpcTlsHealthCheck?: pulumi.Input<inputs.compute.HealthCheckGrpcTlsHealthCheck>;
|
|
506
551
|
/**
|
|
507
552
|
* A so-far unhealthy instance will be marked healthy after this many
|
|
508
553
|
* consecutive successes. The default value is 2.
|
|
@@ -610,6 +655,11 @@ export interface HealthCheckArgs {
|
|
|
610
655
|
* Structure is documented below.
|
|
611
656
|
*/
|
|
612
657
|
grpcHealthCheck?: pulumi.Input<inputs.compute.HealthCheckGrpcHealthCheck>;
|
|
658
|
+
/**
|
|
659
|
+
* A nested object resource.
|
|
660
|
+
* Structure is documented below.
|
|
661
|
+
*/
|
|
662
|
+
grpcTlsHealthCheck?: pulumi.Input<inputs.compute.HealthCheckGrpcTlsHealthCheck>;
|
|
613
663
|
/**
|
|
614
664
|
* A so-far unhealthy instance will be marked healthy after this many
|
|
615
665
|
* consecutive successes. The default value is 2.
|