RestoreConfigArgs

data class RestoreConfigArgs(val allNamespaces: Output<Boolean>? = null, val clusterResourceConflictPolicy: Output<RestoreConfigClusterResourceConflictPolicy>? = null, val clusterResourceRestoreScope: Output<ClusterResourceRestoreScopeArgs>? = null, val namespacedResourceRestoreMode: Output<RestoreConfigNamespacedResourceRestoreMode>? = null, val selectedApplications: Output<NamespacedNamesArgs>? = null, val selectedNamespaces: Output<NamespacesArgs>? = null, val substitutionRules: Output<List<SubstitutionRuleArgs>>? = null, val volumeDataRestorePolicy: Output<RestoreConfigVolumeDataRestorePolicy>? = null) : ConvertibleToJava<RestoreConfigArgs>

Configuration of a restore. Next id: 12

Constructors

Link copied to clipboard
fun RestoreConfigArgs(allNamespaces: Output<Boolean>? = null, clusterResourceConflictPolicy: Output<RestoreConfigClusterResourceConflictPolicy>? = null, clusterResourceRestoreScope: Output<ClusterResourceRestoreScopeArgs>? = null, namespacedResourceRestoreMode: Output<RestoreConfigNamespacedResourceRestoreMode>? = null, selectedApplications: Output<NamespacedNamesArgs>? = null, selectedNamespaces: Output<NamespacesArgs>? = null, substitutionRules: Output<List<SubstitutionRuleArgs>>? = null, volumeDataRestorePolicy: Output<RestoreConfigVolumeDataRestorePolicy>? = null)

Functions

Link copied to clipboard
open override fun toJava(): RestoreConfigArgs

Properties

Link copied to clipboard
val allNamespaces: Output<Boolean>? = null

Restore all namespaced resources in the Backup if set to "True". Specifying this field to "False" is an error.

Link copied to clipboard

Defines the behavior for handling the situation where cluster-scoped resources being restored already exist in the target cluster. This MUST be set to a value other than CLUSTER_RESOURCE_CONFLICT_POLICY_UNSPECIFIED if cluster_resource_restore_scope is not empty.

Link copied to clipboard

Identifies the cluster-scoped resources to restore from the Backup. Not specifying it means NO cluster resource will be restored.

Link copied to clipboard

Defines the behavior for handling the situation where sets of namespaced resources being restored already exist in the target cluster. This MUST be set to a value other than NAMESPACED_RESOURCE_RESTORE_MODE_UNSPECIFIED.

Link copied to clipboard

A list of selected ProtectedApplications to restore. The listed ProtectedApplications and all the resources to which they refer will be restored.

Link copied to clipboard
val selectedNamespaces: Output<NamespacesArgs>? = null

A list of selected Namespaces to restore from the Backup. The listed Namespaces and all resources contained in them will be restored.

Link copied to clipboard

A list of transformation rules to be applied against Kubernetes resources as they are selected for restoration from a Backup. Rules are executed in order defined - this order matters, as changes made by a rule may impact the filtering logic of subsequent rules. An empty list means no substitution will occur.

Link copied to clipboard

Specifies the mechanism to be used to restore volume data. Default: VOLUME_DATA_RESTORE_POLICY_UNSPECIFIED (will be treated as NO_VOLUME_DATA_RESTORATION).