alicloud logo
Alibaba Cloud v3.34.0, Mar 17 23

alicloud.cen.TransitRouterVbrAttachment

Provides a CEN transit router VBR attachment resource that associate the VBR with the CEN instance.What is Cen Transit Router VBR Attachment

NOTE: Available in 1.126.0+

Create TransitRouterVbrAttachment Resource

new TransitRouterVbrAttachment(name: string, args: TransitRouterVbrAttachmentArgs, opts?: CustomResourceOptions);
@overload
def TransitRouterVbrAttachment(resource_name: str,
                               opts: Optional[ResourceOptions] = None,
                               auto_publish_route_enabled: Optional[bool] = None,
                               cen_id: Optional[str] = None,
                               dry_run: Optional[bool] = None,
                               resource_type: Optional[str] = None,
                               route_table_association_enabled: Optional[bool] = None,
                               route_table_propagation_enabled: Optional[bool] = None,
                               tags: Optional[Mapping[str, Any]] = None,
                               transit_router_attachment_description: Optional[str] = None,
                               transit_router_attachment_name: Optional[str] = None,
                               transit_router_id: Optional[str] = None,
                               vbr_id: Optional[str] = None,
                               vbr_owner_id: Optional[str] = None)
@overload
def TransitRouterVbrAttachment(resource_name: str,
                               args: TransitRouterVbrAttachmentArgs,
                               opts: Optional[ResourceOptions] = None)
func NewTransitRouterVbrAttachment(ctx *Context, name string, args TransitRouterVbrAttachmentArgs, opts ...ResourceOption) (*TransitRouterVbrAttachment, error)
public TransitRouterVbrAttachment(string name, TransitRouterVbrAttachmentArgs args, CustomResourceOptions? opts = null)
public TransitRouterVbrAttachment(String name, TransitRouterVbrAttachmentArgs args)
public TransitRouterVbrAttachment(String name, TransitRouterVbrAttachmentArgs args, CustomResourceOptions options)
type: alicloud:cen:TransitRouterVbrAttachment
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args TransitRouterVbrAttachmentArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
args TransitRouterVbrAttachmentArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args TransitRouterVbrAttachmentArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args TransitRouterVbrAttachmentArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args TransitRouterVbrAttachmentArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

TransitRouterVbrAttachment Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

The TransitRouterVbrAttachment resource accepts the following input properties:

CenId string

The ID of the CEN.

VbrId string

The ID of the VBR.

AutoPublishRouteEnabled bool

Auto publish route enabled.Default value is false.

DryRun bool

The dry run.

ResourceType string

The resource type of the transit router vbr attachment. Valid values: VPC, CCN, VBR, TR.

RouteTableAssociationEnabled bool

Whether to enabled route table association. The system default value is true.

RouteTablePropagationEnabled bool

Whether to enabled route table propagation. The system default value is true.

Tags Dictionary<string, object>

A mapping of tags to assign to the resource.

TransitRouterAttachmentDescription string

The description of the transit router vbr attachment.

TransitRouterAttachmentName string

The name of the transit router vbr attachment.

TransitRouterId string

The ID of the transit router.

VbrOwnerId string

The owner id of the transit router vbr attachment.

CenId string

The ID of the CEN.

VbrId string

The ID of the VBR.

AutoPublishRouteEnabled bool

Auto publish route enabled.Default value is false.

DryRun bool

The dry run.

ResourceType string

The resource type of the transit router vbr attachment. Valid values: VPC, CCN, VBR, TR.

RouteTableAssociationEnabled bool

Whether to enabled route table association. The system default value is true.

RouteTablePropagationEnabled bool

Whether to enabled route table propagation. The system default value is true.

Tags map[string]interface{}

A mapping of tags to assign to the resource.

TransitRouterAttachmentDescription string

The description of the transit router vbr attachment.

TransitRouterAttachmentName string

The name of the transit router vbr attachment.

