pulumi-gcp 7.39.0a1726207510__py3-none-any.whl → 8.0.0a1__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 (167) hide show
  1. pulumi_gcp/__init__.py +32 -19
  2. pulumi_gcp/accesscontextmanager/access_policy.py +4 -2
  3. pulumi_gcp/activedirectory/domain.py +38 -2
  4. pulumi_gcp/activedirectory/domain_trust.py +0 -30
  5. pulumi_gcp/activedirectory/peering.py +0 -72
  6. pulumi_gcp/alloydb/cluster.py +12 -200
  7. pulumi_gcp/alloydb/instance.py +13 -5
  8. pulumi_gcp/alloydb/user.py +14 -6
  9. pulumi_gcp/apigee/keystores_aliases_self_signed_cert.py +4 -2
  10. pulumi_gcp/apigee/sync_authorization.py +4 -2
  11. pulumi_gcp/apigee/target_server.py +4 -2
  12. pulumi_gcp/appengine/firewall_rule.py +4 -2
  13. pulumi_gcp/appengine/flexible_app_version.py +4 -2
  14. pulumi_gcp/apphub/service.py +8 -4
  15. pulumi_gcp/apphub/service_project_attachment.py +8 -4
  16. pulumi_gcp/applicationintegration/client.py +0 -154
  17. pulumi_gcp/bigquery/_inputs.py +0 -70
  18. pulumi_gcp/bigquery/iam_binding.py +0 -260
  19. pulumi_gcp/bigquery/iam_member.py +0 -260
  20. pulumi_gcp/bigquery/iam_policy.py +0 -240
  21. pulumi_gcp/bigquery/outputs.py +0 -44
  22. pulumi_gcp/bigquery/reservation.py +0 -84
  23. pulumi_gcp/bigquery/table.py +0 -98
  24. pulumi_gcp/billing/project_info.py +4 -2
  25. pulumi_gcp/certificateauthority/get_authority.py +0 -20
  26. pulumi_gcp/certificatemanager/get_certificate_map.py +0 -14
  27. pulumi_gcp/cloudasset/folder_feed.py +4 -2
  28. pulumi_gcp/cloudidentity/get_group_lookup.py +0 -18
  29. pulumi_gcp/cloudidentity/get_group_memberships.py +0 -14
  30. pulumi_gcp/cloudidentity/get_groups.py +0 -14
  31. pulumi_gcp/cloudrunv2/_inputs.py +25 -25
  32. pulumi_gcp/cloudrunv2/get_job.py +11 -1
  33. pulumi_gcp/cloudrunv2/get_service.py +11 -1
  34. pulumi_gcp/cloudrunv2/job.py +50 -0
  35. pulumi_gcp/cloudrunv2/outputs.py +26 -26
  36. pulumi_gcp/cloudrunv2/service.py +54 -0
  37. pulumi_gcp/compute/_inputs.py +117 -54
  38. pulumi_gcp/compute/backend_service.py +52 -0
  39. pulumi_gcp/compute/disk_async_replication.py +0 -48
  40. pulumi_gcp/compute/firewall_policy_rule.py +4 -2
  41. pulumi_gcp/compute/forwarding_rule.py +42 -0
  42. pulumi_gcp/compute/get_backend_bucket.py +0 -14
  43. pulumi_gcp/compute/get_backend_service.py +0 -20
  44. pulumi_gcp/compute/get_certificate.py +0 -20
  45. pulumi_gcp/compute/get_forwarding_rule.py +11 -15
  46. pulumi_gcp/compute/get_forwarding_rules.py +0 -16
  47. pulumi_gcp/compute/get_global_forwarding_rule.py +0 -14
  48. pulumi_gcp/compute/get_hc_vpn_gateway.py +0 -14
  49. pulumi_gcp/compute/get_health_check.py +0 -14
  50. pulumi_gcp/compute/get_lbip_ranges.py +0 -32
  51. pulumi_gcp/compute/get_netblock_ip_ranges.py +0 -52
  52. pulumi_gcp/compute/get_network.py +0 -14
  53. pulumi_gcp/compute/get_networks.py +0 -14
  54. pulumi_gcp/compute/get_region_ssl_certificate.py +0 -20
  55. pulumi_gcp/compute/get_ssl_policy.py +0 -14
  56. pulumi_gcp/compute/get_vpn_gateway.py +0 -14
  57. pulumi_gcp/compute/global_address.py +8 -4
  58. pulumi_gcp/compute/global_forwarding_rule.py +7 -0
  59. pulumi_gcp/compute/instance_template.py +56 -63
  60. pulumi_gcp/compute/managed_ssl_certificate.py +1 -20
  61. pulumi_gcp/compute/manged_ssl_certificate.py +1 -20
  62. pulumi_gcp/compute/network_attachment.py +8 -4
  63. pulumi_gcp/compute/node_group.py +4 -2
  64. pulumi_gcp/compute/organization_security_policy_association.py +4 -2
  65. pulumi_gcp/compute/outputs.py +101 -42
  66. pulumi_gcp/compute/project_cloud_armor_tier.py +4 -2
  67. pulumi_gcp/compute/region_backend_service.py +36 -7
  68. pulumi_gcp/compute/region_instance_template.py +56 -7
  69. pulumi_gcp/compute/region_ssl_certificate.py +49 -7
  70. pulumi_gcp/compute/ssl_certificate.py +49 -7
  71. pulumi_gcp/compute/subnetwork.py +193 -23
  72. pulumi_gcp/config/__init__.pyi +3 -5
  73. pulumi_gcp/config/vars.py +6 -10
  74. pulumi_gcp/container/_inputs.py +19 -41
  75. pulumi_gcp/container/cluster.py +79 -0
  76. pulumi_gcp/container/get_cluster.py +21 -25
  77. pulumi_gcp/container/get_engine_versions.py +8 -2
  78. pulumi_gcp/container/outputs.py +17 -40
  79. pulumi_gcp/dataproc/get_metastore_service.py +0 -16
  80. pulumi_gcp/diagflow/intent.py +4 -2
  81. pulumi_gcp/dns/get_record_set.py +0 -20
  82. pulumi_gcp/edgenetwork/network.py +83 -0
  83. pulumi_gcp/edgenetwork/subnet.py +83 -0
  84. pulumi_gcp/filestore/get_instance.py +0 -20
  85. pulumi_gcp/firebase/database_instance.py +2 -0
  86. pulumi_gcp/firebase/hosting_custom_domain.py +4 -2
  87. pulumi_gcp/firebase/hosting_version.py +4 -2
  88. pulumi_gcp/firebase/project.py +2 -0
  89. pulumi_gcp/firestore/document.py +8 -4
  90. pulumi_gcp/folder/access_approval_settings.py +12 -6
  91. pulumi_gcp/gkeonprem/_inputs.py +11 -11
  92. pulumi_gcp/gkeonprem/outputs.py +9 -9
  93. pulumi_gcp/gkeonprem/v_mware_cluster.py +31 -31
  94. pulumi_gcp/gkeonprem/v_mware_node_pool.py +186 -0
  95. pulumi_gcp/iam/access_boundary_policy.py +4 -2
  96. pulumi_gcp/iam/deny_policy.py +4 -2
  97. pulumi_gcp/iam/get_workload_identity_pool.py +0 -14
  98. pulumi_gcp/iam/get_workload_identity_pool_provider.py +0 -16
  99. pulumi_gcp/iap/brand.py +4 -2
  100. pulumi_gcp/iap/client.py +4 -2
  101. pulumi_gcp/iap/get_client.py +0 -18
  102. pulumi_gcp/identityplatform/__init__.py +0 -1
  103. pulumi_gcp/identityplatform/_inputs.py +0 -396
  104. pulumi_gcp/identityplatform/config.py +2 -0
  105. pulumi_gcp/identityplatform/outputs.py +0 -313
  106. pulumi_gcp/integrationconnectors/managed_zone.py +4 -2
  107. pulumi_gcp/kms/__init__.py +4 -0
  108. pulumi_gcp/kms/_inputs.py +130 -0
  109. pulumi_gcp/kms/autokey_config.py +6 -2
  110. pulumi_gcp/kms/ekm_connection_iam_binding.py +1097 -0
  111. pulumi_gcp/kms/ekm_connection_iam_member.py +1097 -0
  112. pulumi_gcp/kms/ekm_connection_iam_policy.py +916 -0
  113. pulumi_gcp/kms/get_ekm_connection_iam_policy.py +177 -0
  114. pulumi_gcp/kms/key_handle.py +8 -2
  115. pulumi_gcp/kms/outputs.py +76 -0
  116. pulumi_gcp/logging/folder_settings.py +4 -2
  117. pulumi_gcp/monitoring/get_secret_version.py +2 -2
  118. pulumi_gcp/monitoring/monitored_project.py +4 -2
  119. pulumi_gcp/networksecurity/firewall_endpoint_association.py +12 -44
  120. pulumi_gcp/networkservices/_inputs.py +23 -0
  121. pulumi_gcp/networkservices/outputs.py +17 -1
  122. pulumi_gcp/networkservices/tcp_route.py +2 -0
  123. pulumi_gcp/organizations/access_approval_settings.py +4 -2
  124. pulumi_gcp/organizations/folder.py +35 -1
  125. pulumi_gcp/organizations/get_active_folder.py +0 -16
  126. pulumi_gcp/organizations/get_client_config.py +16 -15
  127. pulumi_gcp/organizations/get_folder.py +11 -1
  128. pulumi_gcp/organizations/get_project.py +3 -13
  129. pulumi_gcp/organizations/project.py +3 -87
  130. pulumi_gcp/orgpolicy/policy.py +12 -6
  131. pulumi_gcp/projects/api_key.py +2 -52
  132. pulumi_gcp/provider.py +32 -52
  133. pulumi_gcp/pubsub/topic.py +1 -1
  134. pulumi_gcp/pulumi-plugin.json +1 -1
  135. pulumi_gcp/redis/cluster.py +58 -0
  136. pulumi_gcp/redis/get_instance.py +0 -20
  137. pulumi_gcp/resourcemanager/lien.py +4 -2
  138. pulumi_gcp/secretmanager/get_secret_version.py +2 -2
  139. pulumi_gcp/securitycenter/__init__.py +1 -0
  140. pulumi_gcp/securitycenter/folder_custom_module.py +8 -4
  141. pulumi_gcp/securitycenter/management_folder_security_health_analytics_custom_module.py +8 -4
  142. pulumi_gcp/securitycenter/v2_organization_scc_big_query_exports.py +862 -0
  143. pulumi_gcp/serviceusage/consumer_quota_override.py +12 -6
  144. pulumi_gcp/spanner/get_instance.py +0 -14
  145. pulumi_gcp/sql/_inputs.py +3 -36
  146. pulumi_gcp/sql/outputs.py +6 -49
  147. pulumi_gcp/storage/_inputs.py +23 -23
  148. pulumi_gcp/storage/bucket.py +6 -6
  149. pulumi_gcp/storage/outputs.py +27 -27
  150. pulumi_gcp/tags/get_tag_key.py +0 -30
  151. pulumi_gcp/tags/get_tag_keys.py +0 -26
  152. pulumi_gcp/tags/get_tag_value.py +0 -16
  153. pulumi_gcp/tags/get_tag_values.py +0 -14
  154. pulumi_gcp/tags/tag_binding.py +4 -2
  155. pulumi_gcp/vertex/ai_feature_online_store_featureview.py +4 -2
  156. pulumi_gcp/vmwareengine/network.py +4 -2
  157. pulumi_gcp/vpcaccess/connector.py +14 -6
  158. pulumi_gcp/vpcaccess/get_connector.py +6 -2
  159. {pulumi_gcp-7.39.0a1726207510.dist-info → pulumi_gcp-8.0.0a1.dist-info}/METADATA +1 -1
  160. {pulumi_gcp-7.39.0a1726207510.dist-info → pulumi_gcp-8.0.0a1.dist-info}/RECORD +162 -162
  161. pulumi_gcp/datastore/__init__.py +0 -10
  162. pulumi_gcp/datastore/_inputs.py +0 -76
  163. pulumi_gcp/datastore/data_store_index.py +0 -515
  164. pulumi_gcp/datastore/outputs.py +0 -51
  165. pulumi_gcp/identityplatform/project_default_config.py +0 -357
  166. {pulumi_gcp-7.39.0a1726207510.dist-info → pulumi_gcp-8.0.0a1.dist-info}/WHEEL +0 -0
  167. {pulumi_gcp-7.39.0a1726207510.dist-info → pulumi_gcp-8.0.0a1.dist-info}/top_level.txt +0 -0
