1. Packages
  2. Alibaba Cloud Provider
  3. API Docs
  4. cen
  5. TransitRouterEcrAttachment
Alibaba Cloud v3.76.0 published on Tuesday, Apr 8, 2025 by Pulumi

alicloud.cen.TransitRouterEcrAttachment

Explore with Pulumi AI

Provides a CEN Transit Router Ecr Attachment resource.

For information about CEN Transit Router Ecr Attachment and how to use it, see What is Transit Router Ecr Attachment.

NOTE: Available since v1.235.0.

Example Usage

Basic Usage

import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";

const config = new pulumi.Config();
const name = config.get("name") || "terraform-example";
const asn = config.get("asn") || "4200000667";
const defaultO8Hcfx = new alicloud.expressconnect.RouterExpressConnectRouter("defaultO8Hcfx", {
    alibabaSideAsn: asn,
    ecrName: name,
});
const defaultQKBiay = new alicloud.cen.Instance("defaultQKBiay", {cenInstanceName: name});
const defaultQa94Y1 = new alicloud.cen.TransitRouter("defaultQa94Y1", {
    cenId: defaultQKBiay.id,
    transitRouterName: name,
});
const current = alicloud.getAccount({});
const defaultedPu6c = new alicloud.expressconnect.RouterTrAssociation("defaultedPu6c", {
    associationRegionId: "cn-hangzhou",
    ecrId: defaultO8Hcfx.id,
    cenId: defaultQKBiay.id,
    transitRouterId: defaultQa94Y1.transitRouterId,
    transitRouterOwnerId: current.then(current => current.id),
});
const _default = new alicloud.cen.TransitRouterEcrAttachment("default", {
    ecrId: defaultO8Hcfx.id,
    cenId: defaultedPu6c.cenId,
    transitRouterEcrAttachmentName: name,
    transitRouterAttachmentDescription: name,
    transitRouterId: defaultQa94Y1.transitRouterId,
    ecrOwnerId: current.then(current => current.id),
});
Copy
import pulumi
import pulumi_alicloud as alicloud

config = pulumi.Config()
name = config.get("name")
if name is None:
    name = "terraform-example"
asn = config.get("asn")
if asn is None:
    asn = "4200000667"
default_o8_hcfx = alicloud.expressconnect.RouterExpressConnectRouter("defaultO8Hcfx",
    alibaba_side_asn=asn,
    ecr_name=name)
default_qk_biay = alicloud.cen.Instance("defaultQKBiay", cen_instance_name=name)
default_qa94_y1 = alicloud.cen.TransitRouter("defaultQa94Y1",
    cen_id=default_qk_biay.id,
    transit_router_name=name)
current = alicloud.get_account()
defaulted_pu6c = alicloud.expressconnect.RouterTrAssociation("defaultedPu6c",
    association_region_id="cn-hangzhou",
    ecr_id=default_o8_hcfx.id,
    cen_id=default_qk_biay.id,
    transit_router_id=default_qa94_y1.transit_router_id,
    transit_router_owner_id=current.id)
default = alicloud.cen.TransitRouterEcrAttachment("default",
    ecr_id=default_o8_hcfx.id,
    cen_id=defaulted_pu6c.cen_id,
    transit_router_ecr_attachment_name=name,
    transit_router_attachment_description=name,
    transit_router_id=default_qa94_y1.transit_router_id,
    ecr_owner_id=current.id)
Copy
package main

