ArmDataProtectionBackupModelFactory.KubernetesClusterBackupDataSourceSettings Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Parameters for Kubernetes Cluster Backup Datasource.
public static Azure.ResourceManager.DataProtectionBackup.Models.KubernetesClusterBackupDataSourceSettings KubernetesClusterBackupDataSourceSettings(bool isSnapshotVolumesEnabled = false, System.Collections.Generic.IEnumerable<Azure.ResourceManager.DataProtectionBackup.Models.DataProtectionAksVolumeType> includedVolumeTypes = default, bool isClusterScopeResourcesIncluded = 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, System.Collections.Generic.IEnumerable<Azure.ResourceManager.DataProtectionBackup.Models.NamespacedName> backupHookReferences = default);
static member KubernetesClusterBackupDataSourceSettings : bool * seq<Azure.ResourceManager.DataProtectionBackup.Models.DataProtectionAksVolumeType> * bool * seq<string> * seq<string> * seq<string> * seq<string> * seq<string> * seq<Azure.ResourceManager.DataProtectionBackup.Models.NamespacedName> -> Azure.ResourceManager.DataProtectionBackup.Models.KubernetesClusterBackupDataSourceSettings
Public Shared Function KubernetesClusterBackupDataSourceSettings (Optional isSnapshotVolumesEnabled As Boolean = false, Optional includedVolumeTypes As IEnumerable(Of DataProtectionAksVolumeType) = Nothing, Optional isClusterScopeResourcesIncluded 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 backupHookReferences As IEnumerable(Of NamespacedName) = Nothing) As KubernetesClusterBackupDataSourceSettings
Parameters
- isSnapshotVolumesEnabled
- Boolean
Gets or sets the volume snapshot property. This property if enabled will take volume snapshots during backup.
- includedVolumeTypes
- IEnumerable<DataProtectionAksVolumeType>
Gets or sets the include volume types property. This property sets the volume types to be included during backup.
- isClusterScopeResourcesIncluded
- Boolean
Gets or sets the include cluster resources property. This property if enabled will include cluster scope resources during backup.
- includedNamespaces
- IEnumerable<String>
Gets or sets the include namespaces property. This property sets the namespaces to be included during backup.
- excludedNamespaces
- IEnumerable<String>
Gets or sets the exclude namespaces property. This property sets the namespaces to be excluded during backup.
- includedResourceTypes
- IEnumerable<String>
Gets or sets the include resource types property. This property sets the resource types to be included during backup.
- excludedResourceTypes
- IEnumerable<String>
Gets or sets the exclude resource types property. This property sets the resource types to be excluded during backup.
- labelSelectors
- IEnumerable<String>
Gets or sets the LabelSelectors property. This property sets the resource with such label selectors to be included during backup.
- backupHookReferences
- IEnumerable<NamespacedName>
Gets or sets the backup hook references. This property sets the hook reference to be executed during backup.
Returns
A new KubernetesClusterBackupDataSourceSettings instance for mocking.