pulumi-gcp 7.27.0a1718103841__py3-none-any.whl → 7.27.0a1718279079__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- pulumi_gcp/__init__.py +32 -0
- pulumi_gcp/appengine/_inputs.py +40 -0
- pulumi_gcp/appengine/flexible_app_version.py +47 -0
- pulumi_gcp/appengine/outputs.py +51 -0
- pulumi_gcp/bigtable/instance.py +47 -0
- pulumi_gcp/clouddeploy/_inputs.py +16 -0
- pulumi_gcp/clouddeploy/outputs.py +12 -0
- pulumi_gcp/compute/__init__.py +2 -0
- pulumi_gcp/compute/_inputs.py +84 -0
- pulumi_gcp/compute/backend_service.py +54 -0
- pulumi_gcp/compute/disk.py +68 -0
- pulumi_gcp/compute/get_backend_service.py +11 -1
- pulumi_gcp/compute/get_disk.py +11 -1
- pulumi_gcp/compute/get_instance.py +11 -1
- pulumi_gcp/compute/get_instance_group_manager.py +31 -1
- pulumi_gcp/compute/get_instance_template.py +11 -1
- pulumi_gcp/compute/get_region_instance_template.py +11 -1
- pulumi_gcp/compute/get_security_policy.py +214 -0
- pulumi_gcp/compute/instance.py +47 -0
- pulumi_gcp/compute/instance_from_machine_image.py +47 -0
- pulumi_gcp/compute/instance_from_template.py +47 -0
- pulumi_gcp/compute/instance_group_manager.py +185 -0
- pulumi_gcp/compute/instance_template.py +47 -0
- pulumi_gcp/compute/outputs.py +1039 -0
- pulumi_gcp/compute/project_cloud_armor_tier.py +336 -0
- pulumi_gcp/compute/region_instance_group_manager.py +185 -0
- pulumi_gcp/compute/region_instance_template.py +47 -0
- pulumi_gcp/config/__init__.pyi +2 -0
- pulumi_gcp/config/vars.py +4 -0
- pulumi_gcp/container/_inputs.py +33 -4
- pulumi_gcp/container/cluster.py +61 -0
- pulumi_gcp/container/get_cluster.py +11 -1
- pulumi_gcp/container/outputs.py +48 -4
- pulumi_gcp/dataloss/_inputs.py +185 -19
- pulumi_gcp/dataloss/outputs.py +206 -17
- pulumi_gcp/dataloss/prevention_inspect_template.py +54 -0
- pulumi_gcp/gkebackup/_inputs.py +282 -7
- pulumi_gcp/gkebackup/backup_plan.py +100 -0
- pulumi_gcp/gkebackup/outputs.py +312 -7
- pulumi_gcp/gkebackup/restore_plan.py +326 -0
- pulumi_gcp/gkebackup/restore_plan_iam_binding.py +326 -0
- pulumi_gcp/gkebackup/restore_plan_iam_member.py +326 -0
- pulumi_gcp/gkebackup/restore_plan_iam_policy.py +326 -0
- pulumi_gcp/healthcare/_inputs.py +17 -1
- pulumi_gcp/healthcare/dicom_store.py +2 -0
- pulumi_gcp/healthcare/fhir_store.py +44 -60
- pulumi_gcp/healthcare/outputs.py +15 -1
- pulumi_gcp/integrationconnectors/endpoint_attachment.py +47 -0
- pulumi_gcp/kms/crypto_key.py +14 -7
- pulumi_gcp/netapp/_inputs.py +58 -0
- pulumi_gcp/netapp/outputs.py +67 -0
- pulumi_gcp/netapp/volume.py +54 -0
- pulumi_gcp/networkservices/__init__.py +1 -0
- pulumi_gcp/networkservices/_inputs.py +47 -0
- pulumi_gcp/networkservices/outputs.py +56 -0
- pulumi_gcp/networkservices/service_lb_policies.py +782 -0
- pulumi_gcp/provider.py +20 -0
- pulumi_gcp/pulumi-plugin.json +1 -1
- pulumi_gcp/redis/_inputs.py +44 -0
- pulumi_gcp/redis/cluster.py +128 -3
- pulumi_gcp/redis/outputs.py +36 -0
- pulumi_gcp/secretmanager/_inputs.py +20 -0
- pulumi_gcp/secretmanager/outputs.py +20 -0
- pulumi_gcp/secretmanager/secret_iam_binding.py +244 -0
- pulumi_gcp/secretmanager/secret_iam_member.py +244 -0
- pulumi_gcp/secretmanager/secret_iam_policy.py +224 -0
- pulumi_gcp/securitycenter/__init__.py +1 -0
- pulumi_gcp/securitycenter/management_organization_event_threat_detection_custom_module.py +568 -0
- pulumi_gcp/spanner/__init__.py +1 -0
- pulumi_gcp/spanner/_inputs.py +68 -0
- pulumi_gcp/spanner/instance_config.py +569 -0
- pulumi_gcp/spanner/outputs.py +73 -0
- pulumi_gcp/sql/_inputs.py +8 -2
- pulumi_gcp/sql/outputs.py +9 -6
- pulumi_gcp/workstations/_inputs.py +51 -1
- pulumi_gcp/workstations/outputs.py +46 -2
- pulumi_gcp/workstations/workstation_config.py +10 -4
- {pulumi_gcp-7.27.0a1718103841.dist-info → pulumi_gcp-7.27.0a1718279079.dist-info}/METADATA +1 -1
- {pulumi_gcp-7.27.0a1718103841.dist-info → pulumi_gcp-7.27.0a1718279079.dist-info}/RECORD +81 -76
- {pulumi_gcp-7.27.0a1718103841.dist-info → pulumi_gcp-7.27.0a1718279079.dist-info}/WHEEL +0 -0
- {pulumi_gcp-7.27.0a1718103841.dist-info → pulumi_gcp-7.27.0a1718279079.dist-info}/top_level.txt +0 -0
@@ -30,11 +30,14 @@ class RegionInstanceGroupManagerArgs:
|
|
30
30
|
params: Optional[pulumi.Input['RegionInstanceGroupManagerParamsArgs']] = None,
|
31
31
|
project: Optional[pulumi.Input[str]] = None,
|
32
32
|
region: Optional[pulumi.Input[str]] = None,
|
33
|
+
standby_policy: Optional[pulumi.Input['RegionInstanceGroupManagerStandbyPolicyArgs']] = None,
|
33
34
|
stateful_disks: Optional[pulumi.Input[Sequence[pulumi.Input['RegionInstanceGroupManagerStatefulDiskArgs']]]] = None,
|
34
35
|
stateful_external_ips: Optional[pulumi.Input[Sequence[pulumi.Input['RegionInstanceGroupManagerStatefulExternalIpArgs']]]] = None,
|
35
36
|
stateful_internal_ips: Optional[pulumi.Input[Sequence[pulumi.Input['RegionInstanceGroupManagerStatefulInternalIpArgs']]]] = None,
|
36
37
|
target_pools: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
37
38
|
target_size: Optional[pulumi.Input[int]] = None,
|
39
|
+
target_stopped_size: Optional[pulumi.Input[int]] = None,
|
40
|
+
target_suspended_size: Optional[pulumi.Input[int]] = None,
|
38
41
|
update_policy: Optional[pulumi.Input['RegionInstanceGroupManagerUpdatePolicyArgs']] = None,
|
39
42
|
wait_for_instances: Optional[pulumi.Input[bool]] = None,
|
40
43
|
wait_for_instances_status: Optional[pulumi.Input[str]] = None):
|
@@ -80,6 +83,7 @@ class RegionInstanceGroupManagerArgs:
|
|
80
83
|
:param pulumi.Input[str] region: The region where the managed instance group resides. If not provided, the provider region is used.
|
81
84
|
|
82
85
|
- - -
|
86
|
+
:param pulumi.Input['RegionInstanceGroupManagerStandbyPolicyArgs'] standby_policy: The standby policy for stopped and suspended instances. Structure is documented below. For more information, see the [official documentation](https://cloud.google.com/compute/docs/instance-groups/suspended-and-stopped-vms-in-mig) and [API](https://cloud.google.com/compute/docs/reference/rest/beta/regionInstanceGroupManagers/patch)
|
83
87
|
:param pulumi.Input[Sequence[pulumi.Input['RegionInstanceGroupManagerStatefulDiskArgs']]] stateful_disks: Disks created on the instances that will be preserved on instance delete, update, etc. Structure is documented below. For more information see the [official documentation](https://cloud.google.com/compute/docs/instance-groups/configuring-stateful-disks-in-migs). Proactive cross zone instance redistribution must be disabled before you can update stateful disks on existing instance group managers. This can be controlled via the `update_policy`.
|
84
88
|
:param pulumi.Input[Sequence[pulumi.Input['RegionInstanceGroupManagerStatefulExternalIpArgs']]] stateful_external_ips: External network IPs assigned to the instances that will be preserved on instance delete, update, etc. This map is keyed with the network interface name. Structure is documented below.
|
85
89
|
:param pulumi.Input[Sequence[pulumi.Input['RegionInstanceGroupManagerStatefulInternalIpArgs']]] stateful_internal_ips: Internal network IPs assigned to the instances that will be preserved on instance delete, update, etc. This map is keyed with the network interface name. Structure is documented below.
|
@@ -88,6 +92,8 @@ class RegionInstanceGroupManagerArgs:
|
|
88
92
|
not affect existing instances.
|
89
93
|
:param pulumi.Input[int] target_size: The target number of running instances for this managed instance group. This value should always be explicitly set
|
90
94
|
unless this resource is attached to an autoscaler, in which case it should never be set. Defaults to 0.
|
95
|
+
:param pulumi.Input[int] target_stopped_size: The target number of stopped instances for this managed instance group.
|
96
|
+
:param pulumi.Input[int] target_suspended_size: The target number of suspended instances for this managed instance group.
|
91
97
|
:param pulumi.Input['RegionInstanceGroupManagerUpdatePolicyArgs'] update_policy: The update policy for this managed instance group. Structure is documented below. For more information, see the [official documentation](https://cloud.google.com/compute/docs/instance-groups/updating-managed-instance-groups) and [API](https://cloud.google.com/compute/docs/reference/rest/beta/regionInstanceGroupManagers/patch)
|
92
98
|
:param pulumi.Input[bool] wait_for_instances: Whether to wait for all instances to be created/updated before
|
93
99
|
returning. Note that if this is set to true and the operation does not succeed, the provider will
|
@@ -123,6 +129,8 @@ class RegionInstanceGroupManagerArgs:
|
|
123
129
|
pulumi.set(__self__, "project", project)
|
124
130
|
if region is not None:
|
125
131
|
pulumi.set(__self__, "region", region)
|
132
|
+
if standby_policy is not None:
|
133
|
+
pulumi.set(__self__, "standby_policy", standby_policy)
|
126
134
|
if stateful_disks is not None:
|
127
135
|
pulumi.set(__self__, "stateful_disks", stateful_disks)
|
128
136
|
if stateful_external_ips is not None:
|
@@ -133,6 +141,10 @@ class RegionInstanceGroupManagerArgs:
|
|
133
141
|
pulumi.set(__self__, "target_pools", target_pools)
|
134
142
|
if target_size is not None:
|
135
143
|
pulumi.set(__self__, "target_size", target_size)
|
144
|
+
if target_stopped_size is not None:
|
145
|
+
pulumi.set(__self__, "target_stopped_size", target_stopped_size)
|
146
|
+
if target_suspended_size is not None:
|
147
|
+
pulumi.set(__self__, "target_suspended_size", target_suspended_size)
|
136
148
|
if update_policy is not None:
|
137
149
|
pulumi.set(__self__, "update_policy", update_policy)
|
138
150
|
if wait_for_instances is not None:
|
@@ -334,6 +346,18 @@ class RegionInstanceGroupManagerArgs:
|
|
334
346
|
def region(self, value: Optional[pulumi.Input[str]]):
|
335
347
|
pulumi.set(self, "region", value)
|
336
348
|
|
349
|
+
@property
|
350
|
+
@pulumi.getter(name="standbyPolicy")
|
351
|
+
def standby_policy(self) -> Optional[pulumi.Input['RegionInstanceGroupManagerStandbyPolicyArgs']]:
|
352
|
+
"""
|
353
|
+
The standby policy for stopped and suspended instances. Structure is documented below. For more information, see the [official documentation](https://cloud.google.com/compute/docs/instance-groups/suspended-and-stopped-vms-in-mig) and [API](https://cloud.google.com/compute/docs/reference/rest/beta/regionInstanceGroupManagers/patch)
|
354
|
+
"""
|
355
|
+
return pulumi.get(self, "standby_policy")
|
356
|
+
|
357
|
+
@standby_policy.setter
|
358
|
+
def standby_policy(self, value: Optional[pulumi.Input['RegionInstanceGroupManagerStandbyPolicyArgs']]):
|
359
|
+
pulumi.set(self, "standby_policy", value)
|
360
|
+
|
337
361
|
@property
|
338
362
|
@pulumi.getter(name="statefulDisks")
|
339
363
|
def stateful_disks(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['RegionInstanceGroupManagerStatefulDiskArgs']]]]:
|
@@ -397,6 +421,30 @@ class RegionInstanceGroupManagerArgs:
|
|
397
421
|
def target_size(self, value: Optional[pulumi.Input[int]]):
|
398
422
|
pulumi.set(self, "target_size", value)
|
399
423
|
|
424
|
+
@property
|
425
|
+
@pulumi.getter(name="targetStoppedSize")
|
426
|
+
def target_stopped_size(self) -> Optional[pulumi.Input[int]]:
|
427
|
+
"""
|
428
|
+
The target number of stopped instances for this managed instance group.
|
429
|
+
"""
|
430
|
+
return pulumi.get(self, "target_stopped_size")
|
431
|
+
|
432
|
+
@target_stopped_size.setter
|
433
|
+
def target_stopped_size(self, value: Optional[pulumi.Input[int]]):
|
434
|
+
pulumi.set(self, "target_stopped_size", value)
|
435
|
+
|
436
|
+
@property
|
437
|
+
@pulumi.getter(name="targetSuspendedSize")
|
438
|
+
def target_suspended_size(self) -> Optional[pulumi.Input[int]]:
|
439
|
+
"""
|
440
|
+
The target number of suspended instances for this managed instance group.
|
441
|
+
"""
|
442
|
+
return pulumi.get(self, "target_suspended_size")
|
443
|
+
|
444
|
+
@target_suspended_size.setter
|
445
|
+
def target_suspended_size(self, value: Optional[pulumi.Input[int]]):
|
446
|
+
pulumi.set(self, "target_suspended_size", value)
|
447
|
+
|
400
448
|
@property
|
401
449
|
@pulumi.getter(name="updatePolicy")
|
402
450
|
def update_policy(self) -> Optional[pulumi.Input['RegionInstanceGroupManagerUpdatePolicyArgs']]:
|
@@ -459,12 +507,15 @@ class _RegionInstanceGroupManagerState:
|
|
459
507
|
project: Optional[pulumi.Input[str]] = None,
|
460
508
|
region: Optional[pulumi.Input[str]] = None,
|
461
509
|
self_link: Optional[pulumi.Input[str]] = None,
|
510
|
+
standby_policy: Optional[pulumi.Input['RegionInstanceGroupManagerStandbyPolicyArgs']] = None,
|
462
511
|
stateful_disks: Optional[pulumi.Input[Sequence[pulumi.Input['RegionInstanceGroupManagerStatefulDiskArgs']]]] = None,
|
463
512
|
stateful_external_ips: Optional[pulumi.Input[Sequence[pulumi.Input['RegionInstanceGroupManagerStatefulExternalIpArgs']]]] = None,
|
464
513
|
stateful_internal_ips: Optional[pulumi.Input[Sequence[pulumi.Input['RegionInstanceGroupManagerStatefulInternalIpArgs']]]] = None,
|
465
514
|
statuses: Optional[pulumi.Input[Sequence[pulumi.Input['RegionInstanceGroupManagerStatusArgs']]]] = None,
|
466
515
|
target_pools: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
467
516
|
target_size: Optional[pulumi.Input[int]] = None,
|
517
|
+
target_stopped_size: Optional[pulumi.Input[int]] = None,
|
518
|
+
target_suspended_size: Optional[pulumi.Input[int]] = None,
|
468
519
|
update_policy: Optional[pulumi.Input['RegionInstanceGroupManagerUpdatePolicyArgs']] = None,
|
469
520
|
versions: Optional[pulumi.Input[Sequence[pulumi.Input['RegionInstanceGroupManagerVersionArgs']]]] = None,
|
470
521
|
wait_for_instances: Optional[pulumi.Input[bool]] = None,
|
@@ -512,6 +563,7 @@ class _RegionInstanceGroupManagerState:
|
|
512
563
|
|
513
564
|
- - -
|
514
565
|
:param pulumi.Input[str] self_link: The URL of the created resource.
|
566
|
+
:param pulumi.Input['RegionInstanceGroupManagerStandbyPolicyArgs'] standby_policy: The standby policy for stopped and suspended instances. Structure is documented below. For more information, see the [official documentation](https://cloud.google.com/compute/docs/instance-groups/suspended-and-stopped-vms-in-mig) and [API](https://cloud.google.com/compute/docs/reference/rest/beta/regionInstanceGroupManagers/patch)
|
515
567
|
:param pulumi.Input[Sequence[pulumi.Input['RegionInstanceGroupManagerStatefulDiskArgs']]] stateful_disks: Disks created on the instances that will be preserved on instance delete, update, etc. Structure is documented below. For more information see the [official documentation](https://cloud.google.com/compute/docs/instance-groups/configuring-stateful-disks-in-migs). Proactive cross zone instance redistribution must be disabled before you can update stateful disks on existing instance group managers. This can be controlled via the `update_policy`.
|
516
568
|
:param pulumi.Input[Sequence[pulumi.Input['RegionInstanceGroupManagerStatefulExternalIpArgs']]] stateful_external_ips: External network IPs assigned to the instances that will be preserved on instance delete, update, etc. This map is keyed with the network interface name. Structure is documented below.
|
517
569
|
:param pulumi.Input[Sequence[pulumi.Input['RegionInstanceGroupManagerStatefulInternalIpArgs']]] stateful_internal_ips: Internal network IPs assigned to the instances that will be preserved on instance delete, update, etc. This map is keyed with the network interface name. Structure is documented below.
|
@@ -521,6 +573,8 @@ class _RegionInstanceGroupManagerState:
|
|
521
573
|
not affect existing instances.
|
522
574
|
:param pulumi.Input[int] target_size: The target number of running instances for this managed instance group. This value should always be explicitly set
|
523
575
|
unless this resource is attached to an autoscaler, in which case it should never be set. Defaults to 0.
|
576
|
+
:param pulumi.Input[int] target_stopped_size: The target number of stopped instances for this managed instance group.
|
577
|
+
:param pulumi.Input[int] target_suspended_size: The target number of suspended instances for this managed instance group.
|
524
578
|
:param pulumi.Input['RegionInstanceGroupManagerUpdatePolicyArgs'] update_policy: The update policy for this managed instance group. Structure is documented below. For more information, see the [official documentation](https://cloud.google.com/compute/docs/instance-groups/updating-managed-instance-groups) and [API](https://cloud.google.com/compute/docs/reference/rest/beta/regionInstanceGroupManagers/patch)
|
525
579
|
:param pulumi.Input[Sequence[pulumi.Input['RegionInstanceGroupManagerVersionArgs']]] versions: Application versions managed by this instance group. Each
|
526
580
|
version deals with a specific instance template, allowing canary release scenarios.
|
@@ -567,6 +621,8 @@ class _RegionInstanceGroupManagerState:
|
|
567
621
|
pulumi.set(__self__, "region", region)
|
568
622
|
if self_link is not None:
|
569
623
|
pulumi.set(__self__, "self_link", self_link)
|
624
|
+
if standby_policy is not None:
|
625
|
+
pulumi.set(__self__, "standby_policy", standby_policy)
|
570
626
|
if stateful_disks is not None:
|
571
627
|
pulumi.set(__self__, "stateful_disks", stateful_disks)
|
572
628
|
if stateful_external_ips is not None:
|
@@ -579,6 +635,10 @@ class _RegionInstanceGroupManagerState:
|
|
579
635
|
pulumi.set(__self__, "target_pools", target_pools)
|
580
636
|
if target_size is not None:
|
581
637
|
pulumi.set(__self__, "target_size", target_size)
|
638
|
+
if target_stopped_size is not None:
|
639
|
+
pulumi.set(__self__, "target_stopped_size", target_stopped_size)
|
640
|
+
if target_suspended_size is not None:
|
641
|
+
pulumi.set(__self__, "target_suspended_size", target_suspended_size)
|
582
642
|
if update_policy is not None:
|
583
643
|
pulumi.set(__self__, "update_policy", update_policy)
|
584
644
|
if versions is not None:
|
@@ -816,6 +876,18 @@ class _RegionInstanceGroupManagerState:
|
|
816
876
|
def self_link(self, value: Optional[pulumi.Input[str]]):
|
817
877
|
pulumi.set(self, "self_link", value)
|
818
878
|
|
879
|
+
@property
|
880
|
+
@pulumi.getter(name="standbyPolicy")
|
881
|
+
def standby_policy(self) -> Optional[pulumi.Input['RegionInstanceGroupManagerStandbyPolicyArgs']]:
|
882
|
+
"""
|
883
|
+
The standby policy for stopped and suspended instances. Structure is documented below. For more information, see the [official documentation](https://cloud.google.com/compute/docs/instance-groups/suspended-and-stopped-vms-in-mig) and [API](https://cloud.google.com/compute/docs/reference/rest/beta/regionInstanceGroupManagers/patch)
|
884
|
+
"""
|
885
|
+
return pulumi.get(self, "standby_policy")
|
886
|
+
|
887
|
+
@standby_policy.setter
|
888
|
+
def standby_policy(self, value: Optional[pulumi.Input['RegionInstanceGroupManagerStandbyPolicyArgs']]):
|
889
|
+
pulumi.set(self, "standby_policy", value)
|
890
|
+
|
819
891
|
@property
|
820
892
|
@pulumi.getter(name="statefulDisks")
|
821
893
|
def stateful_disks(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['RegionInstanceGroupManagerStatefulDiskArgs']]]]:
|
@@ -891,6 +963,30 @@ class _RegionInstanceGroupManagerState:
|
|
891
963
|
def target_size(self, value: Optional[pulumi.Input[int]]):
|
892
964
|
pulumi.set(self, "target_size", value)
|
893
965
|
|
966
|
+
@property
|
967
|
+
@pulumi.getter(name="targetStoppedSize")
|
968
|
+
def target_stopped_size(self) -> Optional[pulumi.Input[int]]:
|
969
|
+
"""
|
970
|
+
The target number of stopped instances for this managed instance group.
|
971
|
+
"""
|
972
|
+
return pulumi.get(self, "target_stopped_size")
|
973
|
+
|
974
|
+
@target_stopped_size.setter
|
975
|
+
def target_stopped_size(self, value: Optional[pulumi.Input[int]]):
|
976
|
+
pulumi.set(self, "target_stopped_size", value)
|
977
|
+
|
978
|
+
@property
|
979
|
+
@pulumi.getter(name="targetSuspendedSize")
|
980
|
+
def target_suspended_size(self) -> Optional[pulumi.Input[int]]:
|
981
|
+
"""
|
982
|
+
The target number of suspended instances for this managed instance group.
|
983
|
+
"""
|
984
|
+
return pulumi.get(self, "target_suspended_size")
|
985
|
+
|
986
|
+
@target_suspended_size.setter
|
987
|
+
def target_suspended_size(self, value: Optional[pulumi.Input[int]]):
|
988
|
+
pulumi.set(self, "target_suspended_size", value)
|
989
|
+
|
894
990
|
@property
|
895
991
|
@pulumi.getter(name="updatePolicy")
|
896
992
|
def update_policy(self) -> Optional[pulumi.Input['RegionInstanceGroupManagerUpdatePolicyArgs']]:
|
@@ -965,11 +1061,14 @@ class RegionInstanceGroupManager(pulumi.CustomResource):
|
|
965
1061
|
params: Optional[pulumi.Input[pulumi.InputType['RegionInstanceGroupManagerParamsArgs']]] = None,
|
966
1062
|
project: Optional[pulumi.Input[str]] = None,
|
967
1063
|
region: Optional[pulumi.Input[str]] = None,
|
1064
|
+
standby_policy: Optional[pulumi.Input[pulumi.InputType['RegionInstanceGroupManagerStandbyPolicyArgs']]] = None,
|
968
1065
|
stateful_disks: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['RegionInstanceGroupManagerStatefulDiskArgs']]]]] = None,
|
969
1066
|
stateful_external_ips: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['RegionInstanceGroupManagerStatefulExternalIpArgs']]]]] = None,
|
970
1067
|
stateful_internal_ips: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['RegionInstanceGroupManagerStatefulInternalIpArgs']]]]] = None,
|
971
1068
|
target_pools: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
972
1069
|
target_size: Optional[pulumi.Input[int]] = None,
|
1070
|
+
target_stopped_size: Optional[pulumi.Input[int]] = None,
|
1071
|
+
target_suspended_size: Optional[pulumi.Input[int]] = None,
|
973
1072
|
update_policy: Optional[pulumi.Input[pulumi.InputType['RegionInstanceGroupManagerUpdatePolicyArgs']]] = None,
|
974
1073
|
versions: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['RegionInstanceGroupManagerVersionArgs']]]]] = None,
|
975
1074
|
wait_for_instances: Optional[pulumi.Input[bool]] = None,
|
@@ -1060,6 +1159,28 @@ class RegionInstanceGroupManager(pulumi.CustomResource):
|
|
1060
1159
|
])
|
1061
1160
|
```
|
1062
1161
|
|
1162
|
+
### With Standby Policy (`Google-Beta` Provider)
|
1163
|
+
```python
|
1164
|
+
import pulumi
|
1165
|
+
import pulumi_gcp as gcp
|
1166
|
+
|
1167
|
+
igm_sr = gcp.compute.RegionInstanceGroupManager("igm-sr",
|
1168
|
+
name="tf-sr-igm",
|
1169
|
+
base_instance_name="tf-sr-igm-instance",
|
1170
|
+
region="us-central1",
|
1171
|
+
target_size=5,
|
1172
|
+
versions=[gcp.compute.RegionInstanceGroupManagerVersionArgs(
|
1173
|
+
instance_template=sr_igm["selfLink"],
|
1174
|
+
name="primary",
|
1175
|
+
)],
|
1176
|
+
standby_policy=gcp.compute.RegionInstanceGroupManagerStandbyPolicyArgs(
|
1177
|
+
initial_delay_sec=50,
|
1178
|
+
mode="SCALE_OUT_POOL",
|
1179
|
+
),
|
1180
|
+
target_suspended_size=1,
|
1181
|
+
target_stopped_size=1)
|
1182
|
+
```
|
1183
|
+
|
1063
1184
|
## Import
|
1064
1185
|
|
1065
1186
|
Instance group managers can be imported using any of these accepted formats:
|
@@ -1111,6 +1232,7 @@ class RegionInstanceGroupManager(pulumi.CustomResource):
|
|
1111
1232
|
:param pulumi.Input[str] region: The region where the managed instance group resides. If not provided, the provider region is used.
|
1112
1233
|
|
1113
1234
|
- - -
|
1235
|
+
:param pulumi.Input[pulumi.InputType['RegionInstanceGroupManagerStandbyPolicyArgs']] standby_policy: The standby policy for stopped and suspended instances. Structure is documented below. For more information, see the [official documentation](https://cloud.google.com/compute/docs/instance-groups/suspended-and-stopped-vms-in-mig) and [API](https://cloud.google.com/compute/docs/reference/rest/beta/regionInstanceGroupManagers/patch)
|
1114
1236
|
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['RegionInstanceGroupManagerStatefulDiskArgs']]]] stateful_disks: Disks created on the instances that will be preserved on instance delete, update, etc. Structure is documented below. For more information see the [official documentation](https://cloud.google.com/compute/docs/instance-groups/configuring-stateful-disks-in-migs). Proactive cross zone instance redistribution must be disabled before you can update stateful disks on existing instance group managers. This can be controlled via the `update_policy`.
|
1115
1237
|
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['RegionInstanceGroupManagerStatefulExternalIpArgs']]]] stateful_external_ips: External network IPs assigned to the instances that will be preserved on instance delete, update, etc. This map is keyed with the network interface name. Structure is documented below.
|
1116
1238
|
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['RegionInstanceGroupManagerStatefulInternalIpArgs']]]] stateful_internal_ips: Internal network IPs assigned to the instances that will be preserved on instance delete, update, etc. This map is keyed with the network interface name. Structure is documented below.
|
@@ -1119,6 +1241,8 @@ class RegionInstanceGroupManager(pulumi.CustomResource):
|
|
1119
1241
|
not affect existing instances.
|
1120
1242
|
:param pulumi.Input[int] target_size: The target number of running instances for this managed instance group. This value should always be explicitly set
|
1121
1243
|
unless this resource is attached to an autoscaler, in which case it should never be set. Defaults to 0.
|
1244
|
+
:param pulumi.Input[int] target_stopped_size: The target number of stopped instances for this managed instance group.
|
1245
|
+
:param pulumi.Input[int] target_suspended_size: The target number of suspended instances for this managed instance group.
|
1122
1246
|
:param pulumi.Input[pulumi.InputType['RegionInstanceGroupManagerUpdatePolicyArgs']] update_policy: The update policy for this managed instance group. Structure is documented below. For more information, see the [official documentation](https://cloud.google.com/compute/docs/instance-groups/updating-managed-instance-groups) and [API](https://cloud.google.com/compute/docs/reference/rest/beta/regionInstanceGroupManagers/patch)
|
1123
1247
|
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['RegionInstanceGroupManagerVersionArgs']]]] versions: Application versions managed by this instance group. Each
|
1124
1248
|
version deals with a specific instance template, allowing canary release scenarios.
|
@@ -1222,6 +1346,28 @@ class RegionInstanceGroupManager(pulumi.CustomResource):
|
|
1222
1346
|
])
|
1223
1347
|
```
|
1224
1348
|
|
1349
|
+
### With Standby Policy (`Google-Beta` Provider)
|
1350
|
+
```python
|
1351
|
+
import pulumi
|
1352
|
+
import pulumi_gcp as gcp
|
1353
|
+
|
1354
|
+
igm_sr = gcp.compute.RegionInstanceGroupManager("igm-sr",
|
1355
|
+
name="tf-sr-igm",
|
1356
|
+
base_instance_name="tf-sr-igm-instance",
|
1357
|
+
region="us-central1",
|
1358
|
+
target_size=5,
|
1359
|
+
versions=[gcp.compute.RegionInstanceGroupManagerVersionArgs(
|
1360
|
+
instance_template=sr_igm["selfLink"],
|
1361
|
+
name="primary",
|
1362
|
+
)],
|
1363
|
+
standby_policy=gcp.compute.RegionInstanceGroupManagerStandbyPolicyArgs(
|
1364
|
+
initial_delay_sec=50,
|
1365
|
+
mode="SCALE_OUT_POOL",
|
1366
|
+
),
|
1367
|
+
target_suspended_size=1,
|
1368
|
+
target_stopped_size=1)
|
1369
|
+
```
|
1370
|
+
|
1225
1371
|
## Import
|
1226
1372
|
|
1227
1373
|
Instance group managers can be imported using any of these accepted formats:
|
@@ -1262,11 +1408,14 @@ class RegionInstanceGroupManager(pulumi.CustomResource):
|
|
1262
1408
|
params: Optional[pulumi.Input[pulumi.InputType['RegionInstanceGroupManagerParamsArgs']]] = None,
|
1263
1409
|
project: Optional[pulumi.Input[str]] = None,
|
1264
1410
|
region: Optional[pulumi.Input[str]] = None,
|
1411
|
+
standby_policy: Optional[pulumi.Input[pulumi.InputType['RegionInstanceGroupManagerStandbyPolicyArgs']]] = None,
|
1265
1412
|
stateful_disks: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['RegionInstanceGroupManagerStatefulDiskArgs']]]]] = None,
|
1266
1413
|
stateful_external_ips: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['RegionInstanceGroupManagerStatefulExternalIpArgs']]]]] = None,
|
1267
1414
|
stateful_internal_ips: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['RegionInstanceGroupManagerStatefulInternalIpArgs']]]]] = None,
|
1268
1415
|
target_pools: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
1269
1416
|
target_size: Optional[pulumi.Input[int]] = None,
|
1417
|
+
target_stopped_size: Optional[pulumi.Input[int]] = None,
|
1418
|
+
target_suspended_size: Optional[pulumi.Input[int]] = None,
|
1270
1419
|
update_policy: Optional[pulumi.Input[pulumi.InputType['RegionInstanceGroupManagerUpdatePolicyArgs']]] = None,
|
1271
1420
|
versions: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['RegionInstanceGroupManagerVersionArgs']]]]] = None,
|
1272
1421
|
wait_for_instances: Optional[pulumi.Input[bool]] = None,
|
@@ -1295,11 +1444,14 @@ class RegionInstanceGroupManager(pulumi.CustomResource):
|
|
1295
1444
|
__props__.__dict__["params"] = params
|
1296
1445
|
__props__.__dict__["project"] = project
|
1297
1446
|
__props__.__dict__["region"] = region
|
1447
|
+
__props__.__dict__["standby_policy"] = standby_policy
|
1298
1448
|
__props__.__dict__["stateful_disks"] = stateful_disks
|
1299
1449
|
__props__.__dict__["stateful_external_ips"] = stateful_external_ips
|
1300
1450
|
__props__.__dict__["stateful_internal_ips"] = stateful_internal_ips
|
1301
1451
|
__props__.__dict__["target_pools"] = target_pools
|
1302
1452
|
__props__.__dict__["target_size"] = target_size
|
1453
|
+
__props__.__dict__["target_stopped_size"] = target_stopped_size
|
1454
|
+
__props__.__dict__["target_suspended_size"] = target_suspended_size
|
1303
1455
|
__props__.__dict__["update_policy"] = update_policy
|
1304
1456
|
if versions is None and not opts.urn:
|
1305
1457
|
raise TypeError("Missing required property 'versions'")
|
@@ -1338,12 +1490,15 @@ class RegionInstanceGroupManager(pulumi.CustomResource):
|
|
1338
1490
|
project: Optional[pulumi.Input[str]] = None,
|
1339
1491
|
region: Optional[pulumi.Input[str]] = None,
|
1340
1492
|
self_link: Optional[pulumi.Input[str]] = None,
|
1493
|
+
standby_policy: Optional[pulumi.Input[pulumi.InputType['RegionInstanceGroupManagerStandbyPolicyArgs']]] = None,
|
1341
1494
|
stateful_disks: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['RegionInstanceGroupManagerStatefulDiskArgs']]]]] = None,
|
1342
1495
|
stateful_external_ips: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['RegionInstanceGroupManagerStatefulExternalIpArgs']]]]] = None,
|
1343
1496
|
stateful_internal_ips: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['RegionInstanceGroupManagerStatefulInternalIpArgs']]]]] = None,
|
1344
1497
|
statuses: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['RegionInstanceGroupManagerStatusArgs']]]]] = None,
|
1345
1498
|
target_pools: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
1346
1499
|
target_size: Optional[pulumi.Input[int]] = None,
|
1500
|
+
target_stopped_size: Optional[pulumi.Input[int]] = None,
|
1501
|
+
target_suspended_size: Optional[pulumi.Input[int]] = None,
|
1347
1502
|
update_policy: Optional[pulumi.Input[pulumi.InputType['RegionInstanceGroupManagerUpdatePolicyArgs']]] = None,
|
1348
1503
|
versions: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['RegionInstanceGroupManagerVersionArgs']]]]] = None,
|
1349
1504
|
wait_for_instances: Optional[pulumi.Input[bool]] = None,
|
@@ -1396,6 +1551,7 @@ class RegionInstanceGroupManager(pulumi.CustomResource):
|
|
1396
1551
|
|
1397
1552
|
- - -
|
1398
1553
|
:param pulumi.Input[str] self_link: The URL of the created resource.
|
1554
|
+
:param pulumi.Input[pulumi.InputType['RegionInstanceGroupManagerStandbyPolicyArgs']] standby_policy: The standby policy for stopped and suspended instances. Structure is documented below. For more information, see the [official documentation](https://cloud.google.com/compute/docs/instance-groups/suspended-and-stopped-vms-in-mig) and [API](https://cloud.google.com/compute/docs/reference/rest/beta/regionInstanceGroupManagers/patch)
|
1399
1555
|
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['RegionInstanceGroupManagerStatefulDiskArgs']]]] stateful_disks: Disks created on the instances that will be preserved on instance delete, update, etc. Structure is documented below. For more information see the [official documentation](https://cloud.google.com/compute/docs/instance-groups/configuring-stateful-disks-in-migs). Proactive cross zone instance redistribution must be disabled before you can update stateful disks on existing instance group managers. This can be controlled via the `update_policy`.
|
1400
1556
|
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['RegionInstanceGroupManagerStatefulExternalIpArgs']]]] stateful_external_ips: External network IPs assigned to the instances that will be preserved on instance delete, update, etc. This map is keyed with the network interface name. Structure is documented below.
|
1401
1557
|
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['RegionInstanceGroupManagerStatefulInternalIpArgs']]]] stateful_internal_ips: Internal network IPs assigned to the instances that will be preserved on instance delete, update, etc. This map is keyed with the network interface name. Structure is documented below.
|
@@ -1405,6 +1561,8 @@ class RegionInstanceGroupManager(pulumi.CustomResource):
|
|
1405
1561
|
not affect existing instances.
|
1406
1562
|
:param pulumi.Input[int] target_size: The target number of running instances for this managed instance group. This value should always be explicitly set
|
1407
1563
|
unless this resource is attached to an autoscaler, in which case it should never be set. Defaults to 0.
|
1564
|
+
:param pulumi.Input[int] target_stopped_size: The target number of stopped instances for this managed instance group.
|
1565
|
+
:param pulumi.Input[int] target_suspended_size: The target number of suspended instances for this managed instance group.
|
1408
1566
|
:param pulumi.Input[pulumi.InputType['RegionInstanceGroupManagerUpdatePolicyArgs']] update_policy: The update policy for this managed instance group. Structure is documented below. For more information, see the [official documentation](https://cloud.google.com/compute/docs/instance-groups/updating-managed-instance-groups) and [API](https://cloud.google.com/compute/docs/reference/rest/beta/regionInstanceGroupManagers/patch)
|
1409
1567
|
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['RegionInstanceGroupManagerVersionArgs']]]] versions: Application versions managed by this instance group. Each
|
1410
1568
|
version deals with a specific instance template, allowing canary release scenarios.
|
@@ -1438,12 +1596,15 @@ class RegionInstanceGroupManager(pulumi.CustomResource):
|
|
1438
1596
|
__props__.__dict__["project"] = project
|
1439
1597
|
__props__.__dict__["region"] = region
|
1440
1598
|
__props__.__dict__["self_link"] = self_link
|
1599
|
+
__props__.__dict__["standby_policy"] = standby_policy
|
1441
1600
|
__props__.__dict__["stateful_disks"] = stateful_disks
|
1442
1601
|
__props__.__dict__["stateful_external_ips"] = stateful_external_ips
|
1443
1602
|
__props__.__dict__["stateful_internal_ips"] = stateful_internal_ips
|
1444
1603
|
__props__.__dict__["statuses"] = statuses
|
1445
1604
|
__props__.__dict__["target_pools"] = target_pools
|
1446
1605
|
__props__.__dict__["target_size"] = target_size
|
1606
|
+
__props__.__dict__["target_stopped_size"] = target_stopped_size
|
1607
|
+
__props__.__dict__["target_suspended_size"] = target_suspended_size
|
1447
1608
|
__props__.__dict__["update_policy"] = update_policy
|
1448
1609
|
__props__.__dict__["versions"] = versions
|
1449
1610
|
__props__.__dict__["wait_for_instances"] = wait_for_instances
|
@@ -1610,6 +1771,14 @@ class RegionInstanceGroupManager(pulumi.CustomResource):
|
|
1610
1771
|
"""
|
1611
1772
|
return pulumi.get(self, "self_link")
|
1612
1773
|
|
1774
|
+
@property
|
1775
|
+
@pulumi.getter(name="standbyPolicy")
|
1776
|
+
def standby_policy(self) -> pulumi.Output['outputs.RegionInstanceGroupManagerStandbyPolicy']:
|
1777
|
+
"""
|
1778
|
+
The standby policy for stopped and suspended instances. Structure is documented below. For more information, see the [official documentation](https://cloud.google.com/compute/docs/instance-groups/suspended-and-stopped-vms-in-mig) and [API](https://cloud.google.com/compute/docs/reference/rest/beta/regionInstanceGroupManagers/patch)
|
1779
|
+
"""
|
1780
|
+
return pulumi.get(self, "standby_policy")
|
1781
|
+
|
1613
1782
|
@property
|
1614
1783
|
@pulumi.getter(name="statefulDisks")
|
1615
1784
|
def stateful_disks(self) -> pulumi.Output[Optional[Sequence['outputs.RegionInstanceGroupManagerStatefulDisk']]]:
|
@@ -1661,6 +1830,22 @@ class RegionInstanceGroupManager(pulumi.CustomResource):
|
|
1661
1830
|
"""
|
1662
1831
|
return pulumi.get(self, "target_size")
|
1663
1832
|
|
1833
|
+
@property
|
1834
|
+
@pulumi.getter(name="targetStoppedSize")
|
1835
|
+
def target_stopped_size(self) -> pulumi.Output[int]:
|
1836
|
+
"""
|
1837
|
+
The target number of stopped instances for this managed instance group.
|
1838
|
+
"""
|
1839
|
+
return pulumi.get(self, "target_stopped_size")
|
1840
|
+
|
1841
|
+
@property
|
1842
|
+
@pulumi.getter(name="targetSuspendedSize")
|
1843
|
+
def target_suspended_size(self) -> pulumi.Output[int]:
|
1844
|
+
"""
|
1845
|
+
The target number of suspended instances for this managed instance group.
|
1846
|
+
"""
|
1847
|
+
return pulumi.get(self, "target_suspended_size")
|
1848
|
+
|
1664
1849
|
@property
|
1665
1850
|
@pulumi.getter(name="updatePolicy")
|
1666
1851
|
def update_policy(self) -> pulumi.Output['outputs.RegionInstanceGroupManagerUpdatePolicy']:
|
@@ -33,6 +33,7 @@ class RegionInstanceTemplateArgs:
|
|
33
33
|
name_prefix: Optional[pulumi.Input[str]] = None,
|
34
34
|
network_interfaces: Optional[pulumi.Input[Sequence[pulumi.Input['RegionInstanceTemplateNetworkInterfaceArgs']]]] = None,
|
35
35
|
network_performance_config: Optional[pulumi.Input['RegionInstanceTemplateNetworkPerformanceConfigArgs']] = None,
|
36
|
+
partner_metadata: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
36
37
|
project: Optional[pulumi.Input[str]] = None,
|
37
38
|
region: Optional[pulumi.Input[str]] = None,
|
38
39
|
reservation_affinity: Optional[pulumi.Input['RegionInstanceTemplateReservationAffinityArgs']] = None,
|
@@ -86,6 +87,7 @@ class RegionInstanceTemplateArgs:
|
|
86
87
|
the `image` used must include the [`GVNIC`](https://cloud.google.com/compute/docs/networking/using-gvnic#create-instance-gvnic-image)
|
87
88
|
in `guest-os-features`, and `network_interface.0.nic-type` must be `GVNIC`
|
88
89
|
in order for this setting to take effect.
|
90
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] partner_metadata: Beta key/value pair represents partner metadata assigned to instance template where key represent a defined namespace and value is a json string represent the entries associted with the namespace.
|
89
91
|
:param pulumi.Input[str] project: The ID of the project in which the resource belongs. If it
|
90
92
|
is not provided, the provider project is used.
|
91
93
|
:param pulumi.Input[str] region: The Region in which the resource belongs.
|
@@ -133,6 +135,8 @@ class RegionInstanceTemplateArgs:
|
|
133
135
|
pulumi.set(__self__, "network_interfaces", network_interfaces)
|
134
136
|
if network_performance_config is not None:
|
135
137
|
pulumi.set(__self__, "network_performance_config", network_performance_config)
|
138
|
+
if partner_metadata is not None:
|
139
|
+
pulumi.set(__self__, "partner_metadata", partner_metadata)
|
136
140
|
if project is not None:
|
137
141
|
pulumi.set(__self__, "project", project)
|
138
142
|
if region is not None:
|
@@ -379,6 +383,18 @@ class RegionInstanceTemplateArgs:
|
|
379
383
|
def network_performance_config(self, value: Optional[pulumi.Input['RegionInstanceTemplateNetworkPerformanceConfigArgs']]):
|
380
384
|
pulumi.set(self, "network_performance_config", value)
|
381
385
|
|
386
|
+
@property
|
387
|
+
@pulumi.getter(name="partnerMetadata")
|
388
|
+
def partner_metadata(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
389
|
+
"""
|
390
|
+
Beta key/value pair represents partner metadata assigned to instance template where key represent a defined namespace and value is a json string represent the entries associted with the namespace.
|
391
|
+
"""
|
392
|
+
return pulumi.get(self, "partner_metadata")
|
393
|
+
|
394
|
+
@partner_metadata.setter
|
395
|
+
def partner_metadata(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
396
|
+
pulumi.set(self, "partner_metadata", value)
|
397
|
+
|
382
398
|
@property
|
383
399
|
@pulumi.getter
|
384
400
|
def project(self) -> Optional[pulumi.Input[str]]:
|
@@ -515,6 +531,7 @@ class _RegionInstanceTemplateState:
|
|
515
531
|
name_prefix: Optional[pulumi.Input[str]] = None,
|
516
532
|
network_interfaces: Optional[pulumi.Input[Sequence[pulumi.Input['RegionInstanceTemplateNetworkInterfaceArgs']]]] = None,
|
517
533
|
network_performance_config: Optional[pulumi.Input['RegionInstanceTemplateNetworkPerformanceConfigArgs']] = None,
|
534
|
+
partner_metadata: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
518
535
|
project: Optional[pulumi.Input[str]] = None,
|
519
536
|
pulumi_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
520
537
|
region: Optional[pulumi.Input[str]] = None,
|
@@ -573,6 +590,7 @@ class _RegionInstanceTemplateState:
|
|
573
590
|
the `image` used must include the [`GVNIC`](https://cloud.google.com/compute/docs/networking/using-gvnic#create-instance-gvnic-image)
|
574
591
|
in `guest-os-features`, and `network_interface.0.nic-type` must be `GVNIC`
|
575
592
|
in order for this setting to take effect.
|
593
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] partner_metadata: Beta key/value pair represents partner metadata assigned to instance template where key represent a defined namespace and value is a json string represent the entries associted with the namespace.
|
576
594
|
:param pulumi.Input[str] project: The ID of the project in which the resource belongs. If it
|
577
595
|
is not provided, the provider project is used.
|
578
596
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] pulumi_labels: The combination of labels configured directly on the resource and default labels configured on the provider.
|
@@ -629,6 +647,8 @@ class _RegionInstanceTemplateState:
|
|
629
647
|
pulumi.set(__self__, "network_interfaces", network_interfaces)
|
630
648
|
if network_performance_config is not None:
|
631
649
|
pulumi.set(__self__, "network_performance_config", network_performance_config)
|
650
|
+
if partner_metadata is not None:
|
651
|
+
pulumi.set(__self__, "partner_metadata", partner_metadata)
|
632
652
|
if project is not None:
|
633
653
|
pulumi.set(__self__, "project", project)
|
634
654
|
if pulumi_labels is not None:
|
@@ -905,6 +925,18 @@ class _RegionInstanceTemplateState:
|
|
905
925
|
def network_performance_config(self, value: Optional[pulumi.Input['RegionInstanceTemplateNetworkPerformanceConfigArgs']]):
|
906
926
|
pulumi.set(self, "network_performance_config", value)
|
907
927
|
|
928
|
+
@property
|
929
|
+
@pulumi.getter(name="partnerMetadata")
|
930
|
+
def partner_metadata(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
931
|
+
"""
|
932
|
+
Beta key/value pair represents partner metadata assigned to instance template where key represent a defined namespace and value is a json string represent the entries associted with the namespace.
|
933
|
+
"""
|
934
|
+
return pulumi.get(self, "partner_metadata")
|
935
|
+
|
936
|
+
@partner_metadata.setter
|
937
|
+
def partner_metadata(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
938
|
+
pulumi.set(self, "partner_metadata", value)
|
939
|
+
|
908
940
|
@property
|
909
941
|
@pulumi.getter
|
910
942
|
def project(self) -> Optional[pulumi.Input[str]]:
|
@@ -1077,6 +1109,7 @@ class RegionInstanceTemplate(pulumi.CustomResource):
|
|
1077
1109
|
name_prefix: Optional[pulumi.Input[str]] = None,
|
1078
1110
|
network_interfaces: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['RegionInstanceTemplateNetworkInterfaceArgs']]]]] = None,
|
1079
1111
|
network_performance_config: Optional[pulumi.Input[pulumi.InputType['RegionInstanceTemplateNetworkPerformanceConfigArgs']]] = None,
|
1112
|
+
partner_metadata: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
1080
1113
|
project: Optional[pulumi.Input[str]] = None,
|
1081
1114
|
region: Optional[pulumi.Input[str]] = None,
|
1082
1115
|
reservation_affinity: Optional[pulumi.Input[pulumi.InputType['RegionInstanceTemplateReservationAffinityArgs']]] = None,
|
@@ -1156,6 +1189,7 @@ class RegionInstanceTemplate(pulumi.CustomResource):
|
|
1156
1189
|
the `image` used must include the [`GVNIC`](https://cloud.google.com/compute/docs/networking/using-gvnic#create-instance-gvnic-image)
|
1157
1190
|
in `guest-os-features`, and `network_interface.0.nic-type` must be `GVNIC`
|
1158
1191
|
in order for this setting to take effect.
|
1192
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] partner_metadata: Beta key/value pair represents partner metadata assigned to instance template where key represent a defined namespace and value is a json string represent the entries associted with the namespace.
|
1159
1193
|
:param pulumi.Input[str] project: The ID of the project in which the resource belongs. If it
|
1160
1194
|
is not provided, the provider project is used.
|
1161
1195
|
:param pulumi.Input[str] region: The Region in which the resource belongs.
|
@@ -1234,6 +1268,7 @@ class RegionInstanceTemplate(pulumi.CustomResource):
|
|
1234
1268
|
name_prefix: Optional[pulumi.Input[str]] = None,
|
1235
1269
|
network_interfaces: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['RegionInstanceTemplateNetworkInterfaceArgs']]]]] = None,
|
1236
1270
|
network_performance_config: Optional[pulumi.Input[pulumi.InputType['RegionInstanceTemplateNetworkPerformanceConfigArgs']]] = None,
|
1271
|
+
partner_metadata: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
1237
1272
|
project: Optional[pulumi.Input[str]] = None,
|
1238
1273
|
region: Optional[pulumi.Input[str]] = None,
|
1239
1274
|
reservation_affinity: Optional[pulumi.Input[pulumi.InputType['RegionInstanceTemplateReservationAffinityArgs']]] = None,
|
@@ -1273,6 +1308,7 @@ class RegionInstanceTemplate(pulumi.CustomResource):
|
|
1273
1308
|
__props__.__dict__["name_prefix"] = name_prefix
|
1274
1309
|
__props__.__dict__["network_interfaces"] = network_interfaces
|
1275
1310
|
__props__.__dict__["network_performance_config"] = network_performance_config
|
1311
|
+
__props__.__dict__["partner_metadata"] = partner_metadata
|
1276
1312
|
__props__.__dict__["project"] = project
|
1277
1313
|
__props__.__dict__["region"] = region
|
1278
1314
|
__props__.__dict__["reservation_affinity"] = reservation_affinity
|
@@ -1318,6 +1354,7 @@ class RegionInstanceTemplate(pulumi.CustomResource):
|
|
1318
1354
|
name_prefix: Optional[pulumi.Input[str]] = None,
|
1319
1355
|
network_interfaces: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['RegionInstanceTemplateNetworkInterfaceArgs']]]]] = None,
|
1320
1356
|
network_performance_config: Optional[pulumi.Input[pulumi.InputType['RegionInstanceTemplateNetworkPerformanceConfigArgs']]] = None,
|
1357
|
+
partner_metadata: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
1321
1358
|
project: Optional[pulumi.Input[str]] = None,
|
1322
1359
|
pulumi_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
1323
1360
|
region: Optional[pulumi.Input[str]] = None,
|
@@ -1381,6 +1418,7 @@ class RegionInstanceTemplate(pulumi.CustomResource):
|
|
1381
1418
|
the `image` used must include the [`GVNIC`](https://cloud.google.com/compute/docs/networking/using-gvnic#create-instance-gvnic-image)
|
1382
1419
|
in `guest-os-features`, and `network_interface.0.nic-type` must be `GVNIC`
|
1383
1420
|
in order for this setting to take effect.
|
1421
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] partner_metadata: Beta key/value pair represents partner metadata assigned to instance template where key represent a defined namespace and value is a json string represent the entries associted with the namespace.
|
1384
1422
|
:param pulumi.Input[str] project: The ID of the project in which the resource belongs. If it
|
1385
1423
|
is not provided, the provider project is used.
|
1386
1424
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] pulumi_labels: The combination of labels configured directly on the resource and default labels configured on the provider.
|
@@ -1422,6 +1460,7 @@ class RegionInstanceTemplate(pulumi.CustomResource):
|
|
1422
1460
|
__props__.__dict__["name_prefix"] = name_prefix
|
1423
1461
|
__props__.__dict__["network_interfaces"] = network_interfaces
|
1424
1462
|
__props__.__dict__["network_performance_config"] = network_performance_config
|
1463
|
+
__props__.__dict__["partner_metadata"] = partner_metadata
|
1425
1464
|
__props__.__dict__["project"] = project
|
1426
1465
|
__props__.__dict__["pulumi_labels"] = pulumi_labels
|
1427
1466
|
__props__.__dict__["region"] = region
|
@@ -1611,6 +1650,14 @@ class RegionInstanceTemplate(pulumi.CustomResource):
|
|
1611
1650
|
"""
|
1612
1651
|
return pulumi.get(self, "network_performance_config")
|
1613
1652
|
|
1653
|
+
@property
|
1654
|
+
@pulumi.getter(name="partnerMetadata")
|
1655
|
+
def partner_metadata(self) -> pulumi.Output[Optional[Mapping[str, str]]]:
|
1656
|
+
"""
|
1657
|
+
Beta key/value pair represents partner metadata assigned to instance template where key represent a defined namespace and value is a json string represent the entries associted with the namespace.
|
1658
|
+
"""
|
1659
|
+
return pulumi.get(self, "partner_metadata")
|
1660
|
+
|
1614
1661
|
@property
|
1615
1662
|
@pulumi.getter
|
1616
1663
|
def project(self) -> pulumi.Output[str]:
|
pulumi_gcp/config/__init__.pyi
CHANGED
@@ -296,6 +296,8 @@ secureSourceManagerCustomEndpoint: Optional[str]
|
|
296
296
|
|
297
297
|
securityCenterCustomEndpoint: Optional[str]
|
298
298
|
|
299
|
+
securityCenterManagementCustomEndpoint: Optional[str]
|
300
|
+
|
299
301
|
securityScannerCustomEndpoint: Optional[str]
|
300
302
|
|
301
303
|
securitypostureCustomEndpoint: Optional[str]
|
pulumi_gcp/config/vars.py
CHANGED
@@ -588,6 +588,10 @@ class _ExportableConfig(types.ModuleType):
|
|
588
588
|
def security_center_custom_endpoint(self) -> Optional[str]:
|
589
589
|
return __config__.get('securityCenterCustomEndpoint')
|
590
590
|
|
591
|
+
@property
|
592
|
+
def security_center_management_custom_endpoint(self) -> Optional[str]:
|
593
|
+
return __config__.get('securityCenterManagementCustomEndpoint')
|
594
|
+
|
591
595
|
@property
|
592
596
|
def security_scanner_custom_endpoint(self) -> Optional[str]:
|
593
597
|
return __config__.get('securityScannerCustomEndpoint')
|