1. Packages
  2. Volcengine
  3. API Docs
  4. cen
  5. RouteEntries
Volcengine v0.0.23 published on Wednesday, Jan 3, 2024 by Volcengine

volcengine.cen.RouteEntries

Explore with Pulumi AI

volcengine logo
Volcengine v0.0.23 published on Wednesday, Jan 3, 2024 by Volcengine

    Use this data source to query detailed information of cen route entries

    Example Usage

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Volcengine = Pulumi.Volcengine;
    
    return await Deployment.RunAsync(() => 
    {
        var foo = Volcengine.Cen.RouteEntries.Invoke(new()
        {
            CenId = "cen-12ar8uclj68sg17q7y20v9gil",
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/cen"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := cen.RouteEntries(ctx, &cen.RouteEntriesArgs{
    			CenId: "cen-12ar8uclj68sg17q7y20v9gil",
    		}, 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.cen.CenFunctions;
    import com.pulumi.volcengine.cen.inputs.RouteEntriesArgs;
    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 = CenFunctions.RouteEntries(RouteEntriesArgs.builder()
                .cenId("cen-12ar8uclj68sg17q7y20v9gil")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_volcengine as volcengine
    
    foo = volcengine.cen.route_entries(cen_id="cen-12ar8uclj68sg17q7y20v9gil")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as volcengine from "@pulumi/volcengine";
    
    const foo = volcengine.cen.RouteEntries({
        cenId: "cen-12ar8uclj68sg17q7y20v9gil",
    });
    
    variables:
      foo:
        fn::invoke:
          Function: volcengine:cen:RouteEntries
          Arguments:
            cenId: cen-12ar8uclj68sg17q7y20v9gil
    

    Using RouteEntries

    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 routeEntries(args: RouteEntriesArgs, opts?: InvokeOptions): Promise<RouteEntriesResult>
    function routeEntriesOutput(args: RouteEntriesOutputArgs, opts?: InvokeOptions): Output<RouteEntriesResult>
    def route_entries(cen_id: Optional[str] = None,
                      destination_cidr_block: Optional[str] = None,
                      instance_id: Optional[str] = None,
                      instance_region_id: Optional[str] = None,
                      instance_type: Optional[str] = None,
                      output_file: Optional[str] = None,
                      opts: Optional[InvokeOptions] = None) -> RouteEntriesResult
    def route_entries_output(cen_id: Optional[pulumi.Input[str]] = None,
                      destination_cidr_block: Optional[pulumi.Input[str]] = None,
                      instance_id: Optional[pulumi.Input[str]] = None,
                      instance_region_id: Optional[pulumi.Input[str]] = None,
                      instance_type: Optional[pulumi.Input[str]] = None,
                      output_file: Optional[pulumi.Input[str]] = None,
                      opts: Optional[InvokeOptions] = None) -> Output[RouteEntriesResult]
    func RouteEntries(ctx *Context, args *RouteEntriesArgs, opts ...InvokeOption) (*RouteEntriesResult, error)
    func RouteEntriesOutput(ctx *Context, args *RouteEntriesOutputArgs, opts ...InvokeOption) RouteEntriesResultOutput
    public static class RouteEntries 
    {
        public static Task<RouteEntriesResult> InvokeAsync(RouteEntriesArgs args, InvokeOptions? opts = null)
        public static Output<RouteEntriesResult> Invoke(RouteEntriesInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<RouteEntriesResult> routeEntries(RouteEntriesArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: volcengine:cen:RouteEntries
      arguments:
        # arguments dictionary

    The following arguments are supported:

    CenId string
    A cen ID.
    DestinationCidrBlock string
    A destination cidr block.
    InstanceId string
    An instance ID.
    InstanceRegionId string
    An instance region ID.
    InstanceType string
    An instance type.
    OutputFile string
    File name where to save data source results.
    CenId string
    A cen ID.
    DestinationCidrBlock string
    A destination cidr block.
    InstanceId string
    An instance ID.
    InstanceRegionId string
    An instance region ID.
    InstanceType string
    An instance type.
    OutputFile string
    File name where to save data source results.
    cenId String
    A cen ID.
    destinationCidrBlock String
    A destination cidr block.
    instanceId String
    An instance ID.
    instanceRegionId String
    An instance region ID.
    instanceType String
    An instance type.
    outputFile String
    File name where to save data source results.
    cenId string
    A cen ID.
    destinationCidrBlock string
    A destination cidr block.
    instanceId string
    An instance ID.
    instanceRegionId string
    An instance region ID.
    instanceType string
    An instance type.
    outputFile string
    File name where to save data source results.
    cen_id str
    A cen ID.
    destination_cidr_block str
    A destination cidr block.
    instance_id str
    An instance ID.
    instance_region_id str
    An instance region ID.
    instance_type str
    An instance type.
    output_file str
    File name where to save data source results.
    cenId String
    A cen ID.
    destinationCidrBlock String
    A destination cidr block.
    instanceId String
    An instance ID.
    instanceRegionId String
    An instance region ID.
    instanceType String
    An instance type.
    outputFile String
    File name where to save data source results.

    RouteEntries Result

    The following output properties are available:

    CenId string
    The cen ID of the cen route entry.
    CenRouteEntries List<Volcengine.RouteEntriesCenRouteEntry>
    The collection of cen route entry query.
    Id string
    The provider-assigned unique ID for this managed resource.
    TotalCount int
    The total count of cen route entry.
    DestinationCidrBlock string
    The destination cidr block of the cen route entry.
    InstanceId string
    The instance id of the next hop of the cen route entry.
    InstanceRegionId string
    The instance region id of the next hop of the cen route entry.
    InstanceType string
    The instance type of the next hop of the cen route entry.
    OutputFile string
    CenId string
    The cen ID of the cen route entry.
    CenRouteEntries []RouteEntriesCenRouteEntry
    The collection of cen route entry query.
    Id string
    The provider-assigned unique ID for this managed resource.
    TotalCount int
    The total count of cen route entry.
    DestinationCidrBlock string
    The destination cidr block of the cen route entry.
    InstanceId string
    The instance id of the next hop of the cen route entry.
    InstanceRegionId string
    The instance region id of the next hop of the cen route entry.
    InstanceType string
    The instance type of the next hop of the cen route entry.
    OutputFile string
    cenId String
    The cen ID of the cen route entry.
    cenRouteEntries List<RouteEntriesCenRouteEntry>
    The collection of cen route entry query.
    id String
    The provider-assigned unique ID for this managed resource.
    totalCount Integer
    The total count of cen route entry.
    destinationCidrBlock String
    The destination cidr block of the cen route entry.
    instanceId String
    The instance id of the next hop of the cen route entry.
    instanceRegionId String
    The instance region id of the next hop of the cen route entry.
    instanceType String
    The instance type of the next hop of the cen route entry.
    outputFile String
    cenId string
    The cen ID of the cen route entry.
    cenRouteEntries RouteEntriesCenRouteEntry[]
    The collection of cen route entry query.
    id string
    The provider-assigned unique ID for this managed resource.
    totalCount number
    The total count of cen route entry.
    destinationCidrBlock string
    The destination cidr block of the cen route entry.
    instanceId string
    The instance id of the next hop of the cen route entry.
    instanceRegionId string
    The instance region id of the next hop of the cen route entry.
    instanceType string
    The instance type of the next hop of the cen route entry.
    outputFile string
    cen_id str
    The cen ID of the cen route entry.
    cen_route_entries Sequence[RouteEntriesCenRouteEntry]
    The collection of cen route entry query.
    id str
    The provider-assigned unique ID for this managed resource.
    total_count int
    The total count of cen route entry.
    destination_cidr_block str
    The destination cidr block of the cen route entry.
    instance_id str
    The instance id of the next hop of the cen route entry.
    instance_region_id str
    The instance region id of the next hop of the cen route entry.
    instance_type str
    The instance type of the next hop of the cen route entry.
    output_file str
    cenId String
    The cen ID of the cen route entry.
    cenRouteEntries List<Property Map>
    The collection of cen route entry query.
    id String
    The provider-assigned unique ID for this managed resource.
    totalCount Number
    The total count of cen route entry.
    destinationCidrBlock String
    The destination cidr block of the cen route entry.
    instanceId String
    The instance id of the next hop of the cen route entry.
    instanceRegionId String
    The instance region id of the next hop of the cen route entry.
    instanceType String
    The instance type of the next hop of the cen route entry.
    outputFile String

    Supporting Types

    RouteEntriesCenRouteEntry

    AsPaths List<string>
    The AS path of the cen route entry.
    CenId string
    A cen ID.
    DestinationCidrBlock string
    A destination cidr block.
    InstanceId string
    An instance ID.
    InstanceRegionId string
    An instance region ID.
    InstanceType string
    An instance type.
    PublishStatus string
    The publish status of the cen route entry.
    Status string
    The status of the cen route entry.
    AsPaths []string
    The AS path of the cen route entry.
    CenId string
    A cen ID.
    DestinationCidrBlock string
    A destination cidr block.
    InstanceId string
    An instance ID.
    InstanceRegionId string
    An instance region ID.
    InstanceType string
    An instance type.
    PublishStatus string
    The publish status of the cen route entry.
    Status string
    The status of the cen route entry.
    asPaths List<String>
    The AS path of the cen route entry.
    cenId String
    A cen ID.
    destinationCidrBlock String
    A destination cidr block.
    instanceId String
    An instance ID.
    instanceRegionId String
    An instance region ID.
    instanceType String
    An instance type.
    publishStatus String
    The publish status of the cen route entry.
    status String
    The status of the cen route entry.
    asPaths string[]
    The AS path of the cen route entry.
    cenId string
    A cen ID.
    destinationCidrBlock string
    A destination cidr block.
    instanceId string
    An instance ID.
    instanceRegionId string
    An instance region ID.
    instanceType string
    An instance type.
    publishStatus string
    The publish status of the cen route entry.
    status string
    The status of the cen route entry.
    as_paths Sequence[str]
    The AS path of the cen route entry.
    cen_id str
    A cen ID.
    destination_cidr_block str
    A destination cidr block.
    instance_id str
    An instance ID.
    instance_region_id str
    An instance region ID.
    instance_type str
    An instance type.
    publish_status str
    The publish status of the cen route entry.
    status str
    The status of the cen route entry.
    asPaths List<String>
    The AS path of the cen route entry.
    cenId String
    A cen ID.
    destinationCidrBlock String
    A destination cidr block.
    instanceId String
    An instance ID.
    instanceRegionId String
    An instance region ID.
    instanceType String
    An instance type.
    publishStatus String
    The publish status of the cen route entry.
    status String
    The status of the cen route entry.

    Package Details

    Repository
    volcengine volcengine/pulumi-volcengine
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the volcengine Terraform Provider.
    volcengine logo
    Volcengine v0.0.23 published on Wednesday, Jan 3, 2024 by Volcengine