The NatGateway resource definition.
Uses Azure REST API version 2025-09-01-preview.
Example Usage
PutNatGateway
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var natGateway = new AzureNative.AzureStackHCI.NatGateway("natGateway", new()
{
ExtendedLocation = new AzureNative.AzureStackHCI.Inputs.ExtendedLocationArgs
{
Name = "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location",
Type = AzureNative.AzureStackHCI.ExtendedLocationTypes.CustomLocation,
},
Location = "West US2",
NatGatewayName = "test-nat-gw",
Properties = new AzureNative.AzureStackHCI.Inputs.NatGatewayPropertiesArgs
{
PublicIPAddresses = new[]
{
new AzureNative.AzureStackHCI.Inputs.PublicIPAddressArmReferenceArgs
{
ResourceId = "/subscriptions/12345678-1234-1234-1234-123456789012/resourceGroups/azure-local-rg/providers/Microsoft.AzureStackHCI/publicIPAddresses/outbound-pip",
},
},
},
ResourceGroupName = "test-rg",
});
});
package main
import (
azurestackhci "github.com/pulumi/pulumi-azure-native-sdk/azurestackhci/v3"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := azurestackhci.NewNatGateway(ctx, "natGateway", &azurestackhci.NatGatewayArgs{
ExtendedLocation: &azurestackhci.ExtendedLocationArgs{
Name: pulumi.String("/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location"),
Type: pulumi.String(azurestackhci.ExtendedLocationTypesCustomLocation),
},
Location: pulumi.String("West US2"),
NatGatewayName: pulumi.String("test-nat-gw"),
Properties: &azurestackhci.NatGatewayPropertiesArgs{
PublicIPAddresses: azurestackhci.PublicIPAddressArmReferenceArray{
&azurestackhci.PublicIPAddressArmReferenceArgs{
ResourceId: pulumi.String("/subscriptions/12345678-1234-1234-1234-123456789012/resourceGroups/azure-local-rg/providers/Microsoft.AzureStackHCI/publicIPAddresses/outbound-pip"),
},
},
},
ResourceGroupName: pulumi.String("test-rg"),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.azurestackhci.NatGateway;
import com.pulumi.azurenative.azurestackhci.NatGatewayArgs;
import com.pulumi.azurenative.azurestackhci.inputs.ExtendedLocationArgs;
import com.pulumi.azurenative.azurestackhci.inputs.NatGatewayPropertiesArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var natGateway = new NatGateway("natGateway", NatGatewayArgs.builder()
.extendedLocation(ExtendedLocationArgs.builder()
.name("/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location")
.type("CustomLocation")
.build())
.location("West US2")
.natGatewayName("test-nat-gw")
.properties(NatGatewayPropertiesArgs.builder()
.publicIPAddresses(PublicIPAddressArmReferenceArgs.builder()
.resourceId("/subscriptions/12345678-1234-1234-1234-123456789012/resourceGroups/azure-local-rg/providers/Microsoft.AzureStackHCI/publicIPAddresses/outbound-pip")
.build())
.build())
.resourceGroupName("test-rg")
.build());
}
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const natGateway = new azure_native.azurestackhci.NatGateway("natGateway", {
extendedLocation: {
name: "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location",
type: azure_native.azurestackhci.ExtendedLocationTypes.CustomLocation,
},
location: "West US2",
natGatewayName: "test-nat-gw",
properties: {
publicIPAddresses: [{
resourceId: "/subscriptions/12345678-1234-1234-1234-123456789012/resourceGroups/azure-local-rg/providers/Microsoft.AzureStackHCI/publicIPAddresses/outbound-pip",
}],
},
resourceGroupName: "test-rg",
});
import pulumi
import pulumi_azure_native as azure_native
nat_gateway = azure_native.azurestackhci.NatGateway("natGateway",
extended_location={
"name": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location",
"type": azure_native.azurestackhci.ExtendedLocationTypes.CUSTOM_LOCATION,
},
location="West US2",
nat_gateway_name="test-nat-gw",
properties={
"public_ip_addresses": [{
"resource_id": "/subscriptions/12345678-1234-1234-1234-123456789012/resourceGroups/azure-local-rg/providers/Microsoft.AzureStackHCI/publicIPAddresses/outbound-pip",
}],
},
resource_group_name="test-rg")
resources:
natGateway:
type: azure-native:azurestackhci:NatGateway
properties:
extendedLocation:
name: /subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location
type: CustomLocation
location: West US2
natGatewayName: test-nat-gw
properties:
publicIPAddresses:
- resourceId: /subscriptions/12345678-1234-1234-1234-123456789012/resourceGroups/azure-local-rg/providers/Microsoft.AzureStackHCI/publicIPAddresses/outbound-pip
resourceGroupName: test-rg
Create NatGateway Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new NatGateway(name: string, args: NatGatewayArgs, opts?: CustomResourceOptions);@overload
def NatGateway(resource_name: str,
args: NatGatewayArgs,
opts: Optional[ResourceOptions] = None)
@overload
def NatGateway(resource_name: str,
opts: Optional[ResourceOptions] = None,
resource_group_name: Optional[str] = None,
extended_location: Optional[ExtendedLocationArgs] = None,
location: Optional[str] = None,
nat_gateway_name: Optional[str] = None,
properties: Optional[NatGatewayPropertiesArgs] = None,
tags: Optional[Mapping[str, str]] = None)func NewNatGateway(ctx *Context, name string, args NatGatewayArgs, opts ...ResourceOption) (*NatGateway, error)public NatGateway(string name, NatGatewayArgs args, CustomResourceOptions? opts = null)
public NatGateway(String name, NatGatewayArgs args)
public NatGateway(String name, NatGatewayArgs args, CustomResourceOptions options)
type: azure-native:azurestackhci:NatGateway
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args NatGatewayArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args NatGatewayArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args NatGatewayArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args NatGatewayArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args NatGatewayArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var natGatewayResource = new AzureNative.AzureStackHCI.NatGateway("natGatewayResource", new()
{
ResourceGroupName = "string",
ExtendedLocation = new AzureNative.AzureStackHCI.Inputs.ExtendedLocationArgs
{
Name = "string",
Type = "string",
},
Location = "string",
NatGatewayName = "string",
Properties = new AzureNative.AzureStackHCI.Inputs.NatGatewayPropertiesArgs
{
InboundNATRules = new[]
{
new AzureNative.AzureStackHCI.Inputs.InboundNATRuleArgs
{
Name = "string",
Properties = new AzureNative.AzureStackHCI.Inputs.InboundNATRulePropertiesArgs
{
BackendIPConfiguration = new AzureNative.AzureStackHCI.Inputs.IPConfigurationArmReferenceArgs
{
ResourceId = "string",
},
BackendPort = 0,
FrontendPort = 0,
Protocol = "string",
PublicIPAddress = new AzureNative.AzureStackHCI.Inputs.PublicIPAddressArmReferenceArgs
{
ResourceId = "string",
},
},
},
},
PublicIPAddresses = new[]
{
new AzureNative.AzureStackHCI.Inputs.PublicIPAddressArmReferenceArgs
{
ResourceId = "string",
},
},
},
Tags =
{
{ "string", "string" },
},
});
example, err := azurestackhci.NewNatGateway(ctx, "natGatewayResource", &azurestackhci.NatGatewayArgs{
ResourceGroupName: pulumi.String("string"),
ExtendedLocation: &azurestackhci.ExtendedLocationArgs{
Name: pulumi.String("string"),
Type: pulumi.String("string"),
},
Location: pulumi.String("string"),
NatGatewayName: pulumi.String("string"),
Properties: &azurestackhci.NatGatewayPropertiesArgs{
InboundNATRules: azurestackhci.InboundNATRuleArray{
&azurestackhci.InboundNATRuleArgs{
Name: pulumi.String("string"),
Properties: &azurestackhci.InboundNATRulePropertiesArgs{
BackendIPConfiguration: &azurestackhci.IPConfigurationArmReferenceArgs{
ResourceId: pulumi.String("string"),
},
BackendPort: pulumi.Int(0),
FrontendPort: pulumi.Int(0),
Protocol: pulumi.String("string"),
PublicIPAddress: &azurestackhci.PublicIPAddressArmReferenceArgs{
ResourceId: pulumi.String("string"),
},
},
},
},
PublicIPAddresses: azurestackhci.PublicIPAddressArmReferenceArray{
&azurestackhci.PublicIPAddressArmReferenceArgs{
ResourceId: pulumi.String("string"),
},
},
},
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
})
var natGatewayResource = new com.pulumi.azurenative.azurestackhci.NatGateway("natGatewayResource", com.pulumi.azurenative.azurestackhci.NatGatewayArgs.builder()
.resourceGroupName("string")
.extendedLocation(ExtendedLocationArgs.builder()
.name("string")
.type("string")
.build())
.location("string")
.natGatewayName("string")
.properties(NatGatewayPropertiesArgs.builder()
.inboundNATRules(InboundNATRuleArgs.builder()
.name("string")
.properties(InboundNATRulePropertiesArgs.builder()
.backendIPConfiguration(IPConfigurationArmReferenceArgs.builder()
.resourceId("string")
.build())
.backendPort(0)
.frontendPort(0)
.protocol("string")
.publicIPAddress(PublicIPAddressArmReferenceArgs.builder()
.resourceId("string")
.build())
.build())
.build())
.publicIPAddresses(PublicIPAddressArmReferenceArgs.builder()
.resourceId("string")
.build())
.build())
.tags(Map.of("string", "string"))
.build());
nat_gateway_resource = azure_native.azurestackhci.NatGateway("natGatewayResource",
resource_group_name="string",
extended_location={
"name": "string",
"type": "string",
},
location="string",
nat_gateway_name="string",
properties={
"inbound_nat_rules": [{
"name": "string",
"properties": {
"backend_ip_configuration": {
"resource_id": "string",
},
"backend_port": 0,
"frontend_port": 0,
"protocol": "string",
"public_ip_address": {
"resource_id": "string",
},
},
}],
"public_ip_addresses": [{
"resource_id": "string",
}],
},
tags={
"string": "string",
})
const natGatewayResource = new azure_native.azurestackhci.NatGateway("natGatewayResource", {
resourceGroupName: "string",
extendedLocation: {
name: "string",
type: "string",
},
location: "string",
natGatewayName: "string",
properties: {
inboundNATRules: [{
name: "string",
properties: {
backendIPConfiguration: {
resourceId: "string",
},
backendPort: 0,
frontendPort: 0,
protocol: "string",
publicIPAddress: {
resourceId: "string",
},
},
}],
publicIPAddresses: [{
resourceId: "string",
}],
},
tags: {
string: "string",
},
});
type: azure-native:azurestackhci:NatGateway
properties:
extendedLocation:
name: string
type: string
location: string
natGatewayName: string
properties:
inboundNATRules:
- name: string
properties:
backendIPConfiguration:
resourceId: string
backendPort: 0
frontendPort: 0
protocol: string
publicIPAddress:
resourceId: string
publicIPAddresses:
- resourceId: string
resourceGroupName: string
tags:
string: string
NatGateway Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The NatGateway resource accepts the following input properties:
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Extended
Location Pulumi.Azure Native. Azure Stack HCI. Inputs. Extended Location - The extendedLocation of the resource.
- Location string
- The geo-location where the resource lives
- Nat
Gateway stringName - Name of the nat gateway
- Properties
Pulumi.
Azure Native. Azure Stack HCI. Inputs. Nat Gateway Properties - The resource-specific properties for this resource.
- Dictionary<string, string>
- Resource tags.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Extended
Location ExtendedLocation Args - The extendedLocation of the resource.
- Location string
- The geo-location where the resource lives
- Nat
Gateway stringName - Name of the nat gateway
- Properties
Nat
Gateway Properties Args - The resource-specific properties for this resource.
- map[string]string
- Resource tags.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- extended
Location ExtendedLocation - The extendedLocation of the resource.
- location String
- The geo-location where the resource lives
- nat
Gateway StringName - Name of the nat gateway
- properties
Nat
Gateway Properties - The resource-specific properties for this resource.
- Map<String,String>
- Resource tags.
- resource
Group stringName - The name of the resource group. The name is case insensitive.
- extended
Location ExtendedLocation - The extendedLocation of the resource.
- location string
- The geo-location where the resource lives
- nat
Gateway stringName - Name of the nat gateway
- properties
Nat
Gateway Properties - The resource-specific properties for this resource.
- {[key: string]: string}
- Resource tags.
- resource_
group_ strname - The name of the resource group. The name is case insensitive.
- extended_
location ExtendedLocation Args - The extendedLocation of the resource.
- location str
- The geo-location where the resource lives
- nat_
gateway_ strname - Name of the nat gateway
- properties
Nat
Gateway Properties Args - The resource-specific properties for this resource.
- Mapping[str, str]
- Resource tags.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- extended
Location Property Map - The extendedLocation of the resource.
- location String
- The geo-location where the resource lives
- nat
Gateway StringName - Name of the nat gateway
- properties Property Map
- The resource-specific properties for this resource.
- Map<String>
- Resource tags.
Outputs
All input properties are implicitly available as output properties. Additionally, the NatGateway resource produces the following output properties:
- Azure
Api stringVersion - The Azure API version of the resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The name of the 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"
- Azure
Api stringVersion - The Azure API version of the resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The name of the 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"
- azure
Api StringVersion - The Azure API version of the resource.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The name of the 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"
- azure
Api stringVersion - The Azure API version of the resource.
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- The name of the 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"
- azure_
api_ strversion - The Azure API version of the resource.
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- The name of the 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"
- azure
Api StringVersion - The Azure API version of the resource.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The name of the 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"
Supporting Types
ExtendedLocation, ExtendedLocationArgs
The complex type of the extended location.- Name string
- The name of the extended location.
- Type
string | Pulumi.
Azure Native. Azure Stack HCI. Extended Location Types - The type of the extended location.
- Name string
- The name of the extended location.
- Type
string | Extended
Location Types - The type of the extended location.
- name String
- The name of the extended location.
- type
String | Extended
Location Types - The type of the extended location.
- name string
- The name of the extended location.
- type
string | Extended
Location Types - The type of the extended location.
- name str
- The name of the extended location.
- type
str | Extended
Location Types - The type of the extended location.
- name String
- The name of the extended location.
- type
String | "Custom
Location" - The type of the extended location.
ExtendedLocationResponse, ExtendedLocationResponseArgs
The complex type of the extended location.ExtendedLocationTypes, ExtendedLocationTypesArgs
- Custom
Location CustomLocationCustom extended location type
- Extended
Location Types Custom Location CustomLocationCustom extended location type
- Custom
Location CustomLocationCustom extended location type
- Custom
Location CustomLocationCustom extended location type
- CUSTOM_LOCATION
CustomLocationCustom extended location type
- "Custom
Location" CustomLocationCustom extended location type
IPConfigurationArmReference, IPConfigurationArmReferenceArgs
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 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
IPConfigurationArmReferenceResponse, IPConfigurationArmReferenceResponseArgs
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 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
InboundNATRule, InboundNATRuleArgs
Inbound nat rule properties- Name string
- name of the inbound nat rule
- Properties
Pulumi.
Azure Native. Azure Stack HCI. Inputs. Inbound NATRule Properties - properties of the inbound nat rule
- Name string
- name of the inbound nat rule
- Properties
Inbound
NATRule Properties - properties of the inbound nat rule
- name String
- name of the inbound nat rule
- properties
Inbound
NATRule Properties - properties of the inbound nat rule
- name string
- name of the inbound nat rule
- properties
Inbound
NATRule Properties - properties of the inbound nat rule
- name str
- name of the inbound nat rule
- properties
Inbound
NATRule Properties - properties of the inbound nat rule
- name String
- name of the inbound nat rule
- properties Property Map
- properties of the inbound nat rule
InboundNATRuleProperties, InboundNATRulePropertiesArgs
Inbound nat rule properties- Backend
IPConfiguration Pulumi.Azure Native. Azure Stack HCI. Inputs. IPConfiguration Arm Reference - 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 | Pulumi.
Azure Native. Azure Stack HCI. Inbound NATRule Protocol - Protocol for the NAT rule
- Public
IPAddress Pulumi.Azure Native. Azure Stack HCI. Inputs. Public IPAddress Arm Reference - Public IP Address for this NAT rule
- Backend
IPConfiguration IPConfigurationArm Reference - 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 | Inbound
NATRule Protocol - Protocol for the NAT rule
- Public
IPAddress PublicIPAddress Arm Reference - Public IP Address for this NAT rule
- backend
IPConfiguration IPConfigurationArm Reference - 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 | Inbound
NATRule Protocol - Protocol for the NAT rule
- public
IPAddress PublicIPAddress Arm Reference - Public IP Address for this NAT rule
- backend
IPConfiguration IPConfigurationArm Reference - 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 | Inbound
NATRule Protocol - Protocol for the NAT rule
- public
IPAddress PublicIPAddress Arm Reference - Public IP Address for this NAT rule
- backend_
ip_ IPConfigurationconfiguration Arm Reference - 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 | Inbound
NATRule Protocol - Protocol for the NAT rule
- public_
ip_ Publicaddress IPAddress Arm Reference - 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 | "Tcp" | "Udp"
- Protocol for the NAT rule
- public
IPAddress Property Map - Public IP Address for this NAT rule
InboundNATRulePropertiesResponse, InboundNATRulePropertiesResponseArgs
Inbound nat rule properties- 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
InboundNATRuleProtocol, InboundNATRuleProtocolArgs
- TCP
TcpTCP - load balance only tcp traffic- UDP
UdpUdp - load balance only UDP traffic
- Inbound
NATRule Protocol TCP TcpTCP - load balance only tcp traffic- Inbound
NATRule Protocol UDP UdpUdp - load balance only UDP traffic
- TCP
TcpTCP - load balance only tcp traffic- UDP
UdpUdp - load balance only UDP traffic
- TCP
TcpTCP - load balance only tcp traffic- UDP
UdpUdp - load balance only UDP traffic
- TCP
TcpTCP - load balance only tcp traffic- UDP
UdpUdp - load balance only UDP traffic
- "Tcp"
TcpTCP - load balance only tcp traffic- "Udp"
UdpUdp - load balance only UDP traffic
InboundNATRuleResponse, InboundNATRuleResponseArgs
Inbound nat rule properties- 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
NatGatewayProperties, NatGatewayPropertiesArgs
Nat Gateway resource properties- Inbound
NATRules List<Pulumi.Azure Native. Azure Stack HCI. Inputs. Inbound NATRule> - 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> - List of public ip addresses that the gateway can use for NAT.
- Inbound
NATRules []InboundNATRule - 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 - List of public ip addresses that the gateway can use for NAT.
- inbound
NATRules List<InboundNATRule> - 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> - List of public ip addresses that the gateway can use for NAT.
- inbound
NATRules InboundNATRule[] - 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[] - List of public ip addresses that the gateway can use for NAT.
- inbound_
nat_ Sequence[Inboundrules NATRule] - 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] - List of public ip addresses that the gateway can use for NAT.
- 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.
NatGatewayPropertiesResponse, NatGatewayPropertiesResponseArgs
Nat Gateway resource properties- 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, NatGatewayStatusProvisioningStatusResponseArgs
Provisioning status of 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 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, NatGatewayStatusResponseArgs
Nat Gateway resource status- 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
PublicIPAddressArmReference, PublicIPAddressArmReferenceArgs
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 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
PublicIPAddressArmReferenceResponse, PublicIPAddressArmReferenceResponseArgs
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 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, SystemDataResponseArgs
Metadata pertaining to creation and last modification of 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 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, VirtualNetworkSubnetArmReferenceResponseArgs
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 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.
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:azurestackhci:NatGateway test-nat-gw /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/natGateways/{natGatewayName}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0
