@azure/cognitiveservices-customsearch package

Classes

CustomInstance

Class representing a CustomInstance.

CustomSearchClient
CustomSearchClientContext

Interfaces

Answer

An interface representing Answer.

CreativeWork

An interface representing CreativeWork.

CustomInstanceSearchOptionalParams

Optional Parameters.

CustomSearchClientOptions

An interface representing CustomSearchClientOptions.

ErrorModel

Defines the error that occurred.

ErrorResponse

The top-level response that represents a failed request.

Identifiable

Defines the identity of a resource.

Query

Defines a search query.

QueryContext

Defines the query context that Bing used for the request.

Response

Defines a response. All schemas that could be returned at the root of a response should inherit from this

ResponseBase

An interface representing ResponseBase.

SearchResponse

Defines the top-level object that the response includes when the request succeeds.

SearchResultsAnswer

An interface representing SearchResultsAnswer.

Thing

An interface representing Thing.

WebMetaTag

Defines a webpage's metadata.

WebPage

Defines a webpage that is relevant to the query.

WebWebAnswer

Defines a list of relevant webpage links.

Type Aliases

AnswerUnion

Contains the possible cases for Answer.

CreativeWorkUnion

Contains the possible cases for CreativeWork.

CustomInstanceSearchResponse

Contains response data for the search operation.

ErrorCode

Defines values for ErrorCode. Possible values include: 'None', 'ServerError', 'InvalidRequest', 'RateLimitExceeded', 'InvalidAuthorization', 'InsufficientAuthorization'

ErrorSubCode

Defines values for ErrorSubCode. Possible values include: 'UnexpectedError', 'ResourceError', 'NotImplemented', 'ParameterMissing', 'ParameterInvalidValue', 'HttpNotAllowed', 'Blocked', 'AuthorizationMissing', 'AuthorizationRedundancy', 'AuthorizationDisabled', 'AuthorizationExpired'

IdentifiableUnion

Contains the possible cases for Identifiable.

ResponseBaseUnion

Contains the possible cases for ResponseBase.

ResponseUnion

Contains the possible cases for Response.

SafeSearch

Defines values for SafeSearch. Possible values include: 'Off', 'Moderate', 'Strict'

SearchResultsAnswerUnion

Contains the possible cases for SearchResultsAnswer.

TextFormat

Defines values for TextFormat. Possible values include: 'Raw', 'Html'

ThingUnion

Contains the possible cases for Thing.