pulumi-gcp 7.17.0__py3-none-any.whl → 7.17.0a1711740254__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 (91) hide show
  1. pulumi_gcp/__init__.py +0 -27
  2. pulumi_gcp/apphub/__init__.py +0 -1
  3. pulumi_gcp/apphub/outputs.py +0 -214
  4. pulumi_gcp/bigquery/_inputs.py +0 -16
  5. pulumi_gcp/bigquery/outputs.py +0 -14
  6. pulumi_gcp/bigquery/routine.py +0 -98
  7. pulumi_gcp/bigtable/_inputs.py +4 -4
  8. pulumi_gcp/bigtable/gc_policy.py +0 -8
  9. pulumi_gcp/bigtable/outputs.py +4 -4
  10. pulumi_gcp/billing/_inputs.py +4 -4
  11. pulumi_gcp/billing/outputs.py +4 -4
  12. pulumi_gcp/billing/project_info.py +4 -4
  13. pulumi_gcp/cloudfunctionsv2/_inputs.py +2 -2
  14. pulumi_gcp/cloudfunctionsv2/outputs.py +4 -4
  15. pulumi_gcp/cloudquota/__init__.py +0 -2
  16. pulumi_gcp/cloudquota/outputs.py +0 -118
  17. pulumi_gcp/cloudrunv2/service.py +7 -7
  18. pulumi_gcp/composer/_inputs.py +4 -14
  19. pulumi_gcp/composer/outputs.py +10 -22
  20. pulumi_gcp/compute/_inputs.py +44 -40
  21. pulumi_gcp/compute/autoscaler.py +14 -14
  22. pulumi_gcp/compute/interconnect_attachment.py +0 -64
  23. pulumi_gcp/compute/network_endpoint.py +0 -8
  24. pulumi_gcp/compute/network_endpoint_list.py +0 -8
  25. pulumi_gcp/compute/outputs.py +60 -62
  26. pulumi_gcp/compute/region_autoscaler.py +14 -14
  27. pulumi_gcp/compute/region_backend_service.py +0 -28
  28. pulumi_gcp/compute/target_instance.py +4 -4
  29. pulumi_gcp/config/__init__.pyi +0 -2
  30. pulumi_gcp/config/vars.py +0 -4
  31. pulumi_gcp/container/_inputs.py +16 -148
  32. pulumi_gcp/container/outputs.py +16 -148
  33. pulumi_gcp/databasemigrationservice/connection_profile.py +6 -6
  34. pulumi_gcp/dataflow/flex_template_job.py +112 -84
  35. pulumi_gcp/dataloss/_inputs.py +6 -6
  36. pulumi_gcp/dataloss/outputs.py +6 -6
  37. pulumi_gcp/dataplex/task.py +16 -16
  38. pulumi_gcp/dataproc/_inputs.py +10 -85
  39. pulumi_gcp/dataproc/get_metastore_service.py +1 -11
  40. pulumi_gcp/dataproc/metastore_service.py +0 -120
  41. pulumi_gcp/dataproc/outputs.py +10 -142
  42. pulumi_gcp/firebase/app_check_service_config.py +2 -2
  43. pulumi_gcp/firestore/backup_schedule.py +14 -14
  44. pulumi_gcp/firestore/field.py +4 -4
  45. pulumi_gcp/gkehub/membership_binding.py +6 -6
  46. pulumi_gcp/gkehub/membership_rbac_role_binding.py +4 -4
  47. pulumi_gcp/gkehub/namespace.py +4 -4
  48. pulumi_gcp/gkehub/scope_rbac_role_binding.py +4 -4
  49. pulumi_gcp/iam/_inputs.py +0 -76
  50. pulumi_gcp/iam/outputs.py +0 -76
  51. pulumi_gcp/iam/workforce_pool_provider.py +0 -35
  52. pulumi_gcp/iam/workload_identity_pool_provider.py +0 -140
  53. pulumi_gcp/iap/tunnel_dest_group.py +2 -2
  54. pulumi_gcp/kms/_inputs.py +0 -46
  55. pulumi_gcp/kms/crypto_key.py +0 -54
  56. pulumi_gcp/kms/crypto_key_version.py +0 -54
  57. pulumi_gcp/kms/get_kms_crypto_key.py +1 -11
  58. pulumi_gcp/kms/outputs.py +0 -54
  59. pulumi_gcp/logging/_inputs.py +8 -8
  60. pulumi_gcp/logging/metric.py +7 -7
  61. pulumi_gcp/logging/outputs.py +8 -8
  62. pulumi_gcp/monitoring/_inputs.py +2 -2
  63. pulumi_gcp/monitoring/outputs.py +2 -2
  64. pulumi_gcp/monitoring/slo.py +4 -4
  65. pulumi_gcp/networkservices/_inputs.py +6 -6
  66. pulumi_gcp/networkservices/outputs.py +6 -6
  67. pulumi_gcp/orgpolicy/policy.py +2 -2
  68. pulumi_gcp/provider.py +0 -20
  69. pulumi_gcp/pubsub/subscription.py +4 -4
  70. pulumi_gcp/serviceusage/consumer_quota_override.py +7 -7
  71. pulumi_gcp/sql/_inputs.py +2 -20
  72. pulumi_gcp/sql/database_instance.py +2 -2
  73. pulumi_gcp/sql/outputs.py +2 -20
  74. pulumi_gcp/storage/_inputs.py +2 -2
  75. pulumi_gcp/storage/outputs.py +2 -2
  76. pulumi_gcp/vertex/__init__.py +0 -1
  77. pulumi_gcp/vertex/_inputs.py +8 -175
  78. pulumi_gcp/vertex/outputs.py +10 -202
  79. pulumi_gcp/vpcaccess/connector.py +28 -77
  80. {pulumi_gcp-7.17.0.dist-info → pulumi_gcp-7.17.0a1711740254.dist-info}/METADATA +1 -1
  81. {pulumi_gcp-7.17.0.dist-info → pulumi_gcp-7.17.0a1711740254.dist-info}/RECORD +83 -91
  82. pulumi_gcp/apphub/get_application.py +0 -220
  83. pulumi_gcp/applicationintegration/__init__.py +0 -10
  84. pulumi_gcp/applicationintegration/_inputs.py +0 -119
  85. pulumi_gcp/applicationintegration/client.py +0 -566
  86. pulumi_gcp/applicationintegration/outputs.py +0 -122
  87. pulumi_gcp/cloudquota/_inputs.py +0 -131
  88. pulumi_gcp/cloudquota/s_quota_preference.py +0 -777
  89. pulumi_gcp/vertex/ai_deployment_resource_pool.py +0 -477
  90. {pulumi_gcp-7.17.0.dist-info → pulumi_gcp-7.17.0a1711740254.dist-info}/WHEEL +0 -0
  91. {pulumi_gcp-7.17.0.dist-info → pulumi_gcp-7.17.0a1711740254.dist-info}/top_level.txt +0 -0
