1. Packages
  2. Packages
  3. Bytepluscc Provider
  4. API Docs
  5. directconnect
  6. getGatewayRoute
Viewing docs for bytepluscc v0.0.31
published on Monday, Jun 1, 2026 by Byteplus
bytepluscc logo
Viewing docs for bytepluscc v0.0.31
published on Monday, Jun 1, 2026 by Byteplus

    Data Source schema for Byteplus::DirectConnect::DirectConnectGatewayRoute

    Using getGatewayRoute

    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 getGatewayRoute(args: GetGatewayRouteArgs, opts?: InvokeOptions): Promise<GetGatewayRouteResult>
    function getGatewayRouteOutput(args: GetGatewayRouteOutputArgs, opts?: InvokeOptions): Output<GetGatewayRouteResult>
    def get_gateway_route(id: Optional[str] = None,
                          opts: Optional[InvokeOptions] = None) -> GetGatewayRouteResult
    def get_gateway_route_output(id: pulumi.Input[Optional[str]] = None,
                          opts: Optional[InvokeOptions] = None) -> Output[GetGatewayRouteResult]
    func LookupGatewayRoute(ctx *Context, args *LookupGatewayRouteArgs, opts ...InvokeOption) (*LookupGatewayRouteResult, error)
    func LookupGatewayRouteOutput(ctx *Context, args *LookupGatewayRouteOutputArgs, opts ...InvokeOption) LookupGatewayRouteResultOutput

    > Note: This function is named LookupGatewayRoute in the Go SDK.

    public static class GetGatewayRoute 
    {
        public static Task<GetGatewayRouteResult> InvokeAsync(GetGatewayRouteArgs args, InvokeOptions? opts = null)
        public static Output<GetGatewayRouteResult> Invoke(GetGatewayRouteInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetGatewayRouteResult> getGatewayRoute(GetGatewayRouteArgs args, InvokeOptions options)
    public static Output<GetGatewayRouteResult> getGatewayRoute(GetGatewayRouteArgs args, InvokeOptions options)
    
    fn::invoke:
      function: bytepluscc:directconnect/getGatewayRoute:getGatewayRoute
      arguments:
        # arguments dictionary
    data "bytepluscc_directconnect_getgatewayroute" "name" {
        # arguments
    }

    The following arguments are supported:

    Id string
    Uniquely identifies the resource.
    Id string
    Uniquely identifies the resource.
    id string
    Uniquely identifies the resource.
    id String
    Uniquely identifies the resource.
    id string
    Uniquely identifies the resource.
    id str
    Uniquely identifies the resource.
    id String
    Uniquely identifies the resource.

    getGatewayRoute Result

    The following output properties are available:

    AccountId string
    Account ID to which the dedicated gateway route belongs.
    CreationTime string
    Time when the dedicated gateway route was created.
    DestinationCidrBlock string
    Destination network segment of the dedicated gateway route.
    DirectConnectGatewayId string
    Dedicated gateway ID.
    DirectConnectGatewayRouteId string
    Dedicated gateway route ID.
    Id string
    Uniquely identifies the resource.
    NextHopId string
    Next hop instance ID for the dedicated gateway route.
    NextHopType string
    Type of the next hop instance for the dedicated gateway route. Valid values: VIF: Virtual Interface CEN: Cloud Enterprise Network TransitRouter: Transit Router.
    RouteType string
    Type of the dedicated gateway route. Valid values: BGP: BGP dynamic route Static: Static route CEN: Cloud Enterprise Network route, that is, after the dedicated gateway joins the Cloud Enterprise Network, routes synchronized from the Cloud Enterprise Network.
    Status string
    Status of the dedicated gateway route. Creating: Creating Deleting: Deleting Pending: Configuring Available: Available.
    AccountId string
    Account ID to which the dedicated gateway route belongs.
    CreationTime string
    Time when the dedicated gateway route was created.
    DestinationCidrBlock string
    Destination network segment of the dedicated gateway route.
    DirectConnectGatewayId string
    Dedicated gateway ID.
    DirectConnectGatewayRouteId string
    Dedicated gateway route ID.
    Id string
    Uniquely identifies the resource.
    NextHopId string
    Next hop instance ID for the dedicated gateway route.
    NextHopType string
    Type of the next hop instance for the dedicated gateway route. Valid values: VIF: Virtual Interface CEN: Cloud Enterprise Network TransitRouter: Transit Router.
    RouteType string
    Type of the dedicated gateway route. Valid values: BGP: BGP dynamic route Static: Static route CEN: Cloud Enterprise Network route, that is, after the dedicated gateway joins the Cloud Enterprise Network, routes synchronized from the Cloud Enterprise Network.
    Status string
    Status of the dedicated gateway route. Creating: Creating Deleting: Deleting Pending: Configuring Available: Available.
    account_id string
    Account ID to which the dedicated gateway route belongs.
    creation_time string
    Time when the dedicated gateway route was created.
    destination_cidr_block string
    Destination network segment of the dedicated gateway route.
    direct_connect_gateway_id string
    Dedicated gateway ID.
    direct_connect_gateway_route_id string
    Dedicated gateway route ID.
    id string
    Uniquely identifies the resource.
    next_hop_id string
    Next hop instance ID for the dedicated gateway route.
    next_hop_type string
    Type of the next hop instance for the dedicated gateway route. Valid values: VIF: Virtual Interface CEN: Cloud Enterprise Network TransitRouter: Transit Router.
    route_type string
    Type of the dedicated gateway route. Valid values: BGP: BGP dynamic route Static: Static route CEN: Cloud Enterprise Network route, that is, after the dedicated gateway joins the Cloud Enterprise Network, routes synchronized from the Cloud Enterprise Network.
    status string
    Status of the dedicated gateway route. Creating: Creating Deleting: Deleting Pending: Configuring Available: Available.
    accountId String
    Account ID to which the dedicated gateway route belongs.
    creationTime String
    Time when the dedicated gateway route was created.
    destinationCidrBlock String
    Destination network segment of the dedicated gateway route.
    directConnectGatewayId String
    Dedicated gateway ID.
    directConnectGatewayRouteId String
    Dedicated gateway route ID.
    id String
    Uniquely identifies the resource.
    nextHopId String
    Next hop instance ID for the dedicated gateway route.
    nextHopType String
    Type of the next hop instance for the dedicated gateway route. Valid values: VIF: Virtual Interface CEN: Cloud Enterprise Network TransitRouter: Transit Router.
    routeType String
    Type of the dedicated gateway route. Valid values: BGP: BGP dynamic route Static: Static route CEN: Cloud Enterprise Network route, that is, after the dedicated gateway joins the Cloud Enterprise Network, routes synchronized from the Cloud Enterprise Network.
    status String
    Status of the dedicated gateway route. Creating: Creating Deleting: Deleting Pending: Configuring Available: Available.
    accountId string
    Account ID to which the dedicated gateway route belongs.
    creationTime string
    Time when the dedicated gateway route was created.
    destinationCidrBlock string
    Destination network segment of the dedicated gateway route.
    directConnectGatewayId string
    Dedicated gateway ID.
    directConnectGatewayRouteId string
    Dedicated gateway route ID.
    id string
    Uniquely identifies the resource.
    nextHopId string
    Next hop instance ID for the dedicated gateway route.
    nextHopType string
    Type of the next hop instance for the dedicated gateway route. Valid values: VIF: Virtual Interface CEN: Cloud Enterprise Network TransitRouter: Transit Router.
    routeType string
    Type of the dedicated gateway route. Valid values: BGP: BGP dynamic route Static: Static route CEN: Cloud Enterprise Network route, that is, after the dedicated gateway joins the Cloud Enterprise Network, routes synchronized from the Cloud Enterprise Network.
    status string
    Status of the dedicated gateway route. Creating: Creating Deleting: Deleting Pending: Configuring Available: Available.
    account_id str
    Account ID to which the dedicated gateway route belongs.
    creation_time str
    Time when the dedicated gateway route was created.
    destination_cidr_block str
    Destination network segment of the dedicated gateway route.
    direct_connect_gateway_id str
    Dedicated gateway ID.
    direct_connect_gateway_route_id str
    Dedicated gateway route ID.
    id str
    Uniquely identifies the resource.
    next_hop_id str
    Next hop instance ID for the dedicated gateway route.
    next_hop_type str
    Type of the next hop instance for the dedicated gateway route. Valid values: VIF: Virtual Interface CEN: Cloud Enterprise Network TransitRouter: Transit Router.
    route_type str
    Type of the dedicated gateway route. Valid values: BGP: BGP dynamic route Static: Static route CEN: Cloud Enterprise Network route, that is, after the dedicated gateway joins the Cloud Enterprise Network, routes synchronized from the Cloud Enterprise Network.
    status str
    Status of the dedicated gateway route. Creating: Creating Deleting: Deleting Pending: Configuring Available: Available.
    accountId String
    Account ID to which the dedicated gateway route belongs.
    creationTime String
    Time when the dedicated gateway route was created.
    destinationCidrBlock String
    Destination network segment of the dedicated gateway route.
    directConnectGatewayId String
    Dedicated gateway ID.
    directConnectGatewayRouteId String
    Dedicated gateway route ID.
    id String
    Uniquely identifies the resource.
    nextHopId String
    Next hop instance ID for the dedicated gateway route.
    nextHopType String
    Type of the next hop instance for the dedicated gateway route. Valid values: VIF: Virtual Interface CEN: Cloud Enterprise Network TransitRouter: Transit Router.
    routeType String
    Type of the dedicated gateway route. Valid values: BGP: BGP dynamic route Static: Static route CEN: Cloud Enterprise Network route, that is, after the dedicated gateway joins the Cloud Enterprise Network, routes synchronized from the Cloud Enterprise Network.
    status String
    Status of the dedicated gateway route. Creating: Creating Deleting: Deleting Pending: Configuring Available: Available.

    Package Details

    Repository
    bytepluscc byteplus-sdk/pulumi-bytepluscc
    License
    MPL-2.0
    Notes
    This Pulumi package is based on the bytepluscc Terraform Provider.
    bytepluscc logo
    Viewing docs for bytepluscc v0.0.31
    published on Monday, Jun 1, 2026 by Byteplus

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial