[{"label":"Latest (V1)","version":"latest"}]
horizon-cloud-nextgen
Get Network Preferences
DescriptiongetNetworkPreferences
Request
URLURL
https://cloud.vmwarehorizon.com/admin/v2/providers/{label}/instances/{id}/preferences/networks
Path Parameters
Path Parameters
string
id
Required
ID of provider instance to be updated
string
label
Required
Provider label
Query Parameters
Query Parameters
string
org_id
Optional
Organization ID: non-super users can only access their own organization
Authentication
This operation uses the following authentication methods.
Response
Response
Response BodyResponse Body
200 OK
Returns
NetworkPreferenceTO
of type */*
Successfully retrieved network preferences for a provider instance
{
"desktop": [
{
"data": {},
"id": "string",
"infrastructureLinks": {},
"kind": "string"
}
],
"dmz": [
{
"data": {},
"id": "string",
"infrastructureLinks": {},
"kind": "string"
}
],
"management": [
{
"data": {},
"id": "string",
"infrastructureLinks": {},
"kind": "string"
}
]
}
Errors
ErrorResponse
401
Unauthorized
ErrorResponse
403
Forbidden
ErrorResponse
404
Not Found
ErrorResponse
423
Provider disabled
ErrorResponse
500
Unexpected internal server error
Code Samples
cURL Command
curl https://cloud.vmwarehorizon.com/admin/v2/providers/{label}/instances/{id}/preferences/networks
[{"label":"Latest (V1)","version":"latest"}]
horizon-cloud-nextgen