list

List NAT Gateway Rules

Usage

ionosctl natgateway rule list [flags]

Aliases

For natgateway command:

[nat ng]

For rule command:

[r]

For list command:

[l ls]

Description

Use this command to list NAT Gateway Rules from a specified NAT Gateway.

You can filter the results using --filters option. Use the following format to set filters: --filters KEY1=VALUE1,KEY2=VALUE2. Available Filters:

  • filter by property: [name type protocol sourceSubnet publicIp targetSubnet targetPortRange]

  • filter by metadata: [etag createdDate createdBy createdByUserId lastModifiedDate lastModifiedBy lastModifiedByUserId state]

Required values to run command:

  • Data Center Id

  • NAT Gateway Id

Options

Examples

Last updated