1. Packages
  2. Alibaba Cloud Provider
  3. API Docs
  4. cen
  5. getTransitRouterPeerAttachments
Alibaba Cloud v3.76.0 published on Tuesday, Apr 8, 2025 by Pulumi

alicloud.cen.getTransitRouterPeerAttachments

Explore with Pulumi AI

This data source provides CEN Transit Router peer attachments available to the user.

NOTE: Available in 1.128.0+

Using getTransitRouterPeerAttachments

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 getTransitRouterPeerAttachments(args: GetTransitRouterPeerAttachmentsArgs, opts?: InvokeOptions): Promise<GetTransitRouterPeerAttachmentsResult>
function getTransitRouterPeerAttachmentsOutput(args: GetTransitRouterPeerAttachmentsOutputArgs, opts?: InvokeOptions): Output<GetTransitRouterPeerAttachmentsResult>
Copy
def get_transit_router_peer_attachments(cen_id: Optional[str] = None,
                                        ids: Optional[Sequence[str]] = None,
                                        name_regex: Optional[str] = None,
                                        output_file: Optional[str] = None,
                                        status: Optional[str] = None,
                                        transit_router_attachment_id: Optional[str] = None,
                                        transit_router_id: Optional[str] = None,
                                        opts: Optional[InvokeOptions] = None) -> GetTransitRouterPeerAttachmentsResult
def get_transit_router_peer_attachments_output(cen_id: Optional[pulumi.Input[str]] = None,
                                        ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                                        name_regex: Optional[pulumi.Input[str]] = None,
                                        output_file: Optional[pulumi.Input[str]] = None,
                                        status: Optional[pulumi.Input[str]] = None,
                                        transit_router_attachment_id: Optional[pulumi.Input[str]] = None,
                                        transit_router_id: Optional[pulumi.Input[str]] = None,
                                        opts: Optional[InvokeOptions] = None) -> Output[GetTransitRouterPeerAttachmentsResult]
Copy
func GetTransitRouterPeerAttachments(ctx *Context, args *GetTransitRouterPeerAttachmentsArgs, opts ...InvokeOption) (*GetTransitRouterPeerAttachmentsResult, error)
func GetTransitRouterPeerAttachmentsOutput(ctx *Context, args *GetTransitRouterPeerAttachmentsOutputArgs, opts ...InvokeOption) GetTransitRouterPeerAttachmentsResultOutput
Copy

> Note: This function is named GetTransitRouterPeerAttachments in the Go SDK.

