@azure-rest/ai-document-intelligence package

Interfaces

AddressValueOutput

Address field value.

AnalyzeBatchDocuments
AnalyzeBatchDocuments202Headers
AnalyzeBatchDocuments202Response

The request has been accepted for processing, but processing has not yet completed.

AnalyzeBatchDocumentsBodyParam
AnalyzeBatchDocumentsDefaultResponse
AnalyzeBatchDocumentsLogicalResponse

The final response for long-running analyzeBatchDocuments operation

AnalyzeBatchDocumentsMediaTypesParam
AnalyzeBatchDocumentsQueryParam
AnalyzeBatchDocumentsQueryParamProperties
AnalyzeBatchDocumentsRequest

Batch document analysis parameters.

AnalyzeBatchOperationDetailOutput

Operation detail for a document in a batch analysis.

AnalyzeBatchResultOperationOutput

Status and result of the analyze batch operation.

AnalyzeBatchResultOutput

Batch document analysis result.

AnalyzeDocument202Headers
AnalyzeDocument202Response

The request has been accepted for processing, but processing has not yet completed.

AnalyzeDocumentBodyParam
AnalyzeDocumentDefaultResponse
AnalyzeDocumentFromStream
AnalyzeDocumentFromStream202Headers
AnalyzeDocumentFromStream202Response

The request has been accepted for processing, but processing has not yet completed.

AnalyzeDocumentFromStreamBodyParam
AnalyzeDocumentFromStreamDefaultResponse
AnalyzeDocumentFromStreamLogicalResponse

The final response for long-running analyzeDocumentFromStream operation

AnalyzeDocumentFromStreamMediaTypesParam
AnalyzeDocumentFromStreamQueryParam
AnalyzeDocumentFromStreamQueryParamProperties
AnalyzeDocumentLogicalResponse

The final response for long-running analyzeDocument operation

AnalyzeDocumentMediaTypesParam
AnalyzeDocumentQueryParam
AnalyzeDocumentQueryParamProperties
AnalyzeDocumentRequest

Document analysis parameters.

AnalyzeResultOperationOutput

Status and result of the analyze operation.

AnalyzeResultOutput

Document analysis result.

AuthorizeClassifierCopy
AuthorizeClassifierCopy200Response

The request has succeeded.

AuthorizeClassifierCopyBodyParam
AuthorizeClassifierCopyDefaultResponse
AuthorizeClassifierCopyRequest

Request body to authorize document classifier copy.

AuthorizeCopyRequest

Request body to authorize document model copy.

AuthorizeModelCopy
AuthorizeModelCopy200Response

The request has succeeded.

AuthorizeModelCopyBodyParam
AuthorizeModelCopyDefaultResponse
AzureBlobContentSource

Azure Blob Storage content.

AzureBlobContentSourceOutput

Azure Blob Storage content.

AzureBlobFileListContentSource

File list in Azure Blob Storage.

AzureBlobFileListContentSourceOutput

File list in Azure Blob Storage.

BoundingRegionOutput

Bounding polygon on a specific page of the input.

BuildClassifier
BuildClassifier202Headers
BuildClassifier202Response

The request has been accepted for processing, but processing has not yet completed.

BuildClassifierBodyParam
BuildClassifierDefaultResponse
BuildClassifierLogicalResponse

The final response for long-running buildClassifier operation

BuildDocumentClassifierRequest

Request body to build a new custom document classifier.

BuildDocumentModelRequest

Request body to build a new custom document model.

BuildModel
BuildModel202Headers
BuildModel202Response

The request has been accepted for processing, but processing has not yet completed.

BuildModelBodyParam
BuildModelDefaultResponse
BuildModelLogicalResponse

The final response for long-running buildModel operation

ClassifierCopyAuthorization

Authorization to copy a document classifier to the specified target resource and classifierId.

ClassifierCopyAuthorizationOutput

Authorization to copy a document classifier to the specified target resource and classifierId.

ClassifierDocumentTypeDetails

Classifier document type info.

ClassifierDocumentTypeDetailsOutput

Classifier document type info.

ClassifyDocument202Headers
ClassifyDocument202Response

The request has been accepted for processing, but processing has not yet completed.

ClassifyDocumentBodyParam
ClassifyDocumentDefaultResponse
ClassifyDocumentFromStream
ClassifyDocumentFromStream202Headers
ClassifyDocumentFromStream202Response

The request has been accepted for processing, but processing has not yet completed.

ClassifyDocumentFromStreamBodyParam
ClassifyDocumentFromStreamDefaultResponse
ClassifyDocumentFromStreamLogicalResponse

