1. Packages
  2. Alibaba Cloud Provider
  3. API Docs
  4. cen
  5. TransitRouterEcrAttachment
Alibaba Cloud v3.66.0 published on Friday, Nov 15, 2024 by Pulumi

alicloud.cen.TransitRouterEcrAttachment

Explore with Pulumi AI

alicloud logo
Alibaba Cloud v3.66.0 published on Friday, Nov 15, 2024 by Pulumi

    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.226.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") || "4200000666";
    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),
    });
    
    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 = "4200000666"
    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)
    
    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 := "4200000666"
    		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
    	})
    }
    
    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") ?? "4200000666";
        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),
        });
    
    });
    
    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("4200000666");
            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());
    
        }
    }
    
    configuration:
      name:
        type: string
        default: terraform-example
      asn:
        type: string
        default: '4200000666'
    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: {}
    

    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 string
    The unique name of the resource.
    args TransitRouterEcrAttachmentArgs
    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 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 string
    The unique name of the resource.
    args TransitRouterEcrAttachmentArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args TransitRouterEcrAttachmentArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args 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",
    });
    
    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"),
    })
    
    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());
    
    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")
    
    const transitRouterEcrAttachmentResource = new alicloud.cen.TransitRouterEcrAttachment("transitRouterEcrAttachmentResource", {
        ecrId: "string",
        cenId: "string",
        ecrOwnerId: 0,
        tags: {
            string: "string",
        },
        transitRouterAttachmentDescription: "string",
        transitRouterEcrAttachmentName: "string",
        transitRouterId: "string",
    });
    
    type: alicloud:cen:TransitRouterEcrAttachment
    properties:
        cenId: string
        ecrId: string
        ecrOwnerId: 0
        tags:
            string: string
        transitRouterAttachmentDescription: string
        transitRouterEcrAttachmentName: string
        transitRouterId: string
    

    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 string
    EcrId
    CenId string
    CenId
    EcrOwnerId int
    EcrOwnerId
    Tags Dictionary<string, string>
    The tag of the resource
    TransitRouterAttachmentDescription string
    TransitRouterAttachmentDescription
    TransitRouterEcrAttachmentName string
    TransitRouterAttachmentName
    TransitRouterId string
    TransitRouterId
    EcrId string
    EcrId
    CenId string
    CenId
    EcrOwnerId int
    EcrOwnerId
    Tags map[string]string
    The tag of the resource
    TransitRouterAttachmentDescription string
    TransitRouterAttachmentDescription
    TransitRouterEcrAttachmentName string
    TransitRouterAttachmentName
    TransitRouterId string
    TransitRouterId
    ecrId String
    EcrId
    cenId String
    CenId
    ecrOwnerId Integer
    EcrOwnerId
    tags Map<String,String>
    The tag of the resource
    transitRouterAttachmentDescription String
    TransitRouterAttachmentDescription
    transitRouterEcrAttachmentName String
    TransitRouterAttachmentName
    transitRouterId String
    TransitRouterId
    ecrId string
    EcrId
    cenId string
    CenId
    ecrOwnerId number
    EcrOwnerId
    tags {[key: string]: string}
    The tag of the resource
    transitRouterAttachmentDescription string
    TransitRouterAttachmentDescription
    transitRouterEcrAttachmentName string
    TransitRouterAttachmentName
    transitRouterId string
    TransitRouterId
    ecr_id str
    EcrId
    cen_id str
    CenId
    ecr_owner_id 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 str
    TransitRouterId
    ecrId String
    EcrId
    cenId String
    CenId
    ecrOwnerId Number
    EcrOwnerId
    tags Map<String>
    The tag of the resource
    transitRouterAttachmentDescription String
    TransitRouterAttachmentDescription
    transitRouterEcrAttachmentName String
    TransitRouterAttachmentName
    transitRouterId 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)
    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:
    CenId string
    CenId
    CreateTime string
    The creation time of the resource
    EcrId string
    EcrId
    EcrOwnerId 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 string
    TransitRouterId
    CenId string
    CenId
    CreateTime string
    The creation time of the resource
    EcrId string
    EcrId
    EcrOwnerId 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 string
    TransitRouterId
    cenId String
    CenId
    createTime String
    The creation time of the resource
    ecrId String
    EcrId
    ecrOwnerId 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 String
    TransitRouterId
    cenId string
    CenId
    createTime string
    The creation time of the resource
    ecrId string
    EcrId
    ecrOwnerId 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 string
    TransitRouterId
    cen_id str
    CenId
    create_time str
    The creation time of the resource
    ecr_id str
    EcrId
    ecr_owner_id 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 str
    TransitRouterId
    cenId String
    CenId
    createTime String
    The creation time of the resource
    ecrId String
    EcrId
    ecrOwnerId Number
    EcrOwnerId
    status String
    The status of the resource
    tags Map<String>
    The tag of the resource
    transitRouterAttachmentDescription String
    TransitRouterAttachmentDescription
    transitRouterEcrAttachmentName String
    TransitRouterAttachmentName
    transitRouterId String
    TransitRouterId

    Import

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

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

    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.
    alicloud logo
    Alibaba Cloud v3.66.0 published on Friday, Nov 15, 2024 by Pulumi