General

Get

get

Retrieves the FSLogix General Settings of a session server with the specified ID.

Path parameters
idinteger · int32Required

The ID of a session server for which to retrieve the FSLogix General Settings.

Responses
200
Success
application/json; api-version=1.0
get
GET /api/AVD/HostPool/{id}/FSLogix/General HTTP/1.1
Host: 
Accept: */*
{
  "appServices": {
    "useCleanupInvalidSessions": true,
    "cleanupInvalidSessions": [
      "0 = Disable",
      "1 = Enable"
    ],
    "useRoamRecycleBin": true,
    "roamRecycleBin": [
      "0 = Disable",
      "1 = Enable"
    ],
    "useVHDCompactDisk": true,
    "vhdCompactDisk": [
      "0 = Disable",
      "1 = Enable"
    ]
  },
  "cloudCacheGeneral": {
    "useCacheDirectory": true,
    "cacheDirectory": "text",
    "useWriteCacheDirectory": true,
    "writeCacheDirectory": "text",
    "useProxyDirectory": true,
    "proxyDirectory": "text",
    "useSilenceACLWarning": true,
    "silenceACLWarning": [
      "0 = Disable",
      "1 = Enable"
    ]
  },
  "logging": {
    "logEnabled": [
      "0 = Disable",
      "1 = Specific",
      "2 = All"
    ],
    "logLevel": [
      "0 = Debug",
      "1 = Information",
      "2 = Warning",
      "3 = Error"
    ],
    "logFileKeepingPeriod": 1,
    "logDirectory": "text",
    "robocopyLogPath": "text",
    "logSpecificComponents": [
      "1 = ProfileConfigTool",
      "2 = IEPlugin",
      "4 = RuleEditor",
      "8 = JavaRuleEditor",
      "16 = FSLogixAgentService",
      "32 = Profile",
      "64 = JavaLauncher",
      "128 = OfficeContainer",
      "256 = RuleCompilation",
      "512 = FontVisibility",
      "1024 = Network",
      "2048 = PrinterVisibility",
      "4096 = ADSComputerGroup",
      "8192 = DriverInterface",
      "16384 = WindowsSearchRoaming",
      "32768 = WindowsSearchPlugin",
      "65536 = ProcessStartMonitor"
    ]
  }
}

Update

put

Update the FSLogix General Settings of a session server with the specified ID.

Path parameters
idinteger · int32Required

The ID of a session server for which to modify the FSLogix General Settings.

Body
useCleanupInvalidSessionsboolean | nullableOptional

Specifies if the 'Cleanup invalid sessions' option is enabled or disabled.

cleanupInvalidSessionsstring · enumOptional

Enable State values.

Possible values:
useRoamRecycleBinboolean | nullableOptional

Specifies if the 'Roam recycle bin' option is enabled or disabled.

roamRecycleBinstring · enumOptional

Enable State values.

Possible values:
useVHDCompactDiskboolean | nullableOptional

Specifies if the 'VHD compact disk' option is enabled or disabled.

vhdCompactDiskstring · enumOptional

Enable State values.

Possible values:
useCacheDirectoryboolean | nullableOptional

Specifies if the 'Cache directory' option is enabled or disabled.

cacheDirectorystring | nullableOptional

Specifies the 'Cache directory'.

useWriteCacheDirectoryboolean | nullableOptional

Specifies if the 'Write cache directory' option is enabled or disabled.

writeCacheDirectorystring | nullableOptional

Specifies the 'Write cache directory'.

useProxyDirectoryboolean | nullableOptional

Specifies if the 'Proxy directory' option is enabled or disabled.

proxyDirectorystring | nullableOptional

Specifies the 'Proxy directory'.

useSilenceACLWarningboolean | nullableOptional

Specifies if the 'Silence ACL warning' option is enabled or disabled.

silenceACLWarningstring · enumOptional

Enable State values.

Possible values:
logEnabledstring · enumOptional

Log enabled values.

Possible values:
logLevelstring · enumOptional

FSLogix log level values.

Possible values:
logFileKeepingPeriodinteger · int32 | nullableOptional

Specifies the 'Log keeping period in days'. Default: '2'.

logDirectorystring | nullableOptional

Specifies the 'Log directory'. Default: '%ProgramData%\FSLogix\Logs'.

robocopyLogPathstring | nullableOptional

Specifies the 'Robocopy log path'.

logSpecificComponentsstring[Flag] · enumOptional

Log specific components values.

Possible values:
Responses
204
No Content
put
PUT /api/AVD/HostPool/{id}/FSLogix/General HTTP/1.1
Host: 
Content-Type: application/json; api-version=1.0
Accept: */*
Content-Length: 1081

{
  "useCleanupInvalidSessions": true,
  "cleanupInvalidSessions": [
    "0 = Disable",
    "1 = Enable"
  ],
  "useRoamRecycleBin": true,
  "roamRecycleBin": [
    "0 = Disable",
    "1 = Enable"
  ],
  "useVHDCompactDisk": true,
  "vhdCompactDisk": [
    "0 = Disable",
    "1 = Enable"
  ],
  "useCacheDirectory": true,
  "cacheDirectory": "text",
  "useWriteCacheDirectory": true,
  "writeCacheDirectory": "text",
  "useProxyDirectory": true,
  "proxyDirectory": "text",
  "useSilenceACLWarning": true,
  "silenceACLWarning": [
    "0 = Disable",
    "1 = Enable"
  ],
  "logEnabled": [
    "0 = Disable",
    "1 = Specific",
    "2 = All"
  ],
  "logLevel": [
    "0 = Debug",
    "1 = Information",
    "2 = Warning",
    "3 = Error"
  ],
  "logFileKeepingPeriod": 1,
  "logDirectory": "text",
  "robocopyLogPath": "text",
  "logSpecificComponents": [
    "1 = ProfileConfigTool",
    "2 = IEPlugin",
    "4 = RuleEditor",
    "8 = JavaRuleEditor",
    "16 = FSLogixAgentService",
    "32 = Profile",
    "64 = JavaLauncher",
    "128 = OfficeContainer",
    "256 = RuleCompilation",
    "512 = FontVisibility",
    "1024 = Network",
    "2048 = PrinterVisibility",
    "4096 = ADSComputerGroup",
    "8192 = DriverInterface",
    "16384 = WindowsSearchRoaming",
    "32768 = WindowsSearchPlugin",
    "65536 = ProcessStartMonitor"
  ]
}

No content

Was this helpful?