The final response for long-running classifyDocumentFromStream operation

ClassifyDocumentFromStreamMediaTypesParam
ClassifyDocumentFromStreamQueryParam
ClassifyDocumentFromStreamQueryParamProperties
ClassifyDocumentLogicalResponse

The final response for long-running classifyDocument operation

ClassifyDocumentMediaTypesParam
ClassifyDocumentQueryParam
ClassifyDocumentQueryParamProperties
ClassifyDocumentRequest

Document classification parameters.

ComposeDocumentModelRequest

Request body to create a composed document model from component document models.

ComposeModel
ComposeModel202Headers
ComposeModel202Response

The request has been accepted for processing, but processing has not yet completed.

ComposeModelBodyParam
ComposeModelDefaultResponse
ComposeModelLogicalResponse

The final response for long-running composeModel operation

CopyAuthorization

Authorization to copy a document model to the specified target resource and modelId.

CopyAuthorizationOutput

Authorization to copy a document model to the specified target resource and modelId.

CopyClassifierTo
CopyClassifierTo202Headers
CopyClassifierTo202Response

The request has been accepted for processing, but processing has not yet completed.

CopyClassifierToBodyParam
CopyClassifierToDefaultResponse
CopyClassifierToLogicalResponse

The final response for long-running copyClassifierTo operation

CopyModelTo
CopyModelTo202Headers
CopyModelTo202Response

The request has been accepted for processing, but processing has not yet completed.

CopyModelToBodyParam
CopyModelToDefaultResponse
CopyModelToLogicalResponse

The final response for long-running copyModelTo operation

CurrencyValueOutput

Currency field value.

CustomDocumentModelsDetailsOutput

Details regarding custom document models.

DeleteClassifier204Headers
DeleteClassifier204Response

There is no content to send for this request, but the headers may be useful.

DeleteClassifierDefaultResponse
DeleteClassifierHeaderParam
DeleteClassifierHeaders
DeleteModel204Headers
DeleteModel204Response

There is no content to send for this request, but the headers may be useful.

DeleteModelDefaultResponse
DeleteModelHeaderParam
DeleteModelHeaders
DocumentBarcodeOutput

A barcode object.

DocumentCaptionOutput

A caption object describing a table or figure.

DocumentClassifierBuildOperationDetailsOutput

Get Operation response object.

DocumentClassifierCopyToOperationDetailsOutput

Get Operation response object.

DocumentClassifierDetailsOutput

Document classifier info.

DocumentFieldOutput

An object representing the content and location of a field value.

DocumentFieldSchema

Description of the field semantic schema using a JSON Schema style syntax.

DocumentFieldSchemaOutput

Description of the field semantic schema using a JSON Schema style syntax.

DocumentFigureOutput

An object representing a figure in the document.

DocumentFootnoteOutput

A footnote object describing a table or figure.

DocumentFormulaOutput

A formula object.

DocumentIntelligenceClientOptions

The optional parameters for the client

DocumentKeyValueElementOutput

An object representing the field key or value in a key-value pair.

DocumentKeyValuePairOutput

An object representing a form field with distinct field label (key) and field value (may be empty).

DocumentLanguageOutput

An object representing the detected language for a given text span.

DocumentLineOutput

A content line object consisting of an adjacent sequence of content elements, such as words and selection marks.

DocumentModelBuildOperationDetailsOutput

Get Operation response object.

DocumentModelComposeOperationDetailsOutput

Get Operation response object.

DocumentModelCopyToOperationDetailsOutput

Get Operation response object.

DocumentModelDetailsOutput

Document model info.

DocumentOutput

An object describing the location and semantic content of a document.

DocumentPageOutput

Content and layout elements extracted from a page from the input.

DocumentParagraphOutput

A paragraph object consisting with contiguous lines generally with common alignment and spacing.

DocumentSectionOutput

An object representing a section in the document.

DocumentSelectionMarkOutput

A selection mark object representing check boxes, radio buttons, and other elements indicating a selection.

DocumentSpanOutput

Contiguous region of the concatenated content property, specified as an offset and length.

DocumentStyleOutput

An object representing observed text styles.

DocumentTableCellOutput

An object representing the location and content of a table cell.

DocumentTableOutput

A table object consisting table cells arranged in a rectangular layout.

DocumentTypeDetails

Document type info.

DocumentTypeDetailsOutput

Document type info.

DocumentWordOutput

A word object consisting of a contiguous sequence of characters. For non-space delimited languages, such as Chinese, Japanese, and Korean, each character is represented as its own word.

ErrorModelOutput

The error object.

ErrorResponseOutput

Error response object.

