ibm 1.78.0 published on Wednesday, Apr 30, 2025 by ibm-cloud
ibm.getTgRouteReport
Explore with Pulumi AI
Retrieve information of an existing IBM Cloud infrastructure transit gateway route report as a read only data source. For more information about Transit Gateway Route Reports, see generating and viewing a route report.
Using getTgRouteReport
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 getTgRouteReport(args: GetTgRouteReportArgs, opts?: InvokeOptions): Promise<GetTgRouteReportResult>
function getTgRouteReportOutput(args: GetTgRouteReportOutputArgs, opts?: InvokeOptions): Output<GetTgRouteReportResult>
def get_tg_route_report(gateway: Optional[str] = None,
id: Optional[str] = None,
route_report: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetTgRouteReportResult
def get_tg_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[GetTgRouteReportResult]
func LookupTgRouteReport(ctx *Context, args *LookupTgRouteReportArgs, opts ...InvokeOption) (*LookupTgRouteReportResult, error)
func LookupTgRouteReportOutput(ctx *Context, args *LookupTgRouteReportOutputArgs, opts ...InvokeOption) LookupTgRouteReportResultOutput
> Note: This function is named LookupTgRouteReport
in the Go SDK.
public static class GetTgRouteReport
{
public static Task<GetTgRouteReportResult> InvokeAsync(GetTgRouteReportArgs args, InvokeOptions? opts = null)
public static Output<GetTgRouteReportResult> Invoke(GetTgRouteReportInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetTgRouteReportResult> getTgRouteReport(GetTgRouteReportArgs args, InvokeOptions options)
public static Output<GetTgRouteReportResult> getTgRouteReport(GetTgRouteReportArgs args, InvokeOptions options)
fn::invoke:
function: ibm:index/getTgRouteReport:getTgRouteReport
arguments:
# arguments dictionary
The following arguments are supported:
- Gateway string
- The unique identifier of the gateway.
- Route
Report string - The unique identifier of the gateway route report
- Id string
- (String) The unique identifier for the transit gateway connection
- Gateway string
- The unique identifier of the gateway.
- Route
Report string - The unique identifier of the gateway route report
- Id string
- (String) The unique identifier for the transit gateway connection
- gateway String
- The unique identifier of the gateway.
- route
Report String - The unique identifier of the gateway route report
- id String
- (String) The unique identifier for the transit gateway connection
- gateway string
- The unique identifier of the gateway.
- route
Report string - The unique identifier of the gateway route report
- id string
- (String) The unique identifier for the transit gateway connection
- gateway str
- The unique identifier of the gateway.
- route_
report str - The unique identifier of the gateway route report
- id str
- (String) The unique identifier for the transit gateway connection
- gateway String
- The unique identifier of the gateway.
- route
Report String - The unique identifier of the gateway route report
- id String
- (String) The unique identifier for the transit gateway connection
getTgRouteReport Result
The following output properties are available:
- Connections
List<Get
Tg Route Report Connection> - (String) A list of connections in the gateway
- Created
At string - (Timestamp) The date and time resource is created.
- Gateway string
- Id string
- (String) The unique identifier for the transit gateway connection
- Overlapping
Routes List<GetTg Route Report Overlapping Route> - (String) A list of overlapping routes in the gateway
- Route
Report string - Status string
- (String) The route report status.
- Updated
At string - (Timestamp) The date and time resource is last updated.
- Connections
[]Get
Tg Route Report Connection - (String) A list of connections in the gateway
- Created
At string - (Timestamp) The date and time resource is created.
- Gateway string
- Id string
- (String) The unique identifier for the transit gateway connection
- Overlapping
Routes []GetTg Route Report Overlapping Route - (String) A list of overlapping routes in the gateway
- Route
Report string - Status string
- (String) The route report status.
- Updated
At string - (Timestamp) The date and time resource is last updated.
- connections
List<Get
Tg Route Report Connection> - (String) A list of connections in the gateway
- created
At String - (Timestamp) The date and time resource is created.
- gateway String
- id String
- (String) The unique identifier for the transit gateway connection
- overlapping
Routes List<GetTg Route Report Overlapping Route> - (String) A list of overlapping routes in the gateway
- route
Report String - status String
- (String) The route report status.
- updated
At String - (Timestamp) The date and time resource is last updated.
- connections
Get
Tg Route Report Connection[] - (String) A list of connections in the gateway
- created
At string - (Timestamp) The date and time resource is created.
- gateway string
- id string
- (String) The unique identifier for the transit gateway connection
- overlapping
Routes GetTg Route Report Overlapping Route[] - (String) A list of overlapping routes in the gateway
- route
Report string - status string
- (String) The route report status.
- updated
At string - (Timestamp) The date and time resource is last updated.
- connections
Sequence[Get
Tg Route Report Connection] - (String) A list of connections in the gateway
- created_
at str - (Timestamp) The date and time resource is created.
- gateway str
- id str
- (String) The unique identifier for the transit gateway connection
- overlapping_
routes Sequence[GetTg Route Report Overlapping Route] - (String) A list of overlapping routes in the gateway
- route_
report str - status str
- (String) The route report status.
- updated_
at str - (Timestamp) The date and time resource is last updated.
- connections List<Property Map>
- (String) A list of connections in the gateway
- created
At String - (Timestamp) The date and time resource is created.
- gateway String
- id String
- (String) The unique identifier for the transit gateway connection
- overlapping
Routes List<Property Map> - (String) A list of overlapping routes in the gateway
- route
Report String - status String
- (String) The route report status.
- updated
At String - (Timestamp) The date and time resource is last updated.
Supporting Types
GetTgRouteReportConnection
- Bgps
List<Get
Tg Route Report Connection Bgp> - (String) A list of the connection's bgps
Nested scheme for
bgps
: - Id string
- (String) The unique identifier for the transit gateway connection
- Name string
- (String) The user-defined name for the transit gateway connection.
- Routes
List<Get
Tg Route Report Connection Route> - (String) A list of the connection's routes
- Type string
- (String) The connection type
- Bgps
[]Get
Tg Route Report Connection Bgp - (String) A list of the connection's bgps
Nested scheme for
bgps
: - Id string
- (String) The unique identifier for the transit gateway connection
- Name string
- (String) The user-defined name for the transit gateway connection.
- Routes
[]Get
Tg Route Report Connection Route - (String) A list of the connection's routes
- Type string
- (String) The connection type
- bgps
List<Get
Tg Route Report Connection Bgp> - (String) A list of the connection's bgps
Nested scheme for
bgps
: - id String
- (String) The unique identifier for the transit gateway connection
- name String
- (String) The user-defined name for the transit gateway connection.
- routes
List<Get
Tg Route Report Connection Route> - (String) A list of the connection's routes
- type String
- (String) The connection type
- bgps
Get
Tg Route Report Connection Bgp[] - (String) A list of the connection's bgps
Nested scheme for
bgps
: - id string
- (String) The unique identifier for the transit gateway connection
- name string
- (String) The user-defined name for the transit gateway connection.
- routes
Get
Tg Route Report Connection Route[] - (String) A list of the connection's routes
- type string
- (String) The connection type
- bgps
Sequence[Get
Tg Route Report Connection Bgp] - (String) A list of the connection's bgps
Nested scheme for
bgps
: - id str
- (String) The unique identifier for the transit gateway connection
- name str
- (String) The user-defined name for the transit gateway connection.
- routes
Sequence[Get
Tg Route Report Connection Route] - (String) A list of the connection's routes
- type str
- (String) The connection type
- bgps List<Property Map>
- (String) A list of the connection's bgps
Nested scheme for
bgps
: - id String
- (String) The unique identifier for the transit gateway connection
- name String
- (String) The user-defined name for the transit gateway connection.
- routes List<Property Map>
- (String) A list of the connection's routes
- type String
- (String) The connection type
GetTgRouteReportConnectionBgp
- As
Path string - (String) The bgp AS path
- Is
Used bool - (Bool) Indicates whether the current route is used or not
- Local
Preference string - (String) The local preference
- Prefix string
- (String) The overlapping prefix
- As
Path string - (String) The bgp AS path
- Is
Used bool - (Bool) Indicates whether the current route is used or not
- Local
Preference string - (String) The local preference
- Prefix string
- (String) The overlapping prefix
- as
Path String - (String) The bgp AS path
- is
Used Boolean - (Bool) Indicates whether the current route is used or not
- local
Preference String - (String) The local preference
- prefix String
- (String) The overlapping prefix
- as
Path string - (String) The bgp AS path
- is
Used boolean - (Bool) Indicates whether the current route is used or not
- local
Preference string - (String) The local preference
- prefix string
- (String) The overlapping prefix
- as_
path str - (String) The bgp AS path
- is_
used bool - (Bool) Indicates whether the current route is used or not
- local_
preference str - (String) The local preference
- prefix str
- (String) The overlapping prefix
- as
Path String - (String) The bgp AS path
- is
Used Boolean - (Bool) Indicates whether the current route is used or not
- local
Preference String - (String) The local preference
- prefix String
- (String) The overlapping prefix
GetTgRouteReportConnectionRoute
- Prefix string
- (String) The overlapping prefix
- Prefix string
- (String) The overlapping prefix
- prefix String
- (String) The overlapping prefix
- prefix string
- (String) The overlapping prefix
- prefix str
- (String) The overlapping prefix
- prefix String
- (String) The overlapping prefix
GetTgRouteReportOverlappingRoute
- Routes
List<Get
Tg Route Report Overlapping Route Route> - (String) A list of the connection's routes
- Routes
[]Get
Tg Route Report Overlapping Route Route - (String) A list of the connection's routes
- routes
List<Get
Tg Route Report Overlapping Route Route> - (String) A list of the connection's routes
- routes
Get
Tg Route Report Overlapping Route Route[] - (String) A list of the connection's routes
- routes
Sequence[Get
Tg Route Report Overlapping Route Route] - (String) A list of the connection's routes
- routes List<Property Map>
- (String) A list of the connection's routes
GetTgRouteReportOverlappingRouteRoute
- Connection
Id string - (String) The unique identifier for the transit gateway connection
- Prefix string
- (String) The overlapping prefix
- Connection
Id string - (String) The unique identifier for the transit gateway connection
- Prefix string
- (String) The overlapping prefix
- connection
Id String - (String) The unique identifier for the transit gateway connection
- prefix String
- (String) The overlapping prefix
- connection
Id string - (String) The unique identifier for the transit gateway connection
- prefix string
- (String) The overlapping prefix
- connection_
id str - (String) The unique identifier for the transit gateway connection
- prefix str
- (String) The overlapping prefix
- connection
Id String - (String) The unique identifier for the transit gateway connection
- prefix String
- (String) The overlapping prefix
Package Details
- Repository
- ibm ibm-cloud/terraform-provider-ibm
- License
- Notes
- This Pulumi package is based on the
ibm
Terraform Provider.