pulumi-gcp 8.0.0rc0__py3-none-any.whl → 8.1.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 +24 -0
- pulumi_gcp/alloydb/_inputs.py +94 -0
- pulumi_gcp/alloydb/cluster.py +94 -1
- pulumi_gcp/alloydb/outputs.py +79 -0
- pulumi_gcp/assuredworkloads/workload.py +135 -16
- pulumi_gcp/backupdisasterrecovery/__init__.py +1 -0
- pulumi_gcp/backupdisasterrecovery/backup_vault.py +1203 -0
- pulumi_gcp/bigquery/_inputs.py +33 -0
- pulumi_gcp/bigquery/data_transfer_config.py +134 -6
- pulumi_gcp/bigquery/outputs.py +36 -0
- pulumi_gcp/bigqueryanalyticshub/_inputs.py +169 -7
- pulumi_gcp/bigqueryanalyticshub/data_exchange.py +96 -3
- pulumi_gcp/bigqueryanalyticshub/listing.py +114 -0
- pulumi_gcp/bigqueryanalyticshub/outputs.py +138 -5
- pulumi_gcp/bigtable/_inputs.py +21 -1
- pulumi_gcp/bigtable/outputs.py +13 -1
- pulumi_gcp/bigtable/table.py +34 -0
- pulumi_gcp/certificateauthority/authority.py +14 -7
- pulumi_gcp/certificatemanager/__init__.py +1 -0
- pulumi_gcp/certificatemanager/certificate.py +28 -0
- pulumi_gcp/certificatemanager/get_certificates.py +150 -0
- pulumi_gcp/certificatemanager/outputs.py +322 -0
- pulumi_gcp/cloudbuild/_inputs.py +6 -6
- pulumi_gcp/cloudbuild/outputs.py +4 -4
- pulumi_gcp/cloudrun/_inputs.py +6 -12
- pulumi_gcp/cloudrun/outputs.py +8 -16
- pulumi_gcp/cloudrunv2/_inputs.py +72 -15
- pulumi_gcp/cloudrunv2/outputs.py +82 -16
- pulumi_gcp/cloudrunv2/service.py +50 -4
- pulumi_gcp/cloudtasks/_inputs.py +630 -0
- pulumi_gcp/cloudtasks/outputs.py +479 -0
- pulumi_gcp/cloudtasks/queue.py +238 -0
- pulumi_gcp/compute/_inputs.py +129 -9
- pulumi_gcp/compute/get_instance.py +1 -1
- pulumi_gcp/compute/health_check.py +114 -0
- pulumi_gcp/compute/instance.py +86 -4
- pulumi_gcp/compute/instance_template.py +66 -0
- pulumi_gcp/compute/interconnect.py +28 -21
- pulumi_gcp/compute/node_template.py +93 -0
- pulumi_gcp/compute/outputs.py +108 -6
- pulumi_gcp/compute/target_https_proxy.py +28 -0
- pulumi_gcp/container/_inputs.py +140 -3
- pulumi_gcp/container/attached_cluster.py +7 -7
- pulumi_gcp/container/outputs.py +174 -2
- pulumi_gcp/databasemigrationservice/_inputs.py +176 -148
- pulumi_gcp/databasemigrationservice/connection_profile.py +206 -0
- pulumi_gcp/databasemigrationservice/outputs.py +109 -87
- pulumi_gcp/dataloss/_inputs.py +353 -1
- pulumi_gcp/dataloss/outputs.py +274 -3
- pulumi_gcp/dataproc/_inputs.py +27 -27
- pulumi_gcp/dataproc/outputs.py +18 -18
- pulumi_gcp/datastream/_inputs.py +69 -1
- pulumi_gcp/datastream/outputs.py +44 -2
- pulumi_gcp/datastream/stream.py +194 -7
- pulumi_gcp/discoveryengine/_inputs.py +188 -0
- pulumi_gcp/discoveryengine/data_store.py +14 -14
- pulumi_gcp/discoveryengine/outputs.py +153 -1
- pulumi_gcp/firebase/database_instance.py +7 -7
- pulumi_gcp/gkehub/_inputs.py +25 -1
- pulumi_gcp/gkehub/feature_membership.py +12 -6
- pulumi_gcp/gkehub/outputs.py +17 -1
- pulumi_gcp/iam/_inputs.py +196 -0
- pulumi_gcp/iam/get_workload_identity_pool_provider.py +13 -3
- pulumi_gcp/iam/outputs.py +295 -0
- pulumi_gcp/iam/workload_identity_pool_provider.py +164 -3
- pulumi_gcp/kms/__init__.py +2 -0
- pulumi_gcp/kms/autokey_config.py +10 -2
- pulumi_gcp/kms/get_crypto_key_latest_version.py +222 -0
- pulumi_gcp/kms/get_crypto_key_versions.py +175 -0
- pulumi_gcp/kms/outputs.py +164 -0
- pulumi_gcp/netapp/active_directory.py +6 -6
- pulumi_gcp/netapp/backup.py +6 -6
- pulumi_gcp/netapp/backup_policy.py +6 -6
- pulumi_gcp/netapp/backup_vault.py +6 -6
- pulumi_gcp/netapp/storage_pool.py +4 -4
- pulumi_gcp/netapp/volume.py +7 -0
- pulumi_gcp/networkconnectivity/_inputs.py +21 -1
- pulumi_gcp/networkconnectivity/outputs.py +15 -1
- pulumi_gcp/networkconnectivity/spoke.py +8 -0
- pulumi_gcp/networksecurity/client_tls_policy.py +24 -22
- pulumi_gcp/networksecurity/server_tls_policy.py +20 -32
- pulumi_gcp/organizations/get_project.py +13 -3
- pulumi_gcp/organizations/project.py +88 -3
- pulumi_gcp/parallelstore/instance.py +121 -121
- pulumi_gcp/projects/iam_member_remove.py +26 -0
- pulumi_gcp/projects/usage_export_bucket.py +38 -0
- pulumi_gcp/pubsub/_inputs.py +40 -0
- pulumi_gcp/pubsub/outputs.py +51 -1
- pulumi_gcp/pubsub/subscription.py +6 -0
- pulumi_gcp/pulumi-plugin.json +1 -1
- pulumi_gcp/redis/_inputs.py +419 -0
- pulumi_gcp/redis/cluster.py +123 -0
- pulumi_gcp/redis/outputs.py +315 -0
- pulumi_gcp/securitycenter/__init__.py +2 -0
- pulumi_gcp/securitycenter/v2_folder_scc_big_query_export.py +857 -0
- pulumi_gcp/securitycenter/v2_organization_scc_big_query_exports.py +4 -4
- pulumi_gcp/securitycenter/v2_project_scc_big_query_export.py +796 -0
- {pulumi_gcp-8.0.0rc0.dist-info → pulumi_gcp-8.1.0.dist-info}/METADATA +1 -1
- {pulumi_gcp-8.0.0rc0.dist-info → pulumi_gcp-8.1.0.dist-info}/RECORD +101 -95
- {pulumi_gcp-8.0.0rc0.dist-info → pulumi_gcp-8.1.0.dist-info}/WHEEL +1 -1
- {pulumi_gcp-8.0.0rc0.dist-info → pulumi_gcp-8.1.0.dist-info}/top_level.txt +0 -0
@@ -203,7 +203,7 @@ class GetInstanceResult:
|
|
203
203
|
@pulumi.getter(name="currentStatus")
|
204
204
|
def current_status(self) -> str:
|
205
205
|
"""
|
206
|
-
The current status of the instance. This could be one of the following values: PROVISIONING, STAGING, RUNNING, STOPPING, SUSPENDING, SUSPENDED, REPAIRING, and TERMINATED. For more information about the status of the instance, see [Instance life cycle](https://cloud.google.com/compute/docs/instances/instance-life-cycle)
|
206
|
+
The current status of the instance. This could be one of the following values: PROVISIONING, STAGING, RUNNING, STOPPING, SUSPENDING, SUSPENDED, REPAIRING, and TERMINATED. For more information about the status of the instance, see [Instance life cycle](https://cloud.google.com/compute/docs/instances/instance-life-cycle).
|
207
207
|
"""
|
208
208
|
return pulumi.get(self, "current_status")
|
209
209
|
|
@@ -969,6 +969,63 @@ class HealthCheck(pulumi.CustomResource):
|
|
969
969
|
"enable": True,
|
970
970
|
})
|
971
971
|
```
|
972
|
+
### Compute Health Check Http Source Regions
|
973
|
+
|
974
|
+
```python
|
975
|
+
import pulumi
|
976
|
+
import pulumi_gcp as gcp
|
977
|
+
|
978
|
+
http_health_check_with_source_regions = gcp.compute.HealthCheck("http-health-check-with-source-regions",
|
979
|
+
name="http-health-check",
|
980
|
+
check_interval_sec=30,
|
981
|
+
http_health_check={
|
982
|
+
"port": 80,
|
983
|
+
"port_specification": "USE_FIXED_PORT",
|
984
|
+
},
|
985
|
+
source_regions=[
|
986
|
+
"us-west1",
|
987
|
+
"us-central1",
|
988
|
+
"us-east5",
|
989
|
+
])
|
990
|
+
```
|
991
|
+
### Compute Health Check Https Source Regions
|
992
|
+
|
993
|
+
```python
|
994
|
+
import pulumi
|
995
|
+
import pulumi_gcp as gcp
|
996
|
+
|
997
|
+
https_health_check_with_source_regions = gcp.compute.HealthCheck("https-health-check-with-source-regions",
|
998
|
+
name="https-health-check",
|
999
|
+
check_interval_sec=30,
|
1000
|
+
https_health_check={
|
1001
|
+
"port": 80,
|
1002
|
+
"port_specification": "USE_FIXED_PORT",
|
1003
|
+
},
|
1004
|
+
source_regions=[
|
1005
|
+
"us-west1",
|
1006
|
+
"us-central1",
|
1007
|
+
"us-east5",
|
1008
|
+
])
|
1009
|
+
```
|
1010
|
+
### Compute Health Check Tcp Source Regions
|
1011
|
+
|
1012
|
+
```python
|
1013
|
+
import pulumi
|
1014
|
+
import pulumi_gcp as gcp
|
1015
|
+
|
1016
|
+
tcp_health_check_with_source_regions = gcp.compute.HealthCheck("tcp-health-check-with-source-regions",
|
1017
|
+
name="tcp-health-check",
|
1018
|
+
check_interval_sec=30,
|
1019
|
+
tcp_health_check={
|
1020
|
+
"port": 80,
|
1021
|
+
"port_specification": "USE_FIXED_PORT",
|
1022
|
+
},
|
1023
|
+
source_regions=[
|
1024
|
+
"us-west1",
|
1025
|
+
"us-central1",
|
1026
|
+
"us-east5",
|
1027
|
+
])
|
1028
|
+
```
|
972
1029
|
|
973
1030
|
## Import
|
974
1031
|
|
@@ -1302,6 +1359,63 @@ class HealthCheck(pulumi.CustomResource):
|
|
1302
1359
|
"enable": True,
|
1303
1360
|
})
|
1304
1361
|
```
|
1362
|
+
### Compute Health Check Http Source Regions
|
1363
|
+
|
1364
|
+
```python
|
1365
|
+
import pulumi
|
1366
|
+
import pulumi_gcp as gcp
|
1367
|
+
|
1368
|
+
http_health_check_with_source_regions = gcp.compute.HealthCheck("http-health-check-with-source-regions",
|
1369
|
+
name="http-health-check",
|
1370
|
+
check_interval_sec=30,
|
1371
|
+
http_health_check={
|
1372
|
+
"port": 80,
|
1373
|
+
"port_specification": "USE_FIXED_PORT",
|
1374
|
+
},
|
1375
|
+
source_regions=[
|
1376
|
+
"us-west1",
|
1377
|
+
"us-central1",
|
1378
|
+
"us-east5",
|
1379
|
+
])
|
1380
|
+
```
|
1381
|
+
### Compute Health Check Https Source Regions
|
1382
|
+
|
1383
|
+
```python
|
1384
|
+
import pulumi
|
1385
|
+
import pulumi_gcp as gcp
|
1386
|
+
|
1387
|
+
https_health_check_with_source_regions = gcp.compute.HealthCheck("https-health-check-with-source-regions",
|
1388
|
+
name="https-health-check",
|
1389
|
+
check_interval_sec=30,
|
1390
|
+
https_health_check={
|
1391
|
+
"port": 80,
|
1392
|
+
"port_specification": "USE_FIXED_PORT",
|
1393
|
+
},
|
1394
|
+
source_regions=[
|
1395
|
+
"us-west1",
|
1396
|
+
"us-central1",
|
1397
|
+
"us-east5",
|
1398
|
+
])
|
1399
|
+
```
|
1400
|
+
### Compute Health Check Tcp Source Regions
|
1401
|
+
|
1402
|
+
```python
|
1403
|
+
import pulumi
|
1404
|
+
import pulumi_gcp as gcp
|
1405
|
+
|
1406
|
+
tcp_health_check_with_source_regions = gcp.compute.HealthCheck("tcp-health-check-with-source-regions",
|
1407
|
+
name="tcp-health-check",
|
1408
|
+
check_interval_sec=30,
|
1409
|
+
tcp_health_check={
|
1410
|
+
"port": 80,
|
1411
|
+
"port_specification": "USE_FIXED_PORT",
|
1412
|
+
},
|
1413
|
+
source_regions=[
|
1414
|
+
"us-west1",
|
1415
|
+
"us-central1",
|
1416
|
+
"us-east5",
|
1417
|
+
])
|
1418
|
+
```
|
1305
1419
|
|
1306
1420
|
## Import
|
1307
1421
|
|
pulumi_gcp/compute/instance.py
CHANGED
@@ -693,7 +693,7 @@ class _InstanceState:
|
|
693
693
|
This defaults to false.
|
694
694
|
:param pulumi.Input['InstanceConfidentialInstanceConfigArgs'] confidential_instance_config: Enable [Confidential Mode](https://cloud.google.com/compute/confidential-vm/docs/about-cvm) on this VM. Structure is documented below
|
695
695
|
:param pulumi.Input[str] cpu_platform: The CPU platform used by this instance.
|
696
|
-
:param pulumi.Input[str] current_status: The current status of the instance. This could be one of the following values: PROVISIONING, STAGING, RUNNING, STOPPING, SUSPENDING, SUSPENDED, REPAIRING, and TERMINATED. For more information about the status of the instance, see [Instance life cycle](https://cloud.google.com/compute/docs/instances/instance-life-cycle)
|
696
|
+
:param pulumi.Input[str] current_status: The current status of the instance. This could be one of the following values: PROVISIONING, STAGING, RUNNING, STOPPING, SUSPENDING, SUSPENDED, REPAIRING, and TERMINATED. For more information about the status of the instance, see [Instance life cycle](https://cloud.google.com/compute/docs/instances/instance-life-cycle).
|
697
697
|
:param pulumi.Input[bool] deletion_protection: Enable deletion protection on this instance. Defaults to false.
|
698
698
|
**Note:** you must disable deletion protection before removing the resource (e.g., via `pulumi destroy`), or the instance cannot be deleted and the provider run will not complete successfully.
|
699
699
|
:param pulumi.Input[str] description: A brief description of this resource.
|
@@ -955,7 +955,7 @@ class _InstanceState:
|
|
955
955
|
@pulumi.getter(name="currentStatus")
|
956
956
|
def current_status(self) -> Optional[pulumi.Input[str]]:
|
957
957
|
"""
|
958
|
-
The current status of the instance. This could be one of the following values: PROVISIONING, STAGING, RUNNING, STOPPING, SUSPENDING, SUSPENDED, REPAIRING, and TERMINATED. For more information about the status of the instance, see [Instance life cycle](https://cloud.google.com/compute/docs/instances/instance-life-cycle)
|
958
|
+
The current status of the instance. This could be one of the following values: PROVISIONING, STAGING, RUNNING, STOPPING, SUSPENDING, SUSPENDED, REPAIRING, and TERMINATED. For more information about the status of the instance, see [Instance life cycle](https://cloud.google.com/compute/docs/instances/instance-life-cycle).
|
959
959
|
"""
|
960
960
|
return pulumi.get(self, "current_status")
|
961
961
|
|
@@ -1488,6 +1488,47 @@ class Instance(pulumi.CustomResource):
|
|
1488
1488
|
})
|
1489
1489
|
```
|
1490
1490
|
|
1491
|
+
### Confidential Computing
|
1492
|
+
|
1493
|
+
Example with [Confidential Mode](https://cloud.google.com/confidential-computing/confidential-vm/docs/confidential-vm-overview) activated.
|
1494
|
+
|
1495
|
+
```python
|
1496
|
+
import pulumi
|
1497
|
+
import pulumi_gcp as gcp
|
1498
|
+
|
1499
|
+
default = gcp.serviceaccount.Account("default",
|
1500
|
+
account_id="my-custom-sa",
|
1501
|
+
display_name="Custom SA for VM Instance")
|
1502
|
+
confidential_instance = gcp.compute.Instance("confidential_instance",
|
1503
|
+
network_interfaces=[{
|
1504
|
+
"access_configs": [{}],
|
1505
|
+
"network": "default",
|
1506
|
+
}],
|
1507
|
+
name="my-confidential-instance",
|
1508
|
+
zone="us-central1-a",
|
1509
|
+
machine_type="n2d-standard-2",
|
1510
|
+
min_cpu_platform="AMD Milan",
|
1511
|
+
confidential_instance_config={
|
1512
|
+
"enable_confidential_compute": True,
|
1513
|
+
"confidential_instance_type": "SEV",
|
1514
|
+
},
|
1515
|
+
boot_disk={
|
1516
|
+
"initialize_params": {
|
1517
|
+
"image": "ubuntu-os-cloud/ubuntu-2004-lts",
|
1518
|
+
"labels": {
|
1519
|
+
"my_label": "value",
|
1520
|
+
},
|
1521
|
+
},
|
1522
|
+
},
|
1523
|
+
scratch_disks=[{
|
1524
|
+
"interface": "NVME",
|
1525
|
+
}],
|
1526
|
+
service_account={
|
1527
|
+
"email": default.email,
|
1528
|
+
"scopes": ["cloud-platform"],
|
1529
|
+
})
|
1530
|
+
```
|
1531
|
+
|
1491
1532
|
## Import
|
1492
1533
|
|
1493
1534
|
Instances can be imported using any of these accepted formats:
|
@@ -1659,6 +1700,47 @@ class Instance(pulumi.CustomResource):
|
|
1659
1700
|
})
|
1660
1701
|
```
|
1661
1702
|
|
1703
|
+
### Confidential Computing
|
1704
|
+
|
1705
|
+
Example with [Confidential Mode](https://cloud.google.com/confidential-computing/confidential-vm/docs/confidential-vm-overview) activated.
|
1706
|
+
|
1707
|
+
```python
|
1708
|
+
import pulumi
|
1709
|
+
import pulumi_gcp as gcp
|
1710
|
+
|
1711
|
+
default = gcp.serviceaccount.Account("default",
|
1712
|
+
account_id="my-custom-sa",
|
1713
|
+
display_name="Custom SA for VM Instance")
|
1714
|
+
confidential_instance = gcp.compute.Instance("confidential_instance",
|
1715
|
+
network_interfaces=[{
|
1716
|
+
"access_configs": [{}],
|
1717
|
+
"network": "default",
|
1718
|
+
}],
|
1719
|
+
name="my-confidential-instance",
|
1720
|
+
zone="us-central1-a",
|
1721
|
+
machine_type="n2d-standard-2",
|
1722
|
+
min_cpu_platform="AMD Milan",
|
1723
|
+
confidential_instance_config={
|
1724
|
+
"enable_confidential_compute": True,
|
1725
|
+
"confidential_instance_type": "SEV",
|
1726
|
+
},
|
1727
|
+
boot_disk={
|
1728
|
+
"initialize_params": {
|
1729
|
+
"image": "ubuntu-os-cloud/ubuntu-2004-lts",
|
1730
|
+
"labels": {
|
1731
|
+
"my_label": "value",
|
1732
|
+
},
|
1733
|
+
},
|
1734
|
+
},
|
1735
|
+
scratch_disks=[{
|
1736
|
+
"interface": "NVME",
|
1737
|
+
}],
|
1738
|
+
service_account={
|
1739
|
+
"email": default.email,
|
1740
|
+
"scopes": ["cloud-platform"],
|
1741
|
+
})
|
1742
|
+
```
|
1743
|
+
|
1662
1744
|
## Import
|
1663
1745
|
|
1664
1746
|
Instances can be imported using any of these accepted formats:
|
@@ -1854,7 +1936,7 @@ class Instance(pulumi.CustomResource):
|
|
1854
1936
|
This defaults to false.
|
1855
1937
|
:param pulumi.Input[Union['InstanceConfidentialInstanceConfigArgs', 'InstanceConfidentialInstanceConfigArgsDict']] confidential_instance_config: Enable [Confidential Mode](https://cloud.google.com/compute/confidential-vm/docs/about-cvm) on this VM. Structure is documented below
|
1856
1938
|
:param pulumi.Input[str] cpu_platform: The CPU platform used by this instance.
|
1857
|
-
:param pulumi.Input[str] current_status: The current status of the instance. This could be one of the following values: PROVISIONING, STAGING, RUNNING, STOPPING, SUSPENDING, SUSPENDED, REPAIRING, and TERMINATED. For more information about the status of the instance, see [Instance life cycle](https://cloud.google.com/compute/docs/instances/instance-life-cycle)
|
1939
|
+
:param pulumi.Input[str] current_status: The current status of the instance. This could be one of the following values: PROVISIONING, STAGING, RUNNING, STOPPING, SUSPENDING, SUSPENDED, REPAIRING, and TERMINATED. For more information about the status of the instance, see [Instance life cycle](https://cloud.google.com/compute/docs/instances/instance-life-cycle).
|
1858
1940
|
:param pulumi.Input[bool] deletion_protection: Enable deletion protection on this instance. Defaults to false.
|
1859
1941
|
**Note:** you must disable deletion protection before removing the resource (e.g., via `pulumi destroy`), or the instance cannot be deleted and the provider run will not complete successfully.
|
1860
1942
|
:param pulumi.Input[str] description: A brief description of this resource.
|
@@ -2053,7 +2135,7 @@ class Instance(pulumi.CustomResource):
|
|
2053
2135
|
@pulumi.getter(name="currentStatus")
|
2054
2136
|
def current_status(self) -> pulumi.Output[str]:
|
2055
2137
|
"""
|
2056
|
-
The current status of the instance. This could be one of the following values: PROVISIONING, STAGING, RUNNING, STOPPING, SUSPENDING, SUSPENDED, REPAIRING, and TERMINATED. For more information about the status of the instance, see [Instance life cycle](https://cloud.google.com/compute/docs/instances/instance-life-cycle)
|
2138
|
+
The current status of the instance. This could be one of the following values: PROVISIONING, STAGING, RUNNING, STOPPING, SUSPENDING, SUSPENDED, REPAIRING, and TERMINATED. For more information about the status of the instance, see [Instance life cycle](https://cloud.google.com/compute/docs/instances/instance-life-cycle).
|
2057
2139
|
"""
|
2058
2140
|
return pulumi.get(self, "current_status")
|
2059
2141
|
|
@@ -1348,6 +1348,39 @@ class InstanceTemplate(pulumi.CustomResource):
|
|
1348
1348
|
})
|
1349
1349
|
```
|
1350
1350
|
|
1351
|
+
### Confidential Computing
|
1352
|
+
|
1353
|
+
Example with [Confidential Mode](https://cloud.google.com/confidential-computing/confidential-vm/docs/confidential-vm-overview) activated.
|
1354
|
+
|
1355
|
+
```python
|
1356
|
+
import pulumi
|
1357
|
+
import pulumi_gcp as gcp
|
1358
|
+
|
1359
|
+
default = gcp.serviceaccount.Account("default",
|
1360
|
+
account_id="my-custom-sa",
|
1361
|
+
display_name="Custom SA for VM Instance")
|
1362
|
+
confidential_instance_template = gcp.compute.InstanceTemplate("confidential_instance_template",
|
1363
|
+
network_interfaces=[{
|
1364
|
+
"access_configs": [{}],
|
1365
|
+
"network": "default",
|
1366
|
+
}],
|
1367
|
+
name="my-confidential-instance-template",
|
1368
|
+
region="us-central1",
|
1369
|
+
machine_type="n2d-standard-2",
|
1370
|
+
min_cpu_platform="AMD Milan",
|
1371
|
+
confidential_instance_config={
|
1372
|
+
"enable_confidential_compute": True,
|
1373
|
+
"confidential_instance_type": "SEV",
|
1374
|
+
},
|
1375
|
+
disks=[{
|
1376
|
+
"source_image": "ubuntu-os-cloud/ubuntu-2004-lts",
|
1377
|
+
}],
|
1378
|
+
service_account={
|
1379
|
+
"email": default.email,
|
1380
|
+
"scopes": ["cloud-platform"],
|
1381
|
+
})
|
1382
|
+
```
|
1383
|
+
|
1351
1384
|
## Deploying the Latest Image
|
1352
1385
|
|
1353
1386
|
A common way to use instance templates and managed instance groups is to deploy the
|
@@ -1649,6 +1682,39 @@ class InstanceTemplate(pulumi.CustomResource):
|
|
1649
1682
|
})
|
1650
1683
|
```
|
1651
1684
|
|
1685
|
+
### Confidential Computing
|
1686
|
+
|
1687
|
+
Example with [Confidential Mode](https://cloud.google.com/confidential-computing/confidential-vm/docs/confidential-vm-overview) activated.
|
1688
|
+
|
1689
|
+
```python
|
1690
|
+
import pulumi
|
1691
|
+
import pulumi_gcp as gcp
|
1692
|
+
|
1693
|
+
default = gcp.serviceaccount.Account("default",
|
1694
|
+
account_id="my-custom-sa",
|
1695
|
+
display_name="Custom SA for VM Instance")
|
1696
|
+
confidential_instance_template = gcp.compute.InstanceTemplate("confidential_instance_template",
|
1697
|
+
network_interfaces=[{
|
1698
|
+
"access_configs": [{}],
|
1699
|
+
"network": "default",
|
1700
|
+
}],
|
1701
|
+
name="my-confidential-instance-template",
|
1702
|
+
region="us-central1",
|
1703
|
+
machine_type="n2d-standard-2",
|
1704
|
+
min_cpu_platform="AMD Milan",
|
1705
|
+
confidential_instance_config={
|
1706
|
+
"enable_confidential_compute": True,
|
1707
|
+
"confidential_instance_type": "SEV",
|
1708
|
+
},
|
1709
|
+
disks=[{
|
1710
|
+
"source_image": "ubuntu-os-cloud/ubuntu-2004-lts",
|
1711
|
+
}],
|
1712
|
+
service_account={
|
1713
|
+
"email": default.email,
|
1714
|
+
"scopes": ["cloud-platform"],
|
1715
|
+
})
|
1716
|
+
```
|
1717
|
+
|
1652
1718
|
## Deploying the Latest Image
|
1653
1719
|
|
1654
1720
|
A common way to use instance templates and managed instance groups is to deploy the
|
@@ -83,11 +83,12 @@ class InterconnectArgs:
|
|
83
83
|
If it is not provided, the provider project is used.
|
84
84
|
:param pulumi.Input[str] remote_location: Indicates that this is a Cross-Cloud Interconnect. This field specifies the location outside
|
85
85
|
of Google's network that the interconnect is connected to.
|
86
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] requested_features: interconnects.list of features requested for this Interconnect connection. Options:
|
86
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] requested_features: interconnects.list of features requested for this Interconnect connection. Options: IF_MACSEC (
|
87
87
|
If specified then the connection is created on MACsec capable hardware ports. If not
|
88
88
|
specified, the default value is false, which allocates non-MACsec capable ports first if
|
89
|
-
available).
|
90
|
-
|
89
|
+
available). Note that MACSEC is still technically allowed for compatibility reasons, but it
|
90
|
+
does not work with the API, and will be removed in an upcoming major version.
|
91
|
+
Each value may be one of: `MACSEC`, `IF_MACSEC`.
|
91
92
|
"""
|
92
93
|
pulumi.set(__self__, "customer_name", customer_name)
|
93
94
|
pulumi.set(__self__, "interconnect_type", interconnect_type)
|
@@ -318,11 +319,12 @@ class InterconnectArgs:
|
|
318
319
|
@pulumi.getter(name="requestedFeatures")
|
319
320
|
def requested_features(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
320
321
|
"""
|
321
|
-
interconnects.list of features requested for this Interconnect connection. Options:
|
322
|
+
interconnects.list of features requested for this Interconnect connection. Options: IF_MACSEC (
|
322
323
|
If specified then the connection is created on MACsec capable hardware ports. If not
|
323
324
|
specified, the default value is false, which allocates non-MACsec capable ports first if
|
324
|
-
available).
|
325
|
-
|
325
|
+
available). Note that MACSEC is still technically allowed for compatibility reasons, but it
|
326
|
+
does not work with the API, and will be removed in an upcoming major version.
|
327
|
+
Each value may be one of: `MACSEC`, `IF_MACSEC`.
|
326
328
|
"""
|
327
329
|
return pulumi.get(self, "requested_features")
|
328
330
|
|
@@ -443,11 +445,12 @@ class _InterconnectState:
|
|
443
445
|
and default labels configured on the provider.
|
444
446
|
:param pulumi.Input[str] remote_location: Indicates that this is a Cross-Cloud Interconnect. This field specifies the location outside
|
445
447
|
of Google's network that the interconnect is connected to.
|
446
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] requested_features: interconnects.list of features requested for this Interconnect connection. Options:
|
448
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] requested_features: interconnects.list of features requested for this Interconnect connection. Options: IF_MACSEC (
|
447
449
|
If specified then the connection is created on MACsec capable hardware ports. If not
|
448
450
|
specified, the default value is false, which allocates non-MACsec capable ports first if
|
449
|
-
available).
|
450
|
-
|
451
|
+
available). Note that MACSEC is still technically allowed for compatibility reasons, but it
|
452
|
+
does not work with the API, and will be removed in an upcoming major version.
|
453
|
+
Each value may be one of: `MACSEC`, `IF_MACSEC`.
|
451
454
|
:param pulumi.Input[int] requested_link_count: Target number of physical links in the link bundle, as requested by the customer.
|
452
455
|
:param pulumi.Input[bool] satisfies_pzs: Reserved for future use.
|
453
456
|
:param pulumi.Input[str] state: (Output)
|
@@ -887,11 +890,12 @@ class _InterconnectState:
|
|
887
890
|
@pulumi.getter(name="requestedFeatures")
|
888
891
|
def requested_features(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
889
892
|
"""
|
890
|
-
interconnects.list of features requested for this Interconnect connection. Options:
|
893
|
+
interconnects.list of features requested for this Interconnect connection. Options: IF_MACSEC (
|
891
894
|
If specified then the connection is created on MACsec capable hardware ports. If not
|
892
895
|
specified, the default value is false, which allocates non-MACsec capable ports first if
|
893
|
-
available).
|
894
|
-
|
896
|
+
available). Note that MACSEC is still technically allowed for compatibility reasons, but it
|
897
|
+
does not work with the API, and will be removed in an upcoming major version.
|
898
|
+
Each value may be one of: `MACSEC`, `IF_MACSEC`.
|
895
899
|
"""
|
896
900
|
return pulumi.get(self, "requested_features")
|
897
901
|
|
@@ -1062,11 +1066,12 @@ class Interconnect(pulumi.CustomResource):
|
|
1062
1066
|
If it is not provided, the provider project is used.
|
1063
1067
|
:param pulumi.Input[str] remote_location: Indicates that this is a Cross-Cloud Interconnect. This field specifies the location outside
|
1064
1068
|
of Google's network that the interconnect is connected to.
|
1065
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] requested_features: interconnects.list of features requested for this Interconnect connection. Options:
|
1069
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] requested_features: interconnects.list of features requested for this Interconnect connection. Options: IF_MACSEC (
|
1066
1070
|
If specified then the connection is created on MACsec capable hardware ports. If not
|
1067
1071
|
specified, the default value is false, which allocates non-MACsec capable ports first if
|
1068
|
-
available).
|
1069
|
-
|
1072
|
+
available). Note that MACSEC is still technically allowed for compatibility reasons, but it
|
1073
|
+
does not work with the API, and will be removed in an upcoming major version.
|
1074
|
+
Each value may be one of: `MACSEC`, `IF_MACSEC`.
|
1070
1075
|
:param pulumi.Input[int] requested_link_count: Target number of physical links in the link bundle, as requested by the customer.
|
1071
1076
|
"""
|
1072
1077
|
...
|
@@ -1332,11 +1337,12 @@ class Interconnect(pulumi.CustomResource):
|
|
1332
1337
|
and default labels configured on the provider.
|
1333
1338
|
:param pulumi.Input[str] remote_location: Indicates that this is a Cross-Cloud Interconnect. This field specifies the location outside
|
1334
1339
|
of Google's network that the interconnect is connected to.
|
1335
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] requested_features: interconnects.list of features requested for this Interconnect connection. Options:
|
1340
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] requested_features: interconnects.list of features requested for this Interconnect connection. Options: IF_MACSEC (
|
1336
1341
|
If specified then the connection is created on MACsec capable hardware ports. If not
|
1337
1342
|
specified, the default value is false, which allocates non-MACsec capable ports first if
|
1338
|
-
available).
|
1339
|
-
|
1343
|
+
available). Note that MACSEC is still technically allowed for compatibility reasons, but it
|
1344
|
+
does not work with the API, and will be removed in an upcoming major version.
|
1345
|
+
Each value may be one of: `MACSEC`, `IF_MACSEC`.
|
1340
1346
|
:param pulumi.Input[int] requested_link_count: Target number of physical links in the link bundle, as requested by the customer.
|
1341
1347
|
:param pulumi.Input[bool] satisfies_pzs: Reserved for future use.
|
1342
1348
|
:param pulumi.Input[str] state: (Output)
|
@@ -1647,11 +1653,12 @@ class Interconnect(pulumi.CustomResource):
|
|
1647
1653
|
@pulumi.getter(name="requestedFeatures")
|
1648
1654
|
def requested_features(self) -> pulumi.Output[Optional[Sequence[str]]]:
|
1649
1655
|
"""
|
1650
|
-
interconnects.list of features requested for this Interconnect connection. Options:
|
1656
|
+
interconnects.list of features requested for this Interconnect connection. Options: IF_MACSEC (
|
1651
1657
|
If specified then the connection is created on MACsec capable hardware ports. If not
|
1652
1658
|
specified, the default value is false, which allocates non-MACsec capable ports first if
|
1653
|
-
available).
|
1654
|
-
|
1659
|
+
available). Note that MACSEC is still technically allowed for compatibility reasons, but it
|
1660
|
+
does not work with the API, and will be removed in an upcoming major version.
|
1661
|
+
Each value may be one of: `MACSEC`, `IF_MACSEC`.
|
1655
1662
|
"""
|
1656
1663
|
return pulumi.get(self, "requested_features")
|
1657
1664
|
|