pulumi-gcp 8.26.0a1744267117__py3-none-any.whl → 8.27.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 (116) hide show
  1. pulumi_gcp/__init__.py +128 -0
  2. pulumi_gcp/accesscontextmanager/_inputs.py +117 -0
  3. pulumi_gcp/accesscontextmanager/gcp_user_access_binding.py +81 -26
  4. pulumi_gcp/accesscontextmanager/outputs.py +95 -0
  5. pulumi_gcp/apigee/__init__.py +1 -0
  6. pulumi_gcp/apigee/control_plane_access.py +419 -0
  7. pulumi_gcp/bigquery/_inputs.py +87 -30
  8. pulumi_gcp/bigquery/outputs.py +58 -20
  9. pulumi_gcp/bigquery/table.py +28 -14
  10. pulumi_gcp/clouddeploy/__init__.py +1 -0
  11. pulumi_gcp/clouddeploy/_inputs.py +2876 -1314
  12. pulumi_gcp/clouddeploy/automation.py +64 -2
  13. pulumi_gcp/clouddeploy/deploy_policy.py +1179 -0
  14. pulumi_gcp/clouddeploy/outputs.py +1130 -5
  15. pulumi_gcp/cloudrun/service.py +46 -0
  16. pulumi_gcp/cloudrunv2/get_service.py +12 -1
  17. pulumi_gcp/cloudrunv2/service.py +87 -2
  18. pulumi_gcp/compute/_inputs.py +448 -1
  19. pulumi_gcp/compute/image.py +183 -0
  20. pulumi_gcp/compute/outputs.py +387 -3
  21. pulumi_gcp/compute/region_backend_service.py +6 -2
  22. pulumi_gcp/compute/resource_policy.py +30 -0
  23. pulumi_gcp/compute/snapshot.py +6 -0
  24. pulumi_gcp/databasemigrationservice/_inputs.py +27 -24
  25. pulumi_gcp/databasemigrationservice/connection_profile.py +168 -0
  26. pulumi_gcp/databasemigrationservice/migration_job.py +6 -0
  27. pulumi_gcp/databasemigrationservice/outputs.py +18 -15
  28. pulumi_gcp/datastream/_inputs.py +506 -0
  29. pulumi_gcp/datastream/outputs.py +376 -0
  30. pulumi_gcp/datastream/stream.py +0 -2
  31. pulumi_gcp/developerconnect/__init__.py +1 -0
  32. pulumi_gcp/developerconnect/_inputs.py +77 -0
  33. pulumi_gcp/developerconnect/account_connector.py +866 -0
  34. pulumi_gcp/developerconnect/outputs.py +64 -0
  35. pulumi_gcp/firebase/hosting_version.py +34 -14
  36. pulumi_gcp/firestore/database.py +82 -0
  37. pulumi_gcp/firestore/index.py +263 -7
  38. pulumi_gcp/folder/__init__.py +1 -0
  39. pulumi_gcp/folder/service_identity.py +314 -0
  40. pulumi_gcp/gemini/__init__.py +2 -0
  41. pulumi_gcp/gemini/_inputs.py +176 -0
  42. pulumi_gcp/gemini/code_tools_setting.py +601 -0
  43. pulumi_gcp/gemini/code_tools_setting_binding.py +753 -0
  44. pulumi_gcp/gemini/outputs.py +124 -0
  45. pulumi_gcp/gkeonprem/v_mware_cluster.py +49 -0
  46. pulumi_gcp/gkeonprem/vmware_admin_cluster.py +28 -0
  47. pulumi_gcp/managedkafka/_inputs.py +6 -6
  48. pulumi_gcp/managedkafka/connect_cluster.py +84 -40
  49. pulumi_gcp/managedkafka/connector.py +98 -44
  50. pulumi_gcp/managedkafka/outputs.py +4 -4
  51. pulumi_gcp/memorystore/_inputs.py +205 -0
  52. pulumi_gcp/memorystore/get_instance.py +45 -1
  53. pulumi_gcp/memorystore/instance.py +194 -0
  54. pulumi_gcp/memorystore/outputs.py +270 -0
  55. pulumi_gcp/ml/engine_model.py +0 -22
  56. pulumi_gcp/monitoring/_inputs.py +37 -19
  57. pulumi_gcp/monitoring/outputs.py +39 -11
  58. pulumi_gcp/monitoring/uptime_check_config.py +8 -0
  59. pulumi_gcp/netapp/_inputs.py +92 -6
  60. pulumi_gcp/netapp/outputs.py +77 -4
  61. pulumi_gcp/netapp/volume_replication.py +12 -2
  62. pulumi_gcp/networkconnectivity/service_connection_policy.py +4 -2
  63. pulumi_gcp/networkconnectivity/spoke.py +14 -14
  64. pulumi_gcp/orgpolicy/policy.py +2 -2
  65. pulumi_gcp/osconfig/__init__.py +1 -0
  66. pulumi_gcp/osconfig/_inputs.py +5439 -0
  67. pulumi_gcp/osconfig/outputs.py +3978 -0
  68. pulumi_gcp/osconfig/v2_policy_orchestrator.py +8 -0
  69. pulumi_gcp/osconfig/v2_policy_orchestrator_for_organization.py +1055 -0
  70. pulumi_gcp/parametermanager/get_regional_parameter.py +12 -1
  71. pulumi_gcp/parametermanager/get_regional_parameter_version.py +15 -1
  72. pulumi_gcp/parametermanager/outputs.py +11 -0
  73. pulumi_gcp/parametermanager/regional_parameter.py +78 -0
  74. pulumi_gcp/parametermanager/regional_parameter_version.py +66 -0
  75. pulumi_gcp/pubsub/subscription.py +6 -6
  76. pulumi_gcp/pulumi-plugin.json +1 -1
  77. pulumi_gcp/redis/_inputs.py +69 -0
  78. pulumi_gcp/redis/cluster.py +140 -0
  79. pulumi_gcp/redis/outputs.py +40 -0
  80. pulumi_gcp/spanner/database.py +0 -34
  81. pulumi_gcp/storage/_inputs.py +111 -0
  82. pulumi_gcp/storage/bucket_object.py +28 -0
  83. pulumi_gcp/storage/control_folder_intelligence_config.py +32 -0
  84. pulumi_gcp/storage/control_organization_intelligence_config.py +32 -0
  85. pulumi_gcp/storage/control_project_intelligence_config.py +32 -0
  86. pulumi_gcp/storage/get_bucket_object.py +12 -1
  87. pulumi_gcp/storage/get_bucket_object_content.py +12 -1
  88. pulumi_gcp/storage/get_control_folder_intelligence_config.py +12 -1
  89. pulumi_gcp/storage/get_control_organization_intelligence_config.py +12 -1
  90. pulumi_gcp/storage/get_control_project_intelligence_config.py +12 -1
  91. pulumi_gcp/storage/outputs.py +174 -0
  92. pulumi_gcp/vertex/__init__.py +12 -0
  93. pulumi_gcp/vertex/_inputs.py +294 -0
  94. pulumi_gcp/vertex/ai_endpoint.py +4 -4
  95. pulumi_gcp/vertex/ai_feature_group.py +1 -1
  96. pulumi_gcp/vertex/ai_feature_group_iam_binding.py +583 -0
  97. pulumi_gcp/vertex/ai_feature_group_iam_member.py +583 -0
  98. pulumi_gcp/vertex/ai_feature_group_iam_policy.py +422 -0
  99. pulumi_gcp/vertex/ai_feature_online_store_featureview.py +26 -27
  100. pulumi_gcp/vertex/ai_feature_online_store_featureview_iam_binding.py +614 -0
  101. pulumi_gcp/vertex/ai_feature_online_store_featureview_iam_member.py +614 -0
  102. pulumi_gcp/vertex/ai_feature_online_store_featureview_iam_policy.py +453 -0
  103. pulumi_gcp/vertex/ai_feature_online_store_iam_binding.py +583 -0
  104. pulumi_gcp/vertex/ai_feature_online_store_iam_member.py +583 -0
  105. pulumi_gcp/vertex/ai_feature_online_store_iam_policy.py +422 -0
  106. pulumi_gcp/vertex/get_ai_feature_group_iam_policy.py +177 -0
  107. pulumi_gcp/vertex/get_ai_feature_online_store_featureview_iam_policy.py +194 -0
  108. pulumi_gcp/vertex/get_ai_feature_online_store_iam_policy.py +177 -0
  109. pulumi_gcp/vertex/outputs.py +168 -0
  110. pulumi_gcp/workbench/_inputs.py +60 -0
  111. pulumi_gcp/workbench/instance.py +48 -0
  112. pulumi_gcp/workbench/outputs.py +55 -0
  113. {pulumi_gcp-8.26.0a1744267117.dist-info → pulumi_gcp-8.27.0.dist-info}/METADATA +1 -1
  114. {pulumi_gcp-8.26.0a1744267117.dist-info → pulumi_gcp-8.27.0.dist-info}/RECORD +116 -97
  115. {pulumi_gcp-8.26.0a1744267117.dist-info → pulumi_gcp-8.27.0.dist-info}/WHEEL +0 -0
  116. {pulumi_gcp-8.26.0a1744267117.dist-info → pulumi_gcp-8.27.0.dist-info}/top_level.txt +0 -0
