Share via


CurrentProtectionState Struct

Definition

Specifies the current protection state of the resource

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

Fields

BackupSchedulesSuspended
ConfiguringProtection
ConfiguringProtectionFailed
Invalid
NotProtected
ProtectionConfigured
ProtectionError
ProtectionStopped
RetentionSchedulesSuspended
SoftDeleted
SoftDeleting
UpdatingProtection

Methods

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

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

Equals(CurrentProtectionState)

Compares values of enum type CurrentProtectionState

Equals(Object)

Compares values of enum type CurrentProtectionState (override for Object)

GetHashCode()

Returns hashCode for enum CurrentProtectionState

ToString()

Returns string representation for CurrentProtectionState

Operators

Equality(CurrentProtectionState, CurrentProtectionState)

Overriding == operator for enum CurrentProtectionState

Implicit(CurrentProtectionState to String)

Implicit operator to convert CurrentProtectionState to string

Implicit(String to CurrentProtectionState)

Implicit operator to convert string to CurrentProtectionState

Inequality(CurrentProtectionState, CurrentProtectionState)

Overriding != operator for enum CurrentProtectionState

Applies to