3.3.4.84 GetLogicalGroupById
The GetLogicalGroupById operation can be used to query a logical group based on its RecordId.
-
<wsdl:operation name="GetLogicalGroupById"> <wsdl:input wsaw:Action="http://Microsoft.Windows.Ipam/IIpamServer/GetLogicalGroupById" message="ipam:IIpamServer_GetLogicalGroupById_InputMessage" /> <wsdl:output wsaw:Action="http://Microsoft.Windows.Ipam/IIpamServer/GetLogicalGroupByIdResponse" message="ipam:IIpamServer_GetLogicalGroupById_OutputMessage" /> </wsdl:operation>
Upon receiving the IIpamServer_GetLogicalGroupById_InputMessage request message, the server performs the following processing steps. Upon successful completion of the steps specified following, the server MUST respond with the IIpamServer_GetLogicalGroupById_OutputMessage message. 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 GetLogicalGroupById.groupType is LogicalGroupType.Range:
If GetLogicalGroupById.addressFamily is InterNetwork, initialize GetLogicalGroupByIdResponse.GetLogicalGroupByIdResult to IPv4RangeLogicalGroup.
If GetLogicalGroupById.addressFamily is InterNetworkV6, initialize GetLogicalGroupByIdResponse.GetLogicalGroupByIdResult to IPv6RangeLogicalGroup.
If GetLogicalGroupById.groupType is LogicalGroupType.IPAddress:
If GetLogicalGroupById.addressFamily is InterNetwork, initialize GetLogicalGroupByIdResponse.GetLogicalGroupByIdResult to IpamIPv4AddressLogicalGroup.
If GetLogicalGroupById.addressFamily is InterNetworkV6, initialize GetLogicalGroupByIdResponse.GetLogicalGroupByIdResult to IpamIPv6AddressLogicalGroup.
If GetLogicalGroupById.groupType is LogicalGroupType.ManagedServer:
If GetLogicalGroupById.addressFamily is InterNetwork, initialize GetLogicalGroupByIdResponse.GetLogicalGroupByIdResult to ActiveServerV4LogicalGroup.
If GetLogicalGroupById.addressFamily is InterNetworkV6, initialize GetLogicalGroupByIdResponse.GetLogicalGroupByIdResult to ActiveServerV6LogicalGroup.
If GetLogicalGroupById.groupType is LogicalGroupType.Subnet:
If GetLogicalGroupById.addressFamily is InterNetwork, initialize GetLogicalGroupByIdResponse.GetLogicalGroupByIdResult to IPv4SubnetLogicalGroup.
If GetLogicalGroupById.addressFamily is InterNetworkV6, initialize GetLogicalGroupByIdResponse.GetLogicalGroupByIdResult to IPv6SubnetLogicalGroup.
Call the procedure GetLogicalGroupFromTable with the following input parameters:
Param_Id is assigned the value of GetLogicalGroupById.id.
Param_addressFamily is assigned the value of GetLogicalGroupById.addressFamily.
Param_groupType is assigned the value of GetLogicalGroupById.addressFamily.
Copy the Result_logicalGroup into GetLogicalGroupByIdResponse.GetLogicalGroupByIdResult.