PhysicalConnectionArgs

data class PhysicalConnectionArgs(val accessPointId: Output<String>? = null, val bandwidth: Output<String>? = null, val circuitCode: Output<String>? = null, val description: Output<String>? = null, val lineOperator: Output<String>? = null, val peerLocation: Output<String>? = null, val period: Output<Int>? = null, val physicalConnectionName: Output<String>? = null, val portType: Output<String>? = null, val pricingCycle: Output<String>? = null, val redundantPhysicalConnectionId: Output<String>? = null, val status: Output<String>? = null, val type: Output<String>? = null) : ConvertibleToJava<PhysicalConnectionArgs>

Provides a Express Connect Physical Connection resource. For information about Express Connect Physical Connection and how to use it, see What is Physical Connection.

NOTE: Available since v1.132.0.

Example Usage

Basic Usage

import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";
const domestic = new alicloud.expressconnect.PhysicalConnection("domestic", {
accessPointId: "ap-cn-hangzhou-yh-B",
lineOperator: "CT",
peerLocation: "example_value",
physicalConnectionName: "example_value",
type: "VPC",
description: "my domestic connection",
portType: "1000Base-LX",
bandwidth: "100",
});
const international = new alicloud.expressconnect.PhysicalConnection("international", {
accessPointId: "ap-sg-singpore-A",
lineOperator: "Other",
peerLocation: "example_value",
physicalConnectionName: "example_value",
type: "VPC",
description: "my domestic connection",
portType: "1000Base-LX",
bandwidth: "100",
});
import pulumi
import pulumi_alicloud as alicloud
domestic = alicloud.expressconnect.PhysicalConnection("domestic",
access_point_id="ap-cn-hangzhou-yh-B",
line_operator="CT",
peer_location="example_value",
physical_connection_name="example_value",
type="VPC",
description="my domestic connection",
port_type="1000Base-LX",
bandwidth="100")
international = alicloud.expressconnect.PhysicalConnection("international",
access_point_id="ap-sg-singpore-A",
line_operator="Other",
peer_location="example_value",
physical_connection_name="example_value",
type="VPC",
description="my domestic connection",
port_type="1000Base-LX",
bandwidth="100")
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AliCloud = Pulumi.AliCloud;
return await Deployment.RunAsync(() =>
{
var domestic = new AliCloud.ExpressConnect.PhysicalConnection("domestic", new()
{
AccessPointId = "ap-cn-hangzhou-yh-B",
LineOperator = "CT",
PeerLocation = "example_value",
PhysicalConnectionName = "example_value",
Type = "VPC",
Description = "my domestic connection",
PortType = "1000Base-LX",
Bandwidth = "100",
});
var international = new AliCloud.ExpressConnect.PhysicalConnection("international", new()
{
AccessPointId = "ap-sg-singpore-A",
LineOperator = "Other",
PeerLocation = "example_value",
PhysicalConnectionName = "example_value",
Type = "VPC",
Description = "my domestic connection",
PortType = "1000Base-LX",
Bandwidth = "100",
});
});
package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/expressconnect"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := expressconnect.NewPhysicalConnection(ctx, "domestic", &expressconnect.PhysicalConnectionArgs{
AccessPointId: pulumi.String("ap-cn-hangzhou-yh-B"),
LineOperator: pulumi.String("CT"),
PeerLocation: pulumi.String("example_value"),
PhysicalConnectionName: pulumi.String("example_value"),
Type: pulumi.String("VPC"),
Description: pulumi.String("my domestic connection"),
PortType: pulumi.String("1000Base-LX"),
Bandwidth: pulumi.String("100"),
})
if err != nil {
return err
}
_, err = expressconnect.NewPhysicalConnection(ctx, "international", &expressconnect.PhysicalConnectionArgs{
AccessPointId: pulumi.String("ap-sg-singpore-A"),
LineOperator: pulumi.String("Other"),
PeerLocation: pulumi.String("example_value"),
PhysicalConnectionName: pulumi.String("example_value"),
Type: pulumi.String("VPC"),
Description: pulumi.String("my domestic connection"),
PortType: pulumi.String("1000Base-LX"),
Bandwidth: pulumi.String("100"),
})
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.alicloud.expressconnect.PhysicalConnection;
import com.pulumi.alicloud.expressconnect.PhysicalConnectionArgs;
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 domestic = new PhysicalConnection("domestic", PhysicalConnectionArgs.builder()
.accessPointId("ap-cn-hangzhou-yh-B")
.lineOperator("CT")
.peerLocation("example_value")
.physicalConnectionName("example_value")
.type("VPC")
.description("my domestic connection")
.portType("1000Base-LX")
.bandwidth("100")
.build());
var international = new PhysicalConnection("international", PhysicalConnectionArgs.builder()
.accessPointId("ap-sg-singpore-A")
.lineOperator("Other")
.peerLocation("example_value")
.physicalConnectionName("example_value")
.type("VPC")
.description("my domestic connection")
.portType("1000Base-LX")
.bandwidth("100")
.build());
}
}
resources:
domestic:
type: alicloud:expressconnect:PhysicalConnection
properties:
accessPointId: ap-cn-hangzhou-yh-B
lineOperator: CT
peerLocation: example_value
physicalConnectionName: example_value
type: VPC
description: my domestic connection
portType: 1000Base-LX
bandwidth: 100
international:
type: alicloud:expressconnect:PhysicalConnection
properties:
accessPointId: ap-sg-singpore-A
lineOperator: Other
peerLocation: example_value
physicalConnectionName: example_value
type: VPC
description: my domestic connection
portType: 1000Base-LX
bandwidth: 100

