@pulumi/gcp 8.3.1 → 8.4.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/apigee/natAddress.d.ts +76 -1
- package/apigee/natAddress.js +66 -1
- package/apigee/natAddress.js.map +1 -1
- package/bigquery/table.d.ts +12 -0
- package/bigquery/table.js +2 -0
- package/bigquery/table.js.map +1 -1
- package/cloudrun/service.d.ts +39 -0
- package/cloudrun/service.js +39 -0
- package/cloudrun/service.js.map +1 -1
- package/cloudrunv2/service.d.ts +33 -0
- package/cloudrunv2/service.js +33 -0
- package/cloudrunv2/service.js.map +1 -1
- package/compute/getRegionInstanceGroupManager.d.ts +135 -0
- package/compute/getRegionInstanceGroupManager.js +82 -0
- package/compute/getRegionInstanceGroupManager.js.map +1 -0
- package/compute/getRouterNat.d.ts +1 -0
- package/compute/getRouterNat.js.map +1 -1
- package/compute/index.d.ts +9 -0
- package/compute/index.js +17 -4
- package/compute/index.js.map +1 -1
- package/compute/instance.d.ts +3 -3
- package/compute/instanceFromMachineImage.d.ts +3 -3
- package/compute/instanceFromTemplate.d.ts +3 -3
- package/compute/interconnect.d.ts +22 -16
- package/compute/interconnect.js +0 -6
- package/compute/interconnect.js.map +1 -1
- package/compute/regionCommitment.d.ts +12 -0
- package/compute/regionCommitment.js +2 -0
- package/compute/regionCommitment.js.map +1 -1
- package/compute/regionNetworkFirewallPolicyWithRules.d.ts +304 -0
- package/compute/regionNetworkFirewallPolicyWithRules.js +210 -0
- package/compute/regionNetworkFirewallPolicyWithRules.js.map +1 -0
- package/compute/routerNat.d.ts +17 -2
- package/compute/routerNat.js +2 -0
- package/compute/routerNat.js.map +1 -1
- package/compute/routerNatAddress.d.ts +171 -0
- package/compute/routerNatAddress.js +113 -0
- package/compute/routerNatAddress.js.map +1 -0
- package/compute/subnetwork.d.ts +6 -6
- package/logging/index.d.ts +3 -0
- package/logging/index.js +6 -1
- package/logging/index.js.map +1 -1
- package/logging/logScope.d.ts +163 -0
- package/logging/logScope.js +106 -0
- package/logging/logScope.js.map +1 -0
- package/looker/instance.d.ts +49 -0
- package/looker/instance.js +26 -0
- package/looker/instance.js.map +1 -1
- package/networkconnectivity/spoke.d.ts +174 -0
- package/networkconnectivity/spoke.js +174 -0
- package/networkconnectivity/spoke.js.map +1 -1
- package/networksecurity/securityProfile.d.ts +1 -1
- package/networksecurity/securityProfile.js +1 -1
- package/package.json +2 -2
- package/privilegedaccessmanager/getEntitlement.d.ts +43 -0
- package/privilegedaccessmanager/getEntitlement.js +28 -0
- package/privilegedaccessmanager/getEntitlement.js.map +1 -0
- package/privilegedaccessmanager/index.d.ts +3 -0
- package/privilegedaccessmanager/index.js +4 -1
- package/privilegedaccessmanager/index.js.map +1 -1
- package/secretmanager/getRegionalSecretVersion.d.ts +2 -2
- package/secretmanager/getRegionalSecretVersion.js +2 -2
- package/secretmanager/getRegionalSecretVersionAccess.d.ts +105 -0
- package/secretmanager/getRegionalSecretVersionAccess.js +58 -0
- package/secretmanager/getRegionalSecretVersionAccess.js.map +1 -0
- package/secretmanager/getRegionalSecrets.d.ts +88 -0
- package/secretmanager/getRegionalSecrets.js +54 -0
- package/secretmanager/getRegionalSecrets.js.map +1 -0
- package/secretmanager/index.d.ts +6 -0
- package/secretmanager/index.js +7 -1
- package/secretmanager/index.js.map +1 -1
- package/types/input.d.ts +578 -3
- package/types/output.d.ts +1055 -5
|
@@ -0,0 +1,304 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../types/input";
|
|
3
|
+
import * as outputs from "../types/output";
|
|
4
|
+
/**
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ### Compute Region Network Firewall Policy With Rules Full
|
|
8
|
+
*
|
|
9
|
+
* ```typescript
|
|
10
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
+
* import * as gcp from "@pulumi/gcp";
|
|
12
|
+
*
|
|
13
|
+
* const project = gcp.organizations.getProject({});
|
|
14
|
+
* const addressGroup1 = new gcp.networksecurity.AddressGroup("address_group_1", {
|
|
15
|
+
* name: "tf-address-group",
|
|
16
|
+
* parent: project.then(project => `projects/${project.name}`),
|
|
17
|
+
* description: "Regional address group",
|
|
18
|
+
* location: "us-west2",
|
|
19
|
+
* items: ["208.80.154.224/32"],
|
|
20
|
+
* type: "IPV4",
|
|
21
|
+
* capacity: 100,
|
|
22
|
+
* });
|
|
23
|
+
* const secureTagKey1 = new gcp.tags.TagKey("secure_tag_key_1", {
|
|
24
|
+
* description: "Tag key",
|
|
25
|
+
* parent: project.then(project => `projects/${project.name}`),
|
|
26
|
+
* purpose: "GCE_FIREWALL",
|
|
27
|
+
* shortName: "tf-tag-key",
|
|
28
|
+
* purposeData: {
|
|
29
|
+
* network: project.then(project => `${project.name}/default`),
|
|
30
|
+
* },
|
|
31
|
+
* });
|
|
32
|
+
* const secureTagValue1 = new gcp.tags.TagValue("secure_tag_value_1", {
|
|
33
|
+
* description: "Tag value",
|
|
34
|
+
* parent: pulumi.interpolate`tagKeys/${secureTagKey1.name}`,
|
|
35
|
+
* shortName: "tf-tag-value",
|
|
36
|
+
* });
|
|
37
|
+
* const region_network_firewall_policy_with_rules = new gcp.compute.RegionNetworkFirewallPolicyWithRules("region-network-firewall-policy-with-rules", {
|
|
38
|
+
* name: "tf-region-fw-policy-with-rules",
|
|
39
|
+
* region: "us-west2",
|
|
40
|
+
* description: "Terraform test",
|
|
41
|
+
* rules: [
|
|
42
|
+
* {
|
|
43
|
+
* description: "tcp rule",
|
|
44
|
+
* priority: 1000,
|
|
45
|
+
* enableLogging: true,
|
|
46
|
+
* action: "allow",
|
|
47
|
+
* direction: "EGRESS",
|
|
48
|
+
* match: {
|
|
49
|
+
* layer4Configs: [{
|
|
50
|
+
* ipProtocol: "tcp",
|
|
51
|
+
* ports: [
|
|
52
|
+
* "8080",
|
|
53
|
+
* "7070",
|
|
54
|
+
* ],
|
|
55
|
+
* }],
|
|
56
|
+
* destIpRanges: ["11.100.0.1/32"],
|
|
57
|
+
* destFqdns: [
|
|
58
|
+
* "www.yyy.com",
|
|
59
|
+
* "www.zzz.com",
|
|
60
|
+
* ],
|
|
61
|
+
* destRegionCodes: [
|
|
62
|
+
* "HK",
|
|
63
|
+
* "IN",
|
|
64
|
+
* ],
|
|
65
|
+
* destThreatIntelligences: [
|
|
66
|
+
* "iplist-search-engines-crawlers",
|
|
67
|
+
* "iplist-tor-exit-nodes",
|
|
68
|
+
* ],
|
|
69
|
+
* destAddressGroups: [addressGroup1.id],
|
|
70
|
+
* },
|
|
71
|
+
* targetSecureTags: [{
|
|
72
|
+
* name: pulumi.interpolate`tagValues/${secureTagValue1.name}`,
|
|
73
|
+
* }],
|
|
74
|
+
* },
|
|
75
|
+
* {
|
|
76
|
+
* description: "udp rule",
|
|
77
|
+
* ruleName: "test-rule",
|
|
78
|
+
* priority: 2000,
|
|
79
|
+
* enableLogging: false,
|
|
80
|
+
* action: "deny",
|
|
81
|
+
* direction: "INGRESS",
|
|
82
|
+
* match: {
|
|
83
|
+
* layer4Configs: [{
|
|
84
|
+
* ipProtocol: "udp",
|
|
85
|
+
* }],
|
|
86
|
+
* srcIpRanges: ["0.0.0.0/0"],
|
|
87
|
+
* srcFqdns: [
|
|
88
|
+
* "www.abc.com",
|
|
89
|
+
* "www.def.com",
|
|
90
|
+
* ],
|
|
91
|
+
* srcRegionCodes: [
|
|
92
|
+
* "US",
|
|
93
|
+
* "CA",
|
|
94
|
+
* ],
|
|
95
|
+
* srcThreatIntelligences: [
|
|
96
|
+
* "iplist-known-malicious-ips",
|
|
97
|
+
* "iplist-public-clouds",
|
|
98
|
+
* ],
|
|
99
|
+
* srcAddressGroups: [addressGroup1.id],
|
|
100
|
+
* srcSecureTags: [{
|
|
101
|
+
* name: pulumi.interpolate`tagValues/${secureTagValue1.name}`,
|
|
102
|
+
* }],
|
|
103
|
+
* },
|
|
104
|
+
* disabled: true,
|
|
105
|
+
* },
|
|
106
|
+
* ],
|
|
107
|
+
* });
|
|
108
|
+
* ```
|
|
109
|
+
*
|
|
110
|
+
* ## Import
|
|
111
|
+
*
|
|
112
|
+
* RegionNetworkFirewallPolicyWithRules can be imported using any of these accepted formats:
|
|
113
|
+
*
|
|
114
|
+
* * `projects/{{project}}/regions/{{region}}/firewallPolicies/{{name}}`
|
|
115
|
+
*
|
|
116
|
+
* * `{{project}}/{{region}}/{{name}}`
|
|
117
|
+
*
|
|
118
|
+
* * `{{region}}/{{name}}`
|
|
119
|
+
*
|
|
120
|
+
* * `{{name}}`
|
|
121
|
+
*
|
|
122
|
+
* When using the `pulumi import` command, RegionNetworkFirewallPolicyWithRules can be imported using one of the formats above. For example:
|
|
123
|
+
*
|
|
124
|
+
* ```sh
|
|
125
|
+
* $ pulumi import gcp:compute/regionNetworkFirewallPolicyWithRules:RegionNetworkFirewallPolicyWithRules default projects/{{project}}/regions/{{region}}/firewallPolicies/{{name}}
|
|
126
|
+
* ```
|
|
127
|
+
*
|
|
128
|
+
* ```sh
|
|
129
|
+
* $ pulumi import gcp:compute/regionNetworkFirewallPolicyWithRules:RegionNetworkFirewallPolicyWithRules default {{project}}/{{region}}/{{name}}
|
|
130
|
+
* ```
|
|
131
|
+
*
|
|
132
|
+
* ```sh
|
|
133
|
+
* $ pulumi import gcp:compute/regionNetworkFirewallPolicyWithRules:RegionNetworkFirewallPolicyWithRules default {{region}}/{{name}}
|
|
134
|
+
* ```
|
|
135
|
+
*
|
|
136
|
+
* ```sh
|
|
137
|
+
* $ pulumi import gcp:compute/regionNetworkFirewallPolicyWithRules:RegionNetworkFirewallPolicyWithRules default {{name}}
|
|
138
|
+
* ```
|
|
139
|
+
*/
|
|
140
|
+
export declare class RegionNetworkFirewallPolicyWithRules extends pulumi.CustomResource {
|
|
141
|
+
/**
|
|
142
|
+
* Get an existing RegionNetworkFirewallPolicyWithRules resource's state with the given name, ID, and optional extra
|
|
143
|
+
* properties used to qualify the lookup.
|
|
144
|
+
*
|
|
145
|
+
* @param name The _unique_ name of the resulting resource.
|
|
146
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
147
|
+
* @param state Any extra arguments used during the lookup.
|
|
148
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
149
|
+
*/
|
|
150
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: RegionNetworkFirewallPolicyWithRulesState, opts?: pulumi.CustomResourceOptions): RegionNetworkFirewallPolicyWithRules;
|
|
151
|
+
/**
|
|
152
|
+
* Returns true if the given object is an instance of RegionNetworkFirewallPolicyWithRules. This is designed to work even
|
|
153
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
154
|
+
*/
|
|
155
|
+
static isInstance(obj: any): obj is RegionNetworkFirewallPolicyWithRules;
|
|
156
|
+
/**
|
|
157
|
+
* Creation timestamp in RFC3339 text format.
|
|
158
|
+
*/
|
|
159
|
+
readonly creationTimestamp: pulumi.Output<string>;
|
|
160
|
+
/**
|
|
161
|
+
* (Output)
|
|
162
|
+
* A description of the rule.
|
|
163
|
+
*/
|
|
164
|
+
readonly description: pulumi.Output<string | undefined>;
|
|
165
|
+
/**
|
|
166
|
+
* Fingerprint of the resource. This field is used internally during updates of this resource.
|
|
167
|
+
*/
|
|
168
|
+
readonly fingerprint: pulumi.Output<string>;
|
|
169
|
+
/**
|
|
170
|
+
* User-provided name of the Network firewall policy.
|
|
171
|
+
* The name should be unique in the project in which the firewall policy is created.
|
|
172
|
+
* The name must be 1-63 characters long, and comply with RFC1035. Specifically,
|
|
173
|
+
* the name must be 1-63 characters long and match the regular expression a-z?
|
|
174
|
+
* which means the first character must be a lowercase letter, and all following characters must be a dash,
|
|
175
|
+
* lowercase letter, or digit, except the last character, which cannot be a dash.
|
|
176
|
+
*/
|
|
177
|
+
readonly name: pulumi.Output<string>;
|
|
178
|
+
/**
|
|
179
|
+
* The unique identifier for the resource. This identifier is defined by the server.
|
|
180
|
+
*/
|
|
181
|
+
readonly networkFirewallPolicyId: pulumi.Output<string>;
|
|
182
|
+
/**
|
|
183
|
+
* A list of firewall policy pre-defined rules.
|
|
184
|
+
* Structure is documented below.
|
|
185
|
+
*/
|
|
186
|
+
readonly predefinedRules: pulumi.Output<outputs.compute.RegionNetworkFirewallPolicyWithRulesPredefinedRule[]>;
|
|
187
|
+
readonly project: pulumi.Output<string>;
|
|
188
|
+
/**
|
|
189
|
+
* The region of this resource.
|
|
190
|
+
*/
|
|
191
|
+
readonly region: pulumi.Output<string>;
|
|
192
|
+
/**
|
|
193
|
+
* Total count of all firewall policy rule tuples. A firewall policy can not exceed a set number of tuples.
|
|
194
|
+
*/
|
|
195
|
+
readonly ruleTupleCount: pulumi.Output<number>;
|
|
196
|
+
/**
|
|
197
|
+
* A list of firewall policy rules.
|
|
198
|
+
* Structure is documented below.
|
|
199
|
+
*/
|
|
200
|
+
readonly rules: pulumi.Output<outputs.compute.RegionNetworkFirewallPolicyWithRulesRule[]>;
|
|
201
|
+
/**
|
|
202
|
+
* Server-defined URL for the resource.
|
|
203
|
+
*/
|
|
204
|
+
readonly selfLink: pulumi.Output<string>;
|
|
205
|
+
/**
|
|
206
|
+
* Server-defined URL for this resource with the resource id.
|
|
207
|
+
*/
|
|
208
|
+
readonly selfLinkWithId: pulumi.Output<string>;
|
|
209
|
+
/**
|
|
210
|
+
* Create a RegionNetworkFirewallPolicyWithRules resource with the given unique name, arguments, and options.
|
|
211
|
+
*
|
|
212
|
+
* @param name The _unique_ name of the resource.
|
|
213
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
214
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
215
|
+
*/
|
|
216
|
+
constructor(name: string, args: RegionNetworkFirewallPolicyWithRulesArgs, opts?: pulumi.CustomResourceOptions);
|
|
217
|
+
}
|
|
218
|
+
/**
|
|
219
|
+
* Input properties used for looking up and filtering RegionNetworkFirewallPolicyWithRules resources.
|
|
220
|
+
*/
|
|
221
|
+
export interface RegionNetworkFirewallPolicyWithRulesState {
|
|
222
|
+
/**
|
|
223
|
+
* Creation timestamp in RFC3339 text format.
|
|
224
|
+
*/
|
|
225
|
+
creationTimestamp?: pulumi.Input<string>;
|
|
226
|
+
/**
|
|
227
|
+
* (Output)
|
|
228
|
+
* A description of the rule.
|
|
229
|
+
*/
|
|
230
|
+
description?: pulumi.Input<string>;
|
|
231
|
+
/**
|
|
232
|
+
* Fingerprint of the resource. This field is used internally during updates of this resource.
|
|
233
|
+
*/
|
|
234
|
+
fingerprint?: pulumi.Input<string>;
|
|
235
|
+
/**
|
|
236
|
+
* User-provided name of the Network firewall policy.
|
|
237
|
+
* The name should be unique in the project in which the firewall policy is created.
|
|
238
|
+
* The name must be 1-63 characters long, and comply with RFC1035. Specifically,
|
|
239
|
+
* the name must be 1-63 characters long and match the regular expression a-z?
|
|
240
|
+
* which means the first character must be a lowercase letter, and all following characters must be a dash,
|
|
241
|
+
* lowercase letter, or digit, except the last character, which cannot be a dash.
|
|
242
|
+
*/
|
|
243
|
+
name?: pulumi.Input<string>;
|
|
244
|
+
/**
|
|
245
|
+
* The unique identifier for the resource. This identifier is defined by the server.
|
|
246
|
+
*/
|
|
247
|
+
networkFirewallPolicyId?: pulumi.Input<string>;
|
|
248
|
+
/**
|
|
249
|
+
* A list of firewall policy pre-defined rules.
|
|
250
|
+
* Structure is documented below.
|
|
251
|
+
*/
|
|
252
|
+
predefinedRules?: pulumi.Input<pulumi.Input<inputs.compute.RegionNetworkFirewallPolicyWithRulesPredefinedRule>[]>;
|
|
253
|
+
project?: pulumi.Input<string>;
|
|
254
|
+
/**
|
|
255
|
+
* The region of this resource.
|
|
256
|
+
*/
|
|
257
|
+
region?: pulumi.Input<string>;
|
|
258
|
+
/**
|
|
259
|
+
* Total count of all firewall policy rule tuples. A firewall policy can not exceed a set number of tuples.
|
|
260
|
+
*/
|
|
261
|
+
ruleTupleCount?: pulumi.Input<number>;
|
|
262
|
+
/**
|
|
263
|
+
* A list of firewall policy rules.
|
|
264
|
+
* Structure is documented below.
|
|
265
|
+
*/
|
|
266
|
+
rules?: pulumi.Input<pulumi.Input<inputs.compute.RegionNetworkFirewallPolicyWithRulesRule>[]>;
|
|
267
|
+
/**
|
|
268
|
+
* Server-defined URL for the resource.
|
|
269
|
+
*/
|
|
270
|
+
selfLink?: pulumi.Input<string>;
|
|
271
|
+
/**
|
|
272
|
+
* Server-defined URL for this resource with the resource id.
|
|
273
|
+
*/
|
|
274
|
+
selfLinkWithId?: pulumi.Input<string>;
|
|
275
|
+
}
|
|
276
|
+
/**
|
|
277
|
+
* The set of arguments for constructing a RegionNetworkFirewallPolicyWithRules resource.
|
|
278
|
+
*/
|
|
279
|
+
export interface RegionNetworkFirewallPolicyWithRulesArgs {
|
|
280
|
+
/**
|
|
281
|
+
* (Output)
|
|
282
|
+
* A description of the rule.
|
|
283
|
+
*/
|
|
284
|
+
description?: pulumi.Input<string>;
|
|
285
|
+
/**
|
|
286
|
+
* User-provided name of the Network firewall policy.
|
|
287
|
+
* The name should be unique in the project in which the firewall policy is created.
|
|
288
|
+
* The name must be 1-63 characters long, and comply with RFC1035. Specifically,
|
|
289
|
+
* the name must be 1-63 characters long and match the regular expression a-z?
|
|
290
|
+
* which means the first character must be a lowercase letter, and all following characters must be a dash,
|
|
291
|
+
* lowercase letter, or digit, except the last character, which cannot be a dash.
|
|
292
|
+
*/
|
|
293
|
+
name?: pulumi.Input<string>;
|
|
294
|
+
project?: pulumi.Input<string>;
|
|
295
|
+
/**
|
|
296
|
+
* The region of this resource.
|
|
297
|
+
*/
|
|
298
|
+
region?: pulumi.Input<string>;
|
|
299
|
+
/**
|
|
300
|
+
* A list of firewall policy rules.
|
|
301
|
+
* Structure is documented below.
|
|
302
|
+
*/
|
|
303
|
+
rules: pulumi.Input<pulumi.Input<inputs.compute.RegionNetworkFirewallPolicyWithRulesRule>[]>;
|
|
304
|
+
}
|
|
@@ -0,0 +1,210 @@
|
|
|
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.RegionNetworkFirewallPolicyWithRules = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* ## Example Usage
|
|
10
|
+
*
|
|
11
|
+
* ### Compute Region Network Firewall Policy With Rules Full
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as gcp from "@pulumi/gcp";
|
|
16
|
+
*
|
|
17
|
+
* const project = gcp.organizations.getProject({});
|
|
18
|
+
* const addressGroup1 = new gcp.networksecurity.AddressGroup("address_group_1", {
|
|
19
|
+
* name: "tf-address-group",
|
|
20
|
+
* parent: project.then(project => `projects/${project.name}`),
|
|
21
|
+
* description: "Regional address group",
|
|
22
|
+
* location: "us-west2",
|
|
23
|
+
* items: ["208.80.154.224/32"],
|
|
24
|
+
* type: "IPV4",
|
|
25
|
+
* capacity: 100,
|
|
26
|
+
* });
|
|
27
|
+
* const secureTagKey1 = new gcp.tags.TagKey("secure_tag_key_1", {
|
|
28
|
+
* description: "Tag key",
|
|
29
|
+
* parent: project.then(project => `projects/${project.name}`),
|
|
30
|
+
* purpose: "GCE_FIREWALL",
|
|
31
|
+
* shortName: "tf-tag-key",
|
|
32
|
+
* purposeData: {
|
|
33
|
+
* network: project.then(project => `${project.name}/default`),
|
|
34
|
+
* },
|
|
35
|
+
* });
|
|
36
|
+
* const secureTagValue1 = new gcp.tags.TagValue("secure_tag_value_1", {
|
|
37
|
+
* description: "Tag value",
|
|
38
|
+
* parent: pulumi.interpolate`tagKeys/${secureTagKey1.name}`,
|
|
39
|
+
* shortName: "tf-tag-value",
|
|
40
|
+
* });
|
|
41
|
+
* const region_network_firewall_policy_with_rules = new gcp.compute.RegionNetworkFirewallPolicyWithRules("region-network-firewall-policy-with-rules", {
|
|
42
|
+
* name: "tf-region-fw-policy-with-rules",
|
|
43
|
+
* region: "us-west2",
|
|
44
|
+
* description: "Terraform test",
|
|
45
|
+
* rules: [
|
|
46
|
+
* {
|
|
47
|
+
* description: "tcp rule",
|
|
48
|
+
* priority: 1000,
|
|
49
|
+
* enableLogging: true,
|
|
50
|
+
* action: "allow",
|
|
51
|
+
* direction: "EGRESS",
|
|
52
|
+
* match: {
|
|
53
|
+
* layer4Configs: [{
|
|
54
|
+
* ipProtocol: "tcp",
|
|
55
|
+
* ports: [
|
|
56
|
+
* "8080",
|
|
57
|
+
* "7070",
|
|
58
|
+
* ],
|
|
59
|
+
* }],
|
|
60
|
+
* destIpRanges: ["11.100.0.1/32"],
|
|
61
|
+
* destFqdns: [
|
|
62
|
+
* "www.yyy.com",
|
|
63
|
+
* "www.zzz.com",
|
|
64
|
+
* ],
|
|
65
|
+
* destRegionCodes: [
|
|
66
|
+
* "HK",
|
|
67
|
+
* "IN",
|
|
68
|
+
* ],
|
|
69
|
+
* destThreatIntelligences: [
|
|
70
|
+
* "iplist-search-engines-crawlers",
|
|
71
|
+
* "iplist-tor-exit-nodes",
|
|
72
|
+
* ],
|
|
73
|
+
* destAddressGroups: [addressGroup1.id],
|
|
74
|
+
* },
|
|
75
|
+
* targetSecureTags: [{
|
|
76
|
+
* name: pulumi.interpolate`tagValues/${secureTagValue1.name}`,
|
|
77
|
+
* }],
|
|
78
|
+
* },
|
|
79
|
+
* {
|
|
80
|
+
* description: "udp rule",
|
|
81
|
+
* ruleName: "test-rule",
|
|
82
|
+
* priority: 2000,
|
|
83
|
+
* enableLogging: false,
|
|
84
|
+
* action: "deny",
|
|
85
|
+
* direction: "INGRESS",
|
|
86
|
+
* match: {
|
|
87
|
+
* layer4Configs: [{
|
|
88
|
+
* ipProtocol: "udp",
|
|
89
|
+
* }],
|
|
90
|
+
* srcIpRanges: ["0.0.0.0/0"],
|
|
91
|
+
* srcFqdns: [
|
|
92
|
+
* "www.abc.com",
|
|
93
|
+
* "www.def.com",
|
|
94
|
+
* ],
|
|
95
|
+
* srcRegionCodes: [
|
|
96
|
+
* "US",
|
|
97
|
+
* "CA",
|
|
98
|
+
* ],
|
|
99
|
+
* srcThreatIntelligences: [
|
|
100
|
+
* "iplist-known-malicious-ips",
|
|
101
|
+
* "iplist-public-clouds",
|
|
102
|
+
* ],
|
|
103
|
+
* srcAddressGroups: [addressGroup1.id],
|
|
104
|
+
* srcSecureTags: [{
|
|
105
|
+
* name: pulumi.interpolate`tagValues/${secureTagValue1.name}`,
|
|
106
|
+
* }],
|
|
107
|
+
* },
|
|
108
|
+
* disabled: true,
|
|
109
|
+
* },
|
|
110
|
+
* ],
|
|
111
|
+
* });
|
|
112
|
+
* ```
|
|
113
|
+
*
|
|
114
|
+
* ## Import
|
|
115
|
+
*
|
|
116
|
+
* RegionNetworkFirewallPolicyWithRules can be imported using any of these accepted formats:
|
|
117
|
+
*
|
|
118
|
+
* * `projects/{{project}}/regions/{{region}}/firewallPolicies/{{name}}`
|
|
119
|
+
*
|
|
120
|
+
* * `{{project}}/{{region}}/{{name}}`
|
|
121
|
+
*
|
|
122
|
+
* * `{{region}}/{{name}}`
|
|
123
|
+
*
|
|
124
|
+
* * `{{name}}`
|
|
125
|
+
*
|
|
126
|
+
* When using the `pulumi import` command, RegionNetworkFirewallPolicyWithRules can be imported using one of the formats above. For example:
|
|
127
|
+
*
|
|
128
|
+
* ```sh
|
|
129
|
+
* $ pulumi import gcp:compute/regionNetworkFirewallPolicyWithRules:RegionNetworkFirewallPolicyWithRules default projects/{{project}}/regions/{{region}}/firewallPolicies/{{name}}
|
|
130
|
+
* ```
|
|
131
|
+
*
|
|
132
|
+
* ```sh
|
|
133
|
+
* $ pulumi import gcp:compute/regionNetworkFirewallPolicyWithRules:RegionNetworkFirewallPolicyWithRules default {{project}}/{{region}}/{{name}}
|
|
134
|
+
* ```
|
|
135
|
+
*
|
|
136
|
+
* ```sh
|
|
137
|
+
* $ pulumi import gcp:compute/regionNetworkFirewallPolicyWithRules:RegionNetworkFirewallPolicyWithRules default {{region}}/{{name}}
|
|
138
|
+
* ```
|
|
139
|
+
*
|
|
140
|
+
* ```sh
|
|
141
|
+
* $ pulumi import gcp:compute/regionNetworkFirewallPolicyWithRules:RegionNetworkFirewallPolicyWithRules default {{name}}
|
|
142
|
+
* ```
|
|
143
|
+
*/
|
|
144
|
+
class RegionNetworkFirewallPolicyWithRules extends pulumi.CustomResource {
|
|
145
|
+
/**
|
|
146
|
+
* Get an existing RegionNetworkFirewallPolicyWithRules resource's state with the given name, ID, and optional extra
|
|
147
|
+
* properties used to qualify the lookup.
|
|
148
|
+
*
|
|
149
|
+
* @param name The _unique_ name of the resulting resource.
|
|
150
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
151
|
+
* @param state Any extra arguments used during the lookup.
|
|
152
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
153
|
+
*/
|
|
154
|
+
static get(name, id, state, opts) {
|
|
155
|
+
return new RegionNetworkFirewallPolicyWithRules(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
156
|
+
}
|
|
157
|
+
/**
|
|
158
|
+
* Returns true if the given object is an instance of RegionNetworkFirewallPolicyWithRules. This is designed to work even
|
|
159
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
160
|
+
*/
|
|
161
|
+
static isInstance(obj) {
|
|
162
|
+
if (obj === undefined || obj === null) {
|
|
163
|
+
return false;
|
|
164
|
+
}
|
|
165
|
+
return obj['__pulumiType'] === RegionNetworkFirewallPolicyWithRules.__pulumiType;
|
|
166
|
+
}
|
|
167
|
+
constructor(name, argsOrState, opts) {
|
|
168
|
+
let resourceInputs = {};
|
|
169
|
+
opts = opts || {};
|
|
170
|
+
if (opts.id) {
|
|
171
|
+
const state = argsOrState;
|
|
172
|
+
resourceInputs["creationTimestamp"] = state ? state.creationTimestamp : undefined;
|
|
173
|
+
resourceInputs["description"] = state ? state.description : undefined;
|
|
174
|
+
resourceInputs["fingerprint"] = state ? state.fingerprint : undefined;
|
|
175
|
+
resourceInputs["name"] = state ? state.name : undefined;
|
|
176
|
+
resourceInputs["networkFirewallPolicyId"] = state ? state.networkFirewallPolicyId : undefined;
|
|
177
|
+
resourceInputs["predefinedRules"] = state ? state.predefinedRules : undefined;
|
|
178
|
+
resourceInputs["project"] = state ? state.project : undefined;
|
|
179
|
+
resourceInputs["region"] = state ? state.region : undefined;
|
|
180
|
+
resourceInputs["ruleTupleCount"] = state ? state.ruleTupleCount : undefined;
|
|
181
|
+
resourceInputs["rules"] = state ? state.rules : undefined;
|
|
182
|
+
resourceInputs["selfLink"] = state ? state.selfLink : undefined;
|
|
183
|
+
resourceInputs["selfLinkWithId"] = state ? state.selfLinkWithId : undefined;
|
|
184
|
+
}
|
|
185
|
+
else {
|
|
186
|
+
const args = argsOrState;
|
|
187
|
+
if ((!args || args.rules === undefined) && !opts.urn) {
|
|
188
|
+
throw new Error("Missing required property 'rules'");
|
|
189
|
+
}
|
|
190
|
+
resourceInputs["description"] = args ? args.description : undefined;
|
|
191
|
+
resourceInputs["name"] = args ? args.name : undefined;
|
|
192
|
+
resourceInputs["project"] = args ? args.project : undefined;
|
|
193
|
+
resourceInputs["region"] = args ? args.region : undefined;
|
|
194
|
+
resourceInputs["rules"] = args ? args.rules : undefined;
|
|
195
|
+
resourceInputs["creationTimestamp"] = undefined /*out*/;
|
|
196
|
+
resourceInputs["fingerprint"] = undefined /*out*/;
|
|
197
|
+
resourceInputs["networkFirewallPolicyId"] = undefined /*out*/;
|
|
198
|
+
resourceInputs["predefinedRules"] = undefined /*out*/;
|
|
199
|
+
resourceInputs["ruleTupleCount"] = undefined /*out*/;
|
|
200
|
+
resourceInputs["selfLink"] = undefined /*out*/;
|
|
201
|
+
resourceInputs["selfLinkWithId"] = undefined /*out*/;
|
|
202
|
+
}
|
|
203
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
204
|
+
super(RegionNetworkFirewallPolicyWithRules.__pulumiType, name, resourceInputs, opts);
|
|
205
|
+
}
|
|
206
|
+
}
|
|
207
|
+
exports.RegionNetworkFirewallPolicyWithRules = RegionNetworkFirewallPolicyWithRules;
|
|
208
|
+
/** @internal */
|
|
209
|
+
RegionNetworkFirewallPolicyWithRules.__pulumiType = 'gcp:compute/regionNetworkFirewallPolicyWithRules:RegionNetworkFirewallPolicyWithRules';
|
|
210
|
+
//# sourceMappingURL=regionNetworkFirewallPolicyWithRules.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"regionNetworkFirewallPolicyWithRules.js","sourceRoot":"","sources":["../../compute/regionNetworkFirewallPolicyWithRules.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuIG;AACH,MAAa,oCAAqC,SAAQ,MAAM,CAAC,cAAc;IAC3E;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAiD,EAAE,IAAmC;QAC/I,OAAO,IAAI,oCAAoC,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC3F,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,oCAAoC,CAAC,YAAY,CAAC;IACrF,CAAC;IAgED,YAAY,IAAY,EAAE,WAAkG,EAAE,IAAmC;QAC7J,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IA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B,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACrD,cAAc,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC/C,cAAc,CAAC,gBAAgB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACxD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,oCAAoC,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACzF,CAAC;;AA/HL,oFAgIC;AAlHG,gBAAgB;AACO,iDAAY,GAAG,uFAAuF,CAAC"}
|
package/compute/routerNat.d.ts
CHANGED
|
@@ -223,7 +223,7 @@ export declare class RouterNat extends pulumi.CustomResource {
|
|
|
223
223
|
* A list of URLs of the IP resources to be drained. These IPs must be
|
|
224
224
|
* valid static external IPs that have been assigned to the NAT.
|
|
225
225
|
*/
|
|
226
|
-
readonly drainNatIps: pulumi.Output<string[]
|
|
226
|
+
readonly drainNatIps: pulumi.Output<string[]>;
|
|
227
227
|
/**
|
|
228
228
|
* Enable Dynamic Port Allocation.
|
|
229
229
|
* If minPortsPerVm is set, minPortsPerVm must be set to a power of two greater than or equal to 32.
|
|
@@ -249,6 +249,11 @@ export declare class RouterNat extends pulumi.CustomResource {
|
|
|
249
249
|
* Timeout (in seconds) for ICMP connections. Defaults to 30s if not set.
|
|
250
250
|
*/
|
|
251
251
|
readonly icmpIdleTimeoutSec: pulumi.Output<number | undefined>;
|
|
252
|
+
/**
|
|
253
|
+
* Self-links of NAT IPs to be used as initial value for creation alongside a RouterNatAddress resource.
|
|
254
|
+
* Conflicts with natIps and drainNatIps. Only valid if natIpAllocateOption is set to MANUAL_ONLY.
|
|
255
|
+
*/
|
|
256
|
+
readonly initialNatIps: pulumi.Output<string[] | undefined>;
|
|
252
257
|
/**
|
|
253
258
|
* Configuration for logging on NAT
|
|
254
259
|
* Structure is documented below.
|
|
@@ -282,7 +287,7 @@ export declare class RouterNat extends pulumi.CustomResource {
|
|
|
282
287
|
* the access level resource for the address resource must have a `lifecycle` block with `createBeforeDestroy = true` so
|
|
283
288
|
* the number of resources can be increased/decreased without triggering the `resourceInUseByAnotherResource` error.
|
|
284
289
|
*/
|
|
285
|
-
readonly natIps: pulumi.Output<string[]
|
|
290
|
+
readonly natIps: pulumi.Output<string[]>;
|
|
286
291
|
/**
|
|
287
292
|
* The ID of the project in which the resource belongs.
|
|
288
293
|
* If it is not provided, the provider project is used.
|
|
@@ -402,6 +407,11 @@ export interface RouterNatState {
|
|
|
402
407
|
* Timeout (in seconds) for ICMP connections. Defaults to 30s if not set.
|
|
403
408
|
*/
|
|
404
409
|
icmpIdleTimeoutSec?: pulumi.Input<number>;
|
|
410
|
+
/**
|
|
411
|
+
* Self-links of NAT IPs to be used as initial value for creation alongside a RouterNatAddress resource.
|
|
412
|
+
* Conflicts with natIps and drainNatIps. Only valid if natIpAllocateOption is set to MANUAL_ONLY.
|
|
413
|
+
*/
|
|
414
|
+
initialNatIps?: pulumi.Input<pulumi.Input<string>[]>;
|
|
405
415
|
/**
|
|
406
416
|
* Configuration for logging on NAT
|
|
407
417
|
* Structure is documented below.
|
|
@@ -547,6 +557,11 @@ export interface RouterNatArgs {
|
|
|
547
557
|
* Timeout (in seconds) for ICMP connections. Defaults to 30s if not set.
|
|
548
558
|
*/
|
|
549
559
|
icmpIdleTimeoutSec?: pulumi.Input<number>;
|
|
560
|
+
/**
|
|
561
|
+
* Self-links of NAT IPs to be used as initial value for creation alongside a RouterNatAddress resource.
|
|
562
|
+
* Conflicts with natIps and drainNatIps. Only valid if natIpAllocateOption is set to MANUAL_ONLY.
|
|
563
|
+
*/
|
|
564
|
+
initialNatIps?: pulumi.Input<pulumi.Input<string>[]>;
|
|
550
565
|
/**
|
|
551
566
|
* Configuration for logging on NAT
|
|
552
567
|
* Structure is documented below.
|
package/compute/routerNat.js
CHANGED
|
@@ -234,6 +234,7 @@ class RouterNat extends pulumi.CustomResource {
|
|
|
234
234
|
resourceInputs["enableEndpointIndependentMapping"] = state ? state.enableEndpointIndependentMapping : undefined;
|
|
235
235
|
resourceInputs["endpointTypes"] = state ? state.endpointTypes : undefined;
|
|
236
236
|
resourceInputs["icmpIdleTimeoutSec"] = state ? state.icmpIdleTimeoutSec : undefined;
|
|
237
|
+
resourceInputs["initialNatIps"] = state ? state.initialNatIps : undefined;
|
|
237
238
|
resourceInputs["logConfig"] = state ? state.logConfig : undefined;
|
|
238
239
|
resourceInputs["maxPortsPerVm"] = state ? state.maxPortsPerVm : undefined;
|
|
239
240
|
resourceInputs["minPortsPerVm"] = state ? state.minPortsPerVm : undefined;
|
|
@@ -266,6 +267,7 @@ class RouterNat extends pulumi.CustomResource {
|
|
|
266
267
|
resourceInputs["enableEndpointIndependentMapping"] = args ? args.enableEndpointIndependentMapping : undefined;
|
|
267
268
|
resourceInputs["endpointTypes"] = args ? args.endpointTypes : undefined;
|
|
268
269
|
resourceInputs["icmpIdleTimeoutSec"] = args ? args.icmpIdleTimeoutSec : undefined;
|
|
270
|
+
resourceInputs["initialNatIps"] = args ? args.initialNatIps : undefined;
|
|
269
271
|
resourceInputs["logConfig"] = args ? args.logConfig : undefined;
|
|
270
272
|
resourceInputs["maxPortsPerVm"] = args ? args.maxPortsPerVm : undefined;
|
|
271
273
|
resourceInputs["minPortsPerVm"] = args ? args.minPortsPerVm : undefined;
|
package/compute/routerNat.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"routerNat.js","sourceRoot":"","sources":["../../compute/routerNat.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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