Class: TcServer::Installation
- Inherits:
-
Shared::Installation
- Object
- Shared::Resource
- Shared::Installation
- TcServer::Installation
- Defined in:
- lib/vas/tc_server/installations.rb
Overview
A tc Server installation
Instance Attribute Summary collapse
-
#runtime_versions ⇒ Object
readonly
The versions of the tc Server runtime that are supported by the installation.
Attributes inherited from Shared::Installation
#group, #installation_image, #version
Attributes inherited from Shared::Resource
Instance Method Summary collapse
-
#initialize(location, client) ⇒ Installation
constructor
:nodoc:.
-
#instances ⇒ Object
An array of the instances that are using the installation.
-
#templates ⇒ Object
The installation’s templates.
Methods inherited from Shared::Installation
Constructor Details
#initialize(location, client) ⇒ Installation
:nodoc:
35 36 37 38 39 40 |
# File 'lib/vas/tc_server/installations.rb', line 35 def initialize(location, client) #:nodoc: super(location, client, InstallationImage, Group) @runtime_versions = details["runtime-versions"] @templates_location = Util::LinkUtils.get_link_href(details, "templates") end |
Instance Attribute Details
#runtime_versions ⇒ Object (readonly)
The versions of the tc Server runtime that are supported by the installation
33 34 35 |
# File 'lib/vas/tc_server/installations.rb', line 33 def runtime_versions @runtime_versions end |
Instance Method Details
#instances ⇒ Object
An array of the instances that are using the installation
48 49 50 |
# File 'lib/vas/tc_server/installations.rb', line 48 def instances retrieve_instances("group-instance", Instance); end |