pulumi-gcp 7.34.0a1722421695__py3-none-any.whl → 7.35.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.
Potentially problematic release.
This version of pulumi-gcp might be problematic. Click here for more details.
- pulumi_gcp/__init__.py +40 -0
- pulumi_gcp/accesscontextmanager/_inputs.py +12 -3
- pulumi_gcp/accesscontextmanager/access_policy.py +18 -18
- pulumi_gcp/accesscontextmanager/outputs.py +8 -2
- pulumi_gcp/alloydb/_inputs.py +174 -0
- pulumi_gcp/alloydb/instance.py +54 -0
- pulumi_gcp/alloydb/outputs.py +133 -0
- pulumi_gcp/apigee/__init__.py +2 -0
- pulumi_gcp/apigee/environment_keyvaluemaps.py +370 -0
- pulumi_gcp/apigee/environment_keyvaluemaps_entries.py +440 -0
- pulumi_gcp/apigee/instance.py +2 -2
- pulumi_gcp/apigee/nat_address.py +2 -2
- pulumi_gcp/apigee/organization.py +4 -4
- pulumi_gcp/apphub/service_project_attachment.py +11 -11
- pulumi_gcp/bigquery/_inputs.py +36 -0
- pulumi_gcp/bigquery/app_profile.py +54 -0
- pulumi_gcp/bigquery/data_transfer_config.py +52 -0
- pulumi_gcp/bigquery/outputs.py +38 -0
- pulumi_gcp/bigquery/reservation.py +34 -4
- pulumi_gcp/bigquery/table.py +65 -21
- pulumi_gcp/bigtable/table.py +27 -26
- pulumi_gcp/certificateauthority/authority.py +4 -4
- pulumi_gcp/cloudfunctions/function.py +47 -0
- pulumi_gcp/cloudfunctions/get_function.py +11 -1
- pulumi_gcp/cloudfunctionsv2/function.py +2 -2
- pulumi_gcp/cloudrun/_inputs.py +24 -21
- pulumi_gcp/cloudrun/outputs.py +20 -24
- pulumi_gcp/cloudrunv2/_inputs.py +3 -0
- pulumi_gcp/cloudrunv2/outputs.py +4 -0
- pulumi_gcp/compute/__init__.py +2 -0
- pulumi_gcp/compute/_inputs.py +2358 -353
- pulumi_gcp/compute/backend_service.py +6 -0
- pulumi_gcp/compute/disk.py +75 -0
- pulumi_gcp/compute/get_disk.py +11 -1
- pulumi_gcp/compute/get_hc_vpn_gateway.py +11 -1
- pulumi_gcp/compute/get_instance_template.py +2 -2
- pulumi_gcp/compute/get_region_instance_template.py +2 -2
- pulumi_gcp/compute/get_snapshot.py +2 -2
- pulumi_gcp/compute/ha_vpn_gateway.py +68 -7
- pulumi_gcp/compute/outputs.py +1490 -31
- pulumi_gcp/compute/public_advertised_prefix.py +30 -2
- pulumi_gcp/compute/resize_request.py +782 -0
- pulumi_gcp/compute/router_peer.py +437 -0
- pulumi_gcp/compute/router_route_policy.py +616 -0
- pulumi_gcp/compute/service_attachment.py +7 -14
- pulumi_gcp/container/_inputs.py +218 -21
- pulumi_gcp/container/node_pool.py +0 -14
- pulumi_gcp/container/outputs.py +228 -14
- pulumi_gcp/databasemigrationservice/private_connection.py +10 -6
- pulumi_gcp/dataloss/_inputs.py +707 -21
- pulumi_gcp/dataloss/outputs.py +588 -14
- pulumi_gcp/datastore/data_store_index.py +24 -12
- pulumi_gcp/datastream/_inputs.py +83 -3
- pulumi_gcp/datastream/outputs.py +51 -3
- pulumi_gcp/datastream/stream.py +170 -0
- pulumi_gcp/firebase/database_instance.py +8 -8
- pulumi_gcp/firebase/hosting_site.py +8 -8
- pulumi_gcp/firebase/project.py +10 -2
- pulumi_gcp/firestore/index.py +10 -10
- pulumi_gcp/gkeonprem/_inputs.py +78 -78
- pulumi_gcp/gkeonprem/outputs.py +52 -52
- pulumi_gcp/iap/client.py +4 -4
- pulumi_gcp/integrationconnectors/_inputs.py +30 -30
- pulumi_gcp/integrationconnectors/outputs.py +20 -20
- pulumi_gcp/kms/key_handle.py +7 -7
- pulumi_gcp/migrationcenter/_inputs.py +21 -129
- pulumi_gcp/migrationcenter/outputs.py +14 -86
- pulumi_gcp/netapp/volume.py +1 -1
- pulumi_gcp/networkconnectivity/_inputs.py +3 -6
- pulumi_gcp/networkconnectivity/hub.py +129 -49
- pulumi_gcp/networkconnectivity/outputs.py +2 -4
- pulumi_gcp/networkconnectivity/spoke.py +159 -104
- pulumi_gcp/networksecurity/tls_inspection_policy.py +2 -2
- pulumi_gcp/organizations/project.py +16 -7
- pulumi_gcp/orgpolicy/policy.py +4 -4
- pulumi_gcp/projects/get_project_service.py +11 -1
- pulumi_gcp/projects/service.py +68 -0
- pulumi_gcp/projects/service_identity.py +30 -2
- pulumi_gcp/pubsub/subscription.py +6 -6
- pulumi_gcp/pulumi-plugin.json +1 -1
- pulumi_gcp/securesourcemanager/instance.py +528 -4
- pulumi_gcp/securitycenter/__init__.py +1 -0
- pulumi_gcp/securitycenter/v2_organization_mute_config.py +673 -0
- pulumi_gcp/sql/_inputs.py +35 -15
- pulumi_gcp/sql/database_instance.py +2 -2
- pulumi_gcp/sql/outputs.py +50 -14
- pulumi_gcp/vertex/ai_feature_online_store_featureview.py +4 -4
- pulumi_gcp/vmwareengine/get_private_cloud.py +21 -1
- pulumi_gcp/vmwareengine/private_cloud.py +121 -2
- pulumi_gcp/workbench/_inputs.py +77 -0
- pulumi_gcp/workbench/instance.py +18 -4
- pulumi_gcp/workbench/outputs.py +67 -1
- {pulumi_gcp-7.34.0a1722421695.dist-info → pulumi_gcp-7.35.0.dist-info}/METADATA +1 -1
- {pulumi_gcp-7.34.0a1722421695.dist-info → pulumi_gcp-7.35.0.dist-info}/RECORD +96 -91
- {pulumi_gcp-7.34.0a1722421695.dist-info → pulumi_gcp-7.35.0.dist-info}/WHEEL +0 -0
- {pulumi_gcp-7.34.0a1722421695.dist-info → pulumi_gcp-7.35.0.dist-info}/top_level.txt +0 -0
pulumi_gcp/sql/_inputs.py
CHANGED
@@ -755,7 +755,7 @@ if not MYPY:
|
|
755
755
|
deny_maintenance_period: NotRequired[pulumi.Input['DatabaseInstanceSettingsDenyMaintenancePeriodArgsDict']]
|
756
756
|
disk_autoresize: NotRequired[pulumi.Input[bool]]
|
757
757
|
"""
|
758
|
-
Enables auto-resizing of the storage size. Defaults to `true`.
|
758
|
+
Enables auto-resizing of the storage size. Defaults to `true`. Note that if `disk_size` is set, future `pulumi up` calls will attempt to delete the instance in order to resize the disk to the value specified in disk_size if it has been resized. To avoid this, ensure that `lifecycle.ignore_changes` is applied to `disk_size`.
|
759
759
|
"""
|
760
760
|
disk_autoresize_limit: NotRequired[pulumi.Input[int]]
|
761
761
|
"""
|
@@ -763,7 +763,7 @@ if not MYPY:
|
|
763
763
|
"""
|
764
764
|
disk_size: NotRequired[pulumi.Input[int]]
|
765
765
|
"""
|
766
|
-
The size of data disk, in GB. Size of a running instance cannot be reduced but can be increased. The minimum value is 10GB.
|
766
|
+
The size of data disk, in GB. Size of a running instance cannot be reduced but can be increased. The minimum value is 10GB. Note that this value will override the resizing from `disk_autoresize` if that feature is enabled. To avoid this, set `lifecycle.ignore_changes` on this field.
|
767
767
|
"""
|
768
768
|
disk_type: NotRequired[pulumi.Input[str]]
|
769
769
|
"""
|
@@ -773,6 +773,10 @@ if not MYPY:
|
|
773
773
|
"""
|
774
774
|
The edition of the instance, can be `ENTERPRISE` or `ENTERPRISE_PLUS`.
|
775
775
|
"""
|
776
|
+
enable_dataplex_integration: NotRequired[pulumi.Input[bool]]
|
777
|
+
"""
|
778
|
+
Enables [Cloud SQL instance integration with Dataplex](https://cloud.google.com/sql/docs/mysql/dataplex-catalog-integration). MySQL, Postgres and SQL Server instances are supported for this feature. Defaults to `false`.
|
779
|
+
"""
|
776
780
|
enable_google_ml_integration: NotRequired[pulumi.Input[bool]]
|
777
781
|
"""
|
778
782
|
Enables [Cloud SQL instances to connect to Vertex AI](https://cloud.google.com/sql/docs/postgres/integrate-cloud-sql-with-vertex-ai) and pass requests for real-time predictions and insights. Defaults to `false`.
|
@@ -829,6 +833,7 @@ class DatabaseInstanceSettingsArgs:
|
|
829
833
|
disk_size: Optional[pulumi.Input[int]] = None,
|
830
834
|
disk_type: Optional[pulumi.Input[str]] = None,
|
831
835
|
edition: Optional[pulumi.Input[str]] = None,
|
836
|
+
enable_dataplex_integration: Optional[pulumi.Input[bool]] = None,
|
832
837
|
enable_google_ml_integration: Optional[pulumi.Input[bool]] = None,
|
833
838
|
insights_config: Optional[pulumi.Input['DatabaseInstanceSettingsInsightsConfigArgs']] = None,
|
834
839
|
ip_configuration: Optional[pulumi.Input['DatabaseInstanceSettingsIpConfigurationArgs']] = None,
|
@@ -856,11 +861,12 @@ class DatabaseInstanceSettingsArgs:
|
|
856
861
|
:param pulumi.Input[str] connector_enforcement: Specifies if connections must use Cloud SQL connectors.
|
857
862
|
:param pulumi.Input['DatabaseInstanceSettingsDataCacheConfigArgs'] data_cache_config: Data cache configurations.
|
858
863
|
:param pulumi.Input[bool] deletion_protection_enabled: Configuration to protect against accidental instance deletion.
|
859
|
-
:param pulumi.Input[bool] disk_autoresize: Enables auto-resizing of the storage size. Defaults to `true`.
|
864
|
+
:param pulumi.Input[bool] disk_autoresize: Enables auto-resizing of the storage size. Defaults to `true`. Note that if `disk_size` is set, future `pulumi up` calls will attempt to delete the instance in order to resize the disk to the value specified in disk_size if it has been resized. To avoid this, ensure that `lifecycle.ignore_changes` is applied to `disk_size`.
|
860
865
|
:param pulumi.Input[int] disk_autoresize_limit: The maximum size to which storage capacity can be automatically increased. The default value is 0, which specifies that there is no limit.
|
861
|
-
:param pulumi.Input[int] disk_size: The size of data disk, in GB. Size of a running instance cannot be reduced but can be increased. The minimum value is 10GB.
|
866
|
+
:param pulumi.Input[int] disk_size: The size of data disk, in GB. Size of a running instance cannot be reduced but can be increased. The minimum value is 10GB. Note that this value will override the resizing from `disk_autoresize` if that feature is enabled. To avoid this, set `lifecycle.ignore_changes` on this field.
|
862
867
|
:param pulumi.Input[str] disk_type: The type of data disk: PD_SSD or PD_HDD. Defaults to `PD_SSD`.
|
863
868
|
:param pulumi.Input[str] edition: The edition of the instance, can be `ENTERPRISE` or `ENTERPRISE_PLUS`.
|
869
|
+
:param pulumi.Input[bool] enable_dataplex_integration: Enables [Cloud SQL instance integration with Dataplex](https://cloud.google.com/sql/docs/mysql/dataplex-catalog-integration). MySQL, Postgres and SQL Server instances are supported for this feature. Defaults to `false`.
|
864
870
|
:param pulumi.Input[bool] enable_google_ml_integration: Enables [Cloud SQL instances to connect to Vertex AI](https://cloud.google.com/sql/docs/postgres/integrate-cloud-sql-with-vertex-ai) and pass requests for real-time predictions and insights. Defaults to `false`.
|
865
871
|
:param pulumi.Input['DatabaseInstanceSettingsInsightsConfigArgs'] insights_config: Configuration of Query Insights.
|
866
872
|
:param pulumi.Input['DatabaseInstanceSettingsMaintenanceWindowArgs'] maintenance_window: Declares a one-hour maintenance window when an Instance can automatically restart to apply updates. The maintenance window is specified in UTC time.
|
@@ -903,6 +909,8 @@ class DatabaseInstanceSettingsArgs:
|
|
903
909
|
pulumi.set(__self__, "disk_type", disk_type)
|
904
910
|
if edition is not None:
|
905
911
|
pulumi.set(__self__, "edition", edition)
|
912
|
+
if enable_dataplex_integration is not None:
|
913
|
+
pulumi.set(__self__, "enable_dataplex_integration", enable_dataplex_integration)
|
906
914
|
if enable_google_ml_integration is not None:
|
907
915
|
pulumi.set(__self__, "enable_google_ml_integration", enable_google_ml_integration)
|
908
916
|
if insights_config is not None:
|
@@ -1067,7 +1075,7 @@ class DatabaseInstanceSettingsArgs:
|
|
1067
1075
|
@pulumi.getter(name="diskAutoresize")
|
1068
1076
|
def disk_autoresize(self) -> Optional[pulumi.Input[bool]]:
|
1069
1077
|
"""
|
1070
|
-
Enables auto-resizing of the storage size. Defaults to `true`.
|
1078
|
+
Enables auto-resizing of the storage size. Defaults to `true`. Note that if `disk_size` is set, future `pulumi up` calls will attempt to delete the instance in order to resize the disk to the value specified in disk_size if it has been resized. To avoid this, ensure that `lifecycle.ignore_changes` is applied to `disk_size`.
|
1071
1079
|
"""
|
1072
1080
|
return pulumi.get(self, "disk_autoresize")
|
1073
1081
|
|
@@ -1091,7 +1099,7 @@ class DatabaseInstanceSettingsArgs:
|
|
1091
1099
|
@pulumi.getter(name="diskSize")
|
1092
1100
|
def disk_size(self) -> Optional[pulumi.Input[int]]:
|
1093
1101
|
"""
|
1094
|
-
The size of data disk, in GB. Size of a running instance cannot be reduced but can be increased. The minimum value is 10GB.
|
1102
|
+
The size of data disk, in GB. Size of a running instance cannot be reduced but can be increased. The minimum value is 10GB. Note that this value will override the resizing from `disk_autoresize` if that feature is enabled. To avoid this, set `lifecycle.ignore_changes` on this field.
|
1095
1103
|
"""
|
1096
1104
|
return pulumi.get(self, "disk_size")
|
1097
1105
|
|
@@ -1123,6 +1131,18 @@ class DatabaseInstanceSettingsArgs:
|
|
1123
1131
|
def edition(self, value: Optional[pulumi.Input[str]]):
|
1124
1132
|
pulumi.set(self, "edition", value)
|
1125
1133
|
|
1134
|
+
@property
|
1135
|
+
@pulumi.getter(name="enableDataplexIntegration")
|
1136
|
+
def enable_dataplex_integration(self) -> Optional[pulumi.Input[bool]]:
|
1137
|
+
"""
|
1138
|
+
Enables [Cloud SQL instance integration with Dataplex](https://cloud.google.com/sql/docs/mysql/dataplex-catalog-integration). MySQL, Postgres and SQL Server instances are supported for this feature. Defaults to `false`.
|
1139
|
+
"""
|
1140
|
+
return pulumi.get(self, "enable_dataplex_integration")
|
1141
|
+
|
1142
|
+
@enable_dataplex_integration.setter
|
1143
|
+
def enable_dataplex_integration(self, value: Optional[pulumi.Input[bool]]):
|
1144
|
+
pulumi.set(self, "enable_dataplex_integration", value)
|
1145
|
+
|
1126
1146
|
@property
|
1127
1147
|
@pulumi.getter(name="enableGoogleMlIntegration")
|
1128
1148
|
def enable_google_ml_integration(self) -> Optional[pulumi.Input[bool]]:
|
@@ -1609,11 +1629,11 @@ if not MYPY:
|
|
1609
1629
|
class DatabaseInstanceSettingsDenyMaintenancePeriodArgsDict(TypedDict):
|
1610
1630
|
end_date: pulumi.Input[str]
|
1611
1631
|
"""
|
1612
|
-
"deny maintenance period" end date. If the year of the end date is empty, the year of the start date also must be empty. In this case, it means the no maintenance interval recurs every year. The date is in format yyyy-
|
1632
|
+
"deny maintenance period" end date. If the year of the end date is empty, the year of the start date also must be empty. In this case, it means the no maintenance interval recurs every year. The date is in format yyyy-m-dd (the month is without leading zeros)i.e., 2020-1-01, or 2020-11-01, or mm-dd, i.e., 11-01
|
1613
1633
|
"""
|
1614
1634
|
start_date: pulumi.Input[str]
|
1615
1635
|
"""
|
1616
|
-
"deny maintenance period" start date. If the year of the start date is empty, the year of the end date also must be empty. In this case, it means the deny maintenance period recurs every year. The date is in format yyyy-
|
1636
|
+
"deny maintenance period" start date. If the year of the start date is empty, the year of the end date also must be empty. In this case, it means the deny maintenance period recurs every year. The date is in format yyyy-m-dd (the month is without leading zeros)i.e., 2020-1-01, or 2020-11-01, or mm-dd, i.e., 11-01
|
1617
1637
|
"""
|
1618
1638
|
time: pulumi.Input[str]
|
1619
1639
|
"""
|
@@ -1629,8 +1649,8 @@ class DatabaseInstanceSettingsDenyMaintenancePeriodArgs:
|
|
1629
1649
|
start_date: pulumi.Input[str],
|
1630
1650
|
time: pulumi.Input[str]):
|
1631
1651
|
"""
|
1632
|
-
:param pulumi.Input[str] end_date: "deny maintenance period" end date. If the year of the end date is empty, the year of the start date also must be empty. In this case, it means the no maintenance interval recurs every year. The date is in format yyyy-
|
1633
|
-
:param pulumi.Input[str] start_date: "deny maintenance period" start date. If the year of the start date is empty, the year of the end date also must be empty. In this case, it means the deny maintenance period recurs every year. The date is in format yyyy-
|
1652
|
+
:param pulumi.Input[str] end_date: "deny maintenance period" end date. If the year of the end date is empty, the year of the start date also must be empty. In this case, it means the no maintenance interval recurs every year. The date is in format yyyy-m-dd (the month is without leading zeros)i.e., 2020-1-01, or 2020-11-01, or mm-dd, i.e., 11-01
|
1653
|
+
:param pulumi.Input[str] start_date: "deny maintenance period" start date. If the year of the start date is empty, the year of the end date also must be empty. In this case, it means the deny maintenance period recurs every year. The date is in format yyyy-m-dd (the month is without leading zeros)i.e., 2020-1-01, or 2020-11-01, or mm-dd, i.e., 11-01
|
1634
1654
|
:param pulumi.Input[str] time: Time in UTC when the "deny maintenance period" starts on startDate and ends on endDate. The time is in format: HH:mm:SS, i.e., 00:00:00
|
1635
1655
|
"""
|
1636
1656
|
pulumi.set(__self__, "end_date", end_date)
|
@@ -1641,7 +1661,7 @@ class DatabaseInstanceSettingsDenyMaintenancePeriodArgs:
|
|
1641
1661
|
@pulumi.getter(name="endDate")
|
1642
1662
|
def end_date(self) -> pulumi.Input[str]:
|
1643
1663
|
"""
|
1644
|
-
"deny maintenance period" end date. If the year of the end date is empty, the year of the start date also must be empty. In this case, it means the no maintenance interval recurs every year. The date is in format yyyy-
|
1664
|
+
"deny maintenance period" end date. If the year of the end date is empty, the year of the start date also must be empty. In this case, it means the no maintenance interval recurs every year. The date is in format yyyy-m-dd (the month is without leading zeros)i.e., 2020-1-01, or 2020-11-01, or mm-dd, i.e., 11-01
|
1645
1665
|
"""
|
1646
1666
|
return pulumi.get(self, "end_date")
|
1647
1667
|
|
@@ -1653,7 +1673,7 @@ class DatabaseInstanceSettingsDenyMaintenancePeriodArgs:
|
|
1653
1673
|
@pulumi.getter(name="startDate")
|
1654
1674
|
def start_date(self) -> pulumi.Input[str]:
|
1655
1675
|
"""
|
1656
|
-
"deny maintenance period" start date. If the year of the start date is empty, the year of the end date also must be empty. In this case, it means the deny maintenance period recurs every year. The date is in format yyyy-
|
1676
|
+
"deny maintenance period" start date. If the year of the start date is empty, the year of the end date also must be empty. In this case, it means the deny maintenance period recurs every year. The date is in format yyyy-m-dd (the month is without leading zeros)i.e., 2020-1-01, or 2020-11-01, or mm-dd, i.e., 11-01
|
1657
1677
|
"""
|
1658
1678
|
return pulumi.get(self, "start_date")
|
1659
1679
|
|
@@ -1821,7 +1841,7 @@ if not MYPY:
|
|
1821
1841
|
"""
|
1822
1842
|
ssl_mode: NotRequired[pulumi.Input[str]]
|
1823
1843
|
"""
|
1824
|
-
Specify how SSL connection should be enforced in DB connections. This field provides more SSL
|
1844
|
+
Specify how SSL connection should be enforced in DB connections. This field provides more SSL enforcement options compared to `require_ssl`. To change this field, also set the correspoding value in `require_ssl`.
|
1825
1845
|
* For PostgreSQL instances, the value pairs are listed in the [API reference doc](https://cloud.google.com/sql/docs/postgres/admin-api/rest/v1beta4/instances#ipconfiguration) for `ssl_mode` field.
|
1826
1846
|
* For MySQL instances, use the same value pairs as the PostgreSQL instances.
|
1827
1847
|
* For SQL Server instances, set it to `ALLOW_UNENCRYPTED_AND_ENCRYPTED` when `require_ssl=false` and `ENCRYPTED_ONLY` otherwise.
|
@@ -1853,7 +1873,7 @@ class DatabaseInstanceSettingsIpConfigurationArgs:
|
|
1853
1873
|
This setting can be updated, but it cannot be removed after it is set.
|
1854
1874
|
:param pulumi.Input[Sequence[pulumi.Input['DatabaseInstanceSettingsIpConfigurationPscConfigArgs']]] psc_configs: PSC settings for a Cloud SQL instance.
|
1855
1875
|
:param pulumi.Input[bool] require_ssl: Whether SSL connections over IP are enforced or not. To change this field, also set the corresponding value in `ssl_mode`. It will be fully deprecated in a future major release. For now, please use `ssl_mode` with a compatible `require_ssl` value instead.
|
1856
|
-
:param pulumi.Input[str] ssl_mode: Specify how SSL connection should be enforced in DB connections. This field provides more SSL
|
1876
|
+
:param pulumi.Input[str] ssl_mode: Specify how SSL connection should be enforced in DB connections. This field provides more SSL enforcement options compared to `require_ssl`. To change this field, also set the correspoding value in `require_ssl`.
|
1857
1877
|
* For PostgreSQL instances, the value pairs are listed in the [API reference doc](https://cloud.google.com/sql/docs/postgres/admin-api/rest/v1beta4/instances#ipconfiguration) for `ssl_mode` field.
|
1858
1878
|
* For MySQL instances, use the same value pairs as the PostgreSQL instances.
|
1859
1879
|
* For SQL Server instances, set it to `ALLOW_UNENCRYPTED_AND_ENCRYPTED` when `require_ssl=false` and `ENCRYPTED_ONLY` otherwise.
|
@@ -1970,7 +1990,7 @@ class DatabaseInstanceSettingsIpConfigurationArgs:
|
|
1970
1990
|
@pulumi.getter(name="sslMode")
|
1971
1991
|
def ssl_mode(self) -> Optional[pulumi.Input[str]]:
|
1972
1992
|
"""
|
1973
|
-
Specify how SSL connection should be enforced in DB connections. This field provides more SSL
|
1993
|
+
Specify how SSL connection should be enforced in DB connections. This field provides more SSL enforcement options compared to `require_ssl`. To change this field, also set the correspoding value in `require_ssl`.
|
1974
1994
|
* For PostgreSQL instances, the value pairs are listed in the [API reference doc](https://cloud.google.com/sql/docs/postgres/admin-api/rest/v1beta4/instances#ipconfiguration) for `ssl_mode` field.
|
1975
1995
|
* For MySQL instances, use the same value pairs as the PostgreSQL instances.
|
1976
1996
|
* For SQL Server instances, set it to `ALLOW_UNENCRYPTED_AND_ENCRYPTED` when `require_ssl=false` and `ENCRYPTED_ONLY` otherwise.
|
@@ -859,7 +859,7 @@ class DatabaseInstance(pulumi.CustomResource):
|
|
859
859
|
"tier": "db-f1-micro",
|
860
860
|
"ip_configuration": {
|
861
861
|
"ipv4_enabled": False,
|
862
|
-
"private_network": private_network.
|
862
|
+
"private_network": private_network.self_link,
|
863
863
|
"enable_private_path_for_google_cloud_services": True,
|
864
864
|
},
|
865
865
|
},
|
@@ -1053,7 +1053,7 @@ class DatabaseInstance(pulumi.CustomResource):
|
|
1053
1053
|
"tier": "db-f1-micro",
|
1054
1054
|
"ip_configuration": {
|
1055
1055
|
"ipv4_enabled": False,
|
1056
|
-
"private_network": private_network.
|
1056
|
+
"private_network": private_network.self_link,
|
1057
1057
|
"enable_private_path_for_google_cloud_services": True,
|
1058
1058
|
},
|
1059
1059
|
},
|
pulumi_gcp/sql/outputs.py
CHANGED
@@ -627,6 +627,8 @@ class DatabaseInstanceSettings(dict):
|
|
627
627
|
suggest = "disk_size"
|
628
628
|
elif key == "diskType":
|
629
629
|
suggest = "disk_type"
|
630
|
+
elif key == "enableDataplexIntegration":
|
631
|
+
suggest = "enable_dataplex_integration"
|
630
632
|
elif key == "enableGoogleMlIntegration":
|
631
633
|
suggest = "enable_google_ml_integration"
|
632
634
|
elif key == "insightsConfig":
|
@@ -677,6 +679,7 @@ class DatabaseInstanceSettings(dict):
|
|
677
679
|
disk_size: Optional[int] = None,
|
678
680
|
disk_type: Optional[str] = None,
|
679
681
|
edition: Optional[str] = None,
|
682
|
+
enable_dataplex_integration: Optional[bool] = None,
|
680
683
|
enable_google_ml_integration: Optional[bool] = None,
|
681
684
|
insights_config: Optional['outputs.DatabaseInstanceSettingsInsightsConfig'] = None,
|
682
685
|
ip_configuration: Optional['outputs.DatabaseInstanceSettingsIpConfiguration'] = None,
|
@@ -704,11 +707,12 @@ class DatabaseInstanceSettings(dict):
|
|
704
707
|
:param str connector_enforcement: Specifies if connections must use Cloud SQL connectors.
|
705
708
|
:param 'DatabaseInstanceSettingsDataCacheConfigArgs' data_cache_config: Data cache configurations.
|
706
709
|
:param bool deletion_protection_enabled: Configuration to protect against accidental instance deletion.
|
707
|
-
:param bool disk_autoresize: Enables auto-resizing of the storage size. Defaults to `true`.
|
710
|
+
:param bool disk_autoresize: Enables auto-resizing of the storage size. Defaults to `true`. Note that if `disk_size` is set, future `pulumi up` calls will attempt to delete the instance in order to resize the disk to the value specified in disk_size if it has been resized. To avoid this, ensure that `lifecycle.ignore_changes` is applied to `disk_size`.
|
708
711
|
:param int disk_autoresize_limit: The maximum size to which storage capacity can be automatically increased. The default value is 0, which specifies that there is no limit.
|
709
|
-
:param int disk_size: The size of data disk, in GB. Size of a running instance cannot be reduced but can be increased. The minimum value is 10GB.
|
712
|
+
:param int disk_size: The size of data disk, in GB. Size of a running instance cannot be reduced but can be increased. The minimum value is 10GB. Note that this value will override the resizing from `disk_autoresize` if that feature is enabled. To avoid this, set `lifecycle.ignore_changes` on this field.
|
710
713
|
:param str disk_type: The type of data disk: PD_SSD or PD_HDD. Defaults to `PD_SSD`.
|
711
714
|
:param str edition: The edition of the instance, can be `ENTERPRISE` or `ENTERPRISE_PLUS`.
|
715
|
+
:param bool enable_dataplex_integration: Enables [Cloud SQL instance integration with Dataplex](https://cloud.google.com/sql/docs/mysql/dataplex-catalog-integration). MySQL, Postgres and SQL Server instances are supported for this feature. Defaults to `false`.
|
712
716
|
:param bool enable_google_ml_integration: Enables [Cloud SQL instances to connect to Vertex AI](https://cloud.google.com/sql/docs/postgres/integrate-cloud-sql-with-vertex-ai) and pass requests for real-time predictions and insights. Defaults to `false`.
|
713
717
|
:param 'DatabaseInstanceSettingsInsightsConfigArgs' insights_config: Configuration of Query Insights.
|
714
718
|
:param 'DatabaseInstanceSettingsMaintenanceWindowArgs' maintenance_window: Declares a one-hour maintenance window when an Instance can automatically restart to apply updates. The maintenance window is specified in UTC time.
|
@@ -751,6 +755,8 @@ class DatabaseInstanceSettings(dict):
|
|
751
755
|
pulumi.set(__self__, "disk_type", disk_type)
|
752
756
|
if edition is not None:
|
753
757
|
pulumi.set(__self__, "edition", edition)
|
758
|
+
if enable_dataplex_integration is not None:
|
759
|
+
pulumi.set(__self__, "enable_dataplex_integration", enable_dataplex_integration)
|
754
760
|
if enable_google_ml_integration is not None:
|
755
761
|
pulumi.set(__self__, "enable_google_ml_integration", enable_google_ml_integration)
|
756
762
|
if insights_config is not None:
|
@@ -867,7 +873,7 @@ class DatabaseInstanceSettings(dict):
|
|
867
873
|
@pulumi.getter(name="diskAutoresize")
|
868
874
|
def disk_autoresize(self) -> Optional[bool]:
|
869
875
|
"""
|
870
|
-
Enables auto-resizing of the storage size. Defaults to `true`.
|
876
|
+
Enables auto-resizing of the storage size. Defaults to `true`. Note that if `disk_size` is set, future `pulumi up` calls will attempt to delete the instance in order to resize the disk to the value specified in disk_size if it has been resized. To avoid this, ensure that `lifecycle.ignore_changes` is applied to `disk_size`.
|
871
877
|
"""
|
872
878
|
return pulumi.get(self, "disk_autoresize")
|
873
879
|
|
@@ -883,7 +889,7 @@ class DatabaseInstanceSettings(dict):
|
|
883
889
|
@pulumi.getter(name="diskSize")
|
884
890
|
def disk_size(self) -> Optional[int]:
|
885
891
|
"""
|
886
|
-
The size of data disk, in GB. Size of a running instance cannot be reduced but can be increased. The minimum value is 10GB.
|
892
|
+
The size of data disk, in GB. Size of a running instance cannot be reduced but can be increased. The minimum value is 10GB. Note that this value will override the resizing from `disk_autoresize` if that feature is enabled. To avoid this, set `lifecycle.ignore_changes` on this field.
|
887
893
|
"""
|
888
894
|
return pulumi.get(self, "disk_size")
|
889
895
|
|
@@ -903,6 +909,14 @@ class DatabaseInstanceSettings(dict):
|
|
903
909
|
"""
|
904
910
|
return pulumi.get(self, "edition")
|
905
911
|
|
912
|
+
@property
|
913
|
+
@pulumi.getter(name="enableDataplexIntegration")
|
914
|
+
def enable_dataplex_integration(self) -> Optional[bool]:
|
915
|
+
"""
|
916
|
+
Enables [Cloud SQL instance integration with Dataplex](https://cloud.google.com/sql/docs/mysql/dataplex-catalog-integration). MySQL, Postgres and SQL Server instances are supported for this feature. Defaults to `false`.
|
917
|
+
"""
|
918
|
+
return pulumi.get(self, "enable_dataplex_integration")
|
919
|
+
|
906
920
|
@property
|
907
921
|
@pulumi.getter(name="enableGoogleMlIntegration")
|
908
922
|
def enable_google_ml_integration(self) -> Optional[bool]:
|
@@ -1299,8 +1313,8 @@ class DatabaseInstanceSettingsDenyMaintenancePeriod(dict):
|
|
1299
1313
|
start_date: str,
|
1300
1314
|
time: str):
|
1301
1315
|
"""
|
1302
|
-
:param str end_date: "deny maintenance period" end date. If the year of the end date is empty, the year of the start date also must be empty. In this case, it means the no maintenance interval recurs every year. The date is in format yyyy-
|
1303
|
-
:param str start_date: "deny maintenance period" start date. If the year of the start date is empty, the year of the end date also must be empty. In this case, it means the deny maintenance period recurs every year. The date is in format yyyy-
|
1316
|
+
:param str end_date: "deny maintenance period" end date. If the year of the end date is empty, the year of the start date also must be empty. In this case, it means the no maintenance interval recurs every year. The date is in format yyyy-m-dd (the month is without leading zeros)i.e., 2020-1-01, or 2020-11-01, or mm-dd, i.e., 11-01
|
1317
|
+
:param str start_date: "deny maintenance period" start date. If the year of the start date is empty, the year of the end date also must be empty. In this case, it means the deny maintenance period recurs every year. The date is in format yyyy-m-dd (the month is without leading zeros)i.e., 2020-1-01, or 2020-11-01, or mm-dd, i.e., 11-01
|
1304
1318
|
:param str time: Time in UTC when the "deny maintenance period" starts on startDate and ends on endDate. The time is in format: HH:mm:SS, i.e., 00:00:00
|
1305
1319
|
"""
|
1306
1320
|
pulumi.set(__self__, "end_date", end_date)
|
@@ -1311,7 +1325,7 @@ class DatabaseInstanceSettingsDenyMaintenancePeriod(dict):
|
|
1311
1325
|
@pulumi.getter(name="endDate")
|
1312
1326
|
def end_date(self) -> str:
|
1313
1327
|
"""
|
1314
|
-
"deny maintenance period" end date. If the year of the end date is empty, the year of the start date also must be empty. In this case, it means the no maintenance interval recurs every year. The date is in format yyyy-
|
1328
|
+
"deny maintenance period" end date. If the year of the end date is empty, the year of the start date also must be empty. In this case, it means the no maintenance interval recurs every year. The date is in format yyyy-m-dd (the month is without leading zeros)i.e., 2020-1-01, or 2020-11-01, or mm-dd, i.e., 11-01
|
1315
1329
|
"""
|
1316
1330
|
return pulumi.get(self, "end_date")
|
1317
1331
|
|
@@ -1319,7 +1333,7 @@ class DatabaseInstanceSettingsDenyMaintenancePeriod(dict):
|
|
1319
1333
|
@pulumi.getter(name="startDate")
|
1320
1334
|
def start_date(self) -> str:
|
1321
1335
|
"""
|
1322
|
-
"deny maintenance period" start date. If the year of the start date is empty, the year of the end date also must be empty. In this case, it means the deny maintenance period recurs every year. The date is in format yyyy-
|
1336
|
+
"deny maintenance period" start date. If the year of the start date is empty, the year of the end date also must be empty. In this case, it means the deny maintenance period recurs every year. The date is in format yyyy-m-dd (the month is without leading zeros)i.e., 2020-1-01, or 2020-11-01, or mm-dd, i.e., 11-01
|
1323
1337
|
"""
|
1324
1338
|
return pulumi.get(self, "start_date")
|
1325
1339
|
|
@@ -1479,7 +1493,7 @@ class DatabaseInstanceSettingsIpConfiguration(dict):
|
|
1479
1493
|
This setting can be updated, but it cannot be removed after it is set.
|
1480
1494
|
:param Sequence['DatabaseInstanceSettingsIpConfigurationPscConfigArgs'] psc_configs: PSC settings for a Cloud SQL instance.
|
1481
1495
|
:param bool require_ssl: Whether SSL connections over IP are enforced or not. To change this field, also set the corresponding value in `ssl_mode`. It will be fully deprecated in a future major release. For now, please use `ssl_mode` with a compatible `require_ssl` value instead.
|
1482
|
-
:param str ssl_mode: Specify how SSL connection should be enforced in DB connections. This field provides more SSL
|
1496
|
+
:param str ssl_mode: Specify how SSL connection should be enforced in DB connections. This field provides more SSL enforcement options compared to `require_ssl`. To change this field, also set the correspoding value in `require_ssl`.
|
1483
1497
|
* For PostgreSQL instances, the value pairs are listed in the [API reference doc](https://cloud.google.com/sql/docs/postgres/admin-api/rest/v1beta4/instances#ipconfiguration) for `ssl_mode` field.
|
1484
1498
|
* For MySQL instances, use the same value pairs as the PostgreSQL instances.
|
1485
1499
|
* For SQL Server instances, set it to `ALLOW_UNENCRYPTED_AND_ENCRYPTED` when `require_ssl=false` and `ENCRYPTED_ONLY` otherwise.
|
@@ -1565,7 +1579,7 @@ class DatabaseInstanceSettingsIpConfiguration(dict):
|
|
1565
1579
|
@pulumi.getter(name="sslMode")
|
1566
1580
|
def ssl_mode(self) -> Optional[str]:
|
1567
1581
|
"""
|
1568
|
-
Specify how SSL connection should be enforced in DB connections. This field provides more SSL
|
1582
|
+
Specify how SSL connection should be enforced in DB connections. This field provides more SSL enforcement options compared to `require_ssl`. To change this field, also set the correspoding value in `require_ssl`.
|
1569
1583
|
* For PostgreSQL instances, the value pairs are listed in the [API reference doc](https://cloud.google.com/sql/docs/postgres/admin-api/rest/v1beta4/instances#ipconfiguration) for `ssl_mode` field.
|
1570
1584
|
* For MySQL instances, use the same value pairs as the PostgreSQL instances.
|
1571
1585
|
* For SQL Server instances, set it to `ALLOW_UNENCRYPTED_AND_ENCRYPTED` when `require_ssl=false` and `ENCRYPTED_ONLY` otherwise.
|
@@ -2560,6 +2574,7 @@ class GetDatabaseInstanceSettingResult(dict):
|
|
2560
2574
|
disk_size: int,
|
2561
2575
|
disk_type: str,
|
2562
2576
|
edition: str,
|
2577
|
+
enable_dataplex_integration: bool,
|
2563
2578
|
enable_google_ml_integration: bool,
|
2564
2579
|
insights_configs: Sequence['outputs.GetDatabaseInstanceSettingInsightsConfigResult'],
|
2565
2580
|
ip_configurations: Sequence['outputs.GetDatabaseInstanceSettingIpConfigurationResult'],
|
@@ -2589,6 +2604,7 @@ class GetDatabaseInstanceSettingResult(dict):
|
|
2589
2604
|
:param int disk_size: The size of data disk, in GB. Size of a running instance cannot be reduced but can be increased. The minimum value is 10GB.
|
2590
2605
|
:param str disk_type: The type of data disk: PD_SSD or PD_HDD. Defaults to PD_SSD.
|
2591
2606
|
:param str edition: The edition of the instance, can be ENTERPRISE or ENTERPRISE_PLUS.
|
2607
|
+
:param bool enable_dataplex_integration: Enables Dataplex Integration.
|
2592
2608
|
:param bool enable_google_ml_integration: Enables Vertex AI Integration.
|
2593
2609
|
:param Sequence['GetDatabaseInstanceSettingInsightsConfigArgs'] insights_configs: Configuration of Query Insights.
|
2594
2610
|
:param Sequence['GetDatabaseInstanceSettingMaintenanceWindowArgs'] maintenance_windows: Declares a one-hour maintenance window when an Instance can automatically restart to apply updates. The maintenance window is specified in UTC time.
|
@@ -2614,6 +2630,7 @@ class GetDatabaseInstanceSettingResult(dict):
|
|
2614
2630
|
pulumi.set(__self__, "disk_size", disk_size)
|
2615
2631
|
pulumi.set(__self__, "disk_type", disk_type)
|
2616
2632
|
pulumi.set(__self__, "edition", edition)
|
2633
|
+
pulumi.set(__self__, "enable_dataplex_integration", enable_dataplex_integration)
|
2617
2634
|
pulumi.set(__self__, "enable_google_ml_integration", enable_google_ml_integration)
|
2618
2635
|
pulumi.set(__self__, "insights_configs", insights_configs)
|
2619
2636
|
pulumi.set(__self__, "ip_configurations", ip_configurations)
|
@@ -2745,6 +2762,14 @@ class GetDatabaseInstanceSettingResult(dict):
|
|
2745
2762
|
"""
|
2746
2763
|
return pulumi.get(self, "edition")
|
2747
2764
|
|
2765
|
+
@property
|
2766
|
+
@pulumi.getter(name="enableDataplexIntegration")
|
2767
|
+
def enable_dataplex_integration(self) -> bool:
|
2768
|
+
"""
|
2769
|
+
Enables Dataplex Integration.
|
2770
|
+
"""
|
2771
|
+
return pulumi.get(self, "enable_dataplex_integration")
|
2772
|
+
|
2748
2773
|
@property
|
2749
2774
|
@pulumi.getter(name="enableGoogleMlIntegration")
|
2750
2775
|
def enable_google_ml_integration(self) -> bool:
|
@@ -3142,7 +3167,7 @@ class GetDatabaseInstanceSettingIpConfigurationResult(dict):
|
|
3142
3167
|
:param str private_network: The VPC network from which the Cloud SQL instance is accessible for private IP. For example, projects/myProject/global/networks/default. Specifying a network enables private IP. At least ipv4_enabled must be enabled or a private_network must be configured. This setting can be updated, but it cannot be removed after it is set.
|
3143
3168
|
:param Sequence['GetDatabaseInstanceSettingIpConfigurationPscConfigArgs'] psc_configs: PSC settings for a Cloud SQL instance.
|
3144
3169
|
:param bool require_ssl: Whether SSL connections over IP are enforced or not. To change this field, also set the corresponding value in ssl_mode if it has been set too.
|
3145
|
-
:param str ssl_mode: Specify how SSL connection should be enforced in DB connections. This field provides more SSL
|
3170
|
+
:param str ssl_mode: Specify how SSL connection should be enforced in DB connections. This field provides more SSL enforcement options compared to require_ssl. To change this field, also set the correspoding value in require_ssl until next major release.
|
3146
3171
|
"""
|
3147
3172
|
pulumi.set(__self__, "allocated_ip_range", allocated_ip_range)
|
3148
3173
|
pulumi.set(__self__, "authorized_networks", authorized_networks)
|
@@ -3210,7 +3235,7 @@ class GetDatabaseInstanceSettingIpConfigurationResult(dict):
|
|
3210
3235
|
@pulumi.getter(name="sslMode")
|
3211
3236
|
def ssl_mode(self) -> str:
|
3212
3237
|
"""
|
3213
|
-
Specify how SSL connection should be enforced in DB connections. This field provides more SSL
|
3238
|
+
Specify how SSL connection should be enforced in DB connections. This field provides more SSL enforcement options compared to require_ssl. To change this field, also set the correspoding value in require_ssl until next major release.
|
3214
3239
|
"""
|
3215
3240
|
return pulumi.get(self, "ssl_mode")
|
3216
3241
|
|
@@ -4052,6 +4077,7 @@ class GetDatabaseInstancesInstanceSettingResult(dict):
|
|
4052
4077
|
disk_size: int,
|
4053
4078
|
disk_type: str,
|
4054
4079
|
edition: str,
|
4080
|
+
enable_dataplex_integration: bool,
|
4055
4081
|
enable_google_ml_integration: bool,
|
4056
4082
|
insights_configs: Sequence['outputs.GetDatabaseInstancesInstanceSettingInsightsConfigResult'],
|
4057
4083
|
ip_configurations: Sequence['outputs.GetDatabaseInstancesInstanceSettingIpConfigurationResult'],
|
@@ -4081,6 +4107,7 @@ class GetDatabaseInstancesInstanceSettingResult(dict):
|
|
4081
4107
|
:param int disk_size: The size of data disk, in GB. Size of a running instance cannot be reduced but can be increased. The minimum value is 10GB.
|
4082
4108
|
:param str disk_type: The type of data disk: PD_SSD or PD_HDD. Defaults to PD_SSD.
|
4083
4109
|
:param str edition: The edition of the instance, can be ENTERPRISE or ENTERPRISE_PLUS.
|
4110
|
+
:param bool enable_dataplex_integration: Enables Dataplex Integration.
|
4084
4111
|
:param bool enable_google_ml_integration: Enables Vertex AI Integration.
|
4085
4112
|
:param Sequence['GetDatabaseInstancesInstanceSettingInsightsConfigArgs'] insights_configs: Configuration of Query Insights.
|
4086
4113
|
:param Sequence['GetDatabaseInstancesInstanceSettingMaintenanceWindowArgs'] maintenance_windows: Declares a one-hour maintenance window when an Instance can automatically restart to apply updates. The maintenance window is specified in UTC time.
|
@@ -4106,6 +4133,7 @@ class GetDatabaseInstancesInstanceSettingResult(dict):
|
|
4106
4133
|
pulumi.set(__self__, "disk_size", disk_size)
|
4107
4134
|
pulumi.set(__self__, "disk_type", disk_type)
|
4108
4135
|
pulumi.set(__self__, "edition", edition)
|
4136
|
+
pulumi.set(__self__, "enable_dataplex_integration", enable_dataplex_integration)
|
4109
4137
|
pulumi.set(__self__, "enable_google_ml_integration", enable_google_ml_integration)
|
4110
4138
|
pulumi.set(__self__, "insights_configs", insights_configs)
|
4111
4139
|
pulumi.set(__self__, "ip_configurations", ip_configurations)
|
@@ -4237,6 +4265,14 @@ class GetDatabaseInstancesInstanceSettingResult(dict):
|
|
4237
4265
|
"""
|
4238
4266
|
return pulumi.get(self, "edition")
|
4239
4267
|
|
4268
|
+
@property
|
4269
|
+
@pulumi.getter(name="enableDataplexIntegration")
|
4270
|
+
def enable_dataplex_integration(self) -> bool:
|
4271
|
+
"""
|
4272
|
+
Enables Dataplex Integration.
|
4273
|
+
"""
|
4274
|
+
return pulumi.get(self, "enable_dataplex_integration")
|
4275
|
+
|
4240
4276
|
@property
|
4241
4277
|
@pulumi.getter(name="enableGoogleMlIntegration")
|
4242
4278
|
def enable_google_ml_integration(self) -> bool:
|
@@ -4634,7 +4670,7 @@ class GetDatabaseInstancesInstanceSettingIpConfigurationResult(dict):
|
|
4634
4670
|
:param str private_network: The VPC network from which the Cloud SQL instance is accessible for private IP. For example, projects/myProject/global/networks/default. Specifying a network enables private IP. At least ipv4_enabled must be enabled or a private_network must be configured. This setting can be updated, but it cannot be removed after it is set.
|
4635
4671
|
:param Sequence['GetDatabaseInstancesInstanceSettingIpConfigurationPscConfigArgs'] psc_configs: PSC settings for a Cloud SQL instance.
|
4636
4672
|
:param bool require_ssl: Whether SSL connections over IP are enforced or not. To change this field, also set the corresponding value in ssl_mode if it has been set too.
|
4637
|
-
:param str ssl_mode: Specify how SSL connection should be enforced in DB connections. This field provides more SSL
|
4673
|
+
:param str ssl_mode: Specify how SSL connection should be enforced in DB connections. This field provides more SSL enforcement options compared to require_ssl. To change this field, also set the correspoding value in require_ssl until next major release.
|
4638
4674
|
"""
|
4639
4675
|
pulumi.set(__self__, "allocated_ip_range", allocated_ip_range)
|
4640
4676
|
pulumi.set(__self__, "authorized_networks", authorized_networks)
|
@@ -4702,7 +4738,7 @@ class GetDatabaseInstancesInstanceSettingIpConfigurationResult(dict):
|
|
4702
4738
|
@pulumi.getter(name="sslMode")
|
4703
4739
|
def ssl_mode(self) -> str:
|
4704
4740
|
"""
|
4705
|
-
Specify how SSL connection should be enforced in DB connections. This field provides more SSL
|
4741
|
+
Specify how SSL connection should be enforced in DB connections. This field provides more SSL enforcement options compared to require_ssl. To change this field, also set the correspoding value in require_ssl until next major release.
|
4706
4742
|
"""
|
4707
4743
|
return pulumi.get(self, "ssl_mode")
|
4708
4744
|
|
@@ -608,8 +608,8 @@ class AiFeatureOnlineStoreFeatureview(pulumi.CustomResource):
|
|
608
608
|
|
609
609
|
test_project = gcp.organizations.get_project()
|
610
610
|
project = gcp.organizations.Project("project",
|
611
|
-
project_id="tf-
|
612
|
-
name="tf-
|
611
|
+
project_id="tf-test_13293",
|
612
|
+
name="tf-test_40289",
|
613
613
|
org_id="123456789",
|
614
614
|
billing_account="000000-0000000-0000000-000000")
|
615
615
|
wait60_seconds = time.index.Sleep("wait_60_seconds", create_duration=60s,
|
@@ -1032,8 +1032,8 @@ class AiFeatureOnlineStoreFeatureview(pulumi.CustomResource):
|
|
1032
1032
|
|
1033
1033
|
test_project = gcp.organizations.get_project()
|
1034
1034
|
project = gcp.organizations.Project("project",
|
1035
|
-
project_id="tf-
|
1036
|
-
name="tf-
|
1035
|
+
project_id="tf-test_13293",
|
1036
|
+
name="tf-test_40289",
|
1037
1037
|
org_id="123456789",
|
1038
1038
|
billing_account="000000-0000000-0000000-000000")
|
1039
1039
|
wait60_seconds = time.index.Sleep("wait_60_seconds", create_duration=60s,
|
@@ -27,7 +27,10 @@ class GetPrivateCloudResult:
|
|
27
27
|
"""
|
28
28
|
A collection of values returned by getPrivateCloud.
|
29
29
|
"""
|
30
|
-
def __init__(__self__, description=None, hcxes=None, id=None, location=None, management_clusters=None, name=None, network_configs=None, nsxes=None, project=None, state=None, type=None, uid=None, vcenters=None):
|
30
|
+
def __init__(__self__, deletion_delay_hours=None, description=None, hcxes=None, id=None, location=None, management_clusters=None, name=None, network_configs=None, nsxes=None, project=None, send_deletion_delay_hours_if_zero=None, state=None, type=None, uid=None, vcenters=None):
|
31
|
+
if deletion_delay_hours and not isinstance(deletion_delay_hours, int):
|
32
|
+
raise TypeError("Expected argument 'deletion_delay_hours' to be a int")
|
33
|
+
pulumi.set(__self__, "deletion_delay_hours", deletion_delay_hours)
|
31
34
|
if description and not isinstance(description, str):
|
32
35
|
raise TypeError("Expected argument 'description' to be a str")
|
33
36
|
pulumi.set(__self__, "description", description)
|
@@ -55,6 +58,9 @@ class GetPrivateCloudResult:
|
|
55
58
|
if project and not isinstance(project, str):
|
56
59
|
raise TypeError("Expected argument 'project' to be a str")
|
57
60
|
pulumi.set(__self__, "project", project)
|
61
|
+
if send_deletion_delay_hours_if_zero and not isinstance(send_deletion_delay_hours_if_zero, bool):
|
62
|
+
raise TypeError("Expected argument 'send_deletion_delay_hours_if_zero' to be a bool")
|
63
|
+
pulumi.set(__self__, "send_deletion_delay_hours_if_zero", send_deletion_delay_hours_if_zero)
|
58
64
|
if state and not isinstance(state, str):
|
59
65
|
raise TypeError("Expected argument 'state' to be a str")
|
60
66
|
pulumi.set(__self__, "state", state)
|
@@ -68,6 +74,11 @@ class GetPrivateCloudResult:
|
|
68
74
|
raise TypeError("Expected argument 'vcenters' to be a list")
|
69
75
|
pulumi.set(__self__, "vcenters", vcenters)
|
70
76
|
|
77
|
+
@property
|
78
|
+
@pulumi.getter(name="deletionDelayHours")
|
79
|
+
def deletion_delay_hours(self) -> int:
|
80
|
+
return pulumi.get(self, "deletion_delay_hours")
|
81
|
+
|
71
82
|
@property
|
72
83
|
@pulumi.getter
|
73
84
|
def description(self) -> str:
|
@@ -116,6 +127,11 @@ class GetPrivateCloudResult:
|
|
116
127
|
def project(self) -> Optional[str]:
|
117
128
|
return pulumi.get(self, "project")
|
118
129
|
|
130
|
+
@property
|
131
|
+
@pulumi.getter(name="sendDeletionDelayHoursIfZero")
|
132
|
+
def send_deletion_delay_hours_if_zero(self) -> bool:
|
133
|
+
return pulumi.get(self, "send_deletion_delay_hours_if_zero")
|
134
|
+
|
119
135
|
@property
|
120
136
|
@pulumi.getter
|
121
137
|
def state(self) -> str:
|
@@ -143,6 +159,7 @@ class AwaitableGetPrivateCloudResult(GetPrivateCloudResult):
|
|
143
159
|
if False:
|
144
160
|
yield self
|
145
161
|
return GetPrivateCloudResult(
|
162
|
+
deletion_delay_hours=self.deletion_delay_hours,
|
146
163
|
description=self.description,
|
147
164
|
hcxes=self.hcxes,
|
148
165
|
id=self.id,
|
@@ -152,6 +169,7 @@ class AwaitableGetPrivateCloudResult(GetPrivateCloudResult):
|
|
152
169
|
network_configs=self.network_configs,
|
153
170
|
nsxes=self.nsxes,
|
154
171
|
project=self.project,
|
172
|
+
send_deletion_delay_hours_if_zero=self.send_deletion_delay_hours_if_zero,
|
155
173
|
state=self.state,
|
156
174
|
type=self.type,
|
157
175
|
uid=self.uid,
|
@@ -194,6 +212,7 @@ def get_private_cloud(location: Optional[str] = None,
|
|
194
212
|
__ret__ = pulumi.runtime.invoke('gcp:vmwareengine/getPrivateCloud:getPrivateCloud', __args__, opts=opts, typ=GetPrivateCloudResult).value
|
195
213
|
|
196
214
|
return AwaitableGetPrivateCloudResult(
|
215
|
+
deletion_delay_hours=pulumi.get(__ret__, 'deletion_delay_hours'),
|
197
216
|
description=pulumi.get(__ret__, 'description'),
|
198
217
|
hcxes=pulumi.get(__ret__, 'hcxes'),
|
199
218
|
id=pulumi.get(__ret__, 'id'),
|
@@ -203,6 +222,7 @@ def get_private_cloud(location: Optional[str] = None,
|
|
203
222
|
network_configs=pulumi.get(__ret__, 'network_configs'),
|
204
223
|
nsxes=pulumi.get(__ret__, 'nsxes'),
|
205
224
|
project=pulumi.get(__ret__, 'project'),
|
225
|
+
send_deletion_delay_hours_if_zero=pulumi.get(__ret__, 'send_deletion_delay_hours_if_zero'),
|
206
226
|
state=pulumi.get(__ret__, 'state'),
|
207
227
|
type=pulumi.get(__ret__, 'type'),
|
208
228
|
uid=pulumi.get(__ret__, 'uid'),
|