pulumi-gcp 8.29.0a1746115375__py3-none-any.whl → 8.30.0a1746254470__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.
Files changed (65) hide show
  1. pulumi_gcp/__init__.py +24 -0
  2. pulumi_gcp/alloydb/instance.py +1 -1
  3. pulumi_gcp/apigee/organization.py +26 -0
  4. pulumi_gcp/beyondcorp/_inputs.py +129 -0
  5. pulumi_gcp/beyondcorp/application.py +106 -3
  6. pulumi_gcp/beyondcorp/outputs.py +93 -0
  7. pulumi_gcp/bigtable/__init__.py +2 -0
  8. pulumi_gcp/bigtable/logical_view.py +473 -0
  9. pulumi_gcp/bigtable/materialized_view.py +524 -0
  10. pulumi_gcp/certificateauthority/ca_pool.py +12 -0
  11. pulumi_gcp/certificatemanager/get_certificates.py +29 -0
  12. pulumi_gcp/clouddeploy/automation.py +66 -10
  13. pulumi_gcp/compute/_inputs.py +366 -55
  14. pulumi_gcp/compute/backend_service.py +6 -2
  15. pulumi_gcp/compute/get_region_disk.py +12 -1
  16. pulumi_gcp/compute/interconnect.py +25 -24
  17. pulumi_gcp/compute/outputs.py +380 -48
  18. pulumi_gcp/compute/region_disk.py +28 -0
  19. pulumi_gcp/compute/region_resize_request.py +2 -2
  20. pulumi_gcp/compute/region_security_policy.py +16 -0
  21. pulumi_gcp/compute/region_security_policy_rule.py +16 -0
  22. pulumi_gcp/compute/resize_request.py +2 -2
  23. pulumi_gcp/compute/resource_policy.py +0 -2
  24. pulumi_gcp/container/_inputs.py +69 -9
  25. pulumi_gcp/container/outputs.py +71 -7
  26. pulumi_gcp/dataplex/_inputs.py +219 -1
  27. pulumi_gcp/dataplex/datascan.py +20 -0
  28. pulumi_gcp/dataplex/outputs.py +168 -1
  29. pulumi_gcp/developerconnect/_inputs.py +6 -0
  30. pulumi_gcp/developerconnect/account_connector.py +56 -0
  31. pulumi_gcp/developerconnect/outputs.py +4 -0
  32. pulumi_gcp/dns/_inputs.py +34 -13
  33. pulumi_gcp/dns/outputs.py +25 -10
  34. pulumi_gcp/gkehub/_inputs.py +3 -3
  35. pulumi_gcp/gkehub/feature_membership.py +92 -0
  36. pulumi_gcp/gkehub/outputs.py +2 -2
  37. pulumi_gcp/identityplatform/_inputs.py +54 -0
  38. pulumi_gcp/identityplatform/oauth_idp_config.py +83 -5
  39. pulumi_gcp/identityplatform/outputs.py +49 -0
  40. pulumi_gcp/memcache/__init__.py +1 -0
  41. pulumi_gcp/memcache/get_instance.py +338 -0
  42. pulumi_gcp/memcache/outputs.py +363 -0
  43. pulumi_gcp/netapp/storage_pool.py +141 -0
  44. pulumi_gcp/networkservices/_inputs.py +35 -6
  45. pulumi_gcp/networkservices/lb_traffic_extension.py +7 -0
  46. pulumi_gcp/networkservices/outputs.py +22 -4
  47. pulumi_gcp/osconfig/__init__.py +1 -0
  48. pulumi_gcp/osconfig/_inputs.py +5400 -0
  49. pulumi_gcp/osconfig/outputs.py +3952 -0
  50. pulumi_gcp/osconfig/v2_policy_orchestrator_for_folder.py +1098 -0
  51. pulumi_gcp/pulumi-plugin.json +1 -1
  52. pulumi_gcp/spanner/instance_config.py +14 -14
  53. pulumi_gcp/sql/_inputs.py +83 -0
  54. pulumi_gcp/sql/database_instance.py +28 -0
  55. pulumi_gcp/sql/get_database_instance.py +12 -1
  56. pulumi_gcp/sql/outputs.py +146 -6
  57. pulumi_gcp/storage/_inputs.py +20 -0
  58. pulumi_gcp/storage/bucket.py +56 -0
  59. pulumi_gcp/storage/get_bucket.py +23 -1
  60. pulumi_gcp/storage/outputs.py +14 -0
  61. pulumi_gcp/vertex/ai_feature_online_store_featureview.py +2 -14
  62. {pulumi_gcp-8.29.0a1746115375.dist-info → pulumi_gcp-8.30.0a1746254470.dist-info}/METADATA +1 -1
  63. {pulumi_gcp-8.29.0a1746115375.dist-info → pulumi_gcp-8.30.0a1746254470.dist-info}/RECORD +65 -61
  64. {pulumi_gcp-8.29.0a1746115375.dist-info → pulumi_gcp-8.30.0a1746254470.dist-info}/WHEEL +1 -1
  65. {pulumi_gcp-8.29.0a1746115375.dist-info → pulumi_gcp-8.30.0a1746254470.dist-info}/top_level.txt +0 -0
@@ -2455,16 +2455,19 @@ if not MYPY:
2455
2455
  """
2456
2456
  client_ttl: NotRequired[pulumi.Input[builtins.int]]
2457
2457
  """
2458
- Specifies the maximum allowed TTL for cached content served by this origin.
2458
+ Specifies the maximum allowed TTL for cached content served by this origin. When the
2459
+ `cache_mode` is set to "USE_ORIGIN_HEADERS", you must omit this field.
2459
2460
  """
2460
2461
  default_ttl: NotRequired[pulumi.Input[builtins.int]]
2461
2462
  """
2462
2463
  Specifies the default TTL for cached content served by this origin for responses
2463
- that do not have an existing valid TTL (max-age or s-max-age).
2464
+ that do not have an existing valid TTL (max-age or s-max-age). When the `cache_mode`
2465
+ is set to "USE_ORIGIN_HEADERS", you must omit this field.
2464
2466
  """
2465
2467
  max_ttl: NotRequired[pulumi.Input[builtins.int]]
2466
2468
  """
