alicloud.cen.getTransitRouterVpcAttachments

This data source provides CEN Transit Router VPC Attachments available to the user.What is Cen Transit Router VPC Attachments

NOTE: Available in 1.126.0+

Using getTransitRouterVpcAttachments

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 getTransitRouterVpcAttachments(args: GetTransitRouterVpcAttachmentsArgs, opts?: InvokeOptions): Promise<GetTransitRouterVpcAttachmentsResult>
function getTransitRouterVpcAttachmentsOutput(args: GetTransitRouterVpcAttachmentsOutputArgs, opts?: InvokeOptions): Output<GetTransitRouterVpcAttachmentsResult>
def get_transit_router_vpc_attachments(cen_id: Optional[str] = None,
                                       ids: Optional[Sequence[str]] = None,
                                       output_file: Optional[str] = None,
                                       status: Optional[str] = None,
                                       transit_router_id: Optional[str] = None,
                                       opts: Optional[InvokeOptions] = None) -> GetTransitRouterVpcAttachmentsResult
def get_transit_router_vpc_attachments_output(cen_id: Optional[pulumi.Input[str]] = None,
                                       ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                                       output_file: Optional[pulumi.Input[str]] = None,
                                       status: Optional[pulumi.Input[str]] = None,
                                       transit_router_id: Optional[pulumi.Input[str]] = None,
                                       opts: Optional[InvokeOptions] = None) -> Output[GetTransitRouterVpcAttachmentsResult]
func GetTransitRouterVpcAttachments(ctx *Context, args *GetTransitRouterVpcAttachmentsArgs, opts ...InvokeOption) (*GetTransitRouterVpcAttachmentsResult, error)
func GetTransitRouterVpcAttachmentsOutput(ctx *Context, args *GetTransitRouterVpcAttachmentsOutputArgs, opts ...InvokeOption) GetTransitRouterVpcAttachmentsResultOutput

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

