pulumi-gcp 8.24.0a1743057423__py3-none-any.whl → 8.25.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.
- pulumi_gcp/__init__.py +131 -0
- pulumi_gcp/_inputs.py +48 -0
- pulumi_gcp/accesscontextmanager/_inputs.py +324 -12
- pulumi_gcp/accesscontextmanager/outputs.py +204 -12
- pulumi_gcp/accesscontextmanager/service_perimeter.py +0 -2
- pulumi_gcp/apigee/__init__.py +1 -0
- pulumi_gcp/apigee/_inputs.py +58 -0
- pulumi_gcp/apigee/dns_zone.py +491 -0
- pulumi_gcp/apigee/outputs.py +53 -0
- pulumi_gcp/bigquery/_inputs.py +158 -0
- pulumi_gcp/bigquery/outputs.py +115 -0
- pulumi_gcp/bigquery/reservation.py +189 -1
- pulumi_gcp/bigquery/reservation_assignment.py +7 -7
- pulumi_gcp/bigqueryanalyticshub/listing_subscription.py +11 -7
- pulumi_gcp/bigtable/table.py +8 -8
- pulumi_gcp/chronicle/data_access_label.py +16 -0
- pulumi_gcp/chronicle/data_access_scope.py +16 -0
- pulumi_gcp/chronicle/reference_list.py +16 -0
- pulumi_gcp/chronicle/retrohunt.py +16 -0
- pulumi_gcp/chronicle/rule.py +16 -0
- pulumi_gcp/chronicle/rule_deployment.py +16 -0
- pulumi_gcp/chronicle/watchlist.py +16 -0
- pulumi_gcp/cloudfunctionsv2/_inputs.py +20 -0
- pulumi_gcp/cloudfunctionsv2/outputs.py +25 -0
- pulumi_gcp/cloudrunv2/_inputs.py +20 -0
- pulumi_gcp/cloudrunv2/outputs.py +25 -0
- pulumi_gcp/cloudrunv2/service.py +14 -14
- pulumi_gcp/compute/__init__.py +2 -0
- pulumi_gcp/compute/_inputs.py +2627 -61
- pulumi_gcp/compute/backend_service.py +121 -3
- pulumi_gcp/compute/get_backend_service.py +15 -4
- pulumi_gcp/compute/get_images.py +172 -0
- pulumi_gcp/compute/get_instance.py +12 -1
- pulumi_gcp/compute/get_region_backend_service.py +482 -0
- pulumi_gcp/compute/get_resource_policy.py +15 -4
- pulumi_gcp/compute/get_router.py +12 -1
- pulumi_gcp/compute/get_subnetwork.py +43 -1
- pulumi_gcp/compute/image.py +54 -0
- pulumi_gcp/compute/instance.py +47 -0
- pulumi_gcp/compute/instance_from_machine_image.py +94 -0
- pulumi_gcp/compute/instance_from_template.py +47 -0
- pulumi_gcp/compute/interconnect.py +14 -7
- pulumi_gcp/compute/outputs.py +4522 -391
- pulumi_gcp/compute/public_delegated_prefix.py +69 -15
- pulumi_gcp/compute/resource_policy.py +169 -3
- pulumi_gcp/compute/router.py +54 -0
- pulumi_gcp/compute/router_route_policy.py +16 -0
- pulumi_gcp/compute/subnetwork.py +35 -5
- pulumi_gcp/config/__init__.pyi +8 -0
- pulumi_gcp/config/outputs.py +27 -0
- pulumi_gcp/config/vars.py +16 -0
- pulumi_gcp/container/_inputs.py +274 -13
- pulumi_gcp/container/cluster.py +101 -0
- pulumi_gcp/container/get_cluster.py +23 -1
- pulumi_gcp/container/get_registry_image.py +4 -0
- pulumi_gcp/container/get_registry_repository.py +4 -0
- pulumi_gcp/container/outputs.py +305 -10
- pulumi_gcp/container/registry.py +4 -0
- pulumi_gcp/datafusion/instance.py +68 -0
- pulumi_gcp/dataproc/__init__.py +8 -0
- pulumi_gcp/dataproc/_inputs.py +219 -0
- pulumi_gcp/dataproc/get_metastore_database_iam_policy.py +193 -0
- pulumi_gcp/dataproc/get_metastore_table_iam_policy.py +210 -0
- pulumi_gcp/dataproc/metastore_database_iam_binding.py +848 -0
- pulumi_gcp/dataproc/metastore_database_iam_member.py +848 -0
- pulumi_gcp/dataproc/metastore_database_iam_policy.py +687 -0
- pulumi_gcp/dataproc/metastore_federation.py +38 -2
- pulumi_gcp/dataproc/metastore_table_iam_binding.py +895 -0
- pulumi_gcp/dataproc/metastore_table_iam_member.py +895 -0
- pulumi_gcp/dataproc/metastore_table_iam_policy.py +734 -0
- pulumi_gcp/dataproc/outputs.py +139 -0
- pulumi_gcp/datastream/_inputs.py +311 -94
- pulumi_gcp/datastream/connection_profile.py +40 -0
- pulumi_gcp/datastream/outputs.py +244 -51
- pulumi_gcp/datastream/stream.py +216 -0
- pulumi_gcp/discoveryengine/__init__.py +1 -0
- pulumi_gcp/discoveryengine/sitemap.py +504 -0
- pulumi_gcp/eventarc/__init__.py +1 -0
- pulumi_gcp/eventarc/enrollment.py +980 -0
- pulumi_gcp/firebase/__init__.py +1 -0
- pulumi_gcp/firebase/_inputs.py +484 -0
- pulumi_gcp/firebase/app_hosting_build.py +1232 -0
- pulumi_gcp/firebase/outputs.py +333 -0
- pulumi_gcp/identityplatform/_inputs.py +91 -0
- pulumi_gcp/identityplatform/outputs.py +73 -0
- pulumi_gcp/identityplatform/tenant.py +56 -0
- pulumi_gcp/lustre/__init__.py +8 -0
- pulumi_gcp/lustre/instance.py +983 -0
- pulumi_gcp/managedkafka/cluster.py +2 -2
- pulumi_gcp/memorystore/__init__.py +1 -0
- pulumi_gcp/memorystore/_inputs.py +1252 -7
- pulumi_gcp/memorystore/get_instance.py +45 -1
- pulumi_gcp/memorystore/instance.py +481 -30
- pulumi_gcp/memorystore/instance_desired_user_created_endpoints.py +843 -0
- pulumi_gcp/memorystore/outputs.py +1440 -15
- pulumi_gcp/networkmanagement/_inputs.py +422 -91
- pulumi_gcp/networkmanagement/connectivity_test.py +233 -211
- pulumi_gcp/networkmanagement/outputs.py +280 -61
- pulumi_gcp/networksecurity/_inputs.py +891 -26
- pulumi_gcp/networksecurity/intercept_deployment_group.py +44 -16
- pulumi_gcp/networksecurity/intercept_endpoint_group.py +90 -36
- pulumi_gcp/networksecurity/intercept_endpoint_group_association.py +53 -8
- pulumi_gcp/networksecurity/mirroring_deployment_group.py +44 -16
- pulumi_gcp/networksecurity/mirroring_endpoint_group.py +94 -36
- pulumi_gcp/networksecurity/mirroring_endpoint_group_association.py +53 -8
- pulumi_gcp/networksecurity/outputs.py +531 -1
- pulumi_gcp/networksecurity/security_profile.py +8 -0
- pulumi_gcp/organizations/__init__.py +2 -0
- pulumi_gcp/organizations/get_iam_custom_role.py +198 -0
- pulumi_gcp/organizations/get_iam_custom_roles.py +164 -0
- pulumi_gcp/organizations/outputs.py +96 -0
- pulumi_gcp/osconfig/__init__.py +1 -0
- pulumi_gcp/osconfig/_inputs.py +5413 -0
- pulumi_gcp/osconfig/outputs.py +3962 -0
- pulumi_gcp/osconfig/v2_policy_orchestrator.py +971 -0
- pulumi_gcp/parametermanager/get_parameter.py +16 -1
- pulumi_gcp/parametermanager/get_parameter_version.py +19 -1
- pulumi_gcp/parametermanager/get_parameter_version_render.py +4 -0
- pulumi_gcp/parametermanager/get_parameters.py +4 -0
- pulumi_gcp/parametermanager/get_regional_parameter.py +4 -0
- pulumi_gcp/parametermanager/get_regional_parameter_version.py +4 -0
- pulumi_gcp/parametermanager/get_regional_parameter_version_render.py +8 -0
- pulumi_gcp/parametermanager/get_regional_parameters.py +4 -0
- pulumi_gcp/parametermanager/outputs.py +11 -0
- pulumi_gcp/parametermanager/parameter.py +88 -0
- pulumi_gcp/parametermanager/parameter_version.py +74 -0
- pulumi_gcp/parametermanager/regional_parameter.py +12 -0
- pulumi_gcp/parametermanager/regional_parameter_version.py +12 -0
- pulumi_gcp/provider.py +75 -0
- pulumi_gcp/pulumi-plugin.json +1 -1
- pulumi_gcp/redis/_inputs.py +136 -0
- pulumi_gcp/redis/cluster.py +54 -0
- pulumi_gcp/redis/outputs.py +114 -0
- pulumi_gcp/secretmanager/regional_secret_version.py +0 -16
- pulumi_gcp/storage/__init__.py +6 -0
- pulumi_gcp/storage/_inputs.py +1322 -0
- pulumi_gcp/storage/bucket.py +7 -7
- pulumi_gcp/storage/control_folder_intelligence_config.py +420 -0
- pulumi_gcp/storage/control_organization_intelligence_config.py +420 -0
- pulumi_gcp/storage/control_project_intelligence_config.py +408 -0
- pulumi_gcp/storage/get_bucket_object_content.py +16 -1
- pulumi_gcp/storage/get_control_folder_intelligence_config.py +160 -0
- pulumi_gcp/storage/get_control_organization_intelligence_config.py +160 -0
- pulumi_gcp/storage/get_control_project_intelligence_config.py +160 -0
- pulumi_gcp/storage/outputs.py +1553 -17
- pulumi_gcp/workbench/instance.py +14 -2
- {pulumi_gcp-8.24.0a1743057423.dist-info → pulumi_gcp-8.25.0.dist-info}/METADATA +1 -1
- {pulumi_gcp-8.24.0a1743057423.dist-info → pulumi_gcp-8.25.0.dist-info}/RECORD +150 -124
- {pulumi_gcp-8.24.0a1743057423.dist-info → pulumi_gcp-8.25.0.dist-info}/WHEEL +0 -0
- {pulumi_gcp-8.24.0a1743057423.dist-info → pulumi_gcp-8.25.0.dist-info}/top_level.txt +0 -0
pulumi_gcp/bigquery/_inputs.py
CHANGED
@@ -129,6 +129,10 @@ __all__ = [
|
|
129
129
|
'JobStatusErrorResultArgsDict',
|
130
130
|
'ReservationAutoscaleArgs',
|
131
131
|
'ReservationAutoscaleArgsDict',
|
132
|
+
'ReservationReplicationStatusArgs',
|
133
|
+
'ReservationReplicationStatusArgsDict',
|
134
|
+
'ReservationReplicationStatusErrorArgs',
|
135
|
+
'ReservationReplicationStatusErrorArgsDict',
|
132
136
|
'RoutineArgumentArgs',
|
133
137
|
'RoutineArgumentArgsDict',
|
134
138
|
'RoutineRemoteFunctionOptionsArgs',
|
@@ -5177,6 +5181,160 @@ class ReservationAutoscaleArgs:
|
|
5177
5181
|
pulumi.set(self, "max_slots", value)
|
5178
5182
|
|
5179
5183
|
|
5184
|
+
if not MYPY:
|
5185
|
+
class ReservationReplicationStatusArgsDict(TypedDict):
|
5186
|
+
errors: NotRequired[pulumi.Input[Sequence[pulumi.Input['ReservationReplicationStatusErrorArgsDict']]]]
|
5187
|
+
"""
|
5188
|
+
(Output)
|
5189
|
+
The last error encountered while trying to replicate changes from the primary to the
|
5190
|
+
secondary. This field is only available if the replication has not succeeded since.
|
5191
|
+
Structure is documented below.
|
5192
|
+
"""
|
5193
|
+
last_error_time: NotRequired[pulumi.Input[str]]
|
5194
|
+
"""
|
5195
|
+
(Output)
|
5196
|
+
The time at which the last error was encountered while trying to replicate changes from
|
5197
|
+
the primary to the secondary. This field is only available if the replication has not
|
5198
|
+
succeeded since.
|
5199
|
+
"""
|
5200
|
+
last_replication_time: NotRequired[pulumi.Input[str]]
|
5201
|
+
"""
|
5202
|
+
(Output)
|
5203
|
+
A timestamp corresponding to the last change on the primary that was successfully
|
5204
|
+
replicated to the secondary.
|
5205
|
+
"""
|
5206
|
+
elif False:
|
5207
|
+
ReservationReplicationStatusArgsDict: TypeAlias = Mapping[str, Any]
|
5208
|
+
|
5209
|
+
@pulumi.input_type
|
5210
|
+
class ReservationReplicationStatusArgs:
|
5211
|
+
def __init__(__self__, *,
|
5212
|
+
errors: Optional[pulumi.Input[Sequence[pulumi.Input['ReservationReplicationStatusErrorArgs']]]] = None,
|
5213
|
+
last_error_time: Optional[pulumi.Input[str]] = None,
|
5214
|
+
last_replication_time: Optional[pulumi.Input[str]] = None):
|
5215
|
+
"""
|
5216
|
+
:param pulumi.Input[Sequence[pulumi.Input['ReservationReplicationStatusErrorArgs']]] errors: (Output)
|
5217
|
+
The last error encountered while trying to replicate changes from the primary to the
|
5218
|
+
secondary. This field is only available if the replication has not succeeded since.
|
5219
|
+
Structure is documented below.
|
5220
|
+
:param pulumi.Input[str] last_error_time: (Output)
|
5221
|
+
The time at which the last error was encountered while trying to replicate changes from
|
5222
|
+
the primary to the secondary. This field is only available if the replication has not
|
5223
|
+
succeeded since.
|
5224
|
+
:param pulumi.Input[str] last_replication_time: (Output)
|
5225
|
+
A timestamp corresponding to the last change on the primary that was successfully
|
5226
|
+
replicated to the secondary.
|
5227
|
+
"""
|
5228
|
+
if errors is not None:
|
5229
|
+
pulumi.set(__self__, "errors", errors)
|
5230
|
+
if last_error_time is not None:
|
5231
|
+
pulumi.set(__self__, "last_error_time", last_error_time)
|
5232
|
+
if last_replication_time is not None:
|
5233
|
+
pulumi.set(__self__, "last_replication_time", last_replication_time)
|
5234
|
+
|
5235
|
+
@property
|
5236
|
+
@pulumi.getter
|
5237
|
+
def errors(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ReservationReplicationStatusErrorArgs']]]]:
|
5238
|
+
"""
|
5239
|
+
(Output)
|
5240
|
+
The last error encountered while trying to replicate changes from the primary to the
|
5241
|
+
secondary. This field is only available if the replication has not succeeded since.
|
5242
|
+
Structure is documented below.
|
5243
|
+
"""
|
5244
|
+
return pulumi.get(self, "errors")
|
5245
|
+
|
5246
|
+
@errors.setter
|
5247
|
+
def errors(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ReservationReplicationStatusErrorArgs']]]]):
|
5248
|
+
pulumi.set(self, "errors", value)
|
5249
|
+
|
5250
|
+
@property
|
5251
|
+
@pulumi.getter(name="lastErrorTime")
|
5252
|
+
def last_error_time(self) -> Optional[pulumi.Input[str]]:
|
5253
|
+
"""
|
5254
|
+
(Output)
|
5255
|
+
The time at which the last error was encountered while trying to replicate changes from
|
5256
|
+
the primary to the secondary. This field is only available if the replication has not
|
5257
|
+
succeeded since.
|
5258
|
+
"""
|
5259
|
+
return pulumi.get(self, "last_error_time")
|
5260
|
+
|
5261
|
+
@last_error_time.setter
|
5262
|
+
def last_error_time(self, value: Optional[pulumi.Input[str]]):
|
5263
|
+
pulumi.set(self, "last_error_time", value)
|
5264
|
+
|
5265
|
+
@property
|
5266
|
+
@pulumi.getter(name="lastReplicationTime")
|
5267
|
+
def last_replication_time(self) -> Optional[pulumi.Input[str]]:
|
5268
|
+
"""
|
5269
|
+
(Output)
|
5270
|
+
A timestamp corresponding to the last change on the primary that was successfully
|
5271
|
+
replicated to the secondary.
|
5272
|
+
"""
|
5273
|
+
return pulumi.get(self, "last_replication_time")
|
5274
|
+
|
5275
|
+
@last_replication_time.setter
|
5276
|
+
def last_replication_time(self, value: Optional[pulumi.Input[str]]):
|
5277
|
+
pulumi.set(self, "last_replication_time", value)
|
5278
|
+
|
5279
|
+
|
5280
|
+
if not MYPY:
|
5281
|
+
class ReservationReplicationStatusErrorArgsDict(TypedDict):
|
5282
|
+
code: NotRequired[pulumi.Input[int]]
|
5283
|
+
"""
|
5284
|
+
(Output)
|
5285
|
+
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).
|
5286
|
+
"""
|
5287
|
+
message: NotRequired[pulumi.Input[str]]
|
5288
|
+
"""
|
5289
|
+
(Output)
|
5290
|
+
A developer-facing error message, which should be in English.
|
5291
|
+
"""
|
5292
|
+
elif False:
|
5293
|
+
ReservationReplicationStatusErrorArgsDict: TypeAlias = Mapping[str, Any]
|
5294
|
+
|
5295
|
+
@pulumi.input_type
|
5296
|
+
class ReservationReplicationStatusErrorArgs:
|
5297
|
+
def __init__(__self__, *,
|
5298
|
+
code: Optional[pulumi.Input[int]] = None,
|
5299
|
+
message: Optional[pulumi.Input[str]] = None):
|
5300
|
+
"""
|
5301
|
+
:param pulumi.Input[int] code: (Output)
|
5302
|
+
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).
|
5303
|
+
:param pulumi.Input[str] message: (Output)
|
5304
|
+
A developer-facing error message, which should be in English.
|
5305
|
+
"""
|
5306
|
+
if code is not None:
|
5307
|
+
pulumi.set(__self__, "code", code)
|
5308
|
+
if message is not None:
|
5309
|
+
pulumi.set(__self__, "message", message)
|
5310
|
+
|
5311
|
+
@property
|
5312
|
+
@pulumi.getter
|
5313
|
+
def code(self) -> Optional[pulumi.Input[int]]:
|
5314
|
+
"""
|
5315
|
+
(Output)
|
5316
|
+
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).
|
5317
|
+
"""
|
5318
|
+
return pulumi.get(self, "code")
|
5319
|
+
|
5320
|
+
@code.setter
|
5321
|
+
def code(self, value: Optional[pulumi.Input[int]]):
|
5322
|
+
pulumi.set(self, "code", value)
|
5323
|
+
|
5324
|
+
@property
|
5325
|
+
@pulumi.getter
|
5326
|
+
def message(self) -> Optional[pulumi.Input[str]]:
|
5327
|
+
"""
|
5328
|
+
(Output)
|
5329
|
+
A developer-facing error message, which should be in English.
|
5330
|
+
"""
|
5331
|
+
return pulumi.get(self, "message")
|
5332
|
+
|
5333
|
+
@message.setter
|
5334
|
+
def message(self, value: Optional[pulumi.Input[str]]):
|
5335
|
+
pulumi.set(self, "message", value)
|
5336
|
+
|
5337
|
+
|
5180
5338
|
if not MYPY:
|
5181
5339
|
class RoutineArgumentArgsDict(TypedDict):
|
5182
5340
|
argument_kind: NotRequired[pulumi.Input[str]]
|
pulumi_gcp/bigquery/outputs.py
CHANGED
@@ -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',
|
@@ -4066,6 +4068,119 @@ class ReservationAutoscale(dict):
|
|
4066
4068
|
return pulumi.get(self, "max_slots")
|
4067
4069
|
|
4068
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
|
+
|
4069
4184
|
@pulumi.output_type
|
4070
4185
|
class RoutineArgument(dict):
|
4071
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]:
|