pulumi-gcp 8.1.0__py3-none-any.whl → 8.1.0a1726293903__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- pulumi_gcp/__init__.py +0 -24
- pulumi_gcp/alloydb/_inputs.py +0 -94
- pulumi_gcp/alloydb/cluster.py +1 -94
- pulumi_gcp/alloydb/outputs.py +0 -79
- pulumi_gcp/assuredworkloads/workload.py +16 -135
- pulumi_gcp/backupdisasterrecovery/__init__.py +0 -1
- pulumi_gcp/bigquery/_inputs.py +0 -33
- pulumi_gcp/bigquery/data_transfer_config.py +6 -134
- pulumi_gcp/bigquery/outputs.py +0 -36
- pulumi_gcp/bigqueryanalyticshub/_inputs.py +7 -169
- pulumi_gcp/bigqueryanalyticshub/data_exchange.py +3 -96
- pulumi_gcp/bigqueryanalyticshub/listing.py +0 -114
- pulumi_gcp/bigqueryanalyticshub/outputs.py +5 -138
- pulumi_gcp/bigtable/_inputs.py +1 -21
- pulumi_gcp/bigtable/outputs.py +1 -13
- pulumi_gcp/bigtable/table.py +0 -34
- pulumi_gcp/certificateauthority/authority.py +7 -14
- pulumi_gcp/certificatemanager/__init__.py +0 -1
- pulumi_gcp/certificatemanager/certificate.py +0 -28
- pulumi_gcp/certificatemanager/outputs.py +0 -322
- pulumi_gcp/cloudbuild/_inputs.py +6 -6
- pulumi_gcp/cloudbuild/outputs.py +4 -4
- pulumi_gcp/cloudrun/_inputs.py +12 -6
- pulumi_gcp/cloudrun/outputs.py +16 -8
- pulumi_gcp/cloudrunv2/_inputs.py +15 -72
- pulumi_gcp/cloudrunv2/outputs.py +16 -82
- pulumi_gcp/cloudrunv2/service.py +4 -50
- pulumi_gcp/cloudtasks/_inputs.py +0 -630
- pulumi_gcp/cloudtasks/outputs.py +0 -479
- pulumi_gcp/cloudtasks/queue.py +0 -238
- pulumi_gcp/compute/_inputs.py +9 -129
- pulumi_gcp/compute/get_instance.py +1 -1
- pulumi_gcp/compute/health_check.py +0 -114
- pulumi_gcp/compute/instance.py +4 -86
- pulumi_gcp/compute/instance_template.py +0 -66
- pulumi_gcp/compute/interconnect.py +21 -28
- pulumi_gcp/compute/node_template.py +0 -93
- pulumi_gcp/compute/outputs.py +6 -108
- pulumi_gcp/compute/target_https_proxy.py +0 -28
- pulumi_gcp/container/_inputs.py +3 -140
- pulumi_gcp/container/attached_cluster.py +7 -7
- pulumi_gcp/container/outputs.py +2 -174
- pulumi_gcp/databasemigrationservice/_inputs.py +148 -176
- pulumi_gcp/databasemigrationservice/connection_profile.py +0 -206
- pulumi_gcp/databasemigrationservice/outputs.py +87 -109
- pulumi_gcp/dataloss/_inputs.py +1 -353
- pulumi_gcp/dataloss/outputs.py +3 -274
- pulumi_gcp/dataproc/_inputs.py +27 -27
- pulumi_gcp/dataproc/outputs.py +18 -18
- pulumi_gcp/datastream/_inputs.py +1 -69
- pulumi_gcp/datastream/outputs.py +2 -44
- pulumi_gcp/datastream/stream.py +7 -194
- pulumi_gcp/discoveryengine/_inputs.py +0 -188
- pulumi_gcp/discoveryengine/data_store.py +14 -14
- pulumi_gcp/discoveryengine/outputs.py +1 -153
- pulumi_gcp/firebase/database_instance.py +7 -7
- pulumi_gcp/gkehub/_inputs.py +1 -25
- pulumi_gcp/gkehub/feature_membership.py +6 -12
- pulumi_gcp/gkehub/outputs.py +1 -17
- pulumi_gcp/iam/_inputs.py +0 -196
- pulumi_gcp/iam/get_workload_identity_pool_provider.py +3 -13
- pulumi_gcp/iam/outputs.py +0 -295
- pulumi_gcp/iam/workload_identity_pool_provider.py +3 -164
- pulumi_gcp/kms/__init__.py +0 -2
- pulumi_gcp/kms/autokey_config.py +2 -10
- pulumi_gcp/kms/outputs.py +0 -164
- 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 +0 -7
- pulumi_gcp/networkconnectivity/_inputs.py +1 -21
- pulumi_gcp/networkconnectivity/outputs.py +1 -15
- pulumi_gcp/networkconnectivity/spoke.py +0 -8
- pulumi_gcp/networksecurity/client_tls_policy.py +22 -24
- pulumi_gcp/networksecurity/server_tls_policy.py +32 -20
- pulumi_gcp/organizations/get_project.py +3 -13
- pulumi_gcp/organizations/project.py +3 -88
- pulumi_gcp/parallelstore/instance.py +121 -121
- pulumi_gcp/projects/iam_member_remove.py +0 -26
- pulumi_gcp/projects/usage_export_bucket.py +0 -38
- pulumi_gcp/pubsub/_inputs.py +0 -40
- pulumi_gcp/pubsub/outputs.py +1 -51
- pulumi_gcp/pubsub/subscription.py +0 -6
- pulumi_gcp/pulumi-plugin.json +1 -1
- pulumi_gcp/redis/_inputs.py +0 -419
- pulumi_gcp/redis/cluster.py +0 -123
- pulumi_gcp/redis/outputs.py +0 -315
- pulumi_gcp/securitycenter/__init__.py +0 -2
- pulumi_gcp/securitycenter/v2_organization_scc_big_query_exports.py +4 -4
- {pulumi_gcp-8.1.0.dist-info → pulumi_gcp-8.1.0a1726293903.dist-info}/METADATA +1 -1
- {pulumi_gcp-8.1.0.dist-info → pulumi_gcp-8.1.0a1726293903.dist-info}/RECORD +95 -101
- {pulumi_gcp-8.1.0.dist-info → pulumi_gcp-8.1.0a1726293903.dist-info}/WHEEL +1 -1
- pulumi_gcp/backupdisasterrecovery/backup_vault.py +0 -1203
- pulumi_gcp/certificatemanager/get_certificates.py +0 -150
- pulumi_gcp/kms/get_crypto_key_latest_version.py +0 -222
- pulumi_gcp/kms/get_crypto_key_versions.py +0 -175
- pulumi_gcp/securitycenter/v2_folder_scc_big_query_export.py +0 -857
- pulumi_gcp/securitycenter/v2_project_scc_big_query_export.py +0 -796
- {pulumi_gcp-8.1.0.dist-info → pulumi_gcp-8.1.0a1726293903.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,63 +969,6 @@ 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
|
-
```
|
1029
972
|
|
1030
973
|
## Import
|
1031
974
|
|
@@ -1359,63 +1302,6 @@ class HealthCheck(pulumi.CustomResource):
|
|
1359
1302
|
"enable": True,
|
1360
1303
|
})
|
1361
1304
|
```
|
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
|
-
```
|
1419
1305
|
|
1420
1306
|
## Import
|
1421
1307
|
|
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,47 +1488,6 @@ 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
|
-
|
1532
1491
|
## Import
|
1533
1492
|
|
1534
1493
|
Instances can be imported using any of these accepted formats:
|
@@ -1700,47 +1659,6 @@ class Instance(pulumi.CustomResource):
|
|
1700
1659
|
})
|
1701
1660
|
```
|
1702
1661
|
|
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
|
-
|
1744
1662
|
## Import
|
1745
1663
|
|
1746
1664
|
Instances can be imported using any of these accepted formats:
|
@@ -1936,7 +1854,7 @@ class Instance(pulumi.CustomResource):
|
|
1936
1854
|
This defaults to false.
|
1937
1855
|
: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
|
1938
1856
|
:param pulumi.Input[str] cpu_platform: The CPU platform used by this instance.
|
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)
|
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).`,
|
1940
1858
|
:param pulumi.Input[bool] deletion_protection: Enable deletion protection on this instance. Defaults to false.
|
1941
1859
|
**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.
|
1942
1860
|
:param pulumi.Input[str] description: A brief description of this resource.
|
@@ -2135,7 +2053,7 @@ class Instance(pulumi.CustomResource):
|
|
2135
2053
|
@pulumi.getter(name="currentStatus")
|
2136
2054
|
def current_status(self) -> pulumi.Output[str]:
|
2137
2055
|
"""
|
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)
|
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).`,
|
2139
2057
|
"""
|
2140
2058
|
return pulumi.get(self, "current_status")
|
2141
2059
|
|
@@ -1348,39 +1348,6 @@ 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
|
-
|
1384
1351
|
## Deploying the Latest Image
|
1385
1352
|
|
1386
1353
|
A common way to use instance templates and managed instance groups is to deploy the
|
@@ -1682,39 +1649,6 @@ class InstanceTemplate(pulumi.CustomResource):
|
|
1682
1649
|
})
|
1683
1650
|
```
|
1684
1651
|
|
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
|
-
|
1718
1652
|
## Deploying the Latest Image
|
1719
1653
|
|
1720
1654
|
A common way to use instance templates and managed instance groups is to deploy the
|
@@ -83,12 +83,11 @@ 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: 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
|
-
|
91
|
-
Each value may be one of: `MACSEC`, `IF_MACSEC`.
|
89
|
+
available).
|
90
|
+
Each value may be one of: `MACSEC`.
|
92
91
|
"""
|
93
92
|
pulumi.set(__self__, "customer_name", customer_name)
|
94
93
|
pulumi.set(__self__, "interconnect_type", interconnect_type)
|
@@ -319,12 +318,11 @@ class InterconnectArgs:
|
|
319
318
|
@pulumi.getter(name="requestedFeatures")
|
320
319
|
def requested_features(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
321
320
|
"""
|
322
|
-
interconnects.list of features requested for this Interconnect connection. Options:
|
321
|
+
interconnects.list of features requested for this Interconnect connection. Options: MACSEC (
|
323
322
|
If specified then the connection is created on MACsec capable hardware ports. If not
|
324
323
|
specified, the default value is false, which allocates non-MACsec capable ports first if
|
325
|
-
available).
|
326
|
-
|
327
|
-
Each value may be one of: `MACSEC`, `IF_MACSEC`.
|
324
|
+
available).
|
325
|
+
Each value may be one of: `MACSEC`.
|
328
326
|
"""
|
329
327
|
return pulumi.get(self, "requested_features")
|
330
328
|
|
@@ -445,12 +443,11 @@ class _InterconnectState:
|
|
445
443
|
and default labels configured on the provider.
|
446
444
|
:param pulumi.Input[str] remote_location: Indicates that this is a Cross-Cloud Interconnect. This field specifies the location outside
|
447
445
|
of Google's network that the interconnect is connected to.
|
448
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] requested_features: interconnects.list of features requested for this Interconnect connection. Options:
|
446
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] requested_features: interconnects.list of features requested for this Interconnect connection. Options: MACSEC (
|
449
447
|
If specified then the connection is created on MACsec capable hardware ports. If not
|
450
448
|
specified, the default value is false, which allocates non-MACsec capable ports first if
|
451
|
-
available).
|
452
|
-
|
453
|
-
Each value may be one of: `MACSEC`, `IF_MACSEC`.
|
449
|
+
available).
|
450
|
+
Each value may be one of: `MACSEC`.
|
454
451
|
:param pulumi.Input[int] requested_link_count: Target number of physical links in the link bundle, as requested by the customer.
|
455
452
|
:param pulumi.Input[bool] satisfies_pzs: Reserved for future use.
|
456
453
|
:param pulumi.Input[str] state: (Output)
|
@@ -890,12 +887,11 @@ class _InterconnectState:
|
|
890
887
|
@pulumi.getter(name="requestedFeatures")
|
891
888
|
def requested_features(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
892
889
|
"""
|
893
|
-
interconnects.list of features requested for this Interconnect connection. Options:
|
890
|
+
interconnects.list of features requested for this Interconnect connection. Options: MACSEC (
|
894
891
|
If specified then the connection is created on MACsec capable hardware ports. If not
|
895
892
|
specified, the default value is false, which allocates non-MACsec capable ports first if
|
896
|
-
available).
|
897
|
-
|
898
|
-
Each value may be one of: `MACSEC`, `IF_MACSEC`.
|
893
|
+
available).
|
894
|
+
Each value may be one of: `MACSEC`.
|
899
895
|
"""
|
900
896
|
return pulumi.get(self, "requested_features")
|
901
897
|
|
@@ -1066,12 +1062,11 @@ class Interconnect(pulumi.CustomResource):
|
|
1066
1062
|
If it is not provided, the provider project is used.
|
1067
1063
|
:param pulumi.Input[str] remote_location: Indicates that this is a Cross-Cloud Interconnect. This field specifies the location outside
|
1068
1064
|
of Google's network that the interconnect is connected to.
|
1069
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] requested_features: interconnects.list of features requested for this Interconnect connection. Options:
|
1065
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] requested_features: interconnects.list of features requested for this Interconnect connection. Options: MACSEC (
|
1070
1066
|
If specified then the connection is created on MACsec capable hardware ports. If not
|
1071
1067
|
specified, the default value is false, which allocates non-MACsec capable ports first if
|
1072
|
-
available).
|
1073
|
-
|
1074
|
-
Each value may be one of: `MACSEC`, `IF_MACSEC`.
|
1068
|
+
available).
|
1069
|
+
Each value may be one of: `MACSEC`.
|
1075
1070
|
:param pulumi.Input[int] requested_link_count: Target number of physical links in the link bundle, as requested by the customer.
|
1076
1071
|
"""
|
1077
1072
|
...
|
@@ -1337,12 +1332,11 @@ class Interconnect(pulumi.CustomResource):
|
|
1337
1332
|
and default labels configured on the provider.
|
1338
1333
|
:param pulumi.Input[str] remote_location: Indicates that this is a Cross-Cloud Interconnect. This field specifies the location outside
|
1339
1334
|
of Google's network that the interconnect is connected to.
|
1340
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] requested_features: interconnects.list of features requested for this Interconnect connection. Options:
|
1335
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] requested_features: interconnects.list of features requested for this Interconnect connection. Options: MACSEC (
|
1341
1336
|
If specified then the connection is created on MACsec capable hardware ports. If not
|
1342
1337
|
specified, the default value is false, which allocates non-MACsec capable ports first if
|
1343
|
-
available).
|
1344
|
-
|
1345
|
-
Each value may be one of: `MACSEC`, `IF_MACSEC`.
|
1338
|
+
available).
|
1339
|
+
Each value may be one of: `MACSEC`.
|
1346
1340
|
:param pulumi.Input[int] requested_link_count: Target number of physical links in the link bundle, as requested by the customer.
|
1347
1341
|
:param pulumi.Input[bool] satisfies_pzs: Reserved for future use.
|
1348
1342
|
:param pulumi.Input[str] state: (Output)
|
@@ -1653,12 +1647,11 @@ class Interconnect(pulumi.CustomResource):
|
|
1653
1647
|
@pulumi.getter(name="requestedFeatures")
|
1654
1648
|
def requested_features(self) -> pulumi.Output[Optional[Sequence[str]]]:
|
1655
1649
|
"""
|
1656
|
-
interconnects.list of features requested for this Interconnect connection. Options:
|
1650
|
+
interconnects.list of features requested for this Interconnect connection. Options: MACSEC (
|
1657
1651
|
If specified then the connection is created on MACsec capable hardware ports. If not
|
1658
1652
|
specified, the default value is false, which allocates non-MACsec capable ports first if
|
1659
|
-
available).
|
1660
|
-
|
1661
|
-
Each value may be one of: `MACSEC`, `IF_MACSEC`.
|
1653
|
+
available).
|
1654
|
+
Each value may be one of: `MACSEC`.
|
1662
1655
|
"""
|
1663
1656
|
return pulumi.get(self, "requested_features")
|
1664
1657
|
|