Volcengine v0.0.27 published on Tuesday, Dec 10, 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
import * as pulumi from "@pulumi/pulumi";
import * as volcengine from "@pulumi/volcengine";
const foo = volcengine.direct_connect.Gateways({
    directConnectGatewayName: "tf-test",
});
import pulumi
import pulumi_volcengine as volcengine
foo = volcengine.direct_connect.gateways(direct_connect_gateway_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.Gateways(ctx, &direct_connect.GatewaysArgs{
			DirectConnectGatewayName: 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.Gateways.Invoke(new()
    {
        DirectConnectGatewayName = "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.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());
    }
}
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)
public static Output<GatewaysResult> gateways(GatewaysArgs args, InvokeOptions options)
fn::invoke:
  function: volcengine:direct_connect:Gateways
  arguments:
    # arguments dictionaryThe following arguments are supported:
- CenId string
- The CEN ID which direct connect gateway belongs.
- DirectConnect stringGateway Name 
- The direst connect gateway name.
- Ids List<string>
- A list of IDs.
- NameRegex string
- A Name Regex of Resource.
- OutputFile string
- File name where to save data source results.
- TagFilters List<GatewaysTag Filter> 
- The filter tag of direct connect.
- CenId string
- The CEN ID which direct connect gateway belongs.
- DirectConnect stringGateway Name 
- The direst connect gateway name.
- Ids []string
- A list of IDs.
- NameRegex string
- A Name Regex of Resource.
- OutputFile string
- File name where to save data source results.
- TagFilters []GatewaysTag Filter 
- The filter tag of direct connect.
- cenId String
- The CEN ID which direct connect gateway belongs.
- directConnect StringGateway Name 
- The direst connect gateway name.
- ids List<String>
- A list of IDs.
- nameRegex String
- A Name Regex of Resource.
- outputFile String
- File name where to save data source results.
- tagFilters List<GatewaysTag Filter> 
- The filter tag of direct connect.
- cenId string
- The CEN ID which direct connect gateway belongs.
- directConnect stringGateway Name 
- The direst connect gateway name.
- ids string[]
- A list of IDs.
- nameRegex string
- A Name Regex of Resource.
- outputFile string
- File name where to save data source results.
- tagFilters 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.
- cenId String
- The CEN ID which direct connect gateway belongs.
- directConnect StringGateway Name 
- The direst connect gateway name.
- ids List<String>
- A list of IDs.
- nameRegex String
- A Name Regex of Resource.
- outputFile String
- File name where to save data source results.
- tagFilters List<Property Map>
- The filter tag of direct connect.
Gateways Result
The following output properties are available:
- DirectConnect List<GatewaysGateways Direct Connect Gateway> 
- The collection of query.
- Id string
- The provider-assigned unique ID for this managed resource.
- TotalCount int
- The total count of query.
- CenId string
- The cen ID.
- DirectConnect stringGateway Name 
- The direct connect gateway name.
- Ids List<string>
- NameRegex string
- OutputFile string
- TagFilters List<GatewaysTag Filter> 
- DirectConnect []GatewaysGateways Direct Connect Gateway 
- The collection of query.
- Id string
- The provider-assigned unique ID for this managed resource.
- TotalCount int
- The total count of query.
- CenId string
- The cen ID.
- DirectConnect stringGateway Name 
- The direct connect gateway name.
- Ids []string
- NameRegex string
- OutputFile string
- TagFilters []GatewaysTag Filter 
- directConnect List<GatewaysGateways Direct Connect Gateway> 
- The collection of query.
- id String
- The provider-assigned unique ID for this managed resource.
- totalCount Integer
- The total count of query.
- cenId String
- The cen ID.
- directConnect StringGateway Name 
- The direct connect gateway name.
- ids List<String>
- nameRegex String
- outputFile String
- tagFilters List<GatewaysTag Filter> 
- directConnect GatewaysGateways Direct Connect Gateway[] 
- The collection of query.
- id string
- The provider-assigned unique ID for this managed resource.
- totalCount number
- The total count of query.
- cenId string
- The cen ID.
- directConnect stringGateway Name 
- The direct connect gateway name.
- ids string[]
- nameRegex string
- outputFile string
- tagFilters 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] 
- directConnect List<Property Map>Gateways 
- The collection of query.
- id String
- The provider-assigned unique ID for this managed resource.
- totalCount Number
- The total count of query.
- cenId String
- The cen ID.
- directConnect StringGateway Name 
- The direct connect gateway name.
- ids List<String>
- nameRegex String
- outputFile String
- tagFilters List<Property Map>
Supporting Types
GatewaysDirectConnectGateway   
- AccountId string
- The account ID that direct connect gateway belongs.
- AssociateCens List<GatewaysDirect Connect Gateway Associate Cen> 
- The CEN information associated with the direct connect gateway.
- BusinessStatus string
- The business status of direct connect gateway.
- CreationTime string
- The creation time of direct connect gateway.
- DeletedTime 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.
- DirectConnect stringGateway Id 
- The direct connect gateway ID.
- DirectConnect stringGateway Name 
- The direst connect gateway name.
- LockReason string
- The reason of the direct connect gateway locked.
- OverdueTime 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<GatewaysDirect Connect Gateway Tag> 
- The tags that direct connect gateway added.
- UpdateTime string
- The update time of direct connect gateway.
- AccountId string
- The account ID that direct connect gateway belongs.
- AssociateCens []GatewaysDirect Connect Gateway Associate Cen 
- The CEN information associated with the direct connect gateway.
- BusinessStatus string
- The business status of direct connect gateway.
- CreationTime string
- The creation time of direct connect gateway.
- DeletedTime 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.
- DirectConnect stringGateway Id 
- The direct connect gateway ID.
- DirectConnect stringGateway Name 
- The direst connect gateway name.
- LockReason string
- The reason of the direct connect gateway locked.
- OverdueTime 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.
- 
[]GatewaysDirect Connect Gateway Tag 
- The tags that direct connect gateway added.
- UpdateTime string
- The update time of direct connect gateway.
- accountId String
- The account ID that direct connect gateway belongs.
- associateCens List<GatewaysDirect Connect Gateway Associate Cen> 
- The CEN information associated with the direct connect gateway.
- businessStatus String
- The business status of direct connect gateway.
- creationTime String
- The creation time of direct connect gateway.
- deletedTime 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.
- directConnect StringGateway Id 
- The direct connect gateway ID.
- directConnect StringGateway Name 
- The direst connect gateway name.
- lockReason String
- The reason of the direct connect gateway locked.
- overdueTime 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<GatewaysDirect Connect Gateway Tag> 
- The tags that direct connect gateway added.
- updateTime String
- The update time of direct connect gateway.
- accountId string
- The account ID that direct connect gateway belongs.
- associateCens GatewaysDirect Connect Gateway Associate Cen[] 
- The CEN information associated with the direct connect gateway.
- businessStatus string
- The business status of direct connect gateway.
- creationTime string
- The creation time of direct connect gateway.
- deletedTime 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.
- directConnect stringGateway Id 
- The direct connect gateway ID.
- directConnect stringGateway Name 
- The direst connect gateway name.
- lockReason string
- The reason of the direct connect gateway locked.
- overdueTime 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.
- 
GatewaysDirect Connect Gateway Tag[] 
- The tags that direct connect gateway added.
- updateTime 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[GatewaysDirect Connect Gateway Tag] 
- The tags that direct connect gateway added.
- update_time str
- The update time of direct connect gateway.
- accountId String
- The account ID that direct connect gateway belongs.
- associateCens List<Property Map>
- The CEN information associated with the direct connect gateway.
- businessStatus String
- The business status of direct connect gateway.
- creationTime String
- The creation time of direct connect gateway.
- deletedTime 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.
- directConnect StringGateway Id 
- The direct connect gateway ID.
- directConnect StringGateway Name 
- The direst connect gateway name.
- lockReason String
- The reason of the direct connect gateway locked.
- overdueTime 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.
- updateTime String
- The update time of direct connect gateway.
GatewaysDirectConnectGatewayAssociateCen     
- CenId string
- The CEN ID which direct connect gateway belongs.
- CenOwner stringId 
- The CEN owner's ID.
- CenStatus string
- The CEN status.
- CenId string
- The CEN ID which direct connect gateway belongs.
- CenOwner stringId 
- The CEN owner's ID.
- CenStatus string
- The CEN status.
- cenId String
- The CEN ID which direct connect gateway belongs.
- cenOwner StringId 
- The CEN owner's ID.
- cenStatus String
- The CEN status.
- cenId string
- The CEN ID which direct connect gateway belongs.
- cenOwner stringId 
- The CEN owner's ID.
- cenStatus 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.
- cenId String
- The CEN ID which direct connect gateway belongs.
- cenOwner StringId 
- The CEN owner's ID.
- cenStatus 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.