CallHttpOptions interface
Options object provided to callHttp() methods on orchestration contexts
Properties
| asynchronous |
|
| body | The HTTP request body. |
| enable |
Specifies whether to continue polling the request after receiving a 202 response.
This replaces |
| headers | The HTTP request headers. |
| method | The HTTP request method. |
| token |
The source of the OAuth token to add to the request. |
| url | The HTTP request URL. |
Property Details
asynchronousPatternEnabled
Warning
This API is now deprecated.
use enablePolling instead. If both are specified,
enablePolling takes precedence.
asynchronousPatternEnabled?: boolean
Property Value
boolean
body
The HTTP request body.
body?: string | object
Property Value
string | object
enablePolling
Specifies whether to continue polling the request after receiving a 202 response.
This replaces asynchronousPatternEnabled. If both are specified,
enablePolling takes precedence.
enablePolling?: boolean
Property Value
boolean
headers
The HTTP request headers.
headers?: {[key: string]: string}
Property Value
{[key: string]: string}
method
The HTTP request method.
method: string
Property Value
string
tokenSource
The source of the OAuth token to add to the request.
tokenSource?: ManagedIdentityTokenSource
Property Value
url
The HTTP request URL.
url: string
Property Value
string