pulumi-gcp 7.27.0__py3-none-any.whl → 7.27.0a1718103841__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 +0 -32
- pulumi_gcp/appengine/_inputs.py +0 -40
- pulumi_gcp/appengine/flexible_app_version.py +0 -47
- pulumi_gcp/appengine/outputs.py +0 -51
- pulumi_gcp/bigtable/instance.py +0 -47
- pulumi_gcp/clouddeploy/_inputs.py +0 -16
- pulumi_gcp/clouddeploy/outputs.py +0 -12
- pulumi_gcp/compute/__init__.py +0 -2
- pulumi_gcp/compute/_inputs.py +0 -84
- pulumi_gcp/compute/backend_service.py +0 -54
- pulumi_gcp/compute/disk.py +0 -68
- pulumi_gcp/compute/get_backend_service.py +1 -11
- pulumi_gcp/compute/get_disk.py +1 -11
- pulumi_gcp/compute/get_instance.py +1 -11
- pulumi_gcp/compute/get_instance_group_manager.py +1 -31
- pulumi_gcp/compute/get_instance_template.py +1 -11
- pulumi_gcp/compute/get_region_instance_template.py +1 -11
- pulumi_gcp/compute/instance.py +0 -47
- pulumi_gcp/compute/instance_from_machine_image.py +0 -47
- pulumi_gcp/compute/instance_from_template.py +0 -47
- pulumi_gcp/compute/instance_group_manager.py +0 -185
- pulumi_gcp/compute/instance_template.py +0 -47
- pulumi_gcp/compute/outputs.py +0 -1039
- pulumi_gcp/compute/region_instance_group_manager.py +0 -185
- pulumi_gcp/compute/region_instance_template.py +0 -47
- pulumi_gcp/config/__init__.pyi +0 -2
- pulumi_gcp/config/vars.py +0 -4
- pulumi_gcp/container/_inputs.py +4 -33
- pulumi_gcp/container/cluster.py +0 -61
- pulumi_gcp/container/get_cluster.py +1 -11
- pulumi_gcp/container/outputs.py +4 -48
- pulumi_gcp/dataloss/_inputs.py +19 -185
- pulumi_gcp/dataloss/outputs.py +17 -206
- pulumi_gcp/dataloss/prevention_inspect_template.py +0 -54
- pulumi_gcp/gkebackup/_inputs.py +7 -282
- pulumi_gcp/gkebackup/backup_plan.py +0 -100
- pulumi_gcp/gkebackup/outputs.py +7 -312
- pulumi_gcp/gkebackup/restore_plan.py +0 -326
- pulumi_gcp/gkebackup/restore_plan_iam_binding.py +0 -326
- pulumi_gcp/gkebackup/restore_plan_iam_member.py +0 -326
- pulumi_gcp/gkebackup/restore_plan_iam_policy.py +0 -326
- pulumi_gcp/healthcare/_inputs.py +1 -17
- pulumi_gcp/healthcare/dicom_store.py +0 -2
- pulumi_gcp/healthcare/fhir_store.py +60 -44
- pulumi_gcp/healthcare/outputs.py +1 -15
- pulumi_gcp/integrationconnectors/endpoint_attachment.py +0 -47
- pulumi_gcp/kms/crypto_key.py +7 -14
- pulumi_gcp/netapp/_inputs.py +0 -58
- pulumi_gcp/netapp/outputs.py +0 -67
- pulumi_gcp/netapp/volume.py +0 -54
- pulumi_gcp/networkservices/__init__.py +0 -1
- pulumi_gcp/networkservices/_inputs.py +0 -47
- pulumi_gcp/networkservices/outputs.py +0 -56
- pulumi_gcp/provider.py +0 -20
- pulumi_gcp/pulumi-plugin.json +1 -1
- pulumi_gcp/redis/_inputs.py +0 -44
- pulumi_gcp/redis/cluster.py +3 -128
- pulumi_gcp/redis/outputs.py +0 -36
- pulumi_gcp/secretmanager/_inputs.py +0 -20
- pulumi_gcp/secretmanager/outputs.py +0 -20
- pulumi_gcp/secretmanager/secret_iam_binding.py +0 -244
- pulumi_gcp/secretmanager/secret_iam_member.py +0 -244
- pulumi_gcp/secretmanager/secret_iam_policy.py +0 -224
- pulumi_gcp/securitycenter/__init__.py +0 -1
- pulumi_gcp/spanner/__init__.py +0 -1
- pulumi_gcp/spanner/_inputs.py +0 -68
- pulumi_gcp/spanner/outputs.py +0 -73
- pulumi_gcp/sql/_inputs.py +2 -8
- pulumi_gcp/sql/outputs.py +6 -9
- pulumi_gcp/workstations/_inputs.py +1 -51
- pulumi_gcp/workstations/outputs.py +2 -46
- pulumi_gcp/workstations/workstation_config.py +4 -10
- {pulumi_gcp-7.27.0.dist-info → pulumi_gcp-7.27.0a1718103841.dist-info}/METADATA +1 -1
- {pulumi_gcp-7.27.0.dist-info → pulumi_gcp-7.27.0a1718103841.dist-info}/RECORD +76 -81
- pulumi_gcp/compute/get_security_policy.py +0 -214
- pulumi_gcp/compute/project_cloud_armor_tier.py +0 -336
- pulumi_gcp/networkservices/service_lb_policies.py +0 -782
- pulumi_gcp/securitycenter/management_organization_event_threat_detection_custom_module.py +0 -568
- pulumi_gcp/spanner/instance_config.py +0 -569
- {pulumi_gcp-7.27.0.dist-info → pulumi_gcp-7.27.0a1718103841.dist-info}/WHEEL +0 -0
- {pulumi_gcp-7.27.0.dist-info → pulumi_gcp-7.27.0a1718103841.dist-info}/top_level.txt +0 -0
@@ -38,7 +38,6 @@ class InstanceFromTemplateArgs:
|
|
38
38
|
network_interfaces: Optional[pulumi.Input[Sequence[pulumi.Input['InstanceFromTemplateNetworkInterfaceArgs']]]] = None,
|
39
39
|
network_performance_config: Optional[pulumi.Input['InstanceFromTemplateNetworkPerformanceConfigArgs']] = None,
|
40
40
|
params: Optional[pulumi.Input['InstanceFromTemplateParamsArgs']] = None,
|
41
|
-
partner_metadata: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
42
41
|
project: Optional[pulumi.Input[str]] = None,
|
43
42
|
reservation_affinity: Optional[pulumi.Input['InstanceFromTemplateReservationAffinityArgs']] = None,
|
44
43
|
resource_policies: Optional[pulumi.Input[str]] = None,
|
@@ -82,7 +81,6 @@ class InstanceFromTemplateArgs:
|
|
82
81
|
:param pulumi.Input['InstanceFromTemplateNetworkPerformanceConfigArgs'] network_performance_config: Configures network performance settings for the instance. If not specified, the instance will be created with its
|
83
82
|
default network performance configuration.
|
84
83
|
:param pulumi.Input['InstanceFromTemplateParamsArgs'] params: Stores additional params passed with the request, but not persisted as part of resource payload.
|
85
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] partner_metadata: Partner Metadata Map made available within the instance.
|
86
84
|
:param pulumi.Input[str] project: The ID of the project in which the resource belongs. If self_link is provided, this value is ignored. If neither
|
87
85
|
self_link nor project are provided, the provider project is used.
|
88
86
|
:param pulumi.Input['InstanceFromTemplateReservationAffinityArgs'] reservation_affinity: Specifies the reservations that this instance can consume from.
|
@@ -142,8 +140,6 @@ class InstanceFromTemplateArgs:
|
|
142
140
|
pulumi.set(__self__, "network_performance_config", network_performance_config)
|
143
141
|
if params is not None:
|
144
142
|
pulumi.set(__self__, "params", params)
|
145
|
-
if partner_metadata is not None:
|
146
|
-
pulumi.set(__self__, "partner_metadata", partner_metadata)
|
147
143
|
if project is not None:
|
148
144
|
pulumi.set(__self__, "project", project)
|
149
145
|
if reservation_affinity is not None:
|
@@ -435,18 +431,6 @@ class InstanceFromTemplateArgs:
|
|
435
431
|
def params(self, value: Optional[pulumi.Input['InstanceFromTemplateParamsArgs']]):
|
436
432
|
pulumi.set(self, "params", value)
|
437
433
|
|
438
|
-
@property
|
439
|
-
@pulumi.getter(name="partnerMetadata")
|
440
|
-
def partner_metadata(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
441
|
-
"""
|
442
|
-
Partner Metadata Map made available within the instance.
|
443
|
-
"""
|
444
|
-
return pulumi.get(self, "partner_metadata")
|
445
|
-
|
446
|
-
@partner_metadata.setter
|
447
|
-
def partner_metadata(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
448
|
-
pulumi.set(self, "partner_metadata", value)
|
449
|
-
|
450
434
|
@property
|
451
435
|
@pulumi.getter
|
452
436
|
def project(self) -> Optional[pulumi.Input[str]]:
|
@@ -592,7 +576,6 @@ class _InstanceFromTemplateState:
|
|
592
576
|
network_interfaces: Optional[pulumi.Input[Sequence[pulumi.Input['InstanceFromTemplateNetworkInterfaceArgs']]]] = None,
|
593
577
|
network_performance_config: Optional[pulumi.Input['InstanceFromTemplateNetworkPerformanceConfigArgs']] = None,
|
594
578
|
params: Optional[pulumi.Input['InstanceFromTemplateParamsArgs']] = None,
|
595
|
-
partner_metadata: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
596
579
|
project: Optional[pulumi.Input[str]] = None,
|
597
580
|
pulumi_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
598
581
|
reservation_affinity: Optional[pulumi.Input['InstanceFromTemplateReservationAffinityArgs']] = None,
|
@@ -642,7 +625,6 @@ class _InstanceFromTemplateState:
|
|
642
625
|
:param pulumi.Input['InstanceFromTemplateNetworkPerformanceConfigArgs'] network_performance_config: Configures network performance settings for the instance. If not specified, the instance will be created with its
|
643
626
|
default network performance configuration.
|
644
627
|
:param pulumi.Input['InstanceFromTemplateParamsArgs'] params: Stores additional params passed with the request, but not persisted as part of resource payload.
|
645
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] partner_metadata: Partner Metadata Map made available within the instance.
|
646
628
|
:param pulumi.Input[str] project: The ID of the project in which the resource belongs. If self_link is provided, this value is ignored. If neither
|
647
629
|
self_link nor project are provided, the provider project is used.
|
648
630
|
: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.
|
@@ -721,8 +703,6 @@ class _InstanceFromTemplateState:
|
|
721
703
|
pulumi.set(__self__, "network_performance_config", network_performance_config)
|
722
704
|
if params is not None:
|
723
705
|
pulumi.set(__self__, "params", params)
|
724
|
-
if partner_metadata is not None:
|
725
|
-
pulumi.set(__self__, "partner_metadata", partner_metadata)
|
726
706
|
if project is not None:
|
727
707
|
pulumi.set(__self__, "project", project)
|
728
708
|
if pulumi_labels is not None:
|
@@ -1077,18 +1057,6 @@ class _InstanceFromTemplateState:
|
|
1077
1057
|
def params(self, value: Optional[pulumi.Input['InstanceFromTemplateParamsArgs']]):
|
1078
1058
|
pulumi.set(self, "params", value)
|
1079
1059
|
|
1080
|
-
@property
|
1081
|
-
@pulumi.getter(name="partnerMetadata")
|
1082
|
-
def partner_metadata(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
1083
|
-
"""
|
1084
|
-
Partner Metadata Map made available within the instance.
|
1085
|
-
"""
|
1086
|
-
return pulumi.get(self, "partner_metadata")
|
1087
|
-
|
1088
|
-
@partner_metadata.setter
|
1089
|
-
def partner_metadata(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
1090
|
-
pulumi.set(self, "partner_metadata", value)
|
1091
|
-
|
1092
1060
|
@property
|
1093
1061
|
@pulumi.getter
|
1094
1062
|
def project(self) -> Optional[pulumi.Input[str]]:
|
@@ -1282,7 +1250,6 @@ class InstanceFromTemplate(pulumi.CustomResource):
|
|
1282
1250
|
network_interfaces: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['InstanceFromTemplateNetworkInterfaceArgs']]]]] = None,
|
1283
1251
|
network_performance_config: Optional[pulumi.Input[pulumi.InputType['InstanceFromTemplateNetworkPerformanceConfigArgs']]] = None,
|
1284
1252
|
params: Optional[pulumi.Input[pulumi.InputType['InstanceFromTemplateParamsArgs']]] = None,
|
1285
|
-
partner_metadata: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
1286
1253
|
project: Optional[pulumi.Input[str]] = None,
|
1287
1254
|
reservation_affinity: Optional[pulumi.Input[pulumi.InputType['InstanceFromTemplateReservationAffinityArgs']]] = None,
|
1288
1255
|
resource_policies: Optional[pulumi.Input[str]] = None,
|
@@ -1369,7 +1336,6 @@ class InstanceFromTemplate(pulumi.CustomResource):
|
|
1369
1336
|
:param pulumi.Input[pulumi.InputType['InstanceFromTemplateNetworkPerformanceConfigArgs']] network_performance_config: Configures network performance settings for the instance. If not specified, the instance will be created with its
|
1370
1337
|
default network performance configuration.
|
1371
1338
|
:param pulumi.Input[pulumi.InputType['InstanceFromTemplateParamsArgs']] params: Stores additional params passed with the request, but not persisted as part of resource payload.
|
1372
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] partner_metadata: Partner Metadata Map made available within the instance.
|
1373
1339
|
:param pulumi.Input[str] project: The ID of the project in which the resource belongs. If self_link is provided, this value is ignored. If neither
|
1374
1340
|
self_link nor project are provided, the provider project is used.
|
1375
1341
|
:param pulumi.Input[pulumi.InputType['InstanceFromTemplateReservationAffinityArgs']] reservation_affinity: Specifies the reservations that this instance can consume from.
|
@@ -1479,7 +1445,6 @@ class InstanceFromTemplate(pulumi.CustomResource):
|
|
1479
1445
|
network_interfaces: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['InstanceFromTemplateNetworkInterfaceArgs']]]]] = None,
|
1480
1446
|
network_performance_config: Optional[pulumi.Input[pulumi.InputType['InstanceFromTemplateNetworkPerformanceConfigArgs']]] = None,
|
1481
1447
|
params: Optional[pulumi.Input[pulumi.InputType['InstanceFromTemplateParamsArgs']]] = None,
|
1482
|
-
partner_metadata: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
1483
1448
|
project: Optional[pulumi.Input[str]] = None,
|
1484
1449
|
reservation_affinity: Optional[pulumi.Input[pulumi.InputType['InstanceFromTemplateReservationAffinityArgs']]] = None,
|
1485
1450
|
resource_policies: Optional[pulumi.Input[str]] = None,
|
@@ -1520,7 +1485,6 @@ class InstanceFromTemplate(pulumi.CustomResource):
|
|
1520
1485
|
__props__.__dict__["network_interfaces"] = network_interfaces
|
1521
1486
|
__props__.__dict__["network_performance_config"] = network_performance_config
|
1522
1487
|
__props__.__dict__["params"] = params
|
1523
|
-
__props__.__dict__["partner_metadata"] = partner_metadata
|
1524
1488
|
__props__.__dict__["project"] = project
|
1525
1489
|
__props__.__dict__["reservation_affinity"] = reservation_affinity
|
1526
1490
|
__props__.__dict__["resource_policies"] = resource_policies
|
@@ -1581,7 +1545,6 @@ class InstanceFromTemplate(pulumi.CustomResource):
|
|
1581
1545
|
network_interfaces: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['InstanceFromTemplateNetworkInterfaceArgs']]]]] = None,
|
1582
1546
|
network_performance_config: Optional[pulumi.Input[pulumi.InputType['InstanceFromTemplateNetworkPerformanceConfigArgs']]] = None,
|
1583
1547
|
params: Optional[pulumi.Input[pulumi.InputType['InstanceFromTemplateParamsArgs']]] = None,
|
1584
|
-
partner_metadata: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
1585
1548
|
project: Optional[pulumi.Input[str]] = None,
|
1586
1549
|
pulumi_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
1587
1550
|
reservation_affinity: Optional[pulumi.Input[pulumi.InputType['InstanceFromTemplateReservationAffinityArgs']]] = None,
|
@@ -1636,7 +1599,6 @@ class InstanceFromTemplate(pulumi.CustomResource):
|
|
1636
1599
|
:param pulumi.Input[pulumi.InputType['InstanceFromTemplateNetworkPerformanceConfigArgs']] network_performance_config: Configures network performance settings for the instance. If not specified, the instance will be created with its
|
1637
1600
|
default network performance configuration.
|
1638
1601
|
:param pulumi.Input[pulumi.InputType['InstanceFromTemplateParamsArgs']] params: Stores additional params passed with the request, but not persisted as part of resource payload.
|
1639
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] partner_metadata: Partner Metadata Map made available within the instance.
|
1640
1602
|
:param pulumi.Input[str] project: The ID of the project in which the resource belongs. If self_link is provided, this value is ignored. If neither
|
1641
1603
|
self_link nor project are provided, the provider project is used.
|
1642
1604
|
: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.
|
@@ -1692,7 +1654,6 @@ class InstanceFromTemplate(pulumi.CustomResource):
|
|
1692
1654
|
__props__.__dict__["network_interfaces"] = network_interfaces
|
1693
1655
|
__props__.__dict__["network_performance_config"] = network_performance_config
|
1694
1656
|
__props__.__dict__["params"] = params
|
1695
|
-
__props__.__dict__["partner_metadata"] = partner_metadata
|
1696
1657
|
__props__.__dict__["project"] = project
|
1697
1658
|
__props__.__dict__["pulumi_labels"] = pulumi_labels
|
1698
1659
|
__props__.__dict__["reservation_affinity"] = reservation_affinity
|
@@ -1927,14 +1888,6 @@ class InstanceFromTemplate(pulumi.CustomResource):
|
|
1927
1888
|
"""
|
1928
1889
|
return pulumi.get(self, "params")
|
1929
1890
|
|
1930
|
-
@property
|
1931
|
-
@pulumi.getter(name="partnerMetadata")
|
1932
|
-
def partner_metadata(self) -> pulumi.Output[Mapping[str, str]]:
|
1933
|
-
"""
|
1934
|
-
Partner Metadata Map made available within the instance.
|
1935
|
-
"""
|
1936
|
-
return pulumi.get(self, "partner_metadata")
|
1937
|
-
|
1938
1891
|
@property
|
1939
1892
|
@pulumi.getter
|
1940
1893
|
def project(self) -> pulumi.Output[str]:
|
@@ -27,14 +27,11 @@ class InstanceGroupManagerArgs:
|
|
27
27
|
named_ports: Optional[pulumi.Input[Sequence[pulumi.Input['InstanceGroupManagerNamedPortArgs']]]] = None,
|
28
28
|
params: Optional[pulumi.Input['InstanceGroupManagerParamsArgs']] = None,
|
29
29
|
project: Optional[pulumi.Input[str]] = None,
|
30
|
-
standby_policy: Optional[pulumi.Input['InstanceGroupManagerStandbyPolicyArgs']] = None,
|
31
30
|
stateful_disks: Optional[pulumi.Input[Sequence[pulumi.Input['InstanceGroupManagerStatefulDiskArgs']]]] = None,
|
32
31
|
stateful_external_ips: Optional[pulumi.Input[Sequence[pulumi.Input['InstanceGroupManagerStatefulExternalIpArgs']]]] = None,
|
33
32
|
stateful_internal_ips: Optional[pulumi.Input[Sequence[pulumi.Input['InstanceGroupManagerStatefulInternalIpArgs']]]] = None,
|
34
33
|
target_pools: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
35
34
|
target_size: Optional[pulumi.Input[int]] = None,
|
36
|
-
target_stopped_size: Optional[pulumi.Input[int]] = None,
|
37
|
-
target_suspended_size: Optional[pulumi.Input[int]] = None,
|
38
35
|
update_policy: Optional[pulumi.Input['InstanceGroupManagerUpdatePolicyArgs']] = None,
|
39
36
|
wait_for_instances: Optional[pulumi.Input[bool]] = None,
|
40
37
|
wait_for_instances_status: Optional[pulumi.Input[str]] = None,
|
@@ -75,7 +72,6 @@ class InstanceGroupManagerArgs:
|
|
75
72
|
- - -
|
76
73
|
:param pulumi.Input[str] project: The ID of the project in which the resource belongs. If it
|
77
74
|
is not provided, the provider project is used.
|
78
|
-
:param pulumi.Input['InstanceGroupManagerStandbyPolicyArgs'] 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)
|
79
75
|
:param pulumi.Input[Sequence[pulumi.Input['InstanceGroupManagerStatefulDiskArgs']]] 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).
|
80
76
|
:param pulumi.Input[Sequence[pulumi.Input['InstanceGroupManagerStatefulExternalIpArgs']]] 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.
|
81
77
|
:param pulumi.Input[Sequence[pulumi.Input['InstanceGroupManagerStatefulInternalIpArgs']]] 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.
|
@@ -84,8 +80,6 @@ class InstanceGroupManagerArgs:
|
|
84
80
|
not affect existing instances.
|
85
81
|
:param pulumi.Input[int] target_size: The target number of running instances for this managed instance group. This value should always be explicitly set
|
86
82
|
unless this resource is attached to an autoscaler, in which case it should never be set. Defaults to 0.
|
87
|
-
:param pulumi.Input[int] target_stopped_size: The target number of stopped instances for this managed instance group.
|
88
|
-
:param pulumi.Input[int] target_suspended_size: The target number of suspended instances for this managed instance group.
|
89
83
|
:param pulumi.Input['InstanceGroupManagerUpdatePolicyArgs'] 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/v1/instanceGroupManagers/patch).
|
90
84
|
:param pulumi.Input[bool] wait_for_instances: Whether to wait for all instances to be created/updated before
|
91
85
|
returning. Note that if this is set to true and the operation does not succeed, this provider will
|
@@ -119,8 +113,6 @@ class InstanceGroupManagerArgs:
|
|
119
113
|
pulumi.set(__self__, "params", params)
|
120
114
|
if project is not None:
|
121
115
|
pulumi.set(__self__, "project", project)
|
122
|
-
if standby_policy is not None:
|
123
|
-
pulumi.set(__self__, "standby_policy", standby_policy)
|
124
116
|
if stateful_disks is not None:
|
125
117
|
pulumi.set(__self__, "stateful_disks", stateful_disks)
|
126
118
|
if stateful_external_ips is not None:
|
@@ -131,10 +123,6 @@ class InstanceGroupManagerArgs:
|
|
131
123
|
pulumi.set(__self__, "target_pools", target_pools)
|
132
124
|
if target_size is not None:
|
133
125
|
pulumi.set(__self__, "target_size", target_size)
|
134
|
-
if target_stopped_size is not None:
|
135
|
-
pulumi.set(__self__, "target_stopped_size", target_stopped_size)
|
136
|
-
if target_suspended_size is not None:
|
137
|
-
pulumi.set(__self__, "target_suspended_size", target_suspended_size)
|
138
126
|
if update_policy is not None:
|
139
127
|
pulumi.set(__self__, "update_policy", update_policy)
|
140
128
|
if wait_for_instances is not None:
|
@@ -299,18 +287,6 @@ class InstanceGroupManagerArgs:
|
|
299
287
|
def project(self, value: Optional[pulumi.Input[str]]):
|
300
288
|
pulumi.set(self, "project", value)
|
301
289
|
|
302
|
-
@property
|
303
|
-
@pulumi.getter(name="standbyPolicy")
|
304
|
-
def standby_policy(self) -> Optional[pulumi.Input['InstanceGroupManagerStandbyPolicyArgs']]:
|
305
|
-
"""
|
306
|
-
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)
|
307
|
-
"""
|
308
|
-
return pulumi.get(self, "standby_policy")
|
309
|
-
|
310
|
-
@standby_policy.setter
|
311
|
-
def standby_policy(self, value: Optional[pulumi.Input['InstanceGroupManagerStandbyPolicyArgs']]):
|
312
|
-
pulumi.set(self, "standby_policy", value)
|
313
|
-
|
314
290
|
@property
|
315
291
|
@pulumi.getter(name="statefulDisks")
|
316
292
|
def stateful_disks(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['InstanceGroupManagerStatefulDiskArgs']]]]:
|
@@ -374,30 +350,6 @@ class InstanceGroupManagerArgs:
|
|
374
350
|
def target_size(self, value: Optional[pulumi.Input[int]]):
|
375
351
|
pulumi.set(self, "target_size", value)
|
376
352
|
|
377
|
-
@property
|
378
|
-
@pulumi.getter(name="targetStoppedSize")
|
379
|
-
def target_stopped_size(self) -> Optional[pulumi.Input[int]]:
|
380
|
-
"""
|
381
|
-
The target number of stopped instances for this managed instance group.
|
382
|
-
"""
|
383
|
-
return pulumi.get(self, "target_stopped_size")
|
384
|
-
|
385
|
-
@target_stopped_size.setter
|
386
|
-
def target_stopped_size(self, value: Optional[pulumi.Input[int]]):
|
387
|
-
pulumi.set(self, "target_stopped_size", value)
|
388
|
-
|
389
|
-
@property
|
390
|
-
@pulumi.getter(name="targetSuspendedSize")
|
391
|
-
def target_suspended_size(self) -> Optional[pulumi.Input[int]]:
|
392
|
-
"""
|
393
|
-
The target number of suspended instances for this managed instance group.
|
394
|
-
"""
|
395
|
-
return pulumi.get(self, "target_suspended_size")
|
396
|
-
|
397
|
-
@target_suspended_size.setter
|
398
|
-
def target_suspended_size(self, value: Optional[pulumi.Input[int]]):
|
399
|
-
pulumi.set(self, "target_suspended_size", value)
|
400
|
-
|
401
353
|
@property
|
402
354
|
@pulumi.getter(name="updatePolicy")
|
403
355
|
def update_policy(self) -> Optional[pulumi.Input['InstanceGroupManagerUpdatePolicyArgs']]:
|
@@ -473,15 +425,12 @@ class _InstanceGroupManagerState:
|
|
473
425
|
params: Optional[pulumi.Input['InstanceGroupManagerParamsArgs']] = None,
|
474
426
|
project: Optional[pulumi.Input[str]] = None,
|
475
427
|
self_link: Optional[pulumi.Input[str]] = None,
|
476
|
-
standby_policy: Optional[pulumi.Input['InstanceGroupManagerStandbyPolicyArgs']] = None,
|
477
428
|
stateful_disks: Optional[pulumi.Input[Sequence[pulumi.Input['InstanceGroupManagerStatefulDiskArgs']]]] = None,
|
478
429
|
stateful_external_ips: Optional[pulumi.Input[Sequence[pulumi.Input['InstanceGroupManagerStatefulExternalIpArgs']]]] = None,
|
479
430
|
stateful_internal_ips: Optional[pulumi.Input[Sequence[pulumi.Input['InstanceGroupManagerStatefulInternalIpArgs']]]] = None,
|
480
431
|
statuses: Optional[pulumi.Input[Sequence[pulumi.Input['InstanceGroupManagerStatusArgs']]]] = None,
|
481
432
|
target_pools: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
482
433
|
target_size: Optional[pulumi.Input[int]] = None,
|
483
|
-
target_stopped_size: Optional[pulumi.Input[int]] = None,
|
484
|
-
target_suspended_size: Optional[pulumi.Input[int]] = None,
|
485
434
|
update_policy: Optional[pulumi.Input['InstanceGroupManagerUpdatePolicyArgs']] = None,
|
486
435
|
versions: Optional[pulumi.Input[Sequence[pulumi.Input['InstanceGroupManagerVersionArgs']]]] = None,
|
487
436
|
wait_for_instances: Optional[pulumi.Input[bool]] = None,
|
@@ -524,7 +473,6 @@ class _InstanceGroupManagerState:
|
|
524
473
|
:param pulumi.Input[str] project: The ID of the project in which the resource belongs. If it
|
525
474
|
is not provided, the provider project is used.
|
526
475
|
:param pulumi.Input[str] self_link: The URL of the created resource.
|
527
|
-
:param pulumi.Input['InstanceGroupManagerStandbyPolicyArgs'] 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)
|
528
476
|
:param pulumi.Input[Sequence[pulumi.Input['InstanceGroupManagerStatefulDiskArgs']]] 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).
|
529
477
|
:param pulumi.Input[Sequence[pulumi.Input['InstanceGroupManagerStatefulExternalIpArgs']]] 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.
|
530
478
|
:param pulumi.Input[Sequence[pulumi.Input['InstanceGroupManagerStatefulInternalIpArgs']]] 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.
|
@@ -534,8 +482,6 @@ class _InstanceGroupManagerState:
|
|
534
482
|
not affect existing instances.
|
535
483
|
:param pulumi.Input[int] target_size: The target number of running instances for this managed instance group. This value should always be explicitly set
|
536
484
|
unless this resource is attached to an autoscaler, in which case it should never be set. Defaults to 0.
|
537
|
-
:param pulumi.Input[int] target_stopped_size: The target number of stopped instances for this managed instance group.
|
538
|
-
:param pulumi.Input[int] target_suspended_size: The target number of suspended instances for this managed instance group.
|
539
485
|
:param pulumi.Input['InstanceGroupManagerUpdatePolicyArgs'] 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/v1/instanceGroupManagers/patch).
|
540
486
|
:param pulumi.Input[Sequence[pulumi.Input['InstanceGroupManagerVersionArgs']]] versions: Application versions managed by this instance group. Each
|
541
487
|
version deals with a specific instance template, allowing canary release scenarios.
|
@@ -582,8 +528,6 @@ class _InstanceGroupManagerState:
|
|
582
528
|
pulumi.set(__self__, "project", project)
|
583
529
|
if self_link is not None:
|
584
530
|
pulumi.set(__self__, "self_link", self_link)
|
585
|
-
if standby_policy is not None:
|
586
|
-
pulumi.set(__self__, "standby_policy", standby_policy)
|
587
531
|
if stateful_disks is not None:
|
588
532
|
pulumi.set(__self__, "stateful_disks", stateful_disks)
|
589
533
|
if stateful_external_ips is not None:
|
@@ -596,10 +540,6 @@ class _InstanceGroupManagerState:
|
|
596
540
|
pulumi.set(__self__, "target_pools", target_pools)
|
597
541
|
if target_size is not None:
|
598
542
|
pulumi.set(__self__, "target_size", target_size)
|
599
|
-
if target_stopped_size is not None:
|
600
|
-
pulumi.set(__self__, "target_stopped_size", target_stopped_size)
|
601
|
-
if target_suspended_size is not None:
|
602
|
-
pulumi.set(__self__, "target_suspended_size", target_suspended_size)
|
603
543
|
if update_policy is not None:
|
604
544
|
pulumi.set(__self__, "update_policy", update_policy)
|
605
545
|
if versions is not None:
|
@@ -809,18 +749,6 @@ class _InstanceGroupManagerState:
|
|
809
749
|
def self_link(self, value: Optional[pulumi.Input[str]]):
|
810
750
|
pulumi.set(self, "self_link", value)
|
811
751
|
|
812
|
-
@property
|
813
|
-
@pulumi.getter(name="standbyPolicy")
|
814
|
-
def standby_policy(self) -> Optional[pulumi.Input['InstanceGroupManagerStandbyPolicyArgs']]:
|
815
|
-
"""
|
816
|
-
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)
|
817
|
-
"""
|
818
|
-
return pulumi.get(self, "standby_policy")
|
819
|
-
|
820
|
-
@standby_policy.setter
|
821
|
-
def standby_policy(self, value: Optional[pulumi.Input['InstanceGroupManagerStandbyPolicyArgs']]):
|
822
|
-
pulumi.set(self, "standby_policy", value)
|
823
|
-
|
824
752
|
@property
|
825
753
|
@pulumi.getter(name="statefulDisks")
|
826
754
|
def stateful_disks(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['InstanceGroupManagerStatefulDiskArgs']]]]:
|
@@ -896,30 +824,6 @@ class _InstanceGroupManagerState:
|
|
896
824
|
def target_size(self, value: Optional[pulumi.Input[int]]):
|
897
825
|
pulumi.set(self, "target_size", value)
|
898
826
|
|
899
|
-
@property
|
900
|
-
@pulumi.getter(name="targetStoppedSize")
|
901
|
-
def target_stopped_size(self) -> Optional[pulumi.Input[int]]:
|
902
|
-
"""
|
903
|
-
The target number of stopped instances for this managed instance group.
|
904
|
-
"""
|
905
|
-
return pulumi.get(self, "target_stopped_size")
|
906
|
-
|
907
|
-
@target_stopped_size.setter
|
908
|
-
def target_stopped_size(self, value: Optional[pulumi.Input[int]]):
|
909
|
-
pulumi.set(self, "target_stopped_size", value)
|
910
|
-
|
911
|
-
@property
|
912
|
-
@pulumi.getter(name="targetSuspendedSize")
|
913
|
-
def target_suspended_size(self) -> Optional[pulumi.Input[int]]:
|
914
|
-
"""
|
915
|
-
The target number of suspended instances for this managed instance group.
|
916
|
-
"""
|
917
|
-
return pulumi.get(self, "target_suspended_size")
|
918
|
-
|
919
|
-
@target_suspended_size.setter
|
920
|
-
def target_suspended_size(self, value: Optional[pulumi.Input[int]]):
|
921
|
-
pulumi.set(self, "target_suspended_size", value)
|
922
|
-
|
923
827
|
@property
|
924
828
|
@pulumi.getter(name="updatePolicy")
|
925
829
|
def update_policy(self) -> Optional[pulumi.Input['InstanceGroupManagerUpdatePolicyArgs']]:
|
@@ -1006,14 +910,11 @@ class InstanceGroupManager(pulumi.CustomResource):
|
|
1006
910
|
named_ports: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['InstanceGroupManagerNamedPortArgs']]]]] = None,
|
1007
911
|
params: Optional[pulumi.Input[pulumi.InputType['InstanceGroupManagerParamsArgs']]] = None,
|
1008
912
|
project: Optional[pulumi.Input[str]] = None,
|
1009
|
-
standby_policy: Optional[pulumi.Input[pulumi.InputType['InstanceGroupManagerStandbyPolicyArgs']]] = None,
|
1010
913
|
stateful_disks: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['InstanceGroupManagerStatefulDiskArgs']]]]] = None,
|
1011
914
|
stateful_external_ips: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['InstanceGroupManagerStatefulExternalIpArgs']]]]] = None,
|
1012
915
|
stateful_internal_ips: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['InstanceGroupManagerStatefulInternalIpArgs']]]]] = None,
|
1013
916
|
target_pools: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
1014
917
|
target_size: Optional[pulumi.Input[int]] = None,
|
1015
|
-
target_stopped_size: Optional[pulumi.Input[int]] = None,
|
1016
|
-
target_suspended_size: Optional[pulumi.Input[int]] = None,
|
1017
918
|
update_policy: Optional[pulumi.Input[pulumi.InputType['InstanceGroupManagerUpdatePolicyArgs']]] = None,
|
1018
919
|
versions: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['InstanceGroupManagerVersionArgs']]]]] = None,
|
1019
920
|
wait_for_instances: Optional[pulumi.Input[bool]] = None,
|
@@ -1098,28 +999,6 @@ class InstanceGroupManager(pulumi.CustomResource):
|
|
1098
999
|
])
|
1099
1000
|
```
|
1100
1001
|
|
1101
|
-
### With Standby Policy (`Google-Beta` Provider)
|
1102
|
-
```python
|
1103
|
-
import pulumi
|
1104
|
-
import pulumi_gcp as gcp
|
1105
|
-
|
1106
|
-
igm_sr = gcp.compute.InstanceGroupManager("igm-sr",
|
1107
|
-
name="tf-sr-igm",
|
1108
|
-
base_instance_name="tf-sr-igm-instance",
|
1109
|
-
zone="us-central1-a",
|
1110
|
-
target_size=5,
|
1111
|
-
versions=[gcp.compute.InstanceGroupManagerVersionArgs(
|
1112
|
-
instance_template=sr_igm["selfLink"],
|
1113
|
-
name="primary",
|
1114
|
-
)],
|
1115
|
-
standby_policy=gcp.compute.InstanceGroupManagerStandbyPolicyArgs(
|
1116
|
-
initial_delay_sec=30,
|
1117
|
-
mode="MANUAL",
|
1118
|
-
),
|
1119
|
-
target_suspended_size=2,
|
1120
|
-
target_stopped_size=1)
|
1121
|
-
```
|
1122
|
-
|
1123
1002
|
## Import
|
1124
1003
|
|
1125
1004
|
Instance group managers can be imported using any of these accepted formats:
|
@@ -1183,7 +1062,6 @@ class InstanceGroupManager(pulumi.CustomResource):
|
|
1183
1062
|
- - -
|
1184
1063
|
:param pulumi.Input[str] project: The ID of the project in which the resource belongs. If it
|
1185
1064
|
is not provided, the provider project is used.
|
1186
|
-
:param pulumi.Input[pulumi.InputType['InstanceGroupManagerStandbyPolicyArgs']] 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)
|
1187
1065
|
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['InstanceGroupManagerStatefulDiskArgs']]]] 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).
|
1188
1066
|
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['InstanceGroupManagerStatefulExternalIpArgs']]]] 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.
|
1189
1067
|
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['InstanceGroupManagerStatefulInternalIpArgs']]]] 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.
|
@@ -1192,8 +1070,6 @@ class InstanceGroupManager(pulumi.CustomResource):
|
|
1192
1070
|
not affect existing instances.
|
1193
1071
|
:param pulumi.Input[int] target_size: The target number of running instances for this managed instance group. This value should always be explicitly set
|
1194
1072
|
unless this resource is attached to an autoscaler, in which case it should never be set. Defaults to 0.
|
1195
|
-
:param pulumi.Input[int] target_stopped_size: The target number of stopped instances for this managed instance group.
|
1196
|
-
:param pulumi.Input[int] target_suspended_size: The target number of suspended instances for this managed instance group.
|
1197
1073
|
:param pulumi.Input[pulumi.InputType['InstanceGroupManagerUpdatePolicyArgs']] 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/v1/instanceGroupManagers/patch).
|
1198
1074
|
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['InstanceGroupManagerVersionArgs']]]] versions: Application versions managed by this instance group. Each
|
1199
1075
|
version deals with a specific instance template, allowing canary release scenarios.
|
@@ -1294,28 +1170,6 @@ class InstanceGroupManager(pulumi.CustomResource):
|
|
1294
1170
|
])
|
1295
1171
|
```
|
1296
1172
|
|
1297
|
-
### With Standby Policy (`Google-Beta` Provider)
|
1298
|
-
```python
|
1299
|
-
import pulumi
|
1300
|
-
import pulumi_gcp as gcp
|
1301
|
-
|
1302
|
-
igm_sr = gcp.compute.InstanceGroupManager("igm-sr",
|
1303
|
-
name="tf-sr-igm",
|
1304
|
-
base_instance_name="tf-sr-igm-instance",
|
1305
|
-
zone="us-central1-a",
|
1306
|
-
target_size=5,
|
1307
|
-
versions=[gcp.compute.InstanceGroupManagerVersionArgs(
|
1308
|
-
instance_template=sr_igm["selfLink"],
|
1309
|
-
name="primary",
|
1310
|
-
)],
|
1311
|
-
standby_policy=gcp.compute.InstanceGroupManagerStandbyPolicyArgs(
|
1312
|
-
initial_delay_sec=30,
|
1313
|
-
mode="MANUAL",
|
1314
|
-
),
|
1315
|
-
target_suspended_size=2,
|
1316
|
-
target_stopped_size=1)
|
1317
|
-
```
|
1318
|
-
|
1319
1173
|
## Import
|
1320
1174
|
|
1321
1175
|
Instance group managers can be imported using any of these accepted formats:
|
@@ -1371,14 +1225,11 @@ class InstanceGroupManager(pulumi.CustomResource):
|
|
1371
1225
|
named_ports: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['InstanceGroupManagerNamedPortArgs']]]]] = None,
|
1372
1226
|
params: Optional[pulumi.Input[pulumi.InputType['InstanceGroupManagerParamsArgs']]] = None,
|
1373
1227
|
project: Optional[pulumi.Input[str]] = None,
|
1374
|
-
standby_policy: Optional[pulumi.Input[pulumi.InputType['InstanceGroupManagerStandbyPolicyArgs']]] = None,
|
1375
1228
|
stateful_disks: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['InstanceGroupManagerStatefulDiskArgs']]]]] = None,
|
1376
1229
|
stateful_external_ips: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['InstanceGroupManagerStatefulExternalIpArgs']]]]] = None,
|
1377
1230
|
stateful_internal_ips: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['InstanceGroupManagerStatefulInternalIpArgs']]]]] = None,
|
1378
1231
|
target_pools: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
1379
1232
|
target_size: Optional[pulumi.Input[int]] = None,
|
1380
|
-
target_stopped_size: Optional[pulumi.Input[int]] = None,
|
1381
|
-
target_suspended_size: Optional[pulumi.Input[int]] = None,
|
1382
1233
|
update_policy: Optional[pulumi.Input[pulumi.InputType['InstanceGroupManagerUpdatePolicyArgs']]] = None,
|
1383
1234
|
versions: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['InstanceGroupManagerVersionArgs']]]]] = None,
|
1384
1235
|
wait_for_instances: Optional[pulumi.Input[bool]] = None,
|
@@ -1405,14 +1256,11 @@ class InstanceGroupManager(pulumi.CustomResource):
|
|
1405
1256
|
__props__.__dict__["named_ports"] = named_ports
|
1406
1257
|
__props__.__dict__["params"] = params
|
1407
1258
|
__props__.__dict__["project"] = project
|
1408
|
-
__props__.__dict__["standby_policy"] = standby_policy
|
1409
1259
|
__props__.__dict__["stateful_disks"] = stateful_disks
|
1410
1260
|
__props__.__dict__["stateful_external_ips"] = stateful_external_ips
|
1411
1261
|
__props__.__dict__["stateful_internal_ips"] = stateful_internal_ips
|
1412
1262
|
__props__.__dict__["target_pools"] = target_pools
|
1413
1263
|
__props__.__dict__["target_size"] = target_size
|
1414
|
-
__props__.__dict__["target_stopped_size"] = target_stopped_size
|
1415
|
-
__props__.__dict__["target_suspended_size"] = target_suspended_size
|
1416
1264
|
__props__.__dict__["update_policy"] = update_policy
|
1417
1265
|
if versions is None and not opts.urn:
|
1418
1266
|
raise TypeError("Missing required property 'versions'")
|
@@ -1451,15 +1299,12 @@ class InstanceGroupManager(pulumi.CustomResource):
|
|
1451
1299
|
params: Optional[pulumi.Input[pulumi.InputType['InstanceGroupManagerParamsArgs']]] = None,
|
1452
1300
|
project: Optional[pulumi.Input[str]] = None,
|
1453
1301
|
self_link: Optional[pulumi.Input[str]] = None,
|
1454
|
-
standby_policy: Optional[pulumi.Input[pulumi.InputType['InstanceGroupManagerStandbyPolicyArgs']]] = None,
|
1455
1302
|
stateful_disks: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['InstanceGroupManagerStatefulDiskArgs']]]]] = None,
|
1456
1303
|
stateful_external_ips: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['InstanceGroupManagerStatefulExternalIpArgs']]]]] = None,
|
1457
1304
|
stateful_internal_ips: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['InstanceGroupManagerStatefulInternalIpArgs']]]]] = None,
|
1458
1305
|
statuses: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['InstanceGroupManagerStatusArgs']]]]] = None,
|
1459
1306
|
target_pools: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
1460
1307
|
target_size: Optional[pulumi.Input[int]] = None,
|
1461
|
-
target_stopped_size: Optional[pulumi.Input[int]] = None,
|
1462
|
-
target_suspended_size: Optional[pulumi.Input[int]] = None,
|
1463
1308
|
update_policy: Optional[pulumi.Input[pulumi.InputType['InstanceGroupManagerUpdatePolicyArgs']]] = None,
|
1464
1309
|
versions: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['InstanceGroupManagerVersionArgs']]]]] = None,
|
1465
1310
|
wait_for_instances: Optional[pulumi.Input[bool]] = None,
|
@@ -1507,7 +1352,6 @@ class InstanceGroupManager(pulumi.CustomResource):
|
|
1507
1352
|
:param pulumi.Input[str] project: The ID of the project in which the resource belongs. If it
|
1508
1353
|
is not provided, the provider project is used.
|
1509
1354
|
:param pulumi.Input[str] self_link: The URL of the created resource.
|
1510
|
-
:param pulumi.Input[pulumi.InputType['InstanceGroupManagerStandbyPolicyArgs']] 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)
|
1511
1355
|
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['InstanceGroupManagerStatefulDiskArgs']]]] 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).
|
1512
1356
|
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['InstanceGroupManagerStatefulExternalIpArgs']]]] 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.
|
1513
1357
|
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['InstanceGroupManagerStatefulInternalIpArgs']]]] 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.
|
@@ -1517,8 +1361,6 @@ class InstanceGroupManager(pulumi.CustomResource):
|
|
1517
1361
|
not affect existing instances.
|
1518
1362
|
:param pulumi.Input[int] target_size: The target number of running instances for this managed instance group. This value should always be explicitly set
|
1519
1363
|
unless this resource is attached to an autoscaler, in which case it should never be set. Defaults to 0.
|
1520
|
-
:param pulumi.Input[int] target_stopped_size: The target number of stopped instances for this managed instance group.
|
1521
|
-
:param pulumi.Input[int] target_suspended_size: The target number of suspended instances for this managed instance group.
|
1522
1364
|
:param pulumi.Input[pulumi.InputType['InstanceGroupManagerUpdatePolicyArgs']] 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/v1/instanceGroupManagers/patch).
|
1523
1365
|
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['InstanceGroupManagerVersionArgs']]]] versions: Application versions managed by this instance group. Each
|
1524
1366
|
version deals with a specific instance template, allowing canary release scenarios.
|
@@ -1554,15 +1396,12 @@ class InstanceGroupManager(pulumi.CustomResource):
|
|
1554
1396
|
__props__.__dict__["params"] = params
|
1555
1397
|
__props__.__dict__["project"] = project
|
1556
1398
|
__props__.__dict__["self_link"] = self_link
|
1557
|
-
__props__.__dict__["standby_policy"] = standby_policy
|
1558
1399
|
__props__.__dict__["stateful_disks"] = stateful_disks
|
1559
1400
|
__props__.__dict__["stateful_external_ips"] = stateful_external_ips
|
1560
1401
|
__props__.__dict__["stateful_internal_ips"] = stateful_internal_ips
|
1561
1402
|
__props__.__dict__["statuses"] = statuses
|
1562
1403
|
__props__.__dict__["target_pools"] = target_pools
|
1563
1404
|
__props__.__dict__["target_size"] = target_size
|
1564
|
-
__props__.__dict__["target_stopped_size"] = target_stopped_size
|
1565
|
-
__props__.__dict__["target_suspended_size"] = target_suspended_size
|
1566
1405
|
__props__.__dict__["update_policy"] = update_policy
|
1567
1406
|
__props__.__dict__["versions"] = versions
|
1568
1407
|
__props__.__dict__["wait_for_instances"] = wait_for_instances
|
@@ -1708,14 +1547,6 @@ class InstanceGroupManager(pulumi.CustomResource):
|
|
1708
1547
|
"""
|
1709
1548
|
return pulumi.get(self, "self_link")
|
1710
1549
|
|
1711
|
-
@property
|
1712
|
-
@pulumi.getter(name="standbyPolicy")
|
1713
|
-
def standby_policy(self) -> pulumi.Output['outputs.InstanceGroupManagerStandbyPolicy']:
|
1714
|
-
"""
|
1715
|
-
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)
|
1716
|
-
"""
|
1717
|
-
return pulumi.get(self, "standby_policy")
|
1718
|
-
|
1719
1550
|
@property
|
1720
1551
|
@pulumi.getter(name="statefulDisks")
|
1721
1552
|
def stateful_disks(self) -> pulumi.Output[Optional[Sequence['outputs.InstanceGroupManagerStatefulDisk']]]:
|
@@ -1767,22 +1598,6 @@ class InstanceGroupManager(pulumi.CustomResource):
|
|
1767
1598
|
"""
|
1768
1599
|
return pulumi.get(self, "target_size")
|
1769
1600
|
|
1770
|
-
@property
|
1771
|
-
@pulumi.getter(name="targetStoppedSize")
|
1772
|
-
def target_stopped_size(self) -> pulumi.Output[int]:
|
1773
|
-
"""
|
1774
|
-
The target number of stopped instances for this managed instance group.
|
1775
|
-
"""
|
1776
|
-
return pulumi.get(self, "target_stopped_size")
|
1777
|
-
|
1778
|
-
@property
|
1779
|
-
@pulumi.getter(name="targetSuspendedSize")
|
1780
|
-
def target_suspended_size(self) -> pulumi.Output[int]:
|
1781
|
-
"""
|
1782
|
-
The target number of suspended instances for this managed instance group.
|
1783
|
-
"""
|
1784
|
-
return pulumi.get(self, "target_suspended_size")
|
1785
|
-
|
1786
1601
|
@property
|
1787
1602
|
@pulumi.getter(name="updatePolicy")
|
1788
1603
|
def update_policy(self) -> pulumi.Output['outputs.InstanceGroupManagerUpdatePolicy']:
|