def analyze_image_by_domain_with_http_info(model, url, language:nil, custom_headers:nil)
      analyze_image_by_domain_async(model, url, language:language, custom_headers:custom_headers).value!
    end
def analyze_image_by_domain_with_http_info(model, url, language:nil, custom_headers:nil)
      analyze_image_by_domain_async(model, url, language:language, custom_headers:custom_headers).value!
    end
This operation recognizes content within an image by applying a
 domain-specific model. The list of domain-specific models that are supported
 by the Computer Vision API can be retrieved using the /models GET request.
 Currently, the API provides following domain-specific models: celebrities,
 landmarks.
 Two input methods are supported -- (1) Uploading an image or (2) specifying
 an image URL.
 A successful response will be returned in JSON.
 If the request failed, the response will contain an error code and a message
 to help understand what went wrong.

 @param model [String] The domain-specific content to recognize.
 @param url [String] Publicly reachable URL of an image.
 @param language [Enum] The desired language for output generation. If this
 parameter is not specified, the default value is &quot;en&quot;.Supported
 languages:en - English, Default. es - Spanish, ja - Japanese, pt -
 Portuguese, zh - Simplified Chinese. Possible values include: 'en', 'es',
 'ja', 'pt', 'zh'
 @param custom_headers [Hash{String => String}] A hash of custom headers that
 will be added to the HTTP request.

 @return [MsRestAzure::AzureOperationResponse] HTTP response information.