We recommend using Azure Native.
azure.network.ExpressRoutePort
Explore with Pulumi AI
Manages a Express Route Port.
Example Usage
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",
});
import pulumi
import pulumi_azure as azure
example = azure.core.ResourceGroup("example",
name="example-resources",
location="West US")
example_express_route_port = azure.network.ExpressRoutePort("example",
name="port1",
resource_group_name=example.name,
location=example.location,
peering_location="Airtel-Chennai-CLS",
bandwidth_in_gbps=10,
encapsulation="Dot1Q")
package main
import (
"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/network"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
Name: pulumi.String("example-resources"),
Location: pulumi.String("West US"),
})
if err != nil {
return err
}
_, err = network.NewExpressRoutePort(ctx, "example", &network.ExpressRoutePortArgs{
Name: pulumi.String("port1"),
ResourceGroupName: example.Name,
Location: example.Location,
PeeringLocation: pulumi.String("Airtel-Chennai-CLS"),
BandwidthInGbps: pulumi.Int(10),
Encapsulation: pulumi.String("Dot1Q"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Azure = Pulumi.Azure;
return await Deployment.RunAsync(() =>
{
var example = new Azure.Core.ResourceGroup("example", new()
{
Name = "example-resources",
Location = "West US",
});
var exampleExpressRoutePort = new Azure.Network.ExpressRoutePort("example", new()
{
Name = "port1",
ResourceGroupName = example.Name,
Location = example.Location,
PeeringLocation = "Airtel-Chennai-CLS",
BandwidthInGbps = 10,
Encapsulation = "Dot1Q",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azure.core.ResourceGroup;
import com.pulumi.azure.core.ResourceGroupArgs;
import com.pulumi.azure.network.ExpressRoutePort;
import com.pulumi.azure.network.ExpressRoutePortArgs;
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 example = new ResourceGroup("example", ResourceGroupArgs.builder()
.name("example-resources")
.location("West US")
.build());
var exampleExpressRoutePort = new ExpressRoutePort("exampleExpressRoutePort", ExpressRoutePortArgs.builder()
.name("port1")
.resourceGroupName(example.name())
.location(example.location())
.peeringLocation("Airtel-Chennai-CLS")
.bandwidthInGbps(10)
.encapsulation("Dot1Q")
.build());
}
}
resources:
example:
type: azure:core:ResourceGroup
properties:
name: example-resources
location: West US
exampleExpressRoutePort:
type: azure:network:ExpressRoutePort
name: example
properties:
name: port1
resourceGroupName: ${example.name}
location: ${example.location}
peeringLocation: Airtel-Chennai-CLS
bandwidthInGbps: 10
encapsulation: Dot1Q
Create ExpressRoutePort Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ExpressRoutePort(name: string, args: ExpressRoutePortArgs, opts?: CustomResourceOptions);
@overload
def ExpressRoutePort(resource_name: str,
args: ExpressRoutePortArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ExpressRoutePort(resource_name: str,
opts: Optional[ResourceOptions] = None,
bandwidth_in_gbps: Optional[int] = None,
encapsulation: Optional[str] = None,
peering_location: Optional[str] = None,
resource_group_name: Optional[str] = None,
billing_type: Optional[str] = None,
identity: Optional[ExpressRoutePortIdentityArgs] = None,
link1: Optional[ExpressRoutePortLink1Args] = None,
link2: Optional[ExpressRoutePortLink2Args] = None,
location: Optional[str] = None,
name: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None)
func NewExpressRoutePort(ctx *Context, name string, args ExpressRoutePortArgs, opts ...ResourceOption) (*ExpressRoutePort, error)
public ExpressRoutePort(string name, ExpressRoutePortArgs args, CustomResourceOptions? opts = null)
public ExpressRoutePort(String name, ExpressRoutePortArgs args)
public ExpressRoutePort(String name, ExpressRoutePortArgs args, CustomResourceOptions options)
type: azure:network:ExpressRoutePort
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 ExpressRoutePortArgs
- 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 ExpressRoutePortArgs
- 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 ExpressRoutePortArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ExpressRoutePortArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ExpressRoutePortArgs
- 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 expressRoutePortResource = new Azure.Network.ExpressRoutePort("expressRoutePortResource", new()
{
BandwidthInGbps = 0,
Encapsulation = "string",
PeeringLocation = "string",
ResourceGroupName = "string",
BillingType = "string",
Identity = new Azure.Network.Inputs.ExpressRoutePortIdentityArgs
{
Type = "string",
IdentityIds = new[]
{
"string",
},
PrincipalId = "string",
TenantId = "string",
},
Link1 = new Azure.Network.Inputs.ExpressRoutePortLink1Args
{
AdminEnabled = false,
ConnectorType = "string",
Id = "string",
InterfaceName = "string",
MacsecCakKeyvaultSecretId = "string",
MacsecCipher = "string",
MacsecCknKeyvaultSecretId = "string",
MacsecSciEnabled = false,
PatchPanelId = "string",
RackId = "string",
RouterName = "string",
},
Link2 = new Azure.Network.Inputs.ExpressRoutePortLink2Args
{
AdminEnabled = false,
ConnectorType = "string",
Id = "string",
InterfaceName = "string",
MacsecCakKeyvaultSecretId = "string",
MacsecCipher = "string",
MacsecCknKeyvaultSecretId = "string",
MacsecSciEnabled = false,
PatchPanelId = "string",
RackId = "string",
RouterName = "string",
},
Location = "string",
Name = "string",
Tags =
{
{ "string", "string" },
},
});
example, err := network.NewExpressRoutePort(ctx, "expressRoutePortResource", &network.ExpressRoutePortArgs{
BandwidthInGbps: pulumi.Int(0),
Encapsulation: pulumi.String("string"),
PeeringLocation: pulumi.String("string"),
ResourceGroupName: pulumi.String("string"),
BillingType: pulumi.String("string"),
Identity: &network.ExpressRoutePortIdentityArgs{
Type: pulumi.String("string"),
IdentityIds: pulumi.StringArray{
pulumi.String("string"),
},
PrincipalId: pulumi.String("string"),
TenantId: pulumi.String("string"),
},
Link1: &network.ExpressRoutePortLink1Args{
AdminEnabled: pulumi.Bool(false),
ConnectorType: pulumi.String("string"),
Id: pulumi.String("string"),
InterfaceName: pulumi.String("string"),
MacsecCakKeyvaultSecretId: pulumi.String("string"),
MacsecCipher: pulumi.String("string"),
MacsecCknKeyvaultSecretId: pulumi.String("string"),
MacsecSciEnabled: pulumi.Bool(false),
PatchPanelId: pulumi.String("string"),
RackId: pulumi.String("string"),
RouterName: pulumi.String("string"),
},
Link2: &network.ExpressRoutePortLink2Args{
AdminEnabled: pulumi.Bool(false),
ConnectorType: pulumi.String("string"),
Id: pulumi.String("string"),
InterfaceName: pulumi.String("string"),
MacsecCakKeyvaultSecretId: pulumi.String("string"),
MacsecCipher: pulumi.String("string"),
MacsecCknKeyvaultSecretId: pulumi.String("string"),
MacsecSciEnabled: pulumi.Bool(false),
PatchPanelId: pulumi.String("string"),
RackId: pulumi.String("string"),
RouterName: pulumi.String("string"),
},
Location: pulumi.String("string"),
Name: pulumi.String("string"),
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
})
var expressRoutePortResource = new ExpressRoutePort("expressRoutePortResource", ExpressRoutePortArgs.builder()
.bandwidthInGbps(0)
.encapsulation("string")
.peeringLocation("string")
.resourceGroupName("string")
.billingType("string")
.identity(ExpressRoutePortIdentityArgs.builder()
.type("string")
.identityIds("string")
.principalId("string")
.tenantId("string")
.build())
.link1(ExpressRoutePortLink1Args.builder()
.adminEnabled(false)
.connectorType("string")
.id("string")
.interfaceName("string")
.macsecCakKeyvaultSecretId("string")
.macsecCipher("string")
.macsecCknKeyvaultSecretId("string")
.macsecSciEnabled(false)
.patchPanelId("string")
.rackId("string")
.routerName("string")
.build())
.link2(ExpressRoutePortLink2Args.builder()
.adminEnabled(false)
.connectorType("string")
.id("string")
.interfaceName("string")
.macsecCakKeyvaultSecretId("string")
.macsecCipher("string")
.macsecCknKeyvaultSecretId("string")
.macsecSciEnabled(false)
.patchPanelId("string")
.rackId("string")
.routerName("string")
.build())
.location("string")
.name("string")
.tags(Map.of("string", "string"))
.build());
express_route_port_resource = azure.network.ExpressRoutePort("expressRoutePortResource",
bandwidth_in_gbps=0,
encapsulation="string",
peering_location="string",
resource_group_name="string",
billing_type="string",
identity={
"type": "string",
"identity_ids": ["string"],
"principal_id": "string",
"tenant_id": "string",
},
link1={
"admin_enabled": False,
"connector_type": "string",
"id": "string",
"interface_name": "string",
"macsec_cak_keyvault_secret_id": "string",
"macsec_cipher": "string",
"macsec_ckn_keyvault_secret_id": "string",
"macsec_sci_enabled": False,
"patch_panel_id": "string",
"rack_id": "string",
"router_name": "string",
},
link2={
"admin_enabled": False,
"connector_type": "string",
"id": "string",
"interface_name": "string",
"macsec_cak_keyvault_secret_id": "string",
"macsec_cipher": "string",
"macsec_ckn_keyvault_secret_id": "string",
"macsec_sci_enabled": False,
"patch_panel_id": "string",
"rack_id": "string",
"router_name": "string",
},
location="string",
name="string",
tags={
"string": "string",
})
const expressRoutePortResource = new azure.network.ExpressRoutePort("expressRoutePortResource", {
bandwidthInGbps: 0,
encapsulation: "string",
peeringLocation: "string",
resourceGroupName: "string",
billingType: "string",
identity: {
type: "string",
identityIds: ["string"],
principalId: "string",
tenantId: "string",
},
link1: {
adminEnabled: false,
connectorType: "string",
id: "string",
interfaceName: "string",
macsecCakKeyvaultSecretId: "string",
macsecCipher: "string",
macsecCknKeyvaultSecretId: "string",
macsecSciEnabled: false,
patchPanelId: "string",
rackId: "string",
routerName: "string",
},
link2: {
adminEnabled: false,
connectorType: "string",
id: "string",
interfaceName: "string",
macsecCakKeyvaultSecretId: "string",
macsecCipher: "string",
macsecCknKeyvaultSecretId: "string",
macsecSciEnabled: false,
patchPanelId: "string",
rackId: "string",
routerName: "string",
},
location: "string",
name: "string",
tags: {
string: "string",
},
});
type: azure:network:ExpressRoutePort
properties:
bandwidthInGbps: 0
billingType: string
encapsulation: string
identity:
identityIds:
- string
principalId: string
tenantId: string
type: string
link1:
adminEnabled: false
connectorType: string
id: string
interfaceName: string
macsecCakKeyvaultSecretId: string
macsecCipher: string
macsecCknKeyvaultSecretId: string
macsecSciEnabled: false
patchPanelId: string
rackId: string
routerName: string
link2:
adminEnabled: false
connectorType: string
id: string
interfaceName: string
macsecCakKeyvaultSecretId: string
macsecCipher: string
macsecCknKeyvaultSecretId: string
macsecSciEnabled: false
patchPanelId: string
rackId: string
routerName: string
location: string
name: string
peeringLocation: string
resourceGroupName: string
tags:
string: string
ExpressRoutePort 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 ExpressRoutePort resource accepts the following input properties:
- Bandwidth
In intGbps - Bandwidth of the Express Route Port in Gbps. Changing this forces a new Express Route Port to be created.
- Encapsulation string
- 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
. - Peering
Location string - 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.
- Resource
Group stringName - The name of the Resource Group where the Express Route Port should exist. Changing this forces a new Express Route Port to be created.
- Billing
Type string - The billing type of the Express Route Port. Possible values are
MeteredData
andUnlimitedData
. Defaults toMeteredData
. - Identity
Express
Route Port Identity - An
identity
block as defined below. - Link1
Express
Route Port Link1 - A list of
link
blocks as defined below. - Link2
Express
Route Port Link2 - A list of
link
blocks as defined below. - Location string
- The Azure Region where the Express Route Port should exist. Changing this forces a new Express Route Port to be created.
- Name string
- The name which should be used for this Express Route Port. Changing this forces a new Express Route Port to be created.
- Dictionary<string, string>
- A mapping of tags which should be assigned to the Express Route Port.
- Bandwidth
In intGbps - Bandwidth of the Express Route Port in Gbps. Changing this forces a new Express Route Port to be created.
- Encapsulation string
- 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
. - Peering
Location string - 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.
- Resource
Group stringName - The name of the Resource Group where the Express Route Port should exist. Changing this forces a new Express Route Port to be created.
- Billing
Type string - The billing type of the Express Route Port. Possible values are
MeteredData
andUnlimitedData
. Defaults toMeteredData
. - Identity
Express
Route Port Identity Args - An
identity
block as defined below. - Link1
Express
Route Port Link1Args - A list of
link
blocks as defined below. - Link2
Express
Route Port Link2Args - A list of
link
blocks as defined below. - Location string
- The Azure Region where the Express Route Port should exist. Changing this forces a new Express Route Port to be created.
- Name string
- The name which should be used for this Express Route Port. Changing this forces a new Express Route Port to be created.
- map[string]string
- A mapping of tags which should be assigned to the Express Route Port.
- bandwidth
In IntegerGbps - Bandwidth of the Express Route Port in Gbps. Changing this forces a new Express Route Port to be created.
- encapsulation String
- 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
. - peering
Location String - 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.
- resource
Group StringName - The name of the Resource Group where the Express Route Port should exist. Changing this forces a new Express Route Port to be created.
- billing
Type String - The billing type of the Express Route Port. Possible values are
MeteredData
andUnlimitedData
. Defaults toMeteredData
. - identity
Express
Route Port Identity - An
identity
block as defined below. - link1
Express
Route Port Link1 - A list of
link
blocks as defined below. - link2
Express
Route Port Link2 - A list of
link
blocks as defined below. - location String
- The Azure Region where the Express Route Port should exist. Changing this forces a new Express Route Port to be created.
- name String
- The name which should be used for this Express Route Port. Changing this forces a new Express Route Port to be created.
- Map<String,String>
- A mapping of tags which should be assigned to the Express Route Port.
- bandwidth
In numberGbps - Bandwidth of the Express Route Port in Gbps. Changing this forces a new Express Route Port to be created.
- encapsulation string
- 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
. - peering
Location string - 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.
- resource
Group stringName - The name of the Resource Group where the Express Route Port should exist. Changing this forces a new Express Route Port to be created.
- billing
Type string - The billing type of the Express Route Port. Possible values are
MeteredData
andUnlimitedData
. Defaults toMeteredData
. - identity
Express
Route Port Identity - An
identity
block as defined below. - link1
Express
Route Port Link1 - A list of
link
blocks as defined below. - link2
Express
Route Port Link2 - A list of
link
blocks as defined below. - location string
- The Azure Region where the Express Route Port should exist. Changing this forces a new Express Route Port to be created.
- name string
- The name which should be used for this Express Route Port. Changing this forces a new Express Route Port to be created.
- {[key: string]: string}
- A mapping of tags which should be assigned to the Express Route Port.
- bandwidth_
in_ intgbps - Bandwidth of the Express Route Port in Gbps. Changing this forces a new Express Route Port to be created.
- encapsulation str
- 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
. - peering_
location str - 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.
- resource_
group_ strname - The name of the Resource Group where the Express Route Port should exist. Changing this forces a new Express Route Port to be created.
- billing_
type str - The billing type of the Express Route Port. Possible values are
MeteredData
andUnlimitedData
. Defaults toMeteredData
. - identity
Express
Route Port Identity Args - An
identity
block as defined below. - link1
Express
Route Port Link1Args - A list of
link
blocks as defined below. - link2
Express
Route Port Link2Args - A list of
link
blocks as defined below. - location str
- The Azure Region where the Express Route Port should exist. Changing this forces a new Express Route Port to be created.
- name str
- The name which should be used for this Express Route Port. Changing this forces a new Express Route Port to be created.
- Mapping[str, str]
- A mapping of tags which should be assigned to the Express Route Port.
- bandwidth
In NumberGbps - Bandwidth of the Express Route Port in Gbps. Changing this forces a new Express Route Port to be created.
- encapsulation String
- 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
. - peering
Location String - 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.
- resource
Group StringName - The name of the Resource Group where the Express Route Port should exist. Changing this forces a new Express Route Port to be created.
- billing
Type String - The billing type of the Express Route Port. Possible values are
MeteredData
andUnlimitedData
. Defaults toMeteredData
. - identity Property Map
- An
identity
block as defined below. - link1 Property Map
- A list of
link
blocks as defined below. - link2 Property Map
- A list of
link
blocks as defined below. - location String
- The Azure Region where the Express Route Port should exist. Changing this forces a new Express Route Port to be created.
- name String
- The name which should be used for this Express Route Port. Changing this forces a new Express Route Port to be created.
- Map<String>
- A mapping of tags which should be assigned to the Express Route Port.
Outputs
All input properties are implicitly available as output properties. Additionally, the ExpressRoutePort resource produces the following output properties:
Look up Existing ExpressRoutePort Resource
Get an existing ExpressRoutePort resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: ExpressRoutePortState, opts?: CustomResourceOptions): ExpressRoutePort
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
bandwidth_in_gbps: Optional[int] = None,
billing_type: Optional[str] = None,
encapsulation: Optional[str] = None,
ethertype: Optional[str] = None,
guid: Optional[str] = None,
identity: Optional[ExpressRoutePortIdentityArgs] = None,
link1: Optional[ExpressRoutePortLink1Args] = None,
link2: Optional[ExpressRoutePortLink2Args] = None,
location: Optional[str] = None,
mtu: Optional[str] = None,
name: Optional[str] = None,
peering_location: Optional[str] = None,
resource_group_name: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None) -> ExpressRoutePort
func GetExpressRoutePort(ctx *Context, name string, id IDInput, state *ExpressRoutePortState, opts ...ResourceOption) (*ExpressRoutePort, error)
public static ExpressRoutePort Get(string name, Input<string> id, ExpressRoutePortState? state, CustomResourceOptions? opts = null)
public static ExpressRoutePort get(String name, Output<String> id, ExpressRoutePortState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Bandwidth
In intGbps - Bandwidth of the Express Route Port in Gbps. Changing this forces a new Express Route Port to be created.
- Billing
Type string - The billing type of the Express Route Port. Possible values are
MeteredData
andUnlimitedData
. Defaults toMeteredData
. - Encapsulation string
- 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
. - Ethertype string
- The EtherType of the Express Route Port.
- Guid string
- The resource GUID of the Express Route Port.
- Identity
Express
Route Port Identity - An
identity
block as defined below. - Link1
Express
Route Port Link1 - A list of
link
blocks as defined below. - Link2
Express
Route Port Link2 - A list of
link
blocks as defined below. - Location string
- The Azure Region where the Express Route Port should exist. Changing this forces a new Express Route Port to be created.
- Mtu string
- The maximum transmission unit of the Express Route Port.
- Name string
- The name which should be used for this Express Route Port. Changing this forces a new Express Route Port to be created.
- Peering
Location string - 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.
- Resource
Group stringName - The name of the Resource Group where the Express Route Port should exist. Changing this forces a new Express Route Port to be created.
- Dictionary<string, string>
- A mapping of tags which should be assigned to the Express Route Port.
- Bandwidth
In intGbps - Bandwidth of the Express Route Port in Gbps. Changing this forces a new Express Route Port to be created.
- Billing
Type string - The billing type of the Express Route Port. Possible values are
MeteredData
andUnlimitedData
. Defaults toMeteredData
. - Encapsulation string
- 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
. - Ethertype string
- The EtherType of the Express Route Port.
- Guid string
- The resource GUID of the Express Route Port.
- Identity
Express
Route Port Identity Args - An
identity
block as defined below. - Link1
Express
Route Port Link1Args - A list of
link
blocks as defined below. - Link2
Express
Route Port Link2Args - A list of
link
blocks as defined below. - Location string
- The Azure Region where the Express Route Port should exist. Changing this forces a new Express Route Port to be created.
- Mtu string
- The maximum transmission unit of the Express Route Port.
- Name string
- The name which should be used for this Express Route Port. Changing this forces a new Express Route Port to be created.
- Peering
Location string - 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.
- Resource
Group stringName - The name of the Resource Group where the Express Route Port should exist. Changing this forces a new Express Route Port to be created.
- map[string]string
- A mapping of tags which should be assigned to the Express Route Port.
- bandwidth
In IntegerGbps - Bandwidth of the Express Route Port in Gbps. Changing this forces a new Express Route Port to be created.
- billing
Type String - The billing type of the Express Route Port. Possible values are
MeteredData
andUnlimitedData
. Defaults toMeteredData
. - encapsulation String
- 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
. - ethertype String
- The EtherType of the Express Route Port.
- guid String
- The resource GUID of the Express Route Port.
- identity
Express
Route Port Identity - An
identity
block as defined below. - link1
Express
Route Port Link1 - A list of
link
blocks as defined below. - link2
Express
Route Port Link2 - A list of
link
blocks as defined below. - location String
- The Azure Region where the Express Route Port should exist. Changing this forces a new Express Route Port to be created.
- mtu String
- The maximum transmission unit of the Express Route Port.
- name String
- The name which should be used for this Express Route Port. Changing this forces a new Express Route Port to be created.
- peering
Location String - 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.
- resource
Group StringName - The name of the Resource Group where the Express Route Port should exist. Changing this forces a new Express Route Port to be created.
- Map<String,String>
- A mapping of tags which should be assigned to the Express Route Port.
- bandwidth
In numberGbps - Bandwidth of the Express Route Port in Gbps. Changing this forces a new Express Route Port to be created.
- billing
Type string - The billing type of the Express Route Port. Possible values are
MeteredData
andUnlimitedData
. Defaults toMeteredData
. - encapsulation string
- 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
. - ethertype string
- The EtherType of the Express Route Port.
- guid string
- The resource GUID of the Express Route Port.
- identity
Express
Route Port Identity - An
identity
block as defined below. - link1
Express
Route Port Link1 - A list of
link
blocks as defined below. - link2
Express
Route Port Link2 - A list of
link
blocks as defined below. - location string
- The Azure Region where the Express Route Port should exist. Changing this forces a new Express Route Port to be created.
- mtu string
- The maximum transmission unit of the Express Route Port.
- name string
- The name which should be used for this Express Route Port. Changing this forces a new Express Route Port to be created.
- peering
Location string - 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.
- resource
Group stringName - The name of the Resource Group where the Express Route Port should exist. Changing this forces a new Express Route Port to be created.
- {[key: string]: string}
- A mapping of tags which should be assigned to the Express Route Port.
- bandwidth_
in_ intgbps - Bandwidth of the Express Route Port in Gbps. Changing this forces a new Express Route Port to be created.
- billing_
type str - The billing type of the Express Route Port. Possible values are
MeteredData
andUnlimitedData
. Defaults toMeteredData
. - encapsulation str
- 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
. - ethertype str
- The EtherType of the Express Route Port.
- guid str
- The resource GUID of the Express Route Port.
- identity
Express
Route Port Identity Args - An
identity
block as defined below. - link1
Express
Route Port Link1Args - A list of
link
blocks as defined below. - link2
Express
Route Port Link2Args - A list of
link
blocks as defined below. - location str
- The Azure Region where the Express Route Port should exist. Changing this forces a new Express Route Port to be created.
- mtu str
- The maximum transmission unit of the Express Route Port.
- name str
- The name which should be used for this Express Route Port. Changing this forces a new Express Route Port to be created.
- peering_
location str - 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.
- resource_
group_ strname - The name of the Resource Group where the Express Route Port should exist. Changing this forces a new Express Route Port to be created.
- Mapping[str, str]
- A mapping of tags which should be assigned to the Express Route Port.
- bandwidth
In NumberGbps - Bandwidth of the Express Route Port in Gbps. Changing this forces a new Express Route Port to be created.
- billing
Type String - The billing type of the Express Route Port. Possible values are
MeteredData
andUnlimitedData
. Defaults toMeteredData
. - encapsulation String
- 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
. - ethertype String
- The EtherType of the Express Route Port.
- guid String
- The resource GUID of the Express Route Port.
- identity Property Map
- An
identity
block as defined below. - link1 Property Map
- A list of
link
blocks as defined below. - link2 Property Map
- A list of
link
blocks as defined below. - location String
- The Azure Region where the Express Route Port should exist. Changing this forces a new Express Route Port to be created.
- mtu String
- The maximum transmission unit of the Express Route Port.
- name String
- The name which should be used for this Express Route Port. Changing this forces a new Express Route Port to be created.
- peering
Location String - 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.
- resource
Group StringName - The name of the Resource Group where the Express Route Port should exist. Changing this forces a new Express Route Port to be created.
- Map<String>
- A mapping of tags which should be assigned to the Express Route Port.
Supporting Types
ExpressRoutePortIdentity, ExpressRoutePortIdentityArgs
- Type string
- Specifies the type of Managed Service Identity that should be configured on this Express Route Port. Only possible value is
UserAssigned
. - Identity
Ids List<string> - Specifies a list of User Assigned Managed Identity IDs to be assigned to this Express Route Port.
- Principal
Id string - Tenant
Id string
- Type string
- Specifies the type of Managed Service Identity that should be configured on this Express Route Port. Only possible value is
UserAssigned
. - Identity
Ids []string - Specifies a list of User Assigned Managed Identity IDs to be assigned to this Express Route Port.
- Principal
Id string - Tenant
Id string
- type String
- Specifies the type of Managed Service Identity that should be configured on this Express Route Port. Only possible value is
UserAssigned
. - identity
Ids List<String> - Specifies a list of User Assigned Managed Identity IDs to be assigned to this Express Route Port.
- principal
Id String - tenant
Id String
- type string
- Specifies the type of Managed Service Identity that should be configured on this Express Route Port. Only possible value is
UserAssigned
. - identity
Ids string[] - Specifies a list of User Assigned Managed Identity IDs to be assigned to this Express Route Port.
- principal
Id string - tenant
Id string
- type str
- Specifies the type of Managed Service Identity that should be configured on this Express Route Port. Only possible value is
UserAssigned
. - identity_
ids Sequence[str] - Specifies a list of User Assigned Managed Identity IDs to be assigned to this Express Route Port.
- principal_
id str - tenant_
id str
- type String
- Specifies the type of Managed Service Identity that should be configured on this Express Route Port. Only possible value is
UserAssigned
. - identity
Ids List<String> - Specifies a list of User Assigned Managed Identity IDs to be assigned to this Express Route Port.
- principal
Id String - tenant
Id String
ExpressRoutePortLink1, ExpressRoutePortLink1Args
- Admin
Enabled bool - Whether enable administration state on the Express Route Port Link? Defaults to
false
. - Connector
Type string - The connector type of the Express Route Port Link.
- Id string
- The ID of this Express Route Port Link.
- Interface
Name string - The interface name of the Azure router associated with the Express Route Port Link.
- Macsec
Cak stringKeyvault Secret Id - The ID of the Key Vault Secret that contains the Mac security CAK key for this Express Route Port Link.
- Macsec
Cipher string - The MACSec cipher used for this Express Route Port Link. Possible values are
GcmAes128
andGcmAes256
. Defaults toGcmAes128
. - Macsec
Ckn stringKeyvault Secret Id - The ID of the Key Vault Secret that contains the MACSec CKN key for this Express Route Port Link.
- Macsec
Sci boolEnabled Should Secure Channel Identifier on the Express Route Port Link be enabled? Defaults to
false
.NOTE
macsec_ckn_keyvault_secret_id
andmacsec_cak_keyvault_secret_id
should be used together withidentity
, so that the Express Route Port instance have the right permission to access the Key Vault.- Patch
Panel stringId - The ID that maps from the Express Route Port Link to the patch panel port.
- Rack
Id string - The ID that maps from the patch panel port to the rack.
- Router
Name string - The name of the Azure router associated with the Express Route Port Link.
- Admin
Enabled bool - Whether enable administration state on the Express Route Port Link? Defaults to
false
. - Connector
Type string - The connector type of the Express Route Port Link.
- Id string
- The ID of this Express Route Port Link.
- Interface
Name string - The interface name of the Azure router associated with the Express Route Port Link.
- Macsec
Cak stringKeyvault Secret Id - The ID of the Key Vault Secret that contains the Mac security CAK key for this Express Route Port Link.
- Macsec
Cipher string - The MACSec cipher used for this Express Route Port Link. Possible values are
GcmAes128
andGcmAes256
. Defaults toGcmAes128
. - Macsec
Ckn stringKeyvault Secret Id - The ID of the Key Vault Secret that contains the MACSec CKN key for this Express Route Port Link.
- Macsec
Sci boolEnabled Should Secure Channel Identifier on the Express Route Port Link be enabled? Defaults to
false
.NOTE
macsec_ckn_keyvault_secret_id
andmacsec_cak_keyvault_secret_id
should be used together withidentity
, so that the Express Route Port instance have the right permission to access the Key Vault.- Patch
Panel stringId - The ID that maps from the Express Route Port Link to the patch panel port.
- Rack
Id string - The ID that maps from the patch panel port to the rack.
- Router
Name string - The name of the Azure router associated with the Express Route Port Link.
- admin
Enabled Boolean - Whether enable administration state on the Express Route Port Link? Defaults to
false
. - connector
Type String - The connector type of the Express Route Port Link.
- id String
- The ID of this Express Route Port Link.
- interface
Name String - The interface name of the Azure router associated with the Express Route Port Link.
- macsec
Cak StringKeyvault Secret Id - The ID of the Key Vault Secret that contains the Mac security CAK key for this Express Route Port Link.
- macsec
Cipher String - The MACSec cipher used for this Express Route Port Link. Possible values are
GcmAes128
andGcmAes256
. Defaults toGcmAes128
. - macsec
Ckn StringKeyvault Secret Id - The ID of the Key Vault Secret that contains the MACSec CKN key for this Express Route Port Link.
- macsec
Sci BooleanEnabled Should Secure Channel Identifier on the Express Route Port Link be enabled? Defaults to
false
.NOTE
macsec_ckn_keyvault_secret_id
andmacsec_cak_keyvault_secret_id
should be used together withidentity
, so that the Express Route Port instance have the right permission to access the Key Vault.- patch
Panel StringId - The ID that maps from the Express Route Port Link to the patch panel port.
- rack
Id String - The ID that maps from the patch panel port to the rack.
- router
Name String - The name of the Azure router associated with the Express Route Port Link.
- admin
Enabled boolean - Whether enable administration state on the Express Route Port Link? Defaults to
false
. - connector
Type string - The connector type of the Express Route Port Link.
- id string
- The ID of this Express Route Port Link.
- interface
Name string - The interface name of the Azure router associated with the Express Route Port Link.
- macsec
Cak stringKeyvault Secret Id - The ID of the Key Vault Secret that contains the Mac security CAK key for this Express Route Port Link.
- macsec
Cipher string - The MACSec cipher used for this Express Route Port Link. Possible values are
GcmAes128
andGcmAes256
. Defaults toGcmAes128
. - macsec
Ckn stringKeyvault Secret Id - The ID of the Key Vault Secret that contains the MACSec CKN key for this Express Route Port Link.
- macsec
Sci booleanEnabled Should Secure Channel Identifier on the Express Route Port Link be enabled? Defaults to
false
.NOTE
macsec_ckn_keyvault_secret_id
andmacsec_cak_keyvault_secret_id
should be used together withidentity
, so that the Express Route Port instance have the right permission to access the Key Vault.- patch
Panel stringId - The ID that maps from the Express Route Port Link to the patch panel port.
- rack
Id string - The ID that maps from the patch panel port to the rack.
- router
Name string - The name of the Azure router associated with the Express Route Port Link.
- admin_
enabled bool - Whether enable administration state on the Express Route Port Link? Defaults to
false
. - connector_
type str - The connector type of the Express Route Port Link.
- id str
- The ID of this Express Route Port Link.
- interface_
name str - The interface name of the Azure router associated with the Express Route Port Link.
- macsec_
cak_ strkeyvault_ secret_ id - The ID of the Key Vault Secret that contains the Mac security CAK key for this Express Route Port Link.
- macsec_
cipher str - The MACSec cipher used for this Express Route Port Link. Possible values are
GcmAes128
andGcmAes256
. Defaults toGcmAes128
. - macsec_
ckn_ strkeyvault_ secret_ id - The ID of the Key Vault Secret that contains the MACSec CKN key for this Express Route Port Link.
- macsec_
sci_ boolenabled Should Secure Channel Identifier on the Express Route Port Link be enabled? Defaults to
false
.NOTE
macsec_ckn_keyvault_secret_id
andmacsec_cak_keyvault_secret_id
should be used together withidentity
, so that the Express Route Port instance have the right permission to access the Key Vault.- patch_
panel_ strid - The ID that maps from the Express Route Port Link to the patch panel port.
- rack_
id str - The ID that maps from the patch panel port to the rack.
- router_
name str - The name of the Azure router associated with the Express Route Port Link.
- admin
Enabled Boolean - Whether enable administration state on the Express Route Port Link? Defaults to
false
. - connector
Type String - The connector type of the Express Route Port Link.
- id String
- The ID of this Express Route Port Link.
- interface
Name String - The interface name of the Azure router associated with the Express Route Port Link.
- macsec
Cak StringKeyvault Secret Id - The ID of the Key Vault Secret that contains the Mac security CAK key for this Express Route Port Link.
- macsec
Cipher String - The MACSec cipher used for this Express Route Port Link. Possible values are
GcmAes128
andGcmAes256
. Defaults toGcmAes128
. - macsec
Ckn StringKeyvault Secret Id - The ID of the Key Vault Secret that contains the MACSec CKN key for this Express Route Port Link.
- macsec
Sci BooleanEnabled Should Secure Channel Identifier on the Express Route Port Link be enabled? Defaults to
false
.NOTE
macsec_ckn_keyvault_secret_id
andmacsec_cak_keyvault_secret_id
should be used together withidentity
, so that the Express Route Port instance have the right permission to access the Key Vault.- patch
Panel StringId - The ID that maps from the Express Route Port Link to the patch panel port.
- rack
Id String - The ID that maps from the patch panel port to the rack.
- router
Name String - The name of the Azure router associated with the Express Route Port Link.
ExpressRoutePortLink2, ExpressRoutePortLink2Args
- Admin
Enabled bool - Whether enable administration state on the Express Route Port Link? Defaults to
false
. - Connector
Type string - The connector type of the Express Route Port Link.
- Id string
- The ID of this Express Route Port Link.
- Interface
Name string - The interface name of the Azure router associated with the Express Route Port Link.
- Macsec
Cak stringKeyvault Secret Id - The ID of the Key Vault Secret that contains the Mac security CAK key for this Express Route Port Link.
- Macsec
Cipher string - The MACSec cipher used for this Express Route Port Link. Possible values are
GcmAes128
andGcmAes256
. Defaults toGcmAes128
. - Macsec
Ckn stringKeyvault Secret Id - The ID of the Key Vault Secret that contains the MACSec CKN key for this Express Route Port Link.
- Macsec
Sci boolEnabled Should Secure Channel Identifier on the Express Route Port Link be enabled? Defaults to
false
.NOTE
macsec_ckn_keyvault_secret_id
andmacsec_cak_keyvault_secret_id
should be used together withidentity
, so that the Express Route Port instance have the right permission to access the Key Vault.- Patch
Panel stringId - The ID that maps from the Express Route Port Link to the patch panel port.
- Rack
Id string - The ID that maps from the patch panel port to the rack.
- Router
Name string - The name of the Azure router associated with the Express Route Port Link.
- Admin
Enabled bool - Whether enable administration state on the Express Route Port Link? Defaults to
false
. - Connector
Type string - The connector type of the Express Route Port Link.
- Id string
- The ID of this Express Route Port Link.
- Interface
Name string - The interface name of the Azure router associated with the Express Route Port Link.
- Macsec
Cak stringKeyvault Secret Id - The ID of the Key Vault Secret that contains the Mac security CAK key for this Express Route Port Link.
- Macsec
Cipher string - The MACSec cipher used for this Express Route Port Link. Possible values are
GcmAes128
andGcmAes256
. Defaults toGcmAes128
. - Macsec
Ckn stringKeyvault Secret Id - The ID of the Key Vault Secret that contains the MACSec CKN key for this Express Route Port Link.
- Macsec
Sci boolEnabled Should Secure Channel Identifier on the Express Route Port Link be enabled? Defaults to
false
.NOTE
macsec_ckn_keyvault_secret_id
andmacsec_cak_keyvault_secret_id
should be used together withidentity
, so that the Express Route Port instance have the right permission to access the Key Vault.- Patch
Panel stringId - The ID that maps from the Express Route Port Link to the patch panel port.
- Rack
Id string - The ID that maps from the patch panel port to the rack.
- Router
Name string - The name of the Azure router associated with the Express Route Port Link.
- admin
Enabled Boolean - Whether enable administration state on the Express Route Port Link? Defaults to
false
. - connector
Type String - The connector type of the Express Route Port Link.
- id String
- The ID of this Express Route Port Link.
- interface
Name String - The interface name of the Azure router associated with the Express Route Port Link.
- macsec
Cak StringKeyvault Secret Id - The ID of the Key Vault Secret that contains the Mac security CAK key for this Express Route Port Link.
- macsec
Cipher String - The MACSec cipher used for this Express Route Port Link. Possible values are
GcmAes128
andGcmAes256
. Defaults toGcmAes128
. - macsec
Ckn StringKeyvault Secret Id - The ID of the Key Vault Secret that contains the MACSec CKN key for this Express Route Port Link.
- macsec
Sci BooleanEnabled Should Secure Channel Identifier on the Express Route Port Link be enabled? Defaults to
false
.NOTE
macsec_ckn_keyvault_secret_id
andmacsec_cak_keyvault_secret_id
should be used together withidentity
, so that the Express Route Port instance have the right permission to access the Key Vault.- patch
Panel StringId - The ID that maps from the Express Route Port Link to the patch panel port.
- rack
Id String - The ID that maps from the patch panel port to the rack.
- router
Name String - The name of the Azure router associated with the Express Route Port Link.
- admin
Enabled boolean - Whether enable administration state on the Express Route Port Link? Defaults to
false
. - connector
Type string - The connector type of the Express Route Port Link.
- id string
- The ID of this Express Route Port Link.
- interface
Name string - The interface name of the Azure router associated with the Express Route Port Link.
- macsec
Cak stringKeyvault Secret Id - The ID of the Key Vault Secret that contains the Mac security CAK key for this Express Route Port Link.
- macsec
Cipher string - The MACSec cipher used for this Express Route Port Link. Possible values are
GcmAes128
andGcmAes256
. Defaults toGcmAes128
. - macsec
Ckn stringKeyvault Secret Id - The ID of the Key Vault Secret that contains the MACSec CKN key for this Express Route Port Link.
- macsec
Sci booleanEnabled Should Secure Channel Identifier on the Express Route Port Link be enabled? Defaults to
false
.NOTE
macsec_ckn_keyvault_secret_id
andmacsec_cak_keyvault_secret_id
should be used together withidentity
, so that the Express Route Port instance have the right permission to access the Key Vault.- patch
Panel stringId - The ID that maps from the Express Route Port Link to the patch panel port.
- rack
Id string - The ID that maps from the patch panel port to the rack.
- router
Name string - The name of the Azure router associated with the Express Route Port Link.
- admin_
enabled bool - Whether enable administration state on the Express Route Port Link? Defaults to
false
. - connector_
type str - The connector type of the Express Route Port Link.
- id str
- The ID of this Express Route Port Link.
- interface_
name str - The interface name of the Azure router associated with the Express Route Port Link.
- macsec_
cak_ strkeyvault_ secret_ id - The ID of the Key Vault Secret that contains the Mac security CAK key for this Express Route Port Link.
- macsec_
cipher str - The MACSec cipher used for this Express Route Port Link. Possible values are
GcmAes128
andGcmAes256
. Defaults toGcmAes128
. - macsec_
ckn_ strkeyvault_ secret_ id - The ID of the Key Vault Secret that contains the MACSec CKN key for this Express Route Port Link.
- macsec_
sci_ boolenabled Should Secure Channel Identifier on the Express Route Port Link be enabled? Defaults to
false
.NOTE
macsec_ckn_keyvault_secret_id
andmacsec_cak_keyvault_secret_id
should be used together withidentity
, so that the Express Route Port instance have the right permission to access the Key Vault.- patch_
panel_ strid - The ID that maps from the Express Route Port Link to the patch panel port.
- rack_
id str - The ID that maps from the patch panel port to the rack.
- router_
name str - The name of the Azure router associated with the Express Route Port Link.
- admin
Enabled Boolean - Whether enable administration state on the Express Route Port Link? Defaults to
false
. - connector
Type String - The connector type of the Express Route Port Link.
- id String
- The ID of this Express Route Port Link.
- interface
Name String - The interface name of the Azure router associated with the Express Route Port Link.
- macsec
Cak StringKeyvault Secret Id - The ID of the Key Vault Secret that contains the Mac security CAK key for this Express Route Port Link.
- macsec
Cipher String - The MACSec cipher used for this Express Route Port Link. Possible values are
GcmAes128
andGcmAes256
. Defaults toGcmAes128
. - macsec
Ckn StringKeyvault Secret Id - The ID of the Key Vault Secret that contains the MACSec CKN key for this Express Route Port Link.
- macsec
Sci BooleanEnabled Should Secure Channel Identifier on the Express Route Port Link be enabled? Defaults to
false
.NOTE
macsec_ckn_keyvault_secret_id
andmacsec_cak_keyvault_secret_id
should be used together withidentity
, so that the Express Route Port instance have the right permission to access the Key Vault.- patch
Panel StringId - The ID that maps from the Express Route Port Link to the patch panel port.
- rack
Id String - The ID that maps from the patch panel port to the rack.
- router
Name String - The name of the Azure router associated with the Express Route Port Link.
Import
Express Route Ports can be imported using the resource id
, e.g.
$ pulumi import azure:network/expressRoutePort:ExpressRoutePort example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.Network/expressRoutePorts/port1
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Classic pulumi/pulumi-azure
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
azurerm
Terraform Provider.