Class: Ansible::Ruby::Modules::Vultr_startup_script
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Vultr_startup_script
- Defined in:
- lib/ansible/ruby/modules/generated/cloud/vultr/vr_startup_script.rb,
lib/ansible/ruby/modules/generated/cloud/vultr/vultr_startup_script.rb
Overview
Create, update and remove startup scripts.
Instance Method Summary collapse
-
#name ⇒ String
The script name.
-
#script ⇒ String?
The script source code.,Required if (state=present).
-
#script_type ⇒ :boot, ...
The script type, can not be changed once created.
-
#state ⇒ :present, ...
State of the script.
Methods inherited from Base
Methods inherited from Ansible::Ruby::Models::Base
attr_option, attr_options, attribute, fix_inclusion, #initialize, remove_existing_validations, #to_h, validates
Constructor Details
This class inherits a constructor from Ansible::Ruby::Models::Base
Instance Method Details
#name ⇒ String
Returns The script name.
12 |
# File 'lib/ansible/ruby/modules/generated/cloud/vultr/vr_startup_script.rb', line 12 attribute :name |
#script ⇒ String?
Returns The script source code.,Required if (state=present).
20 |
# File 'lib/ansible/ruby/modules/generated/cloud/vultr/vr_startup_script.rb', line 20 attribute :script |
#script_type ⇒ :boot, ...
Returns The script type, can not be changed once created.
16 |
# File 'lib/ansible/ruby/modules/generated/cloud/vultr/vr_startup_script.rb', line 16 attribute :script_type |
#state ⇒ :present, ...
Returns State of the script.
24 |
# File 'lib/ansible/ruby/modules/generated/cloud/vultr/vr_startup_script.rb', line 24 attribute :state |