Update Proxy Rule

Update Proxy Rule

Update a specific proxy rule.

Request
URI
PUT
https://{api_host}/cloudapi/1.0.0/proxyRules/{id}
COPY
Path Parameters
string
id
Required

Proxy Configuration ID URN

string
id
Required

Proxy Configuration ID URN


Request Body

The updated proxy configuration API model.

proxyRule of type(s) application/json
Required
{
    "id": "string",
    "name": "Proxy Sample Name",
    "destination": "https://deadend.intranet.vmware.com:10101",
    "proxy": {
        "name": "string",
        "id": "string"
    },
    "priority": 0
}
string
id
Optional

id

string As .*[\S].*
name
Required

The proxy rule name.

string As uri As uri
destination
Required

The URL of the destination that must be accessed via the proxy. Only, the scheme, host and port will be retained. Any authority section, query parameters, matrix parameters or fragments will be ignored. Only http and https schemes are supported.

proxy
Required

proxy

integer As int32 As int32
priority
Optional

Indicates the relative preference of this rule over other rules for the same destination. A lower numerical value indicates a higher priority. The minimum (and therefore highest) priority is 0.

Authentication
This operation uses the following authentication methods.
Responses
200

OK

Returns proxyRule of type(s) application/json;version=38.1
{
    "id": "string",
    "name": "Proxy Sample Name",
    "destination": "https://deadend.intranet.vmware.com:10101",
    "proxy": {
        "name": "string",
        "id": "string"
    },
    "priority": 0
}
string
id
Optional

id

string As .*[\S].*
name
Required

The proxy rule name.

string As uri As uri
destination
Required

The URL of the destination that must be accessed via the proxy. Only, the scheme, host and port will be retained. Any authority section, query parameters, matrix parameters or fragments will be ignored. Only http and https schemes are supported.

proxy
Required

proxy

integer As int32 As int32
priority
Optional

Indicates the relative preference of this rule over other rules for the same destination. A lower numerical value indicates a higher priority. The minimum (and therefore highest) priority is 0.