pulumi-gcp 8.36.0a1750484065__py3-none-any.whl → 8.37.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- pulumi_gcp/__init__.py +59 -0
- pulumi_gcp/alloydb/_inputs.py +26 -0
- pulumi_gcp/alloydb/outputs.py +34 -1
- pulumi_gcp/apihub/__init__.py +2 -0
- pulumi_gcp/apihub/_inputs.py +1658 -0
- pulumi_gcp/apihub/outputs.py +1374 -0
- pulumi_gcp/apihub/plugin.py +1146 -0
- pulumi_gcp/apihub/plugin_instance.py +808 -0
- pulumi_gcp/bigquery/table.py +16 -12
- pulumi_gcp/bigqueryanalyticshub/_inputs.py +56 -6
- pulumi_gcp/bigqueryanalyticshub/data_exchange.py +73 -0
- pulumi_gcp/bigqueryanalyticshub/listing.py +201 -48
- pulumi_gcp/bigqueryanalyticshub/listing_subscription.py +28 -0
- pulumi_gcp/bigqueryanalyticshub/outputs.py +50 -4
- pulumi_gcp/bigtable/table.py +82 -0
- pulumi_gcp/cloudidentity/group_membership.py +47 -0
- pulumi_gcp/cloudidentity/outputs.py +11 -0
- pulumi_gcp/cloudquota/s_quota_adjuster_settings.py +64 -8
- 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 +787 -18
- 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.py +2 -2
- pulumi_gcp/compute/instance_group_manager.py +165 -14
- pulumi_gcp/compute/instance_template.py +2 -2
- pulumi_gcp/compute/interconnect.py +43 -11
- 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/node_template.py +21 -0
- pulumi_gcp/compute/outputs.py +620 -12
- 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/service_attachment.py +76 -8
- pulumi_gcp/compute/wire_group.py +751 -0
- pulumi_gcp/config/__init__.pyi +2 -0
- pulumi_gcp/config/vars.py +4 -0
- pulumi_gcp/contactcenterinsights/__init__.py +9 -0
- pulumi_gcp/contactcenterinsights/view.py +526 -0
- pulumi_gcp/container/_inputs.py +207 -28
- pulumi_gcp/container/cluster.py +54 -0
- pulumi_gcp/container/get_cluster.py +12 -1
- pulumi_gcp/container/get_engine_versions.py +15 -1
- pulumi_gcp/container/node_pool.py +14 -0
- pulumi_gcp/container/outputs.py +295 -21
- pulumi_gcp/dataplex/_inputs.py +431 -6
- pulumi_gcp/dataplex/datascan.py +251 -0
- pulumi_gcp/dataplex/entry_type.py +2 -2
- pulumi_gcp/dataplex/glossary_category.py +8 -8
- pulumi_gcp/dataplex/glossary_term.py +8 -8
- pulumi_gcp/dataplex/outputs.py +353 -4
- pulumi_gcp/dataplex/task.py +16 -16
- pulumi_gcp/dataproc/__init__.py +1 -0
- pulumi_gcp/dataproc/_inputs.py +486 -0
- pulumi_gcp/dataproc/batch.py +10 -10
- pulumi_gcp/dataproc/outputs.py +407 -0
- pulumi_gcp/dataproc/session_template.py +1084 -0
- pulumi_gcp/diagflow/__init__.py +2 -0
- pulumi_gcp/diagflow/_inputs.py +479 -0
- pulumi_gcp/diagflow/cx_generative_settings.py +625 -0
- pulumi_gcp/diagflow/cx_tool.py +2 -2
- pulumi_gcp/diagflow/encryption_spec.py +382 -0
- pulumi_gcp/diagflow/outputs.py +416 -0
- pulumi_gcp/dns/record_set.py +4 -2
- pulumi_gcp/firestore/database.py +0 -9
- pulumi_gcp/firestore/field.py +6 -6
- pulumi_gcp/gkehub/membership_binding.py +6 -6
- pulumi_gcp/gkehub/membership_rbac_role_binding.py +4 -4
- pulumi_gcp/gkehub/namespace.py +4 -4
- pulumi_gcp/gkehub/scope_rbac_role_binding.py +8 -8
- 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/iap/tunnel_dest_group.py +2 -2
- pulumi_gcp/integrationconnectors/managed_zone.py +8 -8
- pulumi_gcp/kms/autokey_config.py +28 -0
- pulumi_gcp/kms/get_autokey_config.py +12 -1
- pulumi_gcp/lustre/get_instance.py +12 -1
- pulumi_gcp/lustre/instance.py +143 -86
- pulumi_gcp/managedkafka/connect_cluster.py +4 -4
- pulumi_gcp/managedkafka/connector.py +4 -4
- 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/networkconnectivity/spoke.py +14 -14
- pulumi_gcp/notebooks/instance.py +8 -8
- pulumi_gcp/orgpolicy/policy.py +2 -2
- pulumi_gcp/provider.py +20 -0
- pulumi_gcp/pubsub/subscription.py +6 -6
- 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/bucket_object.py +56 -0
- pulumi_gcp/storage/get_bucket_object.py +12 -1
- pulumi_gcp/storage/get_bucket_object_content.py +12 -1
- pulumi_gcp/storage/outputs.py +53 -3
- pulumi_gcp/vertex/ai_endpoint.py +4 -4
- pulumi_gcp/vertex/ai_feature_online_store_featureview.py +4 -4
- pulumi_gcp/workbench/instance.py +2 -0
- {pulumi_gcp-8.36.0a1750484065.dist-info → pulumi_gcp-8.37.0.dist-info}/METADATA +2 -2
- {pulumi_gcp-8.36.0a1750484065.dist-info → pulumi_gcp-8.37.0.dist-info}/RECORD +117 -109
- {pulumi_gcp-8.36.0a1750484065.dist-info → pulumi_gcp-8.37.0.dist-info}/WHEEL +0 -0
- {pulumi_gcp-8.36.0a1750484065.dist-info → pulumi_gcp-8.37.0.dist-info}/top_level.txt +0 -0
@@ -23,6 +23,7 @@ __all__ = ['RegionDiskArgs', 'RegionDisk']
|
|
23
23
|
class RegionDiskArgs:
|
24
24
|
def __init__(__self__, *,
|
25
25
|
replica_zones: pulumi.Input[Sequence[pulumi.Input[builtins.str]]],
|
26
|
+
access_mode: Optional[pulumi.Input[builtins.str]] = None,
|
26
27
|
async_primary_disk: Optional[pulumi.Input['RegionDiskAsyncPrimaryDiskArgs']] = None,
|
27
28
|
create_snapshot_before_destroy: Optional[pulumi.Input[builtins.bool]] = None,
|
28
29
|
create_snapshot_before_destroy_prefix: Optional[pulumi.Input[builtins.str]] = None,
|
@@ -47,6 +48,12 @@ class RegionDiskArgs:
|
|
47
48
|
|
48
49
|
|
49
50
|
- - -
|
51
|
+
:param pulumi.Input[builtins.str] access_mode: The access mode of the disk.
|
52
|
+
For example:
|
53
|
+
* READ_WRITE_SINGLE: The default AccessMode, means the disk can be attached to single instance in RW mode.
|
54
|
+
* READ_WRITE_MANY: The AccessMode means the disk can be attached to multiple instances in RW mode.
|
55
|
+
* READ_ONLY_SINGLE: The AccessMode means the disk can be attached to multiple instances in RO mode.
|
56
|
+
The AccessMode is only valid for Hyperdisk disk types.
|
50
57
|
:param pulumi.Input['RegionDiskAsyncPrimaryDiskArgs'] async_primary_disk: A nested object resource.
|
51
58
|
Structure is documented below.
|
52
59
|
:param pulumi.Input[builtins.bool] create_snapshot_before_destroy: If set to true, a snapshot of the disk will be created before it is destroyed.
|
@@ -120,6 +127,8 @@ class RegionDiskArgs:
|
|
120
127
|
create the disk. Provide this when creating the disk.
|
121
128
|
"""
|
122
129
|
pulumi.set(__self__, "replica_zones", replica_zones)
|
130
|
+
if access_mode is not None:
|
131
|
+
pulumi.set(__self__, "access_mode", access_mode)
|
123
132
|
if async_primary_disk is not None:
|
124
133
|
pulumi.set(__self__, "async_primary_disk", async_primary_disk)
|
125
134
|
if create_snapshot_before_destroy is not None:
|
@@ -175,6 +184,23 @@ class RegionDiskArgs:
|
|
175
184
|
def replica_zones(self, value: pulumi.Input[Sequence[pulumi.Input[builtins.str]]]):
|
176
185
|
pulumi.set(self, "replica_zones", value)
|
177
186
|
|
187
|
+
@property
|
188
|
+
@pulumi.getter(name="accessMode")
|
189
|
+
def access_mode(self) -> Optional[pulumi.Input[builtins.str]]:
|
190
|
+
"""
|
191
|
+
The access mode of the disk.
|
192
|
+
For example:
|
193
|
+
* READ_WRITE_SINGLE: The default AccessMode, means the disk can be attached to single instance in RW mode.
|
194
|
+
* READ_WRITE_MANY: The AccessMode means the disk can be attached to multiple instances in RW mode.
|
195
|
+
* READ_ONLY_SINGLE: The AccessMode means the disk can be attached to multiple instances in RO mode.
|
196
|
+
The AccessMode is only valid for Hyperdisk disk types.
|
197
|
+
"""
|
198
|
+
return pulumi.get(self, "access_mode")
|
199
|
+
|
200
|
+
@access_mode.setter
|
201
|
+
def access_mode(self, value: Optional[pulumi.Input[builtins.str]]):
|
202
|
+
pulumi.set(self, "access_mode", value)
|
203
|
+
|
178
204
|
@property
|
179
205
|
@pulumi.getter(name="asyncPrimaryDisk")
|
180
206
|
def async_primary_disk(self) -> Optional[pulumi.Input['RegionDiskAsyncPrimaryDiskArgs']]:
|
@@ -449,6 +475,7 @@ class RegionDiskArgs:
|
|
449
475
|
@pulumi.input_type
|
450
476
|
class _RegionDiskState:
|
451
477
|
def __init__(__self__, *,
|
478
|
+
access_mode: Optional[pulumi.Input[builtins.str]] = None,
|
452
479
|
async_primary_disk: Optional[pulumi.Input['RegionDiskAsyncPrimaryDiskArgs']] = None,
|
453
480
|
create_snapshot_before_destroy: Optional[pulumi.Input[builtins.bool]] = None,
|
454
481
|
create_snapshot_before_destroy_prefix: Optional[pulumi.Input[builtins.str]] = None,
|
@@ -481,6 +508,12 @@ class _RegionDiskState:
|
|
481
508
|
users: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None):
|
482
509
|
"""
|
483
510
|
Input properties used for looking up and filtering RegionDisk resources.
|
511
|
+
:param pulumi.Input[builtins.str] access_mode: The access mode of the disk.
|
512
|
+
For example:
|
513
|
+
* READ_WRITE_SINGLE: The default AccessMode, means the disk can be attached to single instance in RW mode.
|
514
|
+
* READ_WRITE_MANY: The AccessMode means the disk can be attached to multiple instances in RW mode.
|
515
|
+
* READ_ONLY_SINGLE: The AccessMode means the disk can be attached to multiple instances in RO mode.
|
516
|
+
The AccessMode is only valid for Hyperdisk disk types.
|
484
517
|
:param pulumi.Input['RegionDiskAsyncPrimaryDiskArgs'] async_primary_disk: A nested object resource.
|
485
518
|
Structure is documented below.
|
486
519
|
:param pulumi.Input[builtins.bool] create_snapshot_before_destroy: If set to true, a snapshot of the disk will be created before it is destroyed.
|
@@ -578,6 +611,8 @@ class _RegionDiskState:
|
|
578
611
|
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] users: Links to the users of the disk (attached instances) in form:
|
579
612
|
project/zones/zone/instances/instance
|
580
613
|
"""
|
614
|
+
if access_mode is not None:
|
615
|
+
pulumi.set(__self__, "access_mode", access_mode)
|
581
616
|
if async_primary_disk is not None:
|
582
617
|
pulumi.set(__self__, "async_primary_disk", async_primary_disk)
|
583
618
|
if create_snapshot_before_destroy is not None:
|
@@ -642,6 +677,23 @@ class _RegionDiskState:
|
|
642
677
|
if users is not None:
|
643
678
|
pulumi.set(__self__, "users", users)
|
644
679
|
|
680
|
+
@property
|
681
|
+
@pulumi.getter(name="accessMode")
|
682
|
+
def access_mode(self) -> Optional[pulumi.Input[builtins.str]]:
|
683
|
+
"""
|
684
|
+
The access mode of the disk.
|
685
|
+
For example:
|
686
|
+
* READ_WRITE_SINGLE: The default AccessMode, means the disk can be attached to single instance in RW mode.
|
687
|
+
* READ_WRITE_MANY: The AccessMode means the disk can be attached to multiple instances in RW mode.
|
688
|
+
* READ_ONLY_SINGLE: The AccessMode means the disk can be attached to multiple instances in RO mode.
|
689
|
+
The AccessMode is only valid for Hyperdisk disk types.
|
690
|
+
"""
|
691
|
+
return pulumi.get(self, "access_mode")
|
692
|
+
|
693
|
+
@access_mode.setter
|
694
|
+
def access_mode(self, value: Optional[pulumi.Input[builtins.str]]):
|
695
|
+
pulumi.set(self, "access_mode", value)
|
696
|
+
|
645
697
|
@property
|
646
698
|
@pulumi.getter(name="asyncPrimaryDisk")
|
647
699
|
def async_primary_disk(self) -> Optional[pulumi.Input['RegionDiskAsyncPrimaryDiskArgs']]:
|
@@ -1076,6 +1128,7 @@ class RegionDisk(pulumi.CustomResource):
|
|
1076
1128
|
def __init__(__self__,
|
1077
1129
|
resource_name: str,
|
1078
1130
|
opts: Optional[pulumi.ResourceOptions] = None,
|
1131
|
+
access_mode: Optional[pulumi.Input[builtins.str]] = None,
|
1079
1132
|
async_primary_disk: Optional[pulumi.Input[Union['RegionDiskAsyncPrimaryDiskArgs', 'RegionDiskAsyncPrimaryDiskArgsDict']]] = None,
|
1080
1133
|
create_snapshot_before_destroy: Optional[pulumi.Input[builtins.bool]] = None,
|
1081
1134
|
create_snapshot_before_destroy_prefix: Optional[pulumi.Input[builtins.str]] = None,
|
@@ -1207,6 +1260,22 @@ class RegionDisk(pulumi.CustomResource):
|
|
1207
1260
|
"us-central1-f",
|
1208
1261
|
])
|
1209
1262
|
```
|
1263
|
+
### Region Disk Hyperdisk Balanced Ha Write Many
|
1264
|
+
|
1265
|
+
```python
|
1266
|
+
import pulumi
|
1267
|
+
import pulumi_gcp as gcp
|
1268
|
+
|
1269
|
+
primary = gcp.compute.RegionDisk("primary",
|
1270
|
+
name="my-region-hyperdisk",
|
1271
|
+
type="hyperdisk-balanced-high-availability",
|
1272
|
+
region="us-central1",
|
1273
|
+
replica_zones=[
|
1274
|
+
"us-central1-a",
|
1275
|
+
"us-central1-f",
|
1276
|
+
],
|
1277
|
+
access_mode="READ_WRITE_MANY")
|
1278
|
+
```
|
1210
1279
|
|
1211
1280
|
## Import
|
1212
1281
|
|
@@ -1240,6 +1309,12 @@ class RegionDisk(pulumi.CustomResource):
|
|
1240
1309
|
|
1241
1310
|
:param str resource_name: The name of the resource.
|
1242
1311
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
1312
|
+
:param pulumi.Input[builtins.str] access_mode: The access mode of the disk.
|
1313
|
+
For example:
|
1314
|
+
* READ_WRITE_SINGLE: The default AccessMode, means the disk can be attached to single instance in RW mode.
|
1315
|
+
* READ_WRITE_MANY: The AccessMode means the disk can be attached to multiple instances in RW mode.
|
1316
|
+
* READ_ONLY_SINGLE: The AccessMode means the disk can be attached to multiple instances in RO mode.
|
1317
|
+
The AccessMode is only valid for Hyperdisk disk types.
|
1243
1318
|
:param pulumi.Input[Union['RegionDiskAsyncPrimaryDiskArgs', 'RegionDiskAsyncPrimaryDiskArgsDict']] async_primary_disk: A nested object resource.
|
1244
1319
|
Structure is documented below.
|
1245
1320
|
:param pulumi.Input[builtins.bool] create_snapshot_before_destroy: If set to true, a snapshot of the disk will be created before it is destroyed.
|
@@ -1433,6 +1508,22 @@ class RegionDisk(pulumi.CustomResource):
|
|
1433
1508
|
"us-central1-f",
|
1434
1509
|
])
|
1435
1510
|
```
|
1511
|
+
### Region Disk Hyperdisk Balanced Ha Write Many
|
1512
|
+
|
1513
|
+
```python
|
1514
|
+
import pulumi
|
1515
|
+
import pulumi_gcp as gcp
|
1516
|
+
|
1517
|
+
primary = gcp.compute.RegionDisk("primary",
|
1518
|
+
name="my-region-hyperdisk",
|
1519
|
+
type="hyperdisk-balanced-high-availability",
|
1520
|
+
region="us-central1",
|
1521
|
+
replica_zones=[
|
1522
|
+
"us-central1-a",
|
1523
|
+
"us-central1-f",
|
1524
|
+
],
|
1525
|
+
access_mode="READ_WRITE_MANY")
|
1526
|
+
```
|
1436
1527
|
|
1437
1528
|
## Import
|
1438
1529
|
|
@@ -1479,6 +1570,7 @@ class RegionDisk(pulumi.CustomResource):
|
|
1479
1570
|
def _internal_init(__self__,
|
1480
1571
|
resource_name: str,
|
1481
1572
|
opts: Optional[pulumi.ResourceOptions] = None,
|
1573
|
+
access_mode: Optional[pulumi.Input[builtins.str]] = None,
|
1482
1574
|
async_primary_disk: Optional[pulumi.Input[Union['RegionDiskAsyncPrimaryDiskArgs', 'RegionDiskAsyncPrimaryDiskArgsDict']]] = None,
|
1483
1575
|
create_snapshot_before_destroy: Optional[pulumi.Input[builtins.bool]] = None,
|
1484
1576
|
create_snapshot_before_destroy_prefix: Optional[pulumi.Input[builtins.str]] = None,
|
@@ -1507,6 +1599,7 @@ class RegionDisk(pulumi.CustomResource):
|
|
1507
1599
|
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
1508
1600
|
__props__ = RegionDiskArgs.__new__(RegionDiskArgs)
|
1509
1601
|
|
1602
|
+
__props__.__dict__["access_mode"] = access_mode
|
1510
1603
|
__props__.__dict__["async_primary_disk"] = async_primary_disk
|
1511
1604
|
__props__.__dict__["create_snapshot_before_destroy"] = create_snapshot_before_destroy
|
1512
1605
|
__props__.__dict__["create_snapshot_before_destroy_prefix"] = create_snapshot_before_destroy_prefix
|
@@ -1551,6 +1644,7 @@ class RegionDisk(pulumi.CustomResource):
|
|
1551
1644
|
def get(resource_name: str,
|
1552
1645
|
id: pulumi.Input[str],
|
1553
1646
|
opts: Optional[pulumi.ResourceOptions] = None,
|
1647
|
+
access_mode: Optional[pulumi.Input[builtins.str]] = None,
|
1554
1648
|
async_primary_disk: Optional[pulumi.Input[Union['RegionDiskAsyncPrimaryDiskArgs', 'RegionDiskAsyncPrimaryDiskArgsDict']]] = None,
|
1555
1649
|
create_snapshot_before_destroy: Optional[pulumi.Input[builtins.bool]] = None,
|
1556
1650
|
create_snapshot_before_destroy_prefix: Optional[pulumi.Input[builtins.str]] = None,
|
@@ -1588,6 +1682,12 @@ class RegionDisk(pulumi.CustomResource):
|
|
1588
1682
|
:param str resource_name: The unique name of the resulting resource.
|
1589
1683
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
1590
1684
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
1685
|
+
:param pulumi.Input[builtins.str] access_mode: The access mode of the disk.
|
1686
|
+
For example:
|
1687
|
+
* READ_WRITE_SINGLE: The default AccessMode, means the disk can be attached to single instance in RW mode.
|
1688
|
+
* READ_WRITE_MANY: The AccessMode means the disk can be attached to multiple instances in RW mode.
|
1689
|
+
* READ_ONLY_SINGLE: The AccessMode means the disk can be attached to multiple instances in RO mode.
|
1690
|
+
The AccessMode is only valid for Hyperdisk disk types.
|
1591
1691
|
:param pulumi.Input[Union['RegionDiskAsyncPrimaryDiskArgs', 'RegionDiskAsyncPrimaryDiskArgsDict']] async_primary_disk: A nested object resource.
|
1592
1692
|
Structure is documented below.
|
1593
1693
|
:param pulumi.Input[builtins.bool] create_snapshot_before_destroy: If set to true, a snapshot of the disk will be created before it is destroyed.
|
@@ -1689,6 +1789,7 @@ class RegionDisk(pulumi.CustomResource):
|
|
1689
1789
|
|
1690
1790
|
__props__ = _RegionDiskState.__new__(_RegionDiskState)
|
1691
1791
|
|
1792
|
+
__props__.__dict__["access_mode"] = access_mode
|
1692
1793
|
__props__.__dict__["async_primary_disk"] = async_primary_disk
|
1693
1794
|
__props__.__dict__["create_snapshot_before_destroy"] = create_snapshot_before_destroy
|
1694
1795
|
__props__.__dict__["create_snapshot_before_destroy_prefix"] = create_snapshot_before_destroy_prefix
|
@@ -1721,6 +1822,19 @@ class RegionDisk(pulumi.CustomResource):
|
|
1721
1822
|
__props__.__dict__["users"] = users
|
1722
1823
|
return RegionDisk(resource_name, opts=opts, __props__=__props__)
|
1723
1824
|
|
1825
|
+
@property
|
1826
|
+
@pulumi.getter(name="accessMode")
|
1827
|
+
def access_mode(self) -> pulumi.Output[builtins.str]:
|
1828
|
+
"""
|
1829
|
+
The access mode of the disk.
|
1830
|
+
For example:
|
1831
|
+
* READ_WRITE_SINGLE: The default AccessMode, means the disk can be attached to single instance in RW mode.
|
1832
|
+
* READ_WRITE_MANY: The AccessMode means the disk can be attached to multiple instances in RW mode.
|
1833
|
+
* READ_ONLY_SINGLE: The AccessMode means the disk can be attached to multiple instances in RO mode.
|
1834
|
+
The AccessMode is only valid for Hyperdisk disk types.
|
1835
|
+
"""
|
1836
|
+
return pulumi.get(self, "access_mode")
|
1837
|
+
|
1724
1838
|
@property
|
1725
1839
|
@pulumi.getter(name="asyncPrimaryDisk")
|
1726
1840
|
def async_primary_disk(self) -> pulumi.Output[Optional['outputs.RegionDiskAsyncPrimaryDisk']]:
|
@@ -22,6 +22,7 @@ class RegionNetworkFirewallPolicyArgs:
|
|
22
22
|
def __init__(__self__, *,
|
23
23
|
description: Optional[pulumi.Input[builtins.str]] = None,
|
24
24
|
name: Optional[pulumi.Input[builtins.str]] = None,
|
25
|
+
policy_type: Optional[pulumi.Input[builtins.str]] = None,
|
25
26
|
project: Optional[pulumi.Input[builtins.str]] = None,
|
26
27
|
region: Optional[pulumi.Input[builtins.str]] = None):
|
27
28
|
"""
|
@@ -31,6 +32,10 @@ class RegionNetworkFirewallPolicyArgs:
|
|
31
32
|
|
32
33
|
|
33
34
|
- - -
|
35
|
+
:param pulumi.Input[builtins.str] policy_type: Policy type is used to determine which resources (networks) the policy can be associated with.
|
36
|
+
A policy can be associated with a network only if the network has the matching policyType in its network profile.
|
37
|
+
Different policy types may support some of the Firewall Rules features.
|
38
|
+
Possible values are: `VPC_POLICY`, `RDMA_ROCE_POLICY`.
|
34
39
|
:param pulumi.Input[builtins.str] project: The ID of the project in which the resource belongs.
|
35
40
|
If it is not provided, the provider project is used.
|
36
41
|
:param pulumi.Input[builtins.str] region: The region of this resource.
|
@@ -39,6 +44,8 @@ class RegionNetworkFirewallPolicyArgs:
|
|
39
44
|
pulumi.set(__self__, "description", description)
|
40
45
|
if name is not None:
|
41
46
|
pulumi.set(__self__, "name", name)
|
47
|
+
if policy_type is not None:
|
48
|
+
pulumi.set(__self__, "policy_type", policy_type)
|
42
49
|
if project is not None:
|
43
50
|
pulumi.set(__self__, "project", project)
|
44
51
|
if region is not None:
|
@@ -71,6 +78,21 @@ class RegionNetworkFirewallPolicyArgs:
|
|
71
78
|
def name(self, value: Optional[pulumi.Input[builtins.str]]):
|
72
79
|
pulumi.set(self, "name", value)
|
73
80
|
|
81
|
+
@property
|
82
|
+
@pulumi.getter(name="policyType")
|
83
|
+
def policy_type(self) -> Optional[pulumi.Input[builtins.str]]:
|
84
|
+
"""
|
85
|
+
Policy type is used to determine which resources (networks) the policy can be associated with.
|
86
|
+
A policy can be associated with a network only if the network has the matching policyType in its network profile.
|
87
|
+
Different policy types may support some of the Firewall Rules features.
|
88
|
+
Possible values are: `VPC_POLICY`, `RDMA_ROCE_POLICY`.
|
89
|
+
"""
|
90
|
+
return pulumi.get(self, "policy_type")
|
91
|
+
|
92
|
+
@policy_type.setter
|
93
|
+
def policy_type(self, value: Optional[pulumi.Input[builtins.str]]):
|
94
|
+
pulumi.set(self, "policy_type", value)
|
95
|
+
|
74
96
|
@property
|
75
97
|
@pulumi.getter
|
76
98
|
def project(self) -> Optional[pulumi.Input[builtins.str]]:
|
@@ -104,6 +126,7 @@ class _RegionNetworkFirewallPolicyState:
|
|
104
126
|
description: Optional[pulumi.Input[builtins.str]] = None,
|
105
127
|
fingerprint: Optional[pulumi.Input[builtins.str]] = None,
|
106
128
|
name: Optional[pulumi.Input[builtins.str]] = None,
|
129
|
+
policy_type: Optional[pulumi.Input[builtins.str]] = None,
|
107
130
|
project: Optional[pulumi.Input[builtins.str]] = None,
|
108
131
|
region: Optional[pulumi.Input[builtins.str]] = None,
|
109
132
|
region_network_firewall_policy_id: Optional[pulumi.Input[builtins.str]] = None,
|
@@ -119,6 +142,10 @@ class _RegionNetworkFirewallPolicyState:
|
|
119
142
|
|
120
143
|
|
121
144
|
- - -
|
145
|
+
:param pulumi.Input[builtins.str] policy_type: Policy type is used to determine which resources (networks) the policy can be associated with.
|
146
|
+
A policy can be associated with a network only if the network has the matching policyType in its network profile.
|
147
|
+
Different policy types may support some of the Firewall Rules features.
|
148
|
+
Possible values are: `VPC_POLICY`, `RDMA_ROCE_POLICY`.
|
122
149
|
:param pulumi.Input[builtins.str] project: The ID of the project in which the resource belongs.
|
123
150
|
If it is not provided, the provider project is used.
|
124
151
|
:param pulumi.Input[builtins.str] region: The region of this resource.
|
@@ -135,6 +162,8 @@ class _RegionNetworkFirewallPolicyState:
|
|
135
162
|
pulumi.set(__self__, "fingerprint", fingerprint)
|
136
163
|
if name is not None:
|
137
164
|
pulumi.set(__self__, "name", name)
|
165
|
+
if policy_type is not None:
|
166
|
+
pulumi.set(__self__, "policy_type", policy_type)
|
138
167
|
if project is not None:
|
139
168
|
pulumi.set(__self__, "project", project)
|
140
169
|
if region is not None:
|
@@ -199,6 +228,21 @@ class _RegionNetworkFirewallPolicyState:
|
|
199
228
|
def name(self, value: Optional[pulumi.Input[builtins.str]]):
|
200
229
|
pulumi.set(self, "name", value)
|
201
230
|
|
231
|
+
@property
|
232
|
+
@pulumi.getter(name="policyType")
|
233
|
+
def policy_type(self) -> Optional[pulumi.Input[builtins.str]]:
|
234
|
+
"""
|
235
|
+
Policy type is used to determine which resources (networks) the policy can be associated with.
|
236
|
+
A policy can be associated with a network only if the network has the matching policyType in its network profile.
|
237
|
+
Different policy types may support some of the Firewall Rules features.
|
238
|
+
Possible values are: `VPC_POLICY`, `RDMA_ROCE_POLICY`.
|
239
|
+
"""
|
240
|
+
return pulumi.get(self, "policy_type")
|
241
|
+
|
242
|
+
@policy_type.setter
|
243
|
+
def policy_type(self, value: Optional[pulumi.Input[builtins.str]]):
|
244
|
+
pulumi.set(self, "policy_type", value)
|
245
|
+
|
202
246
|
@property
|
203
247
|
@pulumi.getter
|
204
248
|
def project(self) -> Optional[pulumi.Input[builtins.str]]:
|
@@ -281,6 +325,7 @@ class RegionNetworkFirewallPolicy(pulumi.CustomResource):
|
|
281
325
|
opts: Optional[pulumi.ResourceOptions] = None,
|
282
326
|
description: Optional[pulumi.Input[builtins.str]] = None,
|
283
327
|
name: Optional[pulumi.Input[builtins.str]] = None,
|
328
|
+
policy_type: Optional[pulumi.Input[builtins.str]] = None,
|
284
329
|
project: Optional[pulumi.Input[builtins.str]] = None,
|
285
330
|
region: Optional[pulumi.Input[builtins.str]] = None,
|
286
331
|
__props__=None):
|
@@ -299,6 +344,17 @@ class RegionNetworkFirewallPolicy(pulumi.CustomResource):
|
|
299
344
|
name="tf-test-policy",
|
300
345
|
description="Terraform test")
|
301
346
|
```
|
347
|
+
### Region Network Firewall Policy Roce
|
348
|
+
|
349
|
+
```python
|
350
|
+
import pulumi
|
351
|
+
import pulumi_gcp as gcp
|
352
|
+
|
353
|
+
policy = gcp.compute.RegionNetworkFirewallPolicy("policy",
|
354
|
+
name="rnf-policy",
|
355
|
+
description="Terraform test",
|
356
|
+
policy_type="RDMA_ROCE_POLICY")
|
357
|
+
```
|
302
358
|
|
303
359
|
## Import
|
304
360
|
|
@@ -337,6 +393,10 @@ class RegionNetworkFirewallPolicy(pulumi.CustomResource):
|
|
337
393
|
|
338
394
|
|
339
395
|
- - -
|
396
|
+
:param pulumi.Input[builtins.str] policy_type: Policy type is used to determine which resources (networks) the policy can be associated with.
|
397
|
+
A policy can be associated with a network only if the network has the matching policyType in its network profile.
|
398
|
+
Different policy types may support some of the Firewall Rules features.
|
399
|
+
Possible values are: `VPC_POLICY`, `RDMA_ROCE_POLICY`.
|
340
400
|
:param pulumi.Input[builtins.str] project: The ID of the project in which the resource belongs.
|
341
401
|
If it is not provided, the provider project is used.
|
342
402
|
:param pulumi.Input[builtins.str] region: The region of this resource.
|
@@ -362,6 +422,17 @@ class RegionNetworkFirewallPolicy(pulumi.CustomResource):
|
|
362
422
|
name="tf-test-policy",
|
363
423
|
description="Terraform test")
|
364
424
|
```
|
425
|
+
### Region Network Firewall Policy Roce
|
426
|
+
|
427
|
+
```python
|
428
|
+
import pulumi
|
429
|
+
import pulumi_gcp as gcp
|
430
|
+
|
431
|
+
policy = gcp.compute.RegionNetworkFirewallPolicy("policy",
|
432
|
+
name="rnf-policy",
|
433
|
+
description="Terraform test",
|
434
|
+
policy_type="RDMA_ROCE_POLICY")
|
435
|
+
```
|
365
436
|
|
366
437
|
## Import
|
367
438
|
|
@@ -410,6 +481,7 @@ class RegionNetworkFirewallPolicy(pulumi.CustomResource):
|
|
410
481
|
opts: Optional[pulumi.ResourceOptions] = None,
|
411
482
|
description: Optional[pulumi.Input[builtins.str]] = None,
|
412
483
|
name: Optional[pulumi.Input[builtins.str]] = None,
|
484
|
+
policy_type: Optional[pulumi.Input[builtins.str]] = None,
|
413
485
|
project: Optional[pulumi.Input[builtins.str]] = None,
|
414
486
|
region: Optional[pulumi.Input[builtins.str]] = None,
|
415
487
|
__props__=None):
|
@@ -423,6 +495,7 @@ class RegionNetworkFirewallPolicy(pulumi.CustomResource):
|
|
423
495
|
|
424
496
|
__props__.__dict__["description"] = description
|
425
497
|
__props__.__dict__["name"] = name
|
498
|
+
__props__.__dict__["policy_type"] = policy_type
|
426
499
|
__props__.__dict__["project"] = project
|
427
500
|
__props__.__dict__["region"] = region
|
428
501
|
__props__.__dict__["creation_timestamp"] = None
|
@@ -445,6 +518,7 @@ class RegionNetworkFirewallPolicy(pulumi.CustomResource):
|
|
445
518
|
description: Optional[pulumi.Input[builtins.str]] = None,
|
446
519
|
fingerprint: Optional[pulumi.Input[builtins.str]] = None,
|
447
520
|
name: Optional[pulumi.Input[builtins.str]] = None,
|
521
|
+
policy_type: Optional[pulumi.Input[builtins.str]] = None,
|
448
522
|
project: Optional[pulumi.Input[builtins.str]] = None,
|
449
523
|
region: Optional[pulumi.Input[builtins.str]] = None,
|
450
524
|
region_network_firewall_policy_id: Optional[pulumi.Input[builtins.str]] = None,
|
@@ -465,6 +539,10 @@ class RegionNetworkFirewallPolicy(pulumi.CustomResource):
|
|
465
539
|
|
466
540
|
|
467
541
|
- - -
|
542
|
+
:param pulumi.Input[builtins.str] policy_type: Policy type is used to determine which resources (networks) the policy can be associated with.
|
543
|
+
A policy can be associated with a network only if the network has the matching policyType in its network profile.
|
544
|
+
Different policy types may support some of the Firewall Rules features.
|
545
|
+
Possible values are: `VPC_POLICY`, `RDMA_ROCE_POLICY`.
|
468
546
|
:param pulumi.Input[builtins.str] project: The ID of the project in which the resource belongs.
|
469
547
|
If it is not provided, the provider project is used.
|
470
548
|
:param pulumi.Input[builtins.str] region: The region of this resource.
|
@@ -481,6 +559,7 @@ class RegionNetworkFirewallPolicy(pulumi.CustomResource):
|
|
481
559
|
__props__.__dict__["description"] = description
|
482
560
|
__props__.__dict__["fingerprint"] = fingerprint
|
483
561
|
__props__.__dict__["name"] = name
|
562
|
+
__props__.__dict__["policy_type"] = policy_type
|
484
563
|
__props__.__dict__["project"] = project
|
485
564
|
__props__.__dict__["region"] = region
|
486
565
|
__props__.__dict__["region_network_firewall_policy_id"] = region_network_firewall_policy_id
|
@@ -524,6 +603,17 @@ class RegionNetworkFirewallPolicy(pulumi.CustomResource):
|
|
524
603
|
"""
|
525
604
|
return pulumi.get(self, "name")
|
526
605
|
|
606
|
+
@property
|
607
|
+
@pulumi.getter(name="policyType")
|
608
|
+
def policy_type(self) -> pulumi.Output[builtins.str]:
|
609
|
+
"""
|
610
|
+
Policy type is used to determine which resources (networks) the policy can be associated with.
|
611
|
+
A policy can be associated with a network only if the network has the matching policyType in its network profile.
|
612
|
+
Different policy types may support some of the Firewall Rules features.
|
613
|
+
Possible values are: `VPC_POLICY`, `RDMA_ROCE_POLICY`.
|
614
|
+
"""
|
615
|
+
return pulumi.get(self, "policy_type")
|
616
|
+
|
527
617
|
@property
|
528
618
|
@pulumi.getter
|
529
619
|
def project(self) -> pulumi.Output[builtins.str]:
|