2467
- Specifies the maximum allowed TTL for cached content served by this origin.
2469
+ Specifies the maximum allowed TTL for cached content served by this origin. When the
2470
+ `cache_mode` is set to "USE_ORIGIN_HEADERS", you must omit this field.
2468
2471
  """
2469
2472
  negative_caching: NotRequired[pulumi.Input[builtins.bool]]
2470
2473
  """
@@ -2520,10 +2523,13 @@ class BackendBucketCdnPolicyArgs:
2520
2523
  :param pulumi.Input[builtins.str] cache_mode: Specifies the cache setting for all responses from this backend.
2521
2524
  The possible values are: USE_ORIGIN_HEADERS, FORCE_CACHE_ALL and CACHE_ALL_STATIC
2522
2525
  Possible values are: `USE_ORIGIN_HEADERS`, `FORCE_CACHE_ALL`, `CACHE_ALL_STATIC`.
2523
- :param pulumi.Input[builtins.int] client_ttl: Specifies the maximum allowed TTL for cached content served by this origin.
2526
+ :param pulumi.Input[builtins.int] client_ttl: Specifies the maximum allowed TTL for cached content served by this origin. When the
2527
+ `cache_mode` is set to "USE_ORIGIN_HEADERS", you must omit this field.
2524
2528
  :param pulumi.Input[builtins.int] default_ttl: Specifies the default TTL for cached content served by this origin for responses
2525
- that do not have an existing valid TTL (max-age or s-max-age).
2526
- :param pulumi.Input[builtins.int] max_ttl: Specifies the maximum allowed TTL for cached content served by this origin.
2529
+ that do not have an existing valid TTL (max-age or s-max-age). When the `cache_mode`
2530
+ is set to "USE_ORIGIN_HEADERS", you must omit this field.
2531
+ :param pulumi.Input[builtins.int] max_ttl: Specifies the maximum allowed TTL for cached content served by this origin. When the
2532
+ `cache_mode` is set to "USE_ORIGIN_HEADERS", you must omit this field.
2527
2533
  :param pulumi.Input[builtins.bool] negative_caching: Negative caching allows per-status code TTLs to be set, in order to apply fine-grained caching for common errors or redirects.
2528
2534
  :param pulumi.Input[Sequence[pulumi.Input['BackendBucketCdnPolicyNegativeCachingPolicyArgs']]] negative_caching_policies: Sets a cache TTL for the specified HTTP status code. negativeCaching must be enabled to configure negativeCachingPolicy.
2529
2535
  Omitting the policy and leaving negativeCaching enabled will use Cloud CDN's default cache TTLs.
@@ -2606,7 +2612,8 @@ class BackendBucketCdnPolicyArgs:
2606
2612
  @pulumi.getter(name="clientTtl")
2607
2613
  def client_ttl(self) -> Optional[pulumi.Input[builtins.int]]:
2608
2614
  """
2609
- Specifies the maximum allowed TTL for cached content served by this origin.
2615
+ Specifies the maximum allowed TTL for cached content served by this origin. When the
2616
+ `cache_mode` is set to "USE_ORIGIN_HEADERS", you must omit this field.
2610
2617
  """
2611
2618
  return pulumi.get(self, "client_ttl")
2612
2619
 
@@ -2619,7 +2626,8 @@ class BackendBucketCdnPolicyArgs:
2619
2626
  def default_ttl(self) -> Optional[pulumi.Input[builtins.int]]:
2620
2627
  """
2621
2628
  Specifies the default TTL for cached content served by this origin for responses
2622
- that do not have an existing valid TTL (max-age or s-max-age).
2629
+ that do not have an existing valid TTL (max-age or s-max-age). When the `cache_mode`
2630
+ is set to "USE_ORIGIN_HEADERS", you must omit this field.
2623
2631
  """
2624
2632
  return pulumi.get(self, "default_ttl")
2625
2633
 
@@ -2631,7 +2639,8 @@ class BackendBucketCdnPolicyArgs:
2631
2639
  @pulumi.getter(name="maxTtl")
2632
2640
  def max_ttl(self) -> Optional[pulumi.Input[builtins.int]]:
2633
2641
  """
2634
- Specifies the maximum allowed TTL for cached content served by this origin.
2642
+ Specifies the maximum allowed TTL for cached content served by this origin. When the
2643
+ `cache_mode` is set to "USE_ORIGIN_HEADERS", you must omit this field.
2635
2644
  """
2636
2645
  return pulumi.get(self, "max_ttl")
2637
2646
 
@@ -22653,41 +22662,69 @@ class InstanceTemplateDiskArgs:
22653
22662
 
22654
22663
  if not MYPY:
22655
22664
  class InstanceTemplateDiskDiskEncryptionKeyArgsDict(TypedDict):
22656
- kms_key_self_link: pulumi.Input[builtins.str]
22665
+ kms_key_self_link: NotRequired[pulumi.Input[builtins.str]]
22657
22666
  """
22658
22667
  The self link of the encryption key that is stored in Google Cloud KMS
22659
22668
  """
22669
+ kms_key_service_account: NotRequired[pulumi.Input[builtins.str]]
22670
+ """
22671
+ The service account being used for the
22672
+ encryption request for the given KMS key. If absent, the Compute Engine
22673
+ default service account is used.
22674
+ """
22660
22675
  elif False:
22661
22676
  InstanceTemplateDiskDiskEncryptionKeyArgsDict: TypeAlias = Mapping[str, Any]
22662
22677
 
22663
22678
  @pulumi.input_type
22664
22679
  class InstanceTemplateDiskDiskEncryptionKeyArgs:
22665
22680
  def __init__(__self__, *,
22666
- kms_key_self_link: pulumi.Input[builtins.str]):
22681
+ kms_key_self_link: Optional[pulumi.Input[builtins.str]] = None,
22682
+ kms_key_service_account: Optional[pulumi.Input[builtins.str]] = None):
22667
22683
  """
22668
22684
  :param pulumi.Input[builtins.str] kms_key_self_link: The self link of the encryption key that is stored in Google Cloud KMS
22685
+ :param pulumi.Input[builtins.str] kms_key_service_account: The service account being used for the
22686
+ encryption request for the given KMS key. If absent, the Compute Engine
22687
+ default service account is used.
22669
22688
  """
22670
- pulumi.set(__self__, "kms_key_self_link", kms_key_self_link)
22689
+ if kms_key_self_link is not None:
22690
+ pulumi.set(__self__, "kms_key_self_link", kms_key_self_link)
22691
+ if kms_key_service_account is not None:
22692
+ pulumi.set(__self__, "kms_key_service_account", kms_key_service_account)
22671
22693
 
