pulumi-gcp 8.7.0a1730183903__py3-none-any.whl → 8.7.0a1730196225__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 +70 -0
- pulumi_gcp/accesscontextmanager/service_perimeter.py +2 -0
- pulumi_gcp/accesscontextmanager/service_perimeter_dry_run_egress_policy.py +4 -0
- pulumi_gcp/accesscontextmanager/service_perimeter_dry_run_ingress_policy.py +4 -0
- pulumi_gcp/accesscontextmanager/service_perimeter_egress_policy.py +4 -0
- pulumi_gcp/accesscontextmanager/service_perimeter_ingress_policy.py +4 -0
- pulumi_gcp/accesscontextmanager/service_perimeters.py +2 -0
- pulumi_gcp/apigee/__init__.py +2 -0
- pulumi_gcp/apigee/_inputs.py +108 -0
- pulumi_gcp/apigee/app_group.py +811 -0
- pulumi_gcp/apigee/developer.py +757 -0
- pulumi_gcp/apigee/outputs.py +64 -0
- pulumi_gcp/artifactregistry/get_docker_image.py +40 -0
- pulumi_gcp/bigquery/connection.py +12 -12
- pulumi_gcp/bigquery/job.py +6 -6
- pulumi_gcp/cloudrunv2/get_service.py +12 -1
- pulumi_gcp/cloudrunv2/service.py +92 -0
- pulumi_gcp/compute/_inputs.py +214 -116
- pulumi_gcp/compute/backend_service.py +76 -0
- pulumi_gcp/compute/get_backend_service.py +12 -1
- pulumi_gcp/compute/get_instance.py +29 -1
- pulumi_gcp/compute/get_instance_template.py +29 -1
- pulumi_gcp/compute/get_region_instance_group_manager.py +0 -18
- pulumi_gcp/compute/get_region_instance_template.py +29 -1
- pulumi_gcp/compute/instance.py +89 -0
- pulumi_gcp/compute/instance_from_machine_image.py +82 -0
- pulumi_gcp/compute/instance_from_template.py +82 -0
- pulumi_gcp/compute/instance_template.py +75 -0
- pulumi_gcp/compute/network_firewall_policy_association.py +76 -50
- pulumi_gcp/compute/network_firewall_policy_rule.py +149 -103
- pulumi_gcp/compute/outputs.py +170 -80
- pulumi_gcp/compute/region_backend_service.py +94 -0
- pulumi_gcp/compute/region_instance_template.py +75 -0
- pulumi_gcp/compute/region_network_endpoint_group.py +6 -4
- pulumi_gcp/compute/region_network_firewall_policy_association.py +104 -54
- pulumi_gcp/compute/region_network_firewall_policy_rule.py +160 -107
- pulumi_gcp/config/__init__.pyi +4 -0
- pulumi_gcp/config/vars.py +8 -0
- pulumi_gcp/container/attached_cluster.py +9 -6
- pulumi_gcp/container/outputs.py +2 -2
- pulumi_gcp/datastream/stream.py +2 -2
- pulumi_gcp/diagflow/_inputs.py +472 -2
- pulumi_gcp/diagflow/cx_agent.py +64 -4
- pulumi_gcp/diagflow/cx_flow.py +30 -0
- pulumi_gcp/diagflow/outputs.py +378 -2
- pulumi_gcp/gkehub/feature.py +2 -4
- pulumi_gcp/iam/workload_identity_pool_provider.py +56 -0
- pulumi_gcp/looker/instance.py +104 -2
- pulumi_gcp/monitoring/_inputs.py +23 -0
- pulumi_gcp/monitoring/get_secret_version.py +22 -3
- pulumi_gcp/monitoring/outputs.py +16 -0
- pulumi_gcp/networkconnectivity/__init__.py +1 -0
- pulumi_gcp/networkconnectivity/_inputs.py +148 -0
- pulumi_gcp/networkconnectivity/group.py +764 -0
- pulumi_gcp/networkconnectivity/outputs.py +125 -0
- pulumi_gcp/networkconnectivity/spoke.py +144 -0
- pulumi_gcp/networksecurity/server_tls_policy.py +2 -2
- pulumi_gcp/oracledatabase/__init__.py +20 -0
- pulumi_gcp/oracledatabase/_inputs.py +4745 -0
- pulumi_gcp/oracledatabase/autonomous_database.py +983 -0
- pulumi_gcp/oracledatabase/cloud_exadata_infrastructure.py +842 -0
- pulumi_gcp/oracledatabase/cloud_vm_cluster.py +1086 -0
- pulumi_gcp/oracledatabase/get_autonomous_database.py +290 -0
- pulumi_gcp/oracledatabase/get_autonomous_databases.py +150 -0
- pulumi_gcp/oracledatabase/get_cloud_exadata_infrastructure.py +257 -0
- pulumi_gcp/oracledatabase/get_cloud_exadata_infrastructures.py +150 -0
- pulumi_gcp/oracledatabase/get_cloud_vm_cluster.py +290 -0
- pulumi_gcp/oracledatabase/get_cloud_vm_clusters.py +150 -0
- pulumi_gcp/oracledatabase/get_db_nodes.py +245 -0
- pulumi_gcp/oracledatabase/get_db_servers.py +245 -0
- pulumi_gcp/oracledatabase/outputs.py +9304 -0
- pulumi_gcp/organizations/folder.py +7 -7
- pulumi_gcp/organizations/project.py +7 -7
- pulumi_gcp/orgpolicy/_inputs.py +3 -3
- pulumi_gcp/orgpolicy/outputs.py +2 -2
- pulumi_gcp/privilegedaccessmanager/get_entitlement.py +46 -2
- pulumi_gcp/provider.py +40 -0
- pulumi_gcp/pulumi-plugin.json +1 -1
- pulumi_gcp/secretmanager/get_regional_secret_version.py +24 -5
- pulumi_gcp/secretmanager/get_regional_secret_version_access.py +24 -5
- pulumi_gcp/secretmanager/get_secret_version.py +22 -3
- pulumi_gcp/secretmanager/get_secret_version_access.py +22 -3
- pulumi_gcp/secretmanager/regional_secret.py +2 -2
- pulumi_gcp/siteverification/get_token.py +0 -16
- pulumi_gcp/siteverification/owner.py +0 -16
- pulumi_gcp/spanner/_inputs.py +29 -5
- pulumi_gcp/spanner/outputs.py +20 -3
- pulumi_gcp/sql/_inputs.py +6 -6
- pulumi_gcp/sql/outputs.py +4 -4
- pulumi_gcp/sql/user.py +28 -21
- pulumi_gcp/storage/_inputs.py +36 -0
- pulumi_gcp/storage/bucket.py +47 -0
- pulumi_gcp/storage/get_bucket.py +12 -1
- pulumi_gcp/storage/outputs.py +40 -0
- pulumi_gcp/transcoder/__init__.py +11 -0
- pulumi_gcp/transcoder/_inputs.py +3991 -0
- pulumi_gcp/transcoder/job.py +2134 -0
- pulumi_gcp/transcoder/job_template.py +1524 -0
- pulumi_gcp/transcoder/outputs.py +2918 -0
- pulumi_gcp/vertex/ai_deployment_resource_pool.py +2 -2
- pulumi_gcp/vmwareengine/_inputs.py +440 -0
- pulumi_gcp/vmwareengine/cluster.py +100 -2
- pulumi_gcp/vmwareengine/get_cluster.py +12 -1
- pulumi_gcp/vmwareengine/outputs.py +615 -0
- pulumi_gcp/workstations/_inputs.py +54 -0
- pulumi_gcp/workstations/outputs.py +32 -0
- pulumi_gcp/workstations/workstation_config.py +205 -0
- {pulumi_gcp-8.7.0a1730183903.dist-info → pulumi_gcp-8.7.0a1730196225.dist-info}/METADATA +1 -1
- {pulumi_gcp-8.7.0a1730183903.dist-info → pulumi_gcp-8.7.0a1730196225.dist-info}/RECORD +111 -89
- {pulumi_gcp-8.7.0a1730183903.dist-info → pulumi_gcp-8.7.0a1730196225.dist-info}/WHEEL +1 -1
- {pulumi_gcp-8.7.0a1730183903.dist-info → pulumi_gcp-8.7.0a1730196225.dist-info}/top_level.txt +0 -0
pulumi_gcp/compute/instance.py
CHANGED
@@ -35,6 +35,7 @@ class InstanceArgs:
|
|
35
35
|
enable_display: Optional[pulumi.Input[bool]] = None,
|
36
36
|
guest_accelerators: Optional[pulumi.Input[Sequence[pulumi.Input['InstanceGuestAcceleratorArgs']]]] = None,
|
37
37
|
hostname: Optional[pulumi.Input[str]] = None,
|
38
|
+
key_revocation_action_type: Optional[pulumi.Input[str]] = None,
|
38
39
|
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
39
40
|
metadata: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
40
41
|
metadata_startup_script: Optional[pulumi.Input[str]] = None,
|
@@ -61,6 +62,8 @@ class InstanceArgs:
|
|
61
62
|
**Note:** If you want to update this value (resize the VM) after initial creation, you must set `allow_stopping_for_update` to `true`.
|
62
63
|
|
63
64
|
[Custom machine types](https://cloud.google.com/dataproc/docs/concepts/compute/custom-machine-types) can be formatted as `custom-NUMBER_OF_CPUS-AMOUNT_OF_MEMORY_MB`, e.g. `custom-6-20480` for 6 vCPU and 20GB of RAM.
|
65
|
+
Because of current API limitations some custom machine types may get converted to different machine types (such as an equivalent standard type) and cause non-empty plans in your configuration. Use
|
66
|
+
`lifecycle.ignore_changes` on `machine_type` in these cases.
|
64
67
|
|
65
68
|
There is a limit of 6.5 GB per CPU unless you add [extended memory](https://cloud.google.com/compute/docs/instances/creating-instance-with-custom-machine-type#extendedmemory). You must do this explicitly by adding the suffix `-ext`, e.g. `custom-2-15360-ext` for 2 vCPU and 15 GB of memory.
|
66
69
|
:param pulumi.Input[Sequence[pulumi.Input['InstanceNetworkInterfaceArgs']]] network_interfaces: Networks to attach to the instance. This can
|
@@ -87,6 +90,7 @@ class InstanceArgs:
|
|
87
90
|
:param pulumi.Input[str] hostname: A custom hostname for the instance. Must be a fully qualified DNS name and RFC-1035-valid.
|
88
91
|
Valid format is a series of labels 1-63 characters long matching the regular expression `a-z`, concatenated with periods.
|
89
92
|
The entire hostname must not exceed 253 characters. Changing this forces a new resource to be created.
|
93
|
+
:param pulumi.Input[str] key_revocation_action_type: Action to be taken when a customer's encryption key is revoked. Supports `STOP` and `NONE`, with `NONE` being the default.
|
90
94
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: A map of key/value label pairs to assign to the instance.
|
91
95
|
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
92
96
|
Please refer to the field 'effective_labels' for all of the labels present on the resource.
|
@@ -170,6 +174,8 @@ class InstanceArgs:
|
|
170
174
|
pulumi.set(__self__, "guest_accelerators", guest_accelerators)
|
171
175
|
if hostname is not None:
|
172
176
|
pulumi.set(__self__, "hostname", hostname)
|
177
|
+
if key_revocation_action_type is not None:
|
178
|
+
pulumi.set(__self__, "key_revocation_action_type", key_revocation_action_type)
|
173
179
|
if labels is not None:
|
174
180
|
pulumi.set(__self__, "labels", labels)
|
175
181
|
if metadata is not None:
|
@@ -227,6 +233,8 @@ class InstanceArgs:
|
|
227
233
|
**Note:** If you want to update this value (resize the VM) after initial creation, you must set `allow_stopping_for_update` to `true`.
|
228
234
|
|
229
235
|
[Custom machine types](https://cloud.google.com/dataproc/docs/concepts/compute/custom-machine-types) can be formatted as `custom-NUMBER_OF_CPUS-AMOUNT_OF_MEMORY_MB`, e.g. `custom-6-20480` for 6 vCPU and 20GB of RAM.
|
236
|
+
Because of current API limitations some custom machine types may get converted to different machine types (such as an equivalent standard type) and cause non-empty plans in your configuration. Use
|
237
|
+
`lifecycle.ignore_changes` on `machine_type` in these cases.
|
230
238
|
|
231
239
|
There is a limit of 6.5 GB per CPU unless you add [extended memory](https://cloud.google.com/compute/docs/instances/creating-instance-with-custom-machine-type#extendedmemory). You must do this explicitly by adding the suffix `-ext`, e.g. `custom-2-15360-ext` for 2 vCPU and 15 GB of memory.
|
232
240
|
"""
|
@@ -392,6 +400,18 @@ class InstanceArgs:
|
|
392
400
|
def hostname(self, value: Optional[pulumi.Input[str]]):
|
393
401
|
pulumi.set(self, "hostname", value)
|
394
402
|
|
403
|
+
@property
|
404
|
+
@pulumi.getter(name="keyRevocationActionType")
|
405
|
+
def key_revocation_action_type(self) -> Optional[pulumi.Input[str]]:
|
406
|
+
"""
|
407
|
+
Action to be taken when a customer's encryption key is revoked. Supports `STOP` and `NONE`, with `NONE` being the default.
|
408
|
+
"""
|
409
|
+
return pulumi.get(self, "key_revocation_action_type")
|
410
|
+
|
411
|
+
@key_revocation_action_type.setter
|
412
|
+
def key_revocation_action_type(self, value: Optional[pulumi.Input[str]]):
|
413
|
+
pulumi.set(self, "key_revocation_action_type", value)
|
414
|
+
|
395
415
|
@property
|
396
416
|
@pulumi.getter
|
397
417
|
def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
@@ -647,6 +667,7 @@ class _InstanceState:
|
|
647
667
|
can_ip_forward: Optional[pulumi.Input[bool]] = None,
|
648
668
|
confidential_instance_config: Optional[pulumi.Input['InstanceConfidentialInstanceConfigArgs']] = None,
|
649
669
|
cpu_platform: Optional[pulumi.Input[str]] = None,
|
670
|
+
creation_timestamp: Optional[pulumi.Input[str]] = None,
|
650
671
|
current_status: Optional[pulumi.Input[str]] = None,
|
651
672
|
deletion_protection: Optional[pulumi.Input[bool]] = None,
|
652
673
|
description: Optional[pulumi.Input[str]] = None,
|
@@ -656,6 +677,7 @@ class _InstanceState:
|
|
656
677
|
guest_accelerators: Optional[pulumi.Input[Sequence[pulumi.Input['InstanceGuestAcceleratorArgs']]]] = None,
|
657
678
|
hostname: Optional[pulumi.Input[str]] = None,
|
658
679
|
instance_id: Optional[pulumi.Input[str]] = None,
|
680
|
+
key_revocation_action_type: Optional[pulumi.Input[str]] = None,
|
659
681
|
label_fingerprint: Optional[pulumi.Input[str]] = None,
|
660
682
|
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
661
683
|
machine_type: Optional[pulumi.Input[str]] = None,
|
@@ -693,6 +715,7 @@ class _InstanceState:
|
|
693
715
|
This defaults to false.
|
694
716
|
: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
717
|
:param pulumi.Input[str] cpu_platform: The CPU platform used by this instance.
|
718
|
+
:param pulumi.Input[str] creation_timestamp: Creation timestamp in RFC3339 text format.
|
696
719
|
: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
720
|
:param pulumi.Input[bool] deletion_protection: Enable deletion protection on this instance. Defaults to false.
|
698
721
|
**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.
|
@@ -708,6 +731,7 @@ class _InstanceState:
|
|
708
731
|
Valid format is a series of labels 1-63 characters long matching the regular expression `a-z`, concatenated with periods.
|
709
732
|
The entire hostname must not exceed 253 characters. Changing this forces a new resource to be created.
|
710
733
|
:param pulumi.Input[str] instance_id: The server-assigned unique identifier of this instance.
|
734
|
+
:param pulumi.Input[str] key_revocation_action_type: Action to be taken when a customer's encryption key is revoked. Supports `STOP` and `NONE`, with `NONE` being the default.
|
711
735
|
:param pulumi.Input[str] label_fingerprint: The unique fingerprint of the labels.
|
712
736
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: A map of key/value label pairs to assign to the instance.
|
713
737
|
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
@@ -717,6 +741,8 @@ class _InstanceState:
|
|
717
741
|
**Note:** If you want to update this value (resize the VM) after initial creation, you must set `allow_stopping_for_update` to `true`.
|
718
742
|
|
719
743
|
[Custom machine types](https://cloud.google.com/dataproc/docs/concepts/compute/custom-machine-types) can be formatted as `custom-NUMBER_OF_CPUS-AMOUNT_OF_MEMORY_MB`, e.g. `custom-6-20480` for 6 vCPU and 20GB of RAM.
|
744
|
+
Because of current API limitations some custom machine types may get converted to different machine types (such as an equivalent standard type) and cause non-empty plans in your configuration. Use
|
745
|
+
`lifecycle.ignore_changes` on `machine_type` in these cases.
|
720
746
|
|
721
747
|
There is a limit of 6.5 GB per CPU unless you add [extended memory](https://cloud.google.com/compute/docs/instances/creating-instance-with-custom-machine-type#extendedmemory). You must do this explicitly by adding the suffix `-ext`, e.g. `custom-2-15360-ext` for 2 vCPU and 15 GB of memory.
|
722
748
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] metadata: Metadata key/value pairs to make available from
|
@@ -796,6 +822,8 @@ class _InstanceState:
|
|
796
822
|
pulumi.set(__self__, "confidential_instance_config", confidential_instance_config)
|
797
823
|
if cpu_platform is not None:
|
798
824
|
pulumi.set(__self__, "cpu_platform", cpu_platform)
|
825
|
+
if creation_timestamp is not None:
|
826
|
+
pulumi.set(__self__, "creation_timestamp", creation_timestamp)
|
799
827
|
if current_status is not None:
|
800
828
|
pulumi.set(__self__, "current_status", current_status)
|
801
829
|
if deletion_protection is not None:
|
@@ -814,6 +842,8 @@ class _InstanceState:
|
|
814
842
|
pulumi.set(__self__, "hostname", hostname)
|
815
843
|
if instance_id is not None:
|
816
844
|
pulumi.set(__self__, "instance_id", instance_id)
|
845
|
+
if key_revocation_action_type is not None:
|
846
|
+
pulumi.set(__self__, "key_revocation_action_type", key_revocation_action_type)
|
817
847
|
if label_fingerprint is not None:
|
818
848
|
pulumi.set(__self__, "label_fingerprint", label_fingerprint)
|
819
849
|
if labels is not None:
|
@@ -951,6 +981,18 @@ class _InstanceState:
|
|
951
981
|
def cpu_platform(self, value: Optional[pulumi.Input[str]]):
|
952
982
|
pulumi.set(self, "cpu_platform", value)
|
953
983
|
|
984
|
+
@property
|
985
|
+
@pulumi.getter(name="creationTimestamp")
|
986
|
+
def creation_timestamp(self) -> Optional[pulumi.Input[str]]:
|
987
|
+
"""
|
988
|
+
Creation timestamp in RFC3339 text format.
|
989
|
+
"""
|
990
|
+
return pulumi.get(self, "creation_timestamp")
|
991
|
+
|
992
|
+
@creation_timestamp.setter
|
993
|
+
def creation_timestamp(self, value: Optional[pulumi.Input[str]]):
|
994
|
+
pulumi.set(self, "creation_timestamp", value)
|
995
|
+
|
954
996
|
@property
|
955
997
|
@pulumi.getter(name="currentStatus")
|
956
998
|
def current_status(self) -> Optional[pulumi.Input[str]]:
|
@@ -1065,6 +1107,18 @@ class _InstanceState:
|
|
1065
1107
|
def instance_id(self, value: Optional[pulumi.Input[str]]):
|
1066
1108
|
pulumi.set(self, "instance_id", value)
|
1067
1109
|
|
1110
|
+
@property
|
1111
|
+
@pulumi.getter(name="keyRevocationActionType")
|
1112
|
+
def key_revocation_action_type(self) -> Optional[pulumi.Input[str]]:
|
1113
|
+
"""
|
1114
|
+
Action to be taken when a customer's encryption key is revoked. Supports `STOP` and `NONE`, with `NONE` being the default.
|
1115
|
+
"""
|
1116
|
+
return pulumi.get(self, "key_revocation_action_type")
|
1117
|
+
|
1118
|
+
@key_revocation_action_type.setter
|
1119
|
+
def key_revocation_action_type(self, value: Optional[pulumi.Input[str]]):
|
1120
|
+
pulumi.set(self, "key_revocation_action_type", value)
|
1121
|
+
|
1068
1122
|
@property
|
1069
1123
|
@pulumi.getter(name="labelFingerprint")
|
1070
1124
|
def label_fingerprint(self) -> Optional[pulumi.Input[str]]:
|
@@ -1100,6 +1154,8 @@ class _InstanceState:
|
|
1100
1154
|
**Note:** If you want to update this value (resize the VM) after initial creation, you must set `allow_stopping_for_update` to `true`.
|
1101
1155
|
|
1102
1156
|
[Custom machine types](https://cloud.google.com/dataproc/docs/concepts/compute/custom-machine-types) can be formatted as `custom-NUMBER_OF_CPUS-AMOUNT_OF_MEMORY_MB`, e.g. `custom-6-20480` for 6 vCPU and 20GB of RAM.
|
1157
|
+
Because of current API limitations some custom machine types may get converted to different machine types (such as an equivalent standard type) and cause non-empty plans in your configuration. Use
|
1158
|
+
`lifecycle.ignore_changes` on `machine_type` in these cases.
|
1103
1159
|
|
1104
1160
|
There is a limit of 6.5 GB per CPU unless you add [extended memory](https://cloud.google.com/compute/docs/instances/creating-instance-with-custom-machine-type#extendedmemory). You must do this explicitly by adding the suffix `-ext`, e.g. `custom-2-15360-ext` for 2 vCPU and 15 GB of memory.
|
1105
1161
|
"""
|
@@ -1420,6 +1476,7 @@ class Instance(pulumi.CustomResource):
|
|
1420
1476
|
enable_display: Optional[pulumi.Input[bool]] = None,
|
1421
1477
|
guest_accelerators: Optional[pulumi.Input[Sequence[pulumi.Input[Union['InstanceGuestAcceleratorArgs', 'InstanceGuestAcceleratorArgsDict']]]]] = None,
|
1422
1478
|
hostname: Optional[pulumi.Input[str]] = None,
|
1479
|
+
key_revocation_action_type: Optional[pulumi.Input[str]] = None,
|
1423
1480
|
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
1424
1481
|
machine_type: Optional[pulumi.Input[str]] = None,
|
1425
1482
|
metadata: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
@@ -1577,6 +1634,7 @@ class Instance(pulumi.CustomResource):
|
|
1577
1634
|
:param pulumi.Input[str] hostname: A custom hostname for the instance. Must be a fully qualified DNS name and RFC-1035-valid.
|
1578
1635
|
Valid format is a series of labels 1-63 characters long matching the regular expression `a-z`, concatenated with periods.
|
1579
1636
|
The entire hostname must not exceed 253 characters. Changing this forces a new resource to be created.
|
1637
|
+
:param pulumi.Input[str] key_revocation_action_type: Action to be taken when a customer's encryption key is revoked. Supports `STOP` and `NONE`, with `NONE` being the default.
|
1580
1638
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: A map of key/value label pairs to assign to the instance.
|
1581
1639
|
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
1582
1640
|
Please refer to the field 'effective_labels' for all of the labels present on the resource.
|
@@ -1585,6 +1643,8 @@ class Instance(pulumi.CustomResource):
|
|
1585
1643
|
**Note:** If you want to update this value (resize the VM) after initial creation, you must set `allow_stopping_for_update` to `true`.
|
1586
1644
|
|
1587
1645
|
[Custom machine types](https://cloud.google.com/dataproc/docs/concepts/compute/custom-machine-types) can be formatted as `custom-NUMBER_OF_CPUS-AMOUNT_OF_MEMORY_MB`, e.g. `custom-6-20480` for 6 vCPU and 20GB of RAM.
|
1646
|
+
Because of current API limitations some custom machine types may get converted to different machine types (such as an equivalent standard type) and cause non-empty plans in your configuration. Use
|
1647
|
+
`lifecycle.ignore_changes` on `machine_type` in these cases.
|
1588
1648
|
|
1589
1649
|
There is a limit of 6.5 GB per CPU unless you add [extended memory](https://cloud.google.com/compute/docs/instances/creating-instance-with-custom-machine-type#extendedmemory). You must do this explicitly by adding the suffix `-ext`, e.g. `custom-2-15360-ext` for 2 vCPU and 15 GB of memory.
|
1590
1650
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] metadata: Metadata key/value pairs to make available from
|
@@ -1792,6 +1852,7 @@ class Instance(pulumi.CustomResource):
|
|
1792
1852
|
enable_display: Optional[pulumi.Input[bool]] = None,
|
1793
1853
|
guest_accelerators: Optional[pulumi.Input[Sequence[pulumi.Input[Union['InstanceGuestAcceleratorArgs', 'InstanceGuestAcceleratorArgsDict']]]]] = None,
|
1794
1854
|
hostname: Optional[pulumi.Input[str]] = None,
|
1855
|
+
key_revocation_action_type: Optional[pulumi.Input[str]] = None,
|
1795
1856
|
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
1796
1857
|
machine_type: Optional[pulumi.Input[str]] = None,
|
1797
1858
|
metadata: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
@@ -1834,6 +1895,7 @@ class Instance(pulumi.CustomResource):
|
|
1834
1895
|
__props__.__dict__["enable_display"] = enable_display
|
1835
1896
|
__props__.__dict__["guest_accelerators"] = guest_accelerators
|
1836
1897
|
__props__.__dict__["hostname"] = hostname
|
1898
|
+
__props__.__dict__["key_revocation_action_type"] = key_revocation_action_type
|
1837
1899
|
__props__.__dict__["labels"] = labels
|
1838
1900
|
if machine_type is None and not opts.urn:
|
1839
1901
|
raise TypeError("Missing required property 'machine_type'")
|
@@ -1858,6 +1920,7 @@ class Instance(pulumi.CustomResource):
|
|
1858
1920
|
__props__.__dict__["tags"] = tags
|
1859
1921
|
__props__.__dict__["zone"] = zone
|
1860
1922
|
__props__.__dict__["cpu_platform"] = None
|
1923
|
+
__props__.__dict__["creation_timestamp"] = None
|
1861
1924
|
__props__.__dict__["current_status"] = None
|
1862
1925
|
__props__.__dict__["effective_labels"] = None
|
1863
1926
|
__props__.__dict__["instance_id"] = None
|
@@ -1885,6 +1948,7 @@ class Instance(pulumi.CustomResource):
|
|
1885
1948
|
can_ip_forward: Optional[pulumi.Input[bool]] = None,
|
1886
1949
|
confidential_instance_config: Optional[pulumi.Input[Union['InstanceConfidentialInstanceConfigArgs', 'InstanceConfidentialInstanceConfigArgsDict']]] = None,
|
1887
1950
|
cpu_platform: Optional[pulumi.Input[str]] = None,
|
1951
|
+
creation_timestamp: Optional[pulumi.Input[str]] = None,
|
1888
1952
|
current_status: Optional[pulumi.Input[str]] = None,
|
1889
1953
|
deletion_protection: Optional[pulumi.Input[bool]] = None,
|
1890
1954
|
description: Optional[pulumi.Input[str]] = None,
|
@@ -1894,6 +1958,7 @@ class Instance(pulumi.CustomResource):
|
|
1894
1958
|
guest_accelerators: Optional[pulumi.Input[Sequence[pulumi.Input[Union['InstanceGuestAcceleratorArgs', 'InstanceGuestAcceleratorArgsDict']]]]] = None,
|
1895
1959
|
hostname: Optional[pulumi.Input[str]] = None,
|
1896
1960
|
instance_id: Optional[pulumi.Input[str]] = None,
|
1961
|
+
key_revocation_action_type: Optional[pulumi.Input[str]] = None,
|
1897
1962
|
label_fingerprint: Optional[pulumi.Input[str]] = None,
|
1898
1963
|
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
1899
1964
|
machine_type: Optional[pulumi.Input[str]] = None,
|
@@ -1936,6 +2001,7 @@ class Instance(pulumi.CustomResource):
|
|
1936
2001
|
This defaults to false.
|
1937
2002
|
: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
2003
|
:param pulumi.Input[str] cpu_platform: The CPU platform used by this instance.
|
2004
|
+
:param pulumi.Input[str] creation_timestamp: Creation timestamp in RFC3339 text format.
|
1939
2005
|
: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
2006
|
:param pulumi.Input[bool] deletion_protection: Enable deletion protection on this instance. Defaults to false.
|
1941
2007
|
**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.
|
@@ -1951,6 +2017,7 @@ class Instance(pulumi.CustomResource):
|
|
1951
2017
|
Valid format is a series of labels 1-63 characters long matching the regular expression `a-z`, concatenated with periods.
|
1952
2018
|
The entire hostname must not exceed 253 characters. Changing this forces a new resource to be created.
|
1953
2019
|
:param pulumi.Input[str] instance_id: The server-assigned unique identifier of this instance.
|
2020
|
+
:param pulumi.Input[str] key_revocation_action_type: Action to be taken when a customer's encryption key is revoked. Supports `STOP` and `NONE`, with `NONE` being the default.
|
1954
2021
|
:param pulumi.Input[str] label_fingerprint: The unique fingerprint of the labels.
|
1955
2022
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: A map of key/value label pairs to assign to the instance.
|
1956
2023
|
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
@@ -1960,6 +2027,8 @@ class Instance(pulumi.CustomResource):
|
|
1960
2027
|
**Note:** If you want to update this value (resize the VM) after initial creation, you must set `allow_stopping_for_update` to `true`.
|
1961
2028
|
|
1962
2029
|
[Custom machine types](https://cloud.google.com/dataproc/docs/concepts/compute/custom-machine-types) can be formatted as `custom-NUMBER_OF_CPUS-AMOUNT_OF_MEMORY_MB`, e.g. `custom-6-20480` for 6 vCPU and 20GB of RAM.
|
2030
|
+
Because of current API limitations some custom machine types may get converted to different machine types (such as an equivalent standard type) and cause non-empty plans in your configuration. Use
|
2031
|
+
`lifecycle.ignore_changes` on `machine_type` in these cases.
|
1963
2032
|
|
1964
2033
|
There is a limit of 6.5 GB per CPU unless you add [extended memory](https://cloud.google.com/compute/docs/instances/creating-instance-with-custom-machine-type#extendedmemory). You must do this explicitly by adding the suffix `-ext`, e.g. `custom-2-15360-ext` for 2 vCPU and 15 GB of memory.
|
1965
2034
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] metadata: Metadata key/value pairs to make available from
|
@@ -2036,6 +2105,7 @@ class Instance(pulumi.CustomResource):
|
|
2036
2105
|
__props__.__dict__["can_ip_forward"] = can_ip_forward
|
2037
2106
|
__props__.__dict__["confidential_instance_config"] = confidential_instance_config
|
2038
2107
|
__props__.__dict__["cpu_platform"] = cpu_platform
|
2108
|
+
__props__.__dict__["creation_timestamp"] = creation_timestamp
|
2039
2109
|
__props__.__dict__["current_status"] = current_status
|
2040
2110
|
__props__.__dict__["deletion_protection"] = deletion_protection
|
2041
2111
|
__props__.__dict__["description"] = description
|
@@ -2045,6 +2115,7 @@ class Instance(pulumi.CustomResource):
|
|
2045
2115
|
__props__.__dict__["guest_accelerators"] = guest_accelerators
|
2046
2116
|
__props__.__dict__["hostname"] = hostname
|
2047
2117
|
__props__.__dict__["instance_id"] = instance_id
|
2118
|
+
__props__.__dict__["key_revocation_action_type"] = key_revocation_action_type
|
2048
2119
|
__props__.__dict__["label_fingerprint"] = label_fingerprint
|
2049
2120
|
__props__.__dict__["labels"] = labels
|
2050
2121
|
__props__.__dict__["machine_type"] = machine_type
|
@@ -2131,6 +2202,14 @@ class Instance(pulumi.CustomResource):
|
|
2131
2202
|
"""
|
2132
2203
|
return pulumi.get(self, "cpu_platform")
|
2133
2204
|
|
2205
|
+
@property
|
2206
|
+
@pulumi.getter(name="creationTimestamp")
|
2207
|
+
def creation_timestamp(self) -> pulumi.Output[str]:
|
2208
|
+
"""
|
2209
|
+
Creation timestamp in RFC3339 text format.
|
2210
|
+
"""
|
2211
|
+
return pulumi.get(self, "creation_timestamp")
|
2212
|
+
|
2134
2213
|
@property
|
2135
2214
|
@pulumi.getter(name="currentStatus")
|
2136
2215
|
def current_status(self) -> pulumi.Output[str]:
|
@@ -2209,6 +2288,14 @@ class Instance(pulumi.CustomResource):
|
|
2209
2288
|
"""
|
2210
2289
|
return pulumi.get(self, "instance_id")
|
2211
2290
|
|
2291
|
+
@property
|
2292
|
+
@pulumi.getter(name="keyRevocationActionType")
|
2293
|
+
def key_revocation_action_type(self) -> pulumi.Output[Optional[str]]:
|
2294
|
+
"""
|
2295
|
+
Action to be taken when a customer's encryption key is revoked. Supports `STOP` and `NONE`, with `NONE` being the default.
|
2296
|
+
"""
|
2297
|
+
return pulumi.get(self, "key_revocation_action_type")
|
2298
|
+
|
2212
2299
|
@property
|
2213
2300
|
@pulumi.getter(name="labelFingerprint")
|
2214
2301
|
def label_fingerprint(self) -> pulumi.Output[str]:
|
@@ -2236,6 +2323,8 @@ class Instance(pulumi.CustomResource):
|
|
2236
2323
|
**Note:** If you want to update this value (resize the VM) after initial creation, you must set `allow_stopping_for_update` to `true`.
|
2237
2324
|
|
2238
2325
|
[Custom machine types](https://cloud.google.com/dataproc/docs/concepts/compute/custom-machine-types) can be formatted as `custom-NUMBER_OF_CPUS-AMOUNT_OF_MEMORY_MB`, e.g. `custom-6-20480` for 6 vCPU and 20GB of RAM.
|
2326
|
+
Because of current API limitations some custom machine types may get converted to different machine types (such as an equivalent standard type) and cause non-empty plans in your configuration. Use
|
2327
|
+
`lifecycle.ignore_changes` on `machine_type` in these cases.
|
2239
2328
|
|
2240
2329
|
There is a limit of 6.5 GB per CPU unless you add [extended memory](https://cloud.google.com/compute/docs/instances/creating-instance-with-custom-machine-type#extendedmemory). You must do this explicitly by adding the suffix `-ext`, e.g. `custom-2-15360-ext` for 2 vCPU and 15 GB of memory.
|
2241
2330
|
"""
|
@@ -32,6 +32,7 @@ class InstanceFromMachineImageArgs:
|
|
32
32
|
enable_display: Optional[pulumi.Input[bool]] = None,
|
33
33
|
guest_accelerators: Optional[pulumi.Input[Sequence[pulumi.Input['InstanceFromMachineImageGuestAcceleratorArgs']]]] = None,
|
34
34
|
hostname: Optional[pulumi.Input[str]] = None,
|
35
|
+
key_revocation_action_type: Optional[pulumi.Input[str]] = None,
|
35
36
|
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
36
37
|
machine_type: Optional[pulumi.Input[str]] = None,
|
37
38
|
metadata: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
@@ -68,6 +69,8 @@ class InstanceFromMachineImageArgs:
|
|
68
69
|
:param pulumi.Input[str] hostname: A custom hostname for the instance. Must be a fully qualified DNS name and RFC-1035-valid. Valid format is a series of
|
69
70
|
labels 1-63 characters long matching the regular expression a-z, concatenated with periods. The entire hostname must not
|
70
71
|
exceed 253 characters. Changing this forces a new resource to be created.
|
72
|
+
:param pulumi.Input[str] key_revocation_action_type: Action to be taken when a customer's encryption key is revoked. Supports "STOP" and "NONE", with "NONE" being the
|
73
|
+
default.
|
71
74
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: A set of key/value label pairs assigned to the instance. **Note**: This field is non-authoritative, and will only manage
|
72
75
|
the labels present in your configuration. Please refer to the field 'effective_labels' for all of the labels present on
|
73
76
|
the resource.
|
@@ -120,6 +123,8 @@ class InstanceFromMachineImageArgs:
|
|
120
123
|
pulumi.set(__self__, "guest_accelerators", guest_accelerators)
|
121
124
|
if hostname is not None:
|
122
125
|
pulumi.set(__self__, "hostname", hostname)
|
126
|
+
if key_revocation_action_type is not None:
|
127
|
+
pulumi.set(__self__, "key_revocation_action_type", key_revocation_action_type)
|
123
128
|
if labels is not None:
|
124
129
|
pulumi.set(__self__, "labels", labels)
|
125
130
|
if machine_type is not None:
|
@@ -292,6 +297,19 @@ class InstanceFromMachineImageArgs:
|
|
292
297
|
def hostname(self, value: Optional[pulumi.Input[str]]):
|
293
298
|
pulumi.set(self, "hostname", value)
|
294
299
|
|
300
|
+
@property
|
301
|
+
@pulumi.getter(name="keyRevocationActionType")
|
302
|
+
def key_revocation_action_type(self) -> Optional[pulumi.Input[str]]:
|
303
|
+
"""
|
304
|
+
Action to be taken when a customer's encryption key is revoked. Supports "STOP" and "NONE", with "NONE" being the
|
305
|
+
default.
|
306
|
+
"""
|
307
|
+
return pulumi.get(self, "key_revocation_action_type")
|
308
|
+
|
309
|
+
@key_revocation_action_type.setter
|
310
|
+
def key_revocation_action_type(self, value: Optional[pulumi.Input[str]]):
|
311
|
+
pulumi.set(self, "key_revocation_action_type", value)
|
312
|
+
|
295
313
|
@property
|
296
314
|
@pulumi.getter
|
297
315
|
def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
@@ -531,6 +549,7 @@ class _InstanceFromMachineImageState:
|
|
531
549
|
can_ip_forward: Optional[pulumi.Input[bool]] = None,
|
532
550
|
confidential_instance_config: Optional[pulumi.Input['InstanceFromMachineImageConfidentialInstanceConfigArgs']] = None,
|
533
551
|
cpu_platform: Optional[pulumi.Input[str]] = None,
|
552
|
+
creation_timestamp: Optional[pulumi.Input[str]] = None,
|
534
553
|
current_status: Optional[pulumi.Input[str]] = None,
|
535
554
|
deletion_protection: Optional[pulumi.Input[bool]] = None,
|
536
555
|
description: Optional[pulumi.Input[str]] = None,
|
@@ -540,6 +559,7 @@ class _InstanceFromMachineImageState:
|
|
540
559
|
guest_accelerators: Optional[pulumi.Input[Sequence[pulumi.Input['InstanceFromMachineImageGuestAcceleratorArgs']]]] = None,
|
541
560
|
hostname: Optional[pulumi.Input[str]] = None,
|
542
561
|
instance_id: Optional[pulumi.Input[str]] = None,
|
562
|
+
key_revocation_action_type: Optional[pulumi.Input[str]] = None,
|
543
563
|
label_fingerprint: Optional[pulumi.Input[str]] = None,
|
544
564
|
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
545
565
|
machine_type: Optional[pulumi.Input[str]] = None,
|
@@ -574,6 +594,7 @@ class _InstanceFromMachineImageState:
|
|
574
594
|
:param pulumi.Input['InstanceFromMachineImageConfidentialInstanceConfigArgs'] confidential_instance_config: The Confidential VM config being used by the instance. on_host_maintenance has to be set to TERMINATE or this will fail
|
575
595
|
to create.
|
576
596
|
:param pulumi.Input[str] cpu_platform: The CPU platform used by this instance.
|
597
|
+
:param pulumi.Input[str] creation_timestamp: Creation timestamp in RFC3339 text format.
|
577
598
|
:param pulumi.Input[str] current_status: Current status of the instance. This could be one of the following values: PROVISIONING, STAGING, RUNNING, STOPPING,
|
578
599
|
SUSPENDING, SUSPENDED, REPAIRING, and TERMINATED. For more information about the status of the instance, see [Instance
|
579
600
|
life cycle](https://cloud.google.com/compute/docs/instances/instance-life-cycle).
|
@@ -586,6 +607,8 @@ class _InstanceFromMachineImageState:
|
|
586
607
|
labels 1-63 characters long matching the regular expression a-z, concatenated with periods. The entire hostname must not
|
587
608
|
exceed 253 characters. Changing this forces a new resource to be created.
|
588
609
|
:param pulumi.Input[str] instance_id: The server-assigned unique identifier of this instance.
|
610
|
+
:param pulumi.Input[str] key_revocation_action_type: Action to be taken when a customer's encryption key is revoked. Supports "STOP" and "NONE", with "NONE" being the
|
611
|
+
default.
|
589
612
|
:param pulumi.Input[str] label_fingerprint: The unique fingerprint of the labels.
|
590
613
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: A set of key/value label pairs assigned to the instance. **Note**: This field is non-authoritative, and will only manage
|
591
614
|
the labels present in your configuration. Please refer to the field 'effective_labels' for all of the labels present on
|
@@ -641,6 +664,8 @@ class _InstanceFromMachineImageState:
|
|
641
664
|
pulumi.set(__self__, "confidential_instance_config", confidential_instance_config)
|
642
665
|
if cpu_platform is not None:
|
643
666
|
pulumi.set(__self__, "cpu_platform", cpu_platform)
|
667
|
+
if creation_timestamp is not None:
|
668
|
+
pulumi.set(__self__, "creation_timestamp", creation_timestamp)
|
644
669
|
if current_status is not None:
|
645
670
|
pulumi.set(__self__, "current_status", current_status)
|
646
671
|
if deletion_protection is not None:
|
@@ -659,6 +684,8 @@ class _InstanceFromMachineImageState:
|
|
659
684
|
pulumi.set(__self__, "hostname", hostname)
|
660
685
|
if instance_id is not None:
|
661
686
|
pulumi.set(__self__, "instance_id", instance_id)
|
687
|
+
if key_revocation_action_type is not None:
|
688
|
+
pulumi.set(__self__, "key_revocation_action_type", key_revocation_action_type)
|
662
689
|
if label_fingerprint is not None:
|
663
690
|
pulumi.set(__self__, "label_fingerprint", label_fingerprint)
|
664
691
|
if labels is not None:
|
@@ -792,6 +819,18 @@ class _InstanceFromMachineImageState:
|
|
792
819
|
def cpu_platform(self, value: Optional[pulumi.Input[str]]):
|
793
820
|
pulumi.set(self, "cpu_platform", value)
|
794
821
|
|
822
|
+
@property
|
823
|
+
@pulumi.getter(name="creationTimestamp")
|
824
|
+
def creation_timestamp(self) -> Optional[pulumi.Input[str]]:
|
825
|
+
"""
|
826
|
+
Creation timestamp in RFC3339 text format.
|
827
|
+
"""
|
828
|
+
return pulumi.get(self, "creation_timestamp")
|
829
|
+
|
830
|
+
@creation_timestamp.setter
|
831
|
+
def creation_timestamp(self, value: Optional[pulumi.Input[str]]):
|
832
|
+
pulumi.set(self, "creation_timestamp", value)
|
833
|
+
|
795
834
|
@property
|
796
835
|
@pulumi.getter(name="currentStatus")
|
797
836
|
def current_status(self) -> Optional[pulumi.Input[str]]:
|
@@ -901,6 +940,19 @@ class _InstanceFromMachineImageState:
|
|
901
940
|
def instance_id(self, value: Optional[pulumi.Input[str]]):
|
902
941
|
pulumi.set(self, "instance_id", value)
|
903
942
|
|
943
|
+
@property
|
944
|
+
@pulumi.getter(name="keyRevocationActionType")
|
945
|
+
def key_revocation_action_type(self) -> Optional[pulumi.Input[str]]:
|
946
|
+
"""
|
947
|
+
Action to be taken when a customer's encryption key is revoked. Supports "STOP" and "NONE", with "NONE" being the
|
948
|
+
default.
|
949
|
+
"""
|
950
|
+
return pulumi.get(self, "key_revocation_action_type")
|
951
|
+
|
952
|
+
@key_revocation_action_type.setter
|
953
|
+
def key_revocation_action_type(self, value: Optional[pulumi.Input[str]]):
|
954
|
+
pulumi.set(self, "key_revocation_action_type", value)
|
955
|
+
|
904
956
|
@property
|
905
957
|
@pulumi.getter(name="labelFingerprint")
|
906
958
|
def label_fingerprint(self) -> Optional[pulumi.Input[str]]:
|
@@ -1232,6 +1284,7 @@ class InstanceFromMachineImage(pulumi.CustomResource):
|
|
1232
1284
|
enable_display: Optional[pulumi.Input[bool]] = None,
|
1233
1285
|
guest_accelerators: Optional[pulumi.Input[Sequence[pulumi.Input[Union['InstanceFromMachineImageGuestAcceleratorArgs', 'InstanceFromMachineImageGuestAcceleratorArgsDict']]]]] = None,
|
1234
1286
|
hostname: Optional[pulumi.Input[str]] = None,
|
1287
|
+
key_revocation_action_type: Optional[pulumi.Input[str]] = None,
|
1235
1288
|
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
1236
1289
|
machine_type: Optional[pulumi.Input[str]] = None,
|
1237
1290
|
metadata: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
@@ -1292,6 +1345,8 @@ class InstanceFromMachineImage(pulumi.CustomResource):
|
|
1292
1345
|
:param pulumi.Input[str] hostname: A custom hostname for the instance. Must be a fully qualified DNS name and RFC-1035-valid. Valid format is a series of
|
1293
1346
|
labels 1-63 characters long matching the regular expression a-z, concatenated with periods. The entire hostname must not
|
1294
1347
|
exceed 253 characters. Changing this forces a new resource to be created.
|
1348
|
+
:param pulumi.Input[str] key_revocation_action_type: Action to be taken when a customer's encryption key is revoked. Supports "STOP" and "NONE", with "NONE" being the
|
1349
|
+
default.
|
1295
1350
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: A set of key/value label pairs assigned to the instance. **Note**: This field is non-authoritative, and will only manage
|
1296
1351
|
the labels present in your configuration. Please refer to the field 'effective_labels' for all of the labels present on
|
1297
1352
|
the resource.
|
@@ -1384,6 +1439,7 @@ class InstanceFromMachineImage(pulumi.CustomResource):
|
|
1384
1439
|
enable_display: Optional[pulumi.Input[bool]] = None,
|
1385
1440
|
guest_accelerators: Optional[pulumi.Input[Sequence[pulumi.Input[Union['InstanceFromMachineImageGuestAcceleratorArgs', 'InstanceFromMachineImageGuestAcceleratorArgsDict']]]]] = None,
|
1386
1441
|
hostname: Optional[pulumi.Input[str]] = None,
|
1442
|
+
key_revocation_action_type: Optional[pulumi.Input[str]] = None,
|
1387
1443
|
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
1388
1444
|
machine_type: Optional[pulumi.Input[str]] = None,
|
1389
1445
|
metadata: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
@@ -1422,6 +1478,7 @@ class InstanceFromMachineImage(pulumi.CustomResource):
|
|
1422
1478
|
__props__.__dict__["enable_display"] = enable_display
|
1423
1479
|
__props__.__dict__["guest_accelerators"] = guest_accelerators
|
1424
1480
|
__props__.__dict__["hostname"] = hostname
|
1481
|
+
__props__.__dict__["key_revocation_action_type"] = key_revocation_action_type
|
1425
1482
|
__props__.__dict__["labels"] = labels
|
1426
1483
|
__props__.__dict__["machine_type"] = machine_type
|
1427
1484
|
__props__.__dict__["metadata"] = metadata
|
@@ -1446,6 +1503,7 @@ class InstanceFromMachineImage(pulumi.CustomResource):
|
|
1446
1503
|
__props__.__dict__["attached_disks"] = None
|
1447
1504
|
__props__.__dict__["boot_disks"] = None
|
1448
1505
|
__props__.__dict__["cpu_platform"] = None
|
1506
|
+
__props__.__dict__["creation_timestamp"] = None
|
1449
1507
|
__props__.__dict__["current_status"] = None
|
1450
1508
|
__props__.__dict__["effective_labels"] = None
|
1451
1509
|
__props__.__dict__["instance_id"] = None
|
@@ -1474,6 +1532,7 @@ class InstanceFromMachineImage(pulumi.CustomResource):
|
|
1474
1532
|
can_ip_forward: Optional[pulumi.Input[bool]] = None,
|
1475
1533
|
confidential_instance_config: Optional[pulumi.Input[Union['InstanceFromMachineImageConfidentialInstanceConfigArgs', 'InstanceFromMachineImageConfidentialInstanceConfigArgsDict']]] = None,
|
1476
1534
|
cpu_platform: Optional[pulumi.Input[str]] = None,
|
1535
|
+
creation_timestamp: Optional[pulumi.Input[str]] = None,
|
1477
1536
|
current_status: Optional[pulumi.Input[str]] = None,
|
1478
1537
|
deletion_protection: Optional[pulumi.Input[bool]] = None,
|
1479
1538
|
description: Optional[pulumi.Input[str]] = None,
|
@@ -1483,6 +1542,7 @@ class InstanceFromMachineImage(pulumi.CustomResource):
|
|
1483
1542
|
guest_accelerators: Optional[pulumi.Input[Sequence[pulumi.Input[Union['InstanceFromMachineImageGuestAcceleratorArgs', 'InstanceFromMachineImageGuestAcceleratorArgsDict']]]]] = None,
|
1484
1543
|
hostname: Optional[pulumi.Input[str]] = None,
|
1485
1544
|
instance_id: Optional[pulumi.Input[str]] = None,
|
1545
|
+
key_revocation_action_type: Optional[pulumi.Input[str]] = None,
|
1486
1546
|
label_fingerprint: Optional[pulumi.Input[str]] = None,
|
1487
1547
|
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
1488
1548
|
machine_type: Optional[pulumi.Input[str]] = None,
|
@@ -1522,6 +1582,7 @@ class InstanceFromMachineImage(pulumi.CustomResource):
|
|
1522
1582
|
:param pulumi.Input[Union['InstanceFromMachineImageConfidentialInstanceConfigArgs', 'InstanceFromMachineImageConfidentialInstanceConfigArgsDict']] confidential_instance_config: The Confidential VM config being used by the instance. on_host_maintenance has to be set to TERMINATE or this will fail
|
1523
1583
|
to create.
|
1524
1584
|
:param pulumi.Input[str] cpu_platform: The CPU platform used by this instance.
|
1585
|
+
:param pulumi.Input[str] creation_timestamp: Creation timestamp in RFC3339 text format.
|
1525
1586
|
:param pulumi.Input[str] current_status: Current status of the instance. This could be one of the following values: PROVISIONING, STAGING, RUNNING, STOPPING,
|
1526
1587
|
SUSPENDING, SUSPENDED, REPAIRING, and TERMINATED. For more information about the status of the instance, see [Instance
|
1527
1588
|
life cycle](https://cloud.google.com/compute/docs/instances/instance-life-cycle).
|
@@ -1534,6 +1595,8 @@ class InstanceFromMachineImage(pulumi.CustomResource):
|
|
1534
1595
|
labels 1-63 characters long matching the regular expression a-z, concatenated with periods. The entire hostname must not
|
1535
1596
|
exceed 253 characters. Changing this forces a new resource to be created.
|
1536
1597
|
:param pulumi.Input[str] instance_id: The server-assigned unique identifier of this instance.
|
1598
|
+
:param pulumi.Input[str] key_revocation_action_type: Action to be taken when a customer's encryption key is revoked. Supports "STOP" and "NONE", with "NONE" being the
|
1599
|
+
default.
|
1537
1600
|
:param pulumi.Input[str] label_fingerprint: The unique fingerprint of the labels.
|
1538
1601
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: A set of key/value label pairs assigned to the instance. **Note**: This field is non-authoritative, and will only manage
|
1539
1602
|
the labels present in your configuration. Please refer to the field 'effective_labels' for all of the labels present on
|
@@ -1586,6 +1649,7 @@ class InstanceFromMachineImage(pulumi.CustomResource):
|
|
1586
1649
|
__props__.__dict__["can_ip_forward"] = can_ip_forward
|
1587
1650
|
__props__.__dict__["confidential_instance_config"] = confidential_instance_config
|
1588
1651
|
__props__.__dict__["cpu_platform"] = cpu_platform
|
1652
|
+
__props__.__dict__["creation_timestamp"] = creation_timestamp
|
1589
1653
|
__props__.__dict__["current_status"] = current_status
|
1590
1654
|
__props__.__dict__["deletion_protection"] = deletion_protection
|
1591
1655
|
__props__.__dict__["description"] = description
|
@@ -1595,6 +1659,7 @@ class InstanceFromMachineImage(pulumi.CustomResource):
|
|
1595
1659
|
__props__.__dict__["guest_accelerators"] = guest_accelerators
|
1596
1660
|
__props__.__dict__["hostname"] = hostname
|
1597
1661
|
__props__.__dict__["instance_id"] = instance_id
|
1662
|
+
__props__.__dict__["key_revocation_action_type"] = key_revocation_action_type
|
1598
1663
|
__props__.__dict__["label_fingerprint"] = label_fingerprint
|
1599
1664
|
__props__.__dict__["labels"] = labels
|
1600
1665
|
__props__.__dict__["machine_type"] = machine_type
|
@@ -1676,6 +1741,14 @@ class InstanceFromMachineImage(pulumi.CustomResource):
|
|
1676
1741
|
"""
|
1677
1742
|
return pulumi.get(self, "cpu_platform")
|
1678
1743
|
|
1744
|
+
@property
|
1745
|
+
@pulumi.getter(name="creationTimestamp")
|
1746
|
+
def creation_timestamp(self) -> pulumi.Output[str]:
|
1747
|
+
"""
|
1748
|
+
Creation timestamp in RFC3339 text format.
|
1749
|
+
"""
|
1750
|
+
return pulumi.get(self, "creation_timestamp")
|
1751
|
+
|
1679
1752
|
@property
|
1680
1753
|
@pulumi.getter(name="currentStatus")
|
1681
1754
|
def current_status(self) -> pulumi.Output[str]:
|
@@ -1749,6 +1822,15 @@ class InstanceFromMachineImage(pulumi.CustomResource):
|
|
1749
1822
|
"""
|
1750
1823
|
return pulumi.get(self, "instance_id")
|
1751
1824
|
|
1825
|
+
@property
|
1826
|
+
@pulumi.getter(name="keyRevocationActionType")
|
1827
|
+
def key_revocation_action_type(self) -> pulumi.Output[str]:
|
1828
|
+
"""
|
1829
|
+
Action to be taken when a customer's encryption key is revoked. Supports "STOP" and "NONE", with "NONE" being the
|
1830
|
+
default.
|
1831
|
+
"""
|
1832
|
+
return pulumi.get(self, "key_revocation_action_type")
|
1833
|
+
|
1752
1834
|
@property
|
1753
1835
|
@pulumi.getter(name="labelFingerprint")
|
1754
1836
|
def label_fingerprint(self) -> pulumi.Output[str]:
|