pulumi-gcp 7.20.0a1713984378__py3-none-any.whl → 7.21.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (131) hide show
  1. pulumi_gcp/__init__.py +48 -0
  2. pulumi_gcp/alloydb/_inputs.py +74 -0
  3. pulumi_gcp/alloydb/backup.py +0 -12
  4. pulumi_gcp/alloydb/cluster.py +0 -12
  5. pulumi_gcp/alloydb/instance.py +90 -81
  6. pulumi_gcp/alloydb/outputs.py +98 -0
  7. pulumi_gcp/apigee/environment.py +47 -0
  8. pulumi_gcp/apigee/organization.py +162 -0
  9. pulumi_gcp/apigee/sharedflow.py +0 -20
  10. pulumi_gcp/appengine/flexible_app_version.py +0 -20
  11. pulumi_gcp/applicationintegration/__init__.py +1 -0
  12. pulumi_gcp/applicationintegration/_inputs.py +843 -0
  13. pulumi_gcp/applicationintegration/auth_config.py +998 -0
  14. pulumi_gcp/applicationintegration/outputs.py +891 -0
  15. pulumi_gcp/artifactregistry/_inputs.py +186 -0
  16. pulumi_gcp/artifactregistry/outputs.py +297 -4
  17. pulumi_gcp/artifactregistry/repository.py +346 -16
  18. pulumi_gcp/bigquery/table.py +61 -0
  19. pulumi_gcp/bigquerydatapolicy/_inputs.py +21 -4
  20. pulumi_gcp/bigquerydatapolicy/data_policy.py +78 -0
  21. pulumi_gcp/bigquerydatapolicy/outputs.py +16 -3
  22. pulumi_gcp/billing/budget.py +54 -0
  23. pulumi_gcp/certificateauthority/_inputs.py +92 -12
  24. pulumi_gcp/certificateauthority/authority.py +117 -27
  25. pulumi_gcp/certificateauthority/certificate.py +176 -0
  26. pulumi_gcp/certificateauthority/outputs.py +144 -12
  27. pulumi_gcp/cloudbuild/worker_pool.py +0 -12
  28. pulumi_gcp/cloudbuildv2/connection.py +0 -12
  29. pulumi_gcp/cloudbuildv2/repository.py +0 -12
  30. pulumi_gcp/clouddeploy/automation.py +0 -12
  31. pulumi_gcp/clouddeploy/custom_target_type.py +0 -12
  32. pulumi_gcp/clouddeploy/delivery_pipeline.py +0 -12
  33. pulumi_gcp/clouddeploy/target.py +0 -12
  34. pulumi_gcp/cloudfunctionsv2/_inputs.py +16 -0
  35. pulumi_gcp/cloudfunctionsv2/function.py +110 -0
  36. pulumi_gcp/cloudfunctionsv2/outputs.py +25 -0
  37. pulumi_gcp/cloudrunv2/job.py +0 -12
  38. pulumi_gcp/cloudrunv2/service.py +0 -12
  39. pulumi_gcp/composer/__init__.py +1 -0
  40. pulumi_gcp/composer/environment.py +35 -47
  41. pulumi_gcp/composer/user_workloads_secret.py +441 -0
  42. pulumi_gcp/compute/__init__.py +1 -0
  43. pulumi_gcp/compute/_inputs.py +169 -58
  44. pulumi_gcp/compute/forwarding_rule.py +0 -13
  45. pulumi_gcp/compute/get_instance_group_manager.py +11 -1
  46. pulumi_gcp/compute/global_address.py +0 -12
  47. pulumi_gcp/compute/global_forwarding_rule.py +0 -282
  48. pulumi_gcp/compute/instance_from_machine_image.py +14 -46
  49. pulumi_gcp/compute/instance_from_template.py +14 -46
  50. pulumi_gcp/compute/instance_group_manager.py +68 -21
  51. pulumi_gcp/compute/outputs.py +213 -65
  52. pulumi_gcp/compute/region_instance_group_manager.py +61 -14
  53. pulumi_gcp/compute/region_instance_template.py +0 -13
  54. pulumi_gcp/compute/region_target_https_proxy.py +257 -0
  55. pulumi_gcp/compute/region_url_map.py +0 -470
  56. pulumi_gcp/compute/security_policy_rule.py +850 -0
  57. pulumi_gcp/container/attached_cluster.py +0 -12
  58. pulumi_gcp/container/aws_cluster.py +0 -12
  59. pulumi_gcp/container/aws_node_pool.py +0 -12
  60. pulumi_gcp/container/azure_cluster.py +0 -12
  61. pulumi_gcp/container/azure_node_pool.py +0 -12
  62. pulumi_gcp/container/cluster.py +0 -20
  63. pulumi_gcp/container/outputs.py +4 -4
  64. pulumi_gcp/dataflow/flex_template_job.py +0 -39
  65. pulumi_gcp/dataloss/__init__.py +1 -0
  66. pulumi_gcp/dataloss/_inputs.py +1040 -0
  67. pulumi_gcp/dataloss/outputs.py +1123 -0
  68. pulumi_gcp/dataloss/prevention_discovery_config.py +737 -0
  69. pulumi_gcp/dataproc/cluster.py +0 -20
  70. pulumi_gcp/dataproc/workflow_template.py +21 -26
  71. pulumi_gcp/deploymentmanager/deployment.py +0 -34
  72. pulumi_gcp/dns/_inputs.py +2 -130
  73. pulumi_gcp/dns/get_keys.py +1 -1
  74. pulumi_gcp/dns/get_managed_zones.py +3 -9
  75. pulumi_gcp/dns/get_record_set.py +3 -0
  76. pulumi_gcp/dns/outputs.py +36 -58
  77. pulumi_gcp/dns/record_set.py +2 -36
  78. pulumi_gcp/filestore/get_instance.py +11 -1
  79. pulumi_gcp/filestore/instance.py +101 -0
  80. pulumi_gcp/firebase/_inputs.py +16 -0
  81. pulumi_gcp/firebase/android_app.py +0 -27
  82. pulumi_gcp/firebase/app_check_play_integrity_config.py +20 -0
  83. pulumi_gcp/firebase/app_check_recaptcha_enterprise_config.py +10 -0
  84. pulumi_gcp/firebase/app_check_service_config.py +0 -125
  85. pulumi_gcp/firebase/apple_app.py +0 -27
  86. pulumi_gcp/firebase/hosting_custom_domain.py +0 -27
  87. pulumi_gcp/firebase/hosting_version.py +44 -0
  88. pulumi_gcp/firebase/outputs.py +12 -0
  89. pulumi_gcp/firebase/web_app.py +0 -20
  90. pulumi_gcp/firestore/database.py +0 -68
  91. pulumi_gcp/firestore/document.py +4 -4
  92. pulumi_gcp/gkeonprem/bare_metal_admin_cluster.py +0 -12
  93. pulumi_gcp/gkeonprem/bare_metal_cluster.py +0 -12
  94. pulumi_gcp/gkeonprem/bare_metal_node_pool.py +0 -12
  95. pulumi_gcp/gkeonprem/v_mware_cluster.py +0 -12
  96. pulumi_gcp/gkeonprem/v_mware_node_pool.py +0 -12
  97. pulumi_gcp/logging/folder_sink.py +54 -0
  98. pulumi_gcp/logging/organization_sink.py +54 -0
  99. pulumi_gcp/monitoring/_inputs.py +46 -2
  100. pulumi_gcp/monitoring/outputs.py +40 -2
  101. pulumi_gcp/monitoring/uptime_check_config.py +6 -0
  102. pulumi_gcp/netapp/active_directory.py +0 -20
  103. pulumi_gcp/netapp/volume_replication.py +0 -68
  104. pulumi_gcp/networkconnectivity/__init__.py +1 -0
  105. pulumi_gcp/networkconnectivity/internal_range.py +1024 -0
  106. pulumi_gcp/organizations/get_active_folder.py +18 -3
  107. pulumi_gcp/projects/__init__.py +1 -0
  108. pulumi_gcp/projects/iam_member_remove.py +313 -0
  109. pulumi_gcp/provider.py +3 -1
  110. pulumi_gcp/secretmanager/get_secret.py +13 -3
  111. pulumi_gcp/secretmanager/outputs.py +20 -1
  112. pulumi_gcp/secretmanager/secret.py +90 -15
  113. pulumi_gcp/servicenetworking/connection.py +0 -20
  114. pulumi_gcp/spanner/database.py +0 -41
  115. pulumi_gcp/spanner/instance.py +0 -40
  116. pulumi_gcp/storage/__init__.py +1 -0
  117. pulumi_gcp/storage/bucket.py +0 -12
  118. pulumi_gcp/storage/get_bucket_objects.py +153 -0
  119. pulumi_gcp/storage/outputs.py +63 -0
  120. pulumi_gcp/vmwareengine/_inputs.py +63 -5
  121. pulumi_gcp/vmwareengine/get_private_cloud.py +1 -21
  122. pulumi_gcp/vmwareengine/outputs.py +113 -5
  123. pulumi_gcp/vmwareengine/private_cloud.py +0 -94
  124. pulumi_gcp/workbench/instance.py +4 -4
  125. pulumi_gcp/workstations/workstation.py +0 -12
  126. pulumi_gcp/workstations/workstation_cluster.py +32 -12
  127. pulumi_gcp/workstations/workstation_config.py +0 -12
  128. {pulumi_gcp-7.20.0a1713984378.dist-info → pulumi_gcp-7.21.0.dist-info}/METADATA +1 -1
  129. {pulumi_gcp-7.20.0a1713984378.dist-info → pulumi_gcp-7.21.0.dist-info}/RECORD +131 -124
  130. {pulumi_gcp-7.20.0a1713984378.dist-info → pulumi_gcp-7.21.0.dist-info}/WHEEL +0 -0
  131. {pulumi_gcp-7.20.0a1713984378.dist-info → pulumi_gcp-7.21.0.dist-info}/top_level.txt +0 -0