pulumi_gcp/kms/_inputs.py CHANGED
@@ -16,7 +16,6 @@ __all__ = [
16
16
  'CryptoKeyVersionAttestationArgs',
17
17
  'CryptoKeyVersionAttestationCertChainsArgs',
18
18
  'CryptoKeyVersionAttestationExternalProtectionLevelOptionsArgs',
19
- 'CryptoKeyVersionExternalProtectionLevelOptionsArgs',
20
19
  'CryptoKeyVersionTemplateArgs',
21
20
  'EkmConnectionServiceResolverArgs',
22
21
  'EkmConnectionServiceResolverServerCertificateArgs',
@@ -210,9 +209,6 @@ class CryptoKeyVersionAttestationArgs:
210
209
  pulumi.set(__self__, "cert_chains", cert_chains)
211
210
  if content is not None:
212
211
  pulumi.set(__self__, "content", content)
213
- if external_protection_level_options is not None:
214
- warnings.warn("""`externalProtectionLevelOptions` is being un-nested from the `attestation` field. Please use the top level `externalProtectionLevelOptions` field instead.""", DeprecationWarning)
215
- pulumi.log.warn("""external_protection_level_options is deprecated: `externalProtectionLevelOptions` is being un-nested from the `attestation` field. Please use the top level `externalProtectionLevelOptions` field instead.""")
216
212
  if external_protection_level_options is not None:
217
213
  pulumi.set(__self__, "external_protection_level_options", external_protection_level_options)
218
214
  if format is not None:
@@ -251,9 +247,6 @@ class CryptoKeyVersionAttestationArgs:
251
247
  ExternalProtectionLevelOptions stores a group of additional fields for configuring a CryptoKeyVersion that are specific to the EXTERNAL protection level and EXTERNAL_VPC protection levels.
252
248
  Structure is documented below.
253
249
  """
254
- warnings.warn("""`externalProtectionLevelOptions` is being un-nested from the `attestation` field. Please use the top level `externalProtectionLevelOptions` field instead.""", DeprecationWarning)
255
- pulumi.log.warn("""external_protection_level_options is deprecated: `externalProtectionLevelOptions` is being un-nested from the `attestation` field. Please use the top level `externalProtectionLevelOptions` field instead.""")
256
-
257
250
  return pulumi.get(self, "external_protection_level_options")
258
251
 
259
252
  @external_protection_level_options.setter
@@ -368,45 +361,6 @@ class CryptoKeyVersionAttestationExternalProtectionLevelOptionsArgs:
368
361
  pulumi.set(self, "external_key_uri", value)
369
362
 
370
363
 
371
- @pulumi.input_type
372
- class CryptoKeyVersionExternalProtectionLevelOptionsArgs:
373
- def __init__(__self__, *,
374
- ekm_connection_key_path: Optional[pulumi.Input[str]] = None,
375
- external_key_uri: Optional[pulumi.Input[str]] = None):
376
- """
377
- :param pulumi.Input[str] ekm_connection_key_path: The path to the external key material on the EKM when using EkmConnection e.g., "v0/my/key". Set this field instead of externalKeyUri when using an EkmConnection.
378
- :param pulumi.Input[str] external_key_uri: The URI for an external resource that this CryptoKeyVersion represents.
379
- """
380
- if ekm_connection_key_path is not None:
381
- pulumi.set(__self__, "ekm_connection_key_path", ekm_connection_key_path)
382
- if external_key_uri is not None:
383
- pulumi.set(__self__, "external_key_uri", external_key_uri)
384
-
385
- @property
386
- @pulumi.getter(name="ekmConnectionKeyPath")
387
- def ekm_connection_key_path(self) -> Optional[pulumi.Input[str]]:
388
- """
389
- The path to the external key material on the EKM when using EkmConnection e.g., "v0/my/key". Set this field instead of externalKeyUri when using an EkmConnection.
390
- """
391
- return pulumi.get(self, "ekm_connection_key_path")
392
-
393
- @ekm_connection_key_path.setter
394
- def ekm_connection_key_path(self, value: Optional[pulumi.Input[str]]):
395
- pulumi.set(self, "ekm_connection_key_path", value)
396
-
397
- @property
398
- @pulumi.getter(name="externalKeyUri")
399
- def external_key_uri(self) -> Optional[pulumi.Input[str]]:
400
- """
401
- The URI for an external resource that this CryptoKeyVersion represents.
402
- """
403
- return pulumi.get(self, "external_key_uri")
404
-
405
- @external_key_uri.setter
406
- def external_key_uri(self, value: Optional[pulumi.Input[str]]):
407
- pulumi.set(self, "external_key_uri", value)
408
-
409
-
410
364
  @pulumi.input_type
411
365
  class CryptoKeyVersionTemplateArgs:
412
366
  def __init__(__self__, *,
@@ -17,7 +17,6 @@ __all__ = ['CryptoKeyArgs', 'CryptoKey']
17
17
  class CryptoKeyArgs:
18
18
  def __init__(__self__, *,
19
19
  key_ring: pulumi.Input[str],
20
- crypto_key_backend: Optional[pulumi.Input[str]] = None,
21
20
  destroy_scheduled_duration: Optional[pulumi.Input[str]] = None,
22
21
  import_only: Optional[pulumi.Input[bool]] = None,
23
22
  labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
@@ -33,8 +32,6 @@ class CryptoKeyArgs:
33
32
 
34
33
 
35
34
  - - -
36
- :param pulumi.Input[str] crypto_key_backend: The resource name of the backend environment associated with all CryptoKeyVersions within this CryptoKey.
37
- The resource name is in the format "projects/*/locations/*/ekmConnections/*" and only applies to "EXTERNAL_VPC" keys.
38
35
  :param pulumi.Input[str] destroy_scheduled_duration: The period of time that versions of this key spend in the DESTROY_SCHEDULED state before transitioning to DESTROYED.
39
36
  If not specified at creation time, the default duration is 24 hours.
40
37
  :param pulumi.Input[bool] import_only: Whether this key may contain imported versions only.
@@ -57,8 +54,6 @@ class CryptoKeyArgs:
57
54
  Structure is documented below.
58
55
  """
59
56
  pulumi.set(__self__, "key_ring", key_ring)
60
- if crypto_key_backend is not None:
61
- pulumi.set(__self__, "crypto_key_backend", crypto_key_backend)
62
57
  if destroy_scheduled_duration is not None:
63
58
  pulumi.set(__self__, "destroy_scheduled_duration", destroy_scheduled_duration)
64
59
  if import_only is not None:
@@ -92,19 +87,6 @@ class CryptoKeyArgs:
92
87
  def key_ring(self, value: pulumi.Input[str]):
93
88
  pulumi.set(self, "key_ring", value)
94
89
 
95
- @property
96
- @pulumi.getter(name="cryptoKeyBackend")
97
- def crypto_key_backend(self) -> Optional[pulumi.Input[str]]:
98
- """
99
- The resource name of the backend environment associated with all CryptoKeyVersions within this CryptoKey.
100
- The resource name is in the format "projects/*/locations/*/ekmConnections/*" and only applies to "EXTERNAL_VPC" keys.
101
- """
102
- return pulumi.get(self, "crypto_key_backend")
103
-
104
- @crypto_key_backend.setter
105
- def crypto_key_backend(self, value: Optional[pulumi.Input[str]]):
106
- pulumi.set(self, "crypto_key_backend", value)
107
-
108
90
  @property
109
91
  @pulumi.getter(name="destroyScheduledDuration")
110
92
  def destroy_scheduled_duration(self) -> Optional[pulumi.Input[str]]:
@@ -217,7 +199,6 @@ class CryptoKeyArgs:
217
199
  @pulumi.input_type
218
200
  class _CryptoKeyState:
219
201
  def __init__(__self__, *,
220
- crypto_key_backend: Optional[pulumi.Input[str]] = None,
221
202
  destroy_scheduled_duration: Optional[pulumi.Input[str]] = None,
222
203
  effective_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
223
204
  import_only: Optional[pulumi.Input[bool]] = None,
@@ -232,8 +213,6 @@ class _CryptoKeyState:
232
213
  version_template: Optional[pulumi.Input['CryptoKeyVersionTemplateArgs']] = None):
233
214
  """
234
215
  Input properties used for looking up and filtering CryptoKey resources.
235
- :param pulumi.Input[str] crypto_key_backend: The resource name of the backend environment associated with all CryptoKeyVersions within this CryptoKey.
236
- The resource name is in the format "projects/*/locations/*/ekmConnections/*" and only applies to "EXTERNAL_VPC" keys.
237
216
  :param pulumi.Input[str] destroy_scheduled_duration: The period of time that versions of this key spend in the DESTROY_SCHEDULED state before transitioning to DESTROYED.
238
217
  If not specified at creation time, the default duration is 24 hours.
239
218
  :param pulumi.Input[Mapping[str, pulumi.Input[str]]] effective_labels: All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
@@ -266,8 +245,6 @@ class _CryptoKeyState:
266
245
  :param pulumi.Input['CryptoKeyVersionTemplateArgs'] version_template: A template describing settings for new crypto key versions.
267
246
  Structure is documented below.
268
247
  """
269
- if crypto_key_backend is not None:
270
- pulumi.set(__self__, "crypto_key_backend", crypto_key_backend)
271
248
  if destroy_scheduled_duration is not None:
272
249
  pulumi.set(__self__, "destroy_scheduled_duration", destroy_scheduled_duration)
273
250
  if effective_labels is not None:
@@ -293,19 +270,6 @@ class _CryptoKeyState:
293
270
  if version_template is not None:
294
271
  pulumi.set(__self__, "version_template", version_template)
295
272
 
296
- @property
297
- @pulumi.getter(name="cryptoKeyBackend")
298
- def crypto_key_backend(self) -> Optional[pulumi.Input[str]]:
299
- """
300
- The resource name of the backend environment associated with all CryptoKeyVersions within this CryptoKey.
301
- The resource name is in the format "projects/*/locations/*/ekmConnections/*" and only applies to "EXTERNAL_VPC" keys.
302
- """
303
- return pulumi.get(self, "crypto_key_backend")
304
-
305
- @crypto_key_backend.setter
306
- def crypto_key_backend(self, value: Optional[pulumi.Input[str]]):
307
- pulumi.set(self, "crypto_key_backend", value)
308
-
309
273
  @property
310
274
  @pulumi.getter(name="destroyScheduledDuration")
311
275
  def destroy_scheduled_duration(self) -> Optional[pulumi.Input[str]]:
@@ -475,7 +439,6 @@ class CryptoKey(pulumi.CustomResource):
475
439
  def __init__(__self__,
476
440
  resource_name: str,
477
441
  opts: Optional[pulumi.ResourceOptions] = None,
478
- crypto_key_backend: Optional[pulumi.Input[str]] = None,
479
442
  destroy_scheduled_duration: Optional[pulumi.Input[str]] = None,
480
443
  import_only: Optional[pulumi.Input[bool]] = None,
481
444
  key_ring: Optional[pulumi.Input[str]] = None,
@@ -562,8 +525,6 @@ class CryptoKey(pulumi.CustomResource):
562
525
 
563
526
  :param str resource_name: The name of the resource.
564
527
  :param pulumi.ResourceOptions opts: Options for the resource.
565
- :param pulumi.Input[str] crypto_key_backend: The resource name of the backend environment associated with all CryptoKeyVersions within this CryptoKey.
566
- The resource name is in the format "projects/*/locations/*/ekmConnections/*" and only applies to "EXTERNAL_VPC" keys.
567
528
  :param pulumi.Input[str] destroy_scheduled_duration: The period of time that versions of this key spend in the DESTROY_SCHEDULED state before transitioning to DESTROYED.
568
529
  If not specified at creation time, the default duration is 24 hours.
569
530
  :param pulumi.Input[bool] import_only: Whether this key may contain imported versions only.
@@ -685,7 +646,6 @@ class CryptoKey(pulumi.CustomResource):
685
646
  def _internal_init(__self__,
686
647
  resource_name: str,
687
648
  opts: Optional[pulumi.ResourceOptions] = None,
688
- crypto_key_backend: Optional[pulumi.Input[str]] = None,
689
649
  destroy_scheduled_duration: Optional[pulumi.Input[str]] = None,
690
650
  import_only: Optional[pulumi.Input[bool]] = None,
691
651
  key_ring: Optional[pulumi.Input[str]] = None,
@@ -704,7 +664,6 @@ class CryptoKey(pulumi.CustomResource):
704
664
  raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
705
665
  __props__ = CryptoKeyArgs.__new__(CryptoKeyArgs)
706
666
 
707
- __props__.__dict__["crypto_key_backend"] = crypto_key_backend
708
667
  __props__.__dict__["destroy_scheduled_duration"] = destroy_scheduled_duration
709
668
  __props__.__dict__["import_only"] = import_only
710
669
  if key_ring is None and not opts.urn:
@@ -731,7 +690,6 @@ class CryptoKey(pulumi.CustomResource):
731
690
  def get(resource_name: str,
732
691
  id: pulumi.Input[str],
733
692
  opts: Optional[pulumi.ResourceOptions] = None,
734
- crypto_key_backend: Optional[pulumi.Input[str]] = None,
735
693
  destroy_scheduled_duration: Optional[pulumi.Input[str]] = None,
736
694
  effective_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
737
695
  import_only: Optional[pulumi.Input[bool]] = None,
@@ -751,8 +709,6 @@ class CryptoKey(pulumi.CustomResource):
751
709
  :param str resource_name: The unique name of the resulting resource.
752
710
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
753
711
  :param pulumi.ResourceOptions opts: Options for the resource.
754
- :param pulumi.Input[str] crypto_key_backend: The resource name of the backend environment associated with all CryptoKeyVersions within this CryptoKey.
755
- The resource name is in the format "projects/*/locations/*/ekmConnections/*" and only applies to "EXTERNAL_VPC" keys.
756
712
  :param pulumi.Input[str] destroy_scheduled_duration: The period of time that versions of this key spend in the DESTROY_SCHEDULED state before transitioning to DESTROYED.
757
713
  If not specified at creation time, the default duration is 24 hours.
758
714
  :param pulumi.Input[Mapping[str, pulumi.Input[str]]] effective_labels: All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
@@ -789,7 +745,6 @@ class CryptoKey(pulumi.CustomResource):
789
745
 
790
746
  __props__ = _CryptoKeyState.__new__(_CryptoKeyState)
791
747
 
792
- __props__.__dict__["crypto_key_backend"] = crypto_key_backend
793
748
  __props__.__dict__["destroy_scheduled_duration"] = destroy_scheduled_duration
794
749
  __props__.__dict__["effective_labels"] = effective_labels
795
750
  __props__.__dict__["import_only"] = import_only
@@ -804,15 +759,6 @@ class CryptoKey(pulumi.CustomResource):
804
759
  __props__.__dict__["version_template"] = version_template
805
760
  return CryptoKey(resource_name, opts=opts, __props__=__props__)
806
761
 
807
- @property
808
- @pulumi.getter(name="cryptoKeyBackend")
809
- def crypto_key_backend(self) -> pulumi.Output[str]:
810
- """
811
- The resource name of the backend environment associated with all CryptoKeyVersions within this CryptoKey.
812
- The resource name is in the format "projects/*/locations/*/ekmConnections/*" and only applies to "EXTERNAL_VPC" keys.
813
- """
814
- return pulumi.get(self, "crypto_key_backend")
815
-
816
762
  @property
817
763
  @pulumi.getter(name="destroyScheduledDuration")
818
764
  def destroy_scheduled_duration(self) -> pulumi.Output[str]:
@@ -17,7 +17,6 @@ __all__ = ['CryptoKeyVersionArgs', 'CryptoKeyVersion']
17
17
  class CryptoKeyVersionArgs:
18
18
  def __init__(__self__, *,
19
19
  crypto_key: pulumi.Input[str],
20
- external_protection_level_options: Optional[pulumi.Input['CryptoKeyVersionExternalProtectionLevelOptionsArgs']] = None,
21
20
  state: Optional[pulumi.Input[str]] = None):
22
21
  """
23
22
  The set of arguments for constructing a CryptoKeyVersion resource.
@@ -26,14 +25,10 @@ class CryptoKeyVersionArgs:
26
25
 
27
26
 
28
27
  - - -
29
- :param pulumi.Input['CryptoKeyVersionExternalProtectionLevelOptionsArgs'] external_protection_level_options: ExternalProtectionLevelOptions stores a group of additional fields for configuring a CryptoKeyVersion that are specific to the EXTERNAL protection level and EXTERNAL_VPC protection levels.
30
- Structure is documented below.
31
28
  :param pulumi.Input[str] state: The current state of the CryptoKeyVersion.
32
29
  Possible values are: `PENDING_GENERATION`, `ENABLED`, `DISABLED`, `DESTROYED`, `DESTROY_SCHEDULED`, `PENDING_IMPORT`, `IMPORT_FAILED`.
33
30
  """
34
31
  pulumi.set(__self__, "crypto_key", crypto_key)
35
- if external_protection_level_options is not None:
36
- pulumi.set(__self__, "external_protection_level_options", external_protection_level_options)
37
32
  if state is not None:
38
33
  pulumi.set(__self__, "state", state)
39
34
 
@@ -53,19 +48,6 @@ class CryptoKeyVersionArgs:
53
48
  def crypto_key(self, value: pulumi.Input[str]):
54
49
  pulumi.set(self, "crypto_key", value)
55
50
 
56
- @property
57
- @pulumi.getter(name="externalProtectionLevelOptions")
58
- def external_protection_level_options(self) -> Optional[pulumi.Input['CryptoKeyVersionExternalProtectionLevelOptionsArgs']]:
59
- """
60
- ExternalProtectionLevelOptions stores a group of additional fields for configuring a CryptoKeyVersion that are specific to the EXTERNAL protection level and EXTERNAL_VPC protection levels.
61
- Structure is documented below.
62
- """
63
- return pulumi.get(self, "external_protection_level_options")
64
-
65
- @external_protection_level_options.setter
66
- def external_protection_level_options(self, value: Optional[pulumi.Input['CryptoKeyVersionExternalProtectionLevelOptionsArgs']]):
67
- pulumi.set(self, "external_protection_level_options", value)
68
-
69
51
  @property
70
52
  @pulumi.getter
71
53
  def state(self) -> Optional[pulumi.Input[str]]:
@@ -86,7 +68,6 @@ class _CryptoKeyVersionState:
86
68
  algorithm: Optional[pulumi.Input[str]] = None,
87
69
  attestations: Optional[pulumi.Input[Sequence[pulumi.Input['CryptoKeyVersionAttestationArgs']]]] = None,
88
70
  crypto_key: Optional[pulumi.Input[str]] = None,
89
- external_protection_level_options: Optional[pulumi.Input['CryptoKeyVersionExternalProtectionLevelOptionsArgs']] = None,
90
71
  generate_time: Optional[pulumi.Input[str]] = None,
91
72
  name: Optional[pulumi.Input[str]] = None,
92
73
  protection_level: Optional[pulumi.Input[str]] = None,
@@ -102,8 +83,6 @@ class _CryptoKeyVersionState:
102
83
 
103
84
 
104
85
  - - -
105
- :param pulumi.Input['CryptoKeyVersionExternalProtectionLevelOptionsArgs'] external_protection_level_options: ExternalProtectionLevelOptions stores a group of additional fields for configuring a CryptoKeyVersion that are specific to the EXTERNAL protection level and EXTERNAL_VPC protection levels.
106
- Structure is documented below.
107
86
  :param pulumi.Input[str] generate_time: The time this CryptoKeyVersion key material was generated
108
87
  :param pulumi.Input[str] name: The resource name for this CryptoKeyVersion.
109
88
  :param pulumi.Input[str] protection_level: The ProtectionLevel describing how crypto operations are performed with this CryptoKeyVersion.
@@ -116,8 +95,6 @@ class _CryptoKeyVersionState:
116
95
  pulumi.set(__self__, "attestations", attestations)
117
96
  if crypto_key is not None:
118
97
  pulumi.set(__self__, "crypto_key", crypto_key)
119
- if external_protection_level_options is not None:
120
- pulumi.set(__self__, "external_protection_level_options", external_protection_level_options)
121
98
  if generate_time is not None:
122
99
  pulumi.set(__self__, "generate_time", generate_time)
123
100
  if name is not None:
@@ -169,19 +146,6 @@ class _CryptoKeyVersionState:
169
146
  def crypto_key(self, value: Optional[pulumi.Input[str]]):
170
147
  pulumi.set(self, "crypto_key", value)
171
148
 
172
- @property
173
- @pulumi.getter(name="externalProtectionLevelOptions")
174
- def external_protection_level_options(self) -> Optional[pulumi.Input['CryptoKeyVersionExternalProtectionLevelOptionsArgs']]:
175
- """
176
- ExternalProtectionLevelOptions stores a group of additional fields for configuring a CryptoKeyVersion that are specific to the EXTERNAL protection level and EXTERNAL_VPC protection levels.
177
- Structure is documented below.
178
- """
179
- return pulumi.get(self, "external_protection_level_options")
180
-
181
- @external_protection_level_options.setter
182
- def external_protection_level_options(self, value: Optional[pulumi.Input['CryptoKeyVersionExternalProtectionLevelOptionsArgs']]):
183
- pulumi.set(self, "external_protection_level_options", value)
184
-
185
149
  @property
186
150
  @pulumi.getter(name="generateTime")
187
151
  def generate_time(self) -> Optional[pulumi.Input[str]]:
@@ -238,7 +202,6 @@ class CryptoKeyVersion(pulumi.CustomResource):
238
202
  resource_name: str,
239
203
  opts: Optional[pulumi.ResourceOptions] = None,
240
204
  crypto_key: Optional[pulumi.Input[str]] = None,
241
- external_protection_level_options: Optional[pulumi.Input[pulumi.InputType['CryptoKeyVersionExternalProtectionLevelOptionsArgs']]] = None,
242
205
  state: Optional[pulumi.Input[str]] = None,
243
206
  __props__=None):
244
207
  """
@@ -291,8 +254,6 @@ class CryptoKeyVersion(pulumi.CustomResource):
291
254
 
292
255
 
293
256
  - - -
294
- :param pulumi.Input[pulumi.InputType['CryptoKeyVersionExternalProtectionLevelOptionsArgs']] external_protection_level_options: ExternalProtectionLevelOptions stores a group of additional fields for configuring a CryptoKeyVersion that are specific to the EXTERNAL protection level and EXTERNAL_VPC protection levels.
295
- Structure is documented below.
296
257
  :param pulumi.Input[str] state: The current state of the CryptoKeyVersion.
297
258
  Possible values are: `PENDING_GENERATION`, `ENABLED`, `DISABLED`, `DESTROYED`, `DESTROY_SCHEDULED`, `PENDING_IMPORT`, `IMPORT_FAILED`.
298
259
  """
@@ -361,7 +322,6 @@ class CryptoKeyVersion(pulumi.CustomResource):
361
322
  resource_name: str,
362
323
  opts: Optional[pulumi.ResourceOptions] = None,
363
324
  crypto_key: Optional[pulumi.Input[str]] = None,
364
- external_protection_level_options: Optional[pulumi.Input[pulumi.InputType['CryptoKeyVersionExternalProtectionLevelOptionsArgs']]] = None,
365
325
  state: Optional[pulumi.Input[str]] = None,
366
326
  __props__=None):
367
327
  opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
@@ -375,7 +335,6 @@ class CryptoKeyVersion(pulumi.CustomResource):
375
335
  if crypto_key is None and not opts.urn:
376
336
  raise TypeError("Missing required property 'crypto_key'")
377
337
  __props__.__dict__["crypto_key"] = crypto_key
378
- __props__.__dict__["external_protection_level_options"] = external_protection_level_options
379
338
  __props__.__dict__["state"] = state
380
339
  __props__.__dict__["algorithm"] = None
381
340
  __props__.__dict__["attestations"] = None
@@ -395,7 +354,6 @@ class CryptoKeyVersion(pulumi.CustomResource):
395
354
  algorithm: Optional[pulumi.Input[str]] = None,
396
355
  attestations: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['CryptoKeyVersionAttestationArgs']]]]] = None,