GetAnalyzeBatchResult
GetAnalyzeBatchResult200Response

The request has succeeded.

GetAnalyzeBatchResultDefaultResponse
GetAnalyzeResult
GetAnalyzeResult200Response

The request has succeeded.

GetAnalyzeResultDefaultResponse
GetAnalyzeResultFigure
GetAnalyzeResultFigure200Headers
GetAnalyzeResultFigure200Response

The request has succeeded.

GetAnalyzeResultFigureDefaultResponse
GetAnalyzeResultPdf
GetAnalyzeResultPdf200Headers
GetAnalyzeResultPdf200Response

The request has succeeded.

GetAnalyzeResultPdfDefaultResponse
GetClassifier
GetClassifier200Headers
GetClassifier200Response

The request has succeeded.

GetClassifierDefaultResponse
GetClassifierHeaderParam
GetClassifierHeaders
GetClassifyResult
GetClassifyResult200Response

The request has succeeded.

GetClassifyResultDefaultResponse
GetDocumentClassifierBuildOperation200Headers
GetDocumentClassifierBuildOperation200Response

The request has succeeded.

GetDocumentClassifierBuildOperationDefaultResponse
GetDocumentClassifierBuildOperationHeaderParam
GetDocumentClassifierBuildOperationHeaders
GetDocumentClassifierCopyToOperation200Headers
GetDocumentClassifierCopyToOperation200Response

The request has succeeded.

GetDocumentClassifierCopyToOperationDefaultResponse
GetDocumentClassifierCopyToOperationHeaderParam
GetDocumentClassifierCopyToOperationHeaders
GetDocumentModelBuildOperation
GetDocumentModelBuildOperation200Headers
GetDocumentModelBuildOperation200Response

The request has succeeded.

GetDocumentModelBuildOperationDefaultResponse
GetDocumentModelBuildOperationHeaderParam
GetDocumentModelBuildOperationHeaders
GetDocumentModelComposeOperation200Headers
GetDocumentModelComposeOperation200Response

The request has succeeded.

GetDocumentModelComposeOperationDefaultResponse
GetDocumentModelComposeOperationHeaderParam
GetDocumentModelComposeOperationHeaders
GetDocumentModelCopyToOperation200Headers
GetDocumentModelCopyToOperation200Response

The request has succeeded.

GetDocumentModelCopyToOperationDefaultResponse
GetDocumentModelCopyToOperationHeaderParam
GetDocumentModelCopyToOperationHeaders
GetModel
GetModel200Headers
GetModel200Response

The request has succeeded.

GetModelDefaultResponse
GetModelHeaderParam
GetModelHeaders
GetOperation200Headers
GetOperation200Response

The request has succeeded.

GetOperationDefaultResponse
GetOperationHeaderParam
GetOperationHeaders
GetResourceInfo
GetResourceInfo200Response

The request has succeeded.

GetResourceInfoDefaultResponse
InnerErrorOutput

An object containing more specific information about the error.

ListClassifiers
ListClassifiers200Headers
ListClassifiers200Response

The request has succeeded.

ListClassifiersDefaultResponse
ListClassifiersHeaderParam
ListClassifiersHeaders
ListModels
ListModels200Headers
ListModels200Response

The request has succeeded.

ListModelsDefaultResponse
ListModelsHeaderParam
ListModelsHeaders
ListOperations
ListOperations200Headers
ListOperations200Response

The request has succeeded.

ListOperationsDefaultResponse
ListOperationsHeaderParam
ListOperationsHeaders
OperationDetailsOutputParent

Operation info.

PagingOptions

Options for the paging helper

ResourceDetailsOutput

General information regarding the current resource.

Routes
SimplePollerLike

A simple poller that can be used to poll a long running operation.

WarningOutput

The error object.

Type Aliases

AnalyzeBatchDocumentsParameters
AnalyzeDocumentFromStreamParameters
AnalyzeDocumentParameters
AnalyzeOutputOption

Alias for AnalyzeOutputOption

AuthorizeClassifierCopyParameters
AuthorizeModelCopyParameters
BuildClassifierParameters
BuildModelParameters
ClassifyDocumentFromStreamParameters
ClassifyDocumentParameters
ComposeModelParameters
ContentFormat

Alias for ContentFormat

ContentFormatOutput

Alias for ContentFormatOutput

ContentSourceKind

Alias for ContentSourceKind

ContentSourceKindOutput

Alias for ContentSourceKindOutput

CopyClassifierToParameters
CopyModelToParameters
DeleteClassifierParameters
DeleteModelParameters
DocumentAnalysisFeature

Alias for DocumentAnalysisFeature

DocumentAnalysisFeatureOutput

