1. Packages
  2. Alicloud Provider
  3. API Docs
  4. expressconnect
  5. PhysicalConnection
Alibaba Cloud v3.62.1 published on Monday, Sep 16, 2024 by Pulumi

alicloud.expressconnect.PhysicalConnection

Explore with Pulumi AI

alicloud logo
Alibaba Cloud v3.62.1 published on Monday, Sep 16, 2024 by Pulumi

    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")
    
    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
    	})
    }
    
    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 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
    

    Create PhysicalConnection Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new PhysicalConnection(name: string, args: PhysicalConnectionArgs, opts?: CustomResourceOptions);
    @overload
    def PhysicalConnection(resource_name: str,
                           args: PhysicalConnectionArgs,
                           opts: Optional[ResourceOptions] = None)
    
    @overload
    def PhysicalConnection(resource_name: str,
                           opts: Optional[ResourceOptions] = None,
                           line_operator: Optional[str] = None,
                           access_point_id: Optional[str] = None,
                           period: Optional[int] = None,
                           description: Optional[str] = None,
                           circuit_code: Optional[str] = None,
                           peer_location: Optional[str] = None,
                           bandwidth: Optional[str] = None,
                           physical_connection_name: Optional[str] = None,
                           port_type: Optional[str] = None,
                           pricing_cycle: Optional[str] = None,
                           redundant_physical_connection_id: Optional[str] = None,
                           status: Optional[str] = None,
                           type: Optional[str] = None)
    func NewPhysicalConnection(ctx *Context, name string, args PhysicalConnectionArgs, opts ...ResourceOption) (*PhysicalConnection, error)
    public PhysicalConnection(string name, PhysicalConnectionArgs args, CustomResourceOptions? opts = null)
    public PhysicalConnection(String name, PhysicalConnectionArgs args)
    public PhysicalConnection(String name, PhysicalConnectionArgs args, CustomResourceOptions options)
    
    type: alicloud:expressconnect:PhysicalConnection
    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 PhysicalConnectionArgs
    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 PhysicalConnectionArgs
    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 PhysicalConnectionArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args PhysicalConnectionArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args PhysicalConnectionArgs
    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 physicalConnectionResource = new AliCloud.ExpressConnect.PhysicalConnection("physicalConnectionResource", new()
    {
        LineOperator = "string",
        AccessPointId = "string",
        Period = 0,
        Description = "string",
        CircuitCode = "string",
        PeerLocation = "string",
        Bandwidth = "string",
        PhysicalConnectionName = "string",
        PortType = "string",
        PricingCycle = "string",
        RedundantPhysicalConnectionId = "string",
        Status = "string",
        Type = "string",
    });
    
    example, err := expressconnect.NewPhysicalConnection(ctx, "physicalConnectionResource", &expressconnect.PhysicalConnectionArgs{
    	LineOperator:                  pulumi.String("string"),
    	AccessPointId:                 pulumi.String("string"),
    	Period:                        pulumi.Int(0),
    	Description:                   pulumi.String("string"),
    	CircuitCode:                   pulumi.String("string"),
    	PeerLocation:                  pulumi.String("string"),
    	Bandwidth:                     pulumi.String("string"),
    	PhysicalConnectionName:        pulumi.String("string"),
    	PortType:                      pulumi.String("string"),
    	PricingCycle:                  pulumi.String("string"),
    	RedundantPhysicalConnectionId: pulumi.String("string"),
    	Status:                        pulumi.String("string"),
    	Type:                          pulumi.String("string"),
    })
    
    var physicalConnectionResource = new PhysicalConnection("physicalConnectionResource", PhysicalConnectionArgs.builder()
        .lineOperator("string")
        .accessPointId("string")
        .period(0)
        .description("string")
        .circuitCode("string")
        .peerLocation("string")
        .bandwidth("string")
        .physicalConnectionName("string")
        .portType("string")
        .pricingCycle("string")
        .redundantPhysicalConnectionId("string")
        .status("string")
        .type("string")
        .build());
    
    physical_connection_resource = alicloud.expressconnect.PhysicalConnection("physicalConnectionResource",
        line_operator="string",
        access_point_id="string",
        period=0,
        description="string",
        circuit_code="string",
        peer_location="string",
        bandwidth="string",
        physical_connection_name="string",
        port_type="string",
        pricing_cycle="string",
        redundant_physical_connection_id="string",
        status="string",
        type="string")
    
    const physicalConnectionResource = new alicloud.expressconnect.PhysicalConnection("physicalConnectionResource", {
        lineOperator: "string",
        accessPointId: "string",
        period: 0,
        description: "string",
        circuitCode: "string",
        peerLocation: "string",
        bandwidth: "string",
        physicalConnectionName: "string",
        portType: "string",
        pricingCycle: "string",
        redundantPhysicalConnectionId: "string",
        status: "string",
        type: "string",
    });
    
    type: alicloud:expressconnect:PhysicalConnection
    properties:
        accessPointId: string
        bandwidth: string
        circuitCode: string
        description: string
        lineOperator: string
        peerLocation: string
        period: 0
        physicalConnectionName: string
        portType: string
        pricingCycle: string
        redundantPhysicalConnectionId: string
        status: string
        type: string
    

    PhysicalConnection Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The PhysicalConnection resource accepts the following input properties:

    AccessPointId string
    The access point ID of the Express Connect circuit.
    LineOperator string
    The connectivity provider of the Express Connect circuit. Valid values:

    • CT: China Telecom.
    • CU: China Unicom.
    • CM: China Mobile.
    • CO: Other connectivity providers in the Chinese mainland.
    • Equinix: Equinix.
    • Other: Other connectivity providers outside the Chinese mainland.
    Bandwidth string
    The maximum bandwidth of the hosted connection.
    CircuitCode string
    The circuit code of the Express Connect circuit.
    Description string
    The description of the Express Connect circuit.
    PeerLocation string
    The geographical location of the data center.
    Period int
    The subscription duration. Valid values:

    • If pricing_cycle is set to Month. Valid values: 1 to 9.
    • If pricing_cycle is set to Year. Valid values: 1 to 5.
    PhysicalConnectionName string
    The name of the Express Connect circuit.
    PortType string

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

    • 100Base-T: 100 Mbit/s copper Ethernet port.
    • 1000Base-T: 1000 Mbit/s copper Ethernet port.
    • 1000Base-LX: 1000 Mbit/s single-mode optical port (10 km).
    • 10GBase-T: 10000 Mbit/s copper Ethernet port.
    • 10GBase-LR: 10000 Mbit/s single-mode optical port (10 km).
    • 40GBase-LR: 40000 Mbit/s single-mode optical port.
    • 100GBase-LR: 100000 Mbit/s single-mode optical port.

    NOTE: From version 1.185.0, port_type can be set to 40GBase-LR, 100GBase-LR. From version 1.230.1, port_type cannot be modified.

    PricingCycle string

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

    NOTE: period and pricing_cycle are valid only when status is set to Enabled.

    RedundantPhysicalConnectionId string
    The ID of the redundant Express Connect circuit. NOTE: From version 1.230.1, redundant_physical_connection_id cannot be modified.
    Status string
    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.
    Type string
    The type of Express Connect circuit. Default value: VPC. Valid values: VPC.
    AccessPointId string
    The access point ID of the Express Connect circuit.
    LineOperator string
    The connectivity provider of the Express Connect circuit. Valid values:

    • CT: China Telecom.
    • CU: China Unicom.
    • CM: China Mobile.
    • CO: Other connectivity providers in the Chinese mainland.
    • Equinix: Equinix.
    • Other: Other connectivity providers outside the Chinese mainland.
    Bandwidth string
    The maximum bandwidth of the hosted connection.
    CircuitCode string
    The circuit code of the Express Connect circuit.
    Description string
    The description of the Express Connect circuit.
    PeerLocation string
    The geographical location of the data center.
    Period int
    The subscription duration. Valid values:

    • If pricing_cycle is set to Month. Valid values: 1 to 9.
    • If pricing_cycle is set to Year. Valid values: 1 to 5.
    PhysicalConnectionName string
    The name of the Express Connect circuit.
    PortType string

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

    • 100Base-T: 100 Mbit/s copper Ethernet port.
    • 1000Base-T: 1000 Mbit/s copper Ethernet port.
    • 1000Base-LX: 1000 Mbit/s single-mode optical port (10 km).
    • 10GBase-T: 10000 Mbit/s copper Ethernet port.
    • 10GBase-LR: 10000 Mbit/s single-mode optical port (10 km).
    • 40GBase-LR: 40000 Mbit/s single-mode optical port.
    • 100GBase-LR: 100000 Mbit/s single-mode optical port.

    NOTE: From version 1.185.0, port_type can be set to 40GBase-LR, 100GBase-LR. From version 1.230.1, port_type cannot be modified.

    PricingCycle string

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

    NOTE: period and pricing_cycle are valid only when status is set to Enabled.

    RedundantPhysicalConnectionId string
    The ID of the redundant Express Connect circuit. NOTE: From version 1.230.1, redundant_physical_connection_id cannot be modified.
    Status string
    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.
    Type string
    The type of Express Connect circuit. Default value: VPC. Valid values: VPC.
    accessPointId String
    The access point ID of the Express Connect circuit.
    lineOperator String
    The connectivity provider of the Express Connect circuit. Valid values:

    • CT: China Telecom.
    • CU: China Unicom.
    • CM: China Mobile.
    • CO: Other connectivity providers in the Chinese mainland.
    • Equinix: Equinix.
    • Other: Other connectivity providers outside the Chinese mainland.
    bandwidth String
    The maximum bandwidth of the hosted connection.
    circuitCode String
    The circuit code of the Express Connect circuit.
    description String
    The description of the Express Connect circuit.
    peerLocation String
    The geographical location of the data center.
    period Integer
    The subscription duration. Valid values:

    • If pricing_cycle is set to Month. Valid values: 1 to 9.
    • If pricing_cycle is set to Year. Valid values: 1 to 5.
    physicalConnectionName String
    The name of the Express Connect circuit.
    portType String

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

    • 100Base-T: 100 Mbit/s copper Ethernet port.
    • 1000Base-T: 1000 Mbit/s copper Ethernet port.
    • 1000Base-LX: 1000 Mbit/s single-mode optical port (10 km).
    • 10GBase-T: 10000 Mbit/s copper Ethernet port.
    • 10GBase-LR: 10000 Mbit/s single-mode optical port (10 km).
    • 40GBase-LR: 40000 Mbit/s single-mode optical port.
    • 100GBase-LR: 100000 Mbit/s single-mode optical port.

    NOTE: From version 1.185.0, port_type can be set to 40GBase-LR, 100GBase-LR. From version 1.230.1, port_type cannot be modified.

    pricingCycle String

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

    NOTE: period and pricing_cycle are valid only when status is set to Enabled.

    redundantPhysicalConnectionId String
    The ID of the redundant Express Connect circuit. NOTE: From version 1.230.1, redundant_physical_connection_id cannot be modified.
    status String
    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.
    type String
    The type of Express Connect circuit. Default value: VPC. Valid values: VPC.
    accessPointId string
    The access point ID of the Express Connect circuit.
    lineOperator string
    The connectivity provider of the Express Connect circuit. Valid values:

    • CT: China Telecom.
    • CU: China Unicom.
    • CM: China Mobile.
    • CO: Other connectivity providers in the Chinese mainland.
    • Equinix: Equinix.
    • Other: Other connectivity providers outside the Chinese mainland.
    bandwidth string
    The maximum bandwidth of the hosted connection.
    circuitCode string
    The circuit code of the Express Connect circuit.
    description string
    The description of the Express Connect circuit.
    peerLocation string
    The geographical location of the data center.
    period number
    The subscription duration. Valid values:

    • If pricing_cycle is set to Month. Valid values: 1 to 9.
    • If pricing_cycle is set to Year. Valid values: 1 to 5.
    physicalConnectionName string
    The name of the Express Connect circuit.
    portType string

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

    • 100Base-T: 100 Mbit/s copper Ethernet port.
    • 1000Base-T: 1000 Mbit/s copper Ethernet port.
    • 1000Base-LX: 1000 Mbit/s single-mode optical port (10 km).
    • 10GBase-T: 10000 Mbit/s copper Ethernet port.
    • 10GBase-LR: 10000 Mbit/s single-mode optical port (10 km).
    • 40GBase-LR: 40000 Mbit/s single-mode optical port.
    • 100GBase-LR: 100000 Mbit/s single-mode optical port.

    NOTE: From version 1.185.0, port_type can be set to 40GBase-LR, 100GBase-LR. From version 1.230.1, port_type cannot be modified.

    pricingCycle string

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

    NOTE: period and pricing_cycle are valid only when status is set to Enabled.

    redundantPhysicalConnectionId string
    The ID of the redundant Express Connect circuit. NOTE: From version 1.230.1, redundant_physical_connection_id cannot be modified.
    status string
    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.
    type string
    The type of Express Connect circuit. Default value: VPC. Valid values: VPC.
    access_point_id str
    The access point ID of the Express Connect circuit.
    line_operator str
    The connectivity provider of the Express Connect circuit. Valid values:

    • CT: China Telecom.
    • CU: China Unicom.
    • CM: China Mobile.
    • CO: Other connectivity providers in the Chinese mainland.
    • Equinix: Equinix.
    • Other: Other connectivity providers outside the Chinese mainland.
    bandwidth str
    The maximum bandwidth of the hosted connection.
    circuit_code str
    The circuit code of the Express Connect circuit.
    description str
    The description of the Express Connect circuit.
    peer_location str
    The geographical location of the data center.
    period int
    The subscription duration. Valid values:

    • If pricing_cycle is set to Month. Valid values: 1 to 9.
    • If pricing_cycle is set to Year. Valid values: 1 to 5.
    physical_connection_name str
    The name of the Express Connect circuit.
    port_type str

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

    • 100Base-T: 100 Mbit/s copper Ethernet port.
    • 1000Base-T: 1000 Mbit/s copper Ethernet port.
    • 1000Base-LX: 1000 Mbit/s single-mode optical port (10 km).
    • 10GBase-T: 10000 Mbit/s copper Ethernet port.
    • 10GBase-LR: 10000 Mbit/s single-mode optical port (10 km).
    • 40GBase-LR: 40000 Mbit/s single-mode optical port.
    • 100GBase-LR: 100000 Mbit/s single-mode optical port.

    NOTE: From version 1.185.0, port_type can be set to 40GBase-LR, 100GBase-LR. From version 1.230.1, port_type cannot be modified.

    pricing_cycle str

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

    NOTE: period and pricing_cycle are valid only when status is set to Enabled.

    redundant_physical_connection_id str
    The ID of the redundant Express Connect circuit. NOTE: From version 1.230.1, redundant_physical_connection_id cannot be modified.
    status str
    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.
    type str
    The type of Express Connect circuit. Default value: VPC. Valid values: VPC.
    accessPointId String
    The access point ID of the Express Connect circuit.
    lineOperator String
    The connectivity provider of the Express Connect circuit. Valid values:

    • CT: China Telecom.
    • CU: China Unicom.
    • CM: China Mobile.
    • CO: Other connectivity providers in the Chinese mainland.
    • Equinix: Equinix.
    • Other: Other connectivity providers outside the Chinese mainland.
    bandwidth String
    The maximum bandwidth of the hosted connection.
    circuitCode String
    The circuit code of the Express Connect circuit.
    description String
    The description of the Express Connect circuit.
    peerLocation String
    The geographical location of the data center.
    period Number
    The subscription duration. Valid values:

    • If pricing_cycle is set to Month. Valid values: 1 to 9.
    • If pricing_cycle is set to Year. Valid values: 1 to 5.
    physicalConnectionName String
    The name of the Express Connect circuit.
    portType String

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

    • 100Base-T: 100 Mbit/s copper Ethernet port.
    • 1000Base-T: 1000 Mbit/s copper Ethernet port.
    • 1000Base-LX: 1000 Mbit/s single-mode optical port (10 km).
    • 10GBase-T: 10000 Mbit/s copper Ethernet port.
    • 10GBase-LR: 10000 Mbit/s single-mode optical port (10 km).
    • 40GBase-LR: 40000 Mbit/s single-mode optical port.
    • 100GBase-LR: 100000 Mbit/s single-mode optical port.

    NOTE: From version 1.185.0, port_type can be set to 40GBase-LR, 100GBase-LR. From version 1.230.1, port_type cannot be modified.

    pricingCycle String

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

    NOTE: period and pricing_cycle are valid only when status is set to Enabled.

    redundantPhysicalConnectionId String
    The ID of the redundant Express Connect circuit. NOTE: From version 1.230.1, redundant_physical_connection_id cannot be modified.
    status String
    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.
    type String
    The type of Express Connect circuit. Default value: VPC. Valid values: VPC.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the PhysicalConnection resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    OrderId string
    The ID of the order that is placed. Note: order_id takes effect only if status is set to Enabled.
    Id string
    The provider-assigned unique ID for this managed resource.
    OrderId string
    The ID of the order that is placed. Note: order_id takes effect only if status is set to Enabled.
    id String
    The provider-assigned unique ID for this managed resource.
    orderId String
    The ID of the order that is placed. Note: order_id takes effect only if status is set to Enabled.
    id string
    The provider-assigned unique ID for this managed resource.
    orderId string
    The ID of the order that is placed. Note: order_id takes effect only if status is set to Enabled.
    id str
    The provider-assigned unique ID for this managed resource.
    order_id str
    The ID of the order that is placed. Note: order_id takes effect only if status is set to Enabled.
    id String
    The provider-assigned unique ID for this managed resource.
    orderId String
    The ID of the order that is placed. Note: order_id takes effect only if status is set to Enabled.

    Look up Existing PhysicalConnection Resource

    Get an existing PhysicalConnection 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?: PhysicalConnectionState, opts?: CustomResourceOptions): PhysicalConnection
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            access_point_id: Optional[str] = None,
            bandwidth: Optional[str] = None,
            circuit_code: Optional[str] = None,
            description: Optional[str] = None,
            line_operator: Optional[str] = None,
            order_id: Optional[str] = None,
            peer_location: Optional[str] = None,
            period: Optional[int] = None,
            physical_connection_name: Optional[str] = None,
            port_type: Optional[str] = None,
            pricing_cycle: Optional[str] = None,
            redundant_physical_connection_id: Optional[str] = None,
            status: Optional[str] = None,
            type: Optional[str] = None) -> PhysicalConnection
    func GetPhysicalConnection(ctx *Context, name string, id IDInput, state *PhysicalConnectionState, opts ...ResourceOption) (*PhysicalConnection, error)
    public static PhysicalConnection Get(string name, Input<string> id, PhysicalConnectionState? state, CustomResourceOptions? opts = null)
    public static PhysicalConnection get(String name, Output<String> id, PhysicalConnectionState 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.
    The following state arguments are supported:
    AccessPointId string
    The access point ID of the Express Connect circuit.
    Bandwidth string
    The maximum bandwidth of the hosted connection.
    CircuitCode string
    The circuit code of the Express Connect circuit.
    Description string
    The description of the Express Connect circuit.
    LineOperator string
    The connectivity provider of the Express Connect circuit. Valid values:

    • CT: China Telecom.
    • CU: China Unicom.
    • CM: China Mobile.
    • CO: Other connectivity providers in the Chinese mainland.
    • Equinix: Equinix.
    • Other: Other connectivity providers outside the Chinese mainland.
    OrderId string
    The ID of the order that is placed. Note: order_id takes effect only if status is set to Enabled.
    PeerLocation string
    The geographical location of the data center.
    Period int
    The subscription duration. Valid values:

    • If pricing_cycle is set to Month. Valid values: 1 to 9.
    • If pricing_cycle is set to Year. Valid values: 1 to 5.
    PhysicalConnectionName string
    The name of the Express Connect circuit.
    PortType string

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

    • 100Base-T: 100 Mbit/s copper Ethernet port.
    • 1000Base-T: 1000 Mbit/s copper Ethernet port.
    • 1000Base-LX: 1000 Mbit/s single-mode optical port (10 km).
    • 10GBase-T: 10000 Mbit/s copper Ethernet port.
    • 10GBase-LR: 10000 Mbit/s single-mode optical port (10 km).
    • 40GBase-LR: 40000 Mbit/s single-mode optical port.
    • 100GBase-LR: 100000 Mbit/s single-mode optical port.

    NOTE: From version 1.185.0, port_type can be set to 40GBase-LR, 100GBase-LR. From version 1.230.1, port_type cannot be modified.

    PricingCycle string

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

    NOTE: period and pricing_cycle are valid only when status is set to Enabled.

    RedundantPhysicalConnectionId string
    The ID of the redundant Express Connect circuit. NOTE: From version 1.230.1, redundant_physical_connection_id cannot be modified.
    Status string
    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.
    Type string
    The type of Express Connect circuit. Default value: VPC. Valid values: VPC.
    AccessPointId string
    The access point ID of the Express Connect circuit.
    Bandwidth string
    The maximum bandwidth of the hosted connection.
    CircuitCode string
    The circuit code of the Express Connect circuit.
    Description string
    The description of the Express Connect circuit.
    LineOperator string
    The connectivity provider of the Express Connect circuit. Valid values:

    • CT: China Telecom.
    • CU: China Unicom.
    • CM: China Mobile.
    • CO: Other connectivity providers in the Chinese mainland.
    • Equinix: Equinix.
    • Other: Other connectivity providers outside the Chinese mainland.
    OrderId string
    The ID of the order that is placed. Note: order_id takes effect only if status is set to Enabled.
    PeerLocation string
    The geographical location of the data center.
    Period int
    The subscription duration. Valid values:

    • If pricing_cycle is set to Month. Valid values: 1 to 9.
    • If pricing_cycle is set to Year. Valid values: 1 to 5.
    PhysicalConnectionName string
    The name of the Express Connect circuit.
    PortType string

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

    • 100Base-T: 100 Mbit/s copper Ethernet port.
    • 1000Base-T: 1000 Mbit/s copper Ethernet port.
    • 1000Base-LX: 1000 Mbit/s single-mode optical port (10 km).
    • 10GBase-T: 10000 Mbit/s copper Ethernet port.
    • 10GBase-LR: 10000 Mbit/s single-mode optical port (10 km).
    • 40GBase-LR: 40000 Mbit/s single-mode optical port.
    • 100GBase-LR: 100000 Mbit/s single-mode optical port.

    NOTE: From version 1.185.0, port_type can be set to 40GBase-LR, 100GBase-LR. From version 1.230.1, port_type cannot be modified.

    PricingCycle string

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

    NOTE: period and pricing_cycle are valid only when status is set to Enabled.

    RedundantPhysicalConnectionId string
    The ID of the redundant Express Connect circuit. NOTE: From version 1.230.1, redundant_physical_connection_id cannot be modified.
    Status string
    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.
    Type string
    The type of Express Connect circuit. Default value: VPC. Valid values: VPC.
    accessPointId String
    The access point ID of the Express Connect circuit.
    bandwidth String
    The maximum bandwidth of the hosted connection.
    circuitCode String
    The circuit code of the Express Connect circuit.
    description String
    The description of the Express Connect circuit.
    lineOperator String
    The connectivity provider of the Express Connect circuit. Valid values:

    • CT: China Telecom.
    • CU: China Unicom.
    • CM: China Mobile.
    • CO: Other connectivity providers in the Chinese mainland.
    • Equinix: Equinix.
    • Other: Other connectivity providers outside the Chinese mainland.
    orderId String
    The ID of the order that is placed. Note: order_id takes effect only if status is set to Enabled.
    peerLocation String
    The geographical location of the data center.
    period Integer
    The subscription duration. Valid values:

    • If pricing_cycle is set to Month. Valid values: 1 to 9.
    • If pricing_cycle is set to Year. Valid values: 1 to 5.
    physicalConnectionName String
    The name of the Express Connect circuit.
    portType String

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

    • 100Base-T: 100 Mbit/s copper Ethernet port.
    • 1000Base-T: 1000 Mbit/s copper Ethernet port.
    • 1000Base-LX: 1000 Mbit/s single-mode optical port (10 km).
    • 10GBase-T: 10000 Mbit/s copper Ethernet port.
    • 10GBase-LR: 10000 Mbit/s single-mode optical port (10 km).
    • 40GBase-LR: 40000 Mbit/s single-mode optical port.
    • 100GBase-LR: 100000 Mbit/s single-mode optical port.

    NOTE: From version 1.185.0, port_type can be set to 40GBase-LR, 100GBase-LR. From version 1.230.1, port_type cannot be modified.

    pricingCycle String

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

    NOTE: period and pricing_cycle are valid only when status is set to Enabled.

    redundantPhysicalConnectionId String
    The ID of the redundant Express Connect circuit. NOTE: From version 1.230.1, redundant_physical_connection_id cannot be modified.
    status String
    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.
    type String
    The type of Express Connect circuit. Default value: VPC. Valid values: VPC.
    accessPointId string
    The access point ID of the Express Connect circuit.
    bandwidth string
    The maximum bandwidth of the hosted connection.
    circuitCode string
    The circuit code of the Express Connect circuit.
    description string
    The description of the Express Connect circuit.
    lineOperator string
    The connectivity provider of the Express Connect circuit. Valid values:

    • CT: China Telecom.
    • CU: China Unicom.
    • CM: China Mobile.
    • CO: Other connectivity providers in the Chinese mainland.
    • Equinix: Equinix.
    • Other: Other connectivity providers outside the Chinese mainland.
    orderId string
    The ID of the order that is placed. Note: order_id takes effect only if status is set to Enabled.
    peerLocation string
    The geographical location of the data center.
    period number
    The subscription duration. Valid values:

    • If pricing_cycle is set to Month. Valid values: 1 to 9.
    • If pricing_cycle is set to Year. Valid values: 1 to 5.
    physicalConnectionName string
    The name of the Express Connect circuit.
    portType string

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

    • 100Base-T: 100 Mbit/s copper Ethernet port.
    • 1000Base-T: 1000 Mbit/s copper Ethernet port.
    • 1000Base-LX: 1000 Mbit/s single-mode optical port (10 km).
    • 10GBase-T: 10000 Mbit/s copper Ethernet port.
    • 10GBase-LR: 10000 Mbit/s single-mode optical port (10 km).
    • 40GBase-LR: 40000 Mbit/s single-mode optical port.
    • 100GBase-LR: 100000 Mbit/s single-mode optical port.

    NOTE: From version 1.185.0, port_type can be set to 40GBase-LR, 100GBase-LR. From version 1.230.1, port_type cannot be modified.

    pricingCycle string

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

    NOTE: period and pricing_cycle are valid only when status is set to Enabled.

    redundantPhysicalConnectionId string
    The ID of the redundant Express Connect circuit. NOTE: From version 1.230.1, redundant_physical_connection_id cannot be modified.
    status string
    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.
    type string
    The type of Express Connect circuit. Default value: VPC. Valid values: VPC.
    access_point_id str
    The access point ID of the Express Connect circuit.
    bandwidth str
    The maximum bandwidth of the hosted connection.
    circuit_code str
    The circuit code of the Express Connect circuit.
    description str
    The description of the Express Connect circuit.
    line_operator str
    The connectivity provider of the Express Connect circuit. Valid values:

    • CT: China Telecom.
    • CU: China Unicom.
    • CM: China Mobile.
    • CO: Other connectivity providers in the Chinese mainland.
    • Equinix: Equinix.
    • Other: Other connectivity providers outside the Chinese mainland.
    order_id str
    The ID of the order that is placed. Note: order_id takes effect only if status is set to Enabled.
    peer_location str
    The geographical location of the data center.
    period int
    The subscription duration. Valid values:

    • If pricing_cycle is set to Month. Valid values: 1 to 9.
    • If pricing_cycle is set to Year. Valid values: 1 to 5.
    physical_connection_name str
    The name of the Express Connect circuit.
    port_type str

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

    • 100Base-T: 100 Mbit/s copper Ethernet port.
    • 1000Base-T: 1000 Mbit/s copper Ethernet port.
    • 1000Base-LX: 1000 Mbit/s single-mode optical port (10 km).
    • 10GBase-T: 10000 Mbit/s copper Ethernet port.
    • 10GBase-LR: 10000 Mbit/s single-mode optical port (10 km).
    • 40GBase-LR: 40000 Mbit/s single-mode optical port.
    • 100GBase-LR: 100000 Mbit/s single-mode optical port.

    NOTE: From version 1.185.0, port_type can be set to 40GBase-LR, 100GBase-LR. From version 1.230.1, port_type cannot be modified.

    pricing_cycle str

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

    NOTE: period and pricing_cycle are valid only when status is set to Enabled.

    redundant_physical_connection_id str
    The ID of the redundant Express Connect circuit. NOTE: From version 1.230.1, redundant_physical_connection_id cannot be modified.
    status str
    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.
    type str
    The type of Express Connect circuit. Default value: VPC. Valid values: VPC.
    accessPointId String
    The access point ID of the Express Connect circuit.
    bandwidth String
    The maximum bandwidth of the hosted connection.
    circuitCode String
    The circuit code of the Express Connect circuit.
    description String
    The description of the Express Connect circuit.
    lineOperator String
    The connectivity provider of the Express Connect circuit. Valid values:

    • CT: China Telecom.
    • CU: China Unicom.
    • CM: China Mobile.
    • CO: Other connectivity providers in the Chinese mainland.
    • Equinix: Equinix.
    • Other: Other connectivity providers outside the Chinese mainland.
    orderId String
    The ID of the order that is placed. Note: order_id takes effect only if status is set to Enabled.
    peerLocation String
    The geographical location of the data center.
    period Number
    The subscription duration. Valid values:

    • If pricing_cycle is set to Month. Valid values: 1 to 9.
    • If pricing_cycle is set to Year. Valid values: 1 to 5.
    physicalConnectionName String
    The name of the Express Connect circuit.
    portType String

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

    • 100Base-T: 100 Mbit/s copper Ethernet port.
    • 1000Base-T: 1000 Mbit/s copper Ethernet port.
    • 1000Base-LX: 1000 Mbit/s single-mode optical port (10 km).
    • 10GBase-T: 10000 Mbit/s copper Ethernet port.
    • 10GBase-LR: 10000 Mbit/s single-mode optical port (10 km).
    • 40GBase-LR: 40000 Mbit/s single-mode optical port.
    • 100GBase-LR: 100000 Mbit/s single-mode optical port.

    NOTE: From version 1.185.0, port_type can be set to 40GBase-LR, 100GBase-LR. From version 1.230.1, port_type cannot be modified.

    pricingCycle String

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

    NOTE: period and pricing_cycle are valid only when status is set to Enabled.

    redundantPhysicalConnectionId String
    The ID of the redundant Express Connect circuit. NOTE: From version 1.230.1, redundant_physical_connection_id cannot be modified.
    status String
    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.
    type String
    The type of Express Connect circuit. Default value: VPC. Valid values: VPC.

    Import

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

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

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    Alibaba Cloud pulumi/pulumi-alicloud
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the alicloud Terraform Provider.
    alicloud logo
    Alibaba Cloud v3.62.1 published on Monday, Sep 16, 2024 by Pulumi