appliance techpreview system update: set

Set update repository configuration.

Request:

HTTP request

PUT https://{server}/rest/appliance/techpreview/system/update

Request Body Structure:

{
    "config"{
        "check_updates""disabled",
        "current_URL""string",
        "day""Monday",
        "password""secret string",
        "time""string",
        "username""string"
    }
}
<?xml version="1.0" ?>
<ns0:Set-Input xmlns:ns0="http://vmware.com/appliance/techpreview/system/update" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <config>
    <check_updates>disabled</check_updates>
    <username>string</username>
    <time>string</time>
    <current_URL>string</current_URL>
    <day>Monday</day>
    <password>secret string</password>
  </config>
</ns0:Set-Input>

Request Body Parameters:

Name Type Description
bold = required
config update_struct_set update related configuration.
config.current_URL string Current appliance update repository URL. Enter "default" to reset the url to the default url.

config.check_updates string Check for update at the pre-configured repository URL.

Defines state for automatic update notification Value is one of:
disabled: Automatic update notification is disabled. Disable periodically query the configured url for updates.
enabled: Automatic update notification is enabled. Enable periodically query the configured url for updates.

config.time string time to query for updates Format: HH:MM:SS Military (24 hour) Time Format

config.day string day to query for updates

Defines days to query for updates Value is one of:
Monday: query for updates on Monday
Tuesday: query for updates on Tuesday
Friday: query for updates on Friday
Wednesday: query for updates on Wednesday
Thursday: query for updates on Thursday
Saturday: query for updates on Saturday
Sunday: query for updates on Sunday
Everyday: query for updates everyday

config.username string username for the url update repository

config.password secret password for the url update repository

Response:

HTTP Status Code: 200

None

Errors:

HTTP Status Code Type Description
500 error Generic error