@@ -14,13 +14,137 @@ if sys.version_info >= (3, 11):
14
14
  else:
15
15
  from typing_extensions import NotRequired, TypedDict, TypeAlias
16
16
  from .. import _utilities
17
+ from . import outputs
17
18
 
18
19
  __all__ = [
20
+ 'CodeToolsSettingEnabledTool',
21
+ 'CodeToolsSettingEnabledToolConfig',
19
22
  'RepositoryGroupIamBindingCondition',
20
23
  'RepositoryGroupIamMemberCondition',
21
24
  'RepositoryGroupRepository',
22
25
  ]
23
26
 
27
+ @pulumi.output_type
28
+ class CodeToolsSettingEnabledTool(dict):
29
+ @staticmethod
30
+ def __key_warning(key: str):
31
+ suggest = None
32
+ if key == "accountConnector":
33
+ suggest = "account_connector"
34
+ elif key == "uriOverride":
35
+ suggest = "uri_override"
36
+
37
+ if suggest:
38
+ pulumi.log.warn(f"Key '{key}' not found in CodeToolsSettingEnabledTool. Access the value via the '{suggest}' property getter instead.")
39
+
40
+ def __getitem__(self, key: str) -> Any:
41
+ CodeToolsSettingEnabledTool.__key_warning(key)
42
+ return super().__getitem__(key)
43
+
44
+ def get(self, key: str, default = None) -> Any:
45
+ CodeToolsSettingEnabledTool.__key_warning(key)
46
+ return super().get(key, default)
47
+
48
+ def __init__(__self__, *,
49
+ handle: builtins.str,
50
+ tool: builtins.str,
51
+ account_connector: Optional[builtins.str] = None,
52
+ configs: Optional[Sequence['outputs.CodeToolsSettingEnabledToolConfig']] = None,
53
+ uri_override: Optional[builtins.str] = None):
54
+ """
55
+ :param builtins.str handle: Handle used to invoke the tool.
56
+ :param builtins.str tool: Link to the Tool
57
+ :param builtins.str account_connector: Link to the Dev Connect Account Connector that holds the user credentials.
58
+ projects/{project}/locations/{location}/accountConnectors/{account_connector_id}
59
+ :param Sequence['CodeToolsSettingEnabledToolConfigArgs'] configs: Configuration parameters for the tool.
60
+ Structure is documented below.
61
+ :param builtins.str uri_override: Overridden URI, if allowed by Tool.
62
+ """
63
+ pulumi.set(__self__, "handle", handle)
64
+ pulumi.set(__self__, "tool", tool)
65
+ if account_connector is not None:
66
+ pulumi.set(__self__, "account_connector", account_connector)
67
+ if configs is not None:
68
+ pulumi.set(__self__, "configs", configs)
69
+ if uri_override is not None:
70
+ pulumi.set(__self__, "uri_override", uri_override)
71
+
72
+ @property
73
+ @pulumi.getter
74
+ def handle(self) -> builtins.str:
75
+ """
76
+ Handle used to invoke the tool.
77
+ """
78
+ return pulumi.get(self, "handle")
79
+
80
+ @property
81
+ @pulumi.getter
82
+ def tool(self) -> builtins.str:
83
+ """
84
+ Link to the Tool
85
+ """
86
+ return pulumi.get(self, "tool")
87
+
88
+ @property
89
+ @pulumi.getter(name="accountConnector")
90
+ def account_connector(self) -> Optional[builtins.str]:
91
+ """
92
+ Link to the Dev Connect Account Connector that holds the user credentials.
93
+ projects/{project}/locations/{location}/accountConnectors/{account_connector_id}
94
+ """
95
+ return pulumi.get(self, "account_connector")
96
+
97
+ @property
98
+ @pulumi.getter
99
+ def configs(self) -> Optional[Sequence['outputs.CodeToolsSettingEnabledToolConfig']]:
100
+ """
101
+ Configuration parameters for the tool.
102
+ Structure is documented below.
103
+ """
104
+ return pulumi.get(self, "configs")
105
+
106
+ @property
107
+ @pulumi.getter(name="uriOverride")
108
+ def uri_override(self) -> Optional[builtins.str]:
109
+ """
110
+ Overridden URI, if allowed by Tool.
111
+ """
112
+ return pulumi.get(self, "uri_override")
113
+
114
+
115
+ @pulumi.output_type
116
+ class CodeToolsSettingEnabledToolConfig(dict):
117
+ def __init__(__self__, *,
118
+ key: builtins.str,
119
+ value: builtins.str):
120
+ """
121
+ :param builtins.str key: Key of the configuration item.
122
+ :param builtins.str value: Value of the configuration item.
123
+
124
+ - - -
125
+ """
126
+ pulumi.set(__self__, "key", key)
127
+ pulumi.set(__self__, "value", value)
128
+
129
+ @property
130
+ @pulumi.getter
131
+ def key(self) -> builtins.str:
132
+ """
133
+ Key of the configuration item.
134
+ """
135
+ return pulumi.get(self, "key")
136
+
137
+ @property
138
+ @pulumi.getter
139
+ def value(self) -> builtins.str:
140
+ """
141
+ Value of the configuration item.
142
+
143
+ - - -
144
+ """
145
+ return pulumi.get(self, "value")
146
+
147
+
24
148
  @pulumi.output_type
