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