public static class GetTransitRouterPeerAttachments 
{
    public static Task<GetTransitRouterPeerAttachmentsResult> InvokeAsync(GetTransitRouterPeerAttachmentsArgs args, InvokeOptions? opts = null)
    public static Output<GetTransitRouterPeerAttachmentsResult> Invoke(GetTransitRouterPeerAttachmentsInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetTransitRouterPeerAttachmentsResult> getTransitRouterPeerAttachments(GetTransitRouterPeerAttachmentsArgs args, InvokeOptions options)
public static Output<GetTransitRouterPeerAttachmentsResult> getTransitRouterPeerAttachments(GetTransitRouterPeerAttachmentsArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: alicloud:cen/getTransitRouterPeerAttachments:getTransitRouterPeerAttachments
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

CenId
This property is required.
Changes to this property will trigger replacement.
string
ID of the CEN instance.
Ids Changes to this property will trigger replacement. List<string>
A list of CEN Transit Router peer attachments IDs.
NameRegex Changes to this property will trigger replacement. string
A regex string to filter CEN Transit Router peer attachments by name.
OutputFile string
File name where to save data source results (after running pulumi preview).
Status Changes to this property will trigger replacement. string
The status of CEN Transit Router peer attachment. Valid values Attached, Attaching and Detaching.
TransitRouterAttachmentId Changes to this property will trigger replacement. string
The ID of CEN Transit Router peer attachments.
TransitRouterId Changes to this property will trigger replacement. string
The ID of transit router.
CenId
This property is required.
Changes to this property will trigger replacement.
string
ID of the CEN instance.
Ids Changes to this property will trigger replacement. []string
A list of CEN Transit Router peer attachments IDs.
NameRegex Changes to this property will trigger replacement. string
A regex string to filter CEN Transit Router peer attachments by name.
OutputFile string
File name where to save data source results (after running pulumi preview).
Status Changes to this property will trigger replacement. string
The status of CEN Transit Router peer attachment. Valid values Attached, Attaching and Detaching.
TransitRouterAttachmentId Changes to this property will trigger replacement. string
The ID of CEN Transit Router peer attachments.
TransitRouterId Changes to this property will trigger replacement. string
The ID of transit router.
cenId
This property is required.
Changes to this property will trigger replacement.
String
ID of the CEN instance.
ids Changes to this property will trigger replacement. List<String>
A list of CEN Transit Router peer attachments IDs.
nameRegex Changes to this property will trigger replacement. String
A regex string to filter CEN Transit Router peer attachments by name.
outputFile String
File name where to save data source results (after running pulumi preview).
status Changes to this property will trigger replacement. String
The status of CEN Transit Router peer attachment. Valid values Attached, Attaching and Detaching.
transitRouterAttachmentId Changes to this property will trigger replacement. String
The ID of CEN Transit Router peer attachments.
transitRouterId Changes to this property will trigger replacement. String
The ID of transit router.
cenId
This property is required.
Changes to this property will trigger replacement.
string
ID of the CEN instance.
ids Changes to this property will trigger replacement. string[]
A list of CEN Transit Router peer attachments IDs.
nameRegex Changes to this property will trigger replacement. string
A regex string to filter CEN Transit Router peer attachments by name.
outputFile string
File name where to save data source results (after running pulumi preview).
status Changes to this property will trigger replacement. string
The status of CEN Transit Router peer attachment. Valid values Attached, Attaching and Detaching.
transitRouterAttachmentId Changes to this property will trigger replacement. string
The ID of CEN Transit Router peer attachments.
transitRouterId Changes to this property will trigger replacement. string
The ID of transit router.
cen_id
This property is required.
Changes to this property will trigger replacement.
str
ID of the CEN instance.
ids Changes to this property will trigger replacement. Sequence[str]
A list of CEN Transit Router peer attachments IDs.
name_regex Changes to this property will trigger replacement. str
A regex string to filter CEN Transit Router peer attachments by name.
output_file str
File name where to save data source results (after running pulumi preview).
status Changes to this property will trigger replacement. str
The status of CEN Transit Router peer attachment. Valid values Attached, Attaching and Detaching.
transit_router_attachment_id Changes to this property will trigger replacement. str
The ID of CEN Transit Router peer attachments.
transit_router_id Changes to this property will trigger replacement. str
The ID of transit router.
cenId
This property is required.
Changes to this property will trigger replacement.
String
ID of the CEN instance.
ids Changes to this property will trigger replacement. List<String>
A list of CEN Transit Router peer attachments IDs.
nameRegex Changes to this property will trigger replacement. String
A regex string to filter CEN Transit Router peer attachments by name.
outputFile String
File name where to save data source results (after running pulumi preview).
status Changes to this property will trigger replacement. String
The status of CEN Transit Router peer attachment. Valid values Attached, Attaching and Detaching.
transitRouterAttachmentId Changes to this property will trigger replacement. String
The ID of CEN Transit Router peer attachments.
transitRouterId Changes to this property will trigger replacement. String
The ID of transit router.

getTransitRouterPeerAttachments Result

The following output properties are available:

Attachments List<Pulumi.AliCloud.Cen.Outputs.GetTransitRouterPeerAttachmentsAttachment>
CenId string
Id string
The provider-assigned unique ID for this managed resource.
Ids List<string>
A list of CEN Transit Router peer attachments IDs.
Names List<string>
A list of CEN Transit Router peer attachments names.
NameRegex string
OutputFile string
Status string
The status of the transit router attachment.
TransitRouterAttachmentId string
ID of the transit router attachment.
TransitRouterId string
ID of the transit router.
Attachments []GetTransitRouterPeerAttachmentsAttachment
CenId string
Id string
The provider-assigned unique ID for this managed resource.
Ids []string
A list of CEN Transit Router peer attachments IDs.
Names []string
A list of CEN Transit Router peer attachments names.
NameRegex string
OutputFile string
Status string
The status of the transit router attachment.
TransitRouterAttachmentId string
ID of the transit router attachment.
TransitRouterId string
ID of the transit router.
attachments List<GetTransitRouterPeerAttachmentsAttachment>
cenId String
id String
The provider-assigned unique ID for this managed resource.
ids List<String>
A list of CEN Transit Router peer attachments IDs.
names List<String>
A list of CEN Transit Router peer attachments names.
nameRegex String
outputFile String
status String
The status of the transit router attachment.
transitRouterAttachmentId String
ID of the transit router attachment.
transitRouterId String
ID of the transit router.
attachments GetTransitRouterPeerAttachmentsAttachment[]
cenId string
id string
The provider-assigned unique ID for this managed resource.
ids string[]
A list of CEN Transit Router peer attachments IDs.
names string[]
A list of CEN Transit Router peer attachments names.
nameRegex string
outputFile string
status string
The status of the transit router attachment.
transitRouterAttachmentId string
ID of the transit router attachment.
transitRouterId string
ID of the transit router.
attachments Sequence[GetTransitRouterPeerAttachmentsAttachment]
cen_id str
id str
The provider-assigned unique ID for this managed resource.
ids Sequence[str]
A list of CEN Transit Router peer attachments IDs.
names Sequence[str]
A list of CEN Transit Router peer attachments names.
name_regex str
output_file str
status str
The status of the transit router attachment.
transit_router_attachment_id str
ID of the transit router attachment.
transit_router_id str
ID of the transit router.
attachments List<Property Map>
cenId String
id String
The provider-assigned unique ID for this managed resource.
ids List<String>
A list of CEN Transit Router peer attachments IDs.
names List<String>
A list of CEN Transit Router peer attachments names.
nameRegex String
outputFile String
status String
The status of the transit router attachment.
transitRouterAttachmentId String
ID of the transit router attachment.
transitRouterId String
ID of the transit router.

Supporting Types

GetTransitRouterPeerAttachmentsAttachment

AutoPublishRouteEnabled This property is required. bool
Auto publish route enabled.
Bandwidth This property is required. int
The bandwidth of the bandwidth package.
CenBandwidthPackageId This property is required. string
ID of the CEN bandwidth package.
GeographicSpanId This property is required. string
ID of the geographic.
Id This property is required. string
The ID of CEN Transit Router peer attachments.
PeerTransitRouterId This property is required. string
ID of the peer transit router.
PeerTransitRouterOwnerId This property is required. string
Owner ID of the peer transit router.
PeerTransitRouterRegionId This property is required. string
Region ID of the peer transit router.
ResourceType This property is required. string
Type of the resource.
Status This property is required. string
The status of CEN Transit Router peer attachment. Valid values Attached, Attaching and Detaching.
TransitRouterAttachmentDescription This property is required. string
The description of CEN Transit Router peer attachments.
TransitRouterAttachmentId This property is required. string
The ID of CEN Transit Router peer attachments.
TransitRouterAttachmentName This property is required. string
Name of the transit router attachment.
TransitRouterId This property is required. string
The ID of transit router.
AutoPublishRouteEnabled This property is required. bool
Auto publish route enabled.
Bandwidth This property is required. int
The bandwidth of the bandwidth package.
CenBandwidthPackageId This property is required. string
ID of the CEN bandwidth package.
GeographicSpanId This property is required. string
ID of the geographic.
Id This property is required. string
The ID of CEN Transit Router peer attachments.
PeerTransitRouterId This property is required. string
ID of the peer transit router.
PeerTransitRouterOwnerId This property is required. string
Owner ID of the peer transit router.
PeerTransitRouterRegionId This property is required. string
Region ID of the peer transit router.
ResourceType This property is required. string
Type of the resource.
Status This property is required. string
The status of CEN Transit Router peer attachment. Valid values Attached, Attaching and Detaching.
TransitRouterAttachmentDescription This property is required. string
The description of CEN Transit Router peer attachments.
TransitRouterAttachmentId This property is required. string
The ID of CEN Transit Router peer attachments.
TransitRouterAttachmentName This property is required. string
Name of the transit router attachment.
TransitRouterId This property is required. string
The ID of transit router.
autoPublishRouteEnabled This property is required. Boolean
Auto publish route enabled.
bandwidth This property is required. Integer
The bandwidth of the bandwidth package.
cenBandwidthPackageId This property is required. String
ID of the CEN bandwidth package.
geographicSpanId This property is required. String
ID of the geographic.
id This property is required. String
The ID of CEN Transit Router peer attachments.
peerTransitRouterId This property is required. String
ID of the peer transit router.
peerTransitRouterOwnerId This property is required. String
Owner ID of the peer transit router.
peerTransitRouterRegionId This property is required. String
Region ID of the peer transit router.
resourceType This property is required. String
Type of the resource.
status This property is required. String
The status of CEN Transit Router peer attachment. Valid values Attached, Attaching and Detaching.
transitRouterAttachmentDescription This property is required. String
The description of CEN Transit Router peer attachments.
transitRouterAttachmentId This property is required. String
The ID of CEN Transit Router peer attachments.
transitRouterAttachmentName This property is required. String
Name of the transit router attachment.
transitRouterId This property is required. String
The ID of transit router.
autoPublishRouteEnabled This property is required. boolean
Auto publish route enabled.
bandwidth This property is required. number
The bandwidth of the bandwidth package.
cenBandwidthPackageId This property is required. string
ID of the CEN bandwidth package.
geographicSpanId This property is required. string
ID of the geographic.
id This property is required. string
The ID of CEN Transit Router peer attachments.
peerTransitRouterId This property is required. string
ID of the peer transit router.
peerTransitRouterOwnerId This property is required. string
Owner ID of the peer transit router.
peerTransitRouterRegionId This property is required. string
Region ID of the peer transit router.
resourceType This property is required. string
Type of the resource.
status This property is required. string
The status of CEN Transit Router peer attachment. Valid values Attached, Attaching and Detaching.
transitRouterAttachmentDescription This property is required. string
The description of CEN Transit Router peer attachments.
transitRouterAttachmentId This property is required. string
The ID of CEN Transit Router peer attachments.
transitRouterAttachmentName This property is required. string
Name of the transit router attachment.
transitRouterId This property is required. string
The ID of transit router.
auto_publish_route_enabled This property is required. bool
Auto publish route enabled.
bandwidth This property is required. int
The bandwidth of the bandwidth package.
cen_bandwidth_package_id This property is required. str
ID of the CEN bandwidth package.
geographic_span_id This property is required. str
ID of the geographic.
id This property is required. str
The ID of CEN Transit Router peer attachments.
peer_transit_router_id This property is required. str
ID of the peer transit router.
peer_transit_router_owner_id This property is required. str
Owner ID of the peer transit router.
peer_transit_router_region_id This property is required. str
Region ID of the peer transit router.
resource_type This property is required. str
Type of the resource.
status This property is required. str
The status of CEN Transit Router peer attachment. Valid values Attached, Attaching and Detaching.
transit_router_attachment_description This property is required. str
The description of CEN Transit Router peer attachments.
transit_router_attachment_id This property is required. str
The ID of CEN Transit Router peer attachments.
transit_router_attachment_name This property is required. str
Name of the transit router attachment.
transit_router_id This property is required. str
The ID of transit router.
autoPublishRouteEnabled This property is required. Boolean
Auto publish route enabled.
bandwidth This property is required. Number
The bandwidth of the bandwidth package.
cenBandwidthPackageId This property is required. String
ID of the CEN bandwidth package.
geographicSpanId This property is required. String
ID of the geographic.
id This property is required. String
The ID of CEN Transit Router peer attachments.
peerTransitRouterId This property is required. String
ID of the peer transit router.
peerTransitRouterOwnerId This property is required. String
Owner ID of the peer transit router.
peerTransitRouterRegionId This property is required. String
Region ID of the peer transit router.
resourceType This property is required. String
Type of the resource.
status This property is required. String
The status of CEN Transit Router peer attachment. Valid values Attached, Attaching and Detaching.
transitRouterAttachmentDescription This property is required. String
The description of CEN Transit Router peer attachments.
transitRouterAttachmentId This property is required. String
The ID of CEN Transit Router peer attachments.
transitRouterAttachmentName This property is required. String
Name of the transit router attachment.
transitRouterId This property is required. String
The ID of transit router.

Package Details

Repository
Alibaba Cloud pulumi/pulumi-alicloud
License
Apache-2.0
Notes
This Pulumi package is based on the alicloud Terraform Provider.