pulumi-gcp 8.7.0__py3-none-any.whl → 8.7.0a1729107581__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 +0 -70
- pulumi_gcp/accesscontextmanager/service_perimeter.py +0 -2
- pulumi_gcp/accesscontextmanager/service_perimeter_dry_run_egress_policy.py +0 -4
- pulumi_gcp/accesscontextmanager/service_perimeter_dry_run_ingress_policy.py +0 -4
- pulumi_gcp/accesscontextmanager/service_perimeter_egress_policy.py +0 -4
- pulumi_gcp/accesscontextmanager/service_perimeter_ingress_policy.py +0 -4
- pulumi_gcp/accesscontextmanager/service_perimeters.py +0 -2
- pulumi_gcp/apigee/__init__.py +0 -2
- pulumi_gcp/apigee/_inputs.py +0 -108
- pulumi_gcp/apigee/outputs.py +0 -64
- pulumi_gcp/artifactregistry/get_docker_image.py +0 -40
- pulumi_gcp/bigquery/connection.py +12 -12
- pulumi_gcp/bigquery/job.py +6 -6
- pulumi_gcp/cloudrunv2/get_service.py +1 -12
- pulumi_gcp/cloudrunv2/service.py +0 -92
- pulumi_gcp/compute/_inputs.py +116 -214
- pulumi_gcp/compute/backend_service.py +0 -76
- pulumi_gcp/compute/get_backend_service.py +1 -12
- pulumi_gcp/compute/get_instance.py +1 -29
- pulumi_gcp/compute/get_instance_template.py +1 -29
- pulumi_gcp/compute/get_region_instance_group_manager.py +18 -0
- pulumi_gcp/compute/get_region_instance_template.py +1 -29
- pulumi_gcp/compute/instance.py +0 -89
- pulumi_gcp/compute/instance_from_machine_image.py +0 -82
- pulumi_gcp/compute/instance_from_template.py +0 -82
- pulumi_gcp/compute/instance_template.py +0 -75
- pulumi_gcp/compute/network_firewall_policy_association.py +50 -76
- pulumi_gcp/compute/network_firewall_policy_rule.py +103 -149
- pulumi_gcp/compute/outputs.py +80 -170
- pulumi_gcp/compute/region_backend_service.py +0 -94
- pulumi_gcp/compute/region_instance_template.py +0 -75
- pulumi_gcp/compute/region_network_endpoint_group.py +4 -6
- pulumi_gcp/compute/region_network_firewall_policy_association.py +54 -104
- pulumi_gcp/compute/region_network_firewall_policy_rule.py +107 -160
- pulumi_gcp/config/__init__.pyi +0 -4
- pulumi_gcp/config/vars.py +0 -8
- pulumi_gcp/container/attached_cluster.py +6 -9
- pulumi_gcp/container/outputs.py +2 -2
- pulumi_gcp/datastream/stream.py +2 -2
- pulumi_gcp/diagflow/_inputs.py +2 -472
- pulumi_gcp/diagflow/cx_agent.py +4 -64
- pulumi_gcp/diagflow/cx_flow.py +0 -30
- pulumi_gcp/diagflow/outputs.py +2 -378
- pulumi_gcp/gkehub/feature.py +4 -2
- pulumi_gcp/iam/workload_identity_pool_provider.py +0 -56
- pulumi_gcp/looker/instance.py +2 -104
- pulumi_gcp/monitoring/_inputs.py +0 -23
- pulumi_gcp/monitoring/get_secret_version.py +3 -22
- pulumi_gcp/monitoring/outputs.py +0 -16
- pulumi_gcp/networkconnectivity/__init__.py +0 -1
- pulumi_gcp/networkconnectivity/_inputs.py +0 -148
- pulumi_gcp/networkconnectivity/outputs.py +0 -125
- pulumi_gcp/networkconnectivity/spoke.py +0 -144
- pulumi_gcp/networksecurity/server_tls_policy.py +2 -2
- pulumi_gcp/organizations/folder.py +7 -7
- pulumi_gcp/organizations/project.py +7 -7
- pulumi_gcp/orgpolicy/_inputs.py +3 -3
- pulumi_gcp/orgpolicy/outputs.py +2 -2
- pulumi_gcp/privilegedaccessmanager/get_entitlement.py +2 -46
- pulumi_gcp/provider.py +0 -40
- pulumi_gcp/pulumi-plugin.json +1 -1
- pulumi_gcp/secretmanager/get_regional_secret_version.py +5 -24
- pulumi_gcp/secretmanager/get_regional_secret_version_access.py +5 -24
- pulumi_gcp/secretmanager/get_secret_version.py +3 -22
- pulumi_gcp/secretmanager/get_secret_version_access.py +3 -22
- pulumi_gcp/secretmanager/regional_secret.py +2 -2
- pulumi_gcp/siteverification/get_token.py +16 -0
- pulumi_gcp/siteverification/owner.py +16 -0
- pulumi_gcp/spanner/_inputs.py +5 -29
- pulumi_gcp/spanner/outputs.py +3 -20
- pulumi_gcp/sql/_inputs.py +6 -6
- pulumi_gcp/sql/outputs.py +4 -4
- pulumi_gcp/sql/user.py +21 -28
- pulumi_gcp/storage/_inputs.py +0 -36
- pulumi_gcp/storage/bucket.py +0 -47
- pulumi_gcp/storage/get_bucket.py +1 -12
- pulumi_gcp/storage/outputs.py +0 -40
- pulumi_gcp/vertex/ai_deployment_resource_pool.py +2 -2
- pulumi_gcp/vmwareengine/_inputs.py +0 -440
- pulumi_gcp/vmwareengine/cluster.py +2 -100
- pulumi_gcp/vmwareengine/get_cluster.py +1 -12
- pulumi_gcp/vmwareengine/outputs.py +0 -615
- pulumi_gcp/workstations/_inputs.py +0 -54
- pulumi_gcp/workstations/outputs.py +0 -32
- pulumi_gcp/workstations/workstation_config.py +0 -205
- {pulumi_gcp-8.7.0.dist-info → pulumi_gcp-8.7.0a1729107581.dist-info}/METADATA +1 -1
- {pulumi_gcp-8.7.0.dist-info → pulumi_gcp-8.7.0a1729107581.dist-info}/RECORD +89 -111
- {pulumi_gcp-8.7.0.dist-info → pulumi_gcp-8.7.0a1729107581.dist-info}/WHEEL +1 -1
- pulumi_gcp/apigee/app_group.py +0 -811
- pulumi_gcp/apigee/developer.py +0 -757
- pulumi_gcp/networkconnectivity/group.py +0 -764
- pulumi_gcp/oracledatabase/__init__.py +0 -20
- pulumi_gcp/oracledatabase/_inputs.py +0 -4745
- pulumi_gcp/oracledatabase/autonomous_database.py +0 -983
- pulumi_gcp/oracledatabase/cloud_exadata_infrastructure.py +0 -842
- pulumi_gcp/oracledatabase/cloud_vm_cluster.py +0 -1086
- pulumi_gcp/oracledatabase/get_autonomous_database.py +0 -290
- pulumi_gcp/oracledatabase/get_autonomous_databases.py +0 -150
- pulumi_gcp/oracledatabase/get_cloud_exadata_infrastructure.py +0 -257
- pulumi_gcp/oracledatabase/get_cloud_exadata_infrastructures.py +0 -150
- pulumi_gcp/oracledatabase/get_cloud_vm_cluster.py +0 -290
- pulumi_gcp/oracledatabase/get_cloud_vm_clusters.py +0 -150
- pulumi_gcp/oracledatabase/get_db_nodes.py +0 -245
- pulumi_gcp/oracledatabase/get_db_servers.py +0 -245
- pulumi_gcp/oracledatabase/outputs.py +0 -9304
- pulumi_gcp/transcoder/__init__.py +0 -11
- pulumi_gcp/transcoder/_inputs.py +0 -3991
- pulumi_gcp/transcoder/job.py +0 -2134
- pulumi_gcp/transcoder/job_template.py +0 -1524
- pulumi_gcp/transcoder/outputs.py +0 -2918
- {pulumi_gcp-8.7.0.dist-info → pulumi_gcp-8.7.0a1729107581.dist-info}/top_level.txt +0 -0
@@ -181,29 +181,7 @@ def get_entitlement(entitlement_id: Optional[str] = None,
|
|
181
181
|
parent: Optional[str] = None,
|
182
182
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetEntitlementResult:
|
183
183
|
"""
|
184
|
-
Use this data source to
|
185
|
-
|
186
|
-
To get more information about Privileged Access Manager, see:
|
187
|
-
|
188
|
-
* [API Documentation](https://cloud.google.com/iam/docs/reference/pam/rest)
|
189
|
-
* How-to guides
|
190
|
-
* [Official documentation](https://cloud.google.com/iam/docs/pam-overview)
|
191
|
-
|
192
|
-
## Example Usage
|
193
|
-
|
194
|
-
```python
|
195
|
-
import pulumi
|
196
|
-
import pulumi_gcp as gcp
|
197
|
-
|
198
|
-
my_entitlement = gcp.privilegedaccessmanager.get_entitlement(parent="projects/my-project",
|
199
|
-
location="global",
|
200
|
-
entitlement_id="my-entitlement")
|
201
|
-
```
|
202
|
-
|
203
|
-
|
204
|
-
:param str entitlement_id: ID of the Entitlement resource. This is the last part of the Entitlement's full name which is of the format `{parent}/locations/{location}/entitlements/{entitlement_id}`.
|
205
|
-
:param str location: The region of the Entitlement resource.
|
206
|
-
:param str parent: The project or folder or organization that contains the resource. Format: projects/{project-id|project-number} or folders/{folder-number} or organizations/{organization-number}
|
184
|
+
Use this data source to access information about an existing resource.
|
207
185
|
"""
|
208
186
|
__args__ = dict()
|
209
187
|
__args__['entitlementId'] = entitlement_id
|
@@ -233,29 +211,7 @@ def get_entitlement_output(entitlement_id: Optional[pulumi.Input[Optional[str]]]
|
|
233
211
|
parent: Optional[pulumi.Input[Optional[str]]] = None,
|
234
212
|
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetEntitlementResult]:
|
235
213
|
"""
|
236
|
-
Use this data source to
|
237
|
-
|
238
|
-
To get more information about Privileged Access Manager, see:
|
239
|
-
|
240
|
-
* [API Documentation](https://cloud.google.com/iam/docs/reference/pam/rest)
|
241
|
-
* How-to guides
|
242
|
-
* [Official documentation](https://cloud.google.com/iam/docs/pam-overview)
|
243
|
-
|
244
|
-
## Example Usage
|
245
|
-
|
246
|
-
```python
|
247
|
-
import pulumi
|
248
|
-
import pulumi_gcp as gcp
|
249
|
-
|
250
|
-
my_entitlement = gcp.privilegedaccessmanager.get_entitlement(parent="projects/my-project",
|
251
|
-
location="global",
|
252
|
-
entitlement_id="my-entitlement")
|
253
|
-
```
|
254
|
-
|
255
|
-
|
256
|
-
:param str entitlement_id: ID of the Entitlement resource. This is the last part of the Entitlement's full name which is of the format `{parent}/locations/{location}/entitlements/{entitlement_id}`.
|
257
|
-
:param str location: The region of the Entitlement resource.
|
258
|
-
:param str parent: The project or folder or organization that contains the resource. Format: projects/{project-id|project-number} or folders/{folder-number} or organizations/{organization-number}
|
214
|
+
Use this data source to access information about an existing resource.
|
259
215
|
"""
|
260
216
|
__args__ = dict()
|
261
217
|
__args__['entitlementId'] = entitlement_id
|
pulumi_gcp/provider.py
CHANGED
@@ -142,7 +142,6 @@ class ProviderArgs:
|
|
142
142
|
network_security_custom_endpoint: Optional[pulumi.Input[str]] = None,
|
143
143
|
network_services_custom_endpoint: Optional[pulumi.Input[str]] = None,
|
144
144
|
notebooks_custom_endpoint: Optional[pulumi.Input[str]] = None,
|
145
|
-
oracle_database_custom_endpoint: Optional[pulumi.Input[str]] = None,
|
146
145
|
org_policy_custom_endpoint: Optional[pulumi.Input[str]] = None,
|
147
146
|
os_config_custom_endpoint: Optional[pulumi.Input[str]] = None,
|
148
147
|
os_login_custom_endpoint: Optional[pulumi.Input[str]] = None,
|
@@ -187,7 +186,6 @@ class ProviderArgs:
|
|
187
186
|
tags_location_custom_endpoint: Optional[pulumi.Input[str]] = None,
|
188
187
|
tpu_custom_endpoint: Optional[pulumi.Input[str]] = None,
|
189
188
|
tpu_v2_custom_endpoint: Optional[pulumi.Input[str]] = None,
|
190
|
-
transcoder_custom_endpoint: Optional[pulumi.Input[str]] = None,
|
191
189
|
universe_domain: Optional[pulumi.Input[str]] = None,
|
192
190
|
user_project_override: Optional[pulumi.Input[bool]] = None,
|
193
191
|
vertex_ai_custom_endpoint: Optional[pulumi.Input[str]] = None,
|
@@ -444,8 +442,6 @@ class ProviderArgs:
|
|
444
442
|
pulumi.set(__self__, "network_services_custom_endpoint", network_services_custom_endpoint)
|
445
443
|
if notebooks_custom_endpoint is not None:
|
446
444
|
pulumi.set(__self__, "notebooks_custom_endpoint", notebooks_custom_endpoint)
|
447
|
-
if oracle_database_custom_endpoint is not None:
|
448
|
-
pulumi.set(__self__, "oracle_database_custom_endpoint", oracle_database_custom_endpoint)
|
449
445
|
if org_policy_custom_endpoint is not None:
|
450
446
|
pulumi.set(__self__, "org_policy_custom_endpoint", org_policy_custom_endpoint)
|
451
447
|
if os_config_custom_endpoint is not None:
|
@@ -538,8 +534,6 @@ class ProviderArgs:
|
|
538
534
|
pulumi.set(__self__, "tpu_custom_endpoint", tpu_custom_endpoint)
|
539
535
|
if tpu_v2_custom_endpoint is not None:
|
540
536
|
pulumi.set(__self__, "tpu_v2_custom_endpoint", tpu_v2_custom_endpoint)
|
541
|
-
if transcoder_custom_endpoint is not None:
|
542
|
-
pulumi.set(__self__, "transcoder_custom_endpoint", transcoder_custom_endpoint)
|
543
537
|
if universe_domain is not None:
|
544
538
|
pulumi.set(__self__, "universe_domain", universe_domain)
|
545
539
|
if user_project_override is not None:
|
@@ -1659,15 +1653,6 @@ class ProviderArgs:
|
|
1659
1653
|
def notebooks_custom_endpoint(self, value: Optional[pulumi.Input[str]]):
|
1660
1654
|
pulumi.set(self, "notebooks_custom_endpoint", value)
|
1661
1655
|
|
1662
|
-
@property
|
1663
|
-
@pulumi.getter(name="oracleDatabaseCustomEndpoint")
|
1664
|
-
def oracle_database_custom_endpoint(self) -> Optional[pulumi.Input[str]]:
|
1665
|
-
return pulumi.get(self, "oracle_database_custom_endpoint")
|
1666
|
-
|
1667
|
-
@oracle_database_custom_endpoint.setter
|
1668
|
-
def oracle_database_custom_endpoint(self, value: Optional[pulumi.Input[str]]):
|
1669
|
-
pulumi.set(self, "oracle_database_custom_endpoint", value)
|
1670
|
-
|
1671
1656
|
@property
|
1672
1657
|
@pulumi.getter(name="orgPolicyCustomEndpoint")
|
1673
1658
|
def org_policy_custom_endpoint(self) -> Optional[pulumi.Input[str]]:
|
@@ -2064,15 +2049,6 @@ class ProviderArgs:
|
|
2064
2049
|
def tpu_v2_custom_endpoint(self, value: Optional[pulumi.Input[str]]):
|
2065
2050
|
pulumi.set(self, "tpu_v2_custom_endpoint", value)
|
2066
2051
|
|
2067
|
-
@property
|
2068
|
-
@pulumi.getter(name="transcoderCustomEndpoint")
|
2069
|
-
def transcoder_custom_endpoint(self) -> Optional[pulumi.Input[str]]:
|
2070
|
-
return pulumi.get(self, "transcoder_custom_endpoint")
|
2071
|
-
|
2072
|
-
@transcoder_custom_endpoint.setter
|
2073
|
-
def transcoder_custom_endpoint(self, value: Optional[pulumi.Input[str]]):
|
2074
|
-
pulumi.set(self, "transcoder_custom_endpoint", value)
|
2075
|
-
|
2076
2052
|
@property
|
2077
2053
|
@pulumi.getter(name="universeDomain")
|
2078
2054
|
def universe_domain(self) -> Optional[pulumi.Input[str]]:
|
@@ -2282,7 +2258,6 @@ class Provider(pulumi.ProviderResource):
|
|
2282
2258
|
network_security_custom_endpoint: Optional[pulumi.Input[str]] = None,
|
2283
2259
|
network_services_custom_endpoint: Optional[pulumi.Input[str]] = None,
|
2284
2260
|
notebooks_custom_endpoint: Optional[pulumi.Input[str]] = None,
|
2285
|
-
oracle_database_custom_endpoint: Optional[pulumi.Input[str]] = None,
|
2286
2261
|
org_policy_custom_endpoint: Optional[pulumi.Input[str]] = None,
|
2287
2262
|
os_config_custom_endpoint: Optional[pulumi.Input[str]] = None,
|
2288
2263
|
os_login_custom_endpoint: Optional[pulumi.Input[str]] = None,
|
@@ -2327,7 +2302,6 @@ class Provider(pulumi.ProviderResource):
|
|
2327
2302
|
tags_location_custom_endpoint: Optional[pulumi.Input[str]] = None,
|
2328
2303
|
tpu_custom_endpoint: Optional[pulumi.Input[str]] = None,
|
2329
2304
|
tpu_v2_custom_endpoint: Optional[pulumi.Input[str]] = None,
|
2330
|
-
transcoder_custom_endpoint: Optional[pulumi.Input[str]] = None,
|
2331
2305
|
universe_domain: Optional[pulumi.Input[str]] = None,
|
2332
2306
|
user_project_override: Optional[pulumi.Input[bool]] = None,
|
2333
2307
|
vertex_ai_custom_endpoint: Optional[pulumi.Input[str]] = None,
|
@@ -2496,7 +2470,6 @@ class Provider(pulumi.ProviderResource):
|
|
2496
2470
|
network_security_custom_endpoint: Optional[pulumi.Input[str]] = None,
|
2497
2471
|
network_services_custom_endpoint: Optional[pulumi.Input[str]] = None,
|
2498
2472
|
notebooks_custom_endpoint: Optional[pulumi.Input[str]] = None,
|
2499
|
-
oracle_database_custom_endpoint: Optional[pulumi.Input[str]] = None,
|
2500
2473
|
org_policy_custom_endpoint: Optional[pulumi.Input[str]] = None,
|
2501
2474
|
os_config_custom_endpoint: Optional[pulumi.Input[str]] = None,
|
2502
2475
|
os_login_custom_endpoint: Optional[pulumi.Input[str]] = None,
|
@@ -2541,7 +2514,6 @@ class Provider(pulumi.ProviderResource):
|
|
2541
2514
|
tags_location_custom_endpoint: Optional[pulumi.Input[str]] = None,
|
2542
2515
|
tpu_custom_endpoint: Optional[pulumi.Input[str]] = None,
|
2543
2516
|
tpu_v2_custom_endpoint: Optional[pulumi.Input[str]] = None,
|
2544
|
-
transcoder_custom_endpoint: Optional[pulumi.Input[str]] = None,
|
2545
2517
|
universe_domain: Optional[pulumi.Input[str]] = None,
|
2546
2518
|
user_project_override: Optional[pulumi.Input[bool]] = None,
|
2547
2519
|
vertex_ai_custom_endpoint: Optional[pulumi.Input[str]] = None,
|
@@ -2682,7 +2654,6 @@ class Provider(pulumi.ProviderResource):
|
|
2682
2654
|
__props__.__dict__["network_security_custom_endpoint"] = network_security_custom_endpoint
|
2683
2655
|
__props__.__dict__["network_services_custom_endpoint"] = network_services_custom_endpoint
|
2684
2656
|
__props__.__dict__["notebooks_custom_endpoint"] = notebooks_custom_endpoint
|
2685
|
-
__props__.__dict__["oracle_database_custom_endpoint"] = oracle_database_custom_endpoint
|
2686
2657
|
__props__.__dict__["org_policy_custom_endpoint"] = org_policy_custom_endpoint
|
2687
2658
|
__props__.__dict__["os_config_custom_endpoint"] = os_config_custom_endpoint
|
2688
2659
|
__props__.__dict__["os_login_custom_endpoint"] = os_login_custom_endpoint
|
@@ -2731,7 +2702,6 @@ class Provider(pulumi.ProviderResource):
|
|
2731
2702
|
__props__.__dict__["tags_location_custom_endpoint"] = tags_location_custom_endpoint
|
2732
2703
|
__props__.__dict__["tpu_custom_endpoint"] = tpu_custom_endpoint
|
2733
2704
|
__props__.__dict__["tpu_v2_custom_endpoint"] = tpu_v2_custom_endpoint
|
2734
|
-
__props__.__dict__["transcoder_custom_endpoint"] = transcoder_custom_endpoint
|
2735
2705
|
__props__.__dict__["universe_domain"] = universe_domain
|
2736
2706
|
__props__.__dict__["user_project_override"] = pulumi.Output.from_input(user_project_override).apply(pulumi.runtime.to_json) if user_project_override is not None else None
|
2737
2707
|
__props__.__dict__["vertex_ai_custom_endpoint"] = vertex_ai_custom_endpoint
|
@@ -3336,11 +3306,6 @@ class Provider(pulumi.ProviderResource):
|
|
3336
3306
|
def notebooks_custom_endpoint(self) -> pulumi.Output[Optional[str]]:
|
3337
3307
|
return pulumi.get(self, "notebooks_custom_endpoint")
|
3338
3308
|
|
3339
|
-
@property
|
3340
|
-
@pulumi.getter(name="oracleDatabaseCustomEndpoint")
|
3341
|
-
def oracle_database_custom_endpoint(self) -> pulumi.Output[Optional[str]]:
|
3342
|
-
return pulumi.get(self, "oracle_database_custom_endpoint")
|
3343
|
-
|
3344
3309
|
@property
|
3345
3310
|
@pulumi.getter(name="orgPolicyCustomEndpoint")
|
3346
3311
|
def org_policy_custom_endpoint(self) -> pulumi.Output[Optional[str]]:
|
@@ -3556,11 +3521,6 @@ class Provider(pulumi.ProviderResource):
|
|
3556
3521
|
def tpu_v2_custom_endpoint(self) -> pulumi.Output[Optional[str]]:
|
3557
3522
|
return pulumi.get(self, "tpu_v2_custom_endpoint")
|
3558
3523
|
|
3559
|
-
@property
|
3560
|
-
@pulumi.getter(name="transcoderCustomEndpoint")
|
3561
|
-
def transcoder_custom_endpoint(self) -> pulumi.Output[Optional[str]]:
|
3562
|
-
return pulumi.get(self, "transcoder_custom_endpoint")
|
3563
|
-
|
3564
3524
|
@property
|
3565
3525
|
@pulumi.getter(name="universeDomain")
|
3566
3526
|
def universe_domain(self) -> pulumi.Output[Optional[str]]:
|
pulumi_gcp/pulumi-plugin.json
CHANGED
@@ -27,7 +27,7 @@ class GetRegionalSecretVersionResult:
|
|
27
27
|
"""
|
28
28
|
A collection of values returned by getRegionalSecretVersion.
|
29
29
|
"""
|
30
|
-
def __init__(__self__, create_time=None, customer_managed_encryptions=None, destroy_time=None, enabled=None, id=None,
|
30
|
+
def __init__(__self__, create_time=None, customer_managed_encryptions=None, destroy_time=None, enabled=None, id=None, location=None, name=None, project=None, secret=None, secret_data=None, version=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)
|
@@ -43,9 +43,6 @@ class GetRegionalSecretVersionResult:
|
|
43
43
|
if id and not isinstance(id, str):
|
44
44
|
raise TypeError("Expected argument 'id' to be a str")
|
45
45
|
pulumi.set(__self__, "id", id)
|
46
|
-
if is_secret_data_base64 and not isinstance(is_secret_data_base64, bool):
|
47
|
-
raise TypeError("Expected argument 'is_secret_data_base64' to be a bool")
|
48
|
-
pulumi.set(__self__, "is_secret_data_base64", is_secret_data_base64)
|
49
46
|
if location and not isinstance(location, str):
|
50
47
|
raise TypeError("Expected argument 'location' to be a str")
|
51
48
|
pulumi.set(__self__, "location", location)
|
@@ -105,11 +102,6 @@ class GetRegionalSecretVersionResult:
|
|
105
102
|
"""
|
106
103
|
return pulumi.get(self, "id")
|
107
104
|
|
108
|
-
@property
|
109
|
-
@pulumi.getter(name="isSecretDataBase64")
|
110
|
-
def is_secret_data_base64(self) -> Optional[bool]:
|
111
|
-
return pulumi.get(self, "is_secret_data_base64")
|
112
|
-
|
113
105
|
@property
|
114
106
|
@pulumi.getter
|
115
107
|
def location(self) -> str:
|
@@ -159,7 +151,6 @@ class AwaitableGetRegionalSecretVersionResult(GetRegionalSecretVersionResult):
|
|
159
151
|
destroy_time=self.destroy_time,
|
160
152
|
enabled=self.enabled,
|
161
153
|
id=self.id,
|
162
|
-
is_secret_data_base64=self.is_secret_data_base64,
|
163
154
|
location=self.location,
|
164
155
|
name=self.name,
|
165
156
|
project=self.project,
|
@@ -168,14 +159,13 @@ class AwaitableGetRegionalSecretVersionResult(GetRegionalSecretVersionResult):
|
|
168
159
|
version=self.version)
|
169
160
|
|
170
161
|
|
171
|
-
def get_regional_secret_version(
|
172
|
-
location: Optional[str] = None,
|
162
|
+
def get_regional_secret_version(location: Optional[str] = None,
|
173
163
|
project: Optional[str] = None,
|
174
164
|
secret: Optional[str] = None,
|
175
165
|
version: Optional[str] = None,
|
176
166
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetRegionalSecretVersionResult:
|
177
167
|
"""
|
178
|
-
Get the value and metadata from a Secret Manager regional secret version. For more information see the [official documentation](https://cloud.google.com/secret-manager/docs/regional-secrets-overview) and [API](https://cloud.google.com/secret-manager/docs/reference/rest/v1/projects.
|
168
|
+
Get the value and metadata from a Secret Manager regional secret version. For more information see the [official documentation](https://cloud.google.com/secret-manager/docs/regional-secrets-overview) and [API](https://cloud.google.com/secret-manager/docs/reference/rest/v1/projects.secrets.versions). If you don't need the metadata (i.e., if you want to use a more limited role to access the regional secret version only), see also the secretmanager_get_regional_secret_version_access datasource.
|
179
169
|
|
180
170
|
## Example Usage
|
181
171
|
|
@@ -188,8 +178,6 @@ def get_regional_secret_version(is_secret_data_base64: Optional[bool] = None,
|
|
188
178
|
```
|
189
179
|
|
190
180
|
|
191
|
-
:param bool is_secret_data_base64: If set to 'true', the secret data is
|
192
|
-
expected to be base64-encoded string.
|
193
181
|
:param str location: Location of Secret Manager regional secret resource.
|
194
182
|
It must be provided when the `secret` field provided consists of only the name of the regional secret.
|
195
183
|
:param str project: The project to get the secret version for. If it
|
@@ -200,7 +188,6 @@ def get_regional_secret_version(is_secret_data_base64: Optional[bool] = None,
|
|
200
188
|
is not provided, the latest version is retrieved.
|
201
189
|
"""
|
202
190
|
__args__ = dict()
|
203
|
-
__args__['isSecretDataBase64'] = is_secret_data_base64
|
204
191
|
__args__['location'] = location
|
205
192
|
__args__['project'] = project
|
206
193
|
__args__['secret'] = secret
|
@@ -214,21 +201,19 @@ def get_regional_secret_version(is_secret_data_base64: Optional[bool] = None,
|
|
214
201
|
destroy_time=pulumi.get(__ret__, 'destroy_time'),
|
215
202
|
enabled=pulumi.get(__ret__, 'enabled'),
|
216
203
|
id=pulumi.get(__ret__, 'id'),
|
217
|
-
is_secret_data_base64=pulumi.get(__ret__, 'is_secret_data_base64'),
|
218
204
|
location=pulumi.get(__ret__, 'location'),
|
219
205
|
name=pulumi.get(__ret__, 'name'),
|
220
206
|
project=pulumi.get(__ret__, 'project'),
|
221
207
|
secret=pulumi.get(__ret__, 'secret'),
|
222
208
|
secret_data=pulumi.get(__ret__, 'secret_data'),
|
223
209
|
version=pulumi.get(__ret__, 'version'))
|
224
|
-
def get_regional_secret_version_output(
|
225
|
-
location: Optional[pulumi.Input[Optional[str]]] = None,
|
210
|
+
def get_regional_secret_version_output(location: Optional[pulumi.Input[Optional[str]]] = None,
|
226
211
|
project: Optional[pulumi.Input[Optional[str]]] = None,
|
227
212
|
secret: Optional[pulumi.Input[str]] = None,
|
228
213
|
version: Optional[pulumi.Input[Optional[str]]] = None,
|
229
214
|
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetRegionalSecretVersionResult]:
|
230
215
|
"""
|
231
|
-
Get the value and metadata from a Secret Manager regional secret version. For more information see the [official documentation](https://cloud.google.com/secret-manager/docs/regional-secrets-overview) and [API](https://cloud.google.com/secret-manager/docs/reference/rest/v1/projects.
|
216
|
+
Get the value and metadata from a Secret Manager regional secret version. For more information see the [official documentation](https://cloud.google.com/secret-manager/docs/regional-secrets-overview) and [API](https://cloud.google.com/secret-manager/docs/reference/rest/v1/projects.secrets.versions). If you don't need the metadata (i.e., if you want to use a more limited role to access the regional secret version only), see also the secretmanager_get_regional_secret_version_access datasource.
|
232
217
|
|
233
218
|
## Example Usage
|
234
219
|
|
@@ -241,8 +226,6 @@ def get_regional_secret_version_output(is_secret_data_base64: Optional[pulumi.In
|
|
241
226
|
```
|
242
227
|
|
243
228
|
|
244
|
-
:param bool is_secret_data_base64: If set to 'true', the secret data is
|
245
|
-
expected to be base64-encoded string.
|
246
229
|
:param str location: Location of Secret Manager regional secret resource.
|
247
230
|
It must be provided when the `secret` field provided consists of only the name of the regional secret.
|
248
231
|
:param str project: The project to get the secret version for. If it
|
@@ -253,7 +236,6 @@ def get_regional_secret_version_output(is_secret_data_base64: Optional[pulumi.In
|
|
253
236
|
is not provided, the latest version is retrieved.
|
254
237
|
"""
|
255
238
|
__args__ = dict()
|
256
|
-
__args__['isSecretDataBase64'] = is_secret_data_base64
|
257
239
|
__args__['location'] = location
|
258
240
|
__args__['project'] = project
|
259
241
|
__args__['secret'] = secret
|
@@ -266,7 +248,6 @@ def get_regional_secret_version_output(is_secret_data_base64: Optional[pulumi.In
|
|
266
248
|
destroy_time=pulumi.get(__response__, 'destroy_time'),
|
267
249
|
enabled=pulumi.get(__response__, 'enabled'),
|
268
250
|
id=pulumi.get(__response__, 'id'),
|
269
|
-
is_secret_data_base64=pulumi.get(__response__, 'is_secret_data_base64'),
|
270
251
|
location=pulumi.get(__response__, 'location'),
|
271
252
|
name=pulumi.get(__response__, 'name'),
|
272
253
|
project=pulumi.get(__response__, 'project'),
|
@@ -26,13 +26,10 @@ class GetRegionalSecretVersionAccessResult:
|
|
26
26
|
"""
|
27
27
|
A collection of values returned by getRegionalSecretVersionAccess.
|
28
28
|
"""
|
29
|
-
def __init__(__self__, id=None,
|
29
|
+
def __init__(__self__, id=None, location=None, name=None, project=None, secret=None, secret_data=None, version=None):
|
30
30
|
if id and not isinstance(id, str):
|
31
31
|
raise TypeError("Expected argument 'id' to be a str")
|
32
32
|
pulumi.set(__self__, "id", id)
|
33
|
-
if is_secret_data_base64 and not isinstance(is_secret_data_base64, bool):
|
34
|
-
raise TypeError("Expected argument 'is_secret_data_base64' to be a bool")
|
35
|
-
pulumi.set(__self__, "is_secret_data_base64", is_secret_data_base64)
|
36
33
|
if location and not isinstance(location, str):
|
37
34
|
raise TypeError("Expected argument 'location' to be a str")
|
38
35
|
pulumi.set(__self__, "location", location)
|
@@ -60,11 +57,6 @@ class GetRegionalSecretVersionAccessResult:
|
|
60
57
|
"""
|
61
58
|
return pulumi.get(self, "id")
|
62
59
|
|
63
|
-
@property
|
64
|
-
@pulumi.getter(name="isSecretDataBase64")
|
65
|
-
def is_secret_data_base64(self) -> Optional[bool]:
|
66
|
-
return pulumi.get(self, "is_secret_data_base64")
|
67
|
-
|
68
60
|
@property
|
69
61
|
@pulumi.getter
|
70
62
|
def location(self) -> str:
|
@@ -110,7 +102,6 @@ class AwaitableGetRegionalSecretVersionAccessResult(GetRegionalSecretVersionAcce
|
|
110
102
|
yield self
|
111
103
|
return GetRegionalSecretVersionAccessResult(
|
112
104
|
id=self.id,
|
113
|
-
is_secret_data_base64=self.is_secret_data_base64,
|
114
105
|
location=self.location,
|
115
106
|
name=self.name,
|
116
107
|
project=self.project,
|
@@ -119,14 +110,13 @@ class AwaitableGetRegionalSecretVersionAccessResult(GetRegionalSecretVersionAcce
|
|
119
110
|
version=self.version)
|
120
111
|
|
121
112
|
|
122
|
-
def get_regional_secret_version_access(
|
123
|
-
location: Optional[str] = None,
|
113
|
+
def get_regional_secret_version_access(location: Optional[str] = None,
|
124
114
|
project: Optional[str] = None,
|
125
115
|
secret: Optional[str] = None,
|
126
116
|
version: Optional[str] = None,
|
127
117
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetRegionalSecretVersionAccessResult:
|
128
118
|
"""
|
129
|
-
Get the value from a Secret Manager regional secret version. This is similar to the secretmanager.RegionalSecretVersion datasource, but it only requires 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/docs/regional-secrets-overview) and [API](https://cloud.google.com/secret-manager/docs/reference/rest/v1/projects.
|
119
|
+
Get the value from a Secret Manager regional secret version. This is similar to the secretmanager.RegionalSecretVersion datasource, but it only requires 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/docs/regional-secrets-overview) and [API](https://cloud.google.com/secret-manager/docs/reference/rest/v1/projects.secrets.versions/access).
|
130
120
|
|
131
121
|
## Example Usage
|
132
122
|
|
@@ -139,8 +129,6 @@ def get_regional_secret_version_access(is_secret_data_base64: Optional[bool] = N
|
|
139
129
|
```
|
140
130
|
|
141
131
|
|
142
|
-
:param bool is_secret_data_base64: If set to 'true', the secret data is
|
143
|
-
expected to be base64-encoded string.
|
144
132
|
:param str location: Location of Secret Manager regional secret resource.
|
145
133
|
It must be provided when the `secret` field provided consists of only the name of the regional secret.
|
146
134
|
:param str project: The project to get the secret version for. If it
|
@@ -151,7 +139,6 @@ def get_regional_secret_version_access(is_secret_data_base64: Optional[bool] = N
|
|
151
139
|
is not provided, the latest version is retrieved.
|
152
140
|
"""
|
153
141
|
__args__ = dict()
|
154
|
-
__args__['isSecretDataBase64'] = is_secret_data_base64
|
155
142
|
__args__['location'] = location
|
156
143
|
__args__['project'] = project
|
157
144
|
__args__['secret'] = secret
|
@@ -161,21 +148,19 @@ def get_regional_secret_version_access(is_secret_data_base64: Optional[bool] = N
|
|
161
148
|
|
162
149
|
return AwaitableGetRegionalSecretVersionAccessResult(
|
163
150
|
id=pulumi.get(__ret__, 'id'),
|
164
|
-
is_secret_data_base64=pulumi.get(__ret__, 'is_secret_data_base64'),
|
165
151
|
location=pulumi.get(__ret__, 'location'),
|
166
152
|
name=pulumi.get(__ret__, 'name'),
|
167
153
|
project=pulumi.get(__ret__, 'project'),
|
168
154
|
secret=pulumi.get(__ret__, 'secret'),
|
169
155
|
secret_data=pulumi.get(__ret__, 'secret_data'),
|
170
156
|
version=pulumi.get(__ret__, 'version'))
|
171
|
-
def get_regional_secret_version_access_output(
|
172
|
-
location: Optional[pulumi.Input[Optional[str]]] = None,
|
157
|
+
def get_regional_secret_version_access_output(location: Optional[pulumi.Input[Optional[str]]] = None,
|
173
158
|
project: Optional[pulumi.Input[Optional[str]]] = None,
|
174
159
|
secret: Optional[pulumi.Input[str]] = None,
|
175
160
|
version: Optional[pulumi.Input[Optional[str]]] = None,
|
176
161
|
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetRegionalSecretVersionAccessResult]:
|
177
162
|
"""
|
178
|
-
Get the value from a Secret Manager regional secret version. This is similar to the secretmanager.RegionalSecretVersion datasource, but it only requires 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/docs/regional-secrets-overview) and [API](https://cloud.google.com/secret-manager/docs/reference/rest/v1/projects.
|
163
|
+
Get the value from a Secret Manager regional secret version. This is similar to the secretmanager.RegionalSecretVersion datasource, but it only requires 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/docs/regional-secrets-overview) and [API](https://cloud.google.com/secret-manager/docs/reference/rest/v1/projects.secrets.versions/access).
|
179
164
|
|
180
165
|
## Example Usage
|
181
166
|
|
@@ -188,8 +173,6 @@ def get_regional_secret_version_access_output(is_secret_data_base64: Optional[pu
|
|
188
173
|
```
|
189
174
|
|
190
175
|
|
191
|
-
:param bool is_secret_data_base64: If set to 'true', the secret data is
|
192
|
-
expected to be base64-encoded string.
|
193
176
|
:param str location: Location of Secret Manager regional secret resource.
|
194
177
|
It must be provided when the `secret` field provided consists of only the name of the regional secret.
|
195
178
|
:param str project: The project to get the secret version for. If it
|
@@ -200,7 +183,6 @@ def get_regional_secret_version_access_output(is_secret_data_base64: Optional[pu
|
|
200
183
|
is not provided, the latest version is retrieved.
|
201
184
|
"""
|
202
185
|
__args__ = dict()
|
203
|
-
__args__['isSecretDataBase64'] = is_secret_data_base64
|
204
186
|
__args__['location'] = location
|
205
187
|
__args__['project'] = project
|
206
188
|
__args__['secret'] = secret
|
@@ -209,7 +191,6 @@ def get_regional_secret_version_access_output(is_secret_data_base64: Optional[pu
|
|
209
191
|
__ret__ = pulumi.runtime.invoke_output('gcp:secretmanager/getRegionalSecretVersionAccess:getRegionalSecretVersionAccess', __args__, opts=opts, typ=GetRegionalSecretVersionAccessResult)
|
210
192
|
return __ret__.apply(lambda __response__: GetRegionalSecretVersionAccessResult(
|
211
193
|
id=pulumi.get(__response__, 'id'),
|
212
|
-
is_secret_data_base64=pulumi.get(__response__, 'is_secret_data_base64'),
|
213
194
|
location=pulumi.get(__response__, 'location'),
|
214
195
|
name=pulumi.get(__response__, 'name'),
|
215
196
|
project=pulumi.get(__response__, 'project'),
|
@@ -26,7 +26,7 @@ class GetSecretVersionResult:
|
|
26
26
|
"""
|
27
27
|
A collection of values returned by getSecretVersion.
|
28
28
|
"""
|
29
|
-
def __init__(__self__, create_time=None, destroy_time=None, enabled=None, id=None,
|
29
|
+
def __init__(__self__, create_time=None, destroy_time=None, enabled=None, id=None, name=None, project=None, secret=None, secret_data=None, version=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)
|
@@ -39,9 +39,6 @@ class GetSecretVersionResult:
|
|
39
39
|
if id and not isinstance(id, str):
|
40
40
|
raise TypeError("Expected argument 'id' to be a str")
|
41
41
|
pulumi.set(__self__, "id", id)
|
42
|
-
if is_secret_data_base64 and not isinstance(is_secret_data_base64, bool):
|
43
|
-
raise TypeError("Expected argument 'is_secret_data_base64' to be a bool")
|
44
|
-
pulumi.set(__self__, "is_secret_data_base64", is_secret_data_base64)
|
45
42
|
if name and not isinstance(name, str):
|
46
43
|
raise TypeError("Expected argument 'name' to be a str")
|
47
44
|
pulumi.set(__self__, "name", name)
|
@@ -90,11 +87,6 @@ class GetSecretVersionResult:
|
|
90
87
|
"""
|
91
88
|
return pulumi.get(self, "id")
|
92
89
|
|
93
|
-
@property
|
94
|
-
@pulumi.getter(name="isSecretDataBase64")
|
95
|
-
def is_secret_data_base64(self) -> Optional[bool]:
|
96
|
-
return pulumi.get(self, "is_secret_data_base64")
|
97
|
-
|
98
90
|
@property
|
99
91
|
@pulumi.getter
|
100
92
|
def name(self) -> str:
|
@@ -138,7 +130,6 @@ class AwaitableGetSecretVersionResult(GetSecretVersionResult):
|
|
138
130
|
destroy_time=self.destroy_time,
|
139
131
|
enabled=self.enabled,
|
140
132
|
id=self.id,
|
141
|
-
is_secret_data_base64=self.is_secret_data_base64,
|
142
133
|
name=self.name,
|
143
134
|
project=self.project,
|
144
135
|
secret=self.secret,
|
@@ -146,8 +137,7 @@ class AwaitableGetSecretVersionResult(GetSecretVersionResult):
|
|
146
137
|
version=self.version)
|
147
138
|
|
148
139
|
|
149
|
-
def get_secret_version(
|
150
|
-
project: Optional[str] = None,
|
140
|
+
def get_secret_version(project: Optional[str] = None,
|
151
141
|
secret: Optional[str] = None,
|
152
142
|
version: Optional[str] = None,
|
153
143
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetSecretVersionResult:
|
@@ -164,8 +154,6 @@ def get_secret_version(is_secret_data_base64: Optional[bool] = None,
|
|
164
154
|
```
|
165
155
|
|
166
156
|
|
167
|
-
:param bool is_secret_data_base64: If set to 'true', the secret data is
|
168
|
-
expected to be base64-encoded string.
|
169
157
|
:param str project: The project to get the secret version for. If it
|
170
158
|
is not provided, the provider project is used.
|
171
159
|
:param str secret: The secret to get the secret version for.
|
@@ -173,7 +161,6 @@ def get_secret_version(is_secret_data_base64: Optional[bool] = None,
|
|
173
161
|
is not provided, the latest version is retrieved.
|
174
162
|
"""
|
175
163
|
__args__ = dict()
|
176
|
-
__args__['isSecretDataBase64'] = is_secret_data_base64
|
177
164
|
__args__['project'] = project
|
178
165
|
__args__['secret'] = secret
|
179
166
|
__args__['version'] = version
|
@@ -185,14 +172,12 @@ def get_secret_version(is_secret_data_base64: Optional[bool] = None,
|
|
185
172
|
destroy_time=pulumi.get(__ret__, 'destroy_time'),
|
186
173
|
enabled=pulumi.get(__ret__, 'enabled'),
|
187
174
|
id=pulumi.get(__ret__, 'id'),
|
188
|
-
is_secret_data_base64=pulumi.get(__ret__, 'is_secret_data_base64'),
|
189
175
|
name=pulumi.get(__ret__, 'name'),
|
190
176
|
project=pulumi.get(__ret__, 'project'),
|
191
177
|
secret=pulumi.get(__ret__, 'secret'),
|
192
178
|
secret_data=pulumi.get(__ret__, 'secret_data'),
|
193
179
|
version=pulumi.get(__ret__, 'version'))
|
194
|
-
def get_secret_version_output(
|
195
|
-
project: Optional[pulumi.Input[Optional[str]]] = None,
|
180
|
+
def get_secret_version_output(project: Optional[pulumi.Input[Optional[str]]] = None,
|
196
181
|
secret: Optional[pulumi.Input[str]] = None,
|
197
182
|
version: Optional[pulumi.Input[Optional[str]]] = None,
|
198
183
|
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetSecretVersionResult]:
|
@@ -209,8 +194,6 @@ def get_secret_version_output(is_secret_data_base64: Optional[pulumi.Input[Optio
|
|
209
194
|
```
|
210
195
|
|
211
196
|
|
212
|
-
:param bool is_secret_data_base64: If set to 'true', the secret data is
|
213
|
-
expected to be base64-encoded string.
|
214
197
|
:param str project: The project to get the secret version for. If it
|
215
198
|
is not provided, the provider project is used.
|
216
199
|
:param str secret: The secret to get the secret version for.
|
@@ -218,7 +201,6 @@ def get_secret_version_output(is_secret_data_base64: Optional[pulumi.Input[Optio
|
|
218
201
|
is not provided, the latest version is retrieved.
|
219
202
|
"""
|
220
203
|
__args__ = dict()
|
221
|
-
__args__['isSecretDataBase64'] = is_secret_data_base64
|
222
204
|
__args__['project'] = project
|
223
205
|
__args__['secret'] = secret
|
224
206
|
__args__['version'] = version
|
@@ -229,7 +211,6 @@ def get_secret_version_output(is_secret_data_base64: Optional[pulumi.Input[Optio
|
|
229
211
|
destroy_time=pulumi.get(__response__, 'destroy_time'),
|
230
212
|
enabled=pulumi.get(__response__, 'enabled'),
|
231
213
|
id=pulumi.get(__response__, 'id'),
|
232
|
-
is_secret_data_base64=pulumi.get(__response__, 'is_secret_data_base64'),
|
233
214
|
name=pulumi.get(__response__, 'name'),
|
234
215
|
project=pulumi.get(__response__, 'project'),
|
235
216
|
secret=pulumi.get(__response__, 'secret'),
|
@@ -26,13 +26,10 @@ class GetSecretVersionAccessResult:
|
|
26
26
|
"""
|
27
27
|
A collection of values returned by getSecretVersionAccess.
|
28
28
|
"""
|
29
|
-
def __init__(__self__, id=None,
|
29
|
+
def __init__(__self__, id=None, name=None, project=None, secret=None, secret_data=None, version=None):
|
30
30
|
if id and not isinstance(id, str):
|
31
31
|
raise TypeError("Expected argument 'id' to be a str")
|
32
32
|
pulumi.set(__self__, "id", id)
|
33
|
-
if is_secret_data_base64 and not isinstance(is_secret_data_base64, bool):
|
34
|
-
raise TypeError("Expected argument 'is_secret_data_base64' to be a bool")
|
35
|
-
pulumi.set(__self__, "is_secret_data_base64", is_secret_data_base64)
|
36
33
|
if name and not isinstance(name, str):
|
37
34
|
raise TypeError("Expected argument 'name' to be a str")
|
38
35
|
pulumi.set(__self__, "name", name)
|
@@ -57,11 +54,6 @@ class GetSecretVersionAccessResult:
|
|
57
54
|
"""
|
58
55
|
return pulumi.get(self, "id")
|
59
56
|
|
60
|
-
@property
|
61
|
-
@pulumi.getter(name="isSecretDataBase64")
|
62
|
-
def is_secret_data_base64(self) -> Optional[bool]:
|
63
|
-
return pulumi.get(self, "is_secret_data_base64")
|
64
|
-
|
65
57
|
@property
|
66
58
|
@pulumi.getter
|
67
59
|
def name(self) -> str:
|
@@ -102,7 +94,6 @@ class AwaitableGetSecretVersionAccessResult(GetSecretVersionAccessResult):
|
|
102
94
|
yield self
|
103
95
|
return GetSecretVersionAccessResult(
|
104
96
|
id=self.id,
|
105
|
-
is_secret_data_base64=self.is_secret_data_base64,
|
106
97
|
name=self.name,
|
107
98
|
project=self.project,
|
108
99
|
secret=self.secret,
|
@@ -110,8 +101,7 @@ class AwaitableGetSecretVersionAccessResult(GetSecretVersionAccessResult):
|
|
110
101
|
version=self.version)
|
111
102
|
|
112
103
|
|
113
|
-
def get_secret_version_access(
|
114
|
-
project: Optional[str] = None,
|
104
|
+
def get_secret_version_access(project: Optional[str] = None,
|
115
105
|
secret: Optional[str] = None,
|
116
106
|
version: Optional[str] = None,
|
117
107
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetSecretVersionAccessResult:
|
@@ -128,8 +118,6 @@ def get_secret_version_access(is_secret_data_base64: Optional[bool] = None,
|
|
128
118
|
```
|
129
119
|
|
130
120
|
|
131
|
-
:param bool is_secret_data_base64: If set to 'true', the secret data is
|
132
|
-
expected to be base64-encoded string.
|
133
121
|
:param str project: The project to get the secret version for. If it
|
134
122
|
is not provided, the provider project is used.
|
135
123
|
:param str secret: The secret to get the secret version for.
|
@@ -137,7 +125,6 @@ def get_secret_version_access(is_secret_data_base64: Optional[bool] = None,
|
|
137
125
|
is not provided, the latest version is retrieved.
|
138
126
|
"""
|
139
127
|
__args__ = dict()
|
140
|
-
__args__['isSecretDataBase64'] = is_secret_data_base64
|
141
128
|
__args__['project'] = project
|
142
129
|
__args__['secret'] = secret
|
143
130
|
__args__['version'] = version
|
@@ -146,14 +133,12 @@ def get_secret_version_access(is_secret_data_base64: Optional[bool] = None,
|
|
146
133
|
|
147
134
|
return AwaitableGetSecretVersionAccessResult(
|
148
135
|
id=pulumi.get(__ret__, 'id'),
|
149
|
-
is_secret_data_base64=pulumi.get(__ret__, 'is_secret_data_base64'),
|
150
136
|
name=pulumi.get(__ret__, 'name'),
|
151
137
|
project=pulumi.get(__ret__, 'project'),
|
152
138
|
secret=pulumi.get(__ret__, 'secret'),
|
153
139
|
secret_data=pulumi.get(__ret__, 'secret_data'),
|
154
140
|
version=pulumi.get(__ret__, 'version'))
|
155
|
-
def get_secret_version_access_output(
|
156
|
-
project: Optional[pulumi.Input[Optional[str]]] = None,
|
141
|
+
def get_secret_version_access_output(project: Optional[pulumi.Input[Optional[str]]] = None,
|
157
142
|
secret: Optional[pulumi.Input[str]] = None,
|
158
143
|
version: Optional[pulumi.Input[Optional[str]]] = None,
|
159
144
|
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetSecretVersionAccessResult]:
|
@@ -170,8 +155,6 @@ def get_secret_version_access_output(is_secret_data_base64: Optional[pulumi.Inpu
|
|
170
155
|
```
|
171
156
|
|
172
157
|
|
173
|
-
:param bool is_secret_data_base64: If set to 'true', the secret data is
|
174
|
-
expected to be base64-encoded string.
|
175
158
|
:param str project: The project to get the secret version for. If it
|
176
159
|
is not provided, the provider project is used.
|
177
160
|
:param str secret: The secret to get the secret version for.
|
@@ -179,7 +162,6 @@ def get_secret_version_access_output(is_secret_data_base64: Optional[pulumi.Inpu
|
|
179
162
|
is not provided, the latest version is retrieved.
|
180
163
|
"""
|
181
164
|
__args__ = dict()
|
182
|
-
__args__['isSecretDataBase64'] = is_secret_data_base64
|
183
165
|
__args__['project'] = project
|
184
166
|
__args__['secret'] = secret
|
185
167
|
__args__['version'] = version
|
@@ -187,7 +169,6 @@ def get_secret_version_access_output(is_secret_data_base64: Optional[pulumi.Inpu
|
|
187
169
|
__ret__ = pulumi.runtime.invoke_output('gcp:secretmanager/getSecretVersionAccess:getSecretVersionAccess', __args__, opts=opts, typ=GetSecretVersionAccessResult)
|
188
170
|
return __ret__.apply(lambda __response__: GetSecretVersionAccessResult(
|
189
171
|
id=pulumi.get(__response__, 'id'),
|
190
|
-
is_secret_data_base64=pulumi.get(__response__, 'is_secret_data_base64'),
|
191
172
|
name=pulumi.get(__response__, 'name'),
|
192
173
|
project=pulumi.get(__response__, 'project'),
|
193
174
|
secret=pulumi.get(__response__, 'secret'),
|