Data Source: azurermNatGateway
Use this data source to access information about an existing NAT Gateway.
Argument Reference
The following arguments are supported:
-
name- Specifies the Name of the NAT Gateway. -
resourceGroupName- Specifies the name of the Resource Group where the NAT Gateway exists.
Attributes Reference
The following attributes are exported:
-
location- The location where the NAT Gateway exists. -
idleTimeoutInMinutes- The idle timeout in minutes which is used for the NAT Gateway. -
publicIpAddressIds- A list of existing Public IP Address resource IDs which the NAT Gateway is using. -
publicIpPrefixIds- A list of existing Public IP Prefix resource IDs which the NAT Gateway is using. -
resourceGuid- The Resource GUID of the NAT Gateway. -
skuName- The SKU used by the NAT Gateway. -
tags- A mapping of tags assigned to the resource. -
zones- A list of Availability Zones which the NAT Gateway exists in.
\~> NOTE: The field publicIpAddressIds has been deprecated in favour of azurermNatGatewayPublicIpAssociation.
Timeouts
The timeouts block allows you to specify timeouts for certain actions:
read- (Defaults to 5 minutes) Used when retrieving the NAT Gateway.