25
149
  class RepositoryGroupIamBindingCondition(dict):
26
150
  def __init__(__self__, *,
@@ -33,6 +33,7 @@ class VMwareClusterArgs:
33
33
  dataplane_v2: Optional[pulumi.Input['VMwareClusterDataplaneV2Args']] = None,
34
34
  description: Optional[pulumi.Input[builtins.str]] = None,
35
35
  disable_bundled_ingress: Optional[pulumi.Input[builtins.bool]] = None,
36
+ enable_advanced_cluster: Optional[pulumi.Input[builtins.bool]] = None,
36
37
  enable_control_plane_v2: Optional[pulumi.Input[builtins.bool]] = None,
37
38
  load_balancer: Optional[pulumi.Input['VMwareClusterLoadBalancerArgs']] = None,
38
39
  name: Optional[pulumi.Input[builtins.str]] = None,
@@ -65,6 +66,7 @@ class VMwareClusterArgs:
65
66
  :param pulumi.Input[builtins.str] description: (Output)
66
67
  The description of the validation check.
67
68
  :param pulumi.Input[builtins.bool] disable_bundled_ingress: Disable bundled ingress.
69
+ :param pulumi.Input[builtins.bool] enable_advanced_cluster: Enable advanced cluster. Default to false.
68
70
  :param pulumi.Input[builtins.bool] enable_control_plane_v2: Enable control plane V2. Default to false.
69
71
  :param pulumi.Input['VMwareClusterLoadBalancerArgs'] load_balancer: Load Balancer configuration.
70
72
  :param pulumi.Input[builtins.str] name: The VMware cluster name.
@@ -92,6 +94,8 @@ class VMwareClusterArgs:
92
94
  pulumi.set(__self__, "description", description)
93
95
  if disable_bundled_ingress is not None:
94
96
  pulumi.set(__self__, "disable_bundled_ingress", disable_bundled_ingress)
97
+ if enable_advanced_cluster is not None:
98
+ pulumi.set(__self__, "enable_advanced_cluster", enable_advanced_cluster)
95
99
  if enable_control_plane_v2 is not None:
96
100
  pulumi.set(__self__, "enable_control_plane_v2", enable_control_plane_v2)
97
101
  if load_balancer is not None:
@@ -253,6 +257,18 @@ class VMwareClusterArgs:
253
257
  def disable_bundled_ingress(self, value: Optional[pulumi.Input[builtins.bool]]):
254
258
  pulumi.set(self, "disable_bundled_ingress", value)
255
259
 
260
+ @property
261
+ @pulumi.getter(name="enableAdvancedCluster")
262
+ def enable_advanced_cluster(self) -> Optional[pulumi.Input[builtins.bool]]:
263
+ """
264
+ Enable advanced cluster. Default to false.
265
+ """
266
+ return pulumi.get(self, "enable_advanced_cluster")
267
+
268
+ @enable_advanced_cluster.setter
269
+ def enable_advanced_cluster(self, value: Optional[pulumi.Input[builtins.bool]]):
270
+ pulumi.set(self, "enable_advanced_cluster", value)
271
+
256
272
  @property
257
273
  @pulumi.getter(name="enableControlPlaneV2")
258
274
  def enable_control_plane_v2(self) -> Optional[pulumi.Input[builtins.bool]]:
@@ -374,6 +390,7 @@ class _VMwareClusterState:
374
390
  description: Optional[pulumi.Input[builtins.str]] = None,
375
391
  disable_bundled_ingress: Optional[pulumi.Input[builtins.bool]] = None,
376
392
  effective_annotations: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
393
+ enable_advanced_cluster: Optional[pulumi.Input[builtins.bool]] = None,
377
394
  enable_control_plane_v2: Optional[pulumi.Input[builtins.bool]] = None,
378
395
  endpoint: Optional[pulumi.Input[builtins.str]] = None,
379
396
  etag: Optional[pulumi.Input[builtins.str]] = None,
@@ -418,6 +435,7 @@ class _VMwareClusterState:
418
435
  :param pulumi.Input[builtins.str] description: (Output)
419
436
  The description of the validation check.
420
437
  :param pulumi.Input[builtins.bool] disable_bundled_ingress: Disable bundled ingress.
438
+ :param pulumi.Input[builtins.bool] enable_advanced_cluster: Enable advanced cluster. Default to false.
421
439
  :param pulumi.Input[builtins.bool] enable_control_plane_v2: Enable control plane V2. Default to false.
422
440
  :param pulumi.Input[builtins.str] endpoint: The DNS name of VMware User Cluster's API server.
423
441
  :param pulumi.Input[builtins.str] etag: This checksum is computed by the server based on the value of other
@@ -481,6 +499,8 @@ class _VMwareClusterState:
481
499
  pulumi.set(__self__, "disable_bundled_ingress", disable_bundled_ingress)
482
500
  if effective_annotations is not None:
483
501
  pulumi.set(__self__, "effective_annotations", effective_annotations)
502
+ if enable_advanced_cluster is not None:
503
+ pulumi.set(__self__, "enable_advanced_cluster", enable_advanced_cluster)
484
504
  if enable_control_plane_v2 is not None:
485
505
  pulumi.set(__self__, "enable_control_plane_v2", enable_control_plane_v2)
486
506
  if endpoint is not None:
@@ -675,6 +695,18 @@ class _VMwareClusterState:
675
695
  def effective_annotations(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]):
