Share via


ArmDataProtectionBackupModelFactory.KubernetesClusterVaultTierRestoreCriteria Method

Definition

Initializes a new instance of KubernetesClusterVaultTierRestoreCriteria.

public static Azure.ResourceManager.DataProtectionBackup.Models.KubernetesClusterVaultTierRestoreCriteria KubernetesClusterVaultTierRestoreCriteria (bool includeClusterScopeResources = false, System.Collections.Generic.IEnumerable<string> includedNamespaces = default, System.Collections.Generic.IEnumerable<string> excludedNamespaces = default, System.Collections.Generic.IEnumerable<string> includedResourceTypes = default, System.Collections.Generic.IEnumerable<string> excludedResourceTypes = default, System.Collections.Generic.IEnumerable<string> labelSelectors = default, Azure.ResourceManager.DataProtectionBackup.Models.PersistentVolumeRestoreMode? persistentVolumeRestoreMode = default, Azure.ResourceManager.DataProtectionBackup.Models.KubernetesClusterRestoreExistingResourcePolicy? conflictPolicy = default, System.Collections.Generic.IDictionary<string,string> namespaceMappings = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.DataProtectionBackup.Models.NamespacedName> restoreHookReferences = default, Azure.Core.ResourceIdentifier stagingResourceGroupId = default, Azure.Core.ResourceIdentifier stagingStorageAccountId = default, Azure.ResourceManager.DataProtectionBackup.Models.NamespacedName resourceModifierReference = default);
static member KubernetesClusterVaultTierRestoreCriteria : bool * seq<string> * seq<string> * seq<string> * seq<string> * seq<string> * Nullable<Azure.ResourceManager.DataProtectionBackup.Models.PersistentVolumeRestoreMode> * Nullable<Azure.ResourceManager.DataProtectionBackup.Models.KubernetesClusterRestoreExistingResourcePolicy> * System.Collections.Generic.IDictionary<string, string> * seq<Azure.ResourceManager.DataProtectionBackup.Models.NamespacedName> * Azure.Core.ResourceIdentifier * Azure.Core.ResourceIdentifier * Azure.ResourceManager.DataProtectionBackup.Models.NamespacedName -> Azure.ResourceManager.DataProtectionBackup.Models.KubernetesClusterVaultTierRestoreCriteria
Public Shared Function KubernetesClusterVaultTierRestoreCriteria (Optional includeClusterScopeResources As Boolean = false, Optional includedNamespaces As IEnumerable(Of String) = Nothing, Optional excludedNamespaces As IEnumerable(Of String) = Nothing, Optional includedResourceTypes As IEnumerable(Of String) = Nothing, Optional excludedResourceTypes As IEnumerable(Of String) = Nothing, Optional labelSelectors As IEnumerable(Of String) = Nothing, Optional persistentVolumeRestoreMode As Nullable(Of PersistentVolumeRestoreMode) = Nothing, Optional conflictPolicy As Nullable(Of KubernetesClusterRestoreExistingResourcePolicy) = Nothing, Optional namespaceMappings As IDictionary(Of String, String) = Nothing, Optional restoreHookReferences As IEnumerable(Of NamespacedName) = Nothing, Optional stagingResourceGroupId As ResourceIdentifier = Nothing, Optional stagingStorageAccountId As ResourceIdentifier = Nothing, Optional resourceModifierReference As NamespacedName = Nothing) As KubernetesClusterVaultTierRestoreCriteria

Parameters

includeClusterScopeResources
Boolean

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

includedNamespaces
IEnumerable<String>

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

excludedNamespaces
IEnumerable<String>

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

includedResourceTypes
IEnumerable<String>

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

excludedResourceTypes
IEnumerable<String>

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

labelSelectors
IEnumerable<String>

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

persistentVolumeRestoreMode
Nullable<PersistentVolumeRestoreMode>

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

conflictPolicy
Nullable<KubernetesClusterRestoreExistingResourcePolicy>

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

namespaceMappings
IDictionary<String,String>

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

restoreHookReferences
IEnumerable<NamespacedName>

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

stagingResourceGroupId
ResourceIdentifier

Gets or sets the staging RG Id for creating staging disks and snapshots during restore from vault.

stagingStorageAccountId
ResourceIdentifier

Gets or sets the staging Storage Account Id for creating backup extension object store data during restore from vault.

resourceModifierReference
NamespacedName

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

Returns

A new KubernetesClusterVaultTierRestoreCriteria instance for mocking.

Applies to