@pulumi/gcp 6.32.0 → 6.33.0-alpha.1658922558

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (110) hide show
  1. package/apigateway/apiConfig.d.ts +1 -1
  2. package/apigateway/apiConfig.js +1 -1
  3. package/apigateway/gateway.d.ts +1 -1
  4. package/apigateway/gateway.js +1 -1
  5. package/appengine/engineSplitTraffic.d.ts +57 -0
  6. package/appengine/engineSplitTraffic.js +57 -0
  7. package/appengine/engineSplitTraffic.js.map +1 -1
  8. package/certificateauthority/caPool.d.ts +0 -91
  9. package/certificateauthority/caPool.js +0 -91
  10. package/certificateauthority/caPool.js.map +1 -1
  11. package/certificateauthority/certificate.d.ts +4 -4
  12. package/certificateauthority/certificate.js +4 -4
  13. package/compute/backendService.d.ts +0 -124
  14. package/compute/backendService.js +0 -124
  15. package/compute/backendService.js.map +1 -1
  16. package/compute/backendServiceSignedUrlKey.d.ts +0 -49
  17. package/compute/backendServiceSignedUrlKey.js +0 -49
  18. package/compute/backendServiceSignedUrlKey.js.map +1 -1
  19. package/compute/forwardingRule.d.ts +0 -846
  20. package/compute/forwardingRule.js +0 -846
  21. package/compute/forwardingRule.js.map +1 -1
  22. package/compute/globalForwardingRule.d.ts +0 -661
  23. package/compute/globalForwardingRule.js +0 -661
  24. package/compute/globalForwardingRule.js.map +1 -1
  25. package/compute/instanceGroup.d.ts +0 -49
  26. package/compute/instanceGroup.js +0 -49
  27. package/compute/instanceGroup.js.map +1 -1
  28. package/compute/instanceTemplate.d.ts +0 -71
  29. package/compute/instanceTemplate.js +0 -71
  30. package/compute/instanceTemplate.js.map +1 -1
  31. package/compute/managedSslCertificate.d.ts +0 -53
  32. package/compute/managedSslCertificate.js +0 -53
  33. package/compute/managedSslCertificate.js.map +1 -1
  34. package/compute/mangedSslCertificate.d.ts +0 -53
  35. package/compute/mangedSslCertificate.js +0 -53
  36. package/compute/mangedSslCertificate.js.map +1 -1
  37. package/compute/packetMirroring.d.ts +0 -64
  38. package/compute/packetMirroring.js +0 -64
  39. package/compute/packetMirroring.js.map +1 -1
  40. package/compute/regionBackendService.d.ts +0 -218
  41. package/compute/regionBackendService.js +0 -218
  42. package/compute/regionBackendService.js.map +1 -1
  43. package/compute/regionSslCertificate.d.ts +2 -60
  44. package/compute/regionSslCertificate.js +2 -60
  45. package/compute/regionSslCertificate.js.map +1 -1
  46. package/compute/regionTargetHttpProxy.d.ts +0 -40
  47. package/compute/regionTargetHttpProxy.js +0 -40
  48. package/compute/regionTargetHttpProxy.js.map +1 -1
  49. package/compute/regionTargetHttpsProxy.d.ts +0 -48
  50. package/compute/regionTargetHttpsProxy.js +0 -48
  51. package/compute/regionTargetHttpsProxy.js.map +1 -1
  52. package/compute/regionUrlMap.d.ts +0 -353
  53. package/compute/regionUrlMap.js +0 -353
  54. package/compute/regionUrlMap.js.map +1 -1
  55. package/compute/route.d.ts +0 -118
  56. package/compute/route.js +0 -118
  57. package/compute/route.js.map +1 -1
  58. package/compute/serviceAttachment.d.ts +0 -127
  59. package/compute/serviceAttachment.js +0 -127
  60. package/compute/serviceAttachment.js.map +1 -1
  61. package/compute/sslcertificate.d.ts +2 -51
  62. package/compute/sslcertificate.js +2 -51
  63. package/compute/sslcertificate.js.map +1 -1
  64. package/compute/targetGrpcProxy.d.ts +0 -88
  65. package/compute/targetGrpcProxy.js +0 -88
  66. package/compute/targetGrpcProxy.js.map +1 -1
  67. package/compute/targetHttpProxy.d.ts +0 -34
  68. package/compute/targetHttpProxy.js +0 -34
  69. package/compute/targetHttpProxy.js.map +1 -1
  70. package/compute/targetHttpsProxy.d.ts +0 -43
  71. package/compute/targetHttpsProxy.js +0 -43
  72. package/compute/targetHttpsProxy.js.map +1 -1
  73. package/compute/targetPool.d.ts +0 -20
  74. package/compute/targetPool.js +0 -20
  75. package/compute/targetPool.js.map +1 -1
  76. package/compute/targetSSLProxy.d.ts +0 -27
  77. package/compute/targetSSLProxy.js +0 -27
  78. package/compute/targetSSLProxy.js.map +1 -1
  79. package/compute/targetTCPProxy.d.ts +0 -20
  80. package/compute/targetTCPProxy.js +0 -20
  81. package/compute/targetTCPProxy.js.map +1 -1
  82. package/compute/urlmap.d.ts +0 -497
  83. package/compute/urlmap.js +0 -497
  84. package/compute/urlmap.js.map +1 -1
  85. package/containeranalysis/occurence.d.ts +0 -45
  86. package/containeranalysis/occurence.js +0 -45
  87. package/containeranalysis/occurence.js.map +1 -1
  88. package/deploymentmanager/deployment.d.ts +1 -1
  89. package/deploymentmanager/deployment.js +1 -1
  90. package/endpoints/service.d.ts +1 -1
  91. package/endpoints/service.js +1 -1
  92. package/identityplatform/inboundSamlConfig.d.ts +1 -1
  93. package/identityplatform/inboundSamlConfig.js +1 -1
  94. package/identityplatform/tenantInboundSamlConfig.d.ts +1 -1
  95. package/identityplatform/tenantInboundSamlConfig.js +1 -1
  96. package/iot/device.d.ts +1 -1
  97. package/iot/device.js +1 -1
  98. package/iot/registry.d.ts +1 -1
  99. package/iot/registry.js +1 -1
  100. package/kms/registry.d.ts +1 -1
  101. package/kms/registry.js +1 -1
  102. package/oslogin/sshPublicKey.d.ts +1 -1
  103. package/oslogin/sshPublicKey.js +1 -1
  104. package/package.json +4 -3
  105. package/package.json.bak +2 -1
  106. package/package.json.dev +4 -3
  107. package/runtimeconfig/variable.d.ts +1 -1
  108. package/runtimeconfig/variable.js +1 -1
  109. package/storage/getObjectSignedUrl.d.ts +1 -1
  110. package/storage/getObjectSignedUrl.js +1 -1