22672
22694
  @property
22673
22695
  @pulumi.getter(name="kmsKeySelfLink")
22674
- def kms_key_self_link(self) -> pulumi.Input[builtins.str]:
22696
+ def kms_key_self_link(self) -> Optional[pulumi.Input[builtins.str]]:
22675
22697
  """
22676
22698
  The self link of the encryption key that is stored in Google Cloud KMS
22677
22699
  """
22678
22700
  return pulumi.get(self, "kms_key_self_link")
22679
22701
 
22680
22702
  @kms_key_self_link.setter
22681
- def kms_key_self_link(self, value: pulumi.Input[builtins.str]):
22703
+ def kms_key_self_link(self, value: Optional[pulumi.Input[builtins.str]]):
22682
22704
  pulumi.set(self, "kms_key_self_link", value)
22683
22705
 
22706
+ @property
22707
+ @pulumi.getter(name="kmsKeyServiceAccount")
22708
+ def kms_key_service_account(self) -> Optional[pulumi.Input[builtins.str]]:
22709
+ """
22710
+ The service account being used for the
22711
+ encryption request for the given KMS key. If absent, the Compute Engine
22712
+ default service account is used.
22713
+ """
22714
+ return pulumi.get(self, "kms_key_service_account")
22715
+
22716
+ @kms_key_service_account.setter
22717
+ def kms_key_service_account(self, value: Optional[pulumi.Input[builtins.str]]):
22718
+ pulumi.set(self, "kms_key_service_account", value)
22719
+
22684
22720
 
22685
22721
  if not MYPY:
22686
22722
  class InstanceTemplateDiskSourceImageEncryptionKeyArgsDict(TypedDict):
22687
- kms_key_self_link: pulumi.Input[builtins.str]
22723
+ kms_key_self_link: NotRequired[pulumi.Input[builtins.str]]
22688
22724
  """
22689
22725
  The self link of the encryption key that is
22690
- stored in Google Cloud KMS.
22726
+ stored in Google Cloud KMS. Only one of `kms_key_self_link`, `rsa_encrypted_key` and `raw_key`
22727
+ may be set.
22691
22728
  """
22692
22729
  kms_key_service_account: NotRequired[pulumi.Input[builtins.str]]
22693
22730
  """
@@ -22695,36 +22732,67 @@ if not MYPY:
22695
22732
  encryption request for the given KMS key. If absent, the Compute Engine
22696
22733
  default service account is used.
22697
22734
  """
22735
+ raw_key: NotRequired[pulumi.Input[builtins.str]]
22736
+ """
22737
+ A 256-bit [customer-supplied encryption key]
22738
+ (https://cloud.google.com/compute/docs/disks/customer-supplied-encryption),
22739
+ encoded in [RFC 4648 base64](https://tools.ietf.org/html/rfc4648#section-4)
22740
+ to decrypt the given image. Only one of `kms_key_self_link`, `rsa_encrypted_key` and `raw_key`
22741
+ may be set.
22742
+ """
22743
+ rsa_encrypted_key: NotRequired[pulumi.Input[builtins.str]]
22744
+ """
22745
+ Specifies an RFC 4648 base64 encoded, RSA-wrapped 2048-bit [customer-supplied encryption key]
22746
+ (https://cloud.google.com/compute/docs/disks/customer-supplied-encryption) to decrypt the given image. Only one of `kms_key_self_link`, `rsa_encrypted_key` and `raw_key`
22747
+ may be set.
22748
+ """
22698
22749
  elif False:
22699
22750
  InstanceTemplateDiskSourceImageEncryptionKeyArgsDict: TypeAlias = Mapping[str, Any]
22700
22751
 
22701
22752
  @pulumi.input_type
22702
22753
  class InstanceTemplateDiskSourceImageEncryptionKeyArgs:
22703
22754
  def __init__(__self__, *,
22704
- kms_key_self_link: pulumi.Input[builtins.str],
22705
- kms_key_service_account: Optional[pulumi.Input[builtins.str]] = None):
22755
+ kms_key_self_link: Optional[pulumi.Input[builtins.str]] = None,
22756
+ kms_key_service_account: Optional[pulumi.Input[builtins.str]] = None,
22757
+ raw_key: Optional[pulumi.Input[builtins.str]] = None,
22758
+ rsa_encrypted_key: Optional[pulumi.Input[builtins.str]] = None):
22706
22759
  """
22707
22760
  :param pulumi.Input[builtins.str] kms_key_self_link: The self link of the encryption key that is
22708
- stored in Google Cloud KMS.
22761
+ stored in Google Cloud KMS. Only one of `kms_key_self_link`, `rsa_encrypted_key` and `raw_key`
22762
+ may be set.
22709
22763
  :param pulumi.Input[builtins.str] kms_key_service_account: The service account being used for the
22710
22764
  encryption request for the given KMS key. If absent, the Compute Engine
22711
22765
  default service account is used.
22766
+ :param pulumi.Input[builtins.str] raw_key: A 256-bit [customer-supplied encryption key]
22767
+ (https://cloud.google.com/compute/docs/disks/customer-supplied-encryption),
22768
+ encoded in [RFC 4648 base64](https://tools.ietf.org/html/rfc4648#section-4)
22769
+ to decrypt the given image. Only one of `kms_key_self_link`, `rsa_encrypted_key` and `raw_key`
22770
+ may be set.
22771
+ :param pulumi.Input[builtins.str] rsa_encrypted_key: Specifies an RFC 4648 base64 encoded, RSA-wrapped 2048-bit [customer-supplied encryption key]
22772
+ (https://cloud.google.com/compute/docs/disks/customer-supplied-encryption) to decrypt the given image. Only one of `kms_key_self_link`, `rsa_encrypted_key` and `raw_key`
22773
+ may be set.
22712
22774
  """
22713
- pulumi.set(__self__, "kms_key_self_link", kms_key_self_link)
22775
+ if kms_key_self_link is not None:
22776
+ pulumi.set(__self__, "kms_key_self_link", kms_key_self_link)
22714
22777
  if kms_key_service_account is not None:
22715
22778
  pulumi.set(__self__, "kms_key_service_account", kms_key_service_account)
