pulumi-gcp 7.5.0a1704283083__py3-none-any.whl → 7.6.0__py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
Files changed (101) hide show
  1. pulumi_gcp/__init__.py +99 -0
  2. pulumi_gcp/bigqueryanalyticshub/_inputs.py +40 -0
  3. pulumi_gcp/bigqueryanalyticshub/listing.py +117 -3
  4. pulumi_gcp/bigqueryanalyticshub/outputs.py +49 -0
  5. pulumi_gcp/clouddeploy/__init__.py +1 -0
  6. pulumi_gcp/clouddeploy/_inputs.py +239 -0
  7. pulumi_gcp/clouddeploy/automation.py +1103 -0
  8. pulumi_gcp/clouddeploy/outputs.py +246 -0
  9. pulumi_gcp/clouddomains/__init__.py +10 -0
  10. pulumi_gcp/clouddomains/_inputs.py +1098 -0
  11. pulumi_gcp/clouddomains/outputs.py +1156 -0
  12. pulumi_gcp/clouddomains/registration.py +1068 -0
  13. pulumi_gcp/cloudrunv2/job.py +4 -4
  14. pulumi_gcp/composer/_inputs.py +79 -1
  15. pulumi_gcp/composer/outputs.py +131 -4
  16. pulumi_gcp/compute/__init__.py +1 -0
  17. pulumi_gcp/compute/_inputs.py +180 -0
  18. pulumi_gcp/compute/get_instance_template.py +11 -1
  19. pulumi_gcp/compute/get_region_instance_template.py +11 -1
  20. pulumi_gcp/compute/get_reservation.py +212 -0
  21. pulumi_gcp/compute/instance_template.py +47 -0
  22. pulumi_gcp/compute/network_firewall_policy.py +20 -22
  23. pulumi_gcp/compute/outputs.py +325 -0
  24. pulumi_gcp/compute/region_instance_template.py +47 -0
  25. pulumi_gcp/compute/region_network_firewall_policy.py +31 -35
  26. pulumi_gcp/compute/router_peer.py +54 -0
  27. pulumi_gcp/compute/vpn_tunnel.py +8 -4
  28. pulumi_gcp/config/__init__.pyi +2 -0
  29. pulumi_gcp/config/vars.py +4 -0
  30. pulumi_gcp/container/_inputs.py +23 -0
  31. pulumi_gcp/container/aws_node_pool.py +7 -7
  32. pulumi_gcp/container/cluster.py +68 -14
  33. pulumi_gcp/container/get_cluster.py +11 -1
  34. pulumi_gcp/container/outputs.py +49 -0
  35. pulumi_gcp/dataflow/pipeline.py +1 -1
  36. pulumi_gcp/dataproc/_inputs.py +413 -39
  37. pulumi_gcp/dataproc/metastore_service.py +63 -0
  38. pulumi_gcp/dataproc/outputs.py +461 -39
  39. pulumi_gcp/dns/__init__.py +1 -0
  40. pulumi_gcp/dns/_inputs.py +94 -0
  41. pulumi_gcp/dns/get_managed_zones.py +89 -0
  42. pulumi_gcp/dns/outputs.py +62 -0
  43. pulumi_gcp/edgecontainer/vpn_connection.py +10 -10
  44. pulumi_gcp/filestore/__init__.py +1 -0
  45. pulumi_gcp/filestore/get_instance.py +258 -0
  46. pulumi_gcp/filestore/instance.py +7 -7
  47. pulumi_gcp/filestore/outputs.py +126 -0
  48. pulumi_gcp/gkebackup/backup_plan.py +24 -8
  49. pulumi_gcp/gkebackup/restore_plan.py +36 -12
  50. pulumi_gcp/gkebackup/restore_plan_iam_binding.py +36 -12
  51. pulumi_gcp/gkebackup/restore_plan_iam_member.py +36 -12
  52. pulumi_gcp/gkebackup/restore_plan_iam_policy.py +36 -12
  53. pulumi_gcp/gkehub/_inputs.py +502 -2
  54. pulumi_gcp/gkehub/feature.py +34 -0
  55. pulumi_gcp/gkehub/feature_membership.py +177 -0
  56. pulumi_gcp/gkehub/membership.py +18 -6
  57. pulumi_gcp/gkehub/outputs.py +502 -2
  58. pulumi_gcp/gkeonprem/_inputs.py +21 -25
  59. pulumi_gcp/gkeonprem/outputs.py +34 -25
  60. pulumi_gcp/gkeonprem/v_mware_node_pool.py +34 -0
  61. pulumi_gcp/integrationconnectors/__init__.py +1 -0
  62. pulumi_gcp/integrationconnectors/endpoint_attachment.py +669 -0
  63. pulumi_gcp/kms/_inputs.py +42 -0
  64. pulumi_gcp/kms/crypto_key.py +36 -0
  65. pulumi_gcp/kms/get_kms_crypto_key.py +11 -1
  66. pulumi_gcp/kms/outputs.py +62 -0
  67. pulumi_gcp/logging/__init__.py +2 -0
  68. pulumi_gcp/logging/folder_settings.py +490 -0
  69. pulumi_gcp/logging/folder_sink.py +21 -21
  70. pulumi_gcp/logging/organization_settings.py +484 -0
  71. pulumi_gcp/logging/organization_sink.py +21 -21
  72. pulumi_gcp/logging/project_sink.py +7 -14
  73. pulumi_gcp/netapp/__init__.py +3 -0
  74. pulumi_gcp/netapp/active_directory.py +1413 -0
  75. pulumi_gcp/netapp/backup_vault.py +593 -0
  76. pulumi_gcp/netapp/kmsconfig.py +649 -0
  77. pulumi_gcp/orgpolicy/policy.py +28 -0
  78. pulumi_gcp/provider.py +20 -0
  79. pulumi_gcp/pubsub/subscription.py +29 -37
  80. pulumi_gcp/serviceaccount/account.py +47 -0
  81. pulumi_gcp/servicenetworking/connection.py +55 -1
  82. pulumi_gcp/sql/database_instance.py +2 -2
  83. pulumi_gcp/sql/ssl_cert.py +1 -1
  84. pulumi_gcp/sql/user.py +7 -7
  85. pulumi_gcp/storage/transfer_job.py +24 -5
  86. pulumi_gcp/vertex/__init__.py +3 -0
  87. pulumi_gcp/vertex/_inputs.py +339 -0
  88. pulumi_gcp/vertex/ai_feature_group.py +710 -0
  89. pulumi_gcp/vertex/ai_feature_online_store.py +962 -0
  90. pulumi_gcp/vertex/ai_feature_online_store_featureview.py +804 -0
  91. pulumi_gcp/vertex/outputs.py +406 -0
  92. pulumi_gcp/vmwareengine/__init__.py +2 -0
  93. pulumi_gcp/vmwareengine/_inputs.py +84 -0
  94. pulumi_gcp/vmwareengine/external_access_rule.py +947 -0
  95. pulumi_gcp/vmwareengine/get_external_access_rule.py +245 -0
  96. pulumi_gcp/vmwareengine/outputs.py +146 -0
  97. pulumi_gcp/workflows/workflow.py +7 -7
  98. {pulumi_gcp-7.5.0a1704283083.dist-info → pulumi_gcp-7.6.0.dist-info}/METADATA +1 -1
  99. {pulumi_gcp-7.5.0a1704283083.dist-info → pulumi_gcp-7.6.0.dist-info}/RECORD +101 -82
  100. {pulumi_gcp-7.5.0a1704283083.dist-info → pulumi_gcp-7.6.0.dist-info}/WHEEL +0 -0
  101. {pulumi_gcp-7.5.0a1704283083.dist-info → pulumi_gcp-7.6.0.dist-info}/top_level.txt +0 -0
