def get_resource(self):
    found = False
    try:
        response = self.mgmt_client.query(self.url, 'GET', self.query_parameters, self.header_parameters, None, self.status_code, 600, 30)
        found = True
        self.log('Response : {0}'.format(response))
    except CloudError as e:
        self.log('Did not find the SubscriptionFactory instance.')
    if (found is True):
        return response
    return False
def get_resource(self):
    found = False
    try:
        response = self.mgmt_client.query(self.url, 'GET', self.query_parameters, self.header_parameters, None, self.status_code, 600, 30)
        found = True
        self.log('Response : {0}'.format(response))
    except CloudError as e:
        self.log('Did not find the SubscriptionFactory instance.')
    if (found is True):
        return response
    return False