pulumi_gcp/__init__.py CHANGED
@@ -929,6 +929,14 @@ _utilities.register(
929
929
  "gcp:apphub/workload:Workload": "Workload"
930
930
  }
931
931
  },
932
+ {
933
+ "pkg": "gcp",
934
+ "mod": "applicationintegration/authConfig",
935
+ "fqn": "pulumi_gcp.applicationintegration",
936
+ "classes": {
937
+ "gcp:applicationintegration/authConfig:AuthConfig": "AuthConfig"
938
+ }
939
+ },
932
940
  {
933
941
  "pkg": "gcp",
934
942
  "mod": "applicationintegration/client",
@@ -2049,6 +2057,14 @@ _utilities.register(
2049
2057
  "gcp:composer/environment:Environment": "Environment"
2050
2058
  }
2051
2059
  },
2060
+ {
2061
+ "pkg": "gcp",
2062
+ "mod": "composer/userWorkloadsSecret",
2063
+ "fqn": "pulumi_gcp.composer",
2064
+ "classes": {
2065
+ "gcp:composer/userWorkloadsSecret:UserWorkloadsSecret": "UserWorkloadsSecret"
2066
+ }
2067
+ },
2052
2068
  {
2053
2069
  "pkg": "gcp",
2054
2070
  "mod": "compute/address",
@@ -2993,6 +3009,14 @@ _utilities.register(
2993
3009
  "gcp:compute/securityPolicy:SecurityPolicy": "SecurityPolicy"
2994
3010
  }
2995
3011
  },
3012
+ {
3013
+ "pkg": "gcp",
3014
+ "mod": "compute/securityPolicyRule",
3015
+ "fqn": "pulumi_gcp.compute",
3016
+ "classes": {
3017
+ "gcp:compute/securityPolicyRule:SecurityPolicyRule": "SecurityPolicyRule"
3018
+ }
3019
+ },
2996
3020
  {
2997
3021
  "pkg": "gcp",
2998
3022
  "mod": "compute/securityScanConfig",
@@ -3529,6 +3553,14 @@ _utilities.register(
3529
3553
  "gcp:dataloss/preventionDeidentifyTemplate:PreventionDeidentifyTemplate": "PreventionDeidentifyTemplate"
3530
3554
  }
3531
3555
  },
3556
+ {
3557
+ "pkg": "gcp",
3558
+ "mod": "dataloss/preventionDiscoveryConfig",
3559
+ "fqn": "pulumi_gcp.dataloss",
3560
+ "classes": {
3561
+ "gcp:dataloss/preventionDiscoveryConfig:PreventionDiscoveryConfig": "PreventionDiscoveryConfig"
3562
+ }
3563
+ },
3532
3564
  {
3533
3565
  "pkg": "gcp",
3534
3566
  "mod": "dataloss/preventionInspectTemplate",
@@ -5793,6 +5825,14 @@ _utilities.register(
5793
5825
  "gcp:networkconnectivity/hub:Hub": "Hub"
5794
5826
  }
5795
5827
  },