@@ -22,6 +22,7 @@ class FeatureMembershipArgs:
22
22
  configmanagement: Optional[pulumi.Input['FeatureMembershipConfigmanagementArgs']] = None,
23
23
  membership_location: Optional[pulumi.Input[str]] = None,
24
24
  mesh: Optional[pulumi.Input['FeatureMembershipMeshArgs']] = None,
25
+ policycontroller: Optional[pulumi.Input['FeatureMembershipPolicycontrollerArgs']] = None,
25
26
  project: Optional[pulumi.Input[str]] = None):
26
27
  """
27
28
  The set of arguments for constructing a FeatureMembership resource.
@@ -31,6 +32,7 @@ class FeatureMembershipArgs:
31
32
  :param pulumi.Input['FeatureMembershipConfigmanagementArgs'] configmanagement: Config Management-specific spec. Structure is documented below.
32
33
  :param pulumi.Input[str] membership_location: The location of the membership, for example, "us-central1". Default is "global".
33
34
  :param pulumi.Input['FeatureMembershipMeshArgs'] mesh: Service mesh specific spec. Structure is documented below.
35
+ :param pulumi.Input['FeatureMembershipPolicycontrollerArgs'] policycontroller: Policy Controller-specific spec. Structure is documented below.
34
36
  :param pulumi.Input[str] project: The project of the feature
35
37
  """