TransitRouterId string

The ID of the transit router.

VbrOwnerId string

The owner id of the transit router vbr attachment.

cenId String

The ID of the CEN.

vbrId String

The ID of the VBR.

autoPublishRouteEnabled Boolean

Auto publish route enabled.Default value is false.

dryRun Boolean

The dry run.

resourceType String

The resource type of the transit router vbr attachment. Valid values: VPC, CCN, VBR, TR.

routeTableAssociationEnabled Boolean

Whether to enabled route table association. The system default value is true.

routeTablePropagationEnabled Boolean

Whether to enabled route table propagation. The system default value is true.

tags Map<String,Object>

A mapping of tags to assign to the resource.

transitRouterAttachmentDescription String

The description of the transit router vbr attachment.

transitRouterAttachmentName String

The name of the transit router vbr attachment.

transitRouterId String

The ID of the transit router.

vbrOwnerId String

The owner id of the transit router vbr attachment.

cenId string

The ID of the CEN.

vbrId string

The ID of the VBR.

autoPublishRouteEnabled boolean

Auto publish route enabled.Default value is false.

dryRun boolean

The dry run.

resourceType string

The resource type of the transit router vbr attachment. Valid values: VPC, CCN, VBR, TR.

routeTableAssociationEnabled boolean

Whether to enabled route table association. The system default value is true.

routeTablePropagationEnabled boolean

Whether to enabled route table propagation. The system default value is true.

tags {[key: string]: any}

A mapping of tags to assign to the resource.

transitRouterAttachmentDescription string

The description of the transit router vbr attachment.

transitRouterAttachmentName string

The name of the transit router vbr attachment.

transitRouterId string

The ID of the transit router.

vbrOwnerId string

The owner id of the transit router vbr attachment.

cen_id str

The ID of the CEN.

vbr_id str

The ID of the VBR.

auto_publish_route_enabled bool

Auto publish route enabled.Default value is false.

dry_run bool

The dry run.

resource_type str

The resource type of the transit router vbr attachment. Valid values: VPC, CCN, VBR, TR.

route_table_association_enabled bool

Whether to enabled route table association. The system default value is true.

route_table_propagation_enabled bool

Whether to enabled route table propagation. The system default value is true.

tags Mapping[str, Any]

A mapping of tags to assign to the resource.

transit_router_attachment_description str

The description of the transit router vbr attachment.

transit_router_attachment_name str

The name of the transit router vbr attachment.

transit_router_id str

The ID of the transit router.

vbr_owner_id str

The owner id of the transit router vbr attachment.

cenId String

The ID of the CEN.

vbrId String

The ID of the VBR.

autoPublishRouteEnabled Boolean

Auto publish route enabled.Default value is false.

dryRun Boolean

The dry run.

resourceType String

The resource type of the transit router vbr attachment. Valid values: VPC, CCN, VBR, TR.

routeTableAssociationEnabled Boolean

Whether to enabled route table association. The system default value is true.

routeTablePropagationEnabled Boolean

Whether to enabled route table propagation. The system default value is true.

tags Map<Any>

A mapping of tags to assign to the resource.

transitRouterAttachmentDescription String

The description of the transit router vbr attachment.

transitRouterAttachmentName String

The name of the transit router vbr attachment.

transitRouterId String

The ID of the transit router.

vbrOwnerId String

The owner id of the transit router vbr attachment.

Outputs

All input properties are implicitly available as output properties. Additionally, the TransitRouterVbrAttachment resource produces the following output properties:

Id string

The provider-assigned unique ID for this managed resource.

Status string

The associating status of the network.

TransitRouterAttachmentId string

The id of the transit router vbr attachment.

Id string

The provider-assigned unique ID for this managed resource.

Status string

The associating status of the network.

TransitRouterAttachmentId string

The id of the transit router vbr attachment.

id String

The provider-assigned unique ID for this managed resource.

status String

