InetAddress expectedStartIpAddress = InetAddress.getByName("0.0.0.0");
InetAddress expectedEndIpAddress = InetAddress.getByName("255.255.255.255");
InetAddress updatedEndIpAddress = InetAddress.getByName("255.255.255.128");
// act
FirewallRuleCreateParameters firewallRuleCreateParameters = new FirewallRuleCreateParameters();
firewallRuleCreateParameters.setName(expectedRuleName);
firewallRuleCreateParameters.setStartIPAddress(expectedStartIpAddress);
firewallRuleCreateParameters.setEndIPAddress(expectedEndIpAddress);
FirewallRuleCreateResponse firewallRuleCreateResponse = firewallRuleOperations.create(expectedServerName, firewallRuleCreateParameters);
FirewallRule firewallRule = firewallRuleCreateResponse.getFirewallRule();
String firewallRuleName = firewallRule.getName();
firewallRuleToBeRemoved.put(firewallRuleName, expectedServerName);
FirewallRuleUpdateParameters firewallRuleUpdateParameters = new FirewallRuleUpdateParameters();