@@ -162,6 +162,10 @@ class BackendServiceArgs:
162
162
 
163
163
 
164
164
  - - -
165
+ :param pulumi.Input['BackendServiceOutlierDetectionArgs'] outlier_detection: Settings controlling eviction of unhealthy hosts from the load balancing pool.
166
+ Applicable backend service types can be a global backend service with the
167
+ loadBalancingScheme set to INTERNAL_SELF_MANAGED or EXTERNAL_MANAGED.
168
+ Structure is documented below.
165
169
  :param pulumi.Input[str] port_name: Name of backend port. The same name should appear in the instance
166
170
  groups referenced by this service. Required when the load balancing
167
171
  scheme is EXTERNAL.
@@ -569,6 +573,12 @@ class BackendServiceArgs:
569
573
  @property
570
574
  @pulumi.getter(name="outlierDetection")
571
575
  def outlier_detection(self) -> Optional[pulumi.Input['BackendServiceOutlierDetectionArgs']]:
576
+ """
577
+ Settings controlling eviction of unhealthy hosts from the load balancing pool.
578
+ Applicable backend service types can be a global backend service with the
579
+ loadBalancingScheme set to INTERNAL_SELF_MANAGED or EXTERNAL_MANAGED.
580
+ Structure is documented below.
581
+ """
572
582
  return pulumi.get(self, "outlier_detection")