397
356
  crypto_key: Optional[pulumi.Input[str]] = None,
398
- external_protection_level_options: Optional[pulumi.Input[pulumi.InputType['CryptoKeyVersionExternalProtectionLevelOptionsArgs']]] = None,
399
357
  generate_time: Optional[pulumi.Input[str]] = None,
400
358
  name: Optional[pulumi.Input[str]] = None,
401
359
  protection_level: Optional[pulumi.Input[str]] = None,
@@ -416,8 +374,6 @@ class CryptoKeyVersion(pulumi.CustomResource):
416
374
 
417
375
 
418
376
  - - -
419
- :param pulumi.Input[pulumi.InputType['CryptoKeyVersionExternalProtectionLevelOptionsArgs']] external_protection_level_options: ExternalProtectionLevelOptions stores a group of additional fields for configuring a CryptoKeyVersion that are specific to the EXTERNAL protection level and EXTERNAL_VPC protection levels.
420
- Structure is documented below.
421
377
  :param pulumi.Input[str] generate_time: The time this CryptoKeyVersion key material was generated
422
378
  :param pulumi.Input[str] name: The resource name for this CryptoKeyVersion.
423
379
  :param pulumi.Input[str] protection_level: The ProtectionLevel describing how crypto operations are performed with this CryptoKeyVersion.
