import * as pulumi from "@pulumi/pulumi"; /** * Manages an ExpressRoute gateway. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const example = new azure.core.ResourceGroup("example", { * name: "example-resources", * location: "West Europe", * }); * const exampleVirtualWan = new azure.network.VirtualWan("example", { * name: "example-virtualwan", * resourceGroupName: example.name, * location: example.location, * }); * const exampleVirtualHub = new azure.network.VirtualHub("example", { * name: "example-virtualhub", * resourceGroupName: example.name, * location: example.location, * virtualWanId: exampleVirtualWan.id, * addressPrefix: "10.0.1.0/24", * }); * const exampleExpressRouteGateway = new azure.network.ExpressRouteGateway("example", { * name: "expressRoute1", * resourceGroupName: example.name, * location: example.location, * virtualHubId: exampleVirtualHub.id, * scaleUnits: 1, * tags: { * environment: "Production", * }, * }); * ``` * * ## API Providers * * * This resource uses the following Azure API Providers: * * * `Microsoft.Network` - 2025-01-01 * * ## Import * * ExpressRoute Gateways can be imported using the `resource id`, e.g. * * ```sh * $ pulumi import azure:network/expressRouteGateway:ExpressRouteGateway example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup1/providers/Microsoft.Network/expressRouteGateways/myExpressRouteGateway * ``` */ export declare class ExpressRouteGateway extends pulumi.CustomResource { /** * Get an existing ExpressRouteGateway 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?: ExpressRouteGatewayState, opts?: pulumi.CustomResourceOptions): ExpressRouteGateway; /** * Returns true if the given object is an instance of ExpressRouteGateway. 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 ExpressRouteGateway; /** * Specified whether this gateway accept traffic from non-Virtual WAN networks. Defaults to `false`. */ readonly allowNonVirtualWanTraffic: pulumi.Output; /** * Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created. */ readonly location: pulumi.Output; /** * The name of the ExpressRoute gateway. Changing this forces a new resource to be created. */ readonly name: pulumi.Output; /** * The name of the resource group in which to create the ExpressRoute gateway. Changing this forces a new resource to be created. */ readonly resourceGroupName: pulumi.Output; /** * The number of scale units with which to provision the ExpressRoute gateway. Each scale unit is equal to 2Gbps, with support for up to 10 scale units (20Gbps). */ readonly scaleUnits: pulumi.Output; /** * A mapping of tags to assign to the resource. */ readonly tags: pulumi.Output<{ [key: string]: string; } | undefined>; /** * The ID of a Virtual HUB within which the ExpressRoute gateway should be created. Changing this forces a new resource to be created. */ readonly virtualHubId: pulumi.Output; /** * Create a ExpressRouteGateway 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: ExpressRouteGatewayArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering ExpressRouteGateway resources. */ export interface ExpressRouteGatewayState { /** * Specified whether this gateway accept traffic from non-Virtual WAN networks. Defaults to `false`. */ allowNonVirtualWanTraffic?: pulumi.Input; /** * Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created. */ location?: pulumi.Input; /** * The name of the ExpressRoute gateway. Changing this forces a new resource to be created. */ name?: pulumi.Input; /** * The name of the resource group in which to create the ExpressRoute gateway. Changing this forces a new resource to be created. */ resourceGroupName?: pulumi.Input; /** * The number of scale units with which to provision the ExpressRoute gateway. Each scale unit is equal to 2Gbps, with support for up to 10 scale units (20Gbps). */ scaleUnits?: pulumi.Input; /** * A mapping of tags to assign to the resource. */ tags?: pulumi.Input<{ [key: string]: pulumi.Input; }>; /** * The ID of a Virtual HUB within which the ExpressRoute gateway should be created. Changing this forces a new resource to be created. */ virtualHubId?: pulumi.Input; } /** * The set of arguments for constructing a ExpressRouteGateway resource. */ export interface ExpressRouteGatewayArgs { /** * Specified whether this gateway accept traffic from non-Virtual WAN networks. Defaults to `false`. */ allowNonVirtualWanTraffic?: pulumi.Input; /** * Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created. */ location?: pulumi.Input; /** * The name of the ExpressRoute gateway. Changing this forces a new resource to be created. */ name?: pulumi.Input; /** * The name of the resource group in which to create the ExpressRoute gateway. Changing this forces a new resource to be created. */ resourceGroupName: pulumi.Input; /** * The number of scale units with which to provision the ExpressRoute gateway. Each scale unit is equal to 2Gbps, with support for up to 10 scale units (20Gbps). */ scaleUnits: pulumi.Input; /** * A mapping of tags to assign to the resource. */ tags?: pulumi.Input<{ [key: string]: pulumi.Input; }>; /** * The ID of a Virtual HUB within which the ExpressRoute gateway should be created. Changing this forces a new resource to be created. */ virtualHubId: pulumi.Input; }