Skip to content

Latest commit

 

History

History
93 lines (59 loc) · 3.32 KB

EdgeGatewayNatRuleApi.md

File metadata and controls

93 lines (59 loc) · 3.32 KB

\EdgeGatewayNatRuleApi

All URIs are relative to https://localhost/cloudapi

Method HTTP request Description
DeleteNatRule Delete /1.0.0/edgeGateways/{gatewayId}/nat/rules/{ruleId} Deletes a specific NAT Rule configuration of the edge gateway based on the rule id passed in.
GetNatRule Get /1.0.0/edgeGateways/{gatewayId}/nat/rules/{ruleId} Retrieves a specific NAT Rule configuration of the edge gateway based on the rule id passed in.
UpdateNatRule Put /1.0.0/edgeGateways/{gatewayId}/nat/rules/{ruleId} Update a specific NAT Rule configuration of the edge gateway based on the rule id passed in.

DeleteNatRule

DeleteNatRule(ctx, gatewayId, ruleId) Deletes a specific NAT Rule configuration of the edge gateway based on the rule id passed in.

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
gatewayId string
ruleId string

Return type

(empty response body)

Authorization

ApiKeyAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: /;version=36.0

[Back to top] [Back to API list] [Back to Model list] [Back to README]

GetNatRule

EdgeNatRule GetNatRule(ctx, gatewayId, ruleId) Retrieves a specific NAT Rule configuration of the edge gateway based on the rule id passed in.

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
gatewayId string
ruleId string

Return type

EdgeNatRule

Authorization

ApiKeyAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json;version=36.0

[Back to top] [Back to API list] [Back to Model list] [Back to README]

UpdateNatRule

UpdateNatRule(ctx, edgeNatRule, gatewayId, ruleId) Update a specific NAT Rule configuration of the edge gateway based on the rule id passed in.

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
edgeNatRule EdgeNatRule
gatewayId string
ruleId string

Return type

(empty response body)

Authorization

ApiKeyAuth

HTTP request headers

  • Content-Type: application/json
  • Accept: /;version=36.0

[Back to top] [Back to API list] [Back to Model list] [Back to README]