NAT Gateway rules

This is a simple module that supports listing NAT Gateway Rules.

Example Syntax


name: List NAT Gateway Rules
ionoscloudsdk.ionoscloud.nat_gateway_rule_info:
  datacenter: ''
  nat_gateway: ''
register: nat_gateway_rule_list_response

For more examples please check out the tests here.

Available parameters:

NameRequiredDescription

datacenter str

True

The ID or name of the datacenter.

nat_gateway str

True

The ID or name of the NAT Gateway.

depth int

False

The depth used when retrieving the items. Default: 1

filters dict

False

Filter that can be used to list only objects which have a certain set of propeties. Filters should be a dict with a key containing keys and value pair in the following format: 'properties.name': 'server_name'

api_url str

False

The Ionos API base URL.

certificate_fingerprint str

False

The Ionos API certificate fingerprint.

username str

False

The Ionos username. Overrides the IONOS_USERNAME environment variable.

password str

False

The Ionos password. Overrides the IONOS_PASSWORD environment variable.

token str

False

The Ionos token. Overrides the IONOS_TOKEN environment variable.

Last updated