676
696
  pulumi.set(self, "effective_annotations", value)
677
697
 
698
+ @property
699
+ @pulumi.getter(name="enableAdvancedCluster")
700
+ def enable_advanced_cluster(self) -> Optional[pulumi.Input[builtins.bool]]:
701
+ """
702
+ Enable advanced cluster. Default to false.
703
+ """
704
+ return pulumi.get(self, "enable_advanced_cluster")
705
+
706
+ @enable_advanced_cluster.setter
707
+ def enable_advanced_cluster(self, value: Optional[pulumi.Input[builtins.bool]]):
708
+ pulumi.set(self, "enable_advanced_cluster", value)
709
+
678
710
  @property
679
711
  @pulumi.getter(name="enableControlPlaneV2")
680
712
  def enable_control_plane_v2(self) -> Optional[pulumi.Input[builtins.bool]]:
@@ -957,6 +989,7 @@ class VMwareCluster(pulumi.CustomResource):
957
989
  dataplane_v2: Optional[pulumi.Input[Union['VMwareClusterDataplaneV2Args', 'VMwareClusterDataplaneV2ArgsDict']]] = None,
958
990
  description: Optional[pulumi.Input[builtins.str]] = None,
959
991
  disable_bundled_ingress: Optional[pulumi.Input[builtins.bool]] = None,
992
+ enable_advanced_cluster: Optional[pulumi.Input[builtins.bool]] = None,
960
993
  enable_control_plane_v2: Optional[pulumi.Input[builtins.bool]] = None,
961
994
  load_balancer: Optional[pulumi.Input[Union['VMwareClusterLoadBalancerArgs', 'VMwareClusterLoadBalancerArgsDict']]] = None,
962
995
  location: Optional[pulumi.Input[builtins.str]] = None,
@@ -1177,6 +1210,7 @@ class VMwareCluster(pulumi.CustomResource):
1177
1210
  },
1178
1211
  vm_tracking_enabled=True,
1179
1212
  enable_control_plane_v2=True,
1213
+ enable_advanced_cluster=True,
1180
1214
  upgrade_policy={
1181
1215
  "control_plane_only": True,
1182
1216
  },
@@ -1238,6 +1272,7 @@ class VMwareCluster(pulumi.CustomResource):
1238
1272
  :param pulumi.Input[builtins.str] description: (Output)
1239
1273
  The description of the validation check.
1240
1274
  :param pulumi.Input[builtins.bool] disable_bundled_ingress: Disable bundled ingress.
1275
+ :param pulumi.Input[builtins.bool] enable_advanced_cluster: Enable advanced cluster. Default to false.
1241
1276
  :param pulumi.Input[builtins.bool] enable_control_plane_v2: Enable control plane V2. Default to false.
1242
1277
  :param pulumi.Input[Union['VMwareClusterLoadBalancerArgs', 'VMwareClusterLoadBalancerArgsDict']] load_balancer: Load Balancer configuration.
1243
1278
  :param pulumi.Input[builtins.str] location: The location of the resource.
@@ -1463,6 +1498,7 @@ class VMwareCluster(pulumi.CustomResource):
1463
1498
  },
1464
1499
  vm_tracking_enabled=True,
1465
1500
  enable_control_plane_v2=True,
1501
+ enable_advanced_cluster=True,
1466
1502
  upgrade_policy={
1467
1503
  "control_plane_only": True,
1468
1504
  },
@@ -1527,6 +1563,7 @@ class VMwareCluster(pulumi.CustomResource):
1527
1563
  dataplane_v2: Optional[pulumi.Input[Union['VMwareClusterDataplaneV2Args', 'VMwareClusterDataplaneV2ArgsDict']]] = None,
1528
1564
  description: Optional[pulumi.Input[builtins.str]] = None,
1529
1565
  disable_bundled_ingress: Optional[pulumi.Input[builtins.bool]] = None,
1566
+ enable_advanced_cluster: Optional[pulumi.Input[builtins.bool]] = None,
1530
1567
  enable_control_plane_v2: Optional[pulumi.Input[builtins.bool]] = None,
1531
1568
  load_balancer: Optional[pulumi.Input[Union['VMwareClusterLoadBalancerArgs', 'VMwareClusterLoadBalancerArgsDict']]] = None,
1532
1569
  location: Optional[pulumi.Input[builtins.str]] = None,
@@ -1560,6 +1597,7 @@ class VMwareCluster(pulumi.CustomResource):
1560
1597
  __props__.__dict__["dataplane_v2"] = dataplane_v2
1561
1598
  __props__.__dict__["description"] = description
1562
1599
  __props__.__dict__["disable_bundled_ingress"] = disable_bundled_ingress
1600
+ __props__.__dict__["enable_advanced_cluster"] = enable_advanced_cluster
1563
1601
  __props__.__dict__["enable_control_plane_v2"] = enable_control_plane_v2
1564
1602
  __props__.__dict__["load_balancer"] = load_balancer
1565
1603
  if location is None and not opts.urn:
@@ -1610,6 +1648,7 @@ class VMwareCluster(pulumi.CustomResource):
1610
1648
  description: Optional[pulumi.Input[builtins.str]] = None,
1611
1649
  disable_bundled_ingress: Optional[pulumi.Input[builtins.bool]] = None,
1612
1650
  effective_annotations: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
1651
+ enable_advanced_cluster: Optional[pulumi.Input[builtins.bool]] = None,
1613
1652
  enable_control_plane_v2: Optional[pulumi.Input[builtins.bool]] = None,
1614
1653
  endpoint: Optional[pulumi.Input[builtins.str]] = None,
1615
1654
  etag: Optional[pulumi.Input[builtins.str]] = None,
