Share via


ProtectionState Struct

Definition

Gets or sets the protection state.

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

Fields

CancelFailoverFailedOnPrimary
CancelFailoverFailedOnRecovery
CancelFailoverInProgressOnPrimary
CancelFailoverInProgressOnRecovery
CancelFailoverStatesBegin
CancelFailoverStatesEnd
ChangeRecoveryPointCompleted
ChangeRecoveryPointFailed
ChangeRecoveryPointInitiated
ChangeRecoveryPointStatesBegin
ChangeRecoveryPointStatesEnd
CommitFailoverCompleted
CommitFailoverFailedOnPrimary
CommitFailoverFailedOnRecovery
CommitFailoverInProgressOnPrimary
CommitFailoverInProgressOnRecovery
CommitFailoverStatesBegin
CommitFailoverStatesEnd
DisablingFailed
DisablingProtection
EnablingFailed
EnablingProtection
InitialReplicationCompletedOnPrimary
InitialReplicationCompletedOnRecovery
InitialReplicationFailed
InitialReplicationInProgress
InitialReplicationStatesBegin
InitialReplicationStatesEnd
MarkedForDeletion
PlannedFailoverCompleted
PlannedFailoverCompleting
PlannedFailoverCompletionFailed
PlannedFailoverFailed
PlannedFailoverInitiated
PlannedFailoverTransitionStatesBegin
PlannedFailoverTransitionStatesEnd
Protected
ProtectedStatesBegin
ProtectedStatesEnd
ReprotectFailed
ReprotectInitiated
ReprotectStatesBegin
ReprotectStatesEnd
UnplannedFailoverCompleted
UnplannedFailoverCompleting
UnplannedFailoverCompletionFailed
UnplannedFailoverFailed
UnplannedFailoverInitiated
UnplannedFailoverTransitionStatesBegin
UnplannedFailoverTransitionStatesEnd
UnprotectedStatesBegin
UnprotectedStatesEnd

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 ProtectionState (override for Object)

Equals(ProtectionState)

Compares values of enum type ProtectionState

GetHashCode()

Returns hashCode for enum ProtectionState

ToString()

Returns string representation for ProtectionState

Operators

Equality(ProtectionState, ProtectionState)

Overriding == operator for enum ProtectionState

Implicit(ProtectionState to String)

Implicit operator to convert ProtectionState to string

Implicit(String to ProtectionState)

Implicit operator to convert string to ProtectionState

Inequality(ProtectionState, ProtectionState)

Overriding != operator for enum ProtectionState

Applies to