pulumi-gcp 8.1.0__py3-none-any.whl → 8.1.0a1726293903__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 -24
- pulumi_gcp/alloydb/_inputs.py +0 -94
- pulumi_gcp/alloydb/cluster.py +1 -94
- pulumi_gcp/alloydb/outputs.py +0 -79
- pulumi_gcp/assuredworkloads/workload.py +16 -135
- pulumi_gcp/backupdisasterrecovery/__init__.py +0 -1
- pulumi_gcp/bigquery/_inputs.py +0 -33
- pulumi_gcp/bigquery/data_transfer_config.py +6 -134
- pulumi_gcp/bigquery/outputs.py +0 -36
- pulumi_gcp/bigqueryanalyticshub/_inputs.py +7 -169
- pulumi_gcp/bigqueryanalyticshub/data_exchange.py +3 -96
- pulumi_gcp/bigqueryanalyticshub/listing.py +0 -114
- pulumi_gcp/bigqueryanalyticshub/outputs.py +5 -138
- pulumi_gcp/bigtable/_inputs.py +1 -21
- pulumi_gcp/bigtable/outputs.py +1 -13
- pulumi_gcp/bigtable/table.py +0 -34
- pulumi_gcp/certificateauthority/authority.py +7 -14
- pulumi_gcp/certificatemanager/__init__.py +0 -1
- pulumi_gcp/certificatemanager/certificate.py +0 -28
- pulumi_gcp/certificatemanager/outputs.py +0 -322
- pulumi_gcp/cloudbuild/_inputs.py +6 -6
- pulumi_gcp/cloudbuild/outputs.py +4 -4
- pulumi_gcp/cloudrun/_inputs.py +12 -6
- pulumi_gcp/cloudrun/outputs.py +16 -8
- pulumi_gcp/cloudrunv2/_inputs.py +15 -72
- pulumi_gcp/cloudrunv2/outputs.py +16 -82
- pulumi_gcp/cloudrunv2/service.py +4 -50
- pulumi_gcp/cloudtasks/_inputs.py +0 -630
- pulumi_gcp/cloudtasks/outputs.py +0 -479
- pulumi_gcp/cloudtasks/queue.py +0 -238
- pulumi_gcp/compute/_inputs.py +9 -129
- pulumi_gcp/compute/get_instance.py +1 -1
- pulumi_gcp/compute/health_check.py +0 -114
- pulumi_gcp/compute/instance.py +4 -86
- pulumi_gcp/compute/instance_template.py +0 -66
- pulumi_gcp/compute/interconnect.py +21 -28
- pulumi_gcp/compute/node_template.py +0 -93
- pulumi_gcp/compute/outputs.py +6 -108
- pulumi_gcp/compute/target_https_proxy.py +0 -28
- pulumi_gcp/container/_inputs.py +3 -140
- pulumi_gcp/container/attached_cluster.py +7 -7
- pulumi_gcp/container/outputs.py +2 -174
- pulumi_gcp/databasemigrationservice/_inputs.py +148 -176
- pulumi_gcp/databasemigrationservice/connection_profile.py +0 -206
- pulumi_gcp/databasemigrationservice/outputs.py +87 -109
- pulumi_gcp/dataloss/_inputs.py +1 -353
- pulumi_gcp/dataloss/outputs.py +3 -274
- pulumi_gcp/dataproc/_inputs.py +27 -27
- pulumi_gcp/dataproc/outputs.py +18 -18
- pulumi_gcp/datastream/_inputs.py +1 -69
- pulumi_gcp/datastream/outputs.py +2 -44
- pulumi_gcp/datastream/stream.py +7 -194
- pulumi_gcp/discoveryengine/_inputs.py +0 -188
- pulumi_gcp/discoveryengine/data_store.py +14 -14
- pulumi_gcp/discoveryengine/outputs.py +1 -153
- pulumi_gcp/firebase/database_instance.py +7 -7
- pulumi_gcp/gkehub/_inputs.py +1 -25
- pulumi_gcp/gkehub/feature_membership.py +6 -12
- pulumi_gcp/gkehub/outputs.py +1 -17
- pulumi_gcp/iam/_inputs.py +0 -196
- pulumi_gcp/iam/get_workload_identity_pool_provider.py +3 -13
- pulumi_gcp/iam/outputs.py +0 -295
- pulumi_gcp/iam/workload_identity_pool_provider.py +3 -164
- pulumi_gcp/kms/__init__.py +0 -2
- pulumi_gcp/kms/autokey_config.py +2 -10
- pulumi_gcp/kms/outputs.py +0 -164
- pulumi_gcp/netapp/active_directory.py +6 -6
- pulumi_gcp/netapp/backup.py +6 -6
- pulumi_gcp/netapp/backup_policy.py +6 -6
- pulumi_gcp/netapp/backup_vault.py +6 -6
- pulumi_gcp/netapp/storage_pool.py +4 -4
- pulumi_gcp/netapp/volume.py +0 -7
- pulumi_gcp/networkconnectivity/_inputs.py +1 -21
- pulumi_gcp/networkconnectivity/outputs.py +1 -15
- pulumi_gcp/networkconnectivity/spoke.py +0 -8
- pulumi_gcp/networksecurity/client_tls_policy.py +22 -24
- pulumi_gcp/networksecurity/server_tls_policy.py +32 -20
- pulumi_gcp/organizations/get_project.py +3 -13
- pulumi_gcp/organizations/project.py +3 -88
- pulumi_gcp/parallelstore/instance.py +121 -121
- pulumi_gcp/projects/iam_member_remove.py +0 -26
- pulumi_gcp/projects/usage_export_bucket.py +0 -38
- pulumi_gcp/pubsub/_inputs.py +0 -40
- pulumi_gcp/pubsub/outputs.py +1 -51
- pulumi_gcp/pubsub/subscription.py +0 -6
- pulumi_gcp/pulumi-plugin.json +1 -1
- pulumi_gcp/redis/_inputs.py +0 -419
- pulumi_gcp/redis/cluster.py +0 -123
- pulumi_gcp/redis/outputs.py +0 -315
- pulumi_gcp/securitycenter/__init__.py +0 -2
- pulumi_gcp/securitycenter/v2_organization_scc_big_query_exports.py +4 -4
- {pulumi_gcp-8.1.0.dist-info → pulumi_gcp-8.1.0a1726293903.dist-info}/METADATA +1 -1
- {pulumi_gcp-8.1.0.dist-info → pulumi_gcp-8.1.0a1726293903.dist-info}/RECORD +95 -101
- {pulumi_gcp-8.1.0.dist-info → pulumi_gcp-8.1.0a1726293903.dist-info}/WHEEL +1 -1
- pulumi_gcp/backupdisasterrecovery/backup_vault.py +0 -1203
- pulumi_gcp/certificatemanager/get_certificates.py +0 -150
- pulumi_gcp/kms/get_crypto_key_latest_version.py +0 -222
- pulumi_gcp/kms/get_crypto_key_versions.py +0 -175
- pulumi_gcp/securitycenter/v2_folder_scc_big_query_export.py +0 -857
- pulumi_gcp/securitycenter/v2_project_scc_big_query_export.py +0 -796
- {pulumi_gcp-8.1.0.dist-info → pulumi_gcp-8.1.0a1726293903.dist-info}/top_level.txt +0 -0
@@ -734,109 +734,6 @@ class ConnectionProfile(pulumi.CustomResource):
|
|
734
734
|
},
|
735
735
|
opts = pulumi.ResourceOptions(depends_on=[vpc_connection]))
|
736
736
|
```
|
737
|
-
### Database Migration Service Connection Profile Existing Mysql
|
738
|
-
|
739
|
-
```python
|
740
|
-
import pulumi
|
741
|
-
import pulumi_gcp as gcp
|
742
|
-
|
743
|
-
project = gcp.organizations.get_project()
|
744
|
-
destination_csql = gcp.sql.DatabaseInstance("destination_csql",
|
745
|
-
name="destination-csql",
|
746
|
-
database_version="MYSQL_5_7",
|
747
|
-
settings={
|
748
|
-
"tier": "db-n1-standard-1",
|
749
|
-
"deletion_protection_enabled": False,
|
750
|
-
},
|
751
|
-
deletion_protection=False)
|
752
|
-
existing_mysql = gcp.databasemigrationservice.ConnectionProfile("existing-mysql",
|
753
|
-
location="us-central1",
|
754
|
-
connection_profile_id="destination-cp",
|
755
|
-
display_name="destination-cp_display",
|
756
|
-
labels={
|
757
|
-
"foo": "bar",
|
758
|
-
},
|
759
|
-
mysql={
|
760
|
-
"cloud_sql_id": "destination-csql",
|
761
|
-
},
|
762
|
-
opts = pulumi.ResourceOptions(depends_on=[destination_csql]))
|
763
|
-
```
|
764
|
-
### Database Migration Service Connection Profile Existing Postgres
|
765
|
-
|
766
|
-
```python
|
767
|
-
import pulumi
|
768
|
-
import pulumi_gcp as gcp
|
769
|
-
|
770
|
-
project = gcp.organizations.get_project()
|
771
|
-
destination_csql = gcp.sql.DatabaseInstance("destination_csql",
|
772
|
-
name="destination-csql",
|
773
|
-
database_version="POSTGRES_15",
|
774
|
-
settings={
|
775
|
-
"tier": "db-custom-2-13312",
|
776
|
-
"deletion_protection_enabled": False,
|
777
|
-
},
|
778
|
-
deletion_protection=False)
|
779
|
-
existing_psql = gcp.databasemigrationservice.ConnectionProfile("existing-psql",
|
780
|
-
location="us-central1",
|
781
|
-
connection_profile_id="destination-cp",
|
782
|
-
display_name="destination-cp_display",
|
783
|
-
labels={
|
784
|
-
"foo": "bar",
|
785
|
-
},
|
786
|
-
postgresql={
|
787
|
-
"cloud_sql_id": "destination-csql",
|
788
|
-
},
|
789
|
-
opts = pulumi.ResourceOptions(depends_on=[destination_csql]))
|
790
|
-
```
|
791
|
-
### Database Migration Service Connection Profile Existing Alloydb
|
792
|
-
|
793
|
-
```python
|
794
|
-
import pulumi
|
795
|
-
import pulumi_gcp as gcp
|
796
|
-
|
797
|
-
project = gcp.organizations.get_project()
|
798
|
-
default = gcp.compute.Network("default", name="destination-alloydb")
|
799
|
-
destination_alloydb = gcp.alloydb.Cluster("destination_alloydb",
|
800
|
-
cluster_id="destination-alloydb",
|
801
|
-
location="us-central1",
|
802
|
-
network_config={
|
803
|
-
"network": default.id,
|
804
|
-
},
|
805
|
-
database_version="POSTGRES_15",
|
806
|
-
initial_user={
|
807
|
-
"user": "destination-alloydb",
|
808
|
-
"password": "destination-alloydb",
|
809
|
-
})
|
810
|
-
private_ip_alloc = gcp.compute.GlobalAddress("private_ip_alloc",
|
811
|
-
name="destination-alloydb",
|
812
|
-
address_type="INTERNAL",
|
813
|
-
purpose="VPC_PEERING",
|
814
|
-
prefix_length=16,
|
815
|
-
network=default.id)
|
816
|
-
vpc_connection = gcp.servicenetworking.Connection("vpc_connection",
|
817
|
-
network=default.id,
|
818
|
-
service="servicenetworking.googleapis.com",
|
819
|
-
reserved_peering_ranges=[private_ip_alloc.name])
|
820
|
-
destination_alloydb_primary = gcp.alloydb.Instance("destination_alloydb_primary",
|
821
|
-
cluster=destination_alloydb.name,
|
822
|
-
instance_id="destination-alloydb-primary",
|
823
|
-
instance_type="PRIMARY",
|
824
|
-
opts = pulumi.ResourceOptions(depends_on=[vpc_connection]))
|
825
|
-
existing_alloydb = gcp.databasemigrationservice.ConnectionProfile("existing-alloydb",
|
826
|
-
location="us-central1",
|
827
|
-
connection_profile_id="destination-cp",
|
828
|
-
display_name="destination-cp_display",
|
829
|
-
labels={
|
830
|
-
"foo": "bar",
|
831
|
-
},
|
832
|
-
postgresql={
|
833
|
-
"alloydb_cluster_id": "destination-alloydb",
|
834
|
-
},
|
835
|
-
opts = pulumi.ResourceOptions(depends_on=[
|
836
|
-
destination_alloydb,
|
837
|
-
destination_alloydb_primary,
|
838
|
-
]))
|
839
|
-
```
|
840
737
|
|
841
738
|
## Import
|
842
739
|
|
@@ -1094,109 +991,6 @@ class ConnectionProfile(pulumi.CustomResource):
|
|
1094
991
|
},
|
1095
992
|
opts = pulumi.ResourceOptions(depends_on=[vpc_connection]))
|
1096
993
|
```
|
1097
|
-
### Database Migration Service Connection Profile Existing Mysql
|
1098
|
-
|
1099
|
-
```python
|
1100
|
-
import pulumi
|
1101
|
-
import pulumi_gcp as gcp
|
1102
|
-
|
1103
|
-
project = gcp.organizations.get_project()
|
1104
|
-
destination_csql = gcp.sql.DatabaseInstance("destination_csql",
|
1105
|
-
name="destination-csql",
|
1106
|
-
database_version="MYSQL_5_7",
|
1107
|
-
settings={
|
1108
|
-
"tier": "db-n1-standard-1",
|
1109
|
-
"deletion_protection_enabled": False,
|
1110
|
-
},
|
1111
|
-
deletion_protection=False)
|
1112
|
-
existing_mysql = gcp.databasemigrationservice.ConnectionProfile("existing-mysql",
|
1113
|
-
location="us-central1",
|
1114
|
-
connection_profile_id="destination-cp",
|
1115
|
-
display_name="destination-cp_display",
|
1116
|
-
labels={
|
1117
|
-
"foo": "bar",
|
1118
|
-
},
|
1119
|
-
mysql={
|
1120
|
-
"cloud_sql_id": "destination-csql",
|
1121
|
-
},
|
1122
|
-
opts = pulumi.ResourceOptions(depends_on=[destination_csql]))
|
1123
|
-
```
|
1124
|
-
### Database Migration Service Connection Profile Existing Postgres
|
1125
|
-
|
1126
|
-
```python
|
1127
|
-
import pulumi
|
1128
|
-
import pulumi_gcp as gcp
|
1129
|
-
|
1130
|
-
project = gcp.organizations.get_project()
|
1131
|
-
destination_csql = gcp.sql.DatabaseInstance("destination_csql",
|
1132
|
-
name="destination-csql",
|
1133
|
-
database_version="POSTGRES_15",
|
1134
|
-
settings={
|
1135
|
-
"tier": "db-custom-2-13312",
|
1136
|
-
"deletion_protection_enabled": False,
|
1137
|
-
},
|
1138
|
-
deletion_protection=False)
|
1139
|
-
existing_psql = gcp.databasemigrationservice.ConnectionProfile("existing-psql",
|
1140
|
-
location="us-central1",
|
1141
|
-
connection_profile_id="destination-cp",
|
1142
|
-
display_name="destination-cp_display",
|
1143
|
-
labels={
|
1144
|
-
"foo": "bar",
|
1145
|
-
},
|
1146
|
-
postgresql={
|
1147
|
-
"cloud_sql_id": "destination-csql",
|
1148
|
-
},
|
1149
|
-
opts = pulumi.ResourceOptions(depends_on=[destination_csql]))
|
1150
|
-
```
|
1151
|
-
### Database Migration Service Connection Profile Existing Alloydb
|
1152
|
-
|
1153
|
-
```python
|
1154
|
-
import pulumi
|
1155
|
-
import pulumi_gcp as gcp
|
1156
|
-
|
1157
|
-
project = gcp.organizations.get_project()
|
1158
|
-
default = gcp.compute.Network("default", name="destination-alloydb")
|
1159
|
-
destination_alloydb = gcp.alloydb.Cluster("destination_alloydb",
|
1160
|
-
cluster_id="destination-alloydb",
|
1161
|
-
location="us-central1",
|
1162
|
-
network_config={
|
1163
|
-
"network": default.id,
|
1164
|
-
},
|
1165
|
-
database_version="POSTGRES_15",
|
1166
|
-
initial_user={
|
1167
|
-
"user": "destination-alloydb",
|
1168
|
-
"password": "destination-alloydb",
|
1169
|
-
})
|
1170
|
-
private_ip_alloc = gcp.compute.GlobalAddress("private_ip_alloc",
|
1171
|
-
name="destination-alloydb",
|
1172
|
-
address_type="INTERNAL",
|
1173
|
-
purpose="VPC_PEERING",
|
1174
|
-
prefix_length=16,
|
1175
|
-
network=default.id)
|
1176
|
-
vpc_connection = gcp.servicenetworking.Connection("vpc_connection",
|
1177
|
-
network=default.id,
|
1178
|
-
service="servicenetworking.googleapis.com",
|
1179
|
-
reserved_peering_ranges=[private_ip_alloc.name])
|
1180
|
-
destination_alloydb_primary = gcp.alloydb.Instance("destination_alloydb_primary",
|
1181
|
-
cluster=destination_alloydb.name,
|
1182
|
-
instance_id="destination-alloydb-primary",
|
1183
|
-
instance_type="PRIMARY",
|
1184
|
-
opts = pulumi.ResourceOptions(depends_on=[vpc_connection]))
|
1185
|
-
existing_alloydb = gcp.databasemigrationservice.ConnectionProfile("existing-alloydb",
|
1186
|
-
location="us-central1",
|
1187
|
-
connection_profile_id="destination-cp",
|
1188
|
-
display_name="destination-cp_display",
|
1189
|
-
labels={
|
1190
|
-
"foo": "bar",
|
1191
|
-
},
|
1192
|
-
postgresql={
|
1193
|
-
"alloydb_cluster_id": "destination-alloydb",
|
1194
|
-
},
|
1195
|
-
opts = pulumi.ResourceOptions(depends_on=[
|
1196
|
-
destination_alloydb,
|
1197
|
-
destination_alloydb_primary,
|
1198
|
-
]))
|
1199
|
-
```
|
1200
994
|
|
1201
995
|
## Import
|
1202
996
|
|
@@ -932,100 +932,96 @@ class ConnectionProfileMysql(dict):
|
|
932
932
|
return super().get(key, default)
|
933
933
|
|
934
934
|
def __init__(__self__, *,
|
935
|
+
host: str,
|
936
|
+
password: str,
|
937
|
+
port: int,
|
938
|
+
username: str,
|
935
939
|
cloud_sql_id: Optional[str] = None,
|
936
|
-
host: Optional[str] = None,
|
937
|
-
password: Optional[str] = None,
|
938
940
|
password_set: Optional[bool] = None,
|
939
|
-
|
940
|
-
ssl: Optional['outputs.ConnectionProfileMysqlSsl'] = None,
|
941
|
-
username: Optional[str] = None):
|
941
|
+
ssl: Optional['outputs.ConnectionProfileMysqlSsl'] = None):
|
942
942
|
"""
|
943
|
-
:param str
|
944
|
-
:param str
|
945
|
-
:param str password: Input only. The password for the user that Database Migration Service will be using to connect to the database.
|
943
|
+
:param str host: Required. The IP or hostname of the source MySQL database.
|
944
|
+
:param str password: Required. Input only. The password for the user that Database Migration Service will be using to connect to the database.
|
946
945
|
This field is not returned on request, and the value is encrypted when stored in Database Migration Service.
|
947
946
|
**Note**: This property is sensitive and will not be displayed in the plan.
|
947
|
+
:param int port: Required. The network port of the source MySQL database.
|
948
|
+
:param str username: Required. The username that Database Migration Service will use to connect to the database. The value is encrypted when stored in Database Migration Service.
|
949
|
+
:param str cloud_sql_id: If the source is a Cloud SQL database, use this field to provide the Cloud SQL instance ID of the source.
|
948
950
|
:param bool password_set: (Output)
|
949
951
|
Output only. Indicates If this connection profile password is stored.
|
950
|
-
:param int port: The network port of the source MySQL database.
|
951
952
|
:param 'ConnectionProfileMysqlSslArgs' ssl: SSL configuration for the destination to connect to the source database.
|
952
953
|
Structure is documented below.
|
953
|
-
:param str username: The username that Database Migration Service will use to connect to the database. The value is encrypted when stored in Database Migration Service.
|
954
954
|
"""
|
955
|
+
pulumi.set(__self__, "host", host)
|
956
|
+
pulumi.set(__self__, "password", password)
|
957
|
+
pulumi.set(__self__, "port", port)
|
958
|
+
pulumi.set(__self__, "username", username)
|
955
959
|
if cloud_sql_id is not None:
|
956
960
|
pulumi.set(__self__, "cloud_sql_id", cloud_sql_id)
|
957
|
-
if host is not None:
|
958
|
-
pulumi.set(__self__, "host", host)
|
959
|
-
if password is not None:
|
960
|
-
pulumi.set(__self__, "password", password)
|
961
961
|
if password_set is not None:
|
962
962
|
pulumi.set(__self__, "password_set", password_set)
|
963
|
-
if port is not None:
|
964
|
-
pulumi.set(__self__, "port", port)
|
965
963
|
if ssl is not None:
|
966
964
|
pulumi.set(__self__, "ssl", ssl)
|
967
|
-
if username is not None:
|
968
|
-
pulumi.set(__self__, "username", username)
|
969
|
-
|
970
|
-
@property
|
971
|
-
@pulumi.getter(name="cloudSqlId")
|
972
|
-
def cloud_sql_id(self) -> Optional[str]:
|
973
|
-
"""
|
974
|
-
If the source is a Cloud SQL database, use this field to provide the Cloud SQL instance ID of the source.
|
975
|
-
"""
|
976
|
-
return pulumi.get(self, "cloud_sql_id")
|
977
965
|
|
978
966
|
@property
|
979
967
|
@pulumi.getter
|
980
|
-
def host(self) ->
|
968
|
+
def host(self) -> str:
|
981
969
|
"""
|
982
|
-
The IP or hostname of the source MySQL database.
|
970
|
+
Required. The IP or hostname of the source MySQL database.
|
983
971
|
"""
|
984
972
|
return pulumi.get(self, "host")
|
985
973
|
|
986
974
|
@property
|
987
975
|
@pulumi.getter
|
988
|
-
def password(self) ->
|
976
|
+
def password(self) -> str:
|
989
977
|
"""
|
990
|
-
Input only. The password for the user that Database Migration Service will be using to connect to the database.
|
978
|
+
Required. Input only. The password for the user that Database Migration Service will be using to connect to the database.
|
991
979
|
This field is not returned on request, and the value is encrypted when stored in Database Migration Service.
|
992
980
|
**Note**: This property is sensitive and will not be displayed in the plan.
|
993
981
|
"""
|
994
982
|
return pulumi.get(self, "password")
|
995
983
|
|
996
984
|
@property
|
997
|
-
@pulumi.getter
|
998
|
-
def
|
985
|
+
@pulumi.getter
|
986
|
+
def port(self) -> int:
|
999
987
|
"""
|
1000
|
-
|
1001
|
-
Output only. Indicates If this connection profile password is stored.
|
988
|
+
Required. The network port of the source MySQL database.
|
1002
989
|
"""
|
1003
|
-
return pulumi.get(self, "
|
990
|
+
return pulumi.get(self, "port")
|
1004
991
|
|
1005
992
|
@property
|
1006
993
|
@pulumi.getter
|
1007
|
-
def
|
994
|
+
def username(self) -> str:
|
1008
995
|
"""
|
1009
|
-
The
|
996
|
+
Required. The username that Database Migration Service will use to connect to the database. The value is encrypted when stored in Database Migration Service.
|
1010
997
|
"""
|
1011
|
-
return pulumi.get(self, "
|
998
|
+
return pulumi.get(self, "username")
|
1012
999
|
|
1013
1000
|
@property
|
1014
|
-
@pulumi.getter
|
1015
|
-
def
|
1001
|
+
@pulumi.getter(name="cloudSqlId")
|
1002
|
+
def cloud_sql_id(self) -> Optional[str]:
|
1016
1003
|
"""
|
1017
|
-
|
1018
|
-
Structure is documented below.
|
1004
|
+
If the source is a Cloud SQL database, use this field to provide the Cloud SQL instance ID of the source.
|
1019
1005
|
"""
|
1020
|
-
return pulumi.get(self, "
|
1006
|
+
return pulumi.get(self, "cloud_sql_id")
|
1007
|
+
|
1008
|
+
@property
|
1009
|
+
@pulumi.getter(name="passwordSet")
|
1010
|
+
def password_set(self) -> Optional[bool]:
|
1011
|
+
"""
|
1012
|
+
(Output)
|
1013
|
+
Output only. Indicates If this connection profile password is stored.
|
1014
|
+
"""
|
1015
|
+
return pulumi.get(self, "password_set")
|
1021
1016
|
|
1022
1017
|
@property
|
1023
1018
|
@pulumi.getter
|
1024
|
-
def
|
1019
|
+
def ssl(self) -> Optional['outputs.ConnectionProfileMysqlSsl']:
|
1025
1020
|
"""
|
1026
|
-
|
1021
|
+
SSL configuration for the destination to connect to the source database.
|
1022
|
+
Structure is documented below.
|
1027
1023
|
"""
|
1028
|
-
return pulumi.get(self, "
|
1024
|
+
return pulumi.get(self, "ssl")
|
1029
1025
|
|
1030
1026
|
|
1031
1027
|
@pulumi.output_type
|
@@ -1498,9 +1494,7 @@ class ConnectionProfilePostgresql(dict):
|
|
1498
1494
|
@staticmethod
|
1499
1495
|
def __key_warning(key: str):
|
1500
1496
|
suggest = None
|
1501
|
-
if key == "
|
1502
|
-
suggest = "alloydb_cluster_id"
|
1503
|
-
elif key == "cloudSqlId":
|
1497
|
+
if key == "cloudSqlId":
|
1504
1498
|
suggest = "cloud_sql_id"
|
1505
1499
|
elif key == "networkArchitecture":
|
1506
1500
|
suggest = "network_architecture"
|
@@ -1519,73 +1513,83 @@ class ConnectionProfilePostgresql(dict):
|
|
1519
1513
|
return super().get(key, default)
|
1520
1514
|
|
1521
1515
|
def __init__(__self__, *,
|
1522
|
-
|
1516
|
+
host: str,
|
1517
|
+
password: str,
|
1518
|
+
port: int,
|
1519
|
+
username: str,
|
1523
1520
|
cloud_sql_id: Optional[str] = None,
|
1524
|
-
host: Optional[str] = None,
|
1525
1521
|
network_architecture: Optional[str] = None,
|
1526
|
-
password: Optional[str] = None,
|
1527
1522
|
password_set: Optional[bool] = None,
|
1528
|
-
|
1529
|
-
ssl: Optional['outputs.ConnectionProfilePostgresqlSsl'] = None,
|
1530
|
-
username: Optional[str] = None):
|
1523
|
+
ssl: Optional['outputs.ConnectionProfilePostgresqlSsl'] = None):
|
1531
1524
|
"""
|
1532
|
-
:param str
|
1525
|
+
:param str host: Required. The IP or hostname of the source MySQL database.
|
1526
|
+
:param str password: Required. Input only. The password for the user that Database Migration Service will be using to connect to the database.
|
1527
|
+
This field is not returned on request, and the value is encrypted when stored in Database Migration Service.
|
1528
|
+
**Note**: This property is sensitive and will not be displayed in the plan.
|
1529
|
+
:param int port: Required. The network port of the source MySQL database.
|
1530
|
+
:param str username: Required. The username that Database Migration Service will use to connect to the database. The value is encrypted when stored in Database Migration Service.
|
1533
1531
|
:param str cloud_sql_id: If the source is a Cloud SQL database, use this field to provide the Cloud SQL instance ID of the source.
|
1534
|
-
:param str host: The IP or hostname of the source MySQL database.
|
1535
1532
|
:param str network_architecture: (Output)
|
1536
1533
|
Output only. If the source is a Cloud SQL database, this field indicates the network architecture it's associated with.
|
1537
|
-
:param str password: Input only. The password for the user that Database Migration Service will be using to connect to the database.
|
1538
|
-
This field is not returned on request, and the value is encrypted when stored in Database Migration Service.
|
1539
|
-
**Note**: This property is sensitive and will not be displayed in the plan.
|
1540
1534
|
:param bool password_set: (Output)
|
1541
1535
|
Output only. Indicates If this connection profile password is stored.
|
1542
|
-
:param int port: The network port of the source MySQL database.
|
1543
1536
|
:param 'ConnectionProfilePostgresqlSslArgs' ssl: SSL configuration for the destination to connect to the source database.
|
1544
1537
|
Structure is documented below.
|
1545
|
-
:param str username: The username that Database Migration Service will use to connect to the database. The value is encrypted when stored in Database Migration Service.
|
1546
1538
|
"""
|
1547
|
-
|
1548
|
-
|
1539
|
+
pulumi.set(__self__, "host", host)
|
1540
|
+
pulumi.set(__self__, "password", password)
|
1541
|
+
pulumi.set(__self__, "port", port)
|
1542
|
+
pulumi.set(__self__, "username", username)
|
1549
1543
|
if cloud_sql_id is not None:
|
1550
1544
|
pulumi.set(__self__, "cloud_sql_id", cloud_sql_id)
|
1551
|
-
if host is not None:
|
1552
|
-
pulumi.set(__self__, "host", host)
|
1553
1545
|
if network_architecture is not None:
|
1554
1546
|
pulumi.set(__self__, "network_architecture", network_architecture)
|
1555
|
-
if password is not None:
|
1556
|
-
pulumi.set(__self__, "password", password)
|
1557
1547
|
if password_set is not None:
|
1558
1548
|
pulumi.set(__self__, "password_set", password_set)
|
1559
|
-
if port is not None:
|
1560
|
-
pulumi.set(__self__, "port", port)
|
1561
1549
|
if ssl is not None:
|
1562
1550
|
pulumi.set(__self__, "ssl", ssl)
|
1563
|
-
if username is not None:
|
1564
|
-
pulumi.set(__self__, "username", username)
|
1565
1551
|
|
1566
1552
|
@property
|
1567
|
-
@pulumi.getter
|
1568
|
-
def
|
1553
|
+
@pulumi.getter
|
1554
|
+
def host(self) -> str:
|
1569
1555
|
"""
|
1570
|
-
|
1556
|
+
Required. The IP or hostname of the source MySQL database.
|
1571
1557
|
"""
|
1572
|
-
return pulumi.get(self, "
|
1558
|
+
return pulumi.get(self, "host")
|
1573
1559
|
|
1574
1560
|
@property
|
1575
|
-
@pulumi.getter
|
1576
|
-
def
|
1561
|
+
@pulumi.getter
|
1562
|
+
def password(self) -> str:
|
1577
1563
|
"""
|
1578
|
-
|
1564
|
+
Required. Input only. The password for the user that Database Migration Service will be using to connect to the database.
|
1565
|
+
This field is not returned on request, and the value is encrypted when stored in Database Migration Service.
|
1566
|
+
**Note**: This property is sensitive and will not be displayed in the plan.
|
1579
1567
|
"""
|
1580
|
-
return pulumi.get(self, "
|
1568
|
+
return pulumi.get(self, "password")
|
1581
1569
|
|
1582
1570
|
@property
|
1583
1571
|
@pulumi.getter
|
1584
|
-
def
|
1572
|
+
def port(self) -> int:
|
1585
1573
|
"""
|
1586
|
-
The
|
1574
|
+
Required. The network port of the source MySQL database.
|
1587
1575
|
"""
|
1588
|
-
return pulumi.get(self, "
|
1576
|
+
return pulumi.get(self, "port")
|
1577
|
+
|
1578
|
+
@property
|
1579
|
+
@pulumi.getter
|
1580
|
+
def username(self) -> str:
|
1581
|
+
"""
|
1582
|
+
Required. The username that Database Migration Service will use to connect to the database. The value is encrypted when stored in Database Migration Service.
|
1583
|
+
"""
|
1584
|
+
return pulumi.get(self, "username")
|
1585
|
+
|
1586
|
+
@property
|
1587
|
+
@pulumi.getter(name="cloudSqlId")
|
1588
|
+
def cloud_sql_id(self) -> Optional[str]:
|
1589
|
+
"""
|
1590
|
+
If the source is a Cloud SQL database, use this field to provide the Cloud SQL instance ID of the source.
|
1591
|
+
"""
|
1592
|
+
return pulumi.get(self, "cloud_sql_id")
|
1589
1593
|
|
1590
1594
|
@property
|
1591
1595
|
@pulumi.getter(name="networkArchitecture")
|
@@ -1596,16 +1600,6 @@ class ConnectionProfilePostgresql(dict):
|
|
1596
1600
|
"""
|
1597
1601
|
return pulumi.get(self, "network_architecture")
|
1598
1602
|
|
1599
|
-
@property
|
1600
|
-
@pulumi.getter
|
1601
|
-
def password(self) -> Optional[str]:
|
1602
|
-
"""
|
1603
|
-
Input only. The password for the user that Database Migration Service will be using to connect to the database.
|
1604
|
-
This field is not returned on request, and the value is encrypted when stored in Database Migration Service.
|
1605
|
-
**Note**: This property is sensitive and will not be displayed in the plan.
|
1606
|
-
"""
|
1607
|
-
return pulumi.get(self, "password")
|
1608
|
-
|
1609
1603
|
@property
|
1610
1604
|
@pulumi.getter(name="passwordSet")
|
1611
1605
|
def password_set(self) -> Optional[bool]:
|
@@ -1615,14 +1609,6 @@ class ConnectionProfilePostgresql(dict):
|
|
1615
1609
|
"""
|
1616
1610
|
return pulumi.get(self, "password_set")
|
1617
1611
|
|
1618
|
-
@property
|
1619
|
-
@pulumi.getter
|
1620
|
-
def port(self) -> Optional[int]:
|
1621
|
-
"""
|
1622
|
-
The network port of the source MySQL database.
|
1623
|
-
"""
|
1624
|
-
return pulumi.get(self, "port")
|
1625
|
-
|
1626
1612
|
@property
|
1627
1613
|
@pulumi.getter
|
1628
1614
|
def ssl(self) -> Optional['outputs.ConnectionProfilePostgresqlSsl']:
|
@@ -1632,14 +1618,6 @@ class ConnectionProfilePostgresql(dict):
|
|
1632
1618
|
"""
|
1633
1619
|
return pulumi.get(self, "ssl")
|
1634
1620
|
|
1635
|
-
@property
|
1636
|
-
@pulumi.getter
|
1637
|
-
def username(self) -> Optional[str]:
|
1638
|
-
"""
|
1639
|
-
The username that Database Migration Service will use to connect to the database. The value is encrypted when stored in Database Migration Service.
|
1640
|
-
"""
|
1641
|
-
return pulumi.get(self, "username")
|
1642
|
-
|
1643
1621
|
|
1644
1622
|
@pulumi.output_type
|
1645
1623
|
class ConnectionProfilePostgresqlSsl(dict):
|