@@ -431,7 +387,6 @@ class CryptoKeyVersion(pulumi.CustomResource):
431
387
  __props__.__dict__["algorithm"] = algorithm
432
388
  __props__.__dict__["attestations"] = attestations
433
389
  __props__.__dict__["crypto_key"] = crypto_key
434
- __props__.__dict__["external_protection_level_options"] = external_protection_level_options
435
390
  __props__.__dict__["generate_time"] = generate_time
436
391
  __props__.__dict__["name"] = name
437
392
  __props__.__dict__["protection_level"] = protection_level
@@ -468,15 +423,6 @@ class CryptoKeyVersion(pulumi.CustomResource):
468
423
  """
469
424
  return pulumi.get(self, "crypto_key")
470
425
 
471
- @property
472
- @pulumi.getter(name="externalProtectionLevelOptions")
473
- def external_protection_level_options(self) -> pulumi.Output[Optional['outputs.CryptoKeyVersionExternalProtectionLevelOptions']]:
474
- """
475
- ExternalProtectionLevelOptions stores a group of additional fields for configuring a CryptoKeyVersion that are specific to the EXTERNAL protection level and EXTERNAL_VPC protection levels.
476
- Structure is documented below.
477
- """
478
- return pulumi.get(self, "external_protection_level_options")
479
-
480
426
  @property
481
427
  @pulumi.getter(name="generateTime")
482
428
  def generate_time(self) -> pulumi.Output[str]:
@@ -22,10 +22,7 @@ class GetKMSCryptoKeyResult:
22
22
  """
