Alibaba Cloud v3.57.1 published on Wednesday, Jun 26, 2024 by Pulumi
alicloud.cen.getTransitRouterRouteTablePropagations
Explore with Pulumi AI
This data source provides CEN Transit Router Route Table Propagations available to the user.What is Cen Transit Router Route Table Propagations
NOTE: Available in 1.126.0+
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";
const default = alicloud.cen.getTransitRouterRouteTablePropagations({
    transitRouterRouteTableId: "rtb-id1",
});
export const firstTransitRouterPeerAttachmentsTransitRouterAttachmentResourceType = _default.then(_default => _default.propagations?.[0]?.resourceType);
import pulumi
import pulumi_alicloud as alicloud
default = alicloud.cen.get_transit_router_route_table_propagations(transit_router_route_table_id="rtb-id1")
pulumi.export("firstTransitRouterPeerAttachmentsTransitRouterAttachmentResourceType", default.propagations[0].resource_type)
package main
import (
	"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/cen"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_default, err := cen.GetTransitRouterRouteTablePropagations(ctx, &cen.GetTransitRouterRouteTablePropagationsArgs{
			TransitRouterRouteTableId: "rtb-id1",
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("firstTransitRouterPeerAttachmentsTransitRouterAttachmentResourceType", _default.Propagations[0].ResourceType)
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AliCloud = Pulumi.AliCloud;
return await Deployment.RunAsync(() => 
{
    var @default = AliCloud.Cen.GetTransitRouterRouteTablePropagations.Invoke(new()
    {
        TransitRouterRouteTableId = "rtb-id1",
    });
    return new Dictionary<string, object?>
    {
        ["firstTransitRouterPeerAttachmentsTransitRouterAttachmentResourceType"] = @default.Apply(@default => @default.Apply(getTransitRouterRouteTablePropagationsResult => getTransitRouterRouteTablePropagationsResult.Propagations[0]?.ResourceType)),
    };
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.cen.CenFunctions;
import com.pulumi.alicloud.cen.inputs.GetTransitRouterRouteTablePropagationsArgs;
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 default = CenFunctions.getTransitRouterRouteTablePropagations(GetTransitRouterRouteTablePropagationsArgs.builder()
            .transitRouterRouteTableId("rtb-id1")
            .build());
        ctx.export("firstTransitRouterPeerAttachmentsTransitRouterAttachmentResourceType", default_.propagations()[0].resourceType());
    }
}
variables:
  default:
    fn::invoke:
      Function: alicloud:cen:getTransitRouterRouteTablePropagations
      Arguments:
        transitRouterRouteTableId: rtb-id1
outputs:
  firstTransitRouterPeerAttachmentsTransitRouterAttachmentResourceType: ${default.propagations[0].resourceType}
Using getTransitRouterRouteTablePropagations
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 getTransitRouterRouteTablePropagations(args: GetTransitRouterRouteTablePropagationsArgs, opts?: InvokeOptions): Promise<GetTransitRouterRouteTablePropagationsResult>
function getTransitRouterRouteTablePropagationsOutput(args: GetTransitRouterRouteTablePropagationsOutputArgs, opts?: InvokeOptions): Output<GetTransitRouterRouteTablePropagationsResult>def get_transit_router_route_table_propagations(ids: Optional[Sequence[str]] = None,
                                                output_file: Optional[str] = None,
                                                status: Optional[str] = None,
                                                transit_router_route_table_id: Optional[str] = None,
                                                opts: Optional[InvokeOptions] = None) -> GetTransitRouterRouteTablePropagationsResult
def get_transit_router_route_table_propagations_output(ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                                                output_file: Optional[pulumi.Input[str]] = None,
                                                status: Optional[pulumi.Input[str]] = None,
                                                transit_router_route_table_id: Optional[pulumi.Input[str]] = None,
                                                opts: Optional[InvokeOptions] = None) -> Output[GetTransitRouterRouteTablePropagationsResult]func GetTransitRouterRouteTablePropagations(ctx *Context, args *GetTransitRouterRouteTablePropagationsArgs, opts ...InvokeOption) (*GetTransitRouterRouteTablePropagationsResult, error)
func GetTransitRouterRouteTablePropagationsOutput(ctx *Context, args *GetTransitRouterRouteTablePropagationsOutputArgs, opts ...InvokeOption) GetTransitRouterRouteTablePropagationsResultOutput> Note: This function is named GetTransitRouterRouteTablePropagations in the Go SDK.
public static class GetTransitRouterRouteTablePropagations 
{
    public static Task<GetTransitRouterRouteTablePropagationsResult> InvokeAsync(GetTransitRouterRouteTablePropagationsArgs args, InvokeOptions? opts = null)
    public static Output<GetTransitRouterRouteTablePropagationsResult> Invoke(GetTransitRouterRouteTablePropagationsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetTransitRouterRouteTablePropagationsResult> getTransitRouterRouteTablePropagations(GetTransitRouterRouteTablePropagationsArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: alicloud:cen/getTransitRouterRouteTablePropagations:getTransitRouterRouteTablePropagations
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Transit
Router stringRoute Table Id  - ID of the route table of the VPC or VBR.
 - Ids List<string>
 - A list of CEN Transit Router Route Table Association IDs.
 - Output
File string - File name where to save data source results (after running 
pulumi preview). - Status string
 - The status of the route table, including 
Active,Enabling,Disabling,Deleted. 
- Transit
Router stringRoute Table Id  - ID of the route table of the VPC or VBR.
 - Ids []string
 - A list of CEN Transit Router Route Table Association IDs.
 - Output
File string - File name where to save data source results (after running 
pulumi preview). - Status string
 - The status of the route table, including 
Active,Enabling,Disabling,Deleted. 
- transit
Router StringRoute Table Id  - ID of the route table of the VPC or VBR.
 - ids List<String>
 - A list of CEN Transit Router Route Table Association IDs.
 - output
File String - File name where to save data source results (after running 
pulumi preview). - status String
 - The status of the route table, including 
Active,Enabling,Disabling,Deleted. 
- transit
Router stringRoute Table Id  - ID of the route table of the VPC or VBR.
 - ids string[]
 - A list of CEN Transit Router Route Table Association IDs.
 - output
File string - File name where to save data source results (after running 
pulumi preview). - status string
 - The status of the route table, including 
Active,Enabling,Disabling,Deleted. 
- transit_
router_ strroute_ table_ id  - ID of the route table of the VPC or VBR.
 - ids Sequence[str]
 - A list of CEN Transit Router Route Table Association IDs.
 - output_
file str - File name where to save data source results (after running 
pulumi preview). - status str
 - The status of the route table, including 
Active,Enabling,Disabling,Deleted. 
- transit
Router StringRoute Table Id  - ID of the route table of the VPC or VBR.
 - ids List<String>
 - A list of CEN Transit Router Route Table Association IDs.
 - output
File String - File name where to save data source results (after running 
pulumi preview). - status String
 - The status of the route table, including 
Active,Enabling,Disabling,Deleted. 
getTransitRouterRouteTablePropagations Result
The following output properties are available:
- Id string
 - The provider-assigned unique ID for this managed resource.
 - Ids List<string>
 - A list of CEN Transit Router Route Table Association IDs.
 - Propagations
List<Pulumi.
Ali Cloud. Cen. Outputs. Get Transit Router Route Table Propagations Propagation>  - A list of CEN Transit Router Route Table Propagations. Each element contains the following attributes:
 - Transit
Router stringRoute Table Id  - ID of the transit router route table.
 - Output
File string - Status string
 - The status of the route table.
 
- Id string
 - The provider-assigned unique ID for this managed resource.
 - Ids []string
 - A list of CEN Transit Router Route Table Association IDs.
 - Propagations
[]Get
Transit Router Route Table Propagations Propagation  - A list of CEN Transit Router Route Table Propagations. Each element contains the following attributes:
 - Transit
Router stringRoute Table Id  - ID of the transit router route table.
 - Output
File string - Status string
 - The status of the route table.
 
- id String
 - The provider-assigned unique ID for this managed resource.
 - ids List<String>
 - A list of CEN Transit Router Route Table Association IDs.
 - propagations
List<Get
Transit Router Route Table Propagations Propagation>  - A list of CEN Transit Router Route Table Propagations. Each element contains the following attributes:
 - transit
Router StringRoute Table Id  - ID of the transit router route table.
 - output
File String - status String
 - The status of the route table.
 
- id string
 - The provider-assigned unique ID for this managed resource.
 - ids string[]
 - A list of CEN Transit Router Route Table Association IDs.
 - propagations
Get
Transit Router Route Table Propagations Propagation[]  - A list of CEN Transit Router Route Table Propagations. Each element contains the following attributes:
 - transit
Router stringRoute Table Id  - ID of the transit router route table.
 - output
File string - status string
 - The status of the route table.
 
- id str
 - The provider-assigned unique ID for this managed resource.
 - ids Sequence[str]
 - A list of CEN Transit Router Route Table Association IDs.
 - propagations
Sequence[Get
Transit Router Route Table Propagations Propagation]  - A list of CEN Transit Router Route Table Propagations. Each element contains the following attributes:
 - transit_
router_ strroute_ table_ id  - ID of the transit router route table.
 - output_
file str - status str
 - The status of the route table.
 
- id String
 - The provider-assigned unique ID for this managed resource.
 - ids List<String>
 - A list of CEN Transit Router Route Table Association IDs.
 - propagations List<Property Map>
 - A list of CEN Transit Router Route Table Propagations. Each element contains the following attributes:
 - transit
Router StringRoute Table Id  - ID of the transit router route table.
 - output
File String - status String
 - The status of the route table.
 
Supporting Types
GetTransitRouterRouteTablePropagationsPropagation      
- Id string
 - Resource
Id string - ID of the transit router route table association.
 - Resource
Type string - Type of the resource.
 - Status string
 - The status of the route table, including 
Active,Enabling,Disabling,Deleted. - Transit
Router stringAttachment Id  - ID of the cen transit router attachment.
 
- Id string
 - Resource
Id string - ID of the transit router route table association.
 - Resource
Type string - Type of the resource.
 - Status string
 - The status of the route table, including 
Active,Enabling,Disabling,Deleted. - Transit
Router stringAttachment Id  - ID of the cen transit router attachment.
 
- id String
 - resource
Id String - ID of the transit router route table association.
 - resource
Type String - Type of the resource.
 - status String
 - The status of the route table, including 
Active,Enabling,Disabling,Deleted. - transit
Router StringAttachment Id  - ID of the cen transit router attachment.
 
- id string
 - resource
Id string - ID of the transit router route table association.
 - resource
Type string - Type of the resource.
 - status string
 - The status of the route table, including 
Active,Enabling,Disabling,Deleted. - transit
Router stringAttachment Id  - ID of the cen transit router attachment.
 
- id str
 - resource_
id str - ID of the transit router route table association.
 - resource_
type str - Type of the resource.
 - status str
 - The status of the route table, including 
Active,Enabling,Disabling,Deleted. - transit_
router_ strattachment_ id  - ID of the cen transit router attachment.
 
- id String
 - resource
Id String - ID of the transit router route table association.
 - resource
Type String - Type of the resource.
 - status String
 - The status of the route table, including 
Active,Enabling,Disabling,Deleted. - transit
Router StringAttachment Id  - ID of the cen transit router attachment.
 
Package Details
- Repository
 - Alibaba Cloud pulumi/pulumi-alicloud
 - License
 - Apache-2.0
 - Notes
 - This Pulumi package is based on the 
alicloudTerraform Provider.