lib/fog/azurerm/models/network/network_security_rules.rb in fog-azure-rm-0.1.2 vs lib/fog/azurerm/models/network/network_security_rules.rb in fog-azure-rm-0.2.0
- old
+ new
@@ -19,9 +19,13 @@
def get(resource_group, network_security_group_name, name)
network_security_rule = service.get_network_security_rule(resource_group, network_security_group_name, name)
network_security_rule_fog = Fog::Network::AzureRM::NetworkSecurityRule.new(service: service)
network_security_rule_fog.merge_attributes(Fog::Network::AzureRM::NetworkSecurityRule.parse(network_security_rule))
end
+
+ def check_net_sec_rule_exists(resource_group, network_security_group_name, name)
+ service.check_net_sec_rule_exists(resource_group, network_security_group_name, name)
+ end
end
end
end
end