@@ -14,8 +14,8 @@ import { input as inputs, output as outputs } from "../types";
14
14
  *
15
15
  * ```typescript
16
16
  * import * as pulumi from "@pulumi/pulumi";
17
+ * import * as fs from "fs";
17
18
  * import * as gcp from "@pulumi/gcp";
18
- * import * from "fs";
19
19
  *
20
20
  * const apiCfgApi = new gcp.apigateway.Api("apiCfgApi", {apiId: "api-cfg"}, {
21
21
  * provider: google_beta,
@@ -19,8 +19,8 @@ const utilities = require("../utilities");
19
19
  *
20
20
  * ```typescript
21
21
  * import * as pulumi from "@pulumi/pulumi";
22
+ * import * as fs from "fs";
22
23
  * import * as gcp from "@pulumi/gcp";
23
- * import * from "fs";
24
24
  *
25
25
  * const apiCfgApi = new gcp.apigateway.Api("apiCfgApi", {apiId: "api-cfg"}, {
26
26
  * provider: google_beta,
@@ -13,8 +13,8 @@ import * as pulumi from "@pulumi/pulumi";
13
13
  *
14
14
  * ```typescript
15
15
  * import * as pulumi from "@pulumi/pulumi";
16
+ * import * as fs from "fs";
16
17
  * import * as gcp from "@pulumi/gcp";
17
- * import * from "fs";
18
18
  *
19
19
  * const apiGwApi = new gcp.apigateway.Api("apiGwApi", {apiId: "api-gw"}, {
20
20
  * provider: google_beta,
@@ -19,8 +19,8 @@ const utilities = require("../utilities");
19
19
  *
20
20
  * ```typescript
21
21
  * import * as pulumi from "@pulumi/pulumi";
22
+ * import * as fs from "fs";
22
23
  * import * as gcp from "@pulumi/gcp";
23
- * import * from "fs";
24
24
  *
25
25
  * const apiGwApi = new gcp.apigateway.Api("apiGwApi", {apiId: "api-gw"}, {
26
26
  * provider: google_beta,
@@ -8,6 +8,63 @@ 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
+ * ```
11
68
  *
12
69
  * ## Import
13
70
  *
@@ -13,6 +13,63 @@ 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
+ * ```
16
73
  *
17
74
  * ## Import
18
75
  *
@@ -1 +1 @@
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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,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"}
@@ -121,97 +121,6 @@ import { input as inputs, output as outputs } from "../types";
121
121
  * tier: "ENTERPRISE",
122
122
  * });
123
123
  * ```
124
- * ### Privateca Quickstart
125
- *
126
- * ```typescript
127
- * import * as pulumi from "@pulumi/pulumi";
128
- * import * as gcp from "@pulumi/gcp";
129
- * import * as tls from "@pulumi/tls";
130
- *
131
- * const examplePrivateKey = new tls.PrivateKey("examplePrivateKey", {algorithm: "RSA"});
132
- * const exampleCertRequest = new tls.CertRequest("exampleCertRequest", {
133
- * keyAlgorithm: "RSA",
134
- * privateKeyPem: examplePrivateKey.privateKeyPem,
135
- * subjects: [{
136
- * commonName: "example.com",
137
- * organization: "ACME Examples, Inc",
138
- * }],
139
- * });
140
- * const defaultCaPool = new gcp.certificateauthority.CaPool("defaultCaPool", {
141
- * location: "us-central1",
142
- * tier: "ENTERPRISE",
143
- * project: "project-id",
144
- * publishingOptions: {
145
- * publishCaCert: true,
146
- * publishCrl: true,
147
- * },
148
- * labels: {
149
- * foo: "bar",
150
- * },
151
- * issuancePolicy: {
152
- * baselineValues: {
153
- * caOptions: {
154
- * isCa: false,
155
- * },
156
- * keyUsage: {
157
- * baseKeyUsage: {
158
- * digitalSignature: true,
159
- * keyEncipherment: true,
160
- * },
161
- * extendedKeyUsage: {
162
- * serverAuth: true,
163
- * },
164
- * },
165
- * },
166
- * },
167
- * });
168
- * const test_ca = new gcp.certificateauthority.Authority("test-ca", {
169
- * certificateAuthorityId: "my-authority",
170
- * location: "us-central1",
171
- * project: "project-id",
172
- * pool: google_privateca_ca_pool.pool.name,
173
- * config: {
174
- * subjectConfig: {
175
- * subject: {
176
- * countryCode: "us",
177
- * organization: "google",
178
- * organizationalUnit: "enterprise",
179
- * locality: "mountain view",
180
- * province: "california",
181
- * streetAddress: "1600 amphitheatre parkway",
182
- * postalCode: "94109",
183
- * commonName: "my-certificate-authority",
184
- * },
185
- * },
186
- * x509Config: {
187
- * caOptions: {
188
- * isCa: true,
189
- * },
190
- * keyUsage: {
191
- * baseKeyUsage: {
192
- * certSign: true,
193
- * crlSign: true,
194
- * },
195
- * extendedKeyUsage: {
196
- * serverAuth: true,
197
- * },
198
- * },
199
- * },
200
- * },
201
- * type: "SELF_SIGNED",
202
- * keySpec: {
203
- * algorithm: "RSA_PKCS1_4096_SHA256",
204
- * },
205
- * });
206
- * const defaultCertificate = new gcp.certificateauthority.Certificate("defaultCertificate", {
207
- * pool: google_privateca_ca_pool.pool.name,
208
- * certificateAuthority: test_ca.certificateAuthorityId,
209
- * project: "project-id",
210
- * location: "us-central1",
211
- * lifetime: "860s",
212
- * pemCsr: exampleCertRequest.certRequestPem,
213
- * });
214
- * ```
215
124
  *
216
125
  * ## Import
217
126
  *
@@ -126,97 +126,6 @@ const utilities = require("../utilities");
126
126
  * tier: "ENTERPRISE",
127
127
  * });
128
128
  * ```
129
- * ### Privateca Quickstart
130
- *
131
- * ```typescript
132
- * import * as pulumi from "@pulumi/pulumi";
133
- * import * as gcp from "@pulumi/gcp";
134
- * import * as tls from "@pulumi/tls";
135
- *
136
- * const examplePrivateKey = new tls.PrivateKey("examplePrivateKey", {algorithm: "RSA"});
137
- * const exampleCertRequest = new tls.CertRequest("exampleCertRequest", {
138
- * keyAlgorithm: "RSA",
139
- * privateKeyPem: examplePrivateKey.privateKeyPem,
140
- * subjects: [{
141
- * commonName: "example.com",
142
- * organization: "ACME Examples, Inc",
143
- * }],
144
- * });
145
- * const defaultCaPool = new gcp.certificateauthority.CaPool("defaultCaPool", {
146
- * location: "us-central1",
147
- * tier: "ENTERPRISE",
148
- * project: "project-id",
149
- * publishingOptions: {
150
- * publishCaCert: true,
151
- * publishCrl: true,
152
- * },
153
- * labels: {
154
- * foo: "bar",
155
- * },
156
- * issuancePolicy: {
157
- * baselineValues: {
158
- * caOptions: {
159
- * isCa: false,
160
- * },
161
- * keyUsage: {
162
- * baseKeyUsage: {
163
- * digitalSignature: true,
164
- * keyEncipherment: true,
165
- * },
166
- * extendedKeyUsage: {
167
- * serverAuth: true,
168
- * },
169
- * },
170
- * },
171
- * },
172
- * });
173
- * const test_ca = new gcp.certificateauthority.Authority("test-ca", {
174
- * certificateAuthorityId: "my-authority",
175
- * location: "us-central1",
176
- * project: "project-id",
177
- * pool: google_privateca_ca_pool.pool.name,
178
- * config: {
179
- * subjectConfig: {
180
- * subject: {
181
- * countryCode: "us",
182
- * organization: "google",
183
- * organizationalUnit: "enterprise",
184
- * locality: "mountain view",
185
- * province: "california",
186
- * streetAddress: "1600 amphitheatre parkway",
187
- * postalCode: "94109",
188
- * commonName: "my-certificate-authority",
189
- * },
190
- * },
191
- * x509Config: {
192
- * caOptions: {
193
- * isCa: true,
194
- * },
195
- * keyUsage: {
196
- * baseKeyUsage: {
197
- * certSign: true,
198
- * crlSign: true,
199
- * },
200
- * extendedKeyUsage: {
201
- * serverAuth: true,
202
- * },
203
- * },
204
- * },
205
- * },
206
- * type: "SELF_SIGNED",
207
- * keySpec: {
208
- * algorithm: "RSA_PKCS1_4096_SHA256",
209
- * },
210
- * });
211
- * const defaultCertificate = new gcp.certificateauthority.Certificate("defaultCertificate", {
212
- * pool: google_privateca_ca_pool.pool.name,
213
- * certificateAuthority: test_ca.certificateAuthorityId,
214
- * project: "project-id",
215
- * location: "us-central1",
216
- * lifetime: "860s",
217
- * pemCsr: exampleCertRequest.certRequestPem,
218
- * });
219
- * ```
220
129
  *
221
130
  * ## Import
222
131
  *
@@ -1 +1 @@
1
- {"version":3,"file":"caPool.js","sourceRoot":"","sources":["../../certificateauthority/caPool.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoOG;AACH,MAAa,MAAO,SAAQ,MAAM,CAAC,cAAc;IAuE7C,YAAY,IAAY,EAAE,WAAsC,EAAE,IAAmC;QACjG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAsC,CAAC;YACrD,cAAc,CAAC,gBAAgB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,cAAc,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5E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AAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;SACzD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,MAAM,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC3D,CAAC;IApGD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAmB,EAAE,IAAmC;QACjH,OAAO,IAAI,MAAM,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC7D,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,MAAM,CAAC,YAAY,CAAC;IACvD,CAAC;;AA1BL,wBAsGC;AAxFG,gBAAgB;AACO,mBAAY,GAAG,wCAAwC,CAAC"}
@@ -11,8 +11,8 @@ import { input as inputs, output as outputs } from "../types";
11
11
  *
12
12
  * ```typescript
13
13
  * import * as pulumi from "@pulumi/pulumi";
14
+ * import * as fs from "fs";
14
15
  * import * as gcp from "@pulumi/gcp";
15
- * import * from "fs";
16
16
  *
17
17
  * const test_ca = new gcp.certificateauthority.Authority("test-ca", {
18
18
  * certificateAuthorityId: "my-certificate-authority",
@@ -96,8 +96,8 @@ import { input as inputs, output as outputs } from "../types";
96
96
  *
97
97
  * ```typescript
98
98
  * import * as pulumi from "@pulumi/pulumi";
99
+ * import * as fs from "fs";
99
100
  * import * as gcp from "@pulumi/gcp";
100
- * import * from "fs";
101
101
  *
102
102
  * const template = new gcp.certificateauthority.CertificateTemplate("template", {
103
103
  * location: "us-central1",
@@ -219,8 +219,8 @@ import { input as inputs, output as outputs } from "../types";
219
219
  *
220
220
  * ```typescript
221
221
  * import * as pulumi from "@pulumi/pulumi";
222
+ * import * as fs from "fs";
222
223
  * import * as gcp from "@pulumi/gcp";
223
- * import * from "fs";
224
224
  *
225
225
  * const test_ca = new gcp.certificateauthority.Authority("test-ca", {
226
226
  * pool: "",
@@ -268,8 +268,8 @@ import { input as inputs, output as outputs } from "../types";
268
268
  *
269
269
  * ```typescript
270
270
  * import * as pulumi from "@pulumi/pulumi";
271
+ * import * as fs from "fs";
271
272
  * import * as gcp from "@pulumi/gcp";
272
- * import * from "fs";
273
273
  *
274
274
  * const authority = new gcp.certificateauthority.Authority("authority", {
275
275
  * pool: "",
@@ -16,8 +16,8 @@ const utilities = require("../utilities");
16
16
  *
17
17
  * ```typescript
18
18
  * import * as pulumi from "@pulumi/pulumi";
19
+ * import * as fs from "fs";
19
20
  * import * as gcp from "@pulumi/gcp";
20
- * import * from "fs";
21
21
  *
22
22
  * const test_ca = new gcp.certificateauthority.Authority("test-ca", {
23
23
  * certificateAuthorityId: "my-certificate-authority",
@@ -101,8 +101,8 @@ const utilities = require("../utilities");
101
101
  *
102
102
  * ```typescript
103
103
  * import * as pulumi from "@pulumi/pulumi";
104
+ * import * as fs from "fs";
104
105
  * import * as gcp from "@pulumi/gcp";
105
- * import * from "fs";
106
106
  *
107
107
  * const template = new gcp.certificateauthority.CertificateTemplate("template", {
108
108
  * location: "us-central1",
@@ -224,8 +224,8 @@ const utilities = require("../utilities");
224
224
  *
225
225
  * ```typescript
226
226
  * import * as pulumi from "@pulumi/pulumi";
227
+ * import * as fs from "fs";
227
228
  * import * as gcp from "@pulumi/gcp";
228
- * import * from "fs";
229
229
  *
230
230
  * const test_ca = new gcp.certificateauthority.Authority("test-ca", {
231
231
  * pool: "",
@@ -273,8 +273,8 @@ const utilities = require("../utilities");
273
273
  *
274
274
  * ```typescript
275
275
  * import * as pulumi from "@pulumi/pulumi";
276
+ * import * as fs from "fs";
276
277
  * import * as gcp from "@pulumi/gcp";
277
- * import * from "fs";
278
278
  *
279
279
  * const authority = new gcp.certificateauthority.Authority("authority", {
280
280
  * pool: "",
@@ -18,38 +18,6 @@ import { input as inputs, output as outputs } from "../types";
18
18
  * state as plain-text.
19
19
  *
20
20
  * ## Example Usage
21
- * ### Backend Service Basic
22
- *
23
- * ```typescript
24
- * import * as pulumi from "@pulumi/pulumi";
25
- * import * as gcp from "@pulumi/gcp";
26
- *
27
- * const defaultHttpHealthCheck = new gcp.compute.HttpHealthCheck("defaultHttpHealthCheck", {
28
- * requestPath: "/",
29
- * checkIntervalSec: 1,
30
- * timeoutSec: 1,
31
- * });
32
- * const defaultBackendService = new gcp.compute.BackendService("defaultBackendService", {healthChecks: [defaultHttpHealthCheck.id]});
33
- * ```
34
- * ### Backend Service Cache Simple
35
- *
36
- * ```typescript
37
- * import * as pulumi from "@pulumi/pulumi";
38
- * import * as gcp from "@pulumi/gcp";
39
- *
40
- * const defaultHttpHealthCheck = new gcp.compute.HttpHealthCheck("defaultHttpHealthCheck", {
41
- * requestPath: "/",
42
- * checkIntervalSec: 1,
43
- * timeoutSec: 1,
44
- * });
45
- * const defaultBackendService = new gcp.compute.BackendService("defaultBackendService", {
46
- * healthChecks: [defaultHttpHealthCheck.id],
47
- * enableCdn: true,
48
- * cdnPolicy: {
49
- * signedUrlCacheMaxAgeSec: 7200,
50
- * },
51
- * });
52
- * ```
53
21
  * ### Backend Service Cache Include Named Cookies
54
22
  *
55
23
  * ```typescript
@@ -75,84 +43,6 @@ import { input as inputs, output as outputs } from "../types";
75
43
  * enableCdn: true,
76
44
  * });
77
45
  * ```
78
- * ### Backend Service Cache
79
- *
80
- * ```typescript
81
- * import * as pulumi from "@pulumi/pulumi";
82
- * import * as gcp from "@pulumi/gcp";
83
- *
84
- * const defaultHttpHealthCheck = new gcp.compute.HttpHealthCheck("defaultHttpHealthCheck", {
85
- * requestPath: "/",
86
- * checkIntervalSec: 1,
87
- * timeoutSec: 1,
88
- * });
89
- * const defaultBackendService = new gcp.compute.BackendService("defaultBackendService", {
90
- * healthChecks: [defaultHttpHealthCheck.id],
91
- * enableCdn: true,
92
- * cdnPolicy: {
93
- * cacheMode: "CACHE_ALL_STATIC",
94
- * defaultTtl: 3600,
95
- * clientTtl: 7200,
96
- * maxTtl: 10800,
97
- * negativeCaching: true,
98
- * signedUrlCacheMaxAgeSec: 7200,
99
- * },
100
- * });
101
- * ```
102
- * ### Backend Service Traffic Director Round Robin
103
- *
104
- * ```typescript
105
- * import * as pulumi from "@pulumi/pulumi";
106
- * import * as gcp from "@pulumi/gcp";
107
- *
108
- * const healthCheck = new gcp.compute.HealthCheck("healthCheck", {httpHealthCheck: {
109
- * port: 80,
110
- * }}, {
111
- * provider: google_beta,
112
- * });
113
- * const _default = new gcp.compute.BackendService("default", {
114
- * healthChecks: [healthCheck.id],
115
- * loadBalancingScheme: "INTERNAL_SELF_MANAGED",
116
- * localityLbPolicy: "ROUND_ROBIN",
117
- * }, {
118
- * provider: google_beta,
119
- * });
120
- * ```
121
- * ### Backend Service Traffic Director Ring Hash
122
- *
123
- * ```typescript
124
- * import * as pulumi from "@pulumi/pulumi";
125
- * import * as gcp from "@pulumi/gcp";
126
- *
127
- * const healthCheck = new gcp.compute.HealthCheck("healthCheck", {httpHealthCheck: {
128
- * port: 80,
129
- * }}, {
130
- * provider: google_beta,
131
- * });
132
- * const _default = new gcp.compute.BackendService("default", {
133
- * healthChecks: [healthCheck.id],
134
- * loadBalancingScheme: "INTERNAL_SELF_MANAGED",
135
- * localityLbPolicy: "RING_HASH",
136
- * sessionAffinity: "HTTP_COOKIE",
137
- * circuitBreakers: {
138
- * maxConnections: 10,
139
- * },
140
- * consistentHash: {
141
- * httpCookie: {
142
- * ttl: {
143
- * seconds: 11,
144
- * nanos: 1111,
145
- * },
146
- * name: "mycookie",
147
- * },
148
- * },
149
- * outlierDetection: {
150
- * consecutiveErrors: 2,
151
- * },
152
- * }, {
153
- * provider: google_beta,
154
- * });
155
- * ```
156
46
  * ### Backend Service Network Endpoint
157
47
  *
158
48
  * ```typescript
@@ -185,20 +75,6 @@ import { input as inputs, output as outputs } from "../types";
185
75
  * provider: google_beta,
186
76
  * });
187
77
  * ```
188
- * ### Backend Service External Managed
189
- *
190
- * ```typescript
191
- * import * as pulumi from "@pulumi/pulumi";
192
- * import * as gcp from "@pulumi/gcp";
193
- *
194
- * const defaultHealthCheck = new gcp.compute.HealthCheck("defaultHealthCheck", {httpHealthCheck: {
195
- * port: 80,
196
- * }});
197
- * const defaultBackendService = new gcp.compute.BackendService("defaultBackendService", {
198
- * healthChecks: [defaultHealthCheck.id],
199
- * loadBalancingScheme: "EXTERNAL_MANAGED",
200
- * });
201
- * ```
202
78
  *
203
79
  * ## Import
204
80
  *