Alias for DocumentAnalysisFeatureOutput

DocumentBarcodeKindOutput

Alias for DocumentBarcodeKindOutput

DocumentBuildMode

Alias for DocumentBuildMode

DocumentBuildModeOutput

Alias for DocumentBuildModeOutput

DocumentFieldType

Alias for DocumentFieldType

DocumentFieldTypeOutput

Alias for DocumentFieldTypeOutput

DocumentFormulaKindOutput

Alias for DocumentFormulaKindOutput

DocumentIntelligenceClient
DocumentSelectionMarkStateOutput

Alias for DocumentSelectionMarkStateOutput

DocumentSignatureTypeOutput

Alias for DocumentSignatureTypeOutput

DocumentTableCellKindOutput

Alias for DocumentTableCellKindOutput

FontStyleOutput

Alias for FontStyleOutput

FontWeightOutput

Alias for FontWeightOutput

GetAnalyzeBatchResultParameters
GetAnalyzeResultFigureParameters
GetAnalyzeResultParameters
GetAnalyzeResultPdfParameters
GetArrayType

Helper type to extract the type of an array

GetClassifierParameters
GetClassifyResultParameters
GetDocumentClassifierBuildOperationParameters
GetDocumentClassifierCopyToOperationParameters
GetDocumentModelBuildOperationParameters
GetDocumentModelComposeOperationParameters
GetDocumentModelCopyToOperationParameters
GetModelParameters
GetOperationParameters
GetPage

The type of a custom function that defines how to get a page and a link to the next one if any.

GetResourceInfoParameters
LengthUnitOutput

Alias for LengthUnitOutput

ListClassifiersParameters
ListModelsParameters
ListOperationsParameters
OperationDetailsOutput

Operation info.

OperationKindOutput

Alias for OperationKindOutput

OperationStatusOutput

Alias for OperationStatusOutput

PagedDocumentClassifierDetailsOutput

Paged collection of DocumentClassifierDetails items

PagedDocumentModelDetailsOutput

Paged collection of DocumentModelDetails items

PagedOperationDetailsOutput

Paged collection of OperationDetails items

PaginateReturn

Helper type to infer the Type of the paged elements from the response type This type is generated based on the swagger information for x-ms-pageable specifically on the itemName property which indicates the property of the response where the page items are found. The default value is value. This type will allow us to provide strongly typed Iterator based on the response we get as second parameter

ParagraphRoleOutput

Alias for ParagraphRoleOutput

SplitMode

Alias for SplitMode

SplitModeOutput

Alias for SplitModeOutput

StringIndexType

Alias for StringIndexType

StringIndexTypeOutput

Alias for StringIndexTypeOutput

Functions

default(string, TokenCredential | KeyCredential, DocumentIntelligenceClientOptions)

Initialize a new instance of DocumentIntelligenceClient

getLongRunningPoller<TResult>(Client, AnalyzeBatchDocuments202Response | AnalyzeBatchDocumentsDefaultResponse, CreateHttpPollerOptions<TResult, OperationState<TResult>>)

Helper function that builds a Poller object to help polling a long running operation.

