import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * Manages a Express Route Port. * * ## 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 US", * }); * const exampleExpressRoutePort = new azure.network.ExpressRoutePort("example", { * name: "port1", * resourceGroupName: example.name, * location: example.location, * peeringLocation: "Airtel-Chennai-CLS", * bandwidthInGbps: 10, * encapsulation: "Dot1Q", * }); * ``` * * ## API Providers * * * This resource uses the following Azure API Providers: * * * `Microsoft.Network` - 2025-01-01 * * ## Import * * Express Route Ports can be imported using the `resource id`, e.g. * * ```sh * $ pulumi import azure:network/expressRoutePort:ExpressRoutePort example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.Network/expressRoutePorts/port1 * ``` */ export declare class ExpressRoutePort extends pulumi.CustomResource { /** * Get an existing ExpressRoutePort 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?: ExpressRoutePortState, opts?: pulumi.CustomResourceOptions): ExpressRoutePort; /** * Returns true if the given object is an instance of ExpressRoutePort. 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 ExpressRoutePort; /** * Bandwidth of the Express Route Port in Gbps. Changing this forces a new Express Route Port to be created. */ readonly bandwidthInGbps: pulumi.Output; /** * The billing type of the Express Route Port. Possible values are `MeteredData` and `UnlimitedData`. Defaults to `MeteredData`. */ readonly billingType: pulumi.Output; /** * The encapsulation method used for the Express Route Port. Changing this forces a new Express Route Port to be created. Possible values are: `Dot1Q`, `QinQ`. */ readonly encapsulation: pulumi.Output; /** * The EtherType of the Express Route Port. */ readonly ethertype: pulumi.Output; /** * The resource GUID of the Express Route Port. */ readonly guid: pulumi.Output; /** * An `identity` block as defined below. */ readonly identity: pulumi.Output; /** * A list of `link` blocks as defined below. */ readonly link1: pulumi.Output; /** * A list of `link` blocks as defined below. */ readonly link2: pulumi.Output; /** * The Azure Region where the Express Route Port should exist. Changing this forces a new Express Route Port to be created. */ readonly location: pulumi.Output; /** * The maximum transmission unit of the Express Route Port. */ readonly mtu: pulumi.Output; /** * The name which should be used for this Express Route Port. Changing this forces a new Express Route Port to be created. */ readonly name: pulumi.Output; /** * The name of the peering location that this Express Route Port is physically mapped to. Changing this forces a new Express Route Port to be created. */ readonly peeringLocation: pulumi.Output; /** * The name of the Resource Group where the Express Route Port should exist. Changing this forces a new Express Route Port to be created. */ readonly resourceGroupName: pulumi.Output; /** * A mapping of tags which should be assigned to the Express Route Port. */ readonly tags: pulumi.Output<{ [key: string]: string; } | undefined>; /** * Create a ExpressRoutePort 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: ExpressRoutePortArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering ExpressRoutePort resources. */ export interface ExpressRoutePortState { /** * Bandwidth of the Express Route Port in Gbps. Changing this forces a new Express Route Port to be created. */ bandwidthInGbps?: pulumi.Input; /** * The billing type of the Express Route Port. Possible values are `MeteredData` and `UnlimitedData`. Defaults to `MeteredData`. */ billingType?: pulumi.Input; /** * The encapsulation method used for the Express Route Port. Changing this forces a new Express Route Port to be created. Possible values are: `Dot1Q`, `QinQ`. */ encapsulation?: pulumi.Input; /** * The EtherType of the Express Route Port. */ ethertype?: pulumi.Input; /** * The resource GUID of the Express Route Port. */ guid?: pulumi.Input; /** * An `identity` block as defined below. */ identity?: pulumi.Input; /** * A list of `link` blocks as defined below. */ link1?: pulumi.Input; /** * A list of `link` blocks as defined below. */ link2?: pulumi.Input; /** * The Azure Region where the Express Route Port should exist. Changing this forces a new Express Route Port to be created. */ location?: pulumi.Input; /** * The maximum transmission unit of the Express Route Port. */ mtu?: pulumi.Input; /** * The name which should be used for this Express Route Port. Changing this forces a new Express Route Port to be created. */ name?: pulumi.Input; /** * The name of the peering location that this Express Route Port is physically mapped to. Changing this forces a new Express Route Port to be created. */ peeringLocation?: pulumi.Input; /** * The name of the Resource Group where the Express Route Port should exist. Changing this forces a new Express Route Port to be created. */ resourceGroupName?: pulumi.Input; /** * A mapping of tags which should be assigned to the Express Route Port. */ tags?: pulumi.Input<{ [key: string]: pulumi.Input; }>; } /** * The set of arguments for constructing a ExpressRoutePort resource. */ export interface ExpressRoutePortArgs { /** * Bandwidth of the Express Route Port in Gbps. Changing this forces a new Express Route Port to be created. */ bandwidthInGbps: pulumi.Input; /** * The billing type of the Express Route Port. Possible values are `MeteredData` and `UnlimitedData`. Defaults to `MeteredData`. */ billingType?: pulumi.Input; /** * The encapsulation method used for the Express Route Port. Changing this forces a new Express Route Port to be created. Possible values are: `Dot1Q`, `QinQ`. */ encapsulation: pulumi.Input; /** * An `identity` block as defined below. */ identity?: pulumi.Input; /** * A list of `link` blocks as defined below. */ link1?: pulumi.Input; /** * A list of `link` blocks as defined below. */ link2?: pulumi.Input; /** * The Azure Region where the Express Route Port should exist. Changing this forces a new Express Route Port to be created. */ location?: pulumi.Input; /** * The name which should be used for this Express Route Port. Changing this forces a new Express Route Port to be created. */ name?: pulumi.Input; /** * The name of the peering location that this Express Route Port is physically mapped to. Changing this forces a new Express Route Port to be created. */ peeringLocation: pulumi.Input; /** * The name of the Resource Group where the Express Route Port should exist. Changing this forces a new Express Route Port to be created. */ resourceGroupName: pulumi.Input; /** * A mapping of tags which should be assigned to the Express Route Port. */ tags?: pulumi.Input<{ [key: string]: pulumi.Input; }>; }