pulumi-gcp 8.0.0a1726253601__py3-none-any.whl → 8.1.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 +24 -0
- pulumi_gcp/alloydb/_inputs.py +94 -0
- pulumi_gcp/alloydb/cluster.py +94 -1
- pulumi_gcp/alloydb/outputs.py +79 -0
- pulumi_gcp/assuredworkloads/workload.py +135 -16
- pulumi_gcp/backupdisasterrecovery/__init__.py +1 -0
- pulumi_gcp/backupdisasterrecovery/backup_vault.py +1203 -0
- pulumi_gcp/bigquery/_inputs.py +33 -0
- pulumi_gcp/bigquery/data_transfer_config.py +134 -6
- pulumi_gcp/bigquery/outputs.py +36 -0
- pulumi_gcp/bigqueryanalyticshub/_inputs.py +169 -7
- pulumi_gcp/bigqueryanalyticshub/data_exchange.py +96 -3
- pulumi_gcp/bigqueryanalyticshub/listing.py +114 -0
- pulumi_gcp/bigqueryanalyticshub/outputs.py +138 -5
- pulumi_gcp/bigtable/_inputs.py +21 -1
- pulumi_gcp/bigtable/outputs.py +13 -1
- pulumi_gcp/bigtable/table.py +34 -0
- pulumi_gcp/certificateauthority/authority.py +14 -7
- pulumi_gcp/certificatemanager/__init__.py +1 -0
- pulumi_gcp/certificatemanager/certificate.py +28 -0
- pulumi_gcp/certificatemanager/get_certificates.py +150 -0
- pulumi_gcp/certificatemanager/outputs.py +322 -0
- pulumi_gcp/cloudbuild/_inputs.py +6 -6
- pulumi_gcp/cloudbuild/outputs.py +4 -4
- pulumi_gcp/cloudrun/_inputs.py +6 -12
- pulumi_gcp/cloudrun/outputs.py +8 -16
- pulumi_gcp/cloudrunv2/_inputs.py +72 -15
- pulumi_gcp/cloudrunv2/outputs.py +82 -16
- pulumi_gcp/cloudrunv2/service.py +50 -4
- pulumi_gcp/cloudtasks/_inputs.py +630 -0
- pulumi_gcp/cloudtasks/outputs.py +479 -0
- pulumi_gcp/cloudtasks/queue.py +238 -0
- pulumi_gcp/compute/_inputs.py +129 -9
- pulumi_gcp/compute/get_instance.py +1 -1
- pulumi_gcp/compute/health_check.py +114 -0
- pulumi_gcp/compute/instance.py +86 -4
- pulumi_gcp/compute/instance_template.py +66 -0
- pulumi_gcp/compute/interconnect.py +28 -21
- pulumi_gcp/compute/node_template.py +93 -0
- pulumi_gcp/compute/outputs.py +108 -6
- pulumi_gcp/compute/target_https_proxy.py +28 -0
- pulumi_gcp/container/_inputs.py +140 -3
- pulumi_gcp/container/attached_cluster.py +7 -7
- pulumi_gcp/container/outputs.py +174 -2
- pulumi_gcp/databasemigrationservice/_inputs.py +176 -148
- pulumi_gcp/databasemigrationservice/connection_profile.py +206 -0
- pulumi_gcp/databasemigrationservice/outputs.py +109 -87
- pulumi_gcp/dataloss/_inputs.py +353 -1
- pulumi_gcp/dataloss/outputs.py +274 -3
- pulumi_gcp/dataproc/_inputs.py +27 -27
- pulumi_gcp/dataproc/outputs.py +18 -18
- pulumi_gcp/datastream/_inputs.py +69 -1
- pulumi_gcp/datastream/outputs.py +44 -2
- pulumi_gcp/datastream/stream.py +194 -7
- pulumi_gcp/discoveryengine/_inputs.py +188 -0
- pulumi_gcp/discoveryengine/data_store.py +14 -14
- pulumi_gcp/discoveryengine/outputs.py +153 -1
- pulumi_gcp/firebase/database_instance.py +7 -7
- pulumi_gcp/gkehub/_inputs.py +25 -1
- pulumi_gcp/gkehub/feature_membership.py +12 -6
- pulumi_gcp/gkehub/outputs.py +17 -1
- pulumi_gcp/iam/_inputs.py +196 -0
- pulumi_gcp/iam/get_workload_identity_pool_provider.py +13 -3
- pulumi_gcp/iam/outputs.py +295 -0
- pulumi_gcp/iam/workload_identity_pool_provider.py +164 -3
- pulumi_gcp/kms/__init__.py +2 -0
- pulumi_gcp/kms/autokey_config.py +10 -2
- pulumi_gcp/kms/get_crypto_key_latest_version.py +222 -0
- pulumi_gcp/kms/get_crypto_key_versions.py +175 -0
- pulumi_gcp/kms/outputs.py +164 -0
- pulumi_gcp/netapp/active_directory.py +6 -6
- pulumi_gcp/netapp/backup.py +6 -6
- pulumi_gcp/netapp/backup_policy.py +6 -6
- pulumi_gcp/netapp/backup_vault.py +6 -6
- pulumi_gcp/netapp/storage_pool.py +4 -4
- pulumi_gcp/netapp/volume.py +7 -0
- pulumi_gcp/networkconnectivity/_inputs.py +21 -1
- pulumi_gcp/networkconnectivity/outputs.py +15 -1
- pulumi_gcp/networkconnectivity/spoke.py +8 -0
- pulumi_gcp/networksecurity/client_tls_policy.py +24 -22
- pulumi_gcp/networksecurity/server_tls_policy.py +20 -32
- pulumi_gcp/organizations/get_project.py +13 -3
- pulumi_gcp/organizations/project.py +88 -3
- pulumi_gcp/parallelstore/instance.py +121 -121
- pulumi_gcp/projects/iam_member_remove.py +26 -0
- pulumi_gcp/projects/usage_export_bucket.py +38 -0
- pulumi_gcp/pubsub/_inputs.py +40 -0
- pulumi_gcp/pubsub/outputs.py +51 -1
- pulumi_gcp/pubsub/subscription.py +6 -0
- pulumi_gcp/pulumi-plugin.json +1 -1
- pulumi_gcp/redis/_inputs.py +419 -0
- pulumi_gcp/redis/cluster.py +123 -0
- pulumi_gcp/redis/outputs.py +315 -0
- pulumi_gcp/securitycenter/__init__.py +2 -0
- pulumi_gcp/securitycenter/v2_folder_scc_big_query_export.py +857 -0
- pulumi_gcp/securitycenter/v2_organization_scc_big_query_exports.py +4 -4
- pulumi_gcp/securitycenter/v2_project_scc_big_query_export.py +796 -0
- {pulumi_gcp-8.0.0a1726253601.dist-info → pulumi_gcp-8.1.0.dist-info}/METADATA +1 -1
- {pulumi_gcp-8.0.0a1726253601.dist-info → pulumi_gcp-8.1.0.dist-info}/RECORD +101 -95
- {pulumi_gcp-8.0.0a1726253601.dist-info → pulumi_gcp-8.1.0.dist-info}/WHEEL +1 -1
- {pulumi_gcp-8.0.0a1726253601.dist-info → pulumi_gcp-8.1.0.dist-info}/top_level.txt +0 -0
pulumi_gcp/cloudtasks/outputs.py
CHANGED
@@ -13,9 +13,18 @@ if sys.version_info >= (3, 11):
|
|
13
13
|
else:
|
14
14
|
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
15
15
|
from .. import _utilities
|
16
|
+
from . import outputs
|
16
17
|
|
17
18
|
__all__ = [
|
18
19
|
'QueueAppEngineRoutingOverride',
|
20
|
+
'QueueHttpTarget',
|
21
|
+
'QueueHttpTargetHeaderOverride',
|
22
|
+
'QueueHttpTargetHeaderOverrideHeader',
|
23
|
+
'QueueHttpTargetOauthToken',
|
24
|
+
'QueueHttpTargetOidcToken',
|
25
|
+
'QueueHttpTargetUriOverride',
|
26
|
+
'QueueHttpTargetUriOverridePathOverride',
|
27
|
+
'QueueHttpTargetUriOverrideQueryOverride',
|
19
28
|
'QueueIamBindingCondition',
|
20
29
|
'QueueIamMemberCondition',
|
21
30
|
'QueueRateLimits',
|
@@ -86,6 +95,476 @@ class QueueAppEngineRoutingOverride(dict):
|
|
86
95
|
return pulumi.get(self, "version")
|
87
96
|
|
88
97
|
|
98
|
+
@pulumi.output_type
|
99
|
+
class QueueHttpTarget(dict):
|
100
|
+
@staticmethod
|
101
|
+
def __key_warning(key: str):
|
102
|
+
suggest = None
|
103
|
+
if key == "headerOverrides":
|
104
|
+
suggest = "header_overrides"
|
105
|
+
elif key == "httpMethod":
|
106
|
+
suggest = "http_method"
|
107
|
+
elif key == "oauthToken":
|
108
|
+
suggest = "oauth_token"
|
109
|
+
elif key == "oidcToken":
|
110
|
+
suggest = "oidc_token"
|
111
|
+
elif key == "uriOverride":
|
112
|
+
suggest = "uri_override"
|
113
|
+
|
114
|
+
if suggest:
|
115
|
+
pulumi.log.warn(f"Key '{key}' not found in QueueHttpTarget. Access the value via the '{suggest}' property getter instead.")
|
116
|
+
|
117
|
+
def __getitem__(self, key: str) -> Any:
|
118
|
+
QueueHttpTarget.__key_warning(key)
|
119
|
+
return super().__getitem__(key)
|
120
|
+
|
121
|
+
def get(self, key: str, default = None) -> Any:
|
122
|
+
QueueHttpTarget.__key_warning(key)
|
123
|
+
return super().get(key, default)
|
124
|
+
|
125
|
+
def __init__(__self__, *,
|
126
|
+
header_overrides: Optional[Sequence['outputs.QueueHttpTargetHeaderOverride']] = None,
|
127
|
+
http_method: Optional[str] = None,
|
128
|
+
oauth_token: Optional['outputs.QueueHttpTargetOauthToken'] = None,
|
129
|
+
oidc_token: Optional['outputs.QueueHttpTargetOidcToken'] = None,
|
130
|
+
uri_override: Optional['outputs.QueueHttpTargetUriOverride'] = None):
|
131
|
+
"""
|
132
|
+
:param Sequence['QueueHttpTargetHeaderOverrideArgs'] header_overrides: HTTP target headers.
|
133
|
+
This map contains the header field names and values.
|
134
|
+
Headers will be set when running the CreateTask and/or BufferTask.
|
135
|
+
These headers represent a subset of the headers that will be configured for the task's HTTP request.
|
136
|
+
Some HTTP request headers will be ignored or replaced.
|
137
|
+
Headers which can have multiple values (according to RFC2616) can be specified using comma-separated values.
|
138
|
+
The size of the headers must be less than 80KB. Queue-level headers to override headers of all the tasks in the queue.
|
139
|
+
Structure is documented below.
|
140
|
+
:param str http_method: The HTTP method to use for the request.
|
141
|
+
When specified, it overrides HttpRequest for the task.
|
142
|
+
Note that if the value is set to GET the body of the task will be ignored at execution time.
|
143
|
+
Possible values are: `HTTP_METHOD_UNSPECIFIED`, `POST`, `GET`, `HEAD`, `PUT`, `DELETE`, `PATCH`, `OPTIONS`.
|
144
|
+
:param 'QueueHttpTargetOauthTokenArgs' oauth_token: If specified, an OAuth token is generated and attached as the Authorization header in the HTTP request.
|
145
|
+
This type of authorization should generally be used only when calling Google APIs hosted on *.googleapis.com.
|
146
|
+
Note that both the service account email and the scope MUST be specified when using the queue-level authorization override.
|
147
|
+
Structure is documented below.
|
148
|
+
:param 'QueueHttpTargetOidcTokenArgs' oidc_token: If specified, an OIDC token is generated and attached as an Authorization header in the HTTP request.
|
149
|
+
This type of authorization can be used for many scenarios, including calling Cloud Run, or endpoints where you intend to validate the token yourself.
|
150
|
+
Note that both the service account email and the audience MUST be specified when using the queue-level authorization override.
|
151
|
+
Structure is documented below.
|
152
|
+
:param 'QueueHttpTargetUriOverrideArgs' uri_override: URI override.
|
153
|
+
When specified, overrides the execution URI for all the tasks in the queue.
|
154
|
+
Structure is documented below.
|
155
|
+
"""
|
156
|
+
if header_overrides is not None:
|
157
|
+
pulumi.set(__self__, "header_overrides", header_overrides)
|
158
|
+
if http_method is not None:
|
159
|
+
pulumi.set(__self__, "http_method", http_method)
|
160
|
+
if oauth_token is not None:
|
161
|
+
pulumi.set(__self__, "oauth_token", oauth_token)
|
162
|
+
if oidc_token is not None:
|
163
|
+
pulumi.set(__self__, "oidc_token", oidc_token)
|
164
|
+
if uri_override is not None:
|
165
|
+
pulumi.set(__self__, "uri_override", uri_override)
|
166
|
+
|
167
|
+
@property
|
168
|
+
@pulumi.getter(name="headerOverrides")
|
169
|
+
def header_overrides(self) -> Optional[Sequence['outputs.QueueHttpTargetHeaderOverride']]:
|
170
|
+
"""
|
171
|
+
HTTP target headers.
|
172
|
+
This map contains the header field names and values.
|
173
|
+
Headers will be set when running the CreateTask and/or BufferTask.
|
174
|
+
These headers represent a subset of the headers that will be configured for the task's HTTP request.
|
175
|
+
Some HTTP request headers will be ignored or replaced.
|
176
|
+
Headers which can have multiple values (according to RFC2616) can be specified using comma-separated values.
|
177
|
+
The size of the headers must be less than 80KB. Queue-level headers to override headers of all the tasks in the queue.
|
178
|
+
Structure is documented below.
|
179
|
+
"""
|
180
|
+
return pulumi.get(self, "header_overrides")
|
181
|
+
|
182
|
+
@property
|
183
|
+
@pulumi.getter(name="httpMethod")
|
184
|
+
def http_method(self) -> Optional[str]:
|
185
|
+
"""
|
186
|
+
The HTTP method to use for the request.
|
187
|
+
When specified, it overrides HttpRequest for the task.
|
188
|
+
Note that if the value is set to GET the body of the task will be ignored at execution time.
|
189
|
+
Possible values are: `HTTP_METHOD_UNSPECIFIED`, `POST`, `GET`, `HEAD`, `PUT`, `DELETE`, `PATCH`, `OPTIONS`.
|
190
|
+
"""
|
191
|
+
return pulumi.get(self, "http_method")
|
192
|
+
|
193
|
+
@property
|
194
|
+
@pulumi.getter(name="oauthToken")
|
195
|
+
def oauth_token(self) -> Optional['outputs.QueueHttpTargetOauthToken']:
|
196
|
+
"""
|
197
|
+
If specified, an OAuth token is generated and attached as the Authorization header in the HTTP request.
|
198
|
+
This type of authorization should generally be used only when calling Google APIs hosted on *.googleapis.com.
|
199
|
+
Note that both the service account email and the scope MUST be specified when using the queue-level authorization override.
|
200
|
+
Structure is documented below.
|
201
|
+
"""
|
202
|
+
return pulumi.get(self, "oauth_token")
|
203
|
+
|
204
|
+
@property
|
205
|
+
@pulumi.getter(name="oidcToken")
|
206
|
+
def oidc_token(self) -> Optional['outputs.QueueHttpTargetOidcToken']:
|
207
|
+
"""
|
208
|
+
If specified, an OIDC token is generated and attached as an Authorization header in the HTTP request.
|
209
|
+
This type of authorization can be used for many scenarios, including calling Cloud Run, or endpoints where you intend to validate the token yourself.
|
210
|
+
Note that both the service account email and the audience MUST be specified when using the queue-level authorization override.
|
211
|
+
Structure is documented below.
|
212
|
+
"""
|
213
|
+
return pulumi.get(self, "oidc_token")
|
214
|
+
|
215
|
+
@property
|
216
|
+
@pulumi.getter(name="uriOverride")
|
217
|
+
def uri_override(self) -> Optional['outputs.QueueHttpTargetUriOverride']:
|
218
|
+
"""
|
219
|
+
URI override.
|
220
|
+
When specified, overrides the execution URI for all the tasks in the queue.
|
221
|
+
Structure is documented below.
|
222
|
+
"""
|
223
|
+
return pulumi.get(self, "uri_override")
|
224
|
+
|
225
|
+
|
226
|
+
@pulumi.output_type
|
227
|
+
class QueueHttpTargetHeaderOverride(dict):
|
228
|
+
def __init__(__self__, *,
|
229
|
+
header: 'outputs.QueueHttpTargetHeaderOverrideHeader'):
|
230
|
+
"""
|
231
|
+
:param 'QueueHttpTargetHeaderOverrideHeaderArgs' header: Header embodying a key and a value.
|
232
|
+
Structure is documented below.
|
233
|
+
"""
|
234
|
+
pulumi.set(__self__, "header", header)
|
235
|
+
|
236
|
+
@property
|
237
|
+
@pulumi.getter
|
238
|
+
def header(self) -> 'outputs.QueueHttpTargetHeaderOverrideHeader':
|
239
|
+
"""
|
240
|
+
Header embodying a key and a value.
|
241
|
+
Structure is documented below.
|
242
|
+
"""
|
243
|
+
return pulumi.get(self, "header")
|
244
|
+
|
245
|
+
|
246
|
+
@pulumi.output_type
|
247
|
+
class QueueHttpTargetHeaderOverrideHeader(dict):
|
248
|
+
def __init__(__self__, *,
|
249
|
+
key: str,
|
250
|
+
value: str):
|
251
|
+
"""
|
252
|
+
:param str key: The Key of the header.
|
253
|
+
:param str value: The Value of the header.
|
254
|
+
"""
|
255
|
+
pulumi.set(__self__, "key", key)
|
256
|
+
pulumi.set(__self__, "value", value)
|
257
|
+
|
258
|
+
@property
|
259
|
+
@pulumi.getter
|
260
|
+
def key(self) -> str:
|
261
|
+
"""
|
262
|
+
The Key of the header.
|
263
|
+
"""
|
264
|
+
return pulumi.get(self, "key")
|
265
|
+
|
266
|
+
@property
|
267
|
+
@pulumi.getter
|
268
|
+
def value(self) -> str:
|
269
|
+
"""
|
270
|
+
The Value of the header.
|
271
|
+
"""
|
272
|
+
return pulumi.get(self, "value")
|
273
|
+
|
274
|
+
|
275
|
+
@pulumi.output_type
|
276
|
+
class QueueHttpTargetOauthToken(dict):
|
277
|
+
@staticmethod
|
278
|
+
def __key_warning(key: str):
|
279
|
+
suggest = None
|
280
|
+
if key == "serviceAccountEmail":
|
281
|
+
suggest = "service_account_email"
|
282
|
+
|
283
|
+
if suggest:
|
284
|
+
pulumi.log.warn(f"Key '{key}' not found in QueueHttpTargetOauthToken. Access the value via the '{suggest}' property getter instead.")
|
285
|
+
|
286
|
+
def __getitem__(self, key: str) -> Any:
|
287
|
+
QueueHttpTargetOauthToken.__key_warning(key)
|
288
|
+
return super().__getitem__(key)
|
289
|
+
|
290
|
+
def get(self, key: str, default = None) -> Any:
|
291
|
+
QueueHttpTargetOauthToken.__key_warning(key)
|
292
|
+
return super().get(key, default)
|
293
|
+
|
294
|
+
def __init__(__self__, *,
|
295
|
+
service_account_email: str,
|
296
|
+
scope: Optional[str] = None):
|
297
|
+
"""
|
298
|
+
:param str service_account_email: Service account email to be used for generating OAuth token.
|
299
|
+
The service account must be within the same project as the queue.
|
300
|
+
The caller must have iam.serviceAccounts.actAs permission for the service account.
|
301
|
+
:param str scope: OAuth scope to be used for generating OAuth access token.
|
302
|
+
If not specified, "https://www.googleapis.com/auth/cloud-platform" will be used.
|
303
|
+
"""
|
304
|
+
pulumi.set(__self__, "service_account_email", service_account_email)
|
305
|
+
if scope is not None:
|
306
|
+
pulumi.set(__self__, "scope", scope)
|
307
|
+
|
308
|
+
@property
|
309
|
+
@pulumi.getter(name="serviceAccountEmail")
|
310
|
+
def service_account_email(self) -> str:
|
311
|
+
"""
|
312
|
+
Service account email to be used for generating OAuth token.
|
313
|
+
The service account must be within the same project as the queue.
|
314
|
+
The caller must have iam.serviceAccounts.actAs permission for the service account.
|
315
|
+
"""
|
316
|
+
return pulumi.get(self, "service_account_email")
|
317
|
+
|
318
|
+
@property
|
319
|
+
@pulumi.getter
|
320
|
+
def scope(self) -> Optional[str]:
|
321
|
+
"""
|
322
|
+
OAuth scope to be used for generating OAuth access token.
|
323
|
+
If not specified, "https://www.googleapis.com/auth/cloud-platform" will be used.
|
324
|
+
"""
|
325
|
+
return pulumi.get(self, "scope")
|
326
|
+
|
327
|
+
|
328
|
+
@pulumi.output_type
|
329
|
+
class QueueHttpTargetOidcToken(dict):
|
330
|
+
@staticmethod
|
331
|
+
def __key_warning(key: str):
|
332
|
+
suggest = None
|
333
|
+
if key == "serviceAccountEmail":
|
334
|
+
suggest = "service_account_email"
|
335
|
+
|
336
|
+
if suggest:
|
337
|
+
pulumi.log.warn(f"Key '{key}' not found in QueueHttpTargetOidcToken. Access the value via the '{suggest}' property getter instead.")
|
338
|
+
|
339
|
+
def __getitem__(self, key: str) -> Any:
|
340
|
+
QueueHttpTargetOidcToken.__key_warning(key)
|
341
|
+
return super().__getitem__(key)
|
342
|
+
|
343
|
+
def get(self, key: str, default = None) -> Any:
|
344
|
+
QueueHttpTargetOidcToken.__key_warning(key)
|
345
|
+
return super().get(key, default)
|
346
|
+
|
347
|
+
def __init__(__self__, *,
|
348
|
+
service_account_email: str,
|
349
|
+
audience: Optional[str] = None):
|
350
|
+
"""
|
351
|
+
:param str service_account_email: Service account email to be used for generating OIDC token.
|
352
|
+
The service account must be within the same project as the queue.
|
353
|
+
The caller must have iam.serviceAccounts.actAs permission for the service account.
|
354
|
+
:param str audience: Audience to be used when generating OIDC token. If not specified, the URI specified in target will be used.
|
355
|
+
"""
|
356
|
+
pulumi.set(__self__, "service_account_email", service_account_email)
|
357
|
+
if audience is not None:
|
358
|
+
pulumi.set(__self__, "audience", audience)
|
359
|
+
|
360
|
+
@property
|
361
|
+
@pulumi.getter(name="serviceAccountEmail")
|
362
|
+
def service_account_email(self) -> str:
|
363
|
+
"""
|
364
|
+
Service account email to be used for generating OIDC token.
|
365
|
+
The service account must be within the same project as the queue.
|
366
|
+
The caller must have iam.serviceAccounts.actAs permission for the service account.
|
367
|
+
"""
|
368
|
+
return pulumi.get(self, "service_account_email")
|
369
|
+
|
370
|
+
@property
|
371
|
+
@pulumi.getter
|
372
|
+
def audience(self) -> Optional[str]:
|
373
|
+
"""
|
374
|
+
Audience to be used when generating OIDC token. If not specified, the URI specified in target will be used.
|
375
|
+
"""
|
376
|
+
return pulumi.get(self, "audience")
|
377
|
+
|
378
|
+
|
379
|
+
@pulumi.output_type
|
380
|
+
class QueueHttpTargetUriOverride(dict):
|
381
|
+
@staticmethod
|
382
|
+
def __key_warning(key: str):
|
383
|
+
suggest = None
|
384
|
+
if key == "pathOverride":
|
385
|
+
suggest = "path_override"
|
386
|
+
elif key == "queryOverride":
|
387
|
+
suggest = "query_override"
|
388
|
+
elif key == "uriOverrideEnforceMode":
|
389
|
+
suggest = "uri_override_enforce_mode"
|
390
|
+
|
391
|
+
if suggest:
|
392
|
+
pulumi.log.warn(f"Key '{key}' not found in QueueHttpTargetUriOverride. Access the value via the '{suggest}' property getter instead.")
|
393
|
+
|
394
|
+
def __getitem__(self, key: str) -> Any:
|
395
|
+
QueueHttpTargetUriOverride.__key_warning(key)
|
396
|
+
return super().__getitem__(key)
|
397
|
+
|
398
|
+
def get(self, key: str, default = None) -> Any:
|
399
|
+
QueueHttpTargetUriOverride.__key_warning(key)
|
400
|
+
return super().get(key, default)
|
401
|
+
|
402
|
+
def __init__(__self__, *,
|
403
|
+
host: Optional[str] = None,
|
404
|
+
path_override: Optional['outputs.QueueHttpTargetUriOverridePathOverride'] = None,
|
405
|
+
port: Optional[str] = None,
|
406
|
+
query_override: Optional['outputs.QueueHttpTargetUriOverrideQueryOverride'] = None,
|
407
|
+
scheme: Optional[str] = None,
|
408
|
+
uri_override_enforce_mode: Optional[str] = None):
|
409
|
+
"""
|
410
|
+
:param str host: Host override.
|
411
|
+
When specified, replaces the host part of the task URL.
|
412
|
+
For example, if the task URL is "https://www.google.com", and host value
|
413
|
+
is set to "example.net", the overridden URI will be changed to "https://example.net".
|
414
|
+
Host value cannot be an empty string (INVALID_ARGUMENT).
|
415
|
+
:param 'QueueHttpTargetUriOverridePathOverrideArgs' path_override: URI path.
|
416
|
+
When specified, replaces the existing path of the task URL.
|
417
|
+
Setting the path value to an empty string clears the URI path segment.
|
418
|
+
Structure is documented below.
|
419
|
+
:param str port: Port override.
|
420
|
+
When specified, replaces the port part of the task URI.
|
421
|
+
For instance, for a URI http://www.google.com/foo and port=123, the overridden URI becomes http://www.google.com:123/foo.
|
422
|
+
Note that the port value must be a positive integer.
|
423
|
+
Setting the port to 0 (Zero) clears the URI port.
|
424
|
+
:param 'QueueHttpTargetUriOverrideQueryOverrideArgs' query_override: URI query.
|
425
|
+
When specified, replaces the query part of the task URI. Setting the query value to an empty string clears the URI query segment.
|
426
|
+
Structure is documented below.
|
427
|
+
:param str scheme: Scheme override.
|
428
|
+
When specified, the task URI scheme is replaced by the provided value (HTTP or HTTPS).
|
429
|
+
Possible values are: `HTTP`, `HTTPS`.
|
430
|
+
:param str uri_override_enforce_mode: URI Override Enforce Mode
|
431
|
+
When specified, determines the Target UriOverride mode. If not specified, it defaults to ALWAYS.
|
432
|
+
Possible values are: `ALWAYS`, `IF_NOT_EXISTS`.
|
433
|
+
"""
|
434
|
+
if host is not None:
|
435
|
+
pulumi.set(__self__, "host", host)
|
436
|
+
if path_override is not None:
|
437
|
+
pulumi.set(__self__, "path_override", path_override)
|
438
|
+
if port is not None:
|
439
|
+
pulumi.set(__self__, "port", port)
|
440
|
+
if query_override is not None:
|
441
|
+
pulumi.set(__self__, "query_override", query_override)
|
442
|
+
if scheme is not None:
|
443
|
+
pulumi.set(__self__, "scheme", scheme)
|
444
|
+
if uri_override_enforce_mode is not None:
|
445
|
+
pulumi.set(__self__, "uri_override_enforce_mode", uri_override_enforce_mode)
|
446
|
+
|
447
|
+
@property
|
448
|
+
@pulumi.getter
|
449
|
+
def host(self) -> Optional[str]:
|
450
|
+
"""
|
451
|
+
Host override.
|
452
|
+
When specified, replaces the host part of the task URL.
|
453
|
+
For example, if the task URL is "https://www.google.com", and host value
|
454
|
+
is set to "example.net", the overridden URI will be changed to "https://example.net".
|
455
|
+
Host value cannot be an empty string (INVALID_ARGUMENT).
|
456
|
+
"""
|
457
|
+
return pulumi.get(self, "host")
|
458
|
+
|
459
|
+
@property
|
460
|
+
@pulumi.getter(name="pathOverride")
|
461
|
+
def path_override(self) -> Optional['outputs.QueueHttpTargetUriOverridePathOverride']:
|
462
|
+
"""
|
463
|
+
URI path.
|
464
|
+
When specified, replaces the existing path of the task URL.
|
465
|
+
Setting the path value to an empty string clears the URI path segment.
|
466
|
+
Structure is documented below.
|
467
|
+
"""
|
468
|
+
return pulumi.get(self, "path_override")
|
469
|
+
|
470
|
+
@property
|
471
|
+
@pulumi.getter
|
472
|
+
def port(self) -> Optional[str]:
|
473
|
+
"""
|
474
|
+
Port override.
|
475
|
+
When specified, replaces the port part of the task URI.
|
476
|
+
For instance, for a URI http://www.google.com/foo and port=123, the overridden URI becomes http://www.google.com:123/foo.
|
477
|
+
Note that the port value must be a positive integer.
|
478
|
+
Setting the port to 0 (Zero) clears the URI port.
|
479
|
+
"""
|
480
|
+
return pulumi.get(self, "port")
|
481
|
+
|
482
|
+
@property
|
483
|
+
@pulumi.getter(name="queryOverride")
|
484
|
+
def query_override(self) -> Optional['outputs.QueueHttpTargetUriOverrideQueryOverride']:
|
485
|
+
"""
|
486
|
+
URI query.
|
487
|
+
When specified, replaces the query part of the task URI. Setting the query value to an empty string clears the URI query segment.
|
488
|
+
Structure is documented below.
|
489
|
+
"""
|
490
|
+
return pulumi.get(self, "query_override")
|
491
|
+
|
492
|
+
@property
|
493
|
+
@pulumi.getter
|
494
|
+
def scheme(self) -> Optional[str]:
|
495
|
+
"""
|
496
|
+
Scheme override.
|
497
|
+
When specified, the task URI scheme is replaced by the provided value (HTTP or HTTPS).
|
498
|
+
Possible values are: `HTTP`, `HTTPS`.
|
499
|
+
"""
|
500
|
+
return pulumi.get(self, "scheme")
|
501
|
+
|
502
|
+
@property
|
503
|
+
@pulumi.getter(name="uriOverrideEnforceMode")
|
504
|
+
def uri_override_enforce_mode(self) -> Optional[str]:
|
505
|
+
"""
|
506
|
+
URI Override Enforce Mode
|
507
|
+
When specified, determines the Target UriOverride mode. If not specified, it defaults to ALWAYS.
|
508
|
+
Possible values are: `ALWAYS`, `IF_NOT_EXISTS`.
|
509
|
+
"""
|
510
|
+
return pulumi.get(self, "uri_override_enforce_mode")
|
511
|
+
|
512
|
+
|
513
|
+
@pulumi.output_type
|
514
|
+
class QueueHttpTargetUriOverridePathOverride(dict):
|
515
|
+
def __init__(__self__, *,
|
516
|
+
path: Optional[str] = None):
|
517
|
+
"""
|
518
|
+
:param str path: The URI path (e.g., /users/1234). Default is an empty string.
|
519
|
+
"""
|
520
|
+
if path is not None:
|
521
|
+
pulumi.set(__self__, "path", path)
|
522
|
+
|
523
|
+
@property
|
524
|
+
@pulumi.getter
|
525
|
+
def path(self) -> Optional[str]:
|
526
|
+
"""
|
527
|
+
The URI path (e.g., /users/1234). Default is an empty string.
|
528
|
+
"""
|
529
|
+
return pulumi.get(self, "path")
|
530
|
+
|
531
|
+
|
532
|
+
@pulumi.output_type
|
533
|
+
class QueueHttpTargetUriOverrideQueryOverride(dict):
|
534
|
+
@staticmethod
|
535
|
+
def __key_warning(key: str):
|
536
|
+
suggest = None
|
537
|
+
if key == "queryParams":
|
538
|
+
suggest = "query_params"
|
539
|
+
|
540
|
+
if suggest:
|
541
|
+
pulumi.log.warn(f"Key '{key}' not found in QueueHttpTargetUriOverrideQueryOverride. Access the value via the '{suggest}' property getter instead.")
|
542
|
+
|
543
|
+
def __getitem__(self, key: str) -> Any:
|
544
|
+
QueueHttpTargetUriOverrideQueryOverride.__key_warning(key)
|
545
|
+
return super().__getitem__(key)
|
546
|
+
|
547
|
+
def get(self, key: str, default = None) -> Any:
|
548
|
+
QueueHttpTargetUriOverrideQueryOverride.__key_warning(key)
|
549
|
+
return super().get(key, default)
|
550
|
+
|
551
|
+
def __init__(__self__, *,
|
552
|
+
query_params: Optional[str] = None):
|
553
|
+
"""
|
554
|
+
:param str query_params: The query parameters (e.g., qparam1=123&qparam2=456). Default is an empty string.
|
555
|
+
"""
|
556
|
+
if query_params is not None:
|
557
|
+
pulumi.set(__self__, "query_params", query_params)
|
558
|
+
|
559
|
+
@property
|
560
|
+
@pulumi.getter(name="queryParams")
|
561
|
+
def query_params(self) -> Optional[str]:
|
562
|
+
"""
|
563
|
+
The query parameters (e.g., qparam1=123&qparam2=456). Default is an empty string.
|
564
|
+
"""
|
565
|
+
return pulumi.get(self, "query_params")
|
566
|
+
|
567
|
+
|
89
568
|
@pulumi.output_type
|
90
569
|
class QueueIamBindingCondition(dict):
|
91
570
|
def __init__(__self__, *,
|