@@ -1659,6 +1698,7 @@ class VMwareCluster(pulumi.CustomResource):
1659
1698
  :param pulumi.Input[builtins.str] description: (Output)
1660
1699
  The description of the validation check.
1661
1700
  :param pulumi.Input[builtins.bool] disable_bundled_ingress: Disable bundled ingress.
1701
+ :param pulumi.Input[builtins.bool] enable_advanced_cluster: Enable advanced cluster. Default to false.
1662
1702
  :param pulumi.Input[builtins.bool] enable_control_plane_v2: Enable control plane V2. Default to false.
1663
1703
  :param pulumi.Input[builtins.str] endpoint: The DNS name of VMware User Cluster's API server.
1664
1704
  :param pulumi.Input[builtins.str] etag: This checksum is computed by the server based on the value of other
@@ -1714,6 +1754,7 @@ class VMwareCluster(pulumi.CustomResource):
1714
1754
  __props__.__dict__["description"] = description
1715
1755
  __props__.__dict__["disable_bundled_ingress"] = disable_bundled_ingress
1716
1756
  __props__.__dict__["effective_annotations"] = effective_annotations
1757
+ __props__.__dict__["enable_advanced_cluster"] = enable_advanced_cluster
1717
1758
  __props__.__dict__["enable_control_plane_v2"] = enable_control_plane_v2
1718
1759
  __props__.__dict__["endpoint"] = endpoint
1719
1760
  __props__.__dict__["etag"] = etag
@@ -1840,6 +1881,14 @@ class VMwareCluster(pulumi.CustomResource):
1840
1881
  def effective_annotations(self) -> pulumi.Output[Mapping[str, builtins.str]]:
1841
1882
  return pulumi.get(self, "effective_annotations")
1842
1883
 
1884
+ @property
1885
+ @pulumi.getter(name="enableAdvancedCluster")
1886
+ def enable_advanced_cluster(self) -> pulumi.Output[Optional[builtins.bool]]:
1887
+ """
1888
+ Enable advanced cluster. Default to false.
1889
+ """
1890
+ return pulumi.get(self, "enable_advanced_cluster")
1891
+
1843
1892
  @property
1844
1893
  @pulumi.getter(name="enableControlPlaneV2")
1845
1894
  def enable_control_plane_v2(self) -> pulumi.Output[Optional[builtins.bool]]:
@@ -318,6 +318,7 @@ class _VmwareAdminClusterState:
318
318
  create_time: Optional[pulumi.Input[builtins.str]] = None,
319
319
  description: Optional[pulumi.Input[builtins.str]] = None,
320
320
  effective_annotations: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
321
+ enable_advanced_cluster: Optional[pulumi.Input[builtins.bool]] = None,
321
322
  endpoint: Optional[pulumi.Input[builtins.str]] = None,
322
323
  etag: Optional[pulumi.Input[builtins.str]] = None,
323
324
  fleets: Optional[pulumi.Input[Sequence[pulumi.Input['VmwareAdminClusterFleetArgs']]]] = None,
@@ -352,6 +353,7 @@ class _VmwareAdminClusterState:
352
353
  :param pulumi.Input['VmwareAdminClusterControlPlaneNodeArgs'] control_plane_node: The VMware admin cluster control plane node configuration.
353
354
  :param pulumi.Input[builtins.str] create_time: The time the cluster was created, in RFC3339 text format.
354
355
  :param pulumi.Input[builtins.str] description: A human readable description of this VMware admin cluster.
356
+ :param pulumi.Input[builtins.bool] enable_advanced_cluster: If set, the advanced cluster feature is enabled.
355
357
  :param pulumi.Input[builtins.str] endpoint: The DNS name of VMware admin cluster's API server.
356
358
  :param pulumi.Input[builtins.str] etag: This checksum is computed by the server based on the value of other
357
359
  fields, and may be sent on update and delete requests to ensure the
@@ -407,6 +409,8 @@ class _VmwareAdminClusterState:
407
409
  pulumi.set(__self__, "description", description)
408
410
  if effective_annotations is not None:
409
411
  pulumi.set(__self__, "effective_annotations", effective_annotations)
412
+ if enable_advanced_cluster is not None:
413
+ pulumi.set(__self__, "enable_advanced_cluster", enable_advanced_cluster)
410
414
  if endpoint is not None:
411
415
  pulumi.set(__self__, "endpoint", endpoint)
412
416
  if etag is not None:
@@ -566,6 +570,18 @@ class _VmwareAdminClusterState:
566
570
  def effective_annotations(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]):
567
571
  pulumi.set(self, "effective_annotations", value)
568
572
 
573
+ @property
574
+ @pulumi.getter(name="enableAdvancedCluster")
575
+ def enable_advanced_cluster(self) -> Optional[pulumi.Input[builtins.bool]]:
576
+ """
577
+ If set, the advanced cluster feature is enabled.
578
+ """
579
+ return pulumi.get(self, "enable_advanced_cluster")
580
+
581
+ @enable_advanced_cluster.setter
582
+ def enable_advanced_cluster(self, value: Optional[pulumi.Input[builtins.bool]]):
583
+ pulumi.set(self, "enable_advanced_cluster", value)
584
+
569
585
  @property
570
586
  @pulumi.getter
571
587
  def endpoint(self) -> Optional[pulumi.Input[builtins.str]]:
@@ -1337,6 +1353,7 @@ class VmwareAdminCluster(pulumi.CustomResource):
1337
1353
  __props__.__dict__["vcenter"] = vcenter
1338
1354
  __props__.__dict__["create_time"] = None
1339
1355
  __props__.__dict__["effective_annotations"] = None
1356
+ __props__.__dict__["enable_advanced_cluster"] = None
1340
1357
  __props__.__dict__["endpoint"] = None
1341
1358
  __props__.__dict__["etag"] = None
1342
1359
  __props__.__dict__["fleets"] = None
@@ -1366,6 +1383,7 @@ class VmwareAdminCluster(pulumi.CustomResource):
1366
1383
  create_time: Optional[pulumi.Input[builtins.str]] = None,
1367
1384
  description: Optional[pulumi.Input[builtins.str]] = None,
1368
1385
  effective_annotations: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
1386
+ enable_advanced_cluster: Optional[pulumi.Input[builtins.bool]] = None,
1369
1387
  endpoint: Optional[pulumi.Input[builtins.str]] = None,
1370
1388
  etag: Optional[pulumi.Input[builtins.str]] = None,