22779
+ if raw_key is not None:
22780
+ pulumi.set(__self__, "raw_key", raw_key)
22781
+ if rsa_encrypted_key is not None:
22782
+ pulumi.set(__self__, "rsa_encrypted_key", rsa_encrypted_key)
22716
22783
 
22717
22784
  @property
22718
22785
  @pulumi.getter(name="kmsKeySelfLink")
22719
- def kms_key_self_link(self) -> pulumi.Input[builtins.str]:
22786
+ def kms_key_self_link(self) -> Optional[pulumi.Input[builtins.str]]:
22720
22787
  """
22721
22788
  The self link of the encryption key that is
22722
- stored in Google Cloud KMS.
22789
+ stored in Google Cloud KMS. Only one of `kms_key_self_link`, `rsa_encrypted_key` and `raw_key`
22790
+ may be set.
22723
22791
  """
22724
22792
  return pulumi.get(self, "kms_key_self_link")
22725
22793
 
22726
22794
  @kms_key_self_link.setter
22727
- def kms_key_self_link(self, value: pulumi.Input[builtins.str]):
22795
+ def kms_key_self_link(self, value: Optional[pulumi.Input[builtins.str]]):
22728
22796
  pulumi.set(self, "kms_key_self_link", value)
22729
22797
 
22730
22798
  @property
@@ -22741,13 +22809,44 @@ class InstanceTemplateDiskSourceImageEncryptionKeyArgs:
22741
22809
  def kms_key_service_account(self, value: Optional[pulumi.Input[builtins.str]]):
22742
22810
  pulumi.set(self, "kms_key_service_account", value)
22743
22811
 
22812
+ @property
22813
+ @pulumi.getter(name="rawKey")
22814
+ def raw_key(self) -> Optional[pulumi.Input[builtins.str]]:
22815
+ """
22816
+ A 256-bit [customer-supplied encryption key]
22817
+ (https://cloud.google.com/compute/docs/disks/customer-supplied-encryption),
22818
+ encoded in [RFC 4648 base64](https://tools.ietf.org/html/rfc4648#section-4)
22819
+ to decrypt the given image. Only one of `kms_key_self_link`, `rsa_encrypted_key` and `raw_key`
22820
+ may be set.
22821
+ """
22822
+ return pulumi.get(self, "raw_key")
22823
+
22824
+ @raw_key.setter
22825
+ def raw_key(self, value: Optional[pulumi.Input[builtins.str]]):
22826
+ pulumi.set(self, "raw_key", value)
22827
+
22828
+ @property
22829
+ @pulumi.getter(name="rsaEncryptedKey")
22830
+ def rsa_encrypted_key(self) -> Optional[pulumi.Input[builtins.str]]:
22831
+ """
22832
+ Specifies an RFC 4648 base64 encoded, RSA-wrapped 2048-bit [customer-supplied encryption key]
22833
+ (https://cloud.google.com/compute/docs/disks/customer-supplied-encryption) to decrypt the given image. Only one of `kms_key_self_link`, `rsa_encrypted_key` and `raw_key`
22834
+ may be set.
22835
+ """
22836
+ return pulumi.get(self, "rsa_encrypted_key")
22837
+
22838
+ @rsa_encrypted_key.setter
22839
+ def rsa_encrypted_key(self, value: Optional[pulumi.Input[builtins.str]]):
22840
+ pulumi.set(self, "rsa_encrypted_key", value)
22841
+
22744
22842
 
22745
22843
  if not MYPY:
22746
22844
  class InstanceTemplateDiskSourceSnapshotEncryptionKeyArgsDict(TypedDict):
22747
- kms_key_self_link: pulumi.Input[builtins.str]
22845
+ kms_key_self_link: NotRequired[pulumi.Input[builtins.str]]
22748
22846
  """
22749
22847
  The self link of the encryption key that is
22750
- stored in Google Cloud KMS.
22848
+ stored in Google Cloud KMS. Only one of `kms_key_self_link`, `rsa_encrypted_key` and `raw_key`
22849
+ may be set.
22751
22850
  """
22752
22851
  kms_key_service_account: NotRequired[pulumi.Input[builtins.str]]
22753
22852
  """
@@ -22755,36 +22854,67 @@ if not MYPY:
22755
22854
  encryption request for the given KMS key. If absent, the Compute Engine
22756
22855
  default service account is used.
22757
22856
  """
22857
+ raw_key: NotRequired[pulumi.Input[builtins.str]]
22858
+ """
22859
+ A 256-bit [customer-supplied encryption key]
22860
+ (https://cloud.google.com/compute/docs/disks/customer-supplied-encryption),
22861
+ encoded in [RFC 4648 base64](https://tools.ietf.org/html/rfc4648#section-4)
22862
+ to decrypt this snapshot. Only one of `kms_key_self_link`, `rsa_encrypted_key` and `raw_key`
22863
+ may be set.
22864
+ """
22865
+ rsa_encrypted_key: NotRequired[pulumi.Input[builtins.str]]
22866
+ """
22867
+ Specifies an RFC 4648 base64 encoded, RSA-wrapped 2048-bit [customer-supplied encryption key]
22868
+ (https://cloud.google.com/compute/docs/disks/customer-supplied-encryption) to decrypt this snapshot. Only one of `kms_key_self_link`, `rsa_encrypted_key` and `raw_key`
22869
+ may be set.
22870
+ """
22758
22871
  elif False:
22759
22872
  InstanceTemplateDiskSourceSnapshotEncryptionKeyArgsDict: TypeAlias = Mapping[str, Any]
22760
22873
 
22761
22874
  @pulumi.input_type
22762
22875
  class InstanceTemplateDiskSourceSnapshotEncryptionKeyArgs:
