Volcengine v0.0.26 published on Friday, Sep 13, 2024 by Volcengine
volcengine.transit_router.RouteEntries
Explore with Pulumi AI
Use this data source to query detailed information of transit router route entries
Example Usage
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Volcengine = Pulumi.Volcengine;
return await Deployment.RunAsync(() =>
{
var @default = Volcengine.Transit_router.RouteEntries.Invoke(new()
{
Ids = new[]
{
"tr-rte-12b7qd5eo3h1c17q7y1sq5ixv",
},
TransitRouterRouteTableId = "tr-rtb-12b7qd3fmzf2817q7y2jkbd55",
});
});
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/transit_router"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := transit_router.RouteEntries(ctx, &transit_router.RouteEntriesArgs{
Ids: []string{
"tr-rte-12b7qd5eo3h1c17q7y1sq5ixv",
},
TransitRouterRouteTableId: "tr-rtb-12b7qd3fmzf2817q7y2jkbd55",
}, 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.transit_router.Transit_routerFunctions;
import com.pulumi.volcengine.transit_router.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 default = Transit_routerFunctions.RouteEntries(RouteEntriesArgs.builder()
.ids("tr-rte-12b7qd5eo3h1c17q7y1sq5ixv")
.transitRouterRouteTableId("tr-rtb-12b7qd3fmzf2817q7y2jkbd55")
.build());
}
}
import pulumi
import pulumi_volcengine as volcengine
default = volcengine.transit_router.route_entries(ids=["tr-rte-12b7qd5eo3h1c17q7y1sq5ixv"],
transit_router_route_table_id="tr-rtb-12b7qd3fmzf2817q7y2jkbd55")
import * as pulumi from "@pulumi/pulumi";
import * as volcengine from "@pulumi/volcengine";
const default = volcengine.transit_router.RouteEntries({
ids: ["tr-rte-12b7qd5eo3h1c17q7y1sq5ixv"],
transitRouterRouteTableId: "tr-rtb-12b7qd3fmzf2817q7y2jkbd55",
});
variables:
default:
fn::invoke:
Function: volcengine:transit_router:RouteEntries
Arguments:
ids:
- tr-rte-12b7qd5eo3h1c17q7y1sq5ixv
transitRouterRouteTableId: tr-rtb-12b7qd3fmzf2817q7y2jkbd55
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(destination_cidr_block: Optional[str] = None,
ids: Optional[Sequence[str]] = None,
output_file: Optional[str] = None,
status: Optional[str] = None,
transit_router_route_entry_name: Optional[str] = None,
transit_router_route_table_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> RouteEntriesResult
def route_entries_output(destination_cidr_block: Optional[pulumi.Input[str]] = None,
ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
output_file: Optional[pulumi.Input[str]] = None,
status: Optional[pulumi.Input[str]] = None,
transit_router_route_entry_name: Optional[pulumi.Input[str]] = None,
transit_router_route_table_id: 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:transit_router:RouteEntries
arguments:
# arguments dictionary
The following arguments are supported:
- Transit
Router stringRoute Table Id - The id of the route table.
- Destination
Cidr stringBlock - The target network segment of the route entry.
- Ids List<string>
- The ids of the transit router route entry.
- Output
File string - File name where to save data source results.
- Status string
- The status of the route entry.
- Transit
Router stringRoute Entry Name - The name of the route entry.
- Transit
Router stringRoute Table Id - The id of the route table.
- Destination
Cidr stringBlock - The target network segment of the route entry.
- Ids []string
- The ids of the transit router route entry.
- Output
File string - File name where to save data source results.
- Status string
- The status of the route entry.
- Transit
Router stringRoute Entry Name - The name of the route entry.
- transit
Router StringRoute Table Id - The id of the route table.
- destination
Cidr StringBlock - The target network segment of the route entry.
- ids List<String>
- The ids of the transit router route entry.
- output
File String - File name where to save data source results.
- status String
- The status of the route entry.
- transit
Router StringRoute Entry Name - The name of the route entry.
- transit
Router stringRoute Table Id - The id of the route table.
- destination
Cidr stringBlock - The target network segment of the route entry.
- ids string[]
- The ids of the transit router route entry.
- output
File string - File name where to save data source results.
- status string
- The status of the route entry.
- transit
Router stringRoute Entry Name - The name of the route entry.
- transit_
router_ strroute_ table_ id - The id of the route table.
- destination_
cidr_ strblock - The target network segment of the route entry.
- ids Sequence[str]
- The ids of the transit router route entry.
- output_
file str - File name where to save data source results.
- status str
- The status of the route entry.
- transit_
router_ strroute_ entry_ name - The name of the route entry.
- transit
Router StringRoute Table Id - The id of the route table.
- destination
Cidr StringBlock - The target network segment of the route entry.
- ids List<String>
- The ids of the transit router route entry.
- output
File String - File name where to save data source results.
- status String
- The status of the route entry.
- transit
Router StringRoute Entry Name - The name of the route entry.
RouteEntries Result
The following output properties are available:
- Entries
List<Route
Entries Entry> - The list of route entries.
- Id string
- The provider-assigned unique ID for this managed resource.
- Total
Count int - The total count of data query.
- Transit
Router stringRoute Table Id - Destination
Cidr stringBlock - The target network segment of the route entry.
- Ids List<string>
- Output
File string - Status string
- The status of the route entry.
- Transit
Router stringRoute Entry Name - The name of the route entry.
- Entries
[]Route
Entries Entry - The list of route entries.
- Id string
- The provider-assigned unique ID for this managed resource.
- Total
Count int - The total count of data query.
- Transit
Router stringRoute Table Id - Destination
Cidr stringBlock - The target network segment of the route entry.
- Ids []string
- Output
File string - Status string
- The status of the route entry.
- Transit
Router stringRoute Entry Name - The name of the route entry.
- entries
List<Route
Entries Entry> - The list of route entries.
- id String
- The provider-assigned unique ID for this managed resource.
- total
Count Integer - The total count of data query.
- transit
Router StringRoute Table Id - destination
Cidr StringBlock - The target network segment of the route entry.
- ids List<String>
- output
File String - status String
- The status of the route entry.
- transit
Router StringRoute Entry Name - The name of the route entry.
- entries
Route
Entries Entry[] - The list of route entries.
- id string
- The provider-assigned unique ID for this managed resource.
- total
Count number - The total count of data query.
- transit
Router stringRoute Table Id - destination
Cidr stringBlock - The target network segment of the route entry.
- ids string[]
- output
File string - status string
- The status of the route entry.
- transit
Router stringRoute Entry Name - The name of the route entry.
- entries
Sequence[Route
Entries Entry] - The list of route entries.
- id str
- The provider-assigned unique ID for this managed resource.
- total_
count int - The total count of data query.
- transit_
router_ strroute_ table_ id - destination_
cidr_ strblock - The target network segment of the route entry.
- ids Sequence[str]
- output_
file str - status str
- The status of the route entry.
- transit_
router_ strroute_ entry_ name - The name of the route entry.
- entries List<Property Map>
- The list of route entries.
- id String
- The provider-assigned unique ID for this managed resource.
- total
Count Number - The total count of data query.
- transit
Router StringRoute Table Id - destination
Cidr StringBlock - The target network segment of the route entry.
- ids List<String>
- output
File String - status String
- The status of the route entry.
- transit
Router StringRoute Entry Name - The name of the route entry.
Supporting Types
RouteEntriesEntry
- Creation
Time string - The creation time of the route entry.
- Description string
- Description of the transit router route entry.
- Destination
Cidr stringBlock - The target network segment of the route entry.
- Status string
- The status of the route entry.
- Transit
Router stringRoute Entry Id - The id of the route entry.
- Transit
Router stringRoute Entry Name - The name of the route entry.
- Transit
Router stringRoute Entry Next Hop Id - The next hot id of the routing entry.
- Transit
Router stringRoute Entry Next Hop Type - The next hop type of the routing entry. The value can be Attachment or BlackHole.
- Transit
Router stringRoute Entry Type - The type of the route entry.
- Update
Time string - The update time of the route entry.
- Creation
Time string - The creation time of the route entry.
- Description string
- Description of the transit router route entry.
- Destination
Cidr stringBlock - The target network segment of the route entry.
- Status string
- The status of the route entry.
- Transit
Router stringRoute Entry Id - The id of the route entry.
- Transit
Router stringRoute Entry Name - The name of the route entry.
- Transit
Router stringRoute Entry Next Hop Id - The next hot id of the routing entry.
- Transit
Router stringRoute Entry Next Hop Type - The next hop type of the routing entry. The value can be Attachment or BlackHole.
- Transit
Router stringRoute Entry Type - The type of the route entry.
- Update
Time string - The update time of the route entry.
- creation
Time String - The creation time of the route entry.
- description String
- Description of the transit router route entry.
- destination
Cidr StringBlock - The target network segment of the route entry.
- status String
- The status of the route entry.
- transit
Router StringRoute Entry Id - The id of the route entry.
- transit
Router StringRoute Entry Name - The name of the route entry.
- transit
Router StringRoute Entry Next Hop Id - The next hot id of the routing entry.
- transit
Router StringRoute Entry Next Hop Type - The next hop type of the routing entry. The value can be Attachment or BlackHole.
- transit
Router StringRoute Entry Type - The type of the route entry.
- update
Time String - The update time of the route entry.
- creation
Time string - The creation time of the route entry.
- description string
- Description of the transit router route entry.
- destination
Cidr stringBlock - The target network segment of the route entry.
- status string
- The status of the route entry.
- transit
Router stringRoute Entry Id - The id of the route entry.
- transit
Router stringRoute Entry Name - The name of the route entry.
- transit
Router stringRoute Entry Next Hop Id - The next hot id of the routing entry.
- transit
Router stringRoute Entry Next Hop Type - The next hop type of the routing entry. The value can be Attachment or BlackHole.
- transit
Router stringRoute Entry Type - The type of the route entry.
- update
Time string - The update time of the route entry.
- creation_
time str - The creation time of the route entry.
- description str
- Description of the transit router route entry.
- destination_
cidr_ strblock - The target network segment of the route entry.
- status str
- The status of the route entry.
- transit_
router_ strroute_ entry_ id - The id of the route entry.
- transit_
router_ strroute_ entry_ name - The name of the route entry.
- transit_
router_ strroute_ entry_ next_ hop_ id - The next hot id of the routing entry.
- transit_
router_ strroute_ entry_ next_ hop_ type - The next hop type of the routing entry. The value can be Attachment or BlackHole.
- transit_
router_ strroute_ entry_ type - The type of the route entry.
- update_
time str - The update time of the route entry.
- creation
Time String - The creation time of the route entry.
- description String
- Description of the transit router route entry.
- destination
Cidr StringBlock - The target network segment of the route entry.
- status String
- The status of the route entry.
- transit
Router StringRoute Entry Id - The id of the route entry.
- transit
Router StringRoute Entry Name - The name of the route entry.
- transit
Router StringRoute Entry Next Hop Id - The next hot id of the routing entry.
- transit
Router StringRoute Entry Next Hop Type - The next hop type of the routing entry. The value can be Attachment or BlackHole.
- transit
Router StringRoute Entry Type - The type of the route entry.
- update
Time String - The update time of the route entry.
Package Details
- Repository
- volcengine volcengine/pulumi-volcengine
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
volcengine
Terraform Provider.