ibm.TgRouteReport
Explore with Pulumi AI
Create and delete a transit gateway’s route report resource. For more information about Transit Gateway Route Reports, see generating and viewing a route report.
Create TgRouteReport Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new TgRouteReport(name: string, args: TgRouteReportArgs, opts?: CustomResourceOptions);
@overload
def TgRouteReport(resource_name: str,
args: TgRouteReportArgs,
opts: Optional[ResourceOptions] = None)
@overload
def TgRouteReport(resource_name: str,
opts: Optional[ResourceOptions] = None,
gateway: Optional[str] = None,
tg_route_report_id: Optional[str] = None,
timeouts: Optional[TgRouteReportTimeoutsArgs] = None)
func NewTgRouteReport(ctx *Context, name string, args TgRouteReportArgs, opts ...ResourceOption) (*TgRouteReport, error)
public TgRouteReport(string name, TgRouteReportArgs args, CustomResourceOptions? opts = null)
public TgRouteReport(String name, TgRouteReportArgs args)
public TgRouteReport(String name, TgRouteReportArgs args, CustomResourceOptions options)
type: ibm:TgRouteReport
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args TgRouteReportArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args TgRouteReportArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args TgRouteReportArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args TgRouteReportArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args TgRouteReportArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var tgRouteReportResource = new Ibm.TgRouteReport("tgRouteReportResource", new()
{
Gateway = "string",
TgRouteReportId = "string",
Timeouts = new Ibm.Inputs.TgRouteReportTimeoutsArgs
{
Create = "string",
Delete = "string",
},
});
example, err := ibm.NewTgRouteReport(ctx, "tgRouteReportResource", &ibm.TgRouteReportArgs{
Gateway: pulumi.String("string"),
TgRouteReportId: pulumi.String("string"),
Timeouts: &ibm.TgRouteReportTimeoutsArgs{
Create: pulumi.String("string"),
Delete: pulumi.String("string"),
},
})
var tgRouteReportResource = new TgRouteReport("tgRouteReportResource", TgRouteReportArgs.builder()
.gateway("string")
.tgRouteReportId("string")
.timeouts(TgRouteReportTimeoutsArgs.builder()
.create("string")
.delete("string")
.build())
.build());
tg_route_report_resource = ibm.TgRouteReport("tgRouteReportResource",
gateway="string",
tg_route_report_id="string",
timeouts={
"create": "string",
"delete": "string",
})
const tgRouteReportResource = new ibm.TgRouteReport("tgRouteReportResource", {
gateway: "string",
tgRouteReportId: "string",
timeouts: {
create: "string",
"delete": "string",
},
});
type: ibm:TgRouteReport
properties:
gateway: string
tgRouteReportId: string
timeouts:
create: string
delete: string
TgRouteReport Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The TgRouteReport resource accepts the following input properties:
- Gateway string
- The unique identifier of the gateway.
- Tg
Route stringReport Id - (String) The unique identifier for the transit gateway connection
- Timeouts
Tg
Route Report Timeouts
- Gateway string
- The unique identifier of the gateway.
- Tg
Route stringReport Id - (String) The unique identifier for the transit gateway connection
- Timeouts
Tg
Route Report Timeouts Args
- gateway String
- The unique identifier of the gateway.
- tg
Route StringReport Id - (String) The unique identifier for the transit gateway connection
- timeouts
Tg
Route Report Timeouts
- gateway string
- The unique identifier of the gateway.
- tg
Route stringReport Id - (String) The unique identifier for the transit gateway connection
- timeouts
Tg
Route Report Timeouts
- gateway str
- The unique identifier of the gateway.
- tg_
route_ strreport_ id - (String) The unique identifier for the transit gateway connection
- timeouts
Tg
Route Report Timeouts Args
- gateway String
- The unique identifier of the gateway.
- tg
Route StringReport Id - (String) The unique identifier for the transit gateway connection
- timeouts Property Map
Outputs
All input properties are implicitly available as output properties. Additionally, the TgRouteReport resource produces the following output properties:
- Connections
List<Tg
Route Report Connection> - (String) A list of connections in the gateway
- Created
At string - (Timestamp) The date and time resource is created.
- Id string
- The provider-assigned unique ID for this managed resource.
- Overlapping
Routes List<TgRoute Report Overlapping Route> - (String) A list of overlapping routes in the gateway
- Route
Report stringId - (String) The unique identifier of this route report.
- Status string
- (String) The route report status.
- Updated
At string - (Timestamp) The date and time resource is last updated.
- Connections
[]Tg
Route Report Connection - (String) A list of connections in the gateway
- Created
At string - (Timestamp) The date and time resource is created.
- Id string
- The provider-assigned unique ID for this managed resource.
- Overlapping
Routes []TgRoute Report Overlapping Route - (String) A list of overlapping routes in the gateway
- Route
Report stringId - (String) The unique identifier of this route report.
- Status string
- (String) The route report status.
- Updated
At string - (Timestamp) The date and time resource is last updated.
- connections
List<Tg
Route Report Connection> - (String) A list of connections in the gateway
- created
At String - (Timestamp) The date and time resource is created.
- id String
- The provider-assigned unique ID for this managed resource.
- overlapping
Routes List<TgRoute Report Overlapping Route> - (String) A list of overlapping routes in the gateway
- route
Report StringId - (String) The unique identifier of this route report.
- status String
- (String) The route report status.
- updated
At String - (Timestamp) The date and time resource is last updated.
- connections
Tg
Route Report Connection[] - (String) A list of connections in the gateway
- created
At string - (Timestamp) The date and time resource is created.
- id string
- The provider-assigned unique ID for this managed resource.
- overlapping
Routes TgRoute Report Overlapping Route[] - (String) A list of overlapping routes in the gateway
- route
Report stringId - (String) The unique identifier of this route report.
- status string
- (String) The route report status.
- updated
At string - (Timestamp) The date and time resource is last updated.
- connections
Sequence[Tg
Route Report Connection] - (String) A list of connections in the gateway
- created_
at str - (Timestamp) The date and time resource is created.
- id str
- The provider-assigned unique ID for this managed resource.
- overlapping_
routes Sequence[TgRoute Report Overlapping Route] - (String) A list of overlapping routes in the gateway
- route_
report_ strid - (String) The unique identifier of this route report.
- 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.
- id String
- The provider-assigned unique ID for this managed resource.
- overlapping
Routes List<Property Map> - (String) A list of overlapping routes in the gateway
- route
Report StringId - (String) The unique identifier of this route report.
- status String
- (String) The route report status.
- updated
At String - (Timestamp) The date and time resource is last updated.
Look up Existing TgRouteReport Resource
Get an existing TgRouteReport resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: TgRouteReportState, opts?: CustomResourceOptions): TgRouteReport
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
connections: Optional[Sequence[TgRouteReportConnectionArgs]] = None,
created_at: Optional[str] = None,
gateway: Optional[str] = None,
overlapping_routes: Optional[Sequence[TgRouteReportOverlappingRouteArgs]] = None,
route_report_id: Optional[str] = None,
status: Optional[str] = None,
tg_route_report_id: Optional[str] = None,
timeouts: Optional[TgRouteReportTimeoutsArgs] = None,
updated_at: Optional[str] = None) -> TgRouteReport
func GetTgRouteReport(ctx *Context, name string, id IDInput, state *TgRouteReportState, opts ...ResourceOption) (*TgRouteReport, error)
public static TgRouteReport Get(string name, Input<string> id, TgRouteReportState? state, CustomResourceOptions? opts = null)
public static TgRouteReport get(String name, Output<String> id, TgRouteReportState state, CustomResourceOptions options)
resources: _: type: ibm:TgRouteReport get: id: ${id}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Connections
List<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
- The unique identifier of the gateway.
- Overlapping
Routes List<TgRoute Report Overlapping Route> - (String) A list of overlapping routes in the gateway
- Route
Report stringId - (String) The unique identifier of this route report.
- Status string
- (String) The route report status.
- Tg
Route stringReport Id - (String) The unique identifier for the transit gateway connection
- Timeouts
Tg
Route Report Timeouts - Updated
At string - (Timestamp) The date and time resource is last updated.
- Connections
[]Tg
Route Report Connection Args - (String) A list of connections in the gateway
- Created
At string - (Timestamp) The date and time resource is created.
- Gateway string
- The unique identifier of the gateway.
- Overlapping
Routes []TgRoute Report Overlapping Route Args - (String) A list of overlapping routes in the gateway
- Route
Report stringId - (String) The unique identifier of this route report.
- Status string
- (String) The route report status.
- Tg
Route stringReport Id - (String) The unique identifier for the transit gateway connection
- Timeouts
Tg
Route Report Timeouts Args - Updated
At string - (Timestamp) The date and time resource is last updated.
- connections
List<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
- The unique identifier of the gateway.
- overlapping
Routes List<TgRoute Report Overlapping Route> - (String) A list of overlapping routes in the gateway
- route
Report StringId - (String) The unique identifier of this route report.
- status String
- (String) The route report status.
- tg
Route StringReport Id - (String) The unique identifier for the transit gateway connection
- timeouts
Tg
Route Report Timeouts - updated
At String - (Timestamp) The date and time resource is last updated.
- connections
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
- The unique identifier of the gateway.
- overlapping
Routes TgRoute Report Overlapping Route[] - (String) A list of overlapping routes in the gateway
- route
Report stringId - (String) The unique identifier of this route report.
- status string
- (String) The route report status.
- tg
Route stringReport Id - (String) The unique identifier for the transit gateway connection
- timeouts
Tg
Route Report Timeouts - updated
At string - (Timestamp) The date and time resource is last updated.
- connections
Sequence[Tg
Route Report Connection Args] - (String) A list of connections in the gateway
- created_
at str - (Timestamp) The date and time resource is created.
- gateway str
- The unique identifier of the gateway.
- overlapping_
routes Sequence[TgRoute Report Overlapping Route Args] - (String) A list of overlapping routes in the gateway
- route_
report_ strid - (String) The unique identifier of this route report.
- status str
- (String) The route report status.
- tg_
route_ strreport_ id - (String) The unique identifier for the transit gateway connection
- timeouts
Tg
Route Report Timeouts Args - 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
- The unique identifier of the gateway.
- overlapping
Routes List<Property Map> - (String) A list of overlapping routes in the gateway
- route
Report StringId - (String) The unique identifier of this route report.
- status String
- (String) The route report status.
- tg
Route StringReport Id - (String) The unique identifier for the transit gateway connection
- timeouts Property Map
- updated
At String - (Timestamp) The date and time resource is last updated.
Supporting Types
TgRouteReportConnection, TgRouteReportConnectionArgs
- Bgps
List<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<Tg
Route Report Connection Route> - (String) A list of the connection's routes
- Type string
- (String) The connection type
- Bgps
[]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
[]Tg
Route Report Connection Route - (String) A list of the connection's routes
- Type string
- (String) The connection type
- bgps
List<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<Tg
Route Report Connection Route> - (String) A list of the connection's routes
- type String
- (String) The connection type
- bgps
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
Tg
Route Report Connection Route[] - (String) A list of the connection's routes
- type string
- (String) The connection type
- bgps
Sequence[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[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
TgRouteReportConnectionBgp, TgRouteReportConnectionBgpArgs
- 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
TgRouteReportConnectionRoute, TgRouteReportConnectionRouteArgs
- 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
TgRouteReportOverlappingRoute, TgRouteReportOverlappingRouteArgs
- Routes
List<Tg
Route Report Overlapping Route Route> - (String) A list of the connection's routes
- Routes
[]Tg
Route Report Overlapping Route Route - (String) A list of the connection's routes
- routes
List<Tg
Route Report Overlapping Route Route> - (String) A list of the connection's routes
- routes
Tg
Route Report Overlapping Route Route[] - (String) A list of the connection's routes
- routes
Sequence[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
TgRouteReportOverlappingRouteRoute, TgRouteReportOverlappingRouteRouteArgs
- 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
TgRouteReportTimeouts, TgRouteReportTimeoutsArgs
Package Details
- Repository
- ibm ibm-cloud/terraform-provider-ibm
- License
- Notes
- This Pulumi package is based on the
ibm
Terraform Provider.