573
583
 
574
584
  @outlier_detection.setter
@@ -842,6 +852,10 @@ class _BackendServiceState:
842
852
 
843
853
 
844
854
  - - -
855
+ :param pulumi.Input['BackendServiceOutlierDetectionArgs'] outlier_detection: Settings controlling eviction of unhealthy hosts from the load balancing pool.
856
+ Applicable backend service types can be a global backend service with the
857
+ loadBalancingScheme set to INTERNAL_SELF_MANAGED or EXTERNAL_MANAGED.
858
+ Structure is documented below.
845
859
  :param pulumi.Input[str] port_name: Name of backend port. The same name should appear in the instance
846
860
  groups referenced by this service. Required when the load balancing
847
861
  scheme is EXTERNAL.
@@ -1295,6 +1309,12 @@ class _BackendServiceState:
1295
1309
  @property
1296
1310
  @pulumi.getter(name="outlierDetection")
1297
1311
  def outlier_detection(self) -> Optional[pulumi.Input['BackendServiceOutlierDetectionArgs']]:
1312
+ """
1313
+ Settings controlling eviction of unhealthy hosts from the load balancing pool.
1314
+ Applicable backend service types can be a global backend service with the
1315
+ loadBalancingScheme set to INTERNAL_SELF_MANAGED or EXTERNAL_MANAGED.
1316
+ Structure is documented below.
1317
+ """
1298
1318
  return pulumi.get(self, "outlier_detection")
1299
1319
 
1300
1320
  @outlier_detection.setter
@@ -1507,6 +1527,7 @@ class BackendService(pulumi.CustomResource):
1507
1527
  protocol="HTTP",
1508
1528
  load_balancing_scheme="EXTERNAL",
1509
1529
  iap={
1530
+ "enabled": True,
1510
1531
  "oauth2_client_id": "abc",
1511
1532
  "oauth2_client_secret": "xyz",
1512
1533
  })
@@ -1678,6 +1699,14 @@ class BackendService(pulumi.CustomResource):
1678
1699
  },
1679
1700
  outlier_detection={
1680
1701
  "consecutive_errors": 2,
1702
+ "consecutive_gateway_failure": 5,
1703
+ "enforcing_consecutive_errors": 100,
1704
+ "enforcing_consecutive_gateway_failure": 0,
1705
+ "enforcing_success_rate": 100,
1706
+ "max_ejection_percent": 10,
1707
+ "success_rate_minimum_hosts": 5,
1708
+ "success_rate_request_volume": 100,
1709
+ "success_rate_stdev_factor": 1900,
1681
1710
  })
1682
1711
  ```
1683
1712
  ### Backend Service Network Endpoint
@@ -1859,6 +1888,10 @@ class BackendService(pulumi.CustomResource):
1859
1888
 
1860
1889
 
1861
1890
  - - -
1891
+ :param pulumi.Input[Union['BackendServiceOutlierDetectionArgs', 'BackendServiceOutlierDetectionArgsDict']] outlier_detection: Settings controlling eviction of unhealthy hosts from the load balancing pool.
1892
+ Applicable backend service types can be a global backend service with the
1893
+ loadBalancingScheme set to INTERNAL_SELF_MANAGED or EXTERNAL_MANAGED.
1894
+ Structure is documented below.
1862
1895
  :param pulumi.Input[str] port_name: Name of backend port. The same name should appear in the instance
1863
1896
  groups referenced by this service. Required when the load balancing
1864
1897
  scheme is EXTERNAL.
@@ -1937,6 +1970,7 @@ class BackendService(pulumi.CustomResource):
1937
1970
  protocol="HTTP",
1938
1971
  load_balancing_scheme="EXTERNAL",
1939
1972
  iap={
1973
+ "enabled": True,
1940
1974
  "oauth2_client_id": "abc",
1941
1975
  "oauth2_client_secret": "xyz",
1942
1976
  })
@@ -2108,6 +2142,14 @@ class BackendService(pulumi.CustomResource):
2108
2142
  },
2109
2143
  outlier_detection={
2110
2144
  "consecutive_errors": 2,
2145
+ "consecutive_gateway_failure": 5,
2146
+ "enforcing_consecutive_errors": 100,
2147
+ "enforcing_consecutive_gateway_failure": 0,
2148
+ "enforcing_success_rate": 100,
2149
+ "max_ejection_percent": 10,
2150
+ "success_rate_minimum_hosts": 5,
2151
+ "success_rate_request_volume": 100,
2152
+ "success_rate_stdev_factor": 1900,
2111
2153
  })
2112
2154
  ```
