def delete_resource(self):
    try:
        response = self.mgmt_client.query(self.url, 'DELETE', self.query_parameters, self.header_parameters, None, self.status_code, 600, 30)
    except CloudError as e:
        self.log('Error attempting to delete the SubscriptionFactory instance.')
        self.fail('Error deleting the SubscriptionFactory instance: {0}'.format(str(e)))
    return True
def delete_resource(self):
    try:
        response = self.mgmt_client.query(self.url, 'DELETE', self.query_parameters, self.header_parameters, None, self.status_code, 600, 30)
    except CloudError as e:
        self.log('Error attempting to delete the SubscriptionFactory instance.')
        self.fail('Error deleting the SubscriptionFactory instance: {0}'.format(str(e)))
    return True