22763
22876
  def __init__(__self__, *,
22764
- kms_key_self_link: pulumi.Input[builtins.str],
22765
- kms_key_service_account: Optional[pulumi.Input[builtins.str]] = None):
22877
+ kms_key_self_link: Optional[pulumi.Input[builtins.str]] = None,
22878
+ kms_key_service_account: Optional[pulumi.Input[builtins.str]] = None,
22879
+ raw_key: Optional[pulumi.Input[builtins.str]] = None,
22880
+ rsa_encrypted_key: Optional[pulumi.Input[builtins.str]] = None):
22766
22881
  """
22767
22882
  :param pulumi.Input[builtins.str] kms_key_self_link: The self link of the encryption key that is
22768
- stored in Google Cloud KMS.
22883
+ stored in Google Cloud KMS. Only one of `kms_key_self_link`, `rsa_encrypted_key` and `raw_key`
22884
+ may be set.
22769
22885
  :param pulumi.Input[builtins.str] kms_key_service_account: The service account being used for the
22770
22886
  encryption request for the given KMS key. If absent, the Compute Engine
22771
22887
  default service account is used.
22888
+ :param pulumi.Input[builtins.str] raw_key: A 256-bit [customer-supplied encryption key]
22889
+ (https://cloud.google.com/compute/docs/disks/customer-supplied-encryption),
22890
+ encoded in [RFC 4648 base64](https://tools.ietf.org/html/rfc4648#section-4)
22891
+ to decrypt this snapshot. Only one of `kms_key_self_link`, `rsa_encrypted_key` and `raw_key`
22892
+ may be set.
22893
+ :param pulumi.Input[builtins.str] rsa_encrypted_key: Specifies an RFC 4648 base64 encoded, RSA-wrapped 2048-bit [customer-supplied encryption key]
22894
+ (https://cloud.google.com/compute/docs/disks/customer-supplied-encryption) to decrypt this snapshot. Only one of `kms_key_self_link`, `rsa_encrypted_key` and `raw_key`
22895
+ may be set.
22772
22896
  """
22773
- pulumi.set(__self__, "kms_key_self_link", kms_key_self_link)
22897
+ if kms_key_self_link is not None:
22898
+ pulumi.set(__self__, "kms_key_self_link", kms_key_self_link)
22774
22899
  if kms_key_service_account is not None:
22775
22900
  pulumi.set(__self__, "kms_key_service_account", kms_key_service_account)
22901
+ if raw_key is not None:
22902
+ pulumi.set(__self__, "raw_key", raw_key)
22903
+ if rsa_encrypted_key is not None:
22904
+ pulumi.set(__self__, "rsa_encrypted_key", rsa_encrypted_key)
22776
22905
 
22777
22906
  @property
22778
22907
  @pulumi.getter(name="kmsKeySelfLink")
22779
- def kms_key_self_link(self) -> pulumi.Input[builtins.str]:
22908
+ def kms_key_self_link(self) -> Optional[pulumi.Input[builtins.str]]:
22780
22909
  """
22781
22910
  The self link of the encryption key that is
22782
- stored in Google Cloud KMS.
22911
+ stored in Google Cloud KMS. Only one of `kms_key_self_link`, `rsa_encrypted_key` and `raw_key`
22912
+ may be set.
22783
22913
  """
22784
22914
  return pulumi.get(self, "kms_key_self_link")
22785
22915
 
22786
22916
  @kms_key_self_link.setter
22787
- def kms_key_self_link(self, value: pulumi.Input[builtins.str]):
22917
+ def kms_key_self_link(self, value: Optional[pulumi.Input[builtins.str]]):
22788
22918
  pulumi.set(self, "kms_key_self_link", value)
22789
22919
 
22790
22920
  @property
@@ -22801,6 +22931,36 @@ class InstanceTemplateDiskSourceSnapshotEncryptionKeyArgs:
22801
22931
  def kms_key_service_account(self, value: Optional[pulumi.Input[builtins.str]]):
22802
22932
  pulumi.set(self, "kms_key_service_account", value)
22803
22933
 
22934
+ @property
22935
+ @pulumi.getter(name="rawKey")
22936
+ def raw_key(self) -> Optional[pulumi.Input[builtins.str]]:
22937
+ """
22938
+ A 256-bit [customer-supplied encryption key]
22939
+ (https://cloud.google.com/compute/docs/disks/customer-supplied-encryption),
22940
+ encoded in [RFC 4648 base64](https://tools.ietf.org/html/rfc4648#section-4)
22941
+ to decrypt this snapshot. Only one of `kms_key_self_link`, `rsa_encrypted_key` and `raw_key`
22942
+ may be set.
22943
+ """
22944
+ return pulumi.get(self, "raw_key")
22945
+
22946
+ @raw_key.setter
22947
+ def raw_key(self, value: Optional[pulumi.Input[builtins.str]]):
22948
+ pulumi.set(self, "raw_key", value)
22949
+
22950
+ @property
22951
+ @pulumi.getter(name="rsaEncryptedKey")
22952
+ def rsa_encrypted_key(self) -> Optional[pulumi.Input[builtins.str]]:
22953
+ """
22954
+ Specifies an RFC 4648 base64 encoded, RSA-wrapped 2048-bit [customer-supplied encryption key]
22955
+ (https://cloud.google.com/compute/docs/disks/customer-supplied-encryption) to decrypt this snapshot. Only one of `kms_key_self_link`, `rsa_encrypted_key` and `raw_key`
22956
+ may be set.
22957
+ """
22958
+ return pulumi.get(self, "rsa_encrypted_key")
22959
+
22960
+ @rsa_encrypted_key.setter
22961
+ def rsa_encrypted_key(self, value: Optional[pulumi.Input[builtins.str]]):
22962
+ pulumi.set(self, "rsa_encrypted_key", value)
22963
+
22804
22964
 
22805
22965
  if not MYPY:
22806
22966
  class InstanceTemplateGuestAcceleratorArgsDict(TypedDict):
@@ -37312,41 +37472,69 @@ class RegionInstanceTemplateDiskArgs:
37312
37472
 
37313
37473
  if not MYPY:
37314
37474
  class RegionInstanceTemplateDiskDiskEncryptionKeyArgsDict(TypedDict):
37315
- kms_key_self_link: pulumi.Input[builtins.str]
37475
+ kms_key_self_link: NotRequired[pulumi.Input[builtins.str]]
37316
37476
  """
37317
37477
  The self link of the encryption key that is stored in Google Cloud KMS
37318
37478
  """
37479
+ kms_key_service_account: NotRequired[pulumi.Input[builtins.str]]
37480
+ """
37481
+ The service account being used for the
37482
+ encryption request for the given KMS key. If absent, the Compute Engine
37483
+ default service account is used.
37484
+ """
37319
37485
  elif False:
37320
37486
  RegionInstanceTemplateDiskDiskEncryptionKeyArgsDict: TypeAlias = Mapping[str, Any]
37321
37487
 
37322
37488
  @pulumi.input_type
