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 physicalConnectionName: Output<String>? = null, val portType: 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

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")
.bandwidth(100)
.description("my domestic connection")
.lineOperator("CT")
.peerLocation("example_value")
.physicalConnectionName("example_value")
.portType("1000Base-LX")
.type("VPC")
.build());
var international = new PhysicalConnection("international", PhysicalConnectionArgs.builder()
.accessPointId("ap-sg-singpore-A")
.bandwidth(100)
.description("my domestic connection")
.lineOperator("Other")
.peerLocation("example_value")
.physicalConnectionName("example_value")
.portType("1000Base-LX")
.type("VPC")
.build());
}
}

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
fun PhysicalConnectionArgs(accessPointId: Output<String>? = null, bandwidth: Output<String>? = null, circuitCode: Output<String>? = null, description: Output<String>? = null, lineOperator: Output<String>? = null, peerLocation: Output<String>? = null, physicalConnectionName: Output<String>? = null, portType: Output<String>? = null, redundantPhysicalConnectionId: Output<String>? = null, status: Output<String>? = null, type: Output<String>? = null)

Functions

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

Properties

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

The Physical Leased Line Access Point ID.

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

On the Bandwidth of the ECC Service and Physical Connection.

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

Operators for Physical Connection Circuit Provided Coding.

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

The Physical Connection to Which the Description.

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

Provides Access to the Physical Line Operator. Valid values:

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

and an on-Premises Data Center Location.

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

on Behalf of the Resource Name of the Resources-Attribute Field.

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

The Physical Leased Line Access Port Type. Valid value:

Link copied to clipboard

Redundant Physical Connection to Which the ID.

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

Resources on Behalf of a State of the Resource Attribute Field. Valid values: Canceled, Enabled, Terminated.

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

Physical Private Line of Type. Default Value: VPC.