36
38
  pulumi.set(__self__, "feature", feature)
@@ -42,6 +44,8 @@ class FeatureMembershipArgs:
42
44
  pulumi.set(__self__, "membership_location", membership_location)
43
45
  if mesh is not None:
44
46
  pulumi.set(__self__, "mesh", mesh)
47
+ if policycontroller is not None:
48
+ pulumi.set(__self__, "policycontroller", policycontroller)
45
49
  if project is not None:
46
50
  pulumi.set(__self__, "project", project)
47
51
 
@@ -117,6 +121,18 @@ class FeatureMembershipArgs:
117
121
  def mesh(self, value: Optional[pulumi.Input['FeatureMembershipMeshArgs']]):
118
122
  pulumi.set(self, "mesh", value)
119
123
 
124
+ @property
125
+ @pulumi.getter
126
+ def policycontroller(self) -> Optional[pulumi.Input['FeatureMembershipPolicycontrollerArgs']]:
127
+ """
128
+ Policy Controller-specific spec. Structure is documented below.
129
+ """
130
+ return pulumi.get(self, "policycontroller")
131
+
132
+ @policycontroller.setter
133
+ def policycontroller(self, value: Optional[pulumi.Input['FeatureMembershipPolicycontrollerArgs']]):
134
+ pulumi.set(self, "policycontroller", value)
135
+
120
136
  @property
121
137
  @pulumi.getter
122
138
  def project(self) -> Optional[pulumi.Input[str]]:
@@ -139,6 +155,7 @@ class _FeatureMembershipState:
139
155
  membership: Optional[pulumi.Input[str]] = None,
140
156
  membership_location: Optional[pulumi.Input[str]] = None,
141
157
  mesh: Optional[pulumi.Input['FeatureMembershipMeshArgs']] = None,
158
+ policycontroller: Optional[pulumi.Input['FeatureMembershipPolicycontrollerArgs']] = None,
142
159
  project: Optional[pulumi.Input[str]] = None):
143
160
  """
144
161
  Input properties used for looking up and filtering FeatureMembership resources.
@@ -148,6 +165,7 @@ class _FeatureMembershipState:
148
165
  :param pulumi.Input[str] membership: The name of the membership
149
166
  :param pulumi.Input[str] membership_location: The location of the membership, for example, "us-central1". Default is "global".
150
167
  :param pulumi.Input['FeatureMembershipMeshArgs'] mesh: Service mesh specific spec. Structure is documented below.
168
+ :param pulumi.Input['FeatureMembershipPolicycontrollerArgs'] policycontroller: Policy Controller-specific spec. Structure is documented below.
151
169
  :param pulumi.Input[str] project: The project of the feature
152
170
  """
153
171
  if configmanagement is not None:
@@ -162,6 +180,8 @@ class _FeatureMembershipState:
162
180
  pulumi.set(__self__, "membership_location", membership_location)
163
181
  if mesh is not None:
164
182
  pulumi.set(__self__, "mesh", mesh)
183
+ if policycontroller is not None:
184
+ pulumi.set(__self__, "policycontroller", policycontroller)
165
185
  if project is not None:
166
186
  pulumi.set(__self__, "project", project)
167
187
 
@@ -237,6 +257,18 @@ class _FeatureMembershipState:
237
257
  def mesh(self, value: Optional[pulumi.Input['FeatureMembershipMeshArgs']]):
238
258
  pulumi.set(self, "mesh", value)
239
259
 
260
+ @property
261
+ @pulumi.getter
262
+ def policycontroller(self) -> Optional[pulumi.Input['FeatureMembershipPolicycontrollerArgs']]:
263
+ """
264
+ Policy Controller-specific spec. Structure is documented below.
265
+ """
266
+ return pulumi.get(self, "policycontroller")
267
+
268
+ @policycontroller.setter
269
+ def policycontroller(self, value: Optional[pulumi.Input['FeatureMembershipPolicycontrollerArgs']]):
270
+ pulumi.set(self, "policycontroller", value)
271
+
240
272
  @property
241
273
  @pulumi.getter
242
274
  def project(self) -> Optional[pulumi.Input[str]]:
@@ -261,6 +293,7 @@ class FeatureMembership(pulumi.CustomResource):
261
293
  membership: Optional[pulumi.Input[str]] = None,
262
294
  membership_location: Optional[pulumi.Input[str]] = None,
263
295
  mesh: Optional[pulumi.Input[pulumi.InputType['FeatureMembershipMeshArgs']]] = None,
296
+ policycontroller: Optional[pulumi.Input[pulumi.InputType['FeatureMembershipPolicycontrollerArgs']]] = None,
264
297
  project: Optional[pulumi.Input[str]] = None,
265
298
  __props__=None):
266
299
  """
@@ -412,6 +445,71 @@ class FeatureMembership(pulumi.CustomResource):
412
445
  ),
413
446
  ))
414
447
  ```
448
+ ### Policy Controller With Minimal Configuration
449
+
450
+ ```python
451
+ import pulumi
452
+ import pulumi_gcp as gcp
453
+
454
+ cluster = gcp.container.Cluster("cluster",
455
+ location="us-central1-a",
456
+ initial_node_count=1)
457
+ membership = gcp.gkehub.Membership("membership",
458
+ membership_id="my-membership",
459
+ endpoint=gcp.gkehub.MembershipEndpointArgs(
460
+ gke_cluster=gcp.gkehub.MembershipEndpointGkeClusterArgs(
461
+ resource_link=cluster.id.apply(lambda id: f"//container.googleapis.com/{id}"),
462
+ ),
463
+ ))
464
+ feature = gcp.gkehub.Feature("feature", location="global")
465
+ feature_member = gcp.gkehub.FeatureMembership("featureMember",
466
+ location="global",
467
+ feature=feature.name,
468
+ membership=membership.membership_id,
469
+ policycontroller=gcp.gkehub.FeatureMembershipPolicycontrollerArgs(
470
+ policy_controller_hub_config=gcp.gkehub.FeatureMembershipPolicycontrollerPolicyControllerHubConfigArgs(
471
+ install_spec="INSTALL_SPEC_ENABLED",
472
+ ),
473
+ ))
474
+ ```
475
+ ### Policy Controller With Custom Configurations
476
+
477
+ ```python
478
+ import pulumi
479
+ import pulumi_gcp as gcp
480
+
481
+ cluster = gcp.container.Cluster("cluster",
482
+ location="us-central1-a",
483
+ initial_node_count=1)
484
+ membership = gcp.gkehub.Membership("membership",
485
+ membership_id="my-membership",
486
+ endpoint=gcp.gkehub.MembershipEndpointArgs(
487
+ gke_cluster=gcp.gkehub.MembershipEndpointGkeClusterArgs(
488
+ resource_link=cluster.id.apply(lambda id: f"//container.googleapis.com/{id}"),
489
+ ),
490
+ ))
491
+ feature = gcp.gkehub.Feature("feature", location="global")
492
+ feature_member = gcp.gkehub.FeatureMembership("featureMember",
493
+ location="global",
494
+ feature=feature.name,
495
+ membership=membership.membership_id,
496
+ policycontroller=gcp.gkehub.FeatureMembershipPolicycontrollerArgs(
497
+ policy_controller_hub_config=gcp.gkehub.FeatureMembershipPolicycontrollerPolicyControllerHubConfigArgs(
498
+ install_spec="INSTALL_SPEC_SUSPENDED",
499
+ policy_content=gcp.gkehub.FeatureMembershipPolicycontrollerPolicyControllerHubConfigPolicyContentArgs(
500
+ template_library=gcp.gkehub.FeatureMembershipPolicycontrollerPolicyControllerHubConfigPolicyContentTemplateLibraryArgs(
501
+ installation="NOT_INSTALLED",
502
+ ),
503
+ ),
504
+ constraint_violation_limit=50,
505
+ audit_interval_seconds=120,
506
+ referential_rules_enabled=True,
507
+ log_denies_enabled=True,
508
+ mutation_enabled=True,
509
+ ),
510
+ version="1.17.0",
511
+ ))
512
+ ```
415
513
 
416
514
  ## Import
417
515
 
@@ -445,6 +543,7 @@ class FeatureMembership(pulumi.CustomResource):
445
543
  :param pulumi.Input[str] membership: The name of the membership
446
544
  :param pulumi.Input[str] membership_location: The location of the membership, for example, "us-central1". Default is "global".
447
545
  :param pulumi.Input[pulumi.InputType['FeatureMembershipMeshArgs']] mesh: Service mesh specific spec. Structure is documented below.
546
+ :param pulumi.Input[pulumi.InputType['FeatureMembershipPolicycontrollerArgs']] policycontroller: Policy Controller-specific spec. Structure is documented below.
448
547
  :param pulumi.Input[str] project: The project of the feature
449
548
  """
