pulumi-gcp 7.21.0a1714565535__py3-none-any.whl → 7.21.0a1714596856__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 (56) hide show
  1. pulumi_gcp/__init__.py +40 -0
  2. pulumi_gcp/alloydb/_inputs.py +74 -0
  3. pulumi_gcp/alloydb/instance.py +90 -0
  4. pulumi_gcp/alloydb/outputs.py +98 -0
  5. pulumi_gcp/apigee/environment.py +47 -0
  6. pulumi_gcp/applicationintegration/__init__.py +1 -0
  7. pulumi_gcp/applicationintegration/_inputs.py +843 -0
  8. pulumi_gcp/applicationintegration/auth_config.py +998 -0
  9. pulumi_gcp/applicationintegration/outputs.py +891 -0
  10. pulumi_gcp/bigquerydatapolicy/_inputs.py +21 -4
  11. pulumi_gcp/bigquerydatapolicy/data_policy.py +78 -0
  12. pulumi_gcp/bigquerydatapolicy/outputs.py +16 -3
  13. pulumi_gcp/certificateauthority/_inputs.py +92 -12
  14. pulumi_gcp/certificateauthority/authority.py +110 -0
  15. pulumi_gcp/certificateauthority/certificate.py +176 -0
  16. pulumi_gcp/certificateauthority/outputs.py +144 -12
  17. pulumi_gcp/composer/__init__.py +1 -0
  18. pulumi_gcp/composer/user_workloads_secret.py +441 -0
  19. pulumi_gcp/compute/__init__.py +1 -0
  20. pulumi_gcp/compute/_inputs.py +121 -58
  21. pulumi_gcp/compute/global_forwarding_rule.py +0 -282
  22. pulumi_gcp/compute/outputs.py +120 -57
  23. pulumi_gcp/compute/region_target_https_proxy.py +257 -0
  24. pulumi_gcp/compute/region_url_map.py +0 -470
  25. pulumi_gcp/compute/security_policy_rule.py +850 -0
  26. pulumi_gcp/dataloss/__init__.py +1 -0
  27. pulumi_gcp/dataloss/_inputs.py +1040 -0
  28. pulumi_gcp/dataloss/outputs.py +1123 -0
  29. pulumi_gcp/dataloss/prevention_discovery_config.py +737 -0
  30. pulumi_gcp/dns/_inputs.py +2 -2
  31. pulumi_gcp/dns/outputs.py +2 -2
  32. pulumi_gcp/dns/record_set.py +2 -2
  33. pulumi_gcp/filestore/get_instance.py +11 -1
  34. pulumi_gcp/filestore/instance.py +101 -0
  35. pulumi_gcp/firebase/_inputs.py +16 -0
  36. pulumi_gcp/firebase/app_check_play_integrity_config.py +20 -0
  37. pulumi_gcp/firebase/app_check_recaptcha_enterprise_config.py +10 -0
  38. pulumi_gcp/firebase/hosting_version.py +44 -0
  39. pulumi_gcp/firebase/outputs.py +12 -0
  40. pulumi_gcp/logging/folder_sink.py +54 -0
  41. pulumi_gcp/logging/organization_sink.py +54 -0
  42. pulumi_gcp/monitoring/_inputs.py +46 -2
  43. pulumi_gcp/monitoring/outputs.py +40 -2
  44. pulumi_gcp/monitoring/uptime_check_config.py +6 -0
  45. pulumi_gcp/networkconnectivity/__init__.py +1 -0
  46. pulumi_gcp/networkconnectivity/internal_range.py +1024 -0
  47. pulumi_gcp/secretmanager/get_secret.py +13 -3
  48. pulumi_gcp/secretmanager/outputs.py +20 -1
  49. pulumi_gcp/secretmanager/secret.py +90 -3
  50. pulumi_gcp/storage/__init__.py +1 -0
  51. pulumi_gcp/storage/get_bucket_objects.py +153 -0
  52. pulumi_gcp/storage/outputs.py +63 -0
  53. {pulumi_gcp-7.21.0a1714565535.dist-info → pulumi_gcp-7.21.0a1714596856.dist-info}/METADATA +1 -1
  54. {pulumi_gcp-7.21.0a1714565535.dist-info → pulumi_gcp-7.21.0a1714596856.dist-info}/RECORD +56 -50
  55. {pulumi_gcp-7.21.0a1714565535.dist-info → pulumi_gcp-7.21.0a1714596856.dist-info}/WHEEL +0 -0
  56. {pulumi_gcp-7.21.0a1714565535.dist-info → pulumi_gcp-7.21.0a1714596856.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",
@@ -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__, *,
@@ -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
  """
@@ -57,6 +58,8 @@ class InstanceArgs:
57
58
  Please refer to the field `effective_labels` for all of the labels present on the resource.
58
59
  :param pulumi.Input['InstanceMachineConfigArgs'] machine_config: Configurations for the machines that host the underlying database engine.
59
60
  Structure is documented below.
61
+ :param pulumi.Input['InstanceNetworkConfigArgs'] network_config: Instance level network configuration.
62
+ Structure is documented below.
60
63
  :param pulumi.Input['InstanceQueryInsightsConfigArgs'] query_insights_config: Configuration for query insights.
61
64
  Structure is documented below.
62
65
  :param pulumi.Input['InstanceReadPoolConfigArgs'] read_pool_config: Read pool specific config. If the instance type is READ_POOL, this configuration must be provided.
@@ -81,6 +84,8 @@ class InstanceArgs:
81
84
  pulumi.set(__self__, "labels", labels)
82
85
  if machine_config is not None:
83
86
  pulumi.set(__self__, "machine_config", machine_config)
87
+ if network_config is not None:
88
+ pulumi.set(__self__, "network_config", network_config)
84
89
  if query_insights_config is not None:
85
90
  pulumi.set(__self__, "query_insights_config", query_insights_config)
86
91
  if read_pool_config is not None:
@@ -231,6 +236,19 @@ class InstanceArgs:
231
236
  def machine_config(self, value: Optional[pulumi.Input['InstanceMachineConfigArgs']]):
232
237
  pulumi.set(self, "machine_config", value)
233
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
+
234
252
  @property
235
253
  @pulumi.getter(name="queryInsightsConfig")
236
254
  def query_insights_config(self) -> Optional[pulumi.Input['InstanceQueryInsightsConfigArgs']]:
@@ -277,6 +295,8 @@ class _InstanceState:
277
295
  labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
278
296
  machine_config: Optional[pulumi.Input['InstanceMachineConfigArgs']] = None,
279
297
  name: Optional[pulumi.Input[str]] = None,
298
+ network_config: Optional[pulumi.Input['InstanceNetworkConfigArgs']] = None,
299
+ public_ip_address: Optional[pulumi.Input[str]] = None,
280
300
  pulumi_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
281
301
  query_insights_config: Optional[pulumi.Input['InstanceQueryInsightsConfigArgs']] = None,
282
302
  read_pool_config: Optional[pulumi.Input['InstanceReadPoolConfigArgs']] = None,
@@ -316,6 +336,11 @@ class _InstanceState:
316
336
  :param pulumi.Input['InstanceMachineConfigArgs'] machine_config: Configurations for the machines that host the underlying database engine.
317
337
  Structure is documented below.
318
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.
319
344
  :param pulumi.Input[Mapping[str, pulumi.Input[str]]] pulumi_labels: The combination of labels configured directly on the resource
320
345
  and default labels configured on the provider.
321
346
  :param pulumi.Input['InstanceQueryInsightsConfigArgs'] query_insights_config: Configuration for query insights.
@@ -359,6 +384,10 @@ class _InstanceState:
359
384
  pulumi.set(__self__, "machine_config", machine_config)
360
385
  if name is not None:
361
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)
362
391
  if pulumi_labels is not None:
363
392
  pulumi.set(__self__, "pulumi_labels", pulumi_labels)
364
393
  if query_insights_config is not None:
@@ -576,6 +605,33 @@ class _InstanceState:
576
605
  def name(self, value: Optional[pulumi.Input[str]]):
577
606
  pulumi.set(self, "name", value)
578
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
+
579
635
  @property
580
636
  @pulumi.getter(name="pulumiLabels")
581
637
  def pulumi_labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
@@ -680,6 +736,7 @@ class Instance(pulumi.CustomResource):
680
736
  instance_type: Optional[pulumi.Input[str]] = None,
681
737
  labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
682
738
  machine_config: Optional[pulumi.Input[pulumi.InputType['InstanceMachineConfigArgs']]] = None,
739
+ network_config: Optional[pulumi.Input[pulumi.InputType['InstanceNetworkConfigArgs']]] = None,
683
740
  query_insights_config: Optional[pulumi.Input[pulumi.InputType['InstanceQueryInsightsConfigArgs']]] = None,
684
741
  read_pool_config: Optional[pulumi.Input[pulumi.InputType['InstanceReadPoolConfigArgs']]] = None,
685
742
  __props__=None):
@@ -821,6 +878,8 @@ class Instance(pulumi.CustomResource):
821
878
  Please refer to the field `effective_labels` for all of the labels present on the resource.
822
879
  :param pulumi.Input[pulumi.InputType['InstanceMachineConfigArgs']] machine_config: Configurations for the machines that host the underlying database engine.
823
880
  Structure is documented below.
881
+ :param pulumi.Input[pulumi.InputType['InstanceNetworkConfigArgs']] network_config: Instance level network configuration.
882
+ Structure is documented below.
824
883
  :param pulumi.Input[pulumi.InputType['InstanceQueryInsightsConfigArgs']] query_insights_config: Configuration for query insights.
825
884
  Structure is documented below.
826
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.
@@ -968,6 +1027,7 @@ class Instance(pulumi.CustomResource):
968
1027
  instance_type: Optional[pulumi.Input[str]] = None,
969
1028
  labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
970
1029
  machine_config: Optional[pulumi.Input[pulumi.InputType['InstanceMachineConfigArgs']]] = None,
1030
+ network_config: Optional[pulumi.Input[pulumi.InputType['InstanceNetworkConfigArgs']]] = None,
971
1031
  query_insights_config: Optional[pulumi.Input[pulumi.InputType['InstanceQueryInsightsConfigArgs']]] = None,
972
1032
  read_pool_config: Optional[pulumi.Input[pulumi.InputType['InstanceReadPoolConfigArgs']]] = None,
973
1033
  __props__=None):
@@ -996,6 +1056,7 @@ class Instance(pulumi.CustomResource):
996
1056
  __props__.__dict__["instance_type"] = instance_type
997
1057
  __props__.__dict__["labels"] = labels
998
1058
  __props__.__dict__["machine_config"] = machine_config
1059
+ __props__.__dict__["network_config"] = network_config
999
1060
  __props__.__dict__["query_insights_config"] = query_insights_config
1000
1061
  __props__.__dict__["read_pool_config"] = read_pool_config
1001
1062
  __props__.__dict__["create_time"] = None
@@ -1003,6 +1064,7 @@ class Instance(pulumi.CustomResource):
1003
1064
  __props__.__dict__["effective_labels"] = None
1004
1065
  __props__.__dict__["ip_address"] = None
1005
1066
  __props__.__dict__["name"] = None
1067
+ __props__.__dict__["public_ip_address"] = None
1006
1068
  __props__.__dict__["pulumi_labels"] = None
1007
1069
  __props__.__dict__["reconciling"] = None
1008
1070
  __props__.__dict__["state"] = None
@@ -1036,6 +1098,8 @@ class Instance(pulumi.CustomResource):
1036
1098
  labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
1037
1099
  machine_config: Optional[pulumi.Input[pulumi.InputType['InstanceMachineConfigArgs']]] = None,
1038
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,
1039
1103
  pulumi_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
1040
1104
  query_insights_config: Optional[pulumi.Input[pulumi.InputType['InstanceQueryInsightsConfigArgs']]] = None,
1041
1105
  read_pool_config: Optional[pulumi.Input[pulumi.InputType['InstanceReadPoolConfigArgs']]] = None,
@@ -1080,6 +1144,11 @@ class Instance(pulumi.CustomResource):
1080
1144
  :param pulumi.Input[pulumi.InputType['InstanceMachineConfigArgs']] machine_config: Configurations for the machines that host the underlying database engine.
1081
1145
  Structure is documented below.
1082
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.
1083
1152
  :param pulumi.Input[Mapping[str, pulumi.Input[str]]] pulumi_labels: The combination of labels configured directly on the resource
1084
1153
  and default labels configured on the provider.
1085
1154
  :param pulumi.Input[pulumi.InputType['InstanceQueryInsightsConfigArgs']] query_insights_config: Configuration for query insights.
@@ -1111,6 +1180,8 @@ class Instance(pulumi.CustomResource):
1111
1180
  __props__.__dict__["labels"] = labels
1112
1181
  __props__.__dict__["machine_config"] = machine_config
1113
1182
  __props__.__dict__["name"] = name
1183
+ __props__.__dict__["network_config"] = network_config
1184
+ __props__.__dict__["public_ip_address"] = public_ip_address
1114
1185
  __props__.__dict__["pulumi_labels"] = pulumi_labels
1115
1186
  __props__.__dict__["query_insights_config"] = query_insights_config
1116
1187
  __props__.__dict__["read_pool_config"] = read_pool_config
@@ -1258,6 +1329,25 @@ class Instance(pulumi.CustomResource):
1258
1329
  """
1259
1330
  return pulumi.get(self, "name")
1260
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
+
1261
1351
  @property
1262
1352
  @pulumi.getter(name="pulumiLabels")
1263
1353
  def pulumi_labels(self) -> pulumi.Output[Mapping[str, str]]:
@@ -36,6 +36,8 @@ __all__ = [
36
36
  'InstanceClientConnectionConfig',
37
37
  'InstanceClientConnectionConfigSslConfig',
38
38
  'InstanceMachineConfig',
39
+ 'InstanceNetworkConfig',
40
+ 'InstanceNetworkConfigAuthorizedExternalNetwork',
39
41
  'InstanceQueryInsightsConfig',
40
42
  'InstanceReadPoolConfig',
41
43
  'GetLocationsLocationResult',
@@ -1289,6 +1291,102 @@ class InstanceMachineConfig(dict):
1289
1291
  return pulumi.get(self, "cpu_count")
1290
1292
 
1291
1293
 
1294
+ @pulumi.output_type
1295
+ class InstanceNetworkConfig(dict):
1296
+ @staticmethod
1297
+ def __key_warning(key: str):
1298
+ suggest = None
1299
+ if key == "authorizedExternalNetworks":
1300
+ suggest = "authorized_external_networks"
1301
+ elif key == "enablePublicIp":
1302
+ suggest = "enable_public_ip"
1303
+
1304
+ if suggest:
1305
+ pulumi.log.warn(f"Key '{key}' not found in InstanceNetworkConfig. Access the value via the '{suggest}' property getter instead.")
1306
+
1307
+ def __getitem__(self, key: str) -> Any:
1308
+ InstanceNetworkConfig.__key_warning(key)
1309
+ return super().__getitem__(key)
1310
+
1311
+ def get(self, key: str, default = None) -> Any:
1312
+ InstanceNetworkConfig.__key_warning(key)
1313
+ return super().get(key, default)
1314
+
1315
+ def __init__(__self__, *,
1316
+ authorized_external_networks: Optional[Sequence['outputs.InstanceNetworkConfigAuthorizedExternalNetwork']] = None,
1317
+ enable_public_ip: Optional[bool] = None):
1318
+ """
1319
+ :param Sequence['InstanceNetworkConfigAuthorizedExternalNetworkArgs'] authorized_external_networks: A list of external networks authorized to access this instance. This
1320
+ field is only allowed to be set when `enable_public_ip` is set to
1321
+ true.
1322
+ Structure is documented below.
1323
+ :param bool enable_public_ip: Enabling public ip for the instance. If a user wishes to disable this,
1324
+ please also clear the list of the authorized external networks set on
1325
+ the same instance.
1326
+ """
1327
+ if authorized_external_networks is not None:
1328
+ pulumi.set(__self__, "authorized_external_networks", authorized_external_networks)
1329
+ if enable_public_ip is not None:
1330
+ pulumi.set(__self__, "enable_public_ip", enable_public_ip)
1331
+
1332
+ @property
1333
+ @pulumi.getter(name="authorizedExternalNetworks")
1334
+ def authorized_external_networks(self) -> Optional[Sequence['outputs.InstanceNetworkConfigAuthorizedExternalNetwork']]:
1335
+ """
1336
+ A list of external networks authorized to access this instance. This
1337
+ field is only allowed to be set when `enable_public_ip` is set to
1338
+ true.
1339
+ Structure is documented below.
1340
+ """
1341
+ return pulumi.get(self, "authorized_external_networks")
1342
+
1343
+ @property
1344
+ @pulumi.getter(name="enablePublicIp")
1345
+ def enable_public_ip(self) -> Optional[bool]:
1346
+ """
1347
+ Enabling public ip for the instance. If a user wishes to disable this,
1348
+ please also clear the list of the authorized external networks set on
1349
+ the same instance.
1350
+ """
1351
+ return pulumi.get(self, "enable_public_ip")
1352
+
1353
+
1354
+ @pulumi.output_type
1355
+ class InstanceNetworkConfigAuthorizedExternalNetwork(dict):
1356
+ @staticmethod
1357
+ def __key_warning(key: str):
1358
+ suggest = None
1359
+ if key == "cidrRange":
1360
+ suggest = "cidr_range"
1361
+
1362
+ if suggest:
1363
+ pulumi.log.warn(f"Key '{key}' not found in InstanceNetworkConfigAuthorizedExternalNetwork. Access the value via the '{suggest}' property getter instead.")
1364
+
1365
+ def __getitem__(self, key: str) -> Any:
1366
+ InstanceNetworkConfigAuthorizedExternalNetwork.__key_warning(key)
1367
+ return super().__getitem__(key)
1368
+
1369
+ def get(self, key: str, default = None) -> Any:
1370
+ InstanceNetworkConfigAuthorizedExternalNetwork.__key_warning(key)
1371
+ return super().get(key, default)
1372
+
1373
+ def __init__(__self__, *,
1374
+ cidr_range: Optional[str] = None):
1375
+ """
1376
+ :param str cidr_range: CIDR range for one authorized network of the instance.
1377
+ """
1378
+ if cidr_range is not None:
1379
+ pulumi.set(__self__, "cidr_range", cidr_range)
1380
+
1381
+ @property
1382
+ @pulumi.getter(name="cidrRange")
1383
+ def cidr_range(self) -> Optional[str]:
1384
+ """
1385
+ CIDR range for one authorized network of the instance.
1386
+ """
1387
+ return pulumi.get(self, "cidr_range")
1388
+
1389
+
1292
1390
  @pulumi.output_type
1293
1391
  class InstanceQueryInsightsConfig(dict):
1294
1392
  @staticmethod
@@ -21,6 +21,7 @@ class EnvironmentArgs:
21
21
  deployment_type: Optional[pulumi.Input[str]] = None,
22
22
  description: Optional[pulumi.Input[str]] = None,
23
23
  display_name: Optional[pulumi.Input[str]] = None,
24
+ forward_proxy_uri: Optional[pulumi.Input[str]] = None,
24
25
  name: Optional[pulumi.Input[str]] = None,
25
26
  node_config: Optional[pulumi.Input['EnvironmentNodeConfigArgs']] = None,
26
27
  type: Optional[pulumi.Input[str]] = None):
@@ -44,6 +45,7 @@ class EnvironmentArgs:
44
45
  Possible values are: `DEPLOYMENT_TYPE_UNSPECIFIED`, `PROXY`, `ARCHIVE`.
45
46
  :param pulumi.Input[str] description: Description of the environment.
46
47
  :param pulumi.Input[str] display_name: Display name of the environment.
48
+ :param pulumi.Input[str] forward_proxy_uri: Optional. URI of the forward proxy to be applied to the runtime instances in this environment. Must be in the format of {scheme}://{hostname}:{port}. Note that the scheme must be one of "http" or "https", and the port must be supplied.
47
49
  :param pulumi.Input[str] name: The resource ID of the environment.
48
50
  :param pulumi.Input['EnvironmentNodeConfigArgs'] node_config: NodeConfig for setting the min/max number of nodes associated with the environment.
49
51
  Structure is documented below.
@@ -62,6 +64,8 @@ class EnvironmentArgs:
62
64
  pulumi.set(__self__, "description", description)
63
65
  if display_name is not None:
64
66
  pulumi.set(__self__, "display_name", display_name)
67
+ if forward_proxy_uri is not None:
68
+ pulumi.set(__self__, "forward_proxy_uri", forward_proxy_uri)
65
69
  if name is not None:
66
70
  pulumi.set(__self__, "name", name)
67
71
  if node_config is not None:
@@ -142,6 +146,18 @@ class EnvironmentArgs:
142
146
  def display_name(self, value: Optional[pulumi.Input[str]]):
143
147
  pulumi.set(self, "display_name", value)
144
148
 
149
+ @property
150
+ @pulumi.getter(name="forwardProxyUri")
151
+ def forward_proxy_uri(self) -> Optional[pulumi.Input[str]]:
152
+ """
153
+ Optional. URI of the forward proxy to be applied to the runtime instances in this environment. Must be in the format of {scheme}://{hostname}:{port}. Note that the scheme must be one of "http" or "https", and the port must be supplied.
154
+ """
155
+ return pulumi.get(self, "forward_proxy_uri")
156
+
157
+ @forward_proxy_uri.setter
158
+ def forward_proxy_uri(self, value: Optional[pulumi.Input[str]]):
159
+ pulumi.set(self, "forward_proxy_uri", value)
160
+
145
161
  @property
146
162
  @pulumi.getter
147
163
  def name(self) -> Optional[pulumi.Input[str]]:
@@ -191,6 +207,7 @@ class _EnvironmentState:
191
207
  deployment_type: Optional[pulumi.Input[str]] = None,
192
208
  description: Optional[pulumi.Input[str]] = None,
193
209
  display_name: Optional[pulumi.Input[str]] = None,
210
+ forward_proxy_uri: Optional[pulumi.Input[str]] = None,
194
211
  name: Optional[pulumi.Input[str]] = None,
195
212
  node_config: Optional[pulumi.Input['EnvironmentNodeConfigArgs']] = None,
196
213
  org_id: Optional[pulumi.Input[str]] = None,
@@ -210,6 +227,7 @@ class _EnvironmentState:
210
227
  Possible values are: `DEPLOYMENT_TYPE_UNSPECIFIED`, `PROXY`, `ARCHIVE`.
211
228
  :param pulumi.Input[str] description: Description of the environment.
212
229
  :param pulumi.Input[str] display_name: Display name of the environment.
230
+ :param pulumi.Input[str] forward_proxy_uri: Optional. URI of the forward proxy to be applied to the runtime instances in this environment. Must be in the format of {scheme}://{hostname}:{port}. Note that the scheme must be one of "http" or "https", and the port must be supplied.
213
231
  :param pulumi.Input[str] name: The resource ID of the environment.
214
232
  :param pulumi.Input['EnvironmentNodeConfigArgs'] node_config: NodeConfig for setting the min/max number of nodes associated with the environment.
215
233
  Structure is documented below.
@@ -232,6 +250,8 @@ class _EnvironmentState:
232
250
  pulumi.set(__self__, "description", description)
233
251
  if display_name is not None:
234
252
  pulumi.set(__self__, "display_name", display_name)
253
+ if forward_proxy_uri is not None:
254
+ pulumi.set(__self__, "forward_proxy_uri", forward_proxy_uri)
235
255
  if name is not None:
236
256
  pulumi.set(__self__, "name", name)
237
257
  if node_config is not None:
@@ -298,6 +318,18 @@ class _EnvironmentState:
298
318
  def display_name(self, value: Optional[pulumi.Input[str]]):
299
319
  pulumi.set(self, "display_name", value)
300
320
 
321
+ @property
322
+ @pulumi.getter(name="forwardProxyUri")
323
+ def forward_proxy_uri(self) -> Optional[pulumi.Input[str]]:
324
+ """
325
+ Optional. URI of the forward proxy to be applied to the runtime instances in this environment. Must be in the format of {scheme}://{hostname}:{port}. Note that the scheme must be one of "http" or "https", and the port must be supplied.
326
+ """
327
+ return pulumi.get(self, "forward_proxy_uri")
328
+
329
+ @forward_proxy_uri.setter
330
+ def forward_proxy_uri(self, value: Optional[pulumi.Input[str]]):
331
+ pulumi.set(self, "forward_proxy_uri", value)
332
+
301
333
  @property
302
334
  @pulumi.getter
303
335
  def name(self) -> Optional[pulumi.Input[str]]:
@@ -365,6 +397,7 @@ class Environment(pulumi.CustomResource):
365
397
  deployment_type: Optional[pulumi.Input[str]] = None,
366
398
  description: Optional[pulumi.Input[str]] = None,
367
399
  display_name: Optional[pulumi.Input[str]] = None,
400
+ forward_proxy_uri: Optional[pulumi.Input[str]] = None,
368
401
  name: Optional[pulumi.Input[str]] = None,
369
402
  node_config: Optional[pulumi.Input[pulumi.InputType['EnvironmentNodeConfigArgs']]] = None,
370
403
  org_id: Optional[pulumi.Input[str]] = None,
@@ -443,6 +476,7 @@ class Environment(pulumi.CustomResource):
443
476
  Possible values are: `DEPLOYMENT_TYPE_UNSPECIFIED`, `PROXY`, `ARCHIVE`.
444
477
  :param pulumi.Input[str] description: Description of the environment.
445
478
  :param pulumi.Input[str] display_name: Display name of the environment.
479
+ :param pulumi.Input[str] forward_proxy_uri: Optional. URI of the forward proxy to be applied to the runtime instances in this environment. Must be in the format of {scheme}://{hostname}:{port}. Note that the scheme must be one of "http" or "https", and the port must be supplied.
446
480
  :param pulumi.Input[str] name: The resource ID of the environment.
447
481
  :param pulumi.Input[pulumi.InputType['EnvironmentNodeConfigArgs']] node_config: NodeConfig for setting the min/max number of nodes associated with the environment.
448
482
  Structure is documented below.
@@ -540,6 +574,7 @@ class Environment(pulumi.CustomResource):
540
574
  deployment_type: Optional[pulumi.Input[str]] = None,
541
575
  description: Optional[pulumi.Input[str]] = None,
542
576
  display_name: Optional[pulumi.Input[str]] = None,
577
+ forward_proxy_uri: Optional[pulumi.Input[str]] = None,
543
578
  name: Optional[pulumi.Input[str]] = None,
544
579
  node_config: Optional[pulumi.Input[pulumi.InputType['EnvironmentNodeConfigArgs']]] = None,
545
580
  org_id: Optional[pulumi.Input[str]] = None,
@@ -557,6 +592,7 @@ class Environment(pulumi.CustomResource):
557
592
  __props__.__dict__["deployment_type"] = deployment_type
558
593
  __props__.__dict__["description"] = description
559
594
  __props__.__dict__["display_name"] = display_name
595
+ __props__.__dict__["forward_proxy_uri"] = forward_proxy_uri
560
596
  __props__.__dict__["name"] = name
561
597
  __props__.__dict__["node_config"] = node_config
562
598
  if org_id is None and not opts.urn:
@@ -577,6 +613,7 @@ class Environment(pulumi.CustomResource):
577
613
  deployment_type: Optional[pulumi.Input[str]] = None,
578
614
  description: Optional[pulumi.Input[str]] = None,
579
615
  display_name: Optional[pulumi.Input[str]] = None,
616
+ forward_proxy_uri: Optional[pulumi.Input[str]] = None,
580
617
  name: Optional[pulumi.Input[str]] = None,
581
618
  node_config: Optional[pulumi.Input[pulumi.InputType['EnvironmentNodeConfigArgs']]] = None,
582
619
  org_id: Optional[pulumi.Input[str]] = None,
@@ -601,6 +638,7 @@ class Environment(pulumi.CustomResource):
601
638
  Possible values are: `DEPLOYMENT_TYPE_UNSPECIFIED`, `PROXY`, `ARCHIVE`.
602
639
  :param pulumi.Input[str] description: Description of the environment.
603
640
  :param pulumi.Input[str] display_name: Display name of the environment.
641
+ :param pulumi.Input[str] forward_proxy_uri: Optional. URI of the forward proxy to be applied to the runtime instances in this environment. Must be in the format of {scheme}://{hostname}:{port}. Note that the scheme must be one of "http" or "https", and the port must be supplied.
604
642
  :param pulumi.Input[str] name: The resource ID of the environment.
605
643
  :param pulumi.Input[pulumi.InputType['EnvironmentNodeConfigArgs']] node_config: NodeConfig for setting the min/max number of nodes associated with the environment.
606
644
  Structure is documented below.
@@ -623,6 +661,7 @@ class Environment(pulumi.CustomResource):
623
661
  __props__.__dict__["deployment_type"] = deployment_type
624
662
  __props__.__dict__["description"] = description
625
663
  __props__.__dict__["display_name"] = display_name
664
+ __props__.__dict__["forward_proxy_uri"] = forward_proxy_uri
626
665
  __props__.__dict__["name"] = name
627
666
  __props__.__dict__["node_config"] = node_config
628
667
  __props__.__dict__["org_id"] = org_id
@@ -670,6 +709,14 @@ class Environment(pulumi.CustomResource):
670
709
  """
671
710
  return pulumi.get(self, "display_name")
672
711
 
712
+ @property
713
+ @pulumi.getter(name="forwardProxyUri")
714
+ def forward_proxy_uri(self) -> pulumi.Output[Optional[str]]:
715
+ """
716
+ Optional. URI of the forward proxy to be applied to the runtime instances in this environment. Must be in the format of {scheme}://{hostname}:{port}. Note that the scheme must be one of "http" or "https", and the port must be supplied.
717
+ """
718
+ return pulumi.get(self, "forward_proxy_uri")
719
+
673
720
  @property
674
721
  @pulumi.getter
675
722
  def name(self) -> pulumi.Output[str]:
@@ -5,6 +5,7 @@
5
5
  from .. import _utilities
6
6
  import typing
7
7
  # Export this package's modules as members:
8
+ from .auth_config import *
8
9
  from .client import *
9
10
  from ._inputs import *
10
11
  from . import outputs