23
23
  A collection of values returned by getKMSCryptoKey.
24
24
  """
25
- def __init__(__self__, crypto_key_backend=None, destroy_scheduled_duration=None, effective_labels=None, id=None, import_only=None, key_ring=None, labels=None, name=None, primaries=None, pulumi_labels=None, purpose=None, rotation_period=None, skip_initial_version_creation=None, version_templates=None):
26
- if crypto_key_backend and not isinstance(crypto_key_backend, str):
27
- raise TypeError("Expected argument 'crypto_key_backend' to be a str")
28
- pulumi.set(__self__, "crypto_key_backend", crypto_key_backend)
25
+ def __init__(__self__, destroy_scheduled_duration=None, effective_labels=None, id=None, import_only=None, key_ring=None, labels=None, name=None, primaries=None, pulumi_labels=None, purpose=None, rotation_period=None, skip_initial_version_creation=None, version_templates=None):
29
26
  if destroy_scheduled_duration and not isinstance(destroy_scheduled_duration, str):
30
27
  raise TypeError("Expected argument 'destroy_scheduled_duration' to be a str")
31
28
  pulumi.set(__self__, "destroy_scheduled_duration", destroy_scheduled_duration)
@@ -66,11 +63,6 @@ class GetKMSCryptoKeyResult:
66
63
  raise TypeError("Expected argument 'version_templates' to be a list")
67
64
  pulumi.set(__self__, "version_templates", version_templates)
68
65
 
69
- @property
70
- @pulumi.getter(name="cryptoKeyBackend")
71
- def crypto_key_backend(self) -> str:
72
- return pulumi.get(self, "crypto_key_backend")
73
-
74
66
  @property
75
67
  @pulumi.getter(name="destroyScheduledDuration")
76
68
  def destroy_scheduled_duration(self) -> str:
@@ -154,7 +146,6 @@ class AwaitableGetKMSCryptoKeyResult(GetKMSCryptoKeyResult):
154
146
  if False:
155
147
  yield self
156
148
  return GetKMSCryptoKeyResult(
157
- crypto_key_backend=self.crypto_key_backend,
158
149
  destroy_scheduled_duration=self.destroy_scheduled_duration,
159
150
  effective_labels=self.effective_labels,
160
151
  id=self.id,
@@ -208,7 +199,6 @@ def get_kms_crypto_key(key_ring: Optional[str] = None,
208
199
  __ret__ = pulumi.runtime.invoke('gcp:kms/getKMSCryptoKey:getKMSCryptoKey', __args__, opts=opts, typ=GetKMSCryptoKeyResult).value
209
200
 
210
201
  return AwaitableGetKMSCryptoKeyResult(
211
- crypto_key_backend=pulumi.get(__ret__, 'crypto_key_backend'),
212
202
  destroy_scheduled_duration=pulumi.get(__ret__, 'destroy_scheduled_duration'),
213
203
  effective_labels=pulumi.get(__ret__, 'effective_labels'),
214
204
  id=pulumi.get(__ret__, 'id'),
pulumi_gcp/kms/outputs.py CHANGED
@@ -17,7 +17,6 @@ __all__ = [
17
17
  'CryptoKeyVersionAttestation',
18
18
  'CryptoKeyVersionAttestationCertChains',
19
19
  'CryptoKeyVersionAttestationExternalProtectionLevelOptions',
20
- 'CryptoKeyVersionExternalProtectionLevelOptions',
21
20
  'CryptoKeyVersionTemplate',
22
21
  'EkmConnectionServiceResolver',
23
22
  'EkmConnectionServiceResolverServerCertificate',
@@ -231,9 +230,6 @@ class CryptoKeyVersionAttestation(dict):
231
230
  ExternalProtectionLevelOptions stores a group of additional fields for configuring a CryptoKeyVersion that are specific to the EXTERNAL protection level and EXTERNAL_VPC protection levels.
232
231
  Structure is documented below.
233
232
  """
