ionoscloud_natgateway_rule
Get information on a Nat Gateway Rule
The NAT Gateway Rule data source can be used to search for and return existing NAT Gateway Rules. If a single match is found, it will be returned. If your search results in multiple matches, an error will be returned. When this happens, please refine your search string so that it is specific enough to return only one result.
Argument Reference
datacenter_id - (Required) Datacenter's UUID.
natgateway_id - (Required) Nat Gateway's UUID.
Both datacenter_id and natgateway_id and either name or id must be provided. If none, or both of name and id are provided, the datasource will return an error.
Attributes Reference
The following attributes are returned by the datasource:
id - Id of the NAT gateway rule
name - Name of the NAT gateway rule