日本熟妇hd丰满老熟妇,中文字幕一区二区三区在线不卡 ,亚洲成片在线观看,免费女同在线一区二区

ModifyForwardEntry - 修改指定的DNAT條目

調(diào)用ModifyForwardEntry接口修改指定的DNAT條目。

接口說(shuō)明

  • ModifyForwardEntry 接口屬于異步接口,即系統(tǒng)會(huì)先返回一個(gè)請(qǐng)求 ID,但 DNAT 條目并未修改完成,系統(tǒng)后臺(tái)的修改任務(wù)仍在進(jìn)行。您可以調(diào)用 DescribeForwardTableEntries 查詢 DNAT 條目的狀態(tài):

    • 當(dāng) DNAT 條目處于 Pending 狀態(tài)時(shí),表示 DNAT 條目正在修改中,在該狀態(tài)下,您只能執(zhí)行查詢操作,不能執(zhí)行其他操作。

    • 當(dāng) DNAT 條目處于 Available 狀態(tài)時(shí),表示 DNAT 條目修改完成。

  • ModifyForwardEntry 接口在同一個(gè) DNAT 條目下不支持并發(fā)修改指定的 DNAT 條目。

調(diào)試

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

授權(quán)信息

下表是API對(duì)應(yīng)的授權(quán)信息,可以在RAM權(quán)限策略語(yǔ)句的Action元素中使用,用來(lái)給RAM用戶或RAM角色授予調(diào)用此API的權(quán)限。具體說(shuō)明如下:

  • 操作:是指具體的權(quán)限點(diǎn)。
  • 訪問(wèn)級(jí)別:是指每個(gè)操作的訪問(wèn)級(jí)別,取值為寫(xiě)入(Write)、讀取(Read)或列出(List)。
  • 資源類型:是指操作中支持授權(quán)的資源類型。具體說(shuō)明如下:
    • 對(duì)于必選的資源類型,用背景高亮的方式表示。
    • 對(duì)于不支持資源級(jí)授權(quán)的操作,用全部資源表示。
  • 條件關(guān)鍵字:是指云產(chǎn)品自身定義的條件關(guān)鍵字。
  • 關(guān)聯(lián)操作:是指成功執(zhí)行操作所需要的其他權(quán)限。操作者必須同時(shí)具備關(guān)聯(lián)操作的權(quán)限,操作才能成功。
操作訪問(wèn)級(jí)別資源類型條件關(guān)鍵字關(guān)聯(lián)操作
vpc:ModifyForwardEntryupdate
  • ForwardTable
    acs:vpc:{#regionId}:{#accountId}:forwardtable/{#ForwardTableId}
    無(wú)
無(wú)

請(qǐng)求參數(shù)

名稱類型必填描述示例值
ForwardTableIdstring

DNAT 條目所屬的 DNAT 列表的 ID。

ftb-8vbx8xu2lqj9qb334****
ForwardEntryIdstring

要修改的 DNAT 條目的 ID。

fwd-8vbn3bc8roygjp0gy****
ExternalIpstring
  • 當(dāng)修改公網(wǎng) NAT 網(wǎng)關(guān)的 DNAT 條目時(shí),該參數(shù)為提供公網(wǎng)訪問(wèn)的公網(wǎng) IP 地址。

  • 當(dāng)修改 VPC NAT 網(wǎng)關(guān)的 DNAT 條目時(shí),該參數(shù)為供外部網(wǎng)絡(luò)訪問(wèn)的 NAT IP 地址。

116.85.XX.XX
ExternalPortstring
  • 當(dāng)修改公網(wǎng) NAT 網(wǎng)關(guān)的 DNAT 條目時(shí),該參數(shù)為 DNAT 條目中進(jìn)行端口轉(zhuǎn)發(fā)的外部端口或端口段。

    • 修改的端口范圍需要在 1~65535 之間。
    • 如果需要修改端口段,請(qǐng)?jiān)谳斎霑r(shí)以正斜線(/)隔開(kāi)起始端口,例如10/20
    • 如果需要同時(shí)修改 ExternalPortInternalPort,而且 ExternalPort 為端口段,則 InternalPort 也需要設(shè)置為端口段,且端口段的端口個(gè)數(shù)相同,例如 ExternalPort 設(shè)置為10/20InternalPort 設(shè)置為80/90
  • 當(dāng)修改 VPC NAT 網(wǎng)關(guān)的 DNAT 條目時(shí),該參數(shù)為被外部網(wǎng)絡(luò)訪問(wèn)的端口,取值范圍:1~65535