37323
37489
  class RegionInstanceTemplateDiskDiskEncryptionKeyArgs:
37324
37490
  def __init__(__self__, *,
37325
- kms_key_self_link: pulumi.Input[builtins.str]):
37491
+ kms_key_self_link: Optional[pulumi.Input[builtins.str]] = None,
37492
+ kms_key_service_account: Optional[pulumi.Input[builtins.str]] = None):
37326
37493
  """
37327
37494
  :param pulumi.Input[builtins.str] kms_key_self_link: The self link of the encryption key that is stored in Google Cloud KMS
37495
+ :param pulumi.Input[builtins.str] kms_key_service_account: The service account being used for the
37496
+ encryption request for the given KMS key. If absent, the Compute Engine
37497
+ default service account is used.
37328
37498
  """
37329
- pulumi.set(__self__, "kms_key_self_link", kms_key_self_link)
37499
+ if kms_key_self_link is not None:
37500
+ pulumi.set(__self__, "kms_key_self_link", kms_key_self_link)
37501
+ if kms_key_service_account is not None:
37502
+ pulumi.set(__self__, "kms_key_service_account", kms_key_service_account)
37330
37503
 
37331
37504
  @property
37332
37505
  @pulumi.getter(name="kmsKeySelfLink")
37333
- def kms_key_self_link(self) -> pulumi.Input[builtins.str]:
37506
+ def kms_key_self_link(self) -> Optional[pulumi.Input[builtins.str]]:
37334
37507
  """
37335
37508
  The self link of the encryption key that is stored in Google Cloud KMS
37336
37509
  """
37337
37510
  return pulumi.get(self, "kms_key_self_link")
37338
37511
 
37339
37512
  @kms_key_self_link.setter
37340
- def kms_key_self_link(self, value: pulumi.Input[builtins.str]):
37513
+ def kms_key_self_link(self, value: Optional[pulumi.Input[builtins.str]]):
37341
37514
  pulumi.set(self, "kms_key_self_link", value)
37342
37515
 
37516
+ @property
37517
+ @pulumi.getter(name="kmsKeyServiceAccount")
37518
+ def kms_key_service_account(self) -> Optional[pulumi.Input[builtins.str]]:
37519
+ """
37520
+ The service account being used for the
37521
+ encryption request for the given KMS key. If absent, the Compute Engine
37522
+ default service account is used.
37523
+ """
37524
+ return pulumi.get(self, "kms_key_service_account")
37525
+
37526
+ @kms_key_service_account.setter
37527
+ def kms_key_service_account(self, value: Optional[pulumi.Input[builtins.str]]):
37528
+ pulumi.set(self, "kms_key_service_account", value)
37529
+
37343
37530
 
37344
37531
  if not MYPY:
37345
37532
  class RegionInstanceTemplateDiskSourceImageEncryptionKeyArgsDict(TypedDict):
37346
- kms_key_self_link: pulumi.Input[builtins.str]
37533
+ kms_key_self_link: NotRequired[pulumi.Input[builtins.str]]
37347
37534
  """
37348
37535
  The self link of the encryption key that is
37349
- stored in Google Cloud KMS.
37536
+ stored in Google Cloud KMS. Only one of `kms_key_self_link`, `rsa_encrypted_key` and `raw_key`
37537
+ may be set.
37350
37538
  """
37351
37539
  kms_key_service_account: NotRequired[pulumi.Input[builtins.str]]
37352
37540
  """
@@ -37354,36 +37542,67 @@ if not MYPY:
37354
37542
  encryption request for the given KMS key. If absent, the Compute Engine
37355
37543
  default service account is used.
37356
37544
  """
37545
+ raw_key: NotRequired[pulumi.Input[builtins.str]]
37546
+ """
37547
+ A 256-bit [customer-supplied encryption key]
37548
+ (https://cloud.google.com/compute/docs/disks/customer-supplied-encryption),
37549
+ encoded in [RFC 4648 base64](https://tools.ietf.org/html/rfc4648#section-4)
37550
+ to decrypt the given image. Only one of `kms_key_self_link`, `rsa_encrypted_key` and `raw_key`
37551
+ may be set.
37552
+ """
37553
+ rsa_encrypted_key: NotRequired[pulumi.Input[builtins.str]]
37554
+ """
37555
+ Specifies an RFC 4648 base64 encoded, RSA-wrapped 2048-bit [customer-supplied encryption key]
37556
+ (https://cloud.google.com/compute/docs/disks/customer-supplied-encryption) to decrypt the given image. Only one of `kms_key_self_link`, `rsa_encrypted_key` and `raw_key`
37557
+ may be set.
37558
+ """
37357
37559
  elif False:
37358
37560
  RegionInstanceTemplateDiskSourceImageEncryptionKeyArgsDict: TypeAlias = Mapping[str, Any]
37359
37561
 
37360
37562
  @pulumi.input_type
37361
37563
  class RegionInstanceTemplateDiskSourceImageEncryptionKeyArgs:
37362
37564
  def __init__(__self__, *,
37363
- kms_key_self_link: pulumi.Input[builtins.str],
37364
- kms_key_service_account: Optional[pulumi.Input[builtins.str]] = None):
37565
+ kms_key_self_link: Optional[pulumi.Input[builtins.str]] = None,
37566
+ kms_key_service_account: Optional[pulumi.Input[builtins.str]] = None,
37567
+ raw_key: Optional[pulumi.Input[builtins.str]] = None,
37568
+ rsa_encrypted_key: Optional[pulumi.Input[builtins.str]] = None):
37365
37569
  """
37366
37570
  :param pulumi.Input[builtins.str] kms_key_self_link: The self link of the encryption key that is
37367
- stored in Google Cloud KMS.
37571
+ stored in Google Cloud KMS. Only one of `kms_key_self_link`, `rsa_encrypted_key` and `raw_key`
37572
+ may be set.
37368
37573
  :param pulumi.Input[builtins.str] kms_key_service_account: The service account being used for the
37369
37574
  encryption request for the given KMS key. If absent, the Compute Engine
37370
37575
  default service account is used.
37576
+ :param pulumi.Input[builtins.str] raw_key: A 256-bit [customer-supplied encryption key]
37577
+ (https://cloud.google.com/compute/docs/disks/customer-supplied-encryption),
37578
+ encoded in [RFC 4648 base64](https://tools.ietf.org/html/rfc4648#section-4)
37579
+ to decrypt the given image. Only one of `kms_key_self_link`, `rsa_encrypted_key` and `raw_key`
37580
+ may be set.
37581
+ :param pulumi.Input[builtins.str] rsa_encrypted_key: Specifies an RFC 4648 base64 encoded, RSA-wrapped 2048-bit [customer-supplied encryption key]
37582
+ (https://cloud.google.com/compute/docs/disks/customer-supplied-encryption) to decrypt the given image. Only one of `kms_key_self_link`, `rsa_encrypted_key` and `raw_key`
37583
+ may be set.
37371
37584
  """
