pulumi-gcp 8.13.0a1736231082__py3-none-any.whl → 8.13.0a1736263433__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 (90) hide show
  1. pulumi_gcp/__init__.py +43 -0
  2. pulumi_gcp/accesscontextmanager/_inputs.py +3 -3
  3. pulumi_gcp/accesscontextmanager/outputs.py +2 -2
  4. pulumi_gcp/artifactregistry/_inputs.py +83 -0
  5. pulumi_gcp/artifactregistry/get_repository.py +15 -4
  6. pulumi_gcp/artifactregistry/outputs.py +112 -0
  7. pulumi_gcp/artifactregistry/repository.py +93 -7
  8. pulumi_gcp/backupdisasterrecovery/get_backup.py +38 -2
  9. pulumi_gcp/backupdisasterrecovery/get_data_source.py +38 -2
  10. pulumi_gcp/backupdisasterrecovery/outputs.py +8 -8
  11. pulumi_gcp/bigquery/_inputs.py +369 -0
  12. pulumi_gcp/bigquery/dataset_access.py +61 -0
  13. pulumi_gcp/bigquery/job.py +6 -18
  14. pulumi_gcp/bigquery/outputs.py +350 -0
  15. pulumi_gcp/bigquery/table.py +47 -0
  16. pulumi_gcp/chronicle/__init__.py +10 -0
  17. pulumi_gcp/chronicle/_inputs.py +169 -0
  18. pulumi_gcp/chronicle/outputs.py +107 -0
  19. pulumi_gcp/chronicle/watchlist.py +776 -0
  20. pulumi_gcp/cloudrunv2/_inputs.py +6 -3
  21. pulumi_gcp/cloudrunv2/outputs.py +10 -6
  22. pulumi_gcp/composer/_inputs.py +80 -5
  23. pulumi_gcp/composer/outputs.py +111 -4
  24. pulumi_gcp/compute/_inputs.py +181 -87
  25. pulumi_gcp/compute/firewall_policy_association.py +50 -39
  26. pulumi_gcp/compute/get_network.py +17 -2
  27. pulumi_gcp/compute/get_subnetwork.py +18 -4
  28. pulumi_gcp/compute/network.py +39 -2
  29. pulumi_gcp/compute/outputs.py +157 -58
  30. pulumi_gcp/compute/region_network_endpoint_group.py +1 -1
  31. pulumi_gcp/compute/resize_request.py +26 -40
  32. pulumi_gcp/config/__init__.pyi +2 -0
  33. pulumi_gcp/config/vars.py +4 -0
  34. pulumi_gcp/dataproc/batch.py +4 -18
  35. pulumi_gcp/datastream/_inputs.py +68 -0
  36. pulumi_gcp/datastream/outputs.py +41 -1
  37. pulumi_gcp/developerconnect/connection.py +58 -12
  38. pulumi_gcp/diagflow/_inputs.py +3 -3
  39. pulumi_gcp/diagflow/outputs.py +2 -2
  40. pulumi_gcp/filestore/backup.py +71 -3
  41. pulumi_gcp/firebase/hosting_custom_domain.py +4 -4
  42. pulumi_gcp/firestore/_inputs.py +3 -3
  43. pulumi_gcp/firestore/outputs.py +2 -2
  44. pulumi_gcp/gkehub/__init__.py +1 -0
  45. pulumi_gcp/gkehub/get_feature.py +226 -0
  46. pulumi_gcp/gkehub/outputs.py +1153 -0
  47. pulumi_gcp/gkeonprem/__init__.py +1 -0
  48. pulumi_gcp/gkeonprem/_inputs.py +2364 -0
  49. pulumi_gcp/gkeonprem/outputs.py +1780 -0
  50. pulumi_gcp/gkeonprem/vmware_admin_cluster.py +1715 -0
  51. pulumi_gcp/integrationconnectors/_inputs.py +6 -6
  52. pulumi_gcp/integrationconnectors/connection.py +7 -7
  53. pulumi_gcp/integrationconnectors/outputs.py +4 -4
  54. pulumi_gcp/kms/__init__.py +2 -0
  55. pulumi_gcp/kms/get_autokey_config.py +121 -0
  56. pulumi_gcp/kms/get_key_handle.py +185 -0
  57. pulumi_gcp/netapp/kmsconfig.py +2 -14
  58. pulumi_gcp/networkconnectivity/hub.py +108 -0
  59. pulumi_gcp/networkconnectivity/spoke.py +195 -0
  60. pulumi_gcp/networkmanagement/vpc_flow_logs_config.py +4 -0
  61. pulumi_gcp/networksecurity/__init__.py +2 -0
  62. pulumi_gcp/networksecurity/_inputs.py +78 -0
  63. pulumi_gcp/networksecurity/intercept_endpoint_group.py +723 -0
  64. pulumi_gcp/networksecurity/intercept_endpoint_group_association.py +815 -0
  65. pulumi_gcp/networksecurity/outputs.py +48 -0
  66. pulumi_gcp/oracledatabase/autonomous_database.py +2 -2
  67. pulumi_gcp/orgpolicy/policy.py +2 -2
  68. pulumi_gcp/parallelstore/instance.py +149 -0
  69. pulumi_gcp/projects/usage_export_bucket.py +42 -110
  70. pulumi_gcp/provider.py +20 -0
  71. pulumi_gcp/pubsub/subscription.py +6 -6
  72. pulumi_gcp/pulumi-plugin.json +1 -1
  73. pulumi_gcp/securesourcemanager/instance.py +4 -16
  74. pulumi_gcp/spanner/instance_iam_binding.py +14 -0
  75. pulumi_gcp/spanner/instance_iam_member.py +14 -0
  76. pulumi_gcp/sql/database_instance.py +7 -7
  77. pulumi_gcp/storage/__init__.py +1 -0
  78. pulumi_gcp/storage/_inputs.py +431 -0
  79. pulumi_gcp/storage/folder.py +483 -0
  80. pulumi_gcp/storage/outputs.py +363 -0
  81. pulumi_gcp/storage/transfer_job.py +84 -38
  82. pulumi_gcp/vertex/_inputs.py +26 -25
  83. pulumi_gcp/vertex/ai_endpoint.py +4 -4
  84. pulumi_gcp/vertex/ai_feature_online_store_featureview.py +4 -4
  85. pulumi_gcp/vertex/outputs.py +15 -14
  86. pulumi_gcp/workstations/workstation.py +55 -1
  87. {pulumi_gcp-8.13.0a1736231082.dist-info → pulumi_gcp-8.13.0a1736263433.dist-info}/METADATA +1 -1
  88. {pulumi_gcp-8.13.0a1736231082.dist-info → pulumi_gcp-8.13.0a1736263433.dist-info}/RECORD +90 -79
  89. {pulumi_gcp-8.13.0a1736231082.dist-info → pulumi_gcp-8.13.0a1736263433.dist-info}/WHEEL +0 -0
  90. {pulumi_gcp-8.13.0a1736231082.dist-info → pulumi_gcp-8.13.0a1736263433.dist-info}/top_level.txt +0 -0