Import

Express Connect Physical Connection can be imported using the id, e.g.

$ pulumi import alicloud:expressconnect/physicalConnection:PhysicalConnection example <id>

Constructors

Link copied to clipboard
constructor(accessPointId: Output<String>? = null, bandwidth: Output<String>? = null, circuitCode: Output<String>? = null, description: Output<String>? = null, lineOperator: Output<String>? = null, peerLocation: Output<String>? = null, period: Output<Int>? = null, physicalConnectionName: Output<String>? = null, portType: Output<String>? = null, pricingCycle: Output<String>? = null, redundantPhysicalConnectionId: Output<String>? = null, status: Output<String>? = null, type: Output<String>? = null)

Properties

Link copied to clipboard
val accessPointId: Output<String>? = null

The access point ID of the Express Connect circuit.

Link copied to clipboard
val bandwidth: Output<String>? = null

The maximum bandwidth of the hosted connection.

Link copied to clipboard
val circuitCode: Output<String>? = null

The circuit code of the Express Connect circuit.

Link copied to clipboard
val description: Output<String>? = null

The description of the Express Connect circuit.

Link copied to clipboard
val lineOperator: Output<String>? = null

The connectivity provider of the Express Connect circuit. Valid values:

Link copied to clipboard
val peerLocation: Output<String>? = null

The geographical location of the data center.

Link copied to clipboard
val period: Output<Int>? = null

The subscription duration. Valid values:

Link copied to clipboard
val physicalConnectionName: Output<String>? = null

The name of the Express Connect circuit.

Link copied to clipboard
val portType: Output<String>? = null

The port type of the Express Connect circuit. Valid values:

Link copied to clipboard
val pricingCycle: Output<String>? = null

The billing cycle of the subscription. Default value: Month. Valid values: Month, Year.

Link copied to clipboard

The ID of the redundant Express Connect circuit. NOTE: From version 1.230.1, redundant_physical_connection_id cannot be modified.

Link copied to clipboard
val status: Output<String>? = null

The status of the Express Connect circuit. Valid values: Confirmed, Enabled, Canceled, Terminated. NOTE: From version 1.230.1, status can be set to Confirmed. If you want to set status to Enabled, period must be set.

Link copied to clipboard
val type: Output<String>? = null

The type of Express Connect circuit. Default value: VPC. Valid values: VPC.

Functions

Link copied to clipboard
open override fun toJava(): PhysicalConnectionArgs