80
InternalIpstring
  • 當(dāng)修改公網(wǎng) NAT 網(wǎng)關(guān)的 DNAT 條目時(shí),該參數(shù)為通過(guò) DNAT 條目進(jìn)行公網(wǎng)通信的 ECS 實(shí)例的私網(wǎng) IP 地址。

  • 當(dāng)修改 VPC NAT 網(wǎng)關(guān)的 DNAT 條目時(shí),該參數(shù)為需要通過(guò) DNAT 規(guī)則進(jìn)行通信的私網(wǎng) IP 地址。

10.0.0.78
InternalPortstring
  • 當(dāng)修改公網(wǎng) NAT 網(wǎng)關(guān)的 DNAT 條目時(shí),該參數(shù)為 DNAT 條目中進(jìn)行端口轉(zhuǎn)發(fā)的內(nèi)部端口或端口段,取值范圍:1~65535

  • 當(dāng)修改 VPC NAT 網(wǎng)關(guān)的 DNAT 條目時(shí),該參數(shù)為需要映射的目標(biāo) ECS 實(shí)例端口,取值范圍:1~65535

80
IpProtocolstring

協(xié)議類型,取值:

  • TCP:轉(zhuǎn)發(fā) TCP 協(xié)議的報(bào)文。

  • UDP:轉(zhuǎn)發(fā) UDP 協(xié)議的報(bào)文。

  • Any:轉(zhuǎn)發(fā)所有協(xié)議的報(bào)文。

TCP
ForwardEntryNamestring

修改后的 DNAT 條目名稱。

長(zhǎng)度為 2~128 個(gè)字符,必須以字母或中文開(kāi)頭,但不能以http://https://開(kāi)頭。

test
RegionIdstring

NAT 網(wǎng)關(guān)所在的地域 ID。

您可以通過(guò)調(diào)用 DescribeRegions 接口獲取地域 ID。

cn-hangzhou
ClientTokenstring

客戶端 Token,用于保證請(qǐng)求的冪等性。

從您的客戶端生成一個(gè)參數(shù)值,確保不同請(qǐng)求間該參數(shù)值唯一。ClientToken 只支持 ASCII 字符。

說(shuō)明 若您未指定,則系統(tǒng)自動(dòng)使用 API 請(qǐng)求的 RequestId 作為 ClientToken 標(biāo)識(shí)。每次 API 請(qǐng)求的 RequestId 不一樣。
123e4567-e89b-12d3-a456-426655440000
PortBreakboolean

是否開(kāi)啟端口突破,取值:

  • true:開(kāi)啟端口突破。
  • false:不開(kāi)啟端口突破。當(dāng) DNAT 條目和 SNAT 條目使用同一個(gè)公網(wǎng) IP 地址時(shí),如果您需要配置大于1024的端口號(hào),您需要指定PortBreaktrue
false

返回參數(shù)

名稱類型描述示例值
object

請(qǐng)求 ID。

RequestIdstring

請(qǐng)求 ID。

2315DEB7-5E92-423A-91F7-4C1EC9AD97C3

示例

正常返回示例

JSON格式

{
  "RequestId": "2315DEB7-5E92-423A-91F7-4C1EC9AD97C3"
}

錯(cuò)誤碼