@@ -2519,7 +2519,7 @@ if not MYPY:
2519
2519
  class ConnectionEventingRuntimeDataStatusArgsDict(TypedDict):
2520
2520
  description: NotRequired[pulumi.Input[str]]
2521
2521
  """
2522
- An arbitrary description for the Conection.
2522
+ An arbitrary description for the Connection.
2523
2523
  """
2524
2524
  state: NotRequired[pulumi.Input[str]]
2525
2525
  """
@@ -2535,7 +2535,7 @@ class ConnectionEventingRuntimeDataStatusArgs:
2535
2535
  description: Optional[pulumi.Input[str]] = None,
2536
2536
  state: Optional[pulumi.Input[str]] = None):
2537
2537
  """
2538
- :param pulumi.Input[str] description: An arbitrary description for the Conection.
2538
+ :param pulumi.Input[str] description: An arbitrary description for the Connection.
2539
2539
  :param pulumi.Input[str] state: (Output)
2540
2540
  State of the Eventing
2541
2541
  """
@@ -2548,7 +2548,7 @@ class ConnectionEventingRuntimeDataStatusArgs:
2548
2548
  @pulumi.getter
2549
2549
  def description(self) -> Optional[pulumi.Input[str]]:
2550
2550
  """
2551
- An arbitrary description for the Conection.
2551
+ An arbitrary description for the Connection.
2552
2552
  """
2553
2553
  return pulumi.get(self, "description")
2554
2554
 
@@ -3299,7 +3299,7 @@ if not MYPY:
3299
3299
  class ConnectionStatusArgsDict(TypedDict):
3300
3300
  description: NotRequired[pulumi.Input[str]]
3301
3301
  """
