pulumi-gcp 8.24.0a1743057423__py3-none-any.whl → 8.25.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- pulumi_gcp/__init__.py +131 -0
- pulumi_gcp/_inputs.py +48 -0
- pulumi_gcp/accesscontextmanager/_inputs.py +324 -12
- pulumi_gcp/accesscontextmanager/outputs.py +204 -12
- pulumi_gcp/accesscontextmanager/service_perimeter.py +0 -2
- pulumi_gcp/apigee/__init__.py +1 -0
- pulumi_gcp/apigee/_inputs.py +58 -0
- pulumi_gcp/apigee/dns_zone.py +491 -0
- pulumi_gcp/apigee/outputs.py +53 -0
- pulumi_gcp/bigquery/_inputs.py +158 -0
- pulumi_gcp/bigquery/outputs.py +115 -0
- pulumi_gcp/bigquery/reservation.py +189 -1
- pulumi_gcp/bigquery/reservation_assignment.py +7 -7
- pulumi_gcp/bigqueryanalyticshub/listing_subscription.py +11 -7
- pulumi_gcp/bigtable/table.py +8 -8
- pulumi_gcp/chronicle/data_access_label.py +16 -0
- pulumi_gcp/chronicle/data_access_scope.py +16 -0
- pulumi_gcp/chronicle/reference_list.py +16 -0
- pulumi_gcp/chronicle/retrohunt.py +16 -0
- pulumi_gcp/chronicle/rule.py +16 -0
- pulumi_gcp/chronicle/rule_deployment.py +16 -0
- pulumi_gcp/chronicle/watchlist.py +16 -0
- pulumi_gcp/cloudfunctionsv2/_inputs.py +20 -0
- pulumi_gcp/cloudfunctionsv2/outputs.py +25 -0
- pulumi_gcp/cloudrunv2/_inputs.py +20 -0
- pulumi_gcp/cloudrunv2/outputs.py +25 -0
- pulumi_gcp/cloudrunv2/service.py +14 -14
- pulumi_gcp/compute/__init__.py +2 -0
- pulumi_gcp/compute/_inputs.py +2627 -61
- pulumi_gcp/compute/backend_service.py +121 -3
- pulumi_gcp/compute/get_backend_service.py +15 -4
- pulumi_gcp/compute/get_images.py +172 -0
- pulumi_gcp/compute/get_instance.py +12 -1
- pulumi_gcp/compute/get_region_backend_service.py +482 -0
- pulumi_gcp/compute/get_resource_policy.py +15 -4
- pulumi_gcp/compute/get_router.py +12 -1
- pulumi_gcp/compute/get_subnetwork.py +43 -1
- pulumi_gcp/compute/image.py +54 -0
- pulumi_gcp/compute/instance.py +47 -0
- pulumi_gcp/compute/instance_from_machine_image.py +94 -0
- pulumi_gcp/compute/instance_from_template.py +47 -0
- pulumi_gcp/compute/interconnect.py +14 -7
- pulumi_gcp/compute/outputs.py +4522 -391
- pulumi_gcp/compute/public_delegated_prefix.py +69 -15
- pulumi_gcp/compute/resource_policy.py +169 -3
- pulumi_gcp/compute/router.py +54 -0
- pulumi_gcp/compute/router_route_policy.py +16 -0
- pulumi_gcp/compute/subnetwork.py +35 -5
- pulumi_gcp/config/__init__.pyi +8 -0
- pulumi_gcp/config/outputs.py +27 -0
- pulumi_gcp/config/vars.py +16 -0
- pulumi_gcp/container/_inputs.py +274 -13
- pulumi_gcp/container/cluster.py +101 -0
- pulumi_gcp/container/get_cluster.py +23 -1
- pulumi_gcp/container/get_registry_image.py +4 -0
- pulumi_gcp/container/get_registry_repository.py +4 -0
- pulumi_gcp/container/outputs.py +305 -10
- pulumi_gcp/container/registry.py +4 -0
- pulumi_gcp/datafusion/instance.py +68 -0
- pulumi_gcp/dataproc/__init__.py +8 -0
- pulumi_gcp/dataproc/_inputs.py +219 -0
- pulumi_gcp/dataproc/get_metastore_database_iam_policy.py +193 -0
- pulumi_gcp/dataproc/get_metastore_table_iam_policy.py +210 -0
- pulumi_gcp/dataproc/metastore_database_iam_binding.py +848 -0
- pulumi_gcp/dataproc/metastore_database_iam_member.py +848 -0
- pulumi_gcp/dataproc/metastore_database_iam_policy.py +687 -0
- pulumi_gcp/dataproc/metastore_federation.py +38 -2
- pulumi_gcp/dataproc/metastore_table_iam_binding.py +895 -0
- pulumi_gcp/dataproc/metastore_table_iam_member.py +895 -0
- pulumi_gcp/dataproc/metastore_table_iam_policy.py +734 -0
- pulumi_gcp/dataproc/outputs.py +139 -0
- pulumi_gcp/datastream/_inputs.py +311 -94
- pulumi_gcp/datastream/connection_profile.py +40 -0
- pulumi_gcp/datastream/outputs.py +244 -51
- pulumi_gcp/datastream/stream.py +216 -0
- pulumi_gcp/discoveryengine/__init__.py +1 -0
- pulumi_gcp/discoveryengine/sitemap.py +504 -0
- pulumi_gcp/eventarc/__init__.py +1 -0
- pulumi_gcp/eventarc/enrollment.py +980 -0
- pulumi_gcp/firebase/__init__.py +1 -0
- pulumi_gcp/firebase/_inputs.py +484 -0
- pulumi_gcp/firebase/app_hosting_build.py +1232 -0
- pulumi_gcp/firebase/outputs.py +333 -0
- pulumi_gcp/identityplatform/_inputs.py +91 -0
- pulumi_gcp/identityplatform/outputs.py +73 -0
- pulumi_gcp/identityplatform/tenant.py +56 -0
- pulumi_gcp/lustre/__init__.py +8 -0
- pulumi_gcp/lustre/instance.py +983 -0
- pulumi_gcp/managedkafka/cluster.py +2 -2
- pulumi_gcp/memorystore/__init__.py +1 -0
- pulumi_gcp/memorystore/_inputs.py +1252 -7
- pulumi_gcp/memorystore/get_instance.py +45 -1
- pulumi_gcp/memorystore/instance.py +481 -30
- pulumi_gcp/memorystore/instance_desired_user_created_endpoints.py +843 -0
- pulumi_gcp/memorystore/outputs.py +1440 -15
- pulumi_gcp/networkmanagement/_inputs.py +422 -91
- pulumi_gcp/networkmanagement/connectivity_test.py +233 -211
- pulumi_gcp/networkmanagement/outputs.py +280 -61
- pulumi_gcp/networksecurity/_inputs.py +891 -26
- pulumi_gcp/networksecurity/intercept_deployment_group.py +44 -16
- pulumi_gcp/networksecurity/intercept_endpoint_group.py +90 -36
- pulumi_gcp/networksecurity/intercept_endpoint_group_association.py +53 -8
- pulumi_gcp/networksecurity/mirroring_deployment_group.py +44 -16
- pulumi_gcp/networksecurity/mirroring_endpoint_group.py +94 -36
- pulumi_gcp/networksecurity/mirroring_endpoint_group_association.py +53 -8
- pulumi_gcp/networksecurity/outputs.py +531 -1
- pulumi_gcp/networksecurity/security_profile.py +8 -0
- pulumi_gcp/organizations/__init__.py +2 -0
- pulumi_gcp/organizations/get_iam_custom_role.py +198 -0
- pulumi_gcp/organizations/get_iam_custom_roles.py +164 -0
- pulumi_gcp/organizations/outputs.py +96 -0
- pulumi_gcp/osconfig/__init__.py +1 -0
- pulumi_gcp/osconfig/_inputs.py +5413 -0
- pulumi_gcp/osconfig/outputs.py +3962 -0
- pulumi_gcp/osconfig/v2_policy_orchestrator.py +971 -0
- pulumi_gcp/parametermanager/get_parameter.py +16 -1
- pulumi_gcp/parametermanager/get_parameter_version.py +19 -1
- pulumi_gcp/parametermanager/get_parameter_version_render.py +4 -0
- pulumi_gcp/parametermanager/get_parameters.py +4 -0
- pulumi_gcp/parametermanager/get_regional_parameter.py +4 -0
- pulumi_gcp/parametermanager/get_regional_parameter_version.py +4 -0
- pulumi_gcp/parametermanager/get_regional_parameter_version_render.py +8 -0
- pulumi_gcp/parametermanager/get_regional_parameters.py +4 -0
- pulumi_gcp/parametermanager/outputs.py +11 -0
- pulumi_gcp/parametermanager/parameter.py +88 -0
- pulumi_gcp/parametermanager/parameter_version.py +74 -0
- pulumi_gcp/parametermanager/regional_parameter.py +12 -0
- pulumi_gcp/parametermanager/regional_parameter_version.py +12 -0
- pulumi_gcp/provider.py +75 -0
- pulumi_gcp/pulumi-plugin.json +1 -1
- pulumi_gcp/redis/_inputs.py +136 -0
- pulumi_gcp/redis/cluster.py +54 -0
- pulumi_gcp/redis/outputs.py +114 -0
- pulumi_gcp/secretmanager/regional_secret_version.py +0 -16
- pulumi_gcp/storage/__init__.py +6 -0
- pulumi_gcp/storage/_inputs.py +1322 -0
- pulumi_gcp/storage/bucket.py +7 -7
- pulumi_gcp/storage/control_folder_intelligence_config.py +420 -0
- pulumi_gcp/storage/control_organization_intelligence_config.py +420 -0
- pulumi_gcp/storage/control_project_intelligence_config.py +408 -0
- pulumi_gcp/storage/get_bucket_object_content.py +16 -1
- pulumi_gcp/storage/get_control_folder_intelligence_config.py +160 -0
- pulumi_gcp/storage/get_control_organization_intelligence_config.py +160 -0
- pulumi_gcp/storage/get_control_project_intelligence_config.py +160 -0
- pulumi_gcp/storage/outputs.py +1553 -17
- pulumi_gcp/workbench/instance.py +14 -2
- {pulumi_gcp-8.24.0a1743057423.dist-info → pulumi_gcp-8.25.0.dist-info}/METADATA +1 -1
- {pulumi_gcp-8.24.0a1743057423.dist-info → pulumi_gcp-8.25.0.dist-info}/RECORD +150 -124
- {pulumi_gcp-8.24.0a1743057423.dist-info → pulumi_gcp-8.25.0.dist-info}/WHEEL +0 -0
- {pulumi_gcp-8.24.0a1743057423.dist-info → pulumi_gcp-8.25.0.dist-info}/top_level.txt +0 -0
@@ -27,7 +27,7 @@ class GetParameterResult:
|
|
27
27
|
"""
|
28
28
|
A collection of values returned by getParameter.
|
29
29
|
"""
|
30
|
-
def __init__(__self__, create_time=None, effective_labels=None, format=None, id=None, labels=None, name=None, parameter_id=None, policy_members=None, project=None, pulumi_labels=None, update_time=None):
|
30
|
+
def __init__(__self__, create_time=None, effective_labels=None, format=None, id=None, kms_key=None, labels=None, name=None, parameter_id=None, policy_members=None, project=None, pulumi_labels=None, update_time=None):
|
31
31
|
if create_time and not isinstance(create_time, str):
|
32
32
|
raise TypeError("Expected argument 'create_time' to be a str")
|
33
33
|
pulumi.set(__self__, "create_time", create_time)
|
@@ -40,6 +40,9 @@ class GetParameterResult:
|
|
40
40
|
if id and not isinstance(id, str):
|
41
41
|
raise TypeError("Expected argument 'id' to be a str")
|
42
42
|
pulumi.set(__self__, "id", id)
|
43
|
+
if kms_key and not isinstance(kms_key, str):
|
44
|
+
raise TypeError("Expected argument 'kms_key' to be a str")
|
45
|
+
pulumi.set(__self__, "kms_key", kms_key)
|
43
46
|
if labels and not isinstance(labels, dict):
|
44
47
|
raise TypeError("Expected argument 'labels' to be a dict")
|
45
48
|
pulumi.set(__self__, "labels", labels)
|
@@ -85,6 +88,11 @@ class GetParameterResult:
|
|
85
88
|
"""
|
86
89
|
return pulumi.get(self, "id")
|
87
90
|
|
91
|
+
@property
|
92
|
+
@pulumi.getter(name="kmsKey")
|
93
|
+
def kms_key(self) -> str:
|
94
|
+
return pulumi.get(self, "kms_key")
|
95
|
+
|
88
96
|
@property
|
89
97
|
@pulumi.getter
|
90
98
|
def labels(self) -> Mapping[str, str]:
|
@@ -131,6 +139,7 @@ class AwaitableGetParameterResult(GetParameterResult):
|
|
131
139
|
effective_labels=self.effective_labels,
|
132
140
|
format=self.format,
|
133
141
|
id=self.id,
|
142
|
+
kms_key=self.kms_key,
|
134
143
|
labels=self.labels,
|
135
144
|
name=self.name,
|
136
145
|
parameter_id=self.parameter_id,
|
@@ -144,6 +153,8 @@ def get_parameter(parameter_id: Optional[str] = None,
|
|
144
153
|
project: Optional[str] = None,
|
145
154
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetParameterResult:
|
146
155
|
"""
|
156
|
+
Use this data source to get information about a Parameter Manager Parameter.
|
157
|
+
|
147
158
|
## Example Usage
|
148
159
|
|
149
160
|
```python
|
@@ -168,6 +179,7 @@ def get_parameter(parameter_id: Optional[str] = None,
|
|
168
179
|
effective_labels=pulumi.get(__ret__, 'effective_labels'),
|
169
180
|
format=pulumi.get(__ret__, 'format'),
|
170
181
|
id=pulumi.get(__ret__, 'id'),
|
182
|
+
kms_key=pulumi.get(__ret__, 'kms_key'),
|
171
183
|
labels=pulumi.get(__ret__, 'labels'),
|
172
184
|
name=pulumi.get(__ret__, 'name'),
|
173
185
|
parameter_id=pulumi.get(__ret__, 'parameter_id'),
|
@@ -179,6 +191,8 @@ def get_parameter_output(parameter_id: Optional[pulumi.Input[str]] = None,
|
|
179
191
|
project: Optional[pulumi.Input[Optional[str]]] = None,
|
180
192
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetParameterResult]:
|
181
193
|
"""
|
194
|
+
Use this data source to get information about a Parameter Manager Parameter.
|
195
|
+
|
182
196
|
## Example Usage
|
183
197
|
|
184
198
|
```python
|
@@ -202,6 +216,7 @@ def get_parameter_output(parameter_id: Optional[pulumi.Input[str]] = None,
|
|
202
216
|
effective_labels=pulumi.get(__response__, 'effective_labels'),
|
203
217
|
format=pulumi.get(__response__, 'format'),
|
204
218
|
id=pulumi.get(__response__, 'id'),
|
219
|
+
kms_key=pulumi.get(__response__, 'kms_key'),
|
205
220
|
labels=pulumi.get(__response__, 'labels'),
|
206
221
|
name=pulumi.get(__response__, 'name'),
|
207
222
|
parameter_id=pulumi.get(__response__, 'parameter_id'),
|
@@ -26,7 +26,7 @@ class GetParameterVersionResult:
|
|
26
26
|
"""
|
27
27
|
A collection of values returned by getParameterVersion.
|
28
28
|
"""
|
29
|
-
def __init__(__self__, create_time=None, disabled=None, id=None, name=None, parameter=None, parameter_data=None, parameter_version_id=None, project=None, update_time=None):
|
29
|
+
def __init__(__self__, create_time=None, disabled=None, id=None, kms_key_version=None, name=None, parameter=None, parameter_data=None, parameter_version_id=None, project=None, update_time=None):
|
30
30
|
if create_time and not isinstance(create_time, str):
|
31
31
|
raise TypeError("Expected argument 'create_time' to be a str")
|
32
32
|
pulumi.set(__self__, "create_time", create_time)
|
@@ -36,6 +36,9 @@ class GetParameterVersionResult:
|
|
36
36
|
if id and not isinstance(id, str):
|
37
37
|
raise TypeError("Expected argument 'id' to be a str")
|
38
38
|
pulumi.set(__self__, "id", id)
|
39
|
+
if kms_key_version and not isinstance(kms_key_version, str):
|
40
|
+
raise TypeError("Expected argument 'kms_key_version' to be a str")
|
41
|
+
pulumi.set(__self__, "kms_key_version", kms_key_version)
|
39
42
|
if name and not isinstance(name, str):
|
40
43
|
raise TypeError("Expected argument 'name' to be a str")
|
41
44
|
pulumi.set(__self__, "name", name)
|
@@ -79,6 +82,14 @@ class GetParameterVersionResult:
|
|
79
82
|
"""
|
80
83
|
return pulumi.get(self, "id")
|
81
84
|
|
85
|
+
@property
|
86
|
+
@pulumi.getter(name="kmsKeyVersion")
|
87
|
+
def kms_key_version(self) -> str:
|
88
|
+
"""
|
89
|
+
The resource name of the Cloud KMS CryptoKeyVersion used to decrypt parameter version payload. Format `projects/{{project}}/locations/global/keyRings/{{key_ring}}/cryptoKeys/{{crypto_key}}/cryptoKeyVersions/{{crypto_key_version}}`
|
90
|
+
"""
|
91
|
+
return pulumi.get(self, "kms_key_version")
|
92
|
+
|
82
93
|
@property
|
83
94
|
@pulumi.getter
|
84
95
|
def name(self) -> str:
|
@@ -129,6 +140,7 @@ class AwaitableGetParameterVersionResult(GetParameterVersionResult):
|
|
129
140
|
create_time=self.create_time,
|
130
141
|
disabled=self.disabled,
|
131
142
|
id=self.id,
|
143
|
+
kms_key_version=self.kms_key_version,
|
132
144
|
name=self.name,
|
133
145
|
parameter=self.parameter,
|
134
146
|
parameter_data=self.parameter_data,
|
@@ -142,6 +154,8 @@ def get_parameter_version(parameter: Optional[str] = None,
|
|
142
154
|
project: Optional[str] = None,
|
143
155
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetParameterVersionResult:
|
144
156
|
"""
|
157
|
+
Get the value and metadata from a Parameter Manager Parameter version. For more information see the [official documentation](https://cloud.google.com/secret-manager/parameter-manager/docs/overview) and [API](https://cloud.google.com/secret-manager/parameter-manager/docs/reference/rest/v1/projects.locations.parameters.versions).
|
158
|
+
|
145
159
|
## Example Usage
|
146
160
|
|
147
161
|
```python
|
@@ -170,6 +184,7 @@ def get_parameter_version(parameter: Optional[str] = None,
|
|
170
184
|
create_time=pulumi.get(__ret__, 'create_time'),
|
171
185
|
disabled=pulumi.get(__ret__, 'disabled'),
|
172
186
|
id=pulumi.get(__ret__, 'id'),
|
187
|
+
kms_key_version=pulumi.get(__ret__, 'kms_key_version'),
|
173
188
|
name=pulumi.get(__ret__, 'name'),
|
174
189
|
parameter=pulumi.get(__ret__, 'parameter'),
|
175
190
|
parameter_data=pulumi.get(__ret__, 'parameter_data'),
|
@@ -181,6 +196,8 @@ def get_parameter_version_output(parameter: Optional[pulumi.Input[str]] = None,
|
|
181
196
|
project: Optional[pulumi.Input[Optional[str]]] = None,
|
182
197
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetParameterVersionResult]:
|
183
198
|
"""
|
199
|
+
Get the value and metadata from a Parameter Manager Parameter version. For more information see the [official documentation](https://cloud.google.com/secret-manager/parameter-manager/docs/overview) and [API](https://cloud.google.com/secret-manager/parameter-manager/docs/reference/rest/v1/projects.locations.parameters.versions).
|
200
|
+
|
184
201
|
## Example Usage
|
185
202
|
|
186
203
|
```python
|
@@ -208,6 +225,7 @@ def get_parameter_version_output(parameter: Optional[pulumi.Input[str]] = None,
|
|
208
225
|
create_time=pulumi.get(__response__, 'create_time'),
|
209
226
|
disabled=pulumi.get(__response__, 'disabled'),
|
210
227
|
id=pulumi.get(__response__, 'id'),
|
228
|
+
kms_key_version=pulumi.get(__response__, 'kms_key_version'),
|
211
229
|
name=pulumi.get(__response__, 'name'),
|
212
230
|
parameter=pulumi.get(__response__, 'parameter'),
|
213
231
|
parameter_data=pulumi.get(__response__, 'parameter_data'),
|
@@ -130,6 +130,8 @@ def get_parameter_version_render(parameter: Optional[str] = None,
|
|
130
130
|
project: Optional[str] = None,
|
131
131
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetParameterVersionRenderResult:
|
132
132
|
"""
|
133
|
+
Get the value and metadata from a Parameter Manager Parameter version with render payload data. For this datasource to work as expected, the principal of the parameter must be provided with the [Secret Manager Secret Accessor](https://cloud.google.com/secret-manager/docs/access-control#secretmanager.secretAccessor) role. For more information see the [official documentation](https://cloud.google.com/secret-manager/parameter-manager/docs/overview) and [API](https://cloud.google.com/secret-manager/parameter-manager/docs/reference/rest/v1/projects.locations.parameters.versions/render).
|
134
|
+
|
133
135
|
## Example Usage
|
134
136
|
|
135
137
|
```python
|
@@ -168,6 +170,8 @@ def get_parameter_version_render_output(parameter: Optional[pulumi.Input[str]] =
|
|
168
170
|
project: Optional[pulumi.Input[Optional[str]]] = None,
|
169
171
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetParameterVersionRenderResult]:
|
170
172
|
"""
|
173
|
+
Get the value and metadata from a Parameter Manager Parameter version with render payload data. For this datasource to work as expected, the principal of the parameter must be provided with the [Secret Manager Secret Accessor](https://cloud.google.com/secret-manager/docs/access-control#secretmanager.secretAccessor) role. For more information see the [official documentation](https://cloud.google.com/secret-manager/parameter-manager/docs/overview) and [API](https://cloud.google.com/secret-manager/parameter-manager/docs/reference/rest/v1/projects.locations.parameters.versions/render).
|
174
|
+
|
171
175
|
## Example Usage
|
172
176
|
|
173
177
|
```python
|
@@ -87,6 +87,8 @@ def get_parameters(filter: Optional[str] = None,
|
|
87
87
|
project: Optional[str] = None,
|
88
88
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetParametersResult:
|
89
89
|
"""
|
90
|
+
Use this data source to list the Parameter Manager Parameters.
|
91
|
+
|
90
92
|
## Example Usage
|
91
93
|
|
92
94
|
```python
|
@@ -115,6 +117,8 @@ def get_parameters_output(filter: Optional[pulumi.Input[Optional[str]]] = None,
|
|
115
117
|
project: Optional[pulumi.Input[Optional[str]]] = None,
|
116
118
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetParametersResult]:
|
117
119
|
"""
|
120
|
+
Use this data source to list the Parameter Manager Parameters.
|
121
|
+
|
118
122
|
## Example Usage
|
119
123
|
|
120
124
|
```python
|
@@ -154,6 +154,8 @@ def get_regional_parameter(location: Optional[str] = None,
|
|
154
154
|
project: Optional[str] = None,
|
155
155
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetRegionalParameterResult:
|
156
156
|
"""
|
157
|
+
Use this data source to get information about a Parameter Manager Regional Parameter.
|
158
|
+
|
157
159
|
## Example Usage
|
158
160
|
|
159
161
|
```python
|
@@ -194,6 +196,8 @@ def get_regional_parameter_output(location: Optional[pulumi.Input[str]] = None,
|
|
194
196
|
project: Optional[pulumi.Input[Optional[str]]] = None,
|
195
197
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetRegionalParameterResult]:
|
196
198
|
"""
|
199
|
+
Use this data source to get information about a Parameter Manager Regional Parameter.
|
200
|
+
|
197
201
|
## Example Usage
|
198
202
|
|
199
203
|
```python
|
@@ -152,6 +152,8 @@ def get_regional_parameter_version(location: Optional[str] = None,
|
|
152
152
|
project: Optional[str] = None,
|
153
153
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetRegionalParameterVersionResult:
|
154
154
|
"""
|
155
|
+
Get the value and metadata from a Parameter Manager Regional Parameter version. For more information see the [official documentation](https://cloud.google.com/secret-manager/parameter-manager/docs/overview) and [API](https://cloud.google.com/secret-manager/parameter-manager/docs/reference/rest/v1/projects.locations.parameters.versions).
|
156
|
+
|
155
157
|
## Example Usage
|
156
158
|
|
157
159
|
```python
|
@@ -196,6 +198,8 @@ def get_regional_parameter_version_output(location: Optional[pulumi.Input[Option
|
|
196
198
|
project: Optional[pulumi.Input[Optional[str]]] = None,
|
197
199
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetRegionalParameterVersionResult]:
|
198
200
|
"""
|
201
|
+
Get the value and metadata from a Parameter Manager Regional Parameter version. For more information see the [official documentation](https://cloud.google.com/secret-manager/parameter-manager/docs/overview) and [API](https://cloud.google.com/secret-manager/parameter-manager/docs/reference/rest/v1/projects.locations.parameters.versions).
|
202
|
+
|
199
203
|
## Example Usage
|
200
204
|
|
201
205
|
```python
|
@@ -140,6 +140,10 @@ def get_regional_parameter_version_render(location: Optional[str] = None,
|
|
140
140
|
project: Optional[str] = None,
|
141
141
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetRegionalParameterVersionRenderResult:
|
142
142
|
"""
|
143
|
+
Get the value and metadata from a Parameter Manager Regional Parameter version with rendered payload data. For this datasource to work as expected, the principal of the parameter must be provided with the [Secret Manager Secret Accessor](https://cloud.google.com/secret-manager/docs/access-control#secretmanager.secretAccessor) role. For more information see the [official documentation](https://cloud.google.com/secret-manager/parameter-manager/docs/overview) and [API](https://cloud.google.com/secret-manager/parameter-manager/docs/reference/rest/v1/projects.locations.parameters.versions/render).
|
144
|
+
|
145
|
+
> **Warning:** To use this data source, we must grant the `Secret Manager Secret Accessor` role to the principal of the parameter. Please note that it can take up to 7 minutes for the role to take effect. Hence, we might need to wait approximately 7 minutes after granting `Secret Manager Secret Accessor` role to the principal of the parameter. For more information see the [access change propagation documentation](https://cloud.google.com/iam/docs/access-change-propagation).
|
146
|
+
|
143
147
|
## Example Usage
|
144
148
|
|
145
149
|
```python
|
@@ -184,6 +188,10 @@ def get_regional_parameter_version_render_output(location: Optional[pulumi.Input
|
|
184
188
|
project: Optional[pulumi.Input[Optional[str]]] = None,
|
185
189
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetRegionalParameterVersionRenderResult]:
|
186
190
|
"""
|
191
|
+
Get the value and metadata from a Parameter Manager Regional Parameter version with rendered payload data. For this datasource to work as expected, the principal of the parameter must be provided with the [Secret Manager Secret Accessor](https://cloud.google.com/secret-manager/docs/access-control#secretmanager.secretAccessor) role. For more information see the [official documentation](https://cloud.google.com/secret-manager/parameter-manager/docs/overview) and [API](https://cloud.google.com/secret-manager/parameter-manager/docs/reference/rest/v1/projects.locations.parameters.versions/render).
|
192
|
+
|
193
|
+
> **Warning:** To use this data source, we must grant the `Secret Manager Secret Accessor` role to the principal of the parameter. Please note that it can take up to 7 minutes for the role to take effect. Hence, we might need to wait approximately 7 minutes after granting `Secret Manager Secret Accessor` role to the principal of the parameter. For more information see the [access change propagation documentation](https://cloud.google.com/iam/docs/access-change-propagation).
|
194
|
+
|
187
195
|
## Example Usage
|
188
196
|
|
189
197
|
```python
|
@@ -97,6 +97,8 @@ def get_regional_parameters(filter: Optional[str] = None,
|
|
97
97
|
project: Optional[str] = None,
|
98
98
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetRegionalParametersResult:
|
99
99
|
"""
|
100
|
+
Use this data source to list the Parameter Manager Regional Parameters.
|
101
|
+
|
100
102
|
## Example Usage
|
101
103
|
|
102
104
|
```python
|
@@ -129,6 +131,8 @@ def get_regional_parameters_output(filter: Optional[pulumi.Input[Optional[str]]]
|
|
129
131
|
project: Optional[pulumi.Input[Optional[str]]] = None,
|
130
132
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetRegionalParametersResult]:
|
131
133
|
"""
|
134
|
+
Use this data source to list the Parameter Manager Regional Parameters.
|
135
|
+
|
132
136
|
## Example Usage
|
133
137
|
|
134
138
|
```python
|
@@ -203,6 +203,7 @@ class GetParametersParameterResult(dict):
|
|
203
203
|
create_time: str,
|
204
204
|
effective_labels: Mapping[str, str],
|
205
205
|
format: str,
|
206
|
+
kms_key: str,
|
206
207
|
labels: Mapping[str, str],
|
207
208
|
name: str,
|
208
209
|
parameter_id: str,
|
@@ -213,6 +214,7 @@ class GetParametersParameterResult(dict):
|
|
213
214
|
"""
|
214
215
|
:param str create_time: The time at which the parameter was created.
|
215
216
|
:param str format: The format type of the parameter.
|
217
|
+
:param str kms_key: The resource name of the Cloud KMS CryptoKey used to encrypt parameter version payload. Format `projects/{{project}}/locations/global/keyRings/{{key_ring}}/cryptoKeys/{{crypto_key}}`
|
216
218
|
:param Mapping[str, str] labels: The labels assigned to the parameter.
|
217
219
|
:param str name: The resource name of the parameter. Format: `projects/{{project}}/locations/global/parameters/{{parameter_id}}`
|
218
220
|
:param str parameter_id: The unique name of the resource.
|
@@ -225,6 +227,7 @@ class GetParametersParameterResult(dict):
|
|
225
227
|
pulumi.set(__self__, "create_time", create_time)
|
226
228
|
pulumi.set(__self__, "effective_labels", effective_labels)
|
227
229
|
pulumi.set(__self__, "format", format)
|
230
|
+
pulumi.set(__self__, "kms_key", kms_key)
|
228
231
|
pulumi.set(__self__, "labels", labels)
|
229
232
|
pulumi.set(__self__, "name", name)
|
230
233
|
pulumi.set(__self__, "parameter_id", parameter_id)
|
@@ -254,6 +257,14 @@ class GetParametersParameterResult(dict):
|
|
254
257
|
"""
|
255
258
|
return pulumi.get(self, "format")
|
256
259
|
|
260
|
+
@property
|
261
|
+
@pulumi.getter(name="kmsKey")
|
262
|
+
def kms_key(self) -> str:
|
263
|
+
"""
|
264
|
+
The resource name of the Cloud KMS CryptoKey used to encrypt parameter version payload. Format `projects/{{project}}/locations/global/keyRings/{{key_ring}}/cryptoKeys/{{crypto_key}}`
|
265
|
+
"""
|
266
|
+
return pulumi.get(self, "kms_key")
|
267
|
+
|
257
268
|
@property
|
258
269
|
@pulumi.getter
|
259
270
|
def labels(self) -> Mapping[str, str]:
|
@@ -23,6 +23,7 @@ class ParameterArgs:
|
|
23
23
|
def __init__(__self__, *,
|
24
24
|
parameter_id: pulumi.Input[str],
|
25
25
|
format: Optional[pulumi.Input[str]] = None,
|
26
|
+
kms_key: Optional[pulumi.Input[str]] = None,
|
26
27
|
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
27
28
|
project: Optional[pulumi.Input[str]] = None):
|
28
29
|
"""
|
@@ -34,6 +35,8 @@ class ParameterArgs:
|
|
34
35
|
:param pulumi.Input[str] format: The format type of the parameter resource.
|
35
36
|
Default value is `UNFORMATTED`.
|
36
37
|
Possible values are: `UNFORMATTED`, `YAML`, `JSON`.
|
38
|
+
:param pulumi.Input[str] kms_key: The resource name of the Cloud KMS CryptoKey used to encrypt parameter version payload. Format
|
39
|
+
`projects/{{project}}/locations/global/keyRings/{{key_ring}}/cryptoKeys/{{crypto_key}}`
|
37
40
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: The labels assigned to this Parameter.
|
38
41
|
Label keys must be between 1 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes,
|
39
42
|
and must conform to the following PCRE regular expression: [\\p{Ll}\\p{Lo}][\\p{Ll}\\p{Lo}\\p{N}_-]{0,62}
|
@@ -51,6 +54,8 @@ class ParameterArgs:
|
|
51
54
|
pulumi.set(__self__, "parameter_id", parameter_id)
|
52
55
|
if format is not None:
|
53
56
|
pulumi.set(__self__, "format", format)
|
57
|
+
if kms_key is not None:
|
58
|
+
pulumi.set(__self__, "kms_key", kms_key)
|
54
59
|
if labels is not None:
|
55
60
|
pulumi.set(__self__, "labels", labels)
|
56
61
|
if project is not None:
|
@@ -85,6 +90,19 @@ class ParameterArgs:
|
|
85
90
|
def format(self, value: Optional[pulumi.Input[str]]):
|
86
91
|
pulumi.set(self, "format", value)
|
87
92
|
|
93
|
+
@property
|
94
|
+
@pulumi.getter(name="kmsKey")
|
95
|
+
def kms_key(self) -> Optional[pulumi.Input[str]]:
|
96
|
+
"""
|
97
|
+
The resource name of the Cloud KMS CryptoKey used to encrypt parameter version payload. Format
|
98
|
+
`projects/{{project}}/locations/global/keyRings/{{key_ring}}/cryptoKeys/{{crypto_key}}`
|
99
|
+
"""
|
100
|
+
return pulumi.get(self, "kms_key")
|
101
|
+
|
102
|
+
@kms_key.setter
|
103
|
+
def kms_key(self, value: Optional[pulumi.Input[str]]):
|
104
|
+
pulumi.set(self, "kms_key", value)
|
105
|
+
|
88
106
|
@property
|
89
107
|
@pulumi.getter
|
90
108
|
def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
@@ -127,6 +145,7 @@ class _ParameterState:
|
|
127
145
|
create_time: Optional[pulumi.Input[str]] = None,
|
128
146
|
effective_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
129
147
|
format: Optional[pulumi.Input[str]] = None,
|
148
|
+
kms_key: Optional[pulumi.Input[str]] = None,
|
130
149
|
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
131
150
|
name: Optional[pulumi.Input[str]] = None,
|
132
151
|
parameter_id: Optional[pulumi.Input[str]] = None,
|
@@ -141,6 +160,8 @@ class _ParameterState:
|
|
141
160
|
:param pulumi.Input[str] format: The format type of the parameter resource.
|
142
161
|
Default value is `UNFORMATTED`.
|
143
162
|
Possible values are: `UNFORMATTED`, `YAML`, `JSON`.
|
163
|
+
:param pulumi.Input[str] kms_key: The resource name of the Cloud KMS CryptoKey used to encrypt parameter version payload. Format
|
164
|
+
`projects/{{project}}/locations/global/keyRings/{{key_ring}}/cryptoKeys/{{crypto_key}}`
|
144
165
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: The labels assigned to this Parameter.
|
145
166
|
Label keys must be between 1 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes,
|
146
167
|
and must conform to the following PCRE regular expression: [\\p{Ll}\\p{Lo}][\\p{Ll}\\p{Lo}\\p{N}_-]{0,62}
|
@@ -172,6 +193,8 @@ class _ParameterState:
|
|
172
193
|
pulumi.set(__self__, "effective_labels", effective_labels)
|
173
194
|
if format is not None:
|
174
195
|
pulumi.set(__self__, "format", format)
|
196
|
+
if kms_key is not None:
|
197
|
+
pulumi.set(__self__, "kms_key", kms_key)
|
175
198
|
if labels is not None:
|
176
199
|
pulumi.set(__self__, "labels", labels)
|
177
200
|
if name is not None:
|
@@ -225,6 +248,19 @@ class _ParameterState:
|
|
225
248
|
def format(self, value: Optional[pulumi.Input[str]]):
|
226
249
|
pulumi.set(self, "format", value)
|
227
250
|
|
251
|
+
@property
|
252
|
+
@pulumi.getter(name="kmsKey")
|
253
|
+
def kms_key(self) -> Optional[pulumi.Input[str]]:
|
254
|
+
"""
|
255
|
+
The resource name of the Cloud KMS CryptoKey used to encrypt parameter version payload. Format
|
256
|
+
`projects/{{project}}/locations/global/keyRings/{{key_ring}}/cryptoKeys/{{crypto_key}}`
|
257
|
+
"""
|
258
|
+
return pulumi.get(self, "kms_key")
|
259
|
+
|
260
|
+
@kms_key.setter
|
261
|
+
def kms_key(self, value: Optional[pulumi.Input[str]]):
|
262
|
+
pulumi.set(self, "kms_key", value)
|
263
|
+
|
228
264
|
@property
|
229
265
|
@pulumi.getter
|
230
266
|
def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
@@ -333,11 +369,18 @@ class Parameter(pulumi.CustomResource):
|
|
333
369
|
resource_name: str,
|
334
370
|
opts: Optional[pulumi.ResourceOptions] = None,
|
335
371
|
format: Optional[pulumi.Input[str]] = None,
|
372
|
+
kms_key: Optional[pulumi.Input[str]] = None,
|
336
373
|
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
337
374
|
parameter_id: Optional[pulumi.Input[str]] = None,
|
338
375
|
project: Optional[pulumi.Input[str]] = None,
|
339
376
|
__props__=None):
|
340
377
|
"""
|
378
|
+
A Parameter resource is a logical parameter.
|
379
|
+
|
380
|
+
To get more information about Parameter, see:
|
381
|
+
|
382
|
+
* [API documentation](https://cloud.google.com/secret-manager/parameter-manager/docs/reference/rest/v1/projects.locations.parameters)
|
383
|
+
|
341
384
|
## Example Usage
|
342
385
|
|
343
386
|
### Parameter Config Basic
|
@@ -374,6 +417,17 @@ class Parameter(pulumi.CustomResource):
|
|
374
417
|
"key5": "val5",
|
375
418
|
})
|
376
419
|
```
|
420
|
+
### Parameter With Kms Key
|
421
|
+
|
422
|
+
```python
|
423
|
+
import pulumi
|
424
|
+
import pulumi_gcp as gcp
|
425
|
+
|
426
|
+
project = gcp.organizations.get_project()
|
427
|
+
parameter_with_kms_key = gcp.parametermanager.Parameter("parameter-with-kms-key",
|
428
|
+
parameter_id="parameter",
|
429
|
+
kms_key="kms-key")
|
430
|
+
```
|
377
431
|
|
378
432
|
## Import
|
379
433
|
|
@@ -404,6 +458,8 @@ class Parameter(pulumi.CustomResource):
|
|
404
458
|
:param pulumi.Input[str] format: The format type of the parameter resource.
|
405
459
|
Default value is `UNFORMATTED`.
|
406
460
|
Possible values are: `UNFORMATTED`, `YAML`, `JSON`.
|
461
|
+
:param pulumi.Input[str] kms_key: The resource name of the Cloud KMS CryptoKey used to encrypt parameter version payload. Format
|
462
|
+
`projects/{{project}}/locations/global/keyRings/{{key_ring}}/cryptoKeys/{{crypto_key}}`
|
407
463
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: The labels assigned to this Parameter.
|
408
464
|
Label keys must be between 1 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes,
|
409
465
|
and must conform to the following PCRE regular expression: [\\p{Ll}\\p{Lo}][\\p{Ll}\\p{Lo}\\p{N}_-]{0,62}
|
@@ -429,6 +485,12 @@ class Parameter(pulumi.CustomResource):
|
|
429
485
|
args: ParameterArgs,
|
430
486
|
opts: Optional[pulumi.ResourceOptions] = None):
|
431
487
|
"""
|
488
|
+
A Parameter resource is a logical parameter.
|
489
|
+
|
490
|
+
To get more information about Parameter, see:
|
491
|
+
|
492
|
+
* [API documentation](https://cloud.google.com/secret-manager/parameter-manager/docs/reference/rest/v1/projects.locations.parameters)
|
493
|
+
|
432
494
|
## Example Usage
|
433
495
|
|
434
496
|
### Parameter Config Basic
|
@@ -465,6 +527,17 @@ class Parameter(pulumi.CustomResource):
|
|
465
527
|
"key5": "val5",
|
466
528
|
})
|
467
529
|
```
|
530
|
+
### Parameter With Kms Key
|
531
|
+
|
532
|
+
```python
|
533
|
+
import pulumi
|
534
|
+
import pulumi_gcp as gcp
|
535
|
+
|
536
|
+
project = gcp.organizations.get_project()
|
537
|
+
parameter_with_kms_key = gcp.parametermanager.Parameter("parameter-with-kms-key",
|
538
|
+
parameter_id="parameter",
|
539
|
+
kms_key="kms-key")
|
540
|
+
```
|
468
541
|
|
469
542
|
## Import
|
470
543
|
|
@@ -506,6 +579,7 @@ class Parameter(pulumi.CustomResource):
|
|
506
579
|
resource_name: str,
|
507
580
|
opts: Optional[pulumi.ResourceOptions] = None,
|
508
581
|
format: Optional[pulumi.Input[str]] = None,
|
582
|
+
kms_key: Optional[pulumi.Input[str]] = None,
|
509
583
|
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
510
584
|
parameter_id: Optional[pulumi.Input[str]] = None,
|
511
585
|
project: Optional[pulumi.Input[str]] = None,
|
@@ -519,6 +593,7 @@ class Parameter(pulumi.CustomResource):
|
|
519
593
|
__props__ = ParameterArgs.__new__(ParameterArgs)
|
520
594
|
|
521
595
|
__props__.__dict__["format"] = format
|
596
|
+
__props__.__dict__["kms_key"] = kms_key
|
522
597
|
__props__.__dict__["labels"] = labels
|
523
598
|
if parameter_id is None and not opts.urn:
|
524
599
|
raise TypeError("Missing required property 'parameter_id'")
|
@@ -545,6 +620,7 @@ class Parameter(pulumi.CustomResource):
|
|
545
620
|
create_time: Optional[pulumi.Input[str]] = None,
|
546
621
|
effective_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
547
622
|
format: Optional[pulumi.Input[str]] = None,
|
623
|
+
kms_key: Optional[pulumi.Input[str]] = None,
|
548
624
|
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
549
625
|
name: Optional[pulumi.Input[str]] = None,
|
550
626
|
parameter_id: Optional[pulumi.Input[str]] = None,
|
@@ -564,6 +640,8 @@ class Parameter(pulumi.CustomResource):
|
|
564
640
|
:param pulumi.Input[str] format: The format type of the parameter resource.
|
565
641
|
Default value is `UNFORMATTED`.
|
566
642
|
Possible values are: `UNFORMATTED`, `YAML`, `JSON`.
|
643
|
+
:param pulumi.Input[str] kms_key: The resource name of the Cloud KMS CryptoKey used to encrypt parameter version payload. Format
|
644
|
+
`projects/{{project}}/locations/global/keyRings/{{key_ring}}/cryptoKeys/{{crypto_key}}`
|
567
645
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: The labels assigned to this Parameter.
|
568
646
|
Label keys must be between 1 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes,
|
569
647
|
and must conform to the following PCRE regular expression: [\\p{Ll}\\p{Lo}][\\p{Ll}\\p{Lo}\\p{N}_-]{0,62}
|
@@ -596,6 +674,7 @@ class Parameter(pulumi.CustomResource):
|
|
596
674
|
__props__.__dict__["create_time"] = create_time
|
597
675
|
__props__.__dict__["effective_labels"] = effective_labels
|
598
676
|
__props__.__dict__["format"] = format
|
677
|
+
__props__.__dict__["kms_key"] = kms_key
|
599
678
|
__props__.__dict__["labels"] = labels
|
600
679
|
__props__.__dict__["name"] = name
|
601
680
|
__props__.__dict__["parameter_id"] = parameter_id
|
@@ -631,6 +710,15 @@ class Parameter(pulumi.CustomResource):
|
|
631
710
|
"""
|
632
711
|
return pulumi.get(self, "format")
|
633
712
|
|
713
|
+
@property
|
714
|
+
@pulumi.getter(name="kmsKey")
|
715
|
+
def kms_key(self) -> pulumi.Output[Optional[str]]:
|
716
|
+
"""
|
717
|
+
The resource name of the Cloud KMS CryptoKey used to encrypt parameter version payload. Format
|
718
|
+
`projects/{{project}}/locations/global/keyRings/{{key_ring}}/cryptoKeys/{{crypto_key}}`
|
719
|
+
"""
|
720
|
+
return pulumi.get(self, "kms_key")
|
721
|
+
|
634
722
|
@property
|
635
723
|
@pulumi.getter
|
636
724
|
def labels(self) -> pulumi.Output[Optional[Mapping[str, str]]]:
|