pulumi-gcp 7.26.0a1717725112__py3-none-any.whl → 7.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 +32 -0
- pulumi_gcp/appengine/_inputs.py +40 -0
- pulumi_gcp/appengine/flexible_app_version.py +47 -0
- pulumi_gcp/appengine/outputs.py +51 -0
- pulumi_gcp/bigtable/instance.py +47 -0
- pulumi_gcp/clouddeploy/_inputs.py +16 -0
- pulumi_gcp/clouddeploy/outputs.py +12 -0
- pulumi_gcp/compute/__init__.py +2 -0
- pulumi_gcp/compute/_inputs.py +84 -0
- pulumi_gcp/compute/backend_service.py +54 -0
- pulumi_gcp/compute/disk.py +68 -0
- pulumi_gcp/compute/get_backend_service.py +11 -1
- pulumi_gcp/compute/get_disk.py +11 -1
- pulumi_gcp/compute/get_instance.py +11 -1
- pulumi_gcp/compute/get_instance_group_manager.py +31 -1
- pulumi_gcp/compute/get_instance_template.py +11 -1
- pulumi_gcp/compute/get_region_instance_template.py +11 -1
- pulumi_gcp/compute/get_security_policy.py +214 -0
- pulumi_gcp/compute/instance.py +47 -0
- pulumi_gcp/compute/instance_from_machine_image.py +47 -0
- pulumi_gcp/compute/instance_from_template.py +47 -0
- pulumi_gcp/compute/instance_group_manager.py +185 -0
- pulumi_gcp/compute/instance_template.py +47 -0
- pulumi_gcp/compute/outputs.py +1039 -0
- pulumi_gcp/compute/project_cloud_armor_tier.py +336 -0
- pulumi_gcp/compute/region_instance_group_manager.py +185 -0
- pulumi_gcp/compute/region_instance_template.py +47 -0
- pulumi_gcp/config/__init__.pyi +2 -0
- pulumi_gcp/config/vars.py +4 -0
- pulumi_gcp/container/_inputs.py +33 -4
- pulumi_gcp/container/cluster.py +61 -0
- pulumi_gcp/container/get_cluster.py +11 -1
- pulumi_gcp/container/outputs.py +48 -4
- pulumi_gcp/dataloss/_inputs.py +185 -19
- pulumi_gcp/dataloss/outputs.py +206 -17
- pulumi_gcp/dataloss/prevention_inspect_template.py +54 -0
- pulumi_gcp/gkebackup/_inputs.py +282 -7
- pulumi_gcp/gkebackup/backup_plan.py +100 -0
- pulumi_gcp/gkebackup/outputs.py +312 -7
- pulumi_gcp/gkebackup/restore_plan.py +326 -0
- pulumi_gcp/gkebackup/restore_plan_iam_binding.py +326 -0
- pulumi_gcp/gkebackup/restore_plan_iam_member.py +326 -0
- pulumi_gcp/gkebackup/restore_plan_iam_policy.py +326 -0
- pulumi_gcp/healthcare/_inputs.py +17 -1
- pulumi_gcp/healthcare/dicom_store.py +2 -0
- pulumi_gcp/healthcare/fhir_store.py +44 -60
- pulumi_gcp/healthcare/outputs.py +15 -1
- pulumi_gcp/integrationconnectors/endpoint_attachment.py +47 -0
- pulumi_gcp/kms/crypto_key.py +14 -7
- pulumi_gcp/netapp/_inputs.py +58 -0
- pulumi_gcp/netapp/outputs.py +67 -0
- pulumi_gcp/netapp/volume.py +54 -0
- pulumi_gcp/networkservices/__init__.py +1 -0
- pulumi_gcp/networkservices/_inputs.py +47 -0
- pulumi_gcp/networkservices/outputs.py +56 -0
- pulumi_gcp/networkservices/service_lb_policies.py +782 -0
- pulumi_gcp/provider.py +20 -0
- pulumi_gcp/pulumi-plugin.json +1 -1
- pulumi_gcp/redis/_inputs.py +44 -0
- pulumi_gcp/redis/cluster.py +128 -3
- pulumi_gcp/redis/outputs.py +36 -0
- pulumi_gcp/secretmanager/_inputs.py +20 -0
- pulumi_gcp/secretmanager/outputs.py +20 -0
- pulumi_gcp/secretmanager/secret_iam_binding.py +244 -0
- pulumi_gcp/secretmanager/secret_iam_member.py +244 -0
- pulumi_gcp/secretmanager/secret_iam_policy.py +224 -0
- pulumi_gcp/securitycenter/__init__.py +1 -0
- pulumi_gcp/securitycenter/management_organization_event_threat_detection_custom_module.py +568 -0
- pulumi_gcp/spanner/__init__.py +1 -0
- pulumi_gcp/spanner/_inputs.py +68 -0
- pulumi_gcp/spanner/instance_config.py +569 -0
- pulumi_gcp/spanner/outputs.py +73 -0
- pulumi_gcp/sql/_inputs.py +8 -2
- pulumi_gcp/sql/outputs.py +9 -6
- pulumi_gcp/workstations/_inputs.py +51 -1
- pulumi_gcp/workstations/outputs.py +46 -2
- pulumi_gcp/workstations/workstation_config.py +10 -4
- {pulumi_gcp-7.26.0a1717725112.dist-info → pulumi_gcp-7.27.0.dist-info}/METADATA +1 -1
- {pulumi_gcp-7.26.0a1717725112.dist-info → pulumi_gcp-7.27.0.dist-info}/RECORD +81 -76
- {pulumi_gcp-7.26.0a1717725112.dist-info → pulumi_gcp-7.27.0.dist-info}/WHEEL +0 -0
- {pulumi_gcp-7.26.0a1717725112.dist-info → pulumi_gcp-7.27.0.dist-info}/top_level.txt +0 -0
pulumi_gcp/gkebackup/outputs.py
CHANGED
@@ -32,6 +32,10 @@ __all__ = [
|
|
32
32
|
'RestorePlanRestoreConfigClusterResourceRestoreScopeExcludedGroupKind',
|
33
33
|
'RestorePlanRestoreConfigClusterResourceRestoreScopeSelectedGroupKind',
|
34
34
|
'RestorePlanRestoreConfigExcludedNamespaces',
|
35
|
+
'RestorePlanRestoreConfigRestoreOrder',
|
36
|
+
'RestorePlanRestoreConfigRestoreOrderGroupKindDependency',
|
37
|
+
'RestorePlanRestoreConfigRestoreOrderGroupKindDependencyRequiring',
|
38
|
+
'RestorePlanRestoreConfigRestoreOrderGroupKindDependencySatisfying',
|
35
39
|
'RestorePlanRestoreConfigSelectedApplications',
|
36
40
|
'RestorePlanRestoreConfigSelectedApplicationsNamespacedName',
|
37
41
|
'RestorePlanRestoreConfigSelectedNamespaces',
|
@@ -39,6 +43,7 @@ __all__ = [
|
|
39
43
|
'RestorePlanRestoreConfigTransformationRuleFieldAction',
|
40
44
|
'RestorePlanRestoreConfigTransformationRuleResourceFilter',
|
41
45
|
'RestorePlanRestoreConfigTransformationRuleResourceFilterGroupKind',
|
46
|
+
'RestorePlanRestoreConfigVolumeDataRestorePolicyBinding',
|
42
47
|
]
|
43
48
|
|
44
49
|
@pulumi.output_type
|
@@ -54,6 +59,8 @@ class BackupPlanBackupConfig(dict):
|
|
54
59
|
suggest = "include_secrets"
|
55
60
|
elif key == "includeVolumeData":
|
56
61
|
suggest = "include_volume_data"
|
62
|
+
elif key == "permissiveMode":
|
63
|
+
suggest = "permissive_mode"
|
57
64
|
elif key == "selectedApplications":
|
58
65
|
suggest = "selected_applications"
|
59
66
|
elif key == "selectedNamespaces":
|
@@ -75,6 +82,7 @@ class BackupPlanBackupConfig(dict):
|
|
75
82
|
encryption_key: Optional['outputs.BackupPlanBackupConfigEncryptionKey'] = None,
|
76
83
|
include_secrets: Optional[bool] = None,
|
77
84
|
include_volume_data: Optional[bool] = None,
|
85
|
+
permissive_mode: Optional[bool] = None,
|
78
86
|
selected_applications: Optional['outputs.BackupPlanBackupConfigSelectedApplications'] = None,
|
79
87
|
selected_namespaces: Optional['outputs.BackupPlanBackupConfigSelectedNamespaces'] = None):
|
80
88
|
"""
|
@@ -86,6 +94,9 @@ class BackupPlanBackupConfig(dict):
|
|
86
94
|
when they fall into the scope of Backups.
|
87
95
|
:param bool include_volume_data: This flag specifies whether volume data should be backed up when PVCs are
|
88
96
|
included in the scope of a Backup.
|
97
|
+
:param bool permissive_mode: This flag specifies whether Backups will not fail when
|
98
|
+
Backup for GKE detects Kubernetes configuration that is
|
99
|
+
non-standard or requires additional setup to restore.
|
89
100
|
:param 'BackupPlanBackupConfigSelectedApplicationsArgs' selected_applications: A list of namespaced Kubernetes Resources.
|
90
101
|
Structure is documented below.
|
91
102
|
:param 'BackupPlanBackupConfigSelectedNamespacesArgs' selected_namespaces: If set, include just the resources in the listed namespaces.
|
@@ -99,6 +110,8 @@ class BackupPlanBackupConfig(dict):
|
|
99
110
|
pulumi.set(__self__, "include_secrets", include_secrets)
|
100
111
|
if include_volume_data is not None:
|
101
112
|
pulumi.set(__self__, "include_volume_data", include_volume_data)
|
113
|
+
if permissive_mode is not None:
|
114
|
+
pulumi.set(__self__, "permissive_mode", permissive_mode)
|
102
115
|
if selected_applications is not None:
|
103
116
|
pulumi.set(__self__, "selected_applications", selected_applications)
|
104
117
|
if selected_namespaces is not None:
|
@@ -140,6 +153,16 @@ class BackupPlanBackupConfig(dict):
|
|
140
153
|
"""
|
141
154
|
return pulumi.get(self, "include_volume_data")
|
142
155
|
|
156
|
+
@property
|
157
|
+
@pulumi.getter(name="permissiveMode")
|
158
|
+
def permissive_mode(self) -> Optional[bool]:
|
159
|
+
"""
|
160
|
+
This flag specifies whether Backups will not fail when
|
161
|
+
Backup for GKE detects Kubernetes configuration that is
|
162
|
+
non-standard or requires additional setup to restore.
|
163
|
+
"""
|
164
|
+
return pulumi.get(self, "permissive_mode")
|
165
|
+
|
143
166
|
@property
|
144
167
|
@pulumi.getter(name="selectedApplications")
|
145
168
|
def selected_applications(self) -> Optional['outputs.BackupPlanBackupConfigSelectedApplications']:
|
@@ -894,6 +917,8 @@ class RestorePlanRestoreConfig(dict):
|
|
894
917
|
suggest = "namespaced_resource_restore_mode"
|
895
918
|
elif key == "noNamespaces":
|
896
919
|
suggest = "no_namespaces"
|
920
|
+
elif key == "restoreOrder":
|
921
|
+
suggest = "restore_order"
|
897
922
|
elif key == "selectedApplications":
|
898
923
|
suggest = "selected_applications"
|
899
924
|
elif key == "selectedNamespaces":
|
@@ -902,6 +927,8 @@ class RestorePlanRestoreConfig(dict):
|
|
902
927
|
suggest = "transformation_rules"
|
903
928
|
elif key == "volumeDataRestorePolicy":
|
904
929
|
suggest = "volume_data_restore_policy"
|
930
|
+
elif key == "volumeDataRestorePolicyBindings":
|
931
|
+
suggest = "volume_data_restore_policy_bindings"
|
905
932
|
|
906
933
|
if suggest:
|
907
934
|
pulumi.log.warn(f"Key '{key}' not found in RestorePlanRestoreConfig. Access the value via the '{suggest}' property getter instead.")
|
@@ -921,10 +948,12 @@ class RestorePlanRestoreConfig(dict):
|
|
921
948
|
excluded_namespaces: Optional['outputs.RestorePlanRestoreConfigExcludedNamespaces'] = None,
|
922
949
|
namespaced_resource_restore_mode: Optional[str] = None,
|
923
950
|
no_namespaces: Optional[bool] = None,
|
951
|
+
restore_order: Optional['outputs.RestorePlanRestoreConfigRestoreOrder'] = None,
|
924
952
|
selected_applications: Optional['outputs.RestorePlanRestoreConfigSelectedApplications'] = None,
|
925
953
|
selected_namespaces: Optional['outputs.RestorePlanRestoreConfigSelectedNamespaces'] = None,
|
926
954
|
transformation_rules: Optional[Sequence['outputs.RestorePlanRestoreConfigTransformationRule']] = None,
|
927
|
-
volume_data_restore_policy: Optional[str] = None
|
955
|
+
volume_data_restore_policy: Optional[str] = None,
|
956
|
+
volume_data_restore_policy_bindings: Optional[Sequence['outputs.RestorePlanRestoreConfigVolumeDataRestorePolicyBinding']] = None):
|
928
957
|
"""
|
929
958
|
:param bool all_namespaces: If True, restore all namespaced resources in the Backup.
|
930
959
|
Setting this field to False will result in an error.
|
@@ -946,9 +975,11 @@ class RestorePlanRestoreConfig(dict):
|
|
946
975
|
if the `namespacedResourceRestoreScope` is anything other than `noNamespaces`.
|
947
976
|
See https://cloud.google.com/kubernetes-engine/docs/add-on/backup-for-gke/reference/rest/v1/RestoreConfig#namespacedresourcerestoremode
|
948
977
|
for more information on each mode.
|
949
|
-
Possible values are: `DELETE_AND_RESTORE`, `FAIL_ON_CONFLICT`.
|
978
|
+
Possible values are: `DELETE_AND_RESTORE`, `FAIL_ON_CONFLICT`, `MERGE_SKIP_ON_CONFLICT`, `MERGE_REPLACE_VOLUME_ON_CONFLICT`, `MERGE_REPLACE_ON_CONFLICT`.
|
950
979
|
:param bool no_namespaces: Do not restore any namespaced resources if set to "True".
|
951
980
|
Specifying this field to "False" is not allowed.
|
981
|
+
:param 'RestorePlanRestoreConfigRestoreOrderArgs' restore_order: It contains custom ordering to use on a Restore.
|
982
|
+
Structure is documented below.
|
952
983
|
:param 'RestorePlanRestoreConfigSelectedApplicationsArgs' selected_applications: A list of selected ProtectedApplications to restore.
|
953
984
|
The listed ProtectedApplications and all the resources
|
954
985
|
to which they refer will be restored.
|
@@ -969,6 +1000,10 @@ class RestorePlanRestoreConfig(dict):
|
|
969
1000
|
See https://cloud.google.com/kubernetes-engine/docs/add-on/backup-for-gke/reference/rest/v1/RestoreConfig#VolumeDataRestorePolicy
|
970
1001
|
for more information on each policy option.
|
971
1002
|
Possible values are: `RESTORE_VOLUME_DATA_FROM_BACKUP`, `REUSE_VOLUME_HANDLE_FROM_BACKUP`, `NO_VOLUME_DATA_RESTORATION`.
|
1003
|
+
:param Sequence['RestorePlanRestoreConfigVolumeDataRestorePolicyBindingArgs'] volume_data_restore_policy_bindings: A table that binds volumes by their scope to a restore policy. Bindings
|
1004
|
+
must have a unique scope. Any volumes not scoped in the bindings are
|
1005
|
+
subject to the policy defined in volume_data_restore_policy.
|
1006
|
+
Structure is documented below.
|
972
1007
|
"""
|
973
1008
|
if all_namespaces is not None:
|
974
1009
|
pulumi.set(__self__, "all_namespaces", all_namespaces)
|
@@ -982,6 +1017,8 @@ class RestorePlanRestoreConfig(dict):
|
|
982
1017
|
pulumi.set(__self__, "namespaced_resource_restore_mode", namespaced_resource_restore_mode)
|
983
1018
|
if no_namespaces is not None:
|
984
1019
|
pulumi.set(__self__, "no_namespaces", no_namespaces)
|
1020
|
+
if restore_order is not None:
|
1021
|
+
pulumi.set(__self__, "restore_order", restore_order)
|
985
1022
|
if selected_applications is not None:
|
986
1023
|
pulumi.set(__self__, "selected_applications", selected_applications)
|
987
1024
|
if selected_namespaces is not None:
|
@@ -990,6 +1027,8 @@ class RestorePlanRestoreConfig(dict):
|
|
990
1027
|
pulumi.set(__self__, "transformation_rules", transformation_rules)
|
991
1028
|
if volume_data_restore_policy is not None:
|
992
1029
|
pulumi.set(__self__, "volume_data_restore_policy", volume_data_restore_policy)
|
1030
|
+
if volume_data_restore_policy_bindings is not None:
|
1031
|
+
pulumi.set(__self__, "volume_data_restore_policy_bindings", volume_data_restore_policy_bindings)
|
993
1032
|
|
994
1033
|
@property
|
995
1034
|
@pulumi.getter(name="allNamespaces")
|
@@ -1043,7 +1082,7 @@ class RestorePlanRestoreConfig(dict):
|
|
1043
1082
|
if the `namespacedResourceRestoreScope` is anything other than `noNamespaces`.
|
1044
1083
|
See https://cloud.google.com/kubernetes-engine/docs/add-on/backup-for-gke/reference/rest/v1/RestoreConfig#namespacedresourcerestoremode
|
1045
1084
|
for more information on each mode.
|
1046
|
-
Possible values are: `DELETE_AND_RESTORE`, `FAIL_ON_CONFLICT`.
|
1085
|
+
Possible values are: `DELETE_AND_RESTORE`, `FAIL_ON_CONFLICT`, `MERGE_SKIP_ON_CONFLICT`, `MERGE_REPLACE_VOLUME_ON_CONFLICT`, `MERGE_REPLACE_ON_CONFLICT`.
|
1047
1086
|
"""
|
1048
1087
|
return pulumi.get(self, "namespaced_resource_restore_mode")
|
1049
1088
|
|
@@ -1056,6 +1095,15 @@ class RestorePlanRestoreConfig(dict):
|
|
1056
1095
|
"""
|
1057
1096
|
return pulumi.get(self, "no_namespaces")
|
1058
1097
|
|
1098
|
+
@property
|
1099
|
+
@pulumi.getter(name="restoreOrder")
|
1100
|
+
def restore_order(self) -> Optional['outputs.RestorePlanRestoreConfigRestoreOrder']:
|
1101
|
+
"""
|
1102
|
+
It contains custom ordering to use on a Restore.
|
1103
|
+
Structure is documented below.
|
1104
|
+
"""
|
1105
|
+
return pulumi.get(self, "restore_order")
|
1106
|
+
|
1059
1107
|
@property
|
1060
1108
|
@pulumi.getter(name="selectedApplications")
|
1061
1109
|
def selected_applications(self) -> Optional['outputs.RestorePlanRestoreConfigSelectedApplications']:
|
@@ -1104,6 +1152,17 @@ class RestorePlanRestoreConfig(dict):
|
|
1104
1152
|
"""
|
1105
1153
|
return pulumi.get(self, "volume_data_restore_policy")
|
1106
1154
|
|
1155
|
+
@property
|
1156
|
+
@pulumi.getter(name="volumeDataRestorePolicyBindings")
|
1157
|
+
def volume_data_restore_policy_bindings(self) -> Optional[Sequence['outputs.RestorePlanRestoreConfigVolumeDataRestorePolicyBinding']]:
|
1158
|
+
"""
|
1159
|
+
A table that binds volumes by their scope to a restore policy. Bindings
|
1160
|
+
must have a unique scope. Any volumes not scoped in the bindings are
|
1161
|
+
subject to the policy defined in volume_data_restore_policy.
|
1162
|
+
Structure is documented below.
|
1163
|
+
"""
|
1164
|
+
return pulumi.get(self, "volume_data_restore_policy_bindings")
|
1165
|
+
|
1107
1166
|
|
1108
1167
|
@pulumi.output_type
|
1109
1168
|
class RestorePlanRestoreConfigClusterResourceRestoreScope(dict):
|
@@ -1331,6 +1390,200 @@ class RestorePlanRestoreConfigExcludedNamespaces(dict):
|
|
1331
1390
|
return pulumi.get(self, "namespaces")
|
1332
1391
|
|
1333
1392
|
|
1393
|
+
@pulumi.output_type
|
1394
|
+
class RestorePlanRestoreConfigRestoreOrder(dict):
|
1395
|
+
@staticmethod
|
1396
|
+
def __key_warning(key: str):
|
1397
|
+
suggest = None
|
1398
|
+
if key == "groupKindDependencies":
|
1399
|
+
suggest = "group_kind_dependencies"
|
1400
|
+
|
1401
|
+
if suggest:
|
1402
|
+
pulumi.log.warn(f"Key '{key}' not found in RestorePlanRestoreConfigRestoreOrder. Access the value via the '{suggest}' property getter instead.")
|
1403
|
+
|
1404
|
+
def __getitem__(self, key: str) -> Any:
|
1405
|
+
RestorePlanRestoreConfigRestoreOrder.__key_warning(key)
|
1406
|
+
return super().__getitem__(key)
|
1407
|
+
|
1408
|
+
def get(self, key: str, default = None) -> Any:
|
1409
|
+
RestorePlanRestoreConfigRestoreOrder.__key_warning(key)
|
1410
|
+
return super().get(key, default)
|
1411
|
+
|
1412
|
+
def __init__(__self__, *,
|
1413
|
+
group_kind_dependencies: Sequence['outputs.RestorePlanRestoreConfigRestoreOrderGroupKindDependency']):
|
1414
|
+
"""
|
1415
|
+
:param Sequence['RestorePlanRestoreConfigRestoreOrderGroupKindDependencyArgs'] group_kind_dependencies: A list of group kind dependency pairs
|
1416
|
+
that is used by Backup for GKE to
|
1417
|
+
generate a group kind restore order.
|
1418
|
+
Structure is documented below.
|
1419
|
+
"""
|
1420
|
+
pulumi.set(__self__, "group_kind_dependencies", group_kind_dependencies)
|
1421
|
+
|
1422
|
+
@property
|
1423
|
+
@pulumi.getter(name="groupKindDependencies")
|
1424
|
+
def group_kind_dependencies(self) -> Sequence['outputs.RestorePlanRestoreConfigRestoreOrderGroupKindDependency']:
|
1425
|
+
"""
|
1426
|
+
A list of group kind dependency pairs
|
1427
|
+
that is used by Backup for GKE to
|
1428
|
+
generate a group kind restore order.
|
1429
|
+
Structure is documented below.
|
1430
|
+
"""
|
1431
|
+
return pulumi.get(self, "group_kind_dependencies")
|
1432
|
+
|
1433
|
+
|
1434
|
+
@pulumi.output_type
|
1435
|
+
class RestorePlanRestoreConfigRestoreOrderGroupKindDependency(dict):
|
1436
|
+
def __init__(__self__, *,
|
1437
|
+
requiring: 'outputs.RestorePlanRestoreConfigRestoreOrderGroupKindDependencyRequiring',
|
1438
|
+
satisfying: 'outputs.RestorePlanRestoreConfigRestoreOrderGroupKindDependencySatisfying'):
|
1439
|
+
"""
|
1440
|
+
:param 'RestorePlanRestoreConfigRestoreOrderGroupKindDependencyRequiringArgs' requiring: The requiring group kind requires that the satisfying
|
1441
|
+
group kind be restored first.
|
1442
|
+
Structure is documented below.
|
1443
|
+
:param 'RestorePlanRestoreConfigRestoreOrderGroupKindDependencySatisfyingArgs' satisfying: The satisfying group kind must be restored first
|
1444
|
+
in order to satisfy the dependency.
|
1445
|
+
Structure is documented below.
|
1446
|
+
"""
|
1447
|
+
pulumi.set(__self__, "requiring", requiring)
|
1448
|
+
pulumi.set(__self__, "satisfying", satisfying)
|
1449
|
+
|
1450
|
+
@property
|
1451
|
+
@pulumi.getter
|
1452
|
+
def requiring(self) -> 'outputs.RestorePlanRestoreConfigRestoreOrderGroupKindDependencyRequiring':
|
1453
|
+
"""
|
1454
|
+
The requiring group kind requires that the satisfying
|
1455
|
+
group kind be restored first.
|
1456
|
+
Structure is documented below.
|
1457
|
+
"""
|
1458
|
+
return pulumi.get(self, "requiring")
|
1459
|
+
|
1460
|
+
@property
|
1461
|
+
@pulumi.getter
|
1462
|
+
def satisfying(self) -> 'outputs.RestorePlanRestoreConfigRestoreOrderGroupKindDependencySatisfying':
|
1463
|
+
"""
|
1464
|
+
The satisfying group kind must be restored first
|
1465
|
+
in order to satisfy the dependency.
|
1466
|
+
Structure is documented below.
|
1467
|
+
"""
|
1468
|
+
return pulumi.get(self, "satisfying")
|
1469
|
+
|
1470
|
+
|
1471
|
+
@pulumi.output_type
|
1472
|
+
class RestorePlanRestoreConfigRestoreOrderGroupKindDependencyRequiring(dict):
|
1473
|
+
@staticmethod
|
1474
|
+
def __key_warning(key: str):
|
1475
|
+
suggest = None
|
1476
|
+
if key == "resourceGroup":
|
1477
|
+
suggest = "resource_group"
|
1478
|
+
elif key == "resourceKind":
|
1479
|
+
suggest = "resource_kind"
|
1480
|
+
|
1481
|
+
if suggest:
|
1482
|
+
pulumi.log.warn(f"Key '{key}' not found in RestorePlanRestoreConfigRestoreOrderGroupKindDependencyRequiring. Access the value via the '{suggest}' property getter instead.")
|
1483
|
+
|
1484
|
+
def __getitem__(self, key: str) -> Any:
|
1485
|
+
RestorePlanRestoreConfigRestoreOrderGroupKindDependencyRequiring.__key_warning(key)
|
1486
|
+
return super().__getitem__(key)
|
1487
|
+
|
1488
|
+
def get(self, key: str, default = None) -> Any:
|
1489
|
+
RestorePlanRestoreConfigRestoreOrderGroupKindDependencyRequiring.__key_warning(key)
|
1490
|
+
return super().get(key, default)
|
1491
|
+
|
1492
|
+
def __init__(__self__, *,
|
1493
|
+
resource_group: Optional[str] = None,
|
1494
|
+
resource_kind: Optional[str] = None):
|
1495
|
+
"""
|
1496
|
+
:param str resource_group: API Group of a Kubernetes resource, e.g.
|
1497
|
+
"apiextensions.k8s.io", "storage.k8s.io", etc.
|
1498
|
+
Use empty string for core group.
|
1499
|
+
:param str resource_kind: Kind of a Kubernetes resource, e.g.
|
1500
|
+
"CustomResourceDefinition", "StorageClass", etc.
|
1501
|
+
|
1502
|
+
- - -
|
1503
|
+
"""
|
1504
|
+
if resource_group is not None:
|
1505
|
+
pulumi.set(__self__, "resource_group", resource_group)
|
1506
|
+
if resource_kind is not None:
|
1507
|
+
pulumi.set(__self__, "resource_kind", resource_kind)
|
1508
|
+
|
1509
|
+
@property
|
1510
|
+
@pulumi.getter(name="resourceGroup")
|
1511
|
+
def resource_group(self) -> Optional[str]:
|
1512
|
+
"""
|
1513
|
+
API Group of a Kubernetes resource, e.g.
|
1514
|
+
"apiextensions.k8s.io", "storage.k8s.io", etc.
|
1515
|
+
Use empty string for core group.
|
1516
|
+
"""
|
1517
|
+
return pulumi.get(self, "resource_group")
|
1518
|
+
|
1519
|
+
@property
|
1520
|
+
@pulumi.getter(name="resourceKind")
|
1521
|
+
def resource_kind(self) -> Optional[str]:
|
1522
|
+
"""
|
1523
|
+
Kind of a Kubernetes resource, e.g.
|
1524
|
+
"CustomResourceDefinition", "StorageClass", etc.
|
1525
|
+
|
1526
|
+
- - -
|
1527
|
+
"""
|
1528
|
+
return pulumi.get(self, "resource_kind")
|
1529
|
+
|
1530
|
+
|
1531
|
+
@pulumi.output_type
|
1532
|
+
class RestorePlanRestoreConfigRestoreOrderGroupKindDependencySatisfying(dict):
|
1533
|
+
@staticmethod
|
1534
|
+
def __key_warning(key: str):
|
1535
|
+
suggest = None
|
1536
|
+
if key == "resourceGroup":
|
1537
|
+
suggest = "resource_group"
|
1538
|
+
elif key == "resourceKind":
|
1539
|
+
suggest = "resource_kind"
|
1540
|
+
|
1541
|
+
if suggest:
|
1542
|
+
pulumi.log.warn(f"Key '{key}' not found in RestorePlanRestoreConfigRestoreOrderGroupKindDependencySatisfying. Access the value via the '{suggest}' property getter instead.")
|
1543
|
+
|
1544
|
+
def __getitem__(self, key: str) -> Any:
|
1545
|
+
RestorePlanRestoreConfigRestoreOrderGroupKindDependencySatisfying.__key_warning(key)
|
1546
|
+
return super().__getitem__(key)
|
1547
|
+
|
1548
|
+
def get(self, key: str, default = None) -> Any:
|
1549
|
+
RestorePlanRestoreConfigRestoreOrderGroupKindDependencySatisfying.__key_warning(key)
|
1550
|
+
return super().get(key, default)
|
1551
|
+
|
1552
|
+
def __init__(__self__, *,
|
1553
|
+
resource_group: Optional[str] = None,
|
1554
|
+
resource_kind: Optional[str] = None):
|
1555
|
+
"""
|
1556
|
+
:param str resource_group: API Group of a Kubernetes resource, e.g.
|
1557
|
+
"apiextensions.k8s.io", "storage.k8s.io", etc.
|
1558
|
+
Use empty string for core group.
|
1559
|
+
:param str resource_kind: Kind of a Kubernetes resource, e.g.
|
1560
|
+
"CustomResourceDefinition", "StorageClass", etc.
|
1561
|
+
"""
|
1562
|
+
if resource_group is not None:
|
1563
|
+
pulumi.set(__self__, "resource_group", resource_group)
|
1564
|
+
if resource_kind is not None:
|
1565
|
+
pulumi.set(__self__, "resource_kind", resource_kind)
|
1566
|
+
|
1567
|
+
@property
|
1568
|
+
@pulumi.getter(name="resourceGroup")
|
1569
|
+
def resource_group(self) -> Optional[str]:
|
1570
|
+
"""
|
1571
|
+
API Group of a Kubernetes resource, e.g.
|
1572
|
+
"apiextensions.k8s.io", "storage.k8s.io", etc.
|
1573
|
+
Use empty string for core group.
|
1574
|
+
"""
|
1575
|
+
return pulumi.get(self, "resource_group")
|
1576
|
+
|
1577
|
+
@property
|
1578
|
+
@pulumi.getter(name="resourceKind")
|
1579
|
+
def resource_kind(self) -> Optional[str]:
|
1580
|
+
"""
|
1581
|
+
Kind of a Kubernetes resource, e.g.
|
1582
|
+
"CustomResourceDefinition", "StorageClass", etc.
|
1583
|
+
"""
|
1584
|
+
return pulumi.get(self, "resource_kind")
|
1585
|
+
|
1586
|
+
|
1334
1587
|
@pulumi.output_type
|
1335
1588
|
class RestorePlanRestoreConfigSelectedApplications(dict):
|
1336
1589
|
@staticmethod
|
@@ -1527,8 +1780,6 @@ class RestorePlanRestoreConfigTransformationRuleFieldAction(dict):
|
|
1527
1780
|
location within the target document where the operation is performed.
|
1528
1781
|
:param str value: A string that specifies the desired value in string format
|
1529
1782
|
to use for transformation.
|
1530
|
-
|
1531
|
-
- - -
|
1532
1783
|
"""
|
1533
1784
|
pulumi.set(__self__, "op", op)
|
1534
1785
|
if from_path is not None:
|
@@ -1571,8 +1822,6 @@ class RestorePlanRestoreConfigTransformationRuleFieldAction(dict):
|
|
1571
1822
|
"""
|
1572
1823
|
A string that specifies the desired value in string format
|
1573
1824
|
to use for transformation.
|
1574
|
-
|
1575
|
-
- - -
|
1576
1825
|
"""
|
1577
1826
|
return pulumi.get(self, "value")
|
1578
1827
|
|
@@ -1723,3 +1972,59 @@ class RestorePlanRestoreConfigTransformationRuleResourceFilterGroupKind(dict):
|
|
1723
1972
|
return pulumi.get(self, "resource_kind")
|
1724
1973
|
|
1725
1974
|
|
1975
|
+
@pulumi.output_type
|
1976
|
+
class RestorePlanRestoreConfigVolumeDataRestorePolicyBinding(dict):
|
1977
|
+
@staticmethod
|
1978
|
+
def __key_warning(key: str):
|
1979
|
+
suggest = None
|
1980
|
+
if key == "volumeType":
|
1981
|
+
suggest = "volume_type"
|
1982
|
+
|
1983
|
+
if suggest:
|
1984
|
+
pulumi.log.warn(f"Key '{key}' not found in RestorePlanRestoreConfigVolumeDataRestorePolicyBinding. Access the value via the '{suggest}' property getter instead.")
|
1985
|
+
|
1986
|
+
def __getitem__(self, key: str) -> Any:
|
1987
|
+
RestorePlanRestoreConfigVolumeDataRestorePolicyBinding.__key_warning(key)
|
1988
|
+
return super().__getitem__(key)
|
1989
|
+
|
1990
|
+
def get(self, key: str, default = None) -> Any:
|
1991
|
+
RestorePlanRestoreConfigVolumeDataRestorePolicyBinding.__key_warning(key)
|
1992
|
+
return super().get(key, default)
|
1993
|
+
|
1994
|
+
def __init__(__self__, *,
|
1995
|
+
policy: str,
|
1996
|
+
volume_type: str):
|
1997
|
+
"""
|
1998
|
+
:param str policy: Specifies the mechanism to be used to restore this volume data.
|
1999
|
+
See https://cloud.google.com/kubernetes-engine/docs/add-on/backup-for-gke/reference/rest/v1/RestoreConfig#VolumeDataRestorePolicy
|
2000
|
+
for more information on each policy option.
|
2001
|
+
Possible values are: `RESTORE_VOLUME_DATA_FROM_BACKUP`, `REUSE_VOLUME_HANDLE_FROM_BACKUP`, `NO_VOLUME_DATA_RESTORATION`.
|
2002
|
+
:param str volume_type: The volume type, as determined by the PVC's
|
2003
|
+
bound PV, to apply the policy to.
|
2004
|
+
Possible values are: `GCE_PERSISTENT_DISK`.
|
2005
|
+
"""
|
2006
|
+
pulumi.set(__self__, "policy", policy)
|
2007
|
+
pulumi.set(__self__, "volume_type", volume_type)
|
2008
|
+
|
2009
|
+
@property
|
2010
|
+
@pulumi.getter
|
2011
|
+
def policy(self) -> str:
|
2012
|
+
"""
|
2013
|
+
Specifies the mechanism to be used to restore this volume data.
|
2014
|
+
See https://cloud.google.com/kubernetes-engine/docs/add-on/backup-for-gke/reference/rest/v1/RestoreConfig#VolumeDataRestorePolicy
|
2015
|
+
for more information on each policy option.
|
2016
|
+
Possible values are: `RESTORE_VOLUME_DATA_FROM_BACKUP`, `REUSE_VOLUME_HANDLE_FROM_BACKUP`, `NO_VOLUME_DATA_RESTORATION`.
|
2017
|
+
"""
|
2018
|
+
return pulumi.get(self, "policy")
|
2019
|
+
|
2020
|
+
@property
|
2021
|
+
@pulumi.getter(name="volumeType")
|
2022
|
+
def volume_type(self) -> str:
|
2023
|
+
"""
|
2024
|
+
The volume type, as determined by the PVC's
|
2025
|
+
bound PV, to apply the policy to.
|
2026
|
+
Possible values are: `GCE_PERSISTENT_DISK`.
|
2027
|
+
"""
|
2028
|
+
return pulumi.get(self, "volume_type")
|
2029
|
+
|
2030
|
+
|