1371
1389
  fleets: Optional[pulumi.Input[Sequence[pulumi.Input[Union['VmwareAdminClusterFleetArgs', 'VmwareAdminClusterFleetArgsDict']]]]] = None,
@@ -1405,6 +1423,7 @@ class VmwareAdminCluster(pulumi.CustomResource):
1405
1423
  :param pulumi.Input[Union['VmwareAdminClusterControlPlaneNodeArgs', 'VmwareAdminClusterControlPlaneNodeArgsDict']] control_plane_node: The VMware admin cluster control plane node configuration.
1406
1424
  :param pulumi.Input[builtins.str] create_time: The time the cluster was created, in RFC3339 text format.
1407
1425
  :param pulumi.Input[builtins.str] description: A human readable description of this VMware admin cluster.
1426
+ :param pulumi.Input[builtins.bool] enable_advanced_cluster: If set, the advanced cluster feature is enabled.
1408
1427
  :param pulumi.Input[builtins.str] endpoint: The DNS name of VMware admin cluster's API server.
1409
1428
  :param pulumi.Input[builtins.str] etag: This checksum is computed by the server based on the value of other
1410
1429
  fields, and may be sent on update and delete requests to ensure the
@@ -1454,6 +1473,7 @@ class VmwareAdminCluster(pulumi.CustomResource):
1454
1473
  __props__.__dict__["create_time"] = create_time
1455
1474
  __props__.__dict__["description"] = description
1456
1475
  __props__.__dict__["effective_annotations"] = effective_annotations
1476
+ __props__.__dict__["enable_advanced_cluster"] = enable_advanced_cluster
1457
1477
  __props__.__dict__["endpoint"] = endpoint
1458
1478
  __props__.__dict__["etag"] = etag
1459
1479
  __props__.__dict__["fleets"] = fleets
@@ -1556,6 +1576,14 @@ class VmwareAdminCluster(pulumi.CustomResource):
1556
1576
  def effective_annotations(self) -> pulumi.Output[Mapping[str, builtins.str]]:
1557
1577
  return pulumi.get(self, "effective_annotations")
1558
1578
 
1579
+ @property
1580
+ @pulumi.getter(name="enableAdvancedCluster")
1581
+ def enable_advanced_cluster(self) -> pulumi.Output[builtins.bool]:
1582
+ """
1583
+ If set, the advanced cluster feature is enabled.
1584
+ """
1585
+ return pulumi.get(self, "enable_advanced_cluster")
1586
+
1559
1587
  @property
1560
1588
  @pulumi.getter
1561
1589
  def endpoint(self) -> pulumi.Output[builtins.str]:
@@ -154,7 +154,7 @@ if not MYPY:
154
154
  class ClusterGcpConfigAccessConfigArgsDict(TypedDict):
155
155
  network_configs: pulumi.Input[Sequence[pulumi.Input['ClusterGcpConfigAccessConfigNetworkConfigArgsDict']]]
156
156
  """
157
- Virtual Private Cloud (VPC) subnets where IP addresses for the Kafka cluster are allocated. To make the cluster available in a VPC, you must specify at least one subnet per network. You must specify between 1 and 10 subnets. Additional subnets may be specified with additional `network_configs` blocks.
157
+ Virtual Private Cloud (VPC) subnets where IP addresses for the Kafka cluster are allocated. To make the cluster available in a VPC, you must specify at least one `network_configs` block. Max of 10 subnets per cluster. Additional subnets may be specified with additional `network_configs` blocks.
158
158
  Structure is documented below.
159
159
  """
160
160
  elif False:
@@ -165,7 +165,7 @@ class ClusterGcpConfigAccessConfigArgs:
165
165
  def __init__(__self__, *,
166
166
  network_configs: pulumi.Input[Sequence[pulumi.Input['ClusterGcpConfigAccessConfigNetworkConfigArgs']]]):
167
167
  """
168
- :param pulumi.Input[Sequence[pulumi.Input['ClusterGcpConfigAccessConfigNetworkConfigArgs']]] network_configs: Virtual Private Cloud (VPC) subnets where IP addresses for the Kafka cluster are allocated. To make the cluster available in a VPC, you must specify at least one subnet per network. You must specify between 1 and 10 subnets. Additional subnets may be specified with additional `network_configs` blocks.
168
+ :param pulumi.Input[Sequence[pulumi.Input['ClusterGcpConfigAccessConfigNetworkConfigArgs']]] network_configs: Virtual Private Cloud (VPC) subnets where IP addresses for the Kafka cluster are allocated. To make the cluster available in a VPC, you must specify at least one `network_configs` block. Max of 10 subnets per cluster. Additional subnets may be specified with additional `network_configs` blocks.
169
169
  Structure is documented below.
170
170
  """
171
171
  pulumi.set(__self__, "network_configs", network_configs)
@@ -174,7 +174,7 @@ class ClusterGcpConfigAccessConfigArgs:
174
174
  @pulumi.getter(name="networkConfigs")
175
175
  def network_configs(self) -> pulumi.Input[Sequence[pulumi.Input['ClusterGcpConfigAccessConfigNetworkConfigArgs']]]:
176
176
  """
177
- Virtual Private Cloud (VPC) subnets where IP addresses for the Kafka cluster are allocated. To make the cluster available in a VPC, you must specify at least one subnet per network. You must specify between 1 and 10 subnets. Additional subnets may be specified with additional `network_configs` blocks.
177
+ Virtual Private Cloud (VPC) subnets where IP addresses for the Kafka cluster are allocated. To make the cluster available in a VPC, you must specify at least one `network_configs` block. Max of 10 subnets per cluster. Additional subnets may be specified with additional `network_configs` blocks.
178
178
  Structure is documented below.
179
179
  """
180
180
  return pulumi.get(self, "network_configs")
@@ -188,7 +188,7 @@ if not MYPY:
188
188
  class ClusterGcpConfigAccessConfigNetworkConfigArgsDict(TypedDict):
189
189
  subnet: pulumi.Input[builtins.str]
190
190
  """
191
- Name of the VPC subnet from which the cluster is accessible. Both broker and bootstrap server IP addresses and DNS entries are automatically created in the subnet. The subnet must be located in the same region as the cluster. The project may differ. The name of the subnet must be in the format `projects/PROJECT_ID/regions/REGION/subnetworks/SUBNET`.
191
+ Name of the VPC subnet from which the cluster is accessible. Both broker and bootstrap server IP addresses and DNS entries are automatically created in the subnet. There can only be one subnet per network, and the subnet must be located in the same region as the cluster. The project may differ. The name of the subnet must be in the format `projects/PROJECT_ID/regions/REGION/subnetworks/SUBNET`.
192
192
  """