37372
- pulumi.set(__self__, "kms_key_self_link", kms_key_self_link)
37585
+ if kms_key_self_link is not None:
37586
+ pulumi.set(__self__, "kms_key_self_link", kms_key_self_link)
37373
37587
  if kms_key_service_account is not None:
37374
37588
  pulumi.set(__self__, "kms_key_service_account", kms_key_service_account)
37589
+ if raw_key is not None:
37590
+ pulumi.set(__self__, "raw_key", raw_key)
37591
+ if rsa_encrypted_key is not None:
37592
+ pulumi.set(__self__, "rsa_encrypted_key", rsa_encrypted_key)
37375
37593
 
37376
37594
  @property
37377
37595
  @pulumi.getter(name="kmsKeySelfLink")
37378
- def kms_key_self_link(self) -> pulumi.Input[builtins.str]:
37596
+ def kms_key_self_link(self) -> Optional[pulumi.Input[builtins.str]]:
37379
37597
  """
37380
37598
  The self link of the encryption key that is
37381
- stored in Google Cloud KMS.
37599
+ stored in Google Cloud KMS. Only one of `kms_key_self_link`, `rsa_encrypted_key` and `raw_key`
37600
+ may be set.
37382
37601
  """
37383
37602
  return pulumi.get(self, "kms_key_self_link")
37384
37603
 
37385
37604
  @kms_key_self_link.setter
37386
- def kms_key_self_link(self, value: pulumi.Input[builtins.str]):
37605
+ def kms_key_self_link(self, value: Optional[pulumi.Input[builtins.str]]):
37387
37606
  pulumi.set(self, "kms_key_self_link", value)
37388
37607
 
37389
37608
  @property
@@ -37400,13 +37619,44 @@ class RegionInstanceTemplateDiskSourceImageEncryptionKeyArgs:
37400
37619
  def kms_key_service_account(self, value: Optional[pulumi.Input[builtins.str]]):
37401
37620
  pulumi.set(self, "kms_key_service_account", value)
37402
37621
 
37622
+ @property
37623
+ @pulumi.getter(name="rawKey")
37624
+ def raw_key(self) -> Optional[pulumi.Input[builtins.str]]:
37625
+ """
37626
+ A 256-bit [customer-supplied encryption key]
37627
+ (https://cloud.google.com/compute/docs/disks/customer-supplied-encryption),
37628
+ encoded in [RFC 4648 base64](https://tools.ietf.org/html/rfc4648#section-4)
37629
+ to decrypt the given image. Only one of `kms_key_self_link`, `rsa_encrypted_key` and `raw_key`
37630
+ may be set.
37631
+ """
37632
+ return pulumi.get(self, "raw_key")
37633
+
37634
+ @raw_key.setter
37635
+ def raw_key(self, value: Optional[pulumi.Input[builtins.str]]):
37636
+ pulumi.set(self, "raw_key", value)
37637
+
37638
+ @property
37639
+ @pulumi.getter(name="rsaEncryptedKey")
37640
+ def rsa_encrypted_key(self) -> Optional[pulumi.Input[builtins.str]]:
37641
+ """
37642
+ Specifies an RFC 4648 base64 encoded, RSA-wrapped 2048-bit [customer-supplied encryption key]
37643
+ (https://cloud.google.com/compute/docs/disks/customer-supplied-encryption) to decrypt the given image. Only one of `kms_key_self_link`, `rsa_encrypted_key` and `raw_key`
37644
+ may be set.
37645
+ """
37646
+ return pulumi.get(self, "rsa_encrypted_key")
37647
+
37648
+ @rsa_encrypted_key.setter
37649
+ def rsa_encrypted_key(self, value: Optional[pulumi.Input[builtins.str]]):
37650
+ pulumi.set(self, "rsa_encrypted_key", value)
37651
+
37403
37652
 
37404
37653
  if not MYPY:
37405
37654
  class RegionInstanceTemplateDiskSourceSnapshotEncryptionKeyArgsDict(TypedDict):
37406
- kms_key_self_link: pulumi.Input[builtins.str]
37655
+ kms_key_self_link: NotRequired[pulumi.Input[builtins.str]]
37407
37656
  """
37408
37657
  The self link of the encryption key that is
37409
- stored in Google Cloud KMS.
37658
+ stored in Google Cloud KMS. Only one of `kms_key_self_link`, `rsa_encrypted_key` and `raw_key`
37659
+ may be set.
37410
37660
  """
37411
37661
  kms_key_service_account: NotRequired[pulumi.Input[builtins.str]]
37412
37662
  """
@@ -37414,36 +37664,67 @@ if not MYPY:
37414
37664
  encryption request for the given KMS key. If absent, the Compute Engine
37415
37665
  default service account is used.
37416
37666
  """
37667
+ raw_key: NotRequired[pulumi.Input[builtins.str]]
37668
+ """
37669
+ A 256-bit [customer-supplied encryption key]
37670
+ (https://cloud.google.com/compute/docs/disks/customer-supplied-encryption),
37671
+ encoded in [RFC 4648 base64](https://tools.ietf.org/html/rfc4648#section-4)
37672
+ to decrypt this snapshot. Only one of `kms_key_self_link`, `rsa_encrypted_key` and `raw_key`
37673
+ may be set.
37674
+ """
37675
+ rsa_encrypted_key: NotRequired[pulumi.Input[builtins.str]]
37676
+ """
37677
+ Specifies an RFC 4648 base64 encoded, RSA-wrapped 2048-bit [customer-supplied encryption key]
37678
+ (https://cloud.google.com/compute/docs/disks/customer-supplied-encryption) to decrypt this snapshot. Only one of `kms_key_self_link`, `rsa_encrypted_key` and `raw_key`
37679
+ may be set.
37680
+ """
37417
37681
  elif False:
