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:
- Cen
Id string ID of the CEN instance.
- Ids List<string>
A list of resource id. The element value is same as
transit_router_id
.- Output
File string - Status string
The status of the resource. Valid values
Attached
,Attaching
andDetaching
.- Transit
Router stringId The transit router ID.
- Cen
Id string ID of the CEN instance.
- Ids []string
A list of resource id. The element value is same as
transit_router_id
.- Output
File string - Status string
The status of the resource. Valid values
Attached
,Attaching
andDetaching
.- Transit
Router stringId The transit router ID.
- cen
Id String ID of the CEN instance.
- ids List<String>
A list of resource id. The element value is same as
transit_router_id
.- output
File String - status String
The status of the resource. Valid values
Attached
,Attaching
andDetaching
.- transit
Router StringId The transit router ID.
- cen
Id string ID of the CEN instance.
- ids string[]
A list of resource id. The element value is same as
transit_router_id
.- output
File string - status string
The status of the resource. Valid values
Attached
,Attaching
andDetaching
.- transit
Router stringId 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
andDetaching
.- transit_
router_ strid The transit router ID.
- cen
Id String ID of the CEN instance.
- ids List<String>
A list of resource id. The element value is same as
transit_router_id
.- output
File String - status String
The status of the resource. Valid values
Attached
,Attaching
andDetaching
.- transit
Router StringId The transit router ID.
getTransitRouterVpcAttachments Result
The following output properties are available:
- Attachments
List<Pulumi.
Ali Cloud. Cen. Outputs. Get Transit Router Vpc Attachments Attachment> A list of CEN Transit Router VPC Attachments. Each element contains the following attributes:
- Cen
Id string - Id string
The provider-assigned unique ID for this managed resource.
- Ids List<string>
- Output
File string - Status string
The status of the transit router attachment.
- Transit
Router stringId ID of the transit router.
- Attachments
[]Get
Transit Router Vpc Attachments Attachment A list of CEN Transit Router VPC Attachments. Each element contains the following attributes:
- Cen
Id string - Id string
The provider-assigned unique ID for this managed resource.
- Ids []string
- Output
File string - Status string
The status of the transit router attachment.
- Transit
Router stringId ID of the transit router.
- attachments
List<Get
Transit Router Vpc Attachments Attachment> A list of CEN Transit Router VPC Attachments. Each element contains the following attributes:
- cen
Id String - id String
The provider-assigned unique ID for this managed resource.
- ids List<String>
- output
File String - status String
The status of the transit router attachment.
- transit
Router StringId ID of the transit router.
- attachments
Get
Transit Router Vpc Attachments Attachment[] A list of CEN Transit Router VPC Attachments. Each element contains the following attributes:
- cen
Id string - id string
The provider-assigned unique ID for this managed resource.
- ids string[]
- output
File string - status string
The status of the transit router attachment.
- transit
Router stringId ID of the transit router.
- attachments
Sequence[Get
Transit Router Vpc Attachments Attachment] 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_ strid ID of the transit router.
- attachments List<Property Map>
A list of CEN Transit Router VPC Attachments. Each element contains the following attributes:
- cen
Id String - id String
The provider-assigned unique ID for this managed resource.
- ids List<String>
- output
File String - status String
The status of the transit router attachment.
- transit
Router StringId ID of the transit router.
Supporting Types
GetTransitRouterVpcAttachmentsAttachment
- Id string
The ID of the transit router.
- Payment
Type string The payment type of the resource.
- Resource
Type string Type of the resource.
- Status string
The status of the resource. Valid values
Attached
,Attaching
andDetaching
.- Transit
Router stringAttachment Description The description of transit router attachment.
- Transit
Router stringAttachment Id ID of the transit router VBR attachment.
- Transit
Router stringAttachment Name Name of the transit router attachment.
- Vpc
Id string ID of the VPC.
- Vpc
Owner stringId The Owner ID of the VPC.
- Zone
Mappings List<Pulumi.Ali Cloud. Cen. Inputs. Get Transit Router Vpc Attachments Attachment Zone Mapping> The mappings of zone
- Id string
The ID of the transit router.
- Payment
Type string The payment type of the resource.
- Resource
Type string Type of the resource.
- Status string
The status of the resource. Valid values
Attached
,Attaching
andDetaching
.- Transit
Router stringAttachment Description The description of transit router attachment.
- Transit
Router stringAttachment Id ID of the transit router VBR attachment.
- Transit
Router stringAttachment Name Name of the transit router attachment.
- Vpc
Id string ID of the VPC.
- Vpc
Owner stringId The Owner ID of the VPC.
- Zone
Mappings []GetTransit Router Vpc Attachments Attachment Zone Mapping The mappings of zone
- id String
The ID of the transit router.
- payment
Type String The payment type of the resource.
- resource
Type String Type of the resource.
- status String
The status of the resource. Valid values
Attached
,Attaching
andDetaching
.- transit
Router StringAttachment Description The description of transit router attachment.
- transit
Router StringAttachment Id ID of the transit router VBR attachment.
- transit
Router StringAttachment Name Name of the transit router attachment.
- vpc
Id String ID of the VPC.
- vpc
Owner StringId The Owner ID of the VPC.
- zone
Mappings List<GetTransit Router Vpc Attachments Attachment Zone Mapping> The mappings of zone
- id string
The ID of the transit router.
- payment
Type string The payment type of the resource.
- resource
Type string Type of the resource.
- status string
The status of the resource. Valid values
Attached
,Attaching
andDetaching
.- transit
Router stringAttachment Description The description of transit router attachment.
- transit
Router stringAttachment Id ID of the transit router VBR attachment.
- transit
Router stringAttachment Name Name of the transit router attachment.
- vpc
Id string ID of the VPC.
- vpc
Owner stringId The Owner ID of the VPC.
- zone
Mappings GetTransit Router Vpc Attachments Attachment Zone Mapping[] 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
andDetaching
.- transit_
router_ strattachment_ description The description of transit router attachment.
- transit_
router_ strattachment_ id ID of the transit router VBR attachment.
- transit_
router_ strattachment_ name Name of the transit router attachment.
- vpc_
id str ID of the VPC.
- vpc_
owner_ strid The Owner ID of the VPC.
- zone_
mappings Sequence[GetTransit Router Vpc Attachments Attachment Zone Mapping] The mappings of zone
- id String
The ID of the transit router.
- payment
Type String The payment type of the resource.
- resource
Type String Type of the resource.
- status String
The status of the resource. Valid values
Attached
,Attaching
andDetaching
.- transit
Router StringAttachment Description The description of transit router attachment.
- transit
Router StringAttachment Id ID of the transit router VBR attachment.
- transit
Router StringAttachment Name Name of the transit router attachment.
- vpc
Id String ID of the VPC.
- vpc
Owner StringId The Owner ID of the VPC.
- zone
Mappings List<Property Map> The mappings of zone
GetTransitRouterVpcAttachmentsAttachmentZoneMapping
- vswitch_
id str The VSwitch ID.
- zone_
id str 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.