Show / Hide Table of Contents

Struct SubProtectionPolicyType

Type of backup policy type.

Namespace: System.Dynamic.ExpandoObject
Assembly: Azure.ResourceManager.RecoveryServicesBackup.dll
Syntax
public struct SubProtectionPolicyType : IEquatable<Azure.ResourceManager.RecoveryServicesBackup.Models.SubProtectionPolicyType>

Constructors

SubProtectionPolicyType(String)

Initializes a new instance of SubProtectionPolicyType.

Declaration
public SubProtectionPolicyType (string value);
Parameters
System.String value

Exceptions
System.ArgumentNullException

value is null.

Properties

CopyOnlyFull

CopyOnlyFull.

Declaration
public static Azure.ResourceManager.RecoveryServicesBackup.Models.SubProtectionPolicyType CopyOnlyFull { get; }
Property Value
SubProtectionPolicyType

Differential

Differential.

Declaration
public static Azure.ResourceManager.RecoveryServicesBackup.Models.SubProtectionPolicyType Differential { get; }
Property Value
SubProtectionPolicyType

Full

Full.

Declaration
public static Azure.ResourceManager.RecoveryServicesBackup.Models.SubProtectionPolicyType Full { get; }
Property Value
SubProtectionPolicyType

Incremental

Incremental.

Declaration
public static Azure.ResourceManager.RecoveryServicesBackup.Models.SubProtectionPolicyType Incremental { get; }
Property Value
SubProtectionPolicyType

Invalid

Invalid.

Declaration
public static Azure.ResourceManager.RecoveryServicesBackup.Models.SubProtectionPolicyType Invalid { get; }
Property Value
SubProtectionPolicyType

Log

Log.

Declaration
public static Azure.ResourceManager.RecoveryServicesBackup.Models.SubProtectionPolicyType Log { get; }
Property Value
SubProtectionPolicyType

SnapshotCopyOnlyFull

SnapshotCopyOnlyFull.

Declaration
public static Azure.ResourceManager.RecoveryServicesBackup.Models.SubProtectionPolicyType SnapshotCopyOnlyFull { get; }
Property Value
SubProtectionPolicyType

SnapshotFull

SnapshotFull.

Declaration
public static Azure.ResourceManager.RecoveryServicesBackup.Models.SubProtectionPolicyType SnapshotFull { get; }
Property Value
SubProtectionPolicyType

Methods

Equals(SubProtectionPolicyType)

Indicates whether the current object is equal to another object of the same type.

Declaration
public bool Equals (Azure.ResourceManager.RecoveryServicesBackup.Models.SubProtectionPolicyType other);
Parameters
SubProtectionPolicyType other

An object to compare with this object.

Returns
System.Boolean

true if the current object is equal to the other parameter; otherwise, false.

Equals(Object)

Indicates whether this instance and a specified object are equal.

Declaration
[System.ComponentModel.EditorBrowsable]
public override bool Equals (object obj);
Parameters
System.Object obj

The object to compare with the current instance.

Returns
System.Boolean

true if obj and this instance are the same type and represent the same value; otherwise, false.

GetHashCode()

Returns the hash code for this instance.

Declaration
[System.ComponentModel.EditorBrowsable]
public override int GetHashCode ();
Returns
System.Int32

A 32-bit signed integer that is the hash code for this instance.

ToString()

Returns the fully qualified type name of this instance.

Declaration
public override string ToString ();
Returns
System.String

The fully qualified type name.

Operators

Equality(SubProtectionPolicyType, SubProtectionPolicyType)

Determines if two SubProtectionPolicyType values are the same.

Declaration
public static bool operator == (Azure.ResourceManager.RecoveryServicesBackup.Models.SubProtectionPolicyType left, Azure.ResourceManager.RecoveryServicesBackup.Models.SubProtectionPolicyType right);
Parameters
SubProtectionPolicyType left

SubProtectionPolicyType right

Returns
System.Boolean

Implicit(String to SubProtectionPolicyType)

Converts a System.String to a SubProtectionPolicyType.

Declaration
public static implicit operator Azure.ResourceManager.RecoveryServicesBackup.Models.SubProtectionPolicyType (string value);
Parameters
System.String value

Returns
SubProtectionPolicyType

Inequality(SubProtectionPolicyType, SubProtectionPolicyType)

Determines if two SubProtectionPolicyType values are not the same.

Declaration
public static bool operator != (Azure.ResourceManager.RecoveryServicesBackup.Models.SubProtectionPolicyType left, Azure.ResourceManager.RecoveryServicesBackup.Models.SubProtectionPolicyType right);
Parameters
SubProtectionPolicyType left

SubProtectionPolicyType right

Returns
System.Boolean

Back to top Azure SDK for .NET