Class: MicrosoftGraph::Models::WindowsUpdateForBusinessConfiguration
- Inherits:
-
DeviceConfiguration
- Object
- Entity
- DeviceConfiguration
- MicrosoftGraph::Models::WindowsUpdateForBusinessConfiguration
- Includes:
- MicrosoftKiotaAbstractions::Parsable
- Defined in:
- lib/models/windows_update_for_business_configuration.rb
Overview
Windows Update for business configuration, allows you to specify how and when Windows as a Service updates your Windows 10/11 devices with feature and quality updates. Supports ODATA clauses that DeviceConfiguration entity supports: $filter by types of DeviceConfiguration, $top, $select only DeviceConfiguration base properties, $orderby only DeviceConfiguration base properties, and $skip. The query parameter ‘$search’ is not supported.
Class Method Summary collapse
-
.create_from_discriminator_value(parse_node) ⇒ Object
Creates a new instance of the appropriate class based on discriminator value.
Instance Method Summary collapse
-
#allow_windows11_upgrade ⇒ Object
Gets the allowWindows11Upgrade property value.
-
#allow_windows11_upgrade=(value) ⇒ Object
Sets the allowWindows11Upgrade property value.
-
#auto_restart_notification_dismissal ⇒ Object
Gets the autoRestartNotificationDismissal property value.
-
#auto_restart_notification_dismissal=(value) ⇒ Object
Sets the autoRestartNotificationDismissal property value.
-
#automatic_update_mode ⇒ Object
Gets the automaticUpdateMode property value.
-
#automatic_update_mode=(value) ⇒ Object
Sets the automaticUpdateMode property value.
-
#business_ready_updates_only ⇒ Object
Gets the businessReadyUpdatesOnly property value.
-
#business_ready_updates_only=(value) ⇒ Object
Sets the businessReadyUpdatesOnly property value.
-
#deadline_for_feature_updates_in_days ⇒ Object
Gets the deadlineForFeatureUpdatesInDays property value.
-
#deadline_for_feature_updates_in_days=(value) ⇒ Object
Sets the deadlineForFeatureUpdatesInDays property value.
-
#deadline_for_quality_updates_in_days ⇒ Object
Gets the deadlineForQualityUpdatesInDays property value.
-
#deadline_for_quality_updates_in_days=(value) ⇒ Object
Sets the deadlineForQualityUpdatesInDays property value.
-
#deadline_grace_period_in_days ⇒ Object
Gets the deadlineGracePeriodInDays property value.
-
#deadline_grace_period_in_days=(value) ⇒ Object
Sets the deadlineGracePeriodInDays property value.
-
#delivery_optimization_mode ⇒ Object
Gets the deliveryOptimizationMode property value.
-
#delivery_optimization_mode=(value) ⇒ Object
Sets the deliveryOptimizationMode property value.
-
#drivers_excluded ⇒ Object
Gets the driversExcluded property value.
-
#drivers_excluded=(value) ⇒ Object
Sets the driversExcluded property value.
-
#engaged_restart_deadline_in_days ⇒ Object
Gets the engagedRestartDeadlineInDays property value.
-
#engaged_restart_deadline_in_days=(value) ⇒ Object
Sets the engagedRestartDeadlineInDays property value.
-
#engaged_restart_snooze_schedule_in_days ⇒ Object
Gets the engagedRestartSnoozeScheduleInDays property value.
-
#engaged_restart_snooze_schedule_in_days=(value) ⇒ Object
Sets the engagedRestartSnoozeScheduleInDays property value.
-
#engaged_restart_transition_schedule_in_days ⇒ Object
Gets the engagedRestartTransitionScheduleInDays property value.
-
#engaged_restart_transition_schedule_in_days=(value) ⇒ Object
Sets the engagedRestartTransitionScheduleInDays property value.
-
#feature_updates_deferral_period_in_days ⇒ Object
Gets the featureUpdatesDeferralPeriodInDays property value.
-
#feature_updates_deferral_period_in_days=(value) ⇒ Object
Sets the featureUpdatesDeferralPeriodInDays property value.
-
#feature_updates_pause_expiry_date_time ⇒ Object
Gets the featureUpdatesPauseExpiryDateTime property value.
-
#feature_updates_pause_expiry_date_time=(value) ⇒ Object
Sets the featureUpdatesPauseExpiryDateTime property value.
-
#feature_updates_pause_start_date ⇒ Object
Gets the featureUpdatesPauseStartDate property value.
-
#feature_updates_pause_start_date=(value) ⇒ Object
Sets the featureUpdatesPauseStartDate property value.
-
#feature_updates_paused ⇒ Object
Gets the featureUpdatesPaused property value.
-
#feature_updates_paused=(value) ⇒ Object
Sets the featureUpdatesPaused property value.
-
#feature_updates_rollback_start_date_time ⇒ Object
Gets the featureUpdatesRollbackStartDateTime property value.
-
#feature_updates_rollback_start_date_time=(value) ⇒ Object
Sets the featureUpdatesRollbackStartDateTime property value.
-
#feature_updates_rollback_window_in_days ⇒ Object
Gets the featureUpdatesRollbackWindowInDays property value.
-
#feature_updates_rollback_window_in_days=(value) ⇒ Object
Sets the featureUpdatesRollbackWindowInDays property value.
-
#feature_updates_will_be_rolled_back ⇒ Object
Gets the featureUpdatesWillBeRolledBack property value.
-
#feature_updates_will_be_rolled_back=(value) ⇒ Object
Sets the featureUpdatesWillBeRolledBack property value.
-
#get_field_deserializers ⇒ Object
The deserialization information for the current model.
-
#initialize ⇒ Object
constructor
Instantiates a new windowsUpdateForBusinessConfiguration and sets the default values.
-
#installation_schedule ⇒ Object
Gets the installationSchedule property value.
-
#installation_schedule=(value) ⇒ Object
Sets the installationSchedule property value.
-
#microsoft_update_service_allowed ⇒ Object
Gets the microsoftUpdateServiceAllowed property value.
-
#microsoft_update_service_allowed=(value) ⇒ Object
Sets the microsoftUpdateServiceAllowed property value.
-
#postpone_reboot_until_after_deadline ⇒ Object
Gets the postponeRebootUntilAfterDeadline property value.
-
#postpone_reboot_until_after_deadline=(value) ⇒ Object
Sets the postponeRebootUntilAfterDeadline property value.
-
#prerelease_features ⇒ Object
Gets the prereleaseFeatures property value.
-
#prerelease_features=(value) ⇒ Object
Sets the prereleaseFeatures property value.
-
#quality_updates_deferral_period_in_days ⇒ Object
Gets the qualityUpdatesDeferralPeriodInDays property value.
-
#quality_updates_deferral_period_in_days=(value) ⇒ Object
Sets the qualityUpdatesDeferralPeriodInDays property value.
-
#quality_updates_pause_expiry_date_time ⇒ Object
Gets the qualityUpdatesPauseExpiryDateTime property value.
-
#quality_updates_pause_expiry_date_time=(value) ⇒ Object
Sets the qualityUpdatesPauseExpiryDateTime property value.
-
#quality_updates_pause_start_date ⇒ Object
Gets the qualityUpdatesPauseStartDate property value.
-
#quality_updates_pause_start_date=(value) ⇒ Object
Sets the qualityUpdatesPauseStartDate property value.
-
#quality_updates_paused ⇒ Object
Gets the qualityUpdatesPaused property value.
-
#quality_updates_paused=(value) ⇒ Object
Sets the qualityUpdatesPaused property value.
-
#quality_updates_rollback_start_date_time ⇒ Object
Gets the qualityUpdatesRollbackStartDateTime property value.
-
#quality_updates_rollback_start_date_time=(value) ⇒ Object
Sets the qualityUpdatesRollbackStartDateTime property value.
-
#quality_updates_will_be_rolled_back ⇒ Object
Gets the qualityUpdatesWillBeRolledBack property value.
-
#quality_updates_will_be_rolled_back=(value) ⇒ Object
Sets the qualityUpdatesWillBeRolledBack property value.
-
#schedule_imminent_restart_warning_in_minutes ⇒ Object
Gets the scheduleImminentRestartWarningInMinutes property value.
-
#schedule_imminent_restart_warning_in_minutes=(value) ⇒ Object
Sets the scheduleImminentRestartWarningInMinutes property value.
-
#schedule_restart_warning_in_hours ⇒ Object
Gets the scheduleRestartWarningInHours property value.
-
#schedule_restart_warning_in_hours=(value) ⇒ Object
Sets the scheduleRestartWarningInHours property value.
-
#serialize(writer) ⇒ Object
Serializes information the current object.
-
#skip_checks_before_restart ⇒ Object
Gets the skipChecksBeforeRestart property value.
-
#skip_checks_before_restart=(value) ⇒ Object
Sets the skipChecksBeforeRestart property value.
-
#update_notification_level ⇒ Object
Gets the updateNotificationLevel property value.
-
#update_notification_level=(value) ⇒ Object
Sets the updateNotificationLevel property value.
-
#update_weeks ⇒ Object
Gets the updateWeeks property value.
-
#update_weeks=(value) ⇒ Object
Sets the updateWeeks property value.
-
#user_pause_access ⇒ Object
Gets the userPauseAccess property value.
-
#user_pause_access=(value) ⇒ Object
Sets the userPauseAccess property value.
-
#user_windows_update_scan_access ⇒ Object
Gets the userWindowsUpdateScanAccess property value.
-
#user_windows_update_scan_access=(value) ⇒ Object
Sets the userWindowsUpdateScanAccess property value.
Methods inherited from DeviceConfiguration
#assignments, #assignments=, #created_date_time, #created_date_time=, #description, #description=, #device_setting_state_summaries, #device_setting_state_summaries=, #device_status_overview, #device_status_overview=, #device_statuses, #device_statuses=, #display_name, #display_name=, #last_modified_date_time, #last_modified_date_time=, #user_status_overview, #user_status_overview=, #user_statuses, #user_statuses=, #version, #version=
Methods inherited from Entity
#additional_data, #additional_data=, #id, #id=, #odata_type, #odata_type=
Constructor Details
#initialize ⇒ Object
Instantiates a new windowsUpdateForBusinessConfiguration and sets the default values.
184 185 186 187 |
# File 'lib/models/windows_update_for_business_configuration.rb', line 184 def initialize() super @odata_type = "#microsoft.graph.windowsUpdateForBusinessConfiguration" end |
Class Method Details
.create_from_discriminator_value(parse_node) ⇒ Object
Creates a new instance of the appropriate class based on discriminator value
193 194 195 196 |
# File 'lib/models/windows_update_for_business_configuration.rb', line 193 def self.create_from_discriminator_value(parse_node) raise StandardError, 'parse_node cannot be null' if parse_node.nil? return WindowsUpdateForBusinessConfiguration.new end |
Instance Method Details
#allow_windows11_upgrade ⇒ Object
Gets the allowWindows11Upgrade property value. When TRUE, allows eligible Windows 10 devices to upgrade to Windows 11. When FALSE, implies the device stays on the existing operating system. Returned by default. Query parameters are not supported.
124 125 126 |
# File 'lib/models/windows_update_for_business_configuration.rb', line 124 def allow_windows11_upgrade return @allow_windows11_upgrade end |
#allow_windows11_upgrade=(value) ⇒ Object
Sets the allowWindows11Upgrade property value. When TRUE, allows eligible Windows 10 devices to upgrade to Windows 11. When FALSE, implies the device stays on the existing operating system. Returned by default. Query parameters are not supported.
132 133 134 |
# File 'lib/models/windows_update_for_business_configuration.rb', line 132 def allow_windows11_upgrade=(value) @allow_windows11_upgrade = value end |
#auto_restart_notification_dismissal ⇒ Object
Gets the autoRestartNotificationDismissal property value. Auto restart required notification dismissal method
139 140 141 |
# File 'lib/models/windows_update_for_business_configuration.rb', line 139 def auto_restart_notification_dismissal return @auto_restart_notification_dismissal end |
#auto_restart_notification_dismissal=(value) ⇒ Object
Sets the autoRestartNotificationDismissal property value. Auto restart required notification dismissal method
147 148 149 |
# File 'lib/models/windows_update_for_business_configuration.rb', line 147 def auto_restart_notification_dismissal=(value) @auto_restart_notification_dismissal = value end |
#automatic_update_mode ⇒ Object
Gets the automaticUpdateMode property value. Possible values for automatic update mode.
154 155 156 |
# File 'lib/models/windows_update_for_business_configuration.rb', line 154 def automatic_update_mode return @automatic_update_mode end |
#automatic_update_mode=(value) ⇒ Object
Sets the automaticUpdateMode property value. Possible values for automatic update mode.
162 163 164 |
# File 'lib/models/windows_update_for_business_configuration.rb', line 162 def automatic_update_mode=(value) @automatic_update_mode = value end |
#business_ready_updates_only ⇒ Object
Gets the businessReadyUpdatesOnly property value. Which branch devices will receive their updates from
169 170 171 |
# File 'lib/models/windows_update_for_business_configuration.rb', line 169 def business_ready_updates_only return @business_ready_updates_only end |
#business_ready_updates_only=(value) ⇒ Object
Sets the businessReadyUpdatesOnly property value. Which branch devices will receive their updates from
177 178 179 |
# File 'lib/models/windows_update_for_business_configuration.rb', line 177 def business_ready_updates_only=(value) @business_ready_updates_only = value end |
#deadline_for_feature_updates_in_days ⇒ Object
Gets the deadlineForFeatureUpdatesInDays property value. Number of days before feature updates are installed automatically with valid range from 0 to 30 days. Returned by default. Query parameters are not supported.
201 202 203 |
# File 'lib/models/windows_update_for_business_configuration.rb', line 201 def deadline_for_feature_updates_in_days return @deadline_for_feature_updates_in_days end |
#deadline_for_feature_updates_in_days=(value) ⇒ Object
Sets the deadlineForFeatureUpdatesInDays property value. Number of days before feature updates are installed automatically with valid range from 0 to 30 days. Returned by default. Query parameters are not supported.
209 210 211 |
# File 'lib/models/windows_update_for_business_configuration.rb', line 209 def deadline_for_feature_updates_in_days=(value) @deadline_for_feature_updates_in_days = value end |
#deadline_for_quality_updates_in_days ⇒ Object
Gets the deadlineForQualityUpdatesInDays property value. Number of days before quality updates are installed automatically with valid range from 0 to 30 days. Returned by default. Query parameters are not supported.
216 217 218 |
# File 'lib/models/windows_update_for_business_configuration.rb', line 216 def deadline_for_quality_updates_in_days return @deadline_for_quality_updates_in_days end |
#deadline_for_quality_updates_in_days=(value) ⇒ Object
Sets the deadlineForQualityUpdatesInDays property value. Number of days before quality updates are installed automatically with valid range from 0 to 30 days. Returned by default. Query parameters are not supported.
224 225 226 |
# File 'lib/models/windows_update_for_business_configuration.rb', line 224 def deadline_for_quality_updates_in_days=(value) @deadline_for_quality_updates_in_days = value end |
#deadline_grace_period_in_days ⇒ Object
Gets the deadlineGracePeriodInDays property value. Number of days after deadline until restarts occur automatically with valid range from 0 to 7 days. Returned by default. Query parameters are not supported.
231 232 233 |
# File 'lib/models/windows_update_for_business_configuration.rb', line 231 def deadline_grace_period_in_days return @deadline_grace_period_in_days end |
#deadline_grace_period_in_days=(value) ⇒ Object
Sets the deadlineGracePeriodInDays property value. Number of days after deadline until restarts occur automatically with valid range from 0 to 7 days. Returned by default. Query parameters are not supported.
239 240 241 |
# File 'lib/models/windows_update_for_business_configuration.rb', line 239 def deadline_grace_period_in_days=(value) @deadline_grace_period_in_days = value end |
#delivery_optimization_mode ⇒ Object
Gets the deliveryOptimizationMode property value. Delivery optimization mode for peer distribution
246 247 248 |
# File 'lib/models/windows_update_for_business_configuration.rb', line 246 def delivery_optimization_mode return @delivery_optimization_mode end |
#delivery_optimization_mode=(value) ⇒ Object
Sets the deliveryOptimizationMode property value. Delivery optimization mode for peer distribution
254 255 256 |
# File 'lib/models/windows_update_for_business_configuration.rb', line 254 def delivery_optimization_mode=(value) @delivery_optimization_mode = value end |
#drivers_excluded ⇒ Object
Gets the driversExcluded property value. When TRUE, excludes Windows update Drivers. When FALSE, does not exclude Windows update Drivers. Returned by default. Query parameters are not supported.
261 262 263 |
# File 'lib/models/windows_update_for_business_configuration.rb', line 261 def drivers_excluded return @drivers_excluded end |
#drivers_excluded=(value) ⇒ Object
Sets the driversExcluded property value. When TRUE, excludes Windows update Drivers. When FALSE, does not exclude Windows update Drivers. Returned by default. Query parameters are not supported.
269 270 271 |
# File 'lib/models/windows_update_for_business_configuration.rb', line 269 def drivers_excluded=(value) @drivers_excluded = value end |
#engaged_restart_deadline_in_days ⇒ Object
Gets the engagedRestartDeadlineInDays property value. Deadline in days before automatically scheduling and executing a pending restart outside of active hours, with valid range from 2 to 30 days. Returned by default. Query parameters are not supported.
276 277 278 |
# File 'lib/models/windows_update_for_business_configuration.rb', line 276 def engaged_restart_deadline_in_days return @engaged_restart_deadline_in_days end |
#engaged_restart_deadline_in_days=(value) ⇒ Object
Sets the engagedRestartDeadlineInDays property value. Deadline in days before automatically scheduling and executing a pending restart outside of active hours, with valid range from 2 to 30 days. Returned by default. Query parameters are not supported.
284 285 286 |
# File 'lib/models/windows_update_for_business_configuration.rb', line 284 def engaged_restart_deadline_in_days=(value) @engaged_restart_deadline_in_days = value end |
#engaged_restart_snooze_schedule_in_days ⇒ Object
Gets the engagedRestartSnoozeScheduleInDays property value. Number of days a user can snooze Engaged Restart reminder notifications with valid range from 1 to 3 days. Returned by default. Query parameters are not supported.
291 292 293 |
# File 'lib/models/windows_update_for_business_configuration.rb', line 291 def engaged_restart_snooze_schedule_in_days return @engaged_restart_snooze_schedule_in_days end |
#engaged_restart_snooze_schedule_in_days=(value) ⇒ Object
Sets the engagedRestartSnoozeScheduleInDays property value. Number of days a user can snooze Engaged Restart reminder notifications with valid range from 1 to 3 days. Returned by default. Query parameters are not supported.
299 300 301 |
# File 'lib/models/windows_update_for_business_configuration.rb', line 299 def engaged_restart_snooze_schedule_in_days=(value) @engaged_restart_snooze_schedule_in_days = value end |
#engaged_restart_transition_schedule_in_days ⇒ Object
Gets the engagedRestartTransitionScheduleInDays property value. Number of days before transitioning from Auto Restarts scheduled outside of active hours to Engaged Restart, which requires the user to schedule, with valid range from 0 to 30 days. Returned by default. Query parameters are not supported.
306 307 308 |
# File 'lib/models/windows_update_for_business_configuration.rb', line 306 def engaged_restart_transition_schedule_in_days return @engaged_restart_transition_schedule_in_days end |
#engaged_restart_transition_schedule_in_days=(value) ⇒ Object
Sets the engagedRestartTransitionScheduleInDays property value. Number of days before transitioning from Auto Restarts scheduled outside of active hours to Engaged Restart, which requires the user to schedule, with valid range from 0 to 30 days. Returned by default. Query parameters are not supported.
314 315 316 |
# File 'lib/models/windows_update_for_business_configuration.rb', line 314 def engaged_restart_transition_schedule_in_days=(value) @engaged_restart_transition_schedule_in_days = value end |
#feature_updates_deferral_period_in_days ⇒ Object
Gets the featureUpdatesDeferralPeriodInDays property value. Defer Feature Updates by these many days with valid range from 0 to 30 days. Returned by default. Query parameters are not supported.
321 322 323 |
# File 'lib/models/windows_update_for_business_configuration.rb', line 321 def feature_updates_deferral_period_in_days return @feature_updates_deferral_period_in_days end |
#feature_updates_deferral_period_in_days=(value) ⇒ Object
Sets the featureUpdatesDeferralPeriodInDays property value. Defer Feature Updates by these many days with valid range from 0 to 30 days. Returned by default. Query parameters are not supported.
329 330 331 |
# File 'lib/models/windows_update_for_business_configuration.rb', line 329 def feature_updates_deferral_period_in_days=(value) @feature_updates_deferral_period_in_days = value end |
#feature_updates_pause_expiry_date_time ⇒ Object
Gets the featureUpdatesPauseExpiryDateTime property value. The Feature Updates Pause Expiry datetime. This value is 35 days from the time admin paused or extended the pause for the ring. Returned by default. Query parameters are not supported.
336 337 338 |
# File 'lib/models/windows_update_for_business_configuration.rb', line 336 def feature_updates_pause_expiry_date_time return @feature_updates_pause_expiry_date_time end |
#feature_updates_pause_expiry_date_time=(value) ⇒ Object
Sets the featureUpdatesPauseExpiryDateTime property value. The Feature Updates Pause Expiry datetime. This value is 35 days from the time admin paused or extended the pause for the ring. Returned by default. Query parameters are not supported.
344 345 346 |
# File 'lib/models/windows_update_for_business_configuration.rb', line 344 def feature_updates_pause_expiry_date_time=(value) @feature_updates_pause_expiry_date_time = value end |
#feature_updates_pause_start_date ⇒ Object
Gets the featureUpdatesPauseStartDate property value. The Feature Updates Pause start date. This value is the time when the admin paused or extended the pause for the ring. Returned by default. Query parameters are not supported. This property is read-only.
351 352 353 |
# File 'lib/models/windows_update_for_business_configuration.rb', line 351 def feature_updates_pause_start_date return @feature_updates_pause_start_date end |
#feature_updates_pause_start_date=(value) ⇒ Object
Sets the featureUpdatesPauseStartDate property value. The Feature Updates Pause start date. This value is the time when the admin paused or extended the pause for the ring. Returned by default. Query parameters are not supported. This property is read-only.
359 360 361 |
# File 'lib/models/windows_update_for_business_configuration.rb', line 359 def feature_updates_pause_start_date=(value) @feature_updates_pause_start_date = value end |
#feature_updates_paused ⇒ Object
Gets the featureUpdatesPaused property value. When TRUE, assigned devices are paused from receiving feature updates for up to 35 days from the time you pause the ring. When FALSE, does not pause Feature Updates. Returned by default. Query parameters are not supported.s
366 367 368 |
# File 'lib/models/windows_update_for_business_configuration.rb', line 366 def feature_updates_paused return @feature_updates_paused end |
#feature_updates_paused=(value) ⇒ Object
Sets the featureUpdatesPaused property value. When TRUE, assigned devices are paused from receiving feature updates for up to 35 days from the time you pause the ring. When FALSE, does not pause Feature Updates. Returned by default. Query parameters are not supported.s
374 375 376 |
# File 'lib/models/windows_update_for_business_configuration.rb', line 374 def feature_updates_paused=(value) @feature_updates_paused = value end |
#feature_updates_rollback_start_date_time ⇒ Object
Gets the featureUpdatesRollbackStartDateTime property value. The Feature Updates Rollback Start datetime.This value is the time when the admin rolled back the Feature update for the ring.Returned by default.Query parameters are not supported.
381 382 383 |
# File 'lib/models/windows_update_for_business_configuration.rb', line 381 def feature_updates_rollback_start_date_time return @feature_updates_rollback_start_date_time end |
#feature_updates_rollback_start_date_time=(value) ⇒ Object
Sets the featureUpdatesRollbackStartDateTime property value. The Feature Updates Rollback Start datetime.This value is the time when the admin rolled back the Feature update for the ring.Returned by default.Query parameters are not supported.
389 390 391 |
# File 'lib/models/windows_update_for_business_configuration.rb', line 389 def feature_updates_rollback_start_date_time=(value) @feature_updates_rollback_start_date_time = value end |
#feature_updates_rollback_window_in_days ⇒ Object
Gets the featureUpdatesRollbackWindowInDays property value. The number of days after a Feature Update for which a rollback is valid with valid range from 2 to 60 days. Returned by default. Query parameters are not supported.
396 397 398 |
# File 'lib/models/windows_update_for_business_configuration.rb', line 396 def feature_updates_rollback_window_in_days return @feature_updates_rollback_window_in_days end |
#feature_updates_rollback_window_in_days=(value) ⇒ Object
Sets the featureUpdatesRollbackWindowInDays property value. The number of days after a Feature Update for which a rollback is valid with valid range from 2 to 60 days. Returned by default. Query parameters are not supported.
404 405 406 |
# File 'lib/models/windows_update_for_business_configuration.rb', line 404 def feature_updates_rollback_window_in_days=(value) @feature_updates_rollback_window_in_days = value end |
#feature_updates_will_be_rolled_back ⇒ Object
Gets the featureUpdatesWillBeRolledBack property value. When TRUE, rollback Feature Updates on the next device check in. When FALSE, do not rollback Feature Updates on the next device check in. Returned by default.Query parameters are not supported.
411 412 413 |
# File 'lib/models/windows_update_for_business_configuration.rb', line 411 def feature_updates_will_be_rolled_back return @feature_updates_will_be_rolled_back end |
#feature_updates_will_be_rolled_back=(value) ⇒ Object
Sets the featureUpdatesWillBeRolledBack property value. When TRUE, rollback Feature Updates on the next device check in. When FALSE, do not rollback Feature Updates on the next device check in. Returned by default.Query parameters are not supported.
419 420 421 |
# File 'lib/models/windows_update_for_business_configuration.rb', line 419 def feature_updates_will_be_rolled_back=(value) @feature_updates_will_be_rolled_back = value end |
#get_field_deserializers ⇒ Object
The deserialization information for the current model
426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 |
# File 'lib/models/windows_update_for_business_configuration.rb', line 426 def get_field_deserializers() return super.merge({ "allowWindows11Upgrade" => lambda {|n| @allow_windows11_upgrade = n.get_boolean_value() }, "autoRestartNotificationDismissal" => lambda {|n| @auto_restart_notification_dismissal = n.get_enum_value(MicrosoftGraph::Models::AutoRestartNotificationDismissalMethod) }, "automaticUpdateMode" => lambda {|n| @automatic_update_mode = n.get_enum_value(MicrosoftGraph::Models::AutomaticUpdateMode) }, "businessReadyUpdatesOnly" => lambda {|n| @business_ready_updates_only = n.get_enum_value(MicrosoftGraph::Models::WindowsUpdateType) }, "deadlineForFeatureUpdatesInDays" => lambda {|n| @deadline_for_feature_updates_in_days = n.get_number_value() }, "deadlineForQualityUpdatesInDays" => lambda {|n| @deadline_for_quality_updates_in_days = n.get_number_value() }, "deadlineGracePeriodInDays" => lambda {|n| @deadline_grace_period_in_days = n.get_number_value() }, "deliveryOptimizationMode" => lambda {|n| @delivery_optimization_mode = n.get_enum_value(MicrosoftGraph::Models::WindowsDeliveryOptimizationMode) }, "driversExcluded" => lambda {|n| @drivers_excluded = n.get_boolean_value() }, "engagedRestartDeadlineInDays" => lambda {|n| @engaged_restart_deadline_in_days = n.get_number_value() }, "engagedRestartSnoozeScheduleInDays" => lambda {|n| @engaged_restart_snooze_schedule_in_days = n.get_number_value() }, "engagedRestartTransitionScheduleInDays" => lambda {|n| @engaged_restart_transition_schedule_in_days = n.get_number_value() }, "featureUpdatesDeferralPeriodInDays" => lambda {|n| @feature_updates_deferral_period_in_days = n.get_number_value() }, "featureUpdatesPauseExpiryDateTime" => lambda {|n| @feature_updates_pause_expiry_date_time = n.get_date_time_value() }, "featureUpdatesPauseStartDate" => lambda {|n| @feature_updates_pause_start_date = n.get_date_value() }, "featureUpdatesPaused" => lambda {|n| @feature_updates_paused = n.get_boolean_value() }, "featureUpdatesRollbackStartDateTime" => lambda {|n| @feature_updates_rollback_start_date_time = n.get_date_time_value() }, "featureUpdatesRollbackWindowInDays" => lambda {|n| @feature_updates_rollback_window_in_days = n.get_number_value() }, "featureUpdatesWillBeRolledBack" => lambda {|n| @feature_updates_will_be_rolled_back = n.get_boolean_value() }, "installationSchedule" => lambda {|n| @installation_schedule = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::WindowsUpdateInstallScheduleType.create_from_discriminator_value(pn) }) }, "microsoftUpdateServiceAllowed" => lambda {|n| @microsoft_update_service_allowed = n.get_boolean_value() }, "postponeRebootUntilAfterDeadline" => lambda {|n| @postpone_reboot_until_after_deadline = n.get_boolean_value() }, "prereleaseFeatures" => lambda {|n| @prerelease_features = n.get_enum_value(MicrosoftGraph::Models::PrereleaseFeatures) }, "qualityUpdatesDeferralPeriodInDays" => lambda {|n| @quality_updates_deferral_period_in_days = n.get_number_value() }, "qualityUpdatesPauseExpiryDateTime" => lambda {|n| @quality_updates_pause_expiry_date_time = n.get_date_time_value() }, "qualityUpdatesPauseStartDate" => lambda {|n| @quality_updates_pause_start_date = n.get_date_value() }, "qualityUpdatesPaused" => lambda {|n| @quality_updates_paused = n.get_boolean_value() }, "qualityUpdatesRollbackStartDateTime" => lambda {|n| @quality_updates_rollback_start_date_time = n.get_date_time_value() }, "qualityUpdatesWillBeRolledBack" => lambda {|n| @quality_updates_will_be_rolled_back = n.get_boolean_value() }, "scheduleImminentRestartWarningInMinutes" => lambda {|n| @schedule_imminent_restart_warning_in_minutes = n.get_number_value() }, "scheduleRestartWarningInHours" => lambda {|n| @schedule_restart_warning_in_hours = n.get_number_value() }, "skipChecksBeforeRestart" => lambda {|n| @skip_checks_before_restart = n.get_boolean_value() }, "updateNotificationLevel" => lambda {|n| @update_notification_level = n.get_enum_value(MicrosoftGraph::Models::WindowsUpdateNotificationDisplayOption) }, "updateWeeks" => lambda {|n| @update_weeks = n.get_enum_value(MicrosoftGraph::Models::WindowsUpdateForBusinessUpdateWeeks) }, "userPauseAccess" => lambda {|n| @user_pause_access = n.get_enum_value(MicrosoftGraph::Models::Enablement) }, "userWindowsUpdateScanAccess" => lambda {|n| @user_windows_update_scan_access = n.get_enum_value(MicrosoftGraph::Models::Enablement) }, }) end |
#installation_schedule ⇒ Object
Gets the installationSchedule property value. The Installation Schedule. Possible values are: ActiveHoursStart, ActiveHoursEnd, ScheduledInstallDay, ScheduledInstallTime. Returned by default. Query parameters are not supported.
470 471 472 |
# File 'lib/models/windows_update_for_business_configuration.rb', line 470 def installation_schedule return @installation_schedule end |
#installation_schedule=(value) ⇒ Object
Sets the installationSchedule property value. The Installation Schedule. Possible values are: ActiveHoursStart, ActiveHoursEnd, ScheduledInstallDay, ScheduledInstallTime. Returned by default. Query parameters are not supported.
478 479 480 |
# File 'lib/models/windows_update_for_business_configuration.rb', line 478 def installation_schedule=(value) @installation_schedule = value end |
#microsoft_update_service_allowed ⇒ Object
Gets the microsoftUpdateServiceAllowed property value. When TRUE, allows Microsoft Update Service. When FALSE, does not allow Microsoft Update Service. Returned by default. Query parameters are not supported.
485 486 487 |
# File 'lib/models/windows_update_for_business_configuration.rb', line 485 def microsoft_update_service_allowed return @microsoft_update_service_allowed end |
#microsoft_update_service_allowed=(value) ⇒ Object
Sets the microsoftUpdateServiceAllowed property value. When TRUE, allows Microsoft Update Service. When FALSE, does not allow Microsoft Update Service. Returned by default. Query parameters are not supported.
493 494 495 |
# File 'lib/models/windows_update_for_business_configuration.rb', line 493 def microsoft_update_service_allowed=(value) @microsoft_update_service_allowed = value end |
#postpone_reboot_until_after_deadline ⇒ Object
Gets the postponeRebootUntilAfterDeadline property value. When TRUE the device should wait until deadline for rebooting outside of active hours. When FALSE the device should not wait until deadline for rebooting outside of active hours. Returned by default. Query parameters are not supported.
500 501 502 |
# File 'lib/models/windows_update_for_business_configuration.rb', line 500 def postpone_reboot_until_after_deadline return @postpone_reboot_until_after_deadline end |
#postpone_reboot_until_after_deadline=(value) ⇒ Object
Sets the postponeRebootUntilAfterDeadline property value. When TRUE the device should wait until deadline for rebooting outside of active hours. When FALSE the device should not wait until deadline for rebooting outside of active hours. Returned by default. Query parameters are not supported.
508 509 510 |
# File 'lib/models/windows_update_for_business_configuration.rb', line 508 def postpone_reboot_until_after_deadline=(value) @postpone_reboot_until_after_deadline = value end |
#prerelease_features ⇒ Object
Gets the prereleaseFeatures property value. Possible values for pre-release features.
515 516 517 |
# File 'lib/models/windows_update_for_business_configuration.rb', line 515 def prerelease_features return @prerelease_features end |
#prerelease_features=(value) ⇒ Object
Sets the prereleaseFeatures property value. Possible values for pre-release features.
523 524 525 |
# File 'lib/models/windows_update_for_business_configuration.rb', line 523 def prerelease_features=(value) @prerelease_features = value end |
#quality_updates_deferral_period_in_days ⇒ Object
Gets the qualityUpdatesDeferralPeriodInDays property value. Defer Quality Updates by these many days with valid range from 0 to 30 days. Returned by default. Query parameters are not supported.
530 531 532 |
# File 'lib/models/windows_update_for_business_configuration.rb', line 530 def quality_updates_deferral_period_in_days return @quality_updates_deferral_period_in_days end |
#quality_updates_deferral_period_in_days=(value) ⇒ Object
Sets the qualityUpdatesDeferralPeriodInDays property value. Defer Quality Updates by these many days with valid range from 0 to 30 days. Returned by default. Query parameters are not supported.
538 539 540 |
# File 'lib/models/windows_update_for_business_configuration.rb', line 538 def quality_updates_deferral_period_in_days=(value) @quality_updates_deferral_period_in_days = value end |
#quality_updates_pause_expiry_date_time ⇒ Object
Gets the qualityUpdatesPauseExpiryDateTime property value. The Quality Updates Pause Expiry datetime. This value is 35 days from the time admin paused or extended the pause for the ring. Returned by default. Query parameters are not supported.
545 546 547 |
# File 'lib/models/windows_update_for_business_configuration.rb', line 545 def quality_updates_pause_expiry_date_time return @quality_updates_pause_expiry_date_time end |
#quality_updates_pause_expiry_date_time=(value) ⇒ Object
Sets the qualityUpdatesPauseExpiryDateTime property value. The Quality Updates Pause Expiry datetime. This value is 35 days from the time admin paused or extended the pause for the ring. Returned by default. Query parameters are not supported.
553 554 555 |
# File 'lib/models/windows_update_for_business_configuration.rb', line 553 def quality_updates_pause_expiry_date_time=(value) @quality_updates_pause_expiry_date_time = value end |
#quality_updates_pause_start_date ⇒ Object
Gets the qualityUpdatesPauseStartDate property value. The Quality Updates Pause start date. This value is the time when the admin paused or extended the pause for the ring. Returned by default. Query parameters are not supported. This property is read-only.
560 561 562 |
# File 'lib/models/windows_update_for_business_configuration.rb', line 560 def quality_updates_pause_start_date return @quality_updates_pause_start_date end |
#quality_updates_pause_start_date=(value) ⇒ Object
Sets the qualityUpdatesPauseStartDate property value. The Quality Updates Pause start date. This value is the time when the admin paused or extended the pause for the ring. Returned by default. Query parameters are not supported. This property is read-only.
568 569 570 |
# File 'lib/models/windows_update_for_business_configuration.rb', line 568 def quality_updates_pause_start_date=(value) @quality_updates_pause_start_date = value end |
#quality_updates_paused ⇒ Object
Gets the qualityUpdatesPaused property value. When TRUE, assigned devices are paused from receiving quality updates for up to 35 days from the time you pause the ring. When FALSE, does not pause Quality Updates. Returned by default. Query parameters are not supported.
575 576 577 |
# File 'lib/models/windows_update_for_business_configuration.rb', line 575 def quality_updates_paused return @quality_updates_paused end |
#quality_updates_paused=(value) ⇒ Object
Sets the qualityUpdatesPaused property value. When TRUE, assigned devices are paused from receiving quality updates for up to 35 days from the time you pause the ring. When FALSE, does not pause Quality Updates. Returned by default. Query parameters are not supported.
583 584 585 |
# File 'lib/models/windows_update_for_business_configuration.rb', line 583 def quality_updates_paused=(value) @quality_updates_paused = value end |
#quality_updates_rollback_start_date_time ⇒ Object
Gets the qualityUpdatesRollbackStartDateTime property value. The Quality Updates Rollback Start datetime. This value is the time when the admin rolled back the Quality update for the ring. Returned by default. Query parameters are not supported.
590 591 592 |
# File 'lib/models/windows_update_for_business_configuration.rb', line 590 def quality_updates_rollback_start_date_time return @quality_updates_rollback_start_date_time end |
#quality_updates_rollback_start_date_time=(value) ⇒ Object
Sets the qualityUpdatesRollbackStartDateTime property value. The Quality Updates Rollback Start datetime. This value is the time when the admin rolled back the Quality update for the ring. Returned by default. Query parameters are not supported.
598 599 600 |
# File 'lib/models/windows_update_for_business_configuration.rb', line 598 def quality_updates_rollback_start_date_time=(value) @quality_updates_rollback_start_date_time = value end |
#quality_updates_will_be_rolled_back ⇒ Object
Gets the qualityUpdatesWillBeRolledBack property value. When TRUE, rollback Quality Updates on the next device check in. When FALSE, do not rollback Quality Updates on the next device check in. Returned by default. Query parameters are not supported.
605 606 607 |
# File 'lib/models/windows_update_for_business_configuration.rb', line 605 def quality_updates_will_be_rolled_back return @quality_updates_will_be_rolled_back end |
#quality_updates_will_be_rolled_back=(value) ⇒ Object
Sets the qualityUpdatesWillBeRolledBack property value. When TRUE, rollback Quality Updates on the next device check in. When FALSE, do not rollback Quality Updates on the next device check in. Returned by default. Query parameters are not supported.
613 614 615 |
# File 'lib/models/windows_update_for_business_configuration.rb', line 613 def quality_updates_will_be_rolled_back=(value) @quality_updates_will_be_rolled_back = value end |
#schedule_imminent_restart_warning_in_minutes ⇒ Object
Gets the scheduleImminentRestartWarningInMinutes property value. Specify the period for auto-restart imminent warning notifications. Supported values: 15, 30 or 60 (minutes). Returned by default. Query parameters are not supported.
620 621 622 |
# File 'lib/models/windows_update_for_business_configuration.rb', line 620 def schedule_imminent_restart_warning_in_minutes return @schedule_imminent_restart_warning_in_minutes end |
#schedule_imminent_restart_warning_in_minutes=(value) ⇒ Object
Sets the scheduleImminentRestartWarningInMinutes property value. Specify the period for auto-restart imminent warning notifications. Supported values: 15, 30 or 60 (minutes). Returned by default. Query parameters are not supported.
628 629 630 |
# File 'lib/models/windows_update_for_business_configuration.rb', line 628 def schedule_imminent_restart_warning_in_minutes=(value) @schedule_imminent_restart_warning_in_minutes = value end |
#schedule_restart_warning_in_hours ⇒ Object
Gets the scheduleRestartWarningInHours property value. Specify the period for auto-restart warning reminder notifications. Supported values: 2, 4, 8, 12 or 24 (hours). Returned by default. Query parameters are not supported.
635 636 637 |
# File 'lib/models/windows_update_for_business_configuration.rb', line 635 def schedule_restart_warning_in_hours return @schedule_restart_warning_in_hours end |
#schedule_restart_warning_in_hours=(value) ⇒ Object
Sets the scheduleRestartWarningInHours property value. Specify the period for auto-restart warning reminder notifications. Supported values: 2, 4, 8, 12 or 24 (hours). Returned by default. Query parameters are not supported.
643 644 645 |
# File 'lib/models/windows_update_for_business_configuration.rb', line 643 def schedule_restart_warning_in_hours=(value) @schedule_restart_warning_in_hours = value end |
#serialize(writer) ⇒ Object
Serializes information the current object
651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 |
# File 'lib/models/windows_update_for_business_configuration.rb', line 651 def serialize(writer) raise StandardError, 'writer cannot be null' if writer.nil? super writer.write_boolean_value("allowWindows11Upgrade", @allow_windows11_upgrade) writer.write_enum_value("autoRestartNotificationDismissal", @auto_restart_notification_dismissal) writer.write_enum_value("automaticUpdateMode", @automatic_update_mode) writer.write_enum_value("businessReadyUpdatesOnly", @business_ready_updates_only) writer.write_number_value("deadlineForFeatureUpdatesInDays", @deadline_for_feature_updates_in_days) writer.write_number_value("deadlineForQualityUpdatesInDays", @deadline_for_quality_updates_in_days) writer.write_number_value("deadlineGracePeriodInDays", @deadline_grace_period_in_days) writer.write_enum_value("deliveryOptimizationMode", @delivery_optimization_mode) writer.write_boolean_value("driversExcluded", @drivers_excluded) writer.write_number_value("engagedRestartDeadlineInDays", @engaged_restart_deadline_in_days) writer.write_number_value("engagedRestartSnoozeScheduleInDays", @engaged_restart_snooze_schedule_in_days) writer.write_number_value("engagedRestartTransitionScheduleInDays", @engaged_restart_transition_schedule_in_days) writer.write_number_value("featureUpdatesDeferralPeriodInDays", @feature_updates_deferral_period_in_days) writer.write_date_time_value("featureUpdatesPauseExpiryDateTime", @feature_updates_pause_expiry_date_time) writer.write_boolean_value("featureUpdatesPaused", @feature_updates_paused) writer.write_date_time_value("featureUpdatesRollbackStartDateTime", @feature_updates_rollback_start_date_time) writer.write_number_value("featureUpdatesRollbackWindowInDays", @feature_updates_rollback_window_in_days) writer.write_boolean_value("featureUpdatesWillBeRolledBack", @feature_updates_will_be_rolled_back) writer.write_object_value("installationSchedule", @installation_schedule) writer.write_boolean_value("microsoftUpdateServiceAllowed", @microsoft_update_service_allowed) writer.write_boolean_value("postponeRebootUntilAfterDeadline", @postpone_reboot_until_after_deadline) writer.write_enum_value("prereleaseFeatures", @prerelease_features) writer.write_number_value("qualityUpdatesDeferralPeriodInDays", @quality_updates_deferral_period_in_days) writer.write_date_time_value("qualityUpdatesPauseExpiryDateTime", @quality_updates_pause_expiry_date_time) writer.write_boolean_value("qualityUpdatesPaused", @quality_updates_paused) writer.write_date_time_value("qualityUpdatesRollbackStartDateTime", @quality_updates_rollback_start_date_time) writer.write_boolean_value("qualityUpdatesWillBeRolledBack", @quality_updates_will_be_rolled_back) writer.write_number_value("scheduleImminentRestartWarningInMinutes", @schedule_imminent_restart_warning_in_minutes) writer.write_number_value("scheduleRestartWarningInHours", @schedule_restart_warning_in_hours) writer.write_boolean_value("skipChecksBeforeRestart", @skip_checks_before_restart) writer.write_enum_value("updateNotificationLevel", @update_notification_level) writer.write_enum_value("updateWeeks", @update_weeks) writer.write_enum_value("userPauseAccess", @user_pause_access) writer.write_enum_value("userWindowsUpdateScanAccess", @user_windows_update_scan_access) end |
#skip_checks_before_restart ⇒ Object
Gets the skipChecksBeforeRestart property value. When TRUE, skips all checks before restart: Battery level = 40%, User presence, Display Needed, Presentation mode, Full screen mode, phone call state, game mode etc. When FALSE, does not skip all checks before restart. Returned by default. Query parameters are not supported.
693 694 695 |
# File 'lib/models/windows_update_for_business_configuration.rb', line 693 def skip_checks_before_restart return @skip_checks_before_restart end |
#skip_checks_before_restart=(value) ⇒ Object
Sets the skipChecksBeforeRestart property value. When TRUE, skips all checks before restart: Battery level = 40%, User presence, Display Needed, Presentation mode, Full screen mode, phone call state, game mode etc. When FALSE, does not skip all checks before restart. Returned by default. Query parameters are not supported.
701 702 703 |
# File 'lib/models/windows_update_for_business_configuration.rb', line 701 def skip_checks_before_restart=(value) @skip_checks_before_restart = value end |
#update_notification_level ⇒ Object
Gets the updateNotificationLevel property value. Windows Update Notification Display Options
708 709 710 |
# File 'lib/models/windows_update_for_business_configuration.rb', line 708 def update_notification_level return @update_notification_level end |
#update_notification_level=(value) ⇒ Object
Sets the updateNotificationLevel property value. Windows Update Notification Display Options
716 717 718 |
# File 'lib/models/windows_update_for_business_configuration.rb', line 716 def update_notification_level=(value) @update_notification_level = value end |
#update_weeks ⇒ Object
Gets the updateWeeks property value. Schedule the update installation on the weeks of the month. Possible values are: UserDefined, FirstWeek, SecondWeek, ThirdWeek, FourthWeek, EveryWeek. Returned by default. Query parameters are not supported. Possible values are: userDefined, firstWeek, secondWeek, thirdWeek, fourthWeek, everyWeek, unknownFutureValue.
723 724 725 |
# File 'lib/models/windows_update_for_business_configuration.rb', line 723 def update_weeks return @update_weeks end |
#update_weeks=(value) ⇒ Object
Sets the updateWeeks property value. Schedule the update installation on the weeks of the month. Possible values are: UserDefined, FirstWeek, SecondWeek, ThirdWeek, FourthWeek, EveryWeek. Returned by default. Query parameters are not supported. Possible values are: userDefined, firstWeek, secondWeek, thirdWeek, fourthWeek, everyWeek, unknownFutureValue.
731 732 733 |
# File 'lib/models/windows_update_for_business_configuration.rb', line 731 def update_weeks=(value) @update_weeks = value end |
#user_pause_access ⇒ Object
Gets the userPauseAccess property value. Possible values of a property
738 739 740 |
# File 'lib/models/windows_update_for_business_configuration.rb', line 738 def user_pause_access return @user_pause_access end |
#user_pause_access=(value) ⇒ Object
Sets the userPauseAccess property value. Possible values of a property
746 747 748 |
# File 'lib/models/windows_update_for_business_configuration.rb', line 746 def user_pause_access=(value) @user_pause_access = value end |
#user_windows_update_scan_access ⇒ Object
Gets the userWindowsUpdateScanAccess property value. Possible values of a property
753 754 755 |
# File 'lib/models/windows_update_for_business_configuration.rb', line 753 def user_windows_update_scan_access return @user_windows_update_scan_access end |
#user_windows_update_scan_access=(value) ⇒ Object
Sets the userWindowsUpdateScanAccess property value. Possible values of a property
761 762 763 |
# File 'lib/models/windows_update_for_business_configuration.rb', line 761 def user_windows_update_scan_access=(value) @user_windows_update_scan_access = value end |