Update Network IP Subnet Mapping
DescriptionCreate or update the IP subnet mapping for a network mapping.
Request
URLURL
Path Parameters
Path Parameters
The ID of a pairing between this Site Recovery Manager server and remote one.
ID of a Site Recovery Manager server.
The ID of the mapping.
Request Body
{
"name": "string",
"rules": [
{
"local_subnet": "string",
"name": "string",
"remote_ip_settings": {
"dns": {
"alternate_server": "string",
"preferred_server": "string",
"suffixes": [
"string"
],
"type": "DHCP"
},
"ip_v4": {
"alternate_gateway": "string",
"default_gateway": "string"
},
"wins": {
"alternate_server": "string",
"primary_server": "string"
}
},
"remote_subnet": "string"
}
]
}
Name of the IP mapping.
A rule describing mapping between protection side IP parameters to recovery side ones for a single IP subnet. Currently IPv6 customization is not supported.
Authentication
Errors
Bad request - the server could not understand the request due to invalid syntax or invalid request body content
Unauthorized - the client must authenticate itself to get the requested response
Forbidden - not sufficient access rights to fulfill the request
Not Found - server cannot find the requested in URL resource
Internal server error - unexpected condition prevents fulfilling the request
Code Samples
PowerCLI Client SDK Example
cURL Command
Vendor Extensions
x-dr-permissions:
permissions:
- System.View
- VcDr.InventoryMapper.com.vmware.vcDr.Edit
x-dr-remote-site-connectivity-contract:
not-authenticated: ERROR
server-down: ERROR