Class: OvirtSDK4::Initialization
- Inherits:
-
Struct
- Object
- Struct
- OvirtSDK4::Initialization
- Defined in:
- lib/ovirtsdk4/types.rb,
lib/ovirtsdk4/types.rb
Instance Method Summary (collapse)
-
- (String) active_directory_ou
Returns the value of the
active_directory_ou
attribute. -
- (Object) active_directory_ou=(value)
Sets the value of the
active_directory_ou
attribute. -
- (String) authorized_ssh_keys
Returns the value of the
authorized_ssh_keys
attribute. -
- (Object) authorized_ssh_keys=(value)
Sets the value of the
authorized_ssh_keys
attribute. -
- (CloudInit) cloud_init
Returns the value of the
cloud_init
attribute. -
- (Object) cloud_init=(value)
Sets the value of the
cloud_init
attribute. -
- (Configuration) configuration
Returns the value of the
configuration
attribute. -
- (Object) configuration=(value)
Sets the value of the
configuration
attribute. -
- (String) custom_script
Returns the value of the
custom_script
attribute. -
- (Object) custom_script=(value)
Sets the value of the
custom_script
attribute. -
- (String) dns_search
Returns the value of the
dns_search
attribute. -
- (Object) dns_search=(value)
Sets the value of the
dns_search
attribute. -
- (String) dns_servers
Returns the value of the
dns_servers
attribute. -
- (Object) dns_servers=(value)
Sets the value of the
dns_servers
attribute. -
- (String) domain
Returns the value of the
domain
attribute. -
- (Object) domain=(value)
Sets the value of the
domain
attribute. -
- (String) host_name
Returns the value of the
host_name
attribute. -
- (Object) host_name=(value)
Sets the value of the
host_name
attribute. -
- (Initialization) initialize(opts = {})
constructor
Creates a new instance of the Initialization class.
-
- (String) input_locale
Returns the value of the
input_locale
attribute. -
- (Object) input_locale=(value)
Sets the value of the
input_locale
attribute. -
- (Array<NicConfiguration>) nic_configurations
Returns the value of the
nic_configurations
attribute. -
- (Object) nic_configurations=(list)
Sets the value of the
nic_configurations
attribute. -
- (String) org_name
Returns the value of the
org_name
attribute. -
- (Object) org_name=(value)
Sets the value of the
org_name
attribute. -
- (Boolean) regenerate_ids
Returns the value of the
regenerate_ids
attribute. -
- (Object) regenerate_ids=(value)
Sets the value of the
regenerate_ids
attribute. -
- (Boolean) regenerate_ssh_keys
Returns the value of the
regenerate_ssh_keys
attribute. -
- (Object) regenerate_ssh_keys=(value)
Sets the value of the
regenerate_ssh_keys
attribute. -
- (String) root_password
Returns the value of the
root_password
attribute. -
- (Object) root_password=(value)
Sets the value of the
root_password
attribute. -
- (String) system_locale
Returns the value of the
system_locale
attribute. -
- (Object) system_locale=(value)
Sets the value of the
system_locale
attribute. -
- (String) timezone
Returns the value of the
timezone
attribute. -
- (Object) timezone=(value)
Sets the value of the
timezone
attribute. -
- (String) ui_language
Returns the value of the
ui_language
attribute. -
- (Object) ui_language=(value)
Sets the value of the
ui_language
attribute. -
- (String) user_locale
Returns the value of the
user_locale
attribute. -
- (Object) user_locale=(value)
Sets the value of the
user_locale
attribute. -
- (String) user_name
Returns the value of the
user_name
attribute. -
- (Object) user_name=(value)
Sets the value of the
user_name
attribute. -
- (String) windows_license_key
Returns the value of the
windows_license_key
attribute. -
- (Object) windows_license_key=(value)
Sets the value of the
windows_license_key
attribute.
Methods included from Type
Constructor Details
- (Initialization) initialize(opts = {})
Creates a new instance of the OvirtSDK4::Initialization class.
4292 4293 4294 4295 4296 4297 4298 4299 4300 4301 4302 4303 4304 4305 4306 4307 4308 4309 4310 4311 4312 4313 4314 4315 |
# File 'lib/ovirtsdk4/types.rb', line 4292 def initialize(opts = {}) super(opts) self.active_directory_ou = opts[:active_directory_ou] self. = opts[:authorized_ssh_keys] self.cloud_init = opts[:cloud_init] self.configuration = opts[:configuration] self.custom_script = opts[:custom_script] self.dns_search = opts[:dns_search] self.dns_servers = opts[:dns_servers] self.domain = opts[:domain] self.host_name = opts[:host_name] self.input_locale = opts[:input_locale] self.nic_configurations = opts[:nic_configurations] self.org_name = opts[:org_name] self.regenerate_ids = opts[:regenerate_ids] self.regenerate_ssh_keys = opts[:regenerate_ssh_keys] self.root_password = opts[:root_password] self.system_locale = opts[:system_locale] self.timezone = opts[:timezone] self.ui_language = opts[:ui_language] self.user_locale = opts[:user_locale] self.user_name = opts[:user_name] self.windows_license_key = opts[:windows_license_key] end |
Instance Method Details
- (String) active_directory_ou
Returns the value of the active_directory_ou
attribute.
3848 3849 3850 |
# File 'lib/ovirtsdk4/types.rb', line 3848 def active_directory_ou return @active_directory_ou end |
- (Object) active_directory_ou=(value)
Sets the value of the active_directory_ou
attribute.
3857 3858 3859 |
# File 'lib/ovirtsdk4/types.rb', line 3857 def active_directory_ou=(value) @active_directory_ou = value end |
- (String) authorized_ssh_keys
Returns the value of the authorized_ssh_keys
attribute.
3866 3867 3868 |
# File 'lib/ovirtsdk4/types.rb', line 3866 def return @authorized_ssh_keys end |
- (Object) authorized_ssh_keys=(value)
Sets the value of the authorized_ssh_keys
attribute.
3875 3876 3877 |
# File 'lib/ovirtsdk4/types.rb', line 3875 def (value) @authorized_ssh_keys = value end |
- (CloudInit) cloud_init
Returns the value of the cloud_init
attribute.
3884 3885 3886 |
# File 'lib/ovirtsdk4/types.rb', line 3884 def cloud_init return @cloud_init end |
- (Object) cloud_init=(value)
Sets the value of the cloud_init
attribute.
The value
parameter can be an instance of CloudInit or a hash.
If it is a hash then a new instance will be created passing the hash as the
opts
parameter to the constructor.
3897 3898 3899 3900 3901 3902 |
# File 'lib/ovirtsdk4/types.rb', line 3897 def cloud_init=(value) if value.is_a?(Hash) value = CloudInit.new(value) end @cloud_init = value end |
- (Configuration) configuration
Returns the value of the configuration
attribute.
3909 3910 3911 |
# File 'lib/ovirtsdk4/types.rb', line 3909 def configuration return @configuration end |
- (Object) configuration=(value)
Sets the value of the configuration
attribute.
The value
parameter can be an instance of Configuration or a hash.
If it is a hash then a new instance will be created passing the hash as the
opts
parameter to the constructor.
3922 3923 3924 3925 3926 3927 |
# File 'lib/ovirtsdk4/types.rb', line 3922 def configuration=(value) if value.is_a?(Hash) value = Configuration.new(value) end @configuration = value end |
- (String) custom_script
Returns the value of the custom_script
attribute.
3934 3935 3936 |
# File 'lib/ovirtsdk4/types.rb', line 3934 def custom_script return @custom_script end |
- (Object) custom_script=(value)
Sets the value of the custom_script
attribute.
3943 3944 3945 |
# File 'lib/ovirtsdk4/types.rb', line 3943 def custom_script=(value) @custom_script = value end |
- (String) dns_search
Returns the value of the dns_search
attribute.
3952 3953 3954 |
# File 'lib/ovirtsdk4/types.rb', line 3952 def dns_search return @dns_search end |
- (Object) dns_search=(value)
Sets the value of the dns_search
attribute.
3961 3962 3963 |
# File 'lib/ovirtsdk4/types.rb', line 3961 def dns_search=(value) @dns_search = value end |
- (String) dns_servers
Returns the value of the dns_servers
attribute.
3970 3971 3972 |
# File 'lib/ovirtsdk4/types.rb', line 3970 def dns_servers return @dns_servers end |
- (Object) dns_servers=(value)
Sets the value of the dns_servers
attribute.
3979 3980 3981 |
# File 'lib/ovirtsdk4/types.rb', line 3979 def dns_servers=(value) @dns_servers = value end |
- (String) domain
Returns the value of the domain
attribute.
3988 3989 3990 |
# File 'lib/ovirtsdk4/types.rb', line 3988 def domain return @domain end |
- (Object) domain=(value)
Sets the value of the domain
attribute.
3997 3998 3999 |
# File 'lib/ovirtsdk4/types.rb', line 3997 def domain=(value) @domain = value end |
- (String) host_name
Returns the value of the host_name
attribute.
4006 4007 4008 |
# File 'lib/ovirtsdk4/types.rb', line 4006 def host_name return @host_name end |
- (Object) host_name=(value)
Sets the value of the host_name
attribute.
4015 4016 4017 |
# File 'lib/ovirtsdk4/types.rb', line 4015 def host_name=(value) @host_name = value end |
- (String) input_locale
Returns the value of the input_locale
attribute.
4024 4025 4026 |
# File 'lib/ovirtsdk4/types.rb', line 4024 def input_locale return @input_locale end |
- (Object) input_locale=(value)
Sets the value of the input_locale
attribute.
4033 4034 4035 |
# File 'lib/ovirtsdk4/types.rb', line 4033 def input_locale=(value) @input_locale = value end |
- (Array<NicConfiguration>) nic_configurations
Returns the value of the nic_configurations
attribute.
4042 4043 4044 |
# File 'lib/ovirtsdk4/types.rb', line 4042 def nic_configurations return @nic_configurations end |
- (Object) nic_configurations=(list)
Sets the value of the nic_configurations
attribute.
4050 4051 4052 4053 4054 4055 4056 4057 4058 4059 4060 |
# File 'lib/ovirtsdk4/types.rb', line 4050 def nic_configurations=(list) if list.class == Array list = List.new(list) list.each_with_index do |value, index| if value.is_a?(Hash) list[index] = NicConfiguration.new(value) end end end @nic_configurations = list end |
- (String) org_name
Returns the value of the org_name
attribute.
4067 4068 4069 |
# File 'lib/ovirtsdk4/types.rb', line 4067 def org_name return @org_name end |
- (Object) org_name=(value)
Sets the value of the org_name
attribute.
4076 4077 4078 |
# File 'lib/ovirtsdk4/types.rb', line 4076 def org_name=(value) @org_name = value end |
- (Boolean) regenerate_ids
Returns the value of the regenerate_ids
attribute.
4085 4086 4087 |
# File 'lib/ovirtsdk4/types.rb', line 4085 def regenerate_ids return @regenerate_ids end |
- (Object) regenerate_ids=(value)
Sets the value of the regenerate_ids
attribute.
4094 4095 4096 |
# File 'lib/ovirtsdk4/types.rb', line 4094 def regenerate_ids=(value) @regenerate_ids = value end |
- (Boolean) regenerate_ssh_keys
Returns the value of the regenerate_ssh_keys
attribute.
4103 4104 4105 |
# File 'lib/ovirtsdk4/types.rb', line 4103 def regenerate_ssh_keys return @regenerate_ssh_keys end |
- (Object) regenerate_ssh_keys=(value)
Sets the value of the regenerate_ssh_keys
attribute.
4112 4113 4114 |
# File 'lib/ovirtsdk4/types.rb', line 4112 def regenerate_ssh_keys=(value) @regenerate_ssh_keys = value end |
- (String) root_password
Returns the value of the root_password
attribute.
4121 4122 4123 |
# File 'lib/ovirtsdk4/types.rb', line 4121 def root_password return @root_password end |
- (Object) root_password=(value)
Sets the value of the root_password
attribute.
4130 4131 4132 |
# File 'lib/ovirtsdk4/types.rb', line 4130 def root_password=(value) @root_password = value end |
- (String) system_locale
Returns the value of the system_locale
attribute.
4139 4140 4141 |
# File 'lib/ovirtsdk4/types.rb', line 4139 def system_locale return @system_locale end |
- (Object) system_locale=(value)
Sets the value of the system_locale
attribute.
4148 4149 4150 |
# File 'lib/ovirtsdk4/types.rb', line 4148 def system_locale=(value) @system_locale = value end |
- (String) timezone
Returns the value of the timezone
attribute.
4157 4158 4159 |
# File 'lib/ovirtsdk4/types.rb', line 4157 def timezone return @timezone end |
- (Object) timezone=(value)
Sets the value of the timezone
attribute.
4166 4167 4168 |
# File 'lib/ovirtsdk4/types.rb', line 4166 def timezone=(value) @timezone = value end |
- (String) ui_language
Returns the value of the ui_language
attribute.
4175 4176 4177 |
# File 'lib/ovirtsdk4/types.rb', line 4175 def ui_language return @ui_language end |
- (Object) ui_language=(value)
Sets the value of the ui_language
attribute.
4184 4185 4186 |
# File 'lib/ovirtsdk4/types.rb', line 4184 def ui_language=(value) @ui_language = value end |
- (String) user_locale
Returns the value of the user_locale
attribute.
4193 4194 4195 |
# File 'lib/ovirtsdk4/types.rb', line 4193 def user_locale return @user_locale end |
- (Object) user_locale=(value)
Sets the value of the user_locale
attribute.
4202 4203 4204 |
# File 'lib/ovirtsdk4/types.rb', line 4202 def user_locale=(value) @user_locale = value end |
- (String) user_name
Returns the value of the user_name
attribute.
4211 4212 4213 |
# File 'lib/ovirtsdk4/types.rb', line 4211 def user_name return @user_name end |
- (Object) user_name=(value)
Sets the value of the user_name
attribute.
4220 4221 4222 |
# File 'lib/ovirtsdk4/types.rb', line 4220 def user_name=(value) @user_name = value end |
- (String) windows_license_key
Returns the value of the windows_license_key
attribute.
4229 4230 4231 |
# File 'lib/ovirtsdk4/types.rb', line 4229 def windows_license_key return @windows_license_key end |
- (Object) windows_license_key=(value)
Sets the value of the windows_license_key
attribute.
4238 4239 4240 |
# File 'lib/ovirtsdk4/types.rb', line 4238 def windows_license_key=(value) @windows_license_key = value end |