def get(self):
    response = None
    results = {}
    self.url = ((((((((('/subscriptions' + '/{{ subscription_id }}') + '/resourceGroups') + '/{{ resource_group }}') + '/providers') + '/Microsoft.ApiManagement') + '/service') + '/{{ service_name }}') + '/apis') + '/{{ api_name }}')
    self.url = self.url.replace('{{ subscription_id }}', self.subscription_id)
    self.url = self.url.replace('{{ resource_group }}', self.resource_group)
    self.url = self.url.replace('{{ service_name }}', self.service_name)
    self.url = self.url.replace('{{ api_name }}', self.name)
    try:
        response = self.mgmt_client.query(self.url, 'GET', self.query_parameters, self.header_parameters, None, self.status_code, 600, 30)
        results['temp_item'] = json.loads(response.text)
    except CloudError as e:
        self.log('Could not get info for @(Model.ModuleOperationNameUpper).')
    return results
def get(self):
    response = None
    results = {}
    self.url = ((((((((('/subscriptions' + '/{{ subscription_id }}') + '/resourceGroups') + '/{{ resource_group }}') + '/providers') + '/Microsoft.ApiManagement') + '/service') + '/{{ service_name }}') + '/apis') + '/{{ api_name }}')
    self.url = self.url.replace('{{ subscription_id }}', self.subscription_id)
    self.url = self.url.replace('{{ resource_group }}', self.resource_group)
    self.url = self.url.replace('{{ service_name }}', self.service_name)
    self.url = self.url.replace('{{ api_name }}', self.name)
    try:
        response = self.mgmt_client.query(self.url, 'GET', self.query_parameters, self.header_parameters, None, self.status_code, 600, 30)
        results['temp_item'] = json.loads(response.text)
    except CloudError as e:
        self.log('Could not get info for @(Model.ModuleOperationNameUpper).')
    return results