GetNatGateway
Use this data source to access information about an existing NAT Gateway.
Using GetNatGateway
function getNatGateway(args: GetNatGatewayArgs, opts?: InvokeOptions): Promise<GetNatGatewayResult>function get_nat_gateway(name=None, public_ip_address_ids=None, public_ip_prefix_ids=None, resource_group_name=None, opts=None)func LookupNatGateway(ctx *Context, args *LookupNatGatewayArgs, opts ...InvokeOption) (*LookupNatGatewayResult, error)Note: This function is named
LookupNatGatewayin the Go SDK.
public static class GetNatGateway {
public static Task<GetNatGatewayResult> InvokeAsync(GetNatGatewayArgs args, InvokeOptions? opts = null)
}The following arguments are supported:
- Name string
Specifies the Name of the NAT Gateway.
- Resource
Group stringName Specifies the name of the Resource Group where the NAT Gateway exists.
- Public
Ip List<string>Address Ids A list of existing Public IP Address resource IDs which the NAT Gateway is using.
- Public
Ip List<string>Prefix Ids A list of existing Public IP Prefix resource IDs which the NAT Gateway is using.
- Name string
Specifies the Name of the NAT Gateway.
- Resource
Group stringName Specifies the name of the Resource Group where the NAT Gateway exists.
- Public
Ip []stringAddress Ids A list of existing Public IP Address resource IDs which the NAT Gateway is using.
- Public
Ip []stringPrefix Ids A list of existing Public IP Prefix resource IDs which the NAT Gateway is using.
- name string
Specifies the Name of the NAT Gateway.
- resource
Group stringName Specifies the name of the Resource Group where the NAT Gateway exists.
- public
Ip string[]Address Ids A list of existing Public IP Address resource IDs which the NAT Gateway is using.
- public
Ip string[]Prefix Ids A list of existing Public IP Prefix resource IDs which the NAT Gateway is using.
- name str
Specifies the Name of the NAT Gateway.
- resource_
group_ strname Specifies the name of the Resource Group where the NAT Gateway exists.
- public_
ip_ List[str]address_ ids A list of existing Public IP Address resource IDs which the NAT Gateway is using.
- public_
ip_ List[str]prefix_ ids A list of existing Public IP Prefix resource IDs which the NAT Gateway is using.
GetNatGateway Result
The following output properties are available:
- Id string
The provider-assigned unique ID for this managed resource.
- Idle
Timeout intIn Minutes The idle timeout in minutes which is used for the NAT Gateway.
- Location string
The location where the NAT Gateway exists.
- Name string
- Public
Ip List<string>Address Ids A list of existing Public IP Address resource IDs which the NAT Gateway is using.
- Public
Ip List<string>Prefix Ids A list of existing Public IP Prefix resource IDs which the NAT Gateway is using.
- Resource
Group stringName - Resource
Guid string The Resource GUID of the NAT Gateway.
- Sku
Name string The SKU used by the NAT Gateway.
- Dictionary<string, string>
A mapping of tags assigned to the resource.
- Zones List<string>
A list of Availability Zones which the NAT Gateway exists in.
- Id string
The provider-assigned unique ID for this managed resource.
- Idle
Timeout intIn Minutes The idle timeout in minutes which is used for the NAT Gateway.
- Location string
The location where the NAT Gateway exists.
- Name string
- Public
Ip []stringAddress Ids A list of existing Public IP Address resource IDs which the NAT Gateway is using.
- Public
Ip []stringPrefix Ids A list of existing Public IP Prefix resource IDs which the NAT Gateway is using.
- Resource
Group stringName - Resource
Guid string The Resource GUID of the NAT Gateway.
- Sku
Name string The SKU used by the NAT Gateway.
- map[string]string
A mapping of tags assigned to the resource.
- Zones []string
A list of Availability Zones which the NAT Gateway exists in.
- id string
The provider-assigned unique ID for this managed resource.
- idle
Timeout numberIn Minutes The idle timeout in minutes which is used for the NAT Gateway.
- location string
The location where the NAT Gateway exists.
- name string
- public
Ip string[]Address Ids A list of existing Public IP Address resource IDs which the NAT Gateway is using.
- public
Ip string[]Prefix Ids A list of existing Public IP Prefix resource IDs which the NAT Gateway is using.
- resource
Group stringName - resource
Guid string The Resource GUID of the NAT Gateway.
- sku
Name string The SKU used by the NAT Gateway.
- {[key: string]: string}
A mapping of tags assigned to the resource.
- zones string[]
A list of Availability Zones which the NAT Gateway exists in.
- id str
The provider-assigned unique ID for this managed resource.
- idle_
timeout_ floatin_ minutes The idle timeout in minutes which is used for the NAT Gateway.
- location str
The location where the NAT Gateway exists.
- name str
- public_
ip_ List[str]address_ ids A list of existing Public IP Address resource IDs which the NAT Gateway is using.
- public_
ip_ List[str]prefix_ ids A list of existing Public IP Prefix resource IDs which the NAT Gateway is using.
- resource_
group_ strname - resource_
guid str The Resource GUID of the NAT Gateway.
- sku_
name str The SKU used by the NAT Gateway.
- Dict[str, str]
A mapping of tags assigned to the resource.
- zones List[str]
A list of Availability Zones which the NAT Gateway exists in.
Package Details
- Repository
- https://github.com/pulumi/pulumi-azure
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
azurermTerraform Provider.