Share via


AvailabilityState Struct

Definition

The availability state of OneAgent.

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

Fields

Crashed
Lost
Monitored
PreMonitored
Shutdown
UnexpectedShutdown
Unknown
Unmonitored

Methods

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

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

Equals(AvailabilityState)

Compares values of enum type AvailabilityState

Equals(Object)

Compares values of enum type AvailabilityState (override for Object)

GetHashCode()

Returns hashCode for enum AvailabilityState

ToString()

Returns string representation for AvailabilityState

Operators

Equality(AvailabilityState, AvailabilityState)

Overriding == operator for enum AvailabilityState

Implicit(AvailabilityState to String)

Implicit operator to convert AvailabilityState to string

Implicit(String to AvailabilityState)

Implicit operator to convert string to AvailabilityState

Inequality(AvailabilityState, AvailabilityState)

Overriding != operator for enum AvailabilityState

Applies to