Volcengine v0.0.26 published on Friday, Sep 13, 2024 by Volcengine
volcengine.direct_connect.Gateways
Explore with Pulumi AI
Use this data source to query detailed information of direct connect gateways
Example Usage
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Volcengine = Pulumi.Volcengine;
return await Deployment.RunAsync(() => 
{
    var foo = Volcengine.Direct_connect.Gateways.Invoke(new()
    {
        DirectConnectGatewayName = "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.Gateways(ctx, &direct_connect.GatewaysArgs{
			DirectConnectGatewayName: 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.GatewaysArgs;
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.Gateways(GatewaysArgs.builder()
            .directConnectGatewayName("tf-test")
            .build());
    }
}
import pulumi
import pulumi_volcengine as volcengine
foo = volcengine.direct_connect.gateways(direct_connect_gateway_name="tf-test")
import * as pulumi from "@pulumi/pulumi";
import * as volcengine from "@pulumi/volcengine";
const foo = volcengine.direct_connect.Gateways({
    directConnectGatewayName: "tf-test",
});
variables:
  foo:
    fn::invoke:
      Function: volcengine:direct_connect:Gateways
      Arguments:
        directConnectGatewayName: tf-test
Using Gateways
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 gateways(args: GatewaysArgs, opts?: InvokeOptions): Promise<GatewaysResult>
function gatewaysOutput(args: GatewaysOutputArgs, opts?: InvokeOptions): Output<GatewaysResult>def gateways(cen_id: Optional[str] = None,
             direct_connect_gateway_name: Optional[str] = None,
             ids: Optional[Sequence[str]] = None,
             name_regex: Optional[str] = None,
             output_file: Optional[str] = None,
             tag_filters: Optional[Sequence[GatewaysTagFilter]] = None,
             opts: Optional[InvokeOptions] = None) -> GatewaysResult
def gateways_output(cen_id: Optional[pulumi.Input[str]] = None,
             direct_connect_gateway_name: Optional[pulumi.Input[str]] = None,
             ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
             name_regex: Optional[pulumi.Input[str]] = None,
             output_file: Optional[pulumi.Input[str]] = None,
             tag_filters: Optional[pulumi.Input[Sequence[pulumi.Input[GatewaysTagFilterArgs]]]] = None,
             opts: Optional[InvokeOptions] = None) -> Output[GatewaysResult]func Gateways(ctx *Context, args *GatewaysArgs, opts ...InvokeOption) (*GatewaysResult, error)
func GatewaysOutput(ctx *Context, args *GatewaysOutputArgs, opts ...InvokeOption) GatewaysResultOutputpublic static class Gateways 
{
    public static Task<GatewaysResult> InvokeAsync(GatewaysArgs args, InvokeOptions? opts = null)
    public static Output<GatewaysResult> Invoke(GatewaysInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GatewaysResult> gateways(GatewaysArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: volcengine:direct_connect:Gateways
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Cen
Id string - The CEN ID which direct connect gateway belongs.
 - Direct
Connect stringGateway Name  - The direst connect gateway name.
 - Ids List<string>
 - A list of IDs.
 - Name
Regex string - A Name Regex of Resource.
 - Output
File string - File name where to save data source results.
 - Tag
Filters List<GatewaysTag Filter>  - The filter tag of direct connect.
 
- Cen
Id string - The CEN ID which direct connect gateway belongs.
 - Direct
Connect stringGateway Name  - The direst connect gateway name.
 - Ids []string
 - A list of IDs.
 - Name
Regex string - A Name Regex of Resource.
 - Output
File string - File name where to save data source results.
 - Tag
Filters []GatewaysTag Filter  - The filter tag of direct connect.
 
- cen
Id String - The CEN ID which direct connect gateway belongs.
 - direct
Connect StringGateway Name  - The direst connect gateway name.
 - ids List<String>
 - A list of IDs.
 - name
Regex String - A Name Regex of Resource.
 - output
File String - File name where to save data source results.
 - tag
Filters List<GatewaysTag Filter>  - The filter tag of direct connect.
 
- cen
Id string - The CEN ID which direct connect gateway belongs.
 - direct
Connect stringGateway Name  - The direst connect gateway name.
 - ids string[]
 - A list of IDs.
 - name
Regex string - A Name Regex of Resource.
 - output
File string - File name where to save data source results.
 - tag
Filters GatewaysTag Filter[]  - The filter tag of direct connect.
 
- cen_
id str - The CEN ID which direct connect gateway belongs.
 - direct_
connect_ strgateway_ name  - The direst connect gateway name.
 - ids Sequence[str]
 - A list of IDs.
 - name_
regex str - A Name Regex of Resource.
 - output_
file str - File name where to save data source results.
 - tag_
filters Sequence[GatewaysTag Filter]  - The filter tag of direct connect.
 
- cen
Id String - The CEN ID which direct connect gateway belongs.
 - direct
Connect StringGateway Name  - The direst connect gateway name.
 - ids List<String>
 - A list of IDs.
 - name
Regex String - A Name Regex of Resource.
 - output
File String - File name where to save data source results.
 - tag
Filters List<Property Map> - The filter tag of direct connect.
 
Gateways Result
The following output properties are available:
- Direct
Connect List<GatewaysGateways Direct Connect Gateway>  - The collection of query.
 - Id string
 - The provider-assigned unique ID for this managed resource.
 - Total
Count int - The total count of query.
 - Cen
Id string - The cen ID.
 - Direct
Connect stringGateway Name  - The direct connect gateway name.
 - Ids List<string>
 - Name
Regex string - Output
File string - Tag
Filters List<GatewaysTag Filter>  
- Direct
Connect []GatewaysGateways Direct Connect Gateway  - The collection of query.
 - Id string
 - The provider-assigned unique ID for this managed resource.
 - Total
Count int - The total count of query.
 - Cen
Id string - The cen ID.
 - Direct
Connect stringGateway Name  - The direct connect gateway name.
 - Ids []string
 - Name
Regex string - Output
File string - Tag
Filters []GatewaysTag Filter  
- direct
Connect List<GatewaysGateways Direct Connect Gateway>  - The collection of query.
 - id String
 - The provider-assigned unique ID for this managed resource.
 - total
Count Integer - The total count of query.
 - cen
Id String - The cen ID.
 - direct
Connect StringGateway Name  - The direct connect gateway name.
 - ids List<String>
 - name
Regex String - output
File String - tag
Filters List<GatewaysTag Filter>  
- direct
Connect GatewaysGateways Direct Connect Gateway[]  - The collection of query.
 - id string
 - The provider-assigned unique ID for this managed resource.
 - total
Count number - The total count of query.
 - cen
Id string - The cen ID.
 - direct
Connect stringGateway Name  - The direct connect gateway name.
 - ids string[]
 - name
Regex string - output
File string - tag
Filters GatewaysTag Filter[]  
- direct_
connect_ Sequence[Gatewaysgateways Direct Connect Gateway]  - The collection of query.
 - id str
 - The provider-assigned unique ID for this managed resource.
 - total_
count int - The total count of query.
 - cen_
id str - The cen ID.
 - direct_
connect_ strgateway_ name  - The direct connect gateway name.
 - ids Sequence[str]
 - name_
regex str - output_
file str - tag_
filters Sequence[GatewaysTag Filter]  
- direct
Connect List<Property Map>Gateways  - The collection of query.
 - id String
 - The provider-assigned unique ID for this managed resource.
 - total
Count Number - The total count of query.
 - cen
Id String - The cen ID.
 - direct
Connect StringGateway Name  - The direct connect gateway name.
 - ids List<String>
 - name
Regex String - output
File String - tag
Filters List<Property Map> 
Supporting Types
GatewaysDirectConnectGateway   
- Account
Id string - The account ID that direct connect gateway belongs.
 - Associate
Cens List<GatewaysDirect Connect Gateway Associate Cen>  - The CEN information associated with the direct connect gateway.
 - Business
Status string - The business status of direct connect gateway.
 - Creation
Time string - The creation time of direct connect gateway.
 - Deleted
Time string - The expected resource force collection time. Only when the resource is frozen due to arrears, this parameter will have a return value, otherwise it will return a null value.
 - Description string
 - The description of direct connect gateway.
 - Direct
Connect stringGateway Id  - The direct connect gateway ID.
 - Direct
Connect stringGateway Name  - The direst connect gateway name.
 - Lock
Reason string - The reason of the direct connect gateway locked.
 - Overdue
Time string - The resource freeze time. Only when the resource is frozen due to arrears, this parameter will have a return value, otherwise it will return a null value.
 - Status string
 - The status of direct connect gateway.
 - 
List<Gateways
Direct Connect Gateway Tag>  - The tags that direct connect gateway added.
 - Update
Time string - The update time of direct connect gateway.
 
- Account
Id string - The account ID that direct connect gateway belongs.
 - Associate
Cens []GatewaysDirect Connect Gateway Associate Cen  - The CEN information associated with the direct connect gateway.
 - Business
Status string - The business status of direct connect gateway.
 - Creation
Time string - The creation time of direct connect gateway.
 - Deleted
Time string - The expected resource force collection time. Only when the resource is frozen due to arrears, this parameter will have a return value, otherwise it will return a null value.
 - Description string
 - The description of direct connect gateway.
 - Direct
Connect stringGateway Id  - The direct connect gateway ID.
 - Direct
Connect stringGateway Name  - The direst connect gateway name.
 - Lock
Reason string - The reason of the direct connect gateway locked.
 - Overdue
Time string - The resource freeze time. Only when the resource is frozen due to arrears, this parameter will have a return value, otherwise it will return a null value.
 - Status string
 - The status of direct connect gateway.
 - 
[]Gateways
Direct Connect Gateway Tag  - The tags that direct connect gateway added.
 - Update
Time string - The update time of direct connect gateway.
 
- account
Id String - The account ID that direct connect gateway belongs.
 - associate
Cens List<GatewaysDirect Connect Gateway Associate Cen>  - The CEN information associated with the direct connect gateway.
 - business
Status String - The business status of direct connect gateway.
 - creation
Time String - The creation time of direct connect gateway.
 - deleted
Time String - The expected resource force collection time. Only when the resource is frozen due to arrears, this parameter will have a return value, otherwise it will return a null value.
 - description String
 - The description of direct connect gateway.
 - direct
Connect StringGateway Id  - The direct connect gateway ID.
 - direct
Connect StringGateway Name  - The direst connect gateway name.
 - lock
Reason String - The reason of the direct connect gateway locked.
 - overdue
Time String - The resource freeze time. Only when the resource is frozen due to arrears, this parameter will have a return value, otherwise it will return a null value.
 - status String
 - The status of direct connect gateway.
 - 
List<Gateways
Direct Connect Gateway Tag>  - The tags that direct connect gateway added.
 - update
Time String - The update time of direct connect gateway.
 
- account
Id string - The account ID that direct connect gateway belongs.
 - associate
Cens GatewaysDirect Connect Gateway Associate Cen[]  - The CEN information associated with the direct connect gateway.
 - business
Status string - The business status of direct connect gateway.
 - creation
Time string - The creation time of direct connect gateway.
 - deleted
Time string - The expected resource force collection time. Only when the resource is frozen due to arrears, this parameter will have a return value, otherwise it will return a null value.
 - description string
 - The description of direct connect gateway.
 - direct
Connect stringGateway Id  - The direct connect gateway ID.
 - direct
Connect stringGateway Name  - The direst connect gateway name.
 - lock
Reason string - The reason of the direct connect gateway locked.
 - overdue
Time string - The resource freeze time. Only when the resource is frozen due to arrears, this parameter will have a return value, otherwise it will return a null value.
 - status string
 - The status of direct connect gateway.
 - 
Gateways
Direct Connect Gateway Tag[]  - The tags that direct connect gateway added.
 - update
Time string - The update time of direct connect gateway.
 
- account_
id str - The account ID that direct connect gateway belongs.
 - associate_
cens Sequence[GatewaysDirect Connect Gateway Associate Cen]  - The CEN information associated with the direct connect gateway.
 - business_
status str - The business status of direct connect gateway.
 - creation_
time str - The creation time of direct connect gateway.
 - deleted_
time str - The expected resource force collection time. Only when the resource is frozen due to arrears, this parameter will have a return value, otherwise it will return a null value.
 - description str
 - The description of direct connect gateway.
 - direct_
connect_ strgateway_ id  - The direct connect gateway ID.
 - direct_
connect_ strgateway_ name  - The direst connect gateway name.
 - lock_
reason str - The reason of the direct connect gateway locked.
 - overdue_
time str - The resource freeze time. Only when the resource is frozen due to arrears, this parameter will have a return value, otherwise it will return a null value.
 - status str
 - The status of direct connect gateway.
 - 
Sequence[Gateways
Direct Connect Gateway Tag]  - The tags that direct connect gateway added.
 - update_
time str - The update time of direct connect gateway.
 
- account
Id String - The account ID that direct connect gateway belongs.
 - associate
Cens List<Property Map> - The CEN information associated with the direct connect gateway.
 - business
Status String - The business status of direct connect gateway.
 - creation
Time String - The creation time of direct connect gateway.
 - deleted
Time String - The expected resource force collection time. Only when the resource is frozen due to arrears, this parameter will have a return value, otherwise it will return a null value.
 - description String
 - The description of direct connect gateway.
 - direct
Connect StringGateway Id  - The direct connect gateway ID.
 - direct
Connect StringGateway Name  - The direst connect gateway name.
 - lock
Reason String - The reason of the direct connect gateway locked.
 - overdue
Time String - The resource freeze time. Only when the resource is frozen due to arrears, this parameter will have a return value, otherwise it will return a null value.
 - status String
 - The status of direct connect gateway.
 - List<Property Map>
 - The tags that direct connect gateway added.
 - update
Time String - The update time of direct connect gateway.
 
GatewaysDirectConnectGatewayAssociateCen     
- Cen
Id string - The CEN ID which direct connect gateway belongs.
 - Cen
Owner stringId  - The CEN owner's ID.
 - Cen
Status string - The CEN status.
 
- Cen
Id string - The CEN ID which direct connect gateway belongs.
 - Cen
Owner stringId  - The CEN owner's ID.
 - Cen
Status string - The CEN status.
 
- cen
Id String - The CEN ID which direct connect gateway belongs.
 - cen
Owner StringId  - The CEN owner's ID.
 - cen
Status String - The CEN status.
 
- cen
Id string - The CEN ID which direct connect gateway belongs.
 - cen
Owner stringId  - The CEN owner's ID.
 - cen
Status string - The CEN status.
 
- cen_
id str - The CEN ID which direct connect gateway belongs.
 - cen_
owner_ strid  - The CEN owner's ID.
 - cen_
status str - The CEN status.
 
- cen
Id String - The CEN ID which direct connect gateway belongs.
 - cen
Owner StringId  - The CEN owner's ID.
 - cen
Status String - The CEN status.
 
GatewaysDirectConnectGatewayTag    
GatewaysTagFilter  
Package Details
- Repository
 - volcengine volcengine/pulumi-volcengine
 - License
 - Apache-2.0
 - Notes
 - This Pulumi package is based on the 
volcengineTerraform Provider.