pulumi-gcp 8.23.0a1742538920__py3-none-any.whl → 8.24.0__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 (106) hide show
  1. pulumi_gcp/__init__.py +59 -0
  2. pulumi_gcp/alloydb/_inputs.py +27 -1
  3. pulumi_gcp/alloydb/outputs.py +33 -2
  4. pulumi_gcp/applicationintegration/client.py +18 -24
  5. pulumi_gcp/bigquery/_inputs.py +178 -0
  6. pulumi_gcp/bigquery/outputs.py +127 -0
  7. pulumi_gcp/bigquery/reservation.py +189 -1
  8. pulumi_gcp/bigquery/table.py +61 -0
  9. pulumi_gcp/bigqueryanalyticshub/listing_subscription.py +11 -7
  10. pulumi_gcp/bigtable/table.py +7 -7
  11. pulumi_gcp/chronicle/data_access_label.py +16 -0
  12. pulumi_gcp/clouddeploy/_inputs.py +20 -0
  13. pulumi_gcp/clouddeploy/outputs.py +15 -1
  14. pulumi_gcp/cloudfunctions/function.py +11 -11
  15. pulumi_gcp/cloudfunctionsv2/function.py +24 -24
  16. pulumi_gcp/cloudidentity/get_group_transitive_memberships.py +41 -2
  17. pulumi_gcp/cloudidentity/outputs.py +18 -38
  18. pulumi_gcp/cloudrunv2/service.py +14 -14
  19. pulumi_gcp/compute/__init__.py +1 -0
  20. pulumi_gcp/compute/_inputs.py +616 -18
  21. pulumi_gcp/compute/firewall_policy.py +20 -0
  22. pulumi_gcp/compute/get_images.py +172 -0
  23. pulumi_gcp/compute/get_resource_policy.py +15 -4
  24. pulumi_gcp/compute/image.py +54 -0
  25. pulumi_gcp/compute/interconnect.py +14 -7
  26. pulumi_gcp/compute/outputs.py +710 -18
  27. pulumi_gcp/compute/region_network_endpoint_group.py +2 -2
  28. pulumi_gcp/compute/resource_policy.py +169 -3
  29. pulumi_gcp/compute/router_route_policy.py +16 -0
  30. pulumi_gcp/compute/subnetwork.py +109 -1
  31. pulumi_gcp/compute/target_https_proxy.py +7 -7
  32. pulumi_gcp/config/__init__.pyi +8 -0
  33. pulumi_gcp/config/vars.py +16 -0
  34. pulumi_gcp/container/_inputs.py +265 -4
  35. pulumi_gcp/container/cluster.py +54 -0
  36. pulumi_gcp/container/get_attached_versions.py +2 -2
  37. pulumi_gcp/container/get_cluster.py +12 -1
  38. pulumi_gcp/container/outputs.py +301 -6
  39. pulumi_gcp/dataform/repository.py +49 -0
  40. pulumi_gcp/dataproc/_inputs.py +23 -0
  41. pulumi_gcp/dataproc/get_metastore_service.py +26 -4
  42. pulumi_gcp/dataproc/metastore_federation.py +56 -0
  43. pulumi_gcp/dataproc/metastore_service.py +58 -2
  44. pulumi_gcp/dataproc/outputs.py +27 -0
  45. pulumi_gcp/eventarc/__init__.py +1 -0
  46. pulumi_gcp/eventarc/_inputs.py +1758 -0
  47. pulumi_gcp/eventarc/outputs.py +1337 -0
  48. pulumi_gcp/eventarc/pipeline.py +1596 -0
  49. pulumi_gcp/firebase/__init__.py +1 -0
  50. pulumi_gcp/firebase/_inputs.py +154 -0
  51. pulumi_gcp/firebase/app_hosting_backend.py +1303 -0
  52. pulumi_gcp/firebase/hosting_version.py +2 -2
  53. pulumi_gcp/firebase/outputs.py +127 -0
  54. pulumi_gcp/kms/get_key_rings.py +39 -2
  55. pulumi_gcp/lustre/__init__.py +8 -0
  56. pulumi_gcp/lustre/instance.py +983 -0
  57. pulumi_gcp/managedkafka/__init__.py +2 -0
  58. pulumi_gcp/managedkafka/_inputs.py +263 -0
  59. pulumi_gcp/managedkafka/connect_cluster.py +795 -0
  60. pulumi_gcp/managedkafka/connector.py +695 -0
  61. pulumi_gcp/managedkafka/outputs.py +248 -0
  62. pulumi_gcp/memorystore/_inputs.py +419 -0
  63. pulumi_gcp/memorystore/get_instance.py +23 -1
  64. pulumi_gcp/memorystore/instance.py +144 -14
  65. pulumi_gcp/memorystore/outputs.py +544 -0
  66. pulumi_gcp/monitoring/uptime_check_config.py +2 -2
  67. pulumi_gcp/networkmanagement/_inputs.py +422 -91
  68. pulumi_gcp/networkmanagement/connectivity_test.py +233 -211
  69. pulumi_gcp/networkmanagement/outputs.py +280 -61
  70. pulumi_gcp/networksecurity/_inputs.py +1277 -242
  71. pulumi_gcp/networksecurity/gateway_security_policy.py +0 -7
  72. pulumi_gcp/networksecurity/intercept_deployment_group.py +44 -16
  73. pulumi_gcp/networksecurity/intercept_endpoint_group.py +90 -36
  74. pulumi_gcp/networksecurity/intercept_endpoint_group_association.py +53 -8
  75. pulumi_gcp/networksecurity/mirroring_deployment.py +22 -0
  76. pulumi_gcp/networksecurity/mirroring_deployment_group.py +20 -0
  77. pulumi_gcp/networksecurity/mirroring_endpoint_group.py +24 -0
  78. pulumi_gcp/networksecurity/mirroring_endpoint_group_association.py +28 -0
  79. pulumi_gcp/networksecurity/outputs.py +723 -8
  80. pulumi_gcp/networksecurity/tls_inspection_policy.py +14 -0
  81. pulumi_gcp/networkservices/gateway.py +242 -120
  82. pulumi_gcp/organizations/__init__.py +1 -0
  83. pulumi_gcp/organizations/get_iam_custom_role.py +198 -0
  84. pulumi_gcp/osconfig/__init__.py +1 -0
  85. pulumi_gcp/osconfig/_inputs.py +5413 -0
  86. pulumi_gcp/osconfig/outputs.py +3962 -0
  87. pulumi_gcp/osconfig/v2_policy_orchestrator.py +971 -0
  88. pulumi_gcp/projects/__init__.py +2 -0
  89. pulumi_gcp/projects/get_iam_custom_role.py +198 -0
  90. pulumi_gcp/projects/get_iam_custom_roles.py +164 -0
  91. pulumi_gcp/projects/outputs.py +96 -0
  92. pulumi_gcp/provider.py +80 -0
  93. pulumi_gcp/pulumi-plugin.json +1 -1
  94. pulumi_gcp/servicenetworking/peered_dns_domain.py +4 -0
  95. pulumi_gcp/sql/outputs.py +8 -8
  96. pulumi_gcp/storage/__init__.py +2 -0
  97. pulumi_gcp/storage/_inputs.py +740 -6
  98. pulumi_gcp/storage/control_project_intelligence_config.py +366 -0
  99. pulumi_gcp/storage/get_control_project_intelligence_config.py +130 -0
  100. pulumi_gcp/storage/insights_report_config.py +121 -20
  101. pulumi_gcp/storage/outputs.py +723 -4
  102. pulumi_gcp/workflows/workflow.py +75 -7
  103. {pulumi_gcp-8.23.0a1742538920.dist-info → pulumi_gcp-8.24.0.dist-info}/METADATA +1 -1
  104. {pulumi_gcp-8.23.0a1742538920.dist-info → pulumi_gcp-8.24.0.dist-info}/RECORD +106 -93
  105. {pulumi_gcp-8.23.0a1742538920.dist-info → pulumi_gcp-8.24.0.dist-info}/WHEEL +1 -1
  106. {pulumi_gcp-8.23.0a1742538920.dist-info → pulumi_gcp-8.24.0.dist-info}/top_level.txt +0 -0
