3.3.4.5 BulkUpdateSubnets
The BulkUpdateSubnets operation is used to update multiple subnets.
-
<wsdl:operation name="BulkUpdateSubnets"> <wsdl:input wsaw:Action="http://Microsoft.Windows.Ipam/IIpamServer/BulkUpdateSubnets" message="ipam:IIpamServer_BulkUpdateSubnets_InputMessage" /> <wsdl:output wsaw:Action="http://Microsoft.Windows.Ipam/IIpamServer/BulkUpdateSubnetsResponse" message="ipam:IIpamServer_BulkUpdateSubnets_OutputMessage" /> </wsdl:operation>
Upon receiving the IIpamServer_BulkUpdateSubnets_InputMessage, the server performs the following processing steps. Upon successful completion of these steps, the server MUST respond with the IIpamServer_BulkUpdateSubnets_OutputMessage. In the event of a failure, an appropriate SOAP fault MUST be sent to the client as specified in section 2.2.2.1:
If BulkUpdateSubnets.subnetsToUpdate is either NULL or empty, set BulkUpdateSubnetsResponse.BulkUpdateSubnetsResult to NULL and send the response message.
If the BulkUpdateSubnets.addressfamily is InterNetwork, processing is done with the IPv4-specific tables. Otherwise, IPv6-specific tables are used for further processing.
Initialize the BulkUpdateSubnetsResponse.BulkUpdateSubnetsResult to a collection of ArrayOfKeyValuePairOflongIpamExceptionmhTjmZB3 (section 2.2.4.431).
For each IPSubnet that is part of BulkUpdateSubnets.subnetsToUpdate, perform these steps:
Get the subnet oldSubnet corresponding to the recordId:IPSubnet.RecordId.
Fault if no subnet is found with a recordId.
Call UpdateSubnet to update the attributes for oldSubnet from the current selected IPSubnet from BulkUpdateSubnets.subnetsToUpdate.
If the processing steps in UpdateSubnet result in a fault, add an entry into BulkUpdateSubnetsResponse.BulkUpdateSubnetsResult that has the IPSubnet.RecordId as key and the value being IpamException detailing the reason for the fault.