3302
- An arbitrary description for the Conection.
3302
+ An arbitrary description for the Connection.
3303
3303
  """
3304
3304
  state: NotRequired[pulumi.Input[str]]
3305
3305
  """
@@ -3322,7 +3322,7 @@ class ConnectionStatusArgs:
3322
3322
  state: Optional[pulumi.Input[str]] = None,
3323
3323
  status: Optional[pulumi.Input[str]] = None):
3324
3324
  """
3325
- :param pulumi.Input[str] description: An arbitrary description for the Conection.
3325
+ :param pulumi.Input[str] description: An arbitrary description for the Connection.
3326
3326
  :param pulumi.Input[str] state: (Output)
3327
3327
  State of the Eventing
3328
3328
  :param pulumi.Input[str] status: (Output)
@@ -3340,7 +3340,7 @@ class ConnectionStatusArgs:
3340
3340
  @pulumi.getter
3341
3341
  def description(self) -> Optional[pulumi.Input[str]]:
3342
3342
  """
3343
- An arbitrary description for the Conection.
3343
+ An arbitrary description for the Connection.
3344
3344
  """
3345
3345
  return pulumi.get(self, "description")
3346
3346
 
@@ -46,7 +46,7 @@ class ConnectionArgs:
46
46
  Structure is documented below.
47
47
  :param pulumi.Input[Sequence[pulumi.Input['ConnectionConfigVariableArgs']]] config_variables: Config Variables for the connection.
48
48
  Structure is documented below.
49
- :param pulumi.Input[str] description: An arbitrary description for the Conection.
49
+ :param pulumi.Input[str] description: An arbitrary description for the Connection.
50
50
  :param pulumi.Input[Sequence[pulumi.Input['ConnectionDestinationConfigArgs']]] destination_configs: Define the Connectors target endpoint.
51
51
  Structure is documented below.
52
52
  :param pulumi.Input['ConnectionEventingConfigArgs'] eventing_config: Eventing Configuration of a connection
@@ -161,7 +161,7 @@ class ConnectionArgs:
161
161
  @pulumi.getter
162
162
  def description(self) -> Optional[pulumi.Input[str]]:
163
163
  """
164
- An arbitrary description for the Conection.
164
+ An arbitrary description for the Connection.
165
165
  """
166
166
  return pulumi.get(self, "description")
167
167
 
@@ -371,7 +371,7 @@ class _ConnectionState:
371
371
  Structure is documented below.
372
372
  :param pulumi.Input[str] connector_version_launch_stage: Flag to mark the version indicating the launch stage.
373
373
  :param pulumi.Input[str] create_time: Time the Namespace was created in UTC.
374
- :param pulumi.Input[str] description: An arbitrary description for the Conection.
374
+ :param pulumi.Input[str] description: An arbitrary description for the Connection.
375
375
  :param pulumi.Input[Sequence[pulumi.Input['ConnectionDestinationConfigArgs']]] destination_configs: Define the Connectors target endpoint.
376
376
  Structure is documented below.
377
377
  :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.
@@ -560,7 +560,7 @@ class _ConnectionState:
560
560
  @pulumi.getter
561
561
  def description(self) -> Optional[pulumi.Input[str]]:
562
562
  """