5828
+ {
5829
+ "pkg": "gcp",
5830
+ "mod": "networkconnectivity/internalRange",
5831
+ "fqn": "pulumi_gcp.networkconnectivity",
5832
+ "classes": {
5833
+ "gcp:networkconnectivity/internalRange:InternalRange": "InternalRange"
5834
+ }
5835
+ },
5796
5836
  {
5797
5837
  "pkg": "gcp",
5798
5838
  "mod": "networkconnectivity/policyBasedRoute",
@@ -6305,6 +6345,14 @@ _utilities.register(
6305
6345
  "gcp:projects/iAMPolicy:IAMPolicy": "IAMPolicy"
6306
6346
  }
6307
6347
  },
6348
+ {
6349
+ "pkg": "gcp",
6350
+ "mod": "projects/iamMemberRemove",
6351
+ "fqn": "pulumi_gcp.projects",
6352
+ "classes": {
6353
+ "gcp:projects/iamMemberRemove:IamMemberRemove": "IamMemberRemove"
6354
+ }
6355
+ },
6308
6356
  {
6309
6357
  "pkg": "gcp",
6310
6358
  "mod": "projects/organizationPolicy",
@@ -35,6 +35,8 @@ __all__ = [
35
35
  'InstanceClientConnectionConfigArgs',
36
36
  'InstanceClientConnectionConfigSslConfigArgs',
37
37
  'InstanceMachineConfigArgs',
38
+ 'InstanceNetworkConfigArgs',
39
+ 'InstanceNetworkConfigAuthorizedExternalNetworkArgs',
38
40
  'InstanceQueryInsightsConfigArgs',
39
41
  'InstanceReadPoolConfigArgs',
40
42
  ]
@@ -1084,6 +1086,78 @@ class InstanceMachineConfigArgs:
1084
1086
  pulumi.set(self, "cpu_count", value)
1085
1087
 
1086
1088
 
1089
+ @pulumi.input_type
1090
+ class InstanceNetworkConfigArgs:
1091
+ def __init__(__self__, *,
1092
+ authorized_external_networks: Optional[pulumi.Input[Sequence[pulumi.Input['InstanceNetworkConfigAuthorizedExternalNetworkArgs']]]] = None,
1093
+ enable_public_ip: Optional[pulumi.Input[bool]] = None):
1094
+ """
1095
+ :param pulumi.Input[Sequence[pulumi.Input['InstanceNetworkConfigAuthorizedExternalNetworkArgs']]] authorized_external_networks: A list of external networks authorized to access this instance. This
1096
+ field is only allowed to be set when `enable_public_ip` is set to
1097
+ true.
1098
+ Structure is documented below.
1099
+ :param pulumi.Input[bool] enable_public_ip: Enabling public ip for the instance. If a user wishes to disable this,
1100
+ please also clear the list of the authorized external networks set on
1101
+ the same instance.
1102
+ """
1103
+ if authorized_external_networks is not None:
1104
+ pulumi.set(__self__, "authorized_external_networks", authorized_external_networks)
1105
+ if enable_public_ip is not None:
1106
+ pulumi.set(__self__, "enable_public_ip", enable_public_ip)
1107
+
1108
+ @property
1109
+ @pulumi.getter(name="authorizedExternalNetworks")
1110
+ def authorized_external_networks(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['InstanceNetworkConfigAuthorizedExternalNetworkArgs']]]]:
1111
+ """
1112
+ A list of external networks authorized to access this instance. This
1113
+ field is only allowed to be set when `enable_public_ip` is set to
1114
+ true.
1115
+ Structure is documented below.
1116
+ """
1117
+ return pulumi.get(self, "authorized_external_networks")
1118
+
1119
+ @authorized_external_networks.setter
1120
+ def authorized_external_networks(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['InstanceNetworkConfigAuthorizedExternalNetworkArgs']]]]):
1121
+ pulumi.set(self, "authorized_external_networks", value)
1122
+
1123
+ @property
1124
+ @pulumi.getter(name="enablePublicIp")
1125
+ def enable_public_ip(self) -> Optional[pulumi.Input[bool]]:
1126
+ """
1127
+ Enabling public ip for the instance. If a user wishes to disable this,
1128
+ please also clear the list of the authorized external networks set on
1129
+ the same instance.
1130
+ """
1131
+ return pulumi.get(self, "enable_public_ip")
1132
+
1133
+ @enable_public_ip.setter
1134
+ def enable_public_ip(self, value: Optional[pulumi.Input[bool]]):
1135
+ pulumi.set(self, "enable_public_ip", value)
1136
+
1137
+
1138
+ @pulumi.input_type
1139
+ class InstanceNetworkConfigAuthorizedExternalNetworkArgs:
1140
+ def __init__(__self__, *,
1141
+ cidr_range: Optional[pulumi.Input[str]] = None):
1142
+ """
1143
+ :param pulumi.Input[str] cidr_range: CIDR range for one authorized network of the instance.
1144
+ """
1145
+ if cidr_range is not None:
1146
+ pulumi.set(__self__, "cidr_range", cidr_range)
1147
+
1148
+ @property
1149
+ @pulumi.getter(name="cidrRange")
1150
+ def cidr_range(self) -> Optional[pulumi.Input[str]]:
1151
+ """
1152
+ CIDR range for one authorized network of the instance.
1153
+ """
1154
+ return pulumi.get(self, "cidr_range")
1155
+
1156
+ @cidr_range.setter
1157
+ def cidr_range(self, value: Optional[pulumi.Input[str]]):
1158
+ pulumi.set(self, "cidr_range", value)
1159
+
1160
+
1087
1161
  @pulumi.input_type
1088
1162
  class InstanceQueryInsightsConfigArgs:
