@pulumi/gcp 6.26.0-alpha.1654522473 → 6.27.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/compute/backendBucket.d.ts +36 -0
- package/compute/backendBucket.js +36 -0
- package/compute/backendBucket.js.map +1 -1
- package/container/cluster.d.ts +1 -1
- package/package.json +2 -2
- package/package.json.dev +2 -2
- package/types/input.d.ts +18 -0
- package/types/output.d.ts +23 -0
|
@@ -47,6 +47,42 @@ import { input as inputs, output as outputs } from "../types";
|
|
|
47
47
|
* edgeSecurityPolicy: policy.id,
|
|
48
48
|
* });
|
|
49
49
|
* ```
|
|
50
|
+
* ### Backend Bucket Query String Whitelist
|
|
51
|
+
*
|
|
52
|
+
* ```typescript
|
|
53
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
54
|
+
* import * as gcp from "@pulumi/gcp";
|
|
55
|
+
*
|
|
56
|
+
* const imageBucket = new gcp.storage.Bucket("imageBucket", {location: "EU"});
|
|
57
|
+
* const imageBackend = new gcp.compute.BackendBucket("imageBackend", {
|
|
58
|
+
* description: "Contains beautiful images",
|
|
59
|
+
* bucketName: imageBucket.name,
|
|
60
|
+
* enableCdn: true,
|
|
61
|
+
* cdnPolicy: {
|
|
62
|
+
* cacheKeyPolicy: {
|
|
63
|
+
* queryStringWhitelists: ["image-version"],
|
|
64
|
+
* },
|
|
65
|
+
* },
|
|
66
|
+
* });
|
|
67
|
+
* ```
|
|
68
|
+
* ### Backend Bucket Include Http Headers
|
|
69
|
+
*
|
|
70
|
+
* ```typescript
|
|
71
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
72
|
+
* import * as gcp from "@pulumi/gcp";
|
|
73
|
+
*
|
|
74
|
+
* const imageBucket = new gcp.storage.Bucket("imageBucket", {location: "EU"});
|
|
75
|
+
* const imageBackend = new gcp.compute.BackendBucket("imageBackend", {
|
|
76
|
+
* description: "Contains beautiful images",
|
|
77
|
+
* bucketName: imageBucket.name,
|
|
78
|
+
* enableCdn: true,
|
|
79
|
+
* cdnPolicy: {
|
|
80
|
+
* cacheKeyPolicy: {
|
|
81
|
+
* includeHttpHeaders: ["X-My-Header-Field"],
|
|
82
|
+
* },
|
|
83
|
+
* },
|
|
84
|
+
* });
|
|
85
|
+
* ```
|
|
50
86
|
*
|
|
51
87
|
* ## Import
|
|
52
88
|
*
|
package/compute/backendBucket.js
CHANGED
|
@@ -52,6 +52,42 @@ const utilities = require("../utilities");
|
|
|
52
52
|
* edgeSecurityPolicy: policy.id,
|
|
53
53
|
* });
|
|
54
54
|
* ```
|
|
55
|
+
* ### Backend Bucket Query String Whitelist
|
|
56
|
+
*
|
|
57
|
+
* ```typescript
|
|
58
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
59
|
+
* import * as gcp from "@pulumi/gcp";
|
|
60
|
+
*
|
|
61
|
+
* const imageBucket = new gcp.storage.Bucket("imageBucket", {location: "EU"});
|
|
62
|
+
* const imageBackend = new gcp.compute.BackendBucket("imageBackend", {
|
|
63
|
+
* description: "Contains beautiful images",
|
|
64
|
+
* bucketName: imageBucket.name,
|
|
65
|
+
* enableCdn: true,
|
|
66
|
+
* cdnPolicy: {
|
|
67
|
+
* cacheKeyPolicy: {
|
|
68
|
+
* queryStringWhitelists: ["image-version"],
|
|
69
|
+
* },
|
|
70
|
+
* },
|
|
71
|
+
* });
|
|
72
|
+
* ```
|
|
73
|
+
* ### Backend Bucket Include Http Headers
|
|
74
|
+
*
|
|
75
|
+
* ```typescript
|
|
76
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
77
|
+
* import * as gcp from "@pulumi/gcp";
|
|
78
|
+
*
|
|
79
|
+
* const imageBucket = new gcp.storage.Bucket("imageBucket", {location: "EU"});
|
|
80
|
+
* const imageBackend = new gcp.compute.BackendBucket("imageBackend", {
|
|
81
|
+
* description: "Contains beautiful images",
|
|
82
|
+
* bucketName: imageBucket.name,
|
|
83
|
+
* enableCdn: true,
|
|
84
|
+
* cdnPolicy: {
|
|
85
|
+
* cacheKeyPolicy: {
|
|
86
|
+
* includeHttpHeaders: ["X-My-Header-Field"],
|
|
87
|
+
* },
|
|
88
|
+
* },
|
|
89
|
+
* });
|
|
90
|
+
* ```
|
|
55
91
|
*
|
|
56
92
|
* ## Import
|
|
57
93
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"backendBucket.js","sourceRoot":"","sources":["../../compute/backendBucket.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"backendBucket.js","sourceRoot":"","sources":["../../compute/backendBucket.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmGG;AACH,MAAa,aAAc,SAAQ,MAAM,CAAC,cAAc;IAsFpD,YAAY,IAAY,EAAE,WAAoD,EAAE,IAAmC;QAC/G,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA6C,CAAC;YAC5D,cAAc,CAAC,YAAY,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE,cAAc,CAAC,WAAW,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,mBAAmB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,iBAAiB,CAAC,CAAC,CAAC,SAAS,CAAC;YAClF,cAAc,CAAC,uBAAuB,CA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AAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,aAAa,CAAC,YAAY,CAAC;IAC9D,CAAC;;AA1BL,sCAwHC;AA1GG,gBAAgB;AACO,0BAAY,GAAG,yCAAyC,CAAC"}
|
package/container/cluster.d.ts
CHANGED
|
@@ -318,7 +318,7 @@ export declare class Cluster extends pulumi.CustomResource {
|
|
|
318
318
|
* [NetworkPolicy](https://kubernetes.io/docs/concepts/services-networking/networkpolicies/)
|
|
319
319
|
* feature. Structure is documented below.
|
|
320
320
|
*/
|
|
321
|
-
readonly networkPolicy: pulumi.Output<outputs.container.ClusterNetworkPolicy>;
|
|
321
|
+
readonly networkPolicy: pulumi.Output<outputs.container.ClusterNetworkPolicy | undefined>;
|
|
322
322
|
/**
|
|
323
323
|
* Determines whether alias IPs or routes will be used for pod IPs in the cluster.
|
|
324
324
|
* Options are `VPC_NATIVE` or `ROUTES`. `VPC_NATIVE` enables [IP aliasing](https://cloud.google.com/kubernetes-engine/docs/how-to/ip-aliases),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumi/gcp",
|
|
3
|
-
"version": "v6.
|
|
3
|
+
"version": "v6.27.0",
|
|
4
4
|
"description": "A Pulumi package for creating and managing Google Cloud Platform resources.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pulumi",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"license": "Apache-2.0",
|
|
12
12
|
"scripts": {
|
|
13
13
|
"build": "tsc",
|
|
14
|
-
"install": "node scripts/install-pulumi-plugin.js resource gcp v6.
|
|
14
|
+
"install": "node scripts/install-pulumi-plugin.js resource gcp v6.27.0"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@pulumi/pulumi": "^3.0.0",
|
package/package.json.dev
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumi/gcp",
|
|
3
|
-
"version": "v6.
|
|
3
|
+
"version": "v6.27.0",
|
|
4
4
|
"description": "A Pulumi package for creating and managing Google Cloud Platform resources.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pulumi",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"license": "Apache-2.0",
|
|
12
12
|
"scripts": {
|
|
13
13
|
"build": "tsc",
|
|
14
|
-
"install": "node scripts/install-pulumi-plugin.js resource gcp v6.
|
|
14
|
+
"install": "node scripts/install-pulumi-plugin.js resource gcp v6.27.0"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@pulumi/pulumi": "^3.0.0",
|
package/types/input.d.ts
CHANGED
|
@@ -7837,6 +7837,11 @@ export declare namespace compute {
|
|
|
7837
7837
|
timeZone?: pulumi.Input<string>;
|
|
7838
7838
|
}
|
|
7839
7839
|
interface BackendBucketCdnPolicy {
|
|
7840
|
+
/**
|
|
7841
|
+
* The CacheKeyPolicy for this CdnPolicy.
|
|
7842
|
+
* Structure is documented below.
|
|
7843
|
+
*/
|
|
7844
|
+
cacheKeyPolicy?: pulumi.Input<inputs.compute.BackendBucketCdnPolicyCacheKeyPolicy>;
|
|
7840
7845
|
/**
|
|
7841
7846
|
* Specifies the cache setting for all responses from this backend.
|
|
7842
7847
|
* The possible values are: USE_ORIGIN_HEADERS, FORCE_CACHE_ALL and CACHE_ALL_STATIC
|
|
@@ -7882,6 +7887,19 @@ export declare namespace compute {
|
|
|
7882
7887
|
*/
|
|
7883
7888
|
signedUrlCacheMaxAgeSec?: pulumi.Input<number>;
|
|
7884
7889
|
}
|
|
7890
|
+
interface BackendBucketCdnPolicyCacheKeyPolicy {
|
|
7891
|
+
/**
|
|
7892
|
+
* Allows HTTP request headers (by name) to be used in the
|
|
7893
|
+
* cache key.
|
|
7894
|
+
*/
|
|
7895
|
+
includeHttpHeaders?: pulumi.Input<pulumi.Input<string>[]>;
|
|
7896
|
+
/**
|
|
7897
|
+
* Names of query string parameters to include in cache keys.
|
|
7898
|
+
* Default parameters are always included. '&' and '=' will
|
|
7899
|
+
* be percent encoded and not treated as delimiters.
|
|
7900
|
+
*/
|
|
7901
|
+
queryStringWhitelists?: pulumi.Input<pulumi.Input<string>[]>;
|
|
7902
|
+
}
|
|
7885
7903
|
interface BackendBucketCdnPolicyNegativeCachingPolicy {
|
|
7886
7904
|
/**
|
|
7887
7905
|
* The HTTP status code to define a TTL against. Only HTTP status codes 300, 301, 308, 404, 405, 410, 421, 451 and 501
|
package/types/output.d.ts
CHANGED
|
@@ -8313,6 +8313,11 @@ export declare namespace compute {
|
|
|
8313
8313
|
timeZone?: string;
|
|
8314
8314
|
}
|
|
8315
8315
|
interface BackendBucketCdnPolicy {
|
|
8316
|
+
/**
|
|
8317
|
+
* The CacheKeyPolicy for this CdnPolicy.
|
|
8318
|
+
* Structure is documented below.
|
|
8319
|
+
*/
|
|
8320
|
+
cacheKeyPolicy?: outputs.compute.BackendBucketCdnPolicyCacheKeyPolicy;
|
|
8316
8321
|
/**
|
|
8317
8322
|
* Specifies the cache setting for all responses from this backend.
|
|
8318
8323
|
* The possible values are: USE_ORIGIN_HEADERS, FORCE_CACHE_ALL and CACHE_ALL_STATIC
|
|
@@ -8358,6 +8363,19 @@ export declare namespace compute {
|
|
|
8358
8363
|
*/
|
|
8359
8364
|
signedUrlCacheMaxAgeSec?: number;
|
|
8360
8365
|
}
|
|
8366
|
+
interface BackendBucketCdnPolicyCacheKeyPolicy {
|
|
8367
|
+
/**
|
|
8368
|
+
* Allows HTTP request headers (by name) to be used in the
|
|
8369
|
+
* cache key.
|
|
8370
|
+
*/
|
|
8371
|
+
includeHttpHeaders?: string[];
|
|
8372
|
+
/**
|
|
8373
|
+
* Names of query string parameters to include in cache keys.
|
|
8374
|
+
* Default parameters are always included. '&' and '=' will
|
|
8375
|
+
* be percent encoded and not treated as delimiters.
|
|
8376
|
+
*/
|
|
8377
|
+
queryStringWhitelists?: string[];
|
|
8378
|
+
}
|
|
8361
8379
|
interface BackendBucketCdnPolicyNegativeCachingPolicy {
|
|
8362
8380
|
/**
|
|
8363
8381
|
* The HTTP status code to define a TTL against. Only HTTP status codes 300, 301, 308, 404, 405, 410, 421, 451 and 501
|
|
@@ -9015,6 +9033,7 @@ export declare namespace compute {
|
|
|
9015
9033
|
service?: string;
|
|
9016
9034
|
}
|
|
9017
9035
|
interface GetBackendBucketCdnPolicy {
|
|
9036
|
+
cacheKeyPolicies: outputs.compute.GetBackendBucketCdnPolicyCacheKeyPolicy[];
|
|
9018
9037
|
cacheMode: string;
|
|
9019
9038
|
clientTtl: number;
|
|
9020
9039
|
defaultTtl: number;
|
|
@@ -9024,6 +9043,10 @@ export declare namespace compute {
|
|
|
9024
9043
|
serveWhileStale: number;
|
|
9025
9044
|
signedUrlCacheMaxAgeSec: number;
|
|
9026
9045
|
}
|
|
9046
|
+
interface GetBackendBucketCdnPolicyCacheKeyPolicy {
|
|
9047
|
+
includeHttpHeaders: string[];
|
|
9048
|
+
queryStringWhitelists: string[];
|
|
9049
|
+
}
|
|
9027
9050
|
interface GetBackendBucketCdnPolicyNegativeCachingPolicy {
|
|
9028
9051
|
code: number;
|
|
9029
9052
|
ttl: number;
|