GetRegionRouteEntries

This data source provides CEN Regional Route Entries available to the user.

Example Usage

using Pulumi;
using AliCloud = Pulumi.AliCloud;

class MyStack : Stack
{
    public MyStack()
    {
        var entry = Output.Create(AliCloud.Cen.GetRegionRouteEntries.InvokeAsync(new AliCloud.Cen.GetRegionRouteEntriesArgs
        {
            InstanceId = "cen-id1",
            RegionId = "cn-beijing",
        }));
        this.FirstRegionRouteEntriesRouteEntryCidrBlock = entry.Apply(entry => entry.Entries[0].CidrBlock);
    }

    [Output("firstRegionRouteEntriesRouteEntryCidrBlock")]
    public Output<string> FirstRegionRouteEntriesRouteEntryCidrBlock { get; set; }
}

Coming soon!

import pulumi
import pulumi_alicloud as alicloud

entry = alicloud.cen.get_region_route_entries(instance_id="cen-id1",
    region_id="cn-beijing")
pulumi.export("firstRegionRouteEntriesRouteEntryCidrBlock", entry.entries[0]["cidr_block"])
import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";

const entry = pulumi.output(alicloud.cen.getRegionRouteEntries({
    instanceId: "cen-id1",
    regionId: "cn-beijing",
}, { async: true }));

export const firstRegionRouteEntriesRouteEntryCidrBlock = entry.entries[0].cidrBlock;

Using GetRegionRouteEntries

function getRegionRouteEntries(args: GetRegionRouteEntriesArgs, opts?: InvokeOptions): Promise<GetRegionRouteEntriesResult>
function  get_region_route_entries(instance_id=None, output_file=None, region_id=None, opts=None)
func GetRegionRouteEntries(ctx *Context, args *GetRegionRouteEntriesArgs, opts ...InvokeOption) (*GetRegionRouteEntriesResult, error)
public static class GetRegionRouteEntries {
    public static Task<GetRegionRouteEntriesResult> InvokeAsync(GetRegionRouteEntriesArgs args, InvokeOptions? opts = null)
}

The following arguments are supported:

InstanceId string

ID of the CEN instance.

RegionId string

ID of the region.

OutputFile string
InstanceId string

ID of the CEN instance.

RegionId string

ID of the region.

OutputFile string
instanceId string

ID of the CEN instance.

regionId string

ID of the region.

outputFile string
instance_id str

ID of the CEN instance.

region_id str

ID of the region.

output_file str

GetRegionRouteEntries Result

The following output properties are available:

Entries List<Pulumi.AliCloud.Cen.Outputs.GetRegionRouteEntriesEntry>

A list of CEN Route Entries. Each element contains the following attributes:

Id string

The provider-assigned unique ID for this managed resource.

InstanceId string
RegionId string
OutputFile string
Entries []GetRegionRouteEntriesEntry

A list of CEN Route Entries. Each element contains the following attributes:

Id string

The provider-assigned unique ID for this managed resource.

InstanceId string
RegionId string
OutputFile string
entries GetRegionRouteEntriesEntry[]

A list of CEN Route Entries. Each element contains the following attributes:

id string

The provider-assigned unique ID for this managed resource.

instanceId string
regionId string
outputFile string
entries List[GetRegionRouteEntriesEntry]

A list of CEN Route Entries. Each element contains the following attributes:

id str

The provider-assigned unique ID for this managed resource.

instance_id str
region_id str
output_file str

Supporting Types

GetRegionRouteEntriesEntry

See the output API doc for this type.

See the output API doc for this type.

See the output API doc for this type.

CidrBlock string

The destination CIDR block of the route entry.

NextHopId string

ID of the next hop.

NextHopRegionId string

ID of the region where the next hop is located.

NextHopType string

Type of the next hop.

Type string

Type of the route entry.

CidrBlock string

The destination CIDR block of the route entry.

NextHopId string

ID of the next hop.

NextHopRegionId string

ID of the region where the next hop is located.

NextHopType string

Type of the next hop.

Type string

Type of the route entry.

cidrBlock string

The destination CIDR block of the route entry.

nextHopId string

ID of the next hop.

nextHopRegionId string

ID of the region where the next hop is located.

nextHopType string

Type of the next hop.

type string

Type of the route entry.

cidr_block str

The destination CIDR block of the route entry.

nextHopId str

ID of the next hop.

nextHopRegionId str

ID of the region where the next hop is located.

nextHopType str

Type of the next hop.

type str

Type of the route entry.

Package Details

Repository
https://github.com/pulumi/pulumi-alicloud
License
Apache-2.0
Notes
This Pulumi package is based on the alicloud Terraform Provider.