Share via


KubernetesClusterRestoreCriteria Class

Definition

kubernetes Cluster Backup target info for restore operation

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.KubernetesClusterRestoreCriteriaTypeConverter))]
public class KubernetesClusterRestoreCriteria : Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterRestoreCriteria, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.KubernetesClusterRestoreCriteriaTypeConverter))>]
type KubernetesClusterRestoreCriteria = class
    interface IKubernetesClusterRestoreCriteria
    interface IJsonSerializable
    interface IItemLevelRestoreCriteria
    interface IValidates
Public Class KubernetesClusterRestoreCriteria
Implements IKubernetesClusterRestoreCriteria, IValidates
Inheritance
KubernetesClusterRestoreCriteria
Attributes
Implements

Constructors

KubernetesClusterRestoreCriteria()

Creates an new KubernetesClusterRestoreCriteria instance.

Properties

ConflictPolicy

Gets or sets the Conflict Policy property. This property sets policy during conflict of resources during restore.

ExcludedNamespace

Gets or sets the exclude namespaces property. This property sets the namespaces to be excluded during restore.

ExcludedResourceType

Gets or sets the exclude resource types property. This property sets the resource types to be excluded during restore.

IncludeClusterScopeResource

Gets or sets the include cluster resources property. This property if enabled will include cluster scope resources during restore.

IncludedNamespace

Gets or sets the include namespaces property. This property sets the namespaces to be included during restore.

IncludedResourceType

Gets or sets the include resource types property. This property sets the resource types to be included during restore.

LabelSelector

Gets or sets the LabelSelectors property. This property sets the resource with such label selectors to be included during restore.

NamespaceMapping

Gets or sets the Namespace Mappings property. This property sets if namespace needs to be change during restore.

ObjectType

Type of the specific object - used for deserializing

PersistentVolumeRestoreMode

Gets or sets the PV (Persistent Volume) Restore Mode property. This property sets whether volumes needs to be restored.

ResourceModifierReference

Gets or sets the resource modifier reference. This property sets the reference for resource modifier during restore.

ResourceModifierReferenceName

Name of the resource

ResourceModifierReferenceNamespace

Namespace in which the resource exists

RestoreHookReference

Gets or sets the restore hook references. This property sets the hook reference to be executed during restore.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of KubernetesClusterRestoreCriteria.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of KubernetesClusterRestoreCriteria.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterRestoreCriteria.

FromJsonString(String)

Creates a new instance of KubernetesClusterRestoreCriteria, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of KubernetesClusterRestoreCriteria into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to