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)


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

field :cluster_id

#cluster_nameString (readonly)

Server cluster name

Returns:

  • (String)


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

field :cluster_name

#initializedBoolean (readonly)

Whether the Vault server is Initialized.

Returns:

  • (Boolean)


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

field :initialized, as: :initialized?

#replication_dr_modeString (readonly)

Verbose description of DR mode (added in 0.9.2)

Returns:

  • (String)


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

field :replication_dr_mode

#replication_performance_modeString (readonly)

Verbose description of DR mode (added in 0.9.2)

Returns:

  • (String)


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

field :replication_performance_mode

#sealedBoolean (readonly)

Whether the Vault server is Sealed.

Returns:

  • (Boolean)


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

field :sealed, as: :sealed?

#server_time_utcFixnum (readonly)

Server time in Unix seconds, UTC

Returns:

  • (Fixnum)


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

field :server_time_utc

#standbyBoolean (readonly)

Whether the Vault server is in Standby mode.

Returns:

  • (Boolean)


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

field :standby, as: :standby?

#versionString (readonly)

Server Vault version string (added in 0.6.1)

Returns:

  • (String)


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

field :version