Update External Network

Update External Network

Updates a specific external network.

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

externalNetworkId


Request Body
ExternalNetwork of type(s) application/json
Optional
{
    "id": "string",
    "name": "string",
    "description": "string",
    "subnets": {
        "values": [
            {
                "gateway": "string",
                "prefixLength": 0,
                "dnsSuffix": "string",
                "dnsServer1": "string",
                "dnsServer2": "string",
                "ipRanges": {
                    "values": [
                        {
                            "startAddress": "string",
                            "endAddress": "string"
                        }
                    ]
                },
                "enabled": false,
                "totalIpCount": 0,
                "usedIpCount": 0
            }
        ]
    },
    "status": {},
    "networkBackings": {
        "values": [
            {
                "backingId": "string",
                "backingType": {},
                "backingTypeValue": "string",
                "networkProvider": {
                    "name": "string",
                    "id": "string"
                },
                "name": "string",
                "isNsxTVlanSegment": false,
                "parentTier0Ref": {
                    "id": "2a4ba9ad-e8d5-409c-8cae-c06910cd9b47",
                    "name": "string",
                    "type": "string"
                }
            }
        ]
    },
    "totalIpCount": 0,
    "usedIpCount": 0,
    "dedicatedOrg": {
        "name": "string",
        "id": "string"
    },
    "dedicatedEdgeGateway": {
        "name": "string",
        "id": "string"
    },
    "usingIpSpace": false,
    "networkRouteAdvertisementIntention": "string",
    "natAndFirewallServiceIntention": "string",
    "vpnServiceIntention": "string",
    "strictIpMode": false
}
Authentication
This operation uses the following authentication methods.
Responses
202

The request have been accepted and the task to monitor the request is in the Location header.

Operation doesn't return any data structure

400

Invalid configuration.

Returns Error of type(s) */*;version=39.1
"Error Object"
string
minorErrorCode
Required

minorErrorCode

string
message
Required

message

string
stackTrace
Optional

stackTrace


404

The specified resource was not found

Returns Error of type(s) */*;version=39.1
"Error Object"
string
minorErrorCode
Required

minorErrorCode

string
message
Required

message

string
stackTrace
Optional

stackTrace


Code Samples
COPY
                    curl -X PUT -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{}' https://{api_host}/cloudapi/1.0.0/externalNetworks/{externalNetworkId}