import * as pulumi from "@pulumi/pulumi"; /** * Manages an Azure NAT Gateway. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const example = new azure.core.ResourceGroup("example", { * name: "nat-gateway-example-rg", * location: "West Europe", * }); * const exampleNatGateway = new azure.network.NatGateway("example", { * name: "nat-gateway", * location: example.location, * resourceGroupName: example.name, * skuName: "Standard", * idleTimeoutInMinutes: 10, * zones: ["1"], * }); * ``` * * For more complete examples, please see the azure.network.NatGatewayPublicIpAssociation and azure.network.NatGatewayPublicIpPrefixAssociation resources. * * ## API Providers * * * This resource uses the following Azure API Providers: * * * `Microsoft.Network` - 2025-01-01 * * ## Import * * A NAT Gateway can be imported using the `resource id`, e.g. * * ```sh * $ pulumi import azure:network/natGateway:NatGateway test /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.Network/natGateways/gateway1 * ``` */ export declare class NatGateway extends pulumi.CustomResource { /** * Get an existing NatGateway resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: NatGatewayState, opts?: pulumi.CustomResourceOptions): NatGateway; /** * Returns true if the given object is an instance of NatGateway. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is NatGateway; /** * The idle timeout which should be used in minutes. Defaults to `4`. */ readonly idleTimeoutInMinutes: pulumi.Output; /** * Specifies the supported Azure location where the NAT Gateway should exist. Changing this forces a new resource to be created. */ readonly location: pulumi.Output; /** * Specifies the name of the NAT Gateway. Changing this forces a new resource to be created. */ readonly name: pulumi.Output; /** * Specifies the name of the Resource Group in which the NAT Gateway should exist. Changing this forces a new resource to be created. */ readonly resourceGroupName: pulumi.Output; /** * The resource GUID property of the NAT Gateway. */ readonly resourceGuid: pulumi.Output; /** * The SKU which should be used. Possible values are `Standard` and `StandardV2`. Defaults to `Standard`. Changing this forces a new resource to be created. */ readonly skuName: pulumi.Output; /** * A mapping of tags to assign to the resource. */ readonly tags: pulumi.Output<{ [key: string]: string; } | undefined>; /** * A list of Availability Zones in which this NAT Gateway should be located. Changing this forces a new resource to be created. * * > **Note:** For `Standard`, `zones` may be omitted for a no-zone deployment or set to a single Availability Zone. For more information, please see the [Azure documentation](https://learn.microsoft.com/azure/nat-gateway/nat-overview#availability-zones). * * > **Note:** `zones` must be omitted when `skuName` is set to `StandardV2`. `StandardV2` NAT Gateways are zone-redundant by default and Azure automatically deploys across all available zones. For more information, please see the [Azure documentation](https://learn.microsoft.com/azure/nat-gateway/nat-overview#standardv2-nat-gateway). */ readonly zones: pulumi.Output; /** * Create a NatGateway resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: NatGatewayArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering NatGateway resources. */ export interface NatGatewayState { /** * The idle timeout which should be used in minutes. Defaults to `4`. */ idleTimeoutInMinutes?: pulumi.Input; /** * Specifies the supported Azure location where the NAT Gateway should exist. Changing this forces a new resource to be created. */ location?: pulumi.Input; /** * Specifies the name of the NAT Gateway. Changing this forces a new resource to be created. */ name?: pulumi.Input; /** * Specifies the name of the Resource Group in which the NAT Gateway should exist. Changing this forces a new resource to be created. */ resourceGroupName?: pulumi.Input; /** * The resource GUID property of the NAT Gateway. */ resourceGuid?: pulumi.Input; /** * The SKU which should be used. Possible values are `Standard` and `StandardV2`. Defaults to `Standard`. Changing this forces a new resource to be created. */ skuName?: pulumi.Input; /** * A mapping of tags to assign to the resource. */ tags?: pulumi.Input<{ [key: string]: pulumi.Input; }>; /** * A list of Availability Zones in which this NAT Gateway should be located. Changing this forces a new resource to be created. * * > **Note:** For `Standard`, `zones` may be omitted for a no-zone deployment or set to a single Availability Zone. For more information, please see the [Azure documentation](https://learn.microsoft.com/azure/nat-gateway/nat-overview#availability-zones). * * > **Note:** `zones` must be omitted when `skuName` is set to `StandardV2`. `StandardV2` NAT Gateways are zone-redundant by default and Azure automatically deploys across all available zones. For more information, please see the [Azure documentation](https://learn.microsoft.com/azure/nat-gateway/nat-overview#standardv2-nat-gateway). */ zones?: pulumi.Input[]>; } /** * The set of arguments for constructing a NatGateway resource. */ export interface NatGatewayArgs { /** * The idle timeout which should be used in minutes. Defaults to `4`. */ idleTimeoutInMinutes?: pulumi.Input; /** * Specifies the supported Azure location where the NAT Gateway should exist. Changing this forces a new resource to be created. */ location?: pulumi.Input; /** * Specifies the name of the NAT Gateway. Changing this forces a new resource to be created. */ name?: pulumi.Input; /** * Specifies the name of the Resource Group in which the NAT Gateway should exist. Changing this forces a new resource to be created. */ resourceGroupName: pulumi.Input; /** * The SKU which should be used. Possible values are `Standard` and `StandardV2`. Defaults to `Standard`. Changing this forces a new resource to be created. */ skuName?: pulumi.Input; /** * A mapping of tags to assign to the resource. */ tags?: pulumi.Input<{ [key: string]: pulumi.Input; }>; /** * A list of Availability Zones in which this NAT Gateway should be located. Changing this forces a new resource to be created. * * > **Note:** For `Standard`, `zones` may be omitted for a no-zone deployment or set to a single Availability Zone. For more information, please see the [Azure documentation](https://learn.microsoft.com/azure/nat-gateway/nat-overview#availability-zones). * * > **Note:** `zones` must be omitted when `skuName` is set to `StandardV2`. `StandardV2` NAT Gateways are zone-redundant by default and Azure automatically deploys across all available zones. For more information, please see the [Azure documentation](https://learn.microsoft.com/azure/nat-gateway/nat-overview#standardv2-nat-gateway). */ zones?: pulumi.Input[]>; }