lib/fog/azurerm/models/resources/deployments.rb in fog-azure-rm-0.1.2 vs lib/fog/azurerm/models/resources/deployments.rb in fog-azure-rm-0.2.0

- old
+ new

@@ -18,9 +18,13 @@ def get(resource_group_name, deployment_name) deployment = service.get_deployment(resource_group_name, deployment_name) deployment_fog = Fog::Resources::AzureRM::Deployment.new(service: service) deployment_fog.merge_attributes(Fog::Resources::AzureRM::Deployment.parse(deployment)) end + + def check_deployment_exists(resource_group_name, deployment_name) + service.check_deployment_exists(resource_group_name, deployment_name) + end end end end end