193
193
  elif False:
194
194
  ClusterGcpConfigAccessConfigNetworkConfigArgsDict: TypeAlias = Mapping[str, Any]
@@ -198,7 +198,7 @@ class ClusterGcpConfigAccessConfigNetworkConfigArgs:
198
198
  def __init__(__self__, *,
199
199
  subnet: pulumi.Input[builtins.str]):
200
200
  """
201
- :param pulumi.Input[builtins.str] subnet: Name of the VPC subnet from which the cluster is accessible. Both broker and bootstrap server IP addresses and DNS entries are automatically created in the subnet. The subnet must be located in the same region as the cluster. The project may differ. The name of the subnet must be in the format `projects/PROJECT_ID/regions/REGION/subnetworks/SUBNET`.
201
+ :param pulumi.Input[builtins.str] subnet: Name of the VPC subnet from which the cluster is accessible. Both broker and bootstrap server IP addresses and DNS entries are automatically created in the subnet. There can only be one subnet per network, and the subnet must be located in the same region as the cluster. The project may differ. The name of the subnet must be in the format `projects/PROJECT_ID/regions/REGION/subnetworks/SUBNET`.
202
202
  """
203
203
  pulumi.set(__self__, "subnet", subnet)
204
204
 
@@ -206,7 +206,7 @@ class ClusterGcpConfigAccessConfigNetworkConfigArgs:
206
206
  @pulumi.getter
207
207
  def subnet(self) -> pulumi.Input[builtins.str]:
208
208
  """
209
- Name of the VPC subnet from which the cluster is accessible. Both broker and bootstrap server IP addresses and DNS entries are automatically created in the subnet. The subnet must be located in the same region as the cluster. The project may differ. The name of the subnet must be in the format `projects/PROJECT_ID/regions/REGION/subnetworks/SUBNET`.
209
+ Name of the VPC subnet from which the cluster is accessible. Both broker and bootstrap server IP addresses and DNS entries are automatically created in the subnet. There can only be one subnet per network, and the subnet must be located in the same region as the cluster. The project may differ. The name of the subnet must be in the format `projects/PROJECT_ID/regions/REGION/subnetworks/SUBNET`.
210
210
  """
211
211
  return pulumi.get(self, "subnet")
212
212
 
@@ -385,22 +385,33 @@ class ConnectCluster(pulumi.CustomResource):
385
385
  ```python
386
386
  import pulumi
387
387
  import pulumi_gcp as gcp
388
-
389
- mkc_network = gcp.compute.Network("mkc_network",
390
- name="my-network",
391
- auto_create_subnetworks=False)
392
- mkc_subnet = gcp.compute.Subnetwork("mkc_subnet",
393
- name="my-subnetwork",
394
- ip_cidr_range="10.2.0.0/16",
395
- region="us-central1",
396
- network=mkc_network.id)
397
- mkc_additional_subnet = gcp.compute.Subnetwork("mkc_additional_subnet",
398
- name="my-additional-subnetwork-0",
388
+ import pulumi_time as time
389
+
390
+ project = gcp.organizations.Project("project",
391
+ project_id="tf-test_91980",
392
+ name="tf-test_37118",
393
+ org_id="123456789",
394
+ billing_account="000000-0000000-0000000-000000",
395
+ deletion_policy="DELETE")
396
+ wait60_seconds = time.index.Sleep("wait_60_seconds", create_duration=60s,
397
+ opts = pulumi.ResourceOptions(depends_on=[project]))
398
+ compute = gcp.projects.Service("compute",
399
+ project=project.project_id,
400
+ service="compute.googleapis.com",
401
+ opts = pulumi.ResourceOptions(depends_on=[wait60_seconds]))
402
+ managedkafka = gcp.projects.Service("managedkafka",
403
+ project=project.project_id,
404
+ service="managedkafka.googleapis.com",
405
+ opts = pulumi.ResourceOptions(depends_on=[wait60_seconds]))
406
+ mkc_secondary_subnet = gcp.compute.Subnetwork("mkc_secondary_subnet",
407
+ project=project.project_id,
408
+ name="my-secondary-subnetwork",
399
409
  ip_cidr_range="10.3.0.0/16",
400
410
  region="us-central1",
401
- network=mkc_network.id)
402
- project = gcp.organizations.get_project()
411
+ network="default",
412
+ opts = pulumi.ResourceOptions(depends_on=[compute]))
403
413
  gmk_cluster = gcp.managedkafka.Cluster("gmk_cluster",
414
+ project=project.project_id,
404
415
  cluster_id="my-cluster",
405
416
  location="us-central1",
406
417
  capacity_config={
@@ -410,13 +421,19 @@ class ConnectCluster(pulumi.CustomResource):
410
421
  gcp_config={
411
422
  "access_config": {
412
423
  "network_configs": [{
413
- "subnet": mkc_subnet.id.apply(lambda id: f"projects/{project.project_id}/regions/us-central1/subnetworks/{id}"),
424
+ "subnet": project.project_id.apply(lambda project_id: f"projects/{project_id}/regions/us-central1/subnetworks/default"),
414
425
  }],
415
426
  },
416
- })
427
+ },
428
+ opts = pulumi.ResourceOptions(depends_on=[managedkafka]))
417
429
  example = gcp.managedkafka.ConnectCluster("example",
430
+ project=project.project_id,
418
431
  connect_cluster_id="my-connect-cluster",
419
- kafka_cluster=gmk_cluster.cluster_id.apply(lambda cluster_id: f"projects/{project.project_id}/locations/us-central1/clusters/{cluster_id}"),
432
+ kafka_cluster=pulumi.Output.all(
433
+ project_id=project.project_id,
434
+ cluster_id=gmk_cluster.cluster_id
435
+ ).apply(lambda resolved_outputs: f"projects/{resolved_outputs['project_id']}/locations/us-central1/clusters/{resolved_outputs['cluster_id']}")
436
+ ,
420
437
  location="us-central1",
421
438
  capacity_config={
422
439
  "vcpu_count": "12",
@@ -425,15 +442,20 @@ class ConnectCluster(pulumi.CustomResource):
425
442
  gcp_config={
426
443
  "access_config": {
427
444
  "network_configs": [{
428
- "primary_subnet": mkc_subnet.id.apply(lambda id: f"projects/{project.project_id}/regions/us-central1/subnetworks/{id}"),
429
- "additional_subnets": [mkc_additional_subnet.id],
430
- "dns_domain_names": [gmk_cluster.cluster_id.apply(lambda cluster_id: f"{cluster_id}.us-central1.managedkafka-staging.{project.project_id}.cloud-staging.goog")],
445
+ "primary_subnet": project.project_id.apply(lambda project_id: f"projects/{project_id}/regions/us-central1/subnetworks/default"),
446
+ "additional_subnets": [mkc_secondary_subnet.id],
447
+ "dns_domain_names": [pulumi.Output.all(
448
+ cluster_id=gmk_cluster.cluster_id,
449
+ project_id=project.project_id
450
+ ).apply(lambda resolved_outputs: f"{resolved_outputs['cluster_id']}.us-central1.managedkafka.{resolved_outputs['project_id']}.cloud.goog")
451
+ ],
431
452
  }],
432
453
  },
433
454
  },
434
455
  labels={
435
456
  "key": "value",
436
- })
457
+ },
458
+ opts = pulumi.ResourceOptions(depends_on=[managedkafka]))
437
459
  ```
