Volcengine v0.0.27 published on Tuesday, Dec 10, 2024 by Volcengine
volcengine.direct_connect.Connections
Explore with Pulumi AI
Use this data source to query detailed information of direct connect connections
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as volcengine from "@pulumi/volcengine";
const foo = volcengine.direct_connect.Connections({
    directConnectConnectionName: "tf_test",
});
import pulumi
import pulumi_volcengine as volcengine
foo = volcengine.direct_connect.connections(direct_connect_connection_name="tf_test")
package main
import (
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
	"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/direct_connect"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := direct_connect.Connections(ctx, &direct_connect.ConnectionsArgs{
			DirectConnectConnectionName: pulumi.StringRef("tf_test"),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Volcengine = Pulumi.Volcengine;
return await Deployment.RunAsync(() => 
{
    var foo = Volcengine.Direct_connect.Connections.Invoke(new()
    {
        DirectConnectConnectionName = "tf_test",
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.volcengine.direct_connect.Direct_connectFunctions;
import com.pulumi.volcengine.direct_connect.inputs.ConnectionsArgs;
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) {
        final var foo = Direct_connectFunctions.Connections(ConnectionsArgs.builder()
            .directConnectConnectionName("tf_test")
            .build());
    }
}
variables:
  foo:
    fn::invoke:
      Function: volcengine:direct_connect:Connections
      Arguments:
        directConnectConnectionName: tf_test
Using Connections
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function connections(args: ConnectionsArgs, opts?: InvokeOptions): Promise<ConnectionsResult>
function connectionsOutput(args: ConnectionsOutputArgs, opts?: InvokeOptions): Output<ConnectionsResult>def connections(connection_type: Optional[str] = None,
                direct_connect_access_point_id: Optional[str] = None,
                direct_connect_connection_name: Optional[str] = None,
                ids: Optional[Sequence[str]] = None,
                line_operator: Optional[str] = None,
                name_regex: Optional[str] = None,
                output_file: Optional[str] = None,
                peer_location: Optional[str] = None,
                tag_filters: Optional[Sequence[ConnectionsTagFilter]] = None,
                opts: Optional[InvokeOptions] = None) -> ConnectionsResult
def connections_output(connection_type: Optional[pulumi.Input[str]] = None,
                direct_connect_access_point_id: Optional[pulumi.Input[str]] = None,
                direct_connect_connection_name: Optional[pulumi.Input[str]] = None,
                ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                line_operator: Optional[pulumi.Input[str]] = None,
                name_regex: Optional[pulumi.Input[str]] = None,
                output_file: Optional[pulumi.Input[str]] = None,
                peer_location: Optional[pulumi.Input[str]] = None,
                tag_filters: Optional[pulumi.Input[Sequence[pulumi.Input[ConnectionsTagFilterArgs]]]] = None,
                opts: Optional[InvokeOptions] = None) -> Output[ConnectionsResult]func Connections(ctx *Context, args *ConnectionsArgs, opts ...InvokeOption) (*ConnectionsResult, error)
func ConnectionsOutput(ctx *Context, args *ConnectionsOutputArgs, opts ...InvokeOption) ConnectionsResultOutputpublic static class Connections 
{
    public static Task<ConnectionsResult> InvokeAsync(ConnectionsArgs args, InvokeOptions? opts = null)
    public static Output<ConnectionsResult> Invoke(ConnectionsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<ConnectionsResult> connections(ConnectionsArgs args, InvokeOptions options)
public static Output<ConnectionsResult> connections(ConnectionsArgs args, InvokeOptions options)
fn::invoke:
  function: volcengine:direct_connect:Connections
  arguments:
    # arguments dictionaryThe following arguments are supported:
- ConnectionType string
- The connection type of physical leased line,valid value contains SharedConnection,DedicatedConnection.
- DirectConnect stringAccess Point Id 
- The ID of the physical leased line access point.
- DirectConnect stringConnection Name 
- The name of directi connect connection.
- Ids List<string>
- A list of IDs.
- LineOperator string
- The operator of the physical leased line,valid value contains ChinaTelecom,ChinaMobile,ChinaUnicom,ChinaOther.
- NameRegex string
- A Name Regex of Resource.
- OutputFile string
- File name where to save data source results.
- PeerLocation string
- The peer access point of the physical leased line.
- TagFilters List<ConnectionsTag Filter> 
- The filter tag of direct connect.
- ConnectionType string
- The connection type of physical leased line,valid value contains SharedConnection,DedicatedConnection.
- DirectConnect stringAccess Point Id 
- The ID of the physical leased line access point.
- DirectConnect stringConnection Name 
- The name of directi connect connection.
- Ids []string
- A list of IDs.
- LineOperator string
- The operator of the physical leased line,valid value contains ChinaTelecom,ChinaMobile,ChinaUnicom,ChinaOther.
- NameRegex string
- A Name Regex of Resource.
- OutputFile string
- File name where to save data source results.
- PeerLocation string
- The peer access point of the physical leased line.
- TagFilters []ConnectionsTag Filter 
- The filter tag of direct connect.
- connectionType String
- The connection type of physical leased line,valid value contains SharedConnection,DedicatedConnection.
- directConnect StringAccess Point Id 
- The ID of the physical leased line access point.
- directConnect StringConnection Name 
- The name of directi connect connection.
- ids List<String>
- A list of IDs.
- lineOperator String
- The operator of the physical leased line,valid value contains ChinaTelecom,ChinaMobile,ChinaUnicom,ChinaOther.
- nameRegex String
- A Name Regex of Resource.
- outputFile String
- File name where to save data source results.
- peerLocation String
- The peer access point of the physical leased line.
- tagFilters List<ConnectionsTag Filter> 
- The filter tag of direct connect.
- connectionType string
- The connection type of physical leased line,valid value contains SharedConnection,DedicatedConnection.
- directConnect stringAccess Point Id 
- The ID of the physical leased line access point.
- directConnect stringConnection Name 
- The name of directi connect connection.
- ids string[]
- A list of IDs.
- lineOperator string
- The operator of the physical leased line,valid value contains ChinaTelecom,ChinaMobile,ChinaUnicom,ChinaOther.
- nameRegex string
- A Name Regex of Resource.
- outputFile string
- File name where to save data source results.
- peerLocation string
- The peer access point of the physical leased line.
- tagFilters ConnectionsTag Filter[] 
- The filter tag of direct connect.
- connection_type str
- The connection type of physical leased line,valid value contains SharedConnection,DedicatedConnection.
- direct_connect_ straccess_ point_ id 
- The ID of the physical leased line access point.
- direct_connect_ strconnection_ name 
- The name of directi connect connection.
- ids Sequence[str]
- A list of IDs.
- line_operator str
- The operator of the physical leased line,valid value contains ChinaTelecom,ChinaMobile,ChinaUnicom,ChinaOther.
- name_regex str
- A Name Regex of Resource.
- output_file str
- File name where to save data source results.
- peer_location str
- The peer access point of the physical leased line.
- tag_filters Sequence[ConnectionsTag Filter] 
- The filter tag of direct connect.
- connectionType String
- The connection type of physical leased line,valid value contains SharedConnection,DedicatedConnection.
- directConnect StringAccess Point Id 
- The ID of the physical leased line access point.
- directConnect StringConnection Name 
- The name of directi connect connection.
- ids List<String>
- A list of IDs.
- lineOperator String
- The operator of the physical leased line,valid value contains ChinaTelecom,ChinaMobile,ChinaUnicom,ChinaOther.
- nameRegex String
- A Name Regex of Resource.
- outputFile String
- File name where to save data source results.
- peerLocation String
- The peer access point of the physical leased line.
- tagFilters List<Property Map>
- The filter tag of direct connect.
Connections Result
The following output properties are available:
- DirectConnect List<ConnectionsConnections Direct Connect Connection> 
- The collection of query.
- Id string
- The provider-assigned unique ID for this managed resource.
- TotalCount int
- The total count of query.
- ConnectionType string
- The connection type of direct connect.
- DirectConnect stringAccess Point Id 
- The access point id of direct connect.
- DirectConnect stringConnection Name 
- The name of direct connect connection.
- Ids List<string>
- LineOperator string
- The operator of physical leased line.
- NameRegex string
- OutputFile string
- PeerLocation string
- The peer access point of the physical leased line.
- TagFilters List<ConnectionsTag Filter> 
- DirectConnect []ConnectionsConnections Direct Connect Connection 
- The collection of query.
- Id string
- The provider-assigned unique ID for this managed resource.
- TotalCount int
- The total count of query.
- ConnectionType string
- The connection type of direct connect.
- DirectConnect stringAccess Point Id 
- The access point id of direct connect.
- DirectConnect stringConnection Name 
- The name of direct connect connection.
- Ids []string
- LineOperator string
- The operator of physical leased line.
- NameRegex string
- OutputFile string
- PeerLocation string
- The peer access point of the physical leased line.
- TagFilters []ConnectionsTag Filter 
- directConnect List<ConnectionsConnections Direct Connect Connection> 
- The collection of query.
- id String
- The provider-assigned unique ID for this managed resource.
- totalCount Integer
- The total count of query.
- connectionType String
- The connection type of direct connect.
- directConnect StringAccess Point Id 
- The access point id of direct connect.
- directConnect StringConnection Name 
- The name of direct connect connection.
- ids List<String>
- lineOperator String
- The operator of physical leased line.
- nameRegex String
- outputFile String
- peerLocation String
- The peer access point of the physical leased line.
- tagFilters List<ConnectionsTag Filter> 
- directConnect ConnectionsConnections Direct Connect Connection[] 
- The collection of query.
- id string
- The provider-assigned unique ID for this managed resource.
- totalCount number
- The total count of query.
- connectionType string
- The connection type of direct connect.
- directConnect stringAccess Point Id 
- The access point id of direct connect.
- directConnect stringConnection Name 
- The name of direct connect connection.
- ids string[]
- lineOperator string
- The operator of physical leased line.
- nameRegex string
- outputFile string
- peerLocation string
- The peer access point of the physical leased line.
- tagFilters ConnectionsTag Filter[] 
- direct_connect_ Sequence[Connectionsconnections Direct Connect Connection] 
- The collection of query.
- id str
- The provider-assigned unique ID for this managed resource.
- total_count int
- The total count of query.
- connection_type str
- The connection type of direct connect.
- direct_connect_ straccess_ point_ id 
- The access point id of direct connect.
- direct_connect_ strconnection_ name 
- The name of direct connect connection.
- ids Sequence[str]
- line_operator str
- The operator of physical leased line.
- name_regex str
- output_file str
- peer_location str
- The peer access point of the physical leased line.
- tag_filters Sequence[ConnectionsTag Filter] 
- directConnect List<Property Map>Connections 
- The collection of query.
- id String
- The provider-assigned unique ID for this managed resource.
- totalCount Number
- The total count of query.
- connectionType String
- The connection type of direct connect.
- directConnect StringAccess Point Id 
- The access point id of direct connect.
- directConnect StringConnection Name 
- The name of direct connect connection.
- ids List<String>
- lineOperator String
- The operator of physical leased line.
- nameRegex String
- outputFile String
- peerLocation String
- The peer access point of the physical leased line.
- tagFilters List<Property Map>
Supporting Types
ConnectionsDirectConnectConnection   
- AccountId string
- The account ID which the physical leased line belongs.
- Bandwidth int
- The bandwidth of direct connect.
- BillingType int
- The dedicated line billing type,only support 1for yearly and monthly billing currently.
- BusinessStatus string
- The dedicated line billing status.
- ConnectionType string
- The connection type of physical leased line,valid value contains SharedConnection,DedicatedConnection.
- CreationTime string
- The creation time of direct connect.
- CustomerContact stringEmail 
- The dedicated line contact email.
- CustomerContact stringPhone 
- The dedicated line contact phone.
- CustomerName string
- The dedicated line contact name.
- DeletedTime string
- The expected resource force collection time.
- Description string
- The description of direct connect connection.
- DirectConnect stringAccess Point Id 
- The ID of the physical leased line access point.
- DirectConnect stringConnection Id 
- The ID of direct connect connection.
- DirectConnect stringConnection Name 
- The name of directi connect connection.
- ExpectBandwidth int
- The expect bandwidth of direct connect.
- ExpiredTime string
- The expired time.
- LineOperator string
- The operator of the physical leased line,valid value contains ChinaTelecom,ChinaMobile,ChinaUnicom,ChinaOther.
- ParentConnection stringAccount Id 
- The account ID of physical leased line to which the shared leased line belongs.If the physical leased line type is an exclusive leased line,this parameter returns empty.
- ParentConnection stringId 
- The ID of the physical leased line to which the shared leased line belongs. If the physical leased line type is an exclusive leased line, this parameter returns empty.
- PeerLocation string
- The peer access point of the physical leased line.
- PortSpec string
- The dedicated line port spec.
- PortType string
- The port type of direct connect.
- Status string
- The status of physical leased line.
- 
List<ConnectionsDirect Connect Connection Tag> 
- All tags that physical leased line added.
- UpdateTime string
- The update time of direct connect.
- VlanId int
- The vlan ID of shared connection,if connection_typeisDedicatedConnection,this parameter returns 0.
- AccountId string
- The account ID which the physical leased line belongs.
- Bandwidth int
- The bandwidth of direct connect.
- BillingType int
- The dedicated line billing type,only support 1for yearly and monthly billing currently.
- BusinessStatus string
- The dedicated line billing status.
- ConnectionType string
- The connection type of physical leased line,valid value contains SharedConnection,DedicatedConnection.
- CreationTime string
- The creation time of direct connect.
- CustomerContact stringEmail 
- The dedicated line contact email.
- CustomerContact stringPhone 
- The dedicated line contact phone.
- CustomerName string
- The dedicated line contact name.
- DeletedTime string
- The expected resource force collection time.
- Description string
- The description of direct connect connection.
- DirectConnect stringAccess Point Id 
- The ID of the physical leased line access point.
- DirectConnect stringConnection Id 
- The ID of direct connect connection.
- DirectConnect stringConnection Name 
- The name of directi connect connection.
- ExpectBandwidth int
- The expect bandwidth of direct connect.
- ExpiredTime string
- The expired time.
- LineOperator string
- The operator of the physical leased line,valid value contains ChinaTelecom,ChinaMobile,ChinaUnicom,ChinaOther.
- ParentConnection stringAccount Id 
- The account ID of physical leased line to which the shared leased line belongs.If the physical leased line type is an exclusive leased line,this parameter returns empty.
- ParentConnection stringId 
- The ID of the physical leased line to which the shared leased line belongs. If the physical leased line type is an exclusive leased line, this parameter returns empty.
- PeerLocation string
- The peer access point of the physical leased line.
- PortSpec string
- The dedicated line port spec.
- PortType string
- The port type of direct connect.
- Status string
- The status of physical leased line.
- 
[]ConnectionsDirect Connect Connection Tag 
- All tags that physical leased line added.
- UpdateTime string
- The update time of direct connect.
- VlanId int
- The vlan ID of shared connection,if connection_typeisDedicatedConnection,this parameter returns 0.
- accountId String
- The account ID which the physical leased line belongs.
- bandwidth Integer
- The bandwidth of direct connect.
- billingType Integer
- The dedicated line billing type,only support 1for yearly and monthly billing currently.
- businessStatus String
- The dedicated line billing status.
- connectionType String
- The connection type of physical leased line,valid value contains SharedConnection,DedicatedConnection.
- creationTime String
- The creation time of direct connect.
- customerContact StringEmail 
- The dedicated line contact email.
- customerContact StringPhone 
- The dedicated line contact phone.
- customerName String
- The dedicated line contact name.
- deletedTime String
- The expected resource force collection time.
- description String
- The description of direct connect connection.
- directConnect StringAccess Point Id 
- The ID of the physical leased line access point.
- directConnect StringConnection Id 
- The ID of direct connect connection.
- directConnect StringConnection Name 
- The name of directi connect connection.
- expectBandwidth Integer
- The expect bandwidth of direct connect.
- expiredTime String
- The expired time.
- lineOperator String
- The operator of the physical leased line,valid value contains ChinaTelecom,ChinaMobile,ChinaUnicom,ChinaOther.
- parentConnection StringAccount Id 
- The account ID of physical leased line to which the shared leased line belongs.If the physical leased line type is an exclusive leased line,this parameter returns empty.
- parentConnection StringId 
- The ID of the physical leased line to which the shared leased line belongs. If the physical leased line type is an exclusive leased line, this parameter returns empty.
- peerLocation String
- The peer access point of the physical leased line.
- portSpec String
- The dedicated line port spec.
- portType String
- The port type of direct connect.
- status String
- The status of physical leased line.
- 
List<ConnectionsDirect Connect Connection Tag> 
- All tags that physical leased line added.
- updateTime String
- The update time of direct connect.
- vlanId Integer
- The vlan ID of shared connection,if connection_typeisDedicatedConnection,this parameter returns 0.
- accountId string
- The account ID which the physical leased line belongs.
- bandwidth number
- The bandwidth of direct connect.
- billingType number
- The dedicated line billing type,only support 1for yearly and monthly billing currently.
- businessStatus string
- The dedicated line billing status.
- connectionType string
- The connection type of physical leased line,valid value contains SharedConnection,DedicatedConnection.
- creationTime string
- The creation time of direct connect.
- customerContact stringEmail 
- The dedicated line contact email.
- customerContact stringPhone 
- The dedicated line contact phone.
- customerName string
- The dedicated line contact name.
- deletedTime string
- The expected resource force collection time.
- description string
- The description of direct connect connection.
- directConnect stringAccess Point Id 
- The ID of the physical leased line access point.
- directConnect stringConnection Id 
- The ID of direct connect connection.
- directConnect stringConnection Name 
- The name of directi connect connection.
- expectBandwidth number
- The expect bandwidth of direct connect.
- expiredTime string
- The expired time.
- lineOperator string
- The operator of the physical leased line,valid value contains ChinaTelecom,ChinaMobile,ChinaUnicom,ChinaOther.
- parentConnection stringAccount Id 
- The account ID of physical leased line to which the shared leased line belongs.If the physical leased line type is an exclusive leased line,this parameter returns empty.
- parentConnection stringId 
- The ID of the physical leased line to which the shared leased line belongs. If the physical leased line type is an exclusive leased line, this parameter returns empty.
- peerLocation string
- The peer access point of the physical leased line.
- portSpec string
- The dedicated line port spec.
- portType string
- The port type of direct connect.
- status string
- The status of physical leased line.
- 
ConnectionsDirect Connect Connection Tag[] 
- All tags that physical leased line added.
- updateTime string
- The update time of direct connect.
- vlanId number
- The vlan ID of shared connection,if connection_typeisDedicatedConnection,this parameter returns 0.
- account_id str
- The account ID which the physical leased line belongs.
- bandwidth int
- The bandwidth of direct connect.
- billing_type int
- The dedicated line billing type,only support 1for yearly and monthly billing currently.
- business_status str
- The dedicated line billing status.
- connection_type str
- The connection type of physical leased line,valid value contains SharedConnection,DedicatedConnection.
- creation_time str
- The creation time of direct connect.
- customer_contact_ stremail 
- The dedicated line contact email.
- customer_contact_ strphone 
- The dedicated line contact phone.
- customer_name str
- The dedicated line contact name.
- deleted_time str
- The expected resource force collection time.
- description str
- The description of direct connect connection.
- direct_connect_ straccess_ point_ id 
- The ID of the physical leased line access point.
- direct_connect_ strconnection_ id 
- The ID of direct connect connection.
- direct_connect_ strconnection_ name 
- The name of directi connect connection.
- expect_bandwidth int
- The expect bandwidth of direct connect.
- expired_time str
- The expired time.
- line_operator str
- The operator of the physical leased line,valid value contains ChinaTelecom,ChinaMobile,ChinaUnicom,ChinaOther.
- parent_connection_ straccount_ id 
- The account ID of physical leased line to which the shared leased line belongs.If the physical leased line type is an exclusive leased line,this parameter returns empty.
- parent_connection_ strid 
- The ID of the physical leased line to which the shared leased line belongs. If the physical leased line type is an exclusive leased line, this parameter returns empty.
- peer_location str
- The peer access point of the physical leased line.
- port_spec str
- The dedicated line port spec.
- port_type str
- The port type of direct connect.
- status str
- The status of physical leased line.
- 
Sequence[ConnectionsDirect Connect Connection Tag] 
- All tags that physical leased line added.
- update_time str
- The update time of direct connect.
- vlan_id int
- The vlan ID of shared connection,if connection_typeisDedicatedConnection,this parameter returns 0.
- accountId String
- The account ID which the physical leased line belongs.
- bandwidth Number
- The bandwidth of direct connect.
- billingType Number
- The dedicated line billing type,only support 1for yearly and monthly billing currently.
- businessStatus String
- The dedicated line billing status.
- connectionType String
- The connection type of physical leased line,valid value contains SharedConnection,DedicatedConnection.
- creationTime String
- The creation time of direct connect.
- customerContact StringEmail 
- The dedicated line contact email.
- customerContact StringPhone 
- The dedicated line contact phone.
- customerName String
- The dedicated line contact name.
- deletedTime String
- The expected resource force collection time.
- description String
- The description of direct connect connection.
- directConnect StringAccess Point Id 
- The ID of the physical leased line access point.
- directConnect StringConnection Id 
- The ID of direct connect connection.
- directConnect StringConnection Name 
- The name of directi connect connection.
- expectBandwidth Number
- The expect bandwidth of direct connect.
- expiredTime String
- The expired time.
- lineOperator String
- The operator of the physical leased line,valid value contains ChinaTelecom,ChinaMobile,ChinaUnicom,ChinaOther.
- parentConnection StringAccount Id 
- The account ID of physical leased line to which the shared leased line belongs.If the physical leased line type is an exclusive leased line,this parameter returns empty.
- parentConnection StringId 
- The ID of the physical leased line to which the shared leased line belongs. If the physical leased line type is an exclusive leased line, this parameter returns empty.
- peerLocation String
- The peer access point of the physical leased line.
- portSpec String
- The dedicated line port spec.
- portType String
- The port type of direct connect.
- status String
- The status of physical leased line.
- List<Property Map>
- All tags that physical leased line added.
- updateTime String
- The update time of direct connect.
- vlanId Number
- The vlan ID of shared connection,if connection_typeisDedicatedConnection,this parameter returns 0.
ConnectionsDirectConnectConnectionTag    
ConnectionsTagFilter  
Package Details
- Repository
- volcengine volcengine/pulumi-volcengine
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the volcengineTerraform Provider.