getLongRunningPoller<TResult>(Client, BuildModel202Response | BuildModelDefaultResponse, CreateHttpPollerOptions<TResult, OperationState<TResult>>)
getLongRunningPoller<TResult>(Client, ComposeModel202Response | ComposeModelDefaultResponse, CreateHttpPollerOptions<TResult, OperationState<TResult>>)
getLongRunningPoller<TResult>(Client, CopyModelTo202Response | CopyModelToDefaultResponse, CreateHttpPollerOptions<TResult, OperationState<TResult>>)
getLongRunningPoller<TResult>(Client, BuildClassifier202Response | BuildClassifierDefaultResponse, CreateHttpPollerOptions<TResult, OperationState<TResult>>)
getLongRunningPoller<TResult>(Client, CopyClassifierTo202Response | CopyClassifierToDefaultResponse, CreateHttpPollerOptions<TResult, OperationState<TResult>>)
getLongRunningPoller<TResult>(Client, AnalyzeDocumentFromStream202Response | AnalyzeDocumentFromStreamDefaultResponse, CreateHttpPollerOptions<TResult, OperationState<TResult>>)
getLongRunningPoller<TResult>(Client, ClassifyDocumentFromStream202Response | ClassifyDocumentFromStreamDefaultResponse, CreateHttpPollerOptions<TResult, OperationState<TResult>>)
isUnexpected(ListOperations200Response | ListOperationsDefaultResponse)
isUnexpected(GetDocumentModelBuildOperation200Response | GetDocumentModelBuildOperationDefaultResponse)
isUnexpected(GetDocumentModelComposeOperation200Response | GetDocumentModelComposeOperationDefaultResponse)
isUnexpected(GetDocumentModelCopyToOperation200Response | GetDocumentModelCopyToOperationDefaultResponse)
isUnexpected(GetDocumentClassifierCopyToOperation200Response | GetDocumentClassifierCopyToOperationDefaultResponse)
isUnexpected(GetDocumentClassifierBuildOperation200Response | GetDocumentClassifierBuildOperationDefaultResponse)
isUnexpected(GetOperation200Response | GetOperationDefaultResponse)
isUnexpected(GetResourceInfo200Response | GetResourceInfoDefaultResponse)
isUnexpected(GetAnalyzeResult200Response | GetAnalyzeResultDefaultResponse)
isUnexpected(GetAnalyzeResultPdf200Response | GetAnalyzeResultPdfDefaultResponse)
isUnexpected(GetAnalyzeResultFigure200Response | GetAnalyzeResultFigureDefaultResponse)
isUnexpected(AnalyzeDocumentFromStream202Response | AnalyzeDocumentFromStreamDefaultResponse | AnalyzeDocumentFromStreamLogicalResponse)
isUnexpected(AnalyzeDocument202Response | AnalyzeDocumentDefaultResponse | AnalyzeDocumentLogicalResponse)
isUnexpected(GetAnalyzeBatchResult200Response | GetAnalyzeBatchResultDefaultResponse)
isUnexpected(AnalyzeBatchDocuments202Response | AnalyzeBatchDocumentsDefaultResponse | AnalyzeBatchDocumentsLogicalResponse)
isUnexpected(GetModel200Response | GetModelDefaultResponse)
isUnexpected(DeleteModel204Response | DeleteModelDefaultResponse)
isUnexpected(BuildModel202Response | BuildModelDefaultResponse | BuildModelLogicalResponse)
isUnexpected(ComposeModel202Response | ComposeModelDefaultResponse | ComposeModelLogicalResponse)
isUnexpected(AuthorizeModelCopy200Response | AuthorizeModelCopyDefaultResponse)
isUnexpected(CopyModelTo202Response | CopyModelToDefaultResponse | CopyModelToLogicalResponse)
isUnexpected(ListModels200Response | ListModelsDefaultResponse)
isUnexpected(BuildClassifier202Response | BuildClassifierDefaultResponse | BuildClassifierLogicalResponse)
isUnexpected(ListClassifiers200Response | ListClassifiersDefaultResponse)
isUnexpected(GetClassifier200Response | GetClassifierDefaultResponse)
isUnexpected(DeleteClassifier204Response | DeleteClassifierDefaultResponse)
isUnexpected(ClassifyDocumentFromStream202Response | ClassifyDocumentFromStreamDefaultResponse | ClassifyDocumentFromStreamLogicalResponse)
isUnexpected(ClassifyDocument202Response | ClassifyDocumentDefaultResponse | ClassifyDocumentLogicalResponse)
isUnexpected(GetClassifyResult200Response | GetClassifyResultDefaultResponse)
isUnexpected(AuthorizeClassifierCopy200Response | AuthorizeClassifierCopyDefaultResponse)
isUnexpected(CopyClassifierTo202Response | CopyClassifierToDefaultResponse | CopyClassifierToLogicalResponse)
paginate<TResponse>(Client, TResponse, PagingOptions<TResponse>)

Helper to paginate results from an initial response that follows the specification of Autorest x-ms-pageable extension

Function Details

default(string, TokenCredential | KeyCredential, DocumentIntelligenceClientOptions)

Initialize a new instance of DocumentIntelligenceClient

function default(endpointParam: string, credentials: TokenCredential | KeyCredential, options?: DocumentIntelligenceClientOptions): DocumentIntelligenceClient

Parameters

endpointParam

string

The Document Intelligence service endpoint.

credentials

TokenCredential | KeyCredential

uniquely identify client credential

options
DocumentIntelligenceClientOptions

the parameter for all optional parameters

Returns

getLongRunningPoller<TResult>(Client, AnalyzeBatchDocuments202Response | AnalyzeBatchDocumentsDefaultResponse, CreateHttpPollerOptions<TResult, OperationState<TResult>>)

Helper function that builds a Poller object to help polling a long running operation.

function getLongRunningPoller<TResult>(client: Client, initialResponse: AnalyzeBatchDocuments202Response | AnalyzeBatchDocumentsDefaultResponse, options?: CreateHttpPollerOptions<TResult, OperationState<TResult>>): Promise<SimplePollerLike<OperationState<TResult>, TResult>>