2113
2155
  ### Backend Service Network Endpoint
@@ -2424,6 +2466,10 @@ class BackendService(pulumi.CustomResource):
2424
2466
 
2425
2467
 
2426
2468
  - - -
2469
+ :param pulumi.Input[Union['BackendServiceOutlierDetectionArgs', 'BackendServiceOutlierDetectionArgsDict']] outlier_detection: Settings controlling eviction of unhealthy hosts from the load balancing pool.
2470
+ Applicable backend service types can be a global backend service with the
2471
+ loadBalancingScheme set to INTERNAL_SELF_MANAGED or EXTERNAL_MANAGED.
2472
+ Structure is documented below.
2427
2473
  :param pulumi.Input[str] port_name: Name of backend port. The same name should appear in the instance
2428
2474
  groups referenced by this service. Required when the load balancing
2429
2475
  scheme is EXTERNAL.
@@ -2762,6 +2808,12 @@ class BackendService(pulumi.CustomResource):
2762
2808
  @property
2763
2809
  @pulumi.getter(name="outlierDetection")
2764
2810
  def outlier_detection(self) -> pulumi.Output[Optional['outputs.BackendServiceOutlierDetection']]:
2811
+ """
2812
+ Settings controlling eviction of unhealthy hosts from the load balancing pool.
2813
+ Applicable backend service types can be a global backend service with the
2814
+ loadBalancingScheme set to INTERNAL_SELF_MANAGED or EXTERNAL_MANAGED.
2815
+ Structure is documented below.
2816
+ """
2765
2817
  return pulumi.get(self, "outlier_detection")
2766
2818
 
2767
2819
  @property
@@ -119,30 +119,6 @@ class DiskAsyncReplication(pulumi.CustomResource):
119
119
 
120
120
  ## Example Usage
121
121
 
122
- ```python
123
- import pulumi
124
- import pulumi_gcp as gcp
125
-
126
- primary_disk = gcp.compute.Disk("primary-disk",
127
- name="primary-disk",
128
- type="pd-ssd",
129
- zone="europe-west4-a",
130
- physical_block_size_bytes=4096)
131
- secondary_disk = gcp.compute.Disk("secondary-disk",
132
- name="secondary-disk",
133
- type="pd-ssd",
134
- zone="europe-west3-a",
135
- async_primary_disk={
136
- "disk": primary_disk.id,
137
- },
138
- physical_block_size_bytes=4096)
139
- replication = gcp.compute.DiskAsyncReplication("replication",
140
- primary_disk=primary_disk.id,
141
- secondary_disk={
142
- "disk": secondary_disk.id,
143
- })
144
- ```
145
-
146
122
  :param str resource_name: The name of the resource.
147
123
  :param pulumi.ResourceOptions opts: Options for the resource.
148
124
  :param pulumi.Input[str] primary_disk: The primary disk (source of replication).
@@ -163,30 +139,6 @@ class DiskAsyncReplication(pulumi.CustomResource):
163
139
 
164
140
  ## Example Usage
165
141
 
166
- ```python
167
- import pulumi
168
- import pulumi_gcp as gcp
169
-
170
- primary_disk = gcp.compute.Disk("primary-disk",
171
- name="primary-disk",
172
- type="pd-ssd",
173
- zone="europe-west4-a",
174
- physical_block_size_bytes=4096)
175
- secondary_disk = gcp.compute.Disk("secondary-disk",
176
- name="secondary-disk",
177
- type="pd-ssd",
178
- zone="europe-west3-a",
179
- async_primary_disk={
180
- "disk": primary_disk.id,
181
- },
182
- physical_block_size_bytes=4096)
183
- replication = gcp.compute.DiskAsyncReplication("replication",
184
- primary_disk=primary_disk.id,
185
- secondary_disk={
186
- "disk": secondary_disk.id,
187
- })
188
- ```
189
-
190
142
  :param str resource_name: The name of the resource.
191
143
  :param DiskAsyncReplicationArgs args: The arguments to use to populate this resource's properties.
192
144
  :param pulumi.ResourceOptions opts: Options for the resource.
@@ -511,7 +511,8 @@ class FirewallPolicyRule(pulumi.CustomResource):
511
511
  capacity=100)
512
512
  folder = gcp.organizations.Folder("folder",
513
513
  display_name="policy",
514
- parent="organizations/123456789")
514
+ parent="organizations/123456789",
515
+ deletion_protection=False)
515
516
  default = gcp.compute.FirewallPolicy("default",
516
517
  parent=folder.id,
517
518
  short_name="policy",
@@ -611,7 +612,8 @@ class FirewallPolicyRule(pulumi.CustomResource):
611
612
  capacity=100)
