appliance techpreview system update: get

Get update repository configuration.

Request:

HTTP request

GET https://{server}/rest/appliance/techpreview/system/update
No request parameters

Response:

HTTP Status Code: 200

Representations:

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

Response Type:

Name Type Description
bold = required
value update_struct_get update related configuration.
value.current_URL string Current appliance update repository URL.

value.default_URL string Default appliance update repository URL.

value.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.

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

value.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

value.latest_update_install_time string timestamp of latest update installation

value.latest_update_query_time string timestamp of latest query to update repository

value.username string username for the url update repository

value.password string password for the url update repository

Errors:

HTTP Status Code Type Description
500 error Generic error