pulumi-gcp 7.27.0__py3-none-any.whl → 7.27.0a1718086610__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 -32
- pulumi_gcp/appengine/_inputs.py +0 -40
- pulumi_gcp/appengine/flexible_app_version.py +0 -47
- pulumi_gcp/appengine/outputs.py +0 -51
- pulumi_gcp/bigtable/instance.py +0 -47
- pulumi_gcp/clouddeploy/_inputs.py +0 -16
- pulumi_gcp/clouddeploy/outputs.py +0 -12
- pulumi_gcp/compute/__init__.py +0 -2
- pulumi_gcp/compute/_inputs.py +0 -84
- pulumi_gcp/compute/backend_service.py +0 -54
- pulumi_gcp/compute/disk.py +0 -68
- pulumi_gcp/compute/get_backend_service.py +1 -11
- pulumi_gcp/compute/get_disk.py +1 -11
- pulumi_gcp/compute/get_instance.py +1 -11
- pulumi_gcp/compute/get_instance_group_manager.py +1 -31
- pulumi_gcp/compute/get_instance_template.py +1 -11
- pulumi_gcp/compute/get_region_instance_template.py +1 -11
- pulumi_gcp/compute/instance.py +0 -47
- pulumi_gcp/compute/instance_from_machine_image.py +0 -47
- pulumi_gcp/compute/instance_from_template.py +0 -47
- pulumi_gcp/compute/instance_group_manager.py +0 -185
- pulumi_gcp/compute/instance_template.py +0 -47
- pulumi_gcp/compute/outputs.py +0 -1039
- pulumi_gcp/compute/region_instance_group_manager.py +0 -185
- pulumi_gcp/compute/region_instance_template.py +0 -47
- pulumi_gcp/config/__init__.pyi +0 -2
- pulumi_gcp/config/vars.py +0 -4
- pulumi_gcp/container/_inputs.py +4 -33
- pulumi_gcp/container/cluster.py +0 -61
- pulumi_gcp/container/get_cluster.py +1 -11
- pulumi_gcp/container/outputs.py +4 -48
- pulumi_gcp/dataloss/_inputs.py +19 -185
- pulumi_gcp/dataloss/outputs.py +17 -206
- pulumi_gcp/dataloss/prevention_inspect_template.py +0 -54
- pulumi_gcp/gkebackup/_inputs.py +7 -282
- pulumi_gcp/gkebackup/backup_plan.py +0 -100
- pulumi_gcp/gkebackup/outputs.py +7 -312
- pulumi_gcp/gkebackup/restore_plan.py +0 -326
- pulumi_gcp/gkebackup/restore_plan_iam_binding.py +0 -326
- pulumi_gcp/gkebackup/restore_plan_iam_member.py +0 -326
- pulumi_gcp/gkebackup/restore_plan_iam_policy.py +0 -326
- pulumi_gcp/healthcare/_inputs.py +1 -17
- pulumi_gcp/healthcare/dicom_store.py +0 -2
- pulumi_gcp/healthcare/fhir_store.py +60 -44
- pulumi_gcp/healthcare/outputs.py +1 -15
- pulumi_gcp/integrationconnectors/endpoint_attachment.py +0 -47
- pulumi_gcp/kms/crypto_key.py +7 -14
- pulumi_gcp/netapp/_inputs.py +0 -58
- pulumi_gcp/netapp/outputs.py +0 -67
- pulumi_gcp/netapp/volume.py +0 -54
- pulumi_gcp/networkservices/__init__.py +0 -1
- pulumi_gcp/networkservices/_inputs.py +0 -47
- pulumi_gcp/networkservices/outputs.py +0 -56
- pulumi_gcp/provider.py +0 -20
- pulumi_gcp/pulumi-plugin.json +1 -1
- pulumi_gcp/redis/_inputs.py +0 -44
- pulumi_gcp/redis/cluster.py +3 -128
- pulumi_gcp/redis/outputs.py +0 -36
- pulumi_gcp/secretmanager/_inputs.py +0 -20
- pulumi_gcp/secretmanager/outputs.py +0 -20
- pulumi_gcp/secretmanager/secret_iam_binding.py +0 -244
- pulumi_gcp/secretmanager/secret_iam_member.py +0 -244
- pulumi_gcp/secretmanager/secret_iam_policy.py +0 -224
- pulumi_gcp/securitycenter/__init__.py +0 -1
- pulumi_gcp/spanner/__init__.py +0 -1
- pulumi_gcp/spanner/_inputs.py +0 -68
- pulumi_gcp/spanner/outputs.py +0 -73
- pulumi_gcp/sql/_inputs.py +2 -8
- pulumi_gcp/sql/outputs.py +6 -9
- pulumi_gcp/workstations/_inputs.py +1 -51
- pulumi_gcp/workstations/outputs.py +2 -46
- pulumi_gcp/workstations/workstation_config.py +4 -10
- {pulumi_gcp-7.27.0.dist-info → pulumi_gcp-7.27.0a1718086610.dist-info}/METADATA +1 -1
- {pulumi_gcp-7.27.0.dist-info → pulumi_gcp-7.27.0a1718086610.dist-info}/RECORD +76 -81
- pulumi_gcp/compute/get_security_policy.py +0 -214
- pulumi_gcp/compute/project_cloud_armor_tier.py +0 -336
- pulumi_gcp/networkservices/service_lb_policies.py +0 -782
- pulumi_gcp/securitycenter/management_organization_event_threat_detection_custom_module.py +0 -568
- pulumi_gcp/spanner/instance_config.py +0 -569
- {pulumi_gcp-7.27.0.dist-info → pulumi_gcp-7.27.0a1718086610.dist-info}/WHEEL +0 -0
- {pulumi_gcp-7.27.0.dist-info → pulumi_gcp-7.27.0a1718086610.dist-info}/top_level.txt +0 -0
@@ -161,8 +161,6 @@ class SecretIamPolicy(pulumi.CustomResource):
|
|
161
161
|
|
162
162
|
> **Note:** `secretmanager.SecretIamBinding` resources **can be** used in conjunction with `secretmanager.SecretIamMember` resources **only if** they do not grant privilege to the same role.
|
163
163
|
|
164
|
-
> **Note:** This resource supports IAM Conditions but they have some known limitations which can be found [here](https://cloud.google.com/iam/docs/conditions-overview#limitations). Please review this article if you are having issues with IAM Conditions.
|
165
|
-
|
166
164
|
## secretmanager.SecretIamPolicy
|
167
165
|
|
168
166
|
```python
|
@@ -179,26 +177,6 @@ class SecretIamPolicy(pulumi.CustomResource):
|
|
179
177
|
policy_data=admin.policy_data)
|
180
178
|
```
|
181
179
|
|
182
|
-
With IAM Conditions:
|
183
|
-
|
184
|
-
```python
|
185
|
-
import pulumi
|
186
|
-
import pulumi_gcp as gcp
|
187
|
-
|
188
|
-
admin = gcp.organizations.get_iam_policy(bindings=[gcp.organizations.GetIAMPolicyBindingArgs(
|
189
|
-
role="roles/secretmanager.secretAccessor",
|
190
|
-
members=["user:jane@example.com"],
|
191
|
-
condition=gcp.organizations.GetIAMPolicyBindingConditionArgs(
|
192
|
-
title="expires_after_2019_12_31",
|
193
|
-
description="Expiring at midnight of 2019-12-31",
|
194
|
-
expression="request.time < timestamp(\\"2020-01-01T00:00:00Z\\")",
|
195
|
-
),
|
196
|
-
)])
|
197
|
-
policy = gcp.secretmanager.SecretIamPolicy("policy",
|
198
|
-
project=secret_basic["project"],
|
199
|
-
secret_id=secret_basic["secretId"],
|
200
|
-
policy_data=admin.policy_data)
|
201
|
-
```
|
202
180
|
## secretmanager.SecretIamBinding
|
203
181
|
|
204
182
|
```python
|
@@ -212,23 +190,6 @@ class SecretIamPolicy(pulumi.CustomResource):
|
|
212
190
|
members=["user:jane@example.com"])
|
213
191
|
```
|
214
192
|
|
215
|
-
With IAM Conditions:
|
216
|
-
|
217
|
-
```python
|
218
|
-
import pulumi
|
219
|
-
import pulumi_gcp as gcp
|
220
|
-
|
221
|
-
binding = gcp.secretmanager.SecretIamBinding("binding",
|
222
|
-
project=secret_basic["project"],
|
223
|
-
secret_id=secret_basic["secretId"],
|
224
|
-
role="roles/secretmanager.secretAccessor",
|
225
|
-
members=["user:jane@example.com"],
|
226
|
-
condition=gcp.secretmanager.SecretIamBindingConditionArgs(
|
227
|
-
title="expires_after_2019_12_31",
|
228
|
-
description="Expiring at midnight of 2019-12-31",
|
229
|
-
expression="request.time < timestamp(\\"2020-01-01T00:00:00Z\\")",
|
230
|
-
))
|
231
|
-
```
|
232
193
|
## secretmanager.SecretIamMember
|
233
194
|
|
234
195
|
```python
|
@@ -242,24 +203,6 @@ class SecretIamPolicy(pulumi.CustomResource):
|
|
242
203
|
member="user:jane@example.com")
|
243
204
|
```
|
244
205
|
|
245
|
-
With IAM Conditions:
|
246
|
-
|
247
|
-
```python
|
248
|
-
import pulumi
|
249
|
-
import pulumi_gcp as gcp
|
250
|
-
|
251
|
-
member = gcp.secretmanager.SecretIamMember("member",
|
252
|
-
project=secret_basic["project"],
|
253
|
-
secret_id=secret_basic["secretId"],
|
254
|
-
role="roles/secretmanager.secretAccessor",
|
255
|
-
member="user:jane@example.com",
|
256
|
-
condition=gcp.secretmanager.SecretIamMemberConditionArgs(
|
257
|
-
title="expires_after_2019_12_31",
|
258
|
-
description="Expiring at midnight of 2019-12-31",
|
259
|
-
expression="request.time < timestamp(\\"2020-01-01T00:00:00Z\\")",
|
260
|
-
))
|
261
|
-
```
|
262
|
-
|
263
206
|
## secretmanager.SecretIamPolicy
|
264
207
|
|
265
208
|
```python
|
@@ -276,26 +219,6 @@ class SecretIamPolicy(pulumi.CustomResource):
|
|
276
219
|
policy_data=admin.policy_data)
|
277
220
|
```
|
278
221
|
|
279
|
-
With IAM Conditions:
|
280
|
-
|
281
|
-
```python
|
282
|
-
import pulumi
|
283
|
-
import pulumi_gcp as gcp
|
284
|
-
|
285
|
-
admin = gcp.organizations.get_iam_policy(bindings=[gcp.organizations.GetIAMPolicyBindingArgs(
|
286
|
-
role="roles/secretmanager.secretAccessor",
|
287
|
-
members=["user:jane@example.com"],
|
288
|
-
condition=gcp.organizations.GetIAMPolicyBindingConditionArgs(
|
289
|
-
title="expires_after_2019_12_31",
|
290
|
-
description="Expiring at midnight of 2019-12-31",
|
291
|
-
expression="request.time < timestamp(\\"2020-01-01T00:00:00Z\\")",
|
292
|
-
),
|
293
|
-
)])
|
294
|
-
policy = gcp.secretmanager.SecretIamPolicy("policy",
|
295
|
-
project=secret_basic["project"],
|
296
|
-
secret_id=secret_basic["secretId"],
|
297
|
-
policy_data=admin.policy_data)
|
298
|
-
```
|
299
222
|
## secretmanager.SecretIamBinding
|
300
223
|
|
301
224
|
```python
|
@@ -309,23 +232,6 @@ class SecretIamPolicy(pulumi.CustomResource):
|
|
309
232
|
members=["user:jane@example.com"])
|
310
233
|
```
|
311
234
|
|
312
|
-
With IAM Conditions:
|
313
|
-
|
314
|
-
```python
|
315
|
-
import pulumi
|
316
|
-
import pulumi_gcp as gcp
|
317
|
-
|
318
|
-
binding = gcp.secretmanager.SecretIamBinding("binding",
|
319
|
-
project=secret_basic["project"],
|
320
|
-
secret_id=secret_basic["secretId"],
|
321
|
-
role="roles/secretmanager.secretAccessor",
|
322
|
-
members=["user:jane@example.com"],
|
323
|
-
condition=gcp.secretmanager.SecretIamBindingConditionArgs(
|
324
|
-
title="expires_after_2019_12_31",
|
325
|
-
description="Expiring at midnight of 2019-12-31",
|
326
|
-
expression="request.time < timestamp(\\"2020-01-01T00:00:00Z\\")",
|
327
|
-
))
|
328
|
-
```
|
329
235
|
## secretmanager.SecretIamMember
|
330
236
|
|
331
237
|
```python
|
@@ -339,24 +245,6 @@ class SecretIamPolicy(pulumi.CustomResource):
|
|
339
245
|
member="user:jane@example.com")
|
340
246
|
```
|
341
247
|
|
342
|
-
With IAM Conditions:
|
343
|
-
|
344
|
-
```python
|
345
|
-
import pulumi
|
346
|
-
import pulumi_gcp as gcp
|
347
|
-
|
348
|
-
member = gcp.secretmanager.SecretIamMember("member",
|
349
|
-
project=secret_basic["project"],
|
350
|
-
secret_id=secret_basic["secretId"],
|
351
|
-
role="roles/secretmanager.secretAccessor",
|
352
|
-
member="user:jane@example.com",
|
353
|
-
condition=gcp.secretmanager.SecretIamMemberConditionArgs(
|
354
|
-
title="expires_after_2019_12_31",
|
355
|
-
description="Expiring at midnight of 2019-12-31",
|
356
|
-
expression="request.time < timestamp(\\"2020-01-01T00:00:00Z\\")",
|
357
|
-
))
|
358
|
-
```
|
359
|
-
|
360
248
|
## Import
|
361
249
|
|
362
250
|
For all import syntaxes, the "resource in question" can take any of the following forms:
|
@@ -421,8 +309,6 @@ class SecretIamPolicy(pulumi.CustomResource):
|
|
421
309
|
|
422
310
|
> **Note:** `secretmanager.SecretIamBinding` resources **can be** used in conjunction with `secretmanager.SecretIamMember` resources **only if** they do not grant privilege to the same role.
|
423
311
|
|
424
|
-
> **Note:** This resource supports IAM Conditions but they have some known limitations which can be found [here](https://cloud.google.com/iam/docs/conditions-overview#limitations). Please review this article if you are having issues with IAM Conditions.
|
425
|
-
|
426
312
|
## secretmanager.SecretIamPolicy
|
427
313
|
|
428
314
|
```python
|
@@ -439,26 +325,6 @@ class SecretIamPolicy(pulumi.CustomResource):
|
|
439
325
|
policy_data=admin.policy_data)
|
440
326
|
```
|
441
327
|
|
442
|
-
With IAM Conditions:
|
443
|
-
|
444
|
-
```python
|
445
|
-
import pulumi
|
446
|
-
import pulumi_gcp as gcp
|
447
|
-
|
448
|
-
admin = gcp.organizations.get_iam_policy(bindings=[gcp.organizations.GetIAMPolicyBindingArgs(
|
449
|
-
role="roles/secretmanager.secretAccessor",
|
450
|
-
members=["user:jane@example.com"],
|
451
|
-
condition=gcp.organizations.GetIAMPolicyBindingConditionArgs(
|
452
|
-
title="expires_after_2019_12_31",
|
453
|
-
description="Expiring at midnight of 2019-12-31",
|
454
|
-
expression="request.time < timestamp(\\"2020-01-01T00:00:00Z\\")",
|
455
|
-
),
|
456
|
-
)])
|
457
|
-
policy = gcp.secretmanager.SecretIamPolicy("policy",
|
458
|
-
project=secret_basic["project"],
|
459
|
-
secret_id=secret_basic["secretId"],
|
460
|
-
policy_data=admin.policy_data)
|
461
|
-
```
|
462
328
|
## secretmanager.SecretIamBinding
|
463
329
|
|
464
330
|
```python
|
@@ -472,23 +338,6 @@ class SecretIamPolicy(pulumi.CustomResource):
|
|
472
338
|
members=["user:jane@example.com"])
|
473
339
|
```
|
474
340
|
|
475
|
-
With IAM Conditions:
|
476
|
-
|
477
|
-
```python
|
478
|
-
import pulumi
|
479
|
-
import pulumi_gcp as gcp
|
480
|
-
|
481
|
-
binding = gcp.secretmanager.SecretIamBinding("binding",
|
482
|
-
project=secret_basic["project"],
|
483
|
-
secret_id=secret_basic["secretId"],
|
484
|
-
role="roles/secretmanager.secretAccessor",
|
485
|
-
members=["user:jane@example.com"],
|
486
|
-
condition=gcp.secretmanager.SecretIamBindingConditionArgs(
|
487
|
-
title="expires_after_2019_12_31",
|
488
|
-
description="Expiring at midnight of 2019-12-31",
|
489
|
-
expression="request.time < timestamp(\\"2020-01-01T00:00:00Z\\")",
|
490
|
-
))
|
491
|
-
```
|
492
341
|
## secretmanager.SecretIamMember
|
493
342
|
|
494
343
|
```python
|
@@ -502,24 +351,6 @@ class SecretIamPolicy(pulumi.CustomResource):
|
|
502
351
|
member="user:jane@example.com")
|
503
352
|
```
|
504
353
|
|
505
|
-
With IAM Conditions:
|
506
|
-
|
507
|
-
```python
|
508
|
-
import pulumi
|
509
|
-
import pulumi_gcp as gcp
|
510
|
-
|
511
|
-
member = gcp.secretmanager.SecretIamMember("member",
|
512
|
-
project=secret_basic["project"],
|
513
|
-
secret_id=secret_basic["secretId"],
|
514
|
-
role="roles/secretmanager.secretAccessor",
|
515
|
-
member="user:jane@example.com",
|
516
|
-
condition=gcp.secretmanager.SecretIamMemberConditionArgs(
|
517
|
-
title="expires_after_2019_12_31",
|
518
|
-
description="Expiring at midnight of 2019-12-31",
|
519
|
-
expression="request.time < timestamp(\\"2020-01-01T00:00:00Z\\")",
|
520
|
-
))
|
521
|
-
```
|
522
|
-
|
523
354
|
## secretmanager.SecretIamPolicy
|
524
355
|
|
525
356
|
```python
|
@@ -536,26 +367,6 @@ class SecretIamPolicy(pulumi.CustomResource):
|
|
536
367
|
policy_data=admin.policy_data)
|
537
368
|
```
|
538
369
|
|
539
|
-
With IAM Conditions:
|
540
|
-
|
541
|
-
```python
|
542
|
-
import pulumi
|
543
|
-
import pulumi_gcp as gcp
|
544
|
-
|
545
|
-
admin = gcp.organizations.get_iam_policy(bindings=[gcp.organizations.GetIAMPolicyBindingArgs(
|
546
|
-
role="roles/secretmanager.secretAccessor",
|
547
|
-
members=["user:jane@example.com"],
|
548
|
-
condition=gcp.organizations.GetIAMPolicyBindingConditionArgs(
|
549
|
-
title="expires_after_2019_12_31",
|
550
|
-
description="Expiring at midnight of 2019-12-31",
|
551
|
-
expression="request.time < timestamp(\\"2020-01-01T00:00:00Z\\")",
|
552
|
-
),
|
553
|
-
)])
|
554
|
-
policy = gcp.secretmanager.SecretIamPolicy("policy",
|
555
|
-
project=secret_basic["project"],
|
556
|
-
secret_id=secret_basic["secretId"],
|
557
|
-
policy_data=admin.policy_data)
|
558
|
-
```
|
559
370
|
## secretmanager.SecretIamBinding
|
560
371
|
|
561
372
|
```python
|
@@ -569,23 +380,6 @@ class SecretIamPolicy(pulumi.CustomResource):
|
|
569
380
|
members=["user:jane@example.com"])
|
570
381
|
```
|
571
382
|
|
572
|
-
With IAM Conditions:
|
573
|
-
|
574
|
-
```python
|
575
|
-
import pulumi
|
576
|
-
import pulumi_gcp as gcp
|
577
|
-
|
578
|
-
binding = gcp.secretmanager.SecretIamBinding("binding",
|
579
|
-
project=secret_basic["project"],
|
580
|
-
secret_id=secret_basic["secretId"],
|
581
|
-
role="roles/secretmanager.secretAccessor",
|
582
|
-
members=["user:jane@example.com"],
|
583
|
-
condition=gcp.secretmanager.SecretIamBindingConditionArgs(
|
584
|
-
title="expires_after_2019_12_31",
|
585
|
-
description="Expiring at midnight of 2019-12-31",
|
586
|
-
expression="request.time < timestamp(\\"2020-01-01T00:00:00Z\\")",
|
587
|
-
))
|
588
|
-
```
|
589
383
|
## secretmanager.SecretIamMember
|
590
384
|
|
591
385
|
```python
|
@@ -599,24 +393,6 @@ class SecretIamPolicy(pulumi.CustomResource):
|
|
599
393
|
member="user:jane@example.com")
|
600
394
|
```
|
601
395
|
|
602
|
-
With IAM Conditions:
|
603
|
-
|
604
|
-
```python
|
605
|
-
import pulumi
|
606
|
-
import pulumi_gcp as gcp
|
607
|
-
|
608
|
-
member = gcp.secretmanager.SecretIamMember("member",
|
609
|
-
project=secret_basic["project"],
|
610
|
-
secret_id=secret_basic["secretId"],
|
611
|
-
role="roles/secretmanager.secretAccessor",
|
612
|
-
member="user:jane@example.com",
|
613
|
-
condition=gcp.secretmanager.SecretIamMemberConditionArgs(
|
614
|
-
title="expires_after_2019_12_31",
|
615
|
-
description="Expiring at midnight of 2019-12-31",
|
616
|
-
expression="request.time < timestamp(\\"2020-01-01T00:00:00Z\\")",
|
617
|
-
))
|
618
|
-
```
|
619
|
-
|
620
396
|
## Import
|
621
397
|
|
622
398
|
For all import syntaxes, the "resource in question" can take any of the following forms:
|
@@ -11,7 +11,6 @@ from .get_source_iam_policy import *
|
|
11
11
|
from .instance_iam_binding import *
|
12
12
|
from .instance_iam_member import *
|
13
13
|
from .instance_iam_policy import *
|
14
|
-
from .management_organization_event_threat_detection_custom_module import *
|
15
14
|
from .mute_config import *
|
16
15
|
from .notification_config import *
|
17
16
|
from .organization_custom_module import *
|
pulumi_gcp/spanner/__init__.py
CHANGED
@@ -13,7 +13,6 @@ from .get_database_iam_policy import *
|
|
13
13
|
from .get_instance import *
|
14
14
|
from .get_instance_iam_policy import *
|
15
15
|
from .instance import *
|
16
|
-
from .instance_config import *
|
17
16
|
from .instance_iam_binding import *
|
18
17
|
from .instance_iam_member import *
|
19
18
|
from .instance_iam_policy import *
|
pulumi_gcp/spanner/_inputs.py
CHANGED
@@ -16,7 +16,6 @@ __all__ = [
|
|
16
16
|
'InstanceAutoscalingConfigArgs',
|
17
17
|
'InstanceAutoscalingConfigAutoscalingLimitsArgs',
|
18
18
|
'InstanceAutoscalingConfigAutoscalingTargetsArgs',
|
19
|
-
'InstanceConfigReplicaArgs',
|
20
19
|
'InstanceIAMBindingConditionArgs',
|
21
20
|
'InstanceIAMMemberConditionArgs',
|
22
21
|
]
|
@@ -326,73 +325,6 @@ class InstanceAutoscalingConfigAutoscalingTargetsArgs:
|
|
326
325
|
pulumi.set(self, "storage_utilization_percent", value)
|
327
326
|
|
328
327
|
|
329
|
-
@pulumi.input_type
|
330
|
-
class InstanceConfigReplicaArgs:
|
331
|
-
def __init__(__self__, *,
|
332
|
-
default_leader_location: Optional[pulumi.Input[bool]] = None,
|
333
|
-
location: Optional[pulumi.Input[str]] = None,
|
334
|
-
type: Optional[pulumi.Input[str]] = None):
|
335
|
-
"""
|
336
|
-
:param pulumi.Input[bool] default_leader_location: If true, this location is designated as the default leader location where
|
337
|
-
leader replicas are placed.
|
338
|
-
|
339
|
-
- - -
|
340
|
-
:param pulumi.Input[str] location: The location of the serving resources, e.g. "us-central1".
|
341
|
-
:param pulumi.Input[str] type: Indicates the type of replica. See the [replica types
|
342
|
-
documentation](https://cloud.google.com/spanner/docs/replication#replica_types)
|
343
|
-
for more details.
|
344
|
-
Possible values are: `READ_WRITE`, `READ_ONLY`, `WITNESS`.
|
345
|
-
"""
|
346
|
-
if default_leader_location is not None:
|
347
|
-
pulumi.set(__self__, "default_leader_location", default_leader_location)
|
348
|
-
if location is not None:
|
349
|
-
pulumi.set(__self__, "location", location)
|
350
|
-
if type is not None:
|
351
|
-
pulumi.set(__self__, "type", type)
|
352
|
-
|
353
|
-
@property
|
354
|
-
@pulumi.getter(name="defaultLeaderLocation")
|
355
|
-
def default_leader_location(self) -> Optional[pulumi.Input[bool]]:
|
356
|
-
"""
|
357
|
-
If true, this location is designated as the default leader location where
|
358
|
-
leader replicas are placed.
|
359
|
-
|
360
|
-
- - -
|
361
|
-
"""
|
362
|
-
return pulumi.get(self, "default_leader_location")
|
363
|
-
|
364
|
-
@default_leader_location.setter
|
365
|
-
def default_leader_location(self, value: Optional[pulumi.Input[bool]]):
|
366
|
-
pulumi.set(self, "default_leader_location", value)
|
367
|
-
|
368
|
-
@property
|
369
|
-
@pulumi.getter
|
370
|
-
def location(self) -> Optional[pulumi.Input[str]]:
|
371
|
-
"""
|
372
|
-
The location of the serving resources, e.g. "us-central1".
|
373
|
-
"""
|
374
|
-
return pulumi.get(self, "location")
|
375
|
-
|
376
|
-
@location.setter
|
377
|
-
def location(self, value: Optional[pulumi.Input[str]]):
|
378
|
-
pulumi.set(self, "location", value)
|
379
|
-
|
380
|
-
@property
|
381
|
-
@pulumi.getter
|
382
|
-
def type(self) -> Optional[pulumi.Input[str]]:
|
383
|
-
"""
|
384
|
-
Indicates the type of replica. See the [replica types
|
385
|
-
documentation](https://cloud.google.com/spanner/docs/replication#replica_types)
|
386
|
-
for more details.
|
387
|
-
Possible values are: `READ_WRITE`, `READ_ONLY`, `WITNESS`.
|
388
|
-
"""
|
389
|
-
return pulumi.get(self, "type")
|
390
|
-
|
391
|
-
@type.setter
|
392
|
-
def type(self, value: Optional[pulumi.Input[str]]):
|
393
|
-
pulumi.set(self, "type", value)
|
394
|
-
|
395
|
-
|
396
328
|
@pulumi.input_type
|
397
329
|
class InstanceIAMBindingConditionArgs:
|
398
330
|
def __init__(__self__, *,
|
pulumi_gcp/spanner/outputs.py
CHANGED
@@ -17,7 +17,6 @@ __all__ = [
|
|
17
17
|
'InstanceAutoscalingConfig',
|
18
18
|
'InstanceAutoscalingConfigAutoscalingLimits',
|
19
19
|
'InstanceAutoscalingConfigAutoscalingTargets',
|
20
|
-
'InstanceConfigReplica',
|
21
20
|
'InstanceIAMBindingCondition',
|
22
21
|
'InstanceIAMMemberCondition',
|
23
22
|
'GetInstanceAutoscalingConfigResult',
|
@@ -348,78 +347,6 @@ class InstanceAutoscalingConfigAutoscalingTargets(dict):
|
|
348
347
|
return pulumi.get(self, "storage_utilization_percent")
|
349
348
|
|
350
349
|
|
351
|
-
@pulumi.output_type
|
352
|
-
class InstanceConfigReplica(dict):
|
353
|
-
@staticmethod
|
354
|
-
def __key_warning(key: str):
|
355
|
-
suggest = None
|
356
|
-
if key == "defaultLeaderLocation":
|
357
|
-
suggest = "default_leader_location"
|
358
|
-
|
359
|
-
if suggest:
|
360
|
-
pulumi.log.warn(f"Key '{key}' not found in InstanceConfigReplica. Access the value via the '{suggest}' property getter instead.")
|
361
|
-
|
362
|
-
def __getitem__(self, key: str) -> Any:
|
363
|
-
InstanceConfigReplica.__key_warning(key)
|
364
|
-
return super().__getitem__(key)
|
365
|
-
|
366
|
-
def get(self, key: str, default = None) -> Any:
|
367
|
-
InstanceConfigReplica.__key_warning(key)
|
368
|
-
return super().get(key, default)
|
369
|
-
|
370
|
-
def __init__(__self__, *,
|
371
|
-
default_leader_location: Optional[bool] = None,
|
372
|
-
location: Optional[str] = None,
|
373
|
-
type: Optional[str] = None):
|
374
|
-
"""
|
375
|
-
:param bool default_leader_location: If true, this location is designated as the default leader location where
|
376
|
-
leader replicas are placed.
|
377
|
-
|
378
|
-
- - -
|
379
|
-
:param str location: The location of the serving resources, e.g. "us-central1".
|
380
|
-
:param str type: Indicates the type of replica. See the [replica types
|
381
|
-
documentation](https://cloud.google.com/spanner/docs/replication#replica_types)
|
382
|
-
for more details.
|
383
|
-
Possible values are: `READ_WRITE`, `READ_ONLY`, `WITNESS`.
|
384
|
-
"""
|
385
|
-
if default_leader_location is not None:
|
386
|
-
pulumi.set(__self__, "default_leader_location", default_leader_location)
|
387
|
-
if location is not None:
|
388
|
-
pulumi.set(__self__, "location", location)
|
389
|
-
if type is not None:
|
390
|
-
pulumi.set(__self__, "type", type)
|
391
|
-
|
392
|
-
@property
|
393
|
-
@pulumi.getter(name="defaultLeaderLocation")
|
394
|
-
def default_leader_location(self) -> Optional[bool]:
|
395
|
-
"""
|
396
|
-
If true, this location is designated as the default leader location where
|
397
|
-
leader replicas are placed.
|
398
|
-
|
399
|
-
- - -
|
400
|
-
"""
|
401
|
-
return pulumi.get(self, "default_leader_location")
|
402
|
-
|
403
|
-
@property
|
404
|
-
@pulumi.getter
|
405
|
-
def location(self) -> Optional[str]:
|
406
|
-
"""
|
407
|
-
The location of the serving resources, e.g. "us-central1".
|
408
|
-
"""
|
409
|
-
return pulumi.get(self, "location")
|
410
|
-
|
411
|
-
@property
|
412
|
-
@pulumi.getter
|
413
|
-
def type(self) -> Optional[str]:
|
414
|
-
"""
|
415
|
-
Indicates the type of replica. See the [replica types
|
416
|
-
documentation](https://cloud.google.com/spanner/docs/replication#replica_types)
|
417
|
-
for more details.
|
418
|
-
Possible values are: `READ_WRITE`, `READ_ONLY`, `WITNESS`.
|
419
|
-
"""
|
420
|
-
return pulumi.get(self, "type")
|
421
|
-
|
422
|
-
|
423
350
|
@pulumi.output_type
|
424
351
|
class InstanceIAMBindingCondition(dict):
|
425
352
|
def __init__(__self__, *,
|
pulumi_gcp/sql/_inputs.py
CHANGED
@@ -1399,7 +1399,7 @@ class DatabaseInstanceSettingsIpConfigurationArgs:
|
|
1399
1399
|
At least `ipv4_enabled` must be enabled or a `private_network` must be configured.
|
1400
1400
|
This setting can be updated, but it cannot be removed after it is set.
|
1401
1401
|
:param pulumi.Input[Sequence[pulumi.Input['DatabaseInstanceSettingsIpConfigurationPscConfigArgs']]] psc_configs: PSC settings for a Cloud SQL instance.
|
1402
|
-
:param pulumi.Input[bool] require_ssl: Whether SSL connections over IP are enforced or not. To change this field, also set the corresponding value in `ssl_mode`.
|
1402
|
+
:param pulumi.Input[bool] require_ssl: Whether SSL connections over IP are enforced or not. To change this field, also set the corresponding value in `ssl_mode`.
|
1403
1403
|
:param pulumi.Input[str] ssl_mode: Specify how SSL connection should be enforced in DB connections. This field provides more SSL enforcment options compared to `require_ssl`. To change this field, also set the correspoding value in `require_ssl`.
|
1404
1404
|
* For PostgreSQL instances, the value pairs are listed in the [API reference doc](https://cloud.google.com/sql/docs/postgres/admin-api/rest/v1beta4/instances#ipconfiguration) for `ssl_mode` field.
|
1405
1405
|
* For MySQL instances, use the same value pairs as the PostgreSQL instances.
|
@@ -1417,9 +1417,6 @@ class DatabaseInstanceSettingsIpConfigurationArgs:
|
|
1417
1417
|
pulumi.set(__self__, "private_network", private_network)
|
1418
1418
|
if psc_configs is not None:
|
1419
1419
|
pulumi.set(__self__, "psc_configs", psc_configs)
|
1420
|
-
if require_ssl is not None:
|
1421
|
-
warnings.warn("""`require_ssl` will be fully deprecated in a future major release. For now, please use `ssl_mode` with a compatible `require_ssl` value instead.""", DeprecationWarning)
|
1422
|
-
pulumi.log.warn("""require_ssl is deprecated: `require_ssl` will be fully deprecated in a future major release. For now, please use `ssl_mode` with a compatible `require_ssl` value instead.""")
|
1423
1420
|
if require_ssl is not None:
|
1424
1421
|
pulumi.set(__self__, "require_ssl", require_ssl)
|
1425
1422
|
if ssl_mode is not None:
|
@@ -1504,11 +1501,8 @@ class DatabaseInstanceSettingsIpConfigurationArgs:
|
|
1504
1501
|
@pulumi.getter(name="requireSsl")
|
1505
1502
|
def require_ssl(self) -> Optional[pulumi.Input[bool]]:
|
1506
1503
|
"""
|
1507
|
-
Whether SSL connections over IP are enforced or not. To change this field, also set the corresponding value in `ssl_mode`.
|
1504
|
+
Whether SSL connections over IP are enforced or not. To change this field, also set the corresponding value in `ssl_mode`.
|
1508
1505
|
"""
|
1509
|
-
warnings.warn("""`require_ssl` will be fully deprecated in a future major release. For now, please use `ssl_mode` with a compatible `require_ssl` value instead.""", DeprecationWarning)
|
1510
|
-
pulumi.log.warn("""require_ssl is deprecated: `require_ssl` will be fully deprecated in a future major release. For now, please use `ssl_mode` with a compatible `require_ssl` value instead.""")
|
1511
|
-
|
1512
1506
|
return pulumi.get(self, "require_ssl")
|
1513
1507
|
|
1514
1508
|
@require_ssl.setter
|
pulumi_gcp/sql/outputs.py
CHANGED
@@ -1473,7 +1473,7 @@ class DatabaseInstanceSettingsIpConfiguration(dict):
|
|
1473
1473
|
At least `ipv4_enabled` must be enabled or a `private_network` must be configured.
|
1474
1474
|
This setting can be updated, but it cannot be removed after it is set.
|
1475
1475
|
:param Sequence['DatabaseInstanceSettingsIpConfigurationPscConfigArgs'] psc_configs: PSC settings for a Cloud SQL instance.
|
1476
|
-
:param bool require_ssl: Whether SSL connections over IP are enforced or not. To change this field, also set the corresponding value in `ssl_mode`.
|
1476
|
+
:param bool require_ssl: Whether SSL connections over IP are enforced or not. To change this field, also set the corresponding value in `ssl_mode`.
|
1477
1477
|
:param str ssl_mode: Specify how SSL connection should be enforced in DB connections. This field provides more SSL enforcment options compared to `require_ssl`. To change this field, also set the correspoding value in `require_ssl`.
|
1478
1478
|
* For PostgreSQL instances, the value pairs are listed in the [API reference doc](https://cloud.google.com/sql/docs/postgres/admin-api/rest/v1beta4/instances#ipconfiguration) for `ssl_mode` field.
|
1479
1479
|
* For MySQL instances, use the same value pairs as the PostgreSQL instances.
|
@@ -1551,11 +1551,8 @@ class DatabaseInstanceSettingsIpConfiguration(dict):
|
|
1551
1551
|
@pulumi.getter(name="requireSsl")
|
1552
1552
|
def require_ssl(self) -> Optional[bool]:
|
1553
1553
|
"""
|
1554
|
-
Whether SSL connections over IP are enforced or not. To change this field, also set the corresponding value in `ssl_mode`.
|
1554
|
+
Whether SSL connections over IP are enforced or not. To change this field, also set the corresponding value in `ssl_mode`.
|
1555
1555
|
"""
|
1556
|
-
warnings.warn("""`require_ssl` will be fully deprecated in a future major release. For now, please use `ssl_mode` with a compatible `require_ssl` value instead.""", DeprecationWarning)
|
1557
|
-
pulumi.log.warn("""require_ssl is deprecated: `require_ssl` will be fully deprecated in a future major release. For now, please use `ssl_mode` with a compatible `require_ssl` value instead.""")
|
1558
|
-
|
1559
1556
|
return pulumi.get(self, "require_ssl")
|
1560
1557
|
|
1561
1558
|
@property
|
@@ -3139,7 +3136,7 @@ class GetDatabaseInstanceSettingIpConfigurationResult(dict):
|
|
3139
3136
|
:param str private_network: The VPC network from which the Cloud SQL instance is accessible for private IP. For example, projects/myProject/global/networks/default. Specifying a network enables private IP. At least ipv4_enabled must be enabled or a private_network must be configured. This setting can be updated, but it cannot be removed after it is set.
|
3140
3137
|
:param Sequence['GetDatabaseInstanceSettingIpConfigurationPscConfigArgs'] psc_configs: PSC settings for a Cloud SQL instance.
|
3141
3138
|
:param bool require_ssl: Whether SSL connections over IP are enforced or not. To change this field, also set the corresponding value in ssl_mode if it has been set too.
|
3142
|
-
:param str ssl_mode: Specify how SSL connection should be enforced in DB connections. This field provides more SSL enforcment options compared to require_ssl. To change this field, also set the correspoding value in require_ssl
|
3139
|
+
:param str ssl_mode: Specify how SSL connection should be enforced in DB connections. This field provides more SSL enforcment options compared to require_ssl. To change this field, also set the correspoding value in require_ssl.
|
3143
3140
|
"""
|
3144
3141
|
pulumi.set(__self__, "allocated_ip_range", allocated_ip_range)
|
3145
3142
|
pulumi.set(__self__, "authorized_networks", authorized_networks)
|
@@ -3207,7 +3204,7 @@ class GetDatabaseInstanceSettingIpConfigurationResult(dict):
|
|
3207
3204
|
@pulumi.getter(name="sslMode")
|
3208
3205
|
def ssl_mode(self) -> str:
|
3209
3206
|
"""
|
3210
|
-
Specify how SSL connection should be enforced in DB connections. This field provides more SSL enforcment options compared to require_ssl. To change this field, also set the correspoding value in require_ssl
|
3207
|
+
Specify how SSL connection should be enforced in DB connections. This field provides more SSL enforcment options compared to require_ssl. To change this field, also set the correspoding value in require_ssl.
|
3211
3208
|
"""
|
3212
3209
|
return pulumi.get(self, "ssl_mode")
|
3213
3210
|
|
@@ -4631,7 +4628,7 @@ class GetDatabaseInstancesInstanceSettingIpConfigurationResult(dict):
|
|
4631
4628
|
:param str private_network: The VPC network from which the Cloud SQL instance is accessible for private IP. For example, projects/myProject/global/networks/default. Specifying a network enables private IP. At least ipv4_enabled must be enabled or a private_network must be configured. This setting can be updated, but it cannot be removed after it is set.
|
4632
4629
|
:param Sequence['GetDatabaseInstancesInstanceSettingIpConfigurationPscConfigArgs'] psc_configs: PSC settings for a Cloud SQL instance.
|
4633
4630
|
:param bool require_ssl: Whether SSL connections over IP are enforced or not. To change this field, also set the corresponding value in ssl_mode if it has been set too.
|
4634
|
-
:param str ssl_mode: Specify how SSL connection should be enforced in DB connections. This field provides more SSL enforcment options compared to require_ssl. To change this field, also set the correspoding value in require_ssl
|
4631
|
+
:param str ssl_mode: Specify how SSL connection should be enforced in DB connections. This field provides more SSL enforcment options compared to require_ssl. To change this field, also set the correspoding value in require_ssl.
|
4635
4632
|
"""
|
4636
4633
|
pulumi.set(__self__, "allocated_ip_range", allocated_ip_range)
|
4637
4634
|
pulumi.set(__self__, "authorized_networks", authorized_networks)
|
@@ -4699,7 +4696,7 @@ class GetDatabaseInstancesInstanceSettingIpConfigurationResult(dict):
|
|
4699
4696
|
@pulumi.getter(name="sslMode")
|
4700
4697
|
def ssl_mode(self) -> str:
|
4701
4698
|
"""
|
4702
|
-
Specify how SSL connection should be enforced in DB connections. This field provides more SSL enforcment options compared to require_ssl. To change this field, also set the correspoding value in require_ssl
|
4699
|
+
Specify how SSL connection should be enforced in DB connections. This field provides more SSL enforcment options compared to require_ssl. To change this field, also set the correspoding value in require_ssl.
|
4703
4700
|
"""
|
4704
4701
|
return pulumi.get(self, "ssl_mode")
|
4705
4702
|
|