pulumi-gcp 8.36.0a1751060819__py3-none-any.whl → 8.37.0a1751903932__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 +24 -0
- pulumi_gcp/apihub/__init__.py +1 -0
- pulumi_gcp/apihub/_inputs.py +675 -0
- pulumi_gcp/apihub/outputs.py +567 -0
- pulumi_gcp/apihub/plugin.py +1146 -0
- pulumi_gcp/bigqueryanalyticshub/data_exchange.py +7 -7
- pulumi_gcp/bigqueryanalyticshub/listing.py +7 -7
- pulumi_gcp/cloudidentity/group_membership.py +47 -0
- pulumi_gcp/cloudidentity/outputs.py +11 -0
- pulumi_gcp/cloudrunv2/_inputs.py +65 -9
- pulumi_gcp/cloudrunv2/job.py +44 -0
- pulumi_gcp/cloudrunv2/outputs.py +73 -8
- pulumi_gcp/cloudrunv2/service.py +0 -2
- pulumi_gcp/cloudrunv2/worker_pool.py +18 -20
- pulumi_gcp/compute/__init__.py +1 -0
- pulumi_gcp/compute/_inputs.py +763 -6
- pulumi_gcp/compute/disk.py +35 -28
- pulumi_gcp/compute/firewall_policy_rule.py +207 -0
- pulumi_gcp/compute/get_instance_group_manager.py +12 -1
- pulumi_gcp/compute/get_region_disk.py +12 -1
- pulumi_gcp/compute/instance_group_manager.py +165 -14
- pulumi_gcp/compute/network.py +56 -0
- pulumi_gcp/compute/network_firewall_policy.py +68 -0
- pulumi_gcp/compute/network_firewall_policy_with_rules.py +61 -0
- pulumi_gcp/compute/outputs.py +604 -4
- pulumi_gcp/compute/region_disk.py +114 -0
- pulumi_gcp/compute/region_network_firewall_policy.py +90 -0
- pulumi_gcp/compute/region_network_firewall_policy_with_rules.py +109 -0
- pulumi_gcp/compute/wire_group.py +751 -0
- pulumi_gcp/container/_inputs.py +135 -16
- pulumi_gcp/container/cluster.py +54 -0
- pulumi_gcp/container/get_cluster.py +12 -1
- pulumi_gcp/container/node_pool.py +14 -0
- pulumi_gcp/container/outputs.py +222 -12
- pulumi_gcp/diagflow/__init__.py +1 -0
- pulumi_gcp/diagflow/_inputs.py +431 -0
- pulumi_gcp/diagflow/cx_generative_settings.py +625 -0
- pulumi_gcp/diagflow/outputs.py +370 -0
- pulumi_gcp/dns/record_set.py +4 -2
- pulumi_gcp/firestore/database.py +0 -9
- pulumi_gcp/iam/_inputs.py +36 -0
- pulumi_gcp/iam/outputs.py +38 -0
- pulumi_gcp/iam/workload_identity_pool_managed_identity.py +88 -2
- pulumi_gcp/kms/autokey_config.py +28 -0
- pulumi_gcp/kms/get_autokey_config.py +12 -1
- pulumi_gcp/memorystore/get_instance.py +12 -1
- pulumi_gcp/memorystore/instance.py +49 -0
- pulumi_gcp/monitoring/metric_descriptor.py +55 -57
- pulumi_gcp/notebooks/instance.py +8 -8
- pulumi_gcp/pulumi-plugin.json +1 -1
- pulumi_gcp/redis/get_instance.py +12 -1
- pulumi_gcp/redis/instance.py +44 -0
- pulumi_gcp/secretmanager/get_regional_secret.py +12 -1
- pulumi_gcp/secretmanager/outputs.py +7 -0
- pulumi_gcp/secretmanager/regional_secret.py +38 -2
- pulumi_gcp/spanner/_inputs.py +24 -1
- pulumi_gcp/spanner/outputs.py +17 -1
- pulumi_gcp/storage/_inputs.py +43 -3
- pulumi_gcp/storage/outputs.py +53 -3
- pulumi_gcp/workbench/instance.py +2 -0
- {pulumi_gcp-8.36.0a1751060819.dist-info → pulumi_gcp-8.37.0a1751903932.dist-info}/METADATA +1 -1
- {pulumi_gcp-8.36.0a1751060819.dist-info → pulumi_gcp-8.37.0a1751903932.dist-info}/RECORD +64 -61
- {pulumi_gcp-8.36.0a1751060819.dist-info → pulumi_gcp-8.37.0a1751903932.dist-info}/WHEEL +0 -0
- {pulumi_gcp-8.36.0a1751060819.dist-info → pulumi_gcp-8.37.0a1751903932.dist-info}/top_level.txt +0 -0
@@ -33,6 +33,7 @@ class InstanceGroupManagerArgs:
|
|
33
33
|
named_ports: Optional[pulumi.Input[Sequence[pulumi.Input['InstanceGroupManagerNamedPortArgs']]]] = None,
|
34
34
|
params: Optional[pulumi.Input['InstanceGroupManagerParamsArgs']] = None,
|
35
35
|
project: Optional[pulumi.Input[builtins.str]] = None,
|
36
|
+
resource_policies: Optional[pulumi.Input['InstanceGroupManagerResourcePoliciesArgs']] = None,
|
36
37
|
standby_policy: Optional[pulumi.Input['InstanceGroupManagerStandbyPolicyArgs']] = None,
|
37
38
|
stateful_disks: Optional[pulumi.Input[Sequence[pulumi.Input['InstanceGroupManagerStatefulDiskArgs']]]] = None,
|
38
39
|
stateful_external_ips: Optional[pulumi.Input[Sequence[pulumi.Input['InstanceGroupManagerStatefulExternalIpArgs']]]] = None,
|
@@ -77,10 +78,11 @@ class InstanceGroupManagerArgs:
|
|
77
78
|
:param pulumi.Input[Sequence[pulumi.Input['InstanceGroupManagerNamedPortArgs']]] named_ports: The named port configuration. See the section below
|
78
79
|
for details on configuration.
|
79
80
|
:param pulumi.Input['InstanceGroupManagerParamsArgs'] params: Input only additional params for instance group manager creation. Structure is documented below. For more information, see [API](https://cloud.google.com/compute/docs/reference/rest/beta/instanceGroupManagers/insert).
|
80
|
-
|
81
|
-
- - -
|
82
81
|
:param pulumi.Input[builtins.str] project: The ID of the project in which the resource belongs. If it
|
83
82
|
is not provided, the provider project is used.
|
83
|
+
:param pulumi.Input['InstanceGroupManagerResourcePoliciesArgs'] resource_policies: Resource policies for this managed instance group. Structure is documented below.
|
84
|
+
|
85
|
+
- - -
|
84
86
|
: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).
|
85
87
|
: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).
|
86
88
|
: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.
|
@@ -125,6 +127,8 @@ class InstanceGroupManagerArgs:
|
|
125
127
|
pulumi.set(__self__, "params", params)
|
126
128
|
if project is not None:
|
127
129
|
pulumi.set(__self__, "project", project)
|
130
|
+
if resource_policies is not None:
|
131
|
+
pulumi.set(__self__, "resource_policies", resource_policies)
|
128
132
|
if standby_policy is not None:
|
129
133
|
pulumi.set(__self__, "standby_policy", standby_policy)
|
130
134
|
if stateful_disks is not None:
|
@@ -283,8 +287,6 @@ class InstanceGroupManagerArgs:
|
|
283
287
|
def params(self) -> Optional[pulumi.Input['InstanceGroupManagerParamsArgs']]:
|
284
288
|
"""
|
285
289
|
Input only additional params for instance group manager creation. Structure is documented below. For more information, see [API](https://cloud.google.com/compute/docs/reference/rest/beta/instanceGroupManagers/insert).
|
286
|
-
|
287
|
-
- - -
|
288
290
|
"""
|
289
291
|
return pulumi.get(self, "params")
|
290
292
|
|
@@ -305,6 +307,20 @@ class InstanceGroupManagerArgs:
|
|
305
307
|
def project(self, value: Optional[pulumi.Input[builtins.str]]):
|
306
308
|
pulumi.set(self, "project", value)
|
307
309
|
|
310
|
+
@property
|
311
|
+
@pulumi.getter(name="resourcePolicies")
|
312
|
+
def resource_policies(self) -> Optional[pulumi.Input['InstanceGroupManagerResourcePoliciesArgs']]:
|
313
|
+
"""
|
314
|
+
Resource policies for this managed instance group. Structure is documented below.
|
315
|
+
|
316
|
+
- - -
|
317
|
+
"""
|
318
|
+
return pulumi.get(self, "resource_policies")
|
319
|
+
|
320
|
+
@resource_policies.setter
|
321
|
+
def resource_policies(self, value: Optional[pulumi.Input['InstanceGroupManagerResourcePoliciesArgs']]):
|
322
|
+
pulumi.set(self, "resource_policies", value)
|
323
|
+
|
308
324
|
@property
|
309
325
|
@pulumi.getter(name="standbyPolicy")
|
310
326
|
def standby_policy(self) -> Optional[pulumi.Input['InstanceGroupManagerStandbyPolicyArgs']]:
|
@@ -479,6 +495,7 @@ class _InstanceGroupManagerState:
|
|
479
495
|
operation: Optional[pulumi.Input[builtins.str]] = None,
|
480
496
|
params: Optional[pulumi.Input['InstanceGroupManagerParamsArgs']] = None,
|
481
497
|
project: Optional[pulumi.Input[builtins.str]] = None,
|
498
|
+
resource_policies: Optional[pulumi.Input['InstanceGroupManagerResourcePoliciesArgs']] = None,
|
482
499
|
self_link: Optional[pulumi.Input[builtins.str]] = None,
|
483
500
|
standby_policy: Optional[pulumi.Input['InstanceGroupManagerStandbyPolicyArgs']] = None,
|
484
501
|
stateful_disks: Optional[pulumi.Input[Sequence[pulumi.Input['InstanceGroupManagerStatefulDiskArgs']]]] = None,
|
@@ -527,10 +544,11 @@ class _InstanceGroupManagerState:
|
|
527
544
|
:param pulumi.Input[Sequence[pulumi.Input['InstanceGroupManagerNamedPortArgs']]] named_ports: The named port configuration. See the section below
|
528
545
|
for details on configuration.
|
529
546
|
:param pulumi.Input['InstanceGroupManagerParamsArgs'] params: Input only additional params for instance group manager creation. Structure is documented below. For more information, see [API](https://cloud.google.com/compute/docs/reference/rest/beta/instanceGroupManagers/insert).
|
530
|
-
|
531
|
-
- - -
|
532
547
|
:param pulumi.Input[builtins.str] project: The ID of the project in which the resource belongs. If it
|
533
548
|
is not provided, the provider project is used.
|
549
|
+
:param pulumi.Input['InstanceGroupManagerResourcePoliciesArgs'] resource_policies: Resource policies for this managed instance group. Structure is documented below.
|
550
|
+
|
551
|
+
- - -
|
534
552
|
:param pulumi.Input[builtins.str] self_link: The URL of the created resource.
|
535
553
|
: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).
|
536
554
|
: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).
|
@@ -590,6 +608,8 @@ class _InstanceGroupManagerState:
|
|
590
608
|
pulumi.set(__self__, "params", params)
|
591
609
|
if project is not None:
|
592
610
|
pulumi.set(__self__, "project", project)
|
611
|
+
if resource_policies is not None:
|
612
|
+
pulumi.set(__self__, "resource_policies", resource_policies)
|
593
613
|
if self_link is not None:
|
594
614
|
pulumi.set(__self__, "self_link", self_link)
|
595
615
|
if standby_policy is not None:
|
@@ -797,8 +817,6 @@ class _InstanceGroupManagerState:
|
|
797
817
|
def params(self) -> Optional[pulumi.Input['InstanceGroupManagerParamsArgs']]:
|
798
818
|
"""
|
799
819
|
Input only additional params for instance group manager creation. Structure is documented below. For more information, see [API](https://cloud.google.com/compute/docs/reference/rest/beta/instanceGroupManagers/insert).
|
800
|
-
|
801
|
-
- - -
|
802
820
|
"""
|
803
821
|
return pulumi.get(self, "params")
|
804
822
|
|
@@ -819,6 +837,20 @@ class _InstanceGroupManagerState:
|
|
819
837
|
def project(self, value: Optional[pulumi.Input[builtins.str]]):
|
820
838
|
pulumi.set(self, "project", value)
|
821
839
|
|
840
|
+
@property
|
841
|
+
@pulumi.getter(name="resourcePolicies")
|
842
|
+
def resource_policies(self) -> Optional[pulumi.Input['InstanceGroupManagerResourcePoliciesArgs']]:
|
843
|
+
"""
|
844
|
+
Resource policies for this managed instance group. Structure is documented below.
|
845
|
+
|
846
|
+
- - -
|
847
|
+
"""
|
848
|
+
return pulumi.get(self, "resource_policies")
|
849
|
+
|
850
|
+
@resource_policies.setter
|
851
|
+
def resource_policies(self, value: Optional[pulumi.Input['InstanceGroupManagerResourcePoliciesArgs']]):
|
852
|
+
pulumi.set(self, "resource_policies", value)
|
853
|
+
|
822
854
|
@property
|
823
855
|
@pulumi.getter(name="selfLink")
|
824
856
|
def self_link(self) -> Optional[pulumi.Input[builtins.str]]:
|
@@ -1029,6 +1061,7 @@ class InstanceGroupManager(pulumi.CustomResource):
|
|
1029
1061
|
named_ports: Optional[pulumi.Input[Sequence[pulumi.Input[Union['InstanceGroupManagerNamedPortArgs', 'InstanceGroupManagerNamedPortArgsDict']]]]] = None,
|
1030
1062
|
params: Optional[pulumi.Input[Union['InstanceGroupManagerParamsArgs', 'InstanceGroupManagerParamsArgsDict']]] = None,
|
1031
1063
|
project: Optional[pulumi.Input[builtins.str]] = None,
|
1064
|
+
resource_policies: Optional[pulumi.Input[Union['InstanceGroupManagerResourcePoliciesArgs', 'InstanceGroupManagerResourcePoliciesArgsDict']]] = None,
|
1032
1065
|
standby_policy: Optional[pulumi.Input[Union['InstanceGroupManagerStandbyPolicyArgs', 'InstanceGroupManagerStandbyPolicyArgsDict']]] = None,
|
1033
1066
|
stateful_disks: Optional[pulumi.Input[Sequence[pulumi.Input[Union['InstanceGroupManagerStatefulDiskArgs', 'InstanceGroupManagerStatefulDiskArgsDict']]]]] = None,
|
1034
1067
|
stateful_external_ips: Optional[pulumi.Input[Sequence[pulumi.Input[Union['InstanceGroupManagerStatefulExternalIpArgs', 'InstanceGroupManagerStatefulExternalIpArgsDict']]]]] = None,
|
@@ -1143,6 +1176,58 @@ class InstanceGroupManager(pulumi.CustomResource):
|
|
1143
1176
|
target_stopped_size=1)
|
1144
1177
|
```
|
1145
1178
|
|
1179
|
+
### With Resource Policies (`Google` Provider)
|
1180
|
+
```python
|
1181
|
+
import pulumi
|
1182
|
+
import pulumi_gcp as gcp
|
1183
|
+
|
1184
|
+
my_image = gcp.compute.get_image(family="debian-11",
|
1185
|
+
project="debian-cloud")
|
1186
|
+
workload_policy = gcp.compute.ResourcePolicy("workload_policy",
|
1187
|
+
name="tf-test-gce-policy",
|
1188
|
+
region="us-central1",
|
1189
|
+
workload_policy={
|
1190
|
+
"type": "HIGH_THROUGHPUT",
|
1191
|
+
})
|
1192
|
+
igm_basic = gcp.compute.InstanceTemplate("igm-basic",
|
1193
|
+
name="igm-instance-template",
|
1194
|
+
machine_type="a4-highgpu-8g",
|
1195
|
+
can_ip_forward=False,
|
1196
|
+
tags=[
|
1197
|
+
"foo",
|
1198
|
+
"bar",
|
1199
|
+
],
|
1200
|
+
disks=[{
|
1201
|
+
"source_image": my_image.self_link,
|
1202
|
+
"auto_delete": True,
|
1203
|
+
"boot": True,
|
1204
|
+
"disk_type": "hyperdisk-balanced",
|
1205
|
+
}],
|
1206
|
+
network_interfaces=[{
|
1207
|
+
"network": "default",
|
1208
|
+
}],
|
1209
|
+
service_account={
|
1210
|
+
"scopes": [
|
1211
|
+
"userinfo-email",
|
1212
|
+
"compute-ro",
|
1213
|
+
"storage-ro",
|
1214
|
+
],
|
1215
|
+
})
|
1216
|
+
igm_workload_policy = gcp.compute.InstanceGroupManager("igm-workload-policy",
|
1217
|
+
description="Terraform test instance group manager",
|
1218
|
+
name="igm-basic-workload-policy",
|
1219
|
+
versions=[{
|
1220
|
+
"name": "prod",
|
1221
|
+
"instance_template": igm_basic.self_link,
|
1222
|
+
}],
|
1223
|
+
base_instance_name="tf-test-igm-no-tp",
|
1224
|
+
zone="us-central1-b",
|
1225
|
+
target_size=0,
|
1226
|
+
resource_policies={
|
1227
|
+
"workload_policy": workload_policy.self_link,
|
1228
|
+
})
|
1229
|
+
```
|
1230
|
+
|
1146
1231
|
## Import
|
1147
1232
|
|
1148
1233
|
Instance group managers can be imported using any of these accepted formats:
|
@@ -1202,10 +1287,11 @@ class InstanceGroupManager(pulumi.CustomResource):
|
|
1202
1287
|
:param pulumi.Input[Sequence[pulumi.Input[Union['InstanceGroupManagerNamedPortArgs', 'InstanceGroupManagerNamedPortArgsDict']]]] named_ports: The named port configuration. See the section below
|
1203
1288
|
for details on configuration.
|
1204
1289
|
:param pulumi.Input[Union['InstanceGroupManagerParamsArgs', 'InstanceGroupManagerParamsArgsDict']] params: Input only additional params for instance group manager creation. Structure is documented below. For more information, see [API](https://cloud.google.com/compute/docs/reference/rest/beta/instanceGroupManagers/insert).
|
1205
|
-
|
1206
|
-
- - -
|
1207
1290
|
:param pulumi.Input[builtins.str] project: The ID of the project in which the resource belongs. If it
|
1208
1291
|
is not provided, the provider project is used.
|
1292
|
+
:param pulumi.Input[Union['InstanceGroupManagerResourcePoliciesArgs', 'InstanceGroupManagerResourcePoliciesArgsDict']] resource_policies: Resource policies for this managed instance group. Structure is documented below.
|
1293
|
+
|
1294
|
+
- - -
|
1209
1295
|
:param pulumi.Input[Union['InstanceGroupManagerStandbyPolicyArgs', 'InstanceGroupManagerStandbyPolicyArgsDict']] 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).
|
1210
1296
|
:param pulumi.Input[Sequence[pulumi.Input[Union['InstanceGroupManagerStatefulDiskArgs', 'InstanceGroupManagerStatefulDiskArgsDict']]]] 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).
|
1211
1297
|
:param pulumi.Input[Sequence[pulumi.Input[Union['InstanceGroupManagerStatefulExternalIpArgs', 'InstanceGroupManagerStatefulExternalIpArgsDict']]]] 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.
|
@@ -1339,6 +1425,58 @@ class InstanceGroupManager(pulumi.CustomResource):
|
|
1339
1425
|
target_stopped_size=1)
|
1340
1426
|
```
|
1341
1427
|
|
1428
|
+
### With Resource Policies (`Google` Provider)
|
1429
|
+
```python
|
1430
|
+
import pulumi
|
1431
|
+
import pulumi_gcp as gcp
|
1432
|
+
|
1433
|
+
my_image = gcp.compute.get_image(family="debian-11",
|
1434
|
+
project="debian-cloud")
|
1435
|
+
workload_policy = gcp.compute.ResourcePolicy("workload_policy",
|
1436
|
+
name="tf-test-gce-policy",
|
1437
|
+
region="us-central1",
|
1438
|
+
workload_policy={
|
1439
|
+
"type": "HIGH_THROUGHPUT",
|
1440
|
+
})
|
1441
|
+
igm_basic = gcp.compute.InstanceTemplate("igm-basic",
|
1442
|
+
name="igm-instance-template",
|
1443
|
+
machine_type="a4-highgpu-8g",
|
1444
|
+
can_ip_forward=False,
|
1445
|
+
tags=[
|
1446
|
+
"foo",
|
1447
|
+
"bar",
|
1448
|
+
],
|
1449
|
+
disks=[{
|
1450
|
+
"source_image": my_image.self_link,
|
1451
|
+
"auto_delete": True,
|
1452
|
+
"boot": True,
|
1453
|
+
"disk_type": "hyperdisk-balanced",
|
1454
|
+
}],
|
1455
|
+
network_interfaces=[{
|
1456
|
+
"network": "default",
|
1457
|
+
}],
|
1458
|
+
service_account={
|
1459
|
+
"scopes": [
|
1460
|
+
"userinfo-email",
|
1461
|
+
"compute-ro",
|
1462
|
+
"storage-ro",
|
1463
|
+
],
|
1464
|
+
})
|
1465
|
+
igm_workload_policy = gcp.compute.InstanceGroupManager("igm-workload-policy",
|
1466
|
+
description="Terraform test instance group manager",
|
1467
|
+
name="igm-basic-workload-policy",
|
1468
|
+
versions=[{
|
1469
|
+
"name": "prod",
|
1470
|
+
"instance_template": igm_basic.self_link,
|
1471
|
+
}],
|
1472
|
+
base_instance_name="tf-test-igm-no-tp",
|
1473
|
+
zone="us-central1-b",
|
1474
|
+
target_size=0,
|
1475
|
+
resource_policies={
|
1476
|
+
"workload_policy": workload_policy.self_link,
|
1477
|
+
})
|
1478
|
+
```
|
1479
|
+
|
1342
1480
|
## Import
|
1343
1481
|
|
1344
1482
|
Instance group managers can be imported using any of these accepted formats:
|
@@ -1394,6 +1532,7 @@ class InstanceGroupManager(pulumi.CustomResource):
|
|
1394
1532
|
named_ports: Optional[pulumi.Input[Sequence[pulumi.Input[Union['InstanceGroupManagerNamedPortArgs', 'InstanceGroupManagerNamedPortArgsDict']]]]] = None,
|
1395
1533
|
params: Optional[pulumi.Input[Union['InstanceGroupManagerParamsArgs', 'InstanceGroupManagerParamsArgsDict']]] = None,
|
1396
1534
|
project: Optional[pulumi.Input[builtins.str]] = None,
|
1535
|
+
resource_policies: Optional[pulumi.Input[Union['InstanceGroupManagerResourcePoliciesArgs', 'InstanceGroupManagerResourcePoliciesArgsDict']]] = None,
|
1397
1536
|
standby_policy: Optional[pulumi.Input[Union['InstanceGroupManagerStandbyPolicyArgs', 'InstanceGroupManagerStandbyPolicyArgsDict']]] = None,
|
1398
1537
|
stateful_disks: Optional[pulumi.Input[Sequence[pulumi.Input[Union['InstanceGroupManagerStatefulDiskArgs', 'InstanceGroupManagerStatefulDiskArgsDict']]]]] = None,
|
1399
1538
|
stateful_external_ips: Optional[pulumi.Input[Sequence[pulumi.Input[Union['InstanceGroupManagerStatefulExternalIpArgs', 'InstanceGroupManagerStatefulExternalIpArgsDict']]]]] = None,
|
@@ -1428,6 +1567,7 @@ class InstanceGroupManager(pulumi.CustomResource):
|
|
1428
1567
|
__props__.__dict__["named_ports"] = named_ports
|
1429
1568
|
__props__.__dict__["params"] = params
|
1430
1569
|
__props__.__dict__["project"] = project
|
1570
|
+
__props__.__dict__["resource_policies"] = resource_policies
|
1431
1571
|
__props__.__dict__["standby_policy"] = standby_policy
|
1432
1572
|
__props__.__dict__["stateful_disks"] = stateful_disks
|
1433
1573
|
__props__.__dict__["stateful_external_ips"] = stateful_external_ips
|
@@ -1475,6 +1615,7 @@ class InstanceGroupManager(pulumi.CustomResource):
|
|
1475
1615
|
operation: Optional[pulumi.Input[builtins.str]] = None,
|
1476
1616
|
params: Optional[pulumi.Input[Union['InstanceGroupManagerParamsArgs', 'InstanceGroupManagerParamsArgsDict']]] = None,
|
1477
1617
|
project: Optional[pulumi.Input[builtins.str]] = None,
|
1618
|
+
resource_policies: Optional[pulumi.Input[Union['InstanceGroupManagerResourcePoliciesArgs', 'InstanceGroupManagerResourcePoliciesArgsDict']]] = None,
|
1478
1619
|
self_link: Optional[pulumi.Input[builtins.str]] = None,
|
1479
1620
|
standby_policy: Optional[pulumi.Input[Union['InstanceGroupManagerStandbyPolicyArgs', 'InstanceGroupManagerStandbyPolicyArgsDict']]] = None,
|
1480
1621
|
stateful_disks: Optional[pulumi.Input[Sequence[pulumi.Input[Union['InstanceGroupManagerStatefulDiskArgs', 'InstanceGroupManagerStatefulDiskArgsDict']]]]] = None,
|
@@ -1528,10 +1669,11 @@ class InstanceGroupManager(pulumi.CustomResource):
|
|
1528
1669
|
:param pulumi.Input[Sequence[pulumi.Input[Union['InstanceGroupManagerNamedPortArgs', 'InstanceGroupManagerNamedPortArgsDict']]]] named_ports: The named port configuration. See the section below
|
1529
1670
|
for details on configuration.
|
1530
1671
|
:param pulumi.Input[Union['InstanceGroupManagerParamsArgs', 'InstanceGroupManagerParamsArgsDict']] params: Input only additional params for instance group manager creation. Structure is documented below. For more information, see [API](https://cloud.google.com/compute/docs/reference/rest/beta/instanceGroupManagers/insert).
|
1531
|
-
|
1532
|
-
- - -
|
1533
1672
|
:param pulumi.Input[builtins.str] project: The ID of the project in which the resource belongs. If it
|
1534
1673
|
is not provided, the provider project is used.
|
1674
|
+
:param pulumi.Input[Union['InstanceGroupManagerResourcePoliciesArgs', 'InstanceGroupManagerResourcePoliciesArgsDict']] resource_policies: Resource policies for this managed instance group. Structure is documented below.
|
1675
|
+
|
1676
|
+
- - -
|
1535
1677
|
:param pulumi.Input[builtins.str] self_link: The URL of the created resource.
|
1536
1678
|
:param pulumi.Input[Union['InstanceGroupManagerStandbyPolicyArgs', 'InstanceGroupManagerStandbyPolicyArgsDict']] 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).
|
1537
1679
|
:param pulumi.Input[Sequence[pulumi.Input[Union['InstanceGroupManagerStatefulDiskArgs', 'InstanceGroupManagerStatefulDiskArgsDict']]]] 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).
|
@@ -1580,6 +1722,7 @@ class InstanceGroupManager(pulumi.CustomResource):
|
|
1580
1722
|
__props__.__dict__["operation"] = operation
|
1581
1723
|
__props__.__dict__["params"] = params
|
1582
1724
|
__props__.__dict__["project"] = project
|
1725
|
+
__props__.__dict__["resource_policies"] = resource_policies
|
1583
1726
|
__props__.__dict__["self_link"] = self_link
|
1584
1727
|
__props__.__dict__["standby_policy"] = standby_policy
|
1585
1728
|
__props__.__dict__["stateful_disks"] = stateful_disks
|
@@ -1721,8 +1864,6 @@ class InstanceGroupManager(pulumi.CustomResource):
|
|
1721
1864
|
def params(self) -> pulumi.Output[Optional['outputs.InstanceGroupManagerParams']]:
|
1722
1865
|
"""
|
1723
1866
|
Input only additional params for instance group manager creation. Structure is documented below. For more information, see [API](https://cloud.google.com/compute/docs/reference/rest/beta/instanceGroupManagers/insert).
|
1724
|
-
|
1725
|
-
- - -
|
1726
1867
|
"""
|
1727
1868
|
return pulumi.get(self, "params")
|
1728
1869
|
|
@@ -1735,6 +1876,16 @@ class InstanceGroupManager(pulumi.CustomResource):
|
|
1735
1876
|
"""
|
1736
1877
|
return pulumi.get(self, "project")
|
1737
1878
|
|
1879
|
+
@property
|
1880
|
+
@pulumi.getter(name="resourcePolicies")
|
1881
|
+
def resource_policies(self) -> pulumi.Output[Optional['outputs.InstanceGroupManagerResourcePolicies']]:
|
1882
|
+
"""
|
1883
|
+
Resource policies for this managed instance group. Structure is documented below.
|
1884
|
+
|
1885
|
+
- - -
|
1886
|
+
"""
|
1887
|
+
return pulumi.get(self, "resource_policies")
|
1888
|
+
|
1738
1889
|
@property
|
1739
1890
|
@pulumi.getter(name="selfLink")
|
1740
1891
|
def self_link(self) -> pulumi.Output[builtins.str]:
|
pulumi_gcp/compute/network.py
CHANGED
@@ -14,6 +14,8 @@ if sys.version_info >= (3, 11):
|
|
14
14
|
else:
|
15
15
|
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
16
16
|
from .. import _utilities
|
17
|
+
from . import outputs
|
18
|
+
from ._inputs import *
|
17
19
|
|
18
20
|
__all__ = ['NetworkArgs', 'Network']
|
19
21
|
|
@@ -32,6 +34,7 @@ class NetworkArgs:
|
|
32
34
|
name: Optional[pulumi.Input[builtins.str]] = None,
|
33
35
|
network_firewall_policy_enforcement_order: Optional[pulumi.Input[builtins.str]] = None,
|
34
36
|
network_profile: Optional[pulumi.Input[builtins.str]] = None,
|
37
|
+
params: Optional[pulumi.Input['NetworkParamsArgs']] = None,
|
35
38
|
project: Optional[pulumi.Input[builtins.str]] = None,
|
36
39
|
routing_mode: Optional[pulumi.Input[builtins.str]] = None):
|
37
40
|
"""
|
@@ -81,6 +84,8 @@ class NetworkArgs:
|
|
81
84
|
following are valid URLs:
|
82
85
|
* https://www.googleapis.com/compute/v1/projects/{projectId}/global/networkProfiles/{network_profile_name}
|
83
86
|
* projects/{projectId}/global/networkProfiles/{network_profile_name}
|
87
|
+
:param pulumi.Input['NetworkParamsArgs'] params: Additional params passed with the request, but not persisted as part of resource payload
|
88
|
+
Structure is documented below.
|
84
89
|
:param pulumi.Input[builtins.str] project: The ID of the project in which the resource belongs.
|
85
90
|
If it is not provided, the provider project is used.
|
86
91
|
:param pulumi.Input[builtins.str] routing_mode: The network-wide routing mode to use. If set to `REGIONAL`, this
|
@@ -114,6 +119,8 @@ class NetworkArgs:
|
|
114
119
|
pulumi.set(__self__, "network_firewall_policy_enforcement_order", network_firewall_policy_enforcement_order)
|
115
120
|
if network_profile is not None:
|
116
121
|
pulumi.set(__self__, "network_profile", network_profile)
|
122
|
+
if params is not None:
|
123
|
+
pulumi.set(__self__, "params", params)
|
117
124
|
if project is not None:
|
118
125
|
pulumi.set(__self__, "project", project)
|
119
126
|
if routing_mode is not None:
|
@@ -296,6 +303,19 @@ class NetworkArgs:
|
|
296
303
|
def network_profile(self, value: Optional[pulumi.Input[builtins.str]]):
|
297
304
|
pulumi.set(self, "network_profile", value)
|
298
305
|
|
306
|
+
@property
|
307
|
+
@pulumi.getter
|
308
|
+
def params(self) -> Optional[pulumi.Input['NetworkParamsArgs']]:
|
309
|
+
"""
|
310
|
+
Additional params passed with the request, but not persisted as part of resource payload
|
311
|
+
Structure is documented below.
|
312
|
+
"""
|
313
|
+
return pulumi.get(self, "params")
|
314
|
+
|
315
|
+
@params.setter
|
316
|
+
def params(self, value: Optional[pulumi.Input['NetworkParamsArgs']]):
|
317
|
+
pulumi.set(self, "params", value)
|
318
|
+
|
299
319
|
@property
|
300
320
|
@pulumi.getter
|
301
321
|
def project(self) -> Optional[pulumi.Input[builtins.str]]:
|
@@ -345,6 +365,7 @@ class _NetworkState:
|
|
345
365
|
network_id: Optional[pulumi.Input[builtins.str]] = None,
|
346
366
|
network_profile: Optional[pulumi.Input[builtins.str]] = None,
|
347
367
|
numeric_id: Optional[pulumi.Input[builtins.str]] = None,
|
368
|
+
params: Optional[pulumi.Input['NetworkParamsArgs']] = None,
|
348
369
|
project: Optional[pulumi.Input[builtins.str]] = None,
|
349
370
|
routing_mode: Optional[pulumi.Input[builtins.str]] = None,
|
350
371
|
self_link: Optional[pulumi.Input[builtins.str]] = None):
|
@@ -400,6 +421,8 @@ class _NetworkState:
|
|
400
421
|
* projects/{projectId}/global/networkProfiles/{network_profile_name}
|
401
422
|
:param pulumi.Input[builtins.str] numeric_id: (Deprecated)
|
402
423
|
The unique identifier for the resource. This identifier is defined by the server.
|
424
|
+
:param pulumi.Input['NetworkParamsArgs'] params: Additional params passed with the request, but not persisted as part of resource payload
|
425
|
+
Structure is documented below.
|
403
426
|
:param pulumi.Input[builtins.str] project: The ID of the project in which the resource belongs.
|
404
427
|
If it is not provided, the provider project is used.
|
405
428
|
:param pulumi.Input[builtins.str] routing_mode: The network-wide routing mode to use. If set to `REGIONAL`, this
|
@@ -443,6 +466,8 @@ class _NetworkState:
|
|
443
466
|
pulumi.log.warn("""numeric_id is deprecated: `numeric_id` is deprecated and will be removed in a future major release. Use `network_id` instead.""")
|
444
467
|
if numeric_id is not None:
|
445
468
|
pulumi.set(__self__, "numeric_id", numeric_id)
|
469
|
+
if params is not None:
|
470
|
+
pulumi.set(__self__, "params", params)
|
446
471
|
if project is not None:
|
447
472
|
pulumi.set(__self__, "project", project)
|
448
473
|
if routing_mode is not None:
|
@@ -666,6 +691,19 @@ class _NetworkState:
|
|
666
691
|
def numeric_id(self, value: Optional[pulumi.Input[builtins.str]]):
|
667
692
|
pulumi.set(self, "numeric_id", value)
|
668
693
|
|
694
|
+
@property
|
695
|
+
@pulumi.getter
|
696
|
+
def params(self) -> Optional[pulumi.Input['NetworkParamsArgs']]:
|
697
|
+
"""
|
698
|
+
Additional params passed with the request, but not persisted as part of resource payload
|
699
|
+
Structure is documented below.
|
700
|
+
"""
|
701
|
+
return pulumi.get(self, "params")
|
702
|
+
|
703
|
+
@params.setter
|
704
|
+
def params(self, value: Optional[pulumi.Input['NetworkParamsArgs']]):
|
705
|
+
pulumi.set(self, "params", value)
|
706
|
+
|
669
707
|
@property
|
670
708
|
@pulumi.getter
|
671
709
|
def project(self) -> Optional[pulumi.Input[builtins.str]]:
|
@@ -727,6 +765,7 @@ class Network(pulumi.CustomResource):
|
|
727
765
|
name: Optional[pulumi.Input[builtins.str]] = None,
|
728
766
|
network_firewall_policy_enforcement_order: Optional[pulumi.Input[builtins.str]] = None,
|
729
767
|
network_profile: Optional[pulumi.Input[builtins.str]] = None,
|
768
|
+
params: Optional[pulumi.Input[Union['NetworkParamsArgs', 'NetworkParamsArgsDict']]] = None,
|
730
769
|
project: Optional[pulumi.Input[builtins.str]] = None,
|
731
770
|
routing_mode: Optional[pulumi.Input[builtins.str]] = None,
|
732
771
|
__props__=None):
|
@@ -882,6 +921,8 @@ class Network(pulumi.CustomResource):
|
|
882
921
|
following are valid URLs:
|
883
922
|
* https://www.googleapis.com/compute/v1/projects/{projectId}/global/networkProfiles/{network_profile_name}
|
884
923
|
* projects/{projectId}/global/networkProfiles/{network_profile_name}
|
924
|
+
:param pulumi.Input[Union['NetworkParamsArgs', 'NetworkParamsArgsDict']] params: Additional params passed with the request, but not persisted as part of resource payload
|
925
|
+
Structure is documented below.
|
885
926
|
:param pulumi.Input[builtins.str] project: The ID of the project in which the resource belongs.
|
886
927
|
If it is not provided, the provider project is used.
|
887
928
|
:param pulumi.Input[builtins.str] routing_mode: The network-wide routing mode to use. If set to `REGIONAL`, this
|
@@ -1029,6 +1070,7 @@ class Network(pulumi.CustomResource):
|
|
1029
1070
|
name: Optional[pulumi.Input[builtins.str]] = None,
|
1030
1071
|
network_firewall_policy_enforcement_order: Optional[pulumi.Input[builtins.str]] = None,
|
1031
1072
|
network_profile: Optional[pulumi.Input[builtins.str]] = None,
|
1073
|
+
params: Optional[pulumi.Input[Union['NetworkParamsArgs', 'NetworkParamsArgsDict']]] = None,
|
1032
1074
|
project: Optional[pulumi.Input[builtins.str]] = None,
|
1033
1075
|
routing_mode: Optional[pulumi.Input[builtins.str]] = None,
|
1034
1076
|
__props__=None):
|
@@ -1052,6 +1094,7 @@ class Network(pulumi.CustomResource):
|
|
1052
1094
|
__props__.__dict__["name"] = name
|
1053
1095
|
__props__.__dict__["network_firewall_policy_enforcement_order"] = network_firewall_policy_enforcement_order
|
1054
1096
|
__props__.__dict__["network_profile"] = network_profile
|
1097
|
+
__props__.__dict__["params"] = params
|
1055
1098
|
__props__.__dict__["project"] = project
|
1056
1099
|
__props__.__dict__["routing_mode"] = routing_mode
|
1057
1100
|
__props__.__dict__["gateway_ipv4"] = None
|
@@ -1083,6 +1126,7 @@ class Network(pulumi.CustomResource):
|
|
1083
1126
|
network_id: Optional[pulumi.Input[builtins.str]] = None,
|
1084
1127
|
network_profile: Optional[pulumi.Input[builtins.str]] = None,
|
1085
1128
|
numeric_id: Optional[pulumi.Input[builtins.str]] = None,
|
1129
|
+
params: Optional[pulumi.Input[Union['NetworkParamsArgs', 'NetworkParamsArgsDict']]] = None,
|
1086
1130
|
project: Optional[pulumi.Input[builtins.str]] = None,
|
1087
1131
|
routing_mode: Optional[pulumi.Input[builtins.str]] = None,
|
1088
1132
|
self_link: Optional[pulumi.Input[builtins.str]] = None) -> 'Network':
|
@@ -1143,6 +1187,8 @@ class Network(pulumi.CustomResource):
|
|
1143
1187
|
* projects/{projectId}/global/networkProfiles/{network_profile_name}
|
1144
1188
|
:param pulumi.Input[builtins.str] numeric_id: (Deprecated)
|
1145
1189
|
The unique identifier for the resource. This identifier is defined by the server.
|
1190
|
+
:param pulumi.Input[Union['NetworkParamsArgs', 'NetworkParamsArgsDict']] params: Additional params passed with the request, but not persisted as part of resource payload
|
1191
|
+
Structure is documented below.
|
1146
1192
|
:param pulumi.Input[builtins.str] project: The ID of the project in which the resource belongs.
|
1147
1193
|
If it is not provided, the provider project is used.
|
1148
1194
|
:param pulumi.Input[builtins.str] routing_mode: The network-wide routing mode to use. If set to `REGIONAL`, this
|
@@ -1172,6 +1218,7 @@ class Network(pulumi.CustomResource):
|
|
1172
1218
|
__props__.__dict__["network_id"] = network_id
|
1173
1219
|
__props__.__dict__["network_profile"] = network_profile
|
1174
1220
|
__props__.__dict__["numeric_id"] = numeric_id
|
1221
|
+
__props__.__dict__["params"] = params
|
1175
1222
|
__props__.__dict__["project"] = project
|
1176
1223
|
__props__.__dict__["routing_mode"] = routing_mode
|
1177
1224
|
__props__.__dict__["self_link"] = self_link
|
@@ -1333,6 +1380,15 @@ class Network(pulumi.CustomResource):
|
|
1333
1380
|
"""
|
1334
1381
|
return pulumi.get(self, "numeric_id")
|
1335
1382
|
|
1383
|
+
@property
|
1384
|
+
@pulumi.getter
|
1385
|
+
def params(self) -> pulumi.Output[Optional['outputs.NetworkParams']]:
|
1386
|
+
"""
|
1387
|
+
Additional params passed with the request, but not persisted as part of resource payload
|
1388
|
+
Structure is documented below.
|
1389
|
+
"""
|
1390
|
+
return pulumi.get(self, "params")
|
1391
|
+
|
1336
1392
|
@property
|
1337
1393
|
@pulumi.getter
|
1338
1394
|
def project(self) -> pulumi.Output[builtins.str]:
|