Reconfigure Nat
Day-2 reconfigure operation for nat
The ID of the Compute Nat
The version of the API in yyyy-MM-dd format (UTC). For versioning information refer to /iaas/api/about
Reconfigure compute nat specification instance
Show optional properties
{
"natRules": [
{
"index": 0,
"targetLink": "/iaas/api/load-balancers/try6-45ef, /iaas/api/machines/ht54-a472/network-interfaces/dyd6-d67e"
}
]
}
{
"natRules": [
{
"ruleId": "string",
"kind": "NAT44",
"type": "DNAT",
"index": 0,
"protocol": "TCP, UDP",
"sourceIPs": "any, 10.20.156.101",
"sourcePorts": "any, 80, 5000-5100",
"destinationPorts": "any, 80, 5000-5100",
"destinationAddress": "any, 10.20.156.101",
"targetLink": "/iaas/api/load-balancers/try6-45ef, /iaas/api/machines/ht54-a472/network-interfaces/dyd6-d67e",
"translatedPorts": "any, 80, 5000-5100",
"description": "string"
}
]
}
List of NAT rules to be applied on this Compute Nat.
Accepted
"RequestTracker Object"
Progress of the request as percentage.
Status message of the request.
Status of the request.
Collection of resources.
Name of the operation.
ID of this request.
Self link of this request.
ID of the deployment, this request is connected to.
NAT rules cannot be null
"ServiceErrorResponse Object"
message
messageId
stackTrace
statusCode
errorCode
details
serverErrorId
documentKind
internalErrorCode
Forbidden
"ServiceErrorResponse Object"
message
messageId
stackTrace
statusCode
errorCode
details
serverErrorId
documentKind
internalErrorCode
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"natRules":["object"]}' https://{api_host}/iaas/api/compute-nats/{id}/operations/reconfigure