The property usinternetproxy is disregarded when using the REST API.
The gui also shows use interproxy from mgmt server.
Example body:
Code: Select all
$payload = @{
    hostName = xxxxx
    operatingSystem = "Linux"
    useInternetProxy = $false
    description = 'Linux VB365 Proxy'
    port = "9193"
    serviceAccountName = "veeam365backup"
    createServiceAccount = $true
    enableNetworkThrottling = $false
    sshSettings = @{
        account = xxxx
        privateKeyBase64 = $base64Key
        privateKeyPassphrase = $pkpassword
        #publicBase64Key = $publicBase64Key
        port = 22
        connectionTimeout = 30
        elevateAccountToRoot = $true
        addToSudoers = $false
        UseSuIfSudoUnavailable = $false
        ignoreFingerprintCheck = $true
    }
    attachUsedProxy = $false
}
$body = $payload | ConvertTo-Json -Depth 3
Code: Select all
type                    : Workgroup
useInternetProxy        : True
internetProxyType       : FromManagementServer
operatingSystem         : Linux
id                      : xxxx
hostName                : xxxxx
fqdn                    : xxxxx
description             : Linux VB365 Proxy
port                    : 9193
enableNetworkThrottling : False
status                  : Online
maintenanceModeState    : Disabled
cpuUsagePercent         : 5,012531328320802
memoryUsagePercent      : 6,573738896429199
version                 : 8.1.2.180
serviceAccount          : veeam365backup
role                    : {}
_links                  : @{self=; repositories=}