Parameters

client
Client

Client to use for sending the request to get additional pages.

options

CreateHttpPollerOptions<TResult, OperationState<TResult>>

Options to set a resume state or custom polling interval.

Returns

Promise<SimplePollerLike<OperationState<TResult>, TResult>>

  • A poller object to poll for operation state updates and eventually get the final response.

getLongRunningPoller<TResult>(Client, BuildModel202Response | BuildModelDefaultResponse, CreateHttpPollerOptions<TResult, OperationState<TResult>>)

function getLongRunningPoller<TResult>(client: Client, initialResponse: BuildModel202Response | BuildModelDefaultResponse, options?: CreateHttpPollerOptions<TResult, OperationState<TResult>>): Promise<SimplePollerLike<OperationState<TResult>, TResult>>

Parameters

client
Client
options

CreateHttpPollerOptions<TResult, OperationState<TResult>>

Returns

Promise<SimplePollerLike<OperationState<TResult>, TResult>>

getLongRunningPoller<TResult>(Client, ComposeModel202Response | ComposeModelDefaultResponse, CreateHttpPollerOptions<TResult, OperationState<TResult>>)

function getLongRunningPoller<TResult>(client: Client, initialResponse: ComposeModel202Response | ComposeModelDefaultResponse, options?: CreateHttpPollerOptions<TResult, OperationState<TResult>>): Promise<SimplePollerLike<OperationState<TResult>, TResult>>

Parameters

client
Client
options

CreateHttpPollerOptions<TResult, OperationState<TResult>>

Returns

Promise<SimplePollerLike<OperationState<TResult>, TResult>>

getLongRunningPoller<TResult>(Client, CopyModelTo202Response | CopyModelToDefaultResponse, CreateHttpPollerOptions<TResult, OperationState<TResult>>)

function getLongRunningPoller<TResult>(client: Client, initialResponse: CopyModelTo202Response | CopyModelToDefaultResponse, options?: CreateHttpPollerOptions<TResult, OperationState<TResult>>): Promise<SimplePollerLike<OperationState<TResult>, TResult>>

Parameters

client
Client
options

CreateHttpPollerOptions<TResult, OperationState<TResult>>

Returns

Promise<SimplePollerLike<OperationState<TResult>, TResult>>

getLongRunningPoller<TResult>(Client, BuildClassifier202Response | BuildClassifierDefaultResponse, CreateHttpPollerOptions<TResult, OperationState<TResult>>)

function getLongRunningPoller<TResult>(client: Client, initialResponse: BuildClassifier202Response | BuildClassifierDefaultResponse, options?: CreateHttpPollerOptions<TResult, OperationState<TResult>>): Promise<SimplePollerLike<OperationState<TResult>, TResult>>

Parameters

client
Client
options

CreateHttpPollerOptions<TResult, OperationState<TResult>>

Returns

Promise<SimplePollerLike<OperationState<TResult>, TResult>>

getLongRunningPoller<TResult>(Client, CopyClassifierTo202Response | CopyClassifierToDefaultResponse, CreateHttpPollerOptions<TResult, OperationState<TResult>>)

function getLongRunningPoller<TResult>(client: Client, initialResponse: CopyClassifierTo202Response | CopyClassifierToDefaultResponse, options?: CreateHttpPollerOptions<TResult, OperationState<TResult>>): Promise<SimplePollerLike<OperationState<TResult>, TResult>>

Parameters

client
Client
options

CreateHttpPollerOptions<TResult, OperationState<TResult>>

Returns

Promise<SimplePollerLike<OperationState<TResult>, TResult>>

getLongRunningPoller<TResult>(Client, AnalyzeDocumentFromStream202Response | AnalyzeDocumentFromStreamDefaultResponse, CreateHttpPollerOptions<TResult, OperationState<TResult>>)

function getLongRunningPoller<TResult>(client: Client, initialResponse: AnalyzeDocumentFromStream202Response | AnalyzeDocumentFromStreamDefaultResponse, options?: CreateHttpPollerOptions<TResult, OperationState<TResult>>): Promise<SimplePollerLike<OperationState<TResult>, TResult>>

Parameters

client
Client
options

CreateHttpPollerOptions<TResult, OperationState<TResult>>

Returns

Promise<SimplePollerLike<OperationState<TResult>, TResult>>

getLongRunningPoller<TResult>(Client, ClassifyDocumentFromStream202Response | ClassifyDocumentFromStreamDefaultResponse, CreateHttpPollerOptions<TResult, OperationState<TResult>>)

