Private Network(UVPC)

Obtain the resource list that can add snat rules (exit rules) - GetAvailableResourceForSnatRule


Get the list of resources available for adding snat rules (exit rules)


Public Parameters

Parameter NameTypeDescription InformationRequired
ActionstringCorresponding API command name, the current API is GetAvailableResourceForSnatRule.Yes
PublicKeystringThe user's public key can be obtained from Console (opens in a new tab)Yes
SignaturestringUser signature generated based on public key and API command, see Signature AlgorithmYes

Request Parameters

Parameter NameTypeDescription InformationRequired
RegionstringRegion. See List of Regions and Availability ZonesYes
ProjectIdstringProject ID. If not filled in, the default project is used, sub-accounts must be filled in. Please refer to the GetProjectList interface.Yes
NATGWIdstringNAT Gateway IdYes
OffsetintData offset, default is 0No
LimitintData pagination value, default is 20No

Response Field

Field NameTypeDescription InformationRequired
RetCodeintReturn status code. If it is 0, it means successful return. If it is not 0, it means failure.Yes
ActionstringOperation command name.Yes
MessagestringReturns an error message, providing detailed description when RetCode is non-zero.No
DataSetarray[GetAvailableResourceForSnatRuleDataSet]Details of the returned resourcesYes

Data Model


Field NameTypeDescription InformationRequired
ResourceIdstringResource IDNo
ResourceNamestringResource NameNo
PrivateIPstringIntranet IP of the ResourceNo
ResourceTypestringResource TypeNo
SubnetworkIdstringID of the resource's VPCNo
VPCIdstringID of the subnet to which the resource belongsNo


Request Example

Response Example

  "Action": "GetAvailableResourceForSnatRuleResponse",
  "DataSet": [
      "PrivateIP": "uHuoyYFI",
      "ResourceId": "qXdXUnTs",
      "ResourceName": "TseFpSYi",
      "ResourceType": "uOcvcHeb",
      "SubnetworkId": "dmBHMzcz",
      "VPCId": "pzVhVEUB"
      "PrivateIP": "kxPAXSCn",
      "ResourceId": "JqMVhUhu",
      "ResourceName": "qoyOPJia",
      "ResourceType": "VqTetHsQ",
      "SubnetworkId": "BkrGxoip",
      "VPCId": "zBHWnLVr"
      "PrivateIP": "LVnKUGoN",
      "ResourceId": "XRrQUIbo",
      "ResourceName": "NSJCiYYr",
      "ResourceType": "CyXwCcqN",
      "SubnetworkId": "ZbsfHYSG",
      "VPCId": "eWCSjACm"
      "PrivateIP": "laqANTXC",
      "ResourceId": "dwdCkTls",
      "ResourceName": "TckJOsbL",
      "ResourceType": "fiZizgtR",
      "SubnetworkId": "GRpEqNJs",
      "VPCId": "kVEJGGak"
      "PrivateIP": "zmlVqWEt",
      "ResourceId": "KRkaFsvA",
      "ResourceName": "TdbSIpnW",
      "ResourceType": "DpNUxHHD",
      "SubnetworkId": "csUhLeYX",
      "VPCId": "dIvkrHDA"
      "PrivateIP": "YLAmlLKq",
      "ResourceId": "NdiwmcLU",
      "ResourceName": "fjzxuLRW",
      "ResourceType": "rxJeUYnO",
      "SubnetworkId": "nGnpcIsX",
      "VPCId": "EfWodcJo"
      "PrivateIP": "RGaCxTVB",
      "ResourceId": "cVcquAJG",
      "ResourceName": "dBMRGKCo",
      "ResourceType": "UMzQqjRh",
      "SubnetworkId": "llqWelBB",
      "VPCId": "nWKYxJzx"
  "RetCode": 0,
  "TotalCount": 2
  • Company
  • ContactUs
  • Blog
Copyright © 2024 SurferCloud All Rights Reserved
  • Contact our sales to help your business.
  • Contact our sales to help your business.