450
549
  ...
@@ -602,6 +701,71 @@ class FeatureMembership(pulumi.CustomResource):
602
701
  ),
603
702
  ))
604
703
  ```
704
+ ### Policy Controller With Minimal Configuration
705
+
706
+ ```python
707
+ import pulumi
708
+ import pulumi_gcp as gcp
709
+
710
+ cluster = gcp.container.Cluster("cluster",
711
+ location="us-central1-a",
712
+ initial_node_count=1)
713
+ membership = gcp.gkehub.Membership("membership",
714
+ membership_id="my-membership",
715
+ endpoint=gcp.gkehub.MembershipEndpointArgs(
716
+ gke_cluster=gcp.gkehub.MembershipEndpointGkeClusterArgs(
717
+ resource_link=cluster.id.apply(lambda id: f"//container.googleapis.com/{id}"),
718
+ ),
719
+ ))
720
+ feature = gcp.gkehub.Feature("feature", location="global")
721
+ feature_member = gcp.gkehub.FeatureMembership("featureMember",
722
+ location="global",
723
+ feature=feature.name,
724
+ membership=membership.membership_id,
725
+ policycontroller=gcp.gkehub.FeatureMembershipPolicycontrollerArgs(
726
+ policy_controller_hub_config=gcp.gkehub.FeatureMembershipPolicycontrollerPolicyControllerHubConfigArgs(
727
+ install_spec="INSTALL_SPEC_ENABLED",
728
+ ),
729
+ ))
730
+ ```
731
+ ### Policy Controller With Custom Configurations
732
+
733
+ ```python
734
+ import pulumi
735
+ import pulumi_gcp as gcp
736
+
737
+ cluster = gcp.container.Cluster("cluster",
738
+ location="us-central1-a",
739
+ initial_node_count=1)
740
+ membership = gcp.gkehub.Membership("membership",
741
+ membership_id="my-membership",
742
+ endpoint=gcp.gkehub.MembershipEndpointArgs(
743
+ gke_cluster=gcp.gkehub.MembershipEndpointGkeClusterArgs(
744
+ resource_link=cluster.id.apply(lambda id: f"//container.googleapis.com/{id}"),
745
+ ),
746
+ ))
747
+ feature = gcp.gkehub.Feature("feature", location="global")
748
+ feature_member = gcp.gkehub.FeatureMembership("featureMember",
749
+ location="global",
750
+ feature=feature.name,
751
+ membership=membership.membership_id,
752
+ policycontroller=gcp.gkehub.FeatureMembershipPolicycontrollerArgs(
753
+ policy_controller_hub_config=gcp.gkehub.FeatureMembershipPolicycontrollerPolicyControllerHubConfigArgs(
754
+ install_spec="INSTALL_SPEC_SUSPENDED",
755
+ policy_content=gcp.gkehub.FeatureMembershipPolicycontrollerPolicyControllerHubConfigPolicyContentArgs(
756
+ template_library=gcp.gkehub.FeatureMembershipPolicycontrollerPolicyControllerHubConfigPolicyContentTemplateLibraryArgs(
757
+ installation="NOT_INSTALLED",
758
+ ),
759
+ ),
760
+ constraint_violation_limit=50,
761
+ audit_interval_seconds=120,
762
+ referential_rules_enabled=True,
763
+ log_denies_enabled=True,
764
+ mutation_enabled=True,
765
+ ),
766
+ version="1.17.0",
767
+ ))
768
+ ```
605
769
 
606
770
  ## Import
607
771
 
@@ -648,6 +812,7 @@ class FeatureMembership(pulumi.CustomResource):
648
812
  membership: Optional[pulumi.Input[str]] = None,
649
813
  membership_location: Optional[pulumi.Input[str]] = None,
650
814
  mesh: Optional[pulumi.Input[pulumi.InputType['FeatureMembershipMeshArgs']]] = None,
815
+ policycontroller: Optional[pulumi.Input[pulumi.InputType['FeatureMembershipPolicycontrollerArgs']]] = None,
651
816
  project: Optional[pulumi.Input[str]] = None,
652
817
  __props__=None):
653
818
  opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
@@ -670,6 +835,7 @@ class FeatureMembership(pulumi.CustomResource):
670
835
  __props__.__dict__["membership"] = membership
671
836
  __props__.__dict__["membership_location"] = membership_location
672
837
  __props__.__dict__["mesh"] = mesh
838
+ __props__.__dict__["policycontroller"] = policycontroller
673
839
  __props__.__dict__["project"] = project
674
840
  super(FeatureMembership, __self__).__init__(
675
841
  'gcp:gkehub/featureMembership:FeatureMembership',
@@ -687,6 +853,7 @@ class FeatureMembership(pulumi.CustomResource):
687
853
  membership: Optional[pulumi.Input[str]] = None,
688
854
  membership_location: Optional[pulumi.Input[str]] = None,
689
855
  mesh: Optional[pulumi.Input[pulumi.InputType['FeatureMembershipMeshArgs']]] = None,
856
+ policycontroller: Optional[pulumi.Input[pulumi.InputType['FeatureMembershipPolicycontrollerArgs']]] = None,
690
857
  project: Optional[pulumi.Input[str]] = None) -> 'FeatureMembership':
691
858
  """
692
859
  Get an existing FeatureMembership resource's state with the given name, id, and optional extra
@@ -701,6 +868,7 @@ class FeatureMembership(pulumi.CustomResource):
701
868
  :param pulumi.Input[str] membership: The name of the membership
702
869
  :param pulumi.Input[str] membership_location: The location of the membership, for example, "us-central1". Default is "global".
703
870
  :param pulumi.Input[pulumi.InputType['FeatureMembershipMeshArgs']] mesh: Service mesh specific spec. Structure is documented below.
871
+ :param pulumi.Input[pulumi.InputType['FeatureMembershipPolicycontrollerArgs']] policycontroller: Policy Controller-specific spec. Structure is documented below.
704
872
  :param pulumi.Input[str] project: The project of the feature
705
873
  """
706
874
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
@@ -713,6 +881,7 @@ class FeatureMembership(pulumi.CustomResource):
713
881
  __props__.__dict__["membership"] = membership
714
882
  __props__.__dict__["membership_location"] = membership_location
715
883
  __props__.__dict__["mesh"] = mesh
884
+ __props__.__dict__["policycontroller"] = policycontroller
716
885
  __props__.__dict__["project"] = project
717
886
  return FeatureMembership(resource_name, opts=opts, __props__=__props__)
718
887
 
@@ -764,6 +933,14 @@ class FeatureMembership(pulumi.CustomResource):
764
933
  """
765
934
  return pulumi.get(self, "mesh")
766
935
 
936
+ @property
937
+ @pulumi.getter
938
+ def policycontroller(self) -> pulumi.Output[Optional['outputs.FeatureMembershipPolicycontroller']]:
939
+ """
940
+ Policy Controller-specific spec. Structure is documented below.
941
+ """
942
+ return pulumi.get(self, "policycontroller")
943
+
767
944
  @property
768
945
  @pulumi.getter
769
946
  def project(self) -> pulumi.Output[str]:
@@ -406,7 +406,9 @@ class Membership(pulumi.CustomResource):
406
406
  primary = gcp.container.Cluster("primary",
407
407
  deletion_protection=False,
408
408
  initial_node_count=1,
409
- location="us-central1-a")
409
+ location="us-central1-a",
410
+ network="default",
411
+ subnetwork="default")
410
412
  membership = gcp.gkehub.Membership("membership",
411
413
  endpoint=gcp.gkehub.MembershipEndpointArgs(
412
414
  gke_cluster=gcp.gkehub.MembershipEndpointGkeClusterArgs(
@@ -425,7 +427,9 @@ class Membership(pulumi.CustomResource):
425
427
  primary = gcp.container.Cluster("primary",
426
428
  deletion_protection=True,
427
429
  initial_node_count=1,
428
- location="us-central1-a")
430
+ location="us-central1-a",
431
+ network="default",
432
+ subnetwork="default")
429
433
  membership = gcp.gkehub.Membership("membership",
430
434
  endpoint=gcp.gkehub.MembershipEndpointArgs(
431
435
  gke_cluster=gcp.gkehub.MembershipEndpointGkeClusterArgs(
@@ -449,7 +453,9 @@ class Membership(pulumi.CustomResource):
449
453
  workload_identity_config=gcp.container.ClusterWorkloadIdentityConfigArgs(
450
454
  workload_pool="my-project-name.svc.id.goog",
451
455
  ),
452
- deletion_protection=True)
456
+ deletion_protection=True,
457
+ network="default",
458
+ subnetwork="default")
453
459
  membership = gcp.gkehub.Membership("membership",
454
460
  membership_id="basic",
455
461
  endpoint=gcp.gkehub.MembershipEndpointArgs(
@@ -536,7 +542,9 @@ class Membership(pulumi.CustomResource):
536
542
  primary = gcp.container.Cluster("primary",
537
543
  deletion_protection=False,
538
544
  initial_node_count=1,
539
- location="us-central1-a")
545
+ location="us-central1-a",
546
+ network="default",
547
+ subnetwork="default")
540
548
  membership = gcp.gkehub.Membership("membership",
541
549
  endpoint=gcp.gkehub.MembershipEndpointArgs(
542
550
  gke_cluster=gcp.gkehub.MembershipEndpointGkeClusterArgs(
@@ -555,7 +563,9 @@ class Membership(pulumi.CustomResource):
555
563
  primary = gcp.container.Cluster("primary",
556
564
  deletion_protection=True,
557
565
  initial_node_count=1,
558
- location="us-central1-a")
566
+ location="us-central1-a",
567
+ network="default",
568
+ subnetwork="default")
559
569
  membership = gcp.gkehub.Membership("membership",
560
570
  endpoint=gcp.gkehub.MembershipEndpointArgs(
561
571
  gke_cluster=gcp.gkehub.MembershipEndpointGkeClusterArgs(
@@ -579,7 +589,9 @@ class Membership(pulumi.CustomResource):
579
589
  workload_identity_config=gcp.container.ClusterWorkloadIdentityConfigArgs(
580
590
  workload_pool="my-project-name.svc.id.goog",
581
591
  ),
582
- deletion_protection=True)
592
+ deletion_protection=True,
593
+ network="default",
594
+ subnetwork="default")
583
595
  membership = gcp.gkehub.Membership("membership",
584
596
  membership_id="basic",
585
597
  endpoint=gcp.gkehub.MembershipEndpointArgs(