Optimization

Get

get

Retrieve Image Optimization Settings

Path parameters
idinteger · int32Required

Retrieve the Image Optimization by id

Responses
200

Success

application/json; api-version=1.0
get
/api/AVD/HostPool/{id}/Optimization

Update

put

Update the Image Optimization settings with the specified ID.

Path parameters
idinteger · int32Required

The ID for which to modify the Image Optimization.

Body
enableOptimizationboolean | nullableOptional

Whether Optimization is Enabled or not

optimizationTypestring · enumOptional

Optimization Type

Possible values:
windowsDefenderATPEnabledboolean | nullableOptional

Whether Windows Defender ATP is enabled or not

windowsComponentsEnabledboolean | nullableOptional

Whether Windows Components is enabled or not

windowsServicesEnabledboolean | nullableOptional

Whether Windows Services is enabled or not

windowsScheduledTasksEnabledboolean | nullableOptional

Whether Windows Scheduled Task is enabled or not

windowsAdvancedOptionsEnabledboolean | nullableOptional

Whether Windows Advanced Options is enabled or not

networkPerformanceEnabledboolean | nullableOptional

Whether Network Performance is enabled or not

registryEnabledboolean | nullableOptional

Whether Registry is enabled or not

visualEffectsEnabledboolean | nullableOptional

Whether Visual Effects is enabled or not

diskCleanupEnabledboolean | nullableOptional

Whether Disk Cleanup is enabled or not

customScriptEnabledboolean | nullableOptional

Whether Custom Script is enabled or not

winDefATPTurnOffOnstring · enumOptional

Windows enable options

Possible values:
disableRealTimeProtectionboolean | nullableOptional

Disable Real Time Protection

excludeFoldersstring[] | nullableOptional

Exclude Folders List

excludeProcessesstring[] | nullableOptional

Exclude Processes

excludeExtensionstring[] | nullableOptional

Exclude Extensions

partialStartLayoutContentstring | nullableOptional

Partial Start menu layout

hibernateboolean | nullableOptional

Whether Hibernate is enabled or not

teleCollectionboolean | nullableOptional

Whether TeleCollection is enabled or not

systemRestoreboolean | nullableOptional

Whether System Restore is enabled or not

additionalErrorReportboolean | nullableOptional

Whether Additional Error Reporting is enabled or not

tilesboolean | nullableOptional

Whether Tiles is enabled or not

cortanaboolean | nullableOptional

Whether Cortana is enabled or not

microsoftConsumerExperienceboolean | nullableOptional

Whether Microsoft Consumer Experience is enabled or not

windowsTipsboolean | nullableOptional

Whether Windows Tips is enabled or not

commonProgramGroupsboolean | nullableOptional

Whether Common Program Groups is enabled or not

partialStartMenuboolean | nullableOptional

Whether Partial Start Menu is enabled or not

dirCacheMaxinteger · int32 | nullableOptional

Directory Cache Value

dormantFileLimitinteger · int32 | nullableOptional

Dormant File Limit Value

fileNotFoundCacheinteger · int32 | nullableOptional

File Not Found Cache Value

fileInfoCacheinteger · int32 | nullableOptional

File Info Cache Value

fileInfoCacheEnableboolean | nullableOptional

Whether File Info Cache is enabled or not

directoryCacheEnableboolean | nullableOptional

Whether Directory Cache is enabled or not

fileNotFoundCacheEnableboolean | nullableOptional

Whether File Not Found Cache is enabled or not

dormantFileLimitEnableboolean | nullableOptional

Whether Dormant File Limit is enabled or not

disableTCPboolean | nullableOptional

Whether Disable TCP is enabled or not

disableIPv6CompEnableboolean | nullableOptional

Whether Disable IPv6 Components is enabled or not

disableIPv6ToIPv4boolean | nullableOptional

Whether Disable IPv6 To IPv4 is enabled or not

disableIsaTapboolean | nullableOptional

Whether Disable IsaTap for IPv6 is enabled or not

argumentsstring | nullableOptional

Arguments

commandstring | nullableOptional

Command

initDirstring | nullableOptional

Initial Directory

userstring | nullableOptional

User

passwordstring | nullableOptional

Password

cleanupWinSxSFolderboolean | nullableOptional

Whether Clean up windows SxS Folder is enabled or not

cleanupSystemFilesboolean | nullableOptional

Whether Clean up system files is enabled or not

cleanupTemporaryFileLogsboolean | nullableOptional

Whether Clean up temporary file logs is enabled or not

removeOneDriveboolean | nullableOptional

Whether Remove One Drives is enabled or not

deleteUserProfilesboolean | nullableOptional

Whether Delete User Profiles is enabled or not

visualEffectsTypesstring · enumOptional

Visual Effects Type

Possible values:
animateControlSelectElementsboolean | nullableOptional

Whether Animate Control Select Elements is enabled or not

animateWindowsWhenMinimizingMaximizingboolean | nullableOptional

Whether Animate Windows When Minimizing Or Maximizing is enabled or not

animateTaskbarboolean | nullableOptional

Whether Animate Taskbar is enabled or not

enablePeekboolean | nullableOptional

Whether Peek is enabled or not

fadeSlideMenusboolean | nullableOptional

Whether Fade Slide Menus is enabled or not

fadeSlideToolTipsboolean | nullableOptional

Whether Fade Slide Tool Tips is enabled or not

fadeOutMenuItemsboolean | nullableOptional

Whether Fade Out Menu Items is enabled or not

saveTaskbarThumbnailboolean | nullableOptional

Whether Taskbar Thumbnail is enabled or not

showShadowUnderMouseboolean | nullableOptional

Whether Shadow Under Mouse is enabled or not

shadowUnderWindowsboolean | nullableOptional

Whether Shadow Under Windows is enabled or not

thumbnailsInsteadOfIconsboolean | nullableOptional

Whether Thumbnails instead of icons is enabled or not

showTranslucentSelectionboolean | nullableOptional

Whether Translucent Selection is enabled or not

showWindowsContentWhilstDraggingboolean | nullableOptional

Whether Windows Content Whilst Dragging is enabled or not

slideOpenComboBoxesboolean | nullableOptional

Whether Slide open combo boxes is enabled or not

smoothEdgesScreenFontsboolean | nullableOptional

Whether Smooth Edges Screen Fonts is enabled or not

smoothScrollListBoxesboolean | nullableOptional

Whether Smooth Scroll List Boxes is enabled or not

dropShadowsIconboolean | nullableOptional

Whether Drop Shadow Icon is enabled or not

forcebooleanOptional

Force Optimization.

Default: false
Responses
put
/api/AVD/HostPool/{id}/Optimization

No content

Was this helpful?