612
613
  folder = gcp.organizations.Folder("folder",
613
614
  display_name="policy",
614
- parent="organizations/123456789")
615
+ parent="organizations/123456789",
616
+ deletion_protection=False)
615
617
  default = gcp.compute.FirewallPolicy("default",
616
618
  parent=folder.id,
617
619
  short_name="policy",
@@ -189,6 +189,7 @@ class ForwardingRuleArgs:
189
189
  For internal forwarding rules within the same VPC network, two or more
190
190
  forwarding rules cannot use the same `[IPAddress, IPProtocol]` pair, and
191
191
  cannot have overlapping `portRange`s.
192
+ @pattern: \\d+(?:-\\d+)?
192
193
  :param pulumi.Input[Sequence[pulumi.Input[str]]] ports: The `ports`, `portRange`, and `allPorts` fields are mutually exclusive.
193
194
  Only packets addressed to ports in the specified range will be forwarded
194
195
  to the backends configured with this forwarding rule.
@@ -206,6 +207,7 @@ class ForwardingRuleArgs:
206
207
  For internal forwarding rules within the same VPC network, two or more
207
208
  forwarding rules cannot use the same `[IPAddress, IPProtocol]` pair if
208
209
  they share at least one port number.
210
+ @pattern: \\d+(?:-\\d+)?
209
211
  :param pulumi.Input[str] project: The ID of the project in which the resource belongs.
210
212
  If it is not provided, the provider project is used.
211
213
  :param pulumi.Input[str] region: A reference to the region where the regional forwarding rule resides.
@@ -602,6 +604,7 @@ class ForwardingRuleArgs:
602
604
  For internal forwarding rules within the same VPC network, two or more
603
605
  forwarding rules cannot use the same `[IPAddress, IPProtocol]` pair, and
604
606
  cannot have overlapping `portRange`s.
607
+ @pattern: \\d+(?:-\\d+)?
605
608
  """
606
609
  return pulumi.get(self, "port_range")
607
610
 
@@ -630,6 +633,7 @@ class ForwardingRuleArgs:
630
633
  For internal forwarding rules within the same VPC network, two or more
631
634
  forwarding rules cannot use the same `[IPAddress, IPProtocol]` pair if
632
635
  they share at least one port number.
636
+ @pattern: \\d+(?:-\\d+)?
633
637
  """
634
638
  return pulumi.get(self, "ports")
635
639
 
@@ -769,6 +773,7 @@ class _ForwardingRuleState:
769
773
  creation_timestamp: Optional[pulumi.Input[str]] = None,
770
774
  description: Optional[pulumi.Input[str]] = None,
771
775
  effective_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
776
+ forwarding_rule_id: Optional[pulumi.Input[int]] = None,
772
777
  ip_address: Optional[pulumi.Input[str]] = None,
773
778
  ip_protocol: Optional[pulumi.Input[str]] = None,
774
779
  ip_version: Optional[pulumi.Input[str]] = None,
@@ -827,6 +832,7 @@ class _ForwardingRuleState:
827
832
  :param pulumi.Input[str] description: An optional description of this resource. Provide this property when
828
833
  you create the resource.
829
834
  :param pulumi.Input[Mapping[str, pulumi.Input[str]]] effective_labels: All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
835
+ :param pulumi.Input[int] forwarding_rule_id: The unique identifier number for the resource. This identifier is defined by the server.
830
836
  :param pulumi.Input[str] ip_address: IP address for which this forwarding rule accepts traffic. When a client
831
837
  sends traffic to this IP address, the forwarding rule directs the traffic
832
838
  to the referenced `target` or `backendService`.
@@ -943,6 +949,7 @@ class _ForwardingRuleState:
943
949
  For internal forwarding rules within the same VPC network, two or more
944
950
  forwarding rules cannot use the same `[IPAddress, IPProtocol]` pair, and
945
951
  cannot have overlapping `portRange`s.
952
+ @pattern: \\d+(?:-\\d+)?
946
953
  :param pulumi.Input[Sequence[pulumi.Input[str]]] ports: The `ports`, `portRange`, and `allPorts` fields are mutually exclusive.
947
954
  Only packets addressed to ports in the specified range will be forwarded
948
955
  to the backends configured with this forwarding rule.
@@ -960,6 +967,7 @@ class _ForwardingRuleState:
960
967
  For internal forwarding rules within the same VPC network, two or more
961
968
  forwarding rules cannot use the same `[IPAddress, IPProtocol]` pair if
962
969
  they share at least one port number.
970
+ @pattern: \\d+(?:-\\d+)?
963
971
  :param pulumi.Input[str] project: The ID of the project in which the resource belongs.
964
972
  If it is not provided, the provider project is used.
965
973
  :param pulumi.Input[str] psc_connection_id: The PSC connection id of the PSC Forwarding Rule.
@@ -1018,6 +1026,8 @@ class _ForwardingRuleState:
1018
1026
  pulumi.set(__self__, "description", description)
1019
1027
  if effective_labels is not None:
1020
1028
  pulumi.set(__self__, "effective_labels", effective_labels)
1029
+ if forwarding_rule_id is not None:
1030
+ pulumi.set(__self__, "forwarding_rule_id", forwarding_rule_id)
1021
1031
  if ip_address is not None:
1022
1032
  pulumi.set(__self__, "ip_address", ip_address)
1023
1033
  if ip_protocol is not None:
@@ -1189,6 +1199,18 @@ class _ForwardingRuleState:
1189
1199
  def effective_labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
1190
1200
  pulumi.set(self, "effective_labels", value)
1191
1201
 
1202
+ @property
1203
+ @pulumi.getter(name="forwardingRuleId")
1204
+ def forwarding_rule_id(self) -> Optional[pulumi.Input[int]]:
1205
+ """
1206
+ The unique identifier number for the resource. This identifier is defined by the server.
1207
+ """
1208
+ return pulumi.get(self, "forwarding_rule_id")
1209
+
1210
+ @forwarding_rule_id.setter
1211
+ def forwarding_rule_id(self, value: Optional[pulumi.Input[int]]):
1212
+ pulumi.set(self, "forwarding_rule_id", value)
1213
+
1192
1214
  @property
1193
1215
  @pulumi.getter(name="ipAddress")
1194
1216
  def ip_address(self) -> Optional[pulumi.Input[str]]:
@@ -1430,6 +1452,7 @@ class _ForwardingRuleState:
1430
1452
  For internal forwarding rules within the same VPC network, two or more
1431
1453
  forwarding rules cannot use the same `[IPAddress, IPProtocol]` pair, and
1432
1454
  cannot have overlapping `portRange`s.
1455
+ @pattern: \\d+(?:-\\d+)?
1433
1456
  """
1434
1457
  return pulumi.get(self, "port_range")
1435
1458
 
@@ -1458,6 +1481,7 @@ class _ForwardingRuleState:
1458
1481
  For internal forwarding rules within the same VPC network, two or more
1459
1482
  forwarding rules cannot use the same `[IPAddress, IPProtocol]` pair if
1460
1483
  they share at least one port number.
1484
+ @pattern: \\d+(?:-\\d+)?
1461
1485
  """
1462
1486
  return pulumi.get(self, "ports")
1463
1487
 
@@ -2516,6 +2540,7 @@ class ForwardingRule(pulumi.CustomResource):
2516
2540
  For internal forwarding rules within the same VPC network, two or more
2517
2541
  forwarding rules cannot use the same `[IPAddress, IPProtocol]` pair, and
2518
2542
  cannot have overlapping `portRange`s.
2543
+ @pattern: \\d+(?:-\\d+)?
2519
2544
  :param pulumi.Input[Sequence[pulumi.Input[str]]] ports: The `ports`, `portRange`, and `allPorts` fields are mutually exclusive.
2520
2545
  Only packets addressed to ports in the specified range will be forwarded
2521
2546
  to the backends configured with this forwarding rule.
@@ -2533,6 +2558,7 @@ class ForwardingRule(pulumi.CustomResource):
2533
2558
  For internal forwarding rules within the same VPC network, two or more
2534
2559
  forwarding rules cannot use the same `[IPAddress, IPProtocol]` pair if
2535
2560
  they share at least one port number.
2561
+ @pattern: \\d+(?:-\\d+)?
2536
2562
  :param pulumi.Input[str] project: The ID of the project in which the resource belongs.
2537
2563
  If it is not provided, the provider project is used.
2538
2564
  :param pulumi.Input[str] region: A reference to the region where the regional forwarding rule resides.
@@ -3345,6 +3371,7 @@ class ForwardingRule(pulumi.CustomResource):
3345
3371
  __props__.__dict__["base_forwarding_rule"] = None
3346
3372
  __props__.__dict__["creation_timestamp"] = None
3347
3373
  __props__.__dict__["effective_labels"] = None
3374
+ __props__.__dict__["forwarding_rule_id"] = None
3348
3375
  __props__.__dict__["label_fingerprint"] = None
3349
3376
  __props__.__dict__["psc_connection_id"] = None
3350
3377
  __props__.__dict__["psc_connection_status"] = None
@@ -3371,6 +3398,7 @@ class ForwardingRule(pulumi.CustomResource):
3371
3398
  creation_timestamp: Optional[pulumi.Input[str]] = None,
3372
3399
  description: Optional[pulumi.Input[str]] = None,
3373
3400
  effective_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
3401
+ forwarding_rule_id: Optional[pulumi.Input[int]] = None,
3374
3402
  ip_address: Optional[pulumi.Input[str]] = None,
3375
3403
  ip_protocol: Optional[pulumi.Input[str]] = None,
3376
3404
  ip_version: Optional[pulumi.Input[str]] = None,
@@ -3434,6 +3462,7 @@ class ForwardingRule(pulumi.CustomResource):
3434
3462
  :param pulumi.Input[str] description: An optional description of this resource. Provide this property when
3435
3463
  you create the resource.
3436
3464
  :param pulumi.Input[Mapping[str, pulumi.Input[str]]] effective_labels: All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
3465
+ :param pulumi.Input[int] forwarding_rule_id: The unique identifier number for the resource. This identifier is defined by the server.
3437
3466
  :param pulumi.Input[str] ip_address: IP address for which this forwarding rule accepts traffic. When a client
3438
3467
  sends traffic to this IP address, the forwarding rule directs the traffic
3439
3468
  to the referenced `target` or `backendService`.
@@ -3550,6 +3579,7 @@ class ForwardingRule(pulumi.CustomResource):
3550
3579
  For internal forwarding rules within the same VPC network, two or more
3551
3580
  forwarding rules cannot use the same `[IPAddress, IPProtocol]` pair, and
3552
3581
  cannot have overlapping `portRange`s.
3582
+ @pattern: \\d+(?:-\\d+)?
3553
3583
  :param pulumi.Input[Sequence[pulumi.Input[str]]] ports: The `ports`, `portRange`, and `allPorts` fields are mutually exclusive.
3554
3584
  Only packets addressed to ports in the specified range will be forwarded
3555
3585
  to the backends configured with this forwarding rule.
@@ -3567,6 +3597,7 @@ class ForwardingRule(pulumi.CustomResource):
3567
3597
  For internal forwarding rules within the same VPC network, two or more
3568
3598
  forwarding rules cannot use the same `[IPAddress, IPProtocol]` pair if
3569
3599
  they share at least one port number.
3600
+ @pattern: \\d+(?:-\\d+)?
3570
3601
  :param pulumi.Input[str] project: The ID of the project in which the resource belongs.
3571
3602
  If it is not provided, the provider project is used.
3572
3603
  :param pulumi.Input[str] psc_connection_id: The PSC connection id of the PSC Forwarding Rule.
@@ -3621,6 +3652,7 @@ class ForwardingRule(pulumi.CustomResource):
3621
3652
  __props__.__dict__["creation_timestamp"] = creation_timestamp
3622
3653
  __props__.__dict__["description"] = description
3623
3654
  __props__.__dict__["effective_labels"] = effective_labels
3655
+ __props__.__dict__["forwarding_rule_id"] = forwarding_rule_id
3624
3656
  __props__.__dict__["ip_address"] = ip_address
3625
3657
  __props__.__dict__["ip_protocol"] = ip_protocol
3626
3658
  __props__.__dict__["ip_version"] = ip_version
@@ -3735,6 +3767,14 @@ class ForwardingRule(pulumi.CustomResource):
3735
3767
  """
3736
3768
  return pulumi.get(self, "effective_labels")
3737
3769
 
3770
+ @property
3771
+ @pulumi.getter(name="forwardingRuleId")
3772
+ def forwarding_rule_id(self) -> pulumi.Output[int]:
3773
+ """
3774
+ The unique identifier number for the resource. This identifier is defined by the server.
3775
+ """
3776
+ return pulumi.get(self, "forwarding_rule_id")
3777
+
3738
3778
  @property
3739
3779
  @pulumi.getter(name="ipAddress")
3740
3780
  def ip_address(self) -> pulumi.Output[str]:
@@ -3932,6 +3972,7 @@ class ForwardingRule(pulumi.CustomResource):
3932
3972
  For internal forwarding rules within the same VPC network, two or more
3933
3973
  forwarding rules cannot use the same `[IPAddress, IPProtocol]` pair, and
3934
3974
  cannot have overlapping `portRange`s.
3975
+ @pattern: \\d+(?:-\\d+)?
3935
3976
  """
3936
3977
  return pulumi.get(self, "port_range")
3937
3978
 
@@ -3956,6 +3997,7 @@ class ForwardingRule(pulumi.CustomResource):
3956
3997
  For internal forwarding rules within the same VPC network, two or more
3957
3998
  forwarding rules cannot use the same `[IPAddress, IPProtocol]` pair if
3958
3999
  they share at least one port number.
4000
+ @pattern: \\d+(?:-\\d+)?
3959
4001
  """
3960
4002
  return pulumi.get(self, "ports")
3961
4003
 
@@ -157,13 +157,6 @@ def get_backend_bucket(name: Optional[str] = None,
157
157
 
158
158
  ## Example Usage
159
159
 
160
- ```python
161
- import pulumi
162
- import pulumi_gcp as gcp
163
-
164
- my_backend_bucket = gcp.compute.get_backend_bucket(name="my-backend")
165
- ```
166
-
167
160
 
168
161
  :param str name: Name of the resource.
169
162
 
@@ -201,13 +194,6 @@ def get_backend_bucket_output(name: Optional[pulumi.Input[str]] = None,
201
194
 
202
195
  ## Example Usage
203
196
 
204
- ```python
205
- import pulumi
206
- import pulumi_gcp as gcp
207
-
208
- my_backend_bucket = gcp.compute.get_backend_bucket(name="my-backend")
209
- ```
210
-
211
197
 
212
198
  :param str name: Name of the resource.
213
199
 
@@ -384,16 +384,6 @@ def get_backend_service(name: Optional[str] = None,
384
384
 
385
385
  ## Example Usage
386
386
 
387
- ```python
388
- import pulumi
389
- import pulumi_gcp as gcp
390
-
391
- baz = gcp.compute.get_backend_service(name="foobar")
392
- default = gcp.compute.BackendService("default",
393
- name="backend-service",
394
- health_checks=baz.health_checks[0])
395
- ```
396
-
397
387
 
398
388
  :param str name: The name of the Backend Service.
399
389
 
@@ -453,16 +443,6 @@ def get_backend_service_output(name: Optional[pulumi.Input[str]] = None,
453
443
 
454
444
  ## Example Usage
455
445
 
456
- ```python
457
- import pulumi
458
- import pulumi_gcp as gcp
459
-
460
- baz = gcp.compute.get_backend_service(name="foobar")
461
- default = gcp.compute.BackendService("default",
462
- name="backend-service",
463
- health_checks=baz.health_checks[0])
464
- ```
465
-
466
446
 
467
447
  :param str name: The name of the Backend Service.
468
448
 
@@ -147,16 +147,6 @@ def get_certificate(name: Optional[str] = None,
147
147
 
148
148
  ## Example Usage
149
149
 
150
- ```python
151
- import pulumi
152
- import pulumi_gcp as gcp
153
-
154
- my_cert = gcp.compute.get_certificate(name="my-cert")
155
- pulumi.export("certificate", my_cert.certificate)
156
- pulumi.export("certificateId", my_cert.certificate_id)
157
- pulumi.export("selfLink", my_cert.self_link)
158
- ```
159
-
160
150
 
161
151
  :param str name: The name of the certificate.
162
152
 
@@ -193,16 +183,6 @@ def get_certificate_output(name: Optional[pulumi.Input[str]] = None,
193
183
 
194
184
  ## Example Usage
195
185
 
196
- ```python
197
- import pulumi
198
- import pulumi_gcp as gcp
199
-
200
- my_cert = gcp.compute.get_certificate(name="my-cert")
201
- pulumi.export("certificate", my_cert.certificate)
202
- pulumi.export("certificateId", my_cert.certificate_id)
203
- pulumi.export("selfLink", my_cert.self_link)
204
- ```
205
-
206
186
 
207
187
  :param str name: The name of the certificate.
208
188
 
@@ -27,7 +27,7 @@ class GetForwardingRuleResult:
27
27
  """
28
28
  A collection of values returned by getForwardingRule.
29
29
  """
30
- def __init__(__self__, all_ports=None, allow_global_access=None, allow_psc_global_access=None, backend_service=None, base_forwarding_rule=None, creation_timestamp=None, description=None, effective_labels=None, id=None, ip_address=None, ip_protocol=None, ip_version=None, is_mirroring_collector=None, label_fingerprint=None, labels=None, load_balancing_scheme=None, name=None, network=None, network_tier=None, no_automate_dns_zone=None, port_range=None, ports=None, project=None, psc_connection_id=None, psc_connection_status=None, pulumi_labels=None, recreate_closed_psc=None, region=None, self_link=None, service_directory_registrations=None, service_label=None, service_name=None, source_ip_ranges=None, subnetwork=None, target=None):
30
+ def __init__(__self__, all_ports=None, allow_global_access=None, allow_psc_global_access=None, backend_service=None, base_forwarding_rule=None, creation_timestamp=None, description=None, effective_labels=None, forwarding_rule_id=None, id=None, ip_address=None, ip_protocol=None, ip_version=None, is_mirroring_collector=None, label_fingerprint=None, labels=None, load_balancing_scheme=None, name=None, network=None, network_tier=None, no_automate_dns_zone=None, port_range=None, ports=None, project=None, psc_connection_id=None, psc_connection_status=None, pulumi_labels=None, recreate_closed_psc=None, region=None, self_link=None, service_directory_registrations=None, service_label=None, service_name=None, source_ip_ranges=None, subnetwork=None, target=None):
31
31
  if all_ports and not isinstance(all_ports, bool):
32
32
  raise TypeError("Expected argument 'all_ports' to be a bool")
33
33
  pulumi.set(__self__, "all_ports", all_ports)
@@ -52,6 +52,9 @@ class GetForwardingRuleResult:
52
52
  if effective_labels and not isinstance(effective_labels, dict):
53
53
  raise TypeError("Expected argument 'effective_labels' to be a dict")
54
54
  pulumi.set(__self__, "effective_labels", effective_labels)
55
+ if forwarding_rule_id and not isinstance(forwarding_rule_id, int):
56
+ raise TypeError("Expected argument 'forwarding_rule_id' to be a int")
57
+ pulumi.set(__self__, "forwarding_rule_id", forwarding_rule_id)
55
58
  if id and not isinstance(id, str):
56
59
  raise TypeError("Expected argument 'id' to be a str")
57
60
  pulumi.set(__self__, "id", id)
@@ -174,6 +177,11 @@ class GetForwardingRuleResult:
174
177
  def effective_labels(self) -> Mapping[str, str]:
175
178
  return pulumi.get(self, "effective_labels")
176
179
 
180
+ @property
181
+ @pulumi.getter(name="forwardingRuleId")
182
+ def forwarding_rule_id(self) -> int:
183
+ return pulumi.get(self, "forwarding_rule_id")
184
+
177
185
  @property
178
186
  @pulumi.getter
179
187
  def id(self) -> str:
@@ -327,6 +335,7 @@ class AwaitableGetForwardingRuleResult(GetForwardingRuleResult):
327
335
  creation_timestamp=self.creation_timestamp,
328
336
  description=self.description,
329
337
  effective_labels=self.effective_labels,
338
+ forwarding_rule_id=self.forwarding_rule_id,
330
339
  id=self.id,
331
340
  ip_address=self.ip_address,
332
341
  ip_protocol=self.ip_protocol,
@@ -365,13 +374,6 @@ def get_forwarding_rule(name: Optional[str] = None,
365
374
 
366
375
  ## Example Usage
367
376
 
368
- ```python
369
- import pulumi
370
- import pulumi_gcp as gcp
371
-
372
- my_forwarding_rule = gcp.compute.get_forwarding_rule(name="forwarding-rule-us-east1")
373
- ```
374
-
375
377
 
376
378
  :param str name: The name of the forwarding rule.
377
379
 
@@ -398,6 +400,7 @@ def get_forwarding_rule(name: Optional[str] = None,
398
400
  creation_timestamp=pulumi.get(__ret__, 'creation_timestamp'),
399
401
  description=pulumi.get(__ret__, 'description'),
400
402
  effective_labels=pulumi.get(__ret__, 'effective_labels'),
403
+ forwarding_rule_id=pulumi.get(__ret__, 'forwarding_rule_id'),
401
404
  id=pulumi.get(__ret__, 'id'),
402
405
  ip_address=pulumi.get(__ret__, 'ip_address'),
403
406
  ip_protocol=pulumi.get(__ret__, 'ip_protocol'),
@@ -437,13 +440,6 @@ def get_forwarding_rule_output(name: Optional[pulumi.Input[str]] = None,
437
440
 
438
441
  ## Example Usage
439
442
 
440
- ```python
441
- import pulumi
442
- import pulumi_gcp as gcp
443
-
444
- my_forwarding_rule = gcp.compute.get_forwarding_rule(name="forwarding-rule-us-east1")
445
- ```
446
-
447
443
 
448
444
  :param str name: The name of the forwarding rule.
449
445
 
@@ -94,14 +94,6 @@ def get_forwarding_rules(project: Optional[str] = None,
94
94
 
95
95
  ## Example Usage
96
96
 
97
- ```python
98
- import pulumi
99
- import pulumi_gcp as gcp
100
-
101
- my_forwarding_rules = gcp.compute.get_forwarding_rules(project="my-cloud-project",
102
- region="us-central1")
103
- ```
104
-
105
97
 
106
98
  :param str project: The name of the project.
107
99
  :param str region: The region you want to get the forwarding rules from.
@@ -130,14 +122,6 @@ def get_forwarding_rules_output(project: Optional[pulumi.Input[Optional[str]]] =
130
122
 
131
123
  ## Example Usage
132
124
 
133
- ```python
134
- import pulumi
135
- import pulumi_gcp as gcp
136
-
137
- my_forwarding_rules = gcp.compute.get_forwarding_rules(project="my-cloud-project",
138
- region="us-central1")
139
- ```
140
-
141
125
 
142
126
  :param str project: The name of the project.
143
127
  :param str region: The region you want to get the forwarding rules from.
@@ -274,13 +274,6 @@ def get_global_forwarding_rule(name: Optional[str] = None,
274
274
 
275
275
  ## Example Usage
276
276
 
277
- ```python
278
- import pulumi
279
- import pulumi_gcp as gcp
280
-
281
- my_forwarding_rule = gcp.compute.get_global_forwarding_rule(name="forwarding-rule-global")
282
- ```
283
-
284
277
 
285
278
  :param str name: The name of the global forwarding rule.
286
279
 
@@ -331,13 +324,6 @@ def get_global_forwarding_rule_output(name: Optional[pulumi.Input[str]] = None,
331
324
 
332
325
  ## Example Usage
333
326
 
334
- ```python
335
- import pulumi
336
- import pulumi_gcp as gcp
337
-
338
- my_forwarding_rule = gcp.compute.get_global_forwarding_rule(name="forwarding-rule-global")
339
- ```
340
-
341
327
 
342
328
  :param str name: The name of the global forwarding rule.
343
329
 
@@ -140,13 +140,6 @@ def get_hc_vpn_gateway(name: Optional[str] = None,
140
140
 
141
141
  ## Example Usage
142
142
 
143
- ```python
144
- import pulumi
145
- import pulumi_gcp as gcp
146
-
147
- gateway = gcp.compute.get_hc_vpn_gateway(name="foobar")
148
- ```
149
-
150
143
 
151
144
  :param str name: The name of the forwarding rule.
152
145
 
@@ -187,13 +180,6 @@ def get_hc_vpn_gateway_output(name: Optional[pulumi.Input[str]] = None,
187
180
 
188
181
  ## Example Usage
189
182
 
190
- ```python
191
- import pulumi
192
- import pulumi_gcp as gcp
193
-
194
- gateway = gcp.compute.get_hc_vpn_gateway(name="foobar")
195
- ```
196
-
197
183
 
198
184
  :param str name: The name of the forwarding rule.
199
185