The associating status of the network.

transitRouterAttachmentId String

The id of the transit router vbr attachment.

id string

The provider-assigned unique ID for this managed resource.

status string

The associating status of the network.

transitRouterAttachmentId string

The id of the transit router vbr attachment.

id str

The provider-assigned unique ID for this managed resource.

status str

The associating status of the network.

transit_router_attachment_id str

The id of the transit router vbr attachment.

id String

The provider-assigned unique ID for this managed resource.

status String

The associating status of the network.

transitRouterAttachmentId String

The id of the transit router vbr attachment.

Look up Existing TransitRouterVbrAttachment Resource

Get an existing TransitRouterVbrAttachment resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: TransitRouterVbrAttachmentState, opts?: CustomResourceOptions): TransitRouterVbrAttachment
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        auto_publish_route_enabled: Optional[bool] = None,
        cen_id: Optional[str] = None,
        dry_run: Optional[bool] = None,
        resource_type: Optional[str] = None,
        route_table_association_enabled: Optional[bool] = None,
        route_table_propagation_enabled: Optional[bool] = None,
        status: Optional[str] = None,
        tags: Optional[Mapping[str, Any]] = None,
        transit_router_attachment_description: Optional[str] = None,
        transit_router_attachment_id: Optional[str] = None,
        transit_router_attachment_name: Optional[str] = None,
        transit_router_id: Optional[str] = None,
        vbr_id: Optional[str] = None,
        vbr_owner_id: Optional[str] = None) -> TransitRouterVbrAttachment