37418
37682
  RegionInstanceTemplateDiskSourceSnapshotEncryptionKeyArgsDict: TypeAlias = Mapping[str, Any]
37419
37683
 
37420
37684
  @pulumi.input_type
37421
37685
  class RegionInstanceTemplateDiskSourceSnapshotEncryptionKeyArgs:
37422
37686
  def __init__(__self__, *,
37423
- kms_key_self_link: pulumi.Input[builtins.str],
37424
- kms_key_service_account: Optional[pulumi.Input[builtins.str]] = None):
37687
+ kms_key_self_link: Optional[pulumi.Input[builtins.str]] = None,
37688
+ kms_key_service_account: Optional[pulumi.Input[builtins.str]] = None,
37689
+ raw_key: Optional[pulumi.Input[builtins.str]] = None,
37690
+ rsa_encrypted_key: Optional[pulumi.Input[builtins.str]] = None):
37425
37691
  """
37426
37692
  :param pulumi.Input[builtins.str] kms_key_self_link: The self link of the encryption key that is
37427
- stored in Google Cloud KMS.
37693
+ stored in Google Cloud KMS. Only one of `kms_key_self_link`, `rsa_encrypted_key` and `raw_key`
37694
+ may be set.
37428
37695
  :param pulumi.Input[builtins.str] kms_key_service_account: The service account being used for the
37429
37696
  encryption request for the given KMS key. If absent, the Compute Engine
37430
37697
  default service account is used.
37698
+ :param pulumi.Input[builtins.str] raw_key: A 256-bit [customer-supplied encryption key]
37699
+ (https://cloud.google.com/compute/docs/disks/customer-supplied-encryption),
37700
+ encoded in [RFC 4648 base64](https://tools.ietf.org/html/rfc4648#section-4)
37701
+ to decrypt this snapshot. Only one of `kms_key_self_link`, `rsa_encrypted_key` and `raw_key`
37702
+ may be set.
37703
+ :param pulumi.Input[builtins.str] rsa_encrypted_key: Specifies an RFC 4648 base64 encoded, RSA-wrapped 2048-bit [customer-supplied encryption key]
37704
+ (https://cloud.google.com/compute/docs/disks/customer-supplied-encryption) to decrypt this snapshot. Only one of `kms_key_self_link`, `rsa_encrypted_key` and `raw_key`
37705
+ may be set.
37431
37706
  """
37432
- pulumi.set(__self__, "kms_key_self_link", kms_key_self_link)
37707
+ if kms_key_self_link is not None:
37708
+ pulumi.set(__self__, "kms_key_self_link", kms_key_self_link)
37433
37709
  if kms_key_service_account is not None:
37434
37710
  pulumi.set(__self__, "kms_key_service_account", kms_key_service_account)
37711
+ if raw_key is not None:
37712
+ pulumi.set(__self__, "raw_key", raw_key)
37713
+ if rsa_encrypted_key is not None:
37714
+ pulumi.set(__self__, "rsa_encrypted_key", rsa_encrypted_key)
37435
37715
 
37436
37716
  @property
37437
37717
  @pulumi.getter(name="kmsKeySelfLink")
37438
- def kms_key_self_link(self) -> pulumi.Input[builtins.str]:
37718
+ def kms_key_self_link(self) -> Optional[pulumi.Input[builtins.str]]:
37439
37719
  """
37440
37720
  The self link of the encryption key that is
37441
- stored in Google Cloud KMS.
37721
+ stored in Google Cloud KMS. Only one of `kms_key_self_link`, `rsa_encrypted_key` and `raw_key`
37722
+ may be set.
37442
37723
  """
37443
37724
  return pulumi.get(self, "kms_key_self_link")
37444
37725
 
37445
37726
  @kms_key_self_link.setter
37446
- def kms_key_self_link(self, value: pulumi.Input[builtins.str]):
37727
+ def kms_key_self_link(self, value: Optional[pulumi.Input[builtins.str]]):
37447
37728
  pulumi.set(self, "kms_key_self_link", value)
37448
37729
 
37449
37730
  @property
@@ -37460,6 +37741,36 @@ class RegionInstanceTemplateDiskSourceSnapshotEncryptionKeyArgs:
37460
37741
  def kms_key_service_account(self, value: Optional[pulumi.Input[builtins.str]]):
37461
37742
  pulumi.set(self, "kms_key_service_account", value)
37462
37743
 
37744
+ @property
37745
+ @pulumi.getter(name="rawKey")
37746
+ def raw_key(self) -> Optional[pulumi.Input[builtins.str]]:
37747
+ """
37748
+ A 256-bit [customer-supplied encryption key]
37749
+ (https://cloud.google.com/compute/docs/disks/customer-supplied-encryption),
37750
+ encoded in [RFC 4648 base64](https://tools.ietf.org/html/rfc4648#section-4)
37751
+ to decrypt this snapshot. Only one of `kms_key_self_link`, `rsa_encrypted_key` and `raw_key`
37752
+ may be set.
37753
+ """
37754
+ return pulumi.get(self, "raw_key")
37755
+
37756
+ @raw_key.setter
37757
+ def raw_key(self, value: Optional[pulumi.Input[builtins.str]]):
37758
+ pulumi.set(self, "raw_key", value)
37759
+
37760
+ @property
37761
+ @pulumi.getter(name="rsaEncryptedKey")
37762
+ def rsa_encrypted_key(self) -> Optional[pulumi.Input[builtins.str]]:
37763
+ """
37764
+ Specifies an RFC 4648 base64 encoded, RSA-wrapped 2048-bit [customer-supplied encryption key]
37765
+ (https://cloud.google.com/compute/docs/disks/customer-supplied-encryption) to decrypt this snapshot. Only one of `kms_key_self_link`, `rsa_encrypted_key` and `raw_key`
37766
+ may be set.
37767
+ """
37768
+ return pulumi.get(self, "rsa_encrypted_key")
37769
+
37770
+ @rsa_encrypted_key.setter
37771
+ def rsa_encrypted_key(self, value: Optional[pulumi.Input[builtins.str]]):
37772
+ pulumi.set(self, "rsa_encrypted_key", value)
37773
+
37463
37774
 
37464
37775
  if not MYPY:
37465
37776
  class RegionInstanceTemplateGuestAcceleratorArgsDict(TypedDict):