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:
- Cen
Id string The ID of the CEN.
- Vbr
Id string The ID of the VBR.
- Auto
Publish boolRoute Enabled Auto publish route enabled.Default value is
false
.- Dry
Run bool The dry run.
- Resource
Type string The resource type of the transit router vbr attachment. Valid values:
VPC
,CCN
,VBR
,TR
.- Route
Table boolAssociation Enabled Whether to enabled route table association. The system default value is
true
.- Route
Table boolPropagation Enabled Whether to enabled route table propagation. The system default value is
true
.- Dictionary<string, object>
A mapping of tags to assign to the resource.
- Transit
Router stringAttachment Description The description of the transit router vbr attachment.
- Transit
Router stringAttachment Name The name of the transit router vbr attachment.
- Transit
Router stringId The ID of the transit router.
- Vbr
Owner stringId The owner id of the transit router vbr attachment.
- Cen
Id string The ID of the CEN.
- Vbr
Id string The ID of the VBR.
- Auto
Publish boolRoute Enabled Auto publish route enabled.Default value is
false
.- Dry
Run bool The dry run.
- Resource
Type string The resource type of the transit router vbr attachment. Valid values:
VPC
,CCN
,VBR
,TR
.- Route
Table boolAssociation Enabled Whether to enabled route table association. The system default value is
true
.- Route
Table boolPropagation Enabled Whether to enabled route table propagation. The system default value is
true
.- map[string]interface{}
A mapping of tags to assign to the resource.
- Transit
Router stringAttachment Description The description of the transit router vbr attachment.
- Transit
Router stringAttachment Name The name of the transit router vbr attachment.
- Transit
Router stringId The ID of the transit router.
- Vbr
Owner stringId The owner id of the transit router vbr attachment.
- cen
Id String The ID of the CEN.
- vbr
Id String The ID of the VBR.
- auto
Publish BooleanRoute Enabled Auto publish route enabled.Default value is
false
.- dry
Run Boolean The dry run.
- resource
Type String The resource type of the transit router vbr attachment. Valid values:
VPC
,CCN
,VBR
,TR
.- route
Table BooleanAssociation Enabled Whether to enabled route table association. The system default value is
true
.- route
Table BooleanPropagation Enabled Whether to enabled route table propagation. The system default value is
true
.- Map<String,Object>
A mapping of tags to assign to the resource.
- transit
Router StringAttachment Description The description of the transit router vbr attachment.
- transit
Router StringAttachment Name The name of the transit router vbr attachment.
- transit
Router StringId The ID of the transit router.
- vbr
Owner StringId The owner id of the transit router vbr attachment.
- cen
Id string The ID of the CEN.
- vbr
Id string The ID of the VBR.
- auto
Publish booleanRoute Enabled Auto publish route enabled.Default value is
false
.- dry
Run boolean The dry run.
- resource
Type string The resource type of the transit router vbr attachment. Valid values:
VPC
,CCN
,VBR
,TR
.- route
Table booleanAssociation Enabled Whether to enabled route table association. The system default value is
true
.- route
Table booleanPropagation Enabled Whether to enabled route table propagation. The system default value is
true
.- {[key: string]: any}
A mapping of tags to assign to the resource.
- transit
Router stringAttachment Description The description of the transit router vbr attachment.
- transit
Router stringAttachment Name The name of the transit router vbr attachment.
- transit
Router stringId The ID of the transit router.
- vbr
Owner stringId 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_ boolroute_ enabled 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_ boolassociation_ enabled Whether to enabled route table association. The system default value is
true
.- route_
table_ boolpropagation_ enabled Whether to enabled route table propagation. The system default value is
true
.- Mapping[str, Any]
A mapping of tags to assign to the resource.
- transit_
router_ strattachment_ description The description of the transit router vbr attachment.
- transit_
router_ strattachment_ name The name of the transit router vbr attachment.
- transit_
router_ strid The ID of the transit router.
- vbr_
owner_ strid The owner id of the transit router vbr attachment.
- cen
Id String The ID of the CEN.
- vbr
Id String The ID of the VBR.
- auto
Publish BooleanRoute Enabled Auto publish route enabled.Default value is
false
.- dry
Run Boolean The dry run.
- resource
Type String The resource type of the transit router vbr attachment. Valid values:
VPC
,CCN
,VBR
,TR
.- route
Table BooleanAssociation Enabled Whether to enabled route table association. The system default value is
true
.- route
Table BooleanPropagation Enabled Whether to enabled route table propagation. The system default value is
true
.- Map<Any>
A mapping of tags to assign to the resource.
- transit
Router StringAttachment Description The description of the transit router vbr attachment.
- transit
Router StringAttachment Name The name of the transit router vbr attachment.
- transit
Router StringId The ID of the transit router.
- vbr
Owner StringId 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.
- Transit
Router stringAttachment Id 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.
- Transit
Router stringAttachment Id 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.
- transit
Router StringAttachment Id 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.
- transit
Router stringAttachment Id 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_ strattachment_ id 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.
- transit
Router StringAttachment Id 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.
- Auto
Publish boolRoute Enabled Auto publish route enabled.Default value is
false
.- Cen
Id string The ID of the CEN.
- Dry
Run bool The dry run.
- Resource
Type string The resource type of the transit router vbr attachment. Valid values:
VPC
,CCN
,VBR
,TR
.- Route
Table boolAssociation Enabled Whether to enabled route table association. The system default value is
true
.- Route
Table boolPropagation Enabled Whether to enabled route table propagation. The system default value is
true
.- Status string
The associating status of the network.
- Dictionary<string, object>
A mapping of tags to assign to the resource.
- Transit
Router stringAttachment Description The description of the transit router vbr attachment.
- Transit
Router stringAttachment Id The id of the transit router vbr attachment.
- Transit
Router stringAttachment Name The name of the transit router vbr attachment.
- Transit
Router stringId The ID of the transit router.
- Vbr
Id string The ID of the VBR.
- Vbr
Owner stringId The owner id of the transit router vbr attachment.
- Auto
Publish boolRoute Enabled Auto publish route enabled.Default value is
false
.- Cen
Id string The ID of the CEN.
- Dry
Run bool The dry run.
- Resource
Type string The resource type of the transit router vbr attachment. Valid values:
VPC
,CCN
,VBR
,TR
.- Route
Table boolAssociation Enabled Whether to enabled route table association. The system default value is
true
.- Route
Table boolPropagation Enabled Whether to enabled route table propagation. The system default value is
true
.- Status string
The associating status of the network.
- map[string]interface{}
A mapping of tags to assign to the resource.
- Transit
Router stringAttachment Description The description of the transit router vbr attachment.
- Transit
Router stringAttachment Id The id of the transit router vbr attachment.
- Transit
Router stringAttachment Name The name of the transit router vbr attachment.
- Transit
Router stringId The ID of the transit router.
- Vbr
Id string The ID of the VBR.
- Vbr
Owner stringId The owner id of the transit router vbr attachment.
- auto
Publish BooleanRoute Enabled Auto publish route enabled.Default value is
false
.- cen
Id String The ID of the CEN.
- dry
Run Boolean The dry run.
- resource
Type String The resource type of the transit router vbr attachment. Valid values:
VPC
,CCN
,VBR
,TR
.- route
Table BooleanAssociation Enabled Whether to enabled route table association. The system default value is
true
.- route
Table BooleanPropagation Enabled Whether to enabled route table propagation. The system default value is
true
.- status String
The associating status of the network.
- Map<String,Object>
A mapping of tags to assign to the resource.
- transit
Router StringAttachment Description The description of the transit router vbr attachment.
- transit
Router StringAttachment Id The id of the transit router vbr attachment.
- transit
Router StringAttachment Name The name of the transit router vbr attachment.
- transit
Router StringId The ID of the transit router.
- vbr
Id String The ID of the VBR.
- vbr
Owner StringId The owner id of the transit router vbr attachment.
- auto
Publish booleanRoute Enabled Auto publish route enabled.Default value is
false
.- cen
Id string The ID of the CEN.
- dry
Run boolean The dry run.
- resource
Type string The resource type of the transit router vbr attachment. Valid values:
VPC
,CCN
,VBR
,TR
.- route
Table booleanAssociation Enabled Whether to enabled route table association. The system default value is
true
.- route
Table booleanPropagation Enabled Whether to enabled route table propagation. The system default value is
true
.- status string
The associating status of the network.
- {[key: string]: any}
A mapping of tags to assign to the resource.
- transit
Router stringAttachment Description The description of the transit router vbr attachment.
- transit
Router stringAttachment Id The id of the transit router vbr attachment.
- transit
Router stringAttachment Name The name of the transit router vbr attachment.
- transit
Router stringId The ID of the transit router.
- vbr
Id string The ID of the VBR.
- vbr
Owner stringId The owner id of the transit router vbr attachment.
- auto_
publish_ boolroute_ enabled 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_ boolassociation_ enabled Whether to enabled route table association. The system default value is
true
.- route_
table_ boolpropagation_ enabled Whether to enabled route table propagation. The system default value is
true
.- status str
The associating status of the network.
- Mapping[str, Any]
A mapping of tags to assign to the resource.
- transit_
router_ strattachment_ description The description of the transit router vbr attachment.
- transit_
router_ strattachment_ id The id of the transit router vbr attachment.
- transit_
router_ strattachment_ name The name of the transit router vbr attachment.
- transit_
router_ strid The ID of the transit router.
- vbr_
id str The ID of the VBR.
- vbr_
owner_ strid The owner id of the transit router vbr attachment.
- auto
Publish BooleanRoute Enabled Auto publish route enabled.Default value is
false
.- cen
Id String The ID of the CEN.
- dry
Run Boolean The dry run.
- resource
Type String The resource type of the transit router vbr attachment. Valid values:
VPC
,CCN
,VBR
,TR
.- route
Table BooleanAssociation Enabled Whether to enabled route table association. The system default value is
true
.- route
Table BooleanPropagation Enabled Whether to enabled route table propagation. The system default value is
true
.- status String
The associating status of the network.
- Map<Any>
A mapping of tags to assign to the resource.
- transit
Router StringAttachment Description The description of the transit router vbr attachment.
- transit
Router StringAttachment Id The id of the transit router vbr attachment.
- transit
Router StringAttachment Name The name of the transit router vbr attachment.
- transit
Router StringId The ID of the transit router.
- vbr
Id String The ID of the VBR.
- vbr
Owner StringId 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.