Class: Vault::HealthStatus

Inherits:
Response show all
Defined in:
lib/vault/api/sys/health.rb

Instance Attribute Summary collapse

Method Summary

Methods inherited from Response

#==, decode, #initialize, #to_h

Constructor Details

This class inherits a constructor from Vault::Response

Instance Attribute Details

#cluster_idString (readonly)

Server cluster UUID

Returns:

  • (String)


48
# File 'lib/vault/api/sys/health.rb', line 48

field :cluster_id

#cluster_nameString (readonly)

Server cluster name

Returns:

  • (String)


43
# File 'lib/vault/api/sys/health.rb', line 43

field :cluster_name

#initializedBoolean (readonly)

Whether the Vault server is Initialized.

Returns:

  • (Boolean)


8
# File 'lib/vault/api/sys/health.rb', line 8

field :initialized, as: :initialized?

#replication_dr_modeString (readonly)

Verbose description of DR mode (added in 0.9.2)

Returns:

  • (String)


28
# File 'lib/vault/api/sys/health.rb', line 28

field :replication_dr_mode

#replication_performance_modeString (readonly)

Verbose description of DR mode (added in 0.9.2)

Returns:

  • (String)


23
# File 'lib/vault/api/sys/health.rb', line 23

field :replication_performance_mode

#sealedBoolean (readonly)

Whether the Vault server is Sealed.

Returns:

  • (Boolean)


13
# File 'lib/vault/api/sys/health.rb', line 13

field :sealed, as: :sealed?

#server_time_utcFixnum (readonly)

Server time in Unix seconds, UTC

Returns:

  • (Fixnum)


33
# File 'lib/vault/api/sys/health.rb', line 33

field :server_time_utc

#standbyBoolean (readonly)

Whether the Vault server is in Standby mode.

Returns:

  • (Boolean)


18
# File 'lib/vault/api/sys/health.rb', line 18

field :standby, as: :standby?

#versionString (readonly)

Server Vault version string (added in 0.6.1)

Returns:

  • (String)


38
# File 'lib/vault/api/sys/health.rb', line 38

field :version