pulumi-gcp 7.12.0a1709365001__py3-none-any.whl → 7.13.0a1709814369__py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- pulumi_gcp/__init__.py +72 -0
- pulumi_gcp/appengine/application_url_dispatch_rules.py +2 -2
- pulumi_gcp/appengine/engine_split_traffic.py +4 -4
- pulumi_gcp/appengine/service_network_settings.py +2 -2
- pulumi_gcp/appengine/standard_app_version.py +4 -4
- pulumi_gcp/bigquery/_inputs.py +88 -0
- pulumi_gcp/bigquery/dataset_iam_binding.py +35 -28
- pulumi_gcp/bigquery/dataset_iam_member.py +35 -28
- pulumi_gcp/bigquery/dataset_iam_policy.py +35 -28
- pulumi_gcp/bigquery/outputs.py +91 -0
- pulumi_gcp/bigquery/routine.py +118 -12
- pulumi_gcp/certificatemanager/dns_authorization.py +63 -14
- pulumi_gcp/clouddeploy/__init__.py +4 -0
- pulumi_gcp/clouddeploy/_inputs.py +80 -0
- pulumi_gcp/clouddeploy/automation.py +16 -0
- pulumi_gcp/clouddeploy/get_target_iam_policy.py +162 -0
- pulumi_gcp/clouddeploy/outputs.py +56 -0
- pulumi_gcp/clouddeploy/target_iam_binding.py +324 -0
- pulumi_gcp/clouddeploy/target_iam_member.py +324 -0
- pulumi_gcp/clouddeploy/target_iam_policy.py +253 -0
- pulumi_gcp/cloudfunctionsv2/function.py +0 -2
- pulumi_gcp/cloudrunv2/_inputs.py +4 -2
- pulumi_gcp/cloudrunv2/outputs.py +8 -4
- pulumi_gcp/composer/_inputs.py +18 -2
- pulumi_gcp/composer/outputs.py +29 -4
- pulumi_gcp/compute/__init__.py +1 -0
- pulumi_gcp/compute/get_forwarding_rules.py +142 -0
- pulumi_gcp/compute/instance_group_membership.py +4 -4
- pulumi_gcp/compute/outputs.py +816 -0
- pulumi_gcp/compute/region_network_endpoint.py +2 -2
- pulumi_gcp/compute/region_target_https_proxy.py +162 -37
- pulumi_gcp/compute/router_nat.py +8 -8
- pulumi_gcp/container/_inputs.py +80 -0
- pulumi_gcp/container/cluster.py +20 -16
- pulumi_gcp/container/outputs.py +115 -1
- pulumi_gcp/firebase/__init__.py +4 -0
- pulumi_gcp/firebase/app_check_app_attest_config.py +461 -0
- pulumi_gcp/firebase/app_check_play_integrity_config.py +465 -0
- pulumi_gcp/firebase/app_check_recaptcha_enterprise_config.py +474 -0
- pulumi_gcp/firebase/app_check_recaptcha_v3_config.py +511 -0
- pulumi_gcp/gkehub/scope.py +85 -0
- pulumi_gcp/integrationconnectors/connection.py +4 -4
- pulumi_gcp/looker/_inputs.py +42 -0
- pulumi_gcp/looker/instance.py +90 -0
- pulumi_gcp/looker/outputs.py +34 -0
- pulumi_gcp/migrationcenter/__init__.py +3 -0
- pulumi_gcp/migrationcenter/_inputs.py +500 -0
- pulumi_gcp/migrationcenter/outputs.py +562 -0
- pulumi_gcp/migrationcenter/preference_set.py +687 -0
- pulumi_gcp/monitoring/custom_service.py +4 -2
- pulumi_gcp/monitoring/generic_service.py +4 -2
- pulumi_gcp/monitoring/get_app_engine_service.py +2 -2
- pulumi_gcp/netapp/__init__.py +1 -0
- pulumi_gcp/netapp/_inputs.py +275 -0
- pulumi_gcp/netapp/outputs.py +290 -0
- pulumi_gcp/netapp/volume.py +140 -2
- pulumi_gcp/netapp/volume_replication.py +1292 -0
- pulumi_gcp/notebooks/instance.py +1 -1
- pulumi_gcp/securityposture/_inputs.py +22 -19
- pulumi_gcp/securityposture/outputs.py +18 -15
- pulumi_gcp/securityposture/posture.py +28 -48
- pulumi_gcp/spanner/_inputs.py +20 -0
- pulumi_gcp/spanner/database_iam_binding.py +134 -0
- pulumi_gcp/spanner/database_iam_member.py +134 -0
- pulumi_gcp/spanner/database_iam_policy.py +114 -0
- pulumi_gcp/spanner/outputs.py +20 -0
- pulumi_gcp/workbench/_inputs.py +157 -2
- pulumi_gcp/workbench/instance.py +52 -0
- pulumi_gcp/workbench/outputs.py +154 -2
- {pulumi_gcp-7.12.0a1709365001.dist-info → pulumi_gcp-7.13.0a1709814369.dist-info}/METADATA +1 -1
- {pulumi_gcp-7.12.0a1709365001.dist-info → pulumi_gcp-7.13.0a1709814369.dist-info}/RECORD +73 -60
- {pulumi_gcp-7.12.0a1709365001.dist-info → pulumi_gcp-7.13.0a1709814369.dist-info}/WHEEL +0 -0
- {pulumi_gcp-7.12.0a1709365001.dist-info → pulumi_gcp-7.13.0a1709814369.dist-info}/top_level.txt +0 -0
@@ -252,7 +252,7 @@ class CustomService(pulumi.CustomResource):
|
|
252
252
|
__props__=None):
|
253
253
|
"""
|
254
254
|
A Service is a discrete, autonomous, and network-accessible unit,
|
255
|
-
designed to solve an individual concern
|
255
|
+
designed to solve an individual concern. In Cloud Monitoring,
|
256
256
|
a Service acts as the root resource under which operational aspects of
|
257
257
|
the service are accessible
|
258
258
|
|
@@ -262,6 +262,7 @@ class CustomService(pulumi.CustomResource):
|
|
262
262
|
* How-to Guides
|
263
263
|
* [Service Monitoring](https://cloud.google.com/monitoring/service-monitoring)
|
264
264
|
* [Monitoring API Documentation](https://cloud.google.com/monitoring/api/v3/)
|
265
|
+
* [Service-orientation on Wikipedia](https://en.wikipedia.org/wiki/Service-orientation)
|
265
266
|
|
266
267
|
## Example Usage
|
267
268
|
### Monitoring Service Custom
|
@@ -318,7 +319,7 @@ class CustomService(pulumi.CustomResource):
|
|
318
319
|
opts: Optional[pulumi.ResourceOptions] = None):
|
319
320
|
"""
|
320
321
|
A Service is a discrete, autonomous, and network-accessible unit,
|
321
|
-
designed to solve an individual concern
|
322
|
+
designed to solve an individual concern. In Cloud Monitoring,
|
322
323
|
a Service acts as the root resource under which operational aspects of
|
323
324
|
the service are accessible
|
324
325
|
|
@@ -328,6 +329,7 @@ class CustomService(pulumi.CustomResource):
|
|
328
329
|
* How-to Guides
|
329
330
|
* [Service Monitoring](https://cloud.google.com/monitoring/service-monitoring)
|
330
331
|
* [Monitoring API Documentation](https://cloud.google.com/monitoring/api/v3/)
|
332
|
+
* [Service-orientation on Wikipedia](https://en.wikipedia.org/wiki/Service-orientation)
|
331
333
|
|
332
334
|
## Example Usage
|
333
335
|
### Monitoring Service Custom
|
@@ -289,7 +289,7 @@ class GenericService(pulumi.CustomResource):
|
|
289
289
|
__props__=None):
|
290
290
|
"""
|
291
291
|
A Service is a discrete, autonomous, and network-accessible unit,
|
292
|
-
designed to solve an individual concern
|
292
|
+
designed to solve an individual concern. In Cloud Monitoring,
|
293
293
|
a Service acts as the root resource under which operational aspects of
|
294
294
|
the service are accessible
|
295
295
|
|
@@ -299,6 +299,7 @@ class GenericService(pulumi.CustomResource):
|
|
299
299
|
* How-to Guides
|
300
300
|
* [Service Monitoring](https://cloud.google.com/monitoring/service-monitoring)
|
301
301
|
* [Monitoring API Documentation](https://cloud.google.com/monitoring/api/v3/)
|
302
|
+
* [Service-orientation on Wikipedia](https://en.wikipedia.org/wiki/Service-orientation)
|
302
303
|
|
303
304
|
## Example Usage
|
304
305
|
### Monitoring Service Example
|
@@ -375,7 +376,7 @@ class GenericService(pulumi.CustomResource):
|
|
375
376
|
opts: Optional[pulumi.ResourceOptions] = None):
|
376
377
|
"""
|
377
378
|
A Service is a discrete, autonomous, and network-accessible unit,
|
378
|
-
designed to solve an individual concern
|
379
|
+
designed to solve an individual concern. In Cloud Monitoring,
|
379
380
|
a Service acts as the root resource under which operational aspects of
|
380
381
|
the service are accessible
|
381
382
|
|
@@ -385,6 +386,7 @@ class GenericService(pulumi.CustomResource):
|
|
385
386
|
* How-to Guides
|
386
387
|
* [Service Monitoring](https://cloud.google.com/monitoring/service-monitoring)
|
387
388
|
* [Monitoring API Documentation](https://cloud.google.com/monitoring/api/v3/)
|
389
|
+
* [Service-orientation on Wikipedia](https://en.wikipedia.org/wiki/Service-orientation)
|
388
390
|
|
389
391
|
## Example Usage
|
390
392
|
### Monitoring Service Example
|
@@ -153,7 +153,7 @@ def get_app_engine_service(module_id: Optional[str] = None,
|
|
153
153
|
myapp = gcp.appengine.StandardAppVersion("myapp",
|
154
154
|
version_id="v1",
|
155
155
|
service="myapp",
|
156
|
-
runtime="
|
156
|
+
runtime="nodejs20",
|
157
157
|
entrypoint=gcp.appengine.StandardAppVersionEntrypointArgs(
|
158
158
|
shell="node ./app.js",
|
159
159
|
),
|
@@ -233,7 +233,7 @@ def get_app_engine_service_output(module_id: Optional[pulumi.Input[str]] = None,
|
|
233
233
|
myapp = gcp.appengine.StandardAppVersion("myapp",
|
234
234
|
version_id="v1",
|
235
235
|
service="myapp",
|
236
|
-
runtime="
|
236
|
+
runtime="nodejs20",
|
237
237
|
entrypoint=gcp.appengine.StandardAppVersionEntrypointArgs(
|
238
238
|
shell="node ./app.js",
|
239
239
|
),
|
pulumi_gcp/netapp/__init__.py
CHANGED
pulumi_gcp/netapp/_inputs.py
CHANGED
@@ -13,6 +13,9 @@ __all__ = [
|
|
13
13
|
'VolumeExportPolicyArgs',
|
14
14
|
'VolumeExportPolicyRuleArgs',
|
15
15
|
'VolumeMountOptionArgs',
|
16
|
+
'VolumeReplicationDestinationVolumeParametersArgs',
|
17
|
+
'VolumeReplicationTransferStatArgs',
|
18
|
+
'VolumeRestoreParametersArgs',
|
16
19
|
'VolumeSnapshotPolicyArgs',
|
17
20
|
'VolumeSnapshotPolicyDailyScheduleArgs',
|
18
21
|
'VolumeSnapshotPolicyHourlyScheduleArgs',
|
@@ -312,6 +315,278 @@ class VolumeMountOptionArgs:
|
|
312
315
|
pulumi.set(self, "protocol", value)
|
313
316
|
|
314
317
|
|
318
|
+
@pulumi.input_type
|
319
|
+
class VolumeReplicationDestinationVolumeParametersArgs:
|
320
|
+
def __init__(__self__, *,
|
321
|
+
storage_pool: pulumi.Input[str],
|
322
|
+
description: Optional[pulumi.Input[str]] = None,
|
323
|
+
share_name: Optional[pulumi.Input[str]] = None,
|
324
|
+
volume_id: Optional[pulumi.Input[str]] = None):
|
325
|
+
"""
|
326
|
+
:param pulumi.Input[str] storage_pool: Name of an existing storage pool for the destination volume with format: `projects/{{project}}/locations/{{location}}/storagePools/{{poolId}}`
|
327
|
+
:param pulumi.Input[str] description: Description for the destination volume.
|
328
|
+
:param pulumi.Input[str] share_name: Share name for destination volume. If not specified, name of source volume's share name will be used.
|
329
|
+
:param pulumi.Input[str] volume_id: Name for the destination volume to be created. If not specified, the name of the source volume will be used.
|
330
|
+
"""
|
331
|
+
pulumi.set(__self__, "storage_pool", storage_pool)
|
332
|
+
if description is not None:
|
333
|
+
pulumi.set(__self__, "description", description)
|
334
|
+
if share_name is not None:
|
335
|
+
pulumi.set(__self__, "share_name", share_name)
|
336
|
+
if volume_id is not None:
|
337
|
+
pulumi.set(__self__, "volume_id", volume_id)
|
338
|
+
|
339
|
+
@property
|
340
|
+
@pulumi.getter(name="storagePool")
|
341
|
+
def storage_pool(self) -> pulumi.Input[str]:
|
342
|
+
"""
|
343
|
+
Name of an existing storage pool for the destination volume with format: `projects/{{project}}/locations/{{location}}/storagePools/{{poolId}}`
|
344
|
+
"""
|
345
|
+
return pulumi.get(self, "storage_pool")
|
346
|
+
|
347
|
+
@storage_pool.setter
|
348
|
+
def storage_pool(self, value: pulumi.Input[str]):
|
349
|
+
pulumi.set(self, "storage_pool", value)
|
350
|
+
|
351
|
+
@property
|
352
|
+
@pulumi.getter
|
353
|
+
def description(self) -> Optional[pulumi.Input[str]]:
|
354
|
+
"""
|
355
|
+
Description for the destination volume.
|
356
|
+
"""
|
357
|
+
return pulumi.get(self, "description")
|
358
|
+
|
359
|
+
@description.setter
|
360
|
+
def description(self, value: Optional[pulumi.Input[str]]):
|
361
|
+
pulumi.set(self, "description", value)
|
362
|
+
|
363
|
+
@property
|
364
|
+
@pulumi.getter(name="shareName")
|
365
|
+
def share_name(self) -> Optional[pulumi.Input[str]]:
|
366
|
+
"""
|
367
|
+
Share name for destination volume. If not specified, name of source volume's share name will be used.
|
368
|
+
"""
|
369
|
+
return pulumi.get(self, "share_name")
|
370
|
+
|
371
|
+
@share_name.setter
|
372
|
+
def share_name(self, value: Optional[pulumi.Input[str]]):
|
373
|
+
pulumi.set(self, "share_name", value)
|
374
|
+
|
375
|
+
@property
|
376
|
+
@pulumi.getter(name="volumeId")
|
377
|
+
def volume_id(self) -> Optional[pulumi.Input[str]]:
|
378
|
+
"""
|
379
|
+
Name for the destination volume to be created. If not specified, the name of the source volume will be used.
|
380
|
+
"""
|
381
|
+
return pulumi.get(self, "volume_id")
|
382
|
+
|
383
|
+
@volume_id.setter
|
384
|
+
def volume_id(self, value: Optional[pulumi.Input[str]]):
|
385
|
+
pulumi.set(self, "volume_id", value)
|
386
|
+
|
387
|
+
|
388
|
+
@pulumi.input_type
|
389
|
+
class VolumeReplicationTransferStatArgs:
|
390
|
+
def __init__(__self__, *,
|
391
|
+
lag_duration: Optional[pulumi.Input[str]] = None,
|
392
|
+
last_transfer_bytes: Optional[pulumi.Input[str]] = None,
|
393
|
+
last_transfer_duration: Optional[pulumi.Input[str]] = None,
|
394
|
+
last_transfer_end_time: Optional[pulumi.Input[str]] = None,
|
395
|
+
last_transfer_error: Optional[pulumi.Input[str]] = None,
|
396
|
+
total_transfer_duration: Optional[pulumi.Input[str]] = None,
|
397
|
+
transfer_bytes: Optional[pulumi.Input[str]] = None,
|
398
|
+
update_time: Optional[pulumi.Input[str]] = None):
|
399
|
+
"""
|
400
|
+
:param pulumi.Input[str] lag_duration: (Output)
|
401
|
+
The elapsed time since the creation of the snapshot on the source volume that was last replicated
|
402
|
+
to the destination volume. Lag time represents the difference in age of the destination volume
|
403
|
+
data in relation to the source volume data.
|
404
|
+
:param pulumi.Input[str] last_transfer_bytes: (Output)
|
405
|
+
Size of last completed transfer in bytes.
|
406
|
+
:param pulumi.Input[str] last_transfer_duration: (Output)
|
407
|
+
Time taken during last completed transfer.
|
408
|
+
:param pulumi.Input[str] last_transfer_end_time: (Output)
|
409
|
+
Time when last transfer completed. A timestamp in RFC3339 UTC "Zulu" format. Examples: "2023-06-22T09:13:01.617Z".
|
410
|
+
:param pulumi.Input[str] last_transfer_error: (Output)
|
411
|
+
A message describing the cause of the last transfer failure.
|
412
|
+
:param pulumi.Input[str] total_transfer_duration: (Output)
|
413
|
+
Total time taken so far during current transfer.
|
414
|
+
:param pulumi.Input[str] transfer_bytes: (Output)
|
415
|
+
Number of bytes transferred so far in current transfer.
|
416
|
+
:param pulumi.Input[str] update_time: (Output)
|
417
|
+
Time when progress was updated last. A timestamp in RFC3339 UTC "Zulu" format. Examples: "2023-06-22T09:13:01.617Z".
|
418
|
+
"""
|
419
|
+
if lag_duration is not None:
|
420
|
+
pulumi.set(__self__, "lag_duration", lag_duration)
|
421
|
+
if last_transfer_bytes is not None:
|
422
|
+
pulumi.set(__self__, "last_transfer_bytes", last_transfer_bytes)
|
423
|
+
if last_transfer_duration is not None:
|
424
|
+
pulumi.set(__self__, "last_transfer_duration", last_transfer_duration)
|
425
|
+
if last_transfer_end_time is not None:
|
426
|
+
pulumi.set(__self__, "last_transfer_end_time", last_transfer_end_time)
|
427
|
+
if last_transfer_error is not None:
|
428
|
+
pulumi.set(__self__, "last_transfer_error", last_transfer_error)
|
429
|
+
if total_transfer_duration is not None:
|
430
|
+
pulumi.set(__self__, "total_transfer_duration", total_transfer_duration)
|
431
|
+
if transfer_bytes is not None:
|
432
|
+
pulumi.set(__self__, "transfer_bytes", transfer_bytes)
|
433
|
+
if update_time is not None:
|
434
|
+
pulumi.set(__self__, "update_time", update_time)
|
435
|
+
|
436
|
+
@property
|
437
|
+
@pulumi.getter(name="lagDuration")
|
438
|
+
def lag_duration(self) -> Optional[pulumi.Input[str]]:
|
439
|
+
"""
|
440
|
+
(Output)
|
441
|
+
The elapsed time since the creation of the snapshot on the source volume that was last replicated
|
442
|
+
to the destination volume. Lag time represents the difference in age of the destination volume
|
443
|
+
data in relation to the source volume data.
|
444
|
+
"""
|
445
|
+
return pulumi.get(self, "lag_duration")
|
446
|
+
|
447
|
+
@lag_duration.setter
|
448
|
+
def lag_duration(self, value: Optional[pulumi.Input[str]]):
|
449
|
+
pulumi.set(self, "lag_duration", value)
|
450
|
+
|
451
|
+
@property
|
452
|
+
@pulumi.getter(name="lastTransferBytes")
|
453
|
+
def last_transfer_bytes(self) -> Optional[pulumi.Input[str]]:
|
454
|
+
"""
|
455
|
+
(Output)
|
456
|
+
Size of last completed transfer in bytes.
|
457
|
+
"""
|
458
|
+
return pulumi.get(self, "last_transfer_bytes")
|
459
|
+
|
460
|
+
@last_transfer_bytes.setter
|
461
|
+
def last_transfer_bytes(self, value: Optional[pulumi.Input[str]]):
|
462
|
+
pulumi.set(self, "last_transfer_bytes", value)
|
463
|
+
|
464
|
+
@property
|
465
|
+
@pulumi.getter(name="lastTransferDuration")
|
466
|
+
def last_transfer_duration(self) -> Optional[pulumi.Input[str]]:
|
467
|
+
"""
|
468
|
+
(Output)
|
469
|
+
Time taken during last completed transfer.
|
470
|
+
"""
|
471
|
+
return pulumi.get(self, "last_transfer_duration")
|
472
|
+
|
473
|
+
@last_transfer_duration.setter
|
474
|
+
def last_transfer_duration(self, value: Optional[pulumi.Input[str]]):
|
475
|
+
pulumi.set(self, "last_transfer_duration", value)
|
476
|
+
|
477
|
+
@property
|
478
|
+
@pulumi.getter(name="lastTransferEndTime")
|
479
|
+
def last_transfer_end_time(self) -> Optional[pulumi.Input[str]]:
|
480
|
+
"""
|
481
|
+
(Output)
|
482
|
+
Time when last transfer completed. A timestamp in RFC3339 UTC "Zulu" format. Examples: "2023-06-22T09:13:01.617Z".
|
483
|
+
"""
|
484
|
+
return pulumi.get(self, "last_transfer_end_time")
|
485
|
+
|
486
|
+
@last_transfer_end_time.setter
|
487
|
+
def last_transfer_end_time(self, value: Optional[pulumi.Input[str]]):
|
488
|
+
pulumi.set(self, "last_transfer_end_time", value)
|
489
|
+
|
490
|
+
@property
|
491
|
+
@pulumi.getter(name="lastTransferError")
|
492
|
+
def last_transfer_error(self) -> Optional[pulumi.Input[str]]:
|
493
|
+
"""
|
494
|
+
(Output)
|
495
|
+
A message describing the cause of the last transfer failure.
|
496
|
+
"""
|
497
|
+
return pulumi.get(self, "last_transfer_error")
|
498
|
+
|
499
|
+
@last_transfer_error.setter
|
500
|
+
def last_transfer_error(self, value: Optional[pulumi.Input[str]]):
|
501
|
+
pulumi.set(self, "last_transfer_error", value)
|
502
|
+
|
503
|
+
@property
|
504
|
+
@pulumi.getter(name="totalTransferDuration")
|
505
|
+
def total_transfer_duration(self) -> Optional[pulumi.Input[str]]:
|
506
|
+
"""
|
507
|
+
(Output)
|
508
|
+
Total time taken so far during current transfer.
|
509
|
+
"""
|
510
|
+
return pulumi.get(self, "total_transfer_duration")
|
511
|
+
|
512
|
+
@total_transfer_duration.setter
|
513
|
+
def total_transfer_duration(self, value: Optional[pulumi.Input[str]]):
|
514
|
+
pulumi.set(self, "total_transfer_duration", value)
|
515
|
+
|
516
|
+
@property
|
517
|
+
@pulumi.getter(name="transferBytes")
|
518
|
+
def transfer_bytes(self) -> Optional[pulumi.Input[str]]:
|
519
|
+
"""
|
520
|
+
(Output)
|
521
|
+
Number of bytes transferred so far in current transfer.
|
522
|
+
"""
|
523
|
+
return pulumi.get(self, "transfer_bytes")
|
524
|
+
|
525
|
+
@transfer_bytes.setter
|
526
|
+
def transfer_bytes(self, value: Optional[pulumi.Input[str]]):
|
527
|
+
pulumi.set(self, "transfer_bytes", value)
|
528
|
+
|
529
|
+
@property
|
530
|
+
@pulumi.getter(name="updateTime")
|
531
|
+
def update_time(self) -> Optional[pulumi.Input[str]]:
|
532
|
+
"""
|
533
|
+
(Output)
|
534
|
+
Time when progress was updated last. A timestamp in RFC3339 UTC "Zulu" format. Examples: "2023-06-22T09:13:01.617Z".
|
535
|
+
"""
|
536
|
+
return pulumi.get(self, "update_time")
|
537
|
+
|
538
|
+
@update_time.setter
|
539
|
+
def update_time(self, value: Optional[pulumi.Input[str]]):
|
540
|
+
pulumi.set(self, "update_time", value)
|
541
|
+
|
542
|
+
|
543
|
+
@pulumi.input_type
|
544
|
+
class VolumeRestoreParametersArgs:
|
545
|
+
def __init__(__self__, *,
|
546
|
+
source_backup: Optional[pulumi.Input[str]] = None,
|
547
|
+
source_snapshot: Optional[pulumi.Input[str]] = None):
|
548
|
+
"""
|
549
|
+
:param pulumi.Input[str] source_backup: Full name of the snapshot to use for creating this volume.
|
550
|
+
`source_snapshot` and `source_backup` cannot be used simultaneously.
|
551
|
+
Format: `projects/{{project}}/locations/{{location}}/backupVaults/{{backupVaultId}}/backups/{{backup}}`.
|
552
|
+
:param pulumi.Input[str] source_snapshot: Full name of the snapshot to use for creating this volume.
|
553
|
+
`source_snapshot` and `source_backup` cannot be used simultaneously.
|
554
|
+
Format: `projects/{{project}}/locations/{{location}}/volumes/{{volume}}/snapshots/{{snapshot}}`.
|
555
|
+
"""
|
556
|
+
if source_backup is not None:
|
557
|
+
pulumi.set(__self__, "source_backup", source_backup)
|
558
|
+
if source_snapshot is not None:
|
559
|
+
pulumi.set(__self__, "source_snapshot", source_snapshot)
|
560
|
+
|
561
|
+
@property
|
562
|
+
@pulumi.getter(name="sourceBackup")
|
563
|
+
def source_backup(self) -> Optional[pulumi.Input[str]]:
|
564
|
+
"""
|
565
|
+
Full name of the snapshot to use for creating this volume.
|
566
|
+
`source_snapshot` and `source_backup` cannot be used simultaneously.
|
567
|
+
Format: `projects/{{project}}/locations/{{location}}/backupVaults/{{backupVaultId}}/backups/{{backup}}`.
|
568
|
+
"""
|
569
|
+
return pulumi.get(self, "source_backup")
|
570
|
+
|
571
|
+
@source_backup.setter
|
572
|
+
def source_backup(self, value: Optional[pulumi.Input[str]]):
|
573
|
+
pulumi.set(self, "source_backup", value)
|
574
|
+
|
575
|
+
@property
|
576
|
+
@pulumi.getter(name="sourceSnapshot")
|
577
|
+
def source_snapshot(self) -> Optional[pulumi.Input[str]]:
|
578
|
+
"""
|
579
|
+
Full name of the snapshot to use for creating this volume.
|
580
|
+
`source_snapshot` and `source_backup` cannot be used simultaneously.
|
581
|
+
Format: `projects/{{project}}/locations/{{location}}/volumes/{{volume}}/snapshots/{{snapshot}}`.
|
582
|
+
"""
|
583
|
+
return pulumi.get(self, "source_snapshot")
|
584
|
+
|
585
|
+
@source_snapshot.setter
|
586
|
+
def source_snapshot(self, value: Optional[pulumi.Input[str]]):
|
587
|
+
pulumi.set(self, "source_snapshot", value)
|
588
|
+
|
589
|
+
|
315
590
|
@pulumi.input_type
|
316
591
|
class VolumeSnapshotPolicyArgs:
|
317
592
|
def __init__(__self__, *,
|