@@ -73,6 +73,8 @@ __all__ = [
73
73
  'JobStatusError',
74
74
  'JobStatusErrorResult',
75
75
  'ReservationAutoscale',
76
+ 'ReservationReplicationStatus',
77
+ 'ReservationReplicationStatusError',
76
78
  'RoutineArgument',
77
79
  'RoutineRemoteFunctionOptions',
78
80
  'RoutineSparkOptions',
@@ -3274,6 +3276,7 @@ class JobQuery(dict):
3274
3276
  def __init__(__self__, *,
3275
3277
  query: str,
3276
3278
  allow_large_results: Optional[bool] = None,
3279
+ continuous: Optional[bool] = None,
3277
3280
  create_disposition: Optional[str] = None,
3278
3281
  default_dataset: Optional['outputs.JobQueryDefaultDataset'] = None,
3279
3282
  destination_encryption_configuration: Optional['outputs.JobQueryDestinationEncryptionConfiguration'] = None,
@@ -3296,6 +3299,7 @@ class JobQuery(dict):
3296
3299
  :param bool allow_large_results: If true and query uses legacy SQL dialect, allows the query to produce arbitrarily large result tables at a slight cost in performance.
3297
3300
  Requires destinationTable to be set. For standard SQL queries, this flag is ignored and large results are always allowed.
3298
3301
  However, you must still set destinationTable when result size exceeds the allowed maximum response size.
3302
+ :param bool continuous: Whether to run the query as continuous or a regular query.
3299
3303
  :param str create_disposition: Specifies whether the job is allowed to create new tables. The following values are supported:
3300
3304
  CREATE_IF_NEEDED: If the table does not exist, BigQuery creates the table.
3301
3305
  CREATE_NEVER: The table must already exist. If it does not, a 'notFound' error is returned in the job result.
@@ -3348,6 +3352,8 @@ class JobQuery(dict):
3348
3352
  pulumi.set(__self__, "query", query)
3349
3353
  if allow_large_results is not None:
3350
3354
  pulumi.set(__self__, "allow_large_results", allow_large_results)
3355
+ if continuous is not None:
3356
+ pulumi.set(__self__, "continuous", continuous)
3351
3357
  if create_disposition is not None:
3352
3358
  pulumi.set(__self__, "create_disposition", create_disposition)
3353
3359
  if default_dataset is not None:
@@ -3399,6 +3405,14 @@ class JobQuery(dict):
3399
3405
  """
3400
3406
  return pulumi.get(self, "allow_large_results")
3401
3407
 
3408
+ @property
3409
+ @pulumi.getter
3410
+ def continuous(self) -> Optional[bool]:
3411
+ """
3412
+ Whether to run the query as continuous or a regular query.
3413
+ """
3414
+ return pulumi.get(self, "continuous")
3415
+
3402
3416
  @property
3403
3417
  @pulumi.getter(name="createDisposition")
3404
3418
  def create_disposition(self) -> Optional[str]:
@@ -4054,6 +4068,119 @@ class ReservationAutoscale(dict):
4054
4068
  return pulumi.get(self, "max_slots")
4055
4069
 
4056
4070
 
4071
+ @pulumi.output_type
4072
+ class ReservationReplicationStatus(dict):
4073
+ @staticmethod
4074
+ def __key_warning(key: str):
4075
+ suggest = None
4076
+ if key == "lastErrorTime":
4077
+ suggest = "last_error_time"
4078
+ elif key == "lastReplicationTime":
4079
+ suggest = "last_replication_time"
4080
+
4081
+ if suggest:
4082
+ pulumi.log.warn(f"Key '{key}' not found in ReservationReplicationStatus. Access the value via the '{suggest}' property getter instead.")
4083
+
4084
+ def __getitem__(self, key: str) -> Any:
4085
+ ReservationReplicationStatus.__key_warning(key)
4086
+ return super().__getitem__(key)
4087
+
4088
+ def get(self, key: str, default = None) -> Any:
4089
+ ReservationReplicationStatus.__key_warning(key)
4090
+ return super().get(key, default)
4091
+
4092
+ def __init__(__self__, *,
4093
+ errors: Optional[Sequence['outputs.ReservationReplicationStatusError']] = None,
4094
+ last_error_time: Optional[str] = None,
4095
+ last_replication_time: Optional[str] = None):
4096
+ """
4097
+ :param Sequence['ReservationReplicationStatusErrorArgs'] errors: (Output)
4098
+ The last error encountered while trying to replicate changes from the primary to the
4099
+ secondary. This field is only available if the replication has not succeeded since.
4100
+ Structure is documented below.
4101
+ :param str last_error_time: (Output)
4102
+ The time at which the last error was encountered while trying to replicate changes from
4103
+ the primary to the secondary. This field is only available if the replication has not
4104
+ succeeded since.
4105
+ :param str last_replication_time: (Output)
4106
+ A timestamp corresponding to the last change on the primary that was successfully
4107
+ replicated to the secondary.
4108
+ """
4109
+ if errors is not None:
4110
+ pulumi.set(__self__, "errors", errors)
4111
+ if last_error_time is not None:
4112
+ pulumi.set(__self__, "last_error_time", last_error_time)
4113
+ if last_replication_time is not None:
4114
+ pulumi.set(__self__, "last_replication_time", last_replication_time)
4115
+
4116
+ @property
4117
+ @pulumi.getter
4118
+ def errors(self) -> Optional[Sequence['outputs.ReservationReplicationStatusError']]:
4119
+ """
4120
+ (Output)
4121
+ The last error encountered while trying to replicate changes from the primary to the
4122
+ secondary. This field is only available if the replication has not succeeded since.
4123
+ Structure is documented below.
4124
+ """
4125
+ return pulumi.get(self, "errors")
4126
+
4127
+ @property
4128
+ @pulumi.getter(name="lastErrorTime")
4129
+ def last_error_time(self) -> Optional[str]:
4130
+ """
4131
+ (Output)
4132
+ The time at which the last error was encountered while trying to replicate changes from
4133
+ the primary to the secondary. This field is only available if the replication has not
4134
+ succeeded since.
4135
+ """
4136
+ return pulumi.get(self, "last_error_time")
4137
+
4138
+ @property
4139
+ @pulumi.getter(name="lastReplicationTime")
4140
+ def last_replication_time(self) -> Optional[str]:
4141
+ """
4142
+ (Output)
4143
+ A timestamp corresponding to the last change on the primary that was successfully
4144
+ replicated to the secondary.
4145
+ """
4146
+ return pulumi.get(self, "last_replication_time")
4147
+
4148
+
4149
+ @pulumi.output_type
4150
+ class ReservationReplicationStatusError(dict):
4151
+ def __init__(__self__, *,
4152
+ code: Optional[int] = None,
4153
+ message: Optional[str] = None):
4154
+ """
4155
+ :param int code: (Output)
4156
+ The status code, which should be an enum value of [google.rpc.Code](https://cloud.google.com/bigquery/docs/reference/reservations/rpc/google.rpc#google.rpc.Code).
4157
+ :param str message: (Output)
4158
+ A developer-facing error message, which should be in English.
4159
+ """
4160
+ if code is not None:
4161
+ pulumi.set(__self__, "code", code)
4162
+ if message is not None:
4163
+ pulumi.set(__self__, "message", message)
4164
+
4165
+ @property
4166
+ @pulumi.getter
4167
+ def code(self) -> Optional[int]:
4168
+ """
4169
+ (Output)
4170
+ The status code, which should be an enum value of [google.rpc.Code](https://cloud.google.com/bigquery/docs/reference/reservations/rpc/google.rpc#google.rpc.Code).
4171
+ """
4172
+ return pulumi.get(self, "code")
4173
+
4174
+ @property
4175
+ @pulumi.getter
4176
+ def message(self) -> Optional[str]:
4177
+ """
4178
+ (Output)
4179
+ A developer-facing error message, which should be in English.
4180
+ """
4181
+ return pulumi.get(self, "message")
4182
+
4183
+
4057
4184
  @pulumi.output_type
4058
4185
  class RoutineArgument(dict):
4059
4186
  @staticmethod
@@ -28,7 +28,8 @@ class ReservationArgs:
28
28
  ignore_idle_slots: Optional[pulumi.Input[bool]] = None,
29
29
  location: Optional[pulumi.Input[str]] = None,
30
30
  name: Optional[pulumi.Input[str]] = None,
31
- project: Optional[pulumi.Input[str]] = None):
31
+ project: Optional[pulumi.Input[str]] = None,
32
+ secondary_location: Optional[pulumi.Input[str]] = None):
32
33
  """
33
34
  The set of arguments for constructing a Reservation resource.
34
35
  :param pulumi.Input[int] slot_capacity: Minimum slots available to this reservation. A slot is a unit of computational power in BigQuery, and serves as the
@@ -48,6 +49,10 @@ class ReservationArgs:
48
49
  - - -
49
50
  :param pulumi.Input[str] project: The ID of the project in which the resource belongs.
50
51
  If it is not provided, the provider project is used.
52
+ :param pulumi.Input[str] secondary_location: The current location of the reservation's secondary replica. This field is only set for
53
+ reservations using the managed disaster recovery feature. Users can set this in create
54
+ reservation calls to create a failover reservation or in update reservation calls to convert
55
+ a non-failover reservation to a failover reservation(or vice versa).
51
56
  """
52
57
  pulumi.set(__self__, "slot_capacity", slot_capacity)
53
58
  if autoscale is not None:
@@ -64,6 +69,8 @@ class ReservationArgs:
64
69
  pulumi.set(__self__, "name", name)
65
70
  if project is not None:
66
71
  pulumi.set(__self__, "project", project)
72
+ if secondary_location is not None:
73
+ pulumi.set(__self__, "secondary_location", secondary_location)
67
74
 
68
75
  @property
69
76
  @pulumi.getter(name="slotCapacity")
@@ -170,6 +177,21 @@ class ReservationArgs:
170
177
  def project(self, value: Optional[pulumi.Input[str]]):
171
178
  pulumi.set(self, "project", value)
172
179
 
180
+ @property
181
+ @pulumi.getter(name="secondaryLocation")
182
+ def secondary_location(self) -> Optional[pulumi.Input[str]]:
183
+ """
184
+ The current location of the reservation's secondary replica. This field is only set for
185
+ reservations using the managed disaster recovery feature. Users can set this in create
186
+ reservation calls to create a failover reservation or in update reservation calls to convert
187
+ a non-failover reservation to a failover reservation(or vice versa).
188
+ """
189
+ return pulumi.get(self, "secondary_location")
190
+
191
+ @secondary_location.setter
192
+ def secondary_location(self, value: Optional[pulumi.Input[str]]):
193
+ pulumi.set(self, "secondary_location", value)
194
+
173
195
 
174
196
  @pulumi.input_type
175
197
  class _ReservationState:
@@ -180,7 +202,11 @@ class _ReservationState:
180
202
  ignore_idle_slots: Optional[pulumi.Input[bool]] = None,
181
203
  location: Optional[pulumi.Input[str]] = None,
182
204
  name: Optional[pulumi.Input[str]] = None,
205
+ original_primary_location: Optional[pulumi.Input[str]] = None,
206
+ primary_location: Optional[pulumi.Input[str]] = None,
183
207
  project: Optional[pulumi.Input[str]] = None,
208
+ replication_statuses: Optional[pulumi.Input[Sequence[pulumi.Input['ReservationReplicationStatusArgs']]]] = None,
209
+ secondary_location: Optional[pulumi.Input[str]] = None,
184
210
  slot_capacity: Optional[pulumi.Input[int]] = None):
185
211
  """
186
212
  Input properties used for looking up and filtering Reservation resources.
@@ -197,8 +223,24 @@ class _ReservationState:
197
223
 
198
224
 
199
225
  - - -
226
+ :param pulumi.Input[str] original_primary_location: The location where the reservation was originally created. This is set only during the
227
+ failover reservation's creation. All billing charges for the failover reservation will be
228
+ applied to this location.
229
+ :param pulumi.Input[str] primary_location: The current location of the reservation's primary replica. This field is only set for
230
+ reservations using the managed disaster recovery feature.
200
231
  :param pulumi.Input[str] project: The ID of the project in which the resource belongs.
201
232
  If it is not provided, the provider project is used.
233
+ :param pulumi.Input[Sequence[pulumi.Input['ReservationReplicationStatusArgs']]] replication_statuses: The Disaster Recovery(DR) replication status of the reservation. This is only available for
234
+ the primary replicas of DR/failover reservations and provides information about the both the
235
+ staleness of the secondary and the last error encountered while trying to replicate changes
236
+ from the primary to the secondary. If this field is blank, it means that the reservation is
237
+ either not a DR reservation or the reservation is a DR secondary or that any replication
238
+ operations on the reservation have succeeded.
239
+ Structure is documented below.
240
+ :param pulumi.Input[str] secondary_location: The current location of the reservation's secondary replica. This field is only set for
241
+ reservations using the managed disaster recovery feature. Users can set this in create
242
+ reservation calls to create a failover reservation or in update reservation calls to convert
243
+ a non-failover reservation to a failover reservation(or vice versa).
202
244
  :param pulumi.Input[int] slot_capacity: Minimum slots available to this reservation. A slot is a unit of computational power in BigQuery, and serves as the
203
245
  unit of parallelism. Queries using this reservation might use more slots during runtime if ignoreIdleSlots is set to false.
204
246
  """
@@ -214,8 +256,16 @@ class _ReservationState:
214
256
  pulumi.set(__self__, "location", location)
215
257
  if name is not None:
216
258
  pulumi.set(__self__, "name", name)
259
+ if original_primary_location is not None:
260
+ pulumi.set(__self__, "original_primary_location", original_primary_location)
261
+ if primary_location is not None:
262
+ pulumi.set(__self__, "primary_location", primary_location)
217
263
  if project is not None:
218
264
  pulumi.set(__self__, "project", project)
265
+ if replication_statuses is not None:
266
+ pulumi.set(__self__, "replication_statuses", replication_statuses)
267
+ if secondary_location is not None:
268
+ pulumi.set(__self__, "secondary_location", secondary_location)
219
269
  if slot_capacity is not None:
220
270
  pulumi.set(__self__, "slot_capacity", slot_capacity)
221
271
 
@@ -298,6 +348,33 @@ class _ReservationState:
298
348
  def name(self, value: Optional[pulumi.Input[str]]):
299
349
  pulumi.set(self, "name", value)
300
350
 
351
+ @property
352
+ @pulumi.getter(name="originalPrimaryLocation")
353
+ def original_primary_location(self) -> Optional[pulumi.Input[str]]:
354
+ """
355
+ The location where the reservation was originally created. This is set only during the
356
+ failover reservation's creation. All billing charges for the failover reservation will be
357
+ applied to this location.
358
+ """
359
+ return pulumi.get(self, "original_primary_location")
360
+
361
+ @original_primary_location.setter
362
+ def original_primary_location(self, value: Optional[pulumi.Input[str]]):
363
+ pulumi.set(self, "original_primary_location", value)
364
+
365
+ @property
366
+ @pulumi.getter(name="primaryLocation")
367
+ def primary_location(self) -> Optional[pulumi.Input[str]]:
368
+ """
369
+ The current location of the reservation's primary replica. This field is only set for
370
+ reservations using the managed disaster recovery feature.
371
+ """
372
+ return pulumi.get(self, "primary_location")
373
+
374
+ @primary_location.setter
375
+ def primary_location(self, value: Optional[pulumi.Input[str]]):
376
+ pulumi.set(self, "primary_location", value)
377
+
301
378
  @property
302
379
  @pulumi.getter
303
380
  def project(self) -> Optional[pulumi.Input[str]]:
@@ -311,6 +388,39 @@ class _ReservationState:
311
388
  def project(self, value: Optional[pulumi.Input[str]]):
312
389
  pulumi.set(self, "project", value)
313
390
 
391
+ @property
392
+ @pulumi.getter(name="replicationStatuses")
393
+ def replication_statuses(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ReservationReplicationStatusArgs']]]]:
394
+ """
395
+ The Disaster Recovery(DR) replication status of the reservation. This is only available for
396
+ the primary replicas of DR/failover reservations and provides information about the both the
397
+ staleness of the secondary and the last error encountered while trying to replicate changes
398
+ from the primary to the secondary. If this field is blank, it means that the reservation is
399
+ either not a DR reservation or the reservation is a DR secondary or that any replication
400
+ operations on the reservation have succeeded.
401
+ Structure is documented below.
402
+ """
403
+ return pulumi.get(self, "replication_statuses")
404
+
405
+ @replication_statuses.setter
406
+ def replication_statuses(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ReservationReplicationStatusArgs']]]]):
407
+ pulumi.set(self, "replication_statuses", value)
408
+
409
+ @property
410
+ @pulumi.getter(name="secondaryLocation")
411
+ def secondary_location(self) -> Optional[pulumi.Input[str]]:
412
+ """
413
+ The current location of the reservation's secondary replica. This field is only set for
414
+ reservations using the managed disaster recovery feature. Users can set this in create
415
+ reservation calls to create a failover reservation or in update reservation calls to convert
416
+ a non-failover reservation to a failover reservation(or vice versa).
417
+ """
418
+ return pulumi.get(self, "secondary_location")
419
+
420
+ @secondary_location.setter
421
+ def secondary_location(self, value: Optional[pulumi.Input[str]]):
422
+ pulumi.set(self, "secondary_location", value)
423
+
314
424
  @property
315
425
  @pulumi.getter(name="slotCapacity")
316
426
  def slot_capacity(self) -> Optional[pulumi.Input[int]]:
@@ -337,6 +447,7 @@ class Reservation(pulumi.CustomResource):
337
447
  location: Optional[pulumi.Input[str]] = None,
338
448
  name: Optional[pulumi.Input[str]] = None,
339
449
  project: Optional[pulumi.Input[str]] = None,
450
+ secondary_location: Optional[pulumi.Input[str]] = None,
340
451
  slot_capacity: Optional[pulumi.Input[int]] = None,
341
452
  __props__=None):
342
453
  """
@@ -409,6 +520,10 @@ class Reservation(pulumi.CustomResource):
409
520
  - - -
410
521
  :param pulumi.Input[str] project: The ID of the project in which the resource belongs.
411
522
  If it is not provided, the provider project is used.
523
+ :param pulumi.Input[str] secondary_location: The current location of the reservation's secondary replica. This field is only set for
524
+ reservations using the managed disaster recovery feature. Users can set this in create
525
+ reservation calls to create a failover reservation or in update reservation calls to convert
526
+ a non-failover reservation to a failover reservation(or vice versa).
412
527
  :param pulumi.Input[int] slot_capacity: Minimum slots available to this reservation. A slot is a unit of computational power in BigQuery, and serves as the
413
528
  unit of parallelism. Queries using this reservation might use more slots during runtime if ignoreIdleSlots is set to false.
414
529
  """
@@ -493,6 +608,7 @@ class Reservation(pulumi.CustomResource):
493
608
  location: Optional[pulumi.Input[str]] = None,
494
609
  name: Optional[pulumi.Input[str]] = None,
495
610
  project: Optional[pulumi.Input[str]] = None,
611
+ secondary_location: Optional[pulumi.Input[str]] = None,
496
612
  slot_capacity: Optional[pulumi.Input[int]] = None,
497
613
  __props__=None):
498
614
  opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
@@ -510,9 +626,13 @@ class Reservation(pulumi.CustomResource):
510
626
  __props__.__dict__["location"] = location
511
627
  __props__.__dict__["name"] = name
512
628
  __props__.__dict__["project"] = project
629
+ __props__.__dict__["secondary_location"] = secondary_location
513
630
  if slot_capacity is None and not opts.urn:
514
631
  raise TypeError("Missing required property 'slot_capacity'")
515
632
  __props__.__dict__["slot_capacity"] = slot_capacity
633
+ __props__.__dict__["original_primary_location"] = None
634
+ __props__.__dict__["primary_location"] = None
635
+ __props__.__dict__["replication_statuses"] = None
516
636
  super(Reservation, __self__).__init__(
517
637
  'gcp:bigquery/reservation:Reservation',
518
638
  resource_name,
@@ -529,7 +649,11 @@ class Reservation(pulumi.CustomResource):
529
649
  ignore_idle_slots: Optional[pulumi.Input[bool]] = None,
530
650
  location: Optional[pulumi.Input[str]] = None,
531
651
  name: Optional[pulumi.Input[str]] = None,
652
+ original_primary_location: Optional[pulumi.Input[str]] = None,
653
+ primary_location: Optional[pulumi.Input[str]] = None,
532
654
  project: Optional[pulumi.Input[str]] = None,
655
+ replication_statuses: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ReservationReplicationStatusArgs', 'ReservationReplicationStatusArgsDict']]]]] = None,
656
+ secondary_location: Optional[pulumi.Input[str]] = None,
533
657
  slot_capacity: Optional[pulumi.Input[int]] = None) -> 'Reservation':
534
658
  """
535
659
  Get an existing Reservation resource's state with the given name, id, and optional extra
@@ -551,8 +675,24 @@ class Reservation(pulumi.CustomResource):
551
675
 
552
676
 
553
677
  - - -
678
+ :param pulumi.Input[str] original_primary_location: The location where the reservation was originally created. This is set only during the
679
+ failover reservation's creation. All billing charges for the failover reservation will be
680
+ applied to this location.
681
+ :param pulumi.Input[str] primary_location: The current location of the reservation's primary replica. This field is only set for
682
+ reservations using the managed disaster recovery feature.
554
683
  :param pulumi.Input[str] project: The ID of the project in which the resource belongs.
555
684
  If it is not provided, the provider project is used.
685
+ :param pulumi.Input[Sequence[pulumi.Input[Union['ReservationReplicationStatusArgs', 'ReservationReplicationStatusArgsDict']]]] replication_statuses: The Disaster Recovery(DR) replication status of the reservation. This is only available for
686
+ the primary replicas of DR/failover reservations and provides information about the both the
687
+ staleness of the secondary and the last error encountered while trying to replicate changes
688
+ from the primary to the secondary. If this field is blank, it means that the reservation is
689
+ either not a DR reservation or the reservation is a DR secondary or that any replication
690
+ operations on the reservation have succeeded.
691
+ Structure is documented below.
692
+ :param pulumi.Input[str] secondary_location: The current location of the reservation's secondary replica. This field is only set for
693
+ reservations using the managed disaster recovery feature. Users can set this in create
694
+ reservation calls to create a failover reservation or in update reservation calls to convert
695
+ a non-failover reservation to a failover reservation(or vice versa).
556
696
  :param pulumi.Input[int] slot_capacity: Minimum slots available to this reservation. A slot is a unit of computational power in BigQuery, and serves as the
557
697
  unit of parallelism. Queries using this reservation might use more slots during runtime if ignoreIdleSlots is set to false.
558
698
  """
@@ -566,7 +706,11 @@ class Reservation(pulumi.CustomResource):
566
706
  __props__.__dict__["ignore_idle_slots"] = ignore_idle_slots
567
707
  __props__.__dict__["location"] = location
568
708
  __props__.__dict__["name"] = name
709
+ __props__.__dict__["original_primary_location"] = original_primary_location
710
+ __props__.__dict__["primary_location"] = primary_location
569
711
  __props__.__dict__["project"] = project
712
+ __props__.__dict__["replication_statuses"] = replication_statuses
713
+ __props__.__dict__["secondary_location"] = secondary_location
570
714
  __props__.__dict__["slot_capacity"] = slot_capacity
571
715
  return Reservation(resource_name, opts=opts, __props__=__props__)
572
716
 
@@ -625,6 +769,25 @@ class Reservation(pulumi.CustomResource):
625
769
  """
626
770
  return pulumi.get(self, "name")
627
771
 
772
+ @property
773
+ @pulumi.getter(name="originalPrimaryLocation")
774
+ def original_primary_location(self) -> pulumi.Output[str]:
775
+ """
776
+ The location where the reservation was originally created. This is set only during the
777
+ failover reservation's creation. All billing charges for the failover reservation will be
778
+ applied to this location.
779
+ """
780
+ return pulumi.get(self, "original_primary_location")
781
+
782
+ @property
783
+ @pulumi.getter(name="primaryLocation")
784
+ def primary_location(self) -> pulumi.Output[str]:
785
+ """
786
+ The current location of the reservation's primary replica. This field is only set for
787
+ reservations using the managed disaster recovery feature.
788
+ """
789
+ return pulumi.get(self, "primary_location")
790
+
628
791
  @property
629
792
  @pulumi.getter
630
793
  def project(self) -> pulumi.Output[str]:
@@ -634,6 +797,31 @@ class Reservation(pulumi.CustomResource):
634
797
  """
635
798
  return pulumi.get(self, "project")
636
799
 
800
+ @property
801
+ @pulumi.getter(name="replicationStatuses")
802
+ def replication_statuses(self) -> pulumi.Output[Sequence['outputs.ReservationReplicationStatus']]:
803
+ """
804
+ The Disaster Recovery(DR) replication status of the reservation. This is only available for
805
+ the primary replicas of DR/failover reservations and provides information about the both the
806
+ staleness of the secondary and the last error encountered while trying to replicate changes
807
+ from the primary to the secondary. If this field is blank, it means that the reservation is
808
+ either not a DR reservation or the reservation is a DR secondary or that any replication
809
+ operations on the reservation have succeeded.
810
+ Structure is documented below.
811
+ """
812
+ return pulumi.get(self, "replication_statuses")
813
+
814
+ @property
815
+ @pulumi.getter(name="secondaryLocation")
816
+ def secondary_location(self) -> pulumi.Output[Optional[str]]:
817
+ """
818
+ The current location of the reservation's secondary replica. This field is only set for
819
+ reservations using the managed disaster recovery feature. Users can set this in create
820
+ reservation calls to create a failover reservation or in update reservation calls to convert
821
+ a non-failover reservation to a failover reservation(or vice versa).
822
+ """
823
+ return pulumi.get(self, "secondary_location")
824
+
637
825
  @property
638
826
  @pulumi.getter(name="slotCapacity")
639
827
  def slot_capacity(self) -> pulumi.Output[int]:
@@ -42,6 +42,7 @@ class TableArgs:
42
42
  schema: Optional[pulumi.Input[str]] = None,
43
43
  schema_foreign_type_info: Optional[pulumi.Input['TableSchemaForeignTypeInfoArgs']] = None,
44
44
  table_constraints: Optional[pulumi.Input['TableTableConstraintsArgs']] = None,
45
+ table_metadata_view: Optional[pulumi.Input[str]] = None,
45
46
  table_replication_info: Optional[pulumi.Input['TableTableReplicationInfoArgs']] = None,
46
47
  time_partitioning: Optional[pulumi.Input['TableTimePartitioningArgs']] = None,
47
48
  view: Optional[pulumi.Input['TableViewArgs']] = None):
@@ -98,6 +99,9 @@ class TableArgs:
98
99
  :param pulumi.Input['TableSchemaForeignTypeInfoArgs'] schema_foreign_type_info: Specifies metadata of the foreign data type definition in field schema.
99
100
  :param pulumi.Input['TableTableConstraintsArgs'] table_constraints: Defines the primary key and foreign keys.
100
101
  Structure is documented below.
102
+ :param pulumi.Input[str] table_metadata_view: View sets the optional parameter "view": Specifies the view that determines which table information is returned. By
103
+ default, basic table information and storage statistics (STORAGE_STATS) are returned. Possible values:
104
+ TABLE_METADATA_VIEW_UNSPECIFIED, BASIC, STORAGE_STATS, FULL
101
105
  :param pulumi.Input['TableTableReplicationInfoArgs'] table_replication_info: Replication info of a table created
102
106
  using "AS REPLICA" DDL like:
103
107
  `CREATE MATERIALIZED VIEW mv1 AS REPLICA OF src_mv`.
@@ -147,6 +151,8 @@ class TableArgs:
147
151
  pulumi.set(__self__, "schema_foreign_type_info", schema_foreign_type_info)
148
152
  if table_constraints is not None:
149
153
  pulumi.set(__self__, "table_constraints", table_constraints)
154
+ if table_metadata_view is not None:
155
+ pulumi.set(__self__, "table_metadata_view", table_metadata_view)
150
156
  if table_replication_info is not None:
151
157
  pulumi.set(__self__, "table_replication_info", table_replication_info)
152
158
  if time_partitioning is not None:
@@ -436,6 +442,20 @@ class TableArgs:
436
442
  def table_constraints(self, value: Optional[pulumi.Input['TableTableConstraintsArgs']]):
437
443
  pulumi.set(self, "table_constraints", value)
438
444
 
445
+ @property
446
+ @pulumi.getter(name="tableMetadataView")
447
+ def table_metadata_view(self) -> Optional[pulumi.Input[str]]:
448
+ """
449
+ View sets the optional parameter "view": Specifies the view that determines which table information is returned. By
450
+ default, basic table information and storage statistics (STORAGE_STATS) are returned. Possible values:
451
+ TABLE_METADATA_VIEW_UNSPECIFIED, BASIC, STORAGE_STATS, FULL
452
+ """
453
+ return pulumi.get(self, "table_metadata_view")
454
+
455
+ @table_metadata_view.setter
456
+ def table_metadata_view(self, value: Optional[pulumi.Input[str]]):
457
+ pulumi.set(self, "table_metadata_view", value)
458
+
439
459
  @property
440
460
  @pulumi.getter(name="tableReplicationInfo")
441
461
  def table_replication_info(self) -> Optional[pulumi.Input['TableTableReplicationInfoArgs']]:
@@ -512,6 +532,7 @@ class _TableState:
512
532
  self_link: Optional[pulumi.Input[str]] = None,
513
533
  table_constraints: Optional[pulumi.Input['TableTableConstraintsArgs']] = None,
514
534
  table_id: Optional[pulumi.Input[str]] = None,
535
+ table_metadata_view: Optional[pulumi.Input[str]] = None,
515
536
  table_replication_info: Optional[pulumi.Input['TableTableReplicationInfoArgs']] = None,
516
537
  time_partitioning: Optional[pulumi.Input['TableTimePartitioningArgs']] = None,
517
538
  type: Optional[pulumi.Input[str]] = None,
@@ -594,6 +615,9 @@ class _TableState:
594
615
  Structure is documented below.
595
616
  :param pulumi.Input[str] table_id: A unique ID for the resource.
596
617
  Changing this forces a new resource to be created.
618
+ :param pulumi.Input[str] table_metadata_view: View sets the optional parameter "view": Specifies the view that determines which table information is returned. By
619
+ default, basic table information and storage statistics (STORAGE_STATS) are returned. Possible values:
620
+ TABLE_METADATA_VIEW_UNSPECIFIED, BASIC, STORAGE_STATS, FULL
597
621
  :param pulumi.Input['TableTableReplicationInfoArgs'] table_replication_info: Replication info of a table created
598
622
  using "AS REPLICA" DDL like:
599
623
  `CREATE MATERIALIZED VIEW mv1 AS REPLICA OF src_mv`.
@@ -666,6 +690,8 @@ class _TableState:
666
690
  pulumi.set(__self__, "table_constraints", table_constraints)
667
691
  if table_id is not None:
668
692
  pulumi.set(__self__, "table_id", table_id)
693
+ if table_metadata_view is not None:
694
+ pulumi.set(__self__, "table_metadata_view", table_metadata_view)
669
695
  if table_replication_info is not None:
670
696
  pulumi.set(__self__, "table_replication_info", table_replication_info)
671
697
  if time_partitioning is not None:
@@ -1092,6 +1118,20 @@ class _TableState:
1092
1118
  def table_id(self, value: Optional[pulumi.Input[str]]):
1093
1119
  pulumi.set(self, "table_id", value)
1094
1120
 
1121
+ @property
1122
+ @pulumi.getter(name="tableMetadataView")
1123
+ def table_metadata_view(self) -> Optional[pulumi.Input[str]]:
1124
+ """
1125
+ View sets the optional parameter "view": Specifies the view that determines which table information is returned. By
1126
+ default, basic table information and storage statistics (STORAGE_STATS) are returned. Possible values:
1127
+ TABLE_METADATA_VIEW_UNSPECIFIED, BASIC, STORAGE_STATS, FULL
1128
+ """
1129
+ return pulumi.get(self, "table_metadata_view")
1130
+
1131
+ @table_metadata_view.setter
1132
+ def table_metadata_view(self, value: Optional[pulumi.Input[str]]):
1133
+ pulumi.set(self, "table_metadata_view", value)
1134
+
1095
1135
  @property
1096
1136
  @pulumi.getter(name="tableReplicationInfo")
1097
1137
  def table_replication_info(self) -> Optional[pulumi.Input['TableTableReplicationInfoArgs']]:
@@ -1172,6 +1212,7 @@ class Table(pulumi.CustomResource):
1172
1212
  schema_foreign_type_info: Optional[pulumi.Input[Union['TableSchemaForeignTypeInfoArgs', 'TableSchemaForeignTypeInfoArgsDict']]] = None,
1173
1213
  table_constraints: Optional[pulumi.Input[Union['TableTableConstraintsArgs', 'TableTableConstraintsArgsDict']]] = None,
1174
1214
  table_id: Optional[pulumi.Input[str]] = None,
1215
+ table_metadata_view: Optional[pulumi.Input[str]] = None,
1175
1216
  table_replication_info: Optional[pulumi.Input[Union['TableTableReplicationInfoArgs', 'TableTableReplicationInfoArgsDict']]] = None,
1176
1217
  time_partitioning: Optional[pulumi.Input[Union['TableTimePartitioningArgs', 'TableTimePartitioningArgsDict']]] = None,
1177
1218
  view: Optional[pulumi.Input[Union['TableViewArgs', 'TableViewArgsDict']]] = None,
@@ -1314,6 +1355,9 @@ class Table(pulumi.CustomResource):
1314
1355
  Structure is documented below.
1315
1356
  :param pulumi.Input[str] table_id: A unique ID for the resource.
1316
1357
  Changing this forces a new resource to be created.
1358
+ :param pulumi.Input[str] table_metadata_view: View sets the optional parameter "view": Specifies the view that determines which table information is returned. By
1359
+ default, basic table information and storage statistics (STORAGE_STATS) are returned. Possible values:
1360
+ TABLE_METADATA_VIEW_UNSPECIFIED, BASIC, STORAGE_STATS, FULL
1317
1361
  :param pulumi.Input[Union['TableTableReplicationInfoArgs', 'TableTableReplicationInfoArgsDict']] table_replication_info: Replication info of a table created
1318
1362
  using "AS REPLICA" DDL like:
1319
1363
  `CREATE MATERIALIZED VIEW mv1 AS REPLICA OF src_mv`.
@@ -1450,6 +1494,7 @@ class Table(pulumi.CustomResource):
1450
1494
  schema_foreign_type_info: Optional[pulumi.Input[Union['TableSchemaForeignTypeInfoArgs', 'TableSchemaForeignTypeInfoArgsDict']]] = None,
1451
1495
  table_constraints: Optional[pulumi.Input[Union['TableTableConstraintsArgs', 'TableTableConstraintsArgsDict']]] = None,
1452
1496
  table_id: Optional[pulumi.Input[str]] = None,
1497
+ table_metadata_view: Optional[pulumi.Input[str]] = None,
1453
1498
  table_replication_info: Optional[pulumi.Input[Union['TableTableReplicationInfoArgs', 'TableTableReplicationInfoArgsDict']]] = None,
1454
1499
  time_partitioning: Optional[pulumi.Input[Union['TableTimePartitioningArgs', 'TableTimePartitioningArgsDict']]] = None,
1455
1500
  view: Optional[pulumi.Input[Union['TableViewArgs', 'TableViewArgsDict']]] = None,
@@ -1487,6 +1532,7 @@ class Table(pulumi.CustomResource):
1487
1532
  if table_id is None and not opts.urn:
1488
1533
  raise TypeError("Missing required property 'table_id'")
1489
1534
  __props__.__dict__["table_id"] = table_id
1535
+ __props__.__dict__["table_metadata_view"] = table_metadata_view
1490
1536
  __props__.__dict__["table_replication_info"] = table_replication_info
1491
1537
  __props__.__dict__["time_partitioning"] = time_partitioning
1492
1538
  __props__.__dict__["view"] = view
@@ -1544,6 +1590,7 @@ class Table(pulumi.CustomResource):
1544
1590
  self_link: Optional[pulumi.Input[str]] = None,
1545
1591
  table_constraints: Optional[pulumi.Input[Union['TableTableConstraintsArgs', 'TableTableConstraintsArgsDict']]] = None,
1546
1592
  table_id: Optional[pulumi.Input[str]] = None,
1593
+ table_metadata_view: Optional[pulumi.Input[str]] = None,
1547
1594
  table_replication_info: Optional[pulumi.Input[Union['TableTableReplicationInfoArgs', 'TableTableReplicationInfoArgsDict']]] = None,
1548
1595
  time_partitioning: Optional[pulumi.Input[Union['TableTimePartitioningArgs', 'TableTimePartitioningArgsDict']]] = None,
1549
1596
  type: Optional[pulumi.Input[str]] = None,
@@ -1631,6 +1678,9 @@ class Table(pulumi.CustomResource):
1631
1678
  Structure is documented below.
1632
1679
  :param pulumi.Input[str] table_id: A unique ID for the resource.
1633
1680
  Changing this forces a new resource to be created.
1681
+ :param pulumi.Input[str] table_metadata_view: View sets the optional parameter "view": Specifies the view that determines which table information is returned. By
1682
+ default, basic table information and storage statistics (STORAGE_STATS) are returned. Possible values:
1683
+ TABLE_METADATA_VIEW_UNSPECIFIED, BASIC, STORAGE_STATS, FULL
1634
1684
  :param pulumi.Input[Union['TableTableReplicationInfoArgs', 'TableTableReplicationInfoArgsDict']] table_replication_info: Replication info of a table created
1635
1685
  using "AS REPLICA" DDL like:
1636
1686
  `CREATE MATERIALIZED VIEW mv1 AS REPLICA OF src_mv`.
@@ -1676,6 +1726,7 @@ class Table(pulumi.CustomResource):
1676
1726
  __props__.__dict__["self_link"] = self_link
1677
1727
  __props__.__dict__["table_constraints"] = table_constraints
1678
1728
  __props__.__dict__["table_id"] = table_id
1729
+ __props__.__dict__["table_metadata_view"] = table_metadata_view
1679
1730
  __props__.__dict__["table_replication_info"] = table_replication_info
1680
1731
  __props__.__dict__["time_partitioning"] = time_partitioning
1681
1732
  __props__.__dict__["type"] = type
@@ -1975,6 +2026,16 @@ class Table(pulumi.CustomResource):
1975
2026
  """
1976
2027
  return pulumi.get(self, "table_id")
1977
2028
 
2029
+ @property
2030
+ @pulumi.getter(name="tableMetadataView")
2031
+ def table_metadata_view(self) -> pulumi.Output[Optional[str]]:
2032
+ """
2033
+ View sets the optional parameter "view": Specifies the view that determines which table information is returned. By
2034
+ default, basic table information and storage statistics (STORAGE_STATS) are returned. Possible values:
2035
+ TABLE_METADATA_VIEW_UNSPECIFIED, BASIC, STORAGE_STATS, FULL
2036
+ """
2037
+ return pulumi.get(self, "table_metadata_view")
2038
+
1978
2039
  @property
1979
2040
  @pulumi.getter(name="tableReplicationInfo")
1980
2041
  def table_replication_info(self) -> pulumi.Output[Optional['outputs.TableTableReplicationInfo']]: