@pulumi/gcp 6.38.0 → 6.40.0-alpha.1664404181
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/cloudfunctions/function.d.ts +12 -0
- package/cloudfunctions/function.js +2 -0
- package/cloudfunctions/function.js.map +1 -1
- package/cloudfunctions/getFunction.d.ts +1 -0
- package/cloudfunctions/getFunction.js.map +1 -1
- package/compute/securityPolicy.d.ts +3 -0
- package/compute/securityPolicy.js.map +1 -1
- package/datastream/index.d.ts +3 -0
- package/datastream/index.js +6 -1
- package/datastream/index.js.map +1 -1
- package/datastream/privateConnection.d.ts +180 -0
- package/datastream/privateConnection.js +120 -0
- package/datastream/privateConnection.js.map +1 -0
- package/package.json +2 -2
- package/package.json.dev +2 -2
- package/redis/getInstance.d.ts +1 -0
- package/redis/getInstance.js.map +1 -1
- package/redis/instance.d.ts +32 -0
- package/redis/instance.js +19 -0
- package/redis/instance.js.map +1 -1
- package/types/input.d.ts +80 -3
- package/types/output.d.ts +86 -3
|
@@ -120,6 +120,10 @@ export declare class Function extends pulumi.CustomResource {
|
|
|
120
120
|
readonly buildEnvironmentVariables: pulumi.Output<{
|
|
121
121
|
[key: string]: any;
|
|
122
122
|
} | undefined>;
|
|
123
|
+
/**
|
|
124
|
+
* Name of the Cloud Build Custom Worker Pool that should be used to build the function.
|
|
125
|
+
*/
|
|
126
|
+
readonly buildWorkerPool: pulumi.Output<string | undefined>;
|
|
123
127
|
/**
|
|
124
128
|
* Description of the function.
|
|
125
129
|
*/
|
|
@@ -258,6 +262,10 @@ export interface FunctionState {
|
|
|
258
262
|
buildEnvironmentVariables?: pulumi.Input<{
|
|
259
263
|
[key: string]: any;
|
|
260
264
|
}>;
|
|
265
|
+
/**
|
|
266
|
+
* Name of the Cloud Build Custom Worker Pool that should be used to build the function.
|
|
267
|
+
*/
|
|
268
|
+
buildWorkerPool?: pulumi.Input<string>;
|
|
261
269
|
/**
|
|
262
270
|
* Description of the function.
|
|
263
271
|
*/
|
|
@@ -388,6 +396,10 @@ export interface FunctionArgs {
|
|
|
388
396
|
buildEnvironmentVariables?: pulumi.Input<{
|
|
389
397
|
[key: string]: any;
|
|
390
398
|
}>;
|
|
399
|
+
/**
|
|
400
|
+
* Name of the Cloud Build Custom Worker Pool that should be used to build the function.
|
|
401
|
+
*/
|
|
402
|
+
buildWorkerPool?: pulumi.Input<string>;
|
|
391
403
|
/**
|
|
392
404
|
* Description of the function.
|
|
393
405
|
*/
|
|
@@ -106,6 +106,7 @@ class Function extends pulumi.CustomResource {
|
|
|
106
106
|
const state = argsOrState;
|
|
107
107
|
resourceInputs["availableMemoryMb"] = state ? state.availableMemoryMb : undefined;
|
|
108
108
|
resourceInputs["buildEnvironmentVariables"] = state ? state.buildEnvironmentVariables : undefined;
|
|
109
|
+
resourceInputs["buildWorkerPool"] = state ? state.buildWorkerPool : undefined;
|
|
109
110
|
resourceInputs["description"] = state ? state.description : undefined;
|
|
110
111
|
resourceInputs["dockerRegistry"] = state ? state.dockerRegistry : undefined;
|
|
111
112
|
resourceInputs["dockerRepository"] = state ? state.dockerRepository : undefined;
|
|
@@ -141,6 +142,7 @@ class Function extends pulumi.CustomResource {
|
|
|
141
142
|
}
|
|
142
143
|
resourceInputs["availableMemoryMb"] = args ? args.availableMemoryMb : undefined;
|
|
143
144
|
resourceInputs["buildEnvironmentVariables"] = args ? args.buildEnvironmentVariables : undefined;
|
|
145
|
+
resourceInputs["buildWorkerPool"] = args ? args.buildWorkerPool : undefined;
|
|
144
146
|
resourceInputs["description"] = args ? args.description : undefined;
|
|
145
147
|
resourceInputs["dockerRegistry"] = args ? args.dockerRegistry : undefined;
|
|
146
148
|
resourceInputs["dockerRepository"] = args ? args.dockerRepository : undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"function.js","sourceRoot":"","sources":["../../cloudfunctions/function.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAG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IAAI,CAAC,CAAC;IACnE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,4CAA4C,EAAE;QACvE,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAXD,kCAWC;
|
|
1
|
+
{"version":3,"file":"getFunction.js","sourceRoot":"","sources":["../../cloudfunctions/getFunction.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,WAAW,CAAC,IAAqB,EAAE,IAA2B;IAC1E,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;IACnE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,4CAA4C,EAAE;QACvE,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAXD,kCAWC;AAoHD,SAAgB,iBAAiB,CAAC,IAA2B,EAAE,IAA2B;IACtF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,WAAW,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC/D,CAAC;AAFD,8CAEC"}
|
|
@@ -62,6 +62,7 @@ export declare class SecurityPolicy extends pulumi.CustomResource {
|
|
|
62
62
|
readonly adaptiveProtectionConfig: pulumi.Output<outputs.compute.SecurityPolicyAdaptiveProtectionConfig | undefined>;
|
|
63
63
|
/**
|
|
64
64
|
* [Advanced Configuration Options](https://cloud.google.com/armor/docs/security-policy-overview#json-parsing).
|
|
65
|
+
* Structure is documented below.
|
|
65
66
|
*/
|
|
66
67
|
readonly advancedOptionsConfig: pulumi.Output<outputs.compute.SecurityPolicyAdvancedOptionsConfig>;
|
|
67
68
|
/**
|
|
@@ -114,6 +115,7 @@ export interface SecurityPolicyState {
|
|
|
114
115
|
adaptiveProtectionConfig?: pulumi.Input<inputs.compute.SecurityPolicyAdaptiveProtectionConfig>;
|
|
115
116
|
/**
|
|
116
117
|
* [Advanced Configuration Options](https://cloud.google.com/armor/docs/security-policy-overview#json-parsing).
|
|
118
|
+
* Structure is documented below.
|
|
117
119
|
*/
|
|
118
120
|
advancedOptionsConfig?: pulumi.Input<inputs.compute.SecurityPolicyAdvancedOptionsConfig>;
|
|
119
121
|
/**
|
|
@@ -158,6 +160,7 @@ export interface SecurityPolicyArgs {
|
|
|
158
160
|
adaptiveProtectionConfig?: pulumi.Input<inputs.compute.SecurityPolicyAdaptiveProtectionConfig>;
|
|
159
161
|
/**
|
|
160
162
|
* [Advanced Configuration Options](https://cloud.google.com/armor/docs/security-policy-overview#json-parsing).
|
|
163
|
+
* Structure is documented below.
|
|
161
164
|
*/
|
|
162
165
|
advancedOptionsConfig?: pulumi.Input<inputs.compute.SecurityPolicyAdvancedOptionsConfig>;
|
|
163
166
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"securityPolicy.js","sourceRoot":"","sources":["../../compute/securityPolicy.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AACH,MAAa,cAAe,SAAQ,MAAM,CAAC,cAAc;
|
|
1
|
+
{"version":3,"file":"securityPolicy.js","sourceRoot":"","sources":["../../compute/securityPolicy.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEj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;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA2B,EAAE,IAAmC;QACzH,OAAO,IAAI,cAAc,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACrE,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,cAAc,CAAC,YAAY,CAAC;IAC/D,CAAC;;AA1BL,wCA0GC;AA5FG,gBAAgB;AACO,2BAAY,GAAG,2CAA2C,CAAC"}
|
package/datastream/index.d.ts
CHANGED
|
@@ -1,3 +1,6 @@
|
|
|
1
1
|
export { ConnectionProfileArgs, ConnectionProfileState } from "./connectionProfile";
|
|
2
2
|
export declare type ConnectionProfile = import("./connectionProfile").ConnectionProfile;
|
|
3
3
|
export declare const ConnectionProfile: typeof import("./connectionProfile").ConnectionProfile;
|
|
4
|
+
export { PrivateConnectionArgs, PrivateConnectionState } from "./privateConnection";
|
|
5
|
+
export declare type PrivateConnection = import("./privateConnection").PrivateConnection;
|
|
6
|
+
export declare const PrivateConnection: typeof import("./privateConnection").PrivateConnection;
|
package/datastream/index.js
CHANGED
|
@@ -2,21 +2,26 @@
|
|
|
2
2
|
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
exports.ConnectionProfile = void 0;
|
|
5
|
+
exports.PrivateConnection = exports.ConnectionProfile = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
8
|
exports.ConnectionProfile = null;
|
|
9
|
+
exports.PrivateConnection = null;
|
|
9
10
|
utilities.lazyLoad(exports, ["ConnectionProfile"], () => require("./connectionProfile"));
|
|
11
|
+
utilities.lazyLoad(exports, ["PrivateConnection"], () => require("./privateConnection"));
|
|
10
12
|
const _module = {
|
|
11
13
|
version: utilities.getVersion(),
|
|
12
14
|
construct: (name, type, urn) => {
|
|
13
15
|
switch (type) {
|
|
14
16
|
case "gcp:datastream/connectionProfile:ConnectionProfile":
|
|
15
17
|
return new exports.ConnectionProfile(name, undefined, { urn });
|
|
18
|
+
case "gcp:datastream/privateConnection:PrivateConnection":
|
|
19
|
+
return new exports.PrivateConnection(name, undefined, { urn });
|
|
16
20
|
default:
|
|
17
21
|
throw new Error(`unknown resource type ${type}`);
|
|
18
22
|
}
|
|
19
23
|
},
|
|
20
24
|
};
|
|
21
25
|
pulumi.runtime.registerResourceModule("gcp", "datastream/connectionProfile", _module);
|
|
26
|
+
pulumi.runtime.registerResourceModule("gcp", "datastream/privateConnection", _module);
|
|
22
27
|
//# sourceMappingURL=index.js.map
|
package/datastream/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../datastream/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAK7B,QAAA,iBAAiB,GAA2D,IAAW,CAAC;AAErG,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,mBAAmB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,qBAAqB,CAAC,CAAC,CAAC;AAEzF,MAAM,OAAO,GAAG;IACZ,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE;IAC/B,SAAS,EAAE,CAAC,IAAY,EAAE,IAAY,EAAE,GAAW,EAAmB,EAAE;QACpE,QAAQ,IAAI,EAAE;YACV,KAAK,oDAAoD;gBACrD,OAAO,IAAI,yBAAiB,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CA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ACrF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,8BAA8B,EAAE,OAAO,CAAC,CAAA"}
|
|
@@ -0,0 +1,180 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../types/input";
|
|
3
|
+
import * as outputs from "../types/output";
|
|
4
|
+
/**
|
|
5
|
+
* The PrivateConnection resource is used to establish private connectivity between Datastream and a customer's network.
|
|
6
|
+
*
|
|
7
|
+
* To get more information about PrivateConnection, see:
|
|
8
|
+
*
|
|
9
|
+
* * [API documentation](https://cloud.google.com/datastream/docs/reference/rest/v1/projects.locations.privateConnections)
|
|
10
|
+
* * How-to Guides
|
|
11
|
+
* * [Official Documentation](https://cloud.google.com/datastream/docs/create-a-private-connectivity-configuration)
|
|
12
|
+
*
|
|
13
|
+
* ## Example Usage
|
|
14
|
+
* ### Datastream Private Connection Full
|
|
15
|
+
*
|
|
16
|
+
* ```typescript
|
|
17
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
18
|
+
* import * as gcp from "@pulumi/gcp";
|
|
19
|
+
*
|
|
20
|
+
* const defaultNetwork = new gcp.compute.Network("defaultNetwork", {});
|
|
21
|
+
* const defaultPrivateConnection = new gcp.datastream.PrivateConnection("defaultPrivateConnection", {
|
|
22
|
+
* displayName: "Connection profile",
|
|
23
|
+
* location: "us-central1",
|
|
24
|
+
* privateConnectionId: "my-connection",
|
|
25
|
+
* labels: {
|
|
26
|
+
* key: "value",
|
|
27
|
+
* },
|
|
28
|
+
* vpcPeeringConfig: {
|
|
29
|
+
* vpc: defaultNetwork.id,
|
|
30
|
+
* subnet: "10.0.0.0/29",
|
|
31
|
+
* },
|
|
32
|
+
* });
|
|
33
|
+
* ```
|
|
34
|
+
*
|
|
35
|
+
* ## Import
|
|
36
|
+
*
|
|
37
|
+
* PrivateConnection can be imported using any of these accepted formats
|
|
38
|
+
*
|
|
39
|
+
* ```sh
|
|
40
|
+
* $ pulumi import gcp:datastream/privateConnection:PrivateConnection default projects/{{project}}/locations/{{location}}/privateConnections/{{private_connection_id}}
|
|
41
|
+
* ```
|
|
42
|
+
*
|
|
43
|
+
* ```sh
|
|
44
|
+
* $ pulumi import gcp:datastream/privateConnection:PrivateConnection default {{project}}/{{location}}/{{private_connection_id}}
|
|
45
|
+
* ```
|
|
46
|
+
*
|
|
47
|
+
* ```sh
|
|
48
|
+
* $ pulumi import gcp:datastream/privateConnection:PrivateConnection default {{location}}/{{private_connection_id}}
|
|
49
|
+
* ```
|
|
50
|
+
*/
|
|
51
|
+
export declare class PrivateConnection extends pulumi.CustomResource {
|
|
52
|
+
/**
|
|
53
|
+
* Get an existing PrivateConnection resource's state with the given name, ID, and optional extra
|
|
54
|
+
* properties used to qualify the lookup.
|
|
55
|
+
*
|
|
56
|
+
* @param name The _unique_ name of the resulting resource.
|
|
57
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
58
|
+
* @param state Any extra arguments used during the lookup.
|
|
59
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
60
|
+
*/
|
|
61
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: PrivateConnectionState, opts?: pulumi.CustomResourceOptions): PrivateConnection;
|
|
62
|
+
/**
|
|
63
|
+
* Returns true if the given object is an instance of PrivateConnection. This is designed to work even
|
|
64
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
65
|
+
*/
|
|
66
|
+
static isInstance(obj: any): obj is PrivateConnection;
|
|
67
|
+
/**
|
|
68
|
+
* Display name.
|
|
69
|
+
*/
|
|
70
|
+
readonly displayName: pulumi.Output<string>;
|
|
71
|
+
/**
|
|
72
|
+
* Labels.
|
|
73
|
+
*/
|
|
74
|
+
readonly labels: pulumi.Output<{
|
|
75
|
+
[key: string]: string;
|
|
76
|
+
} | undefined>;
|
|
77
|
+
/**
|
|
78
|
+
* The name of the location this repository is located in.
|
|
79
|
+
*/
|
|
80
|
+
readonly location: pulumi.Output<string>;
|
|
81
|
+
/**
|
|
82
|
+
* The resource's name.
|
|
83
|
+
*/
|
|
84
|
+
readonly name: pulumi.Output<string>;
|
|
85
|
+
/**
|
|
86
|
+
* The private connectivity identifier.
|
|
87
|
+
*/
|
|
88
|
+
readonly privateConnectionId: pulumi.Output<string>;
|
|
89
|
+
/**
|
|
90
|
+
* The ID of the project in which the resource belongs.
|
|
91
|
+
* If it is not provided, the provider project is used.
|
|
92
|
+
*/
|
|
93
|
+
readonly project: pulumi.Output<string>;
|
|
94
|
+
/**
|
|
95
|
+
* The VPC Peering configuration is used to create VPC peering
|
|
96
|
+
* between Datastream and the consumer's VPC.
|
|
97
|
+
* Structure is documented below.
|
|
98
|
+
*/
|
|
99
|
+
readonly vpcPeeringConfig: pulumi.Output<outputs.datastream.PrivateConnectionVpcPeeringConfig>;
|
|
100
|
+
/**
|
|
101
|
+
* Create a PrivateConnection resource with the given unique name, arguments, and options.
|
|
102
|
+
*
|
|
103
|
+
* @param name The _unique_ name of the resource.
|
|
104
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
105
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
106
|
+
*/
|
|
107
|
+
constructor(name: string, args: PrivateConnectionArgs, opts?: pulumi.CustomResourceOptions);
|
|
108
|
+
}
|
|
109
|
+
/**
|
|
110
|
+
* Input properties used for looking up and filtering PrivateConnection resources.
|
|
111
|
+
*/
|
|
112
|
+
export interface PrivateConnectionState {
|
|
113
|
+
/**
|
|
114
|
+
* Display name.
|
|
115
|
+
*/
|
|
116
|
+
displayName?: pulumi.Input<string>;
|
|
117
|
+
/**
|
|
118
|
+
* Labels.
|
|
119
|
+
*/
|
|
120
|
+
labels?: pulumi.Input<{
|
|
121
|
+
[key: string]: pulumi.Input<string>;
|
|
122
|
+
}>;
|
|
123
|
+
/**
|
|
124
|
+
* The name of the location this repository is located in.
|
|
125
|
+
*/
|
|
126
|
+
location?: pulumi.Input<string>;
|
|
127
|
+
/**
|
|
128
|
+
* The resource's name.
|
|
129
|
+
*/
|
|
130
|
+
name?: pulumi.Input<string>;
|
|
131
|
+
/**
|
|
132
|
+
* The private connectivity identifier.
|
|
133
|
+
*/
|
|
134
|
+
privateConnectionId?: pulumi.Input<string>;
|
|
135
|
+
/**
|
|
136
|
+
* The ID of the project in which the resource belongs.
|
|
137
|
+
* If it is not provided, the provider project is used.
|
|
138
|
+
*/
|
|
139
|
+
project?: pulumi.Input<string>;
|
|
140
|
+
/**
|
|
141
|
+
* The VPC Peering configuration is used to create VPC peering
|
|
142
|
+
* between Datastream and the consumer's VPC.
|
|
143
|
+
* Structure is documented below.
|
|
144
|
+
*/
|
|
145
|
+
vpcPeeringConfig?: pulumi.Input<inputs.datastream.PrivateConnectionVpcPeeringConfig>;
|
|
146
|
+
}
|
|
147
|
+
/**
|
|
148
|
+
* The set of arguments for constructing a PrivateConnection resource.
|
|
149
|
+
*/
|
|
150
|
+
export interface PrivateConnectionArgs {
|
|
151
|
+
/**
|
|
152
|
+
* Display name.
|
|
153
|
+
*/
|
|
154
|
+
displayName: pulumi.Input<string>;
|
|
155
|
+
/**
|
|
156
|
+
* Labels.
|
|
157
|
+
*/
|
|
158
|
+
labels?: pulumi.Input<{
|
|
159
|
+
[key: string]: pulumi.Input<string>;
|
|
160
|
+
}>;
|
|
161
|
+
/**
|
|
162
|
+
* The name of the location this repository is located in.
|
|
163
|
+
*/
|
|
164
|
+
location: pulumi.Input<string>;
|
|
165
|
+
/**
|
|
166
|
+
* The private connectivity identifier.
|
|
167
|
+
*/
|
|
168
|
+
privateConnectionId: pulumi.Input<string>;
|
|
169
|
+
/**
|
|
170
|
+
* The ID of the project in which the resource belongs.
|
|
171
|
+
* If it is not provided, the provider project is used.
|
|
172
|
+
*/
|
|
173
|
+
project?: pulumi.Input<string>;
|
|
174
|
+
/**
|
|
175
|
+
* The VPC Peering configuration is used to create VPC peering
|
|
176
|
+
* between Datastream and the consumer's VPC.
|
|
177
|
+
* Structure is documented below.
|
|
178
|
+
*/
|
|
179
|
+
vpcPeeringConfig: pulumi.Input<inputs.datastream.PrivateConnectionVpcPeeringConfig>;
|
|
180
|
+
}
|
|
@@ -0,0 +1,120 @@
|
|
|
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.PrivateConnection = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* The PrivateConnection resource is used to establish private connectivity between Datastream and a customer's network.
|
|
10
|
+
*
|
|
11
|
+
* To get more information about PrivateConnection, see:
|
|
12
|
+
*
|
|
13
|
+
* * [API documentation](https://cloud.google.com/datastream/docs/reference/rest/v1/projects.locations.privateConnections)
|
|
14
|
+
* * How-to Guides
|
|
15
|
+
* * [Official Documentation](https://cloud.google.com/datastream/docs/create-a-private-connectivity-configuration)
|
|
16
|
+
*
|
|
17
|
+
* ## Example Usage
|
|
18
|
+
* ### Datastream Private Connection Full
|
|
19
|
+
*
|
|
20
|
+
* ```typescript
|
|
21
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
22
|
+
* import * as gcp from "@pulumi/gcp";
|
|
23
|
+
*
|
|
24
|
+
* const defaultNetwork = new gcp.compute.Network("defaultNetwork", {});
|
|
25
|
+
* const defaultPrivateConnection = new gcp.datastream.PrivateConnection("defaultPrivateConnection", {
|
|
26
|
+
* displayName: "Connection profile",
|
|
27
|
+
* location: "us-central1",
|
|
28
|
+
* privateConnectionId: "my-connection",
|
|
29
|
+
* labels: {
|
|
30
|
+
* key: "value",
|
|
31
|
+
* },
|
|
32
|
+
* vpcPeeringConfig: {
|
|
33
|
+
* vpc: defaultNetwork.id,
|
|
34
|
+
* subnet: "10.0.0.0/29",
|
|
35
|
+
* },
|
|
36
|
+
* });
|
|
37
|
+
* ```
|
|
38
|
+
*
|
|
39
|
+
* ## Import
|
|
40
|
+
*
|
|
41
|
+
* PrivateConnection can be imported using any of these accepted formats
|
|
42
|
+
*
|
|
43
|
+
* ```sh
|
|
44
|
+
* $ pulumi import gcp:datastream/privateConnection:PrivateConnection default projects/{{project}}/locations/{{location}}/privateConnections/{{private_connection_id}}
|
|
45
|
+
* ```
|
|
46
|
+
*
|
|
47
|
+
* ```sh
|
|
48
|
+
* $ pulumi import gcp:datastream/privateConnection:PrivateConnection default {{project}}/{{location}}/{{private_connection_id}}
|
|
49
|
+
* ```
|
|
50
|
+
*
|
|
51
|
+
* ```sh
|
|
52
|
+
* $ pulumi import gcp:datastream/privateConnection:PrivateConnection default {{location}}/{{private_connection_id}}
|
|
53
|
+
* ```
|
|
54
|
+
*/
|
|
55
|
+
class PrivateConnection extends pulumi.CustomResource {
|
|
56
|
+
constructor(name, argsOrState, opts) {
|
|
57
|
+
let resourceInputs = {};
|
|
58
|
+
opts = opts || {};
|
|
59
|
+
if (opts.id) {
|
|
60
|
+
const state = argsOrState;
|
|
61
|
+
resourceInputs["displayName"] = state ? state.displayName : undefined;
|
|
62
|
+
resourceInputs["labels"] = state ? state.labels : undefined;
|
|
63
|
+
resourceInputs["location"] = state ? state.location : undefined;
|
|
64
|
+
resourceInputs["name"] = state ? state.name : undefined;
|
|
65
|
+
resourceInputs["privateConnectionId"] = state ? state.privateConnectionId : undefined;
|
|
66
|
+
resourceInputs["project"] = state ? state.project : undefined;
|
|
67
|
+
resourceInputs["vpcPeeringConfig"] = state ? state.vpcPeeringConfig : undefined;
|
|
68
|
+
}
|
|
69
|
+
else {
|
|
70
|
+
const args = argsOrState;
|
|
71
|
+
if ((!args || args.displayName === undefined) && !opts.urn) {
|
|
72
|
+
throw new Error("Missing required property 'displayName'");
|
|
73
|
+
}
|
|
74
|
+
if ((!args || args.location === undefined) && !opts.urn) {
|
|
75
|
+
throw new Error("Missing required property 'location'");
|
|
76
|
+
}
|
|
77
|
+
if ((!args || args.privateConnectionId === undefined) && !opts.urn) {
|
|
78
|
+
throw new Error("Missing required property 'privateConnectionId'");
|
|
79
|
+
}
|
|
80
|
+
if ((!args || args.vpcPeeringConfig === undefined) && !opts.urn) {
|
|
81
|
+
throw new Error("Missing required property 'vpcPeeringConfig'");
|
|
82
|
+
}
|
|
83
|
+
resourceInputs["displayName"] = args ? args.displayName : undefined;
|
|
84
|
+
resourceInputs["labels"] = args ? args.labels : undefined;
|
|
85
|
+
resourceInputs["location"] = args ? args.location : undefined;
|
|
86
|
+
resourceInputs["privateConnectionId"] = args ? args.privateConnectionId : undefined;
|
|
87
|
+
resourceInputs["project"] = args ? args.project : undefined;
|
|
88
|
+
resourceInputs["vpcPeeringConfig"] = args ? args.vpcPeeringConfig : undefined;
|
|
89
|
+
resourceInputs["name"] = undefined /*out*/;
|
|
90
|
+
}
|
|
91
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
92
|
+
super(PrivateConnection.__pulumiType, name, resourceInputs, opts);
|
|
93
|
+
}
|
|
94
|
+
/**
|
|
95
|
+
* Get an existing PrivateConnection resource's state with the given name, ID, and optional extra
|
|
96
|
+
* properties used to qualify the lookup.
|
|
97
|
+
*
|
|
98
|
+
* @param name The _unique_ name of the resulting resource.
|
|
99
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
100
|
+
* @param state Any extra arguments used during the lookup.
|
|
101
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
102
|
+
*/
|
|
103
|
+
static get(name, id, state, opts) {
|
|
104
|
+
return new PrivateConnection(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
105
|
+
}
|
|
106
|
+
/**
|
|
107
|
+
* Returns true if the given object is an instance of PrivateConnection. This is designed to work even
|
|
108
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
109
|
+
*/
|
|
110
|
+
static isInstance(obj) {
|
|
111
|
+
if (obj === undefined || obj === null) {
|
|
112
|
+
return false;
|
|
113
|
+
}
|
|
114
|
+
return obj['__pulumiType'] === PrivateConnection.__pulumiType;
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
exports.PrivateConnection = PrivateConnection;
|
|
118
|
+
/** @internal */
|
|
119
|
+
PrivateConnection.__pulumiType = 'gcp:datastream/privateConnection:PrivateConnection';
|
|
120
|
+
//# sourceMappingURL=privateConnection.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"privateConnection.js","sourceRoot":"","sources":["../../datastream/privateConnection.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8CG;AACH,MAAa,iBAAkB,SAAQ,MAAM,CAAC,cAAc;IAoExD,YAAY,IAAY,EAAE,WAA4D,EAAE,IAAmC;QACvH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAiD,CAAC;YAChE,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,QAAQ,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,cAAc,CAAC,UAAU,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,MAAM,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,cAAc,CAAC,qBAAqB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,mBAAmB,CAAC,CAAC,CAAC,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
3
|
-
"version": "v6.
|
|
3
|
+
"version": "v6.40.0-alpha.1664404181+3cd0302a",
|
|
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.40.0-alpha.1664404181+3cd0302a"
|
|
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.40.0-alpha.1664404181+3cd0302a",
|
|
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.40.0-alpha.1664404181+3cd0302a"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@pulumi/pulumi": "^3.0.0",
|
package/redis/getInstance.d.ts
CHANGED
|
@@ -64,6 +64,7 @@ export interface GetInstanceResult {
|
|
|
64
64
|
readonly memorySizeGb: number;
|
|
65
65
|
readonly name: string;
|
|
66
66
|
readonly nodes: outputs.redis.GetInstanceNode[];
|
|
67
|
+
readonly persistenceConfigs: outputs.redis.GetInstancePersistenceConfig[];
|
|
67
68
|
readonly persistenceIamIdentity: string;
|
|
68
69
|
readonly port: number;
|
|
69
70
|
readonly project?: string;
|
package/redis/getInstance.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getInstance.js","sourceRoot":"","sources":["../../redis/getInstance.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;GAgBG;AACH,SAAgB,WAAW,CAAC,IAAqB,EAAE,IAA2B;IAC1E,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;IACnE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,mCAAmC,EAAE;QAC9D,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAXD,kCAWC;
|
|
1
|
+
{"version":3,"file":"getInstance.js","sourceRoot":"","sources":["../../redis/getInstance.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;GAgBG;AACH,SAAgB,WAAW,CAAC,IAAqB,EAAE,IAA2B;IAC1E,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;IACnE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,mCAAmC,EAAE;QAC9D,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAXD,kCAWC;AAiED,SAAgB,iBAAiB,CAAC,IAA2B,EAAE,IAA2B;IACtF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,WAAW,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC/D,CAAC;AAFD,8CAEC"}
|
package/redis/instance.d.ts
CHANGED
|
@@ -56,6 +56,23 @@ import * as outputs from "../types/output";
|
|
|
56
56
|
* },
|
|
57
57
|
* });
|
|
58
58
|
* ```
|
|
59
|
+
* ### Redis Instance Full With Persistence Config
|
|
60
|
+
*
|
|
61
|
+
* ```typescript
|
|
62
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
63
|
+
* import * as gcp from "@pulumi/gcp";
|
|
64
|
+
*
|
|
65
|
+
* const cache_persis = new gcp.redis.Instance("cache-persis", {
|
|
66
|
+
* alternativeLocationId: "us-central1-f",
|
|
67
|
+
* locationId: "us-central1-a",
|
|
68
|
+
* memorySizeGb: 1,
|
|
69
|
+
* persistenceConfig: {
|
|
70
|
+
* persistenceMode: "RDB",
|
|
71
|
+
* rdbSnapshotPeriod: "TWELVE_HOURS",
|
|
72
|
+
* },
|
|
73
|
+
* tier: "STANDARD_HA",
|
|
74
|
+
* });
|
|
75
|
+
* ```
|
|
59
76
|
* ### Redis Instance Private Service
|
|
60
77
|
*
|
|
61
78
|
* ```typescript
|
|
@@ -270,6 +287,11 @@ export declare class Instance extends pulumi.CustomResource {
|
|
|
270
287
|
* Output only. Info per node.
|
|
271
288
|
*/
|
|
272
289
|
readonly nodes: pulumi.Output<outputs.redis.InstanceNode[]>;
|
|
290
|
+
/**
|
|
291
|
+
* Maintenance policy for an instance.
|
|
292
|
+
* Structure is documented below.
|
|
293
|
+
*/
|
|
294
|
+
readonly persistenceConfig: pulumi.Output<outputs.redis.InstancePersistenceConfig>;
|
|
273
295
|
/**
|
|
274
296
|
* Output only. Cloud IAM identity used by import / export operations to transfer data to/from Cloud Storage. Format is
|
|
275
297
|
* "serviceAccount:". The value may change over time for a given instance so should be checked before each import/export
|
|
@@ -469,6 +491,11 @@ export interface InstanceState {
|
|
|
469
491
|
* Output only. Info per node.
|
|
470
492
|
*/
|
|
471
493
|
nodes?: pulumi.Input<pulumi.Input<inputs.redis.InstanceNode>[]>;
|
|
494
|
+
/**
|
|
495
|
+
* Maintenance policy for an instance.
|
|
496
|
+
* Structure is documented below.
|
|
497
|
+
*/
|
|
498
|
+
persistenceConfig?: pulumi.Input<inputs.redis.InstancePersistenceConfig>;
|
|
472
499
|
/**
|
|
473
500
|
* Output only. Cloud IAM identity used by import / export operations to transfer data to/from Cloud Storage. Format is
|
|
474
501
|
* "serviceAccount:". The value may change over time for a given instance so should be checked before each import/export
|
|
@@ -635,6 +662,11 @@ export interface InstanceArgs {
|
|
|
635
662
|
* The ID of the instance or a fully qualified identifier for the instance.
|
|
636
663
|
*/
|
|
637
664
|
name?: pulumi.Input<string>;
|
|
665
|
+
/**
|
|
666
|
+
* Maintenance policy for an instance.
|
|
667
|
+
* Structure is documented below.
|
|
668
|
+
*/
|
|
669
|
+
persistenceConfig?: pulumi.Input<inputs.redis.InstancePersistenceConfig>;
|
|
638
670
|
/**
|
|
639
671
|
* The ID of the project in which the resource belongs.
|
|
640
672
|
* If it is not provided, the provider project is used.
|
package/redis/instance.js
CHANGED
|
@@ -60,6 +60,23 @@ const utilities = require("../utilities");
|
|
|
60
60
|
* },
|
|
61
61
|
* });
|
|
62
62
|
* ```
|
|
63
|
+
* ### Redis Instance Full With Persistence Config
|
|
64
|
+
*
|
|
65
|
+
* ```typescript
|
|
66
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
67
|
+
* import * as gcp from "@pulumi/gcp";
|
|
68
|
+
*
|
|
69
|
+
* const cache_persis = new gcp.redis.Instance("cache-persis", {
|
|
70
|
+
* alternativeLocationId: "us-central1-f",
|
|
71
|
+
* locationId: "us-central1-a",
|
|
72
|
+
* memorySizeGb: 1,
|
|
73
|
+
* persistenceConfig: {
|
|
74
|
+
* persistenceMode: "RDB",
|
|
75
|
+
* rdbSnapshotPeriod: "TWELVE_HOURS",
|
|
76
|
+
* },
|
|
77
|
+
* tier: "STANDARD_HA",
|
|
78
|
+
* });
|
|
79
|
+
* ```
|
|
63
80
|
* ### Redis Instance Private Service
|
|
64
81
|
*
|
|
65
82
|
* ```typescript
|
|
@@ -190,6 +207,7 @@ class Instance extends pulumi.CustomResource {
|
|
|
190
207
|
resourceInputs["memorySizeGb"] = state ? state.memorySizeGb : undefined;
|
|
191
208
|
resourceInputs["name"] = state ? state.name : undefined;
|
|
192
209
|
resourceInputs["nodes"] = state ? state.nodes : undefined;
|
|
210
|
+
resourceInputs["persistenceConfig"] = state ? state.persistenceConfig : undefined;
|
|
193
211
|
resourceInputs["persistenceIamIdentity"] = state ? state.persistenceIamIdentity : undefined;
|
|
194
212
|
resourceInputs["port"] = state ? state.port : undefined;
|
|
195
213
|
resourceInputs["project"] = state ? state.project : undefined;
|
|
@@ -223,6 +241,7 @@ class Instance extends pulumi.CustomResource {
|
|
|
223
241
|
resourceInputs["maintenanceSchedule"] = args ? args.maintenanceSchedule : undefined;
|
|
224
242
|
resourceInputs["memorySizeGb"] = args ? args.memorySizeGb : undefined;
|
|
225
243
|
resourceInputs["name"] = args ? args.name : undefined;
|
|
244
|
+
resourceInputs["persistenceConfig"] = args ? args.persistenceConfig : undefined;
|
|
226
245
|
resourceInputs["project"] = args ? args.project : undefined;
|
|
227
246
|
resourceInputs["readReplicasMode"] = args ? args.readReplicasMode : undefined;
|
|
228
247
|
resourceInputs["redisConfigs"] = args ? args.redisConfigs : undefined;
|
package/redis/instance.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"instance.js","sourceRoot":"","sources":["../../redis/instance.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;A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O,CAAC;YAC7D,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3C,cAAc,CAAC,cAAc,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACnD,cAAc,CAAC,kBAAkB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACvD,cAAc,CAAC,eAAe,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACvD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,QAAQ,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC7D,CAAC;IA9SD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAqB,EAAE,IAAmC;QACnH,OAAO,IAAI,QAAQ,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC/D,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,QAAQ,CAAC,YAAY,CAAC;IACzD,CAAC;;AA1BL,4BAgTC;AAlSG,gBAAgB;AACO,qBAAY,GAAG,6BAA6B,CAAC"}
|
package/types/input.d.ts
CHANGED
|
@@ -2342,6 +2342,10 @@ export declare namespace appengine {
|
|
|
2342
2342
|
instances: pulumi.Input<number>;
|
|
2343
2343
|
}
|
|
2344
2344
|
interface StandardAppVersionVpcAccessConnector {
|
|
2345
|
+
/**
|
|
2346
|
+
* The egress setting for the connector, controlling what traffic is diverted through it.
|
|
2347
|
+
*/
|
|
2348
|
+
egressSetting?: pulumi.Input<string>;
|
|
2345
2349
|
/**
|
|
2346
2350
|
* Full Serverless VPC Access Connector name e.g. /projects/my-project/locations/us-central1/connectors/c1.
|
|
2347
2351
|
*/
|
|
@@ -2908,6 +2912,12 @@ export declare namespace bigquery {
|
|
|
2908
2912
|
* JSON: Named values that don't match any column names
|
|
2909
2913
|
*/
|
|
2910
2914
|
ignoreUnknownValues?: pulumi.Input<boolean>;
|
|
2915
|
+
/**
|
|
2916
|
+
* If sourceFormat is set to newline-delimited JSON, indicates whether it should be processed as a JSON variant such as GeoJSON.
|
|
2917
|
+
* For a sourceFormat other than JSON, omit this field. If the sourceFormat is newline-delimited JSON: - for newline-delimited
|
|
2918
|
+
* GeoJSON: set to GEOJSON.
|
|
2919
|
+
*/
|
|
2920
|
+
jsonExtension?: pulumi.Input<string>;
|
|
2911
2921
|
/**
|
|
2912
2922
|
* The maximum number of bad records that BigQuery can ignore when running the job. If the number of bad records exceeds this value,
|
|
2913
2923
|
* an invalid error is returned in the job result. The default value is 0, which requires that all records are valid.
|
|
@@ -13742,6 +13752,11 @@ export declare namespace compute {
|
|
|
13742
13752
|
ruleVisibility?: pulumi.Input<string>;
|
|
13743
13753
|
}
|
|
13744
13754
|
interface SecurityPolicyAdvancedOptionsConfig {
|
|
13755
|
+
/**
|
|
13756
|
+
* Custom configuration to apply the JSON parsing. Only applicable when
|
|
13757
|
+
* `jsonParsing` is set to `STANDARD`. Structure is documented below.
|
|
13758
|
+
*/
|
|
13759
|
+
jsonCustomConfig?: pulumi.Input<inputs.compute.SecurityPolicyAdvancedOptionsConfigJsonCustomConfig>;
|
|
13745
13760
|
/**
|
|
13746
13761
|
* Whether or not to JSON parse the payload body. Defaults to `DISABLED`.
|
|
13747
13762
|
* * DISABLED - Don't parse JSON payloads in POST bodies.
|
|
@@ -13755,6 +13770,15 @@ export declare namespace compute {
|
|
|
13755
13770
|
*/
|
|
13756
13771
|
logLevel?: pulumi.Input<string>;
|
|
13757
13772
|
}
|
|
13773
|
+
interface SecurityPolicyAdvancedOptionsConfigJsonCustomConfig {
|
|
13774
|
+
/**
|
|
13775
|
+
* A list of custom Content-Type header values to apply the JSON parsing. The
|
|
13776
|
+
* format of the Content-Type header values is defined in
|
|
13777
|
+
* [RFC 1341](https://www.ietf.org/rfc/rfc1341.txt). When configuring a custom Content-Type header
|
|
13778
|
+
* value, only the type/subtype needs to be specified, and the parameters should be excluded.
|
|
13779
|
+
*/
|
|
13780
|
+
contentTypes: pulumi.Input<pulumi.Input<string>[]>;
|
|
13781
|
+
}
|
|
13758
13782
|
interface SecurityPolicyRule {
|
|
13759
13783
|
/**
|
|
13760
13784
|
* Action to take when `match` matches the request. Valid values:
|
|
@@ -17712,9 +17736,10 @@ export declare namespace container {
|
|
|
17712
17736
|
}
|
|
17713
17737
|
interface NodePoolAutoscaling {
|
|
17714
17738
|
/**
|
|
17715
|
-
* Location policy specifies the algorithm used when
|
|
17716
|
-
*
|
|
17717
|
-
* "
|
|
17739
|
+
* Location policy specifies the algorithm used when
|
|
17740
|
+
* scaling-up the node pool. Location policy is supported only in 1.24.1+ clusters.
|
|
17741
|
+
* * "BALANCED" - Is a best effort policy that aims to balance the sizes of available zones.
|
|
17742
|
+
* * "ANY" - Instructs the cluster autoscaler to prioritize utilization of unused reservations,
|
|
17718
17743
|
* and reduce preemption risk for Spot VMs.
|
|
17719
17744
|
*/
|
|
17720
17745
|
locationPolicy?: pulumi.Input<string>;
|
|
@@ -17731,11 +17756,13 @@ export declare namespace container {
|
|
|
17731
17756
|
/**
|
|
17732
17757
|
* Total maximum number of nodes in the NodePool.
|
|
17733
17758
|
* Must be >= total_min_node_count. Cannot be used with per zone limits.
|
|
17759
|
+
* Total size limits are supported only in 1.24.1+ clusters.
|
|
17734
17760
|
*/
|
|
17735
17761
|
totalMaxNodeCount?: pulumi.Input<number>;
|
|
17736
17762
|
/**
|
|
17737
17763
|
* Total minimum number of nodes in the NodePool.
|
|
17738
17764
|
* Must be >=0 and <= `totalMaxNodeCount`. Cannot be used with per zone limits.
|
|
17765
|
+
* Total size limits are supported only in 1.24.1+ clusters.
|
|
17739
17766
|
*/
|
|
17740
17767
|
totalMinNodeCount?: pulumi.Input<number>;
|
|
17741
17768
|
}
|
|
@@ -21555,6 +21582,17 @@ export declare namespace datastream {
|
|
|
21555
21582
|
*/
|
|
21556
21583
|
username: pulumi.Input<string>;
|
|
21557
21584
|
}
|
|
21585
|
+
interface PrivateConnectionVpcPeeringConfig {
|
|
21586
|
+
/**
|
|
21587
|
+
* A free subnet for peering. (CIDR of /29)
|
|
21588
|
+
*/
|
|
21589
|
+
subnet: pulumi.Input<string>;
|
|
21590
|
+
/**
|
|
21591
|
+
* Fully qualified name of the VPC that Datastream will peer to.
|
|
21592
|
+
* Format: projects/{project}/global/{networks}/{name}
|
|
21593
|
+
*/
|
|
21594
|
+
vpc: pulumi.Input<string>;
|
|
21595
|
+
}
|
|
21558
21596
|
}
|
|
21559
21597
|
export declare namespace deploymentmanager {
|
|
21560
21598
|
interface DeploymentLabel {
|
|
@@ -29077,6 +29115,41 @@ export declare namespace redis {
|
|
|
29077
29115
|
id?: pulumi.Input<string>;
|
|
29078
29116
|
zone?: pulumi.Input<string>;
|
|
29079
29117
|
}
|
|
29118
|
+
interface InstancePersistenceConfig {
|
|
29119
|
+
/**
|
|
29120
|
+
* Optional. Controls whether Persistence features are enabled. If not provided, the existing value will be used.
|
|
29121
|
+
* - DISABLED: Persistence is disabled for the instance, and any existing snapshots are deleted.
|
|
29122
|
+
* - RDB: RDB based Persistence is enabled.
|
|
29123
|
+
* Possible values are `DISABLED` and `RDB`.
|
|
29124
|
+
*/
|
|
29125
|
+
persistenceMode?: pulumi.Input<string>;
|
|
29126
|
+
/**
|
|
29127
|
+
* -
|
|
29128
|
+
* Output only. The next time that a snapshot attempt is scheduled to occur.
|
|
29129
|
+
* A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up
|
|
29130
|
+
* to nine fractional digits.
|
|
29131
|
+
* Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
|
|
29132
|
+
*/
|
|
29133
|
+
rdbNextSnapshotTime?: pulumi.Input<string>;
|
|
29134
|
+
/**
|
|
29135
|
+
* Optional. Available snapshot periods for scheduling.
|
|
29136
|
+
* - ONE_HOUR: Snapshot every 1 hour.
|
|
29137
|
+
* - SIX_HOURS: Snapshot every 6 hours.
|
|
29138
|
+
* - TWELVE_HOURS: Snapshot every 12 hours.
|
|
29139
|
+
* - TWENTY_FOUR_HOURS: Snapshot every 24 horus.
|
|
29140
|
+
* Possible values are `ONE_HOUR`, `SIX_HOURS`, `TWELVE_HOURS`, and `TWENTY_FOUR_HOURS`.
|
|
29141
|
+
*/
|
|
29142
|
+
rdbSnapshotPeriod: pulumi.Input<string>;
|
|
29143
|
+
/**
|
|
29144
|
+
* Optional. Date and time that the first snapshot was/will be attempted,
|
|
29145
|
+
* and to which future snapshots will be aligned. If not provided,
|
|
29146
|
+
* the current time will be used.
|
|
29147
|
+
* A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution
|
|
29148
|
+
* and up to nine fractional digits.
|
|
29149
|
+
* Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
|
|
29150
|
+
*/
|
|
29151
|
+
rdbSnapshotStartTime?: pulumi.Input<string>;
|
|
29152
|
+
}
|
|
29080
29153
|
interface InstanceServerCaCert {
|
|
29081
29154
|
cert?: pulumi.Input<string>;
|
|
29082
29155
|
/**
|
|
@@ -30060,6 +30133,10 @@ export declare namespace storage {
|
|
|
30060
30133
|
* Whether overwriting objects that already exist in the sink is allowed.
|
|
30061
30134
|
*/
|
|
30062
30135
|
overwriteObjectsAlreadyExistingInSink?: pulumi.Input<boolean>;
|
|
30136
|
+
/**
|
|
30137
|
+
* When to overwrite objects that already exist in the sink. If not set, overwrite behavior is determined by `overwriteObjectsAlreadyExistingInSink`. Possible values: ALWAYS, DIFFERENT, NEVER.
|
|
30138
|
+
*/
|
|
30139
|
+
overwriteWhen?: pulumi.Input<string>;
|
|
30063
30140
|
}
|
|
30064
30141
|
}
|
|
30065
30142
|
export declare namespace tags {
|
package/types/output.d.ts
CHANGED
|
@@ -2337,6 +2337,10 @@ export declare namespace appengine {
|
|
|
2337
2337
|
instances: number;
|
|
2338
2338
|
}
|
|
2339
2339
|
interface StandardAppVersionVpcAccessConnector {
|
|
2340
|
+
/**
|
|
2341
|
+
* The egress setting for the connector, controlling what traffic is diverted through it.
|
|
2342
|
+
*/
|
|
2343
|
+
egressSetting?: string;
|
|
2340
2344
|
/**
|
|
2341
2345
|
* Full Serverless VPC Access Connector name e.g. /projects/my-project/locations/us-central1/connectors/c1.
|
|
2342
2346
|
*/
|
|
@@ -2903,6 +2907,12 @@ export declare namespace bigquery {
|
|
|
2903
2907
|
* JSON: Named values that don't match any column names
|
|
2904
2908
|
*/
|
|
2905
2909
|
ignoreUnknownValues?: boolean;
|
|
2910
|
+
/**
|
|
2911
|
+
* If sourceFormat is set to newline-delimited JSON, indicates whether it should be processed as a JSON variant such as GeoJSON.
|
|
2912
|
+
* For a sourceFormat other than JSON, omit this field. If the sourceFormat is newline-delimited JSON: - for newline-delimited
|
|
2913
|
+
* GeoJSON: set to GEOJSON.
|
|
2914
|
+
*/
|
|
2915
|
+
jsonExtension?: string;
|
|
2906
2916
|
/**
|
|
2907
2917
|
* The maximum number of bad records that BigQuery can ignore when running the job. If the number of bad records exceeds this value,
|
|
2908
2918
|
* an invalid error is returned in the job result. The default value is 0, which requires that all records are valid.
|
|
@@ -15167,6 +15177,11 @@ export declare namespace compute {
|
|
|
15167
15177
|
ruleVisibility?: string;
|
|
15168
15178
|
}
|
|
15169
15179
|
interface SecurityPolicyAdvancedOptionsConfig {
|
|
15180
|
+
/**
|
|
15181
|
+
* Custom configuration to apply the JSON parsing. Only applicable when
|
|
15182
|
+
* `jsonParsing` is set to `STANDARD`. Structure is documented below.
|
|
15183
|
+
*/
|
|
15184
|
+
jsonCustomConfig: outputs.compute.SecurityPolicyAdvancedOptionsConfigJsonCustomConfig;
|
|
15170
15185
|
/**
|
|
15171
15186
|
* Whether or not to JSON parse the payload body. Defaults to `DISABLED`.
|
|
15172
15187
|
* * DISABLED - Don't parse JSON payloads in POST bodies.
|
|
@@ -15180,6 +15195,15 @@ export declare namespace compute {
|
|
|
15180
15195
|
*/
|
|
15181
15196
|
logLevel: string;
|
|
15182
15197
|
}
|
|
15198
|
+
interface SecurityPolicyAdvancedOptionsConfigJsonCustomConfig {
|
|
15199
|
+
/**
|
|
15200
|
+
* A list of custom Content-Type header values to apply the JSON parsing. The
|
|
15201
|
+
* format of the Content-Type header values is defined in
|
|
15202
|
+
* [RFC 1341](https://www.ietf.org/rfc/rfc1341.txt). When configuring a custom Content-Type header
|
|
15203
|
+
* value, only the type/subtype needs to be specified, and the parameters should be excluded.
|
|
15204
|
+
*/
|
|
15205
|
+
contentTypes: string[];
|
|
15206
|
+
}
|
|
15183
15207
|
interface SecurityPolicyRule {
|
|
15184
15208
|
/**
|
|
15185
15209
|
* Action to take when `match` matches the request. Valid values:
|
|
@@ -19557,9 +19581,10 @@ export declare namespace container {
|
|
|
19557
19581
|
}
|
|
19558
19582
|
interface NodePoolAutoscaling {
|
|
19559
19583
|
/**
|
|
19560
|
-
* Location policy specifies the algorithm used when
|
|
19561
|
-
*
|
|
19562
|
-
* "
|
|
19584
|
+
* Location policy specifies the algorithm used when
|
|
19585
|
+
* scaling-up the node pool. Location policy is supported only in 1.24.1+ clusters.
|
|
19586
|
+
* * "BALANCED" - Is a best effort policy that aims to balance the sizes of available zones.
|
|
19587
|
+
* * "ANY" - Instructs the cluster autoscaler to prioritize utilization of unused reservations,
|
|
19563
19588
|
* and reduce preemption risk for Spot VMs.
|
|
19564
19589
|
*/
|
|
19565
19590
|
locationPolicy?: string;
|
|
@@ -19576,11 +19601,13 @@ export declare namespace container {
|
|
|
19576
19601
|
/**
|
|
19577
19602
|
* Total maximum number of nodes in the NodePool.
|
|
19578
19603
|
* Must be >= total_min_node_count. Cannot be used with per zone limits.
|
|
19604
|
+
* Total size limits are supported only in 1.24.1+ clusters.
|
|
19579
19605
|
*/
|
|
19580
19606
|
totalMaxNodeCount?: number;
|
|
19581
19607
|
/**
|
|
19582
19608
|
* Total minimum number of nodes in the NodePool.
|
|
19583
19609
|
* Must be >=0 and <= `totalMaxNodeCount`. Cannot be used with per zone limits.
|
|
19610
|
+
* Total size limits are supported only in 1.24.1+ clusters.
|
|
19584
19611
|
*/
|
|
19585
19612
|
totalMinNodeCount?: number;
|
|
19586
19613
|
}
|
|
@@ -23400,6 +23427,17 @@ export declare namespace datastream {
|
|
|
23400
23427
|
*/
|
|
23401
23428
|
username: string;
|
|
23402
23429
|
}
|
|
23430
|
+
interface PrivateConnectionVpcPeeringConfig {
|
|
23431
|
+
/**
|
|
23432
|
+
* A free subnet for peering. (CIDR of /29)
|
|
23433
|
+
*/
|
|
23434
|
+
subnet: string;
|
|
23435
|
+
/**
|
|
23436
|
+
* Fully qualified name of the VPC that Datastream will peer to.
|
|
23437
|
+
* Format: projects/{project}/global/{networks}/{name}
|
|
23438
|
+
*/
|
|
23439
|
+
vpc: string;
|
|
23440
|
+
}
|
|
23403
23441
|
}
|
|
23404
23442
|
export declare namespace deploymentmanager {
|
|
23405
23443
|
interface DeploymentLabel {
|
|
@@ -31081,6 +31119,12 @@ export declare namespace redis {
|
|
|
31081
31119
|
id: string;
|
|
31082
31120
|
zone: string;
|
|
31083
31121
|
}
|
|
31122
|
+
interface GetInstancePersistenceConfig {
|
|
31123
|
+
persistenceMode: string;
|
|
31124
|
+
rdbNextSnapshotTime: string;
|
|
31125
|
+
rdbSnapshotPeriod: string;
|
|
31126
|
+
rdbSnapshotStartTime: string;
|
|
31127
|
+
}
|
|
31084
31128
|
interface GetInstanceServerCaCert {
|
|
31085
31129
|
cert: string;
|
|
31086
31130
|
createTime: string;
|
|
@@ -31198,6 +31242,41 @@ export declare namespace redis {
|
|
|
31198
31242
|
id: string;
|
|
31199
31243
|
zone: string;
|
|
31200
31244
|
}
|
|
31245
|
+
interface InstancePersistenceConfig {
|
|
31246
|
+
/**
|
|
31247
|
+
* Optional. Controls whether Persistence features are enabled. If not provided, the existing value will be used.
|
|
31248
|
+
* - DISABLED: Persistence is disabled for the instance, and any existing snapshots are deleted.
|
|
31249
|
+
* - RDB: RDB based Persistence is enabled.
|
|
31250
|
+
* Possible values are `DISABLED` and `RDB`.
|
|
31251
|
+
*/
|
|
31252
|
+
persistenceMode: string;
|
|
31253
|
+
/**
|
|
31254
|
+
* -
|
|
31255
|
+
* Output only. The next time that a snapshot attempt is scheduled to occur.
|
|
31256
|
+
* A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up
|
|
31257
|
+
* to nine fractional digits.
|
|
31258
|
+
* Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
|
|
31259
|
+
*/
|
|
31260
|
+
rdbNextSnapshotTime: string;
|
|
31261
|
+
/**
|
|
31262
|
+
* Optional. Available snapshot periods for scheduling.
|
|
31263
|
+
* - ONE_HOUR: Snapshot every 1 hour.
|
|
31264
|
+
* - SIX_HOURS: Snapshot every 6 hours.
|
|
31265
|
+
* - TWELVE_HOURS: Snapshot every 12 hours.
|
|
31266
|
+
* - TWENTY_FOUR_HOURS: Snapshot every 24 horus.
|
|
31267
|
+
* Possible values are `ONE_HOUR`, `SIX_HOURS`, `TWELVE_HOURS`, and `TWENTY_FOUR_HOURS`.
|
|
31268
|
+
*/
|
|
31269
|
+
rdbSnapshotPeriod: string;
|
|
31270
|
+
/**
|
|
31271
|
+
* Optional. Date and time that the first snapshot was/will be attempted,
|
|
31272
|
+
* and to which future snapshots will be aligned. If not provided,
|
|
31273
|
+
* the current time will be used.
|
|
31274
|
+
* A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution
|
|
31275
|
+
* and up to nine fractional digits.
|
|
31276
|
+
* Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
|
|
31277
|
+
*/
|
|
31278
|
+
rdbSnapshotStartTime: string;
|
|
31279
|
+
}
|
|
31201
31280
|
interface InstanceServerCaCert {
|
|
31202
31281
|
cert: string;
|
|
31203
31282
|
/**
|
|
@@ -32411,6 +32490,10 @@ export declare namespace storage {
|
|
|
32411
32490
|
* Whether overwriting objects that already exist in the sink is allowed.
|
|
32412
32491
|
*/
|
|
32413
32492
|
overwriteObjectsAlreadyExistingInSink?: boolean;
|
|
32493
|
+
/**
|
|
32494
|
+
* When to overwrite objects that already exist in the sink. If not set, overwrite behavior is determined by `overwriteObjectsAlreadyExistingInSink`. Possible values: ALWAYS, DIFFERENT, NEVER.
|
|
32495
|
+
*/
|
|
32496
|
+
overwriteWhen?: string;
|
|
32414
32497
|
}
|
|
32415
32498
|
}
|
|
32416
32499
|
export declare namespace tags {
|