cen

package
v3.13.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 4, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BandwidthLimit

type BandwidthLimit struct {
	pulumi.CustomResourceState

	// The bandwidth configured for the interconnected regions communication.
	BandwidthLimit pulumi.IntOutput `pulumi:"bandwidthLimit"`
	// The ID of the CEN.
	InstanceId pulumi.StringOutput `pulumi:"instanceId"`
	// List of the two regions to interconnect. Must be two different regions.
	RegionIds pulumi.StringArrayOutput `pulumi:"regionIds"`
}

Provides a CEN cross-regional interconnection bandwidth resource. To connect networks in different regions, you must set cross-region interconnection bandwidth after buying a bandwidth package. The total bandwidth set for all the interconnected regions of a bandwidth package cannot exceed the bandwidth of the bandwidth package. By default, 1 Kbps bandwidth is provided for connectivity test. To run normal business, you must buy a bandwidth package and set a proper interconnection bandwidth.

For example, a CEN instance is bound to a bandwidth package of 20 Mbps and the interconnection areas are Mainland China and North America. You can set the cross-region interconnection bandwidth between US West 1 and China East 1, China East 2, China South 1, and so on. However, the total bandwidth set for all the interconnected regions cannot exceed 20 Mbps.

For information about CEN and how to use it, see [Cross-region interconnection bandwidth](https://www.alibabacloud.com/help/doc-detail/65983.htm)

## Example Usage

Basic Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/cen"
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/providers"
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/vpc"
"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 := "tf-testAccCenBandwidthLimitConfig"
		if param := cfg.Get("name"); param != "" {
			name = param
		}
		_, err := providers.Newalicloud(ctx, "fra", &providers.alicloudArgs{
			Region: "eu-central-1",
		})
		if err != nil {
			return err
		}
		_, err = providers.Newalicloud(ctx, "sh", &providers.alicloudArgs{
			Region: "cn-shanghai",
		})
		if err != nil {
			return err
		}
		vpc1, err := vpc.NewNetwork(ctx, "vpc1", &vpc.NetworkArgs{
			VpcName:   pulumi.String(name),
			CidrBlock: pulumi.String("192.168.0.0/16"),
		}, pulumi.Provider(alicloud.Fra))
		if err != nil {
			return err
		}
		vpc2, err := vpc.NewNetwork(ctx, "vpc2", &vpc.NetworkArgs{
			CidrBlock: pulumi.String("172.16.0.0/12"),
		}, pulumi.Provider(alicloud.Sh))
		if err != nil {
			return err
		}
		cen, err := cen.NewInstance(ctx, "cen", &cen.InstanceArgs{
			Description: pulumi.String("tf-testAccCenBandwidthLimitConfigDescription"),
		})
		if err != nil {
			return err
		}
		bwp, err := cen.NewBandwidthPackage(ctx, "bwp", &cen.BandwidthPackageArgs{
			Bandwidth: pulumi.Int(5),
			GeographicRegionIds: pulumi.StringArray{
				pulumi.String("Europe"),
				pulumi.String("China"),
			},
		})
		if err != nil {
			return err
		}
		bwpAttach, err := cen.NewBandwidthPackageAttachment(ctx, "bwpAttach", &cen.BandwidthPackageAttachmentArgs{
			InstanceId:         cen.ID(),
			BandwidthPackageId: bwp.ID(),
		})
		if err != nil {
			return err
		}
		vpcAttach1, err := cen.NewInstanceAttachment(ctx, "vpcAttach1", &cen.InstanceAttachmentArgs{
			InstanceId:            cen.ID(),
			ChildInstanceId:       vpc1.ID(),
			ChildInstanceType:     pulumi.String("VPC"),
			ChildInstanceRegionId: pulumi.String("eu-central-1"),
		})
		if err != nil {
			return err
		}
		vpcAttach2, err := cen.NewInstanceAttachment(ctx, "vpcAttach2", &cen.InstanceAttachmentArgs{
			InstanceId:            cen.ID(),
			ChildInstanceId:       vpc2.ID(),
			ChildInstanceType:     pulumi.String("VPC"),
			ChildInstanceRegionId: pulumi.String("cn-shanghai"),
		})
		if err != nil {
			return err
		}
		_, err = cen.NewBandwidthLimit(ctx, "foo", &cen.BandwidthLimitArgs{
			InstanceId: cen.ID(),
			RegionIds: pulumi.StringArray{
				pulumi.String("eu-central-1"),
				pulumi.String("cn-shanghai"),
			},
			BandwidthLimit: pulumi.Int(4),
		}, pulumi.DependsOn([]pulumi.Resource{
			bwpAttach,
			vpcAttach1,
			vpcAttach2,
		}))
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

CEN bandwidth limit can be imported using the id, e.g.

```sh

$ pulumi import alicloud:cen/bandwidthLimit:BandwidthLimit example cen-abc123456:cn-beijing:eu-west-1

```

func GetBandwidthLimit

func GetBandwidthLimit(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *BandwidthLimitState, opts ...pulumi.ResourceOption) (*BandwidthLimit, error)

GetBandwidthLimit gets an existing BandwidthLimit resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewBandwidthLimit

func NewBandwidthLimit(ctx *pulumi.Context,
	name string, args *BandwidthLimitArgs, opts ...pulumi.ResourceOption) (*BandwidthLimit, error)

NewBandwidthLimit registers a new resource with the given unique name, arguments, and options.

func (*BandwidthLimit) ElementType

func (*BandwidthLimit) ElementType() reflect.Type

func (*BandwidthLimit) ToBandwidthLimitOutput

func (i *BandwidthLimit) ToBandwidthLimitOutput() BandwidthLimitOutput

func (*BandwidthLimit) ToBandwidthLimitOutputWithContext

func (i *BandwidthLimit) ToBandwidthLimitOutputWithContext(ctx context.Context) BandwidthLimitOutput

func (*BandwidthLimit) ToBandwidthLimitPtrOutput

func (i *BandwidthLimit) ToBandwidthLimitPtrOutput() BandwidthLimitPtrOutput

func (*BandwidthLimit) ToBandwidthLimitPtrOutputWithContext

func (i *BandwidthLimit) ToBandwidthLimitPtrOutputWithContext(ctx context.Context) BandwidthLimitPtrOutput

type BandwidthLimitArgs

type BandwidthLimitArgs struct {
	// The bandwidth configured for the interconnected regions communication.
	BandwidthLimit pulumi.IntInput
	// The ID of the CEN.
	InstanceId pulumi.StringInput
	// List of the two regions to interconnect. Must be two different regions.
	RegionIds pulumi.StringArrayInput
}

The set of arguments for constructing a BandwidthLimit resource.

func (BandwidthLimitArgs) ElementType

func (BandwidthLimitArgs) ElementType() reflect.Type

type BandwidthLimitArray

type BandwidthLimitArray []BandwidthLimitInput

func (BandwidthLimitArray) ElementType

func (BandwidthLimitArray) ElementType() reflect.Type

func (BandwidthLimitArray) ToBandwidthLimitArrayOutput

func (i BandwidthLimitArray) ToBandwidthLimitArrayOutput() BandwidthLimitArrayOutput

func (BandwidthLimitArray) ToBandwidthLimitArrayOutputWithContext

func (i BandwidthLimitArray) ToBandwidthLimitArrayOutputWithContext(ctx context.Context) BandwidthLimitArrayOutput

type BandwidthLimitArrayInput

type BandwidthLimitArrayInput interface {
	pulumi.Input

	ToBandwidthLimitArrayOutput() BandwidthLimitArrayOutput
	ToBandwidthLimitArrayOutputWithContext(context.Context) BandwidthLimitArrayOutput
}

BandwidthLimitArrayInput is an input type that accepts BandwidthLimitArray and BandwidthLimitArrayOutput values. You can construct a concrete instance of `BandwidthLimitArrayInput` via:

BandwidthLimitArray{ BandwidthLimitArgs{...} }

type BandwidthLimitArrayOutput

type BandwidthLimitArrayOutput struct{ *pulumi.OutputState }

func (BandwidthLimitArrayOutput) ElementType

func (BandwidthLimitArrayOutput) ElementType() reflect.Type

func (BandwidthLimitArrayOutput) Index

func (BandwidthLimitArrayOutput) ToBandwidthLimitArrayOutput

func (o BandwidthLimitArrayOutput) ToBandwidthLimitArrayOutput() BandwidthLimitArrayOutput

func (BandwidthLimitArrayOutput) ToBandwidthLimitArrayOutputWithContext

func (o BandwidthLimitArrayOutput) ToBandwidthLimitArrayOutputWithContext(ctx context.Context) BandwidthLimitArrayOutput

type BandwidthLimitInput

type BandwidthLimitInput interface {
	pulumi.Input

	ToBandwidthLimitOutput() BandwidthLimitOutput
	ToBandwidthLimitOutputWithContext(ctx context.Context) BandwidthLimitOutput
}

type BandwidthLimitMap

type BandwidthLimitMap map[string]BandwidthLimitInput

func (BandwidthLimitMap) ElementType

func (BandwidthLimitMap) ElementType() reflect.Type

func (BandwidthLimitMap) ToBandwidthLimitMapOutput

func (i BandwidthLimitMap) ToBandwidthLimitMapOutput() BandwidthLimitMapOutput

func (BandwidthLimitMap) ToBandwidthLimitMapOutputWithContext

func (i BandwidthLimitMap) ToBandwidthLimitMapOutputWithContext(ctx context.Context) BandwidthLimitMapOutput

type BandwidthLimitMapInput

type BandwidthLimitMapInput interface {
	pulumi.Input

	ToBandwidthLimitMapOutput() BandwidthLimitMapOutput
	ToBandwidthLimitMapOutputWithContext(context.Context) BandwidthLimitMapOutput
}

BandwidthLimitMapInput is an input type that accepts BandwidthLimitMap and BandwidthLimitMapOutput values. You can construct a concrete instance of `BandwidthLimitMapInput` via:

BandwidthLimitMap{ "key": BandwidthLimitArgs{...} }

type BandwidthLimitMapOutput

type BandwidthLimitMapOutput struct{ *pulumi.OutputState }

func (BandwidthLimitMapOutput) ElementType

func (BandwidthLimitMapOutput) ElementType() reflect.Type

func (BandwidthLimitMapOutput) MapIndex

func (BandwidthLimitMapOutput) ToBandwidthLimitMapOutput

func (o BandwidthLimitMapOutput) ToBandwidthLimitMapOutput() BandwidthLimitMapOutput

func (BandwidthLimitMapOutput) ToBandwidthLimitMapOutputWithContext

func (o BandwidthLimitMapOutput) ToBandwidthLimitMapOutputWithContext(ctx context.Context) BandwidthLimitMapOutput

type BandwidthLimitOutput

type BandwidthLimitOutput struct{ *pulumi.OutputState }

func (BandwidthLimitOutput) ElementType

func (BandwidthLimitOutput) ElementType() reflect.Type

func (BandwidthLimitOutput) ToBandwidthLimitOutput

func (o BandwidthLimitOutput) ToBandwidthLimitOutput() BandwidthLimitOutput

func (BandwidthLimitOutput) ToBandwidthLimitOutputWithContext

func (o BandwidthLimitOutput) ToBandwidthLimitOutputWithContext(ctx context.Context) BandwidthLimitOutput

func (BandwidthLimitOutput) ToBandwidthLimitPtrOutput

func (o BandwidthLimitOutput) ToBandwidthLimitPtrOutput() BandwidthLimitPtrOutput

func (BandwidthLimitOutput) ToBandwidthLimitPtrOutputWithContext

func (o BandwidthLimitOutput) ToBandwidthLimitPtrOutputWithContext(ctx context.Context) BandwidthLimitPtrOutput

type BandwidthLimitPtrInput

type BandwidthLimitPtrInput interface {
	pulumi.Input

	ToBandwidthLimitPtrOutput() BandwidthLimitPtrOutput
	ToBandwidthLimitPtrOutputWithContext(ctx context.Context) BandwidthLimitPtrOutput
}

type BandwidthLimitPtrOutput

type BandwidthLimitPtrOutput struct{ *pulumi.OutputState }

func (BandwidthLimitPtrOutput) Elem added in v3.9.0

func (BandwidthLimitPtrOutput) ElementType

func (BandwidthLimitPtrOutput) ElementType() reflect.Type

func (BandwidthLimitPtrOutput) ToBandwidthLimitPtrOutput

func (o BandwidthLimitPtrOutput) ToBandwidthLimitPtrOutput() BandwidthLimitPtrOutput

func (BandwidthLimitPtrOutput) ToBandwidthLimitPtrOutputWithContext

func (o BandwidthLimitPtrOutput) ToBandwidthLimitPtrOutputWithContext(ctx context.Context) BandwidthLimitPtrOutput

type BandwidthLimitState

type BandwidthLimitState struct {
	// The bandwidth configured for the interconnected regions communication.
	BandwidthLimit pulumi.IntPtrInput
	// The ID of the CEN.
	InstanceId pulumi.StringPtrInput
	// List of the two regions to interconnect. Must be two different regions.
	RegionIds pulumi.StringArrayInput
}

func (BandwidthLimitState) ElementType

func (BandwidthLimitState) ElementType() reflect.Type

type BandwidthPackage

type BandwidthPackage struct {
	pulumi.CustomResourceState

	// The bandwidth in Mbps of the bandwidth package. Cannot be less than 2Mbps.
	Bandwidth pulumi.IntOutput `pulumi:"bandwidth"`
	// The name of the bandwidth package. Defaults to null.
	CenBandwidthPackageName pulumi.StringOutput `pulumi:"cenBandwidthPackageName"`
	// Field `chargeType` has been deprecated from version 1.97.0. Use `paymentType` and instead.
	//
	// Deprecated: Field 'charge_type' has been deprecated from version 1.98.0. Use 'payment_type' and instead.
	ChargeType pulumi.StringOutput `pulumi:"chargeType"`
	// The description of the bandwidth package. Default to null.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The time of the bandwidth package to expire.
	ExpiredTime pulumi.StringOutput `pulumi:"expiredTime"`
	// The area A to which the network instance belongs. Valid values: `China` | `North-America` | `Asia-Pacific` | `Europe` | `Australia`.
	GeographicRegionAId pulumi.StringOutput `pulumi:"geographicRegionAId"`
	// The area B to which the network instance belongs. Valid values: `China` | `North-America` | `Asia-Pacific` | `Europe` | `Australia`.
	GeographicRegionBId pulumi.StringOutput `pulumi:"geographicRegionBId"`
	// Field `geographicRegionIds` has been deprecated from version 1.97.0. Use `geographicRegionAId` and `geographicRegionBId` instead.
	//
	// Deprecated: Field 'geographic_region_ids' has been deprecated from version 1.98.0. Use 'geographic_region_a_id' and 'geographic_region_b_id' instead.
	GeographicRegionIds pulumi.StringArrayOutput `pulumi:"geographicRegionIds"`
	// Field `name` has been deprecated from version 1.97.0. Use `cenBandwidthPackageName` and instead.
	//
	// Deprecated: Field 'name' has been deprecated from version 1.98.0. Use 'cen_bandwidth_package_name' and instead.
	Name pulumi.StringOutput `pulumi:"name"`
	// The billing method. Valid value: `PostPaid` | `PrePaid`. Default to `PostPaid`. If set to PrePaid, the bandwidth package can't be deleted before expired time.
	PaymentType pulumi.StringOutput `pulumi:"paymentType"`
	Period      pulumi.IntPtrOutput `pulumi:"period"`
	// The association status of the bandwidth package.
	Status pulumi.StringOutput `pulumi:"status"`
}

Provides a CEN bandwidth package resource. The CEN bandwidth package is an abstracted object that includes an interconnection bandwidth and interconnection areas. To buy a bandwidth package, you must specify the areas to connect. An area consists of one or more Alibaba Cloud regions. The areas in CEN include Mainland China, Asia Pacific, North America, and Europe.

For information about CEN and how to use it, see [Manage bandwidth packages](https://www.alibabacloud.com/help/doc-detail/65982.htm).

## Example Usage

Basic Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/cen"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := cen.NewBandwidthPackage(ctx, "example", &cen.BandwidthPackageArgs{
			Bandwidth:               pulumi.Int(5),
			CenBandwidthPackageName: pulumi.String("tf-testAccCenBandwidthPackageConfig"),
			GeographicRegionAId:     pulumi.String("China"),
			GeographicRegionBId:     pulumi.String("China"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

CEN bandwidth package can be imported using the id, e.g.

```sh

$ pulumi import alicloud:cen/bandwidthPackage:BandwidthPackage example cenbwp-abc123456

```

func GetBandwidthPackage

func GetBandwidthPackage(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *BandwidthPackageState, opts ...pulumi.ResourceOption) (*BandwidthPackage, error)

GetBandwidthPackage gets an existing BandwidthPackage resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewBandwidthPackage

func NewBandwidthPackage(ctx *pulumi.Context,
	name string, args *BandwidthPackageArgs, opts ...pulumi.ResourceOption) (*BandwidthPackage, error)

NewBandwidthPackage registers a new resource with the given unique name, arguments, and options.

func (*BandwidthPackage) ElementType

func (*BandwidthPackage) ElementType() reflect.Type

func (*BandwidthPackage) ToBandwidthPackageOutput

func (i *BandwidthPackage) ToBandwidthPackageOutput() BandwidthPackageOutput

func (*BandwidthPackage) ToBandwidthPackageOutputWithContext

func (i *BandwidthPackage) ToBandwidthPackageOutputWithContext(ctx context.Context) BandwidthPackageOutput

func (*BandwidthPackage) ToBandwidthPackagePtrOutput

func (i *BandwidthPackage) ToBandwidthPackagePtrOutput() BandwidthPackagePtrOutput

func (*BandwidthPackage) ToBandwidthPackagePtrOutputWithContext

func (i *BandwidthPackage) ToBandwidthPackagePtrOutputWithContext(ctx context.Context) BandwidthPackagePtrOutput

type BandwidthPackageArgs

type BandwidthPackageArgs struct {
	// The bandwidth in Mbps of the bandwidth package. Cannot be less than 2Mbps.
	Bandwidth pulumi.IntInput
	// The name of the bandwidth package. Defaults to null.
	CenBandwidthPackageName pulumi.StringPtrInput
	// Field `chargeType` has been deprecated from version 1.97.0. Use `paymentType` and instead.
	//
	// Deprecated: Field 'charge_type' has been deprecated from version 1.98.0. Use 'payment_type' and instead.
	ChargeType pulumi.StringPtrInput
	// The description of the bandwidth package. Default to null.
	Description pulumi.StringPtrInput
	// The area A to which the network instance belongs. Valid values: `China` | `North-America` | `Asia-Pacific` | `Europe` | `Australia`.
	GeographicRegionAId pulumi.StringPtrInput
	// The area B to which the network instance belongs. Valid values: `China` | `North-America` | `Asia-Pacific` | `Europe` | `Australia`.
	GeographicRegionBId pulumi.StringPtrInput
	// Field `geographicRegionIds` has been deprecated from version 1.97.0. Use `geographicRegionAId` and `geographicRegionBId` instead.
	//
	// Deprecated: Field 'geographic_region_ids' has been deprecated from version 1.98.0. Use 'geographic_region_a_id' and 'geographic_region_b_id' instead.
	GeographicRegionIds pulumi.StringArrayInput
	// Field `name` has been deprecated from version 1.97.0. Use `cenBandwidthPackageName` and instead.
	//
	// Deprecated: Field 'name' has been deprecated from version 1.98.0. Use 'cen_bandwidth_package_name' and instead.
	Name pulumi.StringPtrInput
	// The billing method. Valid value: `PostPaid` | `PrePaid`. Default to `PostPaid`. If set to PrePaid, the bandwidth package can't be deleted before expired time.
	PaymentType pulumi.StringPtrInput
	Period      pulumi.IntPtrInput
}

The set of arguments for constructing a BandwidthPackage resource.

func (BandwidthPackageArgs) ElementType

func (BandwidthPackageArgs) ElementType() reflect.Type

type BandwidthPackageArray

type BandwidthPackageArray []BandwidthPackageInput

func (BandwidthPackageArray) ElementType

func (BandwidthPackageArray) ElementType() reflect.Type

func (BandwidthPackageArray) ToBandwidthPackageArrayOutput

func (i BandwidthPackageArray) ToBandwidthPackageArrayOutput() BandwidthPackageArrayOutput

func (BandwidthPackageArray) ToBandwidthPackageArrayOutputWithContext

func (i BandwidthPackageArray) ToBandwidthPackageArrayOutputWithContext(ctx context.Context) BandwidthPackageArrayOutput

type BandwidthPackageArrayInput

type BandwidthPackageArrayInput interface {
	pulumi.Input

	ToBandwidthPackageArrayOutput() BandwidthPackageArrayOutput
	ToBandwidthPackageArrayOutputWithContext(context.Context) BandwidthPackageArrayOutput
}

BandwidthPackageArrayInput is an input type that accepts BandwidthPackageArray and BandwidthPackageArrayOutput values. You can construct a concrete instance of `BandwidthPackageArrayInput` via:

BandwidthPackageArray{ BandwidthPackageArgs{...} }

type BandwidthPackageArrayOutput

type BandwidthPackageArrayOutput struct{ *pulumi.OutputState }

func (BandwidthPackageArrayOutput) ElementType

func (BandwidthPackageArrayOutput) Index

func (BandwidthPackageArrayOutput) ToBandwidthPackageArrayOutput

func (o BandwidthPackageArrayOutput) ToBandwidthPackageArrayOutput() BandwidthPackageArrayOutput

func (BandwidthPackageArrayOutput) ToBandwidthPackageArrayOutputWithContext

func (o BandwidthPackageArrayOutput) ToBandwidthPackageArrayOutputWithContext(ctx context.Context) BandwidthPackageArrayOutput

type BandwidthPackageAttachment

type BandwidthPackageAttachment struct {
	pulumi.CustomResourceState

	// The ID of the bandwidth package.
	BandwidthPackageId pulumi.StringOutput `pulumi:"bandwidthPackageId"`
	// The ID of the CEN.
	InstanceId pulumi.StringOutput `pulumi:"instanceId"`
}

Provides a CEN bandwidth package attachment resource. The resource can be used to bind a bandwidth package to a specified CEN instance.

## Example Usage

Basic Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/cen"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		cen, err := cen.NewInstance(ctx, "cen", &cen.InstanceArgs{
			Description: pulumi.String("tf-testAccCenBandwidthPackageAttachmentDescription"),
		})
		if err != nil {
			return err
		}
		bwp, err := cen.NewBandwidthPackage(ctx, "bwp", &cen.BandwidthPackageArgs{
			Bandwidth: pulumi.Int(20),
			GeographicRegionIds: pulumi.StringArray{
				pulumi.String("China"),
				pulumi.String("Asia-Pacific"),
			},
		})
		if err != nil {
			return err
		}
		_, err = cen.NewBandwidthPackageAttachment(ctx, "foo", &cen.BandwidthPackageAttachmentArgs{
			InstanceId:         cen.ID(),
			BandwidthPackageId: bwp.ID(),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

CEN bandwidth package attachment resource can be imported using the id, e.g.

```sh

$ pulumi import alicloud:cen/bandwidthPackageAttachment:BandwidthPackageAttachment example bwp-abc123456

```

func GetBandwidthPackageAttachment

func GetBandwidthPackageAttachment(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *BandwidthPackageAttachmentState, opts ...pulumi.ResourceOption) (*BandwidthPackageAttachment, error)

GetBandwidthPackageAttachment gets an existing BandwidthPackageAttachment resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewBandwidthPackageAttachment

func NewBandwidthPackageAttachment(ctx *pulumi.Context,
	name string, args *BandwidthPackageAttachmentArgs, opts ...pulumi.ResourceOption) (*BandwidthPackageAttachment, error)

NewBandwidthPackageAttachment registers a new resource with the given unique name, arguments, and options.

func (*BandwidthPackageAttachment) ElementType

func (*BandwidthPackageAttachment) ElementType() reflect.Type

func (*BandwidthPackageAttachment) ToBandwidthPackageAttachmentOutput

func (i *BandwidthPackageAttachment) ToBandwidthPackageAttachmentOutput() BandwidthPackageAttachmentOutput

func (*BandwidthPackageAttachment) ToBandwidthPackageAttachmentOutputWithContext

func (i *BandwidthPackageAttachment) ToBandwidthPackageAttachmentOutputWithContext(ctx context.Context) BandwidthPackageAttachmentOutput

func (*BandwidthPackageAttachment) ToBandwidthPackageAttachmentPtrOutput

func (i *BandwidthPackageAttachment) ToBandwidthPackageAttachmentPtrOutput() BandwidthPackageAttachmentPtrOutput

func (*BandwidthPackageAttachment) ToBandwidthPackageAttachmentPtrOutputWithContext

func (i *BandwidthPackageAttachment) ToBandwidthPackageAttachmentPtrOutputWithContext(ctx context.Context) BandwidthPackageAttachmentPtrOutput

type BandwidthPackageAttachmentArgs

type BandwidthPackageAttachmentArgs struct {
	// The ID of the bandwidth package.
	BandwidthPackageId pulumi.StringInput
	// The ID of the CEN.
	InstanceId pulumi.StringInput
}

The set of arguments for constructing a BandwidthPackageAttachment resource.

func (BandwidthPackageAttachmentArgs) ElementType

type BandwidthPackageAttachmentArray

type BandwidthPackageAttachmentArray []BandwidthPackageAttachmentInput

func (BandwidthPackageAttachmentArray) ElementType

func (BandwidthPackageAttachmentArray) ToBandwidthPackageAttachmentArrayOutput

func (i BandwidthPackageAttachmentArray) ToBandwidthPackageAttachmentArrayOutput() BandwidthPackageAttachmentArrayOutput

func (BandwidthPackageAttachmentArray) ToBandwidthPackageAttachmentArrayOutputWithContext

func (i BandwidthPackageAttachmentArray) ToBandwidthPackageAttachmentArrayOutputWithContext(ctx context.Context) BandwidthPackageAttachmentArrayOutput

type BandwidthPackageAttachmentArrayInput

type BandwidthPackageAttachmentArrayInput interface {
	pulumi.Input

	ToBandwidthPackageAttachmentArrayOutput() BandwidthPackageAttachmentArrayOutput
	ToBandwidthPackageAttachmentArrayOutputWithContext(context.Context) BandwidthPackageAttachmentArrayOutput
}

BandwidthPackageAttachmentArrayInput is an input type that accepts BandwidthPackageAttachmentArray and BandwidthPackageAttachmentArrayOutput values. You can construct a concrete instance of `BandwidthPackageAttachmentArrayInput` via:

BandwidthPackageAttachmentArray{ BandwidthPackageAttachmentArgs{...} }

type BandwidthPackageAttachmentArrayOutput

type BandwidthPackageAttachmentArrayOutput struct{ *pulumi.OutputState }

func (BandwidthPackageAttachmentArrayOutput) ElementType

func (BandwidthPackageAttachmentArrayOutput) Index

func (BandwidthPackageAttachmentArrayOutput) ToBandwidthPackageAttachmentArrayOutput

func (o BandwidthPackageAttachmentArrayOutput) ToBandwidthPackageAttachmentArrayOutput() BandwidthPackageAttachmentArrayOutput

func (BandwidthPackageAttachmentArrayOutput) ToBandwidthPackageAttachmentArrayOutputWithContext

func (o BandwidthPackageAttachmentArrayOutput) ToBandwidthPackageAttachmentArrayOutputWithContext(ctx context.Context) BandwidthPackageAttachmentArrayOutput

type BandwidthPackageAttachmentInput

type BandwidthPackageAttachmentInput interface {
	pulumi.Input

	ToBandwidthPackageAttachmentOutput() BandwidthPackageAttachmentOutput
	ToBandwidthPackageAttachmentOutputWithContext(ctx context.Context) BandwidthPackageAttachmentOutput
}

type BandwidthPackageAttachmentMap

type BandwidthPackageAttachmentMap map[string]BandwidthPackageAttachmentInput

func (BandwidthPackageAttachmentMap) ElementType

func (BandwidthPackageAttachmentMap) ToBandwidthPackageAttachmentMapOutput

func (i BandwidthPackageAttachmentMap) ToBandwidthPackageAttachmentMapOutput() BandwidthPackageAttachmentMapOutput

func (BandwidthPackageAttachmentMap) ToBandwidthPackageAttachmentMapOutputWithContext

func (i BandwidthPackageAttachmentMap) ToBandwidthPackageAttachmentMapOutputWithContext(ctx context.Context) BandwidthPackageAttachmentMapOutput

type BandwidthPackageAttachmentMapInput

type BandwidthPackageAttachmentMapInput interface {
	pulumi.Input

	ToBandwidthPackageAttachmentMapOutput() BandwidthPackageAttachmentMapOutput
	ToBandwidthPackageAttachmentMapOutputWithContext(context.Context) BandwidthPackageAttachmentMapOutput
}

BandwidthPackageAttachmentMapInput is an input type that accepts BandwidthPackageAttachmentMap and BandwidthPackageAttachmentMapOutput values. You can construct a concrete instance of `BandwidthPackageAttachmentMapInput` via:

BandwidthPackageAttachmentMap{ "key": BandwidthPackageAttachmentArgs{...} }

type BandwidthPackageAttachmentMapOutput

type BandwidthPackageAttachmentMapOutput struct{ *pulumi.OutputState }

func (BandwidthPackageAttachmentMapOutput) ElementType

func (BandwidthPackageAttachmentMapOutput) MapIndex

func (BandwidthPackageAttachmentMapOutput) ToBandwidthPackageAttachmentMapOutput

func (o BandwidthPackageAttachmentMapOutput) ToBandwidthPackageAttachmentMapOutput() BandwidthPackageAttachmentMapOutput

func (BandwidthPackageAttachmentMapOutput) ToBandwidthPackageAttachmentMapOutputWithContext

func (o BandwidthPackageAttachmentMapOutput) ToBandwidthPackageAttachmentMapOutputWithContext(ctx context.Context) BandwidthPackageAttachmentMapOutput

type BandwidthPackageAttachmentOutput

type BandwidthPackageAttachmentOutput struct{ *pulumi.OutputState }

func (BandwidthPackageAttachmentOutput) ElementType

func (BandwidthPackageAttachmentOutput) ToBandwidthPackageAttachmentOutput

func (o BandwidthPackageAttachmentOutput) ToBandwidthPackageAttachmentOutput() BandwidthPackageAttachmentOutput

func (BandwidthPackageAttachmentOutput) ToBandwidthPackageAttachmentOutputWithContext

func (o BandwidthPackageAttachmentOutput) ToBandwidthPackageAttachmentOutputWithContext(ctx context.Context) BandwidthPackageAttachmentOutput

func (BandwidthPackageAttachmentOutput) ToBandwidthPackageAttachmentPtrOutput

func (o BandwidthPackageAttachmentOutput) ToBandwidthPackageAttachmentPtrOutput() BandwidthPackageAttachmentPtrOutput

func (BandwidthPackageAttachmentOutput) ToBandwidthPackageAttachmentPtrOutputWithContext

func (o BandwidthPackageAttachmentOutput) ToBandwidthPackageAttachmentPtrOutputWithContext(ctx context.Context) BandwidthPackageAttachmentPtrOutput

type BandwidthPackageAttachmentPtrInput

type BandwidthPackageAttachmentPtrInput interface {
	pulumi.Input

	ToBandwidthPackageAttachmentPtrOutput() BandwidthPackageAttachmentPtrOutput
	ToBandwidthPackageAttachmentPtrOutputWithContext(ctx context.Context) BandwidthPackageAttachmentPtrOutput
}

type BandwidthPackageAttachmentPtrOutput

type BandwidthPackageAttachmentPtrOutput struct{ *pulumi.OutputState }

func (BandwidthPackageAttachmentPtrOutput) Elem added in v3.9.0

func (BandwidthPackageAttachmentPtrOutput) ElementType

func (BandwidthPackageAttachmentPtrOutput) ToBandwidthPackageAttachmentPtrOutput

func (o BandwidthPackageAttachmentPtrOutput) ToBandwidthPackageAttachmentPtrOutput() BandwidthPackageAttachmentPtrOutput

func (BandwidthPackageAttachmentPtrOutput) ToBandwidthPackageAttachmentPtrOutputWithContext

func (o BandwidthPackageAttachmentPtrOutput) ToBandwidthPackageAttachmentPtrOutputWithContext(ctx context.Context) BandwidthPackageAttachmentPtrOutput

type BandwidthPackageAttachmentState

type BandwidthPackageAttachmentState struct {
	// The ID of the bandwidth package.
	BandwidthPackageId pulumi.StringPtrInput
	// The ID of the CEN.
	InstanceId pulumi.StringPtrInput
}

func (BandwidthPackageAttachmentState) ElementType

type BandwidthPackageInput

type BandwidthPackageInput interface {
	pulumi.Input

	ToBandwidthPackageOutput() BandwidthPackageOutput
	ToBandwidthPackageOutputWithContext(ctx context.Context) BandwidthPackageOutput
}

type BandwidthPackageMap

type BandwidthPackageMap map[string]BandwidthPackageInput

func (BandwidthPackageMap) ElementType

func (BandwidthPackageMap) ElementType() reflect.Type

func (BandwidthPackageMap) ToBandwidthPackageMapOutput

func (i BandwidthPackageMap) ToBandwidthPackageMapOutput() BandwidthPackageMapOutput

func (BandwidthPackageMap) ToBandwidthPackageMapOutputWithContext

func (i BandwidthPackageMap) ToBandwidthPackageMapOutputWithContext(ctx context.Context) BandwidthPackageMapOutput

type BandwidthPackageMapInput

type BandwidthPackageMapInput interface {
	pulumi.Input

	ToBandwidthPackageMapOutput() BandwidthPackageMapOutput
	ToBandwidthPackageMapOutputWithContext(context.Context) BandwidthPackageMapOutput
}

BandwidthPackageMapInput is an input type that accepts BandwidthPackageMap and BandwidthPackageMapOutput values. You can construct a concrete instance of `BandwidthPackageMapInput` via:

BandwidthPackageMap{ "key": BandwidthPackageArgs{...} }

type BandwidthPackageMapOutput

type BandwidthPackageMapOutput struct{ *pulumi.OutputState }

func (BandwidthPackageMapOutput) ElementType

func (BandwidthPackageMapOutput) ElementType() reflect.Type

func (BandwidthPackageMapOutput) MapIndex

func (BandwidthPackageMapOutput) ToBandwidthPackageMapOutput

func (o BandwidthPackageMapOutput) ToBandwidthPackageMapOutput() BandwidthPackageMapOutput

func (BandwidthPackageMapOutput) ToBandwidthPackageMapOutputWithContext

func (o BandwidthPackageMapOutput) ToBandwidthPackageMapOutputWithContext(ctx context.Context) BandwidthPackageMapOutput

type BandwidthPackageOutput

type BandwidthPackageOutput struct{ *pulumi.OutputState }

func (BandwidthPackageOutput) ElementType

func (BandwidthPackageOutput) ElementType() reflect.Type

func (BandwidthPackageOutput) ToBandwidthPackageOutput

func (o BandwidthPackageOutput) ToBandwidthPackageOutput() BandwidthPackageOutput

func (BandwidthPackageOutput) ToBandwidthPackageOutputWithContext

func (o BandwidthPackageOutput) ToBandwidthPackageOutputWithContext(ctx context.Context) BandwidthPackageOutput

func (BandwidthPackageOutput) ToBandwidthPackagePtrOutput

func (o BandwidthPackageOutput) ToBandwidthPackagePtrOutput() BandwidthPackagePtrOutput

func (BandwidthPackageOutput) ToBandwidthPackagePtrOutputWithContext

func (o BandwidthPackageOutput) ToBandwidthPackagePtrOutputWithContext(ctx context.Context) BandwidthPackagePtrOutput

type BandwidthPackagePtrInput

type BandwidthPackagePtrInput interface {
	pulumi.Input

	ToBandwidthPackagePtrOutput() BandwidthPackagePtrOutput
	ToBandwidthPackagePtrOutputWithContext(ctx context.Context) BandwidthPackagePtrOutput
}

type BandwidthPackagePtrOutput

type BandwidthPackagePtrOutput struct{ *pulumi.OutputState }

func (BandwidthPackagePtrOutput) Elem added in v3.9.0

func (BandwidthPackagePtrOutput) ElementType

func (BandwidthPackagePtrOutput) ElementType() reflect.Type

func (BandwidthPackagePtrOutput) ToBandwidthPackagePtrOutput

func (o BandwidthPackagePtrOutput) ToBandwidthPackagePtrOutput() BandwidthPackagePtrOutput

func (BandwidthPackagePtrOutput) ToBandwidthPackagePtrOutputWithContext

func (o BandwidthPackagePtrOutput) ToBandwidthPackagePtrOutputWithContext(ctx context.Context) BandwidthPackagePtrOutput

type BandwidthPackageState

type BandwidthPackageState struct {
	// The bandwidth in Mbps of the bandwidth package. Cannot be less than 2Mbps.
	Bandwidth pulumi.IntPtrInput
	// The name of the bandwidth package. Defaults to null.
	CenBandwidthPackageName pulumi.StringPtrInput
	// Field `chargeType` has been deprecated from version 1.97.0. Use `paymentType` and instead.
	//
	// Deprecated: Field 'charge_type' has been deprecated from version 1.98.0. Use 'payment_type' and instead.
	ChargeType pulumi.StringPtrInput
	// The description of the bandwidth package. Default to null.
	Description pulumi.StringPtrInput
	// The time of the bandwidth package to expire.
	ExpiredTime pulumi.StringPtrInput
	// The area A to which the network instance belongs. Valid values: `China` | `North-America` | `Asia-Pacific` | `Europe` | `Australia`.
	GeographicRegionAId pulumi.StringPtrInput
	// The area B to which the network instance belongs. Valid values: `China` | `North-America` | `Asia-Pacific` | `Europe` | `Australia`.
	GeographicRegionBId pulumi.StringPtrInput
	// Field `geographicRegionIds` has been deprecated from version 1.97.0. Use `geographicRegionAId` and `geographicRegionBId` instead.
	//
	// Deprecated: Field 'geographic_region_ids' has been deprecated from version 1.98.0. Use 'geographic_region_a_id' and 'geographic_region_b_id' instead.
	GeographicRegionIds pulumi.StringArrayInput
	// Field `name` has been deprecated from version 1.97.0. Use `cenBandwidthPackageName` and instead.
	//
	// Deprecated: Field 'name' has been deprecated from version 1.98.0. Use 'cen_bandwidth_package_name' and instead.
	Name pulumi.StringPtrInput
	// The billing method. Valid value: `PostPaid` | `PrePaid`. Default to `PostPaid`. If set to PrePaid, the bandwidth package can't be deleted before expired time.
	PaymentType pulumi.StringPtrInput
	Period      pulumi.IntPtrInput
	// The association status of the bandwidth package.
	Status pulumi.StringPtrInput
}

func (BandwidthPackageState) ElementType

func (BandwidthPackageState) ElementType() reflect.Type

type FlowLog

type FlowLog struct {
	pulumi.CustomResourceState

	// The ID of the CEN Instance.
	CenId pulumi.StringOutput `pulumi:"cenId"`
	// The description of flowlog.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The name of flowlog.
	FlowLogName pulumi.StringPtrOutput `pulumi:"flowLogName"`
	// The name of the log store which is in the  `projectName` SLS project.
	LogStoreName pulumi.StringOutput `pulumi:"logStoreName"`
	// The name of the SLS project.
	ProjectName pulumi.StringOutput `pulumi:"projectName"`
	// The status of flowlog. Valid values: ["Active", "Inactive"]. Default to "Active".
	Status pulumi.StringPtrOutput `pulumi:"status"`
}

This resource used to create a flow log function in Cloud Enterprise Network (CEN). By using the flow log function, you can capture the traffic data of the network instances in different regions of a CEN. You can also use the data aggregated in flow logs to analyze cross-region traffic flows, minimize traffic costs, and troubleshoot network faults.

For information about CEN flow log and how to use it, see [Manage CEN flowlog](https://www.alibabacloud.com/help/doc-detail/123006.htm).

> **NOTE:** Available in 1.73.0+

## Example Usage

Basic Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/cen"
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/log"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		defaultInstance, err := cen.NewInstance(ctx, "defaultInstance", nil)
		if err != nil {
			return err
		}
		defaultProject, err := log.NewProject(ctx, "defaultProject", &log.ProjectArgs{
			Description: pulumi.String("create by terraform"),
		})
		if err != nil {
			return err
		}
		defaultStore, err := log.NewStore(ctx, "defaultStore", &log.StoreArgs{
			Project:            defaultProject.Name,
			RetentionPeriod:    pulumi.Int(3650),
			ShardCount:         pulumi.Int(3),
			AutoSplit:          pulumi.Bool(true),
			MaxSplitShardCount: pulumi.Int(60),
			AppendMeta:         pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		_, err = cen.NewFlowLog(ctx, "defaultFlowLog", &cen.FlowLogArgs{
			FlowLogName:  pulumi.String("my-flowlog"),
			CenId:        defaultInstance.ID(),
			ProjectName:  defaultProject.Name,
			LogStoreName: defaultStore.Name,
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

CEN flowlog can be imported using the id, e.g.

```sh

$ pulumi import alicloud:cen/flowLog:FlowLog default flowlog-tig1xxxxxx

```

func GetFlowLog

func GetFlowLog(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *FlowLogState, opts ...pulumi.ResourceOption) (*FlowLog, error)

GetFlowLog gets an existing FlowLog resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewFlowLog

func NewFlowLog(ctx *pulumi.Context,
	name string, args *FlowLogArgs, opts ...pulumi.ResourceOption) (*FlowLog, error)

NewFlowLog registers a new resource with the given unique name, arguments, and options.

func (*FlowLog) ElementType

func (*FlowLog) ElementType() reflect.Type

func (*FlowLog) ToFlowLogOutput

func (i *FlowLog) ToFlowLogOutput() FlowLogOutput

func (*FlowLog) ToFlowLogOutputWithContext

func (i *FlowLog) ToFlowLogOutputWithContext(ctx context.Context) FlowLogOutput

func (*FlowLog) ToFlowLogPtrOutput

func (i *FlowLog) ToFlowLogPtrOutput() FlowLogPtrOutput

func (*FlowLog) ToFlowLogPtrOutputWithContext

func (i *FlowLog) ToFlowLogPtrOutputWithContext(ctx context.Context) FlowLogPtrOutput

type FlowLogArgs

type FlowLogArgs struct {
	// The ID of the CEN Instance.
	CenId pulumi.StringInput
	// The description of flowlog.
	Description pulumi.StringPtrInput
	// The name of flowlog.
	FlowLogName pulumi.StringPtrInput
	// The name of the log store which is in the  `projectName` SLS project.
	LogStoreName pulumi.StringInput
	// The name of the SLS project.
	ProjectName pulumi.StringInput
	// The status of flowlog. Valid values: ["Active", "Inactive"]. Default to "Active".
	Status pulumi.StringPtrInput
}

The set of arguments for constructing a FlowLog resource.

func (FlowLogArgs) ElementType

func (FlowLogArgs) ElementType() reflect.Type

type FlowLogArray

type FlowLogArray []FlowLogInput

func (FlowLogArray) ElementType

func (FlowLogArray) ElementType() reflect.Type

func (FlowLogArray) ToFlowLogArrayOutput

func (i FlowLogArray) ToFlowLogArrayOutput() FlowLogArrayOutput

func (FlowLogArray) ToFlowLogArrayOutputWithContext

func (i FlowLogArray) ToFlowLogArrayOutputWithContext(ctx context.Context) FlowLogArrayOutput

type FlowLogArrayInput

type FlowLogArrayInput interface {
	pulumi.Input

	ToFlowLogArrayOutput() FlowLogArrayOutput
	ToFlowLogArrayOutputWithContext(context.Context) FlowLogArrayOutput
}

FlowLogArrayInput is an input type that accepts FlowLogArray and FlowLogArrayOutput values. You can construct a concrete instance of `FlowLogArrayInput` via:

FlowLogArray{ FlowLogArgs{...} }

type FlowLogArrayOutput

type FlowLogArrayOutput struct{ *pulumi.OutputState }

func (FlowLogArrayOutput) ElementType

func (FlowLogArrayOutput) ElementType() reflect.Type

func (FlowLogArrayOutput) Index

func (FlowLogArrayOutput) ToFlowLogArrayOutput

func (o FlowLogArrayOutput) ToFlowLogArrayOutput() FlowLogArrayOutput

func (FlowLogArrayOutput) ToFlowLogArrayOutputWithContext

func (o FlowLogArrayOutput) ToFlowLogArrayOutputWithContext(ctx context.Context) FlowLogArrayOutput

type FlowLogInput

type FlowLogInput interface {
	pulumi.Input

	ToFlowLogOutput() FlowLogOutput
	ToFlowLogOutputWithContext(ctx context.Context) FlowLogOutput
}

type FlowLogMap

type FlowLogMap map[string]FlowLogInput

func (FlowLogMap) ElementType

func (FlowLogMap) ElementType() reflect.Type

func (FlowLogMap) ToFlowLogMapOutput

func (i FlowLogMap) ToFlowLogMapOutput() FlowLogMapOutput

func (FlowLogMap) ToFlowLogMapOutputWithContext

func (i FlowLogMap) ToFlowLogMapOutputWithContext(ctx context.Context) FlowLogMapOutput

type FlowLogMapInput

type FlowLogMapInput interface {
	pulumi.Input

	ToFlowLogMapOutput() FlowLogMapOutput
	ToFlowLogMapOutputWithContext(context.Context) FlowLogMapOutput
}

FlowLogMapInput is an input type that accepts FlowLogMap and FlowLogMapOutput values. You can construct a concrete instance of `FlowLogMapInput` via:

FlowLogMap{ "key": FlowLogArgs{...} }

type FlowLogMapOutput

type FlowLogMapOutput struct{ *pulumi.OutputState }

func (FlowLogMapOutput) ElementType

func (FlowLogMapOutput) ElementType() reflect.Type

func (FlowLogMapOutput) MapIndex

func (FlowLogMapOutput) ToFlowLogMapOutput

func (o FlowLogMapOutput) ToFlowLogMapOutput() FlowLogMapOutput

func (FlowLogMapOutput) ToFlowLogMapOutputWithContext

func (o FlowLogMapOutput) ToFlowLogMapOutputWithContext(ctx context.Context) FlowLogMapOutput

type FlowLogOutput

type FlowLogOutput struct{ *pulumi.OutputState }

func (FlowLogOutput) ElementType

func (FlowLogOutput) ElementType() reflect.Type

func (FlowLogOutput) ToFlowLogOutput

func (o FlowLogOutput) ToFlowLogOutput() FlowLogOutput

func (FlowLogOutput) ToFlowLogOutputWithContext

func (o FlowLogOutput) ToFlowLogOutputWithContext(ctx context.Context) FlowLogOutput

func (FlowLogOutput) ToFlowLogPtrOutput

func (o FlowLogOutput) ToFlowLogPtrOutput() FlowLogPtrOutput

func (FlowLogOutput) ToFlowLogPtrOutputWithContext

func (o FlowLogOutput) ToFlowLogPtrOutputWithContext(ctx context.Context) FlowLogPtrOutput

type FlowLogPtrInput

type FlowLogPtrInput interface {
	pulumi.Input

	ToFlowLogPtrOutput() FlowLogPtrOutput
	ToFlowLogPtrOutputWithContext(ctx context.Context) FlowLogPtrOutput
}

type FlowLogPtrOutput

type FlowLogPtrOutput struct{ *pulumi.OutputState }

func (FlowLogPtrOutput) Elem added in v3.9.0

func (FlowLogPtrOutput) ElementType

func (FlowLogPtrOutput) ElementType() reflect.Type

func (FlowLogPtrOutput) ToFlowLogPtrOutput

func (o FlowLogPtrOutput) ToFlowLogPtrOutput() FlowLogPtrOutput

func (FlowLogPtrOutput) ToFlowLogPtrOutputWithContext

func (o FlowLogPtrOutput) ToFlowLogPtrOutputWithContext(ctx context.Context) FlowLogPtrOutput

type FlowLogState

type FlowLogState struct {
	// The ID of the CEN Instance.
	CenId pulumi.StringPtrInput
	// The description of flowlog.
	Description pulumi.StringPtrInput
	// The name of flowlog.
	FlowLogName pulumi.StringPtrInput
	// The name of the log store which is in the  `projectName` SLS project.
	LogStoreName pulumi.StringPtrInput
	// The name of the SLS project.
	ProjectName pulumi.StringPtrInput
	// The status of flowlog. Valid values: ["Active", "Inactive"]. Default to "Active".
	Status pulumi.StringPtrInput
}

func (FlowLogState) ElementType

func (FlowLogState) ElementType() reflect.Type

type GetBandwidthLimitsArgs

type GetBandwidthLimitsArgs struct {
	// A list of CEN instances IDs.
	InstanceIds []string `pulumi:"instanceIds"`
	OutputFile  *string  `pulumi:"outputFile"`
}

A collection of arguments for invoking getBandwidthLimits.

type GetBandwidthLimitsLimit

type GetBandwidthLimitsLimit struct {
	// The bandwidth limit configured for the interconnected regions communication.
	BandwidthLimit int `pulumi:"bandwidthLimit"`
	// ID of the CEN instance.
	InstanceId string `pulumi:"instanceId"`
	// ID of local region.
	LocalRegionId string `pulumi:"localRegionId"`
	// ID of opposite region.
	OppositeRegionId string `pulumi:"oppositeRegionId"`
	// Status of the CEN Bandwidth Limit, including "Active" and "Modifying".
	Status string `pulumi:"status"`
}

type GetBandwidthLimitsLimitArgs

type GetBandwidthLimitsLimitArgs struct {
	// The bandwidth limit configured for the interconnected regions communication.
	BandwidthLimit pulumi.IntInput `pulumi:"bandwidthLimit"`
	// ID of the CEN instance.
	InstanceId pulumi.StringInput `pulumi:"instanceId"`
	// ID of local region.
	LocalRegionId pulumi.StringInput `pulumi:"localRegionId"`
	// ID of opposite region.
	OppositeRegionId pulumi.StringInput `pulumi:"oppositeRegionId"`
	// Status of the CEN Bandwidth Limit, including "Active" and "Modifying".
	Status pulumi.StringInput `pulumi:"status"`
}

func (GetBandwidthLimitsLimitArgs) ElementType

func (GetBandwidthLimitsLimitArgs) ToGetBandwidthLimitsLimitOutput

func (i GetBandwidthLimitsLimitArgs) ToGetBandwidthLimitsLimitOutput() GetBandwidthLimitsLimitOutput

func (GetBandwidthLimitsLimitArgs) ToGetBandwidthLimitsLimitOutputWithContext

func (i GetBandwidthLimitsLimitArgs) ToGetBandwidthLimitsLimitOutputWithContext(ctx context.Context) GetBandwidthLimitsLimitOutput

type GetBandwidthLimitsLimitArray

type GetBandwidthLimitsLimitArray []GetBandwidthLimitsLimitInput

func (GetBandwidthLimitsLimitArray) ElementType

func (GetBandwidthLimitsLimitArray) ToGetBandwidthLimitsLimitArrayOutput

func (i GetBandwidthLimitsLimitArray) ToGetBandwidthLimitsLimitArrayOutput() GetBandwidthLimitsLimitArrayOutput

func (GetBandwidthLimitsLimitArray) ToGetBandwidthLimitsLimitArrayOutputWithContext

func (i GetBandwidthLimitsLimitArray) ToGetBandwidthLimitsLimitArrayOutputWithContext(ctx context.Context) GetBandwidthLimitsLimitArrayOutput

type GetBandwidthLimitsLimitArrayInput

type GetBandwidthLimitsLimitArrayInput interface {
	pulumi.Input

	ToGetBandwidthLimitsLimitArrayOutput() GetBandwidthLimitsLimitArrayOutput
	ToGetBandwidthLimitsLimitArrayOutputWithContext(context.Context) GetBandwidthLimitsLimitArrayOutput
}

GetBandwidthLimitsLimitArrayInput is an input type that accepts GetBandwidthLimitsLimitArray and GetBandwidthLimitsLimitArrayOutput values. You can construct a concrete instance of `GetBandwidthLimitsLimitArrayInput` via:

GetBandwidthLimitsLimitArray{ GetBandwidthLimitsLimitArgs{...} }

type GetBandwidthLimitsLimitArrayOutput

type GetBandwidthLimitsLimitArrayOutput struct{ *pulumi.OutputState }

func (GetBandwidthLimitsLimitArrayOutput) ElementType

func (GetBandwidthLimitsLimitArrayOutput) Index

func (GetBandwidthLimitsLimitArrayOutput) ToGetBandwidthLimitsLimitArrayOutput

func (o GetBandwidthLimitsLimitArrayOutput) ToGetBandwidthLimitsLimitArrayOutput() GetBandwidthLimitsLimitArrayOutput

func (GetBandwidthLimitsLimitArrayOutput) ToGetBandwidthLimitsLimitArrayOutputWithContext

func (o GetBandwidthLimitsLimitArrayOutput) ToGetBandwidthLimitsLimitArrayOutputWithContext(ctx context.Context) GetBandwidthLimitsLimitArrayOutput

type GetBandwidthLimitsLimitInput

type GetBandwidthLimitsLimitInput interface {
	pulumi.Input

	ToGetBandwidthLimitsLimitOutput() GetBandwidthLimitsLimitOutput
	ToGetBandwidthLimitsLimitOutputWithContext(context.Context) GetBandwidthLimitsLimitOutput
}

GetBandwidthLimitsLimitInput is an input type that accepts GetBandwidthLimitsLimitArgs and GetBandwidthLimitsLimitOutput values. You can construct a concrete instance of `GetBandwidthLimitsLimitInput` via:

GetBandwidthLimitsLimitArgs{...}

type GetBandwidthLimitsLimitOutput

type GetBandwidthLimitsLimitOutput struct{ *pulumi.OutputState }

func (GetBandwidthLimitsLimitOutput) BandwidthLimit

func (o GetBandwidthLimitsLimitOutput) BandwidthLimit() pulumi.IntOutput

The bandwidth limit configured for the interconnected regions communication.

func (GetBandwidthLimitsLimitOutput) ElementType

func (GetBandwidthLimitsLimitOutput) InstanceId

ID of the CEN instance.

func (GetBandwidthLimitsLimitOutput) LocalRegionId

ID of local region.

func (GetBandwidthLimitsLimitOutput) OppositeRegionId

func (o GetBandwidthLimitsLimitOutput) OppositeRegionId() pulumi.StringOutput

ID of opposite region.

func (GetBandwidthLimitsLimitOutput) Status

Status of the CEN Bandwidth Limit, including "Active" and "Modifying".

func (GetBandwidthLimitsLimitOutput) ToGetBandwidthLimitsLimitOutput

func (o GetBandwidthLimitsLimitOutput) ToGetBandwidthLimitsLimitOutput() GetBandwidthLimitsLimitOutput

func (GetBandwidthLimitsLimitOutput) ToGetBandwidthLimitsLimitOutputWithContext

func (o GetBandwidthLimitsLimitOutput) ToGetBandwidthLimitsLimitOutputWithContext(ctx context.Context) GetBandwidthLimitsLimitOutput

type GetBandwidthLimitsOutputArgs added in v3.9.0

type GetBandwidthLimitsOutputArgs struct {
	// A list of CEN instances IDs.
	InstanceIds pulumi.StringArrayInput `pulumi:"instanceIds"`
	OutputFile  pulumi.StringPtrInput   `pulumi:"outputFile"`
}

A collection of arguments for invoking getBandwidthLimits.

func (GetBandwidthLimitsOutputArgs) ElementType added in v3.9.0

type GetBandwidthLimitsResult

type GetBandwidthLimitsResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id          string   `pulumi:"id"`
	InstanceIds []string `pulumi:"instanceIds"`
	// A list of CEN Bandwidth Limits. Each element contains the following attributes:
	Limits     []GetBandwidthLimitsLimit `pulumi:"limits"`
	OutputFile *string                   `pulumi:"outputFile"`
}

A collection of values returned by getBandwidthLimits.

func GetBandwidthLimits

func GetBandwidthLimits(ctx *pulumi.Context, args *GetBandwidthLimitsArgs, opts ...pulumi.InvokeOption) (*GetBandwidthLimitsResult, error)

This data source provides CEN Bandwidth Limits available to the user.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/cen"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		bwl, err := cen.GetBandwidthLimits(ctx, &cen.GetBandwidthLimitsArgs{
			InstanceIds: []string{
				"cen-id1",
			},
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("firstCenBandwidthLimitsLocalRegionId", bwl.Limits[0].LocalRegionId)
		return nil
	})
}

```

type GetBandwidthLimitsResultOutput added in v3.9.0

type GetBandwidthLimitsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getBandwidthLimits.

func GetBandwidthLimitsOutput added in v3.9.0

func (GetBandwidthLimitsResultOutput) ElementType added in v3.9.0

func (GetBandwidthLimitsResultOutput) Id added in v3.9.0

The provider-assigned unique ID for this managed resource.

func (GetBandwidthLimitsResultOutput) InstanceIds added in v3.9.0

func (GetBandwidthLimitsResultOutput) Limits added in v3.9.0

A list of CEN Bandwidth Limits. Each element contains the following attributes:

func (GetBandwidthLimitsResultOutput) OutputFile added in v3.9.0

func (GetBandwidthLimitsResultOutput) ToGetBandwidthLimitsResultOutput added in v3.9.0

func (o GetBandwidthLimitsResultOutput) ToGetBandwidthLimitsResultOutput() GetBandwidthLimitsResultOutput

func (GetBandwidthLimitsResultOutput) ToGetBandwidthLimitsResultOutputWithContext added in v3.9.0

func (o GetBandwidthLimitsResultOutput) ToGetBandwidthLimitsResultOutputWithContext(ctx context.Context) GetBandwidthLimitsResultOutput

type GetBandwidthPackagesArgs

type GetBandwidthPackagesArgs struct {
	// Limit search to a list of specific CEN Bandwidth Package IDs.
	Ids []string `pulumi:"ids"`
	// -Indicates whether to include renewal data. Valid values: `true`: Return renewal data in the response. `false`: Do not return renewal data in the response.
	IncludeReservationData *bool `pulumi:"includeReservationData"`
	// ID of a CEN instance.
	InstanceId *string `pulumi:"instanceId"`
	// A regex string to filter CEN Bandwidth Package by name.
	NameRegex  *string `pulumi:"nameRegex"`
	OutputFile *string `pulumi:"outputFile"`
	// Status of the CEN Bandwidth Package in CEN instance, Valid value: `Idle` and `InUse`.
	Status *string `pulumi:"status"`
}

A collection of arguments for invoking getBandwidthPackages.

type GetBandwidthPackagesOutputArgs added in v3.9.0

type GetBandwidthPackagesOutputArgs struct {
	// Limit search to a list of specific CEN Bandwidth Package IDs.
	Ids pulumi.StringArrayInput `pulumi:"ids"`
	// -Indicates whether to include renewal data. Valid values: `true`: Return renewal data in the response. `false`: Do not return renewal data in the response.
	IncludeReservationData pulumi.BoolPtrInput `pulumi:"includeReservationData"`
	// ID of a CEN instance.
	InstanceId pulumi.StringPtrInput `pulumi:"instanceId"`
	// A regex string to filter CEN Bandwidth Package by name.
	NameRegex  pulumi.StringPtrInput `pulumi:"nameRegex"`
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
	// Status of the CEN Bandwidth Package in CEN instance, Valid value: `Idle` and `InUse`.
	Status pulumi.StringPtrInput `pulumi:"status"`
}

A collection of arguments for invoking getBandwidthPackages.

func (GetBandwidthPackagesOutputArgs) ElementType added in v3.9.0

type GetBandwidthPackagesPackage

type GetBandwidthPackagesPackage struct {
	// The bandwidth in Mbps of the CEN bandwidth package.
	Bandwidth int `pulumi:"bandwidth"`
	// The billing method, including `POSTPAY` and `PREPAY`.
	BandwidthPackageChargeType string `pulumi:"bandwidthPackageChargeType"`
	// Status of the CEN Bandwidth Package, including `Normal`, `FinancialLocked` and `SecurityLocked`.
	BusinessStatus string `pulumi:"businessStatus"`
	// The ID of the bandwidth package.
	CenBandwidthPackageId string `pulumi:"cenBandwidthPackageId"`
	// The name of the bandwidth package.
	CenBandwidthPackageName string `pulumi:"cenBandwidthPackageName"`
	// The list of CEN instances that are associated with the bandwidth package.
	CenIds []string `pulumi:"cenIds"`
	// Description of the CEN Bandwidth Package.
	Description string `pulumi:"description"`
	ExpiredTime string `pulumi:"expiredTime"`
	// Region ID of the interconnected regions.
	GeographicRegionAId string `pulumi:"geographicRegionAId"`
	// Region ID of the interconnected regions.
	GeographicRegionBId string `pulumi:"geographicRegionBId"`
	// The area ID of the cross-area connection.
	GeographicSpanId string `pulumi:"geographicSpanId"`
	// Indicates whether renewal data is involved.
	HasReservationData string `pulumi:"hasReservationData"`
	// ID of the CEN Bandwidth Package.
	Id string `pulumi:"id"`
	// ID of a CEN instance.
	InstanceId string `pulumi:"instanceId"`
	// Indicates whether the bandwidth package is a cross-border bandwidth package.
	IsCrossBorder bool `pulumi:"isCrossBorder"`
	// Name of the CEN Bandwidth Package.
	Name string `pulumi:"name"`
	// The billing method of the bandwidth package.
	PaymentType string `pulumi:"paymentType"`
	// The expiration time of the temporary upgrade.
	ReservationActiveTime string `pulumi:"reservationActiveTime"`
	// The restored bandwidth after the temporary upgrade.
	ReservationBandwidth string `pulumi:"reservationBandwidth"`
	// The billing method after the configuration change.
	ReservationInternetChargeType string `pulumi:"reservationInternetChargeType"`
	// The type of the configuration change.
	ReservationOrderType string `pulumi:"reservationOrderType"`
	// Status of the CEN Bandwidth Package in CEN instance, Valid value: `Idle` and `InUse`.
	Status string `pulumi:"status"`
}

type GetBandwidthPackagesPackageArgs

type GetBandwidthPackagesPackageArgs struct {
	// The bandwidth in Mbps of the CEN bandwidth package.
	Bandwidth pulumi.IntInput `pulumi:"bandwidth"`
	// The billing method, including `POSTPAY` and `PREPAY`.
	BandwidthPackageChargeType pulumi.StringInput `pulumi:"bandwidthPackageChargeType"`
	// Status of the CEN Bandwidth Package, including `Normal`, `FinancialLocked` and `SecurityLocked`.
	BusinessStatus pulumi.StringInput `pulumi:"businessStatus"`
	// The ID of the bandwidth package.
	CenBandwidthPackageId pulumi.StringInput `pulumi:"cenBandwidthPackageId"`
	// The name of the bandwidth package.
	CenBandwidthPackageName pulumi.StringInput `pulumi:"cenBandwidthPackageName"`
	// The list of CEN instances that are associated with the bandwidth package.
	CenIds pulumi.StringArrayInput `pulumi:"cenIds"`
	// Description of the CEN Bandwidth Package.
	Description pulumi.StringInput `pulumi:"description"`
	ExpiredTime pulumi.StringInput `pulumi:"expiredTime"`
	// Region ID of the interconnected regions.
	GeographicRegionAId pulumi.StringInput `pulumi:"geographicRegionAId"`
	// Region ID of the interconnected regions.
	GeographicRegionBId pulumi.StringInput `pulumi:"geographicRegionBId"`
	// The area ID of the cross-area connection.
	GeographicSpanId pulumi.StringInput `pulumi:"geographicSpanId"`
	// Indicates whether renewal data is involved.
	HasReservationData pulumi.StringInput `pulumi:"hasReservationData"`
	// ID of the CEN Bandwidth Package.
	Id pulumi.StringInput `pulumi:"id"`
	// ID of a CEN instance.
	InstanceId pulumi.StringInput `pulumi:"instanceId"`
	// Indicates whether the bandwidth package is a cross-border bandwidth package.
	IsCrossBorder pulumi.BoolInput `pulumi:"isCrossBorder"`
	// Name of the CEN Bandwidth Package.
	Name pulumi.StringInput `pulumi:"name"`
	// The billing method of the bandwidth package.
	PaymentType pulumi.StringInput `pulumi:"paymentType"`
	// The expiration time of the temporary upgrade.
	ReservationActiveTime pulumi.StringInput `pulumi:"reservationActiveTime"`
	// The restored bandwidth after the temporary upgrade.
	ReservationBandwidth pulumi.StringInput `pulumi:"reservationBandwidth"`
	// The billing method after the configuration change.
	ReservationInternetChargeType pulumi.StringInput `pulumi:"reservationInternetChargeType"`
	// The type of the configuration change.
	ReservationOrderType pulumi.StringInput `pulumi:"reservationOrderType"`
	// Status of the CEN Bandwidth Package in CEN instance, Valid value: `Idle` and `InUse`.
	Status pulumi.StringInput `pulumi:"status"`
}

func (GetBandwidthPackagesPackageArgs) ElementType

func (GetBandwidthPackagesPackageArgs) ToGetBandwidthPackagesPackageOutput

func (i GetBandwidthPackagesPackageArgs) ToGetBandwidthPackagesPackageOutput() GetBandwidthPackagesPackageOutput

func (GetBandwidthPackagesPackageArgs) ToGetBandwidthPackagesPackageOutputWithContext

func (i GetBandwidthPackagesPackageArgs) ToGetBandwidthPackagesPackageOutputWithContext(ctx context.Context) GetBandwidthPackagesPackageOutput

type GetBandwidthPackagesPackageArray

type GetBandwidthPackagesPackageArray []GetBandwidthPackagesPackageInput

func (GetBandwidthPackagesPackageArray) ElementType

func (GetBandwidthPackagesPackageArray) ToGetBandwidthPackagesPackageArrayOutput

func (i GetBandwidthPackagesPackageArray) ToGetBandwidthPackagesPackageArrayOutput() GetBandwidthPackagesPackageArrayOutput

func (GetBandwidthPackagesPackageArray) ToGetBandwidthPackagesPackageArrayOutputWithContext

func (i GetBandwidthPackagesPackageArray) ToGetBandwidthPackagesPackageArrayOutputWithContext(ctx context.Context) GetBandwidthPackagesPackageArrayOutput

type GetBandwidthPackagesPackageArrayInput

type GetBandwidthPackagesPackageArrayInput interface {
	pulumi.Input

	ToGetBandwidthPackagesPackageArrayOutput() GetBandwidthPackagesPackageArrayOutput
	ToGetBandwidthPackagesPackageArrayOutputWithContext(context.Context) GetBandwidthPackagesPackageArrayOutput
}

GetBandwidthPackagesPackageArrayInput is an input type that accepts GetBandwidthPackagesPackageArray and GetBandwidthPackagesPackageArrayOutput values. You can construct a concrete instance of `GetBandwidthPackagesPackageArrayInput` via:

GetBandwidthPackagesPackageArray{ GetBandwidthPackagesPackageArgs{...} }

type GetBandwidthPackagesPackageArrayOutput

type GetBandwidthPackagesPackageArrayOutput struct{ *pulumi.OutputState }

func (GetBandwidthPackagesPackageArrayOutput) ElementType

func (GetBandwidthPackagesPackageArrayOutput) Index

func (GetBandwidthPackagesPackageArrayOutput) ToGetBandwidthPackagesPackageArrayOutput

func (o GetBandwidthPackagesPackageArrayOutput) ToGetBandwidthPackagesPackageArrayOutput() GetBandwidthPackagesPackageArrayOutput

func (GetBandwidthPackagesPackageArrayOutput) ToGetBandwidthPackagesPackageArrayOutputWithContext

func (o GetBandwidthPackagesPackageArrayOutput) ToGetBandwidthPackagesPackageArrayOutputWithContext(ctx context.Context) GetBandwidthPackagesPackageArrayOutput

type GetBandwidthPackagesPackageInput

type GetBandwidthPackagesPackageInput interface {
	pulumi.Input

	ToGetBandwidthPackagesPackageOutput() GetBandwidthPackagesPackageOutput
	ToGetBandwidthPackagesPackageOutputWithContext(context.Context) GetBandwidthPackagesPackageOutput
}

GetBandwidthPackagesPackageInput is an input type that accepts GetBandwidthPackagesPackageArgs and GetBandwidthPackagesPackageOutput values. You can construct a concrete instance of `GetBandwidthPackagesPackageInput` via:

GetBandwidthPackagesPackageArgs{...}

type GetBandwidthPackagesPackageOutput

type GetBandwidthPackagesPackageOutput struct{ *pulumi.OutputState }

func (GetBandwidthPackagesPackageOutput) Bandwidth

The bandwidth in Mbps of the CEN bandwidth package.

func (GetBandwidthPackagesPackageOutput) BandwidthPackageChargeType

func (o GetBandwidthPackagesPackageOutput) BandwidthPackageChargeType() pulumi.StringOutput

The billing method, including `POSTPAY` and `PREPAY`.

func (GetBandwidthPackagesPackageOutput) BusinessStatus

Status of the CEN Bandwidth Package, including `Normal`, `FinancialLocked` and `SecurityLocked`.

func (GetBandwidthPackagesPackageOutput) CenBandwidthPackageId

func (o GetBandwidthPackagesPackageOutput) CenBandwidthPackageId() pulumi.StringOutput

The ID of the bandwidth package.

func (GetBandwidthPackagesPackageOutput) CenBandwidthPackageName

func (o GetBandwidthPackagesPackageOutput) CenBandwidthPackageName() pulumi.StringOutput

The name of the bandwidth package.

func (GetBandwidthPackagesPackageOutput) CenIds

The list of CEN instances that are associated with the bandwidth package.

func (GetBandwidthPackagesPackageOutput) Description

Description of the CEN Bandwidth Package.

func (GetBandwidthPackagesPackageOutput) ElementType

func (GetBandwidthPackagesPackageOutput) ExpiredTime

func (GetBandwidthPackagesPackageOutput) GeographicRegionAId

func (o GetBandwidthPackagesPackageOutput) GeographicRegionAId() pulumi.StringOutput

Region ID of the interconnected regions.

func (GetBandwidthPackagesPackageOutput) GeographicRegionBId

func (o GetBandwidthPackagesPackageOutput) GeographicRegionBId() pulumi.StringOutput

Region ID of the interconnected regions.

func (GetBandwidthPackagesPackageOutput) GeographicSpanId

The area ID of the cross-area connection.

func (GetBandwidthPackagesPackageOutput) HasReservationData

func (o GetBandwidthPackagesPackageOutput) HasReservationData() pulumi.StringOutput

Indicates whether renewal data is involved.

func (GetBandwidthPackagesPackageOutput) Id

ID of the CEN Bandwidth Package.

func (GetBandwidthPackagesPackageOutput) InstanceId

ID of a CEN instance.

func (GetBandwidthPackagesPackageOutput) IsCrossBorder

Indicates whether the bandwidth package is a cross-border bandwidth package.

func (GetBandwidthPackagesPackageOutput) Name

Name of the CEN Bandwidth Package.

func (GetBandwidthPackagesPackageOutput) PaymentType

The billing method of the bandwidth package.

func (GetBandwidthPackagesPackageOutput) ReservationActiveTime

func (o GetBandwidthPackagesPackageOutput) ReservationActiveTime() pulumi.StringOutput

The expiration time of the temporary upgrade.

func (GetBandwidthPackagesPackageOutput) ReservationBandwidth

func (o GetBandwidthPackagesPackageOutput) ReservationBandwidth() pulumi.StringOutput

The restored bandwidth after the temporary upgrade.

func (GetBandwidthPackagesPackageOutput) ReservationInternetChargeType

func (o GetBandwidthPackagesPackageOutput) ReservationInternetChargeType() pulumi.StringOutput

The billing method after the configuration change.

func (GetBandwidthPackagesPackageOutput) ReservationOrderType

func (o GetBandwidthPackagesPackageOutput) ReservationOrderType() pulumi.StringOutput

The type of the configuration change.

func (GetBandwidthPackagesPackageOutput) Status

Status of the CEN Bandwidth Package in CEN instance, Valid value: `Idle` and `InUse`.

func (GetBandwidthPackagesPackageOutput) ToGetBandwidthPackagesPackageOutput

func (o GetBandwidthPackagesPackageOutput) ToGetBandwidthPackagesPackageOutput() GetBandwidthPackagesPackageOutput

func (GetBandwidthPackagesPackageOutput) ToGetBandwidthPackagesPackageOutputWithContext

func (o GetBandwidthPackagesPackageOutput) ToGetBandwidthPackagesPackageOutputWithContext(ctx context.Context) GetBandwidthPackagesPackageOutput

type GetBandwidthPackagesResult

type GetBandwidthPackagesResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// A list of specific CEN Bandwidth Package IDs.
	// * `names` (Available in 1.98.0+) - A list of CEN Bandwidth Package Names.
	Ids                    []string `pulumi:"ids"`
	IncludeReservationData *bool    `pulumi:"includeReservationData"`
	// The ID of the CEN instance that are associated with the bandwidth package.
	InstanceId *string  `pulumi:"instanceId"`
	NameRegex  *string  `pulumi:"nameRegex"`
	Names      []string `pulumi:"names"`
	OutputFile *string  `pulumi:"outputFile"`
	// A list of CEN bandwidth package. Each element contains the following attributes:
	Packages []GetBandwidthPackagesPackage `pulumi:"packages"`
	// Status of the CEN Bandwidth Package in CEN instance, including `Idle` and `InUse`.
	Status *string `pulumi:"status"`
}

A collection of values returned by getBandwidthPackages.

func GetBandwidthPackages

func GetBandwidthPackages(ctx *pulumi.Context, args *GetBandwidthPackagesArgs, opts ...pulumi.InvokeOption) (*GetBandwidthPackagesResult, error)

This data source provides CEN Bandwidth Packages available to the user.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/cen"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		opt0 := "cen-id1"
		opt1 := "^foo"
		example, err := cen.GetBandwidthPackages(ctx, &cen.GetBandwidthPackagesArgs{
			InstanceId: &opt0,
			NameRegex:  &opt1,
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("firstCenBandwidthPackageId", example.Packages[0].Id)
		return nil
	})
}

```

type GetBandwidthPackagesResultOutput added in v3.9.0

type GetBandwidthPackagesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getBandwidthPackages.

func GetBandwidthPackagesOutput added in v3.9.0

func (GetBandwidthPackagesResultOutput) ElementType added in v3.9.0

func (GetBandwidthPackagesResultOutput) Id added in v3.9.0

The provider-assigned unique ID for this managed resource.

func (GetBandwidthPackagesResultOutput) Ids added in v3.9.0

A list of specific CEN Bandwidth Package IDs. * `names` (Available in 1.98.0+) - A list of CEN Bandwidth Package Names.

func (GetBandwidthPackagesResultOutput) IncludeReservationData added in v3.9.0

func (o GetBandwidthPackagesResultOutput) IncludeReservationData() pulumi.BoolPtrOutput

func (GetBandwidthPackagesResultOutput) InstanceId added in v3.9.0

The ID of the CEN instance that are associated with the bandwidth package.

func (GetBandwidthPackagesResultOutput) NameRegex added in v3.9.0

func (GetBandwidthPackagesResultOutput) Names added in v3.9.0

func (GetBandwidthPackagesResultOutput) OutputFile added in v3.9.0

func (GetBandwidthPackagesResultOutput) Packages added in v3.9.0

A list of CEN bandwidth package. Each element contains the following attributes:

func (GetBandwidthPackagesResultOutput) Status added in v3.9.0

Status of the CEN Bandwidth Package in CEN instance, including `Idle` and `InUse`.

func (GetBandwidthPackagesResultOutput) ToGetBandwidthPackagesResultOutput added in v3.9.0

func (o GetBandwidthPackagesResultOutput) ToGetBandwidthPackagesResultOutput() GetBandwidthPackagesResultOutput

func (GetBandwidthPackagesResultOutput) ToGetBandwidthPackagesResultOutputWithContext added in v3.9.0

func (o GetBandwidthPackagesResultOutput) ToGetBandwidthPackagesResultOutputWithContext(ctx context.Context) GetBandwidthPackagesResultOutput

type GetFlowlogsArgs

type GetFlowlogsArgs struct {
	// The ID of the CEN Instance.
	CenId *string `pulumi:"cenId"`
	// The description of flowlog.
	Description *string `pulumi:"description"`
	// A list of CEN flow log IDs.
	Ids []string `pulumi:"ids"`
	// The name of the log store which is in the  `projectName` SLS project.
	LogStoreName *string `pulumi:"logStoreName"`
	// A regex string to filter CEN flow logs by name.
	NameRegex  *string `pulumi:"nameRegex"`
	OutputFile *string `pulumi:"outputFile"`
	// The name of the SLS project.
	ProjectName *string `pulumi:"projectName"`
	// The status of flowlog. Valid values: ["Active", "Inactive"]. Default to "Active".
	Status *string `pulumi:"status"`
}

A collection of arguments for invoking getFlowlogs.

type GetFlowlogsFlowlog

type GetFlowlogsFlowlog struct {
	// The ID of the CEN Instance.
	CenId string `pulumi:"cenId"`
	// The description of flowlog.
	Description string `pulumi:"description"`
	// ID of the CEN flow log.
	FlowLogId string `pulumi:"flowLogId"`
	// The name of flowlog.
	FlowLogName string `pulumi:"flowLogName"`
	// ID of the CEN flow log.
	Id string `pulumi:"id"`
	// The name of the log store which is in the  `projectName` SLS project.
	LogStoreName string `pulumi:"logStoreName"`
	// The name of the SLS project.
	ProjectName string `pulumi:"projectName"`
	// The status of flowlog. Valid values: ["Active", "Inactive"]. Default to "Active".
	Status string `pulumi:"status"`
}

type GetFlowlogsFlowlogArgs

type GetFlowlogsFlowlogArgs struct {
	// The ID of the CEN Instance.
	CenId pulumi.StringInput `pulumi:"cenId"`
	// The description of flowlog.
	Description pulumi.StringInput `pulumi:"description"`
	// ID of the CEN flow log.
	FlowLogId pulumi.StringInput `pulumi:"flowLogId"`
	// The name of flowlog.
	FlowLogName pulumi.StringInput `pulumi:"flowLogName"`
	// ID of the CEN flow log.
	Id pulumi.StringInput `pulumi:"id"`
	// The name of the log store which is in the  `projectName` SLS project.
	LogStoreName pulumi.StringInput `pulumi:"logStoreName"`
	// The name of the SLS project.
	ProjectName pulumi.StringInput `pulumi:"projectName"`
	// The status of flowlog. Valid values: ["Active", "Inactive"]. Default to "Active".
	Status pulumi.StringInput `pulumi:"status"`
}

func (GetFlowlogsFlowlogArgs) ElementType

func (GetFlowlogsFlowlogArgs) ElementType() reflect.Type

func (GetFlowlogsFlowlogArgs) ToGetFlowlogsFlowlogOutput

func (i GetFlowlogsFlowlogArgs) ToGetFlowlogsFlowlogOutput() GetFlowlogsFlowlogOutput

func (GetFlowlogsFlowlogArgs) ToGetFlowlogsFlowlogOutputWithContext

func (i GetFlowlogsFlowlogArgs) ToGetFlowlogsFlowlogOutputWithContext(ctx context.Context) GetFlowlogsFlowlogOutput

type GetFlowlogsFlowlogArray

type GetFlowlogsFlowlogArray []GetFlowlogsFlowlogInput

func (GetFlowlogsFlowlogArray) ElementType

func (GetFlowlogsFlowlogArray) ElementType() reflect.Type

func (GetFlowlogsFlowlogArray) ToGetFlowlogsFlowlogArrayOutput

func (i GetFlowlogsFlowlogArray) ToGetFlowlogsFlowlogArrayOutput() GetFlowlogsFlowlogArrayOutput

func (GetFlowlogsFlowlogArray) ToGetFlowlogsFlowlogArrayOutputWithContext

func (i GetFlowlogsFlowlogArray) ToGetFlowlogsFlowlogArrayOutputWithContext(ctx context.Context) GetFlowlogsFlowlogArrayOutput

type GetFlowlogsFlowlogArrayInput

type GetFlowlogsFlowlogArrayInput interface {
	pulumi.Input

	ToGetFlowlogsFlowlogArrayOutput() GetFlowlogsFlowlogArrayOutput
	ToGetFlowlogsFlowlogArrayOutputWithContext(context.Context) GetFlowlogsFlowlogArrayOutput
}

GetFlowlogsFlowlogArrayInput is an input type that accepts GetFlowlogsFlowlogArray and GetFlowlogsFlowlogArrayOutput values. You can construct a concrete instance of `GetFlowlogsFlowlogArrayInput` via:

GetFlowlogsFlowlogArray{ GetFlowlogsFlowlogArgs{...} }

type GetFlowlogsFlowlogArrayOutput

type GetFlowlogsFlowlogArrayOutput struct{ *pulumi.OutputState }

func (GetFlowlogsFlowlogArrayOutput) ElementType

func (GetFlowlogsFlowlogArrayOutput) Index

func (GetFlowlogsFlowlogArrayOutput) ToGetFlowlogsFlowlogArrayOutput

func (o GetFlowlogsFlowlogArrayOutput) ToGetFlowlogsFlowlogArrayOutput() GetFlowlogsFlowlogArrayOutput

func (GetFlowlogsFlowlogArrayOutput) ToGetFlowlogsFlowlogArrayOutputWithContext

func (o GetFlowlogsFlowlogArrayOutput) ToGetFlowlogsFlowlogArrayOutputWithContext(ctx context.Context) GetFlowlogsFlowlogArrayOutput

type GetFlowlogsFlowlogInput

type GetFlowlogsFlowlogInput interface {
	pulumi.Input

	ToGetFlowlogsFlowlogOutput() GetFlowlogsFlowlogOutput
	ToGetFlowlogsFlowlogOutputWithContext(context.Context) GetFlowlogsFlowlogOutput
}

GetFlowlogsFlowlogInput is an input type that accepts GetFlowlogsFlowlogArgs and GetFlowlogsFlowlogOutput values. You can construct a concrete instance of `GetFlowlogsFlowlogInput` via:

GetFlowlogsFlowlogArgs{...}

type GetFlowlogsFlowlogOutput

type GetFlowlogsFlowlogOutput struct{ *pulumi.OutputState }

func (GetFlowlogsFlowlogOutput) CenId

The ID of the CEN Instance.

func (GetFlowlogsFlowlogOutput) Description

The description of flowlog.

func (GetFlowlogsFlowlogOutput) ElementType

func (GetFlowlogsFlowlogOutput) ElementType() reflect.Type

func (GetFlowlogsFlowlogOutput) FlowLogId

ID of the CEN flow log.

func (GetFlowlogsFlowlogOutput) FlowLogName

The name of flowlog.

func (GetFlowlogsFlowlogOutput) Id

ID of the CEN flow log.

func (GetFlowlogsFlowlogOutput) LogStoreName

func (o GetFlowlogsFlowlogOutput) LogStoreName() pulumi.StringOutput

The name of the log store which is in the `projectName` SLS project.

func (GetFlowlogsFlowlogOutput) ProjectName

The name of the SLS project.

func (GetFlowlogsFlowlogOutput) Status

The status of flowlog. Valid values: ["Active", "Inactive"]. Default to "Active".

func (GetFlowlogsFlowlogOutput) ToGetFlowlogsFlowlogOutput

func (o GetFlowlogsFlowlogOutput) ToGetFlowlogsFlowlogOutput() GetFlowlogsFlowlogOutput

func (GetFlowlogsFlowlogOutput) ToGetFlowlogsFlowlogOutputWithContext

func (o GetFlowlogsFlowlogOutput) ToGetFlowlogsFlowlogOutputWithContext(ctx context.Context) GetFlowlogsFlowlogOutput

type GetFlowlogsOutputArgs added in v3.9.0

type GetFlowlogsOutputArgs struct {
	// The ID of the CEN Instance.
	CenId pulumi.StringPtrInput `pulumi:"cenId"`
	// The description of flowlog.
	Description pulumi.StringPtrInput `pulumi:"description"`
	// A list of CEN flow log IDs.
	Ids pulumi.StringArrayInput `pulumi:"ids"`
	// The name of the log store which is in the  `projectName` SLS project.
	LogStoreName pulumi.StringPtrInput `pulumi:"logStoreName"`
	// A regex string to filter CEN flow logs by name.
	NameRegex  pulumi.StringPtrInput `pulumi:"nameRegex"`
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
	// The name of the SLS project.
	ProjectName pulumi.StringPtrInput `pulumi:"projectName"`
	// The status of flowlog. Valid values: ["Active", "Inactive"]. Default to "Active".
	Status pulumi.StringPtrInput `pulumi:"status"`
}

A collection of arguments for invoking getFlowlogs.

func (GetFlowlogsOutputArgs) ElementType added in v3.9.0

func (GetFlowlogsOutputArgs) ElementType() reflect.Type

type GetFlowlogsResult

type GetFlowlogsResult struct {
	// The ID of the CEN Instance.
	CenId *string `pulumi:"cenId"`
	// The description of flowlog.
	Description *string              `pulumi:"description"`
	Flowlogs    []GetFlowlogsFlowlog `pulumi:"flowlogs"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// A list of CEN flow log IDs.
	Ids []string `pulumi:"ids"`
	// The name of the log store which is in the  `projectName` SLS project.
	LogStoreName *string `pulumi:"logStoreName"`
	NameRegex    *string `pulumi:"nameRegex"`
	// A list of CEN flow log names.
	Names      []string `pulumi:"names"`
	OutputFile *string  `pulumi:"outputFile"`
	// The name of the SLS project.
	ProjectName *string `pulumi:"projectName"`
	// The status of flowlog.
	Status *string `pulumi:"status"`
}

A collection of values returned by getFlowlogs.

func GetFlowlogs

func GetFlowlogs(ctx *pulumi.Context, args *GetFlowlogsArgs, opts ...pulumi.InvokeOption) (*GetFlowlogsResult, error)

This data source provides CEN flow logs available to the user.

> **NOTE:** Available in 1.78.0+

## Example Usage

Basic Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/cen"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		opt0 := "^foo"
		_, err := cen.GetFlowlogs(ctx, &cen.GetFlowlogsArgs{
			Ids: []string{
				"flowlog-tig1xxxxx",
			},
			NameRegex: &opt0,
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("firstCenFlowlogId", data.Alicloud_cen_instances.Default.Flowlogs[0].Id)
		return nil
	})
}

```

type GetFlowlogsResultOutput added in v3.9.0

type GetFlowlogsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getFlowlogs.

func GetFlowlogsOutput added in v3.9.0

func GetFlowlogsOutput(ctx *pulumi.Context, args GetFlowlogsOutputArgs, opts ...pulumi.InvokeOption) GetFlowlogsResultOutput

func (GetFlowlogsResultOutput) CenId added in v3.9.0

The ID of the CEN Instance.

func (GetFlowlogsResultOutput) Description added in v3.9.0

The description of flowlog.

func (GetFlowlogsResultOutput) ElementType added in v3.9.0

func (GetFlowlogsResultOutput) ElementType() reflect.Type

func (GetFlowlogsResultOutput) Flowlogs added in v3.9.0

func (GetFlowlogsResultOutput) Id added in v3.9.0

The provider-assigned unique ID for this managed resource.

func (GetFlowlogsResultOutput) Ids added in v3.9.0

A list of CEN flow log IDs.

func (GetFlowlogsResultOutput) LogStoreName added in v3.9.0

The name of the log store which is in the `projectName` SLS project.

func (GetFlowlogsResultOutput) NameRegex added in v3.9.0

func (GetFlowlogsResultOutput) Names added in v3.9.0

A list of CEN flow log names.

func (GetFlowlogsResultOutput) OutputFile added in v3.9.0

func (GetFlowlogsResultOutput) ProjectName added in v3.9.0

The name of the SLS project.

func (GetFlowlogsResultOutput) Status added in v3.9.0

The status of flowlog.

func (GetFlowlogsResultOutput) ToGetFlowlogsResultOutput added in v3.9.0

func (o GetFlowlogsResultOutput) ToGetFlowlogsResultOutput() GetFlowlogsResultOutput

func (GetFlowlogsResultOutput) ToGetFlowlogsResultOutputWithContext added in v3.9.0

func (o GetFlowlogsResultOutput) ToGetFlowlogsResultOutputWithContext(ctx context.Context) GetFlowlogsResultOutput

type GetInstanceAttachmentsArgs

type GetInstanceAttachmentsArgs struct {
	// The region to which the network to be queried belongs.
	ChildInstanceRegionId *string `pulumi:"childInstanceRegionId"`
	// The type of the associated network. Valid values: `VPC`, `VBR` and `CCN`.
	ChildInstanceType *string `pulumi:"childInstanceType"`
	// The ID of the CEN instance.
	InstanceId string  `pulumi:"instanceId"`
	OutputFile *string `pulumi:"outputFile"`
	// The status of the Cen Child Instance Attachment. Valid value: `Attaching`, `Attached` and `Aetaching`.
	Status *string `pulumi:"status"`
}

A collection of arguments for invoking getInstanceAttachments.

type GetInstanceAttachmentsAttachment

type GetInstanceAttachmentsAttachment struct {
	// The time when the network is associated with the CEN instance.
	ChildInstanceAttachTime string `pulumi:"childInstanceAttachTime"`
	// The ID of the network.
	ChildInstanceId string `pulumi:"childInstanceId"`
	// The ID of the account to which the network belongs.
	ChildInstanceOwnerId int `pulumi:"childInstanceOwnerId"`
	// The region to which the network to be queried belongs.
	ChildInstanceRegionId string `pulumi:"childInstanceRegionId"`
	// The type of the associated network. Valid values: `VPC`, `VBR` and `CCN`.
	ChildInstanceType string `pulumi:"childInstanceType"`
	// The ID of the CEN Instance Attachment.
	Id string `pulumi:"id"`
	// The ID of the CEN instance.
	InstanceId string `pulumi:"instanceId"`
	// The status of the Cen Child Instance Attachment. Valid value: `Attaching`, `Attached` and `Aetaching`.
	Status string `pulumi:"status"`
}

type GetInstanceAttachmentsAttachmentArgs

type GetInstanceAttachmentsAttachmentArgs struct {
	// The time when the network is associated with the CEN instance.
	ChildInstanceAttachTime pulumi.StringInput `pulumi:"childInstanceAttachTime"`
	// The ID of the network.
	ChildInstanceId pulumi.StringInput `pulumi:"childInstanceId"`
	// The ID of the account to which the network belongs.
	ChildInstanceOwnerId pulumi.IntInput `pulumi:"childInstanceOwnerId"`
	// The region to which the network to be queried belongs.
	ChildInstanceRegionId pulumi.StringInput `pulumi:"childInstanceRegionId"`
	// The type of the associated network. Valid values: `VPC`, `VBR` and `CCN`.
	ChildInstanceType pulumi.StringInput `pulumi:"childInstanceType"`
	// The ID of the CEN Instance Attachment.
	Id pulumi.StringInput `pulumi:"id"`
	// The ID of the CEN instance.
	InstanceId pulumi.StringInput `pulumi:"instanceId"`
	// The status of the Cen Child Instance Attachment. Valid value: `Attaching`, `Attached` and `Aetaching`.
	Status pulumi.StringInput `pulumi:"status"`
}

func (GetInstanceAttachmentsAttachmentArgs) ElementType

func (GetInstanceAttachmentsAttachmentArgs) ToGetInstanceAttachmentsAttachmentOutput

func (i GetInstanceAttachmentsAttachmentArgs) ToGetInstanceAttachmentsAttachmentOutput() GetInstanceAttachmentsAttachmentOutput

func (GetInstanceAttachmentsAttachmentArgs) ToGetInstanceAttachmentsAttachmentOutputWithContext

func (i GetInstanceAttachmentsAttachmentArgs) ToGetInstanceAttachmentsAttachmentOutputWithContext(ctx context.Context) GetInstanceAttachmentsAttachmentOutput

type GetInstanceAttachmentsAttachmentArray

type GetInstanceAttachmentsAttachmentArray []GetInstanceAttachmentsAttachmentInput

func (GetInstanceAttachmentsAttachmentArray) ElementType

func (GetInstanceAttachmentsAttachmentArray) ToGetInstanceAttachmentsAttachmentArrayOutput

func (i GetInstanceAttachmentsAttachmentArray) ToGetInstanceAttachmentsAttachmentArrayOutput() GetInstanceAttachmentsAttachmentArrayOutput

func (GetInstanceAttachmentsAttachmentArray) ToGetInstanceAttachmentsAttachmentArrayOutputWithContext

func (i GetInstanceAttachmentsAttachmentArray) ToGetInstanceAttachmentsAttachmentArrayOutputWithContext(ctx context.Context) GetInstanceAttachmentsAttachmentArrayOutput

type GetInstanceAttachmentsAttachmentArrayInput

type GetInstanceAttachmentsAttachmentArrayInput interface {
	pulumi.Input

	ToGetInstanceAttachmentsAttachmentArrayOutput() GetInstanceAttachmentsAttachmentArrayOutput
	ToGetInstanceAttachmentsAttachmentArrayOutputWithContext(context.Context) GetInstanceAttachmentsAttachmentArrayOutput
}

GetInstanceAttachmentsAttachmentArrayInput is an input type that accepts GetInstanceAttachmentsAttachmentArray and GetInstanceAttachmentsAttachmentArrayOutput values. You can construct a concrete instance of `GetInstanceAttachmentsAttachmentArrayInput` via:

GetInstanceAttachmentsAttachmentArray{ GetInstanceAttachmentsAttachmentArgs{...} }

type GetInstanceAttachmentsAttachmentArrayOutput

type GetInstanceAttachmentsAttachmentArrayOutput struct{ *pulumi.OutputState }

func (GetInstanceAttachmentsAttachmentArrayOutput) ElementType

func (GetInstanceAttachmentsAttachmentArrayOutput) Index

func (GetInstanceAttachmentsAttachmentArrayOutput) ToGetInstanceAttachmentsAttachmentArrayOutput

func (o GetInstanceAttachmentsAttachmentArrayOutput) ToGetInstanceAttachmentsAttachmentArrayOutput() GetInstanceAttachmentsAttachmentArrayOutput

func (GetInstanceAttachmentsAttachmentArrayOutput) ToGetInstanceAttachmentsAttachmentArrayOutputWithContext

func (o GetInstanceAttachmentsAttachmentArrayOutput) ToGetInstanceAttachmentsAttachmentArrayOutputWithContext(ctx context.Context) GetInstanceAttachmentsAttachmentArrayOutput

type GetInstanceAttachmentsAttachmentInput

type GetInstanceAttachmentsAttachmentInput interface {
	pulumi.Input

	ToGetInstanceAttachmentsAttachmentOutput() GetInstanceAttachmentsAttachmentOutput
	ToGetInstanceAttachmentsAttachmentOutputWithContext(context.Context) GetInstanceAttachmentsAttachmentOutput
}

GetInstanceAttachmentsAttachmentInput is an input type that accepts GetInstanceAttachmentsAttachmentArgs and GetInstanceAttachmentsAttachmentOutput values. You can construct a concrete instance of `GetInstanceAttachmentsAttachmentInput` via:

GetInstanceAttachmentsAttachmentArgs{...}

type GetInstanceAttachmentsAttachmentOutput

type GetInstanceAttachmentsAttachmentOutput struct{ *pulumi.OutputState }

func (GetInstanceAttachmentsAttachmentOutput) ChildInstanceAttachTime

func (o GetInstanceAttachmentsAttachmentOutput) ChildInstanceAttachTime() pulumi.StringOutput

The time when the network is associated with the CEN instance.

func (GetInstanceAttachmentsAttachmentOutput) ChildInstanceId

The ID of the network.

func (GetInstanceAttachmentsAttachmentOutput) ChildInstanceOwnerId

func (o GetInstanceAttachmentsAttachmentOutput) ChildInstanceOwnerId() pulumi.IntOutput

The ID of the account to which the network belongs.

func (GetInstanceAttachmentsAttachmentOutput) ChildInstanceRegionId

The region to which the network to be queried belongs.

func (GetInstanceAttachmentsAttachmentOutput) ChildInstanceType

The type of the associated network. Valid values: `VPC`, `VBR` and `CCN`.

func (GetInstanceAttachmentsAttachmentOutput) ElementType

func (GetInstanceAttachmentsAttachmentOutput) Id

The ID of the CEN Instance Attachment.

func (GetInstanceAttachmentsAttachmentOutput) InstanceId

The ID of the CEN instance.

func (GetInstanceAttachmentsAttachmentOutput) Status

The status of the Cen Child Instance Attachment. Valid value: `Attaching`, `Attached` and `Aetaching`.

func (GetInstanceAttachmentsAttachmentOutput) ToGetInstanceAttachmentsAttachmentOutput

func (o GetInstanceAttachmentsAttachmentOutput) ToGetInstanceAttachmentsAttachmentOutput() GetInstanceAttachmentsAttachmentOutput

func (GetInstanceAttachmentsAttachmentOutput) ToGetInstanceAttachmentsAttachmentOutputWithContext

func (o GetInstanceAttachmentsAttachmentOutput) ToGetInstanceAttachmentsAttachmentOutputWithContext(ctx context.Context) GetInstanceAttachmentsAttachmentOutput

type GetInstanceAttachmentsOutputArgs added in v3.9.0

type GetInstanceAttachmentsOutputArgs struct {
	// The region to which the network to be queried belongs.
	ChildInstanceRegionId pulumi.StringPtrInput `pulumi:"childInstanceRegionId"`
	// The type of the associated network. Valid values: `VPC`, `VBR` and `CCN`.
	ChildInstanceType pulumi.StringPtrInput `pulumi:"childInstanceType"`
	// The ID of the CEN instance.
	InstanceId pulumi.StringInput    `pulumi:"instanceId"`
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
	// The status of the Cen Child Instance Attachment. Valid value: `Attaching`, `Attached` and `Aetaching`.
	Status pulumi.StringPtrInput `pulumi:"status"`
}

A collection of arguments for invoking getInstanceAttachments.

func (GetInstanceAttachmentsOutputArgs) ElementType added in v3.9.0

type GetInstanceAttachmentsResult

type GetInstanceAttachmentsResult struct {
	// A list of CEN Instance Attachments. Each element contains the following attributes:
	Attachments []GetInstanceAttachmentsAttachment `pulumi:"attachments"`
	// The ID of the region to which the network belongs.
	ChildInstanceRegionId *string `pulumi:"childInstanceRegionId"`
	// The type of the associated network.
	ChildInstanceType *string `pulumi:"childInstanceType"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// A list of CEN Instance Attachment IDs.
	Ids []string `pulumi:"ids"`
	// The ID of the CEN instance.
	InstanceId string  `pulumi:"instanceId"`
	OutputFile *string `pulumi:"outputFile"`
	// The status of the network.
	Status *string `pulumi:"status"`
}

A collection of values returned by getInstanceAttachments.

func GetInstanceAttachments

func GetInstanceAttachments(ctx *pulumi.Context, args *GetInstanceAttachmentsArgs, opts ...pulumi.InvokeOption) (*GetInstanceAttachmentsResult, error)

This data source provides Cen Instance Attachments of the current Alibaba Cloud User.

> **NOTE:** Available in v1.97.0+.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/cen"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := cen.GetInstanceAttachments(ctx, &cen.GetInstanceAttachmentsArgs{
			InstanceId: "cen-o40h17ll9w********",
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("theFirstAttachmentedInstanceId", example.Attachments[0].ChildInstanceId)
		return nil
	})
}

```

type GetInstanceAttachmentsResultOutput added in v3.9.0

type GetInstanceAttachmentsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getInstanceAttachments.

func GetInstanceAttachmentsOutput added in v3.9.0

func (GetInstanceAttachmentsResultOutput) Attachments added in v3.9.0

A list of CEN Instance Attachments. Each element contains the following attributes:

func (GetInstanceAttachmentsResultOutput) ChildInstanceRegionId added in v3.9.0

func (o GetInstanceAttachmentsResultOutput) ChildInstanceRegionId() pulumi.StringPtrOutput

The ID of the region to which the network belongs.

func (GetInstanceAttachmentsResultOutput) ChildInstanceType added in v3.9.0

The type of the associated network.

func (GetInstanceAttachmentsResultOutput) ElementType added in v3.9.0

func (GetInstanceAttachmentsResultOutput) Id added in v3.9.0

The provider-assigned unique ID for this managed resource.

func (GetInstanceAttachmentsResultOutput) Ids added in v3.9.0

A list of CEN Instance Attachment IDs.

func (GetInstanceAttachmentsResultOutput) InstanceId added in v3.9.0

The ID of the CEN instance.

func (GetInstanceAttachmentsResultOutput) OutputFile added in v3.9.0

func (GetInstanceAttachmentsResultOutput) Status added in v3.9.0

The status of the network.

func (GetInstanceAttachmentsResultOutput) ToGetInstanceAttachmentsResultOutput added in v3.9.0

func (o GetInstanceAttachmentsResultOutput) ToGetInstanceAttachmentsResultOutput() GetInstanceAttachmentsResultOutput

func (GetInstanceAttachmentsResultOutput) ToGetInstanceAttachmentsResultOutputWithContext added in v3.9.0

func (o GetInstanceAttachmentsResultOutput) ToGetInstanceAttachmentsResultOutputWithContext(ctx context.Context) GetInstanceAttachmentsResultOutput

type GetInstancesArgs

type GetInstancesArgs struct {
	// A list of CEN instances IDs.
	Ids []string `pulumi:"ids"`
	// A regex string to filter CEN instances by name.
	NameRegex  *string `pulumi:"nameRegex"`
	OutputFile *string `pulumi:"outputFile"`
	// The status of CEN instance. Valid value: `Active`, `Creating` and `Deleting`.
	Status *string `pulumi:"status"`
	// A mapping of tags to assign to the resource.
	Tags map[string]interface{} `pulumi:"tags"`
}

A collection of arguments for invoking getInstances.

type GetInstancesInstance

type GetInstancesInstance struct {
	// List of CEN Bandwidth Package IDs in the specified CEN instance.
	CenBandwidthPackageIds []string `pulumi:"cenBandwidthPackageIds"`
	// ID of the CEN instance.
	CenId string `pulumi:"cenId"`
	// Name of the CEN instance.
	CenInstanceName string `pulumi:"cenInstanceName"`
	// The creation time of the CEN Instance.
	CreateTime string `pulumi:"createTime"`
	// Description of the CEN instance.
	Description string `pulumi:"description"`
	// ID of the CEN instance.
	Id string `pulumi:"id"`
	// Name of the CEN instance.
	Name string `pulumi:"name"`
	// Indicates the allowed level of CIDR block overlapping.
	ProtectionLevel string `pulumi:"protectionLevel"`
	// The status of CEN instance. Valid value: `Active`, `Creating` and `Deleting`.
	Status string `pulumi:"status"`
	// A mapping of tags to assign to the resource.
	Tags map[string]interface{} `pulumi:"tags"`
}

type GetInstancesInstanceArgs

type GetInstancesInstanceArgs struct {
	// List of CEN Bandwidth Package IDs in the specified CEN instance.
	CenBandwidthPackageIds pulumi.StringArrayInput `pulumi:"cenBandwidthPackageIds"`
	// ID of the CEN instance.
	CenId pulumi.StringInput `pulumi:"cenId"`
	// Name of the CEN instance.
	CenInstanceName pulumi.StringInput `pulumi:"cenInstanceName"`
	// The creation time of the CEN Instance.
	CreateTime pulumi.StringInput `pulumi:"createTime"`
	// Description of the CEN instance.
	Description pulumi.StringInput `pulumi:"description"`
	// ID of the CEN instance.
	Id pulumi.StringInput `pulumi:"id"`
	// Name of the CEN instance.
	Name pulumi.StringInput `pulumi:"name"`
	// Indicates the allowed level of CIDR block overlapping.
	ProtectionLevel pulumi.StringInput `pulumi:"protectionLevel"`
	// The status of CEN instance. Valid value: `Active`, `Creating` and `Deleting`.
	Status pulumi.StringInput `pulumi:"status"`
	// A mapping of tags to assign to the resource.
	Tags pulumi.MapInput `pulumi:"tags"`
}

func (GetInstancesInstanceArgs) ElementType

func (GetInstancesInstanceArgs) ElementType() reflect.Type

func (GetInstancesInstanceArgs) ToGetInstancesInstanceOutput

func (i GetInstancesInstanceArgs) ToGetInstancesInstanceOutput() GetInstancesInstanceOutput

func (GetInstancesInstanceArgs) ToGetInstancesInstanceOutputWithContext

func (i GetInstancesInstanceArgs) ToGetInstancesInstanceOutputWithContext(ctx context.Context) GetInstancesInstanceOutput

type GetInstancesInstanceArray

type GetInstancesInstanceArray []GetInstancesInstanceInput

func (GetInstancesInstanceArray) ElementType

func (GetInstancesInstanceArray) ElementType() reflect.Type

func (GetInstancesInstanceArray) ToGetInstancesInstanceArrayOutput

func (i GetInstancesInstanceArray) ToGetInstancesInstanceArrayOutput() GetInstancesInstanceArrayOutput

func (GetInstancesInstanceArray) ToGetInstancesInstanceArrayOutputWithContext

func (i GetInstancesInstanceArray) ToGetInstancesInstanceArrayOutputWithContext(ctx context.Context) GetInstancesInstanceArrayOutput

type GetInstancesInstanceArrayInput

type GetInstancesInstanceArrayInput interface {
	pulumi.Input

	ToGetInstancesInstanceArrayOutput() GetInstancesInstanceArrayOutput
	ToGetInstancesInstanceArrayOutputWithContext(context.Context) GetInstancesInstanceArrayOutput
}

GetInstancesInstanceArrayInput is an input type that accepts GetInstancesInstanceArray and GetInstancesInstanceArrayOutput values. You can construct a concrete instance of `GetInstancesInstanceArrayInput` via:

GetInstancesInstanceArray{ GetInstancesInstanceArgs{...} }

type GetInstancesInstanceArrayOutput

type GetInstancesInstanceArrayOutput struct{ *pulumi.OutputState }

func (GetInstancesInstanceArrayOutput) ElementType

func (GetInstancesInstanceArrayOutput) Index

func (GetInstancesInstanceArrayOutput) ToGetInstancesInstanceArrayOutput

func (o GetInstancesInstanceArrayOutput) ToGetInstancesInstanceArrayOutput() GetInstancesInstanceArrayOutput

func (GetInstancesInstanceArrayOutput) ToGetInstancesInstanceArrayOutputWithContext

func (o GetInstancesInstanceArrayOutput) ToGetInstancesInstanceArrayOutputWithContext(ctx context.Context) GetInstancesInstanceArrayOutput

type GetInstancesInstanceInput

type GetInstancesInstanceInput interface {
	pulumi.Input

	ToGetInstancesInstanceOutput() GetInstancesInstanceOutput
	ToGetInstancesInstanceOutputWithContext(context.Context) GetInstancesInstanceOutput
}

GetInstancesInstanceInput is an input type that accepts GetInstancesInstanceArgs and GetInstancesInstanceOutput values. You can construct a concrete instance of `GetInstancesInstanceInput` via:

GetInstancesInstanceArgs{...}

type GetInstancesInstanceOutput

type GetInstancesInstanceOutput struct{ *pulumi.OutputState }

func (GetInstancesInstanceOutput) CenBandwidthPackageIds

func (o GetInstancesInstanceOutput) CenBandwidthPackageIds() pulumi.StringArrayOutput

List of CEN Bandwidth Package IDs in the specified CEN instance.

func (GetInstancesInstanceOutput) CenId

ID of the CEN instance.

func (GetInstancesInstanceOutput) CenInstanceName

func (o GetInstancesInstanceOutput) CenInstanceName() pulumi.StringOutput

Name of the CEN instance.

func (GetInstancesInstanceOutput) CreateTime added in v3.12.0

The creation time of the CEN Instance.

func (GetInstancesInstanceOutput) Description

Description of the CEN instance.

func (GetInstancesInstanceOutput) ElementType

func (GetInstancesInstanceOutput) ElementType() reflect.Type

func (GetInstancesInstanceOutput) Id

ID of the CEN instance.

func (GetInstancesInstanceOutput) Name

Name of the CEN instance.

func (GetInstancesInstanceOutput) ProtectionLevel

func (o GetInstancesInstanceOutput) ProtectionLevel() pulumi.StringOutput

Indicates the allowed level of CIDR block overlapping.

func (GetInstancesInstanceOutput) Status

The status of CEN instance. Valid value: `Active`, `Creating` and `Deleting`.

func (GetInstancesInstanceOutput) Tags

A mapping of tags to assign to the resource.

func (GetInstancesInstanceOutput) ToGetInstancesInstanceOutput

func (o GetInstancesInstanceOutput) ToGetInstancesInstanceOutput() GetInstancesInstanceOutput

func (GetInstancesInstanceOutput) ToGetInstancesInstanceOutputWithContext

func (o GetInstancesInstanceOutput) ToGetInstancesInstanceOutputWithContext(ctx context.Context) GetInstancesInstanceOutput

type GetInstancesOutputArgs added in v3.9.0

type GetInstancesOutputArgs struct {
	// A list of CEN instances IDs.
	Ids pulumi.StringArrayInput `pulumi:"ids"`
	// A regex string to filter CEN instances by name.
	NameRegex  pulumi.StringPtrInput `pulumi:"nameRegex"`
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
	// The status of CEN instance. Valid value: `Active`, `Creating` and `Deleting`.
	Status pulumi.StringPtrInput `pulumi:"status"`
	// A mapping of tags to assign to the resource.
	Tags pulumi.MapInput `pulumi:"tags"`
}

A collection of arguments for invoking getInstances.

func (GetInstancesOutputArgs) ElementType added in v3.9.0

func (GetInstancesOutputArgs) ElementType() reflect.Type

type GetInstancesResult

type GetInstancesResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// A list of CEN instances IDs.
	Ids []string `pulumi:"ids"`
	// A list of CEN instances. Each element contains the following attributes:
	Instances []GetInstancesInstance `pulumi:"instances"`
	NameRegex *string                `pulumi:"nameRegex"`
	// A list of CEN instances names.
	Names      []string `pulumi:"names"`
	OutputFile *string  `pulumi:"outputFile"`
	// Status of the CEN instance, including "Creating", "Active" and "Deleting".
	Status *string `pulumi:"status"`
	// A map of tags assigned to the Cen Instance.
	Tags map[string]interface{} `pulumi:"tags"`
}

A collection of values returned by getInstances.

func GetInstances

func GetInstances(ctx *pulumi.Context, args *GetInstancesArgs, opts ...pulumi.InvokeOption) (*GetInstancesResult, error)

This data source provides CEN instances available to the user.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/cen"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		opt0 := "^foo"
		cenInstancesDs, err := cen.GetInstances(ctx, &cen.GetInstancesArgs{
			Ids: []string{
				"cen-id1",
			},
			NameRegex: &opt0,
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("firstCenInstanceId", cenInstancesDs.Instances[0].Id)
		return nil
	})
}

```

type GetInstancesResultOutput added in v3.9.0

type GetInstancesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getInstances.

func GetInstancesOutput added in v3.9.0

func GetInstancesOutput(ctx *pulumi.Context, args GetInstancesOutputArgs, opts ...pulumi.InvokeOption) GetInstancesResultOutput

func (GetInstancesResultOutput) ElementType added in v3.9.0

func (GetInstancesResultOutput) ElementType() reflect.Type

func (GetInstancesResultOutput) Id added in v3.9.0

The provider-assigned unique ID for this managed resource.

func (GetInstancesResultOutput) Ids added in v3.9.0

A list of CEN instances IDs.

func (GetInstancesResultOutput) Instances added in v3.9.0

A list of CEN instances. Each element contains the following attributes:

func (GetInstancesResultOutput) NameRegex added in v3.9.0

func (GetInstancesResultOutput) Names added in v3.9.0

A list of CEN instances names.

func (GetInstancesResultOutput) OutputFile added in v3.9.0

func (GetInstancesResultOutput) Status added in v3.9.0

Status of the CEN instance, including "Creating", "Active" and "Deleting".

func (GetInstancesResultOutput) Tags added in v3.9.0

A map of tags assigned to the Cen Instance.

func (GetInstancesResultOutput) ToGetInstancesResultOutput added in v3.9.0

func (o GetInstancesResultOutput) ToGetInstancesResultOutput() GetInstancesResultOutput

func (GetInstancesResultOutput) ToGetInstancesResultOutputWithContext added in v3.9.0

func (o GetInstancesResultOutput) ToGetInstancesResultOutputWithContext(ctx context.Context) GetInstancesResultOutput

type GetPrivateZonesArgs

type GetPrivateZonesArgs struct {
	// The ID of the CEN instance.
	CenId string `pulumi:"cenId"`
	// The service region. The service region is the target region of the PrivateZone service accessed through CEN.
	HostRegionId *string `pulumi:"hostRegionId"`
	// A list of CEN private zone IDs.
	// * ` hostRegionId  ` - (Optional) The service region is the target region of the PrivateZone service accessed through CEN.
	Ids        []string `pulumi:"ids"`
	OutputFile *string  `pulumi:"outputFile"`
	// The status of the PrivateZone service, including `Creating`, `Active` and `Deleting`.
	Status *string `pulumi:"status"`
}

A collection of arguments for invoking getPrivateZones.

type GetPrivateZonesOutputArgs added in v3.9.0

type GetPrivateZonesOutputArgs struct {
	// The ID of the CEN instance.
	CenId pulumi.StringInput `pulumi:"cenId"`
	// The service region. The service region is the target region of the PrivateZone service accessed through CEN.
	HostRegionId pulumi.StringPtrInput `pulumi:"hostRegionId"`
	// A list of CEN private zone IDs.
	// * ` hostRegionId  ` - (Optional) The service region is the target region of the PrivateZone service accessed through CEN.
	Ids        pulumi.StringArrayInput `pulumi:"ids"`
	OutputFile pulumi.StringPtrInput   `pulumi:"outputFile"`
	// The status of the PrivateZone service, including `Creating`, `Active` and `Deleting`.
	Status pulumi.StringPtrInput `pulumi:"status"`
}

A collection of arguments for invoking getPrivateZones.

func (GetPrivateZonesOutputArgs) ElementType added in v3.9.0

func (GetPrivateZonesOutputArgs) ElementType() reflect.Type

type GetPrivateZonesResult

type GetPrivateZonesResult struct {
	// The ID of the CEN instance.
	CenId string `pulumi:"cenId"`
	// The service region. The service region is the target region of the PrivateZone service accessed through CEN.
	HostRegionId *string `pulumi:"hostRegionId"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// A list of CEN private zone IDs.
	Ids        []string `pulumi:"ids"`
	OutputFile *string  `pulumi:"outputFile"`
	// The status of the PrivateZone service.
	Status *string `pulumi:"status"`
	// A list of CEN private zones. Each element contains the following attributes:
	Zones []GetPrivateZonesZone `pulumi:"zones"`
}

A collection of values returned by getPrivateZones.

func GetPrivateZones

func GetPrivateZones(ctx *pulumi.Context, args *GetPrivateZonesArgs, opts ...pulumi.InvokeOption) (*GetPrivateZonesResult, error)

This data source provides CEN Private Zones available to the user.

> **NOTE:** Available in v1.88.0+.

type GetPrivateZonesResultOutput added in v3.9.0

type GetPrivateZonesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getPrivateZones.

func GetPrivateZonesOutput added in v3.9.0

func (GetPrivateZonesResultOutput) CenId added in v3.9.0

The ID of the CEN instance.

func (GetPrivateZonesResultOutput) ElementType added in v3.9.0

func (GetPrivateZonesResultOutput) HostRegionId added in v3.9.0

The service region. The service region is the target region of the PrivateZone service accessed through CEN.

func (GetPrivateZonesResultOutput) Id added in v3.9.0

The provider-assigned unique ID for this managed resource.

func (GetPrivateZonesResultOutput) Ids added in v3.9.0

A list of CEN private zone IDs.

func (GetPrivateZonesResultOutput) OutputFile added in v3.9.0

func (GetPrivateZonesResultOutput) Status added in v3.9.0

The status of the PrivateZone service.

func (GetPrivateZonesResultOutput) ToGetPrivateZonesResultOutput added in v3.9.0

func (o GetPrivateZonesResultOutput) ToGetPrivateZonesResultOutput() GetPrivateZonesResultOutput

func (GetPrivateZonesResultOutput) ToGetPrivateZonesResultOutputWithContext added in v3.9.0

func (o GetPrivateZonesResultOutput) ToGetPrivateZonesResultOutputWithContext(ctx context.Context) GetPrivateZonesResultOutput

func (GetPrivateZonesResultOutput) Zones added in v3.9.0

A list of CEN private zones. Each element contains the following attributes:

type GetPrivateZonesZone

type GetPrivateZonesZone struct {
	// The access region. The access region is the region of the cloud resource that accesses the PrivateZone service through CEN.
	AccessRegionId string `pulumi:"accessRegionId"`
	// The ID of the CEN instance.
	CenId string `pulumi:"cenId"`
	// The service region. The service region is the target region of the PrivateZone service accessed through CEN.
	HostRegionId string `pulumi:"hostRegionId"`
	// The VPC that belongs to the service region.
	HostVpcId string `pulumi:"hostVpcId"`
	// The DNS IP addresses of the PrivateZone service.
	PrivateZoneDnsServers string `pulumi:"privateZoneDnsServers"`
	// The status of the PrivateZone service, including `Creating`, `Active` and `Deleting`.
	Status string `pulumi:"status"`
}

type GetPrivateZonesZoneArgs

type GetPrivateZonesZoneArgs struct {
	// The access region. The access region is the region of the cloud resource that accesses the PrivateZone service through CEN.
	AccessRegionId pulumi.StringInput `pulumi:"accessRegionId"`
	// The ID of the CEN instance.
	CenId pulumi.StringInput `pulumi:"cenId"`
	// The service region. The service region is the target region of the PrivateZone service accessed through CEN.
	HostRegionId pulumi.StringInput `pulumi:"hostRegionId"`
	// The VPC that belongs to the service region.
	HostVpcId pulumi.StringInput `pulumi:"hostVpcId"`
	// The DNS IP addresses of the PrivateZone service.
	PrivateZoneDnsServers pulumi.StringInput `pulumi:"privateZoneDnsServers"`
	// The status of the PrivateZone service, including `Creating`, `Active` and `Deleting`.
	Status pulumi.StringInput `pulumi:"status"`
}

func (GetPrivateZonesZoneArgs) ElementType

func (GetPrivateZonesZoneArgs) ElementType() reflect.Type

func (GetPrivateZonesZoneArgs) ToGetPrivateZonesZoneOutput

func (i GetPrivateZonesZoneArgs) ToGetPrivateZonesZoneOutput() GetPrivateZonesZoneOutput

func (GetPrivateZonesZoneArgs) ToGetPrivateZonesZoneOutputWithContext

func (i GetPrivateZonesZoneArgs) ToGetPrivateZonesZoneOutputWithContext(ctx context.Context) GetPrivateZonesZoneOutput

type GetPrivateZonesZoneArray

type GetPrivateZonesZoneArray []GetPrivateZonesZoneInput

func (GetPrivateZonesZoneArray) ElementType

func (GetPrivateZonesZoneArray) ElementType() reflect.Type

func (GetPrivateZonesZoneArray) ToGetPrivateZonesZoneArrayOutput

func (i GetPrivateZonesZoneArray) ToGetPrivateZonesZoneArrayOutput() GetPrivateZonesZoneArrayOutput

func (GetPrivateZonesZoneArray) ToGetPrivateZonesZoneArrayOutputWithContext

func (i GetPrivateZonesZoneArray) ToGetPrivateZonesZoneArrayOutputWithContext(ctx context.Context) GetPrivateZonesZoneArrayOutput

type GetPrivateZonesZoneArrayInput

type GetPrivateZonesZoneArrayInput interface {
	pulumi.Input

	ToGetPrivateZonesZoneArrayOutput() GetPrivateZonesZoneArrayOutput
	ToGetPrivateZonesZoneArrayOutputWithContext(context.Context) GetPrivateZonesZoneArrayOutput
}

GetPrivateZonesZoneArrayInput is an input type that accepts GetPrivateZonesZoneArray and GetPrivateZonesZoneArrayOutput values. You can construct a concrete instance of `GetPrivateZonesZoneArrayInput` via:

GetPrivateZonesZoneArray{ GetPrivateZonesZoneArgs{...} }

type GetPrivateZonesZoneArrayOutput

type GetPrivateZonesZoneArrayOutput struct{ *pulumi.OutputState }

func (GetPrivateZonesZoneArrayOutput) ElementType

func (GetPrivateZonesZoneArrayOutput) Index

func (GetPrivateZonesZoneArrayOutput) ToGetPrivateZonesZoneArrayOutput

func (o GetPrivateZonesZoneArrayOutput) ToGetPrivateZonesZoneArrayOutput() GetPrivateZonesZoneArrayOutput

func (GetPrivateZonesZoneArrayOutput) ToGetPrivateZonesZoneArrayOutputWithContext

func (o GetPrivateZonesZoneArrayOutput) ToGetPrivateZonesZoneArrayOutputWithContext(ctx context.Context) GetPrivateZonesZoneArrayOutput

type GetPrivateZonesZoneInput

type GetPrivateZonesZoneInput interface {
	pulumi.Input

	ToGetPrivateZonesZoneOutput() GetPrivateZonesZoneOutput
	ToGetPrivateZonesZoneOutputWithContext(context.Context) GetPrivateZonesZoneOutput
}

GetPrivateZonesZoneInput is an input type that accepts GetPrivateZonesZoneArgs and GetPrivateZonesZoneOutput values. You can construct a concrete instance of `GetPrivateZonesZoneInput` via:

GetPrivateZonesZoneArgs{...}

type GetPrivateZonesZoneOutput

type GetPrivateZonesZoneOutput struct{ *pulumi.OutputState }

func (GetPrivateZonesZoneOutput) AccessRegionId

func (o GetPrivateZonesZoneOutput) AccessRegionId() pulumi.StringOutput

The access region. The access region is the region of the cloud resource that accesses the PrivateZone service through CEN.

func (GetPrivateZonesZoneOutput) CenId

The ID of the CEN instance.

func (GetPrivateZonesZoneOutput) ElementType

func (GetPrivateZonesZoneOutput) ElementType() reflect.Type

func (GetPrivateZonesZoneOutput) HostRegionId

The service region. The service region is the target region of the PrivateZone service accessed through CEN.

func (GetPrivateZonesZoneOutput) HostVpcId

The VPC that belongs to the service region.

func (GetPrivateZonesZoneOutput) PrivateZoneDnsServers

func (o GetPrivateZonesZoneOutput) PrivateZoneDnsServers() pulumi.StringOutput

The DNS IP addresses of the PrivateZone service.

func (GetPrivateZonesZoneOutput) Status

The status of the PrivateZone service, including `Creating`, `Active` and `Deleting`.

func (GetPrivateZonesZoneOutput) ToGetPrivateZonesZoneOutput

func (o GetPrivateZonesZoneOutput) ToGetPrivateZonesZoneOutput() GetPrivateZonesZoneOutput

func (GetPrivateZonesZoneOutput) ToGetPrivateZonesZoneOutputWithContext

func (o GetPrivateZonesZoneOutput) ToGetPrivateZonesZoneOutputWithContext(ctx context.Context) GetPrivateZonesZoneOutput

type GetRegionRouteEntriesArgs

type GetRegionRouteEntriesArgs struct {
	// ID of the CEN instance.
	InstanceId string  `pulumi:"instanceId"`
	OutputFile *string `pulumi:"outputFile"`
	// ID of the region.
	RegionId string `pulumi:"regionId"`
}

A collection of arguments for invoking getRegionRouteEntries.

type GetRegionRouteEntriesEntry

type GetRegionRouteEntriesEntry struct {
	// The destination CIDR block of the route entry.
	CidrBlock string `pulumi:"cidrBlock"`
	// ID of the next hop.
	NextHopId string `pulumi:"nextHopId"`
	// ID of the region where the next hop is located.
	NextHopRegionId string `pulumi:"nextHopRegionId"`
	// Type of the next hop.
	NextHopType string `pulumi:"nextHopType"`
	// Type of the route entry.
	Type string `pulumi:"type"`
}

type GetRegionRouteEntriesEntryArgs

type GetRegionRouteEntriesEntryArgs struct {
	// The destination CIDR block of the route entry.
	CidrBlock pulumi.StringInput `pulumi:"cidrBlock"`
	// ID of the next hop.
	NextHopId pulumi.StringInput `pulumi:"nextHopId"`
	// ID of the region where the next hop is located.
	NextHopRegionId pulumi.StringInput `pulumi:"nextHopRegionId"`
	// Type of the next hop.
	NextHopType pulumi.StringInput `pulumi:"nextHopType"`
	// Type of the route entry.
	Type pulumi.StringInput `pulumi:"type"`
}

func (GetRegionRouteEntriesEntryArgs) ElementType

func (GetRegionRouteEntriesEntryArgs) ToGetRegionRouteEntriesEntryOutput

func (i GetRegionRouteEntriesEntryArgs) ToGetRegionRouteEntriesEntryOutput() GetRegionRouteEntriesEntryOutput

func (GetRegionRouteEntriesEntryArgs) ToGetRegionRouteEntriesEntryOutputWithContext

func (i GetRegionRouteEntriesEntryArgs) ToGetRegionRouteEntriesEntryOutputWithContext(ctx context.Context) GetRegionRouteEntriesEntryOutput

type GetRegionRouteEntriesEntryArray

type GetRegionRouteEntriesEntryArray []GetRegionRouteEntriesEntryInput

func (GetRegionRouteEntriesEntryArray) ElementType

func (GetRegionRouteEntriesEntryArray) ToGetRegionRouteEntriesEntryArrayOutput

func (i GetRegionRouteEntriesEntryArray) ToGetRegionRouteEntriesEntryArrayOutput() GetRegionRouteEntriesEntryArrayOutput

func (GetRegionRouteEntriesEntryArray) ToGetRegionRouteEntriesEntryArrayOutputWithContext

func (i GetRegionRouteEntriesEntryArray) ToGetRegionRouteEntriesEntryArrayOutputWithContext(ctx context.Context) GetRegionRouteEntriesEntryArrayOutput

type GetRegionRouteEntriesEntryArrayInput

type GetRegionRouteEntriesEntryArrayInput interface {
	pulumi.Input

	ToGetRegionRouteEntriesEntryArrayOutput() GetRegionRouteEntriesEntryArrayOutput
	ToGetRegionRouteEntriesEntryArrayOutputWithContext(context.Context) GetRegionRouteEntriesEntryArrayOutput
}

GetRegionRouteEntriesEntryArrayInput is an input type that accepts GetRegionRouteEntriesEntryArray and GetRegionRouteEntriesEntryArrayOutput values. You can construct a concrete instance of `GetRegionRouteEntriesEntryArrayInput` via:

GetRegionRouteEntriesEntryArray{ GetRegionRouteEntriesEntryArgs{...} }

type GetRegionRouteEntriesEntryArrayOutput

type GetRegionRouteEntriesEntryArrayOutput struct{ *pulumi.OutputState }

func (GetRegionRouteEntriesEntryArrayOutput) ElementType

func (GetRegionRouteEntriesEntryArrayOutput) Index

func (GetRegionRouteEntriesEntryArrayOutput) ToGetRegionRouteEntriesEntryArrayOutput

func (o GetRegionRouteEntriesEntryArrayOutput) ToGetRegionRouteEntriesEntryArrayOutput() GetRegionRouteEntriesEntryArrayOutput

func (GetRegionRouteEntriesEntryArrayOutput) ToGetRegionRouteEntriesEntryArrayOutputWithContext

func (o GetRegionRouteEntriesEntryArrayOutput) ToGetRegionRouteEntriesEntryArrayOutputWithContext(ctx context.Context) GetRegionRouteEntriesEntryArrayOutput

type GetRegionRouteEntriesEntryInput

type GetRegionRouteEntriesEntryInput interface {
	pulumi.Input

	ToGetRegionRouteEntriesEntryOutput() GetRegionRouteEntriesEntryOutput
	ToGetRegionRouteEntriesEntryOutputWithContext(context.Context) GetRegionRouteEntriesEntryOutput
}

GetRegionRouteEntriesEntryInput is an input type that accepts GetRegionRouteEntriesEntryArgs and GetRegionRouteEntriesEntryOutput values. You can construct a concrete instance of `GetRegionRouteEntriesEntryInput` via:

GetRegionRouteEntriesEntryArgs{...}

type GetRegionRouteEntriesEntryOutput

type GetRegionRouteEntriesEntryOutput struct{ *pulumi.OutputState }

func (GetRegionRouteEntriesEntryOutput) CidrBlock

The destination CIDR block of the route entry.

func (GetRegionRouteEntriesEntryOutput) ElementType

func (GetRegionRouteEntriesEntryOutput) NextHopId

ID of the next hop.

func (GetRegionRouteEntriesEntryOutput) NextHopRegionId

ID of the region where the next hop is located.

func (GetRegionRouteEntriesEntryOutput) NextHopType

Type of the next hop.

func (GetRegionRouteEntriesEntryOutput) ToGetRegionRouteEntriesEntryOutput

func (o GetRegionRouteEntriesEntryOutput) ToGetRegionRouteEntriesEntryOutput() GetRegionRouteEntriesEntryOutput

func (GetRegionRouteEntriesEntryOutput) ToGetRegionRouteEntriesEntryOutputWithContext

func (o GetRegionRouteEntriesEntryOutput) ToGetRegionRouteEntriesEntryOutputWithContext(ctx context.Context) GetRegionRouteEntriesEntryOutput

func (GetRegionRouteEntriesEntryOutput) Type

Type of the route entry.

type GetRegionRouteEntriesOutputArgs added in v3.9.0

type GetRegionRouteEntriesOutputArgs struct {
	// ID of the CEN instance.
	InstanceId pulumi.StringInput    `pulumi:"instanceId"`
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
	// ID of the region.
	RegionId pulumi.StringInput `pulumi:"regionId"`
}

A collection of arguments for invoking getRegionRouteEntries.

func (GetRegionRouteEntriesOutputArgs) ElementType added in v3.9.0

type GetRegionRouteEntriesResult

type GetRegionRouteEntriesResult struct {
	// A list of CEN Route Entries. Each element contains the following attributes:
	Entries []GetRegionRouteEntriesEntry `pulumi:"entries"`
	// The provider-assigned unique ID for this managed resource.
	Id         string  `pulumi:"id"`
	InstanceId string  `pulumi:"instanceId"`
	OutputFile *string `pulumi:"outputFile"`
	RegionId   string  `pulumi:"regionId"`
}

A collection of values returned by getRegionRouteEntries.

func GetRegionRouteEntries

func GetRegionRouteEntries(ctx *pulumi.Context, args *GetRegionRouteEntriesArgs, opts ...pulumi.InvokeOption) (*GetRegionRouteEntriesResult, error)

This data source provides CEN Regional Route Entries available to the user.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/cen"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		entry, err := cen.GetRegionRouteEntries(ctx, &cen.GetRegionRouteEntriesArgs{
			InstanceId: "cen-id1",
			RegionId:   "cn-beijing",
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("firstRegionRouteEntriesRouteEntryCidrBlock", entry.Entries[0].CidrBlock)
		return nil
	})
}

```

type GetRegionRouteEntriesResultOutput added in v3.9.0

type GetRegionRouteEntriesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getRegionRouteEntries.

func GetRegionRouteEntriesOutput added in v3.9.0

func (GetRegionRouteEntriesResultOutput) ElementType added in v3.9.0

func (GetRegionRouteEntriesResultOutput) Entries added in v3.9.0

A list of CEN Route Entries. Each element contains the following attributes:

func (GetRegionRouteEntriesResultOutput) Id added in v3.9.0

The provider-assigned unique ID for this managed resource.

func (GetRegionRouteEntriesResultOutput) InstanceId added in v3.9.0

func (GetRegionRouteEntriesResultOutput) OutputFile added in v3.9.0

func (GetRegionRouteEntriesResultOutput) RegionId added in v3.9.0

func (GetRegionRouteEntriesResultOutput) ToGetRegionRouteEntriesResultOutput added in v3.9.0

func (o GetRegionRouteEntriesResultOutput) ToGetRegionRouteEntriesResultOutput() GetRegionRouteEntriesResultOutput

func (GetRegionRouteEntriesResultOutput) ToGetRegionRouteEntriesResultOutputWithContext added in v3.9.0

func (o GetRegionRouteEntriesResultOutput) ToGetRegionRouteEntriesResultOutputWithContext(ctx context.Context) GetRegionRouteEntriesResultOutput

type GetRouteEntriesArgs

type GetRouteEntriesArgs struct {
	// The destination CIDR block of the route entry to query.
	CidrBlock *string `pulumi:"cidrBlock"`
	// ID of the CEN instance.
	InstanceId string  `pulumi:"instanceId"`
	OutputFile *string `pulumi:"outputFile"`
	// ID of the route table of the VPC or VBR.
	RouteTableId string `pulumi:"routeTableId"`
}

A collection of arguments for invoking getRouteEntries.

type GetRouteEntriesEntry

type GetRouteEntriesEntry struct {
	// The destination CIDR block of the route entry to query.
	CidrBlock string `pulumi:"cidrBlock"`
	// A list of conflicted Route Entries. Each element contains the following attributes:
	Conflicts []GetRouteEntriesEntryConflict `pulumi:"conflicts"`
	// ID of the next hop.
	NextHopId string `pulumi:"nextHopId"`
	// Type of the next hop, including "Instance", "HaVip" and "RouterInterface".
	NextHopType string `pulumi:"nextHopType"`
	// Whether to allow the route entry to be published or removed to or from CEN.
	OperationalMode bool `pulumi:"operationalMode"`
	// The publish status of the route entry in CEN, including "Published" and "NonPublished".
	PublishStatus string `pulumi:"publishStatus"`
	// ID of the route table of the VPC or VBR.
	RouteTableId string `pulumi:"routeTableId"`
	// Type of the route entry, including "System", "Custom" and "BGP".
	RouteType string `pulumi:"routeType"`
}

type GetRouteEntriesEntryArgs

type GetRouteEntriesEntryArgs struct {
	// The destination CIDR block of the route entry to query.
	CidrBlock pulumi.StringInput `pulumi:"cidrBlock"`
	// A list of conflicted Route Entries. Each element contains the following attributes:
	Conflicts GetRouteEntriesEntryConflictArrayInput `pulumi:"conflicts"`
	// ID of the next hop.
	NextHopId pulumi.StringInput `pulumi:"nextHopId"`
	// Type of the next hop, including "Instance", "HaVip" and "RouterInterface".
	NextHopType pulumi.StringInput `pulumi:"nextHopType"`
	// Whether to allow the route entry to be published or removed to or from CEN.
	OperationalMode pulumi.BoolInput `pulumi:"operationalMode"`
	// The publish status of the route entry in CEN, including "Published" and "NonPublished".
	PublishStatus pulumi.StringInput `pulumi:"publishStatus"`
	// ID of the route table of the VPC or VBR.
	RouteTableId pulumi.StringInput `pulumi:"routeTableId"`
	// Type of the route entry, including "System", "Custom" and "BGP".
	RouteType pulumi.StringInput `pulumi:"routeType"`
}

func (GetRouteEntriesEntryArgs) ElementType

func (GetRouteEntriesEntryArgs) ElementType() reflect.Type

func (GetRouteEntriesEntryArgs) ToGetRouteEntriesEntryOutput

func (i GetRouteEntriesEntryArgs) ToGetRouteEntriesEntryOutput() GetRouteEntriesEntryOutput

func (GetRouteEntriesEntryArgs) ToGetRouteEntriesEntryOutputWithContext

func (i GetRouteEntriesEntryArgs) ToGetRouteEntriesEntryOutputWithContext(ctx context.Context) GetRouteEntriesEntryOutput

type GetRouteEntriesEntryArray

type GetRouteEntriesEntryArray []GetRouteEntriesEntryInput

func (GetRouteEntriesEntryArray) ElementType

func (GetRouteEntriesEntryArray) ElementType() reflect.Type

func (GetRouteEntriesEntryArray) ToGetRouteEntriesEntryArrayOutput

func (i GetRouteEntriesEntryArray) ToGetRouteEntriesEntryArrayOutput() GetRouteEntriesEntryArrayOutput

func (GetRouteEntriesEntryArray) ToGetRouteEntriesEntryArrayOutputWithContext

func (i GetRouteEntriesEntryArray) ToGetRouteEntriesEntryArrayOutputWithContext(ctx context.Context) GetRouteEntriesEntryArrayOutput

type GetRouteEntriesEntryArrayInput

type GetRouteEntriesEntryArrayInput interface {
	pulumi.Input

	ToGetRouteEntriesEntryArrayOutput() GetRouteEntriesEntryArrayOutput
	ToGetRouteEntriesEntryArrayOutputWithContext(context.Context) GetRouteEntriesEntryArrayOutput
}

GetRouteEntriesEntryArrayInput is an input type that accepts GetRouteEntriesEntryArray and GetRouteEntriesEntryArrayOutput values. You can construct a concrete instance of `GetRouteEntriesEntryArrayInput` via:

GetRouteEntriesEntryArray{ GetRouteEntriesEntryArgs{...} }

type GetRouteEntriesEntryArrayOutput

type GetRouteEntriesEntryArrayOutput struct{ *pulumi.OutputState }

func (GetRouteEntriesEntryArrayOutput) ElementType

func (GetRouteEntriesEntryArrayOutput) Index

func (GetRouteEntriesEntryArrayOutput) ToGetRouteEntriesEntryArrayOutput

func (o GetRouteEntriesEntryArrayOutput) ToGetRouteEntriesEntryArrayOutput() GetRouteEntriesEntryArrayOutput

func (GetRouteEntriesEntryArrayOutput) ToGetRouteEntriesEntryArrayOutputWithContext

func (o GetRouteEntriesEntryArrayOutput) ToGetRouteEntriesEntryArrayOutputWithContext(ctx context.Context) GetRouteEntriesEntryArrayOutput

type GetRouteEntriesEntryConflict

type GetRouteEntriesEntryConflict struct {
	// The destination CIDR block of the route entry to query.
	CidrBlock string `pulumi:"cidrBlock"`
	// ID of the CEN instance.
	InstanceId string `pulumi:"instanceId"`
	// The type of the CEN child instance.
	InstanceType string `pulumi:"instanceType"`
	// ID of the region where the conflicted route entry is located.
	RegionId string `pulumi:"regionId"`
	// Reasons of exceptions.
	Status string `pulumi:"status"`
}

type GetRouteEntriesEntryConflictArgs

type GetRouteEntriesEntryConflictArgs struct {
	// The destination CIDR block of the route entry to query.
	CidrBlock pulumi.StringInput `pulumi:"cidrBlock"`
	// ID of the CEN instance.
	InstanceId pulumi.StringInput `pulumi:"instanceId"`
	// The type of the CEN child instance.
	InstanceType pulumi.StringInput `pulumi:"instanceType"`
	// ID of the region where the conflicted route entry is located.
	RegionId pulumi.StringInput `pulumi:"regionId"`
	// Reasons of exceptions.
	Status pulumi.StringInput `pulumi:"status"`
}

func (GetRouteEntriesEntryConflictArgs) ElementType

func (GetRouteEntriesEntryConflictArgs) ToGetRouteEntriesEntryConflictOutput

func (i GetRouteEntriesEntryConflictArgs) ToGetRouteEntriesEntryConflictOutput() GetRouteEntriesEntryConflictOutput

func (GetRouteEntriesEntryConflictArgs) ToGetRouteEntriesEntryConflictOutputWithContext

func (i GetRouteEntriesEntryConflictArgs) ToGetRouteEntriesEntryConflictOutputWithContext(ctx context.Context) GetRouteEntriesEntryConflictOutput

type GetRouteEntriesEntryConflictArray

type GetRouteEntriesEntryConflictArray []GetRouteEntriesEntryConflictInput

func (GetRouteEntriesEntryConflictArray) ElementType

func (GetRouteEntriesEntryConflictArray) ToGetRouteEntriesEntryConflictArrayOutput

func (i GetRouteEntriesEntryConflictArray) ToGetRouteEntriesEntryConflictArrayOutput() GetRouteEntriesEntryConflictArrayOutput

func (GetRouteEntriesEntryConflictArray) ToGetRouteEntriesEntryConflictArrayOutputWithContext

func (i GetRouteEntriesEntryConflictArray) ToGetRouteEntriesEntryConflictArrayOutputWithContext(ctx context.Context) GetRouteEntriesEntryConflictArrayOutput

type GetRouteEntriesEntryConflictArrayInput

type GetRouteEntriesEntryConflictArrayInput interface {
	pulumi.Input

	ToGetRouteEntriesEntryConflictArrayOutput() GetRouteEntriesEntryConflictArrayOutput
	ToGetRouteEntriesEntryConflictArrayOutputWithContext(context.Context) GetRouteEntriesEntryConflictArrayOutput
}

GetRouteEntriesEntryConflictArrayInput is an input type that accepts GetRouteEntriesEntryConflictArray and GetRouteEntriesEntryConflictArrayOutput values. You can construct a concrete instance of `GetRouteEntriesEntryConflictArrayInput` via:

GetRouteEntriesEntryConflictArray{ GetRouteEntriesEntryConflictArgs{...} }

type GetRouteEntriesEntryConflictArrayOutput

type GetRouteEntriesEntryConflictArrayOutput struct{ *pulumi.OutputState }

func (GetRouteEntriesEntryConflictArrayOutput) ElementType

func (GetRouteEntriesEntryConflictArrayOutput) Index

func (GetRouteEntriesEntryConflictArrayOutput) ToGetRouteEntriesEntryConflictArrayOutput

func (o GetRouteEntriesEntryConflictArrayOutput) ToGetRouteEntriesEntryConflictArrayOutput() GetRouteEntriesEntryConflictArrayOutput

func (GetRouteEntriesEntryConflictArrayOutput) ToGetRouteEntriesEntryConflictArrayOutputWithContext

func (o GetRouteEntriesEntryConflictArrayOutput) ToGetRouteEntriesEntryConflictArrayOutputWithContext(ctx context.Context) GetRouteEntriesEntryConflictArrayOutput

type GetRouteEntriesEntryConflictInput

type GetRouteEntriesEntryConflictInput interface {
	pulumi.Input

	ToGetRouteEntriesEntryConflictOutput() GetRouteEntriesEntryConflictOutput
	ToGetRouteEntriesEntryConflictOutputWithContext(context.Context) GetRouteEntriesEntryConflictOutput
}

GetRouteEntriesEntryConflictInput is an input type that accepts GetRouteEntriesEntryConflictArgs and GetRouteEntriesEntryConflictOutput values. You can construct a concrete instance of `GetRouteEntriesEntryConflictInput` via:

GetRouteEntriesEntryConflictArgs{...}

type GetRouteEntriesEntryConflictOutput

type GetRouteEntriesEntryConflictOutput struct{ *pulumi.OutputState }

func (GetRouteEntriesEntryConflictOutput) CidrBlock

The destination CIDR block of the route entry to query.

func (GetRouteEntriesEntryConflictOutput) ElementType

func (GetRouteEntriesEntryConflictOutput) InstanceId

ID of the CEN instance.

func (GetRouteEntriesEntryConflictOutput) InstanceType

The type of the CEN child instance.

func (GetRouteEntriesEntryConflictOutput) RegionId

ID of the region where the conflicted route entry is located.

func (GetRouteEntriesEntryConflictOutput) Status

Reasons of exceptions.

func (GetRouteEntriesEntryConflictOutput) ToGetRouteEntriesEntryConflictOutput

func (o GetRouteEntriesEntryConflictOutput) ToGetRouteEntriesEntryConflictOutput() GetRouteEntriesEntryConflictOutput

func (GetRouteEntriesEntryConflictOutput) ToGetRouteEntriesEntryConflictOutputWithContext

func (o GetRouteEntriesEntryConflictOutput) ToGetRouteEntriesEntryConflictOutputWithContext(ctx context.Context) GetRouteEntriesEntryConflictOutput

type GetRouteEntriesEntryInput

type GetRouteEntriesEntryInput interface {
	pulumi.Input

	ToGetRouteEntriesEntryOutput() GetRouteEntriesEntryOutput
	ToGetRouteEntriesEntryOutputWithContext(context.Context) GetRouteEntriesEntryOutput
}

GetRouteEntriesEntryInput is an input type that accepts GetRouteEntriesEntryArgs and GetRouteEntriesEntryOutput values. You can construct a concrete instance of `GetRouteEntriesEntryInput` via:

GetRouteEntriesEntryArgs{...}

type GetRouteEntriesEntryOutput

type GetRouteEntriesEntryOutput struct{ *pulumi.OutputState }

func (GetRouteEntriesEntryOutput) CidrBlock

The destination CIDR block of the route entry to query.

func (GetRouteEntriesEntryOutput) Conflicts

A list of conflicted Route Entries. Each element contains the following attributes:

func (GetRouteEntriesEntryOutput) ElementType

func (GetRouteEntriesEntryOutput) ElementType() reflect.Type

func (GetRouteEntriesEntryOutput) NextHopId

ID of the next hop.

func (GetRouteEntriesEntryOutput) NextHopType

Type of the next hop, including "Instance", "HaVip" and "RouterInterface".

func (GetRouteEntriesEntryOutput) OperationalMode

func (o GetRouteEntriesEntryOutput) OperationalMode() pulumi.BoolOutput

Whether to allow the route entry to be published or removed to or from CEN.

func (GetRouteEntriesEntryOutput) PublishStatus

The publish status of the route entry in CEN, including "Published" and "NonPublished".

func (GetRouteEntriesEntryOutput) RouteTableId

ID of the route table of the VPC or VBR.

func (GetRouteEntriesEntryOutput) RouteType

Type of the route entry, including "System", "Custom" and "BGP".

func (GetRouteEntriesEntryOutput) ToGetRouteEntriesEntryOutput

func (o GetRouteEntriesEntryOutput) ToGetRouteEntriesEntryOutput() GetRouteEntriesEntryOutput

func (GetRouteEntriesEntryOutput) ToGetRouteEntriesEntryOutputWithContext

func (o GetRouteEntriesEntryOutput) ToGetRouteEntriesEntryOutputWithContext(ctx context.Context) GetRouteEntriesEntryOutput

type GetRouteEntriesOutputArgs added in v3.9.0

type GetRouteEntriesOutputArgs struct {
	// The destination CIDR block of the route entry to query.
	CidrBlock pulumi.StringPtrInput `pulumi:"cidrBlock"`
	// ID of the CEN instance.
	InstanceId pulumi.StringInput    `pulumi:"instanceId"`
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
	// ID of the route table of the VPC or VBR.
	RouteTableId pulumi.StringInput `pulumi:"routeTableId"`
}

A collection of arguments for invoking getRouteEntries.

func (GetRouteEntriesOutputArgs) ElementType added in v3.9.0

func (GetRouteEntriesOutputArgs) ElementType() reflect.Type

type GetRouteEntriesResult

type GetRouteEntriesResult struct {
	// The destination CIDR block of the conflicted route entry.
	CidrBlock *string `pulumi:"cidrBlock"`
	// A list of CEN Route Entries. Each element contains the following attributes:
	Entries []GetRouteEntriesEntry `pulumi:"entries"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// ID of the CEN child instance.
	InstanceId string  `pulumi:"instanceId"`
	OutputFile *string `pulumi:"outputFile"`
	// ID of the route table.
	RouteTableId string `pulumi:"routeTableId"`
}

A collection of values returned by getRouteEntries.

func GetRouteEntries

func GetRouteEntries(ctx *pulumi.Context, args *GetRouteEntriesArgs, opts ...pulumi.InvokeOption) (*GetRouteEntriesResult, error)

This data source provides CEN Route Entries available to the user.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/cen"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		entry, err := cen.GetRouteEntries(ctx, &cen.GetRouteEntriesArgs{
			InstanceId:   "cen-id1",
			RouteTableId: "vtb-id1",
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("firstRouteEntriesRouteEntryCidrBlock", entry.Entries[0].CidrBlock)
		return nil
	})
}

```

type GetRouteEntriesResultOutput added in v3.9.0

type GetRouteEntriesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getRouteEntries.

func GetRouteEntriesOutput added in v3.9.0

func (GetRouteEntriesResultOutput) CidrBlock added in v3.9.0

The destination CIDR block of the conflicted route entry.

func (GetRouteEntriesResultOutput) ElementType added in v3.9.0

func (GetRouteEntriesResultOutput) Entries added in v3.9.0

A list of CEN Route Entries. Each element contains the following attributes:

func (GetRouteEntriesResultOutput) Id added in v3.9.0

The provider-assigned unique ID for this managed resource.

func (GetRouteEntriesResultOutput) InstanceId added in v3.9.0

ID of the CEN child instance.

func (GetRouteEntriesResultOutput) OutputFile added in v3.9.0

func (GetRouteEntriesResultOutput) RouteTableId added in v3.9.0

ID of the route table.

func (GetRouteEntriesResultOutput) ToGetRouteEntriesResultOutput added in v3.9.0

func (o GetRouteEntriesResultOutput) ToGetRouteEntriesResultOutput() GetRouteEntriesResultOutput

func (GetRouteEntriesResultOutput) ToGetRouteEntriesResultOutputWithContext added in v3.9.0

func (o GetRouteEntriesResultOutput) ToGetRouteEntriesResultOutputWithContext(ctx context.Context) GetRouteEntriesResultOutput

type GetRouteMapsArgs

type GetRouteMapsArgs struct {
	// The ID of the CEN instance.
	CenId string `pulumi:"cenId"`
	// The ID of the region to which the CEN instance belongs.
	CenRegionId *string `pulumi:"cenRegionId"`
	// A regex string to filter CEN route map by description.
	DescriptionRegex *string `pulumi:"descriptionRegex"`
	// A list of CEN route map IDs.
	Ids        []string `pulumi:"ids"`
	OutputFile *string  `pulumi:"outputFile"`
	// The status of the route map, including `Creating`, `Active` and `Deleting`.
	Status *string `pulumi:"status"`
	// The direction in which the route map is applied, including `RegionIn` and `RegionOut`.
	TransmitDirection *string `pulumi:"transmitDirection"`
}

A collection of arguments for invoking getRouteMaps.

type GetRouteMapsMap

type GetRouteMapsMap struct {
	// A match statement. It indicates the mode in which the as-path attribute is matched.
	AsPathMatchMode string `pulumi:"asPathMatchMode"`
	// The ID of the CEN instance.
	CenId string `pulumi:"cenId"`
	// The ID of the region to which the CEN instance belongs.
	CenRegionId string `pulumi:"cenRegionId"`
	// A match statement. It indicates the mode in which the prefix attribute is matched.
	CidrMatchMode string `pulumi:"cidrMatchMode"`
	// A match statement. It indicates the mode in which the community attribute is matched.
	CommunityMatchMode string `pulumi:"communityMatchMode"`
	// An action statement. It indicates the mode in which the community attribute is operated.
	CommunityOperateMode string `pulumi:"communityOperateMode"`
	// The description of the route map.
	Description string `pulumi:"description"`
	// A match statement that indicates the list of IDs of the destination instances.
	DestinationChildInstanceTypes []string `pulumi:"destinationChildInstanceTypes"`
	// A match statement that indicates the prefix list.
	DestinationCidrBlocks []string `pulumi:"destinationCidrBlocks"`
	// A match statement that indicates the list of IDs of the destination instances.
	DestinationInstanceIds []string `pulumi:"destinationInstanceIds"`
	// Indicates whether to enable the reverse match method of the DestinationInstanceIds match condition.
	DestinationInstanceIdsReverseMatch bool `pulumi:"destinationInstanceIdsReverseMatch"`
	// A match statement that indicates the list of IDs of the destination route tables.
	DestinationRouteTableIds []string `pulumi:"destinationRouteTableIds"`
	// The ID of the route map.
	Id string `pulumi:"id"`
	// The action that is performed to a route if the route meets all the match conditions.
	MapResult string `pulumi:"mapResult"`
	// A match statement that indicates the As path list.
	MatchAsns []string `pulumi:"matchAsns"`
	// A match statement that indicates the community set.
	MatchCommunitySets []string `pulumi:"matchCommunitySets"`
	// The priority of the next route map that is associated with the current route map.
	NextPriority int `pulumi:"nextPriority"`
	// An action statement that operates the community attribute.
	OperateCommunitySets []string `pulumi:"operateCommunitySets"`
	// An action statement that modifies the preference of the route.
	Preference int `pulumi:"preference"`
	// Indicates AS Path prepending when a regional gateway receives or publishes a route.
	PrependAsPaths []string `pulumi:"prependAsPaths"`
	// The priority of the route map.
	Priority int `pulumi:"priority"`
	// The ID of the route map.
	RouteMapId string `pulumi:"routeMapId"`
	// A match statement that indicates the list of route types.
	RouteTypes []string `pulumi:"routeTypes"`
	// A match statement that indicates the list of IDs of the source instances.
	SourceChildInstanceTypes []string `pulumi:"sourceChildInstanceTypes"`
	// A match statement that indicates the list of IDs of the source instances.
	SourceInstanceIds []string `pulumi:"sourceInstanceIds"`
	// Indicates whether to enable the reverse match method of the SourceInstanceIds match condition.
	SourceInstanceIdsReverseMatch bool `pulumi:"sourceInstanceIdsReverseMatch"`
	// A match statement that indicates the list of IDs of the source regions.
	SourceRegionIds []string `pulumi:"sourceRegionIds"`
	// A match statement that indicates the list of IDs of the source route tables.
	SourceRouteTableIds []string `pulumi:"sourceRouteTableIds"`
	// The status of the route map, including `Creating`, `Active` and `Deleting`.
	Status string `pulumi:"status"`
	// The direction in which the route map is applied, including `RegionIn` and `RegionOut`.
	TransmitDirection string `pulumi:"transmitDirection"`
}

type GetRouteMapsMapArgs

type GetRouteMapsMapArgs struct {
	// A match statement. It indicates the mode in which the as-path attribute is matched.
	AsPathMatchMode pulumi.StringInput `pulumi:"asPathMatchMode"`
	// The ID of the CEN instance.
	CenId pulumi.StringInput `pulumi:"cenId"`
	// The ID of the region to which the CEN instance belongs.
	CenRegionId pulumi.StringInput `pulumi:"cenRegionId"`
	// A match statement. It indicates the mode in which the prefix attribute is matched.
	CidrMatchMode pulumi.StringInput `pulumi:"cidrMatchMode"`
	// A match statement. It indicates the mode in which the community attribute is matched.
	CommunityMatchMode pulumi.StringInput `pulumi:"communityMatchMode"`
	// An action statement. It indicates the mode in which the community attribute is operated.
	CommunityOperateMode pulumi.StringInput `pulumi:"communityOperateMode"`
	// The description of the route map.
	Description pulumi.StringInput `pulumi:"description"`
	// A match statement that indicates the list of IDs of the destination instances.
	DestinationChildInstanceTypes pulumi.StringArrayInput `pulumi:"destinationChildInstanceTypes"`
	// A match statement that indicates the prefix list.
	DestinationCidrBlocks pulumi.StringArrayInput `pulumi:"destinationCidrBlocks"`
	// A match statement that indicates the list of IDs of the destination instances.
	DestinationInstanceIds pulumi.StringArrayInput `pulumi:"destinationInstanceIds"`
	// Indicates whether to enable the reverse match method of the DestinationInstanceIds match condition.
	DestinationInstanceIdsReverseMatch pulumi.BoolInput `pulumi:"destinationInstanceIdsReverseMatch"`
	// A match statement that indicates the list of IDs of the destination route tables.
	DestinationRouteTableIds pulumi.StringArrayInput `pulumi:"destinationRouteTableIds"`
	// The ID of the route map.
	Id pulumi.StringInput `pulumi:"id"`
	// The action that is performed to a route if the route meets all the match conditions.
	MapResult pulumi.StringInput `pulumi:"mapResult"`
	// A match statement that indicates the As path list.
	MatchAsns pulumi.StringArrayInput `pulumi:"matchAsns"`
	// A match statement that indicates the community set.
	MatchCommunitySets pulumi.StringArrayInput `pulumi:"matchCommunitySets"`
	// The priority of the next route map that is associated with the current route map.
	NextPriority pulumi.IntInput `pulumi:"nextPriority"`
	// An action statement that operates the community attribute.
	OperateCommunitySets pulumi.StringArrayInput `pulumi:"operateCommunitySets"`
	// An action statement that modifies the preference of the route.
	Preference pulumi.IntInput `pulumi:"preference"`
	// Indicates AS Path prepending when a regional gateway receives or publishes a route.
	PrependAsPaths pulumi.StringArrayInput `pulumi:"prependAsPaths"`
	// The priority of the route map.
	Priority pulumi.IntInput `pulumi:"priority"`
	// The ID of the route map.
	RouteMapId pulumi.StringInput `pulumi:"routeMapId"`
	// A match statement that indicates the list of route types.
	RouteTypes pulumi.StringArrayInput `pulumi:"routeTypes"`
	// A match statement that indicates the list of IDs of the source instances.
	SourceChildInstanceTypes pulumi.StringArrayInput `pulumi:"sourceChildInstanceTypes"`
	// A match statement that indicates the list of IDs of the source instances.
	SourceInstanceIds pulumi.StringArrayInput `pulumi:"sourceInstanceIds"`
	// Indicates whether to enable the reverse match method of the SourceInstanceIds match condition.
	SourceInstanceIdsReverseMatch pulumi.BoolInput `pulumi:"sourceInstanceIdsReverseMatch"`
	// A match statement that indicates the list of IDs of the source regions.
	SourceRegionIds pulumi.StringArrayInput `pulumi:"sourceRegionIds"`
	// A match statement that indicates the list of IDs of the source route tables.
	SourceRouteTableIds pulumi.StringArrayInput `pulumi:"sourceRouteTableIds"`
	// The status of the route map, including `Creating`, `Active` and `Deleting`.
	Status pulumi.StringInput `pulumi:"status"`
	// The direction in which the route map is applied, including `RegionIn` and `RegionOut`.
	TransmitDirection pulumi.StringInput `pulumi:"transmitDirection"`
}

func (GetRouteMapsMapArgs) ElementType

func (GetRouteMapsMapArgs) ElementType() reflect.Type

func (GetRouteMapsMapArgs) ToGetRouteMapsMapOutput

func (i GetRouteMapsMapArgs) ToGetRouteMapsMapOutput() GetRouteMapsMapOutput

func (GetRouteMapsMapArgs) ToGetRouteMapsMapOutputWithContext

func (i GetRouteMapsMapArgs) ToGetRouteMapsMapOutputWithContext(ctx context.Context) GetRouteMapsMapOutput

type GetRouteMapsMapArray

type GetRouteMapsMapArray []GetRouteMapsMapInput

func (GetRouteMapsMapArray) ElementType

func (GetRouteMapsMapArray) ElementType() reflect.Type

func (GetRouteMapsMapArray) ToGetRouteMapsMapArrayOutput

func (i GetRouteMapsMapArray) ToGetRouteMapsMapArrayOutput() GetRouteMapsMapArrayOutput

func (GetRouteMapsMapArray) ToGetRouteMapsMapArrayOutputWithContext

func (i GetRouteMapsMapArray) ToGetRouteMapsMapArrayOutputWithContext(ctx context.Context) GetRouteMapsMapArrayOutput

type GetRouteMapsMapArrayInput

type GetRouteMapsMapArrayInput interface {
	pulumi.Input

	ToGetRouteMapsMapArrayOutput() GetRouteMapsMapArrayOutput
	ToGetRouteMapsMapArrayOutputWithContext(context.Context) GetRouteMapsMapArrayOutput
}

GetRouteMapsMapArrayInput is an input type that accepts GetRouteMapsMapArray and GetRouteMapsMapArrayOutput values. You can construct a concrete instance of `GetRouteMapsMapArrayInput` via:

GetRouteMapsMapArray{ GetRouteMapsMapArgs{...} }

type GetRouteMapsMapArrayOutput

type GetRouteMapsMapArrayOutput struct{ *pulumi.OutputState }

func (GetRouteMapsMapArrayOutput) ElementType

func (GetRouteMapsMapArrayOutput) ElementType() reflect.Type

func (GetRouteMapsMapArrayOutput) Index

func (GetRouteMapsMapArrayOutput) ToGetRouteMapsMapArrayOutput

func (o GetRouteMapsMapArrayOutput) ToGetRouteMapsMapArrayOutput() GetRouteMapsMapArrayOutput

func (GetRouteMapsMapArrayOutput) ToGetRouteMapsMapArrayOutputWithContext

func (o GetRouteMapsMapArrayOutput) ToGetRouteMapsMapArrayOutputWithContext(ctx context.Context) GetRouteMapsMapArrayOutput

type GetRouteMapsMapInput

type GetRouteMapsMapInput interface {
	pulumi.Input

	ToGetRouteMapsMapOutput() GetRouteMapsMapOutput
	ToGetRouteMapsMapOutputWithContext(context.Context) GetRouteMapsMapOutput
}

GetRouteMapsMapInput is an input type that accepts GetRouteMapsMap and GetRouteMapsMapOutput values. You can construct a concrete instance of `GetRouteMapsMapInput` via:

GetRouteMapsMap{ "key": GetRouteMapsArgs{...} }

type GetRouteMapsMapOutput

type GetRouteMapsMapOutput struct{ *pulumi.OutputState }

func (GetRouteMapsMapOutput) AsPathMatchMode

func (o GetRouteMapsMapOutput) AsPathMatchMode() pulumi.StringOutput

A match statement. It indicates the mode in which the as-path attribute is matched.

func (GetRouteMapsMapOutput) CenId

The ID of the CEN instance.

func (GetRouteMapsMapOutput) CenRegionId

func (o GetRouteMapsMapOutput) CenRegionId() pulumi.StringOutput

The ID of the region to which the CEN instance belongs.

func (GetRouteMapsMapOutput) CidrMatchMode

func (o GetRouteMapsMapOutput) CidrMatchMode() pulumi.StringOutput

A match statement. It indicates the mode in which the prefix attribute is matched.

func (GetRouteMapsMapOutput) CommunityMatchMode

func (o GetRouteMapsMapOutput) CommunityMatchMode() pulumi.StringOutput

A match statement. It indicates the mode in which the community attribute is matched.

func (GetRouteMapsMapOutput) CommunityOperateMode

func (o GetRouteMapsMapOutput) CommunityOperateMode() pulumi.StringOutput

An action statement. It indicates the mode in which the community attribute is operated.

func (GetRouteMapsMapOutput) Description

func (o GetRouteMapsMapOutput) Description() pulumi.StringOutput

The description of the route map.

func (GetRouteMapsMapOutput) DestinationChildInstanceTypes

func (o GetRouteMapsMapOutput) DestinationChildInstanceTypes() pulumi.StringArrayOutput

A match statement that indicates the list of IDs of the destination instances.

func (GetRouteMapsMapOutput) DestinationCidrBlocks

func (o GetRouteMapsMapOutput) DestinationCidrBlocks() pulumi.StringArrayOutput

A match statement that indicates the prefix list.

func (GetRouteMapsMapOutput) DestinationInstanceIds

func (o GetRouteMapsMapOutput) DestinationInstanceIds() pulumi.StringArrayOutput

A match statement that indicates the list of IDs of the destination instances.

func (GetRouteMapsMapOutput) DestinationInstanceIdsReverseMatch

func (o GetRouteMapsMapOutput) DestinationInstanceIdsReverseMatch() pulumi.BoolOutput

Indicates whether to enable the reverse match method of the DestinationInstanceIds match condition.

func (GetRouteMapsMapOutput) DestinationRouteTableIds

func (o GetRouteMapsMapOutput) DestinationRouteTableIds() pulumi.StringArrayOutput

A match statement that indicates the list of IDs of the destination route tables.

func (GetRouteMapsMapOutput) ElementType

func (GetRouteMapsMapOutput) ElementType() reflect.Type

func (GetRouteMapsMapOutput) Id

The ID of the route map.

func (GetRouteMapsMapOutput) MapResult

The action that is performed to a route if the route meets all the match conditions.

func (GetRouteMapsMapOutput) MatchAsns

A match statement that indicates the As path list.

func (GetRouteMapsMapOutput) MatchCommunitySets

func (o GetRouteMapsMapOutput) MatchCommunitySets() pulumi.StringArrayOutput

A match statement that indicates the community set.

func (GetRouteMapsMapOutput) NextPriority

func (o GetRouteMapsMapOutput) NextPriority() pulumi.IntOutput

The priority of the next route map that is associated with the current route map.

func (GetRouteMapsMapOutput) OperateCommunitySets

func (o GetRouteMapsMapOutput) OperateCommunitySets() pulumi.StringArrayOutput

An action statement that operates the community attribute.

func (GetRouteMapsMapOutput) Preference

func (o GetRouteMapsMapOutput) Preference() pulumi.IntOutput

An action statement that modifies the preference of the route.

func (GetRouteMapsMapOutput) PrependAsPaths

func (o GetRouteMapsMapOutput) PrependAsPaths() pulumi.StringArrayOutput

Indicates AS Path prepending when a regional gateway receives or publishes a route.

func (GetRouteMapsMapOutput) Priority

func (o GetRouteMapsMapOutput) Priority() pulumi.IntOutput

The priority of the route map.

func (GetRouteMapsMapOutput) RouteMapId

func (o GetRouteMapsMapOutput) RouteMapId() pulumi.StringOutput

The ID of the route map.

func (GetRouteMapsMapOutput) RouteTypes

A match statement that indicates the list of route types.

func (GetRouteMapsMapOutput) SourceChildInstanceTypes

func (o GetRouteMapsMapOutput) SourceChildInstanceTypes() pulumi.StringArrayOutput

A match statement that indicates the list of IDs of the source instances.

func (GetRouteMapsMapOutput) SourceInstanceIds

func (o GetRouteMapsMapOutput) SourceInstanceIds() pulumi.StringArrayOutput

A match statement that indicates the list of IDs of the source instances.

func (GetRouteMapsMapOutput) SourceInstanceIdsReverseMatch

func (o GetRouteMapsMapOutput) SourceInstanceIdsReverseMatch() pulumi.BoolOutput

Indicates whether to enable the reverse match method of the SourceInstanceIds match condition.

func (GetRouteMapsMapOutput) SourceRegionIds

func (o GetRouteMapsMapOutput) SourceRegionIds() pulumi.StringArrayOutput

A match statement that indicates the list of IDs of the source regions.

func (GetRouteMapsMapOutput) SourceRouteTableIds

func (o GetRouteMapsMapOutput) SourceRouteTableIds() pulumi.StringArrayOutput

A match statement that indicates the list of IDs of the source route tables.

func (GetRouteMapsMapOutput) Status

The status of the route map, including `Creating`, `Active` and `Deleting`.

func (GetRouteMapsMapOutput) ToGetRouteMapsMapOutput

func (o GetRouteMapsMapOutput) ToGetRouteMapsMapOutput() GetRouteMapsMapOutput

func (GetRouteMapsMapOutput) ToGetRouteMapsMapOutputWithContext

func (o GetRouteMapsMapOutput) ToGetRouteMapsMapOutputWithContext(ctx context.Context) GetRouteMapsMapOutput

func (GetRouteMapsMapOutput) TransmitDirection

func (o GetRouteMapsMapOutput) TransmitDirection() pulumi.StringOutput

The direction in which the route map is applied, including `RegionIn` and `RegionOut`.

type GetRouteMapsOutputArgs added in v3.9.0

type GetRouteMapsOutputArgs struct {
	// The ID of the CEN instance.
	CenId pulumi.StringInput `pulumi:"cenId"`
	// The ID of the region to which the CEN instance belongs.
	CenRegionId pulumi.StringPtrInput `pulumi:"cenRegionId"`
	// A regex string to filter CEN route map by description.
	DescriptionRegex pulumi.StringPtrInput `pulumi:"descriptionRegex"`
	// A list of CEN route map IDs.
	Ids        pulumi.StringArrayInput `pulumi:"ids"`
	OutputFile pulumi.StringPtrInput   `pulumi:"outputFile"`
	// The status of the route map, including `Creating`, `Active` and `Deleting`.
	Status pulumi.StringPtrInput `pulumi:"status"`
	// The direction in which the route map is applied, including `RegionIn` and `RegionOut`.
	TransmitDirection pulumi.StringPtrInput `pulumi:"transmitDirection"`
}

A collection of arguments for invoking getRouteMaps.

func (GetRouteMapsOutputArgs) ElementType added in v3.9.0

func (GetRouteMapsOutputArgs) ElementType() reflect.Type

type GetRouteMapsResult

type GetRouteMapsResult struct {
	// The ID of the CEN instance.
	CenId string `pulumi:"cenId"`
	// The ID of the region to which the CEN instance belongs.
	CenRegionId      *string `pulumi:"cenRegionId"`
	DescriptionRegex *string `pulumi:"descriptionRegex"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// A list of CEN route map IDs.
	Ids []string `pulumi:"ids"`
	// A list of CEN instances. Each element contains the following attributes:
	Maps       []GetRouteMapsMap `pulumi:"maps"`
	OutputFile *string           `pulumi:"outputFile"`
	// The status of the route map.
	Status *string `pulumi:"status"`
	// The direction in which the route map is applied.
	TransmitDirection *string `pulumi:"transmitDirection"`
}

A collection of values returned by getRouteMaps.

func GetRouteMaps

func GetRouteMaps(ctx *pulumi.Context, args *GetRouteMapsArgs, opts ...pulumi.InvokeOption) (*GetRouteMapsResult, error)

This data source provides CEN Route Maps available to the user.

> **NOTE:** Available in v1.87.0+.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/cen"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		opt0 := "cn-hangzhou"
		opt1 := "datasource_test"
		opt2 := "Active"
		opt3 := "RegionIn"
		this, err := cen.GetRouteMaps(ctx, &cen.GetRouteMapsArgs{
			CenId:            "cen-ihdlgo87ai********",
			CenRegionId:      &opt0,
			DescriptionRegex: &opt1,
			Ids: []string{
				"cenrmap-bnh97kb3mn********",
			},
			Status:            &opt2,
			TransmitDirection: &opt3,
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("firstCenRouteMapId", this.Maps[0].Id)
		return nil
	})
}

```

type GetRouteMapsResultOutput added in v3.9.0

type GetRouteMapsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getRouteMaps.

func GetRouteMapsOutput added in v3.9.0

func GetRouteMapsOutput(ctx *pulumi.Context, args GetRouteMapsOutputArgs, opts ...pulumi.InvokeOption) GetRouteMapsResultOutput

func (GetRouteMapsResultOutput) CenId added in v3.9.0

The ID of the CEN instance.

func (GetRouteMapsResultOutput) CenRegionId added in v3.9.0

The ID of the region to which the CEN instance belongs.

func (GetRouteMapsResultOutput) DescriptionRegex added in v3.9.0

func (o GetRouteMapsResultOutput) DescriptionRegex() pulumi.StringPtrOutput

func (GetRouteMapsResultOutput) ElementType added in v3.9.0

func (GetRouteMapsResultOutput) ElementType() reflect.Type

func (GetRouteMapsResultOutput) Id added in v3.9.0

The provider-assigned unique ID for this managed resource.

func (GetRouteMapsResultOutput) Ids added in v3.9.0

A list of CEN route map IDs.

func (GetRouteMapsResultOutput) Maps added in v3.9.0

A list of CEN instances. Each element contains the following attributes:

func (GetRouteMapsResultOutput) OutputFile added in v3.9.0

func (GetRouteMapsResultOutput) Status added in v3.9.0

The status of the route map.

func (GetRouteMapsResultOutput) ToGetRouteMapsResultOutput added in v3.9.0

func (o GetRouteMapsResultOutput) ToGetRouteMapsResultOutput() GetRouteMapsResultOutput

func (GetRouteMapsResultOutput) ToGetRouteMapsResultOutputWithContext added in v3.9.0

func (o GetRouteMapsResultOutput) ToGetRouteMapsResultOutputWithContext(ctx context.Context) GetRouteMapsResultOutput

func (GetRouteMapsResultOutput) TransmitDirection added in v3.9.0

func (o GetRouteMapsResultOutput) TransmitDirection() pulumi.StringPtrOutput

The direction in which the route map is applied.

type GetRouteServicesArgs

type GetRouteServicesArgs struct {
	// The region of the network instances that access the cloud services.
	AccessRegionId *string `pulumi:"accessRegionId"`
	// -(Required, ForceNew) The ID of the CEN instance.
	CenId string `pulumi:"cenId"`
	// -(Optional, ForceNew) The domain name or IP address of the cloud service.
	Host *string `pulumi:"host"`
	// The region of the cloud service.
	HostRegionId *string `pulumi:"hostRegionId"`
	// The VPC associated with the cloud service.
	HostVpcId  *string `pulumi:"hostVpcId"`
	OutputFile *string `pulumi:"outputFile"`
	// The status of the cloud service. Valid values: `Active`, `Creating` and `Deleting`.
	Status *string `pulumi:"status"`
}

A collection of arguments for invoking getRouteServices.

type GetRouteServicesOutputArgs added in v3.9.0

type GetRouteServicesOutputArgs struct {
	// The region of the network instances that access the cloud services.
	AccessRegionId pulumi.StringPtrInput `pulumi:"accessRegionId"`
	// -(Required, ForceNew) The ID of the CEN instance.
	CenId pulumi.StringInput `pulumi:"cenId"`
	// -(Optional, ForceNew) The domain name or IP address of the cloud service.
	Host pulumi.StringPtrInput `pulumi:"host"`
	// The region of the cloud service.
	HostRegionId pulumi.StringPtrInput `pulumi:"hostRegionId"`
	// The VPC associated with the cloud service.
	HostVpcId  pulumi.StringPtrInput `pulumi:"hostVpcId"`
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
	// The status of the cloud service. Valid values: `Active`, `Creating` and `Deleting`.
	Status pulumi.StringPtrInput `pulumi:"status"`
}

A collection of arguments for invoking getRouteServices.

func (GetRouteServicesOutputArgs) ElementType added in v3.9.0

func (GetRouteServicesOutputArgs) ElementType() reflect.Type

type GetRouteServicesResult

type GetRouteServicesResult struct {
	// The region of the network instances that access the cloud services.
	AccessRegionId *string `pulumi:"accessRegionId"`
	// The ID of the CEN instance.
	CenId string `pulumi:"cenId"`
	// The domain name or IP address of the cloud service.
	Host *string `pulumi:"host"`
	// The region of the cloud service.
	HostRegionId *string `pulumi:"hostRegionId"`
	// The VPC associated with the cloud service.
	HostVpcId *string `pulumi:"hostVpcId"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// A list of CEN Route Service IDs.
	Ids        []string `pulumi:"ids"`
	OutputFile *string  `pulumi:"outputFile"`
	// A list of CEN Route Services. Each element contains the following attributes:
	Services []GetRouteServicesService `pulumi:"services"`
	// The status of the cloud service.
	Status *string `pulumi:"status"`
}

A collection of values returned by getRouteServices.

func GetRouteServices

func GetRouteServices(ctx *pulumi.Context, args *GetRouteServicesArgs, opts ...pulumi.InvokeOption) (*GetRouteServicesResult, error)

This data source provides CEN Route Service available to the user.

> **NOTE:** Available in v1.102.0+

## Example Usage

Basic Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/cen"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := cen.GetRouteServices(ctx, &cen.GetRouteServicesArgs{
			CenId: "cen-7qthudw0ll6jmc****",
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("firstCenRouteServiceId", example.Services[0].Id)
		return nil
	})
}

```

type GetRouteServicesResultOutput added in v3.9.0

type GetRouteServicesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getRouteServices.

func GetRouteServicesOutput added in v3.9.0

func (GetRouteServicesResultOutput) AccessRegionId added in v3.9.0

The region of the network instances that access the cloud services.

func (GetRouteServicesResultOutput) CenId added in v3.9.0

The ID of the CEN instance.

func (GetRouteServicesResultOutput) ElementType added in v3.9.0

func (GetRouteServicesResultOutput) Host added in v3.9.0

The domain name or IP address of the cloud service.

func (GetRouteServicesResultOutput) HostRegionId added in v3.9.0

The region of the cloud service.

func (GetRouteServicesResultOutput) HostVpcId added in v3.9.0

The VPC associated with the cloud service.

func (GetRouteServicesResultOutput) Id added in v3.9.0

The provider-assigned unique ID for this managed resource.

func (GetRouteServicesResultOutput) Ids added in v3.9.0

A list of CEN Route Service IDs.

func (GetRouteServicesResultOutput) OutputFile added in v3.9.0

func (GetRouteServicesResultOutput) Services added in v3.9.0

A list of CEN Route Services. Each element contains the following attributes:

func (GetRouteServicesResultOutput) Status added in v3.9.0

The status of the cloud service.

func (GetRouteServicesResultOutput) ToGetRouteServicesResultOutput added in v3.9.0

func (o GetRouteServicesResultOutput) ToGetRouteServicesResultOutput() GetRouteServicesResultOutput

func (GetRouteServicesResultOutput) ToGetRouteServicesResultOutputWithContext added in v3.9.0

func (o GetRouteServicesResultOutput) ToGetRouteServicesResultOutputWithContext(ctx context.Context) GetRouteServicesResultOutput

type GetRouteServicesService

type GetRouteServicesService struct {
	// The region of the network instances that access the cloud services.
	AccessRegionId string `pulumi:"accessRegionId"`
	// -(Required, ForceNew) The ID of the CEN instance.
	CenId string `pulumi:"cenId"`
	// The IP address of the cloud service.
	Cidrs []string `pulumi:"cidrs"`
	// The description of the cloud service.
	Description string `pulumi:"description"`
	// -(Optional, ForceNew) The domain name or IP address of the cloud service.
	Host string `pulumi:"host"`
	// The region of the cloud service.
	HostRegionId string `pulumi:"hostRegionId"`
	// The VPC associated with the cloud service.
	HostVpcId string `pulumi:"hostVpcId"`
	// The ID of the route service.
	Id string `pulumi:"id"`
	// The status of the cloud service. Valid values: `Active`, `Creating` and `Deleting`.
	Status string `pulumi:"status"`
	// The update interval. Default value: 5. The value cannot be modified.
	UpdateInterval string `pulumi:"updateInterval"`
}

type GetRouteServicesServiceArgs

type GetRouteServicesServiceArgs struct {
	// The region of the network instances that access the cloud services.
	AccessRegionId pulumi.StringInput `pulumi:"accessRegionId"`
	// -(Required, ForceNew) The ID of the CEN instance.
	CenId pulumi.StringInput `pulumi:"cenId"`
	// The IP address of the cloud service.
	Cidrs pulumi.StringArrayInput `pulumi:"cidrs"`
	// The description of the cloud service.
	Description pulumi.StringInput `pulumi:"description"`
	// -(Optional, ForceNew) The domain name or IP address of the cloud service.
	Host pulumi.StringInput `pulumi:"host"`
	// The region of the cloud service.
	HostRegionId pulumi.StringInput `pulumi:"hostRegionId"`
	// The VPC associated with the cloud service.
	HostVpcId pulumi.StringInput `pulumi:"hostVpcId"`
	// The ID of the route service.
	Id pulumi.StringInput `pulumi:"id"`
	// The status of the cloud service. Valid values: `Active`, `Creating` and `Deleting`.
	Status pulumi.StringInput `pulumi:"status"`
	// The update interval. Default value: 5. The value cannot be modified.
	UpdateInterval pulumi.StringInput `pulumi:"updateInterval"`
}

func (GetRouteServicesServiceArgs) ElementType

func (GetRouteServicesServiceArgs) ToGetRouteServicesServiceOutput

func (i GetRouteServicesServiceArgs) ToGetRouteServicesServiceOutput() GetRouteServicesServiceOutput

func (GetRouteServicesServiceArgs) ToGetRouteServicesServiceOutputWithContext

func (i GetRouteServicesServiceArgs) ToGetRouteServicesServiceOutputWithContext(ctx context.Context) GetRouteServicesServiceOutput

type GetRouteServicesServiceArray

type GetRouteServicesServiceArray []GetRouteServicesServiceInput

func (GetRouteServicesServiceArray) ElementType

func (GetRouteServicesServiceArray) ToGetRouteServicesServiceArrayOutput

func (i GetRouteServicesServiceArray) ToGetRouteServicesServiceArrayOutput() GetRouteServicesServiceArrayOutput

func (GetRouteServicesServiceArray) ToGetRouteServicesServiceArrayOutputWithContext

func (i GetRouteServicesServiceArray) ToGetRouteServicesServiceArrayOutputWithContext(ctx context.Context) GetRouteServicesServiceArrayOutput

type GetRouteServicesServiceArrayInput

type GetRouteServicesServiceArrayInput interface {
	pulumi.Input

	ToGetRouteServicesServiceArrayOutput() GetRouteServicesServiceArrayOutput
	ToGetRouteServicesServiceArrayOutputWithContext(context.Context) GetRouteServicesServiceArrayOutput
}

GetRouteServicesServiceArrayInput is an input type that accepts GetRouteServicesServiceArray and GetRouteServicesServiceArrayOutput values. You can construct a concrete instance of `GetRouteServicesServiceArrayInput` via:

GetRouteServicesServiceArray{ GetRouteServicesServiceArgs{...} }

type GetRouteServicesServiceArrayOutput

type GetRouteServicesServiceArrayOutput struct{ *pulumi.OutputState }

func (GetRouteServicesServiceArrayOutput) ElementType

func (GetRouteServicesServiceArrayOutput) Index

func (GetRouteServicesServiceArrayOutput) ToGetRouteServicesServiceArrayOutput

func (o GetRouteServicesServiceArrayOutput) ToGetRouteServicesServiceArrayOutput() GetRouteServicesServiceArrayOutput

func (GetRouteServicesServiceArrayOutput) ToGetRouteServicesServiceArrayOutputWithContext

func (o GetRouteServicesServiceArrayOutput) ToGetRouteServicesServiceArrayOutputWithContext(ctx context.Context) GetRouteServicesServiceArrayOutput

type GetRouteServicesServiceInput

type GetRouteServicesServiceInput interface {
	pulumi.Input

	ToGetRouteServicesServiceOutput() GetRouteServicesServiceOutput
	ToGetRouteServicesServiceOutputWithContext(context.Context) GetRouteServicesServiceOutput
}

GetRouteServicesServiceInput is an input type that accepts GetRouteServicesServiceArgs and GetRouteServicesServiceOutput values. You can construct a concrete instance of `GetRouteServicesServiceInput` via:

GetRouteServicesServiceArgs{...}

type GetRouteServicesServiceOutput

type GetRouteServicesServiceOutput struct{ *pulumi.OutputState }

func (GetRouteServicesServiceOutput) AccessRegionId

The region of the network instances that access the cloud services.

func (GetRouteServicesServiceOutput) CenId

-(Required, ForceNew) The ID of the CEN instance.

func (GetRouteServicesServiceOutput) Cidrs

The IP address of the cloud service.

func (GetRouteServicesServiceOutput) Description

The description of the cloud service.

func (GetRouteServicesServiceOutput) ElementType

func (GetRouteServicesServiceOutput) Host

-(Optional, ForceNew) The domain name or IP address of the cloud service.

func (GetRouteServicesServiceOutput) HostRegionId

The region of the cloud service.

func (GetRouteServicesServiceOutput) HostVpcId

The VPC associated with the cloud service.

func (GetRouteServicesServiceOutput) Id

The ID of the route service.

func (GetRouteServicesServiceOutput) Status

The status of the cloud service. Valid values: `Active`, `Creating` and `Deleting`.

func (GetRouteServicesServiceOutput) ToGetRouteServicesServiceOutput

func (o GetRouteServicesServiceOutput) ToGetRouteServicesServiceOutput() GetRouteServicesServiceOutput

func (GetRouteServicesServiceOutput) ToGetRouteServicesServiceOutputWithContext

func (o GetRouteServicesServiceOutput) ToGetRouteServicesServiceOutputWithContext(ctx context.Context) GetRouteServicesServiceOutput

func (GetRouteServicesServiceOutput) UpdateInterval

The update interval. Default value: 5. The value cannot be modified.

type GetTransitRouterPeerAttachmentsArgs added in v3.5.0

type GetTransitRouterPeerAttachmentsArgs struct {
	// ID of the CEN instance.
	CenId string `pulumi:"cenId"`
	// A list of CEN Transit Router peer attachments IDs.
	Ids []string `pulumi:"ids"`
	// A regex string to filter CEN Transit Router peer attachments by name.
	NameRegex  *string `pulumi:"nameRegex"`
	OutputFile *string `pulumi:"outputFile"`
	// The status of CEN Transit Router peer attachment. Valid values `Attached`, `Attaching` and `Detaching`.
	Status *string `pulumi:"status"`
	// The ID of CEN Transit Router peer attachments.
	TransitRouterAttachmentId *string `pulumi:"transitRouterAttachmentId"`
	// The ID of transit router.
	TransitRouterId *string `pulumi:"transitRouterId"`
}

A collection of arguments for invoking getTransitRouterPeerAttachments.

type GetTransitRouterPeerAttachmentsAttachment added in v3.5.0

type GetTransitRouterPeerAttachmentsAttachment struct {
	// Auto publish route enabled.
	AutoPublishRouteEnabled bool `pulumi:"autoPublishRouteEnabled"`
	// The bandwidth of the bandwidth package.
	Bandwidth int `pulumi:"bandwidth"`
	// ID of the CEN bandwidth package.
	CenBandwidthPackageId string `pulumi:"cenBandwidthPackageId"`
	// ID of the geographic.
	GeographicSpanId string `pulumi:"geographicSpanId"`
	// The ID of CEN Transit Router peer attachments.
	Id string `pulumi:"id"`
	// ID of the peer transit router.
	PeerTransitRouterId string `pulumi:"peerTransitRouterId"`
	// Owner ID of the peer transit router.
	PeerTransitRouterOwnerId string `pulumi:"peerTransitRouterOwnerId"`
	// Region ID of the peer transit router.
	PeerTransitRouterRegionId string `pulumi:"peerTransitRouterRegionId"`
	// Type of the resource.
	ResourceType string `pulumi:"resourceType"`
	// The status of CEN Transit Router peer attachment. Valid values `Attached`, `Attaching` and `Detaching`.
	Status string `pulumi:"status"`
	// The description of CEN Transit Router peer attachments.
	TransitRouterAttachmentDescription string `pulumi:"transitRouterAttachmentDescription"`
	// The ID of CEN Transit Router peer attachments.
	TransitRouterAttachmentId string `pulumi:"transitRouterAttachmentId"`
	// Name of the transit router attachment.
	TransitRouterAttachmentName string `pulumi:"transitRouterAttachmentName"`
	// The ID of transit router.
	TransitRouterId string `pulumi:"transitRouterId"`
}

type GetTransitRouterPeerAttachmentsAttachmentArgs added in v3.5.0

type GetTransitRouterPeerAttachmentsAttachmentArgs struct {
	// Auto publish route enabled.
	AutoPublishRouteEnabled pulumi.BoolInput `pulumi:"autoPublishRouteEnabled"`
	// The bandwidth of the bandwidth package.
	Bandwidth pulumi.IntInput `pulumi:"bandwidth"`
	// ID of the CEN bandwidth package.
	CenBandwidthPackageId pulumi.StringInput `pulumi:"cenBandwidthPackageId"`
	// ID of the geographic.
	GeographicSpanId pulumi.StringInput `pulumi:"geographicSpanId"`
	// The ID of CEN Transit Router peer attachments.
	Id pulumi.StringInput `pulumi:"id"`
	// ID of the peer transit router.
	PeerTransitRouterId pulumi.StringInput `pulumi:"peerTransitRouterId"`
	// Owner ID of the peer transit router.
	PeerTransitRouterOwnerId pulumi.StringInput `pulumi:"peerTransitRouterOwnerId"`
	// Region ID of the peer transit router.
	PeerTransitRouterRegionId pulumi.StringInput `pulumi:"peerTransitRouterRegionId"`
	// Type of the resource.
	ResourceType pulumi.StringInput `pulumi:"resourceType"`
	// The status of CEN Transit Router peer attachment. Valid values `Attached`, `Attaching` and `Detaching`.
	Status pulumi.StringInput `pulumi:"status"`
	// The description of CEN Transit Router peer attachments.
	TransitRouterAttachmentDescription pulumi.StringInput `pulumi:"transitRouterAttachmentDescription"`
	// The ID of CEN Transit Router peer attachments.
	TransitRouterAttachmentId pulumi.StringInput `pulumi:"transitRouterAttachmentId"`
	// Name of the transit router attachment.
	TransitRouterAttachmentName pulumi.StringInput `pulumi:"transitRouterAttachmentName"`
	// The ID of transit router.
	TransitRouterId pulumi.StringInput `pulumi:"transitRouterId"`
}

func (GetTransitRouterPeerAttachmentsAttachmentArgs) ElementType added in v3.5.0

func (GetTransitRouterPeerAttachmentsAttachmentArgs) ToGetTransitRouterPeerAttachmentsAttachmentOutput added in v3.5.0

func (i GetTransitRouterPeerAttachmentsAttachmentArgs) ToGetTransitRouterPeerAttachmentsAttachmentOutput() GetTransitRouterPeerAttachmentsAttachmentOutput

func (GetTransitRouterPeerAttachmentsAttachmentArgs) ToGetTransitRouterPeerAttachmentsAttachmentOutputWithContext added in v3.5.0

func (i GetTransitRouterPeerAttachmentsAttachmentArgs) ToGetTransitRouterPeerAttachmentsAttachmentOutputWithContext(ctx context.Context) GetTransitRouterPeerAttachmentsAttachmentOutput

type GetTransitRouterPeerAttachmentsAttachmentArray added in v3.5.0

type GetTransitRouterPeerAttachmentsAttachmentArray []GetTransitRouterPeerAttachmentsAttachmentInput

func (GetTransitRouterPeerAttachmentsAttachmentArray) ElementType added in v3.5.0

func (GetTransitRouterPeerAttachmentsAttachmentArray) ToGetTransitRouterPeerAttachmentsAttachmentArrayOutput added in v3.5.0

func (i GetTransitRouterPeerAttachmentsAttachmentArray) ToGetTransitRouterPeerAttachmentsAttachmentArrayOutput() GetTransitRouterPeerAttachmentsAttachmentArrayOutput

func (GetTransitRouterPeerAttachmentsAttachmentArray) ToGetTransitRouterPeerAttachmentsAttachmentArrayOutputWithContext added in v3.5.0

func (i GetTransitRouterPeerAttachmentsAttachmentArray) ToGetTransitRouterPeerAttachmentsAttachmentArrayOutputWithContext(ctx context.Context) GetTransitRouterPeerAttachmentsAttachmentArrayOutput

type GetTransitRouterPeerAttachmentsAttachmentArrayInput added in v3.5.0

type GetTransitRouterPeerAttachmentsAttachmentArrayInput interface {
	pulumi.Input

	ToGetTransitRouterPeerAttachmentsAttachmentArrayOutput() GetTransitRouterPeerAttachmentsAttachmentArrayOutput
	ToGetTransitRouterPeerAttachmentsAttachmentArrayOutputWithContext(context.Context) GetTransitRouterPeerAttachmentsAttachmentArrayOutput
}

GetTransitRouterPeerAttachmentsAttachmentArrayInput is an input type that accepts GetTransitRouterPeerAttachmentsAttachmentArray and GetTransitRouterPeerAttachmentsAttachmentArrayOutput values. You can construct a concrete instance of `GetTransitRouterPeerAttachmentsAttachmentArrayInput` via:

GetTransitRouterPeerAttachmentsAttachmentArray{ GetTransitRouterPeerAttachmentsAttachmentArgs{...} }

type GetTransitRouterPeerAttachmentsAttachmentArrayOutput added in v3.5.0

type GetTransitRouterPeerAttachmentsAttachmentArrayOutput struct{ *pulumi.OutputState }

func (GetTransitRouterPeerAttachmentsAttachmentArrayOutput) ElementType added in v3.5.0

func (GetTransitRouterPeerAttachmentsAttachmentArrayOutput) Index added in v3.5.0

func (GetTransitRouterPeerAttachmentsAttachmentArrayOutput) ToGetTransitRouterPeerAttachmentsAttachmentArrayOutput added in v3.5.0

func (GetTransitRouterPeerAttachmentsAttachmentArrayOutput) ToGetTransitRouterPeerAttachmentsAttachmentArrayOutputWithContext added in v3.5.0

func (o GetTransitRouterPeerAttachmentsAttachmentArrayOutput) ToGetTransitRouterPeerAttachmentsAttachmentArrayOutputWithContext(ctx context.Context) GetTransitRouterPeerAttachmentsAttachmentArrayOutput

type GetTransitRouterPeerAttachmentsAttachmentInput added in v3.5.0

type GetTransitRouterPeerAttachmentsAttachmentInput interface {
	pulumi.Input

	ToGetTransitRouterPeerAttachmentsAttachmentOutput() GetTransitRouterPeerAttachmentsAttachmentOutput
	ToGetTransitRouterPeerAttachmentsAttachmentOutputWithContext(context.Context) GetTransitRouterPeerAttachmentsAttachmentOutput
}

GetTransitRouterPeerAttachmentsAttachmentInput is an input type that accepts GetTransitRouterPeerAttachmentsAttachmentArgs and GetTransitRouterPeerAttachmentsAttachmentOutput values. You can construct a concrete instance of `GetTransitRouterPeerAttachmentsAttachmentInput` via:

GetTransitRouterPeerAttachmentsAttachmentArgs{...}

type GetTransitRouterPeerAttachmentsAttachmentOutput added in v3.5.0

type GetTransitRouterPeerAttachmentsAttachmentOutput struct{ *pulumi.OutputState }

func (GetTransitRouterPeerAttachmentsAttachmentOutput) AutoPublishRouteEnabled added in v3.5.0

Auto publish route enabled.

func (GetTransitRouterPeerAttachmentsAttachmentOutput) Bandwidth added in v3.5.0

The bandwidth of the bandwidth package.

func (GetTransitRouterPeerAttachmentsAttachmentOutput) CenBandwidthPackageId added in v3.5.0

ID of the CEN bandwidth package.

func (GetTransitRouterPeerAttachmentsAttachmentOutput) ElementType added in v3.5.0

func (GetTransitRouterPeerAttachmentsAttachmentOutput) GeographicSpanId added in v3.5.0

ID of the geographic.

func (GetTransitRouterPeerAttachmentsAttachmentOutput) Id added in v3.5.0

The ID of CEN Transit Router peer attachments.

func (GetTransitRouterPeerAttachmentsAttachmentOutput) PeerTransitRouterId added in v3.5.0

ID of the peer transit router.

func (GetTransitRouterPeerAttachmentsAttachmentOutput) PeerTransitRouterOwnerId added in v3.5.0

Owner ID of the peer transit router.

func (GetTransitRouterPeerAttachmentsAttachmentOutput) PeerTransitRouterRegionId added in v3.5.0

Region ID of the peer transit router.

func (GetTransitRouterPeerAttachmentsAttachmentOutput) ResourceType added in v3.5.0

Type of the resource.

func (GetTransitRouterPeerAttachmentsAttachmentOutput) Status added in v3.5.0

The status of CEN Transit Router peer attachment. Valid values `Attached`, `Attaching` and `Detaching`.

func (GetTransitRouterPeerAttachmentsAttachmentOutput) ToGetTransitRouterPeerAttachmentsAttachmentOutput added in v3.5.0

func (o GetTransitRouterPeerAttachmentsAttachmentOutput) ToGetTransitRouterPeerAttachmentsAttachmentOutput() GetTransitRouterPeerAttachmentsAttachmentOutput

func (GetTransitRouterPeerAttachmentsAttachmentOutput) ToGetTransitRouterPeerAttachmentsAttachmentOutputWithContext added in v3.5.0

func (o GetTransitRouterPeerAttachmentsAttachmentOutput) ToGetTransitRouterPeerAttachmentsAttachmentOutputWithContext(ctx context.Context) GetTransitRouterPeerAttachmentsAttachmentOutput

func (GetTransitRouterPeerAttachmentsAttachmentOutput) TransitRouterAttachmentDescription added in v3.5.0

func (o GetTransitRouterPeerAttachmentsAttachmentOutput) TransitRouterAttachmentDescription() pulumi.StringOutput

The description of CEN Transit Router peer attachments.

func (GetTransitRouterPeerAttachmentsAttachmentOutput) TransitRouterAttachmentId added in v3.5.0

The ID of CEN Transit Router peer attachments.

func (GetTransitRouterPeerAttachmentsAttachmentOutput) TransitRouterAttachmentName added in v3.5.0

Name of the transit router attachment.

func (GetTransitRouterPeerAttachmentsAttachmentOutput) TransitRouterId added in v3.5.0

The ID of transit router.

type GetTransitRouterPeerAttachmentsOutputArgs added in v3.9.0

type GetTransitRouterPeerAttachmentsOutputArgs struct {
	// ID of the CEN instance.
	CenId pulumi.StringInput `pulumi:"cenId"`
	// A list of CEN Transit Router peer attachments IDs.
	Ids pulumi.StringArrayInput `pulumi:"ids"`
	// A regex string to filter CEN Transit Router peer attachments by name.
	NameRegex  pulumi.StringPtrInput `pulumi:"nameRegex"`
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
	// The status of CEN Transit Router peer attachment. Valid values `Attached`, `Attaching` and `Detaching`.
	Status pulumi.StringPtrInput `pulumi:"status"`
	// The ID of CEN Transit Router peer attachments.
	TransitRouterAttachmentId pulumi.StringPtrInput `pulumi:"transitRouterAttachmentId"`
	// The ID of transit router.
	TransitRouterId pulumi.StringPtrInput `pulumi:"transitRouterId"`
}

A collection of arguments for invoking getTransitRouterPeerAttachments.

func (GetTransitRouterPeerAttachmentsOutputArgs) ElementType added in v3.9.0

type GetTransitRouterPeerAttachmentsResult added in v3.5.0

type GetTransitRouterPeerAttachmentsResult struct {
	Attachments []GetTransitRouterPeerAttachmentsAttachment `pulumi:"attachments"`
	CenId       string                                      `pulumi:"cenId"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// A list of CEN Transit Router peer attachments IDs.
	Ids       []string `pulumi:"ids"`
	NameRegex *string  `pulumi:"nameRegex"`
	// A list of CEN Transit Router peer attachments names.
	Names      []string `pulumi:"names"`
	OutputFile *string  `pulumi:"outputFile"`
	// The status of the transit router attachment.
	Status *string `pulumi:"status"`
	// ID of the transit router attachment.
	TransitRouterAttachmentId *string `pulumi:"transitRouterAttachmentId"`
	// ID of the transit router.
	TransitRouterId *string `pulumi:"transitRouterId"`
}

A collection of values returned by getTransitRouterPeerAttachments.

func GetTransitRouterPeerAttachments added in v3.5.0

This data source provides CEN Transit Router peer attachments available to the user.

> **NOTE:** Available in 1.128.0+

type GetTransitRouterPeerAttachmentsResultOutput added in v3.9.0

type GetTransitRouterPeerAttachmentsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getTransitRouterPeerAttachments.

func (GetTransitRouterPeerAttachmentsResultOutput) Attachments added in v3.9.0

func (GetTransitRouterPeerAttachmentsResultOutput) CenId added in v3.9.0

func (GetTransitRouterPeerAttachmentsResultOutput) ElementType added in v3.9.0

func (GetTransitRouterPeerAttachmentsResultOutput) Id added in v3.9.0

The provider-assigned unique ID for this managed resource.

func (GetTransitRouterPeerAttachmentsResultOutput) Ids added in v3.9.0

A list of CEN Transit Router peer attachments IDs.

func (GetTransitRouterPeerAttachmentsResultOutput) NameRegex added in v3.9.0

func (GetTransitRouterPeerAttachmentsResultOutput) Names added in v3.9.0

A list of CEN Transit Router peer attachments names.

func (GetTransitRouterPeerAttachmentsResultOutput) OutputFile added in v3.9.0

func (GetTransitRouterPeerAttachmentsResultOutput) Status added in v3.9.0

The status of the transit router attachment.

func (GetTransitRouterPeerAttachmentsResultOutput) ToGetTransitRouterPeerAttachmentsResultOutput added in v3.9.0

func (o GetTransitRouterPeerAttachmentsResultOutput) ToGetTransitRouterPeerAttachmentsResultOutput() GetTransitRouterPeerAttachmentsResultOutput

func (GetTransitRouterPeerAttachmentsResultOutput) ToGetTransitRouterPeerAttachmentsResultOutputWithContext added in v3.9.0

func (o GetTransitRouterPeerAttachmentsResultOutput) ToGetTransitRouterPeerAttachmentsResultOutputWithContext(ctx context.Context) GetTransitRouterPeerAttachmentsResultOutput

func (GetTransitRouterPeerAttachmentsResultOutput) TransitRouterAttachmentId added in v3.9.0

ID of the transit router attachment.

func (GetTransitRouterPeerAttachmentsResultOutput) TransitRouterId added in v3.9.0

ID of the transit router.

type GetTransitRouterRouteEntriesArgs added in v3.4.0

type GetTransitRouterRouteEntriesArgs struct {
	// A list of CEN Transit Router Route Entry IDs.
	Ids        []string `pulumi:"ids"`
	NameRegex  *string  `pulumi:"nameRegex"`
	OutputFile *string  `pulumi:"outputFile"`
	Status     *string  `pulumi:"status"`
	// A list of ID of the cen transit router route entry.
	TransitRouterRouteEntryIds []string `pulumi:"transitRouterRouteEntryIds"`
	// A list of name of the cen transit router route entry.
	TransitRouterRouteEntryNames []string `pulumi:"transitRouterRouteEntryNames"`
	// The status of the resource.Valid values `Creating`, `Active` and `Deleting`.
	TransitRouterRouteEntryStatus *string `pulumi:"transitRouterRouteEntryStatus"`
	// ID of the CEN Transit Router Route Table.
	TransitRouterRouteTableId string `pulumi:"transitRouterRouteTableId"`
}

A collection of arguments for invoking getTransitRouterRouteEntries.

type GetTransitRouterRouteEntriesEntry added in v3.4.0

type GetTransitRouterRouteEntriesEntry struct {
	Id                                 string `pulumi:"id"`
	Status                             string `pulumi:"status"`
	TransitRouterRouteEntryDescription string `pulumi:"transitRouterRouteEntryDescription"`
	// The target network segment of the route entry.
	TransitRouterRouteEntryDestinationCidrBlock string `pulumi:"transitRouterRouteEntryDestinationCidrBlock"`
	TransitRouterRouteEntryId                   string `pulumi:"transitRouterRouteEntryId"`
	TransitRouterRouteEntryName                 string `pulumi:"transitRouterRouteEntryName"`
	// ID of the next hop.
	TransitRouterRouteEntryNextHopId string `pulumi:"transitRouterRouteEntryNextHopId"`
	// Type of the next hop.
	TransitRouterRouteEntryNextHopType string `pulumi:"transitRouterRouteEntryNextHopType"`
	// Type of the route entry.
	TransitRouterRouteEntryType string `pulumi:"transitRouterRouteEntryType"`
}

type GetTransitRouterRouteEntriesEntryArgs added in v3.4.0

type GetTransitRouterRouteEntriesEntryArgs struct {
	Id                                 pulumi.StringInput `pulumi:"id"`
	Status                             pulumi.StringInput `pulumi:"status"`
	TransitRouterRouteEntryDescription pulumi.StringInput `pulumi:"transitRouterRouteEntryDescription"`
	// The target network segment of the route entry.
	TransitRouterRouteEntryDestinationCidrBlock pulumi.StringInput `pulumi:"transitRouterRouteEntryDestinationCidrBlock"`
	TransitRouterRouteEntryId                   pulumi.StringInput `pulumi:"transitRouterRouteEntryId"`
	TransitRouterRouteEntryName                 pulumi.StringInput `pulumi:"transitRouterRouteEntryName"`
	// ID of the next hop.
	TransitRouterRouteEntryNextHopId pulumi.StringInput `pulumi:"transitRouterRouteEntryNextHopId"`
	// Type of the next hop.
	TransitRouterRouteEntryNextHopType pulumi.StringInput `pulumi:"transitRouterRouteEntryNextHopType"`
	// Type of the route entry.
	TransitRouterRouteEntryType pulumi.StringInput `pulumi:"transitRouterRouteEntryType"`
}

func (GetTransitRouterRouteEntriesEntryArgs) ElementType added in v3.4.0

func (GetTransitRouterRouteEntriesEntryArgs) ToGetTransitRouterRouteEntriesEntryOutput added in v3.4.0

func (i GetTransitRouterRouteEntriesEntryArgs) ToGetTransitRouterRouteEntriesEntryOutput() GetTransitRouterRouteEntriesEntryOutput

func (GetTransitRouterRouteEntriesEntryArgs) ToGetTransitRouterRouteEntriesEntryOutputWithContext added in v3.4.0

func (i GetTransitRouterRouteEntriesEntryArgs) ToGetTransitRouterRouteEntriesEntryOutputWithContext(ctx context.Context) GetTransitRouterRouteEntriesEntryOutput

type GetTransitRouterRouteEntriesEntryArray added in v3.4.0

type GetTransitRouterRouteEntriesEntryArray []GetTransitRouterRouteEntriesEntryInput

func (GetTransitRouterRouteEntriesEntryArray) ElementType added in v3.4.0

func (GetTransitRouterRouteEntriesEntryArray) ToGetTransitRouterRouteEntriesEntryArrayOutput added in v3.4.0

func (i GetTransitRouterRouteEntriesEntryArray) ToGetTransitRouterRouteEntriesEntryArrayOutput() GetTransitRouterRouteEntriesEntryArrayOutput

func (GetTransitRouterRouteEntriesEntryArray) ToGetTransitRouterRouteEntriesEntryArrayOutputWithContext added in v3.4.0

func (i GetTransitRouterRouteEntriesEntryArray) ToGetTransitRouterRouteEntriesEntryArrayOutputWithContext(ctx context.Context) GetTransitRouterRouteEntriesEntryArrayOutput

type GetTransitRouterRouteEntriesEntryArrayInput added in v3.4.0

type GetTransitRouterRouteEntriesEntryArrayInput interface {
	pulumi.Input

	ToGetTransitRouterRouteEntriesEntryArrayOutput() GetTransitRouterRouteEntriesEntryArrayOutput
	ToGetTransitRouterRouteEntriesEntryArrayOutputWithContext(context.Context) GetTransitRouterRouteEntriesEntryArrayOutput
}

GetTransitRouterRouteEntriesEntryArrayInput is an input type that accepts GetTransitRouterRouteEntriesEntryArray and GetTransitRouterRouteEntriesEntryArrayOutput values. You can construct a concrete instance of `GetTransitRouterRouteEntriesEntryArrayInput` via:

GetTransitRouterRouteEntriesEntryArray{ GetTransitRouterRouteEntriesEntryArgs{...} }

type GetTransitRouterRouteEntriesEntryArrayOutput added in v3.4.0

type GetTransitRouterRouteEntriesEntryArrayOutput struct{ *pulumi.OutputState }

func (GetTransitRouterRouteEntriesEntryArrayOutput) ElementType added in v3.4.0

func (GetTransitRouterRouteEntriesEntryArrayOutput) Index added in v3.4.0

func (GetTransitRouterRouteEntriesEntryArrayOutput) ToGetTransitRouterRouteEntriesEntryArrayOutput added in v3.4.0

func (o GetTransitRouterRouteEntriesEntryArrayOutput) ToGetTransitRouterRouteEntriesEntryArrayOutput() GetTransitRouterRouteEntriesEntryArrayOutput

func (GetTransitRouterRouteEntriesEntryArrayOutput) ToGetTransitRouterRouteEntriesEntryArrayOutputWithContext added in v3.4.0

func (o GetTransitRouterRouteEntriesEntryArrayOutput) ToGetTransitRouterRouteEntriesEntryArrayOutputWithContext(ctx context.Context) GetTransitRouterRouteEntriesEntryArrayOutput

type GetTransitRouterRouteEntriesEntryInput added in v3.4.0

type GetTransitRouterRouteEntriesEntryInput interface {
	pulumi.Input

	ToGetTransitRouterRouteEntriesEntryOutput() GetTransitRouterRouteEntriesEntryOutput
	ToGetTransitRouterRouteEntriesEntryOutputWithContext(context.Context) GetTransitRouterRouteEntriesEntryOutput
}

GetTransitRouterRouteEntriesEntryInput is an input type that accepts GetTransitRouterRouteEntriesEntryArgs and GetTransitRouterRouteEntriesEntryOutput values. You can construct a concrete instance of `GetTransitRouterRouteEntriesEntryInput` via:

GetTransitRouterRouteEntriesEntryArgs{...}

type GetTransitRouterRouteEntriesEntryOutput added in v3.4.0

type GetTransitRouterRouteEntriesEntryOutput struct{ *pulumi.OutputState }

func (GetTransitRouterRouteEntriesEntryOutput) ElementType added in v3.4.0

func (GetTransitRouterRouteEntriesEntryOutput) Id added in v3.4.0

func (GetTransitRouterRouteEntriesEntryOutput) Status added in v3.4.0

func (GetTransitRouterRouteEntriesEntryOutput) ToGetTransitRouterRouteEntriesEntryOutput added in v3.4.0

func (o GetTransitRouterRouteEntriesEntryOutput) ToGetTransitRouterRouteEntriesEntryOutput() GetTransitRouterRouteEntriesEntryOutput

func (GetTransitRouterRouteEntriesEntryOutput) ToGetTransitRouterRouteEntriesEntryOutputWithContext added in v3.4.0

func (o GetTransitRouterRouteEntriesEntryOutput) ToGetTransitRouterRouteEntriesEntryOutputWithContext(ctx context.Context) GetTransitRouterRouteEntriesEntryOutput

func (GetTransitRouterRouteEntriesEntryOutput) TransitRouterRouteEntryDescription added in v3.4.0

func (o GetTransitRouterRouteEntriesEntryOutput) TransitRouterRouteEntryDescription() pulumi.StringOutput

func (GetTransitRouterRouteEntriesEntryOutput) TransitRouterRouteEntryDestinationCidrBlock added in v3.4.0

func (o GetTransitRouterRouteEntriesEntryOutput) TransitRouterRouteEntryDestinationCidrBlock() pulumi.StringOutput

The target network segment of the route entry.

func (GetTransitRouterRouteEntriesEntryOutput) TransitRouterRouteEntryId added in v3.4.0

func (o GetTransitRouterRouteEntriesEntryOutput) TransitRouterRouteEntryId() pulumi.StringOutput

func (GetTransitRouterRouteEntriesEntryOutput) TransitRouterRouteEntryName added in v3.4.0

func (o GetTransitRouterRouteEntriesEntryOutput) TransitRouterRouteEntryName() pulumi.StringOutput

func (GetTransitRouterRouteEntriesEntryOutput) TransitRouterRouteEntryNextHopId added in v3.4.0

func (o GetTransitRouterRouteEntriesEntryOutput) TransitRouterRouteEntryNextHopId() pulumi.StringOutput

ID of the next hop.

func (GetTransitRouterRouteEntriesEntryOutput) TransitRouterRouteEntryNextHopType added in v3.4.0

func (o GetTransitRouterRouteEntriesEntryOutput) TransitRouterRouteEntryNextHopType() pulumi.StringOutput

Type of the next hop.

func (GetTransitRouterRouteEntriesEntryOutput) TransitRouterRouteEntryType added in v3.4.0

func (o GetTransitRouterRouteEntriesEntryOutput) TransitRouterRouteEntryType() pulumi.StringOutput

Type of the route entry.

type GetTransitRouterRouteEntriesOutputArgs added in v3.9.0

type GetTransitRouterRouteEntriesOutputArgs struct {
	// A list of CEN Transit Router Route Entry IDs.
	Ids        pulumi.StringArrayInput `pulumi:"ids"`
	NameRegex  pulumi.StringPtrInput   `pulumi:"nameRegex"`
	OutputFile pulumi.StringPtrInput   `pulumi:"outputFile"`
	Status     pulumi.StringPtrInput   `pulumi:"status"`
	// A list of ID of the cen transit router route entry.
	TransitRouterRouteEntryIds pulumi.StringArrayInput `pulumi:"transitRouterRouteEntryIds"`
	// A list of name of the cen transit router route entry.
	TransitRouterRouteEntryNames pulumi.StringArrayInput `pulumi:"transitRouterRouteEntryNames"`
	// The status of the resource.Valid values `Creating`, `Active` and `Deleting`.
	TransitRouterRouteEntryStatus pulumi.StringPtrInput `pulumi:"transitRouterRouteEntryStatus"`
	// ID of the CEN Transit Router Route Table.
	TransitRouterRouteTableId pulumi.StringInput `pulumi:"transitRouterRouteTableId"`
}

A collection of arguments for invoking getTransitRouterRouteEntries.

func (GetTransitRouterRouteEntriesOutputArgs) ElementType added in v3.9.0

type GetTransitRouterRouteEntriesResult added in v3.4.0

type GetTransitRouterRouteEntriesResult struct {
	// A list of CEN Route Entries. Each element contains the following attributes:
	Entries []GetTransitRouterRouteEntriesEntry `pulumi:"entries"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// A list of CEN Transit Router Route Entry IDs.
	Ids       []string `pulumi:"ids"`
	NameRegex *string  `pulumi:"nameRegex"`
	// A list of CEN Transit Router Route Entry Names.
	Names                        []string `pulumi:"names"`
	OutputFile                   *string  `pulumi:"outputFile"`
	Status                       *string  `pulumi:"status"`
	TransitRouterRouteEntryIds   []string `pulumi:"transitRouterRouteEntryIds"`
	TransitRouterRouteEntryNames []string `pulumi:"transitRouterRouteEntryNames"`
	// The status of the route entry in CEN.
	TransitRouterRouteEntryStatus *string `pulumi:"transitRouterRouteEntryStatus"`
	TransitRouterRouteTableId     string  `pulumi:"transitRouterRouteTableId"`
}

A collection of values returned by getTransitRouterRouteEntries.

func GetTransitRouterRouteEntries added in v3.4.0

func GetTransitRouterRouteEntries(ctx *pulumi.Context, args *GetTransitRouterRouteEntriesArgs, opts ...pulumi.InvokeOption) (*GetTransitRouterRouteEntriesResult, error)

This data source provides CEN Transit Router Route Entries available to the user.[What is Cen Transit Router Route Entries](https://help.aliyun.com/document_detail/260941.html)

> **NOTE:** Available in 1.126.0+

type GetTransitRouterRouteEntriesResultOutput added in v3.9.0

type GetTransitRouterRouteEntriesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getTransitRouterRouteEntries.

func (GetTransitRouterRouteEntriesResultOutput) ElementType added in v3.9.0

func (GetTransitRouterRouteEntriesResultOutput) Entries added in v3.9.0

A list of CEN Route Entries. Each element contains the following attributes:

func (GetTransitRouterRouteEntriesResultOutput) Id added in v3.9.0

The provider-assigned unique ID for this managed resource.

func (GetTransitRouterRouteEntriesResultOutput) Ids added in v3.9.0

A list of CEN Transit Router Route Entry IDs.

func (GetTransitRouterRouteEntriesResultOutput) NameRegex added in v3.9.0

func (GetTransitRouterRouteEntriesResultOutput) Names added in v3.9.0

A list of CEN Transit Router Route Entry Names.

func (GetTransitRouterRouteEntriesResultOutput) OutputFile added in v3.9.0

func (GetTransitRouterRouteEntriesResultOutput) Status added in v3.9.0

func (GetTransitRouterRouteEntriesResultOutput) ToGetTransitRouterRouteEntriesResultOutput added in v3.9.0

func (o GetTransitRouterRouteEntriesResultOutput) ToGetTransitRouterRouteEntriesResultOutput() GetTransitRouterRouteEntriesResultOutput

func (GetTransitRouterRouteEntriesResultOutput) ToGetTransitRouterRouteEntriesResultOutputWithContext added in v3.9.0

func (o GetTransitRouterRouteEntriesResultOutput) ToGetTransitRouterRouteEntriesResultOutputWithContext(ctx context.Context) GetTransitRouterRouteEntriesResultOutput

func (GetTransitRouterRouteEntriesResultOutput) TransitRouterRouteEntryIds added in v3.9.0

func (o GetTransitRouterRouteEntriesResultOutput) TransitRouterRouteEntryIds() pulumi.StringArrayOutput

func (GetTransitRouterRouteEntriesResultOutput) TransitRouterRouteEntryNames added in v3.9.0

func (o GetTransitRouterRouteEntriesResultOutput) TransitRouterRouteEntryNames() pulumi.StringArrayOutput

func (GetTransitRouterRouteEntriesResultOutput) TransitRouterRouteEntryStatus added in v3.9.0

func (o GetTransitRouterRouteEntriesResultOutput) TransitRouterRouteEntryStatus() pulumi.StringPtrOutput

The status of the route entry in CEN.

func (GetTransitRouterRouteEntriesResultOutput) TransitRouterRouteTableId added in v3.9.0

func (o GetTransitRouterRouteEntriesResultOutput) TransitRouterRouteTableId() pulumi.StringOutput

type GetTransitRouterRouteTableAssociationsArgs added in v3.4.0

type GetTransitRouterRouteTableAssociationsArgs struct {
	// A list of CEN Transit Router Route Table Association IDs.
	Ids        []string `pulumi:"ids"`
	OutputFile *string  `pulumi:"outputFile"`
	// The status of the route table, including `Active`, `Associating`, `Dissociating`.
	Status *string `pulumi:"status"`
	// ID of the route table of the VPC or VBR.
	TransitRouterRouteTableId string `pulumi:"transitRouterRouteTableId"`
}

A collection of arguments for invoking getTransitRouterRouteTableAssociations.

type GetTransitRouterRouteTableAssociationsAssociation added in v3.4.0

type GetTransitRouterRouteTableAssociationsAssociation struct {
	Id string `pulumi:"id"`
	// ID of the transit router route table association.
	ResourceId string `pulumi:"resourceId"`
	// Type of the resource.
	ResourceType string `pulumi:"resourceType"`
	// The status of the route table, including `Active`, `Associating`, `Dissociating`.
	Status string `pulumi:"status"`
	// ID of the cen transit router attachment.
	TransitRouterAttachmentId string `pulumi:"transitRouterAttachmentId"`
}

type GetTransitRouterRouteTableAssociationsAssociationArgs added in v3.4.0

type GetTransitRouterRouteTableAssociationsAssociationArgs struct {
	Id pulumi.StringInput `pulumi:"id"`
	// ID of the transit router route table association.
	ResourceId pulumi.StringInput `pulumi:"resourceId"`
	// Type of the resource.
	ResourceType pulumi.StringInput `pulumi:"resourceType"`
	// The status of the route table, including `Active`, `Associating`, `Dissociating`.
	Status pulumi.StringInput `pulumi:"status"`
	// ID of the cen transit router attachment.
	TransitRouterAttachmentId pulumi.StringInput `pulumi:"transitRouterAttachmentId"`
}

func (GetTransitRouterRouteTableAssociationsAssociationArgs) ElementType added in v3.4.0

func (GetTransitRouterRouteTableAssociationsAssociationArgs) ToGetTransitRouterRouteTableAssociationsAssociationOutput added in v3.4.0

func (i GetTransitRouterRouteTableAssociationsAssociationArgs) ToGetTransitRouterRouteTableAssociationsAssociationOutput() GetTransitRouterRouteTableAssociationsAssociationOutput

func (GetTransitRouterRouteTableAssociationsAssociationArgs) ToGetTransitRouterRouteTableAssociationsAssociationOutputWithContext added in v3.4.0

func (i GetTransitRouterRouteTableAssociationsAssociationArgs) ToGetTransitRouterRouteTableAssociationsAssociationOutputWithContext(ctx context.Context) GetTransitRouterRouteTableAssociationsAssociationOutput

type GetTransitRouterRouteTableAssociationsAssociationArray added in v3.4.0

type GetTransitRouterRouteTableAssociationsAssociationArray []GetTransitRouterRouteTableAssociationsAssociationInput

func (GetTransitRouterRouteTableAssociationsAssociationArray) ElementType added in v3.4.0

func (GetTransitRouterRouteTableAssociationsAssociationArray) ToGetTransitRouterRouteTableAssociationsAssociationArrayOutput added in v3.4.0

func (i GetTransitRouterRouteTableAssociationsAssociationArray) ToGetTransitRouterRouteTableAssociationsAssociationArrayOutput() GetTransitRouterRouteTableAssociationsAssociationArrayOutput

func (GetTransitRouterRouteTableAssociationsAssociationArray) ToGetTransitRouterRouteTableAssociationsAssociationArrayOutputWithContext added in v3.4.0

func (i GetTransitRouterRouteTableAssociationsAssociationArray) ToGetTransitRouterRouteTableAssociationsAssociationArrayOutputWithContext(ctx context.Context) GetTransitRouterRouteTableAssociationsAssociationArrayOutput

type GetTransitRouterRouteTableAssociationsAssociationArrayInput added in v3.4.0

type GetTransitRouterRouteTableAssociationsAssociationArrayInput interface {
	pulumi.Input

	ToGetTransitRouterRouteTableAssociationsAssociationArrayOutput() GetTransitRouterRouteTableAssociationsAssociationArrayOutput
	ToGetTransitRouterRouteTableAssociationsAssociationArrayOutputWithContext(context.Context) GetTransitRouterRouteTableAssociationsAssociationArrayOutput
}

GetTransitRouterRouteTableAssociationsAssociationArrayInput is an input type that accepts GetTransitRouterRouteTableAssociationsAssociationArray and GetTransitRouterRouteTableAssociationsAssociationArrayOutput values. You can construct a concrete instance of `GetTransitRouterRouteTableAssociationsAssociationArrayInput` via:

GetTransitRouterRouteTableAssociationsAssociationArray{ GetTransitRouterRouteTableAssociationsAssociationArgs{...} }

type GetTransitRouterRouteTableAssociationsAssociationArrayOutput added in v3.4.0

type GetTransitRouterRouteTableAssociationsAssociationArrayOutput struct{ *pulumi.OutputState }

func (GetTransitRouterRouteTableAssociationsAssociationArrayOutput) ElementType added in v3.4.0

func (GetTransitRouterRouteTableAssociationsAssociationArrayOutput) Index added in v3.4.0

func (GetTransitRouterRouteTableAssociationsAssociationArrayOutput) ToGetTransitRouterRouteTableAssociationsAssociationArrayOutput added in v3.4.0

func (GetTransitRouterRouteTableAssociationsAssociationArrayOutput) ToGetTransitRouterRouteTableAssociationsAssociationArrayOutputWithContext added in v3.4.0

func (o GetTransitRouterRouteTableAssociationsAssociationArrayOutput) ToGetTransitRouterRouteTableAssociationsAssociationArrayOutputWithContext(ctx context.Context) GetTransitRouterRouteTableAssociationsAssociationArrayOutput

type GetTransitRouterRouteTableAssociationsAssociationInput added in v3.4.0

type GetTransitRouterRouteTableAssociationsAssociationInput interface {
	pulumi.Input

	ToGetTransitRouterRouteTableAssociationsAssociationOutput() GetTransitRouterRouteTableAssociationsAssociationOutput
	ToGetTransitRouterRouteTableAssociationsAssociationOutputWithContext(context.Context) GetTransitRouterRouteTableAssociationsAssociationOutput
}

GetTransitRouterRouteTableAssociationsAssociationInput is an input type that accepts GetTransitRouterRouteTableAssociationsAssociationArgs and GetTransitRouterRouteTableAssociationsAssociationOutput values. You can construct a concrete instance of `GetTransitRouterRouteTableAssociationsAssociationInput` via:

GetTransitRouterRouteTableAssociationsAssociationArgs{...}

type GetTransitRouterRouteTableAssociationsAssociationOutput added in v3.4.0

type GetTransitRouterRouteTableAssociationsAssociationOutput struct{ *pulumi.OutputState }

func (GetTransitRouterRouteTableAssociationsAssociationOutput) ElementType added in v3.4.0

func (GetTransitRouterRouteTableAssociationsAssociationOutput) Id added in v3.4.0

func (GetTransitRouterRouteTableAssociationsAssociationOutput) ResourceId added in v3.4.0

ID of the transit router route table association.

func (GetTransitRouterRouteTableAssociationsAssociationOutput) ResourceType added in v3.4.0

Type of the resource.

func (GetTransitRouterRouteTableAssociationsAssociationOutput) Status added in v3.4.0

The status of the route table, including `Active`, `Associating`, `Dissociating`.

func (GetTransitRouterRouteTableAssociationsAssociationOutput) ToGetTransitRouterRouteTableAssociationsAssociationOutput added in v3.4.0

func (GetTransitRouterRouteTableAssociationsAssociationOutput) ToGetTransitRouterRouteTableAssociationsAssociationOutputWithContext added in v3.4.0

func (o GetTransitRouterRouteTableAssociationsAssociationOutput) ToGetTransitRouterRouteTableAssociationsAssociationOutputWithContext(ctx context.Context) GetTransitRouterRouteTableAssociationsAssociationOutput

func (GetTransitRouterRouteTableAssociationsAssociationOutput) TransitRouterAttachmentId added in v3.4.0

ID of the cen transit router attachment.

type GetTransitRouterRouteTableAssociationsOutputArgs added in v3.9.0

type GetTransitRouterRouteTableAssociationsOutputArgs struct {
	// A list of CEN Transit Router Route Table Association IDs.
	Ids        pulumi.StringArrayInput `pulumi:"ids"`
	OutputFile pulumi.StringPtrInput   `pulumi:"outputFile"`
	// The status of the route table, including `Active`, `Associating`, `Dissociating`.
	Status pulumi.StringPtrInput `pulumi:"status"`
	// ID of the route table of the VPC or VBR.
	TransitRouterRouteTableId pulumi.StringInput `pulumi:"transitRouterRouteTableId"`
}

A collection of arguments for invoking getTransitRouterRouteTableAssociations.

func (GetTransitRouterRouteTableAssociationsOutputArgs) ElementType added in v3.9.0

type GetTransitRouterRouteTableAssociationsResult added in v3.4.0

type GetTransitRouterRouteTableAssociationsResult struct {
	// A list of CEN Transit Router Route Table Associations. Each element contains the following attributes:
	Associations []GetTransitRouterRouteTableAssociationsAssociation `pulumi:"associations"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// A list of CEN Transit Router Route Table Association IDs.
	Ids        []string `pulumi:"ids"`
	OutputFile *string  `pulumi:"outputFile"`
	// The status of the route table.
	Status *string `pulumi:"status"`
	// ID of the transit router route table.
	TransitRouterRouteTableId string `pulumi:"transitRouterRouteTableId"`
}

A collection of values returned by getTransitRouterRouteTableAssociations.

func GetTransitRouterRouteTableAssociations added in v3.4.0

This data source provides CEN Transit Router Route Table Associations available to the user.[What is Cen Transit Router Route Table Associations](https://help.aliyun.com/document_detail/261243.html)

> **NOTE:** Available in 1.126.0+

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/cen"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_default, err := cen.GetTransitRouterRouteTableAssociations(ctx, &cen.GetTransitRouterRouteTableAssociationsArgs{
			TransitRouterRouteTableId: "rtb-id1",
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("firstTransitRouterPeerAttachmentsTransitRouterAttachmentResourceType", _default.Associations[0].ResourceType)
		return nil
	})
}

```

type GetTransitRouterRouteTableAssociationsResultOutput added in v3.9.0

type GetTransitRouterRouteTableAssociationsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getTransitRouterRouteTableAssociations.

func (GetTransitRouterRouteTableAssociationsResultOutput) Associations added in v3.9.0

A list of CEN Transit Router Route Table Associations. Each element contains the following attributes:

func (GetTransitRouterRouteTableAssociationsResultOutput) ElementType added in v3.9.0

func (GetTransitRouterRouteTableAssociationsResultOutput) Id added in v3.9.0

The provider-assigned unique ID for this managed resource.

func (GetTransitRouterRouteTableAssociationsResultOutput) Ids added in v3.9.0

A list of CEN Transit Router Route Table Association IDs.

func (GetTransitRouterRouteTableAssociationsResultOutput) OutputFile added in v3.9.0

func (GetTransitRouterRouteTableAssociationsResultOutput) Status added in v3.9.0

The status of the route table.

func (GetTransitRouterRouteTableAssociationsResultOutput) ToGetTransitRouterRouteTableAssociationsResultOutput added in v3.9.0

func (o GetTransitRouterRouteTableAssociationsResultOutput) ToGetTransitRouterRouteTableAssociationsResultOutput() GetTransitRouterRouteTableAssociationsResultOutput

func (GetTransitRouterRouteTableAssociationsResultOutput) ToGetTransitRouterRouteTableAssociationsResultOutputWithContext added in v3.9.0

func (o GetTransitRouterRouteTableAssociationsResultOutput) ToGetTransitRouterRouteTableAssociationsResultOutputWithContext(ctx context.Context) GetTransitRouterRouteTableAssociationsResultOutput

func (GetTransitRouterRouteTableAssociationsResultOutput) TransitRouterRouteTableId added in v3.9.0

ID of the transit router route table.

type GetTransitRouterRouteTablePropagationsArgs added in v3.4.0

type GetTransitRouterRouteTablePropagationsArgs struct {
	// A list of CEN Transit Router Route Table Association IDs.
	Ids        []string `pulumi:"ids"`
	OutputFile *string  `pulumi:"outputFile"`
	// The status of the route table, including `Active`, `Enabling`, `Disabling`, `Deleted`.
	Status *string `pulumi:"status"`
	// ID of the route table of the VPC or VBR.
	TransitRouterRouteTableId string `pulumi:"transitRouterRouteTableId"`
}

A collection of arguments for invoking getTransitRouterRouteTablePropagations.

type GetTransitRouterRouteTablePropagationsOutputArgs added in v3.9.0

type GetTransitRouterRouteTablePropagationsOutputArgs struct {
	// A list of CEN Transit Router Route Table Association IDs.
	Ids        pulumi.StringArrayInput `pulumi:"ids"`
	OutputFile pulumi.StringPtrInput   `pulumi:"outputFile"`
	// The status of the route table, including `Active`, `Enabling`, `Disabling`, `Deleted`.
	Status pulumi.StringPtrInput `pulumi:"status"`
	// ID of the route table of the VPC or VBR.
	TransitRouterRouteTableId pulumi.StringInput `pulumi:"transitRouterRouteTableId"`
}

A collection of arguments for invoking getTransitRouterRouteTablePropagations.

func (GetTransitRouterRouteTablePropagationsOutputArgs) ElementType added in v3.9.0

type GetTransitRouterRouteTablePropagationsPropagation added in v3.4.0

type GetTransitRouterRouteTablePropagationsPropagation struct {
	Id string `pulumi:"id"`
	// ID of the transit router route table association.
	ResourceId string `pulumi:"resourceId"`
	// Type of the resource.
	ResourceType string `pulumi:"resourceType"`
	// The status of the route table, including `Active`, `Enabling`, `Disabling`, `Deleted`.
	Status string `pulumi:"status"`
	// ID of the cen transit router attachment.
	TransitRouterAttachmentId string `pulumi:"transitRouterAttachmentId"`
}

type GetTransitRouterRouteTablePropagationsPropagationArgs added in v3.4.0

type GetTransitRouterRouteTablePropagationsPropagationArgs struct {
	Id pulumi.StringInput `pulumi:"id"`
	// ID of the transit router route table association.
	ResourceId pulumi.StringInput `pulumi:"resourceId"`
	// Type of the resource.
	ResourceType pulumi.StringInput `pulumi:"resourceType"`
	// The status of the route table, including `Active`, `Enabling`, `Disabling`, `Deleted`.
	Status pulumi.StringInput `pulumi:"status"`
	// ID of the cen transit router attachment.
	TransitRouterAttachmentId pulumi.StringInput `pulumi:"transitRouterAttachmentId"`
}

func (GetTransitRouterRouteTablePropagationsPropagationArgs) ElementType added in v3.4.0

func (GetTransitRouterRouteTablePropagationsPropagationArgs) ToGetTransitRouterRouteTablePropagationsPropagationOutput added in v3.4.0

func (i GetTransitRouterRouteTablePropagationsPropagationArgs) ToGetTransitRouterRouteTablePropagationsPropagationOutput() GetTransitRouterRouteTablePropagationsPropagationOutput

func (GetTransitRouterRouteTablePropagationsPropagationArgs) ToGetTransitRouterRouteTablePropagationsPropagationOutputWithContext added in v3.4.0

func (i GetTransitRouterRouteTablePropagationsPropagationArgs) ToGetTransitRouterRouteTablePropagationsPropagationOutputWithContext(ctx context.Context) GetTransitRouterRouteTablePropagationsPropagationOutput

type GetTransitRouterRouteTablePropagationsPropagationArray added in v3.4.0

type GetTransitRouterRouteTablePropagationsPropagationArray []GetTransitRouterRouteTablePropagationsPropagationInput

func (GetTransitRouterRouteTablePropagationsPropagationArray) ElementType added in v3.4.0

func (GetTransitRouterRouteTablePropagationsPropagationArray) ToGetTransitRouterRouteTablePropagationsPropagationArrayOutput added in v3.4.0

func (i GetTransitRouterRouteTablePropagationsPropagationArray) ToGetTransitRouterRouteTablePropagationsPropagationArrayOutput() GetTransitRouterRouteTablePropagationsPropagationArrayOutput

func (GetTransitRouterRouteTablePropagationsPropagationArray) ToGetTransitRouterRouteTablePropagationsPropagationArrayOutputWithContext added in v3.4.0

func (i GetTransitRouterRouteTablePropagationsPropagationArray) ToGetTransitRouterRouteTablePropagationsPropagationArrayOutputWithContext(ctx context.Context) GetTransitRouterRouteTablePropagationsPropagationArrayOutput

type GetTransitRouterRouteTablePropagationsPropagationArrayInput added in v3.4.0

type GetTransitRouterRouteTablePropagationsPropagationArrayInput interface {
	pulumi.Input

	ToGetTransitRouterRouteTablePropagationsPropagationArrayOutput() GetTransitRouterRouteTablePropagationsPropagationArrayOutput
	ToGetTransitRouterRouteTablePropagationsPropagationArrayOutputWithContext(context.Context) GetTransitRouterRouteTablePropagationsPropagationArrayOutput
}

GetTransitRouterRouteTablePropagationsPropagationArrayInput is an input type that accepts GetTransitRouterRouteTablePropagationsPropagationArray and GetTransitRouterRouteTablePropagationsPropagationArrayOutput values. You can construct a concrete instance of `GetTransitRouterRouteTablePropagationsPropagationArrayInput` via:

GetTransitRouterRouteTablePropagationsPropagationArray{ GetTransitRouterRouteTablePropagationsPropagationArgs{...} }

type GetTransitRouterRouteTablePropagationsPropagationArrayOutput added in v3.4.0

type GetTransitRouterRouteTablePropagationsPropagationArrayOutput struct{ *pulumi.OutputState }

func (GetTransitRouterRouteTablePropagationsPropagationArrayOutput) ElementType added in v3.4.0

func (GetTransitRouterRouteTablePropagationsPropagationArrayOutput) Index added in v3.4.0

func (GetTransitRouterRouteTablePropagationsPropagationArrayOutput) ToGetTransitRouterRouteTablePropagationsPropagationArrayOutput added in v3.4.0

func (GetTransitRouterRouteTablePropagationsPropagationArrayOutput) ToGetTransitRouterRouteTablePropagationsPropagationArrayOutputWithContext added in v3.4.0

func (o GetTransitRouterRouteTablePropagationsPropagationArrayOutput) ToGetTransitRouterRouteTablePropagationsPropagationArrayOutputWithContext(ctx context.Context) GetTransitRouterRouteTablePropagationsPropagationArrayOutput

type GetTransitRouterRouteTablePropagationsPropagationInput added in v3.4.0

type GetTransitRouterRouteTablePropagationsPropagationInput interface {
	pulumi.Input

	ToGetTransitRouterRouteTablePropagationsPropagationOutput() GetTransitRouterRouteTablePropagationsPropagationOutput
	ToGetTransitRouterRouteTablePropagationsPropagationOutputWithContext(context.Context) GetTransitRouterRouteTablePropagationsPropagationOutput
}

GetTransitRouterRouteTablePropagationsPropagationInput is an input type that accepts GetTransitRouterRouteTablePropagationsPropagationArgs and GetTransitRouterRouteTablePropagationsPropagationOutput values. You can construct a concrete instance of `GetTransitRouterRouteTablePropagationsPropagationInput` via:

GetTransitRouterRouteTablePropagationsPropagationArgs{...}

type GetTransitRouterRouteTablePropagationsPropagationOutput added in v3.4.0

type GetTransitRouterRouteTablePropagationsPropagationOutput struct{ *pulumi.OutputState }

func (GetTransitRouterRouteTablePropagationsPropagationOutput) ElementType added in v3.4.0

func (GetTransitRouterRouteTablePropagationsPropagationOutput) Id added in v3.4.0

func (GetTransitRouterRouteTablePropagationsPropagationOutput) ResourceId added in v3.4.0

ID of the transit router route table association.

func (GetTransitRouterRouteTablePropagationsPropagationOutput) ResourceType added in v3.4.0

Type of the resource.

func (GetTransitRouterRouteTablePropagationsPropagationOutput) Status added in v3.4.0

The status of the route table, including `Active`, `Enabling`, `Disabling`, `Deleted`.

func (GetTransitRouterRouteTablePropagationsPropagationOutput) ToGetTransitRouterRouteTablePropagationsPropagationOutput added in v3.4.0

func (GetTransitRouterRouteTablePropagationsPropagationOutput) ToGetTransitRouterRouteTablePropagationsPropagationOutputWithContext added in v3.4.0

func (o GetTransitRouterRouteTablePropagationsPropagationOutput) ToGetTransitRouterRouteTablePropagationsPropagationOutputWithContext(ctx context.Context) GetTransitRouterRouteTablePropagationsPropagationOutput

func (GetTransitRouterRouteTablePropagationsPropagationOutput) TransitRouterAttachmentId added in v3.4.0

ID of the cen transit router attachment.

type GetTransitRouterRouteTablePropagationsResult added in v3.4.0

type GetTransitRouterRouteTablePropagationsResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// A list of CEN Transit Router Route Table Association IDs.
	Ids        []string `pulumi:"ids"`
	OutputFile *string  `pulumi:"outputFile"`
	// A list of CEN Transit Router Route Table Propagations. Each element contains the following attributes:
	Propagations []GetTransitRouterRouteTablePropagationsPropagation `pulumi:"propagations"`
	// The status of the route table.
	Status *string `pulumi:"status"`
	// ID of the transit router route table.
	TransitRouterRouteTableId string `pulumi:"transitRouterRouteTableId"`
}

A collection of values returned by getTransitRouterRouteTablePropagations.

func GetTransitRouterRouteTablePropagations added in v3.4.0

This data source provides CEN Transit Router Route Table Propagations available to the user.[What is Cen Transit Router Route Table Propagations](https://help.aliyun.com/document_detail/261245.html)

> **NOTE:** Available in 1.126.0+

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/cen"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_default, err := cen.GetTransitRouterRouteTablePropagations(ctx, &cen.GetTransitRouterRouteTablePropagationsArgs{
			TransitRouterRouteTableId: "rtb-id1",
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("firstTransitRouterPeerAttachmentsTransitRouterAttachmentResourceType", _default.Propagations[0].ResourceType)
		return nil
	})
}

```

type GetTransitRouterRouteTablePropagationsResultOutput added in v3.9.0

type GetTransitRouterRouteTablePropagationsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getTransitRouterRouteTablePropagations.

func (GetTransitRouterRouteTablePropagationsResultOutput) ElementType added in v3.9.0

func (GetTransitRouterRouteTablePropagationsResultOutput) Id added in v3.9.0

The provider-assigned unique ID for this managed resource.

func (GetTransitRouterRouteTablePropagationsResultOutput) Ids added in v3.9.0

A list of CEN Transit Router Route Table Association IDs.

func (GetTransitRouterRouteTablePropagationsResultOutput) OutputFile added in v3.9.0

func (GetTransitRouterRouteTablePropagationsResultOutput) Propagations added in v3.9.0

A list of CEN Transit Router Route Table Propagations. Each element contains the following attributes:

func (GetTransitRouterRouteTablePropagationsResultOutput) Status added in v3.9.0

The status of the route table.

func (GetTransitRouterRouteTablePropagationsResultOutput) ToGetTransitRouterRouteTablePropagationsResultOutput added in v3.9.0

func (o GetTransitRouterRouteTablePropagationsResultOutput) ToGetTransitRouterRouteTablePropagationsResultOutput() GetTransitRouterRouteTablePropagationsResultOutput

func (GetTransitRouterRouteTablePropagationsResultOutput) ToGetTransitRouterRouteTablePropagationsResultOutputWithContext added in v3.9.0

func (o GetTransitRouterRouteTablePropagationsResultOutput) ToGetTransitRouterRouteTablePropagationsResultOutputWithContext(ctx context.Context) GetTransitRouterRouteTablePropagationsResultOutput

func (GetTransitRouterRouteTablePropagationsResultOutput) TransitRouterRouteTableId added in v3.9.0

ID of the transit router route table.

type GetTransitRouterRouteTablesArgs added in v3.4.0

type GetTransitRouterRouteTablesArgs struct {
	// A list of CEN Transit Router Route Table IDs.
	Ids        []string `pulumi:"ids"`
	NameRegex  *string  `pulumi:"nameRegex"`
	OutputFile *string  `pulumi:"outputFile"`
	Status     *string  `pulumi:"status"`
	// ID of the CEN Transit Router Route Table.
	TransitRouterId string `pulumi:"transitRouterId"`
	// A list of ID of the CEN Transit Router Route Table.
	TransitRouterRouteTableIds []string `pulumi:"transitRouterRouteTableIds"`
	// A list of name of the CEN Transit Router Route Table.
	TransitRouterRouteTableNames []string `pulumi:"transitRouterRouteTableNames"`
	// The status of the transit router route table to query.
	TransitRouterRouteTableStatus *string `pulumi:"transitRouterRouteTableStatus"`
}

A collection of arguments for invoking getTransitRouterRouteTables.

type GetTransitRouterRouteTablesOutputArgs added in v3.9.0

type GetTransitRouterRouteTablesOutputArgs struct {
	// A list of CEN Transit Router Route Table IDs.
	Ids        pulumi.StringArrayInput `pulumi:"ids"`
	NameRegex  pulumi.StringPtrInput   `pulumi:"nameRegex"`
	OutputFile pulumi.StringPtrInput   `pulumi:"outputFile"`
	Status     pulumi.StringPtrInput   `pulumi:"status"`
	// ID of the CEN Transit Router Route Table.
	TransitRouterId pulumi.StringInput `pulumi:"transitRouterId"`
	// A list of ID of the CEN Transit Router Route Table.
	TransitRouterRouteTableIds pulumi.StringArrayInput `pulumi:"transitRouterRouteTableIds"`
	// A list of name of the CEN Transit Router Route Table.
	TransitRouterRouteTableNames pulumi.StringArrayInput `pulumi:"transitRouterRouteTableNames"`
	// The status of the transit router route table to query.
	TransitRouterRouteTableStatus pulumi.StringPtrInput `pulumi:"transitRouterRouteTableStatus"`
}

A collection of arguments for invoking getTransitRouterRouteTables.

func (GetTransitRouterRouteTablesOutputArgs) ElementType added in v3.9.0

type GetTransitRouterRouteTablesResult added in v3.4.0

type GetTransitRouterRouteTablesResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// A list of CEN Transit Router Route Table IDs.
	Ids       []string `pulumi:"ids"`
	NameRegex *string  `pulumi:"nameRegex"`
	// A list of name of CEN Transit Router Route Tables.
	Names      []string `pulumi:"names"`
	OutputFile *string  `pulumi:"outputFile"`
	Status     *string  `pulumi:"status"`
	// A list of CEN Route Entries. Each element contains the following attributes:
	Tables                       []GetTransitRouterRouteTablesTable `pulumi:"tables"`
	TransitRouterId              string                             `pulumi:"transitRouterId"`
	TransitRouterRouteTableIds   []string                           `pulumi:"transitRouterRouteTableIds"`
	TransitRouterRouteTableNames []string                           `pulumi:"transitRouterRouteTableNames"`
	// The status of the route table.
	TransitRouterRouteTableStatus *string `pulumi:"transitRouterRouteTableStatus"`
}

A collection of values returned by getTransitRouterRouteTables.

func GetTransitRouterRouteTables added in v3.4.0

func GetTransitRouterRouteTables(ctx *pulumi.Context, args *GetTransitRouterRouteTablesArgs, opts ...pulumi.InvokeOption) (*GetTransitRouterRouteTablesResult, error)

This data source provides CEN Transit Router Route Tables available to the user.[What is Cen Transit Router Route Tables](https://help.aliyun.com/document_detail/261237.html)

> **NOTE:** Available in 1.126.0+

type GetTransitRouterRouteTablesResultOutput added in v3.9.0

type GetTransitRouterRouteTablesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getTransitRouterRouteTables.

func (GetTransitRouterRouteTablesResultOutput) ElementType added in v3.9.0

func (GetTransitRouterRouteTablesResultOutput) Id added in v3.9.0

The provider-assigned unique ID for this managed resource.

func (GetTransitRouterRouteTablesResultOutput) Ids added in v3.9.0

A list of CEN Transit Router Route Table IDs.

func (GetTransitRouterRouteTablesResultOutput) NameRegex added in v3.9.0

func (GetTransitRouterRouteTablesResultOutput) Names added in v3.9.0

A list of name of CEN Transit Router Route Tables.

func (GetTransitRouterRouteTablesResultOutput) OutputFile added in v3.9.0

func (GetTransitRouterRouteTablesResultOutput) Status added in v3.9.0

func (GetTransitRouterRouteTablesResultOutput) Tables added in v3.9.0

A list of CEN Route Entries. Each element contains the following attributes:

func (GetTransitRouterRouteTablesResultOutput) ToGetTransitRouterRouteTablesResultOutput added in v3.9.0

func (o GetTransitRouterRouteTablesResultOutput) ToGetTransitRouterRouteTablesResultOutput() GetTransitRouterRouteTablesResultOutput

func (GetTransitRouterRouteTablesResultOutput) ToGetTransitRouterRouteTablesResultOutputWithContext added in v3.9.0

func (o GetTransitRouterRouteTablesResultOutput) ToGetTransitRouterRouteTablesResultOutputWithContext(ctx context.Context) GetTransitRouterRouteTablesResultOutput

func (GetTransitRouterRouteTablesResultOutput) TransitRouterId added in v3.9.0

func (GetTransitRouterRouteTablesResultOutput) TransitRouterRouteTableIds added in v3.9.0

func (o GetTransitRouterRouteTablesResultOutput) TransitRouterRouteTableIds() pulumi.StringArrayOutput

func (GetTransitRouterRouteTablesResultOutput) TransitRouterRouteTableNames added in v3.9.0

func (o GetTransitRouterRouteTablesResultOutput) TransitRouterRouteTableNames() pulumi.StringArrayOutput

func (GetTransitRouterRouteTablesResultOutput) TransitRouterRouteTableStatus added in v3.9.0

func (o GetTransitRouterRouteTablesResultOutput) TransitRouterRouteTableStatus() pulumi.StringPtrOutput

The status of the route table.

type GetTransitRouterRouteTablesTable added in v3.4.0

type GetTransitRouterRouteTablesTable struct {
	// ID of resource.
	Id     string `pulumi:"id"`
	Status string `pulumi:"status"`
	// The description of the transit router route table.
	TransitRouterRouteTableDescription string `pulumi:"transitRouterRouteTableDescription"`
	// ID of the trabsit router route table.
	TransitRouterRouteTableId string `pulumi:"transitRouterRouteTableId"`
	// Name of the transit router route table.
	TransitRouterRouteTableName string `pulumi:"transitRouterRouteTableName"`
	// The type of the transit router route table to query. Valid values `Creating`, `Active` and `Deleting`..
	TransitRouterRouteTableType string `pulumi:"transitRouterRouteTableType"`
}

type GetTransitRouterRouteTablesTableArgs added in v3.4.0

type GetTransitRouterRouteTablesTableArgs struct {
	// ID of resource.
	Id     pulumi.StringInput `pulumi:"id"`
	Status pulumi.StringInput `pulumi:"status"`
	// The description of the transit router route table.
	TransitRouterRouteTableDescription pulumi.StringInput `pulumi:"transitRouterRouteTableDescription"`
	// ID of the trabsit router route table.
	TransitRouterRouteTableId pulumi.StringInput `pulumi:"transitRouterRouteTableId"`
	// Name of the transit router route table.
	TransitRouterRouteTableName pulumi.StringInput `pulumi:"transitRouterRouteTableName"`
	// The type of the transit router route table to query. Valid values `Creating`, `Active` and `Deleting`..
	TransitRouterRouteTableType pulumi.StringInput `pulumi:"transitRouterRouteTableType"`
}

func (GetTransitRouterRouteTablesTableArgs) ElementType added in v3.4.0

func (GetTransitRouterRouteTablesTableArgs) ToGetTransitRouterRouteTablesTableOutput added in v3.4.0

func (i GetTransitRouterRouteTablesTableArgs) ToGetTransitRouterRouteTablesTableOutput() GetTransitRouterRouteTablesTableOutput

func (GetTransitRouterRouteTablesTableArgs) ToGetTransitRouterRouteTablesTableOutputWithContext added in v3.4.0

func (i GetTransitRouterRouteTablesTableArgs) ToGetTransitRouterRouteTablesTableOutputWithContext(ctx context.Context) GetTransitRouterRouteTablesTableOutput

type GetTransitRouterRouteTablesTableArray added in v3.4.0

type GetTransitRouterRouteTablesTableArray []GetTransitRouterRouteTablesTableInput

func (GetTransitRouterRouteTablesTableArray) ElementType added in v3.4.0

func (GetTransitRouterRouteTablesTableArray) ToGetTransitRouterRouteTablesTableArrayOutput added in v3.4.0

func (i GetTransitRouterRouteTablesTableArray) ToGetTransitRouterRouteTablesTableArrayOutput() GetTransitRouterRouteTablesTableArrayOutput

func (GetTransitRouterRouteTablesTableArray) ToGetTransitRouterRouteTablesTableArrayOutputWithContext added in v3.4.0

func (i GetTransitRouterRouteTablesTableArray) ToGetTransitRouterRouteTablesTableArrayOutputWithContext(ctx context.Context) GetTransitRouterRouteTablesTableArrayOutput

type GetTransitRouterRouteTablesTableArrayInput added in v3.4.0

type GetTransitRouterRouteTablesTableArrayInput interface {
	pulumi.Input

	ToGetTransitRouterRouteTablesTableArrayOutput() GetTransitRouterRouteTablesTableArrayOutput
	ToGetTransitRouterRouteTablesTableArrayOutputWithContext(context.Context) GetTransitRouterRouteTablesTableArrayOutput
}

GetTransitRouterRouteTablesTableArrayInput is an input type that accepts GetTransitRouterRouteTablesTableArray and GetTransitRouterRouteTablesTableArrayOutput values. You can construct a concrete instance of `GetTransitRouterRouteTablesTableArrayInput` via:

GetTransitRouterRouteTablesTableArray{ GetTransitRouterRouteTablesTableArgs{...} }

type GetTransitRouterRouteTablesTableArrayOutput added in v3.4.0

type GetTransitRouterRouteTablesTableArrayOutput struct{ *pulumi.OutputState }

func (GetTransitRouterRouteTablesTableArrayOutput) ElementType added in v3.4.0

func (GetTransitRouterRouteTablesTableArrayOutput) Index added in v3.4.0

func (GetTransitRouterRouteTablesTableArrayOutput) ToGetTransitRouterRouteTablesTableArrayOutput added in v3.4.0

func (o GetTransitRouterRouteTablesTableArrayOutput) ToGetTransitRouterRouteTablesTableArrayOutput() GetTransitRouterRouteTablesTableArrayOutput

func (GetTransitRouterRouteTablesTableArrayOutput) ToGetTransitRouterRouteTablesTableArrayOutputWithContext added in v3.4.0

func (o GetTransitRouterRouteTablesTableArrayOutput) ToGetTransitRouterRouteTablesTableArrayOutputWithContext(ctx context.Context) GetTransitRouterRouteTablesTableArrayOutput

type GetTransitRouterRouteTablesTableInput added in v3.4.0

type GetTransitRouterRouteTablesTableInput interface {
	pulumi.Input

	ToGetTransitRouterRouteTablesTableOutput() GetTransitRouterRouteTablesTableOutput
	ToGetTransitRouterRouteTablesTableOutputWithContext(context.Context) GetTransitRouterRouteTablesTableOutput
}

GetTransitRouterRouteTablesTableInput is an input type that accepts GetTransitRouterRouteTablesTableArgs and GetTransitRouterRouteTablesTableOutput values. You can construct a concrete instance of `GetTransitRouterRouteTablesTableInput` via:

GetTransitRouterRouteTablesTableArgs{...}

type GetTransitRouterRouteTablesTableOutput added in v3.4.0

type GetTransitRouterRouteTablesTableOutput struct{ *pulumi.OutputState }

func (GetTransitRouterRouteTablesTableOutput) ElementType added in v3.4.0

func (GetTransitRouterRouteTablesTableOutput) Id added in v3.4.0

ID of resource.

func (GetTransitRouterRouteTablesTableOutput) Status added in v3.4.0

func (GetTransitRouterRouteTablesTableOutput) ToGetTransitRouterRouteTablesTableOutput added in v3.4.0

func (o GetTransitRouterRouteTablesTableOutput) ToGetTransitRouterRouteTablesTableOutput() GetTransitRouterRouteTablesTableOutput

func (GetTransitRouterRouteTablesTableOutput) ToGetTransitRouterRouteTablesTableOutputWithContext added in v3.4.0

func (o GetTransitRouterRouteTablesTableOutput) ToGetTransitRouterRouteTablesTableOutputWithContext(ctx context.Context) GetTransitRouterRouteTablesTableOutput

func (GetTransitRouterRouteTablesTableOutput) TransitRouterRouteTableDescription added in v3.4.0

func (o GetTransitRouterRouteTablesTableOutput) TransitRouterRouteTableDescription() pulumi.StringOutput

The description of the transit router route table.

func (GetTransitRouterRouteTablesTableOutput) TransitRouterRouteTableId added in v3.4.0

func (o GetTransitRouterRouteTablesTableOutput) TransitRouterRouteTableId() pulumi.StringOutput

ID of the trabsit router route table.

func (GetTransitRouterRouteTablesTableOutput) TransitRouterRouteTableName added in v3.4.0

func (o GetTransitRouterRouteTablesTableOutput) TransitRouterRouteTableName() pulumi.StringOutput

Name of the transit router route table.

func (GetTransitRouterRouteTablesTableOutput) TransitRouterRouteTableType added in v3.4.0

func (o GetTransitRouterRouteTablesTableOutput) TransitRouterRouteTableType() pulumi.StringOutput

The type of the transit router route table to query. Valid values `Creating`, `Active` and `Deleting`..

type GetTransitRouterServiceArgs added in v3.9.0

type GetTransitRouterServiceArgs struct {
	// Setting the value to `On` to enable the service. If has been enabled, return the result. Valid values: `On` or `Off`. Default to `Off`.
	Enable *string `pulumi:"enable"`
}

A collection of arguments for invoking getTransitRouterService.

type GetTransitRouterServiceOutputArgs added in v3.9.0

type GetTransitRouterServiceOutputArgs struct {
	// Setting the value to `On` to enable the service. If has been enabled, return the result. Valid values: `On` or `Off`. Default to `Off`.
	Enable pulumi.StringPtrInput `pulumi:"enable"`
}

A collection of arguments for invoking getTransitRouterService.

func (GetTransitRouterServiceOutputArgs) ElementType added in v3.9.0

type GetTransitRouterServiceResult added in v3.9.0

type GetTransitRouterServiceResult struct {
	Enable *string `pulumi:"enable"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The current service enable status.
	Status string `pulumi:"status"`
}

A collection of values returned by getTransitRouterService.

func GetTransitRouterService added in v3.9.0

func GetTransitRouterService(ctx *pulumi.Context, args *GetTransitRouterServiceArgs, opts ...pulumi.InvokeOption) (*GetTransitRouterServiceResult, error)

Using this data source can open CEN Transit Router Service automatically. If the service has been opened, it will return opened.

For information about CEN and how to use it, see [What is CEN](https://www.alibabacloud.com/help/en/doc-detail/59870.htm).

> **NOTE:** Available in v1.139.0+

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/cen"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		opt0 := "On"
		_, err := cen.GetTransitRouterService(ctx, &cen.GetTransitRouterServiceArgs{
			Enable: &opt0,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetTransitRouterServiceResultOutput added in v3.9.0

type GetTransitRouterServiceResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getTransitRouterService.

func (GetTransitRouterServiceResultOutput) ElementType added in v3.9.0

func (GetTransitRouterServiceResultOutput) Enable added in v3.9.0

func (GetTransitRouterServiceResultOutput) Id added in v3.9.0

The provider-assigned unique ID for this managed resource.

func (GetTransitRouterServiceResultOutput) Status added in v3.9.0

The current service enable status.

func (GetTransitRouterServiceResultOutput) ToGetTransitRouterServiceResultOutput added in v3.9.0

func (o GetTransitRouterServiceResultOutput) ToGetTransitRouterServiceResultOutput() GetTransitRouterServiceResultOutput

func (GetTransitRouterServiceResultOutput) ToGetTransitRouterServiceResultOutputWithContext added in v3.9.0

func (o GetTransitRouterServiceResultOutput) ToGetTransitRouterServiceResultOutputWithContext(ctx context.Context) GetTransitRouterServiceResultOutput

type GetTransitRouterVbrAttachmentsArgs added in v3.4.0

type GetTransitRouterVbrAttachmentsArgs struct {
	// ID of the CEN instance.
	CenId string `pulumi:"cenId"`
	// A list of resource id. The element value is same as `transitRouterId`.
	Ids        []string `pulumi:"ids"`
	OutputFile *string  `pulumi:"outputFile"`
	// The status of the resource. Valid values `Attached`, `Attaching` and `Detaching`.
	Status *string `pulumi:"status"`
	// ID of the transit router.
	TransitRouterId *string `pulumi:"transitRouterId"`
}

A collection of arguments for invoking getTransitRouterVbrAttachments.

type GetTransitRouterVbrAttachmentsAttachment added in v3.4.0

type GetTransitRouterVbrAttachmentsAttachment struct {
	// ID of the region where the conflicted VBR is located.
	AutoPublishRouteEnabled bool   `pulumi:"autoPublishRouteEnabled"`
	Id                      string `pulumi:"id"`
	// Type of the resource.
	ResourceType string `pulumi:"resourceType"`
	// The status of the resource. Valid values `Attached`, `Attaching` and `Detaching`.
	Status                             string `pulumi:"status"`
	TransitRouterAttachmentDescription string `pulumi:"transitRouterAttachmentDescription"`
	// ID of the transit router VBR attachment.
	TransitRouterAttachmentId string `pulumi:"transitRouterAttachmentId"`
	// Name of the transit router attachment.
	TransitRouterAttachmentName string `pulumi:"transitRouterAttachmentName"`
	// ID of the VBR.
	VbrId string `pulumi:"vbrId"`
	// The Owner ID of the VBR.
	VbrOwnerId string `pulumi:"vbrOwnerId"`
}

type GetTransitRouterVbrAttachmentsAttachmentArgs added in v3.4.0

type GetTransitRouterVbrAttachmentsAttachmentArgs struct {
	// ID of the region where the conflicted VBR is located.
	AutoPublishRouteEnabled pulumi.BoolInput   `pulumi:"autoPublishRouteEnabled"`
	Id                      pulumi.StringInput `pulumi:"id"`
	// Type of the resource.
	ResourceType pulumi.StringInput `pulumi:"resourceType"`
	// The status of the resource. Valid values `Attached`, `Attaching` and `Detaching`.
	Status                             pulumi.StringInput `pulumi:"status"`
	TransitRouterAttachmentDescription pulumi.StringInput `pulumi:"transitRouterAttachmentDescription"`
	// ID of the transit router VBR attachment.
	TransitRouterAttachmentId pulumi.StringInput `pulumi:"transitRouterAttachmentId"`
	// Name of the transit router attachment.
	TransitRouterAttachmentName pulumi.StringInput `pulumi:"transitRouterAttachmentName"`
	// ID of the VBR.
	VbrId pulumi.StringInput `pulumi:"vbrId"`
	// The Owner ID of the VBR.
	VbrOwnerId pulumi.StringInput `pulumi:"vbrOwnerId"`
}

func (GetTransitRouterVbrAttachmentsAttachmentArgs) ElementType added in v3.4.0

func (GetTransitRouterVbrAttachmentsAttachmentArgs) ToGetTransitRouterVbrAttachmentsAttachmentOutput added in v3.4.0

func (i GetTransitRouterVbrAttachmentsAttachmentArgs) ToGetTransitRouterVbrAttachmentsAttachmentOutput() GetTransitRouterVbrAttachmentsAttachmentOutput

func (GetTransitRouterVbrAttachmentsAttachmentArgs) ToGetTransitRouterVbrAttachmentsAttachmentOutputWithContext added in v3.4.0

func (i GetTransitRouterVbrAttachmentsAttachmentArgs) ToGetTransitRouterVbrAttachmentsAttachmentOutputWithContext(ctx context.Context) GetTransitRouterVbrAttachmentsAttachmentOutput

type GetTransitRouterVbrAttachmentsAttachmentArray added in v3.4.0

type GetTransitRouterVbrAttachmentsAttachmentArray []GetTransitRouterVbrAttachmentsAttachmentInput

func (GetTransitRouterVbrAttachmentsAttachmentArray) ElementType added in v3.4.0

func (GetTransitRouterVbrAttachmentsAttachmentArray) ToGetTransitRouterVbrAttachmentsAttachmentArrayOutput added in v3.4.0

func (i GetTransitRouterVbrAttachmentsAttachmentArray) ToGetTransitRouterVbrAttachmentsAttachmentArrayOutput() GetTransitRouterVbrAttachmentsAttachmentArrayOutput

func (GetTransitRouterVbrAttachmentsAttachmentArray) ToGetTransitRouterVbrAttachmentsAttachmentArrayOutputWithContext added in v3.4.0

func (i GetTransitRouterVbrAttachmentsAttachmentArray) ToGetTransitRouterVbrAttachmentsAttachmentArrayOutputWithContext(ctx context.Context) GetTransitRouterVbrAttachmentsAttachmentArrayOutput

type GetTransitRouterVbrAttachmentsAttachmentArrayInput added in v3.4.0

type GetTransitRouterVbrAttachmentsAttachmentArrayInput interface {
	pulumi.Input

	ToGetTransitRouterVbrAttachmentsAttachmentArrayOutput() GetTransitRouterVbrAttachmentsAttachmentArrayOutput
	ToGetTransitRouterVbrAttachmentsAttachmentArrayOutputWithContext(context.Context) GetTransitRouterVbrAttachmentsAttachmentArrayOutput
}

GetTransitRouterVbrAttachmentsAttachmentArrayInput is an input type that accepts GetTransitRouterVbrAttachmentsAttachmentArray and GetTransitRouterVbrAttachmentsAttachmentArrayOutput values. You can construct a concrete instance of `GetTransitRouterVbrAttachmentsAttachmentArrayInput` via:

GetTransitRouterVbrAttachmentsAttachmentArray{ GetTransitRouterVbrAttachmentsAttachmentArgs{...} }

type GetTransitRouterVbrAttachmentsAttachmentArrayOutput added in v3.4.0

type GetTransitRouterVbrAttachmentsAttachmentArrayOutput struct{ *pulumi.OutputState }

func (GetTransitRouterVbrAttachmentsAttachmentArrayOutput) ElementType added in v3.4.0

func (GetTransitRouterVbrAttachmentsAttachmentArrayOutput) Index added in v3.4.0

func (GetTransitRouterVbrAttachmentsAttachmentArrayOutput) ToGetTransitRouterVbrAttachmentsAttachmentArrayOutput added in v3.4.0

func (o GetTransitRouterVbrAttachmentsAttachmentArrayOutput) ToGetTransitRouterVbrAttachmentsAttachmentArrayOutput() GetTransitRouterVbrAttachmentsAttachmentArrayOutput

func (GetTransitRouterVbrAttachmentsAttachmentArrayOutput) ToGetTransitRouterVbrAttachmentsAttachmentArrayOutputWithContext added in v3.4.0

func (o GetTransitRouterVbrAttachmentsAttachmentArrayOutput) ToGetTransitRouterVbrAttachmentsAttachmentArrayOutputWithContext(ctx context.Context) GetTransitRouterVbrAttachmentsAttachmentArrayOutput

type GetTransitRouterVbrAttachmentsAttachmentInput added in v3.4.0

type GetTransitRouterVbrAttachmentsAttachmentInput interface {
	pulumi.Input

	ToGetTransitRouterVbrAttachmentsAttachmentOutput() GetTransitRouterVbrAttachmentsAttachmentOutput
	ToGetTransitRouterVbrAttachmentsAttachmentOutputWithContext(context.Context) GetTransitRouterVbrAttachmentsAttachmentOutput
}

GetTransitRouterVbrAttachmentsAttachmentInput is an input type that accepts GetTransitRouterVbrAttachmentsAttachmentArgs and GetTransitRouterVbrAttachmentsAttachmentOutput values. You can construct a concrete instance of `GetTransitRouterVbrAttachmentsAttachmentInput` via:

GetTransitRouterVbrAttachmentsAttachmentArgs{...}

type GetTransitRouterVbrAttachmentsAttachmentOutput added in v3.4.0

type GetTransitRouterVbrAttachmentsAttachmentOutput struct{ *pulumi.OutputState }

func (GetTransitRouterVbrAttachmentsAttachmentOutput) AutoPublishRouteEnabled added in v3.4.0

ID of the region where the conflicted VBR is located.

func (GetTransitRouterVbrAttachmentsAttachmentOutput) ElementType added in v3.4.0

func (GetTransitRouterVbrAttachmentsAttachmentOutput) Id added in v3.4.0

func (GetTransitRouterVbrAttachmentsAttachmentOutput) ResourceType added in v3.4.0

Type of the resource.

func (GetTransitRouterVbrAttachmentsAttachmentOutput) Status added in v3.4.0

The status of the resource. Valid values `Attached`, `Attaching` and `Detaching`.

func (GetTransitRouterVbrAttachmentsAttachmentOutput) ToGetTransitRouterVbrAttachmentsAttachmentOutput added in v3.4.0

func (o GetTransitRouterVbrAttachmentsAttachmentOutput) ToGetTransitRouterVbrAttachmentsAttachmentOutput() GetTransitRouterVbrAttachmentsAttachmentOutput

func (GetTransitRouterVbrAttachmentsAttachmentOutput) ToGetTransitRouterVbrAttachmentsAttachmentOutputWithContext added in v3.4.0

func (o GetTransitRouterVbrAttachmentsAttachmentOutput) ToGetTransitRouterVbrAttachmentsAttachmentOutputWithContext(ctx context.Context) GetTransitRouterVbrAttachmentsAttachmentOutput

func (GetTransitRouterVbrAttachmentsAttachmentOutput) TransitRouterAttachmentDescription added in v3.4.0

func (o GetTransitRouterVbrAttachmentsAttachmentOutput) TransitRouterAttachmentDescription() pulumi.StringOutput

func (GetTransitRouterVbrAttachmentsAttachmentOutput) TransitRouterAttachmentId added in v3.4.0

ID of the transit router VBR attachment.

func (GetTransitRouterVbrAttachmentsAttachmentOutput) TransitRouterAttachmentName added in v3.4.0

func (o GetTransitRouterVbrAttachmentsAttachmentOutput) TransitRouterAttachmentName() pulumi.StringOutput

Name of the transit router attachment.

func (GetTransitRouterVbrAttachmentsAttachmentOutput) VbrId added in v3.4.0

ID of the VBR.

func (GetTransitRouterVbrAttachmentsAttachmentOutput) VbrOwnerId added in v3.4.0

The Owner ID of the VBR.

type GetTransitRouterVbrAttachmentsOutputArgs added in v3.9.0

type GetTransitRouterVbrAttachmentsOutputArgs struct {
	// ID of the CEN instance.
	CenId pulumi.StringInput `pulumi:"cenId"`
	// A list of resource id. The element value is same as `transitRouterId`.
	Ids        pulumi.StringArrayInput `pulumi:"ids"`
	OutputFile pulumi.StringPtrInput   `pulumi:"outputFile"`
	// The status of the resource. Valid values `Attached`, `Attaching` and `Detaching`.
	Status pulumi.StringPtrInput `pulumi:"status"`
	// ID of the transit router.
	TransitRouterId pulumi.StringPtrInput `pulumi:"transitRouterId"`
}

A collection of arguments for invoking getTransitRouterVbrAttachments.

func (GetTransitRouterVbrAttachmentsOutputArgs) ElementType added in v3.9.0

type GetTransitRouterVbrAttachmentsResult added in v3.4.0

type GetTransitRouterVbrAttachmentsResult struct {
	// A list of CEN Transit Router VBR Attachments. Each element contains the following attributes:
	Attachments []GetTransitRouterVbrAttachmentsAttachment `pulumi:"attachments"`
	CenId       string                                     `pulumi:"cenId"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// A list of CEN Transit Router VBR attachment IDs.
	Ids        []string `pulumi:"ids"`
	OutputFile *string  `pulumi:"outputFile"`
	// The status of the transit router attachment.
	Status          *string `pulumi:"status"`
	TransitRouterId *string `pulumi:"transitRouterId"`
}

A collection of values returned by getTransitRouterVbrAttachments.

func GetTransitRouterVbrAttachments added in v3.4.0

This data source provides CEN Transit Router VBR Attachments available to the user.[What is Cen Transit Router VBR Attachments](https://help.aliyun.com/document_detail/261226.html)

> **NOTE:** Available in 1.126.0+

type GetTransitRouterVbrAttachmentsResultOutput added in v3.9.0

type GetTransitRouterVbrAttachmentsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getTransitRouterVbrAttachments.

func (GetTransitRouterVbrAttachmentsResultOutput) Attachments added in v3.9.0

A list of CEN Transit Router VBR Attachments. Each element contains the following attributes:

func (GetTransitRouterVbrAttachmentsResultOutput) CenId added in v3.9.0

func (GetTransitRouterVbrAttachmentsResultOutput) ElementType added in v3.9.0

func (GetTransitRouterVbrAttachmentsResultOutput) Id added in v3.9.0

The provider-assigned unique ID for this managed resource.

func (GetTransitRouterVbrAttachmentsResultOutput) Ids added in v3.9.0

A list of CEN Transit Router VBR attachment IDs.

func (GetTransitRouterVbrAttachmentsResultOutput) OutputFile added in v3.9.0

func (GetTransitRouterVbrAttachmentsResultOutput) Status added in v3.9.0

The status of the transit router attachment.

func (GetTransitRouterVbrAttachmentsResultOutput) ToGetTransitRouterVbrAttachmentsResultOutput added in v3.9.0

func (o GetTransitRouterVbrAttachmentsResultOutput) ToGetTransitRouterVbrAttachmentsResultOutput() GetTransitRouterVbrAttachmentsResultOutput

func (GetTransitRouterVbrAttachmentsResultOutput) ToGetTransitRouterVbrAttachmentsResultOutputWithContext added in v3.9.0

func (o GetTransitRouterVbrAttachmentsResultOutput) ToGetTransitRouterVbrAttachmentsResultOutputWithContext(ctx context.Context) GetTransitRouterVbrAttachmentsResultOutput

func (GetTransitRouterVbrAttachmentsResultOutput) TransitRouterId added in v3.9.0

type GetTransitRouterVpcAttachmentsArgs added in v3.4.0

type GetTransitRouterVpcAttachmentsArgs struct {
	// ID of the CEN instance.
	CenId string `pulumi:"cenId"`
	// A list of resource id. The element value is same as `transitRouterId`.
	Ids        []string `pulumi:"ids"`
	OutputFile *string  `pulumi:"outputFile"`
	// The status of the resource. Valid values `Attached`, `Attaching` and `Detaching`.
	Status *string `pulumi:"status"`
	// The transit router ID.
	TransitRouterId *string `pulumi:"transitRouterId"`
}

A collection of arguments for invoking getTransitRouterVpcAttachments.

type GetTransitRouterVpcAttachmentsAttachment added in v3.4.0

type GetTransitRouterVpcAttachmentsAttachment struct {
	// The ID of the transit router.
	Id string `pulumi:"id"`
	// Type of the resource.
	ResourceType string `pulumi:"resourceType"`
	// The status of the resource. Valid values `Attached`, `Attaching` and `Detaching`.
	Status string `pulumi:"status"`
	// The description of transit router attachment.
	TransitRouterAttachmentDescription string `pulumi:"transitRouterAttachmentDescription"`
	// ID of the transit router VBR attachment.
	TransitRouterAttachmentId string `pulumi:"transitRouterAttachmentId"`
	// Name of the transit router attachment.
	TransitRouterAttachmentName string `pulumi:"transitRouterAttachmentName"`
	// ID of the VPC.
	VpcId string `pulumi:"vpcId"`
	// The Owner ID of the VPC.
	VpcOwnerId string `pulumi:"vpcOwnerId"`
	// The mappings of zone
	ZoneMappings []GetTransitRouterVpcAttachmentsAttachmentZoneMapping `pulumi:"zoneMappings"`
}

type GetTransitRouterVpcAttachmentsAttachmentArgs added in v3.4.0

type GetTransitRouterVpcAttachmentsAttachmentArgs struct {
	// The ID of the transit router.
	Id pulumi.StringInput `pulumi:"id"`
	// Type of the resource.
	ResourceType pulumi.StringInput `pulumi:"resourceType"`
	// The status of the resource. Valid values `Attached`, `Attaching` and `Detaching`.
	Status pulumi.StringInput `pulumi:"status"`
	// The description of transit router attachment.
	TransitRouterAttachmentDescription pulumi.StringInput `pulumi:"transitRouterAttachmentDescription"`
	// ID of the transit router VBR attachment.
	TransitRouterAttachmentId pulumi.StringInput `pulumi:"transitRouterAttachmentId"`
	// Name of the transit router attachment.
	TransitRouterAttachmentName pulumi.StringInput `pulumi:"transitRouterAttachmentName"`
	// ID of the VPC.
	VpcId pulumi.StringInput `pulumi:"vpcId"`
	// The Owner ID of the VPC.
	VpcOwnerId pulumi.StringInput `pulumi:"vpcOwnerId"`
	// The mappings of zone
	ZoneMappings GetTransitRouterVpcAttachmentsAttachmentZoneMappingArrayInput `pulumi:"zoneMappings"`
}

func (GetTransitRouterVpcAttachmentsAttachmentArgs) ElementType added in v3.4.0

func (GetTransitRouterVpcAttachmentsAttachmentArgs) ToGetTransitRouterVpcAttachmentsAttachmentOutput added in v3.4.0

func (i GetTransitRouterVpcAttachmentsAttachmentArgs) ToGetTransitRouterVpcAttachmentsAttachmentOutput() GetTransitRouterVpcAttachmentsAttachmentOutput

func (GetTransitRouterVpcAttachmentsAttachmentArgs) ToGetTransitRouterVpcAttachmentsAttachmentOutputWithContext added in v3.4.0

func (i GetTransitRouterVpcAttachmentsAttachmentArgs) ToGetTransitRouterVpcAttachmentsAttachmentOutputWithContext(ctx context.Context) GetTransitRouterVpcAttachmentsAttachmentOutput

type GetTransitRouterVpcAttachmentsAttachmentArray added in v3.4.0

type GetTransitRouterVpcAttachmentsAttachmentArray []GetTransitRouterVpcAttachmentsAttachmentInput

func (GetTransitRouterVpcAttachmentsAttachmentArray) ElementType added in v3.4.0

func (GetTransitRouterVpcAttachmentsAttachmentArray) ToGetTransitRouterVpcAttachmentsAttachmentArrayOutput added in v3.4.0

func (i GetTransitRouterVpcAttachmentsAttachmentArray) ToGetTransitRouterVpcAttachmentsAttachmentArrayOutput() GetTransitRouterVpcAttachmentsAttachmentArrayOutput

func (GetTransitRouterVpcAttachmentsAttachmentArray) ToGetTransitRouterVpcAttachmentsAttachmentArrayOutputWithContext added in v3.4.0

func (i GetTransitRouterVpcAttachmentsAttachmentArray) ToGetTransitRouterVpcAttachmentsAttachmentArrayOutputWithContext(ctx context.Context) GetTransitRouterVpcAttachmentsAttachmentArrayOutput

type GetTransitRouterVpcAttachmentsAttachmentArrayInput added in v3.4.0

type GetTransitRouterVpcAttachmentsAttachmentArrayInput interface {
	pulumi.Input

	ToGetTransitRouterVpcAttachmentsAttachmentArrayOutput() GetTransitRouterVpcAttachmentsAttachmentArrayOutput
	ToGetTransitRouterVpcAttachmentsAttachmentArrayOutputWithContext(context.Context) GetTransitRouterVpcAttachmentsAttachmentArrayOutput
}

GetTransitRouterVpcAttachmentsAttachmentArrayInput is an input type that accepts GetTransitRouterVpcAttachmentsAttachmentArray and GetTransitRouterVpcAttachmentsAttachmentArrayOutput values. You can construct a concrete instance of `GetTransitRouterVpcAttachmentsAttachmentArrayInput` via:

GetTransitRouterVpcAttachmentsAttachmentArray{ GetTransitRouterVpcAttachmentsAttachmentArgs{...} }

type GetTransitRouterVpcAttachmentsAttachmentArrayOutput added in v3.4.0

type GetTransitRouterVpcAttachmentsAttachmentArrayOutput struct{ *pulumi.OutputState }

func (GetTransitRouterVpcAttachmentsAttachmentArrayOutput) ElementType added in v3.4.0

func (GetTransitRouterVpcAttachmentsAttachmentArrayOutput) Index added in v3.4.0

func (GetTransitRouterVpcAttachmentsAttachmentArrayOutput) ToGetTransitRouterVpcAttachmentsAttachmentArrayOutput added in v3.4.0

func (o GetTransitRouterVpcAttachmentsAttachmentArrayOutput) ToGetTransitRouterVpcAttachmentsAttachmentArrayOutput() GetTransitRouterVpcAttachmentsAttachmentArrayOutput

func (GetTransitRouterVpcAttachmentsAttachmentArrayOutput) ToGetTransitRouterVpcAttachmentsAttachmentArrayOutputWithContext added in v3.4.0

func (o GetTransitRouterVpcAttachmentsAttachmentArrayOutput) ToGetTransitRouterVpcAttachmentsAttachmentArrayOutputWithContext(ctx context.Context) GetTransitRouterVpcAttachmentsAttachmentArrayOutput

type GetTransitRouterVpcAttachmentsAttachmentInput added in v3.4.0

type GetTransitRouterVpcAttachmentsAttachmentInput interface {
	pulumi.Input

	ToGetTransitRouterVpcAttachmentsAttachmentOutput() GetTransitRouterVpcAttachmentsAttachmentOutput
	ToGetTransitRouterVpcAttachmentsAttachmentOutputWithContext(context.Context) GetTransitRouterVpcAttachmentsAttachmentOutput
}

GetTransitRouterVpcAttachmentsAttachmentInput is an input type that accepts GetTransitRouterVpcAttachmentsAttachmentArgs and GetTransitRouterVpcAttachmentsAttachmentOutput values. You can construct a concrete instance of `GetTransitRouterVpcAttachmentsAttachmentInput` via:

GetTransitRouterVpcAttachmentsAttachmentArgs{...}

type GetTransitRouterVpcAttachmentsAttachmentOutput added in v3.4.0

type GetTransitRouterVpcAttachmentsAttachmentOutput struct{ *pulumi.OutputState }

func (GetTransitRouterVpcAttachmentsAttachmentOutput) ElementType added in v3.4.0

func (GetTransitRouterVpcAttachmentsAttachmentOutput) Id added in v3.4.0

The ID of the transit router.

func (GetTransitRouterVpcAttachmentsAttachmentOutput) ResourceType added in v3.4.0

Type of the resource.

func (GetTransitRouterVpcAttachmentsAttachmentOutput) Status added in v3.4.0

The status of the resource. Valid values `Attached`, `Attaching` and `Detaching`.

func (GetTransitRouterVpcAttachmentsAttachmentOutput) ToGetTransitRouterVpcAttachmentsAttachmentOutput added in v3.4.0

func (o GetTransitRouterVpcAttachmentsAttachmentOutput) ToGetTransitRouterVpcAttachmentsAttachmentOutput() GetTransitRouterVpcAttachmentsAttachmentOutput

func (GetTransitRouterVpcAttachmentsAttachmentOutput) ToGetTransitRouterVpcAttachmentsAttachmentOutputWithContext added in v3.4.0

func (o GetTransitRouterVpcAttachmentsAttachmentOutput) ToGetTransitRouterVpcAttachmentsAttachmentOutputWithContext(ctx context.Context) GetTransitRouterVpcAttachmentsAttachmentOutput

func (GetTransitRouterVpcAttachmentsAttachmentOutput) TransitRouterAttachmentDescription added in v3.4.0

func (o GetTransitRouterVpcAttachmentsAttachmentOutput) TransitRouterAttachmentDescription() pulumi.StringOutput

The description of transit router attachment.

func (GetTransitRouterVpcAttachmentsAttachmentOutput) TransitRouterAttachmentId added in v3.4.0

ID of the transit router VBR attachment.

func (GetTransitRouterVpcAttachmentsAttachmentOutput) TransitRouterAttachmentName added in v3.4.0

func (o GetTransitRouterVpcAttachmentsAttachmentOutput) TransitRouterAttachmentName() pulumi.StringOutput

Name of the transit router attachment.

func (GetTransitRouterVpcAttachmentsAttachmentOutput) VpcId added in v3.4.0

ID of the VPC.

func (GetTransitRouterVpcAttachmentsAttachmentOutput) VpcOwnerId added in v3.4.0

The Owner ID of the VPC.

func (GetTransitRouterVpcAttachmentsAttachmentOutput) ZoneMappings added in v3.4.0

The mappings of zone

type GetTransitRouterVpcAttachmentsAttachmentZoneMapping added in v3.4.0

type GetTransitRouterVpcAttachmentsAttachmentZoneMapping struct {
	// The VSwitch ID.
	VswitchId string `pulumi:"vswitchId"`
	// The zone ID.
	ZoneId string `pulumi:"zoneId"`
}

type GetTransitRouterVpcAttachmentsAttachmentZoneMappingArgs added in v3.4.0

type GetTransitRouterVpcAttachmentsAttachmentZoneMappingArgs struct {
	// The VSwitch ID.
	VswitchId pulumi.StringInput `pulumi:"vswitchId"`
	// The zone ID.
	ZoneId pulumi.StringInput `pulumi:"zoneId"`
}

func (GetTransitRouterVpcAttachmentsAttachmentZoneMappingArgs) ElementType added in v3.4.0

func (GetTransitRouterVpcAttachmentsAttachmentZoneMappingArgs) ToGetTransitRouterVpcAttachmentsAttachmentZoneMappingOutput added in v3.4.0

func (GetTransitRouterVpcAttachmentsAttachmentZoneMappingArgs) ToGetTransitRouterVpcAttachmentsAttachmentZoneMappingOutputWithContext added in v3.4.0

func (i GetTransitRouterVpcAttachmentsAttachmentZoneMappingArgs) ToGetTransitRouterVpcAttachmentsAttachmentZoneMappingOutputWithContext(ctx context.Context) GetTransitRouterVpcAttachmentsAttachmentZoneMappingOutput

type GetTransitRouterVpcAttachmentsAttachmentZoneMappingArray added in v3.4.0

type GetTransitRouterVpcAttachmentsAttachmentZoneMappingArray []GetTransitRouterVpcAttachmentsAttachmentZoneMappingInput

func (GetTransitRouterVpcAttachmentsAttachmentZoneMappingArray) ElementType added in v3.4.0

func (GetTransitRouterVpcAttachmentsAttachmentZoneMappingArray) ToGetTransitRouterVpcAttachmentsAttachmentZoneMappingArrayOutput added in v3.4.0

func (i GetTransitRouterVpcAttachmentsAttachmentZoneMappingArray) ToGetTransitRouterVpcAttachmentsAttachmentZoneMappingArrayOutput() GetTransitRouterVpcAttachmentsAttachmentZoneMappingArrayOutput

func (GetTransitRouterVpcAttachmentsAttachmentZoneMappingArray) ToGetTransitRouterVpcAttachmentsAttachmentZoneMappingArrayOutputWithContext added in v3.4.0

func (i GetTransitRouterVpcAttachmentsAttachmentZoneMappingArray) ToGetTransitRouterVpcAttachmentsAttachmentZoneMappingArrayOutputWithContext(ctx context.Context) GetTransitRouterVpcAttachmentsAttachmentZoneMappingArrayOutput

type GetTransitRouterVpcAttachmentsAttachmentZoneMappingArrayInput added in v3.4.0

type GetTransitRouterVpcAttachmentsAttachmentZoneMappingArrayInput interface {
	pulumi.Input

	ToGetTransitRouterVpcAttachmentsAttachmentZoneMappingArrayOutput() GetTransitRouterVpcAttachmentsAttachmentZoneMappingArrayOutput
	ToGetTransitRouterVpcAttachmentsAttachmentZoneMappingArrayOutputWithContext(context.Context) GetTransitRouterVpcAttachmentsAttachmentZoneMappingArrayOutput
}

GetTransitRouterVpcAttachmentsAttachmentZoneMappingArrayInput is an input type that accepts GetTransitRouterVpcAttachmentsAttachmentZoneMappingArray and GetTransitRouterVpcAttachmentsAttachmentZoneMappingArrayOutput values. You can construct a concrete instance of `GetTransitRouterVpcAttachmentsAttachmentZoneMappingArrayInput` via:

GetTransitRouterVpcAttachmentsAttachmentZoneMappingArray{ GetTransitRouterVpcAttachmentsAttachmentZoneMappingArgs{...} }

type GetTransitRouterVpcAttachmentsAttachmentZoneMappingArrayOutput added in v3.4.0

type GetTransitRouterVpcAttachmentsAttachmentZoneMappingArrayOutput struct{ *pulumi.OutputState }

func (GetTransitRouterVpcAttachmentsAttachmentZoneMappingArrayOutput) ElementType added in v3.4.0

func (GetTransitRouterVpcAttachmentsAttachmentZoneMappingArrayOutput) Index added in v3.4.0

func (GetTransitRouterVpcAttachmentsAttachmentZoneMappingArrayOutput) ToGetTransitRouterVpcAttachmentsAttachmentZoneMappingArrayOutput added in v3.4.0

func (GetTransitRouterVpcAttachmentsAttachmentZoneMappingArrayOutput) ToGetTransitRouterVpcAttachmentsAttachmentZoneMappingArrayOutputWithContext added in v3.4.0

func (o GetTransitRouterVpcAttachmentsAttachmentZoneMappingArrayOutput) ToGetTransitRouterVpcAttachmentsAttachmentZoneMappingArrayOutputWithContext(ctx context.Context) GetTransitRouterVpcAttachmentsAttachmentZoneMappingArrayOutput

type GetTransitRouterVpcAttachmentsAttachmentZoneMappingInput added in v3.4.0

type GetTransitRouterVpcAttachmentsAttachmentZoneMappingInput interface {
	pulumi.Input

	ToGetTransitRouterVpcAttachmentsAttachmentZoneMappingOutput() GetTransitRouterVpcAttachmentsAttachmentZoneMappingOutput
	ToGetTransitRouterVpcAttachmentsAttachmentZoneMappingOutputWithContext(context.Context) GetTransitRouterVpcAttachmentsAttachmentZoneMappingOutput
}

GetTransitRouterVpcAttachmentsAttachmentZoneMappingInput is an input type that accepts GetTransitRouterVpcAttachmentsAttachmentZoneMappingArgs and GetTransitRouterVpcAttachmentsAttachmentZoneMappingOutput values. You can construct a concrete instance of `GetTransitRouterVpcAttachmentsAttachmentZoneMappingInput` via:

GetTransitRouterVpcAttachmentsAttachmentZoneMappingArgs{...}

type GetTransitRouterVpcAttachmentsAttachmentZoneMappingOutput added in v3.4.0

type GetTransitRouterVpcAttachmentsAttachmentZoneMappingOutput struct{ *pulumi.OutputState }

func (GetTransitRouterVpcAttachmentsAttachmentZoneMappingOutput) ElementType added in v3.4.0

func (GetTransitRouterVpcAttachmentsAttachmentZoneMappingOutput) ToGetTransitRouterVpcAttachmentsAttachmentZoneMappingOutput added in v3.4.0

func (GetTransitRouterVpcAttachmentsAttachmentZoneMappingOutput) ToGetTransitRouterVpcAttachmentsAttachmentZoneMappingOutputWithContext added in v3.4.0

func (o GetTransitRouterVpcAttachmentsAttachmentZoneMappingOutput) ToGetTransitRouterVpcAttachmentsAttachmentZoneMappingOutputWithContext(ctx context.Context) GetTransitRouterVpcAttachmentsAttachmentZoneMappingOutput

func (GetTransitRouterVpcAttachmentsAttachmentZoneMappingOutput) VswitchId added in v3.4.0

The VSwitch ID.

func (GetTransitRouterVpcAttachmentsAttachmentZoneMappingOutput) ZoneId added in v3.4.0

The zone ID.

type GetTransitRouterVpcAttachmentsOutputArgs added in v3.9.0

type GetTransitRouterVpcAttachmentsOutputArgs struct {
	// ID of the CEN instance.
	CenId pulumi.StringInput `pulumi:"cenId"`
	// A list of resource id. The element value is same as `transitRouterId`.
	Ids        pulumi.StringArrayInput `pulumi:"ids"`
	OutputFile pulumi.StringPtrInput   `pulumi:"outputFile"`
	// The status of the resource. Valid values `Attached`, `Attaching` and `Detaching`.
	Status pulumi.StringPtrInput `pulumi:"status"`
	// The transit router ID.
	TransitRouterId pulumi.StringPtrInput `pulumi:"transitRouterId"`
}

A collection of arguments for invoking getTransitRouterVpcAttachments.

func (GetTransitRouterVpcAttachmentsOutputArgs) ElementType added in v3.9.0

type GetTransitRouterVpcAttachmentsResult added in v3.4.0

type GetTransitRouterVpcAttachmentsResult struct {
	// A list of CEN Transit Router VPC Attachments. Each element contains the following attributes:
	Attachments []GetTransitRouterVpcAttachmentsAttachment `pulumi:"attachments"`
	CenId       string                                     `pulumi:"cenId"`
	// The provider-assigned unique ID for this managed resource.
	Id         string   `pulumi:"id"`
	Ids        []string `pulumi:"ids"`
	OutputFile *string  `pulumi:"outputFile"`
	// The status of the transit router attachment.
	Status *string `pulumi:"status"`
	// ID of the transit router.
	TransitRouterId *string `pulumi:"transitRouterId"`
}

A collection of values returned by getTransitRouterVpcAttachments.

func GetTransitRouterVpcAttachments added in v3.4.0

This data source provides CEN Transit Router VPC Attachments available to the user.[What is Cen Transit Router VPC Attachments](https://help.aliyun.com/document_detail/261222.html)

> **NOTE:** Available in 1.126.0+

type GetTransitRouterVpcAttachmentsResultOutput added in v3.9.0

type GetTransitRouterVpcAttachmentsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getTransitRouterVpcAttachments.

func (GetTransitRouterVpcAttachmentsResultOutput) Attachments added in v3.9.0

A list of CEN Transit Router VPC Attachments. Each element contains the following attributes:

func (GetTransitRouterVpcAttachmentsResultOutput) CenId added in v3.9.0

func (GetTransitRouterVpcAttachmentsResultOutput) ElementType added in v3.9.0

func (GetTransitRouterVpcAttachmentsResultOutput) Id added in v3.9.0

The provider-assigned unique ID for this managed resource.

func (GetTransitRouterVpcAttachmentsResultOutput) Ids added in v3.9.0

func (GetTransitRouterVpcAttachmentsResultOutput) OutputFile added in v3.9.0

func (GetTransitRouterVpcAttachmentsResultOutput) Status added in v3.9.0

The status of the transit router attachment.

func (GetTransitRouterVpcAttachmentsResultOutput) ToGetTransitRouterVpcAttachmentsResultOutput added in v3.9.0

func (o GetTransitRouterVpcAttachmentsResultOutput) ToGetTransitRouterVpcAttachmentsResultOutput() GetTransitRouterVpcAttachmentsResultOutput

func (GetTransitRouterVpcAttachmentsResultOutput) ToGetTransitRouterVpcAttachmentsResultOutputWithContext added in v3.9.0

func (o GetTransitRouterVpcAttachmentsResultOutput) ToGetTransitRouterVpcAttachmentsResultOutputWithContext(ctx context.Context) GetTransitRouterVpcAttachmentsResultOutput

func (GetTransitRouterVpcAttachmentsResultOutput) TransitRouterId added in v3.9.0

ID of the transit router.

type GetTransitRoutersArgs added in v3.4.0

type GetTransitRoutersArgs struct {
	// ID of the CEN instance.
	CenId      string  `pulumi:"cenId"`
	NameRegex  *string `pulumi:"nameRegex"`
	OutputFile *string `pulumi:"outputFile"`
	// The status of the resource. Valid values `Active`, `Creating`, `Deleting` and `Updating`.
	Status *string `pulumi:"status"`
	// ID of the transit router.
	TransitRouterId string `pulumi:"transitRouterId"`
	// A list of ID of the transit router.
	TransitRouterIds []string `pulumi:"transitRouterIds"`
}

A collection of arguments for invoking getTransitRouters.

type GetTransitRoutersOutputArgs added in v3.9.0

type GetTransitRoutersOutputArgs struct {
	// ID of the CEN instance.
	CenId      pulumi.StringInput    `pulumi:"cenId"`
	NameRegex  pulumi.StringPtrInput `pulumi:"nameRegex"`
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
	// The status of the resource. Valid values `Active`, `Creating`, `Deleting` and `Updating`.
	Status pulumi.StringPtrInput `pulumi:"status"`
	// ID of the transit router.
	TransitRouterId pulumi.StringInput `pulumi:"transitRouterId"`
	// A list of ID of the transit router.
	TransitRouterIds pulumi.StringArrayInput `pulumi:"transitRouterIds"`
}

A collection of arguments for invoking getTransitRouters.

func (GetTransitRoutersOutputArgs) ElementType added in v3.9.0

type GetTransitRoutersResult added in v3.4.0

type GetTransitRoutersResult struct {
	// ID of the CEN instance.
	CenId string `pulumi:"cenId"`
	// The provider-assigned unique ID for this managed resource.
	Id         string   `pulumi:"id"`
	Ids        []string `pulumi:"ids"`
	NameRegex  *string  `pulumi:"nameRegex"`
	Names      []string `pulumi:"names"`
	OutputFile *string  `pulumi:"outputFile"`
	// The status of the transit router attachment.
	Status *string `pulumi:"status"`
	// ID of the transit router.
	TransitRouterId  string   `pulumi:"transitRouterId"`
	TransitRouterIds []string `pulumi:"transitRouterIds"`
	// A list of CEN Transit Routers. Each element contains the following attributes:
	TransitRouters []GetTransitRoutersTransitRouter `pulumi:"transitRouters"`
}

A collection of values returned by getTransitRouters.

func GetTransitRouters added in v3.4.0

func GetTransitRouters(ctx *pulumi.Context, args *GetTransitRoutersArgs, opts ...pulumi.InvokeOption) (*GetTransitRoutersResult, error)

This data source provides CEN Transit Routers available to the user.[What is Cen Transit Routers](https://help.aliyun.com/document_detail/261219.html)

> **NOTE:** Available in 1.126.0+

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/cen"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_default, err := cen.GetTransitRouters(ctx, &cen.GetTransitRoutersArgs{
			CenId: "cen-id1",
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("firstTransitRoutersType", _default.TransitRouters[0].Type)
		return nil
	})
}

```

type GetTransitRoutersResultOutput added in v3.9.0

type GetTransitRoutersResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getTransitRouters.

func GetTransitRoutersOutput added in v3.9.0

func (GetTransitRoutersResultOutput) CenId added in v3.9.0

ID of the CEN instance.

func (GetTransitRoutersResultOutput) ElementType added in v3.9.0

func (GetTransitRoutersResultOutput) Id added in v3.9.0

The provider-assigned unique ID for this managed resource.

func (GetTransitRoutersResultOutput) Ids added in v3.9.0

func (GetTransitRoutersResultOutput) NameRegex added in v3.9.0

func (GetTransitRoutersResultOutput) Names added in v3.9.0

func (GetTransitRoutersResultOutput) OutputFile added in v3.9.0

func (GetTransitRoutersResultOutput) Status added in v3.9.0

The status of the transit router attachment.

func (GetTransitRoutersResultOutput) ToGetTransitRoutersResultOutput added in v3.9.0

func (o GetTransitRoutersResultOutput) ToGetTransitRoutersResultOutput() GetTransitRoutersResultOutput

func (GetTransitRoutersResultOutput) ToGetTransitRoutersResultOutputWithContext added in v3.9.0

func (o GetTransitRoutersResultOutput) ToGetTransitRoutersResultOutputWithContext(ctx context.Context) GetTransitRoutersResultOutput

func (GetTransitRoutersResultOutput) TransitRouterId added in v3.9.0

ID of the transit router.

func (GetTransitRoutersResultOutput) TransitRouterIds added in v3.9.0

func (GetTransitRoutersResultOutput) TransitRouters added in v3.9.0

A list of CEN Transit Routers. Each element contains the following attributes:

type GetTransitRoutersTransitRouter added in v3.4.0

type GetTransitRoutersTransitRouter struct {
	// UID of the Aliyun.
	AliUid string `pulumi:"aliUid"`
	// ID of the CEN instance.
	CenId string `pulumi:"cenId"`
	Id    string `pulumi:"id"`
	// The status of the resource. Valid values `Active`, `Creating`, `Deleting` and `Updating`.
	Status string `pulumi:"status"`
	// The description of the transit router.
	TransitRouterDescription string `pulumi:"transitRouterDescription"`
	// ID of the transit router.
	TransitRouterId string `pulumi:"transitRouterId"`
	// The name of the transit router.
	TransitRouterName string `pulumi:"transitRouterName"`
	// Type of the transit router.
	Type string `pulumi:"type"`
	// The vip of the XGW.
	XgwVip string `pulumi:"xgwVip"`
}

type GetTransitRoutersTransitRouterArgs added in v3.4.0

type GetTransitRoutersTransitRouterArgs struct {
	// UID of the Aliyun.
	AliUid pulumi.StringInput `pulumi:"aliUid"`
	// ID of the CEN instance.
	CenId pulumi.StringInput `pulumi:"cenId"`
	Id    pulumi.StringInput `pulumi:"id"`
	// The status of the resource. Valid values `Active`, `Creating`, `Deleting` and `Updating`.
	Status pulumi.StringInput `pulumi:"status"`
	// The description of the transit router.
	TransitRouterDescription pulumi.StringInput `pulumi:"transitRouterDescription"`
	// ID of the transit router.
	TransitRouterId pulumi.StringInput `pulumi:"transitRouterId"`
	// The name of the transit router.
	TransitRouterName pulumi.StringInput `pulumi:"transitRouterName"`
	// Type of the transit router.
	Type pulumi.StringInput `pulumi:"type"`
	// The vip of the XGW.
	XgwVip pulumi.StringInput `pulumi:"xgwVip"`
}

func (GetTransitRoutersTransitRouterArgs) ElementType added in v3.4.0

func (GetTransitRoutersTransitRouterArgs) ToGetTransitRoutersTransitRouterOutput added in v3.4.0

func (i GetTransitRoutersTransitRouterArgs) ToGetTransitRoutersTransitRouterOutput() GetTransitRoutersTransitRouterOutput

func (GetTransitRoutersTransitRouterArgs) ToGetTransitRoutersTransitRouterOutputWithContext added in v3.4.0

func (i GetTransitRoutersTransitRouterArgs) ToGetTransitRoutersTransitRouterOutputWithContext(ctx context.Context) GetTransitRoutersTransitRouterOutput

type GetTransitRoutersTransitRouterArray added in v3.4.0

type GetTransitRoutersTransitRouterArray []GetTransitRoutersTransitRouterInput

func (GetTransitRoutersTransitRouterArray) ElementType added in v3.4.0

func (GetTransitRoutersTransitRouterArray) ToGetTransitRoutersTransitRouterArrayOutput added in v3.4.0

func (i GetTransitRoutersTransitRouterArray) ToGetTransitRoutersTransitRouterArrayOutput() GetTransitRoutersTransitRouterArrayOutput

func (GetTransitRoutersTransitRouterArray) ToGetTransitRoutersTransitRouterArrayOutputWithContext added in v3.4.0

func (i GetTransitRoutersTransitRouterArray) ToGetTransitRoutersTransitRouterArrayOutputWithContext(ctx context.Context) GetTransitRoutersTransitRouterArrayOutput

type GetTransitRoutersTransitRouterArrayInput added in v3.4.0

type GetTransitRoutersTransitRouterArrayInput interface {
	pulumi.Input

	ToGetTransitRoutersTransitRouterArrayOutput() GetTransitRoutersTransitRouterArrayOutput
	ToGetTransitRoutersTransitRouterArrayOutputWithContext(context.Context) GetTransitRoutersTransitRouterArrayOutput
}

GetTransitRoutersTransitRouterArrayInput is an input type that accepts GetTransitRoutersTransitRouterArray and GetTransitRoutersTransitRouterArrayOutput values. You can construct a concrete instance of `GetTransitRoutersTransitRouterArrayInput` via:

GetTransitRoutersTransitRouterArray{ GetTransitRoutersTransitRouterArgs{...} }

type GetTransitRoutersTransitRouterArrayOutput added in v3.4.0

type GetTransitRoutersTransitRouterArrayOutput struct{ *pulumi.OutputState }

func (GetTransitRoutersTransitRouterArrayOutput) ElementType added in v3.4.0

func (GetTransitRoutersTransitRouterArrayOutput) Index added in v3.4.0

func (GetTransitRoutersTransitRouterArrayOutput) ToGetTransitRoutersTransitRouterArrayOutput added in v3.4.0

func (o GetTransitRoutersTransitRouterArrayOutput) ToGetTransitRoutersTransitRouterArrayOutput() GetTransitRoutersTransitRouterArrayOutput

func (GetTransitRoutersTransitRouterArrayOutput) ToGetTransitRoutersTransitRouterArrayOutputWithContext added in v3.4.0

func (o GetTransitRoutersTransitRouterArrayOutput) ToGetTransitRoutersTransitRouterArrayOutputWithContext(ctx context.Context) GetTransitRoutersTransitRouterArrayOutput

type GetTransitRoutersTransitRouterInput added in v3.4.0

type GetTransitRoutersTransitRouterInput interface {
	pulumi.Input

	ToGetTransitRoutersTransitRouterOutput() GetTransitRoutersTransitRouterOutput
	ToGetTransitRoutersTransitRouterOutputWithContext(context.Context) GetTransitRoutersTransitRouterOutput
}

GetTransitRoutersTransitRouterInput is an input type that accepts GetTransitRoutersTransitRouterArgs and GetTransitRoutersTransitRouterOutput values. You can construct a concrete instance of `GetTransitRoutersTransitRouterInput` via:

GetTransitRoutersTransitRouterArgs{...}

type GetTransitRoutersTransitRouterOutput added in v3.4.0

type GetTransitRoutersTransitRouterOutput struct{ *pulumi.OutputState }

func (GetTransitRoutersTransitRouterOutput) AliUid added in v3.4.0

UID of the Aliyun.

func (GetTransitRoutersTransitRouterOutput) CenId added in v3.4.0

ID of the CEN instance.

func (GetTransitRoutersTransitRouterOutput) ElementType added in v3.4.0

func (GetTransitRoutersTransitRouterOutput) Id added in v3.4.0

func (GetTransitRoutersTransitRouterOutput) Status added in v3.4.0

The status of the resource. Valid values `Active`, `Creating`, `Deleting` and `Updating`.

func (GetTransitRoutersTransitRouterOutput) ToGetTransitRoutersTransitRouterOutput added in v3.4.0

func (o GetTransitRoutersTransitRouterOutput) ToGetTransitRoutersTransitRouterOutput() GetTransitRoutersTransitRouterOutput

func (GetTransitRoutersTransitRouterOutput) ToGetTransitRoutersTransitRouterOutputWithContext added in v3.4.0

func (o GetTransitRoutersTransitRouterOutput) ToGetTransitRoutersTransitRouterOutputWithContext(ctx context.Context) GetTransitRoutersTransitRouterOutput

func (GetTransitRoutersTransitRouterOutput) TransitRouterDescription added in v3.4.0

func (o GetTransitRoutersTransitRouterOutput) TransitRouterDescription() pulumi.StringOutput

The description of the transit router.

func (GetTransitRoutersTransitRouterOutput) TransitRouterId added in v3.4.0

ID of the transit router.

func (GetTransitRoutersTransitRouterOutput) TransitRouterName added in v3.4.0

The name of the transit router.

func (GetTransitRoutersTransitRouterOutput) Type added in v3.4.0

Type of the transit router.

func (GetTransitRoutersTransitRouterOutput) XgwVip added in v3.4.0

The vip of the XGW.

type GetVbrHealthChecksArgs

type GetVbrHealthChecksArgs struct {
	// The ID of the Cloud Enterprise Network (CEN) instance.
	CenId      *string `pulumi:"cenId"`
	OutputFile *string `pulumi:"outputFile"`
	// The ID of the VBR instance.
	VbrInstanceId *string `pulumi:"vbrInstanceId"`
	// The User ID (UID) of the account to which the VBR instance belongs.
	VbrInstanceOwnerId *int `pulumi:"vbrInstanceOwnerId"`
	// The ID of the region where the VBR instance is deployed.
	VbrInstanceRegionId string `pulumi:"vbrInstanceRegionId"`
}

A collection of arguments for invoking getVbrHealthChecks.

type GetVbrHealthChecksCheck

type GetVbrHealthChecksCheck struct {
	// The ID of the Cloud Enterprise Network (CEN) instance.
	CenId string `pulumi:"cenId"`
	// The time interval at which probe packets are sent during the health check.
	HealthCheckInterval int `pulumi:"healthCheckInterval"`
	// The source IP address of the health check.
	HealthCheckSourceIp string `pulumi:"healthCheckSourceIp"`
	// The destination IP address of the health check.
	HealthCheckTargetIp string `pulumi:"healthCheckTargetIp"`
	// The number of probe packets that are sent during the health check.
	HealthyThreshold int `pulumi:"healthyThreshold"`
	// The ID of the CEN VBR Heath Check.
	Id string `pulumi:"id"`
	// The ID of the VBR instance.
	VbrInstanceId string `pulumi:"vbrInstanceId"`
	// The ID of the region where the VBR instance is deployed.
	VbrInstanceRegionId string `pulumi:"vbrInstanceRegionId"`
}

type GetVbrHealthChecksCheckArgs

type GetVbrHealthChecksCheckArgs struct {
	// The ID of the Cloud Enterprise Network (CEN) instance.
	CenId pulumi.StringInput `pulumi:"cenId"`
	// The time interval at which probe packets are sent during the health check.
	HealthCheckInterval pulumi.IntInput `pulumi:"healthCheckInterval"`
	// The source IP address of the health check.
	HealthCheckSourceIp pulumi.StringInput `pulumi:"healthCheckSourceIp"`
	// The destination IP address of the health check.
	HealthCheckTargetIp pulumi.StringInput `pulumi:"healthCheckTargetIp"`
	// The number of probe packets that are sent during the health check.
	HealthyThreshold pulumi.IntInput `pulumi:"healthyThreshold"`
	// The ID of the CEN VBR Heath Check.
	Id pulumi.StringInput `pulumi:"id"`
	// The ID of the VBR instance.
	VbrInstanceId pulumi.StringInput `pulumi:"vbrInstanceId"`
	// The ID of the region where the VBR instance is deployed.
	VbrInstanceRegionId pulumi.StringInput `pulumi:"vbrInstanceRegionId"`
}

func (GetVbrHealthChecksCheckArgs) ElementType

func (GetVbrHealthChecksCheckArgs) ToGetVbrHealthChecksCheckOutput

func (i GetVbrHealthChecksCheckArgs) ToGetVbrHealthChecksCheckOutput() GetVbrHealthChecksCheckOutput

func (GetVbrHealthChecksCheckArgs) ToGetVbrHealthChecksCheckOutputWithContext

func (i GetVbrHealthChecksCheckArgs) ToGetVbrHealthChecksCheckOutputWithContext(ctx context.Context) GetVbrHealthChecksCheckOutput

type GetVbrHealthChecksCheckArray

type GetVbrHealthChecksCheckArray []GetVbrHealthChecksCheckInput

func (GetVbrHealthChecksCheckArray) ElementType

func (GetVbrHealthChecksCheckArray) ToGetVbrHealthChecksCheckArrayOutput

func (i GetVbrHealthChecksCheckArray) ToGetVbrHealthChecksCheckArrayOutput() GetVbrHealthChecksCheckArrayOutput

func (GetVbrHealthChecksCheckArray) ToGetVbrHealthChecksCheckArrayOutputWithContext

func (i GetVbrHealthChecksCheckArray) ToGetVbrHealthChecksCheckArrayOutputWithContext(ctx context.Context) GetVbrHealthChecksCheckArrayOutput

type GetVbrHealthChecksCheckArrayInput

type GetVbrHealthChecksCheckArrayInput interface {
	pulumi.Input

	ToGetVbrHealthChecksCheckArrayOutput() GetVbrHealthChecksCheckArrayOutput
	ToGetVbrHealthChecksCheckArrayOutputWithContext(context.Context) GetVbrHealthChecksCheckArrayOutput
}

GetVbrHealthChecksCheckArrayInput is an input type that accepts GetVbrHealthChecksCheckArray and GetVbrHealthChecksCheckArrayOutput values. You can construct a concrete instance of `GetVbrHealthChecksCheckArrayInput` via:

GetVbrHealthChecksCheckArray{ GetVbrHealthChecksCheckArgs{...} }

type GetVbrHealthChecksCheckArrayOutput

type GetVbrHealthChecksCheckArrayOutput struct{ *pulumi.OutputState }

func (GetVbrHealthChecksCheckArrayOutput) ElementType

func (GetVbrHealthChecksCheckArrayOutput) Index

func (GetVbrHealthChecksCheckArrayOutput) ToGetVbrHealthChecksCheckArrayOutput

func (o GetVbrHealthChecksCheckArrayOutput) ToGetVbrHealthChecksCheckArrayOutput() GetVbrHealthChecksCheckArrayOutput

func (GetVbrHealthChecksCheckArrayOutput) ToGetVbrHealthChecksCheckArrayOutputWithContext

func (o GetVbrHealthChecksCheckArrayOutput) ToGetVbrHealthChecksCheckArrayOutputWithContext(ctx context.Context) GetVbrHealthChecksCheckArrayOutput

type GetVbrHealthChecksCheckInput

type GetVbrHealthChecksCheckInput interface {
	pulumi.Input

	ToGetVbrHealthChecksCheckOutput() GetVbrHealthChecksCheckOutput
	ToGetVbrHealthChecksCheckOutputWithContext(context.Context) GetVbrHealthChecksCheckOutput
}

GetVbrHealthChecksCheckInput is an input type that accepts GetVbrHealthChecksCheckArgs and GetVbrHealthChecksCheckOutput values. You can construct a concrete instance of `GetVbrHealthChecksCheckInput` via:

GetVbrHealthChecksCheckArgs{...}

type GetVbrHealthChecksCheckOutput

type GetVbrHealthChecksCheckOutput struct{ *pulumi.OutputState }

func (GetVbrHealthChecksCheckOutput) CenId

The ID of the Cloud Enterprise Network (CEN) instance.

func (GetVbrHealthChecksCheckOutput) ElementType

func (GetVbrHealthChecksCheckOutput) HealthCheckInterval

func (o GetVbrHealthChecksCheckOutput) HealthCheckInterval() pulumi.IntOutput

The time interval at which probe packets are sent during the health check.

func (GetVbrHealthChecksCheckOutput) HealthCheckSourceIp

func (o GetVbrHealthChecksCheckOutput) HealthCheckSourceIp() pulumi.StringOutput

The source IP address of the health check.

func (GetVbrHealthChecksCheckOutput) HealthCheckTargetIp

func (o GetVbrHealthChecksCheckOutput) HealthCheckTargetIp() pulumi.StringOutput

The destination IP address of the health check.

func (GetVbrHealthChecksCheckOutput) HealthyThreshold

func (o GetVbrHealthChecksCheckOutput) HealthyThreshold() pulumi.IntOutput

The number of probe packets that are sent during the health check.

func (GetVbrHealthChecksCheckOutput) Id

The ID of the CEN VBR Heath Check.

func (GetVbrHealthChecksCheckOutput) ToGetVbrHealthChecksCheckOutput

func (o GetVbrHealthChecksCheckOutput) ToGetVbrHealthChecksCheckOutput() GetVbrHealthChecksCheckOutput

func (GetVbrHealthChecksCheckOutput) ToGetVbrHealthChecksCheckOutputWithContext

func (o GetVbrHealthChecksCheckOutput) ToGetVbrHealthChecksCheckOutputWithContext(ctx context.Context) GetVbrHealthChecksCheckOutput

func (GetVbrHealthChecksCheckOutput) VbrInstanceId

The ID of the VBR instance.

func (GetVbrHealthChecksCheckOutput) VbrInstanceRegionId

func (o GetVbrHealthChecksCheckOutput) VbrInstanceRegionId() pulumi.StringOutput

The ID of the region where the VBR instance is deployed.

type GetVbrHealthChecksOutputArgs added in v3.9.0

type GetVbrHealthChecksOutputArgs struct {
	// The ID of the Cloud Enterprise Network (CEN) instance.
	CenId      pulumi.StringPtrInput `pulumi:"cenId"`
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
	// The ID of the VBR instance.
	VbrInstanceId pulumi.StringPtrInput `pulumi:"vbrInstanceId"`
	// The User ID (UID) of the account to which the VBR instance belongs.
	VbrInstanceOwnerId pulumi.IntPtrInput `pulumi:"vbrInstanceOwnerId"`
	// The ID of the region where the VBR instance is deployed.
	VbrInstanceRegionId pulumi.StringInput `pulumi:"vbrInstanceRegionId"`
}

A collection of arguments for invoking getVbrHealthChecks.

func (GetVbrHealthChecksOutputArgs) ElementType added in v3.9.0

type GetVbrHealthChecksResult

type GetVbrHealthChecksResult struct {
	// The ID of the Cloud Enterprise Network (CEN) instance.
	CenId *string `pulumi:"cenId"`
	// A list of CEN VBR Heath Checks. Each element contains the following attributes:
	Checks []GetVbrHealthChecksCheck `pulumi:"checks"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// A list of the CEN VBR Heath Check IDs.
	Ids        []string `pulumi:"ids"`
	OutputFile *string  `pulumi:"outputFile"`
	// The ID of the VBR instance.
	VbrInstanceId      *string `pulumi:"vbrInstanceId"`
	VbrInstanceOwnerId *int    `pulumi:"vbrInstanceOwnerId"`
	// The ID of the region where the VBR instance is deployed.
	VbrInstanceRegionId string `pulumi:"vbrInstanceRegionId"`
}

A collection of values returned by getVbrHealthChecks.

func GetVbrHealthChecks

func GetVbrHealthChecks(ctx *pulumi.Context, args *GetVbrHealthChecksArgs, opts ...pulumi.InvokeOption) (*GetVbrHealthChecksResult, error)

This data source provides CEN VBR Health Checks available to the user.

> **NOTE:** Available in 1.98.0+

type GetVbrHealthChecksResultOutput added in v3.9.0

type GetVbrHealthChecksResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getVbrHealthChecks.

func GetVbrHealthChecksOutput added in v3.9.0

func (GetVbrHealthChecksResultOutput) CenId added in v3.9.0

The ID of the Cloud Enterprise Network (CEN) instance.

func (GetVbrHealthChecksResultOutput) Checks added in v3.9.0

A list of CEN VBR Heath Checks. Each element contains the following attributes:

func (GetVbrHealthChecksResultOutput) ElementType added in v3.9.0

func (GetVbrHealthChecksResultOutput) Id added in v3.9.0

The provider-assigned unique ID for this managed resource.

func (GetVbrHealthChecksResultOutput) Ids added in v3.9.0

A list of the CEN VBR Heath Check IDs.

func (GetVbrHealthChecksResultOutput) OutputFile added in v3.9.0

func (GetVbrHealthChecksResultOutput) ToGetVbrHealthChecksResultOutput added in v3.9.0

func (o GetVbrHealthChecksResultOutput) ToGetVbrHealthChecksResultOutput() GetVbrHealthChecksResultOutput

func (GetVbrHealthChecksResultOutput) ToGetVbrHealthChecksResultOutputWithContext added in v3.9.0

func (o GetVbrHealthChecksResultOutput) ToGetVbrHealthChecksResultOutputWithContext(ctx context.Context) GetVbrHealthChecksResultOutput

func (GetVbrHealthChecksResultOutput) VbrInstanceId added in v3.9.0

The ID of the VBR instance.

func (GetVbrHealthChecksResultOutput) VbrInstanceOwnerId added in v3.9.0

func (o GetVbrHealthChecksResultOutput) VbrInstanceOwnerId() pulumi.IntPtrOutput

func (GetVbrHealthChecksResultOutput) VbrInstanceRegionId added in v3.9.0

func (o GetVbrHealthChecksResultOutput) VbrInstanceRegionId() pulumi.StringOutput

The ID of the region where the VBR instance is deployed.

type Instance

type Instance struct {
	pulumi.CustomResourceState

	// The name of the CEN instance. Defaults to null. The name must be 2 to 128 characters in length and can contain letters, numbers, periods (.), underscores (_), and hyphens (-). The name must start with a letter, but cannot start with http:// or https://.
	CenInstanceName pulumi.StringOutput `pulumi:"cenInstanceName"`
	// The description of the CEN instance. Defaults to null. The description must be 2 to 256 characters in length. It must start with a letter, and cannot start with http:// or https://.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// Field `name` has been deprecated from version 1.98.0. Use `cenInstanceName` instead.
	//
	// Deprecated: Field 'name' has been deprecated from version 1.98.0. Use 'cen_instance_name' instead.
	Name pulumi.StringOutput `pulumi:"name"`
	// Indicates the allowed level of CIDR block overlapping. Default value: `REDUCE`: Overlapping CIDR blocks are allowed. However, the overlapping CIDR blocks cannot be identical.
	ProtectionLevel pulumi.StringOutput `pulumi:"protectionLevel"`
	// The Cen Instance current status.
	Status pulumi.StringOutput `pulumi:"status"`
	// A mapping of tags to assign to the resource.
	Tags pulumi.MapOutput `pulumi:"tags"`
}

Provides a CEN instance resource. Cloud Enterprise Network (CEN) is a service that allows you to create a global network for rapidly building a distributed business system with a hybrid cloud computing solution. CEN enables you to build a secure, private, and enterprise-class interconnected network between VPCs in different regions and your local data centers. CEN provides enterprise-class scalability that automatically responds to your dynamic computing requirements.

For information about CEN and how to use it, see [What is Cloud Enterprise Network](https://www.alibabacloud.com/help/doc-detail/59870.htm).

## Example Usage

Basic Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/cen"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := cen.NewInstance(ctx, "example", &cen.InstanceArgs{
			CenInstanceName: pulumi.String("tf_test_foo"),
			Description:     pulumi.String("an example for cen"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

CEN instance can be imported using the id, e.g.

```sh

$ pulumi import alicloud:cen/instance:Instance example cen-abc123456

```

func GetInstance

func GetInstance(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *InstanceState, opts ...pulumi.ResourceOption) (*Instance, error)

GetInstance gets an existing Instance resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewInstance

func NewInstance(ctx *pulumi.Context,
	name string, args *InstanceArgs, opts ...pulumi.ResourceOption) (*Instance, error)

NewInstance registers a new resource with the given unique name, arguments, and options.

func (*Instance) ElementType

func (*Instance) ElementType() reflect.Type

func (*Instance) ToInstanceOutput

func (i *Instance) ToInstanceOutput() InstanceOutput

func (*Instance) ToInstanceOutputWithContext

func (i *Instance) ToInstanceOutputWithContext(ctx context.Context) InstanceOutput

func (*Instance) ToInstancePtrOutput

func (i *Instance) ToInstancePtrOutput() InstancePtrOutput

func (*Instance) ToInstancePtrOutputWithContext

func (i *Instance) ToInstancePtrOutputWithContext(ctx context.Context) InstancePtrOutput

type InstanceArgs

type InstanceArgs struct {
	// The name of the CEN instance. Defaults to null. The name must be 2 to 128 characters in length and can contain letters, numbers, periods (.), underscores (_), and hyphens (-). The name must start with a letter, but cannot start with http:// or https://.
	CenInstanceName pulumi.StringPtrInput
	// The description of the CEN instance. Defaults to null. The description must be 2 to 256 characters in length. It must start with a letter, and cannot start with http:// or https://.
	Description pulumi.StringPtrInput
	// Field `name` has been deprecated from version 1.98.0. Use `cenInstanceName` instead.
	//
	// Deprecated: Field 'name' has been deprecated from version 1.98.0. Use 'cen_instance_name' instead.
	Name pulumi.StringPtrInput
	// Indicates the allowed level of CIDR block overlapping. Default value: `REDUCE`: Overlapping CIDR blocks are allowed. However, the overlapping CIDR blocks cannot be identical.
	ProtectionLevel pulumi.StringPtrInput
	// A mapping of tags to assign to the resource.
	Tags pulumi.MapInput
}

The set of arguments for constructing a Instance resource.

func (InstanceArgs) ElementType

func (InstanceArgs) ElementType() reflect.Type

type InstanceArray

type InstanceArray []InstanceInput

func (InstanceArray) ElementType

func (InstanceArray) ElementType() reflect.Type

func (InstanceArray) ToInstanceArrayOutput

func (i InstanceArray) ToInstanceArrayOutput() InstanceArrayOutput

func (InstanceArray) ToInstanceArrayOutputWithContext

func (i InstanceArray) ToInstanceArrayOutputWithContext(ctx context.Context) InstanceArrayOutput

type InstanceArrayInput

type InstanceArrayInput interface {
	pulumi.Input

	ToInstanceArrayOutput() InstanceArrayOutput
	ToInstanceArrayOutputWithContext(context.Context) InstanceArrayOutput
}

InstanceArrayInput is an input type that accepts InstanceArray and InstanceArrayOutput values. You can construct a concrete instance of `InstanceArrayInput` via:

InstanceArray{ InstanceArgs{...} }

type InstanceArrayOutput

type InstanceArrayOutput struct{ *pulumi.OutputState }

func (InstanceArrayOutput) ElementType

func (InstanceArrayOutput) ElementType() reflect.Type

func (InstanceArrayOutput) Index

func (InstanceArrayOutput) ToInstanceArrayOutput

func (o InstanceArrayOutput) ToInstanceArrayOutput() InstanceArrayOutput

func (InstanceArrayOutput) ToInstanceArrayOutputWithContext

func (o InstanceArrayOutput) ToInstanceArrayOutputWithContext(ctx context.Context) InstanceArrayOutput

type InstanceAttachment

type InstanceAttachment struct {
	pulumi.CustomResourceState

	// The account ID to which the CEN instance belongs.
	CenOwnerId pulumi.IntPtrOutput `pulumi:"cenOwnerId"`
	// The ID of the child instance to attach.
	ChildInstanceId pulumi.StringOutput `pulumi:"childInstanceId"`
	// The uid of the child instance. Only used when attach a child instance of other account.
	ChildInstanceOwnerId pulumi.IntOutput `pulumi:"childInstanceOwnerId"`
	// The region ID of the child instance to attach.
	ChildInstanceRegionId pulumi.StringOutput `pulumi:"childInstanceRegionId"`
	// The type of the associated network. Valid values: `VPC`, `VBR` and `CCN`.
	ChildInstanceType pulumi.StringOutput `pulumi:"childInstanceType"`
	// The ID of the CEN.
	InstanceId pulumi.StringOutput `pulumi:"instanceId"`
	// The associating status of the network.
	Status pulumi.StringOutput `pulumi:"status"`
}

Provides a CEN child instance attachment resource that associate the network(VPC, CCN, VBR) with the CEN instance.

->**NOTE:** Available in 1.42.0+

## Example Usage

Basic Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/cen"
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/vpc"
"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 := "tf-testAccCenInstanceAttachmentBasic"
		if param := cfg.Get("name"); param != "" {
			name = param
		}
		cen, err := cen.NewInstance(ctx, "cen", &cen.InstanceArgs{
			Description: pulumi.String("terraform01"),
		})
		if err != nil {
			return err
		}
		vpc, err := vpc.NewNetwork(ctx, "vpc", &vpc.NetworkArgs{
			CidrBlock: pulumi.String("192.168.0.0/16"),
		})
		if err != nil {
			return err
		}
		_, err = cen.NewInstanceAttachment(ctx, "foo", &cen.InstanceAttachmentArgs{
			InstanceId:            cen.ID(),
			ChildInstanceId:       vpc.ID(),
			ChildInstanceType:     pulumi.String("VPC"),
			ChildInstanceRegionId: pulumi.String("cn-beijing"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

CEN instance can be imported using the id, e.g.

```sh

$ pulumi import alicloud:cen/instanceAttachment:InstanceAttachment example cen-m7i7pjmkon********:vpc-2ze2w07mcy9nz********:VPC:cn-beijing

```

func GetInstanceAttachment

func GetInstanceAttachment(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *InstanceAttachmentState, opts ...pulumi.ResourceOption) (*InstanceAttachment, error)

GetInstanceAttachment gets an existing InstanceAttachment resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewInstanceAttachment

func NewInstanceAttachment(ctx *pulumi.Context,
	name string, args *InstanceAttachmentArgs, opts ...pulumi.ResourceOption) (*InstanceAttachment, error)

NewInstanceAttachment registers a new resource with the given unique name, arguments, and options.

func (*InstanceAttachment) ElementType

func (*InstanceAttachment) ElementType() reflect.Type

func (*InstanceAttachment) ToInstanceAttachmentOutput

func (i *InstanceAttachment) ToInstanceAttachmentOutput() InstanceAttachmentOutput

func (*InstanceAttachment) ToInstanceAttachmentOutputWithContext

func (i *InstanceAttachment) ToInstanceAttachmentOutputWithContext(ctx context.Context) InstanceAttachmentOutput

func (*InstanceAttachment) ToInstanceAttachmentPtrOutput

func (i *InstanceAttachment) ToInstanceAttachmentPtrOutput() InstanceAttachmentPtrOutput

func (*InstanceAttachment) ToInstanceAttachmentPtrOutputWithContext

func (i *InstanceAttachment) ToInstanceAttachmentPtrOutputWithContext(ctx context.Context) InstanceAttachmentPtrOutput

type InstanceAttachmentArgs

type InstanceAttachmentArgs struct {
	// The account ID to which the CEN instance belongs.
	CenOwnerId pulumi.IntPtrInput
	// The ID of the child instance to attach.
	ChildInstanceId pulumi.StringInput
	// The uid of the child instance. Only used when attach a child instance of other account.
	ChildInstanceOwnerId pulumi.IntPtrInput
	// The region ID of the child instance to attach.
	ChildInstanceRegionId pulumi.StringInput
	// The type of the associated network. Valid values: `VPC`, `VBR` and `CCN`.
	ChildInstanceType pulumi.StringInput
	// The ID of the CEN.
	InstanceId pulumi.StringInput
}

The set of arguments for constructing a InstanceAttachment resource.

func (InstanceAttachmentArgs) ElementType

func (InstanceAttachmentArgs) ElementType() reflect.Type

type InstanceAttachmentArray

type InstanceAttachmentArray []InstanceAttachmentInput

func (InstanceAttachmentArray) ElementType

func (InstanceAttachmentArray) ElementType() reflect.Type

func (InstanceAttachmentArray) ToInstanceAttachmentArrayOutput

func (i InstanceAttachmentArray) ToInstanceAttachmentArrayOutput() InstanceAttachmentArrayOutput

func (InstanceAttachmentArray) ToInstanceAttachmentArrayOutputWithContext

func (i InstanceAttachmentArray) ToInstanceAttachmentArrayOutputWithContext(ctx context.Context) InstanceAttachmentArrayOutput

type InstanceAttachmentArrayInput

type InstanceAttachmentArrayInput interface {
	pulumi.Input

	ToInstanceAttachmentArrayOutput() InstanceAttachmentArrayOutput
	ToInstanceAttachmentArrayOutputWithContext(context.Context) InstanceAttachmentArrayOutput
}

InstanceAttachmentArrayInput is an input type that accepts InstanceAttachmentArray and InstanceAttachmentArrayOutput values. You can construct a concrete instance of `InstanceAttachmentArrayInput` via:

InstanceAttachmentArray{ InstanceAttachmentArgs{...} }

type InstanceAttachmentArrayOutput

type InstanceAttachmentArrayOutput struct{ *pulumi.OutputState }

func (InstanceAttachmentArrayOutput) ElementType

func (InstanceAttachmentArrayOutput) Index

func (InstanceAttachmentArrayOutput) ToInstanceAttachmentArrayOutput

func (o InstanceAttachmentArrayOutput) ToInstanceAttachmentArrayOutput() InstanceAttachmentArrayOutput

func (InstanceAttachmentArrayOutput) ToInstanceAttachmentArrayOutputWithContext

func (o InstanceAttachmentArrayOutput) ToInstanceAttachmentArrayOutputWithContext(ctx context.Context) InstanceAttachmentArrayOutput

type InstanceAttachmentInput

type InstanceAttachmentInput interface {
	pulumi.Input

	ToInstanceAttachmentOutput() InstanceAttachmentOutput
	ToInstanceAttachmentOutputWithContext(ctx context.Context) InstanceAttachmentOutput
}

type InstanceAttachmentMap

type InstanceAttachmentMap map[string]InstanceAttachmentInput

func (InstanceAttachmentMap) ElementType

func (InstanceAttachmentMap) ElementType() reflect.Type

func (InstanceAttachmentMap) ToInstanceAttachmentMapOutput

func (i InstanceAttachmentMap) ToInstanceAttachmentMapOutput() InstanceAttachmentMapOutput

func (InstanceAttachmentMap) ToInstanceAttachmentMapOutputWithContext

func (i InstanceAttachmentMap) ToInstanceAttachmentMapOutputWithContext(ctx context.Context) InstanceAttachmentMapOutput

type InstanceAttachmentMapInput

type InstanceAttachmentMapInput interface {
	pulumi.Input

	ToInstanceAttachmentMapOutput() InstanceAttachmentMapOutput
	ToInstanceAttachmentMapOutputWithContext(context.Context) InstanceAttachmentMapOutput
}

InstanceAttachmentMapInput is an input type that accepts InstanceAttachmentMap and InstanceAttachmentMapOutput values. You can construct a concrete instance of `InstanceAttachmentMapInput` via:

InstanceAttachmentMap{ "key": InstanceAttachmentArgs{...} }

type InstanceAttachmentMapOutput

type InstanceAttachmentMapOutput struct{ *pulumi.OutputState }

func (InstanceAttachmentMapOutput) ElementType

func (InstanceAttachmentMapOutput) MapIndex

func (InstanceAttachmentMapOutput) ToInstanceAttachmentMapOutput

func (o InstanceAttachmentMapOutput) ToInstanceAttachmentMapOutput() InstanceAttachmentMapOutput

func (InstanceAttachmentMapOutput) ToInstanceAttachmentMapOutputWithContext

func (o InstanceAttachmentMapOutput) ToInstanceAttachmentMapOutputWithContext(ctx context.Context) InstanceAttachmentMapOutput

type InstanceAttachmentOutput

type InstanceAttachmentOutput struct{ *pulumi.OutputState }

func (InstanceAttachmentOutput) ElementType

func (InstanceAttachmentOutput) ElementType() reflect.Type

func (InstanceAttachmentOutput) ToInstanceAttachmentOutput

func (o InstanceAttachmentOutput) ToInstanceAttachmentOutput() InstanceAttachmentOutput

func (InstanceAttachmentOutput) ToInstanceAttachmentOutputWithContext

func (o InstanceAttachmentOutput) ToInstanceAttachmentOutputWithContext(ctx context.Context) InstanceAttachmentOutput

func (InstanceAttachmentOutput) ToInstanceAttachmentPtrOutput

func (o InstanceAttachmentOutput) ToInstanceAttachmentPtrOutput() InstanceAttachmentPtrOutput

func (InstanceAttachmentOutput) ToInstanceAttachmentPtrOutputWithContext

func (o InstanceAttachmentOutput) ToInstanceAttachmentPtrOutputWithContext(ctx context.Context) InstanceAttachmentPtrOutput

type InstanceAttachmentPtrInput

type InstanceAttachmentPtrInput interface {
	pulumi.Input

	ToInstanceAttachmentPtrOutput() InstanceAttachmentPtrOutput
	ToInstanceAttachmentPtrOutputWithContext(ctx context.Context) InstanceAttachmentPtrOutput
}

type InstanceAttachmentPtrOutput

type InstanceAttachmentPtrOutput struct{ *pulumi.OutputState }

func (InstanceAttachmentPtrOutput) Elem added in v3.9.0

func (InstanceAttachmentPtrOutput) ElementType

func (InstanceAttachmentPtrOutput) ToInstanceAttachmentPtrOutput

func (o InstanceAttachmentPtrOutput) ToInstanceAttachmentPtrOutput() InstanceAttachmentPtrOutput

func (InstanceAttachmentPtrOutput) ToInstanceAttachmentPtrOutputWithContext

func (o InstanceAttachmentPtrOutput) ToInstanceAttachmentPtrOutputWithContext(ctx context.Context) InstanceAttachmentPtrOutput

type InstanceAttachmentState

type InstanceAttachmentState struct {
	// The account ID to which the CEN instance belongs.
	CenOwnerId pulumi.IntPtrInput
	// The ID of the child instance to attach.
	ChildInstanceId pulumi.StringPtrInput
	// The uid of the child instance. Only used when attach a child instance of other account.
	ChildInstanceOwnerId pulumi.IntPtrInput
	// The region ID of the child instance to attach.
	ChildInstanceRegionId pulumi.StringPtrInput
	// The type of the associated network. Valid values: `VPC`, `VBR` and `CCN`.
	ChildInstanceType pulumi.StringPtrInput
	// The ID of the CEN.
	InstanceId pulumi.StringPtrInput
	// The associating status of the network.
	Status pulumi.StringPtrInput
}

func (InstanceAttachmentState) ElementType

func (InstanceAttachmentState) ElementType() reflect.Type

type InstanceGrant

type InstanceGrant struct {
	pulumi.CustomResourceState

	// The ID of the CEN.
	CenId pulumi.StringOutput `pulumi:"cenId"`
	// The owner UID of the  CEN which the child instance granted to.
	CenOwnerId pulumi.StringOutput `pulumi:"cenOwnerId"`
	// The ID of the child instance to grant.
	ChildInstanceId pulumi.StringOutput `pulumi:"childInstanceId"`
}

Provides a CEN child instance grant resource, which allow you to authorize a VPC or VBR to a CEN of a different account.

For more information about how to use it, see [Attach a network in a different account](https://www.alibabacloud.com/help/doc-detail/73645.htm).

## Example Usage

Basic Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/cen"
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/providers"
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/vpc"
"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 {
		_, err := providers.Newalicloud(ctx, "account1", &providers.alicloudArgs{
			AccessKey: "access123",
			SecretKey: "secret123",
		})
		if err != nil {
			return err
		}
		_, err = providers.Newalicloud(ctx, "account2", &providers.alicloudArgs{
			AccessKey: "access456",
			SecretKey: "secret456",
		})
		if err != nil {
			return err
		}
		cfg := config.New(ctx, "")
		name := "tf-testAccCenInstanceGrantBasic"
		if param := cfg.Get("name"); param != "" {
			name = param
		}
		cen, err := cen.NewInstance(ctx, "cen", nil, pulumi.Provider(alicloud.Account2))
		if err != nil {
			return err
		}
		vpc, err := vpc.NewNetwork(ctx, "vpc", &vpc.NetworkArgs{
			CidrBlock: pulumi.String("192.168.0.0/16"),
		}, pulumi.Provider(alicloud.Account1))
		if err != nil {
			return err
		}
		fooInstanceGrant, err := cen.NewInstanceGrant(ctx, "fooInstanceGrant", &cen.InstanceGrantArgs{
			CenId:           cen.ID(),
			ChildInstanceId: vpc.ID(),
			CenOwnerId:      pulumi.String("uid2"),
		}, pulumi.Provider(alicloud.Account1))
		if err != nil {
			return err
		}
		_, err = cen.NewInstanceAttachment(ctx, "fooInstanceAttachment", &cen.InstanceAttachmentArgs{
			InstanceId:            cen.ID(),
			ChildInstanceId:       vpc.ID(),
			ChildInstanceType:     pulumi.String("VPC"),
			ChildInstanceRegionId: pulumi.String("cn-qingdao"),
			ChildInstanceOwnerId:  pulumi.Int("uid1"),
		}, pulumi.Provider(alicloud.Account2), pulumi.DependsOn([]pulumi.Resource{
			fooInstanceGrant,
		}))
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

CEN instance can be imported using the id, e.g.

```sh

$ pulumi import alicloud:cen/instanceGrant:InstanceGrant example cen-abc123456:vpc-abc123456:uid123456

```

func GetInstanceGrant

func GetInstanceGrant(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *InstanceGrantState, opts ...pulumi.ResourceOption) (*InstanceGrant, error)

GetInstanceGrant gets an existing InstanceGrant resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewInstanceGrant

func NewInstanceGrant(ctx *pulumi.Context,
	name string, args *InstanceGrantArgs, opts ...pulumi.ResourceOption) (*InstanceGrant, error)

NewInstanceGrant registers a new resource with the given unique name, arguments, and options.

func (*InstanceGrant) ElementType

func (*InstanceGrant) ElementType() reflect.Type

func (*InstanceGrant) ToInstanceGrantOutput

func (i *InstanceGrant) ToInstanceGrantOutput() InstanceGrantOutput

func (*InstanceGrant) ToInstanceGrantOutputWithContext

func (i *InstanceGrant) ToInstanceGrantOutputWithContext(ctx context.Context) InstanceGrantOutput

func (*InstanceGrant) ToInstanceGrantPtrOutput

func (i *InstanceGrant) ToInstanceGrantPtrOutput() InstanceGrantPtrOutput

func (*InstanceGrant) ToInstanceGrantPtrOutputWithContext

func (i *InstanceGrant) ToInstanceGrantPtrOutputWithContext(ctx context.Context) InstanceGrantPtrOutput

type InstanceGrantArgs

type InstanceGrantArgs struct {
	// The ID of the CEN.
	CenId pulumi.StringInput
	// The owner UID of the  CEN which the child instance granted to.
	CenOwnerId pulumi.StringInput
	// The ID of the child instance to grant.
	ChildInstanceId pulumi.StringInput
}

The set of arguments for constructing a InstanceGrant resource.

func (InstanceGrantArgs) ElementType

func (InstanceGrantArgs) ElementType() reflect.Type

type InstanceGrantArray

type InstanceGrantArray []InstanceGrantInput

func (InstanceGrantArray) ElementType

func (InstanceGrantArray) ElementType() reflect.Type

func (InstanceGrantArray) ToInstanceGrantArrayOutput

func (i InstanceGrantArray) ToInstanceGrantArrayOutput() InstanceGrantArrayOutput

func (InstanceGrantArray) ToInstanceGrantArrayOutputWithContext

func (i InstanceGrantArray) ToInstanceGrantArrayOutputWithContext(ctx context.Context) InstanceGrantArrayOutput

type InstanceGrantArrayInput

type InstanceGrantArrayInput interface {
	pulumi.Input

	ToInstanceGrantArrayOutput() InstanceGrantArrayOutput
	ToInstanceGrantArrayOutputWithContext(context.Context) InstanceGrantArrayOutput
}

InstanceGrantArrayInput is an input type that accepts InstanceGrantArray and InstanceGrantArrayOutput values. You can construct a concrete instance of `InstanceGrantArrayInput` via:

InstanceGrantArray{ InstanceGrantArgs{...} }

type InstanceGrantArrayOutput

type InstanceGrantArrayOutput struct{ *pulumi.OutputState }

func (InstanceGrantArrayOutput) ElementType

func (InstanceGrantArrayOutput) ElementType() reflect.Type

func (InstanceGrantArrayOutput) Index

func (InstanceGrantArrayOutput) ToInstanceGrantArrayOutput

func (o InstanceGrantArrayOutput) ToInstanceGrantArrayOutput() InstanceGrantArrayOutput

func (InstanceGrantArrayOutput) ToInstanceGrantArrayOutputWithContext

func (o InstanceGrantArrayOutput) ToInstanceGrantArrayOutputWithContext(ctx context.Context) InstanceGrantArrayOutput

type InstanceGrantInput

type InstanceGrantInput interface {
	pulumi.Input

	ToInstanceGrantOutput() InstanceGrantOutput
	ToInstanceGrantOutputWithContext(ctx context.Context) InstanceGrantOutput
}

type InstanceGrantMap

type InstanceGrantMap map[string]InstanceGrantInput

func (InstanceGrantMap) ElementType

func (InstanceGrantMap) ElementType() reflect.Type

func (InstanceGrantMap) ToInstanceGrantMapOutput

func (i InstanceGrantMap) ToInstanceGrantMapOutput() InstanceGrantMapOutput

func (InstanceGrantMap) ToInstanceGrantMapOutputWithContext

func (i InstanceGrantMap) ToInstanceGrantMapOutputWithContext(ctx context.Context) InstanceGrantMapOutput

type InstanceGrantMapInput

type InstanceGrantMapInput interface {
	pulumi.Input

	ToInstanceGrantMapOutput() InstanceGrantMapOutput
	ToInstanceGrantMapOutputWithContext(context.Context) InstanceGrantMapOutput
}

InstanceGrantMapInput is an input type that accepts InstanceGrantMap and InstanceGrantMapOutput values. You can construct a concrete instance of `InstanceGrantMapInput` via:

InstanceGrantMap{ "key": InstanceGrantArgs{...} }

type InstanceGrantMapOutput

type InstanceGrantMapOutput struct{ *pulumi.OutputState }

func (InstanceGrantMapOutput) ElementType

func (InstanceGrantMapOutput) ElementType() reflect.Type

func (InstanceGrantMapOutput) MapIndex

func (InstanceGrantMapOutput) ToInstanceGrantMapOutput

func (o InstanceGrantMapOutput) ToInstanceGrantMapOutput() InstanceGrantMapOutput

func (InstanceGrantMapOutput) ToInstanceGrantMapOutputWithContext

func (o InstanceGrantMapOutput) ToInstanceGrantMapOutputWithContext(ctx context.Context) InstanceGrantMapOutput

type InstanceGrantOutput

type InstanceGrantOutput struct{ *pulumi.OutputState }

func (InstanceGrantOutput) ElementType

func (InstanceGrantOutput) ElementType() reflect.Type

func (InstanceGrantOutput) ToInstanceGrantOutput

func (o InstanceGrantOutput) ToInstanceGrantOutput() InstanceGrantOutput

func (InstanceGrantOutput) ToInstanceGrantOutputWithContext

func (o InstanceGrantOutput) ToInstanceGrantOutputWithContext(ctx context.Context) InstanceGrantOutput

func (InstanceGrantOutput) ToInstanceGrantPtrOutput

func (o InstanceGrantOutput) ToInstanceGrantPtrOutput() InstanceGrantPtrOutput

func (InstanceGrantOutput) ToInstanceGrantPtrOutputWithContext

func (o InstanceGrantOutput) ToInstanceGrantPtrOutputWithContext(ctx context.Context) InstanceGrantPtrOutput

type InstanceGrantPtrInput

type InstanceGrantPtrInput interface {
	pulumi.Input

	ToInstanceGrantPtrOutput() InstanceGrantPtrOutput
	ToInstanceGrantPtrOutputWithContext(ctx context.Context) InstanceGrantPtrOutput
}

type InstanceGrantPtrOutput

type InstanceGrantPtrOutput struct{ *pulumi.OutputState }

func (InstanceGrantPtrOutput) Elem added in v3.9.0

func (InstanceGrantPtrOutput) ElementType

func (InstanceGrantPtrOutput) ElementType() reflect.Type

func (InstanceGrantPtrOutput) ToInstanceGrantPtrOutput

func (o InstanceGrantPtrOutput) ToInstanceGrantPtrOutput() InstanceGrantPtrOutput

func (InstanceGrantPtrOutput) ToInstanceGrantPtrOutputWithContext

func (o InstanceGrantPtrOutput) ToInstanceGrantPtrOutputWithContext(ctx context.Context) InstanceGrantPtrOutput

type InstanceGrantState

type InstanceGrantState struct {
	// The ID of the CEN.
	CenId pulumi.StringPtrInput
	// The owner UID of the  CEN which the child instance granted to.
	CenOwnerId pulumi.StringPtrInput
	// The ID of the child instance to grant.
	ChildInstanceId pulumi.StringPtrInput
}

func (InstanceGrantState) ElementType

func (InstanceGrantState) ElementType() reflect.Type

type InstanceInput

type InstanceInput interface {
	pulumi.Input

	ToInstanceOutput() InstanceOutput
	ToInstanceOutputWithContext(ctx context.Context) InstanceOutput
}

type InstanceMap

type InstanceMap map[string]InstanceInput

func (InstanceMap) ElementType

func (InstanceMap) ElementType() reflect.Type

func (InstanceMap) ToInstanceMapOutput

func (i InstanceMap) ToInstanceMapOutput() InstanceMapOutput

func (InstanceMap) ToInstanceMapOutputWithContext

func (i InstanceMap) ToInstanceMapOutputWithContext(ctx context.Context) InstanceMapOutput

type InstanceMapInput

type InstanceMapInput interface {
	pulumi.Input

	ToInstanceMapOutput() InstanceMapOutput
	ToInstanceMapOutputWithContext(context.Context) InstanceMapOutput
}

InstanceMapInput is an input type that accepts InstanceMap and InstanceMapOutput values. You can construct a concrete instance of `InstanceMapInput` via:

InstanceMap{ "key": InstanceArgs{...} }

type InstanceMapOutput

type InstanceMapOutput struct{ *pulumi.OutputState }

func (InstanceMapOutput) ElementType

func (InstanceMapOutput) ElementType() reflect.Type

func (InstanceMapOutput) MapIndex

func (InstanceMapOutput) ToInstanceMapOutput

func (o InstanceMapOutput) ToInstanceMapOutput() InstanceMapOutput

func (InstanceMapOutput) ToInstanceMapOutputWithContext

func (o InstanceMapOutput) ToInstanceMapOutputWithContext(ctx context.Context) InstanceMapOutput

type InstanceOutput

type InstanceOutput struct{ *pulumi.OutputState }

func (InstanceOutput) ElementType

func (InstanceOutput) ElementType() reflect.Type

func (InstanceOutput) ToInstanceOutput

func (o InstanceOutput) ToInstanceOutput() InstanceOutput

func (InstanceOutput) ToInstanceOutputWithContext

func (o InstanceOutput) ToInstanceOutputWithContext(ctx context.Context) InstanceOutput

func (InstanceOutput) ToInstancePtrOutput

func (o InstanceOutput) ToInstancePtrOutput() InstancePtrOutput

func (InstanceOutput) ToInstancePtrOutputWithContext

func (o InstanceOutput) ToInstancePtrOutputWithContext(ctx context.Context) InstancePtrOutput

type InstancePtrInput

type InstancePtrInput interface {
	pulumi.Input

	ToInstancePtrOutput() InstancePtrOutput
	ToInstancePtrOutputWithContext(ctx context.Context) InstancePtrOutput
}

type InstancePtrOutput

type InstancePtrOutput struct{ *pulumi.OutputState }

func (InstancePtrOutput) Elem added in v3.9.0

func (InstancePtrOutput) ElementType

func (InstancePtrOutput) ElementType() reflect.Type

func (InstancePtrOutput) ToInstancePtrOutput

func (o InstancePtrOutput) ToInstancePtrOutput() InstancePtrOutput

func (InstancePtrOutput) ToInstancePtrOutputWithContext

func (o InstancePtrOutput) ToInstancePtrOutputWithContext(ctx context.Context) InstancePtrOutput

type InstanceState

type InstanceState struct {
	// The name of the CEN instance. Defaults to null. The name must be 2 to 128 characters in length and can contain letters, numbers, periods (.), underscores (_), and hyphens (-). The name must start with a letter, but cannot start with http:// or https://.
	CenInstanceName pulumi.StringPtrInput
	// The description of the CEN instance. Defaults to null. The description must be 2 to 256 characters in length. It must start with a letter, and cannot start with http:// or https://.
	Description pulumi.StringPtrInput
	// Field `name` has been deprecated from version 1.98.0. Use `cenInstanceName` instead.
	//
	// Deprecated: Field 'name' has been deprecated from version 1.98.0. Use 'cen_instance_name' instead.
	Name pulumi.StringPtrInput
	// Indicates the allowed level of CIDR block overlapping. Default value: `REDUCE`: Overlapping CIDR blocks are allowed. However, the overlapping CIDR blocks cannot be identical.
	ProtectionLevel pulumi.StringPtrInput
	// The Cen Instance current status.
	Status pulumi.StringPtrInput
	// A mapping of tags to assign to the resource.
	Tags pulumi.MapInput
}

func (InstanceState) ElementType

func (InstanceState) ElementType() reflect.Type

type PrivateZone

type PrivateZone struct {
	pulumi.CustomResourceState

	// The access region. The access region is the region of the cloud resource that accesses the PrivateZone service through CEN.
	AccessRegionId pulumi.StringOutput `pulumi:"accessRegionId"`
	// The ID of the CEN instance.
	CenId pulumi.StringOutput `pulumi:"cenId"`
	// The service region. The service region is the target region of the PrivateZone service to be accessed through CEN.
	HostRegionId pulumi.StringOutput `pulumi:"hostRegionId"`
	// The VPC that belongs to the service region.
	HostVpcId pulumi.StringOutput `pulumi:"hostVpcId"`
	// The status of the PrivateZone service. Valid values: ["Creating", "Active", "Deleting"].
	Status pulumi.StringOutput `pulumi:"status"`
}

This topic describes how to configure PrivateZone access. PrivateZone is a VPC-based resolution and management service for private domain names. After you set a PrivateZone access, the Cloud Connect Network (CCN) and Virtual Border Router (VBR) attached to a CEN instance can access the PrivateZone service through CEN.

For information about CEN Private Zone and how to use it, see [Manage CEN Private Zone](https://www.alibabacloud.com/help/en/doc-detail/106693.htm).

> **NOTE:** Available in 1.83.0+

## Example Usage

Basic Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/cen"
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/vpc"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		defaultInstance, err := cen.NewInstance(ctx, "defaultInstance", nil)
		if err != nil {
			return err
		}
		defaultNetwork, err := vpc.NewNetwork(ctx, "defaultNetwork", &vpc.NetworkArgs{
			VpcName:   pulumi.String("test_name"),
			CidrBlock: pulumi.String("172.16.0.0/12"),
		})
		if err != nil {
			return err
		}
		defaultInstanceAttachment, err := cen.NewInstanceAttachment(ctx, "defaultInstanceAttachment", &cen.InstanceAttachmentArgs{
			InstanceId:            defaultInstance.ID(),
			ChildInstanceId:       defaultNetwork.ID(),
			ChildInstanceType:     pulumi.String("VPC"),
			ChildInstanceRegionId: pulumi.String("cn-hangzhou"),
		}, pulumi.DependsOn([]pulumi.Resource{
			defaultInstance,
			defaultNetwork,
		}))
		if err != nil {
			return err
		}
		_, err = cen.NewPrivateZone(ctx, "defaultPrivateZone", &cen.PrivateZoneArgs{
			AccessRegionId: pulumi.String("cn-hangzhou"),
			CenId:          defaultInstance.ID(),
			HostRegionId:   pulumi.String("cn-hangzhou"),
			HostVpcId:      defaultNetwork.ID(),
		}, pulumi.DependsOn([]pulumi.Resource{
			defaultInstanceAttachment,
		}))
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

CEN Private Zone can be imported using the id, e.g.

```sh

$ pulumi import alicloud:cen/privateZone:PrivateZone example cen-abc123456:cn-hangzhou

```

func GetPrivateZone

func GetPrivateZone(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *PrivateZoneState, opts ...pulumi.ResourceOption) (*PrivateZone, error)

GetPrivateZone gets an existing PrivateZone resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewPrivateZone

func NewPrivateZone(ctx *pulumi.Context,
	name string, args *PrivateZoneArgs, opts ...pulumi.ResourceOption) (*PrivateZone, error)

NewPrivateZone registers a new resource with the given unique name, arguments, and options.

func (*PrivateZone) ElementType

func (*PrivateZone) ElementType() reflect.Type

func (*PrivateZone) ToPrivateZoneOutput

func (i *PrivateZone) ToPrivateZoneOutput() PrivateZoneOutput

func (*PrivateZone) ToPrivateZoneOutputWithContext

func (i *PrivateZone) ToPrivateZoneOutputWithContext(ctx context.Context) PrivateZoneOutput

func (*PrivateZone) ToPrivateZonePtrOutput

func (i *PrivateZone) ToPrivateZonePtrOutput() PrivateZonePtrOutput

func (*PrivateZone) ToPrivateZonePtrOutputWithContext

func (i *PrivateZone) ToPrivateZonePtrOutputWithContext(ctx context.Context) PrivateZonePtrOutput

type PrivateZoneArgs

type PrivateZoneArgs struct {
	// The access region. The access region is the region of the cloud resource that accesses the PrivateZone service through CEN.
	AccessRegionId pulumi.StringInput
	// The ID of the CEN instance.
	CenId pulumi.StringInput
	// The service region. The service region is the target region of the PrivateZone service to be accessed through CEN.
	HostRegionId pulumi.StringInput
	// The VPC that belongs to the service region.
	HostVpcId pulumi.StringInput
}

The set of arguments for constructing a PrivateZone resource.

func (PrivateZoneArgs) ElementType

func (PrivateZoneArgs) ElementType() reflect.Type

type PrivateZoneArray

type PrivateZoneArray []PrivateZoneInput

func (PrivateZoneArray) ElementType

func (PrivateZoneArray) ElementType() reflect.Type

func (PrivateZoneArray) ToPrivateZoneArrayOutput

func (i PrivateZoneArray) ToPrivateZoneArrayOutput() PrivateZoneArrayOutput

func (PrivateZoneArray) ToPrivateZoneArrayOutputWithContext

func (i PrivateZoneArray) ToPrivateZoneArrayOutputWithContext(ctx context.Context) PrivateZoneArrayOutput

type PrivateZoneArrayInput

type PrivateZoneArrayInput interface {
	pulumi.Input

	ToPrivateZoneArrayOutput() PrivateZoneArrayOutput
	ToPrivateZoneArrayOutputWithContext(context.Context) PrivateZoneArrayOutput
}

PrivateZoneArrayInput is an input type that accepts PrivateZoneArray and PrivateZoneArrayOutput values. You can construct a concrete instance of `PrivateZoneArrayInput` via:

PrivateZoneArray{ PrivateZoneArgs{...} }

type PrivateZoneArrayOutput

type PrivateZoneArrayOutput struct{ *pulumi.OutputState }

func (PrivateZoneArrayOutput) ElementType

func (PrivateZoneArrayOutput) ElementType() reflect.Type

func (PrivateZoneArrayOutput) Index

func (PrivateZoneArrayOutput) ToPrivateZoneArrayOutput

func (o PrivateZoneArrayOutput) ToPrivateZoneArrayOutput() PrivateZoneArrayOutput

func (PrivateZoneArrayOutput) ToPrivateZoneArrayOutputWithContext

func (o PrivateZoneArrayOutput) ToPrivateZoneArrayOutputWithContext(ctx context.Context) PrivateZoneArrayOutput

type PrivateZoneInput

type PrivateZoneInput interface {
	pulumi.Input

	ToPrivateZoneOutput() PrivateZoneOutput
	ToPrivateZoneOutputWithContext(ctx context.Context) PrivateZoneOutput
}

type PrivateZoneMap

type PrivateZoneMap map[string]PrivateZoneInput

func (PrivateZoneMap) ElementType

func (PrivateZoneMap) ElementType() reflect.Type

func (PrivateZoneMap) ToPrivateZoneMapOutput

func (i PrivateZoneMap) ToPrivateZoneMapOutput() PrivateZoneMapOutput

func (PrivateZoneMap) ToPrivateZoneMapOutputWithContext

func (i PrivateZoneMap) ToPrivateZoneMapOutputWithContext(ctx context.Context) PrivateZoneMapOutput

type PrivateZoneMapInput

type PrivateZoneMapInput interface {
	pulumi.Input

	ToPrivateZoneMapOutput() PrivateZoneMapOutput
	ToPrivateZoneMapOutputWithContext(context.Context) PrivateZoneMapOutput
}

PrivateZoneMapInput is an input type that accepts PrivateZoneMap and PrivateZoneMapOutput values. You can construct a concrete instance of `PrivateZoneMapInput` via:

PrivateZoneMap{ "key": PrivateZoneArgs{...} }

type PrivateZoneMapOutput

type PrivateZoneMapOutput struct{ *pulumi.OutputState }

func (PrivateZoneMapOutput) ElementType

func (PrivateZoneMapOutput) ElementType() reflect.Type

func (PrivateZoneMapOutput) MapIndex

func (PrivateZoneMapOutput) ToPrivateZoneMapOutput

func (o PrivateZoneMapOutput) ToPrivateZoneMapOutput() PrivateZoneMapOutput

func (PrivateZoneMapOutput) ToPrivateZoneMapOutputWithContext

func (o PrivateZoneMapOutput) ToPrivateZoneMapOutputWithContext(ctx context.Context) PrivateZoneMapOutput

type PrivateZoneOutput

type PrivateZoneOutput struct{ *pulumi.OutputState }

func (PrivateZoneOutput) ElementType

func (PrivateZoneOutput) ElementType() reflect.Type

func (PrivateZoneOutput) ToPrivateZoneOutput

func (o PrivateZoneOutput) ToPrivateZoneOutput() PrivateZoneOutput

func (PrivateZoneOutput) ToPrivateZoneOutputWithContext

func (o PrivateZoneOutput) ToPrivateZoneOutputWithContext(ctx context.Context) PrivateZoneOutput

func (PrivateZoneOutput) ToPrivateZonePtrOutput

func (o PrivateZoneOutput) ToPrivateZonePtrOutput() PrivateZonePtrOutput

func (PrivateZoneOutput) ToPrivateZonePtrOutputWithContext

func (o PrivateZoneOutput) ToPrivateZonePtrOutputWithContext(ctx context.Context) PrivateZonePtrOutput

type PrivateZonePtrInput

type PrivateZonePtrInput interface {
	pulumi.Input

	ToPrivateZonePtrOutput() PrivateZonePtrOutput
	ToPrivateZonePtrOutputWithContext(ctx context.Context) PrivateZonePtrOutput
}

type PrivateZonePtrOutput

type PrivateZonePtrOutput struct{ *pulumi.OutputState }

func (PrivateZonePtrOutput) Elem added in v3.9.0

func (PrivateZonePtrOutput) ElementType

func (PrivateZonePtrOutput) ElementType() reflect.Type

func (PrivateZonePtrOutput) ToPrivateZonePtrOutput

func (o PrivateZonePtrOutput) ToPrivateZonePtrOutput() PrivateZonePtrOutput

func (PrivateZonePtrOutput) ToPrivateZonePtrOutputWithContext

func (o PrivateZonePtrOutput) ToPrivateZonePtrOutputWithContext(ctx context.Context) PrivateZonePtrOutput

type PrivateZoneState

type PrivateZoneState struct {
	// The access region. The access region is the region of the cloud resource that accesses the PrivateZone service through CEN.
	AccessRegionId pulumi.StringPtrInput
	// The ID of the CEN instance.
	CenId pulumi.StringPtrInput
	// The service region. The service region is the target region of the PrivateZone service to be accessed through CEN.
	HostRegionId pulumi.StringPtrInput
	// The VPC that belongs to the service region.
	HostVpcId pulumi.StringPtrInput
	// The status of the PrivateZone service. Valid values: ["Creating", "Active", "Deleting"].
	Status pulumi.StringPtrInput
}

func (PrivateZoneState) ElementType

func (PrivateZoneState) ElementType() reflect.Type

type RouteEntry

type RouteEntry struct {
	pulumi.CustomResourceState

	// The destination CIDR block of the route entry to publish.
	CidrBlock pulumi.StringOutput `pulumi:"cidrBlock"`
	// The ID of the CEN.
	InstanceId pulumi.StringOutput `pulumi:"instanceId"`
	// The route table of the attached VBR or VPC.
	RouteTableId pulumi.StringOutput `pulumi:"routeTableId"`
}

Provides a CEN route entry resource. Cloud Enterprise Network (CEN) supports publishing and withdrawing route entries of attached networks. You can publish a route entry of an attached VPC or VBR to a CEN instance, then other attached networks can learn the route if there is no route conflict. You can withdraw a published route entry when CEN does not need it any more.

For information about CEN route entries publishment and how to use it, see [Manage network routes](https://www.alibabacloud.com/help/doc-detail/86980.htm).

## Example Usage

Basic Usage

```go 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/ecs"
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/providers"
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/vpc"
"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 {
		_, err := providers.Newalicloud(ctx, "hz", &providers.alicloudArgs{
			Region: "cn-hangzhou",
		})
		if err != nil {
			return err
		}
		cfg := config.New(ctx, "")
		name := "tf-testAccCenRouteEntryConfig"
		if param := cfg.Get("name"); param != "" {
			name = param
		}
		opt0 := "cloud_efficiency"
		opt1 := "VSwitch"
		defaultZones, err := alicloud.GetZones(ctx, &GetZonesArgs{
			AvailableDiskCategory:     &opt0,
			AvailableResourceCreation: &opt1,
		}, nil)
		if err != nil {
			return err
		}
		opt2 := defaultZones.Zones[0].Id
		opt3 := 1
		opt4 := 2
		defaultInstanceTypes, err := ecs.GetInstanceTypes(ctx, &ecs.GetInstanceTypesArgs{
			AvailabilityZone: &opt2,
			CpuCoreCount:     &opt3,
			MemorySize:       &opt4,
		}, nil)
		if err != nil {
			return err
		}
		opt5 := "^ubuntu_18.*64"
		opt6 := true
		opt7 := "system"
		defaultImages, err := ecs.GetImages(ctx, &ecs.GetImagesArgs{
			NameRegex:  &opt5,
			MostRecent: &opt6,
			Owners:     &opt7,
		}, nil)
		if err != nil {
			return err
		}
		vpc, err := vpc.NewNetwork(ctx, "vpc", &vpc.NetworkArgs{
			VpcName:   pulumi.String(name),
			CidrBlock: pulumi.String("172.16.0.0/12"),
		}, pulumi.Provider(alicloud.Hz))
		if err != nil {
			return err
		}
		defaultSwitch, err := vpc.NewSwitch(ctx, "defaultSwitch", &vpc.SwitchArgs{
			VpcId:       vpc.ID(),
			CidrBlock:   pulumi.String("172.16.0.0/21"),
			ZoneId:      pulumi.String(defaultZones.Zones[0].Id),
			VswitchName: pulumi.String(name),
		}, pulumi.Provider(alicloud.Hz))
		if err != nil {
			return err
		}
		defaultSecurityGroup, err := ecs.NewSecurityGroup(ctx, "defaultSecurityGroup", &ecs.SecurityGroupArgs{
			Description: pulumi.String("foo"),
			VpcId:       vpc.ID(),
		}, pulumi.Provider(alicloud.Hz))
		if err != nil {
			return err
		}
		defaultInstance, err := ecs.NewInstance(ctx, "defaultInstance", &ecs.InstanceArgs{
			VswitchId:               defaultSwitch.ID(),
			ImageId:                 pulumi.String(defaultImages.Images[0].Id),
			InstanceType:            pulumi.String(defaultInstanceTypes.InstanceTypes[0].Id),
			SystemDiskCategory:      pulumi.String("cloud_efficiency"),
			InternetChargeType:      pulumi.String("PayByTraffic"),
			InternetMaxBandwidthOut: pulumi.Int(5),
			SecurityGroups: pulumi.StringArray{
				defaultSecurityGroup.ID(),
			},
			InstanceName: pulumi.String(name),
		}, pulumi.Provider(alicloud.Hz))
		if err != nil {
			return err
		}
		cen, err := cen.NewInstance(ctx, "cen", nil)
		if err != nil {
			return err
		}
		attach, err := cen.NewInstanceAttachment(ctx, "attach", &cen.InstanceAttachmentArgs{
			InstanceId:            cen.ID(),
			ChildInstanceId:       vpc.ID(),
			ChildInstanceType:     pulumi.String("VPC"),
			ChildInstanceRegionId: pulumi.String("cn-hangzhou"),
		}, pulumi.DependsOn([]pulumi.Resource{
			defaultSwitch,
		}))
		if err != nil {
			return err
		}
		route, err := vpc.NewRouteEntry(ctx, "route", &vpc.RouteEntryArgs{
			RouteTableId:         vpc.RouteTableId,
			DestinationCidrblock: pulumi.String("11.0.0.0/16"),
			NexthopType:          pulumi.String("Instance"),
			NexthopId:            defaultInstance.ID(),
		}, pulumi.Provider(alicloud.Hz))
		if err != nil {
			return err
		}
		_, err = cen.NewRouteEntry(ctx, "foo", &cen.RouteEntryArgs{
			InstanceId:   cen.ID(),
			RouteTableId: vpc.RouteTableId,
			CidrBlock:    route.DestinationCidrblock,
		}, pulumi.Provider(alicloud.Hz), pulumi.DependsOn([]pulumi.Resource{
			attach,
		}))
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

CEN instance can be imported using the id, e.g.

```sh

$ pulumi import alicloud:cen/routeEntry:RouteEntry example cen-abc123456:vtb-abc123:192.168.0.0/24

```

func GetRouteEntry

func GetRouteEntry(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *RouteEntryState, opts ...pulumi.ResourceOption) (*RouteEntry, error)

GetRouteEntry gets an existing RouteEntry resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewRouteEntry

func NewRouteEntry(ctx *pulumi.Context,
	name string, args *RouteEntryArgs, opts ...pulumi.ResourceOption) (*RouteEntry, error)

NewRouteEntry registers a new resource with the given unique name, arguments, and options.

func (*RouteEntry) ElementType

func (*RouteEntry) ElementType() reflect.Type

func (*RouteEntry) ToRouteEntryOutput

func (i *RouteEntry) ToRouteEntryOutput() RouteEntryOutput

func (*RouteEntry) ToRouteEntryOutputWithContext

func (i *RouteEntry) ToRouteEntryOutputWithContext(ctx context.Context) RouteEntryOutput

func (*RouteEntry) ToRouteEntryPtrOutput

func (i *RouteEntry) ToRouteEntryPtrOutput() RouteEntryPtrOutput

func (*RouteEntry) ToRouteEntryPtrOutputWithContext

func (i *RouteEntry) ToRouteEntryPtrOutputWithContext(ctx context.Context) RouteEntryPtrOutput

type RouteEntryArgs

type RouteEntryArgs struct {
	// The destination CIDR block of the route entry to publish.
	CidrBlock pulumi.StringInput
	// The ID of the CEN.
	InstanceId pulumi.StringInput
	// The route table of the attached VBR or VPC.
	RouteTableId pulumi.StringInput
}

The set of arguments for constructing a RouteEntry resource.

func (RouteEntryArgs) ElementType

func (RouteEntryArgs) ElementType() reflect.Type

type RouteEntryArray

type RouteEntryArray []RouteEntryInput

func (RouteEntryArray) ElementType

func (RouteEntryArray) ElementType() reflect.Type

func (RouteEntryArray) ToRouteEntryArrayOutput

func (i RouteEntryArray) ToRouteEntryArrayOutput() RouteEntryArrayOutput

func (RouteEntryArray) ToRouteEntryArrayOutputWithContext

func (i RouteEntryArray) ToRouteEntryArrayOutputWithContext(ctx context.Context) RouteEntryArrayOutput

type RouteEntryArrayInput

type RouteEntryArrayInput interface {
	pulumi.Input

	ToRouteEntryArrayOutput() RouteEntryArrayOutput
	ToRouteEntryArrayOutputWithContext(context.Context) RouteEntryArrayOutput
}

RouteEntryArrayInput is an input type that accepts RouteEntryArray and RouteEntryArrayOutput values. You can construct a concrete instance of `RouteEntryArrayInput` via:

RouteEntryArray{ RouteEntryArgs{...} }

type RouteEntryArrayOutput

type RouteEntryArrayOutput struct{ *pulumi.OutputState }

func (RouteEntryArrayOutput) ElementType

func (RouteEntryArrayOutput) ElementType() reflect.Type

func (RouteEntryArrayOutput) Index

func (RouteEntryArrayOutput) ToRouteEntryArrayOutput

func (o RouteEntryArrayOutput) ToRouteEntryArrayOutput() RouteEntryArrayOutput

func (RouteEntryArrayOutput) ToRouteEntryArrayOutputWithContext

func (o RouteEntryArrayOutput) ToRouteEntryArrayOutputWithContext(ctx context.Context) RouteEntryArrayOutput

type RouteEntryInput

type RouteEntryInput interface {
	pulumi.Input

	ToRouteEntryOutput() RouteEntryOutput
	ToRouteEntryOutputWithContext(ctx context.Context) RouteEntryOutput
}

type RouteEntryMap

type RouteEntryMap map[string]RouteEntryInput

func (RouteEntryMap) ElementType

func (RouteEntryMap) ElementType() reflect.Type

func (RouteEntryMap) ToRouteEntryMapOutput

func (i RouteEntryMap) ToRouteEntryMapOutput() RouteEntryMapOutput

func (RouteEntryMap) ToRouteEntryMapOutputWithContext

func (i RouteEntryMap) ToRouteEntryMapOutputWithContext(ctx context.Context) RouteEntryMapOutput

type RouteEntryMapInput

type RouteEntryMapInput interface {
	pulumi.Input

	ToRouteEntryMapOutput() RouteEntryMapOutput
	ToRouteEntryMapOutputWithContext(context.Context) RouteEntryMapOutput
}

RouteEntryMapInput is an input type that accepts RouteEntryMap and RouteEntryMapOutput values. You can construct a concrete instance of `RouteEntryMapInput` via:

RouteEntryMap{ "key": RouteEntryArgs{...} }

type RouteEntryMapOutput

type RouteEntryMapOutput struct{ *pulumi.OutputState }

func (RouteEntryMapOutput) ElementType

func (RouteEntryMapOutput) ElementType() reflect.Type

func (RouteEntryMapOutput) MapIndex

func (RouteEntryMapOutput) ToRouteEntryMapOutput

func (o RouteEntryMapOutput) ToRouteEntryMapOutput() RouteEntryMapOutput

func (RouteEntryMapOutput) ToRouteEntryMapOutputWithContext

func (o RouteEntryMapOutput) ToRouteEntryMapOutputWithContext(ctx context.Context) RouteEntryMapOutput

type RouteEntryOutput

type RouteEntryOutput struct{ *pulumi.OutputState }

func (RouteEntryOutput) ElementType

func (RouteEntryOutput) ElementType() reflect.Type

func (RouteEntryOutput) ToRouteEntryOutput

func (o RouteEntryOutput) ToRouteEntryOutput() RouteEntryOutput

func (RouteEntryOutput) ToRouteEntryOutputWithContext

func (o RouteEntryOutput) ToRouteEntryOutputWithContext(ctx context.Context) RouteEntryOutput

func (RouteEntryOutput) ToRouteEntryPtrOutput

func (o RouteEntryOutput) ToRouteEntryPtrOutput() RouteEntryPtrOutput

func (RouteEntryOutput) ToRouteEntryPtrOutputWithContext

func (o RouteEntryOutput) ToRouteEntryPtrOutputWithContext(ctx context.Context) RouteEntryPtrOutput

type RouteEntryPtrInput

type RouteEntryPtrInput interface {
	pulumi.Input

	ToRouteEntryPtrOutput() RouteEntryPtrOutput
	ToRouteEntryPtrOutputWithContext(ctx context.Context) RouteEntryPtrOutput
}

type RouteEntryPtrOutput

type RouteEntryPtrOutput struct{ *pulumi.OutputState }

func (RouteEntryPtrOutput) Elem added in v3.9.0

func (RouteEntryPtrOutput) ElementType

func (RouteEntryPtrOutput) ElementType() reflect.Type

func (RouteEntryPtrOutput) ToRouteEntryPtrOutput

func (o RouteEntryPtrOutput) ToRouteEntryPtrOutput() RouteEntryPtrOutput

func (RouteEntryPtrOutput) ToRouteEntryPtrOutputWithContext

func (o RouteEntryPtrOutput) ToRouteEntryPtrOutputWithContext(ctx context.Context) RouteEntryPtrOutput

type RouteEntryState

type RouteEntryState struct {
	// The destination CIDR block of the route entry to publish.
	CidrBlock pulumi.StringPtrInput
	// The ID of the CEN.
	InstanceId pulumi.StringPtrInput
	// The route table of the attached VBR or VPC.
	RouteTableId pulumi.StringPtrInput
}

func (RouteEntryState) ElementType

func (RouteEntryState) ElementType() reflect.Type

type RouteMap

type RouteMap struct {
	pulumi.CustomResourceState

	// A match statement. It indicates the mode in which the AS path attribute is matched. Valid values: ["Include", "Complete"].
	AsPathMatchMode pulumi.StringPtrOutput `pulumi:"asPathMatchMode"`
	// The ID of the CEN instance.
	CenId pulumi.StringOutput `pulumi:"cenId"`
	// The ID of the region to which the CEN instance belongs.
	CenRegionId pulumi.StringOutput `pulumi:"cenRegionId"`
	// A match statement. It indicates the mode in which the prefix attribute is matched. Valid values: ["Include", "Complete"].
	CidrMatchMode pulumi.StringPtrOutput `pulumi:"cidrMatchMode"`
	// A match statement. It indicates the mode in which the community attribute is matched. Valid values: ["Include", "Complete"].
	CommunityMatchMode pulumi.StringPtrOutput `pulumi:"communityMatchMode"`
	// An action statement. It indicates the mode in which the community attribute is operated. Valid values: ["Additive", "Replace"].
	CommunityOperateMode pulumi.StringPtrOutput `pulumi:"communityOperateMode"`
	// The description of the route map.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// A match statement that indicates the list of destination instance types. Valid values: ["VPC", "VBR", "CCN"].
	DestinationChildInstanceTypes pulumi.StringArrayOutput `pulumi:"destinationChildInstanceTypes"`
	// A match statement that indicates the prefix list. The prefix is in the CIDR format. You can enter a maximum of 32 CIDR blocks.
	DestinationCidrBlocks pulumi.StringArrayOutput `pulumi:"destinationCidrBlocks"`
	// A match statement that indicates the list of IDs of the destination instances.
	DestinationInstanceIds pulumi.StringArrayOutput `pulumi:"destinationInstanceIds"`
	// Indicates whether to enable the reverse match method for the DestinationInstanceIds match condition. Valid values: ["false", "true"]. Default to "false".
	DestinationInstanceIdsReverseMatch pulumi.BoolPtrOutput `pulumi:"destinationInstanceIdsReverseMatch"`
	// A match statement that indicates the list of IDs of the destination route tables. You can enter a maximum of 32 route table IDs.
	DestinationRouteTableIds pulumi.StringArrayOutput `pulumi:"destinationRouteTableIds"`
	// The action that is performed to a route if the route matches all the match conditions. Valid values: ["Permit", "Deny"].
	MapResult pulumi.StringOutput `pulumi:"mapResult"`
	// A match statement that indicates the AS path list. The AS path is a well-known mandatory attribute, which describes the numbers of the ASs that a BGP route passes through during transmission.
	MatchAsns pulumi.StringArrayOutput `pulumi:"matchAsns"`
	// A match statement that indicates the community set. The format of each community is nn:nn, which ranges from 1 to 65535. You can enter a maximum of 32 communities. Communities must comply with RFC 1997. Large communities (RFC 8092) are not supported.
	MatchCommunitySets pulumi.StringArrayOutput `pulumi:"matchCommunitySets"`
	// The priority of the next route map that is associated with the current route map. Value range: 1 to 100.
	NextPriority pulumi.IntPtrOutput `pulumi:"nextPriority"`
	// An action statement that operates the community attribute. The format of each community is nn:nn, which ranges from 1 to 65535. You can enter a maximum of 32 communities. Communities must comply with RFC 1997. Large communities (RFC 8092) are not supported.
	OperateCommunitySets pulumi.StringArrayOutput `pulumi:"operateCommunitySets"`
	// An action statement that modifies the priority of the route. Value range: 1 to 100. The default priority of a route is 50. A lower value indicates a higher preference.
	Preference pulumi.IntPtrOutput `pulumi:"preference"`
	// An action statement that indicates an AS path is prepended when the regional gateway receives or advertises a route.
	PrependAsPaths pulumi.StringArrayOutput `pulumi:"prependAsPaths"`
	// The priority of the route map. Value range: 1 to 100. A lower value indicates a higher priority.
	Priority   pulumi.IntOutput    `pulumi:"priority"`
	RouteMapId pulumi.StringOutput `pulumi:"routeMapId"`
	// A match statement that indicates the list of route types. Valid values: ["System", "Custom", "BGP"].
	RouteTypes pulumi.StringArrayOutput `pulumi:"routeTypes"`
	// A match statement that indicates the list of source instance types. Valid values: ["VPC", "VBR", "CCN"].
	SourceChildInstanceTypes pulumi.StringArrayOutput `pulumi:"sourceChildInstanceTypes"`
	// A match statement that indicates the list of IDs of the source instances.
	SourceInstanceIds pulumi.StringArrayOutput `pulumi:"sourceInstanceIds"`
	// Indicates whether to enable the reverse match method for the SourceInstanceIds match condition. Valid values: ["false", "true"]. Default to "false".
	SourceInstanceIdsReverseMatch pulumi.BoolPtrOutput `pulumi:"sourceInstanceIdsReverseMatch"`
	// A match statement that indicates the list of IDs of the source regions. You can enter a maximum of 32 region IDs.
	SourceRegionIds pulumi.StringArrayOutput `pulumi:"sourceRegionIds"`
	// A match statement that indicates the list of IDs of the source route tables. You can enter a maximum of 32 route table IDs.
	SourceRouteTableIds pulumi.StringArrayOutput `pulumi:"sourceRouteTableIds"`
	// (Computed) The status of route map. Valid values: ["Creating", "Active", "Deleting"].
	Status pulumi.StringOutput `pulumi:"status"`
	// The direction in which the route map is applied. Valid values: ["RegionIn", "RegionOut"].
	TransmitDirection pulumi.StringOutput `pulumi:"transmitDirection"`
}

This topic provides an overview of the route map function of Cloud Enterprise Networks (CENs). You can use the route map function to filter routes and modify route attributes. By doing so, you can manage the communication between networks attached to a CEN.

For information about CEN Route Map and how to use it, see [Manage CEN Route Map](https://www.alibabacloud.com/help/doc-detail/124157.htm).

> **NOTE:** Available in 1.82.0+

## Example Usage

Basic Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/cen"
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/providers"
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/vpc"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		defaultInstance, err := cen.NewInstance(ctx, "defaultInstance", nil)
		if err != nil {
			return err
		}
		_, err = providers.Newalicloud(ctx, "vpc00Region", &providers.alicloudArgs{
			Region: "cn-hangzhou",
		})
		if err != nil {
			return err
		}
		_, err = providers.Newalicloud(ctx, "vpc01Region", &providers.alicloudArgs{
			Region: "cn-shanghai",
		})
		if err != nil {
			return err
		}
		vpc00, err := vpc.NewNetwork(ctx, "vpc00", &vpc.NetworkArgs{
			CidrBlock: pulumi.String("172.16.0.0/12"),
		}, pulumi.Provider(alicloud.Vpc00_region))
		if err != nil {
			return err
		}
		vpc01, err := vpc.NewNetwork(ctx, "vpc01", &vpc.NetworkArgs{
			CidrBlock: pulumi.String("172.16.0.0/12"),
		}, pulumi.Provider(alicloud.Vpc01_region))
		if err != nil {
			return err
		}
		default00, err := cen.NewInstanceAttachment(ctx, "default00", &cen.InstanceAttachmentArgs{
			InstanceId:            defaultInstance.ID(),
			ChildInstanceId:       vpc00.ID(),
			ChildInstanceType:     pulumi.String("VPC"),
			ChildInstanceRegionId: pulumi.String("cn-hangzhou"),
		})
		if err != nil {
			return err
		}
		default01, err := cen.NewInstanceAttachment(ctx, "default01", &cen.InstanceAttachmentArgs{
			InstanceId:            defaultInstance.ID(),
			ChildInstanceId:       vpc01.ID(),
			ChildInstanceType:     pulumi.String("VPC"),
			ChildInstanceRegionId: pulumi.String("cn-shanghai"),
		})
		if err != nil {
			return err
		}
		_, err = cen.NewRouteMap(ctx, "defaultRouteMap", &cen.RouteMapArgs{
			CenRegionId:       pulumi.String("cn-hangzhou"),
			CenId:             pulumi.Any(alicloud_cen_instance.Cen.Id),
			Description:       pulumi.String("test-desc"),
			Priority:          pulumi.Int(1),
			TransmitDirection: pulumi.String("RegionIn"),
			MapResult:         pulumi.String("Permit"),
			NextPriority:      pulumi.Int(1),
			SourceRegionIds: pulumi.StringArray{
				pulumi.String("cn-hangzhou"),
			},
			SourceInstanceIds: pulumi.StringArray{
				vpc00.ID(),
			},
			SourceInstanceIdsReverseMatch: pulumi.Bool(false),
			DestinationInstanceIds: pulumi.StringArray{
				vpc01.ID(),
			},
			DestinationInstanceIdsReverseMatch: pulumi.Bool(false),
			SourceRouteTableIds: pulumi.StringArray{
				vpc00.RouteTableId,
			},
			DestinationRouteTableIds: pulumi.StringArray{
				vpc01.RouteTableId,
			},
			SourceChildInstanceTypes: pulumi.StringArray{
				pulumi.String("VPC"),
			},
			DestinationChildInstanceTypes: pulumi.StringArray{
				pulumi.String("VPC"),
			},
			DestinationCidrBlocks: pulumi.StringArray{
				vpc01.CidrBlock,
			},
			CidrMatchMode: pulumi.String("Include"),
			RouteTypes: pulumi.StringArray{
				pulumi.String("System"),
			},
			MatchAsns: pulumi.StringArray{
				pulumi.String("65501"),
			},
			AsPathMatchMode: pulumi.String("Include"),
			MatchCommunitySets: pulumi.StringArray{
				pulumi.String("65501:1"),
			},
			CommunityMatchMode:   pulumi.String("Include"),
			CommunityOperateMode: pulumi.String("Additive"),
			OperateCommunitySets: pulumi.StringArray{
				pulumi.String("65501:1"),
			},
			Preference: pulumi.Int(20),
			PrependAsPaths: pulumi.StringArray{
				pulumi.String("65501"),
			},
		}, pulumi.DependsOn([]pulumi.Resource{
			default00,
			default01,
		}))
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

CEN RouteMap can be imported using the id, e.g.

```sh

$ pulumi import alicloud:cen/routeMap:RouteMap default cenrmap-tig1xxxxxx

```

func GetRouteMap

func GetRouteMap(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *RouteMapState, opts ...pulumi.ResourceOption) (*RouteMap, error)

GetRouteMap gets an existing RouteMap resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewRouteMap

func NewRouteMap(ctx *pulumi.Context,
	name string, args *RouteMapArgs, opts ...pulumi.ResourceOption) (*RouteMap, error)

NewRouteMap registers a new resource with the given unique name, arguments, and options.

func (*RouteMap) ElementType

func (*RouteMap) ElementType() reflect.Type

func (*RouteMap) ToRouteMapOutput

func (i *RouteMap) ToRouteMapOutput() RouteMapOutput

func (*RouteMap) ToRouteMapOutputWithContext

func (i *RouteMap) ToRouteMapOutputWithContext(ctx context.Context) RouteMapOutput

func (*RouteMap) ToRouteMapPtrOutput

func (i *RouteMap) ToRouteMapPtrOutput() RouteMapPtrOutput

func (*RouteMap) ToRouteMapPtrOutputWithContext

func (i *RouteMap) ToRouteMapPtrOutputWithContext(ctx context.Context) RouteMapPtrOutput

type RouteMapArgs

type RouteMapArgs struct {
	// A match statement. It indicates the mode in which the AS path attribute is matched. Valid values: ["Include", "Complete"].
	AsPathMatchMode pulumi.StringPtrInput
	// The ID of the CEN instance.
	CenId pulumi.StringInput
	// The ID of the region to which the CEN instance belongs.
	CenRegionId pulumi.StringInput
	// A match statement. It indicates the mode in which the prefix attribute is matched. Valid values: ["Include", "Complete"].
	CidrMatchMode pulumi.StringPtrInput
	// A match statement. It indicates the mode in which the community attribute is matched. Valid values: ["Include", "Complete"].
	CommunityMatchMode pulumi.StringPtrInput
	// An action statement. It indicates the mode in which the community attribute is operated. Valid values: ["Additive", "Replace"].
	CommunityOperateMode pulumi.StringPtrInput
	// The description of the route map.
	Description pulumi.StringPtrInput
	// A match statement that indicates the list of destination instance types. Valid values: ["VPC", "VBR", "CCN"].
	DestinationChildInstanceTypes pulumi.StringArrayInput
	// A match statement that indicates the prefix list. The prefix is in the CIDR format. You can enter a maximum of 32 CIDR blocks.
	DestinationCidrBlocks pulumi.StringArrayInput
	// A match statement that indicates the list of IDs of the destination instances.
	DestinationInstanceIds pulumi.StringArrayInput
	// Indicates whether to enable the reverse match method for the DestinationInstanceIds match condition. Valid values: ["false", "true"]. Default to "false".
	DestinationInstanceIdsReverseMatch pulumi.BoolPtrInput
	// A match statement that indicates the list of IDs of the destination route tables. You can enter a maximum of 32 route table IDs.
	DestinationRouteTableIds pulumi.StringArrayInput
	// The action that is performed to a route if the route matches all the match conditions. Valid values: ["Permit", "Deny"].
	MapResult pulumi.StringInput
	// A match statement that indicates the AS path list. The AS path is a well-known mandatory attribute, which describes the numbers of the ASs that a BGP route passes through during transmission.
	MatchAsns pulumi.StringArrayInput
	// A match statement that indicates the community set. The format of each community is nn:nn, which ranges from 1 to 65535. You can enter a maximum of 32 communities. Communities must comply with RFC 1997. Large communities (RFC 8092) are not supported.
	MatchCommunitySets pulumi.StringArrayInput
	// The priority of the next route map that is associated with the current route map. Value range: 1 to 100.
	NextPriority pulumi.IntPtrInput
	// An action statement that operates the community attribute. The format of each community is nn:nn, which ranges from 1 to 65535. You can enter a maximum of 32 communities. Communities must comply with RFC 1997. Large communities (RFC 8092) are not supported.
	OperateCommunitySets pulumi.StringArrayInput
	// An action statement that modifies the priority of the route. Value range: 1 to 100. The default priority of a route is 50. A lower value indicates a higher preference.
	Preference pulumi.IntPtrInput
	// An action statement that indicates an AS path is prepended when the regional gateway receives or advertises a route.
	PrependAsPaths pulumi.StringArrayInput
	// The priority of the route map. Value range: 1 to 100. A lower value indicates a higher priority.
	Priority pulumi.IntInput
	// A match statement that indicates the list of route types. Valid values: ["System", "Custom", "BGP"].
	RouteTypes pulumi.StringArrayInput
	// A match statement that indicates the list of source instance types. Valid values: ["VPC", "VBR", "CCN"].
	SourceChildInstanceTypes pulumi.StringArrayInput
	// A match statement that indicates the list of IDs of the source instances.
	SourceInstanceIds pulumi.StringArrayInput
	// Indicates whether to enable the reverse match method for the SourceInstanceIds match condition. Valid values: ["false", "true"]. Default to "false".
	SourceInstanceIdsReverseMatch pulumi.BoolPtrInput
	// A match statement that indicates the list of IDs of the source regions. You can enter a maximum of 32 region IDs.
	SourceRegionIds pulumi.StringArrayInput
	// A match statement that indicates the list of IDs of the source route tables. You can enter a maximum of 32 route table IDs.
	SourceRouteTableIds pulumi.StringArrayInput
	// The direction in which the route map is applied. Valid values: ["RegionIn", "RegionOut"].
	TransmitDirection pulumi.StringInput
}

The set of arguments for constructing a RouteMap resource.

func (RouteMapArgs) ElementType

func (RouteMapArgs) ElementType() reflect.Type

type RouteMapArray

type RouteMapArray []RouteMapInput

func (RouteMapArray) ElementType

func (RouteMapArray) ElementType() reflect.Type

func (RouteMapArray) ToRouteMapArrayOutput

func (i RouteMapArray) ToRouteMapArrayOutput() RouteMapArrayOutput

func (RouteMapArray) ToRouteMapArrayOutputWithContext

func (i RouteMapArray) ToRouteMapArrayOutputWithContext(ctx context.Context) RouteMapArrayOutput

type RouteMapArrayInput

type RouteMapArrayInput interface {
	pulumi.Input

	ToRouteMapArrayOutput() RouteMapArrayOutput
	ToRouteMapArrayOutputWithContext(context.Context) RouteMapArrayOutput
}

RouteMapArrayInput is an input type that accepts RouteMapArray and RouteMapArrayOutput values. You can construct a concrete instance of `RouteMapArrayInput` via:

RouteMapArray{ RouteMapArgs{...} }

type RouteMapArrayOutput

type RouteMapArrayOutput struct{ *pulumi.OutputState }

func (RouteMapArrayOutput) ElementType

func (RouteMapArrayOutput) ElementType() reflect.Type

func (RouteMapArrayOutput) Index

func (RouteMapArrayOutput) ToRouteMapArrayOutput

func (o RouteMapArrayOutput) ToRouteMapArrayOutput() RouteMapArrayOutput

func (RouteMapArrayOutput) ToRouteMapArrayOutputWithContext

func (o RouteMapArrayOutput) ToRouteMapArrayOutputWithContext(ctx context.Context) RouteMapArrayOutput

type RouteMapInput

type RouteMapInput interface {
	pulumi.Input

	ToRouteMapOutput() RouteMapOutput
	ToRouteMapOutputWithContext(ctx context.Context) RouteMapOutput
}

type RouteMapMap

type RouteMapMap map[string]RouteMapInput

func (RouteMapMap) ElementType

func (RouteMapMap) ElementType() reflect.Type

func (RouteMapMap) ToRouteMapMapOutput

func (i RouteMapMap) ToRouteMapMapOutput() RouteMapMapOutput

func (RouteMapMap) ToRouteMapMapOutputWithContext

func (i RouteMapMap) ToRouteMapMapOutputWithContext(ctx context.Context) RouteMapMapOutput

type RouteMapMapInput

type RouteMapMapInput interface {
	pulumi.Input

	ToRouteMapMapOutput() RouteMapMapOutput
	ToRouteMapMapOutputWithContext(context.Context) RouteMapMapOutput
}

RouteMapMapInput is an input type that accepts RouteMapMap and RouteMapMapOutput values. You can construct a concrete instance of `RouteMapMapInput` via:

RouteMapMap{ "key": RouteMapArgs{...} }

type RouteMapMapOutput

type RouteMapMapOutput struct{ *pulumi.OutputState }

func (RouteMapMapOutput) ElementType

func (RouteMapMapOutput) ElementType() reflect.Type

func (RouteMapMapOutput) MapIndex

func (RouteMapMapOutput) ToRouteMapMapOutput

func (o RouteMapMapOutput) ToRouteMapMapOutput() RouteMapMapOutput

func (RouteMapMapOutput) ToRouteMapMapOutputWithContext

func (o RouteMapMapOutput) ToRouteMapMapOutputWithContext(ctx context.Context) RouteMapMapOutput

type RouteMapOutput

type RouteMapOutput struct{ *pulumi.OutputState }

func (RouteMapOutput) ElementType

func (RouteMapOutput) ElementType() reflect.Type

func (RouteMapOutput) ToRouteMapOutput

func (o RouteMapOutput) ToRouteMapOutput() RouteMapOutput

func (RouteMapOutput) ToRouteMapOutputWithContext

func (o RouteMapOutput) ToRouteMapOutputWithContext(ctx context.Context) RouteMapOutput

func (RouteMapOutput) ToRouteMapPtrOutput

func (o RouteMapOutput) ToRouteMapPtrOutput() RouteMapPtrOutput

func (RouteMapOutput) ToRouteMapPtrOutputWithContext

func (o RouteMapOutput) ToRouteMapPtrOutputWithContext(ctx context.Context) RouteMapPtrOutput

type RouteMapPtrInput

type RouteMapPtrInput interface {
	pulumi.Input

	ToRouteMapPtrOutput() RouteMapPtrOutput
	ToRouteMapPtrOutputWithContext(ctx context.Context) RouteMapPtrOutput
}

type RouteMapPtrOutput

type RouteMapPtrOutput struct{ *pulumi.OutputState }

func (RouteMapPtrOutput) Elem added in v3.9.0

func (RouteMapPtrOutput) ElementType

func (RouteMapPtrOutput) ElementType() reflect.Type

func (RouteMapPtrOutput) ToRouteMapPtrOutput

func (o RouteMapPtrOutput) ToRouteMapPtrOutput() RouteMapPtrOutput

func (RouteMapPtrOutput) ToRouteMapPtrOutputWithContext

func (o RouteMapPtrOutput) ToRouteMapPtrOutputWithContext(ctx context.Context) RouteMapPtrOutput

type RouteMapState

type RouteMapState struct {
	// A match statement. It indicates the mode in which the AS path attribute is matched. Valid values: ["Include", "Complete"].
	AsPathMatchMode pulumi.StringPtrInput
	// The ID of the CEN instance.
	CenId pulumi.StringPtrInput
	// The ID of the region to which the CEN instance belongs.
	CenRegionId pulumi.StringPtrInput
	// A match statement. It indicates the mode in which the prefix attribute is matched. Valid values: ["Include", "Complete"].
	CidrMatchMode pulumi.StringPtrInput
	// A match statement. It indicates the mode in which the community attribute is matched. Valid values: ["Include", "Complete"].
	CommunityMatchMode pulumi.StringPtrInput
	// An action statement. It indicates the mode in which the community attribute is operated. Valid values: ["Additive", "Replace"].
	CommunityOperateMode pulumi.StringPtrInput
	// The description of the route map.
	Description pulumi.StringPtrInput
	// A match statement that indicates the list of destination instance types. Valid values: ["VPC", "VBR", "CCN"].
	DestinationChildInstanceTypes pulumi.StringArrayInput
	// A match statement that indicates the prefix list. The prefix is in the CIDR format. You can enter a maximum of 32 CIDR blocks.
	DestinationCidrBlocks pulumi.StringArrayInput
	// A match statement that indicates the list of IDs of the destination instances.
	DestinationInstanceIds pulumi.StringArrayInput
	// Indicates whether to enable the reverse match method for the DestinationInstanceIds match condition. Valid values: ["false", "true"]. Default to "false".
	DestinationInstanceIdsReverseMatch pulumi.BoolPtrInput
	// A match statement that indicates the list of IDs of the destination route tables. You can enter a maximum of 32 route table IDs.
	DestinationRouteTableIds pulumi.StringArrayInput
	// The action that is performed to a route if the route matches all the match conditions. Valid values: ["Permit", "Deny"].
	MapResult pulumi.StringPtrInput
	// A match statement that indicates the AS path list. The AS path is a well-known mandatory attribute, which describes the numbers of the ASs that a BGP route passes through during transmission.
	MatchAsns pulumi.StringArrayInput
	// A match statement that indicates the community set. The format of each community is nn:nn, which ranges from 1 to 65535. You can enter a maximum of 32 communities. Communities must comply with RFC 1997. Large communities (RFC 8092) are not supported.
	MatchCommunitySets pulumi.StringArrayInput
	// The priority of the next route map that is associated with the current route map. Value range: 1 to 100.
	NextPriority pulumi.IntPtrInput
	// An action statement that operates the community attribute. The format of each community is nn:nn, which ranges from 1 to 65535. You can enter a maximum of 32 communities. Communities must comply with RFC 1997. Large communities (RFC 8092) are not supported.
	OperateCommunitySets pulumi.StringArrayInput
	// An action statement that modifies the priority of the route. Value range: 1 to 100. The default priority of a route is 50. A lower value indicates a higher preference.
	Preference pulumi.IntPtrInput
	// An action statement that indicates an AS path is prepended when the regional gateway receives or advertises a route.
	PrependAsPaths pulumi.StringArrayInput
	// The priority of the route map. Value range: 1 to 100. A lower value indicates a higher priority.
	Priority   pulumi.IntPtrInput
	RouteMapId pulumi.StringPtrInput
	// A match statement that indicates the list of route types. Valid values: ["System", "Custom", "BGP"].
	RouteTypes pulumi.StringArrayInput
	// A match statement that indicates the list of source instance types. Valid values: ["VPC", "VBR", "CCN"].
	SourceChildInstanceTypes pulumi.StringArrayInput
	// A match statement that indicates the list of IDs of the source instances.
	SourceInstanceIds pulumi.StringArrayInput
	// Indicates whether to enable the reverse match method for the SourceInstanceIds match condition. Valid values: ["false", "true"]. Default to "false".
	SourceInstanceIdsReverseMatch pulumi.BoolPtrInput
	// A match statement that indicates the list of IDs of the source regions. You can enter a maximum of 32 region IDs.
	SourceRegionIds pulumi.StringArrayInput
	// A match statement that indicates the list of IDs of the source route tables. You can enter a maximum of 32 route table IDs.
	SourceRouteTableIds pulumi.StringArrayInput
	// (Computed) The status of route map. Valid values: ["Creating", "Active", "Deleting"].
	Status pulumi.StringPtrInput
	// The direction in which the route map is applied. Valid values: ["RegionIn", "RegionOut"].
	TransmitDirection pulumi.StringPtrInput
}

func (RouteMapState) ElementType

func (RouteMapState) ElementType() reflect.Type

type RouteService

type RouteService struct {
	pulumi.CustomResourceState

	// The region of the network instances that access the cloud services.
	AccessRegionId pulumi.StringOutput `pulumi:"accessRegionId"`
	// The ID of the CEN instance.
	CenId pulumi.StringOutput `pulumi:"cenId"`
	// The description of the cloud service.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The domain name or IP address of the cloud service.
	Host pulumi.StringOutput `pulumi:"host"`
	// The region of the cloud service.
	HostRegionId pulumi.StringOutput `pulumi:"hostRegionId"`
	// The VPC associated with the cloud service.
	HostVpcId pulumi.StringOutput `pulumi:"hostVpcId"`
	// The status of the cloud service.
	Status pulumi.StringOutput `pulumi:"status"`
}

Provides a CEN Route Service resource. The virtual border routers (VBRs) and Cloud Connect Network (CCN) instances attached to Cloud Enterprise Network (CEN) instances can access the cloud services deployed in VPCs through the CEN instances.

For information about CEN Route Service and how to use it, see [What is Route Service](https://www.alibabacloud.com/help/en/doc-detail/106671.htm).

> **NOTE:** Available in v1.99.0+.

> **NOTE:** Ensure that at least one VPC in the selected region is attached to the CEN instance.

## Example Usage

Basic Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/cen"
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/vpc"
"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 := "tf-test"
		if param := cfg.Get("name"); param != "" {
			name = param
		}
		opt0 := true
		exampleNetworks, err := vpc.GetNetworks(ctx, &vpc.GetNetworksArgs{
			IsDefault: &opt0,
		}, nil)
		if err != nil {
			return err
		}
		exampleInstance, err := cen.NewInstance(ctx, "exampleInstance", nil)
		if err != nil {
			return err
		}
		vpc, err := cen.NewInstanceAttachment(ctx, "vpc", &cen.InstanceAttachmentArgs{
			InstanceId:            exampleInstance.ID(),
			ChildInstanceId:       pulumi.String(exampleNetworks.Vpcs[0].Id),
			ChildInstanceType:     pulumi.String("VPC"),
			ChildInstanceRegionId: pulumi.String(exampleNetworks.Vpcs[0].RegionId),
		})
		if err != nil {
			return err
		}
		_, err = cen.NewRouteService(ctx, "this", &cen.RouteServiceArgs{
			AccessRegionId: pulumi.String(exampleNetworks.Vpcs[0].RegionId),
			HostRegionId:   pulumi.String(exampleNetworks.Vpcs[0].RegionId),
			HostVpcId:      pulumi.String(exampleNetworks.Vpcs[0].Id),
			CenId:          vpc.InstanceId,
			Host:           pulumi.String("100.118.28.52/32"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

CEN Route Service can be imported using the id, e.g.

```sh

$ pulumi import alicloud:cen/routeService:RouteService example cen-ahixm0efqh********:cn-shanghai:100.118.28.52/32:cn-shanghai

```

func GetRouteService

func GetRouteService(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *RouteServiceState, opts ...pulumi.ResourceOption) (*RouteService, error)

GetRouteService gets an existing RouteService resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewRouteService

func NewRouteService(ctx *pulumi.Context,
	name string, args *RouteServiceArgs, opts ...pulumi.ResourceOption) (*RouteService, error)

NewRouteService registers a new resource with the given unique name, arguments, and options.

func (*RouteService) ElementType

func (*RouteService) ElementType() reflect.Type

func (*RouteService) ToRouteServiceOutput

func (i *RouteService) ToRouteServiceOutput() RouteServiceOutput

func (*RouteService) ToRouteServiceOutputWithContext

func (i *RouteService) ToRouteServiceOutputWithContext(ctx context.Context) RouteServiceOutput

func (*RouteService) ToRouteServicePtrOutput

func (i *RouteService) ToRouteServicePtrOutput() RouteServicePtrOutput

func (*RouteService) ToRouteServicePtrOutputWithContext

func (i *RouteService) ToRouteServicePtrOutputWithContext(ctx context.Context) RouteServicePtrOutput

type RouteServiceArgs

type RouteServiceArgs struct {
	// The region of the network instances that access the cloud services.
	AccessRegionId pulumi.StringInput
	// The ID of the CEN instance.
	CenId pulumi.StringInput
	// The description of the cloud service.
	Description pulumi.StringPtrInput
	// The domain name or IP address of the cloud service.
	Host pulumi.StringInput
	// The region of the cloud service.
	HostRegionId pulumi.StringInput
	// The VPC associated with the cloud service.
	HostVpcId pulumi.StringInput
}

The set of arguments for constructing a RouteService resource.

func (RouteServiceArgs) ElementType

func (RouteServiceArgs) ElementType() reflect.Type

type RouteServiceArray

type RouteServiceArray []RouteServiceInput

func (RouteServiceArray) ElementType

func (RouteServiceArray) ElementType() reflect.Type

func (RouteServiceArray) ToRouteServiceArrayOutput

func (i RouteServiceArray) ToRouteServiceArrayOutput() RouteServiceArrayOutput

func (RouteServiceArray) ToRouteServiceArrayOutputWithContext

func (i RouteServiceArray) ToRouteServiceArrayOutputWithContext(ctx context.Context) RouteServiceArrayOutput

type RouteServiceArrayInput

type RouteServiceArrayInput interface {
	pulumi.Input

	ToRouteServiceArrayOutput() RouteServiceArrayOutput
	ToRouteServiceArrayOutputWithContext(context.Context) RouteServiceArrayOutput
}

RouteServiceArrayInput is an input type that accepts RouteServiceArray and RouteServiceArrayOutput values. You can construct a concrete instance of `RouteServiceArrayInput` via:

RouteServiceArray{ RouteServiceArgs{...} }

type RouteServiceArrayOutput

type RouteServiceArrayOutput struct{ *pulumi.OutputState }

func (RouteServiceArrayOutput) ElementType

func (RouteServiceArrayOutput) ElementType() reflect.Type

func (RouteServiceArrayOutput) Index

func (RouteServiceArrayOutput) ToRouteServiceArrayOutput

func (o RouteServiceArrayOutput) ToRouteServiceArrayOutput() RouteServiceArrayOutput

func (RouteServiceArrayOutput) ToRouteServiceArrayOutputWithContext

func (o RouteServiceArrayOutput) ToRouteServiceArrayOutputWithContext(ctx context.Context) RouteServiceArrayOutput

type RouteServiceInput

type RouteServiceInput interface {
	pulumi.Input

	ToRouteServiceOutput() RouteServiceOutput
	ToRouteServiceOutputWithContext(ctx context.Context) RouteServiceOutput
}

type RouteServiceMap

type RouteServiceMap map[string]RouteServiceInput

func (RouteServiceMap) ElementType

func (RouteServiceMap) ElementType() reflect.Type

func (RouteServiceMap) ToRouteServiceMapOutput

func (i RouteServiceMap) ToRouteServiceMapOutput() RouteServiceMapOutput

func (RouteServiceMap) ToRouteServiceMapOutputWithContext

func (i RouteServiceMap) ToRouteServiceMapOutputWithContext(ctx context.Context) RouteServiceMapOutput

type RouteServiceMapInput

type RouteServiceMapInput interface {
	pulumi.Input

	ToRouteServiceMapOutput() RouteServiceMapOutput
	ToRouteServiceMapOutputWithContext(context.Context) RouteServiceMapOutput
}

RouteServiceMapInput is an input type that accepts RouteServiceMap and RouteServiceMapOutput values. You can construct a concrete instance of `RouteServiceMapInput` via:

RouteServiceMap{ "key": RouteServiceArgs{...} }

type RouteServiceMapOutput

type RouteServiceMapOutput struct{ *pulumi.OutputState }

func (RouteServiceMapOutput) ElementType

func (RouteServiceMapOutput) ElementType() reflect.Type

func (RouteServiceMapOutput) MapIndex

func (RouteServiceMapOutput) ToRouteServiceMapOutput

func (o RouteServiceMapOutput) ToRouteServiceMapOutput() RouteServiceMapOutput

func (RouteServiceMapOutput) ToRouteServiceMapOutputWithContext

func (o RouteServiceMapOutput) ToRouteServiceMapOutputWithContext(ctx context.Context) RouteServiceMapOutput

type RouteServiceOutput

type RouteServiceOutput struct{ *pulumi.OutputState }

func (RouteServiceOutput) ElementType

func (RouteServiceOutput) ElementType() reflect.Type

func (RouteServiceOutput) ToRouteServiceOutput

func (o RouteServiceOutput) ToRouteServiceOutput() RouteServiceOutput

func (RouteServiceOutput) ToRouteServiceOutputWithContext

func (o RouteServiceOutput) ToRouteServiceOutputWithContext(ctx context.Context) RouteServiceOutput

func (RouteServiceOutput) ToRouteServicePtrOutput

func (o RouteServiceOutput) ToRouteServicePtrOutput() RouteServicePtrOutput

func (RouteServiceOutput) ToRouteServicePtrOutputWithContext

func (o RouteServiceOutput) ToRouteServicePtrOutputWithContext(ctx context.Context) RouteServicePtrOutput

type RouteServicePtrInput

type RouteServicePtrInput interface {
	pulumi.Input

	ToRouteServicePtrOutput() RouteServicePtrOutput
	ToRouteServicePtrOutputWithContext(ctx context.Context) RouteServicePtrOutput
}

type RouteServicePtrOutput

type RouteServicePtrOutput struct{ *pulumi.OutputState }

func (RouteServicePtrOutput) Elem added in v3.9.0

func (RouteServicePtrOutput) ElementType

func (RouteServicePtrOutput) ElementType() reflect.Type

func (RouteServicePtrOutput) ToRouteServicePtrOutput

func (o RouteServicePtrOutput) ToRouteServicePtrOutput() RouteServicePtrOutput

func (RouteServicePtrOutput) ToRouteServicePtrOutputWithContext

func (o RouteServicePtrOutput) ToRouteServicePtrOutputWithContext(ctx context.Context) RouteServicePtrOutput

type RouteServiceState

type RouteServiceState struct {
	// The region of the network instances that access the cloud services.
	AccessRegionId pulumi.StringPtrInput
	// The ID of the CEN instance.
	CenId pulumi.StringPtrInput
	// The description of the cloud service.
	Description pulumi.StringPtrInput
	// The domain name or IP address of the cloud service.
	Host pulumi.StringPtrInput
	// The region of the cloud service.
	HostRegionId pulumi.StringPtrInput
	// The VPC associated with the cloud service.
	HostVpcId pulumi.StringPtrInput
	// The status of the cloud service.
	Status pulumi.StringPtrInput
}

func (RouteServiceState) ElementType

func (RouteServiceState) ElementType() reflect.Type

type TransitRouter added in v3.4.0

type TransitRouter struct {
	pulumi.CustomResourceState

	// The ID of the CEN.
	CenId pulumi.StringOutput `pulumi:"cenId"`
	// The dry run.
	DryRun pulumi.BoolPtrOutput `pulumi:"dryRun"`
	// The associating status of the Transit Router.
	Status pulumi.StringOutput `pulumi:"status"`
	// The description of the transit router.
	TransitRouterDescription pulumi.StringPtrOutput `pulumi:"transitRouterDescription"`
	TransitRouterId          pulumi.StringOutput    `pulumi:"transitRouterId"`
	// The name of the transit router.
	TransitRouterName pulumi.StringPtrOutput `pulumi:"transitRouterName"`
	// The Type of the Transit Router. Valid values: `Enterprise`, `Basic`.
	Type pulumi.StringOutput `pulumi:"type"`
}

Provides a CEN transit router resource that associate the transitRouter with the CEN instance.[What is Cen Transit Router](https://help.aliyun.com/document_detail/261169.html)

> **NOTE:** Available in 1.126.0+

## Import

CEN instance can be imported using the id, e.g.

```sh

$ pulumi import alicloud:cen/transitRouter:TransitRouter default cen-*****:tr-*******

```

func GetTransitRouter added in v3.4.0

func GetTransitRouter(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *TransitRouterState, opts ...pulumi.ResourceOption) (*TransitRouter, error)

GetTransitRouter gets an existing TransitRouter resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewTransitRouter added in v3.4.0

func NewTransitRouter(ctx *pulumi.Context,
	name string, args *TransitRouterArgs, opts ...pulumi.ResourceOption) (*TransitRouter, error)

NewTransitRouter registers a new resource with the given unique name, arguments, and options.

func (*TransitRouter) ElementType added in v3.4.0

func (*TransitRouter) ElementType() reflect.Type

func (*TransitRouter) ToTransitRouterOutput added in v3.4.0

func (i *TransitRouter) ToTransitRouterOutput() TransitRouterOutput

func (*TransitRouter) ToTransitRouterOutputWithContext added in v3.4.0

func (i *TransitRouter) ToTransitRouterOutputWithContext(ctx context.Context) TransitRouterOutput

func (*TransitRouter) ToTransitRouterPtrOutput added in v3.4.0

func (i *TransitRouter) ToTransitRouterPtrOutput() TransitRouterPtrOutput

func (*TransitRouter) ToTransitRouterPtrOutputWithContext added in v3.4.0

func (i *TransitRouter) ToTransitRouterPtrOutputWithContext(ctx context.Context) TransitRouterPtrOutput

type TransitRouterArgs added in v3.4.0

type TransitRouterArgs struct {
	// The ID of the CEN.
	CenId pulumi.StringInput
	// The dry run.
	DryRun pulumi.BoolPtrInput
	// The description of the transit router.
	TransitRouterDescription pulumi.StringPtrInput
	// The name of the transit router.
	TransitRouterName pulumi.StringPtrInput
}

The set of arguments for constructing a TransitRouter resource.

func (TransitRouterArgs) ElementType added in v3.4.0

func (TransitRouterArgs) ElementType() reflect.Type

type TransitRouterArray added in v3.4.0

type TransitRouterArray []TransitRouterInput

func (TransitRouterArray) ElementType added in v3.4.0

func (TransitRouterArray) ElementType() reflect.Type

func (TransitRouterArray) ToTransitRouterArrayOutput added in v3.4.0

func (i TransitRouterArray) ToTransitRouterArrayOutput() TransitRouterArrayOutput

func (TransitRouterArray) ToTransitRouterArrayOutputWithContext added in v3.4.0

func (i TransitRouterArray) ToTransitRouterArrayOutputWithContext(ctx context.Context) TransitRouterArrayOutput

type TransitRouterArrayInput added in v3.4.0

type TransitRouterArrayInput interface {
	pulumi.Input

	ToTransitRouterArrayOutput() TransitRouterArrayOutput
	ToTransitRouterArrayOutputWithContext(context.Context) TransitRouterArrayOutput
}

TransitRouterArrayInput is an input type that accepts TransitRouterArray and TransitRouterArrayOutput values. You can construct a concrete instance of `TransitRouterArrayInput` via:

TransitRouterArray{ TransitRouterArgs{...} }

type TransitRouterArrayOutput added in v3.4.0

type TransitRouterArrayOutput struct{ *pulumi.OutputState }

func (TransitRouterArrayOutput) ElementType added in v3.4.0

func (TransitRouterArrayOutput) ElementType() reflect.Type

func (TransitRouterArrayOutput) Index added in v3.4.0

func (TransitRouterArrayOutput) ToTransitRouterArrayOutput added in v3.4.0

func (o TransitRouterArrayOutput) ToTransitRouterArrayOutput() TransitRouterArrayOutput

func (TransitRouterArrayOutput) ToTransitRouterArrayOutputWithContext added in v3.4.0

func (o TransitRouterArrayOutput) ToTransitRouterArrayOutputWithContext(ctx context.Context) TransitRouterArrayOutput

type TransitRouterInput added in v3.4.0

type TransitRouterInput interface {
	pulumi.Input

	ToTransitRouterOutput() TransitRouterOutput
	ToTransitRouterOutputWithContext(ctx context.Context) TransitRouterOutput
}

type TransitRouterMap added in v3.4.0

type TransitRouterMap map[string]TransitRouterInput

func (TransitRouterMap) ElementType added in v3.4.0

func (TransitRouterMap) ElementType() reflect.Type

func (TransitRouterMap) ToTransitRouterMapOutput added in v3.4.0

func (i TransitRouterMap) ToTransitRouterMapOutput() TransitRouterMapOutput

func (TransitRouterMap) ToTransitRouterMapOutputWithContext added in v3.4.0

func (i TransitRouterMap) ToTransitRouterMapOutputWithContext(ctx context.Context) TransitRouterMapOutput

type TransitRouterMapInput added in v3.4.0

type TransitRouterMapInput interface {
	pulumi.Input

	ToTransitRouterMapOutput() TransitRouterMapOutput
	ToTransitRouterMapOutputWithContext(context.Context) TransitRouterMapOutput
}

TransitRouterMapInput is an input type that accepts TransitRouterMap and TransitRouterMapOutput values. You can construct a concrete instance of `TransitRouterMapInput` via:

TransitRouterMap{ "key": TransitRouterArgs{...} }

type TransitRouterMapOutput added in v3.4.0

type TransitRouterMapOutput struct{ *pulumi.OutputState }

func (TransitRouterMapOutput) ElementType added in v3.4.0

func (TransitRouterMapOutput) ElementType() reflect.Type

func (TransitRouterMapOutput) MapIndex added in v3.4.0

func (TransitRouterMapOutput) ToTransitRouterMapOutput added in v3.4.0

func (o TransitRouterMapOutput) ToTransitRouterMapOutput() TransitRouterMapOutput

func (TransitRouterMapOutput) ToTransitRouterMapOutputWithContext added in v3.4.0

func (o TransitRouterMapOutput) ToTransitRouterMapOutputWithContext(ctx context.Context) TransitRouterMapOutput

type TransitRouterOutput added in v3.4.0

type TransitRouterOutput struct{ *pulumi.OutputState }

func (TransitRouterOutput) ElementType added in v3.4.0

func (TransitRouterOutput) ElementType() reflect.Type

func (TransitRouterOutput) ToTransitRouterOutput added in v3.4.0

func (o TransitRouterOutput) ToTransitRouterOutput() TransitRouterOutput

func (TransitRouterOutput) ToTransitRouterOutputWithContext added in v3.4.0

func (o TransitRouterOutput) ToTransitRouterOutputWithContext(ctx context.Context) TransitRouterOutput

func (TransitRouterOutput) ToTransitRouterPtrOutput added in v3.4.0

func (o TransitRouterOutput) ToTransitRouterPtrOutput() TransitRouterPtrOutput

func (TransitRouterOutput) ToTransitRouterPtrOutputWithContext added in v3.4.0

func (o TransitRouterOutput) ToTransitRouterPtrOutputWithContext(ctx context.Context) TransitRouterPtrOutput

type TransitRouterPeerAttachment added in v3.5.0

type TransitRouterPeerAttachment struct {
	pulumi.CustomResourceState

	// Auto publish route enabled. The system default value is `false`.
	AutoPublishRouteEnabled pulumi.BoolPtrOutput `pulumi:"autoPublishRouteEnabled"`
	// The bandwidth of the bandwidth package.
	Bandwidth pulumi.IntPtrOutput `pulumi:"bandwidth"`
	// The ID of the bandwidth package. If you do not enter the ID of the package, it means you are using the test. The system default test is 1bps, demonstrating that you test network connectivity
	CenBandwidthPackageId pulumi.StringPtrOutput `pulumi:"cenBandwidthPackageId"`
	// The ID of the CEN.
	CenId pulumi.StringOutput `pulumi:"cenId"`
	// Whether to perform pre-check for this request, including permission, instance status verification, etc.
	DryRun pulumi.BoolPtrOutput `pulumi:"dryRun"`
	// The ID of the peer transit router.
	PeerTransitRouterId pulumi.StringOutput `pulumi:"peerTransitRouterId"`
	// The region ID of peer transit router.
	PeerTransitRouterRegionId pulumi.StringOutput `pulumi:"peerTransitRouterRegionId"`
	// The resource type to attachment. Only support `VR` and default value is `VR`.
	ResourceType pulumi.StringPtrOutput `pulumi:"resourceType"`
	// Whether to association route table. System default is `false`.
	RouteTableAssociationEnabled pulumi.BoolPtrOutput `pulumi:"routeTableAssociationEnabled"`
	// Whether to propagation route table. System default is `false`.
	RouteTablePropagationEnabled pulumi.BoolPtrOutput `pulumi:"routeTablePropagationEnabled"`
	// The associating status of the network.
	Status pulumi.StringOutput `pulumi:"status"`
	// The description of transit router attachment. The description is 2~256 characters long and must start with a letter or Chinese, but cannot start with `http://` or `https://`.
	TransitRouterAttachmentDescription pulumi.StringPtrOutput `pulumi:"transitRouterAttachmentDescription"`
	// The ID of transit router attachment id.
	TransitRouterAttachmentId pulumi.StringOutput `pulumi:"transitRouterAttachmentId"`
	// The name of transit router attachment. The name is 2~128 characters in length, starts with uppercase and lowercase letters or Chinese, and can contain numbers, underscores (_) and dashes (-)
	TransitRouterAttachmentName pulumi.StringPtrOutput `pulumi:"transitRouterAttachmentName"`
	// The ID of the transit router to attach.
	TransitRouterId pulumi.StringPtrOutput `pulumi:"transitRouterId"`
}

Provides a CEN transit router peer attachment resource that associate the transit router with the CEN instance. [What is CEN transit router peer attachment](https://help.aliyun.com/document_detail/261363.html)

> **NOTE:** Available in 1.128.0+

## Example Usage

Basic Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/cen"
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/providers"
"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 := "tf-testAcccExample"
		if param := cfg.Get("name"); param != "" {
			name = param
		}
		_, err := providers.Newalicloud(ctx, "us", &providers.alicloudArgs{
			Region: "us-east-1",
		})
		if err != nil {
			return err
		}
		_, err = providers.Newalicloud(ctx, "cn", &providers.alicloudArgs{
			Region: "cn-hangzhou",
		})
		if err != nil {
			return err
		}
		defaultInstance, err := cen.NewInstance(ctx, "defaultInstance", &cen.InstanceArgs{
			CenInstanceName: pulumi.String(name),
			ProtectionLevel: pulumi.String("REDUCED"),
		}, pulumi.Provider(alicloud.Cn))
		if err != nil {
			return err
		}
		defaultBandwidthPackage, err := cen.NewBandwidthPackage(ctx, "defaultBandwidthPackage", &cen.BandwidthPackageArgs{
			Bandwidth:               pulumi.Int(5),
			CenBandwidthPackageName: pulumi.String(name),
			GeographicRegionAId:     pulumi.String("China"),
			GeographicRegionBId:     pulumi.String("North-America"),
		})
		if err != nil {
			return err
		}
		defaultBandwidthPackageAttachment, err := cen.NewBandwidthPackageAttachment(ctx, "defaultBandwidthPackageAttachment", &cen.BandwidthPackageAttachmentArgs{
			InstanceId:         defaultInstance.ID(),
			BandwidthPackageId: defaultBandwidthPackage.ID(),
		}, pulumi.Provider(alicloud.Cn))
		if err != nil {
			return err
		}
		cnTransitRouter, err := cen.NewTransitRouter(ctx, "cnTransitRouter", &cen.TransitRouterArgs{
			CenId: defaultInstance.ID(),
		}, pulumi.Provider(alicloud.Cn), pulumi.DependsOn([]pulumi.Resource{
			defaultBandwidthPackageAttachment,
		}))
		if err != nil {
			return err
		}
		usTransitRouter, err := cen.NewTransitRouter(ctx, "usTransitRouter", &cen.TransitRouterArgs{
			CenId: defaultInstance.ID(),
		}, pulumi.Provider(alicloud.Us), pulumi.DependsOn([]pulumi.Resource{
			alicloud_cen_transit_router.Default_0,
		}))
		if err != nil {
			return err
		}
		_, err = cen.NewTransitRouterPeerAttachment(ctx, "defaultTransitRouterPeerAttachment", &cen.TransitRouterPeerAttachmentArgs{
			CenId:                              defaultInstance.ID(),
			TransitRouterId:                    cnTransitRouter.TransitRouterId,
			PeerTransitRouterRegionId:          pulumi.String("us-east-1"),
			PeerTransitRouterId:                usTransitRouter.TransitRouterId,
			CenBandwidthPackageId:              defaultBandwidthPackageAttachment.BandwidthPackageId,
			Bandwidth:                          pulumi.Int(5),
			TransitRouterAttachmentDescription: pulumi.String(name),
			TransitRouterAttachmentName:        pulumi.String(name),
		}, pulumi.Provider(alicloud.Cn))
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

CEN instance can be imported using the id, e.g.

```sh

$ pulumi import alicloud:cen/transitRouterPeerAttachment:TransitRouterPeerAttachment example tr-********:tr-attach-*******

```

func GetTransitRouterPeerAttachment added in v3.5.0

func GetTransitRouterPeerAttachment(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *TransitRouterPeerAttachmentState, opts ...pulumi.ResourceOption) (*TransitRouterPeerAttachment, error)

GetTransitRouterPeerAttachment gets an existing TransitRouterPeerAttachment resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewTransitRouterPeerAttachment added in v3.5.0

func NewTransitRouterPeerAttachment(ctx *pulumi.Context,
	name string, args *TransitRouterPeerAttachmentArgs, opts ...pulumi.ResourceOption) (*TransitRouterPeerAttachment, error)

NewTransitRouterPeerAttachment registers a new resource with the given unique name, arguments, and options.

func (*TransitRouterPeerAttachment) ElementType added in v3.5.0

func (*TransitRouterPeerAttachment) ElementType() reflect.Type

func (*TransitRouterPeerAttachment) ToTransitRouterPeerAttachmentOutput added in v3.5.0

func (i *TransitRouterPeerAttachment) ToTransitRouterPeerAttachmentOutput() TransitRouterPeerAttachmentOutput

func (*TransitRouterPeerAttachment) ToTransitRouterPeerAttachmentOutputWithContext added in v3.5.0

func (i *TransitRouterPeerAttachment) ToTransitRouterPeerAttachmentOutputWithContext(ctx context.Context) TransitRouterPeerAttachmentOutput

func (*TransitRouterPeerAttachment) ToTransitRouterPeerAttachmentPtrOutput added in v3.5.0

func (i *TransitRouterPeerAttachment) ToTransitRouterPeerAttachmentPtrOutput() TransitRouterPeerAttachmentPtrOutput

func (*TransitRouterPeerAttachment) ToTransitRouterPeerAttachmentPtrOutputWithContext added in v3.5.0

func (i *TransitRouterPeerAttachment) ToTransitRouterPeerAttachmentPtrOutputWithContext(ctx context.Context) TransitRouterPeerAttachmentPtrOutput

type TransitRouterPeerAttachmentArgs added in v3.5.0

type TransitRouterPeerAttachmentArgs struct {
	// Auto publish route enabled. The system default value is `false`.
	AutoPublishRouteEnabled pulumi.BoolPtrInput
	// The bandwidth of the bandwidth package.
	Bandwidth pulumi.IntPtrInput
	// The ID of the bandwidth package. If you do not enter the ID of the package, it means you are using the test. The system default test is 1bps, demonstrating that you test network connectivity
	CenBandwidthPackageId pulumi.StringPtrInput
	// The ID of the CEN.
	CenId pulumi.StringInput
	// Whether to perform pre-check for this request, including permission, instance status verification, etc.
	DryRun pulumi.BoolPtrInput
	// The ID of the peer transit router.
	PeerTransitRouterId pulumi.StringInput
	// The region ID of peer transit router.
	PeerTransitRouterRegionId pulumi.StringInput
	// The resource type to attachment. Only support `VR` and default value is `VR`.
	ResourceType pulumi.StringPtrInput
	// Whether to association route table. System default is `false`.
	RouteTableAssociationEnabled pulumi.BoolPtrInput
	// Whether to propagation route table. System default is `false`.
	RouteTablePropagationEnabled pulumi.BoolPtrInput
	// The description of transit router attachment. The description is 2~256 characters long and must start with a letter or Chinese, but cannot start with `http://` or `https://`.
	TransitRouterAttachmentDescription pulumi.StringPtrInput
	// The name of transit router attachment. The name is 2~128 characters in length, starts with uppercase and lowercase letters or Chinese, and can contain numbers, underscores (_) and dashes (-)
	TransitRouterAttachmentName pulumi.StringPtrInput
	// The ID of the transit router to attach.
	TransitRouterId pulumi.StringPtrInput
}

The set of arguments for constructing a TransitRouterPeerAttachment resource.

func (TransitRouterPeerAttachmentArgs) ElementType added in v3.5.0

type TransitRouterPeerAttachmentArray added in v3.5.0

type TransitRouterPeerAttachmentArray []TransitRouterPeerAttachmentInput

func (TransitRouterPeerAttachmentArray) ElementType added in v3.5.0

func (TransitRouterPeerAttachmentArray) ToTransitRouterPeerAttachmentArrayOutput added in v3.5.0

func (i TransitRouterPeerAttachmentArray) ToTransitRouterPeerAttachmentArrayOutput() TransitRouterPeerAttachmentArrayOutput

func (TransitRouterPeerAttachmentArray) ToTransitRouterPeerAttachmentArrayOutputWithContext added in v3.5.0

func (i TransitRouterPeerAttachmentArray) ToTransitRouterPeerAttachmentArrayOutputWithContext(ctx context.Context) TransitRouterPeerAttachmentArrayOutput

type TransitRouterPeerAttachmentArrayInput added in v3.5.0

type TransitRouterPeerAttachmentArrayInput interface {
	pulumi.Input

	ToTransitRouterPeerAttachmentArrayOutput() TransitRouterPeerAttachmentArrayOutput
	ToTransitRouterPeerAttachmentArrayOutputWithContext(context.Context) TransitRouterPeerAttachmentArrayOutput
}

TransitRouterPeerAttachmentArrayInput is an input type that accepts TransitRouterPeerAttachmentArray and TransitRouterPeerAttachmentArrayOutput values. You can construct a concrete instance of `TransitRouterPeerAttachmentArrayInput` via:

TransitRouterPeerAttachmentArray{ TransitRouterPeerAttachmentArgs{...} }

type TransitRouterPeerAttachmentArrayOutput added in v3.5.0

type TransitRouterPeerAttachmentArrayOutput struct{ *pulumi.OutputState }

func (TransitRouterPeerAttachmentArrayOutput) ElementType added in v3.5.0

func (TransitRouterPeerAttachmentArrayOutput) Index added in v3.5.0

func (TransitRouterPeerAttachmentArrayOutput) ToTransitRouterPeerAttachmentArrayOutput added in v3.5.0

func (o TransitRouterPeerAttachmentArrayOutput) ToTransitRouterPeerAttachmentArrayOutput() TransitRouterPeerAttachmentArrayOutput

func (TransitRouterPeerAttachmentArrayOutput) ToTransitRouterPeerAttachmentArrayOutputWithContext added in v3.5.0

func (o TransitRouterPeerAttachmentArrayOutput) ToTransitRouterPeerAttachmentArrayOutputWithContext(ctx context.Context) TransitRouterPeerAttachmentArrayOutput

type TransitRouterPeerAttachmentInput added in v3.5.0

type TransitRouterPeerAttachmentInput interface {
	pulumi.Input

	ToTransitRouterPeerAttachmentOutput() TransitRouterPeerAttachmentOutput
	ToTransitRouterPeerAttachmentOutputWithContext(ctx context.Context) TransitRouterPeerAttachmentOutput
}

type TransitRouterPeerAttachmentMap added in v3.5.0

type TransitRouterPeerAttachmentMap map[string]TransitRouterPeerAttachmentInput

func (TransitRouterPeerAttachmentMap) ElementType added in v3.5.0

func (TransitRouterPeerAttachmentMap) ToTransitRouterPeerAttachmentMapOutput added in v3.5.0

func (i TransitRouterPeerAttachmentMap) ToTransitRouterPeerAttachmentMapOutput() TransitRouterPeerAttachmentMapOutput

func (TransitRouterPeerAttachmentMap) ToTransitRouterPeerAttachmentMapOutputWithContext added in v3.5.0

func (i TransitRouterPeerAttachmentMap) ToTransitRouterPeerAttachmentMapOutputWithContext(ctx context.Context) TransitRouterPeerAttachmentMapOutput

type TransitRouterPeerAttachmentMapInput added in v3.5.0

type TransitRouterPeerAttachmentMapInput interface {
	pulumi.Input

	ToTransitRouterPeerAttachmentMapOutput() TransitRouterPeerAttachmentMapOutput
	ToTransitRouterPeerAttachmentMapOutputWithContext(context.Context) TransitRouterPeerAttachmentMapOutput
}

TransitRouterPeerAttachmentMapInput is an input type that accepts TransitRouterPeerAttachmentMap and TransitRouterPeerAttachmentMapOutput values. You can construct a concrete instance of `TransitRouterPeerAttachmentMapInput` via:

TransitRouterPeerAttachmentMap{ "key": TransitRouterPeerAttachmentArgs{...} }

type TransitRouterPeerAttachmentMapOutput added in v3.5.0

type TransitRouterPeerAttachmentMapOutput struct{ *pulumi.OutputState }

func (TransitRouterPeerAttachmentMapOutput) ElementType added in v3.5.0

func (TransitRouterPeerAttachmentMapOutput) MapIndex added in v3.5.0

func (TransitRouterPeerAttachmentMapOutput) ToTransitRouterPeerAttachmentMapOutput added in v3.5.0

func (o TransitRouterPeerAttachmentMapOutput) ToTransitRouterPeerAttachmentMapOutput() TransitRouterPeerAttachmentMapOutput

func (TransitRouterPeerAttachmentMapOutput) ToTransitRouterPeerAttachmentMapOutputWithContext added in v3.5.0

func (o TransitRouterPeerAttachmentMapOutput) ToTransitRouterPeerAttachmentMapOutputWithContext(ctx context.Context) TransitRouterPeerAttachmentMapOutput

type TransitRouterPeerAttachmentOutput added in v3.5.0

type TransitRouterPeerAttachmentOutput struct{ *pulumi.OutputState }

func (TransitRouterPeerAttachmentOutput) ElementType added in v3.5.0

func (TransitRouterPeerAttachmentOutput) ToTransitRouterPeerAttachmentOutput added in v3.5.0

func (o TransitRouterPeerAttachmentOutput) ToTransitRouterPeerAttachmentOutput() TransitRouterPeerAttachmentOutput

func (TransitRouterPeerAttachmentOutput) ToTransitRouterPeerAttachmentOutputWithContext added in v3.5.0

func (o TransitRouterPeerAttachmentOutput) ToTransitRouterPeerAttachmentOutputWithContext(ctx context.Context) TransitRouterPeerAttachmentOutput

func (TransitRouterPeerAttachmentOutput) ToTransitRouterPeerAttachmentPtrOutput added in v3.5.0

func (o TransitRouterPeerAttachmentOutput) ToTransitRouterPeerAttachmentPtrOutput() TransitRouterPeerAttachmentPtrOutput

func (TransitRouterPeerAttachmentOutput) ToTransitRouterPeerAttachmentPtrOutputWithContext added in v3.5.0

func (o TransitRouterPeerAttachmentOutput) ToTransitRouterPeerAttachmentPtrOutputWithContext(ctx context.Context) TransitRouterPeerAttachmentPtrOutput

type TransitRouterPeerAttachmentPtrInput added in v3.5.0

type TransitRouterPeerAttachmentPtrInput interface {
	pulumi.Input

	ToTransitRouterPeerAttachmentPtrOutput() TransitRouterPeerAttachmentPtrOutput
	ToTransitRouterPeerAttachmentPtrOutputWithContext(ctx context.Context) TransitRouterPeerAttachmentPtrOutput
}

type TransitRouterPeerAttachmentPtrOutput added in v3.5.0

type TransitRouterPeerAttachmentPtrOutput struct{ *pulumi.OutputState }

func (TransitRouterPeerAttachmentPtrOutput) Elem added in v3.9.0

func (TransitRouterPeerAttachmentPtrOutput) ElementType added in v3.5.0

func (TransitRouterPeerAttachmentPtrOutput) ToTransitRouterPeerAttachmentPtrOutput added in v3.5.0

func (o TransitRouterPeerAttachmentPtrOutput) ToTransitRouterPeerAttachmentPtrOutput() TransitRouterPeerAttachmentPtrOutput

func (TransitRouterPeerAttachmentPtrOutput) ToTransitRouterPeerAttachmentPtrOutputWithContext added in v3.5.0

func (o TransitRouterPeerAttachmentPtrOutput) ToTransitRouterPeerAttachmentPtrOutputWithContext(ctx context.Context) TransitRouterPeerAttachmentPtrOutput

type TransitRouterPeerAttachmentState added in v3.5.0

type TransitRouterPeerAttachmentState struct {
	// Auto publish route enabled. The system default value is `false`.
	AutoPublishRouteEnabled pulumi.BoolPtrInput
	// The bandwidth of the bandwidth package.
	Bandwidth pulumi.IntPtrInput
	// The ID of the bandwidth package. If you do not enter the ID of the package, it means you are using the test. The system default test is 1bps, demonstrating that you test network connectivity
	CenBandwidthPackageId pulumi.StringPtrInput
	// The ID of the CEN.
	CenId pulumi.StringPtrInput
	// Whether to perform pre-check for this request, including permission, instance status verification, etc.
	DryRun pulumi.BoolPtrInput
	// The ID of the peer transit router.
	PeerTransitRouterId pulumi.StringPtrInput
	// The region ID of peer transit router.
	PeerTransitRouterRegionId pulumi.StringPtrInput
	// The resource type to attachment. Only support `VR` and default value is `VR`.
	ResourceType pulumi.StringPtrInput
	// Whether to association route table. System default is `false`.
	RouteTableAssociationEnabled pulumi.BoolPtrInput
	// Whether to propagation route table. System default is `false`.
	RouteTablePropagationEnabled pulumi.BoolPtrInput
	// The associating status of the network.
	Status pulumi.StringPtrInput
	// The description of transit router attachment. The description is 2~256 characters long and must start with a letter or Chinese, but cannot start with `http://` or `https://`.
	TransitRouterAttachmentDescription pulumi.StringPtrInput
	// The ID of transit router attachment id.
	TransitRouterAttachmentId pulumi.StringPtrInput
	// The name of transit router attachment. The name is 2~128 characters in length, starts with uppercase and lowercase letters or Chinese, and can contain numbers, underscores (_) and dashes (-)
	TransitRouterAttachmentName pulumi.StringPtrInput
	// The ID of the transit router to attach.
	TransitRouterId pulumi.StringPtrInput
}

func (TransitRouterPeerAttachmentState) ElementType added in v3.5.0

type TransitRouterPtrInput added in v3.4.0

type TransitRouterPtrInput interface {
	pulumi.Input

	ToTransitRouterPtrOutput() TransitRouterPtrOutput
	ToTransitRouterPtrOutputWithContext(ctx context.Context) TransitRouterPtrOutput
}

type TransitRouterPtrOutput added in v3.4.0

type TransitRouterPtrOutput struct{ *pulumi.OutputState }

func (TransitRouterPtrOutput) Elem added in v3.9.0

func (TransitRouterPtrOutput) ElementType added in v3.4.0

func (TransitRouterPtrOutput) ElementType() reflect.Type

func (TransitRouterPtrOutput) ToTransitRouterPtrOutput added in v3.4.0

func (o TransitRouterPtrOutput) ToTransitRouterPtrOutput() TransitRouterPtrOutput

func (TransitRouterPtrOutput) ToTransitRouterPtrOutputWithContext added in v3.4.0

func (o TransitRouterPtrOutput) ToTransitRouterPtrOutputWithContext(ctx context.Context) TransitRouterPtrOutput

type TransitRouterRouteEntry added in v3.4.0

type TransitRouterRouteEntry struct {
	pulumi.CustomResourceState

	// The dry run.
	DryRun pulumi.BoolPtrOutput `pulumi:"dryRun"`
	// The associating status of the Transit Router.
	Status pulumi.StringOutput `pulumi:"status"`
	// The description of the transit router route entry.
	TransitRouterRouteEntryDescription pulumi.StringPtrOutput `pulumi:"transitRouterRouteEntryDescription"`
	// The CIDR of the transit router route entry.
	TransitRouterRouteEntryDestinationCidrBlock pulumi.StringOutput `pulumi:"transitRouterRouteEntryDestinationCidrBlock"`
	TransitRouterRouteEntryId                   pulumi.StringOutput `pulumi:"transitRouterRouteEntryId"`
	// The name of the transit router route entry.
	TransitRouterRouteEntryName pulumi.StringPtrOutput `pulumi:"transitRouterRouteEntryName"`
	// The ID of the transit router route entry next hop.
	TransitRouterRouteEntryNextHopId pulumi.StringPtrOutput `pulumi:"transitRouterRouteEntryNextHopId"`
	// The Type of the transit router route entry next hop,Valid values `Attachment` and `BlackHole`.
	TransitRouterRouteEntryNextHopType pulumi.StringOutput `pulumi:"transitRouterRouteEntryNextHopType"`
	// The ID of the transit router route table.
	TransitRouterRouteTableId pulumi.StringOutput `pulumi:"transitRouterRouteTableId"`
}

Provides a CEN transit router route entry resource.[What is Cen Transit Router Route Entry](https://help.aliyun.com/document_detail/261238.html)

> **NOTE:** Available in 1.126.0+

## Import

CEN instance can be imported using the id, e.g.

```sh

$ pulumi import alicloud:cen/transitRouterRouteEntry:TransitRouterRouteEntry default vtb-*********:rte-*******

```

func GetTransitRouterRouteEntry added in v3.4.0

func GetTransitRouterRouteEntry(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *TransitRouterRouteEntryState, opts ...pulumi.ResourceOption) (*TransitRouterRouteEntry, error)

GetTransitRouterRouteEntry gets an existing TransitRouterRouteEntry resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewTransitRouterRouteEntry added in v3.4.0

func NewTransitRouterRouteEntry(ctx *pulumi.Context,
	name string, args *TransitRouterRouteEntryArgs, opts ...pulumi.ResourceOption) (*TransitRouterRouteEntry, error)

NewTransitRouterRouteEntry registers a new resource with the given unique name, arguments, and options.

func (*TransitRouterRouteEntry) ElementType added in v3.4.0

func (*TransitRouterRouteEntry) ElementType() reflect.Type

func (*TransitRouterRouteEntry) ToTransitRouterRouteEntryOutput added in v3.4.0

func (i *TransitRouterRouteEntry) ToTransitRouterRouteEntryOutput() TransitRouterRouteEntryOutput

func (*TransitRouterRouteEntry) ToTransitRouterRouteEntryOutputWithContext added in v3.4.0

func (i *TransitRouterRouteEntry) ToTransitRouterRouteEntryOutputWithContext(ctx context.Context) TransitRouterRouteEntryOutput

func (*TransitRouterRouteEntry) ToTransitRouterRouteEntryPtrOutput added in v3.4.0

func (i *TransitRouterRouteEntry) ToTransitRouterRouteEntryPtrOutput() TransitRouterRouteEntryPtrOutput

func (*TransitRouterRouteEntry) ToTransitRouterRouteEntryPtrOutputWithContext added in v3.4.0

func (i *TransitRouterRouteEntry) ToTransitRouterRouteEntryPtrOutputWithContext(ctx context.Context) TransitRouterRouteEntryPtrOutput

type TransitRouterRouteEntryArgs added in v3.4.0

type TransitRouterRouteEntryArgs struct {
	// The dry run.
	DryRun pulumi.BoolPtrInput
	// The description of the transit router route entry.
	TransitRouterRouteEntryDescription pulumi.StringPtrInput
	// The CIDR of the transit router route entry.
	TransitRouterRouteEntryDestinationCidrBlock pulumi.StringInput
	// The name of the transit router route entry.
	TransitRouterRouteEntryName pulumi.StringPtrInput
	// The ID of the transit router route entry next hop.
	TransitRouterRouteEntryNextHopId pulumi.StringPtrInput
	// The Type of the transit router route entry next hop,Valid values `Attachment` and `BlackHole`.
	TransitRouterRouteEntryNextHopType pulumi.StringInput
	// The ID of the transit router route table.
	TransitRouterRouteTableId pulumi.StringInput
}

The set of arguments for constructing a TransitRouterRouteEntry resource.

func (TransitRouterRouteEntryArgs) ElementType added in v3.4.0

type TransitRouterRouteEntryArray added in v3.4.0

type TransitRouterRouteEntryArray []TransitRouterRouteEntryInput

func (TransitRouterRouteEntryArray) ElementType added in v3.4.0

func (TransitRouterRouteEntryArray) ToTransitRouterRouteEntryArrayOutput added in v3.4.0

func (i TransitRouterRouteEntryArray) ToTransitRouterRouteEntryArrayOutput() TransitRouterRouteEntryArrayOutput

func (TransitRouterRouteEntryArray) ToTransitRouterRouteEntryArrayOutputWithContext added in v3.4.0

func (i TransitRouterRouteEntryArray) ToTransitRouterRouteEntryArrayOutputWithContext(ctx context.Context) TransitRouterRouteEntryArrayOutput

type TransitRouterRouteEntryArrayInput added in v3.4.0

type TransitRouterRouteEntryArrayInput interface {
	pulumi.Input

	ToTransitRouterRouteEntryArrayOutput() TransitRouterRouteEntryArrayOutput
	ToTransitRouterRouteEntryArrayOutputWithContext(context.Context) TransitRouterRouteEntryArrayOutput
}

TransitRouterRouteEntryArrayInput is an input type that accepts TransitRouterRouteEntryArray and TransitRouterRouteEntryArrayOutput values. You can construct a concrete instance of `TransitRouterRouteEntryArrayInput` via:

TransitRouterRouteEntryArray{ TransitRouterRouteEntryArgs{...} }

type TransitRouterRouteEntryArrayOutput added in v3.4.0

type TransitRouterRouteEntryArrayOutput struct{ *pulumi.OutputState }

func (TransitRouterRouteEntryArrayOutput) ElementType added in v3.4.0

func (TransitRouterRouteEntryArrayOutput) Index added in v3.4.0

func (TransitRouterRouteEntryArrayOutput) ToTransitRouterRouteEntryArrayOutput added in v3.4.0

func (o TransitRouterRouteEntryArrayOutput) ToTransitRouterRouteEntryArrayOutput() TransitRouterRouteEntryArrayOutput

func (TransitRouterRouteEntryArrayOutput) ToTransitRouterRouteEntryArrayOutputWithContext added in v3.4.0

func (o TransitRouterRouteEntryArrayOutput) ToTransitRouterRouteEntryArrayOutputWithContext(ctx context.Context) TransitRouterRouteEntryArrayOutput

type TransitRouterRouteEntryInput added in v3.4.0

type TransitRouterRouteEntryInput interface {
	pulumi.Input

	ToTransitRouterRouteEntryOutput() TransitRouterRouteEntryOutput
	ToTransitRouterRouteEntryOutputWithContext(ctx context.Context) TransitRouterRouteEntryOutput
}

type TransitRouterRouteEntryMap added in v3.4.0

type TransitRouterRouteEntryMap map[string]TransitRouterRouteEntryInput

func (TransitRouterRouteEntryMap) ElementType added in v3.4.0

func (TransitRouterRouteEntryMap) ElementType() reflect.Type

func (TransitRouterRouteEntryMap) ToTransitRouterRouteEntryMapOutput added in v3.4.0

func (i TransitRouterRouteEntryMap) ToTransitRouterRouteEntryMapOutput() TransitRouterRouteEntryMapOutput

func (TransitRouterRouteEntryMap) ToTransitRouterRouteEntryMapOutputWithContext added in v3.4.0

func (i TransitRouterRouteEntryMap) ToTransitRouterRouteEntryMapOutputWithContext(ctx context.Context) TransitRouterRouteEntryMapOutput

type TransitRouterRouteEntryMapInput added in v3.4.0

type TransitRouterRouteEntryMapInput interface {
	pulumi.Input

	ToTransitRouterRouteEntryMapOutput() TransitRouterRouteEntryMapOutput
	ToTransitRouterRouteEntryMapOutputWithContext(context.Context) TransitRouterRouteEntryMapOutput
}

TransitRouterRouteEntryMapInput is an input type that accepts TransitRouterRouteEntryMap and TransitRouterRouteEntryMapOutput values. You can construct a concrete instance of `TransitRouterRouteEntryMapInput` via:

TransitRouterRouteEntryMap{ "key": TransitRouterRouteEntryArgs{...} }

type TransitRouterRouteEntryMapOutput added in v3.4.0

type TransitRouterRouteEntryMapOutput struct{ *pulumi.OutputState }

func (TransitRouterRouteEntryMapOutput) ElementType added in v3.4.0

func (TransitRouterRouteEntryMapOutput) MapIndex added in v3.4.0

func (TransitRouterRouteEntryMapOutput) ToTransitRouterRouteEntryMapOutput added in v3.4.0

func (o TransitRouterRouteEntryMapOutput) ToTransitRouterRouteEntryMapOutput() TransitRouterRouteEntryMapOutput

func (TransitRouterRouteEntryMapOutput) ToTransitRouterRouteEntryMapOutputWithContext added in v3.4.0

func (o TransitRouterRouteEntryMapOutput) ToTransitRouterRouteEntryMapOutputWithContext(ctx context.Context) TransitRouterRouteEntryMapOutput

type TransitRouterRouteEntryOutput added in v3.4.0

type TransitRouterRouteEntryOutput struct{ *pulumi.OutputState }

func (TransitRouterRouteEntryOutput) ElementType added in v3.4.0

func (TransitRouterRouteEntryOutput) ToTransitRouterRouteEntryOutput added in v3.4.0

func (o TransitRouterRouteEntryOutput) ToTransitRouterRouteEntryOutput() TransitRouterRouteEntryOutput

func (TransitRouterRouteEntryOutput) ToTransitRouterRouteEntryOutputWithContext added in v3.4.0

func (o TransitRouterRouteEntryOutput) ToTransitRouterRouteEntryOutputWithContext(ctx context.Context) TransitRouterRouteEntryOutput

func (TransitRouterRouteEntryOutput) ToTransitRouterRouteEntryPtrOutput added in v3.4.0

func (o TransitRouterRouteEntryOutput) ToTransitRouterRouteEntryPtrOutput() TransitRouterRouteEntryPtrOutput

func (TransitRouterRouteEntryOutput) ToTransitRouterRouteEntryPtrOutputWithContext added in v3.4.0

func (o TransitRouterRouteEntryOutput) ToTransitRouterRouteEntryPtrOutputWithContext(ctx context.Context) TransitRouterRouteEntryPtrOutput

type TransitRouterRouteEntryPtrInput added in v3.4.0

type TransitRouterRouteEntryPtrInput interface {
	pulumi.Input

	ToTransitRouterRouteEntryPtrOutput() TransitRouterRouteEntryPtrOutput
	ToTransitRouterRouteEntryPtrOutputWithContext(ctx context.Context) TransitRouterRouteEntryPtrOutput
}

type TransitRouterRouteEntryPtrOutput added in v3.4.0

type TransitRouterRouteEntryPtrOutput struct{ *pulumi.OutputState }

func (TransitRouterRouteEntryPtrOutput) Elem added in v3.9.0

func (TransitRouterRouteEntryPtrOutput) ElementType added in v3.4.0

func (TransitRouterRouteEntryPtrOutput) ToTransitRouterRouteEntryPtrOutput added in v3.4.0

func (o TransitRouterRouteEntryPtrOutput) ToTransitRouterRouteEntryPtrOutput() TransitRouterRouteEntryPtrOutput

func (TransitRouterRouteEntryPtrOutput) ToTransitRouterRouteEntryPtrOutputWithContext added in v3.4.0

func (o TransitRouterRouteEntryPtrOutput) ToTransitRouterRouteEntryPtrOutputWithContext(ctx context.Context) TransitRouterRouteEntryPtrOutput

type TransitRouterRouteEntryState added in v3.4.0

type TransitRouterRouteEntryState struct {
	// The dry run.
	DryRun pulumi.BoolPtrInput
	// The associating status of the Transit Router.
	Status pulumi.StringPtrInput
	// The description of the transit router route entry.
	TransitRouterRouteEntryDescription pulumi.StringPtrInput
	// The CIDR of the transit router route entry.
	TransitRouterRouteEntryDestinationCidrBlock pulumi.StringPtrInput
	TransitRouterRouteEntryId                   pulumi.StringPtrInput
	// The name of the transit router route entry.
	TransitRouterRouteEntryName pulumi.StringPtrInput
	// The ID of the transit router route entry next hop.
	TransitRouterRouteEntryNextHopId pulumi.StringPtrInput
	// The Type of the transit router route entry next hop,Valid values `Attachment` and `BlackHole`.
	TransitRouterRouteEntryNextHopType pulumi.StringPtrInput
	// The ID of the transit router route table.
	TransitRouterRouteTableId pulumi.StringPtrInput
}

func (TransitRouterRouteEntryState) ElementType added in v3.4.0

type TransitRouterRouteTable added in v3.4.0

type TransitRouterRouteTable struct {
	pulumi.CustomResourceState

	// The dry run.
	DryRun pulumi.BoolPtrOutput `pulumi:"dryRun"`
	// The associating status of the Transit Router.
	Status pulumi.StringOutput `pulumi:"status"`
	// The ID of the transit router.
	TransitRouterId pulumi.StringOutput `pulumi:"transitRouterId"`
	// The description of the transit router route table.
	TransitRouterRouteTableDescription pulumi.StringOutput `pulumi:"transitRouterRouteTableDescription"`
	TransitRouterRouteTableId          pulumi.StringOutput `pulumi:"transitRouterRouteTableId"`
	// The name of the transit router route table.
	TransitRouterRouteTableName pulumi.StringPtrOutput `pulumi:"transitRouterRouteTableName"`
	TransitRouterRouteTableType pulumi.StringOutput    `pulumi:"transitRouterRouteTableType"`
}

Provides a CEN transit router route table resource.[What is Cen Transit Router Route Table](https://help.aliyun.com/document_detail/261233.html)

> **NOTE:** Available in 1.126.0+

## Import

CEN transit router route table

can be imported using the id, e.g.

```sh

$ pulumi import alicloud:cen/transitRouterRouteTable:TransitRouterRouteTable default tr-*********:vtb-********

```

func GetTransitRouterRouteTable added in v3.4.0

func GetTransitRouterRouteTable(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *TransitRouterRouteTableState, opts ...pulumi.ResourceOption) (*TransitRouterRouteTable, error)

GetTransitRouterRouteTable gets an existing TransitRouterRouteTable resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewTransitRouterRouteTable added in v3.4.0

func NewTransitRouterRouteTable(ctx *pulumi.Context,
	name string, args *TransitRouterRouteTableArgs, opts ...pulumi.ResourceOption) (*TransitRouterRouteTable, error)

NewTransitRouterRouteTable registers a new resource with the given unique name, arguments, and options.

func (*TransitRouterRouteTable) ElementType added in v3.4.0

func (*TransitRouterRouteTable) ElementType() reflect.Type

func (*TransitRouterRouteTable) ToTransitRouterRouteTableOutput added in v3.4.0

func (i *TransitRouterRouteTable) ToTransitRouterRouteTableOutput() TransitRouterRouteTableOutput

func (*TransitRouterRouteTable) ToTransitRouterRouteTableOutputWithContext added in v3.4.0

func (i *TransitRouterRouteTable) ToTransitRouterRouteTableOutputWithContext(ctx context.Context) TransitRouterRouteTableOutput

func (*TransitRouterRouteTable) ToTransitRouterRouteTablePtrOutput added in v3.4.0

func (i *TransitRouterRouteTable) ToTransitRouterRouteTablePtrOutput() TransitRouterRouteTablePtrOutput

func (*TransitRouterRouteTable) ToTransitRouterRouteTablePtrOutputWithContext added in v3.4.0

func (i *TransitRouterRouteTable) ToTransitRouterRouteTablePtrOutputWithContext(ctx context.Context) TransitRouterRouteTablePtrOutput

type TransitRouterRouteTableArgs added in v3.4.0

type TransitRouterRouteTableArgs struct {
	// The dry run.
	DryRun pulumi.BoolPtrInput
	// The ID of the transit router.
	TransitRouterId pulumi.StringInput
	// The description of the transit router route table.
	TransitRouterRouteTableDescription pulumi.StringPtrInput
	// The name of the transit router route table.
	TransitRouterRouteTableName pulumi.StringPtrInput
}

The set of arguments for constructing a TransitRouterRouteTable resource.

func (TransitRouterRouteTableArgs) ElementType added in v3.4.0

type TransitRouterRouteTableArray added in v3.4.0

type TransitRouterRouteTableArray []TransitRouterRouteTableInput

func (TransitRouterRouteTableArray) ElementType added in v3.4.0

func (TransitRouterRouteTableArray) ToTransitRouterRouteTableArrayOutput added in v3.4.0

func (i TransitRouterRouteTableArray) ToTransitRouterRouteTableArrayOutput() TransitRouterRouteTableArrayOutput

func (TransitRouterRouteTableArray) ToTransitRouterRouteTableArrayOutputWithContext added in v3.4.0

func (i TransitRouterRouteTableArray) ToTransitRouterRouteTableArrayOutputWithContext(ctx context.Context) TransitRouterRouteTableArrayOutput

type TransitRouterRouteTableArrayInput added in v3.4.0

type TransitRouterRouteTableArrayInput interface {
	pulumi.Input

	ToTransitRouterRouteTableArrayOutput() TransitRouterRouteTableArrayOutput
	ToTransitRouterRouteTableArrayOutputWithContext(context.Context) TransitRouterRouteTableArrayOutput
}

TransitRouterRouteTableArrayInput is an input type that accepts TransitRouterRouteTableArray and TransitRouterRouteTableArrayOutput values. You can construct a concrete instance of `TransitRouterRouteTableArrayInput` via:

TransitRouterRouteTableArray{ TransitRouterRouteTableArgs{...} }

type TransitRouterRouteTableArrayOutput added in v3.4.0

type TransitRouterRouteTableArrayOutput struct{ *pulumi.OutputState }

func (TransitRouterRouteTableArrayOutput) ElementType added in v3.4.0

func (TransitRouterRouteTableArrayOutput) Index added in v3.4.0

func (TransitRouterRouteTableArrayOutput) ToTransitRouterRouteTableArrayOutput added in v3.4.0

func (o TransitRouterRouteTableArrayOutput) ToTransitRouterRouteTableArrayOutput() TransitRouterRouteTableArrayOutput

func (TransitRouterRouteTableArrayOutput) ToTransitRouterRouteTableArrayOutputWithContext added in v3.4.0

func (o TransitRouterRouteTableArrayOutput) ToTransitRouterRouteTableArrayOutputWithContext(ctx context.Context) TransitRouterRouteTableArrayOutput

type TransitRouterRouteTableAssociation added in v3.4.0

type TransitRouterRouteTableAssociation struct {
	pulumi.CustomResourceState

	// The dry run.
	DryRun pulumi.BoolPtrOutput `pulumi:"dryRun"`
	// The associating status of the network.
	Status pulumi.StringOutput `pulumi:"status"`
	// The ID the transit router attachment.
	TransitRouterAttachmentId pulumi.StringOutput `pulumi:"transitRouterAttachmentId"`
	// The ID of the transit router route table.
	TransitRouterRouteTableId pulumi.StringOutput `pulumi:"transitRouterRouteTableId"`
}

Provides a CEN transit router route table association resource.[What is Cen Transit Router Route Table Association](https://help.aliyun.com/document_detail/261242.html)

> **NOTE:** Available in 1.126.0+

## Import

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

```sh

$ pulumi import alicloud:cen/transitRouterRouteTableAssociation:TransitRouterRouteTableAssociation default tr-********:tr-attach-********

```

func GetTransitRouterRouteTableAssociation added in v3.4.0

func GetTransitRouterRouteTableAssociation(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *TransitRouterRouteTableAssociationState, opts ...pulumi.ResourceOption) (*TransitRouterRouteTableAssociation, error)

GetTransitRouterRouteTableAssociation gets an existing TransitRouterRouteTableAssociation resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewTransitRouterRouteTableAssociation added in v3.4.0

func NewTransitRouterRouteTableAssociation(ctx *pulumi.Context,
	name string, args *TransitRouterRouteTableAssociationArgs, opts ...pulumi.ResourceOption) (*TransitRouterRouteTableAssociation, error)

NewTransitRouterRouteTableAssociation registers a new resource with the given unique name, arguments, and options.

func (*TransitRouterRouteTableAssociation) ElementType added in v3.4.0

func (*TransitRouterRouteTableAssociation) ToTransitRouterRouteTableAssociationOutput added in v3.4.0

func (i *TransitRouterRouteTableAssociation) ToTransitRouterRouteTableAssociationOutput() TransitRouterRouteTableAssociationOutput

func (*TransitRouterRouteTableAssociation) ToTransitRouterRouteTableAssociationOutputWithContext added in v3.4.0

func (i *TransitRouterRouteTableAssociation) ToTransitRouterRouteTableAssociationOutputWithContext(ctx context.Context) TransitRouterRouteTableAssociationOutput

func (*TransitRouterRouteTableAssociation) ToTransitRouterRouteTableAssociationPtrOutput added in v3.4.0

func (i *TransitRouterRouteTableAssociation) ToTransitRouterRouteTableAssociationPtrOutput() TransitRouterRouteTableAssociationPtrOutput

func (*TransitRouterRouteTableAssociation) ToTransitRouterRouteTableAssociationPtrOutputWithContext added in v3.4.0

func (i *TransitRouterRouteTableAssociation) ToTransitRouterRouteTableAssociationPtrOutputWithContext(ctx context.Context) TransitRouterRouteTableAssociationPtrOutput

type TransitRouterRouteTableAssociationArgs added in v3.4.0

type TransitRouterRouteTableAssociationArgs struct {
	// The dry run.
	DryRun pulumi.BoolPtrInput
	// The ID the transit router attachment.
	TransitRouterAttachmentId pulumi.StringInput
	// The ID of the transit router route table.
	TransitRouterRouteTableId pulumi.StringInput
}

The set of arguments for constructing a TransitRouterRouteTableAssociation resource.

func (TransitRouterRouteTableAssociationArgs) ElementType added in v3.4.0

type TransitRouterRouteTableAssociationArray added in v3.4.0

type TransitRouterRouteTableAssociationArray []TransitRouterRouteTableAssociationInput

func (TransitRouterRouteTableAssociationArray) ElementType added in v3.4.0

func (TransitRouterRouteTableAssociationArray) ToTransitRouterRouteTableAssociationArrayOutput added in v3.4.0

func (i TransitRouterRouteTableAssociationArray) ToTransitRouterRouteTableAssociationArrayOutput() TransitRouterRouteTableAssociationArrayOutput

func (TransitRouterRouteTableAssociationArray) ToTransitRouterRouteTableAssociationArrayOutputWithContext added in v3.4.0

func (i TransitRouterRouteTableAssociationArray) ToTransitRouterRouteTableAssociationArrayOutputWithContext(ctx context.Context) TransitRouterRouteTableAssociationArrayOutput

type TransitRouterRouteTableAssociationArrayInput added in v3.4.0

type TransitRouterRouteTableAssociationArrayInput interface {
	pulumi.Input

	ToTransitRouterRouteTableAssociationArrayOutput() TransitRouterRouteTableAssociationArrayOutput
	ToTransitRouterRouteTableAssociationArrayOutputWithContext(context.Context) TransitRouterRouteTableAssociationArrayOutput
}

TransitRouterRouteTableAssociationArrayInput is an input type that accepts TransitRouterRouteTableAssociationArray and TransitRouterRouteTableAssociationArrayOutput values. You can construct a concrete instance of `TransitRouterRouteTableAssociationArrayInput` via:

TransitRouterRouteTableAssociationArray{ TransitRouterRouteTableAssociationArgs{...} }

type TransitRouterRouteTableAssociationArrayOutput added in v3.4.0

type TransitRouterRouteTableAssociationArrayOutput struct{ *pulumi.OutputState }

func (TransitRouterRouteTableAssociationArrayOutput) ElementType added in v3.4.0

func (TransitRouterRouteTableAssociationArrayOutput) Index added in v3.4.0

func (TransitRouterRouteTableAssociationArrayOutput) ToTransitRouterRouteTableAssociationArrayOutput added in v3.4.0

func (o TransitRouterRouteTableAssociationArrayOutput) ToTransitRouterRouteTableAssociationArrayOutput() TransitRouterRouteTableAssociationArrayOutput

func (TransitRouterRouteTableAssociationArrayOutput) ToTransitRouterRouteTableAssociationArrayOutputWithContext added in v3.4.0

func (o TransitRouterRouteTableAssociationArrayOutput) ToTransitRouterRouteTableAssociationArrayOutputWithContext(ctx context.Context) TransitRouterRouteTableAssociationArrayOutput

type TransitRouterRouteTableAssociationInput added in v3.4.0

type TransitRouterRouteTableAssociationInput interface {
	pulumi.Input

	ToTransitRouterRouteTableAssociationOutput() TransitRouterRouteTableAssociationOutput
	ToTransitRouterRouteTableAssociationOutputWithContext(ctx context.Context) TransitRouterRouteTableAssociationOutput
}

type TransitRouterRouteTableAssociationMap added in v3.4.0

type TransitRouterRouteTableAssociationMap map[string]TransitRouterRouteTableAssociationInput

func (TransitRouterRouteTableAssociationMap) ElementType added in v3.4.0

func (TransitRouterRouteTableAssociationMap) ToTransitRouterRouteTableAssociationMapOutput added in v3.4.0

func (i TransitRouterRouteTableAssociationMap) ToTransitRouterRouteTableAssociationMapOutput() TransitRouterRouteTableAssociationMapOutput

func (TransitRouterRouteTableAssociationMap) ToTransitRouterRouteTableAssociationMapOutputWithContext added in v3.4.0

func (i TransitRouterRouteTableAssociationMap) ToTransitRouterRouteTableAssociationMapOutputWithContext(ctx context.Context) TransitRouterRouteTableAssociationMapOutput

type TransitRouterRouteTableAssociationMapInput added in v3.4.0

type TransitRouterRouteTableAssociationMapInput interface {
	pulumi.Input

	ToTransitRouterRouteTableAssociationMapOutput() TransitRouterRouteTableAssociationMapOutput
	ToTransitRouterRouteTableAssociationMapOutputWithContext(context.Context) TransitRouterRouteTableAssociationMapOutput
}

TransitRouterRouteTableAssociationMapInput is an input type that accepts TransitRouterRouteTableAssociationMap and TransitRouterRouteTableAssociationMapOutput values. You can construct a concrete instance of `TransitRouterRouteTableAssociationMapInput` via:

TransitRouterRouteTableAssociationMap{ "key": TransitRouterRouteTableAssociationArgs{...} }

type TransitRouterRouteTableAssociationMapOutput added in v3.4.0

type TransitRouterRouteTableAssociationMapOutput struct{ *pulumi.OutputState }

func (TransitRouterRouteTableAssociationMapOutput) ElementType added in v3.4.0

func (TransitRouterRouteTableAssociationMapOutput) MapIndex added in v3.4.0

func (TransitRouterRouteTableAssociationMapOutput) ToTransitRouterRouteTableAssociationMapOutput added in v3.4.0

func (o TransitRouterRouteTableAssociationMapOutput) ToTransitRouterRouteTableAssociationMapOutput() TransitRouterRouteTableAssociationMapOutput

func (TransitRouterRouteTableAssociationMapOutput) ToTransitRouterRouteTableAssociationMapOutputWithContext added in v3.4.0

func (o TransitRouterRouteTableAssociationMapOutput) ToTransitRouterRouteTableAssociationMapOutputWithContext(ctx context.Context) TransitRouterRouteTableAssociationMapOutput

type TransitRouterRouteTableAssociationOutput added in v3.4.0

type TransitRouterRouteTableAssociationOutput struct{ *pulumi.OutputState }

func (TransitRouterRouteTableAssociationOutput) ElementType added in v3.4.0

func (TransitRouterRouteTableAssociationOutput) ToTransitRouterRouteTableAssociationOutput added in v3.4.0

func (o TransitRouterRouteTableAssociationOutput) ToTransitRouterRouteTableAssociationOutput() TransitRouterRouteTableAssociationOutput

func (TransitRouterRouteTableAssociationOutput) ToTransitRouterRouteTableAssociationOutputWithContext added in v3.4.0

func (o TransitRouterRouteTableAssociationOutput) ToTransitRouterRouteTableAssociationOutputWithContext(ctx context.Context) TransitRouterRouteTableAssociationOutput

func (TransitRouterRouteTableAssociationOutput) ToTransitRouterRouteTableAssociationPtrOutput added in v3.4.0

func (o TransitRouterRouteTableAssociationOutput) ToTransitRouterRouteTableAssociationPtrOutput() TransitRouterRouteTableAssociationPtrOutput

func (TransitRouterRouteTableAssociationOutput) ToTransitRouterRouteTableAssociationPtrOutputWithContext added in v3.4.0

func (o TransitRouterRouteTableAssociationOutput) ToTransitRouterRouteTableAssociationPtrOutputWithContext(ctx context.Context) TransitRouterRouteTableAssociationPtrOutput

type TransitRouterRouteTableAssociationPtrInput added in v3.4.0

type TransitRouterRouteTableAssociationPtrInput interface {
	pulumi.Input

	ToTransitRouterRouteTableAssociationPtrOutput() TransitRouterRouteTableAssociationPtrOutput
	ToTransitRouterRouteTableAssociationPtrOutputWithContext(ctx context.Context) TransitRouterRouteTableAssociationPtrOutput
}

type TransitRouterRouteTableAssociationPtrOutput added in v3.4.0

type TransitRouterRouteTableAssociationPtrOutput struct{ *pulumi.OutputState }

func (TransitRouterRouteTableAssociationPtrOutput) Elem added in v3.9.0

func (TransitRouterRouteTableAssociationPtrOutput) ElementType added in v3.4.0

func (TransitRouterRouteTableAssociationPtrOutput) ToTransitRouterRouteTableAssociationPtrOutput added in v3.4.0

func (o TransitRouterRouteTableAssociationPtrOutput) ToTransitRouterRouteTableAssociationPtrOutput() TransitRouterRouteTableAssociationPtrOutput

func (TransitRouterRouteTableAssociationPtrOutput) ToTransitRouterRouteTableAssociationPtrOutputWithContext added in v3.4.0

func (o TransitRouterRouteTableAssociationPtrOutput) ToTransitRouterRouteTableAssociationPtrOutputWithContext(ctx context.Context) TransitRouterRouteTableAssociationPtrOutput

type TransitRouterRouteTableAssociationState added in v3.4.0

type TransitRouterRouteTableAssociationState struct {
	// The dry run.
	DryRun pulumi.BoolPtrInput
	// The associating status of the network.
	Status pulumi.StringPtrInput
	// The ID the transit router attachment.
	TransitRouterAttachmentId pulumi.StringPtrInput
	// The ID of the transit router route table.
	TransitRouterRouteTableId pulumi.StringPtrInput
}

func (TransitRouterRouteTableAssociationState) ElementType added in v3.4.0

type TransitRouterRouteTableInput added in v3.4.0

type TransitRouterRouteTableInput interface {
	pulumi.Input

	ToTransitRouterRouteTableOutput() TransitRouterRouteTableOutput
	ToTransitRouterRouteTableOutputWithContext(ctx context.Context) TransitRouterRouteTableOutput
}

type TransitRouterRouteTableMap added in v3.4.0

type TransitRouterRouteTableMap map[string]TransitRouterRouteTableInput

func (TransitRouterRouteTableMap) ElementType added in v3.4.0

func (TransitRouterRouteTableMap) ElementType() reflect.Type

func (TransitRouterRouteTableMap) ToTransitRouterRouteTableMapOutput added in v3.4.0

func (i TransitRouterRouteTableMap) ToTransitRouterRouteTableMapOutput() TransitRouterRouteTableMapOutput

func (TransitRouterRouteTableMap) ToTransitRouterRouteTableMapOutputWithContext added in v3.4.0

func (i TransitRouterRouteTableMap) ToTransitRouterRouteTableMapOutputWithContext(ctx context.Context) TransitRouterRouteTableMapOutput

type TransitRouterRouteTableMapInput added in v3.4.0

type TransitRouterRouteTableMapInput interface {
	pulumi.Input

	ToTransitRouterRouteTableMapOutput() TransitRouterRouteTableMapOutput
	ToTransitRouterRouteTableMapOutputWithContext(context.Context) TransitRouterRouteTableMapOutput
}

TransitRouterRouteTableMapInput is an input type that accepts TransitRouterRouteTableMap and TransitRouterRouteTableMapOutput values. You can construct a concrete instance of `TransitRouterRouteTableMapInput` via:

TransitRouterRouteTableMap{ "key": TransitRouterRouteTableArgs{...} }

type TransitRouterRouteTableMapOutput added in v3.4.0

type TransitRouterRouteTableMapOutput struct{ *pulumi.OutputState }

func (TransitRouterRouteTableMapOutput) ElementType added in v3.4.0

func (TransitRouterRouteTableMapOutput) MapIndex added in v3.4.0

func (TransitRouterRouteTableMapOutput) ToTransitRouterRouteTableMapOutput added in v3.4.0

func (o TransitRouterRouteTableMapOutput) ToTransitRouterRouteTableMapOutput() TransitRouterRouteTableMapOutput

func (TransitRouterRouteTableMapOutput) ToTransitRouterRouteTableMapOutputWithContext added in v3.4.0

func (o TransitRouterRouteTableMapOutput) ToTransitRouterRouteTableMapOutputWithContext(ctx context.Context) TransitRouterRouteTableMapOutput

type TransitRouterRouteTableOutput added in v3.4.0

type TransitRouterRouteTableOutput struct{ *pulumi.OutputState }

func (TransitRouterRouteTableOutput) ElementType added in v3.4.0

func (TransitRouterRouteTableOutput) ToTransitRouterRouteTableOutput added in v3.4.0

func (o TransitRouterRouteTableOutput) ToTransitRouterRouteTableOutput() TransitRouterRouteTableOutput

func (TransitRouterRouteTableOutput) ToTransitRouterRouteTableOutputWithContext added in v3.4.0

func (o TransitRouterRouteTableOutput) ToTransitRouterRouteTableOutputWithContext(ctx context.Context) TransitRouterRouteTableOutput

func (TransitRouterRouteTableOutput) ToTransitRouterRouteTablePtrOutput added in v3.4.0

func (o TransitRouterRouteTableOutput) ToTransitRouterRouteTablePtrOutput() TransitRouterRouteTablePtrOutput

func (TransitRouterRouteTableOutput) ToTransitRouterRouteTablePtrOutputWithContext added in v3.4.0

func (o TransitRouterRouteTableOutput) ToTransitRouterRouteTablePtrOutputWithContext(ctx context.Context) TransitRouterRouteTablePtrOutput

type TransitRouterRouteTablePropagation added in v3.4.0

type TransitRouterRouteTablePropagation struct {
	pulumi.CustomResourceState

	// The dry run.
	DryRun pulumi.BoolPtrOutput `pulumi:"dryRun"`
	// The associating status of the network.
	Status pulumi.StringOutput `pulumi:"status"`
	// The ID the transit router attachment.
	TransitRouterAttachmentId pulumi.StringOutput `pulumi:"transitRouterAttachmentId"`
	// The ID of the transit router route table.
	TransitRouterRouteTableId pulumi.StringOutput `pulumi:"transitRouterRouteTableId"`
}

Provides a CEN transit router route table propagation resource.[What is Cen Transit Router Route Table Propagation](https://help.aliyun.com/document_detail/261244.html)

> **NOTE:** Available in 1.126.0+

## Import

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

```sh

$ pulumi import alicloud:cen/transitRouterRouteTablePropagation:TransitRouterRouteTablePropagation default tr-********:tr-attach-********

```

func GetTransitRouterRouteTablePropagation added in v3.4.0

func GetTransitRouterRouteTablePropagation(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *TransitRouterRouteTablePropagationState, opts ...pulumi.ResourceOption) (*TransitRouterRouteTablePropagation, error)

GetTransitRouterRouteTablePropagation gets an existing TransitRouterRouteTablePropagation resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewTransitRouterRouteTablePropagation added in v3.4.0

func NewTransitRouterRouteTablePropagation(ctx *pulumi.Context,
	name string, args *TransitRouterRouteTablePropagationArgs, opts ...pulumi.ResourceOption) (*TransitRouterRouteTablePropagation, error)

NewTransitRouterRouteTablePropagation registers a new resource with the given unique name, arguments, and options.

func (*TransitRouterRouteTablePropagation) ElementType added in v3.4.0

func (*TransitRouterRouteTablePropagation) ToTransitRouterRouteTablePropagationOutput added in v3.4.0

func (i *TransitRouterRouteTablePropagation) ToTransitRouterRouteTablePropagationOutput() TransitRouterRouteTablePropagationOutput

func (*TransitRouterRouteTablePropagation) ToTransitRouterRouteTablePropagationOutputWithContext added in v3.4.0

func (i *TransitRouterRouteTablePropagation) ToTransitRouterRouteTablePropagationOutputWithContext(ctx context.Context) TransitRouterRouteTablePropagationOutput

func (*TransitRouterRouteTablePropagation) ToTransitRouterRouteTablePropagationPtrOutput added in v3.4.0

func (i *TransitRouterRouteTablePropagation) ToTransitRouterRouteTablePropagationPtrOutput() TransitRouterRouteTablePropagationPtrOutput

func (*TransitRouterRouteTablePropagation) ToTransitRouterRouteTablePropagationPtrOutputWithContext added in v3.4.0

func (i *TransitRouterRouteTablePropagation) ToTransitRouterRouteTablePropagationPtrOutputWithContext(ctx context.Context) TransitRouterRouteTablePropagationPtrOutput

type TransitRouterRouteTablePropagationArgs added in v3.4.0

type TransitRouterRouteTablePropagationArgs struct {
	// The dry run.
	DryRun pulumi.BoolPtrInput
	// The ID the transit router attachment.
	TransitRouterAttachmentId pulumi.StringInput
	// The ID of the transit router route table.
	TransitRouterRouteTableId pulumi.StringInput
}

The set of arguments for constructing a TransitRouterRouteTablePropagation resource.

func (TransitRouterRouteTablePropagationArgs) ElementType added in v3.4.0

type TransitRouterRouteTablePropagationArray added in v3.4.0

type TransitRouterRouteTablePropagationArray []TransitRouterRouteTablePropagationInput

func (TransitRouterRouteTablePropagationArray) ElementType added in v3.4.0

func (TransitRouterRouteTablePropagationArray) ToTransitRouterRouteTablePropagationArrayOutput added in v3.4.0

func (i TransitRouterRouteTablePropagationArray) ToTransitRouterRouteTablePropagationArrayOutput() TransitRouterRouteTablePropagationArrayOutput

func (TransitRouterRouteTablePropagationArray) ToTransitRouterRouteTablePropagationArrayOutputWithContext added in v3.4.0

func (i TransitRouterRouteTablePropagationArray) ToTransitRouterRouteTablePropagationArrayOutputWithContext(ctx context.Context) TransitRouterRouteTablePropagationArrayOutput

type TransitRouterRouteTablePropagationArrayInput added in v3.4.0

type TransitRouterRouteTablePropagationArrayInput interface {
	pulumi.Input

	ToTransitRouterRouteTablePropagationArrayOutput() TransitRouterRouteTablePropagationArrayOutput
	ToTransitRouterRouteTablePropagationArrayOutputWithContext(context.Context) TransitRouterRouteTablePropagationArrayOutput
}

TransitRouterRouteTablePropagationArrayInput is an input type that accepts TransitRouterRouteTablePropagationArray and TransitRouterRouteTablePropagationArrayOutput values. You can construct a concrete instance of `TransitRouterRouteTablePropagationArrayInput` via:

TransitRouterRouteTablePropagationArray{ TransitRouterRouteTablePropagationArgs{...} }

type TransitRouterRouteTablePropagationArrayOutput added in v3.4.0

type TransitRouterRouteTablePropagationArrayOutput struct{ *pulumi.OutputState }

func (TransitRouterRouteTablePropagationArrayOutput) ElementType added in v3.4.0

func (TransitRouterRouteTablePropagationArrayOutput) Index added in v3.4.0

func (TransitRouterRouteTablePropagationArrayOutput) ToTransitRouterRouteTablePropagationArrayOutput added in v3.4.0

func (o TransitRouterRouteTablePropagationArrayOutput) ToTransitRouterRouteTablePropagationArrayOutput() TransitRouterRouteTablePropagationArrayOutput

func (TransitRouterRouteTablePropagationArrayOutput) ToTransitRouterRouteTablePropagationArrayOutputWithContext added in v3.4.0

func (o TransitRouterRouteTablePropagationArrayOutput) ToTransitRouterRouteTablePropagationArrayOutputWithContext(ctx context.Context) TransitRouterRouteTablePropagationArrayOutput

type TransitRouterRouteTablePropagationInput added in v3.4.0

type TransitRouterRouteTablePropagationInput interface {
	pulumi.Input

	ToTransitRouterRouteTablePropagationOutput() TransitRouterRouteTablePropagationOutput
	ToTransitRouterRouteTablePropagationOutputWithContext(ctx context.Context) TransitRouterRouteTablePropagationOutput
}

type TransitRouterRouteTablePropagationMap added in v3.4.0

type TransitRouterRouteTablePropagationMap map[string]TransitRouterRouteTablePropagationInput

func (TransitRouterRouteTablePropagationMap) ElementType added in v3.4.0

func (TransitRouterRouteTablePropagationMap) ToTransitRouterRouteTablePropagationMapOutput added in v3.4.0

func (i TransitRouterRouteTablePropagationMap) ToTransitRouterRouteTablePropagationMapOutput() TransitRouterRouteTablePropagationMapOutput

func (TransitRouterRouteTablePropagationMap) ToTransitRouterRouteTablePropagationMapOutputWithContext added in v3.4.0

func (i TransitRouterRouteTablePropagationMap) ToTransitRouterRouteTablePropagationMapOutputWithContext(ctx context.Context) TransitRouterRouteTablePropagationMapOutput

type TransitRouterRouteTablePropagationMapInput added in v3.4.0

type TransitRouterRouteTablePropagationMapInput interface {
	pulumi.Input

	ToTransitRouterRouteTablePropagationMapOutput() TransitRouterRouteTablePropagationMapOutput
	ToTransitRouterRouteTablePropagationMapOutputWithContext(context.Context) TransitRouterRouteTablePropagationMapOutput
}

TransitRouterRouteTablePropagationMapInput is an input type that accepts TransitRouterRouteTablePropagationMap and TransitRouterRouteTablePropagationMapOutput values. You can construct a concrete instance of `TransitRouterRouteTablePropagationMapInput` via:

TransitRouterRouteTablePropagationMap{ "key": TransitRouterRouteTablePropagationArgs{...} }

type TransitRouterRouteTablePropagationMapOutput added in v3.4.0

type TransitRouterRouteTablePropagationMapOutput struct{ *pulumi.OutputState }

func (TransitRouterRouteTablePropagationMapOutput) ElementType added in v3.4.0

func (TransitRouterRouteTablePropagationMapOutput) MapIndex added in v3.4.0

func (TransitRouterRouteTablePropagationMapOutput) ToTransitRouterRouteTablePropagationMapOutput added in v3.4.0

func (o TransitRouterRouteTablePropagationMapOutput) ToTransitRouterRouteTablePropagationMapOutput() TransitRouterRouteTablePropagationMapOutput

func (TransitRouterRouteTablePropagationMapOutput) ToTransitRouterRouteTablePropagationMapOutputWithContext added in v3.4.0

func (o TransitRouterRouteTablePropagationMapOutput) ToTransitRouterRouteTablePropagationMapOutputWithContext(ctx context.Context) TransitRouterRouteTablePropagationMapOutput

type TransitRouterRouteTablePropagationOutput added in v3.4.0

type TransitRouterRouteTablePropagationOutput struct{ *pulumi.OutputState }

func (TransitRouterRouteTablePropagationOutput) ElementType added in v3.4.0

func (TransitRouterRouteTablePropagationOutput) ToTransitRouterRouteTablePropagationOutput added in v3.4.0

func (o TransitRouterRouteTablePropagationOutput) ToTransitRouterRouteTablePropagationOutput() TransitRouterRouteTablePropagationOutput

func (TransitRouterRouteTablePropagationOutput) ToTransitRouterRouteTablePropagationOutputWithContext added in v3.4.0

func (o TransitRouterRouteTablePropagationOutput) ToTransitRouterRouteTablePropagationOutputWithContext(ctx context.Context) TransitRouterRouteTablePropagationOutput

func (TransitRouterRouteTablePropagationOutput) ToTransitRouterRouteTablePropagationPtrOutput added in v3.4.0

func (o TransitRouterRouteTablePropagationOutput) ToTransitRouterRouteTablePropagationPtrOutput() TransitRouterRouteTablePropagationPtrOutput

func (TransitRouterRouteTablePropagationOutput) ToTransitRouterRouteTablePropagationPtrOutputWithContext added in v3.4.0

func (o TransitRouterRouteTablePropagationOutput) ToTransitRouterRouteTablePropagationPtrOutputWithContext(ctx context.Context) TransitRouterRouteTablePropagationPtrOutput

type TransitRouterRouteTablePropagationPtrInput added in v3.4.0

type TransitRouterRouteTablePropagationPtrInput interface {
	pulumi.Input

	ToTransitRouterRouteTablePropagationPtrOutput() TransitRouterRouteTablePropagationPtrOutput
	ToTransitRouterRouteTablePropagationPtrOutputWithContext(ctx context.Context) TransitRouterRouteTablePropagationPtrOutput
}

type TransitRouterRouteTablePropagationPtrOutput added in v3.4.0

type TransitRouterRouteTablePropagationPtrOutput struct{ *pulumi.OutputState }

func (TransitRouterRouteTablePropagationPtrOutput) Elem added in v3.9.0

func (TransitRouterRouteTablePropagationPtrOutput) ElementType added in v3.4.0

func (TransitRouterRouteTablePropagationPtrOutput) ToTransitRouterRouteTablePropagationPtrOutput added in v3.4.0

func (o TransitRouterRouteTablePropagationPtrOutput) ToTransitRouterRouteTablePropagationPtrOutput() TransitRouterRouteTablePropagationPtrOutput

func (TransitRouterRouteTablePropagationPtrOutput) ToTransitRouterRouteTablePropagationPtrOutputWithContext added in v3.4.0

func (o TransitRouterRouteTablePropagationPtrOutput) ToTransitRouterRouteTablePropagationPtrOutputWithContext(ctx context.Context) TransitRouterRouteTablePropagationPtrOutput

type TransitRouterRouteTablePropagationState added in v3.4.0

type TransitRouterRouteTablePropagationState struct {
	// The dry run.
	DryRun pulumi.BoolPtrInput
	// The associating status of the network.
	Status pulumi.StringPtrInput
	// The ID the transit router attachment.
	TransitRouterAttachmentId pulumi.StringPtrInput
	// The ID of the transit router route table.
	TransitRouterRouteTableId pulumi.StringPtrInput
}

func (TransitRouterRouteTablePropagationState) ElementType added in v3.4.0

type TransitRouterRouteTablePtrInput added in v3.4.0

type TransitRouterRouteTablePtrInput interface {
	pulumi.Input

	ToTransitRouterRouteTablePtrOutput() TransitRouterRouteTablePtrOutput
	ToTransitRouterRouteTablePtrOutputWithContext(ctx context.Context) TransitRouterRouteTablePtrOutput
}

type TransitRouterRouteTablePtrOutput added in v3.4.0

type TransitRouterRouteTablePtrOutput struct{ *pulumi.OutputState }

func (TransitRouterRouteTablePtrOutput) Elem added in v3.9.0

func (TransitRouterRouteTablePtrOutput) ElementType added in v3.4.0

func (TransitRouterRouteTablePtrOutput) ToTransitRouterRouteTablePtrOutput added in v3.4.0

func (o TransitRouterRouteTablePtrOutput) ToTransitRouterRouteTablePtrOutput() TransitRouterRouteTablePtrOutput

func (TransitRouterRouteTablePtrOutput) ToTransitRouterRouteTablePtrOutputWithContext added in v3.4.0

func (o TransitRouterRouteTablePtrOutput) ToTransitRouterRouteTablePtrOutputWithContext(ctx context.Context) TransitRouterRouteTablePtrOutput

type TransitRouterRouteTableState added in v3.4.0

type TransitRouterRouteTableState struct {
	// The dry run.
	DryRun pulumi.BoolPtrInput
	// The associating status of the Transit Router.
	Status pulumi.StringPtrInput
	// The ID of the transit router.
	TransitRouterId pulumi.StringPtrInput
	// The description of the transit router route table.
	TransitRouterRouteTableDescription pulumi.StringPtrInput
	TransitRouterRouteTableId          pulumi.StringPtrInput
	// The name of the transit router route table.
	TransitRouterRouteTableName pulumi.StringPtrInput
	TransitRouterRouteTableType pulumi.StringPtrInput
}

func (TransitRouterRouteTableState) ElementType added in v3.4.0

type TransitRouterState added in v3.4.0

type TransitRouterState struct {
	// The ID of the CEN.
	CenId pulumi.StringPtrInput
	// The dry run.
	DryRun pulumi.BoolPtrInput
	// The associating status of the Transit Router.
	Status pulumi.StringPtrInput
	// The description of the transit router.
	TransitRouterDescription pulumi.StringPtrInput
	TransitRouterId          pulumi.StringPtrInput
	// The name of the transit router.
	TransitRouterName pulumi.StringPtrInput
	// The Type of the Transit Router. Valid values: `Enterprise`, `Basic`.
	Type pulumi.StringPtrInput
}

func (TransitRouterState) ElementType added in v3.4.0

func (TransitRouterState) ElementType() reflect.Type

type TransitRouterVbrAttachment added in v3.4.0

type TransitRouterVbrAttachment struct {
	pulumi.CustomResourceState

	// Auto publish route enabled.Default value is `false`.
	AutoPublishRouteEnabled pulumi.BoolOutput `pulumi:"autoPublishRouteEnabled"`
	// The ID of the CEN.
	CenId pulumi.StringOutput `pulumi:"cenId"`
	// The dry run.
	DryRun       pulumi.BoolPtrOutput   `pulumi:"dryRun"`
	ResourceType pulumi.StringPtrOutput `pulumi:"resourceType"`
	// Whether to enabled route table association. The system default value is `true`.
	RouteTableAssociationEnabled pulumi.BoolPtrOutput `pulumi:"routeTableAssociationEnabled"`
	// Whether to enabled route table propagation. The system default value is `true`.
	RouteTablePropagationEnabled pulumi.BoolPtrOutput `pulumi:"routeTablePropagationEnabled"`
	// The associating status of the network.
	Status pulumi.StringOutput `pulumi:"status"`
	// The description of the transit router vbr attachment.
	TransitRouterAttachmentDescription pulumi.StringPtrOutput `pulumi:"transitRouterAttachmentDescription"`
	TransitRouterAttachmentId          pulumi.StringOutput    `pulumi:"transitRouterAttachmentId"`
	// The name of the transit router vbr attachment.
	TransitRouterAttachmentName pulumi.StringPtrOutput `pulumi:"transitRouterAttachmentName"`
	// The ID of the transit router.
	TransitRouterId pulumi.StringPtrOutput `pulumi:"transitRouterId"`
	// The ID of the VBR.
	VbrId      pulumi.StringOutput `pulumi:"vbrId"`
	VbrOwnerId pulumi.StringOutput `pulumi:"vbrOwnerId"`
}

Provides a CEN transit router VBR attachment resource that associate the VBR with the CEN instance.[What is Cen Transit Router VBR Attachment](https://help.aliyun.com/document_detail/261361.html)

> **NOTE:** Available in 1.126.0+

## Import

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

```sh

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

```

func GetTransitRouterVbrAttachment added in v3.4.0

func GetTransitRouterVbrAttachment(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *TransitRouterVbrAttachmentState, opts ...pulumi.ResourceOption) (*TransitRouterVbrAttachment, error)

GetTransitRouterVbrAttachment gets an existing TransitRouterVbrAttachment resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewTransitRouterVbrAttachment added in v3.4.0

func NewTransitRouterVbrAttachment(ctx *pulumi.Context,
	name string, args *TransitRouterVbrAttachmentArgs, opts ...pulumi.ResourceOption) (*TransitRouterVbrAttachment, error)

NewTransitRouterVbrAttachment registers a new resource with the given unique name, arguments, and options.

func (*TransitRouterVbrAttachment) ElementType added in v3.4.0

func (*TransitRouterVbrAttachment) ElementType() reflect.Type

func (*TransitRouterVbrAttachment) ToTransitRouterVbrAttachmentOutput added in v3.4.0

func (i *TransitRouterVbrAttachment) ToTransitRouterVbrAttachmentOutput() TransitRouterVbrAttachmentOutput

func (*TransitRouterVbrAttachment) ToTransitRouterVbrAttachmentOutputWithContext added in v3.4.0

func (i *TransitRouterVbrAttachment) ToTransitRouterVbrAttachmentOutputWithContext(ctx context.Context) TransitRouterVbrAttachmentOutput

func (*TransitRouterVbrAttachment) ToTransitRouterVbrAttachmentPtrOutput added in v3.4.0

func (i *TransitRouterVbrAttachment) ToTransitRouterVbrAttachmentPtrOutput() TransitRouterVbrAttachmentPtrOutput

func (*TransitRouterVbrAttachment) ToTransitRouterVbrAttachmentPtrOutputWithContext added in v3.4.0

func (i *TransitRouterVbrAttachment) ToTransitRouterVbrAttachmentPtrOutputWithContext(ctx context.Context) TransitRouterVbrAttachmentPtrOutput

type TransitRouterVbrAttachmentArgs added in v3.4.0

type TransitRouterVbrAttachmentArgs struct {
	// Auto publish route enabled.Default value is `false`.
	AutoPublishRouteEnabled pulumi.BoolPtrInput
	// The ID of the CEN.
	CenId pulumi.StringInput
	// The dry run.
	DryRun       pulumi.BoolPtrInput
	ResourceType pulumi.StringPtrInput
	// Whether to enabled route table association. The system default value is `true`.
	RouteTableAssociationEnabled pulumi.BoolPtrInput
	// Whether to enabled route table propagation. The system default value is `true`.
	RouteTablePropagationEnabled pulumi.BoolPtrInput
	// The description of the transit router vbr attachment.
	TransitRouterAttachmentDescription pulumi.StringPtrInput
	// The name of the transit router vbr attachment.
	TransitRouterAttachmentName pulumi.StringPtrInput
	// The ID of the transit router.
	TransitRouterId pulumi.StringPtrInput
	// The ID of the VBR.
	VbrId      pulumi.StringInput
	VbrOwnerId pulumi.StringPtrInput
}

The set of arguments for constructing a TransitRouterVbrAttachment resource.

func (TransitRouterVbrAttachmentArgs) ElementType added in v3.4.0

type TransitRouterVbrAttachmentArray added in v3.4.0

type TransitRouterVbrAttachmentArray []TransitRouterVbrAttachmentInput

func (TransitRouterVbrAttachmentArray) ElementType added in v3.4.0

func (TransitRouterVbrAttachmentArray) ToTransitRouterVbrAttachmentArrayOutput added in v3.4.0

func (i TransitRouterVbrAttachmentArray) ToTransitRouterVbrAttachmentArrayOutput() TransitRouterVbrAttachmentArrayOutput

func (TransitRouterVbrAttachmentArray) ToTransitRouterVbrAttachmentArrayOutputWithContext added in v3.4.0

func (i TransitRouterVbrAttachmentArray) ToTransitRouterVbrAttachmentArrayOutputWithContext(ctx context.Context) TransitRouterVbrAttachmentArrayOutput

type TransitRouterVbrAttachmentArrayInput added in v3.4.0

type TransitRouterVbrAttachmentArrayInput interface {
	pulumi.Input

	ToTransitRouterVbrAttachmentArrayOutput() TransitRouterVbrAttachmentArrayOutput
	ToTransitRouterVbrAttachmentArrayOutputWithContext(context.Context) TransitRouterVbrAttachmentArrayOutput
}

TransitRouterVbrAttachmentArrayInput is an input type that accepts TransitRouterVbrAttachmentArray and TransitRouterVbrAttachmentArrayOutput values. You can construct a concrete instance of `TransitRouterVbrAttachmentArrayInput` via:

TransitRouterVbrAttachmentArray{ TransitRouterVbrAttachmentArgs{...} }

type TransitRouterVbrAttachmentArrayOutput added in v3.4.0

type TransitRouterVbrAttachmentArrayOutput struct{ *pulumi.OutputState }

func (TransitRouterVbrAttachmentArrayOutput) ElementType added in v3.4.0

func (TransitRouterVbrAttachmentArrayOutput) Index added in v3.4.0

func (TransitRouterVbrAttachmentArrayOutput) ToTransitRouterVbrAttachmentArrayOutput added in v3.4.0

func (o TransitRouterVbrAttachmentArrayOutput) ToTransitRouterVbrAttachmentArrayOutput() TransitRouterVbrAttachmentArrayOutput

func (TransitRouterVbrAttachmentArrayOutput) ToTransitRouterVbrAttachmentArrayOutputWithContext added in v3.4.0

func (o TransitRouterVbrAttachmentArrayOutput) ToTransitRouterVbrAttachmentArrayOutputWithContext(ctx context.Context) TransitRouterVbrAttachmentArrayOutput

type TransitRouterVbrAttachmentInput added in v3.4.0

type TransitRouterVbrAttachmentInput interface {
	pulumi.Input

	ToTransitRouterVbrAttachmentOutput() TransitRouterVbrAttachmentOutput
	ToTransitRouterVbrAttachmentOutputWithContext(ctx context.Context) TransitRouterVbrAttachmentOutput
}

type TransitRouterVbrAttachmentMap added in v3.4.0

type TransitRouterVbrAttachmentMap map[string]TransitRouterVbrAttachmentInput

func (TransitRouterVbrAttachmentMap) ElementType added in v3.4.0

func (TransitRouterVbrAttachmentMap) ToTransitRouterVbrAttachmentMapOutput added in v3.4.0

func (i TransitRouterVbrAttachmentMap) ToTransitRouterVbrAttachmentMapOutput() TransitRouterVbrAttachmentMapOutput

func (TransitRouterVbrAttachmentMap) ToTransitRouterVbrAttachmentMapOutputWithContext added in v3.4.0

func (i TransitRouterVbrAttachmentMap) ToTransitRouterVbrAttachmentMapOutputWithContext(ctx context.Context) TransitRouterVbrAttachmentMapOutput

type TransitRouterVbrAttachmentMapInput added in v3.4.0

type TransitRouterVbrAttachmentMapInput interface {
	pulumi.Input

	ToTransitRouterVbrAttachmentMapOutput() TransitRouterVbrAttachmentMapOutput
	ToTransitRouterVbrAttachmentMapOutputWithContext(context.Context) TransitRouterVbrAttachmentMapOutput
}

TransitRouterVbrAttachmentMapInput is an input type that accepts TransitRouterVbrAttachmentMap and TransitRouterVbrAttachmentMapOutput values. You can construct a concrete instance of `TransitRouterVbrAttachmentMapInput` via:

TransitRouterVbrAttachmentMap{ "key": TransitRouterVbrAttachmentArgs{...} }

type TransitRouterVbrAttachmentMapOutput added in v3.4.0

type TransitRouterVbrAttachmentMapOutput struct{ *pulumi.OutputState }

func (TransitRouterVbrAttachmentMapOutput) ElementType added in v3.4.0

func (TransitRouterVbrAttachmentMapOutput) MapIndex added in v3.4.0

func (TransitRouterVbrAttachmentMapOutput) ToTransitRouterVbrAttachmentMapOutput added in v3.4.0

func (o TransitRouterVbrAttachmentMapOutput) ToTransitRouterVbrAttachmentMapOutput() TransitRouterVbrAttachmentMapOutput

func (TransitRouterVbrAttachmentMapOutput) ToTransitRouterVbrAttachmentMapOutputWithContext added in v3.4.0

func (o TransitRouterVbrAttachmentMapOutput) ToTransitRouterVbrAttachmentMapOutputWithContext(ctx context.Context) TransitRouterVbrAttachmentMapOutput

type TransitRouterVbrAttachmentOutput added in v3.4.0

type TransitRouterVbrAttachmentOutput struct{ *pulumi.OutputState }

func (TransitRouterVbrAttachmentOutput) ElementType added in v3.4.0

func (TransitRouterVbrAttachmentOutput) ToTransitRouterVbrAttachmentOutput added in v3.4.0

func (o TransitRouterVbrAttachmentOutput) ToTransitRouterVbrAttachmentOutput() TransitRouterVbrAttachmentOutput

func (TransitRouterVbrAttachmentOutput) ToTransitRouterVbrAttachmentOutputWithContext added in v3.4.0

func (o TransitRouterVbrAttachmentOutput) ToTransitRouterVbrAttachmentOutputWithContext(ctx context.Context) TransitRouterVbrAttachmentOutput

func (TransitRouterVbrAttachmentOutput) ToTransitRouterVbrAttachmentPtrOutput added in v3.4.0

func (o TransitRouterVbrAttachmentOutput) ToTransitRouterVbrAttachmentPtrOutput() TransitRouterVbrAttachmentPtrOutput

func (TransitRouterVbrAttachmentOutput) ToTransitRouterVbrAttachmentPtrOutputWithContext added in v3.4.0

func (o TransitRouterVbrAttachmentOutput) ToTransitRouterVbrAttachmentPtrOutputWithContext(ctx context.Context) TransitRouterVbrAttachmentPtrOutput

type TransitRouterVbrAttachmentPtrInput added in v3.4.0

type TransitRouterVbrAttachmentPtrInput interface {
	pulumi.Input

	ToTransitRouterVbrAttachmentPtrOutput() TransitRouterVbrAttachmentPtrOutput
	ToTransitRouterVbrAttachmentPtrOutputWithContext(ctx context.Context) TransitRouterVbrAttachmentPtrOutput
}

type TransitRouterVbrAttachmentPtrOutput added in v3.4.0

type TransitRouterVbrAttachmentPtrOutput struct{ *pulumi.OutputState }

func (TransitRouterVbrAttachmentPtrOutput) Elem added in v3.9.0

func (TransitRouterVbrAttachmentPtrOutput) ElementType added in v3.4.0

func (TransitRouterVbrAttachmentPtrOutput) ToTransitRouterVbrAttachmentPtrOutput added in v3.4.0

func (o TransitRouterVbrAttachmentPtrOutput) ToTransitRouterVbrAttachmentPtrOutput() TransitRouterVbrAttachmentPtrOutput

func (TransitRouterVbrAttachmentPtrOutput) ToTransitRouterVbrAttachmentPtrOutputWithContext added in v3.4.0

func (o TransitRouterVbrAttachmentPtrOutput) ToTransitRouterVbrAttachmentPtrOutputWithContext(ctx context.Context) TransitRouterVbrAttachmentPtrOutput

type TransitRouterVbrAttachmentState added in v3.4.0

type TransitRouterVbrAttachmentState struct {
	// Auto publish route enabled.Default value is `false`.
	AutoPublishRouteEnabled pulumi.BoolPtrInput
	// The ID of the CEN.
	CenId pulumi.StringPtrInput
	// The dry run.
	DryRun       pulumi.BoolPtrInput
	ResourceType pulumi.StringPtrInput
	// Whether to enabled route table association. The system default value is `true`.
	RouteTableAssociationEnabled pulumi.BoolPtrInput
	// Whether to enabled route table propagation. The system default value is `true`.
	RouteTablePropagationEnabled pulumi.BoolPtrInput
	// The associating status of the network.
	Status pulumi.StringPtrInput
	// The description of the transit router vbr attachment.
	TransitRouterAttachmentDescription pulumi.StringPtrInput
	TransitRouterAttachmentId          pulumi.StringPtrInput
	// The name of the transit router vbr attachment.
	TransitRouterAttachmentName pulumi.StringPtrInput
	// The ID of the transit router.
	TransitRouterId pulumi.StringPtrInput
	// The ID of the VBR.
	VbrId      pulumi.StringPtrInput
	VbrOwnerId pulumi.StringPtrInput
}

func (TransitRouterVbrAttachmentState) ElementType added in v3.4.0

type TransitRouterVpcAttachment added in v3.4.0

type TransitRouterVpcAttachment struct {
	pulumi.CustomResourceState

	// Whether to create vpc route automatically. The system default value is `true`.
	AutoCreateVpcRoute pulumi.BoolPtrOutput `pulumi:"autoCreateVpcRoute"`
	// The ID of the CEN.
	CenId pulumi.StringOutput `pulumi:"cenId"`
	// The dry run.
	DryRun pulumi.BoolPtrOutput `pulumi:"dryRun"`
	// The resource type of transit router vpc attachment. Valid value `VPC`. Default value is `VPC`.
	ResourceType pulumi.StringPtrOutput `pulumi:"resourceType"`
	// Whether to enabled route table association. The system default value is `true`.
	RouteTableAssociationEnabled pulumi.BoolPtrOutput `pulumi:"routeTableAssociationEnabled"`
	// Whether to enabled route table propagation. The system default value is `true`.
	RouteTablePropagationEnabled pulumi.BoolPtrOutput `pulumi:"routeTablePropagationEnabled"`
	// The associating status of the network.
	Status pulumi.StringOutput `pulumi:"status"`
	// The description of the transit router vbr attachment.
	TransitRouterAttachmentDescription pulumi.StringPtrOutput `pulumi:"transitRouterAttachmentDescription"`
	// The ID of transit router attachment.
	TransitRouterAttachmentId pulumi.StringOutput `pulumi:"transitRouterAttachmentId"`
	// The name of the transit router vbr attachment.
	TransitRouterAttachmentName pulumi.StringPtrOutput `pulumi:"transitRouterAttachmentName"`
	// The ID of the transit router.
	TransitRouterId pulumi.StringPtrOutput `pulumi:"transitRouterId"`
	// The ID of the VPC.
	VpcId pulumi.StringOutput `pulumi:"vpcId"`
	// The owner id of vpc.
	VpcOwnerId   pulumi.StringOutput                              `pulumi:"vpcOwnerId"`
	ZoneMappings TransitRouterVpcAttachmentZoneMappingArrayOutput `pulumi:"zoneMappings"`
}

Provides a CEN transit router VPC attachment resource that associate the VPC with the CEN instance. [What is Cen Transit Router VPC Attachment](https://help.aliyun.com/document_detail/261358.html)

> **NOTE:** Available in 1.126.0+

## Import

CEN instance can be imported using the id, e.g.

```sh

$ pulumi import alicloud:cen/transitRouterVpcAttachment:TransitRouterVpcAttachment example tr-********:tr-attach-********

```

func GetTransitRouterVpcAttachment added in v3.4.0

func GetTransitRouterVpcAttachment(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *TransitRouterVpcAttachmentState, opts ...pulumi.ResourceOption) (*TransitRouterVpcAttachment, error)

GetTransitRouterVpcAttachment gets an existing TransitRouterVpcAttachment resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewTransitRouterVpcAttachment added in v3.4.0

func NewTransitRouterVpcAttachment(ctx *pulumi.Context,
	name string, args *TransitRouterVpcAttachmentArgs, opts ...pulumi.ResourceOption) (*TransitRouterVpcAttachment, error)

NewTransitRouterVpcAttachment registers a new resource with the given unique name, arguments, and options.

func (*TransitRouterVpcAttachment) ElementType added in v3.4.0

func (*TransitRouterVpcAttachment) ElementType() reflect.Type

func (*TransitRouterVpcAttachment) ToTransitRouterVpcAttachmentOutput added in v3.4.0

func (i *TransitRouterVpcAttachment) ToTransitRouterVpcAttachmentOutput() TransitRouterVpcAttachmentOutput

func (*TransitRouterVpcAttachment) ToTransitRouterVpcAttachmentOutputWithContext added in v3.4.0

func (i *TransitRouterVpcAttachment) ToTransitRouterVpcAttachmentOutputWithContext(ctx context.Context) TransitRouterVpcAttachmentOutput

func (*TransitRouterVpcAttachment) ToTransitRouterVpcAttachmentPtrOutput added in v3.4.0

func (i *TransitRouterVpcAttachment) ToTransitRouterVpcAttachmentPtrOutput() TransitRouterVpcAttachmentPtrOutput

func (*TransitRouterVpcAttachment) ToTransitRouterVpcAttachmentPtrOutputWithContext added in v3.4.0

func (i *TransitRouterVpcAttachment) ToTransitRouterVpcAttachmentPtrOutputWithContext(ctx context.Context) TransitRouterVpcAttachmentPtrOutput

type TransitRouterVpcAttachmentArgs added in v3.4.0

type TransitRouterVpcAttachmentArgs struct {
	// Whether to create vpc route automatically. The system default value is `true`.
	AutoCreateVpcRoute pulumi.BoolPtrInput
	// The ID of the CEN.
	CenId pulumi.StringInput
	// The dry run.
	DryRun pulumi.BoolPtrInput
	// The resource type of transit router vpc attachment. Valid value `VPC`. Default value is `VPC`.
	ResourceType pulumi.StringPtrInput
	// Whether to enabled route table association. The system default value is `true`.
	RouteTableAssociationEnabled pulumi.BoolPtrInput
	// Whether to enabled route table propagation. The system default value is `true`.
	RouteTablePropagationEnabled pulumi.BoolPtrInput
	// The description of the transit router vbr attachment.
	TransitRouterAttachmentDescription pulumi.StringPtrInput
	// The name of the transit router vbr attachment.
	TransitRouterAttachmentName pulumi.StringPtrInput
	// The ID of the transit router.
	TransitRouterId pulumi.StringPtrInput
	// The ID of the VPC.
	VpcId pulumi.StringInput
	// The owner id of vpc.
	VpcOwnerId   pulumi.StringPtrInput
	ZoneMappings TransitRouterVpcAttachmentZoneMappingArrayInput
}

The set of arguments for constructing a TransitRouterVpcAttachment resource.

func (TransitRouterVpcAttachmentArgs) ElementType added in v3.4.0

type TransitRouterVpcAttachmentArray added in v3.4.0

type TransitRouterVpcAttachmentArray []TransitRouterVpcAttachmentInput

func (TransitRouterVpcAttachmentArray) ElementType added in v3.4.0

func (TransitRouterVpcAttachmentArray) ToTransitRouterVpcAttachmentArrayOutput added in v3.4.0

func (i TransitRouterVpcAttachmentArray) ToTransitRouterVpcAttachmentArrayOutput() TransitRouterVpcAttachmentArrayOutput

func (TransitRouterVpcAttachmentArray) ToTransitRouterVpcAttachmentArrayOutputWithContext added in v3.4.0

func (i TransitRouterVpcAttachmentArray) ToTransitRouterVpcAttachmentArrayOutputWithContext(ctx context.Context) TransitRouterVpcAttachmentArrayOutput

type TransitRouterVpcAttachmentArrayInput added in v3.4.0

type TransitRouterVpcAttachmentArrayInput interface {
	pulumi.Input

	ToTransitRouterVpcAttachmentArrayOutput() TransitRouterVpcAttachmentArrayOutput
	ToTransitRouterVpcAttachmentArrayOutputWithContext(context.Context) TransitRouterVpcAttachmentArrayOutput
}

TransitRouterVpcAttachmentArrayInput is an input type that accepts TransitRouterVpcAttachmentArray and TransitRouterVpcAttachmentArrayOutput values. You can construct a concrete instance of `TransitRouterVpcAttachmentArrayInput` via:

TransitRouterVpcAttachmentArray{ TransitRouterVpcAttachmentArgs{...} }

type TransitRouterVpcAttachmentArrayOutput added in v3.4.0

type TransitRouterVpcAttachmentArrayOutput struct{ *pulumi.OutputState }

func (TransitRouterVpcAttachmentArrayOutput) ElementType added in v3.4.0

func (TransitRouterVpcAttachmentArrayOutput) Index added in v3.4.0

func (TransitRouterVpcAttachmentArrayOutput) ToTransitRouterVpcAttachmentArrayOutput added in v3.4.0

func (o TransitRouterVpcAttachmentArrayOutput) ToTransitRouterVpcAttachmentArrayOutput() TransitRouterVpcAttachmentArrayOutput

func (TransitRouterVpcAttachmentArrayOutput) ToTransitRouterVpcAttachmentArrayOutputWithContext added in v3.4.0

func (o TransitRouterVpcAttachmentArrayOutput) ToTransitRouterVpcAttachmentArrayOutputWithContext(ctx context.Context) TransitRouterVpcAttachmentArrayOutput

type TransitRouterVpcAttachmentInput added in v3.4.0

type TransitRouterVpcAttachmentInput interface {
	pulumi.Input

	ToTransitRouterVpcAttachmentOutput() TransitRouterVpcAttachmentOutput
	ToTransitRouterVpcAttachmentOutputWithContext(ctx context.Context) TransitRouterVpcAttachmentOutput
}

type TransitRouterVpcAttachmentMap added in v3.4.0

type TransitRouterVpcAttachmentMap map[string]TransitRouterVpcAttachmentInput

func (TransitRouterVpcAttachmentMap) ElementType added in v3.4.0

func (TransitRouterVpcAttachmentMap) ToTransitRouterVpcAttachmentMapOutput added in v3.4.0

func (i TransitRouterVpcAttachmentMap) ToTransitRouterVpcAttachmentMapOutput() TransitRouterVpcAttachmentMapOutput

func (TransitRouterVpcAttachmentMap) ToTransitRouterVpcAttachmentMapOutputWithContext added in v3.4.0

func (i TransitRouterVpcAttachmentMap) ToTransitRouterVpcAttachmentMapOutputWithContext(ctx context.Context) TransitRouterVpcAttachmentMapOutput

type TransitRouterVpcAttachmentMapInput added in v3.4.0

type TransitRouterVpcAttachmentMapInput interface {
	pulumi.Input

	ToTransitRouterVpcAttachmentMapOutput() TransitRouterVpcAttachmentMapOutput
	ToTransitRouterVpcAttachmentMapOutputWithContext(context.Context) TransitRouterVpcAttachmentMapOutput
}

TransitRouterVpcAttachmentMapInput is an input type that accepts TransitRouterVpcAttachmentMap and TransitRouterVpcAttachmentMapOutput values. You can construct a concrete instance of `TransitRouterVpcAttachmentMapInput` via:

TransitRouterVpcAttachmentMap{ "key": TransitRouterVpcAttachmentArgs{...} }

type TransitRouterVpcAttachmentMapOutput added in v3.4.0

type TransitRouterVpcAttachmentMapOutput struct{ *pulumi.OutputState }

func (TransitRouterVpcAttachmentMapOutput) ElementType added in v3.4.0

func (TransitRouterVpcAttachmentMapOutput) MapIndex added in v3.4.0

func (TransitRouterVpcAttachmentMapOutput) ToTransitRouterVpcAttachmentMapOutput added in v3.4.0

func (o TransitRouterVpcAttachmentMapOutput) ToTransitRouterVpcAttachmentMapOutput() TransitRouterVpcAttachmentMapOutput

func (TransitRouterVpcAttachmentMapOutput) ToTransitRouterVpcAttachmentMapOutputWithContext added in v3.4.0

func (o TransitRouterVpcAttachmentMapOutput) ToTransitRouterVpcAttachmentMapOutputWithContext(ctx context.Context) TransitRouterVpcAttachmentMapOutput

type TransitRouterVpcAttachmentOutput added in v3.4.0

type TransitRouterVpcAttachmentOutput struct{ *pulumi.OutputState }

func (TransitRouterVpcAttachmentOutput) ElementType added in v3.4.0

func (TransitRouterVpcAttachmentOutput) ToTransitRouterVpcAttachmentOutput added in v3.4.0

func (o TransitRouterVpcAttachmentOutput) ToTransitRouterVpcAttachmentOutput() TransitRouterVpcAttachmentOutput

func (TransitRouterVpcAttachmentOutput) ToTransitRouterVpcAttachmentOutputWithContext added in v3.4.0

func (o TransitRouterVpcAttachmentOutput) ToTransitRouterVpcAttachmentOutputWithContext(ctx context.Context) TransitRouterVpcAttachmentOutput

func (TransitRouterVpcAttachmentOutput) ToTransitRouterVpcAttachmentPtrOutput added in v3.4.0

func (o TransitRouterVpcAttachmentOutput) ToTransitRouterVpcAttachmentPtrOutput() TransitRouterVpcAttachmentPtrOutput

func (TransitRouterVpcAttachmentOutput) ToTransitRouterVpcAttachmentPtrOutputWithContext added in v3.4.0

func (o TransitRouterVpcAttachmentOutput) ToTransitRouterVpcAttachmentPtrOutputWithContext(ctx context.Context) TransitRouterVpcAttachmentPtrOutput

type TransitRouterVpcAttachmentPtrInput added in v3.4.0

type TransitRouterVpcAttachmentPtrInput interface {
	pulumi.Input

	ToTransitRouterVpcAttachmentPtrOutput() TransitRouterVpcAttachmentPtrOutput
	ToTransitRouterVpcAttachmentPtrOutputWithContext(ctx context.Context) TransitRouterVpcAttachmentPtrOutput
}

type TransitRouterVpcAttachmentPtrOutput added in v3.4.0

type TransitRouterVpcAttachmentPtrOutput struct{ *pulumi.OutputState }

func (TransitRouterVpcAttachmentPtrOutput) Elem added in v3.9.0

func (TransitRouterVpcAttachmentPtrOutput) ElementType added in v3.4.0

func (TransitRouterVpcAttachmentPtrOutput) ToTransitRouterVpcAttachmentPtrOutput added in v3.4.0

func (o TransitRouterVpcAttachmentPtrOutput) ToTransitRouterVpcAttachmentPtrOutput() TransitRouterVpcAttachmentPtrOutput

func (TransitRouterVpcAttachmentPtrOutput) ToTransitRouterVpcAttachmentPtrOutputWithContext added in v3.4.0

func (o TransitRouterVpcAttachmentPtrOutput) ToTransitRouterVpcAttachmentPtrOutputWithContext(ctx context.Context) TransitRouterVpcAttachmentPtrOutput

type TransitRouterVpcAttachmentState added in v3.4.0

type TransitRouterVpcAttachmentState struct {
	// Whether to create vpc route automatically. The system default value is `true`.
	AutoCreateVpcRoute pulumi.BoolPtrInput
	// The ID of the CEN.
	CenId pulumi.StringPtrInput
	// The dry run.
	DryRun pulumi.BoolPtrInput
	// The resource type of transit router vpc attachment. Valid value `VPC`. Default value is `VPC`.
	ResourceType pulumi.StringPtrInput
	// Whether to enabled route table association. The system default value is `true`.
	RouteTableAssociationEnabled pulumi.BoolPtrInput
	// Whether to enabled route table propagation. The system default value is `true`.
	RouteTablePropagationEnabled pulumi.BoolPtrInput
	// The associating status of the network.
	Status pulumi.StringPtrInput
	// The description of the transit router vbr attachment.
	TransitRouterAttachmentDescription pulumi.StringPtrInput
	// The ID of transit router attachment.
	TransitRouterAttachmentId pulumi.StringPtrInput
	// The name of the transit router vbr attachment.
	TransitRouterAttachmentName pulumi.StringPtrInput
	// The ID of the transit router.
	TransitRouterId pulumi.StringPtrInput
	// The ID of the VPC.
	VpcId pulumi.StringPtrInput
	// The owner id of vpc.
	VpcOwnerId   pulumi.StringPtrInput
	ZoneMappings TransitRouterVpcAttachmentZoneMappingArrayInput
}

func (TransitRouterVpcAttachmentState) ElementType added in v3.4.0

type TransitRouterVpcAttachmentZoneMapping added in v3.4.0

type TransitRouterVpcAttachmentZoneMapping struct {
	// The VSwitch id of attachment.
	VswitchId *string `pulumi:"vswitchId"`
	// The zone Id of VSwitch.
	ZoneId *string `pulumi:"zoneId"`
}

type TransitRouterVpcAttachmentZoneMappingArgs added in v3.4.0

type TransitRouterVpcAttachmentZoneMappingArgs struct {
	// The VSwitch id of attachment.
	VswitchId pulumi.StringPtrInput `pulumi:"vswitchId"`
	// The zone Id of VSwitch.
	ZoneId pulumi.StringPtrInput `pulumi:"zoneId"`
}

func (TransitRouterVpcAttachmentZoneMappingArgs) ElementType added in v3.4.0

func (TransitRouterVpcAttachmentZoneMappingArgs) ToTransitRouterVpcAttachmentZoneMappingOutput added in v3.4.0

func (i TransitRouterVpcAttachmentZoneMappingArgs) ToTransitRouterVpcAttachmentZoneMappingOutput() TransitRouterVpcAttachmentZoneMappingOutput

func (TransitRouterVpcAttachmentZoneMappingArgs) ToTransitRouterVpcAttachmentZoneMappingOutputWithContext added in v3.4.0

func (i TransitRouterVpcAttachmentZoneMappingArgs) ToTransitRouterVpcAttachmentZoneMappingOutputWithContext(ctx context.Context) TransitRouterVpcAttachmentZoneMappingOutput

type TransitRouterVpcAttachmentZoneMappingArray added in v3.4.0

type TransitRouterVpcAttachmentZoneMappingArray []TransitRouterVpcAttachmentZoneMappingInput

func (TransitRouterVpcAttachmentZoneMappingArray) ElementType added in v3.4.0

func (TransitRouterVpcAttachmentZoneMappingArray) ToTransitRouterVpcAttachmentZoneMappingArrayOutput added in v3.4.0

func (i TransitRouterVpcAttachmentZoneMappingArray) ToTransitRouterVpcAttachmentZoneMappingArrayOutput() TransitRouterVpcAttachmentZoneMappingArrayOutput

func (TransitRouterVpcAttachmentZoneMappingArray) ToTransitRouterVpcAttachmentZoneMappingArrayOutputWithContext added in v3.4.0

func (i TransitRouterVpcAttachmentZoneMappingArray) ToTransitRouterVpcAttachmentZoneMappingArrayOutputWithContext(ctx context.Context) TransitRouterVpcAttachmentZoneMappingArrayOutput

type TransitRouterVpcAttachmentZoneMappingArrayInput added in v3.4.0

type TransitRouterVpcAttachmentZoneMappingArrayInput interface {
	pulumi.Input

	ToTransitRouterVpcAttachmentZoneMappingArrayOutput() TransitRouterVpcAttachmentZoneMappingArrayOutput
	ToTransitRouterVpcAttachmentZoneMappingArrayOutputWithContext(context.Context) TransitRouterVpcAttachmentZoneMappingArrayOutput
}

TransitRouterVpcAttachmentZoneMappingArrayInput is an input type that accepts TransitRouterVpcAttachmentZoneMappingArray and TransitRouterVpcAttachmentZoneMappingArrayOutput values. You can construct a concrete instance of `TransitRouterVpcAttachmentZoneMappingArrayInput` via:

TransitRouterVpcAttachmentZoneMappingArray{ TransitRouterVpcAttachmentZoneMappingArgs{...} }

type TransitRouterVpcAttachmentZoneMappingArrayOutput added in v3.4.0

type TransitRouterVpcAttachmentZoneMappingArrayOutput struct{ *pulumi.OutputState }

func (TransitRouterVpcAttachmentZoneMappingArrayOutput) ElementType added in v3.4.0

func (TransitRouterVpcAttachmentZoneMappingArrayOutput) Index added in v3.4.0

func (TransitRouterVpcAttachmentZoneMappingArrayOutput) ToTransitRouterVpcAttachmentZoneMappingArrayOutput added in v3.4.0

func (o TransitRouterVpcAttachmentZoneMappingArrayOutput) ToTransitRouterVpcAttachmentZoneMappingArrayOutput() TransitRouterVpcAttachmentZoneMappingArrayOutput

func (TransitRouterVpcAttachmentZoneMappingArrayOutput) ToTransitRouterVpcAttachmentZoneMappingArrayOutputWithContext added in v3.4.0

func (o TransitRouterVpcAttachmentZoneMappingArrayOutput) ToTransitRouterVpcAttachmentZoneMappingArrayOutputWithContext(ctx context.Context) TransitRouterVpcAttachmentZoneMappingArrayOutput

type TransitRouterVpcAttachmentZoneMappingInput added in v3.4.0

type TransitRouterVpcAttachmentZoneMappingInput interface {
	pulumi.Input

	ToTransitRouterVpcAttachmentZoneMappingOutput() TransitRouterVpcAttachmentZoneMappingOutput
	ToTransitRouterVpcAttachmentZoneMappingOutputWithContext(context.Context) TransitRouterVpcAttachmentZoneMappingOutput
}

TransitRouterVpcAttachmentZoneMappingInput is an input type that accepts TransitRouterVpcAttachmentZoneMappingArgs and TransitRouterVpcAttachmentZoneMappingOutput values. You can construct a concrete instance of `TransitRouterVpcAttachmentZoneMappingInput` via:

TransitRouterVpcAttachmentZoneMappingArgs{...}

type TransitRouterVpcAttachmentZoneMappingOutput added in v3.4.0

type TransitRouterVpcAttachmentZoneMappingOutput struct{ *pulumi.OutputState }

func (TransitRouterVpcAttachmentZoneMappingOutput) ElementType added in v3.4.0

func (TransitRouterVpcAttachmentZoneMappingOutput) ToTransitRouterVpcAttachmentZoneMappingOutput added in v3.4.0

func (o TransitRouterVpcAttachmentZoneMappingOutput) ToTransitRouterVpcAttachmentZoneMappingOutput() TransitRouterVpcAttachmentZoneMappingOutput

func (TransitRouterVpcAttachmentZoneMappingOutput) ToTransitRouterVpcAttachmentZoneMappingOutputWithContext added in v3.4.0

func (o TransitRouterVpcAttachmentZoneMappingOutput) ToTransitRouterVpcAttachmentZoneMappingOutputWithContext(ctx context.Context) TransitRouterVpcAttachmentZoneMappingOutput

func (TransitRouterVpcAttachmentZoneMappingOutput) VswitchId added in v3.4.0

The VSwitch id of attachment.

func (TransitRouterVpcAttachmentZoneMappingOutput) ZoneId added in v3.4.0

The zone Id of VSwitch.

type VbrHealthCheck

type VbrHealthCheck struct {
	pulumi.CustomResourceState

	// The ID of the CEN instance.
	CenId pulumi.StringOutput `pulumi:"cenId"`
	// Specifies the interval at which the health check sends continuous detection packets. Default value: 2. Value range: 2 to 3.
	HealthCheckInterval pulumi.IntPtrOutput `pulumi:"healthCheckInterval"`
	// The source IP address of health checks.
	HealthCheckSourceIp pulumi.StringPtrOutput `pulumi:"healthCheckSourceIp"`
	// The destination IP address of health checks.
	HealthCheckTargetIp pulumi.StringOutput `pulumi:"healthCheckTargetIp"`
	// Specifies the number of probe messages sent by the health check. Default value: 8. Value range: 3 to 8.
	HealthyThreshold pulumi.IntPtrOutput `pulumi:"healthyThreshold"`
	// The ID of the VBR.
	VbrInstanceId pulumi.StringOutput `pulumi:"vbrInstanceId"`
	// The ID of the account to which the VBR belongs.
	VbrInstanceOwnerId pulumi.IntPtrOutput `pulumi:"vbrInstanceOwnerId"`
	// The ID of the region to which the VBR belongs.
	VbrInstanceRegionId pulumi.StringOutput `pulumi:"vbrInstanceRegionId"`
}

This topic describes how to configure the health check feature for a Cloud Enterprise Network (CEN) instance. After you attach a Virtual Border Router (VBR) to the CEN instance and configure the health check feature, you can monitor the network conditions of the on-premises data center connected to the VBR.

For information about CEN VBR HealthCheck and how to use it, see [Manage CEN VBR HealthCheck](https://www.alibabacloud.com/help/en/doc-detail/71141.htm).

> **NOTE:** Available in 1.88.0+

## Example Usage

Basic Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/cen"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		defaultInstance, err := cen.NewInstance(ctx, "defaultInstance", &cen.InstanceArgs{
			CenInstanceName: pulumi.String("test_name"),
		})
		if err != nil {
			return err
		}
		defaultInstanceAttachment, err := cen.NewInstanceAttachment(ctx, "defaultInstanceAttachment", &cen.InstanceAttachmentArgs{
			InstanceId:            defaultInstance.ID(),
			ChildInstanceId:       pulumi.String("vbr-xxxxx"),
			ChildInstanceType:     pulumi.String("VBR"),
			ChildInstanceRegionId: pulumi.String("cn-hangzhou"),
		})
		if err != nil {
			return err
		}
		_, err = cen.NewVbrHealthCheck(ctx, "defaultVbrHealthCheck", &cen.VbrHealthCheckArgs{
			CenId:               defaultInstance.ID(),
			HealthCheckSourceIp: pulumi.String("192.168.1.2"),
			HealthCheckTargetIp: pulumi.String("10.0.0.2"),
			VbrInstanceId:       pulumi.String("vbr-xxxxx"),
			VbrInstanceRegionId: pulumi.String("cn-hangzhou"),
			HealthCheckInterval: pulumi.Int(2),
			HealthyThreshold:    pulumi.Int(8),
		}, pulumi.DependsOn([]pulumi.Resource{
			defaultInstanceAttachment,
		}))
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

CEN VBR HealthCheck can be imported using the id, e.g.

```sh

$ pulumi import alicloud:cen/vbrHealthCheck:VbrHealthCheck example vbr-xxxxx:cn-hangzhou

```

func GetVbrHealthCheck

func GetVbrHealthCheck(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *VbrHealthCheckState, opts ...pulumi.ResourceOption) (*VbrHealthCheck, error)

GetVbrHealthCheck gets an existing VbrHealthCheck resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewVbrHealthCheck

func NewVbrHealthCheck(ctx *pulumi.Context,
	name string, args *VbrHealthCheckArgs, opts ...pulumi.ResourceOption) (*VbrHealthCheck, error)

NewVbrHealthCheck registers a new resource with the given unique name, arguments, and options.

func (*VbrHealthCheck) ElementType

func (*VbrHealthCheck) ElementType() reflect.Type

func (*VbrHealthCheck) ToVbrHealthCheckOutput

func (i *VbrHealthCheck) ToVbrHealthCheckOutput() VbrHealthCheckOutput

func (*VbrHealthCheck) ToVbrHealthCheckOutputWithContext

func (i *VbrHealthCheck) ToVbrHealthCheckOutputWithContext(ctx context.Context) VbrHealthCheckOutput

func (*VbrHealthCheck) ToVbrHealthCheckPtrOutput

func (i *VbrHealthCheck) ToVbrHealthCheckPtrOutput() VbrHealthCheckPtrOutput

func (*VbrHealthCheck) ToVbrHealthCheckPtrOutputWithContext

func (i *VbrHealthCheck) ToVbrHealthCheckPtrOutputWithContext(ctx context.Context) VbrHealthCheckPtrOutput

type VbrHealthCheckArgs

type VbrHealthCheckArgs struct {
	// The ID of the CEN instance.
	CenId pulumi.StringInput
	// Specifies the interval at which the health check sends continuous detection packets. Default value: 2. Value range: 2 to 3.
	HealthCheckInterval pulumi.IntPtrInput
	// The source IP address of health checks.
	HealthCheckSourceIp pulumi.StringPtrInput
	// The destination IP address of health checks.
	HealthCheckTargetIp pulumi.StringInput
	// Specifies the number of probe messages sent by the health check. Default value: 8. Value range: 3 to 8.
	HealthyThreshold pulumi.IntPtrInput
	// The ID of the VBR.
	VbrInstanceId pulumi.StringInput
	// The ID of the account to which the VBR belongs.
	VbrInstanceOwnerId pulumi.IntPtrInput
	// The ID of the region to which the VBR belongs.
	VbrInstanceRegionId pulumi.StringInput
}

The set of arguments for constructing a VbrHealthCheck resource.

func (VbrHealthCheckArgs) ElementType

func (VbrHealthCheckArgs) ElementType() reflect.Type

type VbrHealthCheckArray

type VbrHealthCheckArray []VbrHealthCheckInput

func (VbrHealthCheckArray) ElementType

func (VbrHealthCheckArray) ElementType() reflect.Type

func (VbrHealthCheckArray) ToVbrHealthCheckArrayOutput

func (i VbrHealthCheckArray) ToVbrHealthCheckArrayOutput() VbrHealthCheckArrayOutput

func (VbrHealthCheckArray) ToVbrHealthCheckArrayOutputWithContext

func (i VbrHealthCheckArray) ToVbrHealthCheckArrayOutputWithContext(ctx context.Context) VbrHealthCheckArrayOutput

type VbrHealthCheckArrayInput

type VbrHealthCheckArrayInput interface {
	pulumi.Input

	ToVbrHealthCheckArrayOutput() VbrHealthCheckArrayOutput
	ToVbrHealthCheckArrayOutputWithContext(context.Context) VbrHealthCheckArrayOutput
}

VbrHealthCheckArrayInput is an input type that accepts VbrHealthCheckArray and VbrHealthCheckArrayOutput values. You can construct a concrete instance of `VbrHealthCheckArrayInput` via:

VbrHealthCheckArray{ VbrHealthCheckArgs{...} }

type VbrHealthCheckArrayOutput

type VbrHealthCheckArrayOutput struct{ *pulumi.OutputState }

func (VbrHealthCheckArrayOutput) ElementType

func (VbrHealthCheckArrayOutput) ElementType() reflect.Type

func (VbrHealthCheckArrayOutput) Index

func (VbrHealthCheckArrayOutput) ToVbrHealthCheckArrayOutput

func (o VbrHealthCheckArrayOutput) ToVbrHealthCheckArrayOutput() VbrHealthCheckArrayOutput

func (VbrHealthCheckArrayOutput) ToVbrHealthCheckArrayOutputWithContext

func (o VbrHealthCheckArrayOutput) ToVbrHealthCheckArrayOutputWithContext(ctx context.Context) VbrHealthCheckArrayOutput

type VbrHealthCheckInput

type VbrHealthCheckInput interface {
	pulumi.Input

	ToVbrHealthCheckOutput() VbrHealthCheckOutput
	ToVbrHealthCheckOutputWithContext(ctx context.Context) VbrHealthCheckOutput
}

type VbrHealthCheckMap

type VbrHealthCheckMap map[string]VbrHealthCheckInput

func (VbrHealthCheckMap) ElementType

func (VbrHealthCheckMap) ElementType() reflect.Type

func (VbrHealthCheckMap) ToVbrHealthCheckMapOutput

func (i VbrHealthCheckMap) ToVbrHealthCheckMapOutput() VbrHealthCheckMapOutput

func (VbrHealthCheckMap) ToVbrHealthCheckMapOutputWithContext

func (i VbrHealthCheckMap) ToVbrHealthCheckMapOutputWithContext(ctx context.Context) VbrHealthCheckMapOutput

type VbrHealthCheckMapInput

type VbrHealthCheckMapInput interface {
	pulumi.Input

	ToVbrHealthCheckMapOutput() VbrHealthCheckMapOutput
	ToVbrHealthCheckMapOutputWithContext(context.Context) VbrHealthCheckMapOutput
}

VbrHealthCheckMapInput is an input type that accepts VbrHealthCheckMap and VbrHealthCheckMapOutput values. You can construct a concrete instance of `VbrHealthCheckMapInput` via:

VbrHealthCheckMap{ "key": VbrHealthCheckArgs{...} }

type VbrHealthCheckMapOutput

type VbrHealthCheckMapOutput struct{ *pulumi.OutputState }

func (VbrHealthCheckMapOutput) ElementType

func (VbrHealthCheckMapOutput) ElementType() reflect.Type

func (VbrHealthCheckMapOutput) MapIndex

func (VbrHealthCheckMapOutput) ToVbrHealthCheckMapOutput

func (o VbrHealthCheckMapOutput) ToVbrHealthCheckMapOutput() VbrHealthCheckMapOutput

func (VbrHealthCheckMapOutput) ToVbrHealthCheckMapOutputWithContext

func (o VbrHealthCheckMapOutput) ToVbrHealthCheckMapOutputWithContext(ctx context.Context) VbrHealthCheckMapOutput

type VbrHealthCheckOutput

type VbrHealthCheckOutput struct{ *pulumi.OutputState }

func (VbrHealthCheckOutput) ElementType

func (VbrHealthCheckOutput) ElementType() reflect.Type

func (VbrHealthCheckOutput) ToVbrHealthCheckOutput

func (o VbrHealthCheckOutput) ToVbrHealthCheckOutput() VbrHealthCheckOutput

func (VbrHealthCheckOutput) ToVbrHealthCheckOutputWithContext

func (o VbrHealthCheckOutput) ToVbrHealthCheckOutputWithContext(ctx context.Context) VbrHealthCheckOutput

func (VbrHealthCheckOutput) ToVbrHealthCheckPtrOutput

func (o VbrHealthCheckOutput) ToVbrHealthCheckPtrOutput() VbrHealthCheckPtrOutput

func (VbrHealthCheckOutput) ToVbrHealthCheckPtrOutputWithContext

func (o VbrHealthCheckOutput) ToVbrHealthCheckPtrOutputWithContext(ctx context.Context) VbrHealthCheckPtrOutput

type VbrHealthCheckPtrInput

type VbrHealthCheckPtrInput interface {
	pulumi.Input

	ToVbrHealthCheckPtrOutput() VbrHealthCheckPtrOutput
	ToVbrHealthCheckPtrOutputWithContext(ctx context.Context) VbrHealthCheckPtrOutput
}

type VbrHealthCheckPtrOutput

type VbrHealthCheckPtrOutput struct{ *pulumi.OutputState }

func (VbrHealthCheckPtrOutput) Elem added in v3.9.0

func (VbrHealthCheckPtrOutput) ElementType

func (VbrHealthCheckPtrOutput) ElementType() reflect.Type

func (VbrHealthCheckPtrOutput) ToVbrHealthCheckPtrOutput

func (o VbrHealthCheckPtrOutput) ToVbrHealthCheckPtrOutput() VbrHealthCheckPtrOutput

func (VbrHealthCheckPtrOutput) ToVbrHealthCheckPtrOutputWithContext

func (o VbrHealthCheckPtrOutput) ToVbrHealthCheckPtrOutputWithContext(ctx context.Context) VbrHealthCheckPtrOutput

type VbrHealthCheckState

type VbrHealthCheckState struct {
	// The ID of the CEN instance.
	CenId pulumi.StringPtrInput
	// Specifies the interval at which the health check sends continuous detection packets. Default value: 2. Value range: 2 to 3.
	HealthCheckInterval pulumi.IntPtrInput
	// The source IP address of health checks.
	HealthCheckSourceIp pulumi.StringPtrInput
	// The destination IP address of health checks.
	HealthCheckTargetIp pulumi.StringPtrInput
	// Specifies the number of probe messages sent by the health check. Default value: 8. Value range: 3 to 8.
	HealthyThreshold pulumi.IntPtrInput
	// The ID of the VBR.
	VbrInstanceId pulumi.StringPtrInput
	// The ID of the account to which the VBR belongs.
	VbrInstanceOwnerId pulumi.IntPtrInput
	// The ID of the region to which the VBR belongs.
	VbrInstanceRegionId pulumi.StringPtrInput
}

func (VbrHealthCheckState) ElementType

func (VbrHealthCheckState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL