pulumi-gcp 8.6.0a1728595713__py3-none-any.whl → 8.7.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 +78 -0
- pulumi_gcp/accesscontextmanager/service_perimeter.py +2 -0
- pulumi_gcp/accesscontextmanager/service_perimeter_dry_run_egress_policy.py +4 -0
- pulumi_gcp/accesscontextmanager/service_perimeter_dry_run_ingress_policy.py +4 -0
- pulumi_gcp/accesscontextmanager/service_perimeter_egress_policy.py +4 -0
- pulumi_gcp/accesscontextmanager/service_perimeter_ingress_policy.py +4 -0
- pulumi_gcp/accesscontextmanager/service_perimeters.py +2 -0
- pulumi_gcp/apigee/__init__.py +2 -0
- pulumi_gcp/apigee/_inputs.py +108 -0
- pulumi_gcp/apigee/app_group.py +811 -0
- pulumi_gcp/apigee/developer.py +757 -0
- pulumi_gcp/apigee/outputs.py +64 -0
- pulumi_gcp/artifactregistry/get_docker_image.py +40 -0
- pulumi_gcp/bigquery/connection.py +12 -12
- pulumi_gcp/bigquery/job.py +6 -6
- pulumi_gcp/bigtable/_inputs.py +58 -0
- pulumi_gcp/bigtable/instance_iam_binding.py +13 -34
- pulumi_gcp/bigtable/instance_iam_member.py +13 -34
- pulumi_gcp/bigtable/instance_iam_policy.py +0 -47
- pulumi_gcp/bigtable/outputs.py +36 -0
- pulumi_gcp/cloudrunv2/get_service.py +12 -1
- pulumi_gcp/cloudrunv2/service.py +92 -0
- pulumi_gcp/compute/_inputs.py +217 -119
- pulumi_gcp/compute/backend_service.py +76 -0
- pulumi_gcp/compute/get_backend_service.py +12 -1
- pulumi_gcp/compute/get_instance.py +29 -1
- pulumi_gcp/compute/get_instance_template.py +29 -1
- pulumi_gcp/compute/get_region_instance_group_manager.py +0 -18
- pulumi_gcp/compute/get_region_instance_template.py +29 -1
- pulumi_gcp/compute/instance.py +89 -0
- pulumi_gcp/compute/instance_from_machine_image.py +82 -0
- pulumi_gcp/compute/instance_from_template.py +82 -0
- pulumi_gcp/compute/instance_template.py +75 -0
- pulumi_gcp/compute/network_firewall_policy_association.py +76 -50
- pulumi_gcp/compute/network_firewall_policy_rule.py +149 -103
- pulumi_gcp/compute/outputs.py +172 -82
- pulumi_gcp/compute/region_backend_service.py +94 -0
- pulumi_gcp/compute/region_instance_template.py +75 -0
- pulumi_gcp/compute/region_network_endpoint_group.py +6 -4
- pulumi_gcp/compute/region_network_firewall_policy_association.py +104 -54
- pulumi_gcp/compute/region_network_firewall_policy_rule.py +160 -107
- pulumi_gcp/config/__init__.pyi +4 -0
- pulumi_gcp/config/vars.py +8 -0
- pulumi_gcp/container/_inputs.py +12 -0
- pulumi_gcp/container/attached_cluster.py +9 -6
- pulumi_gcp/container/outputs.py +10 -2
- pulumi_gcp/datastream/stream.py +2 -2
- pulumi_gcp/diagflow/_inputs.py +472 -2
- pulumi_gcp/diagflow/cx_agent.py +64 -4
- pulumi_gcp/diagflow/cx_flow.py +30 -0
- pulumi_gcp/diagflow/outputs.py +378 -2
- pulumi_gcp/discoveryengine/_inputs.py +32 -5
- pulumi_gcp/discoveryengine/chat_engine.py +64 -0
- pulumi_gcp/discoveryengine/outputs.py +22 -3
- pulumi_gcp/gkehub/feature.py +2 -4
- pulumi_gcp/iam/workload_identity_pool_provider.py +56 -0
- pulumi_gcp/kms/key_handle.py +8 -8
- pulumi_gcp/looker/instance.py +104 -2
- pulumi_gcp/monitoring/_inputs.py +23 -0
- pulumi_gcp/monitoring/get_secret_version.py +22 -3
- pulumi_gcp/monitoring/outputs.py +16 -0
- pulumi_gcp/netapp/backup_vault.py +2 -2
- pulumi_gcp/networkconnectivity/__init__.py +1 -0
- pulumi_gcp/networkconnectivity/_inputs.py +218 -0
- pulumi_gcp/networkconnectivity/group.py +764 -0
- pulumi_gcp/networkconnectivity/internal_range.py +117 -7
- pulumi_gcp/networkconnectivity/outputs.py +167 -0
- pulumi_gcp/networkconnectivity/spoke.py +144 -0
- pulumi_gcp/networksecurity/server_tls_policy.py +2 -2
- pulumi_gcp/networkservices/gateway.py +54 -0
- pulumi_gcp/oracledatabase/__init__.py +20 -0
- pulumi_gcp/oracledatabase/_inputs.py +4745 -0
- pulumi_gcp/oracledatabase/autonomous_database.py +983 -0
- pulumi_gcp/oracledatabase/cloud_exadata_infrastructure.py +842 -0
- pulumi_gcp/oracledatabase/cloud_vm_cluster.py +1086 -0
- pulumi_gcp/oracledatabase/get_autonomous_database.py +290 -0
- pulumi_gcp/oracledatabase/get_autonomous_databases.py +150 -0
- pulumi_gcp/oracledatabase/get_cloud_exadata_infrastructure.py +257 -0
- pulumi_gcp/oracledatabase/get_cloud_exadata_infrastructures.py +150 -0
- pulumi_gcp/oracledatabase/get_cloud_vm_cluster.py +290 -0
- pulumi_gcp/oracledatabase/get_cloud_vm_clusters.py +150 -0
- pulumi_gcp/oracledatabase/get_db_nodes.py +245 -0
- pulumi_gcp/oracledatabase/get_db_servers.py +245 -0
- pulumi_gcp/oracledatabase/outputs.py +9304 -0
- 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 +46 -2
- pulumi_gcp/provider.py +40 -0
- pulumi_gcp/pulumi-plugin.json +1 -1
- pulumi_gcp/secretmanager/get_regional_secret_version.py +24 -5
- pulumi_gcp/secretmanager/get_regional_secret_version_access.py +24 -5
- pulumi_gcp/secretmanager/get_secret_version.py +22 -3
- pulumi_gcp/secretmanager/get_secret_version_access.py +22 -3
- pulumi_gcp/secretmanager/outputs.py +2 -10
- pulumi_gcp/secretmanager/regional_secret.py +2 -2
- pulumi_gcp/securesourcemanager/__init__.py +1 -0
- pulumi_gcp/securesourcemanager/branch_rule.py +975 -0
- pulumi_gcp/siteverification/get_token.py +0 -16
- pulumi_gcp/siteverification/owner.py +0 -16
- pulumi_gcp/spanner/_inputs.py +29 -5
- pulumi_gcp/spanner/backup_schedule.py +4 -2
- pulumi_gcp/spanner/outputs.py +20 -3
- pulumi_gcp/sql/_inputs.py +6 -6
- pulumi_gcp/sql/outputs.py +4 -4
- pulumi_gcp/sql/user.py +28 -21
- pulumi_gcp/storage/_inputs.py +36 -0
- pulumi_gcp/storage/bucket.py +47 -0
- pulumi_gcp/storage/get_bucket.py +12 -1
- pulumi_gcp/storage/outputs.py +40 -0
- pulumi_gcp/transcoder/__init__.py +11 -0
- pulumi_gcp/transcoder/_inputs.py +3991 -0
- pulumi_gcp/transcoder/job.py +2134 -0
- pulumi_gcp/transcoder/job_template.py +1524 -0
- pulumi_gcp/transcoder/outputs.py +2918 -0
- pulumi_gcp/vertex/ai_deployment_resource_pool.py +2 -2
- pulumi_gcp/vmwareengine/_inputs.py +440 -0
- pulumi_gcp/vmwareengine/cluster.py +100 -2
- pulumi_gcp/vmwareengine/get_cluster.py +12 -1
- pulumi_gcp/vmwareengine/outputs.py +615 -0
- pulumi_gcp/workstations/_inputs.py +54 -0
- pulumi_gcp/workstations/outputs.py +32 -0
- pulumi_gcp/workstations/workstation_config.py +205 -0
- {pulumi_gcp-8.6.0a1728595713.dist-info → pulumi_gcp-8.7.0.dist-info}/METADATA +1 -1
- {pulumi_gcp-8.6.0a1728595713.dist-info → pulumi_gcp-8.7.0.dist-info}/RECORD +128 -105
- {pulumi_gcp-8.6.0a1728595713.dist-info → pulumi_gcp-8.7.0.dist-info}/WHEEL +1 -1
- {pulumi_gcp-8.6.0a1728595713.dist-info → pulumi_gcp-8.7.0.dist-info}/top_level.txt +0 -0
@@ -26,10 +26,13 @@ class GetRegionalSecretVersionAccessResult:
|
|
26
26
|
"""
|
27
27
|
A collection of values returned by getRegionalSecretVersionAccess.
|
28
28
|
"""
|
29
|
-
def __init__(__self__, id=None, location=None, name=None, project=None, secret=None, secret_data=None, version=None):
|
29
|
+
def __init__(__self__, id=None, is_secret_data_base64=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)
|
33
36
|
if location and not isinstance(location, str):
|
34
37
|
raise TypeError("Expected argument 'location' to be a str")
|
35
38
|
pulumi.set(__self__, "location", location)
|
@@ -57,6 +60,11 @@ class GetRegionalSecretVersionAccessResult:
|
|
57
60
|
"""
|
58
61
|
return pulumi.get(self, "id")
|
59
62
|
|
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
|
+
|
60
68
|
@property
|
61
69
|
@pulumi.getter
|
62
70
|
def location(self) -> str:
|
@@ -102,6 +110,7 @@ class AwaitableGetRegionalSecretVersionAccessResult(GetRegionalSecretVersionAcce
|
|
102
110
|
yield self
|
103
111
|
return GetRegionalSecretVersionAccessResult(
|
104
112
|
id=self.id,
|
113
|
+
is_secret_data_base64=self.is_secret_data_base64,
|
105
114
|
location=self.location,
|
106
115
|
name=self.name,
|
107
116
|
project=self.project,
|
@@ -110,13 +119,14 @@ class AwaitableGetRegionalSecretVersionAccessResult(GetRegionalSecretVersionAcce
|
|
110
119
|
version=self.version)
|
111
120
|
|
112
121
|
|
113
|
-
def get_regional_secret_version_access(
|
122
|
+
def get_regional_secret_version_access(is_secret_data_base64: Optional[bool] = None,
|
123
|
+
location: Optional[str] = None,
|
114
124
|
project: Optional[str] = None,
|
115
125
|
secret: Optional[str] = None,
|
116
126
|
version: Optional[str] = None,
|
117
127
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetRegionalSecretVersionAccessResult:
|
118
128
|
"""
|
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).
|
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.locations.secrets.versions/access).
|
120
130
|
|
121
131
|
## Example Usage
|
122
132
|
|
@@ -129,6 +139,8 @@ def get_regional_secret_version_access(location: Optional[str] = None,
|
|
129
139
|
```
|
130
140
|
|
131
141
|
|
142
|
+
:param bool is_secret_data_base64: If set to 'true', the secret data is
|
143
|
+
expected to be base64-encoded string.
|
132
144
|
:param str location: Location of Secret Manager regional secret resource.
|
133
145
|
It must be provided when the `secret` field provided consists of only the name of the regional secret.
|
134
146
|
:param str project: The project to get the secret version for. If it
|
@@ -139,6 +151,7 @@ def get_regional_secret_version_access(location: Optional[str] = None,
|
|
139
151
|
is not provided, the latest version is retrieved.
|
140
152
|
"""
|
141
153
|
__args__ = dict()
|
154
|
+
__args__['isSecretDataBase64'] = is_secret_data_base64
|
142
155
|
__args__['location'] = location
|
143
156
|
__args__['project'] = project
|
144
157
|
__args__['secret'] = secret
|
@@ -148,19 +161,21 @@ def get_regional_secret_version_access(location: Optional[str] = None,
|
|
148
161
|
|
149
162
|
return AwaitableGetRegionalSecretVersionAccessResult(
|
150
163
|
id=pulumi.get(__ret__, 'id'),
|
164
|
+
is_secret_data_base64=pulumi.get(__ret__, 'is_secret_data_base64'),
|
151
165
|
location=pulumi.get(__ret__, 'location'),
|
152
166
|
name=pulumi.get(__ret__, 'name'),
|
153
167
|
project=pulumi.get(__ret__, 'project'),
|
154
168
|
secret=pulumi.get(__ret__, 'secret'),
|
155
169
|
secret_data=pulumi.get(__ret__, 'secret_data'),
|
156
170
|
version=pulumi.get(__ret__, 'version'))
|
157
|
-
def get_regional_secret_version_access_output(
|
171
|
+
def get_regional_secret_version_access_output(is_secret_data_base64: Optional[pulumi.Input[Optional[bool]]] = None,
|
172
|
+
location: Optional[pulumi.Input[Optional[str]]] = None,
|
158
173
|
project: Optional[pulumi.Input[Optional[str]]] = None,
|
159
174
|
secret: Optional[pulumi.Input[str]] = None,
|
160
175
|
version: Optional[pulumi.Input[Optional[str]]] = None,
|
161
176
|
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetRegionalSecretVersionAccessResult]:
|
162
177
|
"""
|
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).
|
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.locations.secrets.versions/access).
|
164
179
|
|
165
180
|
## Example Usage
|
166
181
|
|
@@ -173,6 +188,8 @@ def get_regional_secret_version_access_output(location: Optional[pulumi.Input[Op
|
|
173
188
|
```
|
174
189
|
|
175
190
|
|
191
|
+
:param bool is_secret_data_base64: If set to 'true', the secret data is
|
192
|
+
expected to be base64-encoded string.
|
176
193
|
:param str location: Location of Secret Manager regional secret resource.
|
177
194
|
It must be provided when the `secret` field provided consists of only the name of the regional secret.
|
178
195
|
:param str project: The project to get the secret version for. If it
|
@@ -183,6 +200,7 @@ def get_regional_secret_version_access_output(location: Optional[pulumi.Input[Op
|
|
183
200
|
is not provided, the latest version is retrieved.
|
184
201
|
"""
|
185
202
|
__args__ = dict()
|
203
|
+
__args__['isSecretDataBase64'] = is_secret_data_base64
|
186
204
|
__args__['location'] = location
|
187
205
|
__args__['project'] = project
|
188
206
|
__args__['secret'] = secret
|
@@ -191,6 +209,7 @@ def get_regional_secret_version_access_output(location: Optional[pulumi.Input[Op
|
|
191
209
|
__ret__ = pulumi.runtime.invoke_output('gcp:secretmanager/getRegionalSecretVersionAccess:getRegionalSecretVersionAccess', __args__, opts=opts, typ=GetRegionalSecretVersionAccessResult)
|
192
210
|
return __ret__.apply(lambda __response__: GetRegionalSecretVersionAccessResult(
|
193
211
|
id=pulumi.get(__response__, 'id'),
|
212
|
+
is_secret_data_base64=pulumi.get(__response__, 'is_secret_data_base64'),
|
194
213
|
location=pulumi.get(__response__, 'location'),
|
195
214
|
name=pulumi.get(__response__, 'name'),
|
196
215
|
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, name=None, project=None, secret=None, secret_data=None, version=None):
|
29
|
+
def __init__(__self__, create_time=None, destroy_time=None, enabled=None, id=None, is_secret_data_base64=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,6 +39,9 @@ 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)
|
42
45
|
if name and not isinstance(name, str):
|
43
46
|
raise TypeError("Expected argument 'name' to be a str")
|
44
47
|
pulumi.set(__self__, "name", name)
|
@@ -87,6 +90,11 @@ class GetSecretVersionResult:
|
|
87
90
|
"""
|
88
91
|
return pulumi.get(self, "id")
|
89
92
|
|
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
|
+
|
90
98
|
@property
|
91
99
|
@pulumi.getter
|
92
100
|
def name(self) -> str:
|
@@ -130,6 +138,7 @@ class AwaitableGetSecretVersionResult(GetSecretVersionResult):
|
|
130
138
|
destroy_time=self.destroy_time,
|
131
139
|
enabled=self.enabled,
|
132
140
|
id=self.id,
|
141
|
+
is_secret_data_base64=self.is_secret_data_base64,
|
133
142
|
name=self.name,
|
134
143
|
project=self.project,
|
135
144
|
secret=self.secret,
|
@@ -137,7 +146,8 @@ class AwaitableGetSecretVersionResult(GetSecretVersionResult):
|
|
137
146
|
version=self.version)
|
138
147
|
|
139
148
|
|
140
|
-
def get_secret_version(
|
149
|
+
def get_secret_version(is_secret_data_base64: Optional[bool] = None,
|
150
|
+
project: Optional[str] = None,
|
141
151
|
secret: Optional[str] = None,
|
142
152
|
version: Optional[str] = None,
|
143
153
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetSecretVersionResult:
|
@@ -154,6 +164,8 @@ def get_secret_version(project: Optional[str] = None,
|
|
154
164
|
```
|
155
165
|
|
156
166
|
|
167
|
+
:param bool is_secret_data_base64: If set to 'true', the secret data is
|
168
|
+
expected to be base64-encoded string.
|
157
169
|
:param str project: The project to get the secret version for. If it
|
158
170
|
is not provided, the provider project is used.
|
159
171
|
:param str secret: The secret to get the secret version for.
|
@@ -161,6 +173,7 @@ def get_secret_version(project: Optional[str] = None,
|
|
161
173
|
is not provided, the latest version is retrieved.
|
162
174
|
"""
|
163
175
|
__args__ = dict()
|
176
|
+
__args__['isSecretDataBase64'] = is_secret_data_base64
|
164
177
|
__args__['project'] = project
|
165
178
|
__args__['secret'] = secret
|
166
179
|
__args__['version'] = version
|
@@ -172,12 +185,14 @@ def get_secret_version(project: Optional[str] = None,
|
|
172
185
|
destroy_time=pulumi.get(__ret__, 'destroy_time'),
|
173
186
|
enabled=pulumi.get(__ret__, 'enabled'),
|
174
187
|
id=pulumi.get(__ret__, 'id'),
|
188
|
+
is_secret_data_base64=pulumi.get(__ret__, 'is_secret_data_base64'),
|
175
189
|
name=pulumi.get(__ret__, 'name'),
|
176
190
|
project=pulumi.get(__ret__, 'project'),
|
177
191
|
secret=pulumi.get(__ret__, 'secret'),
|
178
192
|
secret_data=pulumi.get(__ret__, 'secret_data'),
|
179
193
|
version=pulumi.get(__ret__, 'version'))
|
180
|
-
def get_secret_version_output(
|
194
|
+
def get_secret_version_output(is_secret_data_base64: Optional[pulumi.Input[Optional[bool]]] = None,
|
195
|
+
project: Optional[pulumi.Input[Optional[str]]] = None,
|
181
196
|
secret: Optional[pulumi.Input[str]] = None,
|
182
197
|
version: Optional[pulumi.Input[Optional[str]]] = None,
|
183
198
|
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetSecretVersionResult]:
|
@@ -194,6 +209,8 @@ def get_secret_version_output(project: Optional[pulumi.Input[Optional[str]]] = N
|
|
194
209
|
```
|
195
210
|
|
196
211
|
|
212
|
+
:param bool is_secret_data_base64: If set to 'true', the secret data is
|
213
|
+
expected to be base64-encoded string.
|
197
214
|
:param str project: The project to get the secret version for. If it
|
198
215
|
is not provided, the provider project is used.
|
199
216
|
:param str secret: The secret to get the secret version for.
|
@@ -201,6 +218,7 @@ def get_secret_version_output(project: Optional[pulumi.Input[Optional[str]]] = N
|
|
201
218
|
is not provided, the latest version is retrieved.
|
202
219
|
"""
|
203
220
|
__args__ = dict()
|
221
|
+
__args__['isSecretDataBase64'] = is_secret_data_base64
|
204
222
|
__args__['project'] = project
|
205
223
|
__args__['secret'] = secret
|
206
224
|
__args__['version'] = version
|
@@ -211,6 +229,7 @@ def get_secret_version_output(project: Optional[pulumi.Input[Optional[str]]] = N
|
|
211
229
|
destroy_time=pulumi.get(__response__, 'destroy_time'),
|
212
230
|
enabled=pulumi.get(__response__, 'enabled'),
|
213
231
|
id=pulumi.get(__response__, 'id'),
|
232
|
+
is_secret_data_base64=pulumi.get(__response__, 'is_secret_data_base64'),
|
214
233
|
name=pulumi.get(__response__, 'name'),
|
215
234
|
project=pulumi.get(__response__, 'project'),
|
216
235
|
secret=pulumi.get(__response__, 'secret'),
|
@@ -26,10 +26,13 @@ class GetSecretVersionAccessResult:
|
|
26
26
|
"""
|
27
27
|
A collection of values returned by getSecretVersionAccess.
|
28
28
|
"""
|
29
|
-
def __init__(__self__, id=None, name=None, project=None, secret=None, secret_data=None, version=None):
|
29
|
+
def __init__(__self__, id=None, is_secret_data_base64=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)
|
33
36
|
if name and not isinstance(name, str):
|
34
37
|
raise TypeError("Expected argument 'name' to be a str")
|
35
38
|
pulumi.set(__self__, "name", name)
|
@@ -54,6 +57,11 @@ class GetSecretVersionAccessResult:
|
|
54
57
|
"""
|
55
58
|
return pulumi.get(self, "id")
|
56
59
|
|
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
|
+
|
57
65
|
@property
|
58
66
|
@pulumi.getter
|
59
67
|
def name(self) -> str:
|
@@ -94,6 +102,7 @@ class AwaitableGetSecretVersionAccessResult(GetSecretVersionAccessResult):
|
|
94
102
|
yield self
|
95
103
|
return GetSecretVersionAccessResult(
|
96
104
|
id=self.id,
|
105
|
+
is_secret_data_base64=self.is_secret_data_base64,
|
97
106
|
name=self.name,
|
98
107
|
project=self.project,
|
99
108
|
secret=self.secret,
|
@@ -101,7 +110,8 @@ class AwaitableGetSecretVersionAccessResult(GetSecretVersionAccessResult):
|
|
101
110
|
version=self.version)
|
102
111
|
|
103
112
|
|
104
|
-
def get_secret_version_access(
|
113
|
+
def get_secret_version_access(is_secret_data_base64: Optional[bool] = None,
|
114
|
+
project: Optional[str] = None,
|
105
115
|
secret: Optional[str] = None,
|
106
116
|
version: Optional[str] = None,
|
107
117
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetSecretVersionAccessResult:
|
@@ -118,6 +128,8 @@ def get_secret_version_access(project: Optional[str] = None,
|
|
118
128
|
```
|
119
129
|
|
120
130
|
|
131
|
+
:param bool is_secret_data_base64: If set to 'true', the secret data is
|
132
|
+
expected to be base64-encoded string.
|
121
133
|
:param str project: The project to get the secret version for. If it
|
122
134
|
is not provided, the provider project is used.
|
123
135
|
:param str secret: The secret to get the secret version for.
|
@@ -125,6 +137,7 @@ def get_secret_version_access(project: Optional[str] = None,
|
|
125
137
|
is not provided, the latest version is retrieved.
|
126
138
|
"""
|
127
139
|
__args__ = dict()
|
140
|
+
__args__['isSecretDataBase64'] = is_secret_data_base64
|
128
141
|
__args__['project'] = project
|
129
142
|
__args__['secret'] = secret
|
130
143
|
__args__['version'] = version
|
@@ -133,12 +146,14 @@ def get_secret_version_access(project: Optional[str] = None,
|
|
133
146
|
|
134
147
|
return AwaitableGetSecretVersionAccessResult(
|
135
148
|
id=pulumi.get(__ret__, 'id'),
|
149
|
+
is_secret_data_base64=pulumi.get(__ret__, 'is_secret_data_base64'),
|
136
150
|
name=pulumi.get(__ret__, 'name'),
|
137
151
|
project=pulumi.get(__ret__, 'project'),
|
138
152
|
secret=pulumi.get(__ret__, 'secret'),
|
139
153
|
secret_data=pulumi.get(__ret__, 'secret_data'),
|
140
154
|
version=pulumi.get(__ret__, 'version'))
|
141
|
-
def get_secret_version_access_output(
|
155
|
+
def get_secret_version_access_output(is_secret_data_base64: Optional[pulumi.Input[Optional[bool]]] = None,
|
156
|
+
project: Optional[pulumi.Input[Optional[str]]] = None,
|
142
157
|
secret: Optional[pulumi.Input[str]] = None,
|
143
158
|
version: Optional[pulumi.Input[Optional[str]]] = None,
|
144
159
|
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetSecretVersionAccessResult]:
|
@@ -155,6 +170,8 @@ def get_secret_version_access_output(project: Optional[pulumi.Input[Optional[str
|
|
155
170
|
```
|
156
171
|
|
157
172
|
|
173
|
+
:param bool is_secret_data_base64: If set to 'true', the secret data is
|
174
|
+
expected to be base64-encoded string.
|
158
175
|
:param str project: The project to get the secret version for. If it
|
159
176
|
is not provided, the provider project is used.
|
160
177
|
:param str secret: The secret to get the secret version for.
|
@@ -162,6 +179,7 @@ def get_secret_version_access_output(project: Optional[pulumi.Input[Optional[str
|
|
162
179
|
is not provided, the latest version is retrieved.
|
163
180
|
"""
|
164
181
|
__args__ = dict()
|
182
|
+
__args__['isSecretDataBase64'] = is_secret_data_base64
|
165
183
|
__args__['project'] = project
|
166
184
|
__args__['secret'] = secret
|
167
185
|
__args__['version'] = version
|
@@ -169,6 +187,7 @@ def get_secret_version_access_output(project: Optional[pulumi.Input[Optional[str
|
|
169
187
|
__ret__ = pulumi.runtime.invoke_output('gcp:secretmanager/getSecretVersionAccess:getSecretVersionAccess', __args__, opts=opts, typ=GetSecretVersionAccessResult)
|
170
188
|
return __ret__.apply(lambda __response__: GetSecretVersionAccessResult(
|
171
189
|
id=pulumi.get(__response__, 'id'),
|
190
|
+
is_secret_data_base64=pulumi.get(__response__, 'is_secret_data_base64'),
|
172
191
|
name=pulumi.get(__response__, 'name'),
|
173
192
|
project=pulumi.get(__response__, 'project'),
|
174
193
|
secret=pulumi.get(__response__, 'secret'),
|
@@ -1261,11 +1261,7 @@ class GetSecretsSecretResult(dict):
|
|
1261
1261
|
A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s".
|
1262
1262
|
Only one of 'ttl' or 'expire_time' can be provided.
|
1263
1263
|
:param Mapping[str, str] version_aliases: Mapping from version alias to version name.
|
1264
|
-
:param str version_destroy_ttl:
|
1265
|
-
This is a part of the delayed delete feature on Secret Version.
|
1266
|
-
For secret with versionDestroyTtl>0, version destruction doesn't happen immediately
|
1267
|
-
on calling destroy instead the version goes to a disabled state and
|
1268
|
-
the actual destruction happens after this TTL expires.
|
1264
|
+
:param str version_destroy_ttl: The version destroy ttl for the secret version.
|
1269
1265
|
"""
|
1270
1266
|
pulumi.set(__self__, "annotations", annotations)
|
1271
1267
|
pulumi.set(__self__, "create_time", create_time)
|
@@ -1408,11 +1404,7 @@ class GetSecretsSecretResult(dict):
|
|
1408
1404
|
@pulumi.getter(name="versionDestroyTtl")
|
1409
1405
|
def version_destroy_ttl(self) -> str:
|
1410
1406
|
"""
|
1411
|
-
|
1412
|
-
This is a part of the delayed delete feature on Secret Version.
|
1413
|
-
For secret with versionDestroyTtl>0, version destruction doesn't happen immediately
|
1414
|
-
on calling destroy instead the version goes to a disabled state and
|
1415
|
-
the actual destruction happens after this TTL expires.
|
1407
|
+
The version destroy ttl for the secret version.
|
1416
1408
|
"""
|
1417
1409
|
return pulumi.get(self, "version_destroy_ttl")
|
1418
1410
|
|
@@ -703,7 +703,7 @@ class RegionalSecret(pulumi.CustomResource):
|
|
703
703
|
|
704
704
|
To get more information about RegionalSecret, see:
|
705
705
|
|
706
|
-
* [API documentation](https://cloud.google.com/secret-manager/docs/reference/rest/v1/projects.secrets)
|
706
|
+
* [API documentation](https://cloud.google.com/secret-manager/docs/reference/rest/v1/projects.locations.secrets)
|
707
707
|
|
708
708
|
## Example Usage
|
709
709
|
|
@@ -922,7 +922,7 @@ class RegionalSecret(pulumi.CustomResource):
|
|
922
922
|
|
923
923
|
To get more information about RegionalSecret, see:
|
924
924
|
|
925
|
-
* [API documentation](https://cloud.google.com/secret-manager/docs/reference/rest/v1/projects.secrets)
|
925
|
+
* [API documentation](https://cloud.google.com/secret-manager/docs/reference/rest/v1/projects.locations.secrets)
|
926
926
|
|
927
927
|
## Example Usage
|
928
928
|
|