Module: OneviewSDK::API300::Synergy::ServerProfileHelper
- Included in:
- OneviewSDK::API1000::Synergy::ServerProfile, OneviewSDK::API1200::Synergy::ServerProfile, ServerProfile, OneviewSDK::API500::Synergy::ServerProfile, OneviewSDK::API600::Synergy::ServerProfile, OneviewSDK::API800::Synergy::ServerProfile
- Defined in:
- lib/oneview-sdk/resource/api300/synergy/server_profile.rb
Overview
Contains helper methods to include operation Server Profile
Instance Method Summary collapse
-
#set_os_deployment_settings(os_deployment_plan, custom_attributes = []) ⇒ Object
Sets the OS deployment settings applicable when deployment is invoked through server profile.
Instance Method Details
#set_os_deployment_settings(os_deployment_plan, custom_attributes = []) ⇒ Object
Sets the OS deployment settings applicable when deployment is invoked through server profile
73 74 75 76 77 78 |
# File 'lib/oneview-sdk/resource/api300/synergy/server_profile.rb', line 73 def set_os_deployment_settings(os_deployment_plan, custom_attributes = []) os_deployment_plan.ensure_uri @data['osDeploymentSettings'] ||= {} @data['osDeploymentSettings']['osDeploymentPlanUri'] = os_deployment_plan['uri'] @data['osDeploymentSettings']['osCustomAttributes'] = custom_attributes end |