調(diào)用FindUserGatewayById根據(jù)網(wǎng)關(guān)ID獲取網(wǎng)關(guān)詳細(xì)信息。

調(diào)試

您可以在OpenAPI Explorer中直接運(yùn)行該接口,免去您計算簽名的困擾。運(yùn)行成功后,OpenAPI Explorer可以自動生成SDK代碼示例。

請求參數(shù)

名稱 類型 是否必選 示例值 描述
Action String FindUserGatewayById

系統(tǒng)規(guī)定參數(shù)。取值:FindUserGatewayById。

GatewayId String dg-yhss6sdlaff****

網(wǎng)關(guān)ID

返回數(shù)據(jù)

名稱 類型 示例值 描述
Code String 200

響應(yīng)碼

Data String {\“gatewayDesc\”:\ “阿里數(shù)據(jù)庫網(wǎng)關(guān)\”,\“gatewayId\”:\“dg-c34g913zl54f7h7z\”,\“gatewayName\”:\“生產(chǎn)環(huán)境\”,\“gmtCreate\”:1563430627000,\“gmtCreateString\”:\“2019-07-18 14:17\”,\“gmtModified\”:1568881049000,\“gmtModifiedString\”:\“2019-09-19 16:17\”,\“hosts\":\"10.25.37.78\”,\“parentId\”:\“123123\”,\“status\”:\“RUNNING\”,\“userId\”:\“123123\”,\“regionId\”:\“cn-hangzhou\”}

網(wǎng)關(guān)詳細(xì)信息

ErrorMsg String ""

錯誤信息

RequestId String 31728E14-8164-49C3-928B-044E93B8A11E

請求ID

Success Boolean true

成功標(biāo)識

示例

請求示例

http(s)://[Endpoint]/?Action=FindUserGatewayById
&GatewayId=dg-yhss6sdlaff****
&<公共請求參數(shù)>

正常返回示例

XML格式

<RequestId>31728E14-8164-49C3-928B-044E93B8A11E</RequestId>
<ErrorMsg>""</ErrorMsg>
<Data>{\“gatewayDesc\”:\ “阿里數(shù)據(jù)庫網(wǎng)關(guān)\”,\“gatewayId\”:\“dg-c34g913zl54f7h7z\”,\“gatewayName\”:\“生產(chǎn)環(huán)境\”,\“gmtCreate\”:1563430627000,\“gmtCreateString\”:\“2019-07-18 14:17\”,\“gmtModified\”:1568881049000,\“gmtModifiedString\”:\“2019-09-19 16:17\”,\“hosts\":\"10.25.37.78\”,\“parentId\”:\“123123\”,\“status\”:\“RUNNING\”,\“userId\”:\“123123\”,\“regionId\”:\“cn-hangzhou\”} </Data>
<Code>200</Code>
<Success>true</Success>

JSON格式

{"RequestId":"31728E14-8164-49C3-928B-044E93B8A11E","ErrorMsg":"\"\"","Data":"{\\“gatewayDesc\\”:\\ “阿里數(shù)據(jù)庫網(wǎng)關(guān)\\”,\\“gatewayId\\”:\\“dg-c34g913zl54f7h7z\\”,\\“gatewayName\\”:\\“生產(chǎn)環(huán)境\\”,\\“gmtCreate\\”:1563430627000,\\“gmtCreateString\\”:\\“2019-07-18 14:17\\”,\\“gmtModified\\”:1568881049000,\\“gmtModifiedString\\”:\\“2019-09-19 16:17\\”,\\“hosts\\\":\\\"10.25.37.78\\”,\\“parentId\\”:\\“123123\\”,\\“status\\”:\\“RUNNING\\”,\\“userId\\”:\\“123123\\”,\\“regionId\\”:\\“cn-hangzhou\\”} ","Code":"200","Success":"true"}

錯誤碼

訪問錯誤中心查看更多錯誤碼。