public static class GetTransitRouterVpcAttachments 
{
    public static Task<GetTransitRouterVpcAttachmentsResult> InvokeAsync(GetTransitRouterVpcAttachmentsArgs args, InvokeOptions? opts = null)
    public static Output<GetTransitRouterVpcAttachmentsResult> Invoke(GetTransitRouterVpcAttachmentsInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetTransitRouterVpcAttachmentsResult> getTransitRouterVpcAttachments(GetTransitRouterVpcAttachmentsArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: alicloud:cen/getTransitRouterVpcAttachments:getTransitRouterVpcAttachments
  arguments:
    # arguments dictionary

The following arguments are supported:

CenId string

ID of the CEN instance.

Ids List<string>

A list of resource id. The element value is same as transit_router_id.

OutputFile string
Status string

The status of the resource. Valid values Attached, Attaching and Detaching.

TransitRouterId string

The transit router ID.

CenId string

ID of the CEN instance.

Ids []string

A list of resource id. The element value is same as transit_router_id.

OutputFile string
Status string

The status of the resource. Valid values Attached, Attaching and Detaching.

TransitRouterId string

The transit router ID.

cenId String

ID of the CEN instance.

ids List<String>

A list of resource id. The element value is same as transit_router_id.

outputFile String
status String

The status of the resource. Valid values Attached, Attaching and Detaching.

transitRouterId String

The transit router ID.

cenId string

ID of the CEN instance.

ids string[]

A list of resource id. The element value is same as transit_router_id.

outputFile string
status string

The status of the resource. Valid values Attached, Attaching and Detaching.

transitRouterId string

The transit router ID.

cen_id str

ID of the CEN instance.

ids Sequence[str]

A list of resource id. The element value is same as transit_router_id.

output_file str
status str

The status of the resource. Valid values Attached, Attaching and Detaching.

transit_router_id str

The transit router ID.

cenId String

ID of the CEN instance.

ids List<String>

A list of resource id. The element value is same as transit_router_id.

outputFile String
status String

The status of the resource. Valid values Attached, Attaching and Detaching.

transitRouterId String

The transit router ID.

getTransitRouterVpcAttachments Result

The following output properties are available:

Attachments List<Pulumi.AliCloud.Cen.Outputs.GetTransitRouterVpcAttachmentsAttachment>

A list of CEN Transit Router VPC Attachments. Each element contains the following attributes:

CenId string
Id string

The provider-assigned unique ID for this managed resource.

Ids List<string>
OutputFile string
Status string

The status of the transit router attachment.

TransitRouterId string

ID of the transit router.

Attachments []GetTransitRouterVpcAttachmentsAttachment

A list of CEN Transit Router VPC Attachments. Each element contains the following attributes:

CenId string
Id string

The provider-assigned unique ID for this managed resource.

Ids []string
OutputFile string
Status string

The status of the transit router attachment.

TransitRouterId string

ID of the transit router.

attachments List<GetTransitRouterVpcAttachmentsAttachment>

A list of CEN Transit Router VPC Attachments. Each element contains the following attributes:

cenId String
id String

The provider-assigned unique ID for this managed resource.

ids List<String>
outputFile String
status String

The status of the transit router attachment.

transitRouterId String

ID of the transit router.

attachments GetTransitRouterVpcAttachmentsAttachment[]

A list of CEN Transit Router VPC Attachments. Each element contains the following attributes:

cenId string
id string

The provider-assigned unique ID for this managed resource.

ids string[]
outputFile string
status string

The status of the transit router attachment.

transitRouterId string

ID of the transit router.

attachments Sequence[GetTransitRouterVpcAttachmentsAttachment]

A list of CEN Transit Router VPC Attachments. Each element contains the following attributes:

cen_id str
id str

The provider-assigned unique ID for this managed resource.

ids Sequence[str]
output_file str
status str

The status of the transit router attachment.

transit_router_id str

ID of the transit router.

attachments List<Property Map>

A list of CEN Transit Router VPC Attachments. Each element contains the following attributes:

cenId String
id String

The provider-assigned unique ID for this managed resource.

ids List<String>
outputFile String
status String

The status of the transit router attachment.

transitRouterId String

ID of the transit router.

Supporting Types

GetTransitRouterVpcAttachmentsAttachment

Id string

The ID of the transit router.

PaymentType string

The payment type of the resource.

ResourceType string

Type of the resource.

Status string

The status of the resource. Valid values Attached, Attaching and Detaching.

TransitRouterAttachmentDescription string

The description of transit router attachment.

TransitRouterAttachmentId string

ID of the transit router VBR attachment.

TransitRouterAttachmentName string

Name of the transit router attachment.

VpcId string

ID of the VPC.

VpcOwnerId string

The Owner ID of the VPC.

ZoneMappings List<Pulumi.AliCloud.Cen.Inputs.GetTransitRouterVpcAttachmentsAttachmentZoneMapping>

The mappings of zone

Id string

The ID of the transit router.

PaymentType string

The payment type of the resource.

ResourceType string

Type of the resource.

Status string

The status of the resource. Valid values Attached, Attaching and Detaching.

TransitRouterAttachmentDescription string

The description of transit router attachment.

TransitRouterAttachmentId string

ID of the transit router VBR attachment.

TransitRouterAttachmentName string

Name of the transit router attachment.

VpcId string

ID of the VPC.

VpcOwnerId string

The Owner ID of the VPC.

ZoneMappings []GetTransitRouterVpcAttachmentsAttachmentZoneMapping

The mappings of zone

id String

The ID of the transit router.

paymentType String

The payment type of the resource.

resourceType String

Type of the resource.

status String

The status of the resource. Valid values Attached, Attaching and Detaching.

transitRouterAttachmentDescription String

The description of transit router attachment.

transitRouterAttachmentId String

ID of the transit router VBR attachment.

transitRouterAttachmentName String

Name of the transit router attachment.

vpcId String

ID of the VPC.

vpcOwnerId String

The Owner ID of the VPC.

zoneMappings List<GetTransitRouterVpcAttachmentsAttachmentZoneMapping>

The mappings of zone

id string

The ID of the transit router.

paymentType string

The payment type of the resource.

resourceType string

Type of the resource.

status string

The status of the resource. Valid values Attached, Attaching and Detaching.

transitRouterAttachmentDescription string

The description of transit router attachment.

transitRouterAttachmentId string

ID of the transit router VBR attachment.

transitRouterAttachmentName string

Name of the transit router attachment.

vpcId string

ID of the VPC.

vpcOwnerId string

The Owner ID of the VPC.

zoneMappings GetTransitRouterVpcAttachmentsAttachmentZoneMapping[]

The mappings of zone

id str

The ID of the transit router.

payment_type str

The payment type of the resource.

resource_type str

Type of the resource.

status str

The status of the resource. Valid values Attached, Attaching and Detaching.

transit_router_attachment_description str

The description of transit router attachment.

transit_router_attachment_id str

ID of the transit router VBR attachment.

transit_router_attachment_name str

Name of the transit router attachment.

vpc_id str

ID of the VPC.

vpc_owner_id str

The Owner ID of the VPC.

zone_mappings Sequence[GetTransitRouterVpcAttachmentsAttachmentZoneMapping]

The mappings of zone

id String

The ID of the transit router.

paymentType String

The payment type of the resource.

resourceType String

Type of the resource.

status String

The status of the resource. Valid values Attached, Attaching and Detaching.

transitRouterAttachmentDescription String

The description of transit router attachment.

transitRouterAttachmentId String

ID of the transit router VBR attachment.

transitRouterAttachmentName String

Name of the transit router attachment.

vpcId String

ID of the VPC.

vpcOwnerId String

The Owner ID of the VPC.

zoneMappings List<Property Map>

The mappings of zone

GetTransitRouterVpcAttachmentsAttachmentZoneMapping

VswitchId string

The VSwitch ID.

ZoneId string

The zone ID.

VswitchId string

The VSwitch ID.

ZoneId string

The zone ID.

vswitchId String

The VSwitch ID.

zoneId String

The zone ID.

vswitchId string

The VSwitch ID.

zoneId string

The zone ID.

vswitch_id str

The VSwitch ID.

zone_id str

The zone ID.

vswitchId String

The VSwitch ID.

zoneId String

The zone ID.

Package Details

Repository
Alibaba Cloud pulumi/pulumi-alicloud
License
Apache-2.0
Notes

This Pulumi package is based on the alicloud Terraform Provider.