pulumi-gcp 8.13.0__py3-none-any.whl → 8.13.0a1735021610__py3-none-any.whl
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.
- pulumi_gcp/__init__.py +0 -43
- pulumi_gcp/accesscontextmanager/_inputs.py +3 -3
- pulumi_gcp/accesscontextmanager/outputs.py +2 -2
- pulumi_gcp/artifactregistry/_inputs.py +0 -83
- pulumi_gcp/artifactregistry/get_repository.py +4 -15
- pulumi_gcp/artifactregistry/outputs.py +0 -112
- pulumi_gcp/artifactregistry/repository.py +7 -93
- pulumi_gcp/backupdisasterrecovery/get_backup.py +2 -38
- pulumi_gcp/backupdisasterrecovery/get_data_source.py +2 -38
- pulumi_gcp/backupdisasterrecovery/outputs.py +8 -8
- pulumi_gcp/bigquery/_inputs.py +0 -369
- pulumi_gcp/bigquery/dataset_access.py +0 -61
- pulumi_gcp/bigquery/job.py +18 -6
- pulumi_gcp/bigquery/outputs.py +0 -350
- pulumi_gcp/bigquery/table.py +0 -47
- pulumi_gcp/cloudrunv2/_inputs.py +3 -6
- pulumi_gcp/cloudrunv2/outputs.py +6 -10
- pulumi_gcp/composer/_inputs.py +5 -80
- pulumi_gcp/composer/outputs.py +4 -111
- pulumi_gcp/compute/_inputs.py +87 -181
- pulumi_gcp/compute/firewall_policy_association.py +39 -50
- pulumi_gcp/compute/get_network.py +2 -17
- pulumi_gcp/compute/get_subnetwork.py +4 -18
- pulumi_gcp/compute/network.py +2 -39
- pulumi_gcp/compute/outputs.py +58 -157
- pulumi_gcp/compute/region_network_endpoint_group.py +1 -1
- pulumi_gcp/compute/resize_request.py +40 -26
- pulumi_gcp/config/__init__.pyi +0 -2
- pulumi_gcp/config/vars.py +0 -4
- pulumi_gcp/dataproc/batch.py +18 -4
- pulumi_gcp/datastream/_inputs.py +0 -68
- pulumi_gcp/datastream/outputs.py +1 -41
- pulumi_gcp/developerconnect/connection.py +12 -58
- pulumi_gcp/diagflow/_inputs.py +3 -3
- pulumi_gcp/diagflow/outputs.py +2 -2
- pulumi_gcp/filestore/backup.py +3 -71
- pulumi_gcp/firebase/hosting_custom_domain.py +4 -4
- pulumi_gcp/firestore/_inputs.py +3 -3
- pulumi_gcp/firestore/outputs.py +2 -2
- pulumi_gcp/gkehub/__init__.py +0 -1
- pulumi_gcp/gkehub/outputs.py +0 -1153
- pulumi_gcp/gkeonprem/__init__.py +0 -1
- pulumi_gcp/gkeonprem/_inputs.py +0 -2364
- pulumi_gcp/gkeonprem/outputs.py +0 -1780
- pulumi_gcp/integrationconnectors/_inputs.py +6 -6
- pulumi_gcp/integrationconnectors/connection.py +7 -7
- pulumi_gcp/integrationconnectors/outputs.py +4 -4
- pulumi_gcp/kms/__init__.py +0 -2
- pulumi_gcp/netapp/kmsconfig.py +14 -2
- pulumi_gcp/networkconnectivity/hub.py +0 -108
- pulumi_gcp/networkconnectivity/spoke.py +0 -195
- pulumi_gcp/networkmanagement/vpc_flow_logs_config.py +0 -4
- pulumi_gcp/networksecurity/__init__.py +0 -2
- pulumi_gcp/networksecurity/_inputs.py +0 -78
- pulumi_gcp/networksecurity/outputs.py +0 -48
- pulumi_gcp/oracledatabase/autonomous_database.py +2 -2
- pulumi_gcp/orgpolicy/policy.py +2 -2
- pulumi_gcp/parallelstore/instance.py +0 -149
- pulumi_gcp/projects/usage_export_bucket.py +110 -42
- pulumi_gcp/provider.py +0 -20
- pulumi_gcp/pubsub/subscription.py +6 -6
- pulumi_gcp/pulumi-plugin.json +1 -1
- pulumi_gcp/securesourcemanager/instance.py +16 -4
- pulumi_gcp/spanner/instance_iam_binding.py +0 -14
- pulumi_gcp/spanner/instance_iam_member.py +0 -14
- pulumi_gcp/sql/database_instance.py +7 -7
- pulumi_gcp/storage/__init__.py +0 -1
- pulumi_gcp/storage/_inputs.py +0 -431
- pulumi_gcp/storage/outputs.py +0 -363
- pulumi_gcp/storage/transfer_job.py +38 -84
- pulumi_gcp/vertex/_inputs.py +25 -26
- pulumi_gcp/vertex/ai_endpoint.py +4 -4
- pulumi_gcp/vertex/ai_feature_online_store_featureview.py +4 -4
- pulumi_gcp/vertex/outputs.py +14 -15
- pulumi_gcp/workstations/workstation.py +1 -55
- {pulumi_gcp-8.13.0.dist-info → pulumi_gcp-8.13.0a1735021610.dist-info}/METADATA +1 -1
- {pulumi_gcp-8.13.0.dist-info → pulumi_gcp-8.13.0a1735021610.dist-info}/RECORD +79 -90
- {pulumi_gcp-8.13.0.dist-info → pulumi_gcp-8.13.0a1735021610.dist-info}/WHEEL +1 -1
- pulumi_gcp/chronicle/__init__.py +0 -10
- pulumi_gcp/chronicle/_inputs.py +0 -169
- pulumi_gcp/chronicle/outputs.py +0 -107
- pulumi_gcp/chronicle/watchlist.py +0 -776
- pulumi_gcp/gkehub/get_feature.py +0 -226
- pulumi_gcp/gkeonprem/vmware_admin_cluster.py +0 -1715
- pulumi_gcp/kms/get_autokey_config.py +0 -121
- pulumi_gcp/kms/get_key_handle.py +0 -185
- pulumi_gcp/networksecurity/intercept_endpoint_group.py +0 -723
- pulumi_gcp/networksecurity/intercept_endpoint_group_association.py +0 -815
- pulumi_gcp/storage/folder.py +0 -483
- {pulumi_gcp-8.13.0.dist-info → pulumi_gcp-8.13.0a1735021610.dist-info}/top_level.txt +0 -0
@@ -25,11 +25,12 @@ class FirewallPolicyAssociationArgs:
|
|
25
25
|
"""
|
26
26
|
The set of arguments for constructing a FirewallPolicyAssociation resource.
|
27
27
|
:param pulumi.Input[str] attachment_target: The target that the firewall policy is attached to.
|
28
|
-
:param pulumi.Input[str] firewall_policy: The firewall policy of the
|
28
|
+
:param pulumi.Input[str] firewall_policy: The firewall policy ID of the association.
|
29
|
+
:param pulumi.Input[str] name: The name for an association.
|
30
|
+
|
29
31
|
|
30
32
|
|
31
33
|
- - -
|
32
|
-
:param pulumi.Input[str] name: The name for an association.
|
33
34
|
"""
|
34
35
|
pulumi.set(__self__, "attachment_target", attachment_target)
|
35
36
|
pulumi.set(__self__, "firewall_policy", firewall_policy)
|
@@ -52,10 +53,7 @@ class FirewallPolicyAssociationArgs:
|
|
52
53
|
@pulumi.getter(name="firewallPolicy")
|
53
54
|
def firewall_policy(self) -> pulumi.Input[str]:
|
54
55
|
"""
|
55
|
-
The firewall policy of the
|
56
|
-
|
57
|
-
|
58
|
-
- - -
|
56
|
+
The firewall policy ID of the association.
|
59
57
|
"""
|
60
58
|
return pulumi.get(self, "firewall_policy")
|
61
59
|
|
@@ -68,6 +66,10 @@ class FirewallPolicyAssociationArgs:
|
|
68
66
|
def name(self) -> Optional[pulumi.Input[str]]:
|
69
67
|
"""
|
70
68
|
The name for an association.
|
69
|
+
|
70
|
+
|
71
|
+
|
72
|
+
- - -
|
71
73
|
"""
|
72
74
|
return pulumi.get(self, "name")
|
73
75
|
|
@@ -86,11 +88,12 @@ class _FirewallPolicyAssociationState:
|
|
86
88
|
"""
|
87
89
|
Input properties used for looking up and filtering FirewallPolicyAssociation resources.
|
88
90
|
:param pulumi.Input[str] attachment_target: The target that the firewall policy is attached to.
|
89
|
-
:param pulumi.Input[str] firewall_policy: The firewall policy of the
|
91
|
+
:param pulumi.Input[str] firewall_policy: The firewall policy ID of the association.
|
92
|
+
:param pulumi.Input[str] name: The name for an association.
|
93
|
+
|
90
94
|
|
91
95
|
|
92
96
|
- - -
|
93
|
-
:param pulumi.Input[str] name: The name for an association.
|
94
97
|
:param pulumi.Input[str] short_name: The short name of the firewall policy of the association.
|
95
98
|
"""
|
96
99
|
if attachment_target is not None:
|
@@ -118,10 +121,7 @@ class _FirewallPolicyAssociationState:
|
|
118
121
|
@pulumi.getter(name="firewallPolicy")
|
119
122
|
def firewall_policy(self) -> Optional[pulumi.Input[str]]:
|
120
123
|
"""
|
121
|
-
The firewall policy of the
|
122
|
-
|
123
|
-
|
124
|
-
- - -
|
124
|
+
The firewall policy ID of the association.
|
125
125
|
"""
|
126
126
|
return pulumi.get(self, "firewall_policy")
|
127
127
|
|
@@ -134,6 +134,10 @@ class _FirewallPolicyAssociationState:
|
|
134
134
|
def name(self) -> Optional[pulumi.Input[str]]:
|
135
135
|
"""
|
136
136
|
The name for an association.
|
137
|
+
|
138
|
+
|
139
|
+
|
140
|
+
- - -
|
137
141
|
"""
|
138
142
|
return pulumi.get(self, "name")
|
139
143
|
|
@@ -165,31 +169,22 @@ class FirewallPolicyAssociation(pulumi.CustomResource):
|
|
165
169
|
__props__=None):
|
166
170
|
"""
|
167
171
|
Allows associating hierarchical firewall policies with the target where they are applied. This allows creating policies and rules in a different location than they are applied.
|
168
|
-
For more information on applying hierarchical firewall policies see the [official documentation](https://cloud.google.com/firewall/docs/firewall-policies#managing_hierarchical_firewall_policy_resources)
|
169
|
-
|
170
|
-
To get more information about FirewallPolicyAssociation, see:
|
171
172
|
|
172
|
-
|
173
|
+
For more information on applying hierarchical firewall policies see the [official documentation](https://cloud.google.com/vpc/docs/firewall-policies#managing_hierarchical_firewall_policy_resources)
|
173
174
|
|
174
175
|
## Example Usage
|
175
176
|
|
176
|
-
### Firewall Policy Association
|
177
|
-
|
178
177
|
```python
|
179
178
|
import pulumi
|
180
179
|
import pulumi_gcp as gcp
|
181
180
|
|
182
|
-
|
183
|
-
|
184
|
-
parent="organizations/123456789",
|
185
|
-
deletion_protection=False)
|
186
|
-
policy = gcp.compute.FirewallPolicy("policy",
|
187
|
-
parent="organizations/123456789",
|
181
|
+
default = gcp.compute.FirewallPolicy("default",
|
182
|
+
parent="organizations/12345",
|
188
183
|
short_name="my-policy",
|
189
184
|
description="Example Resource")
|
190
|
-
|
191
|
-
firewall_policy=
|
192
|
-
attachment_target=folder
|
185
|
+
default_firewall_policy_association = gcp.compute.FirewallPolicyAssociation("default",
|
186
|
+
firewall_policy=default.id,
|
187
|
+
attachment_target=folder["name"],
|
193
188
|
name="my-association")
|
194
189
|
```
|
195
190
|
|
@@ -214,11 +209,12 @@ class FirewallPolicyAssociation(pulumi.CustomResource):
|
|
214
209
|
:param str resource_name: The name of the resource.
|
215
210
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
216
211
|
:param pulumi.Input[str] attachment_target: The target that the firewall policy is attached to.
|
217
|
-
:param pulumi.Input[str] firewall_policy: The firewall policy of the
|
212
|
+
:param pulumi.Input[str] firewall_policy: The firewall policy ID of the association.
|
213
|
+
:param pulumi.Input[str] name: The name for an association.
|
214
|
+
|
218
215
|
|
219
216
|
|
220
217
|
- - -
|
221
|
-
:param pulumi.Input[str] name: The name for an association.
|
222
218
|
"""
|
223
219
|
...
|
224
220
|
@overload
|
@@ -228,31 +224,22 @@ class FirewallPolicyAssociation(pulumi.CustomResource):
|
|
228
224
|
opts: Optional[pulumi.ResourceOptions] = None):
|
229
225
|
"""
|
230
226
|
Allows associating hierarchical firewall policies with the target where they are applied. This allows creating policies and rules in a different location than they are applied.
|
231
|
-
For more information on applying hierarchical firewall policies see the [official documentation](https://cloud.google.com/firewall/docs/firewall-policies#managing_hierarchical_firewall_policy_resources)
|
232
|
-
|
233
|
-
To get more information about FirewallPolicyAssociation, see:
|
234
227
|
|
235
|
-
|
228
|
+
For more information on applying hierarchical firewall policies see the [official documentation](https://cloud.google.com/vpc/docs/firewall-policies#managing_hierarchical_firewall_policy_resources)
|
236
229
|
|
237
230
|
## Example Usage
|
238
231
|
|
239
|
-
### Firewall Policy Association
|
240
|
-
|
241
232
|
```python
|
242
233
|
import pulumi
|
243
234
|
import pulumi_gcp as gcp
|
244
235
|
|
245
|
-
|
246
|
-
|
247
|
-
parent="organizations/123456789",
|
248
|
-
deletion_protection=False)
|
249
|
-
policy = gcp.compute.FirewallPolicy("policy",
|
250
|
-
parent="organizations/123456789",
|
236
|
+
default = gcp.compute.FirewallPolicy("default",
|
237
|
+
parent="organizations/12345",
|
251
238
|
short_name="my-policy",
|
252
239
|
description="Example Resource")
|
253
|
-
|
254
|
-
firewall_policy=
|
255
|
-
attachment_target=folder
|
240
|
+
default_firewall_policy_association = gcp.compute.FirewallPolicyAssociation("default",
|
241
|
+
firewall_policy=default.id,
|
242
|
+
attachment_target=folder["name"],
|
256
243
|
name="my-association")
|
257
244
|
```
|
258
245
|
|
@@ -331,11 +318,12 @@ class FirewallPolicyAssociation(pulumi.CustomResource):
|
|
331
318
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
332
319
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
333
320
|
:param pulumi.Input[str] attachment_target: The target that the firewall policy is attached to.
|
334
|
-
:param pulumi.Input[str] firewall_policy: The firewall policy of the
|
321
|
+
:param pulumi.Input[str] firewall_policy: The firewall policy ID of the association.
|
322
|
+
:param pulumi.Input[str] name: The name for an association.
|
323
|
+
|
335
324
|
|
336
325
|
|
337
326
|
- - -
|
338
|
-
:param pulumi.Input[str] name: The name for an association.
|
339
327
|
:param pulumi.Input[str] short_name: The short name of the firewall policy of the association.
|
340
328
|
"""
|
341
329
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
@@ -360,10 +348,7 @@ class FirewallPolicyAssociation(pulumi.CustomResource):
|
|
360
348
|
@pulumi.getter(name="firewallPolicy")
|
361
349
|
def firewall_policy(self) -> pulumi.Output[str]:
|
362
350
|
"""
|
363
|
-
The firewall policy of the
|
364
|
-
|
365
|
-
|
366
|
-
- - -
|
351
|
+
The firewall policy ID of the association.
|
367
352
|
"""
|
368
353
|
return pulumi.get(self, "firewall_policy")
|
369
354
|
|
@@ -372,6 +357,10 @@ class FirewallPolicyAssociation(pulumi.CustomResource):
|
|
372
357
|
def name(self) -> pulumi.Output[str]:
|
373
358
|
"""
|
374
359
|
The name for an association.
|
360
|
+
|
361
|
+
|
362
|
+
|
363
|
+
- - -
|
375
364
|
"""
|
376
365
|
return pulumi.get(self, "name")
|
377
366
|
|
@@ -26,7 +26,7 @@ class GetNetworkResult:
|
|
26
26
|
"""
|
27
27
|
A collection of values returned by getNetwork.
|
28
28
|
"""
|
29
|
-
def __init__(__self__, description=None, gateway_ipv4=None, id=None, internal_ipv6_range=None, name=None,
|
29
|
+
def __init__(__self__, description=None, gateway_ipv4=None, id=None, internal_ipv6_range=None, name=None, network_profile=None, numeric_id=None, project=None, self_link=None, subnetworks_self_links=None):
|
30
30
|
if description and not isinstance(description, str):
|
31
31
|
raise TypeError("Expected argument 'description' to be a str")
|
32
32
|
pulumi.set(__self__, "description", description)
|
@@ -42,9 +42,6 @@ class GetNetworkResult:
|
|
42
42
|
if name and not isinstance(name, str):
|
43
43
|
raise TypeError("Expected argument 'name' to be a str")
|
44
44
|
pulumi.set(__self__, "name", name)
|
45
|
-
if network_id and not isinstance(network_id, int):
|
46
|
-
raise TypeError("Expected argument 'network_id' to be a int")
|
47
|
-
pulumi.set(__self__, "network_id", network_id)
|
48
45
|
if network_profile and not isinstance(network_profile, str):
|
49
46
|
raise TypeError("Expected argument 'network_profile' to be a str")
|
50
47
|
pulumi.set(__self__, "network_profile", network_profile)
|
@@ -98,14 +95,6 @@ class GetNetworkResult:
|
|
98
95
|
def name(self) -> str:
|
99
96
|
return pulumi.get(self, "name")
|
100
97
|
|
101
|
-
@property
|
102
|
-
@pulumi.getter(name="networkId")
|
103
|
-
def network_id(self) -> int:
|
104
|
-
"""
|
105
|
-
The numeric unique identifier for the resource.
|
106
|
-
"""
|
107
|
-
return pulumi.get(self, "network_id")
|
108
|
-
|
109
98
|
@property
|
110
99
|
@pulumi.getter(name="networkProfile")
|
111
100
|
def network_profile(self) -> Optional[str]:
|
@@ -116,10 +105,9 @@ class GetNetworkResult:
|
|
116
105
|
|
117
106
|
@property
|
118
107
|
@pulumi.getter(name="numericId")
|
119
|
-
@_utilities.deprecated("""`numeric_id` is deprecated and will be removed in a future major release. Use `network_id` instead.""")
|
120
108
|
def numeric_id(self) -> str:
|
121
109
|
"""
|
122
|
-
|
110
|
+
The numeric unique identifier for the resource.
|
123
111
|
"""
|
124
112
|
return pulumi.get(self, "numeric_id")
|
125
113
|
|
@@ -156,7 +144,6 @@ class AwaitableGetNetworkResult(GetNetworkResult):
|
|
156
144
|
id=self.id,
|
157
145
|
internal_ipv6_range=self.internal_ipv6_range,
|
158
146
|
name=self.name,
|
159
|
-
network_id=self.network_id,
|
160
147
|
network_profile=self.network_profile,
|
161
148
|
numeric_id=self.numeric_id,
|
162
149
|
project=self.project,
|
@@ -202,7 +189,6 @@ def get_network(name: Optional[str] = None,
|
|
202
189
|
id=pulumi.get(__ret__, 'id'),
|
203
190
|
internal_ipv6_range=pulumi.get(__ret__, 'internal_ipv6_range'),
|
204
191
|
name=pulumi.get(__ret__, 'name'),
|
205
|
-
network_id=pulumi.get(__ret__, 'network_id'),
|
206
192
|
network_profile=pulumi.get(__ret__, 'network_profile'),
|
207
193
|
numeric_id=pulumi.get(__ret__, 'numeric_id'),
|
208
194
|
project=pulumi.get(__ret__, 'project'),
|
@@ -245,7 +231,6 @@ def get_network_output(name: Optional[pulumi.Input[str]] = None,
|
|
245
231
|
id=pulumi.get(__response__, 'id'),
|
246
232
|
internal_ipv6_range=pulumi.get(__response__, 'internal_ipv6_range'),
|
247
233
|
name=pulumi.get(__response__, 'name'),
|
248
|
-
network_id=pulumi.get(__response__, 'network_id'),
|
249
234
|
network_profile=pulumi.get(__response__, 'network_profile'),
|
250
235
|
numeric_id=pulumi.get(__response__, 'numeric_id'),
|
251
236
|
project=pulumi.get(__response__, 'project'),
|
@@ -27,7 +27,7 @@ class GetSubnetworkResult:
|
|
27
27
|
"""
|
28
28
|
A collection of values returned by getSubnetwork.
|
29
29
|
"""
|
30
|
-
def __init__(__self__, description=None, gateway_address=None, id=None, internal_ipv6_prefix=None, ip_cidr_range=None, name=None, network=None, private_ip_google_access=None, project=None, region=None, secondary_ip_ranges=None, self_link=None
|
30
|
+
def __init__(__self__, description=None, gateway_address=None, id=None, internal_ipv6_prefix=None, ip_cidr_range=None, name=None, network=None, private_ip_google_access=None, project=None, region=None, secondary_ip_ranges=None, self_link=None):
|
31
31
|
if description and not isinstance(description, str):
|
32
32
|
raise TypeError("Expected argument 'description' to be a str")
|
33
33
|
pulumi.set(__self__, "description", description)
|
@@ -64,9 +64,6 @@ class GetSubnetworkResult:
|
|
64
64
|
if self_link and not isinstance(self_link, str):
|
65
65
|
raise TypeError("Expected argument 'self_link' to be a str")
|
66
66
|
pulumi.set(__self__, "self_link", self_link)
|
67
|
-
if subnetwork_id and not isinstance(subnetwork_id, int):
|
68
|
-
raise TypeError("Expected argument 'subnetwork_id' to be a int")
|
69
|
-
pulumi.set(__self__, "subnetwork_id", subnetwork_id)
|
70
67
|
|
71
68
|
@property
|
72
69
|
@pulumi.getter
|
@@ -157,14 +154,6 @@ class GetSubnetworkResult:
|
|
157
154
|
def self_link(self) -> str:
|
158
155
|
return pulumi.get(self, "self_link")
|
159
156
|
|
160
|
-
@property
|
161
|
-
@pulumi.getter(name="subnetworkId")
|
162
|
-
def subnetwork_id(self) -> int:
|
163
|
-
"""
|
164
|
-
The numeric ID of the resource.
|
165
|
-
"""
|
166
|
-
return pulumi.get(self, "subnetwork_id")
|
167
|
-
|
168
157
|
|
169
158
|
class AwaitableGetSubnetworkResult(GetSubnetworkResult):
|
170
159
|
# pylint: disable=using-constant-test
|
@@ -183,8 +172,7 @@ class AwaitableGetSubnetworkResult(GetSubnetworkResult):
|
|
183
172
|
project=self.project,
|
184
173
|
region=self.region,
|
185
174
|
secondary_ip_ranges=self.secondary_ip_ranges,
|
186
|
-
self_link=self.self_link
|
187
|
-
subnetwork_id=self.subnetwork_id)
|
175
|
+
self_link=self.self_link)
|
188
176
|
|
189
177
|
|
190
178
|
def get_subnetwork(name: Optional[str] = None,
|
@@ -235,8 +223,7 @@ def get_subnetwork(name: Optional[str] = None,
|
|
235
223
|
project=pulumi.get(__ret__, 'project'),
|
236
224
|
region=pulumi.get(__ret__, 'region'),
|
237
225
|
secondary_ip_ranges=pulumi.get(__ret__, 'secondary_ip_ranges'),
|
238
|
-
self_link=pulumi.get(__ret__, 'self_link')
|
239
|
-
subnetwork_id=pulumi.get(__ret__, 'subnetwork_id'))
|
226
|
+
self_link=pulumi.get(__ret__, 'self_link'))
|
240
227
|
def get_subnetwork_output(name: Optional[pulumi.Input[Optional[str]]] = None,
|
241
228
|
project: Optional[pulumi.Input[Optional[str]]] = None,
|
242
229
|
region: Optional[pulumi.Input[Optional[str]]] = None,
|
@@ -284,5 +271,4 @@ def get_subnetwork_output(name: Optional[pulumi.Input[Optional[str]]] = None,
|
|
284
271
|
project=pulumi.get(__response__, 'project'),
|
285
272
|
region=pulumi.get(__response__, 'region'),
|
286
273
|
secondary_ip_ranges=pulumi.get(__response__, 'secondary_ip_ranges'),
|
287
|
-
self_link=pulumi.get(__response__, 'self_link')
|
288
|
-
subnetwork_id=pulumi.get(__response__, 'subnetwork_id')))
|
274
|
+
self_link=pulumi.get(__response__, 'self_link')))
|
pulumi_gcp/compute/network.py
CHANGED
@@ -341,7 +341,6 @@ class _NetworkState:
|
|
341
341
|
mtu: Optional[pulumi.Input[int]] = None,
|
342
342
|
name: Optional[pulumi.Input[str]] = None,
|
343
343
|
network_firewall_policy_enforcement_order: Optional[pulumi.Input[str]] = None,
|
344
|
-
network_id: Optional[pulumi.Input[str]] = None,
|
345
344
|
network_profile: Optional[pulumi.Input[str]] = None,
|
346
345
|
numeric_id: Optional[pulumi.Input[str]] = None,
|
347
346
|
project: Optional[pulumi.Input[str]] = None,
|
@@ -391,14 +390,12 @@ class _NetworkState:
|
|
391
390
|
:param pulumi.Input[str] network_firewall_policy_enforcement_order: Set the order that Firewall Rules and Firewall Policies are evaluated.
|
392
391
|
Default value is `AFTER_CLASSIC_FIREWALL`.
|
393
392
|
Possible values are: `BEFORE_CLASSIC_FIREWALL`, `AFTER_CLASSIC_FIREWALL`.
|
394
|
-
:param pulumi.Input[str] network_id: The unique identifier for the resource. This identifier is defined by the server.
|
395
393
|
:param pulumi.Input[str] network_profile: A full or partial URL of the network profile to apply to this network.
|
396
394
|
This field can be set only at resource creation time. For example, the
|
397
395
|
following are valid URLs:
|
398
396
|
* https://www.googleapis.com/compute/beta/projects/{projectId}/global/networkProfiles/{network_profile_name}
|
399
397
|
* projects/{projectId}/global/networkProfiles/{network_profile_name}
|
400
|
-
:param pulumi.Input[str] numeric_id:
|
401
|
-
The unique identifier for the resource. This identifier is defined by the server.
|
398
|
+
:param pulumi.Input[str] numeric_id: The unique identifier for the resource. This identifier is defined by the server.
|
402
399
|
:param pulumi.Input[str] project: The ID of the project in which the resource belongs.
|
403
400
|
If it is not provided, the provider project is used.
|
404
401
|
:param pulumi.Input[str] routing_mode: The network-wide routing mode to use. If set to `REGIONAL`, this
|
@@ -433,13 +430,8 @@ class _NetworkState:
|
|
433
430
|
pulumi.set(__self__, "name", name)
|
434
431
|
if network_firewall_policy_enforcement_order is not None:
|
435
432
|
pulumi.set(__self__, "network_firewall_policy_enforcement_order", network_firewall_policy_enforcement_order)
|
436
|
-
if network_id is not None:
|
437
|
-
pulumi.set(__self__, "network_id", network_id)
|
438
433
|
if network_profile is not None:
|
439
434
|
pulumi.set(__self__, "network_profile", network_profile)
|
440
|
-
if numeric_id is not None:
|
441
|
-
warnings.warn("""`numeric_id` is deprecated and will be removed in a future major release. Use `network_id` instead.""", DeprecationWarning)
|
442
|
-
pulumi.log.warn("""numeric_id is deprecated: `numeric_id` is deprecated and will be removed in a future major release. Use `network_id` instead.""")
|
443
435
|
if numeric_id is not None:
|
444
436
|
pulumi.set(__self__, "numeric_id", numeric_id)
|
445
437
|
if project is not None:
|
@@ -623,18 +615,6 @@ class _NetworkState:
|
|
623
615
|
def network_firewall_policy_enforcement_order(self, value: Optional[pulumi.Input[str]]):
|
624
616
|
pulumi.set(self, "network_firewall_policy_enforcement_order", value)
|
625
617
|
|
626
|
-
@property
|
627
|
-
@pulumi.getter(name="networkId")
|
628
|
-
def network_id(self) -> Optional[pulumi.Input[str]]:
|
629
|
-
"""
|
630
|
-
The unique identifier for the resource. This identifier is defined by the server.
|
631
|
-
"""
|
632
|
-
return pulumi.get(self, "network_id")
|
633
|
-
|
634
|
-
@network_id.setter
|
635
|
-
def network_id(self, value: Optional[pulumi.Input[str]]):
|
636
|
-
pulumi.set(self, "network_id", value)
|
637
|
-
|
638
618
|
@property
|
639
619
|
@pulumi.getter(name="networkProfile")
|
640
620
|
def network_profile(self) -> Optional[pulumi.Input[str]]:
|
@@ -653,10 +633,8 @@ class _NetworkState:
|
|
653
633
|
|
654
634
|
@property
|
655
635
|
@pulumi.getter(name="numericId")
|
656
|
-
@_utilities.deprecated("""`numeric_id` is deprecated and will be removed in a future major release. Use `network_id` instead.""")
|
657
636
|
def numeric_id(self) -> Optional[pulumi.Input[str]]:
|
658
637
|
"""
|
659
|
-
(Deprecated)
|
660
638
|
The unique identifier for the resource. This identifier is defined by the server.
|
661
639
|
"""
|
662
640
|
return pulumi.get(self, "numeric_id")
|
@@ -1053,7 +1031,6 @@ class Network(pulumi.CustomResource):
|
|
1053
1031
|
__props__.__dict__["project"] = project
|
1054
1032
|
__props__.__dict__["routing_mode"] = routing_mode
|
1055
1033
|
__props__.__dict__["gateway_ipv4"] = None
|
1056
|
-
__props__.__dict__["network_id"] = None
|
1057
1034
|
__props__.__dict__["numeric_id"] = None
|
1058
1035
|
__props__.__dict__["self_link"] = None
|
1059
1036
|
super(Network, __self__).__init__(
|
@@ -1078,7 +1055,6 @@ class Network(pulumi.CustomResource):
|
|
1078
1055
|
mtu: Optional[pulumi.Input[int]] = None,
|
1079
1056
|
name: Optional[pulumi.Input[str]] = None,
|
1080
1057
|
network_firewall_policy_enforcement_order: Optional[pulumi.Input[str]] = None,
|
1081
|
-
network_id: Optional[pulumi.Input[str]] = None,
|
1082
1058
|
network_profile: Optional[pulumi.Input[str]] = None,
|
1083
1059
|
numeric_id: Optional[pulumi.Input[str]] = None,
|
1084
1060
|
project: Optional[pulumi.Input[str]] = None,
|
@@ -1133,14 +1109,12 @@ class Network(pulumi.CustomResource):
|
|
1133
1109
|
:param pulumi.Input[str] network_firewall_policy_enforcement_order: Set the order that Firewall Rules and Firewall Policies are evaluated.
|
1134
1110
|
Default value is `AFTER_CLASSIC_FIREWALL`.
|
1135
1111
|
Possible values are: `BEFORE_CLASSIC_FIREWALL`, `AFTER_CLASSIC_FIREWALL`.
|
1136
|
-
:param pulumi.Input[str] network_id: The unique identifier for the resource. This identifier is defined by the server.
|
1137
1112
|
:param pulumi.Input[str] network_profile: A full or partial URL of the network profile to apply to this network.
|
1138
1113
|
This field can be set only at resource creation time. For example, the
|
1139
1114
|
following are valid URLs:
|
1140
1115
|
* https://www.googleapis.com/compute/beta/projects/{projectId}/global/networkProfiles/{network_profile_name}
|
1141
1116
|
* projects/{projectId}/global/networkProfiles/{network_profile_name}
|
1142
|
-
:param pulumi.Input[str] numeric_id:
|
1143
|
-
The unique identifier for the resource. This identifier is defined by the server.
|
1117
|
+
:param pulumi.Input[str] numeric_id: The unique identifier for the resource. This identifier is defined by the server.
|
1144
1118
|
:param pulumi.Input[str] project: The ID of the project in which the resource belongs.
|
1145
1119
|
If it is not provided, the provider project is used.
|
1146
1120
|
:param pulumi.Input[str] routing_mode: The network-wide routing mode to use. If set to `REGIONAL`, this
|
@@ -1167,7 +1141,6 @@ class Network(pulumi.CustomResource):
|
|
1167
1141
|
__props__.__dict__["mtu"] = mtu
|
1168
1142
|
__props__.__dict__["name"] = name
|
1169
1143
|
__props__.__dict__["network_firewall_policy_enforcement_order"] = network_firewall_policy_enforcement_order
|
1170
|
-
__props__.__dict__["network_id"] = network_id
|
1171
1144
|
__props__.__dict__["network_profile"] = network_profile
|
1172
1145
|
__props__.__dict__["numeric_id"] = numeric_id
|
1173
1146
|
__props__.__dict__["project"] = project
|
@@ -1301,14 +1274,6 @@ class Network(pulumi.CustomResource):
|
|
1301
1274
|
"""
|
1302
1275
|
return pulumi.get(self, "network_firewall_policy_enforcement_order")
|
1303
1276
|
|
1304
|
-
@property
|
1305
|
-
@pulumi.getter(name="networkId")
|
1306
|
-
def network_id(self) -> pulumi.Output[str]:
|
1307
|
-
"""
|
1308
|
-
The unique identifier for the resource. This identifier is defined by the server.
|
1309
|
-
"""
|
1310
|
-
return pulumi.get(self, "network_id")
|
1311
|
-
|
1312
1277
|
@property
|
1313
1278
|
@pulumi.getter(name="networkProfile")
|
1314
1279
|
def network_profile(self) -> pulumi.Output[Optional[str]]:
|
@@ -1323,10 +1288,8 @@ class Network(pulumi.CustomResource):
|
|
1323
1288
|
|
1324
1289
|
@property
|
1325
1290
|
@pulumi.getter(name="numericId")
|
1326
|
-
@_utilities.deprecated("""`numeric_id` is deprecated and will be removed in a future major release. Use `network_id` instead.""")
|
1327
1291
|
def numeric_id(self) -> pulumi.Output[str]:
|
1328
1292
|
"""
|
1329
|
-
(Deprecated)
|
1330
1293
|
The unique identifier for the resource. This identifier is defined by the server.
|
1331
1294
|
"""
|
1332
1295
|
return pulumi.get(self, "numeric_id")
|