Module: Kitchen::Driver::Oci::Instance::CommonLaunchDetails
- Included in:
- Kitchen::Driver::Oci::Instance
- Defined in:
- lib/kitchen/driver/oci/instance/common.rb
Overview
setter methods that populate launch details common to all instance models
Instance Method Summary collapse
- #availability_domain ⇒ Object
- #compartment_id ⇒ Object
- #defined_tags ⇒ Object
- #freeform_tags ⇒ Object
- #shape ⇒ Object
Instance Method Details
#availability_domain ⇒ Object
29 30 31 |
# File 'lib/kitchen/driver/oci/instance/common.rb', line 29 def availability_domain launch_details.availability_domain = config[:availability_domain] end |
#compartment_id ⇒ Object
25 26 27 |
# File 'lib/kitchen/driver/oci/instance/common.rb', line 25 def compartment_id launch_details.compartment_id = oci.compartment end |
#defined_tags ⇒ Object
33 34 35 |
# File 'lib/kitchen/driver/oci/instance/common.rb', line 33 def launch_details. = config[:defined_tags] end |
#freeform_tags ⇒ Object
41 42 43 |
# File 'lib/kitchen/driver/oci/instance/common.rb', line 41 def launch_details. = end |
#shape ⇒ Object
37 38 39 |
# File 'lib/kitchen/driver/oci/instance/common.rb', line 37 def shape launch_details.shape = config[:shape] end |