Share via


KubernetesClusterBackupDatasourceParameters Class

Definition

Parameters for Kubernetes Cluster Backup Datasource

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

Constructors

KubernetesClusterBackupDatasourceParameters()

Creates an new KubernetesClusterBackupDatasourceParameters instance.

Properties

BackupHookReference

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

ExcludedNamespace

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

ExcludedResourceType

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

IncludeClusterScopeResource

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

IncludedNamespace

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

IncludedResourceType

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

LabelSelector

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

ObjectType

Type of the specific object - used for deserializing

SnapshotVolume

Gets or sets the volume snapshot property. This property if enabled will take volume snapshots during backup.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of KubernetesClusterBackupDatasourceParameters.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of KubernetesClusterBackupDatasourceParameters.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of KubernetesClusterBackupDatasourceParameters into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to