ibm 1.78.0 published on Wednesday, Apr 30, 2025 by ibm-cloud
ibm.getDlRouteReport
Explore with Pulumi AI
Import the details of an existing infrastructure Direct Link Route Report 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
Coming soon!
Coming soon!
Coming soon!
Coming soon!
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.dl_gateway().id())
.routeReport(ibm_dl_route_report.dl_route_report().route_report_id())
.build());
}
}
variables:
testDlReports:
fn::invoke:
function: ibm:getDlRouteReports
arguments:
gateway: ${ibm_dl_gateway.dl_gateway.id}
routeReport: ${ibm_dl_route_report.dl_route_report.route_report_id}
Using getDlRouteReport
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 getDlRouteReport(args: GetDlRouteReportArgs, opts?: InvokeOptions): Promise<GetDlRouteReportResult>
function getDlRouteReportOutput(args: GetDlRouteReportOutputArgs, opts?: InvokeOptions): Output<GetDlRouteReportResult>
def get_dl_route_report(gateway: Optional[str] = None,
id: Optional[str] = None,
route_report: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetDlRouteReportResult
def get_dl_route_report_output(gateway: Optional[pulumi.Input[str]] = None,
id: Optional[pulumi.Input[str]] = None,
route_report: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetDlRouteReportResult]
func LookupDlRouteReport(ctx *Context, args *LookupDlRouteReportArgs, opts ...InvokeOption) (*LookupDlRouteReportResult, error)
func LookupDlRouteReportOutput(ctx *Context, args *LookupDlRouteReportOutputArgs, opts ...InvokeOption) LookupDlRouteReportResultOutput
> Note: This function is named LookupDlRouteReport
in the Go SDK.
public static class GetDlRouteReport
{
public static Task<GetDlRouteReportResult> InvokeAsync(GetDlRouteReportArgs args, InvokeOptions? opts = null)
public static Output<GetDlRouteReportResult> Invoke(GetDlRouteReportInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetDlRouteReportResult> getDlRouteReport(GetDlRouteReportArgs args, InvokeOptions options)
public static Output<GetDlRouteReportResult> getDlRouteReport(GetDlRouteReportArgs args, InvokeOptions options)
fn::invoke:
function: ibm:index/getDlRouteReport:getDlRouteReport
arguments:
# arguments dictionary
The following arguments are supported:
- Gateway string
- Direct Link Gateway ID.
- Route
Report string - Unique identifier of the route report
- Id string
- Gateway string
- Direct Link Gateway ID.
- Route
Report string - Unique identifier of the route report
- Id string
- gateway String
- Direct Link Gateway ID.
- route
Report String - Unique identifier of the route report
- id String
- gateway string
- Direct Link Gateway ID.
- route
Report string - Unique identifier of the route report
- id string
- gateway str
- Direct Link Gateway ID.
- route_
report str - Unique identifier of the route report
- id str
- gateway String
- Direct Link Gateway ID.
- route
Report String - Unique identifier of the route report
- id String
getDlRouteReport Result
The following output properties are available:
- Advertised
Routes List<GetDl 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 string
- Gateway
Routes List<GetDl Route Report Gateway Route> - (List) List of local/direct routes.
Nested scheme for
gateway_routes
: - Id string
- On
Prem List<GetRoutes Dl Route Report On Prem Route> - (List) List of on premises routes
Nested scheme for
on_prem_routes
: - Overlapping
Routes List<GetDl Route Report Overlapping Route> - (List) List of overlapping routes.
Nested scheme for
overlapping_routes
: - Route
Report string - Status string
- (String) The route report status.
- Updated
At string - (String) The date and time resource was updated.
- Virtual
Connection List<GetRoutes Dl Route Report Virtual Connection Route> - (List) List of routes on virtual connections.
Nested scheme for
virtual_connection_routes
- Advertised
Routes []GetDl 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 string
- Gateway
Routes []GetDl Route Report Gateway Route - (List) List of local/direct routes.
Nested scheme for
gateway_routes
: - Id string
- On
Prem []GetRoutes Dl Route Report On Prem Route - (List) List of on premises routes
Nested scheme for
on_prem_routes
: - Overlapping
Routes []GetDl Route Report Overlapping Route - (List) List of overlapping routes.
Nested scheme for
overlapping_routes
: - Route
Report string - Status string
- (String) The route report status.
- Updated
At string - (String) The date and time resource was updated.
- Virtual
Connection []GetRoutes Dl Route Report Virtual Connection Route - (List) List of routes on virtual connections.
Nested scheme for
virtual_connection_routes
- advertised
Routes List<GetDl 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 String
- gateway
Routes List<GetDl Route Report Gateway Route> - (List) List of local/direct routes.
Nested scheme for
gateway_routes
: - id String
- on
Prem List<GetRoutes Dl Route Report On Prem Route> - (List) List of on premises routes
Nested scheme for
on_prem_routes
: - overlapping
Routes List<GetDl Route Report Overlapping Route> - (List) List of overlapping routes.
Nested scheme for
overlapping_routes
: - route
Report String - status String
- (String) The route report status.
- updated
At String - (String) The date and time resource was updated.
- virtual
Connection List<GetRoutes Dl Route Report Virtual Connection Route> - (List) List of routes on virtual connections.
Nested scheme for
virtual_connection_routes
- advertised
Routes GetDl 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 string
- gateway
Routes GetDl Route Report Gateway Route[] - (List) List of local/direct routes.
Nested scheme for
gateway_routes
: - id string
- on
Prem GetRoutes Dl Route Report On Prem Route[] - (List) List of on premises routes
Nested scheme for
on_prem_routes
: - overlapping
Routes GetDl Route Report Overlapping Route[] - (List) List of overlapping routes.
Nested scheme for
overlapping_routes
: - route
Report string - status string
- (String) The route report status.
- updated
At string - (String) The date and time resource was updated.
- virtual
Connection GetRoutes Dl Route Report Virtual Connection Route[] - (List) List of routes on virtual connections.
Nested scheme for
virtual_connection_routes
- advertised_
routes Sequence[GetDl 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 str
- gateway_
routes Sequence[GetDl Route Report Gateway Route] - (List) List of local/direct routes.
Nested scheme for
gateway_routes
: - id str
- on_
prem_ Sequence[Getroutes Dl Route Report On Prem Route] - (List) List of on premises routes
Nested scheme for
on_prem_routes
: - overlapping_
routes Sequence[GetDl Route Report Overlapping Route] - (List) List of overlapping routes.
Nested scheme for
overlapping_routes
: - route_
report str - status str
- (String) The route report status.
- updated_
at str - (String) The date and time resource was updated.
- virtual_
connection_ Sequence[Getroutes Dl 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 String
- gateway
Routes List<Property Map> - (List) List of local/direct routes.
Nested scheme for
gateway_routes
: - id String
- 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
: - route
Report String - 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
Supporting Types
GetDlRouteReportAdvertisedRoute
GetDlRouteReportGatewayRoute
- 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.
GetDlRouteReportOnPremRoute
GetDlRouteReportOverlappingRoute
- Routes
List<Get
Dl Route Report Overlapping Route Route> - (List) List of virtual connection routes.
Nested scheme for
routes
:
- Routes
[]Get
Dl Route Report Overlapping Route Route - (List) List of virtual connection routes.
Nested scheme for
routes
:
- routes
List<Get
Dl Route Report Overlapping Route Route> - (List) List of virtual connection routes.
Nested scheme for
routes
:
- routes
Get
Dl Route Report Overlapping Route Route[] - (List) List of virtual connection routes.
Nested scheme for
routes
:
- routes
Sequence[Get
Dl 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
:
GetDlRouteReportOverlappingRouteRoute
- 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
GetDlRouteReportVirtualConnectionRoute
- Routes
List<Get
Dl 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 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 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 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 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
GetDlRouteReportVirtualConnectionRouteRoute
- 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.