Chapter 09/circuit-oneops-1-master/components/cookbooks/azure_base/libraries/resource_group_manager.rb
# This method will delete the resource group
This method will delete the resource group
This method will delete the resource group
def delete
      begin
        response = @client.resource_groups.delete(@rg_name).value!
      rescue MsRestAzure::AzureOperationError => e
        OOLog.fatal("Error deleting resource group: #{e.body}")
      rescue => ex
        OOLog.fatal("Error deleting resource group: #{ex.message}")
      end
    end
def delete begin response = @client . resource_groups . delete ( @rg_name ) . value! rescue MsRestAzure :: AzureOperationError => e OOLog . fatal ( "Error deleting resource group: #{e.body}" ) rescue => ex OOLog . fatal ( "Error deleting resource group: #{ex.message}" ) end end
This method will delete the resource group
This method will delete the resource group