Share via


EncryptionState Struct

Definition

Encryption state of the Backup Vault.

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

Fields

Disabled

CMK encryption is disabled on the Backup Vault. User can not set this state once Encryption State is 'Enabled'.

Enabled

CMK encryption is enabled on the Backup Vault

Inconsistent

CMK encryption is in inconsistent state on the Backup Vault. This state indicates that user needs to retry the encryption settings operation immediately to correct the state.

Methods

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

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

Equals(EncryptionState)

Compares values of enum type EncryptionState

Equals(Object)

Compares values of enum type EncryptionState (override for Object)

GetHashCode()

Returns hashCode for enum EncryptionState

ToString()

Returns string representation for EncryptionState

Operators

Equality(EncryptionState, EncryptionState)

Overriding == operator for enum EncryptionState

Implicit(EncryptionState to String)

Implicit operator to convert EncryptionState to string

Implicit(String to EncryptionState)

Implicit operator to convert string to EncryptionState

Inequality(EncryptionState, EncryptionState)

Overriding != operator for enum EncryptionState

Applies to