function getLongRunningPoller<TResult>(client: Client, initialResponse: ClassifyDocumentFromStream202Response | ClassifyDocumentFromStreamDefaultResponse, options?: CreateHttpPollerOptions<TResult, OperationState<TResult>>): Promise<SimplePollerLike<OperationState<TResult>, TResult>>

Parameters

client
Client
options

CreateHttpPollerOptions<TResult, OperationState<TResult>>

Returns

Promise<SimplePollerLike<OperationState<TResult>, TResult>>

isUnexpected(ListOperations200Response | ListOperationsDefaultResponse)

function isUnexpected(response: ListOperations200Response | ListOperationsDefaultResponse): response

Parameters

Returns

response

isUnexpected(GetDocumentModelBuildOperation200Response | GetDocumentModelBuildOperationDefaultResponse)

function isUnexpected(response: GetDocumentModelBuildOperation200Response | GetDocumentModelBuildOperationDefaultResponse): response

Parameters

Returns

response

isUnexpected(GetDocumentModelComposeOperation200Response | GetDocumentModelComposeOperationDefaultResponse)

function isUnexpected(response: GetDocumentModelComposeOperation200Response | GetDocumentModelComposeOperationDefaultResponse): response

Parameters

Returns

response

isUnexpected(GetDocumentModelCopyToOperation200Response | GetDocumentModelCopyToOperationDefaultResponse)

function isUnexpected(response: GetDocumentModelCopyToOperation200Response | GetDocumentModelCopyToOperationDefaultResponse): response

Parameters

Returns

response

isUnexpected(GetDocumentClassifierCopyToOperation200Response | GetDocumentClassifierCopyToOperationDefaultResponse)

function isUnexpected(response: GetDocumentClassifierCopyToOperation200Response | GetDocumentClassifierCopyToOperationDefaultResponse): response

Parameters

Returns

response

isUnexpected(GetDocumentClassifierBuildOperation200Response | GetDocumentClassifierBuildOperationDefaultResponse)

function isUnexpected(response: GetDocumentClassifierBuildOperation200Response | GetDocumentClassifierBuildOperationDefaultResponse): response

Parameters

Returns

response

isUnexpected(GetOperation200Response | GetOperationDefaultResponse)

function isUnexpected(response: GetOperation200Response | GetOperationDefaultResponse): response

Parameters

Returns

response

isUnexpected(GetResourceInfo200Response | GetResourceInfoDefaultResponse)

function isUnexpected(response: GetResourceInfo200Response | GetResourceInfoDefaultResponse): response

Parameters

Returns

response

isUnexpected(GetAnalyzeResult200Response | GetAnalyzeResultDefaultResponse)

function isUnexpected(response: GetAnalyzeResult200Response | GetAnalyzeResultDefaultResponse): response

Parameters

Returns

response

isUnexpected(GetAnalyzeResultPdf200Response | GetAnalyzeResultPdfDefaultResponse)

function isUnexpected(response: GetAnalyzeResultPdf200Response | GetAnalyzeResultPdfDefaultResponse): response

Parameters

Returns

response

isUnexpected(GetAnalyzeResultFigure200Response | GetAnalyzeResultFigureDefaultResponse)

function isUnexpected(response: GetAnalyzeResultFigure200Response | GetAnalyzeResultFigureDefaultResponse): response

Parameters

Returns

response

isUnexpected(AnalyzeDocumentFromStream202Response | AnalyzeDocumentFromStreamDefaultResponse | AnalyzeDocumentFromStreamLogicalResponse)

function isUnexpected(response: AnalyzeDocumentFromStream202Response | AnalyzeDocumentFromStreamDefaultResponse | AnalyzeDocumentFromStreamLogicalResponse): response

Parameters

Returns

response

isUnexpected(AnalyzeDocument202Response | AnalyzeDocumentDefaultResponse | AnalyzeDocumentLogicalResponse)

function isUnexpected(response: AnalyzeDocument202Response | AnalyzeDocumentDefaultResponse | AnalyzeDocumentLogicalResponse): response

Parameters

Returns

response

isUnexpected(GetAnalyzeBatchResult200Response | GetAnalyzeBatchResultDefaultResponse)

function isUnexpected(response: GetAnalyzeBatchResult200Response | GetAnalyzeBatchResultDefaultResponse): response

Parameters

Returns

response

isUnexpected(AnalyzeBatchDocuments202Response | AnalyzeBatchDocumentsDefaultResponse | AnalyzeBatchDocumentsLogicalResponse)

function isUnexpected(response: AnalyzeBatchDocuments202Response | AnalyzeBatchDocumentsDefaultResponse | AnalyzeBatchDocumentsLogicalResponse): response