234
- warnings.warn("""`externalProtectionLevelOptions` is being un-nested from the `attestation` field. Please use the top level `externalProtectionLevelOptions` field instead.""", DeprecationWarning)
235
- pulumi.log.warn("""external_protection_level_options is deprecated: `externalProtectionLevelOptions` is being un-nested from the `attestation` field. Please use the top level `externalProtectionLevelOptions` field instead.""")
236
-
237
233
  return pulumi.get(self, "external_protection_level_options")
238
234
 
239
235
  @property
@@ -360,56 +356,6 @@ class CryptoKeyVersionAttestationExternalProtectionLevelOptions(dict):
360
356
  return pulumi.get(self, "external_key_uri")
361
357
 
362
358
 
363
- @pulumi.output_type
364
- class CryptoKeyVersionExternalProtectionLevelOptions(dict):
365
- @staticmethod
366
- def __key_warning(key: str):
367
- suggest = None
368
- if key == "ekmConnectionKeyPath":
369
- suggest = "ekm_connection_key_path"
370
- elif key == "externalKeyUri":
371
- suggest = "external_key_uri"
372
-
373
- if suggest:
374
- pulumi.log.warn(f"Key '{key}' not found in CryptoKeyVersionExternalProtectionLevelOptions. Access the value via the '{suggest}' property getter instead.")
375
-
376
- def __getitem__(self, key: str) -> Any:
377
- CryptoKeyVersionExternalProtectionLevelOptions.__key_warning(key)
378
- return super().__getitem__(key)
379
-
380
- def get(self, key: str, default = None) -> Any:
381
- CryptoKeyVersionExternalProtectionLevelOptions.__key_warning(key)
382
- return super().get(key, default)
383
-
384
- def __init__(__self__, *,
385
- ekm_connection_key_path: Optional[str] = None,
386
- external_key_uri: Optional[str] = None):
387
- """
388
- :param str ekm_connection_key_path: The path to the external key material on the EKM when using EkmConnection e.g., "v0/my/key". Set this field instead of externalKeyUri when using an EkmConnection.
389
- :param str external_key_uri: The URI for an external resource that this CryptoKeyVersion represents.
390
- """
391
- if ekm_connection_key_path is not None:
392
- pulumi.set(__self__, "ekm_connection_key_path", ekm_connection_key_path)
393
- if external_key_uri is not None:
394
- pulumi.set(__self__, "external_key_uri", external_key_uri)
395
-
396
- @property
397
- @pulumi.getter(name="ekmConnectionKeyPath")
398
- def ekm_connection_key_path(self) -> Optional[str]:
399
- """
400
- The path to the external key material on the EKM when using EkmConnection e.g., "v0/my/key". Set this field instead of externalKeyUri when using an EkmConnection.
401
- """
402
- return pulumi.get(self, "ekm_connection_key_path")
403
-
404
- @property
405
- @pulumi.getter(name="externalKeyUri")
406
- def external_key_uri(self) -> Optional[str]:
407
- """
408
- The URI for an external resource that this CryptoKeyVersion represents.
409
- """
410
- return pulumi.get(self, "external_key_uri")
411
-
412
-
413
359
  @pulumi.output_type
