@pulumi/gcp 6.22.0 → 6.23.0-alpha.1651662936
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/engineSplitTraffic.d.ts +0 -57
- package/appengine/engineSplitTraffic.js +0 -57
- package/appengine/engineSplitTraffic.js.map +1 -1
- package/bigquery/appProfile.d.ts +3 -3
- package/bigquery/appProfile.js +3 -3
- package/bigquery/connection.d.ts +2 -2
- package/bigquery/connection.js +2 -2
- package/certificateauthority/authority.d.ts +1 -1
- package/certificateauthority/authority.js +1 -1
- package/cloudrun/service.d.ts +1 -1
- package/cloudrun/service.js +1 -1
- package/compute/backendService.d.ts +1 -1
- package/compute/backendService.js +1 -1
- package/compute/firewallPolicyRule.d.ts +2 -2
- package/compute/firewallPolicyRule.js +2 -2
- package/compute/forwardingRule.d.ts +5 -5
- package/compute/forwardingRule.js +5 -5
- package/compute/globalForwardingRule.d.ts +6 -6
- package/compute/globalForwardingRule.js +6 -6
- package/compute/globalNetworkEndpoint.d.ts +1 -1
- package/compute/globalNetworkEndpoint.js +1 -1
- package/compute/healthCheck.d.ts +1 -1
- package/compute/healthCheck.js +1 -1
- package/compute/instanceGroup.d.ts +4 -4
- package/compute/instanceGroup.js +4 -4
- package/compute/instanceGroupManager.d.ts +1 -1
- package/compute/instanceGroupManager.js +1 -1
- package/compute/instanceTemplate.d.ts +0 -32
- package/compute/instanceTemplate.js +0 -32
- package/compute/instanceTemplate.js.map +1 -1
- package/compute/interconnectAttachment.d.ts +1 -1
- package/compute/interconnectAttachment.js +1 -1
- package/compute/managedSslCertificate.d.ts +1 -1
- package/compute/managedSslCertificate.js +1 -1
- package/compute/mangedSslCertificate.d.ts +1 -1
- package/compute/mangedSslCertificate.js +1 -1
- package/compute/networkEndpoint.d.ts +1 -1
- package/compute/networkEndpoint.js +1 -1
- package/compute/networkEndpointGroup.d.ts +2 -2
- package/compute/networkEndpointGroup.js +2 -2
- package/compute/networkPeering.d.ts +2 -2
- package/compute/networkPeering.js +2 -2
- package/compute/networkPeeringRoutesConfig.d.ts +2 -2
- package/compute/networkPeeringRoutesConfig.js +2 -2
- package/compute/packetMirroring.d.ts +1 -1
- package/compute/packetMirroring.js +1 -1
- package/compute/regionBackendService.d.ts +1 -1
- package/compute/regionBackendService.js +1 -1
- package/compute/regionHealthCheck.d.ts +1 -1
- package/compute/regionHealthCheck.js +1 -1
- package/compute/regionInstanceGroupManager.d.ts +1 -1
- package/compute/regionInstanceGroupManager.js +1 -1
- package/compute/regionUrlMap.d.ts +5 -5
- package/compute/regionUrlMap.js +5 -5
- package/compute/route.d.ts +2 -2
- package/compute/route.js +2 -2
- package/compute/serviceAttachment.d.ts +2 -2
- package/compute/serviceAttachment.js +2 -2
- package/compute/targetSSLProxy.d.ts +1 -1
- package/compute/targetSSLProxy.js +1 -1
- package/compute/targetTCPProxy.d.ts +1 -1
- package/compute/targetTCPProxy.js +1 -1
- package/compute/urlmap.d.ts +3 -3
- package/compute/urlmap.js +3 -3
- package/container/cluster.d.ts +0 -30
- package/container/cluster.js +0 -30
- package/container/cluster.js.map +1 -1
- package/container/nodePool.d.ts +0 -36
- package/container/nodePool.js +0 -36
- package/container/nodePool.js.map +1 -1
- package/datacatalog/tag.d.ts +3 -3
- package/datacatalog/tag.js +3 -3
- package/diagflow/cxPage.d.ts +2 -2
- package/diagflow/cxPage.js +2 -2
- package/networkservices/edgeCacheService.d.ts +4 -4
- package/networkservices/edgeCacheService.js +4 -4
- package/organizations/getClientOpenIdUserInfo.d.ts +7 -2
- package/organizations/getClientOpenIdUserInfo.js +7 -2
- package/organizations/getClientOpenIdUserInfo.js.map +1 -1
- package/package.json +2 -2
- package/package.json.dev +2 -2
- package/pubsub/liteSubscription.d.ts +1 -1
- package/pubsub/liteSubscription.js +1 -1
- package/pubsub/liteTopic.d.ts +1 -1
- package/pubsub/liteTopic.js +1 -1
- package/sql/database.d.ts +1 -1
- package/sql/database.js +1 -1
- package/storage/getObjectSignedUrl.d.ts +1 -1
- package/storage/getObjectSignedUrl.js +1 -1
|
@@ -8,63 +8,6 @@ import { input as inputs, output as outputs } from "../types";
|
|
|
8
8
|
* * [API documentation](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services)
|
|
9
9
|
*
|
|
10
10
|
* ## Example Usage
|
|
11
|
-
* ### App Engine Service Split Traffic
|
|
12
|
-
*
|
|
13
|
-
* ```typescript
|
|
14
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
-
* import * as gcp from "@pulumi/gcp";
|
|
16
|
-
*
|
|
17
|
-
* const bucket = new gcp.storage.Bucket("bucket", {location: "US"});
|
|
18
|
-
* const object = new gcp.storage.BucketObject("object", {
|
|
19
|
-
* bucket: bucket.name,
|
|
20
|
-
* source: new pulumi.asset.FileAsset("./test-fixtures/appengine/hello-world.zip"),
|
|
21
|
-
* });
|
|
22
|
-
* const liveappV1 = new gcp.appengine.StandardAppVersion("liveappV1", {
|
|
23
|
-
* versionId: "v1",
|
|
24
|
-
* service: "liveapp",
|
|
25
|
-
* deleteServiceOnDestroy: true,
|
|
26
|
-
* runtime: "nodejs10",
|
|
27
|
-
* entrypoint: {
|
|
28
|
-
* shell: "node ./app.js",
|
|
29
|
-
* },
|
|
30
|
-
* deployment: {
|
|
31
|
-
* zip: {
|
|
32
|
-
* sourceUrl: pulumi.interpolate`https://storage.googleapis.com/${bucket.name}/${object.name}`,
|
|
33
|
-
* },
|
|
34
|
-
* },
|
|
35
|
-
* envVariables: {
|
|
36
|
-
* port: "8080",
|
|
37
|
-
* },
|
|
38
|
-
* });
|
|
39
|
-
* const liveappV2 = new gcp.appengine.StandardAppVersion("liveappV2", {
|
|
40
|
-
* versionId: "v2",
|
|
41
|
-
* service: "liveapp",
|
|
42
|
-
* noopOnDestroy: true,
|
|
43
|
-
* runtime: "nodejs10",
|
|
44
|
-
* entrypoint: {
|
|
45
|
-
* shell: "node ./app.js",
|
|
46
|
-
* },
|
|
47
|
-
* deployment: {
|
|
48
|
-
* zip: {
|
|
49
|
-
* sourceUrl: pulumi.interpolate`https://storage.googleapis.com/${bucket.name}/${object.name}`,
|
|
50
|
-
* },
|
|
51
|
-
* },
|
|
52
|
-
* envVariables: {
|
|
53
|
-
* port: "8080",
|
|
54
|
-
* },
|
|
55
|
-
* });
|
|
56
|
-
* const liveapp = new gcp.appengine.EngineSplitTraffic("liveapp", {
|
|
57
|
-
* service: liveappV2.service,
|
|
58
|
-
* migrateTraffic: false,
|
|
59
|
-
* split: {
|
|
60
|
-
* shardBy: "IP",
|
|
61
|
-
* allocations: pulumi.all([liveappV1.versionId, liveappV2.versionId]).apply(([liveappV1VersionId, liveappV2VersionId]) => {
|
|
62
|
-
* [liveappV1VersionId]: 0.75,
|
|
63
|
-
* [liveappV2VersionId]: 0.25,
|
|
64
|
-
* }),
|
|
65
|
-
* },
|
|
66
|
-
* });
|
|
67
|
-
* ```
|
|
68
11
|
*
|
|
69
12
|
* ## Import
|
|
70
13
|
*
|
|
@@ -13,63 +13,6 @@ const utilities = require("../utilities");
|
|
|
13
13
|
* * [API documentation](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services)
|
|
14
14
|
*
|
|
15
15
|
* ## Example Usage
|
|
16
|
-
* ### App Engine Service Split Traffic
|
|
17
|
-
*
|
|
18
|
-
* ```typescript
|
|
19
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
20
|
-
* import * as gcp from "@pulumi/gcp";
|
|
21
|
-
*
|
|
22
|
-
* const bucket = new gcp.storage.Bucket("bucket", {location: "US"});
|
|
23
|
-
* const object = new gcp.storage.BucketObject("object", {
|
|
24
|
-
* bucket: bucket.name,
|
|
25
|
-
* source: new pulumi.asset.FileAsset("./test-fixtures/appengine/hello-world.zip"),
|
|
26
|
-
* });
|
|
27
|
-
* const liveappV1 = new gcp.appengine.StandardAppVersion("liveappV1", {
|
|
28
|
-
* versionId: "v1",
|
|
29
|
-
* service: "liveapp",
|
|
30
|
-
* deleteServiceOnDestroy: true,
|
|
31
|
-
* runtime: "nodejs10",
|
|
32
|
-
* entrypoint: {
|
|
33
|
-
* shell: "node ./app.js",
|
|
34
|
-
* },
|
|
35
|
-
* deployment: {
|
|
36
|
-
* zip: {
|
|
37
|
-
* sourceUrl: pulumi.interpolate`https://storage.googleapis.com/${bucket.name}/${object.name}`,
|
|
38
|
-
* },
|
|
39
|
-
* },
|
|
40
|
-
* envVariables: {
|
|
41
|
-
* port: "8080",
|
|
42
|
-
* },
|
|
43
|
-
* });
|
|
44
|
-
* const liveappV2 = new gcp.appengine.StandardAppVersion("liveappV2", {
|
|
45
|
-
* versionId: "v2",
|
|
46
|
-
* service: "liveapp",
|
|
47
|
-
* noopOnDestroy: true,
|
|
48
|
-
* runtime: "nodejs10",
|
|
49
|
-
* entrypoint: {
|
|
50
|
-
* shell: "node ./app.js",
|
|
51
|
-
* },
|
|
52
|
-
* deployment: {
|
|
53
|
-
* zip: {
|
|
54
|
-
* sourceUrl: pulumi.interpolate`https://storage.googleapis.com/${bucket.name}/${object.name}`,
|
|
55
|
-
* },
|
|
56
|
-
* },
|
|
57
|
-
* envVariables: {
|
|
58
|
-
* port: "8080",
|
|
59
|
-
* },
|
|
60
|
-
* });
|
|
61
|
-
* const liveapp = new gcp.appengine.EngineSplitTraffic("liveapp", {
|
|
62
|
-
* service: liveappV2.service,
|
|
63
|
-
* migrateTraffic: false,
|
|
64
|
-
* split: {
|
|
65
|
-
* shardBy: "IP",
|
|
66
|
-
* allocations: pulumi.all([liveappV1.versionId, liveappV2.versionId]).apply(([liveappV1VersionId, liveappV2VersionId]) => {
|
|
67
|
-
* [liveappV1VersionId]: 0.75,
|
|
68
|
-
* [liveappV2VersionId]: 0.25,
|
|
69
|
-
* }),
|
|
70
|
-
* },
|
|
71
|
-
* });
|
|
72
|
-
* ```
|
|
73
16
|
*
|
|
74
17
|
* ## Import
|
|
75
18
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"engineSplitTraffic.js","sourceRoot":"","sources":["../../appengine/engineSplitTraffic.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"engineSplitTraffic.js","sourceRoot":"","sources":["../../appengine/engineSplitTraffic.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,MAAa,kBAAmB,SAAQ,MAAM,CAAC,cAAc;IAuDzD,YAAY,IAAY,EAAE,WAA8D,EAAE,IAAmC;QACzH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAkD,CAAC;YACjE,cAAc,CAAC,gBAAgB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,cAAc,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5E,cAAc,CAAC,SAAS,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,SAAS,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,OAAO,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;SAC7D;aAAM;YACH,MAAM,IAAI,GAAG,WAAiD,CAAC;YAC/D,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,OAAO,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACpD,MAAM,IAAI,KAAK,CAAC,qCAAqC,CAAC,CAAC;aAC1D;YACD,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,KAAK,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAClD,MAAM,IAAI,KAAK,CAAC,mCAAmC,CAAC,CAAC;aACxD;YACD,cAAc,CAAC,gBAAgB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1E,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;SAC3D;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,kBAAkB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACvE,CAAC;IA9ED;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA+B,EAAE,IAAmC;QAC7H,OAAO,IAAI,kBAAkB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACzE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,kBAAkB,CAAC,YAAY,CAAC;IACnE,CAAC;;AA1BL,gDAgFC;AAlEG,gBAAgB;AACO,+BAAY,GAAG,qDAAqD,CAAC"}
|
package/bigquery/appProfile.d.ts
CHANGED
|
@@ -35,7 +35,7 @@ import { input as inputs, output as outputs } from "../types";
|
|
|
35
35
|
* storageType: "HDD",
|
|
36
36
|
* },
|
|
37
37
|
* ],
|
|
38
|
-
* deletionProtection:
|
|
38
|
+
* deletionProtection: true,
|
|
39
39
|
* });
|
|
40
40
|
* const ap = new gcp.bigquery.AppProfile("ap", {
|
|
41
41
|
* instance: instance.name,
|
|
@@ -57,7 +57,7 @@ import { input as inputs, output as outputs } from "../types";
|
|
|
57
57
|
* numNodes: 3,
|
|
58
58
|
* storageType: "HDD",
|
|
59
59
|
* }],
|
|
60
|
-
* deletionProtection:
|
|
60
|
+
* deletionProtection: true,
|
|
61
61
|
* });
|
|
62
62
|
* const ap = new gcp.bigquery.AppProfile("ap", {
|
|
63
63
|
* instance: instance.name,
|
|
@@ -96,7 +96,7 @@ import { input as inputs, output as outputs } from "../types";
|
|
|
96
96
|
* storageType: "HDD",
|
|
97
97
|
* },
|
|
98
98
|
* ],
|
|
99
|
-
* deletionProtection:
|
|
99
|
+
* deletionProtection: true,
|
|
100
100
|
* });
|
|
101
101
|
* const ap = new gcp.bigquery.AppProfile("ap", {
|
|
102
102
|
* instance: instance.name,
|
package/bigquery/appProfile.js
CHANGED
|
@@ -40,7 +40,7 @@ const utilities = require("../utilities");
|
|
|
40
40
|
* storageType: "HDD",
|
|
41
41
|
* },
|
|
42
42
|
* ],
|
|
43
|
-
* deletionProtection:
|
|
43
|
+
* deletionProtection: true,
|
|
44
44
|
* });
|
|
45
45
|
* const ap = new gcp.bigquery.AppProfile("ap", {
|
|
46
46
|
* instance: instance.name,
|
|
@@ -62,7 +62,7 @@ const utilities = require("../utilities");
|
|
|
62
62
|
* numNodes: 3,
|
|
63
63
|
* storageType: "HDD",
|
|
64
64
|
* }],
|
|
65
|
-
* deletionProtection:
|
|
65
|
+
* deletionProtection: true,
|
|
66
66
|
* });
|
|
67
67
|
* const ap = new gcp.bigquery.AppProfile("ap", {
|
|
68
68
|
* instance: instance.name,
|
|
@@ -101,7 +101,7 @@ const utilities = require("../utilities");
|
|
|
101
101
|
* storageType: "HDD",
|
|
102
102
|
* },
|
|
103
103
|
* ],
|
|
104
|
-
* deletionProtection:
|
|
104
|
+
* deletionProtection: true,
|
|
105
105
|
* });
|
|
106
106
|
* const ap = new gcp.bigquery.AppProfile("ap", {
|
|
107
107
|
* instance: instance.name,
|
package/bigquery/connection.d.ts
CHANGED
|
@@ -26,7 +26,7 @@ import { input as inputs, output as outputs } from "../types";
|
|
|
26
26
|
* settings: {
|
|
27
27
|
* tier: "db-f1-micro",
|
|
28
28
|
* },
|
|
29
|
-
* deletionProtection:
|
|
29
|
+
* deletionProtection: true,
|
|
30
30
|
* }, {
|
|
31
31
|
* provider: google_beta,
|
|
32
32
|
* });
|
|
@@ -72,7 +72,7 @@ import { input as inputs, output as outputs } from "../types";
|
|
|
72
72
|
* settings: {
|
|
73
73
|
* tier: "db-f1-micro",
|
|
74
74
|
* },
|
|
75
|
-
* deletionProtection:
|
|
75
|
+
* deletionProtection: true,
|
|
76
76
|
* }, {
|
|
77
77
|
* provider: google_beta,
|
|
78
78
|
* });
|
package/bigquery/connection.js
CHANGED
|
@@ -31,7 +31,7 @@ const utilities = require("../utilities");
|
|
|
31
31
|
* settings: {
|
|
32
32
|
* tier: "db-f1-micro",
|
|
33
33
|
* },
|
|
34
|
-
* deletionProtection:
|
|
34
|
+
* deletionProtection: true,
|
|
35
35
|
* }, {
|
|
36
36
|
* provider: google_beta,
|
|
37
37
|
* });
|
|
@@ -77,7 +77,7 @@ const utilities = require("../utilities");
|
|
|
77
77
|
* settings: {
|
|
78
78
|
* tier: "db-f1-micro",
|
|
79
79
|
* },
|
|
80
|
-
* deletionProtection:
|
|
80
|
+
* deletionProtection: true,
|
|
81
81
|
* }, {
|
|
82
82
|
* provider: google_beta,
|
|
83
83
|
* });
|
|
@@ -135,7 +135,7 @@ import { input as inputs, output as outputs } from "../types";
|
|
|
135
135
|
* pool: "ca-pool",
|
|
136
136
|
* certificateAuthorityId: "my-certificate-authority",
|
|
137
137
|
* location: "us-central1",
|
|
138
|
-
* deletionProtection:
|
|
138
|
+
* deletionProtection: true,
|
|
139
139
|
* keySpec: {
|
|
140
140
|
* cloudKmsKeyVersion: "projects/keys-project/locations/us-central1/keyRings/key-ring/cryptoKeys/crypto-key/cryptoKeyVersions/1",
|
|
141
141
|
* },
|
|
@@ -140,7 +140,7 @@ const utilities = require("../utilities");
|
|
|
140
140
|
* pool: "ca-pool",
|
|
141
141
|
* certificateAuthorityId: "my-certificate-authority",
|
|
142
142
|
* location: "us-central1",
|
|
143
|
-
* deletionProtection:
|
|
143
|
+
* deletionProtection: true,
|
|
144
144
|
* keySpec: {
|
|
145
145
|
* cloudKmsKeyVersion: "projects/keys-project/locations/us-central1/keyRings/key-ring/cryptoKeys/crypto-key/cryptoKeyVersions/1",
|
|
146
146
|
* },
|
package/cloudrun/service.d.ts
CHANGED
|
@@ -59,7 +59,7 @@ import { input as inputs, output as outputs } from "../types";
|
|
|
59
59
|
* settings: {
|
|
60
60
|
* tier: "db-f1-micro",
|
|
61
61
|
* },
|
|
62
|
-
* deletionProtection:
|
|
62
|
+
* deletionProtection: true,
|
|
63
63
|
* });
|
|
64
64
|
* const _default = new gcp.cloudrun.Service("default", {
|
|
65
65
|
* location: "us-central1",
|
package/cloudrun/service.js
CHANGED
|
@@ -133,7 +133,7 @@ import { input as inputs, output as outputs } from "../types";
|
|
|
133
133
|
*
|
|
134
134
|
* const externalProxy = new gcp.compute.GlobalNetworkEndpointGroup("externalProxy", {
|
|
135
135
|
* networkEndpointType: "INTERNET_FQDN_PORT",
|
|
136
|
-
* defaultPort:
|
|
136
|
+
* defaultPort: 443,
|
|
137
137
|
* }, {
|
|
138
138
|
* provider: google_beta,
|
|
139
139
|
* });
|
|
@@ -138,7 +138,7 @@ const utilities = require("../utilities");
|
|
|
138
138
|
*
|
|
139
139
|
* const externalProxy = new gcp.compute.GlobalNetworkEndpointGroup("externalProxy", {
|
|
140
140
|
* networkEndpointType: "INTERNET_FQDN_PORT",
|
|
141
|
-
* defaultPort:
|
|
141
|
+
* defaultPort: 443,
|
|
142
142
|
* }, {
|
|
143
143
|
* provider: google_beta,
|
|
144
144
|
* });
|
|
@@ -214,7 +214,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
214
214
|
* const defaultRegionHealthCheck = new gcp.compute.RegionHealthCheck("defaultRegionHealthCheck", {
|
|
215
215
|
* region: "europe-west1",
|
|
216
216
|
* httpHealthCheck: {
|
|
217
|
-
* port:
|
|
217
|
+
* port: 80,
|
|
218
218
|
* },
|
|
219
219
|
* }, {
|
|
220
220
|
* provider: google_beta,
|
|
@@ -373,7 +373,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
373
373
|
* timeoutSec: 1,
|
|
374
374
|
* region: "us-central1",
|
|
375
375
|
* tcpHealthCheck: {
|
|
376
|
-
* port:
|
|
376
|
+
* port: 80,
|
|
377
377
|
* },
|
|
378
378
|
* }, {
|
|
379
379
|
* provider: google_beta,
|
|
@@ -388,7 +388,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
388
388
|
* // Forwarding rule for External Network Load Balancing using Backend Services
|
|
389
389
|
* const _default = new gcp.compute.ForwardingRule("default", {
|
|
390
390
|
* region: "us-central1",
|
|
391
|
-
* portRange: 80,
|
|
391
|
+
* portRange: "80",
|
|
392
392
|
* backendService: backend.id,
|
|
393
393
|
* }, {
|
|
394
394
|
* provider: google_beta,
|
|
@@ -404,7 +404,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
404
404
|
* checkIntervalSec: 1,
|
|
405
405
|
* timeoutSec: 1,
|
|
406
406
|
* tcpHealthCheck: {
|
|
407
|
-
* port:
|
|
407
|
+
* port: 80,
|
|
408
408
|
* },
|
|
409
409
|
* });
|
|
410
410
|
* const backend = new gcp.compute.RegionBackendService("backend", {
|
|
@@ -480,7 +480,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
480
480
|
* checkIntervalSec: 1,
|
|
481
481
|
* timeoutSec: 1,
|
|
482
482
|
* tcpHealthCheck: {
|
|
483
|
-
* port:
|
|
483
|
+
* port: 80,
|
|
484
484
|
* },
|
|
485
485
|
* });
|
|
486
486
|
* const backend = new gcp.compute.RegionBackendService("backend", {
|
|
@@ -220,7 +220,7 @@ const utilities = require("../utilities");
|
|
|
220
220
|
* const defaultRegionHealthCheck = new gcp.compute.RegionHealthCheck("defaultRegionHealthCheck", {
|
|
221
221
|
* region: "europe-west1",
|
|
222
222
|
* httpHealthCheck: {
|
|
223
|
-
* port:
|
|
223
|
+
* port: 80,
|
|
224
224
|
* },
|
|
225
225
|
* }, {
|
|
226
226
|
* provider: google_beta,
|
|
@@ -379,7 +379,7 @@ const utilities = require("../utilities");
|
|
|
379
379
|
* timeoutSec: 1,
|
|
380
380
|
* region: "us-central1",
|
|
381
381
|
* tcpHealthCheck: {
|
|
382
|
-
* port:
|
|
382
|
+
* port: 80,
|
|
383
383
|
* },
|
|
384
384
|
* }, {
|
|
385
385
|
* provider: google_beta,
|
|
@@ -394,7 +394,7 @@ const utilities = require("../utilities");
|
|
|
394
394
|
* // Forwarding rule for External Network Load Balancing using Backend Services
|
|
395
395
|
* const _default = new gcp.compute.ForwardingRule("default", {
|
|
396
396
|
* region: "us-central1",
|
|
397
|
-
* portRange: 80,
|
|
397
|
+
* portRange: "80",
|
|
398
398
|
* backendService: backend.id,
|
|
399
399
|
* }, {
|
|
400
400
|
* provider: google_beta,
|
|
@@ -410,7 +410,7 @@ const utilities = require("../utilities");
|
|
|
410
410
|
* checkIntervalSec: 1,
|
|
411
411
|
* timeoutSec: 1,
|
|
412
412
|
* tcpHealthCheck: {
|
|
413
|
-
* port:
|
|
413
|
+
* port: 80,
|
|
414
414
|
* },
|
|
415
415
|
* });
|
|
416
416
|
* const backend = new gcp.compute.RegionBackendService("backend", {
|
|
@@ -486,7 +486,7 @@ const utilities = require("../utilities");
|
|
|
486
486
|
* checkIntervalSec: 1,
|
|
487
487
|
* timeoutSec: 1,
|
|
488
488
|
* tcpHealthCheck: {
|
|
489
|
-
* port:
|
|
489
|
+
* port: 80,
|
|
490
490
|
* },
|
|
491
491
|
* });
|
|
492
492
|
* const backend = new gcp.compute.RegionBackendService("backend", {
|
|
@@ -61,7 +61,7 @@ import { input as inputs, output as outputs } from "../types";
|
|
|
61
61
|
* timeoutSec: 1,
|
|
62
62
|
* checkIntervalSec: 1,
|
|
63
63
|
* tcpHealthCheck: {
|
|
64
|
-
* port:
|
|
64
|
+
* port: 443,
|
|
65
65
|
* },
|
|
66
66
|
* });
|
|
67
67
|
* // instance template
|
|
@@ -190,7 +190,7 @@ import { input as inputs, output as outputs } from "../types";
|
|
|
190
190
|
* timeoutSec: 1,
|
|
191
191
|
* checkIntervalSec: 1,
|
|
192
192
|
* tcpHealthCheck: {
|
|
193
|
-
* port:
|
|
193
|
+
* port: 80,
|
|
194
194
|
* },
|
|
195
195
|
* }, {
|
|
196
196
|
* provider: google_beta,
|
|
@@ -507,7 +507,7 @@ import { input as inputs, output as outputs } from "../types";
|
|
|
507
507
|
* checkIntervalSec: 1,
|
|
508
508
|
* timeoutSec: 1,
|
|
509
509
|
* tcpHealthCheck: {
|
|
510
|
-
* port:
|
|
510
|
+
* port: 80,
|
|
511
511
|
* },
|
|
512
512
|
* }, {
|
|
513
513
|
* provider: google_beta,
|
|
@@ -616,14 +616,14 @@ import { input as inputs, output as outputs } from "../types";
|
|
|
616
616
|
* // Zonal NEG with GCE_VM_IP_PORT
|
|
617
617
|
* const defaultNetworkEndpointGroup = new gcp.compute.NetworkEndpointGroup("defaultNetworkEndpointGroup", {
|
|
618
618
|
* network: defaultNetwork.id,
|
|
619
|
-
* defaultPort:
|
|
619
|
+
* defaultPort: 90,
|
|
620
620
|
* zone: "us-central1-a",
|
|
621
621
|
* networkEndpointType: "GCE_VM_IP_PORT",
|
|
622
622
|
* });
|
|
623
623
|
* // Hybrid connectivity NEG
|
|
624
624
|
* const hybridNetworkEndpointGroup = new gcp.compute.NetworkEndpointGroup("hybridNetworkEndpointGroup", {
|
|
625
625
|
* network: defaultNetwork.id,
|
|
626
|
-
* defaultPort:
|
|
626
|
+
* defaultPort: 90,
|
|
627
627
|
* zone: "us-central1-a",
|
|
628
628
|
* networkEndpointType: "NON_GCP_PRIVATE_IP_PORT",
|
|
629
629
|
* });
|
|
@@ -636,7 +636,7 @@ import { input as inputs, output as outputs } from "../types";
|
|
|
636
636
|
* timeoutSec: 1,
|
|
637
637
|
* checkIntervalSec: 1,
|
|
638
638
|
* tcpHealthCheck: {
|
|
639
|
-
* port:
|
|
639
|
+
* port: 80,
|
|
640
640
|
* },
|
|
641
641
|
* });
|
|
642
642
|
* // Backend service for Zonal NEG
|
|
@@ -66,7 +66,7 @@ const utilities = require("../utilities");
|
|
|
66
66
|
* timeoutSec: 1,
|
|
67
67
|
* checkIntervalSec: 1,
|
|
68
68
|
* tcpHealthCheck: {
|
|
69
|
-
* port:
|
|
69
|
+
* port: 443,
|
|
70
70
|
* },
|
|
71
71
|
* });
|
|
72
72
|
* // instance template
|
|
@@ -195,7 +195,7 @@ const utilities = require("../utilities");
|
|
|
195
195
|
* timeoutSec: 1,
|
|
196
196
|
* checkIntervalSec: 1,
|
|
197
197
|
* tcpHealthCheck: {
|
|
198
|
-
* port:
|
|
198
|
+
* port: 80,
|
|
199
199
|
* },
|
|
200
200
|
* }, {
|
|
201
201
|
* provider: google_beta,
|
|
@@ -512,7 +512,7 @@ const utilities = require("../utilities");
|
|
|
512
512
|
* checkIntervalSec: 1,
|
|
513
513
|
* timeoutSec: 1,
|
|
514
514
|
* tcpHealthCheck: {
|
|
515
|
-
* port:
|
|
515
|
+
* port: 80,
|
|
516
516
|
* },
|
|
517
517
|
* }, {
|
|
518
518
|
* provider: google_beta,
|
|
@@ -621,14 +621,14 @@ const utilities = require("../utilities");
|
|
|
621
621
|
* // Zonal NEG with GCE_VM_IP_PORT
|
|
622
622
|
* const defaultNetworkEndpointGroup = new gcp.compute.NetworkEndpointGroup("defaultNetworkEndpointGroup", {
|
|
623
623
|
* network: defaultNetwork.id,
|
|
624
|
-
* defaultPort:
|
|
624
|
+
* defaultPort: 90,
|
|
625
625
|
* zone: "us-central1-a",
|
|
626
626
|
* networkEndpointType: "GCE_VM_IP_PORT",
|
|
627
627
|
* });
|
|
628
628
|
* // Hybrid connectivity NEG
|
|
629
629
|
* const hybridNetworkEndpointGroup = new gcp.compute.NetworkEndpointGroup("hybridNetworkEndpointGroup", {
|
|
630
630
|
* network: defaultNetwork.id,
|
|
631
|
-
* defaultPort:
|
|
631
|
+
* defaultPort: 90,
|
|
632
632
|
* zone: "us-central1-a",
|
|
633
633
|
* networkEndpointType: "NON_GCP_PRIVATE_IP_PORT",
|
|
634
634
|
* });
|
|
@@ -641,7 +641,7 @@ const utilities = require("../utilities");
|
|
|
641
641
|
* timeoutSec: 1,
|
|
642
642
|
* checkIntervalSec: 1,
|
|
643
643
|
* tcpHealthCheck: {
|
|
644
|
-
* port:
|
|
644
|
+
* port: 80,
|
|
645
645
|
* },
|
|
646
646
|
* });
|
|
647
647
|
* // Backend service for Zonal NEG
|
|
@@ -18,7 +18,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
18
18
|
* import * as gcp from "@pulumi/gcp";
|
|
19
19
|
*
|
|
20
20
|
* const neg = new gcp.compute.GlobalNetworkEndpointGroup("neg", {
|
|
21
|
-
* defaultPort:
|
|
21
|
+
* defaultPort: 90,
|
|
22
22
|
* networkEndpointType: "INTERNET_FQDN_PORT",
|
|
23
23
|
* });
|
|
24
24
|
* const default_endpoint = new gcp.compute.GlobalNetworkEndpoint("default-endpoint", {
|
|
@@ -24,7 +24,7 @@ const utilities = require("../utilities");
|
|
|
24
24
|
* import * as gcp from "@pulumi/gcp";
|
|
25
25
|
*
|
|
26
26
|
* const neg = new gcp.compute.GlobalNetworkEndpointGroup("neg", {
|
|
27
|
-
* defaultPort:
|
|
27
|
+
* defaultPort: 90,
|
|
28
28
|
* networkEndpointType: "INTERNET_FQDN_PORT",
|
|
29
29
|
* });
|
|
30
30
|
* const default_endpoint = new gcp.compute.GlobalNetworkEndpoint("default-endpoint", {
|
package/compute/healthCheck.d.ts
CHANGED
package/compute/healthCheck.js
CHANGED
|
@@ -33,11 +33,11 @@ import { input as inputs, output as outputs } from "../types";
|
|
|
33
33
|
* namedPorts: [
|
|
34
34
|
* {
|
|
35
35
|
* name: "http",
|
|
36
|
-
* port:
|
|
36
|
+
* port: 8080,
|
|
37
37
|
* },
|
|
38
38
|
* {
|
|
39
39
|
* name: "https",
|
|
40
|
-
* port:
|
|
40
|
+
* port: 8443,
|
|
41
41
|
* },
|
|
42
42
|
* ],
|
|
43
43
|
* zone: "us-central1-a",
|
|
@@ -74,11 +74,11 @@ import { input as inputs, output as outputs } from "../types";
|
|
|
74
74
|
* namedPorts: [
|
|
75
75
|
* {
|
|
76
76
|
* name: "http",
|
|
77
|
-
* port:
|
|
77
|
+
* port: 8080,
|
|
78
78
|
* },
|
|
79
79
|
* {
|
|
80
80
|
* name: "https",
|
|
81
|
-
* port:
|
|
81
|
+
* port: 8443,
|
|
82
82
|
* },
|
|
83
83
|
* ],
|
|
84
84
|
* });
|
package/compute/instanceGroup.js
CHANGED
|
@@ -38,11 +38,11 @@ const utilities = require("../utilities");
|
|
|
38
38
|
* namedPorts: [
|
|
39
39
|
* {
|
|
40
40
|
* name: "http",
|
|
41
|
-
* port:
|
|
41
|
+
* port: 8080,
|
|
42
42
|
* },
|
|
43
43
|
* {
|
|
44
44
|
* name: "https",
|
|
45
|
-
* port:
|
|
45
|
+
* port: 8443,
|
|
46
46
|
* },
|
|
47
47
|
* ],
|
|
48
48
|
* zone: "us-central1-a",
|
|
@@ -79,11 +79,11 @@ const utilities = require("../utilities");
|
|
|
79
79
|
* namedPorts: [
|
|
80
80
|
* {
|
|
81
81
|
* name: "http",
|
|
82
|
-
* port:
|
|
82
|
+
* port: 8080,
|
|
83
83
|
* },
|
|
84
84
|
* {
|
|
85
85
|
* name: "https",
|
|
86
|
-
* port:
|
|
86
|
+
* port: 8443,
|
|
87
87
|
* },
|
|
88
88
|
* ],
|
|
89
89
|
* });
|
|
@@ -22,7 +22,7 @@ import { input as inputs, output as outputs } from "../types";
|
|
|
22
22
|
* unhealthyThreshold: 10,
|
|
23
23
|
* httpHealthCheck: {
|
|
24
24
|
* requestPath: "/healthz",
|
|
25
|
-
* port:
|
|
25
|
+
* port: 8080,
|
|
26
26
|
* },
|
|
27
27
|
* });
|
|
28
28
|
* const appserver = new gcp.compute.InstanceGroupManager("appserver", {
|