pulumi-gcp 8.26.0a1744267117__py3-none-any.whl → 8.27.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 +128 -0
- pulumi_gcp/accesscontextmanager/_inputs.py +117 -0
- pulumi_gcp/accesscontextmanager/gcp_user_access_binding.py +81 -26
- pulumi_gcp/accesscontextmanager/outputs.py +95 -0
- pulumi_gcp/apigee/__init__.py +1 -0
- pulumi_gcp/apigee/control_plane_access.py +419 -0
- pulumi_gcp/bigquery/_inputs.py +87 -30
- pulumi_gcp/bigquery/outputs.py +58 -20
- pulumi_gcp/bigquery/table.py +28 -14
- pulumi_gcp/clouddeploy/__init__.py +1 -0
- pulumi_gcp/clouddeploy/_inputs.py +2876 -1314
- pulumi_gcp/clouddeploy/automation.py +64 -2
- pulumi_gcp/clouddeploy/deploy_policy.py +1179 -0
- pulumi_gcp/clouddeploy/outputs.py +1130 -5
- pulumi_gcp/cloudrun/service.py +46 -0
- pulumi_gcp/cloudrunv2/get_service.py +12 -1
- pulumi_gcp/cloudrunv2/service.py +87 -2
- pulumi_gcp/compute/_inputs.py +448 -1
- pulumi_gcp/compute/image.py +183 -0
- pulumi_gcp/compute/outputs.py +387 -3
- pulumi_gcp/compute/region_backend_service.py +6 -2
- pulumi_gcp/compute/resource_policy.py +30 -0
- pulumi_gcp/compute/snapshot.py +6 -0
- pulumi_gcp/databasemigrationservice/_inputs.py +27 -24
- pulumi_gcp/databasemigrationservice/connection_profile.py +168 -0
- pulumi_gcp/databasemigrationservice/migration_job.py +6 -0
- pulumi_gcp/databasemigrationservice/outputs.py +18 -15
- pulumi_gcp/datastream/_inputs.py +506 -0
- pulumi_gcp/datastream/outputs.py +376 -0
- pulumi_gcp/datastream/stream.py +0 -2
- pulumi_gcp/developerconnect/__init__.py +1 -0
- pulumi_gcp/developerconnect/_inputs.py +77 -0
- pulumi_gcp/developerconnect/account_connector.py +866 -0
- pulumi_gcp/developerconnect/outputs.py +64 -0
- pulumi_gcp/firebase/hosting_version.py +34 -14
- pulumi_gcp/firestore/database.py +82 -0
- pulumi_gcp/firestore/index.py +263 -7
- pulumi_gcp/folder/__init__.py +1 -0
- pulumi_gcp/folder/service_identity.py +314 -0
- pulumi_gcp/gemini/__init__.py +2 -0
- pulumi_gcp/gemini/_inputs.py +176 -0
- pulumi_gcp/gemini/code_tools_setting.py +601 -0
- pulumi_gcp/gemini/code_tools_setting_binding.py +753 -0
- pulumi_gcp/gemini/outputs.py +124 -0
- pulumi_gcp/gkeonprem/v_mware_cluster.py +49 -0
- pulumi_gcp/gkeonprem/vmware_admin_cluster.py +28 -0
- pulumi_gcp/managedkafka/_inputs.py +6 -6
- pulumi_gcp/managedkafka/connect_cluster.py +84 -40
- pulumi_gcp/managedkafka/connector.py +98 -44
- pulumi_gcp/managedkafka/outputs.py +4 -4
- pulumi_gcp/memorystore/_inputs.py +205 -0
- pulumi_gcp/memorystore/get_instance.py +45 -1
- pulumi_gcp/memorystore/instance.py +194 -0
- pulumi_gcp/memorystore/outputs.py +270 -0
- pulumi_gcp/ml/engine_model.py +0 -22
- pulumi_gcp/monitoring/_inputs.py +37 -19
- pulumi_gcp/monitoring/outputs.py +39 -11
- pulumi_gcp/monitoring/uptime_check_config.py +8 -0
- pulumi_gcp/netapp/_inputs.py +92 -6
- pulumi_gcp/netapp/outputs.py +77 -4
- pulumi_gcp/netapp/volume_replication.py +12 -2
- pulumi_gcp/networkconnectivity/service_connection_policy.py +4 -2
- pulumi_gcp/networkconnectivity/spoke.py +14 -14
- pulumi_gcp/orgpolicy/policy.py +2 -2
- pulumi_gcp/osconfig/__init__.py +1 -0
- pulumi_gcp/osconfig/_inputs.py +5439 -0
- pulumi_gcp/osconfig/outputs.py +3978 -0
- pulumi_gcp/osconfig/v2_policy_orchestrator.py +8 -0
- pulumi_gcp/osconfig/v2_policy_orchestrator_for_organization.py +1055 -0
- pulumi_gcp/parametermanager/get_regional_parameter.py +12 -1
- pulumi_gcp/parametermanager/get_regional_parameter_version.py +15 -1
- pulumi_gcp/parametermanager/outputs.py +11 -0
- pulumi_gcp/parametermanager/regional_parameter.py +78 -0
- pulumi_gcp/parametermanager/regional_parameter_version.py +66 -0
- pulumi_gcp/pubsub/subscription.py +6 -6
- pulumi_gcp/pulumi-plugin.json +1 -1
- pulumi_gcp/redis/_inputs.py +69 -0
- pulumi_gcp/redis/cluster.py +140 -0
- pulumi_gcp/redis/outputs.py +40 -0
- pulumi_gcp/spanner/database.py +0 -34
- pulumi_gcp/storage/_inputs.py +111 -0
- pulumi_gcp/storage/bucket_object.py +28 -0
- pulumi_gcp/storage/control_folder_intelligence_config.py +32 -0
- pulumi_gcp/storage/control_organization_intelligence_config.py +32 -0
- pulumi_gcp/storage/control_project_intelligence_config.py +32 -0
- pulumi_gcp/storage/get_bucket_object.py +12 -1
- pulumi_gcp/storage/get_bucket_object_content.py +12 -1
- pulumi_gcp/storage/get_control_folder_intelligence_config.py +12 -1
- pulumi_gcp/storage/get_control_organization_intelligence_config.py +12 -1
- pulumi_gcp/storage/get_control_project_intelligence_config.py +12 -1
- pulumi_gcp/storage/outputs.py +174 -0
- pulumi_gcp/vertex/__init__.py +12 -0
- pulumi_gcp/vertex/_inputs.py +294 -0
- pulumi_gcp/vertex/ai_endpoint.py +4 -4
- pulumi_gcp/vertex/ai_feature_group.py +1 -1
- pulumi_gcp/vertex/ai_feature_group_iam_binding.py +583 -0
- pulumi_gcp/vertex/ai_feature_group_iam_member.py +583 -0
- pulumi_gcp/vertex/ai_feature_group_iam_policy.py +422 -0
- pulumi_gcp/vertex/ai_feature_online_store_featureview.py +26 -27
- pulumi_gcp/vertex/ai_feature_online_store_featureview_iam_binding.py +614 -0
- pulumi_gcp/vertex/ai_feature_online_store_featureview_iam_member.py +614 -0
- pulumi_gcp/vertex/ai_feature_online_store_featureview_iam_policy.py +453 -0
- pulumi_gcp/vertex/ai_feature_online_store_iam_binding.py +583 -0
- pulumi_gcp/vertex/ai_feature_online_store_iam_member.py +583 -0
- pulumi_gcp/vertex/ai_feature_online_store_iam_policy.py +422 -0
- pulumi_gcp/vertex/get_ai_feature_group_iam_policy.py +177 -0
- pulumi_gcp/vertex/get_ai_feature_online_store_featureview_iam_policy.py +194 -0
- pulumi_gcp/vertex/get_ai_feature_online_store_iam_policy.py +177 -0
- pulumi_gcp/vertex/outputs.py +168 -0
- pulumi_gcp/workbench/_inputs.py +60 -0
- pulumi_gcp/workbench/instance.py +48 -0
- pulumi_gcp/workbench/outputs.py +55 -0
- {pulumi_gcp-8.26.0a1744267117.dist-info → pulumi_gcp-8.27.0.dist-info}/METADATA +1 -1
- {pulumi_gcp-8.26.0a1744267117.dist-info → pulumi_gcp-8.27.0.dist-info}/RECORD +116 -97
- {pulumi_gcp-8.26.0a1744267117.dist-info → pulumi_gcp-8.27.0.dist-info}/WHEEL +0 -0
- {pulumi_gcp-8.26.0a1744267117.dist-info → pulumi_gcp-8.27.0.dist-info}/top_level.txt +0 -0
pulumi_gcp/netapp/_inputs.py
CHANGED
@@ -26,6 +26,8 @@ __all__ = [
|
|
26
26
|
'VolumeMountOptionArgsDict',
|
27
27
|
'VolumeReplicationDestinationVolumeParametersArgs',
|
28
28
|
'VolumeReplicationDestinationVolumeParametersArgsDict',
|
29
|
+
'VolumeReplicationDestinationVolumeParametersTieringPolicyArgs',
|
30
|
+
'VolumeReplicationDestinationVolumeParametersTieringPolicyArgsDict',
|
29
31
|
'VolumeReplicationTransferStatArgs',
|
30
32
|
'VolumeReplicationTransferStatArgsDict',
|
31
33
|
'VolumeRestoreParametersArgs',
|
@@ -514,6 +516,11 @@ if not MYPY:
|
|
514
516
|
"""
|
515
517
|
Share name for destination volume. If not specified, name of source volume's share name will be used.
|
516
518
|
"""
|
519
|
+
tiering_policy: NotRequired[pulumi.Input['VolumeReplicationDestinationVolumeParametersTieringPolicyArgsDict']]
|
520
|
+
"""
|
521
|
+
Tiering policy for the volume.
|
522
|
+
Structure is documented below.
|
523
|
+
"""
|
517
524
|
volume_id: NotRequired[pulumi.Input[builtins.str]]
|
518
525
|
"""
|
519
526
|
Name for the destination volume to be created. If not specified, the name of the source volume will be used.
|
@@ -527,11 +534,14 @@ class VolumeReplicationDestinationVolumeParametersArgs:
|
|
527
534
|
storage_pool: pulumi.Input[builtins.str],
|
528
535
|
description: Optional[pulumi.Input[builtins.str]] = None,
|
529
536
|
share_name: Optional[pulumi.Input[builtins.str]] = None,
|
537
|
+
tiering_policy: Optional[pulumi.Input['VolumeReplicationDestinationVolumeParametersTieringPolicyArgs']] = None,
|
530
538
|
volume_id: Optional[pulumi.Input[builtins.str]] = None):
|
531
539
|
"""
|
532
540
|
:param pulumi.Input[builtins.str] storage_pool: Name of an existing storage pool for the destination volume with format: `projects/{{project}}/locations/{{location}}/storagePools/{{poolId}}`
|
533
541
|
:param pulumi.Input[builtins.str] description: Description for the destination volume.
|
534
542
|
:param pulumi.Input[builtins.str] share_name: Share name for destination volume. If not specified, name of source volume's share name will be used.
|
543
|
+
:param pulumi.Input['VolumeReplicationDestinationVolumeParametersTieringPolicyArgs'] tiering_policy: Tiering policy for the volume.
|
544
|
+
Structure is documented below.
|
535
545
|
:param pulumi.Input[builtins.str] volume_id: Name for the destination volume to be created. If not specified, the name of the source volume will be used.
|
536
546
|
"""
|
537
547
|
pulumi.set(__self__, "storage_pool", storage_pool)
|
@@ -539,6 +549,8 @@ class VolumeReplicationDestinationVolumeParametersArgs:
|
|
539
549
|
pulumi.set(__self__, "description", description)
|
540
550
|
if share_name is not None:
|
541
551
|
pulumi.set(__self__, "share_name", share_name)
|
552
|
+
if tiering_policy is not None:
|
553
|
+
pulumi.set(__self__, "tiering_policy", tiering_policy)
|
542
554
|
if volume_id is not None:
|
543
555
|
pulumi.set(__self__, "volume_id", volume_id)
|
544
556
|
|
@@ -578,6 +590,19 @@ class VolumeReplicationDestinationVolumeParametersArgs:
|
|
578
590
|
def share_name(self, value: Optional[pulumi.Input[builtins.str]]):
|
579
591
|
pulumi.set(self, "share_name", value)
|
580
592
|
|
593
|
+
@property
|
594
|
+
@pulumi.getter(name="tieringPolicy")
|
595
|
+
def tiering_policy(self) -> Optional[pulumi.Input['VolumeReplicationDestinationVolumeParametersTieringPolicyArgs']]:
|
596
|
+
"""
|
597
|
+
Tiering policy for the volume.
|
598
|
+
Structure is documented below.
|
599
|
+
"""
|
600
|
+
return pulumi.get(self, "tiering_policy")
|
601
|
+
|
602
|
+
@tiering_policy.setter
|
603
|
+
def tiering_policy(self, value: Optional[pulumi.Input['VolumeReplicationDestinationVolumeParametersTieringPolicyArgs']]):
|
604
|
+
pulumi.set(self, "tiering_policy", value)
|
605
|
+
|
581
606
|
@property
|
582
607
|
@pulumi.getter(name="volumeId")
|
583
608
|
def volume_id(self) -> Optional[pulumi.Input[builtins.str]]:
|
@@ -591,6 +616,67 @@ class VolumeReplicationDestinationVolumeParametersArgs:
|
|
591
616
|
pulumi.set(self, "volume_id", value)
|
592
617
|
|
593
618
|
|
619
|
+
if not MYPY:
|
620
|
+
class VolumeReplicationDestinationVolumeParametersTieringPolicyArgsDict(TypedDict):
|
621
|
+
cooling_threshold_days: NotRequired[pulumi.Input[builtins.int]]
|
622
|
+
"""
|
623
|
+
Optional. Time in days to mark the volume's data block as cold and make it eligible for tiering, can be range from 2-183.
|
624
|
+
Default is 31.
|
625
|
+
"""
|
626
|
+
tier_action: NotRequired[pulumi.Input[builtins.str]]
|
627
|
+
"""
|
628
|
+
Optional. Flag indicating if the volume has tiering policy enable/pause. Default is PAUSED.
|
629
|
+
Default value is `PAUSED`.
|
630
|
+
Possible values are: `ENABLED`, `PAUSED`.
|
631
|
+
"""
|
632
|
+
elif False:
|
633
|
+
VolumeReplicationDestinationVolumeParametersTieringPolicyArgsDict: TypeAlias = Mapping[str, Any]
|
634
|
+
|
635
|
+
@pulumi.input_type
|
636
|
+
class VolumeReplicationDestinationVolumeParametersTieringPolicyArgs:
|
637
|
+
def __init__(__self__, *,
|
638
|
+
cooling_threshold_days: Optional[pulumi.Input[builtins.int]] = None,
|
639
|
+
tier_action: Optional[pulumi.Input[builtins.str]] = None):
|
640
|
+
"""
|
641
|
+
:param pulumi.Input[builtins.int] cooling_threshold_days: Optional. Time in days to mark the volume's data block as cold and make it eligible for tiering, can be range from 2-183.
|
642
|
+
Default is 31.
|
643
|
+
:param pulumi.Input[builtins.str] tier_action: Optional. Flag indicating if the volume has tiering policy enable/pause. Default is PAUSED.
|
644
|
+
Default value is `PAUSED`.
|
645
|
+
Possible values are: `ENABLED`, `PAUSED`.
|
646
|
+
"""
|
647
|
+
if cooling_threshold_days is not None:
|
648
|
+
pulumi.set(__self__, "cooling_threshold_days", cooling_threshold_days)
|
649
|
+
if tier_action is not None:
|
650
|
+
pulumi.set(__self__, "tier_action", tier_action)
|
651
|
+
|
652
|
+
@property
|
653
|
+
@pulumi.getter(name="coolingThresholdDays")
|
654
|
+
def cooling_threshold_days(self) -> Optional[pulumi.Input[builtins.int]]:
|
655
|
+
"""
|
656
|
+
Optional. Time in days to mark the volume's data block as cold and make it eligible for tiering, can be range from 2-183.
|
657
|
+
Default is 31.
|
658
|
+
"""
|
659
|
+
return pulumi.get(self, "cooling_threshold_days")
|
660
|
+
|
661
|
+
@cooling_threshold_days.setter
|
662
|
+
def cooling_threshold_days(self, value: Optional[pulumi.Input[builtins.int]]):
|
663
|
+
pulumi.set(self, "cooling_threshold_days", value)
|
664
|
+
|
665
|
+
@property
|
666
|
+
@pulumi.getter(name="tierAction")
|
667
|
+
def tier_action(self) -> Optional[pulumi.Input[builtins.str]]:
|
668
|
+
"""
|
669
|
+
Optional. Flag indicating if the volume has tiering policy enable/pause. Default is PAUSED.
|
670
|
+
Default value is `PAUSED`.
|
671
|
+
Possible values are: `ENABLED`, `PAUSED`.
|
672
|
+
"""
|
673
|
+
return pulumi.get(self, "tier_action")
|
674
|
+
|
675
|
+
@tier_action.setter
|
676
|
+
def tier_action(self, value: Optional[pulumi.Input[builtins.str]]):
|
677
|
+
pulumi.set(self, "tier_action", value)
|
678
|
+
|
679
|
+
|
594
680
|
if not MYPY:
|
595
681
|
class VolumeReplicationTransferStatArgsDict(TypedDict):
|
596
682
|
lag_duration: NotRequired[pulumi.Input[builtins.str]]
|
@@ -797,7 +883,7 @@ if not MYPY:
|
|
797
883
|
class VolumeRestoreParametersArgsDict(TypedDict):
|
798
884
|
source_backup: NotRequired[pulumi.Input[builtins.str]]
|
799
885
|
"""
|
800
|
-
Full name of the
|
886
|
+
Full name of the backup to use for creating this volume.
|
801
887
|
`source_snapshot` and `source_backup` cannot be used simultaneously.
|
802
888
|
Format: `projects/{{project}}/locations/{{location}}/backupVaults/{{backupVaultId}}/backups/{{backup}}`.
|
803
889
|
"""
|
@@ -816,7 +902,7 @@ class VolumeRestoreParametersArgs:
|
|
816
902
|
source_backup: Optional[pulumi.Input[builtins.str]] = None,
|
817
903
|
source_snapshot: Optional[pulumi.Input[builtins.str]] = None):
|
818
904
|
"""
|
819
|
-
:param pulumi.Input[builtins.str] source_backup: Full name of the
|
905
|
+
:param pulumi.Input[builtins.str] source_backup: Full name of the backup to use for creating this volume.
|
820
906
|
`source_snapshot` and `source_backup` cannot be used simultaneously.
|
821
907
|
Format: `projects/{{project}}/locations/{{location}}/backupVaults/{{backupVaultId}}/backups/{{backup}}`.
|
822
908
|
:param pulumi.Input[builtins.str] source_snapshot: Full name of the snapshot to use for creating this volume.
|
@@ -832,7 +918,7 @@ class VolumeRestoreParametersArgs:
|
|
832
918
|
@pulumi.getter(name="sourceBackup")
|
833
919
|
def source_backup(self) -> Optional[pulumi.Input[builtins.str]]:
|
834
920
|
"""
|
835
|
-
Full name of the
|
921
|
+
Full name of the backup to use for creating this volume.
|
836
922
|
`source_snapshot` and `source_backup` cannot be used simultaneously.
|
837
923
|
Format: `projects/{{project}}/locations/{{location}}/backupVaults/{{backupVaultId}}/backups/{{backup}}`.
|
838
924
|
"""
|
@@ -1292,7 +1378,7 @@ if not MYPY:
|
|
1292
1378
|
class VolumeTieringPolicyArgsDict(TypedDict):
|
1293
1379
|
cooling_threshold_days: NotRequired[pulumi.Input[builtins.int]]
|
1294
1380
|
"""
|
1295
|
-
Optional. Time in days to mark the volume's data block as cold and make it eligible for tiering, can be range from
|
1381
|
+
Optional. Time in days to mark the volume's data block as cold and make it eligible for tiering, can be range from 2-183.
|
1296
1382
|
Default is 31.
|
1297
1383
|
"""
|
1298
1384
|
tier_action: NotRequired[pulumi.Input[builtins.str]]
|
@@ -1310,7 +1396,7 @@ class VolumeTieringPolicyArgs:
|
|
1310
1396
|
cooling_threshold_days: Optional[pulumi.Input[builtins.int]] = None,
|
1311
1397
|
tier_action: Optional[pulumi.Input[builtins.str]] = None):
|
1312
1398
|
"""
|
1313
|
-
:param pulumi.Input[builtins.int] cooling_threshold_days: Optional. Time in days to mark the volume's data block as cold and make it eligible for tiering, can be range from
|
1399
|
+
:param pulumi.Input[builtins.int] cooling_threshold_days: Optional. Time in days to mark the volume's data block as cold and make it eligible for tiering, can be range from 2-183.
|
1314
1400
|
Default is 31.
|
1315
1401
|
:param pulumi.Input[builtins.str] tier_action: Optional. Flag indicating if the volume has tiering policy enable/pause. Default is PAUSED.
|
1316
1402
|
Default value is `PAUSED`.
|
@@ -1325,7 +1411,7 @@ class VolumeTieringPolicyArgs:
|
|
1325
1411
|
@pulumi.getter(name="coolingThresholdDays")
|
1326
1412
|
def cooling_threshold_days(self) -> Optional[pulumi.Input[builtins.int]]:
|
1327
1413
|
"""
|
1328
|
-
Optional. Time in days to mark the volume's data block as cold and make it eligible for tiering, can be range from
|
1414
|
+
Optional. Time in days to mark the volume's data block as cold and make it eligible for tiering, can be range from 2-183.
|
1329
1415
|
Default is 31.
|
1330
1416
|
"""
|
1331
1417
|
return pulumi.get(self, "cooling_threshold_days")
|
pulumi_gcp/netapp/outputs.py
CHANGED
@@ -22,6 +22,7 @@ __all__ = [
|
|
22
22
|
'VolumeExportPolicyRule',
|
23
23
|
'VolumeMountOption',
|
24
24
|
'VolumeReplicationDestinationVolumeParameters',
|
25
|
+
'VolumeReplicationDestinationVolumeParametersTieringPolicy',
|
25
26
|
'VolumeReplicationTransferStat',
|
26
27
|
'VolumeRestoreParameters',
|
27
28
|
'VolumeSnapshotPolicy',
|
@@ -385,6 +386,8 @@ class VolumeReplicationDestinationVolumeParameters(dict):
|
|
385
386
|
suggest = "storage_pool"
|
386
387
|
elif key == "shareName":
|
387
388
|
suggest = "share_name"
|
389
|
+
elif key == "tieringPolicy":
|
390
|
+
suggest = "tiering_policy"
|
388
391
|
elif key == "volumeId":
|
389
392
|
suggest = "volume_id"
|
390
393
|
|
@@ -403,11 +406,14 @@ class VolumeReplicationDestinationVolumeParameters(dict):
|
|
403
406
|
storage_pool: builtins.str,
|
404
407
|
description: Optional[builtins.str] = None,
|
405
408
|
share_name: Optional[builtins.str] = None,
|
409
|
+
tiering_policy: Optional['outputs.VolumeReplicationDestinationVolumeParametersTieringPolicy'] = None,
|
406
410
|
volume_id: Optional[builtins.str] = None):
|
407
411
|
"""
|
408
412
|
:param builtins.str storage_pool: Name of an existing storage pool for the destination volume with format: `projects/{{project}}/locations/{{location}}/storagePools/{{poolId}}`
|
409
413
|
:param builtins.str description: Description for the destination volume.
|
410
414
|
:param builtins.str share_name: Share name for destination volume. If not specified, name of source volume's share name will be used.
|
415
|
+
:param 'VolumeReplicationDestinationVolumeParametersTieringPolicyArgs' tiering_policy: Tiering policy for the volume.
|
416
|
+
Structure is documented below.
|
411
417
|
:param builtins.str volume_id: Name for the destination volume to be created. If not specified, the name of the source volume will be used.
|
412
418
|
"""
|
413
419
|
pulumi.set(__self__, "storage_pool", storage_pool)
|
@@ -415,6 +421,8 @@ class VolumeReplicationDestinationVolumeParameters(dict):
|
|
415
421
|
pulumi.set(__self__, "description", description)
|
416
422
|
if share_name is not None:
|
417
423
|
pulumi.set(__self__, "share_name", share_name)
|
424
|
+
if tiering_policy is not None:
|
425
|
+
pulumi.set(__self__, "tiering_policy", tiering_policy)
|
418
426
|
if volume_id is not None:
|
419
427
|
pulumi.set(__self__, "volume_id", volume_id)
|
420
428
|
|
@@ -442,6 +450,15 @@ class VolumeReplicationDestinationVolumeParameters(dict):
|
|
442
450
|
"""
|
443
451
|
return pulumi.get(self, "share_name")
|
444
452
|
|
453
|
+
@property
|
454
|
+
@pulumi.getter(name="tieringPolicy")
|
455
|
+
def tiering_policy(self) -> Optional['outputs.VolumeReplicationDestinationVolumeParametersTieringPolicy']:
|
456
|
+
"""
|
457
|
+
Tiering policy for the volume.
|
458
|
+
Structure is documented below.
|
459
|
+
"""
|
460
|
+
return pulumi.get(self, "tiering_policy")
|
461
|
+
|
445
462
|
@property
|
446
463
|
@pulumi.getter(name="volumeId")
|
447
464
|
def volume_id(self) -> Optional[builtins.str]:
|
@@ -451,6 +468,62 @@ class VolumeReplicationDestinationVolumeParameters(dict):
|
|
451
468
|
return pulumi.get(self, "volume_id")
|
452
469
|
|
453
470
|
|
471
|
+
@pulumi.output_type
|
472
|
+
class VolumeReplicationDestinationVolumeParametersTieringPolicy(dict):
|
473
|
+
@staticmethod
|
474
|
+
def __key_warning(key: str):
|
475
|
+
suggest = None
|
476
|
+
if key == "coolingThresholdDays":
|
477
|
+
suggest = "cooling_threshold_days"
|
478
|
+
elif key == "tierAction":
|
479
|
+
suggest = "tier_action"
|
480
|
+
|
481
|
+
if suggest:
|
482
|
+
pulumi.log.warn(f"Key '{key}' not found in VolumeReplicationDestinationVolumeParametersTieringPolicy. Access the value via the '{suggest}' property getter instead.")
|
483
|
+
|
484
|
+
def __getitem__(self, key: str) -> Any:
|
485
|
+
VolumeReplicationDestinationVolumeParametersTieringPolicy.__key_warning(key)
|
486
|
+
return super().__getitem__(key)
|
487
|
+
|
488
|
+
def get(self, key: str, default = None) -> Any:
|
489
|
+
VolumeReplicationDestinationVolumeParametersTieringPolicy.__key_warning(key)
|
490
|
+
return super().get(key, default)
|
491
|
+
|
492
|
+
def __init__(__self__, *,
|
493
|
+
cooling_threshold_days: Optional[builtins.int] = None,
|
494
|
+
tier_action: Optional[builtins.str] = None):
|
495
|
+
"""
|
496
|
+
:param builtins.int cooling_threshold_days: Optional. Time in days to mark the volume's data block as cold and make it eligible for tiering, can be range from 2-183.
|
497
|
+
Default is 31.
|
498
|
+
:param builtins.str tier_action: Optional. Flag indicating if the volume has tiering policy enable/pause. Default is PAUSED.
|
499
|
+
Default value is `PAUSED`.
|
500
|
+
Possible values are: `ENABLED`, `PAUSED`.
|
501
|
+
"""
|
502
|
+
if cooling_threshold_days is not None:
|
503
|
+
pulumi.set(__self__, "cooling_threshold_days", cooling_threshold_days)
|
504
|
+
if tier_action is not None:
|
505
|
+
pulumi.set(__self__, "tier_action", tier_action)
|
506
|
+
|
507
|
+
@property
|
508
|
+
@pulumi.getter(name="coolingThresholdDays")
|
509
|
+
def cooling_threshold_days(self) -> Optional[builtins.int]:
|
510
|
+
"""
|
511
|
+
Optional. Time in days to mark the volume's data block as cold and make it eligible for tiering, can be range from 2-183.
|
512
|
+
Default is 31.
|
513
|
+
"""
|
514
|
+
return pulumi.get(self, "cooling_threshold_days")
|
515
|
+
|
516
|
+
@property
|
517
|
+
@pulumi.getter(name="tierAction")
|
518
|
+
def tier_action(self) -> Optional[builtins.str]:
|
519
|
+
"""
|
520
|
+
Optional. Flag indicating if the volume has tiering policy enable/pause. Default is PAUSED.
|
521
|
+
Default value is `PAUSED`.
|
522
|
+
Possible values are: `ENABLED`, `PAUSED`.
|
523
|
+
"""
|
524
|
+
return pulumi.get(self, "tier_action")
|
525
|
+
|
526
|
+
|
454
527
|
@pulumi.output_type
|
455
528
|
class VolumeReplicationTransferStat(dict):
|
456
529
|
@staticmethod
|
@@ -630,7 +703,7 @@ class VolumeRestoreParameters(dict):
|
|
630
703
|
source_backup: Optional[builtins.str] = None,
|
631
704
|
source_snapshot: Optional[builtins.str] = None):
|
632
705
|
"""
|
633
|
-
:param builtins.str source_backup: Full name of the
|
706
|
+
:param builtins.str source_backup: Full name of the backup to use for creating this volume.
|
634
707
|
`source_snapshot` and `source_backup` cannot be used simultaneously.
|
635
708
|
Format: `projects/{{project}}/locations/{{location}}/backupVaults/{{backupVaultId}}/backups/{{backup}}`.
|
636
709
|
:param builtins.str source_snapshot: Full name of the snapshot to use for creating this volume.
|
@@ -646,7 +719,7 @@ class VolumeRestoreParameters(dict):
|
|
646
719
|
@pulumi.getter(name="sourceBackup")
|
647
720
|
def source_backup(self) -> Optional[builtins.str]:
|
648
721
|
"""
|
649
|
-
Full name of the
|
722
|
+
Full name of the backup to use for creating this volume.
|
650
723
|
`source_snapshot` and `source_backup` cannot be used simultaneously.
|
651
724
|
Format: `projects/{{project}}/locations/{{location}}/backupVaults/{{backupVaultId}}/backups/{{backup}}`.
|
652
725
|
"""
|
@@ -1038,7 +1111,7 @@ class VolumeTieringPolicy(dict):
|
|
1038
1111
|
cooling_threshold_days: Optional[builtins.int] = None,
|
1039
1112
|
tier_action: Optional[builtins.str] = None):
|
1040
1113
|
"""
|
1041
|
-
:param builtins.int cooling_threshold_days: Optional. Time in days to mark the volume's data block as cold and make it eligible for tiering, can be range from
|
1114
|
+
:param builtins.int cooling_threshold_days: Optional. Time in days to mark the volume's data block as cold and make it eligible for tiering, can be range from 2-183.
|
1042
1115
|
Default is 31.
|
1043
1116
|
:param builtins.str tier_action: Optional. Flag indicating if the volume has tiering policy enable/pause. Default is PAUSED.
|
1044
1117
|
Default value is `PAUSED`.
|
@@ -1053,7 +1126,7 @@ class VolumeTieringPolicy(dict):
|
|
1053
1126
|
@pulumi.getter(name="coolingThresholdDays")
|
1054
1127
|
def cooling_threshold_days(self) -> Optional[builtins.int]:
|
1055
1128
|
"""
|
1056
|
-
Optional. Time in days to mark the volume's data block as cold and make it eligible for tiering, can be range from
|
1129
|
+
Optional. Time in days to mark the volume's data block as cold and make it eligible for tiering, can be range from 2-183.
|
1057
1130
|
Default is 31.
|
1058
1131
|
"""
|
1059
1132
|
return pulumi.get(self, "cooling_threshold_days")
|
@@ -693,7 +693,8 @@ class VolumeReplication(pulumi.CustomResource):
|
|
693
693
|
location="us-west2",
|
694
694
|
service_level="PREMIUM",
|
695
695
|
capacity_gib="2048",
|
696
|
-
network=default.id
|
696
|
+
network=default.id,
|
697
|
+
allow_auto_tiering=True)
|
697
698
|
source_volume = gcp.netapp.Volume("source_volume",
|
698
699
|
location=source_pool.location,
|
699
700
|
name="source-volume",
|
@@ -713,6 +714,10 @@ class VolumeReplication(pulumi.CustomResource):
|
|
713
714
|
"volume_id": "destination-volume",
|
714
715
|
"share_name": "source-volume",
|
715
716
|
"description": "This is a replicated volume",
|
717
|
+
"tiering_policy": {
|
718
|
+
"cooling_threshold_days": 20,
|
719
|
+
"tier_action": "ENABLED",
|
720
|
+
},
|
716
721
|
},
|
717
722
|
delete_destination_volume=True,
|
718
723
|
wait_for_mirror=True,
|
@@ -798,7 +803,8 @@ class VolumeReplication(pulumi.CustomResource):
|
|
798
803
|
location="us-west2",
|
799
804
|
service_level="PREMIUM",
|
800
805
|
capacity_gib="2048",
|
801
|
-
network=default.id
|
806
|
+
network=default.id,
|
807
|
+
allow_auto_tiering=True)
|
802
808
|
source_volume = gcp.netapp.Volume("source_volume",
|
803
809
|
location=source_pool.location,
|
804
810
|
name="source-volume",
|
@@ -818,6 +824,10 @@ class VolumeReplication(pulumi.CustomResource):
|
|
818
824
|
"volume_id": "destination-volume",
|
819
825
|
"share_name": "source-volume",
|
820
826
|
"description": "This is a replicated volume",
|
827
|
+
"tiering_policy": {
|
828
|
+
"cooling_threshold_days": 20,
|
829
|
+
"tier_action": "ENABLED",
|
830
|
+
},
|
821
831
|
},
|
822
832
|
delete_destination_volume=True,
|
823
833
|
wait_for_mirror=True,
|
@@ -459,9 +459,10 @@ class ServiceConnectionPolicy(pulumi.CustomResource):
|
|
459
459
|
|
460
460
|
To get more information about ServiceConnectionPolicy, see:
|
461
461
|
|
462
|
-
* [API documentation](https://cloud.google.com/
|
462
|
+
* [API documentation](https://cloud.google.com/network-connectivity/docs/reference/networkconnectivity/rest/v1/projects.locations.serviceConnectionPolicies)
|
463
463
|
* How-to Guides
|
464
464
|
* [About Service Connection Policies](https://cloud.google.com/vpc/docs/about-service-connection-policies#service-policies)
|
465
|
+
* [About Service Connectivity Automation](https://cloud.google.com/vpc/docs/about-service-connectivity-automation)
|
465
466
|
|
466
467
|
## Example Usage
|
467
468
|
|
@@ -546,9 +547,10 @@ class ServiceConnectionPolicy(pulumi.CustomResource):
|
|
546
547
|
|
547
548
|
To get more information about ServiceConnectionPolicy, see:
|
548
549
|
|
549
|
-
* [API documentation](https://cloud.google.com/
|
550
|
+
* [API documentation](https://cloud.google.com/network-connectivity/docs/reference/networkconnectivity/rest/v1/projects.locations.serviceConnectionPolicies)
|
550
551
|
* How-to Guides
|
551
552
|
* [About Service Connection Policies](https://cloud.google.com/vpc/docs/about-service-connection-policies#service-policies)
|
553
|
+
* [About Service Connectivity Automation](https://cloud.google.com/vpc/docs/about-service-connectivity-automation)
|
552
554
|
|
553
555
|
## Example Usage
|
554
556
|
|
@@ -670,15 +670,15 @@ class Spoke(pulumi.CustomResource):
|
|
670
670
|
import pulumi_gcp as gcp
|
671
671
|
|
672
672
|
network = gcp.compute.Network("network",
|
673
|
-
name="tf-test-
|
673
|
+
name="tf-test-network_40289",
|
674
674
|
auto_create_subnetworks=False)
|
675
675
|
subnetwork = gcp.compute.Subnetwork("subnetwork",
|
676
|
-
name="tf-test-
|
676
|
+
name="tf-test-subnet_33395",
|
677
677
|
ip_cidr_range="10.0.0.0/28",
|
678
678
|
region="us-central1",
|
679
679
|
network=network.self_link)
|
680
680
|
instance = gcp.compute.Instance("instance",
|
681
|
-
name="tf-test-
|
681
|
+
name="tf-test-instance_76044",
|
682
682
|
machine_type="e2-medium",
|
683
683
|
can_ip_forward=True,
|
684
684
|
zone="us-central1-a",
|
@@ -695,13 +695,13 @@ class Spoke(pulumi.CustomResource):
|
|
695
695
|
}],
|
696
696
|
}])
|
697
697
|
basic_hub = gcp.networkconnectivity.Hub("basic_hub",
|
698
|
-
name="tf-test-
|
698
|
+
name="tf-test-hub_69391",
|
699
699
|
description="A sample hub",
|
700
700
|
labels={
|
701
701
|
"label-two": "value-one",
|
702
702
|
})
|
703
703
|
primary = gcp.networkconnectivity.Spoke("primary",
|
704
|
-
name="tf-test-
|
704
|
+
name="tf-test-name_8270",
|
705
705
|
location="us-central1",
|
706
706
|
description="A sample spoke with a linked routher appliance instance",
|
707
707
|
labels={
|
@@ -933,8 +933,8 @@ class Spoke(pulumi.CustomResource):
|
|
933
933
|
hub=star_hub.id,
|
934
934
|
auto_accept={
|
935
935
|
"auto_accept_projects": [
|
936
|
-
"
|
937
|
-
"
|
936
|
+
"foo_41150",
|
937
|
+
"bar_89313",
|
938
938
|
],
|
939
939
|
})
|
940
940
|
primary = gcp.networkconnectivity.Spoke("primary",
|
@@ -1131,15 +1131,15 @@ class Spoke(pulumi.CustomResource):
|
|
1131
1131
|
import pulumi_gcp as gcp
|
1132
1132
|
|
1133
1133
|
network = gcp.compute.Network("network",
|
1134
|
-
name="tf-test-
|
1134
|
+
name="tf-test-network_40289",
|
1135
1135
|
auto_create_subnetworks=False)
|
1136
1136
|
subnetwork = gcp.compute.Subnetwork("subnetwork",
|
1137
|
-
name="tf-test-
|
1137
|
+
name="tf-test-subnet_33395",
|
1138
1138
|
ip_cidr_range="10.0.0.0/28",
|
1139
1139
|
region="us-central1",
|
1140
1140
|
network=network.self_link)
|
1141
1141
|
instance = gcp.compute.Instance("instance",
|
1142
|
-
name="tf-test-
|
1142
|
+
name="tf-test-instance_76044",
|
1143
1143
|
machine_type="e2-medium",
|
1144
1144
|
can_ip_forward=True,
|
1145
1145
|
zone="us-central1-a",
|
@@ -1156,13 +1156,13 @@ class Spoke(pulumi.CustomResource):
|
|
1156
1156
|
}],
|
1157
1157
|
}])
|
1158
1158
|
basic_hub = gcp.networkconnectivity.Hub("basic_hub",
|
1159
|
-
name="tf-test-
|
1159
|
+
name="tf-test-hub_69391",
|
1160
1160
|
description="A sample hub",
|
1161
1161
|
labels={
|
1162
1162
|
"label-two": "value-one",
|
1163
1163
|
})
|
1164
1164
|
primary = gcp.networkconnectivity.Spoke("primary",
|
1165
|
-
name="tf-test-
|
1165
|
+
name="tf-test-name_8270",
|
1166
1166
|
location="us-central1",
|
1167
1167
|
description="A sample spoke with a linked routher appliance instance",
|
1168
1168
|
labels={
|
@@ -1394,8 +1394,8 @@ class Spoke(pulumi.CustomResource):
|
|
1394
1394
|
hub=star_hub.id,
|
1395
1395
|
auto_accept={
|
1396
1396
|
"auto_accept_projects": [
|
1397
|
-
"
|
1398
|
-
"
|
1397
|
+
"foo_41150",
|
1398
|
+
"bar_89313",
|
1399
1399
|
],
|
1400
1400
|
})
|
1401
1401
|
primary = gcp.networkconnectivity.Spoke("primary",
|
pulumi_gcp/orgpolicy/policy.py
CHANGED
@@ -314,7 +314,7 @@ class Policy(pulumi.CustomResource):
|
|
314
314
|
import pulumi_gcp as gcp
|
315
315
|
|
316
316
|
constraint = gcp.orgpolicy.CustomConstraint("constraint",
|
317
|
-
name="custom.
|
317
|
+
name="custom.disableGkeAutoUpgrade_9394",
|
318
318
|
parent="organizations/123456789",
|
319
319
|
display_name="Disable GKE auto upgrade",
|
320
320
|
description="Only allow GKE NodePool resource to be created or updated if AutoUpgrade is not enabled where this custom constraint is enforced.",
|
@@ -503,7 +503,7 @@ class Policy(pulumi.CustomResource):
|
|
503
503
|
import pulumi_gcp as gcp
|
504
504
|
|
505
505
|
constraint = gcp.orgpolicy.CustomConstraint("constraint",
|
506
|
-
name="custom.
|
506
|
+
name="custom.disableGkeAutoUpgrade_9394",
|
507
507
|
parent="organizations/123456789",
|
508
508
|
display_name="Disable GKE auto upgrade",
|
509
509
|
description="Only allow GKE NodePool resource to be created or updated if AutoUpgrade is not enabled where this custom constraint is enforced.",
|
pulumi_gcp/osconfig/__init__.py
CHANGED