414
360
  class CryptoKeyVersionTemplate(dict):
415
361
  @staticmethod
@@ -204,7 +204,7 @@ class BillingAccountSinkExclusionArgs:
204
204
  description: Optional[pulumi.Input[str]] = None,
205
205
  disabled: Optional[pulumi.Input[bool]] = None):
206
206
  """
207
- :param pulumi.Input[str] filter: An advanced logs filter that matches the log entries to be excluded. By using the sample function, you can exclude less than 100% of the matching log entries. See [Advanced Log Filters](https://cloud.google.com/logging/docs/view/advanced_filters) for information on how to
207
+ :param pulumi.Input[str] filter: An advanced logs filter that matches the log entries to be excluded. By using the sample function, you can exclude less than 100%!o(MISSING)f the matching log entries. See [Advanced Log Filters](https://cloud.google.com/logging/docs/view/advanced_filters) for information on how to
208
208
  write a filter.
209
209
  :param pulumi.Input[str] name: A client-assigned identifier, such as `load-balancer-exclusion`. Identifiers are limited to 100 characters and can include only letters, digits, underscores, hyphens, and periods. First character has to be alphanumeric.
210
210
  :param pulumi.Input[str] description: A description of this exclusion.
@@ -221,7 +221,7 @@ class BillingAccountSinkExclusionArgs:
221
221
  @pulumi.getter
222
222
  def filter(self) -> pulumi.Input[str]:
223
223
  """
