調(diào)用該接口提交網(wǎng)關(guān)密鑰的申請(qǐng)工單。
調(diào)試
您可以在OpenAPI Explorer中直接運(yùn)行該接口,免去您計(jì)算簽名的困擾。運(yùn)行成功后,OpenAPI Explorer可以自動(dòng)生成SDK代碼示例。
請(qǐng)求參數(shù)
名稱 | 類型 | 是否必選 | 示例值 | 描述 |
---|---|---|---|---|
Action | String | 是 | SubmitGatewayTupleOrder |
系統(tǒng)規(guī)定參數(shù)。取值:SubmitGatewayTupleOrder。 |
RequiredCount | Long | 是 | 2 |
要申請(qǐng)的網(wǎng)關(guān)安全密鑰的數(shù)量。 |
TupleType | String | 是 | noncontractual |
網(wǎng)關(guān)密鑰類型。
|
返回?cái)?shù)據(jù)
名稱 | 類型 | 示例值 | 描述 |
---|---|---|---|
Data | String | 12345 |
工單ID。 |
RequestId | String | 89EF6CAA-958F-F32C-BE45-FE003C6DE097 |
請(qǐng)求ID,阿里云為該請(qǐng)求生成的唯一標(biāo)識(shí)符。 |
Success | Boolean | true |
是否調(diào)用成功。
|
示例
請(qǐng)求示例
http(s)://linkwan.cn-shanghai.aliyuncs.com/?Action=SubmitGatewayTupleOrder
&RequiredCount=2
&TupleType=noncontractual
&公共請(qǐng)求參數(shù)
正常返回示例
XML
格式
HTTP/1.1 200 OK
Content-Type:application/xml
<SubmitGatewayTupleOrderResponse>
<Data>12345</Data>
<RequestId>89EF6CAA-958F-F32C-BE45-FE003C6DE097</RequestId>
<Success>true</Success>
</SubmitGatewayTupleOrderResponse>
JSON
格式
HTTP/1.1 200 OK
Content-Type:application/json
{
"Data" : "12345",
"RequestId" : "89EF6CAA-958F-F32C-BE45-FE003C6DE097",
"Success" : true
}
錯(cuò)誤碼
HttpCode | 錯(cuò)誤碼 | 錯(cuò)誤信息 | 描述 |
---|---|---|---|
400 | ForbiddenByRam | User not authorized to operate on the specified resource, or this API does not support RAM. | 用戶沒有執(zhí)行該操作所需要的RAM權(quán)限。 |
400 | ForbiddenByRiskControl | This operation cannot be performed because of security risks. | 存在安全風(fēng)險(xiǎn),無(wú)法執(zhí)行該操作 |
400 | InternalError | The request processing has failed due to some unknown error, exception or failure. | 內(nèi)部錯(cuò)誤。 |
400 | CloudProductNotActivated | The Link WAN service has not been activated. | 未開通 Link WAN 云產(chǎn)品 |
400 | FeatureNotActivated | The feature has not been activated. | 功能未開通 |
400 | ExceedGatewayTupleLimit | The maximum number of gateway tuples is exceeded. | 超出網(wǎng)關(guān)元組限額 |
訪問錯(cuò)誤中心查看更多錯(cuò)誤碼。