func GetTransitRouterVbrAttachment(ctx *Context, name string, id IDInput, state *TransitRouterVbrAttachmentState, opts ...ResourceOption) (*TransitRouterVbrAttachment, error)
public static TransitRouterVbrAttachment Get(string name, Input<string> id, TransitRouterVbrAttachmentState? state, CustomResourceOptions? opts = null)
public static TransitRouterVbrAttachment get(String name, Output<String> id, TransitRouterVbrAttachmentState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
AutoPublishRouteEnabled bool

Auto publish route enabled.Default value is false.

CenId string

The ID of the CEN.

DryRun bool

The dry run.

ResourceType string

The resource type of the transit router vbr attachment. Valid values: VPC, CCN, VBR, TR.

RouteTableAssociationEnabled bool

Whether to enabled route table association. The system default value is true.

RouteTablePropagationEnabled bool

Whether to enabled route table propagation. The system default value is true.

Status string

The associating status of the network.

Tags Dictionary<string, object>

A mapping of tags to assign to the resource.

TransitRouterAttachmentDescription string

The description of the transit router vbr attachment.

TransitRouterAttachmentId string

The id of the transit router vbr attachment.

TransitRouterAttachmentName string

The name of the transit router vbr attachment.

TransitRouterId string

The ID of the transit router.

VbrId string

The ID of the VBR.

VbrOwnerId string

The owner id of the transit router vbr attachment.

AutoPublishRouteEnabled bool

Auto publish route enabled.Default value is false.

CenId string

The ID of the CEN.

DryRun bool

The dry run.

ResourceType string

The resource type of the transit router vbr attachment. Valid values: VPC, CCN, VBR, TR.

RouteTableAssociationEnabled bool

Whether to enabled route table association. The system default value is true.

RouteTablePropagationEnabled bool

Whether to enabled route table propagation. The system default value is true.

Status string

The associating status of the network.

Tags map[string]interface{}

A mapping of tags to assign to the resource.

TransitRouterAttachmentDescription string

The description of the transit router vbr attachment.

TransitRouterAttachmentId string

The id of the transit router vbr attachment.

TransitRouterAttachmentName string

The name of the transit router vbr attachment.

TransitRouterId string

The ID of the transit router.

VbrId string

The ID of the VBR.

VbrOwnerId string

The owner id of the transit router vbr attachment.

autoPublishRouteEnabled Boolean

Auto publish route enabled.Default value is false.

cenId String

The ID of the CEN.

dryRun Boolean

The dry run.

resourceType String

The resource type of the transit router vbr attachment. Valid values: VPC, CCN, VBR, TR.

routeTableAssociationEnabled Boolean

Whether to enabled route table association. The system default value is true.

routeTablePropagationEnabled Boolean

Whether to enabled route table propagation. The system default value is true.

status String

The associating status of the network.

tags Map<String,Object>

A mapping of tags to assign to the resource.

transitRouterAttachmentDescription String

The description of the transit router vbr attachment.

transitRouterAttachmentId String

The id of the transit router vbr attachment.

transitRouterAttachmentName String

The name of the transit router vbr attachment.

transitRouterId String

The ID of the transit router.

vbrId String

The ID of the VBR.

vbrOwnerId String

The owner id of the transit router vbr attachment.

autoPublishRouteEnabled boolean

Auto publish route enabled.Default value is false.

cenId string

The ID of the CEN.

dryRun boolean

The dry run.

resourceType string

The resource type of the transit router vbr attachment. Valid values: VPC, CCN, VBR, TR.

routeTableAssociationEnabled boolean

Whether to enabled route table association. The system default value is true.

routeTablePropagationEnabled boolean

Whether to enabled route table propagation. The system default value is true.

status string

The associating status of the network.

tags {[key: string]: any}

A mapping of tags to assign to the resource.

transitRouterAttachmentDescription string

The description of the transit router vbr attachment.

transitRouterAttachmentId string

The id of the transit router vbr attachment.

transitRouterAttachmentName string

The name of the transit router vbr attachment.

transitRouterId string

The ID of the transit router.

vbrId string

The ID of the VBR.

vbrOwnerId string

The owner id of the transit router vbr attachment.

auto_publish_route_enabled bool

Auto publish route enabled.Default value is false.

cen_id str

The ID of the CEN.

dry_run bool

The dry run.

resource_type str

The resource type of the transit router vbr attachment. Valid values: VPC, CCN, VBR, TR.

route_table_association_enabled bool

Whether to enabled route table association. The system default value is true.

route_table_propagation_enabled bool

Whether to enabled route table propagation. The system default value is true.

status str

The associating status of the network.

tags Mapping[str, Any]

A mapping of tags to assign to the resource.

transit_router_attachment_description str

The description of the transit router vbr attachment.

transit_router_attachment_id str

The id of the transit router vbr attachment.

transit_router_attachment_name str

The name of the transit router vbr attachment.

transit_router_id str

The ID of the transit router.

vbr_id str

The ID of the VBR.

vbr_owner_id str

The owner id of the transit router vbr attachment.

autoPublishRouteEnabled Boolean

Auto publish route enabled.Default value is false.

cenId String

The ID of the CEN.

dryRun Boolean

The dry run.

resourceType String

The resource type of the transit router vbr attachment. Valid values: VPC, CCN, VBR, TR.

routeTableAssociationEnabled Boolean

Whether to enabled route table association. The system default value is true.

routeTablePropagationEnabled Boolean

Whether to enabled route table propagation. The system default value is true.

status String

The associating status of the network.

tags Map<Any>

A mapping of tags to assign to the resource.

transitRouterAttachmentDescription String

The description of the transit router vbr attachment.

transitRouterAttachmentId String

The id of the transit router vbr attachment.

transitRouterAttachmentName String

The name of the transit router vbr attachment.

transitRouterId String

The ID of the transit router.

vbrId String

The ID of the VBR.

vbrOwnerId String

The owner id of the transit router vbr attachment.

Import

CEN transit router VBR attachment can be imported using the id, e.g.

 $ pulumi import alicloud:cen/transitRouterVbrAttachment:TransitRouterVbrAttachment example tr-********:tr-attach-********

Package Details

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

This Pulumi package is based on the alicloud Terraform Provider.