438
460
 
439
461
  ## Import
@@ -488,22 +510,33 @@ class ConnectCluster(pulumi.CustomResource):
488
510
  ```python
489
511
  import pulumi
490
512
  import pulumi_gcp as gcp
491
-
492
- mkc_network = gcp.compute.Network("mkc_network",
493
- name="my-network",
494
- auto_create_subnetworks=False)
495
- mkc_subnet = gcp.compute.Subnetwork("mkc_subnet",
496
- name="my-subnetwork",
497
- ip_cidr_range="10.2.0.0/16",
498
- region="us-central1",
499
- network=mkc_network.id)
500
- mkc_additional_subnet = gcp.compute.Subnetwork("mkc_additional_subnet",
501
- name="my-additional-subnetwork-0",
513
+ import pulumi_time as time
514
+
515
+ project = gcp.organizations.Project("project",
516
+ project_id="tf-test_91980",
517
+ name="tf-test_37118",
518
+ org_id="123456789",
519
+ billing_account="000000-0000000-0000000-000000",
520
+ deletion_policy="DELETE")
521
+ wait60_seconds = time.index.Sleep("wait_60_seconds", create_duration=60s,
522
+ opts = pulumi.ResourceOptions(depends_on=[project]))
523
+ compute = gcp.projects.Service("compute",
524
+ project=project.project_id,
525
+ service="compute.googleapis.com",
526
+ opts = pulumi.ResourceOptions(depends_on=[wait60_seconds]))
527
+ managedkafka = gcp.projects.Service("managedkafka",
528
+ project=project.project_id,
529
+ service="managedkafka.googleapis.com",
530
+ opts = pulumi.ResourceOptions(depends_on=[wait60_seconds]))
531
+ mkc_secondary_subnet = gcp.compute.Subnetwork("mkc_secondary_subnet",
532
+ project=project.project_id,
533
+ name="my-secondary-subnetwork",
502
534
  ip_cidr_range="10.3.0.0/16",
503
535
  region="us-central1",
504
- network=mkc_network.id)
505
- project = gcp.organizations.get_project()
536
+ network="default",
537
+ opts = pulumi.ResourceOptions(depends_on=[compute]))
506
538
  gmk_cluster = gcp.managedkafka.Cluster("gmk_cluster",
539
+ project=project.project_id,
507
540
  cluster_id="my-cluster",
508
541
  location="us-central1",
509
542
  capacity_config={
@@ -513,13 +546,19 @@ class ConnectCluster(pulumi.CustomResource):
513
546
  gcp_config={
514
547
  "access_config": {
515
548
  "network_configs": [{
516
- "subnet": mkc_subnet.id.apply(lambda id: f"projects/{project.project_id}/regions/us-central1/subnetworks/{id}"),
549
+ "subnet": project.project_id.apply(lambda project_id: f"projects/{project_id}/regions/us-central1/subnetworks/default"),
517
550
  }],
518
551
  },
519
- })
552
+ },
553
+ opts = pulumi.ResourceOptions(depends_on=[managedkafka]))
520
554
  example = gcp.managedkafka.ConnectCluster("example",
555
+ project=project.project_id,
521
556
  connect_cluster_id="my-connect-cluster",
522
- kafka_cluster=gmk_cluster.cluster_id.apply(lambda cluster_id: f"projects/{project.project_id}/locations/us-central1/clusters/{cluster_id}"),
557
+ kafka_cluster=pulumi.Output.all(
558
+ project_id=project.project_id,
559
+ cluster_id=gmk_cluster.cluster_id
560
+ ).apply(lambda resolved_outputs: f"projects/{resolved_outputs['project_id']}/locations/us-central1/clusters/{resolved_outputs['cluster_id']}")
561
+ ,
523
562
  location="us-central1",
524
563
  capacity_config={
525
564
  "vcpu_count": "12",
@@ -528,15 +567,20 @@ class ConnectCluster(pulumi.CustomResource):
528
567
  gcp_config={
529
568
  "access_config": {
530
569
  "network_configs": [{
531
- "primary_subnet": mkc_subnet.id.apply(lambda id: f"projects/{project.project_id}/regions/us-central1/subnetworks/{id}"),
532
- "additional_subnets": [mkc_additional_subnet.id],
533
- "dns_domain_names": [gmk_cluster.cluster_id.apply(lambda cluster_id: f"{cluster_id}.us-central1.managedkafka-staging.{project.project_id}.cloud-staging.goog")],
570
+ "primary_subnet": project.project_id.apply(lambda project_id: f"projects/{project_id}/regions/us-central1/subnetworks/default"),
571
+ "additional_subnets": [mkc_secondary_subnet.id],
572
+ "dns_domain_names": [pulumi.Output.all(
573
+ cluster_id=gmk_cluster.cluster_id,
574
+ project_id=project.project_id
575
+ ).apply(lambda resolved_outputs: f"{resolved_outputs['cluster_id']}.us-central1.managedkafka.{resolved_outputs['project_id']}.cloud.goog")
576
+ ],
534
577
  }],
535
578
  },
536
579
  },
537
580
  labels={
538
581
  "key": "value",
539
- })
582
+ },
583
+ opts = pulumi.ResourceOptions(depends_on=[managedkafka]))
540
584
  ```
541
585
 
542
586
  ## Import