pulumi-gcp 8.8.2a1731515595__py3-none-any.whl → 8.9.0a1731021465__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- pulumi_gcp/__init__.py +0 -64
- pulumi_gcp/activedirectory/domain.py +0 -24
- pulumi_gcp/apigee/__init__.py +0 -1
- pulumi_gcp/apigee/_inputs.py +0 -74
- pulumi_gcp/apigee/outputs.py +0 -65
- pulumi_gcp/applicationintegration/auth_config.py +0 -24
- pulumi_gcp/backupdisasterrecovery/__init__.py +0 -4
- pulumi_gcp/backupdisasterrecovery/_inputs.py +0 -533
- pulumi_gcp/backupdisasterrecovery/backup_vault.py +6 -146
- pulumi_gcp/backupdisasterrecovery/outputs.py +0 -702
- pulumi_gcp/bigquery/data_transfer_config.py +0 -24
- pulumi_gcp/cloudrunv2/_inputs.py +0 -46
- pulumi_gcp/cloudrunv2/job.py +2 -0
- pulumi_gcp/cloudrunv2/outputs.py +2 -60
- pulumi_gcp/cloudrunv2/service.py +2 -0
- pulumi_gcp/compute/__init__.py +0 -1
- pulumi_gcp/compute/_inputs.py +255 -2162
- pulumi_gcp/compute/disk.py +7 -7
- pulumi_gcp/compute/firewall_policy_rule.py +54 -108
- pulumi_gcp/compute/get_region_instance_group_manager.py +1 -12
- pulumi_gcp/compute/health_check.py +42 -42
- pulumi_gcp/compute/network_firewall_policy_rule.py +4 -4
- pulumi_gcp/compute/network_firewall_policy_with_rules.py +10 -10
- pulumi_gcp/compute/node_template.py +0 -95
- pulumi_gcp/compute/outputs.py +213 -1639
- pulumi_gcp/compute/region_disk.py +7 -7
- pulumi_gcp/compute/region_health_check.py +42 -42
- pulumi_gcp/compute/region_instance_group_manager.py +14 -54
- pulumi_gcp/compute/region_network_firewall_policy_rule.py +4 -4
- pulumi_gcp/compute/region_network_firewall_policy_with_rules.py +10 -10
- pulumi_gcp/compute/region_security_policy.py +0 -120
- pulumi_gcp/compute/region_security_policy_rule.py +6 -6
- pulumi_gcp/compute/router_peer.py +35 -56
- pulumi_gcp/compute/security_scan_config.py +8 -8
- pulumi_gcp/config/__init__.pyi +0 -4
- pulumi_gcp/config/vars.py +0 -8
- pulumi_gcp/container/_inputs.py +10 -345
- pulumi_gcp/container/cluster.py +0 -101
- pulumi_gcp/container/get_cluster.py +1 -23
- pulumi_gcp/container/outputs.py +8 -456
- pulumi_gcp/dataloss/prevention_discovery_config.py +7 -7
- pulumi_gcp/dataproc/__init__.py +0 -2
- pulumi_gcp/dataproc/_inputs.py +0 -101
- pulumi_gcp/dataproc/outputs.py +0 -94
- pulumi_gcp/edgecontainer/vpn_connection.py +4 -4
- pulumi_gcp/firebase/android_app.py +2 -2
- pulumi_gcp/firebase/apple_app.py +2 -2
- pulumi_gcp/firebase/web_app.py +2 -2
- pulumi_gcp/firestore/index.py +0 -44
- pulumi_gcp/gkeonprem/_inputs.py +15 -15
- pulumi_gcp/gkeonprem/outputs.py +10 -10
- pulumi_gcp/healthcare/dataset.py +7 -7
- pulumi_gcp/healthcare/dicom_store.py +7 -7
- pulumi_gcp/healthcare/fhir_store.py +7 -7
- pulumi_gcp/healthcare/hl7_store.py +14 -14
- pulumi_gcp/iam/__init__.py +0 -1
- pulumi_gcp/iam/_inputs.py +0 -161
- pulumi_gcp/iam/outputs.py +0 -114
- pulumi_gcp/logging/metric.py +2 -2
- pulumi_gcp/looker/_inputs.py +0 -6
- pulumi_gcp/looker/instance.py +321 -169
- pulumi_gcp/looker/outputs.py +0 -4
- pulumi_gcp/memorystore/instance.py +0 -4
- pulumi_gcp/monitoring/alert_policy.py +0 -24
- pulumi_gcp/monitoring/custom_service.py +0 -24
- pulumi_gcp/monitoring/group.py +0 -24
- pulumi_gcp/monitoring/metric_descriptor.py +0 -24
- pulumi_gcp/monitoring/slo.py +0 -24
- pulumi_gcp/monitoring/uptime_check_config.py +0 -24
- pulumi_gcp/networkmanagement/__init__.py +0 -1
- pulumi_gcp/osconfig/patch_deployment.py +8 -8
- pulumi_gcp/provider.py +0 -40
- pulumi_gcp/pulumi-plugin.json +1 -1
- pulumi_gcp/redis/_inputs.py +3 -3
- pulumi_gcp/redis/outputs.py +2 -2
- pulumi_gcp/securitycenter/notification_config.py +16 -4
- pulumi_gcp/securitycenter/project_notification_config.py +24 -0
- pulumi_gcp/securitycenter/v2_organization_notification_config.py +16 -4
- pulumi_gcp/spanner/__init__.py +0 -1
- pulumi_gcp/spanner/_inputs.py +9 -9
- pulumi_gcp/spanner/get_instance.py +1 -12
- pulumi_gcp/spanner/instance.py +0 -70
- pulumi_gcp/spanner/outputs.py +12 -46
- pulumi_gcp/sql/_inputs.py +0 -26
- pulumi_gcp/sql/database_instance.py +11 -124
- pulumi_gcp/sql/get_database_instance.py +1 -12
- pulumi_gcp/sql/outputs.py +0 -51
- pulumi_gcp/storage/_inputs.py +3 -3
- pulumi_gcp/storage/outputs.py +2 -2
- pulumi_gcp/tags/tag_binding.py +4 -4
- pulumi_gcp/tags/tag_value.py +2 -2
- pulumi_gcp/transcoder/job.py +0 -24
- pulumi_gcp/vertex/_inputs.py +0 -184
- pulumi_gcp/vertex/ai_endpoint.py +8 -394
- pulumi_gcp/vertex/ai_feature_online_store_featureview.py +4 -4
- pulumi_gcp/vertex/outputs.py +0 -166
- pulumi_gcp/workbench/instance.py +7 -21
- pulumi_gcp/workflows/workflow.py +0 -36
- pulumi_gcp/workstations/workstation_config.py +8 -8
- {pulumi_gcp-8.8.2a1731515595.dist-info → pulumi_gcp-8.9.0a1731021465.dist-info}/METADATA +1 -1
- {pulumi_gcp-8.8.2a1731515595.dist-info → pulumi_gcp-8.9.0a1731021465.dist-info}/RECORD +103 -114
- {pulumi_gcp-8.8.2a1731515595.dist-info → pulumi_gcp-8.9.0a1731021465.dist-info}/WHEEL +1 -1
- pulumi_gcp/apigee/api.py +0 -456
- pulumi_gcp/backupdisasterrecovery/backup_plan.py +0 -653
- pulumi_gcp/backupdisasterrecovery/backup_plan_association.py +0 -766
- pulumi_gcp/backupdisasterrecovery/get_backup_plan.py +0 -204
- pulumi_gcp/backupdisasterrecovery/get_backup_plan_association.py +0 -243
- pulumi_gcp/compute/region_resize_request.py +0 -772
- pulumi_gcp/dataproc/gdc_application_environment.py +0 -931
- pulumi_gcp/dataproc/gdc_service_instance.py +0 -1022
- pulumi_gcp/iam/principal_access_boundary_policy.py +0 -679
- pulumi_gcp/networkmanagement/vpc_flow_logs_config.py +0 -1358
- pulumi_gcp/spanner/get_database.py +0 -229
- {pulumi_gcp-8.8.2a1731515595.dist-info → pulumi_gcp-8.9.0a1731021465.dist-info}/top_level.txt +0 -0
@@ -32,7 +32,6 @@ class DatabaseInstanceArgs:
|
|
32
32
|
project: Optional[pulumi.Input[str]] = None,
|
33
33
|
region: Optional[pulumi.Input[str]] = None,
|
34
34
|
replica_configuration: Optional[pulumi.Input['DatabaseInstanceReplicaConfigurationArgs']] = None,
|
35
|
-
replica_names: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
36
35
|
restore_backup_context: Optional[pulumi.Input['DatabaseInstanceRestoreBackupContextArgs']] = None,
|
37
36
|
root_password: Optional[pulumi.Input[str]] = None,
|
38
37
|
settings: Optional[pulumi.Input['DatabaseInstanceSettingsArgs']] = None):
|
@@ -76,8 +75,7 @@ class DatabaseInstanceArgs:
|
|
76
75
|
|
77
76
|
- - -
|
78
77
|
:param pulumi.Input['DatabaseInstanceReplicaConfigurationArgs'] replica_configuration: The configuration for replication. The
|
79
|
-
configuration is detailed below.
|
80
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] replica_names: List of replica names. Can be updated.
|
78
|
+
configuration is detailed below. Valid only for MySQL instances.
|
81
79
|
:param pulumi.Input['DatabaseInstanceRestoreBackupContextArgs'] restore_backup_context: The context needed to restore the database to a backup run. This field will
|
82
80
|
cause the provider to trigger the database to restore from the backup run indicated. The configuration is detailed below.
|
83
81
|
**NOTE:** Restoring from a backup is an imperative action and not recommended via this provider. Adding or modifying this
|
@@ -107,8 +105,6 @@ class DatabaseInstanceArgs:
|
|
107
105
|
pulumi.set(__self__, "region", region)
|
108
106
|
if replica_configuration is not None:
|
109
107
|
pulumi.set(__self__, "replica_configuration", replica_configuration)
|
110
|
-
if replica_names is not None:
|
111
|
-
pulumi.set(__self__, "replica_names", replica_names)
|
112
108
|
if restore_backup_context is not None:
|
113
109
|
pulumi.set(__self__, "restore_backup_context", restore_backup_context)
|
114
110
|
if root_password is not None:
|
@@ -268,7 +264,7 @@ class DatabaseInstanceArgs:
|
|
268
264
|
def replica_configuration(self) -> Optional[pulumi.Input['DatabaseInstanceReplicaConfigurationArgs']]:
|
269
265
|
"""
|
270
266
|
The configuration for replication. The
|
271
|
-
configuration is detailed below.
|
267
|
+
configuration is detailed below. Valid only for MySQL instances.
|
272
268
|
"""
|
273
269
|
return pulumi.get(self, "replica_configuration")
|
274
270
|
|
@@ -276,18 +272,6 @@ class DatabaseInstanceArgs:
|
|
276
272
|
def replica_configuration(self, value: Optional[pulumi.Input['DatabaseInstanceReplicaConfigurationArgs']]):
|
277
273
|
pulumi.set(self, "replica_configuration", value)
|
278
274
|
|
279
|
-
@property
|
280
|
-
@pulumi.getter(name="replicaNames")
|
281
|
-
def replica_names(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
282
|
-
"""
|
283
|
-
List of replica names. Can be updated.
|
284
|
-
"""
|
285
|
-
return pulumi.get(self, "replica_names")
|
286
|
-
|
287
|
-
@replica_names.setter
|
288
|
-
def replica_names(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
289
|
-
pulumi.set(self, "replica_names", value)
|
290
|
-
|
291
275
|
@property
|
292
276
|
@pulumi.getter(name="restoreBackupContext")
|
293
277
|
def restore_backup_context(self) -> Optional[pulumi.Input['DatabaseInstanceRestoreBackupContextArgs']]:
|
@@ -351,7 +335,6 @@ class _DatabaseInstanceState:
|
|
351
335
|
public_ip_address: Optional[pulumi.Input[str]] = None,
|
352
336
|
region: Optional[pulumi.Input[str]] = None,
|
353
337
|
replica_configuration: Optional[pulumi.Input['DatabaseInstanceReplicaConfigurationArgs']] = None,
|
354
|
-
replica_names: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
355
338
|
restore_backup_context: Optional[pulumi.Input['DatabaseInstanceRestoreBackupContextArgs']] = None,
|
356
339
|
root_password: Optional[pulumi.Input[str]] = None,
|
357
340
|
self_link: Optional[pulumi.Input[str]] = None,
|
@@ -377,7 +360,7 @@ class _DatabaseInstanceState:
|
|
377
360
|
includes an up-to-date reference of supported versions.
|
378
361
|
:param pulumi.Input[bool] deletion_protection: Whether or not to allow the provider to destroy the instance. Unless this field is set to false
|
379
362
|
in state, a `destroy` or `update` command that deletes the instance will fail. Defaults to `true`.
|
380
|
-
:param pulumi.Input[str] dns_name: The
|
363
|
+
:param pulumi.Input[str] dns_name: The dns name of the instance.
|
381
364
|
:param pulumi.Input[str] encryption_key_name: The full path to the encryption key used for the CMEK disk encryption. Setting
|
382
365
|
up disk encryption currently requires manual steps outside of this provider.
|
383
366
|
The provided key must be in the same region as the SQL instance. In order
|
@@ -406,8 +389,7 @@ class _DatabaseInstanceState:
|
|
406
389
|
|
407
390
|
- - -
|
408
391
|
:param pulumi.Input['DatabaseInstanceReplicaConfigurationArgs'] replica_configuration: The configuration for replication. The
|
409
|
-
configuration is detailed below.
|
410
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] replica_names: List of replica names. Can be updated.
|
392
|
+
configuration is detailed below. Valid only for MySQL instances.
|
411
393
|
:param pulumi.Input['DatabaseInstanceRestoreBackupContextArgs'] restore_backup_context: The context needed to restore the database to a backup run. This field will
|
412
394
|
cause the provider to trigger the database to restore from the backup run indicated. The configuration is detailed below.
|
413
395
|
**NOTE:** Restoring from a backup is an imperative action and not recommended via this provider. Adding or modifying this
|
@@ -457,8 +439,6 @@ class _DatabaseInstanceState:
|
|
457
439
|
pulumi.set(__self__, "region", region)
|
458
440
|
if replica_configuration is not None:
|
459
441
|
pulumi.set(__self__, "replica_configuration", replica_configuration)
|
460
|
-
if replica_names is not None:
|
461
|
-
pulumi.set(__self__, "replica_names", replica_names)
|
462
442
|
if restore_backup_context is not None:
|
463
443
|
pulumi.set(__self__, "restore_backup_context", restore_backup_context)
|
464
444
|
if root_password is not None:
|
@@ -548,7 +528,7 @@ class _DatabaseInstanceState:
|
|
548
528
|
@pulumi.getter(name="dnsName")
|
549
529
|
def dns_name(self) -> Optional[pulumi.Input[str]]:
|
550
530
|
"""
|
551
|
-
The
|
531
|
+
The dns name of the instance.
|
552
532
|
"""
|
553
533
|
return pulumi.get(self, "dns_name")
|
554
534
|
|
@@ -718,7 +698,7 @@ class _DatabaseInstanceState:
|
|
718
698
|
def replica_configuration(self) -> Optional[pulumi.Input['DatabaseInstanceReplicaConfigurationArgs']]:
|
719
699
|
"""
|
720
700
|
The configuration for replication. The
|
721
|
-
configuration is detailed below.
|
701
|
+
configuration is detailed below. Valid only for MySQL instances.
|
722
702
|
"""
|
723
703
|
return pulumi.get(self, "replica_configuration")
|
724
704
|
|
@@ -726,18 +706,6 @@ class _DatabaseInstanceState:
|
|
726
706
|
def replica_configuration(self, value: Optional[pulumi.Input['DatabaseInstanceReplicaConfigurationArgs']]):
|
727
707
|
pulumi.set(self, "replica_configuration", value)
|
728
708
|
|
729
|
-
@property
|
730
|
-
@pulumi.getter(name="replicaNames")
|
731
|
-
def replica_names(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
732
|
-
"""
|
733
|
-
List of replica names. Can be updated.
|
734
|
-
"""
|
735
|
-
return pulumi.get(self, "replica_names")
|
736
|
-
|
737
|
-
@replica_names.setter
|
738
|
-
def replica_names(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
739
|
-
pulumi.set(self, "replica_names", value)
|
740
|
-
|
741
709
|
@property
|
742
710
|
@pulumi.getter(name="restoreBackupContext")
|
743
711
|
def restore_backup_context(self) -> Optional[pulumi.Input['DatabaseInstanceRestoreBackupContextArgs']]:
|
@@ -829,7 +797,6 @@ class DatabaseInstance(pulumi.CustomResource):
|
|
829
797
|
project: Optional[pulumi.Input[str]] = None,
|
830
798
|
region: Optional[pulumi.Input[str]] = None,
|
831
799
|
replica_configuration: Optional[pulumi.Input[Union['DatabaseInstanceReplicaConfigurationArgs', 'DatabaseInstanceReplicaConfigurationArgsDict']]] = None,
|
832
|
-
replica_names: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
833
800
|
restore_backup_context: Optional[pulumi.Input[Union['DatabaseInstanceRestoreBackupContextArgs', 'DatabaseInstanceRestoreBackupContextArgsDict']]] = None,
|
834
801
|
root_password: Optional[pulumi.Input[str]] = None,
|
835
802
|
settings: Optional[pulumi.Input[Union['DatabaseInstanceSettingsArgs', 'DatabaseInstanceSettingsArgsDict']]] = None,
|
@@ -943,39 +910,6 @@ class DatabaseInstance(pulumi.CustomResource):
|
|
943
910
|
})
|
944
911
|
```
|
945
912
|
|
946
|
-
## Switchover (SQL Server Only)
|
947
|
-
|
948
|
-
Users can perform a switchover on any direct `cascadable` replica by following the steps below.
|
949
|
-
|
950
|
-
~>**WARNING:** Failure to follow these steps can lead to data loss (You will be warned during plan stage). To prevent data loss during a switchover, please verify your plan with the checklist below.
|
951
|
-
|
952
|
-
For a more in-depth walkthrough with example code, see the Switchover Guide
|
953
|
-
|
954
|
-
### Steps to Invoke Switchover
|
955
|
-
|
956
|
-
Create a `cascadable` replica in a different region from the primary (`cascadable_replica` is set to true in `replica_configuration`)
|
957
|
-
|
958
|
-
#### Invoking switchover in the replica resource:
|
959
|
-
1. Change instance_type from `READ_REPLICA_INSTANCE` to `CLOUD_SQL_INSTANCE`
|
960
|
-
2. Remove `master_instance_name`
|
961
|
-
3. Remove `replica_configuration`
|
962
|
-
4. Add current primary's name to the replica's `replica_names` list
|
963
|
-
|
964
|
-
#### Updating the primary resource:
|
965
|
-
1. Change `instance_type` from `CLOUD_SQL_INSTANCE` to `READ_REPLICA_INSTANCE`
|
966
|
-
2. Set `master_instance_name` to the original replica (which will be primary after switchover)
|
967
|
-
3. Set `replica_configuration` and set `cascadable_replica` to `true`
|
968
|
-
4. Remove original replica from `replica_names`
|
969
|
-
|
970
|
-
> **NOTE**: Do **not** delete the replica_names field, even if it has no replicas remaining. Set replica_names = [ ] to indicate it having no replicas.
|
971
|
-
|
972
|
-
#### Plan and verify that:
|
973
|
-
- `pulumi preview` outputs **"0 to add, 0 to destroy"**
|
974
|
-
- `pulumi preview` does not say **"must be replaced"** for any resource
|
975
|
-
- Every resource **"will be updated in-place"**
|
976
|
-
- Only the 2 instances involved in switchover have planned changes
|
977
|
-
- (Recommended) Use `deletion_protection` on instances as a safety measure
|
978
|
-
|
979
913
|
## Import
|
980
914
|
|
981
915
|
Database instances can be imported using one of any of these accepted formats:
|
@@ -1046,8 +980,7 @@ class DatabaseInstance(pulumi.CustomResource):
|
|
1046
980
|
|
1047
981
|
- - -
|
1048
982
|
:param pulumi.Input[Union['DatabaseInstanceReplicaConfigurationArgs', 'DatabaseInstanceReplicaConfigurationArgsDict']] replica_configuration: The configuration for replication. The
|
1049
|
-
configuration is detailed below.
|
1050
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] replica_names: List of replica names. Can be updated.
|
983
|
+
configuration is detailed below. Valid only for MySQL instances.
|
1051
984
|
:param pulumi.Input[Union['DatabaseInstanceRestoreBackupContextArgs', 'DatabaseInstanceRestoreBackupContextArgsDict']] restore_backup_context: The context needed to restore the database to a backup run. This field will
|
1052
985
|
cause the provider to trigger the database to restore from the backup run indicated. The configuration is detailed below.
|
1053
986
|
**NOTE:** Restoring from a backup is an imperative action and not recommended via this provider. Adding or modifying this
|
@@ -1171,39 +1104,6 @@ class DatabaseInstance(pulumi.CustomResource):
|
|
1171
1104
|
})
|
1172
1105
|
```
|
1173
1106
|
|
1174
|
-
## Switchover (SQL Server Only)
|
1175
|
-
|
1176
|
-
Users can perform a switchover on any direct `cascadable` replica by following the steps below.
|
1177
|
-
|
1178
|
-
~>**WARNING:** Failure to follow these steps can lead to data loss (You will be warned during plan stage). To prevent data loss during a switchover, please verify your plan with the checklist below.
|
1179
|
-
|
1180
|
-
For a more in-depth walkthrough with example code, see the Switchover Guide
|
1181
|
-
|
1182
|
-
### Steps to Invoke Switchover
|
1183
|
-
|
1184
|
-
Create a `cascadable` replica in a different region from the primary (`cascadable_replica` is set to true in `replica_configuration`)
|
1185
|
-
|
1186
|
-
#### Invoking switchover in the replica resource:
|
1187
|
-
1. Change instance_type from `READ_REPLICA_INSTANCE` to `CLOUD_SQL_INSTANCE`
|
1188
|
-
2. Remove `master_instance_name`
|
1189
|
-
3. Remove `replica_configuration`
|
1190
|
-
4. Add current primary's name to the replica's `replica_names` list
|
1191
|
-
|
1192
|
-
#### Updating the primary resource:
|
1193
|
-
1. Change `instance_type` from `CLOUD_SQL_INSTANCE` to `READ_REPLICA_INSTANCE`
|
1194
|
-
2. Set `master_instance_name` to the original replica (which will be primary after switchover)
|
1195
|
-
3. Set `replica_configuration` and set `cascadable_replica` to `true`
|
1196
|
-
4. Remove original replica from `replica_names`
|
1197
|
-
|
1198
|
-
> **NOTE**: Do **not** delete the replica_names field, even if it has no replicas remaining. Set replica_names = [ ] to indicate it having no replicas.
|
1199
|
-
|
1200
|
-
#### Plan and verify that:
|
1201
|
-
- `pulumi preview` outputs **"0 to add, 0 to destroy"**
|
1202
|
-
- `pulumi preview` does not say **"must be replaced"** for any resource
|
1203
|
-
- Every resource **"will be updated in-place"**
|
1204
|
-
- Only the 2 instances involved in switchover have planned changes
|
1205
|
-
- (Recommended) Use `deletion_protection` on instances as a safety measure
|
1206
|
-
|
1207
1107
|
## Import
|
1208
1108
|
|
1209
1109
|
Database instances can be imported using one of any of these accepted formats:
|
@@ -1260,7 +1160,6 @@ class DatabaseInstance(pulumi.CustomResource):
|
|
1260
1160
|
project: Optional[pulumi.Input[str]] = None,
|
1261
1161
|
region: Optional[pulumi.Input[str]] = None,
|
1262
1162
|
replica_configuration: Optional[pulumi.Input[Union['DatabaseInstanceReplicaConfigurationArgs', 'DatabaseInstanceReplicaConfigurationArgsDict']]] = None,
|
1263
|
-
replica_names: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
1264
1163
|
restore_backup_context: Optional[pulumi.Input[Union['DatabaseInstanceRestoreBackupContextArgs', 'DatabaseInstanceRestoreBackupContextArgsDict']]] = None,
|
1265
1164
|
root_password: Optional[pulumi.Input[str]] = None,
|
1266
1165
|
settings: Optional[pulumi.Input[Union['DatabaseInstanceSettingsArgs', 'DatabaseInstanceSettingsArgsDict']]] = None,
|
@@ -1286,7 +1185,6 @@ class DatabaseInstance(pulumi.CustomResource):
|
|
1286
1185
|
__props__.__dict__["project"] = project
|
1287
1186
|
__props__.__dict__["region"] = region
|
1288
1187
|
__props__.__dict__["replica_configuration"] = None if replica_configuration is None else pulumi.Output.secret(replica_configuration)
|
1289
|
-
__props__.__dict__["replica_names"] = replica_names
|
1290
1188
|
__props__.__dict__["restore_backup_context"] = restore_backup_context
|
1291
1189
|
__props__.__dict__["root_password"] = None if root_password is None else pulumi.Output.secret(root_password)
|
1292
1190
|
__props__.__dict__["settings"] = settings
|
@@ -1332,7 +1230,6 @@ class DatabaseInstance(pulumi.CustomResource):
|
|
1332
1230
|
public_ip_address: Optional[pulumi.Input[str]] = None,
|
1333
1231
|
region: Optional[pulumi.Input[str]] = None,
|
1334
1232
|
replica_configuration: Optional[pulumi.Input[Union['DatabaseInstanceReplicaConfigurationArgs', 'DatabaseInstanceReplicaConfigurationArgsDict']]] = None,
|
1335
|
-
replica_names: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
1336
1233
|
restore_backup_context: Optional[pulumi.Input[Union['DatabaseInstanceRestoreBackupContextArgs', 'DatabaseInstanceRestoreBackupContextArgsDict']]] = None,
|
1337
1234
|
root_password: Optional[pulumi.Input[str]] = None,
|
1338
1235
|
self_link: Optional[pulumi.Input[str]] = None,
|
@@ -1363,7 +1260,7 @@ class DatabaseInstance(pulumi.CustomResource):
|
|
1363
1260
|
includes an up-to-date reference of supported versions.
|
1364
1261
|
:param pulumi.Input[bool] deletion_protection: Whether or not to allow the provider to destroy the instance. Unless this field is set to false
|
1365
1262
|
in state, a `destroy` or `update` command that deletes the instance will fail. Defaults to `true`.
|
1366
|
-
:param pulumi.Input[str] dns_name: The
|
1263
|
+
:param pulumi.Input[str] dns_name: The dns name of the instance.
|
1367
1264
|
:param pulumi.Input[str] encryption_key_name: The full path to the encryption key used for the CMEK disk encryption. Setting
|
1368
1265
|
up disk encryption currently requires manual steps outside of this provider.
|
1369
1266
|
The provided key must be in the same region as the SQL instance. In order
|
@@ -1392,8 +1289,7 @@ class DatabaseInstance(pulumi.CustomResource):
|
|
1392
1289
|
|
1393
1290
|
- - -
|
1394
1291
|
:param pulumi.Input[Union['DatabaseInstanceReplicaConfigurationArgs', 'DatabaseInstanceReplicaConfigurationArgsDict']] replica_configuration: The configuration for replication. The
|
1395
|
-
configuration is detailed below.
|
1396
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] replica_names: List of replica names. Can be updated.
|
1292
|
+
configuration is detailed below. Valid only for MySQL instances.
|
1397
1293
|
:param pulumi.Input[Union['DatabaseInstanceRestoreBackupContextArgs', 'DatabaseInstanceRestoreBackupContextArgsDict']] restore_backup_context: The context needed to restore the database to a backup run. This field will
|
1398
1294
|
cause the provider to trigger the database to restore from the backup run indicated. The configuration is detailed below.
|
1399
1295
|
**NOTE:** Restoring from a backup is an imperative action and not recommended via this provider. Adding or modifying this
|
@@ -1428,7 +1324,6 @@ class DatabaseInstance(pulumi.CustomResource):
|
|
1428
1324
|
__props__.__dict__["public_ip_address"] = public_ip_address
|
1429
1325
|
__props__.__dict__["region"] = region
|
1430
1326
|
__props__.__dict__["replica_configuration"] = replica_configuration
|
1431
|
-
__props__.__dict__["replica_names"] = replica_names
|
1432
1327
|
__props__.__dict__["restore_backup_context"] = restore_backup_context
|
1433
1328
|
__props__.__dict__["root_password"] = root_password
|
1434
1329
|
__props__.__dict__["self_link"] = self_link
|
@@ -1493,7 +1388,7 @@ class DatabaseInstance(pulumi.CustomResource):
|
|
1493
1388
|
@pulumi.getter(name="dnsName")
|
1494
1389
|
def dns_name(self) -> pulumi.Output[str]:
|
1495
1390
|
"""
|
1496
|
-
The
|
1391
|
+
The dns name of the instance.
|
1497
1392
|
"""
|
1498
1393
|
return pulumi.get(self, "dns_name")
|
1499
1394
|
|
@@ -1611,18 +1506,10 @@ class DatabaseInstance(pulumi.CustomResource):
|
|
1611
1506
|
def replica_configuration(self) -> pulumi.Output['outputs.DatabaseInstanceReplicaConfiguration']:
|
1612
1507
|
"""
|
1613
1508
|
The configuration for replication. The
|
1614
|
-
configuration is detailed below.
|
1509
|
+
configuration is detailed below. Valid only for MySQL instances.
|
1615
1510
|
"""
|
1616
1511
|
return pulumi.get(self, "replica_configuration")
|
1617
1512
|
|
1618
|
-
@property
|
1619
|
-
@pulumi.getter(name="replicaNames")
|
1620
|
-
def replica_names(self) -> pulumi.Output[Sequence[str]]:
|
1621
|
-
"""
|
1622
|
-
List of replica names. Can be updated.
|
1623
|
-
"""
|
1624
|
-
return pulumi.get(self, "replica_names")
|
1625
|
-
|
1626
1513
|
@property
|
1627
1514
|
@pulumi.getter(name="restoreBackupContext")
|
1628
1515
|
def restore_backup_context(self) -> pulumi.Output[Optional['outputs.DatabaseInstanceRestoreBackupContext']]:
|
@@ -27,7 +27,7 @@ class GetDatabaseInstanceResult:
|
|
27
27
|
"""
|
28
28
|
A collection of values returned by getDatabaseInstance.
|
29
29
|
"""
|
30
|
-
def __init__(__self__, available_maintenance_versions=None, clones=None, connection_name=None, database_version=None, deletion_protection=None, dns_name=None, encryption_key_name=None, first_ip_address=None, id=None, instance_type=None, ip_addresses=None, maintenance_version=None, master_instance_name=None, name=None, private_ip_address=None, project=None, psc_service_attachment_link=None, public_ip_address=None, region=None, replica_configurations=None,
|
30
|
+
def __init__(__self__, available_maintenance_versions=None, clones=None, connection_name=None, database_version=None, deletion_protection=None, dns_name=None, encryption_key_name=None, first_ip_address=None, id=None, instance_type=None, ip_addresses=None, maintenance_version=None, master_instance_name=None, name=None, private_ip_address=None, project=None, psc_service_attachment_link=None, public_ip_address=None, region=None, replica_configurations=None, restore_backup_contexts=None, root_password=None, self_link=None, server_ca_certs=None, service_account_email_address=None, settings=None):
|
31
31
|
if available_maintenance_versions and not isinstance(available_maintenance_versions, list):
|
32
32
|
raise TypeError("Expected argument 'available_maintenance_versions' to be a list")
|
33
33
|
pulumi.set(__self__, "available_maintenance_versions", available_maintenance_versions)
|
@@ -88,9 +88,6 @@ class GetDatabaseInstanceResult:
|
|
88
88
|
if replica_configurations and not isinstance(replica_configurations, list):
|
89
89
|
raise TypeError("Expected argument 'replica_configurations' to be a list")
|
90
90
|
pulumi.set(__self__, "replica_configurations", replica_configurations)
|
91
|
-
if replica_names and not isinstance(replica_names, list):
|
92
|
-
raise TypeError("Expected argument 'replica_names' to be a list")
|
93
|
-
pulumi.set(__self__, "replica_names", replica_names)
|
94
91
|
if restore_backup_contexts and not isinstance(restore_backup_contexts, list):
|
95
92
|
raise TypeError("Expected argument 'restore_backup_contexts' to be a list")
|
96
93
|
pulumi.set(__self__, "restore_backup_contexts", restore_backup_contexts)
|
@@ -213,11 +210,6 @@ class GetDatabaseInstanceResult:
|
|
213
210
|
def replica_configurations(self) -> Sequence['outputs.GetDatabaseInstanceReplicaConfigurationResult']:
|
214
211
|
return pulumi.get(self, "replica_configurations")
|
215
212
|
|
216
|
-
@property
|
217
|
-
@pulumi.getter(name="replicaNames")
|
218
|
-
def replica_names(self) -> Sequence[str]:
|
219
|
-
return pulumi.get(self, "replica_names")
|
220
|
-
|
221
213
|
@property
|
222
214
|
@pulumi.getter(name="restoreBackupContexts")
|
223
215
|
def restore_backup_contexts(self) -> Sequence['outputs.GetDatabaseInstanceRestoreBackupContextResult']:
|
@@ -275,7 +267,6 @@ class AwaitableGetDatabaseInstanceResult(GetDatabaseInstanceResult):
|
|
275
267
|
public_ip_address=self.public_ip_address,
|
276
268
|
region=self.region,
|
277
269
|
replica_configurations=self.replica_configurations,
|
278
|
-
replica_names=self.replica_names,
|
279
270
|
restore_backup_contexts=self.restore_backup_contexts,
|
280
271
|
root_password=self.root_password,
|
281
272
|
self_link=self.self_link,
|
@@ -330,7 +321,6 @@ def get_database_instance(name: Optional[str] = None,
|
|
330
321
|
public_ip_address=pulumi.get(__ret__, 'public_ip_address'),
|
331
322
|
region=pulumi.get(__ret__, 'region'),
|
332
323
|
replica_configurations=pulumi.get(__ret__, 'replica_configurations'),
|
333
|
-
replica_names=pulumi.get(__ret__, 'replica_names'),
|
334
324
|
restore_backup_contexts=pulumi.get(__ret__, 'restore_backup_contexts'),
|
335
325
|
root_password=pulumi.get(__ret__, 'root_password'),
|
336
326
|
self_link=pulumi.get(__ret__, 'self_link'),
|
@@ -382,7 +372,6 @@ def get_database_instance_output(name: Optional[pulumi.Input[str]] = None,
|
|
382
372
|
public_ip_address=pulumi.get(__response__, 'public_ip_address'),
|
383
373
|
region=pulumi.get(__response__, 'region'),
|
384
374
|
replica_configurations=pulumi.get(__response__, 'replica_configurations'),
|
385
|
-
replica_names=pulumi.get(__response__, 'replica_names'),
|
386
375
|
restore_backup_contexts=pulumi.get(__response__, 'restore_backup_contexts'),
|
387
376
|
root_password=pulumi.get(__response__, 'root_password'),
|
388
377
|
self_link=pulumi.get(__response__, 'self_link'),
|
pulumi_gcp/sql/outputs.py
CHANGED
@@ -254,8 +254,6 @@ class DatabaseInstanceReplicaConfiguration(dict):
|
|
254
254
|
suggest = None
|
255
255
|
if key == "caCertificate":
|
256
256
|
suggest = "ca_certificate"
|
257
|
-
elif key == "cascadableReplica":
|
258
|
-
suggest = "cascadable_replica"
|
259
257
|
elif key == "clientCertificate":
|
260
258
|
suggest = "client_certificate"
|
261
259
|
elif key == "clientKey":
|
@@ -286,7 +284,6 @@ class DatabaseInstanceReplicaConfiguration(dict):
|
|
286
284
|
|
287
285
|
def __init__(__self__, *,
|
288
286
|
ca_certificate: Optional[str] = None,
|
289
|
-
cascadable_replica: Optional[bool] = None,
|
290
287
|
client_certificate: Optional[str] = None,
|
291
288
|
client_key: Optional[str] = None,
|
292
289
|
connect_retry_interval: Optional[int] = None,
|
@@ -300,9 +297,6 @@ class DatabaseInstanceReplicaConfiguration(dict):
|
|
300
297
|
"""
|
301
298
|
:param str ca_certificate: PEM representation of the trusted CA's x509
|
302
299
|
certificate.
|
303
|
-
:param bool cascadable_replica: Specifies if the replica is a cascadable replica. If true, instance must be in different region from primary.
|
304
|
-
|
305
|
-
> **NOTE:** Only supported for SQL Server database.
|
306
300
|
:param str client_certificate: PEM representation of the replica's x509
|
307
301
|
certificate.
|
308
302
|
:param str client_key: PEM representation of the replica's private key. The
|
@@ -327,8 +321,6 @@ class DatabaseInstanceReplicaConfiguration(dict):
|
|
327
321
|
"""
|
328
322
|
if ca_certificate is not None:
|
329
323
|
pulumi.set(__self__, "ca_certificate", ca_certificate)
|
330
|
-
if cascadable_replica is not None:
|
331
|
-
pulumi.set(__self__, "cascadable_replica", cascadable_replica)
|
332
324
|
if client_certificate is not None:
|
333
325
|
pulumi.set(__self__, "client_certificate", client_certificate)
|
334
326
|
if client_key is not None:
|
@@ -359,16 +351,6 @@ class DatabaseInstanceReplicaConfiguration(dict):
|
|
359
351
|
"""
|
360
352
|
return pulumi.get(self, "ca_certificate")
|
361
353
|
|
362
|
-
@property
|
363
|
-
@pulumi.getter(name="cascadableReplica")
|
364
|
-
def cascadable_replica(self) -> Optional[bool]:
|
365
|
-
"""
|
366
|
-
Specifies if the replica is a cascadable replica. If true, instance must be in different region from primary.
|
367
|
-
|
368
|
-
> **NOTE:** Only supported for SQL Server database.
|
369
|
-
"""
|
370
|
-
return pulumi.get(self, "cascadable_replica")
|
371
|
-
|
372
354
|
@property
|
373
355
|
@pulumi.getter(name="clientCertificate")
|
374
356
|
def client_certificate(self) -> Optional[str]:
|
@@ -2342,7 +2324,6 @@ class GetDatabaseInstanceIpAddressResult(dict):
|
|
2342
2324
|
class GetDatabaseInstanceReplicaConfigurationResult(dict):
|
2343
2325
|
def __init__(__self__, *,
|
2344
2326
|
ca_certificate: str,
|
2345
|
-
cascadable_replica: bool,
|
2346
2327
|
client_certificate: str,
|
2347
2328
|
client_key: str,
|
2348
2329
|
connect_retry_interval: int,
|
@@ -2355,7 +2336,6 @@ class GetDatabaseInstanceReplicaConfigurationResult(dict):
|
|
2355
2336
|
verify_server_certificate: bool):
|
2356
2337
|
"""
|
2357
2338
|
:param str ca_certificate: PEM representation of the trusted CA's x509 certificate.
|
2358
|
-
:param bool cascadable_replica: Specifies if a SQL Server replica is a cascadable replica. A cascadable replica is a SQL Server cross region replica that supports replica(s) under it.
|
2359
2339
|
:param str client_certificate: PEM representation of the replica's x509 certificate.
|
2360
2340
|
:param str client_key: PEM representation of the replica's private key. The corresponding public key in encoded in the client_certificate.
|
2361
2341
|
:param int connect_retry_interval: The number of seconds between connect retries. MySQL's default is 60 seconds.
|
@@ -2368,7 +2348,6 @@ class GetDatabaseInstanceReplicaConfigurationResult(dict):
|
|
2368
2348
|
:param bool verify_server_certificate: True if the master's common name value is checked during the SSL handshake.
|
2369
2349
|
"""
|
2370
2350
|
pulumi.set(__self__, "ca_certificate", ca_certificate)
|
2371
|
-
pulumi.set(__self__, "cascadable_replica", cascadable_replica)
|
2372
2351
|
pulumi.set(__self__, "client_certificate", client_certificate)
|
2373
2352
|
pulumi.set(__self__, "client_key", client_key)
|
2374
2353
|
pulumi.set(__self__, "connect_retry_interval", connect_retry_interval)
|
@@ -2388,14 +2367,6 @@ class GetDatabaseInstanceReplicaConfigurationResult(dict):
|
|
2388
2367
|
"""
|
2389
2368
|
return pulumi.get(self, "ca_certificate")
|
2390
2369
|
|
2391
|
-
@property
|
2392
|
-
@pulumi.getter(name="cascadableReplica")
|
2393
|
-
def cascadable_replica(self) -> bool:
|
2394
|
-
"""
|
2395
|
-
Specifies if a SQL Server replica is a cascadable replica. A cascadable replica is a SQL Server cross region replica that supports replica(s) under it.
|
2396
|
-
"""
|
2397
|
-
return pulumi.get(self, "cascadable_replica")
|
2398
|
-
|
2399
2370
|
@property
|
2400
2371
|
@pulumi.getter(name="clientCertificate")
|
2401
2372
|
def client_certificate(self) -> str:
|
@@ -3540,7 +3511,6 @@ class GetDatabaseInstancesInstanceResult(dict):
|
|
3540
3511
|
public_ip_address: str,
|
3541
3512
|
region: str,
|
3542
3513
|
replica_configurations: Sequence['outputs.GetDatabaseInstancesInstanceReplicaConfigurationResult'],
|
3543
|
-
replica_names: Sequence[str],
|
3544
3514
|
restore_backup_contexts: Sequence['outputs.GetDatabaseInstancesInstanceRestoreBackupContextResult'],
|
3545
3515
|
root_password: str,
|
3546
3516
|
self_link: str,
|
@@ -3560,7 +3530,6 @@ class GetDatabaseInstancesInstanceResult(dict):
|
|
3560
3530
|
:param str psc_service_attachment_link: The link to service attachment of PSC instance.
|
3561
3531
|
:param str region: To filter out the Cloud SQL instances which are located in the specified region.
|
3562
3532
|
:param Sequence['GetDatabaseInstancesInstanceReplicaConfigurationArgs'] replica_configurations: The configuration for replication.
|
3563
|
-
:param Sequence[str] replica_names: The replicas of the instance.
|
3564
3533
|
:param str root_password: Initial root password. Required for MS SQL Server.
|
3565
3534
|
:param str self_link: The URI of the created resource.
|
3566
3535
|
:param str service_account_email_address: The service account email address assigned to the instance.
|
@@ -3585,7 +3554,6 @@ class GetDatabaseInstancesInstanceResult(dict):
|
|
3585
3554
|
pulumi.set(__self__, "public_ip_address", public_ip_address)
|
3586
3555
|
pulumi.set(__self__, "region", region)
|
3587
3556
|
pulumi.set(__self__, "replica_configurations", replica_configurations)
|
3588
|
-
pulumi.set(__self__, "replica_names", replica_names)
|
3589
3557
|
pulumi.set(__self__, "restore_backup_contexts", restore_backup_contexts)
|
3590
3558
|
pulumi.set(__self__, "root_password", root_password)
|
3591
3559
|
pulumi.set(__self__, "self_link", self_link)
|
@@ -3724,14 +3692,6 @@ class GetDatabaseInstancesInstanceResult(dict):
|
|
3724
3692
|
"""
|
3725
3693
|
return pulumi.get(self, "replica_configurations")
|
3726
3694
|
|
3727
|
-
@property
|
3728
|
-
@pulumi.getter(name="replicaNames")
|
3729
|
-
def replica_names(self) -> Sequence[str]:
|
3730
|
-
"""
|
3731
|
-
The replicas of the instance.
|
3732
|
-
"""
|
3733
|
-
return pulumi.get(self, "replica_names")
|
3734
|
-
|
3735
3695
|
@property
|
3736
3696
|
@pulumi.getter(name="restoreBackupContexts")
|
3737
3697
|
def restore_backup_contexts(self) -> Sequence['outputs.GetDatabaseInstancesInstanceRestoreBackupContextResult']:
|
@@ -3867,7 +3827,6 @@ class GetDatabaseInstancesInstanceIpAddressResult(dict):
|
|
3867
3827
|
class GetDatabaseInstancesInstanceReplicaConfigurationResult(dict):
|
3868
3828
|
def __init__(__self__, *,
|
3869
3829
|
ca_certificate: str,
|
3870
|
-
cascadable_replica: bool,
|
3871
3830
|
client_certificate: str,
|
3872
3831
|
client_key: str,
|
3873
3832
|
connect_retry_interval: int,
|
@@ -3880,7 +3839,6 @@ class GetDatabaseInstancesInstanceReplicaConfigurationResult(dict):
|
|
3880
3839
|
verify_server_certificate: bool):
|
3881
3840
|
"""
|
3882
3841
|
:param str ca_certificate: PEM representation of the trusted CA's x509 certificate.
|
3883
|
-
:param bool cascadable_replica: Specifies if a SQL Server replica is a cascadable replica. A cascadable replica is a SQL Server cross region replica that supports replica(s) under it.
|
3884
3842
|
:param str client_certificate: PEM representation of the replica's x509 certificate.
|
3885
3843
|
:param str client_key: PEM representation of the replica's private key. The corresponding public key in encoded in the client_certificate.
|
3886
3844
|
:param int connect_retry_interval: The number of seconds between connect retries. MySQL's default is 60 seconds.
|
@@ -3893,7 +3851,6 @@ class GetDatabaseInstancesInstanceReplicaConfigurationResult(dict):
|
|
3893
3851
|
:param bool verify_server_certificate: True if the master's common name value is checked during the SSL handshake.
|
3894
3852
|
"""
|
3895
3853
|
pulumi.set(__self__, "ca_certificate", ca_certificate)
|
3896
|
-
pulumi.set(__self__, "cascadable_replica", cascadable_replica)
|
3897
3854
|
pulumi.set(__self__, "client_certificate", client_certificate)
|
3898
3855
|
pulumi.set(__self__, "client_key", client_key)
|
3899
3856
|
pulumi.set(__self__, "connect_retry_interval", connect_retry_interval)
|
@@ -3913,14 +3870,6 @@ class GetDatabaseInstancesInstanceReplicaConfigurationResult(dict):
|
|
3913
3870
|
"""
|
3914
3871
|
return pulumi.get(self, "ca_certificate")
|
3915
3872
|
|
3916
|
-
@property
|
3917
|
-
@pulumi.getter(name="cascadableReplica")
|
3918
|
-
def cascadable_replica(self) -> bool:
|
3919
|
-
"""
|
3920
|
-
Specifies if a SQL Server replica is a cascadable replica. A cascadable replica is a SQL Server cross region replica that supports replica(s) under it.
|
3921
|
-
"""
|
3922
|
-
return pulumi.get(self, "cascadable_replica")
|
3923
|
-
|
3924
3873
|
@property
|
3925
3874
|
@pulumi.getter(name="clientCertificate")
|
3926
3875
|
def client_certificate(self) -> str:
|
pulumi_gcp/storage/_inputs.py
CHANGED
@@ -1683,7 +1683,7 @@ if not MYPY:
|
|
1683
1683
|
"""
|
1684
1684
|
storage_filters: NotRequired[pulumi.Input['InsightsReportConfigObjectMetadataReportOptionsStorageFiltersArgsDict']]
|
1685
1685
|
"""
|
1686
|
-
A nested object resource
|
1686
|
+
A nested object resource
|
1687
1687
|
Structure is documented below.
|
1688
1688
|
"""
|
1689
1689
|
elif False:
|
@@ -1699,7 +1699,7 @@ class InsightsReportConfigObjectMetadataReportOptionsArgs:
|
|
1699
1699
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] metadata_fields: The metadata fields included in an inventory report.
|
1700
1700
|
:param pulumi.Input['InsightsReportConfigObjectMetadataReportOptionsStorageDestinationOptionsArgs'] storage_destination_options: Options for where the inventory reports are stored.
|
1701
1701
|
Structure is documented below.
|
1702
|
-
:param pulumi.Input['InsightsReportConfigObjectMetadataReportOptionsStorageFiltersArgs'] storage_filters: A nested object resource
|
1702
|
+
:param pulumi.Input['InsightsReportConfigObjectMetadataReportOptionsStorageFiltersArgs'] storage_filters: A nested object resource
|
1703
1703
|
Structure is documented below.
|
1704
1704
|
"""
|
1705
1705
|
pulumi.set(__self__, "metadata_fields", metadata_fields)
|
@@ -1736,7 +1736,7 @@ class InsightsReportConfigObjectMetadataReportOptionsArgs:
|
|
1736
1736
|
@pulumi.getter(name="storageFilters")
|
1737
1737
|
def storage_filters(self) -> Optional[pulumi.Input['InsightsReportConfigObjectMetadataReportOptionsStorageFiltersArgs']]:
|
1738
1738
|
"""
|
1739
|
-
A nested object resource
|
1739
|
+
A nested object resource
|
1740
1740
|
Structure is documented below.
|
1741
1741
|
"""
|
1742
1742
|
return pulumi.get(self, "storage_filters")
|
pulumi_gcp/storage/outputs.py
CHANGED
@@ -1338,7 +1338,7 @@ class InsightsReportConfigObjectMetadataReportOptions(dict):
|
|
1338
1338
|
:param Sequence[str] metadata_fields: The metadata fields included in an inventory report.
|
1339
1339
|
:param 'InsightsReportConfigObjectMetadataReportOptionsStorageDestinationOptionsArgs' storage_destination_options: Options for where the inventory reports are stored.
|
1340
1340
|
Structure is documented below.
|
1341
|
-
:param 'InsightsReportConfigObjectMetadataReportOptionsStorageFiltersArgs' storage_filters: A nested object resource
|
1341
|
+
:param 'InsightsReportConfigObjectMetadataReportOptionsStorageFiltersArgs' storage_filters: A nested object resource
|
1342
1342
|
Structure is documented below.
|
1343
1343
|
"""
|
1344
1344
|
pulumi.set(__self__, "metadata_fields", metadata_fields)
|
@@ -1367,7 +1367,7 @@ class InsightsReportConfigObjectMetadataReportOptions(dict):
|
|
1367
1367
|
@pulumi.getter(name="storageFilters")
|
1368
1368
|
def storage_filters(self) -> Optional['outputs.InsightsReportConfigObjectMetadataReportOptionsStorageFilters']:
|
1369
1369
|
"""
|
1370
|
-
A nested object resource
|
1370
|
+
A nested object resource
|
1371
1371
|
Structure is documented below.
|
1372
1372
|
"""
|
1373
1373
|
return pulumi.get(self, "storage_filters")
|
pulumi_gcp/tags/tag_binding.py
CHANGED
@@ -157,12 +157,12 @@ class TagBinding(pulumi.CustomResource):
|
|
157
157
|
short_name="keyname",
|
158
158
|
description="For keyname resources.")
|
159
159
|
value = gcp.tags.TagValue("value",
|
160
|
-
parent=key.
|
160
|
+
parent=key.name.apply(lambda name: f"tagKeys/{name}"),
|
161
161
|
short_name="valuename",
|
162
162
|
description="For valuename resources.")
|
163
163
|
binding = gcp.tags.TagBinding("binding",
|
164
164
|
parent=project.number.apply(lambda number: f"//cloudresourcemanager.googleapis.com/projects/{number}"),
|
165
|
-
tag_value=value.
|
165
|
+
tag_value=value.name.apply(lambda name: f"tagValues/{name}"))
|
166
166
|
```
|
167
167
|
|
168
168
|
## Import
|
@@ -224,12 +224,12 @@ class TagBinding(pulumi.CustomResource):
|
|
224
224
|
short_name="keyname",
|
225
225
|
description="For keyname resources.")
|
226
226
|
value = gcp.tags.TagValue("value",
|
227
|
-
parent=key.
|
227
|
+
parent=key.name.apply(lambda name: f"tagKeys/{name}"),
|
228
228
|
short_name="valuename",
|
229
229
|
description="For valuename resources.")
|
230
230
|
binding = gcp.tags.TagBinding("binding",
|
231
231
|
parent=project.number.apply(lambda number: f"//cloudresourcemanager.googleapis.com/projects/{number}"),
|
232
|
-
tag_value=value.
|
232
|
+
tag_value=value.name.apply(lambda name: f"tagValues/{name}"))
|
233
233
|
```
|
234
234
|
|
235
235
|
## Import
|
pulumi_gcp/tags/tag_value.py
CHANGED
@@ -241,7 +241,7 @@ class TagValue(pulumi.CustomResource):
|
|
241
241
|
short_name="keyname",
|
242
242
|
description="For keyname resources.")
|
243
243
|
value = gcp.tags.TagValue("value",
|
244
|
-
parent=key.
|
244
|
+
parent=key.name.apply(lambda name: f"tagKeys/{name}"),
|
245
245
|
short_name="valuename",
|
246
246
|
description="For valuename resources.")
|
247
247
|
```
|
@@ -302,7 +302,7 @@ class TagValue(pulumi.CustomResource):
|
|
302
302
|
short_name="keyname",
|
303
303
|
description="For keyname resources.")
|
304
304
|
value = gcp.tags.TagValue("value",
|
305
|
-
parent=key.
|
305
|
+
parent=key.name.apply(lambda name: f"tagKeys/{name}"),
|
306
306
|
short_name="valuename",
|
307
307
|
description="For valuename resources.")
|
308
308
|
```
|