alicloud.cen.TransitRouterRouteTableAssociation

Provides a CEN transit router route table association resource.What is Cen Transit Router Route Table Association

NOTE: Available in 1.126.0+

Create TransitRouterRouteTableAssociation Resource

new TransitRouterRouteTableAssociation(name: string, args: TransitRouterRouteTableAssociationArgs, opts?: CustomResourceOptions);
@overload
def TransitRouterRouteTableAssociation(resource_name: str,
                                       opts: Optional[ResourceOptions] = None,
                                       dry_run: Optional[bool] = None,
                                       transit_router_attachment_id: Optional[str] = None,
                                       transit_router_route_table_id: Optional[str] = None)
@overload
def TransitRouterRouteTableAssociation(resource_name: str,
                                       args: TransitRouterRouteTableAssociationArgs,
                                       opts: Optional[ResourceOptions] = None)
func NewTransitRouterRouteTableAssociation(ctx *Context, name string, args TransitRouterRouteTableAssociationArgs, opts ...ResourceOption) (*TransitRouterRouteTableAssociation, error)
public TransitRouterRouteTableAssociation(string name, TransitRouterRouteTableAssociationArgs args, CustomResourceOptions? opts = null)
public TransitRouterRouteTableAssociation(String name, TransitRouterRouteTableAssociationArgs args)
public TransitRouterRouteTableAssociation(String name, TransitRouterRouteTableAssociationArgs args, CustomResourceOptions options)
type: alicloud:cen:TransitRouterRouteTableAssociation
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args TransitRouterRouteTableAssociationArgs
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 TransitRouterRouteTableAssociationArgs
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 TransitRouterRouteTableAssociationArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args TransitRouterRouteTableAssociationArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args TransitRouterRouteTableAssociationArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

TransitRouterRouteTableAssociation 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 TransitRouterRouteTableAssociation resource accepts the following input properties:

TransitRouterAttachmentId string

The ID the transit router attachment.

TransitRouterRouteTableId string

The ID of the transit router route table.

DryRun bool

The dry run.

TransitRouterAttachmentId string

The ID the transit router attachment.

TransitRouterRouteTableId string

The ID of the transit router route table.

DryRun bool

The dry run.

transitRouterAttachmentId String

The ID the transit router attachment.

transitRouterRouteTableId String

The ID of the transit router route table.

dryRun Boolean

The dry run.

transitRouterAttachmentId string

The ID the transit router attachment.

transitRouterRouteTableId string

The ID of the transit router route table.

dryRun boolean

The dry run.

transit_router_attachment_id str

The ID the transit router attachment.

transit_router_route_table_id str

The ID of the transit router route table.

dry_run bool

The dry run.

transitRouterAttachmentId String

The ID the transit router attachment.

transitRouterRouteTableId String

The ID of the transit router route table.

dryRun Boolean

The dry run.

Outputs

All input properties are implicitly available as output properties. Additionally, the TransitRouterRouteTableAssociation 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.

Id string

The provider-assigned unique ID for this managed resource.

Status string

The associating status of the network.

id String

The provider-assigned unique ID for this managed resource.

status String

The associating status of the network.

id string

The provider-assigned unique ID for this managed resource.

status string

The associating status of the network.

id str

The provider-assigned unique ID for this managed resource.

status str

The associating status of the network.

id String

The provider-assigned unique ID for this managed resource.

status String

The associating status of the network.

Look up Existing TransitRouterRouteTableAssociation Resource

Get an existing TransitRouterRouteTableAssociation 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?: TransitRouterRouteTableAssociationState, opts?: CustomResourceOptions): TransitRouterRouteTableAssociation
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        dry_run: Optional[bool] = None,
        status: Optional[str] = None,
        transit_router_attachment_id: Optional[str] = None,
        transit_router_route_table_id: Optional[str] = None) -> TransitRouterRouteTableAssociation
func GetTransitRouterRouteTableAssociation(ctx *Context, name string, id IDInput, state *TransitRouterRouteTableAssociationState, opts ...ResourceOption) (*TransitRouterRouteTableAssociation, error)
public static TransitRouterRouteTableAssociation Get(string name, Input<string> id, TransitRouterRouteTableAssociationState? state, CustomResourceOptions? opts = null)
public static TransitRouterRouteTableAssociation get(String name, Output<String> id, TransitRouterRouteTableAssociationState 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:
DryRun bool

The dry run.

Status string

The associating status of the network.

TransitRouterAttachmentId string

The ID the transit router attachment.

TransitRouterRouteTableId string

The ID of the transit router route table.

DryRun bool

The dry run.

Status string

The associating status of the network.

TransitRouterAttachmentId string

The ID the transit router attachment.

TransitRouterRouteTableId string

The ID of the transit router route table.

dryRun Boolean

The dry run.

status String

The associating status of the network.

transitRouterAttachmentId String

The ID the transit router attachment.

transitRouterRouteTableId String

The ID of the transit router route table.

dryRun boolean

The dry run.

status string

The associating status of the network.

transitRouterAttachmentId string

The ID the transit router attachment.

transitRouterRouteTableId string

The ID of the transit router route table.

dry_run bool

The dry run.

status str

The associating status of the network.

transit_router_attachment_id str

The ID the transit router attachment.

transit_router_route_table_id str

The ID of the transit router route table.

dryRun Boolean

The dry run.

status String

The associating status of the network.

transitRouterAttachmentId String

The ID the transit router attachment.

transitRouterRouteTableId String

The ID of the transit router route table.

Import

CEN transit router route table association can be imported using the id, e.g.

 $ pulumi import alicloud:cen/transitRouterRouteTableAssociation:TransitRouterRouteTableAssociation default 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.