HTTP status code錯(cuò)誤碼錯(cuò)誤信息描述
400UnsupportedFeature.PortSegmentThe feature of PortSegment is not supported.-
400ExclusiveParam.%sAnd%sThe param of %s and %s are mutually exclusive.參數(shù) %s 和 %s 相互排斥。
400InvalidIp.NotInNatgwThe specified Ip not belong to natgateway.該 IP 地址不屬于該 NAT 網(wǎng)關(guān)。
400DuplicatedParam.InternalPortThe param of %s is duplicated.%s的參數(shù)重復(fù)。
400DuplicatedParam.ExternalPortThe param of %s is duplicated.%s的參數(shù)重復(fù)。
400OperationFailed.AnyPortConfigOperation failed because any port correspondence any protocol操作失敗,因?yàn)槿魏味丝趯?duì)應(yīng)任何協(xié)議
400OperationUnsupported.ForwardEntryDuplicated destination ip port is unsupported.不支持重復(fù)的目標(biāo)IP端口。
400IncorrectStatus.NatIpThe status of %s [%s] is incorrect.NatIp當(dāng)前狀態(tài)不正確。
400Forbidden.IpHasBeenUsedInSnatThe source ip can't be used. Because it has been used in snat.-
400IncorrectStatus.ForwardEntryThe status of %s [%s] is incorrect.要?jiǎng)h除的DNAT條目實(shí)例狀態(tài)不對(duì)
400InvalidExternalIp.MalformedThe specified ExternalIp is not a valid IP address.該公網(wǎng)IP不合法。
400InvalidInternalIp.MalformedThe specified InternalIp is not a valid IP address.該目標(biāo)私網(wǎng)IP不合法。
400InvalidExternalPort.MalformedThe specified ExternalPort is not a valid port.該公網(wǎng)端口不合法。
400InvalidInternalPort.MalformedThe specified InternalPort is not a valid port.該私網(wǎng)端口不合法。
400Forbidden.DestnationIpOutOfVpcCIDRThe specified Destination Ip is Out of VPC CIDR.該私網(wǎng)IP不在VPC的網(wǎng)段范圍內(nèi),請(qǐng)您填寫(xiě)在VPC的網(wǎng)段范圍內(nèi)的私網(wǎng)IP。
400Forbidden.DestinationIpOutOfVswitchCIDRThe specified Internal Ip is Out of VSwitch CIDR.-
400InvalidProtocal.ValueNotSupportedThe specified IpProtocol does not support.該協(xié)議類型不支持。
400IncorretForwardEntryStatusSome Forward entry status blocked this operation..無(wú)法執(zhí)行該操作。DNAT表中有DNAT條目的狀態(tài)處于Pending或Modifying狀態(tài)。
400QuotaExceededForward entry quota exceeded in this route table.同一個(gè)路由表中自定義路由條目不能超過(guò)200條,可以在配額管理頁(yè)面申請(qǐng)調(diào)整數(shù)量。
400ForwardEntry.DuplicatedThe specified ExternalIp, IpProtocol, ExternalPort,InternalIp, InternalPort is duplicated-
400Forbidden.ExternalIp.UsedInSnatTableThe specified ExternalIp is already used in SnatTable該公網(wǎng)IP已經(jīng)被SNAT使用,請(qǐng)更換其他公網(wǎng)IP或?qū)?dāng)前公網(wǎng)IP的SNAT規(guī)則刪除。
400Forbidden.Already.BoundedThe specified instance already bounded實(shí)例已經(jīng)被綁定,請(qǐng)不要重復(fù)綁定。
400InvalidIp.NotFoundThe specified ip does not exist.-
400InvalidParameter.Name.MalformedThe specified Name is not valid.該名稱不合法,請(qǐng)您按照正確的格式書(shū)寫(xiě)名稱。
400IncorretForwardEntryStatusThe Specified forwardEntry is not stable status, can not operation-
400IncorretStatus.ForwardEntryThe Specified forwardEntry is not stable status, can not operation-
400IllegalParam.AnyPortNotZeroAny port port must be zero.參數(shù)非法,DNAT轉(zhuǎn)發(fā)協(xié)議為Any時(shí),源端口和目標(biāo)端口必須為0
400Duplicated.DestinationPortThe specified param DestinationPort is duplicated.-
400InvalidForwardEntryId.NotFoundSpecified forward entry ID does not exist該DNAT條目不存在。
400OperationUnsupported.EipInBindingCreate snat entry with eip in associating status is unsupported.創(chuàng)建snat不可以使用綁定中的eip
400QuotaExceeded.ForwardEntrySessionManytoOneThe dnat session quota is exceed.dnat session 多對(duì)一的配額超限。
404ResourceNotFound.NatIpThe specified resource of %s is not found.NatIp資源找不到。
404ResourceNotFound.ForwardEntryThe specified resource of %s is not found.找不到指定的%s資源。
404InvalidRegionId.NotFoundThe specified RegionId does not exist in our records.指定的RegionId不存在。
404InvalidExternalIp.NotFoundSpecified External Ip address does not found on the VRouter該公網(wǎng)IP不存在。
404InvalidForwardTableId.NotFoundSpecified forward table does not exist.指定的 DNAT 表不存在,請(qǐng)您檢查輸入?yún)?shù)是否正確。

訪問(wèn)錯(cuò)誤中心查看更多錯(cuò)誤碼。

變更歷史

變更時(shí)間變更內(nèi)容概要操作
2023-03-01OpenAPI 錯(cuò)誤碼發(fā)生變更查看變更詳情