224
- An advanced logs filter that matches the log entries to be excluded. By using the sample function, you can exclude less than 100% of the matching log entries. See [Advanced Log Filters](https://cloud.google.com/logging/docs/view/advanced_filters) for information on how to
224
+ An advanced logs filter that matches the log entries to be excluded. By using the sample function, you can exclude less than 100%!o(MISSING)f the matching log entries. See [Advanced Log Filters](https://cloud.google.com/logging/docs/view/advanced_filters) for information on how to
225
225
  write a filter.
226
226
  """
227
227
  return pulumi.get(self, "filter")
@@ -436,7 +436,7 @@ class FolderSinkExclusionArgs:
436
436
  description: Optional[pulumi.Input[str]] = None,
437
437
  disabled: Optional[pulumi.Input[bool]] = None):
438
438
  """
439
- :param pulumi.Input[str] filter: An advanced logs filter that matches the log entries to be excluded. By using the sample function, you can exclude less than 100% of the matching log entries. See [Advanced Log Filters](https://cloud.google.com/logging/docs/view/advanced_filters) for information on how to
439
+ :param pulumi.Input[str] filter: An advanced logs filter that matches the log entries to be excluded. By using the sample function, you can exclude less than 100%!o(MISSING)f the matching log entries. See [Advanced Log Filters](https://cloud.google.com/logging/docs/view/advanced_filters) for information on how to
440
440
  write a filter.
441
441
  :param pulumi.Input[str] name: A client-assigned identifier, such as `load-balancer-exclusion`. Identifiers are limited to 100 characters and can include only letters, digits, underscores, hyphens, and periods. First character has to be alphanumeric.
442
442
  :param pulumi.Input[str] description: A description of this exclusion.
@@ -453,7 +453,7 @@ class FolderSinkExclusionArgs:
453
453
  @pulumi.getter
454
454
  def filter(self) -> pulumi.Input[str]:
455
455
  """
456
- An advanced logs filter that matches the log entries to be excluded. By using the sample function, you can exclude less than 100% of the matching log entries. See [Advanced Log Filters](https://cloud.google.com/logging/docs/view/advanced_filters) for information on how to
456
+ An advanced logs filter that matches the log entries to be excluded. By using the sample function, you can exclude less than 100%!o(MISSING)f the matching log entries. See [Advanced Log Filters](https://cloud.google.com/logging/docs/view/advanced_filters) for information on how to
457
457
  write a filter.
458
458
  """
459
459
  return pulumi.get(self, "filter")
@@ -1061,7 +1061,7 @@ class OrganizationSinkExclusionArgs:
1061
1061
  description: Optional[pulumi.Input[str]] = None,
1062
1062
  disabled: Optional[pulumi.Input[bool]] = None):
1063
1063
  """
1064
- :param pulumi.Input[str] filter: An advanced logs filter that matches the log entries to be excluded. By using the sample function, you can exclude less than 100% of the matching log entries. See [Advanced Log Filters](https://cloud.google.com/logging/docs/view/advanced_filters) for information on how to
1064
+ :param pulumi.Input[str] filter: An advanced logs filter that matches the log entries to be excluded. By using the sample function, you can exclude less than 100%!o(MISSING)f the matching log entries. See [Advanced Log Filters](https://cloud.google.com/logging/docs/view/advanced_filters) for information on how to
1065
1065
  write a filter.
1066
1066
  :param pulumi.Input[str] name: A client-assigned identifier, such as `load-balancer-exclusion`. Identifiers are limited to 100 characters and can include only letters, digits, underscores, hyphens, and periods. First character has to be alphanumeric.
1067
1067
  :param pulumi.Input[str] description: A description of this exclusion.
@@ -1078,7 +1078,7 @@ class OrganizationSinkExclusionArgs:
1078
1078
  @pulumi.getter
1079
1079
  def filter(self) -> pulumi.Input[str]:
1080
1080
  """
1081
- An advanced logs filter that matches the log entries to be excluded. By using the sample function, you can exclude less than 100% of the matching log entries. See [Advanced Log Filters](https://cloud.google.com/logging/docs/view/advanced_filters) for information on how to
1081
+ An advanced logs filter that matches the log entries to be excluded. By using the sample function, you can exclude less than 100%!o(MISSING)f the matching log entries. See [Advanced Log Filters](https://cloud.google.com/logging/docs/view/advanced_filters) for information on how to
1082
1082
  write a filter.
1083
1083
  """
1084
1084
  return pulumi.get(self, "filter")
@@ -1293,7 +1293,7 @@ class ProjectSinkExclusionArgs:
1293
1293
  description: Optional[pulumi.Input[str]] = None,
1294
1294
  disabled: Optional[pulumi.Input[bool]] = None):
1295
1295
  """
1296
- :param pulumi.Input[str] filter: An advanced logs filter that matches the log entries to be excluded. By using the sample function, you can exclude less than 100% of the matching log entries. See [Advanced Log Filters](https://cloud.google.com/logging/docs/view/advanced_filters) for information on how to
1296
+ :param pulumi.Input[str] filter: An advanced logs filter that matches the log entries to be excluded. By using the sample function, you can exclude less than 100%!o(MISSING)f the matching log entries. See [Advanced Log Filters](https://cloud.google.com/logging/docs/view/advanced_filters) for information on how to
1297
1297
  write a filter.
1298
1298
  :param pulumi.Input[str] name: A client-assigned identifier, such as `load-balancer-exclusion`. Identifiers are limited to 100 characters and can include only letters, digits, underscores, hyphens, and periods. First character has to be alphanumeric.
1299
1299
  :param pulumi.Input[str] description: A description of this exclusion.
@@ -1310,7 +1310,7 @@ class ProjectSinkExclusionArgs:
1310
1310
  @pulumi.getter
1311
1311
  def filter(self) -> pulumi.Input[str]:
1312
1312
  """
1313
- An advanced logs filter that matches the log entries to be excluded. By using the sample function, you can exclude less than 100% of the matching log entries. See [Advanced Log Filters](https://cloud.google.com/logging/docs/view/advanced_filters) for information on how to
1313
+ An advanced logs filter that matches the log entries to be excluded. By using the sample function, you can exclude less than 100%!o(MISSING)f the matching log entries. See [Advanced Log Filters](https://cloud.google.com/logging/docs/view/advanced_filters) for information on how to
1314
1314
  write a filter.
1315
1315
  """
1316
1316
  return pulumi.get(self, "filter")