Settings

Get

get

Retrieve the Web Admin settings. A local administrator on the Web Server or a RAS Root administrator can call this command.

Responses
200

Success

application/json; api-version=1.0
get
/api/WebService/settings

Update

put

Modify the Web Admin settings. A local administrator on the Web Server or a RAS Root administrator can call this command.

Body

Update RAS Web Administration Service settings

allowedHostsstring | nullableOptional

Specifies the Allowed Hosts.

httpsUrlstring | nullableOptional

Specifies the HTTPS URL.

enableWebConsoleboolean | nullableOptional

Specifies whether to enable/disable Web Console.

webConsoleBasePathstring | nullableOptional

Specifies the Web Console Base Path. The RAS Web Administration Server Service needs to be manually restarted for the BasePath change to be effective.

webConsolePollingIntervalinteger · int32 | nullableOptional

Specifies the Web Console Polling Interval (in seconds).

enableRESTboolean | nullableOptional

Specifies whether to enable/disable REST.

rasLicensingServerstring | nullableOptional

Specifies the RAS Licensing Server.

rasSecondaryServersstring[] | nullableOptional

Specifies the RAS Secondary Servers.

sessionExpireinteger · int32 | nullableOptional

Specifies the Session Expiry time in minutes.

sessionDisconnectDelayinteger · int32 | nullableOptional

Specifies the Session Disconnect Delay in seconds.

defaultLogLevelstring | nullableOptional

Specifies the Microsoft Log Level for the RAS Web Administration Service. Accepted values: Trace, Debug, Information, Warning, Error, Critical, None.

globalWindowinteger · int32 | nullableOptional

Sets the time window (in seconds) for global rate limiting. Default: 10 seconds. Only 50 requests are allowed per window by default. When the limit is reached, transactions are not allowed until the current window expires and a new window begins

globalAutoReplenishmentboolean | nullableOptional

Automatically resets the global rate limit counters at the end of each window (default is true).

globalPermitLimitinteger · int32 | nullableOptional

Sets the maximum number of global requests allowed in each rate limit window. Default: 50 requests per 10 seconds. When the limit is reached, transactions are not allowed until the current window expires and a new window begins

globalQueueProcessingOrderstring · enumOptional

Controls the behavior when not enough resources can be leased.

Possible values:
globalQueueLimitinteger · int32 | nullableOptional

Specifies the maximum number of global requests that can be queued when the rate limit is exceeded.

loginWindowinteger · int32 | nullableOptional

Sets the time window (in seconds) for logon rate limiting. Default: 300 seconds. Only 4 logon requests are allowed per window by default. When the limit is reached, transactions are not allowed until the current window expires and a new window begins

loginAutoReplenishmentboolean | nullableOptional

Automatically resets the specific rate limit counters at the end of each window (default is true).

loginPermitLimitinteger · int32 | nullableOptional

Sets the maximum number of logon requests allowed in each rate limit window. Default: 4 requests per 300 seconds. When the limit is reached, transactions are not allowed until the current window expires and a new window begins

loginQueueProcessingOrderstring · enumOptional

Controls the behavior when not enough resources can be leased.

Possible values:
loginQueueLimitinteger · int32 | nullableOptional

Specifies the maximum number of specific requests that can be queued when the rate limit is exceeded.

Responses
put
/api/WebService/settings

No content

Last updated