RestSourceArgs

data class RestSourceArgs(val additionalColumns: Output<Any>? = null, val additionalHeaders: Output<Any>? = null, val disableMetricsCollection: Output<Any>? = null, val httpRequestTimeout: Output<Any>? = null, val maxConcurrentConnections: Output<Any>? = null, val paginationRules: Output<Any>? = null, val requestBody: Output<Any>? = null, val requestInterval: Output<Any>? = null, val requestMethod: Output<Any>? = null, val sourceRetryCount: Output<Any>? = null, val sourceRetryWait: Output<Any>? = null, val type: Output<String>) : ConvertibleToJava<RestSourceArgs>

A copy activity Rest service source.

Constructors

Link copied to clipboard
constructor(additionalColumns: Output<Any>? = null, additionalHeaders: Output<Any>? = null, disableMetricsCollection: Output<Any>? = null, httpRequestTimeout: Output<Any>? = null, maxConcurrentConnections: Output<Any>? = null, paginationRules: Output<Any>? = null, requestBody: Output<Any>? = null, requestInterval: Output<Any>? = null, requestMethod: Output<Any>? = null, sourceRetryCount: Output<Any>? = null, sourceRetryWait: Output<Any>? = null, type: Output<String>)

Properties

Link copied to clipboard
val additionalColumns: Output<Any>? = null

Specifies the additional columns to be added to source data. Type: key value pairs (value should be string type).

Link copied to clipboard
val additionalHeaders: Output<Any>? = null

The additional HTTP headers in the request to the RESTful API. Type: string (or Expression with resultType string).

Link copied to clipboard
val disableMetricsCollection: Output<Any>? = null

If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean).

Link copied to clipboard
val httpRequestTimeout: Output<Any>? = null

The timeout (TimeSpan) to get an HTTP response. It is the timeout to get a response, not the timeout to read response data. Default value: 00:01:40. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|(0-9)):(60|(0-9)).

Link copied to clipboard
val maxConcurrentConnections: Output<Any>? = null

The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer).

Link copied to clipboard
val paginationRules: Output<Any>? = null

The pagination rules to compose next page requests. Type: string (or Expression with resultType string).

Link copied to clipboard
val requestBody: Output<Any>? = null

The HTTP request body to the RESTful API if requestMethod is POST. Type: string (or Expression with resultType string).

Link copied to clipboard
val requestInterval: Output<Any>? = null

The time to await before sending next page request.

Link copied to clipboard
val requestMethod: Output<Any>? = null

The HTTP method used to call the RESTful API. The default is GET. Type: string (or Expression with resultType string).

Link copied to clipboard
val sourceRetryCount: Output<Any>? = null

Source retry count. Type: integer (or Expression with resultType integer).

Link copied to clipboard
val sourceRetryWait: Output<Any>? = null

Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|(0-9)):(60|(0-9)).

Link copied to clipboard
val type: Output<String>

Copy source type. Expected value is 'RestSource'.

Functions

Link copied to clipboard
open override fun toJava(): RestSourceArgs