This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.13.0 published on Wednesday, Jan 28, 2026 by Pulumi
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.13.0 published on Wednesday, Jan 28, 2026 by Pulumi
The operation to get a natGateway.
Uses Azure REST API version 2025-09-01-preview.
Using getNatGateway
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getNatGateway(args: GetNatGatewayArgs, opts?: InvokeOptions): Promise<GetNatGatewayResult>
function getNatGatewayOutput(args: GetNatGatewayOutputArgs, opts?: InvokeOptions): Output<GetNatGatewayResult>def get_nat_gateway(nat_gateway_name: Optional[str] = None,
resource_group_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetNatGatewayResult
def get_nat_gateway_output(nat_gateway_name: Optional[pulumi.Input[str]] = None,
resource_group_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetNatGatewayResult]func LookupNatGateway(ctx *Context, args *LookupNatGatewayArgs, opts ...InvokeOption) (*LookupNatGatewayResult, error)
func LookupNatGatewayOutput(ctx *Context, args *LookupNatGatewayOutputArgs, opts ...InvokeOption) LookupNatGatewayResultOutput> Note: This function is named LookupNatGateway in the Go SDK.
public static class GetNatGateway
{
public static Task<GetNatGatewayResult> InvokeAsync(GetNatGatewayArgs args, InvokeOptions? opts = null)
public static Output<GetNatGatewayResult> Invoke(GetNatGatewayInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetNatGatewayResult> getNatGateway(GetNatGatewayArgs args, InvokeOptions options)
public static Output<GetNatGatewayResult> getNatGateway(GetNatGatewayArgs args, InvokeOptions options)
fn::invoke:
function: azure-native:azurestackhci:getNatGateway
arguments:
# arguments dictionaryThe following arguments are supported:
- Nat
Gateway stringName - Name of the nat gateway
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Nat
Gateway stringName - Name of the nat gateway
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- nat
Gateway StringName - Name of the nat gateway
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- nat
Gateway stringName - Name of the nat gateway
- resource
Group stringName - The name of the resource group. The name is case insensitive.
- nat_
gateway_ strname - Name of the nat gateway
- resource_
group_ strname - The name of the resource group. The name is case insensitive.
- nat
Gateway StringName - Name of the nat gateway
- resource
Group StringName - The name of the resource group. The name is case insensitive.
getNatGateway Result
The following output properties are available:
- Azure
Api stringVersion - The Azure API version of the resource.
- Id string
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- Location string
- The geo-location where the resource lives
- Name string
- The name of the resource
- Properties
Pulumi.
Azure Native. Azure Stack HCI. Outputs. Nat Gateway Properties Response - The resource-specific properties for this resource.
- System
Data Pulumi.Azure Native. Azure Stack HCI. Outputs. System Data Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Extended
Location Pulumi.Azure Native. Azure Stack HCI. Outputs. Extended Location Response - The extendedLocation of the resource.
- Dictionary<string, string>
- Resource tags.
- Azure
Api stringVersion - The Azure API version of the resource.
- Id string
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- Location string
- The geo-location where the resource lives
- Name string
- The name of the resource
- Properties
Nat
Gateway Properties Response - The resource-specific properties for this resource.
- System
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Extended
Location ExtendedLocation Response - The extendedLocation of the resource.
- map[string]string
- Resource tags.
- azure
Api StringVersion - The Azure API version of the resource.
- id String
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- location String
- The geo-location where the resource lives
- name String
- The name of the resource
- properties
Nat
Gateway Properties Response - The resource-specific properties for this resource.
- system
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- extended
Location ExtendedLocation Response - The extendedLocation of the resource.
- Map<String,String>
- Resource tags.
- azure
Api stringVersion - The Azure API version of the resource.
- id string
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- location string
- The geo-location where the resource lives
- name string
- The name of the resource
- properties
Nat
Gateway Properties Response - The resource-specific properties for this resource.
- system
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- extended
Location ExtendedLocation Response - The extendedLocation of the resource.
- {[key: string]: string}
- Resource tags.
- azure_
api_ strversion - The Azure API version of the resource.
- id str
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- location str
- The geo-location where the resource lives
- name str
- The name of the resource
- properties
Nat
Gateway Properties Response - The resource-specific properties for this resource.
- system_
data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type str
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- extended_
location ExtendedLocation Response - The extendedLocation of the resource.
- Mapping[str, str]
- Resource tags.
- azure
Api StringVersion - The Azure API version of the resource.
- id String
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- location String
- The geo-location where the resource lives
- name String
- The name of the resource
- properties Property Map
- The resource-specific properties for this resource.
- system
Data Property Map - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- extended
Location Property Map - The extendedLocation of the resource.
- Map<String>
- Resource tags.
Supporting Types
ExtendedLocationResponse
IPConfigurationArmReferenceResponse
- Resource
Id string - The Azure Resource ID of an IPConfiguration resource
- Resource
Id string - The Azure Resource ID of an IPConfiguration resource
- resource
Id String - The Azure Resource ID of an IPConfiguration resource
- resource
Id string - The Azure Resource ID of an IPConfiguration resource
- resource_
id str - The Azure Resource ID of an IPConfiguration resource
- resource
Id String - The Azure Resource ID of an IPConfiguration resource
InboundNATRulePropertiesResponse
- Backend
IPConfiguration Pulumi.Azure Native. Azure Stack HCI. Inputs. IPConfiguration Arm Reference Response - IP configuration for the target backend.
- Backend
Port int - backend Port for the inbound rule
- Frontend
Port int - Frontend Port for the inbound rule
- Protocol string
- Protocol for the NAT rule
- Public
IPAddress Pulumi.Azure Native. Azure Stack HCI. Inputs. Public IPAddress Arm Reference Response - Public IP Address for this NAT rule
- Backend
IPConfiguration IPConfigurationArm Reference Response - IP configuration for the target backend.
- Backend
Port int - backend Port for the inbound rule
- Frontend
Port int - Frontend Port for the inbound rule
- Protocol string
- Protocol for the NAT rule
- Public
IPAddress PublicIPAddress Arm Reference Response - Public IP Address for this NAT rule
- backend
IPConfiguration IPConfigurationArm Reference Response - IP configuration for the target backend.
- backend
Port Integer - backend Port for the inbound rule
- frontend
Port Integer - Frontend Port for the inbound rule
- protocol String
- Protocol for the NAT rule
- public
IPAddress PublicIPAddress Arm Reference Response - Public IP Address for this NAT rule
- backend
IPConfiguration IPConfigurationArm Reference Response - IP configuration for the target backend.
- backend
Port number - backend Port for the inbound rule
- frontend
Port number - Frontend Port for the inbound rule
- protocol string
- Protocol for the NAT rule
- public
IPAddress PublicIPAddress Arm Reference Response - Public IP Address for this NAT rule
- backend_
ip_ IPConfigurationconfiguration Arm Reference Response - IP configuration for the target backend.
- backend_
port int - backend Port for the inbound rule
- frontend_
port int - Frontend Port for the inbound rule
- protocol str
- Protocol for the NAT rule
- public_
ip_ Publicaddress IPAddress Arm Reference Response - Public IP Address for this NAT rule
- backend
IPConfiguration Property Map - IP configuration for the target backend.
- backend
Port Number - backend Port for the inbound rule
- frontend
Port Number - Frontend Port for the inbound rule
- protocol String
- Protocol for the NAT rule
- public
IPAddress Property Map - Public IP Address for this NAT rule
InboundNATRuleResponse
- Name string
- name of the inbound nat rule
- Properties
Pulumi.
Azure Native. Azure Stack HCI. Inputs. Inbound NATRule Properties Response - properties of the inbound nat rule
- Name string
- name of the inbound nat rule
- Properties
Inbound
NATRule Properties Response - properties of the inbound nat rule
- name String
- name of the inbound nat rule
- properties
Inbound
NATRule Properties Response - properties of the inbound nat rule
- name string
- name of the inbound nat rule
- properties
Inbound
NATRule Properties Response - properties of the inbound nat rule
- name str
- name of the inbound nat rule
- properties
Inbound
NATRule Properties Response - properties of the inbound nat rule
- name String
- name of the inbound nat rule
- properties Property Map
- properties of the inbound nat rule
NatGatewayPropertiesResponse
- Provisioning
State string - Provisioning state of the public IP
- Status
Pulumi.
Azure Native. Azure Stack HCI. Inputs. Nat Gateway Status Response - The observed state of Nat Gateway
- Subnets
List<Pulumi.
Azure Native. Azure Stack HCI. Inputs. Virtual Network Subnet Arm Reference Response> - List of subnets associated with the nat gateway. These can only be vnet subnets and must be from the same vnet
- Inbound
NATRules List<Pulumi.Azure Native. Azure Stack HCI. Inputs. Inbound NATRule Response> - List of inbound NAT rules. InboundNATRules can only be set after the NAT Gateway has been associated with a vnet
- Public
IPAddresses List<Pulumi.Azure Native. Azure Stack HCI. Inputs. Public IPAddress Arm Reference Response> - List of public ip addresses that the gateway can use for NAT.
- Provisioning
State string - Provisioning state of the public IP
- Status
Nat
Gateway Status Response - The observed state of Nat Gateway
- Subnets
[]Virtual
Network Subnet Arm Reference Response - List of subnets associated with the nat gateway. These can only be vnet subnets and must be from the same vnet
- Inbound
NATRules []InboundNATRule Response - List of inbound NAT rules. InboundNATRules can only be set after the NAT Gateway has been associated with a vnet
- Public
IPAddresses []PublicIPAddress Arm Reference Response - List of public ip addresses that the gateway can use for NAT.
- provisioning
State String - Provisioning state of the public IP
- status
Nat
Gateway Status Response - The observed state of Nat Gateway
- subnets
List<Virtual
Network Subnet Arm Reference Response> - List of subnets associated with the nat gateway. These can only be vnet subnets and must be from the same vnet
- inbound
NATRules List<InboundNATRule Response> - List of inbound NAT rules. InboundNATRules can only be set after the NAT Gateway has been associated with a vnet
- public
IPAddresses List<PublicIPAddress Arm Reference Response> - List of public ip addresses that the gateway can use for NAT.
- provisioning
State string - Provisioning state of the public IP
- status
Nat
Gateway Status Response - The observed state of Nat Gateway
- subnets
Virtual
Network Subnet Arm Reference Response[] - List of subnets associated with the nat gateway. These can only be vnet subnets and must be from the same vnet
- inbound
NATRules InboundNATRule Response[] - List of inbound NAT rules. InboundNATRules can only be set after the NAT Gateway has been associated with a vnet
- public
IPAddresses PublicIPAddress Arm Reference Response[] - List of public ip addresses that the gateway can use for NAT.
- provisioning_
state str - Provisioning state of the public IP
- status
Nat
Gateway Status Response - The observed state of Nat Gateway
- subnets
Sequence[Virtual
Network Subnet Arm Reference Response] - List of subnets associated with the nat gateway. These can only be vnet subnets and must be from the same vnet
- inbound_
nat_ Sequence[Inboundrules NATRule Response] - List of inbound NAT rules. InboundNATRules can only be set after the NAT Gateway has been associated with a vnet
- public_
ip_ Sequence[Publicaddresses IPAddress Arm Reference Response] - List of public ip addresses that the gateway can use for NAT.
- provisioning
State String - Provisioning state of the public IP
- status Property Map
- The observed state of Nat Gateway
- subnets List<Property Map>
- List of subnets associated with the nat gateway. These can only be vnet subnets and must be from the same vnet
- inbound
NATRules List<Property Map> - List of inbound NAT rules. InboundNATRules can only be set after the NAT Gateway has been associated with a vnet
- public
IPAddresses List<Property Map> - List of public ip addresses that the gateway can use for NAT.
NatGatewayStatusProvisioningStatusResponse
- Status string
- The status of the operation performed on the nat gateway [Succeeded, Failed, InProgress]
- Operation
Id string - The ID of the operation performed on the nat gateway
- Status string
- The status of the operation performed on the nat gateway [Succeeded, Failed, InProgress]
- Operation
Id string - The ID of the operation performed on the nat gateway
- status String
- The status of the operation performed on the nat gateway [Succeeded, Failed, InProgress]
- operation
Id String - The ID of the operation performed on the nat gateway
- status string
- The status of the operation performed on the nat gateway [Succeeded, Failed, InProgress]
- operation
Id string - The ID of the operation performed on the nat gateway
- status str
- The status of the operation performed on the nat gateway [Succeeded, Failed, InProgress]
- operation_
id str - The ID of the operation performed on the nat gateway
- status String
- The status of the operation performed on the nat gateway [Succeeded, Failed, InProgress]
- operation
Id String - The ID of the operation performed on the nat gateway
NatGatewayStatusResponse
- Error
Code string - NatGateway provisioning error code
- Error
Message string - Descriptive error message
- Provisioning
Status Pulumi.Azure Native. Azure Stack HCI. Inputs. Nat Gateway Status Provisioning Status Response - NatGateway provisioning status
- Error
Code string - NatGateway provisioning error code
- Error
Message string - Descriptive error message
- Provisioning
Status NatGateway Status Provisioning Status Response - NatGateway provisioning status
- error
Code String - NatGateway provisioning error code
- error
Message String - Descriptive error message
- provisioning
Status NatGateway Status Provisioning Status Response - NatGateway provisioning status
- error
Code string - NatGateway provisioning error code
- error
Message string - Descriptive error message
- provisioning
Status NatGateway Status Provisioning Status Response - NatGateway provisioning status
- error_
code str - NatGateway provisioning error code
- error_
message str - Descriptive error message
- provisioning_
status NatGateway Status Provisioning Status Response - NatGateway provisioning status
- error
Code String - NatGateway provisioning error code
- error
Message String - Descriptive error message
- provisioning
Status Property Map - NatGateway provisioning status
PublicIPAddressArmReferenceResponse
- Resource
Id string - The Azure Resource ID of a Public IP resource
- Resource
Id string - The Azure Resource ID of a Public IP resource
- resource
Id String - The Azure Resource ID of a Public IP resource
- resource
Id string - The Azure Resource ID of a Public IP resource
- resource_
id str - The Azure Resource ID of a Public IP resource
- resource
Id String - The Azure Resource ID of a Public IP resource
SystemDataResponse
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
- created
At string - The timestamp of resource creation (UTC).
- created
By string - The identity that created the resource.
- created
By stringType - The type of identity that created the resource.
- last
Modified stringAt - The timestamp of resource last modification (UTC)
- last
Modified stringBy - The identity that last modified the resource.
- last
Modified stringBy Type - The type of identity that last modified the resource.
- created_
at str - The timestamp of resource creation (UTC).
- created_
by str - The identity that created the resource.
- created_
by_ strtype - The type of identity that created the resource.
- last_
modified_ strat - The timestamp of resource last modification (UTC)
- last_
modified_ strby - The identity that last modified the resource.
- last_
modified_ strby_ type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
VirtualNetworkSubnetArmReferenceResponse
- Resource
Id string - The Azure Resource ID for a Virtual Network subnet.
- Resource
Id string - The Azure Resource ID for a Virtual Network subnet.
- resource
Id String - The Azure Resource ID for a Virtual Network subnet.
- resource
Id string - The Azure Resource ID for a Virtual Network subnet.
- resource_
id str - The Azure Resource ID for a Virtual Network subnet.
- resource
Id String - The Azure Resource ID for a Virtual Network subnet.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.13.0 published on Wednesday, Jan 28, 2026 by Pulumi