1089
1163
  def __init__(__self__, *,
@@ -249,8 +249,6 @@ class _BackupState:
249
249
  Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
250
250
  :param pulumi.Input[str] description: User-provided description of the backup.
251
251
  :param pulumi.Input[str] display_name: User-settable and human-readable display name for the Backup.
252
- :param pulumi.Input[Mapping[str, pulumi.Input[str]]] effective_annotations: All of annotations (key/value pairs) present on the resource in GCP, including the annotations configured through
253
- Terraform, other clients and services.
254
252
  :param pulumi.Input[Mapping[str, pulumi.Input[str]]] effective_labels: All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
255
253
  :param pulumi.Input['BackupEncryptionConfigArgs'] encryption_config: EncryptionConfig describes the encryption config of a cluster or a backup that is encrypted with a CMEK (customer-managed encryption key).
256
254
  Structure is documented below.
@@ -443,10 +441,6 @@ class _BackupState:
443
441
  @property
444
442
  @pulumi.getter(name="effectiveAnnotations")
445
443
  def effective_annotations(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
446
- """
447
- All of annotations (key/value pairs) present on the resource in GCP, including the annotations configured through
448
- Terraform, other clients and services.
449
- """
450
444
  return pulumi.get(self, "effective_annotations")
451
445
 
452
446
  @effective_annotations.setter
@@ -1049,8 +1043,6 @@ class Backup(pulumi.CustomResource):
1049
1043
  Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
1050
1044
  :param pulumi.Input[str] description: User-provided description of the backup.
1051
1045
  :param pulumi.Input[str] display_name: User-settable and human-readable display name for the Backup.
1052
- :param pulumi.Input[Mapping[str, pulumi.Input[str]]] effective_annotations: All of annotations (key/value pairs) present on the resource in GCP, including the annotations configured through
1053
- Terraform, other clients and services.
1054
1046
  :param pulumi.Input[Mapping[str, pulumi.Input[str]]] effective_labels: All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
1055
1047
  :param pulumi.Input[pulumi.InputType['BackupEncryptionConfigArgs']] encryption_config: EncryptionConfig describes the encryption config of a cluster or a backup that is encrypted with a CMEK (customer-managed encryption key).
1056
1048
  Structure is documented below.
@@ -1190,10 +1182,6 @@ class Backup(pulumi.CustomResource):
1190
1182
  @property
1191
1183
  @pulumi.getter(name="effectiveAnnotations")
1192
1184
  def effective_annotations(self) -> pulumi.Output[Mapping[str, str]]:
1193
- """
1194
- All of annotations (key/value pairs) present on the resource in GCP, including the annotations configured through
1195
- Terraform, other clients and services.
1196
- """
1197
1185
  return pulumi.get(self, "effective_annotations")
1198
1186
 
1199
1187
  @property
@@ -441,8 +441,6 @@ class _ClusterState:
441
441
  Deleting a cluster forcefully, deletes the cluster and all its associated instances within the cluster.
442
442
  Deleting a Secondary cluster with a secondary instance REQUIRES setting deletion_policy = "FORCE" otherwise an error is returned. This is needed as there is no support to delete just the secondary instance, and the only way to delete secondary instance is to delete the associated secondary cluster forcefully which also deletes the secondary instance.
443
443
  :param pulumi.Input[str] display_name: User-settable and human-readable display name for the Cluster.
444
- :param pulumi.Input[Mapping[str, pulumi.Input[str]]] effective_annotations: All of annotations (key/value pairs) present on the resource in GCP, including the annotations configured through
445
- Terraform, other clients and services.
446
444
  :param pulumi.Input[Mapping[str, pulumi.Input[str]]] effective_labels: All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
447
445
  :param pulumi.Input['ClusterEncryptionConfigArgs'] encryption_config: EncryptionConfig describes the encryption config of a cluster or a backup that is encrypted with a CMEK (customer-managed encryption key).
448
446
  Structure is documented below.
@@ -685,10 +683,6 @@ class _ClusterState:
685
683
  @property
686
684
  @pulumi.getter(name="effectiveAnnotations")
687
685
  def effective_annotations(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
688
- """
689
- All of annotations (key/value pairs) present on the resource in GCP, including the annotations configured through
690
- Terraform, other clients and services.
691
- """
692
686
  return pulumi.get(self, "effective_annotations")
693
687
 
694
688
  @effective_annotations.setter
@@ -1572,8 +1566,6 @@ class Cluster(pulumi.CustomResource):
1572
1566
  Deleting a cluster forcefully, deletes the cluster and all its associated instances within the cluster.
1573
1567
  Deleting a Secondary cluster with a secondary instance REQUIRES setting deletion_policy = "FORCE" otherwise an error is returned. This is needed as there is no support to delete just the secondary instance, and the only way to delete secondary instance is to delete the associated secondary cluster forcefully which also deletes the secondary instance.
1574
1568
  :param pulumi.Input[str] display_name: User-settable and human-readable display name for the Cluster.
1575
- :param pulumi.Input[Mapping[str, pulumi.Input[str]]] effective_annotations: All of annotations (key/value pairs) present on the resource in GCP, including the annotations configured through
1576
- Terraform, other clients and services.
1577
1569
  :param pulumi.Input[Mapping[str, pulumi.Input[str]]] effective_labels: All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
1578
1570
  :param pulumi.Input[pulumi.InputType['ClusterEncryptionConfigArgs']] encryption_config: EncryptionConfig describes the encryption config of a cluster or a backup that is encrypted with a CMEK (customer-managed encryption key).
1579
1571
  Structure is documented below.
@@ -1748,10 +1740,6 @@ class Cluster(pulumi.CustomResource):
1748
1740
  @property
1749
1741
  @pulumi.getter(name="effectiveAnnotations")
1750
1742
  def effective_annotations(self) -> pulumi.Output[Mapping[str, str]]:
1751
- """
1752
- All of annotations (key/value pairs) present on the resource in GCP, including the annotations configured through
1753
- Terraform, other clients and services.
1754
- """
1755
1743
  return pulumi.get(self, "effective_annotations")
1756
1744
 
1757
1745
  @property
@@ -27,6 +27,7 @@ class InstanceArgs:
27
27
  gce_zone: Optional[pulumi.Input[str]] = None,
28
28
  labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
29
29
  machine_config: Optional[pulumi.Input['InstanceMachineConfigArgs']] = None,
30
+ network_config: Optional[pulumi.Input['InstanceNetworkConfigArgs']] = None,
30
31
  query_insights_config: Optional[pulumi.Input['InstanceQueryInsightsConfigArgs']] = None,
31
32
  read_pool_config: Optional[pulumi.Input['InstanceReadPoolConfigArgs']] = None):
32
33
  """
@@ -37,15 +38,6 @@ class InstanceArgs:
37
38
 
38
39
 
39
40
  - - -
40
- :param pulumi.Input[str] instance_type: The type of the instance. If the instance type is READ_POOL, provide the associated PRIMARY/SECONDARY instance in the
41
- 'depends_on' meta-data attribute. If the instance type is SECONDARY, point to the cluster_type of the associated
42
- secondary cluster instead of mentioning SECONDARY. Example: {instance_type =
43
- google_alloydb_cluster.<secondary_cluster_name>.cluster_type} instead of {instance_type = SECONDARY} If the instance
44
- type is SECONDARY, the terraform delete instance operation does not delete the secondary instance but abandons it
45
- instead. Use deletion_policy = "FORCE" in the associated secondary cluster and delete the cluster forcefully to delete
46
- the secondary cluster as well its associated secondary instance. Users can undo the delete secondary instance action by
47
- importing the deleted secondary instance by calling terraform import. Possible values: ["PRIMARY", "READ_POOL",
48
- "SECONDARY"]
49
41
  :param pulumi.Input[Mapping[str, pulumi.Input[str]]] annotations: Annotations to allow client tools to store small amount of arbitrary data. This is distinct from labels.
50
42
  **Note**: This field is non-authoritative, and will only manage the annotations present in your configuration.
51
43
  Please refer to the field `effective_annotations` for all of the annotations present on the resource.
@@ -66,6 +58,8 @@ class InstanceArgs:
66
58
  Please refer to the field `effective_labels` for all of the labels present on the resource.
67
59
  :param pulumi.Input['InstanceMachineConfigArgs'] machine_config: Configurations for the machines that host the underlying database engine.
68
60
  Structure is documented below.
61
+ :param pulumi.Input['InstanceNetworkConfigArgs'] network_config: Instance level network configuration.
62
+ Structure is documented below.
69
63
  :param pulumi.Input['InstanceQueryInsightsConfigArgs'] query_insights_config: Configuration for query insights.
70
64
  Structure is documented below.
71
65
  :param pulumi.Input['InstanceReadPoolConfigArgs'] read_pool_config: Read pool specific config. If the instance type is READ_POOL, this configuration must be provided.
@@ -90,6 +84,8 @@ class InstanceArgs:
90
84
  pulumi.set(__self__, "labels", labels)
91
85
  if machine_config is not None:
92
86
  pulumi.set(__self__, "machine_config", machine_config)
87
+ if network_config is not None:
88
+ pulumi.set(__self__, "network_config", network_config)
93
89
  if query_insights_config is not None:
94
90
  pulumi.set(__self__, "query_insights_config", query_insights_config)
95
91
  if read_pool_config is not None:
@@ -126,17 +122,6 @@ class InstanceArgs:
126
122
  @property
127
123
  @pulumi.getter(name="instanceType")
128
124
  def instance_type(self) -> pulumi.Input[str]:
129
- """
130
- The type of the instance. If the instance type is READ_POOL, provide the associated PRIMARY/SECONDARY instance in the
131
- 'depends_on' meta-data attribute. If the instance type is SECONDARY, point to the cluster_type of the associated
132
- secondary cluster instead of mentioning SECONDARY. Example: {instance_type =
133
- google_alloydb_cluster.<secondary_cluster_name>.cluster_type} instead of {instance_type = SECONDARY} If the instance
134
- type is SECONDARY, the terraform delete instance operation does not delete the secondary instance but abandons it
135
- instead. Use deletion_policy = "FORCE" in the associated secondary cluster and delete the cluster forcefully to delete
136
- the secondary cluster as well its associated secondary instance. Users can undo the delete secondary instance action by
137
- importing the deleted secondary instance by calling terraform import. Possible values: ["PRIMARY", "READ_POOL",
138
- "SECONDARY"]
139
- """
140
125
  return pulumi.get(self, "instance_type")
141
126
 
142
127
  @instance_type.setter
@@ -251,6 +236,19 @@ class InstanceArgs:
251
236
  def machine_config(self, value: Optional[pulumi.Input['InstanceMachineConfigArgs']]):
252
237
  pulumi.set(self, "machine_config", value)
253
238
 
239
+ @property
240
+ @pulumi.getter(name="networkConfig")
241
+ def network_config(self) -> Optional[pulumi.Input['InstanceNetworkConfigArgs']]:
242
+ """
243
+ Instance level network configuration.
244
+ Structure is documented below.
245
+ """
246
+ return pulumi.get(self, "network_config")
247
+
248
+ @network_config.setter
249
+ def network_config(self, value: Optional[pulumi.Input['InstanceNetworkConfigArgs']]):
250
+ pulumi.set(self, "network_config", value)
251
+
254
252
  @property
255
253
  @pulumi.getter(name="queryInsightsConfig")
256
254
  def query_insights_config(self) -> Optional[pulumi.Input['InstanceQueryInsightsConfigArgs']]:
@@ -297,6 +295,8 @@ class _InstanceState:
297
295
  labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
298
296
  machine_config: Optional[pulumi.Input['InstanceMachineConfigArgs']] = None,
299
297
  name: Optional[pulumi.Input[str]] = None,
298
+ network_config: Optional[pulumi.Input['InstanceNetworkConfigArgs']] = None,
299
+ public_ip_address: Optional[pulumi.Input[str]] = None,
300
300
  pulumi_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
301
301
  query_insights_config: Optional[pulumi.Input['InstanceQueryInsightsConfigArgs']] = None,
302
302
  read_pool_config: Optional[pulumi.Input['InstanceReadPoolConfigArgs']] = None,
@@ -323,23 +323,12 @@ class _InstanceState:
323
323
  :param pulumi.Input[str] create_time: Time the Instance was created in UTC.
324
324
  :param pulumi.Input[Mapping[str, pulumi.Input[str]]] database_flags: Database flags. Set at instance level. * They are copied from primary instance on read instance creation. * Read instances can set new or override existing flags that are relevant for reads, e.g. for enabling columnar cache on a read instance. Flags set on read instance may or may not be present on primary.
325
325
  :param pulumi.Input[str] display_name: User-settable and human-readable display name for the Instance.
326
- :param pulumi.Input[Mapping[str, pulumi.Input[str]]] effective_annotations: All of annotations (key/value pairs) present on the resource in GCP, including the annotations configured through
327
- Terraform, other clients and services.
328
326
  :param pulumi.Input[Mapping[str, pulumi.Input[str]]] effective_labels: All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
329
327
  :param pulumi.Input[str] gce_zone: The Compute Engine zone that the instance should serve from, per https://cloud.google.com/compute/docs/regions-zones This can ONLY be specified for ZONAL instances. If present for a REGIONAL instance, an error will be thrown. If this is absent for a ZONAL instance, instance is created in a random zone with available capacity.
330
328
  :param pulumi.Input[str] instance_id: The ID of the alloydb instance.
331
329
 
332
330
 
333
331
  - - -
334
- :param pulumi.Input[str] instance_type: The type of the instance. If the instance type is READ_POOL, provide the associated PRIMARY/SECONDARY instance in the
335
- 'depends_on' meta-data attribute. If the instance type is SECONDARY, point to the cluster_type of the associated
336
- secondary cluster instead of mentioning SECONDARY. Example: {instance_type =
337
- google_alloydb_cluster.<secondary_cluster_name>.cluster_type} instead of {instance_type = SECONDARY} If the instance
338
- type is SECONDARY, the terraform delete instance operation does not delete the secondary instance but abandons it
339
- instead. Use deletion_policy = "FORCE" in the associated secondary cluster and delete the cluster forcefully to delete
340
- the secondary cluster as well its associated secondary instance. Users can undo the delete secondary instance action by
341
- importing the deleted secondary instance by calling terraform import. Possible values: ["PRIMARY", "READ_POOL",
342
- "SECONDARY"]
343
332
  :param pulumi.Input[str] ip_address: The IP address for the Instance. This is the connection endpoint for an end-user application.
344
333
  :param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: User-defined labels for the alloydb instance.
345
334
  **Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
@@ -347,6 +336,11 @@ class _InstanceState:
347
336
  :param pulumi.Input['InstanceMachineConfigArgs'] machine_config: Configurations for the machines that host the underlying database engine.
348
337
  Structure is documented below.
349
338
  :param pulumi.Input[str] name: The name of the instance resource.
339
+ :param pulumi.Input['InstanceNetworkConfigArgs'] network_config: Instance level network configuration.
340
+ Structure is documented below.
341
+ :param pulumi.Input[str] public_ip_address: The public IP addresses for the Instance. This is available ONLY when
342
+ networkConfig.enablePublicIp is set to true. This is the connection
343
+ endpoint for an end-user application.
350
344
  :param pulumi.Input[Mapping[str, pulumi.Input[str]]] pulumi_labels: The combination of labels configured directly on the resource
351
345
  and default labels configured on the provider.
352
346
  :param pulumi.Input['InstanceQueryInsightsConfigArgs'] query_insights_config: Configuration for query insights.
@@ -390,6 +384,10 @@ class _InstanceState:
390
384
  pulumi.set(__self__, "machine_config", machine_config)
391
385
  if name is not None:
392
386
  pulumi.set(__self__, "name", name)
387
+ if network_config is not None:
388
+ pulumi.set(__self__, "network_config", network_config)
389
+ if public_ip_address is not None:
390
+ pulumi.set(__self__, "public_ip_address", public_ip_address)
393
391
  if pulumi_labels is not None:
394
392
  pulumi.set(__self__, "pulumi_labels", pulumi_labels)
395
393
  if query_insights_config is not None:
@@ -502,10 +500,6 @@ class _InstanceState:
502
500
  @property
503
501
  @pulumi.getter(name="effectiveAnnotations")
504
502
  def effective_annotations(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
505
- """
506
- All of annotations (key/value pairs) present on the resource in GCP, including the annotations configured through
507
- Terraform, other clients and services.
508
- """
509
503
  return pulumi.get(self, "effective_annotations")
510
504
 
511
505
  @effective_annotations.setter
@@ -554,17 +548,6 @@ class _InstanceState:
554
548
  @property
555
549
  @pulumi.getter(name="instanceType")
556
550
  def instance_type(self) -> Optional[pulumi.Input[str]]:
557
- """
558
- The type of the instance. If the instance type is READ_POOL, provide the associated PRIMARY/SECONDARY instance in the
559
- 'depends_on' meta-data attribute. If the instance type is SECONDARY, point to the cluster_type of the associated
560
- secondary cluster instead of mentioning SECONDARY. Example: {instance_type =
561
- google_alloydb_cluster.<secondary_cluster_name>.cluster_type} instead of {instance_type = SECONDARY} If the instance
562
- type is SECONDARY, the terraform delete instance operation does not delete the secondary instance but abandons it
563
- instead. Use deletion_policy = "FORCE" in the associated secondary cluster and delete the cluster forcefully to delete
564
- the secondary cluster as well its associated secondary instance. Users can undo the delete secondary instance action by
565
- importing the deleted secondary instance by calling terraform import. Possible values: ["PRIMARY", "READ_POOL",
566
- "SECONDARY"]
567
- """
568
551
  return pulumi.get(self, "instance_type")
569
552
 
570
553
  @instance_type.setter
@@ -622,6 +605,33 @@ class _InstanceState:
622
605
  def name(self, value: Optional[pulumi.Input[str]]):
623
606
  pulumi.set(self, "name", value)
624
607
 
608
+ @property
609
+ @pulumi.getter(name="networkConfig")
610
+ def network_config(self) -> Optional[pulumi.Input['InstanceNetworkConfigArgs']]:
611
+ """
612
+ Instance level network configuration.
613
+ Structure is documented below.
614
+ """
615
+ return pulumi.get(self, "network_config")
616
+
617
+ @network_config.setter
618
+ def network_config(self, value: Optional[pulumi.Input['InstanceNetworkConfigArgs']]):
619
+ pulumi.set(self, "network_config", value)
620
+
621
+ @property
622
+ @pulumi.getter(name="publicIpAddress")
623
+ def public_ip_address(self) -> Optional[pulumi.Input[str]]:
624
+ """
625
+ The public IP addresses for the Instance. This is available ONLY when
626
+ networkConfig.enablePublicIp is set to true. This is the connection
627
+ endpoint for an end-user application.
628
+ """
629
+ return pulumi.get(self, "public_ip_address")
630
+
631
+ @public_ip_address.setter
632
+ def public_ip_address(self, value: Optional[pulumi.Input[str]]):
633
+ pulumi.set(self, "public_ip_address", value)
634
+
625
635
  @property
626
636
  @pulumi.getter(name="pulumiLabels")
627
637
  def pulumi_labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
@@ -726,6 +736,7 @@ class Instance(pulumi.CustomResource):
726
736
  instance_type: Optional[pulumi.Input[str]] = None,
727
737
  labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
728
738
  machine_config: Optional[pulumi.Input[pulumi.InputType['InstanceMachineConfigArgs']]] = None,
739
+ network_config: Optional[pulumi.Input[pulumi.InputType['InstanceNetworkConfigArgs']]] = None,
729
740
  query_insights_config: Optional[pulumi.Input[pulumi.InputType['InstanceQueryInsightsConfigArgs']]] = None,
730
741
  read_pool_config: Optional[pulumi.Input[pulumi.InputType['InstanceReadPoolConfigArgs']]] = None,
731
742
  __props__=None):
@@ -862,20 +873,13 @@ class Instance(pulumi.CustomResource):
862
873
 
863
874
 
864
875
  - - -
865
- :param pulumi.Input[str] instance_type: The type of the instance. If the instance type is READ_POOL, provide the associated PRIMARY/SECONDARY instance in the
866
- 'depends_on' meta-data attribute. If the instance type is SECONDARY, point to the cluster_type of the associated
867
- secondary cluster instead of mentioning SECONDARY. Example: {instance_type =
868
- google_alloydb_cluster.<secondary_cluster_name>.cluster_type} instead of {instance_type = SECONDARY} If the instance
869
- type is SECONDARY, the terraform delete instance operation does not delete the secondary instance but abandons it
870
- instead. Use deletion_policy = "FORCE" in the associated secondary cluster and delete the cluster forcefully to delete
871
- the secondary cluster as well its associated secondary instance. Users can undo the delete secondary instance action by
872
- importing the deleted secondary instance by calling terraform import. Possible values: ["PRIMARY", "READ_POOL",
873
- "SECONDARY"]
874
876
  :param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: User-defined labels for the alloydb instance.
875
877
  **Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
876
878
  Please refer to the field `effective_labels` for all of the labels present on the resource.
877
879
  :param pulumi.Input[pulumi.InputType['InstanceMachineConfigArgs']] machine_config: Configurations for the machines that host the underlying database engine.
878
880
  Structure is documented below.
881
+ :param pulumi.Input[pulumi.InputType['InstanceNetworkConfigArgs']] network_config: Instance level network configuration.
882
+ Structure is documented below.
879
883
  :param pulumi.Input[pulumi.InputType['InstanceQueryInsightsConfigArgs']] query_insights_config: Configuration for query insights.
880
884
  Structure is documented below.
881
885
  :param pulumi.Input[pulumi.InputType['InstanceReadPoolConfigArgs']] read_pool_config: Read pool specific config. If the instance type is READ_POOL, this configuration must be provided.
@@ -1023,6 +1027,7 @@ class Instance(pulumi.CustomResource):
1023
1027
  instance_type: Optional[pulumi.Input[str]] = None,
1024
1028
  labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
1025
1029
  machine_config: Optional[pulumi.Input[pulumi.InputType['InstanceMachineConfigArgs']]] = None,
1030
+ network_config: Optional[pulumi.Input[pulumi.InputType['InstanceNetworkConfigArgs']]] = None,
1026
1031
  query_insights_config: Optional[pulumi.Input[pulumi.InputType['InstanceQueryInsightsConfigArgs']]] = None,
1027
1032
  read_pool_config: Optional[pulumi.Input[pulumi.InputType['InstanceReadPoolConfigArgs']]] = None,
1028
1033
  __props__=None):
@@ -1051,6 +1056,7 @@ class Instance(pulumi.CustomResource):
1051
1056
  __props__.__dict__["instance_type"] = instance_type
1052
1057
  __props__.__dict__["labels"] = labels
1053
1058
  __props__.__dict__["machine_config"] = machine_config
1059
+ __props__.__dict__["network_config"] = network_config
1054
1060
  __props__.__dict__["query_insights_config"] = query_insights_config
1055
1061
  __props__.__dict__["read_pool_config"] = read_pool_config
1056
1062
  __props__.__dict__["create_time"] = None
@@ -1058,6 +1064,7 @@ class Instance(pulumi.CustomResource):
1058
1064
  __props__.__dict__["effective_labels"] = None
1059
1065
  __props__.__dict__["ip_address"] = None
1060
1066
  __props__.__dict__["name"] = None
1067
+ __props__.__dict__["public_ip_address"] = None
1061
1068
  __props__.__dict__["pulumi_labels"] = None
1062
1069
  __props__.__dict__["reconciling"] = None
1063
1070
  __props__.__dict__["state"] = None
@@ -1091,6 +1098,8 @@ class Instance(pulumi.CustomResource):
1091
1098
  labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
1092
1099
  machine_config: Optional[pulumi.Input[pulumi.InputType['InstanceMachineConfigArgs']]] = None,
1093
1100
  name: Optional[pulumi.Input[str]] = None,
1101
+ network_config: Optional[pulumi.Input[pulumi.InputType['InstanceNetworkConfigArgs']]] = None,
1102
+ public_ip_address: Optional[pulumi.Input[str]] = None,
1094
1103
  pulumi_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
1095
1104
  query_insights_config: Optional[pulumi.Input[pulumi.InputType['InstanceQueryInsightsConfigArgs']]] = None,
1096
1105
  read_pool_config: Optional[pulumi.Input[pulumi.InputType['InstanceReadPoolConfigArgs']]] = None,
@@ -1122,23 +1131,12 @@ class Instance(pulumi.CustomResource):
1122
1131
  :param pulumi.Input[str] create_time: Time the Instance was created in UTC.
1123
1132
  :param pulumi.Input[Mapping[str, pulumi.Input[str]]] database_flags: Database flags. Set at instance level. * They are copied from primary instance on read instance creation. * Read instances can set new or override existing flags that are relevant for reads, e.g. for enabling columnar cache on a read instance. Flags set on read instance may or may not be present on primary.
1124
1133
  :param pulumi.Input[str] display_name: User-settable and human-readable display name for the Instance.
1125
- :param pulumi.Input[Mapping[str, pulumi.Input[str]]] effective_annotations: All of annotations (key/value pairs) present on the resource in GCP, including the annotations configured through
1126
- Terraform, other clients and services.
1127
1134
  :param pulumi.Input[Mapping[str, pulumi.Input[str]]] effective_labels: All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
1128
1135
  :param pulumi.Input[str] gce_zone: The Compute Engine zone that the instance should serve from, per https://cloud.google.com/compute/docs/regions-zones This can ONLY be specified for ZONAL instances. If present for a REGIONAL instance, an error will be thrown. If this is absent for a ZONAL instance, instance is created in a random zone with available capacity.
1129
1136
  :param pulumi.Input[str] instance_id: The ID of the alloydb instance.
1130
1137
 
1131
1138
 
1132
1139
  - - -
1133
- :param pulumi.Input[str] instance_type: The type of the instance. If the instance type is READ_POOL, provide the associated PRIMARY/SECONDARY instance in the
1134
- 'depends_on' meta-data attribute. If the instance type is SECONDARY, point to the cluster_type of the associated
1135
- secondary cluster instead of mentioning SECONDARY. Example: {instance_type =
1136
- google_alloydb_cluster.<secondary_cluster_name>.cluster_type} instead of {instance_type = SECONDARY} If the instance
1137
- type is SECONDARY, the terraform delete instance operation does not delete the secondary instance but abandons it
1138
- instead. Use deletion_policy = "FORCE" in the associated secondary cluster and delete the cluster forcefully to delete
1139
- the secondary cluster as well its associated secondary instance. Users can undo the delete secondary instance action by
1140
- importing the deleted secondary instance by calling terraform import. Possible values: ["PRIMARY", "READ_POOL",
1141
- "SECONDARY"]
1142
1140
  :param pulumi.Input[str] ip_address: The IP address for the Instance. This is the connection endpoint for an end-user application.
1143
1141
  :param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: User-defined labels for the alloydb instance.
1144
1142
  **Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
@@ -1146,6 +1144,11 @@ class Instance(pulumi.CustomResource):
1146
1144
  :param pulumi.Input[pulumi.InputType['InstanceMachineConfigArgs']] machine_config: Configurations for the machines that host the underlying database engine.
1147
1145
  Structure is documented below.
1148
1146
  :param pulumi.Input[str] name: The name of the instance resource.
1147
+ :param pulumi.Input[pulumi.InputType['InstanceNetworkConfigArgs']] network_config: Instance level network configuration.
1148
+ Structure is documented below.
1149
+ :param pulumi.Input[str] public_ip_address: The public IP addresses for the Instance. This is available ONLY when
1150
+ networkConfig.enablePublicIp is set to true. This is the connection
1151
+ endpoint for an end-user application.
1149
1152
  :param pulumi.Input[Mapping[str, pulumi.Input[str]]] pulumi_labels: The combination of labels configured directly on the resource
1150
1153
  and default labels configured on the provider.
1151
1154
  :param pulumi.Input[pulumi.InputType['InstanceQueryInsightsConfigArgs']] query_insights_config: Configuration for query insights.
@@ -1177,6 +1180,8 @@ class Instance(pulumi.CustomResource):
1177
1180
  __props__.__dict__["labels"] = labels
1178
1181
  __props__.__dict__["machine_config"] = machine_config
1179
1182
  __props__.__dict__["name"] = name
1183
+ __props__.__dict__["network_config"] = network_config
1184
+ __props__.__dict__["public_ip_address"] = public_ip_address
1180
1185
  __props__.__dict__["pulumi_labels"] = pulumi_labels
1181
1186
  __props__.__dict__["query_insights_config"] = query_insights_config
1182
1187
  __props__.__dict__["read_pool_config"] = read_pool_config
@@ -1255,10 +1260,6 @@ class Instance(pulumi.CustomResource):
1255
1260
  @property
1256
1261
  @pulumi.getter(name="effectiveAnnotations")
1257
1262
  def effective_annotations(self) -> pulumi.Output[Mapping[str, str]]:
1258
- """
1259
- All of annotations (key/value pairs) present on the resource in GCP, including the annotations configured through
1260
- Terraform, other clients and services.
1261
- """
1262
1263
  return pulumi.get(self, "effective_annotations")
1263
1264
 
1264
1265
  @property
@@ -1291,17 +1292,6 @@ class Instance(pulumi.CustomResource):
1291
1292
  @property
1292
1293
  @pulumi.getter(name="instanceType")
1293
1294
  def instance_type(self) -> pulumi.Output[str]:
1294
- """
1295
- The type of the instance. If the instance type is READ_POOL, provide the associated PRIMARY/SECONDARY instance in the
1296
- 'depends_on' meta-data attribute. If the instance type is SECONDARY, point to the cluster_type of the associated
1297
- secondary cluster instead of mentioning SECONDARY. Example: {instance_type =
1298
- google_alloydb_cluster.<secondary_cluster_name>.cluster_type} instead of {instance_type = SECONDARY} If the instance
1299
- type is SECONDARY, the terraform delete instance operation does not delete the secondary instance but abandons it
1300
- instead. Use deletion_policy = "FORCE" in the associated secondary cluster and delete the cluster forcefully to delete
1301
- the secondary cluster as well its associated secondary instance. Users can undo the delete secondary instance action by
1302
- importing the deleted secondary instance by calling terraform import. Possible values: ["PRIMARY", "READ_POOL",
1303
- "SECONDARY"]
1304
- """
1305
1295
  return pulumi.get(self, "instance_type")
1306
1296
 
1307
1297
  @property
@@ -1339,6 +1329,25 @@ class Instance(pulumi.CustomResource):
1339
1329
  """
1340
1330
  return pulumi.get(self, "name")
1341
1331
 
1332
+ @property
1333
+ @pulumi.getter(name="networkConfig")
1334
+ def network_config(self) -> pulumi.Output[Optional['outputs.InstanceNetworkConfig']]:
1335
+ """
1336
+ Instance level network configuration.
1337
+ Structure is documented below.
1338
+ """
1339
+ return pulumi.get(self, "network_config")
1340
+
1341
+ @property
1342
+ @pulumi.getter(name="publicIpAddress")
1343
+ def public_ip_address(self) -> pulumi.Output[str]:
1344
+ """
1345
+ The public IP addresses for the Instance. This is available ONLY when
1346
+ networkConfig.enablePublicIp is set to true. This is the connection
1347
+ endpoint for an end-user application.
1348
+ """
1349
+ return pulumi.get(self, "public_ip_address")
1350
+
1342
1351
  @property
1343
1352
  @pulumi.getter(name="pulumiLabels")
1344
1353
  def pulumi_labels(self) -> pulumi.Output[Mapping[str, str]]: