Volcengine v0.0.24 published on Tuesday, Jun 25, 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
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 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
})
}
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());
}
}
import pulumi
import pulumi_volcengine as volcengine
foo = volcengine.direct_connect.connections(direct_connect_connection_name="tf_test")
import * as pulumi from "@pulumi/pulumi";
import * as volcengine from "@pulumi/volcengine";
const foo = volcengine.direct_connect.Connections({
directConnectConnectionName: "tf_test",
});
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) ConnectionsResultOutput
public 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)
// Output-based functions aren't available in Java yet
fn::invoke:
function: volcengine:direct_connect:Connections
arguments:
# arguments dictionary
The following arguments are supported:
- Connection
Type string - The connection type of physical leased line,valid value contains
SharedConnection
,DedicatedConnection
. - Direct
Connect stringAccess Point Id - The ID of the physical leased line access point.
- Direct
Connect stringConnection Name - The name of directi connect connection.
- Ids List<string>
- A list of IDs.
- Line
Operator string - The operator of the physical leased line,valid value contains
ChinaTelecom
,ChinaMobile
,ChinaUnicom
,ChinaOther
. - Name
Regex string - A Name Regex of Resource.
- Output
File string - File name where to save data source results.
- Peer
Location string - The peer access point of the physical leased line.
- Tag
Filters List<ConnectionsTag Filter> - The filter tag of direct connect.
- Connection
Type string - The connection type of physical leased line,valid value contains
SharedConnection
,DedicatedConnection
. - Direct
Connect stringAccess Point Id - The ID of the physical leased line access point.
- Direct
Connect stringConnection Name - The name of directi connect connection.
- Ids []string
- A list of IDs.
- Line
Operator string - The operator of the physical leased line,valid value contains
ChinaTelecom
,ChinaMobile
,ChinaUnicom
,ChinaOther
. - Name
Regex string - A Name Regex of Resource.
- Output
File string - File name where to save data source results.
- Peer
Location string - The peer access point of the physical leased line.
- Tag
Filters []ConnectionsTag Filter - The filter tag of direct connect.
- connection
Type String - The connection type of physical leased line,valid value contains
SharedConnection
,DedicatedConnection
. - direct
Connect StringAccess Point Id - The ID of the physical leased line access point.
- direct
Connect StringConnection Name - The name of directi connect connection.
- ids List<String>
- A list of IDs.
- line
Operator String - The operator of the physical leased line,valid value contains
ChinaTelecom
,ChinaMobile
,ChinaUnicom
,ChinaOther
. - name
Regex String - A Name Regex of Resource.
- output
File String - File name where to save data source results.
- peer
Location String - The peer access point of the physical leased line.
- tag
Filters List<ConnectionsTag Filter> - The filter tag of direct connect.
- connection
Type string - The connection type of physical leased line,valid value contains
SharedConnection
,DedicatedConnection
. - direct
Connect stringAccess Point Id - The ID of the physical leased line access point.
- direct
Connect stringConnection Name - The name of directi connect connection.
- ids string[]
- A list of IDs.
- line
Operator string - The operator of the physical leased line,valid value contains
ChinaTelecom
,ChinaMobile
,ChinaUnicom
,ChinaOther
. - name
Regex string - A Name Regex of Resource.
- output
File string - File name where to save data source results.
- peer
Location string - The peer access point of the physical leased line.
- tag
Filters 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.
- connection
Type String - The connection type of physical leased line,valid value contains
SharedConnection
,DedicatedConnection
. - direct
Connect StringAccess Point Id - The ID of the physical leased line access point.
- direct
Connect StringConnection Name - The name of directi connect connection.
- ids List<String>
- A list of IDs.
- line
Operator String - The operator of the physical leased line,valid value contains
ChinaTelecom
,ChinaMobile
,ChinaUnicom
,ChinaOther
. - name
Regex String - A Name Regex of Resource.
- output
File String - File name where to save data source results.
- peer
Location String - The peer access point of the physical leased line.
- tag
Filters List<Property Map> - The filter tag of direct connect.
Connections Result
The following output properties are available:
- Direct
Connect List<ConnectionsConnections Direct Connect Connection> - The collection of query.
- Id string
- The provider-assigned unique ID for this managed resource.
- Total
Count int - The total count of query.
- Connection
Type string - The connection type of direct connect.
- Direct
Connect stringAccess Point Id - The access point id of direct connect.
- Direct
Connect stringConnection Name - The name of direct connect connection.
- Ids List<string>
- Line
Operator string - The operator of physical leased line.
- Name
Regex string - Output
File string - Peer
Location string - The peer access point of the physical leased line.
- Tag
Filters List<ConnectionsTag Filter>
- Direct
Connect []ConnectionsConnections Direct Connect Connection - The collection of query.
- Id string
- The provider-assigned unique ID for this managed resource.
- Total
Count int - The total count of query.
- Connection
Type string - The connection type of direct connect.
- Direct
Connect stringAccess Point Id - The access point id of direct connect.
- Direct
Connect stringConnection Name - The name of direct connect connection.
- Ids []string
- Line
Operator string - The operator of physical leased line.
- Name
Regex string - Output
File string - Peer
Location string - The peer access point of the physical leased line.
- Tag
Filters []ConnectionsTag Filter
- direct
Connect List<ConnectionsConnections Direct Connect Connection> - The collection of query.
- id String
- The provider-assigned unique ID for this managed resource.
- total
Count Integer - The total count of query.
- connection
Type String - The connection type of direct connect.
- direct
Connect StringAccess Point Id - The access point id of direct connect.
- direct
Connect StringConnection Name - The name of direct connect connection.
- ids List<String>
- line
Operator String - The operator of physical leased line.
- name
Regex String - output
File String - peer
Location String - The peer access point of the physical leased line.
- tag
Filters List<ConnectionsTag Filter>
- direct
Connect ConnectionsConnections Direct Connect Connection[] - The collection of query.
- id string
- The provider-assigned unique ID for this managed resource.
- total
Count number - The total count of query.
- connection
Type string - The connection type of direct connect.
- direct
Connect stringAccess Point Id - The access point id of direct connect.
- direct
Connect stringConnection Name - The name of direct connect connection.
- ids string[]
- line
Operator string - The operator of physical leased line.
- name
Regex string - output
File string - peer
Location string - The peer access point of the physical leased line.
- tag
Filters 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]
- direct
Connect List<Property Map>Connections - The collection of query.
- id String
- The provider-assigned unique ID for this managed resource.
- total
Count Number - The total count of query.
- connection
Type String - The connection type of direct connect.
- direct
Connect StringAccess Point Id - The access point id of direct connect.
- direct
Connect StringConnection Name - The name of direct connect connection.
- ids List<String>
- line
Operator String - The operator of physical leased line.
- name
Regex String - output
File String - peer
Location String - The peer access point of the physical leased line.
- tag
Filters List<Property Map>
Supporting Types
ConnectionsDirectConnectConnection
- Account
Id string - 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
1
for yearly and monthly billing currently. - Business
Status string - The dedicated line billing status.
- Connection
Type string - The connection type of physical leased line,valid value contains
SharedConnection
,DedicatedConnection
. - Creation
Time string - The creation time of direct connect.
- Customer
Contact stringEmail - The dedicated line contact email.
- Customer
Contact stringPhone - The dedicated line contact phone.
- Customer
Name string - The dedicated line contact name.
- Deleted
Time string - The expected resource force collection time.
- Description string
- The description of direct connect connection.
- Direct
Connect stringAccess Point Id - The ID of the physical leased line access point.
- Direct
Connect stringConnection Id - The ID of direct connect connection.
- Direct
Connect stringConnection Name - The name of directi connect connection.
- Expect
Bandwidth int - The expect bandwidth of direct connect.
- Expired
Time string - The expired time.
- Line
Operator string - The operator of the physical leased line,valid value contains
ChinaTelecom
,ChinaMobile
,ChinaUnicom
,ChinaOther
. - Parent
Connection 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.
- Parent
Connection 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.
- Peer
Location string - The peer access point of the physical leased line.
- Port
Spec string - The dedicated line port spec.
- Port
Type string - The port type of direct connect.
- Status string
- The status of physical leased line.
- List<Connections
Direct Connect Connection Tag> - All tags that physical leased line added.
- Update
Time string - The update time of direct connect.
- Vlan
Id int - The vlan ID of shared connection,if
connection_type
isDedicatedConnection
,this parameter returns 0.
- Account
Id string - 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
1
for yearly and monthly billing currently. - Business
Status string - The dedicated line billing status.
- Connection
Type string - The connection type of physical leased line,valid value contains
SharedConnection
,DedicatedConnection
. - Creation
Time string - The creation time of direct connect.
- Customer
Contact stringEmail - The dedicated line contact email.
- Customer
Contact stringPhone - The dedicated line contact phone.
- Customer
Name string - The dedicated line contact name.
- Deleted
Time string - The expected resource force collection time.
- Description string
- The description of direct connect connection.
- Direct
Connect stringAccess Point Id - The ID of the physical leased line access point.
- Direct
Connect stringConnection Id - The ID of direct connect connection.
- Direct
Connect stringConnection Name - The name of directi connect connection.
- Expect
Bandwidth int - The expect bandwidth of direct connect.
- Expired
Time string - The expired time.
- Line
Operator string - The operator of the physical leased line,valid value contains
ChinaTelecom
,ChinaMobile
,ChinaUnicom
,ChinaOther
. - Parent
Connection 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.
- Parent
Connection 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.
- Peer
Location string - The peer access point of the physical leased line.
- Port
Spec string - The dedicated line port spec.
- Port
Type string - The port type of direct connect.
- Status string
- The status of physical leased line.
- []Connections
Direct Connect Connection Tag - All tags that physical leased line added.
- Update
Time string - The update time of direct connect.
- Vlan
Id int - The vlan ID of shared connection,if
connection_type
isDedicatedConnection
,this parameter returns 0.
- account
Id String - The account ID which the physical leased line belongs.
- bandwidth Integer
- The bandwidth of direct connect.
- billing
Type Integer - The dedicated line billing type,only support
1
for yearly and monthly billing currently. - business
Status String - The dedicated line billing status.
- connection
Type String - The connection type of physical leased line,valid value contains
SharedConnection
,DedicatedConnection
. - creation
Time String - The creation time of direct connect.
- customer
Contact StringEmail - The dedicated line contact email.
- customer
Contact StringPhone - The dedicated line contact phone.
- customer
Name String - The dedicated line contact name.
- deleted
Time String - The expected resource force collection time.
- description String
- The description of direct connect connection.
- direct
Connect StringAccess Point Id - The ID of the physical leased line access point.
- direct
Connect StringConnection Id - The ID of direct connect connection.
- direct
Connect StringConnection Name - The name of directi connect connection.
- expect
Bandwidth Integer - The expect bandwidth of direct connect.
- expired
Time String - The expired time.
- line
Operator String - The operator of the physical leased line,valid value contains
ChinaTelecom
,ChinaMobile
,ChinaUnicom
,ChinaOther
. - parent
Connection 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.
- parent
Connection 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.
- peer
Location String - The peer access point of the physical leased line.
- port
Spec String - The dedicated line port spec.
- port
Type String - The port type of direct connect.
- status String
- The status of physical leased line.
- List<Connections
Direct Connect Connection Tag> - All tags that physical leased line added.
- update
Time String - The update time of direct connect.
- vlan
Id Integer - The vlan ID of shared connection,if
connection_type
isDedicatedConnection
,this parameter returns 0.
- account
Id string - The account ID which the physical leased line belongs.
- bandwidth number
- The bandwidth of direct connect.
- billing
Type number - The dedicated line billing type,only support
1
for yearly and monthly billing currently. - business
Status string - The dedicated line billing status.
- connection
Type string - The connection type of physical leased line,valid value contains
SharedConnection
,DedicatedConnection
. - creation
Time string - The creation time of direct connect.
- customer
Contact stringEmail - The dedicated line contact email.
- customer
Contact stringPhone - The dedicated line contact phone.
- customer
Name string - The dedicated line contact name.
- deleted
Time string - The expected resource force collection time.
- description string
- The description of direct connect connection.
- direct
Connect stringAccess Point Id - The ID of the physical leased line access point.
- direct
Connect stringConnection Id - The ID of direct connect connection.
- direct
Connect stringConnection Name - The name of directi connect connection.
- expect
Bandwidth number - The expect bandwidth of direct connect.
- expired
Time string - The expired time.
- line
Operator string - The operator of the physical leased line,valid value contains
ChinaTelecom
,ChinaMobile
,ChinaUnicom
,ChinaOther
. - parent
Connection 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.
- parent
Connection 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.
- peer
Location string - The peer access point of the physical leased line.
- port
Spec string - The dedicated line port spec.
- port
Type string - The port type of direct connect.
- status string
- The status of physical leased line.
- Connections
Direct Connect Connection Tag[] - All tags that physical leased line added.
- update
Time string - The update time of direct connect.
- vlan
Id number - The vlan ID of shared connection,if
connection_type
isDedicatedConnection
,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
1
for 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[Connections
Direct 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_type
isDedicatedConnection
,this parameter returns 0.
- account
Id String - The account ID which the physical leased line belongs.
- bandwidth Number
- The bandwidth of direct connect.
- billing
Type Number - The dedicated line billing type,only support
1
for yearly and monthly billing currently. - business
Status String - The dedicated line billing status.
- connection
Type String - The connection type of physical leased line,valid value contains
SharedConnection
,DedicatedConnection
. - creation
Time String - The creation time of direct connect.
- customer
Contact StringEmail - The dedicated line contact email.
- customer
Contact StringPhone - The dedicated line contact phone.
- customer
Name String - The dedicated line contact name.
- deleted
Time String - The expected resource force collection time.
- description String
- The description of direct connect connection.
- direct
Connect StringAccess Point Id - The ID of the physical leased line access point.
- direct
Connect StringConnection Id - The ID of direct connect connection.
- direct
Connect StringConnection Name - The name of directi connect connection.
- expect
Bandwidth Number - The expect bandwidth of direct connect.
- expired
Time String - The expired time.
- line
Operator String - The operator of the physical leased line,valid value contains
ChinaTelecom
,ChinaMobile
,ChinaUnicom
,ChinaOther
. - parent
Connection 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.
- parent
Connection 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.
- peer
Location String - The peer access point of the physical leased line.
- port
Spec String - The dedicated line port spec.
- port
Type 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.
- update
Time String - The update time of direct connect.
- vlan
Id Number - The vlan ID of shared connection,if
connection_type
isDedicatedConnection
,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
volcengine
Terraform Provider.