import (
	"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud"
	"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/cen"
	"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/expressconnect"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		cfg := config.New(ctx, "")
		name := "terraform-example"
		if param := cfg.Get("name"); param != "" {
			name = param
		}
		asn := "4200000667"
		if param := cfg.Get("asn"); param != "" {
			asn = param
		}
		defaultO8Hcfx, err := expressconnect.NewRouterExpressConnectRouter(ctx, "defaultO8Hcfx", &expressconnect.RouterExpressConnectRouterArgs{
			AlibabaSideAsn: pulumi.String(asn),
			EcrName:        pulumi.String(name),
		})
		if err != nil {
			return err
		}
		defaultQKBiay, err := cen.NewInstance(ctx, "defaultQKBiay", &cen.InstanceArgs{
			CenInstanceName: pulumi.String(name),
		})
		if err != nil {
			return err
		}
		defaultQa94Y1, err := cen.NewTransitRouter(ctx, "defaultQa94Y1", &cen.TransitRouterArgs{
			CenId:             defaultQKBiay.ID(),
			TransitRouterName: pulumi.String(name),
		})
		if err != nil {
			return err
		}
		current, err := alicloud.GetAccount(ctx, map[string]interface{}{}, nil)
		if err != nil {
			return err
		}
		defaultedPu6c, err := expressconnect.NewRouterTrAssociation(ctx, "defaultedPu6c", &expressconnect.RouterTrAssociationArgs{
			AssociationRegionId:  pulumi.String("cn-hangzhou"),
			EcrId:                defaultO8Hcfx.ID(),
			CenId:                defaultQKBiay.ID(),
			TransitRouterId:      defaultQa94Y1.TransitRouterId,
			TransitRouterOwnerId: pulumi.String(current.Id),
		})
		if err != nil {
			return err
		}
		_, err = cen.NewTransitRouterEcrAttachment(ctx, "default", &cen.TransitRouterEcrAttachmentArgs{
			EcrId:                              defaultO8Hcfx.ID(),
			CenId:                              defaultedPu6c.CenId,
			TransitRouterEcrAttachmentName:     pulumi.String(name),
			TransitRouterAttachmentDescription: pulumi.String(name),
			TransitRouterId:                    defaultQa94Y1.TransitRouterId,
			EcrOwnerId:                         pulumi.String(current.Id),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AliCloud = Pulumi.AliCloud;

return await Deployment.RunAsync(() => 
{
    var config = new Config();
    var name = config.Get("name") ?? "terraform-example";
    var asn = config.Get("asn") ?? "4200000667";
    var defaultO8Hcfx = new AliCloud.ExpressConnect.RouterExpressConnectRouter("defaultO8Hcfx", new()
    {
        AlibabaSideAsn = asn,
        EcrName = name,
    });

    var defaultQKBiay = new AliCloud.Cen.Instance("defaultQKBiay", new()
    {
        CenInstanceName = name,
    });

    var defaultQa94Y1 = new AliCloud.Cen.TransitRouter("defaultQa94Y1", new()
    {
        CenId = defaultQKBiay.Id,
        TransitRouterName = name,
    });

    var current = AliCloud.GetAccount.Invoke();

    var defaultedPu6c = new AliCloud.ExpressConnect.RouterTrAssociation("defaultedPu6c", new()
    {
        AssociationRegionId = "cn-hangzhou",
        EcrId = defaultO8Hcfx.Id,
        CenId = defaultQKBiay.Id,
        TransitRouterId = defaultQa94Y1.TransitRouterId,
        TransitRouterOwnerId = current.Apply(getAccountResult => getAccountResult.Id),
    });

    var @default = new AliCloud.Cen.TransitRouterEcrAttachment("default", new()
    {
        EcrId = defaultO8Hcfx.Id,
        CenId = defaultedPu6c.CenId,
        TransitRouterEcrAttachmentName = name,
        TransitRouterAttachmentDescription = name,
        TransitRouterId = defaultQa94Y1.TransitRouterId,
        EcrOwnerId = current.Apply(getAccountResult => getAccountResult.Id),
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.expressconnect.RouterExpressConnectRouter;
import com.pulumi.alicloud.expressconnect.RouterExpressConnectRouterArgs;
import com.pulumi.alicloud.cen.Instance;
import com.pulumi.alicloud.cen.InstanceArgs;
import com.pulumi.alicloud.cen.TransitRouter;
import com.pulumi.alicloud.cen.TransitRouterArgs;
import com.pulumi.alicloud.AlicloudFunctions;
import com.pulumi.alicloud.expressconnect.RouterTrAssociation;
import com.pulumi.alicloud.expressconnect.RouterTrAssociationArgs;
import com.pulumi.alicloud.cen.TransitRouterEcrAttachment;
import com.pulumi.alicloud.cen.TransitRouterEcrAttachmentArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        final var config = ctx.config();
        final var name = config.get("name").orElse("terraform-example");
        final var asn = config.get("asn").orElse("4200000667");
        var defaultO8Hcfx = new RouterExpressConnectRouter("defaultO8Hcfx", RouterExpressConnectRouterArgs.builder()
            .alibabaSideAsn(asn)
            .ecrName(name)
            .build());

        var defaultQKBiay = new Instance("defaultQKBiay", InstanceArgs.builder()
            .cenInstanceName(name)
            .build());

        var defaultQa94Y1 = new TransitRouter("defaultQa94Y1", TransitRouterArgs.builder()
            .cenId(defaultQKBiay.id())
            .transitRouterName(name)
            .build());

        final var current = AlicloudFunctions.getAccount();

        var defaultedPu6c = new RouterTrAssociation("defaultedPu6c", RouterTrAssociationArgs.builder()
            .associationRegionId("cn-hangzhou")
            .ecrId(defaultO8Hcfx.id())
            .cenId(defaultQKBiay.id())
            .transitRouterId(defaultQa94Y1.transitRouterId())
            .transitRouterOwnerId(current.applyValue(getAccountResult -> getAccountResult.id()))
            .build());

        var default_ = new TransitRouterEcrAttachment("default", TransitRouterEcrAttachmentArgs.builder()
            .ecrId(defaultO8Hcfx.id())
            .cenId(defaultedPu6c.cenId())
            .transitRouterEcrAttachmentName(name)
            .transitRouterAttachmentDescription(name)
            .transitRouterId(defaultQa94Y1.transitRouterId())
            .ecrOwnerId(current.applyValue(getAccountResult -> getAccountResult.id()))
            .build());

    }
}
Copy
configuration:
  name:
    type: string
    default: terraform-example
  asn:
    type: string
    default: '4200000667'
resources:
  defaultO8Hcfx:
    type: alicloud:expressconnect:RouterExpressConnectRouter
    properties:
      alibabaSideAsn: ${asn}
      ecrName: ${name}
  defaultQKBiay:
    type: alicloud:cen:Instance
    properties:
      cenInstanceName: ${name}
  defaultQa94Y1:
    type: alicloud:cen:TransitRouter
    properties:
      cenId: ${defaultQKBiay.id}
      transitRouterName: ${name}
  defaultedPu6c:
    type: alicloud:expressconnect:RouterTrAssociation
    properties:
      associationRegionId: cn-hangzhou
      ecrId: ${defaultO8Hcfx.id}
      cenId: ${defaultQKBiay.id}
      transitRouterId: ${defaultQa94Y1.transitRouterId}
      transitRouterOwnerId: ${current.id}
  default:
    type: alicloud:cen:TransitRouterEcrAttachment
    properties:
      ecrId: ${defaultO8Hcfx.id}
      cenId: ${defaultedPu6c.cenId}
      transitRouterEcrAttachmentName: ${name}
      transitRouterAttachmentDescription: ${name}
      transitRouterId: ${defaultQa94Y1.transitRouterId}
      ecrOwnerId: ${current.id}
variables:
  current:
    fn::invoke:
      function: alicloud:getAccount
      arguments: {}
Copy

Create TransitRouterEcrAttachment Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new TransitRouterEcrAttachment(name: string, args: TransitRouterEcrAttachmentArgs, opts?: CustomResourceOptions);
@overload
def TransitRouterEcrAttachment(resource_name: str,
                               args: TransitRouterEcrAttachmentArgs,
                               opts: Optional[ResourceOptions] = None)

@overload
def TransitRouterEcrAttachment(resource_name: str,
                               opts: Optional[ResourceOptions] = None,
                               ecr_id: Optional[str] = None,
                               cen_id: Optional[str] = None,
                               ecr_owner_id: Optional[int] = None,
                               tags: Optional[Mapping[str, str]] = None,
                               transit_router_attachment_description: Optional[str] = None,
                               transit_router_ecr_attachment_name: Optional[str] = None,
                               transit_router_id: Optional[str] = None)
func NewTransitRouterEcrAttachment(ctx *Context, name string, args TransitRouterEcrAttachmentArgs, opts ...ResourceOption) (*TransitRouterEcrAttachment, error)
public TransitRouterEcrAttachment(string name, TransitRouterEcrAttachmentArgs args, CustomResourceOptions? opts = null)
public TransitRouterEcrAttachment(String name, TransitRouterEcrAttachmentArgs args)
public TransitRouterEcrAttachment(String name, TransitRouterEcrAttachmentArgs args, CustomResourceOptions options)
type: alicloud:cen:TransitRouterEcrAttachment
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

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

Constructor example

The following reference example uses placeholder values for all input properties.

var transitRouterEcrAttachmentResource = new AliCloud.Cen.TransitRouterEcrAttachment("transitRouterEcrAttachmentResource", new()
{
    EcrId = "string",
    CenId = "string",
    EcrOwnerId = 0,
    Tags = 
    {
        { "string", "string" },
    },
    TransitRouterAttachmentDescription = "string",
    TransitRouterEcrAttachmentName = "string",
    TransitRouterId = "string",
});
Copy
example, err := cen.NewTransitRouterEcrAttachment(ctx, "transitRouterEcrAttachmentResource", &cen.TransitRouterEcrAttachmentArgs{
	EcrId:      pulumi.String("string"),
	CenId:      pulumi.String("string"),
	EcrOwnerId: pulumi.Int(0),
	Tags: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
	TransitRouterAttachmentDescription: pulumi.String("string"),
	TransitRouterEcrAttachmentName:     pulumi.String("string"),
	TransitRouterId:                    pulumi.String("string"),
})
Copy
var transitRouterEcrAttachmentResource = new TransitRouterEcrAttachment("transitRouterEcrAttachmentResource", TransitRouterEcrAttachmentArgs.builder()
    .ecrId("string")
    .cenId("string")
    .ecrOwnerId(0)
    .tags(Map.of("string", "string"))
    .transitRouterAttachmentDescription("string")
    .transitRouterEcrAttachmentName("string")
    .transitRouterId("string")
    .build());
Copy
transit_router_ecr_attachment_resource = alicloud.cen.TransitRouterEcrAttachment("transitRouterEcrAttachmentResource",
    ecr_id="string",
    cen_id="string",
    ecr_owner_id=0,
    tags={
        "string": "string",
    },
    transit_router_attachment_description="string",
    transit_router_ecr_attachment_name="string",
    transit_router_id="string")
Copy
const transitRouterEcrAttachmentResource = new alicloud.cen.TransitRouterEcrAttachment("transitRouterEcrAttachmentResource", {
    ecrId: "string",
    cenId: "string",
    ecrOwnerId: 0,
    tags: {
        string: "string",
    },
    transitRouterAttachmentDescription: "string",
    transitRouterEcrAttachmentName: "string",
    transitRouterId: "string",
});
Copy
type: alicloud:cen:TransitRouterEcrAttachment
properties:
    cenId: string
    ecrId: string
    ecrOwnerId: 0
    tags:
        string: string
    transitRouterAttachmentDescription: string
    transitRouterEcrAttachmentName: string
    transitRouterId: string
Copy

TransitRouterEcrAttachment Resource Properties

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

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The TransitRouterEcrAttachment resource accepts the following input properties:

EcrId
This property is required.
Changes to this property will trigger replacement.
string
EcrId
CenId Changes to this property will trigger replacement. string
CenId
EcrOwnerId Changes to this property will trigger replacement. int
EcrOwnerId
Tags Dictionary<string, string>
The tag of the resource
TransitRouterAttachmentDescription string
TransitRouterAttachmentDescription
TransitRouterEcrAttachmentName string
TransitRouterAttachmentName
TransitRouterId Changes to this property will trigger replacement. string
TransitRouterId
EcrId
This property is required.
Changes to this property will trigger replacement.
string
EcrId
CenId Changes to this property will trigger replacement. string
CenId
EcrOwnerId Changes to this property will trigger replacement. int
EcrOwnerId
Tags map[string]string
The tag of the resource
TransitRouterAttachmentDescription string
TransitRouterAttachmentDescription
TransitRouterEcrAttachmentName string
TransitRouterAttachmentName
TransitRouterId Changes to this property will trigger replacement. string
TransitRouterId
ecrId
This property is required.
Changes to this property will trigger replacement.
String
EcrId
cenId Changes to this property will trigger replacement. String
CenId
ecrOwnerId Changes to this property will trigger replacement. Integer
EcrOwnerId
tags Map<String,String>
The tag of the resource
transitRouterAttachmentDescription String
TransitRouterAttachmentDescription
transitRouterEcrAttachmentName String
TransitRouterAttachmentName
transitRouterId Changes to this property will trigger replacement. String
TransitRouterId
ecrId
This property is required.
Changes to this property will trigger replacement.
string
EcrId
cenId Changes to this property will trigger replacement. string
CenId
ecrOwnerId Changes to this property will trigger replacement. number
EcrOwnerId
tags {[key: string]: string}
The tag of the resource
transitRouterAttachmentDescription string
TransitRouterAttachmentDescription
transitRouterEcrAttachmentName string
TransitRouterAttachmentName
transitRouterId Changes to this property will trigger replacement. string
TransitRouterId
ecr_id
This property is required.
Changes to this property will trigger replacement.
str
EcrId
cen_id Changes to this property will trigger replacement. str
CenId
ecr_owner_id Changes to this property will trigger replacement. int
EcrOwnerId
tags Mapping[str, str]
The tag of the resource
transit_router_attachment_description str
TransitRouterAttachmentDescription
transit_router_ecr_attachment_name str
TransitRouterAttachmentName
transit_router_id Changes to this property will trigger replacement. str
TransitRouterId
ecrId
This property is required.
Changes to this property will trigger replacement.
String
EcrId
cenId Changes to this property will trigger replacement. String
CenId
ecrOwnerId Changes to this property will trigger replacement. Number
EcrOwnerId
tags Map<String>
The tag of the resource
transitRouterAttachmentDescription String
TransitRouterAttachmentDescription
transitRouterEcrAttachmentName String
TransitRouterAttachmentName
transitRouterId Changes to this property will trigger replacement. String
TransitRouterId

Outputs

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

CreateTime string
The creation time of the resource
Id string
The provider-assigned unique ID for this managed resource.
Status string
The status of the resource
CreateTime string
The creation time of the resource
Id string
The provider-assigned unique ID for this managed resource.
Status string
The status of the resource
createTime String
The creation time of the resource
id String
The provider-assigned unique ID for this managed resource.
status String
The status of the resource
createTime string
The creation time of the resource
id string
The provider-assigned unique ID for this managed resource.
status string
The status of the resource
create_time str
The creation time of the resource
id str
The provider-assigned unique ID for this managed resource.
status str
The status of the resource
createTime String
The creation time of the resource
id String
The provider-assigned unique ID for this managed resource.
status String
The status of the resource

Look up Existing TransitRouterEcrAttachment Resource

Get an existing TransitRouterEcrAttachment 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?: TransitRouterEcrAttachmentState, opts?: CustomResourceOptions): TransitRouterEcrAttachment
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        cen_id: Optional[str] = None,
        create_time: Optional[str] = None,
        ecr_id: Optional[str] = None,
        ecr_owner_id: Optional[int] = None,
        status: Optional[str] = None,
        tags: Optional[Mapping[str, str]] = None,
        transit_router_attachment_description: Optional[str] = None,
        transit_router_ecr_attachment_name: Optional[str] = None,
        transit_router_id: Optional[str] = None) -> TransitRouterEcrAttachment
func GetTransitRouterEcrAttachment(ctx *Context, name string, id IDInput, state *TransitRouterEcrAttachmentState, opts ...ResourceOption) (*TransitRouterEcrAttachment, error)
public static TransitRouterEcrAttachment Get(string name, Input<string> id, TransitRouterEcrAttachmentState? state, CustomResourceOptions? opts = null)
public static TransitRouterEcrAttachment get(String name, Output<String> id, TransitRouterEcrAttachmentState state, CustomResourceOptions options)
resources:  _:    type: alicloud:cen:TransitRouterEcrAttachment    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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:
CenId Changes to this property will trigger replacement. string
CenId
CreateTime string
The creation time of the resource
EcrId Changes to this property will trigger replacement. string
EcrId
EcrOwnerId Changes to this property will trigger replacement. int
EcrOwnerId
Status string
The status of the resource
Tags Dictionary<string, string>
The tag of the resource
TransitRouterAttachmentDescription string
TransitRouterAttachmentDescription
TransitRouterEcrAttachmentName string
TransitRouterAttachmentName
TransitRouterId Changes to this property will trigger replacement. string
TransitRouterId
CenId Changes to this property will trigger replacement. string
CenId
CreateTime string
The creation time of the resource
EcrId Changes to this property will trigger replacement. string
EcrId
EcrOwnerId Changes to this property will trigger replacement. int
EcrOwnerId
Status string
The status of the resource
Tags map[string]string
The tag of the resource
TransitRouterAttachmentDescription string
TransitRouterAttachmentDescription
TransitRouterEcrAttachmentName string
TransitRouterAttachmentName
TransitRouterId Changes to this property will trigger replacement. string
TransitRouterId
cenId Changes to this property will trigger replacement. String
CenId
createTime String
The creation time of the resource
ecrId Changes to this property will trigger replacement. String
EcrId
ecrOwnerId Changes to this property will trigger replacement. Integer
EcrOwnerId
status String
The status of the resource
tags Map<String,String>
The tag of the resource
transitRouterAttachmentDescription String
TransitRouterAttachmentDescription
transitRouterEcrAttachmentName String
TransitRouterAttachmentName
transitRouterId Changes to this property will trigger replacement. String
TransitRouterId
cenId Changes to this property will trigger replacement. string
CenId
createTime string
The creation time of the resource
ecrId Changes to this property will trigger replacement. string
EcrId
ecrOwnerId Changes to this property will trigger replacement. number
EcrOwnerId
status string
The status of the resource
tags {[key: string]: string}
The tag of the resource
transitRouterAttachmentDescription string
TransitRouterAttachmentDescription
transitRouterEcrAttachmentName string
TransitRouterAttachmentName
transitRouterId Changes to this property will trigger replacement. string
TransitRouterId
cen_id Changes to this property will trigger replacement. str
CenId
create_time str
The creation time of the resource
ecr_id Changes to this property will trigger replacement. str
EcrId
ecr_owner_id Changes to this property will trigger replacement. int
EcrOwnerId
status str
The status of the resource
tags Mapping[str, str]
The tag of the resource
transit_router_attachment_description str
TransitRouterAttachmentDescription
transit_router_ecr_attachment_name str
TransitRouterAttachmentName
transit_router_id Changes to this property will trigger replacement. str
TransitRouterId
cenId Changes to this property will trigger replacement. String
CenId
createTime String
The creation time of the resource
ecrId Changes to this property will trigger replacement. String
EcrId
ecrOwnerId Changes to this property will trigger replacement. Number
EcrOwnerId
status String
The status of the resource
tags Map<String>
The tag of the resource
transitRouterAttachmentDescription String
TransitRouterAttachmentDescription
transitRouterEcrAttachmentName String
TransitRouterAttachmentName
transitRouterId Changes to this property will trigger replacement. String
TransitRouterId

Import

CEN Transit Router Ecr Attachment can be imported using the id, e.g.

$ pulumi import alicloud:cen/transitRouterEcrAttachment:TransitRouterEcrAttachment example <id>
Copy

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
Alibaba Cloud pulumi/pulumi-alicloud
License
Apache-2.0
Notes
This Pulumi package is based on the alicloud Terraform Provider.