563
- An arbitrary description for the Conection.
563
+ An arbitrary description for the Connection.
564
564
  """
565
565
  return pulumi.get(self, "description")
566
566
 
@@ -1151,7 +1151,7 @@ class Connection(pulumi.CustomResource):
1151
1151
  :param pulumi.Input[Sequence[pulumi.Input[Union['ConnectionConfigVariableArgs', 'ConnectionConfigVariableArgsDict']]]] config_variables: Config Variables for the connection.
1152
1152
  Structure is documented below.
1153
1153
  :param pulumi.Input[str] connector_version: connectorVersion of the Connector.
1154
- :param pulumi.Input[str] description: An arbitrary description for the Conection.
1154
+ :param pulumi.Input[str] description: An arbitrary description for the Connection.
1155
1155
  :param pulumi.Input[Sequence[pulumi.Input[Union['ConnectionDestinationConfigArgs', 'ConnectionDestinationConfigArgsDict']]]] destination_configs: Define the Connectors target endpoint.
1156
1156
  Structure is documented below.
1157
1157
  :param pulumi.Input[Union['ConnectionEventingConfigArgs', 'ConnectionEventingConfigArgsDict']] eventing_config: Eventing Configuration of a connection
@@ -1609,7 +1609,7 @@ class Connection(pulumi.CustomResource):
1609
1609
  Structure is documented below.
1610
1610
  :param pulumi.Input[str] connector_version_launch_stage: Flag to mark the version indicating the launch stage.
1611
1611
  :param pulumi.Input[str] create_time: Time the Namespace was created in UTC.
1612
- :param pulumi.Input[str] description: An arbitrary description for the Conection.
1612
+ :param pulumi.Input[str] description: An arbitrary description for the Connection.
1613
1613
  :param pulumi.Input[Sequence[pulumi.Input[Union['ConnectionDestinationConfigArgs', 'ConnectionDestinationConfigArgsDict']]]] destination_configs: Define the Connectors target endpoint.
1614
1614
  Structure is documented below.
1615
1615
  :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.
@@ -1747,7 +1747,7 @@ class Connection(pulumi.CustomResource):
1747
1747
  @pulumi.getter
1748
1748
  def description(self) -> pulumi.Output[Optional[str]]:
1749
1749
  """
1750
- An arbitrary description for the Conection.
1750
+ An arbitrary description for the Connection.
1751
1751
  """
1752
1752
  return pulumi.get(self, "description")
1753
1753
 
@@ -2088,7 +2088,7 @@ class ConnectionEventingRuntimeDataStatus(dict):
2088
2088
  description: Optional[str] = None,
2089
2089
  state: Optional[str] = None):
2090
2090
  """
2091
- :param str description: An arbitrary description for the Conection.
2091
+ :param str description: An arbitrary description for the Connection.
2092
2092
  :param str state: (Output)
2093
2093
  State of the Eventing
2094
2094
  """
@@ -2101,7 +2101,7 @@ class ConnectionEventingRuntimeDataStatus(dict):
2101
2101
  @pulumi.getter
2102
2102
  def description(self) -> Optional[str]:
2103
2103
  """
2104
- An arbitrary description for the Conection.
2104
+ An arbitrary description for the Connection.
2105
2105
  """
2106
2106
  return pulumi.get(self, "description")
2107
2107
 
@@ -2733,7 +2733,7 @@ class ConnectionStatus(dict):
2733
2733
  state: Optional[str] = None,
2734
2734
  status: Optional[str] = None):
2735
2735
  """
2736
- :param str description: An arbitrary description for the Conection.
2736
+ :param str description: An arbitrary description for the Connection.
2737
2737
  :param str state: (Output)
