ibm 1.78.0 published on Wednesday, Apr 30, 2025 by ibm-cloud
ibm.getDlRouteReports
Explore with Pulumi AI
Import the details of an existing infrastructure Direct Link Route Reports as a read-only data source. You can then reference the fields of the data source in other resources within the same configuration using interpolation syntax. For more information, about Direct Link route reports, see Direct Link Route Report.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as ibm from "@pulumi/ibm";
const testDlReports = ibm.getDlRouteReports({
gateway: ibm_dl_gateway.test_dl_gateway.id,
});
import pulumi
import pulumi_ibm as ibm
test_dl_reports = ibm.get_dl_route_reports(gateway=ibm_dl_gateway["test_dl_gateway"]["id"])
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/ibm/ibm"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ibm.GetDlRouteReports(ctx, &ibm.GetDlRouteReportsArgs{
Gateway: ibm_dl_gateway.Test_dl_gateway.Id,
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Ibm = Pulumi.Ibm;
return await Deployment.RunAsync(() =>
{
var testDlReports = Ibm.GetDlRouteReports.Invoke(new()
{
Gateway = ibm_dl_gateway.Test_dl_gateway.Id,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ibm.IbmFunctions;
import com.pulumi.ibm.inputs.GetDlRouteReportsArgs;
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 testDlReports = IbmFunctions.getDlRouteReports(GetDlRouteReportsArgs.builder()
.gateway(ibm_dl_gateway.test_dl_gateway().id())
.build());
}
}
variables:
testDlReports:
fn::invoke:
function: ibm:getDlRouteReports
arguments:
gateway: ${ibm_dl_gateway.test_dl_gateway.id}
Using getDlRouteReports
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 getDlRouteReports(args: GetDlRouteReportsArgs, opts?: InvokeOptions): Promise<GetDlRouteReportsResult>
function getDlRouteReportsOutput(args: GetDlRouteReportsOutputArgs, opts?: InvokeOptions): Output<GetDlRouteReportsResult>
def get_dl_route_reports(gateway: Optional[str] = None,
id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetDlRouteReportsResult
def get_dl_route_reports_output(gateway: Optional[pulumi.Input[str]] = None,
id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetDlRouteReportsResult]
func GetDlRouteReports(ctx *Context, args *GetDlRouteReportsArgs, opts ...InvokeOption) (*GetDlRouteReportsResult, error)
func GetDlRouteReportsOutput(ctx *Context, args *GetDlRouteReportsOutputArgs, opts ...InvokeOption) GetDlRouteReportsResultOutput
> Note: This function is named GetDlRouteReports
in the Go SDK.
public static class GetDlRouteReports
{
public static Task<GetDlRouteReportsResult> InvokeAsync(GetDlRouteReportsArgs args, InvokeOptions? opts = null)
public static Output<GetDlRouteReportsResult> Invoke(GetDlRouteReportsInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetDlRouteReportsResult> getDlRouteReports(GetDlRouteReportsArgs args, InvokeOptions options)
public static Output<GetDlRouteReportsResult> getDlRouteReports(GetDlRouteReportsArgs args, InvokeOptions options)
fn::invoke:
function: ibm:index/getDlRouteReports:getDlRouteReports
arguments:
# arguments dictionary
The following arguments are supported:
getDlRouteReports Result
The following output properties are available:
- Gateway string
- Id string
- (String) Route report identifier.
- Route
Reports List<GetDl Route Reports Route Report> - (String) List of all route reports for the transit gateway
Nested scheme for
route_reports
- Gateway string
- Id string
- (String) Route report identifier.
- Route
Reports []GetDl Route Reports Route Report - (String) List of all route reports for the transit gateway
Nested scheme for
route_reports
- gateway String
- id String
- (String) Route report identifier.
- route
Reports List<GetDl Route Reports Route Report> - (String) List of all route reports for the transit gateway
Nested scheme for
route_reports
- gateway string
- id string
- (String) Route report identifier.
- route
Reports GetDl Route Reports Route Report[] - (String) List of all route reports for the transit gateway
Nested scheme for
route_reports
- gateway str
- id str
- (String) Route report identifier.
- route_
reports Sequence[GetDl Route Reports Route Report] - (String) List of all route reports for the transit gateway
Nested scheme for
route_reports
- gateway String
- id String
- (String) Route report identifier.
- route
Reports List<Property Map> - (String) List of all route reports for the transit gateway
Nested scheme for
route_reports
Supporting Types
GetDlRouteReportsRouteReport
- Advertised
Routes List<GetDl Route Reports Route Report Advertised Route> - (List) List of connection prefixes advertised to the on-prem network.
Nested scheme for
advertised_routes
: - Created
At string - (String) The date and time resource created.
- Gateway
Routes List<GetDl Route Reports Route Report Gateway Route> - (List) List of local/direct routes.
Nested scheme for
gateway_routes
: - Id string
- (String) Route report identifier.
- On
Prem List<GetRoutes Dl Route Reports Route Report On Prem Route> - (List) List of on premises routes
Nested scheme for
on_prem_routes
: - Overlapping
Routes List<GetDl Route Reports Route Report Overlapping Route> - (List) List of overlapping routes.
Nested scheme for
overlapping_routes
: - Status string
- (String) The route report status.
- Updated
At string - (String) The date and time resource was updated.
- Virtual
Connection List<GetRoutes Dl Route Reports Route Report Virtual Connection Route> - (List) List of routes on virtual connections.
Nested scheme for
virtual_connection_routes
- Advertised
Routes []GetDl Route Reports Route Report Advertised Route - (List) List of connection prefixes advertised to the on-prem network.
Nested scheme for
advertised_routes
: - Created
At string - (String) The date and time resource created.
- Gateway
Routes []GetDl Route Reports Route Report Gateway Route - (List) List of local/direct routes.
Nested scheme for
gateway_routes
: - Id string
- (String) Route report identifier.
- On
Prem []GetRoutes Dl Route Reports Route Report On Prem Route - (List) List of on premises routes
Nested scheme for
on_prem_routes
: - Overlapping
Routes []GetDl Route Reports Route Report Overlapping Route - (List) List of overlapping routes.
Nested scheme for
overlapping_routes
: - Status string
- (String) The route report status.
- Updated
At string - (String) The date and time resource was updated.
- Virtual
Connection []GetRoutes Dl Route Reports Route Report Virtual Connection Route - (List) List of routes on virtual connections.
Nested scheme for
virtual_connection_routes
- advertised
Routes List<GetDl Route Reports Route Report Advertised Route> - (List) List of connection prefixes advertised to the on-prem network.
Nested scheme for
advertised_routes
: - created
At String - (String) The date and time resource created.
- gateway
Routes List<GetDl Route Reports Route Report Gateway Route> - (List) List of local/direct routes.
Nested scheme for
gateway_routes
: - id String
- (String) Route report identifier.
- on
Prem List<GetRoutes Dl Route Reports Route Report On Prem Route> - (List) List of on premises routes
Nested scheme for
on_prem_routes
: - overlapping
Routes List<GetDl Route Reports Route Report Overlapping Route> - (List) List of overlapping routes.
Nested scheme for
overlapping_routes
: - status String
- (String) The route report status.
- updated
At String - (String) The date and time resource was updated.
- virtual
Connection List<GetRoutes Dl Route Reports Route Report Virtual Connection Route> - (List) List of routes on virtual connections.
Nested scheme for
virtual_connection_routes
- advertised
Routes GetDl Route Reports Route Report Advertised Route[] - (List) List of connection prefixes advertised to the on-prem network.
Nested scheme for
advertised_routes
: - created
At string - (String) The date and time resource created.
- gateway
Routes GetDl Route Reports Route Report Gateway Route[] - (List) List of local/direct routes.
Nested scheme for
gateway_routes
: - id string
- (String) Route report identifier.
- on
Prem GetRoutes Dl Route Reports Route Report On Prem Route[] - (List) List of on premises routes
Nested scheme for
on_prem_routes
: - overlapping
Routes GetDl Route Reports Route Report Overlapping Route[] - (List) List of overlapping routes.
Nested scheme for
overlapping_routes
: - status string
- (String) The route report status.
- updated
At string - (String) The date and time resource was updated.
- virtual
Connection GetRoutes Dl Route Reports Route Report Virtual Connection Route[] - (List) List of routes on virtual connections.
Nested scheme for
virtual_connection_routes
- advertised_
routes Sequence[GetDl Route Reports Route Report Advertised Route] - (List) List of connection prefixes advertised to the on-prem network.
Nested scheme for
advertised_routes
: - created_
at str - (String) The date and time resource created.
- gateway_
routes Sequence[GetDl Route Reports Route Report Gateway Route] - (List) List of local/direct routes.
Nested scheme for
gateway_routes
: - id str
- (String) Route report identifier.
- on_
prem_ Sequence[Getroutes Dl Route Reports Route Report On Prem Route] - (List) List of on premises routes
Nested scheme for
on_prem_routes
: - overlapping_
routes Sequence[GetDl Route Reports Route Report Overlapping Route] - (List) List of overlapping routes.
Nested scheme for
overlapping_routes
: - status str
- (String) The route report status.
- updated_
at str - (String) The date and time resource was updated.
- virtual_
connection_ Sequence[Getroutes Dl Route Reports Route Report Virtual Connection Route] - (List) List of routes on virtual connections.
Nested scheme for
virtual_connection_routes
- advertised
Routes List<Property Map> - (List) List of connection prefixes advertised to the on-prem network.
Nested scheme for
advertised_routes
: - created
At String - (String) The date and time resource created.
- gateway
Routes List<Property Map> - (List) List of local/direct routes.
Nested scheme for
gateway_routes
: - id String
- (String) Route report identifier.
- on
Prem List<Property Map>Routes - (List) List of on premises routes
Nested scheme for
on_prem_routes
: - overlapping
Routes List<Property Map> - (List) List of overlapping routes.
Nested scheme for
overlapping_routes
: - status String
- (String) The route report status.
- updated
At String - (String) The date and time resource was updated.
- virtual
Connection List<Property Map>Routes - (List) List of routes on virtual connections.
Nested scheme for
virtual_connection_routes
GetDlRouteReportsRouteReportAdvertisedRoute
GetDlRouteReportsRouteReportGatewayRoute
- Prefix string
- (String) The prefix used in the route.
- Prefix string
- (String) The prefix used in the route.
- prefix String
- (String) The prefix used in the route.
- prefix string
- (String) The prefix used in the route.
- prefix str
- (String) The prefix used in the route.
- prefix String
- (String) The prefix used in the route.
GetDlRouteReportsRouteReportOnPremRoute
GetDlRouteReportsRouteReportOverlappingRoute
- Routes
List<Get
Dl Route Reports Route Report Overlapping Route Route> - (List) List of virtual connection routes.
Nested scheme for
routes
:
- Routes
[]Get
Dl Route Reports Route Report Overlapping Route Route - (List) List of virtual connection routes.
Nested scheme for
routes
:
- routes
List<Get
Dl Route Reports Route Report Overlapping Route Route> - (List) List of virtual connection routes.
Nested scheme for
routes
:
- routes
Get
Dl Route Reports Route Report Overlapping Route Route[] - (List) List of virtual connection routes.
Nested scheme for
routes
:
- routes
Sequence[Get
Dl Route Reports Route Report Overlapping Route Route] - (List) List of virtual connection routes.
Nested scheme for
routes
:
- routes List<Property Map>
- (List) List of virtual connection routes.
Nested scheme for
routes
:
GetDlRouteReportsRouteReportOverlappingRouteRoute
- Prefix string
- (String) The prefix used in the route.
- Type string
- (String) The type of route.
- Virtual
Connection stringId - (String) Virtual Connection ID
- Prefix string
- (String) The prefix used in the route.
- Type string
- (String) The type of route.
- Virtual
Connection stringId - (String) Virtual Connection ID
- prefix String
- (String) The prefix used in the route.
- type String
- (String) The type of route.
- virtual
Connection StringId - (String) Virtual Connection ID
- prefix string
- (String) The prefix used in the route.
- type string
- (String) The type of route.
- virtual
Connection stringId - (String) Virtual Connection ID
- prefix str
- (String) The prefix used in the route.
- type str
- (String) The type of route.
- virtual_
connection_ strid - (String) Virtual Connection ID
- prefix String
- (String) The prefix used in the route.
- type String
- (String) The type of route.
- virtual
Connection StringId - (String) Virtual Connection ID
GetDlRouteReportsRouteReportVirtualConnectionRoute
- Routes
List<Get
Dl Route Reports Route Report Virtual Connection Route Route> - (List) List of virtual connection routes.
Nested scheme for
routes
: - Virtual
Connection stringId - (String) Virtual Connection ID
- Virtual
Connection stringName - (String) Virtual Connection name
- Virtual
Connection stringType - (String) Virtual Connection type
- Routes
[]Get
Dl Route Reports Route Report Virtual Connection Route Route - (List) List of virtual connection routes.
Nested scheme for
routes
: - Virtual
Connection stringId - (String) Virtual Connection ID
- Virtual
Connection stringName - (String) Virtual Connection name
- Virtual
Connection stringType - (String) Virtual Connection type
- routes
List<Get
Dl Route Reports Route Report Virtual Connection Route Route> - (List) List of virtual connection routes.
Nested scheme for
routes
: - virtual
Connection StringId - (String) Virtual Connection ID
- virtual
Connection StringName - (String) Virtual Connection name
- virtual
Connection StringType - (String) Virtual Connection type
- routes
Get
Dl Route Reports Route Report Virtual Connection Route Route[] - (List) List of virtual connection routes.
Nested scheme for
routes
: - virtual
Connection stringId - (String) Virtual Connection ID
- virtual
Connection stringName - (String) Virtual Connection name
- virtual
Connection stringType - (String) Virtual Connection type
- routes
Sequence[Get
Dl Route Reports Route Report Virtual Connection Route Route] - (List) List of virtual connection routes.
Nested scheme for
routes
: - virtual_
connection_ strid - (String) Virtual Connection ID
- virtual_
connection_ strname - (String) Virtual Connection name
- virtual_
connection_ strtype - (String) Virtual Connection type
- routes List<Property Map>
- (List) List of virtual connection routes.
Nested scheme for
routes
: - virtual
Connection StringId - (String) Virtual Connection ID
- virtual
Connection StringName - (String) Virtual Connection name
- virtual
Connection StringType - (String) Virtual Connection type
GetDlRouteReportsRouteReportVirtualConnectionRouteRoute
- Active bool
- (Bool) Indicates whether the route is the preferred path of the prefix.
- Local
Preference string - (String) The local preference of the route. This attribute can manipulate the chosen path on routes.
- Prefix string
- (String) The prefix used in the route.
- Active bool
- (Bool) Indicates whether the route is the preferred path of the prefix.
- Local
Preference string - (String) The local preference of the route. This attribute can manipulate the chosen path on routes.
- Prefix string
- (String) The prefix used in the route.
- active Boolean
- (Bool) Indicates whether the route is the preferred path of the prefix.
- local
Preference String - (String) The local preference of the route. This attribute can manipulate the chosen path on routes.
- prefix String
- (String) The prefix used in the route.
- active boolean
- (Bool) Indicates whether the route is the preferred path of the prefix.
- local
Preference string - (String) The local preference of the route. This attribute can manipulate the chosen path on routes.
- prefix string
- (String) The prefix used in the route.
- active bool
- (Bool) Indicates whether the route is the preferred path of the prefix.
- local_
preference str - (String) The local preference of the route. This attribute can manipulate the chosen path on routes.
- prefix str
- (String) The prefix used in the route.
- active Boolean
- (Bool) Indicates whether the route is the preferred path of the prefix.
- local
Preference String - (String) The local preference of the route. This attribute can manipulate the chosen path on routes.
- prefix String
- (String) The prefix used in the route.
Package Details
- Repository
- ibm ibm-cloud/terraform-provider-ibm
- License
- Notes
- This Pulumi package is based on the
ibm
Terraform Provider.