Share via


SoftDeleteState Struct

Definition

State of soft delete

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SoftDeleteStateTypeConverter))]
public struct SoftDeleteState : IEquatable<Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SoftDeleteState>, System.Management.Automation.IArgumentCompleter
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SoftDeleteStateTypeConverter))>]
type SoftDeleteState = struct
    interface IArgumentCompleter
Public Structure SoftDeleteState
Implements IArgumentCompleter, IEquatable(Of SoftDeleteState)
Inheritance
SoftDeleteState
Attributes
Implements

Fields

AlwaysOn

Soft Delete is permanently enabled for the BackupVault and the setting cannot be changed

Off

Soft Delete is turned off for the BackupVault

On

Soft Delete is enabled for the BackupVault but can be turned off

Methods

CompleteArgument(String, String, String, CommandAst, IDictionary)

Implementations of this function are called by PowerShell to complete arguments.

Equals(Object)

Compares values of enum type SoftDeleteState (override for Object)

Equals(SoftDeleteState)

Compares values of enum type SoftDeleteState

GetHashCode()

Returns hashCode for enum SoftDeleteState

ToString()

Returns string representation for SoftDeleteState

Operators

Equality(SoftDeleteState, SoftDeleteState)

Overriding == operator for enum SoftDeleteState

Implicit(SoftDeleteState to String)

Implicit operator to convert SoftDeleteState to string

Implicit(String to SoftDeleteState)

Implicit operator to convert string to SoftDeleteState

Inequality(SoftDeleteState, SoftDeleteState)

Overriding != operator for enum SoftDeleteState

Applies to