2738
2738
  State of the Eventing
2739
2739
  :param str status: (Output)
@@ -2751,7 +2751,7 @@ class ConnectionStatus(dict):
2751
2751
  @pulumi.getter
2752
2752
  def description(self) -> Optional[str]:
2753
2753
  """
2754
- An arbitrary description for the Conection.
2754
+ An arbitrary description for the Connection.
2755
2755
  """
2756
2756
  return pulumi.get(self, "description")
2757
2757
 
@@ -15,11 +15,13 @@ from .ekm_connection import *
15
15
  from .ekm_connection_iam_binding import *
16
16
  from .ekm_connection_iam_member import *
17
17
  from .ekm_connection_iam_policy import *
18
+ from .get_autokey_config import *
18
19
  from .get_crypto_key_iam_policy import *
19
20
  from .get_crypto_key_latest_version import *
20
21
  from .get_crypto_key_versions import *
21
22
  from .get_crypto_keys import *
22
23
  from .get_ekm_connection_iam_policy import *
24
+ from .get_key_handle import *
23
25
  from .get_key_ring_iam_policy import *
24
26
  from .get_key_rings import *
25
27
  from .get_kms_crypto_key import *
@@ -0,0 +1,121 @@
1
+ # coding=utf-8
2
+ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+
5
+ import copy
6
+ import warnings
7
+ import sys
8
+ import pulumi
9
+ import pulumi.runtime
10
+ from typing import Any, Mapping, Optional, Sequence, Union, overload
11
+ if sys.version_info >= (3, 11):
12
+ from typing import NotRequired, TypedDict, TypeAlias
13
+ else:
14
+ from typing_extensions import NotRequired, TypedDict, TypeAlias
15
+ from .. import _utilities
16
+
17
+ __all__ = [
18
+ 'GetAutokeyConfigResult',
19
+ 'AwaitableGetAutokeyConfigResult',
20
+ 'get_autokey_config',
21
+ 'get_autokey_config_output',
22
+ ]
23
+
24
+ @pulumi.output_type
25
+ class GetAutokeyConfigResult:
26
+ """
27
+ A collection of values returned by getAutokeyConfig.
28
+ """
29
+ def __init__(__self__, folder=None, id=None, key_project=None):
30
+ if folder and not isinstance(folder, str):
31
+ raise TypeError("Expected argument 'folder' to be a str")
32
+ pulumi.set(__self__, "folder", folder)
33
+ if id and not isinstance(id, str):
34
+ raise TypeError("Expected argument 'id' to be a str")
35
+ pulumi.set(__self__, "id", id)
36
+ if key_project and not isinstance(key_project, str):
37
+ raise TypeError("Expected argument 'key_project' to be a str")
38
+ pulumi.set(__self__, "key_project", key_project)
39
+
40
+ @property
41
+ @pulumi.getter
42
+ def folder(self) -> str:
43
+ return pulumi.get(self, "folder")
44
+
45
+ @property
46
+ @pulumi.getter
47
+ def id(self) -> str:
48
+ """
49
+ The provider-assigned unique ID for this managed resource.
50
+ """
51
+ return pulumi.get(self, "id")
52
+
53
+ @property
54
+ @pulumi.getter(name="keyProject")
55
+ def key_project(self) -> str:
56
+ """
57
+ The identifier of the project hosting KMS KeyRings and Keys generated by Autokey. Its format is `projects/{projectId}`.
58
+ """
59
+ return pulumi.get(self, "key_project")
60
+
61
+
62
+ class AwaitableGetAutokeyConfigResult(GetAutokeyConfigResult):
63
+ # pylint: disable=using-constant-test
64
+ def __await__(self):
65
+ if False:
66
+ yield self
67
+ return GetAutokeyConfigResult(
68
+ folder=self.folder,
69
+ id=self.id,
70
+ key_project=self.key_project)
71
+
72
+
73
+ def get_autokey_config(folder: Optional[str] = None,
74
+ opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetAutokeyConfigResult:
75
+ """
76
+ ## Example Usage
77
+
78
+ ```python
79
+ import pulumi
80
+ import pulumi_gcp as gcp
81
+
82
+ my_autokey_config = gcp.kms.get_autokey_config(folder="folders/123")
83
+ ```
84
+
85
+
86
+ :param str folder: The folder in which the AutokeyConfig is configured. If it
87
+ is not provided, the provider folder is used.
88
+ """
89
+ __args__ = dict()
90
+ __args__['folder'] = folder
91
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
92
+ __ret__ = pulumi.runtime.invoke('gcp:kms/getAutokeyConfig:getAutokeyConfig', __args__, opts=opts, typ=GetAutokeyConfigResult).value
93
+
94
+ return AwaitableGetAutokeyConfigResult(
95
+ folder=pulumi.get(__ret__, 'folder'),
96
+ id=pulumi.get(__ret__, 'id'),
97
+ key_project=pulumi.get(__ret__, 'key_project'))
98
+ def get_autokey_config_output(folder: Optional[pulumi.Input[str]] = None,
99
+ opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetAutokeyConfigResult]:
100
+ """
101
+ ## Example Usage
102
+
103
+ ```python
104
+ import pulumi
105
+ import pulumi_gcp as gcp
106
+
107
+ my_autokey_config = gcp.kms.get_autokey_config(folder="folders/123")
108
+ ```
109
+
110
+
111
+ :param str folder: The folder in which the AutokeyConfig is configured. If it
112
+ is not provided, the provider folder is used.
113
+ """
114
+ __args__ = dict()
115
+ __args__['folder'] = folder
116
+ opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
117
+ __ret__ = pulumi.runtime.invoke_output('gcp:kms/getAutokeyConfig:getAutokeyConfig', __args__, opts=opts, typ=GetAutokeyConfigResult)
118
+ return __ret__.apply(lambda __response__: GetAutokeyConfigResult(
119
+ folder=pulumi.get(__response__, 'folder'),
120
+ id=pulumi.get(__response__, 'id'),
121
+ key_project=pulumi.get(__response__, 'key_project')))
@@ -0,0 +1,185 @@
1
+ # coding=utf-8
2
+ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+
5
+ import copy
6
+ import warnings
7
+ import sys
8
+ import pulumi
9
+ import pulumi.runtime
10
+ from typing import Any, Mapping, Optional, Sequence, Union, overload
11
+ if sys.version_info >= (3, 11):
12
+ from typing import NotRequired, TypedDict, TypeAlias
13
+ else:
14
+ from typing_extensions import NotRequired, TypedDict, TypeAlias
15
+ from .. import _utilities
16
+
17
+ __all__ = [
18
+ 'GetKeyHandleResult',
19
+ 'AwaitableGetKeyHandleResult',
20
+ 'get_key_handle',
21
+ 'get_key_handle_output',
22
+ ]
23
+
24
+ @pulumi.output_type
25
+ class GetKeyHandleResult:
26
+ """
27
+ A collection of values returned by getKeyHandle.
28
+ """
29
+ def __init__(__self__, id=None, kms_key=None, location=None, name=None, project=None, resource_type_selector=None):
30
+ if id and not isinstance(id, str):
31
+ raise TypeError("Expected argument 'id' to be a str")
32
+ pulumi.set(__self__, "id", id)
33
+ if kms_key and not isinstance(kms_key, str):
34
+ raise TypeError("Expected argument 'kms_key' to be a str")
35
+ pulumi.set(__self__, "kms_key", kms_key)
36
+ if location and not isinstance(location, str):
37
+ raise TypeError("Expected argument 'location' to be a str")
38
+ pulumi.set(__self__, "location", location)
39
+ if name and not isinstance(name, str):
40
+ raise TypeError("Expected argument 'name' to be a str")
41
+ pulumi.set(__self__, "name", name)
42
+ if project and not isinstance(project, str):
43
+ raise TypeError("Expected argument 'project' to be a str")
44
+ pulumi.set(__self__, "project", project)
45
+ if resource_type_selector and not isinstance(resource_type_selector, str):
46
+ raise TypeError("Expected argument 'resource_type_selector' to be a str")
47
+ pulumi.set(__self__, "resource_type_selector", resource_type_selector)
48
+
49
+ @property
50
+ @pulumi.getter
51
+ def id(self) -> str:
52
+ """
53
+ The provider-assigned unique ID for this managed resource.
54
+ """
55
+ return pulumi.get(self, "id")
56
+
57
+ @property
58
+ @pulumi.getter(name="kmsKey")
59
+ def kms_key(self) -> str:
60
+ """
61
+ The identifier of the KMS Key created for the KeyHandle. Its format is `projects/{projectId}/locations/{location}/keyRings/{keyRingName}/cryptoKeys/{cryptoKeyName}`.
62
+ """
63
+ return pulumi.get(self, "kms_key")
64
+
65
+ @property
66
+ @pulumi.getter
67
+ def location(self) -> str:
68
+ """
69
+ The location of the KMS Key and KeyHandle.
70
+ """
71
+ return pulumi.get(self, "location")
72
+
73
+ @property
74
+ @pulumi.getter
75
+ def name(self) -> str:
76
+ return pulumi.get(self, "name")
77
+
78
+ @property
79
+ @pulumi.getter
80
+ def project(self) -> Optional[str]:
81
+ """
82
+ The identifier of the project where KMS KeyHandle is created.
83
+ """
84
+ return pulumi.get(self, "project")
85
+
86
+ @property
87
+ @pulumi.getter(name="resourceTypeSelector")
88
+ def resource_type_selector(self) -> str:
89
+ """
90
+ Indicates the resource type that the resulting CryptoKey is meant to protect, e.g. {SERVICE}.googleapis.com/{TYPE}. See documentation for supported resource types.
91
+ """
92
+ return pulumi.get(self, "resource_type_selector")
93
+
94
+
95
+ class AwaitableGetKeyHandleResult(GetKeyHandleResult):
96
+ # pylint: disable=using-constant-test
97
+ def __await__(self):
98
+ if False:
99
+ yield self
100
+ return GetKeyHandleResult(
101
+ id=self.id,
102
+ kms_key=self.kms_key,
103
+ location=self.location,
104
+ name=self.name,
105
+ project=self.project,
106
+ resource_type_selector=self.resource_type_selector)
107
+
108
+
109
+ def get_key_handle(location: Optional[str] = None,
110
+ name: Optional[str] = None,
111
+ project: Optional[str] = None,
112
+ opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetKeyHandleResult:
113
+ """
114
+ ## Example Usage
115
+
116
+ ```python
117
+ import pulumi
118
+ import pulumi_gcp as gcp
119
+
120
+ my_key_handle = gcp.kms.get_key_handle(name="eed58b7b-20ad-4da8-ad85-ba78a0d5ab87",
121
+ location="us-central1")
122
+ ```
123
+
124
+
125
+ :param str location: The Google Cloud Platform location for the KeyHandle.
126
+ A full list of valid locations can be found by running `gcloud kms locations list`.
127
+
128
+ - - -
129
+ :param str name: The KeyHandle's name.
130
+ A KeyHandle name must exist within the provided location and must be valid UUID.
131
+ :param str project: The project in which the resource belongs. If it
132
+ is not provided, the provider project is used.
133
+ """
134
+ __args__ = dict()
135
+ __args__['location'] = location
136
+ __args__['name'] = name
137
+ __args__['project'] = project
138
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
139
+ __ret__ = pulumi.runtime.invoke('gcp:kms/getKeyHandle:getKeyHandle', __args__, opts=opts, typ=GetKeyHandleResult).value
140
+
141
+ return AwaitableGetKeyHandleResult(
142
+ id=pulumi.get(__ret__, 'id'),
143
+ kms_key=pulumi.get(__ret__, 'kms_key'),
144
+ location=pulumi.get(__ret__, 'location'),
145
+ name=pulumi.get(__ret__, 'name'),
146
+ project=pulumi.get(__ret__, 'project'),
147
+ resource_type_selector=pulumi.get(__ret__, 'resource_type_selector'))
148
+ def get_key_handle_output(location: Optional[pulumi.Input[str]] = None,
149
+ name: Optional[pulumi.Input[str]] = None,
150
+ project: Optional[pulumi.Input[Optional[str]]] = None,
151
+ opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetKeyHandleResult]:
152
+ """
153
+ ## Example Usage
154
+
155
+ ```python
156
+ import pulumi
157
+ import pulumi_gcp as gcp
158
+
159
+ my_key_handle = gcp.kms.get_key_handle(name="eed58b7b-20ad-4da8-ad85-ba78a0d5ab87",
160
+ location="us-central1")
161
+ ```
162
+
163
+
164
+ :param str location: The Google Cloud Platform location for the KeyHandle.
165
+ A full list of valid locations can be found by running `gcloud kms locations list`.
166
+
167
+ - - -
168
+ :param str name: The KeyHandle's name.
169
+ A KeyHandle name must exist within the provided location and must be valid UUID.
170
+ :param str project: The project in which the resource belongs. If it
171
+ is not provided, the provider project is used.
172
+ """
173
+ __args__ = dict()
174
+ __args__['location'] = location
175
+ __args__['name'] = name
176
+ __args__['project'] = project
177
+ opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
178
+ __ret__ = pulumi.runtime.invoke_output('gcp:kms/getKeyHandle:getKeyHandle', __args__, opts=opts, typ=GetKeyHandleResult)
179
+ return __ret__.apply(lambda __response__: GetKeyHandleResult(
180
+ id=pulumi.get(__response__, 'id'),
181
+ kms_key=pulumi.get(__response__, 'kms_key'),
182
+ location=pulumi.get(__response__, 'location'),
183
+ name=pulumi.get(__response__, 'name'),
184
+ project=pulumi.get(__response__, 'project'),
185
+ resource_type_selector=pulumi.get(__response__, 'resource_type_selector')))
@@ -349,16 +349,10 @@ class Kmsconfig(pulumi.CustomResource):
349
349
  import pulumi
350
350
  import pulumi_gcp as gcp
351
351
 
352
- keyring = gcp.kms.KeyRing("keyring",
353
- name="key-ring",
354
- location="us-central1")
355
- crypto_key = gcp.kms.CryptoKey("crypto_key",
356
- name="crypto-name",
357
- key_ring=keyring.id)
358
352
  kms_config = gcp.netapp.Kmsconfig("kmsConfig",
359
353
  name="kms-test",
360
354
  description="this is a test description",
361
- crypto_key_name=crypto_key.id,
355
+ crypto_key_name="crypto-name",
362
356
  location="us-central1")
363
357
  ```
364
358
 
@@ -427,16 +421,10 @@ class Kmsconfig(pulumi.CustomResource):
427
421
  import pulumi
428
422
  import pulumi_gcp as gcp
429
423
 
430
- keyring = gcp.kms.KeyRing("keyring",
431
- name="key-ring",
432
- location="us-central1")
433
- crypto_key = gcp.kms.CryptoKey("crypto_key",
434
- name="crypto-name",
435
- key_ring=keyring.id)
436
424
  kms_config = gcp.netapp.Kmsconfig("kmsConfig",
437
425
  name="kms-test",
438
426
  description="this is a test description",
439
- crypto_key_name=crypto_key.id,
427
+ crypto_key_name="crypto-name",
440
428
  location="us-central1")
441
429
  ```
442
430