RestSource interface
複製活動 Rest 服務來源。
- Extends
屬性
additional |
指定要加入源數據的其他資料行。 類型:索引鍵值組(值應該是字串類型)。 |
additional |
要求中對 RESTful API 的其他 HTTP 標頭。 Type:string (或 expression with resultType string) 。 |
http |
要取得 HTTP 回應的逾時 (TimeSpan)。 這是取得回應的逾時,而不是讀取響應數據的逾時。 默認值:00:01:40。 類型:string (或 expression with resultType string), pattern: (\d+)?(\d\d):(60|([0-5][0-9]):(60|([0-5][0-9])). |
pagination |
撰寫下一頁要求的分頁規則。 Type:string (或 expression with resultType string) 。 |
request |
如果 requestMethod 為 POST,則為 RESTful API 的 HTTP 要求本文。 Type:string (或 expression with resultType string) 。 |
request |
傳送下一個頁面要求之前等候的時間。 |
request |
用來呼叫 RESTful API 的 HTTP 方法。 預設值為 GET。 Type:string (或 expression with resultType string) 。 |
type | 多型歧視性,指定這個物件可以是的不同類型 |
繼承的屬性
disable |
如果為 true,請停用數據存放區計量集合。 默認值為 false。 類型:布爾值(或 expression 含 resultType 布爾值的表達式)。 |
max |
源數據存放區的最大並行連接計數。 類型:integer (或 expression with resultType integer) 。 |
source |
來源重試計數。 類型:integer (或 expression with resultType integer) 。 |
source |
來源重試等候。 類型:string (或 expression with resultType string), pattern: (\d+)?(\d\d):(60|([0-5][0-9]):(60|([0-5][0-9])). |
屬性詳細資料
additionalColumns
指定要加入源數據的其他資料行。 類型:索引鍵值組(值應該是字串類型)。
additionalColumns?: any
屬性值
any
additionalHeaders
要求中對 RESTful API 的其他 HTTP 標頭。 Type:string (或 expression with resultType string) 。
additionalHeaders?: any
屬性值
any
httpRequestTimeout
要取得 HTTP 回應的逾時 (TimeSpan)。 這是取得回應的逾時,而不是讀取響應數據的逾時。 默認值:00:01:40。 類型:string (或 expression with resultType string), pattern: (\d+)?(\d\d):(60|([0-5][0-9]):(60|([0-5][0-9])).
httpRequestTimeout?: any
屬性值
any
paginationRules
撰寫下一頁要求的分頁規則。 Type:string (或 expression with resultType string) 。
paginationRules?: any
屬性值
any
requestBody
如果 requestMethod 為 POST,則為 RESTful API 的 HTTP 要求本文。 Type:string (或 expression with resultType string) 。
requestBody?: any
屬性值
any
requestInterval
傳送下一個頁面要求之前等候的時間。
requestInterval?: any
屬性值
any
requestMethod
用來呼叫 RESTful API 的 HTTP 方法。 預設值為 GET。 Type:string (或 expression with resultType string) 。
requestMethod?: any
屬性值
any
type
多型歧視性,指定這個物件可以是的不同類型
type: "RestSource"
屬性值
"RestSource"
繼承的屬性詳細資料
disableMetricsCollection
如果為 true,請停用數據存放區計量集合。 默認值為 false。 類型:布爾值(或 expression 含 resultType 布爾值的表達式)。
disableMetricsCollection?: any
屬性值
any
maxConcurrentConnections
源數據存放區的最大並行連接計數。 類型:integer (或 expression with resultType integer) 。
maxConcurrentConnections?: any
屬性值
any
sourceRetryCount
來源重試計數。 類型:integer (或 expression with resultType integer) 。
sourceRetryCount?: any
屬性值
any
sourceRetryWait
來源重試等候。 類型:string (或 expression with resultType string), pattern: (\d+)?(\d\d):(60|([0-5][0-9]):(60|([0-5][0-9])).
sourceRetryWait?: any
屬性值
any