Parameters

Returns

response

isUnexpected(GetModel200Response | GetModelDefaultResponse)

function isUnexpected(response: GetModel200Response | GetModelDefaultResponse): response

Parameters

Returns

response

isUnexpected(DeleteModel204Response | DeleteModelDefaultResponse)

function isUnexpected(response: DeleteModel204Response | DeleteModelDefaultResponse): response

Parameters

Returns

response

isUnexpected(BuildModel202Response | BuildModelDefaultResponse | BuildModelLogicalResponse)

function isUnexpected(response: BuildModel202Response | BuildModelDefaultResponse | BuildModelLogicalResponse): response

Parameters

Returns

response

isUnexpected(ComposeModel202Response | ComposeModelDefaultResponse | ComposeModelLogicalResponse)

function isUnexpected(response: ComposeModel202Response | ComposeModelDefaultResponse | ComposeModelLogicalResponse): response

Parameters

Returns

response

isUnexpected(AuthorizeModelCopy200Response | AuthorizeModelCopyDefaultResponse)

function isUnexpected(response: AuthorizeModelCopy200Response | AuthorizeModelCopyDefaultResponse): response

Parameters

Returns

response

isUnexpected(CopyModelTo202Response | CopyModelToDefaultResponse | CopyModelToLogicalResponse)

function isUnexpected(response: CopyModelTo202Response | CopyModelToDefaultResponse | CopyModelToLogicalResponse): response

Parameters

Returns

response

isUnexpected(ListModels200Response | ListModelsDefaultResponse)

function isUnexpected(response: ListModels200Response | ListModelsDefaultResponse): response

Parameters

Returns

response

isUnexpected(BuildClassifier202Response | BuildClassifierDefaultResponse | BuildClassifierLogicalResponse)

function isUnexpected(response: BuildClassifier202Response | BuildClassifierDefaultResponse | BuildClassifierLogicalResponse): response

Parameters

Returns

response

isUnexpected(ListClassifiers200Response | ListClassifiersDefaultResponse)

function isUnexpected(response: ListClassifiers200Response | ListClassifiersDefaultResponse): response

Parameters

Returns

response

isUnexpected(GetClassifier200Response | GetClassifierDefaultResponse)

function isUnexpected(response: GetClassifier200Response | GetClassifierDefaultResponse): response

Parameters

Returns

response

isUnexpected(DeleteClassifier204Response | DeleteClassifierDefaultResponse)

function isUnexpected(response: DeleteClassifier204Response | DeleteClassifierDefaultResponse): response

Parameters

Returns

response

isUnexpected(ClassifyDocumentFromStream202Response | ClassifyDocumentFromStreamDefaultResponse | ClassifyDocumentFromStreamLogicalResponse)

function isUnexpected(response: ClassifyDocumentFromStream202Response | ClassifyDocumentFromStreamDefaultResponse | ClassifyDocumentFromStreamLogicalResponse): response

Parameters

Returns

response

isUnexpected(ClassifyDocument202Response | ClassifyDocumentDefaultResponse | ClassifyDocumentLogicalResponse)

function isUnexpected(response: ClassifyDocument202Response | ClassifyDocumentDefaultResponse | ClassifyDocumentLogicalResponse): response

Parameters

Returns

response

isUnexpected(GetClassifyResult200Response | GetClassifyResultDefaultResponse)

function isUnexpected(response: GetClassifyResult200Response | GetClassifyResultDefaultResponse): response

Parameters

Returns

response

isUnexpected(AuthorizeClassifierCopy200Response | AuthorizeClassifierCopyDefaultResponse)

function isUnexpected(response: AuthorizeClassifierCopy200Response | AuthorizeClassifierCopyDefaultResponse): response

Parameters

Returns

response

isUnexpected(CopyClassifierTo202Response | CopyClassifierToDefaultResponse | CopyClassifierToLogicalResponse)

function isUnexpected(response: CopyClassifierTo202Response | CopyClassifierToDefaultResponse | CopyClassifierToLogicalResponse): response

Parameters

Returns

response

paginate<TResponse>(Client, TResponse, PagingOptions<TResponse>)

Helper to paginate results from an initial response that follows the specification of Autorest x-ms-pageable extension

function paginate<TResponse>(client: Client, initialResponse: TResponse, options?: PagingOptions<TResponse>): PagedAsyncIterableIterator<PaginateReturn<TResponse>>

Parameters

client
Client

Client to use for sending the next page requests

initialResponse

TResponse

Initial response containing the nextLink and current page of elements

options

PagingOptions<TResponse>

Returns

  • PagedAsyncIterableIterator to iterate the elements